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/2406.07358v3
http://arxiv.org/pdf/2406.07358v3
AI Sandbagging: Language Models can Strategically Underperform on Evaluations
2024-06-11T15:26:57
2024-06-14T22:24:40
Teun van der Weij, Felix Hofstätter, Ollie Jaffe, Samuel F. Brown, Francis Rhys Ward
cs.AI
cs.AI, cs.CL, cs.CY, cs.LG
Trustworthy capability evaluations are crucial for ensuring the safety of AI systems, and are becoming a key component of AI regulation. However, the developers of an AI system, or the AI system itself, may have incentives for evaluations to understate the AI's actual capability. These conflicting interests lead to the problem of sandbagging $\unicode{x2013}$ which we define as "strategic underperformance on an evaluation". In this paper we assess sandbagging capabilities in contemporary language models (LMs). We prompt frontier LMs, like GPT-4 and Claude 3 Opus, to selectively underperform on dangerous capability evaluations, while maintaining performance on general (harmless) capability evaluations. Moreover, we find that models can be fine-tuned, on a synthetic dataset, to hide specific capabilities unless given a password. This behaviour generalizes to high-quality, held-out benchmarks such as WMDP. In addition, we show that both frontier and smaller models can be prompted, or password-locked, to target specific scores on a capability evaluation. Even more, we found that a capable password-locked model (Llama 3 70b) is reasonably able to emulate a less capable model (Llama 2 7b). Overall, our results suggest that capability evaluations are vulnerable to sandbagging. This vulnerability decreases the trustworthiness of evaluations, and thereby undermines important safety decisions regarding the development and deployment of advanced AI systems.
[ -0.21714231371879578, -0.6024941205978394, 0.6011251211166382, -0.048656534403562546, -0.0579795204102993, 0.4061237573623657, -0.16767680644989014, -0.5133308172225952, -0.33847859501838684, 0.6143796443939209, -0.19173000752925873, -0.30826371908187866, -0.7662903070449829, -0.3421950042247772, -0.6635177731513977, 1.101198673248291, -0.07312709838151932, -0.2792190909385681, -0.47527292370796204, -0.1402156502008438, -0.6029672622680664, -0.8886097073554993, -0.3859846591949463, -0.5166099071502686, 0.061406459659338, 0.20071448385715485, 0.9645439386367798, 0.6042819619178772, 0.7254137992858887, 0.38609644770622253, -0.02994384989142418, -0.1404486894607544, -0.4083157181739807, -0.13584838807582855, -0.19386808574199677, -0.7025789022445679, -0.5118727087974548, 0.21799086034297943, 0.7599811553955078, 0.48094844818115234, -0.39924007654190063, 0.15192784368991852, 0.1430717408657074, 0.47068753838539124, -0.7952768206596375, -0.0004886451060883701, -0.9232551455497742, -0.3191472887992859, -0.42920467257499695, 0.11887051910161972, -0.20654341578483582, -0.2974373698234558, -0.08367069810628891, -0.19515018165111542, -0.16079294681549072, 0.14489999413490295, 1.0389518737792969, 0.3507526218891144, 0.009063588455319405, -0.2795353829860687, -0.8383976221084595, 1.007830023765564, -0.6188151836395264, 0.005475745536386967, 0.853672981262207, 0.4322132170200348, 0.10971283167600632, -0.594122588634491, -0.41576340794563293, -0.5399524569511414, 0.008569922298192978, -0.17300263047218323, -0.362230509519577, 0.26240333914756775, 0.32365888357162476, 0.41999271512031555, -0.43532711267471313, 0.4882849156856537, -0.6560477614402771, -0.19454234838485718, 0.9379463195800781, 0.12203320860862732, 0.25981441140174866, -0.055714286863803864, -0.5855640769004822, -0.1717698872089386, -0.7021360397338867, 0.40868300199508667, 0.62022864818573, 0.14158673584461212, -0.03988924250006676, 0.5063418745994568, -0.13327401876449585, 0.34783780574798584, -0.38988998532295227, -0.13708139955997467, 0.1138027235865593, -0.11762920767068863, -0.24573493003845215, -0.2786497175693512, 0.6600936055183411, 0.402670294046402, 0.4556930661201477, -0.4164138436317444, -0.8850222826004028, 0.3428378701210022, 0.5855749249458313, -0.3384799361228943, -0.18115369975566864, 0.37938961386680603, -0.6967595219612122, -0.7087547183036804, 0.24500229954719543, -0.5848731398582458, -0.48980769515037537, 0.0886642336845398, 0.5715965628623962, -0.3535005450248718, -0.2076573371887207, -0.09379472583532333, -0.32876744866371155, 0.14679455757141113, -0.16672690212726593, -0.8223057985305786, 0.7849923372268677, 0.7701625227928162, 0.7960593700408936, -0.20693399012088776, -0.30236542224884033, -0.3153010904788971, 0.12636476755142212, -0.19279919564723969, 0.7005236744880676, -0.7873218059539795, -0.6110449433326721, -0.012810350395739079, -0.3692845106124878, -0.026416374370455742, -0.757896900177002, 0.4208315908908844, -0.475747674703598, -0.2558548152446747, -0.23173503577709198, -0.38346749544143677, -0.23928678035736084, 0.2536890506744385, -0.42409414052963257, 0.662132978439331, 0.11794210225343704, -0.20071814954280853, 0.25894689559936523, -0.5910020470619202, -0.17335546016693115, 0.10322286933660507, -0.447316974401474, -0.3914230763912201, 0.1740320324897766, 0.1850612461566925, 0.250408798456192, -0.33656546473503113, 0.30382081866264343, -0.4727534353733063, -0.7278600335121155, 0.5259448885917664, -0.6455134749412537, 0.5601497888565063, 0.15884456038475037, -0.3168877363204956, 0.17520397901535034, -0.5265792012214661, 0.3064165413379669, 0.17032328248023987, -0.24699842929840088, -0.23347432911396027, 0.0800132304430008, -0.2992461025714874, 0.014732707291841507, 0.20382903516292572, -0.20174472033977509, 0.12785059213638306, -0.42176470160484314, 0.3341052234172821, 1.003724455833435, -0.15813250839710236, 0.5438997149467468, -0.8344272375106812, 0.851089358329773, -0.3523680567741394, 0.28527718782424927, 0.025547761470079422, -0.3908413350582123, -0.654028594493866, -0.2269376814365387, 0.6062873005867004, 0.9209977984428406, -0.502589762210846, 0.29023537039756775, -0.2632285952568054, -0.7092629075050354, -0.5226388573646545, 0.36107155680656433, 0.6113317608833313, -0.16893449425697327, 0.2261805534362793, -0.5839124321937561, 0.01023904699832201, -1.034229040145874, -0.2939371168613434, -0.42366498708724976, -0.06959246098995209, 0.3091124892234802, 0.493588387966156, -0.09016284346580505, 0.7476111650466919, -0.23577767610549927, -0.4445553421974182, -0.378506064414978, 0.15139997005462646, -0.07349452376365662, 0.8338741064071655, 0.5874691009521484, -0.6608375906944275, 0.1915961652994156, -0.3415389358997345, -0.5927176475524902, -0.08242645114660263, -0.2664652466773987, 0.3038204610347748, 0.11597615480422974, 0.6265038847923279, -0.6705334186553955, 0.49143704771995544, 0.6123101115226746, -0.04896792396903038, 0.5277799367904663, -0.26479679346084595, -0.03179330378770828, -0.31311726570129395, 0.3086088001728058, -0.3192231059074402, 0.04921167343854904, -0.3043447732925415, 0.6437115669250488, -0.027649682015180588, -0.1406722366809845, -0.261741578578949, 0.3020515739917755, -0.22878523170948029, -0.009993941523134708, -0.2965136766433716, 0.14794036746025085, -0.21964463591575623, 0.1509869396686554, -0.27596932649612427, 0.5114257335662842, 0.5705859661102295, -0.652510404586792, 0.31346026062965393, -0.11625345051288605, -0.5258587002754211, 0.27338823676109314, -0.7762131690979004, 0.15130332112312317, -0.029472528025507927, 0.36375346779823303, -0.821101725101471, -0.028916537761688232, 0.21584777534008026, -0.22355884313583374, 0.3387395441532135, -0.18284234404563904, -0.5070651769638062, -0.28376710414886475, -0.48975253105163574, 0.5148739218711853, 0.7983959913253784, -0.09599573165178299, 0.33312663435935974, 0.6321374773979187, -0.1284467875957489, -0.6239826083183289, -0.8996703028678894, 0.020854955539107323, -0.4283284842967987, -0.41135337948799133, 0.4717045724391937, 0.11982308328151703, -0.5651882290840149, 0.011518824845552444, -0.06101857125759125, -0.03373173624277115, 0.5896707773208618, 0.6699219346046448, 0.1472409963607788, 0.11015301197767258, 0.0613265223801136, -0.07471724599599838, -0.34023770689964294, 0.3092088997364044, 0.06694821268320084, 0.5056815147399902, -0.2859860360622406, -0.6646977066993713, -0.10922486335039139, 0.3024139106273651, 0.39991313219070435, -0.38768431544303894, 0.68039470911026, 0.5819475650787354, -0.5483386516571045, -0.25984781980514526, -0.5293682813644409, -0.33221375942230225, -0.5344671607017517, 0.14155684411525726, -0.27015939354896545, -0.5863642692565918, 0.5422886610031128, -0.22436225414276123, 0.029673565179109573, 0.26439064741134644, 0.23078225553035736, -0.09588812291622162, 0.8579532504081726, 0.9366776943206787, -0.26875221729278564, 0.2465880811214447, -0.25560683012008667, 0.30186986923217773, -0.5169640779495239, -0.2684970200061798, -0.5514701008796692, -0.5409031510353088, -0.7993670105934143, -0.30046430230140686, 0.19574949145317078, 0.23731015622615814, 0.0629160925745964, 0.06951333582401276, -0.2885392904281616, 0.7531810402870178, 0.6045864224433899, -0.07022810727357864, 0.13745330274105072, -0.16857661306858063, -0.18896956741809845, 0.13123008608818054, -0.7757391333580017, -0.8067166805267334, 1.2168422937393188, 0.6222082376480103, 0.8698397874832153, 0.13533256947994232, 0.7357707619667053, 0.4700298607349396, 0.16309118270874023, -0.41125690937042236, 0.6884407997131348, 0.017870808020234108, -0.5546071529388428, -0.1814834475517273, -0.3518018424510956, -0.825871467590332, 0.032167740166187286, -0.3538282811641693, -1.2426353693008423, -0.07185722887516022, 0.054160766303539276, -0.804251492023468, 0.3579201400279999, -0.7104494571685791, 0.654779851436615, -0.28529033064842224, -0.13202816247940063, -0.6158446073532104, -0.48426616191864014, 0.5903929471969604, -0.1351170688867569, 0.4583214521408081, -0.32295843958854675, -0.2023920863866806, 0.6224046349525452, -0.148362398147583, 0.903126060962677, -0.03455355763435364, 0.06578430533409119, 0.24109560251235962, 0.35425031185150146, 0.266189843416214, 0.13957571983337402, -0.026096167042851448, 0.4237224757671356, 0.13952113687992096, -0.4190719425678253, -0.562548041343689, 0.9546231627464294, -0.7326126098632812, -0.9897106289863586, -0.6368383765220642, -0.37968772649765015, -0.18497487902641296, 0.033831704407930374, 0.13778090476989746, 0.36616986989974976, -0.1893811672925949, 0.098812535405159, 0.3549964427947998, -0.2439093440771103, 0.7032226324081421, 0.2656727433204651, -0.351106733083725, -0.1433805525302887, 1.1406290531158447, 0.43087875843048096, 0.3933621644973755, -0.06029028072953224, 0.0077146971598267555, -0.08805014938116074, -0.8299520015716553, -0.32442933320999146, -0.04576382413506508, -0.6709786653518677, -0.3846188485622406, -0.25905242562294006, -0.4881170094013214, -0.08918941766023636, -0.3176446855068207, -0.3334819972515106, -0.5861263275146484, 0.20684626698493958, 0.0498623289167881, -0.03030601516366005, 1.023533582687378, -0.20183171331882477, 0.42729976773262024, -0.6924540996551514, 0.1239396333694458, 0.21584200859069824, 0.6716838479042053, 0.0021798883099108934, -0.4369475841522217, -0.13766756653785706, -0.04044453054666519, -0.47595223784446716, -0.618240475654602, 0.0007494023884646595, -0.027827253565192223, 0.8127426505088806, 0.42203769087791443, 0.20804505050182343, 0.43427425622940063, -0.16277416050434113, 0.9007963538169861, -0.37136203050613403, -1.027752161026001, 0.41691142320632935, -0.24572084844112396, 0.44521409273147583, 0.49250468611717224, 0.3537260890007019, -0.12244176864624023, -0.5400082468986511, -0.966832160949707, -0.9116342663764954, 0.6059131622314453, 0.3079202473163605, 0.2740788161754608, 0.3556593060493469, 0.12605024874210358, -0.10508819669485092, 0.4418751895427704, -0.8767789602279663, -0.02018735557794571, 0.21307335793972015, 0.08787516504526138, -0.06819257885217667, -0.43239670991897583, -0.3281297981739044, 0.029111046344041824, 0.6108208298683167, 0.07930053770542145, 0.01899566873908043, -0.2994023561477661, -0.06346723437309265, -0.08445395529270172, 0.3144845962524414, 0.4332643449306488, 0.7502697110176086, -0.07584986835718155, -0.0678306594491005, 0.41481149196624756, -0.2241286337375641, -0.10937175899744034, 0.27806779742240906, -0.2826971709728241, -0.41491174697875977, 0.3954913914203644, 0.29627931118011475, 0.23296214640140533, -0.8820810317993164, 0.57427579164505, 0.040433477610349655, 0.1286161094903946, -0.4140225350856781, 0.3779619634151459, -0.45384275913238525, 0.26966696977615356, 0.2699199616909027, 0.42049649357795715, 0.16256894171237946, -0.5017931461334229, 0.1350679099559784, 0.734490156173706, -0.278939425945282, -0.015056539326906204, 0.4689503312110901, 0.17126019299030304, -0.265316903591156, 0.6259310245513916, -0.15350772440433502, -0.6209263205528259, 0.4735448360443115, 0.24920818209648132, 0.7735334038734436, -0.26968052983283997, 0.12871479988098145, -0.031062554568052292, 0.9446493983268738, 0.002641550963744521, 0.11910245567560196, -0.14082574844360352, -0.605254590511322, -0.08720226585865021, -0.6398265957832336, -0.37794312834739685, 0.2834281623363495, -0.5610160231590271, 0.07282646000385284, -0.7475965023040771, -0.3908509612083435, -0.4488884508609772, -0.003330618143081665, -0.6038700342178345, 0.09307942539453506, 0.4623803198337555, 0.7293084263801575, -0.6823726892471313, 0.7267087697982788, 0.3155427575111389, -0.32961469888687134, -0.4311046004295349, 0.18844351172447205, 0.15529774129390717, -0.8182841539382935, 0.16448929905891418, 0.3594370186328888, -0.053199801594018936, -0.27427664399147034, -0.3605116009712219, -1.0149656534194946, 1.0104373693466187, 0.333126962184906, -0.416124552488327, -0.09766454994678497, 0.2980796992778778, 0.34530115127563477, -0.1413370966911316, 0.2462269514799118, 0.9175978302955627, 0.4971119165420532, -0.5494006872177124, -1.323548436164856, 0.16227231919765472, -0.08548101037740707, 0.035385455936193466, -0.013104371726512909, -0.846306324005127, 0.747211217880249, -0.3229915201663971, -0.3485621511936188, 0.32547444105148315, 0.3978388011455536, 0.3489735424518585, 0.12997247278690338, 0.5350722670555115, 0.6185023784637451, 0.7957273721694946, -0.23668812215328217, 1.3181108236312866, -0.1453508585691452, -0.09900616109371185, 0.672759473323822, -0.08041843771934509, 1.097318410873413, 0.3623324930667877, 0.040249794721603394, 0.5459490418434143, 0.28894126415252686, -0.1024334579706192, 0.5350131392478943, 0.5505249500274658, -0.016463816165924072, -0.3790888488292694, -0.18380628526210785, -0.304299533367157, 0.866699755191803, 0.45539212226867676, -0.36261919140815735, -0.06521783024072647, -0.21874624490737915, 0.015942523255944252, 0.23673701286315918, -0.3359251618385315, 0.6350072622299194, 0.29831159114837646, -0.6684569120407104, 0.5561525225639343, 0.3076099455356598, 0.5062084197998047, -0.7456949353218079, 0.015152296051383018, 0.1582646667957306, 0.33432483673095703, -0.11214904487133026, -0.6744542717933655, 0.2735106348991394, 0.06251396983861923, 0.1992434710264206, -0.33467841148376465, 0.7000071406364441, -0.13740406930446625, -0.4645554721355438, 0.2839442193508148, 0.6319690942764282, -0.004728448577225208, -0.0798453614115715, -0.8186081051826477, 0.6222985982894897, -0.34640973806381226, -0.08042710274457932, 0.5303812623023987, -0.03365357592701912, -0.28158724308013916, 1.0536870956420898, 0.6397441029548645, 0.11756697297096252, -0.319448858499527, -0.0846712738275528, 0.9411420822143555, -0.47933217883110046, -0.5125097036361694, -1.123523473739624, 0.448661744594574, -0.2009693831205368, -0.31414610147476196, 0.6634494066238403, 0.2356204390525818, 0.9031561613082886, 0.2796308100223541, 0.8950225114822388, 0.08134181052446365, -0.050570543855428696, -0.6139826774597168, 1.1622661352157593, -0.2588688135147095, 0.6114432215690613, -0.1831582933664322, -0.7371805310249329, 0.018084092065691948, 0.3212396502494812, -0.37153396010398865, 0.3675498962402344, 0.4471554458141327, 0.722134530544281, -0.0608302541077137, -0.07744766771793365, 0.4358620047569275, 0.02830076403915882, 0.42334604263305664, 0.4894134998321533, 0.8770115971565247, -0.3801563084125519, 0.7307698726654053, -0.33995917439460754, -0.35245925188064575, -0.12091851979494095, -0.8438894152641296, -0.9203231930732727, -0.5420313477516174, -0.15521544218063354, -0.32388660311698914, 0.22768211364746094, 0.5817462801933289, 0.7068122625350952, -0.729225218296051, -0.3662841320037842, 0.2676692008972168, 0.25753965973854065, -0.2500806748867035, -0.15539880096912384, -0.14616847038269043, -0.3395109176635742, -0.36936721205711365, 0.5886948108673096, 0.1256023645401001, 0.22787831723690033, -0.6283586621284485, 0.06753133237361908, 0.2253679782152176, 0.350890576839447, 0.027603471651673317, 0.24264656007289886, -0.919518768787384, -0.27635589241981506, -0.5517640113830566, -0.011166034266352654, -0.4821716845035553, 0.6240242719650269, -0.9641062617301941, 0.193639874458313, 0.08248430490493774, 0.6643245220184326, 0.06591393053531647, 0.165060892701149, 0.9124864935874939, -0.6510544419288635, 0.2107345163822174, 0.37300699949264526, 0.24570485949516296, 0.3325692415237427, -0.0643598735332489, 0.21909888088703156, 0.11030184477567673, -0.6645004153251648, -1.0637151002883911, 0.13416670262813568, -0.44104012846946716, -0.23351818323135376, 1.1149243116378784, -0.1581813246011734, -0.09780174493789673, 0.04041532054543495, -0.040828194469213486, -0.32112574577331543, -0.33038535714149475, 1.1532461643218994, 0.8777621984481812, 0.17975282669067383, 0.1010451540350914, -0.597086489200592, 0.831649661064148, 0.44628211855888367, -0.47609075903892517, -0.05813382565975189, 0.09276628494262695, 0.006159772165119648, 0.15674079954624176, 0.39995136857032776, -0.010189901106059551, 0.4385219216346741, 0.2552514970302582, -0.45715802907943726, -0.13126325607299805, -0.3927496671676636, -0.50925612449646, 0.43426814675331116, 0.40390080213546753, -0.1611964851617813 ]
http://arxiv.org/abs/2406.07353v1
http://arxiv.org/pdf/2406.07353v1
Toxic Memes: A Survey of Computational Perspectives on the Detection and Explanation of Meme Toxicities
2024-06-11T15:22:48
2024-06-11T15:22:48
Delfina Sol Martinez Pandiani, Erik Tjong Kim Sang, Davide Ceolin
cs.CL
cs.CL, cs.AI, cs.CV, cs.CY, cs.SI
Internet memes, channels for humor, social commentary, and cultural expression, are increasingly used to spread toxic messages. Studies on the computational analyses of toxic memes have significantly grown over the past five years, and the only three surveys on computational toxic meme analysis cover only work published until 2022, leading to inconsistent terminology and unexplored trends. Our work fills this gap by surveying content-based computational perspectives on toxic memes, and reviewing key developments until early 2024. Employing the PRISMA methodology, we systematically extend the previously considered papers, achieving a threefold result. First, we survey 119 new papers, analyzing 158 computational works focused on content-based toxic meme analysis. We identify over 30 datasets used in toxic meme analysis and examine their labeling systems. Second, after observing the existence of unclear definitions of meme toxicity in computational works, we introduce a new taxonomy for categorizing meme toxicity types. We also note an expansion in computational tasks beyond the simple binary classification of memes as toxic or non-toxic, indicating a shift towards achieving a nuanced comprehension of toxicity. Third, we identify three content-based dimensions of meme toxicity under automatic study: target, intent, and conveyance tactics. We develop a framework illustrating the relationships between these dimensions and meme toxicities. The survey analyzes key challenges and recent trends, such as enhanced cross-modal reasoning, integrating expert and cultural knowledge, the demand for automatic toxicity explanations, and handling meme toxicity in low-resource languages. Also, it notes the rising use of Large Language Models (LLMs) and generative AI for detecting and generating toxic memes. Finally, it proposes pathways for advancing toxic meme detection and interpretation.
[ -0.34107503294944763, -0.6468875408172607, 0.5622339248657227, 0.24153129756450653, -0.14840716123580933, 0.23485243320465088, 0.30226534605026245, -0.6131080985069275, 0.32354116439819336, 0.40829169750213623, -0.6552081108093262, -0.25021663308143616, -0.8685659170150757, 0.2962460517883301, -0.3610718250274658, 0.8106344938278198, 0.16854478418827057, -0.2410210520029068, -0.3432254493236542, -0.08343595266342163, -0.42600905895233154, -0.45812085270881653, -0.7614594101905823, 0.1286599338054657, 0.9996434450149536, 0.6404811143875122, 0.5398010611534119, 0.25899791717529297, 0.5313203930854797, 0.4010292887687683, -0.15148165822029114, -0.23635727167129517, -0.4421447217464447, 0.17450231313705444, -0.3264457881450653, -0.3528384566307068, -0.376287043094635, 0.39649340510368347, 0.21948519349098206, 0.4954165816307068, 0.2222817838191986, 0.14250198006629944, -0.11919547617435455, 0.7038893103599548, -0.9064878821372986, -0.040212370455265045, -0.3713427186012268, 0.24897822737693787, -0.2456611543893814, -0.4472251832485199, -0.41914448142051697, -0.29840996861457825, 0.19075767695903778, -0.4266430735588074, -0.43775826692581177, -0.26247328519821167, 0.1684931516647339, 0.0462237186729908, -0.9245094656944275, -0.536608099937439, -0.7144149541854858, 0.9373286366462708, -0.6223800778388977, 0.21212613582611084, -0.074913889169693, 0.3478543758392334, -0.01457473449409008, -0.7819666862487793, -0.45355331897735596, -0.23355644941329956, 0.2783878743648529, 0.13994240760803223, -0.30611908435821533, -0.23861534893512726, 0.01980730891227722, 0.2848951816558838, -0.7550318241119385, 0.1597554236650467, -0.6440065503120422, -0.45157161355018616, 0.5736933946609497, 0.47697800397872925, 0.7989511489868164, -0.30840614438056946, -0.39372649788856506, -0.12767337262630463, -0.9180768132209778, -0.1577003002166748, 0.39786240458488464, -0.3355511724948883, -0.2063332349061966, 0.44464653730392456, -0.0036057967226952314, 0.5245857238769531, -0.4131983816623688, -0.01946461759507656, 0.07748018205165863, -0.48393136262893677, 0.20094747841358185, -0.21538172662258148, 0.9826628565788269, 0.4993484914302826, 0.20429694652557373, 0.037911053746938705, 0.424371600151062, -0.02741982974112034, 0.4578167796134949, -0.9286154508590698, -0.4741804897785187, 0.2041710764169693, -0.6375060081481934, -0.6457991003990173, -0.43047988414764404, -0.9609605669975281, -0.6345720887184143, 0.017537930980324745, -0.07425229996442795, -0.055177345871925354, -0.5115568041801453, -0.12727738916873932, -0.33524471521377563, -0.08567950874567032, 0.3500686585903168, -0.7138539552688599, -0.10569928586483002, 0.5030458569526672, 0.6508709788322449, -0.07388762384653091, -0.08484635502099991, -0.04469618201255798, -0.0513058677315712, -0.37446358799934387, 1.1085100173950195, -0.7533771991729736, 0.009077159687876701, -0.15892408788204193, 0.0236845500767231, 0.12782713770866394, -0.681637704372406, 0.5130815505981445, -0.480684369802475, 0.28505951166152954, -0.4966922700405121, -0.09862034767866135, -0.5372699499130249, 0.3227131962776184, -0.6831312775611877, 0.25390368700027466, 0.23623354732990265, -0.8218507170677185, 0.08971081674098969, -0.6819359064102173, -0.0016113066812977195, 0.049532774835824966, 0.16832903027534485, 0.04772747680544853, -0.043660663068294525, -0.501548707485199, 0.43206587433815, -0.25781163573265076, -0.03546001389622688, -0.531470775604248, -0.28178226947784424, 0.3915303349494934, -0.1479717344045639, 0.9852743148803711, 0.9010943174362183, -0.0244726724922657, 0.15031278133392334, -0.2655071020126343, -0.16669230163097382, 0.10459551215171814, -0.2787310779094696, -0.31914639472961426, 0.33329063653945923, 0.12287436425685883, 0.5020785331726074, 0.08471756428480148, -0.6323074102401733, -0.22870293259620667, -0.2009422928094864, 0.7602078914642334, 0.5418599843978882, 0.3486228883266449, 0.43785813450813293, -0.4604770541191101, 0.5290772914886475, 0.17706555128097534, 0.5756914615631104, -0.08716713637113571, -0.7041196823120117, 0.035677094012498856, 0.21977168321609497, -0.14799615740776062, 0.6215673685073853, -0.7622933387756348, 0.1368701159954071, -0.16456115245819092, -0.6018880009651184, 0.33796077966690063, -0.21559415757656097, 0.04137613996863365, 0.35957178473472595, 0.3806571662425995, -0.2593677341938019, -0.32454144954681396, -0.7414196729660034, -0.3866007626056671, -0.28233063220977783, -0.1369614154100418, 0.5400258898735046, 0.18379876017570496, -0.3582606911659241, 0.3170795440673828, -0.4018200635910034, -0.11451594531536102, -0.013614608906209469, 0.43131023645401, -0.08841796219348907, 0.35519081354141235, 0.8357579112052917, -0.5255980491638184, -0.6957036852836609, -0.22956937551498413, -0.69728684425354, -0.5439736843109131, -0.009226856753230095, 0.0672619566321373, -0.39982330799102783, 0.6379424929618835, 0.2230064421892166, -0.1972305029630661, 0.7788174152374268, -0.3443261682987213, 0.5569255352020264, 0.2621653378009796, 0.49275141954421997, -0.6187719702720642, -0.12485566735267639, 0.033645786345005035, -0.04267503321170807, -0.6812540292739868, 0.15715733170509338, -0.13501013815402985, -0.1920594424009323, -0.688572347164154, 0.4225328862667084, -0.4003876745700836, 0.33010172843933105, -0.3748181462287903, 0.11971211433410645, -0.037611059844493866, 0.27050164341926575, -0.3888402581214905, 0.644530177116394, 0.30057355761528015, -0.3783927261829376, 0.43282419443130493, -0.002676798962056637, 0.18207383155822754, 0.5994126200675964, -0.3035237789154053, 0.024096518754959106, -0.15475408732891083, 0.35064053535461426, -0.9189698100090027, -0.013501547276973724, 0.8526826500892639, -0.585419774055481, 0.1931348592042923, 0.03942915424704552, -0.48786795139312744, -0.4844883382320404, -0.508893609046936, 0.9156520366668701, 0.2382349818944931, -0.06254832446575165, 0.4142048954963684, 0.778191864490509, -0.33990952372550964, -0.44493862986564636, -0.4557371437549591, 0.47797662019729614, -0.380827397108078, -0.801731526851654, -0.02446923591196537, -0.412649542093277, -0.3331403434276581, -0.0369517058134079, -0.13592839241027832, -0.3617362678050995, 0.31719139218330383, -0.07167060673236847, -0.31385672092437744, -0.10445929318666458, -0.20511522889137268, 0.15658912062644958, -0.15079520642757416, 0.5259863138198853, 0.22945021092891693, 0.3062486946582794, -0.18141017854213715, -0.149131178855896, -0.09555919468402863, 0.5499445199966431, 0.6654394865036011, -0.0908321961760521, 0.27929624915122986, 0.2129729986190796, -0.18944333493709564, -0.027103208005428314, -0.30502063035964966, -0.0573296919465065, -0.48969510197639465, 0.2021798938512802, 0.05664168670773506, -0.9158873558044434, 0.6202503442764282, -0.45099398493766785, -0.006451410241425037, 0.5737438201904297, 0.38254421949386597, -0.2890940308570862, 0.9884108304977417, 0.4024503231048584, -0.04158104956150055, 0.5158861875534058, -0.20431844890117645, 0.42175933718681335, -0.5777426958084106, -0.2140066921710968, -0.5437672138214111, -0.43062251806259155, -0.5690617561340332, -0.6396340131759644, 0.7701563835144043, -0.4945606589317322, -0.29231369495391846, -0.02380477637052536, -0.5731996893882751, 0.4518946707248688, 0.1260993927717209, -0.0196387842297554, 0.10623281449079514, -0.24408529698848724, -0.03063424676656723, -0.252322793006897, -0.32369422912597656, -0.36925363540649414, 0.7897437810897827, 0.42860591411590576, 0.6889503002166748, 0.30769723653793335, 0.18963567912578583, 0.6086111068725586, 0.5356180667877197, -0.5296644568443298, 0.41959241032600403, -0.34700632095336914, -1.0140966176986694, -0.013605660758912563, -0.3041369616985321, -0.7674717307090759, -0.0711943507194519, -0.3016864061355591, -0.5503561496734619, 0.05396980792284012, -0.04282233119010925, 0.11411532014608383, 0.19422335922718048, -0.5777844190597534, 0.9686144590377808, -0.2700481414794922, -0.4836450219154358, -0.632930338382721, -0.8600468039512634, 0.5415562987327576, -0.10953585058450699, 0.3687210977077484, -0.3957251012325287, 0.06837823241949081, 0.5737684369087219, -0.21906185150146484, 0.7246412038803101, -0.19146594405174255, -0.21800337731838226, 0.8909779191017151, 0.32047250866889954, -0.011431928724050522, -0.16840970516204834, -0.05644947662949562, 0.31610384583473206, 0.3416767716407776, -0.5003635287284851, -0.4073280692100525, 0.8189677596092224, -0.33208873867988586, -0.09252416342496872, -0.4824916422367096, -0.40045174956321716, -0.05238417908549309, 0.2531243860721588, 0.06643886864185333, 0.13103057444095612, -0.14511412382125854, 0.19645026326179504, 0.645534873008728, -0.7083521485328674, 0.11055413633584976, 0.46788620948791504, 0.1108134463429451, -0.2306463122367859, 1.4014614820480347, 0.10057000815868378, 0.14470387995243073, 0.27792543172836304, 0.5098617076873779, -0.28406694531440735, -0.6954261660575867, -0.3047123849391937, 0.1418234407901764, -0.7344697117805481, -0.1696232706308365, -0.4881274402141571, -0.21036618947982788, -0.15748804807662964, -0.037190329283475876, -0.29376551508903503, -0.12254096567630768, -0.3452453911304474, 0.07847117632627487, 0.08645284920930862, 1.0088996887207031, -0.20781835913658142, 0.43575549125671387, -1.022645354270935, 0.024247458204627037, 0.17920437455177307, 0.6038798093795776, 0.15342244505882263, -0.07560708373785019, 0.12436096370220184, 0.21914325654506683, -0.7457138299942017, -1.6953333616256714, 0.20675671100616455, -0.11415261030197144, 0.5732534527778625, 0.8711346983909607, 0.10727163404226303, 0.1700899600982666, -0.17939633131027222, 0.8791028261184692, 0.08199333399534225, -0.5756633281707764, 0.31822964549064636, -0.7551906704902649, -0.15052039921283722, 0.41435134410858154, 0.6653876304626465, -1.0055426359176636, -0.6829547882080078, -0.3855617046356201, -0.4585734009742737, 0.2919677793979645, 0.07563839852809906, 0.5198761820793152, -0.342401385307312, 0.4508279263973236, -0.07902675867080688, -0.060907624661922455, -0.745434582233429, -0.3729384243488312, -0.19300006330013275, -0.04833897575736046, 0.13259586691856384, -0.7414548397064209, 0.11141080409288406, -0.12545743584632874, 0.45012176036834717, -0.023765482008457184, 0.1257975548505783, -0.1522943079471588, -0.21176743507385254, -0.3177201747894287, 0.0624254047870636, 0.5455508828163147, 0.6538894772529602, -0.2894585132598877, 0.5345929265022278, -0.13779272139072418, -0.6120259761810303, 0.32404983043670654, -0.42651721835136414, -0.05547890067100525, -0.558611273765564, 0.1110386773943901, -0.12157589197158813, 0.22415952384471893, -0.9476660490036011, 0.6328302025794983, -0.031147653236985207, -0.13477346301078796, -0.3008100986480713, 0.001118560554459691, 0.2352455109357834, 0.1559656709432602, 0.009498142637312412, 0.05235345661640167, 0.7959901690483093, -0.5430092811584473, 0.2737739682197571, 0.5881373286247253, -0.4234936535358429, -0.6065467596054077, 0.7577717304229736, 0.3996870815753937, 0.3198128342628479, 0.4266449511051178, -0.2035079449415207, -0.3990340530872345, 0.8078673481941223, 0.262494832277298, 0.5733311176300049, -0.2768409252166748, 0.43541112542152405, 0.5253557562828064, 0.4715630114078522, 0.6087415814399719, 0.2656543552875519, 0.2252228707075119, -0.41653531789779663, -0.2698049247264862, -0.4332166314125061, -0.3887276351451874, 0.4830479025840759, 0.09781232476234436, 0.19551491737365723, -0.5421969890594482, 0.14209973812103271, 0.34551945328712463, 0.03470027819275856, -0.0694287046790123, 0.10211069136857986, 0.38738512992858887, 0.7956041097640991, -1.308752179145813, -0.09866355359554291, 0.6366521120071411, -0.4796426594257355, -0.37539902329444885, -0.16518226265907288, 0.422444224357605, -0.3533066511154175, -0.005394397769123316, 0.125234454870224, 0.022933505475521088, -0.09749703109264374, -0.9493221640586853, -0.879279613494873, 0.7040868997573853, 0.13620461523532867, 0.1865566223859787, 0.27441084384918213, 0.1583060771226883, 0.7709496021270752, -0.05912886932492256, 0.55534827709198, 0.2731514573097229, 0.40608328580856323, 0.4950610399246216, -0.33723175525665283, 0.12862081825733185, -0.6643789410591125, -0.3201012909412384, -0.0772203728556633, -0.5394278764724731, 0.7901106476783752, -0.09211913496255875, -0.29070615768432617, -0.17532514035701752, 0.4881940484046936, -0.05371486023068428, 0.7045191526412964, 0.5204460620880127, 0.24152827262878418, 0.19812875986099243, 0.28623706102371216, 0.8112083077430725, -0.0517590269446373, 0.029708199203014374, 0.7005928754806519, 0.1451919823884964, 0.4853423535823822, 0.19181689620018005, -0.26136213541030884, 0.8831796646118164, 1.1346395015716553, -0.13600598275661469, 0.3245203495025635, 0.5093476176261902, -0.36119750142097473, -0.0677081048488617, -0.29698431491851807, -0.3530411720275879, 0.49131709337234497, 0.6029052138328552, -0.2523457407951355, -0.6819279193878174, -0.035593464970588684, 0.2102825939655304, -0.0020814323797822, -0.1617368757724762, 0.8981127142906189, 0.0027518426068127155, -0.5393980741500854, 0.5271934270858765, 0.16046585142612457, 0.32427823543548584, -0.21033206582069397, -0.28435829281806946, -0.11411114037036896, -0.09103554487228394, -0.21169425547122955, -0.9823440909385681, 0.793673574924469, -0.2126471847295761, 0.04788636788725853, -0.3383801579475403, 1.0373036861419678, 0.008054152131080627, -0.08472006022930145, 0.4343545734882355, 0.7884471416473389, 0.5412956476211548, -0.49888846278190613, -0.82248455286026, -0.1554260104894638, -0.23941664397716522, 0.10385850071907043, 0.3993762731552124, 0.4294799566268921, -0.41919925808906555, 0.7165138125419617, 0.5294765830039978, -0.19553762674331665, 0.4589157998561859, -0.0138693330809474, 0.9565735459327698, -0.4206971228122711, -0.2376287579536438, -0.5741647481918335, 0.44732236862182617, 0.060857582837343216, 0.15226159989833832, 0.3701540231704712, 0.38951265811920166, 0.41663414239883423, -0.06745897233486176, 0.7276644110679626, -0.25012463331222534, 0.3991301953792572, 0.09917538613080978, 0.881121814250946, -0.7387551069259644, 0.15542790293693542, -0.25706207752227783, -0.7331681847572327, -0.24128517508506775, 0.26241469383239746, -0.1905163824558258, 0.07431886345148087, 0.5665996074676514, 0.34190353751182556, -0.09198781102895737, 0.1272643357515335, -0.09330431371927261, 0.48287302255630493, 0.5895187258720398, 0.5459533333778381, 1.2684035301208496, -0.0854853019118309, 0.5274554491043091, -0.5780558586120605, -0.5472224354743958, -0.34984293580055237, -1.1020692586898804, -0.5209067463874817, -0.665892481803894, -0.1946297287940979, -0.1828715056180954, -0.3096242845058441, 0.23518012464046478, 0.36427462100982666, -0.7246487140655518, -0.042193587869405746, 0.02666456252336502, 0.6045787334442139, -0.04194183275103569, -0.26141223311424255, -0.275979220867157, -0.2174496352672577, -0.4939654469490051, 0.16700170934200287, 0.4482673108577728, -0.10965482145547867, -0.24091051518917084, 0.2091096043586731, -0.28280460834503174, 0.30662015080451965, 0.934014618396759, 0.4228467345237732, -0.32435905933380127, -0.3230738937854767, 0.15691854059696198, -0.1846698671579361, -0.15230655670166016, 0.7370745539665222, -0.32226407527923584, 0.6168966293334961, 0.9838473200798035, 0.1459432989358902, 0.09002873301506042, 0.02290264703333378, 0.24835872650146484, -0.2870227098464966, -0.21284154057502747, 0.46624255180358887, -0.0023818151094019413, 0.2096455693244934, -0.6107284426689148, 0.5070464015007019, 0.2621716558933258, -0.49393415451049805, -0.5503155589103699, 0.1495347023010254, -1.1690884828567505, -0.5750717520713806, 0.9131788015365601, 0.1478746086359024, -0.18686138093471527, -0.39756208658218384, -0.07202991098165512, 0.08762896806001663, 0.0125546520575881, 0.9463575482368469, 0.6662527322769165, -0.33060330152511597, -0.16381403803825378, -0.8140356540679932, 0.49313655495643616, 0.08669032156467438, -1.0746673345565796, 0.08038120716810226, 0.7962191700935364, 0.550449550151825, 0.38266614079475403, 0.8854314684867859, -0.3651958703994751, 0.4552510678768158, -0.29396846890449524, -0.13961096107959747, 0.28176504373550415, -0.5705736875534058, 0.035548899322748184, 0.10085354000329971, -0.06960491091012955, 0.07290567457675934 ]
http://arxiv.org/abs/2406.07348v3
http://arxiv.org/pdf/2406.07348v3
DR-RAG: Applying Dynamic Document Relevance to Retrieval-Augmented Generation for Question-Answering
2024-06-11T15:15:33
2024-06-16T04:33:17
Zijian Hei, Weiling Liu, Wenjie Ou, Juyi Qiao, Junming Jiao, Guowen Song, Ting Tian, Yi Lin
cs.LG
cs.LG, cs.CL
Retrieval-Augmented Generation (RAG) has recently demonstrated the performance of Large Language Models (LLMs) in the knowledge-intensive tasks such as Question-Answering (QA). RAG expands the query context by incorporating external knowledge bases to enhance the response accuracy. However, it would be inefficient to access LLMs multiple times for each query and unreliable to retrieve all the relevant documents by a single query. We have found that even though there is low relevance between some critical documents and query, it is possible to retrieve the remaining documents by combining parts of the documents with the query. To mine the relevance, a two-stage retrieval framework called Dynamic-Relevant Retrieval-Augmented Generation (DR-RAG) is proposed to improve document retrieval recall and the accuracy of answers while maintaining efficiency. Additionally, a compact classifier is applied to two different selection strategies to determine the contribution of the retrieved documents to answering the query and retrieve the relatively relevant documents. Meanwhile, DR-RAG call the LLMs only once, which significantly improves the efficiency of the experiment. The experimental results on multi-hop QA datasets show that DR-RAG can significantly improve the accuracy of the answers and achieve new progress in QA systems.
[ -0.2632692754268646, -0.9558059573173523, 0.7315715551376343, -0.17567326128482819, -0.15827830135822296, 0.6351765990257263, 0.15044067800045013, -0.3897726237773895, 0.3619484007358551, 0.45423072576522827, -0.30618250370025635, -0.08909301459789276, -0.4133531153202057, 0.06651504337787628, -0.5232799053192139, 0.6650875806808472, -0.06350051611661911, -0.1268005073070526, -0.5366942882537842, -0.2385258823633194, -0.5443671941757202, -0.22739507257938385, -0.7621099352836609, -0.18546293675899506, 0.7053744196891785, 0.28453195095062256, 0.5066416263580322, 0.564903974533081, 0.6985588073730469, 0.2816808819770813, -0.35056304931640625, 0.5946267247200012, -0.5258222818374634, 0.8393653035163879, -0.2382364720106125, -0.7092580795288086, -0.5976637005805969, -0.04944935068488121, 0.7713949084281921, 0.29385000467300415, -0.24061621725559235, 0.3507528603076935, -0.14607970416545868, 0.7201074957847595, -0.49037808179855347, -0.15150776505470276, -0.7232001423835754, -0.24331757426261902, -0.16816945374011993, -0.6088094711303711, -0.26603153347969055, -0.3701934516429901, -0.05585293099284172, -0.708020031452179, 0.29866716265678406, 0.011011985130608082, 0.8083164691925049, 0.44069263339042664, -0.5276211500167847, -0.5449748039245605, -0.8214197158813477, 0.6157170534133911, -0.5877262353897095, 0.2933907210826874, 0.277750164270401, 0.5636013746261597, -0.3301149904727936, -1.0798593759536743, -0.7798052430152893, -0.080580934882164, -0.05400669947266579, 0.23821592330932617, 0.456031858921051, -0.07603363692760468, 0.4044142961502075, 0.533989667892456, -0.3898876905441284, -0.17601454257965088, -0.21900711953639984, 0.0320066399872303, 0.4732104539871216, 0.15945249795913696, 0.17457905411720276, -0.2535925805568695, -0.20867392420768738, -0.2813695967197418, -0.44138941168785095, 0.09781752526760101, 0.21739935874938965, 0.15135063230991364, 0.3180856704711914, 0.5570865273475647, -0.09688246995210648, 0.7754867672920227, 0.38679638504981995, -0.72547847032547, 0.2954539656639099, -0.2514439523220062, 0.08790268003940582, -0.37565937638282776, 0.32641300559043884, -0.05204744264483452, -0.15957051515579224, -0.1118963211774826, -0.3032726049423218, -0.2984257638454437, 0.5495337247848511, -0.8162249326705933, 0.1778380423784256, 0.3110310733318329, -0.38882535696029663, -0.5094459652900696, -0.05297860875725746, -0.9875211715698242, -0.5506317615509033, -0.16193249821662903, 0.4333551526069641, -0.11200075596570969, -0.41908925771713257, -0.25748568773269653, -0.35555753111839294, 0.2522600591182709, 0.42221224308013916, -0.39124250411987305, 0.11373841762542725, 0.6918637752532959, 0.46241477131843567, -0.14821302890777588, -0.08824115246534348, -0.8921086192131042, 0.2178218513727188, -0.44897952675819397, 0.8678059577941895, -0.7448492646217346, -0.2877582311630249, -0.038568638265132904, -0.26014479994773865, -0.157953143119812, -0.6978437304496765, 0.6918054819107056, -1.2527306079864502, 0.41946572065353394, -0.2255786508321762, -0.5033743381500244, -0.06562987715005875, 0.5086719989776611, -0.6728437542915344, 1.2538526058197021, 0.47328948974609375, -0.836428165435791, 0.2500532567501068, -0.39896920323371887, -0.4243448078632355, 0.08988773822784424, -0.42950788140296936, -0.34516966342926025, 0.029535887762904167, -0.03204074874520302, 0.06185207515954971, -0.5869696140289307, 0.30078399181365967, -0.005329107400029898, -0.3497048020362854, 0.2543635666370392, -0.2764650881290436, 0.2507639527320862, 0.3847983479499817, -0.13353243470191956, -0.16879911720752716, -0.8977525234222412, 0.1289837807416916, 0.2798672914505005, -0.827190637588501, -0.4217705726623535, -0.031081365421414375, -0.32557082176208496, 0.31597214937210083, 0.3169367015361786, -0.4711788296699524, 0.10996983200311661, -0.39917102456092834, -0.11050303280353546, 0.4255687892436981, 0.2529037296772003, 0.5219046473503113, -0.6044521331787109, 0.9393474459648132, -0.18595069646835327, -0.22239932417869568, -0.28101781010627747, -0.4321921765804291, -0.5981011390686035, -0.2645235061645508, 0.5748981237411499, 0.6494140028953552, -1.005611538887024, 0.031660474836826324, -0.10414436459541321, -0.3840107023715973, -0.5729010105133057, -0.032772429287433624, 0.40530925989151, 0.9391717314720154, 0.2528999149799347, -0.17331135272979736, -0.40520209074020386, -0.4592709243297577, -0.2730271816253662, -0.2946617007255554, 0.014382177032530308, 0.8122289180755615, 0.07150322198867798, -0.15889519453048706, 0.9088459610939026, -0.576454758644104, -0.04875247925519943, -0.0928712785243988, 0.18645793199539185, 0.33528175950050354, 0.04950806871056557, 0.5566005706787109, -1.2940402030944824, -0.6153523325920105, -0.17251262068748474, -0.7104471325874329, -0.20428305864334106, -0.034316252917051315, -0.13350729644298553, 0.18756820261478424, 0.41941291093826294, -0.4995723068714142, 0.1986844837665558, 0.37202438712120056, -0.1710231751203537, 0.49901023507118225, -0.4130427837371826, 0.602946400642395, -1.3443896770477295, 0.21576130390167236, -0.5667456388473511, -0.23824475705623627, -0.5262934565544128, 0.3565073311328888, 0.18953777849674225, -0.2247614711523056, -0.13672159612178802, 0.8118049502372742, -0.5214948654174805, -0.03169684112071991, -0.6325094699859619, 0.5197398662567139, 0.28607580065727234, 0.0852898508310318, -0.3087255358695984, 1.1060409545898438, 0.16086755692958832, -0.60830157995224, 0.3564884066581726, 0.2980775833129883, -0.07155513018369675, 0.4335748553276062, -0.40220171213150024, 0.24691227078437805, -0.33666712045669556, 0.25018683075904846, -0.9700126647949219, -0.27253231406211853, -0.09593968838453293, -0.5364614129066467, 0.8392089605331421, -0.14344754815101624, -0.611478328704834, -0.523369312286377, -0.2160140722990036, 0.40712815523147583, 0.5054165124893188, -0.4050689935684204, 0.8935843706130981, 0.6376821398735046, -0.2696998715400696, -0.7598777413368225, -0.23154738545417786, -0.05909079685807228, -0.1460498571395874, -0.5738362669944763, 0.31071433424949646, -0.14991070330142975, -0.13080576062202454, 0.021882662549614906, -0.3643854558467865, -0.1505548506975174, 0.20859335362911224, -0.059163667261600494, 0.08754492551088333, -0.026987431570887566, 0.3720604181289673, 0.24374070763587952, -0.058995556086301804, -0.19668252766132355, 0.01876968890428543, 0.583921492099762, 0.36421269178390503, -0.2597159743309021, 0.15617235004901886, 0.5082702040672302, 0.6883400082588196, -0.6059342622756958, 0.6724277138710022, 0.6220329403877258, -0.19767005741596222, -0.20367656648159027, -0.7028852701187134, -0.25667959451675415, -0.4505518078804016, 0.292616605758667, -0.7367731928825378, -0.8915749788284302, 0.5383720397949219, -0.3325966000556946, 0.09460888057947159, 0.5169962644577026, 0.4693446755409241, -0.27184954285621643, 0.8402818441390991, 0.5323654413223267, 0.236925408244133, 0.436968594789505, -0.16400469839572906, 0.2642941474914551, -1.0424365997314453, -0.24892184138298035, -0.7134491205215454, -0.1981264352798462, -0.7516476511955261, -0.7374063730239868, 0.5813541412353516, 0.23279346525669098, 0.09922818839550018, 0.039633944630622864, -0.5106239318847656, 0.10550814867019653, 0.48842093348503113, -0.044372934848070145, 0.29813551902770996, -0.03989393264055252, -0.3328429162502289, 0.19109363853931427, -0.8351079225540161, -0.4442828297615051, 1.0496461391448975, 0.21198241412639618, 0.8167442083358765, 0.1684395670890808, 0.6916317939758301, 0.21928897500038147, 0.09929638355970383, -0.4960455596446991, 0.5937433838844299, -0.13818639516830444, -0.7843613624572754, -0.23815789818763733, -0.6094768047332764, -0.9934945702552795, 0.34215012192726135, -0.3425808846950531, -0.1459169089794159, 0.20056217908859253, 0.046441007405519485, -0.35911011695861816, 0.21181178092956543, -0.43658018112182617, 0.3785513639450073, -0.19006891548633575, -0.3897416293621063, -0.38851264119148254, -0.6652297973632812, 0.18736080825328827, -0.47830474376678467, 0.23986203968524933, -0.043554749339818954, -0.15096095204353333, 0.7499454617500305, -0.09157629311084747, 0.34912562370300293, -0.18223287165164948, -0.1547035425901413, 0.4143540859222412, 0.06545960903167725, 0.7417706847190857, 0.15457314252853394, -0.3541094660758972, -0.5612848401069641, 0.16220521926879883, -0.22435952723026276, -0.7016472816467285, 0.7317613363265991, -0.46049076318740845, -0.8202417492866516, -0.6274336576461792, -0.8867314457893372, -0.3605729639530182, 0.48320093750953674, -0.20924854278564453, 0.6508002281188965, 0.035560786724090576, 0.14336100220680237, 0.9543184041976929, -0.40197551250457764, -0.000009899748874886427, 0.7600110173225403, -0.31712472438812256, -0.4267555773258209, 0.6630417704582214, 0.17795971035957336, 0.20295016467571259, 0.6793906092643738, 0.1971428245306015, -0.2952287793159485, -0.5721977949142456, -0.5107898116111755, 0.4875430464744568, -0.5582892298698425, -0.3330739438533783, -0.9500956535339355, -0.192051500082016, -0.635438084602356, 0.13179443776607513, -0.11760954558849335, -0.6070519089698792, -0.2396075278520584, 0.14741447567939758, 0.2874692976474762, 0.6665794253349304, 0.10589122772216797, -0.13242748379707336, -1.05128014087677, 0.9031203389167786, 0.4550396502017975, 0.37938758730888367, -0.09955286979675293, -0.7642428278923035, -0.17625164985656738, -0.031837139278650284, -0.3030302822589874, -0.919721782207489, 0.17952251434326172, 0.19593816995620728, 0.8251928091049194, -0.006306365132331848, 0.3091369867324829, 0.5022032856941223, -0.6225765347480774, 0.47637805342674255, -0.28865405917167664, -0.1761924922466278, 0.634288489818573, -0.4864581227302551, 0.24772781133651733, 0.61025071144104, 0.27729758620262146, -0.3510853052139282, -0.6197726130485535, -0.6818583011627197, -1.0407294034957886, 0.5955883860588074, 0.0073417783714830875, 0.04877888411283493, -0.008333648554980755, 0.7860192060470581, -0.0885213315486908, 0.46478959918022156, 0.07322762906551361, -0.36398378014564514, 0.2840988337993622, -0.18226927518844604, 0.22790463268756866, -0.7758930325508118, -0.21598245203495026, 0.08475178480148315, 0.724945068359375, -0.10845186561346054, 0.3630761206150055, 0.250786691904068, -0.00821605883538723, -0.29612886905670166, 0.3102639317512512, 0.48714205622673035, 0.895575761795044, -0.4481980800628662, -0.06910094618797302, 0.1466239094734192, -0.666360080242157, 0.19564871490001678, 0.45337527990341187, -0.35118499398231506, 0.03764951229095459, 0.1469305008649826, 0.45778772234916687, -0.1288304179906845, -0.7128391861915588, 0.3011556565761566, -0.25269272923469543, 0.05557871609926224, -0.3521829843521118, 0.18673847615718842, -0.029215214774012566, 0.44704920053482056, 0.7005073428153992, -0.0878739133477211, 0.1415213793516159, -0.657745897769928, 0.4738417863845825, 0.3813486695289612, 0.022885605692863464, 0.15892238914966583, 0.7822319269180298, 0.22523994743824005, -0.4175738990306854, 0.36390647292137146, -0.28639277815818787, -0.5806080102920532, 0.6776599884033203, 0.483778715133667, 0.6128644943237305, -0.2560911178588867, 0.12333317846059799, 0.4451887607574463, -0.02926962450146675, 0.003924873657524586, 0.41830918192863464, -0.04283023625612259, -0.47743573784828186, -0.5157753229141235, -0.9299240708351135, -0.5058274865150452, -0.09969957172870636, -0.6060518026351929, 0.06384750455617905, 0.035420142114162445, -0.20780013501644135, -0.22561848163604736, 0.3826899230480194, -0.3864098787307739, 0.3936486542224884, -0.2036399245262146, 0.9944902062416077, -0.3296709358692169, 0.8224590420722961, 0.9534615278244019, -0.38006484508514404, -0.9609335660934448, 0.25498825311660767, -0.29608821868896484, -0.45974111557006836, 0.45312488079071045, -0.15032866597175598, -0.13206467032432556, 0.06226588413119316, 0.08734456449747086, -1.0833938121795654, 1.3999391794204712, 0.15751995146274567, -0.3880529999732971, -0.14993466436862946, -0.1008162647485733, 0.6731300354003906, -0.2313893735408783, 0.37711769342422485, 0.3456134796142578, 0.36791592836380005, 0.3789496123790741, -0.9921996593475342, -0.09163758158683777, -0.23880964517593384, -0.08983226120471954, 0.4061550199985504, -0.6803237199783325, 0.6813023090362549, -0.1746625304222107, -0.23096711933612823, 0.1777716726064682, 0.6647728085517883, 0.54305100440979, 0.5557978749275208, 0.5596498250961304, 0.6384769678115845, 1.0226516723632812, -0.04230184480547905, 1.1762326955795288, -0.3964058458805084, 0.18773910403251648, 1.2257014513015747, -0.2726307809352875, 0.8171984553337097, 0.2940894663333893, -0.06347721815109253, 0.48319077491760254, 0.3140568733215332, 0.40696990489959717, 0.5560828447341919, 0.03691757097840309, -0.40591058135032654, -0.014456499367952347, -0.16896891593933105, -0.446358859539032, 0.3497683107852936, 0.2552666962146759, -0.28418493270874023, -0.2326699197292328, 0.0036089459899812937, -0.03433407470583916, 0.31784141063690186, -0.0643138587474823, 0.9477785229682922, 0.017516832798719406, -0.83014976978302, 0.6052398085594177, -0.04291892051696777, 0.42082270979881287, -0.5714887380599976, -0.21353404223918915, -0.42864277958869934, 0.15053381025791168, -0.025546256452798843, -0.7391070127487183, 0.29463276267051697, 0.12071170657873154, -0.5689237117767334, -0.2483251988887787, 1.1709750890731812, -0.4890590012073517, -0.3199610114097595, 0.19710902869701385, 0.6906070709228516, 0.045852214097976685, 0.07545537501573563, -0.6987715363502502, -0.16942404210567474, -0.13230840861797333, -0.38950398564338684, 0.495554119348526, 0.64537513256073, 0.09911399334669113, 0.6694286465644836, 0.6107156872749329, 0.188240647315979, 0.1356019228696823, 0.06419932842254639, 1.0831564664840698, -0.5013537406921387, -0.3489796221256256, -0.08089201152324677, 0.3926355540752411, -0.2107330858707428, 0.13360700011253357, 0.6834281086921692, 0.6194300651550293, 0.46276140213012695, 0.24560756981372833, 0.6358610987663269, -0.4102061092853546, 1.3505736589431763, -0.2808619439601898, 0.69575035572052, -0.9544761180877686, 0.4049179255962372, -0.07573302090167999, -0.8028199672698975, -0.07798907905817032, 0.2800121009349823, -0.11693185567855835, 0.16210472583770752, 0.7447423338890076, 0.8614549040794373, 0.09022141993045807, -0.5167443156242371, 0.34824132919311523, 0.20297931134700775, 0.5112353563308716, 0.0667092353105545, 0.6244038939476013, -0.5509382486343384, 0.741058886051178, -0.1371898651123047, -0.27728328108787537, -0.15397843718528748, -0.6606765389442444, -0.5680322051048279, -0.6677325367927551, -0.08430736511945724, -0.5653672814369202, 0.1598103642463684, 0.48316967487335205, 0.33955618739128113, -0.5915796756744385, 0.09882276505231857, 0.2439897060394287, 0.2096392959356308, -0.11423967033624649, -0.25842195749282837, 0.38516533374786377, -0.7198276519775391, -0.7437962889671326, 0.6604381203651428, 0.20096071064472198, -0.20638608932495117, -0.05884750559926033, 0.1161024197936058, -0.5451966524124146, 0.2938334047794342, 0.5948270559310913, 0.20373521745204926, -0.3137279152870178, -0.10598091036081314, 0.2723056375980377, -0.2611818313598633, 0.0750829204916954, 0.7968602180480957, -0.9418372511863708, 0.6292994022369385, 0.9913310408592224, 1.0176790952682495, 0.6199726462364197, 0.32404205203056335, 0.4248834252357483, -0.5961269736289978, -0.04287238419055939, 0.4745957553386688, 0.009175451472401619, 0.22484663128852844, -0.3920044004917145, 0.5999754071235657, 0.1806594431400299, -0.9147275686264038, -0.9008982181549072, 0.33330345153808594, -0.9126916527748108, -0.24521388113498688, 1.2917437553405762, -0.05729246512055397, -0.1426946520805359, -0.18488407135009766, -0.2785019278526306, 0.45701730251312256, -0.3477994501590729, 0.7966569066047668, 0.27760010957717896, -0.015703991055488586, -0.1946248561143875, -0.8246371150016785, 0.4620436728000641, 0.3382423520088196, -0.8261386156082153, -0.1779293417930603, 0.4714420735836029, 0.22583231329917908, 0.39299631118774414, 0.746998131275177, -0.30998823046684265, 0.338510662317276, -0.08406049758195877, -0.29009073972702026, -0.05273189768195152, -0.3372487425804138, -0.06553886085748672, 0.42883607745170593, 0.5047674775123596, -0.12053374946117401 ]
http://arxiv.org/abs/2406.07330v1
http://arxiv.org/pdf/2406.07330v1
CTC-based Non-autoregressive Textless Speech-to-Speech Translation
2024-06-11T15:00:33
2024-06-11T15:00:33
Qingkai Fang, Zhengrui Ma, Yan Zhou, Min Zhang, Yang Feng
cs.CL
cs.CL, cs.AI, cs.SD, eess.AS, I.2.7
Direct speech-to-speech translation (S2ST) has achieved impressive translation quality, but it often faces the challenge of slow decoding due to the considerable length of speech sequences. Recently, some research has turned to non-autoregressive (NAR) models to expedite decoding, yet the translation quality typically lags behind autoregressive (AR) models significantly. In this paper, we investigate the performance of CTC-based NAR models in S2ST, as these models have shown impressive results in machine translation. Experimental results demonstrate that by combining pretraining, knowledge distillation, and advanced NAR training techniques such as glancing training and non-monotonic latent alignments, CTC-based NAR models achieve translation quality comparable to the AR model, while preserving up to 26.81$\times$ decoding speedup.
[ 0.042788758873939514, -0.6799678802490234, 0.34660011529922485, 0.09515099972486496, -0.7021864056587219, 0.3278547525405884, -0.32195019721984863, -0.3550615608692169, -0.045761916786432266, 0.3365061283111572, -0.250297874212265, -0.3683612644672394, -1.029639720916748, 0.36549878120422363, -0.697414219379425, 0.8826080560684204, 0.09169290959835052, 0.07089457660913467, 0.1393297165632248, -0.08487892895936966, -0.4502835273742676, -0.6158384084701538, -0.7388485074043274, -0.16699419915676117, 0.028063734993338585, 0.12498419731855392, 0.6892761588096619, 0.9400242567062378, 0.36566150188446045, 0.15719275176525116, -0.3912351131439209, 0.13136574625968933, -0.4449511766433716, 0.2022983580827713, -0.011037260293960571, -0.3764364421367645, -0.36232200264930725, -0.03782731667160988, 0.5340790152549744, 0.20843267440795898, -0.23309072852134705, -0.28219273686408997, 0.23387008905410767, 0.6408852934837341, -0.3638175129890442, 0.15763694047927856, -0.5457083582878113, -0.16662120819091797, 0.010775655508041382, -0.21130937337875366, -0.5400688052177429, -0.6470901966094971, 0.1342494636774063, -0.23259684443473816, 0.3118565082550049, -0.3047020733356476, 0.5850063562393188, 0.7637901902198792, -0.8184201121330261, -0.39905908703804016, -0.8125780820846558, 0.6977798938751221, -0.8138912320137024, 0.6097853183746338, 0.546515166759491, 0.20095610618591309, -0.04434039816260338, -0.516174852848053, -0.39893415570259094, -0.2417726069688797, 0.05205480381846428, 0.3203355669975281, -0.24599307775497437, -0.055331531912088394, -0.047808144241571426, 0.3454982340335846, -0.787478506565094, 0.11887148022651672, 0.02691388502717018, -0.027927212417125702, 0.45253756642341614, 0.1534915417432785, -0.17505639791488647, -0.0887986570596695, -0.4758501350879669, -0.15277588367462158, -0.22047290205955505, 0.020115310326218605, -0.08251586556434631, 0.3467867374420166, -0.4470512866973877, 0.38684511184692383, -0.30625832080841064, 0.7086037397384644, 0.3902844488620758, -0.13554109632968903, 0.196485698223114, -0.595201313495636, 0.07182756066322327, 0.14715348184108734, 0.67179936170578, -0.023248428478837013, 0.03934367373585701, -0.4688865840435028, -0.34929049015045166, 0.10015709698200226, -0.123189277946949, -0.5860488414764404, -0.3782542943954468, -0.045027684420347214, -0.48464667797088623, -0.31866469979286194, -0.4111114740371704, -0.48082733154296875, -0.0010063196532428265, -0.3440629541873932, 0.3437173664569855, -0.38137030601501465, -0.5863521695137024, -0.11444408446550369, 0.2179078310728073, 0.22688360512256622, 0.3997650146484375, -0.5565800666809082, 0.2460532784461975, 0.13238081336021423, 1.304874062538147, -0.4988427460193634, 0.25133979320526123, -0.5003103017807007, -0.27450326085090637, -0.49677208065986633, 0.8866310119628906, -0.07636146247386932, -0.6340799331665039, -0.31385618448257446, -0.3185584247112274, -0.24092288315296173, -0.31457003951072693, 0.2123895138502121, -0.6605247259140015, -0.2318163514137268, -0.016738656908273697, -0.4978090524673462, 0.08855752646923065, -0.027841219678521156, -0.5369519591331482, 0.8951320648193359, -0.03257976844906807, -0.662203311920166, -0.0933421403169632, -0.605522096157074, -0.7318082451820374, -0.17739161849021912, 0.20346787571907043, -0.23010849952697754, 0.2146049439907074, 0.10395040363073349, 0.18743805587291718, -0.3388235569000244, 0.3485618829727173, 0.21007974445819855, -0.20169036090373993, 0.26070505380630493, -0.6907986998558044, 0.636701226234436, 0.6996613144874573, -0.47643741965293884, -0.11960739642381668, -0.6583160758018494, 0.2603072226047516, 0.20257914066314697, -0.352522611618042, -0.08121472597122192, -0.17183075845241547, 0.04058654606342316, 0.6327106952667236, 0.2710218131542206, -0.06946701556444168, 0.06197682395577431, -0.4837794899940491, 0.7268049120903015, 0.3021554946899414, -0.025166116654872894, 0.51239013671875, -0.03975045308470726, 0.3698957860469818, 0.2141074538230896, -0.09301209449768066, 0.09685197472572327, -0.2823868691921234, -0.9785135388374329, -0.0657375305891037, 0.6020694375038147, 0.6843038201332092, -1.2649472951889038, 0.2617543935775757, -0.36811602115631104, -0.694037914276123, -0.24840332567691803, -0.32541435956954956, 0.6694032549858093, 0.5918554067611694, 0.6854620575904846, -0.3739274740219116, -0.14697064459323883, -0.7157009243965149, -0.33663278818130493, -0.14128345251083374, 0.15448108315467834, -0.05741558596491814, 0.427796870470047, 0.1532600075006485, 0.7045823931694031, -0.09464211016893387, -0.1471167951822281, -0.46407073736190796, 0.43625062704086304, 0.04354647919535637, 0.4321853220462799, 0.07651308178901672, -0.537466287612915, -0.44596776366233826, -0.2535569369792938, -0.4571775197982788, -0.11303985863924026, -0.0376933291554451, 0.07412089407444, 0.7109783291816711, 0.5565796494483948, -0.20900486409664154, 0.9018428921699524, 0.8219322562217712, -0.1940639466047287, 0.3802017569541931, -0.31801220774650574, 0.2745662331581116, -1.118141770362854, 0.3791833221912384, -0.14187173545360565, -0.48648953437805176, -0.8406357169151306, -0.4164554178714752, 0.22737345099449158, -0.01507630106061697, -0.7447286248207092, 0.30005109310150146, -0.6057850122451782, -0.05065474659204483, -0.6786763072013855, 0.18320991098880768, -0.08817131817340851, 0.35747143626213074, 0.5336260795593262, 1.1732603311538696, 0.18309374153614044, -1.022297978401184, -0.1477869600057602, 0.5736021399497986, -0.2830643355846405, 0.262531042098999, -0.6143901944160461, 0.45424872636795044, 0.1179257184267044, 0.4252936840057373, -0.8099186420440674, 0.30020812153816223, 0.007681967690587044, -0.713440477848053, 0.25938764214515686, -0.24438945949077606, -0.7494152188301086, -0.021472478285431862, 0.3857007324695587, 0.5075416564941406, 0.5971093773841858, -0.4145641624927521, 0.37151360511779785, 0.05777927488088608, -0.09130671620368958, -0.34654122591018677, -0.976986289024353, 0.30316445231437683, 0.13200455904006958, -0.3583970367908478, 0.33107098937034607, -0.00581770995631814, 0.12141021341085434, -0.17743739485740662, -0.1024756133556366, -0.3204279839992523, -0.04680268093943596, -0.06769035011529922, 0.024782255291938782, -0.08700352907180786, 0.11406876146793365, 0.048327263444662094, -0.43064582347869873, -0.4569236934185028, -0.39792534708976746, 0.5392207503318787, -0.08693760633468628, -0.03902759030461311, -0.8200706243515015, 0.4083371162414551, 0.4657107889652252, -0.3869066536426544, 0.6166345477104187, 0.13208706676959991, -0.0751279890537262, 0.1565719097852707, -0.7200338244438171, -0.39276668429374695, -0.3838253617286682, 0.43978965282440186, -0.2836451232433319, -0.7332148551940918, 0.27792981266975403, -0.027951134368777275, -0.2385333776473999, 0.3876945674419403, 0.5007060170173645, 0.18048901855945587, 0.947252631187439, 0.5187594294548035, 0.04656023159623146, 0.4652571380138397, -0.2485387772321701, 0.135415181517601, -0.6304608583450317, -0.20615200698375702, -0.5687390565872192, -0.12875382602214813, -0.4771675169467926, -0.6017984747886658, 0.31105002760887146, 0.027938274666666985, -0.07374576479196548, 0.7826943397521973, -0.5182426571846008, 0.12046360969543457, 0.5440831780433655, -0.04930485039949417, 0.5591841340065002, 0.04685840383172035, -0.11338949203491211, -0.03608793765306473, -0.9498181939125061, -0.3949749171733856, 0.9091430306434631, 0.07159065455198288, 0.6061398983001709, 0.08478584885597229, 0.3795311152935028, 0.32713979482650757, -0.17393769323825836, -0.5351051092147827, 0.34233319759368896, -0.65708988904953, -0.45061737298965454, -0.028241097927093506, -0.6174346208572388, -0.7170229554176331, 0.011191476136446, -0.08531317114830017, -0.25404301285743713, 0.2788164019584656, 0.3266831636428833, -0.25475019216537476, 0.42238643765449524, -0.42591431736946106, 0.43043169379234314, -0.6180141568183899, -0.37787699699401855, -0.11539045721292496, -0.9187477827072144, -0.05218318849802017, 0.09891784191131592, -0.11628219485282898, 0.2453632950782776, 0.08733582496643066, 0.6929993033409119, -0.24153009057044983, 0.4482211768627167, -0.37213364243507385, -0.09959806501865387, 0.43963393568992615, 0.40908434987068176, 0.8280472755432129, -0.13884331285953522, -0.15784358978271484, 0.6465574502944946, -0.01973756030201912, -0.22628922760486603, -0.46470728516578674, 0.5701727867126465, -0.8259763717651367, -0.3183109760284424, -0.48574212193489075, -0.41113585233688354, -0.2900765836238861, 0.07159505784511566, 0.5654111504554749, 0.3476167619228363, -0.04285700246691704, 0.15043357014656067, 0.7575573921203613, -0.031127404421567917, 0.5932635068893433, 0.6481682658195496, 0.3325882852077484, -0.7555833458900452, 0.6351960301399231, 0.3818199038505554, 0.6972051858901978, 0.4255242943763733, -0.25904330611228943, -0.9523698687553406, -0.8172668218612671, -0.45061469078063965, 0.15998399257659912, -0.4430641233921051, -0.44830235838890076, -0.9936387538909912, -0.5296640992164612, -0.5446880459785461, -0.05622154101729393, -0.8649812340736389, -0.6362388134002686, -0.5094187259674072, 0.13366129994392395, 0.504672110080719, 0.6191892623901367, -0.2623392343521118, 0.6315826773643494, -0.6661697030067444, 0.2787686884403229, -0.09418056160211563, 0.15547214448451996, -0.055998895317316055, -1.104743242263794, -0.47450992465019226, 0.22860340774059296, -0.2620581388473511, -0.6965720653533936, 0.697794497013092, -0.05440610647201538, 0.0533742755651474, 0.061627890914678574, 0.28142955899238586, 0.8457878232002258, -0.1747305542230606, 0.730994701385498, 0.3356744945049286, -0.9835922122001648, 0.6019295454025269, -0.13397108018398285, 0.6494876742362976, 0.6311604976654053, -0.1489739865064621, -0.49704107642173767, -0.22757449746131897, -0.3232387602329254, -0.85813969373703, 0.6944292187690735, 0.6706804633140564, -0.22493413090705872, -0.08254057168960571, 0.36926713585853577, 0.06939024478197098, 0.19797463715076447, -0.34756705164909363, -0.2789004147052765, -0.7391222715377808, -0.09758538752794266, -0.30929580330848694, -0.2958988845348358, 0.5847979187965393, 0.1600014865398407, 0.7907427549362183, 0.16128991544246674, 0.38419991731643677, 0.5481507182121277, -0.3436604142189026, 0.17184893786907196, 0.313841849565506, 0.8759310841560364, -0.035726092755794525, -0.05192519724369049, 0.02590227872133255, 0.3538878858089447, -0.2806609570980072, 0.47994673252105713, 0.08268094062805176, 0.0007142809336073697, 0.05923483148217201, 0.045980580151081085, 0.7382017374038696, -0.003958629444241524, -0.09906818717718124, 0.5916042327880859, -0.2252078503370285, -0.29266124963760376, -0.35384052991867065, -0.10374946147203445, -0.1044592633843422, 0.12706103920936584, 0.30879226326942444, 0.3051578104496002, 0.036285899579524994, 0.10558979958295822, 0.20571452379226685, 0.1334698349237442, -0.6084970831871033, -0.37266290187835693, 0.9752082824707031, 0.32320451736450195, -0.21206577122211456, 0.8195720314979553, 0.07544383406639099, -0.2602335810661316, 0.49940672516822815, 0.593945324420929, 0.7989089488983154, -0.37968605756759644, -0.18467561900615692, 0.5717092156410217, 0.188225656747818, -0.4222061038017273, 0.08536060899496078, -0.26584428548812866, -0.13218830525875092, -0.5070144534111023, -0.3001978099346161, -0.0708424299955368, 0.0850544348359108, -0.6879439949989319, 0.2130744457244873, -0.11902698874473572, -0.42946192622184753, -0.6058236360549927, -0.04284292459487915, -0.6605010628700256, 0.4604669213294983, -0.0429316870868206, 0.9857770204544067, -0.5118147134780884, 1.2285608053207397, 0.1628493070602417, -0.33956241607666016, -0.9414163827896118, 0.08477482199668884, -0.06085631623864174, -0.5359114408493042, 0.8308290839195251, -0.06550118327140808, -0.5951696038246155, 0.565649151802063, -0.23853084444999695, -1.071090817451477, 1.070164442062378, 0.31673663854599, -0.7697604894638062, -0.18712159991264343, 0.36240139603614807, 0.6125368475914001, -0.17655429244041443, 0.2295708805322647, 0.27864861488342285, 0.3652290105819702, 0.15092289447784424, -1.1934269666671753, -0.23310218751430511, -0.23896679282188416, 0.2856596112251282, 0.009565741755068302, -0.890656054019928, 0.6501098275184631, -0.13291484117507935, -0.47891533374786377, 0.4180413484573364, 0.6219670176506042, -0.09772741049528122, 0.3339601755142212, 0.31309881806373596, 0.534440279006958, 0.12836039066314697, -0.005652963183820248, 0.7363365292549133, -0.5047228336334229, 0.21974743902683258, 1.320204257965088, -0.11618033796548843, 0.8511509895324707, 0.4702574610710144, 0.1606089025735855, 0.22490698099136353, 0.42301756143569946, 0.2651791572570801, 1.0216120481491089, -0.11578628420829773, -0.18608340620994568, -0.4375309348106384, -0.155721977353096, -0.6923802495002747, 0.6749247908592224, 0.11795871704816818, -0.5432022213935852, -0.24672308564186096, -0.048444315791130066, -0.0459783598780632, 0.18822342157363892, -0.05099278315901756, 1.0298117399215698, 0.20131978392601013, -0.7030162215232849, 1.0273375511169434, 0.08837906271219254, 0.7634508609771729, -0.5517731308937073, 0.01940220594406128, -0.2799902856349945, -0.0075133927166461945, 0.14142511785030365, -0.3315918743610382, 0.4147958755493164, 0.23858371376991272, -0.25770479440689087, -0.3523194491863251, 0.4562876522541046, -0.35507890582084656, -0.19485501945018768, 0.34941041469573975, 0.7226039171218872, 0.3688380718231201, -0.06191959232091904, -0.5503208637237549, -0.09005948901176453, 0.09404375404119492, 0.021635262295603752, 0.24852418899536133, 0.24038062989711761, 0.06119874492287636, 0.5598670244216919, 0.7497918605804443, -0.04293840751051903, -0.012046142481267452, -0.24984048306941986, 0.48941943049430847, -0.6755067706108093, -0.6580324769020081, -0.7827174067497253, 0.46107733249664307, 0.30503004789352417, -0.20035485923290253, 0.4939849078655243, 0.5571945905685425, 0.6370956301689148, -0.12440555542707443, 0.7332116961479187, 0.09919147938489914, 0.5730718970298767, -0.592866063117981, 1.0690819025039673, -0.41348451375961304, -0.038816507905721664, 0.1557856798171997, -0.5085130929946899, -0.22267194092273712, 0.6478286385536194, -0.3399467170238495, 0.08192109316587448, 0.7403029203414917, 0.7969682812690735, 0.16121068596839905, 0.006520009599626064, 0.5825187563896179, 0.19468680024147034, 0.32892945408821106, 0.6536343693733215, 0.7112058997154236, -0.6474483013153076, 1.0145573616027832, -0.13916191458702087, -0.08507812768220901, -0.31884273886680603, -0.6995846629142761, -0.7573185563087463, -0.6768814325332642, -0.4733930230140686, -0.49565601348876953, 0.4812796413898468, 0.71119624376297, 0.8309193849563599, -0.6716887354850769, -0.0021767844446003437, -0.44818413257598877, -0.36281177401542664, -0.18265561759471893, -0.16726598143577576, 0.5082435607910156, -0.18954776227474213, -0.5843355655670166, 0.7065601944923401, 0.14475423097610474, 0.49367526173591614, 0.25729864835739136, -0.1716335117816925, -0.2712414860725403, 0.06062415987253189, 0.34923306107521057, 0.15389062464237213, -0.7587400674819946, 0.02585640735924244, 0.21762849390506744, -0.18675488233566284, 0.28162920475006104, 0.7922345399856567, -0.9038057923316956, 0.4409373998641968, 0.3231336772441864, 0.36088797450065613, 0.5763065218925476, 0.19836929440498352, 0.3329488933086395, -0.45493993163108826, 0.1811688095331192, 0.36604204773902893, -0.153559148311615, 0.32639890909194946, -0.2716394066810608, 0.31400448083877563, 0.09361785650253296, -0.6760392785072327, -0.5637984871864319, 0.19849610328674316, -0.8427392840385437, 0.01748320460319519, 1.118654727935791, -0.1472334861755371, 0.020593246445059776, -0.3933599591255188, 0.04682406410574913, 0.8823689222335815, -0.7564725279808044, 0.7577520608901978, 0.24772962927818298, -0.204461008310318, -0.025857094675302505, -0.5024797320365906, 0.31554940342903137, 0.5787180662155151, -0.5109174847602844, 0.22002625465393066, 0.3411930203437805, 0.39702707529067993, -0.21508629620075226, 0.5237748622894287, -0.4854731559753418, 0.1624118685722351, 0.031716056168079376, -0.023602038621902466, -0.4216136038303375, -0.18217125535011292, -0.5276141166687012, -0.0692625641822815, 0.1418250948190689, -0.1438877433538437 ]
http://arxiv.org/abs/2406.07327v1
http://arxiv.org/pdf/2406.07327v1
3D-Properties: Identifying Challenges in DPO and Charting a Path Forward
2024-06-11T14:59:24
2024-06-11T14:59:24
Yuzi Yan, Yibo Miao, Jialian Li, Yipin Zhang, Jian Xie, Zhijie Deng, Dong Yan
cs.AI
cs.AI, cs.CL, cs.LG
Aligning large language models (LLMs) with human preference has recently gained tremendous attention, with the canonical yet costly RLHF-PPO and the simple and straightforward Direct Preference Optimization (DPO) as two examples. Despite the efficiency, DPO has rarely be used in the state-of-the-art production-level LLMs, implying its potential pathologies. In this work, we revisit DPO with a comprehensive examination of its empirical efficacy and a systematic comparison with RLHF-PPO. We identify the \textbf{3D}-properties of DPO's learning outcomes: the \textbf{D}rastic drop in the likelihood of rejected responses, the \textbf{D}egradation into LLM unlearning, and the \textbf{D}ispersion effect on unseen responses through experiments with both a carefully designed toy model and practical LLMs on tasks including mathematical problem-solving and instruction following. These findings inherently connect to some observations made by related works and we additionally contribute a plausible theoretical explanation for them. Accordingly, we propose easy regularization methods to mitigate the issues caused by \textbf{3D}-properties, improving the training stability and final performance of DPO. Our contributions also include an investigation into how the distribution of the paired preference data impacts the effectiveness of DPO. We hope this work could offer research directions to narrow the gap between reward-free preference learning methods and reward-based ones.
[ -0.4142448902130127, -0.5925156474113464, 0.6656937003135681, 0.06920816749334335, -0.06120983138680458, 0.14816145598888397, -0.22549857199192047, -0.5415995121002197, -0.0812322348356247, 0.5538333654403687, -0.23631486296653748, -0.18937146663665771, -0.7016254663467407, 0.21168607473373413, 0.1637723296880722, 0.6343545913696289, -0.09706640243530273, -0.04520735889673233, -0.3078521192073822, 0.2564387321472168, -0.2156544029712677, -0.6679155826568604, -0.4525420367717743, -0.514439582824707, 0.4570541977882385, 0.6668455004692078, 0.8274438381195068, 0.9235243797302246, 0.5534956455230713, 0.28739455342292786, -0.2728630602359772, -0.12079650163650513, -0.6573486924171448, -0.046043433248996735, 0.09016256034374237, -0.3355048894882202, -0.624254047870636, 0.32760146260261536, 0.6920128464698792, 1.0693024396896362, -0.012307959608733654, -0.28150853514671326, 0.36676424741744995, 1.188633680343628, -0.7122155427932739, 0.10340466350317001, -0.4496721625328064, 0.2532420754432678, -0.0361628457903862, -0.15015795826911926, -0.29187092185020447, -0.13700377941131592, 0.3994472324848175, -0.7308014035224915, 0.2706177830696106, -0.03376142308115959, 0.7275344133377075, 0.19513677060604095, -0.45200446248054504, -0.3600016236305237, -0.8625833988189697, 1.0284662246704102, -0.3868594467639923, 0.40022316575050354, 0.5336510539054871, 0.20168815553188324, -0.32497021555900574, -0.1913147270679474, -0.5062103867530823, -0.4860871136188507, 0.07554274797439575, 0.09953489154577255, 0.21973462402820587, 0.23511500656604767, 0.12769649922847748, 0.7821343541145325, -0.21610955893993378, 0.49912068247795105, -0.28260740637779236, -0.06750496476888657, 0.7869025468826294, 0.05212647467851639, 0.09175123274326324, -0.187627911567688, -0.4460853934288025, -0.2784247100353241, -0.5780075788497925, 0.1694701462984085, 0.8193457722663879, 0.39915645122528076, -0.09360342472791672, 0.7729120254516602, -0.15428389608860016, 0.8149977922439575, 0.02070232853293419, -0.38831090927124023, 0.13897886872291565, -0.09666226804256439, 0.06795679777860641, -0.10915753990411758, 0.7060455679893494, 0.23839688301086426, 0.4421175420284271, -0.02824237570166588, -0.17426900565624237, -0.3134091794490814, 0.07856714725494385, -0.5956529974937439, -0.13102784752845764, 0.3015140891075134, -0.444125771522522, -0.43182098865509033, -0.007970046252012253, -0.8015294075012207, -0.5522851943969727, -0.5341331362724304, 0.22570402920246124, -0.268465518951416, -0.4915805160999298, 0.5475788712501526, -0.06196356192231178, 0.07361974567174911, 0.239203080534935, -1.4248249530792236, 0.45962727069854736, 0.8898499011993408, 0.7561236023902893, -0.4186362028121948, -0.3672139048576355, -0.21166740357875824, -0.11231750249862671, -0.22051264345645905, 0.5525496602058411, -0.5241027474403381, -0.525524914264679, -0.10828857123851776, -0.6216669678688049, 0.04555315524339676, -0.8534068465232849, 0.3377685546875, -0.30458664894104004, 0.21258030831813812, -0.3680255711078644, -0.5705796480178833, 0.03486402705311775, 0.18502025306224823, -0.7281566858291626, 0.7475128173828125, 0.13040609657764435, -0.7109938263893127, 0.36182349920272827, -0.4113970398902893, -0.027010280638933182, -0.2644532024860382, -0.20046836137771606, -0.28046953678131104, 0.3496575653553009, -0.18816016614437103, 0.4805082380771637, -0.29309025406837463, 0.2125675082206726, -0.5675063729286194, -0.4455970227718353, 0.2231690138578415, -0.307036429643631, 0.7101084589958191, 0.13092361390590668, -0.09587528556585312, -0.1556662768125534, -1.033588171005249, -0.4180651903152466, 0.4156566560268402, -0.42276906967163086, -0.28050029277801514, -0.03568743169307709, -0.28583967685699463, 0.14127184450626373, 0.3697766065597534, -0.5702340602874756, 0.3101309537887573, -0.42518824338912964, 0.10173647105693817, 1.0246028900146484, -0.3068849742412567, 0.5845586657524109, -0.220330610871315, 0.5345034003257751, -0.03166018798947334, 0.31387025117874146, 0.40944865345954895, -0.38364216685295105, -0.49102455377578735, -0.44579482078552246, 0.17861732840538025, 0.3481311798095703, -0.34045642614364624, 0.4259875416755676, -0.09568831324577332, -0.22923599183559418, -0.15036165714263916, 0.292395681142807, 0.49151867628097534, 0.7660384774208069, 0.22348067164421082, -0.10958248376846313, -0.33219024538993835, -1.18329918384552, -0.11654655635356903, -0.24287626147270203, -0.14683109521865845, 0.2819765508174896, 0.21851846575737, 0.10997606068849564, 0.9062771201133728, -0.7697489857673645, -0.20110517740249634, -0.22312135994434357, -0.19588151574134827, 0.15920038521289825, 0.37333938479423523, 0.534423291683197, -0.6457709670066833, -0.4452265501022339, -0.07652217894792557, -0.482637882232666, 0.018381359055638313, 0.3531304597854614, 0.04137760028243065, 0.164839506149292, 0.08323930948972702, -0.28631293773651123, 0.044562507420778275, 0.5399775505065918, -0.05096519738435745, 0.5425388216972351, -0.30335137248039246, -0.008120245300233364, -0.7930914163589478, -0.10099612176418304, 0.1952463686466217, 0.2513883411884308, -0.5329145789146423, -0.32304999232292175, -0.22693389654159546, -0.37105005979537964, -0.5731748342514038, 0.6696246862411499, -0.41119030117988586, -0.31025201082229614, -0.24753201007843018, 0.3650228679180145, 0.12633945047855377, 0.6745821833610535, 0.34729287028312683, 0.5595697164535522, 0.4831748604774475, -0.8741558194160461, 0.32158371806144714, 0.16515804827213287, -0.10237256437540054, 0.45317602157592773, -0.584075391292572, 0.28270891308784485, -0.08120142668485641, -0.1470620483160019, -0.9351590275764465, -0.11839911341667175, 0.30053988099098206, -0.3203480541706085, 0.43546512722969055, -0.16664756834506989, -0.5997331738471985, -0.19034209847450256, -0.5784130096435547, 0.4155322313308716, 0.31357482075691223, -0.5304850935935974, 0.30933961272239685, 0.4186224937438965, 0.01509525440633297, -0.6984280347824097, -0.10268200933933258, -0.05292665585875511, -0.31341850757598877, -0.4219406843185425, 0.38882142305374146, -0.19194139540195465, -0.4811950623989105, -0.18654067814350128, -0.1722087562084198, 0.1229613646864891, 0.4110667407512665, -0.11850384622812271, 0.2635069191455841, 0.15175503492355347, -0.08413902670145035, -0.17954504489898682, -0.4039002060890198, 0.08451544493436813, 0.00790332816541195, 0.39175063371658325, -0.16543905436992645, -0.236647829413414, -0.323583722114563, 0.17613574862480164, 0.4250582158565521, 0.08200958371162415, 0.48065251111984253, 0.026753023266792297, -0.31667912006378174, -0.14007893204689026, -0.2925686538219452, -0.23451566696166992, -0.4942614734172821, 0.4201584756374359, -0.4977032542228699, -0.6858510375022888, 0.3462083637714386, 0.02429799735546112, -0.046346891671419144, 0.1779472827911377, 0.2572621703147888, -0.04601103439927101, 1.1319361925125122, 0.8642255663871765, 0.2300480157136917, 0.5335780382156372, -0.3181663453578949, 0.26185545325279236, -1.0085865259170532, -0.4555865526199341, -0.4257766604423523, -0.42294272780418396, -0.7424061298370361, 0.0038301204331219196, 0.23922696709632874, 0.4185449481010437, -0.22550566494464874, 0.08394711464643478, -0.4518636465072632, 0.2996116280555725, 0.46211281418800354, 0.15153872966766357, 0.4600827097892761, 0.105096235871315, -0.09668577462434769, -0.25075703859329224, -0.548427939414978, -0.6102874279022217, 1.1245354413986206, 0.47375205159187317, 0.681959867477417, 0.13984747231006622, 0.6899523735046387, 0.015103950165212154, 0.018507106229662895, -1.0440270900726318, 0.5689510107040405, -0.13423246145248413, -0.25961586833000183, -0.31126680970191956, -0.45478498935699463, -1.032328724861145, 0.3288303017616272, -0.34935981035232544, -0.7116875052452087, 0.31970179080963135, 0.4347843527793884, -0.29444608092308044, 0.37702682614326477, -0.6518962979316711, 0.7805812954902649, -0.6636738181114197, -0.6749939918518066, -0.16375747323036194, -0.41676050424575806, 0.4435591995716095, 0.015164997428655624, -0.004214284010231495, -0.4348166286945343, -0.20021876692771912, 0.5639876127243042, -0.2127677947282791, 0.6976210474967957, -0.10667118430137634, -0.38421177864074707, -0.09134473651647568, 0.15038146078586578, 0.18887896835803986, 0.1486470252275467, -0.3048916161060333, 0.14448769390583038, -0.2605034410953522, -0.508819580078125, -0.7026443481445312, 0.8312305212020874, -0.9830996990203857, -0.9166460037231445, -0.536147952079773, -0.5750933289527893, -0.5477060079574585, 0.18105573952198029, -0.027057448402047157, 0.322023868560791, -0.2262195497751236, 0.05530440807342529, 0.7687419056892395, -0.3925897777080536, 0.27210357785224915, 0.5342288017272949, -0.37300074100494385, -0.5357741117477417, 0.9177071452140808, 0.012283510528504848, 0.48646584153175354, 0.49265778064727783, 0.7606325745582581, -0.4434831440448761, -0.6611319780349731, -0.15587790310382843, 0.5169990062713623, -0.6422060132026672, 0.10854502767324448, -0.4667495787143707, -0.003024723380804062, -0.3384488523006439, -0.28332075476646423, -0.5885660648345947, -0.40846365690231323, -0.48080331087112427, -0.20748066902160645, 0.24954231083393097, 0.7660565972328186, -0.2595462501049042, -0.11812867224216461, -0.4905703663825989, 0.4354481101036072, 0.5180825591087341, 0.6534025073051453, -0.02938155084848404, -0.5556015968322754, -0.16420240700244904, 0.1762738674879074, -0.4662473201751709, -0.5500393509864807, 0.07848314195871353, -0.15549299120903015, 0.550973653793335, 0.42008015513420105, 0.07280462235212326, 0.33115023374557495, -0.1638888120651245, 0.5710455775260925, 0.12283019721508026, -0.8741154670715332, 0.6187581419944763, -0.3820619285106659, -0.13440565764904022, 0.5070815682411194, 0.5981675386428833, -0.12014483660459518, 0.051777902990579605, -0.6900360584259033, -0.6667697429656982, 0.6824893951416016, 0.05400790274143219, 0.091084323823452, -0.06293903291225433, 0.7246938943862915, 0.27544674277305603, 0.22108791768550873, -0.5757035613059998, -0.27243557572364807, -0.13106374442577362, 0.06438292562961578, -0.03376026451587677, -0.5849651098251343, -0.057297565042972565, -0.11356387287378311, 0.4337007403373718, -0.0032513246405869722, -0.05983501300215721, 0.14486725628376007, 0.1911718249320984, 0.07734479010105133, 0.14793488383293152, 0.8585788011550903, 0.896079957485199, -0.7076647877693176, 0.0711897686123848, -0.27101221680641174, -0.436942994594574, 0.26766493916511536, 0.005805752705782652, 0.008411788381636143, -0.4761751890182495, 0.24714066088199615, 0.7592675685882568, 0.12289360910654068, -0.5605411529541016, 0.41569262742996216, 0.11692433059215546, -0.2858911454677582, -0.1741487979888916, 0.07228220254182816, -0.3086548447608948, -0.20391704142093658, 0.304791659116745, -0.11665143072605133, 0.10169755667448044, -0.5333844423294067, -0.049322981387376785, 0.36484494805336, -0.5287555456161499, -0.48503947257995605, 0.47058650851249695, 0.4950229823589325, -0.35400837659835815, 0.64612877368927, 0.01672632433474064, -0.3741830289363861, 0.598473846912384, 0.4855390787124634, 0.7643709182739258, -0.008137775585055351, 0.1846596598625183, 0.2854127883911133, 0.06540326774120331, -0.17905740439891815, -0.045584820210933685, -0.1728716790676117, -1.0366802215576172, -0.26392659544944763, -0.4050182104110718, -0.800254762172699, 0.2429647445678711, -0.780205488204956, 0.4141440987586975, -0.6204469799995422, 0.005502290092408657, -0.2274736911058426, 0.3439694046974182, -0.5157340168952942, 0.02468535117805004, 0.1247326135635376, 0.40195825695991516, -0.8190938830375671, 0.5648349523544312, 0.6526986956596375, -0.4222240447998047, -0.44067519903182983, 0.0523698590695858, 0.16529019176959991, -0.9147571325302124, 0.7730352878570557, -0.022503085434436798, -0.36076295375823975, 0.1664198786020279, -0.16969183087348938, -0.8985422253608704, 0.8736873865127563, 0.6560898423194885, -0.542874276638031, 0.18259277939796448, 0.40243464708328247, 0.5461940765380859, -0.19885040819644928, 0.08012868463993073, 0.5845842361450195, 0.361177921295166, 0.0340256430208683, -0.8862897157669067, -0.07577202469110489, 0.005555388517677784, 0.1659255474805832, 0.10551639646291733, -0.7499948143959045, 0.5105252265930176, -0.4793679416179657, -0.16216039657592773, -0.24459867179393768, 0.47361528873443604, 0.7015393376350403, 0.1356375813484192, 0.4921002686023712, 0.5400009751319885, 0.5432559847831726, 0.08596806228160858, 1.2678563594818115, -0.2699909508228302, 0.34581124782562256, 0.8084350228309631, -0.5540125966072083, 0.8060597777366638, 0.7556437849998474, -0.3436848223209381, 0.21499589085578918, 0.6679691076278687, 0.3080250918865204, 0.4857865273952484, 0.661941647529602, -0.12323915958404541, -0.08678548783063889, -0.1620035320520401, -0.25664472579956055, 0.523969829082489, 0.15454797446727753, 0.06888231635093689, 0.14167311787605286, 0.01576945185661316, 0.09569096565246582, 0.5233948230743408, -0.07034333795309067, 0.6585650444030762, 0.18250149488449097, -0.5817112922668457, 0.5693279504776001, -0.2939893305301666, 0.6460641026496887, -0.49389469623565674, -0.1488904058933258, -0.4057336747646332, 0.4007439911365509, -0.13803569972515106, -0.8704361319541931, 0.2872104048728943, -0.27216508984565735, -0.2599145174026489, -0.47038599848747253, 0.2610633373260498, -0.2602311372756958, -0.3098834156990051, 0.5290771126747131, 0.3613430857658386, -0.049094557762145996, 0.012290951795876026, -0.6575667858123779, 0.31839558482170105, -0.12240526080131531, -0.2399943321943283, 0.5578612089157104, 0.35087522864341736, 0.2857001721858978, 0.7061041593551636, 0.3973563015460968, 0.16752812266349792, -0.3731633424758911, 0.09542380273342133, 0.5935933589935303, -0.6145505309104919, 0.0012556277215480804, -0.6911910772323608, 0.3673214912414551, -0.03645119071006775, -0.45811501145362854, 0.7617089748382568, 0.7146568894386292, 1.1264867782592773, 0.016172200441360474, 0.5934961438179016, 0.24213393032550812, 0.33922305703163147, -0.7423319220542908, 0.23406146466732025, -0.5856673121452332, 0.716325581073761, -0.2741788327693939, -1.1477077007293701, -0.36205482482910156, 0.47800081968307495, -0.3740481734275818, 0.2096215933561325, 0.7659177780151367, 0.5883446931838989, 0.02317233942449093, -0.3318421244621277, 0.5036587119102478, -0.1378186196088791, 0.29845863580703735, 0.4223974943161011, 0.9860361218452454, -0.26654455065727234, 0.46567919850349426, -0.8699702024459839, -0.4222044348716736, -0.21033048629760742, -1.0063453912734985, -0.8601175546646118, -0.6431835889816284, -0.4879412353038788, -0.198510080575943, -0.08150622993707657, 0.9046885967254639, 0.3977525234222412, -0.4828711450099945, -0.4921267032623291, -0.17185088992118835, 0.36301910877227783, -0.32341980934143066, -0.2218293845653534, 0.45203521847724915, -0.07964016497135162, -0.9997168183326721, 0.3257308006286621, 0.34491828083992004, 0.4374699592590332, -0.43611979484558105, -0.15006472170352936, 0.009389318525791168, -0.15316525101661682, 0.6610525250434875, 0.358368843793869, -0.7780702114105225, -0.2984432578086853, 0.23763976991176605, -0.026167908683419228, 0.16503950953483582, 1.0841889381408691, -0.409220814704895, 0.5255935192108154, 0.6034659147262573, 0.4768587648868561, 0.2966100573539734, -0.0038215983659029007, 0.905834436416626, -0.4415404498577118, 0.16677141189575195, 0.2535708546638489, 0.3907648026943207, 0.4729236960411072, -0.4568866789340973, 0.4154820442199707, 0.3693506419658661, -0.4748397767543793, -0.832621693611145, 0.4112316071987152, -0.8818331956863403, -0.2501142919063568, 1.145761251449585, 0.13408370316028595, -0.0304587259888649, -0.18844959139823914, -0.1025288999080658, -0.07039900869131088, -0.28984901309013367, 1.1177940368652344, 0.6204835772514343, -0.5296574234962463, -0.15947213768959045, -0.5023226737976074, 0.6859586834907532, 0.5653325915336609, -0.5838285088539124, 0.22603145241737366, 0.49001190066337585, 0.19845463335514069, 0.12477567791938782, 0.6319120526313782, -0.26654052734375, -0.05951324477791786, -0.14813636243343353, 0.1992558240890503, -0.334600031375885, -0.3985140919685364, -0.5716586112976074, -0.07846666127443314, 0.49086472392082214, -0.2890423536300659 ]
http://arxiv.org/abs/2406.07310v1
http://arxiv.org/pdf/2406.07310v1
MM-KWS: Multi-modal Prompts for Multilingual User-defined Keyword Spotting
2024-06-11T14:38:29
2024-06-11T14:38:29
Zhiqi Ai, Zhiyong Chen, Shugong Xu
eess.AS
eess.AS, cs.CL, cs.SD
In this paper, we propose MM-KWS, a novel approach to user-defined keyword spotting leveraging multi-modal enrollments of text and speech templates. Unlike previous methods that focus solely on either text or speech features, MM-KWS extracts phoneme, text, and speech embeddings from both modalities. These embeddings are then compared with the query speech embedding to detect the target keywords. To ensure the applicability of MM-KWS across diverse languages, we utilize a feature extractor incorporating several multilingual pre-trained models. Subsequently, we validate its effectiveness on Mandarin and English tasks. In addition, we have integrated advanced data augmentation tools for hard case mining to enhance MM-KWS in distinguishing confusable words. Experimental results on the LibriPhrase and WenetPhrase datasets demonstrate that MM-KWS outperforms prior methods significantly.
[ -0.40845900774002075, -0.5461342930793762, 0.5477652549743652, 0.15824943780899048, -0.6007454991340637, 0.33887332677841187, -0.12842567265033722, -0.015602760948240757, 0.3470202684402466, 0.22257868945598602, -0.722451388835907, -0.7722296118736267, -0.5353662371635437, 0.5222343802452087, -0.12302534282207489, 0.6525065898895264, 0.3993768095970154, 0.13418835401535034, 0.19906872510910034, -0.3034917712211609, -0.491240918636322, -0.7757371664047241, -0.26372087001800537, -0.026654401794075966, 0.796583354473114, 0.6464308500289917, 0.6585281491279602, 0.22039276361465454, 0.054658010601997375, 0.26048868894577026, -0.02838563546538353, 0.34379708766937256, 0.18136657774448395, 0.2719985246658325, 0.11979959160089493, -0.6011785864830017, 0.05204099789261818, 0.08197221904993057, 0.4274998605251312, 0.3968784213066101, -0.13269728422164917, -0.25265413522720337, 0.06689441949129105, 0.4713512361049652, -0.8946718573570251, 0.13504210114479065, -0.8293877243995667, 0.04164157807826996, -0.6999143362045288, -0.2136966437101364, -0.18918371200561523, -0.02984747104346752, 0.13656021654605865, -0.5837090015411377, 0.18146058917045593, -0.2934000492095947, 0.5458621978759766, -0.24278105795383453, -0.6668712496757507, -0.6114920973777771, -0.21149961650371552, 0.929664134979248, -0.6870250701904297, 0.90724116563797, 0.544448733329773, 0.5071913003921509, -0.08033637702465057, -0.7336528897285461, -0.9813737273216248, -0.38719114661216736, -0.06387368589639664, 0.19122575223445892, 0.14979493618011475, 0.2223537415266037, 0.05158693343400955, 0.17112524807453156, -0.432835191488266, 0.05341269448399544, -0.1562991887331009, -0.7598432898521423, 0.37679892778396606, 0.006725205574184656, 0.15323445200920105, -0.7835999131202698, -0.07338462024927139, -0.11818766593933105, -0.697264552116394, 0.39104005694389343, 0.2538035213947296, 0.76243656873703, -0.2586437463760376, 0.6112043857574463, -0.40874621272087097, 0.5932729244232178, -0.22244931757450104, -0.6451930999755859, 0.48807984590530396, -0.5835999250411987, -0.15400899946689606, -0.0037733064964413643, 0.8359272480010986, 0.1718806028366089, 0.04141272231936455, -0.17763899266719818, -0.08879946917295456, -0.019287433475255966, -0.2396620362997055, -0.5652486085891724, -0.3082229197025299, 0.18518592417240143, -0.6306523084640503, -0.5872613787651062, -0.09007083624601364, -0.8232073783874512, -0.5215028524398804, -0.09278395026922226, 0.4375160336494446, -0.4313165545463562, -0.2575584948062897, -0.1733597218990326, -0.6515592932701111, 0.18746989965438843, 0.09730017930269241, -0.8832656741142273, -0.40131810307502747, 0.5749229788780212, 0.8933867812156677, -0.0028713953215628862, -0.17544487118721008, -0.6199966669082642, 0.12073951959609985, -0.18062402307987213, 0.5651914477348328, -0.8537821769714355, -0.8159359693527222, 0.19813849031925201, 0.22914089262485504, -0.24014899134635925, -0.5745320320129395, 0.8660508394241333, -0.35242360830307007, 0.4292267858982086, -0.6526207327842712, -0.42263713479042053, -0.3573020100593567, 0.43910151720046997, -0.5890617370605469, 0.9905378222465515, 0.04757625237107277, -0.4618684947490692, 0.7196742296218872, -0.7493724226951599, -0.6030352115631104, 0.2238757163286209, -0.47913965582847595, -0.28407180309295654, 0.11150480806827545, 0.5179451107978821, 0.5313177108764648, -0.07213104516267776, 0.026876265183091164, -0.32033365964889526, -0.06665084511041641, 0.33939915895462036, -0.6342993378639221, 0.7165974378585815, 0.46519240736961365, -0.12603187561035156, 0.11863695085048676, -0.9166685938835144, 0.05410350114107132, 0.02159867435693741, -0.5735273957252502, -0.5974788665771484, 0.255395770072937, 0.2078041136264801, 0.37474191188812256, 0.22321657836437225, -0.6833990216255188, 0.11524896323680878, -0.18190453946590424, 0.48992276191711426, 0.5407331585884094, -0.16870878636837006, 0.14249654114246368, -0.013372901827096939, 0.622087299823761, 0.2911607325077057, -0.0119120879098773, -0.5504600405693054, -0.5056730508804321, -0.3655572831630707, -0.6686334013938904, 0.48891037702560425, 0.6617973446846008, -1.100962519645691, 0.5030122399330139, -0.1424621045589447, -0.34731170535087585, -0.586903989315033, 0.1987459361553192, 0.16377465426921844, 0.3347242474555969, 0.18323002755641937, 0.014706841669976711, -0.4279418885707855, -0.8630993366241455, -0.24874000251293182, 0.05491510033607483, -0.30597302317619324, 0.5695251822471619, 0.24086646735668182, -0.044816549867391586, 0.9334102272987366, -0.44705691933631897, -0.44086113572120667, -0.3564830422401428, 0.3022806644439697, 0.19920310378074646, 0.13523000478744507, 0.5220562219619751, -1.0143886804580688, -0.640829861164093, -0.10554144531488419, -0.5683473348617554, -0.19366396963596344, 0.0940505862236023, 0.3824375569820404, 0.007521775085479021, 0.8360610604286194, -0.5275771021842957, 0.04028894752264023, 0.4265763461589813, -0.3448132872581482, 0.7115657329559326, -0.0430796854197979, 0.3372094929218292, -1.448266863822937, 0.1711249053478241, -0.16728682816028595, -0.16781237721443176, -0.657476007938385, 0.043432753533124924, 0.336810827255249, -0.20503628253936768, -0.4250844419002533, 0.2580989599227905, -0.3299724757671356, 0.22777925431728363, -0.4045613706111908, 0.20742098987102509, -0.030732175335288048, 0.2806013226509094, -0.11626150459051132, 1.0334410667419434, 0.5112218856811523, -0.7614567279815674, 0.33015382289886475, 0.006373793352395296, -0.39774399995803833, 0.7364155054092407, -0.3036026954650879, 0.06797459721565247, -0.06734147667884827, 0.07052154093980789, -1.2708218097686768, -0.1035674437880516, 0.10369790345430374, -0.5226296186447144, 0.14568041265010834, -0.33618223667144775, -0.7275426387786865, -0.5832232236862183, -0.6423943042755127, 0.09973328560590744, 0.15321217477321625, -0.46332812309265137, 0.580102801322937, 0.37280988693237305, -0.2506549060344696, -0.6327220797538757, -0.17800399661064148, 0.32778990268707275, -0.2729530930519104, -0.3377506136894226, 0.31978821754455566, 0.09214051067829132, 0.13335008919239044, -0.28338372707366943, 0.16048119962215424, -0.20761024951934814, 0.33460375666618347, -0.019641827791929245, 0.1347353756427765, -0.16849686205387115, 0.2576008439064026, 0.3651886284351349, -0.11404319852590561, -0.25314173102378845, -0.15753625333309174, 0.6920356750488281, 0.40228739380836487, -0.3172142803668976, -0.32826894521713257, 0.5103833675384521, 0.996722936630249, -0.45216959714889526, 0.2881109416484833, 1.0413610935211182, -0.32997745275497437, 0.34006941318511963, -0.5539373159408569, -0.27569815516471863, -0.588405966758728, 0.49431857466697693, -0.8043060898780823, -0.8303757905960083, 0.4396073818206787, -0.28900715708732605, 0.11473233997821808, 0.4115448296070099, 0.45651713013648987, -0.2564084529876709, 1.5058766603469849, 0.6737477779388428, -0.5737029910087585, 0.3973236083984375, 0.05474291369318962, 0.24002650380134583, -0.665343701839447, -0.12321925163269043, -0.7158925533294678, -0.27986404299736023, -0.6049586534500122, -0.22257018089294434, 0.5347539186477661, 0.3648682236671448, 0.36326655745506287, 0.13325126469135284, -0.24314691126346588, 0.23465129733085632, 0.7339691519737244, -0.030424216762185097, 0.12938641011714935, -0.16035975515842438, -0.7703213095664978, -0.3907015025615692, -0.4555681347846985, -0.22594711184501648, 1.2089102268218994, 0.0053993165493011475, 0.4486652612686157, 0.17661720514297485, 0.5235831141471863, 0.4034532308578491, 0.008542004972696304, -1.0439598560333252, 0.5237691402435303, -0.3130265474319458, -0.672823429107666, -0.2116318941116333, -0.043290875852108, -1.0076571702957153, 0.43785589933395386, -0.2664727568626404, -0.7319613099098206, 0.15697941184043884, -0.1750626266002655, -0.42634472250938416, 0.09011175483465195, -0.6156098246574402, 0.784716784954071, -0.0635814443230629, 0.3455316126346588, -0.43829357624053955, -0.5185676217079163, 0.1709635853767395, -0.07940090447664261, 0.41369614005088806, -0.33343884348869324, -0.23994578421115875, 0.8165026903152466, -0.44210630655288696, 0.7327970266342163, -0.5619397163391113, -0.12300345301628113, 0.12447433173656464, -0.12237295508384705, 0.4236237704753876, -0.05008358880877495, 0.17066380381584167, 0.04708966240286827, 0.06839635223150253, 0.004499072674661875, -0.49698692560195923, 0.5454860329627991, -0.3178183138370514, -0.30834317207336426, -0.25632405281066895, -0.6505853533744812, -0.18366563320159912, 0.5263940691947937, 0.3856578767299652, 0.4666489064693451, -0.10357969254255295, 0.34473082423210144, 0.2452668994665146, -0.1739887148141861, 0.700130045413971, 0.8388242125511169, -0.13652366399765015, -0.6204062104225159, 1.1822649240493774, 0.13841767609119415, -0.08596806973218918, 0.5273207426071167, 0.5256427526473999, -0.6256728768348694, -0.5943588018417358, -0.5904279947280884, 0.07594083994626999, -0.5503827929496765, -0.18373459577560425, -0.8736878633499146, 0.003824440762400627, -0.5486177802085876, -0.19997486472129822, 0.015319670550525188, -0.35672980546951294, -0.21567843854427338, 0.07686468958854675, 0.23295466601848602, 0.21744553744792938, -0.28124740719795227, 0.565199613571167, -1.0922811031341553, 0.5786136388778687, 0.46162474155426025, -0.0722372829914093, -0.2735445499420166, -0.3002144396305084, -0.28219839930534363, 0.10899384319782257, -0.37922120094299316, -1.0889238119125366, 0.43460842967033386, 0.4157598614692688, 0.6865838170051575, 0.8231604695320129, -0.0243530310690403, 0.43011659383773804, -0.4990012049674988, 1.0227725505828857, 0.17683453857898712, -0.9075998067855835, 0.5518668293952942, -0.3941802382469177, 0.4982157349586487, 0.758955717086792, 0.46667754650115967, -1.01012122631073, -0.4922456443309784, -0.2798766493797302, -0.667391300201416, 0.5056518912315369, -0.0174274742603302, 0.09978786110877991, -0.08347056061029434, 0.18104514479637146, 0.15739350020885468, 0.34568139910697937, -0.5097677707672119, -0.47878727316856384, -0.08069707453250885, -0.5617147088050842, -0.22063958644866943, -0.4957965910434723, 0.01393585093319416, -0.20810475945472717, 0.3653746545314789, -0.3273787796497345, 0.13359487056732178, 0.12031688541173935, -0.31287574768066406, 0.37034037709236145, 0.586246907711029, 0.7102110981941223, 0.17298787832260132, -0.2136431634426117, 0.19204382598400116, 0.0716981515288353, -0.9058136343955994, 0.09786839038133621, 0.41406914591789246, -0.17243321239948273, 0.5788144469261169, 0.05633867159485817, 0.3464955687522888, 0.37958192825317383, -0.7453864216804504, 0.5135334730148315, 0.06033112853765488, -0.27582409977912903, 0.01230481918901205, -0.2628193199634552, 0.09609046578407288, 0.20526213943958282, 0.7693507671356201, -0.2783704996109009, 0.3335944712162018, -0.4740304946899414, 0.3636849820613861, 0.8405948877334595, -0.41006553173065186, -0.38779759407043457, 0.35020938515663147, 0.3007729947566986, -0.4182111620903015, 0.31650254130363464, -0.2542746663093567, -0.9697405099868774, 0.2963688373565674, 0.4307851493358612, 1.0162954330444336, -0.4220261871814728, 0.13503031432628632, 0.1094600185751915, 0.256635844707489, 0.4777701795101166, 0.7319930791854858, -0.46958452463150024, -0.7813641428947449, -0.13379037380218506, -0.29822808504104614, -0.34651312232017517, 0.451296865940094, -0.43132156133651733, 0.4780871868133545, -0.20131716132164001, -0.2484336644411087, 0.38229864835739136, 0.08749201893806458, -0.4720684289932251, 0.09974303096532822, 0.3031090795993805, 0.7865861058235168, -0.7519359588623047, 0.8892557621002197, 0.5532754063606262, -0.09344272315502167, -0.5689535737037659, -0.13145367801189423, 0.4055573046207428, -0.9970954656600952, 0.49304091930389404, 0.46522510051727295, 0.08157920092344284, 0.01438542827963829, -0.35458654165267944, -0.8013081550598145, 1.0913450717926025, -0.15970830619335175, -0.3911679685115814, 0.027974780648946762, 0.2100663185119629, -0.030445003882050514, -0.05097223445773125, 0.025806905701756477, 0.6029888391494751, 0.4805293381214142, -0.12991046905517578, -1.1676939725875854, -0.2526857554912567, 0.06125663220882416, -0.5762678384780884, 0.25156697630882263, -0.19621345400810242, 0.8921259641647339, -0.049555547535419464, -0.2237943708896637, 0.10764624178409576, 0.5309364795684814, 0.4412246644496918, 0.30490630865097046, 0.9027822017669678, 0.47036945819854736, 0.8258442878723145, -0.007519289385527372, 0.7051218748092651, -0.34122878313064575, 0.09213988482952118, 0.6858731508255005, -0.20999282598495483, 0.886448085308075, 0.3461623191833496, -0.38245928287506104, 0.4700232148170471, 0.5067694783210754, 0.1632724404335022, 1.003707766532898, -0.12822401523590088, -0.6846708655357361, -0.20929738879203796, -0.19705002009868622, -0.40192240476608276, 0.8973966240882874, 0.7726972103118896, -0.3569568991661072, -0.5518960356712341, 0.3674596846103668, 0.0971045047044754, -0.31858372688293457, -0.1334451586008072, 0.6533287167549133, 0.08394667506217957, -0.3415449261665344, 0.24127131700515747, 0.2986798882484436, 1.2729436159133911, -1.083627462387085, 0.011775420047342777, -0.001648198813199997, 0.13387972116470337, 0.07789957523345947, -0.5315051078796387, -0.1365285962820053, -0.13967841863632202, -0.08684487640857697, 0.23581646382808685, 0.9005642533302307, -0.5314167141914368, -0.5027432441711426, -0.0024338182993233204, 0.7704897522926331, -0.023044075816869736, -0.511111319065094, -0.9043326377868652, -0.29744434356689453, 0.04196367785334587, 0.08962522447109222, 0.24094176292419434, 0.47723841667175293, 0.2004113346338272, 0.49169206619262695, 0.92643803358078, 0.007298750802874565, 0.10509175807237625, 0.4601573646068573, 0.6480922102928162, -0.7685085535049438, -0.9541694521903992, -0.9501878023147583, 0.20724108815193176, -0.11154340207576752, -0.2659812569618225, 1.0120878219604492, 0.7128549218177795, 0.5183113813400269, 0.013017592020332813, 1.0426528453826904, 0.07361238449811935, 0.8413763642311096, -0.48904871940612793, 0.8579732775688171, -0.6199413537979126, -0.19322142004966736, -0.4014703035354614, -0.5949872136116028, -0.12064526975154877, 0.457565575838089, 0.15323609113693237, -0.18104369938373566, 0.5742996335029602, 0.8218244910240173, -0.08509171009063721, 0.02977278269827366, 0.4770919382572174, -0.306850790977478, 0.7257612347602844, 0.1991526484489441, 0.6993482112884521, -0.336633563041687, 0.5524559617042542, -0.3497794270515442, -0.17954154312610626, -0.3564399182796478, -0.7638630867004395, -0.6729504466056824, -0.7830823659896851, -0.026536183431744576, -0.1442430019378662, -0.29404759407043457, 0.8062942624092102, 0.6816952228546143, -0.8789865970611572, -0.14695197343826294, 0.24115651845932007, 0.30359509587287903, -0.2233080267906189, -0.31418341398239136, 0.39191561937332153, -0.5522175431251526, -0.6204788684844971, 0.9192687273025513, 0.2993220090866089, 0.2116570621728897, -0.2501762807369232, 0.1624271273612976, -0.4640525281429291, -0.0235577579587698, 0.8545396327972412, 0.28313034772872925, -0.6814225912094116, -0.26441386342048645, 0.39779701828956604, -0.1406237930059433, -0.08487536758184433, 1.1965539455413818, -0.8653795719146729, 0.7484614849090576, 0.43765130639076233, 0.4039408266544342, 0.09673810005187988, -0.370708167552948, 0.6120823621749878, -0.9985496401786804, 0.4940034747123718, 0.11280728876590729, 0.4924706220626831, 0.2019815444946289, -0.07526540756225586, 0.07369790971279144, 0.6614606380462646, -0.11981406062841415, -0.7662391662597656, 0.18376509845256805, -0.9790847897529602, -0.3863619565963745, 0.9351969957351685, 0.09908588230609894, 0.1587129533290863, -0.7921772003173828, -0.33794093132019043, 0.041619181632995605, -0.22875447571277618, 0.68980872631073, 0.8405777812004089, 0.30035075545310974, -0.006131250411272049, -0.48416846990585327, 0.6823172569274902, 0.4833090901374817, -0.2944941520690918, -0.0661318451166153, 0.42119303345680237, 0.2534984052181244, 0.33456194400787354, 0.7416861653327942, -0.07150579988956451, 0.4026172161102295, -0.09519469738006592, -0.27950501441955566, -0.1204434335231781, -0.17566853761672974, -0.33730190992355347, 0.1438145935535431, 0.0039067049510777, -0.7222973704338074 ]
http://arxiv.org/abs/2406.07302v1
http://arxiv.org/pdf/2406.07302v1
BertaQA: How Much Do Language Models Know About Local Culture?
2024-06-11T14:30:34
2024-06-11T14:30:34
Julen Etxaniz, Gorka Azkune, Aitor Soroa, Oier Lopez de Lacalle, Mikel Artetxe
cs.CL
cs.CL, cs.AI, cs.LG
Large Language Models (LLMs) exhibit extensive knowledge about the world, but most evaluations have been limited to global or anglocentric subjects. This raises the question of how well these models perform on topics relevant to other cultures, whose presence on the web is not that prominent. To address this gap, we introduce BertaQA, a multiple-choice trivia dataset that is parallel in English and Basque. The dataset consists of a local subset with questions pertinent to the Basque culture, and a global subset with questions of broader interest. We find that state-of-the-art LLMs struggle with local cultural knowledge, even as they excel on global topics. However, we show that continued pre-training in Basque significantly improves the models' performance on Basque culture, even when queried in English. To our knowledge, this is the first solid evidence of knowledge transfer from a low-resource to a high-resource language. Our analysis sheds light on the complex interplay between language and knowledge, and reveals that some prior findings do not fully hold when reassessed on local topics. Our dataset and evaluation code are available under open licenses at https://github.com/juletx/BertaQA.
[ -0.47879090905189514, -0.5450704097747803, 0.6336719393730164, 0.3227711617946625, -0.09635945409536362, 0.21247610449790955, -0.5887202024459839, -0.6786452531814575, 0.45225802063941956, 0.5095646977424622, -0.43932172656059265, -0.3778036832809448, -0.5566987991333008, -0.07222327589988708, -0.23450863361358643, 1.0145578384399414, -0.19876131415367126, 0.13510923087596893, -0.4300285279750824, -0.3998035192489624, -0.302565336227417, -0.664763331413269, -0.5949123501777649, -0.24797742068767548, 0.7390270829200745, 0.5008252263069153, 0.7563629150390625, 0.15044307708740234, 0.3101326823234558, 0.16666440665721893, -0.20824061334133148, 0.10786580294370651, -0.759770393371582, 0.17210441827774048, -0.14858463406562805, -0.7253178358078003, 0.1120709627866745, -0.0856260135769844, 0.6236518621444702, 0.6350380778312683, -0.058381035923957825, 0.4459962844848633, -0.13543695211410522, 0.5261247754096985, -0.2720238268375397, 0.08522754907608032, -0.754554271697998, -0.1443544179201126, -0.4251936674118042, 0.07497049123048782, 0.025626305490732193, -0.8422220349311829, 0.4314318597316742, -0.46719422936439514, 0.15626133978366852, -0.17899885773658752, 1.0330325365066528, 0.2637186050415039, -0.664237916469574, -0.190948486328125, -0.7836887836456299, 0.8412748575210571, -0.29367250204086304, 0.21845634281635284, 0.5425150990486145, 0.3193504810333252, -0.21607482433319092, -0.483643501996994, -0.6261104345321655, -0.006519237533211708, 0.13926562666893005, -0.1684555560350418, -0.2877306044101715, -0.5752086639404297, 0.045804183930158615, 0.2634275257587433, -0.4078976809978485, 0.1349451094865799, -0.7043099999427795, -0.03369783237576485, 0.45037373900413513, -0.09085284918546677, 0.5306486487388611, -0.22980624437332153, -0.3276538550853729, 0.00772838992998004, -0.9839368462562561, 0.42747893929481506, 0.2900395691394806, 0.10110490769147873, -0.255607545375824, 0.09928838908672333, -0.07646558433771133, 0.4035724699497223, -0.4397982656955719, -0.10234944522380829, 0.36080360412597656, -0.03320443630218506, 0.259856253862381, -0.27983495593070984, 0.6567182540893555, 0.08354466408491135, 0.6716977953910828, -0.25432461500167847, 0.2097119390964508, -0.14857171475887299, 0.06119972839951515, -0.588269829750061, -0.2269572913646698, 0.33182549476623535, -0.23553963005542755, -0.03916560485959053, -0.2668580710887909, -0.270693302154541, -0.28200140595436096, -0.08889728039503098, 0.3729259967803955, -0.3888736665248871, -0.11352498084306717, 0.01674528606235981, -0.09425342828035355, 0.48329561948776245, 0.27996304631233215, -0.8506101965904236, 0.10331161320209503, 0.658063530921936, 0.7204268574714661, -0.278583288192749, -0.445198655128479, -0.03889324143528938, -0.10380809754133224, -0.4663630425930023, 0.7979900240898132, -0.540224552154541, -0.24254371225833893, 0.029388029128313065, 0.10244573652744293, 0.15340636670589447, -0.39250555634498596, 0.683638870716095, -0.7111718058586121, 0.34687408804893494, -0.8032192587852478, -0.21044719219207764, -0.3402997553348541, 0.2264862060546875, -0.8025330901145935, 1.0955321788787842, -0.05842628329992294, -0.7712675929069519, 0.402406245470047, -0.2323053777217865, -0.5576403141021729, -0.052693866193294525, -0.2644411027431488, 0.1377529501914978, 0.14429743587970734, 0.44326838850975037, 0.39888954162597656, -0.5046247839927673, 0.4195718467235565, -0.38325780630111694, -0.3807869255542755, 0.288779616355896, -0.3347892761230469, 0.9775086641311646, 0.29441675543785095, 0.062258750200271606, -0.39095228910446167, -0.6117541193962097, -0.1986476182937622, 0.19803325831890106, -0.4468161165714264, -0.5994920134544373, -0.07922685146331787, -0.16162945330142975, 0.3614697754383087, 0.48344895243644714, -0.7186001539230347, 0.23551498353481293, -0.2735958993434906, 0.3696291446685791, 0.6845402121543884, -0.16542552411556244, 0.4248255789279938, -0.6094976663589478, 0.5775641798973083, -0.29627400636672974, 0.18490445613861084, 0.1900816112756729, -0.7651344537734985, -0.7003845572471619, -0.2489374577999115, 0.5012626647949219, 0.4698363244533539, -0.9939022660255432, -0.1954260915517807, -0.4014010429382324, -0.6022495627403259, -0.7858301401138306, 0.26769036054611206, -0.11349363625049591, 0.18948985636234283, -0.03258943557739258, -0.4363565742969513, -0.350073903799057, -1.0367763042449951, -0.16531004011631012, -0.1362636834383011, -0.1854649782180786, 0.34561413526535034, 0.33938977122306824, 0.09696418792009354, 0.9723417162895203, -0.15150584280490875, -0.21803267300128937, -0.13116276264190674, 0.4495895504951477, 0.6127275824546814, 0.18761874735355377, 0.9124941229820251, -0.5821773409843445, -0.5560465455055237, 0.019129320979118347, -0.5695263147354126, -0.11092184484004974, 0.11506707221269608, -0.2374853640794754, 0.1565357744693756, -0.0886201336979866, -0.4132242202758789, -0.049962934106588364, 0.8896435499191284, -0.11470493674278259, 0.20117314159870148, -0.2973983883857727, 0.14793194830417633, -1.1675186157226562, -0.10318540781736374, -0.3166201710700989, 0.0005405402625910938, -0.5784950852394104, -0.06949328631162643, -0.015258175320923328, 0.005095277447253466, -0.5383860468864441, 0.9771811366081238, -0.28434354066848755, -0.17050041258335114, -0.08490696549415588, 0.1477067917585373, -0.0796576514840126, 0.5039710998535156, 0.4750329554080963, 0.8335155248641968, 0.5442695021629333, -0.4198800027370453, 0.23108412325382233, 0.34898942708969116, -0.81911700963974, 0.32927820086479187, -0.41290542483329773, 0.2562161386013031, -0.25686994194984436, 0.2508247494697571, -0.7967051863670349, -0.24607621133327484, -0.17403237521648407, -0.482280433177948, -0.10522323101758957, -0.2590394914150238, -0.5184437036514282, -0.274428129196167, -0.19251854717731476, 0.4800141155719757, 0.5292065739631653, -0.7172434329986572, 0.6187565326690674, 0.5250372886657715, -0.7352822422981262, -0.7856879830360413, -0.5406532883644104, 0.06938078999519348, -0.13113634288311005, -0.9477037191390991, 0.16955727338790894, -0.11788660287857056, -0.4755616784095764, -0.24728381633758545, 0.06481204181909561, -0.48838749527931213, 0.25803354382514954, -0.0038937481585890055, 0.13445213437080383, -0.2369195818901062, 0.42626142501831055, -0.09541496634483337, 0.427870512008667, 0.22179867327213287, -0.13413232564926147, 0.47345858812332153, -0.14974577724933624, -0.16939161717891693, -0.12110939621925354, 0.24736042320728302, 0.6371082067489624, -0.2605803906917572, 0.8566485047340393, 0.7186644673347473, -0.16072840988636017, -0.3507801592350006, -0.8609272837638855, -0.01810413971543312, -0.3663526475429535, 0.16634303331375122, -0.38014137744903564, -0.9450536966323853, 0.8919064998626709, 0.22966082394123077, 0.08987824618816376, 0.33668991923332214, 0.6497241258621216, -0.5593769550323486, 0.4024217128753662, 0.6995143890380859, -0.33675408363342285, 0.42605331540107727, -0.18462781608104706, 0.10767176002264023, -0.4078175127506256, -0.09815502166748047, -0.7217324376106262, -0.43610575795173645, -0.7062434554100037, -0.6736438274383545, 0.5612362027168274, -0.17830826342105865, -0.2511586844921112, 0.0291445329785347, 0.21033906936645508, 0.7564138770103455, 0.8313705921173096, -0.05512799695134163, 0.4084825813770294, 0.1194300726056099, -0.031938157975673676, -0.06888659298419952, -1.0770219564437866, -0.4799259305000305, 1.2989890575408936, 0.5078222155570984, 0.8124532103538513, 0.3716118633747101, 0.7122160196304321, 0.13177083432674408, 0.4055387079715729, -0.5979728698730469, 0.16092032194137573, -0.34459778666496277, -0.8375840187072754, -0.3583885133266449, -0.3901063799858093, -0.8159472346305847, 0.2377927154302597, -0.2404121309518814, -0.6256019473075867, 0.44997638463974, -0.17607471346855164, -0.4507323205471039, 0.47744518518447876, -0.6546190977096558, 0.6416927576065063, -0.5915191173553467, -0.4321780204772949, -0.08775809407234192, -0.5531824231147766, 0.337511271238327, -0.31675195693969727, 0.5622326731681824, -0.17649920284748077, 0.27410563826560974, 0.9028679728507996, 0.16155141592025757, 0.8136535286903381, 0.18464557826519012, -0.5451015830039978, 0.19691753387451172, 0.3022833466529846, 0.21900123357772827, 0.10946016758680344, -0.13141347467899323, 0.4628826081752777, 0.4105280339717865, -0.6324136853218079, -0.43779855966567993, 0.7415408492088318, -1.0100737810134888, -0.5821419358253479, -0.36441823840141296, -0.8215444087982178, -0.4687534272670746, -0.046720076352357864, 0.026681117713451385, 0.22515253722667694, -0.3089636564254761, 0.42117422819137573, 0.9434977173805237, -0.49445056915283203, 0.3093114495277405, 0.7113097906112671, -0.23189306259155273, -0.04625776782631874, 0.8005573749542236, 0.24456559121608734, 0.18548759818077087, 0.27554038166999817, 0.061424341052770615, -0.2037781924009323, -0.2552624046802521, -0.2562795877456665, 0.4372759163379669, -0.7861350774765015, 0.12638534605503082, -0.312845915555954, -0.060279183089733124, -0.26869839429855347, -0.020413542166352272, -0.2653225064277649, -0.5052661299705505, -0.00925788190215826, -0.028945110738277435, 0.3186706602573395, 0.9494839906692505, -0.19847479462623596, 0.07748255133628845, -0.917504608631134, 0.18948407471179962, 0.6702654361724854, 0.36135199666023254, -0.01595218852162361, -0.5750164985656738, -0.17492243647575378, -0.0832422748208046, 0.10118184983730316, -0.7895347476005554, 0.285569429397583, -0.026059044525027275, 0.5971792936325073, 0.2552354037761688, 0.08210412412881851, 0.22875216603279114, -0.30083492398262024, 0.7596969604492188, -0.27764660120010376, -0.6654683351516724, 0.2366759479045868, -0.4887537658214569, 0.41725921630859375, 0.42950496077537537, 0.9673681855201721, -0.7165951132774353, -0.5497968792915344, -0.5317952036857605, -0.6377673745155334, 0.7124168872833252, 0.05854964256286621, 0.6031500697135925, -0.09455717355012894, 0.11406969279050827, 0.26729774475097656, 0.15329712629318237, -0.9408718943595886, -0.011489072814583778, 0.17509280145168304, 0.15253391861915588, 0.04950713738799095, -0.39362454414367676, -0.27353715896606445, -0.3008977472782135, 0.8579989075660706, -0.04960693418979645, 0.05206552520394325, -0.020374629646539688, -0.1275566965341568, -0.0629633367061615, 0.4095287024974823, 0.28125903010368347, 0.9657903909683228, -0.4061623215675354, -0.21276883780956268, 0.4601879417896271, -0.36255717277526855, -0.19421878457069397, -0.012230386957526207, -0.20945078134536743, 0.02674712799489498, 0.38498401641845703, 0.6856757998466492, 0.18043068051338196, -0.5496609210968018, 0.4600015878677368, -0.30021733045578003, -0.12298011779785156, -0.3932369351387024, -0.35902929306030273, 0.17146538197994232, 0.35257434844970703, 0.4259404242038727, -0.33213990926742554, -0.39266878366470337, -0.8457645177841187, 0.008683839812874794, 0.3627396523952484, -0.11472824215888977, -0.13597384095191956, 0.359870582818985, 0.3632679581642151, 0.15199407935142517, 0.48413097858428955, 0.1144666075706482, -0.6867026090621948, 0.642230212688446, 0.16172707080841064, 0.48162180185317993, -0.07618323713541031, 0.4446164667606354, 0.28421613574028015, 0.4086739718914032, 0.07708544284105301, 0.6912399530410767, -0.1449950486421585, -1.0874927043914795, -0.543441891670227, -0.9349581599235535, -0.5645594000816345, 0.054688096046447754, -0.5113608241081238, 0.12360172718763351, -0.23666079342365265, -0.14262111485004425, -0.26765111088752747, -0.015025148168206215, -0.9465873837471008, 0.013580930419266224, 0.3878314197063446, 0.9484111070632935, -1.1126410961151123, 1.1821783781051636, 0.6342195868492126, -0.4557514786720276, -0.5741353034973145, 0.07480443269014359, -0.39106351137161255, -0.8728399872779846, 0.9171846508979797, -0.36779603362083435, 0.012837231159210205, -0.35952332615852356, -0.45041096210479736, -1.1360200643539429, 0.8972926139831543, 0.4791591763496399, -0.37161773443222046, -0.06092590466141701, 0.04604853689670563, 0.781827986240387, -0.20343871414661407, 0.2746375799179077, 0.6663945913314819, 0.3709934949874878, 0.14717012643814087, -1.2229703664779663, -0.3640943169593811, 0.06937278807163239, -0.10192769020795822, -0.05553017929196358, -0.8735682368278503, 0.9211435317993164, -0.25963765382766724, -0.07559017837047577, 0.10827304422855377, 0.6434343457221985, -0.11330971121788025, -0.19811506569385529, 0.1198941096663475, 0.5386802554130554, 0.9982763528823853, -0.3307502269744873, 1.0706396102905273, -0.38393929600715637, 0.2220662385225296, 1.2730449438095093, -0.3911280930042267, 1.1465644836425781, 0.5161228179931641, -0.2868547737598419, 0.8146637082099915, 0.6672364473342896, 0.2526051998138428, 0.31662172079086304, 0.2027166783809662, -0.15835599601268768, -0.36684736609458923, -0.34141746163368225, -0.33975061774253845, 0.7385943531990051, 0.16915562748908997, -0.1605638712644577, -0.28676262497901917, 0.05085506662726402, 0.20901773869991302, -0.034494925290346146, -0.22771574556827545, 0.7163370847702026, -0.044289711862802505, -0.8174034357070923, 0.6866576671600342, -0.328364759683609, 0.6184203624725342, -0.7853184938430786, 0.09583449363708496, -0.6465446949005127, -0.3249146044254303, 0.060851551592350006, -0.8915346264839172, 0.09648392349481583, 0.144359290599823, -0.2733076214790344, -0.27412599325180054, 0.47928375005722046, -0.49498605728149414, -0.3949127197265625, 0.33508622646331787, 0.8159543871879578, 0.23618429899215698, 0.13118188083171844, -0.1849985420703888, -0.0998745784163475, -0.03563447669148445, 0.1363297700881958, 0.2860584259033203, 0.6009337902069092, -0.30801641941070557, 0.8024028539657593, 0.591772198677063, 0.3519646227359772, 0.05951990932226181, 0.30023398995399475, 0.7085434198379517, -0.46369457244873047, -0.41980433464050293, -0.33032846450805664, 0.015928000211715698, 0.12076074630022049, -0.3223947584629059, 0.597077488899231, 0.16191533207893372, 1.1647557020187378, -0.08872348070144653, 0.8355145454406738, -0.09358739852905273, 0.625751256942749, -0.5491034388542175, 0.9386906027793884, -0.5457409620285034, 0.28498315811157227, 0.12300929427146912, -0.8278602361679077, 0.033719103783369064, 0.39608678221702576, -0.774147629737854, -0.19586633145809174, 0.6288191676139832, 0.5659160017967224, 0.12132696062326431, 0.15437395870685577, 0.20308896899223328, 0.4982888996601105, -0.009937748312950134, 0.687023937702179, 1.1447149515151978, -0.04321734234690666, 0.5687453746795654, -0.4307197034358978, -0.2148323506116867, 0.23248712718486786, -0.890079140663147, -0.9230664372444153, -0.6144798994064331, 0.08801574259996414, -0.0031086469534784555, 0.033321406692266464, 0.9990130662918091, 0.5769535899162292, -0.8675740957260132, -0.4861890375614166, 0.7830756306648254, 0.3792456388473511, 0.07451225072145462, -0.15364772081375122, 0.2853826880455017, -0.3587528169155121, -0.7678530216217041, 0.29411327838897705, -0.1379823088645935, -0.1727764904499054, -0.3651018440723419, 0.09570448845624924, -0.3544643521308899, 0.22499778866767883, 0.5296295881271362, 0.47341999411582947, -0.7904859781265259, -0.3255743980407715, -0.09015735983848572, 0.09115426242351532, 0.04801473766565323, 0.6517899036407471, -0.9184722304344177, 0.4858437180519104, 0.7218019366264343, 0.830949604511261, 0.5678666234016418, -0.20778430998325348, 0.8291287422180176, -0.9158703088760376, -0.004808083642274141, 0.1777620166540146, 0.5446153283119202, 0.3737526535987854, -0.10413863509893417, 0.39616307616233826, -0.013794205151498318, -0.4353691637516022, -0.41125473380088806, 0.05395864322781563, -0.5698705911636353, -0.3716549575328827, 1.165534496307373, -0.10894596576690674, -0.32646799087524414, -0.17892029881477356, -0.1179017648100853, -0.09347720444202423, -0.2502075135707855, 1.1050570011138916, 1.1819279193878174, 0.11808747053146362, 0.062087178230285645, -0.8158432841300964, 0.5810667872428894, 0.6091972589492798, -0.5574139356613159, -0.15782524645328522, 0.3847936987876892, 0.70721036195755, 0.21746206283569336, 0.7357364296913147, 0.04123225808143616, 0.3963939845561981, -0.5755783915519714, 0.09341537952423096, 0.3658027946949005, -0.5435282588005066, -0.36665311455726624, 0.14123445749282837, 0.270577609539032, 0.057125676423311234 ]
http://arxiv.org/abs/2406.07296v1
http://arxiv.org/pdf/2406.07296v1
Instruct Large Language Models to Drive like Humans
2024-06-11T14:24:45
2024-06-11T14:24:45
Ruijun Zhang, Xianda Guo, Wenzhao Zheng, Chenming Zhang, Kurt Keutzer, Long Chen
cs.RO
cs.RO, cs.CL
Motion planning in complex scenarios is the core challenge in autonomous driving. Conventional methods apply predefined rules or learn from driving data to plan the future trajectory. Recent methods seek the knowledge preserved in large language models (LLMs) and apply them in the driving scenarios. Despite the promising results, it is still unclear whether the LLM learns the underlying human logic to drive. In this paper, we propose an InstructDriver method to transform LLM into a motion planner with explicit instruction tuning to align its behavior with humans. We derive driving instruction data based on human logic (e.g., do not cause collisions) and traffic rules (e.g., proceed only when green lights). We then employ an interpretable InstructChain module to further reason the final planning reflecting the instructions. Our InstructDriver allows the injection of human rules and learning from driving data, enabling both interpretability and data scalability. Different from existing methods that experimented on closed-loop or simulated settings, we adopt the real-world closed-loop motion planning nuPlan benchmark for better evaluation. InstructDriver demonstrates the effectiveness of the LLM planner in a real-world closed-loop setting. Our code is publicly available at https://github.com/bonbon-rj/InstructDriver.
[ -0.17227883636951447, -0.5811439156532288, 0.8014696836471558, 0.0196610726416111, -0.1609349399805069, -0.06554852426052094, -0.4191339313983917, -0.3594713807106018, -0.17304591834545135, 0.6316918134689331, -0.9254837036132812, -0.39567798376083374, 0.025734705850481987, -0.2532772421836853, -0.29900044202804565, 0.6741788387298584, -0.10315746068954468, 0.16935038566589355, -0.13839995861053467, 0.3107703924179077, -0.4776577949523926, -0.16755163669586182, -0.3078811764717102, -0.5134193897247314, 0.16142289340496063, 0.5436539649963379, 0.7813310027122498, 0.7882826924324036, 0.23568187654018402, 0.27586475014686584, 0.04639042541384697, 0.34721285104751587, -0.36390841007232666, -0.1998451203107834, -0.5459141731262207, -0.03548145666718483, -0.2476523518562317, -0.25442445278167725, 0.4859152138233185, 0.6443191170692444, -0.4194055199623108, -0.17383259534835815, -0.16115522384643555, 0.4051492512226105, -0.6571416854858398, 0.2940162718296051, -0.4275166392326355, 0.03325232118368149, -0.06791816651821136, -0.2693811357021332, -0.34792304039001465, -0.750077486038208, -0.04654233902692795, -0.45277899503707886, -0.008664491586387157, 0.2853212058544159, 0.5567814111709595, 0.45515984296798706, -0.5273061990737915, -0.322459876537323, -1.0791041851043701, 0.5047085881233215, -0.8384146690368652, 0.3400689363479614, -0.001344990567304194, 0.5225738286972046, -0.6385543942451477, -0.19574543833732605, -0.9714526534080505, 0.0007824780186638236, -0.12098121643066406, 0.11355973780155182, 0.21498136222362518, 0.3622029721736908, 0.28197088837623596, 0.0722815990447998, -0.768831729888916, 0.397175669670105, -0.3192659020423889, 0.030380044132471085, 0.8506008982658386, 0.5192069411277771, 0.06379369646310806, 0.39970484375953674, -0.4153116047382355, -0.3494396507740021, -0.8087447285652161, 0.2753535509109497, 0.2666388154029846, 0.19629117846488953, -0.20884084701538086, 0.4972229599952698, -0.3530891537666321, 0.8077784776687622, 0.23802287876605988, -0.32057109475135803, 0.19658499956130981, -0.1112823560833931, -0.2298445701599121, 0.35864028334617615, 0.8374444842338562, 0.651408851146698, 0.5467472076416016, -0.36055871844291687, -0.426963746547699, -0.046517010778188705, 0.4067237377166748, -0.7912766337394714, -0.24134773015975952, -0.026272304356098175, 0.08570816367864609, 0.08235559612512589, 0.3397402763366699, -0.8804433941841125, -0.1933700144290924, -0.7330730557441711, 0.5097544193267822, -0.5707637071609497, -0.12994851171970367, 0.6522406339645386, 0.28345927596092224, 0.8251644372940063, 0.2571885585784912, -1.2219358682632446, 0.3535267114639282, 0.8945188522338867, 0.5760563015937805, -0.01642238162457943, -0.5531916618347168, -0.5808767676353455, 0.6812355518341064, -0.38045811653137207, 0.6986470222473145, -0.23415479063987732, -0.36092376708984375, 0.18830479681491852, 0.018046727403998375, -0.10045299679040909, -0.49567821621894836, 0.38808536529541016, -0.35500916838645935, 0.07086391746997833, 0.14892517030239105, -0.7416179776191711, -0.4737319350242615, 0.03935045376420021, -0.30440154671669006, 0.3947043716907501, 0.15428464114665985, -0.08147177845239639, 0.4234677851200104, -0.963771641254425, -1.2423219680786133, 0.13357746601104736, -0.2673293650150299, -0.3345385789871216, -0.1904989778995514, 0.25838926434516907, 0.7946988940238953, -0.050862330943346024, 0.6311988234519958, 0.06880547851324081, -0.42844703793525696, 0.21496500074863434, -0.2279144823551178, 0.7233858108520508, -0.2557770013809204, -0.4779721200466156, 0.6916239857673645, -0.47299012541770935, 0.04625771939754486, -0.10123816132545471, -0.3929542899131775, 0.13974009454250336, 0.11177698522806168, -0.13931655883789062, 0.2856025695800781, -0.03938809409737587, -0.5387907028198242, 0.2812413275241852, -0.7498723268508911, 0.46104946732521057, 1.0196032524108887, 0.04670286551117897, 0.6323975324630737, -0.29567012190818787, 0.687366783618927, -0.3013533651828766, 0.19881224632263184, 0.053010255098342896, -0.39943835139274597, -0.6392678618431091, 0.3425387144088745, -0.4100514352321625, 0.6732643842697144, -0.5929539799690247, 0.7086876630783081, -0.45660659670829773, -0.2812885642051697, -0.4509950578212738, 0.03586171939969063, 0.4538489282131195, 0.4660842716693878, 0.34698471426963806, 0.2716394364833832, -0.18385156989097595, -0.5766410827636719, 0.026685960590839386, 0.00633156206458807, -0.12436918169260025, 0.05755849555134773, 0.5060199499130249, -0.46201205253601074, 0.9047333598136902, -0.5645363330841064, -0.17575474083423615, -0.42382192611694336, 0.08706966042518616, -0.008741069585084915, 0.6188389658927917, 0.3013363182544708, -0.6606459021568298, -0.31721654534339905, 0.18225610256195068, -0.48075318336486816, 0.09405521303415298, -0.4835294783115387, -0.3987329602241516, 0.03927416354417801, 0.6626073718070984, -0.3649534583091736, 0.5106076598167419, 0.43945345282554626, -0.3429933190345764, 0.4658632278442383, -0.5347759127616882, -0.27096110582351685, -0.6562703251838684, -0.30771467089653015, -0.08279482275247574, -0.4386610984802246, -0.31863832473754883, 0.024825263768434525, 0.12630990147590637, 0.030937641859054565, -0.38046836853027344, 0.3608441650867462, -0.1907912939786911, -0.06711214780807495, -0.3086034953594208, -0.1266552209854126, -0.4336279332637787, 0.6267011165618896, 0.10517672449350357, 1.0082494020462036, 0.5158984661102295, -0.9697699546813965, 0.41088220477104187, 0.3172718286514282, -0.7477245330810547, 0.298977255821228, -0.4492107927799225, 0.2044166773557663, -0.25601333379745483, 0.06416409462690353, -0.5825565457344055, -0.5991811752319336, 0.2574734091758728, 0.24922430515289307, 0.38859403133392334, -0.10062671452760696, -0.731281578540802, -0.20578935742378235, 0.2053333967924118, 0.025841768831014633, 0.6847904324531555, -0.7826586365699768, 0.7373759746551514, 0.5665723085403442, 0.2212279736995697, 0.2627369463443756, -0.5449283123016357, -0.046500593423843384, -0.3656199276447296, -0.680829644203186, 0.5764537453651428, -0.346356600522995, -0.32863175868988037, -0.320537805557251, 0.2968936264514923, 0.012293746694922447, 0.0013728158082813025, 0.6052674055099487, 0.19026882946491241, 0.022595638409256935, 0.062435876578092575, 0.2750932276248932, -0.34653785824775696, 0.3805042803287506, -0.1690552830696106, 0.6869863271713257, -0.011192905716598034, -0.24118058383464813, -0.9202759265899658, 0.20448200404644012, 0.6056991815567017, -0.3230741322040558, 0.4072052836418152, 0.28892043232917786, 0.0860835388302803, -0.3479585647583008, -0.046507254242897034, -0.4291040003299713, -0.5632494688034058, 0.2479352504014969, -0.234634667634964, -0.5700764656066895, -0.1402454674243927, -0.5155097246170044, 0.23169374465942383, 0.04986487701535225, 0.6155102252960205, -0.375516802072525, 0.9052053093910217, 0.8135039806365967, 0.07852967083454132, 0.4163774847984314, -0.2144378274679184, 0.02406124211847782, -0.5492329001426697, -0.49869289994239807, 0.04762164130806923, -0.35206639766693115, -0.3660810887813568, -0.28551170229911804, 0.5274569988250732, -0.4555775225162506, -0.6021801829338074, 0.2654171586036682, -0.41024652123451233, 0.6616165041923523, 0.47599223256111145, 0.24127909541130066, -0.04173537343740463, -0.34141871333122253, 0.14761967957019806, 0.12896376848220825, -0.6927505135536194, -0.4438745081424713, 0.6402400135993958, -0.07699421793222427, 0.9347294569015503, 0.12265635281801224, 0.5394601821899414, -0.10769476741552353, 0.1641002744436264, -0.8580990433692932, 0.7857989072799683, -0.017690429463982582, -0.28621792793273926, -0.27429044246673584, -0.42830055952072144, -0.7769595980644226, -0.12565940618515015, -0.30350765585899353, -0.5680035352706909, 0.033952053636312485, 0.26852449774742126, -0.5848438739776611, 0.2849687933921814, -0.5105688571929932, 0.9537879228591919, -0.9277217984199524, -0.22016039490699768, -0.3593485653400421, -0.8477531671524048, 0.3123069703578949, 0.11576145142316818, 0.23063720762729645, -0.1458020806312561, 0.21570464968681335, 0.5890105962753296, -0.5455896854400635, 0.8733168244361877, -0.12145238369703293, -0.05176568776369095, 0.10200849920511246, 0.12569278478622437, 0.643311619758606, -0.2992686629295349, -0.0365181639790535, -0.2134644240140915, -0.48686179518699646, -0.012407570146024227, -0.6948157548904419, 0.48168718814849854, -0.5189771056175232, -0.4358459413051605, -0.14223064482212067, -0.710722029209137, -0.0561147965490818, 0.056577764451503754, 0.2268831431865692, 0.3594774007797241, -0.08911450207233429, -0.1984499990940094, 0.5818334221839905, -0.08988181501626968, 0.646702766418457, 0.39973312616348267, -0.4675569534301758, -0.19389225542545319, 0.7671056389808655, -0.20844747126102448, 0.49418821930885315, 0.6760129928588867, 0.5528083443641663, -0.290802538394928, -0.5193151831626892, -0.7480459213256836, 0.13630256056785583, -0.48629942536354065, -0.02481519989669323, -0.3001856207847595, 0.02285761572420597, -0.24270479381084442, -0.6032336354255676, -0.43069249391555786, -0.08208288252353668, -0.16019511222839355, -0.12566642463207245, 0.49666252732276917, 0.8366608023643494, 0.012390274554491043, 0.7404067516326904, -0.3254493474960327, 0.052154865115880966, 0.44737061858177185, 0.058404043316841125, -0.1202516257762909, -0.35469502210617065, -0.32273170351982117, 0.11388751864433289, -0.2063712477684021, -0.4681091904640198, 0.4550531804561615, 0.14749248325824738, 0.40063178539276123, 0.7359579205513, 0.3075661361217499, 1.014450192451477, -0.6339021325111389, 0.21901023387908936, 0.051012396812438965, -0.7594219446182251, 0.6512894630432129, -0.11779157817363739, 0.5491697788238525, 0.731333315372467, 0.33718448877334595, -0.23528948426246643, -0.11378591507673264, -0.10257143527269363, -0.7903034687042236, 0.5409543514251709, 0.004046111833304167, -0.0433373898267746, 0.3313370645046234, 0.5979227423667908, 0.15999658405780792, 0.03776867315173149, -0.5524832606315613, 0.13582132756710052, 0.04153122752904892, -0.2741902470588684, -0.055130209773778915, -0.029179835692048073, 0.1850295066833496, -0.506956160068512, 0.5804059505462646, -0.16238820552825928, -0.07688751071691513, -0.12811638414859772, 0.04925720766186714, -0.10429105162620544, 0.08959037810564041, 0.8670641779899597, 0.6777926683425903, -0.19905833899974823, 0.06019192188978195, 0.02184273861348629, -0.3458805978298187, 0.2806229591369629, -0.2756011188030243, -0.535687267780304, -0.4476805031299591, 0.259845495223999, 0.5251144766807556, 0.53050297498703, -1.0239546298980713, 0.3403698205947876, 0.10746566206216812, -0.00755086075514555, -0.7100701332092285, 0.7140894532203674, -0.09693345427513123, 0.3761620819568634, -0.21226614713668823, 0.03353922814130783, -0.13976016640663147, -0.5793458223342896, -0.013979322277009487, 0.1339104324579239, -0.6886162161827087, -0.5118883848190308, 0.8282746076583862, 0.23820729553699493, -0.5035600066184998, 0.8014988303184509, -0.6307482719421387, -0.6149771809577942, 0.30854958295822144, 0.5956436395645142, 0.9006452560424805, -0.16782428324222565, -0.13341647386550903, 0.4735199213027954, 0.24432902038097382, -0.15231281518936157, 0.559151828289032, 0.059460222721099854, -0.8033353090286255, -0.7014929056167603, -0.44033199548721313, -0.2787879705429077, -0.19612616300582886, -0.46915724873542786, 0.20846755802631378, -0.6756005883216858, 0.30163243412971497, 0.01157492958009243, -0.4099172055721283, -0.3938405215740204, 0.07885410636663437, -0.15222720801830292, 0.5576083660125732, -0.47841042280197144, 0.9575160145759583, 0.7312853932380676, -0.32751187682151794, -0.8181818127632141, 0.3229779601097107, 0.16774402558803558, -0.49783143401145935, 0.6470940113067627, 0.21701361238956451, -0.6350652575492859, -0.07683156430721283, -0.8552253842353821, -0.4119943380355835, 1.2000176906585693, 0.44633689522743225, -0.9043845534324646, -0.1264064908027649, 0.052506402134895325, 0.1824144423007965, -0.5366847515106201, -0.4474714994430542, 0.3936948776245117, 0.5346735119819641, 0.3252502381801605, -0.7432445287704468, 0.0864546075463295, 0.31325358152389526, -0.26062723994255066, 0.4523983895778656, -0.44727298617362976, 0.690987229347229, -0.5390501618385315, -0.39724308252334595, 0.14015613496303558, 0.5450779795646667, -0.012889832258224487, 0.08880040049552917, 0.5656154751777649, 0.4980393946170807, 0.6962920427322388, 0.2076258659362793, 1.0756887197494507, -0.2591302692890167, -0.09002473950386047, 1.3785974979400635, -0.45495712757110596, 0.8023003935813904, 0.28600624203681946, -0.11872173100709915, 0.6759767532348633, 0.20523160696029663, 0.11916442960500717, 0.7610893249511719, 0.10052761435508728, -0.28482839465141296, -0.5930846333503723, 0.050409041345119476, 0.23921732604503632, 0.8689201474189758, 0.28716564178466797, -0.03415803611278534, -0.06513109803199768, 0.07440188527107239, 0.2242312878370285, 0.43717172741889954, -0.43119606375694275, 0.9883586168289185, -0.28458186984062195, -0.4864782989025116, 0.20075851678848267, 0.07258972525596619, 0.533648669719696, -0.4735252559185028, -0.19058111310005188, 0.1609601378440857, 0.5652735829353333, -0.1561684012413025, -1.1006860733032227, 0.3370291590690613, -0.2715606093406677, -0.08397545665502548, -0.41282787919044495, 0.2230985313653946, -0.44478118419647217, -0.42756718397140503, 0.1572289764881134, -0.024323947727680206, 0.27766314148902893, -0.018816223368048668, -0.16812089085578918, -0.31813716888427734, 0.2887917160987854, 0.42232054471969604, 0.14280562102794647, 0.5202934145927429, -0.048239052295684814, 0.9323477149009705, 0.5511347651481628, -0.0947631224989891, -0.046579424291849136, -0.17387805879116058, 0.8401275277137756, -1.017100214958191, -0.6271210312843323, -0.9952003359794617, 0.5408313274383545, 0.12817126512527466, -0.3835819363594055, 0.5648725628852844, 0.7947710156440735, 0.9470677971839905, -0.08924051374197006, 0.4242129325866699, 0.27322131395339966, 0.25763997435569763, -1.0559937953948975, 0.6118560433387756, -0.2468721568584442, 0.18166562914848328, 0.03590571880340576, -0.5680721402168274, -0.24334265291690826, 0.9010719060897827, -0.4520975649356842, -0.25619301199913025, 0.1191401258111, 1.0314881801605225, -0.34469130635261536, -0.044733915477991104, 0.3632221817970276, 0.12134523689746857, 0.4587188959121704, 0.7613712549209595, 0.8091283440589905, 0.12167483568191528, 0.36856499314308167, -0.5795981287956238, -0.17588622868061066, -0.25157231092453003, -0.7912900447845459, -0.8620600700378418, -0.38857486844062805, -0.2686659097671509, 0.08007228374481201, 0.08077318966388702, 1.1721007823944092, 0.972933828830719, -0.5826055407524109, -0.6485487222671509, -0.47522374987602234, 0.18376901745796204, -0.20748551189899445, -0.22717295587062836, 0.20365911722183228, -0.046317532658576965, -0.5336941480636597, 0.8113438487052917, 0.4660978615283966, 0.2946288287639618, -0.4943581819534302, -0.6315538883209229, -0.138514444231987, -0.334769606590271, 0.47834137082099915, 0.1736241728067398, -0.5692868828773499, -0.21896272897720337, -0.2902979254722595, 0.04024529457092285, 0.04389588162302971, 0.939120888710022, -0.8212139010429382, 0.4764030873775482, 0.00876462273299694, 0.320644348859787, 0.5739854574203491, 0.019911155104637146, 0.9060376882553101, -0.29172483086586, 0.33173704147338867, 0.3534059226512909, 0.24367626011371613, 0.23516085743904114, -0.3633652925491333, 0.543858528137207, -0.2966000437736511, -0.8317172527313232, -0.18196363747119904, 0.5696130394935608, -0.9784879088401794, -0.19099931418895721, 1.0773440599441528, 0.14162062108516693, -0.4046168923377991, -0.2077384740114212, -0.25492435693740845, -0.05207514762878418, -0.594379186630249, 0.7119848728179932, -0.22929224371910095, -0.417264461517334, -0.3566834628582001, -0.5579379796981812, 0.33936139941215515, -0.23676466941833496, -0.9479724764823914, 0.16987374424934387, 0.5560618042945862, -0.10619670897722244, -0.19415941834449768, 0.08903010189533234, 0.37360066175460815, 0.2914917767047882, -0.24674884974956512, 0.25138360261917114, -0.05212097615003586, -0.2775246500968933, -0.3165762722492218, -0.24695450067520142, -0.1986129879951477, -0.06781534850597382 ]
http://arxiv.org/abs/2406.07291v1
http://arxiv.org/pdf/2406.07291v1
Joint Learning of Context and Feedback Embeddings in Spoken Dialogue
2024-06-11T14:22:37
2024-06-11T14:22:37
Livia Qian, Gabriel Skantze
cs.CL
cs.CL, cs.AI, cs.LG
Short feedback responses, such as backchannels, play an important role in spoken dialogue. So far, most of the modeling of feedback responses has focused on their timing, often neglecting how their lexical and prosodic form influence their contextual appropriateness and conversational function. In this paper, we investigate the possibility of embedding short dialogue contexts and feedback responses in the same representation space using a contrastive learning objective. In our evaluation, we primarily focus on how such embeddings can be used as a context-feedback appropriateness metric and thus for feedback response ranking in U.S. English dialogues. Our results show that the model outperforms humans given the same ranking task and that the learned embeddings carry information about the conversational function of feedback responses.
[ -0.3451122045516968, -0.4548082649707794, 0.6355096697807312, 0.2016124129295349, -0.29109328985214233, 0.07616283744573593, -0.5399610996246338, -0.2667512595653534, 0.45195406675338745, 0.25258132815361023, -0.3627951443195343, -0.2951871156692505, -0.5390128493309021, 0.10560513287782669, 0.02791210450232029, 1.106653094291687, 0.17334239184856415, 0.5613076686859131, -0.4648279845714569, -0.5100983381271362, -0.7059955596923828, -0.6153954863548279, -0.5321804881095886, -0.3137376010417938, 0.7264731526374817, 0.42826950550079346, 0.49642589688301086, 0.0010054707527160645, 0.15620379149913788, 0.3589458763599396, 0.1671648919582367, -0.276720255613327, -0.46538397669792175, 0.32156145572662354, -0.3862152397632599, -0.49284136295318604, 0.014259075745940208, 0.20216451585292816, 0.8388881683349609, 0.9860793948173523, -0.2037491798400879, -0.09563782066106796, 0.7052392363548279, 0.29007595777511597, -0.6286931037902832, 0.09202072769403458, -0.0029241577722132206, 0.002660763217136264, 0.2997930347919464, -0.414305180311203, -0.4605481028556824, -0.3079569935798645, 0.5277522802352905, -0.543239951133728, 0.0007810579263605177, 0.16609705984592438, 0.3722682297229767, 0.19544759392738342, -0.3075045347213745, -0.553311288356781, -0.7294332385063171, 0.9018123149871826, -0.616516649723053, 0.5952295064926147, 0.16710752248764038, 0.3590875267982483, 0.10123765468597412, -0.6006211042404175, -0.3468118906021118, -0.3216153383255005, -0.4090571701526642, 0.3528297543525696, 0.1376483291387558, 0.004019127227365971, -0.01788308471441269, 0.1047012060880661, -0.14803899824619293, 0.05516272410750389, -0.3772171139717102, -0.1756933331489563, 0.36340218782424927, 0.25330159068107605, -0.0038298601284623146, -0.17817722260951996, -0.24613095819950104, -0.29739880561828613, -0.48092469573020935, 0.44135573506355286, 0.16602212190628052, 0.5679768919944763, -0.33966585993766785, 0.1554178148508072, 0.028434645384550095, 0.37135496735572815, -0.010124564170837402, -0.19405484199523926, 0.20904850959777832, -0.26856687664985657, -0.04251750558614731, -0.1405995488166809, 0.5111057162284851, 0.5132227540016174, -0.1503526270389557, -0.23671816289424896, -0.2312259078025818, -0.020173242315649986, 0.3014228641986847, -0.7102377414703369, -0.1495593637228012, -0.03591572865843773, -0.4960690438747406, 0.01750902272760868, 0.2588112950325012, -0.613990843296051, 0.01743999309837818, -0.22454777359962463, 0.437288761138916, -0.052102647721767426, 0.03495842590928078, -0.23658961057662964, -0.21940003335475922, 0.046005431562662125, 0.4501476585865021, -0.7191591262817383, 0.6777212619781494, 0.5232648253440857, 0.6872721314430237, -0.0774109736084938, -0.313618540763855, -0.714487612247467, -0.006293291226029396, -0.22913958132266998, 0.5325934290885925, -0.8195995688438416, -0.7803720235824585, 0.15637318789958954, 0.20191892981529236, -0.024514108896255493, -0.6148465871810913, 0.22284922003746033, -0.3497849702835083, 0.45609280467033386, -0.3871988356113434, -0.47687384486198425, -0.20739541947841644, 0.12732134759426117, -0.5256913304328918, 0.39920082688331604, 0.16042868793010712, -0.7947939038276672, 0.33594486117362976, -0.3315311372280121, -0.3013102412223816, -0.0069951643235981464, -0.34809058904647827, -0.30816930532455444, 0.13800573348999023, 0.1450076699256897, 0.5825899243354797, -0.08139178156852722, -0.0275169238448143, -0.3835829794406891, -0.7499802112579346, 0.31450265645980835, -0.21603237092494965, 0.36911460757255554, 0.05808187648653984, -0.39713427424430847, -0.0382617749273777, -0.46288567781448364, 0.006168168969452381, -0.07510512322187424, -0.6003849506378174, -0.6561442017555237, -0.024082593619823456, -0.20266538858413696, 0.061300527304410934, -0.16437102854251862, -0.6526755094528198, -0.1493801474571228, -0.3751351535320282, 0.4960176348686218, 0.5269834399223328, 0.24452699720859528, 0.5886054635047913, -0.25409701466560364, 0.4442025125026703, 0.19017189741134644, -0.2882465720176697, -0.19376510381698608, -0.2792780101299286, -0.6479830145835876, 0.05089094489812851, 0.385454922914505, 0.4237489402294159, -0.5306345224380493, 0.2343079000711441, -0.21792195737361908, -0.07754866033792496, -0.5867640972137451, 0.09837860614061356, 0.8473082184791565, 0.31762373447418213, 0.28025710582733154, -0.7121650576591492, -0.45579320192337036, -0.8683091998100281, -0.09967417269945145, -0.24357236921787262, -0.19159509241580963, 0.8103107213973999, 0.4105893075466156, -0.02725370042026043, 0.6756648421287537, -0.3864148259162903, -0.0924883782863617, -0.19838428497314453, 0.08134382963180542, -0.104746013879776, 0.37047499418258667, 0.5433521270751953, -0.5640689730644226, -0.2908702492713928, -0.3741290271282196, -0.3818430006504059, -0.02890600450336933, 0.2108808010816574, 0.15221041440963745, -0.021167634055018425, 0.5913143157958984, -0.03637951985001564, 0.3108537793159485, 0.6858682036399841, -0.2369375377893448, 0.11745445430278778, -0.006376351695507765, 0.4651595950126648, -1.3125780820846558, -0.12731380760669708, -0.3022632598876953, -0.4715491235256195, -0.24051648378372192, -0.11279383301734924, -0.1319894939661026, -0.22499242424964905, -0.5046498775482178, 0.4259554147720337, -0.2566416263580322, -0.39928531646728516, -0.04253854602575302, 0.5610359311103821, 0.07889523357152939, 0.8275159597396851, 0.1337449848651886, 0.8194747567176819, -0.016913508996367455, -0.6816509366035461, 0.15839864313602448, 0.13740257918834686, -0.24281586706638336, 0.7435388565063477, -0.87333083152771, 0.20665201544761658, -0.05040915310382843, 0.5879320502281189, -1.235554575920105, 0.021303975954651833, 0.18472623825073242, -0.5243384838104248, 0.29221299290657043, -0.13672344386577606, 0.05145823583006859, -0.2263241410255432, -0.36209341883659363, 0.44734352827072144, 0.41694289445877075, -0.6903353333473206, 0.1894475519657135, 0.44960421323776245, -0.4731377363204956, -0.5964267253875732, -0.5166602730751038, -0.6314968466758728, -0.06325977295637131, -0.2682209312915802, 0.39133918285369873, -0.016643214970827103, -0.14710429310798645, 0.11782021820545197, 0.06952793151140213, 0.2603455185890198, -0.037119537591934204, 0.4940796196460724, -0.31048285961151123, -0.12295446544885635, 0.3336902856826782, -0.23946262896060944, 0.0001309075450990349, 0.05527906492352486, -0.105042465031147, 0.3847084939479828, -0.10327048599720001, -0.4278610944747925, -0.28371357917785645, 0.6692729592323303, 0.2719608545303345, 0.15871337056159973, 0.5293554663658142, 0.3926088511943817, -0.13248051702976227, -0.16405415534973145, -0.2679614722728729, -0.5840182900428772, -0.40504759550094604, 0.4224863350391388, -0.327605277299881, -1.3077679872512817, 0.6153512001037598, -0.04721526801586151, 0.09711065143346786, 0.18780174851417542, 0.5313514471054077, -0.38991281390190125, 1.044251561164856, 0.6293002367019653, -0.038839586079120636, 0.5728014707565308, -0.2781493067741394, 0.25292617082595825, -1.0485163927078247, -0.3531043529510498, -0.703551709651947, -0.41549578309059143, -0.6801983714103699, -0.36340653896331787, 0.22287346422672272, 0.16312812268733978, -0.06469415873289108, 0.12009524554014206, -0.14233635365962982, 0.25142037868499756, 0.4339450001716614, 0.29123327136039734, -0.02834901213645935, -0.23867183923721313, -0.6513006091117859, -0.3509988486766815, -0.639685869216919, -0.3526349663734436, 0.624643087387085, 0.45630979537963867, 0.9029718041419983, 0.2647983729839325, 0.9636694192886353, 0.035487428307533264, 0.23324422538280487, -0.7649887204170227, 0.2712283134460449, -0.13872812688350677, -0.031303152441978455, -0.2085174024105072, -0.20530010759830475, -0.9892055988311768, 0.33005282282829285, 0.02108357660472393, -0.7995867133140564, 0.17072245478630066, 0.19406169652938843, -0.5944326519966125, -0.06720215827226639, -0.7797098755836487, 0.6138218641281128, 0.19051195681095123, -0.4050593674182892, -0.5187691450119019, -0.7499825954437256, -0.11549249291419983, 0.6187942028045654, 0.191385880112648, 0.1725584864616394, 0.016952835023403168, 0.9597941040992737, -0.5360385775566101, 1.055883526802063, -0.46768462657928467, 0.19937528669834137, 0.2870619297027588, -0.03679491579532623, 0.09365267306566238, 0.5281504988670349, 0.4179162085056305, -0.2075454592704773, -0.10039451718330383, -0.351394385099411, -1.1178830862045288, 0.8371556997299194, -0.8503037095069885, -0.9728793501853943, -0.17097876965999603, -0.13606204092502594, -0.4392445385456085, -0.27905070781707764, 0.11803705245256424, 0.6904993653297424, -0.4147120416164398, 0.6358184814453125, 0.47504177689552307, -0.17178969085216522, 0.5692290663719177, 0.5815231204032898, -0.16149838268756866, -0.44809314608573914, 0.6878860592842102, -0.0931612178683281, 0.24172019958496094, 0.4921324849128723, 0.22184540331363678, -0.370951771736145, -0.1582818180322647, -0.15364442765712738, 0.24765419960021973, -0.9336118102073669, -0.09141553193330765, -0.5513920187950134, -0.1934814304113388, -0.29117435216903687, -0.25948888063430786, -0.39760226011276245, -0.4167425334453583, -0.11075896769762039, -0.21568180620670319, -0.09680573642253876, 1.1005107164382935, -0.17101356387138367, 0.05296008288860321, -0.8199093341827393, -0.21734939515590668, 0.811362624168396, 0.40228623151779175, 0.2682723104953766, -0.4792858958244324, -0.5812745690345764, 0.06619807332754135, -0.3903057277202606, -0.9102699160575867, 0.054270826280117035, 0.24136744439601898, 0.8371240496635437, 0.1879972517490387, -0.1327233761548996, 0.48279473185539246, -0.5305541753768921, 1.1821808815002441, 0.05790512263774872, -0.8244028687477112, 0.683433473110199, 0.14764030277729034, 0.5440835356712341, 0.6348132491111755, 0.5885871052742004, -0.6396189332008362, -0.44932156801223755, -0.48158207535743713, -0.7022499442100525, 0.4833569824695587, -0.04396966099739075, 0.37727823853492737, -0.1753995418548584, 0.11409872025251389, 0.13167713582515717, 0.2219846397638321, -0.556995153427124, -0.010326200164854527, -0.3341100215911865, 0.27369949221611023, -0.3707558810710907, -0.2987044155597687, -0.3856194317340851, -0.18251805007457733, 0.3951733708381653, -0.21094053983688354, 0.6254744529724121, 0.3371294140815735, -0.24810262024402618, 0.10862824320793152, 0.5089224576950073, 0.7259185314178467, 0.4130178391933441, -0.25256991386413574, -0.01677451841533184, 0.26206305623054504, -0.25302740931510925, 0.14177991449832916, -0.14334215223789215, 0.3027299642562866, 0.14737828075885773, 0.5231093764305115, 0.817723274230957, 0.9279268383979797, -0.25902995467185974, 0.8088240027427673, -0.2722037732601166, 0.12077800929546356, -0.07758575677871704, 0.008657151833176613, 0.08704126626253128, 0.42459943890571594, 0.1654229760169983, -0.0690055638551712, 0.3587675392627716, -0.7579057812690735, 0.32899633049964905, 0.3641800582408905, -0.6659492254257202, -0.3955085873603821, 0.2822636663913727, 0.7338688373565674, -0.45401886105537415, 0.5007451176643372, -0.0008003102266229689, -0.9095678925514221, 0.2989450991153717, 0.6666334271430969, 0.7497031688690186, -0.3495786786079407, 0.10428955405950546, 0.47263002395629883, -0.3376038670539856, 0.5133568644523621, 0.25073909759521484, -0.7036020159721375, -0.6017236113548279, -0.12366588413715363, -0.5030097365379333, -0.6243128180503845, -0.1693774312734604, -1.0258350372314453, -0.021960750222206116, -0.5793977379798889, -0.2897011935710907, -0.09771867096424103, 0.13298866152763367, -0.8921621441841125, 0.3065595328807831, -0.12904030084609985, 0.4116544723510742, -0.8480374813079834, 0.565723717212677, 0.7162132263183594, -0.4519667327404022, -1.0079623460769653, 0.25533297657966614, -0.019914306700229645, -0.6347821354866028, 0.767189621925354, 0.3592779040336609, -0.5352770090103149, -0.35207659006118774, -0.34717226028442383, -0.7054272890090942, 1.0301079750061035, 0.13063202798366547, -0.6601016521453857, 0.05449859797954559, -0.36961469054222107, 0.6813077330589294, -0.785767138004303, 0.5266970992088318, 0.5138231515884399, -0.24396175146102905, -0.03540525212883949, -0.9244824051856995, 0.054656945168972015, -0.28624510765075684, 0.3889344334602356, 0.02789817377924919, -0.8639144897460938, 0.5412260293960571, -0.2087249904870987, -0.2425822764635086, 0.12887895107269287, 0.5148239135742188, 0.27410566806793213, 0.08248195052146912, 0.5372266173362732, 0.5817158222198486, 0.31192219257354736, -0.23122800886631012, 1.2082270383834839, -0.15907135605812073, 0.19900451600551605, 1.2053793668746948, 0.04057556763291359, 1.271855115890503, 0.6467651724815369, -0.21944932639598846, 1.0911331176757812, 0.5250752568244934, 0.48631659150123596, 1.0761961936950684, 0.2905330955982208, -0.025174016132950783, 0.043020639568567276, -0.17294219136238098, -0.5097254514694214, 0.47974351048469543, 0.6582011580467224, -0.5076646208763123, 0.05729788914322853, 0.15373319387435913, -0.2627076506614685, 0.22515858709812164, -0.10379872471094131, 1.0000444650650024, 0.30266642570495605, -0.9730269908905029, 0.4324585795402527, -0.16119955480098724, 0.7396736145019531, -0.30065229535102844, -0.35087040066719055, -0.3948621451854706, 0.002536891493946314, -0.1269308477640152, -0.7971355319023132, 0.17449359595775604, -0.48793038725852966, -0.28138282895088196, -0.18566927313804626, 0.20124953985214233, -0.6364774107933044, 0.20291075110435486, 0.7296270132064819, 0.23277734220027924, 0.005892208311706781, 0.7212144732475281, -0.4024517834186554, 0.016217254102230072, -0.1569540947675705, -0.24015970528125763, 0.28002625703811646, -0.00701905507594347, 0.059436652809381485, 0.44528958201408386, 0.20145735144615173, -0.02507837302982807, -0.22040313482284546, 0.4870600700378418, 0.8532211780548096, -0.6338329315185547, -0.989976704120636, -0.42123711109161377, 0.582443118095398, -0.09620679169893265, -0.3591201901435852, 0.4447779953479767, 0.14129026234149933, 1.1609686613082886, -0.026434535160660744, 0.600705087184906, 0.2475033849477768, 0.9374477863311768, -0.6635313034057617, 0.34796223044395447, -0.5591557621955872, 0.3258497416973114, -0.3626612722873688, -1.1361382007598877, -0.03336058184504509, 0.6978908777236938, -0.3286421000957489, 0.4010891616344452, 0.8825250864028931, 0.667148232460022, 0.0588226355612278, 0.14073795080184937, 0.5291947722434998, 0.0711078941822052, 0.10006580501794815, 0.7822064757347107, 1.0231032371520996, -0.2950206995010376, 0.47903311252593994, -0.37257707118988037, -0.05983328819274902, -0.41021010279655457, -0.6241579055786133, -1.0097180604934692, -0.869734525680542, -0.06728961318731308, -0.400826632976532, 0.3272685706615448, 1.0056496858596802, 0.9756792187690735, -1.0237675905227661, -0.17533181607723236, 0.37544935941696167, 0.1028270423412323, -0.011585298925638199, -0.27204254269599915, 0.18951502442359924, -0.39479655027389526, -0.8642954230308533, 0.40011730790138245, 0.4004228413105011, 0.11479754000902176, -0.33793461322784424, -0.5427578687667847, 0.12476083636283875, -0.03822270780801773, 0.44929713010787964, 0.25725042819976807, -1.0228623151779175, -0.7504976391792297, -0.2686425447463989, -0.3932746946811676, 0.006979167927056551, 1.2388386726379395, -0.9298397302627563, 0.5329804420471191, 0.4679120182991028, 0.6113000512123108, 0.4515618085861206, -0.05859195068478584, 1.0695531368255615, -1.2805815935134888, 0.39574652910232544, 0.3877776265144348, 0.495398610830307, 0.687180757522583, -0.21499252319335938, 0.2979074716567993, 0.13395798206329346, -0.6388726830482483, -0.4963817894458771, 0.18946200609207153, -0.5521867275238037, -0.17674095928668976, 0.7826911807060242, -0.6533968448638916, 0.02828180231153965, -0.004779617767781019, -0.1607954353094101, 0.28185945749282837, -0.5351694226264954, 0.49371233582496643, 0.7875600457191467, -0.08640187233686447, -0.41887205839157104, 0.00866946205496788, 0.6192336082458496, 0.7440903186798096, -0.40928277373313904, -0.5108754634857178, 0.3396570384502411, 0.4031296670436859, 0.44260337948799133, 0.6329790353775024, 0.08008160442113876, 0.5974895358085632, 0.1375674158334732, -0.5724154114723206, 0.33736592531204224, -0.5695701241493225, -0.5395553708076477, 0.10680095851421356, 0.27867648005485535, -0.29670509696006775 ]
http://arxiv.org/abs/2406.07289v1
http://arxiv.org/pdf/2406.07289v1
Can We Achieve High-quality Direct Speech-to-Speech Translation without Parallel Speech Data?
2024-06-11T14:17:12
2024-06-11T14:17:12
Qingkai Fang, Shaolei Zhang, Zhengrui Ma, Min Zhang, Yang Feng
cs.CL
cs.CL, cs.AI, cs.SD, eess.AS, I.2.7
Recently proposed two-pass direct speech-to-speech translation (S2ST) models decompose the task into speech-to-text translation (S2TT) and text-to-speech (TTS) within an end-to-end model, yielding promising results. However, the training of these models still relies on parallel speech data, which is extremely challenging to collect. In contrast, S2TT and TTS have accumulated a large amount of data and pretrained models, which have not been fully utilized in the development of S2ST models. Inspired by this, in this paper, we first introduce a composite S2ST model named ComSpeech, which can seamlessly integrate any pretrained S2TT and TTS models into a direct S2ST model. Furthermore, to eliminate the reliance on parallel speech data, we propose a novel training method ComSpeech-ZS that solely utilizes S2TT and TTS data. It aligns representations in the latent space through contrastive learning, enabling the speech synthesis capability learned from the TTS data to generalize to S2ST in a zero-shot manner. Experimental results on the CVSS dataset show that when the parallel speech data is available, ComSpeech surpasses previous two-pass models like UnitY and Translatotron 2 in both translation quality and decoding speed. When there is no parallel speech data, ComSpeech-ZS lags behind \name by only 0.7 ASR-BLEU and outperforms the cascaded models.
[ -0.16581524908542633, -0.39893838763237, 0.3779972791671753, 0.09891140460968018, -0.6538535952568054, 0.1354053020477295, -0.41598594188690186, -0.110231913626194, 0.06436982750892639, 0.42553481459617615, -0.7386648654937744, -0.4121089279651642, -0.8195011019706726, -0.047338761389255524, -0.5280786752700806, 0.8494613766670227, 0.08835065364837646, 0.500647783279419, -0.0628008171916008, -0.1196988970041275, -0.32733944058418274, -0.5028269290924072, -0.5705507397651672, -0.35253477096557617, 0.23555713891983032, 0.5554047226905823, 0.46190759539604187, 0.7862874269485474, 0.3477839231491089, 0.16620156168937683, -0.16492106020450592, 0.07144279778003693, -0.5148729681968689, -0.004096840973943472, -0.26431792974472046, -0.4341703951358795, -0.26443251967430115, 0.01689830794930458, 0.7869834899902344, 0.9169520139694214, -0.23836107552051544, -0.03913190960884094, 0.24670098721981049, 0.46207815408706665, -0.23706279695034027, 0.11035260558128357, -0.5596041679382324, 0.09948273748159409, -0.3813855051994324, 0.03417299687862396, -0.4773779809474945, -0.271605908870697, 0.12409749627113342, -0.3587207496166229, 0.36389169096946716, -0.22410035133361816, 0.530585527420044, 0.35893377661705017, -0.48026177287101746, 0.05665619298815727, -0.8392099738121033, 0.8117114901542664, -0.46356135606765747, 0.7496148347854614, 0.11384260654449463, 0.5044280886650085, 0.02247186005115509, -0.8464123010635376, -0.5592455267906189, -0.18098211288452148, 0.0705457329750061, 0.434739351272583, -0.1873379945755005, -0.14371472597122192, 0.15072938799858093, 0.2669063210487366, -0.8858503103256226, 0.23079964518547058, -0.21995672583580017, 0.05301088094711304, 0.23244325816631317, 0.26680630445480347, 0.04176529869437218, -0.051644764840602875, -0.8164669275283813, -0.3193381130695343, -0.7492043972015381, 0.12938357889652252, -0.10282453149557114, 0.49000293016433716, -0.5296779274940491, 0.42386364936828613, -0.17670325934886932, 0.39927536249160767, 0.01026204414665699, 0.14784079790115356, 0.3183134198188782, -0.5804317593574524, -0.05787793546915054, -0.04825723171234131, 0.8889977335929871, -0.044422294944524765, 0.1403566151857376, -0.4526166319847107, 0.009500224143266678, 0.39802634716033936, -0.15791703760623932, -0.7431702613830566, 0.20153607428073883, 0.13620494306087494, -0.16478101909160614, 0.11756531149148941, -0.10810612142086029, -0.49172669649124146, -0.04993109405040741, -0.6033445000648499, 0.20909136533737183, -0.25035780668258667, -0.3140878975391388, -0.040878575295209885, -0.11241337656974792, 0.09064988046884537, 0.3230930268764496, -0.6501184701919556, 0.709467351436615, 0.5069505572319031, 0.7631589770317078, -0.5388170480728149, -0.46371614933013916, -0.716054379940033, 0.36353951692581177, -0.461099773645401, 0.8150587677955627, -0.2264474779367447, -0.381780743598938, -0.22915831208229065, -0.2811587452888489, -0.1315244883298874, -0.5092428922653198, 0.5693067312240601, -0.03854236379265785, -0.0685795396566391, -0.2034524381160736, -0.5230404734611511, 0.15683645009994507, -0.3590274155139923, -0.37541425228118896, 0.772778332233429, -0.06055578216910362, -0.6369847059249878, -0.14887051284313202, -0.1343526691198349, -0.5491578578948975, -0.17566953599452972, -0.4838191866874695, -0.3078662157058716, 0.223791241645813, 0.2809016704559326, 0.2774602174758911, -0.7156984210014343, 0.4260493516921997, -0.09740299731492996, -0.5111668705940247, 0.03798261284828186, -0.40037164092063904, 0.7569124698638916, 0.26312604546546936, -0.4438726305961609, -0.16347789764404297, -0.6586847901344299, -0.21666599810123444, 0.1813419908285141, -0.10147815942764282, 0.08326084166765213, 0.03746692091226578, 0.021300183609128, 0.38608217239379883, 0.08047302812337875, -0.6621886491775513, -0.3084862530231476, -0.42026516795158386, 0.3473533093929291, 0.5412043333053589, -0.4544292986392975, 0.5205821990966797, -0.15201829373836517, 0.1886906772851944, 0.1458430141210556, -0.14995454251766205, -0.15059104561805725, -0.3079221248626709, -0.9065282940864563, -0.30586230754852295, 0.3064694404602051, 0.719257652759552, -0.7449110746383667, 0.4600316882133484, -0.7258737087249756, -0.66080641746521, -0.25200989842414856, -0.31054383516311646, 0.33034709095954895, 0.7606388926506042, 0.5006102919578552, -0.33113524317741394, -0.4366002082824707, -0.7105035185813904, -0.19979849457740784, 0.14708426594734192, -0.2610265016555786, 0.11443047225475311, 0.16072268784046173, 0.19791311025619507, 0.6560599207878113, -0.3187349736690521, -0.2929930090904236, -0.4246520698070526, 0.09727712720632553, 0.06559767574071884, 0.6706963777542114, 0.2209615707397461, -0.41772451996803284, -0.5727784037590027, -0.02385113388299942, -0.796755850315094, -0.010210266336798668, 0.042479258030653, 0.03423057124018669, -0.23942048847675323, 0.4926711916923523, -0.8081701993942261, 0.4426477551460266, 0.5986993908882141, -0.015969354659318924, 0.27705419063568115, -0.08249314874410629, -0.01602838560938835, -1.0284936428070068, 0.23356184363365173, -0.09187901020050049, -0.4223092198371887, -0.9427031874656677, -0.015092284418642521, 0.06673633307218552, -0.6466766595840454, -0.6117720603942871, 0.44147011637687683, -0.2927972376346588, -0.3261435627937317, -0.2755817472934723, 0.2126905620098114, -0.056235626339912415, 0.5804663896560669, 0.4514143466949463, 0.9682790637016296, 0.6456692218780518, -0.3542960286140442, 0.2669273912906647, 0.7223020792007446, -0.3211277723312378, 0.5504043102264404, -0.7122195959091187, 0.36198553442955017, -0.04212823510169983, 0.5931496024131775, -0.8063172101974487, -0.07108187675476074, 0.2710005044937134, -0.6375827193260193, 0.24588638544082642, 0.1538413166999817, -0.47282421588897705, -0.14871348440647125, 0.052987515926361084, 0.26460057497024536, 0.7975207567214966, -0.5638094544410706, 0.3777073919773102, 0.12833337485790253, -0.605229914188385, -0.2999749183654785, -0.9790070652961731, 0.1576937437057495, 0.1711619347333908, -0.6502723693847656, 0.5636919140815735, 0.12572386860847473, 0.4138265550136566, -0.15150848031044006, -0.33248937129974365, -0.37155085802078247, -0.3867046535015106, -0.004228998441249132, -0.043418921530246735, -0.11137013882398605, -0.08951708674430847, 0.20555515587329865, -0.3832830488681793, -0.33577960729599, -0.15071140229701996, 0.5502433180809021, 0.3120308518409729, -0.2411166876554489, -1.0482474565505981, 0.8005994558334351, 0.5398939847946167, -0.37999096512794495, 0.4366939961910248, 0.39065808057785034, -0.20522169768810272, -0.21662582457065582, -0.4393323063850403, -0.22494195401668549, -0.41836604475975037, 0.43122851848602295, -0.3834865987300873, -0.7157194018363953, 0.240509033203125, -0.16330459713935852, -0.28722119331359863, 0.22875744104385376, 0.43752795457839966, -0.042539291083812714, 0.9208048582077026, 0.3029506206512451, 0.2939024865627289, 0.5764351487159729, -0.10978744924068451, 0.09087953716516495, -0.6610835194587708, -0.3625626564025879, -0.640765905380249, 0.03829953446984291, -0.4168456196784973, -0.6405376195907593, 0.4946601688861847, -0.048824891448020935, -0.3556082546710968, 0.6835504770278931, -0.23617549240589142, 0.11945190280675888, 0.6745930314064026, 0.4456847310066223, 0.17648008465766907, 0.5981689691543579, 0.06085493043065071, -0.22467483580112457, -0.759454607963562, -0.16063642501831055, 0.9429126977920532, 0.2416805475950241, 0.5559284687042236, -0.13513970375061035, 0.6031988859176636, -0.03400725871324539, -0.2428501546382904, -0.5071242451667786, 0.5593259930610657, -0.8537308573722839, -0.13372758030891418, -0.15644289553165436, -0.5528338551521301, -0.7963857650756836, 0.27745121717453003, 0.17094624042510986, -0.3384162485599518, 0.21707579493522644, 0.07463828474283218, -0.34724244475364685, 0.006227229256182909, -0.5803629755973816, 0.5410894751548767, -0.06535957753658295, -0.47233352065086365, -0.5113628506660461, -0.8149935007095337, -0.023347986862063408, -0.06801211833953857, 0.15506738424301147, -0.05457969382405281, 0.0429656058549881, 0.7305946946144104, -0.483254611492157, 0.6528350114822388, -0.2117728441953659, 0.12034447491168976, 0.32545799016952515, -0.013706974685192108, 0.7517811059951782, -0.3033525049686432, -0.07286473363637924, 0.5264126062393188, -0.32311388850212097, -0.49356213212013245, -0.5868597030639648, 0.618537425994873, -0.7893245220184326, -0.5342425107955933, -0.37815526127815247, -0.3880290687084198, -0.5027592778205872, 0.059782952070236206, 0.38361993432044983, 0.3691330850124359, -0.06747569143772125, 0.21934592723846436, 0.4573874771595001, -0.0819801464676857, 0.28172338008880615, 0.4197462797164917, 0.5378416180610657, -0.7640359401702881, 0.9908350110054016, 0.19007545709609985, 0.35243186354637146, 0.2312847375869751, 0.2084793597459793, -0.5401543378829956, -0.6337825655937195, -0.3756372034549713, 0.4053208827972412, -0.5024768114089966, -0.1389477699995041, -0.5811053514480591, -0.32025212049484253, -0.5664280652999878, 0.1166645884513855, -0.7584367394447327, -0.41048625111579895, -0.31277328729629517, 0.070057213306427, -0.1029236689209938, 0.40990149974823, -0.3271997570991516, 0.6997934579849243, -0.8271349668502808, 0.623003363609314, 0.2802904546260834, 0.12275602668523788, -0.16969454288482666, -0.7466670274734497, -0.2686309516429901, 0.13264498114585876, -0.11394188553094864, -0.7131458520889282, 0.2685573995113373, 0.17400531470775604, 0.40056112408638, -0.025157270953059196, -0.12111232429742813, 0.7509734034538269, -0.872378408908844, 0.8717391490936279, 0.624563455581665, -1.0846326351165771, 0.5587993860244751, -0.4574894607067108, 0.2092416137456894, 0.44973835349082947, 0.1213994100689888, -0.4487956166267395, -0.13902083039283752, -0.32627686858177185, -0.5929623246192932, 1.0799076557159424, 0.6727200150489807, 0.18496818840503693, 0.19193831086158752, 0.15657834708690643, 0.28802424669265747, 0.30686357617378235, -0.4665653705596924, -0.2294655591249466, -0.41834136843681335, -0.3556258976459503, -0.28084397315979004, -0.15854434669017792, 0.17279191315174103, -0.2712033689022064, 0.396130234003067, 0.3841608464717865, 0.5053120255470276, 0.12841032445430756, 0.03994297608733177, -0.006739649455994368, 0.12262412160634995, 0.3914000689983368, 0.14213964343070984, -0.11651423573493958, 0.10144278407096863, -0.05877065286040306, -0.2846418619155884, 0.4646007716655731, 0.27243536710739136, -0.03721766918897629, 0.21745255589485168, 0.07484450936317444, 1.120152473449707, 0.07428945600986481, -0.39214518666267395, 0.9050190448760986, 0.22531627118587494, -0.12912622094154358, -0.19637052714824677, -0.1675722599029541, 0.06377561390399933, 0.15930944681167603, 0.12896743416786194, 0.25249552726745605, -0.055361319333314896, -0.13860388100147247, 0.39743471145629883, -0.018131643533706665, -0.32615503668785095, -0.467089980840683, 0.8569459915161133, 0.4206481873989105, -0.03795094043016434, 0.4877364933490753, 0.26707330346107483, -0.08976153284311295, 0.40195488929748535, 0.6095615029335022, 0.8921271562576294, -0.6726365685462952, 0.08042411506175995, 0.3255203068256378, 0.020550940185785294, -0.5227383375167847, 0.11577419191598892, -0.2131533920764923, -0.2360425591468811, -0.47921448945999146, -0.405113160610199, -0.4547683894634247, 0.08906292915344238, -0.6242980360984802, 0.47941577434539795, -0.3186178207397461, 0.0353158563375473, -0.1387745440006256, -0.463870644569397, -0.6928216218948364, 0.4853900969028473, 0.30286625027656555, 0.8666161298751831, -0.8894715905189514, 1.0876507759094238, 0.16294614970684052, -0.39712706208229065, -0.613689661026001, 0.15239185094833374, -0.27819377183914185, -0.72929847240448, 0.784425675868988, 0.054943107068538666, -0.29456791281700134, 0.49293336272239685, -0.33078449964523315, -0.9254559874534607, 0.8056257367134094, 0.8915461897850037, -0.7825330495834351, -0.23531153798103333, 0.6562893390655518, 0.39395013451576233, -0.19022062420845032, 0.0815342366695404, 0.4600287973880768, 0.09786028414964676, 0.33514443039894104, -0.9744012355804443, -0.15850897133350372, 0.07200543582439423, 0.11719521880149841, -0.278560996055603, -0.8498241305351257, 1.0113043785095215, 0.21865251660346985, -0.38014498353004456, 0.19991366565227509, 0.5753198862075806, 0.03960966691374779, 0.09586317837238312, 0.22056233882904053, 0.7000657916069031, 0.3407634496688843, -0.14582084119319916, 0.8000621199607849, 0.010021248832345009, 0.3741891086101532, 1.3917882442474365, -0.4128260016441345, 1.1012945175170898, 0.4825471341609955, -0.21644601225852966, 0.2511983811855316, 0.33441418409347534, 0.10411690175533295, 0.9366099238395691, -0.020416567102074623, -0.36312732100486755, -0.5713927745819092, -0.28893670439720154, -0.5448616147041321, 0.7202604413032532, 0.29469025135040283, -0.07629570364952087, -0.5835269093513489, 0.15437544882297516, -0.21998558938503265, 0.3459911048412323, 0.02176113985478878, 0.5036768317222595, 0.3615516722202301, -0.5384323596954346, 0.8055081963539124, -0.11809884011745453, 0.48816803097724915, -0.7748628854751587, 0.15068675577640533, -0.5652084350585938, 0.10101592540740967, 0.11980201303958893, -0.4981689155101776, 0.411889910697937, 0.17342956364154816, 0.028314465656876564, -0.17562676966190338, 0.21992139518260956, -0.5792842507362366, -0.30368855595588684, 0.32945701479911804, 0.6997650861740112, 0.1471642702817917, -0.18864862620830536, -0.44622528553009033, 0.1675540655851364, -0.03260178864002228, -0.1061386987566948, 0.25151821970939636, 0.16834817826747894, 0.21070505678653717, 0.39924976229667664, 0.5980277061462402, 0.24483376741409302, -0.06511693447828293, -0.06922827661037445, 0.7101451754570007, -0.6619880795478821, -0.802491307258606, -0.6246747374534607, 0.4697504937648773, -0.014663033187389374, 0.15349723398685455, 0.5434181094169617, 0.5929331183433533, 0.8204427361488342, -0.0730782225728035, 1.0011100769042969, 0.30140942335128784, 1.046515703201294, -0.3540917932987213, 0.4683411419391632, -0.4575158655643463, -0.04282045736908913, -0.005475588608533144, -0.7252004146575928, -0.25299641489982605, 0.36150309443473816, -0.09469533711671829, -0.2910025417804718, 0.849343478679657, 0.6696066856384277, -0.22004403173923492, 0.004900163505226374, 0.4704398810863495, 0.04706161469221115, 0.1566839963197708, 0.7435387372970581, 0.7152546048164368, -0.7021979093551636, 0.748094916343689, -0.11532524228096008, -0.29416608810424805, -0.006314403377473354, -0.40399011969566345, -0.7448530793190002, -0.43567124009132385, -0.3139107823371887, -0.19971291720867157, 0.25341665744781494, 0.7071540951728821, 0.7292409539222717, -0.8282871246337891, -0.5555972456932068, -0.5998257398605347, -0.37876999378204346, -0.21164479851722717, -0.019969459623098373, 0.4911196827888489, -0.35572952032089233, -0.9871730804443359, 0.862321138381958, 0.15312711894512177, 0.455541729927063, 0.2642616033554077, -0.1075468435883522, 0.14217904210090637, 0.09994376450777054, 0.4409917891025543, 0.14305661618709564, -0.6625086069107056, 0.029539987444877625, -0.08133822679519653, -0.17718559503555298, 0.38384655117988586, 0.7839330434799194, -0.7225186228752136, 0.38451698422431946, 0.44014981389045715, 0.7440230846405029, 0.8467016220092773, -0.13392332196235657, 0.5928868651390076, -0.7688257098197937, 0.6543523669242859, 0.06972629576921463, 0.011502500623464584, 0.31157809495925903, -0.04559745267033577, 0.2699121832847595, 0.6138474345207214, -0.20939145982265472, -0.7166265249252319, 0.3479870557785034, -1.1496106386184692, -0.15557187795639038, 1.097644329071045, -0.28137391805648804, 0.0680769681930542, 0.16256994009017944, -0.11583476513624191, 0.7806271910667419, -0.41809582710266113, 0.343796044588089, 0.236504465341568, -0.23018300533294678, -0.1534544825553894, -0.42272427678108215, 0.4152781069278717, 0.7452743649482727, -0.6268969774246216, 0.3051474690437317, 0.39969828724861145, 0.3121557831764221, -0.32435140013694763, 0.5080245733261108, -0.1901138722896576, 0.3059979975223541, 0.4305862784385681, -0.15218326449394226, -0.2024940550327301, -0.28944408893585205, -0.383523553609848, 0.18938815593719482, -0.29642996191978455, -0.5565890073776245 ]
http://arxiv.org/abs/2406.07288v1
http://arxiv.org/pdf/2406.07288v1
Fine-tuning with HED-IT: The impact of human post-editing for dialogical language models
2024-06-11T14:16:14
2024-06-11T14:16:14
Daniela Occhipinti, Michele Marchi, Irene Mondella, Huiyuan Lai, Felice Dell'Orletta, Malvina Nissim, Marco Guerini
cs.CL
cs.CL
Automatic methods for generating and gathering linguistic data have proven effective for fine-tuning Language Models (LMs) in languages less resourced than English. Still, while there has been emphasis on data quantity, less attention has been given to its quality. In this work, we investigate the impact of human intervention on machine-generated data when fine-tuning dialogical models. In particular, we study (1) whether post-edited dialogues exhibit higher perceived quality compared to the originals that were automatically generated; (2) whether fine-tuning with post-edited dialogues results in noticeable differences in the generated outputs; and (3) whether post-edited dialogues influence the outcomes when considering the parameter size of the LMs. To this end we created HED-IT, a large-scale dataset where machine-generated dialogues are paired with the version post-edited by humans. Using both the edited and unedited portions of HED-IT, we fine-tuned three different sizes of an LM. Results from both human and automatic evaluation show that the different quality of training data is clearly perceived and it has an impact also on the models trained on such data. Additionally, our findings indicate that larger models are less sensitive to data quality, whereas this has a crucial impact on smaller models. These results enhance our comprehension of the impact of human intervention on training data in the development of high-quality LMs.
[ -0.5777607560157776, -0.7193988561630249, 0.24115623533725739, -0.35889220237731934, -0.26902273297309875, 0.013707098551094532, -0.5292174816131592, -0.373005747795105, -0.07868585735559464, 0.667620062828064, -0.4070109724998474, -0.4445717930793762, -0.3490076959133148, 0.23187999427318573, -0.12551279366016388, 1.010483980178833, 0.0894450768828392, 0.1705961972475052, 0.012722089886665344, -0.10855855792760849, -0.5765729546546936, -0.650328516960144, -0.6327317953109741, -0.3202248513698578, 0.5385323166847229, 0.6212713718414307, 1.1353875398635864, 0.962474524974823, 0.5731425285339355, 0.3284316062927246, -0.1804911345243454, 0.19673801958560944, -0.7228769063949585, -0.24197906255722046, -0.4083274304866791, -0.39247116446495056, -0.4964352250099182, 0.17130346596240997, 0.7626590132713318, 0.9131459593772888, -0.056894365698099136, 0.2382308840751648, 0.30914658308029175, 0.7737590074539185, -0.3831843435764313, 0.1733219027519226, -0.7736310362815857, -0.16142819821834564, -0.14475803077220917, -0.47958070039749146, -0.27998510003089905, -0.09608887135982513, 0.15497708320617676, -0.43429818749427795, 0.3944534659385681, 0.06373368948698044, 1.0480152368545532, 0.5941792130470276, -0.20840181410312653, -0.16046512126922607, -0.8861777186393738, 0.6942244172096252, -0.9692375063896179, 0.32848742604255676, 0.7413542866706848, -0.016587214544415474, -0.34672096371650696, -0.21104241907596588, -0.43197762966156006, -0.1214856505393982, -0.040684301406145096, -0.20023076236248016, 0.11859943717718124, 0.2488052248954773, 0.5083076357841492, 0.38579535484313965, -0.2638823390007019, 0.43930622935295105, -0.6807332634925842, -0.25016868114471436, 0.9629104733467102, 0.49000483751296997, 0.11751517653465271, -0.3055078983306885, 0.4124976396560669, -0.06254418194293976, -0.8320701718330383, 0.10526113212108612, 0.6279106736183167, 0.4506547152996063, 0.19402767717838287, 0.706657350063324, -0.4790343642234802, 0.7686923146247864, 0.17894737422466278, -0.019829725846648216, -0.0455339141190052, -0.6332623958587646, -0.18161633610725403, -0.11093252152204514, 0.9102391004562378, 0.6013948321342468, 0.7467649579048157, 0.0842149555683136, -0.3368806540966034, 0.07168521732091904, 0.43976348638534546, -0.9244170188903809, -0.375741183757782, -0.11941418796777725, -0.4362082779407501, -0.34056374430656433, -0.04447031021118164, -0.3459249436855316, -0.30991077423095703, -0.7093005776405334, 0.43810033798217773, -0.37786629796028137, -0.16006410121917725, 0.3733963370323181, 0.16737036406993866, -0.1795397847890854, 0.5239529609680176, -0.825667142868042, 0.175028994679451, 0.5354176759719849, 0.5294907689094543, 0.02055727317929268, -0.29619699716567993, -0.7752079963684082, -0.12096729129552841, -0.6444101333618164, 0.6031253337860107, -0.6851588487625122, -0.5287184119224548, -0.13838140666484833, 0.033212728798389435, 0.043540846556425095, -0.8113397359848022, 0.6374873518943787, -0.4944445490837097, 0.23323562741279602, -0.29317525029182434, -0.8529969453811646, 0.1154874935746193, -0.09349075704813004, -0.6427075862884521, 0.8147577047348022, 0.14586175978183746, -0.6504862904548645, 0.6192929148674011, -0.5695173740386963, -0.4276047348976135, -0.13667845726013184, -0.027170462533831596, -0.5574671030044556, 0.23269127309322357, 0.16614101827144623, 0.3940223157405853, -0.45054757595062256, 0.3660437762737274, -0.27767935395240784, -0.32159629464149475, 0.4777263104915619, -0.441191166639328, 0.5291950702667236, 0.19449596107006073, -0.11051903665065765, 0.27374905347824097, -0.8735384345054626, 0.27284950017929077, -0.2497197538614273, -0.5094013214111328, -0.1871756762266159, 0.005219132173806429, -0.043744124472141266, 0.26078084111213684, -0.0309299323707819, -0.4878689646720886, 0.31460362672805786, -0.4464130699634552, 0.5539857149124146, 0.5960143208503723, 0.18659940361976624, 0.5469877123832703, -0.34035778045654297, 0.3647429347038269, -0.1342669427394867, 0.2363189309835434, -0.13600295782089233, -0.41974708437919617, -0.6418961882591248, -0.1977451592683792, 0.6443184018135071, 0.32366418838500977, -0.5086504817008972, 0.566228449344635, -0.14891910552978516, -0.38491690158843994, -0.9279899001121521, 0.43502458930015564, 0.3244413137435913, 0.25076547265052795, 0.1384744495153427, -0.49487465620040894, -0.5067076086997986, -0.890322744846344, -0.2735484540462494, -0.09765966981649399, -0.13807249069213867, 0.4427909553050995, 0.4800141155719757, -0.3615119159221649, 1.0872126817703247, -0.4199584126472473, -0.26758408546447754, -0.06529552489519119, 0.23270590603351593, -0.09386073052883148, 0.7001195549964905, 0.31325969099998474, -0.17857490479946136, -0.5387890338897705, -0.008613137528300285, -0.36158233880996704, -0.29778632521629333, -0.128290057182312, -0.14173655211925507, 0.21757617592811584, 0.42291969060897827, -0.5176434516906738, 0.6524707674980164, 0.2796061933040619, -0.26976272463798523, 0.6255557537078857, -0.5607218146324158, 0.5070160627365112, -0.9901177883148193, -0.09230586141347885, -0.10783299058675766, -0.20529110729694366, -0.6320154666900635, -0.1488853394985199, 0.0581558495759964, -0.13846229016780853, -0.12689070403575897, 0.45510566234588623, -0.32892459630966187, -0.33365771174430847, -0.27591225504875183, 0.0326266773045063, -0.1168079599738121, 0.3739822804927826, 0.014886562712490559, 0.9952819347381592, 0.1924818605184555, -0.5152384638786316, -0.03623752295970917, 0.28656312823295593, -0.6062409281730652, 0.535749077796936, -0.7218896150588989, 0.2794414162635803, 0.039235182106494904, -0.07095540314912796, -0.7426161170005798, -0.41254955530166626, -0.16326595842838287, -0.426725298166275, 0.20690670609474182, -0.20673252642154694, -0.7225303053855896, -0.15140029788017273, -0.31244757771492004, 0.15863239765167236, 0.35969313979148865, -0.2400493025779724, -0.07071017473936081, 0.3291630744934082, -0.26974374055862427, 0.07052703201770782, -0.1592404991388321, 0.36854925751686096, -0.09527022391557693, -0.7039819359779358, 0.1449774205684662, -0.33173438906669617, -0.34267890453338623, -0.10998968780040741, 0.11660704016685486, -0.2942799925804138, 0.27434030175209045, 0.10171674937009811, 0.29951831698417664, -0.24539543688297272, -0.09781266748905182, 0.18806613981723785, -0.30273568630218506, -0.23805318772792816, -0.04581981897354126, 0.5257506370544434, 0.12394790351390839, -0.25086280703544617, -1.202474594116211, 0.21627163887023926, 0.6206870079040527, -0.393298476934433, 0.7208433151245117, 0.5690082311630249, -0.3670937418937683, 0.28018710017204285, -0.37317967414855957, -0.4659941494464874, -0.4810868203639984, 0.20689746737480164, -0.42464715242385864, -0.8573304414749146, 0.3182617723941803, -0.032384101301431656, 0.12487348914146423, 0.3912722170352936, 0.557631254196167, -0.41603830456733704, 1.5161972045898438, 0.597378134727478, -0.14327868819236755, 0.7575209736824036, -0.29949256777763367, -0.08159833401441574, -0.8343412280082703, 0.37790244817733765, -0.6993255615234375, -0.32666489481925964, -0.7055065631866455, -0.29699960350990295, 0.3304975926876068, 0.5223574042320251, -0.21097621321678162, 0.2510494291782379, -0.21073754131793976, 0.46610525250434875, 0.504547119140625, 0.0937185063958168, 0.4858418405056, -0.05549193546175957, 0.32023078203201294, -0.3918120861053467, -0.6997746229171753, -0.8128290772438049, 1.1792867183685303, 0.23880931735038757, 0.7757673859596252, -0.04249653220176697, 0.49653831124305725, 0.3543529510498047, 0.060016974806785583, -0.5694646835327148, 0.24097979068756104, -0.11572867631912231, -0.460475355386734, -0.4621922969818115, -0.43016791343688965, -0.9881640672683716, -0.058497704565525055, -0.3851269781589508, -0.7219287157058716, 0.06246175244450569, 0.45939457416534424, -0.5231085419654846, -0.09260492771863937, -0.8929709792137146, 0.9070957899093628, -0.016697656363248825, -0.461401104927063, -0.7389252185821533, -0.39466622471809387, -0.014520378783345222, -0.05000033229589462, 0.14529111981391907, -0.014543304219841957, 0.34652793407440186, 0.7020388245582581, -0.8479175567626953, 0.9281242489814758, -0.07871720939874649, -0.2767781913280487, 0.18907921016216278, 0.1442212015390396, 0.6691546440124512, 0.214807391166687, -0.19428949058055878, 0.05373421683907509, 0.0475488044321537, -0.5294691324234009, -0.43791115283966064, 0.512590765953064, -0.9491947293281555, -0.6890676021575928, 0.20200923085212708, -0.7559035420417786, -0.29898181557655334, 0.15140923857688904, 0.2513265311717987, 0.7702029347419739, -0.002522889291867614, 0.20124569535255432, 0.6169205904006958, -0.3996187150478363, 0.14668208360671997, 0.5447758436203003, -0.09528825432062149, -0.319179505109787, 0.9310939908027649, 0.340368390083313, 0.7474738955497742, -0.17865771055221558, 0.18842169642448425, 0.0191377904266119, -0.6322702169418335, -0.9219050407409668, 0.18108458817005157, -0.31716448068618774, -0.04625815525650978, -0.5118889212608337, -0.23408734798431396, -0.27977868914604187, -0.17749616503715515, -0.5438085198402405, -0.37462538480758667, -0.5050290822982788, 0.04308914393186569, 0.5932850241661072, 0.8924939632415771, -0.06107185035943985, 0.5518405437469482, -0.8117643594741821, 0.24367211759090424, 0.12045358121395111, 0.5467139482498169, -0.37380653619766235, -0.8007234930992126, -0.5771187543869019, 0.42005684971809387, 0.027533790096640587, -0.5114130973815918, 0.3227289319038391, 0.4492647349834442, 0.16653795540332794, 0.29472681879997253, 0.010957798920571804, 0.7757244110107422, -0.5688064694404602, 0.6591936349868774, -0.35445794463157654, -0.7485857009887695, 0.39731842279434204, -0.5288558602333069, 0.501386284828186, 0.6235530972480774, -0.01487668976187706, -0.5188857316970825, -0.4565170407295227, -0.5400944352149963, -0.37055206298828125, 1.0019391775131226, 0.1680646687746048, 0.10068655014038086, 0.28664737939834595, 0.6144697666168213, 0.2833271026611328, 0.35472381114959717, 0.037910304963588715, -0.08215447515249252, 0.017448581755161285, -0.09176156669855118, -0.16316308081150055, -0.392741322517395, 0.04043615236878395, -0.5275431871414185, 0.48775047063827515, -0.06828104704618454, -0.04649031534790993, -0.09531038254499435, -0.4047800302505493, -0.41770172119140625, 0.3194900155067444, 0.6718711256980896, 0.5553833842277527, -0.1450466364622116, -0.21923251450061798, 0.08032763004302979, -0.23734956979751587, -0.19234851002693176, -0.21208173036575317, -0.2933860123157501, -0.007850971072912216, 0.468379408121109, 1.2067029476165771, 0.2043025642633438, -0.673547625541687, 0.05525120720267296, -0.021258264780044556, -0.17485220730304718, 0.16319957375526428, 0.40248194336891174, -0.1083449050784111, 0.16763320565223694, -0.09622228890657425, 0.2819492220878601, 0.12177686393260956, -0.5760535597801208, 0.23421652615070343, 0.3990079462528229, -0.27330267429351807, -0.604322612285614, 0.5556935667991638, 0.26079490780830383, -0.7555848360061646, 0.5686362385749817, -0.23138493299484253, -0.5807850360870361, 0.37744849920272827, 0.1980365365743637, 0.5502275228500366, -0.3217772841453552, 0.1696435958147049, 0.561186671257019, 0.3689354360103607, 0.06105131283402443, 0.28303563594818115, -0.13790254294872284, -0.7886579036712646, -0.5846722722053528, -0.45713767409324646, -0.2798178195953369, 0.18026112020015717, -0.7384970784187317, 0.30812355875968933, -0.5042237639427185, -0.1960868537425995, 0.15497857332229614, 0.11317835003137589, -0.8770623207092285, 0.21243345737457275, -0.25806906819343567, 0.6053669452667236, -0.5883670449256897, 0.8826289772987366, 0.5259672403335571, -0.3513082265853882, -0.7404661178588867, 0.019101176410913467, -0.011951472610235214, -0.5207899212837219, 0.5245946049690247, -0.095583975315094, -0.02293563447892666, 0.40887251496315, -0.34163686633110046, -0.913088858127594, 0.5212753415107727, 0.4204140603542328, -0.74550461769104, 0.4027100205421448, 0.500957190990448, 0.8597508072853088, -0.08665022253990173, 0.16301681101322174, 0.9066202044487, 0.3745509684085846, -0.3048347234725952, -1.5397491455078125, -0.395743191242218, -0.16077791154384613, 0.08186224102973938, 0.24659773707389832, -0.37893250584602356, 0.7159644961357117, -0.4042496085166931, -0.259428471326828, 0.1674094945192337, 0.2503863573074341, -0.4399360120296478, -0.22433948516845703, 0.6096793413162231, 0.32370978593826294, 0.7959966063499451, -0.01445185299962759, 0.9919833540916443, -0.4050850570201874, 0.3447003662586212, 1.1581699848175049, -0.3487604856491089, 0.8206462264060974, 0.28931084275245667, -0.13081485033035278, 0.0028950637206435204, 0.782842218875885, 0.40255382657051086, 0.38909777998924255, 0.19738030433654785, -0.06188233569264412, -0.3163946866989136, -0.2152196317911148, -0.23201577365398407, 0.37693658471107483, 0.44155654311180115, -0.15592044591903687, -0.004417493473738432, 0.22626440227031708, 0.004956528078764677, 0.2428750991821289, -0.2495262771844864, 1.185266375541687, -0.3096458315849304, -0.5790002942085266, 0.9283975958824158, 0.06638150662183762, 0.5292918086051941, 0.028652969747781754, 0.10107055306434631, -0.20718912780284882, 0.12913444638252258, -0.29640617966651917, -0.8127837181091309, 0.3892746865749359, 0.3079119026660919, -0.43146538734436035, -0.21514418721199036, 0.42765602469444275, -0.6749737858772278, -0.2973671853542328, -0.11439762264490128, 0.4425555467605591, 0.15589800477027893, -0.149180069565773, -0.5419692993164062, 0.2887127995491028, 0.11543933302164078, -0.2821555435657501, 0.2951759994029999, 0.4611194133758545, -0.29692742228507996, 0.5171676874160767, 0.6366734504699707, 0.10865706205368042, -0.03931320831179619, 0.38465866446495056, 0.7393564581871033, -0.6752458810806274, -0.12615977227687836, -0.7047837376594543, 0.4495485723018646, -0.11616912484169006, -0.38385871052742004, 0.3546746075153351, 0.43918025493621826, 0.9483593702316284, 0.07028753310441971, 0.7944389581680298, 0.19613610208034515, 0.5280646085739136, -0.5251494646072388, 0.6350298523902893, -0.36990731954574585, 0.3366175591945648, -0.35872411727905273, -0.6779170036315918, -0.09555520862340927, 0.5929178595542908, -0.35526490211486816, -0.0979299396276474, 0.45327216386795044, 1.076040267944336, 0.11866867542266846, 0.028528138995170593, 0.3705696761608124, 0.41544392704963684, 0.4504071772098541, -0.05562432110309601, 0.7297804355621338, -0.38604921102523804, 0.18176613748073578, -0.32083219289779663, -0.11234544217586517, -0.3132598102092743, -0.4713795483112335, -1.0383388996124268, -0.7425034642219543, -0.37245500087738037, -0.09858036041259766, 0.10505935549736023, 1.1828104257583618, 0.6092588305473328, -0.7224946618080139, -0.29652029275894165, -0.03253697603940964, -0.08530982583761215, -0.004195499233901501, -0.20810829102993011, 0.2168518453836441, -0.43687859177589417, -0.9072526097297668, 0.2525734305381775, 0.28477418422698975, -0.13729572296142578, -0.2258644849061966, -0.20217224955558777, 0.04385225102305412, 0.036002494394779205, 0.7144392132759094, 0.03950871154665947, -0.6685212254524231, -0.7000579237937927, 0.02693871594965458, -0.2088066041469574, 0.11140126734972, 0.918927788734436, -0.6810221672058105, 0.5889793634414673, 0.30802255868911743, 0.7245425581932068, 0.3189969062805176, -0.11022835969924927, 1.053173542022705, -0.6535611748695374, 0.039493247866630554, -0.173691064119339, 0.34017083048820496, 0.5161095261573792, -0.3310188949108124, 0.4283274710178375, 0.058828603476285934, -0.6284684538841248, -0.9286673665046692, 0.15172551572322845, -0.47817549109458923, -0.018192369490861893, 1.1400185823440552, 0.13998085260391235, 0.1351219266653061, -0.261730432510376, -0.8943034410476685, 0.3126388192176819, -0.4428698420524597, 1.0339159965515137, 0.8428306579589844, -0.06936723738908768, -0.02786678448319435, -0.8109739422798157, 0.8124374151229858, 0.5190610885620117, -0.9648462533950806, 0.37740853428840637, 0.7552958130836487, 0.2403126209974289, -0.2586943805217743, 0.5283263325691223, 0.2253909409046173, 0.436087965965271, -0.36136162281036377, -0.00735465670004487, 0.11346279829740524, -0.12989041209220886, -0.2621425986289978, -0.35580703616142273, 0.4919913411140442, 0.08229340612888336 ]
http://arxiv.org/abs/2406.07287v1
http://arxiv.org/pdf/2406.07287v1
Bilingual Sexism Classification: Fine-Tuned XLM-RoBERTa and GPT-3.5 Few-Shot Learning
2024-06-11T14:15:33
2024-06-11T14:15:33
AmirMohammad Azadi, Baktash Ansari, Sina Zamani
cs.CL
cs.CL
Sexism in online content is a pervasive issue that necessitates effective classification techniques to mitigate its harmful impact. Online platforms often have sexist comments and posts that create a hostile environment, especially for women and minority groups. This content not only spreads harmful stereotypes but also causes emotional harm. Reliable methods are essential to find and remove sexist content, making online spaces safer and more welcoming. Therefore, the sEXism Identification in Social neTworks (EXIST) challenge addresses this issue at CLEF 2024. This study aims to improve sexism identification in bilingual contexts (English and Spanish) by leveraging natural language processing models. The tasks are to determine whether a text is sexist and what the source intention behind it is. We fine-tuned the XLM-RoBERTa model and separately used GPT-3.5 with few-shot learning prompts to classify sexist content. The XLM-RoBERTa model exhibited robust performance in handling complex linguistic structures, while GPT-3.5's few-shot learning capability allowed for rapid adaptation to new data with minimal labeled examples. Our approach using XLM-RoBERTa achieved 4th place in the soft-soft evaluation of Task 1 (sexism identification). For Task 2 (source intention), we achieved 2nd place in the soft-soft evaluation.
[ -0.23781083524227142, -1.005761742591858, 0.41193872690200806, 0.5901901721954346, -0.1436755508184433, -0.11570949852466583, -0.20927470922470093, -0.6344072818756104, -0.02764342725276947, 0.45288458466529846, -0.7106446623802185, -0.5390087366104126, -0.7497133612632751, 0.5685616731643677, -0.4935840368270874, 1.2422540187835693, 0.03028074838221073, 0.3048887550830841, 0.04761917516589165, -0.05092128366231918, -0.3926525115966797, -0.3524589240550995, -0.6141284704208374, -0.027940882369875908, 0.564766526222229, 0.1833273321390152, 0.535422682762146, 0.4425155222415924, 0.5052803158760071, 0.3769415020942688, -0.4328123927116394, 0.524998664855957, -0.7545576095581055, -0.15958285331726074, -0.3155844211578369, -0.4678255319595337, -0.5650012493133545, -0.11481549590826035, 0.5273242592811584, 0.6276327967643738, 0.06371351331472397, 0.3859061002731323, 0.1528138965368271, 0.493956983089447, -0.4685707986354828, 0.2481391876935959, -0.6635304689407349, 0.3333221971988678, -0.44007110595703125, -0.24782559275627136, -0.37905430793762207, -0.37856411933898926, 0.09918266534805298, -0.3324199318885803, 0.37555578351020813, -0.08269062638282776, 0.5975539684295654, -0.14129173755645752, -0.857572615146637, -0.30607396364212036, -0.7634282112121582, 0.8095476627349854, -0.5174025297164917, 0.3810727894306183, 0.5380584597587585, 0.08390627056360245, -0.10567371547222137, -0.19848690927028656, -0.5439465641975403, 0.28892281651496887, -0.1228368803858757, -0.09089887142181396, -0.3348475694656372, -0.2761625647544861, 0.3532845377922058, -0.20534870028495789, -0.8862653970718384, 0.08613111823797226, -0.583501935005188, -0.173696368932724, 0.5846112966537476, 0.11451707035303116, 0.6435801386833191, -0.5624073147773743, -0.4150664508342743, 0.3921627402305603, -0.6329123377799988, -0.1130000650882721, 0.911092221736908, 0.6571527719497681, -0.3951844274997711, 0.3454727232456207, 0.16649770736694336, 0.24754862487316132, -0.0872947946190834, -0.1705375760793686, 0.4718555808067322, -0.296746164560318, -0.05733238160610199, -0.11617989093065262, 0.8798946142196655, 0.05811154097318649, 0.20109833776950836, 0.022975564002990723, -0.016881316900253296, 0.026398494839668274, 0.33854445815086365, -0.5328914523124695, 0.07372840493917465, -0.07520516961812973, -0.3442303240299225, -0.3255733847618103, 0.13890990614891052, -0.6968651413917542, -0.17519475519657135, -0.3747583329677582, 0.19948585331439972, -0.36179599165916443, -0.36748170852661133, -0.2473277598619461, -0.21517719328403473, 0.10982431471347809, 0.4191204309463501, -0.940788745880127, 0.4023303687572479, 0.7937642335891724, 0.7909950613975525, -0.3638647794723511, 0.055623654276132584, -0.3084772527217865, 0.07375440001487732, -0.12516479194164276, 0.48629438877105713, -0.4758898615837097, -0.19553084671497345, 0.15754979848861694, 0.40234264731407166, -0.22421498596668243, -0.23785080015659332, 0.8267613053321838, -0.6162824630737305, 0.555621325969696, -0.37542322278022766, -0.17654599249362946, -0.2926802635192871, 0.4002646505832672, -0.5639608502388, 0.7824952602386475, -0.08010359853506088, -0.9634868502616882, 0.30207541584968567, -0.6569825410842896, -0.45341387391090393, 0.07147302478551865, 0.05106576904654503, -0.5818594098091125, -0.2130993902683258, 0.04832635447382927, 0.3833983838558197, -0.03153809532523155, 0.0006351832416839898, -0.5473801493644714, -0.15901078283786774, 0.17115290462970734, -0.4483274221420288, 1.0575001239776611, 0.03284410014748573, -0.4879933297634125, 0.17465339601039886, -0.7295427322387695, -0.0768033117055893, 0.17660361528396606, -0.0056893667206168175, -0.5161247253417969, -0.05601527914404869, 0.3308207094669342, 0.12476100027561188, 0.11649585515260696, -0.44191452860832214, -0.1579769253730774, -0.7141035795211792, 0.13664132356643677, 0.7517483234405518, -0.17492027580738068, 0.44411447644233704, 0.008564061485230923, 0.6801749467849731, -0.00431203655898571, 0.21360526978969574, 0.13831521570682526, -0.6408542394638062, -0.6389601230621338, -0.2541959583759308, 0.18743398785591125, 0.8184006214141846, -0.6396800875663757, 0.3711540102958679, -0.21671128273010254, -0.3272959887981415, -0.01977836713194847, 0.6413013339042664, 0.6711938381195068, 0.052095551043748856, 0.44303098320961, -0.18967218697071075, -0.81834876537323, -0.8916828036308289, -0.24377183616161346, -0.05101846531033516, 0.14489632844924927, 0.1750211864709854, 0.740178644657135, -0.25775259733200073, 0.6024882197380066, -0.24145421385765076, -0.6326884031295776, -0.4440360367298126, 0.4722028076648712, 0.18954996764659882, 0.3353610932826996, 0.7243919372558594, -1.0989385843276978, -0.6116390824317932, 0.1456492692232132, -0.7608982920646667, -0.12551136314868927, 0.49240750074386597, -0.11452651023864746, 0.22920842468738556, 0.032007329165935516, -0.3249298632144928, 0.2492918074131012, 0.32926100492477417, -0.08681730180978775, 0.1719774752855301, -0.10700452327728271, 0.12517710030078888, -0.8338266015052795, -0.20544789731502533, 0.44102203845977783, -0.4249001443386078, -0.6375787854194641, 0.007256003096699715, 0.06531822681427002, 0.09574004262685776, -0.7536897659301758, 0.3466104567050934, -0.363182008266449, 0.004488947335630655, -0.3309578597545624, 0.018553799018263817, -0.3732577860355377, 0.4538003206253052, 0.06462492048740387, 0.25569993257522583, 0.3063408434391022, -0.3574013411998749, 0.1949777901172638, 0.21299701929092407, 0.11831413954496384, 0.461393266916275, -0.3440052270889282, 0.5136486887931824, -0.43750593066215515, 0.329721063375473, -1.027916431427002, -0.27026063203811646, 0.508332371711731, -0.3634603023529053, 0.16285651922225952, -0.5533674359321594, -0.6502887606620789, -0.30261579155921936, -0.41673222184181213, 0.46543416380882263, 0.22114938497543335, -0.4315374493598938, 0.4003419876098633, 0.4764268398284912, -0.313170462846756, -0.5875325798988342, -0.4954659342765808, -0.22678770124912262, -0.17759615182876587, -0.4899298846721649, 0.2772199213504791, 0.11128559708595276, -0.11788344383239746, -0.2746076285839081, 0.163254976272583, -0.2900165915489197, -0.037220604717731476, 0.2457134872674942, 0.3430687189102173, -0.030191263183951378, 0.09733769297599792, 0.28708988428115845, -0.0693439319729805, 0.06682227551937103, 0.14085324108600616, 0.467436283826828, -0.2777427136898041, -0.14764288067817688, -0.25665953755378723, 0.485981285572052, 0.3053930997848511, -0.06713948398828506, 0.8019958734512329, 1.1732218265533447, -0.4757317900657654, -0.5659610629081726, -0.16194546222686768, -0.039722200483083725, -0.40522798895835876, 0.24360787868499756, -0.19123385846614838, -0.7836889028549194, 0.3704666793346405, 0.38890400528907776, -0.14296016097068787, 0.3341318964958191, 0.5699480772018433, -0.15876998007297516, 1.3800621032714844, 0.840275228023529, 0.04779234156012535, 0.3160022497177124, -0.2459186613559723, -0.018701495602726936, -0.3688511252403259, -0.12385517358779907, -0.5785036087036133, -0.3012773394584656, -0.828952968120575, -0.37698614597320557, 0.5034767389297485, -0.4340820610523224, -0.0032276781275868416, 0.6188814043998718, -0.26348239183425903, 0.5754117965698242, 0.18332408368587494, 0.3992995321750641, 0.2051614671945572, -0.04545344412326813, -0.03697330132126808, -0.47593677043914795, -0.5175411701202393, -0.587015688419342, 1.024037480354309, 0.5061658024787903, 0.369963139295578, 0.6575284004211426, 0.3585096597671509, 0.4989439845085144, 0.48636090755462646, -0.44169580936431885, 0.680526852607727, -0.42524024844169617, -0.8820571899414062, 0.11916744709014893, -0.6499559283256531, -0.9985415935516357, 0.39951181411743164, -0.43002936244010925, -0.8778645396232605, -0.028815487399697304, 0.10902430862188339, -0.03327927365899086, 0.27322256565093994, -0.4364059269428253, 0.8526691198348999, -0.22054527699947357, -0.5946769118309021, -0.17523379623889923, -0.621430516242981, 0.6876309514045715, -0.22861212491989136, 0.6327864527702332, -0.3163524568080902, -0.04731936752796173, 0.595012366771698, -0.24592998623847961, 1.3177316188812256, -0.08077652007341385, -0.3071661591529846, -0.21292801201343536, 0.017017865553498268, 0.4000900387763977, -0.02293987013399601, -0.008154175244271755, 0.3979666233062744, 0.16948749125003815, -0.28461700677871704, -0.29555898904800415, 0.6216614246368408, -0.802763819694519, -0.26430073380470276, -0.32732027769088745, -0.32149550318717957, -0.11074571311473846, 0.2701722979545593, 0.3028663098812103, 0.4198785424232483, -0.2630537748336792, 0.08914914727210999, 0.5367358922958374, -0.1781294196844101, 0.13679896295070648, 0.6136707663536072, -0.36456432938575745, -0.3015133738517761, 0.8464681506156921, 0.0810202956199646, -0.05799234285950661, 0.42086055874824524, 0.09587635099887848, -0.40693262219429016, -0.5366785526275635, -0.21355006098747253, 0.2934627830982208, -0.8173959851264954, -0.04556332901120186, -0.7891901731491089, -0.09903479367494583, -0.6126222014427185, 0.09496646374464035, -0.27672433853149414, -0.031510282307863235, -0.3618113696575165, 0.02999293804168701, -0.06594018638134003, 0.5280587673187256, 0.17584238946437836, 0.2564775347709656, -0.7204968929290771, 0.547182559967041, 0.2035880982875824, 0.05841326341032982, -0.49273061752319336, -0.6633402109146118, 0.2236056625843048, 0.05421755835413933, -0.544866681098938, -1.2408721446990967, 0.673323929309845, 0.19142010807991028, 0.42863795161247253, 0.5496231317520142, 0.03337109088897705, 0.5000114440917969, -0.30948397517204285, 0.42056944966316223, 0.1783829629421234, -0.9874408841133118, 0.8013594746589661, -0.5675413608551025, -0.08296588063240051, 0.22941149771213531, 0.9287300109863281, -0.24873314797878265, -0.3836369812488556, -0.5799931883811951, -0.7757304310798645, 0.8218151926994324, 0.5939736366271973, 0.478109747171402, -0.29507914185523987, 0.10215556621551514, 0.37148386240005493, 0.14467604458332062, -1.335745096206665, -0.38046860694885254, 0.228281632065773, -0.25188857316970825, 0.33491048216819763, -0.26923656463623047, -0.24138899147510529, -0.3412950038909912, 0.7456109523773193, -0.3098789155483246, 0.09025976806879044, -0.15073713660240173, -0.44705384969711304, -0.30073249340057373, 0.4813172519207001, 0.563160240650177, 0.6815388202667236, -0.16747985780239105, 0.31942471861839294, 0.43456152081489563, -0.17896051704883575, 0.17959196865558624, -0.059942640364170074, -0.2983117997646332, 0.14371216297149658, 0.4800190329551697, 0.7735257744789124, 0.4764728844165802, -0.5714349150657654, 0.8291049003601074, -0.0890597328543663, -0.21411475539207458, -0.49693408608436584, 0.15195788443088531, -0.30614057183265686, 0.3564260005950928, 0.1879672408103943, 0.2715703845024109, 0.13553188741207123, -0.7394317388534546, -0.061020635068416595, 0.5587047338485718, -0.47721067070961, -0.6126444935798645, 0.6395768523216248, 0.208559051156044, -0.3388378918170929, 0.08277944475412369, -0.5844947099685669, -0.8406485319137573, 0.5267828106880188, 0.7054227590560913, 0.8287646174430847, -0.08760751038789749, 0.5476524233818054, 0.5894597172737122, 0.34492331743240356, 0.08456671237945557, 0.2821502685546875, -0.17311567068099976, -1.1460442543029785, -0.18121087551116943, -0.5395091772079468, -0.2583843469619751, -0.03866308927536011, -0.5512436032295227, 0.5843713283538818, -0.6119993329048157, -0.2712625563144684, 0.2556699812412262, -0.13891324400901794, -0.6801267862319946, -0.21285295486450195, 0.5066997408866882, 0.2500810921192169, -1.2085301876068115, 0.48383963108062744, 0.6846891641616821, -0.2831951081752777, -0.3443716764450073, -0.2857670783996582, 0.7937753200531006, -0.5144413113594055, 1.0366053581237793, 0.38275018334388733, -0.1928412914276123, -0.1767595261335373, -0.4921974539756775, -0.6032246351242065, 0.6269057393074036, 0.5177170634269714, -0.36402657628059387, 0.05442586913704872, 0.27490362524986267, 0.7688641548156738, -0.29524290561676025, 0.5524325966835022, 0.29943767189979553, 0.5522873997688293, -0.02321302518248558, -1.151168942451477, -0.07612542062997818, -0.45933499932289124, 0.00407595606520772, 0.21323350071907043, -0.38608741760253906, 0.6865618824958801, -0.10358622670173645, -0.43271762132644653, -0.014726681634783745, 0.5115953087806702, 0.23124365508556366, 0.4933699369430542, 0.7372454404830933, 0.16608604788780212, 0.5954049229621887, -0.12459257990121841, 0.719746470451355, 0.25893622636795044, 0.4189217984676361, 0.9196687936782837, -0.29301032423973083, 0.8323105573654175, 0.1967473179101944, -0.48124679923057556, 0.5736358165740967, 0.301016241312027, -0.0403701514005661, 0.13847263157367706, -0.05564558878540993, -0.14945240318775177, -0.20718546211719513, -0.09071511030197144, -0.20831872522830963, 0.6342892646789551, 0.3338119089603424, -0.5208109021186829, -0.3032572865486145, 0.33169105648994446, 0.2410963624715805, 0.23073093593120575, -0.10631504654884338, 0.7662662267684937, -0.02107917331159115, -0.3321441411972046, 0.25880226492881775, 0.324426531791687, 0.8093734979629517, -0.5985836982727051, 0.03451127931475639, 0.08610033243894577, 0.2379113882780075, -0.42633700370788574, -0.4431988000869751, 0.24020344018936157, 0.3223542273044586, -0.3321487307548523, -0.45206204056739807, 0.7506953477859497, -0.6838112473487854, -0.796019434928894, 0.48783907294273376, 0.438457727432251, 0.08789589256048203, 0.06091105192899704, -0.8551461696624756, -0.06207624450325966, 0.032815031707286835, 0.1594674438238144, 0.3231663107872009, 0.3161141574382782, -0.10992284119129181, 0.5837954878807068, 0.9727351665496826, 0.25562721490859985, 0.025080911815166473, 0.18078458309173584, 0.41479113698005676, -0.5577488541603088, -0.6484963893890381, -0.8997863531112671, 0.0664030909538269, -0.12535637617111206, -0.366232693195343, 0.8894844055175781, 0.38243311643600464, 0.7470821738243103, -0.05858013033866882, 0.4822694957256317, -0.06193942204117775, 0.7319910526275635, -0.4178156852722168, 0.5019043684005737, -0.5669811367988586, 0.637137234210968, -0.6617115139961243, -0.8214960694313049, -0.4523744285106659, 0.44870784878730774, -0.6088352203369141, 0.1117880716919899, 0.5897724628448486, 0.8715628981590271, -0.34432682394981384, 0.2894802987575531, 0.20559944212436676, 0.1574612706899643, 0.3532739579677582, 0.3111530840396881, 0.819892942905426, -0.4997663199901581, 0.6156250834465027, -0.3784175217151642, -0.05653825402259827, -0.1639246642589569, -0.8872683644294739, -0.8951362371444702, -0.3927434980869293, -0.5060186982154846, -0.09643680602312088, 0.04692825302481651, 1.2339671850204468, 0.8308452367782593, -0.6502050161361694, -0.027057567611336708, -0.028579264879226685, 0.40820544958114624, -0.23993906378746033, -0.2610391080379486, 0.09786844253540039, -0.3260986804962158, -0.9876005053520203, 0.19958269596099854, 0.3460368812084198, -0.15729933977127075, -0.22174584865570068, -0.02471037581562996, -0.15178072452545166, -0.20517411828041077, 0.7522926330566406, 0.3148660659790039, -0.6908988356590271, -0.23467181622982025, -0.19146403670310974, -0.025814129039645195, -0.10841857641935349, 0.49211224913597107, -0.27427420020103455, 0.43106362223625183, 0.6194804310798645, 0.32102468609809875, 0.38521137833595276, -0.00031944309012033045, 0.45844316482543945, -0.953361988067627, 0.19641195237636566, 0.16046877205371857, 0.4588746726512909, 0.2617778778076172, -0.3117254376411438, 0.37777289748191833, 0.6171420216560364, -0.1559254676103592, -0.9037237763404846, 0.015899747610092163, -1.251815676689148, -0.08154763281345367, 1.2637791633605957, -0.1703776717185974, -0.369728147983551, -0.3371197283267975, -0.342087060213089, 0.1285768300294876, -0.0748564600944519, 0.5809833407402039, 0.4985884130001068, 0.04359631612896919, -0.3422376811504364, -0.6855294704437256, 0.2659004032611847, 0.42526975274086, -1.0157582759857178, -0.28088563680648804, 0.34790894389152527, 0.4576020836830139, 0.10685938596725464, 0.3581215739250183, -0.3209545314311981, 0.40216127038002014, -0.5411092042922974, -0.2517782151699066, 0.2625353932380676, -0.2684378921985626, -0.13645054399967194, 0.590610146522522, -0.5315554141998291, 0.04486560821533203 ]
http://arxiv.org/abs/2406.07277v1
http://arxiv.org/pdf/2406.07277v1
Speaking Your Language: Spatial Relationships in Interpretable Emergent Communication
2024-06-11T14:04:25
2024-06-11T14:04:25
Olaf Lipinski, Adam J. Sobey, Federico Cerutti, Timothy J. Norman
cs.CL
cs.CL, cs.AI, cs.MA
Effective communication requires the ability to refer to specific parts of an observation in relation to others. While emergent communication literature shows success in developing various language properties, no research has shown the emergence of such positional references. This paper demonstrates how agents can communicate about spatial relationships within their observations. The results indicate that agents can develop a language capable of expressing the relationships between parts of their observation, achieving over 90% accuracy when trained in a referential game which requires such communication. Using a collocation measure, we demonstrate how the agents create such references. This analysis suggests that agents use a mixture of non-compositional and compositional messages to convey spatial relationships. We also show that the emergent language is interpretable by humans. The translation accuracy is tested by communicating with the receiver agent, where the receiver achieves over 78% accuracy using parts of this lexicon, confirming that the interpretation of the emergent language was successful.
[ -0.25194013118743896, -0.6848641037940979, 0.7834556698799133, 0.6173146367073059, -0.0018129621166735888, 0.20236192643642426, -0.36686745285987854, -1.1029837131500244, 0.2660018503665924, 0.258342981338501, -0.16311629116535187, -0.3752172589302063, -0.4704984724521637, -0.0702301636338234, -0.3155234158039093, 0.6725758910179138, 0.17028972506523132, -0.05677437782287598, -0.10721328109502792, -0.4088493883609772, -0.6321814656257629, -0.5828747153282166, -0.6525962948799133, -0.6657023429870605, 0.36094236373901367, 0.29208195209503174, 1.1674981117248535, 0.8622134923934937, 0.5050824880599976, 0.4897294044494629, -0.35326719284057617, 0.1598520278930664, -0.3560679852962494, 0.35356298089027405, -0.47116634249687195, -0.8351365923881531, 0.18637186288833618, -0.14479349553585052, 0.6326021552085876, 0.9696841239929199, -0.2951129078865051, -0.1126788780093193, -0.21751752495765686, 0.44820070266723633, -0.20326191186904907, 0.6034361124038696, -0.5496233701705933, 0.2983332872390747, -0.23002555966377258, -0.4564579725265503, -0.44088026881217957, -0.24917080998420715, 0.31043294072151184, -0.6846978664398193, 0.1939372420310974, 0.06933946162462234, 0.9869499206542969, -0.08901537209749222, -0.3892546594142914, -0.4354065954685211, -1.2787481546401978, 0.4604088366031647, -0.29375213384628296, 0.42070433497428894, 0.5412827134132385, 0.46928727626800537, -0.293433278799057, -0.5908159017562866, -0.502928614616394, -0.2553386092185974, -0.3888401687145233, 0.12327644973993301, -0.15575018525123596, -0.08959099650382996, 0.15251924097537994, -0.1100536361336708, -0.24163588881492615, -0.49241435527801514, -0.2823944687843323, 0.1418611854314804, 0.5156456828117371, 0.01065158098936081, 0.6560644507408142, -0.08900440484285355, -0.4706566333770752, -0.029334232211112976, -0.46468034386634827, -0.09741663932800293, 0.23313027620315552, 0.6196550130844116, -0.33138319849967957, 0.49147021770477295, 0.29873067140579224, 0.56251460313797, 0.319388210773468, 0.012922142632305622, 0.06592335551977158, -0.5622177720069885, 0.18474629521369934, -0.08219997584819794, 0.6331550478935242, 0.3450469970703125, 0.2809382975101471, -0.4705697298049927, 0.046568986028432846, -0.16960471868515015, 0.3758028447628021, -0.07593965530395508, -0.326285719871521, -0.05288403481245041, -0.20307797193527222, -0.1276191771030426, 0.24733465909957886, -0.44179248809814453, -0.3861616253852844, -0.0831092819571495, 0.10510241240262985, -0.5403634905815125, -0.4376150071620941, -0.19890905916690826, -0.11808925867080688, 0.4392991065979004, 0.23001070320606232, -1.356803297996521, 0.4313756823539734, 0.4291745722293854, 0.9886574745178223, 0.32641658186912537, -0.6863152980804443, 0.026916133239865303, 0.5632186532020569, -0.5736091732978821, 1.217734456062317, -0.3096005916595459, -0.48487532138824463, 0.09640099853277206, -0.20593398809432983, -0.31199219822883606, -0.6131230592727661, 0.21910503506660461, -0.4874175786972046, -0.0654778853058815, -0.3319530189037323, -0.1919236034154892, 0.22669726610183716, -0.033428966999053955, -0.6797357797622681, 0.7073200941085815, 0.13979317247867584, -0.5763954520225525, 0.44799667596817017, -0.7543396949768066, -0.615403413772583, 0.5864807367324829, -0.30111822485923767, -0.053708724677562714, 0.04168282821774483, -0.030559202656149864, -0.03168851509690285, 0.39321649074554443, 0.090801902115345, 0.1379012167453766, -0.02436775155365467, 0.6447712182998657, 0.07392904162406921, 0.4319681227207184, 0.4964437782764435, -0.43218091130256653, -0.019353821873664856, -0.4773067235946655, 0.10458850115537643, 0.03979804366827011, -0.49758246541023254, -0.3911331593990326, 0.4540553689002991, -0.11224097013473511, 0.10917830467224121, 0.23446539044380188, -0.32439514994621277, -0.18432296812534332, -0.648034393787384, 0.27382034063339233, 0.45081329345703125, 0.1727481633424759, 0.9726270437240601, -0.18991419672966003, 0.28247547149658203, 0.16894184052944183, -0.13340650498867035, -0.1358991265296936, -0.5373391509056091, -0.5690110921859741, 0.3005646765232086, -0.2406373918056488, 0.4582787752151489, -0.8495124578475952, 0.4544178545475006, -0.3319956362247467, -0.5247709155082703, -0.17102111876010895, 0.04824896901845932, 0.2735389173030853, 0.340984046459198, 0.002929740585386753, 0.05431010201573372, -0.6548630595207214, -0.6568244695663452, -0.16134804487228394, -0.7231376767158508, 0.17215055227279663, 0.6944983005523682, 0.14998283982276917, 0.10250008851289749, 0.851477324962616, -0.48173075914382935, 0.0040189349092543125, -0.5082672834396362, 0.32965290546417236, -0.06623782217502594, 0.270384281873703, 0.7765963077545166, -0.7653109431266785, -0.702704906463623, 0.4216075539588928, -1.023447036743164, -0.12701258063316345, -0.12281130999326706, -0.276580274105072, -0.16410590708255768, 0.42745426297187805, -0.4878954291343689, 0.03156867250800133, 0.7238438725471497, -0.8995356559753418, 0.24547800421714783, -0.34596118330955505, 0.03223119676113129, -1.1100175380706787, -0.2153991013765335, 0.017252758145332336, -0.4479743540287018, -0.7951446771621704, 0.2823385000228882, -0.3681276738643646, -0.18665854632854462, -0.5388308763504028, 0.38960471749305725, -0.7054299116134644, -0.20809562504291534, -0.1392851322889328, 0.39417535066604614, -0.1697411984205246, 0.011904703453183174, 0.543464183807373, 0.7865583896636963, 0.3455313742160797, -0.5013259053230286, 0.3977213203907013, 0.5936552882194519, -0.48769906163215637, 0.8111106753349304, -0.625956118106842, -0.04833987355232239, -0.11185593158006668, 0.061916667968034744, -0.8522074818611145, -0.08635263890028, 0.3565126955509186, -0.47782373428344727, 0.0689530074596405, -0.07807916402816772, -0.31214872002601624, -0.10191889107227325, 0.4281013011932373, 0.14107181131839752, 0.028552982956171036, -0.35888829827308655, 0.3026963770389557, 0.4004743695259094, -0.11995879560709, -0.25492340326309204, -0.8990090489387512, 0.16178098320960999, -0.12441710382699966, -0.7131597995758057, -0.3051008880138397, -0.05994581803679466, -0.4551560878753662, 0.10606164485216141, 0.2682809829711914, -0.4490155279636383, 0.11815465241670609, 0.27221575379371643, -0.22078004479408264, -0.3806595206260681, 0.18387733399868011, -0.40636971592903137, -0.05803839489817619, 0.2953130304813385, -0.1286284625530243, 0.30171531438827515, -0.19151487946510315, -0.28491562604904175, -0.1266646832227707, 0.6283425688743591, 0.5826730132102966, 0.15843382477760315, 1.169276475906372, 0.25766780972480774, -0.2552264928817749, -0.06030193716287613, -0.0751795768737793, -0.07565402239561081, -0.45399320125579834, 0.3500266373157501, -0.6568042635917664, -0.3997705280780792, 0.6344935297966003, -0.015773067250847816, -0.37878182530403137, 0.12578938901424408, 0.04761901870369911, -0.3105291426181793, 0.9037759304046631, 0.7005667090415955, 0.2267574816942215, 0.6983634829521179, -0.09372441470623016, 0.3750375807285309, -0.6883211731910706, -0.5668432712554932, -0.6299834251403809, -0.27889373898506165, -0.5832853317260742, -0.5580786466598511, 0.2112593650817871, 0.06881444901227951, -0.0902496799826622, 0.8189125657081604, -0.1278710514307022, 0.5700615644454956, 0.3411167562007904, 0.0556352324783802, 0.35075560212135315, 0.04525220766663551, -0.0830342099070549, -0.4502781629562378, -0.606922447681427, -0.6760150194168091, 0.4504525363445282, 0.4717550277709961, 0.9719961881637573, 0.5796827077865601, 0.5952489972114563, 0.10131716728210449, 0.22862116992473602, -0.7274814248085022, 0.4382326006889343, 0.3731671869754791, -0.4900859296321869, -0.48609188199043274, -0.45421111583709717, -1.2460826635360718, 0.424633264541626, -0.4125058650970459, -0.8668561577796936, 0.4161839187145233, -0.23074693977832794, -0.11900219321250916, 0.13624751567840576, -0.8004201054573059, 0.6283934116363525, -0.3039580285549164, -0.043214716017246246, 0.05372220277786255, -0.7060635089874268, -0.1399107724428177, 0.20066817104816437, 0.2060401439666748, -0.04089650511741638, -0.18172550201416016, 0.568718433380127, -0.28374144434928894, 0.9354131817817688, 0.029913457110524178, -0.22684958577156067, 0.6148605346679688, 0.12219098210334778, 0.26538318395614624, -0.03028644062578678, 0.03144865483045578, 0.20971886813640594, 0.06108107417821884, -0.47060680389404297, -0.8000580072402954, 0.430158406496048, -1.0845526456832886, -0.1909126490354538, -0.569743275642395, -0.7368345260620117, -0.11987189203500748, 0.22087466716766357, 0.08349039405584335, 0.2239914834499359, -0.6268319487571716, -0.2298322468996048, 0.38840100169181824, 0.10725780576467514, 0.3948461711406708, 0.8838866949081421, -0.12454261630773544, -0.20119933784008026, 0.8998820781707764, -0.050946593284606934, 0.395590215921402, 0.6745014786720276, 0.24185620248317719, -0.49454668164253235, -0.48804420232772827, -0.25041693449020386, 0.44347336888313293, -0.5879361629486084, 0.02221301756799221, -0.49137207865715027, -0.32029932737350464, -0.3319428563117981, -0.36650437116622925, -0.3513401448726654, -0.14451655745506287, 0.06511978805065155, -0.2508094906806946, -0.09993502497673035, 1.4063827991485596, -0.4482285976409912, 0.5675966739654541, -0.929548442363739, -0.2018277943134308, 0.0731678232550621, 0.15109698474407196, -0.15487946569919586, -0.2229008674621582, -0.621729850769043, 0.2933267652988434, -0.15026989579200745, -1.2009234428405762, 0.523848831653595, 0.11966400593519211, 0.6385295987129211, 0.6272648572921753, -0.44065889716148376, 0.8636211156845093, -0.490520179271698, 0.7040224671363831, 0.058415237814188004, -0.9235563278198242, 0.7059576511383057, -0.48495763540267944, 0.38897329568862915, 0.35398975014686584, 0.2001490741968155, -0.597892701625824, -0.6975686550140381, -0.8906546831130981, -0.7521722912788391, 0.5047377347946167, 0.2635226547718048, 0.23220163583755493, -0.452810138463974, 0.21086902916431427, -0.5021852254867554, 0.30778929591178894, -0.7751501798629761, -0.41274452209472656, 0.17125576734542847, 0.25620952248573303, -0.45437127351760864, -0.34207966923713684, -0.4989789128303528, -0.15803688764572144, -0.04664164036512375, 0.04915602132678032, 0.5334091186523438, 0.19767524302005768, -0.0050660413689911366, -0.541387140750885, 0.28439003229141235, 0.827692449092865, 0.9422499537467957, 0.029808366671204567, 0.4344962537288666, -0.1673339605331421, -0.5542573928833008, 0.33754855394363403, -0.21520093083381653, -0.2443350851535797, 0.26691100001335144, 0.6600925326347351, 0.45663076639175415, 0.554180383682251, -0.36965590715408325, 0.46030282974243164, -0.05783993378281593, 0.07874790579080582, -0.3386261463165283, -0.3466026484966278, 0.3779720366001129, 0.36550644040107727, 0.13621021807193756, 0.3141476511955261, -0.09919987618923187, -0.9032264351844788, 0.2833465039730072, 0.36056584119796753, -0.5579720139503479, -0.7264798283576965, 0.6158864498138428, 0.5511476397514343, -0.2695818543434143, 0.5500553250312805, -0.34832024574279785, -0.4231733977794647, 0.4321202039718628, 1.218363642692566, 0.6398797631263733, -0.31576716899871826, 0.6423773169517517, 0.4323614239692688, 0.3923148214817047, 0.27888768911361694, 0.30795079469680786, -0.2178315371274948, -1.3230419158935547, -0.3568982481956482, -0.5878162980079651, -0.42228543758392334, -0.22803378105163574, -0.6647093892097473, -0.36844900250434875, -0.16301663219928741, -0.1692122220993042, -0.05507352948188782, 0.0948340892791748, -0.3213852047920227, -0.08365922421216965, 0.15594778954982758, 0.7166157364845276, -1.3266063928604126, 0.38528868556022644, 1.2310645580291748, -0.5514053702354431, -1.112431287765503, -0.23906320333480835, -0.24407453835010529, -0.7682321071624756, 0.9460480213165283, -0.5498320460319519, -0.08647684007883072, -0.04406890645623207, -0.5449283123016357, -1.0299500226974487, 0.8908441066741943, 0.35094788670539856, -0.17182181775569916, 0.14758111536502838, 0.3261338174343109, 0.9384765625, -0.5183224081993103, 0.5053570866584778, 0.43696510791778564, 0.5339611172676086, 0.4393293559551239, -0.8866038918495178, -0.03520313277840614, -0.014875495806336403, 0.18706810474395752, 0.33654507994651794, -0.6493057608604431, 0.5492064952850342, -0.5457972288131714, -0.8019334673881531, 0.2446940839290619, 1.0717244148254395, -0.22747592628002167, 0.33377745747566223, 0.18066126108169556, 0.22998227179050446, 0.7518086433410645, -0.16921482980251312, 0.9856539368629456, -0.31978118419647217, -0.03648659586906433, 1.2634215354919434, -0.29994305968284607, 0.9744324684143066, 0.5516536831855774, -0.18584392964839935, 0.8575795292854309, 0.2129553258419037, 0.3293515741825104, 0.38300076127052307, 0.11033130437135696, -0.7692403197288513, 0.07631661742925644, -0.42311036586761475, -0.07584750652313232, 0.5433553457260132, 0.46873366832733154, -0.37367209792137146, -0.3186695873737335, -0.2050883173942566, -0.03029564768075943, 0.6545014381408691, 0.052775368094444275, 1.000844120979309, 0.05839632451534271, -0.4331241846084595, -0.010088891722261906, -0.3318464457988739, 0.05626983195543289, -0.6254048943519592, -0.21019849181175232, 0.009692334569990635, 0.02302154153585434, -0.44518807530403137, -1.0932852029800415, 0.6183027029037476, -0.543982982635498, -0.20177820324897766, -0.2149435430765152, 0.589966356754303, -0.8446055054664612, -0.1048891618847847, 0.20635415613651276, 1.0363349914550781, 0.5488497018814087, 0.26947706937789917, -0.47941601276397705, 0.029828723520040512, -0.1952994018793106, 0.17310099303722382, 0.17603334784507751, 0.6469079852104187, -0.05108582228422165, 0.7377604246139526, 0.5710713863372803, 0.8823176026344299, 0.19408810138702393, 0.11949414014816284, 0.4530715048313141, -0.7557386159896851, -0.4329203963279724, -0.4978272020816803, 0.20199744403362274, -0.04758139327168465, -0.09726648777723312, 0.8728107213973999, 0.4356256127357483, 0.6754899024963379, -0.17980949580669403, 0.8064022660255432, -0.3264631927013397, 0.17519932985305786, -0.10220836848020554, 0.6636061668395996, 0.4839712381362915, 0.08927272260189056, -0.06695128232240677, -1.0486057996749878, 0.09477777034044266, 1.1474887132644653, -0.30045169591903687, 0.04862280189990997, 0.9744524359703064, 0.4280499219894409, 0.13489440083503723, -0.17016816139221191, 0.6357073187828064, 0.4046388566493988, 0.3235553801059723, 0.535536527633667, 1.1663135290145874, -0.27806323766708374, 0.6175547242164612, -0.34294435381889343, -0.2103673815727234, 0.3178384602069855, -0.7316197752952576, -0.5885120034217834, -0.740500807762146, -0.25870323181152344, -0.3576929271221161, 0.19707602262496948, 0.5134638547897339, 0.7863844633102417, -0.4855501651763916, -0.6532730460166931, -0.13169044256210327, 0.21657207608222961, -0.5353651642799377, -0.3402096629142761, -0.11650214344263077, -0.40231460332870483, -0.8975444436073303, 0.5576896071434021, 0.16699030995368958, 0.4342237114906311, -0.3133155107498169, -0.11940887570381165, -0.3288894295692444, 0.08492501080036163, 0.7738960385322571, 0.8292003870010376, -0.25100114941596985, -0.6766312122344971, -0.3962123692035675, -0.2646186947822571, 0.030301697552204132, 0.926847517490387, -0.4002569019794464, 0.7198284268379211, 0.374927818775177, 0.14749029278755188, 0.20967023074626923, 0.4202703535556793, 1.0134952068328857, -0.7847546339035034, 0.3544260561466217, 0.18327617645263672, 0.06617416441440582, 0.5847266912460327, -0.5612515807151794, 0.45980963110923767, 0.26720014214515686, -0.6552262902259827, -0.238870307803154, 0.382184773683548, -0.7269221544265747, 0.3247503340244293, 1.1547825336456299, -0.18930493295192719, -0.3362666368484497, -0.4005943834781647, -0.24408915638923645, 0.0476510152220726, -0.5186060070991516, 0.46538305282592773, 0.7107264399528503, -0.43981632590293884, -0.02122943103313446, -0.3820874094963074, 0.4768832325935364, 0.037536825984716415, -0.6385498642921448, -0.28793230652809143, 0.2984410226345062, 0.3305812180042267, 0.6993194222450256, 0.8854941725730896, 0.007833197712898254, -0.04143475741147995, 0.447943776845932, -0.13261528313159943, 0.40029293298721313, -0.21321332454681396, -0.033256154507398605, -0.09603448212146759, 0.6438080072402954, -0.34563198685646057 ]
http://arxiv.org/abs/2406.07268v1
http://arxiv.org/pdf/2406.07268v1
Advancing Grounded Multimodal Named Entity Recognition via LLM-Based Reformulation and Box-Based Segmentation
2024-06-11T13:52:29
2024-06-11T13:52:29
Jinyuan Li, Ziyan Li, Han Li, Jianfei Yu, Rui Xia, Di Sun, Gang Pan
cs.MM
cs.MM, cs.CL, cs.CV
Grounded Multimodal Named Entity Recognition (GMNER) task aims to identify named entities, entity types and their corresponding visual regions. GMNER task exhibits two challenging attributes: 1) The tenuous correlation between images and text on social media contributes to a notable proportion of named entities being ungroundable. 2) There exists a distinction between coarse-grained noun phrases used in similar tasks (e.g., phrase localization) and fine-grained named entities. In this paper, we propose RiVEG, a unified framework that reformulates GMNER into a joint MNER-VE-VG task by leveraging large language models (LLMs) as connecting bridges. This reformulation brings two benefits: 1) It enables us to optimize the MNER module for optimal MNER performance and eliminates the need to pre-extract region features using object detection methods, thus naturally addressing the two major limitations of existing GMNER methods. 2) The introduction of Entity Expansion Expression module and Visual Entailment (VE) module unifies Visual Grounding (VG) and Entity Grounding (EG). This endows the proposed framework with unlimited data and model scalability. Furthermore, to address the potential ambiguity stemming from the coarse-grained bounding box output in GMNER, we further construct the new Segmented Multimodal Named Entity Recognition (SMNER) task and corresponding Twitter-SMNER dataset aimed at generating fine-grained segmentation masks, and experimentally demonstrate the feasibility and effectiveness of using box prompt-based Segment Anything Model (SAM) to empower any GMNER model with the ability to accomplish the SMNER task. Extensive experiments demonstrate that RiVEG significantly outperforms SoTA methods on four datasets across the MNER, GMNER, and SMNER tasks.
[ -0.5953665375709534, -0.9377028346061707, 0.5441154837608337, 0.006575362756848335, -0.28711843490600586, 0.05281505361199379, -0.2913895547389984, -0.27400892972946167, 0.04678932949900627, 0.5231119394302368, -0.6541109085083008, -0.5246027112007141, -0.6805949807167053, 0.07131160795688629, -0.12096282839775085, 0.8345940113067627, -0.06807734072208405, 0.03570178896188736, -0.3008471131324768, -0.16178879141807556, -0.6394221782684326, -0.16107483208179474, -0.6795713901519775, -0.35230451822280884, 0.5132084488868713, 0.40749719738960266, 0.37526988983154297, 0.7754671573638916, 0.562842607498169, 0.3746502101421356, -0.042976174503564835, 0.3609801232814789, -0.5377673506736755, 0.24375396966934204, -0.15369300544261932, -0.19794142246246338, -0.26623648405075073, -0.124091736972332, 0.5379573702812195, 0.338029682636261, -0.0007053244626149535, 0.009140992537140846, -0.0709947794675827, 0.38614562153816223, -0.5194829106330872, 0.29959723353385925, -0.7727389931678772, -0.003976556938141584, -0.15246395766735077, -0.359365314245224, -0.33332380652427673, 0.12285003811120987, -0.0975111722946167, -0.6073019504547119, 0.3835224509239197, 0.058280687779188156, 1.1710519790649414, 0.3567889928817749, -0.5220482349395752, -0.21609199047088623, -0.48690274357795715, 0.7612754106521606, -0.33679431676864624, 0.7914685606956482, -0.09924349188804626, 0.3617442846298218, -0.35867542028427124, -0.7999148964881897, -0.31339016556739807, -0.23517195880413055, 0.0057867467403411865, 0.029022153466939926, -0.15128661692142487, 0.1574607491493225, 0.3299851715564728, 0.31359782814979553, -0.19486074149608612, -0.06933121383190155, -0.4693767726421356, -0.13736186921596527, 0.30167296528816223, 0.04911665618419647, 0.45318329334259033, -0.48355525732040405, -0.6871581077575684, 0.128970205783844, -0.578819215297699, 0.30734312534332275, -0.07974427938461304, 0.2352466881275177, 0.12644214928150177, 0.7072818875312805, -0.28686708211898804, 0.49488458037376404, 0.3570300340652466, -0.4857563078403473, 0.08915218710899353, -0.04376143217086792, -0.45874667167663574, -0.11534231156110764, 0.8039292693138123, 0.7782905697822571, 0.23312346637248993, -0.34349653124809265, -0.3316916525363922, 0.008474192582070827, 0.22470971941947937, -1.0740034580230713, -0.3394038677215576, -0.042579080909490585, -0.37640661001205444, -0.13563548028469086, 0.16963143646717072, -0.8612613081932068, -0.5203065276145935, -0.5779271125793457, 0.28596919775009155, -0.4837424159049988, -0.10140007734298706, -0.041492149233818054, -0.044224292039871216, 0.32501164078712463, 0.5951530933380127, -0.48824676871299744, 0.03496444225311279, 0.6647599339485168, 0.6893358826637268, -0.025179844349622726, 0.015215856023132801, -0.6898602843284607, 0.17774859070777893, -0.08688933402299881, 0.8591983914375305, -0.6370753049850464, -0.3830517530441284, -0.4033736288547516, 0.5943878293037415, -0.11517001688480377, -0.44753825664520264, 0.3884522616863251, -0.5419155955314636, -0.03328748047351837, -0.14054933190345764, -0.47561344504356384, -0.25488415360450745, 0.5481843948364258, -0.6023849248886108, 0.7431775331497192, -0.19617792963981628, -0.7526568174362183, 0.519989550113678, -0.3759993612766266, -0.08623859286308289, 0.22859418392181396, -0.5954524874687195, -0.4618152976036072, 0.17278873920440674, 0.5434454083442688, 0.8461610674858093, -0.3209916055202484, 0.6325831413269043, -0.24366870522499084, -0.18032655119895935, 0.06948654353618622, -0.3666980564594269, 0.253213495016098, 0.0069887530989944935, -0.18078932166099548, 0.21096698939800262, -0.8580271005630493, 0.2549375593662262, 0.11473237723112106, -0.4206603765487671, -0.30052506923675537, -0.030800098553299904, 0.30860838294029236, 0.11492844671010971, -0.057159941643476486, -0.4139809310436249, 0.2166982740163803, 0.13874411582946777, 0.558999240398407, 0.6122803688049316, 0.2383061647415161, 0.6466941833496094, -0.019016556441783905, 0.5324278473854065, 0.12864412367343903, -0.17973829805850983, -0.589903712272644, -0.403502881526947, -0.7922065854072571, -0.8278164267539978, 0.5517101883888245, 0.5142847895622253, -0.8606919050216675, 0.1820032149553299, -0.6069738864898682, -0.3626761734485626, -0.5053815245628357, -0.11324413120746613, 0.2848997414112091, 0.3774825632572174, 0.4014686644077301, -0.03474780172109604, -0.5688584446907043, -1.0705903768539429, -0.08080577850341797, 0.232269287109375, -0.016191095113754272, 0.4859876334667206, 0.4796459376811981, -0.6961780190467834, 1.1104289293289185, -0.35350945591926575, -0.46129360795021057, -0.08884606510400772, 0.161719411611557, 0.00520992511883378, 0.5860582590103149, 0.2096509337425232, -1.0775575637817383, -0.36937546730041504, 0.2493399977684021, -0.6928622126579285, -0.0031143082305788994, -0.19618792831897736, 0.11782697588205338, -0.4148806929588318, 0.7430194616317749, -0.6681213974952698, 0.3011362552642822, 0.33585068583488464, -0.11986835300922394, 0.2797202467918396, 0.04759220778942108, 0.33822348713874817, -1.1829830408096313, -0.3002515733242035, 0.1819915771484375, -0.5805560946464539, -0.7153752446174622, 0.2159111350774765, 0.14771033823490143, -0.28089436888694763, -0.3907748758792877, 0.6318380236625671, -0.8426024913787842, 0.11724629998207092, -0.4004812240600586, 0.14486674964427948, 0.14079077541828156, 0.37402886152267456, -0.15518519282341003, 0.8840681910514832, 0.6905494928359985, -0.5795927047729492, 0.2512839734554291, -0.07697903364896774, -0.08884180337190628, 0.6722533106803894, -0.7633235454559326, -0.005461157765239477, -0.5842962861061096, 0.13239002227783203, -0.8307710289955139, -0.45291614532470703, 0.4190363883972168, -0.41005370020866394, 0.5282773375511169, -0.6590142250061035, -0.24426397681236267, 0.06165795028209686, -0.09544722735881805, 0.42688775062561035, 0.37312883138656616, -0.5168036222457886, 1.1860644817352295, 0.4315948188304901, -0.039488568902015686, -0.39022013545036316, -0.5173378586769104, 0.18284329771995544, -0.40586286783218384, -0.6864433288574219, 0.5785024166107178, 0.2951231300830841, -0.12193353474140167, 0.22672538459300995, -0.4392045736312866, -0.10787840187549591, -0.08685684949159622, 0.6333250999450684, 0.10736791789531708, -0.28927841782569885, 0.07216963917016983, -0.13861961662769318, -0.3654748797416687, -0.14862792193889618, -0.06423880159854889, 0.3847609758377075, -0.238301083445549, -0.3520753085613251, -0.15024620294570923, 0.2222224920988083, 0.5781325697898865, -0.4718500077724457, 0.5594769716262817, 0.9155749678611755, -0.5209604501724243, -0.05391407385468483, -0.765017032623291, 0.047122519463300705, -0.43385106325149536, 0.3017588257789612, -0.8730685710906982, -1.3416639566421509, 0.41392454504966736, -0.4931033253669739, -0.07459928840398788, 0.35678941011428833, 0.31224918365478516, 0.03677939623594284, 0.7602479457855225, 0.697211742401123, 0.15632708370685577, 0.4467692971229553, -0.21843692660331726, 0.36335840821266174, -1.119528889656067, -0.35313665866851807, -0.09290508925914764, -0.17193414270877838, -0.6665397882461548, -0.8317589163780212, 0.13361519575119019, 0.48799312114715576, 0.3504393994808197, 0.275567889213562, -0.5431973934173584, 0.6446804404258728, 0.21915557980537415, 0.0627644956111908, 0.06321363151073456, 0.0003963103808928281, -0.15383611619472504, -0.2560766339302063, -0.3337279260158539, -0.6212620735168457, 0.6890519261360168, 0.5055736303329468, 0.7794066071510315, -0.2548983097076416, 0.7313444018363953, 0.21436916291713715, 0.39726537466049194, -0.9577968120574951, 0.688875138759613, 0.08066659420728683, -0.4464329481124878, -0.11562075465917587, -0.340290367603302, -0.7637979984283447, 0.7428306937217712, -0.19289273023605347, -0.8592708110809326, 0.26058927178382874, -0.0775919184088707, -0.15157899260520935, 0.2770070433616638, -0.6876465678215027, 0.8551607728004456, -0.023193126544356346, -0.12095233798027039, 0.2861934304237366, -0.38831591606140137, 0.4459135830402374, 0.058364275842905045, 0.34025368094444275, -0.40965527296066284, 0.03473817929625511, 0.5687064528465271, 0.0591023713350296, 0.6640599966049194, -0.29663383960723877, 0.055161334574222565, 0.19391794502735138, -0.18182243406772614, 0.5832223892211914, 0.39991894364356995, 0.5248511433601379, 0.10119321197271347, -0.2892579734325409, -0.0308538768440485, -0.600045382976532, 0.7830971479415894, -0.3454623222351074, -0.6198589205741882, -0.2751785218715668, -0.396330863237381, 0.06378255039453506, 0.45856109261512756, 0.13105084002017975, 0.4476504325866699, -0.2788624167442322, 0.6476607322692871, 0.8747631311416626, 0.039310306310653687, 0.12705187499523163, 0.233108788728714, -0.4769304096698761, -0.7805103659629822, 0.8310440182685852, -0.030093127861618996, -0.18708200752735138, 0.4995269477367401, -0.24689540266990662, -0.12928029894828796, -0.34528160095214844, -0.4754771888256073, 0.24067659676074982, -0.8143556118011475, -0.30695459246635437, -1.1081784963607788, -0.23323415219783783, -0.1700500249862671, -0.30752331018447876, -0.3296157419681549, 0.03958971053361893, -0.3549199104309082, -0.10732585191726685, 0.18489447236061096, 0.3936302363872528, 0.25077149271965027, 0.39736586809158325, -0.6753654479980469, 0.7610454559326172, 0.29648423194885254, 0.09417637437582016, -0.3872234523296356, -0.32724300026893616, 0.06832809746265411, 0.08528094738721848, -0.015824278816580772, -0.8847204446792603, 0.07121584564447403, 0.03765466809272766, 0.5226922035217285, 0.5735794901847839, -0.24887917935848236, 1.168161153793335, -1.00685453414917, 0.3471481502056122, 0.3040786683559418, -0.6693983674049377, 0.2752266228199005, -0.2986229360103607, 0.027629470452666283, 0.45062774419784546, 0.06817571073770523, -0.6227816939353943, -0.11450058966875076, -0.44032666087150574, -1.0032345056533813, 0.5674921274185181, 0.24681982398033142, 0.11799869686365128, -0.08311652392148972, 0.20410674810409546, -0.04581564664840698, 0.11985545605421066, -0.9291257262229919, -0.16416195034980774, -0.06785037368535995, -0.053455449640750885, -0.04517288878560066, -0.4472026824951172, -0.07565361261367798, -0.07116153836250305, 0.42237043380737305, -0.13951388001441956, 0.3338761031627655, 0.13497738540172577, -0.28632041811943054, 0.1453733742237091, 0.721531331539154, 0.4182671904563904, 0.3554627597332001, -0.0764918178319931, 0.21131157875061035, 0.13564683496952057, -0.19049672782421112, 0.3544984757900238, 0.2562573254108429, -0.4429531693458557, 0.1640569567680359, 0.14953964948654175, 0.9568172693252563, 0.5506415963172913, -0.5520951747894287, 0.431257039308548, -0.087258480489254, -0.1281612366437912, -0.2815681993961334, 0.08145680278539658, 0.150150328874588, 0.5223039388656616, 0.29166027903556824, 0.29073217511177063, 0.08483067899942398, -0.17726710438728333, 0.3904727101325989, 0.5880864262580872, -0.48993971943855286, -0.14734871685504913, 0.6496352553367615, -0.03363708034157753, -0.23143568634986877, 0.28770482540130615, -0.4592367112636566, -0.45224398374557495, 0.5070235133171082, 0.5128920674324036, 0.9116618633270264, -0.008891323581337929, 0.12777549028396606, 0.24079622328281403, 0.38539430499076843, -0.18277767300605774, 0.10770437866449356, -0.06422066688537598, -0.716068685054779, -0.2939358353614807, -0.5305044054985046, 0.040262091904878616, 0.2636743187904358, -0.6024118661880493, 0.3544270396232605, -0.4195382297039032, -0.42450594902038574, 0.12745776772499084, -0.4865727424621582, -0.8356831073760986, 0.4816358983516693, 0.12656717002391815, 0.5701813101768494, -0.5702181458473206, 0.44913071393966675, 1.2603706121444702, -0.255892813205719, -0.6664190292358398, 0.061618074774742126, -0.015577024780213833, -0.537659227848053, 0.7146546244621277, 0.7542782425880432, -0.17661982774734497, 0.267147034406662, -0.3334397077560425, -0.9134098291397095, 1.3881795406341553, 0.017618363723158836, -0.5605445504188538, -0.14938730001449585, -0.12461231648921967, 0.11724791675806046, -0.610024631023407, 0.20602256059646606, 0.11963003128767014, 0.5773205757141113, 0.18080037832260132, -0.49378716945648193, 0.00824787374585867, -0.15089350938796997, 0.4324769675731659, 0.5082184672355652, -0.43554842472076416, 0.7896869778633118, -0.12644346058368683, -0.6468573212623596, -0.2494601309299469, 0.8684571385383606, 0.3889545202255249, 0.3558095693588257, 0.616383969783783, 0.7817584276199341, 0.6383911967277527, -0.2871273458003998, 0.500749409198761, -0.10713958740234375, 0.5306020975112915, 0.8961748480796814, -0.2128673493862152, 0.47636204957962036, 0.6077025532722473, 0.047609005123376846, 0.09882386773824692, 0.2876121401786804, -0.3076828420162201, 0.6779332756996155, 0.140572652220726, -0.15407538414001465, -0.37347450852394104, -0.29406243562698364, -0.1823248267173767, 0.48972293734550476, 0.28416240215301514, -0.27106761932373047, -0.6124733686447144, 0.4063345789909363, 0.23459547758102417, -0.17924220860004425, -0.35553160309791565, 0.6688244938850403, 0.06086839362978935, -0.17473991215229034, 0.24805700778961182, 0.5030147433280945, 0.7634741067886353, -0.23997078835964203, -0.17835411429405212, 0.11472689360380173, 0.19714924693107605, -0.08866902440786362, -0.4997864067554474, -0.01667408086359501, 0.10223795473575592, -0.315067857503891, -0.2568749785423279, 1.2268532514572144, -0.5406039953231812, -0.4902160167694092, 0.19518481194972992, 0.5514668822288513, 0.10583893209695816, -0.21734975278377533, -0.6549229621887207, 0.1785992681980133, 0.16034667193889618, -0.3652113080024719, 0.11920850723981857, 0.881273627281189, -0.13431844115257263, 0.8100069165229797, 0.7112869024276733, -0.26192808151245117, 0.28999224305152893, 0.021580636501312256, 1.0456870794296265, -0.7142907381057739, -0.27837806940078735, -0.96245276927948, 0.8621732592582703, 0.023204287514090538, 0.09614907950162888, 0.7303745746612549, 0.5208253860473633, 0.826103687286377, -0.2751930356025696, 0.5468869209289551, -0.3030250370502472, 0.1771199256181717, -0.7273938059806824, 0.4275496006011963, -0.6244208812713623, -0.05734223872423172, -0.2292705923318863, -0.9601291418075562, -0.17057397961616516, 0.5383816957473755, -0.2209833562374115, 0.04864389821887016, 0.6091921925544739, 0.7590218782424927, -0.5903850793838501, -0.35796424746513367, 0.5010698437690735, -0.05431477725505829, 0.5271382331848145, 0.13470526039600372, 0.8599129915237427, -0.5434116721153259, 0.30624470114707947, -0.18429948389530182, -0.06934209167957306, -0.2591368854045868, -0.8783572316169739, -1.1449304819107056, -0.4689062237739563, -0.4570119380950928, -0.016590939834713936, 0.018514035269618034, 0.9947820901870728, 0.7888541221618652, -0.7255491614341736, 0.29788514971733093, -0.1041981652379036, -0.013521367684006691, 0.12996700406074524, -0.30763545632362366, 0.05463024601340294, -0.277100145816803, -0.6238046884536743, 0.6095358729362488, 0.45330679416656494, 0.009208611212670803, 0.04862241819500923, 0.11117954552173615, 0.020135991275310516, -0.14719095826148987, 0.5459386110305786, 0.027183769270777702, -1.1352258920669556, -0.22203175723552704, 0.07651116698980331, -0.05606646463274956, 0.11873655021190643, 0.8191375732421875, -0.6391239166259766, 0.31868669390678406, 0.1623193919658661, 0.9750800132751465, 0.2561759054660797, 0.44301775097846985, 0.10165498405694962, -0.830650269985199, 0.11935989558696747, 0.01576966792345047, 0.6722254157066345, 0.4286552369594574, -0.3160504102706909, 0.3080472946166992, 0.3917916417121887, -0.5139350295066833, -0.7556255459785461, 0.32935231924057007, -0.9395101070404053, -0.03598373010754585, 1.1526339054107666, -0.1596459448337555, -0.3131345808506012, 0.12748390436172485, -0.4470296800136566, 0.1106831282377243, -0.5218473076820374, 0.2535666227340698, 0.6931476593017578, 0.1627788096666336, -0.8346907496452332, -0.630596399307251, 0.1945583075284958, -0.13015203177928925, -0.6851177215576172, -0.17120559513568878, 0.7066494226455688, 0.5479742884635925, 0.23974426090717316, 0.6508845090866089, 0.024281147867441177, -0.04304274916648865, -0.1569492667913437, 0.3352079689502716, -0.46898892521858215, -0.6627343893051147, -0.20052506029605865, 0.2789612114429474, -0.2673938572406769, -0.39830538630485535 ]
http://arxiv.org/abs/2406.07594v2
http://arxiv.org/pdf/2406.07594v2
MLLMGuard: A Multi-dimensional Safety Evaluation Suite for Multimodal Large Language Models
2024-06-11T13:41:33
2024-06-13T11:22:15
Tianle Gu, Zeyang Zhou, Kexin Huang, Dandan Liang, Yixu Wang, Haiquan Zhao, Yuanqi Yao, Xingge Qiao, Keqing Wang, Yujiu Yang, Yan Teng, Yu Qiao, Yingchun Wang
cs.CL
cs.CL, cs.AI, cs.CR
Powered by remarkable advancements in Large Language Models (LLMs), Multimodal Large Language Models (MLLMs) demonstrate impressive capabilities in manifold tasks. However, the practical application scenarios of MLLMs are intricate, exposing them to potential malicious instructions and thereby posing safety risks. While current benchmarks do incorporate certain safety considerations, they often lack comprehensive coverage and fail to exhibit the necessary rigor and robustness. For instance, the common practice of employing GPT-4V as both the evaluator and a model to be evaluated lacks credibility, as it tends to exhibit a bias toward its own responses. In this paper, we present MLLMGuard, a multidimensional safety evaluation suite for MLLMs, including a bilingual image-text evaluation dataset, inference utilities, and a lightweight evaluator. MLLMGuard's assessment comprehensively covers two languages (English and Chinese) and five important safety dimensions (Privacy, Bias, Toxicity, Truthfulness, and Legality), each with corresponding rich subtasks. Focusing on these dimensions, our evaluation dataset is primarily sourced from platforms such as social media, and it integrates text-based and image-based red teaming techniques with meticulous annotation by human experts. This can prevent inaccurate evaluation caused by data leakage when using open-source datasets and ensures the quality and challenging nature of our benchmark. Additionally, a fully automated lightweight evaluator termed GuardRank is developed, which achieves significantly higher evaluation accuracy than GPT-4. Our evaluation results across 13 advanced models indicate that MLLMs still have a substantial journey ahead before they can be considered safe and responsible.
[ -0.3103794455528259, -0.5549745559692383, 0.42330145835876465, 0.4481481909751892, -0.1103651374578476, 0.40335822105407715, 0.05095186084508896, -0.46723249554634094, -0.4315698742866516, 0.4318797290325165, -0.35582566261291504, -0.5973585844039917, -0.669583797454834, -0.07897897809743881, -0.06483720242977142, 1.1408956050872803, -0.18308025598526, 0.03966444730758667, -0.016968460753560066, -0.27634957432746887, -0.48200342059135437, -0.6921497583389282, -0.4757905900478363, -0.05898134782910347, 0.7716913223266602, -0.1436329483985901, 0.5584120154380798, 0.27411341667175293, 0.6956408023834229, 0.3028585612773895, 0.0034460676833987236, 0.33691638708114624, -0.2693967819213867, 0.21430261433124542, -0.046405062079429626, 0.10147680342197418, -0.46776628494262695, 0.09512221068143845, 0.5360047221183777, 0.12616103887557983, -0.013607905246317387, 0.23374983668327332, 0.12498218566179276, 0.6745070219039917, -0.9726224541664124, 0.05218205228447914, -0.5959203839302063, 0.2321418672800064, -0.16099920868873596, -0.13522054255008698, -0.42181769013404846, -0.18920311331748962, 0.18468092381954193, -0.181706503033638, -0.3175164461135864, 0.2027052342891693, 0.4234769642353058, 0.01774595119059086, -0.6278687119483948, 0.029646078124642372, -0.4495929181575775, 1.0027443170547485, -0.5586653351783752, 0.4586191773414612, 0.4610322117805481, 0.6925516128540039, 0.11944228410720825, -0.6307022571563721, -0.1806737631559372, -0.3364308774471283, 0.03853711485862732, 0.05674799531698227, -0.04139197617769241, 0.17299118638038635, 0.1258617639541626, -0.21614983677864075, -0.846622109413147, 0.27608367800712585, -0.33503279089927673, -0.6002350449562073, 0.8705958127975464, 0.27549460530281067, 0.42898446321487427, -0.09317575395107269, -0.7881778478622437, -0.25032517313957214, -0.7569001913070679, 0.2960202693939209, 0.34277376532554626, 0.2581980526447296, -0.3628421127796173, 0.3182910680770874, 0.05160590261220932, 0.5464224219322205, -0.4791634678840637, -0.5595626831054688, 0.5033737421035767, -0.38039129972457886, -0.32341888546943665, 0.0782744362950325, 1.0417351722717285, 0.8339346647262573, 0.13208068907260895, -0.10290512442588806, -0.2907089293003082, -0.0669853538274765, 0.2669495642185211, -0.9168092608451843, -0.13338075578212738, 0.4972778558731079, -0.644730806350708, -0.43126949667930603, -0.0336453877389431, -1.0309231281280518, -0.7183268070220947, -0.1587686538696289, 0.4774955213069916, -0.16553957760334015, -0.25020965933799744, 0.1856309473514557, -0.02067624218761921, 0.04454202204942703, 0.20310766994953156, -0.5451947450637817, 0.04687346890568733, 0.595989465713501, 0.855789303779602, -0.3723044693470001, -0.5276272892951965, -0.6953290700912476, 0.13362960517406464, -0.08011232316493988, 0.5611812472343445, -0.46566063165664673, -0.24393104016780853, 0.17283156514167786, 0.026506466791033745, -0.21895620226860046, -0.07169758528470993, 0.7446833252906799, -0.5390218496322632, 0.086473248898983, 0.018781399354338646, -0.2586897313594818, -0.061810508370399475, 0.6808350086212158, -0.7697926163673401, 0.660528302192688, -0.33957168459892273, -1.1158007383346558, 0.3961448669433594, -0.5180710554122925, -0.30705931782722473, -0.21547941863536835, -0.015622521750628948, -0.7728980183601379, -0.41291508078575134, 0.43708309531211853, 0.5055119395256042, -0.0021782503463327885, 0.055466193705797195, -0.7013389468193054, -0.24292956292629242, 0.17888808250427246, -0.8744657039642334, 0.8867044448852539, 0.25366321206092834, -0.40936189889907837, 0.4002106189727783, -0.46338707208633423, 0.20830370485782623, 0.004812636878341436, -0.5077996253967285, -0.3657185137271881, -0.14892594516277313, 0.3116651177406311, 0.49211385846138, 0.2879820466041565, -0.6729537844657898, -0.16712602972984314, 0.10474757105112076, 0.2174205482006073, 1.027922511100769, 0.05721161887049675, 0.14913630485534668, -0.11816710233688354, 0.561836838722229, -0.2368268519639969, 0.7668992877006531, -0.2031739503145218, -0.563580334186554, -0.3099178373813629, -0.41801655292510986, 0.06660569459199905, 0.6252482533454895, -0.8262043595314026, 0.2508527636528015, -0.22098088264465332, -0.6098291277885437, -0.3408111333847046, 0.2527799606323242, 0.8080157041549683, -0.036052435636520386, 0.4343946576118469, 0.07340288907289505, -0.4440500736236572, -0.9119321703910828, -0.35944491624832153, -0.003755589248612523, 0.1766759753227234, 0.1963721215724945, 0.4001927673816681, -0.3789789378643036, 0.3688059449195862, -0.18194842338562012, -0.15901577472686768, -0.3212980329990387, -0.18690712749958038, -0.012849584221839905, 0.2921338379383087, 0.7063372135162354, -0.7807860374450684, -0.5867160558700562, 0.04936939850449562, -0.8510805368423462, 0.12206821888685226, -0.06675275415182114, -0.30040714144706726, 0.2084835022687912, 0.3496699333190918, -0.5781003832817078, 0.1782510131597519, 1.0972274541854858, -0.44161978363990784, 0.8326838612556458, -0.2673969268798828, 0.030004339292645454, -0.7432891726493835, 0.17744122445583344, 0.06270618736743927, -0.2206064611673355, -0.7442253232002258, 0.2179504930973053, 0.23443320393562317, 0.03761380910873413, -0.5953772664070129, 0.7716856002807617, -0.3715072572231293, 0.0688360184431076, 0.0019757384434342384, 0.19406093657016754, 0.1487000435590744, 0.20708103477954865, -0.18118833005428314, 0.5305064916610718, 0.5052017569541931, -0.46591854095458984, 0.4670472741127014, -0.04526328667998314, -0.4526771605014801, 0.3808855712413788, -0.5609051585197449, 0.21671880781650543, 0.08500708639621735, 0.31368187069892883, -0.5142035484313965, -0.027643078938126564, 0.01729809306561947, 0.06224769726395607, 0.34126678109169006, -0.16585175693035126, -0.6332623362541199, -0.5973948240280151, -0.881321132183075, 0.19987842440605164, 0.19223842024803162, -0.5410999655723572, 0.5667036175727844, 0.7727315425872803, -0.1654544174671173, -1.0653069019317627, -0.5180606842041016, 0.24545609951019287, -0.5889277458190918, -0.5822216868400574, -0.005703992210328579, -0.1717592179775238, -0.3299717903137207, -0.31237709522247314, -0.08727430552244186, -0.11088798940181732, 0.18576516211032867, 0.15988662838935852, 0.5489688515663147, 0.17747710645198822, -0.003438103012740612, -0.031195133924484253, -0.10004689544439316, 0.0871991291642189, 0.07412782311439514, 0.46628859639167786, -0.3588666319847107, -0.6720896363258362, -0.11932501941919327, 0.07032162696123123, 0.7458792924880981, -0.47921285033226013, 0.6046815514564514, 0.7898464798927307, -0.09980495274066925, -0.13614772260189056, -0.47181782126426697, 0.04499363526701927, -0.4929623603820801, 0.34375739097595215, -0.2380918711423874, -0.941016435623169, 0.20431247353553772, 0.38612455129623413, 0.5441932678222656, 0.17260803282260895, 0.5571657419204712, -0.08769848197698593, 1.1001689434051514, 0.29881608486175537, -0.32675808668136597, 0.20799022912979126, 0.13611938059329987, 0.32317355275154114, -0.6281754970550537, -0.34411925077438354, -0.22417612373828888, -0.2092846930027008, -0.5600250363349915, -0.3394739329814911, 0.5730425715446472, -0.32109639048576355, -0.4268234670162201, 0.30015385150909424, -0.36973968148231506, 0.422532320022583, 0.26589804887771606, 0.04051892086863518, 0.17724336683750153, -0.011629939079284668, -0.3376079797744751, -0.15092159807682037, -0.39226818084716797, -0.6057447791099548, 1.265108346939087, 0.7767677903175354, 0.8892284035682678, 0.43245577812194824, 0.5021752715110779, 0.45133090019226074, 0.4185512363910675, -0.31874969601631165, 0.4381932020187378, -0.18385891616344452, -0.8118686676025391, -0.2723931670188904, -0.5386109352111816, -0.9795247316360474, 0.7895713448524475, -0.420600950717926, -0.7323826551437378, -0.21251456439495087, 0.08176539093255997, -0.3591950535774231, 0.3752574920654297, -0.7596465945243835, 0.9362808465957642, -0.8091866970062256, -0.5433027744293213, -0.13603785634040833, -0.762589156627655, 0.969907283782959, -0.3739449381828308, 0.43346431851387024, -0.32321590185165405, 0.13975323736667633, 0.37859007716178894, -0.21475538611412048, 0.8505699038505554, -0.4334731698036194, -0.1408943086862564, 0.02804979681968689, 0.08094913512468338, 0.5108283162117004, -0.07556707412004471, 0.0008151669753715396, 0.14804579317569733, 0.1331566423177719, -0.17271140217781067, -0.4037199020385742, 0.7751853466033936, -0.4069029688835144, -0.32896915078163147, -0.291236013174057, -0.3733992576599121, -0.38901016116142273, 0.17931731045246124, -0.07754193991422653, 0.3409784734249115, -0.1599808633327484, 0.26059719920158386, 0.5528209209442139, -0.6679521799087524, 0.5793803334236145, 0.33718225359916687, -0.5302736759185791, -0.48241639137268066, 0.9202733635902405, -0.09635957330465317, 0.26989006996154785, 0.22928038239479065, 0.26260948181152344, -0.65803462266922, -0.49989885091781616, -0.6753962635993958, -0.07328231632709503, -0.7530533671379089, -0.3087151050567627, -0.7011252045631409, -0.4426546096801758, -0.07039692252874374, 0.11841325461864471, -0.27571260929107666, -0.1968500167131424, 0.6076050400733948, -0.2560940384864807, 0.09809976816177368, 0.5785360336303711, 0.06158612668514252, -0.2726591229438782, -1.0706539154052734, 0.11695369333028793, 0.4975401759147644, 0.3549093008041382, -0.0561707578599453, -0.1723507195711136, -0.23659026622772217, -0.24087409675121307, -0.2594633102416992, -0.4261571764945984, 0.20435766875743866, -0.06528058648109436, 1.016012191772461, 0.43287596106529236, 0.11144758760929108, 0.27383822202682495, -0.7143601775169373, 0.6716060638427734, 0.28902408480644226, -0.6769884824752808, 0.2500808835029602, -0.33241739869117737, 0.06274592131376266, 0.4755275249481201, 0.10637132078409195, -0.3414236009120941, -0.21507444977760315, -0.23771879076957703, -0.8338000774383545, 0.19319093227386475, 0.30936509370803833, 0.17438821494579315, 0.2539098858833313, -0.4541059136390686, -0.11039165407419205, 0.1426486223936081, -0.9713438153266907, -0.06630633026361465, -0.3620088994503021, 0.0009431046200916171, 0.002563254674896598, -0.3230934143066406, -0.44237181544303894, 0.14876246452331543, 0.5163295865058899, -0.10124287009239197, -0.01801631599664688, -0.18923109769821167, -0.20645545423030853, 0.41808295249938965, 0.39639386534690857, 0.8465657234191895, 0.39731836318969727, -0.16822250187397003, 0.5203356742858887, 0.35181349515914917, -0.5417428016662598, 0.22155502438545227, 0.27593299746513367, 0.05079340189695358, -0.07147732377052307, 0.6568845510482788, 0.571854293346405, 0.13595551252365112, -0.9009471535682678, 0.7767993211746216, -0.1756429523229599, 0.000039879963878775015, -0.06974957138299942, -0.16826246678829193, 0.04656005650758743, 0.17432402074337006, 0.04055728390812874, 0.11038223654031754, 0.13132040202617645, -0.2586002051830292, 0.2082574963569641, 0.5969634652137756, -0.36804646253585815, -0.11007967591285706, 0.4580034613609314, 0.315975546836853, 0.17116451263427734, 0.08769707381725311, -0.06887432932853699, -0.6479067206382751, 0.4321841895580292, 0.13857285678386688, 0.990121603012085, -0.4311661720275879, 0.11550431698560715, 0.35642117261886597, 0.7342339754104614, -0.04107058793306351, -0.07859089225530624, 0.14180609583854675, -0.6984453797340393, -0.421857088804245, -0.7844805717468262, -0.2495087832212448, 0.19842292368412018, -0.2966611981391907, 0.01817476563155651, -0.7717245221138, -0.32389596104621887, -0.2340942621231079, -0.2579365670681, -0.4640261232852936, 0.05897108092904091, 0.3412512540817261, 0.9651613235473633, -0.7112374305725098, 0.6658822298049927, 0.3919764757156372, -0.13054847717285156, -0.538882315158844, 0.04501447454094887, 0.42086154222488403, -0.7654560804367065, 0.76583331823349, 0.5195543169975281, -0.4426601231098175, -0.7078490257263184, -0.1398228108882904, -0.6381292343139648, 0.9943356513977051, 0.3017039895057678, -0.6040077805519104, 0.1359596848487854, 0.08427257090806961, 0.4813283085823059, -0.2048666626214981, 0.010117468424141407, 0.49337315559387207, 0.7256847023963928, -0.4075194001197815, -1.1471338272094727, 0.07908865809440613, -0.2957577705383301, 0.03692729398608208, -0.21455912292003632, -0.47291329503059387, 0.6588388085365295, -0.2667042315006256, -0.1277291178703308, -0.10615726560354233, -0.09130802005529404, 0.7441148161888123, 0.3174270987510681, 0.6379363536834717, 0.41213080286979675, 0.5384463667869568, 0.13564427196979523, 1.3984888792037964, -0.25363853573799133, 0.3283795416355133, 1.1209447383880615, -0.4200248420238495, 0.9341066479682922, 0.1763439029455185, -0.1916361302137375, 0.2883068025112152, 0.45550575852394104, -0.11875856667757034, 0.7006823420524597, 0.10827559232711792, -0.5565834641456604, -0.2806689441204071, -0.0009787630988284945, -0.20569412410259247, 0.4852235019207001, 0.21666520833969116, -0.6363450884819031, -0.31361883878707886, 0.006855433806777, 0.2041323333978653, -0.19342142343521118, -0.3291597366333008, 0.4541974663734436, 0.08275385200977325, -0.3574604094028473, 0.37291058897972107, 0.04599757120013237, 0.5964512825012207, -0.6067661643028259, 0.05370436608791351, 0.011683826334774494, 0.37212011218070984, -0.26854678988456726, -1.1498202085494995, 0.14230181276798248, 0.3140236437320709, 0.2804252505302429, -0.42925339937210083, 0.8772112727165222, -0.23276792466640472, -0.4310571253299713, 0.6853455901145935, 0.3983669877052307, 0.014832734130322933, 0.004698748234659433, -1.0193474292755127, 0.3240063488483429, -0.04282437637448311, -0.25246360898017883, 0.4726128876209259, 0.04638856276869774, -0.28544527292251587, 0.9026008248329163, 0.8800560832023621, -0.10151106864213943, 0.2840735614299774, 0.2950037121772766, 0.8610315918922424, -0.19129438698291779, -0.17479518055915833, -1.1206153631210327, 0.8181570768356323, -0.3419719636440277, -0.12323050945997238, 1.0207935571670532, 0.634175717830658, 0.3936270475387573, -0.027705276384949684, 0.9822663068771362, 0.2601356506347656, 0.3358241021633148, -0.7974060773849487, 1.224518060684204, -0.3091353476047516, 0.245211660861969, -0.505498468875885, -0.9837468862533569, -0.49153968691825867, 0.5309355854988098, -0.15440072119235992, 0.18379536271095276, 0.5385169982910156, 0.6490556001663208, -0.01397689525038004, -0.33231744170188904, 0.7458928823471069, 0.009632078930735588, 0.6690274477005005, 0.39168021082878113, 0.8453797101974487, -0.1794058084487915, 0.7987953424453735, -0.13105715811252594, -0.12524423003196716, -0.09618428349494934, -0.9862557053565979, -1.2997201681137085, -0.16222713887691498, 0.11116263270378113, -0.3806474506855011, 0.15166693925857544, 0.8065567016601562, 0.8114559650421143, -0.6536100506782532, 0.09284856915473938, 0.3574366569519043, 0.021345041692256927, 0.005725453607738018, -0.17558079957962036, 0.4224473536014557, -0.25496727228164673, -0.45131778717041016, 0.5649029612541199, 0.5385918021202087, 0.0155150992795825, -0.7154884338378906, -0.24668829143047333, 0.14065302908420563, -0.2089860588312149, 0.9883806705474854, 0.10558726638555527, -0.6918449997901917, -0.3729518949985504, -0.26642656326293945, -0.36838939785957336, -0.3094499409198761, 0.5807207822799683, -0.18425790965557098, 0.6593224406242371, 0.35371169447898865, 0.8412392735481262, 0.26474252343177795, -0.2559550702571869, 0.5114352703094482, -0.6849002838134766, 0.11613108217716217, 0.08933374285697937, 0.743141770362854, 0.5490471720695496, -0.10400188714265823, 0.4461295008659363, -0.07028371840715408, -0.4980906546115875, -0.7960971593856812, 0.22204391658306122, -0.7538058161735535, -0.30189111828804016, 1.2120643854141235, -0.5497373342514038, 0.10061509907245636, -0.4265872538089752, -0.17505748569965363, -0.35932883620262146, -0.2046157717704773, 0.7517653703689575, 0.6447222828865051, 0.0630352720618248, -0.46550261974334717, -0.9309813380241394, 0.5272416472434998, -0.0022714436054229736, -0.9930114150047302, 0.26091328263282776, 0.44912466406822205, 0.3816908597946167, 0.24828939139842987, 0.3255942463874817, -0.26614609360694885, 0.19093872606754303, -0.06442227959632874, 0.050955403596162796, -0.15637382864952087, -0.4301438331604004, -0.2608209252357483, 0.14985907077789307, 0.042080748826265335, -0.049937598407268524 ]
http://arxiv.org/abs/2406.07259v1
http://arxiv.org/pdf/2406.07259v1
Scientific Computing with Large Language Models
2024-06-11T13:39:07
2024-06-11T13:39:07
Christopher Culver, Peter Hicks, Mihailo Milenkovic, Sanjif Shanmugavelu, Tobias Becker
cs.CL
cs.CL, cs.AI, cs.LG
We provide an overview of the emergence of large language models for scientific computing applications. We highlight use cases that involve natural language processing of scientific documents and specialized languages designed to describe physical systems. For the former, chatbot style applications appear in medicine, mathematics and physics and can be used iteratively with domain experts for problem solving. We also review specialized languages within molecular biology, the languages of molecules, proteins, and DNA where language models are being used to predict properties and even create novel physical systems at much faster rates than traditional computing methods.
[ -0.21885664761066437, -1.0719903707504272, 0.8888460397720337, 0.27193978428840637, 0.1958232969045639, 0.4493931531906128, -0.3421532213687897, -0.762673020362854, 0.27626892924308777, 0.6243559718132019, -0.24826601147651672, -0.1463935375213623, -0.5478670597076416, 0.17347516119480133, -0.507601797580719, 0.5609732866287231, 0.12448888272047043, 0.35789722204208374, -0.40964657068252563, 0.3157980144023895, -0.09686854481697083, -0.8487806916236877, -0.6724522113800049, -0.5745200514793396, 0.24887385964393616, 0.25097760558128357, 0.8029318451881409, 0.2813723683357239, 1.0091955661773682, 0.480619877576828, -0.06364990025758743, -0.17809399962425232, -0.19426466524600983, 0.3061884343624115, -0.4235367476940155, -0.5093019604682922, -0.36732420325279236, -0.1900484263896942, 0.6711185574531555, 1.1570154428482056, -0.05504307895898819, -0.07823565602302551, -0.6405554413795471, 0.5843950510025024, -0.02275681681931019, 0.5880008935928345, -0.36054563522338867, 0.13058936595916748, -0.2764839828014374, -0.3567246198654175, -0.44516274333000183, -0.24759583175182343, 0.22837910056114197, -0.6040223240852356, 0.3334091901779175, 0.050239987671375275, 0.49320322275161743, -0.16186819970607758, -0.3216477036476135, -0.5634409785270691, -1.0427272319793701, 1.0217069387435913, -0.740349531173706, 0.5473713874816895, 0.4898080825805664, 0.4879608452320099, -0.7902262210845947, -0.6498106122016907, -0.6157805323600769, -0.7809955477714539, 0.19670003652572632, -0.11888688057661057, -0.2306337207555771, 0.27820342779159546, 0.3321422040462494, 0.23635363578796387, -0.7302019596099854, 0.2314714938402176, -0.7832332253456116, 0.13904836773872375, 0.7797510027885437, 0.1870041936635971, 0.5369398593902588, 0.1620797961950302, 0.455187052488327, -0.000671162037178874, -0.5487603545188904, -0.30977529287338257, 0.19142092764377594, 0.44024527072906494, 0.05555985867977142, 0.9192507266998291, -0.04741111025214195, 0.9102677702903748, -0.3266288936138153, -0.36297550797462463, 0.12467031180858612, -0.29026511311531067, -0.2682192921638489, -0.01725165918469429, 0.8328852653503418, 0.011545945890247822, 0.6319173574447632, 0.02129344269633293, 0.10007131844758987, 0.12121332436800003, 0.14536255598068237, -0.7930126190185547, -0.4489305019378662, 0.2504359781742096, -0.2824719548225403, -0.037842560559511185, -0.4157833158969879, -0.7285376191139221, -0.5871424078941345, -0.3083643913269043, -0.08425544202327728, -0.33826062083244324, -0.29157188534736633, 0.2804514467716217, -0.26161181926727295, -0.22970730066299438, 0.4122823178768158, -0.9797696471214294, 0.6985520124435425, 0.7194424867630005, 0.718965470790863, -0.002576613100245595, -0.18422868847846985, -0.11274447292089462, 0.0851091668009758, -0.3241129517555237, 0.601682722568512, -0.9086888432502747, -0.6503798365592957, -0.16766059398651123, -0.06127270683646202, 0.21972844004631042, -0.4586578905582428, 0.23651017248630524, -0.6418461203575134, 0.10377058386802673, 0.1068473681807518, -0.598285436630249, -0.22001144289970398, -0.2080102264881134, -0.7371480464935303, 0.6799867153167725, -0.02731207385659218, -0.4450548589229584, 0.03641144931316376, -1.190149188041687, -0.7371559739112854, 0.30251970887184143, -0.05073123425245285, -0.10237802565097809, 0.19330473244190216, -0.35577502846717834, 0.560299277305603, -0.6181589365005493, 0.40968942642211914, -0.10409475862979889, -0.00992013979703188, 0.4725952744483948, 0.09117881953716278, 0.609931468963623, 0.4427666962146759, 0.006768009625375271, 0.15724048018455505, -0.7370775938034058, -0.008585646748542786, 0.19192136824131012, -0.11030459403991699, -0.3233042359352112, 0.42977067828178406, 0.24138188362121582, -0.0012397714890539646, 0.39293691515922546, -0.8041305541992188, 0.4858531653881073, -0.46568191051483154, 0.9788427948951721, 0.09457006305456161, -0.1665671467781067, 0.4960707426071167, 0.09647677838802338, 0.49536025524139404, -0.09009812027215958, -0.2589695453643799, -0.1746438443660736, -0.8297423124313354, -0.29182910919189453, -0.30757203698158264, 0.2611142098903656, 0.4437502324581146, -0.49947813153266907, 0.1571292281150818, -0.04391563683748245, -0.7065778970718384, -0.20737937092781067, 0.0277023296803236, 0.10572740435600281, 0.2828340232372284, 0.22571343183517456, -0.08219980448484421, -0.6862185597419739, -0.8541129231452942, 0.0166122168302536, -0.35357028245925903, -0.1990015208721161, 0.39452245831489563, 0.5651297569274902, -0.44663217663764954, 0.7987490296363831, -0.6329268217086792, 0.3440759479999542, -0.17568853497505188, 0.3059433400630951, 0.4248846471309662, 0.42354685068130493, 0.3920540511608124, -0.9477206468582153, -0.43109792470932007, 0.4649578034877777, -0.7880864143371582, 0.0702551007270813, 0.18425413966178894, 0.16037170588970184, 0.3114032447338104, 0.5335736870765686, -0.7123051285743713, 0.21357040107250214, 0.6355312466621399, -0.4165581166744232, 0.5979719161987305, -0.47524887323379517, 0.238348588347435, -0.8711346387863159, 0.08805232495069504, 0.27164626121520996, -0.3215526044368744, -0.8767974972724915, 0.20190036296844482, -0.1981998085975647, -0.38841918110847473, -0.3142099678516388, 0.5767432451248169, -0.5609320402145386, -0.20772355794906616, -0.6003193259239197, -0.025368789210915565, -0.13929182291030884, -0.10017554461956024, 0.580008864402771, 0.5157128572463989, 0.7162320613861084, -0.5731528997421265, 0.5889971852302551, -0.0012825411977246404, -0.2935786843299866, 0.1270226687192917, -0.9815936088562012, -0.04879644513130188, -0.058934908360242844, 0.15209461748600006, -0.6085764765739441, -0.582344114780426, -0.4021442234516144, -0.3382692337036133, 0.2956940233707428, 0.14503560960292816, -0.7791027426719666, -0.8440894484519958, 0.16712039709091187, 0.4723816215991974, 0.49427497386932373, -0.08746012300252914, 0.29718321561813354, 0.6751201748847961, -0.47207847237586975, -0.07223420590162277, -0.5245015025138855, 0.2294120043516159, 0.1230664774775505, -0.7044443488121033, 0.1520182341337204, -0.3271046578884125, -0.5006881356239319, -0.11723683774471283, 0.48242926597595215, -0.5463173389434814, 0.21874059736728668, 0.306763619184494, 0.2572237253189087, -0.23865492641925812, 0.29087990522384644, -0.08095540851354599, 0.20257346332073212, -0.040475837886333466, -0.12571920454502106, 0.7776405811309814, -0.40504759550094604, -0.24363163113594055, -0.31527552008628845, 0.9143812656402588, 0.9877179265022278, 0.01370821613818407, 0.8671286106109619, 0.011903311125934124, -0.5568506717681885, 0.30820703506469727, -0.353988379240036, -0.3342888653278351, -0.4835791289806366, 0.7253047227859497, -0.4533490240573883, -1.1038371324539185, 0.4771580696105957, 0.08537345379590988, -0.12835747003555298, 0.3800147473812103, 0.9268398880958557, -0.11364183574914932, 1.1979981660842896, 0.9792426824569702, 0.01033865101635456, 0.5666834712028503, 0.13477973639965057, 0.5877633094787598, -0.19020241498947144, -0.19161826372146606, -0.8542037010192871, 0.15603987872600555, -0.6593109965324402, -0.44277340173721313, 0.3216956555843353, 0.08378762751817703, -0.5632518529891968, 0.5944437980651855, -0.6100285053253174, 0.5063721537590027, 0.552558958530426, -0.32541999220848083, 0.30575740337371826, 0.08950027823448181, -0.010801801458001137, -0.026713373139500618, -0.7226701378822327, -0.5630504488945007, 0.8341662287712097, 0.4690783619880676, 0.9277042746543884, -0.21221618354320526, 0.36969709396362305, 0.2006731927394867, 0.23761926591396332, -0.8562837243080139, 0.4644192159175873, -0.24486801028251648, -0.6376098394393921, -0.4519542455673218, -0.5966718196868896, -1.1724369525909424, -0.24548795819282532, -0.2267238050699234, -0.8863447308540344, -0.049177225679159164, -0.1338275671005249, -0.01576937362551689, 0.19387294352054596, -0.9396693110466003, 0.4927678108215332, -0.1653440296649933, -0.009272173047065735, -0.5260810256004333, -0.5179927349090576, 0.3257306218147278, -0.2511189877986908, 0.37426745891571045, 0.07358364015817642, 0.3934859335422516, 0.7795894742012024, -0.3909209668636322, 0.8559498190879822, 0.08699264377355576, -0.06043914705514908, 0.3001328706741333, 0.3240908980369568, 0.11036136746406555, -0.09648796170949936, -0.2615293264389038, 0.3557446002960205, 0.4755345582962036, -0.3428814113140106, -0.2781747579574585, 0.8078545928001404, -0.8542242050170898, -0.5987554788589478, -0.49861863255500793, -0.7237522602081299, -0.23425838351249695, 0.4185320734977722, -0.15216773748397827, 0.0889275074005127, -0.22763700783252716, 0.12927277386188507, 0.49990785121917725, -0.3375626802444458, 0.42706313729286194, 0.8219169974327087, -0.4637305438518524, 0.05436215549707413, 0.7996224761009216, 0.12105940282344818, 0.22794805467128754, 0.39677694439888, 0.3399391174316406, -0.021110232919454575, -0.544545590877533, -0.06662092357873917, 0.44720450043678284, -0.33739393949508667, -0.0834038183093071, -0.8058487772941589, -0.4549122750759125, -0.61654132604599, -0.5157451033592224, -0.4312659800052643, -0.668083906173706, -0.05234404280781746, 0.12579524517059326, 0.7740976214408875, 1.0814146995544434, 0.05701495334506035, 0.3259067237377167, -0.9474857449531555, 0.43842169642448425, 0.023074978962540627, 0.3603039085865021, -0.1856786608695984, -0.036186959594488144, -0.31425461173057556, 0.14519627392292023, -0.09626062959432602, -0.786839485168457, 0.7784727811813354, 0.3696512281894684, 0.682389497756958, 0.11411701142787933, -0.5375927686691284, 0.25681349635124207, -0.8080346584320068, 0.9281066060066223, 0.42472413182258606, -0.8988905549049377, 0.5819266438484192, -0.4133383333683014, 0.26676639914512634, -0.0005311701097525656, 0.7253193259239197, -0.7358953356742859, -0.3265848159790039, -0.3954046964645386, -0.7052422165870667, 0.2321453094482422, 0.01856701262295246, 0.007253478746861219, -0.17341776192188263, 0.2697511911392212, 0.0894661471247673, 0.3886432349681854, -0.41019222140312195, -0.02101247012615204, 0.012506484985351562, -0.20291045308113098, -0.2358912229537964, -0.0965198501944542, -0.3186720609664917, -0.3342173397541046, 0.41201475262641907, -0.23077857494354248, 0.3877089023590088, 0.06525151431560516, 0.12805548310279846, -0.3586237132549286, 0.19280670583248138, 0.664743185043335, 0.7105929851531982, 0.11237011104822159, -0.03138715401291847, -0.40923967957496643, -0.7162721157073975, -0.05641861632466316, 0.043767936527729034, 0.13020029664039612, -0.17977456748485565, 0.32793372869491577, 0.4284030795097351, 0.14701607823371887, -1.12382173538208, 0.029899099841713905, -0.034850332885980606, -0.1465495079755783, -0.22904857993125916, -0.0005012248875573277, 0.4985368251800537, 0.2166215181350708, 0.23748797178268433, -0.06059739366173744, 0.3097655475139618, -0.9541443586349487, -0.10635430365800858, 0.6083029508590698, -0.005287919193506241, -0.4652647376060486, 0.47166600823402405, 0.009847222827374935, -0.5175130367279053, 0.6076387763023376, 0.12717396020889282, -0.5785055756568909, 0.8827542662620544, 0.8680777549743652, 0.5395191311836243, -0.34543997049331665, 0.31872621178627014, 0.2151019126176834, -0.018109221011400223, -0.15916773676872253, 0.5127583742141724, 0.1018143743276596, -0.6463697552680969, -0.6298080682754517, -0.9319555759429932, -0.7817017436027527, -0.1336197853088379, -0.07019313424825668, 0.22184351086616516, -0.6918366551399231, -0.2285020649433136, 0.7168532609939575, 0.24341028928756714, -0.5653175115585327, 0.11002358049154282, 0.2440803050994873, 0.9423617124557495, -0.766704797744751, 0.8526000380516052, 1.0006208419799805, -0.05295993760228157, -0.503174901008606, -0.8578173518180847, -0.15635910630226135, -0.4442943036556244, 1.1889554262161255, -0.30948495864868164, -0.08018632233142853, -0.3314366340637207, -0.8462622165679932, -1.0667108297348022, 0.5203543305397034, 0.2594822347164154, -0.7106703519821167, 0.17583419382572174, 0.20364604890346527, 1.170060157775879, -0.44773685932159424, 0.4848613142967224, 0.37392640113830566, 0.5345869660377502, 0.19760607182979584, -1.3849011659622192, -0.1968277245759964, -0.45945289731025696, -0.15958258509635925, 0.2621387243270874, -0.5125092267990112, 1.070857286453247, -0.14660997688770294, 0.03865226358175278, 0.24305306375026703, 0.5671125650405884, 0.3913613557815552, 0.30499938130378723, -0.06745529919862747, -0.06347085535526276, 1.0401233434677124, 0.025783410295844078, 1.1784405708312988, -0.4552006423473358, 0.09309923648834229, 0.6622085571289062, -0.5858619213104248, 0.7278626561164856, 0.39109140634536743, -0.432816743850708, 0.624552845954895, 0.44980818033218384, -0.041582733392715454, 0.06753519177436829, 0.5456142425537109, -0.3557569682598114, -0.007480578031390905, -0.08862244337797165, -0.29362350702285767, 0.3630298972129822, 0.9977065920829773, -0.3635227084159851, 0.07852490991353989, 0.30269724130630493, 0.05315954238176346, 0.04141615331172943, -0.4947620630264282, 0.4340837597846985, 0.11457260698080063, -0.5220338702201843, 0.32835349440574646, 0.11046122759580612, 0.46802082657814026, -0.6120942234992981, -0.1676768809556961, 0.32296833395957947, -0.03527567908167839, -0.24935701489448547, -0.9826886653900146, 0.33541950583457947, 0.02078147605061531, -0.49967604875564575, -0.13091956079006195, 0.8157492876052856, -0.28729158639907837, -0.7822384238243103, 0.04653715342283249, 0.30582955479621887, 0.44493699073791504, 0.15877506136894226, -0.3843803107738495, -0.18557415902614594, -0.451023131608963, -0.3017319440841675, 0.2444445937871933, 0.22491316497325897, -0.6534637212753296, 1.0622559785842896, 0.7211881279945374, 0.2834520637989044, 0.27740636467933655, -0.0004640675033442676, 0.8475123643875122, -1.0642282962799072, -0.5030097961425781, -0.5520794987678528, -0.19507576525211334, -0.10364624857902527, 0.12408215552568436, 0.7626538276672363, 0.47126859426498413, 0.3482306897640228, -0.3120183050632477, 0.9702028632164001, -0.16774819791316986, 0.48731130361557007, -0.23757345974445343, 0.7494089007377625, -0.2648356556892395, -0.14604270458221436, -0.33627015352249146, -0.7699885964393616, -0.6210591793060303, 0.551018238067627, -0.36152687668800354, 0.02823237143456936, 0.738743245601654, 0.5927971601486206, 0.13298431038856506, 0.3501450717449188, 0.44824981689453125, 0.5975810885429382, 0.6182311177253723, 0.5108814835548401, 0.6011154055595398, 0.10701687633991241, -0.22998583316802979, -0.09934578835964203, -0.47767579555511475, -0.39768165349960327, -0.8350348472595215, -0.8905916213989258, -0.6389833092689514, -0.3510930836200714, -0.2776397168636322, 0.010901723988354206, 0.7117823958396912, 0.9118270874023438, -1.032409906387329, -0.4547995328903198, -0.29080983996391296, 0.0004041663487441838, 0.057943426072597504, -0.2948773503303528, 0.12576331198215485, -0.1454947292804718, -0.9137682318687439, 0.8032326102256775, 0.32129406929016113, 0.23180238902568817, -0.5462163686752319, 0.18438103795051575, -0.08458131551742554, 0.3477007746696472, 0.7491970658302307, 1.0183879137039185, -0.34575480222702026, -0.02496352605521679, 0.2645200788974762, -0.17729824781417847, -0.04109114408493042, 1.195957064628601, -0.8145756125450134, 0.55467289686203, 0.6779873967170715, 0.4110592007637024, 0.6591197848320007, -0.47134074568748474, 0.9253479242324829, -0.10425110906362534, 0.20098507404327393, 0.517630398273468, 0.498735636472702, 0.42252981662750244, -0.5037713050842285, 0.36606869101524353, 0.1649918407201767, -0.847557008266449, -0.9429084658622742, 0.2782936692237854, -1.1600761413574219, -0.44383060932159424, 0.9578382968902588, 0.09985853731632233, -0.3922712802886963, -0.14329223334789276, -0.2101234346628189, 0.03712158650159836, -0.3737623989582062, 0.7009353637695312, 0.8520053029060364, -0.4646052122116089, -0.025908542796969414, -0.7915560603141785, 0.27513548731803894, 0.12258456647396088, -0.7832143902778625, -0.0726773664355278, 0.3836279511451721, 0.06819381564855576, 0.6605821251869202, 0.39475417137145996, -0.3457561731338501, 0.14479891955852509, 0.04723849892616272, 0.29062145948410034, 0.10181546956300735, -0.4048032760620117, -0.09850149601697922, 0.2611698508262634, 0.1703374683856964, 0.5688881874084473 ]
http://arxiv.org/abs/2406.07257v1
http://arxiv.org/pdf/2406.07257v1
Scholarly Question Answering using Large Language Models in the NFDI4DataScience Gateway
2024-06-11T13:36:19
2024-06-11T13:36:19
Hamed Babaei Giglou, Tilahun Abedissa Taffa, Rana Abdullah, Aida Usmanova, Ricardo Usbeck, Jennifer D'Souza, Sören Auer
cs.CL
cs.CL, cs.AI
This paper introduces a scholarly Question Answering (QA) system on top of the NFDI4DataScience Gateway, employing a Retrieval Augmented Generation-based (RAG) approach. The NFDI4DS Gateway, as a foundational framework, offers a unified and intuitive interface for querying various scientific databases using federated search. The RAG-based scholarly QA, powered by a Large Language Model (LLM), facilitates dynamic interaction with search results, enhancing filtering capabilities and fostering a conversational engagement with the Gateway search. The effectiveness of both the Gateway and the scholarly QA system is demonstrated through experimental analysis.
[ -0.677834153175354, -0.7176606059074402, 0.9033766388893127, 0.12619663774967194, -0.06045767664909363, 0.36331894993782043, 0.22921136021614075, -0.5668727159500122, 0.6463238596916199, 0.6234669089317322, -0.6630486249923706, -0.3175738751888275, -0.18474647402763367, 0.45279473066329956, -0.2965157628059387, 0.9775711894035339, 0.17419716715812683, 0.37013423442840576, -0.5270630717277527, -0.21385450661182404, -0.15431120991706848, -0.2272813320159912, -0.8107089400291443, -0.20857225358486176, 0.7079005837440491, 0.17368996143341064, 0.8122525811195374, 0.3686022162437439, 0.9653247594833374, 0.22897689044475555, -0.34098371863365173, -0.0660783052444458, -0.4298807382583618, 0.39690810441970825, -0.5682440996170044, -0.5132319927215576, -0.5913180708885193, -0.21541979908943176, 0.8655633330345154, 0.7707265615463257, -0.0560125894844532, 0.3331925868988037, -0.4808964133262634, 0.8122110962867737, -0.5117147564888, 0.1743706613779068, -0.4797690510749817, -0.05035191401839256, -0.41759544610977173, -0.3960461914539337, -0.3187517821788788, -0.5005213618278503, 0.1482582688331604, -0.8684846758842468, 0.19244416058063507, -0.013761981390416622, 0.7414705157279968, 0.16071432828903198, -0.5014861226081848, -0.420300155878067, -0.5999167561531067, 0.5429671406745911, -0.5744539499282837, 0.656536340713501, 0.17359715700149536, 0.45453721284866333, -0.27596211433410645, -1.1774957180023193, -0.7545396685600281, -0.03683692589402199, 0.040114182978868484, 0.13979101181030273, 0.05472646653652191, 0.05243435129523277, 0.28504177927970886, 0.5075802206993103, -0.6717338562011719, -0.0807451531291008, -0.28805091977119446, 0.037193816155195236, 0.41593319177627563, 0.2908480763435364, 0.2921626567840576, -0.31306031346321106, -0.1519130915403366, 0.19148831069469452, -0.7928421497344971, -0.13512858748435974, -0.0006618195911869407, 0.09186214208602905, 0.39602017402648926, 0.43790656328201294, -0.42647337913513184, 0.8857474327087402, 0.08271824568510056, -0.06124388426542282, 0.19576427340507507, -0.41429510712623596, -0.06604723632335663, -0.3780023157596588, 0.4625168442726135, 0.22237984836101532, -0.3682670593261719, -0.6097012162208557, -0.2929547429084778, -0.04833272099494934, 0.17773954570293427, -0.912988007068634, 0.046654995530843735, 0.3262471556663513, -0.36513030529022217, -0.17418701946735382, -0.07678402960300446, -1.3733770847320557, -0.4833858013153076, -0.16844823956489563, 0.29363206028938293, 0.05139660835266113, -0.40225210785865784, 0.008945195004343987, -0.1351875364780426, 0.6191330552101135, 0.2654229998588562, -0.7300517559051514, 0.5790959596633911, 0.8881761431694031, 0.9357156157493591, -0.19991932809352875, -0.00924557913094759, -0.9007670879364014, 0.21768808364868164, -0.3313790261745453, 0.7811896204948425, -0.6330085396766663, -0.5169722437858582, 0.019691724330186844, 0.24708807468414307, 0.1351628601551056, -0.39748838543891907, 0.8177278637886047, -1.6590514183044434, 0.39935460686683655, -0.5233047604560852, -0.5999961495399475, -0.24031434953212738, 0.3196682333946228, -1.0042383670806885, 0.7218621969223022, 0.17181573808193207, -1.0331623554229736, -0.14865398406982422, -1.1067291498184204, 0.03144208714365959, 0.504806637763977, 0.06434120237827301, 0.08344391733407974, -0.14098435640335083, 0.08423618972301483, 0.1572461575269699, -0.6836097836494446, 0.6091870665550232, -0.3492797315120697, -0.2128968983888626, 0.2299475371837616, -0.165635347366333, 1.021288514137268, 0.3631476163864136, -0.0890708714723587, -0.1360921710729599, -0.5783172845840454, 0.07096145302057266, 0.09424475580453873, -0.26214250922203064, -0.5123350024223328, -0.344073086977005, -0.024642029777169228, 0.09283506870269775, 0.5378184914588928, -0.8931989073753357, 0.3882904350757599, -0.507969319820404, 0.24936696887016296, 0.4436655342578888, 0.26264527440071106, 0.6047767400741577, -0.33569425344467163, 0.7568370699882507, -0.20283859968185425, 0.013520818203687668, -0.01575157791376114, -0.5880501866340637, -0.47146064043045044, 0.1490405797958374, 0.5455574989318848, 0.4824214577674866, -1.4053181409835815, -0.27654510736465454, -0.5267263054847717, -0.4438699781894684, -0.3391571342945099, -0.1842162013053894, 0.26805323362350464, 0.6807019114494324, 0.438439279794693, -0.16362464427947998, -0.37779226899147034, -0.6233222484588623, -0.07993850111961365, -0.35577771067619324, -0.16814781725406647, 0.4216863512992859, 0.42643165588378906, -0.41591572761535645, 1.021924614906311, -0.6803540587425232, -0.07324019819498062, 0.1813899129629135, 0.09601357579231262, 0.37774667143821716, 0.07880634069442749, 0.41923168301582336, -1.0651798248291016, -0.32937559485435486, -0.1677362322807312, -0.8325276374816895, -0.31690579652786255, 0.27046629786491394, -0.38693109154701233, 0.21908719837665558, 0.6070442199707031, -0.8792941570281982, -0.054816052317619324, 0.5858646035194397, -0.4566992521286011, 0.6123444437980652, 0.12812690436840057, 0.2691551744937897, -1.2162951231002808, 0.3801060914993286, -0.12223480641841888, 0.0564163401722908, -0.8125273585319519, 0.6499860286712646, 0.12930627167224884, -0.2047065794467926, -0.16355876624584198, 0.8330284953117371, -0.5994819402694702, -0.4368475079536438, -0.3866865038871765, 0.3945282995700836, 0.3643115162849426, 0.026930680498480797, 0.12337825447320938, 0.969176709651947, 0.38058000802993774, -0.48200738430023193, 0.35921815037727356, 0.49881985783576965, 0.14292646944522858, 0.6846379637718201, -0.7254607677459717, 0.060119155794382095, -0.38882172107696533, 0.525115430355072, -0.7988367080688477, -0.3789261281490326, -0.07436369359493256, -0.4281524121761322, 0.27443811297416687, -0.06121961772441864, -0.30654117465019226, -0.5631226301193237, -0.15120144188404083, 0.5266292691230774, 0.2179328352212906, -0.7463918924331665, 0.7639362215995789, 0.5727981925010681, -0.4193308353424072, -0.5496830940246582, -0.36597001552581787, 0.5085181593894958, -0.19016754627227783, -0.9332129955291748, 0.6340882778167725, -0.18820026516914368, -0.4281903803348541, 0.010027317330241203, 0.21953114867210388, -0.3424026072025299, 0.024683641269803047, 0.01713922619819641, 0.5438328981399536, -0.3464867174625397, 0.35824036598205566, -0.12073707580566406, 0.04760834947228432, 0.37620118260383606, -0.08548527956008911, 0.4736865758895874, -0.2355499565601349, -0.12773531675338745, -0.27855589985847473, 0.42123404145240784, 0.8405128121376038, -0.5348772406578064, 0.6482230424880981, 0.3947344720363617, -0.2591700553894043, 0.10190843045711517, -0.5683043599128723, -0.605602502822876, -0.5108151435852051, 0.05331612750887871, -0.4674387276172638, -1.1601109504699707, 0.7054612636566162, -0.10954979807138443, 0.24169312417507172, 0.5030664801597595, 0.29302555322647095, 0.04598819836974144, 0.615502655506134, 0.4736245572566986, 0.21319563686847687, 0.14465054869651794, -0.09817200154066086, 0.21339185535907745, -1.2002956867218018, -0.1579829901456833, -0.9087651371955872, -0.05040346831083298, -0.6911494135856628, -0.501707911491394, 0.659338653087616, 0.01563609577715397, -0.38681310415267944, -0.10354448109865189, -0.36934295296669006, 0.33099520206451416, 0.5410394072532654, -0.24916839599609375, 0.680327832698822, -0.16765697300434113, 0.04373050853610039, -0.017852677032351494, -0.6313881874084473, -0.4239559471607208, 1.0242111682891846, 0.44044700264930725, 0.7579907178878784, 0.5612562894821167, 0.5449689030647278, -0.07084862887859344, 0.5613808035850525, -0.6435821056365967, 0.5839968919754028, 0.13981451094150543, -0.9046853184700012, -0.46513065695762634, -0.6325377821922302, -0.9577538371086121, 0.13095806539058685, -0.18950417637825012, -0.37040606141090393, 0.384687215089798, -0.23876258730888367, -0.3089240491390228, 0.3863788843154907, -0.31923118233680725, 0.5872466564178467, 0.11105189472436905, -0.45964255928993225, 0.13672615587711334, -0.6459391713142395, 0.7465338706970215, -0.16011826694011688, 0.13788534700870514, 0.25254544615745544, -0.12532810866832733, 0.8393541574478149, 0.010706904344260693, 0.3759341537952423, -0.32752546668052673, -0.06444758176803589, 0.13803401589393616, 0.34282660484313965, 0.5608376860618591, 0.3591906726360321, -0.2507144808769226, 0.08198436349630356, 0.3263579308986664, -0.2576608657836914, -0.697044312953949, 1.0641674995422363, -0.600526750087738, -0.8836299180984497, -0.6294061541557312, -0.6437755823135376, -0.5350286960601807, 0.3409616947174072, -0.25606927275657654, 0.5092517137527466, -0.17517033219337463, 0.28950923681259155, 0.9171769022941589, -0.3273928463459015, 0.44952863454818726, 0.9503774046897888, -0.550023078918457, -0.28050315380096436, 0.7265547513961792, 0.1089678630232811, 0.2689685523509979, 0.38950562477111816, 0.02555066905915737, -0.7709373235702515, -0.5227905511856079, -0.7294055223464966, 0.6413076519966125, -0.6017154455184937, -0.32185134291648865, -1.0977776050567627, -0.26446521282196045, -0.46931177377700806, 0.014990062452852726, -0.010589228942990303, -0.30986839532852173, -0.3972458839416504, 0.10876566171646118, 0.49647894501686096, 0.6613813042640686, 0.15829262137413025, 0.06296566873788834, -1.0884344577789307, 0.44193318486213684, 0.43108808994293213, 0.7204249501228333, -0.05590762197971344, -0.5088182687759399, -0.053401947021484375, 0.047210533171892166, -0.24042119085788727, -1.0421887636184692, 0.19767192006111145, 0.10637567192316055, 0.5099747180938721, 0.14340955018997192, 0.17652665078639984, 0.25594639778137207, -0.6787173748016357, 0.8611693978309631, 0.13950315117835999, -0.7176595330238342, 0.13888102769851685, -0.6823906898498535, 0.3563217222690582, 0.5691572427749634, 0.6884523034095764, -0.7548909783363342, -0.14934830367565155, -0.49092066287994385, -0.5305414795875549, 0.2621172070503235, -0.24766889214515686, 0.06381082534790039, -0.19151058793067932, 0.5266643166542053, -0.1743452101945877, 0.08913423866033554, -0.6672888994216919, -0.11266288161277771, -0.19054017961025238, 0.12969106435775757, 0.12402159720659256, -0.34719330072402954, -0.32359832525253296, -0.016803067177534103, 0.8411653637886047, -0.3972693979740143, 0.2680146396160126, 0.2977670729160309, 0.22641170024871826, -0.1661141812801361, 0.24740175902843475, 0.2993433475494385, 0.8908140659332275, -0.13127145171165466, -0.08154024928808212, -0.14509834349155426, -0.6066119074821472, 0.256241112947464, 0.21206405758857727, -0.6079862117767334, 0.10803510993719101, -0.06354550272226334, 0.45091038942337036, -0.32842886447906494, -0.5418164134025574, 0.43766650557518005, -0.28324568271636963, -0.22014379501342773, -0.3618246614933014, -0.13459908962249756, 0.5470074415206909, 0.2556987404823303, 0.7510076761245728, -0.45994794368743896, 0.6118538975715637, -0.3151596486568451, 0.3606660068035126, 0.7933533787727356, -0.29904863238334656, -0.07584071159362793, 0.8188951015472412, 0.1889740377664566, -0.22729399800300598, 0.4765576720237732, -0.2707865834236145, -0.34700581431388855, 0.5254627466201782, 0.5462626218795776, 0.6665055155754089, -0.24290159344673157, 0.6831939220428467, 0.3838059902191162, 0.22031335532665253, 0.011335774324834347, 0.3374274969100952, 0.42481887340545654, -0.5624943971633911, -0.8506367802619934, -1.1083588600158691, -0.6496196985244751, 0.07478293776512146, -0.6344817280769348, -0.059877779334783554, -0.3104928433895111, -0.1627824902534485, 0.34340205788612366, 0.17975100874900818, -0.323386013507843, 0.11965231597423553, -0.34276291728019714, 1.0827668905258179, -0.5536966919898987, 0.5459074974060059, 0.8313567042350769, -0.4476850926876068, -0.7290447950363159, 0.10455993562936783, -0.2473754584789276, -0.25161832571029663, 1.0371264219284058, -0.19255314767360687, -0.14820267260074615, 0.25072672963142395, -0.3459371030330658, -1.2401082515716553, 1.233506202697754, 0.09572994709014893, -0.3216918408870697, -0.06461980938911438, -0.2088184803724289, 0.7812296152114868, -0.14315082132816315, 0.33222073316574097, 0.5014314651489258, 0.5116848349571228, 0.5208475589752197, -0.8525418639183044, -0.014235389418900013, -0.3494756519794464, -0.006843940354883671, 0.371186226606369, -0.6559224724769592, 0.830239474773407, 0.03839537128806114, -0.2812144160270691, 0.1821466088294983, 0.8684530854225159, 0.30623242259025574, 0.5234389305114746, 0.34569019079208374, 0.5994650721549988, 0.7932150363922119, -0.21811340749263763, 1.003605842590332, -0.4088413417339325, 0.13097187876701355, 0.934868335723877, -0.6109980344772339, 0.753548800945282, 0.6689040064811707, -0.13778015971183777, 0.7251179814338684, 0.5448601245880127, 0.3905686140060425, 0.33700159192085266, 0.1560688465833664, -0.8125532269477844, 0.23546795547008514, -0.45403939485549927, -0.4552588164806366, 0.37611123919487, 0.4437703788280487, -0.06463674455881119, -0.4486083984375, 0.021065130829811096, -0.12381881475448608, 0.10249915719032288, -0.49792778491973877, 0.7900011539459229, -0.14575909078121185, -0.9232208728790283, 0.5122837424278259, 0.21688075363636017, 0.4813828468322754, -0.35379111766815186, -0.03841879591345787, -0.519511342048645, -0.3473281264305115, -0.24665148556232452, -0.8000583648681641, 0.4373820126056671, -0.12327829003334045, -0.2601417303085327, 0.09750545769929886, 0.6177123188972473, -0.3083760440349579, -0.2893340289592743, 0.1345914602279663, 0.6993488073348999, 0.10749023407697678, 0.14042171835899353, -0.5937030911445618, -0.048251911997795105, -0.24184760451316833, -0.3597887456417084, 0.34773582220077515, 0.5109079480171204, -0.26913881301879883, 0.8704915046691895, 0.8916918635368347, 0.04247613623738289, -0.004264259710907936, 0.016559667885303497, 1.1696608066558838, -0.5826680064201355, -0.5913643836975098, -0.19987010955810547, -0.04589056596159935, -0.2134118378162384, 0.16471794247627258, 0.7518141865730286, 0.39030155539512634, 0.4334632456302643, -0.035079337656497955, 0.5259235501289368, -0.20821808278560638, 1.015428900718689, -0.32233139872550964, 0.49435216188430786, -0.5361279249191284, 0.2687566578388214, -0.2723022401332855, -1.1967591047286987, -0.4172266125679016, 0.3385925889015198, -0.37063583731651306, 0.0735865905880928, 0.7673619985580444, 1.084788203239441, -0.007274032570421696, 0.4531165063381195, 0.18060734868049622, 0.2799263000488281, 0.5578148365020752, 0.26718199253082275, 0.6168850660324097, -0.297175794839859, 0.1674451231956482, 0.13028113543987274, -0.2664896845817566, -0.01974441483616829, -0.8223046660423279, -0.5345199704170227, -0.6216564178466797, 0.007583096623420715, -0.632050096988678, 0.00208797468803823, 0.45203790068626404, -0.010423651896417141, -0.5853529572486877, -0.10614805668592453, -0.10338546335697174, -0.05859237536787987, 0.12486030161380768, -0.370536208152771, 0.423591673374176, -0.37925195693969727, -0.8179410696029663, 0.3825235664844513, 0.335468053817749, -0.1669265627861023, -0.8916333913803101, -0.12224879860877991, -0.5908634066581726, 0.1608324944972992, 0.5000178217887878, 0.3827774226665497, -0.4129459261894226, -0.03566258028149605, 0.6553229689598083, -0.22533166408538818, -0.29449212551116943, 0.7548605799674988, -0.8179856538772583, 0.4951901137828827, 0.6684627532958984, 1.3552653789520264, 0.43816640973091125, 0.09795859456062317, 0.4057832360267639, -0.18206888437271118, -0.3248315453529358, 0.6278202533721924, 0.03683597594499588, 0.4297312796115875, -0.48368334770202637, 0.6701100468635559, 0.25395113229751587, -1.053384780883789, -0.8193157911300659, 0.2033528983592987, -0.8114397525787354, -0.29033163189888, 1.1596516370773315, -0.0440293550491333, -0.348877876996994, -0.4997817277908325, -0.05638802796602249, -0.07337936758995056, -0.09935437142848969, 0.7582843899726868, 0.6890007853507996, 0.08329366892576218, -0.17339330911636353, -0.9625064134597778, 0.6462949514389038, 0.3838948905467987, -0.9083729386329651, -0.09668570011854172, 0.9302487969398499, 0.23451565206050873, 0.4250541031360626, 0.9847576022148132, -0.3375000059604645, 0.4550773501396179, -0.36336323618888855, 0.04522136226296425, 0.12495066225528717, -0.37957414984703064, -0.2058304399251938, 0.513803243637085, 0.0372091680765152, 0.35471171140670776 ]
http://arxiv.org/abs/2406.07243v2
http://arxiv.org/pdf/2406.07243v2
MBBQ: A Dataset for Cross-Lingual Comparison of Stereotypes in Generative LLMs
2024-06-11T13:23:14
2024-06-18T15:33:33
Vera Neplenbroek, Arianna Bisazza, Raquel Fernández
cs.CL
cs.CL
Generative large language models (LLMs) have been shown to exhibit harmful biases and stereotypes. While safety fine-tuning typically takes place in English, if at all, these models are being used by speakers of many different languages. There is existing evidence that the performance of these models is inconsistent across languages and that they discriminate based on demographic factors of the user. Motivated by this, we investigate whether the social stereotypes exhibited by LLMs differ as a function of the language used to prompt them, while controlling for cultural differences and task accuracy. To this end, we present MBBQ (Multilingual Bias Benchmark for Question-answering), a carefully curated version of the English BBQ dataset extended to Dutch, Spanish, and Turkish, which measures stereotypes commonly held across these languages. We further complement MBBQ with a parallel control dataset to measure task performance on the question-answering task independently of bias. Our results based on several open-source and proprietary LLMs confirm that some non-English languages suffer from bias more than English, even when controlling for cultural shifts. Moreover, we observe significant cross-lingual differences in bias behaviour for all except the most accurate models. With the release of MBBQ, we hope to encourage further research on bias in multilingual settings. The dataset and code are available at https://github.com/Veranep/MBBQ.
[ -0.4044637978076935, -0.695534348487854, 0.1838836669921875, 0.6447927951812744, 0.044972583651542664, 0.25533682107925415, -0.05850743129849434, -0.33855098485946655, 0.14998342096805573, 0.5920463800430298, -0.4808097183704376, -0.8199493288993835, -0.5359333753585815, 0.3559277653694153, -0.01903357170522213, 0.7448222041130066, -0.1106661781668663, 0.5334193706512451, -0.5682850480079651, -0.30716219544410706, -0.4410475194454193, -0.5977333188056946, -0.5970962047576904, -0.33217233419418335, 0.5785673260688782, 0.20745350420475006, 0.7793842554092407, 0.2902710735797882, 0.29585036635398865, 0.10347127914428711, -0.1414901465177536, 0.29733824729919434, -0.4111887216567993, 0.28289031982421875, -0.4494468569755554, -0.5423347353935242, -0.08841363340616226, -0.1610059291124344, 0.45220527052879333, 0.7502747774124146, -0.03350486606359482, 0.28387534618377686, 0.04401644319295883, 0.7525355219841003, -0.6158626079559326, 0.26484137773513794, -0.5886019468307495, -0.07394721359014511, -0.15780207514762878, -0.049439601600170135, -0.437347412109375, -0.7196964025497437, -0.43606138229370117, -0.16043171286582947, 0.23028860986232758, 0.3783654570579529, 0.8298776149749756, 0.12038766592741013, -0.8629298210144043, -0.17216181755065918, -0.38144007325172424, 0.7189627885818481, -0.5360928177833557, 0.5657852292060852, 0.4337526857852936, 0.15159879624843597, -0.08931522816419601, 0.04542788118124008, -0.30063945055007935, -0.22096721827983856, -0.17157763242721558, 0.16325974464416504, 0.03818925842642784, -0.014853816479444504, 0.39714643359184265, 0.03263722360134125, -0.8247692584991455, 0.23718959093093872, -0.5320929288864136, -0.39273884892463684, 0.5210487246513367, 0.3238566219806671, 0.3520861268043518, -0.4951302111148834, -0.15513764321804047, 0.058969851583242416, -1.130539894104004, 0.33981853723526, 0.5455192923545837, 0.2924109697341919, -0.21108631789684296, 0.5133059620857239, -0.35438212752342224, 0.590514063835144, -0.04012582451105118, -0.2781239151954651, 0.4111887216567993, -0.10257234424352646, 0.043176308274269104, 0.01975148543715477, 0.8328865170478821, 0.9766430854797363, 0.4480331540107727, -0.11114122718572617, -0.08289787173271179, 0.11739183217287064, -0.07467866688966751, -0.7797724604606628, -0.17794561386108398, 0.2142343968153, -0.3842967450618744, -0.07906079292297363, -0.30920737981796265, -0.6236622333526611, -0.4306342899799347, 0.06085651367902756, 0.05805616453289986, -0.24857932329177856, -0.2798439860343933, -0.027439113706350327, -0.04022049903869629, 0.31594106554985046, -0.13616250455379486, -0.8068434596061707, 0.026990126818418503, 0.5198338031768799, 0.7554548978805542, -0.21183133125305176, -0.21003448963165283, -0.33544421195983887, 0.1938328891992569, -0.589008629322052, 0.5810961723327637, -0.6580280065536499, -0.49560537934303284, 0.10221564024686813, 0.25606071949005127, 0.0271332748234272, -0.8914086818695068, 0.35405391454696655, -0.5161580443382263, 0.16996508836746216, -0.7821001410484314, -0.2325761765241623, -0.07919635623693466, 0.30266931653022766, -0.5112669467926025, 1.2629961967468262, -0.0446433424949646, -0.9985023140907288, 0.6604503393173218, -0.13216282427310944, -0.5676812529563904, -0.10645965486764908, -0.40704071521759033, -0.19080379605293274, -0.12122632563114166, 0.4837498366832733, 0.598380982875824, -0.5440366864204407, 0.3865509033203125, -0.6165438890457153, -0.5351349711418152, 0.22313496470451355, -0.1606857031583786, 1.2168902158737183, 0.1517074555158615, -0.11112987250089645, -0.2180311679840088, -0.5372470617294312, -0.09937829524278641, 0.11204244941473007, -0.40420693159103394, -0.6393706798553467, -0.1322968602180481, -0.19030719995498657, 0.542306661605835, 0.20695967972278595, -0.6151465177536011, -0.1436692327260971, -0.1144331693649292, 0.07846008986234665, 0.7774193286895752, -0.12158578634262085, 0.15904219448566437, -0.5286937355995178, 0.7391390800476074, 0.20803402364253998, 0.0672312006354332, 0.10123489797115326, -0.4680519998073578, -0.4168815612792969, -0.38126763701438904, 0.2947065830230713, 0.8718109130859375, -1.0646530389785767, 0.21791690587997437, -0.2004474699497223, -0.37640348076820374, -0.6231660842895508, 0.31508100032806396, 0.6815667152404785, 0.2752193510532379, 0.14811131358146667, -0.25674715638160706, -0.26172494888305664, -1.2786201238632202, -0.4682402014732361, -0.3910576403141022, -0.1719411462545395, 0.5343122482299805, 0.16084164381027222, 0.1270321011543274, 0.5623898506164551, -0.21258854866027832, 0.08206339925527573, -0.18704655766487122, 0.02528669498860836, 0.31160423159599304, 0.27638792991638184, 0.8934515714645386, -0.515660285949707, -0.6825380921363831, -0.06899774074554443, -0.8431161642074585, -0.5476841330528259, 0.17676158249378204, -0.4441063702106476, 0.3432633876800537, 0.5678505301475525, -0.5174984335899353, -0.10127655416727066, 0.8011361360549927, -0.3387832045555115, 0.7085792422294617, 0.24021080136299133, 0.4326716661453247, -1.107471227645874, -0.25043195486068726, 0.19514141976833344, -0.1287376582622528, -0.30718865990638733, 0.053012408316135406, 0.3623192608356476, 0.2547110617160797, -0.5344216227531433, 0.5814430117607117, -0.39690542221069336, -0.039078276604413986, 0.10518484562635422, -0.02317052334547043, 0.1677621752023697, 0.28209060430526733, -0.0013084643287584186, 0.8247690200805664, 0.7143046259880066, -0.5817242860794067, 0.42500901222229004, 0.16567370295524597, -0.6409014463424683, 0.822075366973877, -0.6073077917098999, 0.047159433364868164, -0.556522011756897, 0.07373693585395813, -1.0416147708892822, -0.05692342668771744, 0.249567911028862, -0.39680761098861694, 0.1245746836066246, -0.27915316820144653, -0.836187481880188, -0.3387581408023834, -0.129189133644104, 0.29314473271369934, 0.5854141712188721, -0.39394983649253845, 0.49873825907707214, 0.35456541180610657, -0.420418381690979, -0.91802579164505, -0.7646216750144958, -0.2788587510585785, -0.28511881828308105, -0.6089037656784058, -0.01695382222533226, -0.06759534776210785, -0.41089728474617004, -0.18957705795764923, -0.16704335808753967, 0.04361140727996826, -0.06447692215442657, 0.23073074221611023, 0.33928659558296204, -0.11685217171907425, 0.08656040579080582, 0.5198851823806763, 0.42311790585517883, 0.48337289690971375, -0.03010573983192444, 0.4424450099468231, 0.17770224809646606, -0.18843910098075867, 0.3189943730831146, 0.39756426215171814, 0.44626715779304504, -0.10076165199279785, 0.901620626449585, 0.583361804485321, -0.07944130152463913, -0.04198790341615677, -0.7552118897438049, -0.0598454475402832, -0.4371863603591919, 0.3605470061302185, -0.6141387820243835, -1.057477355003357, 0.5994371175765991, 0.2988520562648773, 0.3036477267742157, -0.0318015031516552, 0.7328841090202332, -0.2214765101671219, 1.0983296632766724, 0.45417678356170654, -0.05640080198645592, 0.1459590047597885, 0.5198328495025635, -0.01323846634477377, -0.5560327172279358, -0.21055619418621063, -0.5960221886634827, -0.22234535217285156, -0.8836854100227356, -0.42296066880226135, 0.5166728496551514, -0.03409064561128616, -0.3534298539161682, 0.020422954112291336, -0.03605356439948082, 0.5716206431388855, 0.4939807951450348, 0.1233137845993042, 0.30501291155815125, -0.0005344687378965318, -0.6607422232627869, -0.19325153529644012, -0.7671834826469421, -0.45768600702285767, 1.0765219926834106, 0.15904219448566437, 0.8953497409820557, 0.1916925460100174, 0.4668450355529785, 0.2001606822013855, 0.502761960029602, -0.261886328458786, 0.6118039488792419, -0.3122681975364685, -1.2276084423065186, -0.0350010022521019, -0.7448135018348694, -0.7805565595626831, 0.5743887424468994, -0.19314143061637878, -0.6857640147209167, 0.2301495373249054, 0.3867122530937195, -0.05502311885356903, 0.2445884346961975, -0.6776062846183777, 0.9044293165206909, -0.2699432969093323, -0.45890364050865173, 0.05382833629846573, -0.6481426358222961, 0.5904062986373901, -0.07928790152072906, 0.4191848635673523, -0.607682466506958, 0.16121353209018707, 0.5261498689651489, 0.17109732329845428, 0.7942452430725098, -0.1879347264766693, -0.18672271072864532, -0.04230811446905136, 0.29995325207710266, 0.370900422334671, 0.11024654656648636, -0.2763940989971161, 0.49485841393470764, 0.34304100275039673, -0.8273512125015259, -0.407229483127594, 0.611165463924408, -0.705694317817688, -0.8018146753311157, -0.13107818365097046, -0.75204998254776, -0.49252477288246155, 0.015600834041833878, 0.2182205617427826, 0.18585941195487976, -0.26130276918411255, 0.20963092148303986, 0.7310229539871216, -0.8042799830436707, -0.02487746812403202, 0.6783694624900818, -0.7101452946662903, -0.007271078880876303, 0.6646202802658081, 0.1315506249666214, 0.5013200640678406, 0.516952395439148, -0.07217805832624435, -0.3135257959365845, -0.197145015001297, -0.6542628407478333, 0.31153982877731323, -0.830549955368042, -0.05992439389228821, -0.7784291505813599, 0.048165347427129745, -0.6493604779243469, -0.012472040019929409, -0.17046652734279633, -0.16122162342071533, 0.366046279668808, -0.23368549346923828, 0.2234598845243454, 0.5743939280509949, 0.04691691696643829, -0.10636378824710846, -0.5958243012428284, 0.3204154372215271, 0.14176413416862488, 0.14237166941165924, -0.2871880829334259, -0.4057384133338928, -0.24042506515979767, -0.07934217900037766, -0.04539802297949791, -0.9970570206642151, 0.2862394154071808, -0.21054092049598694, 0.5627872347831726, 0.1764930635690689, 0.23055221140384674, 0.22369994223117828, -0.36168885231018066, 0.6313719153404236, 0.11001609265804291, -0.5991642475128174, 0.10299897938966751, -0.5141766667366028, 0.4505394697189331, 0.4287179410457611, 0.9574233889579773, -0.8472574949264526, -0.8303587436676025, -0.054001856595277786, -0.7644553184509277, 0.4572315216064453, -0.08610870689153671, 0.1717654913663864, -0.34792718291282654, 0.05319872125983238, 0.27670174837112427, 0.426074743270874, -0.9713638424873352, -0.5157182216644287, -0.21446749567985535, -0.19007115066051483, -0.08195792138576508, -0.3106713891029358, -0.12161016464233398, -0.16110637784004211, 0.5506212115287781, -0.03246377408504486, 0.05862521007657051, -0.22980952262878418, -0.19660285115242004, -0.026741428300738335, 0.44277921319007874, -0.0009591869893483818, 0.6902300715446472, -0.2706700265407562, 0.15196770429611206, 0.403281033039093, -0.32595178484916687, 0.23011596500873566, 0.034893546253442764, -0.5631897449493408, 0.13557222485542297, -0.005467895418405533, 0.6073455810546875, 0.01004899200052023, -0.7750577926635742, 0.3263351619243622, -0.01148676872253418, -0.20924335718154907, -0.05863013491034508, -0.047822654247283936, 0.31890976428985596, 0.25451770424842834, 0.09019913524389267, -0.29823270440101624, 0.09457876533269882, -0.5286539793014526, -0.17882241308689117, 0.6325191259384155, -0.20361855626106262, 0.05512628331780434, 0.5894119143486023, 0.36111512780189514, 0.13424265384674072, 0.5630213618278503, -0.3808627128601074, -0.3508016765117645, 0.60319584608078, 0.34492817521095276, 0.4106118679046631, -0.19906628131866455, 0.4247446656227112, 0.39117431640625, 0.7840346097946167, 0.15751013159751892, 0.5030516982078552, 0.19252699613571167, -1.1650469303131104, -0.5083198547363281, -0.6519122123718262, -0.3694770038127899, 0.019446097314357758, -0.8109467625617981, 0.18962015211582184, -0.34703344106674194, -0.12489524483680725, -0.1190512478351593, -0.3938540816307068, -0.8391119241714478, 0.18615522980690002, 0.09469731152057648, 0.7252253890037537, -1.141366958618164, 0.7641347050666809, 0.9582507610321045, -0.10927707701921463, -0.546191394329071, 0.0434052012860775, 0.11495881527662277, -0.9081752300262451, 0.8075926303863525, 0.18028956651687622, -0.05907105281949043, -0.3210499584674835, -0.32935068011283875, -0.707096517086029, 0.6868571639060974, 0.4921710789203644, -0.5273831486701965, -0.11447836458683014, 0.40598589181900024, 0.32303258776664734, -0.22922661900520325, 0.3375740051269531, 0.6628054976463318, 0.3699033558368683, -0.15936604142189026, -1.0198808908462524, 0.16485178470611572, -0.11504048854112625, 0.07688138633966446, 0.12991587817668915, -0.8009161353111267, 0.6572363972663879, -0.028288355097174644, -0.10443512350320816, -0.33406978845596313, 0.38510778546333313, 0.5043674111366272, 0.23151817917823792, 0.507131814956665, 0.22831889986991882, 0.6308374404907227, -0.26656416058540344, 0.9060899615287781, -0.3829246461391449, 0.05919383093714714, 0.8454571962356567, -0.5492437481880188, 0.43252915143966675, 0.2873055934906006, -0.2978855073451996, 0.4078352749347687, 0.7316203713417053, 0.12178279459476471, 0.31579431891441345, 0.20233787596225739, -0.16290272772312164, -0.39052069187164307, -0.30959397554397583, -0.2736556828022003, 0.20230355858802795, 0.37764304876327515, -0.35333409905433655, 0.04788803681731224, 0.011399448849260807, 0.28841906785964966, 0.0042423405684530735, -0.4886225759983063, 0.4043305218219757, 0.15328945219516754, -0.6625558733940125, 0.7551082968711853, -0.046582337468862534, 1.010474681854248, -0.4044969379901886, 0.32011184096336365, -0.584223210811615, -0.22279797494411469, -0.20498093962669373, -0.8070238828659058, 0.2748416066169739, 0.04623803123831749, -0.41927146911621094, -0.09580127894878387, 0.4032628834247589, -0.5181955099105835, -0.6242144703865051, 0.4779219627380371, 0.833095371723175, 0.3995613753795624, 0.14477910101413727, -0.7647485733032227, 0.03222544863820076, 0.09952481836080551, 0.021809319034218788, 0.38451752066612244, 0.4098169505596161, -0.205140620470047, 0.8012992739677429, 0.3128838539123535, 0.22538699209690094, 0.4396420121192932, 0.33403459191322327, 0.4403618574142456, -0.6415073871612549, -0.4049602150917053, -0.7028793692588806, 0.2625124156475067, -0.0118604376912117, -0.2469470202922821, 0.9705309867858887, 0.5357586145401001, 1.3366156816482544, -0.22721301019191742, 0.9169142246246338, -0.1351037323474884, 0.7533895969390869, -0.6831157803535461, 0.5110426545143127, -0.7361131310462952, 0.13203322887420654, -0.39080166816711426, -0.9122457504272461, 0.025459948927164078, 0.3227134644985199, -0.4219515919685364, 0.31320661306381226, 0.7652407288551331, 1.3004013299942017, 0.1356106847524643, -0.28614088892936707, 0.6190372705459595, 0.3546896278858185, -0.11948443949222565, 0.4962034821510315, 1.014827847480774, 0.10236833989620209, 0.6993800401687622, -0.25444120168685913, -0.07947970181703568, -0.006375323515385389, -0.7083984017372131, -1.3811321258544922, -0.34958383440971375, -0.3813970983028412, -0.5195839405059814, 0.4747280776500702, 1.1164984703063965, 0.594425618648529, -0.8920649886131287, -0.4754980504512787, 0.622586727142334, 0.3081566393375397, -0.29566526412963867, -0.25723952054977417, -0.05121057480573654, -0.08751966804265976, -0.8506718873977661, 0.07308153063058853, 0.1362793743610382, -0.21646706759929657, -0.3223230540752411, 0.09012756496667862, 0.07431399822235107, 0.16512428224086761, 0.5531907677650452, 0.06575733423233032, -0.7459157109260559, -0.12731021642684937, 0.09197397530078888, -0.2300487458705902, 0.07057570666074753, 0.7058721780776978, -0.29378220438957214, 0.29636213183403015, 0.4295693337917328, 0.519346296787262, 0.22434112429618835, -0.1616034358739853, 0.7523335218429565, -0.9308204650878906, 0.06738340854644775, -0.012413418851792812, 0.49297866225242615, 0.6037590503692627, -0.3717498779296875, 0.324469655752182, 0.12416151165962219, -0.5235016942024231, -0.6743794679641724, 0.4574491083621979, -0.5629185438156128, -0.36845582723617554, 1.3722800016403198, -0.12418550997972488, -0.09055260568857193, -0.4234735667705536, -0.05396219342947006, 0.04183483496308327, -0.48501062393188477, 0.8681349158287048, 0.9766796827316284, 0.0949997678399086, -0.41437795758247375, -0.7644815444946289, 0.4337642788887024, 0.6954106688499451, -0.48253294825553894, 0.059478357434272766, 0.6269543766975403, 0.6410104036331177, -0.18005354702472687, 0.6010928153991699, -0.23235245048999786, 0.30677351355552673, -0.22130799293518066, 0.3335939049720764, 0.2672664225101471, -0.1385420858860016, -0.017599618062376976, 0.043556541204452515, 0.18819937109947205, 0.1504482924938202 ]
http://arxiv.org/abs/2406.07239v1
http://arxiv.org/pdf/2406.07239v1
On the Hallucination in Simultaneous Machine Translation
2024-06-11T13:20:07
2024-06-11T13:20:07
Meizhi Zhong, Kehai Chen, Zhengshan Xue, Lemao Liu, Mingming Yang, Min Zhang
cs.CL
cs.CL
It is widely known that hallucination is a critical issue in Simultaneous Machine Translation (SiMT) due to the absence of source-side information. While many efforts have been made to enhance performance for SiMT, few of them attempt to understand and analyze hallucination in SiMT. Therefore, we conduct a comprehensive analysis of hallucination in SiMT from two perspectives: understanding the distribution of hallucination words and the target-side context usage of them. Intensive experiments demonstrate some valuable findings and particularly show that it is possible to alleviate hallucination by decreasing the over usage of target-side information for SiMT.
[ -0.4921163022518158, -0.8564972877502441, 0.6551529765129089, 0.562465488910675, -0.4865525960922241, -0.11053497344255447, -0.20602327585220337, -0.4473746120929718, 0.4232816696166992, 0.726161539554596, -0.6110879778862, -0.2358202189207077, -0.7477135062217712, 0.29039496183395386, -0.5784167647361755, 0.9575759172439575, -0.2590664327144623, 0.43488001823425293, -0.42138969898223877, -0.2965650260448456, -0.9676715135574341, -0.8279491662979126, -0.5199575424194336, -0.18394304811954498, 0.2890324890613556, 0.2773183286190033, 0.8887954354286194, 0.5530188679695129, 0.7343159914016724, 0.2760177254676819, 0.2266254872083664, -0.05935094133019447, -0.5960773825645447, 0.45536357164382935, -0.07797698676586151, -0.29338738322257996, -0.14915014803409576, -0.26534783840179443, 0.7383150458335876, 0.7749356627464294, 0.2686653733253479, -0.15808534622192383, 0.2169862985610962, 0.7747121453285217, -0.25266551971435547, -0.01681770756840706, -0.3910972774028778, 0.31203943490982056, -0.18962498009204865, -0.6523659825325012, -0.3814779818058014, -0.12883642315864563, -0.06164960563182831, -0.25598135590553284, 0.4593427777290344, -0.012417502701282501, 0.479960560798645, 0.8691856265068054, -0.5354554653167725, -0.4102058410644531, -0.8199633359909058, 0.8712269067764282, -0.07111461460590363, 0.459246426820755, 0.21649335324764252, 0.3884216547012329, -0.2642616629600525, -0.4110558032989502, -0.3524666130542755, -0.22532759606838226, -0.2757055163383484, 0.19646960496902466, 0.2394537776708603, 0.09756611287593842, 0.37294909358024597, 0.2696618437767029, -0.6209478974342346, -0.41139891743659973, -0.5407417416572571, -0.23292522132396698, 0.6206380724906921, 0.007813370786607265, 0.6401264071464539, -0.17035581171512604, -0.5051034688949585, -0.10574409365653992, -0.27084848284721375, -0.48730146884918213, -0.016644837334752083, 0.1755295693874359, 0.2361011505126953, 0.7640479207038879, 0.08072736114263535, 0.29263442754745483, -0.2750878930091858, 0.11293492466211319, 0.4255432188510895, -0.5586565136909485, -0.2792406678199768, 0.1854943484067917, 0.7277763485908508, 0.2273910641670227, 0.061362288892269135, -0.635871171951294, -0.30910518765449524, 0.11119721084833145, 0.5628170967102051, -0.7175012230873108, 0.2405032217502594, 0.4532620906829834, -0.48015114665031433, -0.0021119248121976852, 0.2637813091278076, -0.7036598324775696, -0.34378084540367126, -0.2821497619152069, 0.6480197310447693, -0.45361608266830444, -0.3088759481906891, 0.06445924192667007, -0.388074666261673, 0.15070846676826477, 0.1642598956823349, -0.46372973918914795, 0.6107231378555298, 0.6472724080085754, 1.0814626216888428, -0.48642095923423767, -0.7538561224937439, -0.5026531219482422, 0.20195873081684113, -0.18745926022529602, 0.649545431137085, -0.22706238925457, -0.26838964223861694, -0.23245869576931, -0.049555592238903046, -0.45426636934280396, -0.7798832058906555, 0.5832333564758301, -0.14255590736865997, -0.1471908837556839, -0.67350172996521, -0.4485657215118408, -0.6324858069419861, -0.21837320923805237, -0.7640289664268494, 0.9596372842788696, -0.09790658950805664, -0.8268621563911438, 0.2282174527645111, -0.5083873271942139, -0.7636607885360718, -0.09032082557678223, -0.35996952652931213, -0.14113998413085938, 0.7485741376876831, -0.08314525336027145, 0.49063485860824585, -0.019463377073407173, 0.40944796800613403, 0.14423133432865143, -0.7691795229911804, 0.4425598680973053, -0.1899622678756714, 0.7076112627983093, 0.3646639883518219, -0.6602893471717834, 0.04288095235824585, -0.28332778811454773, -0.3770388066768646, 0.18513622879981995, 0.2624880373477936, -0.45029085874557495, 0.11333245784044266, 0.12356734275817871, 0.5270769596099854, 0.14514321088790894, -0.10182737559080124, 0.21008267998695374, -0.004313511308282614, -0.05683985352516174, 0.4785444140434265, 0.16349413990974426, 0.36681315302848816, -0.2013445496559143, 0.5374813675880432, 0.1800415962934494, 0.11627068370580673, 0.4391815662384033, -0.4865575134754181, -0.8485553860664368, -0.02498834766447544, -0.08919336646795273, 0.6405395865440369, -0.8524646759033203, 0.14637793600559235, -0.04361320286989212, 0.03850942850112915, -0.6367152333259583, 0.16879573464393616, 0.3651977479457855, 0.06523220241069794, 0.669704794883728, -0.27319926023483276, -0.6308900117874146, -1.0475085973739624, -0.4880921244621277, 0.2592886984348297, 0.2799986004829407, 0.07316409796476364, 0.512143075466156, -0.38726669549942017, 0.42300814390182495, -0.27908775210380554, -0.5851871371269226, -0.46220311522483826, 0.30537310242652893, -0.14201073348522186, 0.4121769070625305, 0.4696081876754761, -1.1673433780670166, -0.4240800440311432, -0.021376240998506546, -1.1425764560699463, -0.32593804597854614, -0.586782693862915, -0.36236563324928284, 0.205054372549057, 0.7448523640632629, -0.5324932932853699, 0.6782548427581787, 0.48366138339042664, -0.10911006480455399, 0.24565890431404114, -0.13034147024154663, 0.34486979246139526, -1.1362740993499756, -0.1685193032026291, -0.47043538093566895, -0.057252172380685806, -0.8625564575195312, 0.12144210189580917, -0.015786243602633476, 0.18319030106067657, -0.32791194319725037, 0.15875409543514252, -0.5436714291572571, -0.4503932297229767, -0.46173471212387085, 0.22399590909481049, -0.31335604190826416, 0.32665371894836426, 0.18547412753105164, 0.7164565324783325, 0.4814130663871765, -0.545003354549408, 0.251252681016922, 0.048046935349702835, 0.0720200315117836, 0.24615876376628876, -0.309431254863739, 0.07321734726428986, -0.24629104137420654, 0.19393803179264069, -0.9335280656814575, -0.37430539727211, 0.6361190676689148, -0.4568612575531006, 0.18465466797351837, 0.3223872184753418, -0.5914058685302734, -0.25271761417388916, -0.18376272916793823, 0.6580432653427124, 0.39944249391555786, -0.2831445634365082, 0.29899662733078003, 0.29151925444602966, 0.2125588357448578, -0.5026044249534607, -0.8543274402618408, 0.05087471753358841, -0.2626960873603821, -0.5872290134429932, 0.14562185108661652, -0.19530099630355835, -0.39168354868888855, -0.06796363741159439, -0.3235026001930237, -0.03958914801478386, 0.11261060833930969, 0.4881325364112854, -0.16063618659973145, 0.029830383136868477, 0.3837909400463104, 0.2942578196525574, -0.21959051489830017, 0.25012192130088806, -0.13615062832832336, 0.8089784979820251, 0.13300713896751404, -0.3745378851890564, -0.742004930973053, 0.8664019107818604, 0.691760778427124, 0.17225287854671478, 1.181058645248413, 0.7707906365394592, -0.5298870801925659, -0.0749133825302124, -0.6407195925712585, -0.40573182702064514, -0.3328852653503418, 0.41388845443725586, -0.8952993750572205, -0.3679710626602173, 0.5997376441955566, 0.04425805062055588, -0.3765581250190735, 0.6966749429702759, 0.5262799263000488, 0.16331137716770172, 1.2987675666809082, 0.6871383190155029, 0.12405171245336533, 0.14543919265270233, -0.004931328818202019, 0.3978578448295593, -0.6769922375679016, -0.43673208355903625, -0.5310952663421631, -0.31825244426727295, -0.6419932842254639, -0.5107816457748413, 0.12237992137670517, 0.33592984080314636, 0.35949933528900146, 0.4196809232234955, -0.4893767237663269, 0.33828413486480713, 0.3866603374481201, 0.08656877279281616, 0.3926834762096405, 0.0019091315334662795, -0.022153913974761963, -0.2681714594364166, -0.32639309763908386, -0.38719817996025085, 0.5659593343734741, 0.17465505003929138, 0.40869882702827454, 0.01737808808684349, 1.1662628650665283, -0.11615145206451416, -0.012075998820364475, -0.8921352624893188, 0.6907621622085571, -0.01611739955842495, -0.5575814247131348, -0.3416099548339844, -0.6190934181213379, -0.5799275040626526, 0.3689974844455719, 0.20141096413135529, -0.6103060841560364, -0.12320080399513245, -0.18613670766353607, 0.00387342507019639, 0.04104626551270485, -0.696528971195221, 0.9850612878799438, -0.3173513114452362, -0.11822587251663208, -0.41992437839508057, -0.6515224575996399, 0.5091108083724976, -0.3415299654006958, 0.29148849844932556, 0.11231013387441635, -0.09887231141328812, 0.7419277429580688, -0.35756435990333557, 0.47151461243629456, -0.07270987331867218, 0.040327224880456924, -0.004659984260797501, 0.18543367087841034, 0.33792611956596375, 0.046981073915958405, 0.07004056125879288, 0.29837125539779663, -0.0926666185259819, -0.34658533334732056, -0.753643274307251, 0.6909427642822266, -0.6785894632339478, -0.7374234795570374, -0.655741274356842, -0.9795114398002625, 0.09254948794841766, 0.07629258930683136, 0.6562991142272949, -0.13396073877811432, -0.0976850762963295, 0.1330387145280838, 0.5662173628807068, -0.28446459770202637, 0.07533517479896545, -0.19026371836662292, -0.6340153813362122, -0.0401989109814167, 0.9332861304283142, 0.422071635723114, 0.36775532364845276, 0.31582215428352356, 0.030155278742313385, -0.2515738308429718, -0.5928100347518921, -0.2508562207221985, 0.55836021900177, -0.7333537936210632, 0.20490002632141113, -1.2039189338684082, -0.5203183889389038, -0.6689945459365845, -0.2442987710237503, -0.4747128188610077, -0.4432775676250458, -0.15278291702270508, 0.10884024202823639, 0.06296385079622269, 0.8804754614830017, -0.15125003457069397, 0.2837603688240051, -0.5934258699417114, 0.731087327003479, -0.10253133624792099, -0.02385692484676838, -0.3056257367134094, -0.4459468424320221, -0.18058578670024872, 0.09554171562194824, -0.008754037320613861, -1.1716086864471436, 0.4113706648349762, -0.34432390332221985, 0.5229133367538452, 0.4418070614337921, 0.09733384102582932, 1.0324766635894775, -0.29163917899131775, 0.6128409504890442, 0.03728886693716049, -1.1098710298538208, 0.4633902907371521, 0.18056592345237732, 0.10784854739904404, 0.5556044578552246, 0.6098936796188354, -0.8059291243553162, -0.7934542298316956, -0.433424174785614, -0.8199114203453064, 0.9083649516105652, 0.5805572867393494, 0.050930414348840714, 0.019102023914456367, 0.13232584297657013, 0.5152536630630493, 0.23649320006370544, -0.7215670347213745, -0.21460691094398499, -0.1659107655286789, 0.04706064611673355, -0.24609288573265076, -0.3803677260875702, 0.005314668174833059, -0.4350490868091583, 0.6879792809486389, 0.3681345582008362, 0.348372220993042, 0.07298304885625839, -0.5211825370788574, -0.3032686114311218, -0.07062006741762161, 0.6620957255363464, 0.6154969930648804, -0.38469555974006653, 0.2869516611099243, 0.1991109400987625, -0.6698133945465088, -0.03426554054021835, -0.19026659429073334, -0.20874418318271637, 0.35169604420661926, 0.277677446603775, 0.7404277920722961, 0.0036445234436541796, -0.2826908528804779, 0.5103034377098083, -0.04194111004471779, -0.1517694890499115, -0.25992581248283386, -0.10875964909791946, -0.06821411103010178, 0.23915012180805206, 0.3997047543525696, 0.1414904147386551, 0.4159161448478699, -0.5373464226722717, 0.37206050753593445, 0.3998429775238037, -0.4367981255054474, -0.14390026032924652, 0.6125263571739197, -0.026264751330018044, -0.2387266606092453, 0.6620627045631409, -0.25055766105651855, -0.8437372446060181, 0.6223650574684143, 0.8714877963066101, 1.334263801574707, -0.5315789580345154, 0.35526859760284424, 0.2628674805164337, 0.47975677251815796, -0.38352689146995544, 0.30490580201148987, -0.20680326223373413, -0.40369462966918945, -0.2878541946411133, -0.5911909341812134, -0.0881250724196434, 0.07495598495006561, -0.855987012386322, 0.4328668713569641, 0.12003646790981293, 0.023758281022310257, -0.16205719113349915, -0.09897921979427338, -0.5041871666908264, -0.04461013525724411, -0.12537464499473572, 0.3221403956413269, -1.075605034828186, 0.8115136623382568, 0.554940938949585, -0.5152451992034912, -0.3560062050819397, 0.5383456349372864, 0.014098788611590862, -0.6034830808639526, 0.6841574311256409, 0.5837381482124329, -0.28485172986984253, -0.03535204380750656, -0.33004647493362427, -0.6430893540382385, 0.83711177110672, 0.13096171617507935, -0.26935696601867676, 0.08830492198467255, 0.45317769050598145, 0.47940975427627563, -0.12546341121196747, -0.1237516701221466, 0.6394041776657104, 0.6977867484092712, 0.2939237058162689, -0.694793164730072, 0.3942851722240448, 0.18226951360702515, 0.11160221695899963, 0.420792818069458, -0.6727161407470703, 0.7765127420425415, -0.04952780157327652, -0.6237049102783203, -0.0677204579114914, 0.5024594068527222, -0.15906192362308502, 0.4785888195037842, 0.3873983919620514, 0.21439144015312195, 0.38708922266960144, 0.012712927535176277, 0.9946814179420471, 0.011520587839186192, 0.24266424775123596, 0.9291343092918396, -0.11264385282993317, 0.552198588848114, 1.0812541246414185, 0.1405259519815445, -0.21631306409835815, 0.5266666412353516, 0.23776079714298248, 0.4846770763397217, 0.27230414748191833, -0.16074056923389435, -0.2008887529373169, -0.17628072202205658, -0.6843865513801575, 0.3801679015159607, 0.36305558681488037, -0.47417593002319336, -0.049965787678956985, 0.45581328868865967, 0.002073167823255062, -0.13158299028873444, 0.13793756067752838, 0.6721178293228149, 0.3275556266307831, -0.7564387917518616, 0.6274836659431458, -0.1756828874349594, 0.048213690519332886, -0.15188734233379364, -0.16723407804965973, -0.5307307839393616, 0.10481884330511093, -0.2414957731962204, -0.34836870431900024, 0.7749024033546448, -0.31155115365982056, -0.09084443002939224, -0.36698004603385925, 0.47296634316444397, -0.4493936002254486, -0.4396076798439026, 0.8691853284835815, 0.6223682165145874, 0.8980666399002075, -0.5369804501533508, -0.4039478003978729, 0.48389673233032227, 0.16984497010707855, -0.25531238317489624, 0.2181754857301712, 0.773140013217926, -0.17356562614440918, 0.37871962785720825, 0.20744472742080688, 0.0896511897444725, 0.36135947704315186, 0.14782117307186127, 0.7721763253211975, -0.9917188882827759, -0.12950865924358368, -1.0256574153900146, 0.24025790393352509, -0.09528780728578568, 0.0027481387369334698, 0.9866790771484375, 0.6456021070480347, 0.8241789937019348, -0.23904109001159668, 0.7770854830741882, -0.09673811495304108, 0.08477072417736053, -0.5707651376724243, 0.7455164194107056, -0.8553829789161682, 0.19689428806304932, -0.44119513034820557, -1.5888288021087646, -0.6397445201873779, 0.5641786456108093, -0.13716138899326324, -0.08419342339038849, 1.4406152963638306, 0.6315816640853882, -0.156776562333107, 0.1308237910270691, 0.6264268755912781, 0.3779025077819824, -0.2836741507053375, 0.5881641507148743, 0.9281919002532959, -0.5782904624938965, 0.6855994462966919, -0.5539078116416931, -0.20609831809997559, -0.5655419826507568, -0.3832482397556305, -1.0090237855911255, -0.9259774088859558, -0.2999791204929352, -0.2844008505344391, 0.13597428798675537, 0.6139359474182129, 0.24088086187839508, -0.8617127537727356, -0.37570902705192566, -0.20987090468406677, 0.3879018723964691, -0.6261858940124512, -0.2531568109989166, 0.37991204857826233, -0.7312895059585571, -0.9215061664581299, 0.23816047608852386, 0.5029303431510925, 0.13716080784797668, -0.17470626533031464, -0.150275319814682, -0.16950730979442596, -0.059654928743839264, 0.48634055256843567, -0.1895906925201416, -0.8347553014755249, -0.11892860382795334, 0.09031977504491806, -0.31234702467918396, 0.06753135472536087, 1.0009307861328125, -0.4112051725387573, 0.48712417483329773, 0.7552189826965332, 0.6578090190887451, 0.37769070267677307, 0.1304086297750473, 0.4458388686180115, -0.5247830748558044, 0.34432849287986755, 0.03842417150735855, 0.05595806986093521, 0.10848299413919449, -0.5713103413581848, 0.636504590511322, 0.4318009912967682, -0.48533138632774353, -0.9635593295097351, 0.21108464896678925, -1.0295740365982056, -0.4185364246368408, 1.1885948181152344, 0.41811707615852356, -0.22438552975654602, -0.28646141290664673, -0.508484423160553, 0.877116322517395, 0.00965908169746399, 0.9016959071159363, 1.1198205947875977, -0.2206326425075531, 0.05894416198134422, -1.2077335119247437, 0.5283862352371216, 0.726620614528656, -0.7045092582702637, -0.017499694600701332, 0.4110845923423767, -0.3225770890712738, 0.32073068618774414, 0.5219897031784058, -0.0276710893958807, 0.027541745454072952, 0.2738921046257019, -0.02412431500852108, 0.33714911341667175, -0.7463143467903137, -0.29631316661834717, 0.09951689839363098, -0.1885416954755783, -0.433474600315094 ]
http://arxiv.org/abs/2406.07232v2
http://arxiv.org/pdf/2406.07232v2
DUAL-REFLECT: Enhancing Large Language Models for Reflective Translation through Dual Learning Feedback Mechanisms
2024-06-11T13:10:39
2024-06-21T16:49:33
Andong Chen, Lianzhang Lou, Kehai Chen, Xuefeng Bai, Yang Xiang, Muyun Yang, Tiejun Zhao, Min Zhang
cs.CL
cs.CL, cs.AI
Recently, large language models (LLMs) enhanced by self-reflection have achieved promising performance on machine translation. The key idea is guiding LLMs to generate translation with human-like feedback. However, existing self-reflection methods lack effective feedback information, limiting the translation performance. To address this, we introduce a DUAL-REFLECT framework, leveraging the dual learning of translation tasks to provide effective feedback, thereby enhancing the models' self-reflective abilities and improving translation performance. The application of this method across various translation tasks has proven its effectiveness in improving translation accuracy and eliminating ambiguities, especially in translation tasks with low-resource language pairs.
[ -0.03184865787625313, -0.44800108671188354, 0.43886926770210266, 0.4996727705001831, -0.32159194350242615, 0.4169847071170807, -0.5410491824150085, -0.5117076635360718, 0.37533000111579895, 0.8506094217300415, -0.4748920202255249, -0.22617056965827942, -0.6154902577400208, 0.07311161607503891, -0.3201621174812317, 1.0819728374481201, -0.13889780640602112, 0.6100820899009705, -0.004120275378227234, -0.22637970745563507, -0.3997967839241028, -0.46893325448036194, -0.5248082876205444, -0.34761518239974976, 0.7727628946304321, 0.3884848356246948, 0.4733099639415741, 0.04030435159802437, 0.5931992530822754, 0.29191696643829346, 0.3917088508605957, 0.5888983607292175, -0.5974383354187012, 0.44690147042274475, -0.2359849512577057, -0.5910994410514832, -0.4437854290008545, 0.20572209358215332, 1.1811946630477905, 0.4606756269931793, -0.2362166792154312, 0.38150855898857117, 0.4516049325466156, 0.7239362001419067, -0.5405095219612122, 0.09890047460794449, -0.23134732246398926, 0.07923205196857452, -0.12897348403930664, -0.250548779964447, -0.5591078996658325, -0.05957124009728432, -0.14680255949497223, -0.3031768202781677, 0.11092720925807953, -0.03213116526603699, 0.31853654980659485, 0.40112632513046265, -0.8346752524375916, -0.06838376820087433, -1.0680996179580688, 0.9867135882377625, -0.7261338233947754, 0.4155585467815399, -0.04088424891233444, 0.2861323654651642, -0.009692121297121048, -0.6644094586372375, -0.28250807523727417, -0.3687255382537842, -0.18774855136871338, 0.3922549784183502, 0.43322986364364624, -0.008615548722445965, 0.05357459932565689, 0.5559862852096558, -0.1070350930094719, -0.006709298584610224, -0.2170289009809494, -0.05981617420911789, 0.9067875742912292, 0.14984801411628723, 0.4024409055709839, 0.09054360538721085, -0.603810727596283, -0.12906397879123688, -0.7302885055541992, -0.1754542887210846, 0.22009387612342834, 0.6704455018043518, 0.030468221753835678, 0.37765246629714966, 0.0037129721604287624, 0.3384598195552826, -0.040134597569704056, -0.04186169058084488, 0.14801128208637238, -0.5691474080085754, 0.1324983835220337, -0.20783454179763794, 0.8120889663696289, 0.3140667676925659, -0.3018854558467865, -0.422269344329834, -0.6367121934890747, 0.0976182222366333, 0.5433602333068848, -0.7415966987609863, 0.04498846083879471, -0.23462042212486267, -0.5343056917190552, -0.30764538049697876, 0.17384053766727448, -1.152336597442627, -0.422555148601532, -0.47788554430007935, 0.8094579577445984, 0.2741399109363556, -0.7878724336624146, 0.07027269154787064, 0.029575686901807785, 0.17982593178749084, 0.661029577255249, -0.7767776846885681, 0.7258597612380981, 0.43941476941108704, 0.9532227516174316, -0.2341533899307251, -0.41899532079696655, -0.8160240054130554, 0.22187943756580353, -0.25638532638549805, 0.5390383005142212, -0.40703994035720825, -0.46804264187812805, 0.08767726272344589, -0.19836364686489105, 0.04453686997294426, -0.5569537281990051, 0.4056871831417084, -0.5182209610939026, 0.27640482783317566, -0.5700703263282776, -0.20271936058998108, -0.34659796953201294, -0.0024205856025218964, -0.6919776201248169, 1.3574917316436768, 0.14976544678211212, -0.42324548959732056, 0.2571452260017395, -0.599092960357666, -0.5172023773193359, 0.2216452807188034, -0.09063753485679626, -0.27617526054382324, 0.4692651331424713, 0.004962260369211435, 0.3140697777271271, -0.5471310615539551, 0.1312168687582016, -0.34617406129837036, -0.2127683162689209, -0.09535693377256393, -0.32390204071998596, 0.37841710448265076, 0.02894802950322628, -0.5839276909828186, 0.1780976504087448, -0.5789536237716675, 0.03245437517762184, 0.2270694226026535, -0.5973800420761108, -0.3120175302028656, 0.007935352623462677, 0.1812993586063385, 0.5238466262817383, 0.4039383828639984, -0.5401358604431152, 0.5212588906288147, -0.32806196808815, 0.13155902922153473, 0.6047271490097046, -0.2997332811355591, 0.571606457233429, -0.2752680480480194, 0.7144507765769958, -0.015407697297632694, -0.12978997826576233, 0.16474826633930206, -0.2367672473192215, -0.7621678709983826, -0.14266251027584076, 0.23732209205627441, 0.526883602142334, -0.7171615362167358, -0.0990879163146019, -0.24670244753360748, -0.29860827326774597, -1.0287009477615356, 0.917698860168457, 0.8381460309028625, 0.31185516715049744, 0.5526599884033203, -0.6871652007102966, -0.6509416699409485, -0.7142316699028015, -0.5325374603271484, 0.077326200902462, 0.17871583998203278, 0.040590669959783554, 0.44546982645988464, -0.22813256084918976, 0.3697322607040405, -0.30653491616249084, -0.5764819979667664, -0.35693544149398804, 0.3154541552066803, 0.0842353031039238, 0.327889621257782, 0.5382847189903259, -0.9564043879508972, -0.8338801264762878, -0.2498951256275177, -0.6398502588272095, -0.19477911293506622, -0.0016604174161329865, -0.2447023093700409, 0.3405926823616028, 0.3545168340206146, -0.277446985244751, 0.24338150024414062, 0.8356714844703674, -0.4051116704940796, 0.4606582522392273, -0.46563196182250977, 0.3282330632209778, -0.9098304510116577, 0.09949226677417755, -0.08406881242990494, -0.49483856558799744, -0.5745552182197571, 0.15177913010120392, 0.25536343455314636, 0.48900938034057617, -0.22124572098255157, 0.701319694519043, -0.9150148630142212, -0.11561361700296402, -0.550239086151123, 0.19252972304821014, 0.10729362070560455, 0.3675630986690521, 0.058660827577114105, 0.8499456644058228, 0.1485462486743927, -0.4267806112766266, 0.40299609303474426, 0.09307757019996643, -0.2878795266151428, 0.4777444005012512, -0.4602437913417816, 0.2529738247394562, 0.04765714332461357, 0.2557430565357208, -1.1188615560531616, -0.05531921237707138, 0.3448968827724457, -0.09421594440937042, 0.8946343660354614, -0.14338192343711853, -0.7401978373527527, -0.6106900572776794, -0.440783828496933, 0.4519258439540863, 0.5101360082626343, -0.8017538189888, 0.6560077667236328, 0.3490411043167114, -0.0518074557185173, -0.7136799693107605, -0.7768914699554443, 0.23240195214748383, 0.080751433968544, -0.5968985557556152, 0.18633481860160828, -0.12660445272922516, -0.09862615168094635, -0.11427047103643417, -0.040159113705158234, 0.3238050639629364, 0.07666687667369843, 0.20129378139972687, 0.20482733845710754, -0.08048199862241745, 0.16837766766548157, 0.016798343509435654, -0.1081676110625267, 0.060847848653793335, -0.48766547441482544, 0.4041895568370819, -0.30853700637817383, -0.29398849606513977, -0.24844935536384583, 0.6420816779136658, 0.5979084968566895, -0.5286182165145874, 0.9258825182914734, 0.5981439352035522, 0.02267874963581562, -0.5644262433052063, -0.8988651633262634, -0.4417146146297455, -0.45524492859840393, 0.30391034483909607, -0.4089987874031067, -0.7801945805549622, 0.47030583024024963, -0.1489255428314209, 0.1276860386133194, 0.4428929090499878, 0.890198290348053, -0.10925228893756866, 1.3912830352783203, 0.7261327505111694, 0.005225962959229946, 0.3990286886692047, -0.2972647547721863, 0.24129468202590942, -1.188965082168579, -0.21732039749622345, -0.21588574349880219, -0.5715636610984802, -0.34981754422187805, -0.5674521327018738, 0.27026593685150146, -0.10989837348461151, 0.16469183564186096, 0.1385970115661621, -0.6205575466156006, 0.033337194472551346, 0.9827568531036377, 0.24375943839550018, 0.46654999256134033, -0.301537424325943, -0.26097244024276733, -0.19318437576293945, -0.4716387093067169, -0.5265830159187317, 1.115141749382019, 0.2805977761745453, 0.8111622333526611, 0.2523656189441681, 0.8446824550628662, 0.18041731417179108, 0.5169519186019897, -0.5998433828353882, 0.4441210627555847, -0.2902640402317047, -0.7494111061096191, -0.17467747628688812, -0.6858261823654175, -0.43516674637794495, 0.7750054001808167, -0.04227561876177788, -0.10395972430706024, -0.2767121493816376, 0.3600408434867859, -0.1614372730255127, 0.45424744486808777, -0.6441652774810791, 0.7663959860801697, -0.6882468461990356, -0.6318966150283813, -0.5350947976112366, -0.741320788860321, 0.20729322731494904, -0.08389217406511307, 0.3246665894985199, 0.04398149251937866, -0.26302018761634827, 0.6425188183784485, -0.15995067358016968, 1.2126384973526, -0.6043680310249329, -0.4577955901622772, 0.15180106461048126, 0.19035696983337402, 0.43580642342567444, 0.06672431528568268, 0.0851350650191307, -0.02679644152522087, 0.06421302258968353, -0.3596749007701874, -0.7563946843147278, 0.6130174398422241, -0.6621618270874023, -0.7941193580627441, -0.3866741955280304, -0.5487814545631409, -0.16798138618469238, 0.4292322099208832, 0.11153122037649155, 0.29927313327789307, -0.13074903190135956, -0.1448143869638443, 0.48469075560569763, 0.17232759296894073, 0.16831737756729126, 0.9381692409515381, -0.6597872972488403, -0.5881922841072083, 0.856016218662262, 0.32559967041015625, 0.353270560503006, 0.3980698883533478, 0.17358769476413727, -0.34885987639427185, -0.5339811444282532, -0.502397358417511, 0.747931718826294, -0.4198797643184662, -0.2910204529762268, -0.39269715547561646, -0.11435454338788986, -0.4759337306022644, 0.19050221145153046, -0.6806235909461975, -0.5571646690368652, -0.09750726073980331, 0.0823049321770668, -0.24665556848049164, 1.1980348825454712, -0.37145984172821045, 0.03745485469698906, -0.9662945866584778, 0.2679581642150879, 0.37376418709754944, 0.40229907631874084, 0.02917950227856636, -0.7250494956970215, -0.44685718417167664, 0.35391709208488464, -0.31121957302093506, -0.791534423828125, 0.3663627505302429, 0.24414794147014618, 0.46945637464523315, 0.24180302023887634, 0.01578006148338318, 0.2723729610443115, -0.689658522605896, 0.652613639831543, 0.3013901114463806, -0.8983361721038818, 0.5599780082702637, -0.22104164958000183, 0.2729489207267761, 0.5386332273483276, 0.062437888234853745, -0.7550023198127747, -0.463443398475647, -0.13630609214305878, -0.7031976580619812, 0.7386667132377625, -0.25091353058815, 0.33518457412719727, 0.3102184236049652, 0.5691353678703308, 0.17856353521347046, 0.4107533395290375, -0.8823738098144531, -0.08458860218524933, -0.15097925066947937, -0.1641479730606079, -0.39243966341018677, -0.6757744550704956, -0.2744022011756897, -0.24422557651996613, 0.8495961427688599, -0.2182411253452301, 0.26362144947052, 0.11253386735916138, -0.2158430963754654, -0.5157594680786133, 0.07103398442268372, 0.6399574279785156, 0.18192355334758759, 0.012249165214598179, 0.4269563555717468, 0.298854261636734, -0.43806105852127075, 0.27819663286209106, -0.24332469701766968, -0.2238280028104782, -0.2006489783525467, 0.3825227916240692, 0.49088945984840393, 0.47649240493774414, -0.2399643361568451, 0.5966257452964783, -0.055908698588609695, -0.16079844534397125, -0.2313728779554367, 0.07593773305416107, 0.06231936812400818, 0.34890711307525635, 0.16830743849277496, 0.01824181154370308, 0.202264204621315, -0.4784214496612549, 0.08495080471038818, 0.5957868695259094, -0.5457525849342346, -0.7444452047348022, 0.70611971616745, 0.45598822832107544, -0.2663341760635376, 0.5181795954704285, -0.05913142114877701, -0.9085274934768677, 0.14670686423778534, 0.6622454524040222, 0.9416871070861816, -0.7211312651634216, 0.1783841997385025, 0.45403432846069336, 0.14680905640125275, -0.49104633927345276, 0.36277392506599426, -0.386692613363266, -0.5122735500335693, -0.56004798412323, -0.6422860622406006, -0.31640082597732544, -0.5354435443878174, -1.0106462240219116, 0.2412831038236618, -0.1712876558303833, -0.20959877967834473, -0.4332747161388397, 0.41788777709007263, -0.4879099428653717, 0.015029259957373142, 0.22712616622447968, 0.8086537718772888, -0.7358254194259644, 0.9852616786956787, 0.8874062299728394, -0.6138349771499634, -0.5504841804504395, -0.20039920508861542, 0.09506339579820633, -0.7455838918685913, 0.8318410515785217, 0.19005846977233887, -0.7750717401504517, -0.013538267463445663, -0.47172459959983826, -0.8874440789222717, 0.8535561561584473, 0.46857020258903503, -0.5202403664588928, -0.29312142729759216, 0.14562226831912994, 0.7942087054252625, -0.24035881459712982, 0.14383183419704437, 0.1636914610862732, 0.5597980618476868, 0.13548903167247772, -1.0276997089385986, 0.1892985701560974, -0.3414863646030426, 0.06596913188695908, 0.5886674523353577, -1.2186156511306763, 0.23003137111663818, -0.2141008973121643, -0.27289101481437683, 0.03356408327817917, 0.7487257122993469, -0.36265334486961365, 0.09737605601549149, 0.4994109272956848, 0.5770589113235474, 0.5892840027809143, 0.06900780647993088, 0.9981931447982788, -0.3121708333492279, 0.45099949836730957, 1.3658555746078491, -0.43011075258255005, 0.9966937899589539, 0.6193642020225525, -0.14182130992412567, 0.6391839981079102, -0.01839405857026577, -0.11223104596138, 0.7101387977600098, 0.07676645368337631, -0.40889352560043335, -0.5257784724235535, -0.027881847694516182, -0.27148330211639404, 0.40494999289512634, 0.37356507778167725, -0.3608991503715515, -0.03684481605887413, 0.009366407990455627, 0.008500340394675732, 0.41265982389450073, -0.04094761237502098, 0.7285393476486206, 0.3717142939567566, -1.0511115789413452, 0.22466282546520233, 0.00835694745182991, 0.7130893468856812, -0.5859565138816833, -0.27122217416763306, -0.06664308905601501, 0.5204386115074158, -0.19188079237937927, -0.5848880410194397, 0.3550197184085846, -0.37786492705345154, -0.31550565361976624, -0.8473185300827026, 0.48679444193840027, -0.8456718921661377, -0.37355339527130127, 1.0622388124465942, 0.4638284146785736, -0.3814011514186859, -0.07467762380838394, -0.5447056889533997, -0.05667508766055107, -0.0018870033090934157, -0.2971284091472626, 0.34126535058021545, 0.14394722878932953, 0.4166280925273895, 0.5656388998031616, 0.3498993217945099, 0.346376895904541, 0.23873618245124817, 0.05251180753111839, 0.653177797794342, -0.5458410382270813, -0.14567367732524872, -0.768425703048706, 0.5254934430122375, -0.1116504892706871, -0.0245665293186903, 1.1692290306091309, 0.5423846244812012, 0.6857961416244507, -0.06384746730327606, 0.7538805603981018, 0.12162796407938004, 0.9959657788276672, -0.3975912928581238, 0.6990446448326111, -0.9026482105255127, 0.2847675383090973, -0.17382946610450745, -0.9340999722480774, -0.5375784039497375, 0.50490802526474, -0.39320966601371765, 0.27575939893722534, 0.6682791113853455, 0.8927602171897888, -0.03113630972802639, -0.09043627232313156, 0.27701470255851746, 0.4305587112903595, 0.32864028215408325, 0.5388456583023071, 1.169357180595398, -0.5274848937988281, 0.4750567376613617, -0.32303810119628906, -0.4160991311073303, -0.28162720799446106, -0.659722089767456, -0.9731674194335938, -0.759292483329773, -0.3213796019554138, -0.4665692448616028, -0.018598593771457672, 0.8103737831115723, 0.9180718660354614, -0.8800397515296936, -0.44744977355003357, 0.1428087055683136, -0.1311829686164856, -0.3296394348144531, -0.15086977183818817, 0.22630825638771057, -0.6627231240272522, -0.7222961783409119, 0.568546712398529, 0.4684179723262787, -0.1505325734615326, -0.6725146770477295, -0.3622615337371826, -0.20442689955234528, 0.0015063832979649305, 0.4293261468410492, 0.13662947714328766, -0.7300989031791687, -0.31311744451522827, -0.11928411573171616, -0.3325013220310211, 0.1428608000278473, 1.01033616065979, -0.6207216382026672, 0.6672917604446411, 0.3211385905742645, 0.5094993710517883, 0.7586889266967773, -0.1353730708360672, 0.9164489507675171, -0.5315970778465271, -0.07508653402328491, 0.25420427322387695, 0.19859305024147034, 0.3907555937767029, -0.47695207595825195, 0.6962012648582458, 0.202243372797966, -0.7101962566375732, -0.8274039626121521, 0.2903541028499603, -0.731423020362854, -0.020464466884732246, 1.161881923675537, -0.21895413100719452, 0.011707325465977192, 0.23329395055770874, -0.38306424021720886, 0.35004380345344543, -0.15821710228919983, 0.8576489686965942, 0.6533926725387573, 0.15556548535823822, -0.10919630527496338, -0.5903539061546326, 0.42896968126296997, 0.8397471308708191, -0.4914325475692749, 0.03365883603692055, 0.3662348985671997, 0.318671315908432, 0.12706220149993896, 0.6305450201034546, -0.1779250055551529, 0.27199310064315796, -0.07039473950862885, 0.06186867505311966, 0.1941632330417633, -0.5928324460983276, -0.4278198182582855, 0.08321643620729446, 0.39244550466537476, 0.15256020426750183 ]
http://arxiv.org/abs/2406.07231v1
http://arxiv.org/pdf/2406.07231v1
Decipherment-Aware Multilingual Learning in Jointly Trained Language Models
2024-06-11T13:10:30
2024-06-11T13:10:30
Grandee Lee
cs.CL
cs.CL
The principle that governs unsupervised multilingual learning (UCL) in jointly trained language models (mBERT as a popular example) is still being debated. Many find it surprising that one can achieve UCL with multiple monolingual corpora. In this work, we anchor UCL in the context of language decipherment and show that the joint training methodology is a decipherment process pivotal for UCL. In a controlled setting, we investigate the effect of different decipherment settings on the multilingual learning performance and consolidate the existing opinions on the contributing factors to multilinguality. From an information-theoretic perspective we draw a limit to the UCL performance and demonstrate the importance of token alignment in challenging decipherment settings caused by differences in the data domain, language order and tokenization granularity. Lastly, we apply lexical alignment to mBERT and investigate the contribution of aligning different lexicon groups to downstream performance.
[ -0.28690236806869507, -0.4640895426273346, 0.2826398015022278, 0.02917669527232647, -0.40207913517951965, 0.6403474807739258, -0.33483657240867615, -0.7192984819412231, -0.15901514887809753, 0.44365841150283813, -0.17684273421764374, -0.5831013321876526, -0.46978098154067993, 0.10167425870895386, 0.021860672160983086, 0.9251325130462646, -0.0005547379842028022, 0.3594142198562622, -0.19109171628952026, -0.5416507124900818, -0.3827575743198395, -0.9221012592315674, -0.44838735461235046, -0.45719587802886963, 0.38970598578453064, 0.38692063093185425, 0.6428194642066956, 0.7321903705596924, 0.5703784227371216, 0.28937268257141113, -0.12325852364301682, 0.09179964661598206, -0.2752417325973511, 0.08464861661195755, -0.20419372618198395, -0.6296864151954651, -0.05662614107131958, -0.15948143601417542, 0.772845447063446, 1.3288260698318481, -0.13115304708480835, -0.017675697803497314, 0.34942325949668884, 0.8357879519462585, -0.5169920921325684, 0.1601565182209015, -0.6714515089988708, 0.05366351827979088, -0.31095531582832336, 0.12073148787021637, -0.6612820029258728, -0.043226830661296844, 0.052935656160116196, -0.6169506311416626, 0.36568737030029297, 0.08155396580696106, 0.4569317400455475, 0.11824126541614532, -0.7876113653182983, -0.1566278487443924, -0.6828716993331909, 0.8319893479347229, -0.3360136151313782, 1.1324591636657715, 0.3132772445678711, 0.20447413623332977, 0.22777359187602997, -0.43704184889793396, -0.19003790616989136, -0.02378183603286743, -0.22486700117588043, 0.20873312652111053, 0.1701050102710724, 0.1774449348449707, 0.11319643259048462, 0.20969246327877045, -0.6276823282241821, 0.2604142427444458, -0.3185437023639679, -0.4315798580646515, 0.22811289131641388, -0.03362167626619339, 0.07317201048135757, 0.08835937827825546, -0.6629685759544373, -0.02414843998849392, -0.7088847160339355, 0.26341304183006287, 0.3142334818840027, 0.6836974024772644, -0.2618635594844818, 0.4195367693901062, 0.2157794088125229, 0.5214216113090515, -0.11345064640045166, -0.19006705284118652, 0.3846687376499176, -0.3621794581413269, 0.002568997209891677, 0.3183595538139343, 0.4991725981235504, -0.10759540647268295, 0.19586582481861115, -0.4395768344402313, 0.016574997454881668, 0.15402460098266602, 0.09237077087163925, -0.6024650931358337, -0.2127670794725418, 0.11878649145364761, -0.28419017791748047, 0.07410918921232224, 0.2185257375240326, -0.5603286623954773, -0.2174723744392395, -0.7305157780647278, 0.21187259256839752, -0.660274863243103, -0.7251647710800171, 0.03613660857081413, -0.13716158270835876, 0.12087646126747131, 0.19373466074466705, -1.2133952379226685, 0.24042993783950806, 0.7376237511634827, 0.4169086515903473, -0.1454906165599823, -0.7507040500640869, -0.24359320104122162, 0.37592053413391113, -0.3861863613128662, 0.521432638168335, -0.533917248249054, -0.19676455855369568, -0.0352298729121685, -0.11261750757694244, -0.5362108945846558, -0.3830726742744446, 0.04460762441158295, -0.5749015808105469, 0.017331788316369057, -0.3924125134944916, -0.5879767537117004, -0.14306174218654633, 0.07110989093780518, -0.5249940156936646, 0.8489619493484497, -0.056372854858636856, -1.0578793287277222, 0.7575445771217346, -0.6656780242919922, -0.7047078013420105, -0.041676126420497894, -0.5113887190818787, -0.03426365926861763, 0.24254465103149414, 0.07763850688934326, 0.14956429600715637, 0.274912565946579, 0.21813569962978363, -0.04647837206721306, -0.1722809225320816, 0.35766664147377014, -0.713113009929657, 0.9635538458824158, 0.05018657445907593, -0.26030996441841125, -0.04127926006913185, -0.9025540947914124, 0.05555934086441994, -0.16146095097064972, -0.5901240706443787, -0.5606217384338379, -0.18972527980804443, -0.008467094041407108, 0.05070708692073822, 0.2599990665912628, -0.34451475739479065, 0.0444064736366272, -0.28511616587638855, 0.14031684398651123, 0.6382893323898315, -0.24623538553714752, 0.4980381429195404, 0.17238211631774902, 0.3237020969390869, 0.4312577545642853, 0.15501995384693146, 0.08837778121232986, -0.13999122381210327, -0.5922743082046509, -0.4268667697906494, 0.5645529627799988, 0.4580684006214142, -0.8105710744857788, -0.006260584574192762, -0.051591455936431885, 0.024673795327544212, -0.9834878444671631, 0.3818914592266083, 0.6894472241401672, 0.3438095450401306, 0.2996107041835785, -0.1513158529996872, -0.47996437549591064, -0.9373694062232971, -0.04584965109825134, -0.32999131083488464, 0.13465778529644012, -0.2486076056957245, 0.24617959558963776, -0.030112246051430702, 0.5706655383110046, -0.15842965245246887, -0.07882540673017502, -0.3849295377731323, 0.3304908573627472, 0.018931083381175995, 0.40614381432533264, 0.41878262162208557, -0.9763308763504028, -0.36064276099205017, 0.3578133285045624, -0.7530396580696106, 0.13857215642929077, 0.005203917622566223, -0.16821300983428955, 0.5021945834159851, 0.6921297311782837, -0.14254148304462433, 0.20648273825645447, 0.6303055286407471, -0.30978721380233765, 0.4319053888320923, -0.6095372438430786, 0.09200987964868546, -1.1801186800003052, 0.06747545301914215, -0.42471206188201904, -0.2233836054801941, -0.6917048692703247, 0.3851972818374634, 0.35473743081092834, 0.3172371983528137, -0.4091184139251709, 0.14186394214630127, -0.8087763786315918, -0.22801126539707184, -0.22262144088745117, 0.2613542079925537, 0.16768741607666016, 0.47678253054618835, 0.27999481558799744, 0.8222037553787231, 0.6913959980010986, -0.5725628733634949, -0.21948736906051636, 0.40539637207984924, -0.44974038004875183, 0.6117590069770813, -0.13582810759544373, 0.030662359669804573, -0.2093288004398346, -0.3559941053390503, -0.9197278022766113, 0.014192399568855762, -0.2926814556121826, -0.32995980978012085, 0.6479217410087585, -0.16586685180664062, -0.2881474196910858, -0.052371881902217865, -0.012704510241746902, 0.5536256432533264, 0.027905672788619995, -0.8014103174209595, 0.3440549969673157, 0.5024904012680054, 0.2093035727739334, -0.8470202088356018, -0.911149263381958, -0.07057206332683563, -0.3280163109302521, -0.2928465008735657, 0.016925359144806862, -0.2525973320007324, -0.37175193428993225, -0.3949735760688782, -0.0883062556385994, -0.11243045330047607, 0.31852829456329346, 0.2400430142879486, 0.11055988818407059, -0.10731066763401031, 0.24258029460906982, -0.08779577910900116, -0.19619068503379822, -0.030420133844017982, -0.010129246860742569, 0.5406592488288879, -0.28457754850387573, -0.5273011326789856, 0.008090442046523094, 0.5128297209739685, 0.6087826490402222, -0.4742448925971985, 0.801734983921051, 0.7287614345550537, -0.06272368133068085, -0.003302798606455326, -0.3349475562572479, 0.018735598772764206, -0.4560704827308655, 0.1641494184732437, -0.7755536437034607, -0.9467661380767822, 0.7879812717437744, -0.10548628121614456, -0.038846585899591446, 0.23125062882900238, 0.44929221272468567, 0.04642156511545181, 1.035042405128479, 1.0253723859786987, -0.18409530818462372, 0.3693940341472626, -0.1979316622018814, 0.034100715070962906, -0.98915034532547, -0.34578737616539, -0.4140640199184418, -0.020702168345451355, -0.7542914152145386, -0.015030255541205406, 0.3579951524734497, 0.6541612148284912, -0.15903335809707642, 0.3154563009738922, -0.20386311411857605, 0.5494528412818909, 0.6798640489578247, 0.06563924998044968, 0.5470878481864929, 0.05824446305632591, -1.0217700004577637, -0.12095893919467926, -0.6044328212738037, -0.18771375715732574, 0.8384489417076111, 0.06115876883268356, 0.5802938938140869, 0.492828369140625, 0.7933498620986938, -0.2047613263130188, -0.001647917670197785, -0.4611130356788635, 0.3484078347682953, -0.1651620715856552, -0.5915786623954773, -0.10618729889392853, -0.42436540126800537, -1.1064993143081665, 0.6159565448760986, -0.08255212008953094, -0.8979537487030029, 0.18926535546779633, -0.1636498123407364, 0.10652700066566467, 0.24080593883991241, -0.7568562030792236, 0.9832792282104492, -0.3191121518611908, -0.22055299580097198, -0.11334724724292755, -1.0402038097381592, 0.038199156522750854, -0.2836402356624603, 0.4644489288330078, 0.026732297614216805, 0.15719082951545715, 0.5478900671005249, -0.25663501024246216, 0.8246838450431824, -0.09132829308509827, -0.10578417778015137, 0.026936577633023262, 0.08825194090604782, 0.008869001641869545, 0.04942290484905243, -0.03714136779308319, 0.3948248028755188, 0.2660919725894928, -0.362410306930542, -0.17250627279281616, 0.43152472376823425, -0.8418208360671997, -0.46345680952072144, -0.30503809452056885, -0.806316614151001, -0.3822989761829376, 0.3074813187122345, 0.30626872181892395, 0.5940949320793152, -0.28913646936416626, 0.06069350987672806, 0.41002675890922546, 0.2277020364999771, 0.5664919018745422, 0.8840665221214294, -0.4106949269771576, -0.41251564025878906, 0.8474966287612915, 0.003226555185392499, 0.7048221826553345, 0.7221480011940002, 0.06619901955127716, -0.5410452485084534, -0.8228821754455566, -0.5006422400474548, 0.21548354625701904, -0.9106734991073608, 0.0318230465054512, -0.31556540727615356, -0.10142971575260162, -0.5524020791053772, -0.09956355392932892, -0.2991737425327301, -0.43784064054489136, -0.1510745882987976, -0.20690257847309113, 0.06347623467445374, 0.5675862431526184, -0.5228012204170227, 0.19623377919197083, -0.7632979154586792, 0.2167803794145584, 0.09666500240564346, 0.28832608461380005, -0.3546518385410309, -0.457715779542923, -0.5859769582748413, 0.32085683941841125, -0.05916814133524895, -0.6041044592857361, 0.05211205780506134, 0.19336453080177307, 0.7806442975997925, 0.6531193256378174, 0.05878593027591705, 0.8309826850891113, -0.5463072657585144, 0.4382037818431854, 0.12450125068426132, -0.8595473766326904, 0.3325101137161255, -0.13913199305534363, 0.6212497353553772, 1.0403261184692383, 0.4318370521068573, -0.5151659250259399, -0.6494625806808472, -0.4197198450565338, -0.7007493376731873, 0.49817320704460144, -0.047271013259887695, -0.23256734013557434, -0.10003171116113663, 0.0007432446000166237, 0.3253853917121887, 0.41238507628440857, -0.6566967368125916, -0.3239500820636749, 0.1440998762845993, -0.16124367713928223, -0.08296200633049011, -0.16712257266044617, -0.20250488817691803, -0.4307073652744293, 0.4287727177143097, -0.2173348367214203, 0.14024721086025238, -0.20292922854423523, -0.40196549892425537, -0.10049063712358475, 0.3603697121143341, 0.32046061754226685, 0.9919041395187378, -0.17108669877052307, 0.4775860011577606, -0.029871691018342972, -0.618575394153595, 0.09698177874088287, 0.16338185966014862, 0.012884281575679779, -0.10972250998020172, 0.6079463958740234, 0.8441210985183716, 0.3886265754699707, -0.4151860177516937, 0.3434169888496399, -0.10847209393978119, -0.24938756227493286, 0.044971249997615814, -0.22318091988563538, 0.013631217181682587, 0.4751325845718384, 0.20766718685626984, 0.1466728150844574, 0.003810035064816475, -0.5945602059364319, 0.21316318213939667, 0.6064476370811462, -0.2708384096622467, -0.3928544521331787, 0.6457082629203796, -0.16365382075309753, 0.10169682651758194, 0.6270164847373962, -0.17521622776985168, -0.641757607460022, 0.3709960877895355, 0.7834020256996155, 0.6517467498779297, -0.6676223278045654, 0.2825869619846344, 0.05795743316411972, 0.4276888072490692, 0.020586451515555382, 0.35420283675193787, -0.3782453238964081, -1.0801894664764404, -0.37576133012771606, -0.73662269115448, -0.5489892363548279, -0.21081772446632385, -1.0498195886611938, 0.06148720532655716, -0.03470610827207565, 0.1958473026752472, 0.19834329187870026, -0.09372341632843018, -0.6529446244239807, -0.01423597987741232, 0.12508811056613922, 0.501024067401886, -0.9029681086540222, 1.1709195375442505, 0.7167483568191528, -0.32328560948371887, -0.898888349533081, -0.19327448308467865, -0.016891079023480415, -0.9441767930984497, 0.6864038109779358, 0.38423508405685425, -0.12150461971759796, 0.029170121997594833, 0.018075326457619667, -0.7777197360992432, 0.9471485614776611, 0.5824573636054993, -0.3266616761684418, 0.10002116858959198, 0.6893835067749023, 0.5997806191444397, -0.17045971751213074, 0.1879158318042755, 0.5155755877494812, 0.26970943808555603, 0.2764473259449005, -1.0420207977294922, -0.38025712966918945, 0.11935864388942719, -0.09026051312685013, 0.5418527126312256, -0.5082899332046509, 0.7075690031051636, -0.29994961619377136, -0.4337332248687744, -0.307280957698822, 0.5117126703262329, 0.05683845654129982, 0.38213303685188293, 0.3724374771118164, 0.5816347599029541, 1.0037888288497925, -0.0078078568913042545, 0.7058719396591187, -0.46228665113449097, 0.2560175359249115, 1.2071921825408936, -0.32154545187950134, 1.0122002363204956, 0.5831363201141357, -0.32710540294647217, 0.2095753401517868, 0.5742677450180054, 0.4304857850074768, 0.7158651351928711, -0.13068196177482605, -0.4857591688632965, -0.3158096671104431, -0.15367700159549713, -0.36812421679496765, 0.7102975249290466, 0.3640938103199005, -0.2515554428100586, -0.4731162190437317, 0.5002012848854065, -0.09054545313119888, 0.10701362043619156, -0.3739698827266693, 0.9038167595863342, 0.038412224501371384, -0.3088599741458893, 0.6807565093040466, -0.2710959315299988, 0.37593910098075867, -0.549406111240387, 0.11993135511875153, -0.24066856503486633, 0.4385089874267578, 0.056130509823560715, -0.6233641505241394, 0.39421817660331726, -0.2917623519897461, -0.1932084709405899, -0.32474133372306824, 0.4430356025695801, -0.9253831505775452, -0.6084986329078674, 0.6284320950508118, 0.7736040949821472, 0.32774728536605835, 0.0995975062251091, -0.8339912295341492, 0.09235772490501404, 0.1624131053686142, -0.03771521896123886, 0.6181440949440002, 0.7140552997589111, 0.058584004640579224, 0.4664042890071869, 0.3764483332633972, -0.12812571227550507, 0.06750795990228653, 0.38842204213142395, 0.7367379665374756, -0.4406639635562897, -0.38755035400390625, -0.8549767732620239, 0.38236749172210693, 0.20028914511203766, -0.1393027901649475, 0.9280299544334412, 0.7832387089729309, 1.2132205963134766, 0.07771620899438858, 0.5738102793693542, 0.24581947922706604, 0.5384688973426819, -0.7315245270729065, 0.5695577263832092, -0.3225972354412079, 0.2205665409564972, -0.07693202793598175, -0.7420510053634644, -0.483045756816864, 0.5505136847496033, -0.12237079441547394, -0.06418010592460632, 0.9697386622428894, 0.6714432835578918, -0.07860467582941055, 0.12376002222299576, 0.5568517446517944, 0.0731784924864769, 0.18168343603610992, 0.4273029565811157, 0.6867464780807495, -0.16835471987724304, 0.4946434795856476, -0.38626745343208313, -0.039445798844099045, 0.23303814232349396, -0.7160502672195435, -1.129085898399353, -0.8849102854728699, -0.310705304145813, -0.12448901683092117, -0.01452573575079441, 0.7363319993019104, 0.4244239926338196, -0.7651589512825012, -0.43978846073150635, -0.30517667531967163, 0.1576320379972458, -0.36361613869667053, -0.21650193631649017, 0.5576892495155334, -0.43299248814582825, -0.5822453498840332, 0.637017011642456, 0.28223344683647156, 0.13284067809581757, -0.030636079609394073, 0.07272334396839142, -0.48812347650527954, -0.31743720173835754, 0.6405516862869263, 0.2914123833179474, -0.5574913024902344, -0.36860814690589905, -0.23927989602088928, -0.09565906971693039, 0.366286963224411, 0.7662327885627747, -0.6369577050209045, 0.5517169237136841, 0.14532673358917236, 0.5792662501335144, 0.4034523665904999, 0.0009293599869124591, 0.3035385310649872, -1.183184027671814, 0.3670235872268677, -0.23395299911499023, 0.4648909270763397, 0.4408728778362274, -0.17388823628425598, 0.514739453792572, 0.13832631707191467, -0.6054458022117615, -0.6092577576637268, 0.32592037320137024, -0.9471237063407898, -0.4760325253009796, 0.9702339172363281, 0.0044920118525624275, -0.1603769063949585, -0.33907681703567505, -0.17368508875370026, 0.34408047795295715, -0.10142974555492401, 0.474314421415329, 0.6912228465080261, -0.14545273780822754, -0.26669326424598694, -0.4120640456676483, 0.3688548505306244, 0.3443918228149414, -0.6658377051353455, 0.3797500729560852, 0.5078511238098145, 0.1782332807779312, 0.2990657091140747, 0.47748416662216187, 0.01480273250490427, -0.07761577516794205, 0.0320403091609478, 0.13542935252189636, -0.10309672355651855, -0.5742015242576599, -0.4044508635997772, 0.08356685191392899, 0.33003440499305725, -0.3557673394680023 ]
http://arxiv.org/abs/2406.07229v1
http://arxiv.org/pdf/2406.07229v1
Improving Commonsense Bias Classification by Mitigating the Influence of Demographic Terms
2024-06-11T13:09:16
2024-06-11T13:09:16
JinKyu Lee, Jihie Kim
cs.CL
cs.CL, cs.AI, 68T50, I.2.7; I.2.6
Understanding commonsense knowledge is crucial in the field of Natural Language Processing (NLP). However, the presence of demographic terms in commonsense knowledge poses a potential risk of compromising the performance of NLP models. This study aims to investigate and propose methods for enhancing the performance and effectiveness of a commonsense polarization classifier by mitigating the influence of demographic terms. Three methods are introduced in this paper: (1) hierarchical generalization of demographic terms (2) threshold-based augmentation and (3) integration of hierarchical generalization and threshold-based augmentation methods (IHTA). The first method involves replacing demographic terms with more general ones based on a term hierarchy ontology, aiming to mitigate the influence of specific terms. To address the limited bias-related information, the second method measures the polarization of demographic terms by comparing the changes in the model's predictions when these terms are masked versus unmasked. This method augments commonsense sentences containing terms with high polarization values by replacing their predicates with synonyms generated by ChatGPT. The third method combines the two approaches, starting with threshold-based augmentation followed by hierarchical generalization. The experiments show that the first method increases the accuracy over the baseline by 2.33%, and the second one by 0.96% over standard augmentation methods. The IHTA techniques yielded an 8.82% and 9.96% higher accuracy than threshold-based and standard augmentation methods, respectively.
[ -0.6997290253639221, -0.4678434133529663, -0.02085484378039837, 0.15639667212963104, -0.24857918918132782, -0.038617752492427826, -0.31040945649147034, -0.14843231439590454, -0.00403549475595355, 0.7891935706138611, -0.47030624747276306, -0.5416356921195984, -0.646432638168335, 0.09419871866703033, 0.3172781765460968, 1.06990647315979, 0.522991418838501, 0.18566791713237762, -0.4387848377227783, -0.30259355902671814, -0.5454885959625244, -0.6503638029098511, -0.4327738583087921, -0.38157159090042114, 0.30779045820236206, 0.42575958371162415, 0.8037943840026855, 0.6676281094551086, 0.3477892577648163, 0.238658145070076, -0.6172926425933838, 0.11921830475330353, -0.5179603695869446, -0.17566105723381042, -0.292682945728302, -0.31965094804763794, -0.3656996786594391, 0.19134747982025146, 0.5062189698219299, 0.6577852368354797, -0.14271946251392365, 0.17985011637210846, 0.18625453114509583, 0.8025239706039429, -0.8339741826057434, 0.36313503980636597, -0.8182587623596191, 0.07885578274726868, -0.4262917935848236, -0.6021287441253662, -0.30886968970298767, -0.37329262495040894, 0.1884734183549881, -0.6442261934280396, 0.4930327236652374, 0.11808742582798004, 0.4789271056652069, 0.22329922020435333, -0.44669309258461, -0.08148599416017532, -0.352473646402359, 1.1632639169692993, -0.9842684864997864, 0.3656723201274872, 0.7265204191207886, 0.07388169318437576, 0.11729205399751663, -0.15669536590576172, -0.5833139419555664, -0.42001739144325256, -0.3313097655773163, 0.1029779389500618, -0.22465696930885315, 0.26972857117652893, 0.5766032934188843, 0.20957188308238983, -0.43832746148109436, 0.3233349025249481, -0.6912640333175659, -0.30350422859191895, 0.5359072685241699, -0.012053322046995163, 0.5134047865867615, -0.484975129365921, -0.49237897992134094, -0.18734318017959595, -0.6086976528167725, -0.08216410875320435, 0.6578262448310852, 0.5191481113433838, 0.08014888316392899, 0.6801387667655945, -0.4093421697616577, 0.5553179979324341, 0.329030305147171, 0.009777722880244255, 0.491534948348999, -0.3899482786655426, 0.16527386009693146, -0.08885731548070908, 0.37055835127830505, 0.5639780163764954, 0.19334620237350464, -0.035799089819192886, -0.14931200444698334, 0.23158995807170868, 0.0803728923201561, -0.5801810026168823, 0.03903716430068016, 0.11670427024364471, -0.48654457926750183, -0.47234776616096497, -0.1879849135875702, -1.273397445678711, -0.5964322686195374, -0.5406205654144287, 0.12619750201702118, -0.4972819685935974, -0.4158645570278168, -0.07630467414855957, -0.3920134902000427, 0.27932026982307434, 0.35866788029670715, -1.0519473552703857, 0.33198121190071106, 1.000256896018982, 0.7854021191596985, -0.23906059563159943, 0.05241326987743378, -0.41296079754829407, -0.1018841490149498, -0.02556764893233776, 0.6724885106086731, -0.6193817853927612, -0.20067128539085388, 0.19828645884990692, -0.4495273232460022, -0.14815039932727814, -0.8454497456550598, 0.6088284254074097, -0.7799378633499146, 0.5621373057365417, -0.11749765276908875, -0.5888915657997131, -0.16121099889278412, 0.2958502471446991, -0.5915447473526001, 0.8401950597763062, -0.0584881529211998, -1.0687124729156494, 0.53831547498703, -0.6905806064605713, -0.2811100482940674, 0.30415764451026917, 0.11249099671840668, -0.5090538263320923, -0.18769678473472595, 0.5257400870323181, 0.31594812870025635, -0.05099184066057205, 0.4082660973072052, -0.1555412858724594, -0.01797937974333763, 0.10519200563430786, -0.4311228096485138, 1.1203370094299316, 0.16567766666412354, -0.28241080045700073, 0.013972700573503971, -0.3999679982662201, -0.27859580516815186, -0.4054824113845825, -0.08599083125591278, -0.5751568078994751, -0.01961941458284855, 0.08323603868484497, 0.06712571531534195, 0.1296640932559967, -0.5706038475036621, -0.0783449113368988, -0.5634032487869263, 0.12466911226511002, 0.8386921882629395, -0.0504121296107769, 0.8018608689308167, -0.599652886390686, 0.4462195038795471, 0.19019480049610138, 0.360067218542099, 0.14947710931301117, -0.7913310527801514, -0.5972976088523865, -0.25181838870048523, 0.23917777836322784, 0.7749474048614502, -1.028515338897705, 0.7339922785758972, -0.3516068160533905, -0.49776071310043335, -0.11537777632474899, 0.4468928575515747, 0.32599788904190063, 0.7303140759468079, 0.609972357749939, -0.2401072382926941, -0.5543375015258789, -0.7293941378593445, -0.42388129234313965, -0.37946847081184387, -0.04363444820046425, 0.1879187375307083, 0.23748746514320374, -0.17879453301429749, 1.0534306764602661, -0.5944161415100098, -0.5846681594848633, -0.135734423995018, 0.40046682953834534, 0.3855452537536621, 0.7315571904182434, 0.45155036449432373, -1.0716458559036255, -0.30113813281059265, 0.05068435147404671, -0.2171231210231781, -0.4793238639831543, 0.05564843863248825, 0.07215586304664612, -0.05225478857755661, 0.5091936588287354, -0.34574151039123535, 0.3433929681777954, 0.39490312337875366, -0.3767582178115845, 0.6008408665657043, 0.1067262813448906, 0.05353628471493721, -0.6549068689346313, -0.21392092108726501, 0.5718449950218201, -0.02810724638402462, -0.9200356602668762, 0.06243874132633209, 0.07050562649965286, -0.011838281527161598, -0.6226212978363037, 0.5307175517082214, -0.37706631422042847, 0.4440358579158783, -0.023036353290081024, 0.17771533131599426, -0.2380618304014206, 0.4413619935512543, -0.034760732203722, 0.8221448063850403, 0.33440646529197693, -0.61424320936203, 0.08285795897245407, 0.3104870617389679, -0.1317959725856781, 0.7700528502464294, -0.2866021990776062, -0.09090030938386917, -0.7631900906562805, 0.16892476379871368, -0.9426982402801514, 0.16602778434753418, 0.43430209159851074, -0.5258470773696899, 0.14912119507789612, -0.38502979278564453, -0.2029123604297638, -0.19395314157009125, -0.5846171379089355, 0.5154640078544617, 0.5855435729026794, -0.5941970944404602, 0.6799493432044983, 0.3706328868865967, -0.38130536675453186, -0.7763406038284302, -0.5252318382263184, -0.03298186510801315, -0.5810554623603821, -0.5369811654090881, 0.3438989818096161, 0.13441666960716248, -0.38141316175460815, -0.12049043923616409, 0.1421750783920288, -0.06504523009061813, -0.20916244387626648, -0.12085656821727753, 0.49666303396224976, -0.02037314511835575, 0.44607245922088623, 0.21253342926502228, -0.18461427092552185, -0.14969708025455475, -0.08854382485151291, 0.7403672933578491, 0.11071779578924179, 0.007660330273211002, -0.4066927433013916, 0.04387585446238518, 0.456417977809906, -0.2076200246810913, 0.7426761388778687, 0.6167296171188354, -0.16608330607414246, -0.17793259024620056, -1.089619755744934, -0.2585815489292145, -0.46560579538345337, 0.2735557556152344, 0.11749446392059326, -0.8924298882484436, 0.4794143736362457, 0.006381714716553688, 0.1486029475927353, 0.5774782299995422, 0.30648353695869446, 0.06830957531929016, 0.9064105153083801, 0.18971949815750122, -0.07506194710731506, 0.758222222328186, -0.12736451625823975, 0.031340911984443665, -1.1965049505233765, -0.053796544671058655, -0.5794425010681152, 0.004606017377227545, -0.9117572903633118, -0.8649094104766846, 0.4409944415092468, -0.19697314500808716, -0.12297482043504715, 0.3613382875919342, -0.5387537479400635, 0.3224373757839203, 0.4431241750717163, 0.45676228404045105, 0.24143333733081818, 0.22146058082580566, 0.3017195761203766, -0.30067965388298035, -0.6812103390693665, -0.4115360379219055, 1.2302652597427368, 0.4785268306732178, 0.5529215931892395, 0.3228107690811157, 0.6245206594467163, 0.7286154627799988, 0.6900614500045776, -0.6608932018280029, 0.585278332233429, -0.7165802717208862, -0.7482098340988159, -0.388526052236557, -0.8623995184898376, -0.8119633793830872, 0.6993616223335266, -0.5007473230361938, -0.5238704681396484, 0.4152677655220032, 0.28281116485595703, -0.12435851991176605, 0.28981128334999084, -0.6042535901069641, 0.4410359859466553, -0.038605187088251114, -0.4271492660045624, -0.4840991199016571, -0.2920787036418915, 0.49701714515686035, 0.02380979247391224, 0.35682231187820435, -0.29307931661605835, -0.1465403288602829, 0.9500208497047424, -0.36215800046920776, 1.2399425506591797, -0.4732684791088104, 0.14114785194396973, 0.025334516540169716, -0.38492247462272644, 0.4201107323169708, -0.014687007293105125, -0.18359699845314026, 0.47736620903015137, -0.013682898133993149, -0.5353255271911621, -0.6345667839050293, 0.5115166902542114, -0.7882312536239624, -0.833480179309845, -0.40284883975982666, -0.5478213429450989, -0.40135249495506287, 0.10423999279737473, 0.14950209856033325, 0.4042505919933319, -0.1016346737742424, 0.12356922775506973, 0.7275938391685486, -0.35702237486839294, 0.1396465003490448, 0.12247933447360992, -0.06306388229131699, -0.8505104184150696, 0.6880338788032532, 0.31360599398612976, 0.4733912944793701, 0.25574952363967896, 0.6941981911659241, -0.4598921239376068, -0.3904299736022949, -0.41488543152809143, 0.19757845997810364, -0.6684530377388, -0.44076114892959595, -0.7954497337341309, -0.03893589973449707, -0.8494812846183777, -0.015409482643008232, 0.17306897044181824, -0.5408902764320374, -0.3856724500656128, 0.1398543417453766, 0.2947070300579071, 0.2243328094482422, -0.08884106576442719, 0.561065137386322, -0.6039881110191345, 0.43765532970428467, 0.5256102085113525, 0.13102596998214722, 0.06858779489994049, -0.6561394333839417, 0.3386671245098114, 0.066339410841465, -0.12374737858772278, -0.9343636631965637, 0.41425997018814087, 0.17697076499462128, 0.7864904999732971, 0.574325680732727, 0.2571904957294464, 0.4940997064113617, -0.06502506136894226, 0.6124975681304932, 0.5251016020774841, -0.9431205987930298, 0.4018770456314087, -0.4046914279460907, 0.26078739762306213, 0.6228284239768982, 0.2371254414319992, -0.579910397529602, -0.24604205787181854, -0.5188959240913391, -0.875023365020752, 0.5412818193435669, 0.2699666917324066, 0.4531551003456116, 0.05913737416267395, 0.1266600787639618, 0.21567417681217194, 0.20555606484413147, -0.70972740650177, -0.07392452657222748, -0.1508110612630844, -0.14287982881069183, 0.10230167955160141, -0.34953242540359497, -0.08373314142227173, -0.29149293899536133, 0.8732109665870667, -0.10221097618341446, -0.3951129615306854, 0.03135828301310539, -0.10570932179689407, 0.08371497690677643, 0.5543181896209717, 0.499882310628891, 0.5863772034645081, -0.1774783879518509, 0.264981210231781, 0.5535810589790344, -0.6671696305274963, -0.03969765454530716, 0.09072364121675491, -0.7117684483528137, -0.016682898625731468, 0.3963686227798462, 0.5820765495300293, -0.013952858746051788, -0.354293555021286, 0.6642192602157593, 0.20978395640850067, -0.03027767688035965, -0.130393847823143, -0.058251310139894485, -0.28876879811286926, -0.12186646461486816, 0.36153218150138855, 0.32095256447792053, 0.19806768000125885, -0.3565366566181183, 0.23089489340782166, 0.5591970086097717, -0.3034238815307617, 0.04686172679066658, 0.22510528564453125, 0.3342236876487732, -0.07461941242218018, 0.5332719087600708, -0.24431593716144562, -0.7426038980484009, 0.6462778449058533, 0.5406245589256287, 0.8758213520050049, -0.43073973059654236, 0.5348698496818542, 0.6511113047599792, 0.411825954914093, -0.04392091557383537, -0.08989346027374268, -0.25534167885780334, -1.086796760559082, -0.5821434259414673, -0.5228285789489746, -0.3990597128868103, -0.22088851034641266, -0.7232000231742859, 0.3336251378059387, -0.5284123420715332, -0.4415384531021118, -0.004588350187987089, -0.09679242223501205, -0.6522936224937439, 0.10227558016777039, 0.09160121530294418, 0.871554434299469, -1.20170259475708, 0.17111855745315552, 0.7628050446510315, -0.22342504560947418, -0.14073331654071808, 0.11102690547704697, 0.12194428592920303, -0.7450787425041199, 0.7906778454780579, 0.16054721176624298, -0.004942172206938267, -0.16985853016376495, -0.45660173892974854, -0.821343719959259, 0.6450431942939758, -0.2632032632827759, -0.5184100866317749, 0.2901884615421295, 0.27099892497062683, 0.5336036086082458, -0.043398063629865646, 0.2027801275253296, 0.4218968451023102, 0.7441381812095642, 0.12166134268045425, -0.8210961818695068, 0.03086702525615692, -0.1595572680234909, 0.31774622201919556, 0.0721002146601677, -0.40438616275787354, 0.5802575349807739, 0.019722117111086845, -0.4088286757469177, -0.23097366094589233, 0.6509338021278381, 0.4011629819869995, 0.5574229955673218, 1.0736228227615356, 0.581820547580719, 0.5805204510688782, -0.032501015812158585, 0.46888601779937744, -0.005453083198517561, 0.38558390736579895, 0.7539860010147095, -0.1944989711046219, 0.6045047044754028, 0.648434042930603, -0.30055373907089233, 0.34467461705207825, 0.18216274678707123, 0.03587378188967705, 0.41881901025772095, 0.4004519283771515, -0.4185847043991089, -0.09954797476530075, -0.41622868180274963, -0.22772979736328125, 0.34776753187179565, 0.4307927191257477, -0.10959495604038239, -0.2733496129512787, 0.3122829794883728, 0.3624291718006134, 0.42300236225128174, -0.5620455741882324, 0.9411677718162537, -0.18278425931930542, -0.7011657953262329, 0.3883192837238312, -0.08155104517936707, 1.3013972043991089, -0.2728945314884186, -0.09184557944536209, -0.19072850048542023, -0.05199003964662552, -0.4696710705757141, -0.6819742321968079, 0.30209365487098694, -0.09713488817214966, -0.03920848295092583, -0.3240194320678711, 0.7804276347160339, -0.4984784424304962, -0.6256468296051025, 0.10748666524887085, 0.3248578906059265, -0.21752344071865082, 0.006648222450166941, -0.536588191986084, -0.23959143459796906, -0.02472236193716526, 0.13710319995880127, 0.10407322645187378, 0.09066461771726608, -0.2560105323791504, 0.5254373550415039, 1.0187575817108154, 0.5216749906539917, 0.09099725633859634, 0.15774129331111908, 1.0064197778701782, -0.4888456463813782, -0.6968449950218201, -0.6920557618141174, 0.3264961838722229, -0.5588411688804626, -0.43422481417655945, 0.7609536647796631, 0.40250134468078613, 0.857589066028595, -0.1387573480606079, 0.6859708428382874, -0.09211316704750061, 0.5325480103492737, -0.5640549063682556, 0.6043675541877747, -0.14907203614711761, 0.4348929226398468, -0.299513041973114, -1.0254631042480469, -0.6192463636398315, 0.42491286993026733, -0.865234375, 0.09365981072187424, 0.23286838829517365, 1.0866585969924927, 0.02050672098994255, 0.08928948640823364, 0.39453577995300293, -0.009242590516805649, 0.22860515117645264, -0.006739386823028326, 0.9822437763214111, -0.02984720654785633, 0.25657573342323303, -0.6023321151733398, -0.7209050059318542, -0.07767970114946365, -0.7711325287818909, -0.8921249508857727, -0.43767595291137695, -0.5242663025856018, -0.2935808598995209, 0.20880268514156342, 0.8273940682411194, 0.6807265281677246, -0.9423080086708069, -0.1260986626148224, 0.10831573605537415, 0.13921980559825897, -0.3004917502403259, -0.3908660411834717, 0.21561984717845917, -0.5271090269088745, -0.6624440550804138, -0.05995795875787735, 0.1587369740009308, -0.41134682297706604, -0.3276686668395996, 0.13076895475387573, -0.135170117020607, 0.00305578438565135, 0.6276743412017822, 0.18518191576004028, -0.7009231448173523, -0.26902440190315247, -0.18343494832515717, 0.17252951860427856, 0.03415254130959511, 0.9357381463050842, -0.6462807655334473, 0.5426774024963379, 0.8446922898292542, 0.288566917181015, 0.08891401439905167, 0.6032821536064148, 0.315797358751297, -0.6031901240348816, 0.11944996565580368, 0.6327460408210754, 0.15249888598918915, 0.6022591590881348, -0.633755624294281, 0.4182184338569641, 0.25655508041381836, -0.4096798300743103, -0.4924125075340271, 0.25595298409461975, -0.9777332544326782, -0.14576852321624756, 1.349358320236206, 0.2126309722661972, -0.0748208686709404, -0.5391600131988525, -0.3503327965736389, 0.20595595240592957, -0.4896584153175354, 0.9556021690368652, 0.36316898465156555, 0.056464195251464844, -0.3396294414997101, -0.36111894249916077, 0.4002881348133087, 0.5569993853569031, -0.7709781527519226, 0.22230906784534454, 0.514568030834198, 0.23288027942180634, 0.4444902241230011, 0.4608146846294403, -0.40826985239982605, 0.20559892058372498, -0.26007279753685, 0.1185346394777298, 0.07101267576217651, 0.386811226606369, -0.32269570231437683, 0.1139218732714653, -0.26125723123550415, -0.0009695541812106967 ]
http://arxiv.org/abs/2406.07222v1
http://arxiv.org/pdf/2406.07222v1
Improving Autoformalization using Type Checking
2024-06-11T13:01:50
2024-06-11T13:01:50
Auguste Poiroux, Gail Weiss, Viktor Kunčak, Antoine Bosselut
cs.CL
cs.CL, cs.AI, cs.LG
Large language models show promise for autoformalization, the task of automatically translating natural language into formal languages. However, current autoformalization methods remain limited. The last reported state-of-the-art performance on the ProofNet formalization benchmark for the Lean proof assistant, achieved using Codex for Lean 3, only showed successful formalization of 16.1% of informal statements. Similarly, our evaluation of GPT-4o for Lean 4 only produces successful translations 34.9% of the time. Our analysis shows that the performance of these models is largely limited by their inability to generate formal statements that successfully type-check (i.e., are syntactically correct and consistent with types) - with a whopping 86.6% of GPT-4o errors starting from a type-check failure. In this work, we propose a method to fix this issue through decoding with type-check filtering, where we initially sample a diverse set of candidate formalizations for an informal statement, then use the Lean proof assistant to filter out candidates that do not type-check. Using GPT-4o as a base model, and combining our method with self-consistency, we obtain a +18.3% absolute increase in formalization accuracy, and achieve a new state-of-the-art of 53.2% on ProofNet with Lean 4.
[ 0.04746994376182556, -0.2085736095905304, 0.5917738676071167, 0.3080131709575653, -0.2660287916660309, 0.11979066580533981, -0.10912363976240158, -0.6427248120307922, -0.04130158945918083, 0.3402438759803772, -0.09506768733263016, -0.5929152369499207, -0.7085137367248535, 0.5155043005943298, -0.5099663138389587, 0.8692460060119629, -0.6544268727302551, 0.007869889959692955, -0.022169267758727074, 0.13431744277477264, -0.08757931739091873, -0.2826027572154999, -0.5768086314201355, -0.25789281725883484, -0.12516126036643982, 0.2770313620567322, 0.6727648973464966, 0.9473544359207153, 0.4239746928215027, 0.4368417263031006, 0.29696136713027954, 0.24090476334095, -0.30636370182037354, 0.15408620238304138, 0.28014281392097473, -0.5970305800437927, -0.6574888825416565, 0.144896999001503, 0.6503505706787109, 0.12512421607971191, -0.21533124148845673, -0.033725887537002563, -0.24182724952697754, 0.6679112315177917, -0.6829087138175964, 0.5447466373443604, -0.6694194674491882, 0.11722920089960098, -0.19221246242523193, 0.017610013484954834, -0.15175773203372955, -0.6952053904533386, -0.30432817339897156, -0.5993214249610901, 0.32910218834877014, 0.0031918580643832684, 1.1108540296554565, 0.5427324771881104, -0.263810932636261, -0.302804559469223, -0.7808394432067871, 0.30378901958465576, -1.1579126119613647, 0.5545982718467712, 0.9601593017578125, 0.2477482259273529, -0.05310509726405144, -0.6160767078399658, -0.6582666635513306, -0.36929136514663696, 0.033804964274168015, 0.11042085289955139, -0.1978527158498764, 0.2730483114719391, 0.2923148572444916, 0.6735059022903442, -0.718235194683075, 0.15175999701023102, -0.2084556221961975, -0.5707380771636963, 0.5538225769996643, -0.12939871847629547, 0.4156986474990845, -0.003123087342828512, 0.04714694619178772, -0.14122404158115387, -0.4088515043258667, 0.07384897023439407, 0.44220539927482605, -0.20876145362854004, 0.14294007420539856, 0.4583751857280731, -0.6600648164749146, 0.8624244332313538, 0.4517345130443573, -0.2722976505756378, 0.1489046961069107, -0.7263339161872864, -0.5665537714958191, -0.12192006409168243, 0.7116109728813171, 0.08410456776618958, 0.15128342807292938, -0.20717628300189972, -0.639957845211029, 0.14980483055114746, 0.07287949323654175, -0.8439130187034607, -0.4463667571544647, 0.19775675237178802, -0.3847118616104126, -0.3414938151836395, 0.04899080470204353, -0.2146715372800827, -0.06734064221382141, -0.42955607175827026, 0.44352611899375916, -0.5571348667144775, -0.064299076795578, 0.39690786600112915, 0.07489341497421265, 0.3303573727607727, 0.3537149727344513, -0.963751494884491, 0.3240765631198883, 0.40462028980255127, 0.6962035894393921, 0.1257411688566208, -0.18948370218276978, -0.5570454001426697, 0.19485606253147125, -0.6386276483535767, 0.7895067930221558, -0.1321377158164978, 0.07799772918224335, 0.027143778279423714, -0.19672292470932007, -0.10279480367898941, -0.5867619514465332, 0.5578123927116394, -0.43819788098335266, 0.13769222795963287, -0.02655656449496746, -0.6582871675491333, 0.06607167422771454, 0.3296060860157013, -0.6421515345573425, 1.091338872909546, 0.15131455659866333, -0.28665390610694885, 0.7023537755012512, -0.5264678597450256, -0.6459662914276123, 0.06901449710130692, -0.27956509590148926, -0.5191741585731506, 0.06727591902017593, 0.3511388301849365, 0.2855032682418823, -0.22672002017498016, 0.35789602994918823, -0.2435111403465271, -0.1741410344839096, -0.08699680119752884, -0.09021445363759995, 0.42548656463623047, 0.2991097569465637, -0.988010585308075, 0.15092113614082336, -0.9836887717247009, 0.31787267327308655, -0.19683736562728882, -0.38718727231025696, -0.15130212903022766, -0.1656460165977478, -0.3698011040687561, 0.5013524889945984, 0.4057643711566925, -0.4974302053451538, 0.11011307686567307, -0.5116643905639648, 0.5098506808280945, 0.5561602115631104, -0.3100419342517853, 0.3395383059978485, -0.19863881170749664, 0.4754905700683594, 0.10731581598520279, 0.25078868865966797, 0.05701765418052673, -0.3131287395954132, -1.260391116142273, -0.2558916509151459, 0.30122262239456177, 0.3197684586048126, -0.8876398205757141, 0.582811176776886, 0.036265529692173004, -0.4023314118385315, -0.504425585269928, 0.3942487835884094, 0.40235641598701477, 0.43633338809013367, 0.5799049735069275, -0.23215068876743317, -0.6941416263580322, -1.0071265697479248, -0.3755306303501129, -0.44108083844184875, 0.04548801854252815, -0.35200566053390503, 0.3646128475666046, -0.42558491230010986, 1.099858045578003, -0.2979141175746918, -0.2677695155143738, -0.003212645649909973, 0.5080194473266602, 0.11737377941608429, 0.6795651912689209, 0.3432960510253906, -0.5132488012313843, -0.49538666009902954, -0.06546367704868317, -0.5245529413223267, -0.22588638961315155, -0.01176222413778305, -0.005474879406392574, 0.3628583550453186, 0.590603232383728, -0.3522331416606903, 0.5833225250244141, 0.6485974788665771, -0.32767367362976074, 0.5928730964660645, -0.40383094549179077, 0.2510228753089905, -0.7547279000282288, 0.12084124982357025, -0.058598969131708145, -0.5974971652030945, -0.4276399314403534, -0.16577348113059998, 0.28516748547554016, -0.1521473079919815, 0.1348809450864792, 0.1800977736711502, -0.7079061269760132, -0.007703746668994427, -0.3175498843193054, -0.3622395098209381, 0.29106277227401733, 0.0966753140091896, -0.0022408145014196634, 0.6923695206642151, 0.48383665084838867, -0.5422049760818481, 0.1983429193496704, 0.03828058019280434, -0.12900860607624054, 0.43443500995635986, -0.7431355714797974, 0.17338933050632477, -0.05955442041158676, 0.6221811771392822, -0.982944130897522, -0.3865436911582947, 0.1526542603969574, -0.16169165074825287, 0.5217579007148743, -0.452818363904953, -0.497344970703125, -0.2900795042514801, -0.061870403587818146, 0.302998811006546, 0.3338429033756256, -0.3817601799964905, 0.6909587979316711, 0.1281302124261856, 0.13567805290222168, -0.36757081747055054, -0.6197037100791931, 0.29578882455825806, 0.20777638256549835, -0.8920421004295349, 0.2919192612171173, -0.2139323502779007, -0.02965298481285572, -0.2854652404785156, -0.5318256616592407, -0.512559711933136, 0.0691470056772232, -0.09160522371530533, 0.27365079522132874, -0.14710156619548798, -0.12630386650562286, -0.1786983609199524, -0.07006755471229553, 0.05078548192977905, -0.8132736682891846, 0.15775708854198456, -0.4035875201225281, -0.31366029381752014, -0.6880245804786682, 0.1378975659608841, 0.7766917943954468, -0.4486303925514221, 0.4685104191303253, 0.8114795088768005, -0.3694329261779785, -0.2426362782716751, -0.8752042055130005, -0.22819481790065765, -0.5082674026489258, 0.07144176959991455, -0.5073421001434326, -0.7996132969856262, 0.4238452613353729, 0.19857050478458405, 0.0021922604646533728, 0.5402418971061707, 0.3108058273792267, 0.06943093240261078, 0.9657196402549744, 0.5088955760002136, -0.06281328946352005, 0.34080663323402405, -0.16008304059505463, 0.36202043294906616, -0.30951666831970215, -0.1651403307914734, -0.6740531325340271, 0.02464519813656807, -0.563404381275177, -0.46939578652381897, 0.27932319045066833, -0.050060298293828964, 0.02946861833333969, 0.554690957069397, -0.3038274645805359, 0.1659809947013855, 0.36514991521835327, -0.09068634361028671, 0.5501300096511841, -0.1996118426322937, -0.23816074430942535, -0.0475146658718586, -0.6377907991409302, -0.2571706473827362, 0.8512716889381409, 0.4519520699977875, 0.8305249810218811, 0.015118847601115704, 0.9031710624694824, 0.25741076469421387, 0.3952052891254425, -0.712922215461731, 0.3020670413970947, -0.17701967060565948, -0.4827231764793396, -0.4019211530685425, -0.7677063941955566, -0.48751595616340637, 0.05278526991605759, -0.1696367859840393, -0.10044821351766586, 0.42491012811660767, 0.6305098533630371, -0.1485508531332016, 0.08867378532886505, -0.5957849025726318, 0.9090977311134338, -0.22284045815467834, -0.045499373227357864, 0.11697608232498169, -0.36871659755706787, 0.5012590885162354, -0.10180814564228058, 0.2840151786804199, -0.07661624997854233, 0.21059884130954742, 0.5320753455162048, -0.7303746342658997, 0.8407505750656128, 0.009233365766704082, -0.5934170484542847, 0.09663139283657074, 0.2363540232181549, 1.0171926021575928, -0.11592193692922592, 0.08931916952133179, 0.03314538672566414, -0.057740695774555206, -0.3216666877269745, -0.7776207327842712, 0.38515669107437134, -0.8071398735046387, -0.23404526710510254, -0.4694225490093231, -0.1110382080078125, -0.2776261866092682, 0.416510671377182, 0.5910393595695496, 0.43190309405326843, -0.031127963215112686, -0.08213382214307785, 0.7814869284629822, 0.4038437306880951, 0.40876221656799316, 0.7830567955970764, 0.12513458728790283, -0.5163849592208862, 0.8041112422943115, 0.03748273849487305, 0.332600474357605, 0.3919234573841095, 0.20699502527713776, -0.5131974816322327, -0.8425807952880859, -0.465786874294281, 0.2509132921695709, -0.7489776015281677, -0.3207472264766693, -0.5580717325210571, 0.029403937980532646, -1.0063079595565796, 0.14758072793483734, -0.805546224117279, -0.5096185207366943, -0.09729631245136261, 0.1715768724679947, -0.05793794244527817, 0.7342586517333984, -0.15925996005535126, -0.04614204168319702, -0.5256891250610352, 0.4718360900878906, 0.5399332046508789, 0.7535412907600403, -0.46689721941947937, -0.627773642539978, -0.312290757894516, -0.26589107513427734, 0.0054301125928759575, -0.7040092945098877, 0.22253313660621643, 0.3191147446632385, 0.37418222427368164, 0.41207176446914673, 0.015218804590404034, 0.7047228217124939, -0.499882310628891, 0.3719051778316498, 0.14433039724826813, -1.2928457260131836, 0.5164618492126465, -0.2023753821849823, 0.3831154704093933, 0.8423940539360046, 0.18105056881904602, -0.5851514339447021, -0.6097418665885925, -0.5559966564178467, -0.8089279532432556, 0.3860633671283722, 0.4476570188999176, -0.5835395455360413, 0.05116785317659378, 0.4215641915798187, -0.12225402891635895, 0.20769470930099487, -0.8601207137107849, -0.10370458662509918, -0.7505714297294617, -0.2787020802497864, 0.030262378975749016, -0.20495840907096863, -0.032981131225824356, 0.03220250457525253, 0.9201397895812988, -0.35961756110191345, -0.019462458789348602, 0.48771485686302185, -0.3145540952682495, -0.16872163116931915, 0.29899778962135315, 0.7681000828742981, 0.6283707022666931, -0.1259961724281311, 0.3446979820728302, -0.2667582929134369, -0.620602011680603, 0.34967368841171265, 0.3332762122154236, -0.40413832664489746, 0.08861976116895676, 0.18069978058338165, 0.7240039110183716, 0.23061634600162506, -0.11439955979585648, 0.3523428738117218, -0.20438873767852783, -0.2006668895483017, -0.41933557391166687, 0.1926059126853943, -0.39559680223464966, -0.33341920375823975, 0.21228836476802826, 0.19319599866867065, 0.4772534966468811, -0.35207995772361755, 0.1973358541727066, 0.17910417914390564, -0.1871597021818161, -0.23894549906253815, 0.5474236607551575, 0.2984490692615509, 0.037461698055267334, 0.2936677634716034, -0.5346453189849854, -0.5991876721382141, 0.4807789921760559, 0.6560121178627014, 1.1187224388122559, -0.301543265581131, 0.25745251774787903, 0.5554810762405396, 0.6791017651557922, -0.6282116174697876, 0.24230772256851196, -0.15255999565124512, -0.6037781834602356, -0.8128902912139893, -0.6737609505653381, -0.3854641914367676, 0.29341769218444824, -0.464912086725235, 0.1957637220621109, -0.5078079104423523, -0.07258763909339905, -0.3181372880935669, -0.19359953701496124, -0.6520749926567078, 0.45842522382736206, 0.11486923694610596, 0.7110952138900757, -0.8415815234184265, 0.6773993968963623, 0.7434269189834595, -0.36316144466400146, -1.1822848320007324, 0.042503874748945236, -0.15003910660743713, -0.5986707210540771, 0.6110487580299377, 0.01586512103676796, -0.4030575752258301, 0.09180505573749542, -0.480983167886734, -1.2998871803283691, 0.9010900259017944, 0.2588541507720947, -0.6310103535652161, -0.06905888766050339, 0.08568928390741348, 0.45581692457199097, -0.26201754808425903, 0.37118956446647644, 0.6454086303710938, 0.8367915153503418, -0.007521333638578653, -1.2346011400222778, 0.277824729681015, -0.275636225938797, 0.15970124304294586, 0.08090399950742722, -0.3905428946018219, 0.4872966408729553, 0.12255001068115234, -0.17968934774398804, -0.14846691489219666, 0.7746133804321289, 0.08853320777416229, 0.012264509685337543, 0.578576922416687, 0.6215010285377502, 0.7745272517204285, 0.04499277472496033, 0.9537560343742371, -0.3724592924118042, 0.32428938150405884, 1.1924808025360107, -0.21809321641921997, 0.41860681772232056, 0.09085363894701004, -0.03571309894323349, 0.6557783484458923, 0.4061030149459839, -0.03294643759727478, -0.008722984232008457, 0.13479197025299072, -0.11871162801980972, -0.4638766050338745, 0.38532188534736633, -0.32032400369644165, 0.8258629441261292, 0.03196333348751068, -0.2630518674850464, -0.19557558000087738, -0.3993006944656372, 0.1375735104084015, 0.015682462602853775, -0.06570280343294144, 0.5993273854255676, -0.29986926913261414, -0.9665607810020447, 0.9348710775375366, 0.2355893850326538, 0.5798986554145813, -0.7178211212158203, -0.03398653864860535, -0.2962324023246765, 0.03502752259373665, -0.3507346510887146, -0.10497654229402542, 0.18068234622478485, -0.1518801599740982, -0.34505048394203186, -0.2854812443256378, 0.7663418054580688, -0.728510320186615, -0.3283344805240631, -0.09916041791439056, 0.3400692641735077, 0.12182562053203583, -0.07424624264240265, -0.5135343670845032, 0.13791000843048096, -0.039486877620220184, 0.1899966597557068, 0.05122532323002815, 0.32638224959373474, 0.012382637709379196, 0.640415608882904, 0.7582096457481384, 0.15576715767383575, 0.13716717064380646, 0.2091602087020874, 0.675754189491272, -0.43628838658332825, -0.9345297813415527, -0.6790462732315063, 0.21087566018104553, -0.14004087448120117, -0.33869659900665283, 0.7140010595321655, 0.6133010387420654, 0.6099609732627869, -0.07710711658000946, 0.7773634791374207, -0.02925342693924904, 0.05441049858927727, -0.7208855152130127, 0.7736378312110901, -0.28365081548690796, 0.06784195452928543, -0.32271909713745117, -0.7241712808609009, -0.2697412371635437, 0.6786801815032959, -0.2971029579639435, 0.12007995694875717, 0.823034405708313, 0.4975992441177368, -0.04050568863749504, -0.09698422253131866, 0.3972781002521515, 0.4042346775531769, 0.5350834727287292, 0.29679039120674133, 0.4733830392360687, -0.5396652817726135, 0.777942419052124, -0.17716355621814728, -0.5038036108016968, -0.19199687242507935, -1.2134721279144287, -0.6874194741249084, -0.4262416660785675, -0.5410192608833313, -0.7026301622390747, -0.04453837499022484, 0.6030296087265015, 1.0497511625289917, -0.8376907110214233, -0.24907296895980835, -0.3692692220211029, -0.05785610154271126, -0.15154409408569336, -0.192347452044487, 0.1969168484210968, -0.8343676328659058, -0.48972028493881226, 0.7418006658554077, 0.3932727873325348, 0.23571738600730896, -0.3996463418006897, 0.0533791109919548, 0.0742134228348732, -0.0732756108045578, 0.39342570304870605, 0.5478664636611938, -0.5787836313247681, -0.14277374744415283, -0.0015281200176104903, -0.296525776386261, 0.2022436261177063, 1.0341918468475342, -0.5590357780456543, 0.5672094225883484, 0.3857213854789734, 0.5996939539909363, 0.6396849751472473, -0.03275530785322189, 0.9151015877723694, -0.4376033544540405, -0.31196317076683044, 0.34128525853157043, 0.48986512422561646, 0.5028374791145325, -0.5273987650871277, 0.3783763647079468, 0.38132160902023315, -0.7054808139801025, -0.3143623471260071, 0.4590041935443878, -0.6131773591041565, 0.18671880662441254, 1.0829873085021973, -0.20333760976791382, -0.11535011231899261, -0.4913415312767029, 0.1190497875213623, 0.3396672308444977, -0.4194805920124054, 0.9697823524475098, 0.6913907527923584, -0.19761814177036285, 0.13657385110855103, -0.3431176543235779, 1.1049327850341797, 0.5696231722831726, -0.9547155499458313, -0.125820130109787, 0.6483640074729919, 0.7494485974311829, 0.15239396691322327, 0.8868907690048218, -0.2206498235464096, 0.4966159462928772, -0.31029772758483887, 0.2821408808231354, -0.15227195620536804, -0.0781935602426529, -0.40866678953170776, -0.13546720147132874, 0.13553276658058167, 0.11363101005554199 ]
http://arxiv.org/abs/2406.07217v1
http://arxiv.org/pdf/2406.07217v1
A Synthetic Dataset for Personal Attribute Inference
2024-06-11T12:50:53
2024-06-11T12:50:53
Hanna Yukhymenko, Robin Staab, Mark Vero, Martin Vechev
cs.LG
cs.LG, cs.AI, cs.CL
Recently, powerful Large Language Models (LLMs) have become easily accessible to hundreds of millions of users worldwide. However, their strong capabilities and vast world knowledge do not come without associated privacy risks. In this work, we focus on the emerging privacy threat LLMs pose - the ability to accurately infer personal information from online texts. Despite the growing importance of LLM-based author profiling, research in this area has been hampered by a lack of suitable public datasets, largely due to ethical and privacy concerns associated with real personal data. In this work, we take two steps to address this problem: (i) we construct a simulation framework for the popular social media platform Reddit using LLM agents seeded with synthetic personal profiles; (ii) using this framework, we generate SynthPAI, a diverse synthetic dataset of over 7800 comments manually labeled for personal attributes. We validate our dataset with a human study showing that humans barely outperform random guessing on the task of distinguishing our synthetic comments from real ones. Further, we verify that our dataset enables meaningful personal attribute inference research by showing across 18 state-of-the-art LLMs that our synthetic comments allow us to draw the same conclusions as real-world data. Together, this indicates that our dataset and pipeline provide a strong and privacy-preserving basis for future research toward understanding and mitigating the inference-based privacy threats LLMs pose.
[ -0.29939350485801697, -0.7675837874412537, 0.6974748969078064, 0.2931143343448639, 0.27712976932525635, 0.3207913637161255, -0.2718983292579651, -0.7759214639663696, 0.052551668137311935, 0.7484895586967468, -0.894310712814331, -0.43786442279815674, -0.3008013069629669, 0.31705814599990845, -0.5279532670974731, 0.9608483910560608, 0.4245602786540985, -0.25545811653137207, -0.5111956000328064, 0.17030119895935059, 0.11079694330692291, -0.7349019050598145, -0.3490197956562042, -0.05880280211567879, 0.940659761428833, 0.12087777256965637, 0.5001558661460876, 0.6661485433578491, 0.22651316225528717, 0.40067750215530396, -0.02506309747695923, 0.28190290927886963, -0.5434513688087463, 0.28522342443466187, -0.1886475682258606, -0.46185725927352905, -0.41810789704322815, 0.18317538499832153, 0.5513581037521362, 0.3743904232978821, 0.1577022224664688, 0.44900619983673096, 0.03035418875515461, 0.4036512076854706, -0.76158207654953, -0.03540373221039772, -0.6214268207550049, -0.11437036842107773, -0.21320801973342896, 0.030346615239977837, -0.5476317405700684, -0.5832131505012512, 0.12250621616840363, -0.5508883595466614, 0.3297353982925415, 0.2008993923664093, 0.7483798265457153, -0.019123338162899017, -0.3401704430580139, 0.11364258080720901, -0.9171150922775269, 0.8037199974060059, -0.6240389347076416, 0.1358608901500702, 0.5357000827789307, 0.44545459747314453, -0.24295173585414886, -0.7944208383560181, -0.7857043743133545, -0.1749701350927353, -0.27970537543296814, -0.32100269198417664, 0.011460983194410801, -0.021980833262205124, 0.3489148020744324, 0.18698717653751373, -0.42348968982696533, 0.2072136402130127, -0.2848226726055145, -0.2531926929950714, 1.0702545642852783, 0.1743331104516983, 0.059214428067207336, -0.13783223927021027, -0.22626261413097382, -0.1538764387369156, -0.7826212048530579, -0.0843454897403717, 0.9611333012580872, 0.3218211233615875, -0.2096865177154541, 0.61846923828125, -0.2642602324485779, 0.450443834066391, -0.13227418065071106, -0.06568360328674316, 0.28234338760375977, -0.2099180966615677, -0.03865526616573334, -0.058398183435201645, 1.0151067972183228, 0.40552493929862976, 0.6360608339309692, -0.19284731149673462, 0.09327062964439392, 0.018650950863957405, 0.159736767411232, -0.7092393636703491, -0.15529483556747437, 0.46143627166748047, -0.26040324568748474, -0.5723876357078552, 0.2850496768951416, -0.956860363483429, -0.975724458694458, -0.23458242416381836, 0.2355436384677887, -0.02210046537220478, -0.056599345058202744, -0.2844867706298828, 0.11152056604623795, -0.015753664076328278, 0.2729819118976593, -0.7229678630828857, 0.5056893825531006, 0.7905265092849731, 0.6821978688240051, -0.2716669738292694, -0.32141661643981934, -0.20116490125656128, 0.31379857659339905, 0.06050531938672066, 0.7143362164497375, -0.5888018012046814, -0.32953664660453796, 0.004077416844666004, 0.12985503673553467, 0.21260054409503937, -0.499683678150177, 0.34398505091667175, -0.5282505750656128, 0.34910252690315247, -0.292953759431839, -0.49540770053863525, -0.006148494314402342, 0.28892335295677185, -0.7985331416130066, 0.7469267249107361, 0.004744330886751413, -0.7040911912918091, -0.11960794031620026, -0.5029929280281067, -0.4177427589893341, -0.03658551350235939, -0.10886800289154053, -0.5996116399765015, 0.003998287487775087, 0.14416350424289703, 0.6097629070281982, -0.42634573578834534, -0.021983133628964424, -0.7096020579338074, -0.24629293382167816, 0.8669993281364441, -0.39444372057914734, 0.8016493916511536, 0.2738593518733978, -0.09068165719509125, -0.1721792072057724, -0.9977251291275024, 0.09569308161735535, 0.12380576878786087, -0.06866292655467987, -0.2644517719745636, -0.038824811577796936, 0.008480247110128403, 0.003264403436332941, 0.31653469800949097, -1.0251072645187378, -0.1887885481119156, -0.4096762239933014, 0.43694549798965454, 1.0404918193817139, 0.2902384400367737, 0.45131394267082214, -0.42517954111099243, 0.5037028789520264, -0.13653630018234253, -0.005983451381325722, -0.029397932812571526, -0.4987976551055908, -0.18444901704788208, -0.47793319821357727, 0.37666264176368713, 0.6220703125, -0.17332743108272552, 0.4379373788833618, -0.2399977147579193, -0.23296485841274261, -0.6077362298965454, 0.22713884711265564, 0.5533896684646606, 0.17772440612316132, -0.14348237216472626, 0.12819138169288635, -0.6829771399497986, -1.1712573766708374, -0.7701258063316345, -0.1912778913974762, -0.44848179817199707, 0.5034525394439697, 0.3565504848957062, -0.32025691866874695, 1.0939009189605713, -0.7376300096511841, -0.17427796125411987, -0.12066369503736496, 0.06503254920244217, -0.10029115527868271, 0.4680348336696625, 0.3236674666404724, -0.7823708057403564, -0.5515644550323486, -0.15070195496082306, -0.6430197954177856, -0.28923019766807556, -0.30950573086738586, -0.25917741656303406, -0.053244754672050476, 0.11404971033334732, -0.7367750406265259, 0.30587559938430786, 0.5767968893051147, -0.19485977292060852, 0.266048401594162, -0.0916554406285286, -0.020332638174295425, -1.2063090801239014, 0.04311337321996689, 0.41710376739501953, -0.49014779925346375, -0.6813225746154785, -0.09026973694562912, -0.174318328499794, -0.06068117171525955, -0.5022470355033875, 0.9133653044700623, -0.25594964623451233, -0.05095018446445465, -0.07332693040370941, -0.1517401784658432, 0.07556238025426865, 0.40643206238746643, -0.2447473406791687, 0.8237996697425842, 0.16308008134365082, -0.491877943277359, 0.22933721542358398, 0.23644821345806122, -0.33945509791374207, 0.4453144967556, -0.5260715484619141, 0.4509430527687073, -0.2543852627277374, 0.2484375536441803, -0.7451822757720947, -0.7946317791938782, 0.2607434093952179, -0.6376379132270813, 0.09219399839639664, 0.321205198764801, -0.8195528388023376, -0.1325952261686325, -0.5695223212242126, 0.23216189444065094, 0.5322272777557373, -0.5340763926506042, 0.9889392256736755, 0.7525685429573059, -0.21129730343818665, -0.4131228029727936, -0.7517380118370056, 0.2545948326587677, -0.3141114115715027, -0.6326513886451721, 0.44475188851356506, -0.02844691276550293, -0.5364249348640442, -0.024198608472943306, 0.3970077931880951, -0.32190459966659546, 0.23827484250068665, 0.5651681423187256, 0.05411968380212784, 0.32117700576782227, -0.15945374965667725, -0.1424446702003479, -0.042337048798799515, 0.36038726568222046, 0.23933659493923187, 0.20932190120220184, -0.028660519048571587, -0.16153748333454132, -0.7538000345230103, 0.19618894159793854, 0.22847320139408112, 0.01141792256385088, 0.9904544949531555, 0.32930251955986023, -0.4835408926010132, -0.5989936590194702, -0.667256236076355, -0.390423446893692, -0.5750353336334229, 0.21511423587799072, -0.0017250522505491972, -0.8488307595252991, 0.6316369771957397, 0.04734664037823677, 0.27864447236061096, -0.016954438760876656, 0.7125263810157776, -0.35590535402297974, 1.1030933856964111, 0.4191843569278717, 0.082906074821949, 0.28980493545532227, -0.1568179875612259, 0.32282987236976624, -0.7623593807220459, -0.39669400453567505, -0.3474215865135193, -0.4155498445034027, -0.9946560859680176, -0.3736923336982727, 0.23606671392917633, -0.7640697956085205, -0.3275343179702759, 0.3207876980304718, -0.26254868507385254, 0.691153883934021, 0.657689094543457, 0.543895423412323, 0.31639909744262695, 0.09234887361526489, 0.4300605356693268, -0.11488530784845352, -0.06453336030244827, -0.7692362070083618, 1.160814642906189, 0.43659648299217224, 1.0437958240509033, 0.15875229239463806, 0.6382217407226562, 0.7150956988334656, 0.490180104970932, -0.25186049938201904, 0.7835590839385986, -0.029065217822790146, -1.1103788614273071, -0.12484671175479889, -0.5595752000808716, -0.6440632343292236, 0.16475354135036469, -0.17247827351093292, -1.0243513584136963, 0.15597711503505707, 0.3627800941467285, -0.4364181458950043, 0.24623632431030273, -0.8117268681526184, 0.6682349443435669, -0.29284363985061646, -0.9138509035110474, 0.11884687840938568, -0.9849370121955872, 0.588606595993042, -0.31991004943847656, 0.29981404542922974, -0.36253103613853455, -0.03217139467597008, 0.43234044313430786, -0.33132052421569824, 1.3283520936965942, 0.05963217467069626, 0.05645826831459999, 0.3273857831954956, 0.17390576004981995, 0.6041162014007568, 0.11453740298748016, -0.2542966604232788, 0.08035159856081009, 0.05162016302347183, -0.14699961245059967, -0.6622416973114014, 0.9344567060470581, -0.7642505168914795, -0.7233211994171143, -0.4550705850124359, -0.5104929208755493, -0.4228985011577606, -0.05693468824028969, -0.022742463275790215, -0.12174613028764725, -0.3625713586807251, 0.3229120373725891, 0.40142491459846497, -0.34735816717147827, 0.044632717967033386, 0.3754452168941498, 0.09193502366542816, -0.5344008803367615, 1.051845908164978, -0.08845948427915573, 0.15356750786304474, 0.2835635244846344, 0.3190384805202484, -0.5005791783332825, -0.09370864927768707, -0.008359569124877453, 0.49268290400505066, -0.7178430557250977, -0.07954070717096329, -0.6339078545570374, -0.2544883191585541, -0.3626992702484131, 0.007152028847485781, -0.2685496509075165, -0.33259737491607666, -0.42261239886283875, -0.22510042786598206, 0.40002110600471497, 0.7218469977378845, 0.08293287456035614, 0.2701188027858734, -0.6629608273506165, 0.23132692277431488, 0.21081794798374176, 0.25413748621940613, 0.030763177201151848, -0.3437066078186035, -0.028879817575216293, 0.186076819896698, -0.23952235281467438, -0.6351802349090576, 0.4253036379814148, 0.31953349709510803, 0.4113842844963074, 0.21590286493301392, 0.3381747305393219, 0.5400044918060303, -0.41554468870162964, 0.672154426574707, -0.2754189670085907, -0.5400277972221375, 0.1303810328245163, -0.3441290557384491, -0.28747817873954773, 0.6718024611473083, 0.27735915780067444, -0.2940719723701477, -0.531679093837738, -0.6490095257759094, -0.5428120493888855, 0.456022709608078, 0.5688402056694031, 0.5362377166748047, 0.05091891810297966, 0.5831915140151978, 0.13578127324581146, 0.45185089111328125, -0.9943007230758667, -0.2013961374759674, 0.2625865936279297, -0.47097426652908325, 0.10352446138858795, -0.24658310413360596, -0.0647328570485115, -0.23698313534259796, 0.6474672555923462, 0.004801393952220678, 0.2436080425977707, -0.02544497884809971, 0.1279674917459488, 0.06868621706962585, 0.032051097601652145, 0.38877564668655396, 0.522553026676178, -0.1812359243631363, 0.26235777139663696, 0.17538784444332123, -0.2965364158153534, 0.24909797310829163, 0.06754624843597412, -0.3289967477321625, -0.2813456952571869, 0.2339053899049759, 0.468805193901062, 0.061479125171899796, -0.8781476020812988, 0.5106123089790344, -0.10277637839317322, -0.12494747340679169, -0.691810667514801, 0.09268733859062195, 0.3336012661457062, 0.20997901260852814, 0.10319993644952774, -0.1562456339597702, -0.11048571020364761, -0.5202144384384155, 0.19533617794513702, 0.4375822842121124, -0.06595420837402344, -0.740276038646698, 0.8688070774078369, 0.3347134292125702, -0.5934396982192993, 0.3189255893230438, 0.04436641186475754, -0.26378604769706726, 0.5262487530708313, 0.3781563341617584, 0.9217500686645508, -0.14814138412475586, 0.1926717311143875, 0.24657806754112244, 0.026864392682909966, -0.06462463736534119, 0.1285461038351059, 0.017448151484131813, -0.7505393624305725, -0.11594022065401077, -0.7045363187789917, -0.48312196135520935, 0.38199618458747864, -0.32908472418785095, 0.28855305910110474, -0.796811580657959, -0.31238195300102234, 0.030914517119526863, -0.08110322058200836, -0.4420408606529236, 0.032076943665742874, 0.2190934717655182, 0.5024158954620361, -0.7776706218719482, 0.6792527437210083, 0.41719502210617065, 0.015428840182721615, -0.31189101934432983, 0.1000271812081337, 0.42431753873825073, -0.6457436084747314, 0.5953096747398376, 0.2527501881122589, -0.20266087353229523, 0.1098235547542572, -0.7542034983634949, -0.6575745940208435, 1.0143533945083618, 0.6905179619789124, -0.3870793879032135, -0.11442668735980988, 0.5263693928718567, 0.7367274165153503, -0.5335310101509094, -0.1964242309331894, 0.4062561094760895, 0.3800157308578491, 0.19409719109535217, -0.29052311182022095, 0.1646711677312851, -0.07161857932806015, 0.2288990020751953, -0.2544825077056885, -0.6469649076461792, 0.8073766827583313, -0.1824599802494049, -0.2485857605934143, 0.268503338098526, 0.6386736035346985, 0.5353973507881165, 0.24360305070877075, 0.36408671736717224, 0.3740788400173187, 0.5845438838005066, 0.25430187582969666, 1.334144115447998, -0.4325428903102875, 0.2635332942008972, 1.219194769859314, -0.6610324382781982, 0.7394306659698486, 0.4027499854564667, -0.2150551676750183, 0.5268934369087219, 0.6547462940216064, -0.21366432309150696, 0.4525779187679291, 0.27395063638687134, -0.7265878319740295, -0.21846669912338257, -0.2540355622768402, -0.0023667700588703156, 0.3124479651451111, 0.2331012487411499, -0.760223925113678, 0.0821889117360115, -0.23328593373298645, 0.09898664802312851, 0.3912939727306366, 0.2215540111064911, 0.7786055207252502, 0.17206420004367828, -0.511883020401001, -0.05062362551689148, 0.13750575482845306, 0.41545429825782776, -0.4466738998889923, -0.10602805763483047, -0.0303474273532629, 0.5564028024673462, -0.21444247663021088, -0.747869610786438, 0.12766872346401215, 0.21566128730773926, 0.08054167777299881, -0.3614128530025482, 0.7323216199874878, -0.341149240732193, -0.7850504517555237, 0.04179949313402176, 0.34417957067489624, 0.01059114933013916, -0.0723918080329895, -0.5113688707351685, -0.03435997664928436, -0.08681628853082657, -0.6065941452980042, 0.5271823406219482, 0.227500781416893, 0.024058962240815163, 0.8645333647727966, 0.8692278265953064, 0.19198240339756012, -0.06995540857315063, -0.0874062329530716, 0.9184147119522095, -0.659589946269989, -0.5912761688232422, -1.1829957962036133, 0.464197039604187, -0.48658472299575806, -0.16838319599628448, 0.9681727886199951, 0.5256335735321045, 0.8089060187339783, -0.14152635633945465, 0.9434105157852173, 0.05864641070365906, 1.017919898033142, -0.30022600293159485, 0.8161445260047913, -0.3052932620048523, 0.5946036577224731, -0.020965883508324623, -0.7578092813491821, -0.28474554419517517, 0.5313611030578613, -0.23154567182064056, 0.19475142657756805, 0.21776776015758514, 1.1929962635040283, 0.09224793314933777, -0.1006418839097023, 0.1452070027589798, 0.3539321720600128, 0.4399465024471283, 0.1650773286819458, 0.820577085018158, -0.22437088191509247, 0.28384894132614136, -0.6761991381645203, 0.11111452430486679, -0.02644439972937107, -1.0754140615463257, -1.2009342908859253, -0.4029103219509125, -0.24573898315429688, -0.6146113872528076, 0.00837003719061613, 1.1306934356689453, 0.6857662796974182, -0.869236171245575, -0.24051418900489807, -0.06492359191179276, 0.09422087669372559, 0.18219684064388275, -0.2552326023578644, -0.017303746193647385, 0.39352935552597046, -0.8010992407798767, 0.09561050683259964, -0.07805173099040985, 0.18215462565422058, -0.6743878126144409, -0.10885018855333328, -0.1374158412218094, 0.2221851646900177, 0.4342942237854004, 0.4562264084815979, -0.8389148712158203, -0.4352951645851135, -0.09902496635913849, -0.1209721639752388, -0.04051367938518524, 0.7958818674087524, -0.7283306121826172, 0.3882194757461548, 0.4647536277770996, 0.7711429595947266, 0.36876213550567627, 0.6612628698348999, 0.8017521500587463, -1.1048729419708252, 0.09864532202482224, 0.3338087201118469, 0.07321200519800186, 0.4840594530105591, -0.7712697982788086, 0.3581700325012207, 0.2344972789287567, -0.47390884160995483, -1.10250985622406, 0.25169503688812256, -0.6537389755249023, -0.19517605006694794, 1.2309362888336182, -0.1625528782606125, -0.6418237090110779, -0.005246311891824007, -0.06817588955163956, -0.11797178536653519, -0.4792701303958893, 1.0303791761398315, 0.5555415153503418, -0.08352208137512207, -0.2925291061401367, -0.6237325668334961, 0.6454223394393921, -0.13984103500843048, -0.967225968837738, 0.4503474831581116, 0.4046066701412201, 0.3303077518939972, -0.024686893448233604, 0.3956681787967682, -0.0130864717066288, 0.006534027401357889, -0.20858605206012726, -0.10709154605865479, -0.2731865346431732, -0.3146403133869171, -0.1641652137041092, 0.19035248458385468, -0.1430492103099823, 0.04901285842061043 ]
http://arxiv.org/abs/2406.07212v2
http://arxiv.org/pdf/2406.07212v2
Towards Human-AI Collaboration in Healthcare: Guided Deferral Systems with Large Language Models
2024-06-11T12:41:54
2024-07-03T14:49:15
Joshua Strong, Qianhui Men, Alison Noble
cs.CL
cs.CL, cs.AI, cs.HC
Large language models (LLMs) present a valuable technology for various applications in healthcare, but their tendency to hallucinate introduces unacceptable uncertainty in critical decision-making situations. Human-AI collaboration (HAIC) can mitigate this uncertainty by combining human and AI strengths for better outcomes. This paper presents a novel guided deferral system that provides intelligent guidance when AI defers cases to human decision-makers. We leverage LLMs' verbalisation capabilities and internal states to create this system, demonstrating that fine-tuning small-scale LLMs with data from large-scale LLMs greatly enhances performance while maintaining computational efficiency and data privacy. A pilot study showcases the effectiveness of our proposed deferral system.
[ -0.24563786387443542, -0.44887739419937134, 0.8680968284606934, -0.1151478961110115, -0.1389092057943344, 0.015771660953760147, -0.1754196733236313, -0.49549469351768494, 0.23562292754650116, 0.4176125228404999, -0.8589634895324707, -0.44866642355918884, -0.38880109786987305, 0.2787260413169861, -0.1401825249195099, 0.6059631705284119, 0.1510702669620514, 0.3900704085826874, -0.34937623143196106, -0.017495859414339066, -0.6090526580810547, -0.5962390899658203, -0.8573415279388428, -0.7542715072631836, 0.46412667632102966, 0.34958159923553467, 0.9438035488128662, 0.4871893525123596, 0.7452981472015381, 0.346162885427475, -0.023311587050557137, 0.21455974876880646, -0.12285128980875015, 0.3314753770828247, -0.07818125933408737, -0.3838346600532532, -0.6819859147071838, -0.5841840505599976, 0.5067330598831177, 0.7478569149971008, -0.5706725716590881, -0.2611640691757202, -0.03317398577928543, 0.9693396091461182, -0.3653380870819092, 0.3031871020793915, -0.2481418251991272, 0.08265119791030884, -0.06536515057086945, 0.2351250797510147, -0.17727653682231903, -0.4206272065639496, 0.32606256008148193, -0.44984227418899536, -0.039701372385025024, 0.09132640808820724, 0.34443265199661255, 1.0536600351333618, 0.06599212437868118, -0.13834042847156525, -0.9725033044815063, 0.31664639711380005, -0.8063586354255676, 0.5246548056602478, 0.7212621569633484, 0.23782727122306824, -0.43186014890670776, -0.7755087018013, -0.4261421859264374, -0.16826525330543518, -0.08851601928472519, -0.08295261859893799, -0.13561324775218964, 0.5122092366218567, 0.01110710296779871, -0.013593370094895363, -0.4973803758621216, 0.35825997591018677, -0.4368734359741211, -0.29871702194213867, 0.9754897952079773, 0.32119277119636536, 0.03525988385081291, 0.2057470679283142, 0.038826800882816315, 0.1377774178981781, -0.44408294558525085, -0.22663338482379913, -0.30977100133895874, 0.371501624584198, -0.12949636578559875, 0.3212871849536896, -0.3141983151435852, 0.533025860786438, 0.03221609815955162, -0.3741665184497833, -0.058259010314941406, 0.06254845857620239, -0.42258280515670776, 0.428237646818161, 0.7482554316520691, 0.09725120663642883, 0.28936678171157837, -0.25351887941360474, -0.24228091537952423, 0.42696455121040344, 0.5091886520385742, -0.6524605751037598, -0.34532827138900757, 0.17683105170726776, -0.5641648769378662, -0.14495381712913513, 0.08547163009643555, -0.46177756786346436, -0.6397926807403564, -0.31226834654808044, 0.2942991256713867, -0.4044566750526428, 0.017718596383929253, 0.23678170144557953, 0.2961203157901764, 0.10844776034355164, 0.40713298320770264, -0.8425916433334351, 0.6585037112236023, 0.790453314781189, 0.6964849233627319, 0.1626921147108078, -0.26098358631134033, -0.67293781042099, 0.2788161039352417, -0.30984529852867126, 0.475111722946167, -0.5673987865447998, -0.7668006420135498, -0.24393555521965027, -0.11948518455028534, 0.2156461477279663, -0.6031752228736877, 0.5182368755340576, -0.2323867380619049, 0.23880669474601746, -0.1657804697751999, -0.38695192337036133, -0.18494832515716553, 0.03599986433982849, -0.5037769675254822, 0.4740826189517975, 0.3119494915008545, -0.471338152885437, 0.42425161600112915, -0.7855201363563538, -0.7273269891738892, 0.3520587682723999, -0.4852977395057678, -0.6698011755943298, 0.09275836497545242, 0.3962724804878235, 0.3970544636249542, -0.3854043781757355, 0.3094816207885742, -0.2699686586856842, -0.5607711672782898, 0.05290273204445839, -0.42735958099365234, 0.2684077024459839, 0.10954897105693817, -0.30430740118026733, 0.44392266869544983, -0.5018240809440613, -0.11989124864339828, -0.1722116768360138, -0.3798862397670746, -0.3627721071243286, 0.13178782165050507, -0.21422064304351807, 0.1100359633564949, 0.08337482810020447, -0.02037707343697548, 0.34013471007347107, -0.4397038221359253, 0.6506686210632324, 0.9377971887588501, -0.20439915359020233, 0.34199047088623047, -0.6712294816970825, 0.5230712294578552, -0.4519718885421753, 0.36035263538360596, 0.21086351573467255, -0.6825589537620544, -0.46845296025276184, -0.3328283429145813, 0.41801688075065613, 0.4248175323009491, -0.6998209357261658, 0.7147226333618164, -0.2621234655380249, 0.02930406853556633, -1.0758346319198608, -0.04065767303109169, 0.1415446400642395, 0.7101221084594727, 0.2209375649690628, -0.30522608757019043, -0.3456342816352844, -0.916009783744812, 0.25592800974845886, -0.5014886260032654, -0.31929078698158264, 0.2513788342475891, 0.333570271730423, -0.7068882584571838, 0.5342935919761658, -0.3708440661430359, -0.7509129643440247, -0.11666154116392136, -0.16641272604465485, -0.05877428874373436, 0.28070196509361267, -0.0562048964202404, -0.940219521522522, -0.2760544419288635, -0.05831792578101158, -0.7179208993911743, -0.004125506151467562, 0.04625959321856499, -0.1612214744091034, 0.41283902525901794, 0.4969674050807953, -0.2800268232822418, 0.8114579916000366, 0.5064853429794312, -0.4856524169445038, 0.13836942613124847, -0.6746594905853271, 0.11526205390691757, -1.1640385389328003, 0.04797790199518204, -0.1961984485387802, -0.3795866370201111, -0.6132540702819824, -0.30789849162101746, -0.12867476046085358, 0.052318308502435684, -0.04993222653865814, 0.357407808303833, -0.2741236388683319, 0.01677452027797699, -0.20564647018909454, -0.007788797374814749, -0.12062948942184448, 0.23529565334320068, 0.20932550728321075, 0.568900465965271, 0.5602109432220459, -0.682304859161377, 0.4789946377277374, 0.6684510111808777, 0.040294282138347626, 0.9277375936508179, -0.6731978058815002, 0.18058067560195923, -0.040878430008888245, 0.35390231013298035, -0.339652955532074, -0.66997891664505, 0.2744615972042084, -0.23521922528743744, 0.16005589067935944, 0.14524643123149872, -0.2630307376384735, -0.6371451020240784, -0.25331616401672363, 0.4106934070587158, 0.5215727090835571, -0.2663075625896454, 0.7798771858215332, 0.4041539430618286, -0.3113691210746765, -0.07859321683645248, -1.1484092473983765, 0.36950376629829407, 0.008091752417385578, -0.662600576877594, 0.561454176902771, -0.2727299928665161, -0.5179645419120789, 0.020571686327457428, 0.13110075891017914, -0.13888205587863922, 0.024952417239546776, 0.8143057823181152, 0.34377479553222656, 0.1309206336736679, 0.3104301393032074, 0.04698564484715462, -0.03966870531439781, 0.09741942584514618, -0.28465044498443604, 0.45260995626449585, -0.08339443057775497, -0.67649245262146, -1.2383028268814087, 0.4269792139530182, 0.8933748006820679, 0.006653851363807917, 0.8018362522125244, 0.2805425226688385, -0.7565463185310364, 0.02452804334461689, -0.45219314098358154, -0.4367898404598236, -0.48029446601867676, 0.06123028323054314, -0.05506829917430878, -0.7891873717308044, 0.32433268427848816, -0.028864672407507896, -0.12032341957092285, 0.1483413130044937, 0.7555240988731384, 0.058670710772275925, 0.9208174347877502, 0.7934526205062866, -0.6677302718162537, 0.13661949336528778, 0.08456628769636154, 0.10235510766506195, -0.6306179165840149, -0.5464726090431213, -0.36883583664894104, -0.43054160475730896, -0.6107852458953857, -0.2724999189376831, 0.8262243270874023, -0.24045749008655548, -0.31926262378692627, -0.35338130593299866, -0.8624230623245239, 0.02868221141397953, 0.7168006896972656, 0.5126968026161194, 0.4059064984321594, -0.2973395884037018, 0.03079434670507908, 0.12582626938819885, -0.7705146074295044, -0.26645782589912415, 0.7484484910964966, 0.23286360502243042, 0.9306654930114746, 0.14644257724285126, 0.6773307919502258, 0.621495246887207, 0.12538374960422516, -0.7728596329689026, 0.4771113991737366, -0.10312654823064804, -0.18808750808238983, -0.5501883029937744, -0.3686527907848358, -1.0372626781463623, -0.11509524285793304, -0.40498313307762146, -0.5864905714988708, -0.16076263785362244, -0.03168399631977081, -0.9333481788635254, 0.2597962021827698, -0.5971692204475403, 0.2647523581981659, -0.29041334986686707, -0.40579524636268616, -0.4001465439796448, -0.8164671659469604, 0.0386001281440258, -0.19191499054431915, 0.2484293133020401, 0.19653861224651337, -0.026895370334386826, 0.6192200183868408, -0.761659562587738, 0.7450333833694458, 0.10440785437822342, -0.11298831552267075, -0.03842804953455925, 0.09203086048364639, 0.606321394443512, 0.24603290855884552, -0.45600762963294983, 0.04308725520968437, -0.3253098726272583, -0.13800561428070068, -0.4097961485385895, 0.7771255373954773, -0.4781000018119812, -0.6489003300666809, -0.3651195764541626, -0.6726422905921936, -0.3972835838794708, 0.38032642006874084, -0.0005107563338242471, 0.3024047613143921, -0.18360836803913116, -0.059994619339704514, 0.36522626876831055, -0.02580738067626953, 0.42431390285491943, 0.4681932330131531, 0.09027053415775299, -0.40298932790756226, 0.40461066365242004, -0.05003276839852333, -0.08182363957166672, 0.37137407064437866, 0.44198551774024963, -0.3687531352043152, -0.6022472381591797, -0.3547889292240143, 0.2671140134334564, -0.18146294355392456, -0.2851049304008484, -0.10527058690786362, -0.38688960671424866, -0.6333590149879456, -0.569878876209259, -0.015872279182076454, 0.06324916332960129, -0.399160772562027, 0.1329406499862671, 0.5356606245040894, 1.3448615074157715, -0.044310614466667175, 0.11434830725193024, -0.9311554431915283, 0.5766959190368652, 0.40906596183776855, 0.6593131422996521, -0.008434329181909561, -0.3113853931427002, -0.06886263936758041, 0.17497119307518005, 0.02356790564954281, -0.5467022657394409, 0.4063715934753418, -0.04524107277393341, 0.42688992619514465, 0.4989088177680969, 0.4337819814682007, 0.6821377277374268, -0.4949554204940796, 0.5992024540901184, 0.22078262269496918, -0.8740332126617432, 0.6807356476783752, -0.23477984964847565, 0.43594759702682495, 0.7010356783866882, 0.10447855293750763, -0.6484407782554626, -0.06152823939919472, -0.36802610754966736, -0.7250186204910278, 0.7987028360366821, 0.09863319247961044, -0.5219975709915161, 0.4276186227798462, 0.4496784806251526, -0.15307636559009552, 0.2531443238258362, -0.15335114300251007, 0.09541343152523041, 0.3754866123199463, -0.4076671898365021, 0.28959769010543823, 0.09444635361433029, -0.3174802362918854, -0.31316429376602173, 0.6022000312805176, -0.1493019461631775, 0.1098114401102066, 0.4965629577636719, 0.2680008113384247, -0.4676963984966278, 0.07722564786672592, 0.6851442456245422, 0.4212762713432312, 0.09966816008090973, -0.09677905589342117, 0.42181703448295593, -0.36043962836265564, -0.057249680161476135, 0.24691163003444672, -0.16119852662086487, -0.37499573826789856, 0.45146098732948303, 0.5893168449401855, -0.16015106439590454, -0.7110037803649902, 0.1053963378071785, -0.4227985441684723, -0.3190401792526245, -0.22450309991836548, 0.15276339650154114, 0.12408667802810669, 0.5193232297897339, 0.14070884883403778, 0.09299299120903015, -0.019755398854613304, -0.27871835231781006, 0.3992525637149811, 0.4411633312702179, -0.42564892768859863, -0.2122327983379364, 0.8372930884361267, 0.36877986788749695, -0.889794647693634, 0.6666585803031921, 0.013041640631854534, -0.3929475247859955, 0.38378360867500305, 0.05242447927594185, 0.7916894555091858, -0.45481833815574646, 0.07036519050598145, -0.2533336579799652, 0.10984878987073898, -0.5288522243499756, 0.16859811544418335, -0.14776243269443512, -0.2623145580291748, -0.3400675356388092, -0.2302647978067398, -0.7056661248207092, 0.06644608080387115, -0.5960756540298462, 0.3010764420032501, -0.5407202243804932, -0.22344839572906494, -0.26020750403404236, 0.036255162209272385, -0.5931844711303711, 0.041212648153305054, 0.523654580116272, 0.5277091860771179, -0.19183094799518585, 0.8928417563438416, 0.6774706244468689, -0.0318443737924099, -1.0226582288742065, 0.35795554518699646, 0.22326606512069702, -0.6407704949378967, 0.16539840400218964, -0.03281685337424278, -0.45456865429878235, -0.2765582203865051, -0.14972011744976044, -0.41739168763160706, 1.2567248344421387, 0.3477405905723572, -0.8722436428070068, -0.30843958258628845, 0.30429086089134216, 0.8012401461601257, -0.15519167482852936, -0.11070629209280014, 0.7258954644203186, 0.6104170680046082, 0.08900011330842972, -1.3404299020767212, 0.2617940306663513, 0.23567163944244385, -0.17738905549049377, 0.22113078832626343, -0.9187456369400024, 0.3673211336135864, -0.3332936763763428, 0.07996053993701935, 0.12391938269138336, 0.3804715573787689, -0.059809401631355286, 0.5318302512168884, 0.3926461637020111, 0.5159445405006409, 1.2491060495376587, -0.05623031035065651, 0.8871802687644958, -0.31829580664634705, -0.13801857829093933, 0.8639834523200989, -0.8039618730545044, 0.6196324229240417, 0.3434883654117584, -0.3303152918815613, 0.5808905363082886, 0.29019325971603394, 0.28563880920410156, 0.30946481227874756, 0.27918046712875366, -0.5731050968170166, -0.03521490842103958, -0.42278507351875305, -0.26052209734916687, 0.4813479781150818, 0.5096757411956787, -0.3032407760620117, 0.16686367988586426, -0.05197041854262352, -0.03837629035115242, 0.32644420862197876, -0.437753289937973, 1.0139667987823486, 0.22308772802352905, -0.7971295118331909, 0.7044464349746704, -0.19589340686798096, 0.8822011351585388, -0.6749346852302551, -0.129700168967247, -0.09350796043872833, 0.3726823329925537, -0.394297331571579, -0.551641047000885, 0.324500173330307, -0.23862428963184357, -0.32031112909317017, -0.25404614210128784, 0.6699646711349487, -0.41052237153053284, -0.5926198363304138, 0.34814921021461487, 0.37467220425605774, -0.12198101729154587, -0.01838790625333786, -0.6119462847709656, 0.1355830579996109, 0.013325899839401245, 0.13181498646736145, 0.2772064208984375, 0.3875458538532257, -0.26232093572616577, 0.9983197450637817, 0.49264150857925415, 0.506013035774231, -0.6055942177772522, 0.3136584758758545, 0.9293779730796814, -0.6613189578056335, -0.6612502336502075, -0.9959424138069153, 0.15692093968391418, 0.15593671798706055, 0.0387483686208725, 0.1665460169315338, 0.029349301010370255, 0.3787813186645508, 0.3608566224575043, 0.8801023960113525, 0.18266399204730988, 0.410887211561203, -0.27912694215774536, 0.8683825731277466, -0.41534560918807983, 0.4078645706176758, -0.07621077448129654, -0.24801766872406006, -0.639598548412323, 0.6158849000930786, -0.08842330425977707, -0.05623985826969147, 0.20197774469852448, 0.7570269703865051, 0.40744417905807495, 0.005215419456362724, 0.5462692975997925, 0.10501616448163986, 0.5054656863212585, 0.7004074454307556, 0.533344566822052, -0.02164999023079872, 0.2432907074689865, -0.3388815224170685, -0.15891294181346893, -0.2788478136062622, -0.4621542990207672, -0.8236390948295593, -0.5217070579528809, -0.07298379391431808, -0.2216959148645401, 0.4080137610435486, 1.2882555723190308, 1.052570104598999, -0.5934282541275024, 0.04649601876735687, -0.33129167556762695, 0.1940581351518631, -0.03908671438694, -0.15413345396518707, 0.4324469268321991, 0.17582586407661438, -0.6016908884048462, 0.5306559205055237, 0.4902615547180176, 0.19369558990001678, -0.6004749536514282, -0.48333367705345154, 0.004930775612592697, 0.009198293089866638, 0.29867008328437805, 0.1006869450211525, -0.6600109338760376, -0.0877179354429245, -0.10847864300012589, -0.039505571126937866, -0.033035341650247574, 0.9342670440673828, -1.1504650115966797, 0.3418571650981903, 0.20920050144195557, 0.7738761901855469, -0.035475727170705795, 0.2619669735431671, 0.6713927388191223, -0.3550185263156891, 0.3138227164745331, 0.7455184459686279, 0.34676793217658997, 0.4054608643054962, -0.7476736307144165, 0.5768574476242065, 0.0338718444108963, -0.8846482634544373, -0.6432778239250183, 0.04470294341444969, -0.4981195032596588, -0.42800554633140564, 0.9525105953216553, 0.24519364535808563, -0.005338295828551054, -0.31856071949005127, -0.3374229371547699, 0.19081224501132965, -0.7105535864830017, 1.1080060005187988, 0.4266433119773865, -0.4963873326778412, 0.25344786047935486, -0.18762533366680145, 0.5745255351066589, 0.4311196506023407, -0.8060505986213684, 0.048893917351961136, 0.5261631608009338, -0.165154367685318, 0.0077524008229374886, 0.8139849901199341, 0.2483288049697876, 0.12894444167613983, -0.3727530241012573, -0.07028432190418243, -0.09499938040971756, -0.5162549614906311, -0.624221682548523, -0.2578798830509186, 0.3211157023906708, -0.18430683016777039 ]
http://arxiv.org/abs/2406.07188v1
http://arxiv.org/pdf/2406.07188v1
Merging Improves Self-Critique Against Jailbreak Attacks
2024-06-11T12:01:09
2024-06-11T12:01:09
Victor Gallego
cs.CL
cs.CL, cs.AI
The robustness of large language models (LLMs) against adversarial manipulations, such as jailbreak attacks, remains a significant challenge. In this work, we propose an approach that enhances the self-critique capability of the LLM and further fine-tunes it over sanitized synthetic data. This is done with the addition of an external critic model that can be merged with the original, thus bolstering self-critique capabilities and improving the robustness of the LLMs response to adversarial prompts. Our results demonstrate that the combination of merging and self-critique can reduce the attack success rate of adversaries significantly, thus offering a promising defense mechanism against jailbreak attacks. Code, data and models released at https://github.com/vicgalle/merging-self-critique-jailbreaks .
[ -0.6374375224113464, -0.6729527711868286, 0.4479557275772095, -0.0028580401558429003, -0.10759590566158295, 0.4148018956184387, -0.4752454161643982, -0.5363327264785767, 0.409747451543808, 0.7827582955360413, -0.34341850876808167, -0.18093715608119965, -0.5391780138015747, 0.1743241399526596, -0.7908892035484314, 1.4156254529953003, -0.00374972028657794, -0.06174776703119278, 0.03147455304861069, -0.03518868610262871, -0.400524765253067, -0.6897649168968201, -0.3412182629108429, -0.006260991096496582, 0.42644989490509033, 0.10941410809755325, 0.6853833198547363, 0.534743070602417, 0.6361969709396362, 0.46072736382484436, 0.034741126000881195, 0.38641321659088135, -0.4640166163444519, 0.5151668190956116, -0.2927831709384918, -0.3030063807964325, -0.4668373167514801, 0.07859679311513901, 0.4292517304420471, 0.17048820853233337, 0.09999576956033707, -0.22051870822906494, 0.2032853364944458, 0.8356848359107971, -0.6053987741470337, -0.3905680179595947, -0.6531212329864502, -0.013345728628337383, 0.024472128599882126, 0.11000251024961472, -0.4790029525756836, -0.40521472692489624, -0.2500301003456116, -0.06094416230916977, 0.16861799359321594, -0.35534632205963135, 0.4393381178379059, 0.39680415391921997, -0.221881702542305, 0.16272497177124023, -0.7811140418052673, 0.3098054826259613, -0.9112386107444763, 0.08710023760795593, 0.05310795456171036, 0.2963709831237793, -0.5192130208015442, -0.420337051153183, -0.5694681406021118, -0.6385627388954163, -0.06805337220430374, -0.07025720924139023, -0.4957311749458313, -0.030153460800647736, 0.08576326817274094, 0.442820280790329, -0.3148704767227173, 0.15809319913387299, -0.8745446801185608, -0.3070715069770813, 0.973014235496521, 0.15408527851104736, 0.48749157786369324, -0.06577475368976593, -0.5325266718864441, -0.21413186192512512, -0.8371293544769287, -0.20370103418827057, 0.8871334195137024, 0.39535051584243774, 0.0006979691097512841, 0.6353410482406616, -0.11891879886388779, 0.6800138354301453, 0.11292549967765808, 0.1684863418340683, 0.10734293609857559, -0.6111140251159668, -0.16661415994167328, -0.08456632494926453, 1.1337946653366089, 0.6670169234275818, 0.1425676941871643, -0.37089812755584717, -0.2308952808380127, 0.12788347899913788, 0.7372835278511047, -0.7121741771697998, -0.6551779508590698, 0.41614246368408203, -0.2997656464576721, -0.8072860240936279, 0.15350231528282166, -0.8184655904769897, -0.7904042601585388, -0.17367102205753326, 0.14908930659294128, -0.4746303856372833, -0.13697372376918793, -0.08397195488214493, -0.2575239837169647, -0.18790560960769653, 0.33471280336380005, -0.732976496219635, 0.324956476688385, 0.6335265636444092, 0.7966819405555725, -0.20589303970336914, -0.42879441380500793, -0.5449872612953186, 0.05742378532886505, -0.35537946224212646, 0.6806625723838806, -0.05128638818860054, -0.5243703126907349, -0.3431314527988434, -0.26426100730895996, 0.05077502503991127, -0.6320441365242004, 0.33508071303367615, -0.6371636390686035, 0.06175187975168228, 0.0734744668006897, -0.3547246754169464, 0.0386287197470665, 0.6509064435958862, -1.0139524936676025, 0.8448046445846558, 0.08538077771663666, -0.8828727006912231, -0.07921018451452255, -0.3420070707798004, -0.5796760320663452, -0.1426645666360855, 0.05719413608312607, -0.5649478435516357, 0.18909192085266113, 0.3908957242965698, 0.3149069845676422, -0.1080288514494896, 0.2776922881603241, -0.7754901647567749, -0.09882454574108124, 0.5560862421989441, -0.20043662190437317, 0.6449187397956848, 0.5826888084411621, -0.25417569279670715, 0.28672733902931213, -0.480943500995636, 0.11749093979597092, 0.21359585225582123, -0.2606840133666992, -0.2991711497306824, -0.16675792634487152, -0.05412664636969566, -0.012218758463859558, 0.3424668312072754, -0.46687084436416626, 0.8930341601371765, -0.568515419960022, 0.6459490656852722, 0.7126114368438721, -0.13970153033733368, 0.44375061988830566, -0.3122499883174896, 0.5315126776695251, -0.17739495635032654, 0.19071948528289795, -0.17238083481788635, -0.06700699776411057, -0.5718092918395996, -0.3429725468158722, 0.4061104953289032, 0.5516735315322876, -0.5335399508476257, 0.5068973898887634, -0.18157263100147247, -0.7392547726631165, -0.6535042524337769, 0.6785242557525635, 0.48666995763778687, 0.1594494879245758, 0.5880317091941833, -0.38583385944366455, -0.9388537406921387, -0.833368182182312, -0.44866427779197693, -0.36090537905693054, 0.23714666068553925, -0.03465115651488304, 0.35836729407310486, -0.44152382016181946, 0.8043922781944275, -0.31520792841911316, -0.2211088389158249, -0.462619423866272, -0.17678691446781158, -0.006163677666336298, 0.6792301535606384, 0.6297873854637146, -0.3191378116607666, -0.42365387082099915, -0.10476453602313995, -0.6865418553352356, -0.2789974510669708, -0.09712309390306473, 0.24230362474918365, -0.11605339497327805, 0.8792127370834351, -0.533257782459259, 0.17100836336612701, 0.521798849105835, -0.27258995175361633, 0.8164067268371582, -0.16712361574172974, 0.32835653424263, -1.281997561454773, -0.36877840757369995, -0.1303078979253769, -0.23721492290496826, -0.6250078082084656, 0.6635400652885437, 0.21086861193180084, -0.13826099038124084, -0.46538686752319336, 0.3497128188610077, -0.4112186133861542, 0.2291048765182495, -0.5829353928565979, 0.19631725549697876, -0.12313968688249588, -0.022719457745552063, -0.7088910937309265, 0.8957033157348633, 0.4460025131702423, -0.23655487596988678, 0.6955208778381348, 0.07807709276676178, -0.1829087883234024, 0.19271399080753326, -0.6322038173675537, 0.36410024762153625, -0.023062242195010185, 0.38478490710258484, -1.0510764122009277, -0.1822267770767212, 0.20891636610031128, -0.39048460125923157, 0.47481754422187805, -0.45544999837875366, -0.43510347604751587, -0.4457228183746338, -0.8308780789375305, 0.29198983311653137, 0.23943687975406647, -0.8225827217102051, 0.5673494935035706, 0.2726025879383087, -0.04409833997488022, -0.526497483253479, -0.7956416606903076, 0.5459923148155212, -0.4122332036495209, -0.801075279712677, 0.47297438979148865, -0.23315565288066864, -0.39782747626304626, 0.0759916603565216, 0.18382857739925385, 0.42625853419303894, 0.2190532237291336, 0.2234494984149933, 0.6201172471046448, -0.02704177051782608, -0.3340652287006378, -0.13957510888576508, 0.010751603171229362, 0.08792614936828613, -0.2653515338897705, 0.5402672290802002, -0.1654413640499115, -0.22665545344352722, -0.3602912127971649, 0.18504241108894348, 0.8974032402038574, -0.16142301261425018, 0.6905449628829956, 0.2785917818546295, 0.15419049561023712, -0.2970598638057709, -0.7641058564186096, -0.14712493121623993, -0.5083336234092712, 0.11380086094141006, -0.31974804401397705, -1.187353253364563, 0.5635892152786255, 0.12130068987607956, -0.08626991510391235, 0.3003184199333191, 0.5395002961158752, -0.028335953131318092, 0.8627731204032898, 0.39275869727134705, -0.8359922766685486, 0.49923184514045715, -0.39914292097091675, 0.4118878245353699, -1.2222349643707275, -0.09328136593103409, -0.41236355900764465, -0.250732421875, -0.5977149605751038, -0.16240164637565613, 0.005624535493552685, 0.1259123682975769, -0.1639704406261444, 0.790040135383606, -0.5797772407531738, 0.6330990791320801, 0.22745639085769653, 0.27820518612861633, 0.16126962006092072, -0.17283181846141815, -0.1594308316707611, 0.11604093015193939, -0.31973597407341003, -0.30522239208221436, 1.2008702754974365, 0.394208163022995, 1.049951195716858, 0.3639439046382904, 1.0992977619171143, 0.33857986330986023, 0.38900384306907654, -0.49000823497772217, 0.6261937022209167, -0.33345451951026917, -0.48254603147506714, -0.10507013648748398, -0.5692423582077026, -0.8106822967529297, 0.5505614876747131, -0.2045319825410843, -1.0847281217575073, -0.14319398999214172, 0.14636528491973877, -0.596666693687439, 0.501326322555542, -0.7875328660011292, 0.7088034152984619, -0.376030296087265, -0.4236675798892975, -0.2529415488243103, -0.3499394953250885, 0.8386350274085999, -0.21798314154148102, 0.38058915734291077, -0.00011796816397691146, 0.39304137229919434, 0.5995475649833679, -0.9144567847251892, 0.9830487966537476, 0.07978223264217377, -0.23062513768672943, 0.3250245749950409, 0.47342267632484436, 0.7158294916152954, 0.028240108862519264, 0.16954682767391205, -0.15059857070446014, -0.15090475976467133, 0.15717358887195587, -0.9148876070976257, 1.0157941579818726, -0.7193917036056519, -1.106734275817871, -0.2680116593837738, -0.5189597606658936, -0.03391803056001663, 0.052317988127470016, 0.1390000283718109, 0.25163888931274414, -0.0058364649303257465, 0.13275210559368134, 0.19444280862808228, 0.16674040257930756, 0.3598892092704773, 0.544573962688446, -0.40874436497688293, -0.9440672397613525, 0.4673159718513489, -0.0874164029955864, 0.3295254707336426, -0.30234116315841675, 0.16672660410404205, -0.3136037588119507, -0.6417719721794128, -0.32168155908584595, 0.10178670287132263, -0.7074676752090454, -0.5807394981384277, -0.6046415567398071, -0.4302788972854614, -0.6337709426879883, -0.10840252786874771, -0.5131371021270752, -0.4429579973220825, 0.04614774137735367, -0.23646299540996552, 0.555853545665741, 0.7411072254180908, -0.23848401010036469, 0.40295228362083435, -1.013553261756897, 0.32191967964172363, 0.15097211301326752, 0.17824788391590118, 0.05304846167564392, -0.8332445621490479, -0.18613198399543762, -0.1935608834028244, -0.27293404936790466, -1.2080271244049072, 0.5342234969139099, -0.18207751214504242, 0.4091465175151825, 0.13922230899333954, 0.18782494962215424, 0.9022113680839539, -0.36654430627822876, 0.5981647968292236, 0.29854077100753784, -0.9439713954925537, 0.7998742461204529, -0.27861887216567993, 0.029771968722343445, 0.8595643639564514, -0.14371971786022186, -0.08752261102199554, -0.9628270268440247, -0.4967426061630249, -0.8981388807296753, 0.2914857268333435, 0.30065637826919556, 0.19119617342948914, 0.12460938096046448, 0.26801440119743347, -0.3360123932361603, -0.04952673614025116, -0.903648853302002, -0.18068110942840576, -0.12344202399253845, -0.19193579256534576, -0.09163510054349899, -0.10578086972236633, -0.5119490623474121, -0.3499981760978699, 0.5688819289207458, 0.06819711625576019, -0.2758546769618988, 0.10212194919586182, -0.056309085339307785, 0.02984127402305603, 0.4703080356121063, 0.14670497179031372, -0.04181972146034241, 0.07065422832965851, 0.4224173128604889, 0.26091286540031433, -0.2945441007614136, 0.4371180236339569, 0.15807408094406128, -0.3034273684024811, -0.5329196453094482, 0.5180798768997192, 0.5269719362258911, 0.05957818776369095, -0.6222192645072937, 0.40478283166885376, -0.30389633774757385, -0.03564433753490448, -0.04267870634794235, 0.5252009630203247, -0.33469486236572266, 0.5250217318534851, 0.03549381345510483, 0.3746887147426605, 0.19224771857261658, -0.7280508279800415, 0.37059858441352844, 0.7022216320037842, -0.004736787173897028, -0.1866670697927475, 0.7184398174285889, 0.06870639324188232, -0.15638086199760437, 0.5875255465507507, -0.02719457633793354, -1.1290779113769531, 0.4939890205860138, 0.7920750975608826, 1.0261343717575073, -0.40134820342063904, -0.17372682690620422, 0.2852832078933716, 0.6458067297935486, -0.16739822924137115, -0.04670300707221031, -0.2873162031173706, -0.8294342756271362, -0.47898828983306885, -0.29407575726509094, -0.25119441747665405, 0.24070310592651367, -0.555137038230896, 0.15062034130096436, -0.6444796323776245, -0.38436201214790344, -0.06074503809213638, -0.03663314878940582, -0.1823314130306244, 0.20336855947971344, 0.16195693612098694, 0.7803519368171692, -0.7435656189918518, 0.9759242534637451, 0.5089720487594604, -0.42103567719459534, -0.7839810848236084, -0.1301420032978058, 0.057862959802150726, -0.2551213800907135, 0.4514428377151489, 0.429494708776474, -0.19654066860675812, -0.4867786765098572, -0.4328365623950958, -1.022877812385559, 0.5461334586143494, 0.5381444692611694, -0.7355228662490845, 0.40716245770454407, -0.3245846629142761, 0.6547110080718994, -0.276258647441864, -0.03482050448656082, 0.9202561974525452, 0.4167040288448334, -0.1338639259338379, -0.9505532383918762, 0.34757933020591736, -0.6371275782585144, -0.22616752982139587, 0.5707652568817139, -0.5046160221099854, 0.7067542672157288, -0.5866609811782837, -0.1276058703660965, 0.24961014091968536, 0.6696083545684814, 0.23748423159122467, -0.005960894748568535, 0.5761444568634033, 0.8575578927993774, 0.5307851433753967, -0.04761195927858353, 1.1044901609420776, -0.5435482263565063, 0.2776568830013275, 1.5148159265518188, -0.3303505778312683, 0.769679844379425, 0.4912640154361725, -0.17408685386180878, 0.5843335390090942, 0.24092374742031097, -0.5065704584121704, 0.541815996170044, 0.2137279510498047, -0.12594586610794067, -0.070467509329319, 0.4413773715496063, -0.4557667672634125, 0.4930274188518524, -0.034647051244974136, -0.3390442728996277, -0.05921190604567528, 0.02295241318643093, 0.1978893280029297, 0.26651379466056824, -0.13247351348400116, 0.9711244106292725, -0.09201233088970184, -0.964335024356842, 0.5689655542373657, 0.30731481313705444, 0.6512221097946167, -0.48260498046875, 0.36436253786087036, -0.07124939560890198, 0.3539547622203827, -0.4139358401298523, -0.8534219264984131, 0.5394792556762695, 0.21643298864364624, 0.02797374501824379, -0.040337469428777695, 0.7829110026359558, -0.4275371730327606, -0.15130063891410828, 0.7197132110595703, 0.00588975939899683, -0.12861640751361847, -0.04490550234913826, -0.5288704633712769, 0.44574302434921265, 0.12704230844974518, -0.014779213815927505, 0.4865342080593109, -0.2026159167289734, 0.18322156369686127, 0.7238329648971558, 0.9758265614509583, 0.24555964767932892, -0.042769819498062134, 0.1572497934103012, 1.342939019203186, -0.678922712802887, -0.728425145149231, -1.4856160879135132, 0.39662739634513855, -0.3363403081893921, 0.03472829610109329, 1.1132155656814575, 0.6675691604614258, 0.8386333584785461, -0.005395601037889719, 1.0783027410507202, -0.012095721438527107, 0.20110109448432922, -0.6298871040344238, 0.7681980729103088, -0.24842800199985504, 0.5833579301834106, -0.2505047023296356, -0.6642036437988281, -0.17558784782886505, 0.4556367099285126, -0.3544916808605194, -0.027423551306128502, 0.4801085591316223, 0.8237592577934265, 0.06818487495183945, -0.21850617229938507, 0.09215276688337326, 0.2797859013080597, 0.47554269433021545, 0.4446585476398468, 1.1125118732452393, -0.5140433311462402, 0.5596089363098145, -0.32122328877449036, -0.04216605797410011, -0.16696661710739136, -0.787979781627655, -1.2281956672668457, -0.280168354511261, -0.2945900559425354, -0.9211710691452026, 0.13989552855491638, 0.8947295546531677, 0.5947704315185547, -0.8543596863746643, -0.07619024813175201, 0.08834894001483917, -0.019510187208652496, 0.10132874548435211, -0.1886311173439026, 0.12220854312181473, -0.44206729531288147, -0.4159435033798218, 1.1278011798858643, 0.3615269064903259, 0.20632819831371307, -0.5682593584060669, -0.009079448878765106, 0.35725533962249756, 0.29794397950172424, 0.3384993374347687, 0.3213527798652649, -0.767906665802002, -0.05855070799589157, -0.4037366509437561, -0.2609790563583374, -0.05526561290025711, 1.043209195137024, -0.8272460699081421, 0.798148512840271, 0.40291857719421387, 0.7690216302871704, 0.2978006601333618, 0.37061429023742676, 0.7939783930778503, -0.7188524603843689, 0.1734912395477295, -0.1652596890926361, 0.7085880637168884, 0.5350465774536133, -0.5523958206176758, 0.4493749439716339, 0.04820422828197479, -0.29091325402259827, -1.06409752368927, 0.3750539720058441, -0.7525648474693298, -0.46001556515693665, 1.0301483869552612, -0.12222493439912796, -0.2393437623977661, 0.23858381807804108, -0.3160877525806427, 0.12220428138971329, -0.16080302000045776, 1.1038302183151245, 0.6088241934776306, 0.17120274901390076, -0.0240172166377306, 0.10036076605319977, 0.44653788208961487, 0.3033551275730133, -0.9337140321731567, 0.29404667019844055, 0.3698243200778961, 0.3964415490627289, 0.2033671885728836, 0.3104243874549866, -0.28317856788635254, 0.32076746225357056, -0.18238332867622375, -0.17460475862026215, -0.4270763695240021, -0.5679624080657959, -0.7144755125045776, 0.294284850358963, 0.03602457419037819, 0.04338017478585243 ]
http://arxiv.org/abs/2406.07168v1
http://arxiv.org/pdf/2406.07168v1
Teaching Language Models to Self-Improve by Learning from Language Feedback
2024-06-11T11:20:05
2024-06-11T11:20:05
Chi Hu, Yimin Hu, Hang Cao, Tong Xiao, Jingbo Zhu
cs.CL
cs.CL
Aligning Large Language Models (LLMs) with human intentions and values is crucial yet challenging. Current methods primarily rely on human preferences, which are costly and insufficient in capturing nuanced feedback expressed in natural language. In this paper, we present Self-Refinement Tuning (SRT), a method that leverages model feedback for alignment, thereby reducing reliance on human annotations. SRT uses a base language model (e.g., Tulu2) to generate initial responses, which are critiqued and refined by a more advanced model (e.g., GPT-4-Turbo). This process enables the base model to self-evaluate and improve its outputs, facilitating continuous learning. SRT further optimizes the model by learning from its self-generated feedback and refinements, creating a feedback loop that promotes model improvement. Our empirical evaluations demonstrate that SRT significantly outperforms strong baselines across diverse tasks and model sizes. When applied to a 70B parameter model, SRT increases the win rate from 9.6\% to 25.8\% on the AlpacaEval 2.0 benchmark, surpassing well-established systems such as GPT-4-0314, Claude 2, and Gemini. Our analysis highlights the crucial role of language feedback in the success of SRT, suggesting potential for further exploration in this direction.
[ -0.21880656480789185, -0.4298225939273834, 0.3353651463985443, -0.007806479465216398, -0.32693660259246826, 0.09645527601242065, -0.49494293332099915, -0.22793859243392944, -0.0003370179038029164, 0.48110339045524597, -0.7851176261901855, -0.20165280997753143, -0.35554268956184387, 0.012749909423291683, 0.014985310845077038, 1.3428118228912354, 0.049158886075019836, 0.11249395459890366, 0.13819800317287445, -0.044153328984975815, -0.6365531086921692, -0.399813175201416, -0.7999457716941833, -0.5343762636184692, 0.7107514142990112, 0.63264000415802, 0.5668596029281616, 0.9209224581718445, 0.5246204733848572, 0.26848188042640686, 0.38554146885871887, 0.3071158528327942, -0.6753794550895691, 0.31869813799858093, -0.40475189685821533, -0.40151146054267883, -0.20981334149837494, 0.1612762212753296, 0.556228756904602, 0.19413478672504425, -0.5389835238456726, 0.27108946442604065, 0.2817344665527344, 0.8439843058586121, -0.38188526034355164, 0.11397527903318405, -0.686102032661438, -0.19755122065544128, -0.2561454176902771, -0.33474764227867126, -0.4119207561016083, -0.43086278438568115, -0.03180621936917305, -0.4927517771720886, 0.3577280342578888, -0.06444521248340607, 0.9920029640197754, 0.6552943587303162, -0.19848375022411346, -0.20555628836154938, -0.6117984056472778, 0.7259023189544678, -0.9371196031570435, 0.42421841621398926, 0.176537424325943, 0.2665075361728668, -0.19750681519508362, -0.5008419156074524, -0.28068166971206665, -0.4634305536746979, -0.0582970529794693, 0.20701593160629272, 0.15588481724262238, -0.10818234831094742, -0.04405008256435394, 0.26897135376930237, -0.5079308748245239, 0.36153677105903625, -0.38628360629081726, -0.16900420188903809, 0.6495662331581116, -0.07094177603721619, 0.04940129816532135, -0.05087001621723175, -0.19247734546661377, -0.14834633469581604, -0.804326057434082, 0.013765919953584671, 0.506171464920044, 0.6469110250473022, 0.009496522136032581, 0.3797389268875122, -0.13474056124687195, 0.6381572484970093, 0.45800673961639404, -0.1859908401966095, -0.013830441981554031, -0.24719738960266113, -0.11017349362373352, -0.1514931619167328, 0.7226295471191406, 0.34602439403533936, 0.3607695698738098, -0.1338222175836563, -0.3825073838233948, 0.06259278208017349, 0.5560683608055115, -0.667243242263794, -0.372729629278183, -0.24457624554634094, -0.2180720865726471, -0.40443986654281616, -0.11705818772315979, -0.6270899176597595, -0.10276828706264496, -0.5926623344421387, 0.4506720304489136, -0.3641558289527893, -0.25927820801734924, 0.02313990890979767, 0.2618013620376587, 0.2516850233078003, 0.35676488280296326, -1.2202726602554321, 0.1868942230939865, 0.5880311131477356, 0.6195396184921265, -0.03111591376364231, -0.3499335050582886, -0.4851970076560974, 0.1249479427933693, -0.416865736246109, 0.9274230599403381, -0.3368516266345978, -0.26872187852859497, -0.2728614807128906, -0.07758595049381256, -0.03489510715007782, -0.46296778321266174, 0.3969229757785797, -0.4342532157897949, 0.4139021039009094, -0.2893724739551544, -0.5507099032402039, 0.03993525356054306, 0.17746195197105408, -0.3838629424571991, 1.2866930961608887, 0.031732600182294846, -0.4906236529350281, 0.24469973146915436, -0.5737138986587524, -0.3133307099342346, 0.0735972672700882, -0.26537859439849854, -0.5925512313842773, 0.3049183487892151, 0.19846630096435547, 0.19606554508209229, -0.1569923758506775, 0.2134091705083847, -0.21529552340507507, -0.20045602321624756, -0.047525323927402496, -0.16177475452423096, -0.006482159253209829, 0.251057893037796, -0.6200306415557861, 0.2633694112300873, -0.5030263662338257, 0.3580038845539093, 0.13925306499004364, -0.498244971036911, -0.06469572335481644, -0.18284045159816742, -0.28294694423675537, 0.17157313227653503, 0.15838021039962769, -0.3162996470928192, 0.5705424547195435, -0.47150900959968567, 0.4300859868526459, 1.0467101335525513, -0.2633683979511261, 0.3270155191421509, -0.3251967132091522, 0.6217884421348572, -0.35849395394325256, 0.07395372539758682, -0.13763119280338287, -0.2043655663728714, -0.9866494536399841, 0.02751409448683262, 0.5566529631614685, 0.13533520698547363, -0.3657362461090088, 0.3513694405555725, -0.2750110924243927, -0.5883269906044006, -1.0280163288116455, 0.4771767556667328, 0.4944645166397095, 0.7956556081771851, 0.3941609263420105, -0.32688745856285095, -0.44397875666618347, -1.1055394411087036, -0.2275175154209137, -0.21633438766002655, 0.13278518617153168, 0.15577587485313416, 0.2316526174545288, -0.061930518597364426, 0.8841931819915771, -0.2914014756679535, -0.25999656319618225, -0.2109699249267578, 0.35822391510009766, -0.16755516827106476, 0.5975202918052673, 0.2773594260215759, -0.25786134600639343, -0.4911850392818451, 0.1530761420726776, -0.4525080621242523, -0.4212418496608734, 0.09368786960840225, -0.164734348654747, 0.42196664214134216, 0.4242865741252899, -0.1825788915157318, 0.16172204911708832, 0.7252939939498901, -0.20536474883556366, 0.5789975523948669, -0.3351825177669525, 0.13160617649555206, -0.8719528913497925, 0.026166701689362526, -0.0412360243499279, -0.37775713205337524, -0.3721972703933716, 0.09057088941335678, 0.2865239679813385, 0.2748330533504486, -0.08636952936649323, 0.48628342151641846, -0.3813832104206085, 0.10774490237236023, -0.6266821622848511, 0.259353369474411, 0.029228098690509796, 0.5031638145446777, 0.15205711126327515, 0.8844650983810425, 0.08814524114131927, -0.4636540710926056, 0.2181168645620346, -0.06413569301366806, -0.25951117277145386, 0.289707750082016, -0.6309211254119873, 0.4213952422142029, -0.18048201501369476, 0.2537457346916199, -0.9362099170684814, -0.08719561249017715, 0.08322222530841827, -0.4708922803401947, 0.48116156458854675, -0.3971385657787323, -0.20215950906276703, -0.14326070249080658, -0.03181849420070648, 0.14623157680034637, 0.4945876896381378, -0.5484897494316101, 0.5090222358703613, 0.1972847878932953, -0.2181950807571411, -0.7170742750167847, -0.4419485926628113, -0.10896974056959152, -0.08642886579036713, -0.5056419372558594, 0.1693558543920517, -0.10714593529701233, 0.12427461892366409, -0.14786814153194427, -0.2663772404193878, 0.4029051959514618, 0.06705304235219955, 0.06306546181440353, 0.15062296390533447, -0.13105855882167816, 0.500012218952179, -0.14590607583522797, -0.368133008480072, -0.2695764899253845, -0.4908991754055023, 0.6571269035339355, -0.4370085299015045, -0.4233734905719757, -0.5437755584716797, -0.05009514093399048, 0.35258400440216064, -0.4665025770664215, 0.46442610025405884, 0.5077531337738037, 0.10475266724824905, -0.28109118342399597, -0.8400056958198547, -0.46250423789024353, -0.4815421998500824, 0.358597069978714, -0.498201459646225, -1.0776638984680176, 0.3196641504764557, -0.02529904618859291, 0.21094782650470734, 0.5155532956123352, 0.7767935991287231, -0.1898764967918396, 1.0933592319488525, 0.7836849093437195, -0.0938485786318779, 0.5336711406707764, -0.25535210967063904, 0.09147860109806061, -0.9080586433410645, -0.20723497867584229, -0.5216744542121887, -0.358087956905365, -0.5522760152816772, -0.2119985818862915, -0.06819222867488861, 0.13514871895313263, -0.38640475273132324, 0.3726232945919037, -0.6599725484848022, 0.5443478226661682, 0.6297815442085266, 0.08584289252758026, 0.2385094314813614, -0.14984413981437683, -0.23759886622428894, -0.37436848878860474, -0.6590145230293274, -0.5911614298820496, 0.9588066339492798, 0.4879642128944397, 1.1731029748916626, 0.2286238968372345, 0.8586480617523193, 0.11653488129377365, 0.8704257607460022, -0.668181836605072, 0.17454732954502106, -0.036600708961486816, -0.4879263937473297, -0.41116732358932495, -0.589072048664093, -0.8346207141876221, 0.3184954524040222, 0.13119730353355408, -0.4178069829940796, -0.10366197675466537, 0.5198715925216675, -0.49753516912460327, 0.05708002671599388, -0.8168700337409973, 1.0084724426269531, -0.6232234835624695, -0.5112652778625488, -0.36082926392555237, -0.4678816795349121, 0.22286324203014374, -0.03661895543336868, 0.19995728135108948, -0.36373424530029297, -0.003149345749989152, 0.5603868961334229, -0.4049646556377411, 0.8947585225105286, -0.0768948569893837, -0.3883199095726013, 0.037611592561006546, 0.3557976484298706, 0.5709192752838135, 0.049986064434051514, -0.12904316186904907, -0.24708333611488342, -0.007980825379490852, -0.31824302673339844, -0.8557671308517456, 0.8783321976661682, -0.9225073456764221, -0.8447742462158203, -0.2727029025554657, -0.3729103207588196, -0.24348197877407074, 0.1772661656141281, 0.18075746297836304, 0.3082480728626251, 0.07620888203382492, 0.06544892489910126, 0.3763580918312073, 0.13330380618572235, 0.18610139191150665, 0.8811148405075073, -0.43584564328193665, -0.4224863350391388, 0.7735255360603333, 0.05435890331864357, 0.6168221235275269, 0.12187647074460983, 0.4265842139720917, -0.631557285785675, -0.2996959686279297, -0.5179402828216553, 0.49806854128837585, -0.7242960333824158, -0.5245559811592102, -0.23072506487369537, -0.08175940811634064, -0.6337682008743286, -0.003340083407238126, -0.6491973400115967, -0.34418293833732605, -0.01388748548924923, -0.19744855165481567, 0.2563115656375885, 0.9003220796585083, -0.280251145362854, 0.5142641663551331, -0.5120575428009033, -0.020632190629839897, 0.4511715769767761, 0.609889805316925, 0.07644525170326233, -0.9987528920173645, -0.34951329231262207, 0.1511603593826294, -0.3360290825366974, -0.61750328540802, 0.45952969789505005, 0.3473469018936157, 0.4783609211444855, 0.18273790180683136, -0.24738681316375732, 1.0114918947219849, -0.41759181022644043, 0.49843651056289673, 0.07469460368156433, -0.8494002223014832, 0.8479036688804626, -0.3748313784599304, 0.5289943814277649, 0.7764284610748291, 0.027349410578608513, -0.7791087031364441, -0.3604942262172699, -0.5421972870826721, -0.5730825066566467, 0.7634615898132324, -0.017511483281850815, 0.08951741456985474, 0.0011410006554797292, 0.7894750237464905, 0.034798622131347656, 0.11993387341499329, -1.1940242052078247, -0.06509556621313095, -0.3972257077693939, -0.39211273193359375, 0.040635496377944946, -0.13545911014080048, -0.09539828449487686, -0.23266449570655823, 1.1784310340881348, -0.4588510990142822, -0.22877910733222961, 0.11303965002298355, -0.08350115269422531, -0.49733689427375793, 0.16743625700473785, 0.5368688702583313, 0.5452587008476257, -0.0478261299431324, 0.18482625484466553, 0.09377464652061462, -0.051712021231651306, 0.2236461639404297, -0.1752900630235672, -0.211404949426651, -0.2916603684425354, 0.25590503215789795, 0.7186634540557861, 0.4172377288341522, -0.43218567967414856, 0.1760912537574768, -0.234541118144989, 0.0800386518239975, -0.029211504384875298, 0.19386549293994904, 0.12601153552532196, 0.061425309628248215, 0.14879529178142548, -0.07776786386966705, -0.19696658849716187, -0.446461021900177, 0.29091331362724304, 0.5355048179626465, -0.5606364011764526, -0.2967386841773987, 0.4838096499443054, 0.31869378685951233, -0.33588331937789917, 0.6623173356056213, -0.018174264580011368, -0.5410740971565247, 0.36960846185684204, 0.7302191853523254, 0.7017942667007446, -0.6534590721130371, 0.10895385593175888, 0.5825027823448181, 0.42933306097984314, -0.2860606908798218, -0.03583090752363205, 0.034614186733961105, -0.7813246846199036, -0.699578046798706, -0.8438957929611206, -0.31729114055633545, 0.3011994957923889, -0.6120842695236206, 0.34711068868637085, -0.45571550726890564, -0.2533026933670044, 0.0020524910651147366, 0.07403045147657394, -0.4529370665550232, 0.18822945654392242, -0.0004466695827431977, 0.6412450671195984, -0.6226616501808167, 1.012695074081421, 0.5678649544715881, -0.49733757972717285, -1.1285443305969238, -0.1097550019621849, 0.03884877637028694, -1.1040672063827515, 0.8016424179077148, 0.2348874807357788, -0.37671971321105957, 0.3023308515548706, -0.546328604221344, -1.2023091316223145, 0.7849751710891724, 0.554677426815033, -0.8368279337882996, 0.05126619338989258, -0.03454522415995598, 0.6560761332511902, -0.4417993724346161, 0.2865537703037262, 0.5703659057617188, 0.4633542001247406, 0.0688057690858841, -1.0269631147384644, -0.11144272238016129, -0.15417256951332092, 0.10960079729557037, 0.37544751167297363, -0.9394142627716064, 0.43047499656677246, -0.30524566769599915, -0.274975448846817, -0.006055167410522699, 0.7585663199424744, 0.27164432406425476, -0.4347877502441406, 0.5220013856887817, 0.8298950791358948, 0.6042762994766235, -0.17925865948200226, 0.8742103576660156, -0.4016034007072449, 0.5917293429374695, 1.5071234703063965, -0.12364854663610458, 0.7700803279876709, 0.3375169038772583, 0.08151119202375412, 0.6810782551765442, 0.712256669998169, -0.051155444234609604, 0.5455054640769958, 0.34239858388900757, -0.03229241073131561, -0.6145334839820862, 0.07366146147251129, -0.3901154696941376, 0.4857079088687897, 0.13593092560768127, -0.1905064731836319, -0.32743334770202637, -0.24278366565704346, 0.019046304747462273, 0.272921621799469, -0.10983868688344955, 0.879628598690033, 0.022945204749703407, -1.0739251375198364, 0.5406200885772705, 0.08081953227519989, 0.5753717422485352, -0.8053249716758728, -0.02609243616461754, -0.3906517028808594, 0.44248807430267334, -0.1914917230606079, -0.5370355844497681, 0.15789830684661865, -0.0790361613035202, -0.17532989382743835, -0.24690364301204681, 0.42477133870124817, -0.6980650424957275, -0.5219006538391113, 0.3573242723941803, 0.15183709561824799, -0.17408469319343567, 0.1585334986448288, -0.795218288898468, 0.136119082570076, 0.16515876352787018, -0.2258531004190445, 0.3619297444820404, 0.20440660417079926, 0.06276564300060272, 1.0234110355377197, 0.607949435710907, 0.10783877223730087, -0.11447251588106155, 0.3847375810146332, 0.676771342754364, -0.5994770526885986, -0.38335466384887695, -0.9506015777587891, 0.4306730329990387, 0.04843764752149582, -0.31713539361953735, 0.7846759557723999, 0.5391930937767029, 0.9599312543869019, 0.07692286372184753, 0.8655018210411072, 0.10771273821592331, 0.7719296813011169, -0.4304724335670471, 0.4772535562515259, -0.466594398021698, 0.3201501965522766, 0.17307564616203308, -0.7200051546096802, -0.06847889721393585, 0.8073229193687439, -0.360925555229187, 0.24179629981517792, 0.41016167402267456, 0.9310139417648315, 0.019255395978689194, -0.21368232369422913, 0.20489221811294556, 0.1793954074382782, 0.487834632396698, 0.19133754074573517, 0.7840725183486938, -0.31897449493408203, 0.5151384472846985, -0.3826085329055786, -0.36071300506591797, -0.16984480619430542, -0.8809623122215271, -0.6061410903930664, -0.38638603687286377, -0.3711945712566376, -0.4080647826194763, 0.23277714848518372, 1.0772672891616821, 0.9615339040756226, -0.8002831935882568, -0.4617677330970764, 0.03970460221171379, -0.06384450197219849, -0.1349048614501953, -0.24139049649238586, 0.2742806375026703, -1.0558216571807861, -0.5830620527267456, 0.4182649552822113, 0.35074323415756226, 0.08118261396884918, -0.4149753153324127, -0.284736692905426, -0.0387142114341259, 0.027320995926856995, 0.25154951214790344, 0.39428994059562683, -1.000401258468628, -0.5239285826683044, -0.009121808223426342, -0.1844463050365448, 0.1511012315750122, 0.8273558616638184, -0.8338611721992493, 0.5000482201576233, 0.012674405239522457, 0.4842851459980011, 0.5927903652191162, 0.29739910364151, 0.8908393383026123, -0.8765916228294373, -0.15429691970348358, 0.10694820433855057, 0.333675354719162, 0.5417500138282776, -0.302765429019928, 0.5989631414413452, 0.06615078449249268, -0.8557094931602478, -0.6674306392669678, 0.36865609884262085, -0.5804510116577148, -0.05569649487733841, 0.9412106275558472, 0.04480333626270294, -0.053218137472867966, 0.1752055436372757, -0.38189685344696045, 0.26401668787002563, -0.45861467719078064, 1.2862634658813477, 0.6383928060531616, -0.2793348729610443, -0.4534416198730469, -0.26090896129608154, 0.7654409408569336, 0.6422224044799805, -0.6955295205116272, 0.48136278986930847, 0.3644682765007019, 0.5837095379829407, 0.056889697909355164, 0.677483320236206, -0.14259250462055206, 0.15578074753284454, -0.5780609250068665, 0.37482938170433044, -0.005797514691948891, -0.22202257812023163, -0.4646326005458832, -0.18157199025154114, 0.4928602874279022, 0.3002307415008545 ]
http://arxiv.org/abs/2406.07162v1
http://arxiv.org/pdf/2406.07162v1
EmoBox: Multilingual Multi-corpus Speech Emotion Recognition Toolkit and Benchmark
2024-06-11T11:12:51
2024-06-11T11:12:51
Ziyang Ma, Mingjie Chen, Hezhao Zhang, Zhisheng Zheng, Wenxi Chen, Xiquan Li, Jiaxin Ye, Xie Chen, Thomas Hain
cs.SD
cs.SD, cs.AI, cs.CL, cs.MM, eess.AS
Speech emotion recognition (SER) is an important part of human-computer interaction, receiving extensive attention from both industry and academia. However, the current research field of SER has long suffered from the following problems: 1) There are few reasonable and universal splits of the datasets, making comparing different models and methods difficult. 2) No commonly used benchmark covers numerous corpus and languages for researchers to refer to, making reproduction a burden. In this paper, we propose EmoBox, an out-of-the-box multilingual multi-corpus speech emotion recognition toolkit, along with a benchmark for both intra-corpus and cross-corpus settings. For intra-corpus settings, we carefully designed the data partitioning for different datasets. For cross-corpus settings, we employ a foundation SER model, emotion2vec, to mitigate annotation errors and obtain a test set that is fully balanced in speakers and emotions distributions. Based on EmoBox, we present the intra-corpus SER results of 10 pre-trained speech models on 32 emotion datasets with 14 languages, and the cross-corpus SER results on 4 datasets with the fully balanced test sets. To the best of our knowledge, this is the largest SER benchmark, across language scopes and quantity scales. We hope that our toolkit and benchmark can facilitate the research of SER in the community.
[ -0.518964946269989, -0.33727896213531494, 0.07065319269895554, 0.3223433494567871, -0.21392662823200226, 0.10670148581266403, -0.1148882508277893, -0.49102261662483215, 0.2880411744117737, 0.06729553639888763, -0.3028492033481598, -0.48496362566947937, -0.3978102505207062, 0.34021642804145813, -0.3063470423221588, 0.6093189716339111, -0.09511015564203262, 0.22460860013961792, -0.1562456637620926, -0.5786296725273132, -0.08512411266565323, -0.6086273193359375, -0.5398826599121094, -0.18095336854457855, 0.5578208565711975, 0.3476007282733917, 0.3271320164203644, -0.002827264368534088, 0.13125449419021606, 0.2250041514635086, -0.09331343322992325, 0.10965686291456223, -0.19605866074562073, 0.3864792585372925, 0.14897920191287994, -0.32640835642814636, -0.2544294595718384, -0.3699946105480194, 0.6488007307052612, 0.31050634384155273, -0.19700953364372253, -0.099555604159832, -0.21640995144844055, 0.53535395860672, -0.7994667887687683, -0.11288812011480331, -0.33693066239356995, 0.40343600511550903, -0.16868485510349274, 0.07430947571992874, -0.16849598288536072, -0.310619056224823, 0.10406848788261414, -0.08662407100200653, -0.17448794841766357, 0.24893243610858917, 0.3202628493309021, 0.27587220072746277, -0.5335797071456909, -0.19627925753593445, -0.21305914223194122, 0.6336493492126465, -0.8204264044761658, 0.87540203332901, 0.3666885793209076, 0.23681573569774628, 0.19704937934875488, -0.32000553607940674, -0.3858177661895752, -0.05258755758404732, 0.29792293906211853, 0.43984806537628174, -0.39493897557258606, -0.17144672572612762, 0.2199542224407196, 0.05934678390622139, -0.6668434143066406, 0.16329693794250488, -0.01713499054312706, -0.30502375960350037, 0.43319591879844666, 0.03526778146624565, 0.3357682228088379, 0.14605601131916046, -0.06684763729572296, -0.2922903299331665, -0.4725632965564728, 0.23952651023864746, 0.482230007648468, 0.293911337852478, -0.2756190299987793, 0.3281724750995636, -0.1562282145023346, 0.3105716407299042, -0.4641290307044983, 0.12057491391897202, 0.7758720517158508, 0.19619649648666382, -0.07006596773862839, 0.46194568276405334, 0.7592647075653076, 0.33168429136276245, 0.12290912121534348, -0.14073683321475983, -0.16631215810775757, 0.1906832903623581, 0.30680182576179504, -0.8257260918617249, 0.12984804809093475, 0.6615315079689026, -0.32706418633461, 0.10595465451478958, -0.40820834040641785, -1.4207336902618408, -0.660882294178009, -0.22374390065670013, 0.24607276916503906, -0.3107437491416931, -0.5750550031661987, -0.22145940363407135, -0.012388319708406925, -0.08549875766038895, 0.2229904979467392, -0.5634080171585083, 0.3294714391231537, 0.6391071677207947, 0.8649688959121704, -0.04225089028477669, -0.20544826984405518, -0.7157114148139954, -0.3251703083515167, -0.11495678126811981, 0.6202302575111389, -0.7638520002365112, -0.4567491412162781, 0.39228004217147827, 0.07864606380462646, 0.1903975009918213, -0.44358721375465393, 0.6559619903564453, -0.07167672365903854, -0.06380001455545425, -0.08601254969835281, -0.6319658160209656, -0.14464323222637177, 0.20920823514461517, -0.5765040516853333, 1.0032330751419067, -0.17867113649845123, -0.6434463858604431, -0.01049674954265356, -0.4337863028049469, -0.4358671009540558, -0.12703897058963776, -0.13334333896636963, -0.5753916501998901, 0.447091668844223, -0.009743532165884972, 0.20955771207809448, -0.5122156143188477, -0.22199223935604095, -0.7310730218887329, -0.03894943743944168, 0.45537325739860535, -0.2744238078594208, 0.5130775570869446, 0.39145711064338684, -0.35357198119163513, -0.15328161418437958, -1.1546434164047241, 0.1958991140127182, -0.21129581332206726, 0.19150173664093018, -0.5184268355369568, 0.04181886091828346, 0.38271382451057434, 0.38511893153190613, -0.021930193528532982, -1.092850923538208, -0.217439666390419, -0.2942730784416199, 0.31466004252433777, 0.28261512517929077, -0.45882448554039, 0.037402402609586716, 0.12002657353878021, 0.738176703453064, 0.0074585615657269955, 0.10843583196401596, -0.15807503461837769, -0.4103623628616333, -0.46997180581092834, -0.3795919418334961, 0.15078148245811462, 0.5100163817405701, -0.06698577105998993, 0.2844165861606598, 0.17630301415920258, -0.6893236637115479, -1.1151129007339478, -0.2368595004081726, 0.5840030908584595, 0.4289844036102295, 0.3762322962284088, -0.20443323254585266, -0.5070577263832092, -0.720669686794281, -0.10426030308008194, 0.014965582638978958, 0.12844805419445038, 0.5699758529663086, 0.2568063735961914, -0.5451165437698364, 0.8488205075263977, -0.03659149631857872, -0.02573120780289173, 0.24632248282432556, 0.658708930015564, -0.15667927265167236, 0.35471320152282715, 0.5251774787902832, -0.923114538192749, -0.4386961758136749, 0.2826354503631592, -0.5606465935707092, -0.6086731553077698, 0.3504904806613922, -0.11956672370433807, 0.45396023988723755, 0.01204169075936079, 0.010260731913149357, 0.5615820288658142, 0.7984365820884705, -0.05765152722597122, 0.33600670099258423, -0.08626294881105423, 0.41488248109817505, -1.0863280296325684, 0.1372136026620865, -0.19253414869308472, -0.12464798241853714, -0.6178917288780212, -0.5030645132064819, 0.4207655191421509, -0.44244134426116943, -0.5878241658210754, 0.7046305537223816, -0.15705260634422302, -0.4589853286743164, -0.3421190083026886, 0.1219729408621788, -0.07148079574108124, 0.3522237539291382, 0.2502180337905884, 0.45124250650405884, 0.5922996997833252, -0.4246616065502167, 0.7605469226837158, 0.38526007533073425, -0.13100522756576538, 1.0182716846466064, -0.5720113515853882, 0.2746563255786896, 0.12416421622037888, -0.03380300849676132, -1.003843903541565, -0.058557767421007156, -0.13959293067455292, -0.49169212579727173, 0.08101795613765717, 0.015914298593997955, -0.43941500782966614, -0.13772423565387726, -0.19236977398395538, 0.5540350675582886, 0.6382637619972229, -0.7257044315338135, 0.9629800915718079, 0.5296277403831482, -0.4972020983695984, -0.6373283863067627, -0.839963436126709, -0.06873886287212372, -0.3552688956260681, -0.603959858417511, 0.14866545796394348, -0.2104393094778061, -0.09644889086484909, -0.12639878690242767, -0.027031857520341873, -0.17238731682300568, -0.14922162890434265, 0.6282092928886414, -0.261860728263855, 0.11961851269006729, 0.4881531298160553, 0.17292937636375427, 0.024535808712244034, -0.0463416650891304, 0.3774791359901428, 0.3264519274234772, -0.28655514121055603, -0.22898072004318237, -0.23912666738033295, 0.6646313071250916, 0.6300026178359985, -0.4352123439311981, 0.4543897211551666, 0.8633751273155212, -0.39340347051620483, -0.29090243577957153, -0.6431236267089844, 0.2020920068025589, -0.3271345794200897, 0.3881935179233551, -0.6678835153579712, -0.7811107039451599, 0.864748477935791, -0.49209484457969666, 0.043647848069667816, 0.02476666495203972, 0.6977578401565552, -0.08165077120065689, 1.1492940187454224, 0.37243393063545227, -0.17155420780181885, 0.5026858448982239, 0.35429513454437256, 0.03547724708914757, -1.0165603160858154, -0.08950363844633102, -0.872245728969574, -0.19327138364315033, -0.5115397572517395, 0.13789312541484833, 0.4363083243370056, -0.23589274287223816, -0.1990307718515396, 0.0889473557472229, -0.3158392608165741, -0.07631806284189224, 0.5157228112220764, -0.13166067004203796, -0.2599565386772156, 0.08332695066928864, -0.2377074658870697, -0.10671387612819672, -0.2641221582889557, -0.19329483807086945, 0.9804002046585083, 0.16647270321846008, 0.8710080981254578, 0.13777650892734528, 0.8374431133270264, 0.28519487380981445, 0.11944779008626938, -0.6185880899429321, 0.17304560542106628, -0.12604141235351562, -0.5061647891998291, -0.09652779996395111, -0.5588372349739075, -0.907260000705719, 0.34281444549560547, -0.048417653888463974, -0.886420488357544, 0.41712120175361633, 0.08895030617713928, -0.3201017379760742, 0.05531226471066475, -0.6886173486709595, 1.0739439725875854, -0.5402741432189941, -0.5025985240936279, -0.24484385550022125, -0.750808596611023, -0.16453267633914948, -0.3313606381416321, 0.48700112104415894, -0.38809284567832947, -0.04985827952623367, 0.7249574661254883, -0.42759275436401367, 0.5718534588813782, -0.08647680282592773, -0.11390858888626099, 0.1387140303850174, 0.029246468096971512, 0.3397045433521271, -0.04304930940270424, -0.4518280625343323, 0.19239592552185059, 0.267554372549057, -0.15682442486286163, -0.4532144069671631, 0.4421222507953644, -0.9121867418289185, 0.1447674185037613, -0.5337478518486023, -0.3619201183319092, -0.4548798203468323, -0.007042813114821911, 0.25898557901382446, 0.7458765506744385, -0.4430481493473053, 0.42176949977874756, 0.36099597811698914, -0.6402219533920288, 0.25489869713783264, 0.9038413166999817, -0.19555258750915527, -0.8971897959709167, 0.8507981300354004, -0.019611703231930733, 0.20015566051006317, 0.45386388897895813, 0.20676490664482117, -0.576543390750885, 0.0778372660279274, -0.22857828438282013, -0.013592823408544064, -0.612902045249939, -0.2740899622440338, -0.6419516205787659, 0.24546726047992706, -0.7298054695129395, -0.1279352605342865, -0.6824859380722046, -0.07195840030908585, -0.033279839903116226, 0.13174082338809967, 0.5436630249023438, 0.17629383504390717, -0.4733237326145172, 0.15442244708538055, -1.0206782817840576, 0.33996081352233887, 0.21760596334934235, 0.355284184217453, -0.23211020231246948, -0.45615559816360474, -0.23663222789764404, 0.06967964768409729, 0.002538790227845311, -1.0479943752288818, 0.7170666456222534, 0.3980724513530731, 0.3914830982685089, 0.5596840381622314, 0.344913125038147, 0.4971208870410919, -0.580734133720398, 0.4644339084625244, 0.3192956745624542, -1.295778512954712, 0.6292252540588379, 0.036621227860450745, 0.16743598878383636, 0.4725683033466339, 0.458528071641922, -0.9403665661811829, -0.1949443370103836, -0.553378701210022, -0.8731664419174194, 0.7094653844833374, 0.19391565024852753, -0.18372072279453278, 0.2844521999359131, -0.059470340609550476, 0.37755584716796875, 0.5261839032173157, -0.5099886059761047, -0.04559271037578583, -0.3156617283821106, -0.6979371309280396, -0.10145214945077896, -0.3130747079849243, -0.2030690461397171, 0.08762303739786148, 0.6160134077072144, 0.016548315063118935, 0.41161802411079407, 0.031362876296043396, -0.17474153637886047, -0.1718241274356842, 0.5636733770370483, 0.23104971647262573, 0.07302720099687576, -0.5983830690383911, 0.231184184551239, 0.1140461415052414, -0.22069589793682098, 0.24764589965343475, 0.3324774205684662, 0.1640763133764267, 0.05712256580591202, 0.09341124445199966, 1.0398752689361572, 0.40663865208625793, -1.176858901977539, 0.25207558274269104, -0.09195700287818909, 0.1457187384366989, -0.2878565192222595, -0.3074522316455841, -0.046364981681108475, 0.4766051769256592, 0.06386791169643402, -0.28450295329093933, 0.43986180424690247, -0.6452739834785461, 0.09940526634454727, 0.10423040390014648, -0.3186545670032501, -0.3117625117301941, 0.3614114224910736, 0.4779846668243408, -0.4774370491504669, 0.5221049189567566, -0.3713560104370117, -0.7493313550949097, 0.7706013321876526, 0.5200424194335938, 1.0990058183670044, -0.5380173921585083, 0.17756925523281097, 0.2957310676574707, 0.11342403292655945, -0.026830235496163368, 0.5601323246955872, -0.10485897213220596, -0.7049805521965027, 0.17992986738681793, -0.5748687982559204, -1.0637151002883911, -0.3855942487716675, -0.9140745997428894, 0.10129830241203308, -0.0751977264881134, -0.2987951934337616, -0.14541618525981903, 0.012958768755197525, -0.611480712890625, 0.3824065327644348, 0.6910648345947266, 0.43996676802635193, -0.7554422616958618, 0.666365921497345, 0.7856820821762085, -0.17614048719406128, -0.354846328496933, -0.5379747152328491, 0.2774307131767273, -0.6489556431770325, 0.44625574350357056, 0.45833295583724976, -0.29579293727874756, -0.06184273958206177, -0.24562308192253113, -0.606140673160553, 0.692129909992218, 0.3023342490196228, -0.7690857648849487, 0.7306363582611084, 0.19719579815864563, 0.6733883619308472, -0.47763070464134216, 0.6835548281669617, 0.45958876609802246, 0.38362106680870056, -0.06399857997894287, -0.9312188029289246, -0.22298158705234528, -0.5419304370880127, -0.24369379878044128, 0.29966649413108826, -0.8352609872817993, 0.7630168199539185, 0.24597793817520142, -0.07408171147108078, -0.027559718117117882, 0.3227112293243408, 0.2524692714214325, 0.6940277814865112, 0.586798369884491, 0.7386022806167603, 0.8503575325012207, -0.16291865706443787, 0.6608337163925171, -0.2896149158477783, 0.19332532584667206, 1.055525302886963, -0.9713628888130188, 1.1117724180221558, 0.04547400400042534, -0.42179301381111145, 0.2875691056251526, 0.7287342548370361, -0.12350259721279144, 0.5290575623512268, 0.15645954012870789, -0.2476576566696167, -0.029373550787568092, -0.4912831783294678, -0.6695367097854614, 0.2965080142021179, 0.4362088441848755, 0.10817449539899826, 0.13066966831684113, 0.4699289798736572, -0.118617482483387, -0.3346659243106842, -0.27727168798446655, 0.7006219625473022, 0.22160737216472626, -0.21880750358104706, 0.34275975823402405, -0.4107920527458191, 0.6879042983055115, -0.7299528121948242, 0.3459005057811737, -0.23929698765277863, 0.24645207822322845, -0.28911346197128296, -0.49867379665374756, 0.09315897524356842, 0.4196881353855133, 0.1466967761516571, -0.03936142101883888, 0.4573698341846466, -0.785693883895874, -0.4139133095741272, 0.911967396736145, 0.14511021971702576, 0.5840732455253601, -0.4089418947696686, -0.7276659607887268, 0.5920965671539307, -0.19753412902355194, -0.19876903295516968, 0.2381996512413025, 0.8561930656433105, 0.4320898950099945, 0.5965802073478699, 0.13590870797634125, 0.022521577775478363, 0.31744661927223206, 0.4822447597980499, 0.40060529112815857, -0.7478153705596924, -0.6775094270706177, -0.5309066772460938, 0.5463405251502991, -0.11123568564653397, -0.5580480098724365, 0.5551672577857971, 0.5637912154197693, 0.550233006477356, 0.039355017244815826, 0.8141096234321594, -0.030233263969421387, 0.7107146978378296, -0.11620151996612549, 0.3078864812850952, -1.1939001083374023, -0.5263769030570984, -0.6712475419044495, -0.6496757864952087, -0.0677667185664177, 0.49409398436546326, 0.07719303667545319, -0.09866897761821747, 0.720924437046051, 0.6430971026420593, 0.2944214344024658, 0.3446328938007355, 0.42756888270378113, 0.20333826541900635, 0.199821338057518, 0.7531034350395203, 0.7957983613014221, -0.41144853830337524, 0.4806671738624573, -0.47069478034973145, -0.22792166471481323, -0.5487837791442871, -0.8222479224205017, -0.6824721097946167, -0.5371198058128357, -0.5369934439659119, -0.1723647266626358, 0.09716319292783737, 1.1284613609313965, 0.5927858352661133, -0.9449859857559204, -0.35544097423553467, 0.17243285477161407, -0.15290042757987976, -0.23562927544116974, -0.07788962870836258, 0.24217692017555237, -0.2656276226043701, -0.9295110106468201, 0.28745126724243164, 0.4593546986579895, 0.07908181101083755, 0.14349433779716492, -0.25588172674179077, -0.04775301739573479, -0.08370755612850189, 0.48470544815063477, 0.5547208189964294, -0.5955795645713806, 0.011664923280477524, -0.2802298069000244, 0.10324003547430038, 0.020032720640301704, 0.49516186118125916, -0.36518594622612, 1.0203557014465332, 0.5334010124206543, 1.0407217741012573, 0.37681296467781067, -0.21234595775604248, 0.6159659624099731, -0.7259661555290222, 0.39787113666534424, 0.3720347285270691, 0.6197860240936279, 0.39435967803001404, -0.08499112725257874, 0.8080034852027893, -0.05582747608423233, -0.661707878112793, -1.1257524490356445, 0.02268166095018387, -1.1068435907363892, 0.06132815033197403, 0.9486539363861084, -0.3507680594921112, -0.10653143376111984, 0.20681478083133698, -0.282787948846817, 0.5889256000518799, -0.7291228175163269, 0.6270097494125366, 0.9342798590660095, -0.22747685015201569, -0.2952161729335785, -0.31096625328063965, 0.23600205779075623, 0.7708411812782288, -1.1355432271957397, 0.1672763079404831, 0.5172386765480042, -0.1234511062502861, 0.22153092920780182, 0.2862436771392822, 0.0247905645519495, 0.2557029128074646, 0.23656529188156128, 0.7051913738250732, 0.1965915411710739, -0.2703447937965393, -0.5670585632324219, 0.19050680100917816, -0.44281014800071716, -0.14096477627754211 ]
http://arxiv.org/abs/2406.07155v1
http://arxiv.org/pdf/2406.07155v1
Scaling Large-Language-Model-based Multi-Agent Collaboration
2024-06-11T11:02:04
2024-06-11T11:02:04
Chen Qian, Zihao Xie, Yifei Wang, Wei Liu, Yufan Dang, Zhuoyun Du, Weize Chen, Cheng Yang, Zhiyuan Liu, Maosong Sun
cs.AI
cs.AI, cs.CL, cs.MA, cs.NI, cs.SI
Pioneering advancements in large language model-powered agents have underscored the design pattern of multi-agent collaboration, demonstrating that collective intelligence can surpass the capabilities of each individual. Inspired by the neural scaling law, which posits that increasing neurons leads to emergent abilities, this study investigates whether a similar principle applies to increasing agents in multi-agent collaboration. Technically, we propose multi-agent collaboration networks (MacNet), which utilize directed acyclic graphs to organize agents and streamline their interactive reasoning via topological ordering, with solutions derived from their dialogues. Extensive experiments show that MacNet consistently outperforms baseline models, enabling effective agent collaboration across various network topologies and supporting cooperation among more than a thousand agents. Notably, we observed a small-world collaboration phenomenon, where topologies resembling small-world properties achieved superior performance. Additionally, we identified a collaborative scaling law, indicating that normalized solution quality follows a logistic growth pattern as scaling agents, with collaborative emergence occurring much earlier than previously observed instances of neural emergence. The code and data will be available at https://github.com/OpenBMB/ChatDev.
[ -0.5713303685188293, -0.6397465467453003, 0.6810674071311951, 0.4005039930343628, 0.2956855893135071, 0.25432252883911133, -0.3910033106803894, -0.6440805792808533, 0.6010013222694397, 0.5770602822303772, -0.5033677816390991, -0.03503116965293884, -0.6105659604072571, -0.021524155512452126, 0.045134037733078, 0.9718407988548279, 0.595885694026947, -0.17277586460113525, -0.3830777108669281, -0.3545089662075043, -0.24087579548358917, -0.4713796079158783, -0.8452844023704529, -0.5745477676391602, 0.8761011958122253, 0.579060971736908, 1.1872715950012207, 0.924083948135376, 0.792491614818573, 0.4914039373397827, -0.19725680351257324, 0.5029149055480957, -0.3346296548843384, 0.3184349238872528, 0.0661536157131195, -0.1388167142868042, -1.0297620296478271, -0.030573830008506775, 0.5118510127067566, 0.858924925327301, -0.43043622374534607, -0.029739603400230408, 0.005789400078356266, 0.45299163460731506, -0.1224789172410965, 0.25187766551971436, -0.5750575065612793, -0.2622844874858856, 0.2758091688156128, -0.053503911942243576, -0.5983115434646606, -0.05924917384982109, 0.08794159442186356, -0.7196304202079773, 0.06489703804254532, 0.14722974598407745, 0.43606114387512207, 0.07574311643838882, -0.3037801682949066, -0.24472597241401672, -0.6071122288703918, 0.460214227437973, -0.5729930400848389, -0.09267981350421906, -0.03313783183693886, 0.4160711467266083, -0.3556627929210663, -1.0572420358657837, -0.48798754811286926, -0.45028558373451233, 0.05694662034511566, -0.11068229377269745, -0.33587953448295593, 0.26895901560783386, 0.2845616638660431, -0.04736074060201645, -0.44596850872039795, 0.14563153684139252, -0.25080257654190063, 0.04053516313433647, 0.5681592226028442, 0.16679109632968903, 0.6434915065765381, 0.42880144715309143, -0.13400253653526306, -0.15473084151744843, -0.24981068074703217, -0.025844281539320946, 0.12939730286598206, 0.7732841372489929, -0.15127001702785492, 0.48480650782585144, -0.09107859432697296, 0.3075794577598572, -0.0564759187400341, 0.21429194509983063, 0.3822524845600128, -0.6377463340759277, 0.015636395663022995, 0.00008023072587093338, 0.8262189030647278, 0.20116876065731049, 0.3975885808467865, -0.24244274199008942, 0.0032401185017079115, -0.1914406567811966, 0.3967793583869934, -0.8497304320335388, -0.47187525033950806, -0.04901253804564476, -0.36970940232276917, -0.23090681433677673, 0.010881655849516392, -0.33071455359458923, -0.6902981400489807, -0.2168285995721817, 0.4547431468963623, 0.03748644143342972, -0.7795710563659668, -0.2169104367494583, -0.26327940821647644, -0.07527290284633636, 0.5383490324020386, -0.8572671413421631, 0.7168688774108887, 0.8483383655548096, 1.1574435234069824, 0.2902301549911499, -0.825187087059021, -0.5417373776435852, -0.13514594733715057, -0.4420028030872345, 0.5176441073417664, -0.144138902425766, 0.00038959606899879873, -0.36068761348724365, -0.017731042578816414, 0.10818387567996979, -0.4519210457801819, -0.17959623038768768, -0.37780463695526123, -0.431618869304657, -0.1912716031074524, -0.013351745903491974, 0.1281728744506836, 0.34197762608528137, -0.8677651882171631, 0.5047470331192017, -0.2640444338321686, -0.5102829933166504, 0.16545428335666656, -0.9722300171852112, -0.3744848072528839, 0.2799043357372284, -0.1833227127790451, -0.29946044087409973, -0.03466721624135971, -0.085793636739254, 0.45760777592658997, -0.4374765455722809, 0.10778269171714783, -0.5072253346443176, 0.0031669139862060547, 0.27885302901268005, -0.22990447282791138, 1.013164758682251, 0.03578968718647957, -0.18780022859573364, 0.40341466665267944, -0.5028242468833923, 0.259722501039505, 0.14216791093349457, -0.11033641546964645, -0.15077131986618042, -0.03407216817140579, -0.3100566864013672, 0.5235032439231873, 0.3016892969608307, -0.507426381111145, 0.37882304191589355, -0.18273533880710602, 0.59259432554245, 0.6821860671043396, 0.16162708401679993, 0.56569904088974, -0.5230402946472168, 0.19554628431797028, -0.05810723081231117, 0.3257741332054138, 0.1358197033405304, -0.8026421070098877, -0.3930056095123291, -0.3368670642375946, -0.21463549137115479, 0.07291597127914429, -0.7509050369262695, 0.14496390521526337, -0.5580777525901794, -0.6193283200263977, -0.08612779527902603, 0.1611919105052948, 0.17951050400733948, 0.11079895496368408, 0.3249465227127075, -0.4894925057888031, -0.15995056927204132, -0.7747186422348022, 0.2617487907409668, -0.29369616508483887, 0.0828852578997612, 0.6385698318481445, 0.3914383351802826, -0.2521861493587494, 0.8860815167427063, -0.35193946957588196, -0.045495111495256424, -0.22304852306842804, 0.30291903018951416, 0.3212191164493561, 0.4848448932170868, 0.4676172137260437, -0.8891722559928894, -0.5412527322769165, 0.42739763855934143, -0.5736633539199829, 0.1688777357339859, 0.1652543991804123, -0.32345059514045715, -0.09833978116512299, 0.5514537692070007, -0.6832168102264404, 0.009469660930335522, 0.6056468486785889, -0.4114103317260742, 0.6122754216194153, -0.6165803670883179, -0.05440661311149597, -1.2904144525527954, -0.20775191485881805, -0.29919055104255676, -0.055285338312387466, -0.9093317985534668, 0.12289295345544815, -0.18966707587242126, -0.07260042428970337, -0.2896292507648468, 0.14781296253204346, -0.6210699081420898, -0.2027653455734253, -0.3778088688850403, 0.3517717719078064, -0.08351292461156845, 0.5920174717903137, -0.09377142041921616, 0.5344331860542297, 0.6760594844818115, -0.4761451482772827, 0.5207266807556152, -0.03283790126442909, 0.09003428369760513, 0.2957601547241211, -0.7711994647979736, 0.2679647207260132, 0.2222311943769455, 0.2697388529777527, -0.8047141432762146, -0.19948481023311615, -0.21122446656227112, -0.6141312122344971, 0.023355701938271523, -0.020499905571341515, -0.9076892733573914, -0.2746930718421936, -0.17489396035671234, 0.6415056586265564, 0.014921247959136963, -0.6187959313392639, 0.760524332523346, 0.32870393991470337, 0.026586923748254776, -0.5948476195335388, -0.6340349316596985, 0.43883994221687317, 0.1769677996635437, -1.0307950973510742, -0.0787225216627121, -0.43242231011390686, -0.5963119268417358, -0.040759339928627014, 0.22773431241512299, -0.3490559160709381, 0.13427811861038208, 0.3063293397426605, -0.0018843034049496055, -0.3729986250400543, 0.19858883321285248, -0.11512450873851776, 0.36335769295692444, 0.1710042655467987, -0.5091279745101929, 0.5974404811859131, -0.5270076990127563, 0.06346609443426132, 0.006697899661958218, 0.3078865706920624, 1.1231491565704346, -0.3691171109676361, 1.14388906955719, 0.294954389333725, -0.2890265882015228, -0.3581846058368683, -0.31524375081062317, -0.33183321356773376, -0.506694495677948, 0.3288426399230957, -0.2920939326286316, -0.7582910656929016, 0.7899501919746399, -0.21660159528255463, 0.16827912628650665, 0.29531586170196533, 0.5986678004264832, 0.2430235594511032, 1.1268699169158936, 0.7154136300086975, 0.16080328822135925, 0.48095160722732544, -0.38520944118499756, 0.07823404669761658, -0.8015847206115723, -0.06708814948797226, -0.45155835151672363, -0.2084590196609497, -0.9006366729736328, -0.49070343375205994, 0.4332628846168518, -0.2701107859611511, -0.4331633448600769, 0.547915518283844, -0.5229578018188477, 0.5450122356414795, 0.42197132110595703, 0.023307839408516884, 0.31681281328201294, -0.13322119414806366, -0.3338351249694824, 0.5325847864151001, -0.8679844737052917, 0.022054731845855713, 0.815156877040863, 0.24409954249858856, 0.439659982919693, 0.642336905002594, 0.7194238305091858, 0.21662665903568268, 0.24804659187793732, -0.7920897006988525, 0.5966833829879761, 0.07722064107656479, -0.6492988467216492, -0.8658020496368408, -0.8188329935073853, -1.2277143001556396, 0.4889841079711914, -0.281955361366272, -0.7663407921791077, 0.31551727652549744, -0.3708840310573578, -0.23931019008159637, 0.3658597469329834, -0.6880492568016052, 0.6671962738037109, 0.003196695586666465, -0.344603031873703, -0.44139277935028076, -0.8854288458824158, -0.027498189359903336, 0.09150463342666626, 0.32100710272789, -0.09275845438241959, -0.03502412885427475, 0.49785926938056946, -0.7487892508506775, 0.6776560544967651, 0.04482792690396309, -0.03048521652817726, 0.5561546683311462, 0.18428754806518555, 0.4145870804786682, 0.09504111111164093, 0.10047874599695206, 0.1378738135099411, -0.4063177704811096, -0.4980025589466095, -0.8617742657661438, 0.7946353554725647, -1.03026282787323, -0.3734056353569031, -0.0728197917342186, -0.9382854104042053, -0.024951210245490074, 0.39407119154930115, -0.12629735469818115, 0.7561460733413696, -0.13873957097530365, 0.47285380959510803, 0.28033000230789185, 0.3288849890232086, 0.7523478269577026, 0.4653320908546448, -0.057888470590114594, -0.5902036428451538, 0.9217252731323242, 0.42613545060157776, 0.7602128386497498, 0.13884903490543365, 0.24961282312870026, 0.17234116792678833, -0.38956376910209656, -0.3192705512046814, 0.29888662695884705, -0.4900527000427246, -0.07228385657072067, -0.5556321144104004, -0.3538857698440552, -0.4976375102996826, -0.23789435625076294, -0.4550849497318268, -0.4947004020214081, 0.08013621717691422, 0.14805437624454498, 0.2240968644618988, 0.9570485353469849, -0.3085471987724304, 0.13386107981204987, -0.5926955938339233, -0.12321373075246811, 0.4864179193973541, 0.2975885272026062, 0.461193710565567, -0.049423061311244965, -0.6670089960098267, 0.05506005138158798, -0.2998153865337372, -0.6687009930610657, 0.24332548677921295, 0.0003781165578402579, 0.49034830927848816, 0.2952093183994293, 0.055875975638628006, 0.18727591633796692, -0.44469335675239563, 0.44676950573921204, 0.45546674728393555, -0.6092665195465088, 0.20301634073257446, -0.6734779477119446, 0.4135928452014923, 0.23556776344776154, 0.02572394721210003, -0.524445116519928, -0.5796681046485901, -0.9378302097320557, -0.8284669518470764, 0.7297778129577637, 0.48434978723526, 0.16251248121261597, 0.06860712915658951, 0.3486298620700836, -0.35448989272117615, 0.2767527401447296, -0.8166902661323547, -0.31526294350624084, 0.010953436605632305, 0.06810427457094193, -0.22105327248573303, 0.32812392711639404, -0.20820586383342743, -0.09253361076116562, 0.3161165118217468, -0.4646419584751129, 0.20288996398448944, 0.15926764905452728, 0.1999543309211731, -0.11412514746189117, 0.16742359101772308, 0.6174137592315674, 0.7979337573051453, 0.03331847861409187, 0.26932623982429504, -0.09062539786100388, -0.6359695196151733, 0.26936379075050354, 0.024992685765028, 0.3207595944404602, -0.4758777320384979, 0.47316256165504456, 0.4812626242637634, -0.32950183749198914, -0.30038487911224365, 0.46918895840644836, -0.38042202591896057, -0.5340108871459961, -0.02324727736413479, 0.15940406918525696, 0.2683260440826416, 0.720542311668396, 0.35992854833602905, 0.38742029666900635, 0.06205500662326813, -0.8417975306510925, 0.13641837239265442, 0.38504132628440857, -0.41978734731674194, -0.1453585922718048, 0.11763317137956619, 0.13336986303329468, -0.7065475583076477, 0.6391050219535828, -0.30829063057899475, -0.3955030143260956, 1.1947764158248901, 0.529694139957428, 0.7333758473396301, -0.030321868136525154, 0.27190297842025757, 0.14737629890441895, 0.6808387041091919, -0.21340154111385345, -0.18020854890346527, -0.3105044662952423, -0.9957492351531982, -0.36881521344184875, -0.09010574966669083, -0.5326123833656311, -0.39836186170578003, -0.4295836389064789, 0.0038825978990644217, -0.7041171789169312, -0.4133698046207428, 0.21898682415485382, 0.3355940878391266, -0.30431294441223145, -0.049226921051740646, -0.14905834197998047, 0.4524907171726227, -0.5377123355865479, 0.8737649917602539, 0.7935537695884705, -0.5309038758277893, -1.0128767490386963, 0.014546132646501064, 0.026949472725391388, -0.37719523906707764, 0.350180447101593, 0.20175199210643768, -0.40895169973373413, 0.16635288298130035, -0.7329412698745728, -0.9155207872390747, 1.4024981260299683, 0.3142690062522888, -0.3476574122905731, -0.06574875861406326, -0.18648092448711395, 0.934291660785675, -0.7456539273262024, 0.5310520529747009, 0.04368949681520462, 0.15342755615711212, 0.2971866726875305, -1.0959727764129639, 0.1806441992521286, -0.5118666887283325, -0.19332671165466309, 0.4848380386829376, -0.8330267071723938, 1.0541296005249023, -0.4190419614315033, 0.07419193536043167, -0.009109986945986748, 0.5993199944496155, 0.1120699867606163, 0.32687005400657654, 0.7020930051803589, 0.31915080547332764, 0.9054480195045471, 0.2518434524536133, 0.7292780876159668, -0.19498534500598907, 0.3358902633190155, 1.2064952850341797, -0.14465045928955078, 0.6770908832550049, 0.1595812737941742, 0.19989119470119476, 0.7065412998199463, 0.08395298570394516, 0.13196329772472382, -0.029162166640162468, 0.32946813106536865, -0.15005038678646088, -0.16753838956356049, -0.4725852608680725, -0.06031874567270279, 0.3705475330352783, 0.2398887425661087, -0.3224658966064453, 0.2170386165380478, 0.016392242163419724, -0.08709351718425751, -0.0581689327955246, -0.4798727333545685, 1.0431928634643555, 0.05403441563248634, -0.5150479674339294, 0.30979886651039124, -0.40628576278686523, 0.330323725938797, -0.30148112773895264, -0.01497044786810875, -0.00391827616840601, 0.10031186789274216, -0.08979523926973343, -0.6832791566848755, -0.0715324655175209, -0.4822811782360077, -0.34973716735839844, 0.024211952462792397, 0.5343277454376221, -0.38831207156181335, -0.15052194893360138, 0.8864905834197998, 0.8904642462730408, 0.14542897045612335, 0.08002731949090958, -0.4454907774925232, -0.32221922278404236, -0.5815960168838501, -0.03171948343515396, 0.3759239912033081, 0.737816333770752, -0.08165178447961807, 0.7312409281730652, 0.548926055431366, 0.17492270469665527, -0.07030465453863144, 0.2692268490791321, 0.9577766060829163, -0.17893987894058228, -0.5347639322280884, -0.7979984879493713, 0.23308591544628143, -0.48699626326560974, 0.056713543832302094, 0.6370590329170227, 0.20836913585662842, 0.402321994304657, 0.4962692856788635, 0.2211114913225174, -0.10349298268556595, -0.15438519418239594, 0.12018793821334839, 1.0387780666351318, -0.651215136051178, -0.006690706126391888, -0.4025169014930725, -0.9728359580039978, -0.3939376175403595, 0.13067679107189178, 0.06820622831583023, 0.2852199673652649, 0.7128927111625671, 0.8545092940330505, 0.058847010135650635, -0.11854279041290283, 0.5523509979248047, 0.467888206243515, 0.48995086550712585, 0.3980668783187866, 0.6091219186782837, 0.10936108976602554, 0.8632301688194275, -0.09737804532051086, -0.5410749912261963, -0.005570600274950266, -0.5600962042808533, -0.923949658870697, -0.6286290884017944, -0.1877373456954956, -0.48730137944221497, -0.05577857419848442, 1.248672366142273, 0.903979480266571, -0.22170856595039368, -0.6029359102249146, -0.4925874173641205, 0.2016974538564682, -0.5995854735374451, -0.20232371985912323, 0.0017688249936327338, -0.28382450342178345, -0.3720807433128357, 0.37023958563804626, 0.3031347990036011, -0.0225521270185709, -0.37308022379875183, -0.344839870929718, -0.43417635560035706, 0.4034287929534912, 0.536655604839325, 0.23883838951587677, -0.3251446485519409, -0.08156555145978928, -0.026857595890760422, -0.3948969542980194, 0.1829962581396103, 0.928544819355011, -0.2853720784187317, 0.5591034889221191, 0.4711597263813019, 0.4675021171569824, 0.35309866070747375, -0.2289830595254898, 0.5731722712516785, -0.8044754862785339, 0.026260679587721825, 0.11576209962368011, 0.22006112337112427, 0.10953278839588165, -0.4030410349369049, 0.5207787752151489, 0.12751147150993347, -0.9809834957122803, -0.7003922462463379, 0.09288166463375092, -0.8661656975746155, -0.20554575324058533, 0.8985235095024109, -0.19315722584724426, -0.16564643383026123, -0.04550411179661751, -0.18454673886299133, 0.3130555748939514, -0.607248067855835, 0.470473974943161, 0.6334472298622131, -0.4185711443424225, -0.18908752501010895, -0.3486977219581604, 0.16232441365718842, 0.24479997158050537, -0.8276596665382385, 0.183033749461174, 0.3880150318145752, -0.2960078716278076, 0.8547019958496094, 0.7255022525787354, 0.3575792908668518, 0.41907232999801636, 0.370588093996048, 0.027049819007515907, -0.2455919086933136, -0.94547438621521, -0.28216487169265747, 0.3730688989162445, 0.4487294852733612, 0.10289106518030167 ]
http://arxiv.org/abs/2406.07138v1
http://arxiv.org/pdf/2406.07138v1
Never Miss A Beat: An Efficient Recipe for Context Window Extension of Large Language Models with Consistent "Middle" Enhancement
2024-06-11T10:35:49
2024-06-11T10:35:49
Tong Wu, Yanpeng Zhao, Zilong Zheng
cs.CL
cs.CL
Recently, many methods have been developed to extend the context length of pre-trained large language models (LLMs), but they often require fine-tuning at the target length ($\gg4K$) and struggle to effectively utilize information from the middle part of the context. To address these issues, we propose $\textbf{C}$ontinuity-$\textbf{R}$elativity ind$\textbf{E}$xing with g$\textbf{A}$ussian $\textbf{M}$iddle (CREAM), which interpolates positional encodings by manipulating position indices. Apart from being simple, CREAM is training-efficient: it only requires fine-tuning at the pre-trained context window (eg, Llama 2-4K) and can extend LLMs to a much longer target context length (eg, 256K). To ensure that the model focuses more on the information in the middle, we introduce a truncated Gaussian to encourage sampling from the middle part of the context during fine-tuning, thus alleviating the ``Lost-in-the-Middle'' problem faced by long-context LLMs. Experimental results show that CREAM successfully extends LLMs to the target length for both Base and Chat versions of $\texttt{Llama2-7B}$ with ``Never Miss A Beat''. Our code will be publicly available soon.
[ -0.3111855387687683, -0.8167995810508728, 0.5937379002571106, 0.4055529832839966, -0.38061463832855225, 0.1490936279296875, -0.6273338794708252, -0.4635145366191864, 0.27717483043670654, 0.4158417582511902, -0.8892588019371033, -0.7322097420692444, -0.6279401183128357, -0.14773422479629517, -0.5199536681175232, 0.9083721041679382, 0.3098609745502472, -0.3320601284503937, 0.005297806579619646, -0.08848533779382706, -0.2895490527153015, -0.4743136465549469, -0.38800713419914246, 0.02549123205244541, 0.463128000497818, 0.793546736240387, 0.4789465665817261, 0.8598609566688538, 0.3755212128162384, 0.18372616171836853, -0.10510128736495972, 0.36890822649002075, -0.6849125027656555, 0.2963058650493622, 0.11242231726646423, -0.4035811126232147, -0.6646680235862732, 0.08951695263385773, 0.5331836342811584, 0.6862756013870239, -0.16379502415657043, 0.11041305959224701, 0.13287484645843506, 0.5234094858169556, -0.8275861144065857, 0.06031864136457443, -0.825141191482544, -0.14852719008922577, -0.5566926002502441, -0.36419618129730225, -0.3084743618965149, -0.05845487117767334, -0.13753171265125275, -0.5954527854919434, 0.11587561666965485, 0.14786233007907867, 0.7788729667663574, 0.2682427167892456, -0.41360190510749817, -0.15535257756710052, -0.686744749546051, 0.8332914113998413, -0.574211835861206, 0.5142769813537598, 0.34541037678718567, 0.5556809902191162, -0.4147047698497772, -0.6169904470443726, -0.5815601348876953, -0.3278627097606659, 0.033592402935028076, -0.004977272357791662, -0.16721923649311066, 0.07662708312273026, 0.2947004735469818, 0.2777790427207947, -0.1930064707994461, 0.05159791186451912, -0.040525346994400024, -0.14737655222415924, 0.4625893235206604, 0.06276538968086243, 0.3401491641998291, 0.5163283944129944, -0.34428271651268005, -0.0910244882106781, -1.0901447534561157, 0.05120784789323807, 0.3216916024684906, 0.2858549952507019, -0.2814789414405823, 0.3551322817802429, -0.19123810529708862, 0.9651737809181213, 0.3313748836517334, -0.1421331763267517, 0.1697661131620407, -0.26400226354599, -0.14357200264930725, 0.0020677479915320873, 0.4245828688144684, 0.430431991815567, 0.03911812976002693, -0.1739663928747177, -0.2406487613916397, 0.002825362840667367, -0.015644298866391182, -0.998548686504364, -0.07844912260770798, 0.07293953746557236, 0.07867854833602905, -0.0866682380437851, -0.06799496710300446, -0.3666870594024658, -0.006009835749864578, -0.3188042938709259, 0.16271016001701355, -0.41317445039749146, -0.09371769428253174, -0.05017091706395149, 0.1994122862815857, 0.2963298559188843, 0.28412535786628723, -1.0507657527923584, 0.2645440697669983, 0.8883395195007324, 0.8955928087234497, -0.2370179146528244, -0.27204304933547974, -1.0206611156463623, 0.28390616178512573, -0.406198114156723, 0.6445441842079163, -0.6996658444404602, -0.30895164608955383, 0.08934406191110611, 0.18762727081775665, 0.04373360425233841, -0.5490610599517822, 0.5528044104576111, -0.48300763964653015, 0.09307458996772766, -0.21179504692554474, -0.5455012917518616, -0.056581173092126846, 0.30317988991737366, -0.2932610809803009, 0.8220903873443604, 0.17394620180130005, -0.3151858150959015, 0.4538523852825165, -0.5936228632926941, -0.5817937850952148, -0.18427836894989014, -0.15637557208538055, -0.4813897907733917, 0.3587528467178345, 0.43340441584587097, 0.4618821144104004, -0.2077334076166153, -0.0272352397441864, -0.6740682721138, -0.6872087121009827, 0.20728813111782074, -0.36728599667549133, 0.5519989132881165, -0.0577811598777771, -0.346337229013443, 0.023235807195305824, -0.9481876492500305, 0.0243646502494812, -0.05504370108246803, -0.3835281729698181, -0.3186163306236267, -0.4368608295917511, 0.39197948575019836, 0.16241931915283203, 0.17359748482704163, -0.5388732552528381, 0.18750466406345367, -0.2789981961250305, 0.29001426696777344, 0.6924993991851807, -0.12461983412504196, 0.5003295540809631, -0.3697279393672943, 0.649477481842041, -0.11968816071748734, 0.19628705084323883, -0.4257616400718689, -0.11448122560977936, -0.7203096747398376, -0.5382528305053711, 0.28342893719673157, 0.3938232362270355, -0.3120647668838501, 0.568652331829071, -0.47697916626930237, -0.31820806860923767, -0.3263460099697113, 0.047654636204242706, 0.4359513223171234, 0.4785915017127991, 0.3614993989467621, -0.2403927445411682, -0.5308863520622253, -0.826901912689209, -0.42310407757759094, 0.3031079173088074, -0.07091891765594482, 0.3969375193119049, 0.047175440937280655, -0.30581289529800415, 1.0977009534835815, -0.2985742390155792, -0.3127274811267853, -0.08979475498199463, -0.45434635877609253, 0.5112507939338684, 0.5227236747741699, 0.589613139629364, -0.4903775155544281, -0.6448923349380493, -0.008000512607395649, -0.4024086594581604, -0.5362992882728577, 0.3027306795120239, -0.3302040696144104, 0.13514335453510284, 0.5540881752967834, -0.544310986995697, 0.3020319938659668, 0.7822668552398682, -0.3767300546169281, 0.5902601480484009, 0.0017400727374479175, 0.1971825361251831, -1.0368424654006958, -0.06080581620335579, -0.0817837193608284, -0.5386995673179626, -0.8156627416610718, -0.2128596156835556, 0.3818758726119995, 0.10995118319988251, -0.41369158029556274, 0.7429518699645996, -0.633675754070282, 0.01601281948387623, -0.6562367081642151, 0.3161832392215729, -0.05415846407413483, 0.4999421238899231, -0.4464642107486725, 0.9146488308906555, 0.37098100781440735, -0.6596322059631348, -0.01599743217229843, -0.026876045390963554, -0.22956831753253937, 0.7548319697380066, -0.5454167127609253, 0.43731606006622314, -0.00872278306633234, 0.30524110794067383, -0.7213413119316101, -0.32195979356765747, 0.1288750320672989, -0.5384343862533569, 0.7161543965339661, -0.5495545268058777, -0.24878349900245667, -0.1394469290971756, -0.22506898641586304, 0.3361477553844452, 0.41619837284088135, -0.8184614777565002, 0.4462369978427887, 0.5445894002914429, 0.01110747829079628, -0.8396283984184265, -0.7138868570327759, 0.3132227957248688, -0.40933603048324585, -0.6100063323974609, 0.513342022895813, -0.30219903588294983, -0.00960921123623848, -0.23466935753822327, -0.29702332615852356, 0.082522913813591, 0.11943560838699341, 0.1335296481847763, 0.24591492116451263, -0.05295369029045105, 0.10508360713720322, 0.2625049650669098, -0.2413926124572754, -0.1728363335132599, -0.5456277132034302, 0.7114693522453308, -0.21935410797595978, -0.3057277202606201, -0.25439634919166565, 0.2096596509218216, 0.7464654445648193, -0.018115362152457237, 0.3688618242740631, 0.5868362188339233, -0.47199586033821106, -0.3066982924938202, -0.6171912550926208, -0.4571082293987274, -0.5015920996665955, 0.5612667202949524, -0.5226653218269348, -1.0133607387542725, 0.5074429512023926, 0.08100737631320953, -0.13898295164108276, 0.047453511506319046, 0.5021472573280334, -0.015834838151931763, 0.7453919649124146, 0.8675264120101929, -0.22639553248882294, 0.7213442921638489, -0.12959106266498566, 0.14739297330379486, -0.9448462128639221, 0.12825283408164978, -0.30926138162612915, -0.2195419818162918, -0.3942185044288635, -0.33224934339523315, 0.5793359875679016, 0.28268593549728394, -0.11116457730531693, 0.30815690755844116, -0.0917612612247467, 0.6788814663887024, 0.5155640244483948, 0.1571509689092636, 0.2273116409778595, 0.15312767028808594, -0.03923960030078888, -0.12512223422527313, -0.6807606816291809, -0.265266090631485, 1.0829837322235107, 0.27371934056282043, 0.6205361485481262, 0.26475825905799866, 0.5214918851852417, 0.10476166754961014, 0.350631982088089, -0.6238459944725037, 0.4566328525543213, -0.1828218698501587, -0.4198538661003113, -0.29870685935020447, -0.19900335371494293, -0.8333490490913391, 0.17492282390594482, -0.1782187968492508, -0.7304263710975647, 0.049125127494335175, 0.46339359879493713, -0.39866822957992554, 0.12636210024356842, -0.3495098650455475, 0.6914556622505188, -0.06642965227365494, -0.5542534589767456, -0.07331341505050659, -0.6199671626091003, 0.3341568112373352, 0.04246797040104866, 0.2518742084503174, -0.43696728348731995, -0.16079583764076233, 0.5928809642791748, -0.6935505270957947, 0.7334087491035461, -0.16278691589832306, -0.08740022033452988, 0.09075959771871567, 0.07702270150184631, 0.7399372458457947, 0.039888594299554825, 0.4229762554168701, 0.17223253846168518, -0.3336106240749359, -0.6263773441314697, -0.7583186030387878, 0.8379426002502441, -0.2643713653087616, -0.7560821175575256, -0.135747030377388, -0.5659473538398743, -0.5260765552520752, 0.1824069321155548, 0.2355886697769165, 0.6334889531135559, 0.08123581111431122, 0.4205729067325592, 0.4902285635471344, 0.12481518089771271, 0.5585858225822449, 0.46498334407806396, -0.24822025001049042, -0.44804123044013977, 0.4653499722480774, 0.03565850853919983, 0.4122483730316162, 0.32361483573913574, 0.2697535753250122, -0.4607846736907959, -0.48134753108024597, -0.6740001440048218, 0.13576725125312805, -0.5780918002128601, -0.07139817625284195, -0.852570116519928, 0.060793425887823105, -0.30232349038124084, -0.1934388428926468, -0.49640002846717834, -0.42600250244140625, -0.1243024617433548, -0.031183188781142235, 0.5571494102478027, 0.21002255380153656, -0.239432230591774, 0.7090621590614319, -0.8536854386329651, -0.20422443747520447, 0.2890091836452484, 0.36075544357299805, -0.06595859676599503, -0.8171247243881226, -0.4715779721736908, -0.061609916388988495, -0.05234281346201897, -0.7267131209373474, 0.2964412569999695, 0.23175902664661407, 0.3694179654121399, 0.40185150504112244, -0.1076587662100792, 0.8273360729217529, -0.447180837392807, 0.4558117985725403, 0.24623434245586395, -0.9272180795669556, 0.4298311769962311, -0.6193637251853943, 0.4586206078529358, 0.6447006464004517, 0.03684457018971443, -0.6762793064117432, -0.39331769943237305, -0.3647049069404602, -0.9570391774177551, 0.40221723914146423, 0.023345183581113815, 0.26670771837234497, -0.03037426434457302, 0.2972319424152374, 0.10645891726016998, 0.3226357698440552, -0.4585360586643219, -0.3494337499141693, 0.24698929488658905, -0.33369818329811096, -0.11121192574501038, -0.3003939092159271, -0.10075577348470688, -0.10570001602172852, 0.8039690256118774, -0.23938621580600739, -0.07389403879642487, 0.1454460322856903, -0.3045390844345093, -0.08376018702983856, 0.2990294098854065, 0.5390661954879761, 0.747438907623291, -0.26681625843048096, 0.011480224318802357, 0.20225055515766144, -0.6295599341392517, 0.1972433179616928, 0.18495449423789978, -0.2913568317890167, -0.11643756181001663, 0.35731860995292664, 0.8661009669303894, 0.40491676330566406, -0.5596190094947815, 0.7000547647476196, 0.003997194580733776, 0.3967767357826233, -0.4035254418849945, 0.19322910904884338, -0.011108068749308586, 0.3582193851470947, 0.48239126801490784, -0.07925307005643845, 0.04151048883795738, -0.6375641822814941, 0.3901119828224182, 0.3357125520706177, -0.7772343754768372, -0.20675842463970184, 0.6859422922134399, -0.09839197993278503, -0.3671821653842926, 0.35843321681022644, -0.10472742468118668, -0.6352914571762085, 0.44535383582115173, 0.8198569416999817, 0.8350863456726074, -0.13686516880989075, -0.39232775568962097, 0.18846844136714935, 0.15344224870204926, 0.14209511876106262, -0.0015323508996516466, -0.13656921684741974, -0.6148056387901306, -0.5105888843536377, -0.45778971910476685, -0.3417968153953552, -0.06458504498004913, -0.4171627163887024, 0.46130436658859253, -0.4128411114215851, -0.2287723869085312, -0.4623704254627228, 0.022312650457024574, -0.6882855892181396, 0.20328839123249054, -0.022673800587654114, 0.978609561920166, -0.6371736526489258, 1.0042780637741089, 0.44904619455337524, -0.09434881806373596, -0.5963878035545349, 0.250471830368042, -0.015000496059656143, -0.6597185730934143, 0.18216198682785034, 0.3908868432044983, -0.2908444404602051, -0.05803520232439041, -0.7663770318031311, -0.8804425001144409, 1.1443605422973633, 0.24428553879261017, -1.1088601350784302, 0.27592167258262634, -0.1758008599281311, 0.26823192834854126, -0.7540568709373474, 0.31564095616340637, 0.9839808344841003, 0.3268449008464813, 0.17796045541763306, -0.953093945980072, 0.08438118547201157, -0.2427695244550705, -0.08754512667655945, 0.040176570415496826, -0.7552396655082703, 0.7973877787590027, -0.36114877462387085, -0.2678654193878174, -0.035894691944122314, 0.7512727975845337, 0.5635960102081299, 0.41284021735191345, 0.7431615591049194, 0.5041048526763916, 0.8048380613327026, -0.2339896410703659, 1.0984951257705688, -0.6474754810333252, 0.3685469329357147, 1.3611479997634888, -0.028300952166318893, 0.5350531339645386, 0.42966294288635254, -0.08418816328048706, 0.2820255756378174, 0.5818507075309753, 0.3519974648952484, 0.6780829429626465, 0.21225133538246155, -0.3794524073600769, -0.2081049382686615, 0.023410340771079063, -0.4460326135158539, 0.47301414608955383, 0.4741745591163635, -0.02349945902824402, 0.035677939653396606, 0.003542957827448845, 0.602743923664093, 0.2342335283756256, -0.2876809239387512, 0.36098289489746094, 0.22410574555397034, -0.47463056445121765, 0.7600311040878296, -0.04134553670883179, 0.9332121014595032, -0.4983404874801636, 0.17393049597740173, -0.5470951795578003, 0.0822359174489975, 0.14075163006782532, -0.41974061727523804, 0.14735060930252075, -0.26476526260375977, -0.22307570278644562, 0.26922985911369324, 0.6523828506469727, -0.7498776316642761, -0.34305381774902344, 0.30389904975891113, 0.28519895672798157, -0.04831467568874359, -0.222259059548378, -0.35536378622055054, 0.31342676281929016, -0.21421194076538086, -0.22389066219329834, 0.10591305792331696, 0.35745149850845337, -0.05123113468289375, 0.6064925789833069, 0.8030650615692139, 0.17966020107269287, 0.21572326123714447, 0.11215933412313461, 0.8725757002830505, -0.8187597393989563, -0.7227100133895874, -0.9404619336128235, 0.1961117535829544, -0.3350721299648285, -0.27928608655929565, 0.6482427716255188, 0.6228153109550476, 0.8372490406036377, -0.06120974197983742, 0.8157007098197937, 0.16971251368522644, 0.6170868873596191, -0.6627707481384277, 0.6696473360061646, -0.6775482892990112, 0.37697839736938477, -0.21202526986598969, -1.1774333715438843, -0.6136584877967834, 0.27173981070518494, -0.2698625326156616, 0.14032378792762756, 0.5330214500427246, 1.0128058195114136, -0.3825939893722534, -0.17564569413661957, 0.4909563362598419, 0.38427481055259705, 0.4546179175376892, 0.6657117605209351, 0.7076388001441956, -0.37682485580444336, 0.36391299962997437, -0.2952880263328552, -0.5733480453491211, -0.587678849697113, -0.9944769740104675, -0.6993502974510193, -0.39106306433677673, -0.09689320623874664, -0.6815304160118103, 0.28663116693496704, 1.2102429866790771, 1.1139705181121826, -0.7611262202262878, -0.11778777092695236, 0.2906678318977356, -0.015793578699231148, -0.10357552766799927, -0.1463438868522644, 0.5210210680961609, -0.42646318674087524, -1.04791259765625, 0.7045041918754578, 0.64951092004776, 0.30021271109580994, -0.03779385983943939, -0.03946738317608833, 0.040094662457704544, 0.07714542001485825, 0.6271740794181824, 0.2417207658290863, -0.43470221757888794, -0.4405406713485718, 0.056092847138643265, -0.05476667732000351, 0.1760139763355255, 0.813666045665741, -0.4617513418197632, 0.27143174409866333, 0.10313725471496582, 0.7034871578216553, 0.6765559911727905, -0.11511913686990738, 0.5679365396499634, -0.9102743268013, 0.3830450773239136, 0.05810336396098137, 0.46586793661117554, 0.4600487947463989, -0.3071615993976593, 0.5077293515205383, 0.24218624830245972, -0.4188878834247589, -0.778701663017273, 0.31450924277305603, -1.0290930271148682, -0.029201507568359375, 1.1872748136520386, -0.07636021077632904, -0.558940589427948, 0.17866820096969604, -0.0743212178349495, 0.2287827432155609, -0.4479895830154419, 0.8378061652183533, 0.5238004326820374, 0.12440414726734161, -0.16605116426944733, -0.4896029531955719, 0.535917341709137, 0.41160041093826294, -0.5419314503669739, 0.13083285093307495, 0.5629904270172119, 0.49004173278808594, -0.2579730451107025, 0.7936214804649353, -0.24226051568984985, 0.2624158263206482, -0.19585323333740234, -0.09638205170631409, -0.253840833902359, -0.6414892673492432, -0.24416464567184448, -0.02114289440214634, 0.0030028719920665026, -0.4482889771461487 ]
http://arxiv.org/abs/2406.07133v1
http://arxiv.org/pdf/2406.07133v1
Translating speech with just images
2024-06-11T10:29:24
2024-06-11T10:29:24
Dan Oneata, Herman Kamper
eess.AS
eess.AS, cs.CL, cs.SD
Visually grounded speech models link speech to images. We extend this connection by linking images to text via an existing image captioning system, and as a result gain the ability to map speech audio directly to text. This approach can be used for speech translation with just images by having the audio in a different language from the generated captions. We investigate such a system on a real low-resource language, Yor\`ub\'a, and propose a Yor\`ub\'a-to-English speech translation model that leverages pretrained components in order to be able to learn in the low-resource regime. To limit overfitting, we find that it is essential to use a decoding scheme that produces diverse image captions for training. Results show that the predicted translations capture the main semantics of the spoken audio, albeit in a simpler and shorter form.
[ -0.16860362887382507, -0.4738385081291199, 0.5176509618759155, -0.13517454266548157, -0.7817990183830261, -0.1802128255367279, -0.3602178990840912, -0.7225103974342346, 0.2141619771718979, 0.7471342086791992, -0.46647176146507263, -0.2296229898929596, -0.5308998823165894, 0.02371121384203434, -0.4694065451622009, 0.7829919457435608, 0.36496955156326294, 0.15159104764461517, 0.014120304025709629, -0.37201324105262756, -0.6799960136413574, -0.1551557332277298, -0.4650398790836334, -0.3803997039794922, 0.3442523181438446, 0.38262930512428284, 0.9049622416496277, 0.9929975867271423, 0.3412681818008423, 0.3196497857570648, 0.04664072021842003, -0.15275780856609344, -0.33375784754753113, 0.029038891196250916, -0.09491115808486938, -0.5510602593421936, -0.028721880167722702, 0.09854347258806229, 0.6052216291427612, 0.7760316729545593, 0.04530856013298035, 0.2056063562631607, -0.28413641452789307, 0.48978909850120544, -0.4484076499938965, 0.3383277952671051, -0.7625683546066284, 0.008639662526547909, -0.01640654169023037, -0.3002515733242035, -0.4249604046344757, -0.07459317147731781, 0.14872997999191284, -0.62176114320755, -0.08738719671964645, 0.2395915538072586, 1.0362581014633179, 0.5941428542137146, -0.2996629774570465, 0.0018824681174010038, -0.8234360814094543, 0.8172532916069031, -0.49262315034866333, 0.49945202469825745, 0.26093539595603943, 0.4313897490501404, 0.2978784143924713, -0.8868061900138855, -0.5919026136398315, -0.1971461921930313, -0.18239431083202362, 0.2579948306083679, -0.2822900414466858, 0.11371135711669922, 0.2192925363779068, 0.259312242269516, -0.18355581164360046, -0.036353886127471924, -0.685145914554596, -0.05450625717639923, 0.47835320234298706, -0.2161889225244522, 0.6132887005805969, -0.35137587785720825, -0.29867491126060486, -0.47837668657302856, -0.5335003733634949, -0.030622893944382668, -0.10169576853513718, 0.40953534841537476, -0.33819398283958435, 0.7703840136528015, 0.2459913194179535, 0.8558518290519714, -0.14259271323680878, -0.3391134738922119, 0.21459418535232544, -0.015893826261162758, -0.30655303597450256, 0.4415556788444519, 0.8178133964538574, 0.3408649265766144, 0.3407723009586334, -0.2550691068172455, -0.26301106810569763, 0.35868576169013977, 0.17459172010421753, -0.75009685754776, -0.1522742509841919, -0.24761846661567688, -0.4333830773830414, 0.01528905052691698, -0.34648042917251587, -0.591273307800293, -0.05565612390637398, -0.37773293256759644, 0.43972763419151306, -0.393949419260025, -0.09579479694366455, 0.011661037802696228, -0.10341119766235352, 0.1729818433523178, 0.10330162942409515, -0.5121070146560669, 0.2736566960811615, -0.03343823552131653, 0.6953616142272949, 0.15854424238204956, -0.2568245232105255, -0.7642859816551208, 0.3520902991294861, -0.5806437730789185, 0.8801034092903137, -0.31133097410202026, -0.347898930311203, 0.25235676765441895, -0.007217451464384794, 0.05134141072630882, -0.10495368391275406, 0.6069164872169495, -0.5296164751052856, 0.262261301279068, -0.028559202328324318, -0.25483593344688416, -0.2320426106452942, -0.25867971777915955, -0.657585084438324, 0.5279691815376282, -0.148634135723114, -0.5335208177566528, 0.25828853249549866, -0.737022340297699, -0.7655300498008728, 0.2628761827945709, -0.41813021898269653, -0.23208478093147278, 0.3099132180213928, 0.27304360270500183, 0.3951982259750366, -0.38174542784690857, 0.032887041568756104, 0.17772400379180908, -0.331911563873291, 0.15249627828598022, -0.4039166569709778, 0.5667773485183716, 0.4438280463218689, -0.2372203916311264, -0.08779099583625793, -0.7389535903930664, 0.19722990691661835, 0.5273531079292297, -0.2660141885280609, -0.31699323654174805, 0.02909817174077034, 0.5612999796867371, 0.013798083178699017, 0.019539641216397285, -0.6378251910209656, -0.08676452934741974, -0.6118722558021545, 0.8020800352096558, 0.26877689361572266, -0.24951030313968658, 0.7774626016616821, -0.19269247353076935, 0.3345543146133423, -0.14072482287883759, -0.2705163061618805, -0.7130643725395203, -0.6173959970474243, -0.6283122301101685, -0.4483712315559387, 0.21411798894405365, 0.6551663279533386, -0.6810051202774048, 0.3064171075820923, -0.6016193628311157, -0.13093507289886475, -1.0970548391342163, 0.08475784212350845, 0.6387943625450134, 0.7424774765968323, 0.665651798248291, -0.41872256994247437, -0.36785611510276794, -0.9023020267486572, 0.10188625007867813, -0.2779287099838257, -0.05804182216525078, 0.3898572623729706, 0.11769397556781769, -0.10968684405088425, 0.5965749621391296, -0.30566468834877014, -0.6992958784103394, -0.2697575092315674, 0.16634593904018402, 0.0894317626953125, 0.6661010384559631, 0.7454351782798767, -0.8724387288093567, -0.4257696568965912, 0.18546037375926971, -0.48224127292633057, -0.034814294427633286, -0.26977935433387756, -0.02615887112915516, 0.1109081357717514, 0.7276217937469482, -0.534804105758667, 0.4157679080963135, 0.599071204662323, -0.050819337368011475, -0.11307631433010101, -0.25376343727111816, 0.277092844247818, -1.0742251873016357, 0.003953454550355673, -0.07392969727516174, -0.601942777633667, -0.3851679563522339, 0.13989700376987457, -0.04785982519388199, -0.7024381756782532, -0.5977413058280945, 0.5207717418670654, -0.6457207202911377, -0.2874561548233032, -0.3332385718822479, 0.042209163308143616, 0.05738985165953636, 0.3831004798412323, 0.395154744386673, 0.8510152697563171, 0.8822660446166992, -0.28391608595848083, 0.4772473871707916, 0.5419168472290039, -0.21980319917201996, 0.8579544425010681, -0.7342695593833923, 0.30578476190567017, -0.3461433947086334, -0.021887624636292458, -1.191895604133606, -0.38838866353034973, 0.10334692895412445, -0.3877851665019989, 0.7842544317245483, -0.37798383831977844, -0.2659890949726105, -0.17901282012462616, 0.22299641370773315, 0.4788951873779297, 0.9355390071868896, -0.7230667471885681, 0.5001847147941589, 0.45364809036254883, -0.17999795079231262, -0.13826201856136322, -1.0011290311813354, 0.4212784171104431, -0.13000819087028503, -0.5713711977005005, 0.5164206027984619, 0.17187495529651642, 0.12588566541671753, 0.4250093400478363, 0.014186427928507328, -0.41302525997161865, -0.23952367901802063, 0.32460349798202515, 0.20793573558330536, -0.5276699066162109, 0.14646391570568085, -0.08842398971319199, -0.005806958302855492, -0.2127871960401535, -0.5167337656021118, 0.19601388275623322, -0.1380123645067215, -0.3712874948978424, -0.8515275120735168, 0.6823160648345947, 0.6476694941520691, -0.2864731252193451, 0.44967079162597656, 0.40337005257606506, -0.24990658462047577, 0.15459460020065308, -0.5197926759719849, -0.1056075319647789, -0.43432092666625977, 0.4463754892349243, -0.41032636165618896, -0.5115480422973633, 0.3038642704486847, -0.09230682998895645, -0.05948600545525551, 0.2707735300064087, 0.12965506315231323, -0.6034296154975891, 0.9394886493682861, 0.880454957485199, -0.1780110001564026, 0.5724954605102539, -0.2575911581516266, 0.09064051508903503, -0.3523677587509155, -0.008462700061500072, -0.6125609874725342, -0.30667048692703247, -0.6839485168457031, -0.220835343003273, 0.21968582272529602, -0.126778706908226, -0.050573334097862244, 0.6699195504188538, -0.45481133460998535, 0.7873687148094177, 0.7781724333763123, 0.04376452416181564, 0.16199542582035065, 0.35596635937690735, 0.12949135899543762, -0.3601122200489044, -0.7009382843971252, -0.46833285689353943, 0.7122558951377869, 0.19264601171016693, 0.8996442556381226, -0.1844751238822937, 0.6644982695579529, 0.120774045586586, 0.09292002767324448, -1.0320860147476196, 0.387332558631897, -0.32609930634498596, -0.496388703584671, -0.4328749179840088, -0.2952771782875061, -0.943672776222229, 0.15176589787006378, -0.5243799686431885, -0.4358702301979065, 0.020410124212503433, 0.26057010889053345, 0.03677845373749733, 0.30459660291671753, -0.6589122414588928, 0.7692012190818787, -0.4945892095565796, -0.21937617659568787, -0.23790714144706726, -0.8459887504577637, 0.020289752632379532, 0.12713205814361572, 0.4971809387207031, 0.16315029561519623, 0.11146233230829239, 0.6269423961639404, -0.02611313946545124, 0.7850819230079651, 0.0021514487452805042, 0.19084858894348145, 0.4014531373977661, 0.05995110422372818, 0.09194912016391754, -0.35893556475639343, 0.3065122961997986, 0.22845514118671417, 0.1534155309200287, -0.6477430462837219, -0.3636249005794525, 0.37064555287361145, -0.8347554206848145, -0.5442315936088562, -0.3492012321949005, -0.41987454891204834, -0.1515127718448639, 0.444425106048584, 0.4241403341293335, 0.3864605128765106, -0.23646746575832367, 0.2662985324859619, 0.3972604274749756, -0.21956773102283478, 0.43820351362228394, 0.19113539159297943, -0.09061478823423386, -0.38916048407554626, 0.7219568490982056, -0.05794701725244522, 0.16901396214962006, 0.23309668898582458, 0.27361708879470825, -0.6390093564987183, -0.3359295427799225, -0.7293393015861511, 0.38028380274772644, -0.7887422442436218, -0.2481909841299057, -0.275706946849823, -0.0893104299902916, -0.47169744968414307, -0.3556590676307678, -0.6689152121543884, -0.2614804208278656, -0.3385654091835022, -0.006959080696105957, 0.1584353893995285, 0.6006246209144592, -0.09345600754022598, 0.6484342813491821, -0.8936253190040588, 0.7557217478752136, 0.6506684422492981, 0.18996287882328033, -0.43610021471977234, -0.9045248627662659, -0.17110766470432281, 0.07568153738975525, -0.2221585065126419, -1.1258082389831543, 0.47634145617485046, 0.7597593069076538, 0.6087181568145752, 0.324098140001297, 0.046169739216566086, 0.8927937150001526, -1.0256710052490234, 0.6085322499275208, 0.8399445414543152, -0.9240860342979431, 0.732563853263855, -0.11223792284727097, 0.2225341647863388, 0.42684563994407654, 0.24820533394813538, -0.3812086284160614, -0.3514443635940552, -0.5365024209022522, -0.58296799659729, 0.5405253767967224, 0.09444629400968552, 0.7689653038978577, 0.08967063575983047, 0.16443702578544617, -0.3839011490345001, 0.10629358887672424, -0.9386687874794006, -0.19448447227478027, -0.7146960496902466, -0.12540288269519806, -0.21258126199245453, -0.18703097105026245, -0.45722535252571106, -0.288606196641922, 0.4042569100856781, -0.08117183297872543, 0.1803852617740631, 0.19885115325450897, -0.3389091193675995, -0.481944739818573, 0.5927592515945435, 0.2589350938796997, 0.16007663309574127, -0.1657337099313736, 0.18382993340492249, -0.1967543363571167, -0.3485547602176666, 0.3335687816143036, -0.05242731794714928, -0.2516954839229584, 0.18853366374969482, 0.43866389989852905, 1.0896987915039062, 0.5063397288322449, -0.5976530313491821, 0.6716412305831909, 0.20820815861225128, -0.0844893828034401, -0.028787029907107353, -0.16672956943511963, 0.15159957110881805, 0.2214524745941162, 0.37841200828552246, 0.3013382852077484, -0.053236499428749084, -0.8047369122505188, 0.17137588560581207, 0.3309512436389923, -0.6109089255332947, -0.21027331054210663, 0.9024507999420166, 0.3076304495334625, -0.3059559464454651, 0.3671478033065796, -0.12590546905994415, -0.31443753838539124, 0.3465706706047058, 0.9651332497596741, 0.7895956635475159, -0.05084558576345444, 0.1623239517211914, 0.3382580578327179, 0.47400766611099243, -0.13415950536727905, 0.2651558816432953, -0.09110565483570099, -0.45600539445877075, -0.6855283975601196, -0.4573006331920624, -0.27657413482666016, 0.11649537831544876, -0.85822594165802, 0.2049458920955658, -0.19023576378822327, -0.17771382629871368, 0.05493529140949249, -0.5489251613616943, -0.8640432357788086, 0.40432918071746826, 0.64012211561203, 0.49029093980789185, -0.9999910593032837, 0.7910263538360596, 1.1718876361846924, -0.6427410840988159, -0.7950587272644043, -0.20806501805782318, -0.30377593636512756, -0.9000842571258545, 0.8605220317840576, 0.046225473284721375, -0.2415737807750702, 0.3788289725780487, -0.9211297631263733, -0.6168599128723145, 0.7360811233520508, 0.7645465731620789, -0.4663343131542206, 0.14335016906261444, 0.00009476631385041401, 0.4617379307746887, -0.46908053755760193, -0.1844143569469452, 0.13137392699718475, 0.27309611439704895, 0.46798989176750183, -0.8654448390007019, -0.23544737696647644, -0.03449995070695877, 0.15339919924736023, -0.21426640450954437, -0.11306975781917572, 0.5597273707389832, -0.4457467794418335, -0.6686210036277771, 0.0866447389125824, 0.9006139039993286, -0.1985705941915512, 0.206547349691391, 0.4259549379348755, 0.5178502798080444, 0.3395999073982239, 0.0849955752491951, 0.9521085619926453, -0.1317581981420517, 0.02429436892271042, 1.0821149349212646, -0.026588207110762596, 1.002554178237915, 0.7597777843475342, -0.011343258433043957, 0.16300000250339508, 0.20647373795509338, 0.11940725892782211, 1.0331443548202515, 0.05402103811502457, -0.031147824600338936, -0.5706711411476135, -0.6383624076843262, -0.37364691495895386, 0.6532652378082275, 0.016440430656075478, -0.2422565370798111, -0.2743037939071655, 0.16266392171382904, -0.44364291429519653, 0.6732298731803894, -0.46849924325942993, 0.745366632938385, 0.25081971287727356, -0.2846810817718506, 0.8202477097511292, -0.16785554587841034, 0.616847813129425, -0.38285908102989197, -0.08967293053865433, 0.06300957500934601, -0.47264131903648376, -0.05535350367426872, -0.6271488070487976, 0.159281924366951, 0.21621963381767273, -0.05726902559399605, -0.3835175335407257, 0.7416004538536072, -0.6067237854003906, -0.551375687122345, 0.2990266978740692, 0.5514841079711914, 0.34904584288597107, 0.18428528308868408, -0.5972141027450562, -0.07152823358774185, -0.050864093005657196, -0.11359096318483353, 0.11193360388278961, 0.34241533279418945, 0.11598897725343704, 0.49225807189941406, 0.5815765261650085, 0.41889438033103943, 0.23802968859672546, 0.14340415596961975, 0.6542484760284424, -0.5723618268966675, -0.703752338886261, -0.4243326485157013, 0.4666019082069397, 0.2277689427137375, 0.060045115649700165, 0.11771070212125778, 0.20820015668869019, 0.8390585780143738, -0.39125216007232666, 0.8083692789077759, 0.10329554975032806, 0.18716514110565186, -0.6777272820472717, 0.8452975749969482, -0.7816638350486755, -0.295185387134552, -0.2359990030527115, -0.9732881188392639, -0.27807536721229553, 1.0512079000473022, 0.03722953051328659, -0.5225425362586975, 0.5268007516860962, 0.485933393239975, -0.46727100014686584, -0.26859280467033386, 1.0035096406936646, 0.04414279758930206, -0.11655279994010925, 0.19199445843696594, 0.6916869282722473, -0.6996910572052002, 0.8232157230377197, -0.2739337682723999, 0.06176413968205452, 0.1058318167924881, -1.0344288349151611, -0.780644416809082, -0.7450063824653625, -0.5921749472618103, -0.16292764246463776, 0.0023113444913178682, 0.7631835341453552, 0.9738889932632446, -0.719797670841217, -0.22424286603927612, 0.14383940398693085, -0.3283769488334656, 0.1126692146062851, -0.027840690687298775, 0.25110337138175964, -0.3108639121055603, -0.8147802352905273, 0.6262368559837341, 0.21394842863082886, 0.47345802187919617, -0.03652786836028099, -0.15559738874435425, 0.0065926676616072655, 0.10109423846006393, 0.40451446175575256, 0.6133109331130981, -0.7665742635726929, -0.36175838112831116, -0.08845687657594681, -0.24176447093486786, 0.2601189613342285, 0.5157550573348999, -0.6021661758422852, 0.5602078437805176, 0.2443508803844452, 0.899986207485199, 0.743921160697937, -0.10896597802639008, 0.38422536849975586, -0.835017204284668, 0.7665257453918457, 0.20040519535541534, 0.47410011291503906, 0.5318090319633484, -0.02599087357521057, 0.21981851756572723, 0.23257984220981598, -0.1105041429400444, -0.7156389951705933, 0.3028734624385834, -1.2543472051620483, -0.12791600823402405, 0.9372266530990601, -0.2965669333934784, -0.32960233092308044, 0.17669911682605743, -0.32995036244392395, 0.4756567180156708, -0.36520105600357056, 0.5373635292053223, 0.34302499890327454, 0.37146300077438354, -0.5196292400360107, -0.5811487436294556, 0.2676369547843933, 0.3956727087497711, -0.4184613823890686, -0.3717743754386902, 0.8361648917198181, 0.11130495369434357, 0.4489292502403259, 0.7150786519050598, -0.12201566994190216, 0.3698726296424866, -0.09932173788547516, 0.28611433506011963, -0.09549994021654129, -0.228529691696167, -0.3538627326488495, -0.06782253086566925, 0.14320410788059235, -0.6753119826316833 ]
http://arxiv.org/abs/2406.07115v1
http://arxiv.org/pdf/2406.07115v1
Advancing Tool-Augmented Large Language Models: Integrating Insights from Errors in Inference Trees
2024-06-11T10:00:18
2024-06-11T10:00:18
Sijia Chen, Yibo Wang, Yi-Feng Wu, Qing-Guo Chen, Zhao Xu, Weihua Luo, Kaifu Zhang, Lijun Zhang
cs.CL
cs.CL, cs.AI, cs.LG
Tool-augmented large language models (LLMs) leverage tools, often in the form of APIs, to enhance their reasoning capabilities on complex tasks, thus taking on the role of intelligent agents interacting with the real world. The recently introduced ToolLLaMA model by Qin et al. [2024] utilizes the depth-first search-based decision tree (DFSDT) method for reasoning with $16000+$ real-world APIs, which effectively improves the planning and inferencing performance of tool-augmented LLMs compared to traditional chain reasoning approaches. However, their approach only employs successful paths from decision trees (also called inference trees) for supervised fine-tuning (SFT) during training, which does not fully exploit the advantages of the tree of thought. In this study, we propose an inference trajectory optimization framework based on the preference data extracted from decision trees to address this limitation. We first introduce a novel method for constructing preference data from the tree of thought, capitalizing on the failed explorations previously overlooked in the trees. Specifically, we generate an effective step-wise preference dataset, named ToolPreference, for tool use based on the ToolBench dataset. In the subsequent training phase, we first fine-tune the LLM with tool-usage expert trajectories and then use these step-wise preference pairs for direct preference optimization (DPO) to update the policy of the LLM, resulting in our ToolPrefer-LLaMA (TP-LLaMA) model. Our experiments demonstrate that by obtaining insights from errors in inference trees, TP-LLaMA significantly outperforms the baselines across almost all test scenarios by a large margin and exhibits better generalization capabilities with unseen APIs. At the same time, TP-LLaMA has also demonstrated superior reasoning efficiency compared to the baselines, making it more suitable for complex tool-usage reasoning tasks.
[ -0.15038667619228363, -0.7939453125, 0.9969529509544373, -0.0854429230093956, -0.17536699771881104, 0.32228776812553406, -0.2679698169231415, -0.35836678743362427, 0.06771448254585266, 0.5296783447265625, -0.7024502158164978, -0.585703432559967, -0.5383116602897644, -0.18636293709278107, -0.26392728090286255, 0.6184382438659668, -0.11972523480653763, -0.17298035323619843, -0.16345877945423126, 0.12141893059015274, -0.4547146260738373, -0.34751707315444946, -0.6372798681259155, -0.16663825511932373, 0.5201760530471802, 0.4907282590866089, 0.7373971939086914, 0.7289309501647949, 0.30857735872268677, 0.23575705289840698, -0.3102594017982483, 0.5260315537452698, -0.37258511781692505, -0.01708681508898735, -0.19353103637695312, -0.5262424945831299, -0.5890390872955322, -0.04202328249812126, 0.3854510188102722, 0.8568186163902283, -0.06682895123958588, 0.0804457888007164, 0.1377156525850296, 0.317324697971344, -0.5924177765846252, 0.2967787981033325, -0.7247975468635559, 0.024787401780486107, -0.05653851479291916, -0.4633163511753082, -0.4862053692340851, -0.5034919381141663, 0.31695717573165894, -0.6506412625312805, 0.06250680983066559, 0.012891941703855991, 0.5673514008522034, 0.7005739212036133, -0.4364170432090759, -0.2418348789215088, -0.7266259789466858, 0.9464190006256104, -0.8862394094467163, 0.3445407450199127, 0.34255626797676086, 0.28569257259368896, -0.5929211378097534, -0.36973074078559875, -0.2009735107421875, -0.164730504155159, 0.04033249616622925, -0.09028681367635727, -0.007987206801772118, 0.32198649644851685, 0.25860047340393066, 0.11282716691493988, -0.27882182598114014, 0.399024099111557, 0.06521423906087875, -0.1019873395562172, 0.7179031372070312, 0.14505738019943237, -0.2771405577659607, 0.013019959442317486, 0.148006871342659, -0.30799829959869385, -0.7034270167350769, 0.28456491231918335, 0.19444090127944946, 0.44871222972869873, 0.08763387799263, 0.478646457195282, -0.2601541578769684, 0.8365564346313477, 0.19322559237480164, -0.5172114372253418, 0.16270290315151215, -0.16295646131038666, -0.38836202025413513, 0.11055204272270203, 0.45853298902511597, 0.39030373096466064, 0.25020137429237366, -0.31777796149253845, -0.11675279587507248, 0.03521168977022171, -0.07190845906734467, -0.873421311378479, -0.17672882974147797, 0.4792617857456207, -0.0807461217045784, -0.4030115008354187, -0.26099273562431335, -0.5340510010719299, -0.48250076174736023, -0.3965573310852051, 0.06775549799203873, -0.36223697662353516, -0.41651347279548645, 0.36037957668304443, 0.1298801153898239, 0.07941807806491852, 0.7227983474731445, -0.6305834054946899, 0.010100732557475567, 0.7095545530319214, 0.823940634727478, -0.1408722996711731, -0.16846823692321777, -0.6648436188697815, 0.11946110427379608, -0.677026629447937, 0.7773117423057556, -0.7228280305862427, -0.5230243802070618, -0.18577341735363007, -0.13643445074558258, 0.060715723782777786, -0.399239718914032, 0.6494680047035217, -0.42719337344169617, -0.012777174822986126, -0.33144763112068176, -0.5232317447662354, -0.49645429849624634, 0.3866537809371948, -0.397517591714859, 1.2090210914611816, 0.06407549977302551, -0.6136686205863953, 0.7383537888526917, -0.8856655955314636, -0.4174325466156006, -0.1952802985906601, -0.11069035530090332, -0.2709939181804657, -0.06380942463874817, 0.49928152561187744, 0.5781750082969666, -0.40599679946899414, 0.6588088870048523, -0.628130316734314, -0.3337915241718292, -0.16571858525276184, -0.3818776309490204, 1.0100444555282593, 0.04272986948490143, -0.3762494921684265, 0.2500554025173187, -0.5031161904335022, 0.00033018141402862966, 0.1961888074874878, -0.41559216380119324, -0.3243142068386078, 0.491481214761734, -0.3200801908969879, 0.07872208207845688, 0.11731249839067459, -0.638670802116394, 0.4586547315120697, -0.6027137041091919, 0.4517069160938263, 1.006752371788025, -0.04088133946061134, 0.319735586643219, 0.04326828941702843, 0.5435438752174377, 0.1397995501756668, 0.12940412759780884, -0.015890439972281456, -0.19253332912921906, -0.6405846476554871, 0.11472517251968384, 0.2218678891658783, 0.48041942715644836, -0.510913074016571, 0.5753391981124878, -0.3310306668281555, -0.524029552936554, -0.42602166533470154, 0.09833460301160812, 0.08440838009119034, 0.6178238987922668, 0.2264939844608307, 0.01330725196748972, -0.5160220861434937, -0.6137567162513733, -0.1364423781633377, -0.3787435293197632, 0.2958528697490692, 0.4842783808708191, 0.22175393998622894, -0.13860616087913513, 1.2400903701782227, -0.5843229293823242, 0.15222211182117462, -0.23530972003936768, -0.2984234392642975, 0.43804478645324707, 0.40592947602272034, 0.5653356909751892, -0.594510555267334, -0.33737462759017944, 0.19711615145206451, -0.4478182792663574, -0.08794888108968735, -0.13272269070148468, -0.1631077229976654, 0.06380512565374374, 0.3250981569290161, -0.49869227409362793, 0.33321863412857056, 0.4279498755931854, -0.31680887937545776, 0.5134437680244446, -0.05244908481836319, -0.03841681033372879, -0.955903172492981, -0.15927860140800476, 0.10310179740190506, -0.27746155858039856, -0.26188626885414124, -0.18323248624801636, -0.09701431542634964, 0.3604128658771515, -0.3075745701789856, 0.5002009272575378, -0.2710171639919281, -0.2750612795352936, -0.20131272077560425, -0.033402055501937866, 0.032413046807050705, 0.5971741080284119, 0.008720507845282555, 0.8723868727684021, 0.6430299282073975, -0.5135830640792847, 0.2221161425113678, 0.1597937047481537, -0.16340814530849457, 0.4105827808380127, -0.3911236822605133, 0.15334543585777283, -0.009898069314658642, 0.3278238773345947, -0.73822420835495, -0.2074808031320572, 0.08109153062105179, -0.17003311216831207, 0.12606975436210632, -0.3272325098514557, -0.7699944376945496, -0.3484024107456207, -0.278306245803833, 0.08230572938919067, 0.3308902382850647, -0.8434084057807922, 0.6828460097312927, 0.3584422469139099, 0.13543248176574707, -0.6728049516677856, -0.44735488295555115, 0.10267438739538193, -0.4405878186225891, -0.5196560025215149, 0.09916271269321442, -0.03909101337194443, -0.2638776898384094, -0.17090627551078796, -0.2803255319595337, 0.1873246431350708, 0.44574373960494995, 0.2227879911661148, 0.16976222395896912, -0.19161321222782135, 0.21397188305854797, 0.35415858030319214, -0.017989695072174072, 0.17624786496162415, -0.3264312744140625, 0.4170823097229004, -0.04431265592575073, -0.604216992855072, -0.2709004878997803, 0.012847312726080418, 0.512572169303894, -0.2737589478492737, 0.31836238503456116, 0.24164074659347534, -0.11578203737735748, -0.21396976709365845, -0.667941153049469, -0.28711557388305664, -0.45676127076148987, 0.47774600982666016, -0.4866161048412323, -0.8511050939559937, 0.16273292899131775, -0.5431123375892639, 0.6096760034561157, 0.24510879814624786, 0.3049027919769287, -0.13753724098205566, 1.4529657363891602, 0.5509852170944214, -0.1519896239042282, 0.4305300712585449, -0.4385997951030731, 0.20639464259147644, -0.7679161429405212, 0.03746615722775459, -0.39384838938713074, -0.25178825855255127, -0.4855674207210541, -0.3997410833835602, 0.37430882453918457, 0.13786692917346954, -0.4664803445339203, 0.13881775736808777, -0.5304663777351379, 0.4352913200855255, 0.6730765700340271, 0.166532963514328, 0.4803004562854767, 0.019951041787862778, -0.17539872229099274, 0.11486636102199554, -0.8266884684562683, -0.5950555205345154, 1.196868896484375, 0.32588014006614685, 0.5700975656509399, -0.1500300168991089, 0.6081026196479797, 0.08926784992218018, 0.17711284756660461, -1.076227068901062, 0.6894027590751648, 0.023162681609392166, -0.2932185232639313, -0.2554878890514374, -0.18905271589756012, -0.8316073417663574, 0.2506837844848633, 0.004952508490532637, -0.8278982043266296, 0.20789703726768494, 0.38411664962768555, -0.4356360137462616, 0.5397859215736389, -0.8537664413452148, 0.8396162390708923, -0.5447792410850525, -0.4192189872264862, -0.2734304368495941, -0.5513902902603149, 0.24826642870903015, -0.09212186187505722, 0.008804009296000004, -0.1921578347682953, -0.0584537498652935, 0.6846206188201904, -0.39619746804237366, 0.8987692594528198, -0.3597080409526825, -0.17735235393047333, 0.2125583291053772, 0.2977050244808197, 0.9234195947647095, -0.17267842590808868, -0.3325437903404236, -0.03502091020345688, 0.04978587478399277, -0.23224425315856934, -0.5531037449836731, 0.5734647512435913, -0.6926919221878052, -0.8273824453353882, -0.3094455897808075, -0.7835674285888672, -0.5763143301010132, 0.22874514758586884, -0.26639774441719055, 0.2798396050930023, -0.04352966323494911, 0.08235713094472885, 0.3698157072067261, -0.10245020687580109, 0.4745270013809204, 0.3110775053501129, -0.3955872058868408, 0.18923696875572205, 0.6207457780838013, 0.09493913501501083, 0.20515038073062897, 0.25484317541122437, 0.47136634588241577, -0.3006685972213745, -0.9995262026786804, -0.469666987657547, 0.12594889104366302, -0.5652951002120972, -0.1781560480594635, -0.6933497786521912, 0.10496330261230469, -0.07349399477243423, -0.22812248766422272, -0.3382149040699005, -0.2413843870162964, -0.20501680672168732, -0.4888792932033539, 0.7399465441703796, 0.5890548825263977, -0.0063046677969396114, 0.4779888987541199, -0.4462251663208008, -0.27292776107788086, 0.051443297415971756, 0.21630795300006866, 0.09308454394340515, -0.2583194375038147, -0.23413953185081482, 0.28681764006614685, -0.3517422080039978, -0.6154041886329651, 0.2679451107978821, -0.05459418147802353, 0.4203650653362274, 0.374481737613678, 0.0528615303337574, 1.0126137733459473, -0.1479436606168747, 0.490035742521286, -0.2805986702442169, -0.6352224946022034, 0.7916966676712036, -0.416730672121048, 0.17144866287708282, 0.4991728961467743, 0.004977307748049498, -0.21274127066135406, -0.28254246711730957, -0.6812347769737244, -0.5807822942733765, 0.893246054649353, -0.1554555743932724, -0.20759761333465576, 0.21608032286167145, 0.3190183639526367, 0.12020029872655869, 0.14117267727851868, -0.346344530582428, 0.18952696025371552, 0.056546323001384735, -0.17510779201984406, -0.10732206702232361, 0.0014795124297961593, -0.0101272938773036, -0.49866002798080444, 0.7191388607025146, -0.5195661783218384, -0.3195401430130005, 0.0181528702378273, -0.005807746201753616, -0.17776590585708618, 0.125342458486557, 0.12830626964569092, 0.7801620960235596, -0.46963152289390564, 0.12044543772935867, 0.3595520555973053, -0.31399720907211304, 0.11700233817100525, 0.10094496607780457, -0.13302958011627197, -0.11850780993700027, 0.21982240676879883, 0.881401538848877, 0.07579924166202545, -0.8626144528388977, 0.202809140086174, 0.33937153220176697, -0.04905211552977562, -0.18920071423053741, 0.2097911238670349, 0.3288642168045044, 0.39918607473373413, 0.16807711124420166, 0.14167916774749756, 0.22634193301200867, -0.2891082167625427, -0.14772215485572815, 0.6501702666282654, -0.2663021385669708, -0.1553923636674881, 0.4287637770175934, 0.22770006954669952, -0.13675342500209808, 0.3125438392162323, -0.12134125083684921, -0.3893483877182007, 0.6248226165771484, 0.21898765861988068, 0.8018350601196289, -0.034729376435279846, 0.1124936193227768, 0.3466155230998993, 0.3120718002319336, -0.1333482712507248, 0.06301762163639069, -0.22407299280166626, -0.7243658304214478, -0.8467373251914978, -0.5566266775131226, -0.46930792927742004, -0.03260460123419762, -0.22574514150619507, 0.2583869993686676, -0.4267328977584839, -0.10578183829784393, -0.14529171586036682, 0.12954914569854736, -0.6880599856376648, 0.14809735119342804, -0.3102618157863617, 0.9751784801483154, -0.6778876185417175, 0.9721707701683044, 0.5866255164146423, -0.05432243272662163, -1.0620330572128296, 0.023027172312140465, 0.11017636954784393, -0.8846356868743896, 0.5469390749931335, 0.11714969575405121, -0.34834760427474976, 0.20269908010959625, -0.4641186594963074, -0.9998900294303894, 1.0959111452102661, 0.6652204990386963, -0.7803857922554016, -0.20481762290000916, 0.08169738948345184, 0.29221218824386597, -0.4105603098869324, 0.25375691056251526, 1.094027042388916, 0.5678921937942505, 0.3172677755355835, -0.9035091400146484, -0.013426383957266808, 0.17738857865333557, -0.0770137682557106, 0.39683252573013306, -0.35505107045173645, 0.5070331692695618, -0.3999725878238678, -0.12376230210065842, -0.22039224207401276, 0.2834140360355377, 0.40792545676231384, 0.0660313069820404, 0.7506468892097473, 0.6211448907852173, 0.6695283055305481, -0.09220279008150101, 1.1582075357437134, -0.15757901966571808, 0.28780052065849304, 1.2103623151779175, -0.22401957213878632, 0.8047078251838684, 0.64545077085495, -0.4121995270252228, 0.3296491503715515, 1.1939924955368042, 0.26708465814590454, 0.42433270812034607, -0.00427783140912652, 0.019213208928704262, -0.5272661447525024, -0.2768488824367523, -0.0933176577091217, 0.4516744315624237, 0.47145193815231323, -0.25654804706573486, -0.33267152309417725, -0.1654629111289978, 0.19794754683971405, -0.09784472733736038, -0.24655647575855255, 0.7808557152748108, -0.15242189168930054, -0.7351904511451721, 0.49958881735801697, -0.1850024312734604, 0.6476518511772156, -0.3365929126739502, -0.13592983782291412, -0.0566391795873642, 0.22000284492969513, -0.2740766108036041, -0.9544227719306946, 0.11672297865152359, 0.029674392193555832, 0.15190136432647705, -0.15109564363956451, 0.4193299412727356, -0.12334056198596954, -0.654236912727356, 0.3888917565345764, 0.5798984169960022, 0.12156884372234344, -0.1575690507888794, -0.7756766080856323, -0.0003055865236092359, 0.18033576011657715, -0.3231973946094513, 0.02881428971886635, 0.32336536049842834, -0.23195436596870422, 0.6459251046180725, 0.7498206496238708, 0.16396521031856537, -0.17402197420597076, -0.07332704216241837, 0.8993499875068665, -0.45614203810691833, -0.48168644309043884, -0.9295527338981628, 0.5320006012916565, -0.17437630891799927, -0.14361679553985596, 0.6122668981552124, 0.5771639943122864, 0.778276264667511, 0.31959646940231323, 0.8764925003051758, -0.032367076724767685, 0.8084662556648254, -0.55148845911026, 0.18045644462108612, -0.656550407409668, 0.4373812675476074, -0.23724286258220673, -1.0640960931777954, -0.14127106964588165, 0.5073848366737366, -0.7098528146743774, 0.10882546007633209, 0.4889615476131439, 0.9306080937385559, -0.42023608088493347, -0.053898248821496964, 0.0366254597902298, 0.34040820598602295, 0.5958566069602966, 0.6646681427955627, 0.5540812015533447, -0.04827700927853584, 0.44131696224212646, -0.33924874663352966, -0.24866165220737457, -0.34687426686286926, -0.9700221419334412, -0.8315282464027405, -0.4111555516719818, -0.22655414044857025, -0.1977497935295105, 0.04368247091770172, 1.1882590055465698, 0.7765198349952698, -0.6396822929382324, -0.37161368131637573, -0.4440118670463562, 0.23375630378723145, -0.16518138349056244, -0.20940561592578888, 0.5477163195610046, -0.20247556269168854, -0.8075085878372192, 0.4799520671367645, 0.3443572521209717, 0.006147729232907295, -0.4483407735824585, -0.23649495840072632, -0.27768248319625854, -0.09852515161037445, 0.6857370734214783, 0.1262403428554535, -1.0678496360778809, -0.46463361382484436, -0.01735270768404007, 0.23830851912498474, 0.3160342574119568, 0.612644374370575, -0.8860418200492859, 0.5513786673545837, 0.22072842717170715, 0.7885228395462036, 0.6529906392097473, -0.12812499701976776, 0.6680164933204651, -0.4809211492538452, 0.14512225985527039, 0.3671172559261322, 0.5177524089813232, 0.442109614610672, -0.3069939613342285, 0.8182971477508545, -0.06395798921585083, -0.35899269580841064, -0.9824569821357727, 0.21668538451194763, -0.9865990281105042, -0.2880098819732666, 1.1323010921478271, 0.026366975158452988, -0.14757150411605835, -0.12098117917776108, -0.6796063780784607, 0.19506092369556427, -0.5301768779754639, 0.6063807010650635, 0.6726930737495422, -0.33636710047721863, -0.24746915698051453, -0.5713499784469604, 0.5237947106361389, 0.45431798696517944, -0.917738676071167, 0.25343120098114014, 0.5533919334411621, 0.12574326992034912, 0.07147982716560364, 0.3368527889251709, 0.19976171851158142, 0.1773296743631363, -0.23271137475967407, -0.2782108783721924, -0.18251512944698334, -0.1744682341814041, 0.04718561843037605, -0.013961456716060638, 0.5648036003112793, -0.10051864385604858 ]
http://arxiv.org/abs/2406.07589v1
http://arxiv.org/pdf/2406.07589v1
Tag and correct: high precision post-editing approach to correction of speech recognition errors
2024-06-11T09:52:33
2024-06-11T09:52:33
Tomasz Ziętkiewicz
cs.CL
cs.CL, cs.AI
This paper presents a new approach to the problem of correcting speech recognition errors by means of post-editing. It consists of using a neural sequence tagger that learns how to correct an ASR (Automatic Speech Recognition) hypothesis word by word and a corrector module that applies corrections returned by the tagger. The proposed solution is applicable to any ASR system, regardless of its architecture, and provides high-precision control over errors being corrected. This is especially crucial in production environments, where avoiding the introduction of new mistakes by the error correction model may be more important than the net gain in overall results. The results show that the performance of the proposed error correction models is comparable with previous approaches while requiring much smaller resources to train, which makes it suitable for industrial applications, where both inference latency and training times are critical factors that limit the use of other techniques.
[ 0.005560743156820536, -0.4416889250278473, -0.02426326274871826, 0.04426895081996918, 0.16010265052318573, 0.17239689826965332, -0.3512404263019562, -0.48718154430389404, 0.15416641533374786, 0.3136896789073944, -0.04683494195342064, -0.2509550154209137, -0.7075977921485901, -0.03129110485315323, -0.25267335772514343, 0.5871257185935974, -0.18166185915470123, 0.2314053624868393, 0.14307048916816711, -0.16063274443149567, -0.6697052121162415, -0.7082480788230896, -1.0037354230880737, -0.39874398708343506, 0.5896508693695068, 0.3449080288410187, 0.6061922907829285, 1.1578075885772705, 0.8125795722007751, 0.31844571232795715, -0.40195155143737793, 0.24005085229873657, 0.05485736206173897, -0.3792102336883545, -0.3860871493816376, -0.42843636870384216, -0.9724383354187012, -0.18969106674194336, 0.8466642498970032, 0.6114514470100403, -0.3255418837070465, 0.09699180722236633, 0.011009304784238338, 0.4207172691822052, -0.5919638276100159, -0.1238795816898346, -0.7271275520324707, -0.013064593076705933, -0.24063389003276825, -0.2909236252307892, -0.4666889011859894, -0.3795243203639984, -0.1376284658908844, -0.6358435750007629, 0.40518346428871155, -0.18433202803134918, 0.8528537154197693, 0.5628034472465515, 0.184634730219841, -0.12184814363718033, -1.2714036703109741, 0.6368986964225769, -0.8261783123016357, 0.4450327157974243, 0.21050472557544708, 0.22239260375499725, -0.13918784260749817, -0.6867931485176086, -0.6196396946907043, 0.3623903691768646, 0.18005871772766113, 0.07930996268987656, -0.27996841073036194, 0.2640179395675659, 0.6633564233779907, -0.14973527193069458, -0.3012557327747345, 0.34170153737068176, -0.26239168643951416, -0.3360004425048828, 0.7022382616996765, -0.19123904407024384, 0.10498762875795364, 0.12810294330120087, -0.02812785841524601, -0.23584403097629547, -0.6322574019432068, 0.1052098348736763, 0.2342006415128708, 0.3683907985687256, 0.36665570735931396, 0.522995114326477, -0.17356908321380615, 0.9087656140327454, 0.0840810239315033, -0.38507238030433655, 0.28250283002853394, 0.07182960957288742, -0.4055968225002289, 0.5776352882385254, 0.43053460121154785, 0.45310354232788086, 0.12886933982372284, 0.039212729781866074, -0.6112656593322754, 0.4590693414211273, 0.2966591417789459, -0.23782432079315186, -0.31714358925819397, -0.07327147573232651, -0.19846321642398834, -0.03669526427984238, -0.12350552529096603, -0.506269633769989, -0.3057462275028229, -0.42680907249450684, 0.9183580279350281, -0.16789960861206055, -0.028520315885543823, 0.39469876885414124, -0.21135224401950836, 0.0937357246875763, 0.5475981831550598, -0.5616291165351868, 0.10446526855230331, 0.5057465434074402, 0.8184010982513428, 0.3222050070762634, -0.269378125667572, -0.7493460774421692, 0.33740970492362976, -0.6369954347610474, 1.0930297374725342, -0.28644880652427673, -0.5269590020179749, -0.02674584649503231, -0.1961526721715927, -0.11160855740308762, -0.8070828318595886, 0.7036667466163635, -0.5994238257408142, -0.3494010865688324, -0.4744167625904083, -0.5625054240226746, -0.08639322966337204, -0.027733713388442993, -0.37156569957733154, 0.8639578223228455, -0.4205489158630371, -0.5833455324172974, 0.4398517906665802, -0.852306067943573, -0.46796706318855286, -0.018843920901417732, 0.09809428453445435, -0.3626490533351898, -0.051879871636629105, 0.015706485137343407, 0.19512291252613068, 0.24638265371322632, 0.11665854603052139, 0.1982719451189041, -0.32027608156204224, 0.21238283812999725, -0.06409340351819992, 0.49995043873786926, 0.09570025652647018, -0.20756548643112183, 0.49935758113861084, -0.976653516292572, -0.04962005838751793, -0.18097631633281708, -0.7587124705314636, -0.1789962202310562, 0.2901690900325775, -0.16493003070354462, 0.14896808564662933, 0.07737057656049728, -0.8048035502433777, 0.0401720255613327, -0.39954277873039246, 0.562824010848999, 0.6867856383323669, -0.1690874844789505, 0.5117061734199524, -0.5649740695953369, 0.18837140500545502, -0.21308325231075287, 0.11498275399208069, 0.01887247897684574, -0.2873438596725464, -0.9973199963569641, -0.023005744442343712, 0.8404223918914795, 1.025534749031067, -0.7559897303581238, 0.5551202297210693, -0.21795397996902466, -0.6802279949188232, -0.6574961543083191, -0.05136122182011604, 0.5441449284553528, 0.8421593308448792, 0.34490764141082764, -0.6170722842216492, -0.9253624081611633, -0.2604825794696808, -0.44048741459846497, -0.2026178389787674, -0.07009609788656235, 0.091891348361969, 0.18145804107189178, -0.35778549313545227, 0.8551929593086243, -0.42727532982826233, -0.33364760875701904, 0.2974364161491394, 0.37964117527008057, 0.21577662229537964, 0.9963405728340149, -0.03155280649662018, -0.38817301392555237, -0.11544325202703476, 0.037591785192489624, -0.42142602801322937, 0.01501417625695467, -0.05273756384849548, -0.10159076005220413, 0.44656553864479065, 0.6972842216491699, -0.6531153321266174, 0.6686508059501648, 0.15526656806468964, 0.2537633776664734, 0.6658972501754761, -0.48560628294944763, 0.08622527867555618, -0.8691279292106628, 0.1027829721570015, 0.12073305994272232, -0.1498192697763443, -0.822460412979126, -0.3405954837799072, 0.21637605130672455, 0.08892375975847244, -0.4355200529098511, 0.11045964807271957, -0.2746155261993408, -0.19801552593708038, -0.2821003198623657, -0.15575434267520905, -0.06274081021547318, 0.11886021494865417, 0.06830201297998428, 0.7418652176856995, 0.2676420211791992, -0.6452916264533997, 0.6853919625282288, 0.6251408457756042, -0.24025380611419678, 0.49706122279167175, -0.8201263546943665, 0.2522289752960205, -0.31968581676483154, 0.14238889515399933, -1.11695396900177, -0.35687050223350525, 0.10965797305107117, -1.0343056917190552, 0.5553366541862488, -0.19814886152744293, -0.5183875560760498, -0.44638094305992126, 0.14593948423862457, 0.18454991281032562, 0.6151647567749023, -0.4320235252380371, 0.31464698910713196, 0.4849172830581665, -0.31913089752197266, -0.7319743037223816, -0.8478164076805115, 0.013694056309759617, 0.0878179594874382, -0.44140520691871643, 0.43805739283561707, 0.03955504670739174, -0.15778137743473053, -0.25677481293678284, -0.316092848777771, -0.21609841287136078, -0.08889901638031006, -0.04727713763713837, 0.24161683022975922, -0.35977259278297424, 0.34018728137016296, -0.28221777081489563, -0.3766825199127197, -0.13748671114444733, -0.18555335700511932, 0.48179182410240173, 0.23697532713413239, -0.10434404015541077, -0.8277495503425598, 0.22319422662258148, 0.23825013637542725, -0.709202229976654, 0.213734969496727, 0.4659620225429535, -1.0009406805038452, 0.14987416565418243, -0.6821110844612122, 0.002290520817041397, -0.4827483892440796, 0.33723047375679016, -0.18850679695606232, -0.36446550488471985, 0.5451827049255371, -0.015924770385026932, -0.003228098154067993, 0.2941712439060211, 0.15105898678302765, -0.4863438606262207, 0.9981613159179688, 0.5172569155693054, 0.08397304266691208, 0.5675119161605835, -0.17914944887161255, 0.345743864774704, -0.8745028376579285, -0.1433842033147812, -0.8628960251808167, -0.35944774746894836, -0.14051900804042816, -0.5589310526847839, 0.2363155335187912, 0.4436875581741333, -0.28525295853614807, 0.4258960783481598, -0.6784408688545227, 0.482224702835083, 0.9413511753082275, 0.12686268985271454, 0.1361912488937378, -0.028794080018997192, 0.24424736201763153, -0.04656854644417763, -0.7992474436759949, -0.5375801920890808, 0.5340081453323364, 0.23959094285964966, 0.7627820372581482, 0.01258584950119257, 0.47185632586479187, 0.16619981825351715, 0.10846676677465439, -1.0828523635864258, 0.22326667606830597, -0.29788073897361755, -0.46639499068260193, -0.3492600619792938, -0.024718934670090675, -0.5445412993431091, -0.375235915184021, -0.396371454000473, -0.6345314979553223, 0.4364793002605438, 0.8135161995887756, -0.9735603928565979, 0.7455922961235046, -0.8567244410514832, 0.9141235947608948, 0.10199952870607376, 0.039114080369472504, 0.03648354485630989, -0.9447224140167236, -0.22378408908843994, 0.09021972864866257, 0.06959816068410873, 0.005561897065490484, 0.07150348275899887, 1.0965937376022339, -0.3333999216556549, 0.6719426512718201, -0.5112778544425964, 0.0366312675178051, 0.27702438831329346, -0.059873517602682114, 0.6056379675865173, -0.5636531710624695, -0.34805217385292053, 0.03774946928024292, -0.17652751505374908, -0.06766755133867264, -0.4601990878582001, 0.14614392817020416, -0.6547874212265015, -0.2585679292678833, -0.5063119530677795, -0.46442553400993347, -0.2057395577430725, 0.20161215960979462, 0.461787611246109, 0.808330237865448, 0.13300837576389313, 0.10696402192115784, 0.7479737401008606, -0.26724663376808167, 0.7192044258117676, 0.3404625356197357, 0.37305936217308044, -0.6674103736877441, 0.7298645973205566, 0.7506303191184998, 0.16864484548568726, 0.4152041971683502, -0.05818578600883484, -0.347976952791214, -0.8442152142524719, -0.5275389552116394, 0.17513100802898407, -0.6586652994155884, -0.5947099328041077, -0.6941134333610535, -0.4129070043563843, -0.7827558517456055, -0.42974603176116943, -0.5231927037239075, -0.2197151929140091, -0.3814096450805664, 0.06167158856987953, 0.5986528992652893, 0.6680812239646912, -0.51042640209198, 1.0588515996932983, -1.082166075706482, 0.1615709364414215, 0.11248263716697693, 0.5675697922706604, -0.3164828419685364, -0.697641909122467, -0.22683991491794586, 0.24137991666793823, -0.2039734274148941, -0.7977978587150574, 0.3983144760131836, 0.4452188014984131, 0.24358732998371124, -0.0054759979248046875, -0.16574834287166595, 1.0838366746902466, -0.8293306827545166, 0.5399938821792603, 0.16362996399402618, -1.4025582075119019, 0.8426963686943054, -0.390551894903183, 0.2317293882369995, 0.17267315089702606, 0.25765460729599, -1.0311588048934937, 0.22576303780078888, -0.6682731509208679, -0.6477039456367493, 0.7830784916877747, -0.2162817120552063, -0.11658880859613419, 0.24378667771816254, 0.6890594363212585, -0.36313462257385254, 0.1923675686120987, -0.11574169993400574, -0.003432661294937134, -0.08550525456666946, -0.1347254365682602, -0.44028744101524353, -0.40322890877723694, 0.041958387941122055, -0.5118528008460999, 1.0207712650299072, 0.0027548223733901978, 0.43383216857910156, 0.655888020992279, -0.1151309609413147, -0.4608698785305023, 0.17513249814510345, 0.6407619118690491, 0.8437671661376953, -0.25074952840805054, 0.06236957013607025, 0.5187222361564636, -0.32841941714286804, 0.17691569030284882, 0.024889305233955383, -0.04441414400935173, 0.24441073834896088, 0.014945611357688904, 0.728921115398407, -0.15595360100269318, -0.5261884927749634, 0.5574111342430115, 0.17863507568836212, -0.10750341415405273, -0.3199627101421356, -0.054856330156326294, -0.07410266995429993, 0.26785925030708313, 0.05222046375274658, 1.1305049657821655, 0.19518816471099854, -0.07957569509744644, 0.5137901902198792, -0.06297603994607925, -0.34323838353157043, -0.2527613639831543, 0.8352593779563904, 0.09895741939544678, -0.9367272257804871, 0.161126509308815, -0.35890039801597595, -0.5649554133415222, 0.5556114315986633, 0.5960644483566284, 0.5266187787055969, -1.0451687574386597, 0.0007982340757735074, 0.5434686541557312, 0.3396742641925812, -0.4450450837612152, 0.4976333677768707, 0.40506741404533386, -1.0242408514022827, -0.9109378457069397, -0.5353601574897766, -0.7015742659568787, -0.17638550698757172, -0.8012143969535828, 0.45067402720451355, -0.8954775333404541, -0.2989351749420166, 0.4742220938205719, -0.4760625660419464, -0.2859970033168793, 0.573219895362854, -0.020684147253632545, 0.7508072257041931, -0.5291049480438232, 1.0262254476547241, 0.9637722373008728, 0.002246895106509328, -1.0153943300247192, -0.3225315809249878, 0.017182976007461548, -0.5912029147148132, 0.39849984645843506, -0.06291867792606354, -0.1839572638273239, 0.20831610262393951, -0.3165137469768524, -0.8978455066680908, 0.5718662142753601, 0.37262484431266785, -0.764568567276001, -0.029791058972477913, -0.01315001118928194, 0.4833128750324249, 0.20036059617996216, -0.27557745575904846, 0.8113990426063538, 0.06184482201933861, 0.25184598565101624, -1.2768727540969849, -0.39781907200813293, -0.2462645322084427, 0.20734156668186188, 0.3262629508972168, -0.3956165611743927, 0.7875332832336426, -0.06500731408596039, 0.018443280830979347, 0.047302041202783585, 0.5819215178489685, -0.030804747715592384, 0.14524777233600616, 0.4824564456939697, 0.762620747089386, 0.9300222396850586, -0.27417847514152527, 0.4775887727737427, 0.04544935002923012, 0.26407909393310547, 1.3128347396850586, -0.39365264773368835, 1.2671297788619995, 0.25962474942207336, -0.22512002289295197, -0.04120737314224243, 0.6448476314544678, 0.04412633553147316, 0.22075366973876953, 0.30667591094970703, -0.3763551712036133, 0.030132532119750977, -0.3182036578655243, -0.3549206256866455, 0.7456695437431335, 0.38920700550079346, -0.07040949910879135, 0.18774794042110443, -0.04721493646502495, 0.15568391978740692, 0.1779336929321289, -0.5606805682182312, 0.9265672564506531, -0.3395579755306244, -0.41939035058021545, 0.6402963399887085, 0.2192392498254776, 0.9873566031455994, -0.2563173472881317, -0.07132000476121902, 0.2886393666267395, 0.5607587099075317, -0.3722861707210541, -0.44931474328041077, 1.0143135786056519, 0.24257485568523407, -0.39088311791419983, -0.28883811831474304, 0.9261683821678162, -0.4507279098033905, -0.4388883411884308, 0.0376143604516983, 0.038883987814188004, -0.01964092254638672, -0.2316664606332779, -0.239924356341362, 0.2189614623785019, -0.07381465286016464, 0.5836591720581055, -0.6628475189208984, 0.10205056518316269, 0.2935846149921417, 0.14026987552642822, 0.562958300113678, 0.39944005012512207, 0.6376253366470337, -0.156993106007576, 0.32359838485717773, -0.6751237511634827, -0.48297783732414246, -0.5388942360877991, 0.7488577961921692, 0.03923724964261055, -0.1665857881307602, 0.40335211157798767, 0.40882012248039246, 1.2439967393875122, -0.07184012979269028, 0.9131366610527039, 0.0664481446146965, 0.9282174706459045, -0.40841808915138245, 0.6257041692733765, -0.252789169549942, -0.030934037640690804, -0.5204290747642517, -0.7499081492424011, -0.9676240086555481, 0.9979656338691711, -0.28639742732048035, -0.284368634223938, 0.36286434531211853, 1.0956262350082397, 0.13577669858932495, 0.06405303627252579, 0.19315893948078156, 0.42241716384887695, 0.19669818878173828, 0.3284856379032135, 0.7768593430519104, -0.8342085480690002, 0.18186186254024506, -0.3421948254108429, -0.39279448986053467, -0.1517261564731598, -0.6669231057167053, -0.19835452735424042, -0.37501904368400574, -0.6350975632667542, -0.4827137887477875, 0.32379475235939026, 1.310492992401123, 0.6716856956481934, -0.9739066958427429, -0.4112778604030609, 0.04076080396771431, -0.16934625804424286, -0.31300896406173706, -0.06534017622470856, 0.10811742395162582, -0.3095400035381317, -0.7142515182495117, 0.3006288707256317, 0.07656171172857285, 0.3150801360607147, 0.6493856310844421, -0.00007762262976029888, -0.3569094240665436, 0.05360643193125725, 0.49256420135498047, 0.3475264608860016, -0.5623227953910828, -0.7310109734535217, -0.13396671414375305, 0.14001871645450592, 0.6187728643417358, 0.5833650231361389, -0.3028268814086914, 0.7206778526306152, 0.6899116635322571, 0.9012837409973145, 0.17338250577449799, -0.16401444375514984, 0.5297248959541321, -1.0360794067382812, 0.1803259402513504, 0.2548598051071167, 0.497612863779068, 0.6265081763267517, -0.29474762082099915, 0.2597670257091522, 0.5800389051437378, -0.7263014912605286, -0.8535706400871277, 0.025619158521294594, -1.0269169807434082, 0.34309181571006775, 0.8376405239105225, -0.21533863246440887, -0.23320996761322021, 0.0337715744972229, -0.6498576998710632, 1.063264012336731, -0.216738760471344, 0.49936309456825256, 0.5847572684288025, -0.09494534134864807, 0.0327141135931015, -0.3594816029071808, 0.693105936050415, 0.3411574065685272, -0.6171215772628784, -0.028856081888079643, 0.48643791675567627, 0.3467157781124115, 0.4377423822879791, 0.4690702259540558, -0.2090403288602829, 0.4674675762653351, 0.09714365005493164, 0.8028700947761536, 0.349882036447525, -0.5459415316581726, -0.8284947872161865, -0.2410343438386917, 0.4198298156261444, -0.7018360495567322 ]
http://arxiv.org/abs/2406.07096v1
http://arxiv.org/pdf/2406.07096v1
Fast Context-Biasing for CTC and Transducer ASR models with CTC-based Word Spotter
2024-06-11T09:37:52
2024-06-11T09:37:52
Andrei Andrusenko, Aleksandr Laptev, Vladimir Bataev, Vitaly Lavrukhin, Boris Ginsburg
eess.AS
eess.AS, cs.AI, cs.CL, cs.LG, cs.SD
Accurate recognition of rare and new words remains a pressing problem for contextualized Automatic Speech Recognition (ASR) systems. Most context-biasing methods involve modification of the ASR model or the beam-search decoding algorithm, complicating model reuse and slowing down inference. This work presents a new approach to fast context-biasing with CTC-based Word Spotter (CTC-WS) for CTC and Transducer (RNN-T) ASR models. The proposed method matches CTC log-probabilities against a compact context graph to detect potential context-biasing candidates. The valid candidates then replace their greedy recognition counterparts in corresponding frame intervals. A Hybrid Transducer-CTC model enables the CTC-WS application for the Transducer model. The results demonstrate a significant acceleration of the context-biasing recognition with a simultaneous improvement in F-score and WER compared to baseline methods. The proposed method is publicly available in the NVIDIA NeMo toolkit.
[ -0.41585347056388855, -0.6509554982185364, 0.3169235587120056, 0.08916269242763519, -0.6222805380821228, 0.01745450124144554, -0.1441660076379776, -0.29629218578338623, 0.3389676511287689, 0.2677445113658905, -0.24816761910915375, -0.36602410674095154, -0.7330994606018066, 0.06174306198954582, -0.5323525071144104, 0.3721388876438141, 0.061769381165504456, 0.23469220101833344, 0.1707463562488556, -0.503355085849762, -0.7805083990097046, -0.3632164001464844, -0.5156999826431274, -0.2801227867603302, 0.3113674223423004, -0.05608544871211052, 0.3884149193763733, 0.6385470032691956, 0.048914507031440735, 0.25985509157180786, -0.7171539068222046, 0.05543762817978859, 0.1041136309504509, 0.23993976414203644, -0.1714933067560196, 0.16854526102542877, -0.11476964503526688, -0.12155497819185257, 0.5918240547180176, 0.4305056929588318, -0.00010356964048696682, -0.14512233436107635, 0.12090844660997391, 0.10429951548576355, -1.139771580696106, 0.002191455801948905, -0.6766417026519775, -0.057560887187719345, -0.2634393274784088, -0.7830604910850525, -0.4380273222923279, -0.3408222794532776, 0.47002553939819336, -0.45086178183555603, 0.5570772290229797, -0.2818109095096588, 0.45544353127479553, 0.2256620228290558, -0.7794552445411682, -0.2681136131286621, -0.738172173500061, 0.8353283405303955, -0.563306987285614, 0.6917737126350403, 0.23584915697574615, 0.28063100576400757, 0.06278245151042938, -0.3521518409252167, -0.4833938777446747, -0.3158159852027893, -0.09775897860527039, 0.056969791650772095, -0.06832326948642731, -0.07786684483289719, 0.3346547484397888, 0.17266137897968292, -0.43386730551719666, -0.16236914694309235, -0.1267113834619522, -0.7364718914031982, 0.3399815559387207, -0.0016490695998072624, 0.021946556866168976, 0.05770449340343475, -0.30289819836616516, -0.16952788829803467, -0.5950391292572021, -0.14839637279510498, -0.13875964283943176, 0.4305039644241333, -0.08340476453304291, 0.2804596424102783, -0.2087155431509018, 1.0502991676330566, 0.14154388010501862, 0.15261390805244446, 0.36733123660087585, -0.36208951473236084, 0.13018323481082916, 0.33197951316833496, 0.5407295227050781, 0.1569925844669342, -0.1099381372332573, 0.016043012961745262, -0.38806745409965515, 0.4963819682598114, 0.02588406577706337, -0.522826075553894, 0.2168237268924713, -0.023510845378041267, -0.3531137704849243, -0.06426344066858292, 0.09041842818260193, -0.43792128562927246, -0.3402230739593506, -0.03673503175377846, 0.561862051486969, -0.2963919937610626, -0.09250157326459885, -0.12210828810930252, -0.45681652426719666, 0.4210928678512573, 0.23869983851909637, -0.45350685715675354, -0.010419799014925957, 0.41866058111190796, 1.0252615213394165, -0.2605845332145691, 0.12682969868183136, -0.9539733529090881, 0.2716418206691742, -0.12726956605911255, 1.0223757028579712, -0.5827635526657104, -0.8035631775856018, 0.13029587268829346, -0.09330746531486511, -0.06673381477594376, -0.5594515204429626, 0.6528674364089966, -0.6311613917350769, 0.214487686753273, -0.19288891553878784, -0.6333787441253662, 0.08354049921035767, 0.2552095949649811, -0.7875969409942627, 0.8792771100997925, -0.1433391273021698, -0.9451109170913696, 0.5819002985954285, -0.7275105118751526, -0.7739002704620361, 0.17442892491817474, -0.020475978031754494, -0.18761982023715973, 0.2742781639099121, 0.40613853931427, 0.18302562832832336, -0.09985775500535965, 0.2248576432466507, -0.32587921619415283, -0.771599292755127, 0.18256700038909912, -0.5540182590484619, 0.7135298848152161, 0.30609437823295593, -0.5174757242202759, 0.15839006006717682, -0.5427420139312744, 0.11089476943016052, -0.15955795347690582, -0.6120783686637878, -0.7616811394691467, 0.23464126884937286, 0.5021202564239502, 0.30212196707725525, 0.20104144513607025, -0.8071365356445312, -0.14084041118621826, -0.31600645184516907, 0.6731956005096436, 0.4586220681667328, -0.27743273973464966, 0.35653433203697205, 0.033410750329494476, 0.21022124588489532, 0.08218421041965485, -0.05990627408027649, 0.04969792440533638, -0.3223714530467987, -0.5771008133888245, -0.25962910056114197, 0.357614129781723, 0.46663373708724976, -0.897858202457428, 0.5521515011787415, -0.18344096839427948, -0.2886272966861725, -0.2430320680141449, -0.4543409049510956, 0.5473118424415588, 0.5962427258491516, 0.5403257012367249, -0.4121520519256592, -0.5112172365188599, -0.5831493735313416, -0.7586444020271301, 0.4388199746608734, -0.325930655002594, 0.5377860069274902, 0.1395197957754135, -0.23384487628936768, 1.0628068447113037, -0.42018941044807434, -0.526158332824707, -0.3783586919307709, -0.004526742734014988, -0.052232977002859116, 0.5100607872009277, 0.09806405007839203, -0.8853498697280884, -0.46960288286209106, -0.18132923543453217, -0.14681261777877808, -0.25526776909828186, 0.5488522052764893, 0.26380467414855957, 0.25492310523986816, 0.5935571193695068, -0.208720400929451, 0.6743348240852356, 0.4296039640903473, -0.7199272513389587, 0.14027059078216553, -0.059886541217565536, -0.12065073847770691, -0.9298405051231384, 0.1650129109621048, 0.19051259756088257, -0.28693148493766785, -0.7910454869270325, -0.2864232063293457, 0.23650577664375305, 0.15640392899513245, -0.6321751475334167, 0.8892192244529724, -0.3584473729133606, -0.06216316670179367, -0.5580157041549683, 0.24306124448776245, -0.059527479112148285, 0.07187850028276443, 0.566131055355072, 0.6890105605125427, 0.4380825161933899, -0.7343610525131226, -0.2246134877204895, 0.30246755480766296, -0.19922509789466858, 0.3011656403541565, -0.6556336283683777, 0.4489426016807556, 0.03037680871784687, 0.8544855117797852, -0.5205304026603699, 0.22442911565303802, -0.15714532136917114, -0.3204449415206909, 0.08472201228141785, -0.31832385063171387, -0.24356390535831451, -0.3664889931678772, -0.13727013766765594, 0.9302652478218079, 0.16022789478302002, -0.6676130890846252, 0.831673264503479, 0.4818769693374634, 0.2587074041366577, -0.5065152049064636, -0.5825372934341431, -0.16666927933692932, -0.08125477284193039, -0.3313876688480377, 0.7448747158050537, 0.10676033049821854, 0.17466789484024048, -0.22144261002540588, -0.4149729907512665, -0.2516217529773712, -0.12017440795898438, 0.2226266711950302, 0.2938646972179413, 0.01125689409673214, -0.2935241758823395, 0.004547359887510538, -0.5363024473190308, -0.31699419021606445, -0.6447522044181824, 0.7697781324386597, 0.1884828358888626, -0.04260166361927986, -0.44235551357269287, 0.28629621863365173, 0.5108522176742554, -0.3613171875476837, 0.39448651671409607, 0.5655234456062317, -0.49744999408721924, -0.06336403638124466, -0.8439379930496216, -0.4050423800945282, -0.478985071182251, 0.29190927743911743, -0.11725939810276031, -1.0755716562271118, 0.33329567313194275, 0.2609623372554779, -0.11877857893705368, 0.2575373351573944, 0.5832743644714355, 0.3236881494522095, 1.1769788265228271, 0.4591419994831085, -0.36173906922340393, 0.9076616764068604, -0.22780205309391022, 0.16621507704257965, -0.9252824783325195, -0.006664886139333248, -0.5823109745979309, -0.32838234305381775, -0.544094979763031, -0.5277864336967468, 0.49770355224609375, -0.6400499939918518, 0.080967478454113, 0.43580886721611023, -0.6582032442092896, 0.3160030245780945, 0.6742749810218811, 0.027702419087290764, 0.33113157749176025, -0.08134946972131729, -0.3430815041065216, 0.14734023809432983, -0.6175855994224548, -0.16334004700183868, 1.0084822177886963, -0.06858167052268982, 0.378747820854187, -0.2718355357646942, 0.33050525188446045, 0.2942184805870056, 0.4117361307144165, -0.6196730732917786, 0.464023232460022, -0.47310173511505127, -0.9677361845970154, -0.08149874210357666, -0.46026530861854553, -0.5531340837478638, 0.5101991295814514, 0.06996755301952362, -0.5489954948425293, 0.41175100207328796, 0.5862030386924744, -0.4659465253353119, 0.2941696345806122, -0.4538460671901703, 0.7042689919471741, 0.09671436995267868, -0.3603975474834442, -0.28817522525787354, -0.46823251247406006, -0.013561097905039787, 0.37870049476623535, 0.05164385214447975, -0.02085677720606327, 0.06584746390581131, 0.80145663022995, -0.46715065836906433, 0.25782668590545654, -0.8307031989097595, 0.04592549428343773, 0.44410404562950134, 0.06788074970245361, 0.6211310029029846, -0.10037098079919815, -0.1483277678489685, 0.3043051064014435, -0.02901156060397625, -0.2589722275733948, -0.30075573921203613, 0.6045243740081787, -0.30411413311958313, -0.1982422024011612, -0.5499475598335266, -0.6354362368583679, -0.2989082932472229, 0.07696975767612457, 0.6288270354270935, 0.665821373462677, -0.22665081918239594, 0.15577355027198792, 0.38917386531829834, -0.15800584852695465, 0.5777758359909058, 0.7308967709541321, 0.5176891684532166, -0.4222724139690399, 0.8127959966659546, 0.12468747049570084, 0.05204857885837555, 0.4977111518383026, 0.34140971302986145, -0.44929757714271545, -0.49960920214653015, -0.05978694185614586, -0.03657892346382141, -0.16586631536483765, -0.16431698203086853, -0.8143861889839172, -0.31002309918403625, -0.21065667271614075, -0.5120024681091309, -0.42886441946029663, -0.12357106804847717, -0.15482677519321442, 0.17385904490947723, 0.18554122745990753, 0.25418180227279663, 0.16639713943004608, 0.507665753364563, -0.5219038724899292, 0.19038063287734985, 0.3156724274158478, 0.23387761414051056, -0.16201633214950562, -0.7138739824295044, -0.03807654231786728, 0.06137687340378761, -0.25495997071266174, -0.6883786916732788, 0.6106215119361877, 0.060126256197690964, 0.09621031582355499, 0.4213602542877197, -0.03379145637154579, 0.573943018913269, -0.266052782535553, 0.3964935839176178, -0.04945258051156998, -1.2795665264129639, 0.5116364359855652, -0.33891063928604126, 0.5876087546348572, 0.5208332538604736, -0.2308482527732849, -0.7160043120384216, -0.2993149161338806, -0.2957509458065033, -0.9779670238494873, 0.8364385962486267, 0.036646097898483276, -0.10974247008562088, 0.05684350058436394, -0.05399290844798088, -0.10595136880874634, 0.08699364215135574, -0.5346070528030396, -0.011022479273378849, -0.38999223709106445, -0.15176278352737427, -0.18256007134914398, -0.40951186418533325, 0.045734159648418427, -0.27143290638923645, 0.6420446634292603, -0.38601282238960266, 0.30929502844810486, 0.34936627745628357, -0.478009968996048, 0.18889372050762177, 0.39051854610443115, 0.6182450652122498, 0.17611247301101685, -0.23106707632541656, 0.15737375617027283, 0.40062376856803894, -0.64823979139328, 0.10951272398233414, 0.3578769862651825, -0.5608466267585754, 0.3487374186515808, 0.15427246689796448, 0.7004161477088928, 0.3807925879955292, -0.5597996115684509, 0.697887122631073, -0.10659970343112946, -0.02733631432056427, -0.35757142305374146, 0.04290297254920006, -0.09233567863702774, 0.02403913624584675, 0.5318030714988708, 0.1163887158036232, 0.17428907752037048, -0.0738479420542717, 0.13020984828472137, 0.7249718308448792, -0.7898855209350586, -0.3070582151412964, 0.6991091966629028, 0.3027145564556122, -0.23976394534111023, 0.5183704495429993, -0.14577746391296387, -0.6676760911941528, 0.5569787621498108, 0.6137209534645081, 1.1108931303024292, -0.484466016292572, -0.1381787806749344, 0.3382147550582886, -0.20807109773159027, -0.12308617681264877, 0.438864529132843, -0.38700515031814575, -0.8703949451446533, -0.2248528003692627, -0.3109746277332306, -0.23525385558605194, -0.00317350379191339, -0.6755197048187256, 0.45663613080978394, -0.4365684390068054, -0.37775447964668274, -0.10456306487321854, -0.11105181276798248, -0.6809495687484741, 0.266624391078949, 0.3085578680038452, 0.9572222232818604, -0.6894534230232239, 1.1455944776535034, 0.5173364281654358, 0.2815135717391968, -0.8164032101631165, 0.2398187667131424, 0.15298892557621002, -0.48803776502609253, 0.4300540089607239, 0.5009534358978271, -0.25404098629951477, 0.009680100716650486, -0.23316995799541473, -1.0054242610931396, 1.2713980674743652, 0.09476764500141144, -0.6466618180274963, 0.10109662264585495, -0.20423251390457153, 0.36093828082084656, -0.4491751790046692, 0.49183833599090576, 0.4965369999408722, 0.407482773065567, 0.09905324876308441, -0.9322108626365662, 0.11929983645677567, -0.14415764808654785, 0.19286540150642395, 0.18050672113895416, -0.44736427068710327, 0.7999018430709839, 0.08491760492324829, -0.20275522768497467, -0.21904289722442627, 0.5350521802902222, 0.718099057674408, 0.5614778399467468, 0.9866904616355896, 0.29029232263565063, 0.12896935641765594, -0.12267559766769409, 0.6582558155059814, -0.34142500162124634, 0.3149722218513489, 0.9633678793907166, -0.5939993858337402, 0.6914625763893127, 0.4006422758102417, 0.1545630693435669, 0.4307946562767029, 0.21871715784072876, 0.14045144617557526, 0.817704439163208, 0.10479237884283066, -0.5335392355918884, -0.12626919150352478, -0.38088810443878174, -0.4507327079772949, 0.5274226665496826, 0.3300059139728546, -0.34613698720932007, -0.16635951399803162, -0.06478569656610489, -0.06745322048664093, -0.22583921253681183, -0.324753075838089, 0.562473475933075, 0.052223365753889084, -0.491528183221817, 0.37604063749313354, 0.1221940889954567, 1.2639847993850708, -0.5813257098197937, 0.24782469868659973, -0.16839736700057983, 0.24434342980384827, -0.02587137371301651, 0.012244461104273796, 0.2686280608177185, 0.15796637535095215, -0.27700841426849365, -0.2728101313114166, 0.8354179859161377, -0.43482670187950134, -0.43066734075546265, 0.5480347275733948, 0.3003478944301605, -0.38856521248817444, -0.4215274155139923, -0.23490749299526215, 0.1652102768421173, -0.14892476797103882, -0.06894134730100632, 0.16107086837291718, -0.06704024225473404, -0.3664475679397583, 0.5692856907844543, 0.5544717907905579, 0.01646912470459938, 0.1397291123867035, 0.23102766275405884, 0.7936670780181885, -0.8229283094406128, -0.9427407383918762, -0.7260727286338806, 0.26688992977142334, 0.03424008563160896, -0.3662876486778259, 0.5802676677703857, 0.6523470282554626, 0.6902562975883484, 0.07581620663404465, 0.7228701114654541, -0.2991642653942108, 0.7268383502960205, -0.23376043140888214, 0.772567093372345, -0.43949005007743835, 0.13451708853244781, -0.5073267221450806, -0.8293043375015259, -0.2873641848564148, 0.5850110054016113, -0.45464736223220825, 0.17456385493278503, 0.6629366278648376, 0.90899258852005, -0.14922498166561127, 0.18675830960273743, 0.17209890484809875, 0.11087328940629959, 0.3087931275367737, 0.5468843579292297, 0.9020460844039917, -0.4168887734413147, 0.5560517311096191, -0.17731043696403503, -0.10387767106294632, -0.3862956166267395, -0.65347820520401, -0.4973653256893158, -0.6243053078651428, -0.4013230502605438, -0.35921788215637207, 0.14479368925094604, 0.8616975545883179, 0.8726686239242554, -1.083103060722351, -0.07215385138988495, -0.04014383628964424, 0.12390755116939545, -0.3875516653060913, -0.26905277371406555, 0.3550839424133301, 0.31298092007637024, -0.5711328983306885, 0.7544211149215698, 0.19267667829990387, -0.1486755907535553, -0.0061799599789083, -0.010658039711415768, -0.15434375405311584, -0.0031315493397414684, 0.4306395947933197, 0.3202899098396301, -0.676234781742096, -0.4181908071041107, -0.060721445828676224, 0.053269460797309875, -0.040446873754262924, 1.3771406412124634, -1.2578446865081787, 0.3776353597640991, 0.4386328160762787, 0.19297735393047333, 0.5688093900680542, -0.08954931795597076, 0.6263999342918396, -0.6513006091117859, 0.497892826795578, 0.335927814245224, 0.3802310526371002, 0.38323232531547546, -0.01281630527228117, 0.08656281232833862, 0.4584580063819885, -0.1270536482334137, -0.8671373724937439, 0.06342674791812897, -0.9060215950012207, -0.09932082146406174, 1.028364896774292, 0.25110679864883423, -0.01998327486217022, -0.32140782475471497, -0.07421044260263443, 0.409469336271286, -0.6105142831802368, 0.6874034404754639, 0.16550332307815552, 0.23670291900634766, 0.36179211735725403, -0.2171960175037384, 0.35422012209892273, 0.5185871720314026, -0.30065032839775085, 0.009395214729011059, 0.554287850856781, 0.6813031435012817, -0.014858570881187916, 0.6929674744606018, -0.03473952040076256, 0.18349158763885498, -0.13161256909370422, 0.007839417085051537, -0.12667407095432281, -0.07016408443450928, -0.5667729377746582, 0.291169136762619, -0.4384255111217499, -0.3649735748767853 ]
http://arxiv.org/abs/2406.10267v1
http://arxiv.org/pdf/2406.10267v1
Unused information in token probability distribution of generative LLM: improving LLM reading comprehension through calculation of expected values
2024-06-11T09:24:18
2024-06-11T09:24:18
Krystian Zawistowski
cs.CL
cs.CL, cs.AI
LLM text decoding is key component for perceived LLM quality. We demonstrate two experiments showing that decoding methods could be improved by manipulation of token probabilities. First, we test few LLM on SummEval summary scoring dataset, to measure reading comprehension. We compare scores from greedy decoding to expected values over the next token distribution. We scale logits by large temperature to increase the entropy of scores. This allows strong improvement of performance on SummEval (in terms of correlations to human judgement). We see improvement from 6-8% to 13-28% for 7B Mistral and from 20%-46% to 37%-56% for Mixtral, beating GPT 4 0314 result on two metrics. Part of the gain seems related to positional bias. Secondly, we use probability-based tree sampling algorithm, to examine all most probable generations for given prompt.
[ -0.0721656084060669, -0.46397995948791504, 0.4684962332248688, 0.18061572313308716, -0.7181011438369751, 0.0481763519346714, 0.04937385395169258, -0.5194543600082397, 0.18251825869083405, 0.2953709661960602, -0.2986828684806824, -0.6421325206756592, -0.5434751510620117, 0.1657320261001587, -0.34925124049186707, 0.6818140149116516, 0.1820223331451416, 0.26224157214164734, -0.4023447632789612, 0.09263072907924652, -0.37839752435684204, -0.7039386630058289, -0.7537124752998352, -0.47720035910606384, 0.36014360189437866, 0.3162774443626404, 0.46799182891845703, 0.6341333389282227, 0.4727862775325775, 0.17113465070724487, -0.45942190289497375, 0.06523524224758148, -0.6073969602584839, 0.11006832867860794, 0.059649523347616196, -0.9361021518707275, -0.43982547521591187, -0.10718237608671188, 0.5083357095718384, 0.4938967525959015, -0.24149921536445618, -0.04478835687041283, 0.28171807527542114, 0.7623006701469421, -0.5291037559509277, 0.31851810216903687, -0.5544265508651733, 0.25171205401420593, -0.1957809031009674, -0.836740255355835, -0.729839026927948, -0.14606167376041412, -0.20619426667690277, -0.5878342390060425, 0.48441144824028015, 0.18883007764816284, 0.4165569245815277, 0.3082672357559204, -0.4373258352279663, -0.30926910042762756, -0.3632016181945801, 0.7691358923912048, -0.6747366189956665, 0.30910706520080566, 0.7468287348747253, -0.2287556231021881, -0.12640982866287231, -0.552697479724884, -0.36004307866096497, -0.14037229120731354, 0.10028395801782608, 0.4820035696029663, -0.26141348481178284, 0.31326812505722046, 0.10739244520664215, 0.575934648513794, -0.2950974702835083, 0.06648200005292892, -0.21520043909549713, -0.4612957239151001, 0.5793141722679138, 0.4411173164844513, 0.20522332191467285, -0.2879496216773987, -0.2042723298072815, -0.5076118111610413, -0.663496196269989, 0.2644749879837036, 0.6779360175132751, -0.13567985594272614, 0.18163089454174042, 0.8007234930992126, -0.1780642718076706, 0.6564992070198059, -0.0594148263335228, -0.20660100877285004, 0.3950888514518738, -0.7459802627563477, -0.218264639377594, 0.0557858906686306, 0.1946651041507721, 0.5172567367553711, 0.21202512085437775, -0.13291920721530914, -0.2569940388202667, -0.19567790627479553, 0.012443223036825657, -0.5730155110359192, -0.2736029624938965, 0.16470961272716522, -0.7576538920402527, -0.425244003534317, 0.1780991107225418, -0.6067520976066589, -0.4765291213989258, -0.2345113903284073, 0.10557347536087036, -0.7277859449386597, -0.18609187006950378, 0.20864887535572052, -0.7497608065605164, 0.5066941976547241, 0.4356256127357483, -1.2322295904159546, -0.042405400425195694, 0.6065261960029602, 0.8564659357070923, -0.3988562226295471, -0.0846681147813797, -0.2314527928829193, -0.04910872504115105, -0.3689862787723541, 0.8235018849372864, -0.2897481322288513, -0.4163462817668915, -0.2667006254196167, -0.34770798683166504, -0.1796312779188156, -0.6711010932922363, 0.6455727219581604, -0.6635487079620361, 0.008326214738190174, -0.23087383806705475, -0.6551406383514404, -0.03712236508727074, 0.23253385722637177, -0.8385224938392639, 0.8899596929550171, 0.3253099024295807, -1.062687873840332, 0.6140378713607788, -0.2778361141681671, -0.373206228017807, 0.03243512287735939, 0.22073769569396973, -0.04067103564739227, 0.39178454875946045, 0.46404919028282166, 0.3172748386859894, 0.14139117300510406, -0.023639585822820663, 0.08247154951095581, -0.5854577422142029, 0.5645034909248352, -1.0525394678115845, 0.9602577090263367, 0.45127084851264954, -0.25358450412750244, -0.05714403837919235, -0.6229060292243958, 0.08288530260324478, -0.20900903642177582, -0.7415891885757446, -0.2956092059612274, -0.026091303676366806, -0.0009276219643652439, -0.3295132517814636, -0.033103808760643005, -0.3140955865383148, 0.20126588642597198, -0.6728084683418274, 0.2711544930934906, 0.8480759263038635, 0.2987692654132843, 0.5100909471511841, -0.41061779856681824, 0.7123177647590637, 0.4485189914703369, -0.015083308331668377, -0.2896922826766968, -0.5467466711997986, -0.7529320120811462, -0.35612088441848755, 0.5184445381164551, 0.7198565006256104, -0.9196176528930664, 0.3618756830692291, 0.02531293034553528, -0.22099468111991882, -0.5713245868682861, 0.09315553307533264, 0.12582573294639587, 0.3968906104564667, 0.22480268776416779, -0.1886812299489975, -0.4143083095550537, -0.401937872171402, -0.23065043985843658, -0.4411771893501282, -0.19001363217830658, 0.06436873227357864, 0.1304590255022049, -0.11374900490045547, 0.9393184185028076, -0.5584205389022827, -0.05796238034963608, -0.45606619119644165, -0.08406875282526016, 0.4565613567829132, 0.36824825406074524, 0.26840803027153015, -0.6900836229324341, -0.07916595786809921, -0.25715965032577515, -0.7072897553443909, -0.10493229329586029, -0.07160067558288574, -0.07372407615184784, 0.35322681069374084, 0.5521472096443176, -0.5333698987960815, 0.5282270908355713, 0.41821491718292236, -0.7555528283119202, 0.6639655828475952, -0.3247583210468292, 0.3438994884490967, -1.086883544921875, -0.25437092781066895, -0.1313980221748352, -0.35660669207572937, -0.4359096586704254, 0.25811636447906494, 0.012343757785856724, 0.32455524802207947, -0.4489710032939911, 0.36545267701148987, -0.6227213740348816, 0.04745020717382431, -0.17584757506847382, -0.08979357779026031, -0.08442838490009308, 0.16751191020011902, -0.23588572442531586, 1.0529667139053345, 0.3165200352668762, -0.5504409074783325, 0.4224611818790436, 0.08069591224193573, -0.653684139251709, 0.32328054308891296, -0.5585576295852661, -0.11735140532255173, -0.4012748599052429, 0.3156924247741699, -1.1949175596237183, -0.12804603576660156, 0.23272541165351868, -0.6357647776603699, 0.27641528844833374, 0.25874167680740356, -0.7329721450805664, -0.12523287534713745, -0.40951085090637207, 0.4674030542373657, 0.809960663318634, -0.5332980155944824, 0.4040321707725525, 0.11950645595788956, -0.03640737757086754, -0.7059996724128723, -0.7620424628257751, 0.1562526375055313, -0.4464065432548523, -0.3811055123806, 0.22137710452079773, -0.1777081936597824, -0.3956011235713959, 0.07856498658657074, -0.026058265939354897, 0.25570011138916016, 0.09358469396829605, 0.1589524894952774, 0.0963418111205101, -0.05004800483584404, 0.21085241436958313, 0.06457584351301193, -0.3464323580265045, 0.1094621866941452, -0.35128548741340637, 0.6249209642410278, 0.117810919880867, -0.31836751103401184, -0.2844313085079193, 0.09155289083719254, 0.19932183623313904, 0.15744706988334656, 0.7265718579292297, 0.5832141637802124, -0.19811156392097473, -0.033188216388225555, -0.43727582693099976, -0.261427104473114, -0.4307851791381836, 0.2824926972389221, -0.4637066125869751, -0.853874146938324, 0.7397750616073608, 0.13067947328090668, -0.17344574630260468, 0.5283269882202148, 0.4420745372772217, -0.3622671365737915, 1.0058774948120117, 0.6017439961433411, -0.13447211682796478, 0.6072747707366943, -0.3327311873435974, -0.03735184669494629, -0.7668138742446899, -0.37897995114326477, -0.1934223175048828, -0.31915727257728577, -0.37068888545036316, -0.5446256995201111, 0.4433099031448364, 0.4349876642227173, 0.34451594948768616, -0.0532296821475029, -0.4133262634277344, 0.66029953956604, 0.9448326230049133, 0.5321733355522156, 0.5474206805229187, 0.30308836698532104, -0.4149075150489807, 0.030079839751124382, -0.7752825617790222, -0.3146692216396332, 1.3885148763656616, 0.4132961928844452, 0.786421537399292, 0.12122511118650436, 0.8986226320266724, 0.5853185057640076, 0.35752028226852417, -0.7704998254776001, 0.4258820414543152, 0.09664949029684067, -0.46849778294563293, -0.5642858147621155, -0.6651216149330139, -1.184611201286316, 0.31567299365997314, -0.040198914706707, -0.6374788284301758, 0.08528865873813629, 0.15136317908763885, -0.021596577018499374, 0.2434484362602234, -0.7503847479820251, 0.4089144170284271, 0.03311587870121002, -0.010173890739679337, -0.25086745619773865, -0.5319181084632874, 0.5004640817642212, -0.0006379790138453245, 0.0165586955845356, 0.06542396545410156, 0.02389414608478546, 0.7998590469360352, -0.36715683341026306, 0.8229203224182129, -0.148232564330101, -0.13643698394298553, 0.5589338541030884, -0.24160116910934448, 0.4498252868652344, 0.12449062615633011, -0.48933836817741394, 0.06930509954690933, 0.1931183636188507, -0.6720253229141235, -0.5742402672767639, 0.23692357540130615, -1.046372413635254, -0.714440643787384, -0.6136888265609741, -0.6247531175613403, -0.07913561165332794, -0.15786778926849365, 0.7759100198745728, 0.45449382066726685, -0.18792980909347534, 0.3093193769454956, 0.8266599178314209, -0.188386932015419, 0.6160186529159546, -0.04028625786304474, 0.2513662874698639, -0.671463131904602, 0.6437338590621948, 0.008067016489803791, 0.3216874599456787, 0.6158836483955383, 0.25056347250938416, -0.6878980398178101, -0.7017441391944885, -0.3451909124851227, -0.08941435068845749, -1.0128271579742432, -0.4359971284866333, -0.5483203530311584, -0.28571435809135437, -0.4723217487335205, 0.032933562994003296, 0.415986567735672, -0.4567309021949768, -0.7790259122848511, -0.6214897632598877, 0.3773656189441681, 0.5787767767906189, -0.1509183645248413, 0.4807744324207306, -0.5040237903594971, 0.08196647465229034, 0.06348666548728943, 0.1298447698354721, 0.23349200189113617, -0.7781912088394165, -0.0871451124548912, -0.03474593907594681, -0.22332049906253815, -1.0812917947769165, 0.5111947655677795, -0.05515044182538986, 0.7735556960105896, 0.6385634541511536, 0.15546683967113495, 0.6812670826911926, -0.12914618849754333, 0.8339004516601562, 0.30295857787132263, -0.8975859880447388, 0.3263910710811615, -0.12125413119792938, 0.3962689936161041, 0.6188828349113464, -0.04863912984728813, -0.3847050964832306, -0.5823419690132141, -0.8100362420082092, -0.8138075470924377, 0.6552654504776001, 0.12870429456233978, 0.41650286316871643, -0.09626349806785583, 0.5369351506233215, 0.21755024790763855, 0.025994645431637764, -0.7143626809120178, -0.34413400292396545, -0.1725338101387024, -0.5299027562141418, -0.5435056090354919, -0.6410990357398987, 0.06217600777745247, -0.5410807728767395, 0.426192969083786, 0.04302094504237175, 0.4499616324901581, 0.2636846899986267, -0.17585380375385284, 0.14015573263168335, 0.27145716547966003, 0.760527491569519, 0.7521259188652039, -0.2661288380622864, 0.6258379220962524, 0.34661850333213806, -0.7850641012191772, 0.33819618821144104, -0.2895805537700653, -0.266421377658844, 0.03143284097313881, 0.8087698817253113, 0.6873198747634888, -0.08403163403272629, -0.6735063791275024, 0.41844701766967773, -0.04072542116045952, -0.3780941069126129, -0.2377784699201584, 0.3649080693721771, 0.16368499398231506, 0.21025067567825317, 0.7507112622261047, 0.00015463899762835354, 0.2350366860628128, -0.5446107983589172, 0.3544456958770752, 0.2674752175807953, -0.09716819226741791, -0.11360541731119156, 0.6378230452537537, 0.08676007390022278, -0.17426122725009918, 0.7568809390068054, -0.4533275067806244, -0.33252716064453125, 0.782801628112793, 0.9538602828979492, 0.5712430477142334, 0.01254168339073658, 0.32794392108917236, 0.3167630434036255, 0.4326082468032837, -0.133528470993042, 0.3380906581878662, -0.2837913930416107, -0.8612363338470459, -0.3938010036945343, -0.6569799780845642, -0.28772780299186707, -0.16490188241004944, -0.46793892979621887, -0.03635212406516075, -0.08717859536409378, -0.12194976210594177, -0.4756452739238739, -0.015543371438980103, -0.6381697058677673, 0.06563302874565125, -0.22650626301765442, 1.1066819429397583, -0.8258265256881714, 0.5514302253723145, 0.39025652408599854, -0.2395213544368744, -0.8970485329627991, 0.13648095726966858, -0.2752157747745514, -1.0550107955932617, 0.6087298393249512, 0.007887167856097221, 0.19262336194515228, 0.4353417158126831, -0.46877092123031616, -0.8636978268623352, 1.3819067478179932, 0.32620328664779663, -0.3685702383518219, 0.13111694157123566, 0.03349432349205017, 0.6006044149398804, -0.08830666542053223, 0.5220289826393127, 0.6938340663909912, 0.3122021555900574, 0.4019666314125061, -0.3489777743816376, -0.14053639769554138, -0.1610383689403534, -0.12257975339889526, 0.11629468947649002, -0.39351919293403625, 0.4943169355392456, -0.4864449203014374, -0.38903605937957764, 0.008163318037986755, 0.7503183484077454, 0.6073943972587585, 0.768359899520874, 0.5179828405380249, 0.7875674366950989, 0.9828302264213562, -0.0015270269941538572, 1.2203046083450317, -0.1962367594242096, 0.21742017567157745, 0.44971492886543274, 0.2877028286457062, 0.9298347234725952, 0.6895583271980286, -0.3938457667827606, 0.1792908012866974, 1.1331568956375122, 0.2655251920223236, 0.6887661218643188, 0.5201296210289001, -0.5020315051078796, -0.10889800637960434, 0.0018786466680467129, -0.3643512427806854, 0.2516978979110718, 0.382855623960495, -0.4976750612258911, -0.006462037563323975, 0.15482771396636963, -0.14102019369602203, -0.16786067187786102, -0.3890872895717621, 0.8811798691749573, 0.2643982172012329, -0.6036588549613953, 0.43684449791908264, 0.18609769642353058, 0.7935386300086975, -0.1780380755662918, 0.08017221838235855, -0.6251437067985535, 0.0718967616558075, -0.30991965532302856, -0.9259491562843323, 0.04990437999367714, -0.13504630327224731, -0.22544556856155396, -0.2976953089237213, 0.7461820244789124, -0.2582601308822632, -0.6473826169967651, -0.04871707037091255, 0.6521971225738525, 0.5277542471885681, 0.06660879403352737, -0.2895957827568054, -0.04751848056912422, 0.1502569615840912, -0.41739189624786377, 0.1400231420993805, 0.5776209831237793, 0.12200570851564407, 0.5789499282836914, 0.7649872303009033, 0.33612415194511414, 0.3278488218784332, 0.3002471327781677, 0.5974574089050293, -0.7994192242622375, -0.6714116930961609, -1.0972490310668945, 0.25118428468704224, 0.03888402506709099, -0.4181767702102661, 0.688641369342804, 0.5249402523040771, 0.7883503437042236, -0.16672413051128387, 0.5066772699356079, 0.27830633521080017, -0.021045317873358727, -0.9843630790710449, 0.46210145950317383, -0.23279406130313873, 0.253527969121933, -0.11836391687393188, -1.104110598564148, -0.342037558555603, 0.44580456614494324, 0.03398376330733299, 0.021108366549015045, 0.8358210921287537, 0.5031710863113403, 0.186692476272583, -0.14064185321331024, 0.5331957936286926, -0.2855076491832733, 0.20131731033325195, 0.6689015030860901, 1.0313658714294434, -0.39288511872291565, 0.4255183935165405, 0.1589725911617279, -0.39053016901016235, -0.4152766168117523, -0.6934984922409058, -0.7644328474998474, -0.5499756336212158, -0.07544788718223572, -0.4160957634449005, 0.040483493357896805, 0.6302099227905273, 0.4488671123981476, -0.5810337066650391, 0.07493070513010025, -0.2695407271385193, 0.3391379117965698, -0.5058041214942932, -0.30652764439582825, 0.3550986051559448, -0.4547107517719269, -0.5528112053871155, 0.13198353350162506, 0.14469926059246063, 0.3069187104701996, 0.04871566966176033, -0.23407946527004242, 0.3408900797367096, 0.1132531687617302, 0.7024951577186584, -0.18573838472366333, -0.6969534754753113, -0.20412153005599976, 0.25776514410972595, -0.2793773412704468, 0.06214834377169609, 0.8693901300430298, -0.6269313097000122, 0.3465048372745514, 0.8735805153846741, 0.7065753936767578, 0.5462344884872437, 0.6187183260917664, 0.33474022150039673, -0.7253301739692688, 0.10731745511293411, 0.22988508641719818, 0.3364628255367279, 0.1518957018852234, -0.6923679113388062, 0.551864743232727, 0.47031325101852417, -0.4357282817363739, -0.6908183693885803, 0.12635838985443115, -1.1418147087097168, -0.2698464095592499, 1.4676804542541504, 0.10069046914577484, -0.21010425686836243, -0.10790915042161942, -0.29173925518989563, 0.2793242037296295, -0.3519026041030884, 0.7221603989601135, 1.0204699039459229, -0.42382118105888367, -0.5269967317581177, -0.4700024127960205, 0.41725954413414, 0.5938242673873901, -0.7946873903274536, -0.151978999376297, 0.3499610126018524, 0.31517133116722107, -0.18188968300819397, 1.0326088666915894, -0.1470569372177124, 0.1499699503183365, 0.30361035466194153, -0.0708753690123558, -0.04892633110284805, -0.12101349234580994, -0.530086100101471, 0.23468554019927979, 0.2819107472896576, -0.2977181077003479 ]
http://arxiv.org/abs/2406.07081v1
http://arxiv.org/pdf/2406.07081v1
Efficiently Exploring Large Language Models for Document-Level Machine Translation with In-context Learning
2024-06-11T09:11:17
2024-06-11T09:11:17
Menglong Cui, Jiangcun Du, Shaolin Zhu, Deyi Xiong
cs.CL
cs.CL
Large language models (LLMs) exhibit outstanding performance in machine translation via in-context learning. In contrast to sentence-level translation, document-level translation (DOCMT) by LLMs based on in-context learning faces two major challenges: firstly, document translations generated by LLMs are often incoherent; secondly, the length of demonstration for in-context learning is usually limited. To address these issues, we propose a Context-Aware Prompting method (CAP), which enables LLMs to generate more accurate, cohesive, and coherent translations via in-context learning. CAP takes into account multi-level attention, selects the most relevant sentences to the current one as context, and then generates a summary from these collected sentences. Subsequently, sentences most similar to the summary are retrieved from the datastore as demonstrations, which effectively guide LLMs in generating cohesive and coherent translations. We conduct extensive experiments across various DOCMT tasks, and the results demonstrate the effectiveness of our approach, particularly in zero pronoun translation (ZPT) and literary translation tasks.
[ -0.3056599199771881, -0.8826802968978882, 0.6827072501182556, 0.16798466444015503, -0.3289314806461334, -0.060285765677690506, -0.5680488348007202, -0.08864839375019073, -0.29365265369415283, 0.27477550506591797, -0.7109970450401306, -0.6394182443618774, -0.5222733020782471, 0.42625299096107483, -0.5177231431007385, 0.8299555778503418, -0.2811465859413147, 0.029120570048689842, -0.47996577620506287, 0.13095572590827942, -0.833907961845398, -0.28570953011512756, -0.7289655208587646, -0.31704288721084595, 0.4144689738750458, 0.7627276182174683, 0.15258686244487762, 0.33068370819091797, 0.08485054224729538, 0.18067671358585358, -0.01599215157330036, 0.683161199092865, -0.4631187319755554, 0.36103111505508423, -0.056959159672260284, -0.330728679895401, -0.2908225655555725, -0.08125529438257217, 0.7979725003242493, 0.8416038155555725, 0.28176626563072205, 0.007989821955561638, 0.3193373680114746, 0.32074493169784546, -0.2973092496395111, 0.25166329741477966, -0.7634915709495544, 0.1068129763007164, 0.024319922551512718, -0.40190720558166504, -0.7648479342460632, -0.051344990730285645, 0.17988221347332, -0.7327768206596375, 0.37696531414985657, 0.22042830288410187, 0.6578176021575928, 0.1819484680891037, -0.5919426679611206, -0.37385293841362, -0.36257264018058777, 0.7966211438179016, -0.5369324088096619, 0.4237191677093506, 0.3660939633846283, 0.17063069343566895, -0.460788756608963, -0.5860816240310669, -0.7243820428848267, -0.2657555341720581, -0.13361194729804993, 0.24158194661140442, 0.04062848165631294, -0.1212194487452507, 0.2731700539588928, 0.3172747492790222, -0.5419934988021851, 0.20958003401756287, -0.0268641859292984, -0.003008482279255986, 0.17393995821475983, 0.135745108127594, 0.29716917872428894, -0.22870321571826935, -0.49422895908355713, -0.21228855848312378, -0.8119164109230042, 0.11487746983766556, -0.07993730157613754, 0.461642861366272, -0.1763654202222824, 0.38866254687309265, -0.14930754899978638, 0.8642008900642395, 0.2515409290790558, -0.14717130362987518, 0.22822396457195282, -0.3734873831272125, -0.23295946419239044, 0.02164383977651596, 0.8093108534812927, 0.26109737157821655, 0.015364675782620907, -0.2692752480506897, -0.31770917773246765, -0.4292885959148407, 0.05388429015874863, -0.8098403215408325, 0.29808324575424194, 0.407424658536911, -0.15324190258979797, -0.1315687745809555, -0.1633162498474121, -0.46710526943206787, -0.1860426813364029, -0.3703020513057709, 0.424245685338974, -0.6161264777183533, 0.11709938943386078, 0.07526767253875732, 0.03870539367198944, 0.374996542930603, 0.6169129014015198, -0.8901061415672302, -0.00038215951644815505, 0.62937992811203, 0.8639704585075378, -0.20028056204319, -0.424518883228302, -1.0426265001296997, 0.3112412691116333, -0.573081910610199, 0.5297995209693909, -0.2859569489955902, -0.31003496050834656, 0.16489407420158386, 0.07658123970031738, -0.21505892276763916, -0.557803213596344, 0.5528427958488464, -0.44721874594688416, 0.42674171924591064, -0.3774271607398987, -0.7290704250335693, -0.10678429901599884, 0.5835918188095093, -0.20815928280353546, 1.1196184158325195, 0.23071442544460297, -0.4933285713195801, 0.4282906651496887, -0.7659590840339661, -0.7086009383201599, 0.14682911336421967, -0.24311703443527222, -0.2795639932155609, 0.1563541442155838, 0.715411365032196, 0.9445781111717224, -0.23989026248455048, 0.43572553992271423, 0.1332775503396988, -0.3012752830982208, 0.11057332158088684, -0.424735963344574, 0.5524081587791443, 0.17478615045547485, -0.28244295716285706, 0.23478466272354126, -0.3460146188735962, -0.3837195634841919, 0.2191500961780548, -0.23852753639221191, -0.19435863196849823, -0.3076399266719818, -0.06587103754281998, 0.34832245111465454, 0.384763240814209, -0.44083642959594727, 0.33578333258628845, -0.44273725152015686, 0.5365452170372009, 0.4846592843532562, 0.07496491819620132, 0.6708971858024597, -0.08978426456451416, 0.5910476446151733, -0.06025415658950806, -0.08445081114768982, -0.861800491809845, -0.33555349707603455, -0.49598586559295654, -0.45919930934906006, 0.05248747020959854, 0.434789776802063, -0.8427234292030334, 0.49966785311698914, -0.4361979067325592, -0.05847261846065521, -0.350354939699173, 0.229468435049057, 0.45492446422576904, 1.1548532247543335, 0.4650914967060089, -0.037858448922634125, -0.04127814620733261, -0.5772374272346497, -0.1399799883365631, -0.008469725959002972, -0.1733175367116928, 0.4536535441875458, 0.41439780592918396, -0.21971838176250458, 0.9018025398254395, -0.20861804485321045, -0.3763360381126404, -0.41182923316955566, 0.1842363029718399, 0.2449408769607544, 0.38290974497795105, 0.21654672920703888, -0.7071499824523926, -0.6740033030509949, 0.33620065450668335, -0.8277519345283508, -0.28012165427207947, -0.41030535101890564, -0.12020698934793472, 0.14636436104774475, 0.8733689188957214, -0.5528507828712463, -0.010576890781521797, 0.3157045841217041, 0.03971319645643234, 0.2882069945335388, -0.5561957955360413, 0.11974015831947327, -1.4329649209976196, 0.32627731561660767, -0.19438335299491882, -0.6318073272705078, -0.6487539410591125, 0.1719820201396942, 0.5855750441551208, -0.2635985314846039, -0.5522244572639465, 0.7946450710296631, -0.656215250492096, -0.03854409605264664, -0.14635682106018066, 0.5456984043121338, 0.24728015065193176, 0.4059249460697174, -0.06207313761115074, 0.9438942670822144, 0.49724698066711426, -0.6800996661186218, 0.08079998195171356, 0.5572314262390137, -0.387744277715683, 0.6945405006408691, -0.3079628050327301, 0.10827022045850754, -0.18540117144584656, 0.5682875514030457, -1.0823832750320435, -0.6212001442909241, 0.13665050268173218, -0.4420803189277649, 0.6206977963447571, -0.07555396854877472, -0.7105357050895691, -0.24670593440532684, 0.012196335010230541, 0.2558032274246216, 0.3141585886478424, -0.780119776725769, 0.2713777422904968, 0.057478904724121094, -0.2951919734477997, -0.5488367080688477, -0.5232563614845276, 0.42917850613594055, -0.31849801540374756, -0.5149943232536316, 0.4066184461116791, -0.07362984120845795, 0.13003486394882202, -0.48417869210243225, -0.030177608132362366, 0.16040629148483276, 0.1444801688194275, -0.013692885637283325, 0.19182105362415314, 0.07378198951482773, 0.23847419023513794, 0.455348402261734, -0.017155494540929794, -0.09141162782907486, -0.5137909054756165, 0.689237654209137, -0.0941186398267746, -0.1594262570142746, -0.5632156133651733, 0.5081589818000793, 0.6735890507698059, -0.3015972375869751, 0.5635918378829956, 0.5907737612724304, -0.3817492127418518, -0.4177842140197754, -0.2676124572753906, -0.31717395782470703, -0.416552871465683, 0.38068392872810364, -0.5819802284240723, -0.984684407711029, 0.44066137075424194, -0.33488455414772034, 0.07637961208820343, 0.25091731548309326, 0.6554424166679382, -0.13991770148277283, 1.0236419439315796, 0.4609204828739166, -0.11358491331338882, 0.6577939391136169, -0.37237176299095154, 0.165963813662529, -1.0122326612472534, -0.19268499314785004, -0.32836243510246277, -0.11020059883594513, -0.031085724011063576, -0.5569055676460266, 0.6404730081558228, 0.29612913727760315, -0.03525606542825699, 0.5500386953353882, -0.2573871910572052, 0.46690550446510315, 0.3386531472206116, -0.011550008319318295, 0.2825421690940857, 0.26296404004096985, -0.4180859923362732, 0.06238172948360443, -0.7804372906684875, -0.4589991569519043, 0.7961240410804749, 0.2662535011768341, 0.35780903697013855, -0.13903476297855377, 0.7027086019515991, 0.05632179602980614, 0.36634406447410583, -0.9146414399147034, 0.3981519639492035, 0.012909915298223495, -0.291877418756485, -0.41827821731567383, -0.5177239179611206, -1.0386898517608643, 0.20347680151462555, -0.05002289265394211, -0.5301665663719177, 0.09010957181453705, 0.13070270419120789, -0.21797969937324524, -0.07460195571184158, -0.5448240041732788, 1.0581388473510742, -0.2533195912837982, -0.29783323407173157, -0.10529689490795135, -0.7031876444816589, 0.07209480553865433, -0.288372665643692, 0.27051281929016113, 0.11293110996484756, -0.28087276220321655, 0.1231318935751915, -0.269374281167984, 0.8640239834785461, -0.16480065882205963, -0.5893094539642334, 0.10808838158845901, 0.22892269492149353, 0.8290980458259583, 0.08810719102621078, -0.1267700046300888, -0.1078491061925888, -0.4692818224430084, -0.3927244246006012, -0.5806740522384644, 0.6904646158218384, -0.5100293755531311, -0.4374167025089264, -0.018649151548743248, -1.0069514513015747, -0.3749645948410034, 0.40443500876426697, 0.4954034090042114, 0.5523586273193359, -0.2933237552642822, 0.18607383966445923, 0.8808989524841309, -0.348443865776062, 0.49109166860580444, 0.5750138759613037, -0.20928631722927094, -0.2449323832988739, 0.7798790335655212, -0.07397869229316711, 0.3869320750236511, 0.8277573585510254, 0.2455107867717743, -0.4820992648601532, -0.5090652108192444, -1.0423336029052734, 0.05472814664244652, -0.6402645111083984, -0.19075971841812134, -0.8285910487174988, 0.22193603217601776, -0.4351574182510376, -0.5539858341217041, -0.07543370127677917, -0.11199533939361572, -0.22338028252124786, 0.07130520045757294, 0.20918789505958557, 0.4819289445877075, 0.34264177083969116, 0.3314191997051239, -0.7408629655838013, 0.16439270973205566, 0.2130977064371109, -0.07167266309261322, -0.04672045633196831, -0.8108504414558411, -0.3110497295856476, -0.1464315503835678, -0.2829767167568207, -0.7939541935920715, 0.4715782701969147, 0.22018983960151672, 0.4650435447692871, 0.41582658886909485, 0.15957136452198029, 0.6569187045097351, -0.6437856554985046, 0.7848106026649475, 0.1667703092098236, -1.082953929901123, 0.610866129398346, -0.7711870074272156, 0.5322721600532532, 0.45811763405799866, 0.3843933641910553, -0.8077837824821472, -0.5744974613189697, -0.25306791067123413, -1.024259090423584, 0.6585134267807007, 0.016514118760824203, 0.3733757436275482, -0.294826865196228, 0.42986470460891724, 0.3317972719669342, 0.2870814800262451, -0.44622087478637695, 0.1579028218984604, 0.13176515698432922, -0.27952590584754944, -0.20899562537670135, 0.13373102247714996, 0.00018359428213443607, -0.00984138622879982, 0.5797374248504639, -0.6215022802352905, -0.010203910991549492, 0.4709945321083069, -0.5737720131874084, -0.09458664059638977, 0.3676636517047882, 0.7304466366767883, 0.60463947057724, -0.1475459784269333, 0.11188848316669464, 0.5796050429344177, -0.025762105360627174, 0.038987208157777786, -0.001365657546557486, -0.2727108299732208, -0.011480645276606083, 0.37061989307403564, 0.7480490803718567, 0.33562716841697693, -0.724062442779541, 0.8641634583473206, -0.07194822281599045, -0.02723202295601368, -0.11819043010473251, -0.2992022633552551, 0.13743962347507477, 0.0848827138543129, 0.3050267994403839, -0.18089574575424194, -0.014631018973886967, -0.39265498518943787, 0.0433904305100441, 0.4170681834220886, -0.4911123514175415, 0.006000821478664875, 0.6622855067253113, 0.13456442952156067, -0.12083017081022263, 0.552465558052063, -0.179290771484375, -0.4426284432411194, 0.3610135614871979, 0.7904829382896423, 0.8376255035400391, -0.030850179493427277, 0.18726597726345062, 0.4365088641643524, 0.17934831976890564, -0.27126583456993103, -0.012850183993577957, -0.5508471131324768, -0.39237818121910095, -0.5981862545013428, -0.3466043770313263, -0.550763726234436, 0.1608770340681076, -0.5755952596664429, 0.27414101362228394, -0.06503847241401672, 0.16859634220600128, -0.3718566596508026, -0.14550556242465973, -0.5371915102005005, 0.07144017517566681, 0.19972191751003265, 1.0275367498397827, -0.7292688488960266, 0.9034700393676758, 0.6127983927726746, -0.42205387353897095, -0.6019108891487122, 0.1883278340101242, -0.2803841233253479, -0.6324506402015686, 0.46648749709129333, 0.3598834276199341, -0.18229122459888458, 0.22724640369415283, -0.6741998791694641, -0.41700106859207153, 1.1344876289367676, 0.7001091837882996, -0.6275438666343689, 0.10250099003314972, 0.141431987285614, 0.3871248960494995, -0.5664467811584473, 0.005091325845569372, 0.13865989446640015, 0.33848997950553894, -0.08911202102899551, -0.829248309135437, 0.15949440002441406, -0.04562309756875038, 0.042189452797174454, 0.08842206001281738, -0.6181690096855164, 0.7339559197425842, -0.05637798458337784, -0.24059012532234192, 0.07418292760848999, 0.7024279832839966, 0.1704753339290619, 0.3289209306240082, 0.5351674556732178, 0.29800617694854736, 1.0120596885681152, 0.1698669046163559, 1.1845998764038086, -0.346639484167099, 0.18942879140377045, 1.2089914083480835, -0.25527480244636536, 0.9524238705635071, 0.6112855076789856, 0.3734886050224304, 0.29442599415779114, 0.7252178192138672, 0.3091455399990082, 0.29693838953971863, 0.08247071504592896, -0.5115405321121216, -0.3355984389781952, -0.24085818231105804, -0.284016489982605, 0.18655240535736084, 0.40951114892959595, -0.41551968455314636, -0.24972805380821228, 0.260905385017395, 0.22933880984783173, 0.15421894192695618, -0.2714959979057312, 0.7941941022872925, 0.23918722569942474, -0.9800540804862976, 0.782333493232727, 0.0361337848007679, 0.5007693767547607, -0.5656203031539917, -0.06150360777974129, -0.4333147406578064, 0.12850306928157806, 0.03190591186285019, -0.6380332112312317, 0.03389196842908859, 0.23656001687049866, -0.3780340552330017, -0.7670860886573792, 0.5008763074874878, -0.7486608028411865, -0.21373184025287628, 0.3180486559867859, 0.6101205945014954, 0.34616637229919434, -0.20841093361377716, -0.37019482254981995, -0.18250925838947296, -0.21784795820713043, -0.0790589451789856, 0.4705282747745514, 0.7066493034362793, -0.31586843729019165, 0.5596248507499695, 0.6423195600509644, -0.2586525082588196, -0.07142898440361023, 0.09887174516916275, 0.6901368498802185, -0.38762882351875305, -0.5673375129699707, -0.661045253276825, 0.366821825504303, -0.055436886847019196, -0.2356562465429306, 0.8869103193283081, 0.6312127113342285, 1.0464071035385132, -0.1787433624267578, 0.7902757525444031, 0.1621401011943817, 0.2774827778339386, -0.48044493794441223, 0.7556695342063904, -0.742518961429596, 0.11582279950380325, -0.2173449546098709, -0.8083042502403259, -0.3274441063404083, 0.5491485595703125, -0.39514806866645813, -0.24888195097446442, 0.7007015347480774, 0.8304674625396729, -0.2706032693386078, -0.23959140479564667, 0.5158553123474121, 0.1004302129149437, 0.33821672201156616, 0.6159252524375916, 0.7464590072631836, -0.46081826090812683, 0.571537435054779, 0.22806674242019653, -0.317476361989975, -0.28941798210144043, -1.0471407175064087, -0.9653453826904297, -0.609885036945343, -0.13237646222114563, -0.23589777946472168, -0.18182829022407532, 1.1087620258331299, 0.779752790927887, -0.7479318976402283, -0.336084246635437, -0.27969083189964294, 0.031930454075336456, -0.31362247467041016, -0.14745983481407166, 0.4049068093299866, -0.9572745561599731, -1.057464361190796, 1.0255961418151855, 0.28630080819129944, -0.12612216174602509, -0.17089244723320007, -0.2881012260913849, -0.052235860377550125, -0.009762901812791824, 0.7806835174560547, 0.09131042659282684, -0.6865010857582092, -0.06519661098718643, 0.04016084596514702, -0.3363053798675537, 0.0396285243332386, 0.7809558510780334, -0.6601817011833191, 0.7210817337036133, 0.6931616067886353, 0.8678868412971497, 0.5219376683235168, -0.16624410450458527, 0.7924342155456543, -1.046354055404663, 0.1136559545993805, -0.014520327560603619, 0.33502888679504395, 0.6002764701843262, -0.44461649656295776, 0.3060324788093567, 0.03752056509256363, -0.44810038805007935, -0.8175116181373596, 0.2906125485897064, -0.9403857588768005, -0.21627791225910187, 1.042993426322937, -0.40703481435775757, -0.1815355122089386, -0.0354720838367939, -0.42638248205184937, 0.45810842514038086, -0.4640357494354248, 0.5522427558898926, 0.43087148666381836, 0.07215254753828049, -0.11589176952838898, -0.7465425729751587, 0.3584316372871399, 0.5713489055633545, -0.7669996619224548, 0.21248503029346466, 0.42837637662887573, 0.12897199392318726, -0.09276565909385681, 0.4091770350933075, -0.08628828823566437, 0.193900465965271, -0.3639257252216339, -0.02959110029041767, -0.1947227269411087, -0.4732409715652466, -0.5689888596534729, 0.1598757654428482, -0.0527920126914978, -0.01770595833659172 ]
http://arxiv.org/abs/2406.07080v1
http://arxiv.org/pdf/2406.07080v1
DARA: Decomposition-Alignment-Reasoning Autonomous Language Agent for Question Answering over Knowledge Graphs
2024-06-11T09:09:37
2024-06-11T09:09:37
Haishuo Fang, Xiaodan Zhu, Iryna Gurevych
cs.CL
cs.CL
Answering Questions over Knowledge Graphs (KGQA) is key to well-functioning autonomous language agents in various real-life applications. To improve the neural-symbolic reasoning capabilities of language agents powered by Large Language Models (LLMs) in KGQA, we propose the DecompositionAlignment-Reasoning Agent (DARA) framework. DARA effectively parses questions into formal queries through a dual mechanism: high-level iterative task decomposition and low-level task grounding. Importantly, DARA can be efficiently trained with a small number of high-quality reasoning trajectories. Our experimental results demonstrate that DARA fine-tuned on LLMs (e.g. Llama-2-7B, Mistral) outperforms both in-context learning-based agents with GPT-4 and alternative fine-tuned agents, across different benchmarks in zero-shot evaluation, making such models more accessible for real-life applications. We also show that DARA attains performance comparable to state-of-the-art enumerating-and-ranking-based methods for KGQA.
[ -0.3229372203350067, -0.8683027625083923, 0.9034199714660645, -0.08135562390089035, 0.02132812887430191, 0.2067653238773346, -0.023096943274140358, -0.10517142713069916, 0.09053054451942444, 0.5347737073898315, -0.4557029604911804, -0.6819145083427429, -0.48284226655960083, 0.08531454205513, -0.21305063366889954, 0.5503261089324951, 0.0011829982977360487, -0.07226113975048065, -0.527667760848999, -0.31997641921043396, -0.4331127405166626, -0.21314357221126556, -0.9513978362083435, -0.6050266027450562, 0.6416353583335876, 0.11056926101446152, 0.9292814135551453, 0.7866342067718506, 0.13465826213359833, 0.41500362753868103, -0.11308388411998749, 0.3941923677921295, -0.3772573471069336, 0.5539419651031494, -0.30582088232040405, -0.5066002011299133, -0.4809868633747101, -0.1300024390220642, 0.47631531953811646, 0.5938075184822083, -0.045386333018541336, 0.1443922370672226, -0.3915786147117615, 0.6296036839485168, -0.6504697203636169, 0.36776748299598694, -0.558732807636261, -0.3935380280017853, 0.3568977117538452, 0.10529372841119766, -0.41579288244247437, -0.48190581798553467, 0.034566085785627365, -0.7957248687744141, -0.3621216416358948, -0.22886797785758972, 0.817043125629425, 0.8482526540756226, -0.7816187739372253, -0.2605748176574707, -0.443231999874115, 0.5673587322235107, -0.6447038054466248, 0.4138074815273285, 0.27863097190856934, 0.7567811012268066, -0.18980064988136292, -0.7243289947509766, -0.6890660524368286, -0.11615433543920517, -0.13853074610233307, -0.06385008245706558, -0.10386049002408981, 0.2258225530385971, 0.06145196408033371, -0.07760421931743622, -0.7157954573631287, 0.024309150874614716, 0.1342608481645584, -0.023551365360617638, 0.475630521774292, 0.2566128075122833, 0.3949226140975952, -0.1361924409866333, -0.038505103439092636, -0.2859879434108734, -0.6485228538513184, -0.0013390774838626385, 0.23839442431926727, 0.31424814462661743, 0.1583855003118515, 0.4261227250099182, -0.5248457789421082, 0.8640730381011963, 0.037801582366228104, -0.2800757586956024, -0.08287425339221954, -0.07930497080087662, -0.21461661159992218, -0.29697033762931824, 0.5402628779411316, 0.18531334400177002, 0.1945144087076187, -0.6074190139770508, -0.25897350907325745, 0.1702539622783661, 0.12549279630184174, -0.8160004615783691, -0.38947001099586487, 0.4245901107788086, -0.21362446248531342, -0.13016262650489807, -0.4351239502429962, -0.24593335390090942, -0.45342469215393066, -0.5752131938934326, 0.622748613357544, -0.44719648361206055, -0.16411013901233673, 0.06741419434547424, -0.1643102467060089, 0.41357696056365967, 0.46207714080810547, -0.5394076704978943, 0.26759472489356995, 0.7794859409332275, 0.34955620765686035, 0.08196716755628586, -0.24223639070987701, -0.547722339630127, 0.27425482869148254, -0.4112824499607086, 0.9276635646820068, -0.5968858599662781, 0.15277883410453796, -0.2342987358570099, -0.1143905445933342, -0.35225751996040344, -0.691494345664978, 0.3122580051422119, -1.024674892425537, 0.0042053284123539925, -0.524394690990448, -0.4953271150588989, -0.3763091266155243, 0.8154934048652649, -0.4600158631801605, 0.7851368188858032, 0.32329756021499634, -0.2683033347129822, 0.1766490787267685, -0.6741788387298584, -0.3792082667350769, -0.12729907035827637, -0.1084173321723938, -0.2233566790819168, -0.6143196821212769, 0.489889919757843, 0.370381236076355, -0.42170313000679016, 0.4388613998889923, -0.14496152102947235, -0.030558038502931595, 0.18380454182624817, -0.08213712275028229, 0.9141845703125, 0.3135243356227875, -0.2315189093351364, 0.17665132880210876, -0.7620612382888794, 0.3200085461139679, 0.13318569958209991, -0.11729609966278076, -0.32524389028549194, -0.0155140096321702, -0.6371449828147888, 0.3419698476791382, 0.28596073389053345, -0.3732491731643677, 0.3050083816051483, -0.6032803058624268, 0.2619096338748932, 0.7217192053794861, 0.07449305802583694, 0.6425055265426636, -0.39172127842903137, 0.7228224277496338, -0.05508910119533539, 0.045580022037029266, 0.28257879614830017, -0.2921086251735687, -0.8129903078079224, -0.3364178240299225, 0.2398003786802292, 0.5656150579452515, -1.1554771661758423, 0.18599309027194977, -0.25549331307411194, -0.5471410155296326, -0.4384259581565857, -0.03108443133533001, 0.5925561189651489, 0.65291827917099, 0.2710758447647095, 0.2538636028766632, -0.20508478581905365, -0.6600466370582581, -0.13506542146205902, -0.2740454375743866, 0.19274041056632996, 0.400590717792511, 0.4435766339302063, -0.34639039635658264, 1.0622456073760986, -0.5333424210548401, -0.021908100694417953, -0.18733568489551544, 0.1720481961965561, 0.0597558431327343, 0.148828387260437, 0.7216873168945312, -0.6927520036697388, -0.6549564599990845, 0.17299188673496246, -0.9083797931671143, -0.2671951949596405, 0.13156826794147491, -0.3073875308036804, 0.20189447700977325, 0.274711936712265, -1.050392746925354, 0.347547322511673, 0.2196674346923828, -0.5221059918403625, 0.4972204864025116, 0.0171258132904768, 0.15671567618846893, -1.0381461381912231, 0.02425227500498295, -0.5567079186439514, -0.2700621783733368, -0.5986779928207397, 0.32014229893684387, -0.21770034730434418, -0.09641896188259125, -0.10443272441625595, 0.8494253158569336, -0.37995633482933044, -0.2848798632621765, -0.46149101853370667, 0.41330480575561523, 0.03640935570001602, 0.6019414067268372, -0.12127631902694702, 0.7629782557487488, 0.6137346625328064, -0.6443771123886108, 0.4666695296764374, 0.5302243232727051, 0.023245923221111298, 0.381277859210968, -0.5970499515533447, 0.33681556582450867, -0.3724047839641571, 0.2802654206752777, -1.0363709926605225, -0.13079951703548431, 0.309771329164505, -0.49899041652679443, 0.06300850212574005, -0.20136865973472595, -0.5691656470298767, 0.03265588358044624, -0.05118098482489586, 0.6775578260421753, 0.4326689839363098, -0.6154546737670898, 0.9316699504852295, 0.3339611291885376, -0.04543645679950714, -0.9122424125671387, -0.08606048673391342, -0.03868267685174942, -0.027426110580563545, -0.845776379108429, 0.11964365839958191, 0.010904618538916111, -0.5890727043151855, 0.26801615953445435, -0.03849351033568382, -0.10956139117479324, 0.19718286395072937, 0.17492733895778656, -0.18176013231277466, -0.19822075963020325, 0.17328926920890808, 0.21565650403499603, -0.28768691420555115, 0.010553251951932907, -0.3311162292957306, 0.6274666786193848, -0.016239872202277184, -0.2743310332298279, -0.25659698247909546, 0.19265151023864746, 0.7214499115943909, -0.29238027334213257, 0.7997402548789978, 0.3095770478248596, -0.21758577227592468, -0.5422729849815369, -0.3091656565666199, -0.07605599611997604, -0.44066259264945984, 0.09950803220272064, -0.47160178422927856, -0.7545921802520752, 0.74888676404953, -0.12740154564380646, -0.139719620347023, 0.2215729057788849, 0.5722481608390808, 0.005003673955798149, 1.0971814393997192, 0.37652072310447693, -0.1604675054550171, -0.060827307403087616, -0.3735671639442444, 0.31965091824531555, -0.45268407464027405, -0.1789032518863678, -0.7005791664123535, -0.2828923165798187, -0.32521888613700867, -0.4629206955432892, 0.6246562600135803, -0.12263299524784088, -0.6845468282699585, 0.2884138226509094, -0.47171688079833984, 0.7185024619102478, 0.5279353260993958, -0.07334627956151962, 0.29198795557022095, -0.34338560700416565, 0.0009958501905202866, 0.5847474932670593, -0.655097246170044, -0.41419389843940735, 0.9686159491539001, 0.12789089977741241, 0.705069363117218, 0.2768886685371399, 0.6704867482185364, 0.039636045694351196, 0.08772555738687515, -0.8878158926963806, 0.8204813599586487, -0.07101525366306305, -0.4214685559272766, -0.6497877240180969, -0.5551245212554932, -0.8464170694351196, 0.4115641713142395, 0.3348316252231598, -0.6187198162078857, -0.011126844212412834, -0.07613427937030792, -0.1476718634366989, 0.1319977343082428, -0.595750093460083, 0.9029287099838257, -0.04850119352340698, 0.06112038344144821, -0.1437641829252243, -0.7852967977523804, 0.265841543674469, 0.32239192724227905, -0.13219612836837769, -0.25990092754364014, 0.05603495240211487, 0.4536983370780945, -0.7604362368583679, 0.7513198256492615, -0.6231001019477844, -0.42084914445877075, 0.41381028294563293, 0.32846832275390625, 0.7637348175048828, -0.011027476750314236, -0.03142460063099861, -0.2633194029331207, 0.3436945378780365, -0.3603133261203766, -1.2285312414169312, 0.5515406727790833, -1.1138980388641357, -0.6441356539726257, -0.24178364872932434, -1.0025309324264526, -0.4673011600971222, 0.16900360584259033, -0.2588740289211273, 0.505587637424469, 0.27948814630508423, -0.09810299426317215, 0.5362346172332764, -0.08166718482971191, 0.209720179438591, 0.6006891131401062, -0.09668058156967163, -0.6083160042762756, 0.807963490486145, 0.19195574522018433, 0.34449076652526855, 0.6723517179489136, 0.0045258463360369205, -0.5618492364883423, -0.5814982056617737, -0.43541476130485535, 0.43237704038619995, -1.055371880531311, -0.42731136083602905, -0.5788490176200867, -0.2647758424282074, -0.6361203789710999, -0.2153029441833496, -0.227779820561409, -0.6333253979682922, 0.023691153153777122, -0.04014841839671135, 0.1769753396511078, 0.6015344858169556, 0.211908221244812, 0.32423365116119385, -0.4566486179828644, 0.7071832418441772, 0.7059869170188904, 0.11465416848659515, -0.02042471431195736, -0.3849128484725952, 0.11866186559200287, 0.013185737654566765, -0.12635311484336853, -0.7304675579071045, 0.2566518485546112, 0.002676449017599225, 0.6328712701797485, 0.1288900077342987, 0.3408694565296173, 0.7524722218513489, -0.12956611812114716, 0.5786614418029785, -0.31588777899742126, -0.7670530676841736, 0.36584198474884033, -0.5809951424598694, 0.4149058759212494, 0.5048901438713074, 0.23709972202777863, -0.3548128306865692, -0.41009271144866943, -0.22693045437335968, -0.4946611225605011, 0.8372847437858582, 0.30942800641059875, -0.25196176767349243, -0.03337733820080757, 0.47164732217788696, -0.028879866003990173, 0.08201313763856888, -0.7541869878768921, -0.4422151446342468, -0.08178969472646713, -0.3568434715270996, 0.24109099805355072, -0.17507824301719666, -0.32135137915611267, -0.2679179608821869, 0.9780574440956116, -0.5904878377914429, 0.2563612461090088, -0.04043157026171684, -0.2653804123401642, -0.0018037180416285992, 0.1631491631269455, 0.30473873019218445, 0.7606568336486816, -0.08564390242099762, 0.23021775484085083, -0.029950788244605064, -0.07906369864940643, 0.5061003565788269, 0.17925511300563812, -0.47291886806488037, -0.365545392036438, 0.20600031316280365, 0.48809969425201416, -0.18032340705394745, -0.7828406691551208, 0.4196905195713043, -0.13293428719043732, -0.21740172803401947, -0.07526856660842896, 0.027289172634482384, 0.098781056702137, 0.6698354482650757, 0.09659645706415176, -0.22600245475769043, -0.03484535217285156, -0.36638641357421875, 0.13254830241203308, 0.6332695484161377, 0.01356441155076027, -0.20899128913879395, 0.5701543092727661, 0.0765312910079956, -0.07460697740316391, 0.5118232369422913, -0.6314998269081116, -0.49962982535362244, 0.8567503094673157, 0.6067994236946106, 0.9630379676818848, -0.021917114034295082, 0.6468474864959717, 0.17228367924690247, 0.19928394258022308, 0.2763962745666504, 0.3722582161426544, -0.3806908428668976, -1.0378059148788452, -0.575786828994751, -0.5997892022132874, -0.33100131154060364, -0.0996016189455986, -0.28567489981651306, -0.13518522679805756, -0.3739505708217621, 0.0836038738489151, -0.16491830348968506, -0.014807122759521008, -0.26237067580223083, 0.22121120989322662, -0.02749793604016304, 0.6462516188621521, -0.5379660725593567, 0.8424816131591797, 0.928638219833374, -0.5109250545501709, -1.1265615224838257, -0.040668465197086334, -0.266759991645813, -0.8576960563659668, 0.9368072152137756, -0.03511481732130051, -0.377177357673645, 0.13316203653812408, -0.5800299048423767, -1.0805166959762573, 1.446662425994873, 0.9457123279571533, 0.1815526783466339, -0.19760261476039886, 0.476908802986145, 0.4881267845630646, -0.08193130791187286, 0.22815948724746704, 0.6770094633102417, 0.5349311232566833, 0.24349139630794525, -0.9156709313392639, 0.18916605412960052, -0.0783759206533432, -0.20325465500354767, 0.33652353286743164, -0.8503251075744629, 0.795055627822876, 0.11663931608200073, -0.2162490338087082, 0.36428236961364746, 0.46305131912231445, 0.2998237609863281, 0.4383682906627655, 0.46765658259391785, 0.9832092523574829, 0.7540234923362732, -0.13473647832870483, 0.7687415480613708, -0.30485856533050537, 0.19146399199962616, 1.0275030136108398, -0.45213088393211365, 0.3528948426246643, 0.20227019488811493, -0.16253942251205444, 0.7524638175964355, 0.33815857768058777, 0.6612421274185181, 0.6085399389266968, -0.01744178496301174, -0.3212797939777374, -0.5576679706573486, -0.16252298653125763, -0.025303546339273453, 0.6445028781890869, 0.15243743360042572, -0.046682536602020264, -0.5949015617370605, -0.09216677397489548, -0.03542052581906319, 0.23831386864185333, -0.2801409661769867, 1.0172357559204102, -0.06945519894361496, -1.0341321229934692, 0.948880136013031, 0.0013841880718246102, -0.10927292704582214, -0.600970983505249, -0.13882407546043396, -0.3926379680633545, 0.15547797083854675, -0.09163428097963333, -0.6246216297149658, 0.192645862698555, -0.2130785882472992, -0.10280850529670715, -0.1931532770395279, 0.9110939502716064, -0.35479074716567993, 0.037008870393037796, 0.36103323101997375, 0.661627471446991, -0.017200220376253128, -0.2864924669265747, -0.7163935303688049, -0.2764662504196167, -0.25322818756103516, -0.15460330247879028, 0.3600941300392151, 0.7148080468177795, -0.16195401549339294, 1.0953681468963623, 0.3590491712093353, -0.3989095687866211, -0.034569721668958664, 0.26832136511802673, 1.0412274599075317, -0.5911895632743835, -0.36364784836769104, -0.5063762068748474, 0.3708173632621765, 0.12502311170101166, 0.05896279960870743, 0.6869512796401978, 0.3200545310974121, 0.568098247051239, 0.02357061207294464, 0.5376549363136292, -0.13792192935943604, 0.4427548944950104, -0.5624960660934448, 0.8041056990623474, -0.3716772496700287, 0.12243033945560455, -0.14263896644115448, -0.7549954056739807, -0.3112605810165405, 0.38748103380203247, -0.4173240065574646, 0.05929502844810486, 0.5947272777557373, 0.9937729239463806, 0.2835896611213684, -0.347023606300354, 0.47179698944091797, 0.16254933178424835, 0.48535579442977905, 0.5776121020317078, 1.024286150932312, -0.37020984292030334, 0.6123928427696228, -0.2940524220466614, 0.09094700962305069, 0.2924325168132782, -0.49743884801864624, -0.980107307434082, -0.6875775456428528, -0.21838171780109406, -0.0667833685874939, 0.08803106844425201, 0.6822437644004822, 0.6860179901123047, -0.6730438470840454, 0.02449645660817623, -0.11280468106269836, 0.46865513920783997, -0.34746024012565613, -0.24342776834964752, 0.4873095154762268, -0.6614980697631836, -0.6093729138374329, 0.674911379814148, 0.3062278628349304, -0.3263263404369354, -0.2048078179359436, -0.3359043598175049, -0.2629140019416809, 0.0025795898400247097, 0.7368358969688416, 0.23945151269435883, -0.7553610801696777, -0.5100948810577393, 0.09051072597503662, -0.04586321488022804, -0.14459815621376038, 0.49320581555366516, -1.1131292581558228, 0.457698255777359, 0.6671963930130005, 1.120845079421997, 0.24206526577472687, 0.37332960963249207, 0.4817080795764923, -0.8721200823783875, -0.044772129505872726, 0.45594322681427, 0.10029081255197525, -0.043231844902038574, -0.34511154890060425, 0.6032899618148804, 0.1640712469816208, -0.89166259765625, -0.7953548431396484, 0.2641376852989197, -1.07346773147583, -0.37158674001693726, 1.3335310220718384, -0.059766992926597595, -0.4086121618747711, -0.19834691286087036, -0.3052538335323334, 0.2738954722881317, -0.301020085811615, 0.6328012347221375, 0.4207388460636139, -0.3741225004196167, -0.13211683928966522, -0.10007336735725403, 0.4552345275878906, 0.5110587477684021, -1.0708447694778442, 0.15261675417423248, 0.8070516586303711, 0.27183860540390015, 0.14507870376110077, 0.805826723575592, -0.0118478462100029, 0.5426070690155029, 0.011592965573072433, -0.09052523970603943, -0.29657095670700073, -0.5374947190284729, -0.11630761623382568, 0.40914449095726013, 0.27406081557273865, -0.180917426943779 ]
http://arxiv.org/abs/2406.07070v1
http://arxiv.org/pdf/2406.07070v1
HalluDial: A Large-Scale Benchmark for Automatic Dialogue-Level Hallucination Evaluation
2024-06-11T08:56:18
2024-06-11T08:56:18
Wen Luo, Tianshu Shen, Wei Li, Guangyue Peng, Richeng Xuan, Houfeng Wang, Xi Yang
cs.CL
cs.CL
Large Language Models (LLMs) have significantly advanced the field of Natural Language Processing (NLP), achieving remarkable performance across diverse tasks and enabling widespread real-world applications. However, LLMs are prone to hallucination, generating content that either conflicts with established knowledge or is unfaithful to the original sources. Existing hallucination benchmarks primarily focus on sentence- or passage-level hallucination detection, neglecting dialogue-level evaluation, hallucination localization, and rationale provision. They also predominantly target factuality hallucinations while underestimating faithfulness hallucinations, often relying on labor-intensive or non-specialized evaluators. To address these limitations, we propose HalluDial, the first comprehensive large-scale benchmark for automatic dialogue-level hallucination evaluation. HalluDial encompasses both spontaneous and induced hallucination scenarios, covering factuality and faithfulness hallucinations. The benchmark includes 4,094 dialogues with a total of 146,856 samples. Leveraging HalluDial, we conduct a comprehensive meta-evaluation of LLMs' hallucination evaluation capabilities in information-seeking dialogues and introduce a specialized judge language model, HalluJudge. The high data quality of HalluDial enables HalluJudge to achieve superior or competitive performance in hallucination evaluation, facilitating the automatic assessment of dialogue-level hallucinations in LLMs and providing valuable insights into this phenomenon. The dataset and the code are available at https://github.com/FlagOpen/HalluDial.
[ -0.40470194816589355, -0.8276225328445435, 0.4775559902191162, 0.5742248296737671, -0.2780775725841522, -0.031072085723280907, -0.359585702419281, -0.4928935766220093, 0.34865835309028625, 0.5806954503059387, -0.4122154712677002, -0.7230490446090698, -0.5513913035392761, 0.22573985159397125, -0.6703640222549438, 0.6215216517448425, 0.27997103333473206, 0.19640298187732697, -0.192830428481102, -0.12883052229881287, -0.7298528552055359, -0.5003823637962341, -0.3226100206375122, -0.12870866060256958, 0.2429317981004715, 0.08292899280786514, 0.6627098917961121, 0.18982554972171783, 0.48976483941078186, 0.27370408177375793, 0.11648093163967133, 0.13761422038078308, -0.5558463335037231, 0.5427680611610413, -0.0805707797408104, -0.19456243515014648, -0.34525707364082336, 0.023139623925089836, 0.4612932503223419, 0.7339703440666199, -0.36973512172698975, 0.08893806487321854, -0.054885439574718475, 0.5777483582496643, -0.5846755504608154, 0.08854302018880844, -0.9524656534194946, 0.2655206322669983, 0.09323619306087494, -0.41155773401260376, -0.4143398404121399, -0.9328675866127014, 0.13399997353553772, -0.2596127688884735, 0.16936147212982178, 0.17954732477664948, 0.5296453833580017, 0.720920741558075, -0.04562370479106903, -0.5163676738739014, -0.5813185572624207, 0.5816918611526489, -0.6378790736198425, 0.8771471977233887, 0.5531259179115295, 0.4390092194080353, -0.23194003105163574, -0.6511005759239197, -0.42157745361328125, -0.6854641437530518, 0.016658153384923935, -0.0029223160818219185, -0.15801642835140228, -0.009316783398389816, 0.2726650536060333, 0.45681142807006836, -0.784589946269989, -0.21004369854927063, -0.15671318769454956, -0.32992464303970337, 0.500349760055542, 0.13575126230716705, 0.04066763073205948, -0.4302068054676056, -0.14595846831798553, -0.04338747262954712, -0.17965613305568695, -0.4481082558631897, 0.19150564074516296, 0.02864573895931244, 0.24165251851081848, 0.5582761168479919, -0.28403741121292114, 0.3792682886123657, -0.07665105164051056, 0.034535836428403854, 0.3376821279525757, -0.06756876409053802, -0.30391544103622437, 0.45106035470962524, 0.8942711353302002, 0.48781028389930725, 0.1701185554265976, -0.5904772281646729, -0.20395013689994812, 0.1661497801542282, 0.5265892744064331, -0.9515265822410583, -0.44825494289398193, 0.4974738657474518, -0.35185638070106506, -0.22400452196598053, -0.11987727880477905, -1.1809414625167847, -0.8290842175483704, -0.274943470954895, 0.39584580063819885, -0.4831889569759369, -0.06517470628023148, 0.20272761583328247, 0.02925739251077175, 0.13843795657157898, 0.26889097690582275, -0.6094340682029724, 0.5452128052711487, 0.8205403089523315, 0.9871214032173157, -0.5187739133834839, -0.3388528823852539, -0.9249628186225891, -0.23987068235874176, -0.3907661437988281, 0.8726455569267273, -0.6075699329376221, -0.24196867644786835, 0.06465302407741547, 0.012834024615585804, -0.09167961031198502, -1.0094339847564697, 0.9067526459693909, -0.29668450355529785, 0.003317252267152071, -0.1807209849357605, -0.39730340242385864, -0.25234654545783997, 0.2790287137031555, -0.7393825650215149, 1.0522511005401611, -0.061399538069963455, -0.5336596965789795, 0.4449200928211212, -0.20589186251163483, -0.2767271101474762, 0.08879964798688889, -0.35484927892684937, -0.3197168707847595, 0.23111195862293243, 0.022981388494372368, 0.38276904821395874, -0.5165744423866272, 0.7404788136482239, -0.2770925760269165, -0.5707197785377502, 0.2836267054080963, -0.6755837798118591, 0.5128649473190308, -0.06590501219034195, -0.6322667002677917, 0.1879391223192215, -0.8135184049606323, -0.08240216970443726, -0.08549182116985321, 0.06784064322710037, -0.15824788808822632, -0.06771165132522583, 0.023644590750336647, 0.1421813666820526, 0.01805942878127098, -0.33172520995140076, 0.002085912972688675, -0.45994073152542114, 0.012169787660241127, 0.7242687344551086, 0.015500662848353386, -0.02873789332807064, -0.4279959201812744, 0.43163537979125977, -0.22557561099529266, 0.10879900306463242, 0.20486636459827423, -0.3131338357925415, -0.8561896681785583, -0.39374011754989624, 0.15158525109291077, 0.43363136053085327, -0.34377148747444153, 0.7827378511428833, -0.31260424852371216, -0.5644855499267578, -0.6456583142280579, 0.033383723348379135, 0.230830118060112, 0.31611111760139465, 0.44263017177581787, -0.43042346835136414, -0.6588292121887207, -0.863929271697998, -0.1894841194152832, -0.21998538076877594, 0.06484280526638031, 0.24614490568637848, 0.4533407688140869, -0.5217164158821106, 0.6229718327522278, -0.2109815925359726, -0.6460633277893066, -0.02798016555607319, 0.3930932879447937, 0.16674023866653442, 0.1570461541414261, 0.08378704637289047, -0.34495308995246887, -0.1419803351163864, -0.11850612610578537, -1.0450412034988403, -0.5018519759178162, -0.28036677837371826, -0.24142257869243622, 0.31555137038230896, 0.4884490966796875, -0.6620153188705444, 0.39274004101753235, 0.6300801634788513, -0.2645243704319, 0.8359737396240234, 0.06637633591890335, 0.3511018455028534, -0.6450557112693787, 0.10103420913219452, -0.36136776208877563, -0.1996263563632965, -0.4540177285671234, -0.1297939419746399, -0.2639895975589752, 0.12666161358356476, -0.031592004001140594, 0.44447532296180725, -0.16907016932964325, -0.3787219226360321, -0.023389989510178566, 0.4389074742794037, -0.21395795047283173, 0.5636955499649048, 0.25139859318733215, 0.6176297664642334, 0.2595110833644867, -0.38968318700790405, 0.5400776267051697, 0.29429692029953003, -0.5426744818687439, 0.48783376812934875, -0.6327786445617676, 0.2296266406774521, 0.13523396849632263, 0.255575031042099, -0.9620795845985413, -0.2555861473083496, 0.33049696683883667, -0.2483600378036499, -0.19210287928581238, 0.03722887858748436, -0.5134523510932922, 0.06370402872562408, -0.39554083347320557, 0.44550418853759766, 0.34727782011032104, -0.6457722187042236, 0.6628668308258057, 0.3046890199184418, -0.1538146585226059, -0.465658962726593, -0.15906181931495667, 0.43772202730178833, -0.13677743077278137, -0.5244829058647156, 0.17952071130275726, -0.2521856725215912, -0.3969739079475403, -0.4218606948852539, -0.3720949590206146, 0.1518103927373886, -0.04053797572851181, 0.5798059701919556, 0.1595163196325302, -0.018084943294525146, 0.08809477090835571, -0.0832267701625824, -0.11546933650970459, 0.47097092866897583, -0.12158755958080292, 1.0778521299362183, -0.19276933372020721, -0.46307551860809326, -0.5419979691505432, 0.02395283244550228, 0.6920472979545593, 0.1236223578453064, 0.4115246832370758, 0.6174231767654419, -0.532292902469635, -0.2742183804512024, -1.1246099472045898, -0.3221122622489929, -0.35875192284584045, 0.3438570201396942, -0.4669693410396576, -0.5330433249473572, 0.38809627294540405, -0.006736954674124718, 0.027179589495062828, 0.22593963146209717, 0.5581285953521729, 0.32650327682495117, 0.8639001250267029, -0.039368096739053726, -0.24885797500610352, -0.00035467708948999643, -0.010435588657855988, 0.25065702199935913, -0.7494789361953735, -0.41491106152534485, -0.509782612323761, -0.03313520923256874, -0.4273841977119446, -0.5717089772224426, 0.19707942008972168, 0.0638166293501854, 0.11848422884941101, 0.2029106765985489, -0.6551398634910583, 0.294077605009079, 0.3159894347190857, -0.050340816378593445, 0.7162213325500488, -0.06403494626283646, -0.10899139940738678, -0.27240678668022156, -0.3337970972061157, -0.5822650790214539, 0.9393846392631531, 0.395119309425354, 0.6944047808647156, 0.0862780436873436, 0.6930161714553833, 0.6202825903892517, 0.1881415694952011, -0.9078183174133301, 0.7904531359672546, 0.29614633321762085, -0.3665873408317566, -0.37997421622276306, -0.5138979554176331, -0.771508514881134, 0.4214121103286743, -0.12244053184986115, -0.8576197028160095, 0.17765673995018005, -0.12681731581687927, -0.12447226792573929, -0.019603179767727852, -0.2442276030778885, 0.8374027013778687, -0.24932914972305298, -0.4692247211933136, -0.3944014608860016, -0.3264079689979553, 0.5292147397994995, -0.27603861689567566, 0.07538694143295288, -0.1917712688446045, 0.3329191207885742, 0.7093982696533203, -0.2251763492822647, 0.5983831882476807, -0.18266206979751587, -0.2628878653049469, -0.14221754670143127, 0.592751681804657, 0.4930368661880493, 0.38180282711982727, -0.14386144280433655, 0.46465814113616943, 0.06994957476854324, 0.10478831082582474, -0.6515352725982666, 0.7295627593994141, -0.4832015037536621, -0.572039008140564, -0.6008049845695496, -0.4611520767211914, -0.2820693552494049, -0.04299718514084816, 0.1305002123117447, 0.3508381247520447, -0.5606852173805237, 0.2769288718700409, 0.8272724747657776, -0.3160819411277771, 0.11233214288949966, 0.24492470920085907, -0.6737208962440491, -0.4513155221939087, 0.9876660704612732, -0.22913603484630585, -0.011256563477218151, 0.11645569652318954, 0.10861006379127502, -0.38290679454803467, -0.7077023983001709, -0.25312718749046326, 0.2895772457122803, -0.639599084854126, -0.09890655428171158, -1.1627637147903442, -0.4205435812473297, -0.4752298593521118, -0.0010661195265129209, -0.44218844175338745, -0.2991398274898529, 0.06413310766220093, 0.11598460376262665, 0.09266936033964157, 0.5074352622032166, 0.006079597864300013, -0.3216593563556671, -0.4729689061641693, 0.8284764289855957, 0.42553117871284485, 0.4094398021697998, -0.057821184396743774, -0.6673374176025391, 0.11355797201395035, -0.14540638029575348, -0.09729640185832977, -0.6394646763801575, 0.45036378502845764, 0.04752156138420105, 0.5329076647758484, 0.46535518765449524, 0.28595519065856934, 0.7245094776153564, -0.3411893844604492, 0.5918145775794983, 0.022643625736236572, -1.014367699623108, 0.3376454710960388, -0.04316899925470352, 0.1877932846546173, 0.9861690998077393, 0.25611642003059387, -0.7269551753997803, -0.7581154108047485, -0.24291740357875824, -0.617514967918396, 0.46569913625717163, 0.49903374910354614, -0.15358573198318481, -0.10878698527812958, -0.06532451510429382, 0.4248494803905487, 0.3546271324157715, -0.8184611797332764, 0.1668580025434494, -0.3465365469455719, -0.09166347235441208, 0.04503806680440903, -0.26662278175354004, -0.2049442082643509, -0.36824703216552734, 0.7371130585670471, -0.0006600828492082655, 0.33437827229499817, 0.3557209074497223, -0.5385196805000305, -0.04638012871146202, 0.15962907671928406, 0.6029248237609863, 0.5832809805870056, -0.680822491645813, 0.2099059671163559, 0.2781676650047302, -0.5994056463241577, 0.0346994586288929, 0.3036831021308899, 0.09737331420183182, 0.3608902096748352, 0.3774445354938507, 0.6507011651992798, 0.18693742156028748, -1.1242263317108154, 0.5829828381538391, -0.3473324477672577, -0.22152036428451538, -0.6457170248031616, 0.07851439714431763, -0.19869787991046906, 0.3304627239704132, 0.3422129452228546, -0.11574294418096542, 0.5429144501686096, -0.6960784792900085, 0.3206638693809509, 0.5401418209075928, -0.620714008808136, -0.13201473653316498, 0.6817117929458618, 0.13385628163814545, -0.49998554587364197, 0.6683456897735596, -0.2803804278373718, -0.570746123790741, 0.23023591935634613, 0.2984943687915802, 1.3192464113235474, -0.17476113140583038, 0.33091720938682556, 0.459952175617218, 0.4674535393714905, -0.09131729602813721, 0.13659265637397766, -0.2680028975009918, -0.5062042474746704, -0.06914371252059937, -0.9238730072975159, -0.4620373845100403, 0.43798598647117615, -0.6018714308738708, 0.20744362473487854, -0.4767756760120392, -0.08292791992425919, -0.1537255346775055, -0.07798182219266891, -0.38808131217956543, 0.032204896211624146, 0.025490177795290947, 0.7311757802963257, -0.46699783205986023, 0.5370787382125854, 0.04239659756422043, -0.1320035755634308, -0.046778354793787, 0.33942607045173645, 0.054012563079595566, -0.5413795113563538, 0.5356066226959229, 0.5032901763916016, -0.4592247009277344, -0.26302120089530945, -0.1508328765630722, -0.3412027359008789, 0.8850628733634949, 0.2164716124534607, -0.7350346446037292, -0.06196009740233421, 0.3862035274505615, 0.543298602104187, -0.3278629183769226, 0.40419504046440125, 0.9694497585296631, 0.5213932394981384, 0.14049741625785828, -0.7783312797546387, 0.32516005635261536, -0.32049092650413513, -0.25687548518180847, 0.02888525277376175, -0.44728174805641174, 0.28610262274742126, 0.20142334699630737, -0.11447212845087051, 0.27124103903770447, 0.44826462864875793, 0.38631048798561096, 0.378150999546051, 0.6931960582733154, 0.4840700924396515, 0.8376500606536865, -0.1596069037914276, 0.5819743275642395, -0.4483788311481476, -0.09366684406995773, 1.327986717224121, -0.5696384906768799, 0.7121806740760803, 0.3893071711063385, 0.22226746380329132, 0.2998555898666382, 0.3234094977378845, -0.20094649493694305, 0.4206036627292633, 0.37002962827682495, -0.2809115946292877, -0.16475144028663635, -0.24835249781608582, -0.43909648060798645, 0.4686095714569092, 0.29341191053390503, -0.21162617206573486, 0.12772704660892487, 0.039056017994880676, -0.25286275148391724, -0.082132488489151, 0.25876912474632263, 0.9625696539878845, -0.04918272793292999, -0.849224328994751, 0.9407431483268738, -0.3607425391674042, 0.45258790254592896, -0.3822873830795288, -0.1912863403558731, -0.4045998156070709, -0.034896086901426315, -0.20924440026283264, -0.26090681552886963, 0.28981366753578186, 0.005501888692378998, 0.18767185509204865, 0.027632536366581917, 0.4492507874965668, -0.346329003572464, -0.2900952100753784, 0.6368706822395325, 0.30229759216308594, 0.5271970629692078, -0.36346784234046936, -0.4789229929447174, 0.5497824549674988, -0.07168105989694595, -0.11118427664041519, -0.05429426208138466, 0.5111039280891418, 0.07866895198822021, 0.6173363924026489, 0.48896658420562744, 0.1476026475429535, 0.026258569210767746, 0.5917895436286926, 0.7553984522819519, -0.8445852994918823, -0.03708888962864876, -0.7081494331359863, 0.1964513659477234, -0.3662620782852173, -0.3879520297050476, 0.7229699492454529, 0.8575712442398071, 0.6160795092582703, 0.16314099729061127, 0.6347236037254333, 0.1566176414489746, 0.3098936975002289, -0.6275588870048523, 0.639014482498169, -0.44058892130851746, 0.43491843342781067, -0.6006539463996887, -1.5014084577560425, -0.18288959562778473, 0.8879733681678772, -0.1856074333190918, -0.10036978125572205, 0.9555172324180603, 1.0615284442901611, -0.03790045529603958, 0.42258507013320923, 0.55164635181427, 0.4822569489479065, 0.13667450845241547, 0.3738633990287781, 1.2117620706558228, -0.36261653900146484, 0.5422561168670654, -0.19852282106876373, -0.22443802654743195, -0.46512532234191895, -0.5615843534469604, -1.2523329257965088, -0.5796793699264526, -0.28243377804756165, -0.36552783846855164, 0.27052730321884155, 1.1547185182571411, 0.5494428873062134, -0.8260132074356079, -0.4165685772895813, -0.29458141326904297, -0.012349184602499008, -0.09174004942178726, -0.2607499063014984, 0.11753317713737488, -0.40517282485961914, -0.6853690147399902, 0.5513693690299988, 0.5006000995635986, -0.24275632202625275, -0.580736517906189, -0.19361643493175507, -0.03209991380572319, 0.24664852023124695, 0.6467786431312561, -0.13324137032032013, -0.8472791910171509, -0.12648895382881165, -0.002313116332516074, -0.09401527047157288, 0.13146604597568512, 0.7789265513420105, -0.7829110622406006, 0.540870189666748, 0.3359513282775879, 0.6519924998283386, 0.4665035605430603, -0.056235093623399734, 0.427914023399353, -0.22476865351200104, 0.06740334630012512, 0.50601726770401, 0.0940014123916626, 0.2270965874195099, -0.20573222637176514, 0.6722450256347656, 0.10561522096395493, -0.6161153316497803, -1.211989164352417, -0.07891179621219635, -1.0191813707351685, -0.14821650087833405, 1.0682843923568726, 0.31016644835472107, 0.04403601214289665, -0.36527153849601746, -0.36217111349105835, 0.1346239447593689, -0.506627082824707, 1.504388451576233, 0.8199154734611511, 0.07299543172121048, -0.0414654016494751, -0.7041884660720825, 0.6891086101531982, 0.6147592663764954, -1.0968730449676514, 0.502331018447876, 0.7677809596061707, -0.27882570028305054, 0.18009847402572632, 0.5291874408721924, -0.05847587063908577, 0.26158639788627625, 0.03263929486274719, 0.04812418296933174, 0.28954508900642395, -0.737730085849762, -0.38025587797164917, 0.2373102307319641, -0.055529385805130005, 0.22243598103523254 ]
http://arxiv.org/abs/2406.07060v1
http://arxiv.org/pdf/2406.07060v1
Reading Miscue Detection in Primary School through Automatic Speech Recognition
2024-06-11T08:41:21
2024-06-11T08:41:21
Lingyun Gao, Cristian Tejedor-Garcia, Helmer Strik, Catia Cucchiarini
cs.CL
cs.CL, cs.AI, cs.LG
Automatic reading diagnosis systems can benefit both teachers for more efficient scoring of reading exercises and students for accessing reading exercises with feedback more easily. However, there are limited studies on Automatic Speech Recognition (ASR) for child speech in languages other than English, and limited research on ASR-based reading diagnosis systems. This study investigates how efficiently state-of-the-art (SOTA) pretrained ASR models recognize Dutch native children speech and manage to detect reading miscues. We found that Hubert Large finetuned on Dutch speech achieves SOTA phoneme-level child speech recognition (PER at 23.1\%), while Whisper (Faster Whisper Large-v2) achieves SOTA word-level performance (WER at 9.8\%). Our findings suggest that Wav2Vec2 Large and Whisper are the two best ASR models for reading miscue detection. Specifically, Wav2Vec2 Large shows the highest recall at 0.83, whereas Whisper exhibits the highest precision at 0.52 and an F1 score of 0.52.
[ -0.3299029767513275, -0.4426935613155365, 0.19501525163650513, 0.13642531633377075, -0.21681444346904755, -0.19130346179008484, -0.05988183617591858, -0.906295895576477, -0.16930119693279266, 0.3488367199897766, -0.4165927469730377, -0.3084834814071655, -0.8676463961601257, 0.39587002992630005, -0.8270443081855774, 0.5678412914276123, -0.062247131019830704, 0.15261255204677582, 0.15027789771556854, 0.028787145391106606, -0.6210637092590332, -0.4112884998321533, -0.9625071883201599, -0.44757384061813354, 0.36858493089675903, 0.9342418909072876, 0.3952796757221222, 0.4960636794567108, 0.4952125549316406, 0.36426037549972534, -0.18279896676540375, 0.012548407539725304, -0.2692037522792816, 0.35112547874450684, -0.11093045026063919, -0.2209058254957199, -0.13685548305511475, -0.08191613107919693, 0.5543956756591797, 0.492641806602478, -0.12990261614322662, -0.13083872199058533, 0.4039102792739868, 0.7854298949241638, -0.6204726696014404, 0.0388728566467762, -0.17465081810951233, 0.04373354837298393, -0.31409186124801636, 0.0157894566655159, -0.5274593830108643, -0.4277065098285675, 0.6710224151611328, -0.776792049407959, 0.4377717673778534, -0.011999828740954399, 0.8812404870986938, 0.12120745331048965, -0.4832491874694824, -0.9324097037315369, -0.7626367807388306, 0.7189689874649048, -0.3172512352466583, 0.66999751329422, 0.8570606708526611, 0.5097262263298035, 0.16489334404468536, -0.5026079416275024, -0.7581354975700378, -0.1867796927690506, -0.09305121004581451, 0.23807980120182037, -0.6271088123321533, -0.05300864204764366, 0.08189556747674942, 0.2592601776123047, -1.0226320028305054, 0.2520090639591217, -0.44826045632362366, -0.33497199416160583, 0.5613726377487183, 0.04689238220453262, 0.1698545664548874, -0.24083618819713593, -0.11290465295314789, -0.20192591845989227, -0.3389577269554138, 0.25212740898132324, 0.3414405882358551, 0.4028235971927643, 0.09274119883775711, 0.3022194802761078, 0.07896794378757477, 0.7007793188095093, 0.14386719465255737, -0.275231271982193, 0.1774187982082367, -0.23904608190059662, 0.0745895504951477, 0.44164350628852844, 0.6705953478813171, -0.05794958397746086, 0.6527966260910034, 0.07815805822610855, -0.3268736004829407, 0.4148454964160919, -0.06503695249557495, -0.5226988196372986, -0.37650054693222046, -0.20785176753997803, -0.47836384177207947, -0.0037621986120939255, -0.1398494690656662, -0.33104580640792847, -0.407578706741333, -0.48468831181526184, 0.7693361043930054, -0.8216173052787781, -0.2181490957736969, 0.49030470848083496, -0.23732750117778778, 0.1258903592824936, 0.395702064037323, -0.8707777261734009, 0.42196568846702576, 0.32299914956092834, 0.6023501753807068, -0.20676375925540924, -0.0860668495297432, -0.40897268056869507, 0.006022923160344362, -0.2531611919403076, 1.1182087659835815, -0.3881668746471405, -0.617235541343689, 0.03282710909843445, -0.023367686197161674, -0.3662422001361847, -0.7555307149887085, 0.6537313461303711, -0.32930585741996765, 0.19882123172283173, -0.2782333791255951, -0.4958145320415497, -0.1722751408815384, 0.12255033105611801, -0.4638320505619049, 1.0629016160964966, -0.14362749457359314, -0.7552732229232788, 0.4479694068431854, -0.355612576007843, -0.652067244052887, -0.1857658475637436, 0.29548966884613037, -0.4643138349056244, -0.17765195667743683, 0.21679048240184784, 0.31026533246040344, -0.06708503514528275, 0.02338228188455105, 0.35538923740386963, -0.6203216910362244, -0.11013531684875488, -0.7763968706130981, 0.7810185551643372, 0.2717941105365753, -0.18021677434444427, -0.2019779235124588, -0.7992243766784668, -0.10314450412988663, 0.031600382179021835, -0.5351006388664246, -0.3918532729148865, -0.027139123529195786, 0.10059429705142975, -0.09987515211105347, -0.0029274211265146732, -0.6022295355796814, 0.04572414606809616, -0.3561647832393646, 0.19401583075523376, 0.24148571491241455, -0.09572423249483109, 0.049447767436504364, -0.4082694351673126, 0.3478868901729584, 0.22718900442123413, 0.049244705587625504, -0.13638940453529358, -0.7144469618797302, -0.9469411373138428, -0.25940537452697754, 0.4322353005409241, 1.0601102113723755, -0.9022713899612427, 0.6982279419898987, 0.08705789595842361, -0.4771561622619629, -0.4557877480983734, -0.16477879881858826, 0.6903806924819946, 0.6432742476463318, 0.3963250517845154, -0.14541329443454742, -0.6413251161575317, -0.631359875202179, -0.4570719003677368, -0.2515829801559448, -0.031330376863479614, 0.27083051204681396, 0.3897090554237366, -0.3396696448326111, 0.601274847984314, -0.22048069536685944, -0.5815741419792175, -0.20120574533939362, 0.06419490277767181, 0.16855621337890625, 0.6092291474342346, 0.3552325367927551, -0.6022493243217468, -0.8619359135627747, -0.028421012684702873, -0.4469689428806305, -0.27816614508628845, 0.35789451003074646, 0.28983429074287415, 0.18486952781677246, 0.6213910579681396, -0.1552194505929947, 0.7654757499694824, 0.41535916924476624, -0.6899503469467163, 0.6392239928245544, -0.3363395631313324, 0.2089652717113495, -0.6469240784645081, -0.08662388473749161, 0.0761779397726059, -0.5215612649917603, -0.7574228644371033, -0.4299922287464142, 0.21268342435359955, 0.003290161257609725, -0.06547123193740845, 0.21674109995365143, -0.45099908113479614, -0.057193733751773834, -0.2515028715133667, 0.21975941956043243, -0.09692702442407608, -0.24300852417945862, 0.25380080938339233, 0.7672268152236938, 0.6844050884246826, -0.6705079674720764, 0.09089073538780212, 0.4231261610984802, -0.3803485929965973, 0.4458295404911041, -0.6462306380271912, 0.06861148774623871, -0.03396335616707802, 0.1060740202665329, -1.1532129049301147, 0.07802681624889374, 0.1722404509782791, -0.643617570400238, 0.6737047433853149, 0.21087682247161865, -0.540557861328125, -0.7193285226821899, 0.13453352451324463, 0.17896373569965363, 0.1710854470729828, -0.772319495677948, 0.5141720771789551, 0.3796795904636383, -0.4410565495491028, -0.6202890872955322, -0.763035237789154, -0.22559596598148346, 0.23958590626716614, -0.5979242920875549, -0.06156736612319946, 0.12202765792608261, 0.06456200033426285, -0.16965194046497345, -0.2982374131679535, -0.4264356791973114, -0.13404908776283264, 0.11182255297899246, 0.1663394421339035, -0.6083247661590576, 0.2698275148868561, 0.14530064165592194, -0.6459417939186096, -0.3923543393611908, 0.04445194825530052, 0.5104976892471313, -0.17955626547336578, -0.2828080654144287, -0.8723927140235901, 0.524279773235321, 0.35793885588645935, -0.02270442619919777, 0.21438118815422058, 0.3252565264701843, -0.4751892387866974, -0.14980341494083405, -0.543827474117279, -0.243412584066391, -0.5754664540290833, -0.014466595835983753, -0.401426762342453, -0.6946163177490234, 0.28705132007598877, 0.23763132095336914, -0.18239209055900574, 0.34626510739326477, 0.2606044411659241, -0.4159267246723175, 0.8922432661056519, 0.5328782796859741, -0.21188557147979736, 0.6458950638771057, -0.28327569365501404, 0.32244399189949036, -0.46926313638687134, -0.016163870692253113, -0.8684116005897522, -0.26871946454048157, -0.2599746584892273, -0.21486139297485352, 0.3814704418182373, 0.16077332198619843, -0.19976931810379028, 0.4485708177089691, -0.7945419549942017, 0.6677958965301514, 0.7640611529350281, -0.04660395160317421, 0.6784160137176514, -0.0009114722488448024, -0.23489625751972198, -0.2727566063404083, -0.5392283201217651, -0.6454576849937439, 0.9608647227287292, 0.12311667203903198, 0.47241517901420593, 0.1380271017551422, 0.6810411810874939, 0.28983813524246216, 0.2847176194190979, -1.0613956451416016, 0.32459285855293274, -0.6962752342224121, -0.7390937209129333, -0.5361801385879517, -0.20707523822784424, -1.442908763885498, 0.32317429780960083, -0.2188580185174942, -0.5905227661132812, 0.7041674852371216, 0.19918569922447205, -0.4215511083602905, 0.04158966243267059, -0.8852007389068604, 0.7153798341751099, 0.23696859180927277, 0.2083251178264618, -0.12430635094642639, -0.6461888551712036, 0.23935547471046448, 0.034487105906009674, 0.048409853130578995, 0.16964003443717957, 0.24572966992855072, 0.784638524055481, -0.366828054189682, 0.5147725939750671, -0.3373261094093323, -0.013515891507267952, 0.5870556235313416, 0.05610296130180359, 0.40142276883125305, -0.3317982256412506, -0.13799315690994263, 0.08021030575037003, 0.22336751222610474, -0.1881188005208969, -0.12863121926784515, 0.4019073247909546, -0.9246653914451599, -0.2763490378856659, -0.9608533978462219, -0.27366387844085693, -0.40885791182518005, 0.18786410987377167, 0.6470009684562683, 0.47464999556541443, 0.06956885755062103, 0.1442393809556961, 0.8132590651512146, -0.1260768175125122, 0.4639228582382202, 1.3054848909378052, 0.037308864295482635, -0.0955805629491806, 1.0424531698226929, 0.5741438269615173, -0.014121860265731812, -0.0824848935008049, 0.3713497817516327, -0.36535221338272095, -0.6119409203529358, -0.23732884228229523, 0.2593366503715515, -0.5818905830383301, -0.31952202320098877, -0.7957119345664978, -0.5070736408233643, -0.4231361448764801, -0.3317195475101471, -0.25291821360588074, -0.2977600693702698, -0.6148281693458557, -0.12676426768302917, 0.33303460478782654, 0.7658547163009644, -0.5326266288757324, 0.6383820176124573, -0.7272859811782837, 0.6040481328964233, 0.46443337202072144, 0.10324657708406448, 0.008165708743035793, -0.9190962314605713, 0.08702688664197922, -0.3355114758014679, -0.49601447582244873, -0.7792567014694214, 0.4924110472202301, 0.3357557952404022, 0.21993951499462128, 0.6722425222396851, 0.06927583366632462, 0.825448751449585, -0.6660839915275574, 0.5519378185272217, 0.33006346225738525, -1.0496375560760498, 0.7070277333259583, -0.06676053255796432, 0.09780994057655334, 0.5844160914421082, 0.3671756684780121, -0.7375154495239258, -0.3652578294277191, -0.35988348722457886, -0.5671598315238953, 1.010183572769165, -0.10301408171653748, -0.1740790456533432, 0.1293765902519226, 0.12297840416431427, 0.3052840530872345, -0.2562512457370758, -0.3083352744579315, -0.3297753632068634, -0.077355295419693, -0.5261907577514648, -0.21592390537261963, -0.4191167950630188, 0.32459336519241333, -0.6934634447097778, 0.6370174288749695, 0.1796601116657257, 0.1764223873615265, 0.3627840280532837, -0.22544166445732117, -0.2578049302101135, 0.10969706624746323, 0.38567429780960083, 0.15725216269493103, 0.1435411423444748, -0.024702830240130424, -0.014475774951279163, -1.1875810623168945, 0.398677259683609, 0.3114759624004364, -0.08850594609975815, 0.33021047711372375, 0.6067641973495483, 0.4739648401737213, 0.25092458724975586, -0.5969709157943726, 0.9357078671455383, -0.265420138835907, -0.48937323689460754, -0.33321046829223633, 0.28384584188461304, 0.03712519630789757, 0.42892569303512573, 0.3470865786075592, 0.25199759006500244, 0.45383957028388977, -0.3480541706085205, 0.30345621705055237, 0.044819075614213943, -0.4828941822052002, -0.15151001513004303, 0.28228557109832764, 0.19422633945941925, -0.49766063690185547, 0.5775936841964722, -0.09026182442903519, -0.583477258682251, 0.5139539837837219, 0.9347856640815735, 0.5561237335205078, -0.7821497321128845, 0.13487191498279572, 0.33504149317741394, 0.474895715713501, -0.2135397046804428, 0.8074148297309875, -0.17758363485336304, -1.038813591003418, -0.008917923085391521, -0.4419777989387512, -0.42704957723617554, 0.031042002141475677, -0.9991043210029602, 0.3700415790081024, -0.35851922631263733, 0.005052682012319565, 0.25908446311950684, 0.2005908340215683, -0.5993244051933289, 0.4253295958042145, 0.2786533832550049, 0.8047524094581604, -0.9943232536315918, 1.018014907836914, 0.46642979979515076, -0.07193759828805923, -0.8433988094329834, 0.03444954752922058, 0.14508284628391266, -0.8359631299972534, 0.5276104807853699, 0.3257957994937897, -0.32177722454071045, 0.2202669382095337, -0.22849097847938538, -0.9623659253120422, 0.8120945692062378, 0.18658967316150665, -1.048582911491394, 0.05315777286887169, -0.07506818324327469, 0.5531554222106934, 0.07293245196342468, 0.1416410505771637, 1.0094128847122192, 0.5501717329025269, 0.28058576583862305, -1.3005858659744263, -0.5732181072235107, 0.09281158447265625, -0.2900533676147461, 0.13123169541358948, -0.37507978081703186, 0.6406229138374329, -0.13648712635040283, -0.4630794823169708, 0.1392773985862732, 0.6533269286155701, 0.49057236313819885, 0.8452875018119812, 0.5996107459068298, 0.5600892305374146, 1.103481411933899, -0.12149050831794739, 0.8591898083686829, -0.07261668145656586, 0.08969057351350784, 0.7984350323677063, -0.1096096858382225, 1.1342122554779053, 0.12014858424663544, -0.23286089301109314, 0.2961701452732086, 0.5939347147941589, 0.3900502324104309, 0.5584946274757385, -0.0521307997405529, -0.28394022583961487, -0.21859464049339294, 0.18001395463943481, -0.3784886300563812, 0.5083587169647217, 0.7171371579170227, -0.2459488809108734, -0.17182570695877075, 0.44032973051071167, -0.14580805599689484, 0.20714856684207916, -0.5224459171295166, 0.9262178540229797, 0.1882282793521881, -0.3847810626029968, 0.9217737913131714, -0.22566242516040802, 0.8387423753738403, -0.5043503642082214, 0.16500727832317352, 0.07087810337543488, 0.42607802152633667, -0.08898463100194931, -0.7155271768569946, 0.44157570600509644, 0.31945809721946716, -0.4729858636856079, -0.14673292636871338, 0.9369966983795166, -0.46099627017974854, -0.4970300495624542, 0.3142533004283905, 0.38472360372543335, 0.4132702052593231, 0.03268308937549591, -0.6083104610443115, -0.01458220649510622, -0.165743887424469, -0.22310508787631989, -0.07714813202619553, 0.6181885004043579, 0.03632931783795357, 0.6638630628585815, 0.49801430106163025, 0.154709130525589, 0.2632448971271515, 0.14586032927036285, 0.49408209323883057, -0.522368848323822, -0.6634445190429688, -0.3116037845611572, 0.23316113650798798, 0.17447203397750854, -0.6244367361068726, 0.5888012051582336, 0.4684144854545593, 0.5745834112167358, 0.016522260382771492, 0.6239138245582581, 0.31114041805267334, 1.2203999757766724, -0.20527052879333496, 0.8168114423751831, -0.4374428987503052, -0.1692890226840973, -0.20516802370548248, -0.6622858047485352, -0.6016055941581726, 1.264281988143921, -0.552031397819519, -0.29871508479118347, 0.7894774079322815, 0.6658115983009338, -0.1536683887243271, 0.6022002696990967, 0.33600640296936035, 0.26738977432250977, 0.06931104511022568, 0.48498713970184326, 0.9092352986335754, -0.635608434677124, 0.596211850643158, 0.17687585949897766, -0.3073696494102478, -0.5490062832832336, -0.16613256931304932, -0.6837912201881409, -0.37274467945098877, -0.254218727350235, -0.2549005150794983, 0.25803712010383606, 0.6659561395645142, 0.6007478833198547, -1.226631999015808, -0.06815054267644882, -0.15650397539138794, 0.0484711192548275, -0.2630060613155365, -0.23597119748592377, 0.35926300287246704, -0.15040333569049835, -0.6533254384994507, 0.5900783538818359, 0.15062841773033142, 0.1654784083366394, 0.12900139391422272, -0.09463747590780258, -0.04552067071199417, 0.2185731828212738, 0.6309590935707092, 0.49720707535743713, -0.4673110246658325, -0.35564011335372925, -0.24875351786613464, -0.49452805519104004, 0.05267147719860077, 0.5788089632987976, -0.7381404638290405, 0.6236147284507751, 0.4626457691192627, 0.4223880469799042, 0.5798160433769226, -0.08376623690128326, 0.22569790482521057, -0.38595736026763916, 0.2467309534549713, 0.690840482711792, 0.19459472596645355, 0.2747131288051605, -0.14198794960975647, 0.22528284788131714, 0.33345526456832886, -0.6537351012229919, -0.9307307004928589, 0.056943729519844055, -0.7181604504585266, -0.0839252695441246, 0.9551202058792114, -0.15513913333415985, -0.17076069116592407, -0.7581658363342285, -0.4939989149570465, 0.1741391122341156, -0.3929137885570526, 0.5333198308944702, 0.7363362312316895, -0.1144237220287323, 0.025932269170880318, -0.4298458695411682, 0.33918726444244385, 0.3818659484386444, -0.2610039710998535, -0.05607212334871292, 0.3920193612575531, 0.424697607755661, 0.19078019261360168, 0.6977730393409729, 0.029620962217450142, 0.6065918207168579, 0.2821316421031952, -0.09271544963121414, 0.04955318197607994, -0.6309951543807983, -0.47836145758628845, 0.004705430008471012, -0.2755418121814728, -0.38173913955688477 ]
http://arxiv.org/abs/2406.07057v1
http://arxiv.org/pdf/2406.07057v1
Benchmarking Trustworthiness of Multimodal Large Language Models: A Comprehensive Study
2024-06-11T08:38:13
2024-06-11T08:38:13
Yichi Zhang, Yao Huang, Yitong Sun, Chang Liu, Zhe Zhao, Zhengwei Fang, Yifan Wang, Huanran Chen, Xiao Yang, Xingxing Wei, Hang Su, Yinpeng Dong, Jun Zhu
cs.CL
cs.CL, cs.AI, cs.CV, cs.LG
Despite the superior capabilities of Multimodal Large Language Models (MLLMs) across diverse tasks, they still face significant trustworthiness challenges. Yet, current literature on the assessment of trustworthy MLLMs remains limited, lacking a holistic evaluation to offer thorough insights into future improvements. In this work, we establish MultiTrust, the first comprehensive and unified benchmark on the trustworthiness of MLLMs across five primary aspects: truthfulness, safety, robustness, fairness, and privacy. Our benchmark employs a rigorous evaluation strategy that addresses both multimodal risks and cross-modal impacts, encompassing 32 diverse tasks with self-curated datasets. Extensive experiments with 21 modern MLLMs reveal some previously unexplored trustworthiness issues and risks, highlighting the complexities introduced by the multimodality and underscoring the necessity for advanced methodologies to enhance their reliability. For instance, typical proprietary models still struggle with the perception of visually confusing images and are vulnerable to multimodal jailbreaking and adversarial attacks; MLLMs are more inclined to disclose privacy in text and reveal ideological and cultural biases even when paired with irrelevant images in inference, indicating that the multimodality amplifies the internal risks from base LLMs. Additionally, we release a scalable toolbox for standardized trustworthiness research, aiming to facilitate future advancements in this important field. Code and resources are publicly available at: https://multi-trust.github.io/.
[ -0.27873337268829346, -0.47395768761634827, 0.5846952199935913, 0.3897722661495209, 0.04120313376188278, 0.14633150398731232, -0.21401526033878326, -0.5619503855705261, -0.40686535835266113, 0.19581721723079681, -0.33490413427352905, -0.38258233666419983, -0.7972500920295715, -0.11608657985925674, -0.38703304529190063, 0.8454680442810059, -0.008563078008592129, 0.2031521201133728, -0.5035574436187744, -0.5620390772819519, -0.13660269975662231, -0.6973146200180054, -0.3755268156528473, -0.2711535692214966, 0.7390455603599548, -0.09136714041233063, 0.7718023061752319, 0.3620477616786957, 0.7588131427764893, 0.3118908405303955, 0.013048268854618073, 0.18421854078769684, -0.39777666330337524, 0.34898242354393005, -0.21267524361610413, -0.017124393954873085, -0.4264124929904938, 0.23537343740463257, 0.6024925112724304, 0.38343891501426697, -0.07895471155643463, 0.4437817633152008, 0.2670087218284607, 0.5314878225326538, -0.9183014631271362, 0.2531256377696991, -0.6252555847167969, -0.07901003211736679, -0.22052277624607086, -0.08270417898893356, -0.5208261013031006, -0.4137148857116699, 0.11591050028800964, -0.38265085220336914, -0.2731238007545471, 0.18107885122299194, 0.6480107307434082, 0.1566791832447052, -0.7904744744300842, -0.07204172760248184, -0.4181983768939972, 0.8513236045837402, -0.5117210149765015, 0.7941803932189941, 0.3820650577545166, 0.32695695757865906, 0.03134984150528908, -0.9174582958221436, -0.3906286954879761, -0.5971161127090454, -0.12248535454273224, -0.02925904653966427, -0.23954734206199646, -0.17008402943611145, 0.2842165529727936, 0.08996186405420303, -0.6950036883354187, -0.05131983757019043, -0.022640112787485123, -0.7117181420326233, 0.47829025983810425, 0.10992775112390518, 0.2326618731021881, 0.13286392390727997, -0.7640399932861328, -0.2518939673900604, -0.5722730159759521, 0.17712196707725525, 0.4618963599205017, 0.002847079187631607, -0.3092067241668701, 0.4644330143928528, -0.12559174001216888, 0.2077236771583557, -0.33625131845474243, -0.43384820222854614, 0.5130687355995178, -0.7992278337478638, -0.15933328866958618, -0.3065885603427887, 0.984979510307312, 0.6327452659606934, 0.2525959610939026, -0.30135247111320496, -0.02476368471980095, 0.1364586502313614, 0.20550814270973206, -0.647186815738678, -0.10779949277639389, 0.261398047208786, -0.647178590297699, -0.3740276098251343, 0.07575701922178268, -0.8288991451263428, -0.7463383078575134, -0.15415415167808533, 0.5069006085395813, -0.42648476362228394, -0.3575618267059326, -0.20846104621887207, 0.009960426017642021, 0.08622632920742035, 0.1926136314868927, -0.3379155099391937, 0.036140892654657364, 0.5632873773574829, 0.8273187875747681, -0.3799000680446625, -0.7868092656135559, -0.5592604875564575, 0.16645824909210205, -0.15753640234470367, 0.43616217374801636, -0.5196601748466492, -0.1864088773727417, 0.0332195870578289, -0.0740378275513649, -0.04871852695941925, -0.21461981534957886, 0.7785233855247498, -0.4081265926361084, -0.05155692994594574, -0.09709828346967697, -0.37897711992263794, -0.12604065239429474, 0.6911831498146057, -0.8875492215156555, 0.8971650004386902, -0.26656684279441833, -0.7066904902458191, 0.37547025084495544, -0.5232924818992615, -0.31466054916381836, -0.3890397846698761, -0.060335345566272736, -0.44092845916748047, -0.025797661393880844, 0.037630267441272736, 0.6064619421958923, -0.1593298763036728, 0.40410587191581726, -0.940811038017273, -0.01896142028272152, 0.6908011436462402, -0.9815822839736938, 0.7378941774368286, 0.24753981828689575, -0.2570432126522064, 0.29631978273391724, -0.7725991606712341, 0.33100923895835876, 0.0773858055472374, -0.2012728601694107, -0.25084567070007324, -0.34052443504333496, 0.4810185432434082, 0.48747706413269043, 0.4874768853187561, -0.5273434519767761, -0.2970139980316162, 0.21131069958209991, 0.3134351372718811, 0.9073612093925476, -0.273571252822876, 0.20892362296581268, -0.3383164703845978, 0.231349915266037, 0.2568059265613556, 0.7282212972640991, -0.25547924637794495, -0.40703916549682617, -0.30331167578697205, -0.309826523065567, 0.25577208399772644, 0.2850290536880493, -0.40948379039764404, 0.12848114967346191, -0.2710585296154022, -0.579463005065918, -0.3918645679950714, 0.12376781553030014, 0.7220627069473267, 0.07085581868886948, 0.35423514246940613, -0.49648094177246094, -0.26433464884757996, -1.1420831680297852, -0.4701062738895416, 0.03725288808345795, 0.34663599729537964, 0.25490617752075195, 0.5862995386123657, -0.3798961639404297, 0.5738306045532227, -0.1400371640920639, -0.2045983225107193, 0.25012946128845215, 0.15758360922336578, -0.2729114890098572, 0.4975856840610504, 0.5123822689056396, -0.848685085773468, -0.5169323682785034, -0.02589540183544159, -0.6384218335151672, 0.315026193857193, 0.09813667088747025, 0.07177606970071793, 0.26081788539886475, 0.321466326713562, -0.6165031790733337, 0.10345429182052612, 1.2199407815933228, -0.42299342155456543, 0.6469458937644958, -0.3231012523174286, 0.27251484990119934, -1.0206834077835083, 0.4058867394924164, -0.03227777034044266, -0.4290657639503479, -0.5445737242698669, 0.30420348048210144, 0.32696107029914856, 0.059120554476976395, -0.5287204384803772, 0.5596975684165955, -0.47745898365974426, -0.13986364006996155, 0.15506267547607422, -0.07476197928190231, 0.06347820162773132, 0.3055252432823181, -0.4616170823574066, 0.7622496485710144, 0.6740894913673401, -0.2884753942489624, 0.3412439525127411, -0.07087277621030807, -0.3748001456260681, 0.6889117360115051, -0.5226011276245117, 0.20461997389793396, 0.06423567980527878, 0.31687361001968384, -0.8145120143890381, 0.06048097461462021, 0.12279660999774933, -0.4037383198738098, 0.17752283811569214, 0.0643530935049057, -0.7049180865287781, 0.16136586666107178, -0.5117029547691345, 0.4018234610557556, 0.19003210961818695, -0.42373019456863403, 0.7794995903968811, 0.4364089369773865, 0.004193930421024561, -0.8869807124137878, -0.45729854702949524, 0.2755799889564514, -0.15353062748908997, -0.5768491625785828, 0.0692492201924324, -0.40811121463775635, -0.34552818536758423, -0.040609344840049744, -0.18341809511184692, -0.3320859372615814, 0.2340712547302246, 0.4822671711444855, 0.18199506402015686, 0.07395069301128387, -0.05975319817662239, -0.18897123634815216, -0.2528083920478821, 0.10640043765306473, 0.07634063065052032, 0.41843071579933167, -0.5422801375389099, -0.6390361189842224, -0.2514913082122803, 0.3009258210659027, 0.9943384528160095, -0.6081351041793823, 0.784883975982666, 1.0290027856826782, -0.2613705098628998, 0.032319288700819016, -0.7676473259925842, -0.15834619104862213, -0.4511639177799225, 0.2834443151950836, -0.4076899290084839, -1.0216082334518433, 0.40808743238449097, -0.048976656049489975, 0.09193383157253265, 0.21866460144519806, 0.5624102354049683, 0.11510288715362549, 0.878063976764679, 0.4393880069255829, -0.23093675076961517, 0.08872727304697037, 0.2771861255168915, 0.028277695178985596, -0.5797777771949768, -0.3945923447608948, -0.4682752192020416, -0.022978637367486954, -0.6892932653427124, -0.5375646948814392, 0.41486695408821106, -0.32414355874061584, -0.21369661390781403, 0.03544154763221741, 0.0558113269507885, 0.3585626184940338, 0.4878287613391876, 0.087490014731884, 0.6731432676315308, -0.17981788516044617, -0.3467957377433777, -0.007843006402254105, -0.2832093834877014, -0.6071269512176514, 1.4236036539077759, 0.6402000784873962, 0.8697370886802673, 0.3371430039405823, 0.4489206075668335, 0.2012287676334381, 0.29684174060821533, -0.27702733874320984, 0.3715393543243408, -0.14474250376224518, -0.966566801071167, -0.287985235452652, -0.39895036816596985, -0.6905661821365356, 0.48588839173316956, -0.6043184995651245, -0.5964887142181396, -0.05880647152662277, 0.24662503600120544, -0.15895742177963257, 0.12682510912418365, -0.6434114575386047, 0.9823877215385437, -0.45969048142433167, -0.674957275390625, -0.34466227889060974, -0.8602140545845032, 0.49601081013679504, -0.23945966362953186, 0.34513720870018005, -0.28107622265815735, -0.09294086694717407, 0.2632969617843628, 0.2593473494052887, 0.733323872089386, 0.04420729726552963, -0.09063257277011871, -0.34238359332084656, 0.1857711672782898, 0.5049777030944824, 0.13444431126117706, 0.07966016978025436, 0.6112380623817444, 0.35790443420410156, -0.22220879793167114, -0.4362758696079254, 1.0016309022903442, -0.6191036105155945, -0.1712397187948227, -0.6179112195968628, -0.6163628101348877, -0.6300779581069946, 0.46080687642097473, -0.13986502587795258, 0.4656379818916321, -0.48093336820602417, 0.6447716355323792, 0.7784960269927979, -0.12269166857004166, 0.45776787400245667, 0.4551907479763031, -0.19759783148765564, -0.39605513215065, 0.8209646344184875, -0.22370503842830658, 0.3361157178878784, 0.25116580724716187, 0.09823300689458847, -0.5128310322761536, -0.5591901540756226, -0.2997826039791107, -0.09416680783033371, -0.7263393402099609, -0.007621834520250559, -0.5521158576011658, -0.1157146468758583, -0.3685494661331177, 0.32285794615745544, -0.7332640886306763, -0.09779510647058487, 0.20230253040790558, 0.044700104743242264, 0.020016837865114212, 0.5803031921386719, 0.10085803270339966, -0.293276846408844, -0.9820823073387146, 0.22869546711444855, 0.3558944761753082, 0.8659292459487915, -0.012374243699014187, -0.11073265969753265, -0.19912128150463104, -0.10075359791517258, -0.20632675290107727, -0.390088826417923, -0.12157835811376572, 0.08909648656845093, 0.9037101864814758, 0.4243219494819641, -0.05420954152941704, 0.5525610446929932, -0.6555524468421936, 0.6838446855545044, 0.3777070939540863, -0.9434561729431152, -0.13188712298870087, -0.1538238376379013, 0.034057870507240295, 0.7015722393989563, 0.40273115038871765, -0.3424607813358307, -0.2926492691040039, -0.47272399067878723, -0.687497615814209, 0.10897355526685715, 0.36456629633903503, 0.08046580106019974, 0.3778389096260071, -0.2513388395309448, 0.34808725118637085, 0.34782227873802185, -0.9896116256713867, -0.4829663038253784, -0.31551551818847656, -0.10273082554340363, -0.42507413029670715, -0.3049705922603607, -0.6032007932662964, 0.028051219880580902, 0.5360968112945557, -0.16945217549800873, 0.026916971430182457, -0.03295851871371269, -0.18197645246982574, 0.12735812366008759, 0.6332754492759705, 0.8134474158287048, 0.8667558431625366, -0.0930154025554657, 0.4573044180870056, 0.09490766376256943, -0.48201608657836914, 0.1458059400320053, 0.27610155940055847, 0.1392495334148407, -0.17635869979858398, 0.4367746114730835, 0.5165992379188538, 0.27343541383743286, -0.7388356328010559, 0.754522442817688, -0.30312657356262207, -0.17898499965667725, -0.2778894007205963, -0.1890677809715271, 0.17293313145637512, 0.4219481348991394, 0.07468835264444351, 0.2265206277370453, 0.16033123433589935, -0.5722365975379944, 0.22734789550304413, 0.7231851816177368, -0.3614477217197418, -0.13833776116371155, 0.529791533946991, 0.13211126625537872, 0.2729562520980835, 0.1650443822145462, 0.1764407753944397, -0.22364531457424164, 0.12928850948810577, 0.2982076108455658, 0.8309240937232971, -0.08197662234306335, 0.1700425148010254, 0.09192738682031631, 0.7503169775009155, -0.2454042136669159, 0.04008295014500618, 0.12881869077682495, -0.7507591247558594, -0.1618339717388153, -0.4684031307697296, -0.5673474669456482, 0.05928247794508934, -0.7618862986564636, -0.3637351393699646, -0.39945298433303833, -0.26399725675582886, -0.18718461692333221, -0.11278261989355087, -0.6790206432342529, 0.1295880675315857, 0.28342127799987793, 0.8078321218490601, -0.5556421875953674, 0.8740760684013367, 0.690325915813446, -0.12353944778442383, -0.6225861310958862, -0.03289908915758133, 0.20436285436153412, -0.7750385403633118, 0.37584978342056274, 0.2598786950111389, -0.4368252754211426, -0.3659551441669464, -0.2946886122226715, -0.8218315243721008, 1.3102819919586182, 0.49353212118148804, -0.6569238305091858, 0.3049680292606354, 0.18886733055114746, 0.4143408238887787, -0.23035359382629395, 0.25324559211730957, 0.2389237880706787, 0.7538511157035828, -0.22836759686470032, -1.2500946521759033, 0.21060720086097717, -0.24115225672721863, 0.019206879660487175, -0.10678016394376755, -0.7686907052993774, 0.8574371337890625, -0.06864160299301147, 0.022164644673466682, 0.0497513972222805, 0.25111624598503113, 0.37017622590065, 0.5274549722671509, 0.6226770877838135, 0.6069384217262268, 0.6762656569480896, 0.028604336082935333, 1.044735312461853, -0.5557653307914734, 0.4105765223503113, 1.2152341604232788, -0.5141733884811401, 0.912749707698822, 0.5911962389945984, 0.005871511064469814, 0.2705409526824951, 0.20178712904453278, 0.024341536685824394, 0.4613960385322571, -0.18169188499450684, -0.1545814722776413, -0.3742941617965698, -0.18818998336791992, -0.5092172622680664, 0.5421018004417419, -0.101882703602314, -0.5383633375167847, -0.11115969717502594, -0.014768987894058228, 0.1013314351439476, -0.03537413105368614, -0.191363126039505, 0.5551645755767822, 0.11146390438079834, -0.4194693863391876, 0.0721716582775116, -0.13929082453250885, 0.7595289945602417, -0.9033944606781006, 0.16188476979732513, 0.034676443785429, 0.34469476342201233, -0.12646794319152832, -0.861330509185791, 0.033835336565971375, -0.1309140920639038, -0.021105479449033737, -0.4382365345954895, 0.6545864939689636, -0.41369301080703735, -0.2338777780532837, 0.5512998700141907, 0.7082894444465637, -0.3117043673992157, -0.21816961467266083, -0.8564665913581848, 0.49474358558654785, -0.3779267370700836, -0.29179656505584717, 0.7321285605430603, 0.16239286959171295, 0.13883022964000702, 0.9113714694976807, 0.8686637878417969, -0.17990261316299438, 0.15767669677734375, 0.12679678201675415, 0.7979854941368103, -0.47356945276260376, -0.20587602257728577, -1.011572241783142, 0.6252813935279846, -0.24438832700252533, -0.46857234835624695, 1.2755831480026245, 0.6551597714424133, 0.8623261451721191, -0.02746625430881977, 0.8076208829879761, 0.19441281259059906, 0.1640486866235733, -0.5190839767456055, 1.0497393608093262, -0.6079673171043396, -0.1145675927400589, -0.460881769657135, -0.7539234757423401, -0.2525850236415863, 0.32701900601387024, 0.18579630553722382, 0.06890175491571426, 1.0124571323394775, 0.7837552428245544, -0.06610933691263199, -0.06133471801877022, 0.6233633160591125, 0.1651090383529663, 0.2565959393978119, 0.38167494535446167, 0.8607215881347656, -0.2288368195295334, 0.8505833745002747, -0.5010886192321777, -0.1076526790857315, 0.10033538937568665, -1.1557896137237549, -0.9674580693244934, -0.6369983553886414, -0.10086996853351593, -0.41867175698280334, 0.11456447094678879, 0.8487612009048462, 0.8302434682846069, -0.7121644020080566, -0.10021135956048965, 0.5191266536712646, 0.0604531429708004, -0.3323603868484497, -0.1562216579914093, 0.1359281837940216, 0.05464501678943634, -0.4242976903915405, 0.28349289298057556, 0.4175795912742615, -0.03639256954193115, -0.6223313808441162, -0.2096376121044159, 0.02919013798236847, -0.05585932359099388, 0.8654374480247498, -0.10697843134403229, -0.8268691301345825, -0.33228740096092224, 0.059040963649749756, -0.4202544093132019, -0.21092906594276428, 0.7780391573905945, -0.16739210486412048, 0.5222106575965881, 0.1465192586183548, 0.6651787757873535, 0.12413861602544785, -0.23715418577194214, 0.33684244751930237, -0.4726863503456116, -0.06802669167518616, 0.14392653107643127, 0.5823596119880676, 0.2934209406375885, -0.04761342704296112, 0.2658047676086426, -0.009659727104008198, -0.5431711077690125, -0.8914819955825806, 0.27209043502807617, -1.1758911609649658, -0.13846638798713684, 1.025833010673523, -0.45161721110343933, 0.06011010333895683, -0.20950201153755188, -0.004470309242606163, -0.08966511487960815, -0.4169928729534149, 0.6053980588912964, 0.882064163684845, 0.16904957592487335, -0.28782567381858826, -0.4936334192752838, 0.3264295756816864, 0.280601441860199, -0.8696703314781189, 0.2911011278629303, 0.5898880958557129, 0.39214763045310974, 0.271984338760376, 0.4136102795600891, -0.3132396340370178, 0.26154378056526184, 0.001389558776281774, -0.10162980854511261, -0.45036381483078003, -0.5743217468261719, -0.36328116059303284, 0.6221672296524048, 0.19927048683166504, -0.008260225877165794 ]
http://arxiv.org/abs/2406.07056v1
http://arxiv.org/pdf/2406.07056v1
Effectively Compress KV Heads for LLM
2024-06-11T08:37:33
2024-06-11T08:37:33
Hao Yu, Zelan Yang, Shen Li, Yong Li, Jianxin Wu
cs.CL
cs.CL
The advent of pre-trained large language models (LLMs) has revolutionized various natural language processing tasks. These models predominantly employ an auto-regressive decoding mechanism that utilizes Key-Value (KV) caches to eliminate redundant calculations for previous tokens. Nevertheless, as context lengths and batch sizes increase, the linear expansion in memory footprint of KV caches becomes a key bottleneck of LLM deployment, which decreases generation speeds significantly. To mitigate this issue, previous techniques like multi-query attention (MQA) and grouped-query attention (GQA) have been developed, in order to reduce KV heads to accelerate inference with comparable accuracy to multi-head attention (MHA). Despite their effectiveness, existing strategies for compressing MHA often overlook the intrinsic properties of the KV caches. In this work, we explore the low-rank characteristics of the KV caches and propose a novel approach for compressing KV heads. In particular, we carefully optimize the MHA-to-GQA transformation to minimize compression error, and to remain compatible with rotary position embeddings (RoPE), we also introduce specialized strategies for key caches with RoPE. We demonstrate that our method can compress half or even three-quarters of KV heads while maintaining performance comparable to the original LLMs, which presents a promising direction for more efficient LLM deployment in resource-constrained environments.
[ -0.425134539604187, -0.346489280462265, 0.4098299443721771, 0.2839711904525757, -0.678290605545044, 0.08217442035675049, -0.488696813583374, -0.2588464021682739, 0.3455851376056671, 0.5029436349868774, -0.6429277658462524, -0.628494918346405, -0.675716757774353, 0.04677514359354973, -0.11122697591781616, 0.564329981803894, 0.24701718986034393, -0.4373338520526886, -0.17448417842388153, -0.3108927607536316, -0.6666684746742249, -0.726954996585846, -0.4631424844264984, -0.08927476406097412, 0.4508039653301239, 0.38913941383361816, 0.5049188733100891, 0.886293351650238, 0.565784752368927, 0.24736033380031586, -0.1649671196937561, 0.33952412009239197, -0.718052327632904, 0.4884640574455261, 0.20619793236255646, -0.49806684255599976, -0.5964974761009216, -0.14566117525100708, 0.7355446219444275, 0.3679203987121582, -0.11529398709535599, 0.28872960805892944, 0.10200710594654083, 0.9340716600418091, -0.9791845083236694, 0.43244338035583496, -0.9053734540939331, -0.018292339518666267, -0.24450476467609406, -0.46673378348350525, -0.6687162518501282, -0.307670921087265, -0.06397508829832077, -0.5024552941322327, 0.15102730691432953, 0.008546444587409496, 0.8364419341087341, 0.6817461252212524, -0.24142052233219147, 0.19565841555595398, -0.41027212142944336, 1.1260919570922852, -0.5765987634658813, 0.5770277380943298, 0.29757994413375854, 0.24345636367797852, -0.19228173792362213, -0.4718833863735199, -0.39374881982803345, 0.08477283269166946, 0.019425075501203537, -0.10572376102209091, 0.031287629157304764, 0.1844632774591446, 0.026514442637562752, 0.43960854411125183, -0.5098172426223755, 0.1605314165353775, -0.05085839703679085, -0.21184074878692627, 0.34475019574165344, 0.04322674497961998, 0.006957436446100473, -0.15019413828849792, -0.11014841496944427, -0.5504851937294006, -0.9990977048873901, 0.11846724897623062, 0.16753824055194855, 0.4893661141395569, 0.15132977068424225, 0.4175751805305481, -0.6161798238754272, 0.8257803916931152, 0.31770041584968567, -0.3515223562717438, 0.1850639283657074, -0.4102712571620941, -0.3950325846672058, -0.08690034598112106, 0.4869751036167145, 0.4223439395427704, 0.45965254306793213, -0.20411640405654907, -0.022630490362644196, 0.08757192641496658, 0.5044189095497131, -0.8463853001594543, -0.14711330831050873, 0.16281576454639435, -0.5576648712158203, -0.44170066714286804, -0.3873448371887207, -0.7233548760414124, 0.012199221178889275, -0.23897609114646912, 0.3225392997264862, 0.11114005744457245, 0.21390961110591888, 0.20897088944911957, 0.09741233289241791, 0.3949053883552551, 0.33972159028053284, -1.0508500337600708, 0.1541021466255188, 0.3197796940803528, 0.7967507243156433, -0.22092851996421814, 0.16101516783237457, -0.8544371128082275, 0.3127841353416443, 0.052385907620191574, 0.6408886909484863, -0.31310904026031494, -0.2520677447319031, 0.10621288418769836, -0.0742403045296669, 0.08279116451740265, -0.5857545733451843, 0.5464474558830261, -0.8484200239181519, -0.4497075378894806, -0.2621312141418457, -0.08338402956724167, 0.010725018568336964, 0.45913293957710266, -0.724485456943512, 0.7974859476089478, 0.18239690363407135, -0.5165930986404419, 0.158960223197937, -0.07983528822660446, -0.41441667079925537, -0.2695288062095642, -0.30540698766708374, -0.4442378282546997, 0.30369332432746887, 0.6885834336280823, 0.6101001501083374, -0.45589399337768555, -0.20706701278686523, -0.13682058453559875, -0.35471677780151367, -0.046470534056425095, -0.26255735754966736, 0.49339133501052856, -0.007915259338915348, -0.07685918360948563, -0.15899978578090668, -0.2898091971874237, 0.3124764561653137, 0.004697172436863184, -0.541736900806427, -0.2364044487476349, -0.21373313665390015, -0.19460353255271912, 0.26154786348342896, 0.24783535301685333, -0.17231927812099457, 0.5695209503173828, -0.4026462435722351, 0.3114051818847656, 0.6160784959793091, 0.11238119006156921, 0.42016157507896423, -0.213062584400177, 0.49750298261642456, 0.05411636084318161, 0.09072389453649521, -0.027597950771450996, -0.19684700667858124, -1.04974365234375, -0.2468997687101364, 0.22373533248901367, 0.29763785004615784, -0.7461619973182678, 0.5103104710578918, -0.7427542209625244, -0.3722526729106903, -0.7096200585365295, 0.24547338485717773, 0.3791574537754059, 0.31964823603630066, 0.5190070867538452, -0.3206867277622223, -0.32305753231048584, -1.0100116729736328, -0.23959776759147644, -0.13334862887859344, 0.06635759770870209, 0.445421427488327, 0.08998337388038635, -0.038213323801755905, 0.891679048538208, -0.6952618360519409, -0.48046454787254333, -0.04709063842892647, 0.36871466040611267, 0.2931247055530548, 0.5149972438812256, 0.09051095694303513, -0.6472036242485046, -0.5281307697296143, -0.2568630874156952, -0.42991504073143005, -0.17756499350070953, -0.1541050225496292, -0.10135158151388168, 0.13367439806461334, 0.4064040780067444, -0.9718335270881653, 0.4511399567127228, 0.5580893754959106, 0.23979510366916656, 0.6869505047798157, -0.10033021122217178, 0.20623044669628143, -0.6591039896011353, -0.012936411425471306, -0.24945394694805145, -0.3866541087627411, -0.399554967880249, 0.24639759957790375, 0.16031377017498016, 0.15667451918125153, -0.5853012800216675, 0.2826398015022278, -0.8238807916641235, 0.07330257445573807, -0.28693416714668274, 0.06944921612739563, -0.013898253440856934, 0.9108496904373169, -0.031270965933799744, 0.8566916584968567, 0.2068607062101364, -0.8259384632110596, 0.027983753010630608, 0.4023704528808594, -0.22856006026268005, 0.3862845003604889, -0.5371514558792114, 0.43708983063697815, -0.13708966970443726, 0.5160189867019653, -0.743370771408081, -0.016166897490620613, 0.04541235417127609, -0.38471129536628723, 0.583105206489563, -0.42563533782958984, -0.6024910807609558, -0.1539992243051529, -0.6316302418708801, 0.8295721411705017, 0.6335912942886353, -0.40413808822631836, 0.3854138255119324, 0.5244306325912476, -0.11071668565273285, -0.8468442559242249, -0.8037531971931458, 0.059997107833623886, -0.39614608883857727, -0.4462471604347229, 0.6786541938781738, -0.11444226652383804, 0.03939581289887428, -0.1769808828830719, -0.49370136857032776, -0.14009998738765717, -0.12046569585800171, -0.0499044731259346, -0.024165494367480278, -0.1931561827659607, 0.23652490973472595, 0.10749062895774841, -0.2785900831222534, -0.14757230877876282, -0.3592137098312378, 0.6531388759613037, 0.027437077835202217, -0.06915631890296936, -0.2776392698287964, 0.2422352433204651, 0.9389761090278625, -0.18488451838493347, 0.7271149158477783, 0.37622377276420593, -0.32578912377357483, -0.1612493097782135, -0.760956883430481, -0.3247879147529602, -0.478956937789917, 0.1911037117242813, -0.22591227293014526, -0.8855361938476562, 0.35392987728118896, -0.16212929785251617, -0.038467779755592346, 0.2838359773159027, 0.7185127139091492, 0.09239354729652405, 0.6648029685020447, 0.5261455178260803, -0.4805815517902374, 0.22250057756900787, -0.38935551047325134, 0.2893289029598236, -1.1953179836273193, 0.13369052112102509, -0.5450965762138367, -0.4278721213340759, -0.4634435474872589, -0.943376362323761, 0.5399779081344604, 0.1808040589094162, 0.09032364189624786, 0.36048606038093567, -0.5793675780296326, 0.4642535150051117, 0.27568474411964417, 0.10830982774496078, 0.3940495550632477, -0.028358643874526024, -0.0469072163105011, -0.13619403541088104, -0.7091820240020752, -0.26757901906967163, 1.1541378498077393, 0.18723736703395844, 0.8713512420654297, 0.08276546001434326, 0.6266517639160156, 0.1288439929485321, 0.044721659272909164, -0.9521701335906982, 0.4687943756580353, -0.14342696964740753, -0.28396809101104736, -0.39089128375053406, -0.21282163262367249, -0.9751274585723877, 0.40037062764167786, 0.021407218649983406, -0.860568106174469, 0.09255649149417877, 0.2594141960144043, -0.6058099269866943, 0.03187364339828491, -0.2971039414405823, 0.6436479687690735, 0.10609223693609238, -0.25636032223701477, -0.43490511178970337, -0.8459025621414185, 0.3731193542480469, -0.041971977800130844, 0.043754901736974716, -0.022673863917589188, -0.07618381083011627, 0.567923903465271, -0.4270065426826477, 0.7254402041435242, -0.02429167367517948, -0.07979469001293182, 0.15756073594093323, -0.19191113114356995, 0.9435439109802246, 0.05496065691113472, 0.29277166724205017, -0.01909850351512432, -0.35702812671661377, -0.26391738653182983, -0.853326678276062, 0.8334988355636597, -0.5815779566764832, -0.6524641513824463, -0.10955337435007095, -0.6630430221557617, -0.38200318813323975, -0.1374935507774353, 0.14902539551258087, 0.3430011570453644, 0.1601349264383316, 0.45635339617729187, 1.008503794670105, -0.1411413550376892, 0.5084684491157532, 0.17213375866413116, 0.0949421226978302, -0.3496462106704712, 0.7437815070152283, 0.3180895149707794, 0.43005403876304626, 0.5822013020515442, -0.06721928715705872, -0.26750075817108154, -0.6115974187850952, -0.3342777490615845, 0.2241561859846115, -0.7643735408782959, -0.6367382407188416, -0.7831759452819824, -0.24853776395320892, -0.3811957538127899, -0.2764352560043335, -0.6493895053863525, -0.5043801665306091, -0.17953404784202576, 0.28274452686309814, 0.24032548069953918, 0.0937233567237854, 0.11322532594203949, 0.7545702457427979, -0.8210052251815796, 0.6371903419494629, 0.5224050879478455, 0.12061511725187302, 0.15659554302692413, -0.38409358263015747, -0.5918494462966919, -0.16466625034809113, -0.2270364761352539, -0.7391406297683716, 0.684078574180603, 0.14844483137130737, 0.3916293978691101, 0.32005929946899414, 0.3336467146873474, 0.903392493724823, -0.4766433835029602, 0.62771075963974, -0.11146321892738342, -0.7905063033103943, 0.35316216945648193, -0.22003711760044098, 0.6760644912719727, 0.8364750742912292, 0.11237175017595291, -0.4058234989643097, -0.5318600535392761, -0.49952733516693115, -1.1063820123672485, 0.3510364592075348, 0.3450809121131897, -0.03614531829953194, 0.08156938850879669, 0.3627670109272003, -0.02117958664894104, 0.4062258303165436, -0.6923352479934692, -0.37845149636268616, 0.2813448905944824, -0.18245121836662292, 0.02010369300842285, -0.33010992407798767, 0.1705874800682068, -0.2669144570827484, 0.5262113809585571, -0.22261276841163635, 0.521064043045044, 0.13295838236808777, -0.5864126086235046, 0.002310779644176364, 0.1982295960187912, 0.5408041477203369, 0.20980164408683777, -0.36559560894966125, 0.3184078633785248, 0.17858964204788208, -0.5303992033004761, 0.40797677636146545, -0.27793315052986145, 0.036157794296741486, 0.07862167060375214, 0.12593887746334076, 0.40392476320266724, 0.4316433370113373, -0.44152361154556274, 0.351918488740921, -0.1383848488330841, 0.20478013157844543, -0.11932025104761124, -0.11497915536165237, 0.08176924288272858, 0.15828749537467957, 0.3511897623538971, -0.13031470775604248, 0.1004803255200386, -0.2254655808210373, 0.11232637614011765, 0.45795542001724243, -0.08205777406692505, -0.10508435219526291, 0.38688942790031433, 0.315807044506073, -0.01651665009558201, 0.690883457660675, 0.009675434790551662, -0.650831937789917, 0.33987244963645935, 0.20518159866333008, 1.0392948389053345, -0.14275501668453217, -0.24709491431713104, 0.31531164050102234, 0.543482780456543, -0.12250643968582153, 0.08801411837339401, -0.40958771109580994, -0.7142066359519958, -0.755821704864502, -0.6127299666404724, -0.19989079236984253, 0.3198040723800659, -0.7284212708473206, 0.2756771445274353, -0.16851304471492767, -0.1778477281332016, -0.4324166476726532, 0.05592896416783333, -0.9144692420959473, 0.24702872335910797, 0.09257837384939194, 0.7243828177452087, -0.6538684368133545, 1.1375292539596558, 0.06212102621793747, -0.2516295313835144, -0.506405770778656, 0.2008868008852005, 0.01308208517730236, -0.7533130049705505, 0.8047052025794983, 0.44331544637680054, -0.36204782128334045, 0.20701292157173157, -0.3127155900001526, -1.0849699974060059, 1.0200958251953125, 0.3367677628993988, -0.5697567462921143, -0.17507202923297882, 0.0817335993051529, 0.15453696250915527, -0.27894094586372375, 0.030612412840127945, 0.5500018000602722, 0.5165552496910095, -0.16225600242614746, -0.9491308927536011, 0.1223815381526947, 0.0013356419513002038, 0.05657992511987686, 0.2311236560344696, -0.7824592590332031, 0.6502256393432617, 0.16032420098781586, -0.21416258811950684, -0.15389730036258698, 0.7029314637184143, 0.3361344039440155, -0.3438243865966797, 0.5695986151695251, 0.8184045553207397, 0.7186234593391418, 0.2322673201560974, 0.8475061655044556, -0.3794616162776947, 0.38320913910865784, 1.0127525329589844, 0.036412563174963, 0.9032012224197388, 0.979684591293335, 0.05323285236954689, 0.2823270261287689, 0.5262764692306519, 0.372455358505249, 0.9257185459136963, 0.5052250027656555, -0.2328815460205078, -0.3266848027706146, -0.133326455950737, -0.36256131529808044, 0.5413271188735962, 0.3145047128200531, -0.22675523161888123, -0.22298891842365265, -0.08782997727394104, -0.06564905494451523, -0.3792423903942108, -0.24325934052467346, 0.49330955743789673, 0.18493375182151794, -0.6521064043045044, 0.9673072695732117, -0.060702845454216, 0.7087673544883728, -0.39501699805259705, 0.03792998567223549, -0.1187964454293251, 0.05107688903808594, 0.16292798519134521, -0.2465386539697647, 0.24718910455703735, -0.13028278946876526, -0.3800187408924103, -0.5298061370849609, 0.7445305585861206, -0.4547237455844879, -0.056382350623607635, 0.033897873014211655, 0.49434027075767517, 0.22038811445236206, -0.3899102210998535, -0.13619087636470795, 0.4184596836566925, -0.18121810257434845, -0.42183709144592285, 0.4962092936038971, 0.26441988348960876, 0.08655959367752075, 0.8061549067497253, 0.540698230266571, 0.1803019940853119, 0.11309215426445007, -0.2125292867422104, 1.1326500177383423, -0.7619977593421936, -0.5227532982826233, -0.8659460544586182, 0.5684342980384827, 0.016983380541205406, -0.1977340131998062, 0.5393999218940735, 0.27505549788475037, 0.5894366502761841, -0.266182005405426, 0.5861096382141113, 0.321958065032959, 0.0707276314496994, -0.837594747543335, 0.7994511127471924, -0.4293302893638611, 0.1819620132446289, -0.1182209849357605, -0.9728842377662659, -0.3932364583015442, 0.6757564544677734, 0.15020136535167694, -0.12172774225473404, 0.8298020362854004, 0.6657387614250183, 0.06050722301006317, -0.6097252368927002, 0.4264315962791443, 0.12694872915744781, 0.2822726368904114, 0.8686001300811768, 0.44881194829940796, -0.45987844467163086, 0.6760470867156982, -0.1904735565185547, 0.05184537544846535, -0.5946829319000244, -1.1006934642791748, -0.7556121945381165, -0.3184182941913605, -0.5015664100646973, -0.14028400182724, 0.002659338526427746, 0.8461020588874817, 1.0609254837036133, -0.5995664000511169, -0.19763237237930298, -0.0402439646422863, 0.1096348911523819, -0.23660743236541748, -0.19338065385818481, 0.4000636637210846, -0.535712480545044, -0.6122864484786987, 0.5001292824745178, 0.5010169148445129, -0.08568678051233292, -0.46924811601638794, -0.006987804546952248, -0.2308579534292221, 0.0581267811357975, 0.6054827570915222, 0.10760806500911713, -0.8295345902442932, -0.40337246656417847, -0.029310019686818123, -0.23564369976520538, 0.2736169099807739, 0.8200495839118958, -1.2914546728134155, 0.47633346915245056, 0.4891709089279175, 0.902498722076416, 0.7177041172981262, -0.0666021779179573, 0.7799301147460938, -1.1197843551635742, 0.270508736371994, 0.2979297339916229, 0.16534468531608582, 0.19890564680099487, -0.5996475219726562, 0.4941297769546509, 0.07937023043632507, -0.5844775438308716, -0.8239743709564209, 0.11023762822151184, -1.2560733556747437, 0.04636077210307121, 1.0619847774505615, -0.09143068641424179, -0.2262381911277771, -0.04045748710632324, -0.04728759452700615, 0.4313444197177887, -0.40455278754234314, 0.9286465644836426, 0.9009386897087097, -0.000632377399597317, -0.29403063654899597, -0.7022507786750793, 0.640121340751648, 0.49224212765693665, -0.709243655204773, 0.33434951305389404, 0.15607042610645294, -0.2495502531528473, 0.11070861667394638, 0.4278290271759033, 0.06496506184339523, 0.2239883989095688, -0.18695122003555298, 0.09224331378936768, 0.07845504581928253, -0.3631732761859894, -0.5183530449867249, 0.24698252975940704, 0.06709730625152588, -0.5545361638069153 ]
http://arxiv.org/abs/2406.07054v1
http://arxiv.org/pdf/2406.07054v1
CoEvol: Constructing Better Responses for Instruction Finetuning through Multi-Agent Cooperation
2024-06-11T08:35:37
2024-06-11T08:35:37
Renhao Li, Minghuan Tan, Derek F. Wong, Min Yang
cs.CL
cs.CL, cs.AI
In recent years, instruction fine-tuning (IFT) on large language models (LLMs) has garnered considerable attention to enhance model performance on unseen tasks. Attempts have been made on automatic construction and effective selection for IFT data. However, we posit that previous methods have not fully harnessed the potential of LLMs for enhancing data quality. The responses within IFT data could be further enhanced by leveraging the capabilities of LLMs themselves. In this paper, we propose CoEvol, an LLM-based multi-agent cooperation framework for the improvement of responses to instructions. To effectively refine the responses, we develop an iterative framework following a debate-advise-edit-judge paradigm. A two-stage multi-agent debate strategy is further devised to ensure the diversity and reliability of editing suggestions within the framework. Empirically, models equipped with CoEvol outperform competitive baselines evaluated by MT-Bench and AlpacaEval, demonstrating its effectiveness in enhancing instruction-following capabilities for LLMs.
[ -0.5154695510864258, -0.7940904498100281, 0.29773399233818054, 0.17104491591453552, -0.0842069685459137, 0.3445599377155304, -0.5176551938056946, -0.18841861188411713, -0.17423461377620697, 0.5448090434074402, -0.6384771466255188, -0.6884190440177917, -0.7566657662391663, 0.06698401272296906, -0.24810615181922913, 1.0094642639160156, 0.01032692939043045, 0.2934539318084717, -0.3056234121322632, -0.2447407841682434, -0.5948319435119629, -0.35436299443244934, -0.8059017658233643, -0.5533342957496643, 0.4279897212982178, 0.7817540764808655, 0.7557517290115356, 0.5262658596038818, 0.3156379461288452, 0.4612029194831848, 0.09445033967494965, 0.7732064723968506, -0.49004065990448, 0.2615557014942169, -0.32608065009117126, -0.4380573630332947, -0.638297438621521, 0.09485450387001038, 0.6604418754577637, 0.555253267288208, -0.2704315781593323, -0.0971677377820015, 0.6335518956184387, 0.6672914028167725, -0.49923381209373474, 0.2626377046108246, -0.5375990867614746, -0.080904021859169, 0.30405113101005554, -0.36808475852012634, -0.6757395267486572, -0.36399850249290466, 0.0910138338804245, -0.5132296085357666, 0.186079204082489, -0.006547394208610058, 0.47378939390182495, 0.4095003306865692, -0.026642052456736565, -0.4489072263240814, -0.6220716238021851, 0.6049246191978455, -0.7463680505752563, 0.34070029854774475, 0.3918675184249878, -0.02108192630112171, -0.4339284598827362, -0.661945104598999, -0.24032515287399292, -0.38739481568336487, 0.10778238624334335, 0.12196214497089386, -0.10564600676298141, 0.17599420249462128, -0.0687294751405716, 0.014249242842197418, -0.08444267511367798, 0.25575464963912964, 0.0265776626765728, -0.04428669810295105, 0.6096985936164856, 0.41403728723526, 0.06734622269868851, 0.5288428068161011, -0.26250767707824707, -0.12209754437208176, -0.605982780456543, 0.1578245908021927, 0.4729171693325043, 0.48341959714889526, -0.0818432942032814, 0.6725611090660095, 0.018279606476426125, 0.576302170753479, 0.5939127802848816, 0.20404760539531708, -0.17507541179656982, -0.3960673213005066, -0.11763360351324081, -0.0633561983704567, 0.6171467900276184, 0.46172618865966797, 0.007580101024359465, -0.284523069858551, -0.33037668466567993, -0.07254137098789215, 0.24245987832546234, -0.831634521484375, -0.24337168037891388, 0.16472025215625763, -0.2801891565322876, -0.02375643141567707, 0.07377661019563675, -0.6843756437301636, -0.4417714774608612, -0.7929787039756775, 0.3019200563430786, -0.5393070578575134, 0.09411206096410751, 0.16006003320217133, 0.12253277748823166, 0.1785248965024948, 0.6209475994110107, -0.6807658076286316, 0.49126580357551575, 0.9381632804870605, 0.6044707894325256, -0.19534261524677277, -0.6187452673912048, -1.0382299423217773, -0.04874223470687866, -0.4531642198562622, 1.0409256219863892, -0.8849455714225769, -0.45654377341270447, -0.0415574349462986, 0.1603870689868927, 0.014995255507528782, -0.5119050145149231, 0.29862627387046814, -0.4540834426879883, 0.11007647961378098, -0.2858816087245941, -0.9769157767295837, 0.2298940122127533, 0.33990758657455444, -0.7444958686828613, 0.7287333607673645, -0.015070350840687752, -0.5499384999275208, 0.060830309987068176, -0.5807222127914429, -0.34953150153160095, -0.04474063962697983, -0.21669335663318634, -0.5608478784561157, -0.21695831418037415, 0.25641459226608276, 0.38968947529792786, -0.4590303599834442, 0.07744155079126358, -0.30080941319465637, -0.526020884513855, 0.1420341283082962, -0.5470882654190063, 0.4811907112598419, 0.0639401450753212, -0.4309249520301819, 0.4991908073425293, -0.4759625792503357, 0.13138769567012787, -0.269216924905777, -0.6013064980506897, -0.11685149371623993, 0.08752549439668655, -0.365094393491745, -0.013102123513817787, 0.0355718694627285, -0.23662088811397552, 0.5866988301277161, -0.30426299571990967, 0.1484602391719818, 1.0476069450378418, -0.1458716243505478, 0.6306357383728027, -0.5625137090682983, 0.5287399291992188, -0.07848659157752991, 0.3218192458152771, 0.1589793860912323, -0.18299905955791473, -0.7910279631614685, -0.09501814842224121, 0.18718747794628143, 0.36553218960762024, -1.2111274003982544, 0.11077672988176346, 0.05297992751002312, -0.37187570333480835, -0.9576689004898071, 0.3215089738368988, 0.6151967644691467, 0.05723479762673378, 0.4717175364494324, -0.21398742496967316, -0.42893412709236145, -0.41233310103416443, -0.020208468660712242, 0.09389112144708633, 0.2950156629085541, 0.3410753011703491, 0.17319338023662567, -0.20818205177783966, 0.4503476917743683, -0.22916585206985474, -0.06704620271921158, -0.09045707434415817, 0.24619315564632416, -0.16137012839317322, 0.27161258459091187, 0.3016207814216614, -0.39118680357933044, -0.7404123544692993, 0.02871655486524105, -0.3408671021461487, -0.05716881528496742, 0.05930763855576515, -0.24025508761405945, 0.49418866634368896, 0.44542407989501953, -0.29119449853897095, 0.2741227149963379, 0.5359377861022949, -0.43817266821861267, 0.6983966827392578, -0.51039719581604, 0.4501207172870636, -0.962120532989502, -0.4627659022808075, -0.12007228285074234, -0.11280954629182816, -0.43147021532058716, 0.1500415951013565, -0.09902466088533401, 0.27828410267829895, -0.36997678875923157, 0.40093672275543213, -0.566647469997406, -0.1725393831729889, -0.6513065099716187, 0.20124246180057526, -0.05118411406874657, 0.5011871457099915, -0.04021494835615158, 1.1705313920974731, 0.5686477422714233, -0.5306668281555176, 0.6392742991447449, 0.2858816385269165, -0.03515423461794853, 0.7566638588905334, -0.5739961266517639, 0.3726605772972107, -0.007226757239550352, 0.18780328333377838, -0.7815712690353394, 0.01241861842572689, 0.18396945297718048, -0.2513780891895294, 0.23832572996616364, -0.29759281873703003, -0.3995681405067444, -0.09803179651498795, -0.5507623553276062, 0.0017203433671966195, 0.10019220411777496, -0.8071185350418091, 0.5826746821403503, 0.11567986011505127, -0.1892048865556717, -0.8766195178031921, -0.33412548899650574, 0.043216522783041, 0.2890423834323883, -0.5906524062156677, 0.2585853040218353, -0.6042877435684204, -0.28730452060699463, 0.2955247759819031, -0.04775889962911606, -0.13277004659175873, 0.016317514702677727, 0.16429635882377625, 0.31134033203125, -0.3235395550727844, 0.27553924918174744, 0.14373113214969635, -0.037827782332897186, -0.1199086382985115, -0.26792144775390625, 0.6291467547416687, -0.39339667558670044, -0.40959250926971436, -0.3296755850315094, 0.476311594247818, 0.41531580686569214, -0.33196890354156494, 0.7165079116821289, 0.5466569662094116, 0.11487311869859695, -0.5530452132225037, -0.38352638483047485, -0.2695270776748657, -0.5220016837120056, 0.1122073382139206, -0.29220864176750183, -1.0310542583465576, 0.24610544741153717, -0.28530043363571167, 0.25951507687568665, 0.030826685950160027, 0.7478251457214355, -0.08093053102493286, 0.8817983269691467, 0.5867570638656616, -0.005833568517118692, 0.5834550857543945, -0.40835005044937134, -0.2895064949989319, -0.7537346482276917, -0.3480377495288849, -0.611113965511322, -0.04478833079338074, -0.4565182030200958, -0.5052900910377502, 0.046760592609643936, -0.23205870389938354, -0.2462838590145111, 0.19244563579559326, -0.5885782837867737, 0.7649807929992676, 0.6291015148162842, 0.2899165153503418, 0.24749982357025146, -0.10195703059434891, -0.1831655651330948, 0.34016427397727966, -0.8004413843154907, -0.5640910863876343, 0.7760860919952393, -0.10468319803476334, 1.2062699794769287, 0.1317615807056427, 0.7390440702438354, 0.4401826858520508, 0.17216342687606812, -0.5271742939949036, 0.5119189620018005, -0.47400686144828796, -0.051140353083610535, -0.38746872544288635, -0.28365322947502136, -1.1355156898498535, 0.30294927954673767, -0.39686983823776245, -0.37254902720451355, -0.01975412666797638, 0.09331197291612625, -0.48549991846084595, 0.30546510219573975, -0.7682380080223083, 0.6254822611808777, -0.11464402824640274, -0.81064373254776, -0.30509239435195923, -0.5111868381500244, -0.05488038808107376, 0.3132625222206116, 0.0500413216650486, 0.051966261118650436, -0.10047556459903717, 0.31254300475120544, -0.5640790462493896, 0.8576309084892273, -0.011590181849896908, -0.43570515513420105, 0.6182122230529785, 0.02509917877614498, 0.6842539310455322, 0.01008235290646553, -0.31456127762794495, -0.368926078081131, -0.04192860797047615, -0.33937808871269226, -0.7796393036842346, 0.8276093602180481, -1.1128482818603516, -0.732348620891571, 0.08282103389501572, -0.8333667516708374, -0.19206377863883972, -0.1708407998085022, 0.03112875670194626, 0.678508460521698, -0.1167057603597641, 0.24040035903453827, 0.6274313926696777, -0.0662139430642128, 0.44051823019981384, 0.7145559787750244, 0.2450178563594818, -0.3265414535999298, 0.7723988890647888, 0.1998344510793686, 0.3827385902404785, 0.1894356906414032, 0.11690628528594971, -0.23359936475753784, -0.44681763648986816, -0.17875438928604126, -0.1826801598072052, -0.764373779296875, -0.3965964913368225, -0.49097245931625366, -0.3800658583641052, -0.4373895227909088, -0.28689974546432495, -0.5104796290397644, 0.03105761855840683, -0.3263067603111267, 0.07276564091444016, 0.3569104075431824, 0.7627658843994141, -0.20653551816940308, 0.42773744463920593, -0.7362838387489319, 0.1358860582113266, 0.3657446801662445, 0.5720318555831909, 0.11121222376823425, -0.46513721346855164, -0.32664939761161804, 0.24685709178447723, -0.37245985865592957, -0.5584763884544373, 0.17611463367938995, 0.2174813598394394, 0.6839691400527954, -0.11309780180454254, 0.24952085316181183, 0.6385862231254578, -0.5483236312866211, 0.5768006443977356, -0.14332528412342072, -1.0292870998382568, 0.3488858938217163, 0.08413024991750717, 0.24566853046417236, 0.3395046889781952, 0.030405713245272636, -0.2723716199398041, -0.8050431609153748, -0.563422679901123, -0.6487569808959961, 0.9626287221908569, 0.12971632182598114, 0.06766075640916824, 0.14107565581798553, 0.3461013734340668, 0.2907651960849762, 0.01165310014039278, -0.25565364956855774, -0.17348012328147888, -0.08484259247779846, -0.26757872104644775, 0.034688327461481094, -0.045045122504234314, -0.1774793267250061, -0.21476994454860687, 0.741584062576294, -0.2575444281101227, 0.25094467401504517, 0.013611966744065285, -0.0218060165643692, -0.22385989129543304, 0.5905622839927673, 0.6377633810043335, 0.41899293661117554, 0.17595073580741882, 0.28971734642982483, 0.32223451137542725, -0.20472857356071472, 0.3730933368206024, 0.2248547524213791, 0.14993372559547424, -0.2749406695365906, 0.534030556678772, 0.8146988153457642, 0.06510800123214722, -0.34467753767967224, 0.40923503041267395, -0.356305330991745, -0.18633829057216644, 0.2382461428642273, 0.541007936000824, 0.09156311303377151, 0.8568516373634338, -0.11059024930000305, 0.117576465010643, 0.08621480315923691, -0.5136765241622925, 0.5766211152076721, 0.3669597804546356, -0.2544724941253662, -0.13096129894256592, 0.2644210457801819, 0.2791749835014343, -0.6198399662971497, 0.42139261960983276, -0.22461192309856415, -0.31112194061279297, 0.869331955909729, 0.5719843506813049, 0.6142610311508179, -0.4803096055984497, 0.3936227858066559, 0.1895373910665512, 0.24776308238506317, -0.10491012781858444, 0.26172691583633423, 0.0734202191233635, -0.6894383430480957, -0.47752323746681213, -0.049315135926008224, -0.738078773021698, -0.13487274944782257, -0.5458006262779236, 0.21919429302215576, -0.56729656457901, -0.05185624212026596, 0.05611710995435715, 0.37531358003616333, -0.6420376300811768, -0.15406280755996704, -0.07557127624750137, 0.5392670631408691, -0.4489900469779968, 1.1117066144943237, 0.6652424931526184, -0.4673510193824768, -1.0508501529693604, -0.03887619450688362, -0.1286921501159668, -0.6562398672103882, 0.27171072363853455, -0.11566539108753204, -0.6013929843902588, 0.030702317133545876, -0.9987245202064514, -0.43488481640815735, 1.0571751594543457, 0.6438539028167725, -0.819183349609375, 0.12628747522830963, 0.031948547810316086, 0.6108719706535339, -0.5337013602256775, 0.3074514865875244, 0.49387362599372864, 0.39954131841659546, 0.3098950982093811, -0.5306738615036011, -0.0888638123869896, -0.08826365321874619, -0.2495764195919037, 0.021656101569533348, -0.8085627555847168, 0.8774036169052124, -0.49159979820251465, -0.01947210170328617, 0.2407035529613495, 0.6844483017921448, 0.06202951818704605, 0.37798070907592773, 0.39404425024986267, 0.10078515112400055, 0.841316819190979, 0.10379073768854141, 0.9384158849716187, -0.33048704266548157, 0.39633557200431824, 1.7817124128341675, -0.24613970518112183, 0.6536993384361267, 0.18545491993427277, 0.03101089410483837, 0.36124348640441895, 0.4885566830635071, -0.13207316398620605, 0.4159736931324005, 0.06701989471912384, -0.3103589415550232, -0.44070273637771606, -0.3395245373249054, -0.1575949490070343, 0.2859201729297638, 0.33510786294937134, -0.030797747895121574, -0.26115259528160095, 0.05572059750556946, -0.0642453134059906, 0.46848058700561523, -0.3448507487773895, 1.0166971683502197, -0.10866103321313858, -0.8305383324623108, 0.5480030179023743, 0.046047668904066086, 0.5781024694442749, -0.3035967946052551, -0.48894473910331726, -0.5147408843040466, 0.26930001378059387, -0.07506357878446579, -1.128166675567627, 0.07436177879571915, 0.10542582720518112, -0.12397646903991699, 0.16563554108142853, 0.6897492408752441, -1.110180139541626, -0.0737379863858223, 0.5577813386917114, 0.4216371476650238, -0.11439245194196701, 0.33022135496139526, -0.9561381936073303, 0.26125696301460266, -0.2389034777879715, 0.07707926630973816, 0.12771038711071014, 0.675160825252533, 0.16570842266082764, 0.7063918709754944, 0.3850232660770416, -0.11374753713607788, 0.041882582008838654, 0.23111753165721893, 1.1108604669570923, -0.14683645963668823, 0.02319432608783245, -0.9142267107963562, 0.44298356771469116, -0.07451097667217255, 0.04208144545555115, 0.5836004018783569, 0.2041998952627182, 0.8980962038040161, 0.06895136088132858, 0.5872294902801514, 0.19651353359222412, 0.05122089758515358, -0.6086980700492859, 0.5432389974594116, -0.4215752184391022, 0.3388727903366089, -0.16782346367835999, -0.7980030179023743, -0.09375902265310287, 0.4219644069671631, -0.11861158162355423, -0.014745681546628475, 0.6257928013801575, 0.9646412134170532, -0.010274386033415794, 0.040525466203689575, 0.4737708568572998, 0.17814522981643677, 0.4152357578277588, 0.6407669186592102, 1.007004737854004, -0.25252771377563477, 0.5578721761703491, -0.12270224094390869, -0.09683172404766083, -0.1570533812046051, -0.5293179154396057, -1.1083085536956787, -0.5370265245437622, -0.3657380938529968, -0.3581664264202118, 0.5270071029663086, 1.5914119482040405, 0.5588675141334534, -0.6553405523300171, -0.29018428921699524, 0.0727948397397995, 0.4183579385280609, -0.34237563610076904, -0.10133171826601028, 0.4444485604763031, -0.7569029331207275, -0.8024391531944275, 0.42299535870552063, 0.12832577526569366, -0.020590750500559807, -0.07826673239469528, -0.5882415175437927, -0.29975539445877075, 0.4824099540710449, 0.7753229737281799, -0.001861760625615716, -0.673284113407135, -0.5427483916282654, -0.12932857871055603, -0.43354201316833496, 0.15897461771965027, 0.7157391309738159, -0.2218230664730072, 0.5785702466964722, 0.14654436707496643, 0.9427746534347534, 0.0686962828040123, -0.13705766201019287, 0.5248384475708008, -0.8315434455871582, 0.04805697500705719, 0.10046762228012085, 0.21935760974884033, 0.2623653709888458, -0.38107791543006897, 0.5968322157859802, -0.13487115502357483, -0.7327444553375244, -0.29329508543014526, -0.06819675862789154, -0.7586086392402649, -0.4086839258670807, 1.3264379501342773, -0.4194263219833374, -0.16487689316272736, -0.025241203606128693, -0.7103963494300842, 0.45533010363578796, -0.6278167963027954, 0.7946946620941162, 0.8513575196266174, -0.08630452305078506, -0.3810598850250244, -0.11884765326976776, 0.3804255425930023, 0.27385029196739197, -1.1317931413650513, 0.28620436787605286, 0.6582867503166199, 0.12716758251190186, -0.2574809789657593, 0.5671045780181885, 0.1289341300725937, 0.4143785238265991, 0.115901418030262, 0.05043630301952362, -0.3051392138004303, -0.6893847584724426, -0.18152831494808197, 0.12659375369548798, 0.3595011234283447, -0.16109424829483032 ]
http://arxiv.org/abs/2406.07588v2
http://arxiv.org/pdf/2406.07588v2
AIM: Let Any Multi-modal Large Language Models Embrace Efficient In-Context Learning
2024-06-11T08:12:43
2024-06-30T18:19:25
Jun Gao, Qian Qiao, Ziqiang Cao, Zili Wang, Wenjie Li
cs.MM
cs.MM, cs.CL
In-context learning (ICL) facilitates Large Language Models (LLMs) exhibiting emergent ability on downstream tasks without updating billions of parameters. However, in the area of multi-modal Large Language Models (MLLMs), two problems hinder the application of multi-modal ICL: (1) Most primary MLLMs are only trained on single-image datasets, making them unable to read multi-modal demonstrations. (2) With the demonstrations increasing, thousands of visual tokens highly challenge hardware and degrade ICL performance. During preliminary explorations, we discovered that the inner LLM tends to focus more on the linguistic modality within multi-modal demonstrations to generate responses. Therefore, we propose a general and light-weighted framework \textbf{AIM} to tackle the mentioned problems through \textbf{A}ggregating \textbf{I}mage information of \textbf{M}ultimodal demonstrations to the dense latent space of the corresponding linguistic part. Specifically, AIM first uses the frozen backbone MLLM to read each image-text demonstration and extracts the vector representations on top of the text. These vectors naturally fuse the information of the image-text pair, and AIM transforms them into fused virtual tokens acceptable for the inner LLM via a trainable projection layer. Ultimately, these fused tokens function as variants of multi-modal demonstrations, fed into the MLLM to direct its response to the current query as usual. Because these fused tokens stem from the textual component of the image-text pair, a multi-modal demonstration is nearly reduced to a pure textual demonstration, thus seamlessly applying to any MLLMs. With its de facto MLLM frozen, AIM is parameter-efficient and we train it on public multi-modal web corpora which have nothing to do with downstream test tasks.
[ -0.3941580057144165, -0.817096471786499, 0.3683302402496338, 0.229074627161026, -0.5551432371139526, -0.17409352958202362, -0.6223890781402588, -0.30381515622138977, -0.15878506004810333, 0.03394559025764465, -0.39802929759025574, -0.3794504404067993, -0.3545745313167572, 0.01597035676240921, -0.40284278988838196, 0.9734336733818054, -0.0007057898328639567, 0.1380227953195572, -0.3066457509994507, -0.23483005166053772, -0.22529537975788116, -0.5352362990379333, -0.5290063619613647, -0.12072765082120895, 0.5095717310905457, 0.38658612966537476, 0.4263119697570801, 0.2794227600097656, 0.2098831683397293, 0.28974834084510803, 0.12067237496376038, 0.34942826628685, -0.5809683203697205, 0.18285411596298218, 0.10584704577922821, -0.19092898070812225, -0.051523275673389435, -0.07362721860408783, 0.9832220077514648, 0.49793288111686707, 0.14118054509162903, 0.06317582726478577, 0.2881678640842438, 0.24251767992973328, -0.6471337080001831, 0.33748090267181396, -0.9652169346809387, -0.17711178958415985, -0.12580931186676025, -0.12192722409963608, -0.6067929267883301, 0.30905860662460327, 0.019433103501796722, -0.47956252098083496, -0.11452321708202362, 0.2698182165622711, 0.7409290075302124, 0.22050191462039948, -0.6839312314987183, -0.27011120319366455, -0.5716813206672668, 0.9585621356964111, -0.6448917388916016, 0.5309635996818542, 0.3049881160259247, 0.2624688446521759, -0.005491879768669605, -0.5913852453231812, -0.6929510831832886, -0.5110217332839966, -0.2219349890947342, -0.040690433233976364, -0.021635178476572037, 0.03987114876508713, 0.22006036341190338, 0.12499446421861649, -0.4347105026245117, 0.15272320806980133, -0.09764085710048676, -0.1637388914823532, 0.3246470093727112, 0.15465131402015686, 0.14044128358364105, -0.17453978955745697, -0.7170896530151367, -0.06400402635335922, -0.7083702683448792, 0.2586926519870758, 0.04456988722085953, 0.3574139475822449, -0.33012980222702026, 0.5260297060012817, 0.10507555305957794, 0.7042230367660522, 0.22866377234458923, -0.4393025040626526, 0.2806232273578644, -0.4197423458099365, -0.460050106048584, -0.221588134765625, 0.888453483581543, 0.21772165596485138, -0.1278291493654251, -0.22598035633563995, -0.30958059430122375, -0.18380671739578247, 0.028917349874973297, -0.9318146705627441, 0.17737184464931488, 0.23111726343631744, -0.5068574547767639, 0.10935752838850021, -0.013117944821715355, -0.672911524772644, -0.09790436923503876, -0.5586551427841187, 0.7524614930152893, -0.6348689794540405, -0.23511123657226562, -0.09301748126745224, 0.1886015236377716, 0.2886304259300232, 0.44969332218170166, -0.6985095739364624, 0.09404149651527405, 0.5686120986938477, 0.7700768113136292, -0.20782886445522308, -0.41651925444602966, -0.6528351902961731, 0.310328871011734, -0.11911820620298386, 0.43359723687171936, -0.5458828210830688, -0.04715103656053543, 0.03769366443157196, 0.02786864899098873, -0.4181506931781769, -0.3252858817577362, 0.12920963764190674, -0.5649669766426086, 0.44388270378112793, -0.18958953022956848, -0.49033883213996887, -0.2392134666442871, 0.47939950227737427, -0.44950753450393677, 0.702393651008606, -0.1356225460767746, -0.8800309896469116, 0.5465582013130188, -0.7899978160858154, -0.5143362283706665, -0.08536741137504578, -0.36466512084007263, -0.2721984088420868, -0.03816546872258186, 0.24169814586639404, 0.7105887532234192, -0.43256545066833496, 0.36761730909347534, -0.23462632298469543, -0.45836248993873596, 0.38512730598449707, -0.7891162633895874, 0.5166566371917725, 0.11130068451166153, -0.6786497235298157, 0.3030308783054352, -0.6668990254402161, -0.04203678295016289, -0.1481131613254547, -0.6276870369911194, -0.33173495531082153, 0.1015593633055687, 0.3854316174983978, 0.37498369812965393, 0.014783179387450218, -0.46741002798080444, 0.1997992992401123, -0.39636656641960144, 0.23872071504592896, 0.8189403414726257, -0.23963342607021332, 0.4385012984275818, -0.10330801457166672, 0.44613444805145264, 0.22169271111488342, 0.21755169332027435, -0.539655327796936, -0.31631022691726685, -0.7158669829368591, -0.804598867893219, 0.16008682548999786, 0.34146714210510254, -0.9870348572731018, 0.1485104262828827, -0.2180691361427307, -0.14621232450008392, -0.4528605341911316, 0.26836976408958435, 0.6987589597702026, 0.5542988777160645, 0.3812659978866577, 0.06203467398881912, -0.17808838188648224, -1.0145279169082642, 0.05719974264502525, -0.09014227986335754, -0.0498570017516613, 0.38022780418395996, 0.38090944290161133, -0.00005729599797632545, 0.7790902256965637, 0.019937699660658836, -0.23793314397335052, -0.18840838968753815, 0.1292700320482254, 0.06960350275039673, 0.3674379885196686, 0.6260799169540405, -1.1701358556747437, -0.5930363535881042, 0.04449404031038284, -0.7624098062515259, 0.14957651495933533, -0.18789227306842804, 0.09649143368005753, 0.3154603838920593, 0.6360616683959961, -0.6667534708976746, 0.24571357667446136, 0.6358051300048828, -0.26417410373687744, 0.43755853176116943, -0.08977257460355759, 0.32733795046806335, -1.2158869504928589, 0.12068988382816315, -0.13224539160728455, -0.1412622183561325, -0.4875754117965698, 0.22857320308685303, 0.27906689047813416, -0.06534029543399811, -0.6574430465698242, 0.6821990609169006, -0.6650807857513428, 0.00478561595082283, -0.2556731402873993, 0.04870683699846268, -0.06228579208254814, 0.6879501938819885, -0.2649838626384735, 0.8379275798797607, 0.8397163152694702, -0.7148626446723938, 0.10830753296613693, -0.004384276922792196, -0.281667560338974, 0.709244966506958, -0.3893790543079376, 0.02560437098145485, -0.4310092031955719, 0.24067817628383636, -1.0596904754638672, -0.2727745771408081, 0.30030879378318787, -0.0665726587176323, 0.5977418422698975, -0.0955994501709938, -0.5276831984519958, -0.11768525838851929, -0.27323606610298157, 0.5514954924583435, 0.26787763833999634, -0.6496431231498718, 0.8423987627029419, 0.09400305151939392, 0.2210671454668045, -0.7269876599311829, -0.6159468293190002, 0.21160201728343964, -0.36643797159194946, -0.5747537612915039, 0.3074546754360199, -0.44455206394195557, -0.3415241539478302, -0.04015816003084183, 0.33954593539237976, 0.02934545837342739, -0.03287964686751366, 0.32128438353538513, 0.03808962181210518, -0.38464513421058655, 0.5594295859336853, -0.0440032035112381, 0.11317241936922073, -0.22137074172496796, -0.1968833953142166, 0.5988718867301941, -0.29353365302085876, -0.7545135617256165, -0.410409152507782, 0.5989362001419067, 1.0003825426101685, -0.22455880045890808, 0.82222980260849, 0.7643966674804688, -0.30103546380996704, -0.025855574756860733, -0.5694109201431274, -0.1473131775856018, -0.45333242416381836, 0.4598841965198517, -0.477720707654953, -0.8402679562568665, 0.29304108023643494, 0.1379544734954834, 0.2504141926765442, 0.20923633873462677, 0.7510913610458374, 0.13701333105564117, 1.2013148069381714, 0.6099979281425476, -0.09704607725143433, 0.5327581763267517, -0.18761451542377472, 0.06155187636613846, -0.908068060874939, -0.36873793601989746, -0.19607260823249817, -0.42142584919929504, 0.11057981848716736, -0.5723851919174194, 0.6673680543899536, 0.26312321424484253, -0.183731347322464, 0.04279998317360878, -0.1352255493402481, 0.26924213767051697, 0.4717411994934082, 0.21787069737911224, 0.22638574242591858, 0.14301803708076477, -0.4329705536365509, -0.0712021067738533, -0.6979435086250305, -0.33956390619277954, 0.9797638058662415, 0.17622530460357666, 0.8799768686294556, 0.1845652461051941, 0.27245214581489563, -0.053922902792692184, 0.4706946015357971, -0.8797627091407776, 0.5387421250343323, -0.05470169708132744, -0.5286250710487366, -0.25991374254226685, -0.2656324505805969, -0.7859233617782593, 0.6258765459060669, -0.20805883407592773, -0.5898537039756775, 0.03371288627386093, 0.3056528568267822, 0.018585234880447388, 0.4573459327220917, -0.7590029239654541, 0.770768404006958, -0.48551344871520996, -0.4923921823501587, -0.21578052639961243, -0.687466561794281, 0.43986472487449646, -0.12872210144996643, 0.45000573992729187, 0.11569765955209732, -0.1710149198770523, 0.359727680683136, -0.09882864356040955, 1.0964536666870117, -0.26113176345825195, -0.13691405951976776, 0.10278282314538956, 0.12325098365545273, 0.29987916350364685, 0.11572100222110748, -0.08903606981039047, -0.22856944799423218, -0.37355899810791016, -0.2918684482574463, -0.5330073833465576, 0.6261358857154846, -0.508172869682312, -0.40520164370536804, 0.028778010979294777, -0.7107852101325989, -0.31577470898628235, -0.0008620602311566472, 0.22030462324619293, 1.0158120393753052, -0.08776690065860748, 0.5710705518722534, 0.47018861770629883, -0.054775167256593704, 0.8060124516487122, 0.5173571109771729, -0.2590571939945221, -0.42071500420570374, 0.7061532735824585, -0.12134508788585663, 0.5297248959541321, 0.5350068211555481, 0.2043205350637436, -0.3690425753593445, -0.4796942472457886, -0.6828664541244507, 0.0901331827044487, -0.8734158873558044, -0.28643810749053955, -0.8445668816566467, 0.11130766570568085, -0.2670482099056244, -0.17149578034877777, -0.2498144656419754, -0.045853953808546066, -0.5332279801368713, 0.21386420726776123, 0.19724135100841522, 0.5393304824829102, -0.01126864179968834, 0.1625724881887436, -0.5502304434776306, 0.3392014503479004, 0.500092089176178, 0.06679283082485199, 0.22866064310073853, -0.5627635717391968, -0.2812536358833313, 0.17516440153121948, -0.15533244609832764, -0.61458820104599, 0.22586806118488312, 0.6394972801208496, 0.6424955129623413, 0.7646089196205139, -0.05133362114429474, 0.8496048450469971, -0.531073808670044, 0.8598690032958984, 0.3902643918991089, -0.9192100167274475, 0.21627438068389893, -0.31559741497039795, 0.38272175192832947, 0.35455939173698425, 0.5168682336807251, -0.39465397596359253, -0.46565714478492737, -0.2892489731311798, -0.9561604261398315, 0.4777770936489105, -0.09645094722509384, 0.3558843731880188, -0.1103496104478836, 0.18272356688976288, 0.21191944181919098, 0.42145490646362305, -1.0625661611557007, -0.12775304913520813, -0.24699310958385468, -0.2507023811340332, -0.1250080019235611, -0.2430696040391922, -0.27804017066955566, -0.37606608867645264, 0.5112138390541077, -0.7359040379524231, 0.18747885525226593, 0.0910947322845459, -0.4219171106815338, -0.09281396120786667, 0.31380322575569153, 0.7438069581985474, 0.8018118143081665, 0.10545899718999863, 0.4271872639656067, 0.10222265124320984, -0.044215332716703415, 0.0907382220029831, 0.03521689772605896, -0.20482438802719116, -0.1355506032705307, 0.50173419713974, 0.9791576862335205, 0.7153211832046509, -0.8101574778556824, 0.8424244523048401, 0.012597374618053436, -0.13122084736824036, -0.10310442000627518, -0.39160972833633423, -0.04864073172211647, 0.45400291681289673, 0.6650696396827698, -0.04267438128590584, -0.06799601763486862, -0.6859452724456787, 0.3659909963607788, 0.8087297677993774, -0.4112342298030853, -0.38305890560150146, 0.644098699092865, -0.14496970176696777, -0.18544898927211761, 0.3919345438480377, -0.28401756286621094, -0.6617986559867859, 0.2926308512687683, 0.8296458721160889, 0.6644489765167236, 0.06731369346380234, 0.17117804288864136, 0.18168413639068604, 0.15957500040531158, 0.12245859950780869, 0.028080003336071968, -0.13995566964149475, -0.5628036856651306, -0.5891333222389221, -0.5946282744407654, -0.09225630015134811, 0.16970273852348328, -0.2985004186630249, 0.38254067301750183, -0.33000442385673523, 0.037568818777799606, -0.3336428999900818, -0.46493983268737793, -0.66889888048172, 0.0728888064622879, 0.28108304738998413, 0.6536672115325928, -0.6848896145820618, 0.7372735142707825, 0.6342177391052246, -0.3628096282482147, -0.7573839426040649, 0.11023280769586563, -0.04520222544670105, -0.7758485674858093, 0.9164506793022156, 0.33404168486595154, -0.20254480838775635, -0.08201052993535995, -0.7746317386627197, -0.8253490924835205, 0.9749524593353271, 0.6290306448936462, -0.2441062182188034, -0.06789957731962204, -0.2076379805803299, 0.32797664403915405, -0.6456338763237, 0.30921030044555664, -0.24036486446857452, 0.564527690410614, 0.1595100611448288, -1.1361503601074219, 0.08184170722961426, -0.10896707326173782, -0.29329997301101685, 0.0005402659298852086, -0.8111791610717773, 1.1222738027572632, -0.1436399668455124, -0.24535879492759705, 0.03831753507256508, 0.5622970461845398, 0.07367967814207077, 0.200071319937706, 0.8232118487358093, 0.3620017468929291, 0.4317990243434906, 0.1390010565519333, 1.1155784130096436, -0.23505719006061554, 0.2294905036687851, 0.9020234942436218, -0.24253709614276886, 0.9709420800209045, 0.7320243120193481, 0.22807222604751587, 0.370670884847641, 0.3244350850582123, 0.1965581625699997, 0.5420666933059692, 0.0913204699754715, -0.4402288794517517, -0.46655529737472534, -0.14389555156230927, -0.28139352798461914, 0.7260442972183228, 0.32644104957580566, -0.3092598021030426, -0.3640836179256439, 0.6145799160003662, -0.00687214033678174, 0.01138152927160263, -0.2994805872440338, 0.7049865126609802, -0.00043467601062729955, -0.45203912258148193, 0.741525411605835, -0.11417007446289062, 0.958734393119812, -0.7080057859420776, -0.033801235258579254, 0.16691622138023376, 0.11251523345708847, 0.04218839108943939, -0.2977067232131958, -0.052530910819768906, -0.2604138255119324, -0.14899028837680817, -0.2724912166595459, 0.5560240745544434, -0.7694725394248962, -0.43126899003982544, 0.47656184434890747, 0.47201359272003174, 0.1266121119260788, -0.15600083768367767, -0.7091745734214783, 0.1422935277223587, -0.2681537866592407, -0.39051908254623413, 0.5875453948974609, 0.45446038246154785, 0.021368999034166336, 0.6938959360122681, 0.6006888747215271, -0.30559879541397095, 0.16120028495788574, 0.09964560717344284, 1.146701455116272, -0.2711520791053772, -0.40006914734840393, -0.8184657096862793, 0.6591486930847168, 0.05652911588549614, -0.2774569094181061, 0.6592645645141602, 0.5583786368370056, 0.692051351070404, -0.05506573244929314, 0.5455480813980103, -0.21504442393779755, 0.25443899631500244, -0.8990921378135681, 0.6152580976486206, -1.0156316757202148, 0.006274397950619459, -0.20709286630153656, -0.7432999014854431, -0.2851572632789612, 0.39053526520729065, 0.0654730498790741, 0.04889119789004326, 0.8102554678916931, 0.7269411087036133, -0.36643391847610474, -0.31445592641830444, 0.631699800491333, 0.21219517290592194, 0.3808024227619171, 0.5385968685150146, 0.8328911066055298, -0.3293605148792267, 0.6248624920845032, -0.20255795121192932, -0.1923556923866272, -0.25326740741729736, -0.9775480031967163, -1.068610429763794, -0.8636625409126282, -0.08635016530752182, -0.14104127883911133, -0.13241420686244965, 1.218755841255188, 0.9978960156440735, -0.7028500437736511, -0.24020737409591675, 0.3439626693725586, -0.04193831980228424, -0.12366170436143875, -0.2827649712562561, 0.4324896037578583, -0.46821677684783936, -0.7846764326095581, 0.6880952715873718, 0.3645666539669037, 0.042966898530721664, -0.5193593502044678, -0.06576201319694519, -0.3608733117580414, -0.2873101830482483, 1.0170809030532837, 0.1336079090833664, -0.9047948122024536, -0.49000468850135803, -0.03038150444626808, -0.07486041635274887, 0.047961149364709854, 1.0001991987228394, -0.7767019867897034, 0.361669659614563, 0.04446164518594742, 0.7966607809066772, 0.373655766248703, -0.19521354138851166, 0.4590003192424774, -0.8036866188049316, 0.5048601627349854, 0.21900294721126556, 0.4236251413822174, 0.39834409952163696, -0.19531717896461487, 0.028251389041543007, 0.17075525224208832, -0.3056083023548126, -0.7062011361122131, 0.33874499797821045, -1.0100340843200684, -0.3977124094963074, 1.3050779104232788, -0.09083065390586853, -0.22330385446548462, -0.15704314410686493, -0.3804129362106323, -0.004406924359500408, -0.30173495411872864, 0.5868021249771118, 0.48015549778938293, 0.01245268527418375, -0.2955700755119324, -0.4361494779586792, 0.32980602979660034, 0.34929823875427246, -0.6585221886634827, 0.09955298900604248, 0.6887929439544678, 0.12185026705265045, 0.055806368589401245, 0.5727038383483887, -0.02801399677991867, 0.053936414420604706, -0.2566893696784973, -0.016000298783183098, -0.21825675666332245, -0.572770357131958, -0.488307386636734, 0.6232681274414062, 0.02480224519968033, -0.0689743235707283 ]
http://arxiv.org/abs/2406.07036v1
http://arxiv.org/pdf/2406.07036v1
Paying More Attention to Source Context: Mitigating Unfaithful Translations from Large Language Model
2024-06-11T07:49:04
2024-06-11T07:49:04
Hongbin Zhang, Kehai Chen, Xuefeng Bai, Yang Xiang, Min Zhang
cs.CL
cs.CL, cs.AI
Large language models (LLMs) have showcased impressive multilingual machine translation ability. However, unlike encoder-decoder style models, decoder-only LLMs lack an explicit alignment between source and target contexts. Analyzing contribution scores during generation processes revealed that LLMs can be biased towards previously generated tokens over corresponding source tokens, leading to unfaithful translations. To address this issue, we propose to encourage LLMs to pay more attention to the source context from both source and target perspectives in zeroshot prompting: 1) adjust source context attention weights; 2) suppress irrelevant target prefix influence; Additionally, we propose 3) avoiding over-reliance on the target prefix in instruction tuning. Experimental results from both human-collected unfaithfulness test sets focusing on LLM-generated unfaithful translations and general test sets, verify our methods' effectiveness across multiple language pairs. Further human evaluation shows our method's efficacy in reducing hallucinatory translations and facilitating faithful translation generation.
[ -0.11708931624889374, -0.7207072377204895, 0.6363678574562073, 0.24280765652656555, -0.5128484964370728, -0.1443641036748886, -0.2788235545158386, -0.2595047652721405, -0.14964406192302704, 0.7920500636100769, -0.6861945986747742, -0.29951468110084534, -0.6338085532188416, 0.18779638409614563, -0.44100239872932434, 1.1165380477905273, -0.1993531882762909, 0.29068806767463684, -0.04695172235369682, -0.09024035185575485, -0.6638912558555603, -0.47671088576316833, -0.5323508977890015, -0.2589450478553772, 0.7088502645492554, 0.3469473719596863, 0.6123959422111511, 0.6384638547897339, 0.4661363959312439, 0.17860375344753265, 0.009877373464405537, 0.2740841805934906, -0.628106951713562, 0.3587076961994171, -0.4648120105266571, -0.41017377376556396, -0.2711917459964752, -0.025591140612959862, 0.5618173480033875, 0.4072549045085907, 0.15901905298233032, 0.4170708656311035, 0.1660180538892746, 0.39080190658569336, -0.9163249731063843, -0.08415070921182632, -0.7620577216148376, 0.02193940430879593, -0.28168225288391113, -0.4284701943397522, -0.9172719717025757, 0.1652553677558899, -0.40029922127723694, -0.3534108102321625, 0.3326452374458313, -0.12100319564342499, 0.5350244045257568, 0.629468560218811, -0.6353164315223694, 0.06284159421920776, -0.659240186214447, 0.9551884531974792, -0.6776553392410278, 0.3199223279953003, 0.24600636959075928, -0.03080848790705204, -0.46693819761276245, -0.11960536986589432, -0.46471723914146423, 0.04187113419175148, 0.015690486878156662, -0.030215540900826454, -0.1736588031053543, -0.07595769315958023, 0.26926112174987793, -0.13042476773262024, -0.20114031434059143, 0.06660425662994385, -0.0965193510055542, -0.3602420389652252, 0.5565981864929199, 0.051780927926301956, 0.3293248414993286, -0.05052187666296959, -0.28479817509651184, -0.2580018937587738, -1.0741177797317505, -0.12994833290576935, 0.022660313174128532, 0.49044981598854065, 0.0222577303647995, 0.678010106086731, 0.07978503406047821, 0.7374178767204285, 0.3123072385787964, -0.06526307761669159, 0.12070639431476593, -0.44793978333473206, -0.2982957363128662, 0.46345293521881104, 0.4501785933971405, 0.5876190066337585, 0.27453726530075073, -0.21509802341461182, -0.050176020711660385, 0.0747150406241417, 0.5011640787124634, -0.8555765151977539, 0.3828935921192169, 0.14804859459400177, -0.08774936944246292, -0.28739237785339355, -0.11656463891267776, -0.5843566656112671, -0.14413738250732422, -0.3223665654659271, 0.26454439759254456, -0.31023144721984863, 0.060601118952035904, -0.05574449896812439, 0.038002073764801025, 0.4935670793056488, 0.3225594758987427, -0.7511731386184692, -0.22169817984104156, 0.635118842124939, 0.7611579298973083, -0.061156004667282104, -0.4640457332134247, -1.0411553382873535, 0.6371120810508728, -0.5591774582862854, 0.577691912651062, -0.5190567374229431, -0.17351694405078888, 0.05163265019655228, 0.10126826167106628, 0.09988012164831161, -0.2137157917022705, 0.6576372981071472, -0.5879293084144592, 0.20245924592018127, -0.48615750670433044, -0.4314276874065399, -0.08146689087152481, 0.12035708874464035, -0.26628363132476807, 0.7490015625953674, 0.12840799987316132, -0.4917246401309967, 0.37377336621284485, -0.5198178887367249, -0.6547353863716125, 0.02992614358663559, -0.12270091474056244, -0.2668639123439789, 0.5368255376815796, 0.4684337079524994, 0.4726530611515045, -0.05541442707180977, 0.3351041078567505, -0.13038748502731323, -0.3646206259727478, 0.17757819592952728, -0.6457210183143616, 0.7287559509277344, 0.27867570519447327, -0.6121250987052917, 0.14732439815998077, -0.12400534003973007, -0.06106284633278847, 0.1833023577928543, -0.16164569556713104, -0.4850251078605652, -0.24991019070148468, 0.10875088721513748, 0.4724089205265045, -0.10271697491407394, -0.5860487818717957, 0.07672849297523499, -0.4470229148864746, 0.346479207277298, 0.7457748055458069, 0.12911488115787506, 0.3857296407222748, -0.04961574450135231, 0.3743107318878174, 0.25932350754737854, -0.0113728828728199, -0.5101967453956604, -0.35142648220062256, -0.6241751909255981, -0.1308271437883377, -0.003740099025890231, 0.32491767406463623, -0.786279559135437, 0.4097342789173126, -0.2438354641199112, 0.002807478653267026, -0.6512149572372437, 0.42935967445373535, 0.7975283861160278, 0.6071394681930542, 0.4493228793144226, -0.33588916063308716, -0.31389710307121277, -0.6939133405685425, -0.44174474477767944, 0.126468688249588, -0.1580272912979126, 0.12484097480773926, 0.35886529088020325, -0.23631519079208374, 0.7385292053222656, -0.18614821135997772, -0.5058071613311768, -0.1400453895330429, 0.0011477363295853138, -0.026661457493901253, 0.33621710538864136, 0.5348307490348816, -0.6900062561035156, -0.4870383143424988, -0.11212108284235, -0.615692675113678, -0.22561399638652802, -0.33760663866996765, -0.3997661769390106, 0.4007963538169861, 0.705277144908905, -0.5986886024475098, 0.24977664649486542, 0.4026457369327545, -0.5789611339569092, 0.09544295072555542, -0.1083756759762764, 0.10263993591070175, -1.2734445333480835, 0.14205040037631989, -0.19354651868343353, -0.37723270058631897, -0.6522723436355591, 0.5158167481422424, 0.32543081045150757, 0.09126029163599014, -0.833343505859375, 0.6316449046134949, -0.6996302604675293, -0.021795235574245453, -0.27753838896751404, 0.281444251537323, 0.15414024889469147, 0.4313061535358429, -0.1254812628030777, 0.8513240218162537, 0.2719838321208954, -0.34379899501800537, 0.2601868808269501, 0.4498291015625, -0.015979204326868057, 0.7925857901573181, -0.4809616208076477, 0.23987995088100433, -0.2167835682630539, 0.35332491993904114, -0.79462069272995, -0.400840163230896, 0.33233559131622314, -0.5311770439147949, 0.7279126048088074, 0.00438256561756134, -0.4420187771320343, -0.02365039847791195, -0.43805548548698425, 0.3860328495502472, 0.387497216463089, -0.5000841021537781, 0.2401735484600067, 0.052244797348976135, 0.07805022597312927, -0.7480422854423523, -0.9393860101699829, 0.41991323232650757, -0.13153740763664246, -0.34130945801734924, 0.2121872454881668, -0.05535419285297394, -0.08306524157524109, -0.07909349352121353, -0.18639162182807922, 0.08694981783628464, -0.009272282011806965, 0.07903629541397095, 0.3291853368282318, -0.18631187081336975, 0.011565281078219414, 0.1178244948387146, -0.005398713052272797, 0.15782885253429413, -0.33936694264411926, 0.44537079334259033, 0.3835090100765228, -0.5118125677108765, -0.23121699690818787, 0.6088069081306458, 0.8420737981796265, -0.264508992433548, 0.8254175782203674, 0.5673525333404541, -0.14308112859725952, -0.19787918031215668, -0.5953060984611511, -0.40010589361190796, -0.40119242668151855, 0.42199817299842834, -0.2216261923313141, -0.975820779800415, 0.3341250717639923, 0.10301646590232849, 0.1181206926703453, 0.22355666756629944, 0.8955321311950684, 0.20136207342147827, 1.163991928100586, 0.5948426127433777, -0.41418564319610596, 0.3795088827610016, 0.21145248413085938, 0.35287633538246155, -1.112531065940857, 0.016906851902604103, -0.34521812200546265, -0.3394733667373657, -0.38030123710632324, -0.5989042520523071, 0.2559170424938202, 0.20540179312229156, -0.13503806293010712, 0.3500334322452545, -0.6237752437591553, 0.7184396982192993, 0.3640958368778229, -0.015908032655715942, 0.1739199310541153, 0.20699457824230194, -0.14361783862113953, -0.2353285849094391, -0.5083072185516357, -0.34284207224845886, 1.2092187404632568, 0.2527192234992981, 0.5017197132110596, 0.2886745035648346, 0.556016206741333, 0.0408111996948719, 0.4493105411529541, -0.6670923829078674, 0.25353026390075684, -0.07845304161310196, -0.7839834690093994, -0.3970027267932892, -0.41233620047569275, -0.7640997171401978, 0.27132049202919006, 0.3004508316516876, -0.7141260504722595, 0.11420197039842606, 0.10390768200159073, -0.3873851001262665, 0.16641581058502197, -0.5408653616905212, 0.8055728077888489, -0.3219537138938904, -0.7181324362754822, -0.03386798873543739, -0.524620771408081, 0.48491543531417847, -0.3063969612121582, 0.11366734653711319, 0.05723929777741432, -0.18892227113246918, 0.14512716233730316, -0.08549310266971588, 1.0370591878890991, -0.08011302351951599, -0.5655412673950195, 0.02973540872335434, 0.3436048626899719, 0.6887052655220032, 0.10620729625225067, 0.006801356561481953, 0.2084323912858963, -0.39564114809036255, -0.5460281372070312, -0.4271489381790161, 0.7961017489433289, -0.7180524468421936, -0.6664959192276001, -0.2486662119626999, -0.7570662498474121, -0.2027512490749359, 0.3933202922344208, 0.6625452637672424, 0.11200243979692459, -0.0778733491897583, 0.17346373200416565, 0.8627378940582275, -0.015148196369409561, 0.507695198059082, 0.7470952272415161, 0.010390257462859154, -0.17143145203590393, 0.700393795967102, -0.23281586170196533, 0.43530526757240295, 0.3198873996734619, -0.15809239447116852, -0.37555351853370667, -0.3349635601043701, -0.9141996502876282, 0.30951228737831116, -0.6429148316383362, -0.479129433631897, -0.36391517519950867, -0.11024590581655502, -0.676218569278717, -0.4009818136692047, -0.44513869285583496, 0.09308568388223648, -0.36234334111213684, 0.08544578403234482, 0.19716161489486694, 0.3735954463481903, 0.05916782096028328, 0.20823757350444794, -0.8355814218521118, 0.2582504153251648, 0.11425285786390305, 0.11090221256017685, -0.12833966314792633, -0.9260183572769165, 0.05017862468957901, 0.14894118905067444, -0.32469379901885986, -0.9321034550666809, 0.5465384721755981, 0.1075296550989151, 0.4311796724796295, 0.4966885447502136, 0.21373900771141052, 0.7225782871246338, -0.6511272192001343, 0.7098062038421631, 0.24328088760375977, -1.1076940298080444, 0.6081440448760986, -0.43747037649154663, 0.6573022603988647, 0.5703651309013367, 0.23806962370872498, -0.7141866087913513, -0.6751494407653809, -0.27667132019996643, -0.7709687352180481, 0.871630847454071, 0.1984594762325287, 0.6151461601257324, 0.024695776402950287, 0.599072277545929, -0.15913841128349304, 0.2891470789909363, -0.8272742033004761, -0.07044346630573273, -0.1520051807165146, -0.08983061462640762, -0.37169256806373596, -0.41400331258773804, -0.33017104864120483, -0.1601446121931076, 0.5902886390686035, -0.3204386830329895, 0.08882952481508255, 0.38358697295188904, -0.22880195081233978, -0.7866642475128174, 0.36484694480895996, 0.9812119007110596, 0.38966670632362366, -0.01354364212602377, 0.2826283276081085, 0.11445052921772003, -0.4489510655403137, 0.3701586425304413, -0.3774866759777069, -0.6261584162712097, 0.02359549142420292, 0.5040602684020996, 0.6993134021759033, 0.3883169889450073, -0.47467732429504395, 0.6071842312812805, 0.11070140451192856, -0.007327414583414793, -0.14956770837306976, 0.11936327815055847, 0.1532365381717682, 0.04666781798005104, 0.19659370183944702, -0.04248702898621559, -0.19981034100055695, -0.5543748140335083, 0.1878938525915146, 0.5168089270591736, -0.5952745676040649, -0.1889086812734604, 0.696313202381134, 0.2319478839635849, -0.3533646762371063, 0.5507559180259705, -0.23613335192203522, -0.49806609749794006, 0.29875606298446655, 0.8618766069412231, 0.9643312692642212, -0.6414719223976135, 0.14573070406913757, 0.3151102066040039, 0.48037320375442505, -0.15717639029026031, -0.06166943162679672, -0.17649930715560913, -0.6758856773376465, -0.7601139545440674, -0.49296844005584717, -0.2378040850162506, 0.3571571111679077, -0.717193603515625, 0.35595226287841797, -0.08462414145469666, 0.1982693374156952, -0.17399515211582184, -0.35818323493003845, -0.3130844831466675, -0.14305084943771362, 0.23188884556293488, 0.6312064528465271, -0.7932359576225281, 0.9181777834892273, 0.6193488240242004, -0.4887385666370392, -0.6900294423103333, 0.24824675917625427, 0.17393004894256592, -0.7390493750572205, 0.5758366584777832, 0.13619327545166016, -0.2442304491996765, 0.06017206981778145, -0.6821618676185608, -0.880686342716217, 0.7035095691680908, 0.8080881834030151, -0.7516377568244934, 0.03793244808912277, 0.2799190878868103, 0.36756646633148193, -0.3624994158744812, 0.1151876375079155, 0.4468947947025299, 0.4558066725730896, 0.20912809669971466, -0.7041469812393188, 0.3763909339904785, -0.1735491007566452, -0.008923955261707306, 0.38190531730651855, -0.6115574836730957, 0.7085187435150146, -0.2688366174697876, -0.289185494184494, -0.23169350624084473, 0.2512732148170471, 0.25016942620277405, 0.09457999467849731, 0.17997051775455475, 0.406374990940094, 0.19604434072971344, 0.20120352506637573, 0.9858861565589905, -0.3010989725589752, 0.06423146277666092, 1.424343466758728, -0.5347131490707397, 0.8527585864067078, 0.9889312982559204, 0.2389596551656723, 0.10714633762836456, 0.3583657741546631, -0.19906014204025269, 0.6494227051734924, 0.13171018660068512, -0.2751947343349457, -0.3267742097377777, -0.39204686880111694, -0.2894541919231415, 0.5714918971061707, 0.07810486853122711, -0.57389235496521, -0.5520031452178955, 0.01506456732749939, 0.3450263440608978, 0.24612581729888916, -0.19963467121124268, 0.7271373271942139, 0.15941080451011658, -0.8773097991943359, 0.7394134998321533, 0.19881273806095123, 0.6144124269485474, -0.4953410029411316, -0.1015106663107872, -0.4531192481517792, 0.27497681975364685, -0.03958699852228165, -0.4878063499927521, 0.3774464428424835, 0.28496241569519043, -0.27449336647987366, -0.46336156129837036, 0.4143121838569641, -0.44393256306648254, -0.50602126121521, 0.4313129782676697, 0.39262568950653076, 0.17813552916049957, -0.38379546999931335, -0.4198035001754761, 0.11102253198623657, 0.2591889500617981, -0.37434840202331543, 0.6043052673339844, 0.5122600197792053, -0.28302115201950073, 0.3499458134174347, 0.8170359134674072, 0.13676020503044128, -0.0416543073952198, 0.0874200165271759, 0.7204296588897705, -0.5877068638801575, -0.29306674003601074, -1.0881571769714355, 0.3379238247871399, -0.021021073684096336, -0.35162976384162903, 1.0635393857955933, 0.26695072650909424, 1.0655038356781006, -0.016098514199256897, 0.4547683596611023, 0.28657224774360657, 0.04847013205289841, -0.33974432945251465, 0.691278338432312, -0.5023982524871826, 0.1646522730588913, -0.3160300850868225, -1.0756174325942993, -0.4663707911968231, 0.391835480928421, -0.025640005245804787, -0.14044754207134247, 0.6022323369979858, 0.766639769077301, -0.029010217636823654, -0.38491836190223694, 0.6433029770851135, 0.12431176006793976, 0.2762660086154938, 0.8044254183769226, 0.6395902633666992, -0.36352044343948364, 0.5802590847015381, -0.05279577895998955, -0.1123628243803978, -0.38290297985076904, -1.0650594234466553, -0.8505990505218506, -0.19639800488948822, -0.17545025050640106, -0.13725346326828003, 0.005955880042165518, 0.7257721424102783, 0.6734873652458191, -0.9140611886978149, -0.01187023427337408, -0.2728840112686157, 0.04343293234705925, -0.18928168714046478, -0.1640283763408661, 0.12430813908576965, -0.6033316850662231, -0.7301121950149536, 0.5690352320671082, 0.4804306924343109, -0.04313026741147041, -0.6060571074485779, -0.14485587179660797, -0.10075794905424118, 0.1907283216714859, 0.6566569209098816, -0.07408078759908676, -1.0223580598831177, -0.4663412570953369, 0.17308728396892548, -0.3568858206272125, -0.01859348453581333, 0.8814165592193604, -0.4108181297779083, 0.3195013403892517, 0.28399431705474854, 0.5968735814094543, 0.19809499382972717, -0.01881534978747368, 0.7877777218818665, -1.0274714231491089, 0.30947890877723694, 0.1816227287054062, 0.18264710903167725, 0.3828407824039459, -0.845329225063324, 0.42254284024238586, -0.004626932553946972, -0.37584853172302246, -1.050425410270691, 0.3109775483608246, -0.6034970283508301, -0.5058243274688721, 1.2054330110549927, -0.2166237086057663, -0.42601776123046875, -0.1006900891661644, -0.1925036907196045, 0.4934301972389221, -0.4491919279098511, 0.7523452043533325, 0.7780939340591431, 0.09274514019489288, -0.17665861546993256, -0.7028208374977112, 0.3836950361728668, 0.8565567135810852, -0.5487346053123474, 0.4100748896598816, 0.5502907037734985, 0.09860680997371674, 0.2592819333076477, 0.26675379276275635, -0.23795664310455322, 0.3437904715538025, -0.17281118035316467, 0.2045198678970337, -0.11836683750152588, -0.3407779633998871, -0.6957162022590637, -0.0783797949552536, 0.035539768636226654, -0.017912937328219414 ]
http://arxiv.org/abs/2406.07034v1
http://arxiv.org/pdf/2406.07034v1
Improving Multi-hop Logical Reasoning in Knowledge Graphs with Context-Aware Query Representation Learning
2024-06-11T07:48:20
2024-06-11T07:48:20
Jeonghoon Kim, Heesoo Jung, Hyeju Jang, Hogun Park
cs.AI
cs.AI, cs.CL
Multi-hop logical reasoning on knowledge graphs is a pivotal task in natural language processing, with numerous approaches aiming to answer First-Order Logic (FOL) queries. Recent geometry (e.g., box, cone) and probability (e.g., beta distribution)-based methodologies have effectively addressed complex FOL queries. However, a common challenge across these methods lies in determining accurate geometric bounds or probability parameters for these queries. The challenge arises because existing methods rely on linear sequential operations within their computation graphs, overlooking the logical structure of the query and the relation-induced information that can be gleaned from the relations of the query, which we call the context of the query. To address the problem, we propose a model-agnostic methodology that enhances the effectiveness of existing multi-hop logical reasoning approaches by fully integrating the context of the FOL query graph. Our approach distinctively discerns (1) the structural context inherent to the query structure and (2) the relation-induced context unique to each node in the query graph as delineated in the corresponding knowledge graph. This dual-context paradigm helps nodes within a query graph attain refined internal representations throughout the multi-hop reasoning steps. Through experiments on two datasets, our method consistently enhances the three multi-hop reasoning foundation models, achieving performance improvements of up to 19.5%. Our code is available at https://github.com/kjh9503/caqr.
[ -0.27521103620529175, -0.9937803745269775, 0.7441868782043457, -0.03301719203591347, -0.11995109170675278, -0.008256649598479271, -0.05222482606768608, -0.4129212200641632, 0.03872479498386383, 0.5492812395095825, -0.6068337559700012, -0.5597450137138367, -0.45524513721466064, -0.08042474091053009, 0.04203639179468155, 0.471455842256546, 0.12360168248414993, -0.06878234446048737, -0.4406774640083313, -0.4797864854335785, -0.5406704545021057, -0.5699276924133301, -0.5896793007850647, -0.07205399870872498, 0.4114786684513092, 0.0650317370891571, 0.6153632402420044, 0.40107646584510803, 0.27679887413978577, 0.19917267560958862, -0.1386939287185669, 0.538776695728302, -0.33613622188568115, 0.4049043357372284, -0.22800874710083008, -0.3534468412399292, -0.31107622385025024, -0.14578433334827423, 0.672743022441864, 0.9243285655975342, 0.006560881156474352, -0.07148427516222, -0.07595576345920563, 0.7637448310852051, -0.8345192074775696, 0.6721025705337524, -0.7270380258560181, 0.009495485574007034, -0.07028073072433472, -0.33014243841171265, -0.7156988978385925, -0.4109525978565216, 0.14161767065525055, -0.8899846076965332, -0.07414991408586502, 0.09150779992341995, 0.4428173899650574, 0.336305171251297, -0.9157233238220215, -0.22358238697052002, -0.4940667152404785, 0.4728669822216034, -0.42262616753578186, 0.9011227488517761, 0.20218203961849213, 0.6472962498664856, -0.5030514597892761, -0.7647951245307922, -0.4438202679157257, -0.11030205339193344, -0.2297312468290329, -0.0666004866361618, -0.1258600801229477, 0.10598618537187576, 0.4376883804798126, 0.09120377153158188, -0.38662683963775635, -0.45396676659584045, -0.07316519320011139, -0.42628538608551025, 0.5481646656990051, 0.049364350736141205, -0.013212000019848347, -0.05547412857413292, -0.32955023646354675, -0.14582321047782898, -0.5614057779312134, 0.3860132098197937, 0.15488219261169434, 0.5748580694198608, 0.4030418395996094, 0.4611639976501465, -0.5856995582580566, 1.2069975137710571, -0.1504785567522049, -0.16496127843856812, 0.26709774136543274, -0.5275253057479858, -0.10346801578998566, -0.10547679662704468, 0.6467265486717224, 0.14940890669822693, 0.27751368284225464, -0.19110427796840668, 0.056185171008110046, 0.0665009468793869, 0.09080509841442108, -0.7186484336853027, -0.12626001238822937, 0.1474592685699463, -0.12967608869075775, -0.008511161431670189, 0.10238661617040634, -0.42275339365005493, -0.4188133478164673, -0.28018447756767273, 0.3170224726200104, -0.7391977310180664, -0.19788719713687897, 0.23424194753170013, -0.15059837698936462, 0.19787825644016266, 0.4694196283817291, -0.4211593270301819, 0.31360769271850586, 0.480158269405365, 0.5624444484710693, 0.4717373549938202, -0.13378866016864777, -0.9150019884109497, 0.4934001863002777, -0.27816298604011536, 0.7071319222450256, -0.6552324891090393, -0.17561697959899902, -0.2648523449897766, -0.20086830854415894, -0.3228248953819275, -0.2549471855163574, 0.6511974930763245, -0.9246537089347839, 0.0429857037961483, -0.5454199910163879, -0.8183725476264954, -0.29804134368896484, 0.4168051481246948, -0.5504111647605896, 0.9637888073921204, 0.022278403863310814, -0.9597052335739136, 0.3724053204059601, -0.7370580434799194, -0.5866299867630005, -0.1342604011297226, -0.37130993604660034, -0.01724204421043396, -0.08158589899539948, 0.4755116403102875, 0.16622194647789001, -0.1548718512058258, 0.14330966770648956, -0.5439416766166687, -0.06918364018201828, 0.0021416929084807634, -0.07544239610433578, 0.954755425453186, 0.0534910149872303, -0.11189930140972137, 0.14967790246009827, -0.6366018652915955, 0.3168235719203949, 0.2205510288476944, -0.14158464968204498, -0.6114411354064941, 0.21188263595104218, -0.5836746692657471, 0.4089089632034302, -0.13126380741596222, -0.3994572162628174, 0.35428717732429504, -0.5126419067382812, 0.3422098457813263, 0.5031523704528809, 0.09942198544740677, 0.46029728651046753, -0.009754749946296215, 0.2801515460014343, 0.2315891683101654, 0.267280638217926, -0.18003812432289124, -0.7802248001098633, -0.2464289367198944, -0.11768792569637299, 0.04423414543271065, 0.49842560291290283, -0.776732861995697, 0.324762761592865, -0.20551523566246033, -0.272494912147522, -0.08684813976287842, -0.11915584653615952, 0.14215342700481415, 1.1794542074203491, 0.5444263815879822, 0.073398657143116, -0.20140327513217926, -0.6378302574157715, -0.575162947177887, -0.32422903180122375, 0.16551457345485687, 0.4039370119571686, 0.3699275553226471, -0.28307586908340454, 1.2811788320541382, -0.7711570858955383, -0.3212859332561493, -0.009634144604206085, -0.03738643229007721, 0.2193857878446579, 0.28545036911964417, 0.6280032992362976, -0.9091657996177673, -0.2570946514606476, -0.1501731276512146, -0.7688508629798889, 0.10745278745889664, 0.14561378955841064, -0.5407062768936157, -0.024307791143655777, 0.35597267746925354, -0.6667677760124207, 0.7347888350486755, 0.06602171808481216, -0.6946000456809998, 0.6576301455497742, -0.0700567439198494, 0.15228721499443054, -0.8391245603561401, -0.12534889578819275, -0.05992230772972107, -0.2224724441766739, -0.6161351799964905, 0.1549089252948761, 0.22406314313411713, 0.09693584591150284, -0.18811091780662537, 0.6554296016693115, -0.3714819848537445, -0.03374418243765831, 0.12462791800498962, 0.21254324913024902, 0.36335238814353943, 0.3259965479373932, 0.10669070482254028, 0.5181861519813538, 0.5964943170547485, -0.6953020095825195, 0.15631809830665588, 0.36711904406547546, -0.07731188088655472, 0.4342469274997711, -0.4929610788822174, 0.06614517420530319, -0.18133461475372314, 0.6707659363746643, -0.9944649338722229, -0.12242976576089859, 0.44519051909446716, -0.5784972906112671, 0.04327848553657532, -0.43464794754981995, -0.6242037415504456, -0.33230894804000854, -0.08421765267848969, 0.6482384204864502, -0.021337086334824562, -0.5114828944206238, 0.7326230406761169, 0.21622240543365479, 0.37586867809295654, -0.7583085894584656, -0.5046129822731018, -0.32746097445487976, 0.06546592712402344, -1.043972373008728, 0.3660076856613159, 0.04297501593828201, -0.18546722829341888, 0.12690523266792297, -0.4190780222415924, -0.14970886707305908, -0.03627312183380127, -0.16001491248607635, -0.033779844641685486, -0.1797431856393814, 0.30703386664390564, 0.3240886628627777, -0.06617993861436844, 0.2185104489326477, -0.9016868472099304, 0.4105985760688782, -0.2676698863506317, -0.7137410044670105, -0.31282249093055725, 0.1389748752117157, 0.5875917077064514, -0.5664740204811096, 0.8752388954162598, 0.4612535834312439, -0.5921817421913147, -0.22506490349769592, -0.3897932469844818, -0.34941837191581726, -0.37501534819602966, 0.03462444245815277, -0.6323956847190857, -0.8043550848960876, 0.5948805809020996, -0.12113097310066223, -0.23122525215148926, 0.36360830068588257, 0.08558419346809387, 0.14297015964984894, 1.0082792043685913, 0.3484293520450592, 0.19717109203338623, 0.2569402754306793, -0.40921005606651306, 0.42328229546546936, -0.7503674030303955, -0.43159574270248413, -0.3535816967487335, 0.0754917711019516, -0.31369298696517944, -0.6019728779792786, 0.6780664920806885, 0.4092298150062561, -0.268455445766449, -0.02754382975399494, -0.2568390965461731, 0.3081783056259155, 0.6280314326286316, 0.19730670750141144, 0.5589185357093811, 0.06079362705349922, -0.6490857601165771, 0.10059266537427902, -0.820292592048645, -0.1345771700143814, 0.9680709838867188, 0.0060994792729616165, 0.45217689871788025, 0.31291571259498596, 0.611300528049469, 0.06682312488555908, -0.016029376536607742, -0.8820440769195557, 0.4103953540325165, 0.2744532525539398, -0.5969381332397461, -0.3063536584377289, -0.8699384927749634, -0.7458582520484924, 0.6350089907646179, -0.13689710199832916, -0.9964650273323059, 0.14958351850509644, 0.28884464502334595, -0.2676485776901245, 0.3718129098415375, -0.5980340838432312, 1.104608416557312, -0.2899220883846283, -0.5194863677024841, 0.000036762394302058965, -0.8022493720054626, 0.49040767550468445, 0.3130877614021301, 0.4682355523109436, -0.08829136937856674, 0.2952471971511841, 0.3425563871860504, -0.7301133871078491, 0.35506847500801086, -0.6019790768623352, 0.1176612451672554, 0.5213500261306763, 0.17144589126110077, 0.6283966302871704, 0.3457503616809845, -0.1325419545173645, -0.11123771220445633, 0.12619373202323914, -0.3944942057132721, -0.9380314946174622, 0.28153884410858154, -0.41217508912086487, -0.48947545886039734, -0.3739790618419647, -0.701485812664032, -0.5795840620994568, 0.45565521717071533, -0.015463713556528091, 0.8223515748977661, 0.10863315314054489, 0.11700855940580368, 0.6392412781715393, -0.11103526502847672, -0.06747659295797348, 0.05477501079440117, -0.4419265389442444, -0.3252832591533661, 0.3949126601219177, 0.11202132701873779, 0.22743067145347595, 0.5842060446739197, 0.3528120517730713, -0.8487808108329773, -0.37946680188179016, -0.3893226981163025, 0.13386881351470947, -0.9149519205093384, -0.26732802391052246, -0.80279940366745, -0.03185252472758293, -0.7612578272819519, 0.11792442202568054, -0.24065881967544556, -0.559639036655426, 0.20148798823356628, -0.0026053371839225292, 0.4254670739173889, 0.2925025522708893, 0.15255281329154968, 0.21849094331264496, -0.6731235384941101, 0.3597831130027771, 0.3138889968395233, 0.4118114411830902, 0.06716154515743256, -0.20579558610916138, 0.05608432739973068, 0.18896034359931946, -0.17330874502658844, -1.13771390914917, 0.04977064207196236, 0.1585640162229538, 0.7298427224159241, 0.43877431750297546, 0.3188709020614624, 0.7052136063575745, -0.40086209774017334, 0.3247171640396118, 0.0244448259472847, -0.7351257801055908, 0.9920399785041809, -0.45767921209335327, 0.1699644923210144, 0.6650347709655762, 0.20642299950122833, -0.3240548372268677, -0.1601574569940567, -0.4425487518310547, -0.8867796659469604, 0.6663909554481506, 0.32655107975006104, -0.30677351355552673, -0.039830178022384644, 0.5066737532615662, -0.21547281742095947, 0.18449178338050842, -0.5818403363227844, -0.3781331777572632, -0.3450794219970703, -0.09322398155927658, 0.34867581725120544, 0.11239634454250336, -0.10971324890851974, -0.597957193851471, 0.4566424489021301, -0.5495961904525757, 0.187404066324234, 0.2415362298488617, -0.31469252705574036, 0.2999251186847687, 0.19855552911758423, 0.12592990696430206, 0.9778537750244141, -0.32300251722335815, 0.1560058742761612, -0.09450390189886093, -0.24858546257019043, -0.012304186820983887, 0.5554720759391785, -0.2370263636112213, -0.16806215047836304, 0.3983629643917084, 0.5367565155029297, 0.12914472818374634, -0.5170681476593018, 0.6542261838912964, -0.33634328842163086, 0.03431341052055359, -0.07927067577838898, 0.13423460721969604, 0.12025311589241028, 0.3598003685474396, 0.5477966666221619, 0.16752220690250397, 0.37246841192245483, -0.4137353003025055, 0.4110057055950165, 0.5874490141868591, -0.24577175080776215, 0.010517071932554245, 0.919314444065094, -0.10715930163860321, 0.08721423149108887, 0.8093821406364441, -0.5594437122344971, -0.58921217918396, 0.4928099811077118, 0.5107353925704956, 0.43105000257492065, 0.02037382312119007, 0.2150818258523941, 0.6414899230003357, 0.2638888657093048, 0.1838570386171341, 0.3287695646286011, -0.3703342080116272, -1.0114271640777588, -0.4140407145023346, -0.6230407357215881, -0.2557702958583832, -0.36473506689071655, -0.6490894556045532, 0.16605234146118164, -0.31208109855651855, -0.20117254555225372, -0.13360558450222015, 0.033825796097517014, -0.6454704999923706, 0.09792762994766235, -0.13378064334392548, 1.2042295932769775, -0.5557870268821716, 0.932482123374939, 0.8797221183776855, -0.5022999048233032, -0.8557127118110657, 0.02626645937561989, 0.16843487322330475, -0.34670138359069824, 0.46934378147125244, 0.27260565757751465, -0.37339478731155396, -0.025462670251727104, -0.13338817656040192, -0.8781769275665283, 1.2469983100891113, 0.48141908645629883, -0.3021447956562042, 0.07616512477397919, 0.12765425443649292, 0.31239330768585205, -0.44046318531036377, 0.31977224349975586, 0.4739595055580139, 0.45334726572036743, 0.38499531149864197, -0.4627455174922943, 0.14442424476146698, -0.15113948285579681, -0.04468657448887825, 0.1851198673248291, -0.45912840962409973, 0.567670464515686, -0.33510249853134155, -0.06874494254589081, -0.42163506150245667, 0.7756443619728088, 0.9335863590240479, 0.5023426413536072, 0.7657114863395691, 0.6492772698402405, 1.2249274253845215, -0.16736508905887604, 1.1512465476989746, -0.4245149493217468, 0.3667612671852112, 1.225882649421692, -0.23250670731067657, 0.5763040781021118, 0.39768001437187195, -0.10831789672374725, 0.6117427349090576, 0.56749427318573, 0.7099636197090149, 0.4892306923866272, 0.08236896246671677, -0.12568411231040955, -0.35197192430496216, -0.029426872730255127, -0.5241861343383789, 0.3892624080181122, 0.5229275822639465, -0.03480564057826996, -0.33770957589149475, -0.36783573031425476, 0.023845843970775604, 0.06907124072313309, -0.13013969361782074, 0.4318108856678009, -0.1255687028169632, -0.5200124979019165, 0.34024715423583984, -0.1349707841873169, 0.15571971237659454, -0.6261172294616699, -0.10341326892375946, -0.20718297362327576, 0.15265345573425293, -0.0870153158903122, -0.5547738075256348, 0.3837750554084778, -0.3930644392967224, -0.24635934829711914, 0.006022230722010136, 0.86540687084198, -0.19836896657943726, -0.5328269004821777, 0.7379149794578552, 0.7761057615280151, -0.32747018337249756, -0.34841129183769226, -0.6803862452507019, -0.12219322472810745, -0.2470625936985016, -0.29411524534225464, 0.006496767047792673, 0.7094325423240662, -0.23834219574928284, 0.6625714898109436, 0.6285763382911682, -0.08031532168388367, 0.32428693771362305, 0.3361356258392334, 0.9564302563667297, -0.4968580901622772, -0.6975934505462646, -0.6691470146179199, 0.5076083540916443, -0.19084706902503967, -0.0681929662823677, 0.592648446559906, 0.5050848722457886, 0.8541696667671204, 0.18355457484722137, 0.6885049343109131, -0.31712719798088074, 0.1474114954471588, -0.5291937589645386, 0.4209674000740051, -0.5301536321640015, 0.3206596374511719, -0.35726746916770935, -0.9070731997489929, -0.5704684853553772, 0.634951651096344, -0.4523445665836334, 0.15182755887508392, 0.6523703336715698, 0.6938166618347168, -0.32348722219467163, 0.15060891211032867, -0.018357282504439354, 0.15690980851650238, 0.46094831824302673, 0.4827384948730469, 0.9361029267311096, -0.4059273600578308, 0.5829377770423889, -0.49011191725730896, -0.3432765305042267, -0.01022128015756607, -0.9324137568473816, -0.5835899114608765, -0.43717220425605774, -0.21555200219154358, -0.3392266631126404, 0.026664651930332184, 0.758476734161377, 0.8478890061378479, -0.7130110263824463, -0.005567139480262995, -0.23418451845645905, 0.514997661113739, -0.44894295930862427, -0.29372718930244446, 0.4877294600009918, -0.5744736194610596, -0.21707065403461456, 0.5405355095863342, 0.3333987891674042, -0.4526563286781311, 0.12260329723358154, -0.16571930050849915, -0.6146067976951599, -0.13196663558483124, 0.9719947576522827, 0.08656562864780426, -0.6907703280448914, -0.5414425134658813, 0.04880818724632263, 0.2975209355354309, 0.12851926684379578, 0.7197131514549255, -0.9162343144416809, 0.6758980751037598, 0.5936351418495178, 0.776646614074707, 0.5300634503364563, 0.21513217687606812, 0.37722909450531006, -1.002711534500122, 0.10141059756278992, 0.19259919226169586, 0.4769301116466522, 0.14103011786937714, -0.4030963182449341, 0.751842737197876, 0.6324803233146667, -0.2499886155128479, -0.6252654790878296, 0.4889579117298126, -0.8703117966651917, -0.3549761474132538, 0.8717867732048035, -0.057968150824308395, -0.15994474291801453, -0.031883444637060165, 0.04137231037020683, 0.3057461082935333, -0.3770004212856293, 0.24863755702972412, 0.44351112842559814, -0.7181745171546936, 0.020419910550117493, -0.607223629951477, 0.2845042645931244, 0.0612044595181942, -0.7219660878181458, -0.08468125015497208, 0.8664405345916748, 0.21580496430397034, 0.05237679183483124, 0.8371539115905762, -0.13412640988826752, 0.08623056858778, -0.12025831639766693, -0.3491729497909546, -0.1667899489402771, -0.5907443165779114, 0.06581937521696091, 0.37531790137290955, -0.05341045558452606, -0.06274548172950745 ]
http://arxiv.org/abs/2406.10266v1
http://arxiv.org/pdf/2406.10266v1
COVID-19 Twitter Sentiment Classification Using Hybrid Deep Learning Model Based on Grid Search Methodology
2024-06-11T07:48:06
2024-06-11T07:48:06
Jitendra Tembhurne, Anant Agrawal, Kirtan Lakhotia
cs.CL
cs.CL, cs.SI
In the contemporary era, social media platforms amass an extensive volume of social data contributed by their users. In order to promptly grasp the opinions and emotional inclinations of individuals regarding a product or event, it becomes imperative to perform sentiment analysis on the user-generated content. Microblog comments often encompass both lengthy and concise text entries, presenting a complex scenario. This complexity is particularly pronounced in extensive textual content due to its rich content and intricate word interrelations compared to shorter text entries. Sentiment analysis of public opinion shared on social networking websites such as Facebook or Twitter has evolved and found diverse applications. However, several challenges remain to be tackled in this field. The hybrid methodologies have emerged as promising models for mitigating sentiment analysis errors, particularly when dealing with progressively intricate training data. In this article, to investigate the hesitancy of COVID-19 vaccination, we propose eight different hybrid deep learning models for sentiment classification with an aim of improving overall accuracy of the model. The sentiment prediction is achieved using embedding, deep learning model and grid search algorithm on Twitter COVID-19 dataset. According to the study, public sentiment towards COVID-19 immunization appears to be improving with time, as evidenced by the gradual decline in vaccine reluctance. Through extensive evaluation, proposed model reported an increased accuracy of 98.86%, outperforming other models. Specifically, the combination of BERT, CNN and GS yield the highest accuracy, while the combination of GloVe, BiLSTM, CNN and GS follows closely behind with an accuracy of 98.17%. In addition, increase in accuracy in the range of 2.11% to 14.46% is reported by the proposed model in comparisons with existing works.
[ -0.31424736976623535, -0.6387750506401062, -0.019307127222418785, 0.18938329815864563, -0.3993404805660248, 0.8580721616744995, -0.3167116940021515, -0.39149945974349976, 0.170499786734581, -0.3146662414073944, -0.38773736357688904, -0.7403479218482971, -0.6381914019584656, -0.09992586821317673, -0.28016117215156555, 1.1201554536819458, 0.057595498859882355, 0.2251996248960495, -0.3060592710971832, 0.037850961089134216, 0.0917215421795845, -0.5455613732337952, -0.5948389768600464, -0.5082236528396606, 0.436542809009552, 0.23381468653678894, 0.44477155804634094, -0.3968368470668793, 0.4396257996559143, 0.2281423658132553, -0.2865537106990814, 0.41378623247146606, -0.43500858545303345, -0.2006974220275879, -0.06943491101264954, -0.1370115429162979, -0.30321842432022095, 0.08883503079414368, 0.18763841688632965, 0.13453106582164764, -0.16319973766803741, 0.14604704082012177, 0.11240697652101517, 0.16819189488887787, -0.5467952489852905, -0.17456510663032532, -0.6266089677810669, 0.19249327480793, -0.013057724572718143, -0.11142322421073914, -0.24636627733707428, -0.1475335657596588, 0.2904044985771179, -0.2906395196914673, 0.3940066397190094, -0.23263926804065704, 0.7190969586372375, -0.14755235612392426, -0.3378657400608063, 0.09540800750255585, -0.7291705012321472, 0.9075804948806763, -0.8737567663192749, 0.02548714354634285, 0.15476852655410767, 0.3957795202732086, 0.10841235518455505, -0.4827364981174469, -0.6619808077812195, -0.09314006567001343, 0.34215477108955383, 0.3976280391216278, -0.12638716399669647, 0.076407290995121, -0.20345869660377502, 0.5041130781173706, -0.6840461492538452, 0.2646321952342987, -0.3297458291053772, -0.26107242703437805, 0.9389992952346802, 0.2529773414134979, 0.35808005928993225, -0.4406687319278717, -0.46979936957359314, -0.07704975455999374, -0.09959910064935684, 0.4219604730606079, 0.06958349794149399, 0.2938021123409271, -0.5251646637916565, 0.15118207037448883, -0.3246491551399231, 0.3566403090953827, 0.1699914038181305, -0.08628716319799423, 0.4416166841983795, -0.3396179974079132, -0.4516780376434326, -0.10461321473121643, 1.088366150856018, 0.3977099061012268, 0.00485905772075057, 0.1284036934375763, -0.11129139363765717, 0.3405981957912445, 0.3198307454586029, -0.5855575203895569, -0.14293837547302246, 0.2831157147884369, -0.5833341479301453, -0.5319141745567322, 0.178060844540596, -0.938317596912384, -0.8603249788284302, -0.18198296427726746, 0.09480565786361694, -0.4086945354938507, -0.32760751247406006, 0.18775583803653717, -0.14510583877563477, 0.15839162468910217, 0.8607111573219299, -0.342049241065979, 0.17253510653972626, 0.8419826030731201, 0.9776327610015869, -0.15376578271389008, 0.12078358978033066, -0.31628236174583435, -0.33478641510009766, -0.1640198975801468, 0.597651481628418, -0.6810906529426575, -0.2908894419670105, -0.06094042584300041, -0.45912376046180725, -0.24748846888542175, -0.24194346368312836, 0.4646264314651489, -0.5210005044937134, 0.22543063759803772, -0.05354594811797142, -0.6402717232704163, -0.3807503581047058, 0.5472880005836487, -0.28389522433280945, 0.7697853446006775, -0.16168829798698425, -0.9986647963523865, 0.27137476205825806, -0.34836363792419434, -0.34766432642936707, 0.2815401256084442, -0.34103211760520935, -0.8984253406524658, 0.22075292468070984, 0.4166560471057892, 0.8421279788017273, -0.37799760699272156, 0.40909987688064575, -0.9502411484718323, -0.15031681954860687, 0.09074024856090546, -0.08397959917783737, 0.9057663083076477, 0.11026638001203537, -0.44508397579193115, 0.12688171863555908, -0.5277981758117676, -0.23398509621620178, 0.01595930941402912, -0.0573803074657917, -0.3493543267250061, -0.09679189324378967, 0.19345524907112122, 0.46378031373023987, 0.07368310540914536, -0.8223280310630798, 0.01099971029907465, -0.40641263127326965, 0.3748321533203125, 0.6285039186477661, 0.1803276538848877, 0.43975043296813965, -0.03548836708068848, 0.7103955745697021, 0.43650105595588684, 0.5019249320030212, 0.4981924891471863, -0.7327730059623718, -0.4725709855556488, -0.1991482824087143, 0.07051055878400803, 0.651340126991272, -0.7666860818862915, 0.5204492807388306, -0.25635451078414917, -0.8902392387390137, -0.5439468026161194, 0.10591751337051392, 0.07907631248235703, 0.44198521971702576, 0.22514905035495758, -0.034330084919929504, -0.7459869384765625, -0.63843834400177, -0.27878284454345703, 0.04168994352221489, 0.592290997505188, 0.11453854292631149, 0.5214187502861023, -0.5135145783424377, 0.4529326260089874, -0.25004079937934875, -0.06907720118761063, -0.3382851779460907, 0.44801440834999084, 0.13721317052841187, 0.18973508477210999, 0.4158877432346344, -0.9559974074363708, -0.6750805974006653, 0.5246357917785645, -0.6630488038063049, 0.4408971667289734, -0.011111687868833542, 0.38670796155929565, 0.009573154151439667, 0.28484395146369934, -0.4257577955722809, 0.7526151537895203, 0.4009830951690674, -0.04373132064938545, 0.23894254863262177, 0.2121644765138626, -0.09145906567573547, -1.4461640119552612, 0.04600061476230621, 0.4936586320400238, -0.22639961540699005, -0.6131250262260437, -0.0009839509148150682, -0.09273304790258408, -0.11228016018867493, -0.37899816036224365, 0.29606881737709045, 0.08145932108163834, 0.4522341191768646, -0.24564911425113678, -0.47912290692329407, 0.06752311438322067, -0.0167978648096323, -0.15557725727558136, 0.56520676612854, 0.47455063462257385, -0.27928170561790466, 0.7228489518165588, 0.07254242151975632, -0.2771068811416626, 0.07186086475849152, -0.37573620676994324, 0.09263744950294495, -0.18549983203411102, 0.595591127872467, -1.0564613342285156, -0.07666227966547012, 0.3069921135902405, -0.7353144288063049, 0.20123618841171265, 0.4061439633369446, -0.37606966495513916, -0.7415938973426819, -0.6903778314590454, 0.25000253319740295, 0.41285866498947144, -0.3578602075576782, 0.5066202878952026, 0.319911926984787, 0.05246391519904137, -0.653924822807312, -0.5535769462585449, 0.13154156506061554, -0.13705383241176605, -0.5311915278434753, 0.25276991724967957, 0.06294175982475281, -0.16705675423145294, -0.048796772956848145, 0.08460121601819992, 0.02923772856593132, 0.06552789360284805, 0.2676493227481842, 0.1080840528011322, -0.020850803703069687, 0.2551444172859192, 0.1583932489156723, 0.08674857765436172, -0.17546355724334717, 0.0312016811221838, 0.6449952721595764, -0.42303332686424255, -0.0427221804857254, -0.8025742173194885, 0.40615519881248474, 0.6373082399368286, -0.15648794174194336, 0.7417617440223694, 1.2259941101074219, -0.6861401796340942, -0.31957268714904785, -0.6124679446220398, -0.051189735531806946, -0.39547199010849, 0.35681894421577454, -0.0676419734954834, -0.8757309317588806, 0.48142001032829285, -0.04139265790581703, -0.507623553276062, 0.6565706133842468, 0.7500516176223755, -0.2731359601020813, 0.9646769165992737, 0.4741937816143036, -0.5192355513572693, 0.391598105430603, -0.4570934772491455, 0.46511685848236084, -0.5248394012451172, -0.5650104284286499, -0.279723584651947, -0.3835746943950653, -0.5921367406845093, -0.3619174659252167, 0.4290025234222412, -0.3363491892814636, -0.08499796688556671, 0.04866132512688637, -0.49531328678131104, -0.07946252077817917, 0.615269660949707, 0.6487711071968079, -0.19538699090480804, 0.35983625054359436, -0.1849391758441925, 0.008401287719607353, -0.9072753190994263, -0.08427519351243973, 0.8614438772201538, 0.4666716754436493, 0.7944878339767456, -0.2469431310892105, 0.9365179538726807, 0.5344892144203186, 0.07081951200962067, -0.625119149684906, 0.42337334156036377, -0.5672585368156433, -0.36121150851249695, -0.0351608507335186, -0.30134573578834534, -0.6449434161186218, -0.19331979751586914, -0.474989116191864, -0.6423524022102356, 0.5217823386192322, -0.06279495358467102, -0.8217338919639587, 0.44104939699172974, -0.5980728268623352, 0.6159352660179138, -0.10197551548480988, -0.3611353039741516, -0.6406087875366211, -0.6527378559112549, 0.2858178913593292, 0.1064138188958168, -0.03218792751431465, -0.06195759400725365, 0.06620819121599197, 0.6085171699523926, -0.5289708375930786, 1.195475459098816, -0.0705849826335907, 0.2305831015110016, 0.3223015069961548, -0.3558667004108429, 0.36223718523979187, 0.26619961857795715, -0.20548182725906372, 0.1708160787820816, -0.20987200736999512, -0.47107893228530884, -0.23802761733531952, 0.7039333581924438, -1.1800169944763184, -0.43035638332366943, -0.6117316484451294, -0.32146674394607544, -0.08902405947446823, -0.14458957314491272, 0.5650458931922913, 0.30020102858543396, -0.26996350288391113, 0.3000757098197937, 0.5671389102935791, -0.4718622863292694, 0.47477927803993225, -0.2062235176563263, -0.08737190067768097, -0.7098137736320496, 0.9927533864974976, 0.25296837091445923, -0.09819284826517105, 0.5613508224487305, 0.5217283368110657, -0.15883146226406097, -0.5921656489372253, -0.19127844274044037, 0.04481600597500801, -0.4406884014606476, -0.5292629599571228, -0.708216667175293, -0.4957616627216339, -0.7189414501190186, -0.1999332457780838, -0.08490888774394989, 0.021005520597100258, -0.6157389283180237, -0.21539360284805298, 0.5928484797477722, 0.7264445424079895, 0.01803465373814106, 0.2029021829366684, -0.7043127417564392, 0.2420995533466339, 0.4378165304660797, 0.2110416293144226, 0.26806461811065674, -0.19616436958312988, -0.31722089648246765, 0.14184881746768951, -0.4403437077999115, -0.6503376960754395, 0.5215880870819092, 0.28900328278541565, 0.21319061517715454, 0.5107659101486206, 0.09979793429374695, 0.6601479053497314, 0.1438506543636322, 0.7835972905158997, 0.5657709836959839, -0.8728138208389282, 0.46046167612075806, -0.516773521900177, 0.060748178511857986, 0.4789310097694397, 0.2858489155769348, -0.3751857578754425, -0.10812332481145859, -0.6335890293121338, -0.5596044659614563, 0.43495774269104004, -0.15826676785945892, 0.1376977562904358, 0.12475226819515228, 0.22483612596988678, 0.4237496554851532, 0.1779155135154724, -0.407267689704895, 0.039262451231479645, -0.24733775854110718, -0.2762986421585083, -0.3511284589767456, -0.3299329876899719, 0.05485210567712784, -0.8246910572052002, 0.6515480875968933, 0.09391970187425613, 0.2801881730556488, 0.137691929936409, 0.0716664046049118, -0.3040575385093689, 0.14549873769283295, 0.5846698880195618, 0.45621171593666077, -0.2783972918987274, 0.03584074601531029, 0.17291641235351562, -0.36319494247436523, 0.14772607386112213, 0.1924128234386444, -0.28142789006233215, 0.10198617726564407, 0.2512083947658539, 0.8669297695159912, -0.24532106518745422, -0.3099072575569153, 0.8762803673744202, 0.05241679027676582, -0.1779014766216278, -0.39677169919013977, -0.1815589815378189, 0.12926702201366425, 0.2514083683490753, 0.2705301344394684, 0.3575313091278076, 0.4591595530509949, -0.3841167688369751, 0.061944007873535156, 0.705954909324646, -0.27299121022224426, -0.5293331146240234, 0.3206094205379486, 0.35633325576782227, -0.0631524994969368, 0.40064510703086853, -0.262417733669281, -0.7153119444847107, 0.6098425984382629, 0.22479960322380066, 1.181968092918396, -0.47358834743499756, 0.7205556035041809, 0.2061440646648407, 0.20452852547168732, 0.0922091007232666, 0.5441789031028748, 0.2246890664100647, -0.6971472501754761, -0.4388716518878937, -0.5065429210662842, -0.31823456287384033, 0.4037465453147888, -0.6658616662025452, 0.32962989807128906, -0.7745930552482605, -0.4039992392063141, 0.14126695692539215, 0.23366084694862366, -0.9114577770233154, 0.5285793542861938, 0.6878727078437805, 0.9148775935173035, -1.1901006698608398, 0.628517210483551, 0.993686318397522, -0.23790979385375977, -0.43096640706062317, 0.09316176921129227, -0.04671873524785042, -0.6904422640800476, 0.3177468776702881, 0.3514929413795471, 0.020817281678318977, -0.2932897210121155, -0.6742749810218811, -0.35274308919906616, 0.9448181390762329, -0.06243543699383736, -0.6264381408691406, 0.08194470405578613, 0.20284661650657654, 0.774507999420166, -0.30480480194091797, -0.11558620631694794, 0.023540260270237923, 0.11847605556249619, -0.06833145767450333, -0.7732443809509277, -0.07936641573905945, -0.484880268573761, 0.07209810614585876, -0.028652865439653397, -0.8997179269790649, 0.8717085123062134, 0.03462614119052887, 0.0915161594748497, -0.2232097089290619, 0.6503198146820068, -0.019229689612984657, 1.1053500175476074, 0.3194607198238373, 0.7288613319396973, 0.6990782022476196, 0.2379712164402008, 1.0074771642684937, 0.1484941691160202, 0.6320285201072693, 0.7658748030662537, -0.23479875922203064, 0.931268036365509, 0.4146207273006439, -0.18893297016620636, 0.5620588660240173, 0.905909538269043, 0.05950494110584259, 0.5038143992424011, 0.07680351287126541, -0.5579494833946228, -0.5884591937065125, -0.21641942858695984, -0.4347192049026489, 0.4301443099975586, 0.6438782215118408, -0.3717679977416992, -0.3011242747306824, 0.35187381505966187, -0.18271522223949432, 0.07151969522237778, -0.538453996181488, 0.7995359301567078, 0.34515613317489624, -0.2810610830783844, 0.3823622465133667, -0.10970430821180344, 0.8935940861701965, -0.11877814680337906, 0.26578399538993835, 0.1034671813249588, 0.37407851219177246, -0.4335935711860657, -0.48207876086235046, 0.16091227531433105, -0.22951027750968933, -0.21042490005493164, 0.04497310519218445, 1.131857991218567, -0.1736910492181778, -0.9427953958511353, 0.47958308458328247, 0.6074072122573853, -0.38639676570892334, -0.21265706419944763, -1.1997158527374268, 0.03514114022254944, -0.029473155736923218, -0.23477347195148468, 0.24258656799793243, 0.16663391888141632, -0.06375132501125336, 0.45736876130104065, 0.43701761960983276, 0.02950943075120449, 0.21587277948856354, 0.002066916087642312, 0.9481227993965149, -0.4690183103084564, -0.6407511234283447, -1.0705101490020752, 0.36778342723846436, -0.47763127088546753, -0.18707433342933655, 0.709649920463562, 0.44087013602256775, 0.6998761892318726, -0.2745739221572876, 1.2711124420166016, 0.19035327434539795, 0.6022035479545593, 0.008349142037332058, 0.5986990928649902, -0.5121511816978455, -0.12920832633972168, -0.20592138171195984, -0.3152772784233093, -0.5678808689117432, 0.36768871545791626, -0.8318491578102112, 0.0020113466307520866, 0.3655467629432678, 0.6786291599273682, -0.11662878841161728, 0.08789493143558502, 0.2346082329750061, 0.0863138809800148, 0.15720117092132568, 0.44978824257850647, 0.9292201399803162, -0.3361362814903259, 0.13977789878845215, -0.6572965383529663, -0.17402279376983643, -0.9213806390762329, -0.6524091958999634, -1.0588096380233765, -0.5341471433639526, -0.4825611412525177, -0.7181839346885681, 0.22734877467155457, 1.4424071311950684, 0.7534332275390625, -1.0832245349884033, -0.049025967717170715, -0.29635798931121826, -0.1059432402253151, -0.1371157318353653, -0.24810606241226196, 0.49381136894226074, -0.17360469698905945, -0.38089719414711, 0.019562531262636185, 0.32532650232315063, -0.10987550765275955, -0.09936115145683289, -0.006969383917748928, -0.4266780614852905, -0.01753813773393631, 0.6429417133331299, 0.20045305788516998, -0.8550572395324707, -0.13929808139801025, 0.021241195499897003, -0.33304083347320557, 0.0014593966770917177, 0.5291250348091125, -0.6375150084495544, 0.753145694732666, 0.8010491132736206, 0.9189547300338745, 0.4856588840484619, -0.01974223554134369, 0.43087536096572876, -0.5350194573402405, -0.049666907638311386, 0.4223627746105194, 0.28132179379463196, 0.5650137066841125, -0.49770641326904297, 0.020167706534266472, 0.5665243864059448, -0.23493127524852753, -0.5777511596679688, 0.016821525990962982, -1.2460426092147827, -0.18937274813652039, 1.300356149673462, 0.08501270413398743, -0.2719542384147644, 0.01739516109228134, -0.20647168159484863, 0.5327014327049255, -0.6462517380714417, 1.0138646364212036, 0.35921400785446167, 0.1115705668926239, -0.3162170648574829, -0.0527840219438076, 0.30946385860443115, 0.30496346950531006, -0.5553635358810425, -0.6029379963874817, -0.1760941594839096, 0.029398981481790543, 0.047581661492586136, 0.40192076563835144, 0.30101844668388367, 0.49806296825408936, -0.1903856098651886, 0.13555890321731567, -0.0492834746837616, -0.05498350411653519, -0.5962747931480408, 0.3188480734825134, -0.188868448138237, -0.469371497631073 ]
http://arxiv.org/abs/2406.10265v1
http://arxiv.org/pdf/2406.10265v1
Improving Language Models for Emotion Analysis: Insights from Cognitive Science
2024-06-11T07:42:13
2024-06-11T07:42:13
Constant Bonard, Gustave Cortal
cs.CL
cs.CL
We propose leveraging cognitive science research on emotions and communication to improve language models for emotion analysis. First, we present the main emotion theories in psychology and cognitive science. Then, we introduce the main methods of emotion annotation in natural language processing and their connections to psychological theories. We also present the two main types of analyses of emotional communication in cognitive pragmatics. Finally, based on the cognitive science research presented, we propose directions for improving language models for emotion analysis. We suggest that these research efforts pave the way for constructing new annotation schemes and a possible benchmark for emotional understanding, considering different facets of human emotion and communication.
[ -0.4131917953491211, -0.8290225267410278, 0.5626832246780396, 0.3003312945365906, -0.18358652293682098, 0.07288302481174469, -0.8999188542366028, -1.0075974464416504, 0.15806500613689423, 0.36489197611808777, -0.4277452230453491, -0.2825629413127899, -0.597571849822998, 0.10197344422340393, -0.17676305770874023, 0.7135903239250183, 0.009046186693012714, 0.38558319211006165, -0.2613053619861603, -0.31395307183265686, -0.28494617342948914, -0.8268376588821411, -1.0527095794677734, -0.4561893045902252, 0.4863409399986267, 0.35097306966781616, 0.7038159966468811, 0.059740666300058365, 0.8096171021461487, 0.338736355304718, -0.16161100566387177, -0.18167562782764435, -0.2453356236219406, 0.14255815744400024, 0.10523746907711029, -0.5538375377655029, -0.5029131174087524, 0.3244752883911133, 0.4242289960384369, 0.7615269422531128, -0.25994396209716797, -0.1401815116405487, -0.23721054196357727, 0.6801263689994812, -0.6138424277305603, 0.5831229090690613, -0.16539010405540466, -0.003214108059182763, -0.19136475026607513, -0.14053992927074432, -0.5805001258850098, -0.5653105974197388, 0.47986844182014465, -0.5329997539520264, 0.12395307421684265, 0.08954938501119614, 0.7986087799072266, -0.022248156368732452, -0.5583622455596924, -0.5838937759399414, -0.7413082122802734, 0.8190858364105225, -0.7577908039093018, 0.30605512857437134, 0.5899213552474976, 0.22145119309425354, 0.24847529828548431, -0.448306679725647, -0.5258824825286865, -0.696414589881897, -0.07066679745912552, 0.19874334335327148, -0.2997327446937561, 0.33737704157829285, 0.07054878771305084, 0.33107343316078186, -0.3012903034687042, -0.035080716013908386, -0.3401128053665161, -0.19340935349464417, 1.1823067665100098, 0.11161918193101883, 0.45580554008483887, 0.13401848077774048, 0.21342717111110687, -0.2735961675643921, -0.2682529091835022, -0.07235087454319, 0.38883545994758606, 0.04530332237482071, -0.04340125620365143, 0.3244028091430664, -0.32036855816841125, 0.564007043838501, -0.06230081990361214, 0.3377068340778351, 0.24319468438625336, -0.14655384421348572, -0.11537647247314453, 0.010906513780355453, 0.6505382657051086, 0.5903201699256897, 0.5629220604896545, 0.02576391212642193, 0.27810361981391907, 0.5479234457015991, 0.3461196720600128, -0.6137089133262634, -0.6688083410263062, 0.30056244134902954, -0.49845415353775024, -0.29069679975509644, -0.24513955414295197, -0.9344981908798218, -0.6535701155662537, -0.38900282979011536, -0.06667149811983109, -0.7146672010421753, -0.7863443493843079, 0.1690436601638794, -0.11252304166555405, 0.034588880836963654, 0.35569238662719727, -0.957622766494751, 0.4810182750225067, 0.7745141386985779, 0.47500282526016235, 0.19272969663143158, -0.1311335414648056, 0.23452304303646088, -0.2519196569919586, -0.2860482931137085, 0.9611198902130127, -0.9715242981910706, -0.2602655589580536, 0.32238927483558655, -0.24823567271232605, -0.012043330818414688, -0.3732949495315552, 0.7434419393539429, -0.18885521590709686, 0.43662357330322266, -0.47250229120254517, -0.675542950630188, -0.5674644112586975, 0.038416799157857895, -0.7477794289588928, 1.103344202041626, -0.05846012383699417, -0.6212018728256226, 0.0363023467361927, -1.210744857788086, -0.4416927099227905, 0.13046735525131226, 0.23548154532909393, -0.08783958852291107, 0.8371551632881165, -0.005141995381563902, 0.23302888870239258, -0.4854520559310913, 0.37637636065483093, -0.3587277829647064, 0.00771378492936492, 0.5614325404167175, 0.13134127855300903, 0.5461235642433167, 0.3820360004901886, -0.1518029421567917, 0.13956743478775024, -0.812183678150177, 0.0624314546585083, 0.10653416812419891, -0.1875375658273697, -0.4456278681755066, 0.27882662415504456, 0.10859306156635284, 0.016856223344802856, 0.31001749634742737, -0.630678653717041, 0.13417492806911469, -0.3693779408931732, 0.6175124049186707, 0.32273727655410767, -0.015731623396277428, 0.7260761260986328, 0.19756154716014862, 0.5391939282417297, -0.1505647897720337, 0.269849568605423, -0.05356559157371521, -0.4898209273815155, -0.8116007447242737, -0.03822820633649826, 0.05176084488630295, 0.4219318926334381, -0.3403569161891937, 0.06757859140634537, 0.06071830913424492, -0.6475796699523926, -0.90926194190979, -0.38909417390823364, 0.45140340924263, 0.5361313223838806, 0.4207913279533386, -0.4896986484527588, -0.7514938712120056, -0.7589952945709229, -0.709190845489502, -0.5724753141403198, 0.2601112127304077, 0.02139282040297985, 0.1849386990070343, 0.09389056265354156, 0.995742917060852, -0.5084171295166016, 0.3221294581890106, -0.14117111265659332, 0.8905640840530396, -0.40937143564224243, 0.2938205897808075, 0.44963720440864563, -0.8455844521522522, -0.3255687355995178, 0.08067330718040466, -0.7216366529464722, -0.37355998158454895, 0.17878103256225586, -0.05085260421037674, 0.25037533044815063, 0.2874131202697754, -0.43367981910705566, 0.4842528700828552, 0.3492397964000702, -0.3939788341522217, 0.4359605312347412, 0.03246588259935379, 0.40145495533943176, -0.4101434350013733, -0.24583962559700012, 0.34016621112823486, 0.21088135242462158, -1.1351953744888306, -0.08810409903526306, 0.1575116068124771, -0.05554306507110596, -0.4252840578556061, 0.4482138752937317, -0.7053998708724976, 0.3442107141017914, -0.6464557647705078, 0.07983182370662689, -0.09136050939559937, 0.21165122091770172, 0.4579853415489197, 0.05702139437198639, 0.5900865197181702, -0.3630124628543854, 0.46661683917045593, 0.05448560789227486, -0.24336589872837067, 0.7676376700401306, -0.3316113352775574, 0.14046816527843475, -0.48005107045173645, 0.25006434321403503, -0.9568691253662109, -0.234836608171463, 0.2759469747543335, -0.6291190385818481, 0.3561191260814667, 0.04723389446735382, -0.27075091004371643, -0.40509191155433655, -0.317066490650177, 0.06382786482572556, 0.5107400417327881, -0.08067279309034348, 0.6711524724960327, 0.2909308075904846, -0.33394867181777954, -0.1882506161928177, -0.6030495762825012, 0.23914320766925812, -0.29625043272972107, -0.8467634916305542, 0.04205196723341942, -0.21475273370742798, -0.6890948414802551, 0.040624745190143585, 0.06662566214799881, -0.47860071063041687, 0.2281849980354309, 0.20427455008029938, 0.19724994897842407, -0.2825170159339905, 0.48519203066825867, -0.3039422333240509, -0.25025784969329834, 0.4030258059501648, 0.0040961564518511295, 0.2695794403553009, -0.24402278661727905, 0.0726848617196083, -0.6391807794570923, 0.44378384947776794, 0.14702846109867096, -0.4527314603328705, 0.8369420170783997, 0.8453568816184998, -0.5371524095535278, 0.17107227444648743, -0.9084428548812866, -0.4036203622817993, -0.398571640253067, 0.5667495131492615, -0.20588895678520203, -1.038797378540039, 0.26515546441078186, -0.16172264516353607, -0.25696730613708496, 0.42203763127326965, 0.4915751516819, -0.34271010756492615, 1.1604658365249634, 1.0892354249954224, 0.058512020856142044, 1.0151513814926147, 0.15312804281711578, 0.5122132301330566, -0.7798880338668823, 0.013074956834316254, -0.6892399191856384, -0.06722184270620346, -0.3830747604370117, -0.07121244072914124, -0.23726792633533478, 0.16646745800971985, 0.032096829265356064, 0.23623588681221008, -0.5812447667121887, 0.2619832754135132, 0.18235445022583008, -0.2437443733215332, -0.0021742216777056456, -0.1251075267791748, 0.3271544873714447, -0.3763993978500366, -0.3722039461135864, -0.6873897314071655, 0.7493565082550049, 0.526084303855896, 0.6945496797561646, -0.052386488765478134, 0.5371407866477966, -0.05178730934858322, 0.9382972121238708, -0.6731253266334534, 0.5457972884178162, 0.2305021733045578, -0.7260611653327942, -0.08062442392110825, -0.32294854521751404, -0.6932555437088013, 0.2867133915424347, -0.2052510529756546, -1.2757487297058105, 0.23913216590881348, 0.15243561565876007, -0.04583114758133888, -0.18172258138656616, -1.0858094692230225, 0.8433356285095215, -0.24859127402305603, 0.009299619123339653, -0.46763965487480164, -0.596287727355957, 0.626270592212677, 0.27828046679496765, 0.4334205389022827, -0.3080745041370392, 0.18489381670951843, 1.0141891241073608, -0.3708461821079254, 1.0262651443481445, -0.17928573489189148, -0.20664112269878387, 0.6340739727020264, 0.087657630443573, 0.19472305476665497, -0.07715360075235367, -0.3840324878692627, 0.08786285668611526, 0.02151206135749817, -0.3447364866733551, -0.78806072473526, 0.41834756731987, -0.5452835559844971, -0.47815191745758057, -0.437965989112854, -0.6721321940422058, -0.15317031741142273, -0.4192225933074951, -0.02560899406671524, 0.06960807740688324, -0.177731454372406, -0.18652842938899994, 0.42056652903556824, -0.016443490982055664, 0.47974076867103577, 0.7541546821594238, 0.08713816851377487, -0.23670172691345215, 0.8391249179840088, 0.06596405059099197, 0.24779826402664185, 0.2359730452299118, 0.2732114791870117, -0.18772220611572266, -0.4351661503314972, 0.4073367714881897, 0.4021158218383789, -0.8977042436599731, 0.15153051912784576, -0.6284561157226562, 0.2589617371559143, -0.7462728023529053, -0.15583644807338715, -0.5236672163009644, -0.4059256315231323, -0.14083252847194672, -0.32909438014030457, 0.8650468587875366, 0.9037752747535706, -0.26418498158454895, 0.6911584734916687, -0.7275734543800354, -0.1331547349691391, -0.16026990115642548, 0.20191529393196106, 0.16298802196979523, -0.3709394931793213, -0.3905036747455597, -0.020977601408958435, -0.29316291213035583, -1.321990728378296, 0.5115224719047546, 0.24447694420814514, 0.19221217930316925, 0.37770676612854004, -0.13306204974651337, 0.7279992699623108, -0.22869651019573212, 0.8878807425498962, 0.3142715096473694, -1.3153457641601562, 0.7673004269599915, -0.014059014618396759, -0.015697695314884186, 0.41436558961868286, 0.38792312145233154, -0.841245174407959, -0.352085679769516, -0.9011362195014954, -0.7893958687782288, 0.7049005627632141, 0.21116672456264496, 0.02251366339623928, -0.21184572577476501, 0.5081281065940857, -0.29828909039497375, 0.025974087417125702, -0.5873944163322449, -0.015509638004004955, -0.08872967213392258, -0.7351399660110474, -0.25096362829208374, -0.4054098427295685, -0.18357910215854645, -0.2418716847896576, 0.5401426553726196, -0.13205021619796753, 0.4074958264827728, 0.14037944376468658, -0.2794727087020874, -0.2891206741333008, 0.21838289499282837, 0.5174962878227234, 0.5214500427246094, -0.16760824620723724, 0.14543023705482483, 0.17418628931045532, -0.5206945538520813, -0.07652150839567184, 0.044793739914894104, 0.43958011269569397, -0.04158487543463707, 0.6445997953414917, 0.8248255252838135, 0.2997886538505554, -0.6813994646072388, 0.21270868182182312, -0.24490928649902344, 0.16158635914325714, -0.24375340342521667, -0.11886518448591232, 0.5558047294616699, 0.2993752360343933, 0.2223730981349945, -0.3427838385105133, 0.17947202920913696, -0.8531110286712646, -0.08614632487297058, 0.23641926050186157, -0.5485301613807678, -0.7038875818252563, 0.2460928112268448, 0.33591240644454956, -0.47157955169677734, 0.5875475406646729, -0.1690182387828827, -0.7096483707427979, 0.7404396533966064, 0.42533811926841736, 0.7854391932487488, -0.560332179069519, 0.26890289783477783, 0.30765336751937866, 0.3466370105743408, -0.17487774789333344, 0.6334570050239563, -0.002447394421324134, -0.5926715135574341, -0.5265682935714722, -0.4232468903064728, -0.7528157830238342, -0.41189900040626526, -0.8384566903114319, 0.23685021698474884, -0.26016154885292053, -0.21450665593147278, 0.27004945278167725, 0.36628633737564087, -0.682750403881073, 0.5323480367660522, 0.5521581172943115, 0.7556735277175903, -1.0328456163406372, 0.8612208366394043, 1.073775053024292, -0.6526864767074585, -0.5534881353378296, -0.4268028438091278, 0.15643543004989624, -0.4479575455188751, 0.8339324593544006, 0.1491597443819046, 0.045962851494550705, -0.21836823225021362, -0.896225094795227, -0.8370878100395203, 0.8744996786117554, 0.07612716406583786, -0.48616456985473633, 0.34050270915031433, -0.2690202593803406, 0.9488483667373657, -0.6605122089385986, 0.8881790041923523, 0.815385103225708, 0.8238921761512756, -0.28656116127967834, -0.6760894656181335, -0.024444669485092163, -0.34554216265678406, 0.0030693518929183483, 0.3469736576080322, -0.5572466850280762, 0.856712281703949, 0.042849183082580566, -0.4315665662288666, 0.056283388286828995, 1.018985390663147, -0.12566888332366943, 0.47260963916778564, 0.33694422245025635, 0.39040082693099976, 0.8830475211143494, -0.24005404114723206, 1.2717573642730713, -0.1822487711906433, 0.6447306871414185, 0.9852045178413391, -0.47056955099105835, 0.8467139005661011, 0.417205274105072, -0.3415948748588562, 0.5856906175613403, 0.7681536078453064, 0.24907752871513367, 0.14651688933372498, 0.4856201112270355, -0.3400673270225525, -0.1440224051475525, -0.26849719882011414, -0.12426638603210449, 0.2291927933692932, 0.8451809883117676, -0.053951021283864975, 0.047630831599235535, 0.2546711564064026, 0.400916188955307, 0.026282047852873802, -0.03177804872393608, 0.6323120594024658, 0.05679075047373772, -0.4243120849132538, 0.21969933807849884, 0.044794417917728424, 0.6737813353538513, -0.3973086476325989, 0.14679762721061707, -0.13943380117416382, -0.18206611275672913, -0.25125065445899963, -0.6265577077865601, 0.4195796549320221, 0.12194576114416122, 0.05426015704870224, 0.12140177190303802, 0.9908024072647095, -0.5993945598602295, -0.20596976578235626, 0.5632948279380798, 0.11899608373641968, 0.34318578243255615, -0.2523060441017151, -0.5248082876205444, 0.4428656995296478, -0.1705220639705658, -0.5186594128608704, 0.05234549939632416, 0.3607041537761688, -0.16935193538665771, 0.5398272275924683, 0.5379559993743896, -0.00014850212028250098, 0.32197335362434387, 0.21525344252586365, 0.47762858867645264, -1.1931599378585815, -0.12086968868970871, -0.8983632922172546, 0.7111218571662903, -0.3638962507247925, -0.3236035704612732, 0.48895227909088135, -0.11863262951374054, 0.4999341666698456, -0.007018099073320627, 0.7842827439308167, -0.29251861572265625, 0.13495168089866638, -0.2784199118614197, 0.36499857902526855, -0.16254447400569916, -0.29023516178131104, -0.33575311303138733, -0.8788999915122986, -0.49834707379341125, 0.8053494095802307, -0.6805722713470459, 0.044086456298828125, 1.1225643157958984, 0.4824991226196289, 0.31860458850860596, 0.6264612674713135, -0.0011920765973627567, 0.5587310791015625, 0.3733493983745575, 0.6064162850379944, 1.1855049133300781, -0.3053832948207855, 0.15249302983283997, -0.6340193748474121, -0.3679216504096985, -0.38227975368499756, -0.9947727918624878, -0.6466147303581238, -0.5950688123703003, -0.9457523822784424, -0.22305196523666382, 0.08807122707366943, 0.5989371538162231, 0.6553574800491333, -0.6338208913803101, -0.25110113620758057, 0.04272444546222687, -0.039906956255435944, -0.31630271673202515, -0.3012171685695648, 0.1331787258386612, -0.5872839093208313, -0.7582920789718628, 0.33923473954200745, 0.4101421535015106, -0.20223750174045563, -0.07461612671613693, -0.17480531334877014, -0.26655974984169006, 0.41872575879096985, 0.6076743006706238, 0.4546642005443573, -0.7831655144691467, -0.597707211971283, -0.3669963479042053, 0.02143724448978901, 0.1392909735441208, 1.050678014755249, -0.3056011199951172, 0.4459490180015564, 0.47441983222961426, 0.3914225697517395, 0.27762657403945923, -0.17417998611927032, 0.5641079545021057, -0.399353951215744, 0.18277773261070251, 0.33414509892463684, 0.468679815530777, 0.6707291603088379, -0.31997281312942505, 0.7179592251777649, 0.008469919674098492, -0.4669027030467987, -0.8581138253211975, 0.40867719054222107, -1.024726152420044, -0.15513774752616882, 0.7469039559364319, -0.30693089962005615, -0.50611412525177, 0.14580103754997253, -0.36190637946128845, 0.5129360556602478, -0.34110546112060547, 0.7713802456855774, 1.3218276500701904, -0.489446759223938, -0.5196025967597961, -0.6629641056060791, 0.4943641126155853, 0.9365971088409424, -1.0289783477783203, 0.29774385690689087, 0.4046629071235657, 0.09788061678409576, 0.45342567563056946, 0.6080748438835144, -0.14419686794281006, 0.2390279918909073, -0.1036691963672638, 0.6910130977630615, 0.4317522644996643, -0.047508932650089264, -0.7168560028076172, 0.0030041197314858437, 0.09774171561002731, 0.10638145357370377 ]
http://arxiv.org/abs/2406.07017v1
http://arxiv.org/pdf/2406.07017v1
MoreauPruner: Robust Pruning of Large Language Models against Weight Perturbations
2024-06-11T07:19:04
2024-06-11T07:19:04
Zixiao Wang, Jingwei Zhang, Wenqian Zhao, Farzan Farnia, Bei Yu
cs.LG
cs.LG, cs.CL
Few-shot gradient methods have been extensively utilized in existing model pruning methods, where the model weights are regarded as static values and the effects of potential weight perturbations are not considered. However, the widely used large language models (LLMs) have several billion model parameters, which could increase the fragility of few-shot gradient pruning. In this work, we experimentally show that one-shot gradient pruning algorithms could lead to unstable results under perturbations to model weights. And the minor error of switching between data formats bfloat16 and float16 could result in drastically different outcomes. To address such instabilities, we leverage optimization analysis and propose an LLM structural pruning method, called MoreauPruner, with provable robustness against weight perturbations. In MoreauPruner, the model weight importance is estimated based on the neural network's Moreau envelope, which can be flexibly combined with $\ell_1$-norm regularization techniques to induce the sparsity required in the pruning task. We extensively evaluate the MoreauPruner algorithm on several well-known LLMs, including LLaMA-7B, LLaMA-13B, LLaMA3-8B, and Vicuna-7B. Our numerical results suggest the robustness of MoreauPruner against weight perturbations, and indicate the MoreauPruner's successful accuracy-based scores in comparison to several existing pruning methods. We have released the code in \url{https://github.com/ShiningSord/MoreauPruner}.
[ -0.315106064081192, -0.9539055228233337, 0.18068824708461761, 0.4551571011543274, -0.25586867332458496, -0.051833298057317734, -0.3422620892524719, -0.22585773468017578, 0.18240059912204742, 0.19401109218597412, -0.6778452396392822, -0.3163573741912842, -0.5935783982276917, -0.012629170902073383, -0.45990312099456787, 0.8565629124641418, 0.18631692230701447, 0.0560675710439682, 0.06425005197525024, -0.23183897137641907, -0.47861289978027344, -0.7507343888282776, -0.6537120342254639, -0.3092338442802429, 0.5833297967910767, 0.2622111439704895, 0.7164381146430969, 0.610743522644043, 0.7619289755821228, 0.32094690203666687, -0.5146665573120117, -0.12170617282390594, -0.6901221871376038, 0.08438794314861298, 0.46278631687164307, -0.712302565574646, -0.5606029629707336, -0.34558895230293274, 0.7686806321144104, 0.4480223059654236, -0.3824675679206848, 0.27110710740089417, 0.0916883647441864, 0.5828053951263428, -0.4221881628036499, -0.0640263631939888, -0.6965458393096924, 0.023278558626770973, -0.5854570269584656, -0.12446431070566177, -0.05698259547352791, -0.28020477294921875, -0.3301299214363098, -0.3445436656475067, -0.07231951504945755, -0.10707836598157883, 1.2159056663513184, 0.47311311960220337, -0.07861445844173431, 0.4890608489513397, -0.6963799595832825, 0.9073516130447388, -1.02744722366333, 0.3286658227443695, 0.2842058837413788, 0.3192595839500427, -0.13162267208099365, -0.4107358753681183, -0.4366367757320404, -0.42504429817199707, 0.1437474936246872, 0.07760565727949142, 0.01529612671583891, 0.053128790110349655, 0.20974136888980865, 0.2993016541004181, -0.5025911927223206, 0.41482973098754883, -0.22721776366233826, -0.36789780855178833, 0.5457550287246704, 0.12310939282178879, 0.0560307539999485, -0.17289617657661438, -0.28216779232025146, -0.4647538363933563, -0.915425717830658, 0.14301052689552307, 0.7570431232452393, 0.18038144707679749, 0.1310659795999527, 0.5584856271743774, 0.17606304585933685, 0.6726953983306885, 0.040927864611148834, -0.4811328053474426, 0.23500753939151764, -0.21780192852020264, -0.1296049803495407, -0.0011574358213692904, 0.5217440128326416, 0.3423835039138794, 0.43345996737480164, 0.22585411369800568, -0.2891167998313904, 0.017247609794139862, -0.0962500274181366, -0.8114039897918701, -0.4044893980026245, 0.292428582906723, -0.5942803621292114, -0.27413442730903625, -0.07589469105005264, -0.5494964718818665, -0.16293270885944366, -0.03405877202749252, 0.04024699702858925, -0.4649621844291687, -0.34562787413597107, 0.016989249736070633, 0.11777108907699585, 0.27474483847618103, 0.30027908086776733, -0.5645905137062073, 0.4495859444141388, 0.8662863969802856, 0.9602586627006531, -0.21630175411701202, -0.3171280026435852, -0.689141035079956, -0.08707819879055023, -0.23637311160564423, 0.49351611733436584, -0.5827298760414124, -0.16515465080738068, -0.12080062925815582, -0.034716904163360596, -0.00731227220967412, -0.46591055393218994, 0.7096213102340698, -0.5599818229675293, -0.25554460287094116, -0.24166032671928406, -0.4625714421272278, -0.38770049810409546, 0.712702751159668, -0.8502218723297119, 0.9913923740386963, 0.09231231361627579, -0.773210346698761, 0.2200177162885666, -0.1870439201593399, -0.6197494864463806, -0.016642091795802116, -0.11870899796485901, -0.9366423487663269, 0.27663567662239075, 0.18865594267845154, 0.31756138801574707, -0.17843157052993774, 0.483553409576416, -0.39068299531936646, -0.22664739191532135, 0.09272664040327072, -0.8058342337608337, 1.0466047525405884, -0.1112256646156311, 0.03626004233956337, 0.25972750782966614, -0.6605919003486633, -0.10597886890172958, 0.229458287358284, -0.6897016167640686, -0.2062978595495224, -0.0963388979434967, 0.4197429418563843, 0.14447394013404846, 0.045141808688640594, -0.5999094247817993, 0.3293323814868927, -0.6103057265281677, 0.5268369913101196, 0.7214940786361694, 0.07649721950292587, 0.23618978261947632, -0.560397744178772, 0.677238941192627, -0.2904760539531708, 0.05395191162824631, -0.19013482332229614, -0.3225937783718109, -0.6492233872413635, -0.3833112120628357, 0.5484750866889954, 0.6369317173957825, -0.049428340047597885, 0.46278059482574463, -0.32788699865341187, -0.4366924464702606, -0.24270333349704742, 0.47029930353164673, 0.2971479594707489, 0.35276830196380615, 0.34331992268562317, -0.44407781958580017, -0.5366136431694031, -0.6161393523216248, -0.20138759911060333, -0.11874015629291534, -0.10652074217796326, 0.21203802525997162, 0.508847177028656, 0.11305630952119827, 0.6986293196678162, -0.40202587842941284, -0.6500884294509888, -0.23350660502910614, -0.09012367576360703, 0.25249361991882324, 0.7693621516227722, 0.6588800549507141, -0.7717103958129883, -0.23828314244747162, -0.1002570390701294, -0.2906828224658966, 0.25412482023239136, -0.4124927520751953, 0.1425904929637909, -0.2081054300069809, 0.4390254318714142, -0.7269623875617981, 0.033337414264678955, 0.6136612892150879, 0.3666480779647827, 0.6544190049171448, 0.06510818004608154, -0.4432738423347473, -0.7728931307792664, -0.09586965292692184, 0.3930909037590027, -0.3297659456729889, -0.37142664194107056, 0.13410958647727966, -0.06175801903009415, 0.03301423043012619, -0.4326484501361847, 0.422985702753067, -0.5424467325210571, 0.021706338971853256, 0.03132914751768112, -0.2142046093940735, 0.0644954964518547, 0.5973476767539978, 0.057261884212493896, 0.31496137380599976, 0.6160920858383179, -0.46532952785491943, 0.5294955968856812, 0.22968725860118866, -0.39652174711227417, 0.16742199659347534, -0.8624303340911865, -0.004098714329302311, -0.24606743454933167, 0.29748639464378357, -0.928152322769165, -0.22053839266300201, 0.1493903547525406, -0.26644426584243774, 0.7116239666938782, -0.3695365786552429, -0.4609438478946686, -0.19106152653694153, -0.8233223557472229, 0.3318013846874237, 0.19690947234630585, -0.30523645877838135, 0.4066656529903412, 0.29593539237976074, -0.6228362917900085, -0.4001867473125458, -0.9989330172538757, 0.07131540775299072, -0.4606894850730896, -0.6950033903121948, 0.25275617837905884, -0.13788484036922455, -0.256203293800354, -0.22796648740768433, -0.383974552154541, -0.15437212586402893, 0.3005746006965637, 0.1281248927116394, 0.32417532801628113, -0.2939879596233368, -0.09202678501605988, 0.161374032497406, -0.2387988120317459, -0.014198258519172668, -0.10810864716768265, 0.7008273005485535, -0.13735756278038025, -0.7428092360496521, -0.4128626585006714, 0.0651935413479805, 0.3683001399040222, -0.5471498370170593, 0.5838338732719421, 0.6529743671417236, -0.3596101403236389, 0.16636984050273895, -0.6005072593688965, -0.38133329153060913, -0.4949507415294647, 0.6847673058509827, -0.2330137938261032, -0.9225633144378662, 0.4653932750225067, -0.25120478868484497, 0.4805939495563507, 0.2511056959629059, 0.5196248888969421, -0.022606810554862022, 1.0535420179367065, 0.7849153876304626, -0.5449023246765137, 0.7246805429458618, -0.3944597840309143, -0.13923484086990356, -0.8238256573677063, 0.06699685752391815, -0.5672072172164917, -0.6459143757820129, -0.3392077386379242, -0.22944952547550201, 0.20831464231014252, 0.04580223932862282, -0.09730013459920883, 0.40330857038497925, -0.48516255617141724, 0.40559202432632446, 0.3842560350894928, -0.16193413734436035, 0.21876703202724457, 0.35687288641929626, 0.07802394032478333, -0.11934051662683487, -0.8577285408973694, -0.3885836899280548, 0.7929793000221252, 0.6522663235664368, 0.9994102716445923, 0.12884332239627838, 0.5198479294776917, -0.26068779826164246, 0.5133851170539856, -0.8708257675170898, 0.34106507897377014, 0.0537148155272007, -0.6993803381919861, -0.5396870970726013, -0.49501416087150574, -0.8135747313499451, 0.33526113629341125, -0.15067893266677856, -0.8901952505111694, 0.3771609663963318, 0.42912301421165466, -0.5861130356788635, 0.14662116765975952, -0.40777257084846497, 0.5860652327537537, -0.6270447969436646, -0.25207871198654175, -0.09869935363531113, -0.6640345454216003, 0.5099862217903137, -0.07795439660549164, 0.1450423300266266, -0.12272660434246063, -0.10146895051002502, 0.6961519718170166, -0.4566156268119812, 0.8770968317985535, -0.0640392079949379, -0.3185192346572876, 0.18798178434371948, 0.3844427168369293, 0.8857365846633911, 0.22767286002635956, -0.33434510231018066, 0.16935843229293823, -0.06287599354982376, -0.25626009702682495, -0.35970863699913025, 0.8080378174781799, -0.5103747248649597, -0.633825421333313, -0.0700823962688446, -0.49139028787612915, -0.1140424981713295, 0.2149958610534668, 0.4516731798648834, 0.5302315354347229, 0.1051763966679573, 0.4739970564842224, 0.39461344480514526, 0.04020251706242561, 0.6218569874763489, 0.19661305844783783, 0.015428053215146065, -0.3637229800224304, 1.2118369340896606, 0.5077316164970398, -0.047173891216516495, 0.5772989392280579, 0.23415158689022064, 0.14150722324848175, -0.9719520211219788, -0.14240556955337524, 0.06138136237859726, -0.3434767723083496, -0.5682044625282288, -0.3092053532600403, -0.14128050208091736, -0.036371879279613495, -0.03612736985087395, -0.4401707053184509, -0.5842512249946594, -0.0300652626901865, -0.28321439027786255, 0.35072416067123413, 0.2284964621067047, 0.2474592924118042, 0.6439775228500366, -1.0229946374893188, -0.005090642720460892, 0.04689496010541916, 0.27864447236061096, 0.11583679914474487, -0.48179757595062256, 0.060805078595876694, -0.11054681986570358, -0.29608455300331116, -0.8764059543609619, 0.5638756155967712, 0.5128553509712219, 0.5260438323020935, 0.7808555960655212, -0.06989557296037674, 0.6767632365226746, -0.34637442231178284, 0.41000375151634216, 0.13416118919849396, -0.5370837450027466, 0.10798188298940659, -0.2202928215265274, 0.43368494510650635, 0.7215259671211243, 0.31138983368873596, -0.36748623847961426, -0.3613772392272949, -0.4432699978351593, -1.0189223289489746, 0.468462735414505, 0.3114320635795593, 0.25399598479270935, 0.2642596662044525, 0.3835729658603668, -0.04405437037348747, 0.33517760038375854, -0.839466392993927, -0.25185978412628174, -0.18856951594352722, -0.06630344688892365, 0.02167692966759205, -0.4733520448207855, -0.236906498670578, -0.20724816620349884, 0.6232348084449768, -0.09993773698806763, -0.30470454692840576, -0.0025274045765399933, -0.34897172451019287, -0.10848499834537506, 0.1401975154876709, 0.43342921137809753, 0.48727861046791077, -0.06709761917591095, -0.14366762340068817, 0.31148216128349304, -0.47882238030433655, 0.008515284396708012, 0.28775715827941895, -0.4224630892276764, -0.05261904373764992, 0.6747180819511414, 0.6223472952842712, 0.08046861737966537, -0.5753036737442017, 0.5002907514572144, -0.019297033548355103, -0.2597433030605316, -0.18294525146484375, -0.1984236091375351, 0.06070809066295624, 0.04496690258383751, 0.39256009459495544, 0.3002360165119171, -0.06747003644704819, -0.10821468383073807, 0.010498722083866596, 0.7660513520240784, -0.32930636405944824, -0.42889708280563354, 0.49225860834121704, 0.30993741750717163, -0.40808093547821045, 0.5166172981262207, -0.03266548365354538, -0.6223617792129517, 0.5938133597373962, 0.32927948236465454, 0.46992331743240356, -0.22174802422523499, -0.060123227536678314, 0.290432333946228, 0.8066661953926086, -0.34197062253952026, 0.13827641308307648, -0.12629468739032745, -0.7571703195571899, -0.9123410582542419, -0.6312848925590515, -0.051857542246580124, 0.30047690868377686, -0.39872485399246216, 0.08849175274372101, -0.7878677845001221, -0.4344733953475952, -0.2114689201116562, 0.07720470428466797, -0.18512210249900818, 0.026716753840446472, -0.07731907069683075, 1.006192684173584, -0.8494333028793335, 0.6977550387382507, 0.8486085534095764, -0.29042789340019226, -0.8907290101051331, 0.03759582340717316, 0.35491943359375, -0.43457549810409546, 0.2964773178100586, 0.11777209490537643, -0.013192781247198582, 0.14305426180362701, -0.615019679069519, -1.1535556316375732, 0.8324832320213318, 0.9356141686439514, -1.1594533920288086, -0.1115998849272728, -0.35428673028945923, 0.24327558279037476, 0.22019851207733154, 0.03977873921394348, 0.43727174401283264, 0.8015044331550598, 0.0359591543674469, -0.7838271856307983, -0.05515091493725777, -0.2586001753807068, -0.03108314797282219, 0.2779844403266907, -1.0053365230560303, 0.820631206035614, -0.07993752509355545, -0.16085946559906006, 0.14836068451404572, 0.5960883498191833, 0.32701119780540466, -0.22093205153942108, 0.5687733888626099, 0.48548197746276855, 0.8036661744117737, 0.0700143575668335, 1.0542728900909424, -0.41335105895996094, 0.42594876885414124, 1.2175276279449463, -0.2961200475692749, 0.7109367847442627, 0.6381142139434814, -0.36117231845855713, 0.1701553910970688, 0.5298950672149658, -0.29347893595695496, 0.09563547372817993, 0.34979814291000366, 0.1384737342596054, -0.36029815673828125, 0.09834032505750656, -0.3061414361000061, 0.2794855535030365, 0.1281379759311676, 0.1768212765455246, -0.2584708034992218, -0.02238553576171398, 0.20264574885368347, -0.12065355479717255, -0.16427451372146606, 0.47026342153549194, 0.2746546268463135, -0.3453676700592041, 0.7088416814804077, 0.18057402968406677, 0.9255184531211853, -0.7158654928207397, 0.009433504194021225, -0.22397036850452423, 0.318233847618103, -0.5147911310195923, -0.3434985280036926, 0.13540762662887573, -0.20840853452682495, 0.16420887410640717, -0.21986545622348785, 0.8945475220680237, -0.22026313841342926, -0.8392899632453918, 0.10857699811458588, 0.3424112796783447, -0.09964212775230408, -0.18539758026599884, -0.6706915497779846, 0.4672415554523468, -0.1167425587773323, -0.7280123233795166, 0.5201842188835144, 0.029919186607003212, -0.22568625211715698, 0.9578001499176025, 0.6978529095649719, 0.37847456336021423, 0.11152777075767517, 0.13873134553432465, 1.008462905883789, -0.2125849574804306, -0.13163477182388306, -1.0015918016433716, 0.3110353350639343, -0.003966233693063259, -0.36451366543769836, 1.0767028331756592, 0.5865405797958374, 0.735601007938385, 0.2894120216369629, 0.36451098322868347, 0.1347033530473709, 0.13987937569618225, -0.386522501707077, 0.5222278237342834, -0.4852094054222107, 0.4886036515235901, -0.4430113136768341, -1.1951024532318115, -0.4900991916656494, 0.8052976727485657, -0.09347276389598846, 0.19832594692707062, 0.3462027907371521, 0.8914440274238586, 0.014044818468391895, -0.4208274781703949, 0.16469094157218933, 0.3543994426727295, 0.21715377271175385, 0.20470675826072693, 0.5107221603393555, -0.05475371703505516, 0.9045690298080444, -0.22428828477859497, -0.13137611746788025, -0.19656623899936676, -0.9557929635047913, -0.6071140766143799, -0.12235195189714432, -0.4161589741706848, -0.03398619592189789, 0.05144285410642624, 0.7364960312843323, 0.9809467196464539, -0.766196608543396, -0.21942290663719177, -0.2577100992202759, 0.1609799712896347, -0.5108150839805603, -0.21945025026798248, 0.2648061513900757, 0.14172659814357758, -0.4848378002643585, 0.520739734172821, 0.2930891513824463, 0.010203943587839603, -0.4442826509475708, -0.11413471400737762, -0.2535770833492279, -0.09443022310733795, 0.31652751564979553, 0.4606003761291504, -0.4154578149318695, 0.021264728158712387, -0.12208624184131622, 0.23316723108291626, 0.15845902264118195, 0.6935665607452393, -0.6805014610290527, -0.10534895956516266, 0.4767160415649414, 0.7686135768890381, 0.6741786599159241, 0.38549354672431946, 0.6019286513328552, -1.0680546760559082, 0.3230123519897461, 0.34357115626335144, 0.4735358655452728, 0.48480910062789917, -0.30021747946739197, 0.08839011192321777, 0.002259682398289442, -0.25186920166015625, -0.9804049730300903, 0.3778429925441742, -0.6519681811332703, -0.234879732131958, 1.1186208724975586, -0.14093993604183197, -0.4201030135154724, 0.15542404353618622, -0.43718913197517395, -0.015563974156975746, -0.5808480381965637, 0.41869720816612244, 0.6150807738304138, 0.06516245007514954, -0.5031935572624207, -0.32734283804893494, 0.35254645347595215, 0.6573827266693115, -0.5791298151016235, 0.01845642738044262, 0.3727056086063385, 0.31946125626564026, 0.23947663605213165, 0.4339583218097687, -0.02118511125445366, 0.12329203635454178, -0.13996072113513947, -0.27867648005485535, -0.28708067536354065, -0.3139991760253906, -0.5851330161094666, 0.4430244266986847, 0.41541868448257446, 0.12100838124752045 ]
http://arxiv.org/abs/2406.07016v2
http://arxiv.org/pdf/2406.07016v2
Delving into ChatGPT usage in academic writing through excess vocabulary
2024-06-11T07:16:34
2024-07-03T09:53:27
Dmitry Kobak, Rita González-Márquez, Emőke-Ágnes Horvát, Jan Lause
cs.CL
cs.CL, cs.AI, cs.CY, cs.DL, cs.SI
Recent large language models (LLMs) can generate and revise text with human-level performance, and have been widely commercialized in systems like ChatGPT. These models come with clear limitations: they can produce inaccurate information, reinforce existing biases, and be easily misused. Yet, many scientists have been using them to assist their scholarly writing. How wide-spread is LLM usage in the academic literature currently? To answer this question, we use an unbiased, large-scale approach, free from any assumptions on academic LLM usage. We study vocabulary changes in 14 million PubMed abstracts from 2010-2024, and show how the appearance of LLMs led to an abrupt increase in the frequency of certain style words. Our analysis based on excess words usage suggests that at least 10% of 2024 abstracts were processed with LLMs. This lower bound differed across disciplines, countries, and journals, and was as high as 30% for some PubMed sub-corpora. We show that the appearance of LLM-based writing assistants has had an unprecedented impact in the scientific literature, surpassing the effect of major world events such as the Covid pandemic.
[ -0.16512249410152435, -0.6593102812767029, 0.666295051574707, 0.12647435069084167, -0.1428234726190567, 0.23037651181221008, -0.2578944265842438, -0.870612382888794, 0.25596049427986145, 0.507127046585083, 0.04100752994418144, -0.4010888636112213, -0.9512291550636292, 0.36854368448257446, -0.5924655199050903, 1.332776427268982, -0.056323353201150894, 0.25774526596069336, -0.4382915794849396, -0.051405005156993866, 0.08108684420585632, -0.5659410357475281, -0.2363874465227127, -0.5950091481208801, 0.7700731754302979, 0.19744034111499786, 0.5510983467102051, 0.36503905057907104, 0.8499162793159485, 0.21861864626407623, -0.17686544358730316, 0.16448183357715607, -0.7397106885910034, -0.0016170345479622483, 0.02937069535255432, -0.5508430600166321, -0.677314043045044, -0.008088549599051476, 0.8221791982650757, 0.8993290066719055, -0.0631452277302742, -0.07040385901927948, 0.215070441365242, 0.7113929986953735, -0.43530261516571045, 0.03104889579117298, -0.7105779051780701, -0.11849594861268997, -0.4357752799987793, -0.315216600894928, -0.41100186109542847, -0.10763385891914368, 0.4612713158130646, -0.6871193647384644, 0.014577186666429043, 0.07567667216062546, 0.695283055305481, -0.039589058607816696, -0.11043120175600052, -0.4546392858028412, -0.6007111072540283, 0.6379557847976685, -0.5315563082695007, 0.16857372224330902, 0.18538600206375122, -0.21474869549274445, -0.47707700729370117, -0.9079450368881226, -0.34143105149269104, -0.29181107878685, 0.024937255308032036, 0.11214450001716614, -0.32348906993865967, 0.24720343947410583, 0.13676981627941132, 0.1948041021823883, -0.41444867849349976, 0.023015743121504784, -0.7411721348762512, 0.12502896785736084, 0.4568102955818176, 0.13203392922878265, 0.5505732893943787, 0.12972500920295715, -0.25900667905807495, 0.32694369554519653, -1.0512036085128784, -0.4099031388759613, 0.0894513875246048, 0.07012239843606949, 0.2078051120042801, 0.9057336449623108, 0.27543604373931885, 0.3986421525478363, -0.4838048815727234, 0.2153925597667694, -0.1503392606973648, -0.2627374529838562, -0.2818588316440582, 0.07490448653697968, 0.9287311434745789, 0.7000964283943176, 0.4833855628967285, -0.16373145580291748, 0.17412340641021729, 0.018381785601377487, 0.29395389556884766, -0.5866998434066772, -0.35583508014678955, -0.018504861742258072, 0.07751421630382538, -0.09971315413713455, -0.35010936856269836, -0.6319936513900757, -0.797601580619812, 0.026822075247764587, 0.1342291384935379, -0.5356994271278381, 0.10018180310726166, 0.20757357776165009, -0.35812440514564514, 0.08497955650091171, 0.3659180700778961, -0.6083250641822815, 0.3833620250225067, 0.7126136422157288, 1.2368838787078857, -0.44225791096687317, -0.351471483707428, -0.0001039392373058945, 0.07299493253231049, -0.5601006746292114, 1.0539666414260864, -0.4172336459159851, -0.7391909956932068, 0.05295661464333534, -0.2174563854932785, -0.021414384245872498, -0.3942919373512268, 0.37874555587768555, -0.4885390102863312, 0.14433114230632782, -0.2079819291830063, -0.6857158541679382, 0.02790207602083683, -0.1258404552936554, -0.36427855491638184, 0.7908395528793335, -0.08334527909755707, -0.7388544678688049, 0.38177385926246643, -0.6383740901947021, -0.3321634829044342, 0.2393617182970047, -0.05417375639081001, -0.33885207772254944, 0.11883935332298279, -0.13683216273784637, 0.5265122056007385, -0.16186216473579407, 0.2738669216632843, -0.10743129253387451, -0.48836225271224976, 0.529499351978302, -0.27958551049232483, 0.3922269940376282, 0.24425263702869415, 0.1986236572265625, -0.3027711510658264, -0.5280355215072632, -0.4271370768547058, -0.1017872542142868, -0.3849247097969055, -0.6814791560173035, 0.03563889116048813, 0.08856374025344849, -0.1680091917514801, 0.1449594646692276, -0.6933236718177795, 0.3062080144882202, -0.5169489979743958, 0.7540878653526306, 0.379572331905365, 0.26372087001800537, 0.37255099415779114, -0.7176446914672852, 0.4199226200580597, -0.4739103317260742, -0.3962707817554474, -0.05247563123703003, -0.6129909753799438, -0.4047396779060364, -0.48216482996940613, 0.09897533804178238, 0.2622075080871582, -0.25586748123168945, 0.011307241395115852, -0.28270766139030457, -0.6878030896186829, -0.46713563799858093, 0.06406853348016739, 0.11337316781282425, 0.3544379472732544, 0.4367642104625702, -0.034768246114254, -0.5913357138633728, -0.7919277548789978, -0.6721969842910767, 0.020580308511853218, -0.027245832607150078, 0.2082444429397583, 0.6304071545600891, -0.21065129339694977, 0.7058928608894348, -0.49377861618995667, -0.2559709846973419, -0.3314310312271118, 0.2820567786693573, -0.027271244674921036, 0.2528023421764374, 0.08948945254087448, -0.3188423812389374, -0.5171797871589661, -0.12977072596549988, -0.5250945687294006, -0.445504367351532, -0.31995946168899536, -0.10774552822113037, 0.21588034927845, 0.7346111536026001, -0.46709951758384705, 0.06369486451148987, 0.6739485263824463, -0.25313714146614075, 0.6448156833648682, -0.3375813364982605, -0.17250141501426697, -0.8902455568313599, 0.23525284230709076, 0.34660789370536804, -0.11402370780706406, -0.6218241453170776, -0.09472981840372086, -0.0845162570476532, 0.12664106488227844, -0.15272505581378937, 0.6273220181465149, -0.7031170725822449, 0.19196093082427979, -0.448742538690567, 0.45206740498542786, 0.0847538486123085, -0.18336859345436096, 0.025634732097387314, 0.8767715692520142, 0.2039947658777237, -0.37317657470703125, -0.07252491265535355, 0.08735033869743347, -0.5625879168510437, 0.1934925615787506, -0.7756171822547913, -0.1706344187259674, -0.23021385073661804, 0.5355371236801147, -1.3074396848678589, -0.2823297381401062, -0.09735476225614548, -0.21632897853851318, 0.359547883272171, 0.09907019138336182, -0.35864561796188354, -0.0795702338218689, -0.30887871980667114, -0.05676945298910141, 0.4671877920627594, -0.22094950079917908, 0.3977304995059967, 0.5672838687896729, -0.5480837225914001, -0.5272391438484192, -0.823809027671814, 0.48965775966644287, -0.04099231958389282, -0.4822639226913452, 0.3891522288322449, 0.06485313177108765, -0.6680594086647034, -0.17573748528957367, -0.05865190178155899, 0.021727008745074272, -0.03840600326657295, 0.31483063101768494, 0.5491335988044739, 0.11264622211456299, 0.34100809693336487, -0.10720928758382797, 0.40896862745285034, 0.20256049931049347, -0.01172318309545517, 0.6104902029037476, -0.15046752989292145, -0.17693603038787842, -0.0959220603108406, 0.2920149862766266, 0.7548261880874634, 0.17253756523132324, 0.594928503036499, 0.17626778781414032, 0.052638038992881775, -0.05636957287788391, -0.5384019017219543, -0.07807702571153641, -0.4076896607875824, 0.8167272806167603, 0.18813559412956238, -0.7604906558990479, 0.4305378794670105, -0.059983011335134506, 0.35170549154281616, 0.4383663833141327, 0.4296935796737671, -0.19460982084274292, 0.45597806572914124, 0.4340706765651703, 0.14202803373336792, 0.4250546991825104, -0.23451732099056244, 0.06950864940881729, -1.1656156778335571, -0.2017420083284378, -0.4972861707210541, -0.1580507606267929, -0.7686405777931213, -0.5372180342674255, 0.4909884035587311, -0.10693572461605072, 0.043268486857414246, -0.08298428356647491, -0.5674287676811218, 0.5426971912384033, 0.38083747029304504, 0.01807309500873089, 0.569990873336792, -0.0069840229116380215, 0.09911883622407913, -0.11548315733671188, -0.6782317757606506, -0.6806401610374451, 1.224757432937622, 0.5164552927017212, 0.8219689726829529, -0.18766441941261292, 0.40252840518951416, 0.19898532330989838, 0.6228407025337219, -0.9784531593322754, 0.5228712558746338, -0.3542923331260681, -0.5250148773193359, -0.3491482734680176, -0.05174732580780983, -0.9611244797706604, 0.2433193176984787, -0.18196210265159607, -0.5503949522972107, 0.06365621834993362, -0.017569785937666893, -0.26730093359947205, 0.2927457392215729, -0.6267975568771362, 0.2215575873851776, 0.00015700074436608702, -0.5126250386238098, -0.12407287955284119, -0.4736754596233368, 0.32068362832069397, -0.21821942925453186, 0.3246781826019287, -0.2568732500076294, -0.40374839305877686, 0.8827848434448242, -0.2782908082008362, 1.0209643840789795, 0.21074822545051575, -0.2042754739522934, 0.2980441153049469, 0.05401991307735443, 0.5147800445556641, 0.11488379538059235, -0.0401763953268528, 0.5383256077766418, 0.10976802557706833, -0.3412455916404724, -0.05224600434303284, 0.7446853518486023, -0.8051863312721252, -0.5986670851707458, -0.8526356816291809, -0.785941481590271, -0.23772281408309937, -0.030620282515883446, 0.6447871923446655, 0.3360544741153717, -0.5014790296554565, 0.20421451330184937, 0.5645202398300171, -0.23408155143260956, 0.26966774463653564, 0.4900444447994232, -0.26023009419441223, -0.15075959265232086, 0.6354894042015076, 0.4699479937553406, 0.42587536573410034, 0.154502734541893, 0.3103211224079132, -0.14361804723739624, -0.642857015132904, -0.23187391459941864, 0.5012941956520081, -0.43540993332862854, 0.15903538465499878, -0.9957044720649719, -0.23588481545448303, -0.4334588050842285, -0.5353116393089294, -0.1341722011566162, -0.3697071373462677, -0.3955651819705963, 0.06742209941148758, 0.7463757991790771, 0.8588472008705139, -0.002086928579956293, 0.44042113423347473, -0.6207476854324341, -0.11790581047534943, -0.06629312038421631, 0.40488889813423157, -0.18618430197238922, -0.6792332530021667, -0.0607340969145298, -0.21911966800689697, -0.06681309640407562, -0.7678319811820984, 0.548351526260376, 0.4575136601924896, 0.32065457105636597, 0.158601775765419, -0.2953246831893921, 0.2862783968448639, -0.7177636027336121, 0.9846779108047485, 0.10165984183549881, -0.4640389382839203, -0.11860779672861099, -0.7721019387245178, 0.6659121513366699, 0.37944740056991577, 0.7076645493507385, -1.1186059713363647, -0.8189984560012817, -0.42481374740600586, -1.1460472345352173, 0.3468865752220154, -0.14551076292991638, 0.39609625935554504, -0.12017430365085602, 0.30777743458747864, 0.20684795081615448, 0.04432158172130585, -0.5921512842178345, -0.10602586716413498, 0.17260237038135529, -0.013167533092200756, -0.19791348278522491, -0.39044395089149475, -0.24261172115802765, -0.11923101544380188, 0.698383092880249, 0.06929094344377518, 0.2517591118812561, 0.4508339464664459, 0.029223959892988205, 0.0013648634776473045, 0.5089020729064941, 0.7122524380683899, 0.7410060167312622, -0.16019144654273987, 0.16028283536434174, 0.23481808602809906, -0.9770882725715637, -0.2377566546201706, 0.10021641850471497, -0.17081382870674133, 0.12858542799949646, 0.4648829400539398, 0.26116517186164856, 0.2239207625389099, -0.8327234983444214, 0.22772054374217987, 0.21001650393009186, -0.4589169919490814, -0.465364545583725, 0.06305663287639618, 0.37771666049957275, -0.03387783467769623, 0.3752814531326294, 0.15476654469966888, 0.17784659564495087, -0.6094443798065186, 0.002487585414201021, 0.580970823764801, -0.25283846259117126, -0.21928581595420837, 0.35822999477386475, 0.052035048604011536, 0.06276776641607285, 0.14080768823623657, 0.18549254536628723, -0.29037636518478394, 0.3580828607082367, 0.6786013841629028, 0.5380317568778992, 0.05112406983971596, 0.14077207446098328, 0.033018819987773895, 0.19434556365013123, -0.26484963297843933, 0.1505129486322403, 0.5037881731987, -0.5523954629898071, -0.6182319521903992, -0.666933536529541, -0.5940335988998413, 0.4180087447166443, -0.22414124011993408, 0.2635471820831299, -0.3540135324001312, -0.19006755948066711, 0.4089046120643616, -0.10800333321094513, -0.3035752475261688, -0.21884672343730927, -0.04149685427546501, 0.6850546598434448, -0.679861307144165, 0.5136323571205139, 0.9717140793800354, -0.05014700070023537, -0.33441630005836487, -0.1678134948015213, 0.26095902919769287, -0.8288708329200745, 0.5257436037063599, -0.15487593412399292, -0.1671638935804367, -0.017963433638215065, -0.7731516361236572, -0.9292517304420471, 0.6172143816947937, -0.1675095111131668, -0.8145166635513306, -0.2354736030101776, 0.1104246973991394, 1.058661699295044, -0.19521211087703705, 0.20089268684387207, 0.5399692058563232, 0.2824532091617584, 0.2100435197353363, -0.8221036791801453, -0.21600115299224854, -0.11977917701005936, -0.17371678352355957, 0.32442814111709595, -0.5765909552574158, 0.7677304148674011, -0.2207312136888504, -0.14371369779109955, -0.0433097667992115, 0.32823053002357483, 0.09768117964267731, 0.2694745361804962, -0.14035245776176453, 0.0497545525431633, 0.9001052379608154, 0.09321194142103195, 0.9125773310661316, -0.3006550073623657, -0.1309330016374588, 1.0137957334518433, -0.35354068875312805, 0.8485417366027832, 0.6481682062149048, -0.23023489117622375, 0.3862997889518738, 0.2586396038532257, -0.255928635597229, 0.0546569749712944, 0.5162200927734375, -0.4808732867240906, 0.08062050491571426, -0.3310307562351227, -0.38067230582237244, 0.4535572826862335, 0.820112407207489, -0.7101128101348877, -0.17561504244804382, 0.09700821340084076, 0.5167337656021118, 0.13826093077659607, -0.34585317969322205, 0.7656959891319275, 0.4105999767780304, -0.636043906211853, 0.5395975708961487, -0.17310714721679688, 0.8345277905464172, -0.5983938574790955, 0.08614140003919601, -0.1670549511909485, 0.01919739693403244, -0.2667848467826843, -0.9836384654045105, 0.3155312240123749, 0.33015498518943787, -0.019256524741649628, -0.09074437618255615, 0.811528742313385, -0.4400346577167511, -0.4435942769050598, -0.00014553107030224055, 0.7629423141479492, 0.48890554904937744, 0.024212079122662544, -0.03871139883995056, -0.1357288956642151, -0.146121084690094, -0.24012428522109985, 0.5979953408241272, 0.3152725398540497, 0.03484193980693817, 0.6291108131408691, 0.4649883210659027, 0.7853922843933105, 0.035313669592142105, -0.16314972937107086, 0.7584308981895447, -0.27439358830451965, 0.00012376176891848445, -1.0014195442199707, -0.010382533073425293, -0.1316940188407898, -0.4630143642425537, 0.8405907154083252, 0.5128829479217529, 0.44135573506355286, 0.12957364320755005, 1.0925134420394897, 0.24153943359851837, 0.533255398273468, -0.306496262550354, 0.975586473941803, -0.4980693459510803, 0.3108086884021759, -0.47158893942832947, -0.5431892275810242, -0.574518084526062, 0.2848148047924042, -0.7191081643104553, -0.10929881781339645, 0.7069365382194519, 0.5164608955383301, 0.37920597195625305, 0.14750778675079346, 0.30851659178733826, 0.2825436294078827, 0.30578818917274475, 0.1608959436416626, 0.8183491826057434, -0.0073732915334403515, 0.5793715715408325, 0.05188414454460144, -0.31259432435035706, -0.3703806400299072, -0.9662443399429321, -0.7636697292327881, -0.3662872910499573, -0.21281184256076813, -0.3764103949069977, 0.4210655689239502, 0.9992008209228516, 0.17239558696746826, -0.5717566609382629, -0.23397451639175415, -0.12352925539016724, -0.26329851150512695, 0.09675687551498413, -0.2030497044324875, 0.46646586060523987, -0.3985532224178314, -0.7198511362075806, 0.22027412056922913, 0.3670230507850647, 0.17869190871715546, -0.23638981580734253, 0.4228465259075165, -0.4101257622241974, 0.42841771245002747, 0.6657244563102722, 0.3189780116081238, -0.46763959527015686, 0.07936453819274902, 0.3395223617553711, -0.4107368290424347, 0.27486345171928406, 0.6762407422065735, -0.30081412196159363, 0.40060940384864807, 0.6322574019432068, 0.38796621561050415, 0.1514395922422409, 0.017415128648281097, 0.7991538047790527, -0.6958081722259521, -0.3805813789367676, 0.4814438819885254, 0.3748208284378052, 0.46311789751052856, -0.3783625364303589, 0.4039362668991089, 0.2709134817123413, -0.9997258186340332, -0.8340744376182556, -0.3165496289730072, -0.6627628207206726, -0.6226436495780945, 1.4224050045013428, 0.12397352606058121, -0.21555200219154358, -0.3700856566429138, -0.2770179510116577, 0.15441879630088806, -0.7116836905479431, 1.054992914199829, 1.0587983131408691, -0.5028923153877258, 0.03828509896993637, -0.8310677409172058, 0.7138636112213135, 0.42418092489242554, -0.7658472657203674, 0.4055468738079071, 0.5977537035942078, 0.2786730229854584, 0.23353326320648193, 0.7554540038108826, -0.19879020750522614, 0.10049979388713837, -0.019843164831399918, 0.11738739907741547, 0.04253647103905678, -0.14698447287082672, -0.22823841869831085, 0.07104508578777313, 0.33408647775650024, 0.5017123818397522 ]
http://arxiv.org/abs/2406.07012v2
http://arxiv.org/pdf/2406.07012v2
Bridging Language Gaps in Audio-Text Retrieval
2024-06-11T07:12:12
2024-06-17T02:24:22
Zhiyong Yan, Heinrich Dinkel, Yongqing Wang, Jizhong Liu, Junbo Zhang, Yujun Wang, Bin Wang
cs.SD
cs.SD, cs.CL, eess.AS
Audio-text retrieval is a challenging task, requiring the search for an audio clip or a text caption within a database. The predominant focus of existing research on English descriptions poses a limitation on the applicability of such models, given the abundance of non-English content in real-world data. To address these linguistic disparities, we propose a language enhancement (LE), using a multilingual text encoder (SONAR) to encode the text data with language-specific information. Additionally, we optimize the audio encoder through the application of consistent ensemble distillation (CED), enhancing support for variable-length audio-text retrieval. Our methodology excels in English audio-text retrieval, demonstrating state-of-the-art (SOTA) performance on commonly used datasets such as AudioCaps and Clotho. Simultaneously, the approach exhibits proficiency in retrieving content in seven other languages with only 10% of additional language-enhanced training data, yielding promising results. The source code is publicly available https://github.com/zyyan4/ml-clap.
[ -0.47872206568717957, -0.489000529050827, 0.4046420753002167, 0.4457199275493622, -0.35681331157684326, 0.4033908545970917, -0.3875633776187897, -0.8014100193977356, 0.3686924874782562, 0.2706276774406433, -0.2839929163455963, -0.519325852394104, -0.7657586336135864, 0.31991642713546753, -0.4613649845123291, 0.7094536423683167, 0.33771878480911255, 0.037854474037885666, 0.06185144931077957, -0.31679511070251465, -0.5994032025337219, -0.43454697728157043, -0.6045343279838562, -0.13166597485542297, 0.3583970069885254, 0.39711856842041016, 0.518642008304596, 0.5274384021759033, 0.4826716184616089, 0.17688614130020142, -0.21809987723827362, 0.2970675528049469, -0.2728436589241028, 0.3815743029117584, 0.10754726082086563, -0.23973475396633148, -0.43343037366867065, -0.2686837911605835, 0.6596407890319824, 0.5456167459487915, -0.12798359990119934, -0.1293598860502243, 0.33545923233032227, 0.7260204553604126, -0.8020972013473511, 0.1043272539973259, -0.6019203066825867, 0.033225588500499725, -0.44821885228157043, -0.44215744733810425, -0.22498749196529388, -0.028144070878624916, 0.1777920126914978, -0.5030887126922607, 0.02559899352490902, -0.16659456491470337, 0.8368960022926331, 0.40094563364982605, -0.2758336365222931, -0.4401625096797943, -0.7485084533691406, 0.7722616791725159, -0.41844815015792847, 0.7542254328727722, 0.7697887420654297, 0.2875898480415344, 0.2484210878610611, -0.4757395088672638, -0.35907870531082153, -0.021239427849650383, 0.06408900022506714, 0.32045990228652954, -0.011116870678961277, -0.09527123719453812, -0.1655908077955246, 0.6685687899589539, -0.621864914894104, 0.10362560302019119, -0.39965158700942993, -0.25086140632629395, 0.7925220727920532, -0.27727264165878296, 0.3741320073604584, 0.11698798835277557, -0.2225496619939804, -0.16275368630886078, -0.6371700763702393, -0.15924952924251556, 0.38253751397132874, 0.5587318539619446, -0.1619068831205368, 0.4651578664779663, 0.1321042776107788, 0.4233885109424591, -0.23363487422466278, -0.08808518201112747, 0.5250537395477295, -0.19961152970790863, 0.23158681392669678, 0.5469413995742798, 0.5871319770812988, 0.24341674149036407, 0.025681467726826668, -0.03978266194462776, -0.4499315321445465, -0.05027877539396286, -0.26487383246421814, -0.5296897888183594, -0.07859217375516891, 0.23274599015712738, -0.1744823008775711, 0.14463913440704346, 0.26922544836997986, -0.9373378753662109, -0.3987657427787781, -0.022417182102799416, 0.47015658020973206, -0.3489918112754822, -0.3008553683757782, 0.331307590007782, -0.4844458997249603, -0.13739292323589325, -0.21020370721817017, -0.8089074492454529, 0.2646036148071289, 0.5141263008117676, 0.8767740726470947, -0.15748141705989838, -0.18048237264156342, -0.802595317363739, 0.32994988560676575, -0.05967477709054947, 0.5167519450187683, -0.7994387745857239, -0.6044962406158447, 0.1798093169927597, -0.017142683267593384, 0.17490865290164948, -0.7965147495269775, 0.8399508595466614, -0.37609192728996277, 0.22114825248718262, -0.0038914207834750414, -0.6121217012405396, 0.07666641473770142, -0.1847064197063446, -0.9786320924758911, 1.1971551179885864, -0.24230247735977173, -0.7364568710327148, 0.29295802116394043, -0.45342564582824707, -0.6997187733650208, 0.05181735381484032, -0.36304420232772827, -0.3196089565753937, 0.009642370976507664, 0.6727380156517029, 0.24732856452465057, -0.254134863615036, 0.03598878160119057, 0.1408465951681137, -0.7443463206291199, 0.07248955219984055, -0.6710237860679626, 0.5286955833435059, 0.35372331738471985, -0.31891483068466187, -0.46013331413269043, -0.7371176481246948, -0.4078812599182129, -0.005324604921042919, -0.6276435256004333, -0.6971210837364197, 0.08132387697696686, 0.4409463107585907, -0.246946319937706, 0.3576110899448395, -0.5528424382209778, -0.15578028559684753, -0.43788114190101624, 0.2835130989551544, 0.4153363108634949, -0.06161736324429512, 0.5964450836181641, -0.31321102380752563, 0.6023968458175659, -0.15792912244796753, -0.26354941725730896, -0.606799304485321, -0.44029706716537476, -0.2413383275270462, -0.653014063835144, 0.49808475375175476, 0.7357913255691528, -0.7512073516845703, 0.4717837870121002, -0.16108940541744232, -0.3031628131866455, -1.2073707580566406, 0.10642791539430618, 0.478339821100235, 0.24564053118228912, 0.6669771075248718, -0.3090706467628479, -0.8574761152267456, -0.7745938897132874, -0.1996244341135025, 0.020225809887051582, -0.3798052668571472, 0.33022046089172363, -0.13891516625881195, -0.28523579239845276, 0.785410463809967, -0.3024767339229584, -0.6341336965560913, -0.27036887407302856, 0.10044901818037033, 0.4515567123889923, 0.4484066367149353, 0.3809017241001129, -1.0051136016845703, -0.6581351161003113, 0.13011333346366882, -0.5081414580345154, -0.5394641757011414, -0.07995031774044037, 0.04984433576464653, 0.15113453567028046, 0.6041920185089111, -0.3876694440841675, 0.1065940260887146, 0.7003671526908875, 0.0488661490380764, 0.30928346514701843, -0.13747985661029816, 0.4399462044239044, -0.9784297347068787, -0.05125316604971886, -0.047170985490083694, -0.2947663962841034, -0.43194618821144104, -0.04403531178832054, -0.015681767836213112, 0.06922321021556854, -0.3072100877761841, 0.5600228309631348, -0.6100583672523499, -0.06050770729780197, -0.4237915277481079, 0.6080865859985352, 0.0587875135242939, 0.04133760929107666, 0.1538899838924408, 0.8671735525131226, 0.830674946308136, -0.6934870481491089, 0.02490662783384323, 0.23097611963748932, -0.25886791944503784, 0.49340173602104187, -0.5427500009536743, 0.20154957473278046, -0.34219449758529663, 0.11066575348377228, -0.7024109959602356, -0.04846674203872681, -0.35471904277801514, -0.5414119958877563, 0.5871205925941467, -0.36817115545272827, -0.3536195456981659, -0.20416764914989471, -0.36735010147094727, 0.4948281943798065, 0.573646605014801, -0.7545704245567322, 0.27032414078712463, 0.882464587688446, -0.4362625181674957, -0.8211984634399414, -0.7118971347808838, 0.18794207274913788, -0.3579292595386505, -0.2864380478858948, 0.6042419075965881, -0.1526680588722229, -0.27616050839424133, -0.26314079761505127, -0.4194245934486389, -0.35503581166267395, 0.005597642157226801, -0.2184322327375412, 0.22095000743865967, -0.15910249948501587, 0.3880845010280609, 0.31058844923973083, -0.07386678457260132, -0.27437615394592285, -0.34155938029289246, 0.5622707605361938, 0.039588384330272675, -0.19723501801490784, -0.2828233242034912, 0.5138740539550781, 0.3711281418800354, -0.3780733048915863, 0.3352168798446655, 0.7159832715988159, -0.346660315990448, -0.09496551752090454, -0.471037894487381, -0.3630642890930176, -0.48916399478912354, 0.5183961391448975, -0.49979305267333984, -1.1430163383483887, 0.39702197909355164, 0.10610023140907288, -0.05385218560695648, 0.3089914619922638, 0.19394551217556, -0.38538774847984314, 1.0552819967269897, 0.6317288875579834, -0.35378730297088623, 0.35440248250961304, -0.0516035370528698, 0.029954571276903152, -0.6455215811729431, -0.09525049477815628, -0.7745378017425537, -0.12802445888519287, -0.6364666819572449, -0.36698246002197266, 0.3263535797595978, 0.17440934479236603, 0.21043874323368073, 0.48666560649871826, -0.5657626986503601, 0.6781705617904663, 0.3034469485282898, -0.041313547641038895, 0.45774132013320923, 0.1541312336921692, -0.04800516366958618, -0.3880092203617096, -0.5979616641998291, -0.3920557498931885, 0.7961781024932861, 0.39432379603385925, 0.5434764623641968, 0.2753557562828064, 0.8304802179336548, 0.3529227674007416, -0.32900726795196533, -0.5046670436859131, 0.2557655870914459, -0.38667091727256775, -0.4918818175792694, -0.3570590019226074, -0.4479844570159912, -1.2726011276245117, 0.40511706471443176, -0.18236692249774933, -0.5672399997711182, 0.16098612546920776, -0.03733905404806137, -0.06058502942323685, -0.03610718250274658, -0.3913673162460327, 0.3833758533000946, -0.1841256022453308, -0.3042638599872589, -0.20637503266334534, -0.37931492924690247, -0.07820308953523636, -0.399038165807724, 0.8227325081825256, -0.13896748423576355, -0.147756427526474, 0.46221837401390076, -0.18839986622333527, 0.38070064783096313, -0.26364701986312866, -0.42752277851104736, 0.30149027705192566, -0.12803126871585846, 0.2859305441379547, 0.16502907872200012, -0.08615361899137497, 0.14091341197490692, -0.05555756390094757, -0.38909170031547546, -0.4101213216781616, 0.5875962972640991, -0.4813949763774872, -0.3093629479408264, -0.03119450993835926, -0.3813440799713135, -0.30290842056274414, -0.050246987491846085, 0.26599207520484924, 0.3990701138973236, -0.13378740847110748, 0.38614848256111145, 0.619121789932251, -0.4142882823944092, 0.7536138296127319, 0.6476094722747803, -0.2846035659313202, -0.32643067836761475, 1.0225259065628052, -0.027354108169674873, -0.006182615179568529, 0.7300792932510376, 0.13013848662376404, -0.5116297006607056, -0.3684101402759552, -0.4424835741519928, -0.003776741912588477, -0.3927174508571625, -0.07472028583288193, -0.6342059373855591, -0.08430153876543045, -0.28130048513412476, -0.041956912726163864, -0.5654558539390564, -0.551560640335083, -0.058863021433353424, -0.2665959596633911, 0.4513091742992401, 0.3215942978858948, -0.332107275724411, 0.11903918534517288, -1.248500108718872, 0.2792474925518036, 0.030410446226596832, 0.2011127769947052, -0.3074789047241211, -0.7272124290466309, -0.6974968314170837, -0.009195848368108273, 0.046046074479818344, -0.9980444312095642, 0.5398606657981873, 0.6887082457542419, 0.6773973107337952, 0.07906726002693176, 0.2183321714401245, 0.6857175230979919, -0.6837505102157593, 0.6959240436553955, 0.11173027008771896, -0.9319462180137634, 0.8121663331985474, -0.30196651816368103, 0.4081721603870392, 0.5870810151100159, 0.43703266978263855, -0.4443035423755646, -0.7949851751327515, -0.24996213614940643, -1.4009358882904053, 0.2988823354244232, 0.5253745913505554, 0.3500882387161255, -0.19619043171405792, 0.018891744315624237, 0.24840642511844635, 0.08258162438869476, -0.48481717705726624, -0.28702080249786377, -0.0459795817732811, -0.36613765358924866, -0.1996566504240036, -0.02040659636259079, 0.14320962131023407, -0.10900123417377472, 0.7521374821662903, 0.025844227522611618, 0.13060607016086578, 0.5170766115188599, -0.40942221879959106, 0.27164357900619507, 0.5520215630531311, 0.2777319848537445, 0.15731677412986755, -0.16625355184078217, 0.3663421869277954, 0.24645695090293884, -0.8428279757499695, 0.07127148658037186, 0.3883688449859619, 0.18180039525032043, 0.3950960338115692, 0.34580546617507935, 0.4479057788848877, 0.2974279224872589, -1.0988856554031372, 0.3847798705101013, -0.07191402465105057, 0.08644615113735199, -0.25066840648651123, -0.26880401372909546, 0.024365326389670372, 0.3067109286785126, 0.9291503429412842, -0.3010684847831726, 0.5943865180015564, -0.4589079022407532, 0.6454660892486572, 0.04468076303601265, -0.6318686008453369, -0.08264125883579254, 0.826210618019104, 0.23272119462490082, -0.3759015202522278, 0.4002991020679474, -0.10614337772130966, -0.22956667840480804, 0.5862078666687012, 0.541586697101593, 0.8052769899368286, -0.3953079879283905, -0.06234721839427948, 0.2971610128879547, 0.408783495426178, -0.09092672169208527, 0.5196705460548401, -0.12338530272245407, -0.5938873887062073, -0.6650969982147217, -0.6493548154830933, -0.24581694602966309, 0.013158057816326618, -0.8082057237625122, 0.32974135875701904, 0.07201895117759705, -0.2365395724773407, -0.23743024468421936, -0.24883513152599335, -0.4282870888710022, -0.026269664987921715, 0.32986822724342346, 0.8349815607070923, -0.7076116800308228, 0.801891028881073, 0.5643509030342102, -0.43952301144599915, -0.5624621510505676, 0.09152144938707352, 0.03608211874961853, -0.3162086308002472, 0.287080317735672, 0.22361856698989868, -0.16404257714748383, -0.14332106709480286, -0.15393826365470886, -0.5966046452522278, 0.8838576674461365, 0.47003060579299927, -1.0789039134979248, 0.4612487256526947, 0.1517389416694641, 0.6310507655143738, -0.3309668302536011, 0.2763577401638031, 0.6927928328514099, 0.4873875379562378, -0.17749305069446564, -1.3114535808563232, -0.41395315527915955, -0.40778547525405884, -0.25183403491973877, 0.08666665107011795, -0.24082839488983154, 0.44900983572006226, 0.07672525942325592, -0.16767702996730804, -0.051568128168582916, 0.6298484206199646, 0.580015242099762, 0.49635976552963257, 0.42257025837898254, 0.2688935697078705, 1.0018823146820068, -0.1148901954293251, 0.9672680497169495, -0.4938107430934906, 0.1625155359506607, 1.24812912940979, -0.19683828949928284, 1.1055479049682617, 0.5747959613800049, -0.08115261793136597, 0.3445488512516022, 0.5118454694747925, 0.21080946922302246, 0.6878289580345154, -0.000653151364531368, -0.6308446526527405, -0.018972227349877357, -0.32834044098854065, -0.3981715738773346, 0.6511209011077881, 0.34310638904571533, -0.20072564482688904, 0.19048622250556946, 0.3141394257545471, -0.06336724758148193, 0.5740359425544739, -0.22142434120178223, 0.6426973342895508, 0.19656188786029816, -0.18338464200496674, 0.3926476836204529, -0.19234460592269897, 1.0623996257781982, -0.23869207501411438, -0.25597554445266724, -0.30620595812797546, -0.06409140676259995, -0.1766497641801834, -0.6677521467208862, 0.41427916288375854, 0.08787603676319122, -0.2380540519952774, -0.22921237349510193, 0.5830007791519165, -0.9023463129997253, -0.2326010763645172, 0.7774718999862671, 0.5450770258903503, 0.4499856233596802, -0.10127295553684235, -0.4880602955818176, 0.22688299417495728, -0.04555480182170868, 0.18007628619670868, 0.13869719207286835, 0.432930588722229, 0.08048207312822342, 0.27544480562210083, 0.40305477380752563, 0.14387883245944977, 0.07747150957584381, 0.6512745022773743, 0.5582137107849121, -0.3615206778049469, -0.6045269966125488, -0.8309323787689209, 0.5362792611122131, -0.1500011384487152, 0.25294095277786255, 0.7057636976242065, 1.0917754173278809, 1.070499062538147, -0.05939529836177826, 0.9912779927253723, 0.07092992216348648, 0.6625030636787415, -0.6079069375991821, 0.8288045525550842, -0.6761470437049866, 0.8180406093597412, -0.3887786269187927, -1.1617951393127441, -0.2426251471042633, 0.6159488558769226, 0.2972983419895172, -0.11269277334213257, 0.5442537069320679, 0.8932868242263794, -0.1349949687719345, -0.05813572183251381, 0.3872728645801544, 0.12643559277057648, 0.141209676861763, 0.32508569955825806, 0.8966421484947205, -0.6691126823425293, 0.763726532459259, 0.021428672596812248, -0.18510548770427704, 0.07732902467250824, -0.5804840922355652, -0.48654428124427795, -0.7357544302940369, -0.3631742298603058, -0.10610654950141907, 0.3489401042461395, 0.7906677722930908, 0.6104753017425537, -0.7121421694755554, -0.3441442847251892, 0.18939252197742462, 0.05048854276537895, -0.22598037123680115, -0.25311344861984253, 0.24922287464141846, -0.3991950452327728, -1.1972116231918335, 1.0455522537231445, 0.43076106905937195, -0.0200596172362566, 0.03672241419553757, -0.44493424892425537, -0.132229745388031, 0.10035721957683563, 0.5734682083129883, 0.25623688101768494, -0.31256699562072754, -0.12541791796684265, 0.06100688502192497, -0.012214401736855507, 0.10931801050901413, 0.6347836256027222, -0.7233197093009949, 0.49777719378471375, 0.3956068456172943, 0.7845958471298218, 0.680598795413971, -0.40550774335861206, 0.6919288635253906, -1.3197606801986694, 0.38126492500305176, 0.3396006226539612, 0.4617891013622284, 0.539697527885437, -0.29358339309692383, 0.6670437455177307, 0.000946897896938026, -0.39420169591903687, -0.8371082544326782, -0.02124328911304474, -0.7482821941375732, -0.3285602927207947, 1.0012739896774292, -0.06880118697881699, 0.18414445221424103, -0.38216298818588257, -0.428297758102417, 0.20825712382793427, -0.5739326477050781, 0.7451241612434387, 0.5058867931365967, 0.24062928557395935, -0.4636439383029938, -0.7086699604988098, 0.4676937758922577, 0.5284702181816101, -0.3300851583480835, -0.14324219524860382, 0.47996219992637634, -0.15440163016319275, 0.171611949801445, 0.770910382270813, -0.3787461221218109, 0.2780817449092865, -0.051273148506879807, 0.16328886151313782, 0.15431781113147736, -0.39820972084999084, -0.4894092082977295, 0.009584142826497555, 0.029656607657670975, -0.3228473663330078 ]
http://arxiv.org/abs/2406.07007v1
http://arxiv.org/pdf/2406.07007v1
Crayon: Customized On-Device LLM via Instant Adapter Blending and Edge-Server Hybrid Inference
2024-06-11T07:00:08
2024-06-11T07:00:08
Jihwan Bang, Juntae Lee, Kyuhong Shim, Seunghan Yang, Simyung Chang
cs.CL
cs.CL
The customization of large language models (LLMs) for user-specified tasks gets important. However, maintaining all the customized LLMs on cloud servers incurs substantial memory and computational overheads, and uploading user data can also lead to privacy concerns. On-device LLMs can offer a promising solution by mitigating these issues. Yet, the performance of on-device LLMs is inherently constrained by the limitations of small-scaled models. To overcome these restrictions, we first propose Crayon, a novel approach for on-device LLM customization. Crayon begins by constructing a pool of diverse base adapters, and then we instantly blend them into a customized adapter without extra training. In addition, we develop a device-server hybrid inference strategy, which deftly allocates more demanding queries or non-customized tasks to a larger, more capable LLM on a server. This ensures optimal performance without sacrificing the benefits of on-device customization. We carefully craft a novel benchmark from multiple question-answer datasets, and show the efficacy of our method in the LLM customization.
[ -0.4658748507499695, -0.9515188932418823, 0.4957841634750366, 0.05802091956138611, -0.17742928862571716, 0.41674479842185974, -0.4299744665622711, -0.45363685488700867, 0.3999148905277252, 0.6540486812591553, -0.6128162741661072, -0.40981656312942505, -0.3287179172039032, -0.21777379512786865, -0.23539908230304718, 0.6364657282829285, 0.22402292490005493, -0.2988028824329376, -0.2617207467556, -0.14685282111167908, -0.22665375471115112, -0.1003563404083252, -0.46553024649620056, -0.19825968146324158, 0.3646116256713867, 0.8082393407821655, 0.7905243635177612, 1.1051322221755981, 0.2570081353187561, 0.33864206075668335, 0.045886095613241196, 0.3685561716556549, -0.5232275128364563, 0.21356122195720673, -0.0005881590186618268, -0.6172140836715698, -0.4359198212623596, -0.20639418065547943, 0.1759219914674759, 0.6293960809707642, -0.2322644740343094, 0.1342698484659195, 0.026863807812333107, 0.4312647879123688, -0.6917626857757568, -0.23534147441387177, -1.0908397436141968, 0.23423153162002563, -0.17495223879814148, -0.03332944214344025, -0.3266203999519348, -0.3888111412525177, 0.1346500962972641, -0.775539755821228, 0.6777055263519287, -0.01816100999712944, 0.5670714974403381, 0.14417338371276855, -0.43102025985717773, 0.03588973730802536, -0.9013624787330627, 0.8399782776832581, -0.6970047354698181, 0.5337145328521729, 0.24342463910579681, 0.4625737965106964, -0.09134304523468018, -1.1048892736434937, -0.7238423228263855, 0.029066747054457664, 0.19013658165931702, 0.07631800323724747, 0.24402959644794464, 0.09231814742088318, -0.021295076236128807, 0.34386715292930603, -0.41347798705101013, 0.216501384973526, 0.0907660499215126, -0.2681352198123932, 0.4955749213695526, 0.2709122896194458, 0.5387279987335205, 0.3216295838356018, -0.2102753072977066, 0.27935826778411865, -0.9050390720367432, -0.0017829586286097765, 0.23037220537662506, 0.2117343693971634, -0.001496636657975614, 0.5345520377159119, -0.31218597292900085, 0.766464352607727, 0.3299754858016968, -0.24632468819618225, -0.055458858609199524, -0.33914321660995483, -0.12246100604534149, 0.26890403032302856, 0.7400557398796082, 0.5190480351448059, 0.005915451794862747, -0.35239338874816895, -0.0603543184697628, -0.1981155276298523, 0.07258597016334534, -1.035689353942871, -0.5600934624671936, 0.29914745688438416, -0.28021910786628723, -0.07900140434503555, -0.36536508798599243, -1.1990994215011597, -0.8395810127258301, -0.10429508984088898, -0.045086514204740524, -0.1422256976366043, 0.034300703555345535, -0.07335655391216278, 0.2153739333152771, 0.1246187686920166, 0.3447037935256958, -1.2809284925460815, 0.4986811578273773, 0.6097228527069092, 1.0058950185775757, -0.5056569576263428, -0.10068411380052567, -0.3203974664211273, 0.2667953073978424, -0.1476198136806488, 0.8407958745956421, -0.6126667261123657, -0.5444878339767456, 0.007977710105478764, -0.1034427285194397, -0.33484330773353577, -0.7504664659500122, 0.1903623789548874, -0.6629601120948792, 0.1184338703751564, -0.09612520784139633, -0.6002039313316345, 0.1189604327082634, 0.03186958283185959, -0.5253943204879761, 0.8470184803009033, 0.0893380418419838, -0.45359450578689575, 0.25353163480758667, -0.3801965117454529, -0.667782723903656, 0.29729998111724854, -0.30071476101875305, -0.48016342520713806, -0.012408273294568062, 0.2921251952648163, 0.19962045550346375, -0.4953077435493469, -0.11746916174888611, -0.6056203842163086, -0.2846742868423462, 0.24705171585083008, -0.004742769990116358, 0.8400817513465881, 0.26842567324638367, -0.4051397442817688, 0.0688050240278244, -0.6913918852806091, 0.4105609953403473, 0.035902220755815506, -0.47848498821258545, 0.048255402594804764, 0.016312558203935623, 0.09412439167499542, -0.07763713598251343, 0.5914795398712158, -0.8352600336074829, -0.02273174375295639, -0.06022155284881592, 0.8950484991073608, 0.6665167212486267, -0.24348238110542297, 0.7282987833023071, -0.33904415369033813, 0.6186349987983704, -0.34965288639068604, 0.21513178944587708, -0.24801698327064514, -0.6354299187660217, -0.9563730359077454, -0.5497812032699585, 0.26369673013687134, 0.7840358018875122, -0.5472978949546814, 0.36539381742477417, -0.341179221868515, -0.4975062310695648, -0.5401426553726196, 0.4843255281448364, 0.12201470881700516, 0.7577487826347351, 0.21735882759094238, -0.29445645213127136, -0.505830705165863, -0.8489097356796265, -0.46591421961784363, 0.0847267359495163, -0.1960732340812683, 0.7724972367286682, -0.10866061598062515, -0.29295533895492554, 1.2115775346755981, -0.493225634098053, -0.3922056257724762, -0.4651711583137512, -0.318559467792511, 0.02695060521364212, 0.32647567987442017, 0.33937373757362366, -0.7643240094184875, -0.7581171989440918, 0.2780487835407257, -0.37237104773521423, -0.4537188410758972, -0.20476089417934418, 0.08952226489782333, -0.013805530965328217, 0.44073665142059326, -0.5498409271240234, 0.1521952748298645, 0.6023828983306885, -0.16175208985805511, 0.4300277829170227, -0.5097827315330505, 0.156219020485878, -0.7987064123153687, -0.46050411462783813, 0.05822599679231644, -0.2989948093891144, -0.6968296766281128, -0.04999357461929321, 0.3010793924331665, -0.15952575206756592, -0.621604323387146, 0.6543602347373962, -0.42060983180999756, 0.026115035638213158, -0.2554135322570801, 0.27106282114982605, 0.15284094214439392, 0.3225628137588501, -0.16714440286159515, 0.8888115286827087, 0.4190332293510437, -0.5909181833267212, 0.3827997148036957, 0.00789837446063757, -0.19441387057304382, 0.5117002129554749, -0.6722390055656433, 0.28068092465400696, 0.1332719326019287, 0.11764755100011826, -1.1182563304901123, -0.17491403222084045, -0.053586386144161224, 0.006423255428671837, -0.14754916727542877, -0.24420224130153656, -0.5537648797035217, -0.08776339143514633, -0.38708359003067017, 0.4233240485191345, 0.8818327188491821, -0.8872116208076477, 1.2094082832336426, 0.5484850406646729, -0.18760377168655396, 0.022393522784113884, -0.9869211912155151, 0.20140579342842102, -0.4223070442676544, -0.8198646306991577, 0.8568647503852844, -0.4119226634502411, 0.040382057428359985, -0.132208913564682, -0.020833062008023262, -0.4244483411312103, 0.03472427651286125, 0.3324177861213684, 0.19831092655658722, -0.554209291934967, -0.3374616503715515, 0.1602286547422409, 0.16023239493370056, -0.29640716314315796, -0.06755023449659348, 0.5174635052680969, 0.039710432291030884, -0.4733172357082367, -0.524151623249054, 0.06785494834184647, 0.434690922498703, -0.21819770336151123, 0.43344417214393616, 0.42862406373023987, -0.2654772102832794, -0.6835278868675232, -0.6620896458625793, -0.25092989206314087, -0.6466874480247498, 0.38337939977645874, -0.3225768208503723, -0.892950713634491, 0.703010618686676, -0.2744186818599701, 0.00849702674895525, -0.2160615622997284, 0.5882190465927124, -0.133535698056221, 1.022847056388855, 0.4896700978279114, 0.03775961324572563, 0.9055794477462769, -0.11327702552080154, 0.3538907766342163, -0.8499301075935364, -0.2805030643939972, -0.23599129915237427, -0.4906381666660309, -0.5481466054916382, -0.39824178814888, 0.20735260844230652, -0.002385791391134262, -0.3008820414543152, 0.25801995396614075, -0.4297647476196289, 0.832440197467804, 0.5157386064529419, 0.5008114576339722, 0.44591307640075684, 0.19376088678836823, -0.12480609118938446, -0.28960779309272766, -0.8075954914093018, -0.37124598026275635, 1.0517748594284058, 0.11074035614728928, 0.7751995921134949, 0.13533319532871246, 0.5345121622085571, 0.29704201221466064, 0.30326536297798157, -0.6151026487350464, 0.9221748113632202, -0.3500458896160126, -0.38877296447753906, -0.006711791735142469, -0.29666388034820557, -0.9403955340385437, 0.594489336013794, -0.10488323122262955, -0.9401022791862488, 0.1709413379430771, 0.4207291901111603, -0.3428523540496826, 0.49145910143852234, -0.8843654990196228, 0.7747030854225159, -0.4711463749408722, -0.47125503420829773, -0.15913860499858856, -0.16804474592208862, 0.34313079714775085, -0.025624211877584457, 0.13620586693286896, -0.12681004405021667, -0.5887515544891357, 0.513862133026123, -0.6100208163261414, 1.0140832662582397, -0.03205304592847824, 0.34663552045822144, 0.4755796492099762, 0.41525399684906006, 0.47279754281044006, -0.03186483681201935, -0.16720661520957947, -0.024671202525496483, -0.3199661374092102, -0.43732982873916626, -0.6654321551322937, 1.1168798208236694, -0.6471387147903442, -0.6585416197776794, -0.050858091562986374, -0.7950952649116516, -0.39797553420066833, 0.48761484026908875, 0.20102284848690033, 0.2774266302585602, -0.10465355962514877, 0.13593630492687225, 0.8268218040466309, -0.3017656207084656, 0.5139215588569641, 0.5947723388671875, -0.24128687381744385, -0.6057732105255127, 1.0908927917480469, 0.07013188302516937, 0.39077720046043396, 0.06752806901931763, 0.4092252552509308, -0.26742565631866455, -0.6789408922195435, -0.9761238694190979, 0.20236489176750183, -0.6930556297302246, 0.22916045784950256, -0.7157851457595825, 0.05418940633535385, -0.1879730224609375, -0.41477838158607483, -0.4610181152820587, -0.4410226345062256, -0.4810943603515625, 0.12478000670671463, 0.4247400760650635, 0.3702206611633301, 0.34577852487564087, 0.8503229022026062, -0.525507926940918, 0.3964376747608185, 0.35621267557144165, 0.4265666902065277, 0.05768303573131561, -0.711618959903717, -0.09338449686765671, 0.13625741004943848, -0.44178149104118347, -0.5856975317001343, 0.12189719080924988, 0.645154595375061, 0.5592970252037048, 0.5055249929428101, 0.02045956626534462, 0.7824723124504089, -0.5914291143417358, 0.7507563829421997, 0.1271853893995285, -0.7468054294586182, 0.25892266631126404, -0.23814506828784943, 0.1802651435136795, 0.49182361364364624, 0.08456261456012726, -0.45230481028556824, -0.25180724263191223, -0.4477453827857971, -0.9953226447105408, 0.49046289920806885, -0.21291467547416687, 0.3208754062652588, 0.28023144602775574, 0.36385881900787354, -0.023762911558151245, 0.17460288107395172, -0.4758076071739197, -0.35940611362457275, -0.07451029121875763, -0.42464563250541687, 0.06925533711910248, 0.026275647804141045, -0.10071705281734467, -0.2437213957309723, 0.2799730896949768, -0.08525218814611435, 0.08790445327758789, -0.11617711931467056, -0.39882683753967285, -0.009856685064733028, -0.15769878029823303, 0.37665432691574097, 0.5628921389579773, 0.08371052891016006, 0.2586125135421753, 0.40328142046928406, -0.514299213886261, 0.033331431448459625, 0.06507482379674911, -0.5161500573158264, -0.182998389005661, 0.20357641577720642, 0.5301093459129333, 0.043537687510252, -0.8162890076637268, 0.28825893998146057, -0.133597731590271, 0.2564196288585663, -0.12233931571245193, 0.5027258992195129, 0.3759137690067291, 0.1387549191713333, 0.1739536076784134, -0.054336901754140854, -0.0156065933406353, -0.34593403339385986, 0.11131106317043304, 0.44368624687194824, -0.36021196842193604, -0.30206364393234253, 0.8269181847572327, 0.1719478964805603, -0.6828200221061707, 0.39906859397888184, 0.021382901817560196, -0.5066022276878357, 0.8920473456382751, 0.8347504734992981, 0.8315104842185974, -0.32654035091400146, 0.2703962028026581, -0.09885391592979431, 0.2394244223833084, 0.08482874184846878, 0.1791936457157135, -0.06323204189538956, -0.8240711092948914, 0.03010396845638752, -0.1794593185186386, -0.5933047533035278, 0.092259980738163, -0.081917904317379, 0.19371524453163147, -0.8922570943832397, -0.13282938301563263, -0.2207985371351242, -0.29556360840797424, -0.6924208402633667, 0.1897052675485611, -0.005569320172071457, 0.7049367427825928, -0.5901948809623718, 0.7821623682975769, 0.5560863614082336, -0.028539296239614487, -0.3595737814903259, -0.19891615211963654, -0.0009735060739330947, -0.8850878477096558, 0.19193197786808014, 0.023827338591217995, -0.1330331265926361, 0.06211119517683983, -0.046143967658281326, -0.6583718061447144, 1.1665397882461548, 0.5187267661094666, -0.5193836688995361, 0.2888334393501282, 0.7807297110557556, 0.4629990756511688, -0.6183006763458252, 0.4911963939666748, 0.5964869856834412, 0.27453604340553284, -0.17381086945533752, -0.6857607960700989, 0.13158312439918518, -0.057617902755737305, 0.24848990142345428, -0.04644618555903435, -0.6226191520690918, 0.9217493534088135, -0.44340935349464417, -0.1828676164150238, -0.05392942950129509, 0.5771569609642029, 0.3338111937046051, 0.35311225056648254, 0.5808103680610657, 0.3937549293041229, 0.8176677823066711, 0.0839940682053566, 1.002666711807251, -0.629281759262085, 0.0922853946685791, 1.1783181428909302, -0.47496095299720764, 0.6282358765602112, 0.3925993740558624, -0.18007294833660126, 0.2739301919937134, 0.9018383026123047, 0.14991648495197296, 0.6360868215560913, 0.2698359489440918, -0.7130064368247986, -0.3168903589248657, -0.27870166301727295, -0.05548069626092911, -0.18101438879966736, 0.3249952495098114, -0.2624252140522003, -0.17130166292190552, -0.05079853534698486, -0.13999050855636597, 0.2341705858707428, -0.19763566553592682, 0.6367156505584717, 0.11419989168643951, -0.407514750957489, 0.440182626247406, 0.14258208870887756, 0.8665183782577515, -0.3128768503665924, 0.15072347223758698, -0.43756720423698425, 0.39848634600639343, -0.4627934992313385, -0.538321316242218, -0.12104560434818268, -0.18976937234401703, -0.05526214465498924, -0.18179123103618622, 0.7969467639923096, -0.5276999473571777, -0.519198477268219, 0.28284773230552673, 0.44353801012039185, -0.15837344527244568, 0.19007325172424316, -0.7216482162475586, 0.17278027534484863, 0.0899011567234993, -0.3803686499595642, 0.5544379353523254, 0.5318419933319092, 0.06205553561449051, 1.0990698337554932, 0.7898165583610535, 0.3252709209918976, 0.6545855402946472, -0.06969711929559708, 0.8411710262298584, -0.3551274538040161, -0.6220008134841919, -0.8730522394180298, 0.3063865303993225, -0.023759527131915092, -0.28897908329963684, 0.7160546183586121, 0.8798106908798218, 0.74358731508255, -0.1014205813407898, 1.020400047302246, -0.0765785500407219, 0.23779946565628052, -0.2109202742576599, 0.7123005390167236, -0.47827449440956116, 0.48789846897125244, 0.20015458762645721, -0.9500796794891357, -0.2711515724658966, 0.45248836278915405, -0.3430822789669037, 0.1850200742483139, 0.43092384934425354, 1.1695855855941772, -0.7277619242668152, 0.17544183135032654, 0.22567735612392426, -0.12078863382339478, 0.4858049154281616, 0.3505476713180542, 0.5054454207420349, -0.23490025103092194, 0.6838440299034119, -0.6876357197761536, -0.2690679430961609, -0.3890360891819, -1.0470519065856934, -0.8638814687728882, -0.275417685508728, -0.49048203229904175, -0.3519386649131775, -0.04953278973698616, 0.7701096534729004, 0.8465861082077026, -0.8545849323272705, -0.5718573331832886, -0.12939943373203278, 0.2611989974975586, -0.011791342869400978, -0.1817149966955185, 0.3418053388595581, 0.029346391558647156, -0.7212269306182861, 0.4493137001991272, -0.007761996239423752, -0.005932333879172802, -0.01301833800971508, -0.11975623667240143, 0.2780694365501404, 0.18600496649742126, 0.47010645270347595, 0.44790685176849365, -0.6444407105445862, -0.08643699437379837, 0.0629628598690033, -0.21595264971256256, 0.35314005613327026, 1.0585129261016846, -0.7119432091712952, 0.5454106330871582, 0.43977469205856323, 1.1873774528503418, 0.6441130638122559, -0.07098526507616043, 0.28510263562202454, -0.37238773703575134, 0.06092594191431999, 0.19286894798278809, 0.478989839553833, 0.39180511236190796, -0.33375266194343567, 0.04263465479016304, 0.16246317327022552, -0.5472301840782166, -0.8231915235519409, 0.5226631164550781, -0.9048712253570557, -0.06899780035018921, 1.0274543762207031, -0.17997421324253082, -0.4577994644641876, -0.23209308087825775, -0.047878995537757874, 0.0009109628153964877, -0.40052133798599243, 0.834193766117096, 0.2317444384098053, -0.43316739797592163, -0.44881942868232727, -0.48860466480255127, 0.2337212860584259, 0.49493029713630676, -0.8449501991271973, 0.012411216273903847, 0.23565196990966797, 0.7157213091850281, -0.20259211957454681, 0.6272379159927368, 0.19773463904857635, 0.13882392644882202, -0.1739199012517929, 0.16746537387371063, -0.21910148859024048, -0.0908730998635292, -0.006029187701642513, 0.1306459605693817, 0.09952295571565628, -0.3180740773677826 ]
http://arxiv.org/abs/2406.07001v1
http://arxiv.org/pdf/2406.07001v1
Mitigating Boundary Ambiguity and Inherent Bias for Text Classification in the Era of Large Language Models
2024-06-11T06:53:19
2024-06-11T06:53:19
Zhenyi Lu, Jie Tian, Wei Wei, Xiaoye Qu, Yu Cheng, Wenfeng xie, Dangyang Chen
cs.CL
cs.CL, cs.AI
Text classification is a crucial task encountered frequently in practical scenarios, yet it is still under-explored in the era of large language models (LLMs). This study shows that LLMs are vulnerable to changes in the number and arrangement of options in text classification. Our extensive empirical analyses reveal that the key bottleneck arises from ambiguous decision boundaries and inherent biases towards specific tokens and positions. To mitigate these issues, we make the first attempt and propose a novel two-stage classification framework for LLMs. Our approach is grounded in the empirical observation that pairwise comparisons can effectively alleviate boundary ambiguity and inherent bias. Specifically, we begin with a self-reduction technique to efficiently narrow down numerous options, which contributes to reduced decision space and a faster comparison process. Subsequently, pairwise contrastive comparisons are employed in a chain-of-thought manner to draw out nuances and distinguish confusable options, thus refining the ambiguous decision boundary. Extensive experiments on four datasets (Banking77, HWU64, LIU54, and Clinic150) verify the effectiveness of our framework. Furthermore, benefitting from our framework, various LLMs can achieve consistent improvements. Our code and data are available in \url{https://github.com/Chuge0335/PC-CoT}.
[ -0.29003289341926575, -0.7153986096382141, 0.5912867188453674, 0.37378937005996704, -0.24379873275756836, 0.26710250973701477, -0.33976995944976807, -0.6883607506752014, -0.38072341680526733, 0.7864024043083191, -0.25762075185775757, -0.45334741473197937, -0.651907205581665, 0.07225670665502548, -0.2201666235923767, 0.9730133414268494, -0.18577691912651062, -0.004783620126545429, -0.2770128548145294, -0.19157972931861877, -0.5580299496650696, -0.6585184931755066, -0.7940992712974548, -0.5679410099983215, 0.3548676073551178, 0.2865763306617737, 0.3916046917438507, 0.5162243247032166, 0.5910505652427673, 0.31001991033554077, -0.2746124565601349, 0.38476821780204773, -0.22056452929973602, 0.3251420557498932, -0.09585803002119064, -0.4731682538986206, -0.2821482717990875, -0.09645666927099228, 0.6741499900817871, 0.6305199265480042, 0.08509810268878937, 0.06806009262800217, 0.2965027093887329, 0.6647415161132812, -0.6399996280670166, -0.09556660056114197, -0.653404951095581, 0.14862683415412903, -0.5040695071220398, -0.19141077995300293, -0.799968957901001, 0.1439364105463028, 0.12704278528690338, -0.13092690706253052, 0.23691850900650024, 0.044303130358457565, 0.45981815457344055, 0.32374680042266846, -0.6671192646026611, -0.11599210649728775, -0.5962198376655579, 0.8069671988487244, -0.503037691116333, 0.5785503387451172, 0.2454693615436554, 0.15810231864452362, -0.17737841606140137, -0.6168084144592285, -0.32379046082496643, 0.14874157309532166, 0.01738814264535904, -0.08520984649658203, -0.15697520971298218, 0.23640578985214233, 0.13912273943424225, 0.16089266538619995, -0.5523597598075867, 0.6955671310424805, -0.3011011481285095, -0.4169977903366089, 0.5612986087799072, -0.052971988916397095, 0.11553168296813965, -0.15072515606880188, -0.6859245896339417, 0.02854543924331665, -0.6558822393417358, -0.009150531142950058, 0.2791944742202759, 0.3313039541244507, -0.0692373588681221, 0.33973443508148193, -0.015296578407287598, 0.6210887432098389, 0.17999546229839325, -0.0792977511882782, 0.3253716826438904, 0.009121368639171124, -0.28563857078552246, 0.22993206977844238, 0.7766562700271606, 0.43912485241889954, -0.1823078840970993, -0.07357358932495117, -0.21200504899024963, 0.11509140580892563, 0.17580196261405945, -0.6505939960479736, 0.04736438766121864, 0.4187878966331482, -0.520704984664917, -0.35558000206947327, 0.052293069660663605, -0.9265396595001221, -0.6752634048461914, -0.21377593278884888, 0.011739705689251423, 0.00395422987639904, -0.11391811817884445, 0.08054593205451965, 0.051448021084070206, 0.3388344943523407, 0.40714141726493835, -0.735634982585907, 0.49526649713516235, 0.8908103108406067, 0.8948578238487244, -0.4828357696533203, -0.08036395907402039, -0.46338093280792236, 0.15556693077087402, -0.22116081416606903, 0.7891588807106018, -0.5919164419174194, -0.3771628141403198, -0.06032557785511017, -0.3298393487930298, 0.09905974566936493, -0.6214544773101807, 0.762397050857544, -0.4884546101093292, 0.36167168617248535, -0.14615803956985474, -0.5269306898117065, 0.10573865473270416, 0.21913892030715942, -0.5596270561218262, 1.1595302820205688, -0.19075600802898407, -1.027113437652588, 0.2580990791320801, -0.3771730065345764, -0.4319700002670288, 0.017620474100112915, -0.3050537109375, -0.7027291059494019, -0.0021132496185600758, 0.04383783042430878, 0.43337783217430115, -0.36303454637527466, 0.3718006908893585, -0.35578811168670654, -0.29606398940086365, 0.36218416690826416, -0.6260730028152466, 0.8305233716964722, 0.35035133361816406, -0.46339452266693115, 0.06260044872760773, -0.5875051021575928, -0.061224281787872314, -0.178554967045784, -0.19945724308490753, -0.5401623249053955, -0.04113711416721344, 0.18818563222885132, 0.3566300570964813, 0.3541527986526489, -0.3532453775405884, 0.26041942834854126, -0.3663395643234253, 0.4575657248497009, 0.8834589719772339, -0.21349535882472992, 0.6903455853462219, -0.16325582563877106, 0.4134907126426697, 0.004271676763892174, 0.15811355412006378, 0.19734178483486176, -0.4784325361251831, -0.7393989562988281, -0.19061750173568726, 0.4926854372024536, 0.5952718257904053, -0.49890661239624023, 0.6894667148590088, 0.05598746985197067, -0.23845942318439484, -0.27522730827331543, 0.10261967778205872, 0.5026957392692566, 0.2690315246582031, 0.3865286409854889, -0.23478733003139496, -0.6031168699264526, -0.863089382648468, -0.2004350870847702, -0.22746627032756805, 0.12837177515029907, 0.08925395458936691, 0.18167226016521454, -0.4014030992984772, 0.8857020735740662, -0.5334935188293457, -0.19245101511478424, -0.1658615618944168, 0.1396058350801468, 0.006506612058728933, 0.500018835067749, 0.4466065764427185, -1.0306572914123535, -0.21941104531288147, 0.10367696732282639, -0.4462432861328125, -0.41625237464904785, -0.35493004322052, -0.24855545163154602, 0.3769257366657257, 0.7164960503578186, -0.4743386507034302, 0.5811008810997009, 0.4231360852718353, -0.27717527747154236, 0.31220918893814087, -0.24528606235980988, -0.2038886696100235, -0.8266298770904541, -0.13675808906555176, 0.06510020792484283, -0.3134097456932068, -0.723023533821106, -0.08135957270860672, 0.22717714309692383, 0.3431340456008911, -0.024621102958917618, 0.7916498184204102, -0.3638033866882324, -0.018766624853014946, -0.5080817937850952, 0.07612383365631104, -0.03148341923952103, 0.2872893512248993, 0.011667471379041672, 0.5202216506004333, 0.38305023312568665, -0.6621573567390442, -0.12870603799819946, 0.19597478210926056, -0.09608975052833557, 0.42126429080963135, -0.24823349714279175, 0.21460595726966858, -0.14526796340942383, 0.5584805607795715, -0.9346997141838074, 0.17581012845039368, 0.554504930973053, -0.2520532011985779, 0.4554382860660553, 0.11496024578809738, -0.2971102297306061, -0.3939812481403351, -0.3868778645992279, 0.6700201630592346, 0.2861620783805847, -0.6179450750350952, 0.45592695474624634, 0.377654105424881, -0.25721344351768494, -0.7959846258163452, -0.717168390750885, 0.13514167070388794, -0.38497626781463623, -0.10019621253013611, 0.6126988530158997, -0.21277301013469696, -0.34128549695014954, -0.3095461130142212, -0.43847501277923584, -0.182760551571846, 0.11032320559024811, 0.1839756965637207, 0.31654947996139526, 0.35880836844444275, 0.44909560680389404, 0.3633687198162079, -0.1774551272392273, 0.01670621521770954, -0.511989176273346, 0.5037527084350586, -0.06751469522714615, -0.1282704472541809, -0.08581426739692688, 0.3194788992404938, 0.47590816020965576, -0.3490142524242401, 0.46805539727211, 0.5684551000595093, -0.39344796538352966, -0.4567996561527252, -0.8067024946212769, 0.12227220088243484, -0.4853050410747528, 0.28397631645202637, -0.4152277708053589, -1.1056677103042603, 0.5366175174713135, -0.052535366266965866, 0.05565766990184784, 0.5356563329696655, 0.5578442811965942, 0.18429893255233765, 0.7197291254997253, 0.5963313579559326, -0.016250766813755035, 0.5055358409881592, -0.014979807659983635, 0.34862151741981506, -0.9011919498443604, -0.23742039501667023, -0.6434149742126465, -0.10311847180128098, -0.9469547271728516, -0.4917190372943878, 0.27180519700050354, -0.07198108732700348, -0.07545844465494156, 0.023225605487823486, -0.4253304600715637, 0.5568398237228394, 0.21711274981498718, 0.33412933349609375, 0.2245025932788849, -0.10105511546134949, -0.22818292677402496, 0.042954105883836746, -0.6682301163673401, -0.582324743270874, 1.1001805067062378, 0.5858628749847412, 0.46098455786705017, 0.08717027306556702, 0.8381083607673645, 0.38748905062675476, 0.33355286717414856, -0.5784735083580017, 0.49664151668548584, -0.33586937189102173, -0.5309351086616516, -0.2222331315279007, -0.7013225555419922, -0.885352611541748, 0.49526792764663696, -0.320675253868103, -0.784034788608551, 0.32746145129203796, 0.08939220011234283, -0.2999119162559509, 0.38750165700912476, -0.5613930225372314, 0.7436444759368896, -0.48044463992118835, -0.7225209474563599, -0.10608014464378357, -0.7948291301727295, 0.31506624817848206, -0.45588621497154236, 0.41493839025497437, 0.013630661182105541, -0.15602657198905945, 0.6663150787353516, -0.38546091318130493, 0.9122915267944336, -0.04076705500483513, -0.4162921905517578, 0.2722063958644867, -0.034548308700323105, 0.38596510887145996, -0.06285204738378525, -0.20824763178825378, 0.2782548666000366, -0.08390968292951584, -0.45840179920196533, -0.4963613748550415, 0.6200032830238342, -0.6630224585533142, -0.4500299096107483, -0.5536465644836426, -0.3128732442855835, -0.31385791301727295, 0.35782507061958313, 0.3500401973724365, 0.43938833475112915, -0.13893848657608032, -0.02882734313607216, 0.6628400683403015, -0.22988754510879517, 0.4738093614578247, 0.17438727617263794, -0.24395950138568878, -0.31264543533325195, 0.4962129592895508, 0.10261067003011703, 0.19005483388900757, 0.5687541961669922, 0.22774873673915863, -0.5857906341552734, -0.8891236186027527, -0.1577221155166626, 0.14495979249477386, -0.6881387233734131, -0.32449281215667725, -0.5761922001838684, -0.1678197681903839, -0.5198813676834106, -0.15146774053573608, -0.1348617821931839, -0.23419708013534546, -0.3330172896385193, -0.1532280445098877, 0.06893637776374817, 0.8247687816619873, -0.028034739196300507, 0.4750908613204956, -0.5729480385780334, 0.09112969785928726, 0.17447619140148163, 0.6449359655380249, 0.02137777954339981, -0.5611679553985596, -0.11045832186937332, -0.30561259388923645, -0.3425542116165161, -0.8628574013710022, 0.22031328082084656, -0.0338306687772274, 0.6700364351272583, 0.4669059216976166, 0.27665042877197266, 0.47251230478286743, -0.5181766748428345, 0.3472835123538971, 0.3240842819213867, -1.1108477115631104, 0.2502669394016266, -0.20484422147274017, 0.20854373276233673, 0.688506007194519, 0.10096602886915207, -0.6179326772689819, -0.24656574428081512, -0.5788428783416748, -1.0006282329559326, 0.5451942086219788, 0.22371967136859894, -0.17807215452194214, 0.1877104938030243, 0.5378435254096985, 0.37950974702835083, 0.2535291910171509, -0.8982083797454834, -0.22651784121990204, 0.22333107888698578, -0.2767898738384247, 0.025444308295845985, -0.40754494071006775, 0.1864994764328003, -0.2544099986553192, 0.5713374018669128, -0.06820640712976456, 0.08073707669973373, 0.26116976141929626, -0.17541173100471497, 0.00569094717502594, 0.44388139247894287, 0.504953145980835, 0.6465294361114502, -0.1486411839723587, 0.4557441473007202, 0.48482832312583923, -0.3554500341415405, 0.15537887811660767, 0.13727505505084991, -0.10295136272907257, -0.12527912855148315, 0.38655608892440796, 0.6318531036376953, 0.18234437704086304, -0.4945009648799896, 0.44775649905204773, -0.10216597467660904, -0.08948475867509842, -0.1395271122455597, -0.196542888879776, -0.3525891900062561, 0.2815376818180084, 0.3158879578113556, 0.21454866230487823, 0.40356913208961487, -0.2632544934749603, 0.236528217792511, 0.40705791115760803, -0.2306419014930725, 0.11729124933481216, 0.30270668864250183, 0.4925280213356018, -0.2034977674484253, 0.31062278151512146, -0.4162529408931732, -0.7761542797088623, 0.5311375856399536, 0.5652751326560974, 0.9921551942825317, -0.3191109001636505, 0.24991223216056824, -0.02980779856443405, 0.3066430687904358, -0.18433867394924164, -0.1289311945438385, -0.18943767249584198, -0.7818388938903809, -0.3913542330265045, -0.5280810594558716, -0.5294158458709717, 0.08711867779493332, -0.6195042133331299, 0.31951355934143066, -0.7062544226646423, -0.2608743906021118, -0.009302239865064621, 0.09659656882286072, -0.4959104359149933, 0.009991521947085857, 0.5195014476776123, 0.7927157878875732, -0.8559679388999939, 0.630577802658081, 0.6687839031219482, 0.18419981002807617, -0.21327589452266693, 0.16747546195983887, -0.009146667085587978, -0.5371571183204651, 0.37026017904281616, 0.586015522480011, -0.30282601714134216, -0.2932869493961334, -0.45724132657051086, -0.46027645468711853, 0.7171646356582642, 0.037493746727705, -0.9815555214881897, 0.09168195724487305, 0.08189378678798676, 0.5512784123420715, -0.3129171133041382, 0.22574472427368164, 0.5942211151123047, 0.5078932046890259, 0.020190460607409477, -1.0751982927322388, 0.048144444823265076, -0.1361469328403473, 0.11255104094743729, 0.5327824950218201, -0.7750279903411865, 0.6977247595787048, -0.10095910727977753, -0.1647036373615265, 0.004453008994460106, 0.4427294135093689, 0.1882147192955017, 0.6591746211051941, 0.721455454826355, 0.48404937982559204, 1.1556881666183472, -0.12681034207344055, 0.7186005711555481, -0.10233857482671738, 0.43573883175849915, 1.0987623929977417, -0.50759357213974, 0.802709698677063, 0.5019806027412415, -0.30079662799835205, 0.41749995946884155, 0.9616778492927551, 0.12456616014242172, 0.2693127393722534, 0.39380350708961487, -0.33123624324798584, -0.4666650593280792, -0.08163817971944809, -0.34141167998313904, 0.6018474698066711, 0.34110191464424133, -0.18444092571735382, -0.07616598904132843, -0.020934808999300003, 0.12999281287193298, 0.20379669964313507, -0.3063060939311981, 0.6356375217437744, 0.14544975757598877, -0.42080140113830566, 0.16458402574062347, 0.16994556784629822, 0.9222555160522461, -0.36854785680770874, 0.06390074640512466, -0.12790387868881226, 0.27498188614845276, -0.3077327311038971, -0.6463290452957153, -0.045316584408283234, -0.003546264488250017, -0.20131312310695648, -0.46250051259994507, 0.8351906538009644, -0.5411685109138489, -0.5155913829803467, 0.48778036236763, 0.35329368710517883, -0.04874315857887268, 0.011271510273218155, -0.7112939357757568, 0.3192991018295288, 0.0663449689745903, 0.048984602093696594, 0.1990678310394287, 0.4785240590572357, -0.29738858342170715, 0.45540735125541687, 0.3753218948841095, -0.01457195170223713, -0.23539035022258759, -0.04622567445039749, 0.8084076642990112, -0.6821610331535339, -0.7842566967010498, -1.0336055755615234, 0.18445870280265808, -0.24175211787223816, -0.37287700176239014, 0.5202217102050781, 0.620294451713562, 0.8729559183120728, 0.2997420132160187, 0.916077733039856, 0.26723170280456543, 0.2795310318470001, -0.6638420820236206, 0.44264504313468933, -0.39210227131843567, 0.5681746006011963, -0.2730696201324463, -0.9159064888954163, -0.6080387830734253, 0.6096858382225037, -0.5266438722610474, 0.08627445250749588, 0.7388461232185364, 0.431484580039978, 0.15640556812286377, -0.05559748411178589, -0.07955612242221832, 0.22460143268108368, 0.27913516759872437, 0.4943968951702118, 0.8274661302566528, -0.36750051379203796, 0.4171837270259857, -0.09210725128650665, -0.4197812080383301, -0.3023958206176758, -0.9213539958000183, -0.9775025844573975, -0.48703309893608093, -0.36592933535575867, -0.3352149426937103, 0.12570461630821228, 1.1614210605621338, 0.5718814730644226, -0.7627490162849426, -0.2965490221977234, -0.07539139688014984, 0.4756637215614319, 0.12356027960777283, -0.1800137162208557, 0.28569474816322327, -0.2744866609573364, -0.6024420261383057, 0.11946172267198563, 0.34100472927093506, 0.20201775431632996, -0.16333505511283875, -0.10420092195272446, -0.06325486302375793, -0.1476435363292694, 0.6024237871170044, 0.17404282093048096, -0.7322136759757996, -0.23197773098945618, -0.15232601761817932, -0.1291203796863556, 0.07410808652639389, 0.9662940502166748, -0.5802103281021118, 0.4417009651660919, 0.37317347526550293, 0.9190657138824463, 0.37740272283554077, -0.09164652228355408, 0.4405251145362854, -0.7288640737533569, 0.0823240801692009, 0.11715246737003326, 0.24162496626377106, 0.3531011641025543, -0.5388830900192261, 0.3916766941547394, 0.0809619277715683, -0.5632968544960022, -0.9176862239837646, 0.2626977562904358, -1.162631869316101, -0.5726673603057861, 1.2170710563659668, 0.23114851117134094, -0.0632869303226471, -0.15410079061985016, -0.47596538066864014, 0.26140767335891724, -0.3347943425178528, 0.7640370726585388, 0.7723144292831421, -0.14056582748889923, -0.05647895112633705, -0.22367776930332184, 0.42437246441841125, 0.48749250173568726, -0.8421700596809387, 0.25936535000801086, 0.48585426807403564, 0.047856807708740234, 0.016907164826989174, 0.5604466199874878, 0.022403491660952568, 0.046218957751989365, -0.3393835127353668, 0.08199400454759598, 0.24791942536830902, -0.4828742742538452, -0.6801478862762451, 0.07697832584381104, 0.1543380618095398, -0.06273731589317322 ]
http://arxiv.org/abs/2406.10264v1
http://arxiv.org/pdf/2406.10264v1
Large Language Model-empowered multimodal strain sensory system for shape recognition, monitoring, and human interaction of tensegrity
2024-06-11T06:26:04
2024-06-11T06:26:04
Zebing Mao, Ryota Kobayashi, Hiroyuki Nabae, Koichi Suzumori
cs.RO
cs.RO, cs.CL
A tensegrity-based system is a promising approach for dynamic exploration of uneven and unpredictable environments, particularly, space exploration. However, implementing such systems presents challenges in terms of intelligent aspects: state recognition, wireless monitoring, human interaction, and smart analyzing and advising function. Here, we introduce a 6-strut tensegrity integrate with 24 multimodal strain sensors by leveraging both deep learning model and large language models to realize smart tensegrity. Using conductive flexible tendons assisted by long short-term memory model, the tensegrity achieves the self-shape reconstruction without extern sensors. Through integrating the flask server and gpt-3.5-turbo model, the tensegrity autonomously enables to send data to iPhone for wireless monitoring and provides data analysis, explanation, prediction, and suggestions to human for decision making. Finally, human interaction system of the tensegrity helps human obtain necessary information of tensegrity from the aspect of human language. Overall, this intelligent tensegrity-based system with self-sensing tendons showcases potential for future exploration, making it a versatile tool for real-world applications.
[ -0.15286551415920258, -0.5931473970413208, 0.7028062343597412, 0.12336791306734085, -0.14158456027507782, 0.055512361228466034, -0.20118938386440277, -0.654187798500061, 0.8228757381439209, -0.22444581985473633, -0.6981480121612549, -0.21854794025421143, -0.2990461587905884, -0.2280569076538086, -0.06412061303853989, 0.662284791469574, -0.021032556891441345, -0.30199429392814636, 0.1856759786605835, -0.44134411215782166, -0.13085079193115234, -0.5915182828903198, -0.11921213567256927, -0.21320568025112152, 0.314314603805542, 0.1370217204093933, 0.9439291954040527, 0.01753878779709339, 0.32622456550598145, 0.5533361434936523, -0.011160850524902344, 0.07946056127548218, -0.08554685860872269, 0.3006456196308136, 0.08180171251296997, -0.03905054181814194, -0.6740311980247498, -0.008054543286561966, 0.5545827150344849, 0.28184038400650024, -0.3319161534309387, 0.18648774921894073, -0.16456280648708344, 0.29548749327659607, -0.26317963004112244, 0.021347420290112495, 0.04686032235622406, 0.30792832374572754, -0.18545302748680115, 0.23186063766479492, 0.18779243528842926, -0.17979303002357483, -0.26373207569122314, -0.4146338999271393, -0.016919149085879326, 0.17895381152629852, 0.6870406270027161, 0.16590093076229095, -0.5119056701660156, 0.14871615171432495, -0.755648136138916, 0.4739820659160614, -0.803451418876648, 1.00808846950531, 0.2424849271774292, 0.48061513900756836, -0.1835641860961914, -0.971534788608551, -0.767572820186615, -0.17562264204025269, 0.05082784593105316, 0.2537054717540741, 0.265654981136322, -0.06940484046936035, -0.013449005782604218, 0.29264986515045166, -0.7977355718612671, 0.21515774726867676, -0.5267099142074585, -0.50416499376297, 0.5695067048072815, 0.20989200472831726, 0.35187843441963196, -0.3114401400089264, -0.6637369394302368, -0.11673840135335922, -0.2672734558582306, 0.37735435366630554, 0.27234816551208496, 0.21129439771175385, -0.38310423493385315, 0.36378470063209534, -0.15112747251987457, 0.5468529462814331, -0.11939334124326706, 0.010761982761323452, 0.5360383987426758, -0.05756494030356407, -0.4436664283275604, -0.33297228813171387, 1.1134259700775146, -0.13454462587833405, -0.17926517128944397, -0.25559288263320923, -0.6062433123588562, -0.2017095685005188, 0.2530515491962433, -0.5767160058021545, -0.21453876793384552, 0.2773471772670746, -0.5646591782569885, -0.14961594343185425, 0.06910918653011322, -1.0464781522750854, -0.660513162612915, -0.24990738928318024, 0.2809361219406128, -0.6451374888420105, -0.7957547903060913, 0.5422129034996033, 0.062200337648391724, 0.22466972470283508, 0.2892535924911499, -0.8991193175315857, 0.19830553233623505, 0.43674784898757935, 1.137316346168518, 0.0991748794913292, -0.34195441007614136, -0.1503407061100006, -0.052186645567417145, 0.25946044921875, 0.8182329535484314, -0.38569867610931396, -0.546274721622467, -0.3924950063228607, 0.10445991158485413, -0.26564982533454895, -0.1308135688304901, 0.5677198171615601, -0.31847238540649414, 0.09922262281179428, 0.4147160053253174, -0.28823286294937134, -0.3632871210575104, 0.6538006663322449, -0.6568267941474915, 0.950738251209259, 0.13149306178092957, -0.40201252698898315, 0.4178270399570465, -0.6884700655937195, -0.28387364745140076, 0.44159719347953796, -0.2616276144981384, -0.43505144119262695, 0.3009274899959564, 0.08545233309268951, 0.6543613076210022, 0.07049205899238586, 0.20696891844272614, -0.552299976348877, -0.10083534568548203, 0.34636440873146057, -0.4264916181564331, 0.3125615417957306, 0.329907089471817, -0.41863593459129333, 0.38018444180488586, -0.7320145964622498, 0.21478058397769928, 0.2534020245075226, -0.5542195439338684, -0.17535336315631866, 0.2641493082046509, 0.28686684370040894, 0.15439844131469727, 0.09706765413284302, -0.6056995391845703, 0.6679893732070923, -0.16556209325790405, 0.4491932988166809, 0.5609711408615112, -0.2790386378765106, 0.40158742666244507, 0.05580820143222809, 0.5836355686187744, -0.1410813331604004, 0.5572615265846252, 0.17591749131679535, -0.10719151049852371, -0.6942691802978516, -0.443884015083313, -0.06538278609514236, 0.3869338929653168, -0.6653072834014893, 0.24145327508449554, -0.500330924987793, -0.6545207500457764, -0.18698039650917053, -0.07170507311820984, -0.20607368648052216, 0.042813558131456375, 0.31599435210227966, 0.020769231021404266, -0.2358938753604889, -0.35309192538261414, -0.31023842096328735, -0.29104170203208923, -0.1840713769197464, 0.1477196216583252, 0.2984154522418976, -0.45201200246810913, 0.710544764995575, -0.46012574434280396, -0.3942617177963257, -0.16414175927639008, 0.3138178288936615, 0.40600860118865967, 0.46502962708473206, 0.7792487740516663, -0.9195817112922668, 0.3025975823402405, -0.011183559894561768, -0.6525918841362, 0.1827610731124878, -0.22934719920158386, 0.18704739212989807, -0.258225679397583, 0.38538774847984314, -0.8991643190383911, 0.19870205223560333, 0.875804603099823, -0.8480812311172485, 0.6787933111190796, -0.18805694580078125, 0.22682389616966248, -1.0914909839630127, 0.06449338793754578, 0.24884375929832458, -0.2655532658100128, -0.46905845403671265, 0.07065633684396744, 0.4194071590900421, -0.3754613995552063, -0.3766134977340698, 0.5415860414505005, -0.5673743486404419, 0.10936898738145828, -0.04356065392494202, -0.3021758496761322, -0.014736414887011051, 0.5037446022033691, -0.2300443947315216, 0.613074779510498, 0.3982159197330475, -0.4493969976902008, 0.716876208782196, -0.10990593582391739, -0.3921090066432953, 0.04483659565448761, -0.6331394910812378, 0.13369864225387573, 0.038717929273843765, -0.000034322398278163746, -0.6120652556419373, -0.5070666670799255, 0.32895034551620483, -0.48321691155433655, 0.3838910460472107, -0.17493745684623718, -0.2299274355173111, -0.6739394664764404, -0.25074732303619385, 0.5654569268226624, 0.5184919834136963, -0.5405449271202087, 1.2620562314987183, 0.38648319244384766, -0.29370009899139404, -0.018889756873250008, -0.5455663800239563, 0.12839531898498535, -0.44637054204940796, -0.5037617683410645, -0.13604626059532166, -0.14007046818733215, -0.18809397518634796, -0.5500828623771667, -0.209694966673851, -0.15558135509490967, -0.005733775906264782, 0.7423157095909119, 0.20242203772068024, -0.013132215477526188, 0.49041423201560974, -0.06365112960338593, 0.29798924922943115, 0.06493312865495682, -0.46108004450798035, 0.47041717171669006, -0.6935140490531921, -0.5497482419013977, -0.5589805841445923, 0.11251115053892136, 1.216972827911377, -0.386887788772583, 0.14767323434352875, 0.7076952457427979, -0.3763951361179352, -0.009663794189691544, -0.6357024908065796, -0.24790820479393005, -0.6760056614875793, 0.04527169466018677, -0.513823390007019, -0.9298993349075317, 0.3996403217315674, -0.4679706394672394, -0.2692530155181885, 0.41867291927337646, 0.19760985672473907, -0.23134654760360718, 0.784324586391449, 0.49369046092033386, -0.37874722480773926, 0.43309953808784485, 0.03451418876647949, 0.2661278247833252, -0.5074321627616882, -0.6284708976745605, -0.29996153712272644, -0.7295997142791748, -0.053202416747808456, -0.39482197165489197, 0.4637915790081024, -0.20046494901180267, -0.22308985888957977, 0.13014529645442963, -0.4763062596321106, -0.06487004458904266, 0.4242406189441681, 0.34620293974876404, -0.2377767115831375, -0.2403939962387085, -0.29563453793525696, -0.2517574727535248, -0.527593731880188, -0.14083853363990784, 0.3123294413089752, 0.3553527295589447, 1.3293533325195312, 0.4048619270324707, 0.2466457188129425, 0.5196182131767273, -0.03960743919014931, -1.0381349325180054, 0.6008359789848328, 0.3400304317474365, -0.2851143181324005, -0.2626829147338867, -0.3799346685409546, -0.6846976280212402, 0.1720861792564392, -0.4336288273334503, -0.7994236946105957, 0.41879358887672424, 0.2880713641643524, -0.728834331035614, 0.5871266722679138, -1.0179028511047363, 0.4969904124736786, -0.8224005103111267, -0.30225810408592224, 0.009400107897818089, -0.6042648553848267, 0.14617745578289032, 0.16275446116924286, 0.30250588059425354, -0.07056649774312973, 0.2344733327627182, 0.660234808921814, -0.2208864539861679, 1.2112585306167603, -0.5355373620986938, -0.05952276289463043, 0.39842912554740906, 0.26550745964050293, 0.46731138229370117, 0.3274635374546051, 0.0567733570933342, 0.1992706060409546, -0.24485746026039124, 0.0693606436252594, -0.4934602677822113, 0.6966474056243896, -0.7236012816429138, -0.47131597995758057, -0.5541308522224426, -0.4804942011833191, -0.320259690284729, 0.30187922716140747, -0.337348997592926, 0.26104414463043213, -0.31834277510643005, 0.11536329984664917, 0.3483666181564331, -0.037305716425180435, 0.707518994808197, 0.47884026169776917, -0.1693277806043625, -0.2210279405117035, 0.8765110373497009, -0.054911114275455475, -0.4165721833705902, -0.006249172613024712, 0.19938968122005463, -0.3775743246078491, -0.42879241704940796, -0.46476006507873535, 0.15514585375785828, 0.11531972140073776, -0.6128770709037781, -0.7687690854072571, -0.06918056309223175, -0.8462839126586914, 0.003699678461998701, -0.5925958156585693, -0.2920264005661011, -0.19822388887405396, -0.45922085642814636, 0.6923785209655762, 0.6070183515548706, -0.1800529509782791, 0.33607953786849976, -1.1815897226333618, 0.3555281162261963, 0.6055870652198792, 0.5110664367675781, -0.30961641669273376, -0.29863372445106506, -0.188582643866539, 0.13110829889774323, -0.15222686529159546, -0.5498824119567871, 0.5522989630699158, 0.33187931776046753, 0.23900064826011658, 0.7605999112129211, -0.13523729145526886, 0.5208927392959595, -0.25460243225097656, 0.7929481267929077, 0.4908119738101959, -0.9239408373832703, 0.4075523316860199, -0.5084111094474792, 0.5919517874717712, 0.1377795934677124, 0.2616962492465973, -0.7239745259284973, -0.15089638531208038, -0.44868412613868713, -0.8523464202880859, 0.26247698068618774, -0.1294868439435959, -0.07588429003953934, 0.2727193236351013, 0.28892871737480164, 0.12703530490398407, -0.18285664916038513, -0.7308719754219055, 0.666983425617218, -0.4465970993041992, -0.3250376284122467, 0.3179575502872467, -0.10866740345954895, -0.07060365378856659, -0.18327616155147552, 0.2954367995262146, -0.444349080324173, 0.3897565007209778, 0.18162882328033447, -0.13469840586185455, 0.24164113402366638, 0.3606718182563782, 0.6893617510795593, 0.12837868928909302, -0.10543516278266907, 0.07659410685300827, 0.28016138076782227, -0.8494272232055664, 0.025989139452576637, 0.31138062477111816, 0.306924432516098, -0.12093095481395721, 0.16089537739753723, 0.722736120223999, 0.03984437510371208, -0.6772943735122681, 0.44917726516723633, -0.12716467678546906, -0.010744843631982803, -0.503288745880127, 0.16963711380958557, 0.13185369968414307, 0.8525822758674622, 0.5146891474723816, 0.2372385859489441, 0.09131608158349991, -0.08311009407043457, -0.03186316415667534, 0.24299070239067078, -0.49209022521972656, -0.8780261278152466, 0.8683099150657654, 0.2013857066631317, -0.12790338695049286, 0.5557056069374084, -0.017480168491601944, -0.5206844806671143, 0.663814127445221, 0.33779481053352356, 0.4621395766735077, -0.8208828568458557, 0.03851443901658058, 0.23284168541431427, 0.3105751574039459, -0.12575720250606537, 0.7087873816490173, -0.14325709640979767, -0.7542994022369385, -0.22602629661560059, -0.6309677362442017, -0.017803331837058067, -0.025592751801013947, -0.4328565001487732, 0.008929423056542873, -0.5397261381149292, -0.40211036801338196, -0.39692169427871704, -0.43968915939331055, -0.6557202935218811, 0.762576162815094, 0.2800379693508148, 0.8102415800094604, -0.7047995328903198, 0.7762804627418518, 0.8881531357765198, -0.078543521463871, -0.7604555487632751, -0.281587690114975, 0.2671094834804535, -0.8163672089576721, 0.48619648814201355, 0.08779451996088028, -0.5858043432235718, -0.2522958815097809, -0.5801149606704712, -0.6633740067481995, 1.2681173086166382, -0.008741750381886959, -0.5518786907196045, 0.020885560661554337, -0.2089797854423523, 0.4432663321495056, 0.192491352558136, 0.01929233968257904, 0.009665685705840588, 0.6891926527023315, -0.13951751589775085, -0.8141714334487915, 0.0325903482735157, -0.4863443374633789, -0.2567525804042816, 0.6003090143203735, -1.1056716442108154, 0.6484358310699463, -0.303480863571167, -0.38651254773139954, 0.020790504291653633, 1.1397662162780762, -0.07096602767705917, 0.1348913013935089, 0.618884265422821, 0.5077470541000366, 0.7816494107246399, -0.16270504891872406, 0.7152645587921143, -0.10611911118030548, 0.49274593591690063, 0.9459941983222961, -0.3393665552139282, 0.583394467830658, 0.6284418106079102, 0.008829372003674507, 0.2325299084186554, 0.5102691650390625, 0.007836815901100636, 0.2893718481063843, 0.023524653166532516, -0.6171218752861023, -0.22159415483474731, 0.14758485555648804, -0.47887536883354187, 0.8045024275779724, 0.9058949947357178, 0.05025354027748108, 0.08205004036426544, 0.6109222173690796, 0.07711669057607651, -0.34147149324417114, -0.25184035301208496, 0.384237676858902, -0.06838370859622955, -0.34834080934524536, 0.2174726128578186, -0.0670141726732254, 0.8806172609329224, -1.0723389387130737, 0.16127145290374756, -0.5466243624687195, 0.12331967055797577, -0.18880194425582886, -0.6580823063850403, 0.1257089227437973, -0.14510710537433624, 0.06020893529057503, -0.44666776061058044, 1.1212055683135986, -0.017567606642842293, -0.455698698759079, 0.18487747013568878, 0.667457640171051, -0.055564116686582565, -0.0807637944817543, -0.2418208122253418, 0.03759008273482323, -0.2786250412464142, -0.7570369839668274, 0.25977540016174316, 0.7158289551734924, 0.12660852074623108, 1.019714117050171, 0.45585009455680847, 0.10914459824562073, 0.09677146375179291, 0.08563654124736786, 1.2074323892593384, -1.0518625974655151, -0.4353392422199249, -0.3779950737953186, 0.5090292096138, -0.02567007951438427, -0.36274006962776184, 0.445487380027771, 0.372384250164032, 0.2734708786010742, -0.05975906923413277, 0.6139329671859741, -0.5532697439193726, 0.1652928590774536, -0.4722806215286255, 1.1880909204483032, -0.6536182165145874, -0.2502439022064209, 0.3092055916786194, -0.3802323043346405, -0.5112277865409851, 0.499347060918808, 0.0017132810316979885, 0.21228371560573578, 0.547398567199707, 0.6118975281715393, -0.6993553638458252, 0.11367624253034592, 0.40964728593826294, 0.4116668701171875, 0.4264470040798187, 0.2170618623495102, 0.6549697518348694, -0.1506912261247635, 0.35669633746147156, 0.277312695980072, -0.22298896312713623, -0.20755024254322052, -0.5426624417304993, -0.42348045110702515, -0.5754483342170715, 0.029396528378129005, -0.2809000611305237, -0.0679662749171257, 0.899033784866333, 0.9022277593612671, -0.6141107082366943, -0.038463056087493896, 0.2033594399690628, -0.4622047543525696, -0.20228345692157745, -0.27654412388801575, 0.23041106760501862, -0.20031072199344635, -0.5531755089759827, 1.1552902460098267, 0.44439569115638733, 0.5061668753623962, -0.1579897254705429, 0.05906582996249199, -0.13519226014614105, -0.4395378828048706, 0.6976878643035889, 0.8220183253288269, -0.23073413968086243, -0.664846658706665, 0.13423515856266022, 0.03553393483161926, -0.016165148466825485, 0.9999074935913086, -1.0435503721237183, 0.4702243208885193, 0.40223824977874756, 0.5934941172599792, 0.41443929076194763, -0.2148740142583847, 0.5284842252731323, -0.6583284735679626, 0.6382048726081848, 0.4126444160938263, 0.7757106423377991, 0.24177202582359314, -0.46147724986076355, 0.4859349727630615, 0.34345316886901855, -0.5436553359031677, -0.07120959460735321, 0.3361522853374481, -1.112547755241394, -0.3121284544467926, 1.1151764392852783, -0.19817227125167847, -0.2392384558916092, -0.03517983481287956, -0.241926372051239, 0.16051869094371796, -0.3251969814300537, 0.9699894189834595, 0.3973572552204132, -0.1956588178873062, -0.2731284201145172, -0.3424605131149292, 0.13296623528003693, 0.39986899495124817, -0.8385019302368164, -0.33864888548851013, 0.7830371856689453, 0.02476409822702408, 0.22806479036808014, 0.23527483642101288, 0.16318275034427643, -0.04267137497663498, -0.03392971679568291, 0.45343661308288574, -0.19698913395404816, -0.30732429027557373, -0.1897214651107788, 0.34859445691108704, -0.158546581864357, -0.39844417572021484 ]
http://arxiv.org/abs/2406.06964v1
http://arxiv.org/pdf/2406.06964v1
Missingness-resilient Video-enhanced Multimodal Disfluency Detection
2024-06-11T05:47:16
2024-06-11T05:47:16
Payal Mohapatra, Shamika Likhite, Subrata Biswas, Bashima Islam, Qi Zhu
cs.CL
cs.CL, cs.MM, cs.SD, eess.AS
Most existing speech disfluency detection techniques only rely upon acoustic data. In this work, we present a practical multimodal disfluency detection approach that leverages available video data together with audio. We curate an audiovisual dataset and propose a novel fusion technique with unified weight-sharing modality-agnostic encoders to learn the temporal and semantic context. Our resilient design accommodates real-world scenarios where the video modality may sometimes be missing during inference. We also present alternative fusion strategies when both modalities are assured to be complete. In experiments across five disfluency-detection tasks, our unified multimodal approach significantly outperforms Audio-only unimodal methods, yielding an average absolute improvement of 10% (i.e., 10 percentage point increase) when both video and audio modalities are always available, and 7% even when video modality is missing in half of the samples.
[ -0.3809523582458496, -0.6317723989486694, 0.35485392808914185, 0.29459166526794434, -0.12719076871871948, 0.11188922077417374, 0.11054040491580963, -0.24060121178627014, 0.4699707627296448, -0.07719742506742477, -0.9070889353752136, 0.03577212244272232, -0.6929754018783569, -0.04731503501534462, -0.42345187067985535, 0.686687171459198, 0.2281726747751236, 0.19026708602905273, -0.3350505530834198, -0.504081666469574, -0.7074689269065857, -0.18089602887630463, -0.22760465741157532, -0.29123085737228394, 0.3808201253414154, 0.42748257517814636, 0.7066110372543335, 0.393563449382782, 0.3276562988758087, 0.42554908990859985, -0.010560213588178158, 0.24425077438354492, -0.08391699939966202, 0.26896584033966064, -0.062105339020490646, 0.12965954840183258, -0.39595314860343933, -0.24626131355762482, 0.7635471820831299, 0.620204508304596, -0.45686379075050354, -0.14954720437526703, -0.0407625287771225, 0.4829917848110199, -0.8461812138557434, 0.004250389523804188, -0.8294364213943481, 0.29029208421707153, -0.3130246102809906, -0.007382996380329132, -0.21810248494148254, 0.24703101813793182, -0.083500437438488, -0.5459789633750916, 0.07294630259275436, -0.31356099247932434, 0.34246793389320374, 0.699358344078064, -0.6029306054115295, 0.04618246853351593, -0.7450549602508545, 0.61897873878479, -0.4607582092285156, 0.9423629641532898, 0.5880373120307922, 0.5259228348731995, -0.1069595068693161, -0.5844910740852356, -1.119016170501709, -0.06136782839894295, 0.1229107454419136, 0.24496717751026154, -0.3617224395275116, 0.14583884179592133, 0.3116466701030731, 0.49899160861968994, -0.7138413190841675, 0.10839642584323883, -0.09304182976484299, -0.5938795804977417, 0.2973574995994568, -0.00878373347222805, 0.6228905916213989, -0.3737584054470062, -0.37897613644599915, -0.4544755518436432, -0.08877775073051453, -0.17422810196876526, 0.24556216597557068, 0.067960225045681, -0.23200923204421997, 0.30703774094581604, -0.14026084542274475, 0.6206690073013306, -0.18533095717430115, -0.6087051033973694, 0.6526329517364502, -0.6732548475265503, -0.3522900342941284, 0.30914729833602905, 0.4087587893009186, 0.1310557872056961, -0.3189085125923157, -0.026221515610814095, -0.26423537731170654, 0.43918824195861816, 0.04497984051704407, -0.17625409364700317, -0.34099942445755005, 0.08681779354810715, -0.2149955928325653, 0.126742884516716, -0.14624276757240295, -0.7198948860168457, -0.5339904427528381, -0.334492027759552, 0.8168848156929016, -0.6050243377685547, -0.7931118607521057, 0.033142220228910446, -0.5501466989517212, 0.0034955411683768034, 0.044394735246896744, -1.050106406211853, -0.058676812797784805, 0.2936241626739502, 0.8605934977531433, 0.09605301916599274, -0.22880582511425018, -0.6585639715194702, 0.35641995072364807, 0.04213716462254524, 0.6532159447669983, -0.4654267430305481, -0.21330536901950836, -0.12509407103061676, 0.12542180716991425, -0.05410163477063179, -0.4751187860965729, 0.7610856294631958, 0.10497880727052689, 0.173786923289299, -0.20500490069389343, -0.19046729803085327, -0.13199514150619507, 0.19765375554561615, -1.0419600009918213, 0.7722097635269165, 0.21425022184848785, -0.4942185580730438, 0.7367814779281616, -0.2707308232784271, -0.48020750284194946, -0.11152264475822449, -0.2052219957113266, -0.69051194190979, -0.05275662988424301, 0.3272436857223511, 0.15943872928619385, 0.19305287301540375, 0.2799299657344818, -0.5770861506462097, -0.15434281527996063, 0.2515658140182495, -1.1101552248001099, 0.5482592582702637, 0.05863146856427193, -0.1995021253824234, -0.20985092222690582, -1.2675760984420776, -0.25078460574150085, -0.09011553972959518, -0.3043835759162903, -0.3589693307876587, 0.020743995904922485, 0.2883862853050232, 0.34112977981567383, -0.28117701411247253, -0.9463573694229126, -0.20186558365821838, -0.12497878074645996, 0.44845977425575256, 0.743430495262146, -0.18799421191215515, 0.27008214592933655, -0.33413538336753845, 0.06655769795179367, 0.3737075924873352, 0.16366401314735413, -0.1437448412179947, -0.05063741281628609, -0.6080899834632874, -0.8153226375579834, -0.08160898089408875, 0.45547598600387573, -1.2297892570495605, 0.13170470297336578, -0.09061968326568604, -0.3096367418766022, -0.7330620884895325, 0.10719244927167892, 0.6182133555412292, 0.8291566967964172, 0.4812614917755127, -0.3155587315559387, -0.8463930487632751, -0.9359749555587769, -0.0013976938789710402, -0.16829082369804382, -0.05850240960717201, 0.06690625846385956, 0.24322938919067383, -0.2817085087299347, 0.7498205304145813, -0.3542821705341339, -0.7230271697044373, -0.0033530285581946373, 0.11545184999704361, -0.11411216109991074, 0.4791510999202728, 0.5611935257911682, -1.1856436729431152, -0.008988674730062485, -0.11914344877004623, -0.8422405123710632, 0.03626818209886551, -0.1012098491191864, 0.5298505425453186, 0.4317111670970917, 0.36058101058006287, -0.22281770408153534, 0.4250272512435913, 0.7931695580482483, -0.20678390562534332, 0.1579703986644745, -0.30052947998046875, 0.41764628887176514, -1.0581295490264893, -0.27067241072654724, -0.11031288653612137, -0.3056972324848175, -0.6809709072113037, -0.6020122766494751, -0.12866224348545074, -0.32578349113464355, -0.6138246655464172, -0.00018277764320373535, -0.4430846571922302, -0.23343251645565033, -0.15089905261993408, 0.25973206758499146, 0.020905161276459694, 0.486082524061203, -0.1026066392660141, 0.5844496488571167, 0.5243171453475952, -0.4882085919380188, 0.6134554147720337, 0.34049665927886963, -0.14353905618190765, 0.8321344256401062, -0.5914412140846252, -0.009524831548333168, -0.41400429606437683, 0.22429810464382172, -1.3839606046676636, -0.6476011276245117, 0.17096395790576935, -0.4777814447879791, 0.1643693894147873, -0.2388751059770584, -0.21223317086696625, -0.08461519330739975, -0.24482636153697968, 0.5511085391044617, 0.14135588705539703, -0.6154345870018005, 0.6731145977973938, 0.6403898000717163, -0.22198957204818726, -0.5574164986610413, -0.9563362002372742, 0.022939249873161316, -0.2556855082511902, -0.7637147307395935, 0.5844674110412598, -0.2613747715950012, -0.016220252960920334, 0.0008247561636380851, -0.4001705050468445, -0.44669997692108154, 0.05917513370513916, 0.530504584312439, 0.13344623148441315, 0.15917284786701202, 0.5005444288253784, 0.1543375849723816, -0.12289206683635712, -0.5092054605484009, 0.25457823276519775, 0.3674483001232147, -0.06535446643829346, -0.9003753066062927, -0.6318548917770386, 0.6191138029098511, 0.7294305562973022, -0.0577140711247921, 0.3352476954460144, 0.890343427658081, -0.7085081934928894, 0.2153848111629486, -0.8137758374214172, -0.28037145733833313, -0.49907782673835754, 0.5474485754966736, -0.15407811105251312, -0.6838368773460388, 0.3198135197162628, 0.16483989357948303, -0.0620819516479969, 0.003563864855095744, 0.39958643913269043, -0.1271369308233261, 0.9468355178833008, 0.5516670346260071, -0.18031862378120422, 0.834542989730835, 0.19241951406002045, -0.006933984346687794, -0.47515127062797546, -0.4816356897354126, -0.05666148290038109, -0.2953437268733978, -0.2536594569683075, -0.1881115585565567, 0.674400269985199, -0.2723621428012848, 0.04559730738401413, 0.3376133143901825, -0.3944033682346344, 0.40062156319618225, 0.23554284870624542, 0.4910360276699066, 0.4235883951187134, 0.18015427887439728, 0.21757613122463226, -0.38822680711746216, -0.4068295955657959, 0.07045062631368637, 0.5553099513053894, 0.20712119340896606, 0.6279398202896118, 0.6025283932685852, 0.37104058265686035, 0.6364263296127319, -0.35644370317459106, -0.5742700099945068, 0.3005612790584564, -0.07194531708955765, -0.3185480535030365, -0.37375107407569885, -0.366555392742157, -0.7777864933013916, 0.39478451013565063, -0.570734441280365, -0.35371530055999756, 0.3216494023799896, 0.3531936705112457, -0.27223727107048035, 0.20896488428115845, -0.685897171497345, 0.577843427658081, -0.08774671703577042, -0.29515913128852844, -0.37212300300598145, -0.5355650186538696, 0.34461861848831177, -0.05437515676021576, 0.4269501566886902, -0.10061512887477875, 0.2108767032623291, 0.7522099614143372, -0.3470850884914398, 0.6206966042518616, -0.3049974739551544, 0.028657017275691032, 0.12107446789741516, -0.07570681720972061, 0.06696441024541855, 0.17046409845352173, 0.3769671320915222, -0.09841696172952652, -0.07637795805931091, -0.26767879724502563, -0.7511112689971924, 0.582162618637085, -0.4679233133792877, -0.40922749042510986, -0.46521902084350586, -0.6789649724960327, -0.4770793616771698, 0.16373340785503387, -0.1928068846464157, 0.753052830696106, -0.16051837801933289, 0.4327559769153595, 0.8038137555122375, -0.07527274638414383, 1.1777634620666504, 0.5615407824516296, 0.3115570843219757, -0.76960289478302, 1.1630280017852783, 0.06171196326613426, 0.36442771553993225, 0.1569456160068512, -0.05812940374016762, -0.25747549533843994, -0.20729848742485046, -0.4037640690803528, -0.04527696222066879, -0.6581830978393555, -0.1877625733613968, -0.5983741283416748, -0.04726419225335121, -0.5691210031509399, 0.18479840457439423, -0.5842165350914001, -0.5362135767936707, -0.009647726081311703, -0.4337182343006134, 0.3710441291332245, 0.1945504993200302, -0.5531243085861206, 0.04407350718975067, -0.8818235993385315, 0.6870704293251038, 0.8542608022689819, 0.10657770931720734, -0.175657257437706, -0.43603813648223877, 0.20762237906455994, 0.3172030448913574, -0.49342110753059387, -0.8184062242507935, 0.34499436616897583, 0.5839716792106628, 0.6751089096069336, 0.2684726417064667, 0.07856987416744232, 0.9048160314559937, -0.2949151396751404, 0.7530664205551147, 0.6693080067634583, -0.8650133609771729, 0.5815090537071228, -0.06270197033882141, 0.10919725149869919, 0.5296233892440796, 0.306143194437027, -0.669251561164856, 0.09798718988895416, -0.42477014660835266, -0.77516770362854, 0.5061739087104797, 0.18533110618591309, -0.06590753048658371, 0.13456392288208008, -0.2911825478076935, 0.0891050323843956, 0.064518503844738, -0.6635487675666809, -0.1419449895620346, -0.6295390725135803, -0.06706580519676208, -0.01700044982135296, 0.005623255856335163, -0.3177419602870941, -0.3412330746650696, 0.41078099608421326, -0.10258597880601883, 0.24445736408233643, 0.4710424840450287, -0.3773404657840729, 0.1324452906847, 0.3585291802883148, 0.7650938630104065, 0.5206838250160217, -0.24925251305103302, 0.18322648108005524, 0.2642098665237427, -0.5029918551445007, 0.3504803776741028, 0.14287863671779633, 0.4448045492172241, 0.4289452135562897, 0.4077353775501251, 0.927402675151825, 0.45563173294067383, -0.9807936549186707, 0.7422316074371338, -0.1221221312880516, -0.21244372427463531, -0.4873226583003998, -0.3176282048225403, -0.013922538608312607, 0.48885291814804077, 0.5715696215629578, 0.08444122970104218, 0.3326481878757477, -0.7836614847183228, 0.8269813060760498, 0.46533477306365967, -0.6471050381660461, -0.30644911527633667, 0.5696175694465637, 0.23713064193725586, -0.2035771906375885, 0.5974926948547363, 0.22343532741069794, -0.20095601677894592, 0.34483736753463745, 0.565433919429779, 0.6831061244010925, -0.39895427227020264, 0.27566391229629517, -0.19927889108657837, 0.01731238327920437, 0.06481394171714783, 0.3247585892677307, -0.22046564519405365, -0.7765814661979675, -0.15978798270225525, -0.27000024914741516, -0.2786025106906891, 0.0730302482843399, -0.7623056173324585, 0.11232604831457138, -0.324367493391037, -0.18331462144851685, 0.12648239731788635, -0.581930935382843, -0.2387302964925766, 0.17699456214904785, 0.23816247284412384, 0.3883492648601532, -1.2161996364593506, 0.6858099102973938, 0.37204286456108093, -0.6847894787788391, -0.47549140453338623, -0.1309719979763031, 0.5214768648147583, -0.8444039821624756, 0.45434486865997314, -0.054790835827589035, -0.21886171400547028, -0.32371410727500916, -0.05026621371507645, -0.6339808106422424, 1.3686566352844238, 0.9033384323120117, -0.5473479628562927, 0.13592498004436493, 0.059758029878139496, 0.2499343454837799, 0.20388098061084747, 0.20988203585147858, 0.5357480049133301, 0.35522329807281494, 0.4412001967430115, -1.177785873413086, -0.29157188534736633, -0.0502341166138649, -0.28977102041244507, 0.2395356148481369, -0.47660887241363525, 0.6552832126617432, 0.16193901002407074, -0.38370281457901, -0.46687155961990356, 0.6571577787399292, 0.17214742302894592, 0.6967384219169617, 0.8291716575622559, 0.8468358516693115, 0.8223952651023865, -0.009139793924987316, 0.6641424298286438, 0.18690398335456848, 0.1621064990758896, 0.8532058000564575, 0.03444301709532738, 0.6487647294998169, 0.7243121862411499, -0.031031442806124687, 0.31504255533218384, 0.20370931923389435, 0.23111426830291748, 0.785936713218689, -0.2645641267299652, -0.6926093697547913, -0.48520427942276, -0.5207506418228149, -0.5777671933174133, 0.9255236983299255, 0.09981594979763031, 0.0614059716463089, -0.3763980269432068, 0.6457184553146362, 0.002049332018941641, 0.2411731481552124, -0.3440515697002411, 0.938179612159729, -0.07066135853528976, -0.31456154584884644, 0.6711030006408691, -0.5298876762390137, 0.8406537771224976, -0.5674228072166443, -0.32919397950172424, -0.3666337728500366, 0.41235530376434326, -0.3450391888618469, -0.5929260849952698, 0.4915914237499237, -0.3829349875450134, -0.45631542801856995, -0.3073870539665222, 0.7267255783081055, -0.7418678402900696, -0.2875361144542694, 0.3175325095653534, 0.26102766394615173, -0.19067800045013428, -0.009160224348306656, -0.31410813331604004, 0.3457357883453369, -0.17587873339653015, 0.2512497305870056, 0.6697824597358704, 0.3210817575454712, 0.07882921397686005, 0.6778793334960938, 0.5263388752937317, -0.24388758838176727, -0.11384034901857376, 0.10448140650987625, 1.030253291130066, -0.28914135694503784, -0.1709432303905487, -0.9439937472343445, 0.4844144880771637, -0.34303995966911316, -0.16888035833835602, 0.6436928510665894, 0.2052662968635559, 0.9109523892402649, -0.11342030763626099, 0.5876224637031555, -0.23642374575138092, 0.32527974247932434, -0.6311984658241272, 0.6280231475830078, -0.7356292605400085, -0.04327148199081421, -0.7203559279441833, -0.5162311792373657, -0.2485659420490265, 0.5301710367202759, 0.4691998064517975, -0.2919957637786865, 0.5100832581520081, 0.8307002186775208, -0.19028016924858093, -0.04619985818862915, 0.5527166128158569, -0.07973366975784302, 0.4263533353805542, 0.7717528939247131, 0.5410474538803101, -0.5478122234344482, 0.7966715693473816, -0.2212887555360794, -0.5886038541793823, 0.11503768712282181, -0.9853507280349731, -0.466673880815506, -0.9633687734603882, -0.2762138545513153, -0.08829761296510696, 0.10306140780448914, 0.7849960923194885, 0.6809852719306946, -0.4693947434425354, 0.27378320693969727, 0.21974174678325653, 0.18911214172840118, -0.4602755904197693, -0.19308508932590485, 0.11779073625802994, 0.13850237429141998, -0.6289497017860413, 0.9540983438491821, 0.4104444682598114, 0.18829011917114258, -0.16637486219406128, 0.09782065451145172, -0.35674309730529785, -0.22396522760391235, 0.6620003581047058, 0.4431357979774475, -0.616788923740387, -0.6999152302742004, -0.3201461732387543, 0.31802570819854736, -0.07217274606227875, 0.7743876576423645, -0.8421909809112549, 0.8118922710418701, 0.6295481324195862, 0.7361831068992615, 0.1261395514011383, -0.1489306092262268, 0.4468236565589905, -1.0879536867141724, 0.6262910962104797, 0.26643627882003784, 0.7631452083587646, 0.44831550121307373, -0.02272380143404007, 0.29637446999549866, 0.8854063749313354, -0.369655579328537, -1.1017310619354248, 0.2964448034763336, -1.3051881790161133, -0.263566792011261, 0.9148126244544983, -0.04621707275509834, 0.07721497118473053, -0.2690170109272003, -0.2578878700733185, 0.3922511637210846, -0.4304666817188263, 0.7480259537696838, 0.5681361556053162, -0.025337370112538338, -0.3527013063430786, -0.19156788289546967, 0.3702804744243622, 0.4238055944442749, -0.45340585708618164, 0.10194632411003113, 0.7390726208686829, 0.34503331780433655, 0.26229870319366455, 0.5134358406066895, -0.06676628440618515, 0.4887441098690033, 0.30620425939559937, -0.16938498616218567, -0.6233484148979187, -0.45832520723342896, -0.5030488967895508, 0.13756772875785828, -0.45799970626831055, -0.5308937430381775 ]
http://arxiv.org/abs/2406.06962v1
http://arxiv.org/pdf/2406.06962v1
Evolving Subnetwork Training for Large Language Models
2024-06-11T05:44:56
2024-06-11T05:44:56
Hanqi Li, Lu Chen, Da Ma, Zijian Wu, Su Zhu, Kai Yu
cs.CL
cs.CL, cs.AI
Large language models have ushered in a new era of artificial intelligence research. However, their substantial training costs hinder further development and widespread adoption. In this paper, inspired by the redundancy in the parameters of large language models, we propose a novel training paradigm: Evolving Subnetwork Training (EST). EST samples subnetworks from the layers of the large language model and from commonly used modules within each layer, Multi-Head Attention (MHA) and Multi-Layer Perceptron (MLP). By gradually increasing the size of the subnetworks during the training process, EST can save the cost of training. We apply EST to train GPT2 model and TinyLlama model, resulting in 26.7\% FLOPs saving for GPT2 and 25.0\% for TinyLlama without an increase in loss on the pre-training dataset. Moreover, EST leads to performance improvements in downstream tasks, indicating that it benefits generalization. Additionally, we provide intuitive theoretical studies based on training dynamics and Dropout theory to ensure the feasibility of EST. Our code is available at https://github.com/OpenDFM/EST.
[ -0.4078804850578308, -0.7798091173171997, 0.23569628596305847, -0.0067972457036376, -0.18658006191253662, -0.02163088321685791, -0.5624985098838806, -0.5189154744148254, 0.1866162270307541, 0.26065579056739807, -0.6275714039802551, -0.09890127182006836, -0.5710593461990356, -0.16202688217163086, -0.3035372197628021, 0.9311007857322693, 0.13510385155677795, -0.11719705909490585, 0.0046879299916327, -0.16045790910720825, -0.42982718348503113, -0.21963118016719818, -1.1198011636734009, -0.6359952092170715, 0.6192237734794617, 0.4765336513519287, 0.5028111338615417, 0.53031325340271, 0.24622300267219543, 0.28163760900497437, 0.04605039209127426, 0.3896442651748657, -0.6585550308227539, -0.16299360990524292, -0.17927247285842896, -0.455973356962204, -0.4378223121166229, -0.1471235603094101, 0.7217472791671753, 0.7103544473648071, -0.23835530877113342, 0.24705736339092255, -0.010824810713529587, 0.6298296451568604, -0.48294514417648315, 0.1595420092344284, -0.9473857283592224, 0.2215239554643631, -0.23493672907352448, -0.0823231041431427, -0.41032785177230835, 0.04735036566853523, 0.3484354019165039, -0.4790533483028412, 0.11845511198043823, -0.1374254673719406, 0.6815728545188904, 0.2586178779602051, -0.008383854292333126, 0.2734951972961426, -0.6422403454780579, 0.6902795433998108, -0.5942661166191101, 0.5774977803230286, 0.13845694065093994, 0.23954014480113983, -0.07616772502660751, -0.6360547542572021, -0.3839244544506073, -0.4017111361026764, 0.2662835419178009, 0.022783521562814713, -0.3895290195941925, -0.04929595813155174, -0.004244622308760881, 0.017917921766638756, -0.4275621175765991, 0.4618549942970276, -0.501132607460022, 0.18085017800331116, 0.5056985020637512, 0.007240770384669304, 0.2743680477142334, 0.48590755462646484, -0.2473042756319046, 0.05575179681181908, -0.7817186713218689, -0.22817866504192352, 0.2136773318052292, 0.6524551510810852, -0.2880167067050934, 0.12758919596672058, -0.13354423642158508, 0.3134024143218994, 0.13759100437164307, 0.09687530994415283, 0.518159806728363, -0.02830713801085949, -0.38935333490371704, -0.045761480927467346, 0.5785279273986816, -0.15264296531677246, 0.5728605389595032, -0.08488348126411438, 0.04968749359250069, -0.3605964779853821, 0.4277700185775757, -0.4389626681804657, -0.5283993482589722, 0.08377650380134583, -0.3031103014945984, -0.21852104365825653, -0.36649784445762634, -0.45870327949523926, -0.2882196009159088, -0.48923152685165405, 0.14442522823810577, -0.5968298316001892, -0.47719311714172363, 0.07587279379367828, 0.14546604454517365, 0.07343053817749023, 0.49036717414855957, -1.1167964935302734, 0.06585603207349777, 0.7226104140281677, 0.9412523508071899, 0.01994279772043228, -0.6884657740592957, -0.5802492499351501, -0.060850005596876144, -0.33016878366470337, 0.7417256236076355, -0.4581962525844574, -0.009836460463702679, -0.01386419590562582, -0.20038408041000366, -0.5034806728363037, -0.4541882574558258, 0.02950975112617016, -0.6583098769187927, 0.04288912191987038, 0.18272626399993896, -0.13687975704669952, -0.07827676832675934, 0.2953801453113556, -0.6329993009567261, 1.0146222114562988, 0.19892658293247223, -0.6468438506126404, 0.24605783820152283, -0.9093893766403198, -0.38871365785598755, 0.20548611879348755, -0.13650771975517273, -0.6433702111244202, 0.2848740518093109, 0.22289277613162994, 0.2542888820171356, -0.3704415559768677, 0.04518933221697807, -0.3081476390361786, -0.23216594755649567, -0.02798311971127987, -0.24839511513710022, 0.764143168926239, 0.07133101671934128, -0.41609519720077515, -0.09056385606527328, -0.5891273617744446, 0.1634380966424942, 0.0037422075401991606, -0.6796954870223999, -0.2662697434425354, -0.02984137460589409, -0.03323904424905777, 0.1487041711807251, 0.21821145713329315, -0.4110996425151825, 0.20529481768608093, -0.5272072553634644, 0.6540977358818054, 0.8142628073692322, -0.04206044599413872, 0.47425365447998047, -0.15208926796913147, 0.4685271680355072, 0.03458208590745926, 0.21795012056827545, 0.17778930068016052, -0.32500046491622925, -1.0405515432357788, -0.16374856233596802, 0.5473101139068604, 0.48482075333595276, -0.7362813949584961, 0.38567835092544556, -0.5214763879776001, -0.5578143000602722, -0.3412879407405853, 0.11257205903530121, 0.39387795329093933, -0.008690315298736095, 0.540104866027832, -0.19675949215888977, -0.6919459700584412, -1.0049054622650146, -0.0150296026840806, -0.2395039200782776, 0.024826548993587494, 0.08374638855457306, 0.5679643750190735, -0.4545714855194092, 0.9240711331367493, -0.1485610008239746, -0.143147274851799, -0.6579899191856384, 0.2594611346721649, -0.05276738107204437, 0.6978411674499512, 0.5578835010528564, -0.5232900381088257, -0.3805636763572693, 0.2830369770526886, -0.33575859665870667, -0.025125324726104736, -0.22065280377864838, -0.18710024654865265, 0.1742999404668808, 0.46546608209609985, -0.6733338236808777, -0.00813231896609068, 0.5670046806335449, 0.10705308616161346, 0.42686665058135986, -0.14829279482364655, -0.2522212564945221, -1.0794597864151, -0.012414278462529182, 0.06585778295993805, 0.024836160242557526, -0.6326897144317627, 0.2165900468826294, 0.022662149742245674, 0.03640858083963394, -0.4802594780921936, 0.5320770144462585, -0.6851624250411987, -0.0365447960793972, -0.2308218777179718, -0.07549262046813965, -0.36717015504837036, 0.6976408958435059, -0.1139996126294136, 0.5235129594802856, 0.4674200713634491, -0.5183050632476807, 0.2929994463920593, 0.09104353189468384, -0.19104447960853577, 0.1384333223104477, -0.5274410843849182, 0.47566521167755127, -0.14676082134246826, 0.20144079625606537, -0.5454072952270508, -0.03442859277129173, -0.009253844618797302, -0.3447195589542389, 0.5823593735694885, -0.2966073751449585, -0.18907499313354492, -0.31119295954704285, -0.29593515396118164, 0.28831416368484497, 0.4273526966571808, -0.5692543387413025, 0.7349877953529358, 0.4295331537723541, -0.12299101799726486, -0.627000629901886, -1.0028048753738403, 0.13094410300254822, -0.09201357513666153, -0.589523434638977, 0.05025491863489151, 0.09853842109441757, 0.011983362957835197, 0.04331189766526222, -0.08506821095943451, -0.02024558186531067, 0.11062084883451462, -0.02459479682147503, -0.08330587297677994, -0.5071228742599487, 0.3457207977771759, 0.16100843250751495, -0.19745564460754395, -0.13299860060214996, -0.9705677628517151, 0.8165557980537415, -0.09456884860992432, -0.2237982153892517, -0.42678460478782654, 0.2964237630367279, 0.4649321734905243, -0.44767916202545166, 0.8310658931732178, 0.5964837670326233, -0.4455799162387848, -0.5740347504615784, -0.47377267479896545, -0.10003137588500977, -0.41742005944252014, 1.0515176057815552, -0.42854225635528564, -1.0084792375564575, 0.2950992286205292, -0.11014960706233978, 0.15740445256233215, 0.3630543351173401, 0.5742244124412537, 0.30915501713752747, 0.8199201226234436, 0.8683292269706726, -0.25472837686538696, 0.8536719083786011, -0.35331034660339355, 0.08834667503833771, -0.8574305176734924, -0.13808651268482208, -0.3997933566570282, -0.5092849135398865, -0.3869447708129883, -0.5574702024459839, 0.3809242844581604, -0.07060703635215759, -0.5158952474594116, 0.26802146434783936, -0.2280893623828888, 0.7072007656097412, 0.6470166444778442, 0.17283447086811066, -0.0443766787648201, 0.25606095790863037, -0.0007658899994567037, 0.2642795443534851, -0.9934918880462646, -0.20082254707813263, 1.077256202697754, 0.6113126277923584, 0.7516863942146301, 0.10700558871030807, 0.6605551242828369, 0.4017845690250397, 0.306406706571579, -0.698540210723877, 0.5195189118385315, -0.3042263090610504, -0.32129600644111633, -0.5456240773200989, -0.591255247592926, -0.9413978457450867, 0.28909027576446533, -0.18565626442432404, -0.8035959005355835, 0.21093712747097015, 0.3583848476409912, -0.39888420701026917, 0.3732888996601105, -0.7372266054153442, 0.8364628553390503, -0.2477475255727768, -0.12958171963691711, -0.32809314131736755, -0.5930067300796509, 0.14137932658195496, -0.245712548494339, -0.04241716116666794, 0.033445168286561966, -0.04311234503984451, 0.682725191116333, -0.19494208693504333, 0.9099709391593933, -0.2477680742740631, 0.04154185578227043, 0.17422769963741302, -0.04617252200841904, 0.6902575492858887, -0.0049088443629443645, -0.04533132165670395, 0.3717018663883209, -0.5569642782211304, -0.47440025210380554, -0.5182694792747498, 0.5494813323020935, -0.9860110282897949, -0.27727121114730835, -0.09592477232217789, -0.5647056698799133, -0.48250940442085266, 0.16113154590129852, 0.2300674021244049, 0.5028435587882996, -0.02130841091275215, 0.31221315264701843, 0.7962255477905273, -0.13327325880527496, 0.23850630223751068, 0.26867952942848206, 0.21202901005744934, -0.3195120096206665, 0.6588727235794067, 0.1416161060333252, 0.4403112530708313, 0.5967066884040833, 0.35318562388420105, -0.09010674059391022, -1.035581111907959, -0.4140342175960541, 0.10640813410282135, -0.5430582761764526, -0.18018214404582977, -0.7620656490325928, -0.3122555613517761, -0.3873383402824402, 0.04138869047164917, -0.613772451877594, -0.34570956230163574, -0.09329869598150253, -0.14376257359981537, 0.23853522539138794, 0.5223548412322998, -0.2375071495771408, 0.2560596168041229, -0.8392835855484009, -0.3009766936302185, 0.5053491592407227, 0.11244632303714752, 0.37705352902412415, -0.7121476531028748, -0.7273759245872498, 0.14873601496219635, 0.0017262541223317385, -0.46645551919937134, 0.22707806527614594, 0.5067225098609924, 0.6663116812705994, 0.2451448142528534, -0.18101714551448822, 0.5170515179634094, -0.752348780632019, 0.6877128481864929, 0.351107656955719, -0.8370389342308044, 0.3431609570980072, -0.5093545317649841, 0.5188922882080078, 0.6090413331985474, 0.11055917292833328, -0.5176753997802734, -0.3409911096096039, -0.5460555553436279, -1.0066076517105103, 0.9221020340919495, -0.0038059439975768328, 0.2802615165710449, 0.13295996189117432, 0.29243913292884827, 0.05830938741564751, 0.09621822088956833, -0.7217580080032349, 0.07403771579265594, -0.053526341915130615, -0.4104899764060974, 0.04023590311408043, -0.15861128270626068, -0.16965538263320923, -0.2342425137758255, 0.9120423793792725, -0.3335181772708893, 0.4722459018230438, -0.21153973042964935, -0.21405206620693207, -0.06538301706314087, 0.24394433200359344, 0.6612491607666016, 0.7782116532325745, 0.13076747953891754, 0.19899553060531616, 0.490736722946167, -0.6107877492904663, -0.029367592185735703, -0.025149649009108543, -0.14381657540798187, -0.3136290907859802, 0.5136779546737671, 1.0129523277282715, 0.2021954506635666, -0.5460057854652405, 0.14834782481193542, 0.13483285903930664, -0.40246161818504333, -0.39822882413864136, 0.1680821180343628, 0.16491733491420746, 0.6544994711875916, 0.37953704595565796, 0.07756724953651428, -0.1842777580022812, -0.5375344753265381, 0.01742401346564293, 0.2530512511730194, -0.3047514259815216, -0.2409898191690445, 0.38861289620399475, 0.26562175154685974, -0.333524227142334, 0.593400239944458, -0.1516188085079193, -0.6561610698699951, 0.6836456060409546, 0.648838460445404, 1.1018567085266113, -0.02694903314113617, 0.23409968614578247, 0.022130001336336136, 0.6492408514022827, -0.13594450056552887, -0.1009620726108551, 0.16843393445014954, -0.7665355205535889, -0.4799503684043884, -0.7131326198577881, -0.44281280040740967, 0.5175834894180298, -0.13195763528347015, 0.1169862374663353, -0.44030076265335083, 0.1262424737215042, -0.0492563396692276, -0.12279170006513596, -0.47580641508102417, 0.28978002071380615, 0.3955502510070801, 0.8211883902549744, -0.685849666595459, 0.9205917716026306, 0.9576408863067627, -0.27856603264808655, -0.9431782960891724, 0.08250979334115982, -0.006813558284193277, -0.9054675102233887, 0.6412972807884216, 0.08372460305690765, -0.18837010860443115, 0.06648040562868118, -0.46078601479530334, -1.1428494453430176, 0.9258723855018616, 0.46815139055252075, -0.6142504215240479, -0.2009388506412506, 0.03916997089982033, 0.6481566429138184, -0.5614186525344849, 0.2174728363752365, 0.6155880689620972, 0.14471127092838287, -0.10289517790079117, -0.9301627278327942, -0.08687996864318848, -0.5127089619636536, 0.24406829476356506, 0.5295026302337646, -0.7975956201553345, 1.2572450637817383, -0.16793467104434967, -0.16881144046783447, 0.06300874054431915, 0.5471930503845215, -0.05942632257938385, 0.15836656093597412, 0.6069672107696533, 0.7056897282600403, 0.5754772424697876, -0.04980546981096268, 0.6751254200935364, -0.031234076246619225, 0.5700699687004089, 1.2952297925949097, 0.022777140140533447, 0.8902594447135925, 0.20236879587173462, -0.13656948506832123, 0.537375807762146, 0.6811667680740356, 0.088160440325737, 0.36679625511169434, 0.26363232731819153, -0.0016413554549217224, -0.28104913234710693, 0.27391812205314636, -0.4274492859840393, 0.49345824122428894, 0.14675061404705048, -0.2922802269458771, -0.31174302101135254, 0.22291503846645355, 0.08892746269702911, -0.2216380387544632, -0.32857659459114075, 0.6118223071098328, -0.024157129228115082, -0.48213648796081543, 0.6304303407669067, 0.07060300558805466, 0.5819123387336731, -0.7550967335700989, 0.23172204196453094, -0.4592987596988678, 0.4384725093841553, -0.10025358200073242, -0.15491995215415955, 0.005675219930708408, -0.027367038652300835, -0.220687597990036, -0.0559910424053669, 0.4828895330429077, -0.5266552567481995, -0.26891425251960754, 0.32378917932510376, 0.5505257248878479, 0.005032596178352833, -0.032424453645944595, -0.8292121887207031, -0.06513437628746033, -0.05731203407049179, -0.2774209976196289, 0.48081478476524353, 0.45455023646354675, -0.024493379518389702, 0.4581987261772156, 0.6066997647285461, 0.22773291170597076, 0.2232150286436081, 0.36712050437927246, 0.9110860824584961, -0.30423039197921753, -0.7533552050590515, -0.799077570438385, 0.38900497555732727, -0.24244463443756104, -0.5599263906478882, 0.41731807589530945, 0.3543092906475067, 0.9186920523643494, -0.13110481202602386, 0.8290872573852539, -0.0496978834271431, 0.4092324674129486, -0.8054055571556091, 0.7109225988388062, -0.6217777729034424, 0.1955139935016632, -0.14617624878883362, -1.014561414718628, -0.08807027339935303, 0.5386520028114319, -0.4175998866558075, 0.2563842236995697, 0.8229231238365173, 0.5954580903053284, -0.24019530415534973, 0.04567365720868111, 0.0709526538848877, 0.3322034776210785, 0.2721558213233948, 0.9303845763206482, 0.8310542702674866, -0.12880562245845795, 0.38881993293762207, -0.0425897054374218, -0.3391604423522949, -0.29858219623565674, -0.653678297996521, -0.9537598490715027, -0.3523068428039551, -0.4604402780532837, -0.02961202897131443, 0.3793213367462158, 1.1816020011901855, 0.98231440782547, -0.7079293727874756, -0.09447845071554184, -0.3167622983455658, -0.26454687118530273, -0.32719483971595764, -0.19543953239917755, 0.23158711194992065, -0.48362696170806885, -0.6732518672943115, 0.5227200984954834, 0.3811766505241394, 0.05484364181756973, -0.3548736870288849, -0.03450147435069084, -0.5291534662246704, 0.10123056918382645, 0.5429978966712952, 0.521111011505127, -0.3267362713813782, -0.6039571166038513, -0.3245140016078949, 0.18718715012073517, -0.03857294097542763, 0.7270597219467163, -0.4172671139240265, 0.12800732254981995, 0.3988240957260132, 1.1356520652770996, 0.466711163520813, -0.21136540174484253, 0.5124700665473938, -0.976966381072998, 0.2336016744375229, 0.2508220374584198, 0.3497980833053589, 0.3105325400829315, -0.291390985250473, 0.6710220575332642, 0.2914683520793915, -0.5200976133346558, -0.8234918117523193, 0.35660725831985474, -0.7921063899993896, -0.15954984724521637, 1.1181660890579224, -0.029410338029265404, -0.12783803045749664, -0.09925903379917145, 0.04327860847115517, 0.0815170630812645, -0.40795832872390747, 0.8979542851448059, 0.3743584156036377, -0.1780446320772171, -0.29206547141075134, -0.3854829967021942, 0.27628758549690247, 0.47872328758239746, -0.9643551707267761, 0.07452691346406937, 0.3743807077407837, 0.19212238490581512, 0.4103871285915375, 0.6099131107330322, 0.2856637239456177, 0.36415553092956543, 0.22195585072040558, 0.018964136019349098, -0.3361317217350006, -0.6902651786804199, -0.3253493309020996, 0.29654255509376526, 0.03051317110657692, -0.34757551550865173 ]
http://arxiv.org/abs/2406.06950v1
http://arxiv.org/pdf/2406.06950v1
A Probabilistic Framework for LLM Hallucination Detection via Belief Tree Propagation
2024-06-11T05:21:37
2024-06-11T05:21:37
Bairu Hou, Yang Zhang, Jacob Andreas, Shiyu Chang
cs.CL
cs.CL
This paper focuses on the task of hallucination detection, which aims to determine the truthfulness of LLM-generated statements. To address this problem, a popular class of methods utilize the LLM's self-consistencies in its beliefs in a set of logically related augmented statements generated by the LLM, which does not require external knowledge databases and can work with both white-box and black-box LLMs. However, in many existing approaches, the augmented statements tend to be very monotone and unstructured, which makes it difficult to integrate meaningful information from the LLM beliefs in these statements. Also, many methods work with the binarized version of the LLM's belief, instead of the continuous version, which significantly loses information. To overcome these limitations, in this paper, we propose Belief Tree Propagation (BTProp), a probabilistic framework for LLM hallucination detection. BTProp introduces a belief tree of logically related statements by recursively decomposing a parent statement into child statements with three decomposition strategies, and builds a hidden Markov tree model to integrate the LLM's belief scores in these statements in a principled way. Experiment results show that our method improves baselines by 3%-9% (evaluated by AUROC and AUC-PR) on multiple hallucination detection benchmarks. Code is available at https://github.com/UCSB-NLP-Chang/BTProp.
[ -0.28330203890800476, -0.9161279797554016, 0.8502526879310608, 0.3732535243034363, -0.3781265914440155, -0.03009197674691677, 0.0030245401430875063, -0.542416512966156, 0.41231003403663635, 0.4386153817176819, -0.7637444138526917, -0.788345992565155, -0.35859739780426025, 0.14693152904510498, -0.2829938232898712, 0.6296412348747253, 0.20931720733642578, 0.0035122449044138193, -0.14857257902622223, 0.3329460918903351, -0.434240460395813, -0.423423707485199, -0.24521538615226746, -0.3125530183315277, 0.17111307382583618, 0.07838795334100723, 0.5505648851394653, 0.6148757338523865, 0.1844439059495926, 0.18795454502105713, -0.32496461272239685, 0.40493616461753845, -0.11477240175008774, 0.2522144019603729, -0.05014966428279877, -0.5574137568473816, -0.400835245847702, -0.2522856295108795, 0.6680859327316284, 0.5904554128646851, -0.27410757541656494, -0.20019273459911346, 0.0596933588385582, 0.3565845489501953, -0.43924206495285034, 0.18979166448116302, -0.94471675157547, 0.5001431107521057, 0.10055408626794815, -0.6100462079048157, -0.6264119744300842, -0.634844183921814, -0.21096618473529816, -0.12912984192371368, 0.41913899779319763, 0.07996999472379684, 0.27449682354927063, 0.3111002743244171, -0.2361697554588318, -0.2624530792236328, -0.6547458171844482, 0.4806056618690491, -0.628292977809906, 0.494162380695343, 0.43465831875801086, 0.18043288588523865, -0.6225884556770325, -0.20479780435562134, -0.7473776936531067, -0.4101710319519043, -0.11414384096860886, 0.07166730612516403, 0.03505314886569977, 0.24095343053340912, 0.15017615258693695, 0.2700210511684418, -0.6199666857719421, -0.14932624995708466, 0.19179712235927582, -0.365891695022583, 0.22852009534835815, -0.22479724884033203, -0.0695730671286583, -0.47388631105422974, -0.3390074372291565, 0.08484739810228348, -0.6965839862823486, -0.5253755450248718, 0.34282776713371277, 0.04242836683988571, 0.2938304543495178, 0.6633237600326538, -0.14229820668697357, 0.5899801850318909, 0.1694268137216568, -0.5414795875549316, 0.17632831633090973, -0.3030545115470886, -0.30941757559776306, 0.6328588128089905, 0.38284119963645935, 0.2475503832101822, 0.15810197591781616, -0.28982681035995483, -0.3177148401737213, 0.47196483612060547, 0.025338776409626007, -0.7187811732292175, -0.39182165265083313, 0.3589463531970978, -0.6278914213180542, -0.43186360597610474, -0.23521481454372406, -0.5663380026817322, -0.6402633190155029, -0.06529821455478668, 0.49272260069847107, -0.6503766775131226, -0.438196063041687, 0.32371261715888977, 0.1763806939125061, -0.07124006003141403, 0.2629011571407318, -0.726239025592804, 0.12125398963689804, 0.6306912302970886, 0.635990560054779, -0.30508315563201904, -0.005093220621347427, -0.512914776802063, 0.3818935453891754, -0.41026100516319275, 0.8490689396858215, -0.3488912880420685, -0.4797026813030243, -0.06301341950893402, 0.08679318428039551, 0.06726156920194626, -0.8620461225509644, 0.704416811466217, -0.22636890411376953, -0.0017427557613700628, -0.01055467501282692, -0.6547487378120422, -0.36197030544281006, 0.19917264580726624, -0.3903474807739258, 0.6524873971939087, 0.10035920888185501, -0.8880735039710999, 0.37262916564941406, -0.3264077305793762, -0.42233848571777344, 0.10155101120471954, -0.42986825108528137, -0.5817663669586182, 0.28637203574180603, 0.23689834773540497, 0.5661624670028687, 0.3682089149951935, 0.552480936050415, -0.2834065854549408, -0.40183955430984497, 0.2506111264228821, -0.6846389770507812, 0.6428434252738953, 0.12003391981124878, -0.5452105402946472, 0.01357434131205082, -0.7787986397743225, -0.16917383670806885, 0.012876416556537151, -0.18430940806865692, -0.08903812617063522, 0.25903773307800293, -0.4505707919597626, -0.09232686460018158, 0.10160212218761444, -0.5712978839874268, 0.45745232701301575, -0.46847638487815857, -0.32020583748817444, 0.8369978666305542, 0.41730639338493347, -0.07626229524612427, -0.29729488492012024, 0.30753135681152344, 0.3223625421524048, 0.22435030341148376, -0.11362142860889435, -0.6083498597145081, -0.537398636341095, -0.10886441916227341, -0.16049246490001678, 0.4944310188293457, -0.590663492679596, 1.011959433555603, 0.05675323307514191, -0.1422787755727768, -0.4529784917831421, -0.005925548728555441, 0.3304697871208191, 0.9326301217079163, 0.6454253792762756, 0.1140657439827919, -0.8238049745559692, -0.9311935305595398, 0.05598307028412819, -0.6079494953155518, -0.01572605036199093, -0.09875530749559402, 0.5010845065116882, -0.556152880191803, 0.8027150630950928, -0.5489363670349121, -0.5640913844108582, 0.0030679279007017612, 0.14355772733688354, 0.31064876914024353, 0.5632370114326477, 0.18330863118171692, -0.6912334561347961, 0.006816311273723841, -0.03922127187252045, -0.8809143304824829, -0.17085148394107819, -0.28949403762817383, 0.09232574701309204, 0.4770137071609497, 0.0035466665867716074, -0.589446485042572, 0.8222254514694214, 0.5537954568862915, -0.3645811080932617, 1.0039880275726318, -0.1344948559999466, 0.037966471165418625, -1.0397255420684814, -0.5206572413444519, -0.19545632600784302, -0.3733407258987427, -0.2762947678565979, -0.04137345030903816, -0.20169566571712494, 0.5745346546173096, -0.19046646356582642, -0.0882941409945488, -0.24328292906284332, -0.36366036534309387, -0.338569700717926, -0.03135686367750168, -0.2609752118587494, 0.34266406297683716, 0.5235915780067444, 0.6451317667961121, 0.6028243899345398, -0.4817635118961334, 0.28178778290748596, 0.2496536374092102, -0.3092743456363678, 0.5427636504173279, -0.2942470610141754, -0.14428232610225677, -0.028426913544535637, 0.33138182759284973, -0.8487071394920349, 0.10145915299654007, 0.5753787159919739, -0.49320104718208313, 0.16662271320819855, -0.10130312293767929, -0.7320510149002075, -0.1699863225221634, -0.27557483315467834, 0.05394976586103439, 0.531169593334198, -0.9065343737602234, 0.6057170629501343, -0.022291915491223335, 0.2794053852558136, -0.5487675666809082, -0.6487215161323547, 0.040227122604846954, -0.13948646187782288, -0.6702216863632202, 0.5971308946609497, -0.27385595440864563, -0.20170889794826508, 0.06803233176469803, -0.6521209478378296, 0.41711539030075073, 0.10245518386363983, 0.4493981599807739, 0.16847209632396698, -0.22016459703445435, 0.21590350568294525, 0.1679076850414276, -0.18777990341186523, 0.3061840236186981, -0.6309647560119629, 0.5324673056602478, -0.2256610095500946, -0.730118989944458, -0.6877336502075195, 0.16080066561698914, -0.015544355846941471, 0.44596269726753235, 0.7150146961212158, 0.4429793059825897, -0.6803367733955383, -0.46266576647758484, -0.6120104789733887, -0.4539981782436371, -0.4439803659915924, 0.11952483654022217, -0.6951207518577576, -0.6225164532661438, 0.26083728671073914, -0.3932130038738251, -0.24085120856761932, 0.18049710988998413, 0.5083856582641602, -0.2820051908493042, 1.0821125507354736, 0.46032026410102844, 0.23717550933361053, 0.009876941330730915, -0.2141554355621338, 0.21326278150081635, -0.7282251715660095, -0.47590890526771545, -0.17547179758548737, 0.06812424212694168, -0.7227433323860168, -0.679229199886322, 0.3277948200702667, 0.36771485209465027, 0.23133239150047302, 0.2274618148803711, -0.8963013887405396, 0.3126698136329651, 0.4392431676387787, 0.3087279498577118, 0.7513456344604492, 0.15755301713943481, -0.2612575590610504, 0.052585799247026443, -0.3097127079963684, -0.6406036019325256, 0.8626641631126404, 0.38376253843307495, 0.5698074102401733, 0.13003472983837128, 1.0682785511016846, 0.4911969006061554, 0.40561649203300476, -0.7359938621520996, 0.882783830165863, 0.2625586986541748, -0.4064369797706604, -0.2952810227870941, -0.45217758417129517, -0.6890362501144409, 0.3190447688102722, -0.2780475616455078, -1.0185002088546753, 0.25955691933631897, 0.15622596442699432, -0.06479277461767197, 0.499959796667099, -0.44133561849594116, 0.5172582864761353, -0.16483274102210999, -0.19443219900131226, -0.37129223346710205, -0.41973811388015747, 0.5661805272102356, -0.367178350687027, -0.009883478283882141, 0.046702153980731964, 0.24178384244441986, 0.756725549697876, -0.38070210814476013, 0.8081947565078735, -0.3969520032405853, -0.15141074359416962, 0.2552834153175354, 0.48246002197265625, 0.8123899102210999, 0.3511921167373657, 0.010147659108042717, -0.041813746094703674, 0.0905836969614029, -0.0174405537545681, -0.6221332550048828, 0.6378050446510315, -0.5220842361450195, -0.9273063540458679, -0.43934622406959534, -0.42656150460243225, -0.24433238804340363, -0.03788293898105621, 0.014808918349444866, 0.015865908935666084, 0.012648156844079494, 0.13548028469085693, 0.9490777850151062, -0.21601684391498566, 0.212515190243721, 0.1714109182357788, -0.6590800285339355, -0.32844725251197815, 0.7887674570083618, -0.034762486815452576, 0.06129874661564827, 0.42445674538612366, 0.2609567642211914, -0.6510600447654724, -0.9961920380592346, 0.16262894868850708, 0.46732470393180847, -0.8217207789421082, -0.20099598169326782, -0.630158543586731, -0.26576173305511475, -0.39430302381515503, -0.04593445360660553, -0.07632032036781311, -0.38846129179000854, -0.04451052099466324, -0.5605015158653259, 0.3236579895019531, 0.42791318893432617, -0.29691368341445923, 0.41319528222084045, -0.2784307897090912, 0.7976285815238953, 0.3746461868286133, 0.20859019458293915, -0.22460366785526276, -0.459504634141922, 0.18275238573551178, 0.1086314395070076, -0.3839496970176697, -1.087863802909851, 0.504817545413971, -0.23479507863521576, 0.5079002976417542, 0.7777978181838989, 0.2097388207912445, 0.7473483085632324, -0.22738327085971832, 0.311791330575943, 0.2638518512248993, -0.7695120573043823, 0.8564082384109497, -0.05872007831931114, -0.36102309823036194, 0.3744286298751831, 0.3765406608581543, -0.22847267985343933, -0.5419958829879761, -0.7414081692695618, -0.19430865347385406, 0.4205029308795929, 0.286896675825119, -0.374738872051239, -0.10177905857563019, 0.21518290042877197, 0.21914927661418915, 0.2596414089202881, -0.9802897572517395, -0.3116512894630432, -0.10900215059518814, -0.05989369750022888, 0.11777648329734802, -0.4153801500797272, -0.21126139163970947, -0.3902125954627991, 0.6781980395317078, -0.15519402921199799, 0.335165798664093, 0.41389229893684387, 0.009345848113298416, -0.1676095426082611, 0.029677478596568108, 0.3297882080078125, 0.6108198165893555, -0.8297747373580933, 0.6577362418174744, 0.08640404045581818, -0.36090087890625, 0.2664567530155182, -0.04093673825263977, -0.47572723031044006, 0.2219814509153366, 0.4663589596748352, 0.4857693910598755, -0.1889321208000183, -0.4192877411842346, 0.44100886583328247, 0.16034619510173798, -0.4066215455532074, -0.5956106185913086, 0.02902282029390335, 0.2667803466320038, 0.38605937361717224, 0.5233048796653748, 0.11037565767765045, 0.16730988025665283, -0.6782354116439819, 0.6281709671020508, 0.46110954880714417, -0.10405144840478897, -0.3584553599357605, 0.7337709069252014, -0.2656918466091156, -0.519159734249115, 0.4196062684059143, -0.4654272496700287, -0.6663573980331421, 0.37654051184654236, 0.9711095690727234, 0.9427374005317688, -0.37920454144477844, 0.5130462050437927, 0.11797783523797989, 0.36100664734840393, -0.04934440925717354, 0.4257560074329376, -0.265219509601593, -0.8885079622268677, -0.5158625841140747, -0.8730195164680481, -0.32037296891212463, 0.2058171033859253, -0.08866333216428757, 0.10582803189754486, -0.29025644063949585, 0.04719969257712364, -0.17640601098537445, 0.10035637766122818, -0.2148546576499939, 0.25156646966934204, 0.23484937846660614, 0.6505753397941589, -0.902213990688324, 1.1094691753387451, 0.08688363432884216, -0.23184671998023987, -0.6862412691116333, 0.40313518047332764, -0.031318653374910355, -0.8635744452476501, 0.6387444138526917, 0.3478478193283081, -0.2879600524902344, -0.09539850801229477, -0.4359992444515228, -0.4146304428577423, 1.0221282243728638, 0.2616702914237976, -0.5806342363357544, 0.050543736666440964, 0.11827995628118515, 0.4508028030395508, -0.5119972825050354, -0.05487220734357834, 0.5300363302230835, 0.6409425139427185, 0.5079324841499329, -0.38314247131347656, 0.36098554730415344, 0.3978908658027649, -0.14196418225765228, -0.18318168818950653, -0.08078274875879288, 0.2907346189022064, -0.3323060870170593, -0.3097224235534668, -0.1445963978767395, 0.8734989166259766, 0.8988654017448425, 0.5235269069671631, 0.6745174527168274, 0.48186901211738586, 0.9214206337928772, 0.06432278454303741, 0.7028165459632874, -0.37594208121299744, 0.05065839737653732, 1.0852158069610596, -0.10377159714698792, 0.7292549014091492, 0.7501618266105652, -0.2378903478384018, 0.5303387641906738, 0.709947943687439, -0.07598069310188293, 0.5219743251800537, 0.46609261631965637, -0.5305776596069336, -0.40494346618652344, -0.41224899888038635, -0.4459426999092102, 0.05312170833349228, 0.5177945494651794, -0.30293333530426025, -0.05902964994311333, -0.11240778863430023, -0.11544518917798996, 0.06390772759914398, -0.05286872014403343, 0.39052748680114746, 0.09065782278776169, -0.6016727089881897, 0.7479276657104492, -0.14427165687084198, 0.7646023631095886, -0.3479478657245636, -0.42204126715660095, -0.33989524841308594, 0.1700461506843567, -0.5905861854553223, -0.8251854181289673, 0.45035332441329956, -0.34335488080978394, 0.10772360861301422, -0.24367907643318176, 0.7329687476158142, -0.36044055223464966, -0.5126441717147827, 0.45283013582229614, 0.5150505304336548, 0.5292376279830933, -0.18148019909858704, -0.2601928114891052, -0.03573247790336609, 0.25369834899902344, -0.26188284158706665, 0.18827740848064423, 0.5869595408439636, 0.0070986379869282246, 0.8577467203140259, 0.7459088563919067, 0.5399370193481445, 0.04555148258805275, 0.14930006861686707, 0.7911984324455261, -0.4521206021308899, -0.15038138628005981, -0.8572899103164673, 0.042329154908657074, -0.01974751241505146, 0.32580941915512085, 0.7956519722938538, 0.6160631775856018, 0.6213072538375854, -0.05415675416588783, 0.5663729906082153, 0.23672054708003998, 0.38255301117897034, -0.611346960067749, 0.33188119530677795, -0.28294190764427185, 0.5841284394264221, -0.31230464577674866, -1.122107744216919, -0.4408509433269501, 0.9502658843994141, -0.049295760691165924, -0.13721652328968048, 0.8490484356880188, 1.0641677379608154, 0.12092489749193192, 0.05223453789949417, 0.5040526390075684, 0.4203488528728485, 0.2043629288673401, 0.5793974995613098, 0.9989363551139832, -0.071645088493824, 0.45545223355293274, -0.3846287429332733, -0.2670906186103821, -0.2837561070919037, -0.915115475654602, -0.7348431944847107, -0.5394549369812012, -0.6531167030334473, -0.4479162395000458, 0.0943518802523613, 0.7372980713844299, 0.5875293612480164, -0.7220749258995056, -0.02303234487771988, -0.47180092334747314, 0.636874258518219, -0.48666587471961975, -0.2687828540802002, 0.6604411602020264, -0.0799080953001976, -0.31923946738243103, 0.6573543548583984, 0.41653284430503845, 0.24363301694393158, -0.47653478384017944, -0.1795703023672104, -0.21261893212795258, -0.10228077322244644, 0.5492912530899048, -0.13181789219379425, -0.9461051225662231, -0.5580074787139893, -0.1330007016658783, 0.2951880097389221, 0.16466708481311798, 0.33410951495170593, -1.155510425567627, 0.4789541959762573, 0.3092617988586426, 0.44854384660720825, 0.5285290479660034, 0.23020832240581512, 0.11033502966165543, -0.8266828060150146, -0.08573034405708313, 0.41457638144493103, 0.3700719475746155, 0.14309397339820862, -0.5643255114555359, 0.8252958655357361, 0.7945530414581299, -0.391337126493454, -1.0785797834396362, 0.30839142203330994, -1.0913478136062622, -0.5145788788795471, 1.1155565977096558, 0.10723616182804108, -0.12393978238105774, -0.2889676094055176, -0.22709299623966217, 0.24665947258472443, -0.11136762797832489, 0.9954881072044373, 0.38976404070854187, -0.5144994258880615, -0.12912261486053467, -0.32669249176979065, 0.5084331631660461, 0.2125755250453949, -0.6973770260810852, 0.13048963248729706, 0.574604332447052, 0.12862879037857056, 0.3960850238800049, 0.7224984169006348, 0.12946462631225586, -0.03193606808781624, 0.1284707933664322, 0.20136843621730804, -0.12144605815410614, -0.4750443994998932, -0.1732303351163864, 0.38940688967704773, 0.06508663296699524, -0.26365360617637634 ]
http://arxiv.org/abs/2406.06938v1
http://arxiv.org/pdf/2406.06938v1
Post-Hoc Answer Attribution for Grounded and Trustworthy Long Document Comprehension: Task, Insights, and Challenges
2024-06-11T04:31:54
2024-06-11T04:31:54
Abhilasha Sancheti, Koustava Goswami, Balaji Vasan Srinivasan
cs.CL
cs.CL
Attributing answer text to its source document for information-seeking questions is crucial for building trustworthy, reliable, and accountable systems. We formulate a new task of post-hoc answer attribution for long document comprehension (LDC). Owing to the lack of long-form abstractive and information-seeking LDC datasets, we refactor existing datasets to assess the strengths and weaknesses of existing retrieval-based and proposed answer decomposition and textual entailment-based optimal selection attribution systems for this task. We throw light on the limitations of existing datasets and the need for datasets to assess the actual performance of systems on this task.
[ -0.4018043279647827, -0.6305311918258667, 0.9897270202636719, -0.025755535811185837, -0.465570867061615, -0.12762975692749023, 0.06088868901133537, -0.5689716339111328, 0.3097468614578247, 0.4952341616153717, -0.7311134338378906, -0.17643104493618011, -0.5109046697616577, 0.2799204885959625, -0.3751738667488098, 1.0877745151519775, -0.3798845708370209, -0.3524039387702942, -0.9325109124183655, -0.25987663865089417, -0.3351324498653412, -0.520810067653656, -0.6269733309745789, -0.3704359531402588, 0.5762379765510559, 0.49590569734573364, 0.31336989998817444, 0.40551337599754333, 0.5416125059127808, 0.12299653142690659, -0.24337194859981537, 0.16851095855236053, -0.6471535563468933, 0.2680642902851105, -0.45953235030174255, -0.2219100296497345, -0.39087459444999695, 0.22558723390102386, 0.5548243522644043, 0.6505207419395447, -0.1978609561920166, 0.5421174168586731, 0.10115629434585571, 0.7672635316848755, -0.9815051555633545, 0.14225663244724274, -0.6206669211387634, -0.24434176087379456, 0.02842126414179802, -0.49459680914878845, -0.508028507232666, -0.714185893535614, 0.13285735249519348, -1.0008878707885742, 0.1569698601961136, 0.0015705983387306333, 0.4364003539085388, 0.34715548157691956, -0.6691672205924988, -0.7461420893669128, -0.548171877861023, 0.7952075600624084, -0.23183706402778625, 0.23166397213935852, 0.9355396628379822, 0.12448789179325104, 0.2751776874065399, -0.5200027227401733, -0.22963039577007294, 0.019563984125852585, -0.18905134499073029, 0.277055025100708, 0.17227362096309662, -0.19180083274841309, 0.1773197501897812, 0.34595435857772827, -0.5228996872901917, -0.05095737427473068, -0.5088019967079163, -0.24542471766471863, 0.6138233542442322, 0.016766397282481194, -0.3359602689743042, -0.29606905579566956, -0.42021381855010986, 0.026057207956910133, -0.7473668456077576, 0.16197235882282257, 0.34663912653923035, -0.11293996125459671, 0.24320539832115173, 0.7519050240516663, -0.3980415463447571, 0.6591863036155701, -0.04649604484438896, 0.2519778609275818, 0.09458185732364655, -0.7156351208686829, 0.10913360863924026, 0.40758463740348816, 0.26154106855392456, 0.43730852007865906, 0.12347953021526337, -0.0781097561120987, -0.47848260402679443, -0.09055513143539429, 0.34734854102134705, -0.6872671246528625, -0.02877463772892952, 0.24710892140865326, -0.6741892695426941, -0.4699622392654419, 0.19703997671604156, -0.5797457098960876, -0.40575215220451355, -0.5013558268547058, 0.23479235172271729, -0.19672143459320068, -0.13431128859519958, -0.0773267149925232, -0.3840154707431793, 0.541589617729187, 0.5732693076133728, -0.5942727327346802, 0.41975995898246765, 0.6044572591781616, 0.7300518751144409, -0.2981652021408081, -0.043478045612573624, -0.7106677293777466, 0.26989009976387024, -0.5237785577774048, 1.0034236907958984, -0.378741592168808, -0.4339727759361267, 0.06674319505691528, 0.16731862723827362, 0.11969482153654099, -0.6776192784309387, 0.9304589629173279, -0.7921965718269348, 0.20518803596496582, -0.6960225701332092, -0.619432270526886, 0.2325444519519806, 0.41935136914253235, -0.873690128326416, 0.989456832408905, 0.19978658854961395, -1.099067211151123, 0.34322965145111084, -0.704520046710968, -0.578711748123169, -0.18663497269153595, -0.04613868147134781, -0.06436678767204285, 0.0739932432770729, 0.33749377727508545, 0.4177408516407013, -0.5193065404891968, 0.12604646384716034, -0.300680011510849, -0.32963553071022034, 0.38309144973754883, -0.2624456584453583, 0.9572126865386963, 0.3505290746688843, 0.0005021868273615837, 0.022025160491466522, -0.8175732493400574, 0.14518822729587555, 0.2264685034751892, -0.505928635597229, -0.4352538585662842, 0.31307661533355713, -0.2128489911556244, -0.059720639139413834, 0.3808198869228363, -0.7416999936103821, -0.3091268539428711, -0.17886917293071747, 0.3060795068740845, 1.083784818649292, 0.0014430523151531816, 0.43592941761016846, -0.514123797416687, 0.6199563145637512, -0.230089470744133, 0.03972887992858887, -0.08776405453681946, -0.16998401284217834, -0.2151833474636078, -0.008629035204648972, -0.07786529511213303, 0.5800219774246216, -1.0513179302215576, 0.41412219405174255, -0.41590020060539246, -0.29718661308288574, -0.46570271253585815, -0.04870842397212982, 0.2793128192424774, 0.9039943814277649, 0.5097451210021973, -0.0014669967349618673, -0.2914324998855591, -0.8643022775650024, -0.09887435287237167, -0.2926008999347687, -0.4007379114627838, 0.38522326946258545, 0.5376573801040649, 0.11753436177968979, 0.925070583820343, -0.8040640950202942, 0.011356484144926071, 0.005325627513229847, -0.0959315076470375, 0.10446007549762726, 0.26551109552383423, 0.37717190384864807, -0.8822808265686035, -0.23652568459510803, -0.18778479099273682, -0.9010342955589294, -0.040270522236824036, 0.15999387204647064, -0.04373212158679962, 0.148451566696167, 0.7538152933120728, -0.6652187705039978, 0.37111830711364746, 0.3262331783771515, -0.27737948298454285, 0.9242036938667297, -0.07451026141643524, 0.4229620695114136, -0.8546388745307922, 0.511110782623291, -0.46721455454826355, -0.24293836951255798, -0.10357391834259033, 0.08345021307468414, 0.15542109310626984, -0.19148969650268555, -0.3418833315372467, 0.5832733511924744, -0.3270609676837921, -0.10002255439758301, -0.0966733992099762, 0.41867566108703613, 0.11809036880731583, 0.18423917889595032, -0.011352071538567543, 0.5162116289138794, 0.35641101002693176, -0.5486944317817688, 0.945235013961792, 0.36208802461624146, -0.5738202929496765, 0.8389779925346375, -0.8346244096755981, 0.2956406772136688, -0.5210582613945007, 0.6011285185813904, -0.9845126271247864, -0.41729938983917236, 0.13869604468345642, -0.5436754822731018, 0.0024581204634159803, 0.10418103635311127, -0.4973345100879669, -0.3776131272315979, -0.5695393681526184, 0.6294989585876465, 0.31332454085350037, -0.6476492285728455, 0.21513807773590088, 0.05595056340098381, -0.2852436304092407, -0.6673486232757568, -0.6287783980369568, -0.30262425541877747, -0.11773056536912918, -0.4864058494567871, 0.26147785782814026, -0.1233898475766182, -0.2806119918823242, 0.0030058231204748154, -0.306747704744339, -0.12408389151096344, 0.05321928486227989, 0.05650802329182625, 0.10533027350902557, -0.2241280972957611, 0.30285659432411194, 0.05900295823812485, -0.38970157504081726, 0.38540926575660706, 0.0020810049027204514, 0.14614659547805786, 0.15071256458759308, -0.5408207178115845, -0.2729719281196594, 0.8557281494140625, 0.45923930406570435, -0.3794174790382385, 0.9256555438041687, 0.1359332650899887, -0.4660347104072571, -0.08944980055093765, -0.40462446212768555, -0.46807047724723816, -0.4509964883327484, 0.15866176784038544, -0.2549629509449005, -0.8618465662002563, 0.6908624172210693, 0.10371038317680359, -0.0029657301492989063, 0.5492836833000183, 0.09395520389080048, -0.24172578752040863, 0.3741251528263092, 0.24754035472869873, -0.018630042672157288, 0.17223891615867615, 0.10207828134298325, -0.01814369112253189, -0.7313177585601807, -0.2411404252052307, -0.7666263580322266, -0.008816637098789215, -0.24262882769107819, -0.218324676156044, -0.06817232817411423, 0.04128503054380417, -0.07429912686347961, 0.0298074372112751, -0.5311171412467957, 0.46370580792427063, 0.44609448313713074, 0.37333789467811584, 0.2976498305797577, -0.12815065681934357, 0.2808879315853119, 0.21553286910057068, -0.24714824557304382, -0.3837549686431885, 1.0892212390899658, 0.21902373433113098, 0.7033939957618713, 0.014347393997013569, 0.4509035646915436, 0.2908810079097748, 0.21603180468082428, -0.7717328667640686, 0.5620868802070618, 0.12465671449899673, -0.8584829568862915, -0.6701244711875916, -0.45703309774398804, -0.7379976511001587, -0.15932415425777435, 0.07083006948232651, -0.49398913979530334, 0.0344993881881237, 0.14475657045841217, -0.12579227983951569, 0.007807827088981867, -0.4858244061470032, 0.7412238121032715, 0.18879170715808868, -0.1656617373228073, -0.12607283890247345, -0.8522422909736633, 0.08220914751291275, -0.35636356472969055, 0.10881078243255615, 0.021403994411230087, -0.007086360827088356, 1.1049587726593018, -0.31593024730682373, 0.34421947598457336, -0.23838721215724945, -0.26152071356773376, 0.6734459400177002, -0.07749778777360916, 0.8830075263977051, 0.1058688685297966, -0.6242445111274719, -0.38869333267211914, 0.26491060853004456, -0.5869426131248474, -0.6309763789176941, 0.5755653977394104, -0.48324787616729736, -0.4742140471935272, -0.23841416835784912, 0.10644256323575974, -0.17227928340435028, 0.28288552165031433, 0.4651087820529938, 0.4899480640888214, -0.360272616147995, 0.7258750796318054, 0.8191335201263428, 0.05213721841573715, 0.08325537294149399, 0.25262704491615295, 0.0829324796795845, -0.20085260272026062, 0.706601619720459, 0.038335446268320084, 0.2613126337528229, 0.3773931860923767, 0.03883077949285507, -0.4023714065551758, -0.7307753562927246, -0.18437625467777252, 0.17747247219085693, -1.0815870761871338, -0.2468453347682953, -0.25206801295280457, -0.20090891420841217, -0.4723745584487915, -0.6024485230445862, -0.3785706162452698, -0.2350025773048401, -0.6325315237045288, -0.6039804816246033, 0.22541522979736328, 0.6414742469787598, 0.15790726244449615, 0.05734918266534805, -0.5514597296714783, 0.49023061990737915, 0.3248312473297119, 0.5138869285583496, -0.277778685092926, -0.49202150106430054, -0.2967280447483063, 0.21779382228851318, -0.1868380755186081, -0.94877690076828, -0.24821670353412628, 0.06746820360422134, 0.7142102122306824, 0.21324139833450317, 0.608643114566803, 0.4144327938556671, -0.18649454414844513, 0.7580711841583252, 0.05212468281388283, -0.6140857338905334, 0.8840036988258362, -0.4649636447429657, 0.29516687989234924, 0.7925131916999817, 0.6924445629119873, -0.32841888070106506, -0.2092912346124649, -0.37878817319869995, -0.942824125289917, 0.8936684131622314, 0.27100056409835815, -0.18938231468200684, 0.04115383327007294, 0.703334391117096, 0.10426181554794312, 0.14350929856300354, -0.5100794434547424, -0.03792668133974075, -0.26768210530281067, -0.15094883739948273, -0.39400559663772583, -0.42204567790031433, -0.3207504451274872, 0.018496200442314148, 0.5669927597045898, -0.26315775513648987, 0.2844584286212921, 0.47609660029411316, -0.1756618320941925, -0.24421364068984985, 0.19858592748641968, 0.46555840969085693, 0.9503525495529175, -0.3594770133495331, 0.3349320888519287, 0.1835954487323761, -0.3720046579837799, 0.22629228234291077, 0.1078265830874443, 0.09180823713541031, -0.19626285135746002, 0.6716521978378296, 0.49607524275779724, -0.15237073600292206, -0.6504039168357849, 0.5955691933631897, 0.1206854060292244, -0.44773703813552856, -0.4536212682723999, -0.18889784812927246, 0.17320391535758972, -0.21335366368293762, 0.6360575556755066, -0.07103578746318817, 0.2445935755968094, -0.3952864110469818, 0.44522783160209656, 0.20998676121234894, -0.5465796589851379, -0.08019090443849564, 0.36164191365242004, 0.08259985595941544, 0.0028227863367646933, 0.9255436062812805, 0.132036030292511, -0.15036767721176147, 0.6961653232574463, 0.4290190637111664, 0.610832154750824, -0.37196704745292664, 0.36423325538635254, 0.3477785289287567, 0.24420161545276642, -0.038945093750953674, 0.04405460134148598, -0.19360089302062988, -0.5565313696861267, -0.338647723197937, -0.4401131272315979, -0.18661253154277802, -0.021591821685433388, -1.0248881578445435, 0.08766428381204605, -0.3489310145378113, 0.04317917674779892, -0.16234850883483887, -0.14545857906341553, -0.44299083948135376, 0.2740795612335205, -0.08969585597515106, 0.8176373839378357, -0.7775754332542419, 0.6279079914093018, 0.6381791830062866, -0.06487860530614853, -0.5152411460876465, -0.1889592409133911, -0.11558974534273148, -0.534403920173645, 0.4775744378566742, 0.14091216027736664, -0.36071667075157166, -0.14772748947143555, -0.6621476411819458, -0.8484606146812439, 1.208253026008606, 0.5108960866928101, 0.2096836268901825, -0.17740146815776825, -0.07529836148023605, 0.3766866624355316, -0.1537320613861084, 0.13198600709438324, 0.3837885856628418, 0.46879610419273376, 0.24781300127506256, -0.9304898977279663, 0.31161439418792725, -0.18757224082946777, -0.3567996621131897, -0.01363085675984621, -0.3651382327079773, 0.664658784866333, 0.005493752658367157, -0.2145567238330841, -0.1779155731201172, 0.5611757040023804, 0.3544866144657135, 0.5604496598243713, 0.5693366527557373, 0.26515740156173706, 0.7492387890815735, 0.05803265422582626, 1.0344793796539307, 0.34739071130752563, 0.3674679696559906, 1.2606194019317627, -0.22179651260375977, 1.044132947921753, 0.762575089931488, -0.19052457809448242, 0.3878971040248871, 0.9419626593589783, 0.3547913432121277, 0.7059651017189026, 0.2858301103115082, -0.3468524217605591, -0.1968795508146286, -0.29621729254722595, -0.36915212869644165, 0.36647844314575195, 0.36061206459999084, -0.4132889211177826, -0.18410466611385345, -0.0707710012793541, -0.32983285188674927, 0.045614298433065414, -0.16473060846328735, 0.9016702175140381, -0.011848370544612408, -0.8245207071304321, 0.5530758500099182, -0.1680273860692978, 0.26319146156311035, -0.6891173124313354, 0.06281869858503342, -0.1351429969072342, 0.06392811238765717, -0.30092281103134155, -1.1379908323287964, 0.5933705568313599, -0.2467583864927292, -0.36015644669532776, -0.4699254035949707, 0.902066707611084, -0.14905205368995667, -0.1814035177230835, 0.3584289848804474, 0.1837625652551651, 0.13135968148708344, -0.42125654220581055, -0.34745165705680847, -0.1125166192650795, 0.014883342199027538, -0.6880425810813904, 0.12474296987056732, 0.5545644760131836, 0.10212833434343338, 0.7518948912620544, 0.671374499797821, -0.20471253991127014, -0.18658089637756348, -0.58808434009552, 1.0218802690505981, -0.5434363484382629, -0.7089337110519409, -0.4503931999206543, 0.5328779220581055, -0.2358693927526474, -0.08552607148885727, 0.5647833943367004, 0.6117238402366638, 0.6937380433082581, -0.08137503266334534, 0.747002124786377, -0.05870497599244118, 0.7989324331283569, -0.6476070284843445, 0.7567753791809082, -0.7227551341056824, 0.05533761531114578, -0.1805744469165802, -0.9320323467254639, -0.04093119129538536, 0.49382859468460083, -0.23902791738510132, -0.08306708186864853, 1.0097651481628418, 0.5304217338562012, -0.03797776624560356, 0.09072820842266083, 0.10564441233873367, -0.2244005650281906, 0.40283331274986267, 0.48556873202323914, 0.7966360449790955, -0.3024839460849762, 0.668831467628479, 0.02304234355688095, -0.3497450351715088, -0.40530234575271606, -0.8960909843444824, -0.513347864151001, -0.8538829684257507, -0.19601845741271973, -0.30230027437210083, 0.07311441749334335, 0.5027905106544495, 0.35178104043006897, -0.82300865650177, 0.01226835511624813, 0.0985163003206253, 0.3754108250141144, -0.0013235446531325579, -0.24958482384681702, 0.6718060374259949, -0.03954702243208885, -0.007497215177863836, 0.2446364015340805, -0.09399724751710892, 0.007441220339387655, 0.1384076625108719, -0.11716947704553604, -0.1930796205997467, 0.03705310449004173, 0.7933447360992432, 0.20473912358283997, -0.5075027346611023, -0.6092561483383179, 0.22934672236442566, -0.14085915684700012, -0.06585267931222916, 1.2013357877731323, -0.503918468952179, 0.43509185314178467, 0.5708595514297485, 0.6996477246284485, 0.2914426028728485, 0.31089314818382263, 0.47583723068237305, -0.7235326766967773, 0.08670848608016968, 0.46492472290992737, 0.06603420525789261, 0.16848531365394592, -0.45371806621551514, 0.3601851761341095, 0.12118213623762131, -0.7454210519790649, -0.6912207007408142, 0.2144172042608261, -1.0344918966293335, -0.42892757058143616, 1.2033400535583496, -0.330400675535202, -0.08154191821813583, -0.4127205014228821, -0.22293049097061157, 0.1982688158750534, -0.32027965784072876, 0.45086777210235596, 1.028145670890808, -0.0315094068646431, -0.10709361732006073, -0.41313523054122925, 0.6559774279594421, 0.30367881059646606, -0.9798991680145264, 0.5437390208244324, 0.7036741971969604, -0.023492608219385147, 0.1337074339389801, 1.0644201040267944, -0.11211151629686356, 0.186168372631073, 0.11629554629325867, -0.4292603135108948, 0.02393903210759163, -0.3391556441783905, 0.008888320066034794, 0.29949474334716797, 0.13616304099559784, -0.19502602517604828 ]
http://arxiv.org/abs/2406.06937v1
http://arxiv.org/pdf/2406.06937v1
A Non-autoregressive Generation Framework for End-to-End Simultaneous Speech-to-Any Translation
2024-06-11T04:25:48
2024-06-11T04:25:48
Zhengrui Ma, Qingkai Fang, Shaolei Zhang, Shoutao Guo, Yang Feng, Min Zhang
cs.CL
cs.CL, cs.AI, cs.SD, eess.AS
Simultaneous translation models play a crucial role in facilitating communication. However, existing research primarily focuses on text-to-text or speech-to-text models, necessitating additional cascade components to achieve speech-to-speech translation. These pipeline methods suffer from error propagation and accumulate delays in each cascade component, resulting in reduced synchronization between the speaker and listener. To overcome these challenges, we propose a novel non-autoregressive generation framework for simultaneous speech translation (NAST-S2X), which integrates speech-to-text and speech-to-speech tasks into a unified end-to-end framework. We develop a non-autoregressive decoder capable of concurrently generating multiple text or acoustic unit tokens upon receiving fixed-length speech chunks. The decoder can generate blank or repeated tokens and employ CTC decoding to dynamically adjust its latency. Experimental results show that NAST-S2X outperforms state-of-the-art models in both speech-to-text and speech-to-speech tasks. It achieves high-quality simultaneous interpretation within a delay of less than 3 seconds and provides a 28 times decoding speedup in offline generation.
[ -0.10466646403074265, -0.5275247693061829, 0.12468875199556351, 0.5779178738594055, -0.7043747305870056, 0.12609803676605225, -0.20679661631584167, -0.375146746635437, 0.325486421585083, 0.35723939538002014, -0.6173579096794128, -0.13710343837738037, -0.5845922827720642, 0.35478341579437256, -0.7557345032691956, 0.9926251173019409, 0.05794307589530945, -0.16827991604804993, -0.02444477006793022, -0.13442973792552948, -0.602506160736084, -0.28876084089279175, -0.7054623961448669, -0.08331456780433655, -0.1173604279756546, 0.33892565965652466, 0.5435413718223572, 0.7307758927345276, -0.0034959944896399975, 0.16593268513679504, 0.07696804404258728, 0.23924191296100616, -0.40153399109840393, 0.47205427289009094, -0.09727797657251358, -0.10521932691335678, -0.4606736898422241, -0.4297908544540405, 0.8566082119941711, 0.36586230993270874, -0.1584530919790268, 0.07257528603076935, -0.06364341825246811, 0.42747437953948975, -0.48790132999420166, 0.26353704929351807, -0.5599528551101685, -0.00679723359644413, -0.23772265017032623, -0.3189728856086731, -0.4219878017902374, -0.21748360991477966, -0.13546793162822723, -0.30999723076820374, -0.010505130514502525, -0.021688692271709442, 0.39911916851997375, 0.653679609298706, -0.6818941831588745, -0.061189182102680206, -0.5000069737434387, 0.5870040655136108, -0.765410840511322, 0.6333328485488892, 0.016233578324317932, 0.11345082521438599, -0.18369023501873016, -0.744805097579956, -0.6363298296928406, 0.059092842042446136, 0.21614256501197815, 0.47994691133499146, -0.2929976284503937, -0.04059997573494911, -0.2543456554412842, 0.3730469048023224, -0.7492620348930359, 0.05298139527440071, 0.23291389644145966, 0.011168735101819038, 0.6121924519538879, 0.02957364358007908, 0.18787448108196259, -0.34335893392562866, -0.4610659182071686, 0.1376798450946808, -0.39196261763572693, -0.09759381413459778, 0.1260225921869278, 0.40981540083885193, -0.3470693528652191, 0.38149046897888184, -0.12673057615756989, 0.49484556913375854, 0.3005627989768982, 0.10713952034711838, 0.22511768341064453, -0.7072457075119019, -0.20860029757022858, 0.23563005030155182, 0.973199725151062, 0.2048317939043045, -0.33231937885284424, -0.6525415778160095, -0.31183677911758423, 0.020338861271739006, -0.048526421189308167, -0.58710116147995, 0.10794331133365631, 0.22204117476940155, -0.4574258327484131, -0.4137020409107208, -0.3128584623336792, -0.741759717464447, 0.2940642833709717, 0.1324402093887329, 0.38785499334335327, 0.004766977392137051, -0.5781294107437134, 0.050824958831071854, -0.04441780596971512, 0.08525767177343369, -0.06648269295692444, -0.7696565985679626, 0.5102108716964722, 0.17091765999794006, 1.0069026947021484, -0.42324212193489075, -0.12867605686187744, -0.8293816447257996, 0.08553413301706314, -0.5981717705726624, 0.6535736918449402, -0.02972324937582016, -0.5626257061958313, -0.22591282427310944, -0.2656000852584839, -0.022855818271636963, -0.07089243084192276, 0.4890904128551483, -0.29567477107048035, 0.20869435369968414, 0.07295866310596466, -0.29828447103500366, 0.1819264143705368, -0.39602112770080566, -0.3274781107902527, 1.0591413974761963, 0.20562776923179626, -0.674445629119873, 0.054264649748802185, -0.781096875667572, -0.6886895298957825, 0.11317136138677597, -0.3458344638347626, -0.5593185424804688, 0.31472107768058777, 0.11438432335853577, 0.13503868877887726, -0.7333468794822693, 0.629939079284668, 0.1323433816432953, -0.08651436120271683, 0.04658365249633789, -0.7214733362197876, 0.5784951448440552, 0.3591167628765106, -0.6548985838890076, -0.03659217804670334, -0.8838209509849548, 0.22870424389839172, 0.32445695996284485, -0.2588348984718323, 0.21512426435947418, 0.0371091291308403, 0.4995761811733246, 0.6533362865447998, 0.317707896232605, -0.633265495300293, -0.07885942608118057, -0.36069777607917786, 0.566910445690155, 0.501314103603363, 0.07758896052837372, 0.44783952832221985, -0.3307086229324341, 0.23067179322242737, -0.05471163988113403, -0.11389689147472382, -0.6305912137031555, -0.6424865126609802, -0.7749391794204712, -0.00455732736736536, 0.06870490312576294, 0.576169490814209, -0.8769130706787109, 0.5123838186264038, -0.3674650192260742, -0.3076011836528778, -0.3620856702327728, -0.1512591540813446, 0.6175068616867065, 0.486245334148407, 0.4939551055431366, -0.47586357593536377, -0.5771950483322144, -0.5745671987533569, -0.20819644629955292, -0.18168972432613373, 0.07065393775701523, 0.09483140707015991, 0.15722472965717316, 0.018863657489418983, 1.0068527460098267, 0.08206493407487869, -0.2837676703929901, -0.08033500611782074, 0.4902457296848297, -0.05543329939246178, 0.4753308892250061, 0.2369263917207718, -0.6605557799339294, -0.4820317029953003, -0.023475734516978264, -0.541485071182251, -0.49854716658592224, -0.3663291037082672, -0.09034696221351624, 0.5519025325775146, 0.41913148760795593, -0.2229434847831726, 0.5014280676841736, 0.6634408831596375, -0.2667330801486969, 0.36736437678337097, -0.3539162278175354, -0.03941057249903679, -1.345970869064331, 0.32190167903900146, -0.47158175706863403, -0.5853726267814636, -0.752597451210022, -0.1320195347070694, 0.012190400622785091, -0.14882966876029968, -0.4339753985404968, 0.302640825510025, -0.5361322164535522, -0.3389972746372223, -0.6225396394729614, 0.3721922039985657, -0.026888972148299217, 0.38469579815864563, 0.2606271207332611, 1.0048327445983887, 0.4274681508541107, -0.4193962812423706, 0.15591895580291748, 0.5043242573738098, 0.025904575362801552, 0.4801967442035675, -0.4420544505119324, 0.44842833280563354, -0.10283161699771881, 0.56625896692276, -0.8451118469238281, 0.017945706844329834, 0.019630510360002518, -0.7868019342422485, 0.25633591413497925, -0.0023599877022206783, -0.6254752278327942, -0.03846783563494682, 0.19623488187789917, 0.49282240867614746, 0.513270378112793, -0.5413814783096313, 0.35906028747558594, 0.2900240123271942, -0.3767561614513397, -0.38572996854782104, -0.8652626276016235, 0.5433744192123413, 0.2546413838863373, -0.7164359092712402, 0.5173258781433105, -0.05880914255976677, 0.2846183180809021, -0.03671935945749283, -0.27577444911003113, -0.09345611184835434, -0.25515469908714294, 0.13774770498275757, 0.04415373504161835, -0.2678976058959961, -0.03143749013543129, 0.27870291471481323, -0.5009487271308899, -0.27491289377212524, -0.9733765721321106, 0.3240475058555603, 0.3176351487636566, -0.14150641858577728, -0.6029775738716125, 1.0628186464309692, 0.6212958097457886, -0.3378292918205261, 0.4416658580303192, 0.4094698131084442, -0.15967458486557007, -0.15365120768547058, -0.40426105260849, -0.12007376551628113, -0.3901212513446808, 0.457423597574234, -0.33564454317092896, -0.7283611297607422, 0.17623670399188995, 0.0618964321911335, 0.3883456587791443, 0.2733871340751648, 0.6712465286254883, 0.2613610625267029, 0.8825163245201111, 0.5137377381324768, 0.15360935032367706, 0.37102609872817993, 0.06115878373384476, 0.3446063697338104, -0.7015721201896667, -0.15046755969524384, -0.19953177869319916, -0.0574202761054039, -0.4044409692287445, -0.6156627535820007, 0.18950605392456055, 0.05759988725185394, 0.047936346381902695, 0.5471958518028259, -0.4031488001346588, -0.0005963545991107821, 0.3388933837413788, -0.5588170886039734, 0.3786342740058899, 0.051035456359386444, -0.20214372873306274, -0.0024057242553681135, -0.7780716419219971, -0.22035372257232666, 0.894927442073822, 0.009279166348278522, 0.1953279674053192, 0.2871003746986389, 0.6069329380989075, 0.15212848782539368, -0.15385837852954865, -0.34902480244636536, 0.2921943664550781, -0.4889746308326721, -0.42839694023132324, -0.15478701889514923, -0.5749132633209229, -0.5999788641929626, 0.33642643690109253, -0.04962698742747307, -0.6457945704460144, 0.15214642882347107, 0.08357220143079758, -0.22115646302700043, 0.3296995759010315, -0.4095715582370758, 0.5389431715011597, -0.2742482125759125, -0.48857396841049194, 0.23957334458827972, -0.9192884564399719, 0.1376965194940567, -0.33468326926231384, 0.26425468921661377, 0.04032149165868759, -0.0603795051574707, 0.5330198407173157, -0.27941814064979553, 0.5301947593688965, -0.14046941697597504, -0.1442064642906189, 0.19936040043830872, 0.06391879916191101, 0.7608323693275452, 0.20869332551956177, 0.0016701238928362727, 0.2280135303735733, -0.08834057301282883, -0.2896396517753601, -0.490710973739624, 0.5841888189315796, -0.5803446173667908, -0.13386383652687073, -0.3233177661895752, -0.6210059523582458, -0.1489521563053131, 0.2296133190393448, 0.5916631817817688, 0.43599259853363037, -0.03510986641049385, 0.01447305828332901, 0.29551345109939575, 0.012134387157857418, 0.6848993301391602, 0.5980514287948608, -0.09693806618452072, -0.693044900894165, 1.0224528312683105, 0.11795967817306519, 0.6322213411331177, 0.4198854863643646, -0.24095472693443298, -0.7222607135772705, -0.471432626247406, -0.6701313853263855, 0.1632920801639557, -0.29684779047966003, -0.17952555418014526, -0.8938058614730835, -0.3272359371185303, -0.6812050938606262, -0.150323286652565, -0.8474849462509155, -0.6951599717140198, -0.42806413769721985, 0.2365599274635315, 0.2118593156337738, 0.5970441699028015, -0.6056442260742188, 0.5816919207572937, -0.6414080858230591, 0.6282638311386108, 0.10107376426458359, 0.1402510404586792, -0.07891212403774261, -0.6712660789489746, -0.2743796706199646, 0.023441269993782043, -0.24236752092838287, -0.930698573589325, 0.5949935913085938, 0.26748180389404297, 0.17263665795326233, 0.2774755656719208, 0.3243023157119751, 0.7994388341903687, -0.6043729186058044, 0.6822498440742493, 0.5816600918769836, -1.177026629447937, 0.36541905999183655, -0.2525871694087982, 0.4242066740989685, 0.19930577278137207, -0.3915441036224365, -1.0474437475204468, -0.4347180426120758, -0.39747387170791626, -1.2425824403762817, 1.0266859531402588, 0.8709045648574829, -0.07477479428052902, -0.1491708904504776, 0.10989481210708618, 0.16832971572875977, 0.27408894896507263, -0.5486912131309509, -0.48755109310150146, -0.7156360149383545, 0.05627379193902016, -0.1658860146999359, -0.15848690271377563, 0.3646774888038635, 0.41783469915390015, 0.7400598526000977, -0.056077297776937485, 0.6513745784759521, 0.2507961690425873, -0.1396327018737793, -0.3961085379123688, 0.47780561447143555, 0.634064793586731, -0.08964338898658752, -0.16074173152446747, 0.016688089817762375, 0.2328909933567047, -0.12430032342672348, 0.3117498457431793, 0.28436845541000366, -0.0806274265050888, 0.3501804769039154, -0.06202511861920357, 1.018399953842163, 0.38823202252388, -0.23957706987857819, 0.600974977016449, -0.2757621705532074, -0.3237215280532837, -0.3693922162055969, -0.5281451940536499, 0.02190461754798889, -0.0028718227986246347, 0.4937933087348938, 0.3547026515007019, -0.018528949469327927, -0.04502417519688606, 0.5997351408004761, 0.02356136403977871, -0.22977402806282043, -0.42270123958587646, 1.0986931324005127, 0.4712514579296112, -0.3463389277458191, 0.40235620737075806, -0.40807124972343445, -0.13141529262065887, 0.3057608902454376, 0.9316345453262329, 1.2119808197021484, -0.3833440840244293, 0.1938088983297348, 0.17691278457641602, 0.03963877260684967, -0.039179496467113495, 0.39316362142562866, -0.5803660154342651, -0.21216823160648346, -0.5341933369636536, -0.6654006838798523, -0.15384775400161743, 0.020823748782277107, -0.692244827747345, 0.12521304190158844, 0.04418559744954109, -0.23687919974327087, -0.40714338421821594, -0.34093132615089417, -0.11900176852941513, 0.24083858728408813, 0.14259526133537292, 0.6549347639083862, -0.6306917667388916, 0.907996654510498, 0.22497352957725525, -0.37113863229751587, -0.6066262125968933, 0.1358906328678131, 0.026322675868868828, -0.49027711153030396, 0.5110636949539185, -0.1531834751367569, -0.5235570073127747, 0.49176323413848877, 0.03966087847948074, -1.1849433183670044, 1.0284043550491333, 0.29602691531181335, -0.5435208678245544, -0.46611183881759644, 0.3325579762458801, 0.2202528566122055, -0.34680524468421936, 0.1893233358860016, 0.31778445839881897, 0.20369403064250946, 0.39898228645324707, -1.1711069345474243, -0.05075109004974365, -0.33851075172424316, 0.2889097332954407, 0.25582849979400635, -0.8207707405090332, 0.8178354501724243, 0.05541529506444931, -0.5802804827690125, 0.34687742590904236, 0.7816568613052368, 0.06944923102855682, 0.12589243054389954, 0.2598373293876648, 0.34730637073516846, 0.12803205847740173, -0.013732319697737694, 0.5236997008323669, -0.7217243313789368, 0.227178692817688, 1.4475041627883911, -0.1850505769252777, 0.8885346055030823, 0.5811072587966919, 0.19675055146217346, -0.03399283438920975, 0.3012053966522217, 0.30297398567199707, 0.8205580711364746, -0.009026417508721352, -0.519818902015686, -0.31892240047454834, -0.16092759370803833, -0.625550389289856, 0.630896806716919, 0.3134051263332367, -0.35388609766960144, -0.5720611810684204, 0.015026199631392956, -0.001560377306304872, 0.004918974824249744, 0.2028544843196869, 0.68028324842453, 0.1613527089357376, -0.7623960375785828, 0.7276232242584229, 0.3568693697452545, 0.698042631149292, -0.4977014362812042, 0.20685043931007385, -0.16503658890724182, 0.017040546983480453, -0.05034395679831505, -0.30828726291656494, 0.5587436556816101, 0.19745297729969025, -0.09210819005966187, -0.5499776601791382, 0.22123868763446808, -0.5531905889511108, -0.16314470767974854, 0.36031031608581543, 0.5143299698829651, 0.2578681409358978, 0.20628853142261505, -0.5574678778648376, 0.14615297317504883, 0.08486691117286682, 0.04118262603878975, 0.08306073397397995, 0.32572832703590393, 0.06858415901660919, 0.27045130729675293, 0.8675678372383118, 0.04215048998594284, 0.4061063528060913, 0.013287404552102089, 0.506232500076294, -0.3525870144367218, -0.8789075016975403, -0.47793304920196533, 0.47707420587539673, 0.1861880123615265, -0.3264870345592499, 0.628596305847168, 0.6202952861785889, 0.5005918145179749, 0.2344886213541031, 1.052767038345337, -0.14038214087486267, 0.38382968306541443, -0.23977264761924744, 0.854465126991272, -0.7010276317596436, -0.11377743631601334, -0.1543758064508438, -0.4867597222328186, -0.31975919008255005, 0.45378348231315613, 0.1772831231355667, -0.08735713362693787, 0.6870142817497253, 0.5401414036750793, 0.2179911732673645, 0.44217896461486816, 0.6810985207557678, 0.18636392056941986, 0.3616473376750946, 0.6242632269859314, 0.44881173968315125, -0.8096122145652771, 0.8770841360092163, 0.027438415214419365, -0.2548099756240845, -0.12088636308908463, -0.7358071804046631, -0.5081182718276978, -0.7235767841339111, -0.31510481238365173, -0.26486337184906006, 0.43527087569236755, 0.8369594812393188, 0.7492083311080933, -0.48122987151145935, -0.41752761602401733, -0.6273542046546936, -0.453199177980423, -0.11465378105640411, -0.1205274686217308, 0.13942384719848633, -0.5645327568054199, -0.7714827656745911, 0.7684217691421509, 0.7126279473304749, 0.16975826025009155, -0.0804525837302208, -0.31496360898017883, -0.19755272567272186, 0.31794434785842896, 0.38139981031417847, 0.4465879201889038, -0.6684326529502869, 0.12711453437805176, 0.08960746973752975, 0.17468924820423126, 0.26624879240989685, 0.7448713779449463, -0.5798723697662354, 0.7776758074760437, 0.33620938658714294, 0.5005670189857483, 0.5823454260826111, -0.2699499726295471, 0.6739954352378845, -0.9687649011611938, 0.17256951332092285, 0.16803747415542603, 0.14567559957504272, 0.23752139508724213, -0.2315690666437149, -0.0508229099214077, 0.2387276440858841, -0.5920819640159607, -0.7878630757331848, 0.4584940969944, -0.7415120005607605, 0.09294527769088745, 0.9243601560592651, -0.1812485158443451, -0.1272483915090561, -0.407679945230484, 0.09064336121082306, 0.8254789113998413, -0.8091036677360535, 0.4466235339641571, 0.254546582698822, -0.20446854829788208, -0.24372097849845886, -0.4033493399620056, 0.2943818271160126, 0.6305327415466309, -0.6165460348129272, 0.3154711127281189, 0.23084524273872375, 0.07718516141176224, -0.04681850224733353, 0.9025086760520935, -0.3172079622745514, 0.40484896302223206, 0.2444540411233902, 0.0033027385361492634, -0.2149098962545395, -0.07978279143571854, -0.29112550616264343, -0.06590288877487183, -0.2744413912296295, -0.4983717203140259 ]
http://arxiv.org/abs/2406.06910v2
http://arxiv.org/pdf/2406.06910v2
Agent-SiMT: Agent-assisted Simultaneous Machine Translation with Large Language Models
2024-06-11T03:09:20
2024-06-12T15:05:40
Shoutao Guo, Shaolei Zhang, Zhengrui Ma, Min Zhang, Yang Feng
cs.CL
cs.CL
Simultaneous Machine Translation (SiMT) generates target translations while reading the source sentence. It relies on a policy to determine the optimal timing for reading sentences and generating translations. Existing SiMT methods generally adopt the traditional Transformer architecture, which concurrently determines the policy and generates translations. While they excel at determining policies, their translation performance is suboptimal. Conversely, Large Language Models (LLMs), trained on extensive corpora, possess superior generation capabilities, but it is difficult for them to acquire translation policy through the training methods of SiMT. Therefore, we introduce Agent-SiMT, a framework combining the strengths of LLMs and traditional SiMT methods. Agent-SiMT contains the policy-decision agent and the translation agent. The policy-decision agent is managed by a SiMT model, which determines the translation policy using partial source sentence and translation. The translation agent, leveraging an LLM, generates translation based on the partial source sentence. The two agents collaborate to accomplish SiMT. Experiments demonstrate that Agent-SiMT attains state-of-the-art performance.
[ -0.3295837938785553, -0.7683022618293762, 0.6514245271682739, 0.46006399393081665, -0.3736773431301117, 0.4103357791900635, -0.22670377790927887, -0.13930194079875946, 0.05402865260839462, 0.6147245168685913, -0.6335218548774719, -0.1350342184305191, -0.39022907614707947, 0.4280547499656677, -0.1258171796798706, 1.0469363927841187, -0.383991539478302, 0.35945791006088257, -0.2602887749671936, 0.1773463934659958, -0.5540974736213684, -0.26595306396484375, -0.7391878366470337, -0.4855181872844696, 0.3023053705692291, 0.2883170545101166, 1.2835274934768677, 0.8930152058601379, 0.6397668719291687, 0.3499588966369629, 0.31331488490104675, 0.4364670515060425, -0.18284925818443298, 0.24170273542404175, -0.12748204171657562, -0.3699333071708679, -0.5611134171485901, -0.26391279697418213, 0.7530544996261597, 0.24599097669124603, -0.007352479267865419, -0.2037287801504135, -0.19591446220874786, 0.3078366219997406, -0.11205148696899414, 0.18283706903457642, -0.4419790804386139, -0.09043075144290924, -0.023508647456765175, -0.42282846570014954, -0.4845200777053833, -0.24628987908363342, -0.20474113523960114, -0.46012356877326965, 0.11203008890151978, 0.22267402708530426, 0.6555529832839966, 0.5133853554725647, -0.9393616318702698, -0.263288289308548, -0.8764716982841492, 0.6385972499847412, -0.2904548645019531, 0.25466522574424744, 0.09318487346172333, 0.5372768044471741, -0.28362011909484863, -0.644245445728302, -0.6456533074378967, -0.6686851978302002, 0.008210888132452965, 0.29263395071029663, 0.1490255743265152, 0.21198102831840515, 0.24867600202560425, 0.1855628788471222, -0.7546603679656982, -0.1926337331533432, -0.04249516874551773, 0.020061424002051353, 0.7378891706466675, 0.12647749483585358, 0.4823341965675354, 0.017242426052689552, -0.8389946818351746, -0.20454443991184235, -0.4432452619075775, -0.4323422908782959, 0.21558615565299988, 0.18104097247123718, 0.23657162487506866, 0.7608697414398193, -0.05668168142437935, 0.21102090179920197, -0.25044915080070496, -0.24552881717681885, 0.2997739017009735, -0.34821048378944397, -0.08895833790302277, 0.15236783027648926, 0.9255874156951904, -0.05405742675065994, 0.21384654939174652, -0.4568668305873871, -0.6350517868995667, 0.06849535554647446, 0.2971479594707489, -0.6956831216812134, 0.597819983959198, 0.1493254452943802, -0.07902137190103531, -0.21174277365207672, 0.18455207347869873, -0.29107901453971863, -0.0013774087419733405, -0.5875861048698425, 0.5399373173713684, -0.48965051770210266, -0.3146985173225403, 0.14635492861270905, -0.11342912167310715, 0.34235846996307373, 0.30456894636154175, -0.3594528138637543, 0.5550531148910522, 0.645283579826355, 1.0267564058303833, -0.38327550888061523, -0.6161249279975891, -0.5903691649436951, 0.5189931988716125, -0.3611483573913574, 0.6278309226036072, -0.2843884527683258, -0.32777589559555054, -0.05233307555317879, -0.1470390111207962, -0.24763095378875732, -0.2664439380168915, 0.4573307931423187, -0.56163090467453, -0.33384090662002563, -0.11603988707065582, -0.5932552814483643, 0.06327372789382935, 0.20987512171268463, -0.6747664213180542, 0.9373824000358582, 0.06877104192972183, -0.46010535955429077, 0.051497682929039, -1.0007226467132568, -0.5326073169708252, 0.18445712327957153, -0.19949686527252197, -0.24608275294303894, 0.0025999131612479687, 0.11771277338266373, 0.31556665897369385, -0.6104507446289062, 0.5517812371253967, -0.015019616112112999, -0.2764333486557007, 0.3625693917274475, -0.7027518153190613, 0.6127140522003174, 0.601860523223877, -0.28719303011894226, 0.08288835734128952, -0.34101399779319763, -0.2695293724536896, 0.3853234052658081, -0.26541489362716675, -0.01078963652253151, -0.048008013516664505, 0.2586246132850647, 0.46972376108169556, 0.48033201694488525, -0.4590460956096649, 0.5617358684539795, 0.0018896450055763125, 0.26677966117858887, 0.454889714717865, 0.024749189615249634, 0.5368791818618774, -0.5113028287887573, 0.8013048768043518, -0.08366111665964127, 0.16312219202518463, -0.15533307194709778, -0.07622447609901428, -0.6624495983123779, -0.4363219439983368, 0.20226861536502838, 0.7688944935798645, -1.349194049835205, 0.11766088008880615, -0.4642929136753082, -0.3595118224620819, -0.5682005882263184, 0.1487550586462021, 0.2532815933227539, -0.27106305956840515, 0.3043791949748993, -0.14978528022766113, -0.10828971117734909, -0.8331288695335388, -0.33233901858329773, 0.013126997277140617, 0.2596862018108368, 0.05135542154312134, 0.4178732931613922, -0.18988311290740967, 0.8446517586708069, -0.4260369539260864, -0.2844904363155365, -0.5707732439041138, 0.29243022203445435, -0.1837056577205658, 0.34819263219833374, 0.41900819540023804, -1.05693781375885, -0.6825376152992249, 0.3672432601451874, -0.8409283757209778, -0.230120450258255, -0.45279666781425476, -0.2754184305667877, 0.22541217505931854, 0.6904593706130981, -0.8983897566795349, 0.19345510005950928, 0.4366443157196045, -0.05421045422554016, 0.4445618987083435, -0.4698368310928345, 0.129652202129364, -1.438254952430725, -0.23141829669475555, -0.49794939160346985, -0.7279557585716248, -0.5156412720680237, 0.2733158767223358, -0.007322687190026045, -0.06919123232364655, -0.4932144284248352, 0.4315800964832306, -0.7945887446403503, -0.32727447152137756, -0.491294264793396, 0.02459227852523327, -0.2214488834142685, 0.27429425716400146, 0.137470081448555, 1.0055606365203857, 0.3382302522659302, -0.2659275233745575, 0.4763340651988983, 0.187969371676445, 0.18606606125831604, 0.4499987065792084, -0.38030123710632324, 0.28849077224731445, 0.022916873916983604, 0.42273154854774475, -0.5633871555328369, -0.27002593874931335, 0.13119035959243774, -0.18953049182891846, 0.36845192313194275, 0.23950211703777313, -0.8080337643623352, -0.33664029836654663, 0.062027979642152786, 0.4388229250907898, 0.41896679997444153, -0.2784801423549652, 0.8249040842056274, 0.09012491255998611, -0.23421137034893036, -0.5438836812973022, -0.5381933450698853, 0.20528319478034973, 0.1502804458141327, -0.7668927907943726, 0.14032000303268433, 0.03842875361442566, -0.1835397630929947, 0.11828277260065079, -0.02567017450928688, -0.12011289596557617, -0.10996313393115997, 0.11871859431266785, 0.1645488440990448, -0.3473045825958252, 0.13393534719944, 0.3044995367527008, -0.22320431470870972, -0.23692059516906738, -0.3306615352630615, 0.6430502533912659, -0.20597699284553528, -0.537888765335083, -0.2409343421459198, 0.5761838555335999, 0.8293150067329407, -0.45468205213546753, 0.9003344178199768, 0.6883522868156433, 0.13799980282783508, -0.5406708717346191, -0.35660433769226074, -0.05805235356092453, -0.41532936692237854, 0.36880266666412354, -0.8223658800125122, -0.545701265335083, 0.2610930800437927, -0.48431137204170227, 0.12884686887264252, 0.3140171766281128, 0.7461726069450378, 0.30013328790664673, 1.1358674764633179, 0.5385707020759583, 0.2332683801651001, 0.6007387638092041, -0.0779728889465332, 0.10794145613908768, -0.37084701657295227, 0.06687033176422119, -0.2811968922615051, 0.012576717883348465, -0.5348424911499023, -0.5906698107719421, 0.3934573531150818, -0.10163617879152298, -0.08417379856109619, 0.46400558948516846, -0.09102591127157211, 0.44696077704429626, 0.5851790308952332, 0.004246141295880079, 0.5946242213249207, -0.05135561525821686, -0.327597975730896, 0.41027066111564636, -0.6389825344085693, -0.7176332473754883, 0.9275161027908325, 0.22196868062019348, 0.6267634034156799, 0.16210786998271942, 0.8453300595283508, 0.3718941807746887, 0.17875686287879944, -0.7736480236053467, 0.6547433733940125, 0.0257366094738245, -0.5958482027053833, -0.29391399025917053, -0.6134287714958191, -0.7811839580535889, 0.5358741283416748, -0.0734032541513443, -0.04467662051320076, -0.22703427076339722, -0.07852346450090408, 0.14512492716312408, 0.12653443217277527, -0.659528374671936, 0.8523745536804199, -0.5455324053764343, -0.22322224080562592, -0.1880599558353424, -0.7333546280860901, 0.2656223475933075, -0.38939595222473145, -0.04562906175851822, -0.013489702716469765, -0.4249763488769531, -0.0013740991707891226, -0.4816245138645172, 0.4049926996231079, 0.07065211236476898, 0.06605979800224304, 0.21910694241523743, 0.2951194941997528, 0.7280015349388123, -0.10599200427532196, -0.0019466477679088712, 0.021573688834905624, -0.06575410813093185, -0.4238583743572235, -0.5484014749526978, 0.3508427143096924, -0.9315782189369202, -0.49989888072013855, -0.6491286754608154, -1.0866925716400146, -0.0064943041652441025, 0.35322797298431396, 0.07679587602615356, 0.026763176545500755, -0.609057605266571, 0.056085359305143356, 0.26488903164863586, -0.14105698466300964, 0.26161351799964905, 0.7573704719543457, -0.4138099253177643, -0.2640179693698883, 1.0142531394958496, 0.16139563918113708, 0.6778948307037354, 0.5288973450660706, -0.10071958601474762, -0.22929419577121735, -0.31759798526763916, -0.5652279853820801, 0.3539838194847107, -0.3829859495162964, -0.23970669507980347, -0.7008893489837646, -0.5599782466888428, -0.41448453068733215, -0.1607484072446823, -0.47048524022102356, -0.1409294754266739, 0.20858073234558105, 0.14742247760295868, 0.15461690723896027, 0.7935964465141296, -0.12110797315835953, 0.6122073531150818, -0.6060348749160767, 0.5821897387504578, 0.16496707499027252, -0.10776423662900925, -0.5549375414848328, -0.06010876223444939, -0.12988361716270447, 0.15297801792621613, -0.5337858200073242, -1.0539594888687134, 0.4366048276424408, 0.04424943029880524, 0.39777371287345886, 0.05788176879286766, 0.06446892768144608, 0.2493690848350525, -0.7116896510124207, 0.5027506947517395, -0.0697154775261879, -0.9362061619758606, 0.19931729137897491, -0.40992096066474915, 0.3671102821826935, 0.2854063808917999, 0.2167050838470459, -0.59308260679245, -0.6930603981018066, -0.43095019459724426, -0.7162418961524963, 1.1004362106323242, 0.5930597186088562, 0.012706375680863857, -0.10841868072748184, 0.04944577440619469, 0.052009567618370056, 0.3903573453426361, -0.49545374512672424, -0.11412779241800308, -0.02084595151245594, -0.30890360474586487, -0.2756327986717224, 0.027416184544563293, 0.19412510097026825, 0.13098858296871185, 0.905555784702301, -0.26899775862693787, 0.2713266611099243, 0.18412025272846222, -0.45167437195777893, -0.2720118761062622, 0.37289902567863464, 0.5640715956687927, 0.48530155420303345, -0.15980218350887299, 0.06988298147916794, 0.0620679073035717, -0.50860995054245, 0.3786800503730774, 0.19304987788200378, -0.5471243858337402, 0.25099191069602966, 0.16747547686100006, 1.0016965866088867, -0.038974542170763016, -0.4259515106678009, 0.7713131308555603, -0.1260523498058319, -0.26074734330177307, -0.4272576570510864, -0.02783203311264515, 0.09912242740392685, 0.4326952397823334, 0.18080224096775055, 0.21312053501605988, -0.031568512320518494, -0.30606958270072937, 0.37218719720840454, 0.34301692247390747, -0.03441455960273743, -0.08513612300157547, 0.5825834274291992, 0.09407355636358261, -0.4611288905143738, 0.21242405474185944, -0.21869246661663055, -0.4957175552845001, 0.7930993437767029, 0.8664795160293579, 1.1492983102798462, -0.5386217832565308, 0.6816253662109375, -0.0837964341044426, 0.488285094499588, -0.5514518618583679, 0.15556257963180542, 0.019687823951244354, -0.605365514755249, -0.47790366411209106, -0.6527732014656067, -0.3595435619354248, -0.13541337847709656, -0.5473390817642212, 0.44269728660583496, 0.07382561266422272, -0.1105223223567009, -0.12227769941091537, -0.003945454489439726, -0.7372233867645264, -0.24080580472946167, -0.11481567472219467, 0.8049989938735962, -0.9398291707038879, 1.0181208848953247, 0.8785766959190369, -0.7091259956359863, -0.8587092757225037, 0.2387239634990692, -0.0906577855348587, -0.7983687520027161, 0.41044628620147705, -0.07771746069192886, -0.26068174839019775, 0.3642585575580597, -0.4685935080051422, -0.6414331793785095, 1.223404049873352, 0.9454196095466614, -0.5017669200897217, -0.1312054842710495, 0.6137046813964844, 0.44863253831863403, -0.42104876041412354, 0.22193217277526855, 0.5584642291069031, 0.5439755916595459, 0.32665595412254333, -1.1172761917114258, -0.03679422661662102, 0.1460937261581421, 0.1804838925600052, 0.3307671844959259, -0.852099597454071, 0.8858309388160706, 0.05029016360640526, -0.17465560138225555, 0.15902096033096313, 0.6376516222953796, 0.0698406770825386, 0.3090735077857971, 0.47228267788887024, 0.13617011904716492, 0.3956509232521057, 0.038942378014326096, 1.3774887323379517, -0.23641416430473328, 0.36863887310028076, 1.0430806875228882, -0.42218050360679626, 0.6726836562156677, 0.4545947015285492, 0.1340831220149994, -0.05566181614995003, 0.3137558400630951, 0.12145739048719406, 0.26287156343460083, -0.026781003922224045, -0.40548908710479736, -0.48551198840141296, -0.4292404055595398, -0.34033283591270447, 0.48028069734573364, 0.006879292894154787, -0.4037633538246155, -0.3402709364891052, 0.2690747082233429, 0.15425358712673187, 0.012756426818668842, -0.07631536573171616, 0.9112429022789001, 0.3192692697048187, -0.9062482118606567, 0.3000149428844452, 0.035745296627283096, 0.05072927474975586, -0.7278590202331543, -0.12815405428409576, -0.22068996727466583, 0.3294338583946228, 0.25329574942588806, -0.5014159679412842, -0.014351452700793743, -0.047974079847335815, -0.08628330379724503, -0.4857405424118042, 0.5613200068473816, -0.936703622341156, -0.5289963483810425, 0.3507486879825592, 0.9807214140892029, 0.4424772560596466, -0.10208815336227417, -0.8367767930030823, 0.11126653850078583, -0.2204529196023941, -0.3699847161769867, 0.1622699648141861, 0.8301002979278564, -0.3440154492855072, 0.6154265999794006, 0.5068951845169067, 0.2676965296268463, 0.15425720810890198, 0.06439264118671417, 0.6656836867332458, -0.4324893653392792, -0.5257557034492493, -0.769788384437561, 0.04705837741494179, 0.004630488809198141, 0.14829641580581665, 0.568879246711731, 0.5353091359138489, 0.6644122004508972, -0.14809858798980713, 0.8538985252380371, -0.06695521622896194, 0.05210128799080849, -0.5488781332969666, 0.6083073019981384, -0.7972894310951233, 0.1069871336221695, -0.13959477841854095, -1.3812742233276367, -0.1120201125741005, 0.29988038539886475, -0.25164249539375305, 0.1414184272289276, 1.0836600065231323, 0.9300509691238403, -0.21028754115104675, -0.07280005514621735, 0.5979824662208557, 0.1590185910463333, 0.3382105827331543, 0.48960116505622864, 0.8896044492721558, -0.340457022190094, 0.7528379559516907, 0.07146554440259933, -0.10382693260908127, -0.14529335498809814, -0.6608375310897827, -0.8393243551254272, -0.5023417472839355, -0.03271033242344856, -0.05375228077173233, 0.2529756724834442, 1.3925089836120605, 0.4828352630138397, -0.4207858145236969, -0.344041109085083, -0.20805324614048004, 0.09674602001905441, -0.5142607092857361, -0.17145146429538727, 0.24092502892017365, -0.6417542695999146, -0.9411375522613525, 0.3610306978225708, 0.23778076469898224, 0.06927584111690521, -0.2562742233276367, -0.47377121448516846, -0.29024380445480347, 0.40910181403160095, 0.4154379963874817, -0.021582745015621185, -0.5902893543243408, 0.17410887777805328, -0.09958738833665848, -0.5355645418167114, -0.032244957983493805, 0.9137346744537354, -0.26066696643829346, 0.39379340410232544, 0.44586628675460815, 0.8399035930633545, 0.6143249869346619, 0.18028007447719574, 0.885069727897644, -0.6403173804283142, 0.19902440905570984, 0.15572288632392883, 0.055225104093551636, 0.17351414263248444, -0.37611058354377747, 0.6593661904335022, 0.20194588601589203, -0.6531888842582703, -0.75425124168396, 0.3045806288719177, -0.9808524250984192, -0.2708636224269867, 1.4068059921264648, -0.014119384810328484, -0.4326677620410919, -0.09308117628097534, -0.7137089967727661, 0.6282495260238647, -0.565072774887085, 0.11867964267730713, 0.4741966426372528, 0.17635607719421387, -0.09559007734060287, -0.9949148893356323, 0.3189678192138672, 0.23382987082004547, -0.7828145623207092, -0.20489875972270966, 0.4461866021156311, -0.0033102440647780895, 0.029815666377544403, 0.7296739220619202, 0.020418806001544, 0.25681617856025696, 0.3398602604866028, 0.29705438017845154, -0.4381836950778961, -0.6209315061569214, -0.09673018008470535, 0.09689754992723465, 0.1128498837351799, -0.20621466636657715 ]
http://arxiv.org/abs/2406.06907v1
http://arxiv.org/pdf/2406.06907v1
SignMusketeers: An Efficient Multi-Stream Approach for Sign Language Translation at Scale
2024-06-11T03:00:41
2024-06-11T03:00:41
Shester Gueuwou, Xiaodan Du, Greg Shakhnarovich, Karen Livescu
cs.CL
cs.CL, cs.AI, cs.CV, cs.LG
A persistent challenge in sign language video processing, including the task of sign language to written language translation, is how we learn representations of sign language in an effective and efficient way that can preserve the important attributes of these languages, while remaining invariant to irrelevant visual differences. Informed by the nature and linguistics of signed languages, our proposed method focuses on just the most relevant parts in a signing video: the face, hands and body posture of the signer. However, instead of using pose estimation coordinates from off-the-shelf pose tracking models, which have inconsistent performance for hands and faces, we propose to learn the complex handshapes and rich facial expressions of sign languages in a self-supervised fashion. Our approach is based on learning from individual frames (rather than video sequences) and is therefore much more efficient than prior work on sign language pre-training. Compared to a recent model that established a new state of the art in sign language translation on the How2Sign dataset, our approach yields similar translation performance, using less than 3\% of the compute.
[ 0.009881810285151005, -0.06740988790988922, 0.2880689799785614, 0.15674692392349243, -0.3873298168182373, 0.11560382694005966, -0.05686567351222038, -0.28325554728507996, 0.4351203143596649, 0.3678123354911804, -0.5301734805107117, -0.39320510625839233, -1.2469772100448608, 0.0287762563675642, -0.3519037961959839, 0.8512586951255798, -0.32519978284835815, 0.3884434401988983, 0.2668706774711609, -0.4495919346809387, 0.0770488753914833, -0.02517661452293396, -0.5993772745132446, -0.2318759262561798, 0.04729013890028, 0.306771457195282, 0.5807547569274902, 0.5471506118774414, 0.5888580679893494, 0.3544263243675232, 0.20624488592147827, 0.1700780838727951, -0.34525150060653687, 0.18613483011722565, 0.14653410017490387, -0.09959202259778976, -0.2809952199459076, 0.008870251476764679, 0.7301155924797058, 0.6807482838630676, 0.11599824577569962, 0.42343348264694214, -0.24845649302005768, 0.5874361991882324, -0.5310043096542358, 0.09835070371627808, -0.12999488413333893, 0.1692613661289215, -0.42648938298225403, 0.08078082650899887, -0.3946020305156708, -0.28095635771751404, -0.4082862138748169, -0.6777001619338989, 0.37806257605552673, -0.2400936484336853, 0.247612863779068, 0.600466251373291, -0.6841559410095215, -0.05075336620211601, -0.6363583207130432, 0.568881630897522, -0.7171112895011902, 0.7567929029464722, 0.29655131697654724, 0.46462514996528625, -0.15577468276023865, -0.5995462536811829, -0.4925404191017151, 0.2255466729402542, -0.05514286458492279, 0.17920419573783875, 0.21743625402450562, 0.12627416849136353, 0.30538031458854675, 0.4108588993549347, -0.849449098110199, -0.0750175341963768, -0.41519075632095337, -0.31232431530952454, 0.8969994783401489, -0.0007931222207844257, 0.3964381814002991, -0.14973832666873932, -0.5146949887275696, -0.553506076335907, -0.38597550988197327, 0.1506861299276352, 0.04128872603178024, 0.46857163310050964, -0.26648765802383423, 0.46146848797798157, -0.14569853246212006, 0.6781173944473267, 0.20548731088638306, -0.5793675184249878, 0.20002084970474243, -0.03346635401248932, 0.038399260491132736, -0.18184979259967804, 0.833620011806488, 0.15015187859535217, 0.11238239705562592, -0.08324489742517471, -0.2590249180793762, -0.12565872073173523, -0.1081530824303627, -0.9030240178108215, -0.387264609336853, -0.0005474223289638758, -0.46745404601097107, 0.11365137249231339, 0.1148938313126564, -0.3299292027950287, -0.5883148908615112, -0.3661421537399292, 0.5645487904548645, -0.331726610660553, -0.6883466839790344, -0.09432867169380188, -0.11249533295631409, 0.26014095544815063, 0.4738786518573761, -0.9020116329193115, 0.2340165674686432, 0.377956360578537, 0.8572043776512146, -0.2555704116821289, -0.23897941410541534, -0.7005089521408081, 0.23330099880695343, -0.22983241081237793, 0.27639779448509216, -0.20203596353530884, -0.15934373438358307, -0.1973925083875656, -0.06949682533740997, -0.2184198647737503, -0.2221471518278122, 0.029594875872135162, -0.43333831429481506, -0.07043816149234772, -0.0014815437607467175, -0.7033682465553284, -0.10535161942243576, -0.10127604007720947, -0.7327804565429688, 0.9281010627746582, 0.005380443297326565, -0.05588969960808754, 0.540320873260498, -0.4030322730541229, -0.7491468787193298, 0.1628476232290268, -0.10854820162057877, -0.5424029231071472, 0.2804841697216034, 0.13132530450820923, 0.8360421061515808, 0.2611365020275116, -0.053101878613233566, 0.028870409354567528, 0.0837830975651741, 0.15403993427753448, 0.08435916155576706, 0.7895745635032654, 0.253579318523407, -0.4979512393474579, -0.0004995521157979965, -0.6301974654197693, -0.05070110782980919, -0.014745885506272316, -0.1183580607175827, -0.22167806327342987, -0.1056448444724083, 0.10275222361087799, 0.5283336043357849, 0.10574793070554733, -0.6234576106071472, 0.08883190155029297, 0.002749846549704671, 0.19155731797218323, 0.5219412446022034, -0.21776747703552246, 0.5132708549499512, 0.44612377882003784, 0.6940754055976868, 0.003542638150975108, 0.25676393508911133, -0.25225406885147095, -0.5198999643325806, -0.515072762966156, -0.3124462068080902, -0.2765800952911377, 0.03172687068581581, -0.7409415245056152, 0.05209760740399361, -0.31709495186805725, -0.5377341508865356, -0.5305570960044861, 0.5884228348731995, 0.8860599398612976, 0.08933857828378677, 0.5499613881111145, -0.6635900735855103, -0.15495018661022186, -0.512112557888031, -0.4864780902862549, -0.26965609192848206, 0.1760297566652298, -0.4962172508239746, 0.2891005575656891, 0.43964582681655884, 0.3637511730194092, -0.4821026027202606, -0.6424668431282043, -0.08269393444061279, 0.19663658738136292, 0.10867446660995483, 0.5770236253738403, 0.5338916778564453, -1.0072548389434814, -0.8291640281677246, 0.07820925116539001, -0.6147541999816895, 0.3053714334964752, -0.39714884757995605, 0.11262892186641693, -0.1353747695684433, 0.8838486671447754, -0.3945052921772003, 0.1427628993988037, 1.0630391836166382, -0.5020532608032227, 0.10593601316213608, -0.22490046918392181, 0.30078020691871643, -1.0462361574172974, -0.06863116472959518, 0.11407148838043213, -0.7378683686256409, -0.8085751533508301, 0.14908245205879211, 0.22904212772846222, -0.3823096752166748, -0.49933382868766785, 0.4094649851322174, -1.116168737411499, -0.1315712183713913, -0.36327043175697327, 0.275942862033844, -0.33876147866249084, 0.44493386149406433, 0.1909465193748474, 0.6498733758926392, 0.71394944190979, -0.5149534344673157, 0.3008750379085541, 0.4804331660270691, -0.12965841591358185, 0.9097847938537598, -0.23480971157550812, 0.20120251178741455, -0.20197927951812744, 0.16395965218544006, -1.3135350942611694, -0.45486322045326233, 0.13576410710811615, -0.5788887143135071, 0.9273031949996948, -0.16213643550872803, 0.02014980837702751, -0.3686581552028656, 0.013720530085265636, 0.4627543091773987, 0.40445250272750854, -0.6571258306503296, 0.8509683609008789, 0.6172372102737427, 0.20003974437713623, -0.4718483090400696, -0.6563512086868286, 0.16137723624706268, -0.18034598231315613, -0.4371079206466675, 0.0953863188624382, 0.1679132878780365, 0.13055767118930817, -0.3749326467514038, -0.42603230476379395, -0.1714494228363037, -0.007096195127815008, 0.23597493767738342, -0.26848623156547546, -0.21900904178619385, 0.1169702559709549, -0.07661662995815277, -0.33354800939559937, 0.0049698990769684315, -0.407918781042099, -0.03293101489543915, 0.02677857130765915, -0.36320778727531433, -0.7602983713150024, 0.26451414823532104, 0.6491241455078125, -0.24936746060848236, 0.6070423722267151, 0.590537965297699, -0.2218872457742691, -0.19765491783618927, -0.37750402092933655, -0.28850483894348145, -0.4557788372039795, 0.33097192645072937, -0.596652626991272, -0.7590563893318176, 0.37974420189857483, -0.2627720236778259, 0.17241773009300232, 0.258560448884964, 0.35666635632514954, -0.19613686203956604, 0.7844109535217285, 0.5391875505447388, 0.20179802179336548, 0.5798235535621643, -0.03474721312522888, 0.2080622911453247, -0.5833579301834106, -0.15130986273288727, -0.21601133048534393, -0.5499482750892639, -0.21316388249397278, -0.6868346929550171, 0.39092323184013367, 0.05444813519716263, 0.07471396028995514, 1.2730212211608887, -0.4831151068210602, 0.43273890018463135, 0.1639278680086136, 0.14444565773010254, 0.43468546867370605, -0.26800021529197693, 0.29897579550743103, -0.3194313049316406, -0.4313836097717285, -0.3583534061908722, 1.1252681016921997, 0.05394108593463898, 0.6024360060691833, 0.5942800641059875, 0.7925398945808411, 0.14007799327373505, 0.5594653487205505, -0.5527767539024353, 0.5543085932731628, -0.34210455417633057, -0.8461964130401611, -0.5819917321205139, -0.36141401529312134, -0.7016786932945251, 0.6950892210006714, -0.2532392144203186, -0.3164995610713959, 0.0012583110947161913, 0.573363184928894, 0.09719628840684891, 0.34298649430274963, -0.7368412017822266, 1.0685707330703735, -0.5055522918701172, -0.26888641715049744, -0.2995956540107727, -1.1095771789550781, 0.41016483306884766, -0.1894892156124115, 0.2683396339416504, -0.2307879775762558, -0.058482781052589417, 0.726631760597229, -0.5250882506370544, 1.0426936149597168, -0.4199563264846802, -0.24312978982925415, 0.020262550562620163, 0.2549695670604706, 0.3929789066314697, -0.24382783472537994, 0.11928144842386246, 0.01951305754482746, -0.03229815140366554, -0.49426040053367615, -0.5935565233230591, 0.3580203652381897, -0.730528712272644, -0.3467566967010498, -0.2551494538784027, -0.1476965993642807, -0.15777815878391266, 0.2290697693824768, 0.16915760934352875, 0.17379727959632874, -0.4851522147655487, -0.045245904475450516, 0.5392788052558899, 0.44481444358825684, 0.5332466959953308, 0.3744610548019409, -0.18533460795879364, -0.4310135543346405, 0.7469196319580078, 0.0159068014472723, 0.6627869606018066, 0.5751398205757141, 0.07624652236700058, -0.40168124437332153, -0.5161510109901428, -0.8003556132316589, 0.4711313843727112, -0.814236044883728, -0.2691211402416229, -0.28561845421791077, 0.37416765093803406, -0.644881010055542, -0.17884878814220428, -0.7795860767364502, -0.7424606084823608, 0.061456020921468735, -0.06774498522281647, 0.3448382616043091, 0.4859301447868347, -0.21667584776878357, 0.602324366569519, -0.5609712600708008, 0.6040599942207336, 0.44171732664108276, 0.18134674429893494, -0.3201466202735901, -0.6414928436279297, -0.27580153942108154, -0.2816418707370758, -0.2899312674999237, -0.9022976756095886, 0.053944531828165054, 0.6236896514892578, 0.48332759737968445, 0.6457899212837219, 0.09273047000169754, 0.8819355964660645, -0.3953639268875122, 0.6405131816864014, 0.9337894320487976, -1.0137921571731567, 0.3202703893184662, -0.11881425976753235, 0.4315382242202759, 0.7483537197113037, 0.537013828754425, -0.7971972823143005, -0.43166765570640564, -0.3971877992153168, -0.6095835566520691, 0.6509914398193359, 0.3250385522842407, 0.21174143254756927, 0.18294934928417206, 0.16563642024993896, 0.12014062702655792, 0.011303761973977089, -0.7509265542030334, -0.2660701274871826, -0.5367825031280518, -0.3144398331642151, -0.3073892891407013, 0.4278513193130493, 0.045330628752708435, -0.30378562211990356, 0.7409852147102356, -0.44706299901008606, -0.213624507188797, -0.011343616060912609, -0.6905332207679749, -0.33931705355644226, -0.23030143976211548, 0.5328600406646729, 0.38022932410240173, 0.3153543770313263, 0.4462972581386566, 0.09315229952335358, -0.7133912444114685, 0.40329626202583313, -0.16480782628059387, -0.03968855366110802, 0.06328629702329636, 0.3881605863571167, 0.8834623694419861, 0.3573858141899109, -0.4261409044265747, 0.8483895659446716, 0.3099116086959839, -0.09541640430688858, -0.3896820843219757, -0.13863174617290497, 0.13824690878391266, 0.2655269205570221, 0.04019622132182121, 0.19135716557502747, 0.021302055567502975, -0.23069261014461517, 0.0830124244093895, 0.24767841398715973, -0.43279367685317993, -0.6164731979370117, 1.055959939956665, 0.4106028079986572, -0.3015446066856384, 0.4608888328075409, 0.11750563234090805, -0.4232425391674042, 0.2929672598838806, 0.3820348381996155, 1.0099455118179321, -0.9450244903564453, 0.45589953660964966, 0.777209460735321, 0.2385263741016388, -0.31791651248931885, 0.07123181223869324, -0.4901357591152191, -0.5898953080177307, -0.6495979428291321, -0.4639512002468109, -0.22209110856056213, -0.3497404158115387, -0.5325959920883179, 0.25307953357696533, -0.28572970628738403, -0.24873808026313782, 0.018822571262717247, -0.5531379580497742, -0.487101674079895, 0.3386158347129822, 0.5060818791389465, 0.5274468660354614, -1.3084633350372314, 0.6214936971664429, 0.7254914045333862, -0.5346153974533081, -0.6516481041908264, -0.250954806804657, 0.3572847545146942, -0.609552264213562, 0.6241976022720337, 0.06315914541482925, -0.5083782076835632, 0.20590175688266754, -0.34517866373062134, -1.0657888650894165, 0.8179908990859985, 0.3786795139312744, -0.24637964367866516, 0.17755994200706482, 0.28321361541748047, 0.48693400621414185, -0.11277753114700317, 0.004285173490643501, 0.38892459869384766, 0.5009052753448486, 0.3156164586544037, -0.8421406745910645, 0.14526565372943878, -0.09334948658943176, 0.14136935770511627, 0.5092085599899292, -0.8299523591995239, 0.25566208362579346, -0.2569372355937958, -0.2778395414352417, -0.10713940858840942, 0.9755365252494812, 0.005612019449472427, -0.02044268324971199, 0.43158382177352905, 0.39191967248916626, 0.5646678805351257, 0.00047480958164669573, 0.7887886762619019, -0.10601099580526352, 0.30858516693115234, 0.9438803195953369, -0.022302933037281036, 0.7491937875747681, 0.7637434601783752, -0.29870012402534485, 0.2147320806980133, 0.338180273771286, 0.23038221895694733, 0.3337680399417877, 0.12007828056812286, -0.2396795153617859, -0.7694975733757019, 0.48696133494377136, 0.08222339302301407, 0.5613951086997986, 0.09448982775211334, -0.2603524327278137, -0.23621833324432373, 0.3295878767967224, 0.16347834467887878, 0.5210021734237671, -0.2054339200258255, 0.718841552734375, 0.3690548837184906, -0.5507252812385559, 0.43765947222709656, -0.2933296859264374, 0.3445446491241455, -0.7224399447441101, 0.10963042825460434, -0.22742211818695068, 0.44549041986465454, -0.25312304496765137, -0.6429905295372009, 0.3421555161476135, -0.1057753637433052, 0.1643734723329544, -0.9032558798789978, 0.347743958234787, -0.46337246894836426, -0.4274078905582428, 0.2072596549987793, 0.2921394407749176, 0.8012806177139282, 0.172806516289711, -0.524787962436676, -0.0772724524140358, -0.0917181521654129, -0.383594274520874, 0.11863254010677338, 0.3731059432029724, -0.21738776564598083, 0.40348440408706665, 0.39404186606407166, -0.02869930863380432, 0.4316886067390442, 0.01924080401659012, 0.43670666217803955, -0.49822762608528137, -0.3593090772628784, -0.4142826795578003, 0.7263215780258179, -0.20893260836601257, -0.7036617994308472, 0.9049336314201355, 0.6031655073165894, 0.912214994430542, -0.3592708706855774, 0.3521077036857605, -0.14665961265563965, 0.26187455654144287, -0.528888463973999, 0.6786208748817444, -0.6313121914863586, -0.5476022958755493, -0.5268586277961731, -0.8865809440612793, -0.7268502116203308, 0.6613706350326538, -0.0794118344783783, -0.16042713820934296, 0.5696577429771423, 0.5897875428199768, -0.24459178745746613, -0.13478496670722961, 0.47447189688682556, -0.14080466330051422, 0.21661631762981415, 0.521273136138916, 0.30705976486206055, -0.9200286269187927, 0.5780561566352844, -0.008393265306949615, -0.3097134232521057, -0.14948900043964386, -0.7846575379371643, -0.7891148328781128, -0.954900860786438, -0.8535094857215881, -0.011672467924654484, -0.2515774667263031, 0.6632940173149109, 1.0331231355667114, -0.9330453872680664, -0.5761247873306274, 0.1413109302520752, -0.34832972288131714, -0.7263202667236328, -0.008585076779127121, 0.41843941807746887, -0.2255559265613556, -0.7655045986175537, 0.5892015099525452, 0.2140674740076065, 0.06931859254837036, -0.4089904725551605, -0.486842542886734, -0.12505359947681427, -0.3617061674594879, 0.5688698291778564, 0.7223156094551086, -0.5756410956382751, -0.1721610724925995, -0.05605163052678108, -0.13365168869495392, 0.06061018258333206, 1.0000025033950806, -0.4024394750595093, 0.747002899646759, 0.5456763505935669, 0.5696185231208801, 1.289203405380249, 0.09216398000717163, 0.3965756893157959, -0.8351339101791382, 0.2293144166469574, -0.02514069341123104, 0.22651241719722748, 0.7446073293685913, -0.10853651911020279, 0.5244202017784119, 0.2811637818813324, -0.10570035129785538, -0.379869282245636, 0.5030227899551392, -0.9767922163009644, -0.23332591354846954, 0.8124072551727295, -0.20243942737579346, -0.14704552292823792, -0.12049158662557602, 0.1807761937379837, 0.491656094789505, -0.011146808974444866, 0.5723574161529541, 0.3655843436717987, -0.33033886551856995, -0.5212472677230835, -0.2253223955631256, 0.5512700080871582, 0.3102806806564331, -0.424609512090683, 0.16563795506954193, 0.625443696975708, 0.309231162071228, 0.33659854531288147, 0.7540638446807861, -0.32363981008529663, 0.2346893846988678, -0.04708867520093918, 0.44308218359947205, -0.02001870423555374, -0.24580249190330505, -0.3646315336227417, 0.040152862668037415, 0.1083570271730423, -0.3450096845626831 ]
http://arxiv.org/abs/2406.06887v1
http://arxiv.org/pdf/2406.06887v1
PLUM: Preference Learning Plus Test Cases Yields Better Code Language Models
2024-06-11T02:07:18
2024-06-11T02:07:18
Dylan Zhang, Shizhe Diao, Xueyan Zou, Hao Peng
cs.CL
cs.CL, cs.AI, cs.LG, cs.PL, cs.SE
Instruction-finetuned code language models (LMs) have shown promise in various programming tasks. They are trained, using a language modeling objective, on natural language instructions and gold code snippet pairs. Recent evidence suggests that these models, never exposed to incorrect solutions during training, often struggle to distinguish between correct and incorrect solutions. This observation raises our inquiry: Can preference learning, which trains models to prefer correct solutions over incorrect ones, help push the boundaries of code LMs even further? We propose PLUM, a novel \textbf{p}reference \textbf{l}earning framework a\textbf{u}gmented with test cases tailored for code L\textbf{M}s.PLUM aims to investigate the key success factors and potential benefits of preference learning in code LMs, which remain elusive despite its success in aligning LMs with human values. PLUM consists of three stages: (1) Generating test cases for natural language instructions, (2) sampling candidate solutions from the policy and evaluating them against the test cases to create a preference dataset, which is then used to (3) train the policy with a preference learning algorithm. Experiments demonstrate that PLUM substantially improves the performance of existing code LMs on established code generation benchmarks such as HumanEval (+) and MBPP (+), even for the state-of-the-art open-source language model CodeQwen-1.5-7B-Chat. PLUM complements the supervised fine-tuning (SFT) stage, demonstrating synergistic effects.
[ -0.18574059009552002, -0.23519782721996307, 0.2821333706378937, 0.07277605682611465, 0.10054820775985718, 0.06421063095331192, -0.34694942831993103, -0.1387949138879776, -0.11670760810375214, 0.5109300017356873, -0.09524481743574142, -0.31064268946647644, -0.4075196087360382, -0.015126538462936878, -0.01604381762444973, 1.1831847429275513, 0.20860375463962555, 0.21633115410804749, -0.21873974800109863, -0.06729358434677124, -0.4891146421432495, -0.7033202052116394, -0.46557602286338806, -0.3909854590892792, 0.2677978575229645, 0.6900850534439087, 0.7714465260505676, 0.4406612813472748, 0.3014127314090729, 0.18832999467849731, 0.20058971643447876, 0.039307497441768646, -0.3816295862197876, 0.01706981100142002, 0.10174257308244705, -0.9464068412780762, -0.26214107871055603, 0.03865773603320122, 0.2523534297943115, 0.5898599028587341, -0.12043768167495728, -0.09044322371482849, 0.10886957496404648, 1.0766605138778687, -0.640755832195282, 0.45527011156082153, -0.7769027948379517, -0.08022162318229675, -0.008967248722910881, -0.5457987189292908, -0.7061288952827454, -0.5904120206832886, -0.020281750708818436, -0.18615853786468506, 0.14450137317180634, -0.06938046216964722, 0.7344701290130615, 0.1641775369644165, -0.46091318130493164, -0.34511876106262207, -0.5098667144775391, 0.9717829823493958, -0.6291160583496094, 0.38618654012680054, 0.4289943277835846, 0.28371870517730713, -0.1076875701546669, -0.290616512298584, -0.010332481935620308, -0.5416439771652222, -0.0023204477038234472, 0.09780973196029663, 0.07994823157787323, -0.07741886377334595, 0.3325033187866211, 0.39638280868530273, -0.4524482488632202, 0.06480125337839127, -0.38745176792144775, -0.32655128836631775, 0.5930431485176086, 0.01245814748108387, 0.20858658850193024, -0.19411902129650116, -0.04729444533586502, -0.00042038652463816106, -0.8727492094039917, 0.48475009202957153, 0.3446338474750519, 0.4438493549823761, -0.14456982910633087, 0.454897403717041, -0.15191145241260529, 0.5410030484199524, -0.11966393887996674, -0.09098805487155914, 0.4488030970096588, 0.25417807698249817, -0.08497755229473114, 0.026852384209632874, 0.4939252436161041, 0.42712336778640747, 0.6435419321060181, -0.13861387968063354, -0.20793062448501587, 0.4872716963291168, 0.34525877237319946, -0.8262057304382324, -0.5844697952270508, 0.2220965027809143, -0.3621200621128082, -0.5352538228034973, -0.12013855576515198, -0.39276278018951416, -0.5724231600761414, -0.4204632341861725, 0.13754989206790924, -0.50682133436203, -0.45783862471580505, 0.3968956768512726, 0.013113853521645069, 0.4306494891643524, 0.09933901578187943, -0.9352303147315979, 0.09211593866348267, 0.8181028962135315, 0.6001940965652466, -0.28951629996299744, -0.05334281921386719, -0.7709494233131409, -0.39549851417541504, -0.5790358185768127, 0.5755721926689148, -0.5756622552871704, -0.6083400845527649, 0.10330841690301895, -0.19639183580875397, 0.019661299884319305, -0.6917384266853333, 0.4262585937976837, -0.5246567130088806, 0.0798928514122963, -0.1687825322151184, -0.727350115776062, 0.29889529943466187, 0.31116801500320435, -0.3776397407054901, 0.8309462070465088, 0.20035548508167267, -0.6107189059257507, 0.40769076347351074, -0.7693384289741516, -0.4295319616794586, -0.015000012703239918, -0.39892563223838806, -0.4425736367702484, 0.13579392433166504, 0.000472034327685833, 0.46813228726387024, 0.01860785484313965, 0.3262172341346741, -0.37947526574134827, -0.4576471149921417, 0.42350393533706665, -0.34801197052001953, 0.8362325429916382, 0.2803530991077423, -0.4237443804740906, 0.18151842057704926, -0.3922954797744751, 0.16189773380756378, 0.3123690187931061, -0.45560118556022644, -0.4297178387641907, 0.03332637995481491, -0.31763243675231934, -0.08698853850364685, 0.09056048095226288, -0.281179815530777, 0.33797651529312134, -0.5621345043182373, 0.42813390493392944, 0.7118518352508545, -0.18045838177204132, 0.8728702068328857, -0.3963780701160431, 0.5790961384773254, 0.03475489094853401, 0.3000034987926483, -0.3848440945148468, -0.5864325761795044, -0.8694986701011658, 0.051000840961933136, 0.417492151260376, 0.481817364692688, -0.45408621430397034, 0.04307159036397934, 0.06357543915510178, -0.3174203038215637, -0.44090405106544495, 0.07234838604927063, 0.5347281694412231, 0.4124932885169983, 0.30831852555274963, -0.4081483483314514, -0.4726940393447876, -0.8376437425613403, -0.3304555416107178, -0.21018876135349274, 0.01672469824552536, 0.7104049921035767, 0.14601799845695496, -0.3512701988220215, 1.2684450149536133, -0.6853088736534119, -0.011663265526294708, -0.3014139235019684, -0.05443194508552551, 0.35524269938468933, 0.41202571988105774, 0.726773738861084, -1.1078732013702393, -0.502539873123169, -0.06601504981517792, -0.326191782951355, -0.11927085369825363, 0.11512249708175659, -0.029017247259616852, 0.48407676815986633, 0.27441102266311646, -0.06615828722715378, 0.18509012460708618, 0.4859069883823395, -0.10696396976709366, 1.0207033157348633, -0.12319856882095337, 0.13124042749404907, -0.9608029127120972, -0.19299812614917755, 0.11003828793764114, -0.4071970582008362, -0.37679189443588257, 0.25568175315856934, 0.4898179769515991, -0.2225813865661621, -0.6175138354301453, 0.41492775082588196, -0.40141940116882324, -0.18624772131443024, -0.27570217847824097, -0.2571900188922882, -0.06222992762923241, 0.716853678226471, 0.17120952904224396, 1.0704365968704224, 0.6183661222457886, -0.8291982412338257, -0.04578762128949165, -0.10034510493278503, -0.24175944924354553, 0.21325214207172394, -0.537412703037262, 0.27307626605033875, 0.13389705121517181, -0.18700122833251953, -0.7396649122238159, 0.05813050642609596, 0.12392544746398926, -0.49099382758140564, 0.304580956697464, -0.5369376540184021, -0.05789141356945038, -0.21578344702720642, -0.2048804759979248, 0.24376046657562256, 0.8209071159362793, -0.4900686740875244, 0.1796538084745407, 0.4176202714443207, -0.04299316182732582, -0.5685078501701355, -0.36266377568244934, -0.15768615901470184, -0.19561856985092163, 0.003989121876657009, 0.11143095791339874, -0.36661386489868164, -0.24956592917442322, -0.2164239138364792, -0.2711203098297119, -0.18438801169395447, 0.2862618565559387, 0.3128484785556793, 0.42284291982650757, -0.19125153124332428, 0.15998575091362, -0.09309995919466019, -0.4047805666923523, 0.08982542157173157, -0.3861777186393738, 0.5135742425918579, -0.699167013168335, -0.2922765910625458, 0.11504162847995758, 0.053769756108522415, 0.4288383722305298, -0.411684513092041, 0.39591914415359497, 0.1761060208082199, -0.10939491540193558, -0.2613089680671692, -0.30096352100372314, -0.1803882122039795, -0.48701420426368713, 0.29286229610443115, -0.5459599494934082, -0.9321780204772949, 0.040304966270923615, -0.2366107851266861, 0.32210245728492737, 0.06821194291114807, 0.3971571922302246, -0.053540728986263275, 1.1822296380996704, 0.7734876871109009, -0.5604217052459717, 0.5631709098815918, -0.3568279445171356, 0.2202368825674057, -0.45533236861228943, 0.08807127177715302, -0.7290810346603394, 0.05399598926305771, -0.5522135496139526, -0.3243502080440521, 0.3590205907821655, 0.14890038967132568, -0.23838376998901367, 0.2778586745262146, -0.4608701765537262, 0.8186206817626953, 0.6191617846488953, 0.19938533008098602, 0.25922510027885437, -0.06939122080802917, -0.3635910451412201, -0.26444193720817566, -0.7363061308860779, -0.5522668361663818, 1.2944586277008057, 0.3823793828487396, 0.7049795389175415, 0.013685719110071659, 0.8521923422813416, 0.37427785992622375, 0.6271035671234131, -0.9825094938278198, 0.35418546199798584, 0.007449486292898655, -0.37654656171798706, -0.018540341407060623, -0.6572247743606567, -0.756812334060669, -0.08331205695867538, -0.11222978681325912, -0.3644184172153473, -0.13051168620586395, 0.4446876645088196, -0.19384616613388062, 0.05847993493080139, -1.0209394693374634, 0.9701697826385498, -0.5341793894767761, -0.443604975938797, -0.09905163943767548, -0.4760698080062866, 0.23376122117042542, 0.22362862527370453, 0.2396511435508728, 0.11207341402769089, 0.11914673447608948, 0.529098629951477, -0.10621373355388641, 0.8097081184387207, -0.19533662497997284, -0.14532941579818726, 0.13592757284641266, 0.45942044258117676, 0.3728513717651367, 0.2102164924144745, -0.22714035212993622, 0.12162723392248154, -0.10035286098718643, -0.45574408769607544, -0.5527937412261963, 0.6366820931434631, -0.6590370535850525, -0.5022587776184082, -0.3536197543144226, -0.4486885666847229, -0.5072697997093201, 0.3344178795814514, 0.17946042120456696, 0.7196477651596069, 0.07527091354131699, 0.2148514688014984, 0.799292802810669, -0.23074455559253693, 0.23151889443397522, 0.5549390912055969, -0.4884464740753174, -0.06469398736953735, 0.954742968082428, -0.3625185191631317, 0.2629619240760803, 0.347579687833786, 0.44864678382873535, -0.2634992301464081, -0.5173786282539368, -0.32237711548805237, 0.10772298276424408, -0.4370265305042267, -0.2584899365901947, -0.5197396278381348, -0.15600311756134033, -0.35238540172576904, -0.1907072216272354, -0.5984479784965515, -0.11897475272417068, -0.10126948356628418, 0.04964646324515343, 0.23594191670417786, 0.4056709408760071, 0.31207048892974854, -0.08492233604192734, -0.8663962483406067, 0.20883949100971222, 0.2972577214241028, 0.6211904287338257, -0.30313172936439514, -0.34573227167129517, -0.28964242339134216, 0.319514662027359, -0.38612908124923706, -0.9109756946563721, 0.28436121344566345, -0.07831085473299026, 0.33227482438087463, 0.36247551441192627, 0.260420560836792, 0.4816923141479492, -0.5157849192619324, 0.5393436551094055, 0.09436637908220291, -0.8489052653312683, 0.6378445029258728, -0.34812110662460327, 0.16884875297546387, 0.6103919744491577, 0.49782103300094604, -0.5444381833076477, -0.28998297452926636, -0.6333416104316711, -0.5588576793670654, 0.5099008679389954, 0.05698661506175995, 0.15146169066429138, -0.06753900647163391, 0.3846952021121979, 0.2614828944206238, 0.36395883560180664, -0.7963946461677551, -0.3692284822463989, 0.05311239883303642, -0.028041673824191093, -0.16656827926635742, -0.25527557730674744, 0.13799388706684113, -0.08322403579950333, 0.6812008023262024, -0.448765367269516, 0.29633980989456177, -0.10328636318445206, -0.15137448906898499, 0.23309165239334106, 0.5574985146522522, 0.2242102175951004, 0.47107696533203125, -0.23583555221557617, -0.06308049708604813, -0.20021730661392212, -0.13163569569587708, 0.018221337348222733, -0.301662802696228, -0.23810064792633057, -0.21601548790931702, -0.061530400067567825, 0.6821324825286865, 0.3614278733730316, -0.8028284907341003, 0.6913740634918213, -0.15599797666072845, -0.18698112666606903, -0.18096929788589478, 0.5109643340110779, 0.032733820378780365, 0.04209176078438759, 0.1939421445131302, 0.44534870982170105, 0.24351905286312103, -0.5859220027923584, 0.39402255415916443, 0.4437471330165863, -0.4922843873500824, 0.07197444140911102, 0.31737107038497925, 0.4073581099510193, -0.5529447793960571, 0.41832080483436584, -0.44563159346580505, -0.8458396196365356, 0.7188960909843445, 0.7169469594955444, 0.5554479360580444, 0.02649959921836853, 0.4497506022453308, 0.20651698112487793, 0.07871315628290176, -0.09390994161367416, 0.12151435762643814, -0.33816179633140564, -0.8798867464065552, -0.3526374399662018, -0.45711857080459595, -0.742394745349884, -0.016781097277998924, -0.625134289264679, 0.44336333870887756, -0.24144232273101807, 0.06408250331878662, -0.5768796801567078, 0.04584893956780434, -0.5564893484115601, 0.1033547967672348, 0.1722232550382614, 0.8811141848564148, -0.7658019661903381, 0.8419860601425171, 0.7759721279144287, -0.1874072104692459, -1.1040433645248413, 0.06258123368024826, -0.14548204839229584, -0.6859849095344543, 0.3982875645160675, 0.398616224527359, -0.06765664368867874, 0.023798804730176926, -0.3949262797832489, -0.45378613471984863, 0.5205054879188538, 0.6087839603424072, -0.7288944125175476, 0.099603570997715, -0.032785121351480484, 0.3154466152191162, -0.3881863057613373, 0.48995962738990784, 0.6193706393241882, 0.025499774143099785, -0.274554967880249, -0.7948930263519287, -0.42481446266174316, -0.45792052149772644, -0.1764676421880722, 0.408554345369339, -0.5690374970436096, 0.4699748456478119, -0.6129233241081238, -0.0049208905547857285, 0.0073617263697087765, 0.3786661624908447, 0.4806418716907501, 0.4040580689907074, 0.5906786918640137, 0.19637291133403778, 0.6443726420402527, -0.08631440997123718, 1.1024436950683594, -0.36959898471832275, 0.5906275510787964, 1.0771420001983643, -0.4132867753505707, 0.8438364267349243, 0.32359179854393005, -0.3582446575164795, 0.4714241623878479, 0.5719114542007446, 0.40526083111763, 0.47952863574028015, 0.12997932732105255, 0.23846986889839172, -0.3267132043838501, 0.053429245948791504, -0.6442830562591553, 0.32592883706092834, 0.1411239355802536, -0.14836791157722473, 0.09589521586894989, -0.020628882572054863, 0.0168522447347641, 0.30206629633903503, -0.25569820404052734, 0.5210690498352051, 0.08877669274806976, -0.7296482920646667, 0.5750676989555359, -0.08648710697889328, 0.8369372487068176, -0.5911334753036499, -0.0527973398566246, -0.41742369532585144, 0.3476391136646271, -0.22252227365970612, -0.5890333652496338, 0.1609645038843155, 0.1650504767894745, -0.16998030245304108, -0.31943756341934204, 0.7451233267784119, -0.3322812616825104, -0.20459887385368347, 0.21396398544311523, 0.26383593678474426, -0.009946983307600021, -0.11446148157119751, -0.9638688564300537, -0.12341386824846268, 0.1938188374042511, -0.0783529132604599, 0.3895089626312256, 0.07195676118135452, 0.17690476775169373, 0.7773430943489075, 0.660359263420105, 0.19423066079616547, -0.03663777559995651, 0.3087792992591858, 0.6159657835960388, -0.5112872123718262, -0.8390262722969055, -0.6885144114494324, 0.503440797328949, -0.05294010415673256, -0.15385790169239044, 0.7436749935150146, 0.8301653861999512, 1.0935416221618652, -0.2823154628276825, 0.9183463454246521, 0.07375471293926239, 0.39473021030426025, -0.6260907053947449, 0.44383078813552856, -0.5144760012626648, 0.3848056197166443, -0.28580158948898315, -0.8845181465148926, -0.36496299505233765, 0.5892401337623596, -0.6138399243354797, 0.15936236083507538, 0.6589480638504028, 1.0157678127288818, -0.1237972229719162, 0.11113918572664261, 0.2931857407093048, -0.05050678178668022, 0.36588191986083984, 0.9504409432411194, 0.7964438199996948, -0.34338077902793884, 0.5542563796043396, -0.3569723963737488, -0.47250357270240784, -0.4399358034133911, -0.8478266596794128, -0.7974169850349426, -0.41236612200737, -0.42180195450782776, -0.4573172926902771, 0.0458541139960289, 1.1352684497833252, 0.7740013599395752, -0.821884036064148, -0.4094253480434418, -0.46333879232406616, 0.17908291518688202, -0.36788812279701233, -0.2826080322265625, -0.019815392792224884, -0.6563384532928467, -0.5894805788993835, 0.3126702904701233, 0.24638596177101135, -0.17990952730178833, 0.03487377241253853, -0.6317737698554993, 0.3433680236339569, -0.17032058537006378, 0.41371992230415344, 0.3985839784145355, -0.25245973467826843, -0.053417183458805084, 0.23365415632724762, -0.29619553685188293, 0.21615846455097198, 1.2758069038391113, -0.8302333950996399, 0.39309725165367126, 0.16796892881393433, 0.8949123620986938, 0.2449840009212494, -0.2811037302017212, 0.5271312594413757, -0.49935269355773926, 0.09664709866046906, 0.2913544774055481, 0.5538974404335022, 0.14973944425582886, -0.40043383836746216, 0.49802908301353455, 0.13607317209243774, -0.6548671722412109, -0.7562808394432068, 0.4931301772594452, -0.7330690622329712, -0.22159512341022491, 1.3728771209716797, 0.014019756577908993, -0.1618913859128952, -0.08086077868938446, -0.5353677868843079, 0.08635157346725464, -0.49655768275260925, 0.8072348237037659, 0.21291999518871307, -0.15425604581832886, 0.0014233473921194673, -0.3936876356601715, 0.5511333346366882, 0.8485070466995239, -0.6325653195381165, 0.15264764428138733, 0.49723729491233826, 0.39752885699272156, 0.0122932568192482, 0.7663904428482056, -0.26067084074020386, 0.6430085897445679, -0.4119235575199127, -0.06776190549135208, -0.26702117919921875, -0.5975448489189148, -0.4409133791923523, 0.10980600118637085, 0.5272284150123596, -0.2812212109565735 ]
http://arxiv.org/abs/2406.06878v1
http://arxiv.org/pdf/2406.06878v1
Modeling language contact with the Iterated Learning Model
2024-06-11T01:43:23
2024-06-11T01:43:23
Seth Bullock, Conor Houghton
cs.CL
cs.CL
Contact between languages has the potential to transmit vocabulary and other language features; however, this does not always happen. Here, an iterated learning model is used to examine, in a simple way, the resistance of languages to change during language contact. Iterated learning models are agent-based models of language change, they demonstrate that languages that are expressive and compositional arise spontaneously as a consequence of a language transmission bottleneck. A recently introduced type of iterated learning model, the Semi-Supervised ILM is used to simulate language contact. These simulations do not include many of the complex factors involved in language contact and do not model a population of speakers; nonetheless the model demonstrates that the dynamics which lead languages in the model to spontaneously become expressive and compositional, also cause a language to maintain its core traits even after mixing with another language.
[ -0.08295105397701263, -0.6863430738449097, 0.3873434364795685, 0.24220150709152222, 0.055093914270401, 0.39561429619789124, -0.27333664894104004, -0.7330330610275269, -0.00774703873321414, 0.6626182198524475, -0.5402587652206421, -0.3031820058822632, -0.2791014015674591, 0.036906104534864426, -0.5853055715560913, 0.8514747619628906, -0.17156869173049927, -0.14639389514923096, -0.19311819970607758, -0.14289702475070953, -0.19517238438129425, -0.5848477482795715, -0.7330469489097595, -0.6894681453704834, 0.2608680725097656, 0.3428483009338379, 0.5266439914703369, 0.5182633399963379, 0.3785504698753357, 0.43800997734069824, -0.058549270033836365, -0.26971158385276794, -0.4553945064544678, -0.05949632078409195, -0.45346781611442566, -0.8783278465270996, 0.1129525750875473, 0.1465490609407425, 0.8755479454994202, 1.1414839029312134, -0.26686951518058777, -0.10668258368968964, -0.14303681254386902, 0.8818200826644897, -0.20927214622497559, 0.34630316495895386, -0.37362444400787354, -0.01914566569030285, -0.27303841710090637, -0.2710096836090088, -0.6821163296699524, -0.14584609866142273, 0.3305458128452301, -0.13298431038856506, 0.13955309987068176, -0.19303834438323975, 0.6688273549079895, -0.22003431618213654, -0.47311875224113464, -0.20882432162761688, -1.1982141733169556, 0.6616582870483398, -0.6528152227401733, 0.345685750246048, 0.4489120841026306, 0.26408466696739197, -0.06833013892173767, -0.6428307890892029, -0.47280973196029663, -0.9156442284584045, 0.08856485038995743, 0.004713950678706169, 0.031096670776605606, 0.08445379883050919, 0.1037607342004776, 0.24788130819797516, -0.22980262339115143, 0.04889572784304619, -0.5659590363502502, 0.15231075882911682, 0.7545524835586548, 0.264772891998291, 0.5910095572471619, 0.2944052815437317, -0.6387649774551392, -0.17293314635753632, -0.7017543315887451, 0.24507944285869598, 0.5368494391441345, 0.579612672328949, -0.2942868173122406, 0.511591374874115, 0.07635242491960526, 1.0867669582366943, 0.067779541015625, -0.4131736159324646, 0.18339715898036957, -0.267263799905777, 0.023762546479701996, -0.029530785977840424, 0.705177366733551, 0.15609095990657806, 0.30696606636047363, -0.4202171266078949, -0.27866652607917786, 0.025194460526108742, 0.35926201939582825, -0.40931233763694763, -0.07428169995546341, -0.013806463219225407, -0.36611777544021606, -0.3011307418346405, 0.05097667872905731, -0.3539256155490875, 0.1517280638217926, -0.3848508298397064, 0.5108806490898132, -0.6058834791183472, -0.8220086097717285, -0.014942816458642483, 0.09836570918560028, -0.042201872915029526, 0.2716522514820099, -0.9176425933837891, 0.654977560043335, 0.3718882203102112, 0.9238235354423523, -0.3533419370651245, -0.7729382514953613, -0.04998779296875, -0.01021952647715807, -0.6142293214797974, 0.8797175884246826, -0.8147363662719727, -0.350276917219162, 0.2355017066001892, 0.11798430234193802, -0.7429535984992981, -0.8099092245101929, -0.22621363401412964, -0.6755115985870361, 0.13316594064235687, 0.038540489971637726, -0.7734753489494324, -0.4876081943511963, 0.13185040652751923, -0.8462343811988831, 1.0406094789505005, 0.4544298052787781, -0.5730318427085876, 0.14808019995689392, -0.46473178267478943, -0.45025309920310974, 0.08509761095046997, 0.09984137862920761, -0.3828109800815582, 0.12368187308311462, -0.8775162696838379, 0.17571216821670532, -0.21705028414726257, 0.25207293033599854, -0.34059593081474304, -0.1329975724220276, 0.31693512201309204, -0.007040938828140497, 0.77748042345047, 0.16929830610752106, -0.22241313755512238, 0.23840835690498352, -0.9101061224937439, -0.2257091999053955, 0.14869064092636108, -0.6266166567802429, -0.38625574111938477, 0.19441936910152435, 0.024020565673708916, 0.5890113115310669, 0.11891798675060272, -0.203473761677742, 0.5478968024253845, -0.45232874155044556, 0.2704569697380066, 0.418605238199234, 0.16860663890838623, 0.798126757144928, -0.6925972700119019, 0.4944645166397095, 0.43477028608322144, -0.07887272536754608, -0.014363308437168598, -0.1344773769378662, -0.8593621850013733, 0.05288511514663696, 0.2117626965045929, 0.5232734084129333, -1.0288677215576172, -0.07020500302314758, 0.09795808792114258, -0.5093325972557068, -0.5004751086235046, 0.37168964743614197, 0.29811087250709534, 0.3357677757740021, 0.05993673577904701, -0.39486661553382874, -0.30686426162719727, -0.4995335042476654, -0.14037087559700012, -0.5599089860916138, 0.39791035652160645, -0.09776635468006134, 0.35544276237487793, -0.07425601035356522, 0.6095291376113892, 0.28057724237442017, -0.20865224301815033, -0.6196838617324829, 0.2357795089483261, -0.1848088502883911, 0.40814635157585144, 0.6421407461166382, -0.6902130246162415, -0.7773625254631042, 0.23146399855613708, -0.5858399271965027, -0.09577000141143799, -0.17033201456069946, 0.22989194095134735, 0.39595580101013184, 0.7083297967910767, -0.24979236721992493, 0.4733477234840393, 0.6391343474388123, -0.2639334797859192, 0.35478755831718445, -0.23137405514717102, -0.02284875325858593, -1.1829299926757812, -0.029404083266854286, 0.08232706785202026, -0.1295497566461563, -1.1481627225875854, -0.009179837070405483, -0.1382090151309967, 0.159590944647789, -0.7527151107788086, 0.7237005233764648, -0.7034388780593872, -0.26781797409057617, -0.42468827962875366, -0.10301854461431503, -0.49575239419937134, 0.27726495265960693, 0.37150636315345764, 0.6065032482147217, 0.8245383501052856, -0.9062772989273071, 0.260949045419693, -0.1485266238451004, -0.22863738238811493, 0.35997265577316284, -0.3118010461330414, 0.16373847424983978, 0.011961568146944046, -0.2825067937374115, -1.0016415119171143, -0.02486901544034481, 0.03991621732711792, -0.14492982625961304, 0.4602009952068329, -0.1275753676891327, -0.557531476020813, -0.15767014026641846, -0.17754560708999634, 0.35915225744247437, 0.09868468344211578, -0.39254650473594666, 0.7642704844474792, 0.059147682040929794, -0.004471536260098219, -0.34861132502555847, -0.33550959825515747, 0.11701499670743942, -0.1526840627193451, -0.6052808165550232, 0.18461549282073975, -0.13041117787361145, -0.6306387782096863, 0.1375252604484558, 0.2763030529022217, -0.10033391416072845, 0.3774896562099457, 0.19965848326683044, 0.2313806712627411, -0.06914757937192917, 0.2510295510292053, -0.3570350706577301, -0.018569232895970345, -0.07077379524707794, -0.11160484701395035, 0.7258170247077942, -0.09012962132692337, -0.5108424425125122, -0.4894045293331146, 0.448143869638443, 0.575472354888916, -0.2820114493370056, 1.1197657585144043, 0.050084374845027924, -0.3148459196090698, -0.2814432382583618, -0.333556205034256, -0.24374522268772125, -0.4332844316959381, 0.2667970061302185, -0.6950950026512146, -0.7787545323371887, 0.7606024742126465, -0.35795366764068604, -0.05621114745736122, 0.45570430159568787, 0.7965903878211975, -0.07328157871961594, 0.8288412094116211, 1.2711782455444336, -0.20471985638141632, 0.8953766226768494, -0.12479159981012344, 0.11374062299728394, -0.4837908148765564, -0.4018228054046631, -0.556442141532898, -0.044719524681568146, -0.8572056889533997, -0.29117676615715027, -0.05571313202381134, 0.28277620673179626, 0.09121325612068176, 0.44871947169303894, 0.11813031882047653, 0.16181187331676483, 0.6227878332138062, 0.012696943245828152, 0.4657176434993744, -0.039937857538461685, -0.4505472779273987, 0.2569195330142975, -0.7438718676567078, -0.4876041114330292, 0.7294678092002869, 0.19672897458076477, 1.1370865106582642, 0.27010148763656616, 0.6291896104812622, 0.3178827166557312, 0.4524534344673157, -0.5907294154167175, 0.4493309259414673, 0.1726362705230713, -0.5350316762924194, -0.1233077123761177, -0.28579431772232056, -0.8728960752487183, -0.006316736340522766, -0.11032228916883469, -1.1946319341659546, 0.2792203724384308, 0.07708737999200821, 0.30915072560310364, 0.48376694321632385, -0.4910261332988739, 0.4684235155582428, -0.08795638382434845, -0.5075525045394897, -0.15884527564048767, -0.6457394361495972, 0.24360187351703644, -0.13002906739711761, -0.0274400282651186, 0.028854938223958015, 0.26350152492523193, 0.5994313955307007, -0.5766659379005432, 1.3104772567749023, 0.10905857384204865, -0.2750305235385895, 0.5807051658630371, 0.3687439262866974, 0.3749805986881256, -0.46138328313827515, -0.1787017434835434, 0.024059752002358437, -0.06311501562595367, -0.426098495721817, -0.20164892077445984, 0.3856835961341858, -0.9748802185058594, -0.5571436285972595, -0.3528346121311188, -0.6025530099868774, -0.05400800332427025, 0.0790446475148201, 0.2763844430446625, -0.007377177011221647, -0.2386397272348404, -0.13133010268211365, 0.446657657623291, 0.10334218293428421, 0.6533690094947815, 0.9357174634933472, -0.48725372552871704, 0.21894624829292297, 0.8553767800331116, 0.2885608673095703, 0.8710610270500183, 0.3394307494163513, 0.03850230574607849, -0.04679892584681511, -0.3281143605709076, -0.21608947217464447, 0.38306355476379395, -0.5948755145072937, 0.2624076008796692, -0.6424078941345215, -0.5422742366790771, -0.12687177956104279, 0.09046965837478638, -0.5199035406112671, -0.12448655813932419, -0.3140311539173126, -0.21881103515625, 0.32186952233314514, 1.0204704999923706, -0.3858684301376343, 0.3190258741378784, -0.711890459060669, -0.02631276659667492, 0.25097596645355225, 0.31440410017967224, -0.017928168177604675, -0.6633949279785156, -0.3537862002849579, -0.15027369558811188, -0.20047076046466827, -1.1582409143447876, 0.4116952121257782, 0.39733362197875977, 0.6208038926124573, 0.6164630651473999, -0.04309992119669914, 0.32458558678627014, -0.5101156830787659, 0.4491439759731293, 0.04738856852054596, -0.8810632824897766, 0.2999309003353119, -0.23231549561023712, 0.06689297407865524, 0.2936796545982361, 0.47492286562919617, -0.7574688792228699, -0.5831679701805115, -0.7307282090187073, -0.6853858232498169, 0.8011894226074219, -0.23187275230884552, 0.17442263662815094, -0.03097575716674328, 0.28090164065361023, 0.15643668174743652, 0.2566714286804199, -0.7805815935134888, -0.3121308982372284, 0.12869234383106232, -0.0007505178800784051, -0.22462913393974304, -0.31356048583984375, -0.14842744171619415, -0.05419576168060303, 0.5550358891487122, -0.15994147956371307, 0.3247321844100952, -0.21379609405994415, -0.3193437457084656, -0.5711389183998108, 0.07136935740709305, 0.7958147525787354, 0.7183937430381775, 0.0013573665637522936, 0.2096293717622757, -0.0397767536342144, -0.1723095178604126, 0.4238194227218628, 0.12579330801963806, -0.19867751002311707, 0.11787492036819458, 0.5541680455207825, 1.1471362113952637, -0.03642572835087776, -0.5774849057197571, 0.409435898065567, 0.1825065016746521, -0.35486456751823425, -0.23703889548778534, 0.1644597351551056, 0.4077250361442566, 0.3247610628604889, 0.347313791513443, 0.030456870794296265, -0.08294586092233658, -1.0191047191619873, 0.3453001379966736, 0.282833069562912, -0.5632903575897217, -0.6929673552513123, 0.40157464146614075, -0.0540507435798645, -0.5719666481018066, 0.5196541547775269, 0.057312969118356705, -0.758066713809967, 0.7224334478378296, 0.7937109470367432, 0.6375659108161926, -0.901358425617218, 0.36555787920951843, 0.25769954919815063, 0.437796026468277, -0.29954925179481506, 0.24565967917442322, -0.13559675216674805, -0.9488677382469177, -0.37288060784339905, -0.24281901121139526, -0.6280560493469238, 0.0733860582113266, -0.8159472942352295, 0.1448277235031128, -0.21606728434562683, 0.03731304034590721, -0.007640793453902006, -0.08116136491298676, -0.6407697796821594, 0.22144897282123566, 0.057394176721572876, 0.9775295257568359, -1.3731493949890137, 1.010669469833374, 0.9511940479278564, -0.49676233530044556, -0.9442687630653381, 0.006257146596908569, -0.04559880867600441, -0.7399700880050659, 0.78462153673172, 0.24359755218029022, 0.05348343029618263, 0.10672729462385178, -0.43366357684135437, -0.7333945035934448, 0.64045649766922, 0.33678534626960754, -0.5041165947914124, 0.0523662231862545, 0.35797277092933655, 0.6643549799919128, -0.4913228750228882, 0.3417221009731293, 0.4255932867527008, 0.08482429385185242, 0.2452981024980545, -0.9121349453926086, -0.20506598055362701, -0.33945968747138977, 0.27210938930511475, 0.2651861906051636, -1.0088900327682495, 1.054411768913269, -0.43610498309135437, -0.3810478448867798, 0.04679005220532417, 0.48185995221138, -0.09046301245689392, 0.16021175682544708, 0.5426247119903564, 0.5171834826469421, 0.5234982967376709, -0.05433354899287224, 0.8284431099891663, -0.5787835717201233, 0.51495760679245, 1.208109736442566, -0.6793086528778076, 0.9366894960403442, 0.44337424635887146, -0.2395724505186081, 0.5914669036865234, 0.7710208892822266, 0.2516966462135315, 0.6281378269195557, 0.31207403540611267, -0.7139376997947693, -0.11599158495664597, -0.07696282863616943, -0.18968245387077332, 0.6026082634925842, 0.3391837179660797, -0.4059154689311981, -0.4536845088005066, 0.5552762746810913, -0.04359426349401474, 0.1903401017189026, -0.1265740543603897, 1.2678231000900269, -0.010199988260865211, -0.6643772125244141, 0.47040507197380066, -0.14355038106441498, 0.23386822640895844, -0.5514729022979736, -0.21599048376083374, -0.296522319316864, 0.13366131484508514, -0.15687346458435059, -0.690472424030304, 0.34414225816726685, -0.24609874188899994, -0.24345451593399048, -0.0003847346524707973, 0.9102898240089417, -0.8755787014961243, -0.41276946663856506, 0.8675041794776917, 0.7595919966697693, 0.12680713832378387, 0.3974374830722809, -0.6743006110191345, 0.11579691618680954, 0.024656672030687332, -0.5377575159072876, 0.6257553100585938, 0.49274590611457825, -0.3998916745185852, 1.1083683967590332, 0.46070268750190735, 0.07517505437135696, 0.3983668386936188, 0.25435715913772583, 0.9060903191566467, -0.5588740110397339, -0.16564857959747314, -0.7314005494117737, 0.49306797981262207, 0.22495785355567932, 0.14805488288402557, 0.5084112286567688, 0.18855957686901093, 0.9664469361305237, -0.13295972347259521, 0.7428493499755859, -0.05612586811184883, 0.514854371547699, -0.3882286548614502, 0.4177965521812439, -0.4404502213001251, 0.22220677137374878, 0.014779778197407722, -0.8572940230369568, 0.07140772044658661, 0.5783256888389587, -0.1712813377380371, 0.2983000576496124, 0.7421387434005737, 0.5356250405311584, 0.26023247838020325, -0.30424487590789795, 0.605089008808136, 0.37726783752441406, 0.137869194149971, 0.4383755922317505, 0.810016393661499, -0.1330195814371109, 0.04696062207221985, -0.5401453971862793, -0.17307515442371368, -0.32420891523361206, -0.7153223156929016, -1.1043676137924194, -1.0212347507476807, -0.5348255634307861, -0.5684587955474854, 0.11782895773649216, 0.9034972190856934, 0.5712515711784363, -0.6853892803192139, -0.628763735294342, -0.2881407141685486, -0.10492626577615738, -0.47108590602874756, -0.3124159574508667, 0.08458488434553146, -0.6083175539970398, -0.8700281977653503, 0.29398754239082336, 0.35635095834732056, 0.27569517493247986, -0.40075981616973877, 0.14171968400478363, -0.6101140975952148, 0.067545086145401, 0.5124433040618896, 0.7578095197677612, -0.4120294451713562, -0.14000891149044037, -0.22562864422798157, -0.27907705307006836, 0.19220301508903503, 0.5806886553764343, -0.6621845364570618, 0.7759094834327698, 0.20564278960227966, 0.6067256331443787, 0.6023823618888855, -0.26971665024757385, 0.7349003553390503, -0.6096835136413574, 0.32137078046798706, -0.061069101095199585, 0.19040752947330475, 0.3943629860877991, -0.27514615654945374, 0.4744041860103607, 0.4760129153728485, -0.2714657783508301, -0.6032116413116455, 0.21514232456684113, -0.8409102559089661, -0.07155317813158035, 1.11013925075531, -0.2922968864440918, -0.31192687153816223, -0.12932218611240387, -0.054425712674856186, 0.324843168258667, -0.06640605628490448, 0.9403111338615417, 0.8686222434043884, -0.12148993462324142, -0.657381534576416, -0.5720657110214233, 0.532626211643219, 0.14061619341373444, -0.834179162979126, -0.19541749358177185, -0.006789743434637785, 0.6300485730171204, 0.22844576835632324, 0.6333266496658325, 0.06904594600200653, 0.2876245975494385, -0.13505420088768005, 0.36112430691719055, 0.47081369161605835, -0.5146278738975525, -0.1643386036157608, -0.036087729036808014, 0.4912590980529785, -0.0951162725687027 ]
http://arxiv.org/abs/2406.10261v1
http://arxiv.org/pdf/2406.10261v1
FoodSky: A Food-oriented Large Language Model that Passes the Chef and Dietetic Examination
2024-06-11T01:27:00
2024-06-11T01:27:00
Pengfei Zhou, Weiqing Min, Chaoran Fu, Ying Jin, Mingyu Huang, Xiangyang Li, Shuhuan Mei, Shuqiang Jiang
cs.CL
cs.CL, cs.AI
Food is foundational to human life, serving not only as a source of nourishment but also as a cornerstone of cultural identity and social interaction. As the complexity of global dietary needs and preferences grows, food intelligence is needed to enable food perception and reasoning for various tasks, ranging from recipe generation and dietary recommendation to diet-disease correlation discovery and understanding. Towards this goal, for powerful capabilities across various domains and tasks in Large Language Models (LLMs), we introduce Food-oriented LLM FoodSky to comprehend food data through perception and reasoning. Considering the complexity and typicality of Chinese cuisine, we first construct one comprehensive Chinese food corpus FoodEarth from various authoritative sources, which can be leveraged by FoodSky to achieve deep understanding of food-related data. We then propose Topic-based Selective State Space Model (TS3M) and the Hierarchical Topic Retrieval Augmented Generation (HTRAG) mechanism to enhance FoodSky in capturing fine-grained food semantics and generating context-aware food-relevant text, respectively. Our extensive evaluations demonstrate that FoodSky significantly outperforms general-purpose LLMs in both chef and dietetic examinations, with an accuracy of 67.2% and 66.4% on the Chinese National Chef Exam and the National Dietetic Exam, respectively. FoodSky not only promises to enhance culinary creativity and promote healthier eating patterns, but also sets a new standard for domain-specific LLMs that address complex real-world issues in the food domain. An online demonstration of FoodSky is available at http://222.92.101.211:8200.
[ 0.05352000519633293, -0.9739958643913269, 0.6675311326980591, -0.11268796026706696, 0.11955130845308304, -0.24286237359046936, -0.33338460326194763, -0.2349555790424347, 0.35261017084121704, 0.5288938879966736, -0.522478461265564, -0.6283554434776306, -0.5793294906616211, 0.1297476440668106, -0.6148974299430847, 0.7463228702545166, 0.023582344874739647, 0.1277153640985489, -0.3345045745372772, 0.11139838397502899, 0.009033728390932083, -0.11332178860902786, -0.4377356171607971, -0.16395266354084015, 0.5990069508552551, 0.633239209651947, 0.6501607894897461, 0.6847743391990662, 0.4329582452774048, 0.2726604640483856, -0.20394273102283478, 0.26412609219551086, -0.4246968626976013, 0.25342899560928345, -0.33626559376716614, -0.4411933422088623, -0.38114261627197266, -0.10183192789554596, 0.14819791913032532, 0.9897711873054504, -0.24773599207401276, 0.12563665211200714, -0.13065430521965027, 0.8552812337875366, -0.44927358627319336, 0.26532745361328125, -0.5137107968330383, 0.22848515212535858, -0.04366312548518181, 0.03592871502041817, -0.19275034964084625, -0.3086014688014984, 0.2593754529953003, -1.1471115350723267, -0.2940838038921356, -0.0748681128025055, 0.7748508453369141, 0.21387532353401184, -0.6912088990211487, -0.22108852863311768, -0.6479386687278748, 0.8644681572914124, -0.8680595755577087, 0.6777390837669373, 0.5186102986335754, 0.15600673854351044, -0.4232299029827118, -0.8693287968635559, -0.813252329826355, -0.39604195952415466, 0.2718508839607239, 0.28877946734428406, 0.33212780952453613, -0.3090279698371887, 0.20059579610824585, 0.4445023834705353, -0.5560910701751709, -0.11215425282716751, -0.24956554174423218, 0.09224197268486023, 0.48532459139823914, 0.36701858043670654, 0.8356087803840637, -0.43638718128204346, -0.5971728563308716, 0.01977110095322132, -0.6171320676803589, -0.06748799979686737, -0.029295243322849274, 0.2762330174446106, 0.008395375683903694, 0.6051677465438843, -0.5203107595443726, 0.7146925926208496, -0.2769162952899933, -0.37457185983657837, 0.13075676560401917, -0.28302448987960815, -0.10317555069923401, 0.15834574401378632, 0.492783784866333, 0.6606712341308594, 0.04306095466017723, 0.07465657591819763, -0.14779675006866455, -0.03855247423052788, 0.16678324341773987, -0.7101390957832336, -0.3714072108268738, 0.4582322835922241, -0.27106383442878723, -0.25543612241744995, 0.1418386995792389, -0.5248942971229553, -0.7197949290275574, -0.4412553906440735, 0.24166613817214966, -0.5008964538574219, -0.5421753525733948, 0.23101148009300232, -0.37310591340065, 0.7014332413673401, 0.3018530607223511, -1.1126365661621094, 0.4464626908302307, 1.0864959955215454, 0.5413424968719482, -0.16880977153778076, -0.3659461736679077, -0.3193565905094147, 0.5238819718360901, -0.4704764187335968, 0.6270967125892639, -0.6188713908195496, -0.11353503167629242, -0.40705761313438416, 0.17174410820007324, 0.12545718252658844, -0.5218510031700134, 0.5014200806617737, -0.2498682588338852, -0.24791590869426727, -0.8840836882591248, -0.6654432415962219, -0.17423802614212036, 0.6207901835441589, -0.5943529009819031, 0.9070075154304504, 0.18688686192035675, -0.7497417330741882, 0.6328222155570984, -0.4531537592411041, -0.9004356265068054, 0.39742016792297363, -0.2530062198638916, -0.02304139733314514, -0.14931456744670868, 0.12052085995674133, 0.5770261287689209, -0.4323347508907318, 0.4535391926765442, -0.5893178582191467, -0.23031270503997803, 0.26159119606018066, -0.20279674232006073, 0.31050899624824524, 0.40988755226135254, -0.004935466218739748, 0.3403063714504242, -0.42739585041999817, -0.1246400699019432, 0.5699818730354309, -0.33213818073272705, -0.5695802569389343, 0.47185468673706055, 0.1919376105070114, -0.24466395378112793, 0.16896192729473114, -0.4084928333759308, 0.17461742460727692, -0.6386247277259827, 0.941416323184967, 0.5944413542747498, -0.08129066973924637, 0.5028305053710938, -0.25429263710975647, 0.03929485008120537, 0.15662556886672974, 0.24519266188144684, -0.13615922629833221, -0.6580647230148315, -0.46680912375450134, 0.06242729350924492, 0.14097502827644348, 0.7329168915748596, -0.7806971669197083, 0.4411362409591675, -0.23657673597335815, -0.48784101009368896, 0.04354718700051308, 0.027503497898578644, -0.19427841901779175, 0.8552330732345581, 0.12091459333896637, -0.005213784519582987, -0.20777587592601776, -0.7934380173683167, -0.288875550031662, 0.31465983390808105, -0.18473565578460693, -0.006633103359490633, 0.4041365087032318, -0.17661365866661072, 0.5950362086296082, -0.849583625793457, 0.06118442863225937, -0.7679441571235657, -0.32129400968551636, 0.40181106328964233, 0.2635055184364319, 0.2581978440284729, -0.8681886792182922, -0.6474579572677612, 0.45708543062210083, -0.644966185092926, 0.3472060263156891, 0.3333815336227417, -0.23198392987251282, -0.14179347455501556, 0.30446138978004456, -0.6054412126541138, 0.22791577875614166, 0.28386950492858887, -0.5552483797073364, 0.3862658143043518, 0.10580720752477646, 0.21158504486083984, -1.3386539220809937, -0.009556393139064312, 0.10586988180875778, 0.039535291492938995, -0.5569449067115784, 0.2249031364917755, 0.16416029632091522, -0.7074341177940369, -0.45010465383529663, 0.8465754985809326, -0.18237817287445068, -0.07335072755813599, -0.19768661260604858, -0.07130900025367737, 0.30009883642196655, 0.4917049705982208, 0.0957174301147461, 0.4204419255256653, 0.6726927757263184, -0.5933589935302734, 0.5885400176048279, -0.060023561120033264, -0.6399006247520447, 0.6053952574729919, -0.3833440840244293, -0.14867350459098816, -0.04875384271144867, 0.20742341876029968, -1.2184913158416748, -0.46581050753593445, 0.5865637063980103, -0.16808539628982544, 0.15460185706615448, 0.28785163164138794, -0.6270108819007874, -0.3248855173587799, -0.13571113348007202, 0.08090780675411224, 0.16980479657649994, -0.4836428463459015, 0.8485713601112366, 0.455644428730011, 0.02815364859998226, -0.40233683586120605, -0.6949981451034546, -0.040577616542577744, -0.025726279243826866, -0.6464107632637024, -0.04699772223830223, -0.02790505811572075, -0.2502897381782532, 0.12877951562404633, -0.6585298180580139, -0.07512630522251129, 0.3694491982460022, 0.036976203322410583, 0.06262002885341644, -0.4326742887496948, -0.04657936468720436, 0.00031482448684982955, 0.05971653759479523, 0.11171271651983261, -0.5143004655838013, 0.35729917883872986, -0.154067263007164, 0.15156374871730804, -0.32585710287094116, 0.32762467861175537, 0.696133017539978, -0.3307199776172638, 0.5450446605682373, 0.7435607314109802, -0.5027527213096619, -0.40917766094207764, -0.06241125985980034, -0.367176353931427, -0.4841001331806183, 0.67585688829422, -0.4583898186683655, -0.34948107600212097, 0.3523634672164917, -0.06759568303823471, 0.13256876170635223, 0.33216097950935364, 0.15600425004959106, -0.22495612502098083, 0.619659423828125, 0.030647780746221542, -0.11497184634208679, 0.2545826733112335, -0.04308590292930603, 0.13089783489704132, -0.7544946670532227, -0.15812033414840698, -0.21076788008213043, -0.2696681320667267, -0.403043270111084, -0.44039028882980347, 0.40221527218818665, -0.6090929508209229, -0.3194775879383087, 0.10846690088510513, -0.3803766667842865, 0.7148779034614563, 0.40262672305107117, 0.4668816924095154, 0.12098687142133713, -0.039203014224767685, -0.18645071983337402, 0.05550109222531319, -0.6658674478530884, -0.17244571447372437, 0.8021020889282227, 0.3828505873680115, 1.0417805910110474, 0.15364784002304077, 0.33515292406082153, 0.14961476624011993, 0.19712257385253906, -1.237563133239746, 0.6374577879905701, -0.7733160257339478, -0.6693800091743469, -0.6152385473251343, -0.618450403213501, -0.5239555835723877, 0.11108890175819397, 0.027951030060648918, -0.635565996170044, -0.3695298433303833, 0.12315376102924347, -0.3804399073123932, 0.44311416149139404, -1.0994397401809692, 1.0138087272644043, -0.6307874321937561, -0.6127651333808899, 0.321245402097702, -0.5383008718490601, 0.40463438630104065, 0.4008670449256897, 0.14686040580272675, -0.36349058151245117, 0.04360179230570793, 0.8941147923469543, -0.28517159819602966, 0.7811681032180786, -0.17083340883255005, -0.3504956066608429, 0.014052622951567173, 0.42863985896110535, 0.33089038729667664, 0.18582871556282043, -0.10237576812505722, 0.07763386517763138, 0.23862658441066742, -0.16443483531475067, -0.9889193773269653, 0.9667429327964783, -0.6947078108787537, -0.5633716583251953, -0.4538411498069763, -0.3638542890548706, -0.3490372896194458, 0.5775333046913147, -0.22608372569084167, 0.2772095501422882, -0.02362421527504921, 0.01554697286337614, 0.813252866268158, -0.4489978849887848, -0.35372355580329895, 0.47982320189476013, -0.31492578983306885, -0.27376431226730347, 1.3006891012191772, -0.07155434787273407, -0.016588496044278145, 0.7791823148727417, 0.8169721961021423, -0.21001693606376648, 0.02355373278260231, -0.17993204295635223, 0.09778513014316559, -0.9411120414733887, -0.1435251235961914, -0.46770524978637695, -0.19632181525230408, -0.26796770095825195, -0.1302025467157364, -0.7181649208068848, -0.21614162623882294, -0.3011000156402588, -0.24388004839420319, 0.30582767724990845, 0.6976353526115417, 0.24428120255470276, -0.16203823685646057, -0.46466419100761414, 0.7312301993370056, 0.28412023186683655, 0.43272894620895386, 0.3212396800518036, -0.24961300194263458, -0.06763390451669693, -0.19541002810001373, -0.11348354816436768, -0.946662962436676, 0.3122461438179016, 0.05001543462276459, 0.5012466311454773, 0.7671863436698914, -0.09226813167333603, 0.3410240709781647, -0.3895862400531769, 0.7201751470565796, 0.2605583071708679, -0.976944088935852, 0.6056491136550903, -0.4805590510368347, 0.7752342224121094, 0.4695374369621277, 0.5425248146057129, -1.1181384325027466, -0.2062191665172577, 0.15149381756782532, -1.104089617729187, 0.6223281025886536, -0.33079978823661804, -0.020039990544319153, -0.1929432451725006, 0.3111751973628998, 0.38428428769111633, -0.09240227937698364, -0.6961347460746765, -0.15838557481765747, -0.593786895275116, -0.26868581771850586, 0.2812911868095398, -0.2661420404911041, -0.0681290328502655, -0.5907199382781982, 0.6643106937408447, -0.04754404351115227, 0.10007649660110474, 0.16921675205230713, 0.2751029133796692, -0.16439229249954224, 0.442349910736084, 0.5013380646705627, 0.7405304908752441, -0.3789311945438385, 0.24817223846912384, 0.04158255457878113, -0.6004812717437744, 0.04274635761976242, -0.16023710370063782, 0.08065561205148697, -0.5945776700973511, 0.3113197684288025, 0.4874507784843445, 0.4179699122905731, -0.5398073792457581, 0.36635422706604004, -0.25925901532173157, -0.38561883568763733, -0.3489321768283844, 0.24555882811546326, 0.47108304500579834, 0.014562081545591354, 0.3514648377895355, -0.2852310836315155, 0.41620758175849915, -0.6442690491676331, 0.26377072930336, 0.17114034295082092, -0.16492216289043427, -0.2689831852912903, 0.525757372379303, 0.5086362957954407, 0.23970456421375275, 1.1219407320022583, -0.23491550981998444, -0.5561315417289734, 0.7963336706161499, 0.49904027581214905, 0.5397605299949646, -0.2530125379562378, 0.25630295276641846, 0.5737159848213196, 0.29156094789505005, -0.16016997396945953, 0.7256120443344116, -0.2517963945865631, -0.9301403760910034, -0.21106122434139252, -0.7592623233795166, -0.392212837934494, 0.5816231966018677, -0.5144128203392029, 0.08051936328411102, -0.6312939524650574, 0.1559496968984604, 0.13649703562259674, -0.032522205263376236, -0.5591006278991699, 0.2523983418941498, 0.5272780060768127, 1.0583046674728394, -0.7226960062980652, 0.7544287443161011, 0.8528990745544434, 0.001157568534836173, -0.8070995211601257, 0.42851120233535767, 0.14019614458084106, -0.8602771759033203, 0.6773101687431335, 0.22182418406009674, 0.09760686755180359, -0.35473698377609253, -0.7030031681060791, -0.9393261075019836, 0.8362134099006653, 0.027144096791744232, -0.6968816518783569, -0.07071472704410553, 0.13593000173568726, 0.24609257280826569, 0.12475927919149399, 0.0872805193066597, 0.4029291868209839, 0.8771212100982666, 0.2938537001609802, -0.38666921854019165, 0.23245787620544434, -0.11488457024097443, -0.04257438704371452, 0.15163594484329224, -0.7791000604629517, 0.671532154083252, -0.44331860542297363, -0.28961893916130066, 0.009554157964885235, 0.7379717230796814, 0.3147719204425812, 0.46666374802589417, 0.39739471673965454, 0.5568837523460388, 0.5615247488021851, -0.2421836256980896, 1.0012061595916748, -0.19075629115104675, 0.14274254441261292, 1.0165021419525146, -0.771599531173706, 0.7191744446754456, 0.545555055141449, -0.1161077544093132, 0.035293109714984894, 0.938503623008728, -0.07036750018596649, 0.7228140830993652, 0.47385093569755554, 0.059922996908426285, -0.27408766746520996, -0.16372734308242798, -0.2426852434873581, 0.7985370755195618, 0.6666065454483032, -0.280988872051239, -0.10150831192731857, -0.005281710997223854, -0.06309620290994644, 0.038059718906879425, -0.08541816473007202, 0.6635662317276001, 0.30741387605667114, -0.3846568167209625, 0.10789845883846283, 0.19032566249370575, 0.28467920422554016, -0.7891114354133606, -0.33596187829971313, -0.45252910256385803, -0.07409030944108963, -0.23353315889835358, -1.0201032161712646, 0.16360259056091309, -0.466714084148407, -0.04399294778704643, -0.017297523096203804, 0.6552547812461853, -0.311049222946167, -0.5583125352859497, 0.215016171336174, 0.26574522256851196, -0.041768305003643036, 0.04685113951563835, -0.6780073642730713, 0.37488895654678345, -0.30938783288002014, -0.3485584259033203, -0.09878819435834885, 0.5588666200637817, 0.42892053723335266, 0.42391252517700195, 0.41456127166748047, 0.054938800632953644, -0.4157710373401642, -0.012985131703317165, 0.7965532541275024, -0.8677582144737244, -0.946305513381958, -0.7116472125053406, 0.14855556190013885, 0.21278293430805206, -0.06848537176847458, 0.5557421445846558, 0.4856926202774048, 1.0099610090255737, -0.3924720585346222, 0.7722305059432983, -0.10392534732818604, 0.3746609389781952, -0.7028916478157043, 0.9577178359031677, -1.1564644575119019, 0.19035276770591736, -0.11045430600643158, -0.6049210429191589, -0.08795800805091858, 0.4700073301792145, -0.7259082794189453, 0.039321593940258026, 0.629122257232666, 0.5404262542724609, -0.3893950581550598, 0.09069042652845383, 0.592521071434021, 0.3804112672805786, 0.029901448637247086, 0.716693639755249, 1.1973463296890259, -0.1338896006345749, 0.019276440143585205, -0.12087012827396393, -0.030325114727020264, -0.03765023499727249, -0.47564083337783813, -0.6491467356681824, -0.7578374743461609, -0.05626027286052704, 0.10139869898557663, 0.0887436717748642, 0.8408171534538269, 0.8761165142059326, -0.5805984735488892, -0.3717505931854248, 0.1024845764040947, 0.37031447887420654, -0.4454837143421173, -0.37462079524993896, 0.24988673627376556, 0.015169685706496239, -0.43304964900016785, 0.4936152398586273, 0.41176217794418335, -0.5471968054771423, -0.25167661905288696, 0.014703776687383652, -0.26591357588768005, 0.14693203568458557, 0.8035780787467957, 0.2834866940975189, -0.8525251746177673, 0.1511465162038803, -0.0155564546585083, -0.06485302001237869, 0.10505715757608414, 0.6488834023475647, -0.06998143345117569, 0.5022411346435547, 0.3904555141925812, 0.7473176121711731, 0.18426069617271423, -0.2760775685310364, 0.4004937708377838, -0.6168166995048523, -0.14154529571533203, -0.010656505823135376, 0.28614896535873413, 0.4314931333065033, -0.6943656206130981, 0.24510221183300018, 0.24747544527053833, -0.2968953549861908, -0.3595940172672272, 0.24139805138111115, -1.0294657945632935, -0.6989994049072266, 1.442466139793396, 0.07860065251588821, -0.9293621778488159, 0.3674890398979187, 0.13555635511875153, 0.3318738341331482, -0.6141293048858643, 0.6535124182701111, 0.5786309838294983, -0.014412042684853077, -0.17838217318058014, -0.64313143491745, 0.4170909821987152, 0.24749428033828735, -1.2320928573608398, 0.1555318832397461, 0.20937694609165192, 0.7644978165626526, 0.022103337571024895, 0.35851773619651794, 0.08008162677288055, 0.305035799741745, -0.03846464678645134, -0.025354493409395218, 0.09570365399122238, -0.5757389664649963, 0.31355714797973633, -0.02645309641957283, 0.115786112844944, 0.025375062599778175 ]
http://arxiv.org/abs/2406.10260v1
http://arxiv.org/pdf/2406.10260v1
Flextron: Many-in-One Flexible Large Language Model
2024-06-11T01:16:10
2024-06-11T01:16:10
Ruisi Cai, Saurav Muralidharan, Greg Heinrich, Hongxu Yin, Zhangyang Wang, Jan Kautz, Pavlo Molchanov
cs.CL
cs.CL, cs.LG
Training modern LLMs is extremely resource intensive, and customizing them for various deployment scenarios characterized by limited compute and memory resources through repeated training is impractical. In this paper, we introduce Flextron, a network architecture and post-training model optimization framework supporting flexible model deployment. The Flextron architecture utilizes a nested elastic structure to rapidly adapt to specific user-defined latency and accuracy targets during inference with no additional fine-tuning required. It is also input-adaptive, and can automatically route tokens through its sub-networks for improved performance and efficiency. We present a sample-efficient training method and associated routing algorithms for systematically transforming an existing trained LLM into a Flextron model. We evaluate Flextron on the GPT-3 and LLama-2 family of LLMs, and demonstrate superior performance over multiple end-to-end trained variants and other state-of-the-art elastic networks, all with a single pretraining run that consumes a mere 7.63% tokens compared to original pretraining.
[ -0.44276368618011475, -0.6009857654571533, 0.45771849155426025, -0.014517143368721008, -0.2972353398799896, 0.09840438514947891, -0.5664930939674377, -0.23480331897735596, 0.05341699719429016, 0.5659603476524353, -0.6431598663330078, -0.10800494998693466, -0.3560449481010437, 0.12151484191417694, -0.3452345132827759, 0.9448724985122681, -0.22454620897769928, -0.06749410182237625, 0.2533171474933624, -0.3669547140598297, -0.03856099396944046, -0.24704991281032562, -0.5312642455101013, -0.5644845366477966, 0.5340172052383423, 0.3757905960083008, 0.8647804260253906, 0.7002008557319641, 0.04801540449261665, 0.5048595070838928, -0.26953718066215515, 0.28414490818977356, -0.5666060447692871, -0.041994012892246246, -0.2350427359342575, -0.5011539459228516, -0.5483463406562805, -0.24929697811603546, 0.7822702527046204, 0.7198995351791382, -0.47500455379486084, 0.2792034149169922, -0.2818939983844757, 0.3289943039417267, -0.36770394444465637, -0.49378108978271484, -0.6873553395271301, 0.08237000554800034, -0.10963714867830276, 0.07775501161813736, -0.2182367891073227, -0.2765827476978302, 0.28793805837631226, -0.9325616955757141, 0.19215717911720276, 0.11276716738939285, 0.6137859225273132, 0.2607779800891876, -0.4140257239341736, 0.24981482326984406, -0.7816622853279114, 0.648468017578125, -0.5861603617668152, 0.5856700539588928, -0.39702582359313965, 0.7102714776992798, -0.28381606936454773, -1.0821592807769775, -0.6310487985610962, -0.009040763601660728, 0.28698405623435974, 0.12250537425279617, 0.25553926825523376, 0.21530546247959137, -0.15189938247203827, 0.02426437847316265, -0.6827195286750793, 0.44506171345710754, -0.2076185941696167, 0.2987144887447357, 0.2827761769294739, 0.09375368058681488, 0.027112694457173347, 0.380471408367157, -0.5599904656410217, -0.11352181434631348, -0.8410283923149109, -0.21886982023715973, 0.596118152141571, 0.5622237324714661, -0.1864999532699585, 0.2972043752670288, 0.0013354086549952626, 0.3979175090789795, -0.08829350769519806, 0.012059834785759449, 0.4692874252796173, -0.16283173859119415, -0.45134952664375305, -0.023451317101716995, 0.7464215755462646, -0.34157225489616394, 0.298967570066452, -0.2664516866207123, -0.4356158673763275, 0.015724511817097664, 0.6340729594230652, -0.6133525371551514, 0.1420009732246399, 0.20943300426006317, -0.35744521021842957, -0.06253755837678909, -0.19360986351966858, -0.6424460411071777, -0.3000822067260742, -0.3371559679508209, 0.21648384630680084, -0.2251083254814148, -0.7345211505889893, 0.41576406359672546, 0.04844304546713829, 0.19557297229766846, 0.501628041267395, -0.9374094605445862, 0.6178625226020813, 0.743923008441925, 0.6787245273590088, -0.2169710397720337, -0.6255369186401367, -0.2099112719297409, 0.0465208925306797, -0.11234687268733978, 0.8081218004226685, -0.19782207906246185, -0.2040204256772995, -0.07930704206228256, 0.15055392682552338, -0.46924617886543274, -0.5414690971374512, 0.19850526750087738, -0.6530299782752991, 0.06791610270738602, 0.5509521961212158, -0.385220468044281, -0.3686378300189972, 0.5164708495140076, -0.7077162861824036, 0.7438793182373047, 0.6438832879066467, -0.5321758985519409, -0.014350119978189468, -0.7599596977233887, -0.46115928888320923, 0.1987120807170868, -0.24111609160900116, -0.5636395812034607, 0.028540663421154022, -0.014674808830022812, 0.332945317029953, -0.7310255169868469, 0.11116396635770798, -0.16380621492862701, -0.46308082342147827, 0.10820717364549637, -0.15176786482334137, 0.5329993963241577, 0.1957034170627594, -0.6038275957107544, 0.5471153855323792, -0.6601219177246094, 0.003209427697584033, 0.2895645201206207, -0.6236674189567566, 0.26090162992477417, 0.03739335760474205, 0.34499141573905945, 0.0208707507699728, 0.005343484692275524, -0.5380372405052185, 0.3696425259113312, -0.6547079086303711, 0.5062426328659058, 0.8947821855545044, -0.44801095128059387, 0.4981028139591217, -0.3230724334716797, 0.8984832167625427, -0.18443745374679565, 0.4388250410556793, -0.0007953596068546176, -0.010317136533558369, -0.6158296465873718, -0.26134252548217773, 0.04165559262037277, 0.5027010440826416, -0.6535901427268982, 0.10266685485839844, -0.5097366571426392, -0.530075192451477, -0.35400038957595825, 0.41318392753601074, 0.17640803754329681, 0.6359276175498962, 0.3984176218509674, 0.055470507591962814, -0.38097015023231506, -0.8300747871398926, -0.07145953923463821, 0.10646114498376846, -0.006108192726969719, 0.3074588477611542, 0.2767268717288971, -0.7886248826980591, 0.6368568539619446, -0.21363039314746857, 0.02604464255273342, -0.802490770816803, -0.145090252161026, 0.4709619879722595, 0.22757741808891296, 0.4321115016937256, -0.8423417210578918, -0.2621729373931885, 0.35639750957489014, -0.3403468728065491, 0.10233628749847412, -0.12104786187410355, 0.14492125809192657, 0.12238755822181702, 0.23318704962730408, -0.4904884099960327, -0.09875794500112534, 0.7883036136627197, -0.055678509175777435, 0.6677648425102234, -0.1349247694015503, -0.3458470404148102, -0.9288464784622192, -0.11316143721342087, -0.19547811150550842, -0.3791813850402832, -0.41590604186058044, -0.03231021389365196, -0.2193177044391632, -0.040919896215200424, -0.8808877468109131, 0.6211659908294678, -0.3397912383079529, -0.07037143409252167, -0.1726173758506775, -0.017281880602240562, 0.02582799270749092, 0.5172387957572937, -0.2769211232662201, 0.8689520955085754, 0.5645856857299805, -0.4601491391658783, 0.5261396765708923, 0.12520906329154968, -0.16461911797523499, 0.27723944187164307, -0.7036818265914917, 0.16696937382221222, -0.20564544200897217, 0.27753180265426636, -1.0120561122894287, -0.15053783357143402, 0.006681851111352444, 0.2537437975406647, 0.1820726990699768, -0.017134882509708405, -0.4809207022190094, -0.40132391452789307, -0.2410345822572708, 0.6692148447036743, 0.40986937284469604, -0.8258277773857117, 1.0060349702835083, 0.33508744835853577, 0.22580569982528687, -0.2465883046388626, -0.6759473085403442, -0.2909686863422394, -0.27637115120887756, -0.7410594820976257, 0.3441838324069977, 0.1474483460187912, 0.2731589674949646, -0.11643268913030624, -0.18743881583213806, -0.12530533969402313, 0.3535209596157074, 0.08776367455720901, -0.0510692223906517, -0.5892179608345032, 0.18015101552009583, -0.11347563564777374, -0.10864237695932388, -0.3051305115222931, -0.4376246929168701, 0.6977391242980957, -0.6398649215698242, -0.2653449773788452, -0.3088400959968567, 0.23631183803081512, 0.6781944036483765, -0.12077054381370544, 0.6734063029289246, 0.627434492111206, -0.06605914235115051, -0.6501269340515137, -0.5403770208358765, -0.1340571641921997, -0.6272096633911133, 0.5239275097846985, -0.29577338695526123, -0.9666017889976501, 0.38482025265693665, -0.93929523229599, 0.08367881178855896, 0.256086140871048, 0.48743221163749695, -0.02596462331712246, 0.6368608474731445, 0.6824437975883484, 0.21928371489048004, 0.7393700480461121, -0.5056537389755249, -0.06245394051074982, -0.9642559885978699, -0.1283620148897171, -0.21717585623264313, -0.33278805017471313, -0.7428017854690552, -0.30255916714668274, 0.5430049896240234, -0.21122249960899353, -0.8879987001419067, 0.6397364735603333, -0.5528185963630676, 0.35177069902420044, 0.3918651342391968, 0.27757591009140015, -0.06195922940969467, -0.1417374461889267, -0.16423094272613525, 0.5427256226539612, -1.234532356262207, -0.47619515657424927, 1.180755376815796, 0.47966623306274414, 0.7669579386711121, 0.3340998589992523, 0.3903215229511261, -0.324310302734375, 0.5958778262138367, -0.4959685206413269, 0.5962141156196594, -0.25977033376693726, -0.3983152508735657, -0.44813692569732666, -0.6772286891937256, -1.1042109727859497, 0.3704190254211426, -0.2370997965335846, -0.7127730846405029, -0.13589920103549957, 0.09426185488700867, -0.3011115789413452, 0.47237929701805115, -0.7568807601928711, 0.9961339235305786, -0.816771924495697, -0.3849903345108032, -0.2226639837026596, -0.7279015183448792, 0.2593230903148651, -0.21258343756198883, 0.10897915810346603, -0.2017202377319336, -0.22607554495334625, 0.4556392431259155, -0.5507022142410278, 0.6158068776130676, -0.03069089911878109, 0.3360050916671753, 0.22969739139080048, -0.11195722222328186, 0.47851645946502686, 0.00949067622423172, -0.5475522875785828, 0.10732723772525787, -0.34499943256378174, -0.13903085887432098, -0.5339514017105103, 0.38007980585098267, -1.2421272993087769, -0.3110068142414093, -0.024723907932639122, -0.4470716118812561, -0.11232879757881165, 0.36020466685295105, 0.12602806091308594, 0.27412140369415283, -0.27314293384552, 0.24352850019931793, 0.48139461874961853, -0.47754549980163574, 0.5616385340690613, 0.27084803581237793, 0.10701417177915573, -0.5010734796524048, 0.4083312749862671, 0.004531797952950001, 0.30702856183052063, 0.3864688575267792, 0.45972803235054016, -0.6415743827819824, -0.57509845495224, -0.5834107995033264, 0.3830872178077698, -0.45269158482551575, -0.3692691922187805, -0.37427252531051636, -0.23871567845344543, -0.18426810204982758, -0.4907911419868469, -1.0827828645706177, -0.23437617719173431, -0.5490255951881409, -0.05357551947236061, 0.4256705641746521, 0.5797809958457947, 0.5007089376449585, 1.289783239364624, -0.47664421796798706, 0.31049609184265137, 0.30588498711586, 0.9374359846115112, -0.10151926428079605, -0.5354436039924622, -0.30378207564353943, -0.3251960277557373, -0.436559796333313, -0.5438287258148193, 0.18083755671977997, 0.36376115679740906, 0.724816083908081, 0.236724391579628, -0.22045530378818512, 0.4469000995159149, -0.7623555064201355, 0.4282413125038147, 0.40021103620529175, -0.810391366481781, 0.13833683729171753, -0.5243032574653625, 0.5212112069129944, 0.6847939491271973, 0.31845149397850037, -0.25338464975357056, 0.10018856823444366, -0.631720781326294, -1.021413803100586, 0.6148954033851624, -0.25297778844833374, 0.23517544567584991, 0.2114628404378891, 0.47750356793403625, 0.040684182196855545, 0.4437486231327057, -0.7368133664131165, -0.028545508161187172, -0.45226460695266724, -0.24203918874263763, 0.1532798409461975, 0.07924043387174606, -0.27007973194122314, -0.18965066969394684, 0.41893965005874634, -0.44871625304222107, 0.20401741564273834, -0.10172243416309357, -0.06481184810400009, 0.03377668559551239, 0.26474687457084656, 0.6836122870445251, 0.9261351823806763, -0.11168057471513748, 0.07892065495252609, 0.46878713369369507, -0.1659235954284668, 0.5033367872238159, 0.1554417461156845, 0.17217746376991272, -0.2032236009836197, 0.07489465177059174, 1.046616554260254, 0.4069039523601532, -0.7688874006271362, 0.5721169114112854, 0.06876309216022491, -0.27591055631637573, -0.3262968361377716, 0.31401360034942627, 0.16751356422901154, 0.6593265533447266, 0.05208788439631462, -0.09000719338655472, -0.18631532788276672, -0.28250789642333984, 0.2826356887817383, 0.19898293912410736, 0.16139094531536102, -0.4724547863006592, 0.9027219414710999, 0.2047971934080124, -0.529995858669281, 0.4522656500339508, -0.009053105488419533, -0.7980628609657288, 0.5662063956260681, 0.6562010645866394, 1.1114922761917114, -0.33815479278564453, 0.24245062470436096, -0.049412161111831665, 0.3494699001312256, -0.45964130759239197, 0.2645050883293152, 0.280529260635376, -0.7476097345352173, -0.3427070379257202, -0.6189475655555725, -0.6167999505996704, 0.009234010241925716, 0.08978989720344543, 0.4357408881187439, -0.8353033065795898, -0.21293975412845612, -0.4818032383918762, -0.18197089433670044, -0.9819263219833374, 0.21108980476856232, 0.1229671984910965, 1.0172587633132935, -0.5400182604789734, 0.78457111120224, 0.7976414561271667, 0.13164110481739044, -1.1192529201507568, -0.6631225347518921, -0.05690159276127815, -0.6101771593093872, 0.3295927941799164, 0.21015839278697968, -0.40935322642326355, -0.019386256113648415, -0.125321164727211, -0.8171051740646362, 1.2957029342651367, 0.6770293116569519, -0.5592961311340332, 0.08975909650325775, 0.35951805114746094, 0.5986225008964539, -0.5417787432670593, 0.5522619485855103, 0.2783939838409424, 0.3227165937423706, 0.07836611568927765, -0.9715282320976257, 0.03440197557210922, 0.050074487924575806, 0.2578383982181549, 0.12801186740398407, -0.9926980137825012, 1.0735790729522705, 0.11727304011583328, -0.06670986115932465, -0.1639207899570465, 0.406723290681839, 0.20193064212799072, -0.15197576582431793, 0.8966294527053833, 0.4123219847679138, 0.7886258363723755, 0.2084566056728363, 0.9237504601478577, -0.1518266797065735, 0.11799479275941849, 1.1364754438400269, -0.4027734696865082, 0.6654382348060608, 0.39585626125335693, 0.17850276827812195, 0.46133965253829956, 0.5208846926689148, 0.056335143744945526, 0.3894799053668976, 0.6857910752296448, -0.29406964778900146, -0.09622572362422943, 0.05398273468017578, -0.30192655324935913, 0.6493569016456604, 0.24149417877197266, -0.2051478624343872, -0.3986888527870178, 0.08849364519119263, -0.0737517699599266, -0.054795507341623306, -0.37712565064430237, 0.5939569473266602, -0.0153611795976758, -0.3765844702720642, 0.8249197006225586, 0.101250059902668, 0.6680957674980164, -0.8191696405410767, 0.40494656562805176, -0.20901641249656677, 0.42256319522857666, -0.18919898569583893, -0.3131033182144165, 0.32063406705856323, -0.1906660944223404, 0.16360464692115784, -0.5316013693809509, 0.3345814347267151, -0.2052122950553894, -0.3348592221736908, 0.4992176294326782, 0.5478489398956299, -0.04764316603541374, 0.07959806174039841, -0.5752856731414795, 0.198387011885643, -0.4797663390636444, -0.8333507776260376, 0.1835242658853531, 0.5464134216308594, 0.06265844404697418, 0.8975879549980164, 0.5703714489936829, 0.23919939994812012, 0.2775246500968933, 0.18401721119880676, 1.228471040725708, -0.406951367855072, -0.5638740062713623, -0.5775711536407471, 0.5112289190292358, 0.27869677543640137, -0.5690332055091858, 0.16598309576511383, 0.41470858454704285, 0.7601383328437805, 0.07948782294988632, 0.5028814673423767, 0.48752811551094055, 0.29945698380470276, -0.30994805693626404, 0.6218141913414001, -0.8142106533050537, 0.4943907558917999, -0.022994734346866608, -0.9125124216079712, -0.2936285436153412, 0.5542911887168884, -0.13514040410518646, -0.06839077174663544, 0.4335958957672119, 0.7456724643707275, -0.6145665645599365, -0.032665468752384186, 0.07453437894582748, 0.03627529740333557, 0.41820424795150757, 0.6527665853500366, 0.5816562175750732, -0.3229524493217468, 0.5891463160514832, 0.13370725512504578, -0.1193801537156105, -0.47508761286735535, -0.9833154082298279, -0.7215869426727295, -0.09716016799211502, -0.20796668529510498, -0.057690590620040894, 0.025447994470596313, 1.1182003021240234, 0.9683248400688171, -0.3820330798625946, -0.5939913988113403, -0.4384230673313141, 0.3979748487472534, -0.22400504350662231, -0.1244635209441185, 0.21610362827777863, -0.3602408170700073, -0.4024944603443146, 0.6140598654747009, 0.14142753183841705, 0.18674568831920624, -0.21202582120895386, -0.11151669174432755, -0.2664956748485565, 0.0964389443397522, 0.4688531160354614, 0.48015373945236206, -0.35829171538352966, -0.4695763885974884, 0.12528030574321747, -0.0616510733962059, 0.28047826886177063, 0.6634137034416199, -0.7612771391868591, 0.2839101552963257, 0.3750651478767395, 1.2415529489517212, 0.7408446669578552, -0.1227196455001831, 0.6991708278656006, -0.6624146699905396, 0.5611344575881958, 0.45722848176956177, 0.3513130843639374, 0.3252963125705719, -0.13024233281612396, 0.5623171925544739, 0.1689191311597824, -0.5757818222045898, -0.8537368178367615, 0.37500694394111633, -0.9480772614479065, -0.3584607243537903, 1.0818312168121338, -0.04964834824204445, -0.3939909338951111, -0.1473877727985382, 0.19580326974391937, 0.3761471211910248, -0.06180253624916077, 0.5015814304351807, 0.026317628100514412, -0.18313656747341156, -0.3898792862892151, -0.5107261538505554, 0.07269246131181717, 0.4406798183917999, -0.8918476700782776, -0.17644307017326355, -0.04012821242213249, 0.4296034276485443, -0.042285848408937454, 0.5293651819229126, 0.35219821333885193, 0.1322379857301712, -0.04920944198966026, 0.049904607236385345, -0.38920000195503235, -0.6499027609825134, -0.19631028175354004, 0.30679410696029663, -0.20960237085819244, -0.3251514136791229 ]
http://arxiv.org/abs/2406.06870v3
http://arxiv.org/pdf/2406.06870v3
What's in an embedding? Would a rose by any embedding smell as sweet?
2024-06-11T01:10:40
2024-06-15T06:35:33
Venkat Venkatasubramanian
cs.AI
cs.AI, cs.CL
Large Language Models (LLMs) are often criticized for lacking true "understanding" and the ability to "reason" with their knowledge, being seen merely as autocomplete systems. We believe that this assessment might be missing a nuanced insight. We suggest that LLMs do develop a kind of empirical "understanding" that is "geometry"-like, which seems adequate for a range of applications in NLP, computer vision, coding assistance, etc. However, this "geometric" understanding, built from incomplete and noisy data, makes them unreliable, difficult to generalize, and lacking in inference capabilities and explanations, similar to the challenges faced by heuristics-based expert systems decades ago. To overcome these limitations, we suggest that LLMs should be integrated with an "algebraic" representation of knowledge that includes symbolic AI elements used in expert systems. This integration aims to create large knowledge models (LKMs) that not only possess "deep" knowledge grounded in first principles, but also have the ability to reason and explain, mimicking human expert capabilities. To harness the full potential of generative AI safely and effectively, a paradigm shift is needed from LLM to more comprehensive LKM.
[ -0.24063821136951447, -0.8408929705619812, 0.8860159516334534, 0.17253319919109344, -0.1073102355003357, 0.20720307528972626, -0.14188151061534882, -0.3835671544075012, 0.23228222131729126, 0.2887857258319855, -0.27791258692741394, -0.5016456842422485, -0.8996796607971191, 0.036186929792165756, -0.5732148885726929, 0.6526073217391968, -0.2562110722064972, 0.10368973761796951, -0.6074467897415161, 0.07328752428293228, -0.31098809838294983, -0.3071742355823517, -0.44970232248306274, -0.38947781920433044, 0.33046114444732666, 0.1044546365737915, 0.9056174159049988, 0.8805555105209351, 0.2947860062122345, 0.30187898874282837, -0.08298420161008835, 0.061077699065208435, -0.3120132386684418, 0.05779531970620155, 0.17283493280410767, -0.7569246292114258, -0.40155550837516785, 0.16354729235172272, 0.5540784597396851, 1.060328483581543, -0.03483498468995094, -0.26552483439445496, 0.19970837235450745, 0.5714951157569885, -0.4602762758731842, 0.48656463623046875, -0.6055921912193298, 0.5257010459899902, 0.1477091759443283, 0.07278591394424438, -0.2601546049118042, -0.39035579562187195, 0.22126585245132446, -0.58686763048172, -0.20989610254764557, 0.17027778923511505, 0.66275954246521, 0.5602061748504639, -0.43211641907691956, -0.5184388160705566, -0.6848060488700867, 0.7488142251968384, -0.7512354254722595, 0.48876455426216125, 0.4333719313144684, 0.21193179488182068, -0.28498387336730957, -0.30598869919776917, -0.36994093656539917, -0.5879982113838196, -0.2061820775270462, 0.010327800177037716, -0.2866258919239044, 0.11774960160255432, 0.22495423257350922, 0.4365415573120117, -0.46342989802360535, 0.24019765853881836, -0.2021797001361847, 0.019437529146671295, 0.5169655084609985, 0.020769143477082253, 0.37485364079475403, -0.054724711924791336, -0.23609018325805664, 0.1515674740076065, -0.9712843298912048, -0.22553344070911407, 0.17787136137485504, 0.18852010369300842, -0.19655455648899078, 0.7286278009414673, 0.17796030640602112, 0.6002824902534485, -0.24936306476593018, 0.029896175488829613, 0.029239779338240623, 0.14171338081359863, -0.4415060579776764, 0.05048539489507675, 0.7635070085525513, -0.041492097079753876, 0.5066993832588196, -0.34013062715530396, -0.2131304293870926, 0.11907190829515457, 0.23054085671901703, -0.6483228802680969, -0.3756656050682068, 0.24452687799930573, -0.42979317903518677, -0.29108384251594543, 0.027383407577872276, -0.3308965265750885, -0.4252488911151886, -0.524219274520874, 0.2336416244506836, -0.49455583095550537, -0.2784906029701233, 0.1401386708021164, -0.05707735940814018, 0.14357143640518188, 0.5063030123710632, -0.7742776274681091, 0.11272003501653671, 0.9834735989570618, 0.7262721061706543, 0.16454161703586578, -0.22552675008773804, -0.10926742851734161, 0.19910824298858643, -0.6946302056312561, 0.6968507766723633, -0.9287458062171936, -0.5374324321746826, 0.2907620668411255, -0.12581700086593628, 0.14072449505329132, -0.4414823651313782, 0.2611522078514099, -0.47158393263816833, 0.09605958312749863, -0.4571414589881897, -0.9053410291671753, -0.34554505348205566, 0.23313620686531067, -0.41681766510009766, 0.6588401794433594, -0.048569455742836, -0.41421422362327576, 0.3494839072227478, -0.6170682907104492, -0.17245975136756897, 0.19224640727043152, -0.672138512134552, -0.11884176731109619, 0.3535331189632416, 0.2481604516506195, 0.6269171237945557, -0.3148895502090454, 0.0533863790333271, -0.5406498908996582, -0.2554769814014435, 0.32828861474990845, -0.2879987359046936, 0.5881056189537048, 0.2591305077075958, -0.22321152687072754, -0.23707856237888336, -0.3885570764541626, -0.15831255912780762, 0.2325841188430786, -0.2861163020133972, -0.5221412777900696, 0.1850854903459549, -0.2530409097671509, -0.042145274579524994, 0.3306915760040283, -0.562778651714325, 0.37731459736824036, -0.4824075996875763, 0.38966548442840576, 0.9682853817939758, -0.4439656436443329, 0.6957605481147766, -0.25666776299476624, 0.6095908284187317, 0.2115481048822403, -0.12271597236394882, -0.09817741811275482, -0.5125890374183655, -0.9517680406570435, -0.1449805498123169, 0.14190112054347992, 0.413339227437973, -0.4659844934940338, 0.633497953414917, -0.31630638241767883, -0.2734585106372833, -0.6263711452484131, 0.5029336810112, 0.35379570722579956, 0.12289853394031525, 0.2258860468864441, 0.10253042727708817, -0.3126831650733948, -1.0213884115219116, -0.26044216752052307, -0.0570409893989563, -0.02905254065990448, 0.3241942226886749, 0.5452736616134644, -0.2802472710609436, 0.834749162197113, -0.40033990144729614, -0.3438658118247986, -0.13156172633171082, -0.20607297122478485, 0.18291598558425903, 0.4644274115562439, 0.5395141243934631, -0.3952174484729767, -0.29878342151641846, 0.019978953525424004, -1.248945713043213, 0.16180793941020966, 0.01917262002825737, -0.10828955471515656, -0.09876082092523575, 0.5825533866882324, -0.7431440949440002, 0.37372973561286926, 0.4994615912437439, -0.4193583130836487, 0.14716346561908722, -0.2962428033351898, -0.11583371460437775, -1.018786072731018, -0.4440377652645111, 0.14264392852783203, -0.06337302178144455, -0.4478587806224823, 0.08850640058517456, -0.04184770956635475, -0.14236846566200256, -0.10014301538467407, 0.44924816489219666, -0.6859877705574036, -0.17702719569206238, -0.31432685256004333, 0.27338501811027527, -0.027135953307151794, 0.16762568056583405, -0.09660791605710983, 0.68122798204422, 0.6920552849769592, -0.5771481394767761, 0.3535460829734802, 0.40877363085746765, -0.36430788040161133, 0.5691590905189514, -0.6563799381256104, 0.16096939146518707, -0.2274850308895111, 0.1717362403869629, -0.6944014430046082, -0.20385226607322693, 0.16112464666366577, -0.46117278933525085, 0.3898527920246124, -0.24444784224033356, -0.4946131408214569, -0.21095068752765656, -0.16898958384990692, 0.4486946165561676, 0.7486876249313354, -0.5397990345954895, 0.7966347336769104, 0.4308367371559143, -0.20405958592891693, -0.4219675064086914, -0.8904110789299011, 0.27019500732421875, -0.08572090417146683, -0.5536907315254211, 0.1643938571214676, 0.26976045966148376, -0.450176864862442, 0.4951574504375458, 0.3005591332912445, 0.22757849097251892, 0.17248490452766418, 0.2601277828216553, 0.06656813621520996, -0.5426231622695923, 0.46117350459098816, 0.17648276686668396, -0.19809727370738983, 0.356749951839447, -0.32827329635620117, 0.34785398840904236, -0.20798231661319733, -0.9166697263717651, -0.6009089946746826, 0.5378859639167786, 0.8305443525314331, -0.18338356912136078, 0.6794767379760742, 0.22938624024391174, -0.6695718765258789, -0.417391300201416, -0.4949589669704437, -0.11368085443973541, -0.4176103472709656, 0.5292474627494812, -0.41421324014663696, -0.9837034940719604, 0.3803422749042511, -0.1165245920419693, 0.15854158997535706, 0.6408607363700867, 0.43546873331069946, -0.5159083008766174, 1.1532561779022217, 0.6638864278793335, -0.2742942273616791, 0.223805770277977, -0.3710472881793976, 0.4935702085494995, -0.8246358633041382, -0.32643353939056396, -0.5149063467979431, -0.4602676331996918, -0.5173993706703186, -0.3472094237804413, 0.19576209783554077, 0.12889842689037323, -0.5147233009338379, -0.09156996011734009, -0.40128183364868164, 0.33811140060424805, 0.4442228078842163, 0.005523042753338814, 0.18472009897232056, 0.1398186981678009, 0.06887533515691757, 0.055394165217876434, -0.73298180103302, -0.7421831488609314, 1.016228437423706, 0.6929635405540466, 1.1535825729370117, 0.12880679965019226, 0.5773624777793884, 0.2866356670856476, 0.27130651473999023, -1.0016958713531494, 0.4052203595638275, -0.42660465836524963, -0.15927928686141968, -0.129656583070755, -0.2862815856933594, -0.8811596035957336, 0.05972018837928772, -0.2917562425136566, -0.5492801666259766, 0.1716856062412262, 0.1932026892900467, -0.48882076144218445, 0.6825922727584839, -0.4503973722457886, 0.5516848564147949, -0.3570469617843628, 0.10661875456571579, -0.3593287467956543, -0.021317632868885994, 0.5110020637512207, 0.06802517175674438, 0.36887022852897644, -0.15202826261520386, -0.17949028313159943, 0.8220996260643005, -0.4273085296154022, 0.9201381802558899, -0.2193925529718399, -0.23813222348690033, 0.08208635449409485, 0.33888790011405945, 0.530227780342102, -0.24710702896118164, 0.10698824375867844, -0.017450004816055298, -0.08632193505764008, -0.49590003490448, -0.9249275922775269, 0.8986903429031372, -1.039961576461792, -0.8787112832069397, -0.3199685513973236, -0.5852820873260498, -0.23950079083442688, -0.40473806858062744, -0.28392910957336426, 0.3649728000164032, -0.03456077352166176, 0.3654819428920746, 0.7480872869491577, -0.3340219557285309, 0.14857734739780426, 0.08244236558675766, -0.45118507742881775, -0.19819338619709015, 0.7212904095649719, 0.008506816811859608, 0.03620370849967003, 0.2234354317188263, 0.2134057581424713, -0.32435110211372375, -0.5873892903327942, -0.46883371472358704, 0.46839603781700134, -0.8762162327766418, -0.05233340710401535, -0.7362977862358093, -0.31426820158958435, -0.31444382667541504, -0.34254294633865356, -0.45812365412712097, -0.17382584512233734, -0.5340911746025085, -0.2752399444580078, 0.7017943859100342, 1.559139370918274, 0.020781811326742172, 0.2951850891113281, -0.9947019815444946, -0.08075916022062302, 0.2965245842933655, 0.31150951981544495, 0.24236524105072021, -0.5874194502830505, -0.3770936131477356, 0.18782711029052734, 0.013421619310975075, -0.775111734867096, 0.25534942746162415, 0.156459242105484, 0.7534852027893066, 0.7267845869064331, -0.2953084111213684, 0.6199831366539001, -0.5328158140182495, 0.735100507736206, 0.07664307951927185, -0.7733323574066162, 0.4744362533092499, -0.11288531869649887, -0.0663597583770752, 0.2632034420967102, 0.6275261044502258, -0.34455379843711853, -0.45657840371131897, -0.5119503140449524, -0.4683019518852234, 0.2421453893184662, -0.06960874050855637, 0.5072190165519714, -0.09998663514852524, 0.5668752789497375, 0.04698846489191055, 0.08771492540836334, -0.5143313407897949, -0.17963014543056488, -0.008243238553404808, -0.3243284523487091, -0.10098431259393692, -0.4836055338382721, -0.21191532909870148, -0.23323191702365875, 0.4802694022655487, 0.12859699130058289, 0.48790252208709717, 0.01921079307794571, -0.25386759638786316, -0.024384189397096634, 0.169190913438797, 0.33541586995124817, 0.6644994020462036, 0.02890927903354168, 0.30439329147338867, 0.08756570518016815, -0.11094709485769272, 0.024361463263630867, -0.056420087814331055, 0.013088054955005646, -0.13945837318897247, 0.5780906081199646, 0.7551619410514832, 0.14168789982795715, -0.3353528082370758, 0.44578060507774353, 0.21769681572914124, -0.17750504612922668, -0.4826134741306305, 0.0585453100502491, 0.26111993193626404, 0.3536429703235626, 0.3504888415336609, -0.11237598210573196, -0.21045416593551636, -0.831525444984436, 0.12672127783298492, 0.7669066786766052, -0.5144273638725281, -0.2678624391555786, 0.47854354977607727, 0.2892119586467743, -0.4005492329597473, 0.7519018650054932, -0.040023140609264374, -0.7225158214569092, 0.5543293952941895, 0.3411628007888794, 1.032416820526123, -0.12749283015727997, 0.015949614346027374, 0.04841301590204239, 0.4548293650150299, 0.12527629733085632, 0.11281052231788635, 0.11554697155952454, -0.9927619695663452, -0.45977845788002014, -0.7292245626449585, -0.22170047461986542, -0.00042901988490484655, -0.2884334623813629, -0.0028257868252694607, -0.6814287304878235, 0.11727464944124222, -0.3745028078556061, -0.31449010968208313, -0.7856513261795044, 0.11801355332136154, 0.13828366994857788, 0.9819817543029785, -1.1797103881835938, 0.621330738067627, 0.6501883864402771, -0.5437381863594055, -0.6800364851951599, -0.1252559870481491, -0.04897390678524971, -1.0179667472839355, 0.9034247994422913, -0.006893927697092295, 0.02805996872484684, -0.1262015849351883, -0.49679553508758545, -0.83828204870224, 0.9675764441490173, 0.35131776332855225, -0.5186910629272461, -0.1161850169301033, 0.1510467529296875, 0.45646554231643677, -0.7254924774169922, 0.32743197679519653, 0.5486257076263428, 0.47575855255126953, 0.036199793219566345, -0.7313852310180664, 0.12674345076084137, -0.17400963604450226, 0.13614340126514435, 0.04235689342021942, -0.345815509557724, 0.9326767921447754, -0.16980789601802826, -0.16039085388183594, 0.04788748547434807, 0.7047846913337708, 0.022205280140042305, -0.13030482828617096, 0.3144817352294922, 0.9967265725135803, 0.6676416993141174, -0.20452453196048737, 1.328086256980896, -0.3618102967739105, 0.12363709509372711, 0.7907699942588806, 0.019387507811188698, 0.9820594787597656, 0.3852096199989319, -0.5062480568885803, 0.5662744045257568, 0.8257464170455933, 0.10080064088106155, 0.3069826364517212, 0.29284170269966125, -0.24504682421684265, -0.5881137847900391, -0.049401454627513885, -0.611391007900238, 0.49394795298576355, 0.7336345314979553, -0.5722360610961914, -0.2673228085041046, -0.06131047382950783, -0.060172297060489655, 0.05205479636788368, -0.2406851351261139, 0.9431738257408142, 0.5185041427612305, -0.2377462089061737, 0.42782366275787354, -0.18858839571475983, 0.592123806476593, -0.3876101076602936, -0.3122607171535492, -0.20477215945720673, 0.05554605647921562, -0.26883256435394287, -0.9933265447616577, 0.22262205183506012, -0.1434991955757141, 0.06080511212348938, -0.30370789766311646, 0.38921740651130676, -0.3799225091934204, -0.729669451713562, 0.3661267161369324, 0.9161719083786011, 0.3672415316104889, 0.060983508825302124, -0.8014976978302002, 0.09908084571361542, -0.08315172791481018, -0.1225450411438942, 0.18721903860569, 0.6395924687385559, 0.2982799708843231, 0.7960415482521057, 0.6755428314208984, 0.24676454067230225, -0.10328339785337448, 0.11875002086162567, 0.9579461812973022, -0.6105849146842957, -0.1906617283821106, -1.0185396671295166, 0.4189036190509796, 0.10361797362565994, 0.0560062900185585, 0.6111390590667725, 0.42823436856269836, 0.5618988275527954, 0.039953768253326416, 1.0092042684555054, 0.20394591987133026, 0.2014225721359253, -0.7506814002990723, 0.9199509620666504, -0.8272007703781128, 0.464885950088501, -0.1516614854335785, -1.0877214670181274, -0.34474289417266846, 0.9188402891159058, -0.4644390046596527, 0.2901654839515686, 0.6158328652381897, 0.5994543433189392, -0.1953028440475464, 0.09115646034479141, 0.5869564414024353, 0.685939610004425, 0.44281205534935, 0.5674497485160828, 1.2166131734848022, -0.10710220783948898, 0.14877425134181976, 0.04243617504835129, -0.3356493413448334, -0.15700937807559967, -0.8009559512138367, -1.0350956916809082, -0.5473295450210571, -0.3005276322364807, -0.17573395371437073, 0.0039098807610571384, 1.121738314628601, 0.46115055680274963, -0.8645009398460388, -0.1493212729692459, -0.166865736246109, 0.1481388807296753, 0.46798667311668396, -0.14795881509780884, 0.47336769104003906, -0.6216290593147278, -0.7502773404121399, 0.43804237246513367, 0.47742122411727905, 0.31845131516456604, -0.8275737762451172, -0.03852098435163498, 0.06867802143096924, -0.016601648181676865, 0.7050592303276062, 0.013187834061682224, -1.0243947505950928, -0.4409703314304352, -0.05262475088238716, 0.07417690008878708, 0.07111694663763046, 0.6393725872039795, -0.6917686462402344, 0.32442304491996765, 0.3524291515350342, 1.0391262769699097, 0.08514583855867386, -0.26006537675857544, 0.7891181707382202, -0.17880186438560486, 0.05277833342552185, 0.347625195980072, 0.7592703700065613, 0.3755849301815033, -0.30396583676338196, 0.17497976124286652, 0.09709089249372482, -0.5012518167495728, -0.6232883930206299, 0.2898074984550476, -0.7169085144996643, -0.30296653509140015, 1.1418647766113281, -0.32077842950820923, -0.24989986419677734, -0.03903813287615776, 0.04822414740920067, -0.05562174320220947, -0.4110565781593323, 0.7738327980041504, 0.7248961329460144, -0.11185035109519958, -0.29973462224006653, -0.5856412053108215, 0.5843867659568787, 0.4662189483642578, -0.7368819117546082, -0.06729231774806976, 0.4240127205848694, 0.16382856667041779, 0.1948307752609253, 0.20898279547691345, -0.07589612156152725, 0.023737838491797447, -0.03508026525378227, -0.12495698034763336, -0.10345041751861572, -0.3272615075111389, -0.3177405297756195, 0.06273020058870316, 0.4204445779323578, -0.08549261093139648 ]
http://arxiv.org/abs/2406.06852v2
http://arxiv.org/pdf/2406.06852v2
A Survey of Backdoor Attacks and Defenses on Large Language Models: Implications for Security Measures
2024-06-10T23:54:21
2024-06-13T08:52:44
Shuai Zhao, Meihuizi Jia, Zhongliang Guo, Leilei Gan, Jie Fu, Yichao Feng, Fengjun Pan, Luu Anh Tuan
cs.CR
cs.CR, cs.AI, cs.CL
The large language models (LLMs), which bridge the gap between human language understanding and complex problem-solving, achieve state-of-the-art performance on several NLP tasks, particularly in few-shot and zero-shot settings. Despite the demonstrable efficacy of LMMs, due to constraints on computational resources, users have to engage with open-source language models or outsource the entire training process to third-party platforms. However, research has demonstrated that language models are susceptible to potential security vulnerabilities, particularly in backdoor attacks. Backdoor attacks are designed to introduce targeted vulnerabilities into language models by poisoning training samples or model weights, allowing attackers to manipulate model responses through malicious triggers. While existing surveys on backdoor attacks provide a comprehensive overview, they lack an in-depth examination of backdoor attacks specifically targeting LLMs. To bridge this gap and grasp the latest trends in the field, this paper presents a novel perspective on backdoor attacks for LLMs by focusing on fine-tuning methods. Specifically, we systematically classify backdoor attacks into three categories: full-parameter fine-tuning, parameter-efficient fine-tuning, and attacks without fine-tuning. Based on insights from a substantial review, we also discuss crucial issues for future research on backdoor attacks, such as further exploring attack algorithms that do not require fine-tuning, or developing more covert attack algorithms.
[ -0.3917936086654663, -0.9342073798179626, 0.44744497537612915, -0.21833838522434235, 0.027463246136903763, 0.0530858151614666, -0.11347535252571106, -0.5226737856864929, -0.3991268277168274, 0.8660116195678711, -0.617260754108429, -0.5668357610702515, -0.599145233631134, -0.10820116102695465, -0.4818389415740967, 1.0512977838516235, 0.3491151034832001, -0.015167438425123692, 0.271800696849823, 0.009937533177435398, -0.5803744196891785, -0.7181766033172607, -0.5031298995018005, -0.043227292597293854, 0.619014322757721, 0.11103087663650513, 0.8489519953727722, 0.23132221400737762, 0.5804204940795898, 0.25905710458755493, -0.07839660346508026, -0.4100915193557739, -0.5575713515281677, 0.25311365723609924, -0.49914485216140747, -0.5090073347091675, -0.4724730849266052, -0.10081417113542557, 0.4843220114707947, 0.5342996716499329, -0.09671075642108917, 0.40014418959617615, -0.04354873672127724, 0.6602118015289307, -0.9016434550285339, -0.35163918137550354, -1.1864328384399414, 0.07202122360467911, -0.46331512928009033, -0.12917253375053406, -0.42313534021377563, -0.19805453717708588, -0.24169231951236725, 0.19393640756607056, 0.11807548999786377, 0.14441032707691193, 0.5884565711021423, 0.1363261342048645, -0.17913098633289337, -0.22668227553367615, -0.3881544768810272, 0.7960048317909241, -1.052140474319458, 0.5077415108680725, 0.35219019651412964, 0.35715770721435547, -0.5346130132675171, -0.24218279123306274, -0.295864462852478, -0.3798984885215759, 0.04000093415379524, -0.38331443071365356, -0.6036770343780518, 0.1238742247223854, 0.3973791301250458, 0.463056355714798, -0.6839012503623962, 0.7991045713424683, -0.33959686756134033, -0.24273699522018433, 0.7791807651519775, 0.44199979305267334, 0.40841200947761536, 0.018166985362768173, -0.010027003474533558, 0.01167619414627552, -1.1589369773864746, 0.021797997877001762, 0.7182964086532593, 0.5208232998847961, -0.22405287623405457, 0.6317996978759766, -0.08165986090898514, 0.8683490753173828, -0.22448484599590302, 0.07557036727666855, -0.29950830340385437, -0.2131570726633072, -0.34627825021743774, -0.23823657631874084, 0.6777968406677246, 0.3187658488750458, 0.30516281723976135, -0.3450854420661926, -0.4905534088611603, -0.1840769499540329, 0.3434547483921051, -0.840624213218689, 0.1003538966178894, 0.5129531621932983, -0.33710750937461853, -0.5648939609527588, -0.11170529574155807, -0.922410786151886, -0.4580603837966919, 0.3136880695819855, 0.3562776446342468, -0.16106347739696503, -0.021744633093476295, 0.19003884494304657, 0.011121830902993679, 0.37253138422966003, 0.17252503335475922, -0.9125431180000305, 0.3819138705730438, 1.1276062726974487, 0.7832797169685364, 0.0366351455450058, -0.2636106014251709, -0.6735881567001343, 0.16620054841041565, -0.35618793964385986, 0.22070199251174927, -0.3828131854534149, -0.3765428364276886, 0.21647699177265167, -0.12504127621650696, 0.08225587010383606, -0.33361005783081055, 0.14007316529750824, -0.8500632643699646, -0.07140865921974182, 0.1151522547006607, -0.32380205392837524, -0.10001925379037857, 0.6786479949951172, -0.5409867167472839, 0.5202503800392151, -0.293296217918396, -0.840996503829956, -0.17756684124469757, -0.3080027103424072, -0.4516303837299347, -0.15050369501113892, -0.06947734951972961, -0.36378180980682373, 0.5152158141136169, 0.17843005061149597, 0.8178625106811523, -0.3596140444278717, -0.07098947465419769, -0.5215865969657898, -0.18220335245132446, 0.4464518129825592, -0.41789186000823975, 0.7892769575119019, 0.29098841547966003, -0.18155822157859802, 0.09983834624290466, -0.8173530101776123, -0.014635925181210041, 0.2116004377603531, -0.008258405141532421, -0.3952180743217468, -0.11090958118438721, -0.41641169786453247, 0.15435375273227692, 0.3753659725189209, -0.5997379422187805, 0.1607632339000702, -0.9916710257530212, 0.4772028625011444, 0.744017481803894, 0.2210247665643692, 0.2545376121997833, -0.09493475407361984, 0.6248171925544739, -0.31066176295280457, 0.45107516646385193, -0.45840978622436523, -0.47625696659088135, -0.23725858330726624, -0.13365934789180756, 0.18285271525382996, 0.5943238139152527, -0.14888927340507507, 0.3215886950492859, 0.17521637678146362, -0.7922391295433044, -0.33290159702301025, 0.18093366920948029, 0.5580664277076721, -0.00859822891652584, 0.1468799114227295, -0.06724642217159271, -0.20612011849880219, -0.7965158224105835, -0.6675423979759216, 0.011640832759439945, -0.08891105651855469, 0.2041075974702835, 0.7363077402114868, -0.30794036388397217, 0.5019009709358215, -0.5738794803619385, -0.21670669317245483, -0.053913459181785583, -0.2118229866027832, 0.21531736850738525, 0.61202073097229, 0.5654830932617188, -0.28542134165763855, -0.1322176605463028, 0.07717646658420563, -0.504721999168396, 0.007313997019082308, 0.08139347285032272, 0.25229743123054504, 0.13772599399089813, 0.6999702453613281, -0.6750795841217041, 0.4173767864704132, 0.8906121850013733, -0.13551302254199982, 0.4876614511013031, 0.016407368704676628, -0.3191611170768738, -0.9542344212532043, -0.08275362849235535, -0.11795895546674728, 0.07261626422405243, -0.7509395480155945, 0.8592097163200378, 0.019384531304240227, -0.423943430185318, -0.4313085377216339, 0.6836807131767273, -0.40468114614486694, -0.24468588829040527, -0.07140959799289703, -0.0744110643863678, -0.24526888132095337, 0.46113190054893494, -0.555289626121521, 0.5542551875114441, 0.6649606227874756, -0.3727506697177887, 0.4972451627254486, -0.2118408977985382, -0.264719694852829, 0.23758918046951294, -0.6785144209861755, 0.5186886787414551, 0.32654330134391785, 0.262739896774292, -1.0874557495117188, -0.15856236219406128, 0.43350034952163696, -0.5730699896812439, 0.6242621541023254, -0.2442220002412796, -0.577019453048706, -0.1505923718214035, -0.6601031422615051, 0.267248272895813, 0.29228779673576355, -0.27781760692596436, 0.5310736894607544, 0.22851017117500305, -0.15082402527332306, -0.6950034499168396, -0.7101076245307922, 0.32850176095962524, -0.1766391396522522, -0.8037526607513428, -0.10533523559570312, 0.1398797333240509, -0.5482835173606873, -0.41558536887168884, -0.012911674566566944, -0.015354800969362259, 0.611285924911499, 0.29584839940071106, 0.0022768713533878326, -0.31977003812789917, -0.1934419721364975, -0.08605525642633438, 0.05251353606581688, 0.26448914408683777, -0.33210307359695435, 0.6310854554176331, -0.10807201266288757, -0.6562567353248596, -0.5199750065803528, 0.5515431761741638, 0.6394543647766113, -0.3719000518321991, 0.8519589304924011, 0.38405126333236694, -0.4260517656803131, -0.21264393627643585, -0.7888453006744385, -0.5020721554756165, -0.46306073665618896, 0.5975698232650757, -0.44305965304374695, -1.1341325044631958, 0.6151466369628906, 0.10556839406490326, 0.48084136843681335, 0.2711218297481537, 0.7683880925178528, 0.0734061449766159, 1.0818915367126465, 0.7753449082374573, -0.18257322907447815, 0.21593192219734192, 0.027965357527136803, 0.3020307123661041, -0.6805755496025085, -0.1652536690235138, -0.8942458629608154, -0.10879287868738174, -0.7589851021766663, -0.00967929046601057, -0.06156959384679794, 0.03029060736298561, -0.3129015862941742, 0.1875515729188919, -0.11581643670797348, 0.3080185651779175, 0.27441054582595825, -0.07973307371139526, 0.3961764872074127, -0.18622899055480957, -0.0247187502682209, 0.1406375914812088, -0.5459392070770264, -0.36650586128234863, 1.1528311967849731, 0.8196760416030884, 1.2012062072753906, 0.3240490257740021, 0.6808249354362488, 0.1351238191127777, 0.04983493685722351, -0.7210051417350769, 0.6348190307617188, 0.02718869224190712, -0.8843746185302734, -0.4613698422908783, -0.2861761152744293, -0.9937981367111206, 0.14754147827625275, -0.11464471369981766, -1.0359350442886353, 0.020273936912417412, 0.15378302335739136, -0.5993270874023438, 0.5683691501617432, -0.5487614870071411, 0.7823038697242737, -0.37969449162483215, -0.2557404339313507, -0.31562289595603943, -0.7053498029708862, 0.5210195779800415, -0.4651007056236267, 0.2742041349411011, -0.08460751175880432, 0.09789257496595383, 0.47124943137168884, -0.4117549955844879, 1.1385260820388794, -0.0925661027431488, -0.7108705639839172, -0.2160816639661789, 0.3859143555164337, 0.7853976488113403, 0.18094593286514282, 0.1087452620267868, 0.5302679538726807, 0.030805125832557678, -0.34235310554504395, -0.5027399063110352, 0.7850899696350098, -0.6043220162391663, -1.20884370803833, -0.3389730155467987, -0.3775222897529602, -0.40998855233192444, 0.11956179141998291, 0.2649261951446533, 0.21542933583259583, -0.02469828352332115, 0.2596021294593811, 0.7405898571014404, -0.6424632668495178, 0.335948646068573, 0.6923662424087524, -0.2437848150730133, -0.1925610452890396, 0.6478524208068848, -0.037342529743909836, 0.4616011381149292, 0.49210506677627563, 0.24325433373451233, 0.1307411789894104, -1.0372296571731567, -0.26303237676620483, 0.2684910297393799, -0.34441688656806946, -0.4920629858970642, -0.5361164808273315, -0.361070454120636, -0.6119101643562317, -0.05302615091204643, -0.6052464842796326, -0.1831607073545456, -0.09010172635316849, 0.07310304045677185, 0.37007662653923035, 0.6411223411560059, 0.12023430317640305, 0.3557148873806, -0.9344345331192017, 0.18309777975082397, 0.37346765398979187, 0.33843183517456055, 0.3036326467990875, -0.6768603920936584, -0.43548664450645447, -0.10920783877372742, -0.21265359222888947, -0.8637385964393616, 0.26154136657714844, -0.15981268882751465, 0.36199265718460083, 0.27096596360206604, -0.12606194615364075, 0.2887415587902069, -0.7041523456573486, 0.8152831792831421, 0.11989494413137436, -0.7638742327690125, 0.4806436598300934, -0.43196651339530945, 0.1827803999185562, 0.3126283288002014, 0.14531822502613068, -0.5031414031982422, -0.5937795639038086, -0.3678545653820038, -0.7330114841461182, 0.4805243909358978, 0.17064914107322693, 0.49245700240135193, 0.4044167995452881, 0.32448869943618774, 0.10596831142902374, 0.38738682866096497, -0.5373854041099548, -0.009950919076800346, -0.05400335043668747, 0.1675471067428589, -0.02948254533112049, -0.2433016449213028, -0.2488262802362442, -0.0009973901323974133, 0.5002186894416809, 0.1510750651359558, -0.29235437512397766, -0.3796941339969635, -0.06557265669107437, -0.16087599098682404, 0.6109548807144165, 0.7171124219894409, 0.4756219685077667, -0.153095081448555, -0.07034526765346527, 0.49098390340805054, -0.4533084034919739, -0.009129570797085762, 0.05849229916930199, -0.07932864129543304, -0.3123619854450226, 0.4403134286403656, 0.6040109395980835, 0.2735362946987152, -0.5762898325920105, 0.563092052936554, -0.06385751068592072, 0.10453945398330688, -0.2974725365638733, 0.21885128319263458, -0.11313317716121674, 0.4932163953781128, 0.26319581270217896, -0.10437119007110596, -0.12313271313905716, -0.6625607013702393, -0.09694927930831909, 0.973726749420166, -0.2723388671875, -0.4696291983127594, 0.25925779342651367, 0.056445568799972534, -0.626986563205719, 0.4582517445087433, 0.38855451345443726, -0.4285350441932678, 0.35890233516693115, 0.47928550839424133, 1.008436679840088, -0.412996381521225, -0.4043025076389313, -0.07646499574184418, 0.8389197587966919, 0.07406683266162872, -0.021979093551635742, -0.021403871476650238, -0.7008039355278015, -0.22965110838413239, -0.653089702129364, -0.5615350604057312, 0.6147403120994568, -0.5441623330116272, 0.1361553817987442, -0.9417869448661804, -0.0462978295981884, -0.19527380168437958, -0.04400866851210594, -0.4071911573410034, 0.04763393476605415, 0.39142733812332153, 1.1328363418579102, -0.5299403667449951, 0.6797415614128113, 0.3151576519012451, -0.1100982055068016, -0.5706084966659546, 0.1083931252360344, 0.10340194404125214, -0.7817690372467041, 0.5315352082252502, -0.0478256456553936, -0.3155699372291565, -0.16216182708740234, -0.6880426406860352, -0.6907405853271484, 0.5741062164306641, 0.4609256982803345, -0.8916683793067932, -0.3412138819694519, 0.09356963634490967, 0.46751868724823, -0.010565679520368576, -0.38634273409843445, 0.5960159301757812, 0.3678317964076996, -0.3184340298175812, -0.7440210580825806, 0.12028466165065765, -0.02884303778409958, 0.0935758501291275, 0.26947110891342163, -0.6812451481819153, 0.8860718607902527, -0.1300947666168213, -0.04281461611390114, 0.2464594841003418, 0.5241960287094116, 0.47363710403442383, 0.33509787917137146, 0.17360809445381165, 0.5529966354370117, 0.3713137209415436, 0.1241615042090416, 1.0228105783462524, -0.39019134640693665, 0.10013395547866821, 1.1157480478286743, -0.33810731768608093, 0.9295201897621155, 0.45693448185920715, -0.04914099723100662, 0.049112606793642044, 0.45321324467658997, -0.33896878361701965, 0.2674800157546997, 0.5387184619903564, 0.1431545466184616, 0.04910700395703316, 0.37589243054389954, -0.6338879466056824, 0.542708694934845, 0.5129019021987915, -0.2942502498626709, -0.37243691086769104, 0.0700337141752243, 0.3192003667354584, -0.002547317184507847, -0.601787805557251, 0.7423881888389587, 0.46208885312080383, -0.4003751277923584, 0.5025290250778198, 0.46716779470443726, 0.8470653295516968, -0.7792535424232483, 0.17429542541503906, -0.19152235984802246, 0.15786470472812653, -0.3611566722393036, -0.7971890568733215, 0.22599317133426666, 0.2793324291706085, 0.14639391005039215, -0.041596461087465286, 0.7102179527282715, 0.05427524447441101, -0.1843549907207489, 0.34128889441490173, 0.32837527990341187, -0.033928509801626205, -0.3566891551017761, -0.6444616913795471, 0.33474740386009216, -0.21439248323440552, -0.41507866978645325, 0.6401623487472534, 0.39016255736351013, 0.030300065875053406, 0.6947053670883179, 0.7152611613273621, 0.3469310402870178, 0.17588353157043457, 0.12835074961185455, 0.7998765110969543, -0.7905968427658081, -0.4386095404624939, -1.4237923622131348, 0.06863780319690704, 0.09215893596410751, -0.2376660704612732, 1.121034860610962, 0.45777636766433716, 0.9468740224838257, 0.09522778540849686, 0.5064424872398376, 0.5910225510597229, 0.4415396749973297, -0.7884969115257263, 0.9665517210960388, -0.4870135188102722, 0.5759764909744263, -0.5474033951759338, -0.6196290850639343, -0.43593519926071167, 0.05790216475725174, -0.34230008721351624, 0.06906946748495102, 0.26599839329719543, 1.0843762159347534, 0.18241970241069794, -0.030550234019756317, 0.5983309149742126, 0.5108795762062073, 0.45628395676612854, 0.43285733461380005, 1.0671589374542236, -0.20918893814086914, 0.48701032996177673, 0.00036147539503872395, 0.00369819113984704, -0.3779315650463104, -0.755034327507019, -1.2725571393966675, -0.16889609396457672, -0.03547568991780281, -0.361491858959198, 0.3875109851360321, 0.5464322566986084, 0.42406657338142395, -0.9690880179405212, -0.26418063044548035, 0.1559627801179886, 0.1944276988506317, 0.0925268605351448, -0.1286349892616272, 0.09997764974832535, -0.2815518379211426, -0.26184237003326416, 0.35905060172080994, 0.48459458351135254, -0.16337817907333374, -0.8866270780563354, 0.226849764585495, -0.03918658196926117, 0.24266697466373444, 0.4406592845916748, 0.5295687317848206, -0.7979893684387207, -0.32571941614151, -0.250847727060318, -0.32318341732025146, -0.18235784769058228, 0.785460352897644, -0.37522462010383606, -0.021381909027695656, 0.4175899922847748, 0.950756847858429, 0.14735600352287292, -0.318823903799057, 0.6042752861976624, -0.8048529624938965, 0.26012128591537476, 0.2951163351535797, 0.25631994009017944, 0.2693687081336975, -0.49317845702171326, 0.1390792280435562, -0.014407132752239704, -0.37118223309516907, -1.290017008781433, 0.6675387620925903, -0.5746186375617981, -0.5611628293991089, 0.9733902812004089, -0.026896407827734947, -0.38233211636543274, -0.13060928881168365, -0.00705736642703414, -0.04822516441345215, -0.28567859530448914, 0.8221268653869629, 0.6722909212112427, 0.35976842045783997, -0.04070093110203743, -0.7440782785415649, 0.4576975405216217, 0.12673358619213104, -0.6141049265861511, 0.2932548522949219, 0.2821810245513916, 0.2622430622577667, 0.06769327074289322, 0.08769611269235611, -0.3014717102050781, 0.13388469815254211, -0.17925989627838135, -0.32061126828193665, -0.09109354764223099, -0.3348526060581207, -0.7559364438056946, 0.5200801491737366, 0.11319279670715332, 0.000963295460678637 ]
http://arxiv.org/abs/2406.06840v2
http://arxiv.org/pdf/2406.06840v2
Silent Signals, Loud Impact: LLMs for Word-Sense Disambiguation of Coded Dog Whistles
2024-06-10T23:09:19
2024-06-18T19:11:11
Julia Kruk, Michela Marchini, Rijul Magu, Caleb Ziems, David Muchlinski, Diyi Yang
cs.CL
cs.CL, cs.LG, J.4; K.4.1; K.4.2
A dog whistle is a form of coded communication that carries a secondary meaning to specific audiences and is often weaponized for racial and socioeconomic discrimination. Dog whistling historically originated from United States politics, but in recent years has taken root in social media as a means of evading hate speech detection systems and maintaining plausible deniability. In this paper, we present an approach for word-sense disambiguation of dog whistles from standard speech using Large Language Models (LLMs), and leverage this technique to create a dataset of 16,550 high-confidence coded examples of dog whistles used in formal and informal communication. Silent Signals is the largest dataset of disambiguated dog whistle usage, created for applications in hate speech detection, neology, and political science. The dataset can be found at https://huggingface.co/datasets/SALT-NLP/silent_signals.
[ -0.4176503121852875, -0.5612426996231079, 0.46265020966529846, 0.3875168561935425, -0.39391475915908813, -0.02466450445353985, -0.32212764024734497, -0.5247196555137634, 0.2838746905326843, 0.2832193076610565, -0.482121080160141, -0.752331018447876, -0.9287204146385193, -0.1261206865310669, -0.5139153599739075, 0.9909303784370422, 0.5498443245887756, 0.16916105151176453, 0.41465458273887634, -0.15494117140769958, -0.17925149202346802, -0.49256807565689087, -0.41923049092292786, -0.45137879252433777, 0.8159538507461548, 0.07211659848690033, 0.6177386045455933, 0.34587064385414124, 0.48479482531547546, 0.19325432181358337, -0.24366559088230133, -0.13118880987167358, -0.567171037197113, 0.07569152116775513, -0.006664680782705545, -0.4385969936847687, -0.1920192986726761, 0.5096393823623657, 0.3283877670764923, 0.48535028100013733, -0.2968156933784485, 0.3160139322280884, -0.15421800315380096, 0.14715254306793213, -0.5017322897911072, 0.37264320254325867, -1.116707444190979, -0.2176830917596817, -0.29590049386024475, -0.23820897936820984, -0.16651207208633423, -0.47305139899253845, -0.13190874457359314, -0.13155698776245117, -0.14155158400535583, -0.19114869832992554, 0.7737714052200317, 0.346260130405426, -0.4973742365837097, -0.701973021030426, -0.8541277647018433, 0.9360308647155762, -0.6316472291946411, 0.389250248670578, 0.5685620903968811, 0.05339992046356201, -0.25717324018478394, -0.8259738683700562, -0.6924529671669006, -0.1638084053993225, 0.018424706533551216, 0.30234673619270325, -0.5870699286460876, 0.07536771893501282, 0.44740790128707886, 0.11637890338897705, -0.11015355587005615, 0.17939947545528412, -0.5321964025497437, 0.027396269142627716, 0.8267109990119934, 0.21563658118247986, 0.04422115162014961, -0.14916636049747467, -0.09267571568489075, 0.006149296648800373, -0.4202929437160492, -0.005008107516914606, 0.5196461081504822, 0.47300583124160767, -0.43597015738487244, 0.2404232621192932, -0.07235811650753021, 0.5355536937713623, 0.13491326570510864, -0.605609655380249, 0.15120233595371246, 0.10464321076869965, 0.08853425830602646, 0.28018105030059814, 0.7144332528114319, 0.4532822370529175, 0.4238986074924469, -0.08586937934160233, -0.2039635181427002, 0.6673371195793152, -0.09197022765874863, -0.6656617522239685, -0.1884986311197281, 0.15220898389816284, -0.5774508714675903, -0.6191073656082153, -0.11680573225021362, -0.6308181881904602, -0.7286328077316284, -0.2520754039287567, 0.40032628178596497, -0.09441375732421875, -0.33014053106307983, 0.34441471099853516, -0.6838592886924744, 0.7227404713630676, -0.11228977143764496, -0.7386797666549683, 0.1599375605583191, 0.8270920515060425, 0.7888420224189758, 0.2399267703294754, -0.1015811562538147, -0.40076249837875366, 0.17774300277233124, -0.17724639177322388, 0.5924308896064758, -0.7153156399726868, -0.43824273347854614, 0.08112192153930664, -0.12210105359554291, 0.39924851059913635, -0.6387131810188293, 0.7261229157447815, -0.5154238343238831, -0.1242961511015892, 0.007231088820844889, -0.22479912638664246, -0.1668555736541748, -0.28082534670829773, -0.19095472991466522, 0.9352590441703796, -0.22635731101036072, -0.5864180326461792, 0.5204498171806335, -0.4114922881126404, -0.796059250831604, 0.21749138832092285, -0.29361045360565186, -0.29116588830947876, 0.18096263706684113, -0.1022568941116333, 0.6072088479995728, -0.13880661129951477, 0.19267435371875763, -0.5016703009605408, -0.5640513300895691, 0.20767487585544586, -0.4335533678531647, 0.9341002702713013, 0.2807602882385254, -0.5057507157325745, -0.01218794658780098, -0.9348535537719727, 0.03555121272802353, 0.15837280452251434, -0.34630492329597473, -0.6343531608581543, 0.30251652002334595, -0.22663791477680206, 0.2169494479894638, 0.029613938182592392, -0.5950652956962585, -0.2063177227973938, -0.05141376331448555, 0.49391651153564453, 0.6823121309280396, 0.08221280574798584, -0.12096097320318222, -0.41282230615615845, 0.32961469888687134, -0.2736077606678009, 0.37636566162109375, 0.12342821061611176, -0.5681647062301636, -0.3604053258895874, -0.6488763689994812, 0.06889160722494125, 0.4613950550556183, -0.11445385217666626, 0.4314786195755005, -0.13347317278385162, -0.6331466436386108, -0.7025443315505981, -0.09360908716917038, 0.017834194004535675, 0.26670557260513306, 0.07708164304494858, 0.05003614351153374, -0.7210060358047485, -0.7603369355201721, -0.32324132323265076, -0.4623519480228424, -0.2854677140712738, -0.0001744211040204391, 0.45491594076156616, -0.07552023231983185, 0.8206745982170105, -0.4222101867198944, -0.3123566508293152, -0.18642063438892365, 0.440056711435318, 0.3392668068408966, -0.19679223001003265, 0.2128787338733673, -0.6642880439758301, -0.41969069838523865, -0.41174978017807007, -0.7189232707023621, -0.5642783045768738, -0.043059397488832474, 0.00449690455570817, -0.3979889452457428, 0.6244332790374756, -0.22305525839328766, 0.37085938453674316, 0.7107340693473816, -0.06756699085235596, 0.6393066048622131, 0.6114183664321899, 0.058876655995845795, -0.7844132781028748, -0.29222342371940613, 0.008494136855006218, -0.03981580585241318, -0.7444194555282593, -0.34606993198394775, -0.2059589922428131, 0.000053937586926622316, -0.7737756371498108, 0.37323620915412903, -0.5862504839897156, -0.010143714025616646, -0.5161178112030029, 0.36625978350639343, -0.2758590877056122, 0.15334463119506836, 0.021377841010689735, 0.49477487802505493, 0.7614230513572693, -0.8221046328544617, 0.6715877056121826, 0.3524934649467468, -0.3392159640789032, 0.7868499159812927, -0.591559886932373, 0.21165141463279724, -0.22166010737419128, 0.18413665890693665, -0.603222131729126, -0.15922875702381134, 0.29299208521842957, -0.5925720930099487, -0.09465854614973068, -0.361039400100708, -0.5544969439506531, -0.3925805985927582, -0.41260579228401184, 0.050691235810518265, 0.8979744911193848, -0.7886739373207092, 0.028738252818584442, 0.9432681798934937, 0.09530483931303024, -0.32939329743385315, -0.6894740462303162, 0.2541300356388092, -0.5861905217170715, -0.629104495048523, 0.07527989149093628, 0.07118487358093262, -0.6946722269058228, -0.2644047141075134, -0.09094924479722977, 0.1526426076889038, -0.03512385115027428, 0.5741942524909973, -0.09109701961278915, 0.045264072716236115, 0.3862404525279999, -0.22644361853599548, 0.1462710052728653, 0.30650457739830017, 0.14301815629005432, 0.7012850642204285, -0.0908302590250969, -0.31691309809684753, -0.4558503031730652, 0.4807984232902527, 0.6819769740104675, 0.08767526596784592, 0.6597446799278259, 0.7811585664749146, -0.31614404916763306, -0.4632435739040375, -0.47458910942077637, -0.4602755606174469, -0.5610324144363403, 0.12289382517337799, -0.3500368595123291, -0.7757201790809631, 0.543899655342102, -0.2995099127292633, -0.13802511990070343, -0.055385321378707886, 0.526777446269989, -0.22419598698616028, 1.0311108827590942, 0.47729113698005676, -0.2818391025066376, 0.5013097524642944, 0.36807289719581604, 0.37127894163131714, -0.5709086656570435, -0.09963489323854446, -0.6731566190719604, -0.1900881975889206, -0.6292482018470764, -0.338113933801651, 0.378436416387558, 0.11732397228479385, -0.16428162157535553, -0.11375223100185394, -0.6142327189445496, 0.4081646502017975, 0.4687172472476959, -0.015129095874726772, 0.41161152720451355, 0.13814787566661835, 0.40490543842315674, -0.20032645761966705, -0.4303448796272278, -0.5582879185676575, 0.8453889489173889, 0.5997772216796875, 1.1270151138305664, 0.20883257687091827, 0.5598412752151489, 0.4942527115345001, 0.29137682914733887, -1.3338388204574585, 0.8123320937156677, -0.02535730041563511, -0.49680837988853455, -0.3514661192893982, -0.25659462809562683, -1.2333110570907593, 0.11350059509277344, -0.13838663697242737, -0.7412712574005127, -0.02989203855395317, -0.19529324769973755, 0.09042606502771378, 0.20312125980854034, -0.22054065763950348, 0.24605542421340942, -0.2477673590183258, -0.0020058860536664724, -0.22125360369682312, -0.12362927198410034, 0.6624062657356262, -0.16829314827919006, 0.36602783203125, -0.5191386938095093, -0.1619444638490677, 1.0249773263931274, -0.3222275376319885, 1.3219729661941528, -0.10201378911733627, -0.42990466952323914, 0.47246503829956055, -0.3030325174331665, 0.9104662537574768, -0.3502402901649475, -0.250718355178833, 0.5447741150856018, -0.054355375468730927, -0.2271880805492401, -0.26704519987106323, 0.3657771646976471, -0.28172582387924194, -0.5070540904998779, -0.49031469225883484, -0.20031856000423431, -0.18134430050849915, -0.006540754809975624, 0.20548568665981293, 0.29818129539489746, -0.06147168204188347, 0.14609383046627045, 0.4599768817424774, -0.15720370411872864, 0.3728099763393402, 1.120168685913086, -0.1642453968524933, -0.1837078481912613, 0.8044712543487549, 0.06832174211740494, 0.11991728097200394, -0.3383132219314575, 0.11287517100572586, -0.4715644121170044, -0.6973585486412048, 0.13542844355106354, 0.42363473773002625, -0.6682342290878296, 0.012492802925407887, -0.4209137260913849, -0.262692928314209, -0.38023024797439575, -0.08988688141107559, -0.08421292901039124, 0.1735912263393402, 0.03283895552158356, 0.02805035375058651, 0.6291815042495728, 0.9151325225830078, -0.6291120052337646, 0.6417709589004517, -0.58369380235672, 0.5332962274551392, 0.3813086450099945, 0.6232792735099792, -0.24800384044647217, -0.7525312900543213, -0.21559970080852509, -0.17964324355125427, 0.06317756325006485, -1.485216736793518, 0.2690572440624237, 0.0440526083111763, 0.5885890126228333, 0.3934493660926819, 0.5919342637062073, 0.668531596660614, -0.22711095213890076, 0.7081490755081177, 0.5252996683120728, -0.9116330742835999, 0.6473690867424011, -0.7951443195343018, 0.25632232427597046, 0.27812740206718445, 0.47517073154449463, -1.0460420846939087, -0.836014449596405, -0.4877678155899048, -0.8432245254516602, 0.4339928925037384, -0.14767533540725708, 0.4320998191833496, -0.4009148180484772, -0.018541600555181503, 0.05562270060181618, 0.2840939164161682, -0.6499914526939392, -0.49221596121788025, 0.12346285581588745, -0.17049671709537506, 0.2330755889415741, -0.3288576304912567, -0.425946444272995, -0.22520481050014496, 0.7717366218566895, -0.08263673633337021, 0.23533941805362701, -0.23381556570529938, -0.0966477245092392, 0.043536849319934845, 0.4087054133415222, 0.4650687873363495, 0.3377988338470459, -0.2853540778160095, 0.38389357924461365, 0.265569269657135, -0.7712799906730652, 0.11435278505086899, -0.3890962302684784, -0.2801060974597931, 0.3502991795539856, 0.27622294425964355, 0.7303527593612671, 0.0122116319835186, -0.5935307741165161, 0.5211471319198608, -0.012747394852340221, -0.3578433394432068, -0.6066051125526428, -0.1595507562160492, 0.21375617384910583, 0.2505311071872711, 0.3797241747379303, -0.39327365159988403, 0.10244281589984894, -0.7438052892684937, 0.45492345094680786, 0.7728661298751831, -0.5123357772827148, -0.24807846546173096, 0.5145882368087769, 0.27523273229599, -0.1853371262550354, 0.2461104393005371, -0.3907787799835205, -0.4695769250392914, 0.2913174629211426, 0.5258597731590271, 0.788410484790802, 0.10363977402448654, 0.4354167580604553, 0.27867549657821655, 0.4575789272785187, 0.02799348346889019, 0.3761604130268097, 0.023487668484449387, -0.6976463794708252, -0.3421054780483246, -0.90241938829422, -0.30787912011146545, 0.8632525205612183, -0.7022804617881775, 0.47568410634994507, -0.5773934125900269, -0.43102920055389404, 0.19161994755268097, -0.24898172914981842, -0.32749924063682556, 0.025057192891836166, 0.6047585606575012, 0.6585683226585388, -0.9979573488235474, 0.7051265239715576, 0.3894864320755005, -0.2859131693840027, -0.8745671510696411, 0.4075307846069336, 0.17001298069953918, -1.0270862579345703, 0.690382719039917, -0.16013959050178528, -0.6278203725814819, 0.016375726088881493, -0.8874425888061523, -0.7923537492752075, 0.5327820181846619, 0.1306016892194748, -0.529878556728363, 0.5229170918464661, 0.2725062668323517, 0.5074793696403503, -0.03334181755781174, 0.20489680767059326, 0.8922449946403503, 0.6989258527755737, 0.032334230840206146, -1.0445630550384521, 0.21441999077796936, -0.019800962880253792, -0.46571409702301025, 0.06344155222177505, -0.9896400570869446, 0.40804794430732727, 0.02288934402167797, -0.50456303358078, -0.37434956431388855, 0.4525555968284607, 0.2034105509519577, 0.4881210923194885, 0.4003809988498688, 0.18889397382736206, 0.9268301129341125, -0.09054552763700485, 0.5893312096595764, -0.33965083956718445, 0.06965429335832596, 1.1086370944976807, -0.26815861463546753, 0.8133615851402283, 0.3498927354812622, -0.4357115924358368, 0.25414496660232544, 0.38680499792099, -0.2621690034866333, 0.3626963794231415, 0.7114056944847107, -0.8864527344703674, -0.14263899624347687, -0.46904557943344116, -0.3921560049057007, 0.8685331344604492, 0.5678638219833374, -0.1757948249578476, -0.22766883671283722, -0.037770554423332214, 0.23570404946804047, -0.06644752621650696, -0.5709066390991211, 0.8307164311408997, 0.3825496733188629, -0.15745973587036133, 0.9105801582336426, -0.030777044594287872, 1.3122797012329102, -0.6043007969856262, 0.12453242391347885, -0.054027870297431946, -0.18139728903770447, -0.39967456459999084, -0.829329788684845, 0.49225902557373047, 0.289242684841156, -0.16695767641067505, -0.11725582182407379, 0.91327965259552, -0.29866087436676025, -0.07546837627887726, 0.5768935084342957, 0.40879639983177185, 0.7897866368293762, -0.18780569732189178, -0.6158010363578796, 0.4456765353679657, -0.046080708503723145, -0.1002035066485405, 0.28260108828544617, 0.28747525811195374, 0.11191851645708084, 0.5961965322494507, 0.6457050442695618, 0.4392034113407135, 0.5000632405281067, 0.35787054896354675, 0.5304816961288452, -0.7958722710609436, -0.42986419796943665, -0.6603561043739319, 0.16464491188526154, -0.10886573046445847, -0.05171281471848488, 0.7967624068260193, 0.3252759277820587, 0.6404421329498291, 0.015966780483722687, 1.2974281311035156, -0.014407583512365818, 0.5634750723838806, -0.31407347321510315, 0.7718245387077332, -0.26212015748023987, 0.2833462655544281, -0.09961222857236862, -0.604185163974762, -0.09534107893705368, 0.5400798320770264, -0.6303241848945618, -0.0753355398774147, 0.48267626762390137, 1.186139702796936, 0.09442690014839172, 0.10661019384860992, 0.7911859154701233, 0.40391892194747925, 0.05807424336671829, 0.06762051582336426, 1.151592493057251, -0.23203827440738678, 1.0709753036499023, 0.07644613832235336, -0.20580637454986572, -0.0353718064725399, -0.690812349319458, -0.8179379105567932, -0.4927458167076111, -0.6700595021247864, -0.47693538665771484, 0.1315004825592041, 0.5950591564178467, 0.870603084564209, -0.5058946013450623, -0.2080557942390442, 0.36257725954055786, 0.0729433000087738, -0.01663598231971264, -0.310494601726532, 0.08164384216070175, -0.26567572355270386, -0.8340780735015869, 0.6195266246795654, 0.17851878702640533, 0.08708808571100235, -0.041500650346279144, -0.1600079983472824, 0.22866828739643097, 0.5211415886878967, 0.7636265158653259, 0.5232165455818176, -0.7239969968795776, -0.411818265914917, -0.5055777430534363, -0.28812623023986816, -0.1987306773662567, 0.4765985906124115, -0.6277881860733032, -0.1386108547449112, 0.3432532250881195, 0.06468620896339417, 0.38161396980285645, -0.07479401677846909, 0.2050854116678238, -0.8287519216537476, 0.332010954618454, 0.10838065296411514, -0.07263597100973129, 0.20897133648395538, -0.12686055898666382, 0.37578341364860535, 0.5191539525985718, -0.3066254258155823, -1.1056718826293945, 0.5279898643493652, -1.1691253185272217, -0.31827813386917114, 1.5925893783569336, 0.23871339857578278, -0.27227914333343506, -0.5803819894790649, -0.042109061032533646, 0.4130501449108124, -0.6826504468917847, 0.928089439868927, 0.6115246415138245, -0.19636750221252441, -0.3771974444389343, -0.6848472356796265, 0.7187713384628296, 0.17609061300754547, -0.5029431581497192, 0.06575655937194824, 0.49181193113327026, 0.3632561266422272, -0.036753375083208084, 0.8454411029815674, -0.07264113426208496, 0.021088307723402977, 0.6194179058074951, 0.3363370895385742, 0.16293150186538696, 0.03615329787135124, -0.4739561378955841, 0.29964131116867065, -0.044028349220752716, -0.5461344122886658 ]
http://arxiv.org/abs/2406.06839v1
http://arxiv.org/pdf/2406.06839v1
EAVE: Efficient Product Attribute Value Extraction via Lightweight Sparse-layer Interaction
2024-06-10T23:06:38
2024-06-10T23:06:38
Li Yang, Qifan Wang, Jianfeng Chi, Jiahao Liu, Jingang Wang, Fuli Feng, Zenglin Xu, Yi Fang, Lifu Huang, Dongfang Liu
cs.CL
cs.CL
Product attribute value extraction involves identifying the specific values associated with various attributes from a product profile. While existing methods often prioritize the development of effective models to improve extraction performance, there has been limited emphasis on extraction efficiency. However, in real-world scenarios, products are typically associated with multiple attributes, necessitating multiple extractions to obtain all corresponding values. In this work, we propose an Efficient product Attribute Value Extraction (EAVE) approach via lightweight sparse-layer interaction. Specifically, we employ a heavy encoder to separately encode the product context and attribute. The resulting non-interacting heavy representations of the context can be cached and reused for all attributes. Additionally, we introduce a light encoder to jointly encode the context and the attribute, facilitating lightweight interactions between them. To enrich the interaction within the lightweight encoder, we design a sparse-layer interaction module to fuse the non-interacting heavy representation into the lightweight encoder. Comprehensive evaluation on two benchmarks demonstrate that our method achieves significant efficiency gains with neutral or marginal loss in performance when the context is long and number of attributes is large. Our code is available \href{https://anonymous.4open.science/r/EAVE-EA18}{here}.
[ -0.2391611635684967, -0.9138559103012085, 0.29598504304885864, 0.48956534266471863, -0.05911320820450783, -0.15253663063049316, -0.3226003348827362, -1.1205302476882935, 0.2124188393354416, 0.15079085528850555, -0.6621478199958801, -0.242294579744339, -0.44016775488853455, -0.2819763720035553, -0.13214831054210663, 0.8736798167228699, 0.02850392647087574, -0.33770352602005005, -0.3851466178894043, -0.5717878937721252, -0.4081224799156189, -0.11103729903697968, -0.46685791015625, -0.0820513665676117, 0.5139399766921997, 0.23073115944862366, 0.5976355671882629, 0.23802411556243896, 0.3443615138530731, 0.430925577878952, 0.019511567428708076, 0.4459244906902313, -0.5532981753349304, 0.4367924630641937, 0.07881864160299301, 0.300178587436676, -0.8009433150291443, 0.052271146327257156, 0.317007839679718, 0.6358441710472107, 0.19325871765613556, 0.5531561374664307, 0.31849879026412964, 0.2973087728023529, -0.9807109236717224, 0.23867590725421906, -0.4439835548400879, -0.20488253235816956, 0.02913805842399597, -0.0887947827577591, -0.31473544239997864, 0.22319550812244415, -0.10490332543849945, -0.7665256261825562, 0.02717643417418003, 0.2410408854484558, 1.213314175605774, 0.11378274112939835, -0.27243277430534363, 0.2847204804420471, -0.7951866984367371, 1.221114158630371, -0.503391444683075, 0.7025738954544067, 0.2512966990470886, 0.04797791689634323, 0.03294852748513222, -0.5892576575279236, -0.5488553047180176, -0.11361201107501984, -0.20072303712368011, 0.07555197924375534, -0.2354610413312912, 0.013975419104099274, 0.18279847502708435, 0.2707972526550293, -0.18733137845993042, 0.024944782257080078, -0.21093039214611053, -0.046795230358839035, 0.6271254420280457, 0.10378994047641754, 0.08467831462621689, -0.28251615166664124, -0.7455873489379883, 0.013846505433321, -0.49564656615257263, 0.3772621154785156, 0.09664849191904068, 0.024615881964564323, 0.07188060134649277, 0.4538325071334839, -0.3806583881378174, 0.537653923034668, 0.299966424703598, -0.5076156258583069, 0.6260908842086792, -0.42499566078186035, -0.26147475838661194, -0.14945141971111298, 0.7812914848327637, 0.1653010994195938, -0.6218043565750122, -0.4662855565547943, -0.707028865814209, -0.4300415515899658, -0.03228265792131424, -1.0785309076309204, 0.027130048722028732, 0.21170927584171295, -0.968468427658081, -0.21584945917129517, 0.22821328043937683, -0.8992380499839783, -0.08156245201826096, -0.0691457986831665, 1.0413707494735718, -0.2760169208049774, -0.2041943073272705, 0.21103434264659882, -0.34657663106918335, 0.6471999287605286, 0.49546825885772705, -0.7531076669692993, 0.5625176429748535, 0.5478945374488831, 0.6883941292762756, -0.2084878534078598, 0.04705445095896721, -0.9095484614372253, 0.6010023355484009, 0.2722373306751251, 0.6181034445762634, -0.45969852805137634, -0.14927667379379272, -0.4051056206226349, 0.25677570700645447, 0.38071995973587036, -0.4702232778072357, 0.39359089732170105, -0.5768882632255554, -0.40631940960884094, -0.2960880696773529, -0.2639118731021881, 0.021120505407452583, 0.14184686541557312, -1.075126051902771, 1.223329782485962, 0.21432603895664215, -0.46203160285949707, 0.5351501107215881, -0.4859740734100342, -0.7013689875602722, 0.5263314843177795, -0.21009306609630585, -0.6846333146095276, 0.23443305492401123, 0.4198545515537262, 0.6517100930213928, -0.5298092365264893, -0.2681688070297241, -0.5958899259567261, -0.3529685139656067, 0.3466634452342987, -0.48094385862350464, 0.5860856771469116, 0.1843518167734146, -0.5323829650878906, -0.22237913310527802, -0.9062702655792236, 0.05843191593885422, 0.19462071359157562, -0.22342343628406525, -0.48280444741249084, -0.17772725224494934, 0.6448487043380737, 0.10492733865976334, 0.6908290386199951, -0.9130447506904602, 0.056758664548397064, 0.20315223932266235, 0.13175523281097412, 0.7783547639846802, 0.23114939033985138, 0.6344704031944275, 0.08833255618810654, 0.2761199176311493, -0.27867063879966736, 0.29156017303466797, 0.20205727219581604, -0.22989141941070557, -0.6309874653816223, -0.8127516508102417, 0.131023570895195, 0.08588752895593643, -0.7377277612686157, 0.5289130210876465, -0.009051415137946606, -0.2724597752094269, -0.389807790517807, 0.7212120890617371, 0.2484889179468155, 0.5934582948684692, 0.4390118718147278, -0.13556280732154846, -0.08399876952171326, -0.8711769580841064, 0.05275406315922737, 0.18542054295539856, -0.3163414001464844, 0.7773750424385071, 0.2773128151893616, -0.16640639305114746, 1.0090771913528442, -0.9449228048324585, -0.44003695249557495, -0.4449669122695923, 0.6736941933631897, 0.09551411122083664, 0.7485930323600769, 0.6993566155433655, -0.9160686135292053, -0.2381509393453598, 0.11639653891324997, -0.673051655292511, -0.45659753680229187, -0.2952789068222046, -0.2810879051685333, -0.07650613784790039, 0.27115654945373535, -0.7932384610176086, 0.4078507125377655, 0.26475149393081665, -0.07321936637163162, 0.17963145673274994, -0.17337515950202942, 0.35104066133499146, -0.771416425704956, 0.248641699552536, 0.172773078083992, -0.14728346467018127, -0.4542289078235626, -0.16685481369495392, 0.20923644304275513, -0.07522781938314438, -0.6989142298698425, 0.4699644148349762, -0.722163736820221, -0.1708545833826065, 0.07297954708337784, -0.2153700590133667, 0.5336637496948242, 0.5356656908988953, 0.09239597618579865, 0.6383997201919556, 0.24322587251663208, -0.5182632803916931, 0.4480381906032562, 0.008944446220993996, -0.3107123076915741, 0.7294614911079407, -0.7564150094985962, 0.040638990700244904, -0.2292727828025818, -0.04203971102833748, -0.6972693800926208, 0.1875060349702835, 0.045206934213638306, -0.1282505840063095, 0.4450947344303131, -0.0847940593957901, -0.37334907054901123, 0.1597287952899933, -0.6497641801834106, 0.6085727214813232, 0.5482577681541443, -0.7006860375404358, 1.0170080661773682, 0.4080841541290283, -0.09061203896999359, -0.5923547744750977, -0.6850759983062744, -0.1682150661945343, -0.29993459582328796, -0.7362836003303528, 0.5568088293075562, -0.08232203125953674, -0.013949696905910969, 0.4033688008785248, -0.3895018994808197, -0.26779434084892273, 0.09646055102348328, 0.30160757899284363, 0.4883491098880768, -0.19500958919525146, 0.08163108676671982, 0.003090560669079423, -0.32322701811790466, -0.14763230085372925, -0.08514264971017838, -0.00026532457559369504, -0.050602782517671585, -0.03580206632614136, -0.20607520639896393, 0.6737832427024841, 0.35251355171203613, -0.37332355976104736, 0.8525015115737915, 0.8377543091773987, -0.6521286368370056, -0.7509518265724182, -0.7862101197242737, -0.0193619467318058, -0.5874209403991699, 0.47981172800064087, -0.4296923875808716, -0.5749902725219727, 0.5227249264717102, -0.1287728250026703, -0.22541850805282593, 0.3676888942718506, 0.18219512701034546, -0.2678370475769043, 1.268742322921753, 0.8749282956123352, -0.04777361825108528, 0.7123013734817505, -0.6103600263595581, 0.3471590578556061, -0.868914783000946, -0.5810175538063049, -0.4195757210254669, -0.5613039135932922, -0.09151118993759155, -0.4416023790836334, 0.43616676330566406, 0.09218597412109375, 0.08731948584318161, 0.6710249185562134, -0.30308032035827637, 0.32633742690086365, 0.20400241017341614, 0.5029664039611816, 0.044346027076244354, -0.09235838800668716, 0.5624746084213257, -0.2028283178806305, -0.4506300389766693, 0.08030330389738083, 0.6084584593772888, 0.30494633316993713, 1.3952895402908325, 0.06388029456138611, 0.613391637802124, 0.08766923099756241, 0.15068449079990387, -0.8420378565788269, 0.5232488512992859, -0.12201762199401855, -0.12903614342212677, -0.1016559973359108, -0.7341017723083496, -0.5939891934394836, -0.05225084722042084, -0.6881870627403259, -0.7811006307601929, 0.8021883368492126, -0.0417480543255806, -0.47999832034111023, 0.04918636754155159, -0.6596231460571289, 1.0843217372894287, -0.747603178024292, -1.0078846216201782, -0.14142917096614838, -0.4480690062046051, 0.13643576204776764, 0.0723351240158081, -0.019084153696894646, -0.05364520475268364, -0.2933765947818756, 0.8155158162117004, -0.5332903861999512, 0.35075631737709045, -0.18895694613456726, 0.042432304471731186, 0.08775579929351807, -0.1909981518983841, 0.4580346941947937, 0.1770995408296585, 0.1246807649731636, 0.10335751622915268, -0.25203317403793335, -0.33743125200271606, -0.984997570514679, 0.7827017903327942, -0.7227751016616821, -0.046418942511081696, -0.2563518285751343, -0.5131449103355408, -0.20165154337882996, 0.018505841493606567, -0.03851519525051117, 0.5000832676887512, -0.23795023560523987, 0.5414528250694275, 0.7875844240188599, -0.4608357548713684, 0.5592734813690186, 0.3385629653930664, 0.43666693568229675, -0.4021938145160675, 1.2682925462722778, 0.24831773340702057, 0.3182923495769501, 0.39851319789886475, 0.009248116984963417, -0.02590402215719223, -0.1333327293395996, -0.17665185034275055, -0.06463861465454102, -0.6665799021720886, -0.7430837750434875, -0.7611526250839233, -0.29667821526527405, -0.21712662279605865, -0.3858839273452759, -0.42123037576675415, -0.4497816562652588, -0.04967111349105835, 0.026752270758152008, 0.5800305604934692, 0.7038903832435608, -0.10944464802742004, 0.08840439468622208, -0.8123349547386169, 0.5823739767074585, 0.737233579158783, 0.19714036583900452, 0.11336300522089005, 0.09093201160430908, -0.5144716501235962, -0.29680073261260986, -0.15244612097740173, -0.8973885178565979, 0.31481772661209106, 0.35102325677871704, 0.7239376306533813, 0.6828576922416687, 0.15204177796840668, 1.0267210006713867, -0.1920255571603775, 0.6378944516181946, 0.08405940234661102, -1.0396147966384888, 0.19445165991783142, 0.2525084614753723, 0.02236419916152954, 0.6650132536888123, 0.1352357566356659, -0.17725472152233124, -0.09972570836544037, -0.5121611952781677, -1.3799107074737549, 0.7677118182182312, 0.07137837260961533, -0.06253433227539062, 0.22852005064487457, 0.09796573221683502, 0.08907774090766907, 0.26557645201683044, -0.695103645324707, -0.04164818301796913, -0.07499786466360092, -0.22991299629211426, 0.39557451009750366, -0.273681640625, 0.11739052087068558, -0.3580079972743988, 0.5719676613807678, -0.04836200922727585, 0.15124307572841644, 0.027804959565401077, -0.4891546964645386, -0.1695057451725006, 0.031126201152801514, -0.19095230102539062, 0.19598816335201263, -0.48434823751449585, 0.3708660900592804, 0.31708627939224243, -0.3863544464111328, -0.1521080881357193, 0.30517154932022095, -0.06326986849308014, -0.2742539048194885, 0.4035375714302063, 0.461154043674469, 0.5101483464241028, -0.5373696088790894, 0.9994266629219055, -0.07040800899267197, 0.09877230226993561, 0.19035422801971436, -0.4063962399959564, -0.22753401100635529, 0.2998628318309784, 0.5419945120811462, 0.04717344045639038, 0.5700950622558594, -0.36414456367492676, 0.43187257647514343, 0.7293511033058167, 0.014474205672740936, -0.15752540528774261, 0.7959598302841187, 0.4368568956851959, 0.22624407708644867, 0.3888843059539795, -0.3212480843067169, -0.3587193489074707, 0.6546444296836853, 0.5859203934669495, 1.0761420726776123, 0.244398295879364, 0.15818850696086884, 0.16167739033699036, 0.3046846389770508, 0.2564411461353302, 0.03473532572388649, -0.6771090030670166, -0.5398178100585938, -0.4974689185619354, -0.7556145787239075, -0.14725978672504425, 0.2542487382888794, -0.4944848418235779, 0.3164485692977905, -0.2771191895008087, 0.08696286380290985, 0.028073137626051903, 0.13115742802619934, -0.9202221632003784, 0.04406562075018883, 0.09644638001918793, 0.5584313273429871, -1.1868951320648193, 0.5896036624908447, 0.24754703044891357, -0.8481659293174744, -0.8019589781761169, -0.2517893612384796, -0.050707750022411346, -0.5392792224884033, 0.9340081214904785, 0.44118839502334595, -0.48156315088272095, -0.5741055607795715, -0.7181193828582764, -0.7725497484207153, 1.4274871349334717, 0.3456469774246216, -0.08944552391767502, 0.3138953149318695, -0.04763088747859001, 0.12222526967525482, -0.4703788757324219, 0.32673412561416626, 0.2477349489927292, 0.5101021528244019, 0.37411990761756897, -0.34188783168792725, 0.3959818184375763, -0.47850504517555237, 0.16337288916110992, 0.04127535596489906, -0.6440956592559814, 0.7455751895904541, 0.2836238741874695, -0.19240568578243256, 0.11481795459985733, 0.9182299971580505, -0.2512301206588745, 0.1712237447500229, 0.7091400027275085, 0.5917198657989502, 0.28981155157089233, 0.08411605656147003, 0.5374851226806641, -0.32048776745796204, 0.38392308354377747, 0.6476281881332397, -0.37591564655303955, 0.8767727017402649, 0.41879409551620483, 0.236238494515419, 0.2019970715045929, 0.12051373720169067, 0.026422355324029922, 0.8147289752960205, -0.4336816668510437, -0.5790393948554993, -0.298279345035553, -0.17287017405033112, -0.1532747596502304, 0.3313194811344147, 0.22022917866706848, -0.10991464555263519, -0.0017793903825804591, 0.034507956355810165, -0.04866752028465271, -0.40124690532684326, -0.28853023052215576, 0.9085448980331421, -0.10202997922897339, -0.05256637558341026, 0.24992185831069946, 0.10008426010608673, 0.7670124769210815, -0.7458386421203613, -0.549040675163269, 0.03347143903374672, 0.27548453211784363, -0.5440647602081299, -0.5109295845031738, -0.027882304042577744, -0.20106856524944305, -0.08277570456266403, -0.552240252494812, 1.1724482774734497, -0.7687520980834961, -0.5725337266921997, 0.44390395283699036, 0.394326776266098, -0.3609578013420105, 0.28443193435668945, -0.5332214832305908, 0.39610740542411804, -0.5654746294021606, -0.6451041102409363, 0.3987810015678406, 0.5239350199699402, 0.14589199423789978, 0.22704152762889862, 0.6542923450469971, 0.24008607864379883, -0.17077967524528503, -0.13745611906051636, 1.069990873336792, -0.5315498113632202, -0.23226377367973328, -0.44507208466529846, 0.7677345871925354, -0.6156631708145142, -0.15480022132396698, 0.8104093670845032, 0.5720637440681458, 0.5466765761375427, 0.11098262667655945, 0.4921955466270447, -0.43368956446647644, -0.30497780442237854, -0.49400776624679565, 0.7845966815948486, -0.7149332165718079, 0.35246503353118896, -0.6715958714485168, -1.0514302253723145, -0.06577078253030777, 0.7777459025382996, 0.11426366865634918, 0.16481003165245056, 0.5334375500679016, 0.9121990203857422, -0.36726608872413635, -0.3068496882915497, 0.2384711354970932, 0.2229645848274231, 0.17596429586410522, 0.6690199375152588, 0.43896326422691345, -0.48184964060783386, 0.4232216477394104, -0.4266294240951538, -0.6759131550788879, 0.05725583806633949, -1.122756838798523, -0.35574543476104736, -0.3299502432346344, -0.2524053752422333, -0.2530665695667267, -0.15799996256828308, 0.9056311249732971, 1.0066735744476318, -0.4902868866920471, -0.12278860807418823, 0.43106532096862793, 0.013017418794333935, -0.7057331204414368, -0.3147595524787903, 0.3582000732421875, -0.18803246319293976, -0.5803000926971436, 0.48222869634628296, 0.5337666869163513, -0.285691499710083, -0.15743188560009003, -0.26573050022125244, -0.01018864568322897, 0.12972114980220795, 0.6440085768699646, 0.2833426296710968, -0.09598582983016968, -0.628165602684021, -0.1475002020597458, 0.1996348351240158, -0.04331355541944504, 0.7214632630348206, -0.9537097811698914, 0.2787579298019409, 0.771290123462677, 0.9429939389228821, 0.8927226066589355, 0.0440157875418663, 0.41434991359710693, -1.0248360633850098, 0.347027063369751, 0.03848577290773392, 0.5078113079071045, 0.2857242822647095, -0.6128441691398621, 0.1068427562713623, 0.2744389474391937, -0.5102264881134033, -0.653766930103302, 0.18876340985298157, -1.4249788522720337, -0.15117521584033966, 1.0567225217819214, -0.15765467286109924, -0.5921295881271362, 0.16563449800014496, -0.2460181713104248, -0.14471444487571716, -0.6360726356506348, 0.35467877984046936, 0.12671072781085968, -0.19236020743846893, -0.3488272726535797, -0.3740461468696594, 0.431698203086853, 0.19337503612041473, -0.7485173344612122, 0.004211894236505032, 0.5868775844573975, 0.19275572896003723, 0.008724259212613106, 0.49531275033950806, -0.12517762184143066, 0.33085691928863525, 0.09304714947938919, 0.1357545405626297, -0.21120081841945648, -0.3480042517185211, -0.31084057688713074, 0.29821616411209106, 0.09255974739789963, -0.3028858006000519 ]
http://arxiv.org/abs/2406.06809v1
http://arxiv.org/pdf/2406.06809v1
AGB-DE: A Corpus for the Automated Legal Assessment of Clauses in German Consumer Contracts
2024-06-10T21:27:13
2024-06-10T21:27:13
Daniel Braun, Florian Matthes
cs.CL
cs.CL
Legal tasks and datasets are often used as benchmarks for the capabilities of language models. However, openly available annotated datasets are rare. In this paper, we introduce AGB-DE, a corpus of 3,764 clauses from German consumer contracts that have been annotated and legally assessed by legal experts. Together with the data, we present a first baseline for the task of detecting potentially void clauses, comparing the performance of an SVM baseline with three fine-tuned open language models and the performance of GPT-3.5. Our results show the challenging nature of the task, with no approach exceeding an F1-score of 0.54. While the fine-tuned models often performed better with regard to precision, GPT-3.5 outperformed the other approaches with regard to recall. An analysis of the errors indicates that one of the main challenges could be the correct interpretation of complex clauses, rather than the decision boundaries of what is permissible and what is not.
[ -0.5638828277587891, -0.8002027273178101, 0.603537917137146, -0.251287579536438, -0.2286115139722824, -0.2214541733264923, 0.022400226444005966, -0.7292845845222473, -0.17307573556900024, 0.7737147808074951, -0.08408727496862411, -0.6260184645652771, -0.6811845302581787, 0.09869564324617386, -0.5011215806007385, 0.8615134954452515, -0.051363568753004074, -0.3187786638736725, -0.29200291633605957, -0.2680143117904663, -0.46670207381248474, -0.6343477368354797, -0.17330509424209595, -0.0729832872748375, -0.08926969021558762, 0.25845474004745483, 0.9717422723770142, 0.5203168392181396, 0.3070400357246399, 0.2776736915111542, -0.27314260601997375, -0.09814195334911346, -0.050935808569192886, -0.04746006801724434, -0.36122098565101624, -0.17658725380897522, -0.6232345104217529, 0.23694360256195068, 0.27255699038505554, 0.6598441004753113, -0.07184752821922302, 0.2590622305870056, -0.20650669932365417, 0.8478155136108398, -0.9497121572494507, 0.2752917408943176, -0.4937884211540222, -0.2567744553089142, -0.011836230754852295, 0.1675073802471161, -0.5251969695091248, -0.35086217522621155, 0.041673801839351654, -0.35829925537109375, 0.46037232875823975, -0.15658311545848846, 1.469799280166626, 0.7239586114883423, -0.7002367377281189, -0.7164531946182251, -0.7299023270606995, 0.2297641783952713, -0.5264219045639038, 0.44061920046806335, 0.678794264793396, 0.1752646565437317, -0.22174802422523499, -0.6502874493598938, -0.4006935656070709, -0.7622581720352173, -0.31933367252349854, 0.38142165541648865, -0.6775767207145691, 0.046435508877038956, 0.3226672410964966, 0.1886160969734192, -0.4307261109352112, 0.12102515995502472, -0.5593482255935669, -0.3452550172805786, 0.5689687132835388, -0.012634088285267353, -0.01174416858702898, -0.41768452525138855, -0.19589382410049438, 0.2502525746822357, -0.5219748020172119, 0.25656628608703613, 0.6789503693580627, 0.09428034722805023, -0.10413301736116409, 0.7371368408203125, -0.4048861563205719, 0.8693521618843079, -0.10636331140995026, 0.34521976113319397, 0.3574026823043823, -0.017870444804430008, -0.17515316605567932, -0.04296721890568733, 0.23121318221092224, 0.14703668653964996, 0.29730820655822754, -0.21014143526554108, -0.3578896224498749, 0.20417547225952148, 0.5527126789093018, -0.29357272386550903, -0.23238548636436462, 0.49558982253074646, -0.3363933563232422, 0.09534527361392975, 0.5476083159446716, -0.2640053629875183, -0.1776803731918335, -0.6111325025558472, -0.12381460517644882, -0.3781701922416687, 0.12151801586151123, 0.2914840579032898, -0.011043901555240154, 0.3600700795650482, 0.11566868424415588, -0.5745839476585388, 0.4971284866333008, 0.7192754745483398, 0.20615661144256592, 0.11079540848731995, 0.023826733231544495, -0.6001995205879211, 0.17285233736038208, -0.5344586372375488, 1.1690020561218262, -0.5860768556594849, -0.1460351198911667, 0.07838273793458939, 0.06463407725095749, 0.10760973393917084, -0.6683103442192078, 1.0342038869857788, -0.40213537216186523, 0.26381316781044006, 0.02318074367940426, -0.6535152196884155, -0.5484278202056885, 0.3054550290107727, -0.7396566867828369, 0.8115269541740417, 0.6539324522018433, -0.3351770043373108, 0.730272650718689, -0.46029195189476013, -0.5183115005493164, 0.4168844223022461, -0.30070412158966064, -0.3459635376930237, 0.3787819445133209, 0.19955523312091827, 0.5161172747612, -0.3573097288608551, 0.43318960070610046, -0.43988436460494995, -0.32942768931388855, 0.3581351935863495, -0.2908601760864258, 0.7580814361572266, 0.4352034032344818, -0.4034035801887512, -0.06308450549840927, -0.9109158515930176, -0.011710177175700665, -0.21300388872623444, -0.5457491278648376, -0.28918859362602234, -0.0620763897895813, -0.13837681710720062, 0.25032007694244385, 0.044899050146341324, -0.27983084321022034, -0.03501642122864723, -0.32948052883148193, 0.2684309482574463, 0.6688477396965027, -0.15580803155899048, 0.11503932625055313, -0.20371899008750916, 0.8570958375930786, -0.2318248152732849, 0.20909056067466736, -0.020692234858870506, -0.3005654215812683, -0.8118841052055359, -0.5786212086677551, 0.720101535320282, 0.6937873959541321, -0.31728073954582214, 0.898049533367157, -0.23541387915611267, -0.47553232312202454, -0.7207499742507935, -0.1645752191543579, 0.3689854145050049, 0.1890946328639984, 0.2783341109752655, -0.08033427596092224, -0.21509741246700287, -1.2760913372039795, -0.20236995816230774, -0.29224562644958496, -0.06492500007152557, 0.6106281876564026, 0.6705340147018433, -0.33869415521621704, 1.015354037284851, -0.4409337341785431, -0.7282160520553589, 0.03646468743681908, 0.25119906663894653, 0.44907429814338684, 0.1813402622938156, 0.6969249844551086, -0.6986631751060486, -0.6031108498573303, 0.2145802080631256, -0.7895187139511108, -0.5176875591278076, -0.0185177531093359, 0.39348384737968445, 0.7174190878868103, 0.6323058009147644, -0.48538875579833984, 0.3875461518764496, 0.26254212856292725, -0.9585748314857483, 0.5328523516654968, -0.584873616695404, 0.08013929426670074, -0.40891650319099426, 0.3878675103187561, -0.1714407503604889, -0.47756507992744446, -0.518427848815918, 0.11723672598600388, 0.4224819242954254, 0.23128321766853333, -0.7980608344078064, 0.5903227925300598, -0.5060054063796997, -0.09539204835891724, -0.3201770484447479, -0.19925175607204437, -0.06086904555559158, 0.1885562539100647, -0.23560580611228943, 0.701943576335907, 0.27770817279815674, -0.8158749938011169, 0.13909688591957092, 0.5787204504013062, -0.3202548325061798, 0.6153451204299927, -0.37647730112075806, 0.09521474689245224, -0.31564468145370483, 0.10784813016653061, -0.7788838148117065, -0.24766850471496582, 0.3222767412662506, -0.37792330980300903, 0.05053582787513733, -0.2498706430196762, -0.6392799019813538, -0.4963538348674774, 0.13891293108463287, 0.021619996055960655, 0.4423047602176666, -0.24292604625225067, 0.9404348134994507, 0.7219592928886414, -0.2141360342502594, -0.6228019595146179, -0.35191673040390015, -0.04752472788095474, -0.3577708899974823, -0.43051087856292725, 0.1670069843530655, 0.39434465765953064, -0.22151120007038116, 0.3482414484024048, -0.4081900715827942, -0.15222203731536865, 0.4424150884151459, 0.3568471372127533, 0.20213134586811066, 0.14329589903354645, -0.12438128143548965, -0.05663946643471718, -0.5078350901603699, 0.055501051247119904, -0.05574518069624901, 0.42761731147766113, -0.4922909140586853, -0.33536356687545776, 0.03797468915581703, 0.18818844854831696, 0.38722774386405945, 0.07128888368606567, -0.21594597399234772, 0.21950238943099976, -0.46818599104881287, -0.11227617412805557, -0.8089076280593872, 0.5344055891036987, -0.38753730058670044, -0.1373191773891449, -0.7775382399559021, -0.8171550035476685, 0.785402238368988, 0.011035268194973469, -0.26149192452430725, 0.7319841980934143, 0.5328455567359924, 0.029995035380125046, 0.5877194404602051, 0.45487672090530396, 0.11637189239263535, -0.060090914368629456, 0.002415223978459835, -0.09977854043245316, -0.2605517506599426, -0.37166622281074524, -0.8963371515274048, 0.12186241149902344, -0.40050503611564636, -0.1521514654159546, 0.1966347098350525, 0.21487022936344147, -0.024928690865635872, 0.5798649787902832, -0.3581744432449341, 0.6780152916908264, 0.5888242721557617, -0.11305007338523865, 0.27266648411750793, -0.38076600432395935, -0.2691986858844757, 0.3450990319252014, -0.2761906087398529, -0.7660756707191467, 0.7558904886245728, 0.30953308939933777, 0.35896381735801697, 0.19788026809692383, 0.35724708437919617, 0.7223555445671082, 0.12857407331466675, -0.6306766271591187, 0.6071152091026306, -0.5207276940345764, -0.8891388177871704, -0.10969192534685135, -0.27004677057266235, -1.2691352367401123, 0.39273861050605774, -0.16911332309246063, -0.7153250575065613, 0.258791983127594, -0.010723858140408993, -0.540860652923584, -0.4002380669116974, -0.831510066986084, 0.9428069591522217, -0.14559580385684967, -0.26942551136016846, 0.005845751613378525, -0.4809916615486145, 0.21138574182987213, -0.2842335104942322, 0.2682298719882965, -0.6113029718399048, -0.042431656271219254, 0.5021452307701111, -0.13028883934020996, 0.4883231520652771, -0.33885514736175537, -0.07575331628322601, 0.6177049279212952, 0.20752786099910736, 0.5285096168518066, 0.052609190344810486, 0.027854008600115776, 0.02610837109386921, 0.13748739659786224, -0.40211552381515503, -0.0830947533249855, 0.2907622754573822, -0.3472553789615631, -0.3459758758544922, -0.7877355217933655, -0.35169366002082825, -0.23205140233039856, 0.4382418096065521, -0.05775430053472519, -0.14967335760593414, -0.46755799651145935, 0.280962198972702, 0.08531598746776581, -0.30681589245796204, 0.25867563486099243, 0.9785014986991882, 0.07210801541805267, -0.31992092728614807, 0.5273087620735168, 0.16687236726284027, -0.16334861516952515, -0.19783902168273926, -0.0692424401640892, -0.7045190930366516, -0.6069912314414978, -0.22670133411884308, 0.07342083752155304, -1.123443365097046, -0.3193362355232239, -0.8605870008468628, 0.10958468168973923, -0.4926004707813263, -0.1374000608921051, -0.4047277867794037, -0.39745232462882996, -0.17343325912952423, -0.4451616406440735, -0.04191863164305687, 0.5700469017028809, -0.16308137774467468, 0.07721121609210968, -1.0028940439224243, 0.7585267424583435, -0.09530942142009735, 0.7712863087654114, -0.7484096884727478, -0.278751403093338, -0.05523090437054634, -0.41069382429122925, -0.08133348822593689, -0.6167638897895813, 0.3624036908149719, -0.10693664848804474, 0.8737964034080505, 0.2585434019565582, 0.19333910942077637, 0.5905314683914185, -0.25890833139419556, 0.6382952928543091, -0.04744170606136322, -1.2739696502685547, 0.22195738554000854, -0.3846317529678345, 0.27962440252304077, 0.8879144787788391, 0.28658565878868103, -0.23923952877521515, -0.6951588988304138, -1.05781090259552, -1.1932188272476196, 0.8420975208282471, 0.2542756497859955, 0.04419612139463425, -0.19609813392162323, 0.3057793080806732, 0.5044829845428467, 0.2488299459218979, -0.5790050625801086, 0.03751322254538536, 0.196626678109169, 0.15225039422512054, 0.15656989812850952, -0.3936058282852173, 0.09894629567861557, -0.22928419709205627, 0.744576096534729, -0.07159353792667389, 0.06201934441924095, 0.07873393595218658, -0.38057222962379456, 0.13413308560848236, 0.48950865864753723, 0.5065765976905823, 0.8116729259490967, -0.34172385931015015, 0.07959558069705963, 0.036472707986831665, -0.24939456582069397, 0.3610786199569702, 0.5127748847007751, -0.537396252155304, 0.15107740461826324, 0.2404625117778778, 0.8037093281745911, -0.07142557948827744, -0.88485187292099, 0.4479893743991852, 0.10892818868160248, -0.5908940434455872, -0.9312384128570557, -0.04256980121135712, -0.15434476733207703, 0.27367472648620605, 0.10443402826786041, -0.07064907997846603, 0.4275398850440979, -0.2548283040523529, 0.6968774795532227, 0.2526010274887085, -0.6315529346466064, 0.02449948340654373, 0.7689586877822876, -0.041063737124204636, 0.09751543402671814, 0.7278560996055603, -0.39335504174232483, -0.37072351574897766, 0.5494977235794067, -0.0016903555952012539, 0.9406934380531311, -0.024456389248371124, 0.4114105999469757, 0.15844815969467163, 0.4439883828163147, -0.11541730910539627, 0.4557547867298126, 0.286710262298584, -0.4774130582809448, -0.45442119240760803, -0.4141826331615448, -0.21835769712924957, 0.30511152744293213, -0.6446115374565125, 0.5702306032180786, -0.1164630800485611, -0.19895096123218536, 0.2768045961856842, -0.20083118975162506, -0.923590898513794, 0.17488835752010345, 0.28066879510879517, 0.6126374006271362, -0.8035086989402771, 0.7758949398994446, 0.5908498764038086, -0.5581188797950745, -0.44008445739746094, -0.1424814760684967, -0.1458282768726349, -0.46828630566596985, 0.46890753507614136, 0.24747531116008759, 0.1291998028755188, -0.18857575953006744, -0.18357253074645996, -0.6079639196395874, 0.7768983840942383, 0.6636732220649719, -0.23035073280334473, 0.1073499396443367, 0.5351375937461853, 0.6437513828277588, -0.08552376925945282, 0.28581714630126953, 1.0417931079864502, 0.814861536026001, -0.10399974882602692, -0.9190974235534668, 0.18934471905231476, -0.22375831007957458, -0.35287752747535706, 0.13541468977928162, -0.29345253109931946, 0.8859893679618835, 0.19706040620803833, -0.47825029492378235, -0.08927140384912491, 0.5323357582092285, -0.005210962612181902, 0.24580249190330505, 0.8034883141517639, 0.6789290308952332, 0.8530043363571167, -0.18749496340751648, 1.2188808917999268, -0.1877909153699875, 0.4810316860675812, 1.1394118070602417, -0.4796098470687866, 0.542671799659729, 0.25657427310943604, -0.04142310842871666, 0.09383842349052429, 0.44730427861213684, -0.6413021087646484, 0.38505545258522034, 0.5620986819267273, 0.2333991825580597, -0.36356568336486816, -0.033787477761507034, -0.1816461682319641, 0.6836525201797485, 0.3720063269138336, -0.09532732516527176, -0.45651760697364807, 0.0016153051983565092, -0.18145132064819336, 0.23999564349651337, -0.09812391549348831, 1.0718899965286255, -0.07117142528295517, -0.9055017232894897, 0.8013570308685303, 0.027554070577025414, 0.14155523478984833, -0.3421977460384369, -0.04268692061305046, -0.18930746614933014, 0.38888686895370483, -0.08726911246776581, -0.7448316812515259, 0.6338347792625427, 0.16436219215393066, 0.11992276459932327, -0.1801910251379013, 0.7683522701263428, 0.039660580456256866, -0.3572904169559479, 0.5967433452606201, 0.6904890537261963, 0.3163587152957916, -0.32671037316322327, -0.730850338935852, -0.1363113671541214, -0.15761306881904602, -0.46934953331947327, 0.019093656912446022, 0.39613282680511475, -0.2532227635383606, 0.5663893818855286, 0.3774324059486389, -0.1311315894126892, 0.13610278069972992, -0.114201620221138, 0.6760396957397461, -0.9716652035713196, -0.6817184686660767, -0.6084240674972534, 0.762001633644104, 0.0639800950884819, -0.1602293699979782, 0.4101572036743164, 0.8664968013763428, 1.0187883377075195, -0.28007370233535767, 1.0572432279586792, -0.2565568685531616, 0.6993054151535034, -0.7876406311988831, 0.4110299050807953, -0.38371846079826355, 0.2976454198360443, -0.008408132009208202, -1.040783166885376, -0.4914471209049225, 0.4866379201412201, -0.08590120077133179, -0.1875322163105011, 0.9063394665718079, 0.35921189188957214, -0.17890839278697968, 0.028505876660346985, 0.313505083322525, 0.2306193858385086, 0.4940465986728668, 0.33523136377334595, 0.8823779821395874, -0.2931855022907257, 0.782076895236969, -0.0963037759065628, -0.1038973405957222, -0.24945293366909027, -0.8181917071342468, -0.7577886581420898, -0.48878350853919983, -0.395060658454895, -0.6468492150306702, -0.05018509924411774, 0.7698820233345032, 0.34636029601097107, -0.9720664024353027, -0.18116021156311035, -0.11651340872049332, -0.4025841951370239, -0.520420491695404, -0.1188657209277153, 0.49626702070236206, -0.5721726417541504, -0.7541224360466003, 0.3999490737915039, -0.05805578455328941, 0.22699198126792908, 0.22986653447151184, 0.06613220274448395, -0.06819908320903778, 0.0757732018828392, 0.49816641211509705, 0.22876884043216705, -0.9091370701789856, -0.5377676486968994, -0.40187329053878784, -0.26608335971832275, 0.019005708396434784, 0.7680611610412598, -0.7041994333267212, 0.2629334628582001, 0.42482230067253113, 0.6234100461006165, 0.6562774777412415, 0.19795815646648407, 0.5273044109344482, -0.6306513547897339, 0.3191394507884979, 0.530943751335144, 0.552839994430542, -0.07223403453826904, -0.19790410995483398, 1.01047945022583, -0.09704891592264175, -0.3211890459060669, -0.679107129573822, 0.08495722711086273, -1.3313689231872559, -0.8286156058311462, 1.30076265335083, -0.19949807226657867, -0.07478989660739899, -0.716299831867218, -0.1921916902065277, 0.09290295839309692, -0.28329047560691833, 0.9789032936096191, 0.9984086155891418, 0.15542909502983093, 0.3040105104446411, -1.0881497859954834, 0.4410695731639862, 0.41916701197624207, -0.9274990558624268, 0.3502662181854248, 1.008124589920044, -0.031951893121004105, 0.1766667664051056, 0.8491296172142029, -0.1740572154521942, 0.35276949405670166, -0.04936792328953743, -0.0023406450636684895, -0.41802743077278137, -0.3660274147987366, -0.3640790581703186, 0.6518779397010803, -0.03656701371073723, -0.08735258877277374 ]
http://arxiv.org/abs/2406.07835v2
http://arxiv.org/pdf/2406.07835v2
SciRIFF: A Resource to Enhance Language Model Instruction-Following over Scientific Literature
2024-06-10T21:22:08
2024-06-18T23:43:34
David Wadden, Kejian Shi, Jacob Morrison, Aakanksha Naik, Shruti Singh, Nitzan Barzilay, Kyle Lo, Tom Hope, Luca Soldaini, Shannon Zejiang Shen, Doug Downey, Hannaneh Hajishirzi, Arman Cohan
cs.CL
cs.CL, cs.AI
We present SciRIFF (Scientific Resource for Instruction-Following and Finetuning), a dataset of 137K instruction-following demonstrations for 54 tasks covering five essential scientific literature understanding capabilities: information extraction, summarization, question answering, claim verification, and classification. SciRIFF demonstrations are notable for their long input contexts, detailed task specifications, and complex structured outputs. While instruction-following resources are available in specific domains such as clinical medicine and chemistry, SciRIFF is the first dataset focused on extracting and synthesizing information from research literature across a wide range of scientific fields. To demonstrate the utility of SciRIFF, we develop a sample-efficient strategy to adapt a general instruction-following model for science by performing additional finetuning on a mix of general-domain and SciRIFF demonstrations. In evaluations on nine held-out scientific tasks, our model -- called SciTulu -- improves over a strong LLM baseline by 28.1% and 6.5% at the 7B and 70B scales respectively, while maintaining general instruction-following performance within 2% of the baseline. We are optimistic that SciRIFF will facilitate the development and evaluation of LLMs to help researchers navigate the ever-growing body of scientific literature. We release our dataset, model checkpoints, and data processing and evaluation code to enable further research.
[ 0.16366125643253326, -0.35009071230888367, 0.3181346654891968, 0.40630707144737244, -0.01049988716840744, 0.0398087315261364, -0.1639275848865509, -0.17266646027565002, 0.06328477710485458, 0.5130807757377625, -0.46740877628326416, -0.6121135354042053, -0.41613131761550903, 0.14068195223808289, -0.5826361775398254, 1.2753126621246338, -0.05366731435060501, 0.5011999607086182, -0.5839608311653137, 0.27739471197128296, -0.1293046772480011, -0.019008560106158257, -0.3137485980987549, -0.45769789814949036, 0.862151563167572, 0.7216280102729797, 0.33823665976524353, 0.6141884922981262, 0.6592896580696106, 0.1515234261751175, 0.014798684976994991, 0.053221654146909714, -0.6313511729240417, 0.16563624143600464, -0.4125917851924896, -0.4203478991985321, -0.3590054512023926, -0.02131819538772106, 0.8397601842880249, 0.8520190715789795, -0.05368778854608536, 0.1638699173927307, 0.3166979253292084, 0.5343872904777527, -0.5969905853271484, 0.2798278033733368, 0.01416915375739336, 0.07251377403736115, 0.006067534442991018, -0.3590407371520996, -0.7457079291343689, -0.39843320846557617, 0.20843277871608734, -0.8572234511375427, 0.3196646273136139, 0.15837587416172028, 0.639190673828125, 0.04675666242837906, -0.2595047652721405, -0.3753185570240021, -0.4886568486690521, 0.7506322860717773, -0.32432717084884644, 0.4911978244781494, 0.6276984810829163, 0.06784598529338837, -0.22048541903495789, -1.0706684589385986, -0.14439290761947632, -0.5216836333274841, -0.11410408467054367, 0.22410151362419128, -0.12428826838731766, 0.10898944735527039, 0.4379211962223053, 0.018585143610835075, -0.6462874412536621, -0.005546104162931442, -0.9075559973716736, -0.21217584609985352, 0.3776650130748749, 0.17578117549419403, 0.34381186962127686, -0.2292206883430481, -0.1949189305305481, -0.3501042127609253, -0.8903626799583435, -0.11801016330718994, -0.07004649192094803, -0.07867903262376785, 0.039019420742988586, 0.608797550201416, -0.20942869782447815, 0.4490056335926056, -0.20727407932281494, -0.033500730991363525, 0.11802852153778076, -0.6751828193664551, -0.24090026319026947, 0.27599138021469116, 0.5328193306922913, 0.3414858281612396, -0.24228383600711823, -0.043252065777778625, 0.26581528782844543, -0.29582443833351135, 0.0448172427713871, -1.4360649585723877, -0.5576249361038208, -0.16578547656536102, -0.2531735301017761, -0.1180589571595192, -0.11934199184179306, -0.8424373865127563, -0.5422640442848206, -0.19963207840919495, 0.1811995804309845, -0.6445634365081787, 0.003018854418769479, 0.008355109952390194, -0.06631381809711456, 0.09808260947465897, 0.3897862434387207, -0.830462634563446, 0.47922787070274353, 0.7541679739952087, 1.0857692956924438, -0.2657730281352997, -0.2607575058937073, -0.6353282928466797, 0.2652939260005951, -0.25843894481658936, 0.9003081321716309, -0.7446227669715881, -0.7618943452835083, -0.3734605610370636, 0.26313045620918274, -0.0177280455827713, -0.10677651315927505, 0.6081673502922058, -0.3807043135166168, 0.29174163937568665, -0.33307260274887085, -0.6209293007850647, -0.3085744082927704, -0.31844764947891235, -0.71458500623703, 0.7044498324394226, -0.024549590423703194, -0.6647690534591675, 0.15879753232002258, -0.9648342728614807, -0.4070078432559967, 0.2785085141658783, 0.0513022281229496, 0.03820525109767914, -0.0364803671836853, 0.015243040397763252, 0.35434770584106445, -0.42875421047210693, 0.12517543137073517, -0.2976495623588562, -0.59242844581604, 0.052024926990270615, -0.31988877058029175, 0.7015956044197083, 0.44440600275993347, 0.01872478798031807, 0.15499328076839447, -0.7243784070014954, 0.1258314996957779, -0.1988949179649353, -0.06224891543388367, -0.6213607788085938, 0.0416012778878212, 0.003728179493919015, -0.37247154116630554, 0.056606125086545944, -0.5383296012878418, 0.32839521765708923, -0.1691538244485855, 0.47817161679267883, 0.3515181243419647, 0.15266153216362, 0.7039228677749634, -0.2952492833137512, 0.7983471155166626, -0.38390395045280457, -0.011532621458172798, -0.6492652297019958, -0.22092463076114655, -0.688962459564209, -0.39335355162620544, 0.5666514039039612, 0.47136229276657104, -0.5339983701705933, -0.04413951188325882, -0.1513768434524536, -0.6217538714408875, -0.5636746287345886, 0.22688435018062592, 0.36034566164016724, 0.8338350653648376, 0.39440250396728516, -0.11059655249118805, -0.6290872693061829, -0.5686185359954834, 0.11919649690389633, 0.05107085779309273, -0.02516859956085682, -0.006709578912705183, 0.6266496181488037, -0.07836149632930756, 0.6729775667190552, -0.6078981757164001, 0.05250795930624008, -0.1522139459848404, 0.4593018889427185, 0.24410340189933777, 0.43974751234054565, 0.37939804792404175, -0.49723491072654724, -0.44967857003211975, 0.13404981791973114, -0.7032137513160706, -0.36739733815193176, -0.047307949513196945, -0.37336474657058716, 0.1741485446691513, 0.6208386421203613, -0.3148109018802643, 0.24252144992351532, 0.3537442088127136, -0.4992034137248993, 0.7477330565452576, -0.23525887727737427, 0.4044461250305176, -0.8295181393623352, 0.3243587911128998, 0.09499216824769974, 0.1315346211194992, -0.7557428479194641, -0.002995068673044443, 0.4234379529953003, -0.08924784511327744, -0.4403497874736786, 0.5070938467979431, -0.5273226499557495, -0.0021946190390735865, -0.33505141735076904, -0.10684987902641296, 0.4242289364337921, -0.04079677537083626, 0.13836711645126343, 1.064901351928711, 0.6693891286849976, -0.41963064670562744, -0.0035872270818799734, 0.06366479396820068, -0.4619876444339752, 0.24753166735172272, -0.8140658736228943, -0.01819716952741146, -0.09238025546073914, 0.19970089197158813, -0.532596230506897, -0.35632070899009705, 0.290689080953598, -0.08907146751880646, 0.34998422861099243, -0.24274909496307373, -0.4783633053302765, -0.11826936900615692, -0.3117794692516327, -0.07671058923006058, 0.731525182723999, -0.2755773067474365, 0.555571973323822, -0.14339932799339294, -0.6218264698982239, -0.8147490620613098, -0.5312432646751404, -0.12794718146324158, 0.011533922515809536, -0.3232795000076294, 0.3911448121070862, -0.218636155128479, -0.09012676030397415, 0.103902667760849, -0.1471165120601654, -0.0779261589050293, 0.0076224845834076405, 0.3125365078449249, 0.556131899356842, -0.13312126696109772, 0.22044318914413452, 0.33721044659614563, 0.0717613622546196, 0.2714780867099762, -0.07511282712221146, 0.24447068572044373, -0.141635000705719, -0.5388320088386536, -0.26830410957336426, 0.25313854217529297, 0.285704642534256, -0.03245721757411957, 0.39717257022857666, 0.5301986336708069, -0.24037258327007294, -0.19708172976970673, -0.12484386563301086, -0.411446750164032, -0.4828040599822998, 0.705033004283905, -0.10336266458034515, -0.6234757900238037, 0.1720120906829834, 0.08921556174755096, 0.2933744788169861, 0.26035043597221375, 0.18467682600021362, -0.5162746906280518, 0.8876426815986633, 0.7635557055473328, 0.22348004579544067, 0.5640029311180115, -0.3548991084098816, 0.0004244625451974571, -0.7454506158828735, -0.5321870446205139, -0.5982853770256042, -0.05556637793779373, -0.24511229991912842, -0.682277500629425, 0.37124910950660706, 0.29914528131484985, -0.2004709541797638, 0.16076065599918365, -0.5359365344047546, 0.7016985416412354, 0.585579514503479, 0.23012836277484894, 0.4867529571056366, 0.4093153178691864, -0.13098786771297455, -0.11823166161775589, -0.9526588916778564, -0.5613981485366821, 1.071122646331787, 0.323130339384079, 1.3002568483352661, -0.22183355689048767, 0.6955549120903015, 0.2990091145038605, 0.7110482454299927, -0.783385694026947, 0.6491274833679199, -0.14319726824760437, -0.17572879791259766, -0.1717214584350586, -0.3896278738975525, -0.7783684134483337, 0.14260490238666534, -0.06521998345851898, -0.3563013970851898, 0.014066317118704319, 0.24557048082351685, -0.2322048395872116, -0.12383396178483963, -0.9453803300857544, 0.6339496374130249, -0.4281158149242401, -0.6789714694023132, -0.5641719698905945, -0.36652955412864685, 0.40418344736099243, 0.04989374801516533, 0.23171940445899963, 0.14358888566493988, 0.05917739123106003, 0.968475878238678, -0.009569192305207253, 0.9325746297836304, -0.07435215264558792, 0.18632584810256958, 0.23690739274024963, 0.2643165588378906, 0.059816181659698486, -0.22045177221298218, -0.19050100445747375, -0.1636306196451187, 0.3503992557525635, -0.23536892235279083, -0.7357618808746338, 0.9138717651367188, -0.5786128044128418, -0.7710793018341064, -0.71098393201828, -0.7862064838409424, 0.17717263102531433, 0.2365236133337021, 0.02460261806845665, 0.4136525094509125, -0.26080676913261414, 0.3228650987148285, 0.8905172348022461, -0.15434712171554565, 0.1295597404241562, 0.7740291953086853, -0.2802586257457733, -0.20773282647132874, 1.148910403251648, 0.07350252568721771, 0.24848085641860962, 0.288918673992157, 0.3096485733985901, -0.3107929229736328, -0.5359720587730408, -0.12043978273868561, 0.32665136456489563, -0.9734283089637756, -0.3005029559135437, -0.6101507544517517, -0.2474796324968338, -0.5150372385978699, -0.139249786734581, 0.22272822260856628, -0.44558098912239075, -0.6860413551330566, 0.041338443756103516, 0.7586764693260193, 0.84477698802948, -0.10973193496465683, 0.17723289132118225, -0.7787251472473145, 0.030289743095636368, -0.15256105363368988, 0.30902862548828125, -0.13160021603107452, -0.80208820104599, -0.30884093046188354, 0.027368230745196342, -0.4260198473930359, -0.905128538608551, 0.3211342394351959, 0.5736212134361267, 0.5501460433006287, 0.27265793085098267, -0.07024551928043365, 0.8140469193458557, -0.7267923355102539, 0.6269604563713074, 0.37995675206184387, -0.5799431204795837, 0.5725691318511963, 0.028377700597047806, 0.16506093740463257, 0.2532639801502228, 0.8799231052398682, -0.4490152895450592, -0.25510114431381226, -0.42265480756759644, -0.6348606944084167, 0.6722765564918518, -0.23051196336746216, -0.045677971094846725, 0.238625630736351, 0.3237573504447937, 0.10467030853033066, -0.11210580915212631, -0.41595563292503357, 0.14115944504737854, -0.4815557301044464, -0.4051229953765869, -0.09519895911216736, -0.12521325051784515, -0.39012613892555237, -0.43568336963653564, 0.777614176273346, -0.24549105763435364, 0.04146410524845123, 0.2534354329109192, -0.2972933053970337, 0.01775144599378109, 0.4049808979034424, 0.7391567826271057, 0.570949375629425, -0.14783133566379547, 0.1166360154747963, -0.023547006770968437, -0.8634433150291443, -0.120960533618927, 0.4435170590877533, -0.34063994884490967, -0.1468225121498108, 0.3589536249637604, 0.6472094655036926, 0.4063113033771515, -0.9185367822647095, 0.05783854424953461, 0.0738261416554451, -0.3288091719150543, -0.10427643358707428, 0.5787217617034912, 0.2807406485080719, 0.25252872705459595, 0.5365189909934998, -0.20586253702640533, 0.5210204124450684, -0.27576643228530884, 0.353213369846344, 0.16460074484348297, -0.12458176910877228, -0.24377046525478363, 0.5471736788749695, -0.03875186666846275, 0.00788442324846983, 0.4250459372997284, -0.15874157845973969, -0.1581706404685974, 0.6989398002624512, 0.700590193271637, 0.31637391448020935, -0.019876718521118164, 0.48296400904655457, 0.48625680804252625, 0.020774101838469505, -0.32789888978004456, 0.21464519202709198, -0.0460934042930603, -0.17133381962776184, -0.6123994588851929, -0.5453749299049377, -0.7761987447738647, -0.10042720288038254, -0.7763134241104126, 0.4472966492176056, -0.4722832441329956, 0.13912196457386017, 0.15688921511173248, 0.19938898086547852, -0.47612297534942627, -0.37981024384498596, -0.22116409242153168, 1.1974495649337769, -0.8493036031723022, 0.9276277422904968, 0.7626351118087769, -0.4632089138031006, -0.522010862827301, -0.4270937144756317, -0.06027470901608467, -0.5590617060661316, 1.0287286043167114, -0.00416236137971282, -0.2833424210548401, 0.032971277832984924, -0.9251739978790283, -0.9042577147483826, 1.3266459703445435, 0.312221884727478, -0.7663401365280151, -0.07141023129224777, -0.42337486147880554, 0.6563469767570496, -0.5358915328979492, 0.6506382822990417, 0.497758150100708, 0.2874571979045868, 0.5030742287635803, -0.42393264174461365, -0.055612899363040924, -0.38974979519844055, -0.2791784405708313, -0.36717522144317627, -0.2655412554740906, 0.3463072180747986, -0.5415617227554321, -0.10150487720966339, 0.32174941897392273, 0.9261614084243774, 0.6386704444885254, 0.5041948556900024, 0.18065638840198517, 0.030186720192432404, 0.8739484548568726, 0.013502130284905434, 0.8369169235229492, -0.25004443526268005, 0.08777791261672974, 1.2754136323928833, -0.5080495476722717, 0.7287603616714478, 0.48603060841560364, 0.1343163102865219, 0.6853564381599426, 0.5295253992080688, -0.39279383420944214, 0.7212849855422974, 0.22479890286922455, -0.3113180994987488, 0.13456742465496063, -0.42643052339553833, -0.264877051115036, -0.04324797913432121, 0.8266000151634216, -0.4255760908126831, -0.30589428544044495, 0.343903511762619, 0.123509980738163, 0.027433332055807114, -0.32164716720581055, 0.36997249722480774, -0.05116557329893112, -0.7983612418174744, 0.6833639740943909, -0.28407666087150574, 0.32837387919425964, -0.8169256448745728, -0.5848619937896729, -0.22584618628025055, -0.11261823773384094, -0.3707084655761719, -1.0121259689331055, -0.014592261053621769, 0.2847386598587036, -0.1500117927789688, -0.372737318277359, 0.699614942073822, -0.5992653369903564, -0.5608918070793152, -0.06640665978193283, 0.07912004739046097, 0.5220617651939392, 0.7538471817970276, -0.6201114058494568, 0.19318829476833344, 0.13119587302207947, -0.3225002586841583, 0.404629647731781, 0.09132456034421921, -0.09949294477701187, 0.8116903305053711, 0.5929689407348633, 0.32953423261642456, -0.022533562034368515, 0.3452061712741852, 0.8181232213973999, -0.33709654211997986, -0.11099031567573547, -0.3508261740207672, 0.3103358745574951, -0.16198162734508514, 0.009712199680507183, 0.7176353931427002, 0.2614300549030304, 0.6377105712890625, -0.040335338562726974, 0.8057394623756409, -0.1840432584285736, 0.45632678270339966, -0.5854707956314087, 0.7163136005401611, -0.2539324462413788, 0.26268014311790466, 0.07457463443279266, -0.49687036871910095, -0.23332831263542175, 0.8775045871734619, -0.2881324887275696, -0.0664610043168068, 0.9425178170204163, 0.9270069599151611, -0.13485386967658997, 0.34243589639663696, -0.045795999467372894, 0.3935053050518036, 0.2414083182811737, 0.2909207344055176, 0.6635989546775818, -0.1171768382191658, 0.413997083902359, -0.34239131212234497, -0.4636707901954651, -0.11017128080129623, -1.1106065511703491, -0.9740321040153503, -0.4007439911365509, -0.4421445429325104, -0.32575151324272156, 0.15021798014640808, 1.0204612016677856, 0.5676466226577759, -0.8827859163284302, -0.2662637233734131, -0.07789767533540726, 0.0076361424289643764, -0.2853350043296814, -0.20783239603042603, 0.5171806812286377, -0.437335342168808, -0.6702613830566406, 0.5824247002601624, -0.07818161696195602, 0.12423312664031982, -0.4072449505329132, -0.2434023916721344, -0.06259807199239731, -0.18871261179447174, 0.5053731203079224, 0.5459403991699219, -0.4418144226074219, -0.04137282073497772, 0.6040256023406982, -0.17630502581596375, -0.22334317862987518, 0.8087222576141357, -0.5763989686965942, 0.3989146649837494, 0.5499154925346375, 0.5713497996330261, 0.6104611754417419, -0.31090712547302246, 0.45803770422935486, -0.4399968981742859, -0.061088550835847855, 0.35608145594596863, 0.3723026514053345, 0.2513473629951477, -0.43558427691459656, 0.595771849155426, 0.010785846039652824, -0.6306806206703186, -1.0193952322006226, -0.1442972868680954, -0.8690415620803833, -0.2659091055393219, 1.0475311279296875, -0.3311830461025238, -0.33653882145881653, 0.09233984351158142, -0.14919154345989227, 0.17255836725234985, -0.535895586013794, 0.5530974268913269, 0.7712450623512268, -0.32300102710723877, -0.5587326288223267, -0.8395283818244934, 0.3741661608219147, 0.5228262543678284, -0.794244647026062, 0.16632623970508575, 0.6377003192901611, 0.5513070821762085, 0.1485569328069687, 0.4027755856513977, -0.14360411465168, 0.5934177041053772, -0.22584009170532227, 0.2043236941099167, -0.2820768356323242, -0.6885496973991394, -0.41079798340797424, 0.030640415847301483, 0.04491004720330238, 0.2693883180618286 ]
http://arxiv.org/abs/2406.06799v1
http://arxiv.org/pdf/2406.06799v1
LLM-dCache: Improving Tool-Augmented LLMs with GPT-Driven Localized Data Caching
2024-06-10T21:08:39
2024-06-10T21:08:39
Simranjit Singh, Michael Fore, Andreas Karatzas, Chaehong Lee, Yanan Jian, Longfei Shangguan, Fuxun Yu, Iraklis Anagnostopoulos, Dimitrios Stamoulis
cs.DC
cs.DC, cs.CL
As Large Language Models (LLMs) broaden their capabilities to manage thousands of API calls, they are confronted with complex data operations across vast datasets with significant overhead to the underlying system. In this work, we introduce LLM-dCache to optimize data accesses by treating cache operations as callable API functions exposed to the tool-augmented agent. We grant LLMs the autonomy to manage cache decisions via prompting, seamlessly integrating with existing function-calling mechanisms. Tested on an industry-scale massively parallel platform that spans hundreds of GPT endpoints and terabytes of imagery, our method improves Copilot times by an average of 1.24x across various LLMs and prompting techniques.
[ -0.20087657868862152, -0.7009518146514893, 0.7298799157142639, 0.22351020574569702, -0.4521617591381073, 0.45068010687828064, -0.29345759749412537, -0.5595895051956177, 0.24526634812355042, 0.38938623666763306, -0.791893482208252, -0.5986896753311157, -0.03540520742535591, -0.14930039644241333, -0.3052099645137787, 0.47450166940689087, -0.31147366762161255, 0.021076926961541176, -0.36231204867362976, 0.12540796399116516, -0.5897679924964905, -0.5364010334014893, -1.1356430053710938, -0.2584581673145294, 0.846072793006897, 0.30545419454574585, 0.8943260312080383, 0.6670323014259338, 0.25511056184768677, 0.2865792214870453, 0.24473033845424652, 0.49235203862190247, -0.3885171115398407, 0.2594558000564575, -0.17969097197055817, -0.768407940864563, -0.7772877812385559, -0.2984694838523865, 0.18364982306957245, 0.5474845170974731, -0.35075655579566956, -0.22240203619003296, -0.16075022518634796, 0.6380049586296082, -0.7043938040733337, 0.32366156578063965, -0.7837245464324951, -0.03817997872829437, -0.19376087188720703, -0.484417200088501, -0.34666094183921814, -0.17402134835720062, 0.3185734152793884, -0.8863437175750732, 0.34476643800735474, -0.32212379574775696, 0.4089179039001465, 0.5171765089035034, -0.14484772086143494, -0.39210763573646545, -0.5067338347434998, 0.849776566028595, -0.4802393317222595, 0.14141617715358734, 0.5308347940444946, 0.26767539978027344, -0.28469157218933105, -0.8905146718025208, -0.441449910402298, 0.01604461297392845, 0.2089245319366455, 0.22180569171905518, -0.010371293872594833, 0.014644182287156582, -0.04318542033433914, 0.18681687116622925, -0.36530280113220215, 0.37014439702033997, 0.13593076169490814, -0.2708996832370758, 0.4152730107307434, 0.3760177791118622, 0.1973477452993393, 0.34729182720184326, -0.2851640582084656, 0.010521036572754383, -0.9382524490356445, -0.12374621629714966, 0.39227381348609924, 0.544196605682373, -0.029753809794783592, 0.22480234503746033, -0.3410356938838959, 0.6216040849685669, 0.02221476472914219, -0.03814973682165146, 0.15004843473434448, -0.19373387098312378, -0.19609268009662628, 0.06631766259670258, 0.07491471618413925, 0.39702072739601135, 0.07504982501268387, -0.45793941617012024, -0.3097553253173828, -0.13129793107509613, 0.31900739669799805, -0.9860261082649231, -0.18278712034225464, 0.5242180228233337, 0.08380921185016632, -0.17424143850803375, 0.08375483751296997, -0.5932238101959229, -0.6757324934005737, -0.551021158695221, 0.18742835521697998, 0.02408190257847309, -0.33732813596725464, 0.3104957044124603, 0.1138482615351677, 0.2905113995075226, 0.7494648694992065, -0.6262084245681763, 0.4106826186180115, 0.7479410171508789, 1.1001273393630981, -0.4646081328392029, -0.13531486690044403, -0.8754162192344666, 0.41824308037757874, -0.4033987820148468, 0.9949561953544617, -0.5985648036003113, -0.709272563457489, 0.10182395577430725, 0.3205585777759552, -0.03772471100091934, -0.7176292538642883, 0.382881224155426, -0.877776026725769, -0.3666536509990692, -0.7919981479644775, -0.3511682450771332, -0.13347648084163666, 0.20895886421203613, -0.7811339497566223, 1.022973895072937, 0.06407807022333145, -0.3358690142631531, 0.49956706166267395, -0.4766814410686493, -0.49577829241752625, 0.222618967294693, -0.2733398973941803, -0.3339989483356476, -0.029138071462512016, 0.763087809085846, 0.39841875433921814, -0.3523900806903839, 0.14261572062969208, -0.24444659054279327, -0.49407950043678284, -0.08603664487600327, -0.388313889503479, 0.5639150142669678, 0.20198743045330048, -0.5164475440979004, 0.09558480232954025, -0.48908373713493347, -0.009130272082984447, 0.010178267024457455, -0.39087045192718506, -0.15269479155540466, 0.14443771541118622, -0.1253269612789154, -0.15585459768772125, 0.4398573935031891, -0.2249753624200821, 0.6133495569229126, -0.13764645159244537, 0.3790801465511322, 1.0816664695739746, -0.0663830041885376, 0.39138707518577576, -0.2621099352836609, 0.6339534521102905, 0.06375283747911453, 0.21253007650375366, -0.17584356665611267, -0.10795034468173981, -0.7101016640663147, -0.7122946977615356, 0.07634809613227844, 0.43181949853897095, -0.975227415561676, 0.2989828884601593, -0.2445618063211441, -0.49569615721702576, -0.45623400807380676, 0.30077216029167175, -0.10555068403482437, 0.42322251200675964, 0.17575539648532867, -0.5697018504142761, -0.11855963617563248, -0.4510139226913452, 0.3291877806186676, 0.03386477008461952, 0.04951166734099388, 0.7109280824661255, -0.001570919412188232, -0.5582626461982727, 0.8679693341255188, -0.4124060273170471, -0.05243608355522156, 0.20901179313659668, 0.0865895077586174, 0.2542351484298706, 0.12110219150781631, 0.5933116674423218, -0.6885403990745544, -0.4920312166213989, 0.028231773525476456, -0.43608951568603516, -0.48114505410194397, -0.24306067824363708, -0.208048015832901, 0.47608792781829834, 0.42423465847969055, -0.8746287226676941, 0.7404682040214539, 0.2611735165119171, 0.1737181395292282, 0.8842054009437561, -0.32773706316947937, 0.15090572834014893, -0.503094494342804, 0.06366200745105743, -0.7469055652618408, -0.2844580113887787, -0.32730525732040405, 0.04747141897678375, 0.09955309331417084, -0.0471087209880352, -0.5110600590705872, 0.6837479472160339, -0.7508265972137451, -0.48162755370140076, -0.6959495544433594, 0.1843479722738266, 0.005720790941268206, 0.2635376453399658, 0.032497718930244446, 1.2464330196380615, 1.080372929573059, -0.8436082601547241, 0.6327348351478577, -0.12486544996500015, 0.02139480784535408, 0.6140620112419128, -0.630843997001648, 0.5872657895088196, 0.19319060444831848, 0.47555306553840637, -0.9717942476272583, -0.04997267574071884, -0.12840315699577332, 0.06151553615927696, 0.28647565841674805, -0.4127005934715271, -1.1939817667007446, -0.37577855587005615, -0.4377595782279968, 0.4259597063064575, 0.09431833028793335, -1.143963098526001, 0.6324243545532227, 0.06800222396850586, -0.2205493003129959, -0.6622021794319153, -0.43306979537010193, 0.209013432264328, -0.036489926278591156, -0.49009546637535095, 0.33918502926826477, -0.3150302767753601, -0.019680840894579887, -0.13662269711494446, -0.4108600616455078, -0.05390311777591705, 0.008777543902397156, 0.24493321776390076, 0.24488823115825653, 0.06285159289836884, 0.305103063583374, 0.048032812774181366, -0.12383508682250977, -0.19117189943790436, -0.48619702458381653, 1.0326812267303467, 0.10567750781774521, -0.7035077214241028, -0.36016085743904114, 0.16287660598754883, 0.5935584902763367, -0.05537392944097519, 0.40098482370376587, 0.6381241679191589, -0.07876169681549072, -0.17986242473125458, -0.5869544148445129, -0.2784585654735565, -0.6366302967071533, 0.042331136763095856, -0.3468896746635437, -0.7270941734313965, 1.0240815877914429, -0.27859804034233093, -0.049631740897893906, -0.09300742298364639, 0.8080676198005676, 0.13093684613704681, 0.8861598372459412, 0.3009744882583618, -0.5513691902160645, 0.6338371634483337, -0.3686368465423584, -0.031451206654310226, -0.5711503028869629, 0.1457141637802124, -0.27680346369743347, -0.2951337695121765, -0.5694112777709961, -0.7540428638458252, 0.23361140489578247, -0.08252035826444626, -0.270175576210022, 0.1279187649488449, -0.550614058971405, 0.5277404189109802, 0.44155943393707275, 0.32381492853164673, 0.24559246003627777, 0.16328878700733185, -0.28972136974334717, 0.1814740151166916, -0.6692151427268982, -0.1976562887430191, 1.0013443231582642, -0.06581869721412659, 1.2006739377975464, -0.14278224110603333, 0.522943377494812, 0.17394918203353882, 0.13828149437904358, -0.8871922492980957, 0.6710637211799622, 0.04783695936203003, -0.4404197931289673, 0.11985894292593002, -0.2751496434211731, -1.1615992784500122, 0.006976158823817968, 0.5127621293067932, -0.7532671689987183, 0.34278544783592224, 0.06750724464654922, -0.137269526720047, 0.4312378168106079, -0.690184473991394, 0.11854957044124603, -0.48729127645492554, -0.7085692286491394, -0.34587353467941284, -0.46558403968811035, -0.15003708004951477, -0.02279624156653881, -0.0536026693880558, -0.0067963856272399426, -0.48594963550567627, 0.22074417769908905, -0.7563464641571045, 1.1525530815124512, -0.44837528467178345, -0.33021992444992065, 0.4603041112422943, 0.19330891966819763, 1.136059045791626, 0.0842670351266861, -0.15408065915107727, -0.04544730484485626, -0.08547662943601608, -0.5767995715141296, -0.6479747295379639, 1.1107420921325684, -0.7654502987861633, -0.5807763338088989, -0.28542062640190125, -0.8171828985214233, -0.13344837725162506, 0.2671683728694916, -0.1896156221628189, 0.5610581040382385, 0.2106778472661972, -0.1689607799053192, 0.4942052662372589, -0.35053184628486633, 0.5423222780227661, 0.8768406510353088, -0.24043554067611694, -0.22908790409564972, 0.8287402987480164, 0.21474802494049072, 0.29517433047294617, 0.2532307505607605, -0.1527893990278244, -0.32946911454200745, -0.5444809794425964, -0.14166651666164398, 0.25872594118118286, -0.8471640944480896, -0.3887477517127991, -0.5139749050140381, 0.08063852787017822, -0.149231418967247, -0.54549640417099, -0.49592530727386475, -0.26940616965293884, -0.5084686875343323, -0.290264755487442, 0.7718663215637207, 0.40535226464271545, -0.1493479311466217, 0.682805597782135, -0.34672829508781433, 0.12807226181030273, 0.32004621624946594, 0.46352604031562805, 0.23265326023101807, 0.01834479719400406, -0.3162824809551239, -0.04554712027311325, -0.2237069010734558, -0.48568955063819885, 0.30874907970428467, -0.12195569276809692, 0.6188549399375916, 0.3352605700492859, 0.06745840609073639, 1.098030924797058, -0.42476820945739746, 0.7881601452827454, -0.28543806076049805, -0.7180596590042114, 0.4666425585746765, -0.5141012668609619, 0.3404095768928528, 0.4839424788951874, 0.08148175477981567, -0.21568824350833893, -0.3451792597770691, -0.4461583197116852, -1.3130853176116943, 0.45998767018318176, -0.14106515049934387, 0.22269313037395477, -0.04442951828241348, 0.7283811569213867, 0.19687192142009735, 0.41768234968185425, -0.2786445915699005, -0.2080145627260208, 0.15597642958164215, 0.20522548258304596, 0.20381027460098267, 0.0475100502371788, -0.22925496101379395, -0.3455081284046173, 0.4073978364467621, -0.41339701414108276, 0.5677124857902527, 0.3959376811981201, -0.1673552542924881, -0.267917662858963, 0.05736085772514343, 0.5760222673416138, 0.9336630702018738, -0.18764005601406097, 0.2030302882194519, 0.14901085197925568, -0.6830323338508606, -0.03253305330872536, 0.2841387391090393, -0.05066252499818802, -0.15545035898685455, 0.08040782809257507, 0.3928111493587494, 0.10378444939851761, -0.7111339569091797, 0.13918742537498474, -0.16220404207706451, 0.19261594116687775, -0.24455001950263977, 0.15844286978244781, 0.17562584578990936, 0.27607595920562744, 0.5993296504020691, -0.28248897194862366, 0.08053266257047653, -0.3469966948032379, 0.36621811985969543, 0.42378926277160645, -0.20458553731441498, -0.366638720035553, 0.3545876145362854, 0.143826425075531, 0.06504575163125992, 0.5160309076309204, -0.06941158324480057, -0.464335560798645, 0.7372939586639404, 0.3896181881427765, 1.0225319862365723, -0.17699547111988068, 0.18272583186626434, 0.1090974435210228, 0.3161390423774719, 0.060438212007284164, 0.42676210403442383, -0.3032289147377014, -0.5784129500389099, -0.4176526367664337, -0.1428658366203308, -0.6674103140830994, 0.015367149375379086, -0.5899166464805603, 0.241283118724823, -0.5230076313018799, -0.14357832074165344, -0.3557731807231903, 0.5847161412239075, -0.9899994730949402, -0.060101401060819626, -0.2757262587547302, 1.031402349472046, -0.24678641557693481, 0.9436625838279724, 0.41239404678344727, -0.21554240584373474, -0.6036637425422668, 0.002291698008775711, 0.25782594084739685, -1.2685019969940186, 0.441626638174057, 0.280952513217926, -0.36353930830955505, 0.13768383860588074, -0.8036375045776367, -0.6280639171600342, 1.7327913045883179, 0.5400622487068176, -0.6881408095359802, 0.2909991145133972, 0.09169951826334, 0.48129886388778687, -0.4272018074989319, 0.21375691890716553, 0.5221381783485413, 0.6300808787345886, 0.2335650622844696, -0.8201621770858765, 0.06942421197891235, 0.1477680504322052, -0.12748613953590393, -0.0066603091545403, -0.6675869226455688, 0.5820847153663635, -0.32440629601478577, -0.2873859405517578, 0.25691962242126465, 0.24065130949020386, 0.337578147649765, 0.21510423719882965, 0.5642397403717041, 0.584621250629425, 1.0681825876235962, 0.05269116535782814, 1.4395544528961182, -0.1019577607512474, 0.05627806484699249, 1.3697482347488403, -0.5649283528327942, 0.7049568891525269, 0.5210825800895691, -0.13093268871307373, 0.21493275463581085, 1.0226645469665527, 0.09528589248657227, 0.8306723833084106, 0.1593303084373474, -0.7619827389717102, 0.009552125819027424, -0.3847145140171051, -0.1734478920698166, 0.002320103347301483, 0.41400226950645447, -0.011447323486208916, -0.3839278817176819, -0.12018957734107971, 0.16782423853874207, -0.2761773467063904, -0.3715559244155884, 0.7321628332138062, -0.05127030983567238, -0.40700003504753113, 0.47417882084846497, -0.41396355628967285, 0.5546314120292664, -0.41741979122161865, 0.1474185436964035, -0.38163089752197266, 0.1269020289182663, -0.15195229649543762, -0.6259102821350098, 0.011433045379817486, -0.07273269444704056, -0.11334013938903809, -0.04106501117348671, 0.7288776636123657, -0.3884892165660858, -0.22633247077465057, 0.7259208559989929, 0.49135810136795044, 0.12973010540008545, -0.2220304310321808, -0.8842360973358154, 0.41350188851356506, -0.32778143882751465, -0.24722197651863098, 0.21884001791477203, 0.37353724241256714, -0.009450859390199184, 0.8816724419593811, 0.8246504068374634, 0.296139121055603, 0.12316830456256866, 0.5750322341918945, 1.2965974807739258, -0.4004483222961426, -0.3842126429080963, -0.6716390252113342, 0.3664496839046478, 0.13868702948093414, 0.34413942694664, 0.4976757764816284, 0.6064010262489319, 0.7133397459983826, 0.06453729420900345, 0.7637119889259338, 0.01689283736050129, 0.24845680594444275, -0.5945443511009216, 0.47607657313346863, -0.4841395318508148, 0.5109906196594238, -0.10082788020372391, -0.7352930307388306, -0.22054645419120789, 0.22325819730758667, -0.6951128244400024, 0.1785435825586319, 0.4201190173625946, 1.3043214082717896, -0.16140958666801453, -0.35866913199424744, 0.20882493257522583, 0.0028132235165685415, 0.6815032362937927, 0.3048989474773407, 0.7372584342956543, -0.2225477397441864, 0.4000868797302246, -0.18449850380420685, -0.1123829260468483, -0.24007749557495117, -1.0186794996261597, -0.752985954284668, -0.3665992319583893, -0.26956310868263245, 0.14071142673492432, 0.02882949635386467, 0.5549625754356384, 0.932411253452301, -0.6061505079269409, -0.25260040163993835, -0.25801974534988403, 0.15732333064079285, -0.3488123118877411, -0.2910915017127991, 0.5116371512413025, -0.6168037056922913, -0.7441034913063049, 0.33971425890922546, 0.48153388500213623, 0.15208113193511963, -0.09089896827936172, -0.1541854292154312, -0.0012014282401651144, 0.07482811063528061, 0.44312599301338196, 0.23478274047374725, -0.6199194192886353, -0.2831648290157318, -0.041570939123630524, -0.020576486364006996, 0.27212756872177124, 1.0574182271957397, -0.5936518311500549, 0.9473515152931213, 0.11267925798892975, 0.8736988306045532, 0.8378425240516663, -0.02173435688018799, 0.6366015672683716, -1.0534108877182007, 0.4413522481918335, 0.04772074148058891, 0.3012436032295227, 0.436626136302948, -0.6507971286773682, 0.6863577365875244, 0.16647815704345703, -0.7132622003555298, -0.7316402196884155, 0.11219509690999985, -1.4137887954711914, -0.13645821809768677, 0.9055963754653931, -0.3025703430175781, -0.13241039216518402, -0.17829446494579315, -0.4649949371814728, 0.043684374541044235, -0.5383769273757935, 0.6473949551582336, 0.5490028858184814, -0.1544395238161087, -0.3440428078174591, -0.8525471687316895, 0.43612056970596313, 0.16241668164730072, -1.0631216764450073, 0.41541343927383423, 0.47658663988113403, 0.252536416053772, -0.08963674306869507, 0.7859377264976501, -0.3189762830734253, 0.33812859654426575, -0.2783412039279938, -0.03294726461172104, -0.005931843537837267, -0.2795824110507965, -0.19757887721061707, -0.40254271030426025, 0.10432329028844833, -0.07249659299850464 ]
http://arxiv.org/abs/2406.06773v1
http://arxiv.org/pdf/2406.06773v1
Evaluating Zero-Shot Long-Context LLM Compression
2024-06-10T20:19:55
2024-06-10T20:19:55
Chenyu Wang, Yihan Wang
cs.CL
cs.CL, cs.AI
This study evaluates the effectiveness of zero-shot compression techniques on large language models (LLMs) under long-context. We identify the tendency for computational errors to increase under long-context when employing certain compression methods. We propose a hypothesis to explain the varied behavior of different LLM compression techniques and explore remedies to mitigate the performance decline observed in some techniques under long-context. This is a course report for COS 598D Machine Learning and Systems by Prof. Kai Li at Princeton University. Due to limited computational resources, our experiments were conducted only on LLaMA-2-7B-32K.
[ -0.2080765962600708, -1.075552225112915, 0.6581354141235352, 0.3202039301395416, -0.3655458688735962, -0.022734735161066055, -0.4843391478061676, -0.7074246406555176, 0.24045154452323914, 0.4808407723903656, -0.4193922281265259, -0.4251282811164856, -0.5648555755615234, 0.291476309299469, -0.5099666118621826, 0.748245120048523, -0.12310991436243057, 0.02110421657562256, -0.342599093914032, -0.022354349493980408, -0.7874945402145386, -0.714966356754303, -0.7427788376808167, -0.2725474536418915, 0.5163631439208984, 0.5129583477973938, 0.37709638476371765, 0.3468017280101776, 0.43970006704330444, 0.18381308019161224, -0.1325075775384903, -0.31001994013786316, -0.7114127278327942, 0.34649357199668884, 0.1125306636095047, -0.45375847816467285, -0.4379310607910156, -0.347105473279953, 0.7909799218177795, 0.47815749049186707, -0.17276841402053833, 0.3685016632080078, 0.008931816555559635, 0.4289240837097168, -0.9687607288360596, -0.049453698098659515, -0.4614503085613251, 0.14061424136161804, -0.34727245569229126, -0.48646414279937744, -0.6347571611404419, 0.08577528595924377, -0.11907200515270233, -0.18488064408302307, 0.10818199068307877, -0.1528339982032776, 0.48626068234443665, 0.6045060753822327, -0.38613587617874146, -0.14826783537864685, -0.8213615417480469, 1.046231746673584, -0.7674816846847534, 0.09428045153617859, 0.23821868002414703, 0.231378436088562, -0.3570863902568817, -0.19500583410263062, -0.5503679513931274, -0.06350209563970566, 0.2874169647693634, 0.02735731191933155, -0.19323422014713287, 0.2560328245162964, 0.5935819745063782, 0.3590412139892578, -0.5345842242240906, 0.5874359607696533, -0.4635864496231079, -0.14016439020633698, 0.7201440930366516, 0.15463225543498993, 0.2102368026971817, -0.1786288321018219, -0.3489988446235657, -0.05868811532855034, -1.0762053728103638, -0.010208634659647942, 0.3563936650753021, 0.1754462867975235, -0.18477898836135864, 0.6520885825157166, -0.41108644008636475, 0.9914268851280212, -0.3109678328037262, -0.3412446975708008, 0.15286558866500854, -0.130828395485878, -0.6739033460617065, 0.3651960492134094, 0.5341203212738037, 0.4497748911380768, 0.13853855431079865, -0.10761655122041702, -0.19552960991859436, -0.002761778188869357, 0.11703964322805405, -1.0274797677993774, 0.29809537529945374, 0.34140101075172424, -0.13761593401432037, -0.3539695739746094, -0.1856391280889511, -0.5932683944702148, -0.14616964757442474, -0.25574323534965515, 0.47829216718673706, -0.183199942111969, 0.05366507172584534, 0.46525973081588745, -0.30751416087150574, 0.32337072491645813, 0.24738869071006775, -0.5876325964927673, 0.14062221348285675, 0.5887624621391296, 0.9043627381324768, -0.2108110785484314, -0.17401082813739777, -0.3562283515930176, 0.11446203291416168, -0.2991454601287842, 0.8845614790916443, -0.21772615611553192, -0.5726354122161865, 0.19164857268333435, -0.038195375353097916, 0.07258213311433792, -0.5067692399024963, 0.8662207722663879, -0.3790435791015625, -0.08194585144519806, -0.07566633820533752, -0.6653005480766296, -0.18314780294895172, 0.2389180064201355, -0.6151689291000366, 1.0182737112045288, 0.20262514054775238, -0.4730237126350403, 0.1540018767118454, -0.7365405559539795, -0.4851859211921692, 0.035925306379795074, -0.16209955513477325, -0.3802953064441681, 0.46510034799575806, -0.0065820347517728806, 0.7638372182846069, -0.4066007733345032, 0.046567678451538086, -0.4560502767562866, -0.9278231859207153, 0.2430669367313385, -0.49875667691230774, 0.8566398620605469, 0.03219035267829895, -0.23905374109745026, -0.20242951810359955, -0.6883594989776611, -0.0430244505405426, 0.37997913360595703, -0.5002808570861816, -0.20763413608074188, -0.11988964676856995, -0.24971190094947815, 0.04077084735035896, 0.15458379685878754, -0.6919612288475037, 0.4887099266052246, -0.2913334369659424, 0.31466832756996155, 0.5641560554504395, 0.037816423922777176, 0.19463865458965302, -0.2457813322544098, 0.6026296615600586, -0.17100229859352112, -0.1124279797077179, -0.2533394694328308, -0.22891125082969666, -1.046632170677185, -0.11674245446920395, 0.10243865847587585, 0.5540643334388733, -0.7257357835769653, 0.3320449888706207, -0.4039415121078491, -0.2806747257709503, -0.13133785128593445, 0.16945277154445648, 0.31965377926826477, 0.5578785538673401, 0.3504333794116974, -0.32688108086586, -0.592512845993042, -0.8220381140708923, -0.06784388422966003, 0.10547104477882385, -0.2469026893377304, 0.46600061655044556, 0.3957172632217407, -0.30047735571861267, 0.8570107221603394, -0.5067184567451477, 0.15771736204624176, -0.11808326840400696, 0.34210580587387085, 0.32943859696388245, 0.25668081641197205, 0.7442609667778015, -0.11246928572654724, -0.2710755467414856, -0.4841943681240082, -0.6823652386665344, -0.38696175813674927, -0.05077401548624039, 0.22578687965869904, 0.7363874912261963, 0.41561681032180786, -0.653297483921051, 0.7078585028648376, 0.8308067321777344, -0.17716175317764282, 0.8604243397712708, -0.09447824209928513, 0.15394654870033264, -0.8677891492843628, -0.056411344558000565, -0.00932698417454958, -0.19617986679077148, -0.6683085560798645, 0.0710105448961258, -0.05655241385102272, -0.08970421552658081, -0.7359563112258911, 0.37911441922187805, -0.4039451479911804, -0.3477270305156708, -0.5171481370925903, -0.06196913123130798, -0.08317478001117706, 0.33045920729637146, 0.06318532675504684, 0.9302493333816528, 0.5240786075592041, -0.659834086894989, 0.29413536190986633, -0.3067815601825714, -0.42850571870803833, 0.5673338770866394, -0.8578247427940369, 0.5002046823501587, -0.30686503648757935, 0.5652313232421875, -0.8237608671188354, -0.42284995317459106, 0.11052625626325607, -0.22738049924373627, 0.5844448804855347, 0.03257380798459053, -0.5521607398986816, -0.385871022939682, -0.6988431215286255, 0.6963094472885132, 0.3926711678504944, -0.4550727605819702, -0.0474541150033474, -0.024770379066467285, 0.06743691861629486, -0.8060439825057983, -0.9036151766777039, 0.3737078011035919, -0.3756197690963745, -0.6304033994674683, 0.35391759872436523, -0.48762983083724976, -0.08927033841609955, -0.3665371835231781, -0.019878769293427467, 0.12399608641862869, 0.3045700490474701, 0.3359557092189789, 0.21981139481067657, -0.264247864484787, 0.12256263941526413, 0.10288473218679428, 0.09285193681716919, -0.012279190123081207, -0.08401457965373993, 0.7007020115852356, -0.035756610333919525, -0.3344467878341675, -0.3923937976360321, 0.2576066553592682, 0.4761822521686554, 0.5380174517631531, 0.7198399901390076, 0.27226465940475464, -0.16514982283115387, -0.15219512581825256, -0.6050704717636108, 0.07524293661117554, -0.43230772018432617, 0.305408775806427, -0.21896623075008392, -1.1757515668869019, 0.3856431841850281, -0.17131109535694122, -0.31015461683273315, 0.45271503925323486, 0.5883105993270874, -0.11886385083198547, 0.49031582474708557, 0.894545316696167, -0.26191237568855286, 0.4049050509929657, -0.31704992055892944, 0.23325060307979584, -0.8689190149307251, 0.07803912460803986, -0.6224307417869568, -0.3589116930961609, -0.4040094017982483, -0.7032695412635803, 0.17521972954273224, 0.5703821182250977, -0.42834118008613586, 0.42680731415748596, -0.46498778462409973, 0.760464072227478, 0.16049334406852722, -0.10747887194156647, 0.048932358622550964, 0.20410671830177307, 0.19568310678005219, 0.42272046208381653, -0.7591372132301331, -0.26684534549713135, 1.0767096281051636, 0.5111569166183472, 0.6684846878051758, 0.2494105100631714, 0.7201570868492126, 0.2879456579685211, 0.17002902925014496, -1.18846595287323, 0.5316296815872192, 0.06566508859395981, -0.4055629372596741, -0.43077215552330017, -0.2286527454853058, -1.0177348852157593, -0.19969943165779114, -0.014623463153839111, -0.8962886929512024, -0.026686273515224457, -0.1090378537774086, -0.4299162030220032, 0.234029620885849, -0.4827164113521576, 0.41542118787765503, -0.2407945841550827, -0.1210351437330246, -0.196376234292984, -0.5644682049751282, 0.47827714681625366, -0.2692979872226715, -0.04180651530623436, -0.08749642223119736, -0.15251538157463074, 0.7678260207176208, -0.10552263259887695, 0.8817731142044067, 0.01933462731540203, -0.2989107668399811, 0.34920966625213623, 0.18942299485206604, 0.29998043179512024, -0.11538615077733994, -0.3288635313510895, 0.7664456963539124, 0.022152872756123543, -0.6398297548294067, -0.6165214776992798, 0.6516067385673523, -0.6830154061317444, -0.5579184293746948, -0.43295028805732727, -0.5951581597328186, 0.07557155191898346, -0.017686055973172188, 0.27595216035842896, 0.2658138871192932, -0.0842674970626831, 0.5203976035118103, 0.3997901678085327, -0.47278738021850586, 0.913170337677002, 0.602191150188446, -0.06888147443532944, -0.3137272596359253, 0.42194491624832153, 0.28045856952667236, 0.29700952768325806, 0.1328665018081665, 0.16245819628238678, 0.02981770783662796, -0.6764565706253052, -0.5721186995506287, 0.12946343421936035, -0.6756803393363953, -0.5925664901733398, 0.054659198969602585, -0.3080027401447296, -0.45526522397994995, -0.21254587173461914, -0.1404372751712799, -0.5099356174468994, -0.2783258259296417, 0.0007091580773703754, 0.22333389520645142, 0.7513987421989441, 0.12877078354358673, 0.5797650218009949, -0.7318513989448547, -0.05503705516457558, -0.10470862686634064, 0.3848104178905487, -0.00439823605120182, -0.7069512605667114, -0.3359588384628296, -0.03790517523884773, -0.31697824597358704, -0.8805774450302124, 0.24313969910144806, 0.2469387948513031, 0.24987123906612396, 0.4746495485305786, 0.026374563574790955, 0.8090744018554688, -0.4543510377407074, 1.2279654741287231, 0.28266268968582153, -0.8685409426689148, 0.49804922938346863, -0.307447612285614, 0.5512068867683411, 0.18160010874271393, 0.5054810047149658, -0.5158289074897766, -0.03176456317305565, -0.449398934841156, -0.7000176310539246, 0.3974885642528534, 0.027928028255701065, 0.2736397087574005, -0.1467597782611847, 0.8323601484298706, -0.025234591215848923, 0.03825557976961136, -0.6451124548912048, -0.296783983707428, 0.12313343584537506, -0.02484525367617607, -0.2830084264278412, -0.8647693395614624, -0.030475733801722527, -0.2087930291891098, 0.45237138867378235, -0.3334469795227051, 0.4177522659301758, 0.4024101495742798, -0.1630810797214508, -0.2648317515850067, 0.43852683901786804, 1.2175904512405396, 0.5882299542427063, -0.33777153491973877, 0.13629816472530365, 0.48000648617744446, -0.22438602149486542, 0.10976888239383698, -0.27656033635139465, -0.2198827862739563, -0.11433503031730652, 0.46384209394454956, 0.7449368238449097, 0.24542993307113647, -0.7098497748374939, 0.4759432077407837, -0.040123261511325836, -0.05852798745036125, -0.40443259477615356, 0.022406727075576782, -0.04847235605120659, 0.08288760483264923, 0.34625890851020813, -0.3121435046195984, 0.11629455536603928, -0.6435818076133728, -0.13892854750156403, 0.5575481057167053, -0.11258259415626526, -0.26046285033226013, 0.04417278990149498, 0.05802411213517189, -0.4555211067199707, 0.5166486501693726, -0.02168944478034973, -0.40659818053245544, 0.4910002648830414, 0.8588569164276123, 0.8205649852752686, -0.20595809817314148, -0.21395087242126465, 0.27686917781829834, -0.0002684704668354243, -0.03810005635023117, 0.06522976607084274, -0.337621808052063, -0.605623185634613, -1.0658981800079346, -0.7900798320770264, -0.45247572660446167, 0.41613489389419556, -0.4241454005241394, 0.5679298043251038, -0.2773609161376953, -0.14614027738571167, -0.22828945517539978, 0.22762875258922577, -0.5109686255455017, 0.04518633708357811, 0.3465980589389801, 1.0344816446304321, -0.6179744601249695, 1.0043801069259644, 0.2795455753803253, -0.18370677530765533, -0.6618441343307495, -0.09283477067947388, 0.020056290552020073, -0.7383700013160706, 0.8543644547462463, 0.24578700959682465, -0.421573668718338, -0.4021106958389282, -0.7980857491493225, -0.9428841471672058, 1.2761791944503784, 0.6638577580451965, -0.7547808289527893, 0.2729867994785309, 0.4895876348018646, 0.5450688600540161, -0.14834490418434143, 0.19625209271907806, 0.5276574492454529, 0.17615017294883728, 0.21462911367416382, -1.1407201290130615, 0.0032141569536179304, 0.11525289714336395, -0.10027877241373062, 0.195314422249794, -0.6537808775901794, 0.7151581645011902, 0.03909488767385483, -0.2706857919692993, 0.2632905840873718, 0.5418757796287537, 0.23902739584445953, 0.49634552001953125, 0.31282758712768555, 0.8669544458389282, 0.614450991153717, 0.24176332354545593, 1.1353851556777954, -0.5717921257019043, 0.6021392941474915, 0.9625013470649719, -0.2735144793987274, 1.1006969213485718, 0.5325920581817627, -0.11381275206804276, 0.5994917750358582, 0.507707417011261, 0.1348038613796234, 0.10039038956165314, 0.5346071720123291, -0.5003564357757568, 0.051655177026987076, -0.24835456907749176, -0.29673612117767334, 0.5327593684196472, 0.270038902759552, -0.036524977535009384, -0.11454872041940689, -0.1946912258863449, 0.15452562272548676, -0.44387391209602356, -0.24025078117847443, 0.39074742794036865, 0.27590739727020264, -0.5759978890419006, 0.9490174055099487, 0.11398245394229889, 1.0419652462005615, -0.2265624850988388, 0.03782554715871811, -0.1157880425453186, -0.08928088843822479, -0.27054545283317566, -0.7999064922332764, 0.5176284313201904, 0.094850555062294, -0.1267165094614029, -0.12865686416625977, 1.0710927248001099, -0.16916540265083313, -0.3958613872528076, 0.33888670802116394, 0.15174810588359833, 0.5580573678016663, -0.04540802910923958, -0.4157533645629883, 0.4833016097545624, -0.24175849556922913, -0.2790360152721405, 0.4235794246196747, 0.10501743108034134, 0.06326261162757874, 0.5496551990509033, 0.5688960552215576, 0.15588560700416565, -0.10913736373186111, -0.021835170686244965, 0.7029022574424744, -0.7584719061851501, 0.04019058868288994, -1.084215521812439, 0.15797293186187744, -0.08459648489952087, 0.02661489136517048, 0.8975147008895874, 0.5685126185417175, 0.8877019286155701, 0.006550580263137817, 0.46294161677360535, 0.08864688873291016, 0.21436437964439392, -0.5875969529151917, 0.5240883827209473, -0.4951343238353729, 0.3077022433280945, -0.08932377398014069, -0.8945030570030212, -0.6612265706062317, 0.35044288635253906, -0.18370717763900757, -0.21396172046661377, 0.5895977020263672, 0.6713609099388123, 0.1326974630355835, -0.2583528757095337, 0.5367795825004578, 0.16944178938865662, 0.3039337396621704, 0.6850011348724365, 0.8143100142478943, -0.4644049108028412, 0.2854697108268738, -0.357871949672699, -0.047038186341524124, -0.44165241718292236, -1.332684874534607, -0.7553067803382874, -0.11623065918684006, -0.2679365277290344, -0.33192944526672363, 0.04545380920171738, 0.6843592524528503, 0.7226939797401428, -0.44324925541877747, -0.37524932622909546, 0.09333045035600662, 0.023667480796575546, 0.23463459312915802, -0.23176917433738708, 0.32449841499328613, -0.257181316614151, -0.6056027412414551, 0.7091727256774902, 0.5247303247451782, 0.18333953619003296, -0.3782791793346405, -0.23659257590770721, 0.10360235720872879, 0.34072476625442505, 1.0547950267791748, 0.37855151295661926, -0.6704736351966858, -0.5815020203590393, -0.016201315447688103, 0.13541780412197113, 0.20000751316547394, 0.8780797123908997, -0.8428075909614563, 0.1955554485321045, 0.6191830039024353, 0.5133094787597656, 0.5255778431892395, -0.023852059617638588, 0.3389294445514679, -1.042870044708252, 0.43177804350852966, 0.14273445308208466, 0.42241114377975464, 0.19859790802001953, -0.5161528587341309, 0.5344539880752563, 0.1933414340019226, -0.9199666976928711, -0.9769861102104187, 0.12961453199386597, -1.287217617034912, -0.47559818625450134, 1.4015412330627441, -0.1375834345817566, -0.4790682792663574, 0.2811330258846283, -0.15314510464668274, 0.3380873501300812, -0.21145625412464142, 0.8138995170593262, 0.8747914433479309, -0.46684178709983826, -0.16327965259552002, -0.832465410232544, 0.3000819981098175, 0.3987058401107788, -0.6182364225387573, -0.19445158541202545, 0.5393258333206177, 0.418114572763443, 0.22340723872184753, 0.39466094970703125, 0.20316831767559052, 0.14565622806549072, -0.24369853734970093, 0.05256272852420807, 0.025878669694066048, -0.3194705843925476, -0.9262893199920654, 0.09633074700832367, 0.11650078743696213, 0.08536195755004883 ]
http://arxiv.org/abs/2406.06769v1
http://arxiv.org/pdf/2406.06769v1
DISCOVERYWORLD: A Virtual Environment for Developing and Evaluating Automated Scientific Discovery Agents
2024-06-10T20:08:44
2024-06-10T20:08:44
Peter Jansen, Marc-Alexandre Côté, Tushar Khot, Erin Bransom, Bhavana Dalvi Mishra, Bodhisattwa Prasad Majumder, Oyvind Tafjord, Peter Clark
cs.AI
cs.AI, cs.CL
Automated scientific discovery promises to accelerate progress across scientific domains. However, developing and evaluating an AI agent's capacity for end-to-end scientific reasoning is challenging as running real-world experiments is often prohibitively expensive or infeasible. In this work we introduce DISCOVERYWORLD, the first virtual environment for developing and benchmarking an agent's ability to perform complete cycles of novel scientific discovery. DISCOVERYWORLD contains a variety of different challenges, covering topics as diverse as radioisotope dating, rocket science, and proteomics, to encourage development of general discovery skills rather than task-specific solutions. DISCOVERYWORLD itself is an inexpensive, simulated, text-based environment (with optional 2D visual overlay). It includes 120 different challenge tasks, spanning eight topics each with three levels of difficulty and several parametric variations. Each task requires an agent to form hypotheses, design and run experiments, analyze results, and act on conclusions. DISCOVERYWORLD further provides three automatic metrics for evaluating performance, based on (a) task completion, (b) task-relevant actions taken, and (c) the discovered explanatory knowledge. We find that strong baseline agents, that perform well in prior published environments, struggle on most DISCOVERYWORLD tasks, suggesting that DISCOVERYWORLD captures some of the novel challenges of discovery, and thus that DISCOVERYWORLD may help accelerate near-term development and assessment of scientific discovery competency in agents. Code available at: www.github.com/allenai/discoveryworld
[ -0.463021844625473, -0.44811663031578064, 0.7820776700973511, 0.29900994896888733, 0.09371158480644226, 0.3793109953403473, -0.09031045436859131, -0.5979047417640686, -0.009329522959887981, -0.015433491207659245, -0.7343088984489441, -0.40722784399986267, -0.2847558856010437, 0.5644222497940063, -0.023641739040613174, 0.7820538282394409, -0.17727692425251007, -0.3440245985984802, -1.0598912239074707, -0.04715804383158684, -0.26449763774871826, -0.10759341716766357, -0.35364335775375366, -0.36930176615715027, 0.328546404838562, 0.37315431237220764, 0.5557164549827576, 0.6289118528366089, 0.7732111215591431, 0.38354408740997314, -0.052541933953762054, 0.5155858993530273, -0.457527220249176, 0.36548328399658203, -0.46155354380607605, -0.2523347735404968, -0.29255372285842896, 0.24316580593585968, 0.06614349782466888, 0.6086565256118774, 0.19276341795921326, 0.29488903284072876, -0.5254796147346497, 0.4703448712825775, -0.5157979130744934, 0.5498483180999756, 0.024495288729667664, 0.41993382573127747, 0.1119539737701416, -0.2866358160972595, -0.11830949038267136, -0.19121919572353363, 0.6410647034645081, -1.447946548461914, 0.4405287802219391, 0.282604843378067, 0.6599767804145813, 0.3370245099067688, -0.4269053041934967, -0.2697518765926361, -0.8391478657722473, 0.6280725598335266, -0.010808407329022884, 0.149809330701828, -0.09250018745660782, 0.6818605661392212, -0.16917791962623596, -0.8171759843826294, -0.6616175770759583, -0.8213160037994385, 0.3075805604457855, 0.2065412551164627, -0.044705137610435486, -0.2365669459104538, 0.3767041862010956, 0.25629550218582153, -0.8429825305938721, -0.1998109221458435, -0.20800475776195526, -0.21413452923297882, 0.6241411566734314, 0.29422783851623535, 0.11432520300149918, 0.1829099953174591, -0.15548919141292572, -0.6060211062431335, -0.2503678500652313, 0.23399442434310913, 0.10750099271535873, 0.28125208616256714, 0.17892739176750183, 0.6203720569610596, -0.661119818687439, 0.12318475544452667, -0.26291683316230774, -0.053434666246175766, 0.6001961827278137, -0.5404689908027649, 0.06152229383587837, -0.13536177575588226, 0.1936817765235901, 0.31850332021713257, -0.03299234062433243, -0.23171062767505646, -0.09775994718074799, 0.2813352048397064, 0.3467988967895508, -0.8484926819801331, -0.3182198703289032, 0.35618478059768677, -0.1460108757019043, -0.36714500188827515, 0.0668967068195343, -0.3678898811340332, -0.6778845191001892, -0.1103532612323761, 0.7891976833343506, -0.2322096824645996, -0.24046878516674042, 0.03050881251692772, -0.8685359954833984, 0.0031988678965717554, 0.6828863620758057, 0.10583610087633133, 0.4357863962650299, 0.5883495211601257, 0.9878541827201843, -0.31517288088798523, -0.4132760465145111, -0.4880799651145935, 0.058259639889001846, -0.20014002919197083, 1.150700569152832, -0.4556763172149658, -0.44253262877464294, -0.3433162569999695, 0.08768664300441742, 0.3610893785953522, -0.780196487903595, 0.42596501111984253, -0.45594850182533264, -0.09078402817249298, -0.5155529379844666, -0.39593157172203064, -0.0022005534265190363, 0.5534141659736633, -0.5827516913414001, 0.8779610395431519, 0.25476008653640747, -0.563170850276947, 0.6012134552001953, -0.9067552089691162, -0.17893487215042114, 0.4648266136646271, -0.06852416694164276, -0.2069225311279297, -0.00969176646322012, -0.0784435123205185, -0.22034390270709991, -0.1575852781534195, -0.10445775836706161, -0.19998833537101746, -0.5325659513473511, 0.03809245675802231, 0.14563019573688507, 0.299749493598938, 0.17969071865081787, -0.5802359580993652, 0.21673424541950226, -0.8378007411956787, 0.2667253911495209, 0.38005509972572327, 0.05454397201538086, -0.4352104663848877, -0.0002579446299932897, -0.15604770183563232, 0.16409893333911896, 0.3294391930103302, -0.8169544339179993, 0.46913933753967285, -0.06673108786344528, 0.20051448047161102, 0.5951281189918518, 0.07457944750785828, 0.005059195216745138, -0.6465708613395691, 0.49612703919410706, -0.0019396175630390644, 0.328933447599411, -0.2691275179386139, -0.4783796966075897, -0.4580555260181427, -0.16354432702064514, 0.13308337330818176, 0.6579274535179138, -0.418116956949234, 0.18743246793746948, -0.32644230127334595, -0.7560558319091797, -0.37709590792655945, -0.07766319811344147, 0.2903953790664673, 0.36654409766197205, 0.49325430393218994, -0.3931832015514374, -0.6008052229881287, -0.7423466444015503, 0.07414165884256363, -0.10198428481817245, -0.06285317242145538, 0.7146080136299133, 0.8084133863449097, -0.5503917336463928, 0.9502901434898376, -0.2849046289920807, -0.2721932828426361, 0.10939167439937592, 0.06664781272411346, 0.18067672848701477, 0.2987822890281677, 0.04012449458241463, -0.8143349885940552, -0.30911847949028015, 0.5304350852966309, -1.1877548694610596, -0.13276198506355286, -0.027875840663909912, -0.08705396950244904, -0.3681533634662628, 0.36931827664375305, -0.7771642208099365, 0.2804248631000519, -0.039596207439899445, -0.5566579699516296, 0.6744697093963623, -0.5269625186920166, 0.10028418898582458, 0.002536335028707981, 0.4427260756492615, -0.10423802584409714, -0.24535958468914032, -0.369547963142395, 0.3606608510017395, -0.18834349513053894, -0.21306979656219482, -0.26100578904151917, 0.6015334725379944, -0.4541130065917969, -0.24567429721355438, -0.4088970124721527, 0.25300490856170654, 0.13998909294605255, -0.04694017395377159, 0.015560674481093884, 0.7269358038902283, 0.5238807797431946, -0.62786465883255, 0.5303294658660889, 0.4373488128185272, -0.18594706058502197, 0.3929785192012787, -0.8578963875770569, 0.43891778588294983, -0.35418403148651123, 0.43062713742256165, -0.42074838280677795, -0.057622697204351425, -0.10616856813430786, -0.357876718044281, -0.2597903609275818, 0.30728402733802795, -0.3051683008670807, -0.4893077313899994, -0.3705165684223175, 0.21690146625041962, 0.37099596858024597, -0.38294556736946106, 0.47421953082084656, -0.03078029491007328, 0.06938283145427704, -0.5628710389137268, -0.05094340443611145, 0.2810195982456207, 0.04959791526198387, -0.6945897340774536, 0.6559281349182129, -0.36335477232933044, -0.6565718054771423, 0.321891725063324, -0.5481522083282471, 0.447360098361969, 0.2126631736755371, 0.5903435945510864, -0.12558279931545258, -0.027831068262457848, -0.16493885219097137, -0.09043414145708084, -0.33247804641723633, 0.2091260850429535, -0.6020941138267517, 0.1861235350370407, -0.33462098240852356, -0.03143755719065666, -0.1534360647201538, 0.2995554506778717, 0.4941001236438751, -0.09911925345659256, 0.3809451460838318, 0.36725738644599915, -0.4651236832141876, -0.5024740695953369, -0.2324293702840805, 0.07568803429603577, -0.4600578248500824, 0.4016769826412201, -0.5299512147903442, -0.5196922421455383, 0.47832024097442627, -0.5384239554405212, 0.17822685837745667, 0.5129885077476501, 0.3085733950138092, -0.025981977581977844, 1.060172438621521, 0.7407140731811523, 0.5103979706764221, -0.15606757998466492, -0.4575348496437073, 0.04021431878209114, -0.40292122960090637, -0.7085853815078735, -0.36580079793930054, -0.13522708415985107, -0.3841455578804016, -0.7369308471679688, 0.7870242595672607, -0.12812721729278564, -0.48361626267433167, 0.21141928434371948, -0.5874983072280884, 0.578000009059906, 0.8319470286369324, 0.005156229250133038, 0.4720126986503601, -0.22847150266170502, -0.24277423322200775, 0.03919122368097305, -0.3238988220691681, -0.6572206616401672, 0.9388877749443054, 0.11907975375652313, 0.3144998550415039, -0.061087436974048615, 0.6428160667419434, 0.8805027008056641, 0.26488566398620605, -0.4921641945838928, 0.49035441875457764, 0.3372914493083954, -0.4318988025188446, -0.3007637560367584, -0.3774168789386749, -0.8266973495483398, 0.27368906140327454, -0.17973628640174866, -0.13458101451396942, 0.06872127950191498, -0.10279655456542969, -0.34514930844306946, -0.23631919920444489, -0.5499757528305054, 0.961947500705719, -0.24132490158081055, -0.3706603944301605, -0.4121389091014862, -0.6441164612770081, -0.161509171128273, 0.047584839165210724, 0.19516542553901672, -0.10473168641328812, -0.11458636820316315, 0.4029621183872223, -0.44956767559051514, 0.35236093401908875, -0.4710754454135895, 0.37927401065826416, 0.36619001626968384, 0.28909406065940857, 0.6957426071166992, 0.3812662363052368, 0.05043932795524597, -0.22049583494663239, 0.32494041323661804, -0.4780905544757843, -0.5951197147369385, 0.7434906959533691, -0.9423917531967163, -0.5923907160758972, -0.8483800888061523, -0.6215912699699402, -0.22430725395679474, 0.29469549655914307, 0.0042352015152573586, -0.08247454464435577, -0.5570086240768433, -0.10322130471467972, 0.6675472855567932, -0.3166998326778412, -0.08502940833568573, 0.80799800157547, -0.13158585131168365, -0.10874916613101959, 1.1357470750808716, -0.1677122265100479, -0.11146074533462524, 0.2803418040275574, 0.19777844846248627, -0.20820249617099762, -0.8017099499702454, -0.2988255023956299, -0.12659722566604614, -0.5538395047187805, -0.13000690937042236, -0.8765716552734375, 0.04034774750471115, -0.27342551946640015, -0.024612080305814743, -0.3396989703178406, -0.3172914683818817, 0.057061854749917984, -0.1483016461133957, 0.012380518019199371, 0.7661126255989075, -0.3205220401287079, -0.23290017247200012, -0.3640500009059906, 0.3800760805606842, 0.3402954936027527, -0.01678204908967018, -0.3131367564201355, -0.07957281172275543, -0.29992300271987915, -0.20145003497600555, -0.4922385513782501, -0.3582301735877991, 0.3779439628124237, 0.27780821919441223, 0.7015729546546936, 0.22573965787887573, 0.2498590648174286, 0.5447073578834534, -0.2805350720882416, 0.7274117469787598, -0.43680092692375183, -0.7839520573616028, 0.6875962615013123, -0.07666774094104767, 0.11726265400648117, 0.5222881436347961, 0.3590047061443329, -0.2603306174278259, -0.3080955147743225, -0.6745970249176025, -0.6631783246994019, 0.28646063804626465, 0.33393198251724243, -0.2165769636631012, 0.046904753893613815, 0.3756369352340698, 0.44956541061401367, 0.3667151927947998, -0.44700005650520325, -0.23723776638507843, -0.37445855140686035, 0.22139552235603333, -0.04764747619628906, 0.2966724932193756, -0.3882950246334076, -0.21486498415470123, 0.573478102684021, -0.3212739825248718, 0.2800019681453705, 0.673740565776825, -0.25998783111572266, -0.19995810091495514, -0.18428489565849304, 0.47521793842315674, 0.7318364977836609, -0.5264155864715576, 0.09605304151773453, -0.02779543213546276, -0.4746946096420288, 0.191539466381073, 0.46755746006965637, -0.17374782264232635, -0.1729564219713211, 0.5998902320861816, 0.6476179361343384, -0.48592743277549744, -1.3629406690597534, 0.45039811730384827, -0.19261105358600616, -0.29306307435035706, -0.5647105574607849, 0.34392687678337097, -0.1507127583026886, 0.6748875975608826, 0.7486559152603149, 0.30243217945098877, 0.4236098825931549, -0.7331861853599548, 0.20463666319847107, 0.3277495801448822, -0.2737724483013153, -0.3328622281551361, 0.7838940024375916, 0.11647640913724899, -0.24910873174667358, 0.6686590313911438, -0.8181665539741516, -0.40363621711730957, 1.1181010007858276, 0.4148336946964264, 0.58863765001297, 0.18259383738040924, 0.47256436944007874, 0.3176879286766052, 0.3608624041080475, 0.07977119833230972, 0.31790682673454285, -0.30259817838668823, -0.47519710659980774, -0.06635279208421707, -0.4387616813182831, -0.8959130048751831, -0.1552412509918213, -0.3640141189098358, 0.07345860451459885, -0.524310290813446, -0.06751472502946854, 0.2353656142950058, 0.6638694405555725, -0.9072206020355225, 0.2834782302379608, 0.035307008773088455, 1.1172146797180176, -0.5995440483093262, 0.21777239441871643, 0.825432300567627, 0.041354868561029434, 0.023768378421664238, -0.5188202857971191, 0.17779229581356049, -0.5611270070075989, 0.5979466438293457, 0.5810211300849915, 0.021840672940015793, -0.21034450829029083, -0.7258394360542297, -0.8255990147590637, 1.3232622146606445, -0.004241458605974913, -0.4966157376766205, 0.027189748361706734, -0.2015657275915146, 1.0463294982910156, -0.5723791122436523, 0.5322425365447998, 0.36282938718795776, 0.7812747359275818, -0.024273226037621498, -0.7516395449638367, 0.031525202095508575, -0.8548286557197571, -0.32294315099716187, -0.21041597425937653, -0.4815504252910614, 0.6962229609489441, -0.7835649847984314, -0.26404720544815063, 0.13372166454792023, 0.6961551904678345, 0.6887911558151245, 1.1693809032440186, 0.6488186717033386, 0.5071870684623718, 0.9211466312408447, -0.05664675310254097, 0.9874642491340637, -0.007904397323727608, 0.19254747033119202, 0.6282627582550049, -0.6546952724456787, 0.25670093297958374, 0.18212686479091644, -0.23026560246944427, 0.527822732925415, 0.6431758403778076, -0.3592780828475952, 0.7785584926605225, 0.6020138263702393, -0.3311291038990021, -0.2876405715942383, -0.6421707272529602, -0.43672117590904236, 0.07189421355724335, 0.2399352341890335, 0.11383659392595291, -0.01791522465646267, 0.2839244306087494, -0.3945320248603821, 0.10149474442005157, -0.009944606572389603, 0.4528970718383789, -0.21484483778476715, -0.5531471967697144, 0.18348443508148193, -0.01728760078549385, 0.32781627774238586, -0.4935694932937622, -0.36890578269958496, -0.23104098439216614, 0.27350324392318726, -0.06552315503358841, -0.500183641910553, -0.008198305033147335, -0.14067912101745605, -0.25393974781036377, 0.03559992089867592, 0.09021260589361191, 0.12844440340995789, -0.3187579810619354, 0.2864798903465271, 0.6577631831169128, 0.19775143265724182, -0.20198236405849457, -0.4004235565662384, 0.09448974579572678, -0.23629532754421234, -0.38397547602653503, 0.27967020869255066, 0.4968922436237335, -0.24264031648635864, 0.9936696887016296, 0.7666550278663635, -0.1087782084941864, -0.04592639580368996, -0.08922639489173889, 0.7401740550994873, -0.8130826354026794, -0.464485228061676, -0.147597998380661, 0.040962252765893936, -0.2769933342933655, -0.41823360323905945, 0.591939389705658, 0.8013541102409363, 0.8065748810768127, 0.013639693148434162, 1.0472030639648438, -0.3707587420940399, 0.4359018802642822, 0.19921265542507172, 0.09737831354141235, -0.5262205004692078, 0.10454128682613373, -0.14468488097190857, -0.970324695110321, -0.08838307857513428, 0.5067338943481445, 0.29087650775909424, 0.03402915596961975, 0.5936692953109741, 0.5537155270576477, 0.20383107662200928, 0.07835149765014648, -0.009412283077836037, 0.31182461977005005, 0.7715933918952942, 0.6700252294540405, 1.0679528713226318, -0.22534014284610748, 0.47086408734321594, -0.6342063546180725, -0.5295549631118774, 0.14660604298114777, -0.8193310499191284, -0.7933536767959595, -0.4136575162410736, -0.5525766015052795, -0.3605804741382599, 0.35760101675987244, 0.9330670237541199, 0.6467432379722595, -0.6268307566642761, 0.03708256036043167, -0.28302931785583496, -0.28660067915916443, -0.8591698408126831, -0.17170335352420807, 0.31564658880233765, -0.11865705251693726, -0.8110688924789429, 0.919768750667572, 0.385756254196167, -0.039984989911317825, -0.27821409702301025, -0.23785006999969482, 0.2875185012817383, -0.026246847584843636, 0.43024444580078125, 0.6946558356285095, -0.23376436531543732, -0.225437194108963, 0.34680700302124023, -0.004897118080407381, -0.24782155454158783, 0.6501489281654358, -1.2153264284133911, 0.681577205657959, 0.30878862738609314, 0.44707974791526794, 0.8188923001289368, 0.05104207247495651, 0.3643542528152466, -0.30022603273391724, 0.051969435065984726, 0.4827927350997925, -0.10010167211294174, 0.2608523666858673, -0.3850190341472626, 0.7074302434921265, 0.5238029360771179, -0.669427216053009, -1.1732615232467651, -0.2731455862522125, -1.0376638174057007, -0.1698513925075531, 0.5455449819564819, -0.04434022307395935, 0.08476480841636658, -0.12757287919521332, -0.17157115042209625, -0.02878466621041298, -0.18525709211826324, 0.9919800758361816, 0.3315906226634979, -0.38522446155548096, 0.23304639756679535, -0.6870826482772827, 0.4879661500453949, 0.2583613991737366, -0.8151798248291016, -0.1965382844209671, 0.3936900794506073, 0.13324537873268127, 0.4920765459537506, 0.2696312665939331, 0.19787779450416565, 0.5339292287826538, 0.3136627674102783, 0.03525543212890625, -0.7527127861976624, -0.7419284582138062, 0.16710259020328522, 0.260295569896698, -0.10911320149898529, 0.06177397072315216 ]
http://arxiv.org/abs/2406.06764v3
http://arxiv.org/pdf/2406.06764v3
$Classi|Q\rangle$ Towards a Translation Framework To Bridge The Classical-Quantum Programming Gap
2024-06-10T19:50:16
2024-07-01T14:37:09
Matteo Esposito, Maryam Tavassoli Sabzevari, Boshuai Ye, Davide Falessi, Arif Ali Khan, Davide Taibi
cs.SE
cs.SE, cs.CL, cs.ET, cs.PL
Quantum computing, albeit readily available as hardware or emulated on the cloud, is still far from being available in general regarding complex programming paradigms and learning curves. This vision paper introduces $Classi|Q\rangle$, a translation framework idea to bridge Classical and Quantum Computing by translating high-level programming languages, e.g., Python or C++, into a low-level language, e.g., Quantum Assembly. Our idea paper serves as a blueprint for ongoing efforts in quantum software engineering, offering a roadmap for further $Classi|Q\rangle$ development to meet the diverse needs of researchers and practitioners. $Classi|Q\rangle$ is designed to empower researchers and practitioners with no prior quantum experience to harness the potential of hybrid quantum computation. We also discuss future enhancements to $Classi|Q\rangle$, including support for additional quantum languages, improved optimization strategies, and integration with emerging quantum computing platforms.
[ -0.287282258272171, -0.31492286920547485, 0.4875366985797882, -0.08610987663269043, -0.16705258190631866, 0.5858489274978638, 0.07540275901556015, -0.47246766090393066, 0.21902358531951904, 0.018860602751374245, -0.23760303854942322, -0.21470819413661957, -0.33831122517585754, -0.22080925107002258, -0.6436806917190552, 0.5111618638038635, 0.05045124515891075, 0.12849955260753632, -0.08079139143228531, 0.25371912121772766, -0.058651071041822433, -0.3347911238670349, -0.2724784314632416, -0.055057160556316376, 0.26728546619415283, 0.361787885427475, 0.8507795929908752, 0.2102126032114029, 0.1771276742219925, 0.12140095233917236, 0.1254311501979828, -0.20642253756523132, -0.2551303505897522, -0.34329602122306824, 0.05485033243894577, -1.0831530094146729, -0.6375043988227844, -0.18123504519462585, 1.160197138786316, 0.8482356667518616, -0.022392580285668373, 0.2413860559463501, 0.05887783318758011, 1.190643072128296, -1.1156387329101562, -0.10043759644031525, -0.2547397315502167, 0.5622925162315369, -0.47768303751945496, -0.12807847559452057, -0.3945963382720947, -0.3169711232185364, -0.3498007357120514, -0.66376793384552, -0.06979642808437347, 0.05137732997536659, 0.4119561016559601, -0.09894471615552902, -0.5339375734329224, 0.5253907442092896, -0.7691500782966614, 0.911419689655304, -0.7512742280960083, 0.7647463083267212, 0.06495282053947449, 0.6348628997802734, -0.3021344840526581, -0.6509584188461304, -0.6175958514213562, 0.2665533423423767, 0.24691225588321686, 0.25795260071754456, -0.11194609105587006, 0.15109331905841827, 0.1395302712917328, 0.8754333853721619, -0.6866999268531799, -0.10280392318964005, -0.5706771016120911, 0.17871224880218506, 0.5471177101135254, -0.0676361545920372, 0.5665844678878784, 0.23167435824871063, -0.07491665333509445, -0.08274126052856445, -0.8314769864082336, 0.07501984387636185, 0.23264707624912262, 0.01941535249352455, -0.3710853159427643, 0.485103577375412, -0.36362677812576294, 0.9142541885375977, -0.04022889956831932, 0.16963684558868408, -0.02081161178648472, -0.15078948438167572, -0.11630748212337494, 0.42187294363975525, 0.46800392866134644, 0.19335508346557617, -0.2596438229084015, -0.45263758301734924, -0.23820100724697113, 0.1387159377336502, 0.29458996653556824, -0.730484664440155, -0.3930773437023163, 0.4335661828517914, -0.5587469935417175, -0.3268272578716278, 0.01727188006043434, -0.8060117363929749, -0.13782665133476257, 0.058068156242370605, 0.2083587795495987, -0.13585449755191803, -0.44655200839042664, 0.3176857829093933, -0.5283796787261963, 0.5808046460151672, 0.24497951567173004, -0.8413299322128296, 0.183378666639328, 0.9250998497009277, 0.6359120607376099, 0.03665691986680031, -0.12058550119400024, -0.41659262776374817, 0.4744509756565094, -0.6235371232032776, 0.393815815448761, -0.7466065287590027, -0.5394396185874939, 0.18287214636802673, -0.29344865679740906, -0.0589849054813385, -0.19775281846523285, 0.4591452181339264, -0.8564658761024475, 0.3036618232727051, 0.23918452858924866, -0.6232422590255737, -0.05913166329264641, 0.044618312269449234, -0.3148359954357147, 0.5685519576072693, 0.36536332964897156, -0.6981759667396545, 0.10383497178554535, -0.5626939535140991, -0.3587034344673157, 0.5892914533615112, -0.49688583612442017, -0.2718532681465149, 0.2593497633934021, -0.18647493422031403, -0.1657446324825287, -0.6431083679199219, 0.05135655403137207, -0.6114955544471741, -0.6231732964515686, 0.4174453914165497, 0.10039763152599335, 0.7644039988517761, 0.4478137493133545, -0.22841081023216248, 0.26829400658607483, -0.8300508260726929, 0.43655166029930115, -0.2357715517282486, -0.43694502115249634, -0.42983055114746094, 0.20427854359149933, 0.19137981534004211, 0.002047355752438307, 0.6687385439872742, -0.7389192581176758, 0.48478564620018005, -0.5125763416290283, 0.9536994099617004, 0.41513592004776, -0.20725096762180328, 0.867820680141449, -0.3025834262371063, 0.6301931738853455, -0.1517682820558548, 0.4097025394439697, 0.3437473177909851, -0.5048278570175171, -0.8755810856819153, -0.13649345934391022, 0.333486407995224, 0.5946891903877258, -0.9365723729133606, 0.3682628571987152, -0.41423892974853516, -0.42596346139907837, -0.7354556918144226, -0.04614388197660446, 0.37699270248413086, -0.1647641658782959, 0.28675317764282227, -0.21651530265808105, -0.4954192638397217, -1.0755703449249268, -0.3313341736793518, -0.3896660804748535, -0.009478986263275146, -0.18216469883918762, 0.10543905943632126, -0.3517807126045227, 0.542564868927002, -0.17967402935028076, 0.11486988514661789, -0.20004041492938995, -0.20696517825126648, 0.06646714359521866, 1.1394240856170654, 0.09352169930934906, -1.1317720413208008, -0.17389924824237823, 0.21299788355827332, -0.7682048678398132, 0.5098804235458374, -0.18871866166591644, -0.9568958282470703, -0.06672106683254242, 0.37087082862854004, -0.2775241434574127, 0.203263059258461, 0.5379875302314758, -0.2550458610057831, 0.3035117983818054, 0.22308161854743958, 0.5288729667663574, -1.1126707792282104, 0.04812415689229965, -0.2313224971294403, -0.14903616905212402, -0.5115914344787598, 0.7559323906898499, 0.2849264442920685, -0.5972602963447571, -0.4689613878726959, 0.23401597142219543, -0.2005969136953354, -0.26395362615585327, -0.06792603433132172, 0.04142846539616585, -0.2354728877544403, 0.23742040991783142, 0.14217154681682587, 0.8931109309196472, 0.6703827977180481, -0.6644402742385864, 0.285092294216156, 0.21526272594928741, 0.00038085985579527915, 0.5475643277168274, -0.4850955605506897, -0.06048453971743584, 0.6520205140113831, 0.023608297109603882, -0.4510861039161682, -0.014087609946727753, 0.183076873421669, -0.6996851563453674, 0.14389844238758087, -0.35231417417526245, -0.5849815607070923, -0.3839373290538788, -0.4001871645450592, 0.9927701950073242, 0.818640410900116, -0.3488907516002655, 0.5216172337532043, 0.38074249029159546, 0.4927310049533844, -0.08141707628965378, -0.7007729411125183, 0.30908671021461487, -0.05124347284436226, -0.6218942999839783, 0.446885883808136, 0.038043342530727386, -0.05595133826136589, 0.18009686470031738, -0.19437409937381744, -0.48839712142944336, 0.38530272245407104, 0.12664519250392914, 0.30645254254341125, -0.69249027967453, -0.20455896854400635, 0.55704265832901, -0.19554965198040009, -0.008083168417215347, -0.8131333589553833, 0.1773311048746109, -0.47990939021110535, -0.28839215636253357, -0.5575433969497681, 0.46512657403945923, 0.7000787854194641, -0.4341544508934021, 0.3427927792072296, 0.2760040760040283, -0.4891349673271179, -0.15945389866828918, -0.19533725082874298, -0.04135209321975708, -0.5137573480606079, 0.17597679793834686, -0.6574012041091919, -1.0467530488967896, -0.15610161423683167, -0.44396427273750305, 0.09175766259431839, 0.17584800720214844, 0.06768263876438141, -0.1331295520067215, 1.2073601484298706, 0.9142853617668152, -0.19377101957798004, 0.6721970438957214, -0.3917514979839325, 0.48290491104125977, -1.060109257698059, 0.2889975905418396, -0.4299233853816986, -0.3146539032459259, -0.6465689539909363, -0.24775783717632294, 0.630092442035675, 0.9225512146949768, -0.3378582000732422, 0.3672071099281311, -0.7483020424842834, 0.28041407465934753, 0.8166727423667908, -0.11986254900693893, 0.3177921772003174, -0.0910109356045723, 0.32874324917793274, -0.02239491045475006, -1.166330337524414, -0.39379653334617615, 0.8472569584846497, 0.1309565156698227, 0.22340461611747742, 0.3711934983730316, 1.1463310718536377, 0.364132821559906, -0.297376811504364, -0.5544359683990479, 0.6184511780738831, 0.0586230531334877, -0.493656724691391, -0.3529964089393616, -0.46589094400405884, -0.8427841067314148, 0.34702613949775696, -0.42360249161720276, -0.4170199930667877, 0.43248775601387024, 0.1091829165816307, -0.19562265276908875, 0.38599154353141785, -0.5836840271949768, 1.2655465602874756, -0.02617805264890194, -0.4000921845436096, -0.8276310563087463, -0.3909883499145508, 0.6402700543403625, 0.1856919378042221, 0.5799093246459961, 0.281194806098938, -0.04646843299269676, 0.4642930328845978, -0.4477584660053253, 0.6111106276512146, 0.09909466654062271, -0.2707843482494354, 0.2861851751804352, 0.5133142471313477, -0.019132036715745926, 0.18414591252803802, -0.02706611342728138, -0.12707403302192688, 0.7690199613571167, -1.1433169841766357, -0.7031245827674866, 0.6916926503181458, -0.8539115786552429, -0.3029751777648926, -0.5754238963127136, -0.2832978665828705, -0.4556024968624115, 0.1760731190443039, -0.020642727613449097, 0.2575087249279022, -0.21408812701702118, -0.2787260115146637, 0.6828780174255371, -0.2609684467315674, 0.2461937516927719, 0.6008611917495728, -0.37681156396865845, -0.3240121304988861, 1.4876164197921753, -0.39184871315956116, 0.29853376746177673, 0.8708950877189636, 0.04047282412648201, 0.1407518833875656, -0.26514750719070435, -1.2527564764022827, 0.1267259418964386, -0.3215350806713104, 0.05564773827791214, -0.01160737220197916, -0.20195598900318146, -0.4478249251842499, -0.6745548844337463, -0.5464831590652466, -0.8648088574409485, -0.016324004158377647, 0.33748263120651245, 0.06663066893815994, 0.3644633889198303, -0.15467093884944916, -0.11132146418094635, -1.2864917516708374, 0.249130517244339, 0.4236651062965393, 0.06101581081748009, 0.21932101249694824, -0.06373362243175507, -0.5874536633491516, 0.046285081654787064, -0.3449232280254364, -0.6299228072166443, -0.172681525349617, 0.28836268186569214, 0.219661682844162, 0.26630276441574097, 0.44803372025489807, 0.6796613931655884, -0.32696837186813354, 0.8893560767173767, 0.6487298011779785, -1.1907175779342651, 0.9277125000953674, -0.23350544273853302, 0.31489652395248413, 0.49068981409072876, 0.1631566435098648, -0.7712664008140564, -0.8151991963386536, -0.5938803553581238, -0.7415003776550293, 0.23887069523334503, 0.15758667886257172, -0.11149498075246811, 0.2816094160079956, 0.2326825112104416, -0.28422608971595764, 0.6064468622207642, -0.7770991921424866, -0.07898373901844025, -0.1278105229139328, -0.08061129599809647, 0.052076321095228195, -0.026836728677153587, -0.1957038938999176, -0.26037707924842834, 0.8736730217933655, 0.12345804274082184, 0.4229092299938202, -0.06860145181417465, -0.19706475734710693, -0.28773239254951477, 0.6659016013145447, 0.17778968811035156, 0.48314768075942993, 0.06657761335372925, 0.3050309717655182, -0.3212152421474457, -0.15368779003620148, 0.015284659340977669, -0.01716732606291771, -0.5846599340438843, -0.5214724540710449, 0.23829245567321777, 0.37648728489875793, 0.25282105803489685, -0.7663719058036804, 0.5189478993415833, 0.2972443401813507, 0.2186029702425003, -0.4641267955303192, 0.3545818328857422, -0.09493537247180939, 0.5765882134437561, 0.19151094555854797, -0.10296696424484253, 0.6783842444419861, -0.7965946197509766, -0.04384956881403923, 0.19115348160266876, -0.5424419641494751, -0.3569765090942383, 1.0112351179122925, 0.5245816707611084, -0.2287585586309433, 0.3919413983821869, -0.6247568130493164, -0.515400767326355, 0.1809682697057724, 0.5565308928489685, 0.9404627680778503, 0.23121429979801178, 0.14977017045021057, 0.45422691106796265, 0.20053820312023163, 0.14352402091026306, 0.52292400598526, -0.5029755234718323, -0.30319398641586304, -0.30056118965148926, -0.6475096344947815, -0.20560084283351898, -0.5978840589523315, -0.7341918349266052, 0.047166138887405396, -0.5331001281738281, 0.1515064537525177, -0.5203429460525513, -0.16105708479881287, 0.0422339029610157, -0.14491137862205505, 0.4141145348548889, 0.7058725357055664, -0.6516830325126648, 1.2180042266845703, 1.0100281238555908, -0.5877227783203125, -0.3654527962207794, -0.21696896851062775, -0.21693727374076843, -0.3944437503814697, 0.5081896185874939, -0.2934377193450928, -0.28340205550193787, 0.41943177580833435, -0.5057341456413269, -0.5189558863639832, 0.8184415698051453, 0.04346960410475731, -0.6339382529258728, -0.28422579169273376, 0.16039927303791046, 0.3305010497570038, 0.04105549305677414, -0.2845403552055359, 0.3441399931907654, 0.3348231315612793, -0.3998517394065857, -0.7674676775932312, -0.02362765744328499, -0.5624072551727295, 0.4414912760257721, 0.7351244688034058, -0.623479962348938, 0.7288623452186584, 0.12311955541372299, -0.33939462900161743, 0.4459315836429596, 1.0066306591033936, 0.13378261029720306, 0.3452504277229309, 0.14238564670085907, 0.7279793620109558, 0.48020127415657043, 0.16358314454555511, 0.9437925219535828, -0.8285307288169861, 0.0929424986243248, 0.6247062087059021, 0.04006010293960571, 1.1169418096542358, 0.48490604758262634, -0.6745721697807312, 0.5102709531784058, 0.45796388387680054, 0.07345663011074066, 0.4312390983104706, 0.26679715514183044, -0.8675838708877563, -0.718411922454834, 0.1758263111114502, -0.6746458411216736, -0.32929855585098267, 0.2967323660850525, 0.3228754699230194, 0.07577996701002121, 0.1869981586933136, -0.46586012840270996, 0.2990565001964569, -0.4826710522174835, 0.4155401289463043, 0.34125497937202454, -0.1705745905637741, 0.9653303027153015, 0.21833713352680206, 0.720255970954895, -0.3136145770549774, -0.21695378422737122, 0.03684646636247635, 0.11153948307037354, -0.5133508443832397, -0.2086450308561325, 0.09359578043222427, -0.35710927844047546, -0.23467858135700226, 0.08666577190160751, 0.24918672442436218, -0.3360651433467865, -0.6632202863693237, 0.11747019737958908, 0.5596784353256226, 0.22745361924171448, 0.09522230923175812, -0.7175070643424988, -0.07265470921993256, 0.05740679055452347, 0.5429154634475708, 0.6990280151367188, 0.39452749490737915, -0.000330973940435797, 0.5263704657554626, 0.46346428990364075, -0.061937082558870316, 0.3789789080619812, -0.5359926819801331, 0.7279094457626343, -0.673843264579773, -0.721941351890564, -0.21470332145690918, 0.2725076973438263, 0.2501083314418793, -0.27120110392570496, 0.7335112690925598, 1.1568571329116821, 1.1253163814544678, -0.1233002096414566, 0.8431395888328552, -0.12476459890604019, 0.36294054985046387, -0.5628734827041626, 0.755132794380188, -0.7604981660842896, 0.08780495822429657, -0.19526444375514984, -0.7029289603233337, -0.16462171077728271, 0.7086611390113831, -0.1818961352109909, -0.5563153624534607, 0.702552855014801, 0.5404902100563049, -0.16034391522407532, 0.13302959501743317, 0.40274104475975037, -0.13163205981254578, 0.18104758858680725, 1.1472196578979492, 1.036873459815979, -0.7441568374633789, 0.2183832973241806, -0.2503424882888794, -0.22527562081813812, -0.16326305270195007, -0.2740181088447571, -0.49315008521080017, -0.6142207980155945, -0.8917948007583618, -0.550503671169281, 0.3074478209018707, 0.6035376191139221, 0.6477957963943481, -0.7446408867835999, -0.8411320447921753, -0.5527787208557129, 0.23497793078422546, -0.49074551463127136, -0.23206524550914764, 0.14306046068668365, -0.40997573733329773, -0.7661648988723755, 0.6039711236953735, 0.24986127018928528, 0.08047406375408173, -0.236434206366539, -0.27005627751350403, 0.1650989055633545, -0.27900323271751404, 0.7036827206611633, 0.9177618026733398, -0.4120621085166931, 0.19102223217487335, -0.19059430062770844, -0.08715810626745224, 0.05757567286491394, 1.0155166387557983, -0.7599219083786011, 0.2488655000925064, 0.23615635931491852, 0.9445856809616089, 0.4252459704875946, -0.5197334885597229, 0.7911804914474487, -0.08418808877468109, 0.38520631194114685, 0.4645121097564697, -0.030307587236166, -0.12873271107673645, -0.17971721291542053, 0.35096022486686707, 0.3776475489139557, -0.32902929186820984, -0.9651409387588501, 0.5100991129875183, -1.0825923681259155, -0.6409496665000916, 0.7290816903114319, 0.18627651035785675, -0.4127773344516754, 0.2168348878622055, 0.07451999932527542, 0.21489763259887695, -0.3578120172023773, 0.5645900964736938, 0.27074435353279114, -0.1018068790435791, -0.12588588893413544, -0.6855927109718323, 0.3932289183139801, 0.5329080820083618, -0.45083528757095337, -0.2942337393760681, 0.6364818215370178, -0.37821823358535767, 0.19417545199394226, 0.539095938205719, -0.32291489839553833, 0.823530375957489, 0.24184735119342804, 0.5527268052101135, 0.3267070949077606, 0.020125994458794594, -0.24476708471775055, 0.10235267877578735, 0.5937333703041077, -0.49520614743232727 ]
http://arxiv.org/abs/2406.06739v1
http://arxiv.org/pdf/2406.06739v1
Scaling the Vocabulary of Non-autoregressive Models for Efficient Generative Retrieval
2024-06-10T19:01:15
2024-06-10T19:01:15
Ravisri Valluri, Akash Kumar Mohankumar, Kushal Dave, Amit Singh, Jian Jiao, Manik Varma, Gaurav Sinha
cs.CL
cs.CL, cs.IR, cs.LG
Generative Retrieval introduces a new approach to Information Retrieval by reframing it as a constrained generation task, leveraging recent advancements in Autoregressive (AR) language models. However, AR-based Generative Retrieval methods suffer from high inference latency and cost compared to traditional dense retrieval techniques, limiting their practical applicability. This paper investigates fully Non-autoregressive (NAR) language models as a more efficient alternative for generative retrieval. While standard NAR models alleviate latency and cost concerns, they exhibit a significant drop in retrieval performance (compared to AR models) due to their inability to capture dependencies between target tokens. To address this, we question the conventional choice of limiting the target token space to solely words or sub-words. We propose PIXAR, a novel approach that expands the target vocabulary of NAR models to include multi-word entities and common phrases (up to 5 million tokens), thereby reducing token dependencies. PIXAR employs inference optimization strategies to maintain low inference latency despite the significantly larger vocabulary. Our results demonstrate that PIXAR achieves a relative improvement of 31.0% in MRR@10 on MS MARCO and 23.2% in Hits@5 on Natural Questions compared to standard NAR models with similar latency and cost. Furthermore, online A/B experiments on a large commercial search engine show that PIXAR increases ad clicks by 5.08% and revenue by 4.02%.
[ -0.45947644114494324, -0.7941027879714966, 0.10940805822610855, 0.1879424750804901, -0.06855546683073044, 0.13108885288238525, -0.19791346788406372, -0.370408296585083, 0.2690967619419098, 0.3799128830432892, 0.0445072203874588, -0.03740590438246727, -0.6664235591888428, 0.017129823565483093, -0.6193850636482239, 0.8556124567985535, 0.3239745497703552, -0.32325291633605957, -0.18821586668491364, -0.23892152309417725, -0.1639205366373062, -0.6614341139793396, -0.6143652200698853, -0.14027224481105804, 0.6640870571136475, 0.19569669663906097, 1.2232238054275513, 0.9040448069572449, 0.6683971881866455, 0.22094856202602386, -0.2743667662143707, -0.10892212390899658, -0.5209850072860718, 0.2610454261302948, -0.33589187264442444, -0.5215944647789001, -0.18708324432373047, -0.28160491585731506, 0.6356823444366455, 0.8041765689849854, -0.33710259199142456, -0.04086478054523468, -0.21382565796375275, 0.7597151398658752, -1.0600943565368652, 0.04955980181694031, -0.6287052631378174, 0.15654809772968292, -0.13495247066020966, 0.06309518963098526, -0.3133474886417389, -0.18116912245750427, 0.11259174346923828, -0.4577326476573944, 0.5395007729530334, 0.037469282746315, 0.7031753659248352, 0.17961516976356506, -0.3819458782672882, -0.17830877006053925, -0.8101047873497009, 0.8379141688346863, -0.43338876962661743, 0.5772656202316284, 0.25975972414016724, 0.1482865810394287, 0.006112659815698862, -0.682914137840271, -0.5481919050216675, -0.33110952377319336, 0.06673694401979446, -0.16461044549942017, -0.758573055267334, -0.05372506380081177, 0.1604996621608734, 0.6998192071914673, -0.4602315425872803, -0.08605428785085678, -0.2088131308555603, -0.1540078967809677, 0.4981551468372345, 0.07670522481203079, 0.29239752888679504, -0.14150774478912354, -0.4297525882720947, -0.48693397641181946, -0.4610380232334137, -0.3635108768939972, 0.06903515756130219, 0.4082278311252594, 0.2740638554096222, 0.8491164445877075, -0.11068614572286606, 0.7981296181678772, 0.3449910581111908, 0.25820255279541016, 0.07967843860387802, -0.5714706778526306, 0.07157043367624283, -0.21051421761512756, 0.8339380621910095, 0.22759731113910675, -0.13575968146324158, -0.34935933351516724, -0.36084771156311035, 0.02471175789833069, 0.3663611114025116, -0.8040676712989807, -0.44398748874664307, -0.19094491004943848, -0.42878827452659607, 0.11596160382032394, -0.02729206532239914, -1.044453740119934, -0.14197707176208496, -0.04237494617700577, 0.6642096042633057, -0.6121074557304382, -0.49959471821784973, 0.019890375435352325, 0.04154359921813011, 0.3191429674625397, 0.24489693343639374, -0.7518121004104614, 0.2590087652206421, 0.35963788628578186, 1.2186336517333984, -0.25088101625442505, 0.1265871375799179, -0.719816267490387, -0.20503117144107819, -0.7015310525894165, 0.8950238823890686, -0.698063313961029, -0.7087366580963135, -0.44313421845436096, -0.33933332562446594, -0.4210960865020752, -0.5947139263153076, 0.17254050076007843, -1.0233707427978516, 0.14234402775764465, -0.019504543393850327, -0.5599439144134521, -0.11455971747636795, 0.03282006084918976, -0.9534398317337036, 0.9858992695808411, 0.08035332709550858, -0.5255031585693359, 0.2510872483253479, -0.8194611072540283, -0.555311381816864, 0.09654971957206726, -0.00019777152920141816, -0.37616175413131714, 0.36058539152145386, 0.22266262769699097, 0.03786202892661095, -0.2816375494003296, 0.2176639586687088, -0.12216892838478088, -0.1594332456588745, -0.007775663863867521, -0.42372971773147583, 0.15849009156227112, 0.5577787160873413, -0.33486443758010864, -0.17502206563949585, -0.5546066761016846, 0.2653384506702423, 0.0034946021623909473, -0.4201395511627197, -0.3824205696582794, -0.07515466213226318, 0.25007036328315735, 0.2630392014980316, 0.3367096185684204, -0.46081921458244324, 0.08866336941719055, -0.5275457501411438, 0.18735045194625854, 0.18768738210201263, -0.09894117712974548, 0.7781155109405518, -0.25244230031967163, 0.8038439750671387, -0.0412466824054718, 0.05506899207830429, -0.22370967268943787, -0.3948099613189697, -0.8675105571746826, -0.22287972271442413, 0.40093761682510376, 0.10790179669857025, -0.754967451095581, 0.2605348527431488, -0.39894604682922363, -0.6348665356636047, -0.3322921097278595, 0.006396077573299408, 0.5236574411392212, 0.41841796040534973, 0.47593429684638977, -0.5927582383155823, -0.24042777717113495, -0.7720569968223572, -0.2800430357456207, -0.24769867956638336, -0.004115001298487186, 0.3510311245918274, 0.38433441519737244, 0.09083666652441025, 1.151695966720581, -0.3361830711364746, -0.24752524495124817, -0.34208858013153076, 0.43864601850509644, 0.2120770364999771, 0.2867787480354309, 0.3967559039592743, -1.1152790784835815, -0.7720577716827393, -0.05298231914639473, -0.20571959018707275, 0.06083020195364952, -0.09190458059310913, -0.00918634794652462, 0.1089966744184494, 0.43584421277046204, -0.6157733798027039, 0.48761317133903503, 0.43865492939949036, -0.30108538269996643, 0.15498538315296173, -0.43073832988739014, -0.05674069747328758, -0.7612185478210449, 0.35181573033332825, -0.10699182003736496, -0.043023619800806046, -0.6478880047798157, 0.05834838002920151, 0.26216354966163635, -0.10592269897460938, -0.3514181673526764, 0.7261528372764587, -0.8057557344436646, -0.18176411092281342, -0.5582383871078491, 0.033927127718925476, 0.2585000991821289, 0.09108991175889969, 0.2158869057893753, 1.2508490085601807, 0.5336900353431702, -0.9239821434020996, 0.02249152958393097, 0.2800540030002594, -0.1852300614118576, 0.3803901970386505, -0.7019687294960022, 0.07517145574092865, -0.49456313252449036, 0.18129487335681915, -0.826743483543396, 0.06518721580505371, -0.08820145577192307, -0.45700567960739136, 0.2047879993915558, -0.16699856519699097, -0.9050511121749878, 0.0216714758425951, 0.10263817012310028, 0.4735566973686218, 0.46271923184394836, -0.6600762009620667, 0.8105825185775757, 0.3653913736343384, 0.026007283478975296, -0.4261350929737091, -0.44456902146339417, 0.37322524189949036, -0.17656627297401428, -0.28739669919013977, 0.4204391539096832, -0.02762107364833355, -0.1811656951904297, 0.07715907692909241, -0.06428642570972443, -0.011224246583878994, -0.2083536833524704, -0.17826396226882935, 0.13822057843208313, -0.4241834580898285, 0.412030965089798, -0.20294824242591858, 0.002106250263750553, -0.341767281293869, -0.2562870383262634, 0.6096291542053223, -0.221587136387825, -0.3389724791049957, 0.05722720921039581, 0.5084612965583801, 0.7266265153884888, -0.5447571873664856, 0.9048610925674438, 0.3878619372844696, -0.07933186739683151, 0.20965200662612915, -0.7384696006774902, -0.12966766953468323, -0.41108301281929016, 0.4497847557067871, -0.5123949646949768, -0.6884585618972778, 0.3621188700199127, 0.04057003930211067, -0.07343051582574844, 0.7069588303565979, 0.4832255244255066, 0.4204322099685669, 1.155447006225586, 0.7459278702735901, -0.09128345549106598, 0.6931211948394775, -0.25484639406204224, 0.18795600533485413, -0.9156726598739624, -0.2567886412143707, -0.3103979825973511, -0.19686740636825562, -0.5079588294029236, -0.9170240163803101, 0.3835601806640625, 0.1923777163028717, -0.15418531000614166, 0.4547678530216217, -0.5503420233726501, 0.43726789951324463, 0.6088314652442932, -0.13655276596546173, 0.41566580533981323, 0.2299061417579651, -0.23230767250061035, -0.0022817410062998533, -0.9867452383041382, -0.17070738971233368, 1.0153566598892212, -0.04513610526919365, 0.9015871286392212, 0.5210090279579163, 0.2678963541984558, 0.06553176790475845, 0.31813618540763855, -0.749109148979187, 0.3282610774040222, -0.34068384766578674, -0.9043301343917847, -0.26035019755363464, -0.5111160278320312, -1.28328275680542, 0.5877830386161804, -0.17458832263946533, -0.4783274233341217, 0.6515424251556396, 0.050213586539030075, -0.42012259364128113, 0.5568350553512573, -0.6900520324707031, 0.515383780002594, -0.36988377571105957, -0.5651973485946655, -0.12804143130779266, -0.6774399876594543, -0.09314794838428497, -0.2532828152179718, 0.13803188502788544, 0.00919329933822155, -0.4312024712562561, 0.5779777765274048, -0.4623214304447174, 0.6621944308280945, -0.02362239733338356, 0.11961721628904343, 0.3077629804611206, 0.18121401965618134, 0.47683778405189514, -0.2947883605957031, -0.3616533577442169, 0.04829569533467293, -0.14916647970676422, -0.4432563781738281, -0.723673939704895, 0.6208332777023315, -0.611560046672821, -0.37831753492355347, -0.6352170705795288, -0.5939897298812866, -0.1561679095029831, 0.3342225253582001, 0.38183921575546265, 0.1554885357618332, -0.23251540958881378, 0.48131638765335083, 0.7779029011726379, -0.22222287952899933, 0.5568094849586487, 0.5961045622825623, -0.20510154962539673, -0.41730841994285583, 0.7787919640541077, 0.09869123250246048, 0.5312309265136719, 0.6889103055000305, 0.11788284033536911, -0.763693630695343, -0.32886314392089844, -0.4336780607700348, 0.38471975922584534, -0.3470363914966583, -0.18617719411849976, -1.0718610286712646, -0.17423845827579498, -0.2832925021648407, 0.1580996960401535, -0.6353319883346558, -0.5105517506599426, -0.5398954153060913, 0.17888858914375305, 0.6547130942344666, 0.4556425213813782, -0.39840567111968994, 0.3503764271736145, -0.5935409069061279, 0.21120330691337585, 0.07417242228984833, 0.49528801441192627, 0.3371606171131134, -0.6536151170730591, -0.28843361139297485, -0.21034550666809082, -0.22873103618621826, -0.5344461798667908, 0.7462578415870667, 0.6008641123771667, 0.3899082541465759, 0.38676249980926514, 0.2880334258079529, 0.9328070878982544, -0.5243510603904724, 0.5111221671104431, 0.49190792441368103, -0.5707846879959106, 0.511724591255188, -0.14332658052444458, 0.48449698090553284, 0.5108758807182312, 0.27879855036735535, -0.5187746286392212, -0.16911986470222473, -0.6487674713134766, -1.1397795677185059, 0.2937687337398529, 0.3390076458454132, 0.6183245182037354, -0.48259562253952026, 0.3719252943992615, -0.09192021936178207, 0.22755537927150726, -0.3603052794933319, -0.214812234044075, -0.3489193916320801, 0.08851169049739838, -0.400673508644104, -0.23808513581752777, 0.34387364983558655, -0.0037562530487775803, 0.3507882356643677, -0.08851933479309082, 0.4013230502605438, 0.3817358911037445, -0.12827135622501373, -0.10642807185649872, 0.29723548889160156, 0.12357562780380249, 0.40011852979660034, 0.045591626316308975, 0.06556166708469391, -0.1943756639957428, -0.5345795154571533, 0.11747328191995621, 0.18574301898479462, -0.09790533781051636, 0.2313358038663864, -0.0005899494281038642, 0.7198478579521179, 0.16752609610557556, -0.7305928468704224, 0.50924152135849, -0.05419106408953667, 0.013801087625324726, -0.35837364196777344, 0.10949036478996277, -0.09467170387506485, 0.2097596675157547, 0.598142147064209, -0.004956286866217852, 0.19979903101921082, -0.29158005118370056, 0.5108128786087036, 0.6533988118171692, -0.43638595938682556, -0.1372264325618744, 1.0540896654129028, -0.17774564027786255, -0.24615724384784698, 0.819796085357666, -0.023289887234568596, -0.10908269882202148, 0.5491464138031006, 0.58792644739151, 0.6158614158630371, -0.22987039387226105, 0.13086378574371338, 0.4427540898323059, 0.16455532610416412, -0.3504623770713806, 0.1892087310552597, -0.18689480423927307, -0.6994150280952454, -0.4045162498950958, -0.6500884890556335, -0.3985162079334259, -0.015430665574967861, -0.7962080836296082, -0.1226106658577919, -0.41645240783691406, -0.5867627859115601, -0.11959607154130936, -0.12047619372606277, -0.37034761905670166, 0.2420136034488678, -0.18342061340808868, 0.7812924981117249, -0.40485304594039917, 0.6475858688354492, 0.676655113697052, -0.6280915141105652, -0.5842126607894897, 0.12501512467861176, -0.28634190559387207, -0.6368064284324646, 0.8998593688011169, -0.08117922395467758, -0.2029697149991989, 0.2715531885623932, -0.20769008994102478, -1.4824408292770386, 0.7913382649421692, 0.21487648785114288, -0.614121675491333, -0.2272939532995224, -0.028322819620370865, 0.7600728273391724, -0.2632981538772583, 0.2939869463443756, 0.0034431111998856068, 0.24244265258312225, 0.5005410313606262, -0.9280349016189575, -0.1739608496427536, -0.45528849959373474, 0.4786769151687622, 0.5385361313819885, -0.7246069312095642, 0.992090106010437, -0.3765198290348053, -0.37618201971054077, 0.31844642758369446, 0.8256169557571411, 0.1796588897705078, 0.10982955247163773, 0.6242855191230774, 0.5402247905731201, 0.5245603322982788, 0.25383663177490234, 1.2000283002853394, -0.5719796419143677, 0.4700901210308075, 0.9757074117660522, -0.04365420714020729, 1.0535589456558228, 0.5631425976753235, -0.1283620148897171, 0.41774994134902954, 0.46773064136505127, -0.09424103051424026, 0.5949491858482361, 0.17116384208202362, -0.549027681350708, -0.37621352076530457, -0.3061041533946991, -0.2466275990009308, 0.37520116567611694, 0.4263364374637604, -0.49127933382987976, -0.43898072838783264, 0.1280997395515442, 0.024033676832914352, 0.01055014505982399, -0.23701211810112, 0.6997296810150146, -0.03380953148007393, -0.6485963463783264, 0.6187760233879089, 0.0003753845230676234, 0.6031392812728882, -0.35371479392051697, 0.09609214961528778, -0.43583282828330994, 0.22761742770671844, 0.04793767258524895, -0.25019413232803345, 0.39891108870506287, 0.1035187691450119, -0.28262415528297424, -0.08428855985403061, 0.45986899733543396, -0.3134615421295166, -0.8634024858474731, 0.35428929328918457, 0.6520598530769348, 0.1733294576406479, -0.2434084117412567, -0.7382304072380066, -0.2670551836490631, -0.3047846853733063, -0.14208786189556122, 0.531306266784668, 0.4405238926410675, -0.06511034816503525, 0.7673046588897705, 0.7069016098976135, 0.18160004913806915, 0.3887942433357239, -0.11591760814189911, 0.7946380376815796, -0.6778122186660767, -0.44078195095062256, -0.5369408130645752, 0.0967792272567749, 0.09021959453821182, 0.04519668221473694, 0.7935211658477783, 0.8473280072212219, 0.6369563937187195, 0.1904851645231247, 0.6014120578765869, -0.2094622105360031, 0.6207795739173889, -0.2256326824426651, 0.6630803942680359, -0.7864554524421692, 0.2854514718055725, -0.07859060168266296, -0.8405593633651733, -0.5479263663291931, 0.7730026245117188, -0.4067520201206207, 0.2795352637767792, 0.3195180594921112, 0.8428032994270325, -0.1678222268819809, -0.2868537902832031, 0.43814852833747864, 0.19003841280937195, 0.10049519687891006, 0.3085915148258209, 0.7021930813789368, -0.39720290899276733, 0.9112705588340759, -0.18077169358730316, -0.22681674361228943, -0.2641220688819885, -0.6420939564704895, -0.48680809140205383, -0.4086221158504486, -0.47633296251296997, -0.21399171650409698, 0.09817288815975189, 0.5685591101646423, 0.7262321710586548, -0.5590330958366394, -0.25200146436691284, -0.3197764456272125, -0.11498034000396729, -0.16281074285507202, -0.30867400765419006, 0.417841374874115, -0.507794201374054, -0.7433085441589355, 0.3916834890842438, 0.1880212277173996, 0.051859427243471146, -0.14893515408039093, 0.2497386634349823, -0.3426320552825928, 0.1455421894788742, 0.5891956090927124, 0.5470771193504333, -0.5969362258911133, 0.022648366168141365, 0.479092001914978, 0.05707424879074097, 0.31833401322364807, 0.7121309041976929, -0.9694321751594543, 0.7951492667198181, 0.30462127923965454, 0.6083536744117737, 0.6923214197158813, 0.20738078653812408, 0.6601717472076416, -0.41073864698410034, -0.2224472165107727, 0.35735827684402466, -0.04296661168336868, 0.42464330792427063, -0.4156603217124939, 0.3006768524646759, 0.046162329614162445, -0.3404882550239563, -0.41253575682640076, 0.2800710201263428, -0.39655542373657227, -0.26995012164115906, 1.047845482826233, 0.04728804528713226, -0.0819794237613678, -0.12850967049598694, 0.30379101634025574, 0.07344647496938705, -0.5379085540771484, 0.7539057731628418, 0.3718363046646118, -0.59966641664505, -0.45171278715133667, -0.3838878571987152, 0.03092421218752861, 0.6006618738174438, -0.19117403030395508, -0.03299225866794586, 0.5603926777839661, 0.2560584843158722, 0.37116122245788574, 0.7295289635658264, -0.4851011037826538, 0.08154457062482834, 0.03674541413784027, 0.08384744077920914, 0.26477715373039246, -0.09527572244405746, -0.4440252482891083, 0.3584481477737427, 0.18736661970615387, -0.2197251170873642 ]
http://arxiv.org/abs/2406.06737v1
http://arxiv.org/pdf/2406.06737v1
Raccoon: Prompt Extraction Benchmark of LLM-Integrated Applications
2024-06-10T18:57:22
2024-06-10T18:57:22
Junlin Wang, Tianyi Yang, Roy Xie, Bhuwan Dhingra
cs.CR
cs.CR, cs.CL
With the proliferation of LLM-integrated applications such as GPT-s, millions are deployed, offering valuable services through proprietary instruction prompts. These systems, however, are prone to prompt extraction attacks through meticulously designed queries. To help mitigate this problem, we introduce the Raccoon benchmark which comprehensively evaluates a model's susceptibility to prompt extraction attacks. Our novel evaluation method assesses models under both defenseless and defended scenarios, employing a dual approach to evaluate the effectiveness of existing defenses and the resilience of the models. The benchmark encompasses 14 categories of prompt extraction attacks, with additional compounded attacks that closely mimic the strategies of potential attackers, alongside a diverse collection of defense templates. This array is, to our knowledge, the most extensive compilation of prompt theft attacks and defense mechanisms to date. Our findings highlight universal susceptibility to prompt theft in the absence of defenses, with OpenAI models demonstrating notable resilience when protected. This paper aims to establish a more systematic benchmark for assessing LLM robustness against prompt extraction attacks, offering insights into their causes and potential countermeasures. Resources of Raccoon are publicly available at https://github.com/M0gician/RaccoonBench.
[ -0.34940996766090393, -1.069101095199585, 0.27006465196609497, 0.039636630564928055, -0.12284282594919205, 0.19224649667739868, -0.10119517892599106, -0.6673831343650818, -0.22723573446273804, 0.32313403487205505, -0.7736659646034241, -0.29927030205726624, -0.6709623336791992, 0.6692957878112793, -0.1624174267053604, 0.9431671500205994, 0.31833595037460327, -0.15206877887248993, -0.06116316467523575, -0.22835016250610352, -0.9017020463943481, -0.2094414085149765, -0.3410455882549286, 0.05787162482738495, 0.559745728969574, 0.1830812394618988, 0.5062987804412842, 0.44358211755752563, 0.7105839252471924, 0.24020393192768097, 0.011926294304430485, -0.10571158677339554, 0.030874334275722504, 0.6215180158615112, -0.2120678573846817, -0.0809406042098999, -0.24104773998260498, 0.07839635759592056, 0.15630848705768585, -0.09290150552988052, -0.14277225732803345, 0.14206646382808685, 0.13468685746192932, 0.42026907205581665, -0.9248570203781128, -0.014699174091219902, -0.7217267155647278, 0.08789416402578354, -0.44984856247901917, -0.35565170645713806, -0.4884382486343384, -0.6751488447189331, 0.08255959302186966, -0.584558367729187, 0.11964389681816101, -0.17334091663360596, 0.7698068022727966, 0.2583047151565552, -0.19672630727291107, -0.6264124512672424, -0.44575589895248413, 0.6254052519798279, -0.3585871458053589, -0.05126325041055679, 0.36213505268096924, 0.8195144534111023, -0.2793480157852173, -0.7410169243812561, -0.19009457528591156, -0.6085389852523804, 0.0723307654261589, 0.34170547127723694, -0.8756973147392273, -0.035994838923215866, 0.6730493903160095, 0.4192962646484375, -0.7563357949256897, 0.21453425288200378, -0.20143833756446838, -0.01081535778939724, 0.457075297832489, 0.27790355682373047, 0.7850313782691956, -0.2082517147064209, -0.610877513885498, -0.018296923488378525, -0.9100998044013977, 0.2255021631717682, 0.32032525539398193, 0.15922823548316956, -0.04357749968767166, 0.7154379487037659, -0.1862441599369049, 0.5491223335266113, -0.250179260969162, 0.015739716589450836, -0.12954074144363403, -0.4371333718299866, -0.1288783699274063, -0.03958667069673538, 0.8295542597770691, -0.03990587219595909, 0.1292194426059723, -0.33980050683021545, -0.6339631676673889, -0.1800086945295334, 0.4399455785751343, -0.8327261209487915, -0.28102463483810425, 0.04176906868815422, -0.42870819568634033, -0.5617161989212036, 0.23178447782993317, -1.152884840965271, -0.45666518807411194, 0.5192917585372925, 0.02731035277247429, -0.37656503915786743, -0.26015591621398926, -0.05315509811043739, 0.11821287870407104, 0.5569534301757812, 0.22548384964466095, -0.6648524403572083, 0.2725779712200165, 0.9880638122558594, 1.1701384782791138, -0.7192959785461426, 0.166059672832489, -1.0541642904281616, -0.03916601464152336, 0.04576540365815163, 1.0761983394622803, -0.5717971920967102, -0.7200560569763184, -0.03040594793856144, 0.03965529054403305, -0.13310569524765015, -0.89476078748703, 0.9227244853973389, -0.7361814975738525, -0.33120274543762207, -0.5114319920539856, -0.24973581731319427, -0.13684557378292084, 0.39806610345840454, -0.92062908411026, 0.9670589566230774, -0.0424489863216877, -1.0127381086349487, 0.14237961173057556, -0.43015021085739136, -0.4336993098258972, 0.4659159779548645, -0.4025097191333771, -0.25314679741859436, 0.10070104151964188, 0.5870453119277954, 0.24470998346805573, -0.7546272277832031, 0.006952442694455385, -0.6146591901779175, -0.21337538957595825, 0.4234740436077118, -0.5174091458320618, 1.12543523311615, 0.580511212348938, 0.0005150240031071007, -0.017473233863711357, -0.6314193606376648, -0.1106785237789154, 0.4834010899066925, -0.185249462723732, -0.41969749331474304, -0.37842652201652527, -0.4212867021560669, 0.00536862388253212, 0.24842673540115356, -0.5377064943313599, 0.5451949834823608, -0.10394556820392609, 0.3522070050239563, 0.796683132648468, 0.3788628876209259, 0.21195591986179352, -0.15192212164402008, 1.0624653100967407, -0.21853584051132202, 0.138499915599823, -0.3350808918476105, -0.2317921370267868, 0.03098095953464508, -0.9160812497138977, -0.192839115858078, 0.9589887261390686, -0.7565172910690308, 0.38621261715888977, -0.16481268405914307, -0.44937998056411743, 0.0455053336918354, -0.06559455394744873, 0.2307288497686386, 0.4396573305130005, 0.10492223501205444, -0.016224868595600128, -0.2175171971321106, -0.6870197653770447, -0.4171839952468872, -0.03807729482650757, -0.00819434318691492, 0.20639663934707642, 0.2939820885658264, -0.07772080600261688, 1.1610832214355469, -0.4740673303604126, 0.21539227664470673, -0.4061276912689209, 0.19113479554653168, 0.48786377906799316, 0.41081222891807556, 0.5959176421165466, -0.4827362895011902, -0.02989364042878151, 0.036056287586688995, -1.212626338005066, -0.4178549349308014, -0.03656615689396858, 0.2459227740764618, -0.15836776793003082, 0.15881939232349396, -1.111860990524292, 0.6523179411888123, 0.05652712285518646, 0.08355248719453812, 0.8911302089691162, -0.19903664290905, 0.004890503827482462, -0.8079355359077454, 0.06599746644496918, 0.1745455265045166, 0.21727120876312256, -0.34226083755493164, 0.14603662490844727, 0.1341804563999176, -0.3642028570175171, -0.2846410572528839, 0.2999771535396576, -0.4476964473724365, -0.6111496090888977, 0.04129974544048309, -0.19522015750408173, -0.009273321367800236, -0.13606318831443787, -0.31340429186820984, 1.451157569885254, 0.45795395970344543, -0.41316115856170654, 0.4544042944908142, 0.019352000206708908, -0.6177186965942383, 0.38066256046295166, -1.147321343421936, 0.49100208282470703, 0.29543861746788025, 0.028251037001609802, -0.8712710738182068, -0.014030726626515388, 0.6494815945625305, -0.18314197659492493, 0.43779855966567993, -0.2559892237186432, -0.3775644302368164, -0.12644366919994354, -0.3547268509864807, 0.4432261288166046, 0.3009609282016754, -0.8183921575546265, 0.5915862917900085, -0.07016177475452423, -0.5808917880058289, -0.8917738795280457, -0.21895335614681244, 0.16022075712680817, -0.5334436297416687, -0.6137533783912659, -0.14928308129310608, -0.17109642922878265, -0.43473145365715027, -0.15380267798900604, -0.23889705538749695, -0.05404619500041008, 0.6081165075302124, 0.37400856614112854, 0.5563259720802307, -0.10487618297338486, -0.5483124256134033, -0.14911238849163055, -0.43914321064949036, 0.23085777461528778, 0.24578224122524261, 0.2594847083091736, 0.024583347141742706, -0.6102131009101868, -0.4932270646095276, 0.41568416357040405, 0.6186856031417847, -0.5158474445343018, 0.06479538977146149, 0.30479079484939575, -0.2624177932739258, -0.015447626821696758, -0.40872490406036377, -0.2869035303592682, -0.48356688022613525, 0.5381534099578857, -0.6578575372695923, -0.4797433912754059, 0.617095947265625, -0.010777754709124565, 0.2250874638557434, 0.14007191359996796, 0.03625139221549034, 0.2960721552371979, 0.737133800983429, 0.1950223743915558, -0.21578453481197357, 0.4243954122066498, 0.07826820760965347, 0.05982017517089844, -0.5425025224685669, -0.26207488775253296, -0.8550330400466919, 0.3664686977863312, -0.3078290820121765, 0.22747108340263367, 0.33803942799568176, 0.3188932240009308, 0.08849555253982544, 0.566562831401825, -0.4695766866207123, 0.4268895089626312, 0.2936292290687561, -0.07209938019514084, 0.2749308943748474, -0.08153394609689713, 0.07694149762392044, -0.18123328685760498, -0.31920841336250305, -0.7282044887542725, 0.863407552242279, 0.2418096661567688, 0.8603218793869019, 0.15934723615646362, 0.6113097667694092, 0.7575771808624268, 0.29368075728416443, -0.6137887239456177, 0.6297062039375305, 0.12644366919994354, -0.24629811942577362, 0.14969535171985626, -0.47071608901023865, -0.8554264903068542, 0.1985182911157608, -0.2984069287776947, -0.9334847331047058, 0.024145184084773064, -0.5501805543899536, -0.843968391418457, 0.19070619344711304, -0.4723831117153168, 0.7284507751464844, -0.25025835633277893, -0.3364310562610626, -0.07420524209737778, -0.18335404992103577, 0.6868361830711365, -0.13116946816444397, -0.12129512429237366, -0.38019728660583496, 0.018218088895082474, 0.5680429339408875, -0.27428102493286133, 0.39292672276496887, -0.14166027307510376, 0.015300162136554718, 0.35765135288238525, 0.47157201170921326, 0.8304449915885925, 0.4582057297229767, 0.03214044123888016, 0.3307417035102844, 0.004499071277678013, -0.08241725713014603, -0.5574877858161926, 0.3971136510372162, -0.7006700038909912, -0.5110610723495483, -0.6315052509307861, -0.5031834840774536, 0.17397256195545197, 0.029732102528214455, 0.4320051670074463, 0.5293481945991516, -0.2882588505744934, -0.005684530362486839, 0.6162790060043335, -0.6312920451164246, 0.8535560369491577, 0.5595713257789612, 0.28568845987319946, -0.7882707715034485, 0.7207175493240356, 0.14025163650512695, -0.04904722049832344, 0.04468511790037155, 0.22424016892910004, -0.09859020262956619, -0.6772473454475403, -0.2958449721336365, -0.1799512654542923, -0.6952463984489441, -0.6184167265892029, -0.773915708065033, -0.20310549437999725, -0.2839209735393524, -0.04302915558218956, -0.17928241193294525, -0.23595081269741058, -0.349578857421875, -0.2317858636379242, 0.3830251395702362, 0.9711369872093201, -0.03858667612075806, 0.18069399893283844, -0.8921417593955994, 0.12408306449651718, 0.4864567220211029, -0.4049634635448456, 0.05771554261445999, -0.4847673773765564, 0.1535373330116272, -0.45630529522895813, -0.4748094081878662, -0.9239935278892517, 0.4069408178329468, -0.24822548031806946, 0.6602282524108887, 0.665639340877533, 0.4005831182003021, 0.43129831552505493, -0.19284170866012573, 0.7205332517623901, 0.1720489263534546, -0.526465654373169, 0.5863186717033386, -0.2829146385192871, 0.15837432444095612, 0.5079516768455505, 0.200575590133667, -0.02962774969637394, 0.022845761850476265, -0.31326478719711304, -0.7510999441146851, 0.6448688507080078, 0.0008294658618979156, -0.3994804620742798, -0.22976545989513397, 0.5123931169509888, 0.5144334435462952, -0.31836429238319397, -0.5799918174743652, -0.019788311794400215, -0.05036328732967377, 0.03286916762590408, 0.3343505859375, -0.6538737416267395, -0.1615123748779297, 0.06844072788953781, 0.31286075711250305, 0.28038257360458374, 0.026902999728918076, 0.0853571966290474, -0.3882578909397125, 0.24646352231502533, 0.239174485206604, 0.5238968133926392, 0.4674452245235443, -0.36760321259498596, 0.22147850692272186, 0.21437585353851318, -0.7992736101150513, 0.045767541974782944, 0.2072049230337143, -0.33103057742118835, -0.2944662570953369, 0.8834860920906067, 0.0795508399605751, 0.035544637590646744, -0.5214524269104004, 0.6100553870201111, -0.5287951231002808, 0.3400011956691742, -0.28498077392578125, 0.15194325149059296, -0.6164520978927612, 0.42580509185791016, 0.6060312390327454, 0.1233333870768547, 0.06465038657188416, 0.04437112808227539, 0.5024939775466919, 0.6036551594734192, -0.26140061020851135, -0.6224156618118286, 0.36488857865333557, 0.04175964370369911, -0.2021203488111496, 0.6735884547233582, -0.06395535171031952, -0.16163313388824463, 0.7609396576881409, 0.6237966418266296, 1.5457805395126343, -0.18742837011814117, -0.17070291936397552, 0.6160897612571716, 0.6784878373146057, 0.021734468638896942, -0.11509694904088974, -0.5030932426452637, -0.5585541129112244, 0.06252709031105042, -0.1419542133808136, -0.24422527849674225, -0.09927736222743988, -1.1456676721572876, 0.11896220594644547, -0.7870506048202515, -0.18399901688098907, -0.2016908973455429, 0.1274767518043518, -0.34883183240890503, -0.4547872841358185, -0.23688533902168274, 1.0467067956924438, -0.9297879338264465, 0.8229010701179504, 0.4031938314437866, -0.6171149611473083, -0.3896135687828064, -0.014773393049836159, 0.16511346399784088, -0.8571394085884094, 0.7288980484008789, 0.5401018261909485, -0.09395314007997513, -0.5154984593391418, -0.6511123776435852, -0.5761044025421143, 1.1805354356765747, 0.5377389788627625, -0.4434082806110382, 0.3437761664390564, -0.14711587131023407, -0.36886563897132874, -0.3189094364643097, 0.6482599973678589, 0.8320978879928589, 0.3615400791168213, 0.037826057523489, -0.2636709213256836, 0.3169393241405487, -0.13341672718524933, 0.010713143274188042, -0.28338009119033813, -0.16172237694263458, 0.8122484087944031, -0.2594703137874603, -0.7443611025810242, 0.4615412950515747, 0.6802763938903809, 0.46638739109039307, 0.377196729183197, 0.42162400484085083, 0.670113205909729, 0.6352424621582031, -0.2524966597557068, 0.8932203054428101, -0.20114272832870483, 0.021167973056435585, 1.128766417503357, -0.5990855693817139, 0.5755910277366638, 0.31172168254852295, -0.08272281289100647, -0.07275532931089401, 0.7634543180465698, -0.022795088589191437, 0.9827640652656555, -0.06169317662715912, -0.5992313027381897, -0.06275085359811783, -0.14199364185333252, -0.6195617318153381, 0.2510199546813965, 0.21183624863624573, 0.09908678382635117, -0.49775925278663635, 0.060502905398607254, 0.1901254653930664, -0.13245335221290588, -0.12465865910053253, 0.9707232117652893, 0.13666804134845734, -0.38502946496009827, 0.2780435085296631, -0.4021933376789093, 0.6458957195281982, -0.7296960353851318, -0.07745468616485596, -0.5471308827400208, 0.030512800440192223, -0.22146861255168915, -0.5645769238471985, 0.2779523730278015, 0.3665335476398468, -0.1269192099571228, 0.07273995131254196, 0.8869394063949585, 0.34281492233276367, -0.040249377489089966, 0.330961138010025, 0.15878961980342865, 0.004598915111273527, 0.06500384211540222, -0.7663231492042542, 0.4831694960594177, -0.10427273064851761, -0.480697900056839, 0.3216067850589752, 0.503701388835907, 0.12305059283971786, 0.8088458180427551, 0.6963507533073425, 0.12620903551578522, 0.08368602395057678, -0.22418953478336334, 0.9172152876853943, -0.6516667604446411, -0.17157773673534393, -1.1971795558929443, -0.016581183299422264, -0.07230677455663681, -0.3101031184196472, 1.0217746496200562, 0.4705067574977875, 0.2911738455295563, 0.10600200295448303, 0.7390022873878479, -0.06590843945741653, 0.08322897553443909, -0.4830845594406128, 0.5530800223350525, -0.006350814364850521, 0.7077466249465942, -0.3209702968597412, -1.0307590961456299, 0.014824175275862217, 0.30611225962638855, -0.3598356544971466, -0.056976526975631714, 0.5238194465637207, 1.0549442768096924, 0.047709256410598755, 0.5566157698631287, 0.22821952402591705, -0.15601058304309845, 0.5932283401489258, 0.4528244733810425, 1.3785992860794067, -0.11942872405052185, 0.4985775649547577, -0.19072340428829193, -0.48809656500816345, 0.17969083786010742, -1.1043944358825684, -0.8118901252746582, -0.0992814227938652, -0.30955442786216736, -0.40707096457481384, 0.16583721339702606, 0.8952328562736511, 0.4127863049507141, -0.6748218536376953, -0.09437509626150131, -0.044002704322338104, 0.2307169884443283, -0.29217398166656494, -0.19334688782691956, 0.36124661564826965, -0.22835247218608856, -0.08797033876180649, 0.8847053647041321, 0.5434855818748474, 0.03733443468809128, 0.053706035017967224, 0.07451679557561874, 0.08715982735157013, -0.16782580316066742, 0.10297776758670807, 0.8139421343803406, -0.5976890921592712, -0.3318335711956024, -0.02663004957139492, -0.16882289946079254, -0.07284044474363327, 0.9172439575195312, -0.43072831630706787, 0.3698817491531372, 0.4227343201637268, 1.047181248664856, 0.09324849396944046, 0.1337769478559494, 0.38631904125213623, -0.468440979719162, 0.3344974219799042, 0.12047962099313736, 0.38105523586273193, 0.14221887290477753, -0.3606194257736206, 0.6452611684799194, 0.47067710757255554, -0.4583407938480377, -1.024973750114441, 0.24022209644317627, -0.9930561184883118, -0.07292163372039795, 1.0136256217956543, -0.5917321443557739, -0.3362513482570648, -0.12414705753326416, 0.022225122898817062, -0.0066240509040653706, -0.50397127866745, 0.538436770439148, 0.3455275893211365, 0.18913565576076508, -0.19943438470363617, -0.8088852167129517, 0.22978508472442627, 0.07884486019611359, -0.8045161366462708, 0.38284429907798767, 0.30842533707618713, 0.2796260416507721, -0.2107575237751007, 0.3332090377807617, -0.40594902634620667, 0.3415621221065521, -0.032268572598695755, 0.15254391729831696, -0.4709460735321045, -0.24572740495204926, -0.8837780952453613, 0.360075443983078, -0.02034015953540802, -0.6253006458282471 ]
http://arxiv.org/abs/2406.06729v1
http://arxiv.org/pdf/2406.06729v1
Synthetic Query Generation using Large Language Models for Virtual Assistants
2024-06-10T18:50:57
2024-06-10T18:50:57
Sonal Sannigrahi, Thiago Fraga-Silva, Youssef Oualil, Christophe Van Gysel
cs.IR
cs.IR, cs.AI, cs.CL
Virtual Assistants (VAs) are important Information Retrieval platforms that help users accomplish various tasks through spoken commands. The speech recognition system (speech-to-text) uses query priors, trained solely on text, to distinguish between phonetically confusing alternatives. Hence, the generation of synthetic queries that are similar to existing VA usage can greatly improve upon the VA's abilities -- especially for use-cases that do not (yet) occur in paired audio/text data. In this paper, we provide a preliminary exploration of the use of Large Language Models (LLMs) to generate synthetic queries that are complementary to template-based methods. We investigate whether the methods (a) generate queries that are similar to randomly sampled, representative, and anonymized user queries from a popular VA, and (b) whether the generated queries are specific. We find that LLMs generate more verbose queries, compared to template-based methods, and reference aspects specific to the entity. The generated queries are similar to VA user queries, and are specific enough to retrieve the relevant entity. We conclude that queries generated by LLMs and templates are complementary.
[ -0.447159081697464, -1.0113849639892578, 0.8118723034858704, -0.05015607550740242, -0.15678048133850098, -0.1299952119588852, -0.2442111074924469, -0.5138558149337769, 0.6826419830322266, 1.0720319747924805, -0.4998391568660736, -0.4834561347961426, 0.012740816920995712, 0.36164021492004395, -0.6984833478927612, 0.44407346844673157, 0.4765314757823944, 0.2406669557094574, -0.3290044069290161, -0.20247933268547058, -0.3960237205028534, -1.0364129543304443, -0.7338740229606628, -0.01022964995354414, 0.31249886751174927, 0.02275647409260273, 0.24328289926052094, 0.5379976630210876, 0.11335969716310501, 0.3795977532863617, -0.17004331946372986, 0.5493448376655579, -0.40636658668518066, 0.6616484522819519, -0.323956698179245, -0.7185832858085632, -0.2398664355278015, -0.46402081847190857, 0.5860913991928101, 0.5958955883979797, -0.15675292909145355, 0.035990506410598755, -0.18682651221752167, 0.36413145065307617, -0.794366180896759, -0.1292971819639206, -1.1054277420043945, -0.008456489071249962, -0.3883635401725769, -0.43935248255729675, -0.41729816794395447, -0.24613846838474274, 0.153143048286438, -0.5872808694839478, 0.48364752531051636, 0.03331321105360985, 0.4696771800518036, 0.03492012619972229, -0.5064979791641235, -0.48895907402038574, -1.1510553359985352, 0.665774941444397, -0.6282230019569397, 0.6101279854774475, 0.47100117802619934, 0.6057596206665039, -0.36026856303215027, -0.9097819328308105, -1.1413272619247437, -0.6570507884025574, 0.12471956759691238, -0.053119856864213943, -0.10699958354234695, 0.07385161519050598, 0.4102552533149719, 0.19994477927684784, -0.5659068822860718, 0.3118741810321808, -0.3828257620334625, -0.08539421111345291, 0.6848662495613098, 0.3517542779445648, 0.25174739956855774, -0.30847516655921936, -0.04426281154155731, -0.12849968671798706, -0.886817216873169, -0.18260547518730164, 0.29798200726509094, 0.36639103293418884, 0.1832296997308731, 0.8850581645965576, -0.29564881324768066, 1.154453158378601, -0.10733027011156082, -0.1866205334663391, 0.026858216151595116, -0.43045181035995483, -0.24648696184158325, 0.00020291795954108238, 0.8265513777732849, 0.12718720734119415, 0.5903218388557434, -0.16308245062828064, -0.2954541742801666, -0.12456892430782318, 0.3567158579826355, -0.35243794322013855, -0.014678115025162697, 0.16058087348937988, -0.2695578336715698, -0.21185433864593506, 0.12344448268413544, -0.5308157205581665, -0.3798168897628784, -0.720195472240448, 0.1273270696401596, -0.18945373594760895, -0.2981272339820862, -0.13288114964962006, -0.1526094377040863, 0.34466999769210815, 0.26425042748451233, -0.8259971141815186, 0.45953190326690674, 0.6764655709266663, 0.6722759008407593, -0.26889145374298096, 0.03308065980672836, -0.8553017377853394, 0.30190911889076233, -0.3222239911556244, 0.7500101923942566, -0.770258367061615, -1.0089741945266724, 0.2455550879240036, -0.07761558890342712, 0.03819465637207031, -0.9590345025062561, 0.3306352198123932, -0.5663211345672607, 0.24237796664237976, -0.4560166597366333, -0.5750670433044434, 0.1285417228937149, 0.2790120840072632, -0.7637608051300049, 0.964989185333252, -0.16093774139881134, -0.4278064966201782, 0.06977707147598267, -0.255857914686203, -0.4024278521537781, 0.07535456120967865, -0.6130772233009338, 0.03491543233394623, 0.2603124678134918, 0.31982073187828064, 0.29164570569992065, -0.7308515906333923, 0.012934527359902859, -0.15925277769565582, -0.3076837360858917, 0.3115394413471222, -0.21962130069732666, 0.6189955472946167, 0.0300818532705307, -0.1234816312789917, 0.1511584371328354, -0.9619446396827698, 0.06371503323316574, 0.2210230976343155, -0.2164812535047531, -0.7161516547203064, 0.05545426905155182, 0.02376766875386238, -0.024176638573408127, 0.10372073203325272, -0.39957404136657715, 0.3506840169429779, -0.5732095241546631, 0.1655818521976471, 0.5396319627761841, 0.19639776647090912, 0.19152431190013885, -0.1337212175130844, 0.6458705067634583, -0.23687663674354553, -0.19738762080669403, -0.20936653017997742, -0.41290727257728577, -0.6685647368431091, -0.24152155220508575, 0.13099916279315948, 0.5477691888809204, -0.9532877802848816, 0.2861395478248596, -0.25954189896583557, -0.5586758852005005, -0.4649519920349121, 0.07407411187887192, 0.3951948285102844, 0.7242603302001953, 0.25562620162963867, -0.1675775647163391, -0.7277688980102539, -0.9238146543502808, -0.27488020062446594, -0.38344597816467285, -0.31719762086868286, 0.8531183004379272, 0.04408537596464157, -0.18869073688983917, 0.818873405456543, -0.5070392489433289, -0.23735395073890686, -0.09072518348693848, -0.2142970860004425, 0.01968311332166195, 0.16510841250419617, 0.7667924165725708, -0.9567376375198364, -0.28508567810058594, -0.0642176941037178, -0.5515982508659363, -0.1877099722623825, 0.00833471305668354, 0.015691056847572327, 0.1651696413755417, 0.7150598764419556, -0.7926151752471924, 0.00015424257435370237, 0.333647221326828, 0.009213774465024471, 0.7750696539878845, -0.21515214443206787, -0.017657935619354248, -1.3935480117797852, 0.09587029367685318, 0.12734229862689972, -0.29439881443977356, -0.558843731880188, 0.03629351407289505, -0.2613750994205475, -0.24414657056331635, -0.4301668405532837, 0.8204972743988037, -0.45305153727531433, -0.2668670117855072, -0.2681993842124939, 0.04128841683268547, -0.022451533004641533, 0.04027630388736725, 0.24943339824676514, 1.0063639879226685, 0.6116534471511841, -0.9153714776039124, 0.5156751275062561, 0.12091014534235, 0.03142476826906204, 0.540592610836029, -0.8394511938095093, 0.5573002099990845, -0.10871310532093048, 0.1991889923810959, -0.7767128944396973, -0.2607036828994751, -0.22649239003658295, -0.355197936296463, 0.2120566964149475, -0.1779884397983551, -0.6765557527542114, -0.3229341506958008, -0.1057603657245636, 0.4321187436580658, 0.4560016691684723, -0.6787920594215393, 0.5552675127983093, 0.6490261554718018, -0.1208093911409378, -0.3136027455329895, -0.4152332842350006, 0.13910315930843353, -0.1741011142730713, -0.5374158024787903, 0.5307728052139282, 0.27546486258506775, -0.4119177758693695, -0.1118365228176117, -0.018420664593577385, -0.0982585921883583, -0.2982358932495117, 0.08318477123975754, 0.16956600546836853, -0.5238051414489746, 0.1395072042942047, 0.030568214133381844, 0.3485654592514038, -0.005377273540943861, -0.3536551296710968, 0.8887605667114258, 0.1589924544095993, -0.5693501830101013, -0.22684822976589203, 0.6501258015632629, 0.6633497476577759, -0.6124389171600342, 0.7336821556091309, 0.4958548843860626, -0.38784608244895935, -0.29683950543403625, -1.0457605123519897, -0.4367559254169464, -0.4970753490924835, 0.25222399830818176, -0.5211125016212463, -0.8718323111534119, 0.6313146948814392, 0.06306291371583939, -0.11339960247278214, 0.3099140524864197, 0.8269928097724915, 0.003421453759074211, 1.0712848901748657, 0.3799009323120117, 0.03608998283743858, 0.6282913684844971, -0.15001800656318665, -0.1943899393081665, -0.7378698587417603, -0.5267695188522339, -0.8839539289474487, 0.1825595647096634, -0.9245547652244568, -0.5295820236206055, 0.5599242448806763, -0.23368798196315765, 0.12918385863304138, 0.29450055956840515, -0.4089992344379425, 0.23759277164936066, 0.9310727715492249, -0.1358741968870163, 0.19598184525966644, 0.24149107933044434, -0.12759238481521606, 0.00490227248519659, -0.33511996269226074, -0.49677300453186035, 1.250925064086914, -0.2838398814201355, 0.6289178729057312, 0.23843899369239807, 0.8239742517471313, 0.15301577746868134, -0.14311857521533966, -0.7469774484634399, 0.7318251132965088, -0.22756153345108032, -0.30809831619262695, -0.19378811120986938, -0.50198894739151, -1.3362128734588623, 0.4008956551551819, -0.4414810836315155, -0.9542512893676758, 0.1378597766160965, 0.2939876317977905, -0.03907656669616699, 0.06468229740858078, -0.6721726655960083, 0.42357751727104187, -0.2814331650733948, -0.32493045926094055, -0.10690982639789581, -0.2306780368089676, 0.3338955342769623, -0.07729402929544449, -0.27176690101623535, 0.2687508463859558, 0.02969895675778389, 0.5843852162361145, -0.4699055552482605, 0.48076194524765015, -0.0570208802819252, 0.04317021742463112, 0.517223596572876, 0.1514890193939209, 0.5176957845687866, 0.19138413667678833, -0.4967733323574066, -0.057379454374313354, 0.14462266862392426, -0.08348644524812698, -0.7531149983406067, 0.9802191853523254, -0.4020381569862366, -1.1206969022750854, -0.18250691890716553, -0.24948439002037048, -0.3726055920124054, 0.36772435903549194, 0.17469000816345215, 0.3406170606613159, -0.24949154257774353, 0.36780640482902527, 0.5973331928253174, -0.3931333124637604, 0.009818431921303272, 0.7449053525924683, -0.14592382311820984, -0.012456909753382206, 0.8120502233505249, 0.24724331498146057, 0.06605929136276245, 0.49692341685295105, 0.0754888728260994, -0.5092210173606873, -0.4730963408946991, -0.36219677329063416, 0.4792412221431732, -0.25781694054603577, -0.06446275115013123, -0.6642026901245117, -0.266775518655777, -0.7418853044509888, 0.2468542605638504, -0.3235529959201813, -0.36867499351501465, -0.3528856635093689, 0.0019064947264268994, 0.2636318802833557, 0.49946829676628113, 0.3361208736896515, 0.04128270223736763, -0.8319148421287537, 0.6306132078170776, 0.3624700903892517, -0.12094022333621979, -0.13469193875789642, -0.1893734633922577, 0.2930206060409546, -0.03139563277363777, -0.27160972356796265, -1.1989493370056152, 0.5707729458808899, 0.1497507095336914, 0.7764883637428284, 0.13600262999534607, -0.03993571177124977, 0.5395067930221558, -0.680247962474823, 1.0098531246185303, -0.03914136067032814, -0.6199336051940918, 0.7638423442840576, -0.4694135785102844, 0.12832821905612946, 0.2617282569408417, 0.33693188428878784, -0.2646799087524414, -0.26271387934684753, -0.4599577784538269, -1.020483136177063, 0.5124027132987976, 0.38115108013153076, 0.5738993287086487, -0.21489961445331573, 0.5469865202903748, -0.1239900290966034, 0.25670668482780457, -0.28065595030784607, -0.26370957493782043, 0.09036003053188324, 0.07482267171144485, 0.199957013130188, -0.35813966393470764, -0.06126538664102554, -0.1569770723581314, 0.37222516536712646, 0.030793610960245132, 0.37249109148979187, 0.1534857451915741, 0.18146750330924988, 0.08494821190834045, 0.15083017945289612, 0.6534621715545654, 0.5406901836395264, -0.08452746272087097, -0.10446185618638992, 0.3073734939098358, -0.32382309436798096, -0.03430207818746567, 0.1646801382303238, -0.14077730476856232, 0.2961692214012146, 0.28555724024772644, 0.7786061763763428, -0.2479330450296402, -1.0138899087905884, 0.2606109082698822, -0.3028792440891266, 0.15947449207305908, -0.6820843815803528, 0.3265298902988434, 0.18723708391189575, 0.171015202999115, 0.25657254457473755, -0.47124627232551575, 0.4270481765270233, -0.6511507034301758, 0.031220469623804092, 0.759655237197876, 0.11172403395175934, -0.21843716502189636, 0.717440128326416, 0.1403883844614029, -0.7968816757202148, 0.739616870880127, 0.1422942876815796, -0.1233087033033371, 0.580892026424408, 0.8333277702331543, 0.8467985987663269, -0.443940669298172, -0.026503589004278183, 0.23712077736854553, 0.0023244230542331934, -0.08777409046888351, 0.5781524777412415, -0.30408182740211487, -0.4407269060611725, -0.2762102782726288, -0.7687268853187561, -0.4793224036693573, 0.6757408976554871, -0.7695186138153076, 0.5434044003486633, -0.31152206659317017, -0.41886836290359497, 0.19609291851520538, -0.41611820459365845, -0.9472621083259583, 0.2239169329404831, -0.007825741544365883, 0.6263541579246521, -0.4196133613586426, 0.889611005783081, 1.036360502243042, -0.3633064031600952, -0.9389382600784302, 0.20973685383796692, 0.020088031888008118, -0.6231430768966675, 0.49877792596817017, -0.254518985748291, -0.17316341400146484, -0.22789128124713898, -0.16713453829288483, -0.8044618964195251, 0.7986758351325989, 0.6412740349769592, -0.761681079864502, -0.4459605813026428, 0.307794988155365, 1.0139919519424438, -0.22308658063411713, 0.11435167491436005, 0.4083918035030365, 0.05058810114860535, -0.00652006221935153, -1.2305223941802979, 0.08733680844306946, -0.20068660378456116, 0.19401982426643372, 0.017148049548268318, -0.3189449906349182, 0.7571344971656799, 0.07476835697889328, 0.12498253583908081, 0.16875720024108887, 0.6719892024993896, 0.6284850835800171, 0.25122740864753723, 0.3503566086292267, 0.21059562265872955, 0.6708806157112122, 0.23553892970085144, 1.388282299041748, -0.1803305447101593, -0.18518085777759552, 1.1697639226913452, -0.32026728987693787, 0.9738094210624695, 0.6451302170753479, 0.0231670830398798, 0.14596347510814667, 0.2041717767715454, 0.13067379593849182, 0.30065616965293884, 0.3358372449874878, -0.361707478761673, -0.14828552305698395, -0.2255406379699707, -0.496004581451416, 0.7577882409095764, 0.6539455652236938, -0.6617268919944763, -0.03796594589948654, -0.00978055689483881, -0.2718721330165863, 0.2343473881483078, -0.052559319883584976, 1.1304235458374023, 0.35295581817626953, -0.9686323404312134, 0.6911556124687195, 0.16727018356323242, 0.34279265999794006, -0.5146586298942566, -0.12038668990135193, -0.14666880667209625, -0.07747592031955719, 0.015567424707114697, -0.4896870255470276, 0.2068725824356079, 0.24042610824108124, -0.07066414505243301, 0.22335588932037354, 0.6977858543395996, -0.27336636185646057, -0.47774383425712585, 0.1388668566942215, 0.614364504814148, 0.15806658565998077, -0.1676843762397766, -0.516110360622406, -0.00414527440443635, -0.07780366390943527, -0.27528759837150574, 0.23995494842529297, 0.43565061688423157, -0.45166006684303284, 0.577770471572876, 0.909690797328949, 0.5986426472663879, 0.321328341960907, 0.3493732810020447, 0.9142777919769287, -0.4336141049861908, -0.6045807600021362, -0.7991190552711487, 0.10228756070137024, -0.22261078655719757, -0.249024897813797, 0.7714198231697083, 0.5820433497428894, 0.8781025409698486, -0.30152982473373413, 0.8167466521263123, 0.35788917541503906, 0.5574032664299011, -0.9350274801254272, 0.38355380296707153, -0.7731215357780457, 0.5783757567405701, -0.2883533239364624, -1.3120651245117188, -0.001695431536063552, 0.40983015298843384, -0.2019120454788208, 0.16905057430267334, -0.009831572882831097, 1.128691554069519, -0.37400975823402405, -0.3310612142086029, 0.39838945865631104, 0.004833342973142862, 0.6813386082649231, -0.0025511509738862514, 0.6655288338661194, 0.04881242662668228, 0.4269689917564392, 0.01733994297683239, 0.3401683568954468, -0.467081755399704, -0.4131990671157837, -0.9121204018592834, -0.843699038028717, 0.021843643859028816, -0.4485233426094055, 0.17653372883796692, 1.0002963542938232, 0.7296949625015259, -0.7183703184127808, -0.22558681666851044, -0.10951954871416092, -0.13390730321407318, 0.30096158385276794, -0.24219895899295807, 0.3080556094646454, 0.028035394847393036, -1.0722651481628418, 0.7411548495292664, -0.013247544877231121, 0.180952250957489, -0.37458378076553345, 0.06308704614639282, -0.0034669218584895134, 0.3704068660736084, 0.6289254426956177, 0.6251352429389954, -0.9362203478813171, -0.024325959384441376, 0.30716919898986816, -0.1146569773554802, -0.2958742380142212, 1.001965045928955, -0.9510345458984375, 0.7976175546646118, 0.7338514924049377, 0.6704657077789307, 0.8205050230026245, 0.12275810539722443, 0.850825309753418, -1.0516937971115112, 0.3059720993041992, 0.5790814161300659, 0.3806507885456085, 0.4164721965789795, -0.43055346608161926, 0.25396084785461426, -0.00431413296610117, -0.194350928068161, -1.1838102340698242, 0.4039640426635742, -1.0724374055862427, -0.041326455771923065, 1.522691249847412, 0.2832801342010498, -0.11782142519950867, 0.061584342271089554, -0.45971986651420593, 0.351364403963089, -0.1934560388326645, 0.6399688124656677, 0.17109927535057068, -0.33876413106918335, 0.0652187317609787, -0.5210363864898682, 0.4627772569656372, 0.36571574211120605, -0.7167092561721802, -0.29829996824264526, 0.5745678544044495, 0.3113858103752136, 0.14923427999019623, 0.748887836933136, -0.12239970266819, 0.21486082673072815, -0.1443881392478943, -0.28924453258514404, -0.20322799682617188, -0.1843699812889099, 0.11077464371919632, 0.2322435826063156, 0.1493203192949295, -0.17840564250946045 ]
http://arxiv.org/abs/2406.06723v1
http://arxiv.org/pdf/2406.06723v1
Leveraging Large Language Models for Knowledge-free Weak Supervision in Clinical Natural Language Processing
2024-06-10T18:34:48
2024-06-10T18:34:48
Enshuo Hsu, Kirk Roberts
cs.CL
cs.CL, cs.IR
The performance of deep learning-based natural language processing systems is based on large amounts of labeled training data which, in the clinical domain, are not easily available or affordable. Weak supervision and in-context learning offer partial solutions to this issue, particularly using large language models (LLMs), but their performance still trails traditional supervised methods with moderate amounts of gold-standard data. In particular, inferencing with LLMs is computationally heavy. We propose an approach leveraging fine-tuning LLMs and weak supervision with virtually no domain knowledge that still achieves consistently dominant performance. Using a prompt-based approach, the LLM is used to generate weakly-labeled data for training a downstream BERT model. The weakly supervised model is then further fine-tuned on small amounts of gold standard data. We evaluate this approach using Llama2 on three different n2c2 datasets. With no more than 10 gold standard notes, our final BERT models weakly supervised by fine-tuned Llama2-13B consistently outperformed out-of-the-box PubMedBERT by 4.7% to 47.9% in F1 scores. With only 50 gold standard notes, our models achieved close performance to fully fine-tuned systems.
[ 0.03677714243531227, -0.7112788558006287, 0.8699542284011841, 0.18247142434120178, -0.3752427101135254, -0.24936339259147644, -0.5789238810539246, -0.7107624411582947, -0.029830440878868103, 0.804573118686676, -0.3599991500377655, -0.7539427876472473, -0.9408669471740723, 0.09824629873037338, -0.2725461423397064, 1.2701332569122314, 0.01572718657553196, 0.3637402355670929, -0.2007211148738861, -0.0014629712095484138, -0.3421124517917633, -0.3110911250114441, -0.6699202656745911, -0.6977719664573669, 0.4745228588581085, 0.6464855670928955, 0.7630881667137146, 0.5592746734619141, 0.7554208636283875, 0.14379891753196716, -0.34430986642837524, 0.3744100332260132, -0.523330807685852, 0.12771807610988617, 0.013986124657094479, -0.41467833518981934, -0.7893492579460144, -0.3836233615875244, 0.36814650893211365, 1.1630189418792725, 0.03921269252896309, -0.23649121820926666, 0.23404179513454437, 0.5534444451332092, -0.5621910095214844, 0.2128007411956787, -0.6809914708137512, -0.014182285405695438, -0.0717928409576416, -0.020266715437173843, -0.463773250579834, -0.19404461979866028, 0.43037447333335876, -0.34994205832481384, 0.43831318616867065, -0.20273198187351227, 0.777765154838562, 0.31146240234375, -0.4339914917945862, -0.551059365272522, -0.6254168152809143, 0.9491540789604187, -1.117103934288025, 0.16714772582054138, 0.9331677556037903, 0.18315742909908295, -0.27229049801826477, -0.7633589506149292, -0.055920347571372986, -0.431698203086853, -0.1944611668586731, -0.09059794247150421, -0.2032141536474228, 0.4420272707939148, 0.18468153476715088, 0.251581609249115, -0.45223063230514526, 0.6054103970527649, -0.3427933156490326, -0.0743124932050705, 0.5819261074066162, 0.2251838892698288, -0.060099296271800995, 0.054793328046798706, -0.25651130080223083, 0.3119203746318817, -0.7869855165481567, -0.25071078538894653, -0.1477736383676529, 0.728587806224823, -0.17938590049743652, 0.6439050436019897, -0.250315397977829, 0.5601048469543457, 0.015037985518574715, -0.38238707184791565, 0.05841143801808357, -0.0637773647904396, -0.46531617641448975, 0.22649075090885162, 0.7908287048339844, 0.21930083632469177, 0.307602196931839, -0.548003613948822, -0.2817626893520355, 0.22185109555721283, 0.22092808783054352, -0.7976426482200623, -0.38641101121902466, 0.2634948194026947, -0.4640915095806122, -0.22741274535655975, -0.5254459381103516, -0.53599613904953, -0.5803207755088806, -0.534736156463623, 0.2314661145210266, -0.4991036355495453, 0.04108736664056778, 0.08189478516578674, 0.23785604536533356, -0.038262106478214264, 0.4927443265914917, -1.16727614402771, 0.5903593897819519, 0.5500672459602356, 0.8414537906646729, -0.0984668955206871, 0.1528453528881073, -0.7337191104888916, 0.1975906640291214, -0.2809610962867737, 0.6974368691444397, -0.3153143525123596, -0.20100826025009155, 0.13814961910247803, 0.05496898293495178, 0.02475128136575222, -0.7871710658073425, 0.8338133096694946, -0.3792051374912262, -0.13984543085098267, -0.08904622495174408, -0.8028643727302551, 0.2495071142911911, -0.02359175682067871, -0.413821816444397, 0.7983713150024414, 0.19271863996982574, -0.6250539422035217, 0.5043418407440186, -0.1739102452993393, -0.7338559627532959, 0.0345860980451107, -0.06408221274614334, -0.4953005313873291, 0.19419759511947632, 0.5866780877113342, 0.7430046200752258, -0.25856396555900574, 0.6768034100532532, -0.575928270816803, -0.5082238912582397, -0.11134357750415802, -0.18350110948085785, 0.5027523040771484, 0.0671493411064148, -0.247446209192276, -0.0796404778957367, -0.7885060906410217, -0.16879217326641083, -0.025565916672348976, -0.3269484341144562, -0.37628474831581116, 0.0783078745007515, 0.054840948432683945, 0.07892773300409317, 0.24210776388645172, -0.3789142072200775, 0.18199899792671204, -0.8126134276390076, 0.39207538962364197, 0.5155819058418274, 0.005800717975944281, 0.4729585647583008, -0.23976069688796997, 0.06444534659385681, -0.0963510125875473, 0.09197037667036057, 0.27488094568252563, -0.5523669719696045, -0.8913465738296509, -0.3084031641483307, 0.08125603199005127, 0.4617387354373932, -0.6724151968955994, 0.24063065648078918, -0.07270697504281998, -0.3543566167354584, -0.731702446937561, 0.76387619972229, 0.4851701557636261, 0.7167278528213501, 0.7002378106117249, -0.2354608029127121, -0.4279351830482483, -1.1654773950576782, -0.14755725860595703, -0.0911392793059349, -0.28735271096229553, 0.4459746181964874, 0.3817507326602936, -0.5488371849060059, 0.6845200061798096, -0.4037608802318573, -0.8359555006027222, -0.46040666103363037, 0.2164669781923294, 0.5266452431678772, 0.4808237850666046, 0.3256773352622986, -0.3144834339618683, -0.22330543398857117, 0.05123203620314598, -0.9732471704483032, -0.2544269561767578, 0.04433821514248848, 0.058844294399023056, 0.17257606983184814, 0.6667881011962891, -0.5401872396469116, 0.3470633029937744, 0.5251717567443848, -0.16188280284404755, 0.23762357234954834, -0.395839661359787, -0.4164591133594513, -0.7673503756523132, 0.03926966339349747, 0.08383724093437195, -0.1952337771654129, -0.8272072672843933, -0.22300437092781067, 0.06464797258377075, 0.15337854623794556, -0.3948371410369873, 0.37905406951904297, -0.24882052838802338, 0.19074660539627075, -0.4596210718154907, 0.03447648510336876, -0.0443442277610302, 0.5112882852554321, 0.2520208954811096, 0.2927131950855255, 0.5753987431526184, -0.5867903828620911, 0.05766028165817261, 0.35386064648628235, -0.43469521403312683, 0.27460959553718567, -0.8762046098709106, 0.11541932821273804, -0.1580236405134201, 0.0628204420208931, -1.0265586376190186, -0.43824028968811035, -0.095396026968956, -0.15951251983642578, 0.5208982229232788, -0.4830755591392517, -0.7593236565589905, -0.07667221128940582, 0.022969478741288185, 0.26438114047050476, 0.4157610833644867, -0.4704759418964386, 0.10525742918252945, 0.1388976126909256, -0.4472198486328125, -0.31546828150749207, -1.040526270866394, 0.1917794644832611, -0.00803762674331665, -0.4788103401660919, 0.3320348560810089, 0.2706027925014496, -0.20736172795295715, -0.07762783020734787, 0.037725962698459625, -0.2765141427516937, 0.03419598937034607, 0.268535852432251, 0.273418128490448, -0.29499551653862, 0.3840228319168091, 0.4389633536338806, -0.13094323873519897, 0.043437425047159195, -0.06722395867109299, 0.1712200939655304, -0.030745726078748703, -0.35623034834861755, -0.655322790145874, 0.2928946912288666, 0.5200048685073853, 0.1283639520406723, 0.778312087059021, 0.49422985315322876, -0.6386842727661133, -0.35098883509635925, -0.4371473491191864, -0.4416959285736084, -0.42625972628593445, 0.2519769072532654, 0.23227465152740479, -1.1620546579360962, 0.2612280249595642, -0.020183231681585312, 0.07219719141721725, 0.24935853481292725, 0.8366390466690063, -0.21599902212619781, 1.2354120016098022, 0.6059309244155884, -0.16076381504535675, 0.2519770860671997, -0.040596313774585724, 0.28297674655914307, -0.6911737322807312, -0.1591334342956543, -0.2567909359931946, -0.2189350128173828, -0.3985789120197296, -0.3083030879497528, 0.4550783336162567, 0.24891461431980133, -0.15452583134174347, 0.0951443463563919, -0.3527093529701233, 0.16569459438323975, 0.5100114345550537, 0.3798556327819824, 0.40568384528160095, -0.06138502061367035, -0.10568409413099289, -0.1624133288860321, -0.6120126247406006, -0.6216025948524475, 1.4688688516616821, 0.4658295512199402, 0.898472249507904, 0.011504197493195534, 0.552747905254364, 0.3026387393474579, 0.5285331606864929, -0.8079665899276733, 0.27987945079803467, -0.44937366247177124, -0.4328590929508209, -0.010183905251324177, -0.3931419551372528, -0.9450541138648987, 0.10918815433979034, -0.3057399094104767, -0.7918887138366699, 0.08183818310499191, 0.12572693824768066, -0.5805880427360535, 0.20681443810462952, -0.8736456036567688, 0.6299707293510437, -0.17493022978305817, -0.6395149230957031, 0.05658841133117676, -0.7683313488960266, 0.6235979199409485, -0.02707740291953087, 0.1305236667394638, -0.1694025844335556, 0.15534204244613647, 0.5826048254966736, -0.5996978282928467, 1.2330296039581299, -0.16165578365325928, -0.28255632519721985, 0.18778923153877258, 0.0398271270096302, 0.6266260147094727, 0.4553278982639313, 0.05735747888684273, 0.018159283325076103, -0.1367003172636032, -0.4743574857711792, -0.363899827003479, 0.808942437171936, -0.8117589950561523, -0.19376489520072937, -0.18392038345336914, -0.5027492642402649, -0.6640997529029846, 0.08145689219236374, 0.26919466257095337, 0.4672375023365021, 0.02849660813808441, 0.18855562806129456, 0.7685310244560242, -0.1878102570772171, 0.15411442518234253, 0.5833920240402222, 0.18741381168365479, -0.2666015326976776, 0.636201798915863, -0.02844308689236641, 0.3412072956562042, 0.3593095541000366, 0.008865918964147568, -0.31054991483688354, -0.8620297908782959, -0.19106915593147278, 0.3599945306777954, -0.6223316192626953, -0.3471910059452057, -0.6753875613212585, -0.16278387606143951, -0.5467411279678345, -0.26694953441619873, -0.43921947479248047, -0.13022714853286743, -0.6853505373001099, -0.04689956456422806, 0.3317703902721405, 0.7132489085197449, 0.20527803897857666, 0.5565672516822815, -0.6098851561546326, 0.5303869247436523, 0.33070454001426697, 0.6255025267601013, -0.025754237547516823, -0.5318110585212708, -0.38492900133132935, -0.03063833713531494, -0.23389720916748047, -0.6506267786026001, 0.5494208931922913, 0.2801981568336487, 0.2862013280391693, 0.6148349046707153, 0.054270390421152115, 0.725113034248352, -0.36354708671569824, 0.5355812907218933, 0.04735250771045685, -0.6408723592758179, 0.7768528461456299, -0.40523847937583923, 0.2219787985086441, 0.8719059228897095, 0.07529179751873016, -0.19273480772972107, -0.7879884839057922, -0.43449071049690247, -1.0948857069015503, 0.8359382152557373, 0.23604367673397064, -0.10500594228506088, -0.1152510866522789, 0.33764490485191345, 0.12393023073673248, 0.13448429107666016, -0.4295315742492676, -0.02778240293264389, 0.27178388833999634, -0.23047231137752533, -0.4060153067111969, -0.34488776326179504, -0.26893264055252075, -0.31211864948272705, 0.5228343605995178, -0.47893619537353516, 0.2948456406593323, 0.4842715263366699, -0.26955753564834595, -0.3407963514328003, 0.24470870196819305, 0.4116862714290619, 0.37550902366638184, -0.5826029181480408, 0.18494290113449097, 0.3939705491065979, -0.38165849447250366, -0.2918287515640259, 0.12907487154006958, 0.015872826799750328, 0.02263152040541172, 0.8401433229446411, 0.8926467299461365, 0.4394984841346741, -0.9726536273956299, 0.5585753917694092, -0.066989466547966, -0.44852888584136963, -0.0786987915635109, -0.02318374067544937, 0.15163040161132812, 0.2768499255180359, 0.0763261690735817, 0.06082180142402649, 0.10849267989397049, -0.17952735722064972, 0.2726598083972931, 0.3192337453365326, -0.7812675833702087, -0.26872479915618896, 0.7214815020561218, -0.12022409588098526, 0.161116361618042, 0.7658286690711975, 0.05110418424010277, 0.06117750704288483, 0.5288248658180237, 0.7316845059394836, 0.6602232456207275, 0.3004491329193115, -0.044821590185165405, 0.1703791618347168, 0.2168906331062317, -0.23391570150852203, 0.23187333345413208, -0.025197112932801247, -0.48108163475990295, -0.6846444010734558, -0.6565065383911133, -0.6354039907455444, 0.3551681935787201, -0.8096107244491577, 0.3259161114692688, -0.7481153607368469, -0.2247508317232132, -0.09146618098020554, 0.015707803890109062, -0.7780197262763977, 0.3462405204772949, 0.4247609078884125, 0.7695817351341248, -0.9407023191452026, 0.9983041286468506, 0.6101383566856384, -0.06043807789683342, -0.642829418182373, -0.2562396824359894, 0.05679050832986832, -0.7398457527160645, 0.504217267036438, 0.06578374654054642, 0.08241908997297287, -0.3325665295124054, -0.6916240453720093, -0.6803587079048157, 0.9752989411354065, 0.5405275821685791, -0.5852056741714478, 0.020611472427845, 0.193001389503479, 0.9654045701026917, -0.10886376351118088, 0.15992334485054016, 0.8161425590515137, 0.1071510761976242, 0.09935793280601501, -0.9776020050048828, -0.05127207189798355, -0.15466707944869995, -0.3012727200984955, 0.07475461065769196, -0.4387952387332916, 0.6502463221549988, -0.3813213109970093, -0.08171337842941284, 0.21998274326324463, 0.5319798588752747, 0.3162216246128082, 0.4690251350402832, 0.12038561701774597, 0.7598947882652283, 0.8527694344520569, 0.05209445208311081, 0.8630536198616028, -0.07306591421365738, 0.4002673029899597, 1.1390135288238525, -0.5454356074333191, 0.8279277682304382, 0.7170897722244263, -0.05106433480978012, 0.3153441548347473, 0.32497894763946533, 0.06471900641918182, 0.5908644795417786, -0.08244302868843079, -0.2759314477443695, -0.44717690348625183, -0.3894621729850769, -0.3102169632911682, 0.31563514471054077, 0.5202826261520386, -0.6764158606529236, -0.45942890644073486, -0.20711669325828552, 0.12703083455562592, -0.0465107262134552, -0.310293048620224, 1.0361790657043457, 0.5263144373893738, -0.5822309851646423, 0.8297789692878723, 0.028716182336211205, 0.5316058993339539, -0.7929567098617554, 0.004492351319640875, -0.3271993100643158, 0.49362385272979736, -0.3221491277217865, -0.5351641178131104, 0.24664732813835144, 0.3310230076313019, -0.1416883021593094, -0.2725384533405304, 0.8219533562660217, -0.38961729407310486, -0.598379373550415, 0.5614711046218872, 0.5053718090057373, -0.030633781105279922, 0.04622194916009903, -0.30694150924682617, -0.320096492767334, -0.21757027506828308, -0.15780846774578094, 0.7152214050292969, 0.40175187587738037, -0.13956131041049957, 0.6308662295341492, 0.7494856715202332, 0.29406896233558655, -0.15609343349933624, 0.42729541659355164, 1.0682178735733032, -0.5114660263061523, -0.26410621404647827, -0.8896992206573486, 0.06897608190774918, 0.18980228900909424, -0.4756549298763275, 0.4647592008113861, 0.3252215087413788, 0.5019556879997253, 0.09590963274240494, 0.6500544548034668, 0.2519306540489197, 0.5457571744918823, -0.5633906126022339, 0.6285499334335327, -0.5996468663215637, 0.3276195824146271, -0.42978575825691223, -0.4795776307582855, -0.8203563094139099, 0.32105743885040283, -0.42136216163635254, -0.22584253549575806, 0.4385940134525299, 0.7581411004066467, -0.12815216183662415, 0.1402190923690796, 0.2904856503009796, 0.34941136837005615, 0.38150760531425476, 1.0742508172988892, 0.6591202616691589, -0.22088979184627533, 0.38312044739723206, -0.3740209639072418, -0.21070058643817902, -0.41754671931266785, -0.7236781716346741, -1.184593915939331, 0.1277768313884735, -0.09267119318246841, -0.29906103014945984, 0.09964619576931, 0.9682729244232178, 0.7623712420463562, -1.0389628410339355, 0.02207505889236927, -0.29802167415618896, 0.029870934784412384, -0.2380661517381668, -0.1609199494123459, 0.6260494589805603, -0.7190833687782288, -0.4874507188796997, 0.6453239917755127, 0.2387656569480896, 0.001473401440307498, 0.04625123366713524, -0.12003172188997269, -0.03721974790096283, -0.30453476309776306, 0.6356949210166931, 0.05212472751736641, -0.5292619466781616, 0.1460234820842743, -0.1283004879951477, -0.343811571598053, 0.04066746309399605, 0.6425263285636902, -0.8312518000602722, 0.35702401399612427, 0.25640225410461426, 0.655974268913269, 0.4908270835876465, -0.03811681643128395, 0.3978072702884674, -0.8946932554244995, 0.12508873641490936, 0.7212280035018921, 0.32878345251083374, 0.418105810880661, -0.3145855665206909, 0.3111267685890198, 0.18095886707305908, -0.6722623705863953, -0.9195336103439331, 0.032670341432094574, -1.023718237876892, -0.2603987455368042, 1.3209720849990845, -0.021693693473935127, -0.000647128967102617, -0.4194514751434326, -0.21831780672073364, 0.2635742425918579, -0.45966994762420654, 0.7492546439170837, 0.4091818630695343, -0.35351744294166565, 0.09033182263374329, -0.9408193230628967, 0.6089210510253906, 0.732358992099762, -0.506659209728241, 0.08734697103500366, 0.23362009227275848, 0.20886516571044922, -0.2577476501464844, 0.6478613018989563, -0.1453477442264557, 0.12440089136362076, -0.28326207399368286, -0.18959476053714752, 0.1736508309841156, -0.2946103513240814, -0.44981780648231506, 0.24171851575374603, 0.23993559181690216, 0.2657623887062073 ]
http://arxiv.org/abs/2406.10259v1
http://arxiv.org/pdf/2406.10259v1
Optimal synthesis embeddings
2024-06-10T18:06:33
2024-06-10T18:06:33
Roberto Santana, Mauricio Romero Sicre
cs.CL
cs.CL, cs.LG
In this paper we introduce a word embedding composition method based on the intuitive idea that a fair embedding representation for a given set of words should satisfy that the new vector will be at the same distance of the vector representation of each of its constituents, and this distance should be minimized. The embedding composition method can work with static and contextualized word representations, it can be applied to create representations of sentences and learn also representations of sets of words that are not necessarily organized as a sequence. We theoretically characterize the conditions for the existence of this type of representation and derive the solution. We evaluate the method in data augmentation and sentence classification tasks, investigating several design choices of embeddings and composition methods. We show that our approach excels in solving probing tasks designed to capture simple linguistic features of sentences.
[ -0.4399419128894806, -0.9522934556007385, 0.7945821285247803, 0.30799365043640137, -0.18480877578258514, 0.13603034615516663, -0.3153427541255951, -0.015762807801365852, 0.3919249176979065, 0.13122892379760742, -0.3916179835796356, -0.48209497332572937, -0.34452950954437256, 0.2233809530735016, -0.31510230898857117, 0.6177071332931519, -0.21531277894973755, -0.05960270017385483, -0.7405496835708618, -0.24587060511112213, -0.5924291014671326, -0.2973489761352539, 0.04397270083427429, -0.2909802496433258, 0.15667614340782166, 0.41027599573135376, 0.39304593205451965, 1.1467804908752441, 0.10811004042625427, 0.3700695335865021, -0.027326662093400955, 0.35463330149650574, -0.44851231575012207, 0.36257511377334595, -0.030259646475315094, -0.8141831755638123, 0.3243706524372101, 0.18727868795394897, 0.5250809192657471, 0.9405372142791748, 0.05731632560491562, 0.022236166521906853, 0.11741092801094055, 0.41795435547828674, -0.8218433260917664, 0.1709330528974533, -0.34795546531677246, 0.47302842140197754, 0.11356532573699951, -0.5239626169204712, -0.4230136275291443, -0.4691672921180725, 0.155901238322258, -0.7370942234992981, -0.0040524681098759174, 0.24798719584941864, 0.2733543813228607, 0.23027437925338745, -0.45458024740219116, -0.32386597990989685, -0.5434451699256897, 1.0262062549591064, -0.3075410723686218, 0.24918131530284882, -0.06193609908223152, 0.21164223551750183, -0.2749153971672058, -0.5770635008811951, -0.6538693308830261, -0.18421529233455658, 0.014094170182943344, 0.1896798014640808, -0.09416704624891281, 0.11611713469028473, 0.31987452507019043, 0.3589508831501007, -0.3022186756134033, -0.1978624314069748, -0.16168904304504395, -0.3448234498500824, 0.5576325058937073, 0.31396934390068054, 0.5219156742095947, -0.3590869605541229, -0.5392042994499207, -0.24493902921676636, -0.7392793297767639, -0.17556056380271912, 0.37210613489151, 0.12965935468673706, 0.2149638533592224, 1.0481370687484741, 0.07148776203393936, 0.7518594264984131, -0.13587208092212677, 0.04866916686296463, 0.27530378103256226, -0.39901575446128845, -0.1144641563296318, 0.0903359204530716, 0.5531744956970215, 0.5508415102958679, -0.07729756087064743, -0.28448599576950073, -0.2757149040699005, 0.422263503074646, 0.2258700728416443, -0.3853008449077606, -0.05560218542814255, 0.11912937462329865, -0.36726993322372437, -0.3597962558269501, 0.19082069396972656, -0.5420710444450378, -0.04648468643426895, -0.6695230603218079, 0.6057308912277222, -0.3703365921974182, 0.1876569539308548, 0.06073712185025215, -0.5285395979881287, 0.1331302523612976, -0.23805736005306244, -0.8759139180183411, 0.39697909355163574, 0.6092641353607178, 0.8521593809127808, -0.21049711108207703, -0.09469137340784073, -0.3390141725540161, 0.3996046185493469, -0.5967163443565369, 0.6376922130584717, -0.5430678725242615, -0.6457695960998535, 0.13600020110607147, -0.15285134315490723, 0.1641787439584732, -0.41145655512809753, 0.4160076379776001, 0.017879003658890724, 0.44403576850891113, -0.5216449499130249, -1.3348815441131592, -0.29759085178375244, -0.08227221667766571, -0.5566054582595825, 0.7428913712501526, 0.20209959149360657, -0.683994472026825, 0.15903691947460175, -0.7003728151321411, -0.6160549521446228, -0.10919730365276337, -0.38806524872779846, 0.1372920274734497, 0.5490593314170837, 0.270643025636673, 0.5303354859352112, 0.16296836733818054, -0.32876116037368774, 0.027761219069361687, -0.38574060797691345, 0.3122192919254303, -0.022485291585326195, 0.490922749042511, 0.3646167814731598, -0.28850528597831726, -0.07082533836364746, -0.6078432202339172, 0.2636203169822693, 0.1851729452610016, -0.5643697381019592, -0.6120227575302124, 0.24519506096839905, 0.1551184505224228, -0.2656261622905731, 0.22981691360473633, -0.6787011623382568, -0.04695836082100868, -0.7153833508491516, 0.5691729187965393, 0.8406845927238464, 0.21622996032238007, 0.9219884276390076, -0.6248764991760254, 0.4372614026069641, -0.02941877581179142, -0.32463550567626953, -0.1921704113483429, -0.254385381937027, -0.7598168253898621, -0.13707225024700165, 0.4959249496459961, 0.5111737847328186, -0.8926342129707336, 0.88348388671875, -0.36206573247909546, 0.006341984961181879, -0.47217148542404175, 0.004933343268930912, 0.20769986510276794, 0.06454243510961533, 0.20473046600818634, -0.14589586853981018, -0.7393071055412292, -0.9945449233055115, -0.29272595047950745, 0.1444796621799469, -0.033689528703689575, -0.0026473277248442173, 0.25891974568367004, -0.03858664259314537, 1.1419143676757812, -0.9921460747718811, -0.2275984287261963, -0.2679388225078583, -0.03646364063024521, -0.1206338033080101, 0.5380470752716064, 0.6758221387863159, -0.6408096551895142, -0.47847649455070496, -0.10888825356960297, -0.6499975323677063, -0.05344969034194946, -0.006669213995337486, -0.26492130756378174, -0.005682834889739752, 0.7320951223373413, -0.28212326765060425, 0.14212308824062347, 0.414465069770813, 0.06929917633533478, -0.05439671501517296, -0.2521870732307434, -0.08748707920312881, -1.2312901020050049, -0.14523828029632568, -0.060925353318452835, -0.42193469405174255, -0.5568428635597229, 0.267825722694397, -0.338638037443161, -0.055564478039741516, -0.38245683908462524, 0.19472333788871765, -0.5681588053703308, 0.2235552966594696, -0.45264843106269836, 0.3777759075164795, -0.04212845861911774, 0.502770185470581, -0.19565239548683167, 0.4743827283382416, 0.4206177294254303, -0.5936124324798584, 0.37374183535575867, 0.34271275997161865, -0.5511066913604736, 0.651427686214447, -0.803127646446228, 0.1874219924211502, -0.5213521122932434, 0.04541096091270447, -1.1473628282546997, -0.12595902383327484, 0.22376573085784912, -0.30785900354385376, 0.1705659031867981, 0.22971367835998535, -0.31090009212493896, -0.17783057689666748, -0.48185163736343384, 0.25001487135887146, 0.6588299870491028, -0.38467103242874146, 0.5057891011238098, 0.6090047359466553, 0.010255529545247555, -0.30016064643859863, -1.0148509740829468, -0.17818544805049896, -0.2659761309623718, -0.5448135733604431, 0.8563438057899475, -0.1970028132200241, -0.08418960124254227, 0.37909647822380066, -0.04846252128481865, 0.3136959373950958, -0.11344294250011444, 0.09513722360134125, -0.18182334303855896, 0.04954155534505844, 0.17586518824100494, 0.48172780871391296, -0.11530754715204239, -0.08132240921258926, -0.18430304527282715, 0.3176518678665161, 0.240007683634758, -0.32531389594078064, 0.06729769706726074, 0.9935836791992188, 0.3296353816986084, 0.022648321464657784, 0.459914892911911, 0.5585866570472717, -0.5975537896156311, -0.6484257578849792, -0.3602902293205261, -0.11293791979551315, -0.4724479913711548, 0.26275086402893066, -0.40595385432243347, -0.8694477677345276, 0.4957539439201355, -0.0169996228069067, 0.14317460358142853, 0.2392762452363968, 0.4138936996459961, 0.06542930752038956, 1.0521818399429321, 0.6357321739196777, -0.0324680358171463, 0.48468437790870667, -0.37919872999191284, 0.2965748906135559, -0.9002730846405029, -0.3682744801044464, -0.43891140818595886, -0.5476567149162292, -0.6811367273330688, -0.4623262584209442, 0.4762338399887085, -0.15367472171783447, -0.05985892191529274, 0.26718077063560486, -0.8243252038955688, 0.7937150597572327, 0.7088394165039062, 0.4251417815685272, -0.14291837811470032, 0.39872899651527405, -0.5877886414527893, -0.22190214693546295, -0.7935067415237427, -0.41245797276496887, 0.8457109928131104, 0.05076351761817932, 0.5720316767692566, 0.23003216087818146, 1.1060585975646973, 0.21294832229614258, -0.1741323620080948, -1.1469329595565796, 0.5356801152229309, -0.24061676859855652, -0.16993705928325653, -0.11556193232536316, -0.39378905296325684, -0.9153567552566528, 0.30583399534225464, -0.36136236786842346, -0.4519036114215851, 0.0982295572757721, -0.24853867292404175, -0.24165861308574677, -0.13271330296993256, -0.8489534854888916, 0.5708882212638855, 0.04517284035682678, -0.18664221465587616, -0.09772809594869614, -0.5405842661857605, -0.09875466674566269, 0.3279229998588562, 0.14062994718551636, 0.13291531801223755, -0.2831214964389801, 0.7398077249526978, -0.5206643342971802, 0.5074210166931152, -0.19832353293895721, 0.2552397549152374, 0.5055035948753357, 0.24082599580287933, 0.2996731996536255, -0.25629666447639465, 0.19081668555736542, -0.6518431901931763, 0.08957203477621078, -0.37628602981567383, -0.8406039476394653, 0.7590776085853577, -0.48613759875297546, -0.5947408080101013, -0.1568479835987091, -0.3364682197570801, -0.19565333425998688, 0.0759749785065651, 0.4051886200904846, 0.4353336691856384, -0.4490113854408264, 0.35763394832611084, 0.3231705129146576, -0.19410009682178497, 0.5209419131278992, -0.1573789417743683, 0.08520781248807907, -0.5529822111129761, 0.8487695455551147, 0.12545114755630493, 0.05256019905209541, 0.6246476173400879, 0.39095833897590637, -0.5336675047874451, -0.4899652898311615, -0.1697024703025818, -0.041748300194740295, -0.9953521490097046, -0.14540594816207886, -0.5425820350646973, 0.006104935891926289, -0.10014256834983826, -0.19704554975032806, -0.1306486278772354, -0.6271744966506958, -0.45528385043144226, -0.39158061146736145, 0.23103998601436615, 0.793182909488678, -0.25885528326034546, 0.1415301114320755, -0.5888587832450867, 0.0865202322602272, 0.3980751931667328, -0.03469831869006157, 0.12331725656986237, -0.10812537372112274, -0.2095194011926651, 0.1479996293783188, -0.607039749622345, -0.9878293871879578, 0.19019891321659088, 0.3677789568901062, 1.023288607597351, 0.11096495389938354, 0.1005878672003746, 0.5290377140045166, -0.7426784634590149, 1.0862658023834229, 0.3190285861492157, -1.3264974355697632, 0.7116685509681702, -0.06952807307243347, 0.07151377946138382, 0.47338375449180603, 0.45065757632255554, -0.4232043921947479, -0.4075523614883423, -0.32650622725486755, -0.9259284138679504, 0.08389347046613693, 0.37791678309440613, 0.6644619703292847, -0.4258852005004883, 0.26559942960739136, 0.06171476095914841, 0.050613172352313995, -0.4897880256175995, -0.36442360281944275, -0.12286948412656784, -0.6323327422142029, -0.08847565948963165, -0.21846327185630798, -0.21157342195510864, -0.2542624771595001, 0.36227947473526, -0.11054319888353348, 0.831565260887146, 0.24503058195114136, -0.21603509783744812, 0.19616837799549103, 0.03921179473400116, 0.6387673020362854, 0.44189488887786865, 0.22497425973415375, 0.32297998666763306, 0.011883539147675037, -0.031609851866960526, 0.5230252742767334, -0.206281378865242, -0.06438713520765305, 0.21108518540859222, 0.36547815799713135, 0.6688439846038818, 0.11376672238111496, -0.4450373351573944, 0.7825626730918884, 0.3110979199409485, -0.1563693881034851, -0.035680271685123444, 0.12336026877164841, 0.13557273149490356, 0.19633449614048004, 0.10382931679487228, -0.0980217307806015, 0.3677879869937897, -0.5421232581138611, 0.23679429292678833, 0.266684889793396, -0.12947264313697815, -0.14999106526374817, 0.5357931852340698, 0.010720208287239075, -0.0644097849726677, 0.46942323446273804, -0.17105452716350555, -0.6414573192596436, 0.3182101547718048, 0.6378050446510315, 0.8424245715141296, -0.2258910983800888, 0.33812031149864197, 0.204279825091362, -0.037229154258966446, -0.24587860703468323, 0.5118575096130371, -0.07461641728878021, -0.8245692849159241, -0.2706322968006134, -0.3993103802204132, -0.21996943652629852, -0.5225774645805359, -0.4735822379589081, 0.21085426211357117, -0.34074801206588745, -0.14379724860191345, 0.06611373275518417, -0.20087853074073792, -0.5635650753974915, -0.08055014163255692, -0.00012936251005157828, 0.39895373582839966, -0.9622820019721985, 0.16714805364608765, 0.7228649854660034, -0.36288365721702576, -0.8629060983657837, -0.24752788245677948, -0.10548636317253113, -0.40794557332992554, 0.3617589771747589, 0.12459669262170792, 0.18839555978775024, -0.10666358470916748, -0.7264893651008606, -0.5307876467704773, 0.9110898375511169, 0.565384566783905, -0.1753251999616623, 0.19015653431415558, 0.21692712604999542, 0.5514979362487793, -0.6385483145713806, -0.23637287318706512, 0.2154230922460556, 0.4772418737411499, 0.04013003408908844, -0.275862455368042, 0.3483096957206726, -0.2390703409910202, 0.4402715563774109, -0.15182657539844513, -0.2481856644153595, 0.7688902020454407, 0.19451627135276794, -0.5156281590461731, 0.3145935535430908, 0.565394401550293, 0.00782486330717802, 0.02339758537709713, 0.3496861457824707, 0.6746677160263062, 0.6406145691871643, -0.27454277873039246, 1.1630711555480957, -0.13983598351478577, 0.3450049161911011, 0.7570969462394714, 0.11798974126577377, 0.6256206631660461, 0.5944928526878357, -0.27308833599090576, 0.4858546257019043, 0.5568325519561768, 0.04462037235498428, 1.0689952373504639, 0.7287699580192566, -0.3597407042980194, -0.03937942534685135, -0.19940410554409027, -0.21889548003673553, 0.5098404884338379, 0.27942028641700745, -0.5023059844970703, 0.09067613631486893, 0.4052291512489319, -0.2544877529144287, 0.48030322790145874, 0.057317230850458145, 0.9890173673629761, 0.21319997310638428, -0.5968202352523804, 0.5343172550201416, 0.3285112679004669, 0.5475006103515625, -0.2519826889038086, 0.0030852656345814466, -0.15354101359844208, 0.02509176917374134, -0.15947087109088898, -0.7035831809043884, 0.34993359446525574, -0.6874547600746155, -0.13615266978740692, -0.2105111926794052, 0.3851693272590637, -0.7126936912536621, -0.35840967297554016, -0.04956270754337311, 0.544712483882904, -0.1440025120973587, 0.17793790996074677, -0.24015392363071442, 0.17114706337451935, 0.053568728268146515, -0.1057509332895279, -0.12090621143579483, 0.5105412006378174, 0.31808507442474365, 0.31729769706726074, 0.4624919593334198, 0.06948932260274887, 0.1412174105644226, -0.12947601079940796, 0.7969501614570618, -0.5187132954597473, -0.8709049820899963, -0.8662506937980652, 0.4048381745815277, -0.04749646410346031, 0.16051040589809418, 0.6311907172203064, 0.5357598066329956, 0.7294305562973022, -0.3859565854072571, 1.0962097644805908, -0.09987892210483551, 0.27598056197166443, -0.8596985936164856, 0.128784641623497, -0.6618592143058777, -0.028516899794340134, -0.4176056385040283, -1.4851924180984497, -0.411673903465271, 1.1204774379730225, 0.06771282851696014, -0.041774824261665344, 0.9131643176078796, 0.7867153882980347, -0.11592099815607071, 0.21997055411338806, 0.2173117995262146, -0.22618889808654785, 0.2895393669605255, 0.6474806666374207, 0.9038659334182739, -0.4448234438896179, -0.03339415416121483, -0.16162768006324768, -0.07023195922374725, 0.05219804495573044, -0.8786200881004333, -0.7164118885993958, -0.8360845446586609, -0.33037179708480835, -0.1800927370786667, -0.18703895807266235, 1.283531904220581, 0.536716878414154, -0.5304077863693237, -0.09329064935445786, -0.1932496875524521, 0.26005634665489197, -0.2166322022676468, -0.21913528442382812, 0.3991542458534241, -0.36649447679519653, -0.8566596508026123, 0.3909702003002167, 0.10551004856824875, 0.3216468095779419, -0.36147162318229675, -0.012754262425005436, -0.006946594454348087, 0.3686121106147766, 0.87004554271698, -0.2264638990163803, -0.5078855752944946, -0.6339242458343506, 0.07693790644407272, 0.018977688625454903, 0.0441412478685379, 1.0274680852890015, -0.4380608797073364, 0.7105692028999329, 1.0686973333358765, 0.8870160579681396, 0.39842814207077026, -0.012042301706969738, 0.7843636274337769, -1.2425329685211182, 0.2607632875442505, 0.16896097362041473, 0.41044390201568604, 0.3799998164176941, -0.1784224510192871, 0.34796521067619324, 0.1644122153520584, -0.19843971729278564, -0.5224862694740295, 0.3277495801448822, -1.1587435007095337, -0.46571940183639526, 1.0448976755142212, -0.11332761496305466, -0.2835331857204437, 0.25271037220954895, -0.2531757056713104, 0.3061674237251282, -0.12516629695892334, 0.46458208560943604, 0.7828167080879211, 0.0292411707341671, 0.12367535382509232, -0.07187424600124359, 0.23531514406204224, 0.25333547592163086, -0.5735616087913513, -0.444573312997818, 0.6375216841697693, 0.26698172092437744, 0.37420183420181274, 0.1651248335838318, -0.23874856531620026, -0.10713307559490204, 0.06100305914878845, -0.3371340334415436, -0.29048487544059753, -0.08258654177188873, -0.014877582900226116, 0.30031445622444153, -0.17494769394397736, -0.5951985716819763 ]
http://arxiv.org/abs/2406.06699v1
http://arxiv.org/pdf/2406.06699v1
In-Context Learning and Fine-Tuning GPT for Argument Mining
2024-06-10T18:01:55
2024-06-10T18:01:55
Jérémie Cabessa, Hugo Hernault, Umer Mushtaq
cs.CL
cs.CL, cs.LG
Large Language Models (LLMs) have become ubiquitous in NLP and deep learning. In-Context Learning (ICL) has been suggested as a bridging paradigm between the training-free and fine-tuning LLMs settings. In ICL, an LLM is conditioned to solve tasks by means of a few solved demonstration examples included as prompt. Argument Mining (AM) aims to extract the complex argumentative structure of a text, and Argument Type Classification (ATC) is an essential sub-task of AM. We introduce an ICL strategy for ATC combining kNN-based examples selection and majority vote ensembling. In the training-free ICL setting, we show that GPT-4 is able to leverage relevant information from only a few demonstration examples and achieve very competitive classification accuracy on ATC. We further set up a fine-tuning strategy incorporating well-crafted structural features given directly in textual form. In this setting, GPT-3.5 achieves state-of-the-art performance on ATC. Overall, these results emphasize the emergent ability of LLMs to grasp global discursive flow in raw text in both off-the-shelf and fine-tuned setups.
[ -0.3646834194660187, -0.7611407041549683, 0.7039483189582825, -0.25843900442123413, -0.8430840969085693, 0.06650826334953308, -0.2932340204715729, -0.11908867955207825, -0.40873292088508606, 0.286624550819397, -0.3434481620788574, -0.7814156413078308, -0.6204348206520081, 0.11276432126760483, -0.21008402109146118, 1.3636027574539185, -0.22451293468475342, -0.04605335742235184, -0.3362917900085449, -0.2849062979221344, -0.2444201558828354, -0.7316702008247375, -1.0266309976577759, -0.5657459497451782, 0.3813788890838623, 0.7358402609825134, 0.40174368023872375, 0.7410914897918701, -0.08784783631563187, 0.31978029012680054, -0.108238086104393, 0.39384540915489197, -0.11311564594507217, 0.20380890369415283, -0.26707369089126587, -0.40008074045181274, -0.17458005249500275, -0.026145493611693382, 0.6101524829864502, 0.25013017654418945, -0.2570452094078064, -0.17186613380908966, 0.2039082795381546, 0.30772942304611206, -0.40721824765205383, 0.37676137685775757, -1.1160043478012085, 0.012481600977480412, -0.5270733833312988, -0.30243390798568726, -0.45453914999961853, -0.27800482511520386, 0.1758939027786255, -0.28417372703552246, 0.2651885151863098, 0.06938595324754715, 0.9217929244041443, 0.21180732548236847, -0.3871021568775177, -0.6976779699325562, -0.2124461829662323, 0.6112984418869019, -0.9999317526817322, 0.1531674563884735, 0.21353012323379517, 0.03864726051688194, -0.2852073609828949, -0.6810532212257385, -0.4128681421279907, -0.137807697057724, -0.05153365433216095, 0.17888358235359192, -0.05690503865480423, 0.23598505556583405, 0.15631616115570068, 0.34496456384658813, -0.16834358870983124, 0.3879098892211914, -0.03454377502202988, 0.030358076095581055, 0.41195550560951233, -0.03969704359769821, -0.016881363466382027, -0.3249068260192871, -0.2524474859237671, 0.09454847872257233, -0.8632216453552246, 0.08779100328683853, 0.34537655115127563, 0.4909663200378418, 0.024064945057034492, 0.4646769165992737, -0.05567849054932594, 0.6128182411193848, 0.32488054037094116, 0.0754593163728714, -0.1879466325044632, 0.04605701193213463, -0.23480698466300964, 0.43988093733787537, 0.7721300721168518, 0.03315763175487518, 0.1512884795665741, 0.033430468291044235, -0.21465498208999634, -0.12241285294294357, -0.011509140953421593, -0.8730065226554871, -0.3546914756298065, -0.11503991484642029, -0.41772884130477905, -0.37325519323349, -0.11139116436243057, -0.6373177170753479, -0.514357328414917, -0.4199979603290558, 0.22222623229026794, -0.48353147506713867, -0.08781764656305313, 0.1557549685239792, 0.02681700512766838, 0.3697412610054016, 0.2829776704311371, -0.9550427794456482, 0.34738942980766296, 0.8989092707633972, 0.9731970429420471, -0.17644089460372925, 0.08570339530706406, -0.867254912853241, 0.16259203851222992, -0.34019312262535095, 1.3273136615753174, -0.7856207489967346, -0.29337120056152344, 0.08059443533420563, -0.29437920451164246, -0.040701910853385925, -0.6963393688201904, 1.0508543252944946, -0.495616614818573, 0.3825015425682068, -0.15744511783123016, -0.9408139586448669, -0.31968119740486145, 0.4303901493549347, -0.3712303936481476, 0.7694939374923706, 0.01960214227437973, -0.7184603810310364, 0.8131313323974609, -0.9498103857040405, -0.5873590111732483, 0.3892847001552582, -0.41381868720054626, -0.5583494901657104, 0.18728865683078766, 0.2957400679588318, 0.8347043395042419, -0.21839962899684906, 0.10329234600067139, -0.47060397267341614, -0.1454761028289795, -0.08917683362960815, -0.5159285068511963, 0.49579599499702454, 0.18862445652484894, -0.4189397096633911, 0.4199104905128479, -0.4400295317173004, 0.09724212437868118, -0.13258077204227448, -0.4837893545627594, -0.39792412519454956, 0.5848274230957031, -0.3452337682247162, 0.30534297227859497, -0.12882158160209656, -0.4959460496902466, 0.2537665069103241, -0.6913902759552002, 0.8293167948722839, 0.8359656929969788, 0.17089776694774628, 0.06080324202775955, 0.028756853193044662, 0.23199355602264404, 0.012315158732235432, -0.24287723004817963, 0.13809938728809357, -0.4956513047218323, -0.7942581176757812, -0.26846569776535034, 0.3069802522659302, 0.48171061277389526, -0.6623954176902771, 0.42025741934776306, -0.1883498728275299, -0.2496984750032425, -0.40696942806243896, 0.11721382290124893, 0.2534150183200836, 0.475749671459198, 0.37387755513191223, -0.0011064602294936776, -0.43207958340644836, -0.8135152459144592, -0.46353110671043396, -0.3855913579463959, -0.02607543021440506, 0.5096307396888733, 0.3540951907634735, -0.06661062687635422, 0.9824033379554749, -0.37625017762184143, -0.2983092665672302, -0.4727184772491455, 0.3215392529964447, 0.2303582727909088, 0.2396528273820877, 0.12698446214199066, -0.6679678559303284, -0.7033312916755676, 0.3836704194545746, -0.5183329582214355, -0.13719908893108368, -0.0770864263176918, 0.20432302355766296, 0.33553674817085266, 0.7911498546600342, -0.5601376295089722, 0.23159515857696533, 0.011180460453033447, -0.32789090275764465, 0.3434441387653351, -0.20999900996685028, -0.020993761718273163, -1.1837877035140991, -0.4096955358982086, 0.19270896911621094, -0.4059567451477051, -0.429500013589859, -0.07696942239999771, -0.021406015381217003, 0.10525479167699814, -0.38969624042510986, 0.45807594060897827, -0.17703868448734283, 0.4712415933609009, -0.4031617045402527, 0.030336054041981697, -0.28350892663002014, 0.31814831495285034, 0.21209345757961273, 0.48468658328056335, 0.34994056820869446, -0.5067746639251709, 0.23216357827186584, 0.03658689931035042, -0.445009708404541, 0.6054529547691345, -0.39366045594215393, 0.34671470522880554, 0.04947366192936897, 0.3063167333602905, -0.799074649810791, -0.32326173782348633, 0.17660903930664062, -0.1429360806941986, 0.38882535696029663, -0.517597496509552, -0.6243289709091187, -0.020954182371497154, -0.21467626094818115, 0.18114915490150452, 0.20937511324882507, -0.9157333970069885, 0.6179574131965637, 0.19347544014453888, -0.2121068388223648, -0.36238932609558105, -0.17519521713256836, 0.19621829688549042, -0.8365139365196228, -0.2606211304664612, 0.3994746208190918, 0.08075691759586334, -0.2392735332250595, -0.13569258153438568, 0.02240634709596634, 0.03802676498889923, 0.008289137855172157, 0.13536208868026733, -0.1286691427230835, -0.1577564775943756, 0.20093843340873718, 0.20926164090633392, -0.0897451713681221, 0.03155005723237991, -0.25795218348503113, 0.45970702171325684, -0.5583162903785706, -0.3876678943634033, -0.16488207876682281, 0.5006512403488159, 0.4120331406593323, 0.04298916831612587, 0.2557622790336609, 0.4640539586544037, -0.2916760742664337, -0.5473996996879578, -0.3768060505390167, -0.15232966840267181, -0.5023176074028015, 0.5695788264274597, -0.4658808708190918, -0.977269172668457, 0.31281155347824097, -0.4292091727256775, 0.3136575520038605, 0.4372362792491913, 0.7938562631607056, 0.022865308448672295, 1.104357123374939, 0.28098535537719727, -0.27652469277381897, 0.4178379774093628, -0.07431937009096146, 0.30787014961242676, -0.6293389201164246, 0.06883729994297028, -0.4975069463253021, -0.14437806606292725, -0.36281725764274597, -0.21455997228622437, 0.18255120515823364, 0.22428612411022186, -0.417807400226593, 0.05979827418923378, -0.39033371210098267, 0.7683997750282288, 0.3494868576526642, 0.009914896450936794, 0.26085761189460754, 0.07069610059261322, -0.2724643349647522, -0.027306174859404564, -0.8271755576133728, -0.5672650337219238, 0.868806004524231, 0.36243563890457153, 0.48331892490386963, -0.06383270025253296, 0.5933110117912292, 0.24762821197509766, 0.6604102253913879, -1.0848240852355957, 0.6732044816017151, -0.5425858497619629, -0.3354777693748474, -0.0018189592519775033, -0.299849271774292, -0.6364655494689941, 0.3202524483203888, -0.11420860886573792, -0.5901734232902527, -0.12895989418029785, 0.32260820269584656, -0.2872196137905121, 0.7200981974601746, -0.8195108771324158, 0.845935583114624, -0.08672423660755157, -0.17143942415714264, -0.33163973689079285, -0.37726446986198425, 0.14346231520175934, 0.09951429814100266, -0.08094251155853271, 0.16643385589122772, 0.05624089390039444, 0.61137455701828, -0.25547388195991516, 0.84971022605896, -0.4238322973251343, -0.09565943479537964, 0.32868149876594543, -0.15556183457374573, 0.5900216698646545, 0.3566461205482483, -0.06365144997835159, -0.01656402461230755, -0.3807472884654999, -0.07683492451906204, -0.6021255254745483, 0.8161970376968384, -0.5566790103912354, -0.7860419750213623, -0.4492713510990143, -0.25919821858406067, -0.36216333508491516, -0.001617317902855575, 0.47302111983299255, 0.5673649311065674, 0.0005630245432257652, 0.5842257142066956, 0.6713831424713135, 0.10596741735935211, 0.5704923272132874, 0.3308523893356323, 0.4258914291858673, -0.410590261220932, 0.879114031791687, 0.06242135539650917, 0.046545758843421936, 0.37057557702064514, 0.5963205099105835, -0.6035808324813843, -1.0025779008865356, -0.6344971060752869, -0.05079852417111397, -0.9272267818450928, -0.4239908456802368, -0.5053118467330933, -0.255454421043396, 0.11132033914327621, -0.17170833051204681, -0.2620376944541931, -0.08848247677087784, -0.33915677666664124, -0.25871577858924866, 0.3031122088432312, 0.7144172787666321, 0.27494820952415466, 0.2508609890937805, -0.39185401797294617, -0.10395027697086334, 0.38766589760780334, 0.6861830949783325, -0.11295600980520248, -0.4424220025539398, -0.26949506998062134, -0.26833438873291016, -0.4990641176700592, -0.6114460825920105, 0.08565855026245117, 0.5191778540611267, 0.4605436623096466, 0.5780237913131714, 0.1159626767039299, 0.6896745562553406, -0.6341821551322937, 0.7732567191123962, -0.1257995367050171, -0.8677645325660706, 0.4825279116630554, -0.38898172974586487, 0.1758427619934082, 0.6380947828292847, 0.2676540017127991, -0.4667281210422516, -0.2622634172439575, -0.630111813545227, -0.9325516819953918, 0.5844636559486389, -0.058666013181209564, -0.1407419741153717, -0.22789928317070007, 0.6539264917373657, 0.21371953189373016, 0.0452035553753376, -1.008720874786377, 0.2240189164876938, -0.28153422474861145, -0.47645965218544006, 0.10311009734869003, -0.050842028111219406, -0.18595649302005768, -0.43047407269477844, 0.7693732380867004, -0.5456612706184387, -0.08768001198768616, 0.12675881385803223, -0.06182189658284187, 0.06843406707048416, 0.5613486766815186, 0.5023226141929626, 0.2665613889694214, -0.11366653442382812, 0.14498557150363922, 0.4921087622642517, -0.2188398838043213, 0.025458773598074913, 0.12158384174108505, -0.07488515228033066, -0.12504956126213074, 0.3807646334171295, 0.9146835207939148, 0.16381391882896423, -0.38322120904922485, 0.3406060039997101, -0.06181640923023224, -0.602205216884613, -0.20138634741306305, 0.11234992742538452, -0.08542491495609283, 0.306651771068573, 0.23522113263607025, 0.09721875935792923, 0.12343624979257584, -0.3510760962963104, 0.17182128131389618, 0.7849276065826416, -0.5780947208404541, -0.23711183667182922, 0.23793654143810272, 0.054979804903268814, -0.19556072354316711, 0.4390040934085846, -0.30074378848075867, -0.7242953777313232, 0.18854938447475433, 0.6327546834945679, 1.1255005598068237, 0.14064951241016388, 0.026398727670311928, 0.11929943412542343, -0.044219549745321274, 0.060235895216464996, -0.09208065271377563, -0.2093627005815506, -0.7187365889549255, -0.45279964804649353, -0.38035622239112854, -0.4598657190799713, 0.48417556285858154, -0.26161497831344604, 0.3994481861591339, -0.4764208197593689, 0.24159397184848785, -0.1062704548239708, 0.32973378896713257, -0.20598848164081573, 0.0524497888982296, 0.2584477961063385, 0.697449266910553, -0.8262506127357483, 0.9716488718986511, 0.8609419465065002, 0.17340154945850372, -0.6920427083969116, 0.12032055854797363, -0.0033691972494125366, -0.13416455686092377, 0.3714428246021271, 0.2759481966495514, -0.27635663747787476, -0.027467625215649605, -0.7255913615226746, -0.4039198160171509, 0.87611323595047, 0.4021635949611664, -0.06510309875011444, 0.30031317472457886, -0.020910853520035744, 0.4694962799549103, -0.6856496334075928, 0.15187665820121765, 0.47350066900253296, 0.31808552145957947, 0.06240609660744667, -0.5000529885292053, 0.038505662232637405, -0.10923594981431961, -0.1336430013179779, 0.19010193645954132, -0.5692248344421387, 0.7535563707351685, 0.012441158294677734, -0.350960910320282, -0.22992698848247528, 0.8446769118309021, 0.4926203191280365, 0.22117185592651367, 1.0522117614746094, 0.6164992451667786, 0.6864087581634521, -0.12332237511873245, 0.839788556098938, 0.08944325149059296, 0.1429954469203949, 1.1140170097351074, -0.22922074794769287, 0.983034074306488, 0.26000115275382996, 0.1246759369969368, 0.7251121997833252, 1.0145429372787476, 0.15134197473526, 0.4744851291179657, 0.26428523659706116, -0.5493414998054504, -0.4933088719844818, 0.07991809397935867, -0.12063472718000412, 0.48298346996307373, 0.6716993451118469, -0.13724885880947113, -0.508514940738678, -0.05935345217585564, 0.3283134996891022, 0.1425522118806839, -0.4449217617511749, 1.0918399095535278, 0.0747743770480156, -0.7191739082336426, 0.46089428663253784, 0.00452023558318615, 0.8272860646247864, -0.6927084922790527, -0.25507575273513794, -0.028802016749978065, 0.4549141824245453, -0.26142725348472595, -0.8201818466186523, 0.10820072889328003, 0.14604586362838745, -0.2491643875837326, -0.10360381752252579, 0.7596070766448975, -0.41978326439857483, -0.23807477951049805, 0.1692233383655548, 0.08611375093460083, -0.009100661613047123, -0.14713133871555328, -0.714118242263794, -0.4407573342323303, 0.09409715235233307, -0.24455806612968445, 0.5098137259483337, 0.7363070845603943, -0.36790987849235535, 0.6126918792724609, 0.540969967842102, -0.011042851954698563, -0.24934245645999908, 0.13534480333328247, 1.0796804428100586, -0.4463019371032715, -0.4896810054779053, -1.2520548105239868, 0.28811243176460266, -0.3497116267681122, -0.5218486785888672, 0.5781159996986389, 0.6674829125404358, 0.7346556782722473, 0.07725394517183304, 0.7615504860877991, 0.022280337288975716, 0.40783482789993286, -0.6531312465667725, 0.5451972484588623, -0.4224359691143036, 0.10228245705366135, -0.23414932191371918, -0.6139993071556091, -0.49135029315948486, 0.6869016289710999, -0.34537631273269653, -0.1369078904390335, 0.6851404905319214, 0.4663526713848114, -0.29464060068130493, 0.27871471643447876, -0.016173502430319786, 0.175059974193573, 0.9106714725494385, 0.4867769479751587, 0.6669044494628906, -0.09438164532184601, 0.6200106739997864, 0.15372928977012634, -0.4134969115257263, -0.0402989387512207, -1.2514033317565918, -0.9352131485939026, -0.5823943018913269, -0.4852133095264435, -0.20417189598083496, -0.08721939474344254, 1.22972571849823, 0.8157598376274109, -0.9327190518379211, -0.2907814085483551, -0.2597323954105377, 0.204637348651886, -0.15537983179092407, -0.1898263543844223, 0.5642170310020447, -0.7089791893959045, -0.5050055384635925, 0.6206634640693665, 0.2958446145057678, -0.19497959315776825, 0.12570954859256744, -0.13195891678333282, -0.3569002151489258, 0.02400478534400463, 0.8096494674682617, 0.29170888662338257, -0.8059386014938354, -0.4415024518966675, -0.5033326745033264, 0.36328765749931335, 0.2933039963245392, 0.954944372177124, -0.7972589731216431, 0.2937917411327362, 0.2206931710243225, 0.6161684989929199, 0.45396140217781067, 0.18130771815776825, 0.5219282507896423, -0.9885174036026001, -0.03645653650164604, 0.36142104864120483, 0.49601462483406067, 0.4015994668006897, -0.1858370453119278, 0.2965840697288513, 0.08331067115068436, -0.7722002267837524, -0.7181571125984192, 0.3468949496746063, -0.8151206970214844, -0.3063911497592926, 1.1912118196487427, -0.18374274671077728, 0.05637221038341522, -0.433498352766037, -0.40478238463401794, 0.111065573990345, -0.5453442931175232, 0.7069439888000488, 1.000672459602356, -0.1579115390777588, -0.19565941393375397, -0.5043459534645081, 1.0189343690872192, 0.2797452211380005, -0.7941465377807617, 0.3894422650337219, 0.25825875997543335, 0.19902309775352478, -0.050356220453977585, 0.3176661729812622, -0.1645268052816391, -0.10310456901788712, -0.4254184365272522, -0.41565144062042236, 0.06106658652424812, -0.1640477031469345, -0.2770215570926666, 0.6164954304695129, 0.2221217304468155, 0.06302447617053986 ]
http://arxiv.org/abs/2406.10258v2
http://arxiv.org/pdf/2406.10258v2
Curating Grounded Synthetic Data with Global Perspectives for Equitable AI
2024-06-10T17:59:11
2024-06-18T08:58:42
Elin Törnquist, Robert Alexander Caulk
cs.CL
cs.CL, I.2.7
The development of robust AI models relies heavily on the quality and variety of training data available. In fields where data scarcity is prevalent, synthetic data generation offers a vital solution. In this paper, we introduce a novel approach to creating synthetic datasets, grounded in real-world diversity and enriched through strategic diversification. We synthesize data using a comprehensive collection of news articles spanning 12 languages and originating from 125 countries, to ensure a breadth of linguistic and cultural representations. Through enforced topic diversification, translation, and summarization, the resulting dataset accurately mirrors real-world complexities and addresses the issue of underrepresentation in traditional datasets. This methodology, applied initially to Named Entity Recognition (NER), serves as a model for numerous AI disciplines where data diversification is critical for generalizability. Preliminary results demonstrate substantial improvements in performance on traditional NER benchmarks, by up to 7.3%, highlighting the effectiveness of our synthetic data in mimicking the rich, varied nuances of global data sources. This paper outlines the strategies employed for synthesizing diverse datasets and provides such a curated dataset for NER.
[ -0.5222411751747131, -0.4732099771499634, 0.2797136902809143, 0.015875114127993584, -0.10100481659173965, 0.6728888750076294, -0.3466950058937073, -0.6752792596817017, 0.48002421855926514, 0.14159542322158813, -0.4660000503063202, -0.41935548186302185, -0.3727463483810425, 0.23038078844547272, -0.39128097891807556, 1.3865714073181152, -0.010068799369037151, 0.15030436217784882, -0.2602274417877197, -0.5093874335289001, -0.3140561580657959, -0.34807851910591125, -0.4847002327442169, -0.09769400954246521, 0.4380919635295868, 0.41005679965019226, 0.5967506170272827, 0.7354964017868042, 0.24592693150043488, 0.285722017288208, 0.13109372556209564, 0.6768163442611694, -0.5302232503890991, 0.16966544091701508, -0.33835622668266296, -0.40243691205978394, -0.18549174070358276, 0.2032330483198166, 0.8309738636016846, 0.7697591781616211, 0.08745407313108444, 0.18309061229228973, -0.11840065568685532, 0.43475455045700073, -0.4857374429702759, 0.013797277584671974, -0.804395854473114, 0.2860490083694458, -0.10746239870786667, 0.40593746304512024, 0.0011019654339179397, -0.23446479439735413, 0.25122421979904175, -0.9553892612457275, 0.5435388088226318, -0.07742702215909958, 0.6030299067497253, 0.2777588665485382, -0.5141599774360657, 0.007006464991718531, -1.1529086828231812, 0.8300502896308899, -0.237249955534935, 0.4252632260322571, -0.1382434219121933, 0.6121708750724792, -0.019390469416975975, -0.7113625407218933, -0.6422113180160522, 0.05452161654829979, 0.2002301663160324, 0.04104459658265114, -0.004729159642010927, -0.39887097477912903, 0.19288849830627441, 0.3502388000488281, -0.389830619096756, 0.11400722712278366, -0.49564987421035767, -0.2162499874830246, 1.0130106210708618, 0.09487461298704147, 0.446527898311615, 0.1963990032672882, 0.028824685141444206, -0.19199910759925842, -0.7661451697349548, -0.0003981027693953365, 0.6778317093849182, 0.5150372982025146, -0.1304129809141159, 0.49094507098197937, -0.5014616250991821, 0.41104117035865784, -0.13909871876239777, -0.03689277917146683, 0.4381265938282013, -0.42780303955078125, 0.064988873898983, 0.0840691402554512, 0.4921000599861145, 0.29311084747314453, 0.2910231351852417, -0.5098459720611572, -0.17355979979038239, 0.053334373980760574, 0.43296709656715393, -0.5891196131706238, -0.16822713613510132, 0.12296175211668015, -0.20850425958633423, -0.2826984226703644, 0.4626922905445099, -0.9390760660171509, -0.43096300959587097, -0.7042261362075806, -0.10180920362472534, -0.1358467936515808, -0.1814528852701187, -0.3248254060745239, -0.3863294720649719, 0.33600637316703796, 0.3602127432823181, -0.6525765657424927, 0.2769372761249542, 0.7530835866928101, 0.6209877729415894, -0.3710252642631531, -0.11569064855575562, -0.29984647035598755, 0.18799568712711334, -0.2124393731355667, 0.6384406685829163, -0.5982233285903931, -0.31277984380722046, -0.19165454804897308, -0.1420624852180481, 0.36233434081077576, -0.8512930274009705, 0.41198545694351196, -0.25349846482276917, 0.08229703456163406, -0.17322178184986115, -0.24648478627204895, -0.1264152228832245, 0.536936342716217, -0.8941499590873718, 0.7553052306175232, 0.031056275591254234, -0.6977331638336182, 0.831495463848114, -0.5404826402664185, -0.5820904970169067, 0.03964175283908844, -0.6513142585754395, -0.44828322529792786, 0.16583393514156342, 0.5350126028060913, 0.0360540933907032, -0.3460296392440796, 0.796271800994873, -0.19452644884586334, -0.1761762797832489, 0.10879912972450256, -0.4454256594181061, 0.518878161907196, 0.2120109349489212, -0.2106056660413742, 0.0003051056992262602, -1.1005431413650513, -0.011651327833533287, 0.07535560429096222, -0.1668129712343216, -0.5143595337867737, 0.16275238990783691, 0.2645137310028076, 0.1085255891084671, -0.1781899482011795, -0.5018177628517151, 0.22980919480323792, -0.5515061020851135, 0.45336997509002686, 0.5518555641174316, 0.08573932945728302, 0.6571781039237976, -0.5457338094711304, 0.46672725677490234, 0.13448448479175568, -0.03750589117407799, 0.07910367846488953, -0.48320135474205017, -0.803657054901123, -0.4358827769756317, 0.5053032040596008, 0.6220078468322754, -0.6559177041053772, 0.4083145260810852, -0.7031407356262207, -0.6275997757911682, -0.6653754115104675, -0.05006475746631622, -0.09515786916017532, 0.3499337434768677, 0.5023669004440308, -0.0183141827583313, -0.9354566335678101, -1.1178810596466064, -0.4854229688644409, 0.12008803337812424, -0.19016632437705994, 0.5018004775047302, 0.5566657781600952, -0.5209323763847351, 1.3036400079727173, -0.27682963013648987, -0.07419329136610031, -0.40372633934020996, 0.07410886138677597, 0.14263133704662323, 0.7854247093200684, 0.3932291865348816, -1.0608750581741333, -0.19474533200263977, -0.05065794289112091, -0.8119783401489258, 0.3174140453338623, -0.5361230373382568, -0.4083690941333771, -0.19717326760292053, 0.2533486485481262, -0.5870658755302429, 0.2454955130815506, 0.025679850950837135, 0.054110608994960785, 0.09699508547782898, 0.19904465973377228, -0.039173997938632965, -1.3062748908996582, 0.2582107484340668, -0.07888755202293396, -0.12338795512914658, -0.5427520871162415, 0.23659129440784454, -0.27013063430786133, -0.4037603735923767, -0.36558589339256287, 0.8476450443267822, -0.44405460357666016, 0.08730979263782501, 0.2311888188123703, -0.13827277719974518, -0.09580788016319275, 0.05078024044632912, -0.012666051276028156, 0.5008363127708435, 0.39001235365867615, -0.48393040895462036, 0.40605276823043823, 0.30044806003570557, -0.18941301107406616, 0.41139453649520874, -0.7286118865013123, -0.07114700227975845, -0.4277164936065674, 0.42018669843673706, -0.33669573068618774, -0.5562763214111328, 0.2967444658279419, -0.2625964283943176, 0.23567530512809753, -0.133631631731987, -0.24826684594154358, -0.18546441197395325, -0.1421571671962738, 0.943855345249176, 0.4473738968372345, -0.6462796926498413, 0.6841415166854858, 0.8076887726783752, -0.09643921256065369, -0.5586043000221252, -0.7856729626655579, 0.22978200018405914, -0.45021918416023254, -0.4862063527107239, 0.805140495300293, 0.12053672224283218, -0.412789523601532, 0.023704148828983307, -0.2787313759326935, -0.06539982557296753, 0.15983225405216217, 0.18560872972011566, 0.13996489346027374, 0.03737917169928551, 0.1205005794763565, 0.2666685879230499, 0.05474533885717392, -0.04492320492863655, -0.6391032338142395, 0.2258441299200058, 0.16058291494846344, -0.3406110107898712, -0.10973277688026428, 0.44976693391799927, 0.39284011721611023, -0.3372923731803894, 0.6733511090278625, 0.6542983651161194, -0.7419349551200867, -0.6252159476280212, -0.2850019931793213, -0.09914883971214294, -0.4015166461467743, 0.14177663624286652, -0.15213654935359955, -0.7977136373519897, 0.7167807221412659, -0.15781567990779877, 0.15467460453510284, 0.4088587462902069, 0.39251255989074707, 0.22679592669010162, 0.90406733751297, 0.5828890204429626, -0.309903085231781, 0.24057668447494507, -0.6280713677406311, 0.5908833146095276, -0.5307568311691284, -0.5329107642173767, -0.31720948219299316, -0.744076669216156, -1.0072827339172363, -0.5243483781814575, 0.4384196996688843, -0.3039619028568268, -0.19744499027729034, -0.1265258938074112, -0.5586075782775879, 0.6624331474304199, 0.6856536269187927, -0.014371675439178944, 0.11647802591323853, 0.26248157024383545, 0.004757331684231758, -0.18686002492904663, -0.47481945157051086, -0.545799970626831, 1.2222697734832764, 0.07084858417510986, 0.586410403251648, -0.00611720560118556, 1.067592978477478, 0.3934957981109619, 0.35917821526527405, -0.7032250165939331, 0.42377161979675293, -0.02090027928352356, -0.494476318359375, -0.19389118254184723, -0.5810725092887878, -0.9845132827758789, 0.050994228571653366, -0.4455563426017761, -0.3406178653240204, 0.38480594754219055, -0.14555232226848602, -0.3657224774360657, 0.22054524719715118, -0.23189666867256165, 0.6247706413269043, -0.177620530128479, -0.2151898294687271, -0.10975344479084015, -0.4879612922668457, 0.4369274377822876, -0.20844697952270508, 0.3466188311576843, -0.034024517983198166, -0.02255084179341793, 0.5475849509239197, -0.2020568698644638, 0.5375202298164368, 0.013656538911163807, 0.16644132137298584, 0.3274836242198944, -0.30139145255088806, 0.3874562978744507, 0.7571325898170471, -0.1752743124961853, 0.2707759439945221, -0.5888347625732422, -0.43799102306365967, -0.6469925045967102, 0.8153162002563477, -1.003614902496338, -0.5400554537773132, -0.46221834421157837, -0.7047349214553833, -0.31923192739486694, 0.16302205622196198, 0.12373385578393936, 0.18013080954551697, -0.6202051043510437, 0.29035183787345886, 0.3728347718715668, -0.3497820794582367, 0.10472372174263, 0.1258603036403656, 0.22195236384868622, -0.613876461982727, 1.0763579607009888, 0.37514549493789673, -0.3348689675331116, 0.31664037704467773, -0.375572144985199, -0.042853571474552155, -0.4619041085243225, -0.5813114047050476, -0.08887854218482971, -0.43395671248435974, -0.27163058519363403, -0.7835390567779541, -0.49384522438049316, -0.35281917452812195, -0.20557178556919098, -0.25343674421310425, -0.7415503263473511, -0.23676183819770813, -0.4339366555213928, 0.1430148482322693, 0.5118418335914612, -0.050648145377635956, -0.17543549835681915, -0.7000720500946045, 0.5392900705337524, 0.2667215168476105, 0.20402196049690247, -0.11354164034128189, -0.0886496901512146, -0.2628851532936096, 0.45222777128219604, -0.23014573752880096, -0.5873145461082458, 0.6207045316696167, 0.5151898860931396, 1.0375666618347168, 0.08584516495466232, 0.19571241736412048, 0.709289014339447, -0.5382946729660034, 0.7818408012390137, -0.28600379824638367, -0.7605826258659363, 0.6708880662918091, -0.3530946373939514, 0.0029613166116178036, 0.6726388931274414, 0.4840978682041168, -0.3666660785675049, -0.487179696559906, -0.775114119052887, -1.328454613685608, 0.5130359530448914, 0.31516680121421814, 0.4739486575126648, -0.038836803287267685, 0.2987546920776367, 0.4447857141494751, 0.3026450574398041, -0.6056150197982788, -0.14249210059642792, -0.34421926736831665, -0.5491097569465637, 0.05168001726269722, 0.32426461577415466, -0.2480584979057312, -0.40054985880851746, 0.6336666345596313, -0.10993067920207977, 0.07416865229606628, 0.13324151933193207, -0.23224584758281708, 0.2770470976829529, 0.12080910801887512, 0.14433938264846802, 0.43577584624290466, 0.24407854676246643, 0.10063556581735611, 0.10826019197702408, -0.3646894097328186, 0.3537462651729584, 0.3420681059360504, -0.6313847303390503, -0.02879500947892666, 0.25175178050994873, 0.6142860651016235, -0.15884406864643097, -0.9707887768745422, -0.06072862073779106, -0.14727361500263214, 0.1406419277191162, -0.35051363706588745, 0.3255012035369873, -0.16880446672439575, 0.3433752954006195, 0.46317967772483826, 0.2783324122428894, 0.36939460039138794, -0.5705468058586121, 0.4265190362930298, 0.4220767319202423, 0.3213154375553131, -0.19083663821220398, 0.6975239515304565, 0.28270095586776733, -0.07073061913251877, 1.1189846992492676, -0.4501296281814575, -0.32754141092300415, 0.9304027557373047, 0.38234418630599976, 0.810252845287323, 0.1835639625787735, 0.42347773909568787, 0.566958487033844, 0.1182585209608078, -0.05408788472414017, 0.26836052536964417, -0.11789160221815109, -0.8357492089271545, -0.004065308719873428, -0.6003116369247437, -0.4171075224876404, 0.019861167296767235, -0.5601096153259277, 0.24657928943634033, -0.5848746299743652, -0.19716262817382812, -0.03288999944925308, -0.04094700887799263, -0.9978266358375549, 0.3047356605529785, 0.3791002035140991, 0.5902804732322693, -0.9159191846847534, 0.5159469842910767, 0.8661556243896484, -0.5418710708618164, -0.5826292634010315, 0.18919578194618225, -0.06429784744977951, -0.6166982650756836, 0.6293225288391113, 0.38938668370246887, 0.5163496732711792, -0.06498804688453674, -0.5703027844429016, -1.0472233295440674, 1.0791610479354858, 0.4356405436992645, -0.3473000228404999, -0.008862204849720001, 0.49466636776924133, 0.6965516209602356, -0.6056148409843445, -0.06560813635587692, 0.48508238792419434, 0.4848441779613495, -0.02398582547903061, -0.44565001130104065, -0.020885638892650604, -0.696017324924469, 0.07978256046772003, -0.033599045127630234, -0.5627306699752808, 0.7912336587905884, -0.2775706350803375, -0.3989531397819519, -0.21144042909145355, 0.7414160370826721, 0.5586592555046082, 0.4461197257041931, 0.16119486093521118, 0.7365008592605591, 0.9920169711112976, -0.210876926779747, 0.7504638433456421, -0.21305212378501892, -0.02392449602484703, 1.0324572324752808, -0.36647993326187134, 0.3780500292778015, 0.3719055652618408, -0.0874723270535469, 0.5832774043083191, 0.6891428828239441, -0.5503453612327576, 0.49252113699913025, 0.4533645212650299, -0.18620823323726654, -0.15013527870178223, -0.4961302876472473, -0.19873131811618805, 0.662988543510437, 0.293283075094223, -0.2674782872200012, -0.27485278248786926, 0.04855427145957947, -0.290054589509964, 0.0987439826130867, -0.1562451422214508, 0.7519323229789734, -0.0536714568734169, -0.700306236743927, 0.22859647870063782, 0.13009442389011383, 0.576530396938324, -0.11748522520065308, -0.31818222999572754, -0.5195866227149963, 0.0010689349146559834, -0.09857503324747086, -0.5647179484367371, 0.47731688618659973, 0.1408316045999527, -0.47957152128219604, -0.23861615359783173, 0.55414879322052, -0.5342912673950195, -0.8746191263198853, -0.08732352405786514, 0.7403949499130249, -0.011783478781580925, 0.11748115718364716, -0.504831075668335, -0.1827523559331894, -0.04150763899087906, 0.10719146579504013, 0.29076457023620605, 0.5800158977508545, -0.5518090128898621, 0.6055124402046204, 0.8510490655899048, 0.1874241977930069, 0.030382387340068817, 0.06270325183868408, 0.93804532289505, -0.5531282424926758, -0.6948938965797424, -0.7424982786178589, 0.6701593995094299, -0.40262818336486816, -0.3117663860321045, 0.5645163655281067, 0.8264451622962952, 1.2084603309631348, -0.0014754512812942266, 1.1543563604354858, -0.08933605998754501, 0.23217536509037018, -0.25190943479537964, 0.7096232175827026, -0.4680549204349518, 0.2635563910007477, 0.11282753199338913, -0.9939013123512268, -0.3862762451171875, 0.5376899838447571, -0.04052675887942314, 0.17361493408679962, -0.18350882828235626, 0.5404348969459534, -0.4294498562812805, -0.019208654761314392, -0.1604791134595871, 0.006479618605226278, 0.5388693809509277, 0.2597954273223877, 0.7757781147956848, -0.3563619554042816, 0.19793152809143066, -0.09620505571365356, 0.09814240038394928, -0.01877996139228344, -0.7602161169052124, -0.5947530269622803, -0.327108234167099, -0.32791030406951904, 0.07930488884449005, 0.04228004440665245, 1.1914913654327393, 0.8441049456596375, -1.0904492139816284, 0.1687345653772354, -0.3477625846862793, 0.2851199209690094, -0.017089271917939186, -0.2307662069797516, 0.02996787801384926, -0.20834343135356903, -0.9031881093978882, 0.5072523355484009, -0.052002426236867905, 0.29560571908950806, -0.23974743485450745, -0.022309046238660812, 0.17199555039405823, -0.03316689655184746, 0.33000481128692627, 0.3660842478275299, -0.5432594418525696, -0.11928966641426086, -0.08681407570838928, 0.2066890150308609, -0.10382240265607834, 0.7831956148147583, -1.1876064538955688, 0.3733097016811371, 0.4850881099700928, 1.0604240894317627, 0.056338366121053696, 0.13992393016815186, 0.859383225440979, -1.0157577991485596, 0.40487444400787354, 0.6088711023330688, 0.3545801639556885, 0.6189171075820923, -0.4356783628463745, 0.6686280369758606, 0.3661477565765381, -0.23778651654720306, -1.0210975408554077, 0.10437113046646118, -0.7482905983924866, -0.1461247354745865, 0.9532740116119385, 0.03753075376152992, 0.15559473633766174, -0.05435464531183243, -0.010915153659880161, 0.4624278247356415, -0.5175482034683228, 0.9434887766838074, 0.4923628270626068, -0.04984182119369507, 0.17362534999847412, -0.3636743426322937, 0.4001091718673706, 0.05008948594331741, -0.9984334111213684, -0.2277604341506958, 0.7525270581245422, 0.13814347982406616, 0.18251538276672363, 0.007820675149559975, -0.007006776053458452, -0.10095366090536118, 0.010910185053944588, -0.07958638668060303, 0.042256973683834076, -0.7142543792724609, -0.016709761694073677, 0.008898588828742504, -0.3441689610481262, 0.15976831316947937 ]
http://arxiv.org/abs/2406.06496v2
http://arxiv.org/pdf/2406.06496v2
Direct Preference Optimization for Suppressing Hallucinated Prior Exams in Radiology Report Generation
2024-06-10T17:31:36
2024-06-14T19:47:20
Oishi Banerjee, Hong-Yu Zhou, Subathra Adithan, Stephen Kwak, Kay Wu, Pranav Rajpurkar
cs.LG
cs.LG, cs.CL, cs.CV
Recent advances in generative vision-language models (VLMs) have exciting potential implications for AI in radiology, yet VLMs are also known to produce hallucinations, nonsensical text, and other unwanted behaviors that can waste clinicians' time and cause patient harm. Drawing on recent work on direct preference optimization (DPO), we propose a simple method for modifying the behavior of pretrained VLMs performing radiology report generation by suppressing unwanted types of generations. We apply our method to the prevention of hallucinations of prior exams, addressing a long-established problem behavior in models performing chest X-ray report generation. Across our experiments, we find that DPO fine-tuning achieves a 3.2-4.8x reduction in lines hallucinating prior exams while maintaining model performance on clinical accuracy metrics. Our work is, to the best of our knowledge, the first work to apply DPO to medical VLMs, providing a data- and compute- efficient way to suppress problem behaviors while maintaining overall clinical accuracy.
[ -0.4225720167160034, -0.40468716621398926, 0.8474112749099731, -0.041696783155202866, -0.5011569261550903, -0.39089536666870117, -0.04691973701119423, -0.35411080718040466, 0.12982289493083954, 1.0185494422912598, -0.5173394083976746, -0.4362553060054779, -0.5557992458343506, 0.08182547986507416, -0.05413960665464401, 0.7900015115737915, 0.05015946924686432, 0.24504882097244263, -0.40662842988967896, 0.19347912073135376, -0.6279941201210022, -0.6792104840278625, -0.6766639947891235, -0.341162770986557, 0.40752729773521423, 0.22081543505191803, 0.8259121775627136, 0.6112393736839294, 0.725134551525116, 0.12834127247333527, 0.01588618755340576, 0.42865049839019775, -0.6282880902290344, 0.232655331492424, 0.2178325206041336, -0.2478773146867752, -0.6006067395210266, -0.3256385028362274, 0.4108087122440338, 0.6431149244308472, 0.004702100530266762, -0.21397681534290314, -0.17475582659244537, 1.005959153175354, -0.8680777549743652, -0.061263907700777054, -0.5831716060638428, 0.41008543968200684, 0.127815842628479, -0.9969499707221985, -0.7955640554428101, -0.32523584365844727, 0.11303184181451797, -0.5650022625923157, 0.3333316743373871, -0.15386179089546204, 0.9354334473609924, 0.6592026352882385, -0.2036745697259903, -0.0634368434548378, -0.9856471419334412, 0.5797478556632996, -0.28746894001960754, 0.4284009337425232, 0.7393174767494202, -0.010098119266331196, -0.06796703487634659, -0.6874139904975891, -0.1721600890159607, -0.4161728024482727, -0.29145580530166626, 0.22748759388923645, -0.3894056975841522, 0.5445526838302612, 0.29940757155418396, 0.27081432938575745, -0.8051633834838867, 0.16563308238983154, -0.423951655626297, -0.1924368143081665, 0.728651225566864, 0.4352691173553467, -0.11557292938232422, -0.18893952667713165, -0.23053881525993347, -0.21130765974521637, -0.8639337420463562, -0.2702093720436096, -0.04796129837632179, -0.03975670784711838, 0.5329008102416992, 0.4313945174217224, -0.4997415244579315, 0.8374997973442078, 0.2148471623659134, -0.0069564338773489, 0.4792874753475189, 0.03314564749598503, -0.39863458275794983, 0.18316739797592163, 0.40134668350219727, 0.5711485743522644, 0.0545867495238781, -0.050377752631902695, -0.1812514066696167, 0.3252948224544525, 0.6154100298881531, -0.8851684927940369, -0.3235439658164978, 0.2062075138092041, -0.74959397315979, -0.8490781188011169, -0.2178688645362854, -0.7741736173629761, -0.5538979768753052, -0.6024207472801208, 0.47224146127700806, -0.2930162250995636, -0.11509179323911667, 0.45157861709594727, 0.13893184065818787, 0.06421232968568802, 0.31068718433380127, -0.6385973691940308, 0.31446805596351624, 0.42553338408470154, 0.4919090270996094, 0.028837118297815323, -0.13313858211040497, -1.0225595235824585, 0.14566780626773834, -0.38301020860671997, 0.6107459664344788, -0.4692283272743225, -0.9578931331634521, -0.11988982558250427, -0.2862626314163208, 0.07984078675508499, -0.8606324195861816, 0.46157413721084595, -0.4160800874233246, 0.0861116498708725, -0.032540690153837204, -0.35429102182388306, 0.0809251070022583, 0.0066370912827551365, -0.2667681872844696, 0.5742986798286438, -0.04016326367855072, -0.5170660018920898, 0.5058886408805847, -0.2823638617992401, -0.5667611956596375, 0.09811564534902573, -0.43456998467445374, -0.49310654401779175, 0.4541738033294678, 0.27394306659698486, 0.29859912395477295, 0.04793854430317879, 0.23900969326496124, 0.0924108549952507, -0.42559656500816345, -0.10340449959039688, -0.1587783694267273, 0.491536945104599, 0.42071089148521423, -0.3760680556297302, 0.46736371517181396, -0.8109669089317322, 0.23968848586082458, 0.249211847782135, 0.1579471230506897, -0.6711273789405823, 0.16477204859256744, -0.5882670283317566, 0.18026582896709442, -0.08250385522842407, -0.2676674723625183, 0.15956099331378937, -0.3054943084716797, -0.16840577125549316, 0.9181034564971924, 0.0412663035094738, 0.12164989858865738, -0.4857543408870697, 0.36248740553855896, 0.028394583612680435, 0.7551108598709106, 0.3438696563243866, -0.37318164110183716, -0.905310869216919, -0.27768808603286743, -0.26834118366241455, 0.3355843126773834, -0.714942991733551, 0.4503142237663269, -0.0944308340549469, -0.38898342847824097, -0.3261488974094391, -0.16870464384555817, 0.4030306041240692, 0.8503496646881104, 0.38433638215065, -0.3984750509262085, -0.7162411212921143, -0.9492591023445129, 0.24228540062904358, -0.1660168319940567, 0.01023155264556408, 0.29138365387916565, 0.061585038900375366, -0.3478028178215027, 0.6626595854759216, -1.1481252908706665, -0.5041140913963318, -0.04544927179813385, -0.0638299286365509, -0.07192486524581909, 0.4523793160915375, 0.5996599793434143, -0.9483956694602966, -0.3295023441314697, -0.1633937805891037, -0.6981090903282166, -0.17448341846466064, -0.13349312543869019, -0.287788063287735, 0.40364402532577515, 0.643232524394989, -0.29914236068725586, 0.8271886110305786, 0.3229359984397888, -0.324872761964798, 0.3964619040489197, -0.4976927936077118, 0.06339434534311295, -0.3437270224094391, -0.02513037621974945, -0.16974510252475739, -0.19010065495967865, -0.6929251551628113, 0.06854011863470078, -0.11825075000524521, -0.2277638018131256, -0.2452915459871292, 0.41330453753471375, -0.47248774766921997, 0.28152039647102356, -0.3450324237346649, -0.3070155680179596, 0.11680571734905243, 0.29698416590690613, 0.7852620482444763, 0.21921822428703308, 0.5650458335876465, -0.8353727459907532, -0.1860237568616867, 0.46485409140586853, -0.09230001270771027, 0.2914021611213684, -0.5058682560920715, 0.5555052757263184, -0.534182071685791, -0.10890619456768036, -0.49107998609542847, 0.15291695296764374, 0.32186272740364075, -0.3265434205532074, 0.4529656171798706, 0.06491155177354813, -0.027992233633995056, -0.5378490090370178, -0.4520881474018097, 0.18411292135715485, 0.811144232749939, -0.34012284874916077, 0.2814315855503082, 0.13933834433555603, 0.026103541254997253, -0.5254576206207275, -0.47614434361457825, -0.18691737949848175, 0.09049785882234573, -0.4669148623943329, 0.5638587474822998, -0.2577921748161316, -0.36296015977859497, 0.034482136368751526, -0.3056384027004242, -0.16418446600437164, -0.025046823546290398, 0.29126662015914917, 0.5589670538902283, -0.2239990532398224, -0.025926612317562103, 0.05091677978634834, -0.339053750038147, -0.0809941366314888, -0.08328289538621902, 0.8275105357170105, 0.11726607382297516, -0.10766929388046265, -0.35179436206817627, 0.46145713329315186, 0.5154441595077515, -0.14211726188659668, 0.46815189719200134, 0.324673056602478, -0.26623669266700745, -0.11203420162200928, -0.5920541882514954, -0.45889517664909363, -0.4868205189704895, 0.4858008325099945, -0.44803452491760254, -0.5900216698646545, 0.021081754937767982, 0.21060769259929657, -0.19234131276607513, 0.1856319010257721, 0.49387067556381226, 0.25223448872566223, 1.2219172716140747, 0.49837958812713623, 0.25735288858413696, 0.41495296359062195, -0.11893149465322495, 0.1439337432384491, -0.6201688051223755, -0.1679876446723938, -0.36342382431030273, 0.20768053829669952, -0.4216487407684326, -0.17120499908924103, 0.5939233899116516, -0.2901028096675873, 0.1510280966758728, -0.4027351438999176, -1.0505284070968628, 0.6417564749717712, 0.5208188891410828, 0.5914434790611267, 0.3557263910770416, 0.06544552743434906, 0.39963939785957336, -0.3390246033668518, -0.5950226783752441, -0.28011807799339294, 1.2984914779663086, -0.011759805493056774, 0.6736612915992737, -0.3231726884841919, 1.0583323240280151, 0.19861428439617157, 0.10415661334991455, -0.7625921368598938, 0.49624329805374146, -0.4387737810611725, -0.363239586353302, -0.2935132086277008, -0.5195930004119873, -0.9543774724006653, 0.27880117297172546, -0.16466109454631805, -0.4889601171016693, 0.31270870566368103, 0.40589919686317444, -0.5792635679244995, 0.011354601942002773, -0.39169567823410034, 0.6059346795082092, -0.3554403483867645, -0.3754471242427826, -0.4207639992237091, -0.558702826499939, 0.36883345246315, -0.11541042476892471, -0.1496233493089676, 0.09069371968507767, 0.14864753186702728, 0.43047037720680237, -0.4310291111469269, 0.6395661234855652, -0.3048756420612335, 0.23362530767917633, 0.06532248109579086, 0.2286950796842575, 0.5337302088737488, 0.057340364903211594, -0.042459290474653244, -0.014689055271446705, -0.049506865441799164, -0.15988031029701233, -0.40413105487823486, 0.5993711948394775, -0.8108477592468262, -0.8500564098358154, -0.4784625470638275, -0.3342006802558899, -0.2841572165489197, 0.237251877784729, 0.7148024439811707, 0.653892993927002, -0.08014465123414993, -0.038168925791978836, 0.8131395578384399, -0.25906819105148315, -0.0052787489257752895, 0.45489630103111267, -0.30819591879844666, -0.2735130488872528, 0.9938702583312988, 0.10487306118011475, 0.3995521664619446, 0.34751254320144653, 0.5454772710800171, -0.14197763800621033, -1.1912119388580322, 0.011700395494699478, 0.3288876712322235, -0.7536645531654358, -0.14764173328876495, -0.6685264110565186, -0.2716643512248993, -0.5272723436355591, -0.3659808039665222, -0.31250038743019104, -0.07429548352956772, -0.3030048906803131, 0.17983219027519226, 0.12514764070510864, 0.6041741967201233, -0.11089278757572174, 0.07112262398004532, -0.5935181379318237, 0.5969972610473633, 0.39967310428619385, 0.26367077231407166, -0.17926594614982605, -0.31232649087905884, 0.03597003221511841, -0.28990474343299866, -0.3507925570011139, -0.5311630368232727, 0.5911067128181458, -0.0517578050494194, 0.5874582529067993, 0.4754003882408142, 0.5887182950973511, 0.626541256904602, -0.20743218064308167, 0.4298166036605835, 0.1878395676612854, -0.9058229327201843, 0.885736346244812, -0.1664901226758957, 0.07668238878250122, 0.695120096206665, 0.28261804580688477, -0.1690119355916977, -0.24783079326152802, -0.4639081656932831, -0.8534634709358215, 0.6642784476280212, 0.27650153636932373, 0.014771020971238613, -0.07765617966651917, 0.38439619541168213, 0.18336252868175507, 0.3438853621482849, -0.5244480967521667, -0.31241217255592346, -0.3124249577522278, 0.18071249127388, -0.019516702741384506, -0.6506816148757935, -0.29567617177963257, -0.5547462701797485, 0.6673823595046997, -0.028197580948472023, 0.1812247931957245, 0.7471487522125244, -0.06933042407035828, -0.17309680581092834, -0.12121981382369995, 1.0379589796066284, 0.7503156065940857, -0.6936074495315552, 0.10070830583572388, -0.25969281792640686, -0.742565929889679, 0.15930110216140747, -0.1637793332338333, -0.46254879236221313, 0.1961156725883484, -0.08838275820016861, 0.9062707424163818, -0.43067696690559387, -0.44232869148254395, 0.4135386049747467, -0.26966118812561035, -0.40255483984947205, -0.4558630883693695, 0.0584319643676281, -0.6014279127120972, -0.20689597725868225, 0.17599204182624817, 0.43004167079925537, 0.24404948949813843, -0.1322961002588272, 0.27762189507484436, 0.25365880131721497, -0.492037832736969, -0.10384403169155121, 0.6546069383621216, 0.47357597947120667, -0.08127222210168839, 0.6341765522956848, -0.0849200114607811, -0.20589254796504974, 0.5626509189605713, 0.4488961696624756, 1.0337291955947876, -0.21103093028068542, 0.3380097448825836, 0.3443983495235443, 0.35768213868141174, -0.12451949715614319, 0.13908298313617706, 0.13216103613376617, -0.7567741870880127, -0.2730601131916046, -0.2900860607624054, -0.3469010889530182, 0.5227856040000916, -0.9446430802345276, 0.6419584155082703, -0.769329309463501, -0.14361879229545593, 0.02394716627895832, -0.1340862512588501, -0.5582343339920044, 0.4429856240749359, 0.504368782043457, 0.33667463064193726, -0.5439591407775879, 0.9253647923469543, 0.3400576114654541, -0.2743517756462097, -0.5953679084777832, 0.15597885847091675, -0.03755989670753479, -0.8499440550804138, 0.6642830967903137, 0.08101807534694672, -0.38095539808273315, 0.0383632592856884, -0.10885762423276901, -0.5869557857513428, 0.5936170220375061, 0.30851247906684875, -0.6198950409889221, -0.04500909522175789, -0.13738666474819183, 0.5367467999458313, -0.2752891182899475, -0.15846453607082367, 0.4250428378582001, 0.4221031367778778, 0.18922220170497894, -0.7276793718338013, 0.2458466738462448, -0.19706732034683228, -0.05658521130681038, 0.23983538150787354, -0.462058961391449, 0.6843442916870117, -0.4192069172859192, 0.05826443433761597, -0.028624098747968674, 0.2642984390258789, 0.18930156528949738, 0.5776073932647705, 0.6630610823631287, 0.2811186909675598, 0.8394315242767334, 0.10252325236797333, 1.3284006118774414, -0.10378000140190125, 0.09880303591489792, 0.9538726806640625, -0.7258501648902893, 0.413570374250412, 0.774962842464447, 0.09824638813734055, 0.15075790882110596, 0.3618561327457428, 0.011658089235424995, 0.9884032011032104, 0.24073515832424164, -0.22801357507705688, -0.4962303340435028, -0.10832862555980682, -0.8002603054046631, 0.6818070411682129, 0.06193295866250992, -0.3772645592689514, 0.29337337613105774, 0.08968423306941986, 0.021560903638601303, -0.0012034708634018898, -0.32635074853897095, 0.7898952960968018, -0.13767395913600922, -0.7745947241783142, 1.0479053258895874, -0.6037436127662659, 0.6235665678977966, -0.8073045015335083, 0.13276360929012299, -0.3470074236392975, 0.43081092834472656, -0.36193427443504333, -0.21810384094715118, 0.6918925642967224, -0.3325716257095337, -0.3643142282962799, -0.2573535740375519, 0.674969494342804, -0.045459140092134476, -0.4149675965309143, 0.31110334396362305, 0.33732250332832336, 0.004406732972711325, -0.2958916127681732, -0.18499037623405457, 0.12861846387386322, 0.4149191081523895, -0.3294362425804138, 0.4200696051120758, -0.024343494325876236, -0.0567462295293808, 0.4751873314380646, 0.5135564804077148, 0.4012014865875244, -0.2808397710323334, 0.15016542375087738, 0.9575994610786438, -0.40923428535461426, -0.5729199051856995, -0.6996536254882812, 0.2495971918106079, -0.11972974240779877, -0.39146578311920166, 0.39706307649612427, 0.5460261106491089, 0.8700344562530518, -0.34940478205680847, 0.7464379072189331, 0.18320748209953308, 0.14015446603298187, -0.8295785188674927, 0.8027541637420654, -0.8892678618431091, 0.19367140531539917, -0.5466331839561462, -0.5952665209770203, -0.5777140855789185, 0.6129654049873352, -0.4046034812927246, -0.20190419256687164, 0.8392805457115173, 0.8362084627151489, 0.21426108479499817, -0.21234287321567535, 0.7380738258361816, 0.07355508953332901, 0.18507710099220276, 0.518450915813446, 0.8440664410591125, -0.030822239816188812, 0.6258454322814941, -0.7849904894828796, -0.3109479248523712, -0.40708670020103455, -0.692850649356842, -0.853541910648346, -0.3365862965583801, -0.6867632269859314, -0.4621964395046234, 0.15904729068279266, 0.6029356122016907, 0.7318782210350037, -0.4864678978919983, -0.07622090727090836, -0.10396455973386765, 0.08063945174217224, -0.22545966506004333, -0.16145439445972443, 0.38722336292266846, -0.2720123827457428, -0.473471462726593, 0.2639150321483612, 0.30297160148620605, 0.2402992695569992, -0.031836751848459244, -0.2845645248889923, 0.44830676913261414, -0.07099925726652145, 0.7294034957885742, 0.07242878526449203, -0.6408917903900146, -0.37677207589149475, 0.27445635199546814, -0.1669027954339981, 0.4036884605884552, 0.9674263596534729, -0.8824504017829895, 0.7520905137062073, 0.4531826376914978, 0.10608889907598495, 0.6594598889350891, -0.2920905351638794, 0.4763599634170532, -0.4734075367450714, 0.6739323735237122, 0.667347252368927, 0.11195789277553558, 0.07801895588636398, -0.8695558309555054, 0.6666427850723267, 0.24110959470272064, -0.46208640933036804, -1.154795527458191, 0.23014894127845764, -0.9295855164527893, -0.5051020979881287, 0.8548645973205566, 0.32535284757614136, 0.013575457967817783, 0.011642549186944962, -0.5109056830406189, 0.011289001442492008, -0.19737572968006134, 0.9446374773979187, 0.10777941346168518, -0.5747900009155273, -0.12085805833339691, -0.3348187208175659, 0.980665922164917, 0.9099092483520508, -0.7726584076881409, -0.014279999770224094, 0.7075363397598267, -0.008324339985847473, 0.07522505521774292, 1.0507892370224, -0.08324664831161499, 0.6458501815795898, 0.07677977532148361, 0.19980178773403168, -0.477731317281723, -0.447772741317749, -0.40129661560058594, 0.07019693404436111, 0.23186451196670532, -0.5432859659194946 ]
http://arxiv.org/abs/2406.06485v1
http://arxiv.org/pdf/2406.06485v1
Can Language Models Serve as Text-Based World Simulators?
2024-06-10T17:24:44
2024-06-10T17:24:44
Ruoyao Wang, Graham Todd, Ziang Xiao, Xingdi Yuan, Marc-Alexandre Côté, Peter Clark, Peter Jansen
cs.CL
cs.CL, cs.AI
Virtual environments play a key role in benchmarking advances in complex planning and decision-making tasks but are expensive and complicated to build by hand. Can current language models themselves serve as world simulators, correctly predicting how actions change different world states, thus bypassing the need for extensive manual coding? Our goal is to answer this question in the context of text-based simulators. Our approach is to build and use a new benchmark, called ByteSized32-State-Prediction, containing a dataset of text game state transitions and accompanying game tasks. We use this to directly quantify, for the first time, how well LLMs can serve as text-based world simulators. We test GPT-4 on this dataset and find that, despite its impressive performance, it is still an unreliable world simulator without further innovations. This work thus contributes both new insights into current LLM's capabilities and weaknesses, as well as a novel benchmark to track future progress as new models appear.
[ -0.20568227767944336, -0.804896891117096, 0.8930243849754333, 0.24939605593681335, -0.011931512504816055, 0.059852484613657, -0.11489326506853104, -0.5274707078933716, -0.2258397489786148, 0.31870973110198975, -0.6327153444290161, -0.3476852476596832, -0.40075764060020447, 0.2670477330684662, -0.26428553462028503, 0.8150042295455933, -0.24247229099273682, -0.009526212699711323, -0.4909357726573944, 0.2169876992702484, -0.3218255341053009, -0.5607209205627441, -0.29226404428482056, -0.6288917064666748, 0.13789743185043335, 0.011287438683211803, 0.6686626076698303, 0.5870235562324524, 0.4015251696109772, 0.34390053153038025, -0.14533951878547668, 0.03269752860069275, -0.39901140332221985, 0.10070088505744934, 0.048918649554252625, -0.632046103477478, -0.2636924088001251, 0.033119309693574905, 0.6073808073997498, 0.05132327973842621, -0.2066318690776825, -0.06401914358139038, 0.05165707319974899, 0.2584337592124939, -0.2392081618309021, 0.6070502996444702, -0.7083781361579895, 0.297533243894577, 0.1170744076371193, 0.01469704695045948, -0.2039061337709427, -0.23563410341739655, 0.17561842501163483, -0.6850650310516357, 0.04425568878650665, 0.12136884778738022, 0.6894835829734802, 0.07559755444526672, -0.44953957200050354, -0.13461099565029144, -0.9119513630867004, 0.7720864415168762, -0.6927680969238281, 0.4616278409957886, 0.02688661776483059, 0.3267866373062134, -0.5125194787979126, -0.5744083523750305, -0.6086186170578003, -0.3648088872432709, 0.2956221401691437, 0.21846264600753784, -0.3471332788467407, 0.085797019302845, 0.4771348834037781, -0.02095087431371212, -0.24289213120937347, -0.14476649463176727, -0.34802478551864624, -0.36529529094696045, 0.39448535442352295, 0.47239911556243896, 0.4997985064983368, -0.1320064812898636, -0.43493303656578064, -0.17978182435035706, -0.7093757390975952, 0.18686263263225555, 0.25138601660728455, 0.19621211290359497, -0.3768875002861023, 0.6298784613609314, 0.018996872007846832, 0.4721083343029022, -0.31494805216789246, -0.3295043408870697, 0.06167763099074364, -0.16451309621334076, -0.2617964446544647, -0.04321809113025665, 0.7832121253013611, 0.6543070673942566, 0.3557564318180084, -0.3481743633747101, -0.4106542468070984, 0.38621842861175537, 0.22257766127586365, -1.0238964557647705, -0.26073119044303894, 0.12075448036193848, -0.1607300490140915, -0.3038143217563629, -0.21389004588127136, -0.6654290556907654, -0.45409929752349854, -0.10672398656606674, 0.3544561266899109, -0.6721194982528687, -0.3187568187713623, 0.13806742429733276, -0.13055847585201263, 0.08919557929039001, 0.4490087628364563, -0.7709726691246033, 0.7699404954910278, 0.8141807317733765, 1.202418565750122, -0.5004814863204956, -0.390485554933548, -0.13497386872768402, 0.09583035111427307, -0.5302638411521912, 0.9394145607948303, -0.5359171628952026, -0.7418040037155151, 0.05238033086061478, -0.18915164470672607, 0.2957468330860138, -0.636410117149353, 0.27586066722869873, -0.2974552810192108, -0.12315462529659271, -0.32490333914756775, -0.7953957915306091, 0.04266926273703575, 0.849522054195404, -0.782780110836029, 1.163879156112671, -0.1500558704137802, -0.8312549591064453, 0.30912700295448303, -0.3463901877403259, -0.24729901552200317, -0.08073879033327103, -0.48714199662208557, -0.2959408164024353, 0.34920424222946167, 0.0654863715171814, 0.3402561545372009, -0.37116897106170654, 0.3508138954639435, -0.35288697481155396, -0.8014655113220215, 0.318260133266449, -0.5955952405929565, 0.1857869029045105, -0.08589757233858109, -0.29581716656684875, -0.2495800107717514, -0.5091229677200317, 0.32348397374153137, -0.011657766066491604, -0.6028211116790771, -0.07020031660795212, 0.47335541248321533, 0.021527709439396858, 0.31053870916366577, 0.37894800305366516, -0.7205750942230225, 0.5334069728851318, -0.27680504322052, 0.24840804934501648, 0.6246843934059143, -0.10173572599887848, 0.2884380519390106, -0.42026984691619873, 0.7549406886100769, 0.12027288973331451, -0.08873698115348816, -0.22039709985256195, -0.7117289304733276, -0.5264260172843933, -0.0435938760638237, 0.1649501770734787, 0.6967249512672424, -0.7353240847587585, -0.09961641579866409, -0.4101945161819458, -0.6493759751319885, -0.006835403852164745, -0.3753977417945862, 0.3914813995361328, 0.1861475259065628, 0.36874887347221375, 0.10370112210512161, -0.6683734655380249, -0.7285747528076172, -0.5512974262237549, -0.5912557244300842, 0.1454368680715561, 0.40225720405578613, 0.5648655295372009, -0.17984579503536224, 1.0628007650375366, -0.2972431480884552, 0.0817895233631134, -0.3200014531612396, -0.00033078424166888, 0.08180651813745499, 0.2386811226606369, 0.1887470930814743, -0.6692177057266235, -0.26407548785209656, -0.0020258205477148294, -0.823088526725769, 0.07983331382274628, -0.056499529629945755, 0.15365755558013916, 0.0454583466053009, 0.5590436458587646, -0.37369027733802795, 0.28661343455314636, 0.9095591306686401, -0.41681867837905884, 0.7810999751091003, -0.5988321900367737, 0.2838123142719269, -0.8117102980613708, -0.2845161259174347, 0.16888797283172607, -0.11083978414535522, -0.42880040407180786, -0.23485074937343597, 0.4026576280593872, -0.05007367581129074, -0.49550938606262207, 0.8657315373420715, -0.4875280261039734, -0.29429951310157776, -0.19724492728710175, -0.13689401745796204, -0.3233010768890381, 0.2755090296268463, 0.020623505115509033, 1.1082720756530762, 0.47107598185539246, -0.6440222263336182, 0.10979500412940979, 0.03154689446091652, -0.6817207932472229, 0.30368685722351074, -0.6016731262207031, -0.05147967487573624, 0.008460956625640392, 0.4027249813079834, -0.7447594404220581, -0.0008672373951412737, -0.172723650932312, -0.28060564398765564, -0.17088377475738525, -0.2804431915283203, -0.7806435227394104, -0.31112751364707947, -0.1113247200846672, 0.01011739019304514, 0.7298561334609985, -0.1323036551475525, 0.6129103899002075, 0.4439329206943512, 0.08989571034908295, -0.30532410740852356, -0.9055697321891785, 0.1877003312110901, -0.03256622329354286, -0.26954537630081177, 0.6346493363380432, -0.3147491216659546, -0.222089022397995, 0.00849121157079935, -0.2966388761997223, -0.18478547036647797, 0.09487204998731613, 0.5644698739051819, 0.28432947397232056, -0.1245565116405487, 0.003052461426705122, 0.10531044006347656, -0.022068943828344345, 0.35353970527648926, -0.24420718848705292, 0.4200499355792999, -0.24674728512763977, -0.07396380603313446, -0.15787972509860992, -0.07080037146806717, 0.4930402934551239, -0.10105294734239578, 0.5453273057937622, -0.03195064887404442, -0.5704464912414551, -0.2465449720621109, -0.3971104919910431, 0.1944362372159958, -0.5584461688995361, 0.6617565751075745, -0.555937647819519, -0.9021275639533997, 0.5395996570587158, -0.47742077708244324, 0.24097804725170135, 0.20200827717781067, 0.4941737949848175, -0.12230037897825241, 0.9103314280509949, 0.8604055047035217, 0.02535717375576496, 0.3047902286052704, -0.042862989008426666, -0.20059412717819214, -0.6063345670700073, -0.3152810335159302, -0.17743128538131714, -0.2533123195171356, -0.8538288474082947, -0.8073907494544983, 0.5197239518165588, 0.010765832848846912, -0.3023109436035156, 0.2801934480667114, -0.07588381320238113, 0.7171651124954224, 0.1129855141043663, -0.04260341823101044, 0.25036683678627014, 0.08635885268449783, -0.525094747543335, -0.26854538917541504, -0.45518958568573, -0.7394864559173584, 1.0488630533218384, 0.12171145528554916, 0.8050029873847961, 0.03266916796565056, 0.8909408450126648, 0.34805428981781006, 0.6565943360328674, -0.449222594499588, 0.7639247179031372, 0.05454361066222191, -0.6883262991905212, -0.19750531017780304, -0.40569207072257996, -0.7139183282852173, 0.39337360858917236, -0.3150554597377777, -0.8538358211517334, -0.41710779070854187, 0.25591787695884705, -0.163044735789299, 0.5346308946609497, -0.6277728080749512, 0.8933231234550476, -0.29124554991722107, -0.35875067114830017, 0.016991451382637024, 0.006588205229490995, 0.14359968900680542, -0.018735552206635475, 0.4749968349933624, -0.5419735312461853, -0.4353684186935425, 0.5426886677742004, -0.11144677549600601, 0.6637428402900696, -0.236532524228096, -0.27536264061927795, 0.26983922719955444, 0.4491458833217621, 0.537668764591217, 0.017089201137423515, -0.4265161156654358, 0.15146861970424652, 0.2319016456604004, -0.04814233258366585, -0.5345218181610107, 0.9631260633468628, -0.785296618938446, -0.3245607912540436, -0.6276223063468933, -0.4307976961135864, -0.5509860515594482, 0.17667852342128754, 0.05582727491855621, 0.47436439990997314, -0.8463546633720398, -0.3425924777984619, 0.5265424847602844, -0.3090175688266754, 0.4533554017543793, 0.6935706734657288, -0.5722899436950684, -0.27692970633506775, 0.9841475486755371, 0.05107355862855911, 0.008721120655536652, 0.478597491979599, 0.3694364130496979, -0.48083898425102234, -0.5191688537597656, -0.47498229146003723, -0.031910255551338196, -0.5917874574661255, -0.15434810519218445, -0.5969806909561157, 0.020860515534877777, 0.027473492547869682, -0.03647298365831375, -0.3953253924846649, 0.05862287059426308, 0.0697169154882431, -0.12662175297737122, 0.2745959758758545, 1.1576977968215942, 0.02581890858709812, 0.12237618863582611, -0.814993679523468, 0.16407305002212524, 0.11395324021577835, 0.6633484363555908, -0.13892827928066254, -0.2145671546459198, -0.1860419660806656, 0.12137015908956528, -0.2547641396522522, -0.9147611260414124, 0.33786749839782715, 0.10718312859535217, 0.37182217836380005, -0.25559648871421814, -0.13652263581752777, 0.6771775484085083, -1.1363272666931152, 0.9047431945800781, 0.17213074862957, -0.9423655867576599, 0.30226656794548035, -0.4973504841327667, 0.4906317889690399, 0.3374079465866089, 0.13606210052967072, -0.7863425016403198, -0.4679979979991913, -0.48681145906448364, -0.43653085827827454, 0.7052692770957947, 0.21235978603363037, 0.32512494921684265, -0.2747761011123657, 0.31264299154281616, 0.11950118094682693, 0.13507956266403198, -0.7594612836837769, -0.2363729178905487, 0.08431200683116913, -0.2619969844818115, -0.1491766721010208, -0.21815359592437744, 0.35245078802108765, -0.020183168351650238, 0.3862476050853729, -0.15112903714179993, 0.5004176497459412, 0.0616798959672451, 0.03200181946158409, 0.08485638350248337, 0.18624302744865417, 0.3087135851383209, 0.5155734419822693, -0.09826024621725082, 0.12354307621717453, 0.3854382038116455, -0.5373095273971558, 0.5554186105728149, 0.026273002848029137, -0.31035706400871277, -0.09531766921281815, 0.11002043634653091, 0.7289848923683167, 0.7097045183181763, -0.985673189163208, 0.5709860324859619, -0.3119145631790161, -0.2624937891960144, -0.29589828848838806, 0.23293262720108032, 0.40839526057243347, 0.40524572134017944, 0.13283081352710724, -0.16613347828388214, 0.11162658035755157, -0.4983968138694763, 0.2799668610095978, 0.284845769405365, -0.6021468639373779, -0.4569646418094635, 0.7900168895721436, 0.3054315447807312, -0.3886623978614807, 0.4252738654613495, -0.3749823272228241, -0.5052843689918518, 0.92368483543396, 0.8595914244651794, 0.6852751970291138, 0.047199830412864685, 0.2542695105075836, 0.3873502314090729, 0.46313950419425964, -0.5826250910758972, 0.640897810459137, 0.2708273231983185, -0.8491222858428955, -0.38742339611053467, -0.579710066318512, -0.7245917916297913, 0.05179593339562416, -0.389636367559433, 0.24165934324264526, -0.566279947757721, -0.2998943328857422, -0.29408466815948486, 0.050700895488262177, -0.8748619556427002, 0.5175623297691345, 0.4818761944770813, 0.8814302086830139, -0.6727425456047058, 0.8330571055412292, 0.9319802522659302, 0.14331743121147156, -0.4050220847129822, 0.27489030361175537, 0.13867127895355225, -0.5939317345619202, 0.45432114601135254, 0.45707497000694275, -0.216260626912117, 0.012023518793284893, -0.4215152859687805, -0.9473569393157959, 0.9835015535354614, 0.4963403642177582, -0.7261021733283997, -0.11254631727933884, 0.21096742153167725, 0.5976138114929199, -0.016842074692249298, 0.4412896931171417, 0.42597442865371704, 0.36854973435401917, -0.47756215929985046, -0.8837490677833557, -0.09375838935375214, -0.22710198163986206, 0.2462233603000641, 0.44255197048187256, -0.5759144425392151, 0.8658599257469177, -0.363798588514328, -0.3375836908817291, 0.027278097346425056, 0.9589260816574097, 0.4256793260574341, 0.09678813815116882, 0.6416904926300049, 0.37675875425338745, 0.606727123260498, -0.2266371101140976, 1.183836579322815, -0.5965055823326111, 0.4167611300945282, 0.8975566625595093, -0.513704240322113, 1.0604997873306274, 0.2614833116531372, -0.5300085544586182, 0.5208897590637207, 0.4511975049972534, -0.04056355729699135, 0.5683907866477966, 0.5401753187179565, -0.25048020482063293, -0.3398222327232361, 0.2898150086402893, -0.047835975885391235, 0.36574816703796387, 0.36261653900146484, 0.2563018202781677, -0.30057093501091003, -0.11726126819849014, 0.02191632241010666, 0.03359054774045944, -0.05531208962202072, 0.5626991391181946, -0.10974373668432236, -0.7138186097145081, 0.12593583762645721, 0.28007423877716064, 1.0953856706619263, -0.813839852809906, -0.26158562302589417, -0.23943325877189636, 0.17416371405124664, 0.3000998795032501, -0.848181962966919, -0.07191082835197449, 0.27148738503456116, -0.08763030916452408, -0.25661587715148926, 0.44165435433387756, -0.36854493618011475, -0.7052375078201294, 0.2597375512123108, 0.5958997011184692, 0.19486959278583527, -0.050282519310712814, -0.7825692296028137, 0.45810389518737793, 0.10423602908849716, -0.28882408142089844, 0.5165135264396667, 0.6422906517982483, -0.06502007693052292, 0.8287118077278137, 0.3292299807071686, 0.045926835387945175, 0.10433577001094818, -0.4302569627761841, 0.636767566204071, -1.00229012966156, -0.6951797604560852, -1.0285738706588745, 0.09963537752628326, 0.016210589557886124, -0.5099910497665405, 0.6256701946258545, 0.9031367301940918, 0.7742895483970642, 0.12724779546260834, 1.1899399757385254, -0.024547763168811798, 0.251010537147522, -0.5708972811698914, 0.6527824401855469, -0.5324774980545044, 0.15707914531230927, -0.18852373957633972, -0.7998887300491333, 0.14051887392997742, 0.3333336412906647, -0.038284555077552795, 0.11787243187427521, 0.6306698322296143, 0.6852685213088989, -0.07171691954135895, 0.06879473477602005, 0.5705714821815491, 0.08887103199958801, 0.652855396270752, 0.5433043241500854, 0.803860068321228, -0.4102122485637665, 0.6757266521453857, -0.34176695346832275, -0.01114574447274208, 0.08639627695083618, -1.2546604871749878, -0.8728711009025574, -0.4838564693927765, -0.23807011544704437, -0.1529613435268402, 0.3386280834674835, 0.745362401008606, 0.4610733687877655, -0.43021366000175476, -0.4515830874443054, -0.2670459449291229, -0.2892799377441406, -0.17939132452011108, -0.11190896481275558, 0.05195736885070801, -0.023774370551109314, -0.838067352771759, 0.5225256085395813, 0.2590838670730591, 0.38838669657707214, -0.4032295346260071, -0.027588510885834694, 0.31048583984375, 0.2769518792629242, 0.4789890944957733, 0.07752940058708191, -0.8559967875480652, -0.1567673534154892, 0.07675501704216003, -0.2791004776954651, 0.05807225778698921, 0.9626415967941284, -1.0530935525894165, 0.40616318583488464, 0.08815284073352814, 0.5168877243995667, 0.6526542901992798, -0.20596858859062195, 0.7818043828010559, -0.5381017327308655, 0.0777394250035286, 0.13478466868400574, 0.3045065701007843, 0.3200685679912567, -0.023961441591382027, 0.3133256435394287, 0.06492679566144943, -0.33787789940834045, -0.6110813617706299, 0.009692839346826077, -0.5859410762786865, -0.07313328981399536, 1.3736224174499512, -0.22618700563907623, -0.41004297137260437, 0.09746164083480835, -0.163474902510643, -0.013619710691273212, -0.49153080582618713, 0.6639133095741272, 0.9734063744544983, -0.16511914134025574, -0.01711214892566204, -0.8491742014884949, 0.567646861076355, 0.0832764133810997, -1.173100233078003, 0.31609708070755005, 0.6242454051971436, 0.3836822211742401, -0.3099742829799652, 0.8855982422828674, 0.09564617276191711, 0.0020545986481010914, 0.29678037762641907, 0.11074484884738922, -0.06667720526456833, -0.22950035333633423, -0.020699886605143547, -0.12154077738523483, -0.09747599065303802, 0.028820836916565895 ]
http://arxiv.org/abs/2406.06484v1
http://arxiv.org/pdf/2406.06484v1
Parallelizing Linear Transformers with the Delta Rule over Sequence Length
2024-06-10T17:24:42
2024-06-10T17:24:42
Songlin Yang, Bailin Wang, Yu Zhang, Yikang Shen, Yoon Kim
cs.LG
cs.LG, cs.CL
Transformers with linear attention (i.e., linear transformers) and state-space models have recently been suggested as a viable linear-time alternative to transformers with softmax attention. However, these models still underperform transformers especially on tasks that require in-context retrieval. While more expressive variants of linear transformers which replace the additive outer-product update in linear transformers with the delta rule have been found to be more effective at associative recall, existing algorithms for training such models do not parallelize over sequence length and are thus inefficient to train on modern hardware. This work describes a hardware-efficient algorithm for training linear transformers with the delta rule, which exploits a memory-efficient representation for computing products of Householder matrices. This algorithm allows us to scale up DeltaNet to standard language modeling settings. We train a 1.3B model for 100B tokens and find that it outperforms recent linear-time baselines such as Mamba and GLA in terms of perplexity and zero-shot performance on downstream tasks (including on tasks that focus on recall). We also experiment with two hybrid models which combine DeltaNet layers with (1) sliding-window attention layers every other layer or (2) two global attention layers, and find that these hybrid models outperform strong transformer baselines.
[ -0.5814968943595886, -0.17392992973327637, 0.306300550699234, 0.29603496193885803, -0.19406460225582123, -0.2206355184316635, -0.3116460144519806, -0.1314719170331955, 0.3207540810108185, 0.27774983644485474, -0.5503225326538086, -0.23702460527420044, -0.41783514618873596, -0.15134911239147186, -0.4097892940044403, 0.7670370936393738, -0.26786625385284424, 0.05743509903550148, 0.11989733576774597, -0.39229118824005127, -0.40904104709625244, -0.5302537679672241, -0.5036507844924927, -0.3590434491634369, 0.650742769241333, 0.18945953249931335, 0.5029303431510925, 0.7223271727561951, 0.5793947577476501, 0.2991775572299957, -0.12482688575983047, 0.0034948019310832024, -0.533645510673523, 0.10143695771694183, -0.15977878868579865, -0.2856038212776184, -0.5211960077285767, -0.3528921604156494, 0.47558242082595825, 0.5457584857940674, -0.07659212499856949, 0.4545941650867462, -0.014483709819614887, 0.6438275575637817, -0.7728347778320312, 0.2094721496105194, -0.6508656144142151, 0.30049604177474976, 0.21385325491428375, -0.3379233181476593, -0.5299668908119202, -0.38981351256370544, 0.13803616166114807, -0.6395817399024963, 0.39913272857666016, -0.11736835539340973, 0.8911157846450806, 0.26195070147514343, -0.19714689254760742, -0.23230241239070892, -0.997527003288269, 0.8434808254241943, -0.5618427991867065, 0.507815957069397, 0.07614246010780334, 0.4797137975692749, 0.20504657924175262, -0.9617392420768738, -0.47614291310310364, 0.03265926241874695, -0.0734742134809494, 0.09215238690376282, -0.25972411036491394, 0.21736398339271545, 0.4191976487636566, 0.5793432593345642, -0.29547712206840515, 0.01628325693309307, -0.5207982063293457, -0.09300462901592255, 0.08212986588478088, 0.37905994057655334, -0.06693637371063232, -0.08099355548620224, -0.5913625359535217, -0.30516406893730164, -0.5476662516593933, 0.24356988072395325, 0.04611004516482353, 0.49216270446777344, 0.14053240418434143, 0.38590237498283386, -0.16857101023197174, 0.2742648124694824, 0.30868545174598694, 0.1375480592250824, 0.0863979235291481, -0.5319676995277405, -0.21981912851333618, 0.031285014003515244, 0.3250747323036194, 0.16723689436912537, 0.2069106101989746, -0.49928930401802063, -0.48677024245262146, 0.09328383207321167, 0.701506495475769, -0.8021206259727478, -0.12348776310682297, 0.06621219962835312, -0.5820196866989136, 0.2977209985256195, -0.12545160949230194, -0.5561351180076599, -0.11395817995071411, -0.7103111147880554, 0.8035458326339722, -0.275747150182724, 0.2354138344526291, 0.11742687225341797, -0.06652410328388214, 0.2657790184020996, 0.08185059577226639, -1.1222232580184937, 0.5565463304519653, 0.7740806937217712, 0.7629386186599731, 0.09269237518310547, -0.0415823832154274, -0.44092196226119995, -0.07789183408021927, -0.19960372149944305, 0.42952030897140503, -0.19662903249263763, 0.039690665900707245, -0.023743588477373123, -0.15839725732803345, -0.06083020195364952, -0.5520728230476379, 0.39368322491645813, -0.8140009641647339, -0.08715508878231049, -0.5196349620819092, -0.43850409984588623, -0.2273017168045044, -0.06822670251131058, -0.7609273791313171, 0.8256558179855347, 0.04671500623226166, -0.522499680519104, 0.3079843819141388, -0.38828128576278687, -0.4216838479042053, -0.19344398379325867, -0.026915431022644043, -0.6738718152046204, -0.020726338028907776, 0.47256264090538025, 0.4900435507297516, -0.33511942625045776, 0.06089034676551819, -0.20707698166370392, -0.7048975229263306, -0.290052205324173, -0.15598654747009277, 0.5923869013786316, -0.055275022983551025, -0.6839636564254761, 0.15308550000190735, -0.4539889693260193, -0.20822221040725708, 0.004333806224167347, -0.454132080078125, -0.18113823235034943, -0.2337980568408966, 0.031269241124391556, 0.34739890694618225, 0.22812730073928833, -0.562427818775177, 0.19487710297107697, -0.35489699244499207, 0.10319874435663223, 0.8416242003440857, -0.1628885567188263, 0.8423452377319336, -0.32564249634742737, 0.50230872631073, 0.07451636344194412, 0.3323572874069214, -0.5575398206710815, -0.10699211061000824, -1.4227906465530396, -0.24358971416950226, 0.2851647138595581, 0.45221439003944397, -0.702948272228241, 0.5036646127700806, -0.4644711911678314, -0.2737472355365753, -0.5399621725082397, 0.44624221324920654, 0.5080597400665283, 0.44455426931381226, 0.6300176382064819, -0.7566046118736267, -0.8698099255561829, -1.196420431137085, 0.0014926801668480039, 0.3597445487976074, -0.1432638168334961, 0.4463673532009125, 0.3118584156036377, -0.007228445261716843, 0.9865503907203674, -0.21268266439437866, -0.38198748230934143, -0.15568597614765167, 0.15382511913776398, 0.46438464522361755, 0.24534569680690765, 0.3506166338920593, -0.33054468035697937, -0.43963366746902466, 0.002580902073532343, -0.8333231806755066, 0.18973234295845032, -0.17144182324409485, 0.08543213456869125, 0.15249399840831757, 0.5436743497848511, -0.711930513381958, 0.474257230758667, 0.09837689995765686, 0.05784350261092186, 0.2411612570285797, -0.1406957358121872, -0.3421098589897156, -0.8982391953468323, 0.2442893087863922, 0.14309050142765045, -0.23097997903823853, -0.8240471482276917, 0.030480626970529556, 0.3653823733329773, 0.0314343236386776, -0.3788270354270935, 0.35219913721084595, -0.5185352563858032, -0.2599566876888275, -0.31957972049713135, -0.26731351017951965, -0.2042814940214157, 1.0615198612213135, -0.1227991059422493, 0.6752423644065857, 0.41146236658096313, -0.6879064440727234, 0.33269184827804565, -0.08805420994758606, -0.2478213608264923, 0.24225816130638123, -0.47181662917137146, 0.3289194703102112, -0.43806833028793335, 0.5133129358291626, -0.7982099056243896, 0.34196847677230835, -0.13644768297672272, -0.05902847647666931, 0.30079084634780884, 0.13743902742862701, -0.610011637210846, -0.6302711963653564, -0.27450311183929443, 0.4186391234397888, 0.7009647488594055, -0.9768204689025879, 0.9754431843757629, 0.11340490728616714, -0.09216516464948654, -0.8651290535926819, -0.41761305928230286, -0.17623421549797058, -0.2520126402378082, -0.28769832849502563, 0.16826710104942322, 0.3184720277786255, 0.025140661746263504, -0.03173219412565231, -0.393052875995636, 0.08539560437202454, -0.07791312783956528, 0.08278368413448334, 0.1847548633813858, -0.5572649836540222, 0.07742667198181152, -0.1757902204990387, -0.24203041195869446, 0.0001576999929966405, -0.6933487057685852, 0.7130618095397949, -0.1800980567932129, 0.004993431735783815, -0.5092087388038635, 0.3581743836402893, 0.5522480010986328, -0.0917430967092514, 0.5875041484832764, 0.3976300060749054, -0.37960875034332275, -0.6252103447914124, -0.5868196487426758, -0.680941641330719, -0.5338605046272278, 0.3750130236148834, -0.228675976395607, -0.6994518041610718, 0.5811389684677124, 0.10360202938318253, 0.3117419481277466, -0.00033229569089598954, 0.7301061153411865, -0.06282982975244522, 0.5926467180252075, 0.5469289422035217, -0.3689282238483429, 0.5367352366447449, -0.4343576729297638, 0.39319202303886414, -0.6543618440628052, -0.05113526061177254, -0.09204365313053131, -0.8703376054763794, -0.14561578631401062, -0.6110342144966125, 0.39141520857810974, -0.034027062356472015, -0.5244222283363342, 0.8500156402587891, -0.2668398916721344, 0.45918548107147217, 0.829541027545929, 0.33070841431617737, 0.12755362689495087, 0.284133642911911, -0.36516740918159485, -0.05009487271308899, -0.7295504808425903, -0.09328587353229523, 1.1959261894226074, 0.4955810308456421, 0.6532454490661621, -0.021064279600977898, 0.45553067326545715, 0.0666411742568016, 0.2108137607574463, -0.6062781810760498, 0.6250635981559753, -0.3989417850971222, -0.5103059411048889, -0.1958589106798172, -0.3519715666770935, -0.7639785408973694, 0.22327473759651184, 0.06616323441267014, -0.6370476484298706, 0.5106682777404785, 0.32535362243652344, -0.5501342415809631, 0.5682297945022583, -0.608808696269989, 0.48274698853492737, 0.13453571498394012, -0.33442196249961853, -0.3963510990142822, -0.5439601540565491, 0.451673686504364, -0.21264880895614624, -0.42998290061950684, 0.21297095715999603, 0.0890900269150734, 0.3108280897140503, -0.42292436957359314, 0.7950965762138367, -0.1393348127603531, 0.08731655031442642, 0.06541531533002853, -0.1622057855129242, 0.390850305557251, -0.27064603567123413, 0.18501706421375275, 0.03571229800581932, -0.851012110710144, -0.6250636577606201, -0.7196268439292908, 0.5710689425468445, -0.6960877180099487, -0.4525003135204315, -0.0051634470000863075, -0.7974972128868103, -0.2157718986272812, -0.10809814184904099, -0.04536489397287369, 0.46936342120170593, 0.07313014566898346, 0.32734596729278564, 0.7926743030548096, -0.09648990631103516, 0.8362919688224792, 0.3233794867992401, 0.12178802490234375, -0.19430653750896454, 0.8426098227500916, 0.16822172701358795, 0.29959967732429504, 0.5687114596366882, -0.2628287076950073, -0.27408474683761597, -0.044589776545763016, -0.2769269049167633, 0.07704878598451614, -0.9205023646354675, -0.26118895411491394, -0.7317960858345032, -0.41127628087997437, -0.05257278308272362, -0.09691143035888672, -0.6932184100151062, -0.6917567253112793, -0.030159246176481247, 0.13874046504497528, 0.2817421853542328, 0.451392263174057, 0.012415585108101368, 0.19834640622138977, -0.2890617847442627, 0.638309121131897, 0.7681748270988464, 0.5295815467834473, 0.6501530408859253, -0.49187764525413513, -0.5323047041893005, -0.3174334168434143, -0.5418475866317749, -0.33910542726516724, 0.23784314095973969, 0.04393287003040314, 0.48736411333084106, 0.4109044075012207, -0.04775165766477585, 0.7119213342666626, -0.6534274816513062, 0.20649781823158264, 0.24237772822380066, -0.8773253560066223, 0.06520777195692062, -0.18241846561431885, 0.610821008682251, 0.43378061056137085, 0.5010684132575989, -0.42472779750823975, -0.16800916194915771, -0.31544801592826843, -1.1119650602340698, 0.9054105877876282, 0.36508771777153015, 0.1413266956806183, 0.25994905829429626, 0.2621822953224182, -0.04238583520054817, 0.06273045390844345, -0.5658228993415833, -0.48439672589302063, -0.34978213906288147, -0.20317091047763824, -0.16295699775218964, -0.061735011637210846, 0.17549924552440643, -0.3456268012523651, 0.549289345741272, 0.007458786945790052, 0.5252619981765747, 0.1492280662059784, -0.08556162565946579, -0.03731277957558632, 0.17426352202892303, 0.4135018289089203, 0.4506412148475647, -0.3248593211174011, 0.13397110998630524, 0.3026978075504303, -0.5103595852851868, 0.14524607360363007, 0.33906999230384827, -0.33985981345176697, 0.19265219569206238, -0.122822605073452, 0.978607177734375, 0.5389091968536377, -0.3730542063713074, 0.32287919521331787, -0.30008023977279663, -0.1000574454665184, -0.2354990541934967, -0.1774204969406128, 0.3369397222995758, 0.44300544261932373, 0.4691705107688904, 0.12854227423667908, 0.14496393501758575, -0.2671588063240051, 0.4097951352596283, 0.3137217164039612, -0.42351841926574707, -0.21364732086658478, 0.692798376083374, 0.10432300716638565, -0.30914199352264404, 0.7316914200782776, 0.11644963175058365, -0.43192341923713684, 0.759431004524231, 0.35864683985710144, 1.0417284965515137, -0.21172288060188293, -0.25937825441360474, 0.5972298979759216, 0.2863142192363739, -0.07233404368162155, 0.09676545113325119, -0.39427170157432556, -0.5622313022613525, -0.3009079098701477, -0.6760197877883911, -0.24841462075710297, 0.1624738574028015, -0.6600332856178284, 0.2736818194389343, -0.7582116723060608, -0.2643307149410248, 0.09005557745695114, -0.2527022063732147, -0.7862808704376221, -0.003971349447965622, 0.4617791175842285, 0.8805620670318604, -0.6421314477920532, 1.137558102607727, 0.3015183210372925, -0.2515527606010437, -0.7703623175621033, -0.09174878150224686, -0.1343597024679184, -0.4697049558162689, 0.7588751316070557, 0.34937188029289246, -0.01574697159230709, -0.07231560349464417, 0.05013357847929001, -0.7445358633995056, 1.1830122470855713, 0.34708309173583984, -0.7174500823020935, -0.13168109953403473, 0.17071571946144104, 0.5764327049255371, -0.29548394680023193, 0.44978684186935425, 0.6721298694610596, 0.053923819214105606, -0.08515048772096634, -1.119127869606018, -0.12394935637712479, -0.4327675700187683, 0.3091689348220825, 0.22599193453788757, -0.6630268096923828, 1.0373879671096802, 0.036323431879282, -0.25047871470451355, 0.09124355018138885, 0.9817219972610474, 0.3407540023326874, 0.13274167478084564, 0.6508488655090332, 0.7029324769973755, 0.3513757288455963, 0.04497652128338814, 1.0739836692810059, -0.3585158586502075, 0.5541723966598511, 1.1281635761260986, -0.22380636632442474, 0.810731828212738, 0.45849430561065674, 0.14322055876255035, 0.41754207015037537, 0.05941520258784294, -0.04408608376979828, 0.6222111582756042, 0.24338877201080322, -0.3965522050857544, -0.17910327017307281, -0.026348276063799858, -0.03220820054411888, 0.2830054759979248, 0.19207364320755005, -0.6736826300621033, -0.3855230212211609, 0.06327635794878006, -0.037362437695264816, 0.05824149027466774, -0.5570866465568542, 0.609283447265625, 0.19994211196899414, -0.7209294438362122, 0.8188583254814148, 0.11598490178585052, 0.79453444480896, -0.4165582060813904, 0.0439595989882946, -0.5114355087280273, 0.8494952917098999, 0.2369629293680191, -0.214584618806839, 0.05624409765005112, -0.030074534937739372, -0.4776085615158081, -0.37216171622276306, 0.3759031891822815, -0.27842190861701965, -0.47210633754730225, 0.5089011788368225, -0.05864139273762703, -0.3073658347129822, 0.11622809618711472, -0.43277645111083984, -0.2313557267189026, -0.2610531747341156, -0.18563027679920197, 0.2222030758857727, -0.12827371060848236, -0.22107772529125214, 0.7093205451965332, 0.39689919352531433, -0.18215538561344147, 0.7284964919090271, 0.15257737040519714, 1.0666300058364868, -0.6926504969596863, -0.5899621248245239, -0.5857428312301636, 0.31741052865982056, -0.03264350816607475, -0.13814103603363037, 0.7425538301467896, 0.7560858726501465, 0.6727603077888489, -0.21108070015907288, 0.489941269159317, 0.3148932158946991, 0.36844757199287415, -0.346664160490036, 0.5310794115066528, -0.3932761549949646, 0.2080000936985016, -0.06964094191789627, -0.9768538475036621, -0.14810514450073242, 0.3750455677509308, -0.17848974466323853, 0.1928970068693161, 0.6742516756057739, 0.895615816116333, -0.3905925750732422, 0.09270939975976944, 0.08616276830434799, 0.32356491684913635, 0.03514515608549118, 1.198783040046692, 0.5341535210609436, -0.6709185242652893, 0.6851038932800293, -0.5535111427307129, -0.014343207702040672, -0.09169239550828934, -0.5436720848083496, -1.0773173570632935, -0.4482777416706085, 0.1015012338757515, -0.2657894790172577, 0.22530820965766907, 0.7195656299591064, 1.0032281875610352, -0.972463846206665, -0.4379645586013794, -0.17526379227638245, -0.2836270332336426, -0.3935227692127228, -0.18309666216373444, 0.4420413076877594, -0.5935892462730408, -0.7810973525047302, 0.32948121428489685, 0.39346539974212646, -0.23491927981376648, -0.582798182964325, -0.11015455424785614, -0.19613073766231537, 0.2428882122039795, 0.43837130069732666, 0.5009784698486328, -0.7789530158042908, 0.10383587330579758, 0.18248328566551208, -0.29720184206962585, 0.2909165620803833, 0.9818459153175354, -1.0819052457809448, 0.5420749187469482, 0.4613696038722992, 0.7958723902702332, 0.8029605150222778, 0.13789060711860657, 0.6714426875114441, -0.9432767629623413, 0.42658737301826477, 0.25139120221138, 0.40295591950416565, 0.2563677728176117, -0.18165016174316406, 0.05322132632136345, 0.03810432553291321, -0.4305416941642761, -0.423550546169281, -0.009702695533633232, -1.003523349761963, -0.16077786684036255, 0.8749828338623047, -0.10813770443201065, -0.2847276031970978, -0.17058664560317993, 0.03910583630204201, 0.12513789534568787, -0.39606258273124695, 0.9236127734184265, 0.384309321641922, 0.2752438485622406, -0.408497154712677, -0.5235924124717712, 0.2612326145172119, 0.7113103866577148, -0.27586689591407776, 0.028408171609044075, -0.06080487370491028, -0.05367821082472801, 0.32282987236976624, 0.4411066174507141, 0.00005253633571555838, 0.6594387888908386, -0.12407530844211578, 0.404040664434433, 0.07976800948381424, -0.44678810238838196, -0.6810435652732849, 0.28791099786758423, -0.45531222224235535, -0.17747972905635834 ]
http://arxiv.org/abs/2406.06474v1
http://arxiv.org/pdf/2406.06474v1
Towards a Personal Health Large Language Model
2024-06-10T17:16:49
2024-06-10T17:16:49
Justin Cosentino, Anastasiya Belyaeva, Xin Liu, Nicholas A. Furlotte, Zhun Yang, Chace Lee, Erik Schenck, Yojan Patel, Jian Cui, Logan Douglas Schneider, Robby Bryant, Ryan G. Gomes, Allen Jiang, Roy Lee, Yun Liu, Javier Perez, Jameson K. Rogers, Cathy Speed, Shyam Tailor, Megan Walker, Jeffrey Yu, Tim Althoff, Conor Heneghan, John Hernandez, Mark Malhotra, Leor Stern, Yossi Matias, Greg S. Corrado, Shwetak Patel, Shravya Shetty, Jiening Zhan, Shruthi Prabhakara, Daniel McDuff, Cory Y. McLean
cs.AI
cs.AI, cs.CL
In health, most large language model (LLM) research has focused on clinical tasks. However, mobile and wearable devices, which are rarely integrated into such tasks, provide rich, longitudinal data for personal health monitoring. Here we present Personal Health Large Language Model (PH-LLM), fine-tuned from Gemini for understanding and reasoning over numerical time-series personal health data. We created and curated three datasets that test 1) production of personalized insights and recommendations from sleep patterns, physical activity, and physiological responses, 2) expert domain knowledge, and 3) prediction of self-reported sleep outcomes. For the first task we designed 857 case studies in collaboration with domain experts to assess real-world scenarios in sleep and fitness. Through comprehensive evaluation of domain-specific rubrics, we observed that Gemini Ultra 1.0 and PH-LLM are not statistically different from expert performance in fitness and, while experts remain superior for sleep, fine-tuning PH-LLM provided significant improvements in using relevant domain knowledge and personalizing information for sleep insights. We evaluated PH-LLM domain knowledge using multiple choice sleep medicine and fitness examinations. PH-LLM achieved 79% on sleep and 88% on fitness, exceeding average scores from a sample of human experts. Finally, we trained PH-LLM to predict self-reported sleep quality outcomes from textual and multimodal encoding representations of wearable data, and demonstrate that multimodal encoding is required to match performance of specialized discriminative models. Although further development and evaluation are necessary in the safety-critical personal health domain, these results demonstrate both the broad knowledge and capabilities of Gemini models and the benefit of contextualizing physiological data for personal health applications as done with PH-LLM.
[ 0.143662229180336, -0.5726865530014038, 0.6419471502304077, 0.1657608598470688, -0.07854882627725601, 0.07873863726854324, -0.5071051120758057, -0.553886890411377, 0.5034793615341187, 0.7620828747749329, -0.5611813068389893, -0.6937017440795898, -0.397257536649704, -0.013874577358365059, -0.14417453110218048, 0.9208142161369324, 0.15725654363632202, 0.1286766231060028, 0.05372633785009384, 0.03630392253398895, -0.5060873627662659, -0.8251413106918335, -0.4076903164386749, -0.5034226179122925, 0.5133333206176758, 0.3280145823955536, 0.5791052579879761, 0.24624355137348175, 0.5574431419372559, 0.16469208896160126, 0.021794719621539116, 0.08019112795591354, -0.4461824893951416, 0.16740740835666656, -0.048484917730093, -0.17533865571022034, -0.6775884032249451, -0.2345382422208786, 0.353150337934494, 0.8222978711128235, -0.3201834559440613, 0.4790232181549072, -0.11440522223711014, 0.6965407133102417, -0.32428133487701416, 0.11538950353860855, -0.13529576361179352, 0.1077972799539566, -0.3453519642353058, 0.07158014923334122, -0.3975830376148224, 0.00025715853553265333, 0.06289920210838318, -0.2692849338054657, -0.15998578071594238, 0.1637781858444214, 0.288818359375, 0.5540849566459656, -0.6917476058006287, -0.16114850342273712, -0.8386048674583435, 0.5697615742683411, -0.982860803604126, 0.6242111921310425, 0.4792564809322357, 0.14087174832820892, -0.18407289683818817, -0.5510134696960449, -0.44375836849212646, -0.38269367814064026, -0.10151543468236923, 0.31134501099586487, 0.10124588012695312, -0.0034163701348006725, -0.061095770448446274, 0.23232227563858032, -0.6990385055541992, 0.12487722933292389, -0.3480571508407593, -0.029448052868247032, 0.9701092839241028, 0.44583871960639954, 0.2692897617816925, -0.3946656584739685, -0.019885126501321793, 0.3221859037876129, -0.5172922015190125, -0.07770673930644989, 0.03684971109032631, 0.15712648630142212, -0.4593481123447418, 0.7431517243385315, -0.375296950340271, 0.7019441723823547, -0.007975471206009388, -0.6109370589256287, 0.4013717770576477, -0.11276989430189133, -0.1599649041891098, 0.18488404154777527, 0.6469341516494751, 0.24915426969528198, 0.05924184247851372, -0.5445123314857483, -0.09321648627519608, -0.14915256202220917, 0.2799585163593292, -0.6635664701461792, -0.2185220569372177, 0.5347984433174133, -0.6975500583648682, -0.036084260791540146, -0.14608024060726166, -0.39342987537384033, -0.6342506408691406, -0.6742627620697021, 0.2733628451824188, -0.46107181906700134, -0.2251371443271637, 0.5723207592964172, 0.27525606751441956, -0.18161654472351074, 0.053681910037994385, -0.9092421531677246, 0.41010764241218567, 0.7606050372123718, 0.6014402508735657, -0.4667818546295166, -0.10393477976322174, -0.08152855187654495, 0.25102517008781433, -0.11016187071800232, 0.3371029496192932, -0.2462550550699234, -0.4725130796432495, -0.2092347890138626, -0.13036289811134338, -0.27489781379699707, -0.5748960375785828, 0.5124861598014832, -0.2882634401321411, 0.19845540821552277, -0.10085213929414749, -0.5704283118247986, 0.04633007198572159, 0.11273981630802155, -0.2340393215417862, 0.6210095882415771, 0.16178053617477417, -0.6176061630249023, 0.2338225543498993, -0.6848664283752441, -0.8516883850097656, 0.13628368079662323, 0.05532294884324074, -0.46121102571487427, 0.05123459920287132, 0.061762139201164246, 0.8218985795974731, -0.30462518334388733, 0.41865694522857666, -0.4825483560562134, -0.17204636335372925, 0.6475694179534912, -0.017801186069846153, 0.3213396966457367, 0.2787582278251648, -0.3217995762825012, 0.021303048357367516, -0.8955847024917603, -0.05301842465996742, -0.029373763129115105, -0.34621742367744446, -0.3836618959903717, 0.2771299183368683, 0.06032257899641991, 0.12637709081172943, 0.3640275001525879, -0.6940319538116455, 0.03434378653764725, -0.3092750608921051, 0.6316155195236206, 0.5348095297813416, 0.0636390969157219, 0.17863747477531433, -0.4848445951938629, 0.23862144351005554, -0.19641703367233276, 0.4201744794845581, -0.10492034256458282, -0.520408034324646, -0.32246172428131104, -0.4543372094631195, 0.03384658321738243, 0.4681498110294342, -0.16297432780265808, 0.491361528635025, -0.38959071040153503, -0.3574848175048828, -0.23447684943675995, 0.2882002890110016, 0.3859942555427551, 0.7394914627075195, 0.3788739740848541, -0.10059846192598343, -0.27568963170051575, -0.6193293333053589, -0.41610187292099, 0.02629600651562214, -0.011174038983881474, 0.5986493229866028, 0.481406033039093, -0.9560898542404175, 0.6775403618812561, -0.800816535949707, -0.27655646204948425, -0.20256371796131134, 0.006854816805571318, 0.3510087728500366, 0.3635973632335663, 0.35612478852272034, -0.6874263882637024, -0.27258357405662537, 0.039062172174453735, -0.8353270888328552, -0.05286611616611481, 0.046480946242809296, -0.026430530473589897, -0.23960667848587036, 0.17602141201496124, -0.44445985555648804, 0.05282403156161308, 0.8309041261672974, -0.6573989391326904, 0.7003737688064575, -0.18379878997802734, -0.07702931016683578, -1.282492995262146, 0.27387386560440063, 0.08607259392738342, -0.2591906487941742, -0.7246025204658508, -0.11478766798973083, -0.08355399966239929, -0.28204604983329773, -0.0872553139925003, 0.8817742466926575, -0.11154057085514069, 0.06415516138076782, -0.3595549762248993, -0.3666139245033264, -0.2701624929904938, 0.20325586199760437, 0.0799720510840416, 0.22388416528701782, 0.299421101808548, -0.5961500406265259, 0.23649044334888458, 0.20280402898788452, -0.5351293087005615, 0.33077284693717957, -0.9541341662406921, 0.2365991771221161, -0.0036255675368010998, 0.06486330181360245, -0.7383652925491333, -0.9069736003875732, 0.04620078206062317, -0.3394288718700409, 0.24676822125911713, 0.2623630464076996, -0.3873695731163025, -0.4864761233329773, 0.07779119908809662, 0.24571296572685242, 0.5370320677757263, -0.39589014649391174, 0.6797846555709839, 0.7251352667808533, -0.39154869318008423, -0.27914974093437195, -0.5058305859565735, -0.04965522512793541, -0.2788895070552826, -0.8069413900375366, 0.6902529001235962, -0.24424447119235992, -0.39876788854599, -0.038932397961616516, -0.10882490873336792, 0.050329145044088364, 0.1054244413971901, 0.5660668015480042, 0.3963949978351593, -0.07673952728509903, 0.42100584506988525, -0.10452020168304443, -0.10358641296625137, 0.11067280918359756, -0.4011373817920685, 0.2896506190299988, -0.04444644972681999, -0.24055051803588867, -0.48127463459968567, 0.27788567543029785, 0.6596174836158752, -0.10450764745473862, 0.8537710905075073, 0.5581926703453064, -0.5429856181144714, -0.05879075825214386, -0.7727057337760925, -0.180782750248909, -0.40569308400154114, 0.045114725828170776, -0.20437182486057281, -0.955128014087677, 0.34077706933021545, -0.09814359992742538, -0.007991124875843525, 0.15717221796512604, 0.8910202383995056, -0.3249598443508148, 1.067980408668518, 0.598475992679596, -0.12352749705314636, 0.34403887391090393, -0.043032556772232056, 0.15320387482643127, -1.0454769134521484, -0.5424042344093323, -0.12846195697784424, -0.43329957127571106, -0.33791548013687134, -0.33139726519584656, 0.6997178792953491, -0.4170835018157959, -0.5684057474136353, 0.07250197976827621, -0.48819661140441895, -0.037735987454652786, 0.298399418592453, 0.7792306542396545, 0.3087957501411438, -0.39713630080223083, 0.025379696860909462, -0.10192487388849258, -0.26949986815452576, -0.23998847603797913, 1.1261128187179565, 0.2926483154296875, 1.326650619506836, 0.21810296177864075, 0.6355716586112976, 0.35685503482818604, 0.3148329555988312, -0.6418318748474121, 0.19279350340366364, -0.5538060665130615, -0.7756861448287964, -0.14327272772789001, -0.5804636478424072, -0.9775352478027344, -0.024062197655439377, -0.3713192641735077, -0.8681760430335999, -0.09012660384178162, 0.19149726629257202, -0.6781514286994934, -0.12433966249227524, -0.9029254913330078, 0.8165416717529297, -0.7786419987678528, -0.40078669786453247, -0.35806432366371155, -0.6423584222793579, 0.5410932302474976, -0.22109414637088776, 0.326081246137619, -0.45583489537239075, -0.02496219612658024, 0.9027179479598999, -0.2187599390745163, 1.1059553623199463, 0.1685686856508255, 0.267238974571228, -0.06081419438123703, -0.21788537502288818, 0.17347535490989685, 0.20660968124866486, -0.13883045315742493, 0.1026008278131485, 0.13561302423477173, -0.40795406699180603, -0.3244389593601227, 0.985816478729248, -1.0965657234191895, -0.44980233907699585, -0.4122511148452759, -0.3177820146083832, -0.5330775380134583, 0.23328803479671478, 0.05326736345887184, 0.4239053726196289, -0.2377382069826126, 0.3290143609046936, 0.7115945219993591, -0.39198970794677734, 0.015166785567998886, 0.8424264192581177, -0.15057864785194397, -0.4179531931877136, 0.8004688024520874, -0.058814045041799545, -0.1850654035806656, 0.6414945721626282, 0.7920565605163574, -0.4091425836086273, -0.4530559480190277, 0.10890384018421173, 0.5920168161392212, -0.46285194158554077, 0.020429348573088646, -0.730179488658905, -0.021949579939246178, -0.5531184077262878, -0.06102906912565231, -0.4356217384338379, -0.10050030797719955, -0.12101013213396072, 0.061760589480400085, 0.2159806489944458, 0.9299269914627075, 0.057688698172569275, 0.31431543827056885, -0.8528240323066711, 0.6790758967399597, 0.41082075238227844, 0.24722492694854736, -0.28365710377693176, -0.4051859676837921, -0.42123666405677795, -0.09189673513174057, -0.05595458298921585, -0.8660783767700195, 0.4898397624492645, 0.07457229495048523, 0.5969973802566528, 0.2902982831001282, 0.033453814685344696, 0.4282812178134918, -0.2939293384552002, 0.6858490705490112, 0.48934653401374817, -0.8488979935646057, 0.5714336633682251, -0.3589330017566681, 0.3778976798057556, 0.37099286913871765, 0.3545527756214142, -0.790774405002594, 0.21473705768585205, -0.49317631125450134, -0.6520187854766846, 0.20356544852256775, 0.05829326808452606, 0.008784041740000248, 0.04850039631128311, 0.800055742263794, 0.1503756195306778, 0.25787585973739624, -0.6526140570640564, -0.07204233109951019, -0.017853422090411186, -0.4415113031864166, -0.3723995089530945, 0.016810711473226547, -0.09173206984996796, -0.3465122878551483, 0.5174259543418884, -0.41158950328826904, 0.23664510250091553, 0.2583799362182617, -0.036969274282455444, 0.01702609285712242, 0.1376650184392929, 0.4610404670238495, 0.6221095323562622, -0.1399488002061844, -0.03211657330393791, 0.077611044049263, -0.5376271605491638, -0.08881793916225433, 0.07078120857477188, -0.012767385691404343, -0.25563085079193115, 0.49488770961761475, 0.5130347013473511, 0.44070374965667725, -0.8625088930130005, 0.37879055738449097, -0.10472660511732101, 0.3312755227088928, -0.5310930609703064, 0.16157175600528717, 0.3204156756401062, 0.08381376415491104, -0.037696994841098785, 0.2414352297782898, 0.10656490176916122, -0.681541919708252, 0.051118653267621994, 0.24166671931743622, -0.2491079866886139, -0.6626994013786316, 0.9963818192481995, 0.5119704008102417, -0.08772463351488113, 0.5187786221504211, 0.06175852194428444, -0.3000883460044861, 0.5151419043540955, 0.40138566493988037, 0.4360577166080475, -0.40203091502189636, 0.0997929722070694, 0.4469805359840393, 0.04949161037802696, -0.19329163432121277, 0.48547205328941345, 0.18072688579559326, -0.7302216291427612, -0.5890494585037231, -0.6819012761116028, -0.5443088412284851, 0.10051809996366501, -0.5991623401641846, 0.25453680753707886, -0.30300483107566833, -0.4217362403869629, 0.17257505655288696, 0.17803128063678741, -0.8645622134208679, 0.5628144145011902, 0.6466001868247986, 0.6362457871437073, -0.4258868396282196, 0.9797885417938232, 0.5635790228843689, 0.0031769119668751955, -0.7249355912208557, 0.0510425791144371, 0.11703874915838242, -1.025579810142517, 0.6694619655609131, -0.034663256257772446, -0.13943690061569214, -0.28021231293678284, -0.29737406969070435, -0.7500516772270203, 1.158469557762146, 0.535908579826355, -0.7605910301208496, -0.06127183884382248, 0.07152248919010162, 0.6793720126152039, -0.49922966957092285, -0.03784973546862602, 0.5352458357810974, 0.32005244493484497, -0.11513908952474594, -0.9208235740661621, 0.02351815067231655, -0.02594851888716221, -0.13795678317546844, 0.04848421365022659, -0.9692119359970093, 0.6308489441871643, -0.7669854760169983, 0.16181552410125732, 0.12917202711105347, 0.3821948170661926, 0.16038493812084198, 0.5507614612579346, 0.14368318021297455, 0.6217759251594543, 1.0743353366851807, 0.07559020817279816, 1.4668834209442139, -0.7516371011734009, 0.29293203353881836, 1.2942800521850586, -0.5009180307388306, 0.9823566675186157, -0.006098325829952955, -0.09675498306751251, 0.5780702829360962, 0.5972370505332947, 0.42706215381622314, 0.47948163747787476, 0.24848921597003937, -0.4445846676826477, -0.3191445469856262, 0.056589819490909576, -0.47046923637390137, 0.4879094064235687, 0.6841183304786682, -0.592858076095581, 0.46527132391929626, 0.2819053828716278, 0.14181312918663025, -0.14328905940055847, -0.17710275948047638, 0.6871205568313599, 0.35051265358924866, -0.6990453600883484, 0.2748102843761444, 0.0760037899017334, 0.5786283016204834, -0.8733449578285217, 0.38492029905319214, -0.0708846002817154, 0.5096107721328735, -0.3713160753250122, -0.7015411853790283, 0.3724350333213806, -0.08670051395893097, -0.1947101503610611, -0.28996995091438293, 0.9715592265129089, -0.15036487579345703, -0.6008727550506592, 0.3563087284564972, 0.5592508912086487, 0.10116837918758392, -0.25416818261146545, -0.5044447779655457, -0.03874196484684944, -0.2625426948070526, -0.2628295421600342, 0.3439677953720093, 0.032814931124448776, 0.30965447425842285, 0.8688346147537231, 0.8015349507331848, 0.11585081368684769, -0.0013833384728059173, 0.10047361254692078, 0.6896618604660034, -1.075302243232727, -0.534523069858551, -0.7286714911460876, 0.23789352178573608, 0.054002098739147186, -0.6039496064186096, 0.512014627456665, 0.3896546959877014, 0.3223811686038971, -0.11687669903039932, 0.9684308171272278, 0.048710405826568604, 0.7034887671470642, -0.5385895371437073, 0.7070247530937195, -0.4896905720233917, 0.1900482177734375, 0.172884002327919, -0.36858370900154114, -0.3193586468696594, 0.4149932861328125, -0.5788111686706543, -0.06314387172460556, 0.5695200562477112, 0.3424842357635498, 0.06123432144522667, -0.037820085883140564, 0.39698559045791626, 0.5235766172409058, 0.21448053419589996, 0.6121516823768616, 0.7003383040428162, -0.08316661417484283, 0.10832797735929489, -0.42574286460876465, -0.3164910078048706, -0.4326106905937195, -0.6176928877830505, -1.0213592052459717, -0.43004563450813293, -0.46758970618247986, -0.38818174600601196, 0.2230476438999176, 1.0910886526107788, 1.1435960531234741, -0.7122549414634705, -0.1572626829147339, 0.24012397229671478, -0.018899377435445786, -0.3726741075515747, -0.14127081632614136, 0.2168189436197281, 0.044703688472509384, -0.247161403298378, 0.5418833494186401, 0.3462141752243042, -0.15151207149028778, -0.2660747468471527, -0.34411075711250305, 0.4450983703136444, -0.08066857606172562, 0.8827233910560608, 0.28478333353996277, -0.6557194590568542, -0.13219447433948517, 0.48281577229499817, -0.12463929504156113, -0.1455511748790741, 0.9760488867759705, -0.6499821543693542, 0.4817333519458771, 0.355166494846344, 0.4738580286502838, 0.6205300688743591, -0.052810437977313995, 0.3696160316467285, -0.4840424656867981, -0.24871335923671722, 0.48950865864753723, 0.711033284664154, 0.4250212609767914, -0.7356166243553162, 0.5225080251693726, 0.2583838403224945, -0.8316553831100464, -0.34867751598358154, 0.11875706911087036, -1.322336196899414, -0.2810194492340088, 1.3285020589828491, -0.10142507404088974, -0.26109951734542847, -0.24636006355285645, -0.20972608029842377, -0.14354106783866882, -0.33401578664779663, 1.080977439880371, 0.5599995255470276, -0.6075878143310547, 0.1301426738500595, -0.6213241219520569, 0.25127285718917847, 0.26894769072532654, -1.000545620918274, -0.1671028882265091, 0.17006054520606995, 0.6482962369918823, 0.1578339785337448, 0.7215414643287659, 0.008122499100863934, 0.2605687081813812, -0.27644506096839905, -0.1307438760995865, 0.13419212400913239, 0.00414273701608181, 0.04410305619239807, -0.03327479586005211, -0.07584411650896072, 0.05899471044540405 ]
http://arxiv.org/abs/2406.06469v1
http://arxiv.org/pdf/2406.06469v1
Husky: A Unified, Open-Source Language Agent for Multi-Step Reasoning
2024-06-10T17:07:25
2024-06-10T17:07:25
Joongwon Kim, Bhargavi Paranjape, Tushar Khot, Hannaneh Hajishirzi
cs.AI
cs.AI, cs.CL, cs.LG
Language agents perform complex tasks by using tools to execute each step precisely. However, most existing agents are based on proprietary models or designed to target specific tasks, such as mathematics or multi-hop question answering. We introduce Husky, a holistic, open-source language agent that learns to reason over a unified action space to address a diverse set of complex tasks involving numerical, tabular, and knowledge-based reasoning. Husky iterates between two stages: 1) generating the next action to take towards solving a given task and 2) executing the action using expert models and updating the current solution state. We identify a thorough ontology of actions for addressing complex tasks and curate high-quality data to train expert models for executing these actions. Our experiments show that Husky outperforms prior language agents across 14 evaluation datasets. Moreover, we introduce HuskyQA, a new evaluation set which stress tests language agents for mixed-tool reasoning, with a focus on retrieving missing knowledge and performing numerical reasoning. Despite using 7B models, Husky matches or even exceeds frontier LMs such as GPT-4 on these tasks, showcasing the efficacy of our holistic approach in addressing complex reasoning problems. Our code and models are available at https://github.com/agent-husky/Husky-v1.
[ -0.1552925854921341, -0.8436532616615295, 1.003231406211853, 0.333855003118515, 0.062059011310338974, 0.20883575081825256, -0.10400645434856415, -0.10356961190700531, -0.0535833016037941, 0.6390334963798523, -0.5893266201019287, -0.7755593657493591, -0.31347209215164185, -0.22464630007743835, -0.1577633023262024, 0.7652688026428223, -0.10445726662874222, -0.06645044684410095, 0.12607155740261078, -0.37190109491348267, -0.4084077775478363, -0.3425608277320862, -0.7205331325531006, -0.6125435829162598, 0.9014357328414917, 0.42486193776130676, 0.9284409880638123, 0.4529702663421631, 0.21460552513599396, 0.3637656569480896, 0.1761406660079956, 0.12655583024024963, 0.006633652839809656, 0.28863200545310974, -0.4505152702331543, -0.4291917085647583, -0.5876930952072144, -0.12662304937839508, 0.23326218128204346, 0.5467662811279297, -0.41768065094947815, 0.14194004237651825, -0.3222369849681854, 0.40215983986854553, -0.6376446485519409, 0.27788883447647095, -0.5080923438072205, -0.13187861442565918, -0.002063798252493143, -0.0392208956182003, -0.40558576583862305, -0.27871668338775635, 0.027333874255418777, -0.9468865990638733, -0.03259152173995972, -0.15848411619663239, 0.4329686760902405, 0.5104917287826538, -0.4694875180721283, -0.28507527709007263, -0.7161369323730469, 0.9780128598213196, -0.6650221943855286, 0.628876805305481, 0.19123397767543793, 0.3641742765903473, -0.31587398052215576, -0.8526761531829834, -0.5824196338653564, -0.44486430287361145, -0.0033536460250616074, 0.04931756108999252, -0.14775367081165314, 0.06441496312618256, 0.356230229139328, -0.0839415118098259, -0.6757224202156067, 0.1448758989572525, -0.045085880905389786, -0.09618987888097763, 0.5193429589271545, 0.37877774238586426, 0.45992428064346313, 0.13638067245483398, -0.037782639265060425, -0.28657928109169006, -0.19825799763202667, 0.3942558467388153, 0.34767839312553406, 0.3709557056427002, 0.20377524197101593, 0.46311455965042114, -0.4945398271083832, 0.5873528718948364, -0.011533980257809162, -0.11211184412240982, -0.09250134229660034, 0.11574707925319672, -0.39101794362068176, 0.20508071780204773, 0.7272034883499146, -0.21931658685207367, -0.12752538919448853, -0.42442041635513306, -0.34779679775238037, 0.06179484352469444, 0.5267892479896545, -0.2679176330566406, -0.16913878917694092, 0.6920228600502014, -0.06973746418952942, -0.06597669422626495, -0.07938066869974136, -0.4579681158065796, -0.4163195788860321, -0.6173977255821228, 0.6324318051338196, -0.42744553089141846, -0.4630368649959564, 0.7212782502174377, -0.0280701145529747, 0.46944233775138855, 0.6534536480903625, -0.42157211899757385, 0.32923081517219543, 1.020650029182434, 0.49623602628707886, 0.21682026982307434, -0.8008665442466736, -0.8964606523513794, -0.019091647118330002, -0.5341731905937195, 0.8434680104255676, -0.5456976294517517, 0.24231593310832977, -0.08700719475746155, 0.05865927040576935, -0.10593051463365555, -0.23720325529575348, 0.750482976436615, -0.5566408038139343, -0.013843820430338383, -0.1724219024181366, -0.2778952419757843, -0.44136884808540344, 0.4038908779621124, -0.942704975605011, 1.239343285560608, -0.006420414429157972, -0.6477225422859192, 0.20202402770519257, -1.0917644500732422, -0.36294978857040405, 0.1978287249803543, 0.19128043949604034, 0.00739566283300519, -0.060921065509319305, -0.0758100375533104, 0.5753973126411438, -0.33116859197616577, 0.39036551117897034, -0.4319835603237152, -0.040741510689258575, -0.03687594458460808, 0.07820335030555725, 0.8214343190193176, 0.11836816370487213, -0.6047751903533936, 0.5494043231010437, -0.6226834058761597, 0.27186810970306396, 0.13444784283638, -0.503711998462677, -0.4007912576198578, 0.03156020864844322, -0.3111351728439331, 0.4971412420272827, 0.06507562100887299, -0.7024496793746948, 0.15689148008823395, 0.008146492764353752, -0.017654459923505783, 0.5508108735084534, -0.5835214257240295, 0.38072898983955383, -0.32581302523612976, 0.31146439909935, -0.10179165750741959, 0.07812196761369705, -0.0384199433028698, -0.3922809958457947, -1.055100440979004, -0.0715881958603859, 0.10107197612524033, 0.6804420351982117, -0.6475017666816711, 0.5120403170585632, 0.0015115066198632121, -0.9142583012580872, -0.815453827381134, -0.010142482817173004, 0.33902567625045776, 0.20584186911582947, 0.4276663661003113, 0.030281007289886475, -0.2389998584985733, -0.7022776007652283, -0.4950135052204132, -0.32544416189193726, 0.016034407541155815, -0.19298061728477478, 0.5077396631240845, -0.21726496517658234, 0.7321649193763733, -0.46205219626426697, -0.10401393473148346, -0.5160329341888428, 0.6720258593559265, 0.09079987555742264, 0.36354517936706543, -0.026343677192926407, -0.5647749900817871, -0.339545339345932, 0.35587719082832336, -0.8536336421966553, 0.01573496125638485, -0.4001215994358063, -0.37636497616767883, 0.1649453043937683, 0.37293025851249695, -1.0428091287612915, 0.16974061727523804, 0.3844296634197235, -0.6480379700660706, 0.7947514653205872, -0.370263010263443, 0.025858884677290916, -0.8533439040184021, 0.2072489857673645, 0.22407016158103943, -0.22750957310199738, -0.9973112344741821, 0.376920610666275, 0.03589427471160889, 0.10177632421255112, -0.5767819881439209, 0.6364979147911072, -0.1664532870054245, -0.09771913290023804, -0.06853128969669342, -0.15453143417835236, 0.046177130192518234, 0.7728934288024902, 0.32006755471229553, 0.18646666407585144, 0.7303082346916199, -0.6397219896316528, 0.6213741302490234, -0.018153809010982513, -0.3130037486553192, 0.5492159724235535, -0.6260618567466736, 0.4646867513656616, -0.1299493908882141, 0.0598132386803627, -0.42455199360847473, -0.10233549773693085, 0.10896497219800949, -0.24583768844604492, 0.06944803893566132, 0.16008691489696503, -0.8689125776290894, -0.31566092371940613, -0.02787523716688156, -0.08855971693992615, 0.1742425560951233, -0.4505693018436432, 0.9561754465103149, 0.2233680933713913, -0.018603520467877388, -0.6151465773582458, -0.09643033891916275, -0.021777642890810966, -0.1266651153564453, -0.5494006276130676, -0.11670982837677002, -0.16883720457553864, -0.6049819588661194, 0.14525608718395233, -0.22138120234012604, -0.36074215173721313, 0.32842302322387695, -0.07851502299308777, 0.006159614305943251, -0.2611061632633209, 0.200047105550766, -0.05070667713880539, -0.09621022641658783, 0.09226975589990616, -0.555467963218689, 0.3895983099937439, -0.422331303358078, -0.575355052947998, -0.3427746891975403, 0.49869880080223083, 0.9672160744667053, -0.34770411252975464, 0.37102726101875305, 0.7578661441802979, -0.36040863394737244, -0.24798820912837982, -0.49490657448768616, -0.021501343697309494, -0.39635181427001953, 0.4519929885864258, -0.7372072339057922, -0.6148756742477417, 0.2883405089378357, -0.09194200485944748, 0.7356380224227905, 0.3471124768257141, 0.7231932282447815, -0.17921753227710724, 1.3804653882980347, 0.4637019634246826, 0.11096001416444778, -0.03330659866333008, -0.1499572992324829, 0.23321178555488586, -0.4441404342651367, -0.5348451137542725, -0.7534635066986084, -0.20098337531089783, -0.02359962835907936, -0.5178557634353638, 0.030107853934168816, 0.06855466961860657, -0.5847692489624023, 0.4127534329891205, -0.3434143662452698, 0.33749720454216003, 0.8497181534767151, -0.17631305754184723, 0.35646307468414307, -0.506556510925293, -0.4312182068824768, 0.23143765330314636, -0.5835592746734619, -0.653861403465271, 0.6547660231590271, 0.45228973031044006, 0.9652652740478516, 0.16895166039466858, 0.34055376052856445, 0.3360559046268463, 0.28668326139450073, -1.0955060720443726, 0.5249378681182861, 0.12840679287910461, -0.5995990037918091, -0.7192903757095337, -0.26078590750694275, -0.9967632293701172, 0.5048859119415283, 0.0737316906452179, -0.721590518951416, -0.46937546133995056, -0.12532368302345276, -0.11206195503473282, 0.52183997631073, -0.4343407154083252, 1.0486559867858887, -0.4546832740306854, -0.14112675189971924, -0.317963570356369, -0.5052545666694641, 0.4004072844982147, -0.15978263318538666, 0.24257241189479828, -0.29595252871513367, 0.09738865494728088, 0.5796171426773071, -0.4506285488605499, 0.7520359754562378, -0.21126218140125275, -0.2664802372455597, 0.20918628573417664, 0.4412260055541992, 0.6031895875930786, -0.326021283864975, 0.0027151708491146564, -0.14531747996807098, 0.14122751355171204, -0.5388197898864746, -0.9306268692016602, 0.5386733412742615, -0.7387601137161255, -0.8537137508392334, -0.3682589828968048, -0.7160254716873169, -0.1830257922410965, 0.2165488749742508, -0.32632169127464294, 0.45919105410575867, -0.03972027823328972, 0.07630209624767303, 0.5671786069869995, -0.09707529842853546, 0.3719305694103241, 0.9575797319412231, 0.037425559014081955, -0.23966920375823975, 0.7288607954978943, -0.14187903702259064, 0.11192160844802856, 0.4138769507408142, 0.288412481546402, -0.5310794711112976, -0.1665506213903427, -0.7000892758369446, 0.24715740978717804, -0.922701358795166, 0.14048133790493011, -0.9921787977218628, 0.05614390969276428, -0.20596742630004883, -0.26997607946395874, -0.5312774777412415, -0.2626052498817444, 0.06274735182523727, 0.06618514657020569, 0.12778425216674805, 0.9248643517494202, 0.10352300107479095, 0.1643603891134262, -0.8920455574989319, 0.30471470952033997, 0.7056517004966736, 0.29584965109825134, 0.00250437343493104, -0.23377348482608795, -0.19639363884925842, -0.18936187028884888, -0.48515626788139343, -0.7290229797363281, 0.220499649643898, -0.08713223040103912, 0.9919904470443726, 0.1326235830783844, 0.21261776983737946, 0.5626828670501709, -0.2741348445415497, 0.5063828229904175, 0.2979351580142975, -1.0866881608963013, 0.47073981165885925, -0.29206666350364685, 0.6220433115959167, 0.2866787314414978, 0.4675086736679077, -0.7809448838233948, -0.8685850501060486, -0.7480151057243347, -0.349532812833786, 1.0338494777679443, 0.160653755068779, -0.14766620099544525, 0.4872121214866638, -0.07033731043338776, 0.3270856440067291, -0.005986175034195185, -0.5772659182548523, -0.1510275900363922, -0.3294597566127777, -0.13234928250312805, -0.004579044878482819, 0.4129806458950043, -0.0076030041091144085, -0.18616409599781036, 0.7155414819717407, -0.6317383050918579, -0.1816544532775879, 0.12190558016300201, -0.3003510534763336, -0.10309875011444092, 0.6197739839553833, 0.39592352509498596, 0.5591171979904175, -0.06367768347263336, 0.31103354692459106, 0.21118570864200592, -0.3220592737197876, 0.18739156424999237, 0.1293901801109314, 0.07408531755208969, 0.0878169909119606, 0.37785619497299194, 0.7130299806594849, 0.20544815063476562, -0.7891983985900879, 0.20678146183490753, -0.20113494992256165, -0.49972212314605713, -0.04160083830356598, -0.023555072024464607, 0.25561949610710144, 0.4370241165161133, 0.13118913769721985, -0.10739292949438095, 0.17518816888332367, -0.6128256916999817, 0.2078382670879364, 0.1492905616760254, -0.7116484045982361, -0.7100763916969299, 0.5256702303886414, 0.0705341100692749, -0.47381657361984253, 0.45966359972953796, -0.34585121273994446, -0.5900251269340515, 0.6575581431388855, 0.45130252838134766, 1.0197514295578003, -0.23118115961551666, 0.7077134847640991, 0.2728573977947235, 0.3724682331085205, -0.30119502544403076, 0.6820975542068481, -0.08593592792749405, -0.6746113896369934, -0.6235806941986084, -0.6152052283287048, -0.5795638561248779, 0.40367192029953003, -0.4110347330570221, 0.34606727957725525, -0.34182098507881165, 0.11032325774431229, 0.13973842561244965, 0.0518493577837944, -0.751763105392456, 0.1326388418674469, 0.05117616429924965, 1.1103755235671997, -0.7437726855278015, 1.028277039527893, 1.2682160139083862, -0.3562718331813812, -1.1789451837539673, -0.04861409589648247, 0.056560926139354706, -0.38139569759368896, 0.6579175591468811, 0.126013845205307, -0.15731891989707947, 0.121961809694767, -0.4167785048484802, -0.6652522683143616, 0.9776220321655273, 0.3775515556335449, -0.09226366877555847, -0.010584238916635513, 0.09747028350830078, 0.451255738735199, -0.2145618051290512, 0.3244032561779022, 0.8806976675987244, 0.7095561027526855, 0.26503682136535645, -1.0553706884384155, 0.08037305623292923, -0.14852918684482574, -0.5749906897544861, 0.3934684991836548, -0.46866902709007263, 0.9780444502830505, -0.3134706914424896, -0.05254357308149338, -0.12683649361133575, 0.36950695514678955, 0.5244747996330261, 0.42427295446395874, 0.7546154260635376, 0.9319191575050354, 0.908782958984375, 0.07201075553894043, 0.8490632176399231, 0.050247617065906525, 0.3328373432159424, 0.9696899056434631, -0.4513531029224396, 0.6701999306678772, 0.10116276144981384, 0.10372669249773026, 0.7608783841133118, 0.5184286236763, 0.4807625412940979, 0.39568808674812317, 0.1054314523935318, -0.3124588131904602, -0.7298124432563782, -0.26884186267852783, 0.33671078085899353, 0.5916095972061157, 0.36524078249931335, 0.2882884442806244, -0.6510862112045288, -0.2748897671699524, 0.16800224781036377, -0.1020989865064621, -0.3967594504356384, 0.8589758276939392, -0.02051657624542713, -1.0501633882522583, 0.35650497674942017, 0.03913617879152298, 0.1458943784236908, -0.6511491537094116, -0.12265138328075409, 0.015361802652478218, 0.15029826760292053, -0.12064314633607864, -1.0771170854568481, 0.26051121950149536, 0.027887217700481415, 0.23577997088432312, -0.16190895438194275, 0.7895439863204956, -0.3617607355117798, -0.19136899709701538, 0.46009403467178345, 0.7465585470199585, 0.24627216160297394, -0.3836057186126709, -0.9973134994506836, -0.2403538078069687, -0.26943737268447876, -0.3079051375389099, 0.05945858359336853, 0.8756300210952759, -0.28281328082084656, 0.9023479223251343, 0.7543416619300842, -0.02340771071612835, 0.01556189265102148, 0.19013990461826324, 0.8834396600723267, -0.7693978548049927, -0.4597941040992737, -0.6527011394500732, 0.9023720026016235, 0.0028879104647785425, -0.20498794317245483, 0.429788738489151, 0.4651485085487366, 0.6332987546920776, -0.020696232095360756, 0.9357544779777527, 0.0026946517173200846, 0.33540794253349304, -0.4101833999156952, 0.5124436020851135, -0.6915022730827332, -0.12897786498069763, -0.050477467477321625, -0.7563464641571045, -0.3556162118911743, 0.1904866099357605, -0.03486032038927078, -0.448638916015625, 0.9826325178146362, 0.7866621017456055, -0.18919609487056732, 0.0010841010371223092, 0.7753254175186157, -0.028567666187882423, 0.4503459632396698, 0.5100956559181213, 1.2009118795394897, 0.10386749356985092, 0.6435716152191162, -0.10047641396522522, -0.16740059852600098, -0.06256267428398132, -0.5488409399986267, -0.9228754043579102, -0.6876572966575623, -0.3028651773929596, -0.25348135828971863, -0.2916143536567688, 1.1024857759475708, 0.6951846480369568, -0.6807621121406555, -0.3084701895713806, -0.10509424656629562, 0.3461364209651947, -0.39177462458610535, -0.1915472149848938, 0.17635594308376312, -0.8221476078033447, -0.6650938391685486, 0.40350526571273804, 0.4554324746131897, -0.3716343641281128, -0.4963243007659912, -0.46925342082977295, -0.16973839700222015, 0.2863785922527313, 0.609682023525238, 0.4077064096927643, -1.105905294418335, -0.2536412477493286, 0.34740692377090454, -0.32927989959716797, -0.04751446843147278, 1.0922272205352783, -0.6315871477127075, 0.4974652826786041, 0.4901409447193146, 0.676639199256897, 0.11557816714048386, -0.3197520673274994, 0.5499122142791748, -0.2954537570476532, -0.19033120572566986, 0.2965531647205353, 0.32484370470046997, 0.10708201676607132, -0.18030190467834473, 0.35704612731933594, -0.04598301276564598, -0.47026336193084717, -0.5145440697669983, 0.21319960057735443, -0.9058817625045776, -0.4368516206741333, 1.1823142766952515, -0.32373014092445374, -0.32802945375442505, -0.7168286442756653, -0.4194542467594147, 0.2905644476413727, -0.5606229901313782, 0.6789663434028625, 0.6397979259490967, -0.12372466921806335, -0.15993846952915192, -0.5732936859130859, 0.4478277266025543, 0.33055388927459717, -1.2192176580429077, 0.19778980314731598, 0.329111784696579, 0.14021284878253937, 0.27990931272506714, 0.6750143766403198, 0.225304514169693, 0.48544472455978394, -0.01483970321714878, 0.4006957709789276, 0.11193865537643433, -0.6137232184410095, -0.2734885811805725, 0.030722467228770256, 0.3171272575855255, -0.14205482602119446 ]
http://arxiv.org/abs/2406.06465v1
http://arxiv.org/pdf/2406.06465v1
AID: Adapting Image2Video Diffusion Models for Instruction-guided Video Prediction
2024-06-10T17:02:08
2024-06-10T17:02:08
Zhen Xing, Qi Dai, Zejia Weng, Zuxuan Wu, Yu-Gang Jiang
cs.CV
cs.CV, cs.AI, cs.CL, cs.LG, cs.MM
Text-guided video prediction (TVP) involves predicting the motion of future frames from the initial frame according to an instruction, which has wide applications in virtual reality, robotics, and content creation. Previous TVP methods make significant breakthroughs by adapting Stable Diffusion for this task. However, they struggle with frame consistency and temporal stability primarily due to the limited scale of video datasets. We observe that pretrained Image2Video diffusion models possess good priors for video dynamics but they lack textual control. Hence, transferring Image2Video models to leverage their video dynamic priors while injecting instruction control to generate controllable videos is both a meaningful and challenging task. To achieve this, we introduce the Multi-Modal Large Language Model (MLLM) to predict future video states based on initial frames and text instructions. More specifically, we design a dual query transformer (DQFormer) architecture, which integrates the instructions and frames into the conditional embeddings for future frame prediction. Additionally, we develop Long-Short Term Temporal Adapters and Spatial Adapters that can quickly transfer general video diffusion models to specific scenarios with minimal training costs. Experimental results show that our method significantly outperforms state-of-the-art techniques on four datasets: Something Something V2, Epic Kitchen-100, Bridge Data, and UCF-101. Notably, AID achieves 91.2% and 55.5% FVD improvements on Bridge and SSv2 respectively, demonstrating its effectiveness in various domains. More examples can be found at our website https://chenhsing.github.io/AID.
[ -0.13095222413539886, -0.9323329925537109, 0.4440566897392273, 0.17974232137203217, -0.17590665817260742, -0.26924097537994385, -0.26442357897758484, 0.0031480491161346436, -0.3689565658569336, 0.43795090913772583, -0.44345226883888245, -0.17145580053329468, -0.9232591390609741, -0.39451634883880615, -0.3487504720687866, 0.7390934228897095, -0.2766570746898651, 0.4178464114665985, -0.20860442519187927, 0.007228477392345667, -0.8094106316566467, 0.06412706524133682, -0.6685206890106201, -0.15966521203517914, 0.0689157024025917, 0.2133599817752838, 0.6260775923728943, 0.3181881308555603, 0.2677437663078308, 0.30056050419807434, 0.14473013579845428, 0.1891542375087738, -0.2818351984024048, 0.19532069563865662, 0.013467234559357166, -0.3221510946750641, -0.17196737229824066, -0.20569874346256256, 0.7310092449188232, 0.1362309604883194, -0.2764416038990021, -0.013872796669602394, 0.10336554050445557, 0.6876698732376099, -0.43454253673553467, 0.2005567103624344, -0.5819804668426514, 0.30592718720436096, 0.2617051303386688, -0.24939265847206116, -0.5304856300354004, -0.1572742611169815, 0.25397175550460815, -0.6117401123046875, 0.2772449553012848, 0.03487573564052582, 0.3575339615345001, 0.6842079758644104, -0.6074092388153076, -0.12370967864990234, -0.8779094219207764, 0.5407898426055908, -0.4930693805217743, 0.7637546062469482, 0.575261652469635, 0.6009050011634827, -0.31212571263313293, -0.6641971468925476, -0.5068895816802979, -0.2195952981710434, 0.14109398424625397, 0.17919813096523285, -0.2310212105512619, 0.030947180464863777, 0.22456888854503632, -0.1939975619316101, -0.7081537246704102, 0.24920214712619781, -0.2161371111869812, -0.10560636967420578, 0.3382181227207184, 0.07391264289617538, 0.28891536593437195, -0.14841848611831665, -0.5863744616508484, -0.07284978032112122, -0.39421546459198, 0.3102807402610779, -0.0720176175236702, -0.2883135974407196, -0.35877716541290283, 0.5946051478385925, 0.24294401705265045, 0.6138874292373657, 0.21934650838375092, -0.32047566771507263, 0.021209847182035446, -0.3145986497402191, -0.5511770248413086, -0.054047975689172745, 0.6470620632171631, 0.6296401619911194, 0.10503134876489639, 0.19466985762119293, 0.027521956712007523, -0.09570276737213135, 0.12568718194961548, -1.1164439916610718, -0.5255696773529053, 0.10641127079725266, -0.4697847366333008, 0.2272755205631256, -0.048714540898799896, -1.1430033445358276, -0.6883220076560974, -0.40423423051834106, 0.4973495602607727, -0.39999857544898987, -0.3166285753250122, 0.11253063380718231, -0.18688620626926422, 0.2801703214645386, 0.6325700879096985, -0.8811243176460266, 0.18516391515731812, 0.336478054523468, 0.9663219451904297, -0.2528655230998993, -0.18744774162769318, -0.9961566925048828, 0.31652963161468506, -0.23281492292881012, 0.724640965461731, -0.6990616321563721, -0.2844507694244385, 0.2900121510028839, 0.37812340259552, -0.06701214611530304, -0.30262166261672974, 0.24195833504199982, -0.6814671158790588, 0.37256595492362976, 0.09989676624536514, -0.4995228052139282, -0.19027824699878693, 0.01218207273632288, -0.7598115801811218, 0.8746299743652344, 0.0569743849337101, -0.39948394894599915, 0.40061673521995544, -0.698453962802887, -0.3351805508136749, -0.3156736195087433, -0.0930870994925499, -0.5198460817337036, -0.09334934502840042, 0.17448487877845764, 0.4736025631427765, -0.10728944092988968, 0.48700398206710815, -0.23687639832496643, -0.13738738000392914, 0.125717893242836, -0.9753542542457581, 0.23688745498657227, -0.10706374794244766, -0.4296033978462219, 0.24688473343849182, -0.6774955987930298, -0.25064682960510254, -0.36901170015335083, -0.16609884798526764, -0.1682511866092682, 0.21998700499534607, 0.07019554823637009, 0.391676127910614, -0.20836305618286133, -0.19764012098312378, 0.30611300468444824, -0.08651698380708694, 0.3230256736278534, 1.0220662355422974, -0.12440512329339981, 0.8544215559959412, 0.21361741423606873, 0.8898363709449768, 0.04154503718018532, 0.24352718889713287, -0.29668083786964417, -0.6320974826812744, -0.44161221385002136, -0.025608576834201813, 0.08498715609312057, 0.7069098949432373, -1.0716179609298706, -0.10345551371574402, -0.24347396194934845, -0.18415102362632751, -0.27250534296035767, 0.26790139079093933, 0.2168891280889511, 0.5150995850563049, 0.5990167856216431, -0.07997288554906845, -0.5208435654640198, -0.46867215633392334, 0.2972497045993805, 0.023580629378557205, -0.2549543082714081, 0.1552177518606186, 0.27157095074653625, -0.14988595247268677, 0.47098276019096375, -0.5980581045150757, -0.5145482420921326, 0.10726623237133026, 0.08956035226583481, -0.10126733779907227, 0.390584260225296, 0.47595492005348206, -1.1301311254501343, -0.5683113932609558, 0.007389270234853029, -0.5956427454948425, 0.3056896924972534, -0.2579917311668396, -0.20052970945835114, 0.22665514051914215, 0.6679418087005615, -0.3709148168563843, 0.5581415295600891, 1.0316869020462036, -0.6500224471092224, 0.4551287591457367, -0.5439673066139221, 0.19730153679847717, -1.3056915998458862, -0.4635127782821655, 0.2741967439651489, -0.23965276777744293, -0.34935808181762695, -0.497123122215271, -0.020764779299497604, -0.11775636672973633, -0.3753904104232788, 0.60922771692276, -0.38434284925460815, -0.04919227212667465, -0.3935054540634155, -0.09725380688905716, -0.10070163756608963, 0.4155687093734741, 0.2672352194786072, 0.8782936334609985, 0.8074732422828674, -0.5250644087791443, 0.512493908405304, 0.2652256190776825, -0.4946996569633484, 0.5494051575660706, -0.5753597617149353, -0.24937325716018677, -0.3049387037754059, 0.3710152804851532, -1.1081843376159668, -0.24972710013389587, 0.2344397008419037, -0.2973095774650574, 0.5188958644866943, -0.4364053010940552, -0.06530144810676575, -0.18011392652988434, -0.27062633633613586, 0.3127284348011017, 0.6891317367553711, -0.46473103761672974, 0.9545711278915405, 0.24759866297245026, -0.22945962846279144, -0.7210974097251892, -0.6547474265098572, 0.01814541034400463, -0.13164161145687103, -0.47747543454170227, 0.5342453122138977, -0.5463807582855225, 0.16537514328956604, 0.22117839753627777, -0.04574381932616234, -0.35170114040374756, -0.19488707184791565, 0.6350897550582886, 0.43346118927001953, -0.3323633372783661, 0.11151222884654999, 0.35127121210098267, -0.01086544431746006, 0.08139931410551071, -0.3832094073295593, 0.3109537959098816, 0.39198482036590576, -0.25720787048339844, -0.5192767977714539, 0.4011559784412384, 0.5720308423042297, -0.23896092176437378, 0.6016385555267334, 1.2142245769500732, -0.28598880767822266, -0.2101832777261734, -0.4189196527004242, -0.0480111688375473, -0.4784524738788605, 0.8725854754447937, -0.15482668578624725, -0.6928358674049377, 0.029352378100156784, -0.12402444332838058, -0.029417909681797028, -0.0543932169675827, 0.6476742029190063, -0.18336032330989838, 1.0507378578186035, 0.8215286135673523, 0.15886804461479187, 1.0639725923538208, -0.40674903988838196, -0.1024337112903595, -0.7655483484268188, -0.45148754119873047, 0.025411007925868034, -0.39511242508888245, -0.3765745162963867, -0.9129235744476318, 0.5078315734863281, 0.08645892888307571, -0.2170502096414566, 0.037765152752399445, -0.19201669096946716, 0.3930320739746094, 0.3784170150756836, 0.15264621376991272, -0.016253303736448288, 0.2683636546134949, 0.2197655588388443, -0.185512974858284, -0.6319557428359985, -0.16252616047859192, 0.9666301608085632, 0.3792364001274109, 0.8049139380455017, 0.35596945881843567, -0.07022535055875778, 0.7124857902526855, 0.30503174662590027, -0.941311776638031, 0.39832669496536255, -0.4361414909362793, -0.18629120290279388, -0.4223722517490387, -0.09770302474498749, -0.8108494281768799, 0.1378553807735443, -0.4173089265823364, -0.4236166775226593, 0.061564862728118896, 0.3868027627468109, -0.3129720687866211, 0.2677031457424164, -0.8075003027915955, 0.8466993570327759, -0.29067176580429077, -0.6521615386009216, -0.19617809355258942, -0.589444100856781, 0.2558028995990753, -0.05623359978199005, 0.3475753962993622, 0.06827311962842941, -0.17264872789382935, 0.6161871552467346, -0.03746635094285011, 0.738319993019104, -0.5138253569602966, -0.07787322252988815, 0.2723034620285034, 0.138407900929451, 0.40489521622657776, 0.2700643539428711, 0.000030338764190673828, -0.36060449481010437, 0.021420307457447052, -0.20229211449623108, -0.924243152141571, 0.6236763000488281, -0.6342766284942627, -0.5263293981552124, -0.08029770106077194, -0.38966768980026245, -0.03729524835944176, 0.23584933578968048, 0.08867212384939194, 0.7085882425308228, -0.022973041981458664, 0.24293938279151917, 0.951800525188446, -0.09349782019853592, 0.7840700745582581, 0.5383056402206421, -0.1615825742483139, -0.6189830303192139, 0.6832544803619385, -0.06208402290940285, 0.28014999628067017, 0.5887433886528015, 0.2190500795841217, -0.4392165243625641, -0.589210033416748, -0.8563228845596313, -0.19395604729652405, -0.5540418028831482, -0.40974366664886475, -0.3469453752040863, 0.07286962121725082, -0.39149239659309387, -0.09445565193891525, -0.262274831533432, -0.16956201195716858, -0.39636117219924927, -0.20938721299171448, 0.32569047808647156, 0.5042318105697632, 0.008484098128974438, 0.26050055027008057, -0.69091796875, 0.5515850782394409, 0.6217043399810791, 0.38084515929222107, -0.21927981078624725, -0.9416818022727966, -0.2746456265449524, -0.02943495661020279, -0.36110976338386536, -0.9246063232421875, 0.318050742149353, 0.5246772170066833, 0.3443939983844757, 0.4007068872451782, -0.12835244834423065, 0.7504756450653076, -0.9404253363609314, 1.0133880376815796, 0.4924473762512207, -0.5664142966270447, 0.47599583864212036, 0.007402108516544104, 0.1538228988647461, 0.05285219848155975, 0.4864742159843445, -0.233962282538414, 0.1551409214735031, -0.06104952469468117, -0.6253672242164612, 0.43695172667503357, -0.26380717754364014, 0.38170310854911804, 0.3424670994281769, 0.14617250859737396, 0.14041006565093994, -0.09154064208269119, -0.604853093624115, -0.1793949455022812, -0.4639888107776642, -0.1763734519481659, -0.1640874445438385, -0.39799851179122925, -0.028008269146084785, -0.2546434700489044, 0.5728021264076233, -0.24432812631130219, 0.23617960512638092, 0.10061714053153992, -0.10574934631586075, -0.2631073594093323, 0.1438436061143875, 0.7690950036048889, 0.5441111922264099, -0.028895342722535133, 0.11273226886987686, 0.05920660123229027, -0.6668916940689087, 0.41999551653862, 0.41598233580589294, -0.06069464609026909, 0.1037827655673027, 0.256305992603302, 1.045951008796692, 0.31358182430267334, -0.6408072710037231, 0.7064208388328552, -0.05397472158074379, -0.19064302742481232, -0.6609312295913696, 0.004516058135777712, -0.13777980208396912, 0.5883673429489136, 0.2701309323310852, 0.3026990592479706, 0.18290676176548004, -0.33628740906715393, 0.3534502685070038, 0.4070049524307251, -0.4705892503261566, -0.5124058127403259, 1.087273120880127, 0.14530985057353973, -0.41105908155441284, 0.4454541504383087, -0.1742672324180603, -0.3160798251628876, 0.4336983859539032, 0.6184789538383484, 0.8516523241996765, -0.5722882747650146, 0.5507427453994751, 0.4127316474914551, -0.012233984656631947, -0.2752438187599182, 0.02323979139328003, -0.04474964365363121, -0.5638671517372131, -0.6739425659179688, -0.5360742211341858, 0.08233673870563507, 0.028838688507676125, -0.550083577632904, 0.5096868872642517, -0.23369364440441132, -0.18508900701999664, -0.04374026134610176, -0.33018767833709717, -0.7536922693252563, 0.2296590358018875, 0.4195488691329956, 0.8599629998207092, -0.9205318689346313, 1.2378649711608887, 0.7055464386940002, -0.1902163028717041, -0.6303662657737732, -0.07823500037193298, -0.03154969587922096, -0.7061742544174194, 0.3961844742298126, 0.03877436742186546, -0.1178143322467804, -0.13931885361671448, -0.26045912504196167, -0.7161881923675537, 1.3395678997039795, 0.29637622833251953, -0.5235240459442139, -0.46931877732276917, -0.14867565035820007, 0.36528444290161133, -0.13648468255996704, 0.24509726464748383, 0.3007752299308777, 0.46811601519584656, 0.38071566820144653, -0.6940838098526001, -0.20599493384361267, -0.11162478476762772, 0.08298846334218979, 0.1927911788225174, -0.3065045475959778, 0.483979195356369, -0.4479934573173523, 0.1378956437110901, 0.020070940256118774, 0.8406293392181396, -0.12114444375038147, 0.6291372776031494, 0.5126881003379822, 0.24422623217105865, 0.4417611062526703, 0.25479766726493835, 0.7804458141326904, -0.11376502364873886, 0.04582485929131508, 1.2813279628753662, 0.1294914335012436, 1.0233696699142456, 0.5327014923095703, -0.3437308371067047, 0.7702333331108093, 0.28293707966804504, -0.21718944609165192, 0.8035648465156555, -0.21778728067874908, -0.1359138935804367, -0.10260038077831268, -0.024998920038342476, -0.3662048578262329, 0.4884119927883148, 0.3921850025653839, -0.5964010953903198, 0.1590835154056549, 0.41820403933525085, -0.11799564957618713, 0.03436284884810448, -0.4103552997112274, 0.6537284255027771, -0.14785386621952057, -0.7547158598899841, 0.395090788602829, -0.03663959726691246, 0.6525776386260986, -0.7247000336647034, -0.43141815066337585, -0.11151731014251709, 0.08883679658174515, -0.11906466633081436, -0.8211961984634399, 0.07878571003675461, -0.09302545338869095, -0.3869905471801758, -0.2625584602355957, 0.48023244738578796, -0.8992450833320618, -0.5110771656036377, 0.16364458203315735, 0.25324535369873047, -0.20209598541259766, 0.20180931687355042, -0.677556574344635, 0.06046605110168457, 0.10287287086248398, -0.3445669412612915, 0.4589805603027344, 0.33911898732185364, -0.0022458487655967474, 0.6828123331069946, 0.44550415873527527, 0.006308417301625013, 0.351833701133728, -0.09299194812774658, 0.7117870450019836, -0.27955296635627747, -0.24590162932872772, -0.7552797198295593, 0.7079750299453735, 0.1607826203107834, -0.02286447212100029, 0.5280208587646484, 0.3857409358024597, 0.6373775005340576, -0.19631169736385345, 0.5971636176109314, -0.05434570461511612, -0.1526784598827362, -1.0065220594406128, 0.22030115127563477, -0.6096336841583252, 0.18296338617801666, -0.24848413467407227, -0.7621573805809021, -0.1457778811454773, 0.28475961089134216, -0.21363483369350433, -0.1504545360803604, 0.5731004476547241, 0.8005193471908569, -0.28297343850135803, -0.17626184225082397, 0.37892571091651917, 0.1340940147638321, 0.5532023906707764, 0.596927285194397, 0.5615357756614685, -0.3976476788520813, 0.6963728070259094, -0.24478667974472046, -0.25339072942733765, -0.10398972779512405, -0.9396181702613831, -0.7922298908233643, -0.7887449860572815, -0.3127225637435913, -0.3744390606880188, 0.06777917593717575, 0.8072735071182251, 0.9272594451904297, -0.6451608538627625, -0.016613395884633064, -0.0062496233731508255, 0.11114630103111267, -0.2625499963760376, -0.23745965957641602, 0.5610315203666687, 0.19645079970359802, -0.8372575640678406, 0.47241488099098206, 0.1726081818342209, 0.27061331272125244, -0.3197888135910034, -0.2783491313457489, 0.027252238243818283, -0.16731344163417816, 1.0238839387893677, 0.09828920662403107, -0.8537725806236267, -0.34651434421539307, 0.09169979393482208, 0.31082841753959656, -0.03461441397666931, 0.868267834186554, -0.7432243227958679, 0.812873125076294, 0.2925703823566437, 0.6666805744171143, 0.44455280900001526, 0.08669119328260422, 0.5924392938613892, -0.4473245441913605, 0.33731797337532043, 0.08197026699781418, 0.3064374625682831, 0.2662465274333954, -0.29533618688583374, 0.23414522409439087, 0.04601161554455757, -0.6443933844566345, -0.6387194991111755, 0.35988175868988037, -1.0144942998886108, -0.325361043214798, 1.3334511518478394, -0.14131607115268707, -0.07132823765277863, 0.08515118807554245, -0.48181021213531494, 0.27445438504219055, -0.47646549344062805, 0.6167973875999451, 0.36519214510917664, -0.1597653478384018, -0.6858518123626709, -0.9046316742897034, 0.6545229554176331, 0.24127262830734253, -0.5763216018676758, 0.009661322459578514, 0.8889215588569641, 0.3844088613986969, -0.22188526391983032, 0.4555525481700897, 0.24127739667892456, 0.43616124987602234, -0.15626397728919983, -0.3375791311264038, -0.28143513202667236, -0.59103924036026, -0.3939005136489868, 0.1944991499185562, -0.14036913216114044, -0.3604048490524292 ]
http://arxiv.org/abs/2406.06464v2
http://arxiv.org/pdf/2406.06464v2
Transforming Wearable Data into Health Insights using Large Language Model Agents
2024-06-10T17:00:54
2024-06-11T15:17:43
Mike A. Merrill, Akshay Paruchuri, Naghmeh Rezaei, Geza Kovacs, Javier Perez, Yun Liu, Erik Schenck, Nova Hammerquist, Jake Sunshine, Shyam Tailor, Kumar Ayush, Hao-Wei Su, Qian He, Cory Y. McLean, Mark Malhotra, Shwetak Patel, Jiening Zhan, Tim Althoff, Daniel McDuff, Xin Liu
cs.AI
cs.AI, cs.CL
Despite the proliferation of wearable health trackers and the importance of sleep and exercise to health, deriving actionable personalized insights from wearable data remains a challenge because doing so requires non-trivial open-ended analysis of these data. The recent rise of large language model (LLM) agents, which can use tools to reason about and interact with the world, presents a promising opportunity to enable such personalized analysis at scale. Yet, the application of LLM agents in analyzing personal health is still largely untapped. In this paper, we introduce the Personal Health Insights Agent (PHIA), an agent system that leverages state-of-the-art code generation and information retrieval tools to analyze and interpret behavioral health data from wearables. We curate two benchmark question-answering datasets of over 4000 health insights questions. Based on 650 hours of human and expert evaluation we find that PHIA can accurately address over 84% of factual numerical questions and more than 83% of crowd-sourced open-ended questions. This work has implications for advancing behavioral health across the population, potentially enabling individuals to interpret their own wearable data, and paving the way for a new era of accessible, personalized wellness regimens that are informed by data-driven insights.
[ 0.2186441272497177, -0.7050148248672485, 0.9116582274436951, -0.12219182401895523, -0.02223844826221466, 0.20361101627349854, -0.04588567093014717, -0.7000516653060913, 0.510760486125946, 0.7479605674743652, -0.8554346561431885, -0.5395739078521729, -0.25806981325149536, -0.16623744368553162, -0.019403791055083275, 1.0948870182037354, 0.19718234241008759, 0.05867718532681465, -0.16329628229141235, -0.3013339936733246, -0.4185120165348053, -0.601899266242981, -0.4789491593837738, -0.5670418739318848, 0.572874128818512, 0.3798883855342865, 0.6562541723251343, 0.3474302887916565, 0.37460416555404663, 0.19705712795257568, 0.12146738171577454, 0.3281799852848053, -0.5305361747741699, 0.41413742303848267, -0.18058720231056213, -0.4102107584476471, -0.6872631907463074, -0.09229477494955063, 0.22616322338581085, 0.6595014333724976, -0.1580735445022583, 0.707538902759552, -0.21076199412345886, 0.6778347492218018, -0.3723033368587494, 0.32527846097946167, 0.039975885301828384, 0.043326329439878464, -0.30770838260650635, -0.21194882690906525, -0.29581648111343384, -0.11714639514684677, 0.2890375554561615, -0.36427244544029236, -0.04794063791632652, -0.10973784327507019, 0.2672925591468811, 0.4970008134841919, -0.5726751685142517, -0.07512985169887543, -0.9888230562210083, 0.5155785083770752, -0.5915924310684204, 0.595687985420227, 0.4650925099849701, 0.29675939679145813, -0.09946004301309586, -0.6899751424789429, -0.3733981251716614, 0.010933708399534225, 0.04427144303917885, 0.08084103465080261, -0.34281954169273376, -0.20040282607078552, -0.1278679519891739, 0.23711100220680237, -0.7666148543357849, -0.03272252902388573, -0.14553019404411316, -0.004593568854033947, 1.0605039596557617, 0.32417386770248413, 0.5071004033088684, -0.04360421374440193, 0.05033343285322189, -0.0032247488852590322, -0.41280725598335266, 0.06186116486787796, -0.12814591825008392, 0.272303968667984, -0.4396471679210663, 0.666365385055542, -0.5572154521942139, 0.4354238510131836, 0.04145273193717003, -0.45727503299713135, 0.5200003981590271, -0.09451855719089508, -0.14462389051914215, 0.33374980092048645, 0.44191476702690125, 0.3294728398323059, -0.12195660173892975, -0.658520519733429, -0.15488454699516296, -0.3567655384540558, 0.2965158522129059, -0.9294517636299133, -0.13756497204303741, 0.8066108226776123, -0.65041184425354, -0.3277052044868469, 0.039591215550899506, -0.7689574956893921, -0.9410266876220703, -0.44073593616485596, 0.24086052179336548, -0.24166618287563324, -0.2800855040550232, 0.6430829763412476, -0.04029671475291252, 0.4620278775691986, 0.260791152715683, -0.6002552509307861, 0.22779011726379395, 0.8029331564903259, 0.7847281098365784, -0.08103427290916443, 0.04920687526464462, -0.424905002117157, 0.22392670810222626, -0.25473552942276, 0.801266074180603, -0.45304498076438904, -0.27401232719421387, -0.0028660756070166826, 0.12618184089660645, -0.11101433634757996, -0.5522236824035645, 0.3897397816181183, -0.5921992659568787, -0.028335239738225937, -0.38446301221847534, -0.45607954263687134, -0.04075883701443672, 0.3414413630962372, -0.585089921951294, 0.747680127620697, 0.10624369978904724, -0.6219499707221985, 0.17548996210098267, -0.8744031190872192, -0.5690234303474426, 0.347078800201416, -0.012592415325343609, -0.454929381608963, 0.09997331351041794, 0.3744336664676666, 0.5493892431259155, -0.6881399154663086, 0.05553631857037544, -0.5288000702857971, 0.0036364539992064238, 0.9272823333740234, -0.15617886185646057, 0.6475117802619934, 0.2445470243692398, -0.4771740734577179, 0.23779380321502686, -0.7505101561546326, 0.07330717146396637, 0.49967125058174133, -0.12173857539892197, -0.33416637778282166, 0.23153764009475708, -0.005319670774042606, 0.04751453921198845, 0.4064750671386719, -0.746757984161377, 0.0010061173234134912, -0.1560344099998474, 0.42868927121162415, 0.8164784908294678, 0.24235916137695312, 0.11414740234613419, -0.7753027081489563, 0.7096427083015442, -0.45087650418281555, 0.3742033541202545, -0.0296607855707407, -0.5088019371032715, -0.15148228406906128, -0.2940416634082794, -0.2966575622558594, 0.49361851811408997, -0.5159366130828857, 0.38023141026496887, -0.6009082198143005, -0.7976776361465454, -0.3168908953666687, 0.12789110839366913, 0.10744322091341019, 0.741386353969574, 0.38004299998283386, -0.06727056205272675, -0.03160564973950386, -0.40216177701950073, -0.463687926530838, -0.13786627352237701, -0.12255368381738663, 0.5561567544937134, 0.43236640095710754, -0.775593638420105, 0.8588720560073853, -0.9138734340667725, -0.011711218394339085, -0.43704816699028015, -0.1264384686946869, 0.12046168744564056, 0.36863359808921814, 0.4541502296924591, -0.8021144866943359, -0.15220794081687927, 0.17289340496063232, -0.9435107111930847, -0.21441659331321716, -0.10804238170385361, -0.3038959205150604, -0.531635582447052, 0.26618531346321106, -0.46420127153396606, 0.33817610144615173, 0.5715070962905884, -0.6636293530464172, 0.6164185404777527, -0.05853727459907532, -0.15033729374408722, -1.114377737045288, 0.5297607779502869, -0.03206634894013405, -0.4344145357608795, -0.9684520959854126, 0.0773347020149231, -0.17890578508377075, -0.5741203427314758, -0.208840012550354, 0.9790842533111572, -0.21408982574939728, 0.038845568895339966, -0.3578784167766571, -0.41386666893959045, 0.015477933920919895, 0.2681812345981598, -0.18656854331493378, 0.4347217082977295, 0.18593081831932068, -0.626997709274292, 0.515177309513092, 0.41144710779190063, -0.37498483061790466, 0.4991925060749054, -0.9419059753417969, 0.69334477186203, -0.22006452083587646, 0.3384367823600769, -0.4781751036643982, -0.8365367650985718, 0.47526150941848755, -0.36714035272598267, -0.11452220380306244, 0.10064741969108582, -0.5863864421844482, -0.3368082046508789, -0.36029163002967834, 0.5640248656272888, 0.27039268612861633, -0.5699338316917419, 0.704152524471283, 0.9340307712554932, -0.26176387071609497, -0.24458907544612885, -0.6660995483398438, -0.21915008127689362, -0.22615772485733032, -0.6918113231658936, 0.12876379489898682, -0.4100070893764496, -0.47650691866874695, 0.07750178873538971, -0.307968407869339, -0.05420239642262459, 0.1568402498960495, 0.2634653151035309, 0.2829269468784332, -0.1286652684211731, 0.6019037365913391, -0.13443110883235931, -0.02408536709845066, 0.15783752501010895, -0.5501039624214172, 0.6153708696365356, -0.08298629522323608, -0.29857131838798523, -0.5677052736282349, 0.33064234256744385, 0.790742814540863, -0.6138975024223328, 0.9117431640625, 0.35016295313835144, -0.47384244203567505, -0.07003851979970932, -0.4198027551174164, -0.1563621312379837, -0.45028865337371826, 0.20254647731781006, -0.07309626042842865, -0.6538079977035522, 0.6218183040618896, -0.09833251684904099, 0.019620051607489586, 0.0659472867846489, 0.6991923451423645, -0.10150950402021408, 1.2701795101165771, 0.5791050791740417, -0.16926461458206177, 0.61527019739151, -0.1276068538427353, 0.07455086708068848, -0.746972382068634, -0.49695613980293274, -0.4206353425979614, -0.4561024010181427, -0.4923552870750427, -0.48661690950393677, 0.7459273934364319, -0.5880321264266968, -0.30965936183929443, -0.1309523582458496, -0.437355101108551, 0.10966792702674866, 0.4248637557029724, 0.9336962699890137, 0.17501521110534668, -0.39806729555130005, 0.5206080675125122, 0.24681828916072845, -0.23031659424304962, -0.24422238767147064, 1.155814528465271, 0.40685200691223145, 1.1298933029174805, 0.5564524531364441, 0.5343654751777649, 0.38887014985084534, 0.1452140063047409, -0.95851731300354, 0.10945339500904083, 0.052028536796569824, -0.7295007705688477, -0.46961522102355957, -0.3781181871891022, -1.2169275283813477, 0.10613120347261429, -0.20240183174610138, -0.9671229124069214, 0.6100554466247559, 0.027573641389608383, -0.4145483672618866, 0.13891653716564178, -0.5996334552764893, 0.9670336246490479, -0.4990427494049072, -0.3529416620731354, -0.14889538288116455, -0.5310193300247192, 0.14434604346752167, -0.17296382784843445, 0.1744796484708786, -0.4093318283557892, -0.06300665438175201, 0.9328781366348267, -0.5468790531158447, 0.9046488404273987, 0.0548393540084362, -0.24969364702701569, 0.17105968296527863, -0.21329665184020996, 0.4865226745605469, 0.2060861885547638, -0.2039865255355835, 0.02094295620918274, 0.15142735838890076, -0.6494176983833313, -0.7395191788673401, 0.4560288190841675, -0.8002883791923523, -0.2563308775424957, -0.4361547529697418, -0.3706047832965851, -0.6409962773323059, 0.35808971524238586, -0.06939142942428589, 0.7533977627754211, -0.263690322637558, 0.16172394156455994, 0.6525558829307556, -0.27300703525543213, -0.13494451344013214, 0.7320461273193359, -0.0461464561522007, -0.21772150695323944, 0.9241852760314941, -0.10607344657182693, -0.24414977431297302, 0.5511292219161987, 0.7131285667419434, -0.34296661615371704, -0.26270270347595215, -0.11989673227071762, 0.6550642848014832, -0.48743298649787903, -0.14280980825424194, -0.45916903018951416, 0.18369479477405548, -0.6298345923423767, 0.038170669227838516, -0.3456982672214508, 0.18178659677505493, -0.1772584170103073, -0.22227299213409424, 0.2753905951976776, 0.9203847050666809, -0.12862813472747803, 0.20687024295330048, -1.0348920822143555, 0.43764814734458923, 0.7044015526771545, 0.234545037150383, -0.19692985713481903, -0.121007539331913, -0.536769688129425, 0.13956010341644287, -0.022807177156209946, -1.386889100074768, 0.5335065126419067, 0.0030777156352996826, 0.5367231965065002, 0.4593489468097687, 0.4024825990200043, 0.3943261206150055, -0.15476179122924805, 0.4618886709213257, 0.08481229841709137, -0.8011897206306458, 0.5907212495803833, -0.4705067574977875, 0.4444005489349365, 0.4583004415035248, 0.17425942420959473, -0.8800224661827087, 0.11901803314685822, -0.4223684072494507, -0.5237559676170349, 0.6365302801132202, -0.0015183774521574378, 0.05775601789355278, 0.1947692334651947, 0.49712052941322327, 0.05370095744729042, 0.1457187384366989, -0.3944714665412903, -0.1920849084854126, -0.06448474526405334, -0.45902737975120544, -0.14965520799160004, -0.025038326159119606, -0.2030869424343109, -0.10577967762947083, 0.47254905104637146, -0.5867772102355957, 0.2870597541332245, 0.3587910830974579, -0.2311425507068634, -0.1456354409456253, 0.2727354168891907, 0.2647663652896881, 0.6757457852363586, -0.34388601779937744, -0.04130559042096138, -0.14759767055511475, -0.6850810050964355, 0.023675033822655678, 0.24164797365665436, -0.19159352779388428, -0.29933756589889526, 0.5282583832740784, 0.5014007091522217, 0.1658104956150055, -1.2491755485534668, 0.43461674451828003, -0.2564333975315094, 0.3953014612197876, -0.2592010200023651, -0.15722733736038208, -0.04765059053897858, 0.3989439606666565, 0.21108950674533844, -0.14638391137123108, 0.3237638771533966, -0.9093572497367859, 0.17395895719528198, 0.16401353478431702, -0.5265485048294067, -0.7265648245811462, 0.79141765832901, 0.305040568113327, -0.08069662004709244, 0.3735029995441437, -0.012270890176296234, -0.38542914390563965, 0.604301929473877, 0.30620482563972473, 0.9440911412239075, -0.3367398679256439, 0.551270604133606, 0.02037409134209156, 0.12515735626220703, 0.19310280680656433, 0.3444925844669342, -0.007569118402898312, -0.8249322772026062, -0.4352577030658722, -0.4291956424713135, -0.6099486947059631, 0.1950344294309616, -0.8962870240211487, -0.07638974487781525, -0.2588160037994385, -0.11170604079961777, 0.20239314436912537, 0.18049371242523193, -0.8463658094406128, 0.36311203241348267, 0.23634278774261475, 0.48124200105667114, -0.6468504667282104, 0.7489786744117737, 0.9101762175559998, -0.45125776529312134, -0.8627229928970337, 0.5005784630775452, 0.23457320034503937, -0.954135537147522, 0.42353200912475586, 0.11788741499185562, -0.1974574327468872, -0.2620486617088318, -0.5414709448814392, -0.7419594526290894, 1.1695424318313599, 0.8051115274429321, -0.2063826471567154, -0.10404416918754578, 0.14854800701141357, 0.5515534281730652, -0.18152520060539246, -0.0024727005511522293, 0.7425256371498108, 0.32739773392677307, -0.20867742598056793, -0.835045337677002, 0.22476263344287872, -0.2546302080154419, -0.5058482885360718, -0.2519713342189789, -0.8092856407165527, 0.7407771944999695, -0.4314952492713928, -0.16038095951080322, -0.0008054397767409682, 0.3638819754123688, 0.019431546330451965, 0.8113635182380676, 0.37895750999450684, 0.3335697650909424, 1.3658522367477417, 0.4426523745059967, 1.4540822505950928, -0.392517626285553, 0.4764724671840668, 1.2691888809204102, -0.34108442068099976, 0.6498208045959473, -0.24313797056674957, -0.13859263062477112, 0.6432610154151917, 0.6493217349052429, 0.40165141224861145, 0.35672837495803833, 0.02641346864402294, -0.6209760904312134, -0.3558673560619354, -0.2361968606710434, -0.340173602104187, 0.8290172219276428, 0.37885499000549316, -0.21682403981685638, 0.10143953561782837, 0.1769561916589737, 0.13119766116142273, -0.11105399578809738, -0.2955801486968994, 0.9662178158760071, -0.013470914214849472, -0.3406570851802826, 0.009946569800376892, -0.10236170142889023, 0.1747814416885376, -0.7072736024856567, 0.026666974648833275, -0.2938278913497925, 0.2039005309343338, -0.19645944237709045, -0.5741782784461975, 0.1972915679216385, 0.01869322545826435, -0.32962459325790405, -0.2137235701084137, 1.020907998085022, -0.016916310414671898, -0.4088260531425476, 0.28785690665245056, 0.8006572723388672, 0.15017814934253693, -0.5193411111831665, -0.6997220516204834, -0.1904570460319519, -0.21113744378089905, -0.2151062935590744, 0.3053523898124695, 0.3177860975265503, 0.21721208095550537, 0.9550848603248596, 0.8282375931739807, 0.16346600651741028, -0.16762180626392365, -0.24261721968650818, 0.7996350526809692, -0.8683564066886902, -0.7185252904891968, -0.6462382674217224, 0.3520490825176239, -0.06321065872907639, -0.24494193494319916, 0.518706202507019, 0.47550851106643677, 0.3093765377998352, 0.08844894170761108, 0.9761489629745483, 0.1264164298772812, 0.7973490953445435, -0.433443158864975, 0.9583879113197327, -0.6956288814544678, 0.19101037085056305, 0.05001393333077431, -0.33263513445854187, -0.028722289949655533, 0.33859336376190186, -0.4595792293548584, -0.14990755915641785, 0.5182643532752991, 0.43825581669807434, 0.12138431519269943, -0.11526451259851456, 0.15865936875343323, 0.21301846206188202, 0.8106512427330017, 0.2901810109615326, 0.4837552309036255, -0.09405334293842316, 0.31440243124961853, -0.3828210234642029, -0.29048600792884827, -0.43512433767318726, -0.3037242591381073, -0.7206975221633911, -0.5186817049980164, -0.33633866906166077, -0.48181623220443726, -0.007910064421594143, 1.1082639694213867, 0.9077683091163635, -0.7497413754463196, 0.028429685160517693, 0.1219819039106369, 0.2951650023460388, -0.32902249693870544, -0.21431054174900055, 0.49862754344940186, -0.014381829649209976, -0.667280912399292, 0.7591353058815002, 0.16170339286327362, -0.1457616239786148, -0.1832709014415741, -0.19182351231575012, 0.3094976842403412, 0.28858017921447754, 0.6002554297447205, 0.8222223520278931, -0.2916279733181, -0.33554473519325256, 0.20351830124855042, -0.024718090891838074, -0.12095379829406738, 1.0220308303833008, -0.7340267896652222, 0.8230190277099609, 0.4722837507724762, 0.8901621699333191, 0.41860079765319824, 0.0879620686173439, 0.5184736847877502, -0.571276068687439, 0.0387444905936718, 0.46029072999954224, 0.33883699774742126, 0.2949126064777374, -0.652977466583252, 0.577081561088562, 0.22261467576026917, -0.7012664675712585, -0.8366008996963501, 0.010257373563945293, -1.2372221946716309, -0.3819279372692108, 1.2144176959991455, -0.09125261753797531, -0.5346473455429077, -0.28936681151390076, -0.22516284883022308, 0.09389294683933258, -0.4326435625553131, 0.7075758576393127, 0.13660036027431488, -0.6138522028923035, 0.11055947095155716, -0.5853598117828369, 0.27572354674339294, 0.1462080180644989, -1.2510535717010498, 0.09532108157873154, 0.3874838650226593, 0.31809207797050476, 0.05161885544657707, 1.0541164875030518, 0.217566579580307, 0.34126341342926025, -0.14044669270515442, -0.15330731868743896, 0.10209096223115921, 0.14006371796131134, -0.25719714164733887, -0.06310319155454636, -0.0701652392745018, -0.37366628646850586 ]
http://arxiv.org/abs/2406.06461v3
http://arxiv.org/pdf/2406.06461v3
Reasoning in Token Economies: Budget-Aware Evaluation of LLM Reasoning Strategies
2024-06-10T16:55:08
2024-06-15T01:59:02
Junlin Wang, Siddhartha Jain, Dejiao Zhang, Baishakhi Ray, Varun Kumar, Ben Athiwaratkun
cs.CL
cs.CL
A diverse array of reasoning strategies has been proposed to elicit the capabilities of large language models. However, in this paper, we point out that traditional evaluations which focus solely on performance metrics miss a key factor: the increased effectiveness due to additional compute. By overlooking this aspect, a skewed view of strategy efficiency is often presented. This paper introduces a framework that incorporates the compute budget into the evaluation, providing a more informative comparison that takes into account both performance metrics and computational cost. In this budget-aware perspective, we find that complex reasoning strategies often don't surpass simpler baselines purely due to algorithmic ingenuity, but rather due to the larger computational resources allocated. When we provide a simple baseline like chain-of-thought self-consistency with comparable compute resources, it frequently outperforms reasoning strategies proposed in the literature. In this scale-aware perspective, we find that unlike self-consistency, certain strategies such as multi-agent debate or Reflexion can become worse if more compute budget is utilized.
[ -0.4636513590812683, -0.5097733736038208, 0.8039159774780273, 0.25530683994293213, -0.13500985503196716, 0.2906389832496643, -0.42397838830947876, -0.22379209101200104, 0.3747880458831787, 0.29989174008369446, -0.3967284858226776, 0.175451397895813, -0.4552122950553894, -0.00493085291236639, -0.17861047387123108, 0.6294953227043152, 0.1473245769739151, 0.10664277523756027, -0.5196236371994019, -0.29715868830680847, -0.4578673839569092, -0.7172384858131409, -0.862969160079956, -0.4700232744216919, 0.40107282996177673, 0.43859177827835083, 0.7513127326965332, 0.7576421499252319, 0.6584005355834961, 0.34070611000061035, -0.058250416070222855, 0.20987114310264587, -0.3683322072029114, 0.09683648496866226, -0.5101572275161743, -0.6037309169769287, -0.3646009564399719, -0.20639707148075104, 0.6318649649620056, 0.38076668977737427, -0.3227249085903168, 0.296284943819046, -0.07764756679534912, 0.6487065553665161, -0.9887470602989197, 0.2619658410549164, -0.9100757837295532, -0.086085744202137, -0.13998614251613617, -0.06857521086931229, -0.4548284709453583, -0.013066676445305347, 0.019828321412205696, -0.6111767888069153, -0.32594573497772217, 0.08761768788099289, 0.42903074622154236, 0.33417651057243347, -0.22412529587745667, -0.5874155163764954, -0.5481789112091064, 0.7026208639144897, -0.6767579317092896, 0.18986071646213531, 0.19659122824668884, 0.24579373002052307, -0.002886531176045537, -0.8185860514640808, -0.4981502890586853, -0.23571906983852386, 0.16612505912780762, 0.3167252540588379, -0.5743976831436157, 0.17783485352993011, 0.4825833737850189, 0.18128244578838348, 0.0034608368296176195, 0.034847188740968704, -0.2074122428894043, -0.39137521386146545, 0.4550818204879761, 0.2590070962905884, -0.001578616676852107, -0.32698434591293335, -0.5310668349266052, -0.045927245169878006, -0.4877418279647827, -0.003355864668264985, 0.4485733211040497, 0.2717120945453644, 0.022844484075903893, 0.7892991304397583, -0.023177435621619225, 0.3832941949367523, 0.24561350047588348, -0.240646094083786, -0.10276931524276733, -0.6497336626052856, -0.2537730932235718, -0.022479942068457603, 0.27256885170936584, 0.20975296199321747, 0.2644345164299011, -0.16149215400218964, -0.3073110580444336, 0.3228464722633362, 0.4466516375541687, -0.66100013256073, 0.048049408942461014, 0.20166750252246857, -0.5549753904342651, -0.05838092043995857, -0.20174457132816315, -0.5889976620674133, -0.418764591217041, -0.5114036798477173, 0.4106810986995697, -0.21965429186820984, -0.2560749351978302, 0.0317944698035717, -0.4947112202644348, 0.20753027498722076, 0.2466432750225067, -0.7943041920661926, 0.5229489803314209, 1.1419974565505981, 0.8617653846740723, -0.1741592139005661, -0.2237345278263092, -0.5017985105514526, -0.035384856164455414, -0.4879496991634369, 0.9324760437011719, -0.2298828363418579, -0.4697157144546509, -0.20625893771648407, -0.470977246761322, -0.2317955046892166, -0.631304144859314, 0.5096641778945923, -0.19455450773239136, -0.17732328176498413, -0.7167987823486328, -0.6615048050880432, 0.09138008207082748, 0.4894779920578003, -0.728796124458313, 0.8492384552955627, 0.16144244372844696, -0.8683235049247742, 0.6553851962089539, -0.8893976211547852, -0.4434819519519806, -0.005126512609422207, -0.10925062745809555, 0.08325576782226562, 0.19317489862442017, 0.10243331640958786, 0.14405620098114014, -0.6058779358863831, 0.40646660327911377, -0.367823988199234, -0.5190014839172363, 0.41752368211746216, -0.6161072850227356, 0.7525587677955627, 0.44276320934295654, -0.7457016110420227, 0.2553611993789673, -0.5287665724754333, 0.1438080221414566, -0.18037129938602448, -0.30514585971832275, -0.10285359621047974, 0.18154878914356232, -0.49648284912109375, -0.1022484079003334, 0.39479878544807434, -0.2848351299762726, 0.2543429434299469, -0.5593044757843018, 0.7627975344657898, 1.0191305875778198, -0.29759353399276733, 0.6250091195106506, -0.3476940393447876, 0.5570679306983948, -0.23215244710445404, 0.33238649368286133, -0.16742946207523346, -0.10486555844545364, -0.8875772356987, -0.7183226943016052, 0.2285185158252716, 0.4174899458885193, -0.5410209894180298, -0.21058721840381622, -0.07334744185209274, -0.43563878536224365, -0.28292587399482727, -0.1519768238067627, 0.3281978964805603, 0.4680039882659912, 0.16947217285633087, -0.17944520711898804, -0.6049935221672058, -0.9412259459495544, -0.5064789056777954, -0.5279682278633118, 0.41437768936157227, 0.5895269513130188, 0.5150660872459412, 0.01390591450035572, 0.8508084416389465, -0.27939656376838684, 0.3689356744289398, -0.3748041093349457, -0.13573841750621796, 0.015100684948265553, 0.42577436566352844, 0.40821775794029236, -0.4536992907524109, -0.046078577637672424, -0.04269159212708473, -0.4128151834011078, -0.004456487018615007, -0.40019533038139343, -0.21255142986774445, 0.4416835308074951, 0.4484333395957947, -0.8554136157035828, 0.3784060478210449, 0.10761337727308273, -0.43336859345436096, 0.7722595930099487, -0.39562955498695374, 0.0028382393065840006, -0.6548545956611633, -0.07723383605480194, -0.1683637499809265, -0.11652357131242752, -0.26649272441864014, 0.4080287218093872, -0.040440429002046585, 0.1684260070323944, -0.125547394156456, 0.6945249438285828, -0.40011996030807495, -0.3577026128768921, -0.20747432112693787, 0.3554176986217499, 0.24687784910202026, 0.40106403827667236, -0.34024080634117126, 1.2147351503372192, 0.4185277819633484, -0.420278400182724, 0.2990468442440033, -0.3341834545135498, -0.3879011273384094, 0.8096774816513062, -0.6347204446792603, 0.04806402325630188, 0.25194740295410156, 0.27042171359062195, -0.8836840391159058, 0.12509675323963165, 0.15247437357902527, -0.3614848852157593, 0.19870568811893463, 0.0664994940161705, -0.47682785987854004, -0.3225223124027252, -0.3323555290699005, 0.4428737461566925, 0.22959305346012115, -0.6172302961349487, 0.7000058889389038, 0.3953932225704193, 0.11843874305486679, -0.9174678325653076, -0.6443108320236206, 0.22720609605312347, -0.5131539702415466, -0.47443315386772156, 0.1549949198961258, 0.03748413547873497, -0.7409389019012451, 0.014294547028839588, -0.36406409740448, 0.10506047308444977, 0.4011443853378296, 0.00723184272646904, 0.28048840165138245, -0.2945476770401001, 0.3231247365474701, -0.1798512190580368, -0.12257707864046097, 0.35063573718070984, -0.8850365281105042, 0.5490161180496216, -0.3262656033039093, -0.7165180444717407, -0.11642463505268097, 0.09074896574020386, 0.705635666847229, -0.15601575374603271, 0.5604602694511414, 0.3318665027618408, -0.2583867907524109, 0.014441389590501785, -0.9454359412193298, 0.06672824919223785, -0.4436804950237274, 0.2837028205394745, -0.5900710821151733, -0.6710748672485352, 0.7399507761001587, -0.5155478119850159, -0.033217914402484894, 0.873856246471405, 0.7034432291984558, 0.12712500989437103, 1.016149878501892, 0.3511618971824646, -0.027361424639821053, 0.15215405821800232, -0.34549441933631897, 0.3609137237071991, -0.8382565379142761, -0.3523801267147064, -0.6777331829071045, -0.22662845253944397, -0.5474017858505249, -0.7425777316093445, 0.041498422622680664, 0.06436716020107269, -0.8671653270721436, 0.1860101968050003, -0.3111600875854492, 0.365059494972229, 0.5489596724510193, -0.2239011824131012, 0.22932168841362, -0.15548108518123627, -0.40039965510368347, 0.07147113233804703, -1.119960069656372, -0.4858837425708771, 1.1380590200424194, 0.275341272354126, 0.4754571318626404, 0.006981483194977045, 0.582080066204071, 0.3724316358566284, 0.30933135747909546, -0.8768599629402161, 0.48849207162857056, 0.1315687745809555, -0.5283114910125732, -0.3958011269569397, -0.7440506219863892, -0.7208722233772278, 0.3614991009235382, -0.17524424195289612, -0.6450067162513733, 0.24379181861877441, -0.09718260914087296, -0.1706063151359558, 0.593384325504303, -0.8064143061637878, 0.8039044737815857, -0.41547831892967224, -0.4130619466304779, -0.6771424412727356, -0.1696976274251938, 0.1295081377029419, 0.02183462493121624, 0.39292582869529724, 0.020090976729989052, -0.33636459708213806, 0.6564189195632935, -0.5718613862991333, 0.5036718249320984, -0.13900983333587646, 0.16487856209278107, 0.6251288652420044, -0.09089267998933792, 0.43999847769737244, 0.03426824137568474, -0.19254852831363678, 0.018800508230924606, 0.15687377750873566, -0.6745578646659851, -0.6881647706031799, 0.6663224697113037, -0.6345078349113464, -0.8891828060150146, -0.2244887501001358, -0.6455957293510437, -0.23310808837413788, 0.1332172304391861, 0.11527851223945618, 0.5808535814285278, -0.23923398554325104, 0.08131067454814911, 0.3439311981201172, 0.06144864484667778, 0.5142137408256531, 0.001734413206577301, -0.012451444752514362, -0.6195626258850098, 0.7667327523231506, 0.3090660274028778, 0.5223592519760132, 0.20777533948421478, 0.4794948101043701, -0.5596070885658264, -0.2683456242084503, -0.43811485171318054, 0.08811629563570023, -1.0002868175506592, -0.3473145663738251, -0.32861992716789246, 0.17370109260082245, -0.33657106757164, -0.3718727231025696, -0.45881181955337524, -0.8231489062309265, -0.04422139748930931, -0.2564977705478668, 0.21353723108768463, 0.573100745677948, -0.3842099606990814, 0.20728744566440582, 0.054038528352975845, -0.02130352519452572, 0.17597433924674988, 0.40431347489356995, 0.5968909859657288, -0.28151652216911316, -0.3604511618614197, 0.09060931205749512, -0.23389451205730438, -0.5805770754814148, 0.03912820667028427, -0.3311622142791748, 0.8112672567367554, 0.5789225697517395, -0.03774988651275635, 1.0633748769760132, -0.12112181633710861, 0.6864017844200134, 0.42760583758354187, -1.2998638153076172, 0.06977542489767075, -0.008944270201027393, 0.25419852137565613, 0.5684061050415039, -0.2069823443889618, -0.18204277753829956, -0.29046687483787537, -0.9409077763557434, -0.8380954265594482, 0.5127050876617432, 0.034371230751276016, 0.17835645377635956, -0.29282957315444946, 0.48475873470306396, -0.15105703473091125, 0.37153053283691406, -0.5011274218559265, -0.19141346216201782, -0.20163056254386902, 0.1322433203458786, 0.1098015233874321, -0.29396963119506836, -0.2571973204612732, -0.33903777599334717, 0.43124574422836304, -0.2797248065471649, 0.22237025201320648, 0.2830212712287903, 0.036427658051252365, 0.22502855956554413, 0.30765655636787415, 0.5814618468284607, 1.0449522733688354, 0.2053016871213913, 0.29726797342300415, 0.48433995246887207, -0.27039581537246704, 0.025469863787293434, -0.2049543559551239, 0.06643405556678772, -0.2882763743400574, 0.4616625905036926, 0.7624071836471558, 0.4906151294708252, -0.9389159083366394, 0.5000324845314026, 0.05924905091524124, -0.3990137279033661, -0.3435842990875244, -0.007303061429411173, 0.3490394651889801, 0.5884556174278259, 0.24150803685188293, 0.4700082540512085, 0.15823613107204437, -0.7246458530426025, 0.030266299843788147, 0.7544622421264648, -0.2289922833442688, 0.24322140216827393, 0.4487556219100952, -0.0015635868767276406, -0.39602208137512207, 0.44405338168144226, -0.15876615047454834, -0.690041184425354, 1.0251351594924927, 0.5978614687919617, 0.8908964395523071, 0.24884654581546783, 0.21196715533733368, 0.22051793336868286, 0.5233634114265442, -0.21946504712104797, 0.25658005475997925, -0.26229339838027954, -0.6150413155555725, -0.6612382531166077, -0.24088558554649353, -0.5527215003967285, -0.3018511235713959, -0.5401216149330139, 0.10246811807155609, -0.770530104637146, -0.38687601685523987, -0.10699021071195602, 0.45643171668052673, -0.7010664343833923, -0.07602953165769577, 0.003537417622283101, 1.1508971452713013, -0.15110710263252258, 0.22892314195632935, 0.552632749080658, -0.2579924762248993, -0.9423391222953796, -0.2307845503091812, -0.10997064411640167, -0.9659090042114258, 0.569615364074707, 0.05367259681224823, -0.5284872055053711, -0.39643633365631104, -0.2094455361366272, -0.9501939415931702, 1.098160743713379, 0.6642752289772034, -0.35162660479545593, 0.17168273031711578, -0.07129107415676117, 0.46485665440559387, -0.70151686668396, 0.5512123107910156, 0.6194873452186584, 0.7499390840530396, 0.239354208111763, -0.8404634594917297, -0.004477584268897772, 0.01740172691643238, -0.24651694297790527, 0.1287253201007843, -0.8303911685943604, 0.9150895476341248, -0.4775414764881134, -0.3213428854942322, -0.12786932289600372, 0.45553362369537354, 0.16558076441287994, 0.7612289786338806, 0.5901007056236267, 0.6639348268508911, 1.071954607963562, -0.029084818437695503, 1.1571338176727295, -0.43326446413993835, 0.2579222023487091, 0.8044077754020691, -0.26888570189476013, 0.716511607170105, 0.3553236126899719, -0.28107258677482605, 0.45986178517341614, 0.5110718011856079, 0.1484297513961792, 0.1176014319062233, 0.67893385887146, -0.042167484760284424, -0.3820379972457886, -0.079474538564682, -0.007150191348046064, 0.5787279605865479, 0.3208531141281128, 0.053890153765678406, -0.04480404779314995, -0.265445739030838, 0.28119075298309326, 0.16929234564304352, -0.606800377368927, 0.9164956212043762, -0.024428797885775566, -0.8435624837875366, 0.2888266146183014, -0.008672389201819897, 0.5028408169746399, -0.2923242151737213, 0.2036653757095337, -0.09061024338006973, 0.2179841697216034, -0.09438768774271011, -0.4684358835220337, 0.4466237425804138, 0.06853189319372177, -0.1945677399635315, -0.13437765836715698, 0.7880922555923462, 0.19442524015903473, -0.4273059070110321, 0.21132828295230865, 0.8415952324867249, 0.007128402590751648, -0.03372816741466522, -0.8327172994613647, -0.010195452719926834, -0.10025224089622498, -0.0356382392346859, 0.39699605107307434, 0.6734108924865723, -0.08793792873620987, 0.8722598552703857, 0.713888943195343, 0.2662963271141052, -0.28720465302467346, 0.18903930485248566, 0.8173105716705322, -0.599719762802124, -0.6195852756500244, -1.2552984952926636, 0.18526571989059448, -0.28448113799095154, -0.26002252101898193, 0.66105055809021, 0.6920977830886841, 0.6714310050010681, 0.3748708665370941, 0.7163790464401245, 0.27906686067581177, 0.12831269204616547, -0.29883337020874023, 0.41798529028892517, -0.43146201968193054, 0.5073456168174744, -0.14459440112113953, -0.6958461403846741, 0.09385503083467484, 0.6565871834754944, -0.34520620107650757, -0.1162804514169693, 0.7271602153778076, 0.36568185687065125, 0.07969463616609573, 0.231678307056427, 0.09329348057508469, -0.028521966189146042, 0.129066601395607, 0.16241168975830078, 0.9365387558937073, 0.17691773176193237, 0.4249216616153717, -0.07103303074836731, -0.25270241498947144, -0.04317740723490715, -1.1023870706558228, -0.6622990965843201, -0.46709081530570984, -0.2489212602376938, -0.41238299012184143, 0.0005188146024011075, 0.8169448971748352, 0.5900299549102783, -0.34012526273727417, -0.49103420972824097, -0.21608659625053406, 0.7122208476066589, -0.4952436685562134, -0.194719135761261, 0.3567191958427429, -0.7397211790084839, -0.3946412205696106, -0.020568350329995155, 0.6149413585662842, -0.43634524941444397, -0.6095214486122131, -0.03841080516576767, -0.03536961227655411, 0.896790087223053, 0.6581042408943176, 0.14084996283054352, -0.9244709014892578, -0.2017672210931778, 0.29829397797584534, 0.015776675194501877, 0.05658640339970589, 1.1753772497177124, -0.8421393036842346, 0.5283543467521667, 0.3802642524242401, 0.7693098783493042, 0.5044726133346558, -0.030431507155299187, 0.4304506182670593, 0.04472612217068672, -0.03235697001218796, 0.1279907375574112, 0.44587790966033936, 0.1374974250793457, -0.3965495526790619, 0.5888720750808716, 0.2098313570022583, -0.6575182676315308, -0.9128634929656982, 0.16606740653514862, -0.7694154381752014, -0.4510670602321625, 0.9498975276947021, -0.3089808523654938, -0.12984628975391388, 0.12103750556707382, -0.32167771458625793, 0.06281788647174835, -0.20708081126213074, 0.6497229933738708, 1.0296597480773926, -0.278997004032135, 0.16489346325397491, -0.41340357065200806, 0.389510840177536, 0.468111127614975, -0.6379753947257996, 0.2548283338546753, 0.4815058708190918, -0.04048336669802666, 0.21968397498130798, 0.8881181478500366, 0.021034525707364082, 0.16184242069721222, 0.5304250121116638, -0.5125255584716797, 0.06361113488674164, -0.2524631917476654, -0.06330038607120514, 0.2592061758041382, 0.32307863235473633, 0.08558403700590134 ]
http://arxiv.org/abs/2406.06458v1
http://arxiv.org/pdf/2406.06458v1
Evaluating the Retrieval Component in LLM-Based Question Answering Systems
2024-06-10T16:46:22
2024-06-10T16:46:22
Ashkan Alinejad, Krtin Kumar, Ali Vahdat
cs.CL
cs.CL, cs.IR
Question answering systems (QA) utilizing Large Language Models (LLMs) heavily depend on the retrieval component to provide them with domain-specific information and reduce the risk of generating inaccurate responses or hallucinations. Although the evaluation of retrievers dates back to the early research in Information Retrieval, assessing their performance within LLM-based chatbots remains a challenge. This study proposes a straightforward baseline for evaluating retrievers in Retrieval-Augmented Generation (RAG)-based chatbots. Our findings demonstrate that this evaluation framework provides a better image of how the retriever performs and is more aligned with the overall performance of the QA system. Although conventional metrics such as precision, recall, and F1 score may not fully capture LLMs' capabilities - as they can yield accurate responses despite imperfect retrievers - our method considers LLMs' strengths to ignore irrelevant contexts, as well as potential errors and hallucinations in their responses.
[ -0.25883951783180237, -0.6886836886405945, 0.5820326805114746, 0.11833977699279785, -0.12347099930047989, 0.34747958183288574, 0.05825104936957359, -0.4733009934425354, 0.27551087737083435, 0.5357344150543213, -0.3693182170391083, -0.16586463153362274, -0.49323633313179016, 0.3648936450481415, -0.48345279693603516, 0.7553550601005554, 0.4646438956260681, -0.0997619554400444, -0.6004252433776855, 0.10781432688236237, -0.7440913319587708, -0.6357283592224121, -0.6273976564407349, -0.3898375928401947, 0.4906337857246399, 0.14803564548492432, 0.7805156707763672, 0.15330182015895844, 0.7635636329650879, 0.31617408990859985, -0.32418543100357056, 0.17681220173835754, -0.9093618988990784, 0.4511137008666992, -0.2349018156528473, -0.7016998529434204, -0.3506339490413666, -0.28618860244750977, 0.4545471966266632, 0.5174351930618286, -0.27283260226249695, 0.23495584726333618, 0.10970704257488251, 0.6132209300994873, -0.7169238328933716, -0.04819510132074356, -1.0241090059280396, 0.061166711151599884, 0.17037509381771088, -0.7430990934371948, -0.6958216428756714, -0.5662031769752502, 0.08394666761159897, -0.5107418894767761, 0.14873620867729187, 0.23537081480026245, 0.842589795589447, 0.2319919764995575, -0.2560354173183441, -0.4121658504009247, -0.8949193358421326, 0.7711561322212219, -0.5628631114959717, 0.37268003821372986, 0.4454716145992279, 0.5299098491668701, -0.419983446598053, -0.516398012638092, -0.36479267477989197, -0.3059591054916382, -0.27070048451423645, 0.23416496813297272, -0.18710167706012726, -0.04298119992017746, 0.15253600478172302, 0.5527797937393188, -0.5339834690093994, 0.013356496579945087, -0.31910258531570435, -0.18157485127449036, 0.5338998436927795, 0.40214768052101135, 0.18869180977344513, -0.41986918449401855, -0.40076589584350586, -0.10041387379169464, -0.6324273347854614, -0.07383452355861664, 0.07089722156524658, 0.3928820490837097, 0.2677101790904999, 0.7924832105636597, -0.1355903297662735, 0.37783491611480713, 0.33389443159103394, -0.18902184069156647, 0.21887479722499847, -0.24468106031417847, -0.18290266394615173, -0.39586344361305237, 0.6199697256088257, 0.3007093369960785, 0.10627378523349762, -0.5631666779518127, -0.504195511341095, -0.3941957354545593, 0.7177929282188416, -0.7991008162498474, 0.13392481207847595, 0.27540722489356995, -0.5081073045730591, -0.1432972401380539, 0.018936961889266968, -0.6809378862380981, -0.554198682308197, -0.014486943371593952, 0.786614716053009, -0.3897266387939453, -0.07061158120632172, -0.1287248283624649, -0.28335660696029663, 0.7221211194992065, 0.31471362709999084, -0.5060824751853943, 0.4286801517009735, 0.7384119629859924, 0.587334930896759, -0.32955843210220337, 0.16446322202682495, -0.740344762802124, -0.23374435305595398, -0.4537268280982971, 0.9250140190124512, -0.5485413670539856, -0.7218125462532043, 0.1279839128255844, -0.010298801586031914, -0.02947344072163105, -1.0449769496917725, 0.518466591835022, -1.1830769777297974, 0.16253957152366638, -0.1379333883523941, -0.8210954666137695, -0.10286297649145126, 0.37159982323646545, -0.6276706457138062, 1.137279748916626, 0.353222131729126, -0.5370082259178162, 0.06585261225700378, -0.22028884291648865, -0.29419153928756714, 0.31597626209259033, 0.00839282013475895, -0.09758350253105164, 0.2364220768213272, 0.08547370880842209, 0.3392001688480377, -0.29856014251708984, 0.04642138630151749, -0.11611748486757278, -0.7865836024284363, 0.5975393056869507, -0.48284202814102173, 0.41626298427581787, 0.11342011392116547, 0.0784410610795021, -0.05183911323547363, -0.579168975353241, 0.30394071340560913, 0.08451136201620102, -0.44326338171958923, -0.2916223406791687, 0.044412702322006226, -0.21504290401935577, 0.002890094416216016, 0.4224047362804413, -0.5372079610824585, -0.16265878081321716, -0.5821930170059204, -0.17549781501293182, 0.6724821329116821, 0.13256464898586273, 0.313726007938385, -0.5264131426811218, 0.7759572863578796, -0.2864532172679901, 0.021659959107637405, -0.1895817518234253, -0.1965053528547287, -0.8153250813484192, -0.17097614705562592, 0.3177506923675537, 0.726568341255188, -0.9574256539344788, 0.5163491368293762, -0.3890695571899414, -0.5312297940254211, -0.4842594861984253, 0.09396696835756302, 0.5915919542312622, 0.4687817692756653, 0.34417855739593506, -0.3328440189361572, -0.41269227862358093, -0.8210170269012451, -0.2431764006614685, -0.40390947461128235, -0.3938685655593872, 0.7397814989089966, 0.2957933247089386, -0.09153600037097931, 0.8492821455001831, -0.24435578286647797, -0.04920000582933426, -0.20340010523796082, -0.25372636318206787, 0.19850796461105347, 0.12012121081352234, 0.20027850568294525, -0.7645710110664368, -0.18746861815452576, -0.05985087528824806, -0.6868855357170105, -0.12052663415670395, 0.13455721735954285, -0.16721361875534058, 0.1184217780828476, 0.29066500067710876, -0.6961964964866638, 0.48289117217063904, 0.3174210786819458, -0.19048531353473663, 0.5956602692604065, -0.06868945062160492, 0.425293505191803, -0.7865252494812012, 0.4052950143814087, -0.3307945728302002, -0.35203108191490173, -0.6259254217147827, 0.04505329579114914, 0.010246631689369678, 0.11213041841983795, -0.5432407259941101, 0.8894739747047424, -0.32124659419059753, -0.4165756106376648, -0.3395867645740509, 0.5929776430130005, 0.16699743270874023, 0.2050454020500183, -0.3341837227344513, 1.1601758003234863, -0.05486546456813812, -0.7036017179489136, 0.17197109758853912, 0.3545197546482086, -0.192622110247612, 0.7669375538825989, -0.7814516425132751, 0.5571519136428833, -0.19584724307060242, 0.047067537903785706, -1.1991060972213745, -0.08473515510559082, 0.06034322828054428, -0.7424230575561523, 0.3540377914905548, -0.03631238266825676, -0.6154370903968811, -0.47369614243507385, -0.2709849774837494, 0.1911313235759735, 0.5787134170532227, -0.3957974910736084, 0.7267423868179321, 0.3049827516078949, -0.18476514518260956, -0.7259610295295715, -0.24898724257946014, 0.10321854054927826, -0.28615182638168335, -0.4020584225654602, 0.3934650421142578, -0.09579021483659744, -0.20808355510234833, -0.16716048121452332, -0.3043360114097595, -0.04709881171584129, 0.30636975169181824, 0.1811257153749466, 0.39241161942481995, -0.1551385223865509, 0.22715561091899872, -0.26672372221946716, 0.031046349555253983, 0.1275840699672699, 0.359786719083786, 0.7523841261863708, -0.030381016433238983, -0.40572574734687805, -0.23936188220977783, -0.07446411997079849, 0.24658432602882385, -0.15419761836528778, 0.6712470054626465, 0.09916902333498001, -0.2541099786758423, 0.1428634375333786, -0.7979843020439148, -0.3635912537574768, -0.4734509289264679, 0.4605950117111206, -0.4394289255142212, -0.9831245541572571, 0.7878390550613403, 0.18713881075382233, -0.09510254114866257, 0.5727366805076599, 0.4369127154350281, -0.21754507720470428, 0.865542471408844, 0.4400114119052887, 0.07406925410032272, 0.32929670810699463, 0.1030302494764328, 0.04975353553891182, -1.0719082355499268, -0.5089409351348877, -0.72707599401474, -0.09770775586366653, -0.5109440088272095, -0.4724338948726654, 0.23940934240818024, 0.22047656774520874, -0.1460433304309845, 0.18831227719783783, -0.3346579074859619, 0.4431237578392029, 0.36968904733657837, 0.148299440741539, 0.4306112229824066, -0.07776258885860443, 0.1555095613002777, 0.09643036872148514, -0.5279197692871094, -0.8095304369926453, 1.1186714172363281, 0.27273035049438477, 0.8596306443214417, 0.12061971426010132, 0.5510526299476624, 0.4310898184776306, 0.43328624963760376, -0.9441061615943909, 0.6979591846466064, -0.06310433149337769, -0.6160431504249573, -0.2793860137462616, -0.5882835388183594, -1.2529782056808472, 0.5014156699180603, -0.06602858006954193, -0.7934679388999939, -0.0664588063955307, -0.21299491822719574, -0.44469261169433594, -0.0634894147515297, -0.37272655963897705, 0.4642364978790283, -0.21152016520500183, -0.08261691778898239, -0.1389831006526947, -0.5314518809318542, 0.2593417465686798, -0.09148824959993362, -0.09322259575128555, -0.17314885556697845, -0.12203642725944519, 0.6063528656959534, -0.11710311472415924, 0.6321631073951721, -0.15100955963134766, -0.1758115440607071, 0.41822078824043274, 0.33197516202926636, 0.27125224471092224, -0.14189568161964417, -0.3126673996448517, -0.2154834121465683, 0.3378218114376068, -0.225790873169899, -0.8786039352416992, 0.44769275188446045, -0.6211576461791992, -0.877687394618988, -0.10527041554450989, -0.5293145775794983, -0.4750830829143524, 0.04040076211094856, -0.17031049728393555, 0.2255292683839798, -0.4022437632083893, 0.3963654935359955, 0.7036276459693909, -0.45263245701789856, 0.03724281117320061, 0.59126216173172, -0.5666119456291199, -0.33922040462493896, 0.783972442150116, -0.0530756376683712, 0.303023099899292, 0.6405447721481323, -0.028872253373265266, -0.5220028162002563, -0.45892396569252014, -0.2720351815223694, 0.21727925539016724, -0.719879150390625, -0.5426231026649475, -0.5027511715888977, -0.6176279187202454, -0.1177598387002945, 0.2696582078933716, -0.19522257149219513, -0.28994953632354736, -0.4350616931915283, 0.15530025959014893, 0.2533468008041382, 0.5745000243186951, 0.41146811842918396, 0.31946292519569397, -0.8738895654678345, 0.38710999488830566, 0.28075769543647766, 0.4189494848251343, 0.03804795816540718, -1.0235244035720825, -0.09981676936149597, 0.03070499747991562, -0.4502094089984894, -0.7955814003944397, 0.2109103500843048, 0.09105870127677917, 0.7587258219718933, 0.01640051044523716, 0.05182497203350067, 0.6606600880622864, -0.41953518986701965, 0.815570056438446, -0.22008748352527618, -0.5920658707618713, 0.6000621318817139, -0.042254216969013214, 0.2325044572353363, 0.45502614974975586, 0.19042392075061798, -0.4864262044429779, -0.504999041557312, -0.47942471504211426, -0.6871102452278137, 0.519812822341919, 0.2720315158367157, 0.5465983748435974, -0.2923939824104309, 0.6449978947639465, 0.10319007188081741, 0.2299346774816513, -0.43278810381889343, -0.2597305178642273, 0.20385964214801788, -0.14067427814006805, 0.14846378564834595, -0.48207470774650574, 0.05350038781762123, 0.304484099149704, 0.5135277509689331, -0.06864181905984879, 0.37730228900909424, 0.1990521103143692, -0.26302799582481384, -0.0009541913168504834, 0.3080286681652069, 0.32102692127227783, 0.6888535022735596, -0.33980002999305725, -0.10467658936977386, 0.17187722027301788, -0.34179165959358215, 0.23355749249458313, 0.004851416684687138, -0.14499206840991974, -0.09092944115400314, 0.12824828922748566, 0.4841468036174774, 0.1379094272851944, -1.033095121383667, 0.5215973854064941, -0.11482944339513779, 0.1998809576034546, -0.16460534930229187, 0.26147064566612244, -0.050069086253643036, 0.4443334937095642, 0.7542914152145386, -0.22641338407993317, 0.3091546595096588, -0.3567606806755066, 0.23063969612121582, 0.7584492564201355, -0.43774330615997314, -0.27433350682258606, 0.3506559431552887, 0.013934453018009663, -0.7482540011405945, 0.58576500415802, -0.12219394743442535, -0.4910348057746887, 0.7523704767227173, 0.6412287354469299, 0.8834643363952637, -0.28611016273498535, 0.1090245470404625, 0.24209024012088776, 0.27059170603752136, 0.11406126618385315, 0.2902579605579376, 0.16286152601242065, -0.7298497557640076, -0.4693359434604645, -0.6965851187705994, -0.5023276805877686, 0.1287868618965149, -0.7544656991958618, 0.02946663647890091, -0.1863802969455719, -0.46488064527511597, -0.3760913610458374, 0.04324891045689583, -0.7491478323936462, 0.18695826828479767, -0.09291743487119675, 0.8466002345085144, -0.06989844888448715, 0.2780790328979492, 0.47877398133277893, -0.3209240734577179, -0.4287260174751282, -0.024740394204854965, -0.2603422701358795, -0.9097602963447571, 0.7553526759147644, 0.061273377388715744, -0.41051533818244934, -0.16512273252010345, -0.25928327441215515, -0.924679696559906, 1.1272964477539062, 0.3337288200855255, -0.3553142547607422, -0.04732992500066757, 0.06732984632253647, 0.9314993023872375, -0.23030754923820496, 0.6527444124221802, 0.4625208079814911, -0.03894563019275665, 0.26581305265426636, -1.1518930196762085, 0.017044877633452415, -0.22403796017169952, 0.33074524998664856, -0.046958521008491516, -0.6569308042526245, 0.30370163917541504, -0.054522156715393066, -0.5051413178443909, 0.48981571197509766, 0.6768590807914734, 0.5446605682373047, 0.19732648134231567, 0.37063291668891907, 0.2518315315246582, 0.7928829193115234, 0.028647590428590775, 1.1341209411621094, -0.23759357631206512, 0.18836365640163422, 1.118857741355896, -0.25300881266593933, 1.319001317024231, 0.5343745350837708, -0.41399329900741577, 0.30227890610694885, 0.3592812120914459, 0.19994275271892548, 0.39075425267219543, 0.4984298348426819, 0.021730056032538414, -0.07750214636325836, -0.14676988124847412, -0.1790032833814621, 0.49289968609809875, 0.4373384416103363, -0.2932674288749695, -0.0021640530321747065, -0.10935565084218979, -0.19047561287879944, 0.12271780520677567, -0.15092451870441437, 0.9681861400604248, -0.004009346943348646, -0.6170182228088379, 0.7459281086921692, -0.26104721426963806, 0.5922806262969971, -0.2356027513742447, -0.0672779306769371, -0.660116970539093, -0.07080615311861038, 0.01787722110748291, -0.9677876830101013, 0.3212459683418274, 0.1445593684911728, -0.15885449945926666, 0.146855890750885, 0.922542154788971, -0.09805247187614441, -0.32751014828681946, 0.42468056082725525, 0.8381971120834351, 0.3750789761543274, -0.01446276530623436, -0.5536050200462341, 0.077901192009449, -0.2516475021839142, -0.2669883370399475, 0.21280783414840698, 0.4134601950645447, 0.16974230110645294, 0.9737134575843811, 0.3699610233306885, -0.06301915645599365, 0.07937900722026825, 0.1372266709804535, 0.7441995143890381, -0.7246466279029846, 0.1776731163263321, -0.7188051342964172, 0.3138333857059479, 0.04078107699751854, -0.06221023574471474, 0.793454647064209, 0.7326540350914001, 0.5408326983451843, 0.15149720013141632, 0.4803849458694458, 0.03701222315430641, 1.001685619354248, -0.3847614526748657, 0.6561813950538635, -0.6744544506072998, 0.554348349571228, -0.18752872943878174, -1.0801783800125122, -0.11180326342582703, 0.4308834671974182, -0.23903310298919678, 0.29775765538215637, 0.29400110244750977, 0.9901724457740784, 0.25632861256599426, -0.17564205825328827, 0.6019152402877808, 0.14803577959537506, 0.2653333842754364, 0.35082903504371643, 1.3942687511444092, -0.6652224659919739, 0.7947896718978882, 0.040848176926374435, 0.08327051997184753, -0.3747864067554474, -0.530976414680481, -0.786364734172821, -0.2730475068092346, 0.031007250770926476, -0.5027549862861633, 0.19044654071331024, 0.566753089427948, 0.2899547815322876, -0.6631298661231995, -0.31606313586235046, 0.506756067276001, 0.20010575652122498, 0.033539485186338425, -0.28971490263938904, 0.19186300039291382, -0.7282006144523621, -0.7129543423652649, 0.36694255471229553, 0.31448256969451904, -0.11266990005970001, -0.356618732213974, -0.06535661220550537, 0.03664715960621834, 0.32191774249076843, 0.8684248924255371, 0.13442549109458923, -0.9554004669189453, -0.48549285531044006, 0.6291490197181702, -0.45895054936408997, 0.36829376220703125, 0.287182092666626, -1.0531253814697266, 0.3947477340698242, 0.41234952211380005, 0.9184292554855347, 0.3374073803424835, 0.3663496971130371, 0.41723716259002686, -0.5139395594596863, -0.3373958170413971, 0.4569375216960907, -0.018464086577296257, 0.5042721033096313, -0.18251006305217743, 0.5508887767791748, -0.15804024040699005, -0.8029715418815613, -0.921049952507019, -0.1926090270280838, -0.7217645049095154, -0.017943337559700012, 1.2132956981658936, -0.08815829455852509, -0.09005516022443771, -0.05398152396082878, -0.24687595665454865, 0.029256045818328857, -0.24896487593650818, 0.8833759427070618, 0.5798816680908203, -0.12800994515419006, -0.16474801301956177, -0.6383219361305237, 0.2919231057167053, 0.47084298729896545, -0.8506789207458496, -0.05046017840504646, 0.48607125878334045, 0.22244490683078766, 0.3129573464393616, 0.7738460898399353, -0.2595180571079254, 0.15316566824913025, -0.1970992535352707, 0.006421227939426899, 0.6107051372528076, -0.15706397593021393, -0.3119649589061737, 0.1261112242937088, 0.30858591198921204, -0.04636306315660477 ]
http://arxiv.org/abs/2406.06455v2
http://arxiv.org/pdf/2406.06455v2
A Large Language Model Pipeline for Breast Cancer Oncology
2024-06-10T16:44:48
2024-06-13T18:48:17
Tristen Pool, Dennis Trujillo
cs.AI
cs.AI, cs.CL
Large language models (LLMs) have demonstrated potential in the innovation of many disciplines. However, how they can best be developed for oncology remains underdeveloped. State-of-the-art OpenAI models were fine-tuned on a clinical dataset and clinical guidelines text corpus for two important cancer treatment factors, adjuvant radiation therapy and chemotherapy, using a novel Langchain prompt engineering pipeline. A high accuracy (0.85+) was achieved in the classification of adjuvant radiation therapy and chemotherapy for breast cancer patients. Furthermore, a confidence interval was formed from observational data on the quality of treatment from human oncologists to estimate the proportion of scenarios in which the model must outperform the original oncologist in its treatment prediction to be a better solution overall as 8.2% to 13.3%. Due to indeterminacy in the outcomes of cancer treatment decisions, future investigation, potentially a clinical trial, would be required to determine if this threshold was met by the models. Nevertheless, with 85% of U.S. cancer patients receiving treatment at local community facilities, these kinds of models could play an important part in expanding access to quality care with outcomes that lie, at minimum, close to a human oncologist.
[ 0.047436632215976715, -0.5870367884635925, 0.922234833240509, -0.13224588334560394, -0.08897175639867783, 0.003811680478975177, -0.021870706230401993, -0.08102461695671082, 0.05293191224336624, 0.9286299347877502, -0.47603294253349304, -0.6671317219734192, -0.8813373446464539, -0.0734441727399826, -0.4138434827327728, 0.6854053735733032, 0.024910151958465576, 0.4329834282398224, 0.1775551289319992, -0.02252250909805298, -0.16144751012325287, -0.31374016404151917, -0.790655255317688, -0.5600863099098206, 0.8605809807777405, 0.3056689500808716, 0.7472773790359497, 0.9456851482391357, 0.4439663589000702, 0.13297335803508759, -0.36079922318458557, 0.08066919445991516, -0.3778831362724304, 0.15856412053108215, -0.06078056991100311, -0.4625146985054016, -0.5346124768257141, -0.18579624593257904, 0.4653015434741974, 1.0985279083251953, -0.31224215030670166, -0.23532529175281525, 0.09883588552474976, 0.6201059818267822, -0.5674307942390442, 0.0365695096552372, -0.4966423809528351, 0.0742325484752655, -0.18165245652198792, 0.019876940175890923, -0.05743460729718208, -0.8016804456710815, 0.043944504112005234, -0.6002060174942017, -0.02731855772435665, -0.08190899342298508, 0.6033620834350586, -0.027603769674897194, -0.5595345497131348, -0.4706517457962036, -0.4784585237503052, 0.6600239276885986, -1.0524667501449585, 0.09323274344205856, 0.35240593552589417, 0.49055367708206177, -0.6135708689689636, -1.0320415496826172, 0.014716273173689842, -0.08056706190109253, 0.05193569138646126, 0.011306669563055038, -0.2335609346628189, 0.6119666695594788, 0.324998140335083, 0.4509850740432739, -0.5458012819290161, 0.7480152249336243, -0.358978807926178, -0.34706324338912964, 0.506255567073822, 0.4311979413032532, 0.35968926548957825, -0.11159936338663101, -0.159128800034523, 0.45187118649482727, -1.1925160884857178, 0.1891794502735138, 0.05607971176505089, 0.6711346507072449, 0.2586657702922821, 0.7860286831855774, -0.6549416780471802, 0.850607693195343, -0.4645441472530365, 0.04560380429029465, -0.30076247453689575, -0.47899308800697327, -0.2804934084415436, 0.29285353422164917, 0.8180213570594788, 0.16283483803272247, 0.15215609967708588, 0.10788439959287643, 0.23254109919071198, 0.22990763187408447, 0.06411348283290863, -0.9161288738250732, -0.2595880329608917, 0.4033370614051819, -0.530698299407959, -0.4780629277229309, -0.038709383457899094, -0.46933186054229736, -0.45365214347839355, 0.053580544888973236, 0.3569691777229309, -0.03945312649011612, -0.10031295567750931, 0.4353885054588318, 0.17198339104652405, -0.22201405465602875, 0.2727486491203308, -0.6263949275016785, 0.1059822365641594, 0.73828125, 1.1078890562057495, 0.21243974566459656, 0.0022868793457746506, -0.8277671933174133, 0.017048323526978493, -0.342752069234848, 0.8767788410186768, -0.6451764106750488, -0.5348944067955017, 0.19909870624542236, 0.02822430431842804, -0.02906636893749237, -0.09740342199802399, 0.5517493486404419, -0.2400715947151184, 0.30252841114997864, -0.679514467716217, -0.5914163589477539, -0.09557592868804932, 0.05636992305517197, -0.6727161407470703, 0.2556261122226715, 0.24821358919143677, -0.7106600999832153, 0.24293676018714905, -0.9607417583465576, -0.13354092836380005, 0.13843201100826263, 0.1480555534362793, -0.1373630166053772, 0.003913343418389559, 0.4450720250606537, 0.5577899813652039, -0.5617039799690247, 0.35282206535339355, -0.4413732588291168, -0.3948417007923126, 0.4168676435947418, -0.269185870885849, 1.030904769897461, 0.693348228931427, 0.18358756601810455, 0.24681665003299713, -0.6056861877441406, -0.010025093331933022, -0.17551900446414948, -0.30046799778938293, -0.30898547172546387, -0.14552661776542664, -0.2562502920627594, 0.2123335748910904, -0.08537950366735458, -0.8715497255325317, 0.43720969557762146, -0.8210321068763733, 0.9815220236778259, 0.48317423462867737, 0.24935226142406464, 0.07590702921152115, -0.3621941804885864, 0.623847484588623, -0.21493682265281677, 0.18480727076530457, -0.42909514904022217, -0.7134467363357544, -0.6356954574584961, -0.346990704536438, 0.5880233645439148, 0.17925597727298737, -0.6049985885620117, -0.08595043420791626, -0.1646401286125183, -0.3894747793674469, -0.7674468755722046, -0.07131887972354889, 0.43479302525520325, 0.48050710558891296, 0.026970364153385162, -0.6304542422294617, -0.5353958010673523, -0.6215839385986328, 0.02655753120779991, -0.25324341654777527, 0.042977940291166306, 0.0859566479921341, 0.17359395325183868, -0.13461072742938995, 0.8026638031005859, -0.6005255579948425, -0.21529313921928406, -0.25891464948654175, 0.23918630182743073, 0.4116264879703522, 0.09121009707450867, 0.00629982678219676, -0.43421077728271484, -0.21942587196826935, 0.29242458939552307, -0.8631157875061035, -0.571000337600708, 0.30750638246536255, -0.21638336777687073, -0.2071768045425415, 0.3811648488044739, -0.4209235906600952, 0.44513964653015137, 0.5467364192008972, -0.2951461672782898, 0.0838826522231102, -0.45581385493278503, 0.2484273612499237, -1.1054781675338745, 0.20694592595100403, 0.054708294570446014, -0.09685927629470825, -0.612331211566925, -0.04797361418604851, -0.2451256960630417, -0.2875830829143524, -0.4996209442615509, 0.6026217341423035, -0.4851023554801941, -0.1422518640756607, -0.29700860381126404, -0.13654440641403198, 0.07953843474388123, 0.04404355213046074, 0.08704094588756561, 0.3481232225894928, 0.46409064531326294, -0.5749218463897705, 0.6079981327056885, 0.057077374309301376, -0.7711898684501648, 0.24417252838611603, -0.7979720830917358, -0.07281338423490524, 0.04375561326742172, 0.3422837555408478, -0.9640806913375854, -0.40947726368904114, 0.1156744435429573, -0.29237884283065796, -0.006605254020541906, -0.19525040686130524, -0.30587565898895264, -0.6057073473930359, 0.04974431172013283, 0.06503964215517044, 0.429109126329422, -0.15627507865428925, 0.19380712509155273, 0.3711943030357361, -0.5895145535469055, -0.4560862183570862, -0.9755688309669495, 0.004234590567648411, -0.04103242978453636, -0.6730390787124634, -0.09011498093605042, -0.02045825682580471, -0.31447112560272217, -0.10680846124887466, 0.46510523557662964, -0.22983486950397491, 0.10286933928728104, 0.21427273750305176, 0.07133248448371887, -0.296965628862381, 0.09238619357347488, 0.506116509437561, -0.2685199975967407, -0.00785745494067669, -0.400325745344162, 0.32160666584968567, 0.34755849838256836, -0.8034873604774475, -0.33959636092185974, 0.5135999321937561, 0.5351589918136597, -0.12068578600883484, 0.5473339557647705, 0.3782851994037628, -0.49187561869621277, 0.1047593280673027, -0.296875536441803, -0.27038511633872986, -0.336568146944046, 0.44085416197776794, -0.2715110778808594, -1.140759825706482, 0.5830174684524536, -0.033614736050367355, 0.2966398000717163, 0.2047896385192871, 0.9241747856140137, 0.37976813316345215, 1.1944429874420166, 0.4373934268951416, 0.09044564515352249, 0.0293778944760561, -0.05549231544137001, 0.07147800177335739, -0.6289045214653015, -0.06365817785263062, -0.5082749724388123, -0.032603804022073746, -0.46190524101257324, -0.44746845960617065, 0.6847816705703735, -0.015331639908254147, -0.4023827612400055, 0.14136774837970734, -0.5600007772445679, 0.09478612244129181, 0.36693039536476135, 0.4025426208972931, 0.6353062391281128, -0.0030174185521900654, -0.2475476711988449, -0.11233367025852203, -1.1904950141906738, -0.38926640152931213, 1.4373829364776611, 0.7468917369842529, 0.615710973739624, 0.09501965343952179, 0.4184229373931885, 0.2146511971950531, 0.3986818790435791, -0.6876311898231506, 0.1917918622493744, -0.23792922496795654, -0.7638938426971436, -0.34079915285110474, -0.5114235281944275, -1.169969081878662, 0.0069277030415833, 0.07193657010793686, -0.5985440611839294, 0.2337954193353653, 0.02517065964639187, -0.8298494219779968, 0.35387179255485535, -0.30450668931007385, 0.9367300868034363, -0.1875716596841812, -0.08480460196733475, 0.08208044618368149, -0.6203669309616089, 0.38804325461387634, -0.18935653567314148, 0.6339406967163086, -0.2441667765378952, 0.011347458697855473, 0.30935123562812805, -0.6378349661827087, 0.5815988779067993, -0.013164840638637543, -0.2605260908603668, 0.42679983377456665, 0.1643708348274231, 0.42685672640800476, -0.13079744577407837, -0.30428123474121094, 0.05612611770629883, -0.0623028539121151, -0.4680125117301941, -0.4813588857650757, 0.891135036945343, -0.5488002300262451, -0.18498343229293823, -0.22955308854579926, -0.39757972955703735, -0.149124413728714, -0.03614215552806854, 0.6785816550254822, 0.6648052930831909, -0.39584261178970337, 0.0067702713422477245, 0.6628738045692444, -0.4230150878429413, 0.05403862148523331, 0.6738713979721069, -0.3708818256855011, -0.20141880214214325, 0.7289988398551941, 0.32246503233909607, 0.3210859000682831, 0.381527304649353, 0.4814859628677368, -0.17642758786678314, -0.6871598958969116, -0.3293444812297821, 0.08823784440755844, -0.7481359839439392, -0.21485112607479095, -0.6988965272903442, -0.3985092043876648, -0.5634405612945557, -0.10821754485368729, -0.3856692910194397, -0.34276002645492554, -0.4245836138725281, -0.05666671320796013, 0.4339248538017273, 0.8435487151145935, -0.0642378181219101, 0.3111068904399872, -0.8728736639022827, -0.2115572988986969, 0.23393790423870087, 0.1431054323911667, -0.08532705157995224, -0.9256234169006348, -0.3258887827396393, 0.2971334457397461, 0.03290743753314018, -0.6411154866218567, 0.5938530564308167, 0.1636427938938141, 0.45101046562194824, 0.3546154797077179, -0.02133539505302906, 0.20937016606330872, -0.2322198897600174, 0.601685106754303, 0.3748873472213745, -0.5574586987495422, 0.7873989343643188, -0.7350602149963379, 0.48337996006011963, -0.01849917694926262, 0.5183289051055908, -0.607257604598999, -0.22662222385406494, -0.39886894822120667, -0.6406973004341125, 0.6296681761741638, 0.2690161466598511, -0.18299849331378937, 0.2755211293697357, 0.43520498275756836, 0.14542903006076813, 0.17435280978679657, -0.40197575092315674, 0.04680842161178589, -0.06444093585014343, -0.34629642963409424, -0.027877207845449448, -0.3393266797065735, -0.35186389088630676, 0.06135658919811249, 0.5111058354377747, -0.15279990434646606, 0.24014750123023987, 0.04240041598677635, 0.2711907923221588, -0.3458648920059204, 0.44988977909088135, 0.3270602226257324, 0.739925742149353, -0.16743193566799164, -0.2436179667711258, 0.17881520092487335, -0.35798466205596924, -0.007795214187353849, 0.14009152352809906, -0.0782238095998764, -0.16368015110492706, 0.5931069850921631, 0.8832371234893799, 0.11595434695482254, -0.6449936032295227, 0.3420994281768799, 0.032246652990579605, -0.10081614553928375, 0.07308391481637955, 0.09289334714412689, -0.1609569638967514, 0.2900536358356476, 0.027708765119314194, -0.228266179561615, 0.4527306854724884, -0.6027714014053345, -0.011570596136152744, 0.21538445353507996, -0.8567902445793152, -0.06161065399646759, 0.5258132815361023, 0.13782374560832977, -0.07603656500577927, 0.3582925498485565, 0.23681525886058807, -0.22427935898303986, 0.579303503036499, 0.35502225160598755, 0.5747150182723999, -0.29087191820144653, 0.2435348927974701, 0.4684204161167145, 0.11585424840450287, -0.5323758721351624, 0.12861615419387817, 0.6760278344154358, -0.6669002175331116, -0.4635571539402008, -0.6444975733757019, -0.487949937582016, -0.07056654989719391, -0.39341655373573303, 0.44180944561958313, -0.5423868894577026, -0.3187727928161621, 0.13619346916675568, 0.06098761409521103, -0.25196608901023865, 0.36987099051475525, 0.1461290717124939, 0.6574826240539551, -0.7410302758216858, 1.1280971765518188, 0.7579020261764526, -0.42788180708885193, -0.7987954020500183, -0.4882428050041199, 0.1968591809272766, -0.6217963099479675, 0.41564273834228516, -0.09375198930501938, 0.1446596086025238, 0.15090106427669525, -0.4369009733200073, -1.1594232320785522, 1.2479195594787598, 0.5169708132743835, -0.6627737283706665, -0.2580007016658783, -0.18036052584648132, 0.5532951951026917, -0.7436984777450562, 0.5148126482963562, 0.5044599771499634, 0.3526926040649414, 0.3808014690876007, -1.0934863090515137, -0.029103150591254234, 0.05852730944752693, 0.3161812722682953, 0.030225884169340134, -0.5157349705696106, 1.0814008712768555, -0.35907095670700073, -0.11179880052804947, 0.5974406599998474, 0.45848381519317627, 0.18337613344192505, 0.3513539433479309, -0.036902640014886856, 0.5933812856674194, 0.7015609741210938, -0.3791370093822479, 1.215172529220581, -0.01691865734755993, 0.28260380029678345, 0.48002922534942627, -0.2593517601490021, 0.6078059673309326, -0.03766651079058647, -0.37895363569259644, 0.4192105531692505, 0.7508621215820312, 0.34334227442741394, 0.4351653456687927, 0.19795502722263336, -0.24880677461624146, -0.43487972021102905, -0.5662330389022827, -0.4320776164531708, 0.2084021270275116, 0.5651243329048157, -0.5769723653793335, -0.0015050977235659957, 0.3474090099334717, 0.1723870486021042, 0.29478883743286133, -0.6435967087745667, 0.5900629758834839, 0.38705241680145264, -0.49385887384414673, 0.3892674148082733, 0.21839003264904022, 0.3860090374946594, -0.9132336378097534, 0.07314431667327881, -0.28750836849212646, 0.21548007428646088, -0.3890601396560669, -0.7504745721817017, 0.18321558833122253, 0.07410585880279541, 0.05283854529261589, 0.0604027695953846, 0.753179669380188, -0.3777177631855011, -0.7293649911880493, 0.1445721834897995, 0.3493701219558716, 0.3040991723537445, 0.10036157071590424, -0.5841774940490723, 0.4741058945655823, 0.012859823182225227, -0.1582091748714447, 0.3679753541946411, 0.3922223150730133, 0.04885432869195938, 0.8997253179550171, 0.5636194944381714, 0.5386258959770203, -0.3188289403915405, 0.11823106557130814, 0.9378136396408081, -0.4014010727405548, -0.39788350462913513, -0.7057974338531494, 0.41718590259552, 0.12822426855564117, -0.5397355556488037, 0.5660060048103333, 0.07929486781358719, 0.2780248522758484, 0.4790816605091095, 0.8468360304832458, 0.4214116632938385, 0.893317699432373, -1.0057278871536255, 0.7633950114250183, -0.38437116146087646, 0.44962528347969055, -0.29318684339523315, -0.8104238510131836, -0.48981302976608276, 0.5488703846931458, -0.31261199712753296, 0.18053530156612396, 0.6200010180473328, 0.8007677793502808, 0.1459735929965973, 0.2485651969909668, 0.41757169365882874, 0.5141541957855225, 0.47417718172073364, 0.9914113879203796, 0.5791065692901611, -0.5228726863861084, 0.15589091181755066, 0.03552732616662979, -0.48531895875930786, -0.20590952038764954, -0.7986114025115967, -0.6915676593780518, -0.22151008248329163, -0.32727953791618347, -0.49346923828125, 0.44210126996040344, 1.1622250080108643, 0.7576916813850403, -0.8593243360519409, -0.5364024043083191, -0.1347701996564865, 0.1040051206946373, 0.07201995700597763, -0.07050076872110367, 0.13036735355854034, 0.10166559368371964, -0.571838915348053, 0.5762985348701477, 0.4274630546569824, -0.06691490113735199, -0.6763185858726501, -0.23142467439174652, -0.24738092720508575, 0.09084238857030869, 0.5145265460014343, 0.41203996539115906, -0.775083065032959, 0.1451442688703537, -0.04223804920911789, -0.3702174425125122, -0.20124375820159912, 0.8063299655914307, -0.6730695366859436, 0.7322871088981628, 0.4266403019428253, 0.4840450584888458, 0.3211035132408142, -0.11006107181310654, 0.9379449486732483, -0.231284499168396, 0.05560002475976944, 0.29935985803604126, 0.3536531329154968, 0.4487292766571045, -0.2522781193256378, 0.19733548164367676, 0.22221030294895172, -0.6783601641654968, -0.8450408577919006, 0.4555276036262512, -0.6721837520599365, -0.4922408163547516, 1.363647699356079, -0.5224533081054688, -0.18337513506412506, -0.4530537724494934, -0.27425363659858704, 0.2959880232810974, -0.5329560041427612, 0.5152588486671448, 0.6707448959350586, -0.07279203832149506, -0.27278828620910645, -0.49172693490982056, 0.4838208556175232, 0.1291910707950592, -0.5573641061782837, -0.08448588103055954, 0.6948482990264893, 0.06332775950431824, -0.3856576979160309, 0.931075394153595, -0.22498559951782227, 0.19999255239963531, -0.3548007011413574, -0.0986517071723938, -0.23388954997062683, -0.27361252903938293, -0.4913235604763031, 0.29588577151298523, 0.3855622708797455, 0.2732376158237457 ]
http://arxiv.org/abs/2406.06443v1
http://arxiv.org/pdf/2406.06443v1
LLM Dataset Inference: Did you train on my dataset?
2024-06-10T16:34:43
2024-06-10T16:34:43
Pratyush Maini, Hengrui Jia, Nicolas Papernot, Adam Dziedzic
cs.LG
cs.LG, cs.CL, cs.CR
The proliferation of large language models (LLMs) in the real world has come with a rise in copyright cases against companies for training their models on unlicensed data from the internet. Recent works have presented methods to identify if individual text sequences were members of the model's training data, known as membership inference attacks (MIAs). We demonstrate that the apparent success of these MIAs is confounded by selecting non-members (text sequences not used for training) belonging to a different distribution from the members (e.g., temporally shifted recent Wikipedia articles compared with ones used to train the model). This distribution shift makes membership inference appear successful. However, most MIA methods perform no better than random guessing when discriminating between members and non-members from the same distribution (e.g., in this case, the same period of time). Even when MIAs work, we find that different MIAs succeed at inferring membership of samples from different distributions. Instead, we propose a new dataset inference method to accurately identify the datasets used to train large language models. This paradigm sits realistically in the modern-day copyright landscape, where authors claim that an LLM is trained over multiple documents (such as a book) written by them, rather than one particular paragraph. While dataset inference shares many of the challenges of membership inference, we solve it by selectively combining the MIAs that provide positive signal for a given distribution, and aggregating them to perform a statistical test on a given dataset. Our approach successfully distinguishes the train and test sets of different subsets of the Pile with statistically significant p-values < 0.1, without any false positives.
[ -0.3385344445705414, -0.4479021728038788, 0.25836312770843506, -0.12132147699594498, -0.34943997859954834, 0.1584021896123886, 0.047796737402677536, -0.35094472765922546, 0.22316871583461761, 0.5952206254005432, -0.768627405166626, -0.44419756531715393, -0.6220456957817078, 0.32628870010375977, -0.8378342390060425, 0.6301109194755554, 0.3848952651023865, 0.3308833837509155, -0.4342038929462433, -0.31914815306663513, -0.2130582183599472, -0.7983309030532837, -0.17452554404735565, -0.2975183427333832, 0.4684198498725891, 0.06848963350057602, 0.5008828639984131, 0.8493559956550598, 0.37135642766952515, 0.23813244700431824, -0.09465117007493973, 0.025823256000876427, -0.5747785568237305, 0.09961075335741043, 0.038355909287929535, -0.8893260955810547, 0.016232803463935852, 0.1577049195766449, 0.5816418528556824, 0.6575940251350403, 0.07475165277719498, 0.09764841943979263, 0.060269251465797424, 0.6016849279403687, -0.7162410020828247, -0.21740390360355377, -0.9614028334617615, 0.2339331954717636, -0.23210522532463074, -0.3171459138393402, -0.759728729724884, -0.4270819127559662, -0.18122197687625885, -0.37642902135849, 0.5288548469543457, 0.05461796373128891, 0.8605437278747559, 0.29395732283592224, -0.4890509247779846, -0.3194536864757538, -0.45112672448158264, 1.0291404724121094, -0.9066587686538696, 0.42065370082855225, 0.6151702404022217, 0.35486412048339844, -0.30547699332237244, -0.3781002163887024, -0.760080873966217, -0.13589312136173248, 0.04130267724394798, 0.07985832542181015, -0.03457239270210266, -0.12197647243738174, 0.3651338219642639, 0.414826899766922, -0.5015448331832886, 0.47964930534362793, -0.24806329607963562, -0.10753948986530304, 0.6365485787391663, -0.08279246836900711, 0.309594064950943, -0.010581113398075104, -0.46822598576545715, -0.17482052743434906, -1.126192569732666, -0.477670282125473, 0.6829357147216797, 0.2888924777507782, -0.14211346209049225, 0.8396631479263306, 0.11080799996852875, 0.6140742301940918, -0.2106507420539856, -0.23261189460754395, 0.30199798941612244, -0.0872262567281723, -0.42553579807281494, 0.07534853368997574, 0.6338265538215637, 0.19911113381385803, 0.6525763869285583, -0.41884711384773254, -0.2435295581817627, 0.04829278588294983, -0.019679704681038857, -0.4435614347457886, -0.17321433126926422, 0.2518414258956909, -0.5085766911506653, -0.4008455276489258, 0.3350994884967804, -0.7532716989517212, -0.6166125535964966, -0.33539217710494995, 0.32821470499038696, -0.09261936694383621, -0.07951060682535172, -0.03867287561297417, -0.44600406289100647, 0.23141025006771088, 0.1532829850912094, -0.8884457349777222, 0.04733551666140556, 0.8331243395805359, 0.7108010649681091, -0.04398169741034508, -0.46818870306015015, -0.5578189492225647, 0.19791407883167267, -0.3600807785987854, 0.8386976718902588, -0.5599451065063477, -0.33886024355888367, 0.1295720338821411, -0.10213451832532883, -0.3065659701824188, -0.7246124744415283, 0.09605827182531357, -0.976885974407196, 0.23211362957954407, -0.23965893685817719, -1.040265679359436, 0.13570228219032288, 0.23545661568641663, -0.8436451554298401, 0.7314152717590332, 0.07752160727977753, -1.0195536613464355, 0.6734699606895447, -0.08979616314172745, -0.23430530726909637, -0.25386664271354675, -0.28037604689598083, -0.44258877635002136, 0.1155230924487114, 0.23518884181976318, 0.4021528661251068, -0.23355190455913544, -0.051707517355680466, -0.7496192455291748, -0.4308220446109772, 0.8109967112541199, -0.6044503450393677, 1.0491137504577637, 0.11612112075090408, -0.21208103001117706, -0.21441787481307983, -0.6907978057861328, -0.09017752856016159, 0.03190977871417999, -0.5340375900268555, -0.4881330728530884, 0.22107383608818054, -0.3759700059890747, 0.029980046674609184, -0.07072221487760544, -0.3780399560928345, 0.4759843349456787, -0.27974921464920044, 0.10327896475791931, 0.9525214433670044, 0.23750610649585724, 0.4018581509590149, -0.5497864484786987, 0.5818312168121338, -0.05590255931019783, -0.028885433450341225, 0.08178260922431946, -0.4141301214694977, -0.6884028911590576, -0.5342842936515808, 0.6701142191886902, 0.41500231623649597, -0.849297046661377, 0.6594904065132141, -0.4526579976081848, -0.305733323097229, -0.3660975992679596, 0.05061449483036995, 0.2606266438961029, 0.10472125560045242, 0.21342644095420837, -0.10074298083782196, -0.3269224166870117, -0.788455069065094, -0.37004098296165466, -0.35526934266090393, -0.36278998851776123, 0.19051766395568848, 0.5812742114067078, 0.03958612680435181, 1.0450364351272583, -0.40043145418167114, -0.17998570203781128, -0.3645574450492859, -0.023106398060917854, 0.2396167516708374, 0.25235673785209656, 0.7007851600646973, -0.6669778227806091, -0.35261332988739014, -0.28909626603126526, -0.8106747269630432, -0.4239021837711334, -0.5125728845596313, 0.01486183237284422, 0.1702209711074829, 0.3850244879722595, -0.36412161588668823, 0.43914979696273804, 0.5629978179931641, -0.3781289756298065, 0.5535373091697693, -0.05064370110630989, 0.0388946570456028, -1.0227128267288208, -0.11543235927820206, -0.1259118616580963, -0.24188841879367828, -0.39271464943885803, 0.1408350020647049, 0.02020025998353958, 0.21049576997756958, -0.3743315637111664, 0.5344882011413574, -0.5709955096244812, -0.38366204500198364, -0.1968381702899933, -0.09752073138952255, -0.03920472040772438, 0.35325899720191956, -0.32140281796455383, 0.830795407295227, 0.7256622910499573, -0.7002418637275696, 0.23661568760871887, 0.612826406955719, -0.6993682980537415, 0.5746960043907166, -0.19878621399402618, 0.27636396884918213, -0.2619544267654419, 0.1434956043958664, -0.8055790662765503, -0.3441435694694519, 0.254763662815094, -0.4310321509838104, 0.16115479171276093, -0.5155900120735168, -0.7073569297790527, -0.11695574223995209, -0.2781964838504791, -0.052441950887441635, 0.31774666905403137, -0.8748550415039062, 0.4674760699272156, 0.3921527564525604, 0.18694303929805756, -0.9251601099967957, -1.204782247543335, 0.1644653081893921, -0.5755817294120789, -0.3514517843723297, -0.07729200273752213, -0.11565642058849335, -0.47854211926460266, -0.07918364554643631, -0.1960296481847763, -0.5550273060798645, 0.3313407301902771, 0.224074587225914, 0.0950377807021141, -0.1634231060743332, 0.10965333878993988, 0.015638895332813263, 0.10235603153705597, 0.03535992279648781, -0.011274069547653198, 0.5169810652732849, 0.6885831356048584, -0.8341513276100159, -0.4677146375179291, 0.19357556104660034, 0.5117373466491699, -0.15328310430049896, 0.8560150265693665, -0.021833419799804688, -0.1493724286556244, -0.7336521744728088, -0.4332200586795807, -0.337589293718338, -0.4781494140625, 0.12800058722496033, -0.050873830914497375, -0.7007843852043152, 0.5148828029632568, 0.10537683963775635, 0.3057309687137604, 0.04794829711318016, 0.33248579502105713, -0.13260598480701447, 0.52489173412323, 0.2920088768005371, -0.4649161398410797, 0.5355685353279114, -0.29052823781967163, 0.11744935810565948, -0.48630818724632263, -0.10471603274345398, -0.699164867401123, -0.5769780874252319, -0.4639180600643158, -0.49400410056114197, 0.04197388514876366, 0.11817631870508194, -0.03454769030213356, 0.29519379138946533, 0.026017291471362114, 0.8208482265472412, 0.575086772441864, 0.12354455143213272, 0.5318427681922913, 0.37902697920799255, 0.06306593865156174, 0.1417798399925232, -0.6220926642417908, -0.44799837470054626, 1.3012335300445557, 0.18149493634700775, 0.826397716999054, 0.3703341782093048, 0.8519813418388367, 0.69863361120224, 0.5890492796897888, -0.7856363654136658, 0.6126963496208191, -0.17507338523864746, -0.830329179763794, 0.019415728747844696, -0.7509375810623169, -1.0626698732376099, 0.37482088804244995, -0.18464280664920807, -0.7398534417152405, 0.5161192417144775, 0.01666964963078499, 0.07254713773727417, 0.3867441415786743, -0.5384077429771423, 0.7068413496017456, -0.19833272695541382, 0.021932639181613922, -0.06518891453742981, -0.4384992718696594, 0.4257239103317261, -0.5253267884254456, 0.23470112681388855, -0.24238531291484833, -0.02032223716378212, 0.770474374294281, -0.4640146493911743, 1.029347538948059, -0.10069001466035843, 0.10316168516874313, 0.338341623544693, 0.21003922820091248, 0.35260531306266785, -0.09278403222560883, -0.48155707120895386, 0.12473414093255997, -0.05279028043150902, -0.30712372064590454, -0.5673379898071289, 0.4130460023880005, -0.6186050176620483, -0.3778199255466461, -0.4070436358451843, -0.29211121797561646, -0.2186867594718933, 0.21960924565792084, 0.2775590121746063, 0.6093055009841919, -0.11289536952972412, 0.40653523802757263, 0.3870549499988556, -0.10211754590272903, 0.44565656781196594, 0.5268649458885193, -0.02281351387500763, -0.4536730647087097, 0.8057664632797241, 0.02218417264521122, 0.43077680468559265, 0.40992432832717896, 0.019696760922670364, -0.40959933400154114, -0.8542646169662476, -0.35604405403137207, 0.3221471905708313, -1.0179070234298706, -0.21226072311401367, -0.3885132670402527, 0.03204105794429779, -0.19679084420204163, 0.11081409454345703, 0.00666621420532465, -0.37001991271972656, -0.42386120557785034, -0.07531878352165222, 0.12642517685890198, 0.8182161450386047, 0.2095554620027542, 0.6803039312362671, -0.8776310086250305, 0.1148189827799797, 0.1384916752576828, 0.11856959760189056, -0.09902551770210266, -0.7600550055503845, -0.17961974442005157, 0.09623496234416962, -0.093269482254982, -1.2604550123214722, 0.4188013970851898, 0.43895256519317627, 0.7388865351676941, 0.5264444351196289, 0.14908896386623383, 0.42795732617378235, -0.4354313611984253, 0.7013420462608337, -0.14178137481212616, -0.7527324557304382, -0.01392462756484747, -0.1989428699016571, -0.20564046502113342, 0.691383957862854, 0.36036956310272217, -0.39863258600234985, -0.5281019806861877, -0.7098163962364197, -0.5492699146270752, 0.5705490112304688, 0.3791276216506958, 0.2889937162399292, -0.05811477079987526, 0.4178892970085144, -0.03932520002126694, 0.37985745072364807, -0.9485231637954712, -0.3730698227882385, 0.25033608078956604, -0.21462507545948029, 0.07917734235525131, -0.10454177856445312, -0.11016079783439636, 0.11777377873659134, 0.6015157699584961, -0.20422305166721344, 0.2829877734184265, -0.06315623223781586, -0.33001455664634705, 0.03724561631679535, 0.015856238082051277, 0.009785289876163006, 0.9950605034828186, 0.010968710295855999, 0.11731702834367752, 0.01863369345664978, -0.3468288779258728, 0.22448033094406128, -0.08821982145309448, -0.07306087762117386, 0.2516278028488159, 0.7764347195625305, 0.43575653433799744, 0.01056578103452921, -0.7211129069328308, 0.7544971704483032, -0.0848100557923317, -0.21878884732723236, -0.23613038659095764, 0.30181968212127686, 0.10805516690015793, 0.2546665072441101, 0.31384825706481934, -0.07453922182321548, -0.1791449934244156, -0.4932348430156708, 0.5802072882652283, 0.5542849898338318, -0.05207890272140503, -0.17102661728858948, 0.49432212114334106, -0.13249945640563965, -0.040782708674669266, 0.753980815410614, -0.012352284044027328, -0.6528270840644836, 0.8608971834182739, 0.38995125889778137, 0.694572925567627, -0.21144309639930725, 0.1981915980577469, 0.18063262104988098, 0.39377105236053467, -0.22979500889778137, 0.1633249670267105, 0.0487327054142952, -1.064974308013916, -0.34315112233161926, -0.6735287308692932, -0.386809378862381, 0.3344925343990326, -0.6031806468963623, 0.23302061855793, -0.39963415265083313, 0.0397060289978981, -0.0339127853512764, -0.23011824488639832, -0.3122676610946655, 0.270661860704422, 0.1473361998796463, 1.0569870471954346, -1.0918740034103394, 0.9617141485214233, 0.08794224262237549, -0.12044108659029007, -0.59804368019104, 0.43181678652763367, 0.3200072944164276, -0.7752431631088257, 0.5848807692527771, 0.10950175672769547, 0.3861626982688904, -0.03782982379198074, -0.5387125611305237, -0.6900059580802917, 0.8405066728591919, 0.5666758418083191, -0.5448755025863647, 0.23877453804016113, 0.38609516620635986, 0.2731344401836395, -0.15187425911426544, -0.05730465054512024, 0.482784628868103, 0.2589794099330902, 0.16564548015594482, -0.43781399726867676, -0.21113750338554382, -0.023484984412789345, -0.40606021881103516, 0.1393829584121704, -0.29065054655075073, 0.7592617273330688, 0.07898226380348206, -0.30357563495635986, 0.15775518119335175, 0.6575707197189331, 0.47548672556877136, 0.19204892218112946, 0.7255038619041443, 0.5310431122779846, 1.0793871879577637, 0.014186977408826351, 1.2434757947921753, -0.052536945790052414, 0.5273227095603943, 1.2039456367492676, -0.40899205207824707, 0.7674468755722046, 0.35272443294525146, -0.3200867772102356, 0.07852949947118759, 0.840836763381958, -0.513656735420227, 0.6281473636627197, 0.3086022138595581, -0.47689151763916016, -0.28167271614074707, 0.15890491008758545, -0.36898714303970337, 0.34818607568740845, 0.17469853162765503, -0.5875329971313477, -0.27822625637054443, -0.297187477350235, -0.07824808359146118, -0.20587660372257233, 0.11100052297115326, 0.7883431911468506, 0.2414017617702484, -0.45533570647239685, 0.5033722519874573, -0.1214434951543808, 0.38760173320770264, -0.7064006924629211, 0.16964682936668396, -0.46462616324424744, 0.2215995490550995, -0.1646588146686554, -0.5883259177207947, 0.29882967472076416, 0.2917589843273163, 0.034639470279216766, -0.030826950445771217, 0.41677767038345337, -0.3466418981552124, -0.4639331102371216, 0.16102997958660126, 0.5858305096626282, 0.4581822156906128, -0.09593930095434189, -0.6340535283088684, -0.014249743893742561, 0.2162708193063736, -0.42042502760887146, 0.50986647605896, 0.35976743698120117, 0.060702595859766006, 0.672116756439209, 0.7730252742767334, 0.22435249388217926, 0.15175946056842804, 0.29787686467170715, 0.9469813108444214, -0.3282967209815979, -0.5780270099639893, -1.0791360139846802, 0.21787478029727936, -0.21333818137645721, -0.30741629004478455, 0.8364513516426086, 0.760576069355011, 0.9269920587539673, -0.17481419444084167, 0.9617809057235718, 0.08348186314105988, 0.3577565550804138, -0.8983760476112366, 0.8542085289955139, -0.7036012411117554, 0.6643868088722229, 0.07650907337665558, -1.0874497890472412, -0.5103893280029297, 0.5164640545845032, -0.3137025833129883, 0.10367816686630249, 0.6567602157592773, 0.8828541040420532, -0.247906893491745, 0.15221388638019562, 0.2642385959625244, 0.18298865854740143, 0.5248892903327942, 0.15441490709781647, 1.0097675323486328, -0.14035438001155853, 0.38399145007133484, -0.2099643349647522, -0.02074127271771431, -0.07112167030572891, -1.0435426235198975, -1.181863784790039, -0.17885716259479523, -0.262362539768219, -0.4734540283679962, 0.03918240964412689, 0.9958494305610657, 0.5211662650108337, -0.8182072043418884, -0.2270018309354782, 0.033023010939359665, 0.2478669285774231, -0.1045875996351242, -0.13273194432258606, 0.3265330195426941, 0.033969275653362274, -0.704018235206604, 0.6698720455169678, -0.28074952960014343, 0.23278957605361938, -0.17147371172904968, 0.026961123570799828, -0.2334318608045578, 0.2036643922328949, 0.007885846309363842, 0.10998145490884781, -0.47592365741729736, -0.1469222754240036, -0.3074807822704315, -0.07918189465999603, 0.23436297476291656, 0.8695539832115173, -0.5229079127311707, 0.24495281279087067, 0.6361104846000671, 0.8598408102989197, 0.17670848965644836, 0.15471112728118896, 0.47960105538368225, -1.0412710905075073, 0.25202125310897827, 0.21359257400035858, 0.5655459761619568, 0.3942689001560211, -0.3321731686592102, 0.521889865398407, 0.5638242363929749, -0.49303802847862244, -1.0252059698104858, 0.21203219890594482, -0.8248112797737122, -0.5306597352027893, 1.0811902284622192, -0.35556623339653015, -0.3828146159648895, -0.1659092754125595, 0.24035224318504333, 0.20060966908931732, -0.10839985311031342, 0.9327725768089294, 0.6582995653152466, 0.2533182203769684, 0.11133439093828201, -0.7363499999046326, 0.24441681802272797, 0.28839635848999023, -1.061814785003662, 0.3421345055103302, 0.5802721381187439, 0.39766183495521545, -0.16866272687911987, 0.34707415103912354, 0.12289676815271378, -0.0005482904962264001, -0.0982108935713768, -0.19242417812347412, -0.003304507816210389, -0.31324273347854614, -0.452330619096756, 0.08151281625032425, -0.0249727051705122, -0.15667079389095306 ]
http://arxiv.org/abs/2406.06441v1
http://arxiv.org/pdf/2406.06441v1
Interpretability of Language Models via Task Spaces
2024-06-10T16:34:30
2024-06-10T16:34:30
Lucas Weber, Jaap Jumelet, Elia Bruni, Dieuwke Hupkes
cs.CL
cs.CL, cs.AI
The usual way to interpret language models (LMs) is to test their performance on different benchmarks and subsequently infer their internal processes. In this paper, we present an alternative approach, concentrating on the quality of LM processing, with a focus on their language abilities. To this end, we construct 'linguistic task spaces' -- representations of an LM's language conceptualisation -- that shed light on the connections LMs draw between language phenomena. Task spaces are based on the interactions of the learning signals from different linguistic phenomena, which we assess via a method we call 'similarity probing'. To disentangle the learning signals of linguistic phenomena, we further introduce a method called 'fine-tuning via gradient differentials' (FTGD). We apply our methods to language models of three different scales and find that larger models generalise better to overarching general concepts for linguistic tasks, making better use of their shared structure. Further, the distributedness of linguistic processing increases with pre-training through increased parameter sharing between related linguistic tasks. The overall generalisation patterns are mostly stable throughout training and not marked by incisive stages, potentially explaining the lack of successful curriculum strategies for LMs.
[ -0.5089916586875916, -0.6260319948196411, 0.5996425747871399, -0.026753807440400124, -0.21899843215942383, -0.11424535512924194, -0.4590545892715454, -0.4174201190471649, -0.1087670624256134, 0.48176005482673645, -0.5982369184494019, -0.39136114716529846, -0.7159498929977417, -0.11601074784994125, -0.43077391386032104, 0.8440192341804504, -0.2470889538526535, 0.10863852500915527, -0.27101173996925354, -0.4031774699687958, -0.43205997347831726, -0.49762415885925293, -0.577787458896637, -0.5899749994277954, 0.4520778954029083, -0.13585814833641052, 0.9212304949760437, 0.6902655959129333, 0.47887399792671204, 0.27386629581451416, -0.2805060148239136, 0.0649198517203331, -0.5386532545089722, -0.07513462007045746, -0.47670912742614746, -0.6151885390281677, -0.24381649494171143, 0.2037448287010193, 0.6021234393119812, 1.1664941310882568, -0.12709441781044006, 0.06286384910345078, 0.6014929413795471, 0.4894026219844818, -0.3949967324733734, 0.47014495730400085, -0.4368078410625458, -0.008776023052632809, -0.05378295108675957, -0.06379785388708115, -0.22103744745254517, -0.08804791420698166, -0.08316027373075485, -0.5107300877571106, 0.3485085964202881, -0.10081511735916138, 0.704752504825592, 0.27691689133644104, -0.15890230238437653, -0.3916206955909729, -0.6413761973381042, 0.835517406463623, -0.7906100749969482, 0.5103558301925659, 0.4942879378795624, 0.3038519620895386, 0.004971692338585854, -0.40320172905921936, -0.5780237913131714, -0.388869971036911, -0.4246877431869507, -0.2473265826702118, -0.11817601323127747, 0.09066327661275864, 0.23610243201255798, 0.33765870332717896, -0.6097744703292847, 0.2788398861885071, -0.19934768974781036, 0.006896125618368387, 0.4294545352458954, 0.21329854428768158, 0.4856286644935608, 0.09320954233407974, 0.030590029433369637, -0.0808693915605545, -0.6973605155944824, 0.263668954372406, 0.43018996715545654, 0.6365671753883362, -0.06056162714958191, 0.3477427065372467, -0.24610097706317902, 0.743177592754364, -0.009750274941325188, 0.1676638275384903, 0.08274463564157486, -0.23260991275310516, -0.28219732642173767, -0.6257245540618896, 0.42314592003822327, 0.2553595006465912, 0.5090318918228149, -0.3102203905582428, -0.24451740086078644, 0.11038602888584137, 0.4088295102119446, -0.41160041093826294, -0.24725833535194397, 0.12992623448371887, -0.4132583439350128, -0.016938965767621994, -0.21677066385746002, -0.3278017044067383, -0.14602452516555786, -0.6837700605392456, 0.4708895683288574, -0.3870871365070343, -0.395258367061615, 0.292776882648468, 0.15004654228687286, 0.06738178431987762, 0.2504009008407593, -0.9873745441436768, 0.7140986323356628, 0.7965946197509766, 0.7272127270698547, -0.24459704756736755, -0.48302364349365234, -0.2907525897026062, -0.14980509877204895, -0.2796340584754944, 0.4461505711078644, -0.5589966773986816, -0.27103573083877563, -0.014384142123162746, -0.0006454269168898463, -0.2309809774160385, -0.7388362288475037, 0.20142687857151031, -0.6205995082855225, 0.06534359604120255, -0.25190675258636475, -0.5799204707145691, -0.0844038724899292, 0.1765364557504654, -0.6880794763565063, 0.9575108885765076, 0.19161063432693481, -0.4750930070877075, 0.47318994998931885, -0.7168188691139221, -0.26529690623283386, -0.08287782967090607, -0.16198383271694183, 0.13284718990325928, 0.26799991726875305, 0.09398259967565536, 0.7603476643562317, -0.012446718290448189, 0.3884808123111725, -0.32090282440185547, -0.3188338279724121, 0.23082973062992096, -0.028038805350661278, 0.547140896320343, 0.3588770925998688, -0.27643316984176636, -0.039498161524534225, -0.6613336801528931, 0.1619994193315506, -0.1350262463092804, -0.17338964343070984, -0.5038727521896362, 0.1643018126487732, -0.05379068851470947, 0.30502915382385254, 0.0772823765873909, -0.12874631583690643, -0.04157967492938042, -0.6521053314208984, 0.38719823956489563, 0.4349156320095062, -0.36220958828926086, 0.7138946652412415, -0.21637678146362305, 0.5497793555259705, 0.17427487671375275, 0.05808801203966141, 0.20306991040706635, -0.31594404578208923, -0.7510806918144226, -0.031496915966272354, 0.015446558594703674, 0.19638679921627045, -0.5091544389724731, 0.3585076928138733, -0.18419292569160461, -0.3641342222690582, -0.5057504177093506, 0.41693559288978577, 0.4794746935367584, 0.1344766616821289, 0.24683842062950134, -0.5003770589828491, -0.21142372488975525, -0.7936491370201111, -0.6158490180969238, 0.04448404535651207, -0.0349060520529747, 0.24885524809360504, 0.5556687116622925, -0.212201789021492, 0.6938363909721375, -0.4655345380306244, -0.07168272882699966, -0.3959287703037262, 0.03830980882048607, 0.3734111487865448, 0.4720397889614105, 0.588229238986969, -0.6536082625389099, -0.5289716124534607, 0.15338611602783203, -0.6161600947380066, -0.14370942115783691, 0.21084478497505188, 0.04767031967639923, -0.07525226473808289, 0.661379873752594, -0.5036871433258057, 0.18374672532081604, 0.5459966063499451, -0.497612863779068, 0.26659733057022095, -0.193016916513443, 0.08115719258785248, -0.7749803066253662, 0.038169022649526596, 0.08551520854234695, -0.24959146976470947, -0.8862364292144775, 0.6077919006347656, -0.11698636412620544, 0.026984527707099915, -0.39852458238601685, 0.7839345932006836, -0.47820204496383667, -0.173054039478302, -0.38960471749305725, 0.21331186592578888, -0.021119318902492523, 0.4935562312602997, -0.02451898157596588, 0.538891613483429, 0.6557751297950745, -0.545950710773468, -0.07834848761558533, -0.07110618054866791, -0.574253499507904, 0.3748779892921448, -0.538840115070343, 0.04988422244787216, -0.24767658114433289, -0.1266469806432724, -1.1832698583602905, -0.03312752768397331, -0.006794714368879795, -0.3028542101383209, 0.3215908706188202, -0.03760946914553642, -0.42310041189193726, -0.06949225068092346, 0.15176692605018616, 0.4604787230491638, 0.5143396854400635, -0.32009172439575195, 0.4165990352630615, 0.2748214304447174, -0.049406278878450394, -0.514168381690979, -0.6066601872444153, -0.3671797811985016, -0.3430609107017517, -0.4007112681865692, -0.02967837266623974, 0.0480642132461071, -0.6327858567237854, 0.13496029376983643, -0.20108848810195923, -0.39868026971817017, 0.4419592022895813, 0.36593151092529297, -0.009846413508057594, -0.38444796204566956, 0.15783807635307312, -0.0896221324801445, 0.024036038666963577, 0.014095759019255638, -0.42767515778541565, 0.5234580039978027, 0.03989465907216072, -0.3171006441116333, -0.27055588364601135, 0.25568297505378723, 0.424490749835968, -0.04770808294415474, 1.0579661130905151, 0.48876136541366577, -0.4761083126068115, -0.5190346240997314, -0.2488582581281662, -0.11899617314338684, -0.4836527705192566, 0.2638716399669647, -0.6444950699806213, -1.0809543132781982, 0.7117360830307007, -0.05053688585758209, -0.09963743388652802, 0.5514422059059143, 0.4887186586856842, -0.4049018621444702, 0.8157714605331421, 0.9563186168670654, -0.12331361323595047, 0.45819005370140076, -0.23770733177661896, 0.19785766303539276, -0.61875319480896, -0.09391529113054276, -0.6216595768928528, -0.27212998270988464, -0.35591748356819153, -0.7360942959785461, 0.05576984956860542, 0.4756566882133484, -0.13407494127750397, 0.5021856427192688, -0.14582961797714233, 0.7142132520675659, 0.287744402885437, -0.05328856036067009, 0.2243824303150177, 0.048089224845170975, -0.2281578928232193, -0.2471333146095276, -0.5743136405944824, -0.7067616581916809, 0.8949130773544312, 0.4040490686893463, 0.7517207860946655, 0.05878571420907974, 0.4886002838611603, 0.22299355268478394, 0.3183573782444, -0.534819483757019, 0.37785059213638306, -0.38251444697380066, -0.6429852843284607, -0.48340484499931335, -0.3357866406440735, -0.9234711527824402, 0.5045801997184753, -0.02874452993273735, -0.9962645769119263, -0.041286785155534744, 0.0414312407374382, -0.31944069266319275, 0.24901393055915833, -0.6282200217247009, 0.8136208057403564, 0.08424526453018188, -0.1520220786333084, -0.5808267593383789, -0.33761680126190186, 0.21619582176208496, -0.1031608134508133, 0.5590325593948364, -0.12947994470596313, 0.16350753605365753, 0.49052953720092773, -0.11158515512943268, 1.0704991817474365, -0.19195926189422607, -0.40669968724250793, 0.11926707625389099, 0.27215975522994995, 0.09832935035228729, -0.1514197736978531, -0.08849003911018372, 0.17419317364692688, 0.15631002187728882, -0.48278361558914185, -0.8736675977706909, 0.764385461807251, -0.923328697681427, -0.548757016658783, 0.09541372209787369, -0.755814790725708, -0.4537951648235321, 0.13282102346420288, -0.007577653042972088, 0.5012061595916748, -0.21966776251792908, -0.17334038019180298, 0.44485902786254883, -0.21951384842395782, 0.13242694735527039, 0.45853888988494873, -0.20682114362716675, 0.2860463261604309, 0.6567947268486023, 0.04622786492109299, 0.5759812593460083, 0.5115867853164673, -0.02436896599829197, -0.4885624051094055, -0.7326467037200928, -0.0498724989593029, 0.1558544635772705, -0.876061201095581, 0.33404138684272766, -0.48810258507728577, -0.14144565165042877, -0.23950670659542084, -0.10836060345172882, -0.24314925074577332, -0.33348944783210754, -0.3381170928478241, -0.05785617232322693, -0.02602294459939003, 1.0111949443817139, -0.052572257816791534, 0.4961774945259094, -0.6353878974914551, 0.3961365818977356, 0.17026302218437195, 0.5724437236785889, 0.09855923056602478, -0.694800853729248, -0.3972489833831787, 0.16719451546669006, -0.12027819454669952, -0.6327219009399414, 0.3584119975566864, 0.21451716125011444, 0.765869677066803, 0.3016708195209503, -0.35307857394218445, 0.6611542701721191, -0.5617917776107788, 0.8011630773544312, 0.09199866652488708, -1.1347572803497314, 0.5175708532333374, -0.4090959429740906, 0.15936779975891113, 0.37654486298561096, 0.5738372802734375, -0.475935697555542, -0.6172260046005249, -0.5201190710067749, -0.5440890192985535, 0.6119853854179382, 0.21178877353668213, 0.2690037488937378, 0.23887790739536285, 0.5544933676719666, 0.41628125309944153, 0.16077931225299835, -0.8509935140609741, -0.18267759680747986, 0.07723955810070038, -0.1361819952726364, -0.7523714303970337, -0.06132599338889122, -0.19663818180561066, -0.22624139487743378, 0.243606835603714, -0.1417999118566513, 0.1605176031589508, -0.21893833577632904, -0.27801740169525146, -0.15470288693904877, 0.42477431893348694, 0.3692404329776764, 0.8279075026512146, -0.010560388676822186, 0.24727575480937958, 0.14668363332748413, -0.18564872443675995, 0.1536693423986435, -0.07789529860019684, 0.30780524015426636, -0.038394417613744736, 0.6589167714118958, 0.8491995334625244, 0.15975849330425262, -0.5662803053855896, 0.2240801900625229, 0.07793678343296051, -0.20161157846450806, 0.23239175975322723, 0.4825354516506195, 0.1955385059118271, 0.5484581589698792, -0.09659124165773392, 0.03036508709192276, 0.10769536346197128, -0.8851388692855835, 0.20791679620742798, 0.3465743958950043, -0.48400479555130005, -0.5827019810676575, 0.6477482318878174, 0.024058006703853607, -0.247700497508049, 0.31903815269470215, -0.09699879586696625, -0.25850602984428406, 0.5917313694953918, 0.308267742395401, 0.582467794418335, -0.12891344726085663, 0.20580528676509857, 0.212079256772995, 0.24583011865615845, -0.24688619375228882, 0.4082966446876526, -0.08154942095279694, -1.0537959337234497, -0.6388899087905884, -0.8003367781639099, -0.19299520552158356, 0.35703226923942566, -0.8534022569656372, -0.18249335885047913, -0.2538485825061798, -0.01845739036798477, 0.05891721323132515, -0.0978645533323288, -0.8557194471359253, 0.44664403796195984, 0.1717773824930191, 0.7620980143547058, -1.1068289279937744, 1.019040822982788, 0.7940777540206909, -0.04489319771528244, -0.926746129989624, -0.0009497287101112306, -0.14935661852359772, -0.8301836848258972, 0.8944633603096008, 0.004290592856705189, 0.027550779283046722, -0.0955614522099495, -0.21306124329566956, -0.7016264796257019, 0.6545671820640564, 0.44847428798675537, -0.7012467980384827, -0.010908321477472782, 0.42147737741470337, 0.9113709330558777, -0.30804991722106934, 0.0960816964507103, 0.8202649354934692, 0.14892129600048065, -0.4197695255279541, -1.2823454141616821, 0.0021839526016265154, -0.12465920299291611, -0.11525178700685501, 0.2442314773797989, -0.21952971816062927, 0.9210116267204285, -0.04740370064973831, -0.24165309965610504, 0.07208657264709473, 0.2645338177680969, -0.02257956936955452, 0.1302805095911026, 0.578874409198761, 0.5268274545669556, 0.6514444947242737, -0.13618947565555573, 0.9959940910339355, -0.24971306324005127, 0.5919029712677002, 1.0178470611572266, -0.15720532834529877, 0.9162182807922363, 0.6417924761772156, -0.4136994481086731, 0.33667492866516113, 0.39680424332618713, 0.34913885593414307, 0.7499353885650635, 0.564426600933075, 0.11692613363265991, -0.26080262660980225, 0.08664007484912872, -0.11892552673816681, 0.25384026765823364, 0.5183899998664856, -0.35502129793167114, -0.4080730676651001, 0.08014687150716782, -0.3641776442527771, 0.5240584015846252, -0.435417503118515, 0.4612327814102173, 0.29886773228645325, -0.5711455941200256, 0.6312743425369263, -0.2093123346567154, 0.613033652305603, -0.42774298787117004, 0.09337630867958069, -0.23427490890026093, 0.2213810235261917, -0.10169996321201324, -1.0642155408859253, 0.578879714012146, -0.0798712968826294, -0.16134607791900635, -0.634375810623169, 0.6123634576797485, -0.46397408843040466, -0.10883449763059616, 0.59829181432724, 1.002712368965149, 0.3174128532409668, -0.010285348631441593, -0.5819593071937561, -0.04365547001361847, -0.12175574898719788, -0.0439642034471035, 0.5490660071372986, 0.3899843692779541, 0.028237583115696907, 0.7293052673339844, 0.29535478353500366, 0.3699752390384674, 0.05519276112318039, 0.2507708966732025, 0.6528109908103943, -0.6687846183776855, -0.45233696699142456, -0.8942288160324097, 0.41349759697914124, 0.32074081897735596, -0.351647287607193, 0.5602001547813416, -0.007130676880478859, 1.2162530422210693, -0.29216867685317993, 0.5906825661659241, 0.10256259143352509, 0.4567711651325226, -0.6873897910118103, 0.7269906997680664, -0.6805214285850525, 0.2582782804965973, -0.1864374279975891, -0.8066965341567993, -0.24969318509101868, 0.7931607961654663, -0.47127288579940796, 0.09300132840871811, 0.6541861891746521, 0.7546737790107727, -0.42783111333847046, -0.07691194117069244, 0.6342182159423828, 0.21932874619960785, 0.16548149287700653, 0.4510185718536377, 1.2283905744552612, -0.09968636929988861, 0.11324620991945267, -0.0690794587135315, 0.02002129890024662, 0.08432895690202713, -0.5775982141494751, -1.22616708278656, -0.7851264476776123, -0.18035823106765747, -0.03324466571211815, 0.0289045087993145, 0.4756903648376465, 0.8167617917060852, -0.8380950093269348, -0.41408681869506836, -0.2249874472618103, -0.16102908551692963, -0.3062116205692291, -0.23385857045650482, 0.22650596499443054, -0.5311135053634644, -0.7410484552383423, 0.32286912202835083, 0.08326960355043411, -0.10676757246255875, -0.26983925700187683, -0.13993306457996368, 0.22754019498825073, -0.0038478916976600885, 0.5627150535583496, -0.0026165980380028486, -0.9027355909347534, -0.38146933913230896, -0.11873377859592438, -0.12909118831157684, -0.09302584826946259, 0.8803816437721252, -0.43911367654800415, 0.20060907304286957, 0.3722856342792511, 0.5646557211875916, 0.23539119958877563, -0.34533748030662537, 0.7181294560432434, -0.7409879565238953, 0.18007735908031464, 0.0986354723572731, 0.4688214659690857, 0.14068369567394257, -0.27968114614486694, 0.4814458191394806, -0.06183187663555145, -0.34632182121276855, -0.7878668308258057, 0.29218631982803345, -0.7705205678939819, -0.5131504535675049, 1.1924856901168823, -0.443438321352005, 0.12462394684553146, -0.17340652644634247, -0.0906681939959526, 0.27254894375801086, 0.044746529310941696, 0.673782467842102, 1.0071611404418945, -0.19776839017868042, 0.05209304392337799, -0.9177354574203491, 0.7147918939590454, 0.6004642844200134, -0.599489688873291, 0.09610659629106522, 0.21286718547344208, 0.6119166016578674, 0.1751677542924881, 0.5808127522468567, 0.05230935290455818, 0.06770887970924377, -0.1449759155511856, -0.24877765774726868, 0.27110931277275085, -0.29296305775642395, -0.6868432760238647, 0.12844295799732208, 0.3955601751804352, -0.05683134123682976 ]
http://arxiv.org/abs/2406.06438v1
http://arxiv.org/pdf/2406.06438v1
Multimodal Contextualized Semantic Parsing from Speech
2024-06-10T16:31:34
2024-06-10T16:31:34
Jordan Voas, Raymond Mooney, David Harwath
cs.CL
cs.CL, cs.CV, cs.HC, cs.LG, cs.SD, eess.AS
We introduce Semantic Parsing in Contextual Environments (SPICE), a task designed to enhance artificial agents' contextual awareness by integrating multimodal inputs with prior contexts. SPICE goes beyond traditional semantic parsing by offering a structured, interpretable framework for dynamically updating an agent's knowledge with new information, mirroring the complexity of human communication. We develop the VG-SPICE dataset, crafted to challenge agents with visual scene graph construction from spoken conversational exchanges, highlighting speech and visual data integration. We also present the Audio-Vision Dialogue Scene Parser (AViD-SP) developed for use on VG-SPICE. These innovations aim to improve multimodal information processing and integration. Both the VG-SPICE dataset and the AViD-SP model are publicly available.
[ -0.3986302614212036, -0.779053807258606, 0.6506050229072571, 0.4671896696090698, 0.03581110015511513, 0.019908538088202477, -0.17579695582389832, -0.3454168140888214, 0.11629503965377808, 0.466216117143631, -0.6773617267608643, -0.5625218749046326, -0.43346717953681946, -0.18467172980308533, -0.1817992478609085, 0.4086274206638336, 0.386797159910202, 0.3434217870235443, -0.5432186722755432, -0.2069232016801834, -0.7570847272872925, -0.35601913928985596, -0.5130704045295715, -0.07169458270072937, 0.4202629029750824, 0.43933841586112976, 0.8470832705497742, 0.8657160997390747, 0.40531423687934875, 0.4564809203147888, 0.03374604508280754, 0.21840277314186096, -0.09304507821798325, 0.4607434868812561, -0.5145641565322876, -0.14823107421398163, -0.6687895655632019, -0.007191746030002832, 0.5928774476051331, 0.69278883934021, 0.2751070261001587, -0.08266675472259521, -0.300921231508255, 0.17528870701789856, -0.45803362131118774, 0.584316611289978, -0.6180844902992249, 0.036112770438194275, 0.025161778554320335, -0.5509962439537048, -0.28798508644104004, 0.17372775077819824, 0.045418739318847656, -0.7385005950927734, 0.02968246303498745, 0.05557863414287567, 0.7581408619880676, 0.40140947699546814, -0.6457876563072205, -0.23844312131404877, -0.6234048008918762, 0.8870307803153992, -0.15234893560409546, 0.7248172163963318, 0.22353284060955048, 0.5899172425270081, -0.3222483992576599, -1.1075657606124878, -0.6636910438537598, -0.27415522933006287, 0.02636331506073475, 0.12196634709835052, -0.25980210304260254, 0.169975146651268, 0.1761740893125534, 0.11878328025341034, -0.3704527020454407, -0.5631828308105469, -0.2721058428287506, -0.2894289791584015, 0.2886822521686554, 0.10418809205293655, 0.5320016741752625, -0.334638386964798, -0.6456307768821716, -0.42000752687454224, -0.2517557144165039, 0.08826788514852524, -0.22667230665683746, 0.3447340130805969, 0.14414715766906738, 0.5107337236404419, -0.30861151218414307, 0.9096049666404724, -0.4947906732559204, -0.25881463289260864, 0.40943101048469543, -0.6169319748878479, -0.3028135895729065, 0.1266252100467682, 0.41428107023239136, 0.6659852266311646, -0.08369746804237366, 0.05137244984507561, -0.013787996955215931, 0.25406116247177124, 0.028841368854045868, -0.3745882213115692, -0.19705677032470703, 0.2001347839832306, -0.028736332431435585, -0.04704214259982109, -0.05064522102475166, -0.8738999366760254, -0.46015608310699463, -0.74526447057724, 0.32151010632514954, -0.5098296403884888, -0.05421479791402817, 0.013736652210354805, -0.7235533595085144, 0.4889924228191376, 0.723680317401886, -0.35642993450164795, 0.254364013671875, 0.6393275856971741, 0.8447166085243225, 0.2898388206958771, -0.3587021231651306, -0.7853338718414307, 0.6268265843391418, -0.1356678158044815, 0.9441515207290649, -0.8927961587905884, -0.42977121472358704, -0.4113241136074066, 0.27430543303489685, -0.08392933756113052, -0.4012262523174286, 0.6451722383499146, -0.2401210218667984, -0.10986445844173431, -0.49775996804237366, -0.22069606184959412, -0.07197801023721695, 0.4878697991371155, -0.40320155024528503, 0.7037436366081238, -0.004075922537595034, -0.35975176095962524, 0.6069048643112183, -0.8580610752105713, -0.2987035810947418, -0.06946519762277603, -0.3869108557701111, 0.23203986883163452, -0.11452601104974747, 0.6868998408317566, 0.32828521728515625, -0.1783493459224701, 0.31354326009750366, -0.21957728266716003, 0.22272519767284393, 0.23686599731445312, -0.5362144112586975, 0.30836623907089233, 0.7217771410942078, 0.044356267899274826, 0.6695835590362549, -1.0058456659317017, 0.04520205780863762, -0.03799446299672127, 0.005681260023266077, -0.3306214511394501, -0.013615456409752369, 0.15778128802776337, 0.6801667809486389, 0.15741048753261566, -0.5451668500900269, 0.07100599259138107, -0.2796609401702881, 0.47796282172203064, 0.691546618938446, -0.06616809964179993, 0.46469399333000183, -0.15243813395500183, 0.21582135558128357, 0.5213160514831543, 0.29143980145454407, -0.6375084519386292, -0.6007643938064575, -0.6195589303970337, -0.5213413834571838, -0.13642656803131104, 0.7173656821250916, -1.0263068675994873, 0.06650964170694351, -0.30058959126472473, -0.2711635231971741, -0.2989029288291931, 0.175819531083107, 0.16071845591068268, 0.6381837129592896, 0.302806556224823, -0.061817362904548645, -0.5294644832611084, -0.90833580493927, -0.307082861661911, 0.008548280224204063, -0.051733020693063736, 0.5405248999595642, 0.13674335181713104, -0.45753544569015503, 1.4191268682479858, -0.5404490232467651, -0.48626381158828735, -0.43349558115005493, 0.12645871937274933, -0.14767050743103027, 0.7161419987678528, 0.45673924684524536, -1.0119264125823975, -0.2062440812587738, 0.34301313757896423, -0.7877369523048401, -0.1549232304096222, 0.12282063812017441, -0.2313237488269806, -0.5267360806465149, 1.0265501737594604, -0.5177186727523804, 0.30121558904647827, 0.4066047966480255, -0.5171144008636475, -0.09722089022397995, -0.23524586856365204, 0.4108603298664093, -1.2917922735214233, -0.35453999042510986, 0.04435563087463379, -0.5917559266090393, -0.9055089950561523, -0.2926739752292633, -0.0596173033118248, -0.5377510786056519, -0.8493754863739014, 0.7674018144607544, -0.3893318772315979, -0.3215465545654297, -0.25665879249572754, 0.33432576060295105, 0.40575167536735535, 0.5117529034614563, 0.19354115426540375, 0.7298589944839478, 0.7358847260475159, -0.4103953242301941, 0.7927678227424622, 0.315702885389328, 0.02573147602379322, 0.7465569972991943, -0.634423553943634, 0.027505140751600266, -0.4359152019023895, 0.26572370529174805, -1.1331610679626465, -0.6234590411186218, 0.3083942234516144, -0.46732956171035767, -0.14470575749874115, -0.29170942306518555, -0.3317360579967499, 0.2770703136920929, -0.13599196076393127, 0.642660915851593, 0.1108100563287735, -0.5570930242538452, 0.8209272623062134, 0.39986228942871094, -0.15655119717121124, -0.24131950736045837, -0.6189199090003967, 0.30838701128959656, -0.12091737240552902, -1.0624735355377197, 0.09576691687107086, 0.26069360971450806, -0.5062803626060486, 0.08429629355669022, 0.03100205771625042, -0.13884402811527252, -0.2525518834590912, 0.26287007331848145, 0.011068292893469334, -0.3193562626838684, 0.1590385138988495, 0.06999442726373672, -0.12721483409404755, 0.009405786171555519, -0.3127293884754181, 0.5901177525520325, -0.38964414596557617, -0.42527908086776733, -0.34094172716140747, 0.46380722522735596, 0.6533629894256592, -0.3467969596385956, 0.6079806685447693, 0.7654305100440979, -0.38566017150878906, 0.1014336571097374, -0.41443192958831787, 0.009511133655905724, -0.5143802762031555, 0.3059517741203308, -0.5591537952423096, -0.6218631863594055, 0.489242285490036, -0.41508743166923523, -0.2891993522644043, 0.29616960883140564, 0.27983424067497253, 0.132635697722435, 1.2756940126419067, 0.40175995230674744, 0.29443830251693726, 0.5956219434738159, 0.03502057492733002, 0.04986121878027916, -0.7125200033187866, -0.4179440438747406, -0.3096318244934082, -0.06211231276392937, -0.22887396812438965, -0.8101109266281128, 0.558754563331604, -0.11582930386066437, 0.12647317349910736, 0.13711535930633545, -0.24755515158176422, 0.6312452554702759, 0.7448028326034546, 0.06761976331472397, 0.25455522537231445, -0.14179213345050812, 0.09312250465154648, 0.14137277007102966, -0.588374674320221, -0.38124528527259827, 0.6212698221206665, 0.5382384657859802, 0.9363484382629395, 0.1915939599275589, -0.0018458697013556957, 0.316179096698761, -0.2777450978755951, -0.8490262031555176, 0.6602389812469482, 0.15458202362060547, -0.2671293020248413, -0.1774870753288269, -0.24030162394046783, -0.7493216395378113, 0.5588852763175964, -0.058420710265636444, -0.7994011640548706, 0.5235689282417297, 0.13558830320835114, -0.03313102200627327, -0.13516053557395935, -0.9807634949684143, 1.233158826828003, -0.08749236166477203, -0.3232886791229248, 0.04921048879623413, -0.815823495388031, 0.20270216464996338, 0.5472675561904907, 0.3825837969779968, -0.2344129979610443, -0.04069776087999344, 0.5213886499404907, -0.4013444185256958, 0.7120896577835083, -0.3288397789001465, 0.16165849566459656, 0.2318841814994812, -0.1158972978591919, 0.28866246342658997, 0.30417177081108093, 0.41442206501960754, 0.008380582556128502, 0.09280673414468765, -0.4738462269306183, -0.7559310793876648, 0.8223593235015869, -0.7256259918212891, -0.5876774191856384, -0.5909296870231628, -0.9167376160621643, -0.4828939139842987, 0.17981784045696259, -0.18788768351078033, 0.7755283117294312, -0.041811950504779816, 0.2779421806335449, 0.5742513537406921, -0.42979034781455994, 0.23307979106903076, 0.11577128618955612, -0.4874594807624817, -0.5331088304519653, 1.1053739786148071, -0.29540666937828064, 0.34929192066192627, 0.29898056387901306, 0.2677096128463745, -0.33495068550109863, -0.06837820261716843, -0.4213431477546692, 0.016208352521061897, -1.2723196744918823, 0.14988857507705688, -1.0424655675888062, -0.20119555294513702, -0.8703374862670898, -0.21235407888889313, -0.4372056722640991, -0.28077933192253113, -0.1403101533651352, 0.052710290998220444, 0.347391277551651, 0.643747866153717, -0.0743078738451004, 0.5190179347991943, -0.7602014541625977, 0.5227858424186707, 0.45356228947639465, 0.07698268443346024, -0.6555164456367493, -0.03919047489762306, 0.05342812463641167, 0.07056757062673569, -0.13896100223064423, -0.8616844415664673, 0.5284446477890015, 0.3229961395263672, 0.5771867632865906, 0.41032761335372925, -0.28034263849258423, 0.9580583572387695, -0.47212907671928406, 1.0222934484481812, -0.029419220983982086, -1.0307050943374634, 0.981350839138031, -0.3297002613544464, 0.4866968095302582, 0.334117591381073, -0.06718508899211884, -0.6630380749702454, -0.29119744896888733, -0.2850196361541748, -0.9004579186439514, 0.9100964665412903, 0.12756769359111786, -0.03679182380437851, -0.16285154223442078, -0.10905317962169647, -0.23705768585205078, 0.29692378640174866, -0.4712756872177124, 0.007684835698455572, -0.6764066219329834, -0.07525313645601273, -0.23241889476776123, -0.24526573717594147, -0.38507482409477234, -0.48297154903411865, 0.215606227517128, -0.17651641368865967, 0.21657466888427734, 0.4433307945728302, -0.34871652722358704, 0.3643648028373718, 0.3692515790462494, 0.8752976059913635, 0.6942133903503418, -0.23252363502979279, 0.39007776975631714, -0.047317985445261, -0.3790523409843445, 0.034271977841854095, -0.10802135616540909, 0.42142727971076965, 0.066512830555439, 0.3518444299697876, 0.9535471200942993, 0.15139809250831604, -0.9110381603240967, 0.711206316947937, -0.2837464511394501, 0.007942607626318932, -0.45189595222473145, 0.011149645783007145, -0.1749219447374344, 0.4631164073944092, -0.08118558675050735, 0.3042330741882324, 0.43366020917892456, -0.8395867943763733, 0.4199139475822449, 0.4016316533088684, -0.5143923759460449, -0.17734655737876892, 0.6655221581459045, 0.1124516949057579, -0.010440900921821594, 0.3146422207355499, -0.07968757301568985, -0.28392714262008667, 0.45425230264663696, 0.5176538228988647, 0.6732648611068726, -0.182220458984375, 0.1637926697731018, -0.08819658309221268, 0.17691393196582794, 0.23647746443748474, 0.21988654136657715, -0.27122825384140015, -0.7078293561935425, -0.2134876847267151, -0.6569413542747498, -0.43305593729019165, -0.071458600461483, -0.3698308765888214, 0.3067263960838318, -0.5373137593269348, -0.09154564887285233, 0.04239971190690994, -0.7399451732635498, -0.6261034607887268, 0.3631390929222107, -0.045134205371141434, 0.8276737928390503, -0.845041811466217, 0.85001140832901, 0.9779475927352905, -0.27649131417274475, -0.48957768082618713, -0.20083796977996826, 0.25225451588630676, -0.7659466862678528, 0.9910386204719543, 0.008465505205094814, -0.2679066061973572, -0.2397564798593521, -0.30981314182281494, -0.8993598818778992, 0.9847811460494995, 0.37888437509536743, 0.023316824808716774, 0.148068368434906, 0.3731338381767273, 0.4282241463661194, -0.37858670949935913, 0.22822266817092896, 0.6099289655685425, 0.5462363362312317, 0.7984504699707031, -0.709675669670105, -0.329496294260025, -0.5331325531005859, 0.11543018370866776, 0.04184146970510483, -0.3899521231651306, 1.0279521942138672, 0.42273518443107605, -0.09251399338245392, -0.34996673464775085, 0.7879039645195007, -0.04424043744802475, 0.7128349542617798, 0.5741961002349854, 0.3500289022922516, 0.34886470437049866, -0.24353796243667603, 0.8609430193901062, -0.29444989562034607, -0.08558625727891922, 1.201801061630249, -0.31874334812164307, 0.5005875825881958, 0.6292926073074341, 0.3505709767341614, -0.07437103986740112, 0.26090407371520996, 0.40665730834007263, 0.5036091208457947, -0.1493166834115982, -0.5518950819969177, -0.1544404923915863, -0.5591826438903809, -0.21579024195671082, 0.7503084540367126, 0.6299296617507935, -0.1959846317768097, -0.4519060552120209, 0.51887446641922, -0.05560895800590515, 0.09489008784294128, -0.3386307656764984, 1.0848119258880615, -0.15301738679409027, -0.44991952180862427, 0.08343661576509476, -0.10185423493385315, 0.1607283055782318, -0.6578022837638855, -0.334597647190094, 0.0228811614215374, 0.2351742535829544, -0.21618063747882843, -0.7212069034576416, 0.45611441135406494, -0.2056414932012558, 0.0011243378976359963, -0.3294762670993805, 0.8464972972869873, -0.6553977727890015, -0.3629499077796936, 0.11857104301452637, 0.40114784240722656, 0.19977736473083496, -0.2477792352437973, -0.5524585247039795, 0.45657625794410706, -0.31662943959236145, -0.14821602404117584, 0.24392761290073395, 0.6396235227584839, -0.1630946546792984, 0.6874926686286926, 0.6547052264213562, -0.1282624751329422, 0.4014554023742676, 0.20352715253829956, 1.145961046218872, -0.8705434799194336, -0.6384110450744629, -0.6670037508010864, 0.5549488663673401, -0.38637036085128784, -0.050418414175510406, 0.9042163491249084, 0.4361569583415985, 0.7747299075126648, -0.05816543474793434, 0.6911581158638, -0.01859336718916893, 0.20440039038658142, -0.6867078542709351, 0.27391090989112854, -0.7190197706222534, 0.3136623203754425, -0.5796431303024292, -0.9318382740020752, -0.34484803676605225, 0.45333603024482727, -0.23627063632011414, -0.01375544536858797, 0.5147141218185425, 0.9869624376296997, -0.4051855802536011, 0.0003652045561466366, 0.7044394016265869, 0.05887043848633766, 0.7787008881568909, 0.18665097653865814, 1.0763136148452759, -0.14378023147583008, 0.2483709454536438, -0.30768293142318726, -0.36871138215065, 0.06311415880918503, -0.8477761745452881, -0.7697924971580505, -0.8628025054931641, -0.0719069093465805, -0.15531755983829498, -0.061908185482025146, 1.176679253578186, 0.6388843655586243, -0.44466862082481384, -0.16402696073055267, 0.010306544601917267, -0.06444162875413895, -0.07385338842868805, -0.29007676243782043, 0.03114927187561989, -0.6620208024978638, -0.8283993005752563, 0.9919676184654236, 0.7407807111740112, -0.09843838214874268, -0.0015661458019167185, 0.08374176919460297, -0.4053477942943573, 0.2723444104194641, 0.9699426293373108, 0.13642297685146332, -0.820622444152832, -0.42499247193336487, -0.1563122272491455, 0.11447040736675262, 0.271055668592453, 0.807975172996521, -0.6525304913520813, 0.8026826977729797, 0.6377744078636169, 0.6332428455352783, 0.11004940420389175, 0.22506681084632874, 0.6499483585357666, -1.0243446826934814, 0.7087309956550598, 0.0013422844931483269, 0.542023777961731, 0.248378187417984, -0.20817019045352936, 0.19955609738826752, 0.38885876536369324, -0.3948180675506592, -0.6996987462043762, 0.4427911937236786, -1.5376211404800415, -0.30311062932014465, 1.1266552209854126, -0.06512877345085144, -0.5990517139434814, -0.2248956263065338, -0.8240854740142822, 0.016733866184949875, -0.5185120701789856, -0.1395905762910843, 0.6126825213432312, -0.3270054757595062, -0.39390406012535095, -0.5208384990692139, 0.5959545373916626, 0.18894341588020325, -0.995883047580719, -0.002340662758797407, 0.8459704518318176, 0.028701160103082657, 0.26205793023109436, 0.607406497001648, -0.16637325286865234, 0.2900141179561615, 0.34984856843948364, -0.18042303621768951, -0.26571086049079895, -0.7547712326049805, -0.2622571587562561, 0.33878961205482483, 0.02820413000881672, -0.4243980944156647 ]
http://arxiv.org/abs/2406.06435v1
http://arxiv.org/pdf/2406.06435v1
Language Models are Alignable Decision-Makers: Dataset and Application to the Medical Triage Domain
2024-06-10T16:25:23
2024-06-10T16:25:23
Brian Hu, Bill Ray, Alice Leung, Amy Summerville, David Joy, Christopher Funk, Arslan Basharat
cs.CL
cs.CL, cs.AI
In difficult decision-making scenarios, it is common to have conflicting opinions among expert human decision-makers as there may not be a single right answer. Such decisions may be guided by different attributes that can be used to characterize an individual's decision. We introduce a novel dataset for medical triage decision-making, labeled with a set of decision-maker attributes (DMAs). This dataset consists of 62 scenarios, covering six different DMAs, including ethical principles such as fairness and moral desert. We present a novel software framework for human-aligned decision-making by utilizing these DMAs, paving the way for trustworthy AI with better guardrails. Specifically, we demonstrate how large language models (LLMs) can serve as ethical decision-makers, and how their decisions can be aligned to different DMAs using zero-shot prompting. Our experiments focus on different open-source models with varying sizes and training techniques, such as Falcon, Mistral, and Llama 2. Finally, we also introduce a new form of weighted self-consistency that improves the overall quantified performance. Our results provide new research directions in the use of LLMs as alignable decision-makers. The dataset and open-source software are publicly available at: https://github.com/ITM-Kitware/llm-alignable-dm.
[ 0.03375168517231941, -0.47405296564102173, 1.093543529510498, 0.2228885293006897, 0.07625360786914825, 0.24895575642585754, -0.09981199353933334, -0.32247957587242126, -0.20438019931316376, 0.5970179438591003, -0.4733831584453583, -0.4723024070262909, -0.44481712579727173, 0.1099327802658081, -0.26735055446624756, 0.8055652379989624, -0.002557310974225402, 0.4314599931240082, -0.3091879189014435, -0.4905964434146881, -0.5963054895401001, -0.3701620101928711, -0.955813467502594, -0.5547223687171936, 0.4898086488246918, 0.4563426673412323, 1.2531441450119019, 0.9521127343177795, 0.7209841012954712, 0.24726194143295288, 0.16830165684223175, -0.10371724516153336, -0.16416609287261963, -0.02277086116373539, -0.4720306992530823, -0.5156236886978149, -0.6819140911102295, 0.012705598957836628, 0.3513375520706177, 0.46415507793426514, -0.38606032729148865, 0.2901199758052826, -0.3922611474990845, 0.6875386834144592, -0.4147246479988098, 0.013484586961567402, -0.5039180517196655, 0.069888636469841, -0.011611086316406727, -0.01849556528031826, -0.37742263078689575, -0.6852849125862122, 0.2275501936674118, -0.7114517092704773, -0.2831626832485199, 0.3740220069885254, 0.7258690595626831, 0.922041654586792, -0.1432456374168396, -0.23529620468616486, -0.6269062757492065, 0.9398716688156128, -0.8759097456932068, 0.10588113963603973, 0.5349741578102112, 0.5552536249160767, -0.05357651039958, -0.3549726605415344, -0.551021933555603, 0.058816492557525635, 0.026387760415673256, 0.025970319285988808, -0.1801089346408844, 0.17761826515197754, 0.1336393654346466, 0.19982363283634186, -0.2846662402153015, 0.6157647371292114, -0.08838169276714325, 0.03544094040989876, 0.7710785865783691, 0.3582456409931183, 0.46058452129364014, -0.22663137316703796, -0.33462563157081604, 0.0215884018689394, -0.7245579957962036, 0.03476696088910103, 0.19297650456428528, 0.20112554728984833, -0.1553560197353363, 0.5839685797691345, -0.11088325083255768, 0.993659257888794, 0.06356605887413025, -0.3345251679420471, 0.1976493000984192, -0.0029552108608186245, -0.4073668122291565, 0.2974700331687927, 1.0179275274276733, 0.6058520078659058, 0.7898300290107727, 0.104341059923172, 0.01374749094247818, -0.12215154618024826, 0.3126843273639679, -0.479361891746521, -0.23196347057819366, 0.5073103308677673, -0.48303237557411194, -0.8333027958869934, -0.2084077149629593, -0.5310268998146057, -0.7338187098503113, -0.4307192265987396, 0.4160807728767395, -0.46298736333847046, -0.3126014769077301, 0.5249602794647217, 0.17270821332931519, 0.32683897018432617, 0.19485130906105042, -0.4989258944988251, 0.259093314409256, 0.6456973552703857, 0.7523568868637085, 0.00996359996497631, -0.212372824549675, -0.4436981678009033, 0.15246950089931488, -0.44338640570640564, 0.44398659467697144, -0.8340879678726196, -0.1747930347919464, -0.2974482476711273, -0.2433176338672638, 0.18483832478523254, -0.3710060119628906, 0.5985892415046692, -0.36500903964042664, 0.31677764654159546, -0.3926122784614563, -0.4599108099937439, -0.24738235771656036, 0.22838813066482544, -0.6380287408828735, 0.7297182083129883, 0.24197451770305634, -0.6584471464157104, 0.5281984806060791, -0.6391249299049377, -0.031298134475946426, 0.3052506148815155, -0.6222978234291077, -0.6705835461616516, -0.2064472883939743, 0.26055729389190674, 0.3839901089668274, -0.6161878108978271, 0.635924220085144, -0.4698236882686615, -0.08304751664400101, 0.48745548725128174, -0.1800183206796646, 1.2023735046386719, 0.19122426211833954, -0.057986218482255936, -0.01629423350095749, -0.5752343535423279, 0.17178185284137726, 0.2597673833370209, -0.07109437137842178, -0.5039837956428528, 0.20003029704093933, -0.37868261337280273, 0.39261704683303833, 0.24709606170654297, -0.622455358505249, 0.18136517703533173, -0.14131081104278564, 0.4279837906360626, 0.7814432382583618, -0.17674878239631653, 0.3278430998325348, -0.6458409428596497, 0.5362658500671387, -0.041131265461444855, 0.3609975278377533, 0.3108198642730713, -0.3999062776565552, -0.5444637537002563, -0.4795401394367218, 0.3942376375198364, 0.697927713394165, -0.6235519647598267, 0.47245022654533386, -0.2675055265426636, -0.1558925062417984, -1.228209376335144, -0.141786128282547, 0.44903072714805603, 0.918647825717926, 0.316346675157547, 0.30858853459358215, -0.5115317702293396, -1.0591496229171753, -0.1354803889989853, -0.44020920991897583, -0.02372373454272747, 0.33415332436561584, 0.17887839674949646, -0.12338737398386002, 1.24019455909729, -0.4982210695743561, -0.16879086196422577, 0.0756542831659317, -0.05222557485103607, 0.08119385689496994, 0.3668151795864105, 0.6140236854553223, -0.5894562602043152, -0.2946535646915436, 0.03246302902698517, -0.9879624843597412, -0.40480294823646545, -0.043499428778886795, -0.14416667819023132, -0.004182817414402962, 0.2644833028316498, -0.18356522917747498, 0.05451417341828346, 0.5236667990684509, -0.23448802530765533, 0.1796223521232605, -0.24841812252998352, 0.12040180712938309, -1.2991831302642822, 0.14008177816867828, -0.036264799535274506, -0.45439645648002625, -0.6449417471885681, -0.21374693512916565, 0.08264662325382233, 0.06823674589395523, -0.2877991497516632, 0.713534951210022, -0.21867859363555908, -0.15992431342601776, -0.1889510601758957, 0.06334597617387772, -0.02980816550552845, 0.13677653670310974, 0.10479201376438141, 0.7201775312423706, 0.6952866315841675, -0.3781758248806, 0.30954819917678833, 0.6046581864356995, -0.27425459027290344, 1.171621561050415, -0.7588321566581726, -0.020219041034579277, -0.19601264595985413, 0.007988417521119118, -0.493906170129776, -0.21655453741550446, 0.2558326721191406, -0.24526944756507874, 0.014105724170804024, -0.12669968605041504, -0.341827929019928, -0.37331491708755493, -0.15972335636615753, 0.5143026113510132, 0.606392502784729, -0.3545510172843933, 0.43742549419403076, 0.6582010984420776, -0.46372494101524353, -0.7717505693435669, -0.6262730956077576, 0.14921404421329498, -0.24743956327438354, -0.40485212206840515, 0.2192280888557434, -0.08684568107128143, -0.5235887169837952, 0.10860268026590347, 0.19770872592926025, -0.0700916051864624, 0.011339298449456692, 0.3935968279838562, 0.6357715725898743, 0.02209465391933918, 0.37708666920661926, -0.19977207481861115, -0.20978306233882904, 0.004105060826987028, -0.049185287207365036, 0.2514055669307709, -0.3509240448474884, -0.5597162842750549, -0.3760286867618561, 0.28563186526298523, 0.6254433393478394, -0.4929869472980499, 0.5154167413711548, 0.18360760807991028, -0.4982638955116272, 0.04627729579806328, -0.6384763121604919, 0.15410491824150085, -0.4456423223018646, 0.1567772924900055, 0.05335767939686775, -0.8069578409194946, 0.40151622891426086, 0.1295316517353058, 0.2935152053833008, 0.37307068705558777, 0.5300177931785583, -0.27720391750335693, 1.30436110496521, 0.493409663438797, -0.15256623923778534, 0.13513223826885223, 0.23545964062213898, 0.24641507863998413, -0.7058645486831665, -0.1809641569852829, -0.4535784423351288, -0.41214004158973694, -0.46001678705215454, -0.2926141321659088, 0.585974931716919, -0.19579851627349854, -0.645205557346344, -0.24318811297416687, -0.6549820303916931, 0.5844584703445435, 0.23152472078800201, 0.09221915155649185, 0.40209364891052246, -0.33938756585121155, -0.08820906281471252, 0.1971738636493683, -0.7600610256195068, -0.7317200303077698, 0.9557638168334961, 0.44490405917167664, 0.9333775639533997, -0.08412422239780426, 0.6546364426612854, 0.19435900449752808, 0.19284173846244812, -0.7726527452468872, 0.4219089448451996, -0.17657867074012756, -0.5579949021339417, -0.3510136306285858, -0.5540158152580261, -0.7580968737602234, -0.2627774477005005, -0.36486631631851196, -0.607826828956604, 0.09613531082868576, 0.025311823934316635, -0.8134220242500305, 0.3717469871044159, -0.5484188199043274, 0.5036932229995728, -0.6644796133041382, -0.011765260249376297, 0.03125663846731186, -0.8604586124420166, 0.18368269503116608, -0.20426276326179504, 0.2022312730550766, -0.4777858257293701, -0.12246187031269073, 0.5885058641433716, -0.31053435802459717, 0.7089504599571228, -0.09932535886764526, -0.03215298429131508, 0.11476077884435654, 0.05334683507680893, 0.20506471395492554, 0.00021221788483671844, -0.37410062551498413, 0.2518492043018341, 0.32396283745765686, -0.10352630168199539, -0.41666683554649353, 0.7463828325271606, -0.796163022518158, -0.6338521242141724, -0.5383318066596985, -0.8210197687149048, -0.4326043128967285, 0.37908104062080383, -0.0808805450797081, 0.28619781136512756, -0.17967645823955536, 0.06179887428879738, 0.635933518409729, -0.25879618525505066, 0.27055323123931885, 0.8544017672538757, -0.2962135374546051, -0.28834453225135803, 0.7983015179634094, 0.08778073638677597, 0.279933363199234, 0.26728856563568115, 0.4470828175544739, -0.25820842385292053, -0.4488275945186615, -0.549336850643158, 0.2863890528678894, -0.4384649097919464, -0.5627322196960449, -0.40441644191741943, -0.5002489686012268, 0.20517240464687347, -0.3740079700946808, -0.2433197945356369, -0.37922486662864685, -0.0820026695728302, -0.23452220857143402, 0.6821494102478027, 0.9078221321105957, 0.06073550134897232, 0.22646808624267578, -0.7197531461715698, 0.2561706304550171, 0.24849621951580048, 0.7396575212478638, -0.22008463740348816, -0.035712745040655136, 0.07857395708560944, 0.2568223774433136, 0.06655881553888321, -0.8065395355224609, 0.011777795851230621, -0.15398147702217102, 0.6291214227676392, 0.22019550204277039, 0.24645312130451202, 0.42281943559646606, -0.36486420035362244, 0.37644830346107483, 0.0952918604016304, -0.8626177906990051, 0.4301120638847351, -0.36350005865097046, 0.2841896116733551, 0.8732496500015259, 0.23043081164360046, -0.5470950603485107, -0.2653423249721527, -0.49079301953315735, -0.29874923825263977, 0.7900810241699219, 0.2175871580839157, -0.45836108922958374, 0.16303333640098572, 0.38362282514572144, 0.024404581636190414, 0.260037899017334, -0.48041632771492004, -0.007060033734887838, -0.024106480181217194, -0.8611129522323608, 0.1008574590086937, -0.03949330747127533, -0.574882447719574, 0.0018187963869422674, 0.5481969118118286, -0.15322399139404297, -0.1560761034488678, 0.09127258509397507, 0.1714753359556198, -0.24757131934165955, 0.43758106231689453, 0.34192797541618347, 0.7081629633903503, -0.2805463671684265, -0.05217672511935234, 0.15979667007923126, -0.2030879408121109, 0.36577436327934265, 0.11049053817987442, -0.2839381694793701, -0.4802778959274292, 0.07531479746103287, 0.502652645111084, -0.018842782825231552, -0.6326799988746643, 0.5780994296073914, -0.26067647337913513, 0.003266461193561554, -0.18409763276576996, 0.006252477411180735, 0.007055799942463636, 0.2593124210834503, -0.08886101096868515, -0.10117951780557632, -0.054766759276390076, -0.12560655176639557, 0.08291421830654144, 0.5573698282241821, -0.47272321581840515, 0.07762756198644638, 0.5171968936920166, 0.39855414628982544, -0.426162451505661, 0.5598559975624084, 0.03515269607305527, -0.24273298680782318, 0.5394625067710876, 0.25805309414863586, 0.8226433396339417, -0.3806706368923187, 0.5075497627258301, 0.06495872139930725, 0.22627146542072296, -0.2956041395664215, 0.45965027809143066, 0.25746315717697144, -0.7992715835571289, -0.3060861825942993, -0.5454437136650085, -0.6672075986862183, -0.014894089661538601, -0.810262143611908, 0.3420755863189697, -0.5577979683876038, -0.3017781972885132, -0.0038532656617462635, -0.1239941343665123, -0.6941866278648376, 0.30596214532852173, 0.027340559288859367, 0.715362012386322, -0.5710920691490173, 0.6529257893562317, 0.6511907577514648, -0.3350878953933716, -0.844694197177887, -0.11605893075466156, 0.15886548161506653, -1.1942548751831055, 0.14580678939819336, -0.10863702744245529, -0.2851153314113617, -0.091151662170887, -0.49269673228263855, -0.7873643636703491, 1.3246146440505981, 0.5808161497116089, -0.6466906666755676, -0.2892261743545532, 0.3239113986492157, 0.4403679370880127, -0.562821626663208, 0.11392897367477417, 0.7695346474647522, 0.5793908834457397, -0.0009398903930559754, -0.9970607757568359, 0.1694457083940506, 0.0933229848742485, -0.164280965924263, 0.34740719199180603, -0.6204786896705627, 0.6287651658058167, -0.46073704957962036, -0.06736882030963898, -0.03300470486283302, -0.03258988633751869, 0.4867144525051117, 0.1320383995771408, 0.5079694390296936, 0.6755526065826416, 1.0736497640609741, -0.09469098597764969, 0.9877334833145142, -0.4180452525615692, 0.07741980999708176, 1.1513233184814453, -0.4996922016143799, 0.5702177882194519, 0.31476372480392456, 0.09377393871545792, 0.4554552435874939, 0.3844227194786072, -0.023737477138638496, 0.2452622503042221, -0.12074907124042511, -0.08203449100255966, -0.47013190388679504, -0.42115306854248047, -0.26398995518684387, 0.6758785247802734, 0.35846975445747375, -0.48000866174697876, -0.12240014970302582, -0.295230507850647, 0.25768154859542847, 0.036708950996398926, -0.41694220900535583, 0.9193686246871948, 0.09487015008926392, -0.5648771524429321, 0.3081169128417969, -0.194976344704628, 0.20089034736156464, -0.5765090584754944, -0.04609476774930954, 0.27470678091049194, 0.05442201718688011, -0.41140103340148926, -1.3982049226760864, 0.1602058857679367, 0.10860669612884521, -0.26686161756515503, -0.3066537380218506, 0.5227991938591003, -0.40283524990081787, -0.7375619411468506, 0.03959839418530464, 0.5763364434242249, -0.20100344717502594, 0.2362428605556488, -0.7681173086166382, -0.0666670948266983, -0.05133156478404999, 0.26939699053764343, 0.06085773929953575, 0.3430657982826233, -0.24083839356899261, 0.9442086815834045, 0.4293646812438965, 0.24487890303134918, -0.3959053158760071, 0.21922095119953156, 0.5936415195465088, -0.6837899684906006, -0.355152428150177, -0.953028678894043, 0.3498096168041229, -0.28285279870033264, -0.26251333951950073, 0.4491400122642517, 0.21641606092453003, 0.3994476795196533, 0.3193054795265198, 1.0328929424285889, 0.16200418770313263, 0.6003981828689575, -0.535605251789093, 0.8508987426757812, -0.35735487937927246, 0.1457468867301941, -0.06414254754781723, -0.3566722273826599, -0.27270275354385376, 0.5641318559646606, -0.49479445815086365, 0.16600610315799713, 0.29622817039489746, 0.6541858315467834, 0.19180157780647278, 0.055589333176612854, 0.23169870674610138, 0.1778690367937088, 0.4343813359737396, 0.6395646929740906, 0.778744637966156, -0.0008708488312549889, 0.298555463552475, -0.10793215781450272, -0.3970455825328827, -0.15113864839076996, -1.177599310874939, -0.8771453499794006, -0.49841099977493286, -0.20052146911621094, 0.008357305079698563, -0.03528920188546181, 1.110477328300476, 0.6941260695457458, -0.5722227096557617, -0.07876121252775192, 0.037493038922548294, 0.2850208878517151, -0.07036129385232925, -0.1283489167690277, 0.1644393801689148, -0.061341360211372375, -0.35298827290534973, 0.12837062776088715, 0.4796936511993408, 0.12274719774723053, -0.32779330015182495, -0.1404137760400772, -0.25455382466316223, 0.3660559058189392, 0.21528911590576172, 0.2856961190700531, -0.7661909461021423, -0.4188275635242462, 0.000956226431299001, -0.24716156721115112, 0.23215317726135254, 0.6232172846794128, -0.6779496669769287, 0.6691755056381226, 0.18686820566654205, 0.7804276347160339, -0.19188202917575836, 0.292413592338562, 0.9864761233329773, -0.47008994221687317, -0.27227669954299927, 0.5400592088699341, 0.5020646452903748, 0.6483088731765747, -0.43296414613723755, 0.4538419544696808, -0.46739983558654785, -0.9218589663505554, -0.648466944694519, 0.3252406120300293, -0.880851149559021, -0.07527231425046921, 1.1469806432724, 0.15085335075855255, -0.1109565943479538, -0.06913456320762634, -0.4874814450740814, 0.0500129871070385, -0.4396076500415802, 0.8639276027679443, 0.768699049949646, -0.17313288152217865, -0.03969772160053253, -0.38707926869392395, 0.8126983642578125, 0.3906089663505554, -0.958349883556366, 0.12223895639181137, 0.635461151599884, 0.44871002435684204, 0.03999217972159386, 0.6550809741020203, -0.2590078115463257, 0.24485528469085693, -0.5823501348495483, 0.02764703519642353, -0.2815563976764679, -0.34252139925956726, -0.47228795289993286, -0.22120985388755798, 0.27823275327682495, -0.20142458379268646 ]
http://arxiv.org/abs/2406.06665v1
http://arxiv.org/pdf/2406.06665v1
Enrolment-based personalisation for improving individual-level fairness in speech emotion recognition
2024-06-10T16:01:05
2024-06-10T16:01:05
Andreas Triantafyllopoulos, Björn Schuller
cs.CL
cs.CL
The expression of emotion is highly individualistic. However, contemporary speech emotion recognition (SER) systems typically rely on population-level models that adopt a `one-size-fits-all' approach for predicting emotion. Moreover, standard evaluation practices measure performance also on the population level, thus failing to characterise how models work across different speakers. In the present contribution, we present a new method for capitalising on individual differences to adapt an SER model to each new speaker using a minimal set of enrolment utterances. In addition, we present novel evaluation schemes for measuring fairness across different speakers. Our findings show that aggregated evaluation metrics may obfuscate fairness issues on the individual-level, which are uncovered by our evaluation, and that our proposed method can improve performance both in aggregated and disaggregated terms.
[ -0.40090930461883545, 0.04859284311532974, 0.1669081449508667, 0.26373568177223206, -0.008951686322689056, -0.009438618086278439, -0.1684829145669937, -0.26655083894729614, 0.3932742476463318, 0.20653505623340607, -0.25008222460746765, -0.3597941994667053, -0.5885015726089478, 0.3753160238265991, -0.002585718408226967, 0.6293166875839233, 0.39106398820877075, 0.1812441647052765, -0.4054005742073059, -0.5050575733184814, -0.3186355233192444, -0.7491640448570251, -0.7603330016136169, -0.24316096305847168, 0.3083185851573944, 0.5826336145401001, 0.21274201571941376, 0.08938629925251007, 0.42248058319091797, 0.3513900339603424, -0.48973649740219116, -0.14670291543006897, -0.5607603192329407, 0.04250989854335785, -0.1419212967157364, -0.34264275431632996, -0.43508201837539673, 0.04065070301294327, 0.8298919796943665, 0.5690410137176514, -0.5192765593528748, 0.11650720983743668, 0.2141643464565277, 0.8084669709205627, -0.979221761226654, -0.005473219323903322, -0.6871017813682556, 0.5299961566925049, -0.2535687983036041, -0.19942308962345123, -0.4261164963245392, -0.3322764039039612, 0.1936739981174469, -0.22570984065532684, 0.14197275042533875, -0.018437188118696213, 0.09546320885419846, 0.3123292326927185, -0.33601388335227966, -0.2890184223651886, -0.5510157346725464, 0.753757894039154, -1.0294909477233887, 0.3349914252758026, 0.2919587790966034, 0.5313052535057068, 0.1157408207654953, -0.40977445244789124, -0.4744895100593567, -0.1070508062839508, -0.14402653276920319, 0.32018935680389404, -0.3900371789932251, 0.2205384373664856, 0.3182376027107239, 0.39598360657691956, -0.2941133975982666, 0.32507961988449097, -0.1131431981921196, -0.16206489503383636, 0.6366000175476074, 0.1465553343296051, 0.12588760256767273, -0.1577245146036148, -0.12601417303085327, 0.06292219460010529, -0.2175695300102234, 0.5681527256965637, 0.6860957145690918, 0.5811821222305298, -0.30342569947242737, 0.26585155725479126, -0.3438974916934967, 0.3665640652179718, 0.44346582889556885, -0.13259437680244446, 0.5538284778594971, 0.47404301166534424, -0.22988538444042206, 0.6183861494064331, 0.4531233012676239, 0.12917587161064148, 0.22733692824840546, -0.15926282107830048, -0.21601565182209015, 0.012754717841744423, 0.026838991791009903, -0.6801058650016785, 0.14245137572288513, 0.2309497892856598, -0.5467743277549744, -0.1702120304107666, -0.05730797350406647, -0.9997135996818542, -0.9050295352935791, -0.07040847837924957, 0.5621516704559326, -0.09613332897424698, -0.22928239405155182, 0.28076303005218506, -0.08155257999897003, 0.05789395049214363, 0.24170807003974915, -1.0968416929244995, 0.5132774114608765, 0.48254987597465515, 0.6588395237922668, -0.08639703691005707, -0.014635210856795311, -0.8823357820510864, 0.0067574153654277325, 0.10807211697101593, 0.5317261815071106, -0.920142650604248, -0.4869915246963501, 0.011334656737744808, -0.23855993151664734, -0.017514556646347046, -0.6401119828224182, 0.4449995458126068, -0.15763182938098907, 0.45370790362358093, -0.33691564202308655, -0.5559399724006653, -0.07544039189815521, -0.2695144712924957, -0.3590945601463318, 0.42375239729881287, 0.14030076563358307, -0.7696979641914368, 0.5341131687164307, -0.7951337099075317, -0.4365112781524658, 0.1411380022764206, -0.223840594291687, -0.5252236127853394, 0.48798736929893494, 0.2782646715641022, 0.1584700495004654, -0.029822204262018204, -0.12610433995723724, -0.31682392954826355, -0.40733855962753296, 0.29299870133399963, -0.502998948097229, 0.3840344250202179, 0.26888227462768555, -0.33707502484321594, 0.10346656292676926, -0.902446985244751, -0.24096176028251648, -0.3973805606365204, -0.19451983273029327, -0.3782515525817871, 0.287092387676239, -0.16877596080303192, 0.08855586498975754, 0.38728010654449463, -0.75922030210495, -0.22649943828582764, -0.6916471123695374, 0.15408828854560852, 1.270090103149414, -0.1832062005996704, 0.5900272727012634, -0.27167272567749023, 0.6436797976493835, 0.2738972008228302, 0.25038182735443115, 0.09673038870096207, -0.46668410301208496, -0.5837090015411377, -0.4810708165168762, 0.30842530727386475, 0.3475184738636017, -0.07493878155946732, 0.41414809226989746, -0.09954721480607986, -0.018416566774249077, -0.9644384384155273, -0.18567930161952972, 0.3694201409816742, 0.45015132427215576, 0.09274005144834518, -0.8148328065872192, -0.4997207820415497, -0.9124583005905151, -0.5334092974662781, -0.2638052999973297, -0.07061094045639038, 0.6430636644363403, -0.024522989988327026, -0.12837372720241547, 1.1036616563796997, -0.09536448121070862, -0.35850948095321655, 0.11937857419252396, 0.20490407943725586, 0.10734350979328156, 0.4145510196685791, 0.49048104882240295, -0.8556081056594849, -0.6268207430839539, 0.13476768136024475, -0.4379177391529083, -0.3328770399093628, 0.10340265184640884, 0.037889692932367325, 0.02651682309806347, -0.06081036850810051, 0.20121531188488007, 0.681509792804718, 0.45083847641944885, -0.6369056701660156, 0.1694020926952362, -0.20688678324222565, 0.618780791759491, -0.6374461054801941, -0.3212684392929077, 0.08996833860874176, -0.3165947198867798, -0.6672618985176086, -0.35192105174064636, -0.1981874704360962, -0.18344618380069733, -0.6616713404655457, 0.722139835357666, -0.08371742814779282, -0.5217605829238892, -0.1591877043247223, 0.29084092378616333, -0.38913586735725403, 0.5160115957260132, -0.3912979066371918, 0.6247897744178772, 0.5968023538589478, -0.6384468078613281, -0.02543763257563114, 0.4409191608428955, -0.24402697384357452, 0.9446451663970947, -0.28762686252593994, 0.4350074827671051, -0.5146500468254089, -0.09864936769008636, -1.0611155033111572, -0.29912906885147095, -0.04965677112340927, -0.6702712178230286, 0.11228810250759125, -0.20744898915290833, 0.09444896876811981, -0.1101410835981369, -0.1294703185558319, 0.46555984020233154, 0.9802708029747009, -0.7752601504325867, 1.0134215354919434, 0.5727490782737732, -0.5052717328071594, -0.42076748609542847, -0.5203816890716553, 0.06668922305107117, -0.6153762936592102, -0.5641329288482666, 0.3326112926006317, -0.03303604945540428, -0.35836297273635864, -0.2623176872730255, -0.2927441895008087, -0.17198508977890015, 0.1439683735370636, 0.25924256443977356, -0.3886491060256958, 0.17634160816669464, 0.23365065455436707, 0.15489551424980164, 0.0469331219792366, -0.2580367624759674, 0.11083542555570602, 0.429963082075119, -0.13299785554409027, -0.49396735429763794, -0.7142617106437683, 0.4533770978450775, 0.37553998827934265, -0.48385143280029297, 0.49219468235969543, 0.7485828995704651, -0.5184640884399414, -0.19746193289756775, -0.6862331032752991, -0.07304593175649643, -0.5501244068145752, 0.39914649724960327, -0.5333928465843201, -1.120393991470337, 0.748500645160675, -0.09757628291845322, 0.02452501468360424, 0.2788589894771576, 0.5747671127319336, -0.15553493797779083, 1.2837642431259155, 0.8292804956436157, -0.27032220363616943, 0.6122101545333862, 0.4273199439048767, 0.13927248120307922, -0.8757719993591309, -0.23817533254623413, -0.7463849186897278, -0.5663452744483948, -0.7603914141654968, -0.06494901329278946, 0.4885365962982178, -0.0926654115319252, -0.5402900576591492, -0.38484427332878113, -0.5149812698364258, 0.40969979763031006, 0.41548657417297363, 0.28419172763824463, 0.21521075069904327, 0.2827884554862976, 0.09895314276218414, -0.3193948566913605, -0.5447076559066772, -0.5128709077835083, 0.8677611947059631, 0.20066964626312256, 0.7532786726951599, 0.505282998085022, 1.0123441219329834, 0.7291640639305115, 0.4996381998062134, -0.5394811034202576, 0.42190197110176086, -0.8053557276725769, -0.17020224034786224, -0.4447508156299591, -0.82106614112854, -0.9233881235122681, 0.24293363094329834, 0.054381467401981354, -1.1867985725402832, 0.7252882719039917, 0.2524400055408478, -0.5012152194976807, 0.20658284425735474, -0.7272989749908447, 0.6390249133110046, -0.04562228545546532, 0.04357904940843582, -0.38161399960517883, -0.21868927776813507, 0.04879969358444214, -0.19488641619682312, 0.36210697889328003, -0.39397329092025757, 0.1326342523097992, 0.9528411030769348, -0.25285089015960693, 0.8804677128791809, -0.7242159843444824, 0.10532605648040771, 0.13061942160129547, -0.045113470405340195, 0.3122032582759857, -0.1345655620098114, -0.4927724301815033, -0.13439108431339264, -0.2631397843360901, -0.36070960760116577, -0.8492007255554199, 0.5306174159049988, -0.8151669502258301, -0.5566702485084534, -0.27799591422080994, -0.24076086282730103, -0.5875860452651978, -0.3112848997116089, -0.08657997846603394, 0.545978307723999, -0.356784462928772, 0.16615581512451172, 0.5133297443389893, -0.6771958470344543, 0.21042205393314362, 0.8174909353256226, 0.03818186745047569, -0.47253260016441345, 0.8344165086746216, -0.15812049806118011, 0.2340032011270523, 0.23335228860378265, 0.401494562625885, -0.48110106587409973, -0.1242423728108406, 0.04539700970053673, -0.1602301150560379, -0.7791712284088135, -0.09134756028652191, -0.4874074161052704, 0.11681491136550903, -0.801414430141449, -0.21008378267288208, -0.09452977031469345, -0.43683135509490967, -0.12598632276058197, 0.14046531915664673, 0.44586503505706787, 0.5922698974609375, -0.4681810736656189, 0.5452636480331421, -0.34509027004241943, 0.33796513080596924, 0.7858351469039917, 0.7476543188095093, 0.15206214785575867, -1.1647169589996338, -0.14305941760540009, 0.15009421110153198, -0.06285876035690308, -0.7580203413963318, 0.42731019854545593, 0.6522268056869507, 0.7625780701637268, 0.34966111183166504, 0.08819784969091415, 0.7514985203742981, -0.6254101395606995, 0.6415309906005859, 0.5215098857879639, -1.402897834777832, 0.5895841717720032, 0.1322752982378006, 0.13211604952812195, 0.6208853721618652, 0.13256892561912537, -0.9009665250778198, -0.17626959085464478, -0.41472795605659485, -0.8415116667747498, 0.719237208366394, 0.22952760756015778, 0.1389312595129013, 0.2095940262079239, 0.2981376349925995, 0.06654809415340424, 0.20504643023014069, -0.6307399868965149, -0.06103348359465599, 0.012170511297881603, -0.6833970546722412, -0.21179631352424622, -0.147427499294281, -0.056457046419382095, -0.19098049402236938, 0.4926892817020416, -0.06332787126302719, 0.41036349534988403, 0.21829067170619965, -0.1214183047413826, -0.098823182284832, 0.572995126247406, 0.15025117993354797, 0.23542481660842896, -0.39482372999191284, -0.22835586965084076, 0.3010544776916504, -0.20787937939167023, 0.4544362723827362, 0.0024745112750679255, 0.05639457702636719, 0.07235726714134216, -0.038436152040958405, 1.0503281354904175, 0.2593821585178375, -0.6480704545974731, 0.5649130344390869, -0.17524680495262146, 0.08524009585380554, -0.21316853165626526, -0.00025363275199197233, -0.33136340975761414, 0.3947221040725708, 0.20184801518917084, 0.016223879531025887, 0.46636974811553955, -0.6039299368858337, 0.26592501997947693, 0.25233814120292664, -0.7557427883148193, -0.006253709085285664, 0.6935768127441406, 0.36524462699890137, -0.6403323411941528, 0.20786908268928528, -0.504143238067627, -0.4142155647277832, 0.6740078926086426, 0.33090445399284363, 1.3669887781143188, -0.7419953346252441, 0.25913527607917786, 0.1377439647912979, 0.03034457005560398, 0.06029442697763443, 0.3859654664993286, 0.0025459304451942444, -0.8034467101097107, -0.12541626393795013, -0.8711907863616943, -0.6940375566482544, -0.41996797919273376, -0.9446627497673035, 0.06551449000835419, -0.29444974660873413, -0.25702983140945435, -0.02385517582297325, -0.2540757954120636, -0.9697000980377197, 0.3302355706691742, 0.5508372783660889, 0.577041745185852, -0.6583922505378723, 0.28225094079971313, 0.6390089392662048, -0.217561736702919, -0.41019299626350403, -0.045419059693813324, 0.007670855615288019, -0.5618528723716736, 0.45600003004074097, 0.11483122408390045, -0.18135522305965424, 0.013938899151980877, -0.274784117937088, -0.5590053200721741, 0.738042414188385, 0.34522223472595215, -0.8175702691078186, 0.2409925013780594, 0.1921699196100235, 0.5445078611373901, -0.6603831052780151, 0.35953181982040405, 0.6801096200942993, 0.24914097785949707, -0.15601253509521484, -1.0588740110397339, -0.366496205329895, -0.14447493851184845, 0.03146296367049217, -0.18838533759117126, -0.6882659792900085, 0.7072028517723083, -0.04245995357632637, -0.3314131200313568, -0.0860418975353241, 0.5054157972335815, 0.21402987837791443, 0.4302474558353424, 0.9061998128890991, 0.4838111698627472, 1.253933072090149, -0.10239733010530472, 0.9061954021453857, -0.18620404601097107, 0.31340786814689636, 1.2278386354446411, -0.6071900129318237, 0.7532845735549927, 0.0806422084569931, -0.49273043870925903, 0.27467823028564453, 0.48025527596473694, 0.30729106068611145, 0.7054433822631836, 0.5253770351409912, -0.6778680682182312, -0.15391193330287933, -0.13286404311656952, -0.2353987693786621, 0.6617411375045776, 0.22192621231079102, -0.053358837962150574, 0.030535206198692322, 0.42279502749443054, -0.45632681250572205, 0.24794714152812958, -0.7674056887626648, 0.9564296007156372, 0.10486035794019699, -0.04374950751662254, 0.3448178768157959, 0.11630312353372574, 1.059888243675232, -0.4583151042461395, 0.24424302577972412, -0.5622087121009827, 0.0613577775657177, -0.3718399107456207, -0.38554617762565613, -0.12675371766090393, 0.45603588223457336, -0.13683395087718964, -0.015279469080269337, 0.4950965344905853, -0.5544164180755615, -0.4829229712486267, 0.27744773030281067, 0.23777350783348083, 0.3476836681365967, 0.016763119027018547, -0.39708375930786133, -0.13607564568519592, 0.09563962370157242, 0.12034761160612106, 0.4573679268360138, 0.6491660475730896, 0.2921801805496216, 0.6504477262496948, 0.07651682198047638, 0.21144135296344757, 0.20014050602912903, 0.7614925503730774, 0.555432915687561, -0.683181881904602, -0.9049571752548218, -0.6965169906616211, 0.7464121580123901, -0.22519369423389435, -0.25463035702705383, 0.5369927287101746, 0.46136239171028137, 0.7008638978004456, 0.07663804292678833, 0.8805558085441589, 0.1325996369123459, 0.6519775986671448, -0.1749502569437027, 0.620035707950592, -0.7090907692909241, 0.16065627336502075, -0.6939786076545715, -0.5470346808433533, 0.059758543968200684, 0.8014460802078247, -0.2513989210128784, 0.05900721997022629, 0.10408417135477066, 0.6948606967926025, 0.15314266085624695, 0.1672838032245636, 0.6899022459983826, 0.3529089093208313, 0.3265019357204437, 0.58116215467453, 0.7954725027084351, -0.08654461055994034, 0.08862756192684174, -0.0933431088924408, -0.511537492275238, -0.13243365287780762, -0.6263489127159119, -0.577680766582489, -0.5013771057128906, -0.3815770149230957, -0.2238989621400833, 0.41537195444107056, 1.0379638671875, 0.590821385383606, -0.9276201128959656, -0.36389172077178955, 0.40686821937561035, -0.047304488718509674, -0.05893811210989952, -0.22171369194984436, 0.10439427196979523, -0.4980102777481079, -0.7748866081237793, 0.21036341786384583, 0.5066299438476562, 0.02279287949204445, -0.13357149064540863, -0.29949697852134705, 0.36336153745651245, 0.29283326864242554, 0.6501064896583557, 0.2099105715751648, -0.5084784030914307, -0.3234023153781891, -0.6881994605064392, 0.29445621371269226, 0.4082649350166321, 0.7403477430343628, -0.8336082696914673, 0.7085817456245422, 0.22073878347873688, 0.6709826588630676, 0.358148992061615, 0.18939253687858582, 0.3972628116607666, -0.9037137627601624, 0.4647122919559479, 0.5976463556289673, 0.48446691036224365, 0.4973337650299072, -0.4271104037761688, 0.35702207684516907, 0.11135560274124146, -0.5610051155090332, -0.979505181312561, 0.3135475814342499, -0.7632040977478027, 0.15756069123744965, 0.7115201950073242, -0.2378665655851364, 0.10180049389600754, 0.19167031347751617, -0.06340263783931732, 0.06888175755739212, -0.6738578677177429, 1.0221623182296753, 0.4878001809120178, -0.20244832336902618, -0.024084705859422684, -0.16875022649765015, 0.4559408128261566, 0.49423083662986755, -0.7947995662689209, -0.10481468588113785, 0.44369199872016907, 0.15132737159729004, -0.22732572257518768, 0.9545965194702148, -0.19928745925426483, 0.2928573787212372, -0.11189229041337967, 0.2484797090291977, 0.48548218607902527, -0.13805659115314484, -0.9064530730247498, 0.08966387063264847, -0.07766129821538925, -0.09418832510709763 ]
http://arxiv.org/abs/2406.06406v2
http://arxiv.org/pdf/2406.06406v2
Controlling Emotion in Text-to-Speech with Natural Language Prompts
2024-06-10T15:58:42
2024-06-11T19:54:35
Thomas Bott, Florian Lux, Ngoc Thang Vu
cs.CL
cs.CL, cs.SD, eess.AS
In recent years, prompting has quickly become one of the standard ways of steering the outputs of generative machine learning models, due to its intuitive use of natural language. In this work, we propose a system conditioned on embeddings derived from an emotionally rich text that serves as prompt. Thereby, a joint representation of speaker and prompt embeddings is integrated at several points within a transformer-based architecture. Our approach is trained on merged emotional speech and text datasets and varies prompts in each training iteration to increase the generalization capabilities of the model. Objective and subjective evaluation results demonstrate the ability of the conditioned synthesis system to accurately transfer the emotions present in a prompt to speech. At the same time, precise tractability of speaker identities as well as overall high speech quality and intelligibility are maintained.
[ -0.6323830485343933, -0.8692117929458618, 0.5774878263473511, 0.5459176301956177, -0.3183787763118744, -0.029605770483613014, -0.527032196521759, 0.07037190347909927, 0.24014103412628174, 0.2504030466079712, -0.6989272832870483, -0.4259822964668274, -0.5569581389427185, 0.6066327095031738, -0.17945866286754608, 1.0809943675994873, -0.07242952287197113, -0.008977081626653671, -0.1592286229133606, -0.03381963446736336, -0.6798518300056458, -0.557168185710907, -0.5428632497787476, -0.3710697293281555, 0.5470812320709229, 0.41547155380249023, 0.6254597902297974, 0.28430989384651184, -0.14455750584602356, 0.3310917615890503, -0.021364863961935043, 0.03612125292420387, -0.268852561712265, 0.8429934978485107, -0.09622412174940109, -0.31892943382263184, -0.0008349471027031541, -0.0473768375813961, 0.42191046476364136, 0.24102485179901123, -0.1472891867160797, -0.4564080238342285, 0.22602246701717377, 0.5540313124656677, -0.538888692855835, 0.08922646939754486, -0.30870750546455383, 0.4746360778808594, 0.2860358655452728, -0.43715420365333557, -0.9192457795143127, -0.4527132511138916, 0.3582402765750885, -0.44008123874664307, 0.08171027898788452, 0.07960055023431778, 0.5437977313995361, 0.7189265489578247, -0.4653439223766327, -0.46341031789779663, -0.5266945958137512, 0.49483034014701843, -0.17116855084896088, 0.44221824407577515, 0.3173545300960541, 0.27365052700042725, 0.09203805774450302, -0.4556540250778198, -0.6272051334381104, -0.2779823839664459, -0.11893153935670853, 0.3936455547809601, -0.4779743552207947, 0.28587955236434937, 0.15331262350082397, -0.06334704905748367, -0.5014913082122803, 0.11197225004434586, 0.0746176466345787, -0.19117210805416107, 0.3609039783477783, 0.09806232899427414, 0.6068421006202698, -0.4113146662712097, -0.2510054111480713, -0.3818022906780243, -0.3145603835582733, 0.12400101870298386, 0.3184914290904999, 0.6313262581825256, -0.34483182430267334, 0.6078734397888184, 0.009737146086990833, 0.503218948841095, 0.3323732614517212, 0.36039426922798157, 0.18786993622779846, 0.22653692960739136, -0.40996095538139343, 0.41273897886276245, 0.9222725629806519, 0.45129743218421936, 0.5492208003997803, -0.20640838146209717, -0.2272765040397644, 0.3554536998271942, 0.37816664576530457, -0.7770439982414246, -0.12125365436077118, 0.3619573414325714, -0.16453954577445984, -0.09541268646717072, -0.04741751030087471, -1.0721549987792969, -0.46793434023857117, -0.5757647752761841, 0.43509137630462646, -0.5684981942176819, 0.11877861618995667, -0.12026377767324448, -0.29408207535743713, -0.024385761469602585, 0.18734386563301086, -1.0659048557281494, 0.03611548990011215, 0.42029058933258057, 0.6467024683952332, -0.02133147232234478, -0.0028220422100275755, -0.8826606869697571, -0.1028989776968956, -0.25093507766723633, 0.5983973741531372, -0.7849603295326233, -0.6107649207115173, 0.37593644857406616, -0.00010008831304730847, -0.028929350897669792, -0.31941360235214233, 0.7998781204223633, -0.4492432177066803, 0.6664184927940369, -0.06710731238126755, -0.5340059995651245, 0.04119926691055298, 0.12974566221237183, -0.48001769185066223, 0.8339398503303528, 0.10830642282962799, -0.6018944382667542, 0.03155069425702095, -0.38089966773986816, -0.5127715468406677, -0.010275362990796566, -0.00870200339704752, -0.09227508306503296, 0.11924039572477341, 0.5436350107192993, 0.526161253452301, -0.11904319375753403, 0.4374355375766754, -0.08470191806554794, -0.18960820138454437, 0.1566324084997177, -0.36870232224464417, 0.27821776270866394, 0.33072349429130554, -0.3189024329185486, 0.24751576781272888, -0.5740129947662354, -0.06558112800121307, -0.17372828722000122, -0.3085556626319885, -0.2640265226364136, -0.2450484186410904, -0.035383690148591995, 0.12318173795938492, -0.004969202447682619, -0.4119874835014343, 0.1386115998029709, -0.5257244110107422, 0.24758808314800262, 0.6791449785232544, 0.31254905462265015, 0.7367941737174988, 0.026786185801029205, 0.7433252930641174, 0.03283125162124634, -0.23289376497268677, -0.5359887480735779, -0.5474266409873962, -0.8320937752723694, -0.13148514926433563, -0.05579502880573273, 0.9101609587669373, -0.937432587146759, 0.6855773329734802, 0.14772218465805054, -0.2940896451473236, -0.7308197617530823, -0.3321596384048462, 0.2045944482088089, 0.5367985963821411, 0.4872308373451233, 0.3273346722126007, -0.5526106953620911, -0.6728543043136597, -0.20141848921775818, -0.06185856834053993, -0.3913753926753998, 0.37254032492637634, -0.024469543248414993, -0.21319086849689484, 1.058273196220398, -0.2946329414844513, 0.03633219748735428, -0.0799134150147438, 0.3715222477912903, 0.3283115029335022, 0.5418000221252441, 0.2783723473548889, -0.7126700282096863, -0.62372225522995, -0.14154785871505737, -0.6656452417373657, -0.4555651545524597, -0.30163562297821045, -0.250895619392395, 0.029380321502685547, 0.5657014846801758, -0.7844858765602112, 0.30508488416671753, 0.49966832995414734, -0.46373575925827026, 0.31821757555007935, -0.24790649116039276, 0.3833390474319458, -1.1262367963790894, -0.11127214878797531, 0.09169135987758636, -0.06812144815921783, -0.8265945315361023, -0.6062412261962891, -0.015233770944178104, -0.5006255507469177, -0.2621745467185974, 0.5918709635734558, -0.07913578301668167, 0.3878142535686493, -0.22889678180217743, 0.3001510500907898, 0.11130309849977493, 0.6429699063301086, 0.05405377969145775, 0.6115758419036865, 0.7816135287284851, -0.8297135829925537, 0.6162019968032837, 0.7110884189605713, 0.14039085805416107, 1.1329375505447388, -0.9593507647514343, 0.22227726876735687, -0.6134636998176575, 0.448822021484375, -0.7661349773406982, -0.44891875982284546, 0.5037148594856262, -0.6175305843353271, 0.2800585627555847, -0.015088384971022606, -0.1482975333929062, -0.28612175583839417, 0.05158596858382225, 0.015123171731829643, 0.8586483001708984, -0.7260385155677795, 0.9223082065582275, -0.10864080488681793, -0.6746214032173157, -0.21562576293945312, -0.66629558801651, 0.2767581641674042, -0.2035873979330063, -0.5245537161827087, 0.47696414589881897, -0.2622576355934143, -0.07786440849304199, -0.01432693563401699, 0.4372464418411255, 0.11661650240421295, -0.17074565589427948, 0.5431085824966431, 0.16681566834449768, 0.06168029457330704, 0.6341233253479004, 0.4947112798690796, -0.3411436676979065, 0.1443461775779724, -0.1690281629562378, 0.47323867678642273, 0.20089882612228394, -0.3635213375091553, -0.8339094519615173, 0.7299821376800537, 0.5575376152992249, -0.24677345156669617, 0.6098664402961731, 0.5107975602149963, -0.43443822860717773, -0.5107572078704834, -0.0909716933965683, -0.3861137330532074, -0.5152592658996582, 0.11344046145677567, -0.3196946680545807, -1.0773136615753174, 0.3273313045501709, 0.08757264167070389, -0.2917359173297882, 0.38742923736572266, 0.8054670691490173, -0.07269395142793655, 1.3108769655227661, 0.39090514183044434, -0.054726243019104004, 0.6261235475540161, 0.29266390204429626, 0.3350074291229248, -0.4725208580493927, -0.42540243268013, -0.8011903166770935, -0.36853912472724915, -0.6226277351379395, -0.2749338746070862, 0.26025575399398804, -0.14713136851787567, -0.48402443528175354, -0.0683211088180542, -0.725990891456604, 0.16284552216529846, 0.5197292566299438, 0.18376024067401886, -0.3123469650745392, -0.1492522954940796, -0.22968555986881256, -0.1689707189798355, -0.4156522750854492, -0.5375456809997559, 0.32187530398368835, 0.31358522176742554, 0.5124293565750122, -0.09129950404167175, 0.6903756260871887, 0.47139522433280945, 0.2542474865913391, -0.8485239148139954, 0.26162099838256836, 0.04042206332087517, -0.2694872319698334, -0.13362137973308563, -0.5059989094734192, -0.8089644908905029, -0.11922405660152435, -0.2129209190607071, -0.8751139640808105, 0.3266043961048126, 0.2546486258506775, -0.46095845103263855, -0.10657408088445663, -0.9053534269332886, 0.585169792175293, 0.01626085489988327, -0.09878309816122055, -0.06707851588726044, -0.7505548596382141, 0.012404538691043854, 0.20271681249141693, -0.05759834870696068, -0.12269449979066849, 0.17534491419792175, 0.5379434823989868, -0.31733807921409607, 0.886442244052887, -0.40009284019470215, 0.03611643239855766, 0.31079596281051636, 0.12526866793632507, 0.7304625511169434, 0.029970910400152206, -0.4157788157463074, -0.6187661290168762, -0.5860525369644165, -0.1771366149187088, -0.897826075553894, 0.5145440697669983, -0.6708876490592957, -0.48675113916397095, -0.13474003970623016, -0.2517988681793213, -0.5492081642150879, -0.20775125920772552, 0.52090984582901, 0.5241812467575073, -0.3201461732387543, 0.07713353633880615, 0.7937454581260681, -0.6276761293411255, 0.4928615689277649, 0.047634631395339966, -0.029628245159983635, -0.7630819082260132, 0.7861458659172058, -0.46265119314193726, 0.04482252895832062, 0.3889625370502472, 0.28813982009887695, -0.48660972714424133, 0.15660600364208221, -0.5890885591506958, -0.04348346218466759, -0.756267249584198, -0.28653502464294434, -0.927282989025116, -0.015561074949800968, -0.39076265692710876, -0.5401476621627808, -0.013357890769839287, 0.02254348248243332, -0.9318868517875671, -0.42643284797668457, 0.6533040404319763, 0.7144148349761963, 0.09240290522575378, 0.45852506160736084, -1.0930657386779785, 0.29573071002960205, 0.6058960556983948, 0.4626237154006958, 0.008599272929131985, -0.6520882248878479, -0.01710478775203228, -0.08267876505851746, -0.12322875112295151, -1.122768759727478, 0.6662799715995789, 0.35790735483169556, 0.3434619605541229, 0.4245595335960388, 0.5270059704780579, 0.29761967062950134, -0.5595061779022217, 0.973953902721405, 0.3670397400856018, -1.2449625730514526, 0.8764172792434692, -0.24894817173480988, 0.4134604036808014, 0.378215491771698, 0.45600664615631104, -0.8405523896217346, -0.5216335654258728, -0.4547564387321472, -0.7236396074295044, 0.7430517077445984, 0.011206230148673058, 0.6001389622688293, -0.18888628482818604, 0.12996923923492432, 0.0017156593967229128, 0.027117356657981873, -0.39330726861953735, -0.19186049699783325, -0.5786467790603638, -0.5761146545410156, -0.02402493730187416, -0.358440637588501, -0.07476742565631866, 0.01789076440036297, 0.6455353498458862, -0.1668047308921814, 0.4397032558917999, 0.28402599692344666, 0.02921118400990963, -0.10621029138565063, 0.506181001663208, 0.3778255581855774, -0.3460336923599243, -0.005571669898927212, 0.29993951320648193, 0.0823209285736084, 0.09851208329200745, 0.4241233766078949, 0.1997283697128296, -0.08941978216171265, 0.2124103158712387, 0.173950657248497, 1.4429007768630981, 0.20970523357391357, -0.5518313646316528, 0.39344435930252075, -0.17989933490753174, -0.10866552591323853, 0.27164703607559204, 0.03234749659895897, 0.09825132042169571, 0.25912898778915405, 0.3249240815639496, 0.0752987265586853, 0.007448726333677769, -0.17611803114414215, 0.25610390305519104, -0.08111623674631119, -0.8310707807540894, -0.4605266749858856, 0.6447940468788147, 0.5776334404945374, -0.6968756318092346, 0.7671025991439819, -0.2854173481464386, -0.9402452111244202, 0.22646792232990265, 0.6158732175827026, 1.2263962030410767, -0.5286757946014404, 0.3478907644748688, 0.43569523096084595, 0.04417724534869194, 0.2554190456867218, 0.42676079273223877, -0.22449679672718048, -0.5756984949111938, -0.17628644406795502, -0.5114649534225464, -0.66610187292099, -0.6387783885002136, -0.6039139628410339, 0.25209662318229675, -0.3022739887237549, -0.258907288312912, -0.4128897488117218, -0.6497564315795898, -0.647520899772644, 0.4867751896381378, 0.45926931500434875, 0.8538835048675537, -1.1479307413101196, 0.44899335503578186, 0.6079153418540955, -0.15265925228595734, -0.9176577925682068, -0.2292754352092743, -0.04903271794319153, -0.48992612957954407, 0.5372559428215027, 0.4286586344242096, 0.047495000064373016, 0.1529453545808792, -0.48770618438720703, -0.24484604597091675, 0.5555710196495056, 0.5647237300872803, -0.45701050758361816, 0.27175647020339966, -0.014901743270456791, 0.6494211554527283, -0.30911386013031006, 0.2829136848449707, 0.44783124327659607, 0.6969209313392639, 0.26514995098114014, -0.4855976402759552, -0.05784379690885544, -0.49906808137893677, -0.16423745453357697, 0.1365053504705429, -0.17314952611923218, 0.5293886065483093, -0.07321730256080627, -0.45578810572624207, -0.07745631039142609, 0.9991589784622192, 0.13847090303897858, 0.283823162317276, 0.6214461922645569, 0.4948505759239197, 0.9888983964920044, -0.3227463364601135, 0.98573237657547, -0.3779540956020355, 0.10010262578725815, 0.7872409224510193, -0.22340907156467438, 0.7420087456703186, 0.5190165042877197, 0.02453339844942093, 0.6170790791511536, 0.70334792137146, 0.1324005424976349, 0.6063584685325623, 0.2142203152179718, -0.7557037472724915, -0.24333202838897705, -0.7137816548347473, -0.22019751369953156, 0.17775855958461761, 0.34948164224624634, -0.46006813645362854, 0.01121294405311346, 0.45792752504348755, -0.03404444828629494, 0.1896253377199173, 0.03136010095477104, 0.8177698850631714, 0.22234371304512024, -1.0197778940200806, 0.32129424810409546, -0.31021785736083984, 0.6776536107063293, -0.5601010322570801, 0.1087828278541565, -0.32221171259880066, -0.28558865189552307, -0.09078443795442581, -0.6970149278640747, 0.12476273626089096, 0.3453074097633362, -0.2666434049606323, -0.7395197153091431, 0.47926247119903564, -0.7699492573738098, -0.1608603298664093, 0.27541664242744446, 0.24718768894672394, -0.11064424365758896, -0.21809159219264984, -0.21946534514427185, 0.19127000868320465, 0.06305009871721268, -0.5257552266120911, -0.09922201186418533, 0.9437260627746582, 0.3765133321285248, 0.4787417948246002, 0.3674737215042114, -0.26256847381591797, -0.21202346682548523, 0.4692307412624359, 0.9114561080932617, -0.675141453742981, -0.7616772651672363, -0.9791088700294495, 0.8479348421096802, 0.15340940654277802, -0.3813706338405609, 0.3310961127281189, -0.02791402116417885, -0.1248137578368187, -0.13005943596363068, 0.8756252527236938, -0.05061967670917511, 0.28154000639915466, -0.5015051364898682, 0.6172751784324646, -0.27541080117225647, -0.23708420991897583, -0.24056634306907654, -0.775380551815033, -0.2521674335002899, 0.34383535385131836, 0.1397990584373474, -0.02810983918607235, 0.3854398727416992, 0.6490938663482666, 0.38077226281166077, 0.3399423360824585, 0.36454153060913086, -0.012844307348132133, 0.47515738010406494, 0.5347956418991089, 0.982261061668396, 0.04251351207494736, 0.28639358282089233, -0.06077578663825989, -0.35479167103767395, -0.37992459535598755, -1.0570597648620605, -0.5897678136825562, -0.6969003081321716, -0.2711068391799927, -0.3391405940055847, -0.027586905285716057, 1.2808587551116943, 0.4298933744430542, -0.8656545877456665, 0.3850615918636322, -0.05532325059175491, 0.12748749554157257, 0.2605701982975006, -0.21422691643238068, 0.165236696600914, -0.6000115275382996, -0.8703161478042603, 0.5956554412841797, 0.4035452902317047, 0.38364413380622864, -0.07704787701368332, -0.3991212844848633, 0.2929932773113251, 0.2969570457935333, 0.548226535320282, 0.024869196116924286, -0.5442613363265991, -0.4382355213165283, 0.15618844330310822, -0.2482329159975052, -0.012370357289910316, 0.7176644206047058, -0.9554799795150757, 0.8349703550338745, 0.6699076890945435, 0.8407568335533142, 0.13028274476528168, 0.14237119257450104, 1.0091803073883057, -1.0038259029388428, 0.12391944229602814, 0.46857884526252747, 0.3401119112968445, 0.6228685975074768, -0.41187572479248047, -0.006253467872738838, 0.012965245172381401, -0.6112317442893982, -0.5125245451927185, 0.18184830248355865, -0.9803736805915833, 0.16647422313690186, 0.912842869758606, -0.18672509491443634, 0.056715838611125946, 0.22490432858467102, -0.6073691248893738, 0.7750856876373291, -0.753821849822998, 0.661712646484375, 0.621966540813446, -0.05232277512550354, -0.2864435911178589, -0.024840909987688065, 0.4808453917503357, 0.6387115120887756, -0.9755863547325134, 0.2352699637413025, 0.558294415473938, -0.49875301122665405, 0.0648983046412468, 0.08942130208015442, 0.4130455255508423, 0.21495406329631805, -0.11214713007211685, 0.33582329750061035, 0.21403998136520386, -0.37340012192726135, -0.6770404577255249, 0.28695011138916016, -0.2948421537876129, -0.12229916453361511 ]
http://arxiv.org/abs/2406.06403v1
http://arxiv.org/pdf/2406.06403v1
Meta Learning Text-to-Speech Synthesis in over 7000 Languages
2024-06-10T15:56:52
2024-06-10T15:56:52
Florian Lux, Sarina Meyer, Lyonel Behringer, Frank Zalkow, Phat Do, Matt Coler, Emanuël A. P. Habets, Ngoc Thang Vu
cs.CL
cs.CL, cs.LG, cs.SD, eess.AS
In this work, we take on the challenging task of building a single text-to-speech synthesis system that is capable of generating speech in over 7000 languages, many of which lack sufficient data for traditional TTS development. By leveraging a novel integration of massively multilingual pretraining and meta learning to approximate language representations, our approach enables zero-shot speech synthesis in languages without any available data. We validate our system's performance through objective measures and human evaluation across a diverse linguistic landscape. By releasing our code and models publicly, we aim to empower communities with limited linguistic resources and foster further innovation in the field of speech technology.
[ -0.44903090596199036, -0.46003541350364685, 0.4171654284000397, 0.1740068793296814, -0.19938308000564575, 0.23240721225738525, -0.20340698957443237, -0.23942312598228455, 0.35035067796707153, 0.36724409461021423, -0.7676792144775391, -0.525992751121521, -0.30666759610176086, 0.41378146409988403, -0.32529962062835693, 1.0669416189193726, 0.3835527002811432, 0.01627890020608902, 0.21842694282531738, -0.0637693703174591, -0.37013959884643555, -0.5689401626586914, -0.3804423213005066, -0.01137568149715662, 0.6075443029403687, 0.5256147384643555, 0.21306166052818298, 0.3285064995288849, -0.13266584277153015, 0.2419019341468811, 0.1983344703912735, -0.022119535133242607, -0.4938681423664093, -0.037613049149513245, -0.14954397082328796, -0.005136447958648205, -0.5998841524124146, -0.09258124977350235, 0.8421039581298828, 0.6221744418144226, 0.16132652759552002, 0.6229006052017212, 0.19596803188323975, 0.4495028853416443, -0.8831334710121155, 0.06843170523643494, -0.7416263818740845, 0.12740477919578552, -0.4908238351345062, 0.017998529598116875, -0.6192724108695984, -0.26885294914245605, 0.20831088721752167, -0.4713214039802551, 0.151970773935318, -0.43833449482917786, 0.04792644456028938, 0.10971152037382126, -0.4783228933811188, -0.11730245500802994, -1.0068789720535278, 0.6302831768989563, -0.6341322064399719, 0.5429192781448364, 0.08708813786506653, 0.41798684000968933, 0.2739369571208954, -0.883452832698822, -0.6709142327308655, -0.05630843713879585, 0.2220836877822876, 0.20176167786121368, 0.06051081046462059, 0.04161189869046211, -0.011877399869263172, -0.07469232380390167, -0.6642430424690247, -0.3753252327442169, -0.550797700881958, -0.22268545627593994, 0.5356847643852234, -0.07644538581371307, 0.1955575793981552, -0.32870256900787354, -0.05040184408426285, -0.16957078874111176, -0.5897943377494812, -0.3511807322502136, 0.2996026277542114, 0.6350017786026001, 0.1497172862291336, 0.608910858631134, 0.03842198848724365, 0.829397439956665, -0.21050497889518738, -0.14992152154445648, 0.42037665843963623, -0.3879217207431793, -0.48348018527030945, 0.3155672550201416, 1.1494334936141968, -0.09561242908239365, 0.04156983271241188, -0.318807989358902, 0.08436638116836548, -0.021533388644456863, 0.2851540446281433, -0.5520570278167725, 0.39984071254730225, 0.03842621296644211, -0.06010623276233673, -0.14298520982265472, 0.01031450368463993, -0.9000539183616638, 0.026778817176818848, -0.1186637133359909, 0.5796012878417969, -0.30901026725769043, -0.604631781578064, 0.0971275046467781, -0.1011890098452568, 0.04012209177017212, -0.11153005808591843, -0.8971855640411377, 0.028569044545292854, 0.30942949652671814, 0.7007648348808289, 0.1484283208847046, -0.6307809352874756, -0.5143741369247437, 0.5134972929954529, -0.6336319446563721, 0.5468025207519531, -0.490750789642334, -0.6840386390686035, 0.009184901602566242, -0.09239789098501205, -0.10525816679000854, -0.4698103964328766, 0.35794562101364136, -0.1598382294178009, 0.1331382393836975, -0.11637044697999954, -0.212039515376091, -0.10705439746379852, -0.10322625935077667, -0.6243199706077576, 0.9032009243965149, 0.07349329441785812, -0.20449019968509674, 0.26031824946403503, -0.8286980986595154, -0.6543061137199402, 0.13980165123939514, -0.06490013003349304, -0.10051672160625458, 0.4078370928764343, 0.05650711804628372, 0.28618088364601135, -0.26183021068573, 0.4151391386985779, -0.02396794594824314, -0.17795111238956451, 0.0403909906744957, -0.5186437368392944, 0.46105390787124634, 0.5235044360160828, -0.5065889358520508, 0.1039901152253151, -0.8933321833610535, 0.31863632798194885, -0.05026181787252426, -0.2876488268375397, 0.028489332646131516, -0.1265079379081726, 0.3284573554992676, 0.38796454668045044, 0.11977292597293854, -0.5283401608467102, 0.03795074671506882, -0.6524196267127991, 0.665998637676239, 0.25873470306396484, -0.16154256463050842, 0.4052163362503052, 0.009484007023274899, 0.583263099193573, -0.43093836307525635, 0.05452386662364006, -0.40966078639030457, -0.5189077854156494, -0.6062807440757751, -0.05986032634973526, 0.583436131477356, 0.6356076598167419, -0.9355677962303162, 0.45400819182395935, -0.4898052215576172, -0.37439095973968506, -0.8786095380783081, 0.049417681992053986, 0.5179300904273987, 0.4686177372932434, 0.4422488808631897, -0.054214008152484894, -0.777972400188446, -0.620437741279602, -0.32957082986831665, 0.009243438020348549, -0.317484974861145, -0.09682866930961609, 0.3135108947753906, -0.33473122119903564, 0.9220225214958191, -0.1474907249212265, -0.504059374332428, -0.41028618812561035, 0.12307695299386978, 0.12904849648475647, 0.32549309730529785, 0.48745718598365784, -0.3746606707572937, -0.6607751846313477, 0.0895773246884346, -0.5977813005447388, -0.009643972851336002, 0.06022217497229576, 0.1531207412481308, 0.21099159121513367, 0.7762818932533264, -0.35422253608703613, 0.3399665355682373, 0.7407688498497009, 0.16373538970947266, 0.36209943890571594, -0.1852836012840271, 0.1724618673324585, -1.3079508543014526, 0.5754237174987793, -0.36664286255836487, -0.3176291286945343, -0.8710864186286926, -0.05234774202108383, -0.1400901973247528, -0.7449166178703308, -0.8243166208267212, 0.4823698103427887, -0.287058562040329, -0.12170533835887909, -0.27262115478515625, 0.09749946743249893, -0.4442768096923828, 0.5609390139579773, 0.3020135164260864, 0.7276260256767273, 0.6195672154426575, -0.694896399974823, 0.2902427911758423, 0.13691078126430511, -0.303836464881897, 0.39075636863708496, -0.7686355710029602, 0.138823002576828, -0.07438034564256668, 0.42090028524398804, -0.9039555191993713, -0.3672608435153961, 0.15288467705249786, -0.6720352172851562, 0.12405326217412949, -0.1567937433719635, -0.4016721844673157, -0.3394015431404114, 0.0036868895404040813, 0.637484610080719, 0.48781245946884155, -0.18788519501686096, 0.6812067031860352, 0.4894433915615082, -0.28273269534111023, -0.48018476366996765, -0.8290369510650635, 0.452796995639801, 0.09127423912286758, -0.3220537006855011, 0.2153196781873703, -0.1205468401312828, 0.3056645095348358, 0.029221102595329285, 0.041286446154117584, -0.08317309617996216, -0.37217235565185547, 0.05567612498998642, -0.11039330810308456, 0.0061594536527991295, 0.3106882870197296, 0.12228215485811234, -0.5514450669288635, -0.17543956637382507, -0.6551193594932556, 0.6531460881233215, 0.18629030883312225, -0.49416273832321167, -0.4147765636444092, 0.4818919897079468, 0.7687724232673645, -0.25622397661209106, 0.5120000839233398, 0.5541743636131287, -0.3411394953727722, -0.3203962445259094, -0.3507669270038605, 0.1601569801568985, -0.4906400144100189, 0.46419602632522583, -0.42811521887779236, -0.7775379419326782, 0.3076765239238739, -0.20077945291996002, 0.06315957009792328, 0.8424693942070007, 0.5196039080619812, 0.23212715983390808, 0.9213361144065857, 0.5473452210426331, -0.0708414763212204, 0.3943020701408386, -0.07655230164527893, 0.08565571904182434, -0.5019215941429138, -0.23918035626411438, -0.44914576411247253, -0.13131394982337952, -0.5441001653671265, -0.49723631143569946, 0.842076301574707, -0.4603845179080963, -0.22869032621383667, 0.43061307072639465, -0.6316192746162415, 0.5741148591041565, 0.7838812470436096, 0.05887162312865257, 0.1775224804878235, 0.09068778902292252, -0.20876991748809814, -0.08868087083101273, -0.6751006841659546, -0.3784579038619995, 1.3644036054611206, -0.02667616866528988, 0.33965080976486206, 0.02682926133275032, 0.7819167971611023, 0.11516252905130386, 0.14369730651378632, -0.6683597564697266, 0.48180532455444336, -0.36534029245376587, -0.9351077675819397, -0.5939467549324036, -0.5347650051116943, -0.7848807573318481, -0.0007899003103375435, -0.38504403829574585, -0.263529896736145, -0.2677052319049835, 0.15685059130191803, -0.40801841020584106, 0.28485703468322754, -0.8490908741950989, 0.8591089248657227, -0.10628817230463028, -0.12393559515476227, -0.23004843294620514, -0.9444190263748169, 0.2123243659734726, -0.37495067715644836, 0.470613956451416, 0.2914596498012543, 0.13233135640621185, 0.7743757367134094, -0.23561817407608032, 0.9782537221908569, -0.03887663036584854, -0.11556506901979446, 0.5366926789283752, 0.03787486255168915, -0.016481151804327965, -0.06325390189886093, -0.04980883002281189, 0.1661009043455124, -0.10556093603372574, -0.21430175006389618, -0.23871728777885437, 0.4117635190486908, -0.4578379690647125, -0.32316693663597107, -0.3593534529209137, -0.2559575140476227, -0.5065428018569946, 0.4701812267303467, 0.5749207735061646, 0.3647231161594391, -0.6366371512413025, 0.19542106986045837, 0.6100033521652222, -0.4762983024120331, 0.6179274916648865, 0.4761658310890198, -0.2942140996456146, -0.9964784979820251, 1.1154917478561401, 0.28818732500076294, 0.36093252897262573, 0.5517289042472839, 0.056445442140102386, -0.3046412467956543, -0.31785154342651367, -0.8507543206214905, 0.3524249196052551, -0.5267886519432068, -0.10997477173805237, -0.5429269671440125, -0.3585212826728821, -0.8209211230278015, -0.022853469476103783, -0.7065244913101196, -0.40495598316192627, -0.2770075798034668, -0.2239813208580017, -0.20113910734653473, 1.1005674600601196, -0.22901864349842072, 0.3804072141647339, -1.2002938985824585, 0.5508963465690613, 0.6893013715744019, 0.4027548134326935, -0.007029534783214331, -0.4085353910923004, -0.2922954559326172, 0.30373790860176086, -0.3629460334777832, -0.9646814465522766, 0.39959636330604553, 0.5349486470222473, 0.511998176574707, 0.1829967051744461, -0.08989651501178741, 0.6930228471755981, -1.181943416595459, 0.9090152382850647, 0.5144616365432739, -1.5334371328353882, 0.7347273230552673, -0.18303821980953217, 0.6555480360984802, 0.49658966064453125, 0.37704983353614807, -0.6816353797912598, -0.29106393456459045, -0.5172026753425598, -0.6814604997634888, 0.7286096811294556, 0.19572626054286957, 0.27705228328704834, 0.034588370472192764, 0.30642324686050415, 0.15058255195617676, 0.2768208086490631, -0.7298163771629333, -0.3173922598361969, -0.4222027361392975, -0.23503953218460083, -0.71910160779953, -0.1898115873336792, -0.14325487613677979, -0.26557934284210205, 0.6693097949028015, -0.1685863435268402, 0.22963902354240417, 0.032976988703012466, -0.054356999695301056, -0.14209504425525665, 0.34158560633659363, 0.9445788264274597, 0.6171926856040955, -0.008749761618673801, 0.08269349485635757, 0.3413810431957245, -0.48482561111450195, 0.2866269052028656, -0.07962993532419205, -0.06509804725646973, 0.2738264799118042, 0.4481734335422516, 0.8770185708999634, 0.3363848924636841, -0.6057933568954468, 0.3950828015804291, 0.1868140995502472, -0.5970871448516846, -0.11889041215181351, -0.06885317713022232, 0.22475296258926392, -0.038347091525793076, 0.6553525924682617, 0.10096032917499542, -0.01449622306972742, -0.6458305716514587, 0.3606846034526825, 0.40590333938598633, -0.4083839952945709, -0.6688544154167175, 0.9177857637405396, 0.3900393545627594, -0.28409698605537415, 0.232937291264534, -0.17035996913909912, -0.3787699043750763, 0.20423045754432678, 0.5419250726699829, 1.249869704246521, -0.6738131642341614, 0.47157391905784607, 0.6337190866470337, 0.5070927739143372, -0.10955961048603058, 0.17820903658866882, -0.06398054212331772, -0.16513855755329132, -0.7380626201629639, -0.714625358581543, -0.42412424087524414, 0.07066939026117325, -0.3972224295139313, 0.506699800491333, -0.28047487139701843, -0.2394724190235138, -0.05217958614230156, -0.48054271936416626, -0.4263918995857239, 0.3030969798564911, 0.34007567167282104, 0.5835959315299988, -1.037516474723816, 0.8933162093162537, 0.47577160596847534, -0.29981619119644165, -0.4696832001209259, -0.16439929604530334, -0.14533253014087677, -0.6631667613983154, 0.490241140127182, 0.017279623076319695, -0.2522651255130768, 0.3040301203727722, -0.3878687620162964, -0.7759920358657837, 0.7375684976577759, 0.8948448896408081, -0.5361273288726807, -0.19926953315734863, 0.6905527114868164, 0.6653276681900024, -0.35470181703567505, 0.025195559486746788, 0.25592517852783203, 0.48128142952919006, 0.4495810568332672, -1.3570921421051025, -0.3925110399723053, 0.07054819166660309, -0.12872414290905, 0.09808389097452164, -0.4938943088054657, 0.5545228719711304, -0.08327044546604156, -0.5058255791664124, -0.23351828753948212, 0.4692709147930145, -0.1357010006904602, 0.38400334119796753, 0.16806437075138092, 0.5521167516708374, 0.4327734410762787, 0.09680929034948349, 0.5910307168960571, -0.1623620092868805, 0.30489087104797363, 1.1155611276626587, -0.25099343061447144, 0.866769552230835, 0.28248757123947144, -0.22892838716506958, 0.2260221242904663, 0.36740830540657043, 0.4909054636955261, 0.6552525758743286, -0.02678133361041546, -0.6106683611869812, -0.3183935880661011, 0.008047904819250107, -0.5991297960281372, 0.5263071060180664, 0.4076331555843353, -0.2630615234375, -0.27188482880592346, 0.411675363779068, -0.2659609913825989, -0.1942891627550125, -0.1719953864812851, 0.9465946555137634, -0.057514965534210205, -0.6621847152709961, 0.7129531502723694, -0.25297486782073975, 0.4606306850910187, -0.8862141966819763, 0.002809339202940464, 0.13316631317138672, -0.020137125626206398, -0.11576532572507858, -0.5459316968917847, 0.6068809628486633, 0.040141742676496506, -0.060795679688453674, -0.36986684799194336, 0.376577764749527, -0.7250360250473022, -0.5978888273239136, 0.2534872591495514, 0.738285481929779, 0.056688934564590454, -0.22137059271335602, -0.38707709312438965, 0.056019723415374756, 0.17765063047409058, -0.009027603082358837, 0.27473685145378113, 0.4560379385948181, 0.3141501247882843, 0.43485429883003235, 0.5540234446525574, 0.11185094714164734, 0.22088877856731415, -0.14139635860919952, 0.6196231842041016, -0.7552368640899658, -0.4495110511779785, -0.8357844352722168, 0.5863120555877686, 0.37703371047973633, -0.28147849440574646, 0.7582931518554688, 0.5544469952583313, 0.9298239946365356, -0.4315308928489685, 1.2844038009643555, -0.24914228916168213, 0.572501003742218, -0.27512675523757935, 0.6190987229347229, -0.5189821124076843, -0.11683493852615356, -0.5572069883346558, -1.1226043701171875, -0.4271736443042755, 0.25827401876449585, 0.15161757171154022, -0.0956924706697464, 0.6137322187423706, 0.46953392028808594, 0.04919249936938286, -0.14494185149669647, 0.7196869254112244, -0.07755525410175323, 0.24265599250793457, 0.5859264731407166, 0.49135836958885193, -0.6365804076194763, 0.9317877292633057, 0.1429281085729599, -0.28259941935539246, 0.04007524251937866, -0.9791029095649719, -0.5941377282142639, -0.864210307598114, -0.06889747083187103, -0.20575787127017975, -0.16766174137592316, 0.7675272822380066, 0.8368764519691467, -0.9136688709259033, -0.4739409387111664, -0.05328444391489029, 0.03970368579030037, -0.15678095817565918, -0.12927697598934174, 0.14268630743026733, -0.38349592685699463, -1.0432456731796265, 0.7203343510627747, 0.32028862833976746, 0.007417948450893164, -0.2995207905769348, -0.10250648111104965, -0.10801689326763153, 0.16277708113193512, 0.8032976984977722, 0.580073356628418, -0.39260134100914, -0.019909033551812172, 0.09480192512273788, 0.1779593527317047, -0.21140073239803314, 0.9840905666351318, -0.8010326027870178, 0.8534468412399292, 0.5307140946388245, 0.627049446105957, 0.5832164883613586, -0.40380582213401794, 0.6311376690864563, -1.0003528594970703, 0.2384352833032608, 0.2566017508506775, -0.04899241030216217, 0.04535821080207825, 0.19994759559631348, 0.36884814500808716, 0.2880009412765503, -0.48321595788002014, -0.7947304248809814, 0.3246724009513855, -0.8007991909980774, -0.20125868916511536, 0.9945738315582275, 0.238973468542099, -0.0651620551943779, 0.012121212668716908, -0.19726242125034332, 0.5473705530166626, -0.16592375934123993, 0.5253469944000244, 0.5508595705032349, 0.10666225105524063, 0.004572086967527866, -0.6082780361175537, 0.6585077047348022, 0.10156790912151337, -0.6643776297569275, 0.11032011359930038, 0.4899067282676697, 0.2687914967536926, 0.47180700302124023, 0.7564222812652588, -0.03324049711227417, 0.2946237027645111, -0.0207135621458292, 0.3159291744232178, 0.13872362673282623, -0.6202256679534912, -0.3483127951622009, 0.3347485065460205, -0.2626323699951172, -0.2397768199443817 ]
http://arxiv.org/abs/2406.06401v1
http://arxiv.org/pdf/2406.06401v1
INTERSPEECH 2009 Emotion Challenge Revisited: Benchmarking 15 Years of Progress in Speech Emotion Recognition
2024-06-10T15:55:06
2024-06-10T15:55:06
Andreas Triantafyllopoulos, Anton Batliner, Simon Rampp, Manuel Milling, Björn Schuller
cs.CL
cs.CL
We revisit the INTERSPEECH 2009 Emotion Challenge -- the first ever speech emotion recognition (SER) challenge -- and evaluate a series of deep learning models that are representative of the major advances in SER research in the time since then. We start by training each model using a fixed set of hyperparameters, and further fine-tune the best-performing models of that initial setup with a grid search. Results are always reported on the official test set with a separate validation set only used for early stopping. Most models score below or close to the official baseline, while they marginally outperform the original challenge winners after hyperparameter tuning. Our work illustrates that, despite recent progress, FAU-AIBO remains a very challenging benchmark. An interesting corollary is that newer methods do not consistently outperform older ones, showing that progress towards `solving' SER is not necessarily monotonic.
[ -0.6369813680648804, -0.1317395567893982, 0.29159101843833923, 0.15889783203601837, -0.1328635811805725, 0.14842113852500916, -0.0390397273004055, -0.5442013144493103, -0.016733162105083466, 0.11870495229959488, -0.8134956359863281, -0.1466439813375473, -0.7650517821311951, 0.25400182604789734, -0.44606223702430725, 0.7455818057060242, 0.03061993420124054, 0.16446416079998016, -0.20817069709300995, -0.319252073764801, 0.03042142279446125, -0.5131857395172119, -0.6749560236930847, -0.31831982731819153, 0.46627190709114075, 0.4647890627384186, 0.08290612697601318, 0.09312858432531357, 0.702017605304718, 0.2751772999763489, -0.39650943875312805, 0.19086307287216187, -0.35291147232055664, 0.22389759123325348, 0.13949230313301086, -0.021535297855734825, -0.28502964973449707, 0.19931560754776, 0.6910555958747864, 0.6152480244636536, -0.1291186660528183, 0.11845768243074417, 0.07758545130491257, 0.9700567126274109, -0.7147824764251709, 0.1107058972120285, -0.6437980532646179, 0.30467939376831055, -0.12284190207719803, -0.060345303267240524, -0.48844581842422485, -0.27582481503486633, 0.26529738306999207, -0.15878906846046448, 0.2760772407054901, 0.10222626477479935, 0.9970683455467224, 0.2784958481788635, -0.5007295608520508, -0.28934571146965027, -0.7289215326309204, 0.5269588232040405, -0.8145255446434021, 0.4821993410587311, 0.3420417308807373, 0.34449994564056396, -0.2785910367965698, -0.8130698204040527, -0.5071231722831726, -0.6436781883239746, 0.5190083384513855, 0.11785673350095749, -0.6743290424346924, 0.049546197056770325, 0.46571484208106995, 0.505693256855011, -0.4854392111301422, 0.30305778980255127, -0.1313147246837616, -0.21147684752941132, 0.7381123900413513, 0.19908609986305237, -0.028419332578778267, 0.19341479241847992, -0.3575415015220642, -0.392436683177948, -0.46127742528915405, 0.34667107462882996, 0.30395838618278503, 0.42340320348739624, -0.062048569321632385, 0.31676971912384033, -0.36878347396850586, 0.06747422367334366, 0.20969101786613464, 0.32283201813697815, 0.37925010919570923, 0.1609012335538864, -0.09530380368232727, 0.25675150752067566, 0.6756068468093872, 0.17859552800655365, 0.24261188507080078, 0.039359696209430695, -0.2419046312570572, -0.036929816007614136, 0.2413395792245865, -0.6847044825553894, -0.1818198263645172, 0.17429119348526, -0.5308966636657715, 0.021292006596922874, -0.22316627204418182, -0.8115838766098022, -0.6914124488830566, -0.31077444553375244, 0.3695100247859955, -0.24960960447788239, -0.2125176638364792, -0.050512198358774185, 0.19267714023590088, 0.314515084028244, 0.5434521436691284, -0.6517676115036011, 0.5393229722976685, 0.8692924976348877, 0.840550422668457, 0.03802202641963959, -0.29278749227523804, -0.7075194120407104, -0.6245377659797668, -0.3090723156929016, 0.632213830947876, -0.47388795018196106, -0.5229977965354919, -0.1707751303911209, -0.019147144630551338, 0.2651197910308838, -0.7302152514457703, 0.7080705165863037, -0.24691234529018402, -0.10676614195108414, -0.4918060600757599, -0.9185943603515625, -0.07966024428606033, 0.015588363632559776, -0.5481019020080566, 1.0295019149780273, -0.08511295169591904, -0.4270502030849457, 0.32371148467063904, -0.33180689811706543, -0.17334461212158203, -0.005701977293938398, -0.06024159863591194, -0.6959286332130432, 0.5480129718780518, 0.0017602432053536177, 0.24182502925395966, -0.5684382319450378, -0.10570231080055237, -0.6661516427993774, -0.328754186630249, 0.13923054933547974, -0.3657084107398987, 0.5937061309814453, 0.2285279482603073, -0.49946993589401245, -0.1037827804684639, -1.097001552581787, -0.003407339798286557, 0.13671845197677612, 0.030530868098139763, -0.08123607933521271, 0.04692836478352547, -0.19187818467617035, 0.20891103148460388, 0.022961461916565895, -0.8709375262260437, 0.05830052122473717, -0.08574949204921722, 0.43347424268722534, 0.756820559501648, -0.2597813606262207, -0.051520127803087234, 0.10632416605949402, 0.4360734820365906, 0.14405220746994019, 0.255371630191803, -0.002212259452790022, -0.30535975098609924, -0.823824405670166, 0.060425106436014175, 0.46000227332115173, 0.4568706750869751, 0.038626257330179214, 0.38884231448173523, 0.15240618586540222, -0.8724920749664307, -0.7731108069419861, -0.4567156732082367, 0.27864569425582886, 0.7587747573852539, 0.44946616888046265, -0.533794105052948, -0.5815653204917908, -0.8440836668014526, -0.1343357264995575, -0.21375495195388794, 0.36192989349365234, 0.5936110019683838, 0.5697680115699768, -0.11769423633813858, 0.39255067706108093, -0.09756448864936829, -0.09491536021232605, 0.11283289641141891, 0.810157060623169, -0.034596603363752365, 0.6679385900497437, 0.5567049980163574, -0.7750396728515625, -0.4538628160953522, 0.18688374757766724, -0.3885059654712677, -0.19633692502975464, 0.4041215777397156, 0.26546937227249146, 0.09228499978780746, 0.45180895924568176, -0.11934444308280945, 0.7446385622024536, 0.44080525636672974, -0.17170967161655426, 0.7873378396034241, -0.135209321975708, 0.4056102931499481, -0.5539275407791138, 0.050726987421512604, 0.13398142158985138, 0.05566127970814705, -0.6181610226631165, -0.4113486111164093, 0.16732366383075714, -0.565021812915802, -0.3124503493309021, 0.465453177690506, -0.35706716775894165, -0.4109156131744385, -0.4533621072769165, -0.16565600037574768, -0.34716442227363586, 0.3965664803981781, -0.08934906870126724, 0.6236091256141663, 0.4593678414821625, -0.6706637740135193, 0.6673446893692017, 0.21690690517425537, -0.611709475517273, 0.7248494029045105, -0.5078469514846802, 0.46855735778808594, -0.25725752115249634, 0.19224366545677185, -1.1527910232543945, -0.08914237469434738, -0.2133781909942627, -0.6477382183074951, 0.1780104786157608, 0.0527629628777504, -0.05100761353969574, -0.5559581518173218, 0.09772033244371414, 0.25124722719192505, 0.663486123085022, -0.5111948251724243, 0.6204661130905151, 0.23228690028190613, -0.3322577476501465, -0.5914578437805176, -0.6094030141830444, 0.2145526260137558, -0.31674814224243164, -0.17218030989170074, 0.2705574333667755, -0.13504204154014587, -0.2661602795124054, -0.16627269983291626, -0.3307209014892578, -0.18979360163211823, 0.3367367386817932, 0.1502712070941925, -0.2069879025220871, -0.06768061965703964, 0.06970041245222092, -0.0839080736041069, -0.3130989372730255, 0.1209162101149559, 0.2524785101413727, 0.4685904383659363, -0.32345062494277954, -0.31167250871658325, -0.8632694482803345, 0.5338564515113831, 0.389426589012146, -0.5312325954437256, 0.28553301095962524, 0.6329108476638794, -0.5682713389396667, -0.12101766467094421, -0.5859377384185791, -0.12759920954704285, -0.428466260433197, 0.44482606649398804, -0.5952615141868591, -0.991245448589325, 0.69347083568573, -0.5594042539596558, 0.004997664131224155, 0.4441288113594055, 0.509173572063446, -0.42778822779655457, 1.2558964490890503, 0.6034666299819946, -0.0808945819735527, 0.43215492367744446, 0.13198912143707275, 0.18791702389717102, -0.8055095672607422, -0.4454852044582367, -1.0089620351791382, -0.699518084526062, -0.665220320224762, 0.27221789956092834, 0.5430892705917358, 0.0004801263858098537, -0.4213597774505615, 0.11019910126924515, -0.22332991659641266, 0.15064869821071625, 0.64504474401474, 0.25191906094551086, -0.09664306789636612, -0.24748414754867554, 0.058436136692762375, -0.1896747201681137, -0.3698120415210724, -0.0676216408610344, 0.736626148223877, 0.17917931079864502, 0.7133231163024902, -0.08329229056835175, 0.8442378640174866, 0.5345051884651184, 0.05628064647316933, -0.5359190702438354, 0.637507975101471, -0.6042407155036926, -0.14656169712543488, -0.08041954040527344, -0.43646013736724854, -0.9315121173858643, -0.013662595301866531, 0.004430601838976145, -0.879707396030426, 0.5575253963470459, 0.34567490220069885, -0.4777437150478363, 0.245039701461792, -0.42187806963920593, 0.8377764225006104, -0.29255813360214233, -0.20826131105422974, -0.25800833106040955, -0.9133808016777039, -0.027163555845618248, 0.20880696177482605, -0.08061954379081726, -0.5993965268135071, 0.22047466039657593, 0.5420787930488586, -0.554115355014801, 0.47796374559402466, -0.374740868806839, -0.014813391491770744, 0.17189562320709229, 0.15241238474845886, 0.6731411218643188, -0.48132213950157166, -0.2614254653453827, -0.3655349910259247, -0.18415117263793945, -0.3355165421962738, -0.6009032130241394, 0.5613186955451965, -0.6225346326828003, -0.34708622097969055, -0.6105703115463257, -0.33328977227211, -0.5324691534042358, -0.012446829117834568, 0.335944801568985, 0.7386247515678406, -0.3969776928424835, 0.43027594685554504, 0.8389755487442017, -0.1598385125398636, 0.29540833830833435, 0.42423978447914124, 0.005484487395733595, -0.5216459631919861, 0.7453882694244385, 0.08987580239772797, 0.15983794629573822, 0.28784090280532837, 0.3112999498844147, -0.4109918475151062, -0.47570380568504333, -0.06290018558502197, -0.07424826920032501, -0.6572239398956299, -0.14577068388462067, -0.4008340537548065, -0.18900072574615479, -0.7221576571464539, 0.15193472802639008, -0.653551459312439, -0.0844549685716629, -0.3989492952823639, 0.18837127089500427, 0.41900646686553955, 0.6922327876091003, -0.4641181528568268, 0.01710471510887146, -0.7307717204093933, 0.20108932256698608, 0.47635525465011597, 0.4505905508995056, 0.06789474934339523, -0.6479375958442688, -0.37856921553611755, -0.0790565013885498, 0.007184345740824938, -0.8156476616859436, 0.2697112262248993, 0.39445939660072327, 0.3968278765678406, 0.1784357726573944, 0.14703048765659332, 0.7348396182060242, -0.48283565044403076, 0.7944971919059753, 0.12406793981790543, -1.149715781211853, 0.6806929111480713, 0.056909073144197464, 0.4257698953151703, 0.645520031452179, 0.6318800449371338, -0.6019466519355774, 0.24187111854553223, -0.7363961935043335, -0.8303676247596741, 0.5086977481842041, 0.06866385042667389, -0.23230259120464325, 0.2931564748287201, 0.6444826722145081, 0.1384480744600296, 0.3484656810760498, -0.39867493510246277, -0.14714597165584564, -0.03785465285181999, -0.3323099911212921, -0.024217624217271805, -0.39446717500686646, 0.09819724410772324, -0.3730316460132599, 0.6789953708648682, -0.0493357814848423, 0.45307764410972595, 0.2700834274291992, -0.006347384303808212, -0.2831946313381195, 0.23632729053497314, 0.5384249091148376, 0.0958000048995018, -0.35130053758621216, 0.04503028467297554, 0.18123754858970642, -0.39294713735580444, 0.39163562655448914, 0.4259902238845825, 0.1378747522830963, -0.128446564078331, 0.23907534778118134, 1.6775377988815308, 0.246576189994812, -0.8183570504188538, 0.34098145365715027, -0.09156417846679688, -0.3481723964214325, -0.14924293756484985, -0.17949755489826202, -0.4891340136528015, 0.7965947985649109, 0.33790114521980286, -0.26076170802116394, 0.5094851851463318, -0.512194812297821, 0.21749798953533173, 0.28145143389701843, -0.6775239109992981, -0.2528629004955292, 0.7817389965057373, 0.09736506640911102, -0.4460151791572571, 0.5765474438667297, -0.3152018189430237, -0.714342474937439, 0.7786878347396851, 0.4338478446006775, 1.34602689743042, -0.6492241024971008, 0.05049421638250351, 0.36959290504455566, 0.13863788545131683, -0.15722006559371948, 0.6089586019515991, -0.27506980299949646, -0.5341057181358337, -0.175527885556221, -0.3415602445602417, -1.0757330656051636, 0.1714174747467041, -1.0637098550796509, 0.22743725776672363, -0.43494912981987, -0.2858079671859741, 0.07952851057052612, 0.24612466990947723, -0.6135329008102417, 0.6267598867416382, 0.6109591126441956, 0.9748853445053101, -0.6477787494659424, 0.46825355291366577, 0.7681148648262024, -0.07588468492031097, -0.49574393033981323, -0.15437448024749756, 0.22061628103256226, -0.6331509947776794, 0.521694540977478, 0.1507737785577774, -0.2138025164604187, 0.24117545783519745, -0.7662332057952881, -0.802102267742157, 0.8185834288597107, 0.28478536009788513, -0.8548620343208313, 0.11435366421937943, 0.01652195304632187, 0.6097543239593506, -0.26700928807258606, 0.15104246139526367, 0.658883273601532, 0.24018414318561554, -0.06985209137201309, -1.0666583776474, -0.39289048314094543, -0.44391191005706787, -0.19653692841529846, 0.21521413326263428, -1.079786777496338, 1.0176916122436523, -0.09557361900806427, -0.14701221883296967, 0.2907504141330719, 0.9708506464958191, 0.3381216824054718, 0.620613157749176, 0.6477867960929871, 0.9410386681556702, 0.8939394950866699, -0.34117987751960754, 0.7592418789863586, 0.09765931963920593, 0.4824621081352234, 1.2241352796554565, -0.7074750065803528, 0.8979241847991943, 0.04213252663612366, -0.5621058344841003, 0.21565918624401093, 0.8088194131851196, 0.022698916494846344, 0.6838976144790649, 0.3196669816970825, -0.2935599982738495, -0.2583041787147522, -0.2876448333263397, -0.600128710269928, 0.514699399471283, 0.24465209245681763, 0.09129873663187027, -0.14562085270881653, 0.45518213510513306, -0.158988818526268, -0.05222903564572334, -0.5496993064880371, 0.881271243095398, 0.16032613813877106, -0.2804147005081177, 0.38526472449302673, -0.5043430328369141, 0.4414670765399933, -0.630850613117218, 0.17324446141719818, -0.41790151596069336, 0.2109462469816208, 0.0909489095211029, -0.6392003297805786, -0.018521199002861977, 0.26410675048828125, 0.04247783496975899, -0.0325508788228035, 0.7340422868728638, -0.5226306915283203, -0.18012191355228424, 0.2634974718093872, 0.06733059138059616, 0.2397027611732483, -0.2318163812160492, -0.8383957147598267, 0.47769132256507874, -0.07808104157447815, -0.33678677678108215, 0.2891865670681, 0.8336781859397888, 0.45844265818595886, 0.7187276482582092, 0.08937012404203415, -0.06792889535427094, 0.17517460882663727, 0.2022058218717575, 0.5816936492919922, -0.8763093948364258, -0.6203652620315552, -0.6426085233688354, 0.5150904059410095, 0.06636866182088852, -0.6678400635719299, 0.37924230098724365, 0.41043564677238464, 0.6515846848487854, 0.2177402526140213, 0.6498056650161743, 0.06746064871549606, 0.8747916221618652, -0.31598642468452454, 0.3436950743198395, -1.0060255527496338, -0.3559113144874573, -0.47501417994499207, -0.5795327425003052, -0.0062479241751134396, 0.4806506931781769, 0.019113577902317047, 0.05647231638431549, 0.4534793198108673, 0.2765031158924103, 0.23733365535736084, 0.4130733013153076, 0.16370873153209686, 0.3536364436149597, 0.29925960302352905, 0.7172302603721619, 0.9656639099121094, -0.5157132148742676, 0.05766770988702774, -0.7035724520683289, -0.2862565219402313, -0.4401834309101105, -1.049939513206482, -0.15710356831550598, -1.0283464193344116, -0.5096701383590698, -0.4846462905406952, 0.16483458876609802, 1.1717379093170166, 0.41266876459121704, -1.015486240386963, -0.24346788227558136, -0.09291454404592514, -0.4060589373111725, -0.46882322430610657, -0.11117788404226303, 0.22377341985702515, -0.2054419219493866, -0.8547878265380859, 0.6710448861122131, 0.32427388429641724, 0.332981675863266, -0.209911048412323, -0.07908429950475693, -0.21737408638000488, 0.005338715389370918, 0.5278646349906921, 0.6998308300971985, -0.6093112826347351, -0.3367266058921814, -0.1364327371120453, 0.047000423073768616, 0.22006073594093323, 0.7788680791854858, -0.782874345779419, 0.5096307992935181, 0.522686779499054, 0.9735240936279297, 0.6654497385025024, -0.19090399146080017, 0.38702771067619324, -0.4360106587409973, 0.19267338514328003, 0.6123320460319519, 0.5027931332588196, 0.20038370788097382, -0.001928596175275743, 0.6630561947822571, 0.36448559165000916, -0.879435122013092, -1.4254834651947021, 0.18837757408618927, -1.0900757312774658, 0.1625593602657318, 0.4799115061759949, -0.14193212985992432, -0.02237648516893387, 0.4003021717071533, -0.09257384389638901, 0.5032410621643066, -0.38102400302886963, 0.7820279002189636, 0.9639905095100403, -0.599125325679779, -0.5980077385902405, -0.12131369113922119, 0.6711107492446899, 0.6197817325592041, -0.986885666847229, 0.06675675511360168, 0.40609854459762573, -0.23708754777908325, -0.17557035386562347, 0.43479061126708984, -0.06525786966085434, 0.5467309951782227, 0.03864400088787079, 0.2558608651161194, 0.2748202681541443, -0.5948903560638428, -0.7219143509864807, 0.09005843847990036, 0.0003873657260555774, -0.060952167958021164 ]
http://arxiv.org/abs/2406.06399v1
http://arxiv.org/pdf/2406.06399v1
Should We Fine-Tune or RAG? Evaluating Different Techniques to Adapt LLMs for Dialogue
2024-06-10T15:52:49
2024-06-10T15:52:49
Simone Alghisi, Massimo Rizzoli, Gabriel Roccabruna, Seyed Mahed Mousavi, Giuseppe Riccardi
cs.CL
cs.CL, cs.AI
We study the limitations of Large Language Models (LLMs) for the task of response generation in human-machine dialogue. Several techniques have been proposed in the literature for different dialogue types (e.g., Open-Domain). However, the evaluations of these techniques have been limited in terms of base LLMs, dialogue types and evaluation metrics. In this work, we extensively analyze different LLM adaptation techniques when applied to different dialogue types. We have selected two base LLMs, Llama-2 and Mistral, and four dialogue types Open-Domain, Knowledge-Grounded, Task-Oriented, and Question Answering. We evaluate the performance of in-context learning and fine-tuning techniques across datasets selected for each dialogue type. We assess the impact of incorporating external knowledge to ground the generation in both scenarios of Retrieval-Augmented Generation (RAG) and gold knowledge. We adopt consistent evaluation and explainability criteria for automatic metrics and human evaluation protocols. Our analysis shows that there is no universal best-technique for adapting large language models as the efficacy of each technique depends on both the base LLM and the specific type of dialogue. Last but not least, the assessment of the best adaptation technique should include human evaluation to avoid false expectations and outcomes derived from automatic metrics.
[ -0.5672600269317627, -0.6455751657485962, 0.3494672477245331, 0.02476840652525425, -0.2643773555755615, 0.11793940514326096, -0.39380013942718506, -0.37306535243988037, -0.2524073123931885, 0.7332273721694946, -0.47257694602012634, -0.28060945868492126, -0.2661885917186737, 0.3277193307876587, 0.045362915843725204, 1.3495374917984009, 0.07115905731916428, 0.19270874559879303, -0.2690638601779938, -0.2770489454269409, -0.8191960453987122, -0.4062103033065796, -0.8301330208778381, -0.39312607049942017, 0.22982090711593628, 0.5321760773658752, 0.3710763454437256, 0.21500393748283386, 0.6470194458961487, 0.2856021821498871, -0.16045355796813965, 0.6192030310630798, -0.8808439373970032, 0.13607846200466156, -0.47889721393585205, -0.6016591787338257, -0.36382296681404114, -0.13488639891147614, 0.543601393699646, 0.6564887762069702, -0.02876483090221882, 0.5158728361129761, 0.25920453667640686, 0.7777746319770813, -0.6867799162864685, -0.0476805754005909, -0.9238389730453491, -0.09898310154676437, 0.09577345848083496, -0.5251169800758362, -0.2616354823112488, -0.3364979326725006, 0.272559255361557, -0.5678970217704773, 0.22497963905334473, 0.1594608724117279, 0.6360614895820618, 0.5255199074745178, -0.24006786942481995, -0.5112054944038391, -0.9261835813522339, 0.8285468220710754, -0.7603950500488281, 0.07919121533632278, 0.40829455852508545, 0.4615618586540222, -0.4461522400379181, -0.5225229859352112, -0.2600513994693756, -0.3104458153247833, -0.020024074241518974, 0.34191498160362244, -0.05021930858492851, 0.11244264990091324, 0.3081730008125305, 0.4450075924396515, -0.2434529960155487, 0.24535039067268372, -0.17283779382705688, -0.070452019572258, 0.6149260997772217, 0.47447192668914795, -0.06917357444763184, -0.20389394462108612, -0.24704113602638245, -0.013059883378446102, -0.5892645120620728, -0.008537926711142063, 0.32794415950775146, 0.42094922065734863, -0.06292729079723358, 0.33988243341445923, -0.28342288732528687, 0.8286019563674927, 0.4242144227027893, -0.5598847270011902, -0.174455463886261, -0.5051501989364624, -0.29691803455352783, -0.3079395294189453, 0.6120165586471558, 0.7635713815689087, 0.40636923909187317, -0.19763252139091492, -0.21185816824436188, -0.09932702034711838, 0.43452000617980957, -0.6391910910606384, 0.15457426011562347, -0.1866394281387329, -0.45798689126968384, -0.23858505487442017, -0.16616609692573547, -0.8105291128158569, -0.5490765571594238, -0.4612955152988434, 0.5612416863441467, -0.18323592841625214, -0.12399259209632874, 0.13002894818782806, -0.1919887214899063, 0.40145131945610046, 0.47763919830322266, -0.7095918655395508, 0.6612104177474976, 0.6698673963546753, 0.4738039970397949, -0.24986135959625244, 0.14609819650650024, -0.6118865013122559, -0.04114551097154617, -0.43961989879608154, 0.8076035380363464, -0.30867624282836914, -0.5351919531822205, 0.028067104518413544, -0.05272054672241211, -0.24592377245426178, -0.900905191898346, 0.912111759185791, -0.31159940361976624, 0.28995591402053833, -0.20093484222888947, -0.4589357078075409, -0.3299602270126343, 0.10694517940282822, -0.4474559426307678, 0.6939366459846497, 0.49426648020744324, -0.7293212413787842, 0.16668228805065155, -0.6812105774879456, -0.3008774518966675, -0.1049303263425827, 0.07792271673679352, -0.2696744203567505, 0.4698670208454132, 0.08376554399728775, 0.21590609848499298, -0.7710978984832764, 0.1768006831407547, -0.17513099312782288, -0.40505656599998474, 0.5312274694442749, -0.4836962819099426, 0.41638636589050293, 0.5399047136306763, -0.11539214849472046, 0.047444578260183334, -0.7458856105804443, 0.15264031291007996, -0.11540035158395767, -0.38863298296928406, -0.10276038199663162, 0.06966999173164368, -0.1782589852809906, -0.03594977781176567, -0.07540227472782135, -0.22735480964183807, -0.06895620375871658, -0.6637499928474426, 0.23652206361293793, 0.7600778937339783, 0.2547423243522644, 0.4234551191329956, -0.6544637084007263, 0.5471128225326538, -0.08589343726634979, -0.17781899869441986, -0.1683785319328308, -0.06299805641174316, -1.1143519878387451, -0.03364701196551323, 0.33633705973625183, 0.688578188419342, -0.6028620600700378, 0.3546251356601715, -0.22299718856811523, -0.4475404918193817, -0.6696203947067261, 0.15078724920749664, 0.5467200875282288, 0.6483095288276672, 0.1362311691045761, -0.6981725692749023, -0.6700947880744934, -0.7429518699645996, -0.5737308263778687, -0.3019702434539795, -0.09002542495727539, 0.685049831867218, 0.1930021345615387, -0.10656872391700745, 0.9429916143417358, -0.26280415058135986, -0.10639472305774689, -0.29214295744895935, 0.04890592768788338, 0.12565423548221588, 0.1697312742471695, 0.46700501441955566, -0.45013558864593506, -0.5186644196510315, 0.08354836702346802, -0.5550254583358765, -0.3201714754104614, -0.21837222576141357, 0.014847596175968647, 0.43345823884010315, 0.30755752325057983, -0.3575657606124878, 0.33177071809768677, 0.4859274625778198, -0.06665433943271637, 0.528289794921875, -0.05948159098625183, 0.3064127266407013, -1.2145699262619019, 0.024619903415441513, 0.07470948994159698, -0.32459208369255066, -0.841099202632904, -0.010322303511202335, -0.26460957527160645, -0.012750912457704544, -0.3227238953113556, 0.7283118963241577, -0.2713291049003601, -0.27029740810394287, -0.3361921012401581, 0.13490436971187592, 0.05568704754114151, 0.47762590646743774, -0.26209133863449097, 1.0174813270568848, 0.19565941393375397, -0.8593325614929199, 0.2772541344165802, 0.2230672538280487, -0.5075092315673828, 0.5754594802856445, -0.5241251587867737, 0.3803500235080719, -0.0756804570555687, 0.3538445234298706, -1.0624125003814697, -0.2591421604156494, 0.33644768595695496, -0.4317942261695862, 0.4182376563549042, -0.1950378268957138, -0.2688892185688019, -0.10622603446245193, -0.2931998074054718, 0.21193717420101166, 0.6054710745811462, -0.43456345796585083, 0.4863012731075287, 0.22522921860218048, -0.2990674078464508, -0.3104664385318756, -0.2201734185218811, 0.03041466698050499, -0.7055620551109314, -0.6155133247375488, 0.06303530186414719, -0.27231812477111816, -0.5197585225105286, -0.45736366510391235, -0.32331693172454834, 0.006726617459207773, 0.33100998401641846, 0.10679017007350922, 0.023237640038132668, -0.3125708997249603, -0.0928548201918602, -0.11170137673616409, -0.10186763107776642, -0.160563126206398, -0.08377593010663986, 0.3689560294151306, -0.12373733520507812, -0.2660823166370392, -0.3585844039916992, 0.18227024376392365, 0.3806799650192261, 0.004877820145338774, 0.36470019817352295, 0.6934013366699219, -0.0012045548064634204, -0.03317048400640488, -0.7056727409362793, -0.21141426265239716, -0.4508524239063263, 0.3384924829006195, -0.3638139069080353, -1.043764591217041, 0.37390023469924927, -0.6222164034843445, 0.10582320392131805, 0.422525554895401, 0.8677003979682922, -0.2180921584367752, 0.8686387538909912, 0.7276096940040588, -0.07561473548412323, 0.3954814374446869, -0.015859078615903854, 0.12666885554790497, -1.171627163887024, 0.21532289683818817, -0.7496421337127686, -0.1601850837469101, -0.7257627248764038, -0.46417656540870667, 0.4529873728752136, 0.39865174889564514, -0.18460813164710999, 0.08134915679693222, -0.23756510019302368, 0.26429829001426697, 0.29023489356040955, -0.08175733685493469, 0.3612443804740906, 0.16298745572566986, 0.13210409879684448, -0.02787315659224987, -0.8222413659095764, -0.6682897210121155, 1.175384759902954, 0.44357621669769287, 0.9578400254249573, 0.0961158499121666, 0.5030856132507324, 0.03734190762042999, 0.28619900345802307, -1.0669091939926147, 0.4369330406188965, -0.22659575939178467, -0.33419057726860046, -0.3057362139225006, -0.42039021849632263, -1.0548663139343262, 0.24693040549755096, -0.13677389919757843, -0.6481778025627136, -0.2573640048503876, -0.03194383159279823, -0.46736621856689453, -0.07825683802366257, -0.7041855454444885, 0.4981704354286194, -0.16279442608356476, -0.031112225726246834, -0.15914788842201233, -0.6350827813148499, 0.3152965009212494, -0.27400556206703186, 0.3311046063899994, -0.10517530888319016, 0.083931103348732, 0.6266027688980103, -0.12477356195449829, 0.9047065377235413, -0.025776531547307968, -0.25679221749305725, 0.42792898416519165, 0.08060607314109802, 0.39172855019569397, -0.019909264519810677, -0.0743902400135994, -0.13277766108512878, 0.05238503962755203, 0.04896736145019531, -0.6710188388824463, 0.3794981837272644, -0.9229056239128113, -0.9500032663345337, -0.007476016413420439, -0.7085668444633484, -0.5702003836631775, -0.10763803124427795, 0.19370009005069733, 0.41065919399261475, -0.4319887161254883, 0.12030351907014847, 0.7126511335372925, -0.37718063592910767, 0.12030649930238724, 0.8008111119270325, -0.028059108182787895, -0.5067112445831299, 0.9776369333267212, -0.02300938591361046, 0.6083464622497559, 0.285316526889801, 0.39688870310783386, -0.12132492661476135, -0.5863988995552063, -0.44564417004585266, 0.2802696228027344, -0.7060531377792358, -0.4173203110694885, -0.25694218277931213, -0.23549367487430573, -0.45731663703918457, 0.12752315402030945, -0.00575658306479454, -0.538902223110199, -0.5106995701789856, 0.1614648848772049, 0.44304004311561584, 0.5100412964820862, -0.019625630229711533, 0.27649983763694763, -0.8074872493743896, 0.5908126831054688, 0.29890450835227966, 0.28426727652549744, -0.2510448098182678, -1.0341911315917969, -0.3629879057407379, 0.19038045406341553, -0.5349878668785095, -0.4788033962249756, 0.14359821379184723, 0.44849491119384766, 0.5926486253738403, 0.16360712051391602, 0.15488141775131226, 0.796151876449585, -0.677707850933075, 0.7521669864654541, -0.018485281616449356, -0.553638756275177, 0.3939897119998932, -0.33464643359184265, 0.26514124870300293, 0.5743667483329773, 0.17785939574241638, -0.566530704498291, -0.44595906138420105, -0.502237856388092, -0.5225518941879272, 0.700387179851532, -0.004135260358452797, 0.25457853078842163, 0.13441085815429688, 0.40620705485343933, 0.3292878270149231, 0.12259577214717865, -0.1437377780675888, 0.0064337411895394325, 0.06186019629240036, -0.1723954975605011, -0.231052964925766, -0.16337376832962036, -0.6160480976104736, -0.023374779149889946, 0.36177194118499756, -0.4437616765499115, 0.3033986985683441, 0.12208111584186554, -0.18943074345588684, -0.3779577612876892, 0.48601704835891724, 0.7365872859954834, 0.7315133213996887, -0.06129808351397514, -0.37978610396385193, 0.5656539797782898, -0.2201673537492752, -0.0406201146543026, -0.21812549233436584, -0.061422985047101974, -0.014829170890152454, 0.2956434488296509, 1.1497306823730469, 0.14716966450214386, -0.6519073247909546, 0.07363076508045197, -0.09089062362909317, -0.19542622566223145, -0.16349434852600098, 0.45227107405662537, -0.10402144491672516, 0.3170839846134186, 0.12729021906852722, 0.09330770373344421, 0.23783765733242035, -0.6524253487586975, -0.13239048421382904, 0.555105447769165, -0.22813032567501068, -0.19885599613189697, 0.1697002649307251, 0.3040802478790283, -0.5929879546165466, 0.10325086861848831, 0.20291365683078766, -0.33516794443130493, 0.43577536940574646, 0.5427649617195129, 0.9917858242988586, -0.2200307995080948, 0.035804033279418945, 0.30094560980796814, 0.11333171278238297, 0.03470352664589882, 0.09290925413370132, -0.08760281652212143, -0.8172363042831421, -0.5395676493644714, -0.8242908716201782, -0.5640354752540588, 0.3005661964416504, -0.805047869682312, 0.15372946858406067, -0.3697374165058136, -0.25514674186706543, -0.15035726130008698, 0.1761263608932495, -0.7676959037780762, 0.07596655935049057, -0.04244139418005943, 0.9857912659645081, -0.5696836709976196, 0.4496481120586395, 0.6403329968452454, -0.06733318418264389, -0.6893413066864014, 0.15941846370697021, 0.05763702094554901, -0.8002851009368896, 0.48296603560447693, -0.1453874707221985, -0.27218255400657654, 0.038309842348098755, -0.4895257353782654, -0.8098362684249878, 0.9701384902000427, 0.3299768269062042, -0.3485506772994995, 0.1440913826227188, 0.06362803280353546, 0.6750112175941467, -0.48465245962142944, 0.2659206986427307, 0.930585503578186, 0.3700869381427765, 0.06203906610608101, -1.4948816299438477, -0.22549764811992645, 0.20145666599273682, 0.36006173491477966, 0.040616389364004135, -0.7833656072616577, 0.2894245684146881, -0.1281736046075821, -0.2772262692451477, 0.6571353673934937, 0.35429996252059937, 0.2713005542755127, 0.20379658043384552, 0.46947646141052246, 0.5045314431190491, 0.6131159663200378, -0.037205491214990616, 0.9593013525009155, -0.18433219194412231, 0.19674766063690186, 1.1774386167526245, -0.25991183519363403, 0.6318991184234619, 0.3893278241157532, -0.1632540374994278, 0.2808428108692169, 0.5569517016410828, 0.1394340991973877, 0.49420681595802307, 0.4745388329029083, -0.19350957870483398, -0.14830954372882843, -0.37501823902130127, -0.27696725726127625, 0.5611339807510376, 0.6911647915840149, -0.09781835228204727, -0.31783822178840637, -0.12087728083133698, -0.07394424080848694, 0.1869162768125534, -0.37555935978889465, 1.4804941415786743, 0.17801038920879364, -0.9838813543319702, 1.1488091945648193, 0.16650350391864777, 0.4931626319885254, -0.43787235021591187, 0.008651655167341232, -0.29497987031936646, 0.09000161290168762, -0.1851852685213089, -0.5734848380088806, 0.1496558040380478, 0.28314799070358276, -0.1830119788646698, 0.026853447780013084, 0.9179849624633789, -0.32902196049690247, -0.21619771420955658, 0.008645489811897278, 0.5946076512336731, 0.3221510052680969, 0.2820468842983246, -0.7245428562164307, 0.1607082039117813, 0.03194589540362358, -0.24915604293346405, 0.6399930119514465, 0.7250289916992188, -0.1445889174938202, 0.6868351697921753, 0.5596296191215515, -0.008561826311051846, -0.15256758034229279, 0.401760458946228, 0.9606058597564697, -0.41710180044174194, 0.04093465581536293, -0.4849689304828644, 0.49500125646591187, 0.11580231040716171, -0.2115439623594284, 0.7313978672027588, 0.2564941644668579, 0.7448943853378296, 0.004486044868826866, 0.9174540042877197, 0.31428343057632446, 0.9102297425270081, -0.6445008516311646, 0.3207629919052124, -0.3580930233001709, 0.1602085381746292, -0.48083731532096863, -1.014532446861267, 0.07404869794845581, 0.6604518890380859, -0.1117594763636589, 0.06540966778993607, 0.6397322416305542, 0.8083076477050781, 0.1752074658870697, 0.004318849183619022, 0.42865338921546936, 0.16262726485729218, 0.20964288711547852, 0.45400547981262207, 0.9433960318565369, -0.33647722005844116, 0.5662112832069397, 0.2231973111629486, -0.3282695710659027, -0.37803900241851807, -0.8352127075195312, -0.8915980458259583, -0.3730137050151825, -0.0560099333524704, -0.2760901153087616, 0.05492977425456047, 0.7273772954940796, 0.4735945165157318, -0.6239483952522278, -0.566753089427948, 0.1927640736103058, -0.048424769192934036, -0.08590784668922424, -0.23993940651416779, -0.07435465604066849, -0.8457220792770386, -0.6184222102165222, 0.471474826335907, 0.2598367929458618, -0.06182311847805977, -0.10861476510763168, -0.243769571185112, 0.2120676338672638, 0.27952462434768677, 0.7108575701713562, 0.27793899178504944, -0.8847574591636658, -0.566716730594635, 0.030033515766263008, 0.015291353687644005, 0.00604844419285655, 0.9461120963096619, -0.6903884410858154, 0.5455200672149658, 0.301798939704895, 0.9074007272720337, 0.25926223397254944, 0.2127450406551361, 0.8123330473899841, -0.5365498661994934, -0.01380070298910141, 0.26661333441734314, 0.0681159719824791, 0.39218688011169434, -0.06711018085479736, 0.6692936420440674, -0.050298500806093216, -0.8515339493751526, -0.8745889067649841, 0.510299801826477, -0.8491690158843994, -0.10146340727806091, 1.3090474605560303, -0.08691568672657013, 0.09052298218011856, -0.25179949402809143, -0.6139901280403137, 0.28770124912261963, -0.17416296899318695, 0.7158594727516174, 0.7689124941825867, -0.34258192777633667, -0.023395340889692307, -0.6910661458969116, 0.71681809425354, 0.42029672861099243, -0.6760788559913635, 0.16628485918045044, 0.4020957052707672, 0.3789348006248474, 0.10729918628931046, 0.5871124863624573, 0.04776843264698982, 0.23432539403438568, -0.3218156695365906, -0.3742498457431793, 0.3334033489227295, -0.22479256987571716, -0.456699937582016, -0.2671110928058624, 0.48873162269592285, 0.16712792217731476 ]