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.00040v2
http://arxiv.org/pdf/2406.00040v2
Unveiling Themes in Judicial Proceedings: A Cross-Country Study Using Topic Modeling on Legal Documents from India and the UK
2024-05-27T16:26:50
2024-06-30T04:37:19
Krish Didwania, Dr. Durga Toshniwal, Amit Agarwal
cs.CL
cs.CL
Legal documents are indispensable in every country for legal practices and serve as the primary source of information regarding previous cases and employed statutes. In today's world, with an increasing number of judicial cases, it is crucial to systematically categorize past cases into subgroups, which can then be utilized for upcoming cases and practices. Our primary focus in this endeavor was to annotate cases using topic modeling algorithms such as Latent Dirichlet Allocation, Non-Negative Matrix Factorization, and Bertopic for a collection of lengthy legal documents from India and the UK. This step is crucial for distinguishing the generated labels between the two countries, highlighting the differences in the types of cases that arise in each jurisdiction. Furthermore, an analysis of the timeline of cases from India was conducted to discern the evolution of dominant topics over the years.
[ -0.5305780172348022, -0.5501973628997803, 0.622093141078949, 0.13021700084209442, -0.8651767373085022, 0.00402786722406745, -0.043654754757881165, -0.19043655693531036, 0.33470842242240906, 0.6314921379089355, -0.4531308114528656, -0.3033513128757477, -0.5288522839546204, -0.28117436170578003, -0.806194543838501, 1.1178778409957886, 0.09504718333482742, 0.2583736479282379, -0.3879733085632324, -0.3255624771118164, -0.6111059188842773, -0.5962211489677429, -0.0027838514652103186, -0.3396517336368561, 0.3943587839603424, 0.29800358414649963, 0.06148484721779823, 0.21604295074939728, 0.8628138899803162, 0.27769938111305237, -0.48937493562698364, -0.21301327645778656, -0.13588868081569672, 0.40047428011894226, -0.6758043169975281, -0.6400331258773804, -0.1741465926170349, 0.18509243428707123, 0.3779699504375458, 0.4572996497154236, -0.41978710889816284, 0.018577955663204193, -0.43888744711875916, 0.53553706407547, -0.6181480884552002, 0.05849768593907356, -0.6150956153869629, 0.41006162762641907, -0.563718318939209, -0.5220637321472168, -0.128239706158638, -0.2195320725440979, 0.2634834945201874, -0.5139672756195068, 0.5249320268630981, -0.15799042582511902, 0.9135477542877197, -0.054407503455877304, -0.474350243806839, -0.7322894334793091, -0.7884955406188965, 0.5285214781761169, -0.3319929838180542, 0.23235313594341278, 0.2662212550640106, 0.3763379454612732, 0.04775511473417282, -0.786774754524231, -0.07814262062311172, -0.0037739849649369717, -0.11980950832366943, 0.277323454618454, 0.014095849357545376, -0.2591991126537323, 0.36147743463516235, 0.36541834473609924, -0.4549393057823181, -0.02366863749921322, -0.6285097002983093, -0.3428589105606079, 0.70478355884552, 0.08246456831693649, 0.5334553718566895, -0.252725750207901, 0.1891661286354065, 0.08145353943109512, -0.8292266130447388, 0.03208903223276138, 0.4192490577697754, 0.5525091290473938, -0.33602967858314514, 0.48908260464668274, -0.1690085232257843, 0.43470245599746704, 0.2922883927822113, -0.28984537720680237, -0.1502343714237213, -0.35865363478660583, 0.16376729309558868, 0.2957451045513153, 0.2711534798145294, 0.4040472209453583, -0.020689645782113075, 0.06628239154815674, -0.0487041100859642, -0.43435442447662354, 0.3663027286529541, -0.6744672656059265, 0.17366892099380493, 0.11502964794635773, -0.8165332078933716, -0.10593462735414505, 0.19649627804756165, -0.901721179485321, -0.8158113360404968, -0.5878133177757263, 0.06860259175300598, 0.17363594472408295, -0.3681216835975647, -0.28505200147628784, -0.21007125079631805, 0.5978465676307678, 0.6136139631271362, -0.7988961935043335, -0.1564594805240631, 1.051534652709961, 0.6178777813911438, 0.21590343117713928, 0.340371698141098, -0.3461003303527832, 0.0749896913766861, -0.4695185422897339, 0.9173756241798401, -0.8321096301078796, -0.7234852910041809, 0.49119246006011963, 0.26349353790283203, 0.4644794762134552, -0.2088717818260193, 0.7624807357788086, -0.6647524237632751, 0.16786962747573853, -0.5744661092758179, -0.41526633501052856, 0.04283054918050766, 0.10899966955184937, -0.4352845549583435, 0.30531737208366394, -0.25867578387260437, -0.9352941513061523, 0.9328644275665283, -0.8964881896972656, -0.5731058716773987, 0.18323566019535065, -0.7216943502426147, -0.6172555685043335, 0.430504709482193, 0.15010464191436768, 0.24766191840171814, -0.5618472099304199, 0.7920423150062561, -0.01797078177332878, -0.24209289252758026, -0.1846788376569748, -0.07868087291717529, 0.8694097399711609, 0.37727344036102295, 0.1218838319182396, 0.13749097287654877, -0.5002964735031128, -0.6234135627746582, 0.08994609117507935, -0.029293067753314972, -0.5175836086273193, 0.287517249584198, -0.1093166321516037, 0.564382016658783, 0.258543998003006, -0.6157610416412354, 0.22834523022174835, -0.10375326871871948, 0.6557886004447937, 0.2880222201347351, 0.6237057447433472, 0.210174560546875, -0.21496742963790894, 0.5482264161109924, 0.3426830768585205, -0.009653025306761265, -0.5201535224914551, -0.7795854806900024, -0.4447316825389862, 0.21804025769233704, 0.6652200818061829, 0.4649636745452881, -0.2771548330783844, -0.11760836839675903, -0.17644557356834412, -0.3855195641517639, -0.32393649220466614, -0.17893964052200317, 0.08981742709875107, 0.27612027525901794, -0.16475479304790497, -0.5697998404502869, -0.3953804075717926, -1.1894241571426392, -0.25725093483924866, -0.4242779612541199, 0.30546560883522034, 0.43343472480773926, 0.6293824911117554, 0.15077374875545502, 1.0799592733383179, -0.3320108652114868, -0.047259874641895294, 0.014871199615299702, 0.7843079566955566, 0.09435837715864182, 0.3745560646057129, 0.4586534798145294, -1.40268874168396, -0.41134965419769287, 0.16297537088394165, -0.7998741865158081, -0.2797543406486511, -0.3979718089103699, -0.29010140895843506, 0.16774939000606537, 0.7573331594467163, -0.16891004145145416, 0.9338844418525696, -0.39340439438819885, -0.390543133020401, 0.40815261006355286, -0.2711043059825897, 0.42188557982444763, -1.1170969009399414, -0.03526395186781883, 0.15320757031440735, -0.006727526895701885, -0.4533724784851074, 0.06419047713279724, 0.22430036962032318, -0.6070448160171509, -0.39497214555740356, 0.3332434594631195, -0.3235098719596863, -0.13886509835720062, -0.3910416066646576, -0.07893302291631699, -0.04497472569346428, 0.16470828652381897, 0.2825078070163727, 0.7619240283966064, 0.6693897843360901, -0.10302601009607315, -0.06669877469539642, 0.24649447202682495, 0.11552660912275314, 0.8752654790878296, -0.10843353718519211, -0.26147568225860596, -0.16068530082702637, -0.14994440972805023, -0.7907443046569824, -0.2444772571325302, 0.10503584146499634, -0.052178021520376205, 0.7863355875015259, -0.7722123861312866, -0.4143403470516205, -0.2421342432498932, -0.08588884025812149, 0.0515909381210804, 0.5295873284339905, -0.041936106979846954, 0.5811816453933716, 0.6590881943702698, -0.6314500570297241, -0.3727947175502777, -0.5529101490974426, 0.09445709735155106, -0.6576684713363647, -0.16984982788562775, 0.3218228220939636, 0.3573496341705322, -0.5693747997283936, 0.02236754074692726, -0.230709508061409, -0.2156599462032318, -0.07314639538526535, 0.7044745683670044, -0.26018381118774414, -0.047601208090782166, 0.2412252575159073, 0.2104094922542572, -0.011722732335329056, 0.29646602272987366, 0.0903586819767952, 0.42835476994514465, 0.22302988171577454, -0.7962369918823242, -0.5010504722595215, 0.9260173439979553, 0.5701549053192139, -0.5201866626739502, 0.2596578896045685, -0.08007201552391052, -0.4775918424129486, -0.05679073557257652, -0.572594165802002, -0.1428486406803131, -0.4200334846973419, 0.10216093063354492, -0.36944493651390076, -0.5424723625183105, 0.6672096848487854, -0.3398573696613312, 0.27754300832748413, 0.703869640827179, 0.6785809993743896, -0.06570715457201004, 0.33221903443336487, 0.9856763482093811, -0.15850692987442017, 0.6383364796638489, 0.1672600954771042, 0.5697960257530212, -0.43007975816726685, -0.33892491459846497, -0.7281461954116821, 0.32357800006866455, -1.0402445793151855, -0.35463055968284607, 0.188623309135437, 0.13698828220367432, 0.11567828804254532, 0.1400635838508606, -0.4125286936759949, 0.4682057797908783, 0.5092032551765442, -0.11791263520717621, 0.022262591868638992, 0.24732297658920288, -0.6480002999305725, -0.19669115543365479, -0.2963966727256775, -0.5255548357963562, 1.2798701524734497, 0.19772350788116455, 0.4279474914073944, -0.06893014162778854, 0.916460394859314, 0.5992292165756226, 0.230521559715271, -0.3128455579280853, 0.4011855721473694, -0.4235170781612396, -0.8812471628189087, -0.12842263281345367, 0.26856738328933716, -0.819146990776062, 0.27221521735191345, -0.02067079022526741, -0.9084047079086304, 0.6238115429878235, -0.35872164368629456, -0.37167036533355713, 0.31087517738342285, -0.16133587062358856, 0.29249149560928345, -0.017514236271381378, -0.8632405996322632, -0.2544388771057129, -0.6720516681671143, 0.4855060577392578, -0.21300828456878662, 0.11845602095127106, 0.013599800877273083, 0.479814738035202, 0.8195366859436035, -0.4243522882461548, 0.5629203915596008, -0.129394993185997, -0.3861403465270996, 0.6718385815620422, -0.29842278361320496, -0.029022803530097008, 0.36888083815574646, 0.16538074612617493, -0.1135328859090805, -0.1354997754096985, -0.14203138649463654, -0.6050403118133545, 0.46167996525764465, -0.5570958256721497, -1.0822340250015259, -0.7228455543518066, -0.6127612590789795, 0.015107453800737858, -0.032420381903648376, 0.0034302962012588978, 0.5963441729545593, 0.024084193632006645, 0.22765414416790009, 0.7301574349403381, -0.25933098793029785, 0.7575319409370422, 0.7822298407554626, -0.27935004234313965, -0.004900757689028978, 0.855243980884552, 0.4585817754268646, -0.5833825469017029, 0.4897845387458801, 0.12805907428264618, -0.41098010540008545, -0.7373524308204651, -0.17518079280853271, 0.19487783312797546, -0.9719710946083069, 0.12330392003059387, -0.5255680680274963, -0.32503098249435425, -0.34866493940353394, -0.2805154323577881, -0.16522033512592316, -0.4979957342147827, 0.06000719219446182, 0.1735946089029312, 0.42906320095062256, 0.6523802280426025, -0.36696571111679077, 0.05227559059858322, -0.39236828684806824, 0.3499513864517212, 0.4862919747829437, 0.19008998572826385, -0.43255484104156494, -0.6192529797554016, 0.05698467791080475, -0.3776863217353821, -0.6362537741661072, -0.8138437271118164, 0.2627197802066803, -0.2344074249267578, 0.7526478171348572, 0.7842854261398315, -0.12509240210056305, 0.7717036604881287, -0.6664819717407227, 0.8803389668464661, -0.19337253272533417, -0.6402970552444458, 1.3385697603225708, -0.6999753713607788, -0.10422383248806, 0.6567025184631348, 0.6253238320350647, -0.4521923363208771, -0.19274789094924927, -0.7468094229698181, -1.088423490524292, 0.8372226357460022, 0.3283770680427551, 0.04624323546886444, 0.501157820224762, 0.8137586116790771, 0.0076934159733355045, 0.3791242241859436, -0.42120084166526794, -0.003457170445472002, 0.043220557272434235, 0.36768990755081177, 0.16185903549194336, -0.20166738331317902, -0.40493860840797424, -0.45880135893821716, 0.5999151468276978, 0.3820163309574127, 0.5104559063911438, 0.20138181746006012, -0.21053573489189148, -0.02292667329311371, 0.47534018754959106, 0.9701050519943237, 0.967729926109314, -0.36846455931663513, -0.2593190371990204, -0.2938537299633026, -0.4811389744281769, 0.2243308275938034, 0.3724460303783417, -0.29184454679489136, 0.0024870606139302254, 0.4413332939147949, 0.47292837500572205, -0.18915550410747528, -0.28655147552490234, 0.311745285987854, -0.19218707084655762, -0.21932648122310638, -0.32668519020080566, -0.21375243365764618, 0.25584784150123596, 0.4358333945274353, 0.5390170812606812, -0.45515933632850647, 0.2617613673210144, -0.8634717464447021, 0.5847634077072144, 0.11184877902269363, -0.5399706363677979, 0.14309118688106537, 0.5643267631530762, 0.2582343518733978, -0.3404892086982727, 0.4234611988067627, -0.2289751172065735, -0.3871593773365021, 0.9480419754981995, 0.24391639232635498, 0.6823458075523376, 0.11526432633399963, 0.16192898154258728, 0.19690316915512085, 0.09024810045957565, 0.09280151128768921, 0.3633570671081543, -0.42463621497154236, -0.04619571194052696, -0.03629714995622635, -0.6366823315620422, -0.612328827381134, 0.03494013845920563, -0.9292854070663452, 0.12251225113868713, -0.14767952263355255, -0.21340954303741455, 0.11156793683767319, 0.5947632789611816, -0.4159815013408661, 0.14317519962787628, 0.3776448369026184, 0.7565608620643616, -1.2972391843795776, 0.7388224005699158, 0.8120006918907166, -0.5743237733840942, -0.21118392050266266, 0.3651283383369446, 0.33421003818511963, -0.16705909371376038, 0.8222800493240356, 0.024297920987010002, 0.254154235124588, -0.6034677028656006, -0.3931557834148407, -0.5860209465026855, 1.1927976608276367, -0.4409220218658447, -0.9089193344116211, 0.25086793303489685, 0.4638471007347107, 0.5892702341079712, -0.45194146037101746, 0.08518682420253754, 0.32565706968307495, 0.1705879420042038, 0.17176251113414764, -0.5961315631866455, -0.2638583779335022, -0.594749391078949, 0.1591193974018097, 0.3161783814430237, -0.6006107926368713, 1.0268206596374512, 0.23274439573287964, -0.0018406854942440987, -0.34402742981910706, 0.6763180494308472, 0.5708928108215332, 0.5905064940452576, 0.1295599639415741, 0.3836895227432251, 0.6975690722465515, -0.4259207546710968, 0.9545028805732727, -0.492391973733902, 0.17212259769439697, 1.045210361480713, -0.8516119122505188, 0.5402393937110901, 0.6745617389678955, -0.13675782084465027, 0.2103058099746704, 0.8530600666999817, -0.12034521996974945, 0.8742853999137878, 0.464233934879303, -0.0014212974347174168, -0.28771132230758667, -0.47197771072387695, -0.5167019367218018, 0.5344770550727844, 0.7334458231925964, -0.47557348012924194, -0.8579737544059753, 0.05525882914662361, -0.25325122475624084, 0.20492078363895416, -0.5861554741859436, 0.814359724521637, -0.22322724759578705, -0.6479955911636353, -0.4420224726200104, 0.32486432790756226, 0.3346850275993347, -0.5764351487159729, -0.32737746834754944, -0.711931586265564, -0.3427036702632904, 0.17405696213245392, -0.7041677236557007, 0.3299869894981384, 0.28470733761787415, -0.20365183055400848, -0.2589736580848694, 1.0549304485321045, -0.172909215092659, -0.6969807744026184, -0.017040597274899483, 0.556794285774231, 0.28856176137924194, 0.19143250584602356, -0.7475197315216064, -0.14834222197532654, -0.3119995594024658, -0.07247191667556763, 0.41350436210632324, 0.8153786063194275, -0.9834056496620178, 0.31243422627449036, 0.2501160502433777, -0.15529558062553406, 0.02490455098450184, 0.16366149485111237, 0.9648979306221008, -0.6944770812988281, -0.720112681388855, -0.630171537399292, 0.6548652052879333, -0.43591809272766113, -0.3424272835254669, 0.5266385078430176, 0.605178952217102, 0.30987945199012756, 0.2301570475101471, 0.5558927059173584, -0.11798757314682007, 0.41022220253944397, -0.42621541023254395, 1.0542680025100708, -0.5844250321388245, 0.17033176124095917, -0.24770629405975342, -0.5770893692970276, -0.12110792845487595, 0.49731242656707764, -0.4789797365665436, 0.012494070455431938, 0.3811573386192322, 0.5765926837921143, -0.22809556126594543, 0.22093193233013153, 0.266195148229599, -0.3000473976135254, 0.2355298399925232, 0.17971430718898773, 0.8616338968276978, -0.07212571054697037, -0.030119238421320915, -0.566275954246521, 0.2681117057800293, -0.3983632028102875, -0.9015703201293945, -0.8715583086013794, -0.7566114068031311, -0.552386999130249, 0.07282557338476181, 0.21684500575065613, 0.7051684260368347, 0.7670560479164124, -1.179089069366455, -0.32588884234428406, -0.19525064527988434, 0.09693199396133423, 0.5470064282417297, -0.16885997354984283, 0.6079537868499756, -0.23511596024036407, -0.39758923649787903, -0.003420927096158266, 0.24393890798091888, -0.03567799553275108, -0.24049286544322968, 0.5702707171440125, -0.6791626214981079, 0.24262626469135284, 0.5239282846450806, 0.3837314248085022, -0.7920728325843811, 0.08384741842746735, -0.6580126881599426, 0.1297532171010971, 0.3169517517089844, 1.4523594379425049, -0.2852365970611572, 0.5807886123657227, 0.5436674356460571, 0.405977338552475, 0.6905671954154968, 0.23177866637706757, 0.4435974359512329, -0.8370127081871033, 0.4920726716518402, 0.09796024113893509, 0.6553786396980286, 0.039011359214782715, -0.26941969990730286, 0.5911124348640442, 0.19756220281124115, -0.3799717426300049, -0.9727989435195923, 0.02945329248905182, -0.7173643112182617, -0.6638004779815674, 0.6210702657699585, -0.2767454981803894, -0.0752437561750412, -0.40129873156547546, 0.006615821737796068, 0.3887288570404053, -0.3501068949699402, 0.7861048579216003, 1.1910347938537598, -0.2206999510526657, -0.10387192666530609, -0.91321861743927, 0.30673179030418396, 0.17078058421611786, -0.8178614974021912, -0.2032339870929718, 0.34534502029418945, 0.21376267075538635, 0.661150336265564, 0.4200993776321411, -0.6570430397987366, 0.28988802433013916, 0.017611179500818253, 0.11529136449098587, 0.3324846923351288, -0.5532072186470032, -0.6599802374839783, 0.6833427548408508, -0.3117421269416809, 0.1470130831003189 ]
http://arxiv.org/abs/2406.00039v1
http://arxiv.org/pdf/2406.00039v1
How Ready Are Generative Pre-trained Large Language Models for Explaining Bengali Grammatical Errors?
2024-05-27T15:56:45
2024-05-27T15:56:45
Subhankar Maity, Aniket Deroy, Sudeshna Sarkar
cs.CL
cs.CL
Grammatical error correction (GEC) tools, powered by advanced generative artificial intelligence (AI), competently correct linguistic inaccuracies in user input. However, they often fall short in providing essential natural language explanations, which are crucial for learning languages and gaining a deeper understanding of the grammatical rules. There is limited exploration of these tools in low-resource languages such as Bengali. In such languages, grammatical error explanation (GEE) systems should not only correct sentences but also provide explanations for errors. This comprehensive approach can help language learners in their quest for proficiency. Our work introduces a real-world, multi-domain dataset sourced from Bengali speakers of varying proficiency levels and linguistic complexities. This dataset serves as an evaluation benchmark for GEE systems, allowing them to use context information to generate meaningful explanations and high-quality corrections. Various generative pre-trained large language models (LLMs), including GPT-4 Turbo, GPT-3.5 Turbo, Text-davinci-003, Text-babbage-001, Text-curie-001, Text-ada-001, Llama-2-7b, Llama-2-13b, and Llama-2-70b, are assessed against human experts for performance comparison. Our research underscores the limitations in the automatic deployment of current state-of-the-art generative pre-trained LLMs for Bengali GEE. Advocating for human intervention, our findings propose incorporating manual checks to address grammatical errors and improve feedback quality. This approach presents a more suitable strategy to refine the GEC tools in Bengali, emphasizing the educational aspect of language learning.
[ -0.11203783750534058, -0.9081791043281555, 0.39460116624832153, 0.3186010718345642, -0.14510133862495422, 0.044775161892175674, -0.35642004013061523, -0.06332852691411972, -0.2038358598947525, 0.01304540690034628, -0.5457633137702942, -0.41040533781051636, -0.6319079399108887, 0.4240037798881531, -0.2620573043823242, 0.9823369979858398, -0.06794101744890213, 0.21711376309394836, -0.33150148391723633, 0.2758995592594147, -0.6387394666671753, -0.5128607153892517, -0.3932415246963501, -0.11648731678724289, 0.44325828552246094, 0.34676703810691833, 0.5114945769309998, 0.13910548388957977, 0.12947547435760498, 0.4321088492870331, -0.24400217831134796, 0.293253630399704, -0.23471763730049133, -0.11491981893777847, -0.23679597675800323, -0.4147997200489044, -0.6837403774261475, -0.2066364884376526, 0.5109806060791016, 0.9179801940917969, -0.12169988453388214, 0.02930670604109764, 0.2808414399623871, 0.7506422996520996, -0.7084364295005798, 0.3467911183834076, -0.49070805311203003, -0.0712675228714943, -0.2729851305484772, -0.07560030370950699, -0.41034987568855286, -0.5220717191696167, -0.1903640776872635, -0.7914025187492371, 0.3314560055732727, -0.21777334809303284, 0.9784431457519531, 0.2341170608997345, -0.21137137711048126, -0.2634755074977875, -0.6068878769874573, 0.4276917278766632, -0.8399595618247986, 0.08636581152677536, 0.5244112610816956, 0.27526307106018066, -0.29641449451446533, -0.2651810944080353, -0.6391322612762451, -0.12338737398386002, -0.0891946330666542, 0.3954921364784241, 0.015820765867829323, 0.14111730456352234, 0.2394638955593109, 0.24145223200321198, -0.862817645072937, 0.15860697627067566, -0.31071409583091736, -0.33721089363098145, 0.33417221903800964, -0.12249494343996048, 0.2919921278953552, -0.41485950350761414, 0.13681405782699585, 0.22124312818050385, -0.7433422207832336, 0.011454724706709385, 0.6607958078384399, 0.3956257402896881, -0.24437910318374634, 0.47125276923179626, -0.06325266510248184, 1.2358425855636597, 0.13513699173927307, 0.07374904304742813, 0.038725193589925766, -0.509865939617157, -0.402254581451416, -0.28250518441200256, 0.4323405921459198, 0.013536212965846062, 0.8078312277793884, -0.04849296435713768, -0.12705038487911224, 0.2558477818965912, 0.37170618772506714, -0.3611672818660736, -0.14784827828407288, 0.07526426762342453, -0.14622443914413452, 0.08275526016950607, 0.0019530983408913016, -1.045723557472229, -0.30836278200149536, -0.4302803575992584, 0.42765069007873535, -0.258891761302948, -0.29879114031791687, 0.13861331343650818, 0.1315358430147171, 0.036622658371925354, 0.3407551944255829, -1.1757190227508545, -0.05387891083955765, 0.5119919776916504, 0.6165338158607483, 0.3234994113445282, -0.3660643398761749, -0.37878361344337463, -0.0016985881375148892, -0.5310451984405518, 0.8019300699234009, -0.34375375509262085, -0.41009947657585144, 0.5166494846343994, -0.06620347499847412, -0.31895723938941956, -0.59300297498703, 0.4208971858024597, -0.5521969199180603, 0.11029674857854843, -0.15086884796619415, -0.4427625238895416, -0.1502467840909958, 0.2433466911315918, -0.26658809185028076, 0.7074248194694519, 0.24533097445964813, -0.5851116180419922, 0.4063470661640167, -0.5392038226127625, -0.6127991080284119, 0.15572038292884827, -0.07181932777166367, -0.1989973485469818, 0.19723977148532867, 0.5091820955276489, 0.6993703842163086, 0.04188357666134834, 0.6078680753707886, -0.1207716092467308, -0.5365996956825256, 0.14131119847297668, -0.4575529098510742, 0.837232768535614, 0.019448386505246162, -0.34786978363990784, 0.3324893116950989, -0.9391742944717407, 0.19953849911689758, -0.0510275661945343, -0.35894304513931274, 0.030179165303707123, 0.006957713980227709, -0.23597760498523712, -0.1365881711244583, 0.06785953044891357, -0.1080259457230568, 0.18117627501487732, -0.40138739347457886, 0.42322832345962524, 0.9841629862785339, -0.3584059476852417, 0.24152404069900513, 0.021198099479079247, 0.8843439221382141, -0.08774952590465546, 0.1675022691488266, -0.21269001066684723, -0.40346580743789673, -0.766867995262146, -0.1356063336133957, 0.44144245982170105, 0.5500189065933228, -0.7306278944015503, 0.5852639079093933, -0.46596771478652954, -0.232859268784523, -0.6381369829177856, 0.28595829010009766, 0.5984001755714417, 0.5307938456535339, 0.2843356430530548, 0.14243002235889435, -0.6367244124412537, -0.7167021632194519, -0.3582223057746887, -0.43361589312553406, -0.04154960438609123, 0.02539057657122612, 0.43217331171035767, -0.42246535420417786, 1.0018901824951172, -0.20068201422691345, 0.07035082578659058, -0.3403139114379883, 0.27004268765449524, 0.157338947057724, 0.16645996272563934, 0.38449224829673767, -0.8882879614830017, -0.3530578911304474, -0.018185943365097046, -0.7958847880363464, -0.3610469400882721, -0.08653843402862549, -0.05869544297456741, 0.6178851127624512, 0.29299795627593994, -0.42651990056037903, 0.5778765082359314, 0.8329032063484192, -0.23089244961738586, 1.0354779958724976, -0.4325709044933319, 0.23740558326244354, -0.7220394611358643, -0.015218924731016159, -0.023351989686489105, -0.18339227139949799, -0.4687105119228363, -0.02804664894938469, 0.06703881919384003, -0.15274891257286072, -0.11451446264982224, 0.40242671966552734, -0.5804951786994934, -0.1576472669839859, -0.001777173369191587, 0.2535261809825897, -0.07002263516187668, 0.41541528701782227, -0.22634872794151306, 1.0961419343948364, 0.49998030066490173, -0.6838120818138123, 0.23196016252040863, 0.24410030245780945, -0.4437791109085083, 0.40390869975090027, -0.616748034954071, -0.06582951545715332, -0.04322662577033043, 0.054913394153118134, -1.139680027961731, -0.7454203963279724, 0.2763652801513672, -0.644622266292572, 0.48054683208465576, -0.4284709393978119, -0.3954126834869385, -0.46788489818573, 0.1401447355747223, 0.2345169186592102, 0.5289601683616638, -0.6891388297080994, 0.5610718131065369, -0.03158201277256012, -0.5399102568626404, -0.5920959711074829, -0.6549021601676941, 0.1132393628358841, 0.1483803391456604, -0.7784427404403687, -0.07872191816568375, -0.14375166594982147, -0.3546000123023987, -0.022540202364325523, -0.014827968552708626, -0.07081914693117142, 0.21436700224876404, 0.37461161613464355, 0.4162323772907257, -0.10358293354511261, 0.3069499135017395, -0.05527617037296295, -0.23547092080116272, 0.009495098143815994, -0.2013532519340515, 0.4479769468307495, -0.35249006748199463, -0.49449020624160767, -0.3794911205768585, 0.30515027046203613, 0.4516211748123169, 0.022463692352175713, 0.6870467066764832, 0.41669806838035583, -0.3098352551460266, -0.0027627923991531134, -0.6307308077812195, 0.2047581821680069, -0.40403100848197937, 0.40269118547439575, -0.3901250958442688, -0.610883355140686, 0.5915626287460327, 0.03646096587181091, -0.4235752522945404, 0.4607239067554474, 0.6325109004974365, -0.19980686902999878, 0.8289890885353088, 0.5534919500350952, -0.0544322207570076, 0.2529118061065674, -0.01851048693060875, 0.46761780977249146, -0.5706902742385864, -0.268131822347641, -0.5327688455581665, 0.24483662843704224, -0.5167563557624817, -0.13695988059043884, 0.24484741687774658, 0.3102591037750244, -0.36937975883483887, 0.029224524274468422, -0.32752206921577454, 0.28328850865364075, 0.43333113193511963, -0.12207034230232239, 0.037944141775369644, 0.11065541207790375, -0.06711551547050476, -0.06115579605102539, -0.7695513963699341, -0.6963403820991516, 0.8204713463783264, -0.12115009129047394, 0.7828497290611267, 0.04364246875047684, 0.41231775283813477, 0.3240862190723419, 0.36598625779151917, -0.604570746421814, 0.5241374969482422, -0.23936396837234497, -0.6427943110466003, -0.21393245458602905, -0.394188791513443, -0.7223660349845886, 0.158611461520195, -0.031907036900520325, -0.44691941142082214, 0.07042233645915985, 0.5047392249107361, -0.3761216998100281, 0.18234620988368988, -1.0971333980560303, 0.8860529065132141, -0.3123396039009094, -0.3999047875404358, 0.030249102041125298, -0.669849157333374, 0.2759610414505005, -0.11740865558385849, 0.4581102132797241, 0.2037758231163025, 0.28487658500671387, 0.5346511006355286, -0.4252886474132538, 1.1016026735305786, -0.42383086681365967, -0.29709675908088684, 0.2558403015136719, -0.13277758657932281, 0.4096427857875824, -0.11482905596494675, -0.15169697999954224, 0.2133045196533203, -0.4116591215133667, -0.6146605014801025, -0.5798631906509399, 0.3954602777957916, -0.7354663014411926, -0.7015906572341919, -0.42417997121810913, -0.2199990451335907, -0.3454752564430237, -0.11490152031183243, 0.5187381505966187, 0.4791977107524872, 0.05703861266374588, -0.20632529258728027, 0.24584713578224182, -0.22701963782310486, 0.32606104016304016, 0.37815868854522705, -0.03463085740804672, -0.3006752133369446, 0.761359453201294, 0.25455206632614136, 0.23705103993415833, 0.09968122094869614, 0.04293157905340195, -0.16279253363609314, -0.8020772933959961, -0.68312668800354, 0.1795140951871872, -0.7170081734657288, -0.13295859098434448, -0.3634658455848694, -0.04950539395213127, -0.832712709903717, -0.3404478430747986, 0.0428134985268116, -0.00824414286762476, -0.36980029940605164, -0.1627039909362793, 0.11412732303142548, 0.8981656432151794, -0.16520647704601288, 0.5441200733184814, -0.9398708939552307, 0.28895989060401917, 0.30569446086883545, 0.38199543952941895, 0.04560805484652519, -0.7741804122924805, -0.28186696767807007, 0.2539694607257843, 0.019833780825138092, -0.8992766737937927, 0.35641467571258545, 0.2936214506626129, 0.47761744260787964, 0.34966206550598145, -0.5592127442359924, 1.1322875022888184, -0.5518894791603088, 1.0488466024398804, 0.018138783052563667, -1.2013578414916992, 0.7816144227981567, -0.5654011368751526, 0.15917342901229858, 0.3884056508541107, 0.41854366660118103, -0.578724205493927, 0.07701235264539719, -0.35583430528640747, -0.8878253102302551, 0.45278164744377136, -0.11972849071025848, -0.027768053114414215, -0.1103634312748909, 0.7670406103134155, 0.27483227849006653, 0.17497244477272034, -0.8275083303451538, 0.12531226873397827, -0.27808570861816406, -0.19071511924266815, -0.3565843403339386, -0.6164389848709106, -0.10345486551523209, -0.20479175448417664, 0.9676058888435364, -0.3240624964237213, 0.20750507712364197, 0.0933518186211586, -0.39748266339302063, 0.021862424910068512, 0.6164705157279968, 0.7480618357658386, 1.0323156118392944, 0.14039772748947144, -0.10261356085538864, -0.07675056159496307, -0.2904997169971466, 0.289802610874176, 0.13673390448093414, 0.03765369951725006, -0.11881127953529358, 0.8844055533409119, 0.7008174657821655, 0.14490258693695068, -0.671678900718689, 0.597844123840332, 0.18280959129333496, 0.029288213700056076, -0.4862372577190399, -0.1402483582496643, 0.07612422108650208, -0.07706210762262344, 0.2454916536808014, 0.1657210737466812, -0.15521883964538574, -0.47319525480270386, -0.19955657422542572, 0.1211652010679245, 0.00205194391310215, -0.5619015097618103, 0.3257436156272888, 0.32909804582595825, -0.3024005591869354, 0.7645740509033203, -0.49859532713890076, -0.7781783938407898, 0.49682220816612244, 0.501071035861969, 0.5999720692634583, -0.23602063953876495, 0.43804338574409485, 0.29451635479927063, 0.14968883991241455, -0.09144166857004166, 0.18096923828125, 0.09679555892944336, -0.6460262537002563, -0.8998907208442688, -0.5981858968734741, -0.17170418798923492, -0.014991861768066883, -0.7718600034713745, -0.08875132352113724, -0.2980249524116516, -0.05140956491231918, -0.2725268304347992, -0.2929859459400177, -0.6867383122444153, 0.30259186029434204, -0.12162172049283981, 0.5991414189338684, -1.1376855373382568, 0.41647517681121826, 0.8584436774253845, -0.5016684532165527, -0.9279100298881531, 0.11439452320337296, 0.10500549525022507, -0.9922194480895996, 0.9046274423599243, 0.03356894105672836, -0.20461249351501465, -0.15640482306480408, -0.5130324363708496, -0.3702230453491211, 0.37253162264823914, 0.5083321332931519, -0.8458226323127747, -0.14179375767707825, 0.005305850878357887, 0.7795789837837219, 0.07866762578487396, 0.3017393946647644, 0.49028706550598145, 0.7768296599388123, -0.19580933451652527, -0.7576143741607666, -0.29131999611854553, -0.4287633001804352, 0.04507462680339813, 0.003595671383664012, -0.2952316105365753, 0.7986465692520142, -0.3939476013183594, -0.2020929604768753, 0.334745317697525, 0.5887922048568726, -0.03453102707862854, 0.09108301252126694, 0.4080769419670105, 0.42734047770500183, 0.740685224533081, -0.3584677278995514, 1.342774748802185, 0.16145870089530945, 0.20601560175418854, 1.058699369430542, -0.2257770299911499, 0.8028839826583862, 0.42158812284469604, -0.5122362375259399, 0.691044807434082, 0.9677068591117859, 0.18549710512161255, 0.1802002340555191, 0.4469712972640991, -0.27948975563049316, -0.44645896553993225, 0.08154729753732681, -0.31574761867523193, 0.33766281604766846, 0.39894992113113403, 0.09441127628087997, -0.061114612966775894, 0.25045228004455566, -0.14123107492923737, 0.40207135677337646, -0.3872508406639099, 0.6625722050666809, -0.2974295914173126, -0.8281167149543762, 0.7827008366584778, -0.36734873056411743, 0.7924074530601501, -0.6321148872375488, -0.08803592622280121, -0.3772164583206177, 0.3793394863605499, -0.4193519055843353, -0.5981221199035645, 0.10933002829551697, 0.38011592626571655, -0.38689276576042175, -0.1420236974954605, 0.5975911021232605, -0.4289354681968689, -0.49712738394737244, 0.45238009095191956, 0.48183801770210266, 0.3128247857093811, -0.05032692849636078, -0.35563647747039795, 0.09680844843387604, -0.11424393951892853, 0.04710349813103676, 0.1075223833322525, 0.3694208264350891, 0.0710802748799324, 0.6553128957748413, 0.32720184326171875, 0.49922919273376465, 0.3323177695274353, 0.42276009917259216, 0.4719545543193817, -0.3412274122238159, -0.2857876420021057, -0.7143381834030151, 0.6928284168243408, 0.04296005889773369, -0.2474086582660675, 0.7177382111549377, 0.1181555986404419, 1.0757533311843872, -0.4733371138572693, 1.0243679285049438, -0.04032648727297783, 0.4909893572330475, -0.7465381622314453, 0.4654696583747864, -0.6238943338394165, 0.0884530320763588, -0.03621824458241463, -0.8072728514671326, -0.3232935667037964, 0.7644866108894348, -0.3047037720680237, 0.5689612030982971, 0.6135975122451782, 0.8202831745147705, 0.2517119348049164, 0.010992111638188362, 0.36467933654785156, 0.5634561777114868, 0.27303725481033325, 0.26744672656059265, 0.9212296605110168, -0.21240603923797607, 0.41023415327072144, 0.2175179421901703, -0.4009505808353424, -0.3397950828075409, -0.9169896841049194, -0.7067286372184753, -0.5667219161987305, -0.16067087650299072, -0.15948733687400818, 0.693129301071167, 0.6878076195716858, 0.6820377707481384, -0.7532872557640076, 0.03992718458175659, -0.20265834033489227, -0.09153854101896286, -0.18137028813362122, -0.20008063316345215, 0.436646968126297, -0.6678407788276672, -0.8024177551269531, 0.46905550360679626, 0.10705883055925369, 0.13356630504131317, -0.23384816944599152, 0.0005787066766060889, -0.2981359660625458, -0.23087573051452637, 0.57138991355896, 0.2989400625228882, -0.8844118714332581, -0.5593118667602539, -0.24444426596164703, 0.12238159775733948, -0.0531996451318264, 0.8649286031723022, -0.7095074653625488, 0.5984662175178528, 0.5012332797050476, 0.8689106702804565, -0.05100664123892784, 0.06480174511671066, 0.5140535831451416, -0.7390673756599426, 0.029417727142572403, 0.1165003553032875, 0.47491583228111267, 0.5856378078460693, -0.314083993434906, 0.5793808102607727, 0.35046255588531494, -0.6557453274726868, -0.5983898043632507, 0.06205194815993309, -0.774551272392273, -0.22397376596927643, 1.165331244468689, -0.5654929876327515, -0.15012970566749573, -0.2126629650592804, -0.20255811512470245, 0.4107334315776825, 0.03489071875810623, 0.7558520436286926, 1.1546196937561035, 0.019539320841431618, 0.2686500549316406, -0.5129705667495728, 0.4027763903141022, 0.7293497920036316, -1.0352449417114258, 0.38383176922798157, 0.6273586750030518, 0.24579088389873505, 0.21585698425769806, 0.4661600589752197, -0.10540851950645447, 0.39238664507865906, 0.04200005158782005, 0.0576108954846859, -0.15526874363422394, -0.6489884257316589, -0.7887862920761108, -0.07600035518407822, 0.02854626439511776, -0.10968649387359619 ]
http://arxiv.org/abs/2405.17284v2
http://arxiv.org/pdf/2405.17284v2
An NLP Crosswalk Between the Common Core State Standards and NAEP Item Specifications
2024-05-27T15:47:46
2024-05-31T21:30:44
Gregory Camilli
cs.CL
cs.CL, cs.AI
Natural language processing (NLP) is rapidly developing for applications in educational assessment. In this paper, I describe an NLP-based procedure that can be used to support subject matter experts in establishing a crosswalk between item specifications and content standards. This paper extends recent work by proposing and demonstrating the use of multivariate similarity based on embedding vectors for sentences or texts. In particular, a hybrid regression procedure is demonstrated for establishing the match of each content standard to multiple item specifications. The procedure is used to evaluate the match of the Common Core State Standards (CCSS) for mathematics at grade 4 to the corresponding item specifications for the 2026 National Assessment of Educational Progress (NAEP).
[ -0.6344025731086731, -0.7855710983276367, 0.4015396535396576, 0.4361230731010437, 0.05802325904369354, 0.4472212791442871, -0.1666519045829773, -0.3973478376865387, 0.3226144313812256, 0.5447569489479065, -0.41738247871398926, -0.6276795268058777, -0.4629339873790741, 0.23579852283000946, -0.5489922761917114, 0.5968695878982544, -0.4247605800628662, -0.11090538650751114, -0.591340959072113, -0.09962441772222519, -0.9198731184005737, -0.364177942276001, -0.4796755313873291, -0.06068190187215805, 0.23303258419036865, 0.36251890659332275, 0.5487850904464722, 0.2594467103481293, 0.6708018779754639, 0.25875237584114075, 0.09909988194704056, 0.4329269230365753, 0.19774015247821808, 0.26235538721084595, -0.5314738154411316, 0.020203271880745888, -0.5407912731170654, 0.2172393500804901, 0.5922368764877319, 0.8018015623092651, 0.0009038703283295035, 0.22919602692127228, 0.6006820201873779, 0.4957646429538727, -0.6928055882453918, 0.059990156441926956, -0.2069183886051178, 0.2966180443763733, 0.05232202634215355, -0.4982774257659912, -0.33547243475914, -0.3641999363899231, 0.3752724826335907, -0.5035950541496277, 0.2628379762172699, -0.036652710288763046, 0.7109474539756775, -0.05558420717716217, -0.25643208622932434, -0.5160633325576782, -0.543532133102417, 1.2144522666931152, -0.385621041059494, 0.48252010345458984, 0.5269105434417725, 0.2540176808834076, 0.024265892803668976, -0.49389851093292236, -0.44819971919059753, -0.09166524559259415, -0.16034628450870514, -0.038386475294828415, 0.03133731335401535, -0.13249972462654114, 0.1871439665555954, 0.3817380666732788, -0.8390218615531921, -0.17886823415756226, -0.2927713096141815, -0.2521936297416687, 0.6080467104911804, 0.3054995536804199, 0.2881866991519928, -0.35496968030929565, -0.6142573952674866, -0.15919974446296692, -0.3498857915401459, -0.003307059407234192, 0.22243346273899078, 0.7323369979858398, -0.20028766989707947, 0.8392576575279236, -0.24841921031475067, 0.8841665983200073, -0.28080782294273376, -0.20414091646671295, 0.5207546949386597, -0.871663510799408, -0.2141251266002655, -0.08043727278709412, 0.6475846171379089, 0.5732861161231995, 0.11664113402366638, -0.09867484122514725, -0.04547294229269028, 0.29315927624702454, 0.21040678024291992, -0.16176053881645203, -0.02351624332368374, 0.025964319705963135, -0.5274755954742432, 0.18490727245807648, -0.06892843544483185, -1.0939557552337646, 0.032665543258190155, -0.9034329056739807, 0.3626105487346649, -0.39396077394485474, 0.3241328001022339, 0.5038912296295166, -0.07417938858270645, 0.38093873858451843, 0.02442612498998642, -0.7836982011795044, 0.8908549547195435, 0.9100650548934937, 1.1131548881530762, -0.40484586358070374, -0.15312203764915466, -0.41812023520469666, -0.1793053299188614, -0.12663733959197998, 0.8450742363929749, -0.8888881802558899, -0.29425084590911865, 0.21587678790092468, -0.270557165145874, -0.1770130842924118, -0.4267982244491577, 0.7066239714622498, -0.21842633187770844, 0.4016469419002533, -0.22533152997493744, -0.6516244411468506, -0.22133298218250275, 0.7235492467880249, -0.6369755864143372, 1.2344567775726318, 0.2082251012325287, -0.6336454749107361, 0.3346825838088989, -0.7045854926109314, -0.3760097324848175, -0.07390835136175156, -0.21479643881320953, -0.400316059589386, -0.3282974660396576, 0.47081220149993896, 0.5187415480613708, -0.3702060878276825, -0.012991647236049175, -0.2131025642156601, -0.11310461163520813, -0.2761830985546112, -0.3389563262462616, 0.8058590888977051, -0.23628191649913788, -0.0092487633228302, -0.24166090786457062, -0.9889057278633118, 0.49810081720352173, -0.30011019110679626, -0.37459516525268555, -0.618562638759613, -0.02322455681860447, 0.061912763863801956, 0.4246371388435364, 0.5819945335388184, -0.4925670027732849, 0.21937796473503113, -0.12784425914287567, -0.13900575041770935, 0.38691914081573486, 0.06906872987747192, 0.4379884600639343, -0.38846877217292786, 0.6291744112968445, -0.3922600746154785, 0.13652727007865906, 0.09115475416183472, -0.9575516581535339, -0.489810585975647, 0.08746569603681564, 0.2912992537021637, 0.7069580554962158, -0.557072639465332, 0.8311662077903748, 0.013517793267965317, -0.35282620787620544, -0.5519708395004272, 0.12001214176416397, 0.3928546905517578, 0.5368559956550598, 0.9565525650978088, -0.33799460530281067, -1.01033616065979, -0.9585385322570801, -0.34159916639328003, 0.06316634267568588, -0.1947481632232666, 0.039085254073143005, 0.25415363907814026, 0.12017031759023666, 1.0227240324020386, -0.39505723118782043, -0.6856654286384583, -0.11231332272291183, 0.4862912595272064, 0.04975026100873947, 0.689463198184967, 0.6551218032836914, -0.646747350692749, -0.7888513803482056, -0.11064617335796356, -0.3873257040977478, -0.1851586401462555, 0.003722784575074911, -0.30976271629333496, -0.13149265944957733, 0.4291572868824005, -0.026003681123256683, 0.5744199156761169, 0.7896215915679932, -0.6283800601959229, 0.455316424369812, -0.04550204798579216, 0.24168147146701813, -1.1512107849121094, -0.123419851064682, 0.32760605216026306, -0.2007288932800293, -0.38661038875579834, 0.07904292643070221, -0.19210435450077057, 0.17594057321548462, -0.20468056201934814, 0.42042338848114014, -0.18632008135318756, -0.37504270672798157, -0.09505590051412582, 0.3884658217430115, 0.22795133292675018, 0.09138406068086624, 0.4530312418937683, 0.5802922248840332, 0.6376187801361084, -0.5537448525428772, 0.28949400782585144, 0.5298940539360046, -0.29553860425949097, 1.2150156497955322, -0.4224538803100586, -0.02476639300584793, 0.2794710099697113, -0.048160944133996964, -0.43398749828338623, 0.6449053287506104, 0.18663838505744934, -0.4501456916332245, -0.16475623846054077, 0.05095725506544113, -0.43318846821784973, -0.24227936565876007, -0.28802791237831116, 0.18826699256896973, 0.12814241647720337, -0.3268078863620758, 0.9362702965736389, 0.20048925280570984, -0.33709320425987244, -0.6957024931907654, -0.5072615742683411, 0.28073790669441223, -0.02956029213964939, -0.5567595958709717, 0.5661799907684326, -0.34793388843536377, -0.19539067149162292, 0.06910455226898193, 0.13421592116355896, -0.33854931592941284, 0.04180911183357239, -0.10324741154909134, 0.4555611312389374, -0.633945107460022, -0.0239347442984581, -0.001662920112721622, -0.1520949751138687, 0.2028466910123825, 0.06374247372150421, 0.6836827993392944, -0.1722351610660553, -0.2965342402458191, -0.20754052698612213, 0.7729480862617493, -0.038804493844509125, -0.24211856722831726, 0.42050275206565857, 0.47801893949508667, -0.40967857837677, -0.31843528151512146, -0.22018370032310486, 0.1143449991941452, -0.47096794843673706, 0.26453495025634766, -0.35515448451042175, -0.45642349123954773, 0.06627216935157776, 0.3068576455116272, 0.4018747806549072, 0.35873737931251526, 0.3161131739616394, -0.08220737427473068, 0.919944167137146, 0.75681072473526, 0.2211044877767563, 0.1824156790971756, -0.09352367371320724, 0.3589170575141907, -1.132006049156189, -0.46972349286079407, -0.8322772979736328, -0.6494281888008118, -0.46956101059913635, -0.9030311703681946, -0.06476256251335144, -0.27107372879981995, -0.020676523447036743, 0.7216646671295166, -0.5272150635719299, 0.44010061025619507, 0.5365200638771057, -0.1958826631307602, 0.37684765458106995, -0.08271129429340363, -0.3488231301307678, -0.4242017865180969, -0.3786650002002716, -0.7269682288169861, 1.0061659812927246, 0.17573986947536469, 0.6121014952659607, 0.06198665499687195, 0.684311032295227, 0.42307794094085693, 0.18702855706214905, -0.7401993274688721, 0.7294492721557617, -0.45480024814605713, -0.4616101384162903, -0.1787998080253601, -0.21837450563907623, -0.7806417346000671, 0.20692510902881622, -0.7753151655197144, -0.7531366944313049, 0.13510821759700775, -0.26095032691955566, -0.2934011220932007, 0.21823973953723907, -0.3598261773586273, 0.6420882940292358, -0.05436909943819046, 0.10312562435865402, -0.0874413400888443, -0.2773755192756653, 0.11430302262306213, -0.036005519330501556, 0.03698655962944031, -0.23052287101745605, -0.16895058751106262, 1.050795078277588, 0.019666198641061783, 0.6230255961418152, 0.1783961057662964, 0.11247599124908447, 0.3000054657459259, 0.18623612821102142, -0.0966748595237732, -0.08002419769763947, -0.028104225173592567, -0.06767131388187408, 0.09661848843097687, -0.5111725330352783, -0.8387014269828796, 0.6962496638298035, -0.5579338669776917, -0.2744978666305542, -0.45461368560791016, -0.6013171076774597, -0.5252112150192261, 0.004707045387476683, -0.389020174741745, 0.2667723000049591, -0.299929678440094, 0.24857750535011292, 0.43625694513320923, -0.10153377056121826, 0.40814313292503357, 0.6227728724479675, -0.1273048222064972, -0.028037788346409798, 0.917987585067749, -0.025314996019005775, 0.1664429008960724, 0.5409812331199646, 0.3935243487358093, -0.4074557423591614, -0.3316745162010193, 0.09981408715248108, 0.047744933515787125, -0.7524676322937012, -0.28736650943756104, -0.5952678918838501, -0.4535169303417206, -0.4435800611972809, -0.5797115564346313, -0.48245513439178467, -0.23627223074436188, -0.31815388798713684, -0.15232335031032562, 0.14523346722126007, 0.9668506383895874, -0.1204926148056984, -0.18864332139492035, -0.8560641407966614, 0.33544886112213135, 0.4217398166656494, 0.3525375425815582, -0.09721767902374268, -0.4812997281551361, -0.07956217229366302, -0.12470080703496933, -0.4934123158454895, -0.5101945400238037, 0.24716752767562866, 0.3005272150039673, 0.7227354049682617, 0.16403457522392273, -0.009847259148955345, 0.6400401592254639, -0.4758612811565399, 0.8702455163002014, 0.22033607959747314, -1.2993078231811523, 0.45326435565948486, 0.13774654269218445, -0.03636099770665169, 0.5073330998420715, 0.5822105407714844, -0.6331552863121033, -0.4079933762550354, -0.6409139037132263, -0.735991358757019, -0.058987557888031006, 0.19912484288215637, 0.029886407777667046, -0.12350497394800186, -0.07739019393920898, 0.08952471613883972, 0.04860900342464447, -0.5110473036766052, -0.2965015470981598, 0.007897598668932915, -0.4053877890110016, 0.012169216759502888, 0.12490580976009369, -0.12792548537254333, -0.10990730673074722, 0.3655741512775421, -0.3366069793701172, 0.11603697389364243, 0.025518912822008133, 0.1302681267261505, 0.29766321182250977, 0.309248685836792, 0.4066230356693268, 0.77762770652771, -0.0684831514954567, 0.13060583174228668, 0.13825519382953644, -0.5218136310577393, 0.036713823676109314, 0.1520666778087616, -0.05000665411353111, 0.2849082946777344, 0.5270382165908813, 0.15170924365520477, 0.5202054977416992, -0.5504192113876343, 0.6900891065597534, -0.20086728036403656, -0.3399176299571991, -0.24637779593467712, -0.17337734997272491, -0.1674880087375641, 0.12121310085058212, 0.08677026629447937, 0.14349041879177094, 0.14156538248062134, -0.4909413754940033, 0.7674485445022583, 0.2501883804798126, -0.5115780234336853, -0.23074489831924438, 0.31907156109809875, 0.18931883573532104, -0.47106730937957764, 0.4902513027191162, -0.12397118657827377, -0.26122790575027466, 0.553543210029602, 0.5954009294509888, 0.6581026315689087, -0.28351399302482605, 0.6671675443649292, 0.7427423000335693, 0.32348743081092834, -0.10688282549381256, 0.7141295075416565, 0.1992468386888504, -0.76140958070755, -0.5296969413757324, -0.6055466532707214, -0.42414700984954834, -0.23173314332962036, -1.0031079053878784, 0.6186468005180359, -0.6117185950279236, 0.11058304458856583, 0.029410941526293755, 0.09041091799736023, -1.0035345554351807, 0.47439756989479065, 0.43733036518096924, 0.958856463432312, -1.2462340593338013, 0.35930418968200684, 0.5499767661094666, -0.40512314438819885, -0.6782280802726746, -0.16527245938777924, -0.12046682089567184, -0.7141588926315308, 0.5971788167953491, -0.1782841980457306, 0.18913643062114716, -0.5827074646949768, -0.09257455915212631, -1.0274940729141235, 0.7804374694824219, -0.2818922698497772, -0.4980829656124115, -0.25371915102005005, 0.37572193145751953, 0.6733906865119934, -0.666759729385376, 0.1893073171377182, 0.7397487759590149, 0.5203285217285156, -0.3219200372695923, -0.941760778427124, 0.05307886749505997, 0.056502360850572586, -0.18411438167095184, 0.1175270676612854, -0.09546773135662079, 0.9011622071266174, 0.08626009523868561, -0.08970043063163757, 0.06561582535505295, 0.7076408267021179, 0.42417460680007935, 0.30456748604774475, 0.5280455946922302, 0.5389783978462219, 0.6155507564544678, -0.015114730224013329, 0.6358321905136108, -0.1821935623884201, 0.46064168214797974, 1.4268484115600586, -0.10074152797460556, 1.3535094261169434, 0.6406983137130737, -0.3973037302494049, 0.8610990643501282, 0.28156816959381104, -0.19142816960811615, 0.28102055191993713, 0.11131522059440613, -0.023883502930402756, -0.13191035389900208, -0.1525069922208786, -0.23420582711696625, 0.6338626742362976, 0.6280444264411926, -0.4493025839328766, -0.6007135510444641, -0.12855274975299835, -0.3358282446861267, 0.6860297918319702, -0.36235126852989197, 0.4027027487754822, 0.07747859507799149, -0.557425856590271, 0.09522968530654907, -0.14472146332263947, 0.5869507193565369, -0.3125486671924591, -0.38061484694480896, 0.2756369709968567, -0.3134952187538147, -0.15520910918712616, -1.3217474222183228, 0.7228948473930359, -0.13437119126319885, -0.10829424113035202, -0.23237287998199463, 0.231505885720253, -0.5589759349822998, -0.6604005098342896, 0.6426301598548889, 0.5326066613197327, -0.17128124833106995, 0.31000733375549316, -1.0269606113433838, -0.20129185914993286, -0.26025858521461487, 0.05610557273030281, 0.17985260486602783, 0.2722164988517761, 0.12656797468662262, 0.43699023127555847, 0.5776338577270508, 0.15077823400497437, 0.28135237097740173, 0.3634171783924103, 0.5972143411636353, -0.6619271039962769, -0.5871406197547913, -0.3996034264564514, 0.42627692222595215, -0.2459375560283661, -0.6101869940757751, 0.6294997334480286, 0.7088391184806824, 0.9108958840370178, 0.22915519773960114, 0.7870162725448608, -0.1726119965314865, 0.9592037796974182, -0.6860864758491516, 0.07296331226825714, -0.388950914144516, 0.11300376057624817, -0.35471436381340027, -1.2684978246688843, -0.420583575963974, 0.766292154788971, -0.3268420994281769, -0.02955389954149723, 1.0866386890411377, 0.41938963532447815, -0.1673518270254135, 0.08354086428880692, 0.39909088611602783, -0.324499249458313, 0.2619915306568146, 0.5372155904769897, 0.7020934224128723, -0.5868546366691589, 0.47524380683898926, -0.3778979778289795, -0.009782213717699051, 0.02720450796186924, -0.8550394177436829, -1.0754090547561646, -0.699152410030365, -0.5831752419471741, -0.4918213486671448, -0.15790486335754395, 1.0184217691421509, 0.31278833746910095, -0.7591193914413452, -0.16674183309078217, 0.1860785037279129, 0.14075297117233276, -0.6260125637054443, -0.3259297311306, 0.48831138014793396, -0.22168748080730438, -0.8206889629364014, 0.3766878843307495, 0.34358224272727966, 0.06765492260456085, -0.580261766910553, 0.09981174021959305, -0.5054319500923157, 0.28538572788238525, 0.6179942488670349, 0.29060041904449463, -0.6769422292709351, -0.5771476030349731, 0.06359194964170456, -0.03766088932752609, 0.2783504128456116, 0.9222486019134521, -0.6218858361244202, 0.5841367840766907, 0.7348383665084839, 0.6222120523452759, -0.03721960633993149, 0.03364219143986702, 0.766701340675354, -0.8661636114120483, -0.17058075964450836, 0.62833172082901, 0.3950172960758209, 0.4822286367416382, -0.06870300322771072, 0.3009655177593231, -0.03249684348702431, -0.46789976954460144, -0.48111534118652344, 0.2100270837545395, -1.0794085264205933, 0.04125893861055374, 0.9028666019439697, -0.2329561710357666, -0.12299494445323944, -0.7563908696174622, -0.06062527000904083, -0.22389402985572815, -0.1529667228460312, 0.8457639813423157, 0.7298192381858826, -0.08846355229616165, -0.07102121412754059, -0.4434763491153717, 0.34076380729675293, 0.17630676925182343, -0.8412759900093079, -0.2855835556983948, -0.26872220635414124, 0.20032824575901031, 0.6448045372962952, 0.3064357042312622, -0.1387740969657898, 0.17664876580238342, 0.1592721790075302, 0.04991253837943077, 0.5087260007858276, -0.3779590427875519, 0.021940093487501144, 0.22532634437084198, -0.4536990821361542, -0.2199660688638687 ]
http://arxiv.org/abs/2405.17280v1
http://arxiv.org/pdf/2405.17280v1
A Library for Automatic Natural Language Generation of Spanish Texts
2024-05-27T15:44:06
2024-05-27T15:44:06
Silvia García-Méndez, Milagros Fernández-Gavilanes, Enrique Costa-Montenegro, Jonathan Juncal-Martínez, F. Javier González-Castaño
cs.CL
cs.CL
In this article we present a novel system for natural language generation (NLG) of Spanish sentences from a minimum set of meaningful words (such as nouns, verbs and adjectives) which, unlike other state-of-the-art solutions, performs the NLG task in a fully automatic way, exploiting both knowledge-based and statistical approaches. Relying on its linguistic knowledge of vocabulary and grammar, the system is able to generate complete, coherent and correctly spelled sentences from the main word sets presented by the user. The system, which was designed to be integrable, portable and efficient, can be easily adapted to other languages by design and can feasibly be integrated in a wide range of digital devices. During its development we also created a supplementary lexicon for Spanish, aLexiS, with wide coverage and high precision, as well as syntactic trees from a freely available definite-clause grammar. The resulting NLG library has been evaluated both automatically and manually (annotation). The system can potentially be used in different application domains such as augmentative communication and automatic generation of administrative reports or news.
[ -0.42666760087013245, -0.8473057746887207, 0.2880619466304779, 0.5948963165283203, -0.2787671387195587, 0.07547298818826675, -0.2066895067691803, -0.5043182373046875, 0.5922219157218933, 0.539735734462738, -0.6821161508560181, -0.6086578369140625, -0.21220900118350983, 0.6915489435195923, -0.6033132076263428, 0.8206371665000916, 0.37820664048194885, -0.2277410924434662, 0.06752990186214447, 0.14638128876686096, -0.4657161831855774, -0.13232509791851044, -0.7248827219009399, -0.2195425182580948, 0.46972984075546265, 0.3825594186782837, 0.8594236969947815, 0.8423689603805542, 0.40542277693748474, 0.3397209644317627, 0.2436877191066742, 0.4860272705554962, -0.05812454968690872, 0.1647212952375412, -0.41914546489715576, -0.07309745997190475, -0.37156710028648376, -0.4593389928340912, 0.3574077785015106, 0.4245011806488037, 0.026694027706980705, 0.17350812256336212, 0.03220371529459953, 0.8090646266937256, -0.1291370540857315, 0.07197024673223495, -0.6932598352432251, 0.1765240877866745, -0.2815169394016266, -0.4375733733177185, -0.3447172939777374, -0.9195348024368286, 0.1345929205417633, -0.5002406239509583, 0.31646332144737244, 0.12865833938121796, 0.812067985534668, 0.4902472198009491, -0.3259477913379669, -0.8377406597137451, -0.5884073376655579, 0.49043944478034973, -0.6319084763526917, 0.04241500049829483, 0.27275535464286804, 0.3455481231212616, -0.49851667881011963, -0.7254657745361328, -0.5769370794296265, -0.44732269644737244, 0.051759958267211914, 0.1196611151099205, -0.15356914699077606, 0.27394336462020874, -0.3530181348323822, 0.6403928399085999, -0.7278698682785034, -0.027778424322605133, -0.2860462963581085, -0.16315589845180511, 0.5323035717010498, -0.05159313976764679, 0.38295790553092957, -0.5155709385871887, -0.10057161003351212, -0.032027676701545715, -0.7255001068115234, -0.21783822774887085, 0.8360998630523682, 0.6240667700767517, 0.3197774589061737, 0.8408789038658142, -0.27361953258514404, 0.9943933486938477, -0.06996302306652069, -0.07470469921827316, 0.25405359268188477, -0.29234635829925537, -0.3843308091163635, 0.23315083980560303, 1.1085641384124756, 0.07296811044216156, 0.2259504497051239, -0.3197125196456909, -0.0815875232219696, 0.2239830493927002, 0.44122377038002014, -0.3073279857635498, -0.21498830616474152, 0.15316134691238403, -0.03333170339465141, -0.7603621482849121, 0.29449787735939026, -0.5081918835639954, 0.008357629179954529, -0.361835241317749, 0.1873222440481186, -0.3466070890426636, 0.08010444045066833, 0.3505546748638153, 0.016308166086673737, -0.33029603958129883, -0.04830016940832138, -0.6484839916229248, 0.30094558000564575, 0.1303182989358902, 0.5841212272644043, -0.09291741251945496, -0.010250183753669262, -0.29410287737846375, 0.20333409309387207, -0.3453104794025421, 0.7493480443954468, 0.116071917116642, -0.12707655131816864, 0.2458939552307129, 0.042333751916885376, 0.41692662239074707, -0.47598254680633545, 1.0620074272155762, -0.421976238489151, 0.5737178325653076, 0.012444359250366688, -0.44938668608665466, -0.22872701287269592, 0.14889372885227203, -0.8373903036117554, 1.3566272258758545, -0.09229277819395065, -0.6150064468383789, 0.20824183523654938, -0.5934241414070129, -0.6877925395965576, 0.46750715374946594, 0.0722760409116745, 0.03276529535651207, -0.012593554332852364, 0.15024222433567047, 0.5088943839073181, -0.403277724981308, 0.6672654151916504, 0.2616667151451111, 0.2159106284379959, -0.012126641348004341, -0.1697905957698822, 0.7266375422477722, 0.3439709544181824, -0.21276813745498657, -0.06917421519756317, -1.074217438697815, 0.11920545995235443, 0.09563083201646805, -0.5913020968437195, -0.2606094181537628, 0.008366116322577, 0.17237697541713715, 0.30773454904556274, 0.6458110213279724, -0.56165611743927, 0.06505027413368225, -0.7676213383674622, -0.12330957502126694, 0.404433012008667, 0.0856323391199112, 0.4588007628917694, -0.3724924325942993, 0.5501874089241028, -0.6791641116142273, -0.08388305455446243, -0.3250260055065155, -0.5415173768997192, -0.8444846868515015, -0.1414646953344345, 0.23756816983222961, 0.8185591697692871, -0.9297730922698975, 1.247459053993225, -0.005783427972346544, -0.31971246004104614, -0.28757569193840027, 0.19632865488529205, 0.35307323932647705, 0.5606798529624939, 0.28560352325439453, 0.01644279807806015, -0.9463414549827576, -0.9003590941429138, -0.04263276606798172, -0.13773499429225922, -0.14668609201908112, -0.031042927876114845, 0.30052152276039124, -0.11380495131015778, 1.1403038501739502, -0.2512800097465515, -0.5935337543487549, -0.4398452937602997, 0.21761518716812134, 0.31974583864212036, 0.08571132272481918, 0.4164216220378876, -0.3896360397338867, -0.3665764033794403, 0.3746815323829651, -0.9085607528686523, -0.7171496152877808, -0.12727880477905273, -0.12548945844173431, 0.38193556666374207, 0.4615531265735626, -0.0854215919971466, 0.13056901097297668, 0.6680757999420166, -0.3653326630592346, 0.5307935476303101, -0.5152916312217712, -0.1701275110244751, -1.1694812774658203, 0.2211955040693283, 0.10116930305957794, -0.39251941442489624, -0.6144816875457764, -0.0528687909245491, -0.15048092603683472, 0.19665133953094482, -0.46340692043304443, 0.7613690495491028, -0.22147075831890106, 0.18201704323291779, -0.5340859293937683, 0.2006683051586151, 0.0710873082280159, 0.4013426899909973, 0.11546510457992554, 0.28742900490760803, 0.29415401816368103, -0.827256977558136, 0.6602556705474854, 0.25065428018569946, -0.10393613576889038, 0.292168527841568, -0.5558149814605713, -0.14456182718276978, -0.2972599267959595, -0.038346707820892334, -0.4897705614566803, -0.4857393205165863, 0.18198367953300476, -0.271937757730484, -0.15478762984275818, 0.179378479719162, -0.748112678527832, -0.6144713163375854, -0.014419173821806908, -0.24126079678535461, 0.28180992603302, -0.6044460535049438, 0.06889024376869202, 0.5919162034988403, -0.31057843565940857, -0.33908429741859436, -0.7669916152954102, 0.4590074419975281, -0.11498753726482391, -0.841559886932373, 0.41034334897994995, 0.11225297302007675, -0.2572174072265625, 0.15607617795467377, 0.3116728365421295, -0.0881718173623085, -0.27385377883911133, 0.02273716777563095, 0.18249590694904327, -0.11701726168394089, 0.49051955342292786, 0.38882580399513245, 0.1401163935661316, -0.2748901844024658, -0.5152585506439209, 0.6466063857078552, -0.4470561444759369, -0.05368775129318237, -0.25393933057785034, 0.3822496235370636, 0.18908847868442535, -0.07161761820316315, 0.4346080422401428, 0.3904416561126709, -0.5449057817459106, -0.5549522042274475, -0.46729519963264465, 0.15457569062709808, -0.5051841735839844, 0.03264344856142998, -0.22657990455627441, -0.685292661190033, 0.47053852677345276, 0.19967235624790192, 0.27833229303359985, 0.5199772715568542, 0.7541667819023132, 0.123036690056324, 0.6102585792541504, 0.7534101009368896, 0.2569510042667389, 0.38540977239608765, 0.03838428482413292, 0.27129286527633667, -0.12101679295301437, -0.12457640469074249, -0.5409882664680481, -0.15905986726284027, -0.36896196007728577, -0.17254382371902466, 0.04384690150618553, 0.1609908789396286, 0.2140861451625824, 0.6348773241043091, -0.8062302470207214, 0.6976993680000305, 0.6784766316413879, -0.21784824132919312, 0.70811927318573, -0.08415838330984116, -0.26571524143218994, -0.016587741672992706, -0.8180710077285767, -1.0919010639190674, 0.8812375068664551, 0.048193566501140594, 0.4665062129497528, 0.0568489171564579, 0.9156357049942017, 0.47193217277526855, 0.18443243205547333, -0.7869330048561096, 0.5420435070991516, -0.4412657916545868, -0.45234185457229614, -0.2970387041568756, -0.29808342456817627, -1.0851621627807617, 0.23060527443885803, -0.2640342116355896, -0.4238522946834564, -0.12863171100616455, 0.14317645132541656, -0.32282692193984985, 0.019904812797904015, -0.7321875095367432, 0.7792054414749146, -0.3625178635120392, -0.27331456542015076, 0.2214694768190384, -0.4629881680011749, 0.37663909792900085, -0.013799403794109821, 0.20479190349578857, -0.12667879462242126, -0.05497672036290169, 0.7809070944786072, -0.5390760898590088, 0.4599164128303528, 0.011054091155529022, -0.13781777024269104, 0.7737044095993042, 0.2996331453323364, 0.2229115068912506, 0.02336737886071205, -0.04423843324184418, -0.39675432443618774, -0.11329802870750427, -0.0582311749458313, -0.14574681222438812, 0.5754700899124146, -0.18616220355033875, 0.05493687093257904, -0.4349307417869568, -0.6749083399772644, -0.10500610619783401, 0.47661668062210083, 0.2386453002691269, 0.3979092240333557, -0.7722174525260925, 0.008896652609109879, 0.46179887652397156, -0.45146286487579346, 0.5877551436424255, 0.2542835474014282, -0.5044494867324829, -0.3699587285518646, 0.8802846074104309, -0.08906614035367966, 0.0378253348171711, 0.3017675578594208, 0.40364325046539307, -0.5861518979072571, -0.3772265911102295, -0.4848952889442444, 0.26709339022636414, -0.43834254145622253, -0.19660773873329163, -0.616986870765686, -0.03753507137298584, -0.19375716149806976, -0.4255616068840027, -0.18162299692630768, -0.6455075144767761, -0.3737717866897583, -0.17530648410320282, 0.31585943698883057, 0.8721939921379089, -0.02971784397959709, 0.42603087425231934, -0.776762843132019, 0.6051174998283386, 0.24010421335697174, 0.028914080932736397, -0.38483870029449463, -0.21033629775047302, -0.14807946979999542, -0.16177579760551453, -0.38965514302253723, -1.0163171291351318, 0.9608162045478821, 0.4654519259929657, 0.2934277653694153, 0.20899242162704468, 0.042308468371629715, 0.29452210664749146, -0.5575359463691711, 0.5179212689399719, 0.18296262621879578, -0.5904209017753601, 0.7534871101379395, -0.838657557964325, 0.4622117877006531, 0.7469825148582458, -0.03884216398000717, -0.5041536092758179, -0.9525105953216553, -0.7969337701797485, -0.9734727144241333, 0.5706117749214172, 0.20387239754199982, -0.030449621379375458, -0.4624733626842499, 0.07106132060289383, 0.19592253863811493, 0.30447420477867126, -0.8930135369300842, 0.011445906013250351, -0.1632479578256607, -0.7490593194961548, 0.36888670921325684, 0.16228939592838287, 0.07715296000242233, -0.01580684445798397, 1.136703372001648, -0.27914372086524963, -0.1781766563653946, 0.2235485315322876, -0.32705429196357727, 0.02154696360230446, 0.3313519358634949, 0.3152120113372803, 0.3453937768936157, -0.07729743421077728, 0.06302101910114288, -0.08713974058628082, -0.34796780347824097, 0.09449369460344315, -0.13568516075611115, -0.34774643182754517, 0.5123205780982971, -0.1189550906419754, 0.44873327016830444, 0.010992276482284069, -0.9406253099441528, 0.3525104522705078, -0.08713051676750183, -0.30711284279823303, -0.5392428636550903, -0.193113774061203, 0.117525614798069, -0.08153360337018967, 0.32461708784103394, 0.08998068422079086, 0.15817609429359436, -0.4624885618686676, 0.31240031123161316, 0.29670289158821106, -0.044280216097831726, -0.04071016237139702, 0.5577254891395569, 0.35962337255477905, -0.5081565380096436, -0.027567405253648758, -0.7594048976898193, -0.18619488179683685, 0.5330897569656372, 0.6659625768661499, 0.7817767858505249, -0.02910507097840309, 0.6835272312164307, 0.5417957305908203, 0.4466511309146881, -0.6110354661941528, 0.263632595539093, 0.13933618366718292, -0.81864333152771, -0.4948238134384155, -0.9308107495307922, -0.2517545819282532, 0.016775701195001602, -0.23054446280002594, 0.3027518093585968, -0.50539231300354, -0.18312519788742065, -0.3354692757129669, -0.0838499590754509, -0.4541681110858917, 0.19781439006328583, 0.14291784167289734, 0.8010197281837463, -0.8446516394615173, 0.8820827603340149, 0.516946017742157, -0.2799778878688812, -0.5221652984619141, -0.5123658776283264, -0.19564242660999298, -0.41530078649520874, 0.4699103534221649, -0.01872279867529869, -0.49516698718070984, 0.016881244257092476, 0.0674654021859169, -0.6068680286407471, 0.8162091374397278, 0.42746198177337646, -0.3294272720813751, -0.1648910641670227, 0.34383806586265564, 0.9456360936164856, -0.2918083965778351, -0.13544966280460358, 0.5674909949302673, 0.5613328218460083, 0.21690049767494202, -0.8969288468360901, -0.1221107468008995, -0.4699731469154358, -0.11274442076683044, 0.20652049779891968, -0.019536875188350677, 0.4366101622581482, 0.18895778059959412, -0.41185930371284485, 0.20976179838180542, 0.7481147050857544, 0.049601271748542786, -0.14532679319381714, 0.2160174548625946, 0.6163536310195923, 1.032896637916565, -0.13688652217388153, 0.9909453988075256, -0.36376988887786865, -0.003354058600962162, 1.2210949659347534, 0.11520847678184509, 0.42196932435035706, 0.4952182173728943, 0.08108098804950714, 0.32135269045829773, 0.2555813193321228, 0.00007111412560334429, 0.338630735874176, 0.34268832206726074, -0.520679771900177, 0.16475637257099152, -0.2654619514942169, 0.06285450607538223, 0.12536300718784332, 0.17648369073867798, -0.4088696241378784, -0.3827993869781494, 0.058614663779735565, -0.00429017748683691, 0.5729779005050659, -0.3092274069786072, 0.7187511324882507, -0.197150319814682, -0.9285163283348083, 0.3733544647693634, 0.301618754863739, 0.9566457867622375, -0.575032114982605, 0.37616175413131714, 0.029037119820713997, -0.027950376272201538, -0.6210293173789978, -0.7277815937995911, 0.631500780582428, 0.4796532094478607, 0.07040837407112122, -0.5864773988723755, 0.7071307897567749, -0.524284839630127, -0.7866016030311584, -0.07296333461999893, 0.7935047149658203, 0.16460491716861725, 0.046815283596515656, -0.22342003881931305, -0.36915653944015503, 0.015528317540884018, -0.10053227096796036, -0.1778736412525177, 0.5099281668663025, -0.08522272855043411, 0.5177329182624817, 0.636685311794281, 0.4051930904388428, 0.7769957780838013, 0.27682721614837646, 0.20011714100837708, -0.5533159375190735, -0.7772987484931946, -0.6193132996559143, 0.5979140996932983, -0.15396089851856232, -0.39970335364341736, 0.7302712202072144, 0.538597047328949, 0.5570091009140015, -0.12982524931430817, 1.005552053451538, -0.5794338583946228, 0.4739825129508972, -0.33714067935943604, 0.45589330792427063, -0.14701169729232788, 0.07344865798950195, -0.16188788414001465, -0.9988464117050171, -0.8621546030044556, 0.7638816833496094, 0.04644187539815903, -0.5805037021636963, 0.80010986328125, 0.8217470645904541, 0.1589861810207367, 0.08285311609506607, 0.08079387992620468, -0.1656716763973236, 0.4159794747829437, 0.34010323882102966, 0.5972956418991089, -0.33388277888298035, 0.6528913974761963, -0.34492188692092896, -0.2202075719833374, -0.07867966592311859, -0.9584623575210571, -0.7998076677322388, -0.634700357913971, -0.13196992874145508, -0.11479447036981583, -0.12125327438116074, 1.1012139320373535, 0.20296365022659302, -0.6532307267189026, -0.3895420432090759, -0.8109945058822632, 0.04668058082461357, 0.17894957959651947, -0.2719484865665436, 0.2527543306350708, -0.5664767622947693, -0.777526319026947, 0.6661623120307922, 0.3564024865627289, -0.03896607458591461, -0.3822248578071594, -0.08502408862113953, -0.28840914368629456, 0.15648847818374634, 0.6179285645484924, 0.6057737469673157, -0.49692344665527344, -0.20198145508766174, -0.08369993418455124, -0.36147648096084595, 0.02810637466609478, 0.5104586482048035, -1.025221586227417, 0.37316539883613586, 0.7691555023193359, 0.5597173571586609, 0.12147711962461472, -0.14592821896076202, 0.6423236727714539, -0.9813500046730042, 0.37854036688804626, 0.5956822633743286, 0.3330624997615814, 0.3514825999736786, -0.2035277783870697, 0.3891046941280365, -0.1201774999499321, -0.4920247495174408, -0.6418426632881165, 0.429952472448349, -1.0192843675613403, -0.04268580302596092, 1.016170620918274, 0.4349992275238037, -0.2629278302192688, -0.2691587507724762, -0.6557839512825012, 0.32110661268234253, -0.3546636700630188, 0.8116244673728943, 0.4968772828578949, -0.18045100569725037, 0.1350313276052475, -0.44539833068847656, 0.5730127096176147, 0.029019726440310478, -1.176763653755188, -0.21178007125854492, 0.6255782246589661, -0.08830573409795761, 0.21434882283210754, 0.655310869216919, -0.28120502829551697, 0.23062270879745483, -0.24131284654140472, 0.434940367937088, -0.2292712777853012, -0.41268080472946167, -0.2900341749191284, 0.4476577639579773, -0.002597114769741893, 0.11156120896339417 ]
http://arxiv.org/abs/2405.17264v1
http://arxiv.org/pdf/2405.17264v1
On the Noise Robustness of In-Context Learning for Text Generation
2024-05-27T15:22:58
2024-05-27T15:22:58
Hongfu Gao, Feipeng Zhang, Wenyu Jiang, Jun Shu, Feng Zheng, Hongxin Wei
cs.CL
cs.CL, cs.LG
Large language models (LLMs) have shown impressive performance on downstream tasks by in-context learning (ICL), which heavily relies on the quality of demonstrations selected from a large set of annotated examples. Recent works claim that in-context learning is robust to noisy demonstrations in text classification. In this work, we show that, on text generation tasks, noisy annotations significantly hurt the performance of in-context learning. To circumvent the issue, we propose a simple and effective approach called Local Perplexity Ranking (LPR), which replaces the "noisy" candidates with their nearest neighbors that are more likely to be clean. Our method is motivated by analyzing the perplexity deviation caused by noisy labels and decomposing perplexity into inherent perplexity and matching perplexity. Our key idea behind LPR is thus to decouple the matching perplexity by performing the ranking among the neighbors in semantic space. Our approach can prevent the selected demonstrations from including mismatched input-label pairs while preserving the effectiveness of the original selection methods. Extensive experiments demonstrate the effectiveness of LPR, improving the EM score by up to 18.75 on common benchmarks with noisy annotations.
[ -0.42723071575164795, -0.6418236494064331, 0.42642199993133545, -0.05074060335755348, -0.39898836612701416, -0.19251759350299835, -0.3405727744102478, -0.5120182037353516, -0.4037608504295349, 0.5160255432128906, -0.29827412962913513, -0.578792154788971, -0.5204019546508789, 0.33636200428009033, -0.35640355944633484, 1.3036341667175293, 0.04793146252632141, -0.37093403935432434, -0.48319849371910095, -0.11193318665027618, 0.14059698581695557, -0.6087282299995422, -0.5404017567634583, -0.20900794863700867, 0.6375816464424133, 0.4752761125564575, 0.6049333214759827, 0.6548887491226196, 0.46105635166168213, 0.4135398268699646, -0.42337727546691895, 0.4169504642486572, -0.6128731966018677, 0.6430203318595886, 0.08203060925006866, -0.1839444637298584, -0.14943450689315796, -0.11774957925081253, 0.8228133320808411, 0.6787465214729309, 0.39583075046539307, -0.12715376913547516, 0.3431519865989685, 0.37082865834236145, -0.5629447102546692, -0.15943975746631622, -0.9534494876861572, 0.2628318667411804, -0.3347907066345215, -0.18641787767410278, -0.3254942297935486, -0.3241410255432129, 0.16829359531402588, -0.5428634285926819, 0.3583226203918457, -0.11007000505924225, 0.9395065903663635, 0.6496405005455017, -0.2479788213968277, -0.27456963062286377, -0.7031276822090149, 0.8937288522720337, -0.6050956845283508, 0.2936573028564453, 0.47830066084861755, 0.09909567981958389, -0.2976199686527252, -0.6284017562866211, -0.5665286183357239, -0.08949588239192963, -0.07180394977331161, 0.10632244497537613, 0.019785922020673752, -0.05975092574954033, 0.6064834594726562, 0.35483619570732117, -0.2706865668296814, 0.2564898431301117, -0.13170555233955383, -0.3206426799297333, 0.523910641670227, 0.0017785971285775304, 0.0576707199215889, 0.03318187594413757, -0.48346322774887085, -0.19176676869392395, -0.7871995568275452, 0.299248605966568, 0.6244446039199829, 0.376149445772171, 0.05047136917710304, 0.2458207607269287, -0.24140958487987518, 0.6120792627334595, 0.20594896376132965, -0.6232019066810608, 0.4638988673686981, -0.4255325496196747, -0.13775886595249176, 0.16665135324001312, 0.9101285338401794, -0.026938898488879204, -0.1104969009757042, -0.2948439419269562, -0.4293922483921051, -0.21918317675590515, 0.003557957476004958, -0.9876757264137268, -0.24955512583255768, 0.08218967169523239, -0.3401930034160614, -0.50706946849823, 0.10736998170614243, -0.8048238754272461, -0.5351309180259705, -0.14447927474975586, 0.46514129638671875, -0.27855420112609863, -0.035804882645606995, -0.1866876631975174, 0.2575201690196991, -0.019462071359157562, 0.44027313590049744, -0.6465350985527039, 0.08269326388835907, 0.5153946876525879, 0.4302767217159271, -0.14833663403987885, -0.4121491014957428, -0.7924630045890808, 0.009052102454006672, -0.1388891339302063, 0.9434010982513428, -0.4526578485965729, -0.25683510303497314, 0.08519949018955231, -0.33665692806243896, -0.03919193148612976, -0.9978421330451965, 0.5794653296470642, -0.16140520572662354, 0.1705765426158905, -0.3315945863723755, -0.605080783367157, 0.11625567078590393, -0.022828087210655212, -0.4458160102367401, 0.9774269461631775, -0.10359431058168411, -1.1371533870697021, 0.7144081592559814, -0.45128852128982544, -0.6049056649208069, -0.1441505253314972, -0.29765698313713074, -0.8229555487632751, -0.11294548958539963, 0.29962703585624695, 0.6389963626861572, 0.19275403022766113, -0.015329335816204548, -0.16369402408599854, -0.5780174136161804, 0.422095388174057, -0.407603919506073, 0.5243578553199768, 0.3797287940979004, -0.5739545822143555, 0.18177980184555054, -0.8085240721702576, -0.2816050350666046, -0.26687002182006836, -0.5775789618492126, -0.4092172086238861, 0.09182952344417572, -0.314740926027298, 0.29942694306373596, 0.007011782377958298, -0.4475722312927246, -0.0127937700599432, -0.6439958810806274, 0.1211453378200531, 0.6255643367767334, 0.10679411888122559, 0.6138260364532471, -0.6182249188423157, 0.22821664810180664, 0.22398138046264648, -0.09109174460172653, -0.1770041137933731, -0.521233856678009, -0.7172025442123413, -0.5475232601165771, 0.14828848838806152, 0.2865630090236664, -0.7617980241775513, 0.4587496221065521, -0.2705179750919342, -0.3429684638977051, -0.37799185514450073, 0.5035840272903442, 0.6218275427818298, 0.705802857875824, 0.23874129354953766, -0.12793999910354614, -0.3272884786128998, -0.603731095790863, -0.35086268186569214, 0.05731581524014473, -0.21693900227546692, 0.25363126397132874, 0.33170855045318604, -0.20556743443012238, 0.807007908821106, 0.05157014727592468, -0.4380662143230438, -0.08350569009780884, 0.23750002682209015, -0.01867336593568325, 0.43998363614082336, 0.2526027262210846, -0.8630095720291138, -0.4853416681289673, 0.08730965852737427, -0.6643785834312439, -0.30264535546302795, -0.1457485854625702, -0.01652279496192932, 0.3852011263370514, 0.8073044419288635, -0.20778889954090118, 0.5544647574424744, 0.11628646403551102, -0.14005804061889648, 0.28372666239738464, -0.05656011775135994, -0.09297101944684982, -1.0111114978790283, -0.19504468142986298, -0.053564075380563736, -0.22470057010650635, -0.3258683979511261, -0.129928857088089, -0.3593668043613434, 0.012583612464368343, -0.2769792377948761, 0.3430219888687134, -0.328650563955307, 0.10173415392637253, -0.07210388034582138, 0.399681031703949, -0.21399572491645813, 0.25437238812446594, -0.08372631669044495, 0.6798787117004395, 0.378145694732666, -0.6177644729614258, -0.20261332392692566, 0.22404268383979797, -0.4925853908061981, 0.29926931858062744, -0.09405723959207535, 0.2107798308134079, -0.17764489352703094, 0.15272848308086395, -1.0010347366333008, -0.3232470452785492, -0.09587978571653366, -0.41011884808540344, 0.47004735469818115, 0.13971352577209473, -0.507469892501831, 0.308462530374527, -0.4225418269634247, 0.4222499132156372, 0.45676082372665405, -0.8437787890434265, 0.25269174575805664, 0.35579967498779297, -0.07833170145750046, -0.49035361409187317, -0.515813410282135, -0.1765575259923935, -0.3830048441886902, -0.49566882848739624, 0.3167151212692261, -0.15211975574493408, -0.4043993055820465, -0.2906034290790558, -0.22267210483551025, 0.011427725665271282, 0.08971928060054779, 0.45933768153190613, -0.31893008947372437, -0.11806789040565491, 0.25458022952079773, 0.103084497153759, -0.06798147410154343, -0.04890574887394905, 0.13377411663532257, 0.09182567894458771, -0.037491507828235626, -0.12804844975471497, -0.31704771518707275, 0.23853182792663574, 0.46164950728416443, -0.06029897928237915, 0.3993402421474457, 0.6272569298744202, -0.22041474282741547, -0.6134424209594727, -0.5088025331497192, -0.17401650547981262, -0.5041648745536804, 0.5253905057907104, -0.42298170924186707, -1.0429086685180664, 0.37725594639778137, -0.2942379117012024, 0.14599862694740295, 0.10957586765289307, 0.3941532373428345, -0.23888057470321655, 0.7575681805610657, 0.5699670910835266, -0.003120667999610305, 0.5785328149795532, -0.0720551460981369, 0.312303364276886, -0.7043805718421936, -0.12620623409748077, -0.670163631439209, -0.23263795673847198, -0.5768797397613525, -0.32127776741981506, 0.40416908264160156, 0.3227801024913788, -0.4643811583518982, 0.07650533318519592, -0.6899401545524597, 0.665352463722229, 0.35807672142982483, 0.07049689441919327, 0.41789761185646057, 0.7034083008766174, -0.4973312020301819, -0.4895058870315552, -0.6674039959907532, -0.5566996335983276, 0.8131599426269531, 0.30744966864585876, 0.43140876293182373, 0.19350974261760712, 1.0768893957138062, -0.21863706409931183, 0.4719134271144867, -0.40949341654777527, 0.5934743285179138, -0.3410921096801758, -0.16651523113250732, -0.45263543725013733, -0.7107895016670227, -1.1014682054519653, 0.25471293926239014, -0.486004501581192, -1.0947647094726562, 0.10770969092845917, -0.09851234406232834, -0.19824710488319397, 0.5227247476577759, -0.3624626100063324, 0.6453430652618408, 0.18983614444732666, -0.5307729840278625, 0.22720952332019806, -0.5888195037841797, 0.33103105425834656, -0.19583086669445038, 0.44805392622947693, 0.2926541864871979, 0.0902947336435318, 0.5904279947280884, -0.5297351479530334, 0.8694608807563782, 0.04376046359539032, -0.34741008281707764, 0.10751660913228989, 0.17635205388069153, 0.4671166241168976, -0.005297994241118431, -0.2608203887939453, -0.02933666482567787, -0.548273503780365, -0.046265486627817154, -0.5581713914871216, 0.9496483206748962, -0.7840611338615417, -0.39274871349334717, -0.2651805579662323, -0.7077111005783081, -0.20908363163471222, -0.0057688308879733086, 0.9458341598510742, 0.5241531729698181, 0.4092150628566742, 0.29731371998786926, 1.0173072814941406, -0.27420634031295776, 0.531323254108429, 0.06942802667617798, -0.0789739117026329, -0.6425724625587463, 1.2430028915405273, 0.2498161494731903, 0.23395517468452454, 0.6089726090431213, 0.21833845973014832, -0.2606140077114105, -0.6980884075164795, -0.0886017382144928, 0.03965970501303673, -0.9889891743659973, -0.1820807009935379, -0.588751494884491, -0.35502418875694275, -0.0616765022277832, -0.3798927664756775, -0.2332032024860382, -0.1508224606513977, -0.26153939962387085, -0.007317700888961554, 0.044932618737220764, 0.95947265625, 0.14916668832302094, -0.03949818015098572, -0.4264010787010193, 0.07727621495723724, 0.4017266631126404, 0.25327304005622864, -0.07885436713695526, -0.6704206466674805, -0.1288394033908844, -0.39960426092147827, -0.5600632429122925, -0.6823881268501282, 0.07913684099912643, 0.18528610467910767, 0.5589060187339783, 0.5672196745872498, 0.48751744627952576, 0.7092326283454895, -0.14448155462741852, 0.7174652814865112, -0.021172447130084038, -0.8222062587738037, 0.46649304032325745, -0.4019952714443207, 0.38130995631217957, 0.5644012093544006, 0.2833672761917114, 0.2201324999332428, -1.0250707864761353, -0.6670567989349365, -1.1840428113937378, 0.48473575711250305, 0.4383752644062042, -0.04322674870491028, 0.06160493940114975, 0.3970142900943756, 0.16644559800624847, 0.029947251081466675, -1.0722733736038208, -0.2388026863336563, -0.14293727278709412, -0.2392638772726059, 0.08957450091838837, -0.24247895181179047, 0.01747424341738224, -0.4606304168701172, 0.6566773653030396, -0.10557163506746292, 0.020214170217514038, 0.6227372884750366, 0.005005859769880772, -0.2623021900653839, 0.174339160323143, 0.6221157312393188, 0.29004526138305664, -0.1193365678191185, 0.2983631193637848, 0.37099722027778625, -0.42646947503089905, 0.015294390730559826, 0.20094814896583557, -0.5101805329322815, 0.1486809402704239, 0.6144818663597107, 0.5848538279533386, 0.43017587065696716, -0.5099780559539795, 0.5952180624008179, -0.13582724332809448, -0.39751601219177246, -0.06489087641239166, 0.17944695055484772, -0.14480531215667725, 0.1412801593542099, 0.26322630047798157, 0.2229803204536438, 0.13337640464305878, -0.13109244406223297, 0.29570212960243225, 0.3400920331478119, -0.4688152074813843, -0.04207545891404152, 0.6365755200386047, 0.1647467017173767, -0.33886396884918213, 0.3235812485218048, -0.5008631944656372, -0.5241738557815552, 0.5450124740600586, 0.5925736427307129, 0.7928807735443115, 0.02046811208128929, -0.06633726507425308, 0.6271308660507202, 0.253416508436203, 0.07608972489833832, 0.05133155733346939, -0.49508026242256165, -0.6123421788215637, -0.2836645841598511, -0.7152454853057861, -0.4577748775482178, 0.3315434455871582, -0.29763558506965637, 0.15133294463157654, -0.4125325083732605, -0.03951822593808174, -0.02828190103173256, 0.1101134642958641, -0.31833112239837646, 0.1131676435470581, 0.20260535180568695, 0.4385768473148346, -0.5973563194274902, 0.8698049187660217, 0.9559281468391418, -0.27130764722824097, -0.8955677151679993, 0.5741057991981506, -0.1388278603553772, 0.31562426686286926, 0.6930122375488281, 0.4229374825954437, -0.27014920115470886, -0.2330506443977356, -0.6085034608840942, -0.6948599219322205, 0.847862184047699, 0.44739675521850586, -0.4207221269607544, 0.5514878034591675, 0.16562028229236603, 0.4864162802696228, -0.43593862652778625, 0.18952324986457825, 0.09327638894319534, 0.27444133162498474, 0.05757473036646843, -0.8561437726020813, 0.2045554220676422, -0.12762762606143951, 0.011178647167980671, 0.10446563363075256, -0.6216227412223816, 0.8347416520118713, -0.25535646080970764, -0.38112974166870117, 0.3307555913925171, 0.5955734252929688, 0.37183713912963867, 0.5398977994918823, 0.6331182718276978, 0.4326786994934082, 0.9150757789611816, -0.1753099411725998, 0.9687565565109253, 0.02814164198935032, 0.20234860479831696, 1.1964260339736938, -0.30481770634651184, 0.8892731070518494, 0.5277457237243652, -0.20256483554840088, 0.553341269493103, 0.42329835891723633, 0.27761098742485046, 0.4441260099411011, 0.43643420934677124, -0.4012751579284668, -0.5297516584396362, 0.03407423570752144, -0.1817323863506317, 0.32639196515083313, 0.0658174455165863, -0.2061806172132492, -0.43151575326919556, -0.03546486049890518, 0.03307301923632622, 0.6286463737487793, -0.05740448832511902, 1.0137569904327393, -0.020826634019613266, -0.551276683807373, 0.7403232455253601, -0.4477711617946625, 0.9511176943778992, -0.4088020920753479, -0.1958993524312973, -0.28991666436195374, 0.37256425619125366, -0.37243691086769104, -0.42612147331237793, 0.2592475116252899, -0.1110302209854126, -0.3334023356437683, -0.12547004222869873, 0.7070631384849548, -0.4960952401161194, -0.3740617632865906, 0.3465553820133209, 0.11893787980079651, 0.3981993496417999, 0.047759298235177994, -0.3324609398841858, 0.06154504790902138, 0.06766898930072784, -0.3080269694328308, 0.835047721862793, 0.8610547184944153, -0.07286687940359116, 0.6043055653572083, 0.693598747253418, -0.25954627990722656, -0.04482962563633919, -0.060757528990507126, 0.9639503955841064, -0.36871492862701416, -0.26596277952194214, -0.6837664246559143, 0.4601783752441406, -0.19713327288627625, -0.6918624639511108, 0.8754017949104309, 0.5532500743865967, 1.178638219833374, 0.16034770011901855, 0.5557557344436646, 0.33817681670188904, 0.5699262619018555, -0.452894389629364, 0.9127362370491028, -0.6489441990852356, 0.7583372592926025, -0.6425589323043823, -0.8178961277008057, -0.6226705312728882, 0.9019358158111572, -0.3355073928833008, 0.06053716316819191, 0.6513786315917969, 1.018625259399414, 0.09126530587673187, -0.05074969306588173, 0.6259304881095886, 0.43134933710098267, 0.10128678381443024, 0.37137463688850403, 0.9767144918441772, -0.4995328187942505, 0.7462592124938965, -0.5656856298446655, -0.1936250776052475, 0.10713621973991394, -1.0209453105926514, -1.1368236541748047, -0.5925392508506775, -0.4574975371360779, -0.45799341797828674, -0.08988606929779053, 0.8603969216346741, 0.6172144412994385, -0.7612606883049011, -0.12674039602279663, -0.13187488913536072, 0.5023542046546936, -0.24715371429920197, -0.27737367153167725, 0.37800902128219604, -0.8090077638626099, -0.8043858408927917, 0.45453882217407227, 0.12331447005271912, -0.08178750425577164, 0.05011793598532677, -0.20730403065681458, 0.044993847608566284, -0.14052215218544006, 0.41999441385269165, 0.13829612731933594, -0.7746559381484985, -0.12543943524360657, -0.5035438537597656, -0.25286865234375, 0.05299748107790947, 0.6061103940010071, -0.9167166352272034, 0.5051402449607849, 0.4344039857387543, 0.6069777011871338, 0.34009024500846863, -0.06093090772628784, 0.1818471997976303, -0.9850185513496399, 0.3148094713687897, 0.2729039490222931, 0.2409648299217224, 0.5105890035629272, -0.46647435426712036, 0.2617868483066559, 0.13118278980255127, -0.9120413064956665, -1.0443940162658691, 0.16543009877204895, -0.7904788851737976, -0.33629417419433594, 1.260635256767273, -0.2450210154056549, -0.12317825108766556, -0.3875661790370941, -0.2550755739212036, 0.14382243156433105, -0.38641655445098877, 0.9771173596382141, 0.4003038704395294, -0.03979244828224182, -0.0456303171813488, -0.419155478477478, 0.9694585800170898, 0.5214742422103882, -0.535463273525238, -0.014622681774199009, 0.14141714572906494, 0.34923791885375977, 0.28237563371658325, 0.3645186722278595, -0.12408585846424103, 0.1432560533285141, 0.05925388261675835, -0.09745803475379944, -0.12471038848161697, -0.26355889439582825, -0.39801326394081116, 0.4367155134677887, 0.22565877437591553, 0.061236873269081116 ]
http://arxiv.org/abs/2405.17249v1
http://arxiv.org/pdf/2405.17249v1
Assessing LLMs Suitability for Knowledge Graph Completion
2024-05-27T15:04:50
2024-05-27T15:04:50
Vasile Ionut Remus Iga, Gheorghe Cosmin Silaghi
cs.CL
cs.CL, cs.AI
Recent work shown the capability of Large Language Models (LLMs) to solve tasks related to Knowledge Graphs, such as Knowledge Graph Completion, even in Zero- or Few-Shot paradigms. However, they are known to hallucinate answers, or output results in a non-deterministic manner, thus leading to wrongly reasoned responses, even if they satisfy the user's demands. To highlight opportunities and challenges in knowledge graphs-related tasks, we experiment with two distinguished LLMs, namely Mixtral-8x7B-Instruct-v0.1, and gpt-3.5-turbo-0125, on Knowledge Graph Completion for static knowledge graphs, using prompts constructed following the TELeR taxonomy, in Zero- and One-Shot contexts, on a Task-Oriented Dialogue system use case. When evaluated using both strict and flexible metrics measurement manners, our results show that LLMs could be fit for such a task if prompts encapsulate sufficient information and relevant examples.
[ -0.5533793568611145, -0.7631688117980957, 0.9604671597480774, 0.00952344574034214, -0.25234535336494446, 0.22701238095760345, -0.16894854605197906, -0.5138728618621826, 0.3100073039531708, 0.5153196454048157, -0.5904256701469421, -0.43630144000053406, -0.6824349164962769, 0.36801570653915405, -0.5149067640304565, 0.6691708564758301, -0.4051893651485443, -0.2375938594341278, -0.5867932438850403, -0.07084578275680542, -0.6907599568367004, -0.36128905415534973, -0.6005664467811584, -0.45904266834259033, 0.6447044014930725, 0.3240334093570709, 0.7064335942268372, 0.331705778837204, 0.09183625876903534, 0.26912158727645874, -0.20101945102214813, 0.4178363084793091, -0.5440784096717834, 0.39447933435440063, 0.0647275447845459, -0.31630587577819824, -0.5475442409515381, 0.13249458372592926, 0.5792441964149475, 0.9811937808990479, 0.06692257523536682, 0.30940964818000793, 0.24485711753368378, 0.4516744613647461, -0.3402014970779419, 0.4319869577884674, -0.5603628158569336, 0.16546088457107544, -0.04421486705541611, -0.21136325597763062, -0.29550373554229736, -0.4812948703765869, 0.2716986835002899, -0.5771408677101135, -0.12929637730121613, 0.23562489449977875, 0.6051047444343567, 0.16813461482524872, -0.4934804141521454, -0.2772430181503296, -0.7320663928985596, 0.38723817467689514, -0.952498733997345, 0.3758482336997986, 0.3953498303890228, 0.36569398641586304, -0.3953941762447357, -0.5762636065483093, -0.5392184257507324, -0.28428295254707336, -0.2547115981578827, 0.08534788340330124, -0.2101060152053833, 0.21706026792526245, 0.6081817150115967, 0.22541406750679016, -0.5613324642181396, 0.15224382281303406, -0.06821198761463165, -0.4996572434902191, 0.25032421946525574, 0.5735339522361755, 0.0493425577878952, -0.2831709682941437, -0.0968826413154602, 0.19201046228408813, -0.5332385301589966, -0.1147611066699028, 0.425342321395874, 0.30783218145370483, 0.05803331360220909, 0.7978561520576477, -0.5690146088600159, 1.2420653104782104, -0.1551850438117981, -0.1270727962255478, -0.00492956442758441, -0.42826220393180847, -0.2472282350063324, -0.21612796187400818, 0.9175577759742737, 0.39231735467910767, 0.4060342013835907, -0.5215924382209778, -0.22702638804912567, -0.2041196972131729, 0.09790445864200592, -0.657903790473938, 0.07375894486904144, 0.5000460147857666, 0.02599048800766468, -0.08380142599344254, -0.2757372558116913, -0.395336776971817, -0.5459787845611572, -0.2633773684501648, 0.387809157371521, -0.4268644452095032, -0.19028685986995697, 0.14087651669979095, -0.3313131034374237, 0.17229551076889038, 0.5220673680305481, -0.41511550545692444, 0.20009464025497437, 0.5263285040855408, 0.8938969373703003, -0.13390587270259857, -0.07971259206533432, -0.34951022267341614, 0.03364256024360657, -0.5071737766265869, 0.7366697788238525, -0.211233988404274, -0.2435370683670044, 0.07192891836166382, -0.20389176905155182, -0.271301805973053, -0.5845083594322205, 0.35819199681282043, -0.7509253621101379, 0.3364758789539337, -0.4906136691570282, -0.9412127733230591, -0.342936247587204, 0.7649914622306824, -0.4454217255115509, 0.856268584728241, 0.4625779390335083, -0.8611447215080261, 0.45322081446647644, -0.29039254784584045, -0.37796899676322937, 0.3634965121746063, -0.20914843678474426, -0.004792653955519199, -0.12111793458461761, -0.2501271367073059, 0.5178089737892151, -0.38130640983581543, 0.21887880563735962, -0.4498143792152405, -0.38026949763298035, 0.3381199240684509, -0.3335472345352173, 0.4009050130844116, 0.0496411994099617, -0.17311114072799683, 0.08004849404096603, -0.604324221611023, 0.2589006721973419, 0.19257590174674988, -0.18408332765102386, -0.05613876134157181, 0.013395075686275959, -0.2801367938518524, 0.15160848200321198, 0.38237398862838745, -0.4463160037994385, 0.194769486784935, -0.0692683532834053, 0.28997647762298584, 0.5530816316604614, -0.013448441401124, 0.022694287821650505, -0.5840002298355103, 0.7107787132263184, -0.09942563623189926, -0.03782206028699875, 0.1403723508119583, -0.5501867532730103, -0.7664985656738281, -0.35243669152259827, 0.2771328091621399, 0.6195651292800903, -0.8492311835289001, 0.44497379660606384, -0.28819310665130615, -0.6182772517204285, -0.04292955622076988, 0.11955023556947708, 0.1996934860944748, 0.7905518412590027, 0.02706827037036419, -0.432054340839386, -0.3874548673629761, -0.6640704870223999, -0.0882873684167862, -0.39807045459747314, -0.11902495473623276, 0.748862087726593, 0.17476364970207214, -0.2561236023902893, 1.089828610420227, -0.3364163637161255, -0.22500304877758026, -0.42380085587501526, -0.0831608772277832, 0.3852214813232422, -0.29383549094200134, 0.3625986874103546, -0.24882708489894867, -0.41027989983558655, -0.05545056611299515, -1.1765714883804321, -0.1905757337808609, 0.1752902716398239, 0.3308396637439728, 0.0018498412100598216, 0.3191482722759247, -0.8219080567359924, 0.3143599033355713, 0.3459005355834961, -0.2169080525636673, 0.681528627872467, -0.001064122305251658, 0.3006932735443115, -0.806625247001648, -0.11228431016206741, -0.22332121431827545, -0.6940029859542847, -0.8191830515861511, -0.37642326951026917, -0.25897523760795593, 0.06881291419267654, -0.39309993386268616, 0.5153288245201111, -0.23589617013931274, -0.22293564677238464, -0.1144014522433281, 0.6541237831115723, -0.17017647624015808, 0.2715238332748413, -0.15276110172271729, 0.633019745349884, 0.5541297793388367, -0.7200840711593628, 0.498697429895401, 0.2049304097890854, -0.5719428062438965, 0.2646438777446747, -0.7340713143348694, 0.30104729533195496, -0.19474707543849945, 0.19062364101409912, -1.1519219875335693, -0.5371699929237366, 0.42924028635025024, -0.1971677839756012, 0.1447012722492218, -0.12967312335968018, -0.6965951323509216, -0.47194963693618774, -0.1575363725423813, 0.3650106191635132, 0.3785935044288635, -0.1788024753332138, 0.6817836165428162, 0.10549844801425934, -0.026691390201449394, -0.42998212575912476, -0.22397400438785553, 0.09279964864253998, -0.27909791469573975, -0.606120228767395, -0.05243789404630661, -0.0014683239860460162, -0.22874660789966583, 0.022782934829592705, -0.16178235411643982, 0.27742788195610046, 0.16004106402397156, 0.19662658870220184, 0.25222310423851013, -0.18867577612400055, -0.14402936398983002, -0.20787489414215088, 0.056359197944402695, 0.03819762170314789, -0.47449830174446106, 0.7482497692108154, -0.04990850389003754, -0.8141692876815796, -0.3120161294937134, -0.006043991539627314, 0.7646145820617676, 0.15587733685970306, 0.5207265019416809, 0.3902513384819031, -0.3392314314842224, 0.02771298959851265, -0.7379946112632751, -0.05028517171740532, -0.4206284284591675, 0.3624993860721588, -0.1995050460100174, -1.2100228071212769, 0.8402958512306213, 0.00687429727986455, 0.02196451462805271, 0.2458161562681198, 0.47968584299087524, -0.018452605232596397, 0.7429907917976379, 0.14220713078975677, -0.008883570320904255, 0.3471226096153259, -0.12396203726530075, 0.33174917101860046, -0.7292090654373169, -0.398603230714798, -0.3807799816131592, -0.16501867771148682, -0.4070793688297272, -0.2421416938304901, 0.4567558169364929, 0.15055911242961884, -0.14950144290924072, 0.4033461809158325, -0.21637824177742004, 0.3687306046485901, 0.24577705562114716, 0.02882864885032177, 0.5194681882858276, -0.10075610131025314, -0.19768592715263367, 0.1921708881855011, -0.8436882495880127, -0.6767737865447998, 0.8023661971092224, 0.2798490822315216, 0.6905984282493591, 0.020033324137330055, 0.6457434892654419, 0.2261473685503006, 0.21040600538253784, -0.9905532598495483, 0.8423145413398743, 0.10602841526269913, -0.36118754744529724, -0.5346999168395996, -0.6017558574676514, -0.7182227373123169, 0.10041485726833344, 0.08721743524074554, -1.0644116401672363, -0.23576775193214417, 0.05771002545952797, -0.2179485559463501, 0.2221294343471527, -0.419433057308197, 0.841823935508728, -0.029710888862609863, 0.12257103621959686, 0.10014761239290237, -0.35083845257759094, 0.3929486870765686, -0.13817724585533142, 0.2051388919353485, -0.41359326243400574, 0.11073611676692963, 0.7853298187255859, -0.32286909222602844, 0.9819434881210327, -0.18365851044654846, -0.20581208169460297, 0.562803328037262, 0.3575608432292938, 0.45221826434135437, 0.0008424266707152128, 0.010058796033263206, 0.0746954008936882, 0.16108837723731995, -0.15673236548900604, -0.8994563221931458, 0.34920087456703186, -0.6626557111740112, -0.8377254605293274, -0.1883840709924698, -0.8802328705787659, -0.5636758208274841, 0.21975819766521454, 0.3473449647426605, 0.638812243938446, -0.08820989727973938, -0.1797291785478592, 0.6466293931007385, 0.06820271909236908, 0.22751343250274658, 0.5520259737968445, -0.5405465364456177, -0.19620281457901, 0.7539790272712708, 0.23849575221538544, 0.5843547582626343, 0.1416071653366089, 0.07221172004938126, -0.3903355896472931, -0.7490368485450745, -0.4573677182197571, 0.1654677540063858, -0.9144291281700134, -0.2865004241466522, -0.6251125335693359, -0.5282156467437744, -0.25165414810180664, 0.1814182996749878, -0.028173979371786118, -0.54710853099823, -0.2035578042268753, -0.09261670708656311, 0.3386371433734894, 1.0539014339447021, 0.26009801030158997, 0.00864371843636036, -0.7706023454666138, 0.028300991281867027, 0.4073837697505951, 0.35569432377815247, 0.10653533041477203, -0.6783373355865479, -0.042494598776102066, -0.04021171107888222, -0.07494483888149261, -0.9941386580467224, -0.09541387856006622, -0.10715623199939728, 0.7098135352134705, 0.2562616169452667, 0.07017172873020172, 0.4668937027454376, -0.4305886924266815, 0.7859609127044678, 0.08633998036384583, -0.740249752998352, 0.3351825773715973, -0.523489773273468, 0.22172187268733978, 0.45341262221336365, 0.4078931212425232, -0.7181252241134644, -0.9267506003379822, -0.39883750677108765, -0.6559046506881714, 0.45911380648612976, 0.15114915370941162, 0.1871676743030548, -0.18498095870018005, 0.42814901471138, -0.05566646158695221, 0.2529290020465851, -0.4742474853992462, -0.3073727786540985, -0.0733741819858551, -0.15296372771263123, 0.14514221251010895, -0.23994635045528412, -0.21161435544490814, 0.05016384273767471, 0.5184710621833801, -0.24615658819675446, 0.21371328830718994, 0.15291006863117218, -0.028938040137290955, 0.07438930124044418, 0.5294095277786255, 0.4731353521347046, 0.6894263625144958, -0.1662508100271225, 0.12910211086273193, 0.27553242444992065, -0.11613316833972931, 0.17077958583831787, 0.06611461937427521, -0.31955066323280334, 0.0051142075099051, 0.5312106013298035, 0.7856147289276123, -0.051999781280756, -0.6710310578346252, 0.4754178524017334, -0.0681551843881607, -0.30958154797554016, -0.10694795101881027, 0.2761136591434479, 0.06695553660392761, 0.29801979660987854, 0.19845563173294067, -0.2119349241256714, 0.055274445563554764, -0.4304664433002472, 0.0243136715143919, 0.7388145327568054, -0.7121817469596863, -0.13310641050338745, 0.45501601696014404, -0.2280242145061493, -0.32686474919319153, 0.6905214786529541, -0.697920560836792, -0.7289310693740845, 0.43874984979629517, 0.6384912133216858, 0.6468382477760315, 0.28028881549835205, 0.3123292922973633, 0.06506352126598358, 0.25484541058540344, 0.007351704407483339, 0.3313615918159485, 0.02713179960846901, -0.9652248620986938, -0.4947509765625, -0.38629859685897827, -0.6025508046150208, 0.008379883132874966, -0.4176950454711914, 0.11729408800601959, -0.35568293929100037, -0.4233797490596771, -0.1874712109565735, -0.1622593104839325, -0.714302122592926, -0.059251561760902405, 0.032124198973178864, 1.0808168649673462, -0.7706406116485596, 0.5070123672485352, 0.6598479151725769, -0.299557089805603, -1.0381089448928833, -0.200864776968956, 0.009745794348418713, -0.6845734715461731, 0.46564796566963196, -0.024434328079223633, -0.24883906543254852, -0.14352943003177643, -0.21113330125808716, -0.5862972140312195, 1.3106461763381958, 0.5764970183372498, -0.31420645117759705, -0.10858825594186783, 0.47079578042030334, 0.4550519287586212, -0.26404035091400146, 0.3608943819999695, 0.5682616233825684, 0.5119356513023376, 0.35192617774009705, -1.3083288669586182, 0.2685612440109253, 0.17725184559822083, -0.10405571013689041, 0.05869749188423157, -0.4719802439212799, 0.4698871672153473, -0.16084393858909607, -0.12443408370018005, 0.12709181010723114, 0.6624503135681152, 0.3389534652233124, 0.27028584480285645, 0.6805152297019958, 0.449930876493454, 1.0148038864135742, -0.09060801565647125, 1.0330454111099243, -0.28944507241249084, 0.2952800989151001, 0.8947308659553528, -0.3928074538707733, 0.5198792815208435, 0.28855612874031067, -0.3400111496448517, 0.44216039776802063, 0.7766612768173218, 0.17816168069839478, 0.19469515979290009, 0.15782731771469116, -0.3112766742706299, -0.5105522871017456, -0.5437231659889221, -0.2890627384185791, 0.23334433138370514, 0.38193556666374207, 0.02940482646226883, -0.23658205568790436, -0.36732974648475647, 0.0012740768725052476, -0.2962275743484497, -0.07702592760324478, 0.7499094605445862, 0.24154558777809143, -0.7284621596336365, 0.5596440434455872, -0.28503870964050293, 0.305004358291626, -0.6587927937507629, 0.20132915675640106, -0.2517080307006836, -0.23603218793869019, -0.2765401601791382, -0.9846271872520447, 0.22679784893989563, -0.1667572408914566, -0.050004441291093826, -0.08467831462621689, 0.7950668334960938, -0.37112459540367126, -0.3217064142227173, 0.40909722447395325, 0.9482424259185791, 0.14924724400043488, 0.1108713448047638, -0.10840411484241486, -0.03554823622107506, -0.07901174575090408, -0.19722674787044525, 0.2774379551410675, 0.4734641909599304, 0.09961250424385071, 0.8405442237854004, 0.03920937329530716, 0.004078772384673357, 0.08192919939756393, 0.26454341411590576, 0.7299529910087585, -0.31791970133781433, 0.02254893071949482, -0.7823486328125, 0.1590355485677719, -0.0289300587028265, -0.07958362996578217, 0.9603321552276611, 0.5885439515113831, 0.7111609578132629, 0.1471218466758728, 0.8037586808204651, -0.22245216369628906, 0.28162384033203125, -0.5162063241004944, 0.43723151087760925, -0.42953789234161377, 0.34935760498046875, -0.28585636615753174, -0.9516815543174744, -0.17644736170768738, 0.2750343680381775, -0.3206385374069214, 0.17666596174240112, 0.68685382604599, 0.7078741788864136, 0.0360962338745594, 0.1513240784406662, 0.4661005735397339, 0.023303953930735588, 0.17330524325370789, 0.6052364110946655, 1.1677131652832031, -0.09229668229818344, 0.6408271193504333, 0.08681602030992508, -0.26103171706199646, 0.11017370969057083, -0.9588215351104736, -1.0410977602005005, -0.48380783200263977, -0.37778475880622864, -0.5645964741706848, -0.20854012668132782, 0.8101211786270142, 0.482779324054718, -0.6145679950714111, -0.22453813254833221, 0.2668382227420807, 0.46250131726264954, 0.0805191695690155, -0.18188847601413727, 0.006444808095693588, -0.5925809144973755, -0.2413952648639679, 0.4274722635746002, 0.44019410014152527, 0.2007169872522354, -0.27131393551826477, -0.0011702842311933637, 0.3492879569530487, 0.05612684786319733, 0.5402663350105286, 0.13050436973571777, -0.8062468767166138, -0.7251476645469666, 0.3633595108985901, -0.08374398201704025, -0.09652962535619736, 0.9418017268180847, -0.7556877136230469, 0.290269136428833, 0.49661698937416077, 0.6051030158996582, 0.501363217830658, -0.3057340383529663, 0.4676676094532013, -0.7147538065910339, -0.23270617425441742, 0.12290117144584656, 0.6118083596229553, 0.3165091872215271, -0.13569138944149017, 0.44371140003204346, 0.2801744043827057, -0.4741499722003937, -0.5860249400138855, 0.4775843024253845, -1.0682458877563477, 0.0655156821012497, 1.337666392326355, -0.2269277423620224, 0.09766201674938202, -0.4231678247451782, 0.04078548029065132, 0.2515375018119812, -0.04869067668914795, 0.5911056995391846, 1.0144003629684448, -0.2575947940349579, 0.10874128341674805, -0.6632546782493591, 0.2265770137310028, 0.19743019342422485, -0.721895694732666, 0.22743253409862518, 0.5050458908081055, 0.4351893663406372, 0.2884157598018646, 0.9947284460067749, -0.0007798031438142061, 0.04266177862882614, -0.23636943101882935, -0.4776271879673004, -0.21873046457767487, -0.1449299156665802, -0.0357234962284565, 0.16654637455940247, 0.6119750142097473, 0.26185765862464905 ]
http://arxiv.org/abs/2406.00038v1
http://arxiv.org/pdf/2406.00038v1
ViSpeR: Multilingual Audio-Visual Speech Recognition
2024-05-27T14:48:51
2024-05-27T14:48:51
Sanath Narayan, Yasser Abdelaziz Dahou Djilali, Ankit Singh, Eustache Le Bihan, Hakim Hacid
cs.CL
cs.CL, cs.AI
This work presents an extensive and detailed study on Audio-Visual Speech Recognition (AVSR) for five widely spoken languages: Chinese, Spanish, English, Arabic, and French. We have collected large-scale datasets for each language except for English, and have engaged in the training of supervised learning models. Our model, ViSpeR, is trained in a multi-lingual setting, resulting in competitive performance on newly established benchmarks for each language. The datasets and models are released to the community with an aim to serve as a foundation for triggering and feeding further research work and exploration on Audio-Visual Speech Recognition, an increasingly important area of research. Code available at \href{https://github.com/YasserdahouML/visper}{https://github.com/YasserdahouML/visper}.
[ -0.3095141053199768, -0.400704026222229, 0.21377186477184296, 0.3710996210575104, -0.11649423837661743, -0.12548837065696716, -0.38372209668159485, -0.6786104440689087, -0.04059934243559837, 0.405956506729126, -0.1736585944890976, -0.6153361797332764, -0.5903854966163635, 0.1199156790971756, -0.6264265179634094, 0.5040242075920105, 0.004416275769472122, 0.7235032916069031, 0.05981258675456047, -0.46975404024124146, -0.5251509547233582, -0.44573134183883667, -0.6672177910804749, -0.2380986511707306, 0.5375304818153381, 0.7495516538619995, 0.16111117601394653, 0.4948354959487915, 0.7441499829292297, 0.340089350938797, 0.05803963541984558, 0.1945311427116394, -0.15644609928131104, 0.19848772883415222, 0.16492405533790588, -0.15680527687072754, -0.4168263077735901, -0.3964390456676483, 0.8740963339805603, 0.40083780884742737, -0.31810832023620605, 0.366013765335083, -0.14712662994861603, 0.6558396816253662, -0.7080526947975159, 0.499210000038147, -0.44313517212867737, 0.2951226234436035, -0.30938243865966797, -0.12494440376758575, -0.41156458854675293, -0.34720414876937866, 0.2688875198364258, -0.4382201135158539, 0.16559730470180511, -0.17113296687602997, 0.5436410307884216, 0.2960374057292938, -0.36267802119255066, 0.0025735688395798206, -1.0890324115753174, 0.7307955622673035, -0.2943762242794037, 0.9994022250175476, 0.3383025825023651, 0.9139763116836548, 0.5151669979095459, -0.9642261862754822, -0.6908340454101562, 0.006979530677199364, 0.5502724647521973, 0.17031794786453247, -0.2072523981332779, -0.3065337836742401, 0.1099969744682312, 0.2766382098197937, -0.5143582224845886, -0.12721598148345947, -0.6901417970657349, -0.32125627994537354, 0.5975855588912964, 0.026567237451672554, 0.41719451546669006, 0.21484455466270447, -0.2863708436489105, -0.36457931995391846, -0.36580607295036316, 0.41516607999801636, -0.1330726593732834, 0.4926125705242157, -0.49100908637046814, 0.6973995566368103, 0.015787219628691673, 1.1165608167648315, -0.449279248714447, -0.5544165372848511, 0.7268162965774536, -0.22813928127288818, -0.270033061504364, 0.42454034090042114, 0.88041090965271, 0.32036063075065613, 0.4605090022087097, 0.2908235788345337, -0.21029216051101685, 0.19503188133239746, -0.08224231004714966, -0.505604088306427, -0.10957028716802597, -0.1449691206216812, -0.3801513612270355, 0.04389592260122299, 0.1903158724308014, -0.4610898792743683, -0.28926223516464233, -0.5617458820343018, 0.35812121629714966, -0.5365709066390991, -0.5009656548500061, 0.41448986530303955, -0.26185518503189087, 0.6456523537635803, 0.4063163697719574, -0.399751752614975, 0.343733549118042, 0.4494078755378723, 0.8766570687294006, -0.18943096697330475, -0.7414932250976562, -0.9898906350135803, 0.3230561316013336, -0.27843743562698364, 0.6314159035682678, -0.7645621299743652, -0.3800201416015625, 0.27623113989830017, 0.1273731291294098, 0.029735926538705826, -0.5357584357261658, 0.6502901315689087, -0.2741755545139313, 0.20608891546726227, -0.4628234803676605, -0.0579974465072155, -0.5717595219612122, 0.11102160066366196, -0.7970578074455261, 0.7163726687431335, -0.26413488388061523, -0.7952423095703125, 0.36774125695228577, -0.5444561839103699, -0.39935502409935, 0.23542805016040802, -0.5528964996337891, -0.35065242648124695, -0.08205145597457886, 0.3254146873950958, 0.5592919588088989, -0.4008652865886688, -0.06985866278409958, 0.29750949144363403, -0.2948695421218872, 0.022297337651252747, -0.6689475178718567, 0.7099378108978271, 0.4400474727153778, -0.29318666458129883, 0.23437851667404175, -1.1563200950622559, -0.07090267539024353, 0.16086465120315552, -0.22508446872234344, -0.2747781276702881, 0.0884842723608017, 0.7789260745048523, 0.29696154594421387, 0.31064373254776, -0.7119098901748657, -0.24499371647834778, -0.34824374318122864, 0.3805953860282898, 0.3342885375022888, -0.17480795085430145, 0.03350713476538658, 0.023395884782075882, 0.627169668674469, 0.3648740351200104, 0.3354126513004303, -0.26494526863098145, -0.395247220993042, -0.9411631226539612, -0.41339361667633057, 0.03819083794951439, 0.8417412042617798, -0.91184401512146, -0.20581486821174622, -0.24454089999198914, -0.6743474006652832, -0.43686720728874207, 0.08016902208328247, 0.6759067177772522, 0.49878498911857605, 0.5230247378349304, -0.2478698194026947, -0.6838602423667908, -1.004152774810791, 0.027624547481536865, -0.18429499864578247, 0.1797998994588852, 0.26696568727493286, 0.23334269225597382, -0.5031688809394836, 0.7987565994262695, -0.2304507941007614, -0.7117578387260437, -0.41013213992118835, -0.21279047429561615, 0.1703617423772812, 0.2214503288269043, 0.6717322468757629, -1.084476113319397, -0.839177131652832, 0.47971785068511963, -0.6584334373474121, 0.321870893239975, 0.38214197754859924, 0.35708945989608765, 0.053857140243053436, 0.6766321063041687, 0.16520313918590546, 0.20097437500953674, 0.7822713851928711, -0.011833230033516884, 0.5071149468421936, -0.16314013302326202, 0.13968220353126526, -1.1478650569915771, -0.25340041518211365, 0.13541127741336823, -0.39130139350891113, -0.5673453211784363, -0.23617768287658691, 0.17070217430591583, -0.26689794659614563, -1.0984528064727783, 0.42141517996788025, -0.6732208132743835, -0.00777160981670022, -0.1330326348543167, -0.16097328066825867, -0.36590856313705444, 0.20078174769878387, 0.40107664465904236, 1.061867117881775, 1.4057332277297974, -0.9077817797660828, 0.8428944945335388, 0.4152373969554901, -0.48931315541267395, 0.696710467338562, -1.0301586389541626, -0.0968957468867302, -0.15003424882888794, -0.43950194120407104, -0.8589715957641602, -0.19322757422924042, 0.10981382429599762, -0.6325397491455078, 0.44305479526519775, -0.02081846445798874, -0.1766912192106247, -0.24448561668395996, -0.045584674924612045, 0.6519523859024048, 0.26241907477378845, -0.600739598274231, 0.7586182355880737, 0.8646119236946106, -0.2846444845199585, -0.7800635099411011, -0.6804839968681335, 0.21437090635299683, -0.2600160241127014, -0.38231638073921204, -0.030248694121837616, 0.07526544481515884, -0.24380634725093842, -0.46365225315093994, 0.11242621392011642, -0.3796464502811432, -0.737695038318634, 0.22279801964759827, 0.12669746577739716, -0.3795391023159027, -0.017426401376724243, -0.36995822191238403, -0.18591855466365814, -0.023774778470396996, -0.009281094186007977, 0.6221429109573364, -0.6373764872550964, -0.5626876950263977, -0.5736081004142761, 0.4259057641029358, 0.8068397045135498, -0.8232249021530151, 0.26736554503440857, 1.1207948923110962, -0.30605947971343994, -0.013632388785481453, -0.7574726939201355, 0.2210153192281723, -0.46443793177604675, 0.8019015192985535, -0.6647136807441711, -0.6597126126289368, 0.5559386610984802, 0.22896026074886322, -0.0753135234117508, 0.32730376720428467, 0.6536117196083069, 0.30162087082862854, 1.0874327421188354, 1.0113049745559692, -0.440993994474411, 0.6280563473701477, -0.19455797970294952, -0.06513702869415283, -0.5982064008712769, -0.454862505197525, -0.6168144941329956, 0.18783290684223175, -0.604446530342102, -0.5408469438552856, 0.7715283632278442, -0.6851361393928528, -0.20357489585876465, 0.43308013677597046, -0.6226396560668945, 0.40125179290771484, 0.679583728313446, -0.09058758616447449, 0.28477078676223755, 0.1588720679283142, -0.17831012606620789, -0.2536955177783966, -0.7361100316047668, -0.2969672679901123, 0.6930743455886841, 0.40522605180740356, 0.9074829816818237, 0.22208797931671143, 0.4350712299346924, 0.18627220392227173, -0.56032395362854, -0.9134323000907898, 0.5674351453781128, -0.10637404024600983, -0.32390275597572327, -0.48017269372940063, -0.14699676632881165, -0.849612295627594, 0.33100181818008423, 0.0038530509918928146, -0.3775799870491028, 0.46783989667892456, 0.042489033192396164, 0.054944004863500595, 0.21886080503463745, -0.5793837308883667, 0.7489209771156311, -0.4055957496166229, -0.2074550986289978, -0.21659936010837555, -0.8120714426040649, -0.0022130771540105343, 0.17911241948604584, 0.43005362153053284, 0.06379973143339157, 0.0705161914229393, 0.8116993308067322, -0.023542871698737144, 0.6874544620513916, -0.20766103267669678, -0.04652765020728111, 0.15410535037517548, -0.09100336581468582, 0.14458712935447693, 0.09375912696123123, 0.3187503516674042, 0.38011181354522705, 0.21813996136188507, -0.22731627523899078, 0.1626765877008438, 0.5078945755958557, -0.7609237432479858, -0.06286118924617767, -0.9160574674606323, -0.41324982047080994, -0.2590533196926117, 0.4421270787715912, 0.21594208478927612, 0.5905903577804565, -0.4503335952758789, 0.3989240229129791, 0.7057381272315979, -0.6193294525146484, 0.5098451972007751, 0.8449943661689758, -0.4491086006164551, -0.6453902125358582, 1.3393036127090454, 0.0009454889805056155, -0.078648641705513, 0.399137943983078, 0.054359402507543564, -0.12598875164985657, -0.34848782420158386, -0.3068287968635559, 0.4057905972003937, -0.7201282978057861, 0.13588126003742218, -0.47378626465797424, -0.5626398324966431, -0.28597497940063477, 0.15074384212493896, -0.7106674909591675, -0.2262657731771469, -0.0949588194489479, 0.051257114857435226, 0.345915287733078, 0.602992594242096, -0.08260220289230347, 0.058684516698122025, -0.839613139629364, 0.684267520904541, 0.4984060525894165, 0.2635134160518646, -0.1506509631872177, -0.5300493240356445, -0.5512052178382874, -0.08405818045139313, -0.05598268657922745, -0.6849326491355896, 0.7208116054534912, 0.6269577145576477, 0.6783362030982971, 0.5837908983230591, -0.239718958735466, 0.7517691254615784, -1.178819179534912, 0.6653448939323425, 0.5318621397018433, -0.8853829503059387, 0.6817850470542908, -0.14938952028751373, 0.3234297037124634, 0.41991034150123596, 0.42992761731147766, -0.8850184679031372, -0.2865510880947113, -0.15605950355529785, -0.9716203212738037, 0.5706833600997925, -0.15494117140769958, 0.22195202112197876, 0.12629787623882294, -0.28889378905296326, 0.17679999768733978, 0.22784467041492462, -0.7885448932647705, -0.5789440870285034, -0.4540099799633026, -0.12221286445856094, -0.2575179934501648, -0.4084995687007904, -0.1611931174993515, -0.7494566440582275, 0.5470046401023865, 0.0899219885468483, 0.16463132202625275, 0.14754904806613922, -0.2647717297077179, 0.12925368547439575, 0.30526262521743774, 0.7153231501579285, 0.8476104736328125, -0.09148603677749634, 0.10573003441095352, -0.014647130854427814, -0.9502291083335876, 0.16210447251796722, 0.1748027205467224, -0.05449703708291054, 0.3432493209838867, 0.36988699436187744, 1.0227826833724976, -0.0405752994120121, -0.9201834201812744, 0.6752336025238037, -0.3136763572692871, -0.2357318103313446, -1.2308622598648071, 0.04605250433087349, -0.17025168240070343, 0.4134023189544678, 0.46261778473854065, 0.02952977642416954, 0.4027807414531708, -0.35703402757644653, 0.0432131327688694, 0.32229483127593994, -0.8860072493553162, -0.16998562216758728, 1.0032567977905273, 0.186262845993042, -0.34102335572242737, 0.3145889639854431, 0.2929081320762634, -0.5288549065589905, 0.34228846430778503, 0.47580304741859436, 0.8315858840942383, -0.5302205681800842, 0.16870972514152527, 0.5231457948684692, 0.31966936588287354, -0.22547462582588196, 0.7020819187164307, -0.1692913919687271, -0.7821784019470215, -0.3454414904117584, -0.526064932346344, -0.7276275753974915, 0.03149385377764702, -0.9933804273605347, 0.6541658639907837, -0.01844429410994053, -0.15615959465503693, 0.12716491520404816, -0.5087350606918335, -0.6445294618606567, 0.17147894203662872, 0.386454701423645, 0.7755725383758545, -0.9753558039665222, 0.9208000302314758, 0.9419400095939636, -0.6243225932121277, -0.556334376335144, -0.3204956352710724, 0.07596148550510406, -0.839985728263855, 0.8067334294319153, 0.0061014071106910706, -0.5086385607719421, 0.0031673379708081484, -0.42408090829849243, -0.9167987704277039, 0.7930554151535034, 0.24217693507671356, -0.8240649700164795, 0.21180424094200134, 0.14753210544586182, 0.38069796562194824, -0.17336192727088928, 0.04229605570435524, 0.2728716731071472, 0.514606773853302, 0.07818286865949631, -1.3629539012908936, -0.7233381271362305, -0.4744320511817932, 0.033635277301073074, -0.11432664096355438, -0.6620112657546997, 0.8071118593215942, -0.27646946907043457, 0.19606265425682068, -0.5473027229309082, 0.8507247567176819, 0.2412995547056198, 0.36898717284202576, 0.4625917673110962, 0.2111068069934845, 0.5244275331497192, 0.06976278871297836, 0.6842860579490662, -0.31337970495224, -0.10394880920648575, 1.1293141841888428, -0.47280818223953247, 1.0221383571624756, 0.4919317960739136, -0.20549379289150238, 0.2710249125957489, 0.3266884386539459, -0.023124288767576218, 0.5594931244850159, -0.3713551163673401, -0.36452627182006836, -0.16344253718852997, -0.23428669571876526, -0.7883390188217163, 1.030586838722229, 0.25628140568733215, -0.20059819519519806, 0.2155063897371292, 0.5355777740478516, -0.19584928452968597, 0.018003905192017555, -0.39108985662460327, 0.8190985321998596, 0.0498846061527729, 0.051569126546382904, 0.7556882500648499, -0.12089686840772629, 0.7070145010948181, -0.8038413524627686, -0.1881590187549591, 0.2974761426448822, 0.3540220260620117, -0.08565057814121246, -0.4455517530441284, -0.017403915524482727, 0.17020785808563232, -0.3667638599872589, -0.0912286639213562, 0.4335647523403168, -0.7494105100631714, -0.9852138161659241, 0.4824191629886627, 0.5659694671630859, 0.2770845592021942, 0.10406890511512756, -0.5220627784729004, 0.2603699266910553, 0.17650103569030762, -0.0985022783279419, -0.0281220730394125, 0.4354914128780365, -0.054398953914642334, 0.8615909218788147, 0.4499516189098358, 0.5638061761856079, 0.19474011659622192, 0.7052189111709595, 0.7046862840652466, -0.7441543340682983, -0.5644857883453369, -0.6158571839332581, 0.418464332818985, 0.02590356394648552, -0.23796585202217102, 1.0867832899093628, 1.0474566221237183, 1.2221999168395996, -0.4084565341472626, 0.8920713663101196, 0.17647460103034973, 0.8641037344932556, -0.3092919886112213, 0.683780312538147, -0.7557331919670105, 0.03498317301273346, -0.6439005136489868, -0.8708810210227966, -0.44847676157951355, 0.9432759284973145, 0.09228365123271942, -0.06429141014814377, 0.5247556567192078, 0.5229894518852234, -0.2671186923980713, -0.3839714527130127, 0.530897855758667, 0.131413072347641, 0.35023489594459534, 0.38839656114578247, 0.658128023147583, -0.5272382497787476, 0.5781801342964172, -0.39890918135643005, -0.10102111846208572, -0.09313349425792694, -0.6331986784934998, -0.7571445107460022, -1.0197771787643433, -0.2969696521759033, 0.04447038844227791, -0.030183859169483185, 0.9186089634895325, 0.6163824200630188, -0.9440596103668213, -0.8903769254684448, 0.30869463086128235, -0.16781006753444672, -0.5021929144859314, -0.1514264941215515, 0.26335063576698303, -0.05071445181965828, -1.0382633209228516, 0.5319053530693054, 0.3463617265224457, 0.004100948106497526, -0.1517062485218048, -0.5045865774154663, -0.1202143058180809, -0.226068377494812, 0.8811697363853455, 0.6319932341575623, -0.7444050312042236, 0.01137119997292757, 0.06229938566684723, 0.036553654819726944, 0.18757879734039307, 0.4671012759208679, -0.6606073379516602, 0.8386801481246948, 0.5203816294670105, 0.37284016609191895, 0.6298390626907349, -0.3352975845336914, 0.5974175930023193, -0.5369912981987, 0.7373729348182678, 0.3016454875469208, 0.6621322631835938, 0.6142534017562866, 0.27491703629493713, 0.49111664295196533, 0.06476830691099167, -0.43657585978507996, -1.1027392148971558, 0.1796487271785736, -1.2808561325073242, 0.12670941650867462, 1.1520289182662964, 0.34468722343444824, -0.0468866229057312, -0.24661242961883545, -0.5226016044616699, 0.2927486300468445, -0.373552531003952, 0.28835415840148926, 0.6119498610496521, 0.001948836725205183, -0.6526085138320923, -0.9124467372894287, 0.3457816541194916, -0.0936443880200386, -0.21730132400989532, -0.11428844183683395, 0.7666443586349487, 0.17192667722702026, 0.09826869517564774, 0.6613751649856567, -0.2407391518354416, 0.6565298438072205, -0.1053234338760376, 0.575863778591156, -0.28835588693618774, -0.7540186643600464, -0.471176415681839, -6.562655698871822e-7, 0.3238697946071625, -0.5918513536453247 ]
http://arxiv.org/abs/2405.17220v1
http://arxiv.org/pdf/2405.17220v1
RLAIF-V: Aligning MLLMs through Open-Source AI Feedback for Super GPT-4V Trustworthiness
2024-05-27T14:37:01
2024-05-27T14:37:01
Tianyu Yu, Haoye Zhang, Yuan Yao, Yunkai Dang, Da Chen, Xiaoman Lu, Ganqu Cui, Taiwen He, Zhiyuan Liu, Tat-Seng Chua, Maosong Sun
cs.CL
cs.CL
Learning from feedback reduces the hallucination of multimodal large language models (MLLMs) by aligning them with human preferences. While traditional methods rely on labor-intensive and time-consuming manual labeling, recent approaches employing models as automatic labelers have shown promising results without human intervention. However, these methods heavily rely on costly proprietary models like GPT-4V, resulting in scalability issues. Moreover, this paradigm essentially distills the proprietary models to provide a temporary solution to quickly bridge the performance gap. As this gap continues to shrink, the community is soon facing the essential challenge of aligning MLLMs using labeler models of comparable capability. In this work, we introduce RLAIF-V, a novel framework that aligns MLLMs in a fully open-source paradigm for super GPT-4V trustworthiness. RLAIF-V maximally exploits the open-source feedback from two perspectives, including high-quality feedback data and online feedback learning algorithm. Extensive experiments on seven benchmarks in both automatic and human evaluation show that RLAIF-V substantially enhances the trustworthiness of models without sacrificing performance on other tasks. Using a 34B model as labeler, RLAIF-V 7B model reduces object hallucination by 82.9\% and overall hallucination by 42.1\%, outperforming the labeler model. Remarkably, RLAIF-V also reveals the self-alignment potential of open-source MLLMs, where a 12B model can learn from the feedback of itself to achieve less than 29.5\% overall hallucination rate, surpassing GPT-4V (45.9\%) by a large margin. The results shed light on a promising route to enhance the efficacy of leading-edge MLLMs.
[ -0.16389939188957214, -0.5705217123031616, 0.5402247905731201, -0.07984835654497147, -0.02342195436358452, 0.0508011132478714, -0.07227025181055069, -0.5728977918624878, -0.060006413608789444, 0.373630553483963, -0.6112838387489319, -0.5179820656776428, -0.5461321473121643, -0.03548174723982811, -0.13071277737617493, 1.2651089429855347, -0.013332456350326538, 0.15834535658359528, -0.42015594244003296, -0.46140632033348083, -0.2815115451812744, -0.7139209508895874, -0.3520776629447937, -0.4661443531513214, 0.5511717200279236, 0.10955478250980377, 0.9493370056152344, 0.900991678237915, 0.7002856731414795, 0.23666761815547943, 0.3304921090602875, 0.25084927678108215, -0.6620123386383057, 0.3563956916332245, -0.1586979329586029, -0.3724011182785034, -0.4822605550289154, 0.017376545816659927, 0.5520128011703491, 0.004198302049189806, -0.3699609041213989, 0.2377621829509735, 0.149959996342659, 0.8672336339950562, -0.6422584652900696, 0.16294121742248535, -0.2744392156600952, 0.14371494948863983, 0.04871733859181404, -0.084255650639534, -0.6123490333557129, -0.6082240343093872, 0.17581714689731598, -0.9295544624328613, 0.12963557243347168, 0.12561862170696259, 1.1324955224990845, 0.7349803447723389, 0.20066256821155548, -0.0389031358063221, -0.8377277255058289, 0.8620874285697937, -0.5308083295822144, 0.9310175180435181, 0.31741034984588623, 0.33342450857162476, 0.07721547782421112, -0.7505478262901306, -0.4273419678211212, -0.5637902617454529, -0.1737486869096756, 0.1616562306880951, -0.10683181136846542, -0.1206413060426712, 0.1700197011232376, 0.15112750232219696, -0.6179306507110596, 0.10544136166572571, -0.32885196805000305, -0.5840809345245361, 0.3032276928424835, 0.04963826760649681, 0.11365359276533127, 0.19156169891357422, -0.5210063457489014, -0.09457675367593765, -0.6971017718315125, -0.15515077114105225, 0.26612916588783264, 0.07498618215322495, 0.18369129300117493, 0.580230176448822, 0.012429960072040558, 0.7382532358169556, 0.3568383455276489, -0.4934695363044739, 0.4604044556617737, -0.32042405009269714, -0.33831605315208435, 0.04033232107758522, 0.9355586767196655, 0.4786624312400818, 0.19983366131782532, -0.11292627453804016, -0.2841653823852539, -0.013933675363659859, 0.3578791916370392, -0.7914932370185852, -0.4323144257068634, 0.23615504801273346, -0.6500358581542969, -0.38787323236465454, 0.16550381481647491, -0.6628427505493164, -0.6334496736526489, -0.3426510989665985, 0.6379028558731079, -0.38832002878189087, -0.2992544174194336, -0.3040878176689148, 0.1681043654680252, 0.24133430421352386, 0.4269540309906006, -0.8578028082847595, 0.028825437650084496, 0.6338672637939453, 1.0370721817016602, -0.26273593306541443, -0.5199325680732727, -1.0143775939941406, 0.24293296039104462, -0.21413226425647736, 0.6431228518486023, -0.6543391346931458, -0.273440420627594, -0.1674419492483139, -0.0723574236035347, 0.08324224501848221, -0.5355437994003296, 0.42925363779067993, -0.3557340204715729, 0.33702465891838074, -0.2055039256811142, -0.45835500955581665, -0.19015811383724213, 0.36954349279403687, -0.6940666437149048, 1.2110073566436768, 0.09870190918445587, -0.8953404426574707, 0.458678662776947, -0.4517144560813904, 0.09452906250953674, 0.12673978507518768, -0.33572623133659363, -0.8292245268821716, -0.14408265054225922, 0.4268876314163208, 0.49557310342788696, -0.029481075704097748, 0.3283631205558777, -0.5049190521240234, -0.44278690218925476, 0.37019190192222595, -0.4557519555091858, 0.5843798518180847, 0.18420134484767914, -0.652191698551178, 0.72669917345047, -0.6150568127632141, -0.009506259113550186, -0.17905963957309723, -0.10519123822450638, -0.21013663709163666, -0.25029000639915466, -0.03209904581308365, 0.1658983826637268, 0.2795095145702362, -0.4286949932575226, 0.05796211212873459, -0.33625298738479614, 0.2568624019622803, 0.9833999276161194, -0.24541619420051575, 0.33347588777542114, -0.39523419737815857, 0.6081915497779846, -0.17762568593025208, 0.5539683103561401, 0.13141703605651855, -0.4496101438999176, -0.6720494031906128, -0.542333722114563, 0.38977232575416565, 0.6014193892478943, -0.5253636837005615, 0.3057630658149719, -0.1749555617570877, -0.49758321046829224, -1.13083016872406, 0.3091866374015808, 0.6511491537094116, 0.5516116619110107, 0.5416456460952759, -0.25886985659599304, -0.321837842464447, -0.9519829154014587, -0.16099658608436584, -0.3782321512699127, 0.029202964156866074, 0.2326568067073822, 0.28669801354408264, -0.3791072368621826, 0.7862154245376587, -0.28883492946624756, -0.5970414876937866, 0.07858464866876602, 0.01570194400846958, -0.270120769739151, 0.35130009055137634, 0.25890567898750305, -0.7234430909156799, -0.404873251914978, 0.18799938261508942, -0.8502240777015686, -0.11033591628074646, 0.12289710342884064, 0.015350185334682465, 0.6002957820892334, 0.6215104460716248, -0.5167296528816223, 0.2598054111003876, 0.7284060120582581, -0.20835991203784943, 0.5857431888580322, -0.43522337079048157, 0.0571553036570549, -0.8963343501091003, 0.06418667733669281, 0.051847536116838455, -0.33758288621902466, -0.35158196091651917, 0.1969248205423355, 0.134591743350029, 0.30874383449554443, -0.5492939352989197, 0.4150410592556, -0.3057413697242737, 0.030356623232364655, -0.14072535932064056, 0.20976266264915466, -0.12157624959945679, 0.387833833694458, 0.0058684139512479305, 0.7835453748703003, 0.46547797322273254, -0.3710376024246216, 0.4803478419780731, 0.05425277352333069, -0.036306168884038925, 0.7490000128746033, -0.5900338292121887, 0.14480945467948914, -0.0905178114771843, 0.3889549970626831, -0.7679948210716248, -0.25470399856567383, 0.7443088293075562, -0.47936761379241943, 0.2914513945579529, -0.06495507061481476, -0.2020876407623291, -0.12943539023399353, -0.32218241691589355, 0.28184425830841064, 0.3543192148208618, -0.7249537706375122, 0.9665340781211853, 0.37170612812042236, 0.10319670289754868, -1.0707080364227295, -0.5389379262924194, -0.206086665391922, -0.21744869649410248, -0.4221755862236023, 0.07854793965816498, -0.3089774250984192, -0.19279558956623077, 0.20118454098701477, -0.1789141744375229, 0.19285786151885986, -0.21267202496528625, 0.6803238391876221, 0.5545348525047302, -0.10765986889600754, 0.3193512260913849, -0.3839626610279083, -0.37815192341804504, -0.02446962706744671, -0.6128280162811279, 0.08245763182640076, -0.590607225894928, -0.4695681631565094, -0.6917230486869812, 0.032685622572898865, 0.7066727876663208, -0.34963786602020264, 0.7727399468421936, 1.1527276039123535, -0.23431085050106049, -0.1352168321609497, -0.7071778178215027, -0.36318427324295044, -0.44345730543136597, 0.28250423073768616, -0.3567865788936615, -1.2980962991714478, 0.1017572209239006, 0.15808925032615662, 0.09629615396261215, 0.37719494104385376, 0.8303579092025757, 0.18568052351474762, 1.0706697702407837, 0.8208862543106079, -0.11540182679891586, 0.18938446044921875, 0.11372814327478409, 0.4317886233329773, -0.5179013609886169, -0.6207360625267029, -0.38351523876190186, -0.02809753827750683, -0.60194331407547, -0.43935999274253845, 0.19914327561855316, -0.14662444591522217, -0.2414858192205429, 0.011840496212244034, -0.8845847845077515, 0.5392090082168579, 0.5521823763847351, 0.14572805166244507, 0.4119763970375061, -0.09525792300701141, -0.11315115541219711, -0.2668978273868561, -0.5315331816673279, -0.4476052224636078, 1.0658409595489502, 0.6885963678359985, 0.8747976422309875, 0.13286687433719635, 0.7219194173812866, 0.2502348721027374, 0.6905800104141235, -0.784752607345581, 0.33153438568115234, 0.1738652139902115, -0.44497641921043396, -0.4024691581726074, -0.3864468038082123, -0.468546599149704, 0.2820563018321991, -0.4483279585838318, -0.7242334485054016, -0.00422848854213953, 0.5698779225349426, -0.525328516960144, 0.1712527722120285, -0.6422072649002075, 0.8413898348808289, -0.1822749227285385, -0.6870622038841248, 0.03777448087930679, -0.7954554557800293, 0.5197448134422302, -0.20151790976524353, 0.2876055836677551, 0.05010797083377838, 0.0792960450053215, 0.7477113604545593, -0.41755211353302, 0.839039146900177, -0.2521464228630066, -0.22176872193813324, 0.14827655255794525, 0.02643592283129692, 0.5939082503318787, 0.13150157034397125, 0.2777671217918396, 0.16468402743339539, 0.09237466752529144, -0.15205644071102142, -0.7420927882194519, 1.0227627754211426, -0.9933333396911621, -0.6194607019424438, -0.6262263655662537, -0.5018449425697327, -0.19882823526859283, 0.2263735681772232, 0.25845062732696533, 0.2630005180835724, -0.11238385736942291, 0.18595297634601593, 1.0344499349594116, 0.07425596565008163, 0.09037161618471146, 0.4238390326499939, -0.6953969597816467, -0.6789732575416565, 1.253400206565857, -0.0861230120062828, 0.2639162838459015, 0.4152875542640686, 0.2897571921348572, -0.4989408254623413, -0.3167704939842224, -0.5733240842819214, 0.436728835105896, -0.7388991713523865, -0.2314959019422531, -0.7761159539222717, -0.25490882992744446, -0.3893490433692932, -0.06410130858421326, -0.5012837052345276, -0.38997524976730347, -0.15783041715621948, -0.42282634973526, 0.3113548457622528, 1.01959228515625, -0.3126179277896881, 0.024510575458407402, -0.7875290513038635, 0.1551390439271927, 0.44998130202293396, 0.39617428183555603, -0.1610180288553238, -0.5041400194168091, -0.2775631844997406, -0.13783015310764313, -0.24055510759353638, -0.6299567222595215, 0.2088562697172165, 0.006280098110437393, 0.5221906900405884, 0.3265340030193329, -0.0672115758061409, 0.6269543170928955, -0.2844284474849701, 0.8685436248779297, 0.21090956032276154, -1.0184228420257568, 0.12209128588438034, -0.07472748309373856, 0.019251376390457153, 0.5101736187934875, 0.46231815218925476, -0.15354950726032257, -0.4553469717502594, -0.44745323061943054, -0.6878201961517334, 0.44313910603523254, 0.22215180099010468, -0.3863687515258789, 0.4669441282749176, 0.30435284972190857, 0.28546470403671265, 0.12757284939289093, -0.9534698724746704, -0.22731980681419373, -0.7286954522132874, -0.27908962965011597, -0.1148703470826149, -0.06370867788791656, -0.32345831394195557, -0.23065446317195892, 0.9901332259178162, -0.14321887493133545, 0.09532029926776886, 0.346744567155838, -0.03456741198897362, -0.27042025327682495, 0.17774330079555511, 0.8462601900100708, 0.8016011714935303, -0.33659273386001587, 0.2895670533180237, -0.005777547135949135, -0.5600688457489014, 0.2543882131576538, 0.08699612319469452, -0.1845068335533142, -0.18915651738643646, 0.23481708765029907, 0.7551355957984924, -0.20511233806610107, -0.4410935938358307, 0.5845900774002075, -0.2824227809906006, -0.42077136039733887, -0.12200745195150375, 0.11617042124271393, 0.07069728523492813, 0.4164600074291229, 0.03041362203657627, 0.16644316911697388, -0.18475405871868134, -0.1306876689195633, 0.4684703052043915, 0.43809396028518677, -0.9751716256141663, -0.24482670426368713, 0.9642907381057739, 0.08768128603696823, -0.40569090843200684, 0.5756747722625732, 0.04115891084074974, -0.42738980054855347, 0.036081671714782715, 0.525237500667572, 0.8314275145530701, -0.5749309062957764, 0.44549375772476196, 0.2978171408176422, 0.4885798394680023, -0.30689066648483276, -0.0623575896024704, -0.046163346618413925, -0.5216025114059448, -0.5314895510673523, -0.7193233966827393, -0.549123227596283, 0.28072434663772583, -0.7321321368217468, 0.011434980668127537, -0.430853933095932, -0.22065532207489014, -0.266556978225708, -0.27172935009002686, -0.47601160407066345, 0.22462835907936096, -0.15590324997901917, 0.4261554181575775, -0.8019178509712219, 0.9446769952774048, 0.45889249444007874, -0.4217192232608795, -1.0072057247161865, 0.1635994017124176, 0.24653027951717377, -0.7754966616630554, 0.4929656684398651, 0.34532859921455383, -0.5035569071769714, 0.10379567742347717, -0.567318320274353, -0.8432525992393494, 1.0757240056991577, 0.35184016823768616, -0.7258284091949463, 0.07826948910951614, -0.25112298130989075, 0.5603294968605042, -0.32344484329223633, 0.1561131477355957, 0.48132285475730896, 0.7746684551239014, 0.05273563414812088, -0.9263478517532349, 0.31243717670440674, -0.22361885011196136, -0.17711733281612396, 0.2958119213581085, -0.6059780120849609, 0.42517930269241333, -0.4102376699447632, -0.013786804862320423, -0.05485011637210846, 0.9487030506134033, 0.45953723788261414, 0.16331763565540314, 0.4714968204498291, 0.7457937002182007, 0.9684681296348572, 0.13566653430461884, 0.7913728356361389, -0.1864522099494934, 0.3710210919380188, 1.0614240169525146, -0.22243592143058777, 0.8166353702545166, 0.5769960284233093, 0.07552114129066467, 0.593339741230011, 0.2980363070964813, -0.10254013538360596, 0.5638746619224548, 0.034611400216817856, -0.12356182187795639, -0.37857964634895325, -0.10957666486501694, -0.5832080841064453, 0.1614995300769806, 0.21554332971572876, -0.31271442770957947, 0.14833085238933563, 0.04191005975008011, 0.0798642560839653, -0.006437094882130623, -0.093269482254982, 0.6684299111366272, 0.044664110988378525, -0.8006376028060913, 0.6164816617965698, -0.2638718783855438, 0.4820924997329712, -0.5424113869667053, -0.18862208724021912, 0.09349434077739716, 0.4701521098613739, -0.4541928172111511, -0.4422145485877991, 0.24161574244499207, -0.25755149126052856, -0.2107684314250946, -0.21083155274391174, 0.6525442004203796, -0.4840641915798187, -0.36936184763908386, 0.35346630215644836, 0.45365095138549805, -0.03154929354786873, 0.19030502438545227, -0.7265235781669617, 0.43926846981048584, 0.12782955169677734, -0.17499598860740662, 0.4120805859565735, 0.13059604167938232, 0.022987911477684975, 0.7471737265586853, 0.6965094208717346, -0.002171455416828394, -0.05435342341661453, 0.031209183856844902, 0.6873199939727783, -0.46116381883621216, -0.3182205557823181, -0.9219216108322144, 0.3258311450481415, 0.06519746035337448, -0.21853654086589813, 0.8841800689697266, 0.32861173152923584, 0.9734716415405273, 0.012526385486125946, 0.98763108253479, 0.34674376249313354, 0.4879739582538605, -0.45860373973846436, 0.7637097835540771, -0.41589972376823425, 0.18498623371124268, -0.28664472699165344, -0.9990999698638916, -0.5797461271286011, 0.7889432907104492, -0.051669929176568985, -0.02683178149163723, 0.8485236763954163, 1.1115877628326416, 0.015536862425506115, -0.02531592920422554, 0.41835248470306396, 0.3523609936237335, 0.5168933868408203, 0.32425540685653687, 0.8384062647819519, -0.10972606390714645, 0.8386055827140808, -0.3245144486427307, -0.5040255188941956, -0.22646404802799225, -0.992041826248169, -0.9878976941108704, -0.6855598092079163, -0.3404162526130676, -0.7695179581642151, 0.339260995388031, 0.912754476070404, 0.7143509387969971, -0.7719766497612, 0.04946885630488396, 0.021028144285082817, -0.00551888020709157, -0.45676133036613464, -0.2338842898607254, 0.5494535565376282, -0.15016821026802063, -0.4346928298473358, 0.3847375214099884, 0.5245554447174072, 0.04026919975876808, -0.6603754162788391, -0.4733363687992096, 0.1676691770553589, -0.030736854299902916, 0.38105660676956177, 0.2394697517156601, -1.1085439920425415, -0.5108771920204163, 0.11484840512275696, -0.13818597793579102, 0.026508690789341927, 0.7170206308364868, -0.9665140509605408, 0.5740540623664856, 0.2653706669807434, 0.7539203763008118, 0.33120816946029663, 0.21275490522384644, 0.625481903553009, -0.325649619102478, -0.2331983596086502, 0.08357659727334976, 0.08833954483270645, 0.5677152276039124, -0.5229238867759705, 0.3611358106136322, 0.37346765398979187, -0.940871000289917, -0.8529252409934998, 0.25200212001800537, -0.8407896161079407, -0.10366654396057129, 1.0463790893554688, -0.19344085454940796, -0.3628411591053009, -0.206998810172081, -0.4616702198982239, 0.15322370827198029, -0.5397527813911438, 0.8779571056365967, 0.7119697332382202, -0.24790063500404358, -0.18375280499458313, -0.38074180483818054, 0.6858665347099304, 0.45004385709762573, -0.5617708563804626, 0.22627295553684235, 0.651896595954895, 0.34427228569984436, 0.32461851835250854, 0.7798510789871216, -0.07078403979539871, 0.2396162748336792, -0.22153136134147644, -0.031129997223615646, -0.3786830008029938, -0.6371408700942993, -0.3905993700027466, 0.47112369537353516, 0.20505115389823914, -0.0464990958571434 ]
http://arxiv.org/abs/2405.17217v1
http://arxiv.org/pdf/2405.17217v1
Collage is the New Writing: Exploring the Fragmentation of Text and User Interfaces in AI Tools
2024-05-27T14:35:17
2024-05-27T14:35:17
Daniel Buschek
cs.HC
cs.HC, cs.CL, H.5.2; I.2.7
This essay proposes and explores the concept of Collage for the design of AI writing tools, transferred from avant-garde literature with four facets: 1) fragmenting text in writing interfaces, 2) juxtaposing voices (content vs command), 3) integrating material from multiple sources (e.g. text suggestions), and 4) shifting from manual writing to editorial and compositional decision-making, such as selecting and arranging snippets. The essay then employs Collage as an analytical lens to analyse the user interface design of recent AI writing tools, and as a constructive lens to inspire new design directions. Finally, a critical perspective relates the concerns that writers historically expressed through literary collage to AI writing tools. In a broad view, this essay explores how literary concepts can help advance design theory around AI writing tools. It encourages creators of future writing tools to engage not only with new technological possibilities, but also with past writing innovations.
[ -0.4804461598396301, -0.9922459125518799, 0.4943092167377472, -0.14394329488277435, 0.25641122460365295, 0.6878302693367004, 0.05804569274187088, -0.4529373347759247, 0.3743700683116913, 0.2829623222351074, -0.6462988257408142, -0.592179536819458, -0.4223620295524597, 0.26269835233688354, -0.5258769392967224, 0.9612032771110535, -0.3698517382144928, -0.22072772681713104, -0.8994421362876892, -0.07672542333602905, -0.7873885631561279, -0.034508585929870605, -0.3146687150001526, -0.03933501988649368, 0.6295464634895325, 0.39840659499168396, 0.5868911147117615, 0.2500881552696228, 0.6066590547561646, 0.47896429896354675, 0.374599426984787, 0.18031497299671173, -0.3908221125602722, 0.1691877543926239, 0.29202932119369507, -0.6705775260925293, -0.008048957213759422, 0.5381028652191162, 0.8313459157943726, 0.7418305277824402, 0.2197016179561615, -0.1095961183309555, 0.26769015192985535, 0.6093196272850037, -0.6872913241386414, -0.09597114473581314, -0.0015567652881145477, 0.4265667498111725, -0.373330295085907, 0.06468509137630463, -0.5335131883621216, -0.40948161482810974, -0.12972523272037506, -0.8999758362770081, 0.007255254313349724, 0.5204505920410156, 0.7716764807701111, -0.04416864365339279, 0.03316916525363922, -0.15964293479919434, -0.5340466499328613, 0.5439544916152954, -0.14400514960289001, 0.14763052761554718, 0.15426257252693176, 0.3476512134075165, -0.03549455851316452, -1.0870976448059082, -0.6486703157424927, -0.02232786826789379, -0.36509770154953003, -0.016969824209809303, -0.4235894978046417, -0.0482255220413208, -0.19710415601730347, 0.5212900042533875, -0.5571091175079346, -0.08447366952896118, -0.5181142687797546, -0.35958847403526306, 0.6341456174850464, 0.3499954342842102, 0.943053126335144, 0.46134689450263977, -0.4505713880062103, 0.3956405222415924, -0.4894373416900635, -0.06484539061784744, 0.5339265465736389, -0.14044196903705597, -0.02824692241847515, 0.3796379268169403, 0.0945037305355072, 0.8626123070716858, -0.20391534268856049, -0.09334718436002731, 0.24098847806453705, -0.26222336292266846, -0.11376994848251343, -0.04627757892012596, 1.1198205947875977, 0.6261242628097534, 0.0002461846743244678, -0.3554786145687103, 0.12875567376613617, -0.006361063104122877, 0.5556026101112366, -0.45411843061447144, -0.5039971470832825, -0.14350968599319458, -0.5783976316452026, -0.6573722958564758, -0.0212409570813179, -0.3563808500766754, -0.6426231861114502, -0.2625347971916199, 0.3583446443080902, -0.4782404899597168, 0.1285492330789566, -0.3280027210712433, -0.5202406644821167, -0.23373058438301086, 0.5321369767189026, -0.7023524045944214, 0.19811619818210602, 0.6597865223884583, 0.9776145815849304, -0.22531035542488098, -0.6788586974143982, -0.3231041729450226, -0.005701140500605106, -0.4001119136810303, 1.0976245403289795, -0.7180914878845215, -0.4183836281299591, 0.24337948858737946, -0.3421967327594757, -0.07537595182657242, -0.23823213577270508, 0.2678568959236145, -0.20720016956329346, 0.6487617492675781, -0.13639229536056519, -0.6317061185836792, -0.30417078733444214, 0.016374286264181137, -1.0529063940048218, 0.6428505182266235, 0.3994353115558624, -0.8425695300102234, 0.4510177969932556, -0.8741437792778015, -0.6673470735549927, 0.49704211950302124, -0.6323947310447693, -0.3145292401313782, 0.08423695713281631, -0.29159146547317505, 0.0748843178153038, -0.18876542150974274, -0.07424702495336533, -0.2595198154449463, -0.6233370304107666, 0.41928714513778687, -0.0735372006893158, 0.8238555192947388, 0.45652759075164795, 0.13034085929393768, 0.031129999086260796, -0.5954728722572327, -0.0856708437204361, -0.23431749641895294, -0.3546068072319031, -0.23461246490478516, -0.1108088418841362, 0.24845001101493835, -0.08918536454439163, 0.3907417356967926, -0.7348055243492126, 0.3656631112098694, 0.03201504051685333, 0.6837155222892761, 0.3594014644622803, -0.48173418641090393, 0.9594009518623352, -0.8808704018592834, 0.7448880672454834, -0.2623153030872345, 0.04060696065425873, -0.3816710412502289, -0.310931533575058, -0.44772008061408997, -0.18346244096755981, 0.005827704444527626, 0.39247560501098633, -0.6051385998725891, 0.327340304851532, 0.3786352872848511, -0.3225167989730835, -0.9231786727905273, 0.28412702679634094, 0.041467227041721344, 0.4174036383628845, -0.010742686688899994, -0.33249980211257935, -0.5149221420288086, -0.8203992247581482, -0.3473225235939026, -0.18434660136699677, 0.4273104667663574, 0.024108095094561577, 0.12324342876672745, -0.056429289281368256, 0.9572696089744568, -0.7094981074333191, -0.6904088854789734, -0.6378903985023499, 0.4057765603065491, -0.4692198634147644, 0.30456221103668213, 0.6425397992134094, -0.507113516330719, -0.5729739665985107, -0.23440329730510712, -1.0485831499099731, -0.1399042010307312, -0.4250085651874542, -0.30059629678726196, 0.22062480449676514, 0.7453351020812988, -0.7793987989425659, 0.7393062114715576, 0.14503717422485352, -0.3432105779647827, 0.7187108993530273, 0.06650138646364212, 0.22246922552585602, -0.785699188709259, -0.03152240440249443, -0.14201276004314423, 0.4221358597278595, -0.5735660791397095, 0.29623115062713623, -0.3327147364616394, -0.16600337624549866, -0.18992669880390167, 0.3929363787174225, -0.6001413464546204, 0.31451109051704407, -0.5295580625534058, 0.2844996452331543, 0.6536646485328674, 0.03605762869119644, -0.2825000286102295, 0.6986135840415955, 0.41245871782302856, 0.25949639081954956, 0.2546764016151428, 0.5689644813537598, -0.6724985837936401, 0.8256219029426575, -0.18536607921123505, 0.05660512298345566, -0.24303051829338074, 0.34380292892456055, -1.1602047681808472, -0.0690506175160408, 0.25839611887931824, -0.311199814081192, 0.047646619379520416, 0.6732825040817261, -0.28798916935920715, -0.4053443968296051, -0.5310201048851013, 0.548763632774353, 0.1608949452638626, 0.0806824266910553, 0.7124801874160767, 0.3910098671913147, -0.3709278404712677, -0.4060347080230713, -0.7353837490081787, 0.3176118731498718, -0.21178549528121948, -0.8891914486885071, 0.322424978017807, -0.39352333545684814, -0.5975587368011475, 0.15108881890773773, 0.5901853442192078, -0.2688004970550537, 0.09523658454418182, 0.49359965324401855, 0.46926093101501465, -0.19791582226753235, 0.008557180874049664, 0.22060127556324005, 0.04310886561870575, -0.03694659844040871, 0.04663349315524101, 0.4779133200645447, 0.08393970876932144, -0.006467311643064022, -0.9106615781784058, 0.8367104530334473, 0.6780557632446289, -0.06986849755048752, 0.5566941499710083, 0.7873945832252502, 0.055455733090639114, -0.0795845091342926, -0.6118597984313965, 0.1939084231853485, -0.4586831033229828, 0.06664986908435822, -0.20390959084033966, -0.9242268800735474, 0.28145426511764526, 0.027170123532414436, 0.37739548087120056, 0.22180210053920746, 0.2892993986606598, -0.6422388553619385, 0.1309034824371338, 1.0210098028182983, -0.33154386281967163, 0.6182804107666016, -0.2486761510372162, 0.3592728078365326, -0.9050164818763733, -0.3602103590965271, -0.3061283528804779, -1.0812046527862549, -0.16551627218723297, -0.03773796558380127, 0.1658858358860016, -0.21154119074344635, -0.27125704288482666, 0.08149244636297226, -0.6385647058486938, 0.571879506111145, 0.9877542853355408, -0.05277780070900917, 0.3958269953727722, 0.010396238416433334, -0.0847400426864624, 0.06646829843521118, -0.5414911508560181, -0.39673489332199097, 0.7955330610275269, 0.14353609085083008, 0.6167212724685669, -0.39369258284568787, 1.0117300748825073, 0.5595834851264954, 0.2495676428079605, -0.5930577516555786, 0.402870774269104, -0.12114562094211578, -0.5620646476745605, -0.4083921015262604, 0.386423259973526, -0.7822279334068298, 0.1425410956144333, -0.280819296836853, -0.7586948871612549, 0.35350289940834045, -0.12590378522872925, -0.7681555151939392, 0.23935982584953308, -0.5693545341491699, 0.778878927230835, 0.1811782717704773, -0.6541743278503418, 0.07545871287584305, -0.6753794550895691, 0.21554958820343018, 0.28007298707962036, 0.34565165638923645, 0.10265561938285828, 0.13921163976192474, 0.6106087565422058, -0.4560205042362213, 0.9612526297569275, 0.35119128227233887, -0.030860133469104767, 1.0195118188858032, 0.43241071701049805, -0.025227542966604233, -0.4154976010322571, -0.05519700422883034, 0.15891587734222412, 0.0483001284301281, -0.023875921964645386, -0.46600648760795593, 0.6797411441802979, -0.9807823896408081, -0.4432322680950165, -0.23238587379455566, -1.0728662014007568, 0.42184674739837646, 0.3625965416431427, 0.4670179784297943, 0.6324993968009949, -0.26087239384651184, 0.03773123025894165, -0.08487820625305176, -0.050176844000816345, 0.7393369674682617, -0.09240681678056717, -0.37089839577674866, -0.477041095495224, 0.8652806282043457, 0.168143630027771, 0.013576065190136433, 0.4368460476398468, -0.08645018935203552, -0.055073488503694534, -0.48019295930862427, -0.6298303604125977, 0.008417446166276932, -0.7145627737045288, -0.022565782070159912, -0.42225930094718933, -0.3577178418636322, -0.450957715511322, -0.8896387219429016, 0.03194532170891762, -0.35350120067596436, -0.6904340386390686, -0.04826171696186066, 0.03573896363377571, 0.9361802339553833, 0.005719334352761507, 0.3540703356266022, -0.615023672580719, -0.1021110787987709, -0.12228891998529434, 0.047311559319496155, -0.16199135780334473, 0.10595063865184784, -0.31733524799346924, -0.5136982202529907, -0.8100964426994324, -0.5790961384773254, 0.23750430345535278, 0.15196052193641663, 0.31021636724472046, 0.47394058108329773, -0.06259739398956299, 0.22622863948345184, -0.6929343342781067, 0.8564215898513794, 0.36273515224456787, -0.403977632522583, 0.3249594569206238, -0.3418048024177551, 0.47442805767059326, 1.0305120944976807, 0.38469764590263367, -0.7890332937240601, -0.6561082005500793, -0.5509858727455139, -0.5693028569221497, 0.39056456089019775, 0.06086874380707741, 0.255015105009079, 0.12246868014335632, 0.3059459328651428, 0.5302726030349731, 0.6665645241737366, -0.7211201786994934, -0.13207481801509857, 0.05667811259627342, -0.37156274914741516, 0.10108383744955063, -0.0870104506611824, -0.34626975655555725, -0.31238147616386414, 0.12832683324813843, 0.1845426857471466, 0.2882148325443268, -0.2852678596973419, -0.0030315243639051914, -0.06482910364866257, -0.1557428240776062, 0.2718384563922882, 0.616159200668335, 0.403035968542099, 0.23455046117305756, -0.2971227467060089, -0.5525258779525757, 0.2595020830631256, -0.0010866725351661444, -0.5301722288131714, 0.006300159264355898, 0.6988643407821655, 0.6519425511360168, -0.04421122744679451, -0.3433941900730133, 0.5264168977737427, 0.15508589148521423, -0.5719078183174133, -0.423408567905426, 0.4788424074649811, 0.0359688438475132, 0.38533729314804077, 0.2261626124382019, 0.17163003981113434, 0.49978992342948914, -0.7632026672363281, 0.24097940325737, 0.4799891412258148, -0.4766596853733063, -0.15368704497814178, 0.8228033185005188, 0.5031448006629944, -0.7781896591186523, 0.8230082392692566, -0.14124314486980438, -0.005557498894631863, 0.3215774893760681, 0.45202407240867615, 1.016110897064209, 0.201366126537323, 0.6139694452285767, -0.1642385721206665, -0.009262563660740852, 0.3620613217353821, -0.10998690128326416, -0.2571782171726227, -0.544661819934845, -0.20854242146015167, -0.7661615610122681, 0.02351892739534378, -0.1014418751001358, -0.12087919563055038, 0.4281860888004303, -0.4606165587902069, 0.025075683370232582, 0.04027887433767319, -0.08261585980653763, -0.33911556005477905, 0.02702953666448593, 0.2409425973892212, 0.6489686369895935, -0.8301420211791992, 0.2817053496837616, 1.0078686475753784, -0.5713590383529663, -0.33367639780044556, -0.03796430677175522, 0.3812960088253021, -0.6416740417480469, 0.6841309070587158, 0.3393421471118927, -0.06830085813999176, -0.019721761345863342, -0.6117980480194092, -0.5722333788871765, 1.077228307723999, -0.010086419060826302, -0.5446950793266296, -0.2689368724822998, 0.25578251481056213, 0.268978476524353, -0.5891393423080444, 0.28496816754341125, 0.6354898810386658, 0.41564083099365234, 0.036345258355140686, -0.45277079939842224, -0.14814932644367218, -0.5843642950057983, -0.14070363342761993, 0.2528192698955536, -1.030962347984314, 1.0990545749664307, -0.13568328320980072, -0.1985231637954712, 0.49097275733947754, 0.7572964429855347, -0.1588200181722641, 0.766384482383728, -0.0760330781340599, 0.6866023540496826, 0.6340993046760559, -0.13708855211734772, 0.8628799915313721, -0.12053488940000534, -0.22701317071914673, 0.8292416930198669, -0.10578018426895142, 0.34401190280914307, 0.36201590299606323, -0.24427855014801025, 1.2295106649398804, 0.2786604166030884, -0.046947281807661057, 0.41673532128334045, 0.2924645245075226, -0.7364665865898132, 0.065977543592453, -0.2003115862607956, -0.16740964353084564, 0.68006432056427, -0.25048986077308655, -0.26074671745300293, -0.21560260653495789, 0.37616196274757385, 0.273320734500885, 0.5132468342781067, 0.3279486894607544, 1.0027282238006592, -0.04154396057128906, -0.6118168234825134, -0.06953628361225128, -0.2773618698120117, 0.23647120594978333, -0.11547581106424332, -0.2880721688270569, -0.21886996924877167, -0.12687331438064575, -0.29538053274154663, -0.8433838486671448, 0.2147601991891861, -0.6297650337219238, -0.09462431073188782, -0.2868507504463196, 0.8961955308914185, -0.3800843358039856, -0.7640004754066467, -0.4285329282283783, 0.4671916663646698, 0.15001380443572998, 0.03834657371044159, -0.4869205951690674, 0.8371999859809875, -0.2041001170873642, 0.055668871849775314, 0.22164082527160645, 0.6969132423400879, 0.11508677154779434, 0.44954603910446167, 0.06901613622903824, -0.07248886674642563, -0.371974915266037, -0.060541316866874695, 0.7574720978736877, -0.5031304955482483, -0.6065567135810852, -0.9299564957618713, 0.8308616876602173, -0.11134148389101028, -0.401495099067688, 0.5415700078010559, 0.7614144086837769, 0.6483082175254822, 0.14464466273784637, 1.3437650203704834, -0.3958572745323181, 0.10417290031909943, -0.15016643702983856, 1.229742169380188, -0.42233332991600037, -0.15333811938762665, -0.5888388156890869, -0.7878069877624512, -0.5440323948860168, 0.7272483110427856, -0.277565062046051, 0.06807108968496323, 0.9877744913101196, 0.3330945074558258, 0.431359201669693, 0.5719591975212097, 0.24605217576026917, -0.2182648479938507, 0.1945105493068695, 0.31006160378456116, 1.0493649244308472, -0.21119819581508636, 0.21412107348442078, -0.38111692667007446, -0.28332242369651794, -0.38360410928726196, -0.6539866924285889, -0.9267245531082153, -0.8904819488525391, -0.5764734148979187, 0.08532929420471191, -0.10856538265943527, 0.5500349998474121, 0.09087719023227692, -0.12167932093143463, -0.4257722496986389, -0.12005125731229782, 0.2610347270965576, -0.035660553723573685, -0.24623246490955353, 0.12660127878189087, -0.761869490146637, -0.6625690460205078, 0.10500987619161606, 0.5290479063987732, -0.18236400187015533, -0.4596479535102844, 0.308692067861557, -0.15905524790287018, -0.2661210596561432, 0.7860448956489563, 0.028375133872032166, -0.32870712876319885, -0.2778656780719757, -0.29500898718833923, 0.13432577252388, 0.30714988708496094, 0.9682378172874451, -0.8574548363685608, 0.4420258104801178, 0.5699570775032043, 0.5193994641304016, -0.12781541049480438, -0.031150320544838905, 0.5651621222496033, -0.25425592064857483, -0.03556229546666145, 0.10787365585565567, 0.23371894657611847, 0.26993006467819214, -0.5206704139709473, 0.26137351989746094, 0.5305532813072205, -0.6544641256332397, -0.5866829752922058, 0.08812737464904785, -0.6892991065979004, -0.7401666641235352, 0.6682516932487488, 0.17460480332374573, -0.309910386800766, -0.11919084936380386, -0.7724449038505554, 0.0496821254491806, -0.234863743185997, 1.0276511907577515, 1.1653714179992676, -0.6724779605865479, -0.12744900584220886, -0.6084468364715576, 0.4055502712726593, 0.03118896298110485, -0.8387343883514404, -0.05004454031586647, 1.076489806175232, 0.018305787816643715, 0.308001309633255, 0.8096243143081665, -0.0742546021938324, 0.4687071144580841, 0.3553685247898102, 0.19664189219474792, -0.3289298117160797, -0.7991165518760681, 0.3391386866569519, 0.6694733500480652, 0.15776443481445312, -0.19830092787742615 ]
http://arxiv.org/abs/2405.17202v2
http://arxiv.org/pdf/2405.17202v2
Efficient multi-prompt evaluation of LLMs
2024-05-27T14:24:47
2024-06-07T18:24:13
Felipe Maia Polo, Ronald Xu, Lucas Weber, Mírian Silva, Onkar Bhardwaj, Leshem Choshen, Allysson Flavio Melo de Oliveira, Yuekai Sun, Mikhail Yurochkin
cs.CL
cs.CL, cs.AI, cs.LG, stat.ML
Most popular benchmarks for comparing LLMs rely on a limited set of prompt templates, which may not fully capture the LLMs' abilities and can affect the reproducibility of results on leaderboards. Many recent works empirically verify prompt sensitivity and advocate for changes in LLM evaluation. In this paper, we consider the problem of estimating the performance distribution across many prompt variants instead of finding a single prompt to evaluate with. We introduce PromptEval, a method for estimating performance across a large set of prompts borrowing strength across prompts and examples to produce accurate estimates under practical evaluation budgets. The resulting distribution can be used to obtain performance quantiles to construct various robust performance metrics (e.g., top 95% quantile or median). We prove that PromptEval consistently estimates the performance distribution and demonstrate its efficacy empirically on three prominent LLM benchmarks: MMLU, BIG-bench Hard, and LMentry. For example, PromptEval can accurately estimate performance quantiles across 100 prompt templates on MMLU with a budget equivalent to two single-prompt evaluations. Our code and data can be found at https://github.com/felipemaiapolo/prompt-eval.
[ -0.24384693801403046, -0.47601518034935, 0.7046331167221069, 0.7657395601272583, -0.08390799164772034, 0.11813157051801682, -0.38776063919067383, 0.11494901776313782, -0.06705605238676071, -0.2524023652076721, -0.7516895532608032, -0.6089674234390259, -0.4507855772972107, 0.3852197527885437, 0.18669770658016205, 0.5636845231056213, 0.1777852475643158, 0.3007736802101135, -0.137763112783432, -0.4909696578979492, -0.6851846575737, -0.3336113393306732, -0.33465608954429626, 0.10444269329309464, 0.5702998042106628, 0.3976905643939972, 0.4273689389228821, 0.4197637140750885, 0.5484559535980225, 0.3339025676250458, -0.21487386524677277, 0.2937159240245819, -0.27248063683509827, 0.5055555701255798, 0.025768134742975235, -0.3973977863788605, -0.6012584567070007, 0.16944508254528046, 0.9205884337425232, 0.3272865414619446, -0.3658307194709778, 0.2833250164985657, 0.43644899129867554, 0.3482324481010437, -0.8539024591445923, -0.00878853164613247, -0.3896128237247467, 0.02642197348177433, -0.27766096591949463, -0.35485342144966125, -0.5871815085411072, -0.8343901038169861, -0.050506170839071274, -0.5407513976097107, 0.03332215175032616, 0.16123339533805847, 0.06447470188140869, 0.2663761079311371, -0.1832941472530365, -0.4678056836128235, -0.14413097500801086, 1.0008585453033447, -0.4316115975379944, 0.3333389461040497, 0.11917313933372498, 0.8291186094284058, -0.02372586913406849, -0.7469756007194519, 0.008814063854515553, -0.484941691160202, 0.26417702436447144, 0.29898500442504883, -0.1656036376953125, -0.04523108899593353, 0.516171932220459, 0.252787321805954, -0.5270898938179016, 0.27816492319107056, 0.27482542395591736, -0.2206425964832306, 0.37942206859588623, 0.6248378157615662, -0.13165684044361115, -0.37832826375961304, -0.802510142326355, -0.270484060049057, -0.6150578856468201, 0.43181148171424866, 0.17793765664100647, 0.44487765431404114, -0.09599468857049942, 0.5408630967140198, 0.05605106055736542, 0.28418469429016113, 0.07171496003866196, -0.47819235920906067, 0.3952055871486664, -0.7241460680961609, 0.03165742754936218, -0.1930713951587677, 0.7193791270256042, 0.6259268522262573, -0.0745101124048233, 0.05224059149622917, -0.5511178970336914, -0.12444629520177841, -0.018269319087266922, -0.9137970209121704, -0.1314401924610138, 0.04539869353175163, -0.46545010805130005, -0.0660359114408493, -0.1727927178144455, -0.950797975063324, -0.9777006506919861, -0.11349410563707352, 0.3577392101287842, -0.431059867143631, 0.17887426912784576, -0.40040281414985657, -0.3349354565143585, 0.08279651403427124, 0.41593509912490845, -0.5358269214630127, 0.08886373043060303, 0.684005618095398, 1.1260347366333008, -0.41992634534835815, -0.5115818977355957, -1.247594952583313, -0.4395632743835449, -0.28795450925827026, 0.9457964301109314, -0.46308889985084534, -0.4088130295276642, 0.1030864268541336, -0.15950915217399597, -0.30320870876312256, -0.5485381484031677, 0.9467379450798035, -0.3737269937992096, -0.1482771933078766, -0.5601176619529724, -0.695504367351532, 0.6157574653625488, 0.3178756833076477, -0.8590978980064392, 0.9750738739967346, 0.1347273737192154, -0.6489850878715515, 0.6330503821372986, -0.4607207775115967, -0.014144488610327244, 0.03711271286010742, -0.005597024690359831, -0.3482632040977478, 0.1983558088541031, 0.5463721752166748, 0.34543371200561523, -0.43279993534088135, 0.19089244306087494, -0.4206080436706543, -0.4625210165977478, 0.37714964151382446, -0.9995784759521484, 0.7539768218994141, 0.26449593901634216, -0.12645205855369568, 0.4989093542098999, -0.7600933909416199, 0.08302934467792511, -0.4452841877937317, -0.39871400594711304, -0.06726764887571335, -0.282693088054657, -0.20397230982780457, -0.30958282947540283, 0.2794972062110901, -0.19433759152889252, 0.1951199769973755, -0.002258960623294115, 0.058317527174949646, 1.15105140209198, 0.05339227244257927, 0.4496176540851593, -0.4653153121471405, 0.9847896695137024, -0.2658504843711853, 0.43474388122558594, -0.5708386301994324, -0.33936214447021484, 0.032713234424591064, -0.8908916711807251, 0.2249508798122406, 0.4934168756008148, -0.6145517230033875, 0.3696761429309845, 0.09285470098257065, -0.5807598233222961, -0.655112087726593, 0.0754738375544548, 0.39231640100479126, 0.7081822156906128, 0.40801820158958435, 0.26359543204307556, -0.13679760694503784, -0.6916705369949341, -0.5552042126655579, -0.28384315967559814, -0.22881267964839935, 0.29914912581443787, -0.029191013425588608, 0.3748983144760132, 0.7039220929145813, -0.4274563789367676, 0.15008482336997986, -0.11009708791971207, 0.23550160229206085, 0.5740999579429626, 0.28267747163772583, 0.665440022945404, -0.21893437206745148, -0.4993353486061096, -0.5562625527381897, -0.53432297706604, -0.4801047742366791, -0.17651772499084473, -0.08271950483322144, -0.005713324528187513, 0.18550539016723633, -0.48900023102760315, 0.16115690767765045, 0.33408495783805847, -0.4430871307849884, 0.9561855792999268, -0.16662149131298065, 0.45470353960990906, -0.8601115942001343, 0.10651049762964249, 0.1551457643508911, -0.15705914795398712, -0.2225060909986496, 0.058839187026023865, 0.4773573577404022, 0.20030800998210907, -0.474290668964386, 0.5785735249519348, -0.5051186084747314, -0.27822428941726685, 0.09803696721792221, 0.25655636191368103, 0.07575434446334839, 0.14956341683864594, -0.45993053913116455, 1.5283747911453247, 0.7071151733398438, -0.35065439343452454, 0.5581346750259399, 0.17491520941257477, -0.7030353546142578, 1.1983941793441772, -0.7444295883178711, -0.2783205807209015, 0.11913347989320755, 0.14703640341758728, -1.2968392372131348, 0.1698393076658249, 0.19782708585262299, -0.1254422813653946, 0.029948413372039795, -0.07422354817390442, -0.3938227593898773, -0.27107176184654236, -1.0175660848617554, 0.322196364402771, 0.6144837737083435, -0.9051501750946045, 0.36661750078201294, -0.05411028116941452, -0.1931573748588562, -0.6956614255905151, -0.1764906793832779, -0.09821680933237076, -0.6776976585388184, -0.5817304849624634, -0.09461851418018341, -0.48968493938446045, -0.21250581741333008, -0.35786160826683044, -0.13619495928287506, 0.13215266168117523, 0.45018860697746277, 0.25492897629737854, 0.2801153063774109, -0.35469797253608704, 0.2852860689163208, -0.12192538380622864, -0.2427549958229065, 0.06815075874328613, 0.003864977741613984, 0.304782897233963, -0.21566136181354523, -0.5654696822166443, -0.31337931752204895, -0.024313488975167274, 0.39536064863204956, -0.024493588134646416, 0.42108485102653503, 0.4708099961280823, 0.02709248475730419, -0.4162554442882538, -0.6382583975791931, -0.09035293012857437, -0.5218855738639832, 0.14584533870220184, -0.6976543068885803, -0.2506996989250183, 0.6776655316352844, -0.38479354977607727, 0.2225920706987381, 0.4100857973098755, 0.4580189883708954, -0.018524715676903725, 0.8526650667190552, 0.27593982219696045, 0.23460616171360016, 0.44464555382728577, -0.007260190322995186, -0.5543883442878723, -0.9820012450218201, -0.32243621349334717, -0.690899670124054, -0.29580825567245483, -0.3887403905391693, -0.4387536942958832, 0.7505707144737244, 0.2794475257396698, -0.18392899632453918, 0.1893632411956787, -0.1948913186788559, 0.3544034957885742, 0.6927836537361145, -0.00892943050712347, 0.3466334044933319, -0.0970386192202568, -0.4852209687232971, -0.20208221673965454, -0.6271917223930359, -0.7205501198768616, 1.088394045829773, 0.2670619785785675, 0.8603987693786621, 0.1513921469449997, 0.5642762780189514, 0.4582394063472748, 0.5267564654350281, -0.5727800726890564, 0.3746386468410492, 0.12992185354232788, -0.0320729985833168, -0.3623536229133606, -0.5373539924621582, -0.8962366580963135, 0.4028000831604004, -0.1177295446395874, -0.560926079750061, 0.2021363526582718, -0.028280435130000114, -0.6423325538635254, -0.026173055171966553, -0.7215842008590698, 0.8272755146026611, -0.1738826036453247, -0.41182711720466614, 0.0319189615547657, -0.45915937423706055, 0.269837349653244, -0.2420612871646881, -0.08949082344770432, -0.32840296626091003, -0.5083180069923401, 0.7184599041938782, -0.5724804997444153, 0.5250818133354187, -0.38750159740448, 0.06456796079874039, 0.23413720726966858, -0.22346597909927368, 0.5398299098014832, 0.49003565311431885, -0.7263868451118469, -0.17518161237239838, 0.013087010011076927, -0.3933025896549225, -0.7642371654510498, 0.694901168346405, -0.8034524321556091, -0.5353888869285583, -0.27771472930908203, -0.41575172543525696, -0.3789166808128357, -0.10033271461725235, 0.2829100489616394, 0.7327025532722473, -0.3490382134914398, 0.03764355555176735, 0.20942600071430206, -0.19208163022994995, 0.9191352725028992, 0.3859091103076935, 0.24361422657966614, -0.8544586300849915, 0.508881151676178, 0.19784881174564362, 0.038401778787374496, 0.21166056394577026, 0.48890236020088196, -0.9598427414894104, -0.4735616147518158, -0.748441219329834, -0.1469743847846985, -0.7478878498077393, -0.44169479608535767, -0.39039015769958496, 0.3181735873222351, -0.14292548596858978, -0.2521210312843323, -0.1677951067686081, -0.3840317130088806, -0.34096837043762207, -0.21583670377731323, 0.441301554441452, 0.5990240573883057, -0.23673777282238007, 0.39075222611427307, -0.5565528273582458, 0.12011658400297165, 0.30051425099372864, 0.3207574486732483, 0.07678840309381485, -0.6547757983207703, 0.08711892366409302, -0.27547526359558105, -0.4545920193195343, -1.0680166482925415, 0.1311921775341034, 0.07310107350349426, 0.9717344641685486, 0.361890584230423, 0.4303627014160156, 0.8920400738716125, -0.47863656282424927, 0.8058410882949829, 0.47152310609817505, -0.9006350636482239, 0.48273447155952454, -0.01596353016793728, 0.3415602445602417, 0.864405632019043, 0.33062729239463806, -0.17974157631397247, -0.2119063138961792, -0.4480987787246704, -0.7052748203277588, 0.5198999047279358, -0.008742256090044975, -0.18897613883018494, -0.23683573305606842, 0.04909992963075638, 0.33987900614738464, 0.3158892095088959, -0.15743862092494965, -0.27069422602653503, -0.1221378892660141, -0.21256327629089355, -0.10210224986076355, -0.3975636661052704, -0.16002583503723145, 0.11680618673563004, 0.1563720554113388, -0.32216283679008484, -0.005161107052117586, 0.052321288734674454, -0.16685239970684052, 0.21405744552612305, 0.29265767335891724, 0.44675174355506897, 1.03197181224823, -0.28190767765045166, 0.45616650581359863, 0.4472977817058563, -0.2756468653678894, 0.4056057333946228, 0.23130153119564056, -0.0030609595123678446, 0.05503778159618378, 0.7340917587280273, 0.5763483643531799, 0.34210893511772156, -0.605361819267273, 0.9098226428031921, -0.1941041648387909, 0.26645132899284363, 0.004362030420452356, -0.07042799144983292, -0.038220446556806564, 0.7283064723014832, 0.638392984867096, 0.06580890715122223, 0.20284532010555267, -0.2567269504070282, 0.5092180967330933, 0.43314027786254883, -0.1891552060842514, -0.30446353554725647, 0.5329180955886841, 0.3051116466522217, -0.3778705596923828, 0.6083152294158936, -0.2925959527492523, -0.14470668137073517, 0.7873508334159851, 0.3968352675437927, 1.0478804111480713, -0.4283771216869354, 0.27404916286468506, 0.43815913796424866, 0.16255319118499756, -0.052074190229177475, 0.4020649194717407, -0.04840388894081116, -0.1327185332775116, -0.4240036904811859, -0.32925018668174744, -0.5456733703613281, -0.3873739540576935, -0.6456961035728455, 0.328276127576828, -0.4291411340236664, -0.5275349617004395, -0.19973249733448029, 0.15957438945770264, -0.8667580485343933, -0.402614951133728, -0.2352820336818695, 1.2775893211364746, -0.7458433508872986, 0.18111129105091095, 0.4402073621749878, -0.24951669573783875, -0.6942430138587952, -0.12280857563018799, 0.03177417814731598, -1.0049117803573608, 0.4275054931640625, 0.24434496462345123, 0.15045996010303497, -0.21565614640712738, -0.07112666219472885, -0.4419346749782562, 1.3971312046051025, 0.4873599410057068, -0.7192267179489136, 0.462807297706604, -0.29451143741607666, 0.26509007811546326, -0.37613385915756226, 1.1228398084640503, 0.47063079476356506, 0.613247275352478, 0.15239441394805908, -0.7493742108345032, 0.2539176940917969, 0.05579319968819618, -0.0943031758069992, -0.07428944110870361, -0.6901768445968628, 0.8387205600738525, -0.5050414800643921, -0.5166074633598328, 0.5230616331100464, 0.5003495216369629, 1.0972763299942017, 0.7203211188316345, 0.47811371088027954, 0.09759839624166489, 1.4071439504623413, -0.07737372815608978, 1.0510590076446533, -0.5206490159034729, 0.31558725237846375, 0.9842092394828796, -0.3476063311100006, 0.6889621019363403, 0.3049428462982178, -0.38019779324531555, 0.026856105774641037, 0.7003423571586609, -0.14755599200725555, 0.6269581317901611, 0.35382887721061707, -0.4109722375869751, -0.177700012922287, -0.30792203545570374, -0.4690408706665039, -0.2095748782157898, -0.14070652425289154, -0.06032264232635498, -0.4959838092327118, -0.058708805590867996, -0.20836865901947021, 0.008518695831298828, -0.25867289304733276, 0.5645335912704468, 0.0380377359688282, -0.5950685143470764, 0.5181832909584045, -0.10277032852172852, 0.7172833681106567, -0.367423951625824, -0.009647917933762074, -0.6513471007347107, -0.029702164232730865, 0.1366683393716812, -0.9250114560127258, -0.18306760489940643, 0.19727863371372223, 0.008567939512431622, -0.2669869363307953, 0.4941241145133972, -0.005322256125509739, -0.45506659150123596, 0.031566403806209564, 0.9323127865791321, 0.16091473400592804, 0.01513742096722126, -0.5196396112442017, 0.12563422322273254, -0.3746974766254425, -0.4382081925868988, 0.21884652972221375, 0.7006558775901794, -0.07631967961788177, 0.6833720803260803, 0.48560091853141785, 0.030964002013206482, 0.24611803889274597, 0.24671882390975952, 0.8042349219322205, -0.6282036900520325, -0.44501644372940063, -1.1369717121124268, 0.48422983288764954, -0.191232830286026, -0.844592809677124, 1.016403079032898, 0.5664950013160706, -0.028384223580360413, 0.102079838514328, 0.3892967104911804, 0.531995952129364, 0.3386566936969757, -0.540340781211853, 0.23582318425178528, -0.17862311005592346, 0.6108473539352417, -0.2495797872543335, -1.1707514524459839, -0.08474529534578323, 0.327701210975647, -0.010068177245557308, -0.03452315181493759, 0.7009981274604797, 0.6902727484703064, 0.21745723485946655, 0.08746716380119324, 0.3769907057285309, 0.004459529183804989, 0.3658257722854614, 0.5649303793907166, 1.4775863885879517, -0.06701216846704483, 0.4787006080150604, -0.03817109018564224, -0.5235849618911743, -0.11365647614002228, -1.2038207054138184, -0.688726544380188, -0.15178823471069336, -0.3233763873577118, -0.2410975843667984, 0.23724855482578278, 0.9795138835906982, 0.6256327629089355, -0.5318750739097595, -0.17931751906871796, 0.29016074538230896, 0.5275961756706238, -0.4479241669178009, -0.203870952129364, 0.7484570145606995, -0.6621001362800598, -0.6705260276794434, 0.8133135437965393, 0.03438825160264969, -0.13162580132484436, -0.21101312339305878, -0.2354600578546524, 0.3346002399921417, 0.07889065891504288, 0.5843552350997925, -0.18869486451148987, -0.57623690366745, -0.2709576189517975, 0.33482685685157776, -0.3258266746997833, -0.039459310472011566, 0.6417673826217651, -0.9790674448013306, 0.18505962193012238, 0.6725148558616638, 0.6526129245758057, 0.053836457431316376, 0.4726257622241974, 0.23142805695533752, -1.0426628589630127, -0.3109528124332428, 0.14838096499443054, 0.3969321846961975, 0.19786985218524933, -0.04337950050830841, 0.7096036672592163, 0.18620020151138306, -0.6102845668792725, -1.0082578659057617, -0.13655585050582886, -0.9857345819473267, -0.07319248467683792, 1.1508233547210693, -0.31039583683013916, 0.06643512099981308, 0.2402765452861786, -0.055340878665447235, -0.16936984658241272, -0.740717887878418, 0.38008490204811096, 0.6047410368919373, -0.20504146814346313, -0.3495163023471832, -0.43056896328926086, 0.38814476132392883, 0.2771846652030945, -0.5943995118141174, 0.12944148480892181, 0.6713712215423584, 0.22417864203453064, -0.043552957475185394, 0.7012178897857666, 0.15535101294517517, 0.34673556685447693, 0.08388128876686096, -0.356357216835022, -0.061374448239803314, -0.4022948741912842, -0.7001573443412781, 0.6485305428504944, 0.3072528541088104, -0.4276515543460846 ]
http://arxiv.org/abs/2406.00037v1
http://arxiv.org/pdf/2406.00037v1
Aligning LLMs through Multi-perspective User Preference Ranking-based Feedback for Programming Question Answering
2024-05-27T14:21:31
2024-05-27T14:21:31
Hongyu Yang, Liyang He, Min Hou, Shuanghong Shen, Rui Li, Jiahui Hou, Jianhui Ma, Junda Zhao
cs.CL
cs.CL, cs.AI
Code Community Question Answering (CCQA) seeks to tackle programming-related issues, thereby boosting productivity in both software engineering and academic research. Recent advancements in Reinforcement Learning from Human Feedback (RLHF) have transformed the fine-tuning process of Large Language Models (LLMs) to produce responses that closely mimic human behavior. Leveraging LLMs with RLHF for practical CCQA applications has thus emerged as a promising area of study. Unlike standard code question-answering tasks, CCQA involves multiple possible answers, with varying user preferences for each response. Additionally, code communities often show a preference for new APIs. These challenges prevent LLMs from generating responses that cater to the diverse preferences of users in CCQA tasks. To address these issues, we propose a novel framework called Aligning LLMs through Multi-perspective User Preference Ranking-based Feedback for Programming Question Answering (ALMupQA) to create user-focused responses. Our approach starts with Multi-perspective Preference Ranking Alignment (MPRA), which synthesizes varied user preferences based on the characteristics of answers from code communities. We then introduce a Retrieval-augmented In-context Learning (RIL) module to mitigate the problem of outdated answers by retrieving responses to similar questions from a question bank. Due to the limited availability of high-quality, multi-answer CCQA datasets, we also developed a dataset named StaCCQA from real code communities. Extensive experiments demonstrated the effectiveness of the ALMupQA framework in terms of accuracy and user preference. Compared to the base model, ALMupQA showed nearly an 11% improvement in BLEU, with increases of 20% and 17.5% in BERTScore and CodeBERTScore, respectively.
[ -0.5180736184120178, -0.4621672034263611, 0.45830589532852173, 0.1908741146326065, 0.06012518331408501, 0.49886128306388855, -0.34797126054763794, -0.19191530346870422, 0.20085468888282776, 0.46818792819976807, -0.5390340685844421, -0.4613322615623474, -0.28847870230674744, -0.07218728959560394, 0.0903969332575798, 1.0266356468200684, -0.04950455203652382, 0.14441242814064026, -0.42525365948677063, -0.39877286553382874, -0.5985197424888611, -0.7041234970092773, -0.4062899351119995, -0.295746386051178, 0.7095360159873962, 0.768174409866333, 0.6330235600471497, 0.3900739550590515, 0.4472840428352356, 0.1834789216518402, 0.3265361189842224, 0.23430576920509338, -0.27244389057159424, 0.05518883466720581, -0.05711954087018967, -0.36469200253486633, -0.29568397998809814, -0.038960766047239304, 0.2588484287261963, 0.5621907711029053, -0.36666303873062134, 0.38159772753715515, 0.4802866578102112, 0.844818115234375, -0.649813175201416, -0.14796683192253113, -0.5163726806640625, -0.20480132102966309, 0.18678557872772217, -0.5692893266677856, -0.3311607539653778, -0.6464049220085144, -0.007314945105463266, -0.3404747247695923, -0.13171032071113586, 0.01186439860612154, 0.46598222851753235, 0.4199030101299286, -0.460785448551178, -0.29968947172164917, -0.3936202824115753, 0.9297981262207031, -0.8452101349830627, 0.29506880044937134, 0.007913473062217236, 0.21274594962596893, -0.14890436828136444, -0.12683439254760742, -0.45848822593688965, -0.05232718586921692, 0.022047143429517746, 0.24917666614055634, 0.25628378987312317, 0.03985114395618439, 0.09617426991462708, 0.1684429943561554, -0.7409406900405884, 0.11725477129220963, -0.1921740472316742, -0.23823194205760956, 0.5052264332771301, 0.15146544575691223, 0.05085788667201996, -0.20490020513534546, -0.5651013255119324, -0.01992034539580345, -0.5666004419326782, 0.6026154160499573, 0.35440975427627563, 0.29913070797920227, 0.024949748069047928, 0.4839957058429718, -0.21619923412799835, 0.736824631690979, 0.09380728751420975, -0.21935920417308807, 0.3155515789985657, -0.156832754611969, -0.2544163167476654, -0.19538003206253052, 0.49636533856391907, 0.5192587971687317, 0.016907086595892906, 0.0023364832159131765, -0.08067136257886887, 0.0012647513067349792, 0.37498003244400024, -0.5331941843032837, -0.34617987275123596, 0.46424978971481323, -0.4736301898956299, -0.30759575963020325, 0.17203842103481293, -0.7051315903663635, -0.6440449357032776, -0.48833519220352173, 0.26666775345802307, 0.03637028858065605, -0.2581590414047241, -0.03327006846666336, 0.200474813580513, 0.44879746437072754, 0.4889896512031555, -0.7217940092086792, 0.05410920828580856, 0.7185536623001099, 0.4777977466583252, -0.46595749258995056, -0.3218352794647217, -0.6504316926002502, -0.013672576285898685, -0.06075574457645416, 0.7246962189674377, -0.575605034828186, -0.23162300884723663, -0.12309160828590393, -0.24575327336788177, 0.01177829410880804, -0.6348429918289185, 0.2518768012523651, -0.6350958943367004, 0.15936799347400665, -0.3644101619720459, -0.37657636404037476, 0.09851481020450592, 0.5897716283798218, -0.2481415718793869, 1.1983872652053833, 0.0927068293094635, -0.8367447853088379, 0.13537359237670898, -0.5978021025657654, 0.03163434937596321, -0.10476482659578323, -0.5645139813423157, -0.2799093723297119, -0.10643848031759262, 0.4511660635471344, 0.11938709765672684, -0.01862344890832901, 0.30124422907829285, -0.3728930652141571, -0.3567509651184082, 0.6105757355690002, -0.3057640790939331, 0.6254823803901672, 0.3415679633617401, -0.2561269998550415, 0.4198189377784729, -0.340482234954834, 0.4965946674346924, -0.39271417260169983, -0.8212797045707703, -0.15061132609844208, -0.02742561511695385, -0.10607758909463882, 0.5712958574295044, 0.4029311239719391, -0.5324990749359131, 0.39615923166275024, -0.3002628982067108, 0.4151841402053833, 0.8874815106391907, 0.029283685609698296, 0.497132807970047, -0.44314026832580566, 0.7306374907493591, 0.1917441487312317, 0.26184582710266113, 0.21264000236988068, -0.28567713499069214, -0.6286129355430603, -0.11499131470918655, 0.10021756589412689, 0.5694735050201416, -0.839698076248169, 0.22218665480613708, -0.06760089844465256, -0.2567843496799469, -0.6401834487915039, 0.40539345145225525, 0.4460516571998596, 0.6157785058021545, 0.4309238791465759, -0.5823150873184204, -0.48938167095184326, -0.965119481086731, -0.253933310508728, -0.3491274416446686, 0.006705672480165958, 0.7564760446548462, 0.022185316309332848, -0.0025002413894981146, 1.1102248430252075, -0.73628830909729, 0.0630166307091713, -0.271331250667572, -0.012267316691577435, 0.3143632709980011, 0.4736833870410919, 0.23161929845809937, -0.8097850680351257, -0.412912517786026, -0.12875422835350037, -0.2867315113544464, -0.2161182016134262, 0.05975428223609924, -0.3668304979801178, 0.17890207469463348, 0.3187218904495239, -0.17145155370235443, 0.21767167747020721, 0.7561312317848206, -0.05129331722855568, 0.6008114814758301, 0.031159061938524246, 0.37830328941345215, -1.175772786140442, 0.07307485491037369, -0.18419931828975677, -0.24929289519786835, -0.19111941754817963, 0.3154093623161316, 0.2656668722629547, -0.016021648421883583, -0.5783485770225525, 0.39859020709991455, -0.24650055170059204, -0.27220281958580017, -0.44146013259887695, 0.28147104382514954, 0.02209584228694439, 1.0293409824371338, 0.05883774906396866, 1.0590871572494507, 0.2490493357181549, -0.47030824422836304, 0.22510620951652527, 0.15923742949962616, -0.21869845688343048, 0.3810572028160095, -0.45811358094215393, 0.43407201766967773, -0.03237069770693779, 0.28135958313941956, -1.168990969657898, 0.04754115268588066, 0.22041817009449005, -0.7162675857543945, -0.12573124468326569, -0.17054913938045502, -0.1951349675655365, -0.40991881489753723, -0.5388917922973633, 0.5283612608909607, 0.09499778598546982, -0.587760329246521, 0.49239382147789, 0.34522756934165955, -0.2306649386882782, -1.120055079460144, -0.5099558234214783, -0.1718369722366333, -0.1221233382821083, -0.3263646066188812, 0.0337129607796669, -0.5733240246772766, -0.03597639873623848, -0.24273522198200226, -0.31974634528160095, -0.046027712523937225, 0.26208779215812683, 0.29002270102500916, 0.5958866477012634, -0.12251187115907669, 0.10569832473993301, -0.043919991701841354, 0.019064877182245255, 0.060418501496315, -0.48110219836235046, 0.4976740777492523, -0.33657991886138916, -0.3686220943927765, 0.04830639809370041, 0.3878316581249237, 0.39319267868995667, -0.49214738607406616, 0.5029656291007996, 0.36334213614463806, -0.010622160509228706, 0.006151868030428886, -0.5822229385375977, -0.06961352378129959, -0.45305904746055603, 0.3214971423149109, -0.19830100238323212, -1.2969473600387573, 0.4087119400501251, 0.029160792008042336, 0.30324870347976685, -0.14592891931533813, 0.912420928478241, -0.19758953154087067, 1.047285795211792, 0.5582170486450195, -0.399875283241272, 0.3933681547641754, 0.021876420825719833, 0.3331281840801239, -1.000393033027649, -0.2121403068304062, -0.6763995885848999, -0.451519638299942, -0.4208763837814331, -0.2883293926715851, 0.4108063280582428, 0.14876417815685272, -0.29410168528556824, 0.32079777121543884, -0.7840374112129211, 0.5195751190185547, 0.6095911860466003, 0.29343166947364807, 0.35935544967651367, -0.20873670279979706, -0.29079383611679077, 0.034943025559186935, -0.513809859752655, -0.45392996072769165, 1.2093886137008667, 0.19306178390979767, 0.8690993785858154, 0.4827432930469513, 0.8981199860572815, 0.3386458456516266, 0.5753750801086426, -0.7332638502120972, 0.30876320600509644, 0.29597607254981995, -0.43298080563545227, -0.3025476634502411, -0.522411584854126, -0.588214099407196, 0.37542006373405457, -0.1680680811405182, -0.7363941669464111, 0.22958938777446747, 0.31960389018058777, -0.6275779604911804, -0.05668843910098076, -0.6149192452430725, 0.7439921498298645, -0.41305768489837646, -0.5067542791366577, -0.15609827637672424, -0.757781445980072, 0.3071674108505249, 0.2272595465183258, 0.21457789838314056, -0.033091962337493896, -0.022430533543229103, 0.45105424523353577, -0.1840856671333313, 0.5622022747993469, -0.28207701444625854, -0.23315325379371643, 0.14019504189491272, -0.04868755489587784, 0.16442103683948517, 0.4801703095436096, -0.0815984308719635, -0.23513448238372803, 0.3002224564552307, -0.5508121848106384, -0.676774799823761, 0.9940093755722046, -1.0445377826690674, -0.8304741978645325, -0.4117179811000824, -0.6479454040527344, -0.5692607164382935, -0.030858993530273438, -0.04644083231687546, 0.43319255113601685, 0.1638711392879486, 0.07463643699884415, 0.7329563498497009, -0.3059840202331543, 0.2887183725833893, 0.49073776602745056, -0.49147284030914307, -0.5977556109428406, 0.6211222410202026, -0.3845391571521759, 0.27107736468315125, 0.4558803141117096, -0.0633409172296524, -0.3995857834815979, -0.4009319543838501, -0.5884429216384888, 0.03220967575907707, -0.6361956596374512, -0.48056307435035706, -0.5390282273292542, -0.21050705015659332, -0.5003557801246643, -0.20918217301368713, -0.0795842707157135, -0.3210986852645874, -0.036797378212213516, 0.004022290930151939, -0.09010060876607895, 0.28003010153770447, 0.24087639153003693, -0.02806093543767929, -0.6966472864151001, 0.24209269881248474, 0.3652874231338501, 0.41162705421447754, 0.25708892941474915, -0.32129722833633423, -0.40543824434280396, 0.07539887726306915, -0.6997330188751221, -0.819023072719574, 0.15625286102294922, -0.14581961929798126, 0.5523633360862732, -0.016090763732790947, 0.19148322939872742, 0.7722331285476685, -0.14018315076828003, 0.6862668395042419, 0.11634773015975952, -0.8374961614608765, 0.5374159812927246, -0.17805559933185577, 0.44223135709762573, 1.0247811079025269, 0.17802727222442627, -0.7802420258522034, -0.48085281252861023, -0.15675398707389832, -0.7465760707855225, 0.5778551697731018, -0.05728026479482651, -0.012498018331825733, 0.06863223016262054, 0.5253381729125977, 0.06634838134050369, 0.39235320687294006, -0.9347992539405823, -0.35007336735725403, -0.19770307838916779, -0.3247179388999939, 0.09184295684099197, 0.040756549686193466, -0.24476024508476257, -0.23795416951179504, 0.6559686660766602, -0.6093294024467468, 0.20192688703536987, 0.21317040920257568, -0.20105403661727905, -0.06121699512004852, 0.6285690665245056, 0.43656855821609497, 0.9993675351142883, -0.15813812613487244, 0.11866934597492218, -0.010522070340812206, -0.18919311463832855, 0.1405995637178421, -0.0961044579744339, 0.033009447157382965, -0.6423454284667969, -0.08308634907007217, 0.16713929176330566, 0.018621979281306267, -0.8271618485450745, 0.676497220993042, -0.2323085218667984, -0.14492733776569366, -0.24403013288974762, 0.2484966516494751, 0.26746073365211487, 0.2531171441078186, 0.519802987575531, 0.32170549035072327, 0.2138749361038208, -0.5097118616104126, 0.2127474844455719, 0.5147071480751038, -0.3973395824432373, 0.1378868818283081, 0.5276700854301453, 0.33824747800827026, -0.12660883367061615, 0.6434028148651123, 0.1695156842470169, -0.6032453179359436, 0.7336133718490601, 0.34981203079223633, 0.6023784875869751, -0.048696037381887436, 0.2329111248254776, 0.39169245958328247, -0.006490795873105526, 0.2859097421169281, 0.38136687874794006, -0.39976048469543457, -0.7950888872146606, -0.4545016884803772, -0.5978530645370483, -0.6262701153755188, -0.04029437527060509, -0.8821349740028381, 0.1949431598186493, -0.5335361957550049, -0.00017300547915510833, -0.33484596014022827, 0.23247011005878448, -0.47210821509361267, 0.08319219946861267, 0.26410868763923645, 0.8304349780082703, -0.5779383182525635, 1.1284900903701782, 0.8710172176361084, -0.3880678117275238, -1.0646182298660278, 0.2757447361946106, 0.0886540561914444, -0.6373378038406372, 0.26690614223480225, 0.21780793368816376, -0.3378605842590332, -0.011198785156011581, -0.7635402083396912, -0.8697766661643982, 1.201289415359497, 0.19916749000549316, -0.43848341703414917, 0.16321523487567902, 0.020275704562664032, 0.5006505846977234, -0.5502192378044128, 0.38998183608055115, 0.33968183398246765, 0.22971655428409576, -0.11776266247034073, -0.7367861866950989, -0.121253103017807, -0.3389653265476227, 0.09374190866947174, 0.2779946029186249, -0.8069275617599487, 0.44148069620132446, -0.2697421610355377, 0.10512819141149521, 0.17117884755134583, 0.7953794598579407, 0.6724624037742615, 0.24527716636657715, 0.5600141286849976, 0.2850947380065918, 0.6294206380844116, 0.19494587182998657, 0.6745113730430603, -0.48090261220932007, 0.4676293134689331, 1.1767852306365967, -0.34657353162765503, 1.0064994096755981, 0.7683116793632507, -0.1561679095029831, 0.7989872694015503, 0.7615838646888733, 0.3093721270561218, 0.55851149559021, 0.29985862970352173, -0.09381517022848129, -0.4452102482318878, 0.03005889616906643, -0.2860613763332367, 0.22400547564029694, 0.09882166236639023, -0.04441734775900841, 0.004158192779868841, -0.1144508495926857, -0.17334085702896118, 0.39976197481155396, -0.23930181562900543, 0.6705056428909302, 0.03860464692115784, -1.025929570198059, 0.491141676902771, 0.13919667899608612, 0.8569444417953491, -0.48134738206863403, -0.020533787086606026, -0.5037497282028198, 0.26653119921684265, -0.46443748474121094, -0.8932267427444458, 0.08797989785671234, 0.07132302969694138, -0.44876545667648315, -0.1724909394979477, 0.26269716024398804, -0.6492395401000977, -0.20050306618213654, 0.3323264420032501, 0.5691289305686951, -0.1418185532093048, 0.22138500213623047, -1.0509942770004272, -0.08025872707366943, 0.2318919152021408, -0.0010462331119924784, 0.6169171333312988, -0.028204983100295067, -0.0542118065059185, 0.7193262577056885, 0.5146350860595703, -0.183798149228096, -0.03379511088132858, 0.09292671084403992, 0.9520306587219238, -0.4002607762813568, -0.5744894742965698, -0.5757995247840881, 0.298944890499115, 0.12098638713359833, -0.33407387137413025, 0.865580141544342, 0.8597143888473511, 0.9306656718254089, 0.1355436146259308, 0.8377436995506287, -0.12106141448020935, 0.6850296258926392, -0.44032391905784607, 0.32855477929115295, -0.5715612173080444, 0.5665619969367981, -0.3861650824546814, -1.0420187711715698, -0.18853998184204102, 0.29101911187171936, -0.3088738024234772, 0.06502463668584824, 0.5360050201416016, 1.1119869947433472, -0.0045772735029459, -0.24430470168590546, 0.11552467197179794, -0.12136255204677582, 0.3046679198741913, 0.9337880611419678, 0.875179648399353, -0.045070745050907135, 0.7790204286575317, -0.1457090675830841, -0.30885279178619385, -0.21884867548942566, -0.6806628704071045, -0.5908201336860657, -0.41609564423561096, -0.2731003165245056, -0.5055869221687317, -0.03433148190379143, 1.352149486541748, 0.6032310128211975, -1.0043801069259644, -0.4698041081428528, 0.2664068043231964, 0.16818194091320038, -0.45246097445487976, -0.3271074593067169, 0.35698220133781433, -0.25978460907936096, -0.5321167707443237, 0.17611779272556305, 0.34733760356903076, -0.5280734300613403, -0.35445675253868103, -0.42758554220199585, -0.21252143383026123, -0.06607624888420105, 0.3955359160900116, 0.3348068296909332, -0.812333345413208, -0.46730291843414307, 0.35193851590156555, -0.45151472091674805, 0.4568210244178772, 1.0330570936203003, -0.9028743505477905, 0.16926132142543793, 0.4203791916370392, 0.9394419193267822, 0.12620414793491364, 0.5127449035644531, 0.45060738921165466, -0.8696576356887817, -0.30326974391937256, 0.15789936482906342, 0.17879618704319, 0.3197937309741974, -0.5605335831642151, 0.29771846532821655, -0.13643302023410797, -0.924340546131134, -0.3778739869594574, 0.3487851917743683, -1.1443812847137451, -0.32572266459465027, 1.062088131904602, -0.13446147739887238, -0.051775433123111725, -0.20578670501708984, -0.4448345899581909, -0.06357070058584213, -0.6457737684249878, 0.8264325857162476, 0.7198290228843689, -0.5827168226242065, -0.3977777361869812, -0.3615427315235138, 0.31454795598983765, 0.6763627529144287, -0.802518904209137, 0.23810036480426788, 0.7679862380027771, 0.40944764018058777, -0.019498247653245926, 0.8476505875587463, -0.1803978979587555, 0.44372454285621643, -0.7212409973144531, 0.24599261581897736, 0.03532099351286888, -0.33293208479881287, -0.42012810707092285, 0.25096431374549866, 0.5614206790924072, -0.06899845600128174 ]
http://arxiv.org/abs/2405.17159v1
http://arxiv.org/pdf/2405.17159v1
Stop! In the Name of Flaws: Disentangling Personal Names and Sociodemographic Attributes in NLP
2024-05-27T13:33:29
2024-05-27T13:33:29
Vagrant Gautam, Arjun Subramonian, Anne Lauscher, Os Keyes
cs.CL
cs.CL, cs.CY, cs.HC
Personal names simultaneously differentiate individuals and categorize them in ways that are important in a given society. While the natural language processing community has thus associated personal names with sociodemographic characteristics in a variety of tasks, researchers have engaged to varying degrees with the established methodological problems in doing so. To guide future work, we present an interdisciplinary background on names and naming. We then survey the issues inherent to associating names with sociodemographic attributes, covering problems of validity (e.g., systematic error, construct validity), as well as ethical concerns (e.g., harms, differential impact, cultural insensitivity). Finally, we provide guiding questions along with normative recommendations to avoid validity and ethical pitfalls when dealing with names and sociodemographic characteristics in natural language processing.
[ -0.4142315685749054, -0.7813137173652649, 0.6801955699920654, 0.5187170505523682, -0.021747922524809837, 0.7780349850654602, -0.08874676376581192, -0.937107503414154, 0.13036225736141205, 0.3309016525745392, -0.4865429699420929, -0.02940131165087223, -1.067447543144226, 0.1826082020998001, -0.18423134088516235, 0.9533563256263733, -0.05476704612374306, 0.24102240800857544, -0.4431663453578949, -0.360175222158432, -0.6327899098396301, -0.6599129438400269, -1.1482199430465698, -0.07354173064231873, 0.8000077605247498, 0.30817100405693054, 0.7750943303108215, 0.6050843596458435, 0.8902236819267273, 0.38432469964027405, -0.44728589057922363, -0.04329459369182587, -0.07805074006319046, 0.48633477091789246, -0.4040876626968384, 0.014030332677066326, -0.17298071086406708, 0.19256584346294403, 0.30086594820022583, 1.0284807682037354, 0.20375655591487885, 0.45846128463745117, -0.006639174651354551, 0.7451901435852051, -0.49074020981788635, 0.08674857765436172, -0.11084229499101639, -0.007632665801793337, -0.5789089202880859, -0.03556923195719719, -0.13893845677375793, -0.673922598361969, 0.13309313356876373, -0.07673320919275284, 0.2525424361228943, 0.03908977657556534, 0.9168732762336731, 0.24253875017166138, -0.09069619327783585, -0.6061273217201233, -1.0903480052947998, 0.8492375016212463, -0.5870419144630432, 0.12089711427688599, 0.6414154171943665, 0.509731113910675, -0.019298149272799492, -0.2153288871049881, -0.5038619041442871, 0.13502191007137299, -0.12700849771499634, -0.10824444890022278, -0.3143330514431, -0.10362563282251358, 0.4721991717815399, 0.4045995771884918, -0.4236040413379669, 0.16108423471450806, -0.5862680077552795, -0.12681370973587036, 0.9054649472236633, 0.1610427051782608, 0.5529674887657166, -0.07219874113798141, -0.352046400308609, 0.24965834617614746, -0.5506016612052917, 0.16636815667152405, 0.8443916440010071, 0.42270413041114807, 0.17027272284030914, 0.3862505257129669, -0.20074069499969482, 0.44581925868988037, 0.103866346180439, -0.3091139495372772, 0.12234833091497421, -0.3255783021450043, -0.19384361803531647, 0.2938908636569977, 0.5776280760765076, 0.17142999172210693, 0.32450780272483826, -0.5493642091751099, 0.04707663878798485, 0.1785120964050293, 0.24415241181850433, -0.41664502024650574, -0.16682390868663788, 0.45003095269203186, -0.3447984755039215, -0.6522537469863892, -0.15041829645633698, -0.6816937327384949, -0.6910256743431091, -0.5622339844703674, 0.21254988014698029, -0.32620564103126526, -0.13782355189323425, -0.13371102511882782, -0.32382866740226746, 0.15972471237182617, 0.3409920930862427, -0.8149954676628113, 0.35975661873817444, 0.6856999397277832, 0.6640920042991638, 0.06949210911989212, -0.025024181231856346, -0.24061615765094757, 0.028677217662334442, -0.1987934559583664, 0.8106644749641418, -0.7409411072731018, -0.13299033045768738, -0.334446519613266, -0.0025113532319664955, 0.3742493689060211, -0.4845344126224518, 0.47630882263183594, -0.19988352060317993, 0.10053681582212448, -0.7347791194915771, -0.4234946668148041, 0.002442811382934451, 0.04444744065403938, -0.4327186048030853, 0.6930186152458191, -0.06958697736263275, -0.8638836741447449, 0.5017282366752625, -0.41851237416267395, -0.4985412359237671, 0.2689879238605499, -0.21269024908542633, -0.22924460470676422, 0.1506141871213913, -0.30854347348213196, 0.5245773196220398, -0.14893114566802979, 0.30279529094696045, -0.21442371606826782, 0.23192735016345978, 0.31540772318840027, -0.05254970118403435, 1.1821342706680298, 0.07418564707040787, -0.1954316943883896, -0.2632765769958496, -0.899146318435669, -0.12563790380954742, 0.16435606777668, -0.0003320301475469023, -0.7564123272895813, 0.29484471678733826, 0.002801373600959778, 0.10467993468046188, 0.09929577261209488, -0.6285776495933533, -0.2701963484287262, -0.07030137628316879, 0.33049580454826355, 1.0607008934020996, -0.14329390227794647, 0.35009822249412537, -0.5402253270149231, 0.5924093723297119, -0.030924146994948387, 0.2819458544254303, -0.04707590863108635, -0.7543789744377136, -0.5181737542152405, -0.2204602211713791, 0.7322805523872375, 0.38826408982276917, -0.49832722544670105, 0.49048495292663574, 0.17576973140239716, -0.6870920062065125, -0.17866899073123932, -0.1724809855222702, 0.5816083550453186, 0.4504009187221527, 0.44752469658851624, -0.549369215965271, -0.6575025916099548, -0.8755435943603516, -0.6865019798278809, -0.28008905053138733, -0.04680551216006279, 0.4647965133190155, 0.4858523905277252, -0.08916804939508438, 1.074965000152588, -0.42540058493614197, -0.42307016253471375, 0.07196430116891861, 0.39082860946655273, -0.07716233283281326, 0.3950301706790924, 0.5540207028388977, -0.7527891993522644, -0.5003069639205933, -0.29438209533691406, -0.5364084839820862, -0.22112156450748444, -0.19819945096969604, -0.1556961089372635, -0.1518242359161377, 0.23551999032497406, -0.2891393005847931, 0.34857022762298584, 0.2552112638950348, -0.722540557384491, 0.8650426268577576, 0.09920194000005722, -0.1789644956588745, -0.9828757643699646, -0.12527039647102356, 0.15844450891017914, -0.3205214738845825, -0.4617806375026703, 0.10228412598371506, -0.43142175674438477, -0.02638719417154789, -0.4566136598587036, 0.662326991558075, -0.5548962950706482, 0.06755964457988739, 0.2974742650985718, 0.03234480693936348, -0.0065811011008918285, -0.10239991545677185, -0.1599111407995224, 0.26635268330574036, 0.6648275256156921, -0.7988526821136475, 0.543126106262207, 0.32506468892097473, -0.15366964042186737, 1.2451074123382568, -0.6828930974006653, 0.1699705719947815, -0.281429260969162, -0.377724289894104, -0.7827280163764954, -0.44050130248069763, 0.34502819180488586, -0.6801061034202576, 0.30073556303977966, -0.10290827602148056, -0.501656174659729, -0.18041886389255524, -0.14936432242393494, 0.37049630284309387, 0.2545974552631378, -0.33606305718421936, 0.13372232019901276, 0.7280290126800537, -0.3464033305644989, -0.6206545233726501, -0.7704226970672607, 0.42925453186035156, -0.509160041809082, -0.40481510758399963, 0.6329808235168457, -0.23065592348575592, -0.7748984694480896, -0.13506199419498444, -0.08359482139348984, -0.6146522760391235, 0.33549705147743225, 0.2557210624217987, -0.06264516711235046, 0.08110411465167999, 0.453600138425827, -0.05514278635382652, -0.2108263522386551, 0.18924902379512787, 0.5999603271484375, 0.06024402379989624, 0.1510554999113083, 0.1755141019821167, -0.07023943960666656, 0.5477105379104614, 0.4368760287761688, -0.08958324790000916, 0.5984671711921692, 0.1676621437072754, -0.5091140270233154, -0.13383813202381134, -0.3737349212169647, 0.046421512961387634, -0.4039052724838257, -0.08462044596672058, -0.021171068772673607, -0.6888093948364258, 0.7241536974906921, -0.08357870578765869, -0.026013663038611412, 0.13218121230602264, 0.3074411451816559, -0.49585819244384766, 0.772499144077301, 0.9049398899078369, 0.004675733391195536, 0.10741612315177917, 0.4002932012081146, 0.9481624960899353, -0.8681778907775879, 0.08196572214365005, -0.7949771285057068, -0.7090356945991516, -0.6339110136032104, -0.3161219656467438, -0.26937755942344666, 0.06449633091688156, -0.2426324337720871, 0.5789408087730408, -0.8832032680511475, 0.6608725786209106, -0.05897708609700203, -0.24121184647083282, 0.5483880043029785, -0.3074430823326111, 0.03451204672455788, -0.5710119605064392, 0.013658219017088413, -0.9201450943946838, 0.6528387069702148, 0.5477511882781982, 0.8017594814300537, 0.3983333110809326, 0.8741093277931213, 0.41412314772605896, 0.2150202840566635, -0.7184221148490906, 0.2591281533241272, -0.02084008790552616, -0.9196135401725769, -0.333889365196228, -0.237338587641716, -0.8931825160980225, 0.05076074227690697, 0.05478606000542641, -1.0781961679458618, 0.5882247090339661, 0.06555020064115524, -0.5536634922027588, 0.1643996238708496, -0.14848686754703522, 0.7663796544075012, -0.5389645099639893, -0.028469450771808624, 0.32745346426963806, -0.6217413544654846, 0.5204320549964905, -0.10336459428071976, 0.44468483328819275, -0.5947956442832947, -0.010233101435005665, 0.7755362391471863, -0.2751043736934662, 0.9565584063529968, 0.03894118592143059, 0.17714054882526398, -0.20235003530979156, 0.18531499803066254, 0.04505430534482002, 0.05778123810887337, 0.16343702375888824, 0.43417826294898987, 0.4507884085178375, -0.010622804053127766, -0.29057109355926514, 0.5048004984855652, -0.43432894349098206, -0.21897722780704498, -0.7184733748435974, -0.15514932572841644, -0.1860768347978592, 0.32193437218666077, 0.34495988488197327, 0.22885160148143768, -0.5486322045326233, 0.10304360836744308, 0.6849572062492371, -0.42892375588417053, 0.4311765730381012, 0.5394412875175476, -0.2343169003725052, -0.07089235633611679, 0.9046578407287598, 0.36685648560523987, 0.053388580679893494, -0.17224077880382538, 0.3193019926548004, -0.15821592509746552, -0.3302348852157593, -0.33633479475975037, 0.24005426466464996, -0.6832249760627747, -0.1921415776014328, -0.5880098938941956, -0.16166917979717255, -0.29114142060279846, -0.2125077098608017, -0.45898309350013733, -0.26565849781036377, -0.3266197741031647, 0.19045551121234894, 0.310052752494812, 0.8298833966255188, 0.11437501758337021, 0.1698443740606308, -0.6385307908058167, 0.46572819352149963, 0.13675130903720856, 0.4596383571624756, -0.19149118661880493, -0.24754782021045685, 0.2130630761384964, -0.11903533339500427, -0.5085521340370178, -1.0235174894332886, 0.27801772952079773, 0.11262307316064835, 0.5332252383232117, 0.40980303287506104, 0.45442870259284973, 0.6388368010520935, -0.4109968841075897, 0.5198591351509094, 0.17332039773464203, -0.8491260409355164, 0.5280888676643372, -0.11840712279081345, -0.0677366629242897, 0.7401191592216492, 0.7923595905303955, -1.045250415802002, -0.775513231754303, -0.8708086609840393, -1.0803461074829102, 0.4085557758808136, 0.4184780418872833, 0.2938532531261444, -0.20931358635425568, 0.19232036173343658, 0.18545673787593842, 0.19023020565509796, -0.7522807717323303, -0.44178569316864014, 0.33903610706329346, 0.13079051673412323, 0.1697123497724533, -0.38262543082237244, -0.45358529686927795, -0.4767518937587738, 0.3986295461654663, 0.026722745969891548, 0.13060791790485382, 0.20883238315582275, -0.11596290022134781, -0.015879254788160324, 0.23441539704799652, 0.6355125904083252, 0.9326711297035217, 0.22426219284534454, 0.13105550408363342, -0.2417372316122055, -0.22298766672611237, 0.16309724748134613, -0.20747719705104828, -0.0022834057454019785, 0.3948856592178345, 0.2956986129283905, 0.39289411902427673, 0.4054356813430786, -0.1844966858625412, 0.3922175467014313, -0.31112343072891235, -0.10275068134069443, -0.7139223217964172, -0.30651453137397766, 0.16252048313617706, 0.17183411121368408, 0.14476291835308075, 0.4314667284488678, 0.20381583273410797, -0.5962961316108704, -0.00917330477386713, 0.33189526200294495, -0.4143827259540558, -0.35923096537590027, 0.47503766417503357, 0.21998560428619385, -0.7288267016410828, 0.22946937382221222, -0.39881789684295654, -0.3701157867908478, 0.8018627762794495, 0.17090851068496704, 0.9354541301727295, -0.3794129192829132, 0.5086221098899841, 0.3664548397064209, 0.30810993909835815, -0.025952951982617378, 0.050132814794778824, -0.2586645483970642, -0.8598952293395996, -0.1488262116909027, -1.0522193908691406, -0.6285846829414368, -0.04777728021144867, -0.7156200408935547, 0.2263234257698059, -0.9501201510429382, -0.42027100920677185, 0.5443369746208191, -0.2590033710002899, -0.5918427109718323, 0.19899171590805054, 0.37152746319770813, 0.35881760716438293, -0.8680364489555359, 0.4072321355342865, 0.6565233469009399, -0.3505766689777374, -0.5215052366256714, -0.08913719654083252, 0.34526947140693665, -0.12526878714561462, 0.9318601489067078, 0.2721061408519745, -0.01199179794639349, -0.2611452639102936, -0.42625701427459717, -1.1325231790542603, 0.7525559067726135, 0.13490687310695648, -0.4717891216278076, -0.1098906621336937, 0.10152564197778702, 0.6719560623168945, -0.08033061027526855, 0.14788605272769928, 0.7076976299285889, 0.9227726459503174, 0.09172230213880539, -0.9593228697776794, -0.039128631353378296, -0.05344414710998535, 0.14811067283153534, -0.019717687740921974, -0.408814936876297, 0.8873422741889954, -0.3024682104587555, -0.6680861115455627, -0.08954032510519028, 0.17110252380371094, 0.11678051203489304, 0.27834248542785645, 0.31064268946647644, 0.4914841651916504, 1.0187798738479614, -0.4940076768398285, 1.034877896308899, 0.09019147604703903, 0.46754756569862366, 1.1275686025619507, -0.1857631653547287, 0.2981569766998291, 0.4884609878063202, -0.5785157680511475, 0.4722191095352173, 0.8361088633537292, -0.1728706806898117, 0.3640015125274658, 0.1852644681930542, -0.1086944043636322, 0.07161115854978561, -0.04945898428559303, -0.2789667546749115, 0.8959289193153381, 0.13231365382671356, -0.510374903678894, -0.39257994294166565, -0.11205258220434189, 0.26928070187568665, 0.16244004666805267, 0.15885131061077118, 0.6719778180122375, 0.17061059176921844, -0.16418790817260742, -0.17699329555034637, -0.015979712828993797, 0.808057963848114, -0.322719931602478, -0.07717288285493851, -0.052353814244270325, 0.15844862163066864, -0.45057979226112366, -0.784944474697113, 1.0478020906448364, -0.13428768515586853, -0.4714107811450958, -0.5196910500526428, 0.675675094127655, -0.08686184883117676, -0.6413114666938782, 0.46577152609825134, 0.3736783564090729, 0.2640688121318817, -0.18114472925662994, -0.7077147364616394, -0.21965689957141876, -0.5397996306419373, -0.038583312183618546, 0.34591469168663025, 0.2844541370868683, -0.002851150231435895, 0.6985476613044739, 0.6603255867958069, 0.24872539937496185, 0.07721339911222458, -0.1846020370721817, 0.4241774082183838, -0.818807065486908, -0.4051414728164673, -1.0025616884231567, 0.5876268744468689, -0.25447747111320496, -0.5425359010696411, 0.8827361464500427, 0.13931594789028168, 0.9390771389007568, 0.0405641607940197, 0.527519941329956, -0.3851219415664673, 0.5880341529846191, -0.18672840297222137, 1.0121394395828247, -0.4675702154636383, 0.03849019110202789, -0.5447390675544739, -0.9945383071899414, -0.4067770540714264, 0.6337485909461975, -0.1749216467142105, 0.15262427926063538, 0.595379114151001, 0.22407393157482147, 0.3488883972167969, -0.22111301124095917, 0.5462838411331177, 0.016194062307476997, 0.2197929471731186, 0.07276449352502823, 0.8193684220314026, -0.3066119849681854, -0.06305600702762604, -0.6523562073707581, -0.1617111712694168, -0.1734551191329956, -1.044418215751648, -0.6321112513542175, -0.5455557703971863, -0.704949140548706, -0.16963644325733185, -0.0701780691742897, 0.3184516727924347, 0.6660628318786621, -0.6620052456855774, 0.04937578737735748, 0.2666301131248474, 0.6745162606239319, -0.29091137647628784, -0.3777928650379181, -0.13811855018138885, -0.4730074107646942, -0.7381795048713684, 0.1347588151693344, 0.5687780976295471, -0.1256624013185501, -0.4316556751728058, 0.004427508916705847, 0.01817731000483036, 0.3065352737903595, 0.6094103455543518, 0.6091194748878479, -0.9189525246620178, -0.5369492173194885, -0.3861595690250397, -0.15630412101745605, 0.06265256553888321, 0.9160327315330505, -0.3998394012451172, 0.7449391484260559, 0.5226573944091797, 0.3694448173046112, -0.48281916975975037, 0.09673985093832016, 0.47251537442207336, -0.8396176695823669, -0.10715527087450027, 0.580144464969635, 0.3111078441143036, 0.5065473914146423, -0.970184862613678, 0.35675132274627686, 0.4480046033859253, -0.7312720417976379, -1.04786217212677, 0.2869049310684204, -0.8257717490196228, -0.30003055930137634, 0.7589550614356995, -0.03280944004654884, -0.033710777759552, -0.637481153011322, 0.06461254507303238, -0.03164965286850929, -0.03762676939368248, 0.9864267706871033, 0.9907311797142029, -0.2703762650489807, -0.15033693611621857, -0.6865313649177551, 0.7314000129699707, 0.14289845526218414, -0.6679288744926453, 0.16286273300647736, 0.2427908033132553, 0.34674644470214844, 0.5684764981269836, 0.663135826587677, -0.5474079847335815, 0.22134219110012054, -0.12289435416460037, 0.31112048029899597, 0.06702140718698502, -0.3869379758834839, -0.15824542939662933, -0.17033779621124268, 0.12219759076833725, -0.0020055118948221207 ]
http://arxiv.org/abs/2405.17130v1
http://arxiv.org/pdf/2405.17130v1
Exploiting the Layered Intrinsic Dimensionality of Deep Models for Practical Adversarial Training
2024-05-27T12:48:30
2024-05-27T12:48:30
Enes Altinisik, Safa Messaoud, Husrev Taha Sencar, Hassan Sajjad, Sanjay Chawla
cs.LG
cs.LG, cs.CL
Despite being a heavily researched topic, Adversarial Training (AT) is rarely, if ever, deployed in practical AI systems for two primary reasons: (i) the gained robustness is frequently accompanied by a drop in generalization and (ii) generating adversarial examples (AEs) is computationally prohibitively expensive. To address these limitations, we propose SMAAT, a new AT algorithm that leverages the manifold conjecture, stating that off-manifold AEs lead to better robustness while on-manifold AEs result in better generalization. Specifically, SMAAT aims at generating a higher proportion of off-manifold AEs by perturbing the intermediate deepnet layer with the lowest intrinsic dimension. This systematically results in better scalability compared to classical AT as it reduces the PGD chains length required for generating the AEs. Additionally, our study provides, to the best of our knowledge, the first explanation for the difference in the generalization and robustness trends between vision and language models, ie., AT results in a drop in generalization in vision models whereas, in encoder-based language models, generalization either improves or remains unchanged. We show that vision transformers and decoder-based models tend to have low intrinsic dimensionality in the earlier layers of the network (more off-manifold AEs), while encoder-based models have low intrinsic dimensionality in the later layers. We demonstrate the efficacy of SMAAT; on several tasks, including robustifying (i) sentiment classifiers, (ii) safety filters in decoder-based models, and (iii) retrievers in RAG setups. SMAAT requires only 25-33% of the GPU time compared to standard AT, while significantly improving robustness across all applications and maintaining comparable generalization.
[ -0.4803078770637512, -0.818447470664978, 0.39966830611228943, -0.305824875831604, -0.195327490568161, 0.16575516760349274, 0.08702053874731064, -0.15039567649364471, 0.176969513297081, 0.2164304107427597, -0.38872864842414856, -0.2192346453666687, -0.7797965407371521, -0.5303208827972412, -0.349232941865921, 0.9581603407859802, 0.029595153406262398, -0.07974275946617126, -0.05372732877731323, -0.19989556074142456, 0.13973715901374817, -0.7674925327301025, -0.8201488852500916, -0.10968084633350372, 0.6191447377204895, -0.06811477988958359, 0.82645583152771, 0.8044264316558838, 0.8766597509384155, 0.32778844237327576, -0.21248385310173035, 0.20324105024337769, -0.19579143822193146, -0.1580899953842163, 0.13058070838451385, -0.6187182664871216, -0.4586024284362793, 0.16973865032196045, 0.7655012011528015, 0.5860030055046082, 0.010527299717068672, 0.07026959210634232, -0.07124017924070358, 0.7880996465682983, -0.7815425992012024, 0.017406040802598, -0.7631261944770813, 0.11348491162061691, -0.2164289951324463, -0.18324662744998932, -0.02676260843873024, -0.18603965640068054, 0.1440342515707016, -0.43891841173171997, 0.28333693742752075, -0.3419393301010132, 0.676876425743103, 0.6132420301437378, -0.5657205581665039, -0.13153022527694702, -0.6315778493881226, 0.6913178563117981, -0.5791437029838562, 0.35603857040405273, 0.08242270350456238, 0.6268682479858398, 0.15444156527519226, -0.756604015827179, -0.3755684196949005, -0.4146623909473419, 0.30141881108283997, 0.13118810951709747, -0.2498786896467209, -0.12669391930103302, 0.3621145486831665, 0.513388991355896, -0.453887403011322, -0.02642299234867096, -0.39163798093795776, 0.034094907343387604, 0.3643508553504944, 0.029072102159261703, 0.27678683400154114, 0.07799318432807922, -0.3513631224632263, -0.24214988946914673, -0.9479517936706543, 0.34171631932258606, 0.45940113067626953, 0.2960846424102783, 0.07461856305599213, 0.4712792634963989, 0.24339452385902405, 0.16320927441120148, 0.11109694093465805, 0.11775422096252441, 0.04049793258309364, 0.24777129292488098, -0.08833576738834381, -0.2461911290884018, 0.6287153363227844, -0.10258715599775314, -0.10208044201135635, -0.2272598296403885, -0.25122877955436707, 0.5871195197105408, 0.6673574447631836, -0.8555450439453125, -0.4392910897731781, 0.04273828864097595, -0.41799288988113403, -0.86399245262146, 0.007803486660122871, -0.3340528905391693, -0.45604604482650757, -0.36072835326194763, 0.5291639566421509, -0.4875083267688751, -0.07917391508817673, -0.18748322129249573, -0.11692056059837341, 0.017028233036398888, 0.1315453052520752, -0.5561016201972961, 0.3125082552433014, 0.6795486807823181, 1.000889539718628, 0.025506505742669106, -0.3699938654899597, -0.5891830325126648, 0.10464852303266525, -0.4391079843044281, 0.7910522818565369, -0.4486398696899414, -0.12594959139823914, -0.33098822832107544, -0.2699469327926636, -0.08090507239103317, -0.40974166989326477, 0.5521414279937744, -0.5396935939788818, 0.023954501375555992, -0.41446563601493835, -0.18373379111289978, -0.4142265021800995, 0.4779748022556305, -0.49883702397346497, 0.4756487011909485, -0.028603047132492065, -0.9277865886688232, 0.4404398202896118, -0.8928402066230774, -0.4152143895626068, -0.06323537230491638, -0.3461099863052368, -0.6705304980278015, 0.329489141702652, 0.5738604664802551, 0.4329163432121277, -0.15517166256904602, -0.10310927033424377, -0.4127761125564575, -0.5449888110160828, 0.09068761765956879, -0.7581242918968201, 1.0716933012008667, 0.11624985933303833, -0.6104949116706848, 0.012540522031486034, -0.6355206966400146, -0.04182875528931618, 0.3806607723236084, -0.3125933110713959, -0.2648434340953827, 0.07090771198272705, -0.3334643244743347, 0.0922299399971962, -0.011160627007484436, -0.4553748071193695, 0.3398437201976776, -0.532757043838501, 0.584784746170044, 0.9833663702011108, -0.05894438922405243, 0.57392418384552, -0.30522844195365906, 0.6066188812255859, 0.15079554915428162, 0.11975258588790894, 0.1676885336637497, -0.4211680293083191, -0.6733189225196838, -0.6876884698867798, 0.3366601765155792, 0.6286823749542236, -1.0558509826660156, 0.297288179397583, -0.36858636140823364, -0.43275129795074463, -0.43365171551704407, -0.17700821161270142, 0.3877764940261841, 0.2757943272590637, 0.24528495967388153, -0.35798180103302, -0.2142947018146515, -0.8411535024642944, -0.33550727367401123, -0.261898398399353, -0.13600513339042664, 0.4847556948661804, 0.49887481331825256, -0.5461392998695374, 0.501876175403595, -0.35045892000198364, -0.3125625550746918, 0.0316324345767498, 0.07757734507322311, -0.05129747465252876, 0.42619043588638306, 0.8297439813613892, -0.7886927723884583, -0.6589673757553101, 0.17966382205486298, -0.9094412922859192, 0.370931476354599, 0.03953378275036812, 0.06430703401565552, 0.08341939002275467, 0.13183243572711945, -0.712907612323761, 0.7419121265411377, 0.3563089370727539, -0.026032891124486923, 0.3887854218482971, -0.19070973992347717, 0.07041124999523163, -0.8283076882362366, 0.06341789662837982, -0.049724459648132324, -0.27862975001335144, -0.6239570379257202, 0.6806182861328125, -0.020979059860110283, -0.5233707427978516, -0.45320940017700195, 0.29753273725509644, -0.39358261227607727, -0.041216447949409485, -0.18853488564491272, -0.18805427849292755, -0.0885438397526741, 0.6529678106307983, -0.28612369298934937, 0.8876103758811951, 0.9344704151153564, -0.6269619464874268, 0.35473722219467163, 0.1453547179698944, -0.005321495234966278, 0.6296707391738892, -0.6839426755905151, 0.32058557868003845, -0.1904808133840561, 0.3432976305484772, -0.3335862159729004, 0.04627535119652748, 0.054737839847803116, -0.47368550300598145, 0.5109198093414307, -0.3817964494228363, -0.17098763585090637, -0.4854806065559387, -0.5742076635360718, 0.47393798828125, 0.5887882113456726, -0.7977380156517029, 0.8604408502578735, 0.5035156011581421, 0.08661267906427383, -0.60547935962677, -0.9299294948577881, 0.18778781592845917, -0.5335073471069336, -0.8073375225067139, 0.061097387224435806, -0.006008487194776535, -0.06630077213048935, -0.08994930237531662, -0.10376772284507751, 0.05385042354464531, 0.15592145919799805, 0.15874049067497253, -0.02806011587381363, -0.32788118720054626, -0.43767914175987244, -0.012541490606963634, -0.17041201889514923, 0.15961964428424835, -0.644676923751831, 0.3263627588748932, -0.6665070652961731, -0.587306797504425, -0.561506986618042, 0.48997214436531067, 0.6124727725982666, -0.18924471735954285, 0.9879701137542725, 0.9263842105865479, -0.3386566638946533, -0.28446686267852783, -0.2953341007232666, -0.24144038558006287, -0.5461537837982178, 0.27787506580352783, -0.6234692931175232, -0.6233106255531311, 0.6517292857170105, 0.07581833004951477, 0.056630391627550125, 0.44266554713249207, 0.39514878392219543, -0.03896457701921463, 1.362131953239441, 0.42041876912117004, -0.09477626532316208, 0.4204082787036896, -0.9358711838722229, 0.5225066542625427, -1.0980833768844604, 0.15694287419319153, -0.0777752473950386, -0.48053085803985596, -0.6983423829078674, -0.2685416042804718, 0.7042708396911621, -0.1347210854291916, -0.46655258536338806, 0.18721093237400055, -0.4372621774673462, 0.481730580329895, 0.8236401677131653, 0.3630523681640625, -0.30443206429481506, 0.3284461796283722, -0.12222004681825638, -0.04886489734053612, -0.9063171744346619, -0.3551827669143677, 1.169588565826416, 0.5985469222068787, 0.6052088141441345, 0.47958287596702576, 0.6534295082092285, 0.2033441811800003, 0.0923568606376648, -0.7554380297660828, 0.40556013584136963, -0.7303255200386047, -0.3548784554004669, -0.1751660853624344, -0.8595144748687744, -0.7203282713890076, 0.24697336554527283, 0.05159338563680649, -0.4810510277748108, 0.46466830372810364, 0.3977651000022888, -0.2890669107437134, 0.7938351035118103, -0.6600640416145325, 0.5797562599182129, -0.09075644612312317, -0.15641936659812927, 0.056678708642721176, -0.6877372860908508, 0.3353279232978821, -0.04037710651755333, -0.02063918299973011, 0.3688249886035919, 0.14315439760684967, 0.47420257329940796, -0.5402634739875793, 0.7554116249084473, -0.5240167379379272, 0.03767389431595802, 0.3959480822086334, 0.2972104847431183, 0.8862488865852356, 0.05782174691557884, 0.08808182924985886, 0.21284058690071106, -0.37386828660964966, -0.6466615200042725, -0.7911534309387207, 0.7870280742645264, -0.9295467734336853, -0.5510604381561279, -0.47484540939331055, -0.5627180337905884, -0.32620179653167725, -0.051740862429142, 0.42292818427085876, 0.816974937915802, -0.08826600760221481, 0.48438718914985657, 0.7282986044883728, -0.1431160867214203, 0.02362266555428505, -0.07429482042789459, 0.312760591506958, -0.2342570424079895, 1.4484208822250366, 0.11932765692472458, 0.3039296269416809, 0.2515306770801544, 0.30720460414886475, -0.22192811965942383, -0.5276892185211182, -0.49419379234313965, -0.08358379453420639, -0.6714699268341064, -0.22788749635219574, -0.8160043358802795, -0.6470898389816284, -0.4965595006942749, -0.39794468879699707, -0.5560641884803772, -0.7679691910743713, -0.17696239054203033, 0.07392103970050812, -0.10444560647010803, 0.7392754554748535, -0.38291341066360474, 0.4524933993816376, -0.44236844778060913, 0.507361114025116, 0.7212749123573303, 0.08719849586486816, 0.15380775928497314, -0.7442207932472229, -0.1536630243062973, 0.4426218271255493, -0.5935696363449097, -0.29529720544815063, 0.31095635890960693, 0.40054863691329956, 0.5539989471435547, 0.668791651725769, -0.16669616103172302, 0.49165093898773193, -0.6081271171569824, 0.7251874804496765, 0.050561629235744476, -0.6801548004150391, 0.48418116569519043, -0.6382759213447571, 0.19070103764533997, 0.3187284767627716, 0.32410648465156555, 0.1777544766664505, -0.2961217164993286, -0.8572733998298645, -0.7744873762130737, 0.464074045419693, 0.4883868396282196, -0.05500950664281845, 0.16741393506526947, 0.3277614116668701, -0.15863633155822754, 0.1669335514307022, -0.666537880897522, -0.25213074684143066, -0.4556224048137665, -0.15066811442375183, -0.024462729692459106, -0.11743570864200592, -0.3107268810272217, -0.15573327243328094, 0.8956060409545898, -0.17309053242206573, 0.5888975262641907, -0.11835195869207382, -0.0037272775080055, 0.054058801382780075, -0.053668852895498276, 0.36295467615127563, 0.3568190038204193, -0.2422538846731186, 0.3568723201751709, 0.09764434397220612, -0.6432971954345703, 0.16204142570495605, 0.005513085518032312, -0.47158074378967285, -0.5194078683853149, 0.3732634484767914, 0.9560405015945435, -0.37272486090660095, -0.1130310520529747, 0.746882975101471, -0.1900310069322586, -0.28771543502807617, -0.16667281091213226, 0.04243352264165878, -0.4599144160747528, 0.5099417567253113, 0.1627139002084732, 0.7353468537330627, 0.37343716621398926, -0.6752912402153015, 0.08777972310781479, 0.8702622056007385, -0.39128246903419495, -0.39123716950416565, 0.7647350430488586, -0.11147277802228928, -0.19847653806209564, 0.3781801164150238, -0.2604893743991852, -1.0138686895370483, 0.5554714202880859, 0.3424849510192871, 1.0448240041732788, -0.09329933673143387, 0.2997486889362335, -0.14190953969955444, 0.5037599802017212, 0.17467954754829407, 0.004193436354398727, 0.04292527586221695, -0.5129407048225403, -0.06600220501422882, -0.529045820236206, -0.22960516810417175, -0.020673958584666252, -0.5703177452087402, -0.10210873186588287, -0.8035439848899841, -0.19982540607452393, -0.13704970479011536, 0.047451481223106384, -0.6630834341049194, 0.3942643105983734, 0.029494401067495346, 0.3765054941177368, -0.7313958406448364, 0.5617352724075317, 0.8302837014198303, -0.205514058470726, -0.7141669988632202, 0.16697488725185394, 0.26359206438064575, -0.8080875277519226, 0.4107568860054016, 0.09277597069740295, -0.28627532720565796, -0.13635966181755066, -0.401651531457901, -0.8341094255447388, 1.0392473936080933, 0.5144699811935425, 0.09285783022642136, -0.03497472405433655, 0.05676835775375366, 0.5808221101760864, -0.3760245442390442, -0.039397288113832474, 0.4140883684158325, 0.1431823968887329, 0.319051593542099, -0.3366375267505646, -0.11541000753641129, -0.46600309014320374, 0.2127460241317749, 0.20805291831493378, -0.7135336399078369, 0.9392028450965881, -0.1707390695810318, -0.19643570482730865, -0.13095881044864655, 0.5120577216148376, 0.3055691421031952, 0.015688221901655197, 0.562200665473938, 0.9140221476554871, 0.6295797228813171, 0.0076978751458227634, 1.35308837890625, -0.12368887662887573, 0.12304485589265823, 0.7858114242553711, 0.08216425031423569, 0.6243829131126404, 0.21818667650222778, -0.232781320810318, 0.2886776328086853, 0.38094305992126465, 0.11101532727479935, 0.7811249494552612, -0.04149402678012848, -0.15860475599765778, -0.03141827881336212, 0.06967170536518097, -0.5295485854148865, 0.3653101921081543, 0.23141855001449585, -0.1327846199274063, 0.12290376424789429, 0.24580879509449005, -0.23746483027935028, -0.14974869787693024, -0.4442984461784363, 0.6311209201812744, 0.13050417602062225, -0.09586445987224579, 0.6769694685935974, -0.06200879067182541, 0.5730047821998596, -0.4313046634197235, 0.30632585287094116, -0.22283770143985748, 0.6273692846298218, -0.000046629265852971, -0.3414047956466675, 0.41266703605651855, -0.01373901404440403, -0.0916263535618782, 0.04287956282496452, 0.6619499325752258, -0.037746597081422806, -0.8639976978302002, 0.0007411831174977124, 0.20468461513519287, 0.09177650511264801, -0.4810903072357178, -0.643347978591919, -0.20024429261684418, -0.04180771857500076, -0.28861868381500244, 0.33676469326019287, 0.6935929656028748, 0.057404980063438416, 0.8746121525764465, 0.782345175743103, 0.4258894920349121, 0.2666685879230499, 0.06699486821889877, 1.2684147357940674, -0.2538682520389557, -0.7536428570747375, -0.5221220254898071, 0.5544451475143433, 0.020336871966719627, -0.04010721668601036, 0.636176347732544, 0.35775262117385864, 0.47828209400177, 0.08623185753822327, 0.8125194311141968, 0.09733311831951141, 0.4925709366798401, -0.43121016025543213, 0.8566635251045227, -0.876055896282196, 0.5967049598693848, -0.1410902589559555, -1.1261340379714966, -0.34090644121170044, 0.7850461602210999, -0.23981012403964996, 0.21373330056667328, 0.6631880402565002, 0.6107000708580017, -0.5763428807258606, -0.1551978439092636, 0.2969507575035095, 0.2969213128089905, 0.7600370645523071, 0.3897534906864166, 0.7468062043190002, -0.7842621803283691, 0.39288604259490967, -0.4346978962421417, -0.5355067253112793, 0.13222110271453857, -0.5870018601417542, -1.3133282661437988, -0.38576585054397583, -0.21362364292144775, -0.21208053827285767, 0.2796332836151123, 0.4709509611129761, 0.7709782123565674, -0.8775946497917175, 0.26317211985588074, -0.20002272725105286, -0.3768641948699951, -0.12758034467697144, -0.1843852549791336, 0.5952705144882202, -0.14065590500831604, -0.282147079706192, 0.5804265737533569, 0.217719167470932, 0.2720384895801544, -0.506774365901947, -0.02878131903707981, -0.07300526648759842, 0.2960771322250366, 0.6234028339385986, 0.14717407524585724, -0.6193966269493103, -0.37179452180862427, -0.17942221462726593, 0.10975287109613419, -0.08290128409862518, 0.8051300048828125, -0.6332264542579651, -0.00459501426666975, 0.3428594470024109, 0.9041561484336853, 0.4678359031677246, 0.029686572030186653, 0.5453934669494629, -0.9342338442802429, 0.49661770462989807, 0.3642302453517914, 0.2966674566268921, 0.37287184596061707, -0.598895251750946, 0.5319713950157166, 0.2785264551639557, -0.6776638031005859, -0.9618561863899231, 0.30664584040641785, -0.6721467971801758, -0.1909579634666443, 0.8760932087898254, -0.31377166509628296, -0.2630334496498108, 0.3061349093914032, -0.019169827923178673, -0.06557571142911911, -0.17323316633701324, 1.0266772508621216, 0.26848211884498596, 0.10148140043020248, -0.08967867493629456, -0.2328176647424698, 0.4496234655380249, 0.24002456665039062, -0.6564932465553284, -0.232001394033432, 0.04362035170197487, -0.10985744744539261, 0.23039981722831726, 0.30385851860046387, 0.04307211935520172, 0.22163605690002441, 0.3962585926055908, -0.5307093858718872, -0.30743998289108276, -0.7952791452407837, -0.3850843012332916, 0.17084620893001556, -0.19493474066257477, -0.02278766967356205 ]
http://arxiv.org/abs/2405.17129v2
http://arxiv.org/pdf/2405.17129v2
TEII: Think, Explain, Interact and Iterate with Large Language Models to Solve Cross-lingual Emotion Detection
2024-05-27T12:47:40
2024-07-02T12:18:51
Long Cheng, Qihao Shao, Christine Zhao, Sheng Bi, Gina-Anne Levow
cs.CL
cs.CL, cs.AI
Cross-lingual emotion detection allows us to analyze global trends, public opinion, and social phenomena at scale. We participated in the Explainability of Cross-lingual Emotion Detection (EXALT) shared task, achieving an F1-score of 0.6046 on the evaluation set for the emotion detection sub-task. Our system outperformed the baseline by more than 0.16 F1-score absolute, and ranked second amongst competing systems. We conducted experiments using fine-tuning, zero-shot learning, and few-shot learning for Large Language Model (LLM)-based models as well as embedding-based BiLSTM and KNN for non-LLM-based techniques. Additionally, we introduced two novel methods: the Multi-Iteration Agentic Workflow and the Multi-Binary-Classifier Agentic Workflow. We found that LLM-based approaches provided good performance on multilingual emotion detection. Furthermore, ensembles combining all our experimented models yielded higher F1-scores than any single approach alone.
[ -0.5407391786575317, -0.7945990562438965, 0.4918256402015686, 0.260029673576355, -0.21130314469337463, 0.11982955038547516, -0.49464544653892517, -0.7746055722236633, 0.2553975582122803, -0.3322288990020752, -0.47035399079322815, -0.686108410358429, -0.5141711235046387, 0.015437784604728222, -0.26668691635131836, 0.7036593556404114, -0.28374454379081726, 0.10123266279697418, 0.28936654329299927, -0.28084447979927063, -0.13487505912780762, -0.1863684356212616, -0.8311641812324524, -0.38959214091300964, 0.5930062532424927, 0.8683156967163086, 0.4566284716129303, -0.07940948754549026, 0.10361604392528534, 0.3067753314971924, 0.05541076511144638, -0.06570550054311752, -0.6518628001213074, -0.08300778269767761, -0.24117650091648102, -0.5882227420806885, -0.3563319444656372, -0.1792300045490265, 0.4963262379169464, 0.3408867418766022, -0.01437754463404417, -0.10011818259954453, -0.24068772792816162, 0.5954549908638, -0.41355106234550476, 0.33100903034210205, -0.1959674209356308, 0.37262508273124695, -0.17412997782230377, -0.17132782936096191, -0.4171145558357239, 0.05767655000090599, 0.26067277789115906, -0.564487099647522, -0.15131469070911407, 0.21196237206459045, 0.6781041026115417, -0.05586414411664009, -0.673496425151825, -0.1921759694814682, -0.5226336717605591, 0.7881386280059814, -0.427337646484375, 0.43195584416389465, 0.06930278241634369, 0.2010924369096756, 0.3567810654640198, -0.40820372104644775, -0.6842008233070374, 0.07186804711818695, 0.19530567526817322, 0.40444162487983704, -0.5140135884284973, -0.0897386446595192, 0.021113302558660507, 0.4117501676082611, -0.8867586851119995, 0.11987168341875076, -0.16514408588409424, -0.01361717190593481, 0.7338366508483887, 0.08591853082180023, 0.4997882544994354, -0.025127658620476723, -0.4100014865398407, -0.12165094166994095, -0.6307701468467712, 0.16486690938472748, 0.3895547389984131, 0.1639012098312378, -0.4248800575733185, 0.4318137466907501, -0.24770835041999817, 0.10863933712244034, 0.011463357135653496, 0.4922235310077667, 0.4139741063117981, -0.1964176595211029, -0.3149798512458801, 0.01782696694135666, 0.9927026629447937, 0.340564101934433, 0.7996713519096375, -0.11169268935918808, -0.11539719253778458, 0.03448919206857681, -0.1575121432542801, -0.5334246158599854, 0.2374589592218399, 0.4086456298828125, -0.33900341391563416, -0.09473646432161331, -0.21049635112285614, -0.9015786647796631, -0.24889390170574188, -0.29700788855552673, 0.4853184223175049, -0.5900886654853821, -0.9583021402359009, 0.21460936963558197, 0.16257800161838531, 0.30027779936790466, 0.324795126914978, -0.7426980137825012, 0.08615835756063461, 0.6672360897064209, 0.7664360404014587, -0.42986220121383667, -0.6120190024375916, -0.3601095676422119, -0.17742305994033813, -0.44526976346969604, 0.8007978200912476, -0.6617133617401123, -0.33552348613739014, 0.1531088948249817, 0.011351251043379307, -0.33471789956092834, -0.47634243965148926, 0.32756277918815613, -0.46180200576782227, 0.32821789383888245, -0.30306339263916016, -0.4792414903640747, -0.3665352463722229, 0.45118916034698486, -0.6156599521636963, 1.169846534729004, 0.22800800204277039, -0.864291787147522, 0.14326313138008118, -1.1278070211410522, -0.5439547300338745, 0.006799865979701281, 0.30628669261932373, 0.16942009329795837, 0.2495359182357788, 0.012553714215755463, 0.49879971146583557, -0.5286338329315186, 0.32459214329719543, -0.4276047945022583, -0.6018355488777161, 0.08712054044008255, -0.276339054107666, 0.6081545948982239, 0.15575557947158813, -0.6827059388160706, 0.36951881647109985, -0.4062047600746155, -0.034682292491197586, 0.2227707952260971, -0.14670370519161224, -0.23736432194709778, -0.4723961651325226, 0.3534844219684601, 0.3893563449382782, -0.02995603159070015, -0.6284580230712891, -0.06136450171470642, -0.32507967948913574, 0.2606153190135956, 0.6537030339241028, -0.31286561489105225, 0.374186635017395, -0.06205024570226669, 0.7671070098876953, 0.2510511577129364, -0.04235927760601044, -0.217488095164299, -0.29802417755126953, -0.728905439376831, -0.009512891061604023, 0.12056085467338562, 0.6025444865226746, -1.0022207498550415, -0.07180879265069962, -0.314884752035141, -0.5164771676063538, -0.579008162021637, -0.060118354856967926, 0.5351954102516174, 0.4777142405509949, 0.2357097566127777, 0.07125170528888702, -0.16841760277748108, -0.7824657559394836, -0.42688894271850586, -0.3942349851131439, 0.32355210185050964, -0.004304549656808376, 0.6949217915534973, -0.031217580661177635, 0.3607740104198456, -0.0649469643831253, 0.11230494827032089, -0.4251258671283722, 0.62210613489151, -0.16943317651748657, 0.1812117099761963, 0.400028795003891, -0.9571021795272827, -0.8966323733329773, 0.3640504479408264, -0.8300356268882751, -0.23435571789741516, 0.19478483498096466, -0.07881252467632294, 0.7267615795135498, 0.4313650131225586, -0.3595484793186188, 0.3644478917121887, 0.3623201549053192, -0.5172982215881348, 0.3413879871368408, 0.019543292000889778, 0.4997905194759369, -1.0651919841766357, -0.035049621015787125, 0.4107464849948883, -0.2570776343345642, -0.6787621974945068, 0.10951437801122665, 0.07491014897823334, -0.079935222864151, -0.8318607807159424, 0.7444980144500732, -0.4558839201927185, -0.14435335993766785, -0.15351992845535278, 0.10107062757015228, -0.026471048593521118, 0.7122645378112793, 0.4491431415081024, 0.45569321513175964, 0.7508034110069275, -0.23454318940639496, 0.4105321168899536, -0.14791731536388397, -0.4737367033958435, 0.9900118112564087, -0.5120795369148254, 0.13859140872955322, -0.11674005538225174, -0.16855232417583466, -1.1712632179260254, -0.18859219551086426, 0.09978741407394409, -0.39093559980392456, 0.40796247124671936, 0.16627027094364166, -0.5842841267585754, -0.13556690514087677, -0.4267100691795349, 0.45450523495674133, 0.18676388263702393, -0.6892277598381042, 0.8873956203460693, 0.2701443135738373, -0.3133606016635895, -0.45021286606788635, -0.7644354701042175, 0.10128793120384216, -0.4709630608558655, -1.0657035112380981, 0.20791290700435638, -0.23031970858573914, -0.3808271288871765, 0.0700969398021698, 0.0796828493475914, 0.054877929389476776, 0.08508899062871933, 0.19953671097755432, 0.0641595795750618, -0.38683170080184937, 0.3461310863494873, -0.0810142308473587, -0.3080865144729614, 0.05589703470468521, 0.18711423873901367, 0.5765961408615112, -0.5856093168258667, -0.6085317134857178, -0.43355002999305725, 0.7926557064056396, 0.9344230890274048, -0.1590975970029831, 0.3795836865901947, 1.0399380922317505, -0.5207552909851074, -0.15843608975410461, -0.31706854701042175, 0.21692124009132385, -0.3875732123851776, 0.49331745505332947, -0.6256192922592163, -1.04306960105896, 0.7122265696525574, -0.05385376140475273, -0.1448703110218048, 0.27263349294662476, 0.8251882195472717, -0.0815226137638092, 0.983511209487915, 0.6971353888511658, -0.20787304639816284, 0.5752859115600586, -0.07922517508268356, 0.4461658298969269, -0.5910154581069946, -0.22528579831123352, -0.2214483618736267, -0.5573315024375916, -0.5808038711547852, -0.33914437890052795, 0.5107123255729675, -0.2919510304927826, -0.1684495359659195, -0.0562933050096035, 0.06059252843260765, 0.43137800693511963, 0.4920569956302643, -0.0512642078101635, 0.10914582759141922, -0.14592911303043365, -0.15866151452064514, 0.102785624563694, -0.47382044792175293, -0.04462979733943939, 0.7600808143615723, 0.31272000074386597, 0.7413122057914734, 0.1891094446182251, 0.8156735301017761, 0.18002255260944366, 0.3947972059249878, -0.9467570185661316, 0.37329381704330444, 0.0677022635936737, -0.635399580001831, -0.3518838882446289, -0.21409064531326294, -0.7076258063316345, 0.25273725390434265, 0.0835144892334938, -1.1180846691131592, 0.200999453663826, -0.08010116964578629, -0.2274065911769867, 0.19234153628349304, -0.9930597543716431, 1.1931442022323608, -0.2874484658241272, -0.6552101969718933, -0.39876604080200195, -0.43417754769325256, 0.5367382764816284, -0.2715871036052704, 0.43027907609939575, -0.020882312208414078, 0.17966172099113464, 0.6093564033508301, -0.2194710522890091, 0.7500514388084412, -0.15283769369125366, -0.27202627062797546, 0.2739386260509491, 0.158900648355484, 0.31585171818733215, -0.12449052929878235, -0.37573081254959106, 0.1117020770907402, 0.050293803215026855, -0.238012433052063, -0.6008360385894775, 0.7684146165847778, -0.5470313429832458, -0.5411311388015747, -0.33404088020324707, -0.7755789756774902, -0.20541056990623474, -0.14169315993785858, 0.3268910050392151, 0.24496476352214813, -0.2735890746116638, 0.20422205328941345, 0.5606300830841064, -0.4349558651447296, 0.6100287437438965, 0.8363452553749084, -0.274324506521225, -0.0990220233798027, 1.0156822204589844, 0.04932500794529915, 0.316798597574234, 0.48445001244544983, 0.2685716152191162, -0.33842191100120544, -0.05092810094356537, -0.32774221897125244, 0.08123143762350082, -0.8077222108840942, 0.007385235745459795, -0.5992523431777954, 0.28909921646118164, -0.3685351014137268, -0.0723620355129242, -0.42530810832977295, -0.1321002095937729, 0.039985500276088715, -0.2580125629901886, 0.32110118865966797, 0.6964575052261353, -0.48937687277793884, 0.33271312713623047, -0.776538074016571, 0.34315216541290283, 0.10493533313274384, 0.4195597469806671, 0.08089956641197205, -0.408357173204422, -0.31339743733406067, -0.08249450474977493, 0.11245334148406982, -1.0859251022338867, 0.5327321290969849, 0.16474270820617676, 0.28505679965019226, 0.5402688384056091, 0.122384212911129, 0.6955071091651917, -0.0845048576593399, 0.6890537142753601, 0.0037857620045542717, -1.3917139768600464, 0.3538081645965576, -0.20622633397579193, 0.4288100004196167, 0.3499331474304199, 0.6409844160079956, -0.9540965557098389, -0.15578974783420563, -0.3917830288410187, -0.9548479318618774, 1.0474083423614502, -0.010519547387957573, -0.06258249282836914, 0.060457032173871994, -0.06578720360994339, 0.032489556819200516, -0.12414784729480743, -0.8636032938957214, -0.14492318034172058, 0.10842762142419815, -0.5731428265571594, -0.10652410238981247, -0.158616840839386, 0.04680929332971573, -0.14796759188175201, 0.7673811912536621, -0.32895129919052124, 0.33405783772468567, 0.1274663209915161, -0.461736798286438, -0.5056828856468201, 0.38252002000808716, 0.39788609743118286, 0.3902186155319214, 0.018637942150235176, 0.17003871500492096, 0.1346299648284912, -0.0569247305393219, 0.02216215431690216, 0.15787144005298615, 0.19367024302482605, -0.047132521867752075, 0.5379434823989868, 1.008599042892456, 0.3194773197174072, -0.8215969204902649, 0.5694376230239868, -0.23990602791309357, -0.08683378249406815, -0.19183269143104553, -0.19804315268993378, 0.4638180136680603, 0.7003270983695984, 0.16402709484100342, -0.5029645562171936, 0.28212791681289673, -0.9619472026824951, -0.05919059365987778, 0.37454476952552795, -0.5881296992301941, -0.6634334921836853, 0.20895063877105713, 0.10510270297527313, -0.13925796747207642, 0.22855360805988312, -0.31058090925216675, -1.0059139728546143, 0.8455343246459961, 0.4388844966888428, 0.9684643149375916, -0.497149795293808, 0.4140971601009369, 0.13250292837619781, 0.31566423177719116, -0.07061418890953064, 0.9142686128616333, -0.1006692498922348, -0.8113825917243958, -0.4412224292755127, -0.24211525917053223, -0.6262436509132385, -0.011421781964600086, -0.8173662424087524, 0.2948516309261322, 0.07945375144481659, 0.3066830039024353, 0.20968042314052582, -0.02634579688310623, -0.9025359153747559, 0.3050523102283478, 0.5737507939338684, 1.0214462280273438, -1.2104334831237793, 0.7688552737236023, 0.9342839121818542, -0.30597251653671265, -0.9213470220565796, 0.06923791021108627, 0.37978801131248474, -0.8730595111846924, 0.7426173686981201, 0.4697452485561371, -0.16131162643432617, -0.11110775172710419, -0.32662200927734375, -0.6247734427452087, 0.8398706912994385, 0.2783544361591339, -0.5496276021003723, 0.16089804470539093, 0.17525459825992584, 0.7209869623184204, -0.3856870234012604, 0.7442468404769897, 0.6751357316970825, 0.7798339128494263, 0.1423431783914566, -0.9038694500923157, -0.11606263369321823, -0.7147341370582581, -0.4646943211555481, 0.22077296674251556, -0.8364828824996948, 0.665421724319458, -0.18793947994709015, -0.26979219913482666, -0.41420701146125793, 0.4610995054244995, 0.021673979237675667, 0.7301267385482788, 0.6942223310470581, 0.5975404381752014, 0.7543724179267883, -0.21502229571342468, 1.0744692087173462, -0.39092251658439636, 0.24073465168476105, 1.0365889072418213, -0.6784570813179016, 0.8324013948440552, 0.3883844316005707, 0.049011342227458954, 0.4119650721549988, 1.0479815006256104, 0.4647894501686096, 0.2690584659576416, 0.0861828401684761, -0.3051292598247528, -0.41324713826179504, -0.21383170783519745, -0.2029987871646881, 0.5674350261688232, 0.5052309036254883, -0.04768076166510582, -0.31596624851226807, 0.41219234466552734, -0.0043436940759420395, -0.36456099152565, -0.23370619118213654, 0.6125503778457642, 0.09741712361574173, -0.7710002660751343, 0.38225916028022766, -0.1546822041273117, 0.7642995715141296, -0.4571433663368225, 0.1561342179775238, -0.3631272315979004, 0.07601930946111679, -0.20468400418758392, -0.988388180732727, 0.26331740617752075, 0.3005702793598175, 0.09021838754415512, -0.2617506980895996, 0.6219449639320374, -0.6975811123847961, -0.3152395784854889, 0.8901791572570801, 0.6519335508346558, 0.437472403049469, -0.34759658575057983, -0.6119796633720398, 0.25450366735458374, -0.02701466716825962, -0.8070006370544434, 0.2474530041217804, 1.1458134651184082, -0.2955281436443329, 0.6578816175460815, 0.1785859614610672, -0.41038116812705994, -0.08989814668893814, 0.3399173319339752, 0.7029361128807068, -0.7669367790222168, -0.3410031199455261, -0.8503888249397278, 0.6457887291908264, 0.08342020958662033, -0.3033871352672577, 0.13997501134872437, 0.3838886022567749, 0.8966882824897766, 0.007933388464152813, 0.7778230905532837, -0.11345955729484558, 0.28618568181991577, -0.37019985914230347, 0.35089725255966187, -1.0067901611328125, -0.07139124721288681, -0.33291569352149963, -0.7111908197402954, -0.19952857494354248, 0.42186397314071655, -0.30324578285217285, -0.002597457729279995, 1.0523951053619385, 0.7140828967094421, -0.08359985798597336, 0.2719838619232178, 0.5060673952102661, 0.2796493470668793, 0.14882591366767883, 1.0850818157196045, 0.9026346206665039, -0.3162848949432373, 0.48727303743362427, -0.235205739736557, -0.1333739459514618, -0.21966707706451416, -0.8917520046234131, -0.712716281414032, -0.6325197815895081, -0.6141948699951172, -0.15422379970550537, -0.1629568189382553, 1.0241528749465942, 0.5944921374320984, -0.8449947237968445, -0.18164080381393433, 0.2398512214422226, 0.29556164145469666, 0.012433147989213467, -0.29419565200805664, 0.2648881673812866, -0.15437045693397522, -1.278557538986206, 0.46581605076789856, 0.4730950891971588, -0.1624269336462021, -0.16067977249622345, -0.25042346119880676, -0.4212369918823242, -0.041567880660295486, 0.60652095079422, 0.2540944814682007, -0.6087736487388611, -0.35922786593437195, 0.17635861039161682, 0.03063672035932541, 0.1066315770149231, 0.5836213827133179, -0.3467753231525421, 0.5607283115386963, 0.7687059640884399, 0.5879161357879639, 0.6324608325958252, -0.32186758518218994, 0.7199091911315918, -0.48451197147369385, 0.022138934582471848, -0.031090108677744865, 0.8147006630897522, 0.573858916759491, -0.3188086748123169, 0.7894684076309204, 0.09234699606895447, -0.25122353434562683, -0.7990671992301941, 0.17805007100105286, -1.009494423866272, -0.17672501504421234, 1.1030900478363037, -0.583518922328949, -0.39212939143180847, 0.024198181927204132, -0.1052166223526001, 0.5507840514183044, -0.44456785917282104, 0.6343628764152527, 0.9383094906806946, -0.2133215367794037, -0.5496874451637268, -0.2955273985862732, -0.0005206776550039649, 0.6527450680732727, -1.1430480480194092, 0.02399490214884281, 0.2743305265903473, 0.3210754990577698, 0.3135479688644409, 0.5224327445030212, -0.10819263756275177, 0.4027048647403717, -0.31315430998802185, 0.3709297180175781, 0.16306687891483307, -0.24889835715293884, -0.6379700303077698, 0.2658943235874176, -0.15875646471977234, -0.021583475172519684 ]
http://arxiv.org/abs/2405.17116v1
http://arxiv.org/pdf/2405.17116v1
Mixtures of Unsupervised Lexicon Classification
2024-05-27T12:33:47
2024-05-27T12:33:47
Peratham Wiriyathammabhum
cs.CL
cs.CL, cs.AI, cs.CV, cs.LG
This paper presents a mixture version of the method-of-moment unsupervised lexicon classification by an incorporation of a Dirichlet process.
[ -0.49860262870788574, -0.40774643421173096, 0.2734161615371704, 0.3066514730453491, -0.43372824788093567, 0.4734894335269928, 0.0985381156206131, 0.11348547041416168, 0.7410305738449097, 0.5970112681388855, -0.26662126183509827, -0.009570890106260777, -0.37663090229034424, -0.29536187648773193, -0.5968226194381714, 0.728801965713501, 0.1311596930027008, 0.42298123240470886, -0.3126401901245117, -0.42520079016685486, -0.18290454149246216, -0.9207131266593933, -0.19436299800872803, -0.5846000909805298, 0.07529645413160324, 0.6328994035720825, 0.6736593842506409, -0.007245262619107962, 0.2598620057106018, 0.39407601952552795, -0.6769247055053711, -0.17453435063362122, 0.23612675070762634, 0.03882666304707527, -0.5706610083580017, -0.5746820569038391, -0.3031790256500244, 0.3702641725540161, 0.6385152339935303, 1.316718578338623, -0.6526824235916138, -0.39115381240844727, 0.22566188871860504, 0.34207049012184143, -0.7232233881950378, -0.3736077547073364, -0.4881550669670105, 0.25397539138793945, -0.26364272832870483, -0.36045607924461365, -0.19647380709648132, 0.2769009470939636, 0.05826406553387642, 0.2173362523317337, 0.48708033561706543, 0.05554816871881485, -0.05545518174767494, -0.184708833694458, -0.3360062539577484, 0.01655738800764084, -0.6493929624557495, 1.067180871963501, -0.5175501704216003, 0.4518739581108093, -0.0840236097574234, 0.15145210921764374, -0.5164343118667603, -0.6724032759666443, -0.879707932472229, -0.05764854699373245, 0.31044802069664, 0.30623137950897217, 0.24500399827957153, 0.052575185894966125, -0.17288750410079956, 0.9827330112457275, -0.11709369719028473, 0.2499256134033203, -0.008453639224171638, 0.07433417439460754, 0.42564764618873596, 0.07782012969255447, 0.3029259145259857, -0.5547407269477844, -0.40128597617149353, -0.195027157664299, -0.41593098640441895, -0.5144731402397156, 0.2729001045227051, 0.2675064504146576, 0.03905331343412399, 1.2027554512023926, -0.41421255469322205, 0.2522173523902893, 0.10903529077768326, -0.5299928188323975, 0.4065975248813629, 0.058753643184900284, -0.3213692009449005, 0.5858603715896606, 0.46588364243507385, 0.3848801851272583, -0.2218308299779892, -0.2602003812789917, -0.6914329528808594, 0.23824602365493774, -0.07400726526975632, -0.3925275206565857, -0.4692690670490265, 0.25162044167518616, -0.34831058979034424, -0.4987717568874359, 0.40692436695098877, -0.6968234777450562, -0.3464229702949524, -0.14008721709251404, 0.27059462666511536, -0.10627911984920502, -0.36870402097702026, 0.06930062174797058, -0.7713772058486938, -0.16739757359027863, 0.1794436126947403, -0.6750379800796509, 0.49595779180526733, 0.501377522945404, 1.0663864612579346, -0.2115490436553955, -0.26687219738960266, 0.09819874167442322, -0.1617121547460556, -0.35412633419036865, 1.1635664701461792, -0.4908222258090973, -1.263002872467041, 0.13131673634052277, -0.10541124641895294, 0.268192321062088, -0.9398967027664185, 0.33199191093444824, -0.28783389925956726, 0.2813038229942322, 0.03593611717224121, -1.034480094909668, -0.34437960386276245, -0.12695449590682983, -0.31156986951828003, 1.2643792629241943, 0.6072531938552856, -1.130489706993103, 0.40950581431388855, -0.678272008895874, -0.16667605936527252, 0.3205031454563141, -0.4359892010688782, 0.4278307557106018, 0.4159843325614929, 0.0022694303188472986, 0.6168963313102722, 0.09636560827493668, 0.02495976909995079, -0.43009212613105774, 0.14918610453605652, 1.0167752504348755, -0.40233078598976135, 1.0982911586761475, 0.6042388081550598, 0.055458568036556244, 0.11177898943424225, -0.6997052431106567, -0.2297898381948471, 0.08819488435983658, 0.014911319129168987, -0.5101738572120667, 0.15591274201869965, 0.2755870521068573, 0.22246335446834564, 0.23064608871936798, -0.49702703952789307, 0.1296629160642624, -0.412759006023407, -0.001145735033787787, 0.3398059904575348, 0.5456790328025818, 0.6617281436920166, -0.4317455589771271, 0.20550252497196198, 0.8600070476531982, -0.15539926290512085, 0.2570747435092926, -0.4772791266441345, -1.2121604681015015, -0.42270419001579285, 0.4753166139125824, 0.6761544346809387, -0.9295501708984375, 1.2619709968566895, 0.14482969045639038, -0.6504369974136353, 0.2866085171699524, 0.07970356196165085, -0.10520123690366745, 0.13306564092636108, -0.03750837594270706, -0.7384946942329407, -0.1795823574066162, -0.5224359631538391, 0.3749949038028717, -0.24671563506126404, -0.2857634723186493, -0.14123068749904633, 0.4805740416049957, -0.26065778732299805, 0.9309754967689514, -0.9619405269622803, 0.12959428131580353, -0.5131934881210327, 0.9593478441238403, 0.061106570065021515, 0.6796389222145081, 0.6887778639793396, -0.32982131838798523, -0.08272573351860046, -0.275484174489975, -0.46400484442710876, -0.2043459713459015, 0.34781181812286377, 0.05455569177865982, 0.08075094223022461, 0.49114811420440674, -0.04531458392739296, 0.4764556884765625, 0.023895449936389923, -0.3382083475589752, 0.27604085206985474, -0.5859874486923218, 0.29552310705184937, -1.2377495765686035, -0.5100175142288208, 0.2088719755411148, -0.3495659828186035, -0.43907856941223145, 0.007469470612704754, -0.2549128532409668, -0.12578995525836945, -0.8506040573120117, 0.184913769364357, -0.45204466581344604, -0.3572084307670593, -0.7508195042610168, 0.14756134152412415, -0.45741480588912964, 0.1505662500858307, 0.206558495759964, 0.5014851093292236, 1.113410472869873, -0.7846623659133911, 0.7443596124649048, -0.15295575559139252, -0.47594764828681946, 0.8300299048423767, -0.11660224199295044, -0.1662035882472992, -0.5175734758377075, -0.03477896749973297, -0.972813069820404, -0.19971808791160583, 0.38461777567863464, 0.017790693789720535, 0.4160655438899994, 0.2727799415588379, -0.8404322862625122, -0.18906180560588837, -0.35471031069755554, 0.3616692125797272, 0.5023111701011658, -0.516625702381134, 0.2138538956642151, 0.7033935785293579, -0.11410234123468399, -0.11131173372268677, -0.6648886799812317, -0.15219034254550934, -0.48711785674095154, -0.1063702180981636, 0.5679864287376404, -0.027729477733373642, -0.5663105845451355, 0.09601332247257233, 0.2010401040315628, -0.49135246872901917, -0.1454612910747528, 0.20174573361873627, 0.045583274215459824, 0.23054131865501404, -0.027409791946411133, 0.36668336391448975, 0.047562748193740845, -0.25548073649406433, 0.28003931045532227, 0.5469331741333008, 0.4001446068286896, -0.4237746000289917, -0.30420246720314026, 0.8820217847824097, 0.45804062485694885, 0.23533357679843903, 0.505057692527771, 0.35712119936943054, -0.45244184136390686, -0.47375762462615967, -0.2700839340686798, -0.24542982876300812, -0.38288214802742004, 0.1288575381040573, -0.006215129978954792, -0.46585625410079956, 0.6580763459205627, -0.4436158537864685, -0.23967239260673523, 0.6188650131225586, 0.3203321695327759, -0.48390281200408936, 0.7447328567504883, 0.5257448554039001, -0.3797174096107483, 0.5926072597503662, -0.28355932235717773, 0.1162894070148468, -0.5903940200805664, -0.1482347548007965, -0.7426055669784546, -0.42247629165649414, -0.6685052514076233, -0.6889540553092957, 0.41077396273612976, 0.5302368402481079, 0.2966456413269043, -0.044615164399147034, -0.4991581439971924, 0.4533088803291321, 0.5472654700279236, 0.24242442846298218, 0.07687778770923615, -0.002626096596941352, -0.46461784839630127, -0.04464390128850937, -0.9209355711936951, -0.2828967273235321, 0.7641356587409973, 0.24926605820655823, 0.9049967527389526, 0.19571153819561005, 1.0174483060836792, 0.5063139200210571, 0.22313173115253448, -0.9210612773895264, 0.8078823685646057, -0.23570822179317474, -0.8253300786018372, 0.043098196387290955, -0.22652390599250793, -0.7120668888092041, 0.2625502645969391, -0.3681707978248596, -1.0607191324234009, 0.3803693950176239, -0.4668901264667511, -0.3847348988056183, 0.3883492350578308, -0.4956924021244049, 0.670151948928833, -0.22289282083511353, 0.615705132484436, -0.6243270635604858, -0.19296440482139587, 0.23711660504341125, -0.10654839128255844, 0.22257402539253235, -0.10458120703697205, -0.06001754477620125, 1.1960946321487427, -0.6878148317337036, 0.7180900573730469, -0.055569685995578766, 0.14485801756381989, 0.7213422060012817, 0.15847381949424744, 0.017330514267086983, 0.2565951347351074, 0.6142553091049194, 0.02991466596722603, 0.03548235446214676, -0.3343847393989563, -0.796160876750946, 0.9153205156326294, -0.4291963279247284, -0.3009839653968811, -0.9927904009819031, -0.3080780506134033, -0.23097550868988037, -0.2701515555381775, 0.4900912940502167, 0.8974436521530151, -0.25079888105392456, 0.007438924629241228, 0.4841356873512268, 0.1372315138578415, 0.9104447960853577, 0.07583874464035034, -0.5582951307296753, -0.4496058523654938, 0.7482847571372986, 0.47696396708488464, -0.17087382078170776, 0.32165777683258057, 0.4893285036087036, -0.7082321047782898, -0.7737099528312683, -0.054321061819791794, -0.13697147369384766, -0.8432618975639343, -0.012887298129498959, -0.20559188723564148, -0.4295315742492676, -0.5047340393066406, -0.2619336247444153, -0.5278372168540955, -0.7706227898597717, -0.6387736201286316, 0.18354550004005432, 0.4543073773384094, 0.9452841877937317, -0.3774562478065491, 0.9049979448318481, -0.9960652589797974, 0.24993468821048737, 0.4742111265659332, 0.15052136778831482, -0.1267058104276657, -0.8025643229484558, 0.004030995070934296, 0.07360164076089859, -0.28133147954940796, -1.4240583181381226, 0.3030329942703247, -0.18372054398059845, 0.9528322219848633, 0.724757730960846, 0.1027592122554779, 0.41493985056877136, -0.17811058461666107, 1.1945953369140625, 0.6874068975448608, -0.7832083702087402, 0.4262862205505371, -0.2092456966638565, -0.07747713476419449, 0.48447608947753906, 0.49097079038619995, -0.3887486755847931, -0.3286704421043396, -1.203526496887207, -0.7366961240768433, 0.1959848403930664, -0.060925133526325226, 0.03797942399978638, -0.46730008721351624, 0.17066925764083862, -0.08408033847808838, 0.3164304196834564, -0.20490175485610962, -0.6393383145332336, -0.24945390224456787, -0.3322409391403198, -0.10577617585659027, -0.6304508447647095, -0.15837760269641876, -0.6630755662918091, 0.5746294856071472, 0.3614955544471741, 0.18306897580623627, 0.1801256388425827, -0.21580831706523895, 0.23067395389080048, 0.2476947009563446, 0.3926541209220886, 0.6120961308479309, -0.44012439250946045, 0.58213210105896, 0.18252885341644287, -0.26248759031295776, 0.4605652391910553, -0.1600954681634903, 0.11876479536294937, 0.27524399757385254, 0.08552920818328857, 0.23188947141170502, 0.5973936319351196, -0.35787078738212585, 0.6154082417488098, 0.24939748644828796, -0.07772421091794968, -0.29186490178108215, 0.23926624655723572, -0.1937788873910904, 0.5329599976539612, 0.22436261177062988, -0.00716058723628521, 0.6538858413696289, -0.8475058078765869, 0.4984753429889679, 0.014446523040533066, -0.29591697454452515, -0.1522764265537262, -0.011709203012287617, 0.2516852617263794, -0.13224682211875916, 0.3000409007072449, -0.7824031114578247, -0.596801221370697, -0.2655807435512543, 0.5694774389266968, 0.9538983106613159, -0.6326362490653992, 0.2851901650428772, 0.10526403039693832, -0.43051978945732117, -0.48399683833122253, 0.5618084073066711, 0.0019554297905415297, -1.04783034324646, -0.12104450166225433, -0.5951056480407715, -0.4006603956222534, 0.015560849569737911, -0.3688596487045288, 0.09096888452768326, -0.67485111951828, -0.3375976085662842, 0.2826436460018158, -0.27217453718185425, -0.1314312368631363, 0.2525535821914673, 0.027128294110298157, 0.7506592869758606, -1.0316423177719116, 0.858940064907074, 1.11592698097229, -0.12790343165397644, -0.3581215441226959, 0.0022332642693072557, -0.014824925921857357, -0.21142667531967163, 0.36553165316581726, -0.39611876010894775, -0.01210014522075653, -0.32305440306663513, -0.3313140571117401, -0.5789431929588318, 0.6454585194587708, -0.24334028363227844, -0.08524952828884125, 0.6815651655197144, -0.02142069675028324, 0.06173776462674141, -0.2158241719007492, 0.016411399468779564, 0.4842948019504547, -0.05117705091834068, 0.47788870334625244, -0.6717241406440735, -0.4151816964149475, 0.0252417903393507, 0.3408796191215515, 0.023761993274092674, -0.15266935527324677, 0.8310680985450745, 0.19887802004814148, -0.3673691153526306, -0.37624332308769226, 1.273770809173584, -0.09398605674505234, 0.08094555884599686, 0.8410889506340027, 0.9844643473625183, 0.8048787713050842, 0.031169315800070763, 0.5983067154884338, -0.09596776217222214, 0.6594943404197693, 0.7876378297805786, -0.09685421735048294, 0.8915033340454102, 0.6400792598724365, -0.8156555891036987, 0.41562339663505554, 0.820871114730835, 0.570353627204895, 0.7119541764259338, 0.1567898690700531, -1.1015182733535767, -0.06842254102230072, -0.41863319277763367, -0.2535916566848755, 0.8632888793945312, 0.4207538068294525, -0.15765081346035004, -0.5873212218284607, -0.016874399036169052, -0.07896006852388382, 0.2716459631919861, -0.4721466898918152, 0.8069046139717102, 0.08897113054990768, -0.2708263695240021, 0.10330892354249954, 0.43598175048828125, 1.0111737251281738, 0.024513045325875282, 0.18291939795017242, 0.09072645753622055, -0.08215360343456268, -0.07875216007232666, -1.277531623840332, 0.3717043995857239, -0.22716978192329407, -0.07457683235406876, 0.2933655083179474, 0.742295503616333, -0.4261975884437561, -0.8416268229484558, -0.09745291620492935, 0.5733810663223267, 0.3414980471134186, -0.060569360852241516, -0.5046152472496033, -0.4215543866157532, -0.27827537059783936, -0.03715933859348297, 0.43337056040763855, 0.6317207217216492, 0.11123624444007874, 0.3933742940425873, 0.2849290370941162, 0.046921201050281525, 0.1072494387626648, 0.38883572816848755, 0.6806740760803223, -1.062669038772583, -0.9437170028686523, -0.6793696880340576, 0.45724114775657654, -0.2003902643918991, -0.30005761981010437, 0.6689153909683228, 0.3200353980064392, 0.6394367814064026, -0.10241599380970001, 0.7516268491744995, 0.05928408354520798, 0.4865434467792511, -0.2791195809841156, 0.3603964149951935, -0.6299397945404053, -0.19378362596035004, -0.17850525677204132, -0.8192152380943298, -0.3223777115345001, 0.7371856570243835, 0.370155930519104, 0.1547466516494751, 0.9487069845199585, 0.45682594180107117, -0.12800516188144684, 0.16489270329475403, 0.32088130712509155, -0.40048709511756897, -0.15091493725776672, -0.3360144793987274, 1.0427812337875366, 0.22379674017429352, -0.6323978900909424, -0.9994484782218933, -0.5962532162666321, -0.3985205292701721, -0.9467452764511108, -0.7260701656341553, -0.8791998028755188, -0.6942114233970642, -0.22041437029838562, -0.6612729430198669, 1.0739854574203491, 0.4240131378173828, -0.7260804772377014, -0.5041802525520325, -0.12090414762496948, 0.2731631100177765, -0.059709787368774414, -0.2540425956249237, 0.029849465936422348, -0.29029643535614014, -0.604657769203186, 0.33209770917892456, 0.39882519841194153, 0.7363572716712952, -0.44080325961112976, 0.2323528230190277, -0.16222430765628815, 0.2935132086277008, 0.48903465270996094, -0.14059466123580933, -0.43357139825820923, -0.34870296716690063, -0.5792734622955322, 0.09862647950649261, 0.14797602593898773, 0.8591433763504028, -0.16470561921596527, 0.4119407534599304, 0.7837074398994446, 0.1338537484407425, 0.23661985993385315, -0.29075852036476135, -0.037074241787195206, -1.1812719106674194, 0.7146883010864258, 0.26567548513412476, 1.0152451992034912, 0.36251550912857056, -0.06357915699481964, -0.014236902818083763, 0.8058224320411682, -0.3850667178630829, -0.5702160596847534, 0.11236110329627991, -1.651448369026184, -0.5655165910720825, 1.013797640800476, 0.4347570538520813, -0.502575159072876, -0.10105406492948532, -0.3394434154033661, 0.6297109723091125, -0.3261776268482208, 0.3789917528629303, 0.6478794813156128, -0.2648155987262726, 0.029637325555086136, -0.009740951471030712, -0.09153041988611221, 0.08883374184370041, -0.7130962014198303, -0.22967880964279175, 0.453156441450119, 0.0902884379029274, 0.397760808467865, 0.6071022748947144, -0.417181134223938, -0.3116965591907501, 0.30448123812675476, 0.2390681803226471, 0.5224538445472717, -0.5641528367996216, -0.21307171881198883, 0.11550499498844147, 0.5521119236946106, -0.3730679750442505 ]
http://arxiv.org/abs/2405.17104v2
http://arxiv.org/pdf/2405.17104v2
LLM-Optic: Unveiling the Capabilities of Large Language Models for Universal Visual Grounding
2024-05-27T12:23:08
2024-05-28T02:17:56
Haoyu Zhao, Wenhang Ge, Ying-cong Chen
cs.CV
cs.CV, cs.AI, cs.CL
Visual grounding is an essential tool that links user-provided text queries with query-specific regions within an image. Despite advancements in visual grounding models, their ability to comprehend complex queries remains limited. To overcome this limitation, we introduce LLM-Optic, an innovative method that utilizes Large Language Models (LLMs) as an optical lens to enhance existing visual grounding models in comprehending complex text queries involving intricate text structures, multiple objects, or object spatial relationships, situations that current models struggle with. LLM-Optic first employs an LLM as a Text Grounder to interpret complex text queries and accurately identify objects the user intends to locate. Then a pre-trained visual grounding model is used to generate candidate bounding boxes given the refined query by the Text Grounder. After that, LLM-Optic annotates the candidate bounding boxes with numerical marks to establish a connection between text and specific image regions, thereby linking two distinct modalities. Finally, it employs a Large Multimodal Model (LMM) as a Visual Grounder to select the marked candidate objects that best correspond to the original text query. Through LLM-Optic, we have achieved universal visual grounding, which allows for the detection of arbitrary objects specified by arbitrary human language input. Importantly, our method achieves this enhancement without requiring additional training or fine-tuning. Extensive experiments across various challenging benchmarks demonstrate that LLM-Optic achieves state-of-the-art zero-shot visual grounding capabilities. Project Page: https://haoyu-zhao.github.io/LLM-Optic.github.io/.
[ -0.4215505123138428, -0.9923785328865051, 0.9453224539756775, 0.2577335238456726, -0.45472481846809387, -0.2021862268447876, -0.11155209690332413, -0.5890930891036987, -0.2458087056875229, 0.7459782361984253, -0.4262247383594513, -0.9685872793197632, -0.5730145573616028, 0.034307051450014114, -0.5321714282035828, 0.5303069949150085, 0.089691162109375, 0.23671235144138336, -0.15388408303260803, -0.211011603474617, -0.5504666566848755, -0.5487877726554871, -0.3023022711277008, -0.35824188590049744, 0.3058999478816986, 0.4732695519924164, 0.6575980186462402, 0.5363574028015137, 0.8997229337692261, 0.23195700347423553, -0.24194718897342682, 0.36956045031547546, -0.5754210948944092, 0.00888027437031269, -0.24029195308685303, -0.6295732259750366, -0.4696691632270813, -0.09276133030653, 0.6008968949317932, 0.6468430161476135, 0.09917023032903671, -0.2027982473373413, -0.15357321500778198, 0.7005501389503479, -0.7575331330299377, -0.12159185111522675, -0.8677233457565308, 0.32318440079689026, -0.021162040531635284, -0.6168702840805054, -0.453696608543396, 0.25172293186187744, -0.0010610444005578756, -0.8571743369102478, 0.1767210066318512, 0.2980599105358124, 0.9375195503234863, 0.3322000205516815, -0.48176583647727966, 0.09518104046583176, -0.6056339144706726, 0.5249683856964111, -0.4244319498538971, 0.5973768830299377, 0.11673647165298462, 0.4342707097530365, -0.012905021198093891, -0.2496250867843628, -0.45235317945480347, -0.24266159534454346, 0.23126690089702606, 0.3852362334728241, 0.10007292032241821, 0.2923092842102051, 0.22648809850215912, 0.2411045879125595, -0.4600014090538025, -0.031840600073337555, -0.18437351286411285, 0.28475940227508545, 0.26370105147361755, 0.14800631999969482, 0.5962663292884827, -0.07800468057394028, -0.447631299495697, 0.21746012568473816, -0.9357839226722717, -0.30915674567222595, -0.21646177768707275, 0.05508261173963547, 0.06934675574302673, 1.018196702003479, -0.6382296085357666, 0.9510380625724792, 0.1275613009929657, -0.0886857658624649, -0.1056840717792511, -0.0948745533823967, -0.3671087622642517, 0.021999036893248558, 0.6236829161643982, 0.9499506950378418, 0.400197833776474, -0.3884328305721283, -0.17061497271060944, 0.146384134888649, 0.0023922116961330175, -0.702995240688324, 0.07726740837097168, 0.037412263453006744, -0.2644365131855011, -0.5257279872894287, 0.06897194683551788, -0.7514001727104187, -0.6720845699310303, -0.3849804401397705, 0.44470828771591187, -0.2051367163658142, -0.014242347329854965, 0.5291104912757874, -0.1837933361530304, 0.5468723773956299, 0.5361034870147705, -0.8200728893280029, 0.0779980793595314, 0.5863937735557556, 0.787630021572113, -0.13103115558624268, -0.4353318214416504, -0.48453935980796814, 0.4861568510532379, -0.6409941911697388, 0.9843141436576843, -0.6801177859306335, -0.13925866782665253, 0.06903903186321259, 0.08036181330680847, 0.47746050357818604, -0.556372344493866, 0.48911115527153015, -0.6408789753913879, 0.047353386878967285, -0.07480727881193161, -0.2617294490337372, -0.22094503045082092, 0.6204876899719238, -0.1917746365070343, 0.895550549030304, -0.2896660268306732, -0.5463051795959473, 0.5440683364868164, -0.3037591576576233, -0.05555204674601555, 0.17902909219264984, -0.49065205454826355, -0.18806488811969757, 0.34716618061065674, 0.4379675090312958, 0.5737963914871216, -0.5431176424026489, 0.3847464323043823, -0.5057932138442993, -0.5491170883178711, -0.27325305342674255, -0.378277450799942, 0.41153156757354736, -0.23027881979942322, -0.5474945306777954, 0.18354788422584534, -0.9451467394828796, -0.19961227476596832, 0.33972465991973877, -0.28357312083244324, -0.26502755284309387, 0.31715211272239685, 0.06725320219993591, 0.1406516283750534, 0.18495625257492065, -0.5038738250732422, 0.2591761350631714, -0.580281138420105, 0.1806800365447998, 0.5160233974456787, -0.2658224105834961, 0.825585663318634, 0.279379278421402, 0.2651611268520355, -0.004490345250815153, 0.0388907864689827, -0.5819666981697083, -0.5326606631278992, -0.9364914298057556, -0.028284326195716858, -0.2754659950733185, 1.0304746627807617, -0.5890335440635681, 0.3584502935409546, -0.31791359186172485, -0.3897503912448883, -0.02509498782455921, 0.21629928052425385, 0.31046897172927856, 0.6256083846092224, 0.35670006275177, 0.1613042950630188, -0.4750235080718994, -0.8428003191947937, 0.0013174049090594053, 0.10394102334976196, -0.18339918553829193, 0.5048787593841553, 0.3774701952934265, -0.29622337222099304, 0.9324585199356079, -0.6236667633056641, -0.6861872673034668, -0.025637080892920494, -0.18849238753318787, 0.2565157115459442, 0.2309475541114807, 0.5235987901687622, -0.9453309774398804, -0.45085468888282776, 0.3368513882160187, -1.480461835861206, -0.34178972244262695, 0.04949666187167168, -0.3244347870349884, -0.024623408913612366, 0.7754026055335999, -0.7419372797012329, 0.5624096989631653, 0.5446229577064514, -0.6254421472549438, 0.4629329741001129, -0.22134365141391754, 0.23108498752117157, -0.8067010045051575, -0.1726575642824173, -0.015505775809288025, -0.3958401381969452, -0.5016344785690308, 0.480895459651947, 0.04923846200108528, -0.604028582572937, -0.4802401065826416, 0.5339210033416748, -0.7644252181053162, -0.14349143207073212, -0.34632164239883423, 0.4937804341316223, 0.25300025939941406, 0.22671808302402496, 0.1532440483570099, 0.8530151844024658, 0.9351140856742859, -0.37103962898254395, 0.463252454996109, 0.27341270446777344, -0.17354945838451385, 0.7584511637687683, -0.8961503505706787, -0.12634535133838654, -0.26708388328552246, 0.11426755040884018, -1.135159969329834, -0.1206248551607132, 0.21713125705718994, -0.33602580428123474, -0.055202800780534744, -0.38622793555259705, -0.5105770230293274, -0.033381834626197815, -0.18531209230422974, 0.45824968814849854, 0.3860141336917877, -0.6851866245269775, 0.8676592707633972, 0.24098369479179382, 0.14481554925441742, -0.4246840476989746, -0.7623512744903564, 0.6406661868095398, -0.20733851194381714, -1.0557373762130737, 0.3380683362483978, -0.09885584563016891, -0.2712821662425995, -0.19999757409095764, -0.0752444639801979, -0.16334912180900574, 0.051530659198760986, 0.2068563997745514, 0.3831785321235657, -0.3946550786495209, -0.06351453810930252, -0.23585720360279083, -0.48708072304725647, -0.13217635452747345, -0.42903825640678406, 0.48176810145378113, -0.0880599394440651, -0.5181877017021179, -0.2359652817249298, 0.4255892038345337, 0.6882688999176025, -0.4276512861251831, 0.5666408538818359, 0.4116404354572296, -0.45226752758026123, -0.11983755230903625, -0.8391522765159607, -0.023538030683994293, -0.5112369060516357, 0.4458315372467041, -0.40971457958221436, -0.7954188585281372, 0.23322711884975433, -0.18891245126724243, -0.30183306336402893, 0.11699774861335754, 0.32571086287498474, -0.02947448194026947, 1.4455320835113525, 0.9735277891159058, 0.06755160540342331, 0.45136433839797974, -0.20481343567371368, 0.15103408694267273, -0.7847955226898193, -0.297163188457489, -0.025483837351202965, 0.012485183775424957, 0.049001093953847885, -0.5635625720024109, 0.45379751920700073, 0.6585996150970459, -0.03395172953605652, -0.2123705893754959, -0.6626898050308228, 0.961558997631073, 0.34589001536369324, 0.21881544589996338, 0.4961094260215759, 0.42654991149902344, -0.14664310216903687, -0.08597177267074585, -0.42215126752853394, -0.49547770619392395, 1.0265337228775024, 0.12536196410655975, 0.8689311146736145, -0.18526053428649902, 0.22456775605678558, 0.03994913399219513, 0.1344406008720398, -0.8491162061691284, 0.7293569445610046, -0.3169730603694916, -0.5167341828346252, -0.1402241438627243, -0.16532248258590698, -0.4906386435031891, 0.6529681086540222, -0.633126974105835, -0.6494574546813965, 0.06554364413022995, 0.1856144666671753, -0.027940163388848305, 0.5352560877799988, -0.5051110982894897, 0.7676229476928711, -0.4965377748012543, -0.5829984545707703, 0.09036901593208313, -0.3722836971282959, 0.2309250831604004, 0.09114716202020645, 0.05774063989520073, -0.3040075898170471, -0.2811935544013977, 0.26151636242866516, 0.02741856873035431, 0.7673951983451843, -0.09888242930173874, -0.3783501088619232, -0.004698861390352249, 0.15515819191932678, 0.3871498703956604, 0.22145216166973114, 0.0686178132891655, 0.43804633617401123, -0.6196115612983704, -0.24946430325508118, -0.47725731134414673, 0.5561285018920898, -0.36872586607933044, -0.734896183013916, -0.3201889097690582, -0.4893141984939575, -0.19250698387622833, 0.7016626000404358, 0.35397931933403015, 0.4939509332180023, -0.14785563945770264, 0.4794131815433502, 0.8892415761947632, -0.3224616050720215, 0.1327378749847412, 0.6903039813041687, -0.6173683404922485, -0.5020360946655273, 0.7479909062385559, -0.1349087655544281, 0.04745885357260704, 0.7432228922843933, -0.0011262405896559358, -0.05176064744591713, -0.8751882314682007, -0.5222012400627136, 0.2486395239830017, -0.7314286231994629, -0.2735099494457245, -0.5486727356910706, 0.03895939514040947, -0.20667460560798645, -0.7359484434127808, -0.16534695029258728, 0.058912213891744614, -0.33330005407333374, -0.28837424516677856, 0.0943881943821907, 0.5968955159187317, 0.15022723376750946, 0.49499279260635376, -0.5581478476524353, 0.8920760154724121, 0.36006784439086914, 0.5134887099266052, -0.41989296674728394, -0.26696082949638367, 0.14212098717689514, 0.04982741177082062, -0.1869240403175354, -0.8229288458824158, 0.3964971899986267, 0.2808084785938263, 0.2971159517765045, 0.5553694367408752, -0.3614690899848938, 0.7544476389884949, -1.0812464952468872, 0.7395190596580505, 0.4117768704891205, -0.8602501749992371, 0.8245265483856201, -0.7456996440887451, 0.2500668168067932, 0.3121069371700287, -0.054214563220739365, -0.4366016685962677, -0.3279370963573456, 0.1614762395620346, -1.0723215341567993, 0.5733471512794495, -0.0025396926794201136, 0.006261119619011879, 0.006334239151328802, 0.4929167926311493, -0.39237719774246216, -0.085083968937397, -0.940948486328125, -0.15437327325344086, -0.007453678175806999, -0.13439378142356873, -0.2848372161388397, -0.6107377409934998, -0.26793724298477173, -0.11506209522485733, 0.2412126064300537, -0.21392187476158142, 0.09734633564949036, 0.5522052049636841, -0.35853689908981323, -0.06846652179956436, 0.021064968779683113, 0.5965840220451355, 0.7790801525115967, -0.3986746370792389, 0.15879201889038086, 0.29005083441734314, -0.22105088829994202, 0.17706073820590973, -0.02726140432059765, -0.5604060292243958, 0.028315911069512367, 0.2422117441892624, 0.6548727750778198, 0.3772401213645935, -0.8252558708190918, 0.7152274250984192, 0.09456883370876312, -0.3416963517665863, -0.3960039019584656, -0.19401803612709045, -0.07022038847208023, 0.28294384479522705, 0.6497058272361755, 0.0201891977339983, 0.29269298911094666, -0.2950102388858795, 0.27330300211906433, 0.5737849473953247, -0.4686785042285919, -0.07186166942119598, 1.1332309246063232, 0.2740689516067505, -0.1581205129623413, 0.21870091557502747, 0.14650660753250122, -0.5716596841812134, 0.5315185189247131, 0.7718188762664795, 0.6810327172279358, 0.16802814602851868, 0.14995154738426208, 0.04803967475891113, 0.4095724821090698, -0.2083340436220169, 0.20511458814144135, 0.09989870339632034, -0.7512272596359253, -0.3407619893550873, -0.43419668078422546, -0.2852667272090912, -0.25477689504623413, -0.24137426912784576, 0.5281217098236084, -0.5837988257408142, 0.2048548012971878, -0.23773092031478882, -0.3663122355937958, -0.45765450596809387, 0.5035987496376038, 0.4915020763874054, 0.95285964012146, -0.652672290802002, 0.3843573033809662, 0.8426908254623413, -0.2974393963813782, -0.2081643044948578, -0.24868540465831757, 0.18521277606487274, -1.1687307357788086, 0.93802410364151, 0.39152130484580994, -0.48035624623298645, 0.08983396738767624, -0.8247159719467163, -0.6842806339263916, 1.2046102285385132, 0.48227694630622864, -0.46667662262916565, -0.19814802706241608, 0.38087064027786255, 0.27027150988578796, -0.3918714225292206, 0.23711055517196655, 0.09330254048109055, 0.3571220934391022, 0.04649883136153221, -0.48766669631004333, -0.05349752679467201, -0.1457197517156601, -0.012582401745021343, 0.16663740575313568, -0.5425108075141907, 0.6038448214530945, -0.02034757472574711, -0.18947109580039978, 0.03834023326635361, 0.36631542444229126, 0.3953888714313507, 0.4059148132801056, 0.33722394704818726, 0.9783817529678345, 0.39655163884162903, -0.2673651874065399, 0.9228717088699341, -0.49742695689201355, 0.3092592656612396, 0.7999764084815979, -0.40557536482810974, 0.9450809359550476, 0.36098042130470276, 0.32201993465423584, -0.007260702550411224, 0.08362969756126404, -0.15753985941410065, 0.4828108847141266, -0.07294471561908722, -0.2804444432258606, -0.5398960709571838, -0.19239003956317902, -0.452457457780838, 0.41322705149650574, 0.2034519612789154, -0.1449873298406601, -0.4121305048465729, 0.10504036396741867, -0.19493895769119263, 0.09820874780416489, -0.4694133698940277, 0.7385009527206421, 0.07065005600452423, -0.1912258416414261, 0.6458568572998047, 0.013574863784015179, 1.079554557800293, -0.653588593006134, -0.25632140040397644, -0.23530831933021545, 0.23364827036857605, -0.24028804898262024, -0.8197498917579651, -0.0004287240153644234, 0.05644060671329498, -0.32483264803886414, -0.2608204185962677, 0.9248372316360474, -0.4313128590583801, -0.7428326606750488, 0.6779152750968933, 0.20110072195529938, 0.008810901083052158, -0.5401394963264465, -0.45313122868537903, 0.1281777024269104, -0.09436725080013275, -0.03887733817100525, 0.07951458543539047, 0.8338712453842163, 0.2789129614830017, 0.9089564681053162, 0.8024631142616272, 0.15154080092906952, 0.18875537812709808, 0.05298592522740364, 0.6970687508583069, -0.9416523575782776, -0.23700964450836182, -0.9028438925743103, 0.6015751361846924, -0.09340189397335052, -0.24869897961616516, 0.7793727517127991, 0.5995223522186279, 0.6164513826370239, -0.18094059824943542, 0.37292295694351196, 0.38448354601860046, 0.05339041352272034, -0.8012809753417969, 0.7276931405067444, -1.027753233909607, 0.24210225045681, -0.227882981300354, -1.2709026336669922, -0.9073486328125, 0.6982475519180298, -0.2160482108592987, -0.32350853085517883, 0.5068491101264954, 0.761456310749054, -0.4146343171596527, -0.6369783282279968, 0.8874391913414001, 0.27016350626945496, 0.4671478569507599, 0.4182451665401459, 0.8708040118217468, -0.4682028293609619, 0.8045335412025452, -0.042110808193683624, -0.4167450964450836, -0.19133040308952332, -0.9775810241699219, -1.0842275619506836, 0.07063741981983185, 0.09515790641307831, 0.05108674243092537, 0.215379998087883, 0.3569106161594391, 1.0361807346343994, -0.6189569234848022, -0.15867747366428375, -0.5315232276916504, -0.023349519819021225, 0.4500141143798828, -0.2243715524673462, 0.014419098384678364, -0.21332621574401855, -0.5790531039237976, 0.5567652583122253, 0.771723210811615, 0.08407551795244217, -0.10316728800535202, 0.08450213074684143, -0.1880221962928772, -0.06940469890832901, 0.9781445860862732, 0.0916709452867508, -0.9263694286346436, -0.1477086991071701, 0.23001286387443542, -0.0099166389554739, 0.24761240184307098, 0.46048033237457275, -0.6906306147575378, 0.3918500542640686, 0.3842228949069977, 0.6549195647239685, 0.25278085470199585, 0.1567874252796173, 0.6355152130126953, -0.5551629662513733, 0.5876590609550476, 0.029878204688429832, 0.6076533794403076, 0.3678022027015686, -0.426896333694458, 0.6979222297668457, 0.3215309679508209, -0.5810428261756897, -0.7449105381965637, 0.31999218463897705, -1.1660122871398926, -0.29145780205726624, 1.1823742389678955, 0.19025862216949463, -0.18678437173366547, 0.15748324990272522, -0.802509605884552, -0.23827335238456726, -0.19054050743579865, 0.5912424921989441, 0.5661460161209106, 0.3309454023838043, -0.46223753690719604, -0.5632284879684448, 0.017834758386015892, 0.5660058259963989, -0.7435795664787292, -0.044575922191143036, 0.7649524211883545, 0.25100940465927124, 0.18708957731723785, 0.5808661580085754, -0.07818376272916794, 0.26675090193748474, -0.03752060607075691, 0.1464950144290924, -0.1074926033616066, -0.6352051496505737, -0.3724628984928131, 0.34633344411849976, -0.087591752409935, -0.041205596178770065 ]
http://arxiv.org/abs/2405.17103v2
http://arxiv.org/pdf/2405.17103v2
Empowering Character-level Text Infilling by Eliminating Sub-Tokens
2024-05-27T12:21:48
2024-06-14T09:26:41
Houxing Ren, Mingjie Zhan, Zhongyuan Wu, Hongsheng Li
cs.CL
cs.CL, cs.AI
In infilling tasks, sub-tokens, representing instances where a complete token is segmented into two parts, often emerge at the boundaries of prefixes, middles, and suffixes. Traditional methods focused on training models at the token level, leading to sub-optimal performance in character-level infilling tasks during the inference stage. Alternately, some approaches considered character-level infilling, but they relied on predicting sub-tokens in inference, yet this strategy diminished ability in character-level infilling tasks due to the large perplexity of the model on sub-tokens. In this paper, we introduce FIM-SE, which stands for Fill-In-the-Middle with both Starting and Ending character constraints. The proposed method addresses character-level infilling tasks by utilizing a line-level format to avoid predicting any sub-token in inference. In addition, we incorporate two special tokens to signify the rest of the incomplete lines, thereby enhancing generation guidance. Extensive experiments demonstrate that our proposed approach surpasses previous methods, offering a significant advantage. Code is available at https://github.com/SenseLLM/FIM-SE.
[ -0.47095832228660583, -0.8280433416366577, 0.5439110398292542, 0.06930606812238693, -0.46748074889183044, 0.2863789498806, 0.11440865695476532, -0.21505852043628693, 0.14225593209266663, 0.6279750466346741, -0.9792437553405762, -0.31206783652305603, -0.35619184374809265, 0.40458303689956665, -0.14846864342689514, 1.0353970527648926, 0.012827764265239239, -0.05464760586619377, -0.718773603439331, 0.22777627408504486, -0.6859567761421204, -0.7599571347236633, -0.9142627120018005, -0.5426777601242065, 0.5517245531082153, 1.0353062152862549, 0.4732345640659332, 0.6985309720039368, 0.4285646378993988, 0.23178383708000183, -0.3836917579174042, 0.6229851245880127, -0.5495733618736267, 0.3970526158809662, -0.06792664527893066, -0.46364182233810425, -0.2580488622188568, -0.03487108647823334, 0.5065637826919556, 0.7695562839508057, 0.2815825343132019, -0.1562558114528656, -0.029043741524219513, 0.6308243870735168, -0.4419696629047394, -0.17632830142974854, -0.5307526588439941, 0.006151460576802492, -0.5246681571006775, -0.3695269823074341, -0.4619640111923218, 0.0029738275334239006, -0.008002085611224174, -0.6800476312637329, 0.3618105351924896, 0.45773136615753174, 1.0611348152160645, 0.2785835862159729, -0.3015363812446594, -0.24984827637672424, -0.5016624927520752, 0.5242710113525391, -0.7749196887016296, 0.16979888081550598, 0.647213876247406, -0.0827823355793953, -0.4318845272064209, -0.5086024403572083, -0.6809326410293579, 0.18780480325222015, -0.24731123447418213, 0.16924266517162323, 0.04684912785887718, 0.44187504053115845, 0.5464993119239807, 0.264487624168396, -0.2646939754486084, 0.06927153468132019, -0.28009048104286194, -0.0540325827896595, 0.4153535068035126, 0.06806430965662003, 0.6013181209564209, -0.08675140887498856, -0.6465469598770142, 0.13499484956264496, -0.9159117341041565, -0.014418557286262512, 0.5800377130508423, 0.3158738911151886, 0.16535325348377228, 0.7831043601036072, -0.023943111300468445, 0.15098917484283447, 0.2915192246437073, -0.14087752997875214, 0.10410784184932709, -0.3482511341571808, -0.39396393299102783, -0.06559086591005325, 0.3888446092605591, 0.269679993391037, 0.4084729552268982, -0.15036088228225708, -0.3179059326648712, -0.27224647998809814, -0.04469351842999458, -0.9161818027496338, 0.24417328834533691, 0.07502061873674393, -0.39598384499549866, 0.1441257745027542, 0.04552091285586357, -0.6855932474136353, -0.777367353439331, -0.17227007448673248, 0.39831051230430603, -0.795081615447998, -0.01274962816387415, -0.01736808754503727, -0.5546725392341614, 0.11200165748596191, 0.2568664252758026, -0.982012152671814, 0.15345317125320435, 0.6181479692459106, 0.7834761738777161, 0.21910952031612396, -0.08146331459283829, -0.894874632358551, 0.3276366889476776, -0.19616399705410004, 0.6992491483688354, -0.7836179137229919, -0.5650694966316223, -0.24079176783561707, -0.09153975546360016, -0.09352778643369675, -0.35279491543769836, 0.6464488506317139, -0.16942869126796722, 0.3266342580318451, -0.2124205231666565, -0.9623512625694275, -0.11050732433795929, -0.11717631667852402, -0.5450776815414429, 1.1551766395568848, 0.23552103340625763, -0.6471746563911438, 0.5141386389732361, -0.39264100790023804, -0.49125009775161743, 0.17546959221363068, -0.17227371037006378, -0.4482189118862152, 0.27475425601005554, 0.5091807246208191, 0.48479583859443665, -0.33690592646598816, -0.0420614629983902, -0.15747413039207458, -0.5478137731552124, -0.014726227149367332, -0.1140897274017334, 0.43941575288772583, 0.20868869125843048, -0.03887652978301048, 0.026402616873383522, -0.4864344298839569, -0.2832217514514923, -0.21415726840496063, 0.04235144704580307, -0.5404012799263, -0.02845042012631893, -0.09812235832214355, 0.1184924766421318, 0.06957544386386871, -0.7988816499710083, 0.13233068585395813, -0.5988714098930359, 0.44785913825035095, 0.5497565865516663, 0.26690202951431274, 0.6273639798164368, -0.5726362466812134, 0.8056291937828064, 0.05759876221418381, -0.11459693312644958, -0.8519209623336792, -0.4226177930831909, -0.9757848381996155, -0.7288260459899902, 0.46051326394081116, 0.4268881678581238, -0.895759642124176, 0.4841046929359436, 0.036793600767850876, -0.6055833101272583, -0.13631856441497803, -0.08747337013483047, 0.4807298183441162, 0.6070426106452942, 0.3950902223587036, 0.028976621106266975, -0.5196920037269592, -0.6637058258056641, -0.4826987087726593, -0.14626747369766235, 0.0571487620472908, 0.014480208978056908, 0.3113587498664856, -0.0032291340176016092, 1.1511584520339966, -0.2730812728404999, -0.3834046721458435, -0.4990439713001251, 0.07540218532085419, -0.04510389268398285, 0.9536987543106079, 0.3257245421409607, -0.7462323307991028, -0.7002173066139221, -0.05825817212462425, -0.2865442633628845, -0.5144025683403015, -0.7008441686630249, -0.3466537296772003, 0.028814734891057014, 1.0495542287826538, -0.3314438462257385, 0.7073822617530823, -0.06859461963176727, -0.9325208067893982, -0.05935100466012955, -0.26550254225730896, -0.00145663321018219, -1.0446274280548096, -0.05199006199836731, -0.006089486181735992, -0.36157068610191345, -0.7550873160362244, 0.005974884610623121, 0.13405846059322357, -0.1863502562046051, -0.09224088490009308, 0.828045129776001, -0.6432057619094849, 0.368564248085022, -0.09573376178741455, -0.11476388573646545, 0.3796980679035187, 0.6498396396636963, -0.14983990788459778, 0.6586291790008545, -0.002494731219485402, 0.00020676443818956614, -0.3867835998535156, 0.3292558491230011, -0.009586133062839508, 0.4080617427825928, -0.5234429240226746, 0.17853416502475739, -0.4828369617462158, 0.049564212560653687, -1.2631577253341675, -0.13808567821979523, 0.19380781054496765, -0.4051803648471832, 0.5884737372398376, -0.37594735622406006, -0.571982204914093, 0.026891348883509636, -0.0781429186463356, 0.6048906445503235, 0.5319815278053284, -0.3030073940753937, 0.6603823304176331, 0.2824113667011261, -0.4437742829322815, -0.1379748284816742, -0.7988343238830566, 0.11244519054889679, -0.5358186364173889, -0.712275505065918, 0.6251675486564636, -0.11139695346355438, 0.15154339373111725, -0.2812833786010742, -0.26409590244293213, -0.2203182727098465, 0.09471011161804199, 0.3071053624153137, 0.26433756947517395, 0.0047478810884058475, 0.05793808028101921, 0.6435624361038208, -0.24241752922534943, -0.3594633936882019, 0.04291069880127907, 0.43814364075660706, 0.31689387559890747, -0.4462517499923706, -0.4100227653980255, 0.8747096657752991, 0.7090606093406677, -0.3655712306499481, 0.5024879574775696, 0.20614472031593323, -0.6711682677268982, -0.2474442422389984, -0.6051132678985596, -0.009409288875758648, -0.43505892157554626, 0.17809581756591797, -0.5571392178535461, -1.0393407344818115, 0.5905089974403381, -0.13340026140213013, 0.12901318073272705, 0.46309420466423035, 0.07544805854558945, -0.1759169101715088, 1.1242973804473877, 0.8180035352706909, 0.5431790947914124, 0.8399287462234497, -0.021146077662706375, 0.318540096282959, -0.6256842613220215, -0.4617890417575836, -0.701934814453125, -0.2494450807571411, -0.14308734238147736, -0.4493141174316406, 0.3194648027420044, 0.7249976992607117, -0.19830365478992462, 0.33170798420906067, -0.21662817895412445, 0.8319175839424133, 0.45573729276657104, 0.14983433485031128, 0.1425546258687973, 0.25140127539634705, -0.4743151366710663, -0.24966838955879211, -0.8481944799423218, -0.44048091769218445, 0.6051294803619385, 0.5426011681556702, 0.5835187435150146, -0.10096091777086258, 0.8344233632087708, 0.3133015036582947, -0.037664301693439484, -0.6463160514831543, 0.3098243176937103, -0.4336758852005005, -0.28654101490974426, -0.48240137100219727, -0.265607625246048, -0.515373170375824, 0.16015201807022095, -0.36556941270828247, -0.6889955997467041, 0.544270932674408, -0.09745178371667862, -0.651279628276825, 0.2779228687286377, -0.9446179270744324, 0.5870298743247986, 0.22846613824367523, -0.1651415377855301, -0.05570470914244652, -0.5213761925697327, -0.03132757917046547, -0.2585296034812927, 0.07726678252220154, -0.2496275007724762, -0.27902087569236755, 0.5558475852012634, -1.0695492029190063, 0.8267716765403748, -0.1671907752752304, 0.02985159493982792, 0.3605027496814728, -0.04108098894357681, 0.648408055305481, -0.10523156076669693, -0.24724134802818298, -0.06018761917948723, 0.0335778184235096, -0.48277732729911804, -0.4911760687828064, 0.1404923051595688, -0.36262834072113037, -0.20788708329200745, -0.34838342666625977, -0.49997034668922424, -0.2981575131416321, 0.37136387825012207, 0.4333047568798065, 0.7795072793960571, 0.0012792027555406094, 0.23053255677223206, 0.7514315247535706, -0.15839849412441254, 0.5194737911224365, -0.025157809257507324, -0.06508877873420715, -0.6711825728416443, 0.8372951745986938, 0.14538878202438354, 0.26114046573638916, 0.47587427496910095, 0.25966185331344604, -0.3877372741699219, -0.4884188175201416, -0.6058961153030396, 0.17734646797180176, -0.5797760486602783, -0.37491658329963684, -0.5994346141815186, -0.3928636312484741, -0.13621267676353455, -0.5761170387268066, 0.208017960190773, -0.44350817799568176, -0.5095698833465576, 0.03682960569858551, 0.19555453956127167, 0.5136441588401794, 0.1954510658979416, 0.71876060962677, -0.8230469226837158, 0.1647464781999588, -0.08166122436523438, 0.15988120436668396, -0.10425801575183868, -0.4053311347961426, -0.5391010642051697, 0.025323616340756416, -0.03140828013420105, -0.6903650164604187, 0.2978880703449249, 0.38317760825157166, 0.41437116265296936, 0.38748008012771606, 0.02859221212565899, 1.0306109189987183, -0.3877403438091278, 0.756248950958252, 0.42705756425857544, -1.1113184690475464, 0.20561280846595764, -0.33585119247436523, 0.3129941523075104, 0.6769964694976807, 0.08874097466468811, -0.8847899436950684, -0.7022143602371216, -0.5501094460487366, -0.9173789620399475, 0.6697899699211121, 0.4498746395111084, 0.07089289277791977, -0.17162033915519714, 0.5361284017562866, 0.43009886145591736, 0.1088489443063736, -0.16613362729549408, 0.16343027353286743, -0.024120669811964035, -0.4887182414531708, 0.2571708858013153, -0.4692789912223816, 0.2984655499458313, -0.19072552025318146, 0.7307733297348022, -0.2698366343975067, 0.02148684486746788, 0.4903225600719452, -0.12016920745372772, -0.08870752155780792, 0.057759132236242294, 0.5049778819084167, 0.41378143429756165, 0.15921320021152496, -0.045598894357681274, 0.0686885267496109, -0.5425907969474792, 0.003183290595188737, 0.12195654213428497, -0.425689697265625, 0.03953171521425247, 0.5225692987442017, 0.6666206121444702, 0.01233086921274662, -0.6861011981964111, 0.4204033613204956, -0.09092453122138977, -0.2502026855945587, -0.022942014038562775, 0.16792641580104828, -0.23959913849830627, 0.25500163435935974, 0.5409426093101501, 0.01088925264775753, -0.2846304774284363, -0.2834967374801636, 0.09817769378423691, 0.17760968208312988, -0.5906600952148438, 0.088945671916008, 0.6549735069274902, 0.3551274538040161, -0.26287832856178284, 0.5448208451271057, -0.03924882784485817, -0.4967219829559326, 0.9015642404556274, 0.7452696561813354, 1.0521043539047241, 0.32653284072875977, 0.014547685161232948, 0.3894979953765869, 0.2823113799095154, 0.2197435200214386, 0.6029230952262878, 0.04301142320036888, -0.505275547504425, -0.3764055669307709, -0.6763455271720886, -0.12597374618053436, -0.10067937523126602, -0.2389306128025055, 0.4186519980430603, -0.5372451543807983, -0.10555347055196762, -0.11537139862775803, 0.046940356492996216, -0.4057833254337311, 0.27338290214538574, 0.1474662572145462, 1.210224986076355, -0.6827583312988281, 0.5234754085540771, 0.6339298486709595, -0.6432203054428101, -0.5411415100097656, 0.19277769327163696, -0.20032723248004913, -0.3705328404903412, 0.15002672374248505, 0.3732772469520569, -0.011059673503041267, 0.26527684926986694, -0.5027258992195129, -0.8989600539207458, 1.055403232574463, 0.3631783723831177, -0.42019298672676086, -0.4435529410839081, 0.22122442722320557, 0.2271621823310852, -0.5982291102409363, 0.4170668125152588, 0.3709907531738281, 0.39966219663619995, 0.16171494126319885, -0.4650048017501831, 0.17686249315738678, -0.4105016887187958, 0.18087396025657654, 0.36435794830322266, -0.6956493854522705, 0.8806559443473816, -0.007930847816169262, -0.5975951552391052, 0.5942006707191467, 0.8525415658950806, 0.08753688633441925, 0.24128921329975128, 0.9971734881401062, 0.4451223611831665, 0.933897852897644, -0.16754519939422607, 0.4000982344150543, -0.18412093818187714, 0.0016470137052237988, 1.1020960807800293, -0.06387709081172943, 0.3667350709438324, 0.8043575286865234, 0.3719647228717804, 0.5297442078590393, 0.9023017883300781, 0.10742788016796112, 0.4055826663970947, 0.3074224293231964, -0.20090648531913757, -0.5560460686683655, -0.4283800721168518, -0.15000168979167938, 0.35683807730674744, 0.511971116065979, -0.27455899119377136, -0.3135581612586975, -0.020490283146500587, 0.2678714990615845, 0.19745074212551117, -0.217818021774292, 0.8404163718223572, 0.035405877977609634, -0.6604138016700745, 0.1354856938123703, 0.12241458892822266, 0.4990689754486084, -0.7007877230644226, -0.3626560568809509, -0.7027186155319214, -0.24825315177440643, -0.27464818954467773, -0.5248126983642578, 0.21849603950977325, 0.20806758105754852, -0.38728851079940796, -0.6512678861618042, 0.817750096321106, -0.7813924551010132, -0.34964147210121155, -0.06817541271448135, 0.507317841053009, 0.1633041948080063, -0.0824759379029274, -0.15957319736480713, -0.40496310591697693, 0.0671774223446846, -0.07251747697591782, 0.059235136955976486, 1.0432487726211548, -0.3006824553012848, 0.4636039137840271, 0.7419400215148926, -0.16639919579029083, -0.07565940916538239, 0.09902262687683105, 0.7469980120658875, -0.6140853762626648, -0.7872328758239746, -0.9181103706359863, 0.757647693157196, -0.19298331439495087, -0.6201651096343994, 0.6318597197532654, 0.7128130197525024, 0.7730990648269653, 0.2944083511829376, 0.7492960691452026, -0.1357845515012741, 0.4371757209300995, -0.6574509143829346, 0.810491681098938, -0.8165730237960815, 0.053714144974946976, -0.37492305040359497, -0.649531364440918, -0.1783033162355423, 0.15444156527519226, 0.28477048873901367, -0.09763041138648987, 0.7479337453842163, 0.7900292277336121, -0.057429391890764236, 0.0879846140742302, 0.4352857768535614, -0.24767714738845825, 0.2652243971824646, 0.4584953188896179, 0.8480854034423828, -0.14587955176830292, 0.3145011365413666, -0.22116519510746002, -0.287116676568985, -0.19153016805648804, -0.9712271690368652, -1.20375657081604, -0.6277106404304504, -0.051552340388298035, -0.23497866094112396, -0.316864013671875, 1.0275942087173462, 0.6107925176620483, -0.49682310223579407, 0.0028280876576900482, -0.28002995252609253, 0.28593719005584717, -0.10458450764417648, -0.10973432660102844, 0.10549093037843704, -0.5534899234771729, -0.8907275795936584, 0.5493252873420715, 0.14175736904144287, 0.28320974111557007, -0.15117035806179047, -0.010449065826833248, -0.3163383901119232, 0.4802103340625763, 0.3614303171634674, 0.09428595751523972, -0.4373473823070526, -0.28907033801078796, 0.09046380966901779, -0.2067258208990097, -0.06945178657770157, 1.103379487991333, -0.699641227722168, 0.5773844718933105, 0.9146969318389893, 0.7705248594284058, 0.4005224108695984, 0.15567854046821594, 0.919526219367981, -1.0732823610305786, 0.11101295799016953, 0.17278501391410828, 0.5216077566146851, 0.2747977077960968, -0.714006245136261, 0.6547155380249023, 0.4087076187133789, -0.2838584780693054, -0.8751611709594727, 0.1762830764055252, -0.5891680717468262, -0.2933212220668793, 0.9789252281188965, -0.12072477489709854, -0.15115250647068024, -0.1306442767381668, -0.5868179202079773, 0.6179581880569458, -0.4148462414741516, 0.14426089823246002, 0.8650689721107483, -0.0006324626156128943, 0.13946504890918732, -0.048562537878751755, 0.5994985103607178, 0.6953747272491455, -0.6241732239723206, 0.06538021564483643, 0.4066298305988312, -0.2279210388660431, -0.16416765749454498, 0.7107220888137817, 0.088905930519104, 0.029058000072836876, 0.10663632303476334, 0.01060478389263153, -0.3769829273223877, -0.5130782723426819, -0.29164478182792664, 0.11201698333024979, -0.3124813437461853, -0.11339541524648666 ]
http://arxiv.org/abs/2405.17088v1
http://arxiv.org/pdf/2405.17088v1
Phase Transitions in the Output Distribution of Large Language Models
2024-05-27T12:04:36
2024-05-27T12:04:36
Julian Arnold, Flemming Holtorf, Frank Schäfer, Niels Lörch
cs.LG
cs.LG, cond-mat.stat-mech, cs.AI, cs.CL
In a physical system, changing parameters such as temperature can induce a phase transition: an abrupt change from one state of matter to another. Analogous phenomena have recently been observed in large language models. Typically, the task of identifying phase transitions requires human analysis and some prior understanding of the system to narrow down which low-dimensional properties to monitor and analyze. Statistical methods for the automated detection of phase transitions from data have recently been proposed within the physics community. These methods are largely system agnostic and, as shown here, can be adapted to study the behavior of large language models. In particular, we quantify distributional changes in the generated output via statistical distances, which can be efficiently estimated with access to the probability distribution over next-tokens. This versatile approach is capable of discovering new phases of behavior and unexplored transitions -- an ability that is particularly exciting in light of the rapid development of language models and their emergent capabilities.
[ -0.2674059569835663, -0.9728279113769531, 0.9371293783187866, -0.02781691402196884, -0.1088251993060112, -0.2012152075767517, 0.00597887858748436, -0.25782862305641174, 0.026788407936692238, 0.34684640169143677, -0.507489800453186, -0.3374387323856354, -0.6664294600486755, -0.05833812803030014, -1.153926134109497, 0.7093347311019897, -0.03795761242508888, -0.186009019613266, 0.2209620475769043, 0.3832959532737732, -0.36178410053253174, -0.5291220545768738, -0.7398825287818909, -0.7809197902679443, 0.13951289653778076, 0.23362983763217926, 0.6994772553443909, 0.39411991834640503, 0.31838178634643555, 0.44804927706718445, 0.006611642427742481, -0.25228115916252136, -0.2950153648853302, 0.6224274635314941, -0.14471112191677094, -0.6299917101860046, -0.03993499279022217, -0.276172399520874, 0.9939284324645996, 1.1206092834472656, -0.07426677644252777, 0.10457246750593185, 0.17218337953090668, 0.6832762956619263, -0.39555326104164124, 0.502780020236969, -0.5931794047355652, 0.3588266372680664, -0.49332189559936523, -0.4313022792339325, -0.5905817747116089, -0.25566092133522034, 0.17833034694194794, -0.47084540128707886, 0.606157660484314, -0.06650733947753906, 0.5292012095451355, -0.13753123581409454, -0.60576331615448, -0.14723967015743256, -1.2933017015457153, 0.789068341255188, -0.487310528755188, 0.8475318551063538, 0.21557053923606873, 0.23468591272830963, -0.5200926661491394, -0.5058509707450867, -0.766185998916626, -0.286821186542511, 0.20599277317523956, -0.2277558296918869, -0.054070841521024704, 0.06937864422798157, -0.02145444042980671, 0.11695785820484161, -0.2606153190135956, -0.15186364948749542, -0.17744340002536774, 0.004257503431290388, 0.40828701853752136, 0.46952542662620544, 0.5052238702774048, -0.40749260783195496, 0.5424016118049622, -0.5295950174331665, -0.3459860682487488, -0.23748593032360077, 0.6346622705459595, 0.536087691783905, -0.17212015390396118, 0.6426424980163574, -0.17900580167770386, 0.37443235516548157, 0.2156575322151184, -0.06369447708129883, 0.08546040952205658, -0.3217782974243164, -0.09539882093667984, 0.0017627213383093476, 0.6793880462646484, -0.019008908420801163, 0.03197985142469406, 0.16384029388427734, -0.15762469172477722, -0.3917597234249115, -0.30254828929901123, -0.5273367166519165, -0.7722580432891846, 0.14259056746959686, -0.49543148279190063, -0.15805533528327942, -0.011950071901082993, -0.7146065831184387, -0.9171432852745056, -0.2686157524585724, 0.3214547336101532, -0.40454259514808655, -0.665233850479126, 0.17024558782577515, -0.3360770344734192, -0.05578015744686127, 0.3990533649921417, -1.1754001379013062, 0.5112172365188599, 0.590019702911377, 1.0006012916564941, 0.032356277108192444, -0.3481929898262024, -0.059092216193675995, 0.054171159863471985, -0.7262598872184753, 0.730830729007721, -0.6807378530502319, -0.47603675723075867, 0.13751569390296936, 0.06058593466877937, 0.05853070318698883, -0.5605255365371704, -0.15962931513786316, -0.42306381464004517, -0.01416171807795763, -0.14444783329963684, -0.4635952115058899, 0.006993930786848068, -0.13481667637825012, -0.6236296892166138, 0.9935809969902039, -0.13143819570541382, -0.7127605676651001, 0.4565891623497009, -0.6383548378944397, -0.35718247294425964, 0.001558877993375063, 0.1904924511909485, -0.08529531210660934, 0.29495900869369507, -0.3917262554168701, 0.6305750012397766, -0.36003783345222473, 0.05693390220403671, -0.40148094296455383, 0.11317123472690582, 0.6699315905570984, -0.4221596121788025, 0.41828441619873047, 0.25653982162475586, -0.2067924290895462, 0.06732263416051865, -0.9046108722686768, -0.04805785045027733, 0.18905417621135712, -0.14018188416957855, -0.4930189251899719, 0.72207111120224, -0.10720323026180267, -0.14859160780906677, 0.2819342315196991, -0.1546867936849594, 0.032462228089571, -0.2549259066581726, 0.3772653341293335, 0.7378576397895813, 0.34824007749557495, 0.8105171322822571, 0.22992978990077972, 0.33610549569129944, 0.42601513862609863, 0.17916350066661835, -0.16005125641822815, -0.6073458194732666, -0.8083698749542236, 0.11830462515354156, 0.1657753735780716, 0.5783469080924988, -0.6337679624557495, 0.6413115859031677, 0.060841940343379974, -0.2904825210571289, -0.03621647506952286, 0.14062581956386566, -0.10400889068841934, 0.2775893211364746, -0.06868553906679153, -0.0300737377256155, -0.31248587369918823, -0.6392037272453308, -0.0036598490551114082, -0.5249298214912415, -0.2493218034505844, -0.42470040917396545, 0.5813117623329163, -0.17974257469177246, 0.7460770606994629, -0.9149738550186157, 0.5155714750289917, -0.24150721728801727, 0.3952505886554718, 0.3006551265716553, 0.48295819759368896, -0.185736283659935, -0.5463483333587646, -0.2977624535560608, 0.35367870330810547, -0.6580313444137573, -0.16563531756401062, 0.0916517898440361, -0.2002350091934204, 0.14675158262252808, 0.8111444115638733, -0.11692643910646439, 0.21478980779647827, 0.6294834017753601, -0.4552115797996521, 0.5923899412155151, -0.484647274017334, 0.46808940172195435, -1.1432230472564697, -0.07709500193595886, 0.3475927412509918, -0.08756595849990845, -1.133670687675476, -0.15740080177783966, -0.11842148005962372, -0.03958291560411453, -0.32106032967567444, 0.4560445249080658, -0.48520421981811523, -0.3569287657737732, -0.25749558210372925, -0.020573219284415245, -0.2365240752696991, -0.15255087614059448, 0.1297316700220108, 0.27209094166755676, 0.5255363583564758, -0.7544644474983215, 0.35797199606895447, 0.09885995835065842, -0.28672316670417786, 0.48889052867889404, -0.5222315788269043, 0.02064448595046997, -0.3490231931209564, 0.37369686365127563, -1.0786805152893066, -0.35263994336128235, 0.42999279499053955, -0.20693600177764893, 0.09462425857782364, -0.4078475832939148, -0.9326909184455872, -0.05604768544435501, -0.005689113400876522, 0.5939839482307434, 0.44187480211257935, -0.014911515638232231, 0.11410074681043625, 0.37834373116493225, -0.4357265532016754, 0.03217437118291855, -0.5597442388534546, -0.11519882082939148, -0.20669765770435333, -0.5913918614387512, -0.4966946542263031, -0.2503073811531067, -0.5986005663871765, -0.1247698962688446, 0.41055336594581604, -0.4146002531051636, -0.024763403460383415, 0.2684870660305023, 0.12544527649879456, -0.052771713584661484, 0.226707324385643, 0.46947574615478516, 0.06602854281663895, 0.25343838334083557, -0.2388458251953125, 1.1107630729675293, 0.12146835774183273, -0.313432902097702, -0.388009250164032, 0.42264407873153687, 0.5497793555259705, 0.08888065069913864, 0.8264789581298828, 0.20453351736068726, -0.5931429862976074, -0.24282078444957733, -0.10837674140930176, -0.3307114541530609, -0.5081669688224792, 0.5672104358673096, -0.4535071849822998, -0.32793787121772766, 1.0569387674331665, 0.15480701625347137, -0.2744108736515045, 0.4425075352191925, 0.5597829818725586, 0.23241811990737915, 1.3236099481582642, 0.592277467250824, 0.5291532278060913, 0.807328462600708, 0.004820369184017181, 0.4217510223388672, -0.49454212188720703, -0.4219056963920593, -0.6549214124679565, 0.047526903450489044, -0.6267842650413513, -0.5576706528663635, 0.7318292856216431, -0.08335813879966736, -0.3910203278064728, -0.012065370567142963, -0.23634734749794006, 0.592768132686615, 0.30652913451194763, 0.11748702824115753, 0.1198803186416626, -0.18653979897499084, 0.19312188029289246, -0.0035918985959142447, -0.3640885353088379, 0.013682521879673004, 0.9253712296485901, 0.5356540679931641, 0.880476176738739, 0.10410259664058685, 0.8381286263465881, 0.45827817916870117, -0.06130456551909447, -0.6721916198730469, 0.6373287439346313, -0.13512681424617767, -0.4258959889411926, -0.7245986461639404, -0.4874674379825592, -1.0738868713378906, 0.09352555871009827, -0.2866474390029907, -0.8650541305541992, 0.341861367225647, 0.1479465365409851, -0.016428165137767792, 0.34557148814201355, -0.8684067130088806, 0.6150935292243958, 0.24029654264450073, 0.10519697517156601, -0.19473057985305786, -0.39743703603744507, 0.5588991045951843, -0.3724460005760193, 0.29611337184906006, -0.3757811188697815, 0.05628222972154617, 0.8536784052848816, -0.3107962906360626, 0.7500568628311157, -0.12095091491937637, -0.3905445635318756, 0.11204233765602112, 0.597202479839325, 0.3371281921863556, -0.23853245377540588, -0.14073383808135986, 0.0776762068271637, 0.24980752170085907, -0.43287986516952515, -0.3688170909881592, 0.729063093662262, -0.7173296213150024, -0.3501768410205841, -0.4693765342235565, -0.8262255191802979, -0.24987083673477173, 0.23169443011283875, 0.3663794994354248, 0.3510793447494507, -0.07947959005832672, -0.17459000647068024, 0.7588683366775513, -0.4355327785015106, 0.33218351006507874, 0.5232923030853271, -0.3940197825431824, -0.0021673080045729876, 0.8113076090812683, 0.30555757880210876, 0.48386088013648987, 0.3159090578556061, 0.5008321404457092, -0.5101138353347778, -0.6873384714126587, -0.13259829580783844, 0.29184749722480774, -0.931225061416626, 0.22518490254878998, -0.36858266592025757, -0.2264271378517151, -0.7228124141693115, -0.24049679934978485, -0.2295217514038086, -0.3029153048992157, -0.3064090609550476, 0.042176105082035065, 0.20230142772197723, 1.2414571046829224, -0.23665527999401093, 0.24328412115573883, -0.8386846780776978, 0.12537230551242828, 0.22497011721134186, 0.1514081060886383, 0.08077243715524673, -0.8170472979545593, -0.22757408022880554, -0.01231219433248043, -0.09894989430904388, -1.3183634281158447, 0.5582963824272156, 0.30015677213668823, 0.3058335483074188, 0.5171699523925781, 0.02614157646894455, 0.4764929711818695, -0.6759827136993408, 0.8461058735847473, 0.5140597820281982, -1.3656115531921387, 0.5093268156051636, -0.6977319717407227, 0.6227108240127563, 0.1313042789697647, 0.23368556797504425, -0.8020235300064087, -0.6443238258361816, -0.4926770329475403, -0.8713908791542053, 0.6057724356651306, -0.0014519264223054051, 0.15472108125686646, -0.14708898961544037, 0.378368079662323, 0.2596990764141083, 0.22598621249198914, -0.36140623688697815, -0.3207908272743225, 0.013473563827574253, -0.10757150501012802, -0.2804807424545288, -0.012287650257349014, -0.0740564689040184, -0.32364463806152344, 0.38965514302253723, -0.22233399748802185, 0.30233603715896606, -0.1516083925962448, 0.06685946136713028, -0.4400680661201477, 0.2640378475189209, 0.5517961382865906, 0.8515682816505432, -0.1701185554265976, 0.38008350133895874, 0.25549355149269104, -0.3550052046775818, 0.3976721167564392, 0.09805808216333389, -0.1904563009738922, 0.0434550903737545, 0.062239449471235275, 0.5812317728996277, 0.38686689734458923, -0.39575403928756714, 0.13894891738891602, 0.05874153599143028, -0.2731698751449585, -0.45903894305229187, -0.11632820963859558, -0.13405472040176392, 0.4113454222679138, 0.5782071948051453, -0.1586853265762329, 0.5355305671691895, -1.0126322507858276, 0.20801371335983276, 0.28040656447410583, -0.19125641882419586, -0.7659401893615723, 0.518566906452179, 0.10087339580059052, -0.175024151802063, 0.4238992929458618, -0.22336043417453766, -0.3801523447036743, 0.5422399640083313, 0.5869764089584351, 0.8985349535942078, -0.5565827488899231, 0.7328125834465027, 0.04116666689515114, 0.2712518572807312, -0.5329782962799072, 0.06556244194507599, 0.2924036383628845, -0.8099120855331421, -0.3439311683177948, -0.6066939830780029, -0.455258309841156, -0.05493231862783432, -0.5355207920074463, 0.3051242530345917, -0.5802900195121765, 0.007009779568761587, 0.26562488079071045, -0.2404240220785141, -0.43257296085357666, 0.13370870053768158, 0.5076695680618286, 0.27961158752441406, -1.4841846227645874, 0.7029444575309753, 0.41476190090179443, 0.11245016008615494, -0.5179358124732971, 0.18989239633083344, 0.20729461312294006, -0.632579505443573, 0.7947638034820557, -0.37004274129867554, -0.09587274491786957, -0.30770549178123474, -0.3892073631286621, -0.9787800908088684, 0.6791573762893677, 0.599248468875885, -0.39524683356285095, -0.03359951078891754, 0.4700523912906647, 0.7046760320663452, 0.05208713561296463, 0.2942013442516327, 0.7440937161445618, 0.5157450437545776, 0.02221059985458851, -0.8721494078636169, 0.03276479244232178, 0.10361279547214508, -0.015354208648204803, 1.1536767482757568, -0.37718167901039124, 1.1997952461242676, 0.04490619897842407, -0.34763142466545105, -0.08560777455568314, 0.7958534955978394, 0.09459596127271652, 0.521021842956543, 0.7851355075836182, 0.09364902228116989, 0.7912650108337402, -0.09809628874063492, 0.7366732954978943, -0.435781329870224, 0.5454807281494141, 0.4529384672641754, -0.3031895160675049, 1.0249611139297485, 0.25227484107017517, -0.3278222978115082, 0.49262523651123047, 0.437741756439209, 0.41149818897247314, 0.12728363275527954, 0.4309667646884918, -0.4326891601085663, -0.29207926988601685, 0.0898401066660881, -0.25203028321266174, 0.034666940569877625, 0.5123790502548218, -0.1988193243741989, -0.12401077896356583, 0.0404960922896862, 0.19493933022022247, -0.2039487659931183, -0.24290817975997925, 0.5299568772315979, 0.03684316948056221, -0.3575068712234497, 0.5297815799713135, -0.19243809580802917, 0.26250800490379333, -0.7957496643066406, -0.1896234005689621, -0.11462149769067764, 0.06899736076593399, -0.21932469308376312, -0.9861191511154175, 0.14610479772090912, -0.15513959527015686, -0.2969558537006378, -0.1655755639076233, 0.4618406295776367, -0.5375017523765564, -0.6717433929443359, 0.1169995367527008, 0.2668420076370239, 0.41339462995529175, 0.09374091029167175, -0.4855136275291443, 0.23724429309368134, -0.17661792039871216, -0.20818951725959778, 0.4909346103668213, 0.6007859110832214, -0.13331404328346252, 0.6611586213111877, 0.538123607635498, 0.11210131645202637, 0.5859499573707581, -0.04975984990596771, 0.3976597189903259, -0.683232307434082, -0.5532438158988953, -0.5336658358573914, 0.15116018056869507, 0.05586474388837814, -0.2308845967054367, 0.6255600452423096, 0.35842883586883545, 0.4279622435569763, -0.07513811439275742, 0.9918760061264038, -0.26178282499313354, 0.34498924016952515, -0.6989066004753113, 0.49912160634994507, -0.4215095341205597, 0.05053797364234924, -0.3193669617176056, -0.9712294340133667, -0.08107134699821472, 0.09344426542520523, -0.33257025480270386, -0.14478245377540588, 1.1424431800842285, 0.6394336223602295, -0.061672940850257874, -0.2406463474035263, 0.6811326146125793, 0.4809892475605011, 0.6583359241485596, 0.15357442200183868, 0.6775175929069519, -0.18807122111320496, 0.42570456862449646, -0.2619641125202179, -0.328692227602005, -0.12856043875217438, -0.8305176496505737, -0.4591749608516693, -1.3851616382598877, -0.5459098219871521, -0.6134397983551025, 0.19561408460140228, 0.7474799752235413, 0.7710660696029663, -1.0231859683990479, -0.5682986974716187, -0.13667301833629608, -0.15456083416938782, -0.03354301676154137, -0.27417564392089844, 0.08249078691005707, -0.18498924374580383, -0.9321019649505615, 0.34854191541671753, 0.10720605403184891, 0.18014240264892578, -0.6548193097114563, 0.10142791271209717, 0.08681556582450867, 0.6365236043930054, 0.6233787536621094, 0.6142287254333496, -0.38733795285224915, -0.5334093570709229, -0.27234378457069397, 0.21029061079025269, -0.2704523801803589, 0.8554329872131348, 0.004898095969110727, 0.36555758118629456, 1.1738011837005615, 0.17918099462985992, 0.3859277367591858, -0.30737489461898804, 0.7734386920928955, -0.535291314125061, 0.2815146744251251, -0.16748735308647156, 0.3406691551208496, 0.221618190407753, -0.2003517597913742, -0.08922697603702545, 0.29759588837623596, -0.8083468675613403, -0.9928755760192871, 0.5175959467887878, -0.8941841125488281, -0.30025172233581543, 1.3253660202026367, 0.3178993761539459, -0.3620559275150299, -0.2319841980934143, 0.04529717192053795, 0.1954740434885025, -0.6498510837554932, 0.9547936916351318, 0.8799071311950684, -0.4412529766559601, -0.1659308671951294, -0.8112648725509644, 0.32040587067604065, 0.29271963238716125, -1.0272420644760132, 0.18761050701141357, 0.49832218885421753, 0.4313858151435852, 0.22698333859443665, 0.44807904958724976, 0.10981865227222443, -0.04448390752077103, 0.05362413078546524, 0.017049415037035942, 0.8278023600578308, -0.32314014434814453, -0.36212918162345886, 0.2882043719291687, 0.29154348373413086, -0.10284877568483353 ]
http://arxiv.org/abs/2405.17076v1
http://arxiv.org/pdf/2405.17076v1
Leveraging small language models for Text2SPARQL tasks to improve the resilience of AI assistance
2024-05-27T11:47:21
2024-05-27T11:47:21
Felix Brei, Johannes Frey, Lars-Peter Meyer
cs.AI
cs.AI, cs.CL, cs.IR
In this work we will show that language models with less than one billion parameters can be used to translate natural language to SPARQL queries after fine-tuning. Using three different datasets ranging from academic to real world, we identify prerequisites that the training data must fulfill in order for the training to be successful. The goal is to empower users of semantic web technology to use AI assistance with affordable commodity hardware, making them more resilient against external factors.
[ -0.45482707023620605, -0.9593071937561035, 0.37451237440109253, -0.2145453542470932, -0.00065815937705338, -0.3550897538661957, -0.2834075093269348, -0.6484860181808472, -0.48882994055747986, 0.8007873296737671, -0.7126513719558716, -0.11756608635187149, -0.5185364484786987, 0.3276901841163635, -0.43427127599716187, 1.1973180770874023, 0.2505192756652832, 0.13710780441761017, -0.2299928516149521, -0.11520184576511383, -0.7442350387573242, -0.17510418593883514, -1.0884419679641724, -0.07906518131494522, 0.32983872294425964, 0.8062192797660828, 1.1556832790374756, 0.33861032128334045, 0.7397269606590271, 0.2676626443862915, 0.2259998768568039, 0.22287683188915253, -0.5505833029747009, -0.01230577938258648, -0.33774033188819885, -0.598482072353363, -0.09354909509420395, -0.11327168345451355, 0.6112656593322754, 0.762397825717926, -0.24448925256729126, 0.21609805524349213, 0.22453728318214417, 0.792007565498352, -0.21602243185043335, 0.08126211911439896, -0.8873823285102844, -0.039138175547122955, -0.1204901859164238, 0.3703943192958832, -0.4684392213821411, -0.23765483498573303, 0.13295771181583405, -0.6694388389587402, 0.2793814539909363, 0.5317303538322449, 0.5630061626434326, 0.5965732336044312, -0.19932138919830322, -0.20248575508594513, -0.7463680505752563, 0.8798182606697083, -0.6738778948783875, 0.4027968943119049, 0.9355465769767761, 0.5509792566299438, -0.40686362981796265, -0.739737868309021, -0.6708493232727051, -0.29003456234931946, -0.3622024655342102, -0.24505150318145752, -0.15358561277389526, -0.02832987904548645, 0.3185277283191681, -0.08319088816642761, -0.6170480847358704, 0.3017180562019348, -0.35498669743537903, -0.04185408726334572, 0.6607084274291992, 0.48950281739234924, 0.5393602252006531, 0.03646337240934372, 0.046736493706703186, -0.09995733201503754, -0.6485852003097534, -0.23575469851493835, 0.014977280981838703, 0.7640106678009033, 0.04718073830008507, 0.6391791105270386, -0.28739240765571594, 0.9417376518249512, -0.327323317527771, -0.05562804266810417, -0.31735697388648987, -0.5990007519721985, -0.17622815072536469, -0.030709493905305862, 0.737801194190979, 0.09212733060121536, 0.41279250383377075, -0.5864492654800415, -0.13489067554473877, -0.1083843782544136, 0.5820976495742798, -0.6856417059898376, -0.12488729506731033, 0.15841145813465118, -0.4571366608142853, 0.042541176080703735, -0.1465173363685608, -0.7941899299621582, -0.5413891673088074, -0.28598272800445557, 0.39985790848731995, -0.6609107255935669, -0.2263984978199005, 0.1504523903131485, -0.23483918607234955, 0.08164937049150467, 0.17232048511505127, -1.1124690771102905, 0.7803288698196411, 0.8540077209472656, 0.8176482915878296, 0.06565194576978683, -0.321950763463974, -0.3763768672943115, 0.11976489424705505, -0.2538348138332367, 0.8202303051948547, -0.5134156942367554, -0.4008200764656067, 0.012797570787370205, 0.22964927554130554, -0.134555384516716, -0.41034021973609924, 0.48234823346138, -0.5384736657142639, 0.16391222178936005, -0.151680588722229, -0.39972564578056335, 0.07265183329582214, 0.24254514276981354, -0.8967053890228271, 1.261459469795227, 0.4041490852832794, -0.7233139872550964, 0.3124856650829315, -0.5386378169059753, -0.5243006944656372, -0.0090835215523839, 0.017165999859571457, -0.4279829263687134, 0.08808590471744537, -0.029559137299656868, 0.32079142332077026, -0.800121545791626, -0.20487765967845917, -0.31584545969963074, -0.23173479735851288, 0.1579475849866867, -0.25828295946121216, 0.4973256587982178, -0.019470175728201866, -0.04316743463277817, -0.22620703279972076, -0.8146876096725464, 0.1975266933441162, 0.22745820879936218, -0.2813941538333893, -0.5312823057174683, 0.0864207074046135, 0.11008944362401962, 0.23253285884857178, -0.029129276052117348, -0.3196781575679779, 0.10675366967916489, -1.0280265808105469, 0.5224720239639282, 0.3305513262748718, -0.06989497691392899, 0.654836893081665, 0.02589927613735199, 0.47123703360557556, -0.42131486535072327, -0.08050088584423065, 0.408880352973938, -0.6214281320571899, -0.6831679940223694, -0.031273066997528076, 0.45270055532455444, 0.7194204926490784, -0.9929490685462952, 0.21823883056640625, -0.3544165790081024, -0.6313060522079468, -0.7894248962402344, 0.2569097578525543, 0.4676598012447357, 0.6781038641929626, 0.5475456118583679, 0.04432697594165802, -0.5607799887657166, -0.9992449879646301, -0.35170528292655945, -0.07091741263866425, -0.14813029766082764, 0.29119616746902466, 0.5952921509742737, -0.20643238723278046, 1.123923897743225, -0.2694861888885498, -0.6283106803894043, -0.26784253120422363, 0.11450312286615372, -0.06074662134051323, 0.590628981590271, 0.5653038024902344, -0.7902043461799622, -0.4653892517089844, 0.2785322070121765, -0.6004983186721802, 0.2504124343395233, 0.21514032781124115, -0.27471810579299927, 0.4604739248752594, 0.4067012369632721, -0.6890954375267029, 0.4394795298576355, 0.30759239196777344, -0.5599378347396851, 0.06985997408628464, -0.3112158179283142, -0.0025272436905652285, -1.1976337432861328, -0.055705711245536804, 0.07244938611984253, -0.2837657034397125, -0.7761914730072021, -0.12250545620918274, -0.1357036679983139, -0.3874065577983856, -0.17482219636440277, 0.7390480637550354, -0.31730467081069946, -0.18007266521453857, -0.40483981370925903, 0.1696542501449585, -0.25407674908638, 0.04976453632116318, 0.19643144309520721, 0.9288811683654785, 0.2744254469871521, -0.5537025928497314, 0.272493839263916, 0.5186683535575867, -0.3382587134838104, 0.5068025588989258, -0.8461796641349792, 0.04675242677330971, 0.05000978335738182, -0.13326896727085114, -0.9466044902801514, -0.3940393626689911, 0.15094512701034546, -0.5533515810966492, 0.09945892542600632, -0.2755082845687866, -0.7585857510566711, -0.3868945240974426, -0.04388950765132904, -0.03352845460176468, 0.4975707232952118, -0.3918704390525818, 0.5988842248916626, 0.5499842166900635, -0.3744901418685913, -0.1973714977502823, -0.9310670495033264, 0.15110570192337036, -0.12045270949602127, -0.7844507098197937, 0.3140817880630493, 0.04782526567578316, -0.3053789436817169, 0.37036630511283875, 0.34973132610321045, -0.3547108471393585, 0.3956061601638794, 0.3145923912525177, 0.3388175666332245, -0.15774650871753693, 0.34478962421417236, 0.1356324404478073, -0.5342566967010498, -0.07199941575527191, -0.2553471624851227, 0.39532989263534546, -0.04662463441491127, -0.20869532227516174, -0.5288035273551941, 0.5696790814399719, 0.24916276335716248, -0.1097118929028511, 1.2535213232040405, 0.6683905124664307, -0.7199991345405579, -0.25449439883232117, -0.32579684257507324, -0.4365261495113373, -0.44792109727859497, 0.5738891959190369, -0.3206346929073334, -1.0259754657745361, 0.24882934987545013, 0.08330826461315155, -0.03877943381667137, 0.6212948560714722, 0.5855314135551453, 0.0018855406669899821, 1.3668673038482666, 0.813654899597168, -0.3872723877429962, 0.3055221736431122, 0.04018975794315338, 0.14829467236995697, -0.45183444023132324, -0.268393874168396, -0.9864729046821594, 0.05121907219290733, -0.5998497605323792, -0.25342637300491333, 0.2867851257324219, 0.05788438022136688, -0.4129854142665863, 0.35288500785827637, -0.6247406601905823, 0.5421258211135864, 0.5974398851394653, 0.03234633430838585, 0.027506884187459946, 0.26742231845855713, 0.3492327928543091, -0.15889480710029602, -0.7844427227973938, -0.6853888630867004, 0.7811906933784485, 0.1846068948507309, 0.812542736530304, 0.43868374824523926, 0.21379923820495605, 0.49857813119888306, 0.12199928611516953, -0.7953822612762451, 0.4551428258419037, -0.3069579303264618, -0.6052500009536743, -0.6795073747634888, -0.3001294434070587, -0.9834406971931458, -0.003355130786076188, -0.6287217140197754, -0.7920365929603577, -0.10056225955486298, 0.1356109380722046, -0.3558664619922638, -0.2005329579114914, -0.9377400279045105, 0.9218827486038208, -0.07414029538631439, -0.23480162024497986, -0.2978116571903229, -0.5803653597831726, -0.0181912612169981, -0.029151836410164833, 0.3306797444820404, -0.10163621604442596, -0.1687736213207245, 0.8154919743537903, -0.7505370378494263, 0.9422029852867126, -0.19424253702163696, 0.11026208847761154, 0.21006903052330017, 0.1395038217306137, 0.6641274094581604, 0.2665957808494568, -0.4059426486492157, 0.014131252653896809, 0.17364001274108887, -0.3759731352329254, -0.6773083209991455, 0.6322371959686279, -0.9074588418006897, -0.500585675239563, -0.18007948994636536, -0.36261242628097534, -0.6255707740783691, 0.33125224709510803, 0.08012495189905167, 0.11231203377246857, -0.15233471989631653, 0.32673928141593933, 0.5933584570884705, 0.18002158403396606, 0.4608396291732788, 0.7015378475189209, 0.2848048210144043, -0.28435322642326355, 0.8673552870750427, 0.24216412007808685, 0.1342262178659439, 0.11658522486686707, -0.1029629185795784, -0.23524081707000732, -0.6091831922531128, -0.619552493095398, 0.02380160428583622, -0.582248330116272, -0.5560226440429688, -0.5223603844642639, -0.11802670359611511, -0.5273005962371826, -0.11018195003271103, -0.5012233853340149, -0.610435426235199, -0.461525559425354, -0.10859013348817825, 0.7422992587089539, 0.6901183724403381, 0.1533752679824829, 0.28267258405685425, -1.058766484260559, 0.29598379135131836, 0.3649994730949402, 0.3686444163322449, -0.026258034631609917, -0.6274319291114807, -0.6137750148773193, 0.00347145670093596, 0.34931591153144836, -0.6347286701202393, 0.4178357422351837, 0.5392186045646667, 0.6123088598251343, -0.09919007122516632, 0.026129530742764473, 0.6098750829696655, -0.8303326368331909, 0.8865983486175537, -0.005677926819771528, -0.6826959252357483, 0.9638804793357849, -0.12668263912200928, -0.14241090416908264, 0.8306795954704285, 0.5330110788345337, -0.40077778697013855, -0.08016493171453476, -0.3864675462245941, -0.7675294280052185, 1.063463568687439, 0.09356799721717834, 0.19769826531410217, -0.02110466919839382, 0.6883159279823303, 0.047494400292634964, -0.24117310345172882, -0.3062745928764343, 0.07077138125896454, -0.06894602626562119, -0.6508685350418091, 0.10138270258903503, -0.519973635673523, -0.3922919034957886, -0.09977900981903076, 0.7697558403015137, -0.29578351974487305, 0.30302637815475464, -0.19186824560165405, -0.03592295944690704, 0.18937209248542786, 0.019689524546265602, 0.2895662188529968, 0.25354987382888794, 0.13896149396896362, -0.03614574670791626, 0.6168866157531738, -0.4999922811985016, -0.04848755523562431, 0.39789992570877075, -0.02585018239915371, -0.32537633180618286, 0.4624551832675934, 0.7170271277427673, 0.27662193775177, -0.8437390327453613, 0.08241114020347595, -0.44015583395957947, 0.11098220199346542, -0.2988588511943817, 0.49746692180633545, 0.02122502587735653, 0.2950649857521057, 0.2550722658634186, -0.22481058537960052, 0.2683999538421631, -0.24361182749271393, 0.12677480280399323, 0.5914527177810669, -0.5261687636375427, -0.13402941823005676, 0.6043651103973389, 0.10880133509635925, -0.5580655932426453, 0.9184333086013794, 0.019555209204554558, -0.025834882631897926, 0.5283486247062683, 0.7786203622817993, 0.4470062255859375, -0.13669969141483307, 0.07407453656196594, 0.3567923307418823, 0.4281357228755951, -0.4874088764190674, 0.1027567908167839, 0.25371047854423523, -0.8066076636314392, 0.013285445049405098, -0.5697107911109924, -0.42111679911613464, -0.42008426785469055, -0.6612480878829956, 0.24416697025299072, -0.45403483510017395, -0.24964295327663422, 0.16547930240631104, 0.10772448778152466, -0.6724733114242554, 0.4965316951274872, -0.13586224615573883, 0.8731493353843689, -0.841228723526001, 0.9466386437416077, 0.7257111072540283, -0.7115602493286133, -0.823386549949646, -0.43771904706954956, 0.021672815084457397, -0.8621428608894348, 0.6899919509887695, -0.17078015208244324, -0.16315187513828278, 0.20994776487350464, -0.502432644367218, -0.8977071046829224, 1.0770217180252075, 0.34919899702072144, -0.28851062059402466, -0.02795855514705181, 0.437076598405838, 0.5705676078796387, -0.326515257358551, 0.08869342505931854, 0.9054388403892517, 0.3607039749622345, -0.1938478648662567, -0.8611404299736023, 0.04871133342385292, -0.15211176872253418, 0.32398390769958496, 0.2263108789920807, -0.4513012766838074, 0.573837399482727, -0.07586751133203506, -0.2081865668296814, 0.27427810430526733, 0.6894809007644653, 0.015556884929537773, 0.08073681592941284, 0.35981321334838867, 0.546849250793457, 0.9666465520858765, -0.223216712474823, 1.3371121883392334, -0.33626386523246765, 0.34838244318962097, 1.1438761949539185, -0.0719456672668457, 1.2376503944396973, 0.3553609549999237, -0.29788753390312195, 0.2795605957508087, 0.5975023508071899, 0.058122821152210236, 0.6051270961761475, -0.23924636840820312, -0.24372734129428864, -0.3068263828754425, -0.41044872999191284, -0.44599294662475586, 0.3615892827510834, 0.6354613304138184, -0.2446596771478653, 0.04148869588971138, 0.2895594537258148, 0.0500187873840332, 0.137712761759758, -0.23406873643398285, 1.0453619956970215, 0.1295493096113205, -0.591067910194397, 0.3313194215297699, 0.23465315997600555, 0.35693496465682983, -0.5297067165374756, -0.07932166010141373, -0.21950875222682953, 0.15520130097866058, -0.24940837919712067, -0.7832673788070679, 0.5970655679702759, 0.12964032590389252, -0.4536573588848114, 0.19510908424854279, 1.2846556901931763, -0.25846636295318604, -0.7532364130020142, 0.17115476727485657, 0.27182456851005554, 0.0010895944433286786, 0.06688643246889114, -0.809213399887085, 0.015332081355154514, -0.26909106969833374, -0.24259229004383087, 0.602125883102417, 0.5843051671981812, -0.0045980350114405155, 0.8777511715888977, 0.5247335433959961, -0.01604679599404335, -0.12534096837043762, -0.04731496796011925, 0.8827340006828308, -0.7159134745597839, -0.24132557213306427, -0.8361843824386597, 0.45756271481513977, -0.18195554614067078, -0.11905893683433533, 0.8239741325378418, 0.22715389728546143, 0.640127956867218, 0.03797530010342598, 0.8818540573120117, -0.1299498826265335, 0.7064933776855469, -0.7097899913787842, 0.7914800643920898, -0.4009723663330078, 0.1498534232378006, 0.17813187837600708, -0.5168508887290955, -0.4262709319591522, 0.7042477130889893, -0.1995643973350525, 0.012416060082614422, 0.36862486600875854, 1.007047414779663, 0.3101274371147156, 0.11114978790283203, 0.31279435753822327, -0.067640520632267, 0.1904190629720688, 0.3540172278881073, 0.4720424711704254, -0.4753565490245819, 0.5872693061828613, 0.011526522226631641, 0.0077019440941512585, -0.1677500456571579, -0.5554187297821045, -0.9442467093467712, -0.48557087779045105, -0.21565338969230652, -0.6402274966239929, 0.1747974306344986, 0.7827518582344055, 0.6933684945106506, -0.8749110698699951, 0.10233905911445618, -0.2732895314693451, 0.16752205789089203, 0.02812698297202587, -0.18506859242916107, 0.310655415058136, -0.5626434683799744, -0.7053328156471252, 0.4029587507247925, 0.1855928599834442, 0.1168513298034668, -0.35693371295928955, -0.10256043076515198, 0.05476175993680954, 0.04727863520383835, 0.6672409772872925, 0.436627060174942, -0.5178109407424927, -0.5798444151878357, -0.19974680244922638, -0.22096385061740875, -0.4190138876438141, 0.4588019847869873, -0.7701789736747742, 0.1922796219587326, 0.4053676128387451, 1.0449254512786865, 0.12556196749210358, -0.16229155659675598, 0.4820711612701416, -0.8131575584411621, 0.4899141192436218, 0.10063190758228302, 0.17375843226909637, 0.3025248646736145, -0.4580775797367096, 0.9007335901260376, 0.05392938479781151, -0.5861594676971436, -0.7672886848449707, -0.014298863708972931, -0.6002281308174133, -0.2577941119670868, 1.1414870023727417, 0.018118659034371376, -0.27023619413375854, -0.3704431653022766, -0.2707279920578003, 0.04562552645802498, -0.19048503041267395, 0.6856263875961304, 0.6387991905212402, -0.20242878794670105, -0.36301547288894653, -0.682809054851532, 0.8304650187492371, 0.28486645221710205, -0.9718904495239258, 0.031822096556425095, 0.4295714497566223, 0.17515553534030914, -0.04549328237771988, 0.6727845072746277, 0.12056097388267517, 0.18173973262310028, 0.2720873951911926, -0.1755848228931427, 0.048877011984586716, -0.14422152936458588, -0.22717897593975067, 0.10119883716106415, 0.4737466275691986, 0.04838302731513977 ]
http://arxiv.org/abs/2405.17067v1
http://arxiv.org/pdf/2405.17067v1
Tokenization Matters! Degrading Large Language Models through Challenging Their Tokenization
2024-05-27T11:39:59
2024-05-27T11:39:59
Dixuan Wang, Yanda Li, Junyuan Jiang, Zepeng Ding, Guochao Jiang, Jiaqing Liang, Deqing Yang
cs.CL
cs.CL, cs.AI
Large Language Models (LLMs) have shown remarkable capabilities in language understanding and generation. Nonetheless, it was also witnessed that LLMs tend to produce inaccurate responses to specific queries. This deficiency can be traced to the tokenization step LLMs must undergo, which is an inevitable limitation inherent to all LLMs. In fact, incorrect tokenization is the critical point that hinders LLMs in understanding the input precisely, thus leading to unsatisfactory output. To demonstrate this flaw of LLMs, we construct an adversarial dataset, named as $\textbf{ADT (Adversarial Dataset for Tokenizer)}$, which draws upon the vocabularies of various open-source LLMs to challenge LLMs' tokenization. ADT consists of two subsets: the manually constructed ADT-Human and the automatically generated ADT-Auto. Our empirical results reveal that our ADT is highly effective on challenging the tokenization of leading LLMs, including GPT-4o, Llama-3, Qwen2.5-max and so on, thus degrading these LLMs' capabilities. Moreover, our method of automatic data generation has been proven efficient and robust, which can be applied to any open-source LLMs. To the best of our knowledge, our study is the first to investigating LLMs' vulnerability in terms of challenging their token segmentation, which will shed light on the subsequent research of improving LLMs' capabilities through optimizing their tokenization process and algorithms.
[ -0.1542578935623169, -1.0187041759490967, 0.35810866951942444, -0.0714789479970932, -0.3089117705821991, 0.30439335107803345, -0.08157177269458771, -0.2691795229911804, 0.08321303129196167, 0.49108830094337463, -0.23854069411754608, -0.4316627085208893, -0.777902364730835, 0.0001815308933146298, -0.5133989453315735, 1.064034104347229, 0.02197909727692604, 0.23188860714435577, -0.06456279754638672, -0.198286771774292, -0.5900048017501831, -0.784559428691864, -0.9477847814559937, -0.07930003851652145, 0.6028653979301453, 0.05297286435961723, 0.8124661445617676, 0.8034758567810059, 0.5312545895576477, 0.3321058750152588, -0.23665328323841095, 0.18007530272006989, -0.5963714718818665, 0.1230066791176796, -0.009851126000285149, -0.7159414887428284, -0.38672927021980286, -0.14638131856918335, 0.3662099838256836, 0.5943690538406372, 0.15924379229545593, 0.21188031136989594, -0.27046671509742737, 0.6402031183242798, -0.3989129662513733, 0.10215609520673752, -1.2663756608963013, -0.094488725066185, -0.48819053173065186, 0.007207438349723816, -0.3205772340297699, -0.2564695179462433, -0.4854295551776886, -0.47564345598220825, 0.37774592638015747, -0.0003566727682482451, 0.6673575639724731, 0.3944457769393921, -0.5707371830940247, -0.28016799688339233, -0.6662722229957581, 0.5039135217666626, -0.6494700908660889, 0.12996767461299896, 0.25634515285491943, 0.06526120752096176, -0.4571309983730316, -0.5858361721038818, -0.5646158456802368, -0.0744965672492981, 0.06502258777618408, -0.23815231025218964, -0.40169551968574524, 0.0014450500020757318, 0.19204027950763702, 0.3699885308742523, -0.642909824848175, 0.31812161207199097, -0.40949541330337524, -0.43532320857048035, 0.3093418776988983, 0.2322438359260559, 0.39009103178977966, -0.1641363948583603, -0.32661157846450806, -0.20514091849327087, -1.1430084705352783, -0.17491638660430908, 0.632890522480011, 0.3476942479610443, 0.5158807635307312, 0.6784231066703796, 0.32052934169769287, 0.40150272846221924, 0.1491619497537613, 0.3067588806152344, 0.08097169548273087, -0.2569417357444763, -0.19745329022407532, -0.009922575205564499, 0.843115508556366, 0.0490664578974247, 0.06081700325012207, -0.1919102966785431, -0.3332616686820984, 0.015738435089588165, 0.11089814454317093, -0.6269459128379822, -0.05423310771584511, 0.31841713190078735, -0.1834307610988617, -0.5166025161743164, 0.08278001844882965, -0.2974955141544342, -0.6420671343803406, 0.037306033074855804, 0.47437340021133423, -0.2814811170101166, -0.10811658948659897, -0.10139743983745575, 0.11427076905965805, 0.023626016452908516, 0.23856627941131592, -0.8487882614135742, 0.10237308591604233, 0.8664073348045349, 0.8256200551986694, -0.07848069071769714, -0.21115250885486603, -0.6520833969116211, 0.08217345178127289, -0.5148905515670776, 0.46451082825660706, -0.2601052224636078, -0.44857630133628845, -0.19741632044315338, -0.09058815985918045, -0.01627993769943714, -0.7475408315658569, 0.45815786719322205, -0.7679274678230286, 0.13164359331130981, -0.3739631772041321, -0.5156607031822205, 0.13882341980934143, 0.29378780722618103, -0.7539389133453369, 0.8198026418685913, -0.07769040763378143, -0.8934037685394287, 0.3873955309391022, -0.7855401635169983, -0.452795147895813, 0.011016933247447014, -0.256814181804657, -0.47063347697257996, 0.2649029493331909, 0.39186111092567444, 0.3540428578853607, -0.13359634578227997, 0.39581239223480225, -0.26071611046791077, -0.33560898900032043, 0.45068326592445374, -0.5987911820411682, 0.8902818560600281, 0.14702242612838745, -0.2969936728477478, 0.22282911837100983, -0.6829918026924133, -0.3052107095718384, 0.5721974968910217, -0.4315148591995239, -0.412207692861557, -0.11073552072048187, -0.09388840943574905, 0.15699096024036407, 0.2759608030319214, -0.6577199697494507, 0.26856786012649536, -0.6440988183021545, 0.6916670799255371, 1.2267918586730957, -0.10539749264717102, 0.2402089685201645, -0.09350886195898056, 0.518052875995636, 0.3001452684402466, 0.2165454477071762, -0.18551908433437347, -0.2734667658805847, -0.71309494972229, -0.17498759925365448, 0.41535812616348267, 0.5002889037132263, -0.7477576732635498, 0.4142567217350006, -0.2667132616043091, -0.40308839082717896, -0.49436116218566895, 0.06294087320566177, 0.21242602169513702, 0.42537474632263184, 0.2871220111846924, -0.10661659389734268, -0.5974630117416382, -0.8117462992668152, -0.3003266453742981, -0.6393309235572815, -0.05192190036177635, 0.18488933145999908, 0.6006967425346375, -0.37289270758628845, 0.867143452167511, -0.3919847011566162, -0.33808934688568115, -0.06112317740917206, -0.033289484679698944, 0.04907424747943878, 0.35461947321891785, 0.4717022776603699, -0.7272313833236694, -0.12482333928346634, -0.23012539744377136, -0.2710275650024414, -0.00113069755025208, -0.08009172230958939, 0.05306494981050491, 0.2436351478099823, 0.5826528072357178, -0.6319271922111511, 0.28918930888175964, 0.5273460745811462, -0.5525481700897217, 0.469760537147522, -0.13135969638824463, -0.11709990352392197, -1.1590619087219238, 0.19056929647922516, -0.43239638209342957, -0.22531522810459137, -0.48297321796417236, -0.0374612882733345, 0.019010839983820915, -0.2777841091156006, -0.4124039113521576, 0.6717620491981506, -0.2121930569410324, 0.07165134698152542, -0.19807521998882294, -0.04983644559979439, 0.027911154553294182, 0.22765560448169708, -0.46375009417533875, 0.8756569027900696, 0.34379512071609497, -0.26582229137420654, 0.6674405932426453, 0.4188893437385559, -0.054020319133996964, 0.08724462985992432, -0.7885729074478149, 0.31811487674713135, -0.085108183324337, 0.41263070702552795, -1.0192897319793701, -0.11413343995809555, 0.3764641284942627, -0.587041974067688, 0.34834593534469604, -0.22693009674549103, -0.7559376358985901, -0.2030397206544876, -0.3674452304840088, 0.3859981894493103, 0.2563692629337311, -0.5119681358337402, 0.05605329945683479, 0.4908097982406616, -0.023019839078187943, -0.6757162809371948, -0.8890544772148132, 0.5937929749488831, -0.3436797559261322, -0.5056429505348206, 0.145760640501976, -0.026725580915808678, -0.32801786065101624, -0.043633926659822464, -0.09124449640512466, 0.1812465637922287, 0.3511996865272522, 0.1639840453863144, 0.18599556386470795, -0.13861146569252014, 0.3844278156757355, -0.2775937020778656, -0.10523318499326706, 0.18401837348937988, -0.3000549077987671, 0.6457833647727966, -0.1291712075471878, -0.8401765823364258, -0.14437593519687653, 0.1973070651292801, 0.859115481376648, -0.17199908196926117, 0.8376012444496155, 0.7292588353157043, -0.3116160035133362, -0.08024685084819794, -0.495753675699234, -0.1320968121290207, -0.4578079879283905, 0.6067007184028625, -0.27070140838623047, -0.9255030751228333, 0.719054639339447, 0.06854336708784103, 0.14179445803165436, 0.5933758020401001, 0.5002707242965698, 0.4058310091495514, 1.2338223457336426, 0.3031952381134033, -0.4984454810619354, 0.3590320348739624, -0.256911039352417, 0.23456396162509918, -0.6807373762130737, -0.08483671396970749, -0.42605656385421753, -0.2689565420150757, -0.49977606534957886, -0.41531944274902344, 0.37986183166503906, -0.1080014780163765, -0.1615094393491745, 0.26008927822113037, -0.35626402497291565, 0.47517168521881104, 0.35485848784446716, 0.03766403719782829, 0.20289228856563568, -0.004036597907543182, -0.10928747802972794, 0.05666826292872429, -0.6726371645927429, -0.5877759456634521, 1.363356113433838, 0.5420969128608704, 0.6425983309745789, 0.1526225358247757, 0.6572101712226868, 0.34161174297332764, 0.1318781077861786, -0.8268123865127563, 0.4844187796115875, -0.26564449071884155, -0.6770576238632202, -0.3584729731082916, -0.6454619765281677, -1.078729271888733, 0.22440391778945923, 0.20843176543712616, -0.4098964333534241, 0.11455812305212021, 0.15363340079784393, -0.08917737752199173, 0.5904944539070129, -0.5984775424003601, 0.8252871632575989, -0.331684410572052, -0.11964721977710724, 0.04260431230068207, -0.40856683254241943, 0.281462162733078, -0.3358791470527649, 0.35731810331344604, -0.0863516703248024, -0.32880911231040955, 0.7665973901748657, -0.6391634345054626, 0.9407817721366882, -0.30256637930870056, -0.32046523690223694, 0.15048092603683472, 0.21525754034519196, 0.7746501564979553, 0.13595376908779144, -0.12800650298595428, 0.07427100837230682, -0.2944486439228058, -0.5819991827011108, -0.5279386639595032, 0.8182779550552368, -0.8049407005310059, -0.6681687235832214, -0.21742479503154755, -0.25195398926734924, -0.22350211441516876, 0.14531631767749786, 0.3322872221469879, 0.43121060729026794, -0.5136303901672363, 0.03537535294890404, 0.456948459148407, -0.13891567289829254, 0.21451281011104584, 0.24855905771255493, -0.052813030779361725, -0.44861212372779846, 1.1673489809036255, 0.16650328040122986, 0.2793393135070801, 0.10806801170110703, 0.1633014678955078, -0.33493471145629883, -0.9574487209320068, -0.5635820627212524, 0.09148673713207245, -0.883793830871582, -0.3647775650024414, -0.4957031011581421, -0.10446229577064514, -0.5200659036636353, 0.1731286346912384, -0.4357898235321045, -0.6121834516525269, -0.5175568461418152, -0.23949111998081207, 0.0680447369813919, 0.921373188495636, -0.0774805024266243, 0.06805668026208878, -0.7238975763320923, 0.10154399275779724, 0.42645567655563354, 0.049540966749191284, -0.07928081601858139, -0.5083407759666443, -0.13795259594917297, 0.04645540937781334, -0.2821228802204132, -0.6756467819213867, 0.13020366430282593, 0.07812575250864029, 0.3988502621650696, 0.47345057129859924, 0.08286324888467789, 0.6644229888916016, -0.38471460342407227, 0.8537555932998657, 0.10643994063138962, -1.0019378662109375, 0.45783695578575134, -0.3164843022823334, 0.24369774758815765, 0.5093116760253906, -0.02095101773738861, -0.6443116068840027, -0.6458461880683899, -0.7745234966278076, -1.2808841466903687, 0.657561182975769, 0.34524381160736084, 0.32758721709251404, -0.26280054450035095, 0.4449889659881592, 0.12142253667116165, 0.15945544838905334, -0.6966250538825989, -0.29819512367248535, -0.12984146177768707, -0.2098485231399536, 0.015916893258690834, -0.305605411529541, -0.1757921576499939, 0.08676841109991074, 0.7491089701652527, -0.10420484095811844, -0.0834682360291481, 0.08555679768323898, -0.1971748024225235, -0.16120341420173645, 0.2302982062101364, 0.5304507613182068, 0.6285656690597534, 0.1963389813899994, 0.3125063478946686, 0.2827102243900299, -0.43156376481056213, 0.2609502375125885, -0.02378094010055065, -0.2299049347639084, -0.022447101771831512, 0.46017757058143616, 0.8417903184890747, -0.1898498237133026, -0.7126021981239319, 0.6812278628349304, -0.28266382217407227, -0.11466491222381592, -0.25374436378479004, -0.06251410394906998, -0.07519128918647766, 0.058152731508016586, 0.5142220854759216, 0.19952446222305298, -0.09140443056821823, -0.4415656626224518, 0.14173884689807892, 0.613059937953949, -0.3299308717250824, -0.4166310429573059, 0.723730206489563, 0.28402918577194214, -0.10531678795814514, 0.32199764251708984, -0.18730445206165314, -0.7029064893722534, 0.7421168684959412, 0.4656643271446228, 0.9414543509483337, -0.12309624999761581, 0.03578197956085205, 0.19939081370830536, 0.49663370847702026, 0.054381705820560455, -0.19858790934085846, 0.16172711551189423, -0.6344149708747864, -0.3876206874847412, -0.4459398090839386, -0.31621840596199036, 0.5374388694763184, -0.3228755295276642, 0.09139562398195267, -0.5596523284912109, -0.24018850922584534, -0.15437091886997223, -0.05495525896549225, -0.4073778986930847, -0.05483542010188103, 0.19108380377292633, 0.6499661803245544, -0.848035454750061, 0.4763656556606293, 0.7154190540313721, -0.16157281398773193, -0.39138272404670715, 0.1955673098564148, 0.046505071222782135, -1.0282909870147705, 0.9225890040397644, -0.08688190579414368, -0.07453560084104538, -0.003922044765204191, -0.5110606551170349, -0.6792581081390381, 0.8654621243476868, 0.4980382025241852, -0.3303218483924866, 0.027057716622948647, 0.35430648922920227, 0.4092724323272705, -0.017218517139554024, 0.053853027522563934, 0.43313533067703247, 0.5912460088729858, 0.064157634973526, -0.852107584476471, 0.27173930406570435, -0.09787935763597488, -0.01890662871301174, 0.3789105713367462, -0.7908247113227844, 0.8971633315086365, -0.3582626283168793, -0.38892436027526855, -0.033987000584602356, 0.34091389179229736, -0.01835041493177414, -0.06499426811933517, 0.6525392532348633, 0.5277537703514099, 0.789498507976532, -0.05425279587507248, 0.6471467018127441, -0.0447687990963459, 0.2488248646259308, 0.8372154831886292, -0.08900871127843857, 0.5178269147872925, 0.6269674897193909, -0.26855340600013733, -0.17754006385803223, 0.5690475702285767, -0.14158014953136444, 0.059087518602609634, 0.652285099029541, -0.21827465295791626, -0.10883467644453049, 0.06476299464702606, -0.2803795337677002, 0.6061255931854248, 0.35405227541923523, -0.23059338331222534, -0.16851375997066498, 0.09548588842153549, 0.3011450171470642, 0.022957585752010345, -0.20678271353244781, 0.8928781151771545, -0.1530808061361313, -0.15969933569431305, 0.7656275629997253, 0.29585394263267517, 0.5764172077178955, -0.5472712516784668, 0.2614040672779083, -0.31103280186653137, 0.2715652883052826, -0.17121243476867676, -0.38500866293907166, 0.42118507623672485, 0.222346231341362, 0.0022908668033778667, -0.16779647767543793, 0.6635715365409851, -0.3249468505382538, -0.5022541284561157, 0.18229609727859497, 0.5170586705207825, 0.0792696475982666, -0.3243533670902252, -0.7224036455154419, 0.22700904309749603, 0.08674667030572891, -0.5551198720932007, 0.4700873792171478, 0.5063226819038391, -0.036958079785108566, 0.7065408229827881, 0.844870388507843, 0.38364437222480774, 0.016970064491033554, 0.05454963073134422, 1.0946966409683228, -0.523703932762146, -0.22031867504119873, -1.2388149499893188, 0.2121681571006775, -0.02315746620297432, -0.1854662001132965, 0.6809457540512085, 0.8695927858352661, 0.8635244965553284, 0.13207603991031647, 0.9671801328659058, 0.044975947588682175, 0.33006930351257324, -0.5208491683006287, 0.8213276267051697, -0.5585905313491821, 0.5598354935646057, 0.0737866759300232, -0.549618661403656, -0.5404039025306702, 0.09499044716358185, -0.22509562969207764, -0.08250879496335983, 0.42569535970687866, 0.7498237490653992, 0.04755229875445366, -0.47078099846839905, 0.3729648292064667, 0.3661666214466095, 0.7336056232452393, 0.46962615847587585, 0.8452627062797546, -0.5712132453918457, 1.06270432472229, 0.031271062791347504, -0.09898586571216583, -0.2856030762195587, -0.5986374020576477, -1.0307525396347046, -0.5349865555763245, -0.22732965648174286, -0.3683983385562897, 0.19699615240097046, 0.8418568968772888, 0.4012218713760376, -0.9430137276649475, 0.036232467740774155, -0.25741124153137207, 0.23198118805885315, 0.2849980890750885, -0.2245219200849533, 0.6061583757400513, -0.4493923485279083, -0.7405070066452026, 0.5152580738067627, 0.06537461280822754, 0.319245845079422, -0.5302522778511047, 0.1616271585226059, 0.24062420427799225, -0.005539608653634787, 0.40536490082740784, 0.0990322008728981, -0.796414852142334, -0.3769909739494324, -0.05894717946648598, -0.18269483745098114, 0.0473925955593586, 1.0411109924316406, -0.5735849142074585, 0.30607980489730835, 0.5189504623413086, 0.6773163676261902, 0.014799500815570354, 0.04279983788728714, 0.5930219888687134, -0.8415886163711548, 0.10928025841712952, 0.3337291181087494, 0.30839797854423523, 0.4981386959552765, -0.5075090527534485, 0.2596822679042816, 0.41251933574676514, -0.5250886082649231, -0.9270303249359131, 0.35430777072906494, -0.4497683346271515, -0.5182734131813049, 1.1424809694290161, -0.04209700971841812, -0.26940423250198364, -0.18810002505779266, -0.4897168278694153, 0.33670541644096375, -0.3503964841365814, 0.8782164454460144, 0.7436532378196716, 0.07050061970949173, 0.34438207745552063, -0.265807569026947, 0.44607600569725037, 0.3473287522792816, -0.5269965529441833, 0.5673155188560486, 0.3095335364341736, 0.3047102689743042, 0.015794901177287102, 0.5433066487312317, -0.2786324620246887, -0.11849617213010788, -0.016897249966859818, -0.14700080454349518, -0.5091630816459656, 0.048456285148859024, -0.5436477065086365, 0.22228384017944336, 0.37143591046333313, -0.38953697681427 ]
http://arxiv.org/abs/2405.17062v2
http://arxiv.org/pdf/2405.17062v2
Unifying Demonstration Selection and Compression for In-Context Learning
2024-05-27T11:31:58
2024-06-15T21:16:57
Jun Gao, Ziqiang Cao, Wenjie Li
cs.CL
cs.CL
In-context learning (ICL) facilitates large language models (LLMs) exhibiting spectacular emergent capabilities in various scenarios. Unfortunately, introducing demonstrations easily makes the prompt length explode, bringing a significant burden to hardware. In addition, random demonstrations usually achieve limited improvements in ICL, necessitating demonstration selection among accessible candidates. Previous studies introduce extra modules to perform demonstration compression or selection independently. In this paper, we propose an ICL framework UniICL, which Unifies demonstration selection and compression, and final response generation via a single frozen LLM. Specifically, UniICL first projects actual demonstrations and inference text inputs into short virtual tokens, respectively. Then, virtual tokens are applied to select suitable demonstrations by measuring semantic similarity within latent space among candidate demonstrations and inference input. Finally, inference text inputs together with selected virtual demonstrations are fed into the same frozen LLM for response generation. Notably, UniICL is a parameter-efficient framework that only contains 17M trainable parameters originating from the projection layer. We conduct experiments and analysis over in- and out-domain datasets of both generative and understanding tasks, encompassing ICL scenarios with plentiful and limited demonstration candidates. Results show that UniICL effectively unifies $12 \times$ compression, demonstration selection, and response generation, efficiently scaling up the baseline from 4-shot to 64-shot ICL in IMDb with 24 GB CUDA allocation
[ -0.6050322651863098, -0.35526710748672485, 0.26753824949264526, 0.439832866191864, -0.6639761924743652, 0.0758775845170021, -0.49890121817588806, -0.1784364879131317, -0.2557118535041809, 0.19057464599609375, -0.34965357184410095, -0.3783577084541321, -0.18358144164085388, 0.012264122255146503, -0.6339057683944702, 1.0501583814620972, 0.11206728219985962, -0.15029612183570862, -0.6249263882637024, -0.10881820321083069, -0.22095242142677307, -0.3739004135131836, -0.35365965962409973, -0.5508823394775391, -0.17213957011699677, 0.8604576587677002, 0.1450851708650589, 0.37169787287712097, -0.11768102645874023, 0.22569911181926727, 0.04095619171857834, 0.1706264764070511, -0.2744527757167816, 0.15318140387535095, -0.06707219034433365, 0.07887548953294754, 0.2200014740228653, -0.17577382922172546, 0.7652198672294617, 0.6338721513748169, 0.1259741336107254, 0.33993613719940186, 0.4914199709892273, 0.2844941020011902, -0.7230063676834106, -0.01287013478577137, -0.8046490550041199, 0.07989656925201416, -0.017872052267193794, -0.04744531586766243, -0.6340495944023132, 0.2690839171409607, 0.29527613520622253, -0.34289777278900146, 0.2013457715511322, -0.06118332967162132, 0.43288516998291016, 0.15867871046066284, -0.4593580663204193, 0.026610232889652252, -0.6905582547187805, 0.6645772457122803, -0.6721581220626831, 0.179323211312294, -0.1106969565153122, 0.19710490107536316, -0.13331839442253113, -0.9748115539550781, -0.46195119619369507, -0.1973012387752533, -0.1261633038520813, 0.23134006559848785, -0.07800497859716415, -0.0007608291925862432, 0.23544038832187653, 0.26126256585121155, -0.539269745349884, 0.48360103368759155, -0.260567843914032, -0.3222317099571228, 0.23943379521369934, -0.02509359084069729, 0.13786287605762482, -0.06287078559398651, -0.8412691950798035, -0.40734338760375977, -0.9445606470108032, 0.1844935566186905, 0.08329232037067413, 0.29303470253944397, -0.2481156438589096, 0.29320114850997925, -0.15307211875915527, 0.745882511138916, 0.09942496567964554, 0.02157324180006981, -0.07819060981273651, -0.026338903233408928, -0.5327802896499634, 0.17514637112617493, 0.8861687183380127, 0.22258159518241882, -0.2714901566505432, -0.13255156576633453, -0.13552147150039673, 0.05498112365603447, 0.047730326652526855, -1.0508031845092773, -0.07007647305727005, 0.28512901067733765, -0.20228706300258636, -0.07136334478855133, 0.20133312046527863, -1.060739517211914, -0.1295570284128189, -0.21600119769573212, 0.35829854011535645, -0.3178490996360779, -0.12219679355621338, 0.15055964887142181, -0.13509663939476013, -0.07139541208744049, 0.18050189316272736, -0.6908069849014282, 0.42681464552879333, 0.26529449224472046, 0.6046416759490967, -0.3453729748725891, -0.23671352863311768, -0.7756014466285706, 0.1730995923280716, -0.13027752935886383, 0.843625009059906, -0.35471147298812866, -0.3913327753543854, 0.216231107711792, -0.36703047156333923, 0.06922091543674469, -0.590599536895752, 0.3379054367542267, -0.40684446692466736, 0.2335766851902008, 0.3402409851551056, -0.5219557285308838, -0.11914149671792984, 0.0621720515191555, -0.37298065423965454, 0.7896605134010315, 0.08102881908416748, -0.8147443532943726, 0.5252631306648254, -0.7897403240203857, -0.5193310379981995, 0.2520272731781006, -0.5317235589027405, -0.37852948904037476, 0.15243658423423767, 0.2465590387582779, 0.714942216873169, -0.48669469356536865, 0.2881448268890381, -0.14961089193820953, -0.5797880291938782, 0.407429039478302, -0.6529482007026672, 0.46550875902175903, 0.32900527119636536, -0.8090459108352661, 0.306854248046875, -0.8404525518417358, 0.298823744058609, -0.14440996944904327, -0.6305148005485535, -0.10711797326803207, -0.20449137687683105, 0.20393018424510956, 0.305355429649353, -0.038285572081804276, -0.5503394603729248, 0.17941062152385712, -0.41977551579475403, 0.4506382644176483, 0.6276551485061646, -0.08117267489433289, 0.35076624155044556, 0.020099664106965065, 0.40793368220329285, 0.12068390101194382, 0.1073266863822937, -0.14116136729717255, -0.012603292241692543, -0.5406830906867981, -0.39952102303504944, 0.2641764283180237, 0.16468161344528198, -0.8060462474822998, 0.09521587938070297, -0.30858105421066284, -0.08046666532754898, -0.25755074620246887, 0.12815654277801514, 0.7787430286407471, 0.5630725622177124, 0.2997716963291168, 0.008631154894828796, -0.46959513425827026, -0.9239855408668518, 0.08760310709476471, -0.38465622067451477, -0.360334575176239, 0.03741934895515442, 0.2926143407821655, 0.23229387402534485, 0.9149491190910339, -0.1044660210609436, -0.15896295011043549, -0.4832715690135956, 0.40058889985084534, 0.07741387188434601, 0.3640280067920685, 0.5588697195053101, -1.0372556447982788, -0.6352251172065735, -0.03934943675994873, -0.5046260356903076, -0.1571616232395172, -0.32158321142196655, 0.22401590645313263, 0.06264933943748474, 0.5761058926582336, -0.44583767652511597, 0.6179855465888977, 0.48607367277145386, -0.1310531497001648, 0.38031110167503357, -0.4766552746295929, 0.038318317383527756, -1.082227110862732, -0.22324934601783752, -0.12819471955299377, -0.12476185709238052, -0.5389889478683472, 0.14793018996715546, 0.34927722811698914, 0.0294636283069849, -0.8966051340103149, 0.5776437520980835, -0.6535339951515198, -0.28957703709602356, -0.2994444668292999, 0.15753485262393951, -0.061441466212272644, 0.5510078072547913, 0.003444257890805602, 0.9610236883163452, 0.6878678798675537, -0.8280853629112244, -0.16556395590305328, 0.1595766842365265, -0.5577905178070068, 0.28471076488494873, -0.4427297115325928, 0.19787561893463135, -0.0880725309252739, 0.21465399861335754, -0.8580134510993958, -0.49952808022499084, -0.002711621345952153, -0.10196967422962189, 0.47567757964134216, -0.15318316221237183, -0.6911131739616394, -0.2661164104938507, -0.2870839536190033, 0.4369586110115051, 0.6156143546104431, -1.052721381187439, 0.5142313241958618, 0.07669436931610107, 0.5027461051940918, -0.5276390910148621, -0.6544237732887268, -0.0362669974565506, -0.6271276473999023, -0.23151670396327972, 0.5791037082672119, -0.7458206415176392, -0.29501670598983765, -0.2709011137485504, -0.010071643628180027, 0.10323989391326904, 0.21550482511520386, 0.5210805535316467, -0.011396689340472221, -0.04470674693584442, 0.13155998289585114, 0.38719087839126587, 0.1581229865550995, -0.19698677957057953, -0.45275408029556274, 0.529572606086731, -0.1672322154045105, -0.49908557534217834, -0.3157113790512085, 0.6001887321472168, 0.7378664612770081, -0.02931363321840763, 0.3533661663532257, 0.38943663239479065, -0.22254998981952667, -0.4089696407318115, -0.14412303268909454, -0.21554328501224518, -0.4387160539627075, 0.15808217227458954, -0.32358112931251526, -0.9761801362037659, 0.2845892906188965, -0.3996606767177582, 0.41964223980903625, 0.05446092411875725, 0.4976995587348938, 0.24465303122997284, 1.0812915563583374, 0.5677667856216431, 0.17816650867462158, 0.38609936833381653, -0.21434332430362701, -0.07951415330171585, -1.027612566947937, -0.1690046489238739, -0.32514145970344543, -0.18122954666614532, 0.04187416657805443, -0.2991339862346649, 0.6087507009506226, 0.4156259000301361, -0.34989485144615173, 0.22003482282161713, -0.4407828152179718, 0.5719151496887207, 0.4328146278858185, 0.05523340776562691, 0.0467284694314003, 0.23040099442005157, -0.6233038306236267, -0.051442284137010574, -0.7251808047294617, -0.4601162075996399, 0.8672584295272827, -0.05929027870297432, 0.6063731908798218, 0.36453139781951904, 0.4654799699783325, 0.2535625696182251, 0.49239981174468994, -0.37643682956695557, 0.7229270935058594, -0.19320076704025269, -0.24484187364578247, -0.13031208515167236, -0.04962237551808357, -0.7091715931892395, 0.4619240164756775, -0.17514896392822266, -1.1079179048538208, 0.030032675713300705, 0.2847776710987091, -0.5562264919281006, 0.3669404983520508, -0.593215823173523, 0.5473088026046753, -0.16655460000038147, -0.30914217233657837, -0.13079732656478882, -0.8509210348129272, 0.3952775299549103, -0.10435062646865845, 0.13481564819812775, 0.16439160704612732, 0.19693468511104584, 0.48193010687828064, -0.21670684218406677, 1.092077612876892, 0.001969525357708335, 0.2037063091993332, 0.3251676559448242, 0.23962649703025818, 0.22167816758155823, 0.4338672459125519, -0.10838940739631653, -0.294302761554718, -0.29581430554389954, -0.13449515402317047, -0.6949498057365417, 0.7350713014602661, -0.4895366132259369, -0.545343279838562, -0.05224046856164932, -0.5410779118537903, -0.3332400918006897, 0.010149545967578888, 0.6124241948127747, 1.0463759899139404, -0.16237014532089233, 0.4287433624267578, 0.7553301453590393, -0.056406158953905106, 0.8892579674720764, 0.5226004123687744, -0.24172861874103546, -0.3442017734050751, 0.6134598255157471, -0.2715975046157837, 0.5468255877494812, 0.5490989685058594, 0.2283661663532257, -0.29861417412757874, -0.733246922492981, -0.7231304049491882, -0.22711709141731262, -0.9337700009346008, -0.46676644682884216, -0.6520077586174011, -0.11268643289804459, -0.3468157649040222, -0.2004549354314804, -0.29809120297431946, -0.18101133406162262, -0.6258586049079895, -0.2018631249666214, 0.12147776782512665, 0.5617990493774414, -0.3093802332878113, 0.4220409393310547, -0.5033139586448669, 0.012534813955426216, 0.46988773345947266, -0.0032296942081302404, 0.053031839430332184, -0.6538459658622742, -0.1436871588230133, -0.02784072235226631, -0.24777226150035858, -0.5827135443687439, 0.2995865046977997, 0.6050391793251038, 0.5053898692131042, 0.8120440244674683, 0.6063929796218872, 0.9073647856712341, -0.3199574649333954, 0.9297414422035217, 0.3104102909564972, -0.8953704833984375, 0.433599054813385, 0.20988330245018005, 0.5856338143348694, 0.37463629245758057, 0.30868667364120483, -0.14526934921741486, -0.4312995672225952, -0.6648144125938416, -1.0027707815170288, 0.4555421471595764, 0.02957930788397789, 0.30444759130477905, -0.10982034355401993, 0.24604561924934387, 0.39358511567115784, 0.0843442752957344, -0.6927054524421692, -0.208008274435997, -0.15933866798877716, -0.06165323778986931, 0.13968157768249512, -0.2646331191062927, -0.421960711479187, -0.18123266100883484, 0.5013437867164612, -0.7480466961860657, 0.19744563102722168, 0.1826319396495819, -0.26410070061683655, 0.0049057709984481335, 0.48244956135749817, 0.6809735894203186, 0.641523540019989, -0.0549478605389595, 0.4956431984901428, 0.18985378742218018, -0.052908167243003845, 0.11806932836771011, 0.07347866147756577, -0.16471236944198608, -0.18963739275932312, 0.4119654595851898, 0.9232326149940491, 0.7143847942352295, -1.0345309972763062, 0.5911445617675781, -0.4101552367210388, -0.20118393003940582, -0.38770225644111633, -0.04860719293355942, -0.26153525710105896, 0.4135945439338684, 0.44587549567222595, -0.10767882317304611, 0.14942201972007751, -0.4582400321960449, 0.4344021677970886, 0.37045034766197205, -0.4294535219669342, -0.3223915994167328, 0.7438810467720032, -0.2708459794521332, -0.10785793513059616, 0.6943249106407166, -0.24991673231124878, -0.5023950934410095, 0.40968602895736694, 1.0011156797409058, 0.6736782193183899, 0.13856187462806702, 0.508406400680542, 0.14897236227989197, -0.2178458720445633, 0.04833429679274559, 0.050223059952259064, -0.4637666940689087, -0.6148300766944885, -0.3083288073539734, -0.37112152576446533, -0.18506699800491333, 0.24830248951911926, -0.8214890360832214, 0.18660378456115723, -0.4260038137435913, 0.1691887080669403, -0.29150447249412537, -0.2302314043045044, -0.6206684112548828, 0.11851003766059875, 0.136897474527359, 0.9758936166763306, -0.7442883253097534, 0.9138878583908081, 0.7896741628646851, -0.24162986874580383, -0.8557120561599731, 0.234136700630188, 0.027375012636184692, -0.40616703033447266, 0.7191681265830994, 0.2335805892944336, -0.05428164452314377, -0.00020984151342418045, -0.9226073026657104, -0.5193957090377808, 1.1123862266540527, 0.6602388620376587, -0.17429621517658234, 0.32512372732162476, -0.01798132434487343, 0.42194950580596924, -0.8659765124320984, 0.3229794204235077, 0.1359233409166336, 0.020503364503383636, 0.39028868079185486, -0.7626296877861023, -0.021076278761029243, 0.1333405077457428, 0.035335808992385864, -0.0865340307354927, -0.6945599317550659, 0.7397233247756958, -0.25170981884002686, -0.5526806116104126, 0.3059258759021759, 1.0018022060394287, 0.4370768070220947, 0.13497799634933472, 0.7473791241645813, 0.21155354380607605, 0.4079083204269409, 0.15806177258491516, 0.9055202007293701, -0.16506223380565643, 0.08382914215326309, 1.2414939403533936, -0.20532839000225067, 0.921330451965332, 0.6997536420822144, 0.19742624461650848, 0.45731550455093384, 0.7508954405784607, 0.5100030303001404, 0.770946741104126, 0.28632286190986633, -0.7288395166397095, -0.5236918926239014, -0.36625000834465027, -0.010381135158240795, 0.42344269156455994, 0.3926742374897003, -0.009235886856913567, -0.4607740044593811, 0.5489535927772522, 0.050839558243751526, 0.262877494096756, -0.1259130835533142, 0.6366739869117737, 0.016034161671996117, -0.7446858882904053, 0.5199298858642578, -0.26672282814979553, 0.5176379084587097, -0.5047926902770996, -0.2679910957813263, -0.3218057453632355, 0.06261341273784637, 0.05791397765278816, -0.7951987981796265, -0.12905631959438324, -0.02814733423292637, -0.06686883419752121, -0.31402885913848877, 0.5074530839920044, -0.5155154466629028, 0.007625916041433811, 0.37262552976608276, 0.0778309777379036, 0.3885505497455597, 0.02686440199613571, -0.4271593391895294, 0.23576577007770538, 0.050538986921310425, -0.13715125620365143, 0.8977006077766418, 0.4490991532802582, -0.2745392322540283, 0.7604687809944153, 0.5052841305732727, -0.3067292273044586, -0.020304206758737564, 0.08030297607183456, 1.2203173637390137, -0.006171441171318293, -0.34486937522888184, -0.6110410094261169, 0.8223996758460999, -0.18349601328372955, -0.40965184569358826, 0.5180227756500244, 0.5016459822654724, 1.0067673921585083, -0.1642817258834839, 0.7067398428916931, -0.19371846318244934, 0.2007521539926529, -0.7828566431999207, 0.2725721299648285, -0.6199728846549988, 0.39954376220703125, -0.07644712179899216, -0.5829625129699707, -0.38813143968582153, 0.2201547473669052, 0.28732118010520935, -0.332071989774704, 0.5601714253425598, 0.4395621716976166, -0.3098023533821106, -0.21226072311401367, 0.6363192200660706, -0.004902275279164314, 0.4071100950241089, 0.5857084393501282, 0.6833544373512268, -0.2195485532283783, 0.5718753933906555, -0.3637419044971466, -0.19503942131996155, -0.037294622510671616, -1.1531219482421875, -1.0114318132400513, -0.851411759853363, -0.46542423963546753, -0.16717314720153809, -0.2233932912349701, 1.315575122833252, 0.9999974966049194, -0.5458920001983643, -0.387149840593338, 0.111935093998909, -0.07234670966863632, -0.35763806104660034, -0.22347579896450043, 0.45746612548828125, -0.08501686900854111, -0.6431832909584045, 0.8574939966201782, 0.38635340332984924, 0.28006842732429504, -0.38253480195999146, -0.08697447925806046, 0.003944551106542349, -0.20126879215240479, 0.6286830902099609, 0.5127766728401184, -0.7829853296279907, -0.4700552821159363, -0.38202691078186035, 0.3454752564430237, 0.01417593564838171, 1.044820785522461, -1.0539216995239258, 0.404314249753952, 0.19355511665344238, 0.6530430912971497, 0.4685739576816559, -0.15296368300914764, 0.5368263125419617, -1.1436725854873657, 0.4725845456123352, 0.05781273543834686, 0.3938977122306824, 0.3691687285900116, -0.3495716452598572, 0.2572072446346283, -0.09755842387676239, -0.42468732595443726, -0.849076509475708, 0.4171461760997772, -0.8433881402015686, -0.5257787704467773, 1.051662564277649, -0.3400685787200928, -0.17070111632347107, 0.07532955706119537, -0.0833539292216301, 0.04044751450419426, -0.3062148988246918, 0.692338228225708, 0.3075524568557739, -0.3426324725151062, -0.3771771788597107, -0.41856950521469116, 0.43448057770729065, 0.24554577469825745, -0.7041705250740051, 0.14325034618377686, 0.4466764032840729, 0.10038647800683975, -0.005285987164825201, 0.34573885798454285, 0.051659051328897476, 0.11412055790424347, -0.37360239028930664, 0.054794058203697205, 0.0070394063368439674, -0.6159560680389404, -0.4493404030799866, 0.49508586525917053, 0.1039215698838234, -0.13176104426383972 ]
http://arxiv.org/abs/2405.17057v1
http://arxiv.org/pdf/2405.17057v1
ReflectionCoder: Learning from Reflection Sequence for Enhanced One-off Code Generation
2024-05-27T11:27:00
2024-05-27T11:27:00
Houxing Ren, Mingjie Zhan, Zhongyuan Wu, Aojun Zhou, Junting Pan, Hongsheng Li
cs.CL
cs.CL, cs.AI
Code generation plays a crucial role in various tasks, such as code auto-completion and mathematical reasoning. Previous work has proposed numerous methods to enhance code generation performance, including integrating feedback from the compiler. Inspired by this, we present ReflectionCoder, a novel approach that effectively leverages reflection sequences constructed by integrating compiler feedback to improve one-off code generation performance. Furthermore, we propose reflection self-distillation and dynamically masked distillation to effectively utilize these reflection sequences. Extensive experiments on three benchmarks, i.e., HumanEval (+), MBPP (+), and MultiPl-E, demonstrate that models fine-tuned with our method achieve state-of-the-art performance. Notably, ReflectionCoder-DeepSeek-Coder-33B reaches pass@1 of 82.9 (76.8) on HumanEval (+) and 84.1 (72.0) on MBPP (+), on par with GPT-3.5-Turbo and Claude-3-opus, and surpasses early GPT-4. Beyond the code domain, we believe this approach can benefit other domains that focus on final results and require long reasoning paths. Code and data are available at https://github.com/SenseLLM/ReflectionCoder.
[ -0.5451608896255493, -0.23689238727092743, 0.47350600361824036, 0.48678526282310486, -0.5235698223114014, 0.5036293268203735, 0.031293246895074844, -0.14167752861976624, 0.1322689801454544, 0.70243239402771, -0.41198015213012695, -0.267327219247818, -0.5732169151306152, -0.006776453461498022, -0.408000648021698, 0.982880711555481, 0.1382991224527359, 0.14245223999023438, -0.07593084871768951, 0.049401670694351196, -0.17383642494678497, -0.6018335819244385, -0.06870419532060623, -0.09937478601932526, 0.2289682924747467, 0.20117615163326263, 0.13848844170570374, 0.5363394021987915, 0.43431219458580017, 0.24717506766319275, 0.3023383319377899, 0.30918341875076294, -0.5533333420753479, 0.2094048410654068, 0.008632748387753963, 0.009790929034352303, -0.46529191732406616, -0.05133248493075371, 0.5641284584999084, 0.21120750904083252, -0.32983821630477905, 0.5187832713127136, 0.33325591683387756, 0.9192181825637817, -0.8730154037475586, 0.270038902759552, -0.45294827222824097, 0.36296191811561584, -0.042237672954797745, -0.45465484261512756, -0.5842066407203674, -0.8064062595367432, -0.15163682401180267, -0.33367684483528137, 0.3879159688949585, -0.41673487424850464, 0.22127605974674225, 0.678741991519928, -0.1497083604335785, -0.2819547951221466, -0.8007121086120605, 0.50182044506073, -0.7538444399833679, 0.21796977519989014, -0.07298661023378372, 0.41786161065101624, -0.042168356478214264, -1.015001654624939, -0.37484174966812134, -0.11314550787210464, 0.006848460528999567, 0.37989458441734314, 0.16614526510238647, 0.003931812010705471, 0.5266151428222656, 0.5788794755935669, -0.39113765954971313, -0.5280477404594421, -0.3675185739994049, 0.12474498152732849, 0.7065050005912781, 0.0482584647834301, -0.268326997756958, -0.1475497931241989, -0.35761114954948425, -0.17823506891727448, -0.8329095840454102, -0.12678050994873047, 0.17646953463554382, 0.12117864936590195, 0.23540930449962616, 0.04095203056931496, 0.050833236426115036, 0.6818838119506836, 0.3463478088378906, 0.2237059623003006, 0.13498125970363617, -0.09010176360607147, 0.15530134737491608, 0.22116658091545105, 0.5293814539909363, -0.11509468406438828, 0.09400691092014313, 0.20321469008922577, -0.317287802696228, 0.0227829422801733, 0.5287024974822998, -1.3468494415283203, -0.6752355098724365, -0.185610830783844, -0.3587934374809265, -0.3761172294616699, 0.3633307218551636, -1.0151996612548828, -0.28929802775382996, -0.2713911831378937, 0.40208005905151367, -0.08867444843053818, -0.27419549226760864, 0.24991336464881897, -0.1770794540643692, 0.14788982272148132, 0.3513130247592926, -0.544942319393158, 0.2929924726486206, 0.6509836316108704, 0.6635624766349792, 0.021695950999855995, -0.10243543982505798, -0.9313921332359314, -0.04139097034931183, -0.27851271629333496, 0.2545772194862366, -0.5633785128593445, -0.4827370345592499, -0.01078906562179327, -0.568272054195404, 0.2719968855381012, -0.6775871515274048, 0.07741885632276535, -0.5337454080581665, 0.11173922568559647, -0.19205375015735626, -0.5317296981811523, -0.12021758407354355, -0.10433780401945114, -0.6691582202911377, 1.1618539094924927, 0.30255573987960815, -0.6081105470657349, 0.5488297343254089, -0.7252262234687805, -0.5766412615776062, 0.24087253212928772, -0.4278121888637543, -0.48242509365081787, 0.5732032656669617, -0.06850717216730118, 0.3176907002925873, -0.2138204425573349, 0.2582264542579651, -0.25110742449760437, -0.4491380751132965, -0.05347597599029541, -0.3958349823951721, 0.6672564148902893, 0.4428956210613251, -0.7399955987930298, -0.24630938470363617, -1.1457257270812988, 0.3905572295188904, 0.06240856647491455, -0.3459012508392334, -0.02361852116882801, 0.07587680965662003, -0.334738552570343, 0.5521813631057739, 0.16729103028774261, -0.4761548936367035, 0.4894888699054718, -0.016309909522533417, 0.30053114891052246, 0.6287055015563965, 0.0737464502453804, -0.012733354233205318, -0.11300240457057953, 0.7056407332420349, -0.034637801349163055, 0.21197353303432465, -0.4047374725341797, -0.5376066565513611, -0.6859661936759949, -0.38196390867233276, 0.22193266451358795, 0.40908297896385193, -0.7078593969345093, 0.20253674685955048, -0.06941541284322739, -0.29113298654556274, -0.5343392491340637, 0.5077253580093384, 0.8690502047538757, 0.35098788142204285, 0.6664159893989563, -0.6284903883934021, -0.7234134674072266, -0.38580283522605896, -0.3849247992038727, -0.04851395636796951, 0.04020770266652107, -0.010288394056260586, 0.3070226311683655, 0.01613597944378853, 1.0397449731826782, -0.8431382775306702, -0.14567506313323975, -0.19660742580890656, 0.16236920654773712, 0.3233864903450012, 0.6372638940811157, 0.3835105895996094, -0.6677267551422119, -0.6335641145706177, -0.2839553654193878, -0.5393834710121155, -0.1478228121995926, -0.1118658110499382, -0.13682110607624054, 0.0526304617524147, 0.3122349977493286, -0.030582517385482788, 0.48866066336631775, 0.48423731327056885, -0.16860613226890564, 0.3812679946422577, -0.3960075378417969, 0.13099628686904907, -0.9138190746307373, -0.004807732999324799, -0.17897216975688934, -0.3960984945297241, -0.5365750193595886, 0.2965319752693176, 0.09070246666669846, 0.07728296518325806, -0.44371217489242554, 0.2028762698173523, -0.5804027318954468, 0.11518377810716629, -0.3318980932235718, -0.3642023801803589, 0.31889963150024414, 0.4542471766471863, 0.08913788944482803, 0.7974961400032043, 0.2867383062839508, -0.6368287205696106, 0.24812625348567963, 0.16537749767303467, -0.3793194890022278, -0.15054921805858612, -0.5754674077033997, 0.6244592666625977, 0.06878543645143509, 0.09925603121519089, -0.5791633129119873, 0.06768946349620819, -0.07305414229631424, -0.28369253873825073, 0.6227470636367798, -0.35402512550354004, -0.39948344230651855, -0.5167554616928101, -0.34601491689682007, 0.4621730446815491, 0.9564422369003296, -0.9545600414276123, 0.5223996639251709, 0.17480379343032837, 0.08519100397825241, -0.44943031668663025, -0.7488266825675964, 0.0008222999167628586, 0.0009005890460684896, -0.36541175842285156, 0.08418247103691101, -0.12238204479217529, 0.0025688372552394867, -0.36428356170654297, -0.18853673338890076, -0.048819925636053085, -0.026157353073358536, 0.23791657388210297, 0.10908307135105133, -0.20045576989650726, -0.24614794552326202, 0.23908808827400208, -0.2555278241634369, 0.27439817786216736, -0.6180036067962646, 0.44417083263397217, -0.2518965005874634, -0.5053186416625977, 0.060293737798929214, 0.36460012197494507, 0.3387921452522278, -0.43624576926231384, 0.4337962865829468, 0.33799564838409424, -0.06579502671957016, -0.6074257493019104, -0.6847889423370361, -0.28183406591415405, -0.5261614918708801, 0.1134825348854065, -0.5961936712265015, -0.9476504325866699, 0.5554361343383789, -0.26614683866500854, -0.04925394803285599, 0.14508727192878723, 0.4776774048805237, 0.32535219192504883, 1.279154658317566, 0.5629163980484009, 0.12235666811466217, 0.39299657940864563, -0.500299870967865, 0.33221960067749023, -0.6754295825958252, -0.016634047031402588, -0.12777796387672424, -0.025070123374462128, -0.7097938060760498, -0.5095009803771973, 0.2727974057197571, 0.2373785525560379, -0.12878192961215973, 0.49865642189979553, -1.0237714052200317, 0.6824280023574829, 0.614399790763855, 0.1933223307132721, 0.3774450421333313, -0.1936856508255005, -0.06454615294933319, 0.04607222229242325, -0.8476264476776123, -0.3748422861099243, 0.8735135197639465, 0.12150650471448898, 0.8642422556877136, 0.0478290319442749, 1.2710903882980347, 0.37364354729652405, 0.4525436758995056, -0.12932440638542175, 0.5734987854957581, -0.40564897656440735, -0.4942854642868042, 0.13093167543411255, -0.6641524434089661, -0.25987255573272705, 0.24879083037376404, 0.3324456214904785, -0.19987088441848755, 0.23704193532466888, 0.6766722798347473, -0.4557831585407257, 0.12198979407548904, -0.5403781533241272, 0.8311963081359863, -0.27031436562538147, -0.749739944934845, -0.10810140520334244, -0.5977823734283447, 0.33811455965042114, -0.33058521151542664, 0.0422959141433239, 0.2640586197376251, 0.4233150780200958, 0.2864818572998047, -0.6551892757415771, 0.6735737919807434, -0.6199569702148438, -0.3598688840866089, 0.6391691565513611, 0.3725518584251404, 0.4283677041530609, 0.3440650999546051, -0.023112421855330467, -0.009425853379070759, 0.012168005108833313, -0.3813045024871826, -0.7046244740486145, 0.6395875811576843, -0.17229419946670532, -0.6660735011100769, -0.31219279766082764, 0.01158776506781578, 0.03809806704521179, 0.10238566249608994, 0.6336765289306641, 0.726854681968689, 0.0035470055881887674, -0.12473665177822113, 0.7237139940261841, -0.11442135274410248, 0.5007365345954895, 0.3822628855705261, -0.5301277041435242, -0.49307578802108765, 1.099548578262329, -0.0648430809378624, 0.3865776062011719, 0.1941320300102234, 0.33155742287635803, -0.20725025236606598, -0.35051921010017395, -0.6083182096481323, -0.18576470017433167, -0.7030377984046936, -0.4164988696575165, -0.42298081517219543, -0.3209550976753235, -0.355582594871521, -0.1349090039730072, -0.7557863593101501, -0.5699719786643982, 0.012530229054391384, 0.08425045758485794, 0.25303915143013, 0.9814872145652771, -0.24138832092285156, -0.12640637159347534, -1.169381856918335, 0.28980061411857605, 0.4239494800567627, 0.45306870341300964, -0.053880322724580765, -0.4461550712585449, -0.3156309425830841, 0.0004687020555138588, -0.4238961637020111, -0.7675250768661499, 0.3369608521461487, 0.584244430065155, 0.37267616391181946, 0.5428668260574341, 0.3465827703475952, 0.6365820169448853, -0.7060292363166809, 0.5904748439788818, 0.11983885616064072, -1.2554566860198975, 0.7806742191314697, -0.026655742898583412, 0.43444404006004333, 0.8549022674560547, 0.07007444649934769, 0.00800008699297905, -0.5563291311264038, -0.3294033110141754, -0.5585523247718811, 0.2731185555458069, 0.23841454088687897, 0.1797683984041214, -0.270307332277298, 0.546844482421875, 0.31953567266464233, 0.4740975499153137, -0.4660682678222656, -0.08647860586643219, -0.7139053344726562, -0.017050739377737045, 0.057218048721551895, -0.14881476759910583, 0.021961642429232597, -0.5599905252456665, 0.4566330015659332, -0.3208373785018921, 0.3542095720767975, 0.26988184452056885, -0.2867794930934906, -0.0016375496052205563, 0.0901426300406456, 0.8154447674751282, 0.9083772301673889, -0.27539315819740295, 0.31963008642196655, 0.1349131166934967, -0.8088006377220154, 0.21674370765686035, 0.10010053217411041, -0.05199971795082092, 0.027920683845877647, 0.1481247991323471, 0.5697214603424072, -0.004560013767331839, -0.3220776617527008, 0.6173344850540161, -0.006529598496854305, -0.14390385150909424, -0.3317502737045288, 0.3377772271633148, -0.4543145000934601, 0.2502140402793884, 0.42810001969337463, -0.01707291789352894, 0.5815050601959229, -0.22998353838920593, 0.4153517186641693, 0.16027408838272095, -0.19825449585914612, -0.42237603664398193, 0.810075581073761, 0.2955198585987091, 0.006677160505205393, 0.5936610102653503, -0.6886113286018372, -1.009602665901184, 0.4958138167858124, 0.5287830233573914, 1.2018024921417236, -0.27470168471336365, 0.014401792548596859, 0.5540096163749695, -0.09501662105321884, -0.06737913936376572, 0.3792523443698883, -0.5936587452888489, -0.3580702543258667, -0.9092207551002502, -0.7420886754989624, -0.31322744488716125, -0.29160958528518677, -0.8984230160713196, 0.10384666174650192, -0.6191757321357727, -0.08532298356294632, -0.32219448685646057, -0.07705407589673996, -0.5621740818023682, -0.10203412175178528, 0.20311316847801208, 0.7469137907028198, -0.5025337338447571, 0.9592673778533936, 0.5917771458625793, -0.40872228145599365, -0.5758360624313354, -0.12462922185659409, 0.08106036484241486, -0.4219679832458496, 0.8030174374580383, 0.44841277599334717, -0.5553961992263794, 0.24591132998466492, -0.47828564047813416, -0.496237576007843, 0.746970534324646, 0.4433594346046448, -0.7757983207702637, 0.07548124343156815, 0.10095922648906708, 0.5321191549301147, -0.43278488516807556, 0.16607274115085602, 0.5783550143241882, 0.2395312786102295, 0.13914743065834045, -0.5854731798171997, 0.24192894995212555, -0.4477507770061493, 0.1892164796590805, 0.5954565405845642, -0.6664257645606995, 0.411807119846344, -0.4059595465660095, 0.03762705624103546, -0.09085874259471893, 0.5775586366653442, 0.5057735443115234, 0.26896825432777405, 0.20343288779258728, 0.545966386795044, 0.2370794713497162, -0.10704966634511948, 0.8031216859817505, -0.742195725440979, 0.5570623278617859, 1.374523401260376, -0.4146631956100464, 0.6196832656860352, 0.4124031960964203, -0.28167203068733215, 0.6648949384689331, 0.07044514268636703, -0.13147374987602234, 0.8204910159111023, 0.563724935054779, -0.49552854895591736, -0.284467488527298, 0.5226911306381226, -0.6472400426864624, 0.3891463875770569, 0.020321333780884743, -0.30187535285949707, -0.06361039727926254, -0.02498132921755314, -0.21472039818763733, 0.0343802310526371, 0.046514641493558884, 0.8292091488838196, 0.16665923595428467, -0.7525470852851868, 0.6052206754684448, -0.5278644561767578, 0.5060352683067322, -0.42956313490867615, -0.6763201355934143, -0.3856976330280304, 0.6981598138809204, -0.1882074624300003, -0.5224514603614807, 0.3321855962276459, 0.019875045865774155, -0.13151951134204865, -0.6424928307533264, 0.6650549173355103, -0.34459125995635986, -0.40439051389694214, 0.372449666261673, 0.3272711932659149, -0.028293032199144363, -0.24672503769397736, -0.33410242199897766, -0.07122746855020523, 0.05255991593003273, -0.41670796275138855, 0.21926286816596985, 0.42222657799720764, 0.4506155252456665, 0.4379607141017914, 0.5095561742782593, -0.12740826606750488, 0.6117061376571655, 0.2559296786785126, 1.133558750152588, -0.5448835492134094, -0.37708374857902527, -0.8424882292747498, 0.5018007755279541, -0.12228448688983917, -0.35256022214889526, 0.8023486733436584, 0.8990558981895447, 0.8814989924430847, -0.3637954592704773, 0.6000061631202698, -0.08118792623281479, 0.3585098385810852, -0.4961298108100891, 0.6647903919219971, -0.38599202036857605, 0.34309330582618713, -0.5093923211097717, -1.2362722158432007, -0.27927395701408386, 0.8013113737106323, 0.009524691849946976, 0.2552044689655304, 0.3882867097854614, 0.6327474117279053, -0.05006222054362297, -0.015100086107850075, 0.1361558735370636, -0.12821519374847412, 0.5446048974990845, 0.6216187477111816, 1.0733152627944946, -0.34496593475341797, 0.28259965777397156, -0.47759079933166504, -0.2891712486743927, -0.030122539028525352, -1.1487669944763184, -0.6171905398368835, -0.5302627682685852, -0.5815737843513489, -0.5528383255004883, 0.11256632953882217, 0.8260422348976135, 0.8788586258888245, -0.8357512950897217, -0.18575364351272583, -0.5874470472335815, -0.46117526292800903, -0.1788310408592224, -0.18548955023288727, 0.06263405829668045, -0.47564977407455444, -0.379484087228775, 0.3307706117630005, 0.42121127247810364, -0.22906681895256042, -0.4840773344039917, -0.4377705454826355, 0.09567833691835403, 0.14408966898918152, 0.6148526668548584, 0.31169626116752625, -0.3587682545185089, -0.09156613796949387, -0.05872993916273117, 0.10609661042690277, 0.2489473819732666, 1.2507250308990479, -1.002066969871521, 0.6635909080505371, 0.5006713271141052, 0.4801664352416992, 0.9364559650421143, 0.18252484500408173, 0.44290000200271606, -0.7160581350326538, -0.10920698940753937, 0.4512746334075928, 0.11494678258895874, 0.14065691828727722, -0.37102222442626953, 0.703209400177002, -0.04531757906079292, -0.5684146881103516, -0.7957050800323486, 0.2078334391117096, -0.6073400378227234, -0.02200368419289589, 0.6861714720726013, -0.3532177209854126, 0.09837351739406586, 0.23627614974975586, -0.0005498765385709703, 0.29627057909965515, -0.29585081338882446, 0.8594524264335632, 0.3919273912906647, -0.30198511481285095, -0.3716464638710022, -0.3372245132923126, 0.7256409525871277, 0.4328758120536804, -0.7400477528572083, -0.0687394067645073, 0.5327140092849731, 0.17730802297592163, 0.35639527440071106, 0.5723790526390076, -0.271626353263855, 0.4861583113670349, 0.07072442770004272, 0.22326108813285828, -0.30038022994995117, -0.5764986276626587, -0.44664904475212097, 0.12132687866687775, 0.11090032756328583, -0.2821897864341736 ]
http://arxiv.org/abs/2405.17052v2
http://arxiv.org/pdf/2405.17052v2
SelfCP: Compressing Over-Limit Prompt via the Frozen Large Language Model Itself
2024-05-27T11:14:55
2024-06-18T06:50:30
Jun Gao, Ziqiang Cao, Wenjie Li
cs.CL
cs.CL
Long prompt leads to huge hardware costs when using transformer-based Large Language Models (LLMs). Unfortunately, many tasks, such as summarization, inevitably introduce long documents, and the wide application of in-context learning easily makes the prompt length explode. This paper proposes a Self-Compressor (SelfCP), which employs the target LLM itself to compress over-limit prompts into dense vectors while keeping the allowed prompts unmodified. Dense vectors are then projected into dense tokens via a learnable connector to make the same LLM unburden to understand. The connector is supervised-tuned under the language modeling objective of the LLM on relatively long texts selected from publicly accessed datasets, involving an instruction dataset to make SelfCP respond to various prompts, while the target LLM keeps frozen during training. We build the lightweight SelfCP upon 2 different backbones with merely 17M learnable parameters originating from the connector and a learnable embedding. Evaluation on both English and Chinese benchmarks demonstrate that SelfCP effectively substitutes 12$\times$ over-limit prompts with dense tokens to reduce memory costs and booster inference throughputs, yet improving response quality. The outstanding performance brings an efficient solution for LLMs to tackle long prompts without training LLMs from scratch.
[ -0.49187764525413513, -0.42314356565475464, 0.5273448824882507, 0.46949368715286255, -0.3860691487789154, -0.04852963984012604, -0.5376359224319458, -0.060879144817590714, 0.33286094665527344, 0.5129408240318298, -0.6075264811515808, 0.010401151143014431, -0.25168099999427795, 0.3523592948913574, -0.2975803315639496, 0.8795104622840881, 0.11186893284320831, -0.3152502477169037, -0.30250084400177, 0.17148420214653015, -0.6600251793861389, -0.5330443978309631, -0.6534827947616577, -0.06714951246976852, 0.3893442749977112, 0.5999093651771545, 0.4427107870578766, 0.6826707720756531, -0.13347071409225464, 0.35731521248817444, 0.095868319272995, -0.06869776546955109, -0.534105122089386, 0.44211745262145996, 0.08283501118421555, -0.14873720705509186, -0.29072150588035583, -0.14743788540363312, 0.824442982673645, 0.42361924052238464, -0.007812483236193657, 0.21550753712654114, 0.43452921509742737, 0.7312192320823669, -0.528972327709198, 0.2423945814371109, -0.33977648615837097, -0.010813958942890167, -0.15044336020946503, -0.07563184201717377, -0.6223147511482239, 0.29686442017555237, -0.27851834893226624, -0.2980598211288452, 0.18238897621631622, 0.11718422919511795, 0.2849779725074768, 0.616862952709198, -0.25759273767471313, -0.17555983364582062, -0.35277390480041504, 0.7459797859191895, -0.4582090377807617, 0.4292879104614258, 0.2503000497817993, 0.4023207426071167, -0.14643815159797668, -0.6142073273658752, -0.46547946333885193, -0.10951881855726242, -0.0902194082736969, 0.29201802611351013, -0.23286493122577667, -0.040209077298641205, 0.35619524121284485, 0.2573787569999695, -0.7271996140480042, 0.5164092183113098, -0.6426618695259094, -0.21089866757392883, 0.39615583419799805, 0.26029324531555176, 0.27965861558914185, -0.4429982602596283, -0.5556170344352722, 0.05940260365605354, -0.6608737707138062, 0.14673404395580292, 0.2293291538953781, 0.4722591042518616, -0.23482367396354675, 0.44060686230659485, -0.24456553161144257, 0.773598313331604, 0.4104481339454651, -0.03142853453755379, 0.2955072522163391, 0.1977609246969223, -0.3188580870628357, 0.18625251948833466, 1.0602055788040161, 0.3171023726463318, 0.051472608000040054, -0.11513958871364594, -0.2984349727630615, -0.35512134432792664, 0.17408867180347443, -1.0269933938980103, -0.0006677929777652025, 0.4412773549556732, -0.4519411325454712, 0.10374147444963455, -0.4417024552822113, -0.9052560925483704, -0.14090462028980255, -0.27041855454444885, 0.06867749989032745, -0.24772650003433228, 0.09118179231882095, 0.04288967326283455, 0.08674298226833344, -0.014487925916910172, 0.2535812556743622, -1.0345224142074585, 0.14408445358276367, 0.4567107558250427, 1.011550784111023, -0.4352356493473053, -0.42691805958747864, -0.7577626705169678, 0.004767338279634714, -0.18310049176216125, 0.7603873014450073, -0.26385006308555603, -0.45509031414985657, 0.013416205532848835, 0.052274782210588455, 0.10343372821807861, -0.28393006324768066, 0.6712678670883179, -0.4119982421398163, 0.38583582639694214, -0.124428391456604, -0.6464753150939941, 0.39291131496429443, 0.2462836354970932, -0.6596336364746094, 0.9590839147567749, 0.006563299801200628, -0.573772668838501, 0.03091551922261715, -0.1884937286376953, -0.39621827006340027, 0.36692818999290466, -0.2018580436706543, -0.22747108340263367, -0.05669967830181122, 0.5693678259849548, 0.9180300235748291, -0.5589836239814758, 0.4327293038368225, -0.14368414878845215, -0.22620894014835358, -0.00470948638394475, -0.5352041125297546, 0.6137990951538086, 0.4685906171798706, 0.018639743328094482, 0.11991307884454727, -0.5877666473388672, -0.242178276181221, 0.13518565893173218, -0.4692910611629486, -0.009620054624974728, -0.42694127559661865, -0.3508269190788269, 0.3975472152233124, 0.4775206744670868, -0.5699039697647095, 0.5114022493362427, -0.44420284032821655, 0.509553074836731, 0.5474384427070618, -0.31459081172943115, 0.5109323263168335, -0.13825523853302002, 0.7572528123855591, -0.2634795308113098, 0.1706046164035797, -0.785990834236145, -0.24186255037784576, -0.6673048138618469, -0.6130816340446472, 0.05929093062877655, 0.2865314185619354, -0.8747580647468567, 0.6479940414428711, -0.3150292932987213, -0.4951624274253845, -0.3769911825656891, 0.3059377074241638, 0.14360439777374268, 0.8499311804771423, 0.7250469326972961, 0.09432725608348846, -0.19990050792694092, -0.6536730527877808, 0.004504496231675148, -0.17691195011138916, -0.3929137885570526, 0.18130071461200714, 0.10713651776313782, 0.1296096295118332, 0.9606496691703796, -0.5038256645202637, -0.653485119342804, -0.5261188745498657, 0.2610861361026764, 0.5970665812492371, 0.6312614679336548, 0.5004608631134033, -0.249488964676857, -0.5633803606033325, -0.6595114469528198, -0.5167656540870667, -0.4098562002182007, -0.6168316006660461, 0.3984115719795227, 0.19490616023540497, 1.0086712837219238, -0.7567684650421143, -0.011642511002719402, 0.6171910166740417, -0.1873249113559723, 0.6103667616844177, -0.45929381251335144, -0.1353304088115692, -1.010388970375061, -0.05548730865120888, -0.21801775693893433, -0.304214745759964, -0.3759722411632538, -0.05633019283413887, 0.5226999521255493, -0.6004734635353088, -0.5529826879501343, 0.7420883774757385, -0.863187313079834, 0.13699346780776978, -0.48760682344436646, 0.08436649292707443, 0.00011134064698126167, 0.7136099338531494, -0.023637359961867332, 0.8203235864639282, 0.6605967283248901, -0.5257523059844971, 0.5427629947662354, 0.16372935473918915, -0.09944570064544678, 0.40441522002220154, -0.7805042266845703, 0.08742061257362366, -0.39906102418899536, 0.6373519897460938, -1.0140581130981445, 0.008840195834636688, 0.22248739004135132, -0.3212777376174927, 0.624669075012207, -0.37891173362731934, -0.5057061314582825, -0.6395784616470337, -0.3300592303276062, 0.6431131362915039, 0.7035043239593506, -0.9510077238082886, 0.8488999605178833, 0.013712766580283642, -0.12609222531318665, -0.5022866129875183, -0.7622227668762207, 0.2481793612241745, -0.2442650943994522, -0.39631402492523193, 0.18925580382347107, -0.49972498416900635, 0.5190479755401611, -0.4589446485042572, 0.19546158611774445, 0.1256185919046402, -0.07942387461662292, 0.36112603545188904, 0.1287379264831543, -0.052588969469070435, 0.6057708859443665, 0.19380046427249908, -0.2614951431751251, 0.2574383616447449, -0.34592244029045105, 0.6307384967803955, 0.012967715971171856, -0.20888620615005493, -0.26536300778388977, 0.3827263414859772, 0.6148123741149902, -0.1412053108215332, 0.6166568994522095, 0.28818848729133606, -0.09869355708360672, -0.36649566888809204, -0.656613290309906, -0.15867605805397034, -0.5720148086547852, 0.0857144370675087, -0.47079527378082275, -1.0932879447937012, 0.4624568819999695, -0.140091672539711, 0.027238668873906136, 0.4986799955368042, 0.5573538541793823, 0.11153572797775269, 0.6616412997245789, 0.3702199161052704, -0.450076699256897, 0.30062243342399597, -0.1116780936717987, -0.08623643964529037, -0.7330649495124817, 0.031076451763510704, -0.534140408039093, -0.07493410259485245, -0.12809160351753235, -0.6555216908454895, 0.34379374980926514, 0.0571720227599144, -0.3257808983325958, 0.3521212935447693, -0.5908199548721313, 0.530518114566803, 0.2456086128950119, -0.17527824640274048, -0.024309193715453148, -0.29940715432167053, -0.21802569925785065, -0.1534242331981659, -0.9978553652763367, 0.04873838648200035, 0.7251643538475037, 0.5656507611274719, 1.1383229494094849, -0.13309213519096375, 0.7229308485984802, 0.21230977773666382, 0.01985827647149563, -0.7424830794334412, 0.5010417699813843, -0.04188151657581329, -0.25562506914138794, -0.5520687699317932, -0.3882448971271515, -1.0095360279083252, -0.03883212432265282, -0.059428997337818146, -0.5837996006011963, 0.08615002036094666, 0.31307756900787354, -0.4488149583339691, 0.1415962278842926, -0.48109063506126404, 0.7794113159179688, -0.31991785764694214, -0.12694151699543, -0.06254739314317703, -0.7326040267944336, 0.3059340715408325, -0.24193955957889557, 0.09973934292793274, -0.03647862747311592, -0.08988774567842484, 0.6350731253623962, -0.5006508231163025, 1.2552169561386108, 0.08223631232976913, -0.23681630194187164, 0.38858968019485474, 0.2217751145362854, 0.6571403741836548, 0.051546256989240646, -0.046838514506816864, 0.09707580506801605, -0.43018949031829834, -0.3206658661365509, -0.9391534924507141, 0.7981829643249512, -0.6861572265625, -0.7040014266967773, -0.3049114942550659, -0.4144025146961212, 0.06985680013895035, 0.20338530838489532, 0.29546335339546204, 0.8374175429344177, 0.10547225922346115, 0.1145956739783287, 0.41143959760665894, -0.27702656388282776, 0.7332609295845032, 0.6868987083435059, -0.23425845801830292, -0.47388482093811035, 0.835028350353241, 0.1628795564174652, 0.25232166051864624, 0.3963529169559479, 0.5192429423332214, -0.49682408571243286, -0.19577562808990479, -0.7202054262161255, 0.2846357226371765, -0.8190634250640869, -0.6574950814247131, -0.9103670120239258, -0.24306322634220123, -0.602620005607605, -0.3909141719341278, -0.6269592046737671, -0.5079886317253113, -0.6652612686157227, 0.11591280996799469, 0.15880224108695984, 0.3379403352737427, -0.22536218166351318, 0.3545147180557251, -0.9016323685646057, 0.44168832898139954, 0.5709343552589417, 0.26549261808395386, 0.08427469432353973, -0.9568946957588196, -0.21723483502864838, -0.4378160536289215, -0.027693569660186768, -0.6676822900772095, 0.6360025405883789, 0.21161781251430511, 0.3495514690876007, 0.5295130014419556, 0.6966689825057983, 0.7073795199394226, -0.574506938457489, 0.9630780816078186, 0.4542636573314667, -1.0869947671890259, 0.36627987027168274, -0.08991371095180511, 0.9100024700164795, 0.38379016518592834, 0.6049006581306458, -0.5940268635749817, -0.5517629981040955, -0.38468870520591736, -0.9203409552574158, 0.3704610764980316, -0.1614556461572647, 0.3518662750720978, -0.41682982444763184, 0.4165254533290863, 0.08489528298377991, -0.00523804547265172, -0.6397435665130615, -0.2700555920600891, -0.4656631648540497, -0.21189387142658234, -0.19681279361248016, -0.6783508658409119, 0.2565063238143921, -0.08405321836471558, 0.5764612555503845, -0.6514102220535278, 0.134787917137146, 0.4380896985530853, -0.09358824044466019, -0.1105899065732956, 0.39959684014320374, 0.37425753474235535, 0.23995094001293182, 0.10125558823347092, 0.3723175823688507, 0.5209211111068726, -0.04511544853448868, -0.05247674882411957, 0.05009011551737785, 0.05496259778738022, -0.2465187907218933, 0.3457906246185303, 0.48784756660461426, 0.19759181141853333, -0.7422329187393188, 0.6862878203392029, -0.34018436074256897, 0.14344166219234467, -0.33495351672172546, -0.20219403505325317, -0.020815297961235046, 0.17610839009284973, 0.43052423000335693, -0.3927077054977417, 0.1644221842288971, -0.2029801458120346, 0.16162432730197906, 0.375225305557251, -0.41115695238113403, -0.11758098751306534, 0.6877943277359009, 0.5048530101776123, -0.15410976111888885, 0.7825811505317688, -0.13120922446250916, -0.7081451416015625, 0.2583176791667938, 0.8315348029136658, 0.7473143339157104, -0.351576566696167, 0.03844056278467178, 0.5599961280822754, 0.26945942640304565, -0.13880027830600739, -0.011859370395541191, -0.5343418717384338, -0.4723895192146301, -0.8106091022491455, -0.48168933391571045, -0.14545266330242157, 0.15467439591884613, -0.48925817012786865, 0.549583911895752, -0.4919302761554718, 0.14089545607566833, -0.4540616273880005, -0.24918849766254425, -0.3770604729652405, 0.2751320004463196, 0.2027866244316101, 1.0905115604400635, -0.7694992423057556, 0.8212618231773376, 0.03908892348408699, -0.22573012113571167, -0.8159559369087219, -0.2491666078567505, -0.19552090764045715, -0.8911572694778442, 0.7078507542610168, 0.46739062666893005, -0.04138275235891342, -0.10418160259723663, -0.5724002122879028, -0.9109780788421631, 0.8136082291603088, 0.49922290444374084, -0.8581279516220093, 0.04272041469812393, 0.06096063181757927, 0.4631774127483368, -0.3565335273742676, 0.41496559977531433, 0.279556542634964, 0.2137562483549118, 0.21845389902591705, -0.9129438996315002, 0.43031877279281616, -0.062102220952510834, -0.4380832314491272, 0.220858633518219, -0.9609411954879761, 0.7965371012687683, -0.12451493740081787, -0.34704920649528503, 0.044998761266469955, 1.1799196004867554, 0.03362241014838219, -0.11350040137767792, 0.6948362588882446, 0.4203696846961975, 0.514365553855896, 0.49431905150413513, 0.7517479062080383, -0.7345814108848572, 0.4446909427642822, 1.3414912223815918, -0.11229702830314636, 0.5966674089431763, 0.46673548221588135, 0.22061201930046082, 0.23423700034618378, 0.2948807179927826, -0.15905189514160156, 0.1827116310596466, 0.3041158616542816, -0.06334265321493149, -0.6443367600440979, -0.13586780428886414, -0.27686840295791626, 0.2674635350704193, 0.2527586817741394, -0.27411556243896484, -0.3416729271411896, 0.11889144778251648, 0.08945228159427643, -0.06309306621551514, -0.26621684432029724, 0.5948116779327393, 0.2815846800804138, -0.8997367024421692, 0.7952307462692261, -0.21550166606903076, 0.6863762736320496, -0.5492265820503235, 0.18020904064178467, -0.09131703525781631, -0.23045854270458221, 0.006222766824066639, -0.898358166217804, 0.10709778964519501, -0.038758907467126846, -0.011012588627636433, -0.7190570831298828, 0.8286204934120178, -0.560359001159668, -0.43710198998451233, 0.34488755464553833, 0.44630369544029236, 0.43100664019584656, -0.18712911009788513, -0.6390383839607239, 0.04909920319914818, -0.21824173629283905, -0.3295668363571167, 0.35892677307128906, 0.5009093284606934, 0.34635409712791443, 1.086319923400879, 0.4462251663208008, 0.017969898879528046, -0.161374032497406, 0.12799745798110962, 1.290877342224121, -0.598545253276825, -0.8224196434020996, -0.7981014847755432, 0.43440908193588257, 0.12914060056209564, -0.33810392022132874, 0.6759148240089417, 0.5230811834335327, 0.41317230463027954, -0.01882549375295639, 0.4666714072227478, 0.16039985418319702, 0.37914329767227173, -0.6431601047515869, 0.6285918354988098, -0.5748205184936523, 0.1693032681941986, 0.07374356687068939, -0.5716493725776672, -0.23486490547657013, 0.16222043335437775, -0.05573692545294762, -0.0698717013001442, 0.5335502624511719, 0.36864766478538513, -0.05941396206617355, -0.31034567952156067, 0.6843528747558594, 0.18852609395980835, 0.3643195927143097, 0.45166727900505066, 0.7456731796264648, -0.03661327809095383, 0.7079228758811951, -0.1728857010602951, -0.15859901905059814, -0.16213257610797882, -1.0946279764175415, -1.4420007467269897, -0.5982909798622131, -0.2683601975440979, -0.19107776880264282, -0.2527344524860382, 1.1409448385238647, 0.687941312789917, -0.4772116541862488, -0.08555237203836441, 0.11492825299501419, -0.02117103524506092, 0.1289260983467102, -0.21567459404468536, 0.3773287534713745, -0.8488888740539551, -0.5566405057907104, 0.8007796406745911, 0.2466307282447815, 0.20728297531604767, -0.6191374063491821, -0.026755109429359436, 0.2776252031326294, -0.06430376321077347, 0.46229270100593567, 0.5632412433624268, -0.47346368432044983, -0.22013288736343384, -0.07381810247898102, 0.025436267256736755, 0.13954085111618042, 0.9470188021659851, -1.2205967903137207, 0.6105467081069946, 0.4480818808078766, 0.6927770376205444, 0.4772031605243683, -0.02782399393618107, 0.7559528946876526, -1.0096701383590698, 0.09172223508358002, 0.08818911761045456, 0.6195187568664551, 0.4359787106513977, -0.6932495832443237, 0.10727090388536453, -0.11974834650754929, -0.9159964919090271, -0.5288189053535461, 0.2269837111234665, -0.9678221344947815, -0.5395390391349792, 1.0382052659988403, -0.3246254026889801, -0.3614744246006012, -0.15701192617416382, -0.2617969810962677, 0.21105916798114777, -0.7784076929092407, 0.8081641793251038, 0.22173893451690674, -0.042755015194416046, -0.3686981201171875, -0.02509412355720997, 0.48727184534072876, 0.4994153678417206, -0.6210364699363708, 0.43702802062034607, 0.4129369258880615, 0.09663990139961243, 0.32158032059669495, 0.5484798550605774, 0.40949004888534546, 0.1929130107164383, -0.3098338544368744, 0.19685980677604675, -0.36656245589256287, -0.6265771389007568, -0.7438622713088989, 0.3544021248817444, -0.16561323404312134, 0.08237694948911667 ]
http://arxiv.org/abs/2405.17044v1
http://arxiv.org/pdf/2405.17044v1
Generation and human-expert evaluation of interesting research ideas using knowledge graphs and large language models
2024-05-27T11:00:51
2024-05-27T11:00:51
Xuemei Gu, Mario Krenn
cs.AI
cs.AI, cs.CL, cs.DL, cs.LG
Advanced artificial intelligence (AI) systems with access to millions of research papers could inspire new research ideas that may not be conceived by humans alone. However, how interesting are these AI-generated ideas, and how can we improve their quality? Here, we introduce SciMuse, a system that uses an evolving knowledge graph built from more than 58 million scientific papers to generate personalized research ideas via an interface to GPT-4. We conducted a large-scale human evaluation with over 100 research group leaders from the Max Planck Society, who ranked more than 4,000 personalized research ideas based on their level of interest. This evaluation allows us to understand the relationships between scientific interest and the core properties of the knowledge graph. We find that data-efficient machine learning can predict research interest with high precision, allowing us to optimize the interest-level of generated research ideas. This work represents a step towards an artificial scientific muse that could catalyze unforeseen collaborations and suggest interesting avenues for scientists.
[ -0.5330749154090881, -0.439064621925354, 0.8638314604759216, 0.02961110509932041, -0.10259868204593658, 0.33481255173683167, -0.13420464098453522, -0.49218517541885376, 0.5311640501022339, -0.05520804226398468, -0.27285313606262207, -0.29279232025146484, -0.5120440721511841, 0.18832507729530334, -0.48846304416656494, 0.9829872250556946, 0.18062186241149902, 0.08942490071058273, -0.41672489047050476, 0.14470131695270538, -0.03683527186512947, -0.22227144241333008, -0.48968857526779175, -0.26535800099372864, 0.8039228916168213, 0.3227219581604004, 0.48189494013786316, 0.31366297602653503, 0.6721928119659424, 0.36098310351371765, -0.07348745316267014, 0.13064967095851898, -0.5763041973114014, 0.05128655955195427, -0.3907429873943329, -0.3613344430923462, -0.4091615676879883, 0.19058175384998322, 0.36945223808288574, 0.7665013670921326, 0.24438442289829254, 0.24799634516239166, -0.015949750319123268, 0.4839392602443695, -0.2360205054283142, 0.29269319772720337, -0.43798843026161194, 0.07269255071878433, -0.366180419921875, -0.3138910233974457, -0.2922126352787018, -0.4787161946296692, 0.3664720356464386, -0.7658237218856812, 0.2590290606021881, 0.17317044734954834, 0.764636754989624, -0.011950922198593616, -0.04151775687932968, -0.31167104840278625, -0.6729234457015991, 0.5278399586677551, -0.4937536418437958, -0.06263373792171478, -0.07983774691820145, 0.329306423664093, -0.6103950142860413, -0.8951696157455444, -0.5537269115447998, -0.3817051947116852, 0.14373670518398285, 0.1328275501728058, -0.43427300453186035, -0.15153414011001587, 0.3135748505592346, -0.0937633290886879, -0.7825354933738708, -0.07383419573307037, -0.42242804169654846, 0.05435986444354057, 0.7873502969741821, -0.05640338733792305, 0.22662444412708282, -0.1370924562215805, 0.03104400634765625, -0.22510014474391937, -0.2895583510398865, -0.08939468115568161, 0.3974001407623291, -0.2504437267780304, 0.5978246331214905, 0.6520170569419861, -0.5318918824195862, 0.3101741373538971, 0.19781050086021423, 0.24725955724716187, 0.3978950083255768, -0.3486020267009735, 0.13690420985221863, -0.10629674792289734, 0.9561672806739807, 0.11879248917102814, -0.031016433611512184, -0.5030620098114014, -0.04522082209587097, 0.14235325157642365, 0.17719973623752594, -0.8686508536338806, -0.4441097676753998, 0.1428612917661667, -0.2621464133262634, -0.48181766271591187, 0.3069904148578644, -0.6003228425979614, -0.6273947954177856, 0.00710113113746047, 0.3345469832420349, -0.5551550388336182, -0.3134818971157074, 0.015199171379208565, -0.6106193661689758, -0.36681023240089417, 0.4553891122341156, -0.6099328994750977, 0.056342702358961105, 0.6857249140739441, 0.6703333854675293, -0.2239965796470642, -0.45812228322029114, -0.02286750078201294, 0.26259148120880127, -0.3529483675956726, 0.9920510649681091, -0.4318528175354004, -0.36548903584480286, -0.6456074714660645, -0.39033424854278564, 0.01462363637983799, -0.2378409057855606, 0.5365498661994934, -0.6473020315170288, 0.5268601179122925, -0.182367742061615, -0.6143304109573364, -0.21212026476860046, -0.12062399834394455, -0.4591060280799866, 0.6415808200836182, 0.20770178735256195, -1.0118495225906372, 0.6266704201698303, -1.5256876945495605, -0.28180715441703796, 0.6318265199661255, -0.30716198682785034, -0.3686460852622986, 0.2855936288833618, 0.011681859381496906, 0.27182337641716003, -0.4943526089191437, 0.8271404504776001, -0.3789101541042328, -0.0859820768237114, 0.4029269814491272, -0.11789870262145996, 0.5080634355545044, 0.505137026309967, -0.5905243754386902, 0.5300485491752625, -0.537565290927887, 0.17636911571025848, 0.2831217646598816, 0.023371482267975807, -0.4417968988418579, -0.0780443623661995, -0.07998932898044586, 0.10874742269515991, 0.35020485520362854, -0.722356379032135, 0.3130300045013428, -0.36733850836753845, 0.9051198959350586, 0.7031139135360718, 0.2895897626876831, 0.283905565738678, -0.3394511044025421, 0.4019574820995331, -0.2862659990787506, -0.006080079823732376, -0.0831398144364357, -0.823732852935791, -0.5139309763908386, 0.1258915513753891, 0.6261341571807861, 0.22163128852844238, -0.3734579384326935, 0.3576740324497223, -0.4224031865596771, -0.8311905860900879, -0.4783288538455963, 0.00951501727104187, -0.0029204378370195627, 0.3859805166721344, 0.12858912348747253, -0.4574761986732483, -0.27488774061203003, -1.0647540092468262, -0.26375481486320496, -0.13522829115390778, -0.4541701376438141, 0.48209044337272644, 0.8098862171173096, -0.23061461746692657, 1.2601966857910156, -0.6474864482879639, 0.2813928425312042, 0.0921986922621727, 0.6642618179321289, 0.14673176407814026, 0.4185529947280884, 0.5222669243812561, -0.9391441941261292, -0.3814995586872101, 0.16934998333454132, -0.8235092759132385, 0.02485024370253086, 0.04106130823493004, -0.46371322870254517, -0.2061016708612442, 0.1700577437877655, -0.8504909873008728, 0.1457153558731079, -0.07039394974708557, -0.4751768410205841, 0.3998042047023773, -0.15222042798995972, 0.4094547629356384, -1.1182540655136108, 0.4948049783706665, 0.016963083297014236, 0.22665968537330627, -0.47853755950927734, -0.3779180645942688, -0.10993462800979614, -0.6076089143753052, 0.043418776243925095, 0.5912976861000061, -0.30550581216812134, -0.10506539791822433, -0.26819565892219543, 0.2305537760257721, -0.05623090639710426, 0.19184467196464539, -0.07457683980464935, 0.4366622865200043, 0.3292730152606964, -0.13632731139659882, 0.39545637369155884, 0.28154489398002625, -0.5445890426635742, 0.20694591104984283, -0.6650295853614807, 0.48000776767730713, -0.13882941007614136, 0.24412134289741516, -0.6414088606834412, -0.6155573725700378, 0.020794035866856575, -0.615676760673523, 0.01525359507650137, 0.2557988464832306, -0.5239999294281006, -0.7739272117614746, -0.20443516969680786, 0.16178740561008453, 0.2335359901189804, -0.3016791343688965, 0.4095371663570404, 0.5611580014228821, -0.6894406080245972, -0.28180646896362305, -0.1451919972896576, 0.5259662866592407, -0.2828391194343567, -0.9698567986488342, 0.4701850414276123, -0.16715553402900696, -0.29934585094451904, 0.470793753862381, 0.21002893149852753, 0.10683225840330124, 0.270800918340683, 0.33051419258117676, -0.01870390772819519, -0.00895630568265915, 0.16649584472179413, 0.17736580967903137, -0.15880398452281952, 0.3478355407714844, -0.6334755420684814, 0.5048769116401672, -0.2277069091796875, -0.3633576035499573, -0.29459378123283386, 0.2164207100868225, 0.651569128036499, -0.14067339897155762, 0.16625864803791046, 0.793533444404602, -0.4079025685787201, -0.03617355599999428, -0.30423349142074585, -0.4558883607387543, -0.4920240044593811, 0.6899678111076355, -0.3772825300693512, -0.7438558340072632, 0.2342042624950409, -0.42320698499679565, 0.3072671890258789, 0.5999086499214172, 0.4969557225704193, -0.3502769470214844, 1.2492964267730713, 0.6692342758178711, -0.06148352473974228, 0.46614325046539307, -0.40031829476356506, 0.28690141439437866, -0.49843135476112366, -0.2712970972061157, -0.5801168084144592, -0.477791428565979, -0.4415496289730072, -0.34910130500793457, 0.5644962191581726, 0.1681564897298813, -0.18199428915977478, 0.17447581887245178, -0.7377711534500122, 0.3907037079334259, 0.8260671496391296, 0.010386854410171509, 0.13938476145267487, -0.027826562523841858, -0.150046706199646, 0.163340762257576, -0.9875193238258362, -0.5928984880447388, 1.0116024017333984, 0.2076701670885086, 0.5217450261116028, -0.24328207969665527, 0.7707051038742065, 0.7036850452423096, 0.7076752781867981, -0.6681848764419556, 0.4838225841522217, 0.2945575416088104, -0.5594677925109863, -0.47508275508880615, -0.6599932909011841, -0.9634875655174255, 0.009761703200638294, -0.4348606765270233, -0.46252042055130005, 0.26980915665626526, 0.1699802279472351, -0.20809732377529144, 0.21886488795280457, -0.6806673407554626, 0.7691488265991211, -0.6709672212600708, -0.36922475695610046, -0.5660554766654968, -0.5689322352409363, 0.2994408905506134, -0.42341408133506775, 0.09214748442173004, 0.05168844386935234, 0.29847949743270874, 1.2301398515701294, 0.027000894770026207, 0.45345285534858704, -0.2966114282608032, 0.22520709037780762, 0.23036743700504303, 0.0903216004371643, 0.44234147667884827, 0.1138290986418724, -0.29463067650794983, 0.03723989054560661, -0.4879191517829895, -0.44847196340560913, -0.674694836139679, 0.7548428773880005, -0.8529200553894043, -0.8172051310539246, -0.26278412342071533, -0.8459597826004028, -0.20291616022586823, 0.5074827075004578, 0.33145004510879517, -0.04977290332317352, -0.4456939995288849, 0.10163043439388275, 0.29362374544143677, -0.11451678723096848, 0.20133143663406372, 0.3054131865501404, 0.05287998914718628, -0.4665282368659973, 1.0909453630447388, 0.13223817944526672, -0.14955170452594757, 0.13898040354251862, 0.3563309609889984, -0.09442469477653503, -0.8096238970756531, -0.5173475742340088, 0.11379432678222656, -0.421082079410553, -0.09200309216976166, -0.641849935054779, 0.1301296204328537, -0.48013734817504883, -0.2630036473274231, -0.11777714639902115, -0.6897493600845337, -0.2349570393562317, 0.01111353188753128, 0.4074932038784027, 1.0143574476242065, -0.16586776077747345, -0.12568774819374084, -0.5296575427055359, 0.03383452445268631, 0.3259904980659485, 0.12501893937587738, -0.02017144486308098, -0.18926845490932465, -0.47204163670539856, 0.0845869779586792, -0.5232892632484436, -0.658512532711029, 0.4479648768901825, 0.06289345771074295, 0.6629679203033447, 0.6283606886863708, -0.14070233702659607, 0.26915621757507324, -0.4512348771095276, 0.5123170614242554, 0.3607783913612366, -0.7030020952224731, 0.6599531173706055, -0.6021139621734619, -0.0022449009120464325, 0.4107639193534851, 0.635118842124939, -0.3102464973926544, -0.2976659834384918, -0.8837290406227112, -0.76351398229599, 0.32974672317504883, 0.1955341100692749, -0.2206958681344986, 0.20346923172473907, 0.4475642144680023, 0.11409159749746323, 0.30094537138938904, -0.42117011547088623, 0.30531880259513855, -0.48704254627227783, -0.22550088167190552, 0.06894797831773758, 0.19991980493068695, -0.3595817983150482, -0.1874479204416275, 0.6354344487190247, -0.3288028836250305, 0.4070385694503784, 0.05861624702811241, 0.10767994821071625, -0.36370784044265747, 0.25758254528045654, 0.5468379259109497, 0.9662798047065735, -0.20599614083766937, -0.06123000755906105, 0.07327017188072205, -0.4047326445579529, 0.0316309928894043, 0.39627864956855774, -0.5575812458992004, -0.1607457995414734, 0.06603970378637314, 0.7938587069511414, -0.1028309091925621, -0.5933393836021423, 0.13014210760593414, -0.2517102360725403, -0.4185277223587036, -0.1540030986070633, 0.4004610478878021, 0.4216861426830292, 0.27368804812431335, 0.6180228590965271, 0.5964385867118835, 0.1534382551908493, -0.4806014597415924, 0.22080527245998383, 0.560109555721283, -0.20805682241916656, -0.4978902339935303, 0.8761025667190552, 0.38046351075172424, -0.3719872236251831, 0.31173861026763916, -0.2950904071331024, -0.570336639881134, 0.6489130854606628, 0.325519859790802, 0.7919691801071167, 0.06600657850503922, 0.3261636197566986, 0.1322070211172104, 0.1413446068763733, 0.2214103788137436, -0.04552331194281578, 0.0019153323955833912, -0.6154472827911377, -0.3615924119949341, -0.6055647134780884, -0.640765368938446, 0.14009098708629608, -0.21445700526237488, 0.35481807589530945, -0.18287421762943268, -0.4330291152000427, 0.5268101692199707, 0.2872486114501953, -0.579481303691864, -0.1183381974697113, -0.11873198300600052, 0.716143786907196, -0.7933524250984192, 0.876028299331665, 0.9185982942581177, -0.24916554987430573, -0.507632851600647, -0.305748850107193, -0.2937370538711548, -0.37544533610343933, 0.7786909937858582, -0.020374678075313568, -0.17427928745746613, 0.22090227901935577, -0.6206961870193481, -1.0371400117874146, 1.2238125801086426, 0.24665683507919312, -0.5582610368728638, -0.0421658456325531, -0.05885491892695427, 0.7004408240318298, -0.5947136878967285, 0.38498422503471375, 0.26927775144577026, 0.8898834586143494, -0.060039862990379333, -0.6325885653495789, -0.2040358930826187, -0.717679500579834, -0.30195438861846924, 0.1836777627468109, -0.5548569560050964, 0.6264849305152893, -0.4978812336921692, -0.14831265807151794, 0.05524947866797447, 0.780422568321228, 0.2597765624523163, 0.5425484776496887, 0.5540568828582764, 0.46726876497268677, 1.0729758739471436, 0.10926659405231476, 0.8902124762535095, -0.5368477702140808, 0.15322278439998627, 0.7056636214256287, -0.3280228078365326, 0.39667442440986633, 0.2020673155784607, 0.08349625766277313, 0.386668860912323, 0.6834413409233093, -0.4602881669998169, 0.35905545949935913, 0.20677991211414337, -0.19210609793663025, -0.08351202309131622, -0.1919524222612381, -0.2353893518447876, 0.28000152111053467, 0.5181448459625244, -0.44428104162216187, 0.02531116083264351, 0.26602062582969666, -0.01038065180182457, -0.08163689076900482, -0.014889687299728394, 0.6547784209251404, -0.17821109294891357, -0.7502686977386475, 0.35094958543777466, 0.013288588263094425, 0.5256561636924744, -0.5338459014892578, -0.07135136425495148, 0.0032440396025776863, -0.06261447817087173, -0.19964218139648438, -0.7198562622070312, -0.1806328445672989, 0.15971046686172485, -0.2661112844944, -0.11459194123744965, 0.7769491672515869, -0.07461664825677872, -0.3788149356842041, -0.024056293070316315, 0.6097440123558044, 0.3244807720184326, 0.20592467486858368, -0.6968795657157898, -0.4789128303527832, 0.07206232845783234, -0.5342536568641663, 0.46343663334846497, 0.5189954042434692, -0.2720220386981964, 0.7510530352592468, 0.8336544036865234, 0.17964625358581543, -0.2645988464355469, -0.17535023391246796, 1.156238079071045, -0.7364564538002014, -0.45211902260780334, -0.44732028245925903, 0.07774792611598969, -0.3706038296222687, -0.5528559684753418, 0.8918222188949585, 0.6664162874221802, 0.5921298861503601, -0.09870868176221848, 1.1500035524368286, -0.2729015052318573, 0.5747333765029907, 0.1893777698278427, 0.9916672706604004, -0.22514984011650085, 0.026227883994579315, -0.4944854974746704, -0.8639203906059265, -0.18738654255867004, 0.5433357357978821, -0.47810080647468567, -0.06524999439716339, 0.5074813365936279, 0.4856187701225281, -0.07262667268514633, 0.2804461717605591, -0.002049199305474758, 0.3448037803173065, 0.6766241788864136, 0.33809608221054077, 0.8980322480201721, 0.25767961144447327, 0.4309690594673157, -0.32704317569732666, -0.630613386631012, -0.23577596247196198, -0.6856967210769653, -0.5832212567329407, -0.5777050256729126, -0.1071358248591423, -0.058773528784513474, -0.021946821361780167, 0.7911646962165833, 0.7548179030418396, -0.7383823394775391, -0.19833751022815704, -0.30312663316726685, -0.10664002597332001, -0.04403970018029213, -0.2512754797935486, 0.6857923269271851, -0.12840764224529266, -0.6702987551689148, 0.6725445985794067, 0.3049204349517822, -0.14979538321495056, -0.4878937304019928, -0.1349257379770279, -0.029531706124544144, 0.03844156861305237, 0.5680694580078125, 0.38612765073776245, -0.1686674803495407, -0.16828908026218414, 0.2468169629573822, 0.009880093857645988, -0.1814335435628891, 1.0014562606811523, -0.8434290885925293, 0.40553101897239685, 0.684650182723999, 0.6268634796142578, 0.7409080862998962, 0.06479015946388245, 0.6722197532653809, -0.09306379407644272, 0.01621522381901741, 0.7771651148796082, 0.36150941252708435, 0.18518707156181335, -0.2818729877471924, 0.6805750131607056, 0.4336051642894745, -0.9439760446548462, -0.8591820001602173, 0.024957001209259033, -0.7377976179122925, -0.369241863489151, 0.5754217505455017, -0.27249810099601746, -0.38041526079177856, -0.09678936749696732, -0.28179240226745605, 0.06305912882089615, -0.5939919352531433, 1.3046088218688965, 0.4313215911388397, -0.8298080563545227, 0.3180449903011322, -0.6541810035705566, 0.5099225640296936, 0.608218789100647, -1.0067074298858643, -0.14945101737976074, 0.43753698468208313, 0.2056124359369278, 0.7313116192817688, 0.2336249202489853, 0.06374631822109222, 0.38765713572502136, -0.0962429940700531, 0.2830291986465454, -0.26573851704597473, -0.34315958619117737, 0.3417978584766388, 0.47946563363075256, 0.2815324366092682, 0.32347822189331055 ]
http://arxiv.org/abs/2406.00036v1
http://arxiv.org/pdf/2406.00036v1
EMERGE: Integrating RAG for Improved Multimodal EHR Predictive Modeling
2024-05-27T10:53:15
2024-05-27T10:53:15
Yinghao Zhu, Changyu Ren, Zixiang Wang, Xiaochen Zheng, Shiyun Xie, Junlan Feng, Xi Zhu, Zhoujun Li, Liantao Ma, Chengwei Pan
cs.CL
cs.CL, cs.AI, cs.LG
The integration of multimodal Electronic Health Records (EHR) data has notably advanced clinical predictive capabilities. However, current models that utilize clinical notes and multivariate time-series EHR data often lack the necessary medical context for precise clinical tasks. Previous methods using knowledge graphs (KGs) primarily focus on structured knowledge extraction. To address this, we propose EMERGE, a Retrieval-Augmented Generation (RAG) driven framework aimed at enhancing multimodal EHR predictive modeling. Our approach extracts entities from both time-series data and clinical notes by prompting Large Language Models (LLMs) and aligns them with professional PrimeKG to ensure consistency. Beyond triplet relationships, we include entities' definitions and descriptions to provide richer semantics. The extracted knowledge is then used to generate task-relevant summaries of patients' health statuses. These summaries are fused with other modalities utilizing an adaptive multimodal fusion network with cross-attention. Extensive experiments on the MIMIC-III and MIMIC-IV datasets for in-hospital mortality and 30-day readmission tasks demonstrate the superior performance of the EMERGE framework compared to baseline models. Comprehensive ablation studies and analyses underscore the efficacy of each designed module and the framework's robustness to data sparsity. EMERGE significantly enhances the use of multimodal EHR data in healthcare, bridging the gap with nuanced medical contexts crucial for informed clinical predictions.
[ -0.11994780600070953, -0.8515412211418152, 0.8211754560470581, 0.051620349287986755, -0.1438971310853958, 0.28548330068588257, 0.16063110530376434, -0.6965285539627075, 0.293410986661911, 0.5763882398605347, -0.30754366517066956, -0.4240953326225281, -0.5412005186080933, -0.17973677814006805, -0.14206106960773468, 1.1586259603500366, 0.06233493611216545, -0.027501188218593597, -0.3529762029647827, -0.022565843537449837, -0.3390158712863922, -0.19980376958847046, -0.492686927318573, -0.294990211725235, 0.6625239849090576, 0.23466169834136963, 0.419664591550827, 0.6893355250358582, 0.66302889585495, 0.26274552941322327, 0.036883775144815445, 0.40941643714904785, -0.039626993238925934, 0.558687686920166, 0.19801022112369537, -0.128655806183815, -0.8733621835708618, -0.6223355531692505, 0.5668463706970215, 0.4532882869243622, -0.3074861168861389, 0.3068981468677521, -0.0049858191050589085, 0.4660795032978058, -0.47391238808631897, 0.16319352388381958, -0.4607030749320984, -0.05008820816874504, -0.3694099485874176, -0.4184705317020416, -0.5675272345542908, -0.01979406550526619, 0.302422434091568, -0.5135549306869507, 0.2213580310344696, 0.21128901839256287, 0.7456286549568176, 0.2556278109550476, -0.7166816592216492, 0.06454687565565109, -0.9900702238082886, 0.5250470042228699, -0.4651077091693878, 0.7269154787063599, -0.03930393233895302, 0.6015843749046326, 0.03038213774561882, -1.2523142099380493, -0.26473918557167053, 0.11867430061101913, -0.3021339476108551, 0.44660723209381104, -0.2630966603755951, 0.0654674768447876, 0.013354338705539703, 0.2705680727958679, -0.491606742143631, -0.14937913417816162, -0.35709893703460693, 0.0044357930310070515, 0.2814618945121765, 0.34787508845329285, 0.46346455812454224, -0.48452597856521606, -0.6035792827606201, 0.07464800029993057, -0.4838552176952362, -0.16221100091934204, -0.3425828814506531, 0.38976845145225525, -0.37251344323158264, 0.4543778896331787, 0.18914978206157684, 0.5339959263801575, 0.14229032397270203, -0.4874950647354126, 0.6733145117759705, -0.3480296730995178, -0.18886756896972656, 0.038902897387742996, 0.6829608678817749, 0.21023696660995483, -0.5276612639427185, -0.1482989490032196, -0.02607589028775692, -0.11100611090660095, 0.5711244940757751, -0.6446865797042847, -0.45262694358825684, 0.5008412599563599, -0.6848253011703491, -0.2673627734184265, -0.10146346688270569, -1.2489112615585327, -0.5377197861671448, -0.3587265610694885, 0.38990965485572815, -0.728171169757843, -0.49243754148483276, -0.3139316141605377, -0.2014974057674408, 0.01116062980145216, 0.4442523419857025, -0.46791985630989075, 0.1844184398651123, 0.3923457860946655, 0.7828262448310852, -0.15657539665699005, 0.03330457583069801, -0.6995126605033875, 0.41333335638046265, -0.03974645212292671, 0.7208547592163086, -0.4277655780315399, -0.3056020736694336, 0.01081100758165121, 0.05103129521012306, -0.38953641057014465, -0.3229895532131195, 0.47456836700439453, -0.6105514764785767, 0.08675406128168106, 0.21383947134017944, -0.41435036063194275, -0.11054899543523788, 0.34564146399497986, -1.0231409072875977, 0.6946200728416443, 0.30974364280700684, -0.9261035919189453, 0.560706615447998, -0.806378960609436, -0.5654761791229248, 0.3483150005340576, -0.2750178873538971, -0.7937660217285156, -0.0181293785572052, 0.36962807178497314, 0.4925256371498108, -0.2589778006076813, 0.39522674679756165, -0.26236090064048767, 0.5282595753669739, 0.11315172165632248, -0.21966101229190826, 0.4455265998840332, 0.4760087728500366, 0.03534632548689842, 0.20095135271549225, -0.9806356430053711, 0.1374911218881607, 0.1663585752248764, -0.21493637561798096, -0.37475690245628357, 0.15189826488494873, 0.30744218826293945, 0.3556799590587616, 0.1587577909231186, -0.39279860258102417, -0.32458972930908203, -0.24326342344284058, 0.07039061933755875, 0.4554664194583893, 0.5225557088851929, 0.215963676571846, -0.8069582581520081, 0.7725495100021362, 0.2682182490825653, 0.1849425733089447, -0.5785314440727234, -0.33159956336021423, -0.32467108964920044, -0.6528409123420715, 0.16378018260002136, 0.4052368402481079, -0.782351016998291, 0.016018640249967575, -0.5630386471748352, -0.5191316604614258, -0.6697221398353577, -0.1385548710823059, 0.40008145570755005, 0.8695727586746216, 0.6997311115264893, 0.01581873744726181, -0.8228867650032043, -0.733741283416748, -0.008363315835595131, -0.05634523555636406, -0.10703272372484207, 0.5095690488815308, 0.16074462234973907, -0.4511437714099884, 0.8720824718475342, -0.5012293457984924, -0.32830068469047546, -0.48957595229148865, 0.22968608140945435, 0.22088702023029327, 0.41199377179145813, 0.2728385031223297, -1.156557559967041, -0.45420846343040466, 0.4067583680152893, -0.6942968368530273, 0.18600305914878845, 0.022145848721265793, -0.008999085053801537, -0.24625164270401, 0.2772531509399414, -0.30972376465797424, 0.07249684631824493, 0.5304816365242004, -0.3055937588214874, 0.43100202083587646, -0.3866861164569855, 0.22624096274375916, -1.5787749290466309, 0.4129939377307892, -0.09068531543016434, -0.2733529508113861, -0.8751792907714844, -0.11294379085302353, 0.17450113594532013, -0.024815719574689865, -0.28675827383995056, 0.7149198055267334, -0.3993065655231476, 0.009389684535562992, 0.13979671895503998, -0.14824512600898743, 0.4569147825241089, 0.08289426565170288, 0.036184635013341904, 0.24076057970523834, 0.3749639391899109, -0.5955477952957153, -0.07799769937992096, 0.44802629947662354, -0.20843897759914398, 0.5402581691741943, -0.5528470277786255, 0.054017774760723114, -0.3569784462451935, 0.1491924375295639, -0.6662781834602356, -0.7798236608505249, 0.03594944253563881, -0.4429873824119568, 0.6961866021156311, -0.38699477910995483, -0.2525278925895691, -0.2573576271533966, 0.056482668966054916, 0.41667115688323975, 0.45470622181892395, -0.46901583671569824, 1.4024916887283325, 0.7002235651016235, -0.3720736503601074, -0.5426453351974487, -0.49122512340545654, -0.1558183878660202, -0.383929044008255, -0.612883985042572, 0.7025071978569031, -0.05954385921359062, -0.3882273733615875, 0.10048483312129974, 0.15618515014648438, -0.06675403565168381, -0.12984421849250793, 0.3629511892795563, 0.7022733688354492, -0.1872016191482544, 0.39820966124534607, 0.22962254285812378, 0.08318493515253067, 0.016109656542539597, -0.2615562975406647, 0.40873563289642334, 0.18395480513572693, -0.4067608118057251, 0.01085133757442236, 0.34151721000671387, 0.787840723991394, -0.6525566577911377, 0.5618263483047485, 0.7694289684295654, -0.5740270614624023, 0.0067525217309594154, -0.7227113842964172, 0.041155241429805756, -0.3541208803653717, 0.3919999301433563, -0.2614571154117584, -0.5519468188285828, 0.5640865564346313, -0.22110088169574738, 0.4083736538887024, 0.48861852288246155, 0.5104095935821533, -0.18896856904029846, 1.0854533910751343, 0.5411974191665649, 0.435365229845047, 0.4786173701286316, -0.11097903549671173, -0.14886409044265747, -1.1868672370910645, -0.6983596682548523, -0.308104544878006, 0.1196887418627739, -0.4909435510635376, -0.4509860575199127, 0.9487966299057007, -0.21039323508739471, -0.15330076217651367, -0.059006791561841965, -0.2949211001396179, -0.22891367971897125, -0.08973601460456848, 0.5809959769248962, 0.2761608958244324, -0.09454216063022614, -0.17934642732143402, -0.03132156282663345, -0.7336937785148621, -0.16692200303077698, 1.3080302476882935, 0.3518405854701996, 0.6282913684844971, 0.26584622263908386, 0.7001280784606934, 0.20227962732315063, 0.6029080152511597, -0.38412439823150635, -0.05620778724551201, -0.30947551131248474, -0.5919790267944336, 0.09310828894376755, -0.42584484815597534, -1.2163763046264648, 0.16776427626609802, -0.49313414096832275, -0.5231798887252808, 0.2159801870584488, 0.3711962401866913, -0.6885213255882263, 0.20326539874076843, -0.6366087198257446, 0.7027475237846375, -0.33587098121643066, -0.3991182744503021, 0.15086904168128967, -0.8535051941871643, 0.2937307059764862, -0.1943168193101883, 0.7407683730125427, 0.11923697590827942, -0.06515651196241379, 0.6505919694900513, -0.13326296210289001, 0.6248343586921692, 0.06327983736991882, 0.10474380850791931, 0.23721443116664886, 0.04026828333735466, 0.4641333222389221, 0.0005659643211401999, 0.12341687828302383, -0.13332460820674896, -0.028755435720086098, -0.00495065376162529, -0.5562108159065247, 0.4414007067680359, -0.5689536333084106, -0.07633849233388901, -0.11911452561616898, -0.5007522702217102, -0.4409147799015045, 0.46965065598487854, 0.24583834409713745, 0.9203135967254639, -0.26660996675491333, 0.041792530566453934, 0.693789005279541, -0.11217417567968369, 0.10787136107683182, 0.5409414172172546, -0.4150191843509674, -0.7759045362472534, 0.7840591073036194, -0.0011706046061590314, 0.3375721275806427, 0.7595745921134949, 0.2777841091156006, -0.3957463502883911, -0.25341513752937317, -0.47145846486091614, 0.0753025934100151, -0.5656416416168213, -0.3900827467441559, -1.2006083726882935, -0.3916645050048828, -0.5310079455375671, 0.07003753632307053, -0.16547928750514984, 0.03359757363796234, -0.3245127201080322, -0.10871081054210663, 0.5109389424324036, 0.7544378638267517, 0.0277155302464962, 0.12159749865531921, -1.2226475477218628, 0.3335381746292114, -0.00034693468478508294, 0.22934798896312714, -0.02100042998790741, -0.5081081390380859, -0.27408739924430847, -0.25244009494781494, -0.1890508383512497, -0.8886973857879639, 0.6444383263587952, 0.12347375601530075, 0.57219398021698, 0.564638078212738, -0.022086987271904945, 0.6750702261924744, -0.8660194873809814, 0.2929857671260834, 0.3844089210033417, -0.39814630150794983, 0.6242847442626953, -0.47757601737976074, 0.16355392336845398, 0.33440250158309937, 0.38506606221199036, -0.3603396713733673, -0.10248620063066483, -0.9334387183189392, -0.9864627718925476, 0.3488496243953705, -0.27960270643234253, -0.3151799142360687, -0.1515512764453888, 0.12207845598459244, 0.2412429302930832, 0.0674656331539154, -0.4056566655635834, -0.2586781680583954, 0.007395298685878515, -0.4813675880432129, -0.11291864514350891, -0.29038968682289124, -0.3157651722431183, 0.16445669531822205, 0.2381238490343094, -0.17477789521217346, 0.3544270396232605, 0.2697310447692871, 0.015780683606863022, -0.34070393443107605, 0.3313862383365631, 0.19433897733688354, 0.6290295720100403, -0.18671914935112, 0.27394652366638184, -0.029720894992351532, -0.47965124249458313, -0.19962716102600098, 0.47545382380485535, 0.06084956228733063, 0.09360549598932266, 0.44481146335601807, 0.6811685562133789, 0.5138975977897644, -0.6202122569084167, 0.27867743372917175, 0.1650393307209015, 0.11709073185920715, -0.5864456295967102, -0.1468064785003662, 0.021096225827932358, 0.38094818592071533, 0.19912725687026978, 0.33886757493019104, 0.3600226044654846, -0.20225459337234497, 0.5746588706970215, 0.16155031323432922, -0.4254116415977478, -0.3615597188472748, 0.9941814541816711, 0.022181225940585136, 0.019507436081767082, 0.3543693721294403, 0.26494115591049194, -0.18917065858840942, 0.5202245116233826, 0.740739643573761, 0.5566023588180542, -0.4750923216342926, 0.10080940276384354, 0.3937075734138489, -0.056890733540058136, 0.13997375965118408, 0.3233817219734192, 0.20326173305511475, -0.5704534649848938, -0.5396198630332947, -0.6064800024032593, -0.17306983470916748, 0.02804923988878727, -0.8377175331115723, 0.3928700387477875, -0.15706415474414825, -0.4379774034023285, 0.16496004164218903, -0.2276221066713333, -0.8833337426185608, 0.259564608335495, 0.045139312744140625, 0.6208236813545227, -0.7331714630126953, 0.5131164789199829, 0.7838504910469055, -0.36308178305625916, -0.817009449005127, -0.18732145428657532, 0.2685341238975525, -0.5830414295196533, 0.460663765668869, 0.0776737853884697, 0.17031286656856537, 0.12201971560716629, -0.006469039712101221, -1.0917633771896362, 1.4316788911819458, 0.12514415383338928, -0.3571069538593292, -0.2842242121696472, -0.3767768144607544, 0.53192538022995, -0.6086243987083435, 0.358607679605484, 0.30419597029685974, 0.36582356691360474, 0.29231002926826477, -0.8579604029655457, -0.057069920003414154, -0.323123961687088, -0.3491556644439697, 0.4727382957935333, -0.34136253595352173, 0.8648979663848877, -0.5796812772750854, -0.3470431864261627, -0.2119419276714325, 0.5175696015357971, 0.30121734738349915, 0.5594120025634766, 0.38541877269744873, 0.5135867595672607, 0.8190340995788574, 0.15238697826862335, 1.1996790170669556, -0.36018794775009155, -0.004833549726754427, 1.2897874116897583, -0.3601109981536865, 0.7129724025726318, 0.2929113805294037, -0.09635429084300995, 0.8033878803253174, 0.24297398328781128, 0.2593468129634857, 0.39288511872291565, -0.46371352672576904, -0.3954378366470337, -0.12120718508958817, -0.298212468624115, -0.33404168486595154, 0.37343987822532654, 0.7086782455444336, -0.6689041256904602, -0.13946878910064697, 0.2529204487800598, 0.0815640240907669, -0.24147450923919678, -0.21133655309677124, 1.0890005826950073, 0.027610478922724724, -0.6633713841438293, -0.1420610547065735, -0.30209439992904663, 0.007265070918947458, -0.6184887886047363, -0.3457165062427521, 0.19586844742298126, 0.24447692930698395, -0.24192099273204803, -0.5006088018417358, 0.10726961493492126, -0.17537081241607666, -0.3280846178531647, -0.21573330461978912, 0.8858083486557007, -0.5091210007667542, -0.5334900617599487, 0.26694583892822266, 0.954255998134613, -0.07625441998243332, 0.4257667362689972, -0.5257155895233154, -0.06554382294416428, -0.1735510528087616, -0.09777294844388962, 0.3992787301540375, 0.5588667392730713, 0.17749430239200592, 0.6721479892730713, 0.6893114447593689, 0.2434825897216797, -0.07479039579629898, 0.1111699789762497, 0.9834060072898865, -0.33293652534484863, -0.468402236700058, -0.6276967525482178, 0.88029545545578, -0.10702990740537643, -0.11172804236412048, 0.4442633092403412, 0.549563467502594, 0.18465571105480194, 0.12456371635198593, 0.8414099812507629, -0.4235573410987854, 1.0894980430603027, -0.5333926677703857, 0.7204718589782715, -0.7405543923377991, 0.05909368395805359, -0.27714240550994873, -0.31095269322395325, -0.27283427119255066, -0.07579926401376724, -0.1422235369682312, 0.12398018687963486, 0.5176534056663513, 0.33017033338546753, -0.07944001257419586, -0.3851764500141144, 0.25054922699928284, 0.30079102516174316, 0.4492432773113251, 0.2742305099964142, 0.42862606048583984, -0.18344815075397491, 0.4694564640522003, -0.237172931432724, -0.34710192680358887, -0.22587831318378448, -0.8058985471725464, -0.4666024446487427, -0.6914355158805847, -0.16402168571949005, -0.5280538201332092, -0.08860760927200317, 0.9964912533760071, 0.6226122975349426, -0.5542376637458801, 0.36022892594337463, 0.22991642355918884, -0.0461125485599041, -0.3169156312942505, -0.2539516091346741, 0.7013328075408936, -0.4642904996871948, -0.39769527316093445, 0.5148245096206665, 0.2920437455177307, 0.12103408575057983, 0.03991837799549103, 0.08096114546060562, -0.05632548779249191, -0.33229389786720276, 0.5629420876502991, 0.21870672702789307, -0.39947670698165894, -0.09869057685136795, 0.2890259027481079, 0.04248030483722687, 0.18840432167053223, 0.7914391160011292, -0.868834376335144, 0.8916067481040955, 0.2061283141374588, 0.628261148929596, 0.41601958870887756, 0.24274224042892456, 0.4542817771434784, -0.5719833970069885, -0.254790335893631, 0.5463298559188843, 0.5244256854057312, 0.25853753089904785, -0.47372162342071533, 0.16723290085792542, 0.017718538641929626, -0.531213104724884, -0.654000461101532, 0.26075974106788635, -0.829470694065094, -0.02102956920862198, 0.9180557727813721, -0.11443520337343216, -0.15729454159736633, -0.4894534647464752, 0.1445648968219757, 0.2444772720336914, -0.2539033591747284, 0.545913815498352, 0.017207521945238113, -0.4599390923976898, -0.22408542037010193, -0.8293526768684387, 0.4906095266342163, 0.0029854411259293556, -1.0490634441375732, -0.02337377332150936, 0.6683812737464905, 0.29918137192726135, 0.4118565618991852, 0.6957378387451172, -0.5399399995803833, 0.3789736032485962, 0.05710800364613533, 0.11948096752166748, -0.057862915098667145, -0.6058615446090698, -0.08042343705892563, 0.3318460285663605, -0.07338424772024155, -0.015547764487564564 ]
http://arxiv.org/abs/2405.17039v1
http://arxiv.org/pdf/2405.17039v1
BWArea Model: Learning World Model, Inverse Dynamics, and Policy for Controllable Language Generation
2024-05-27T10:45:49
2024-05-27T10:45:49
Chengxing Jia, Pengyuan Wang, Ziniu Li, Yi-Chen Li, Zhilong Zhang, Nan Tang, Yang Yu
cs.CL
cs.CL, cs.LG
Large language models (LLMs) have catalyzed a paradigm shift in natural language processing, yet their limited controllability poses a significant challenge for downstream applications. We aim to address this by drawing inspiration from the neural mechanisms of the human brain, specifically Broca's and Wernicke's areas, which are crucial for language generation and comprehension, respectively. In particular, Broca's area receives cognitive decision signals from Wernicke's area, treating the language generation as an intricate decision-making process, which differs from the fully auto-regressive language generation of existing LLMs. In a similar vein, our proposed system, the BWArea model, conceptualizes language generation as a decision-making task. This model has three components: a language world model, an inverse dynamics model, and a cognitive policy. Like Wernicke's area, the inverse dynamics model is designed to deduce the underlying cognitive intentions, or latent actions, behind each token. The BWArea model is amenable to both pre-training and fine-tuning like existing LLMs. With 30B clean pre-training tokens, we have trained a BWArea model, which achieves competitive performance with LLMs of equal size (1B parameters). Unlike fully auto-regressive LLMs, its pre-training performance does not degenerate if dirty data unintentionally appears. This shows the advantage of a decomposed structure of BWArea model in reducing efforts in laborious data selection and labeling. Finally, we reveal that the BWArea model offers enhanced controllability via fine-tuning the cognitive policy with downstream reward metrics, thereby facilitating alignment with greater simplicity. On 9 out of 10 tasks from two suites, TextWorld and BigBench Hard, our method shows superior performance to auto-regressive LLMs.
[ -0.19746170938014984, -0.8559845089912415, 0.3841298222541809, 0.2887258231639862, -0.021902574226260185, -0.10647346824407578, -0.6079702377319336, -0.4311217963695526, -0.18867795169353485, 0.6135562062263489, -0.7037487626075745, -0.3635311722755432, -0.5453097224235535, -0.18900659680366516, -0.09431909024715424, 0.8430841565132141, 0.06241120770573616, -0.11021509021520615, 0.13538266718387604, 0.03864819556474686, -0.6416856050491333, -0.3533132076263428, -0.8284306526184082, -0.7775996327400208, 0.49629196524620056, 0.32677313685417175, 0.8466734886169434, 0.6389800906181335, 0.3228256404399872, 0.27209651470184326, 0.037923410534858704, -0.03041190840303898, -0.5036004185676575, 0.36308449506759644, -0.37777960300445557, -0.6022444367408752, -0.26414400339126587, 0.11458607017993927, 0.3364359140396118, 0.6136574745178223, -0.4239039421081543, 0.15953436493873596, 0.12295864522457123, 0.6098629236221313, -0.716569721698761, 0.3799346089363098, -0.7336565852165222, -0.018120968714356422, -0.0576075054705143, -0.00764422444626689, -0.4669880270957947, -0.46716204285621643, 0.1322041004896164, -0.5183426141738892, -0.1707988977432251, 0.15695716440677643, 0.9351208209991455, 0.29909735918045044, -0.22946083545684814, -0.3146953582763672, -0.9715006351470947, 0.916440486907959, -0.6884410977363586, 0.48082152009010315, 0.393096387386322, 0.1900423914194107, -0.3793499171733856, -0.6025408506393433, -0.5875109434127808, -0.28457197546958923, 0.2509227991104126, 0.23574471473693848, -0.38625919818878174, 0.05922599136829376, 0.12647472321987152, 0.026747295632958412, -0.5902846455574036, 0.5705830454826355, -0.40029990673065186, -0.21596759557724, 0.5487917065620422, 0.2701473832130432, 0.39355331659317017, 0.03966011852025986, -0.2612974941730499, -0.2112867534160614, -0.8697933554649353, 0.2546708583831787, 0.3242504894733429, 0.48079466819763184, 0.013428939506411552, 0.6039677858352661, -0.15867140889167786, 0.751528799533844, 0.03442283347249031, -0.13722409307956696, -0.08416993916034698, 0.12317891418933868, -0.42492780089378357, 0.0931246355175972, 0.7061184048652649, 0.14013069868087769, 0.21155990660190582, -0.2107098251581192, -0.36144161224365234, 0.3524664342403412, 0.4669223129749298, -0.7708339095115662, -0.3261979818344116, 0.28509601950645447, -0.32887962460517883, -0.39680764079093933, -0.24525056779384613, -0.3463970422744751, -0.22455428540706635, -0.6666858196258545, 0.4362854063510895, -0.5134773254394531, -0.23288069665431976, 0.06843823194503784, 0.010175495408475399, 0.3390469253063202, 0.2209032028913498, -0.9442939162254333, 0.41429463028907776, 0.5188049674034119, 0.5498353838920593, -0.38261544704437256, -0.299169659614563, -0.26883500814437866, 0.44380825757980347, -0.5944339632987976, 0.3977237939834595, -0.6488825082778931, -0.1368110030889511, -0.03311869502067566, -0.1348719596862793, 0.174953430891037, -0.6855992674827576, -0.05064251273870468, -0.875257670879364, 0.12117733806371689, -0.13617375493049622, -0.38844504952430725, -0.4016689658164978, 0.23759222030639648, -0.5256009697914124, 0.7643874883651733, -0.05555276572704315, -0.5543600916862488, 0.4855507016181946, -0.5981960296630859, -0.36897990107536316, 0.08722594380378723, -0.11073492467403412, -0.30701515078544617, 0.05605288967490196, -0.018233636394143105, 0.4021871089935303, -0.5012509226799011, 0.655194878578186, -0.24876798689365387, -0.1320541650056839, 0.24751253426074982, -0.5252155065536499, 0.8596171736717224, 0.3007417321205139, -0.50783371925354, 0.19486327469348907, -0.5421009659767151, -0.017062958329916, 0.1783367246389389, -0.5829262733459473, -0.5276468396186829, 0.010071191005408764, -0.01639324612915516, 0.47263991832733154, 0.40698179602622986, -0.5506608486175537, 0.2164207100868225, -0.38267284631729126, 0.27454185485839844, 0.8546257019042969, 0.025686362758278847, 0.5004765391349792, -0.1333288997411728, 0.5885953903198242, 0.25162264704704285, 0.23699046671390533, 0.12220626324415207, -0.337986022233963, -0.4961526095867157, -0.22362953424453735, 0.16573108732700348, 0.8023653030395508, -0.6929707527160645, 0.46470654010772705, -0.15384972095489502, -0.44806721806526184, -0.326985239982605, 0.29364100098609924, 0.5750108361244202, 0.307346373796463, 0.2937186360359192, -0.26298171281814575, -0.303606241941452, -0.985410213470459, -0.07620387524366379, 0.025081265717744827, -0.017824869602918625, 0.17219845950603485, 0.1440403014421463, -0.17630071938037872, 0.9664422869682312, -0.6088424324989319, -0.2813171148300171, -0.48106396198272705, 0.09182966500520706, 0.09324561059474945, 0.5079817175865173, 0.278391033411026, -0.7060353755950928, -0.14242874085903168, 0.08773773908615112, -0.729751467704773, -0.30346158146858215, -0.035654015839099884, -0.19735375046730042, 0.3777036666870117, 0.6749733090400696, -0.48788851499557495, 0.284546434879303, 0.6914417147636414, -0.11734797805547714, 0.30295953154563904, -0.45263466238975525, -0.29945868253707886, -1.051805019378662, 0.19275711476802826, 0.06218767166137695, -0.04118958115577698, -0.34473976492881775, 0.13403157889842987, 0.030280297622084618, -0.15427888929843903, -0.3901585340499878, 0.5555132627487183, -0.49222272634506226, -0.09484747797250748, -0.4216310977935791, 0.33865684270858765, -0.2505851089954376, 0.8677846193313599, 0.08237557858228683, 0.5577221512794495, 0.5528874397277832, -0.9090396165847778, 0.3017274737358093, 0.1477106660604477, -0.20221222937107086, 0.4289131164550781, -0.5448387265205383, -0.16743585467338562, -0.24318428337574005, 0.2982150614261627, -0.7863102555274963, -0.047951240092515945, 0.03520886227488518, -0.2231840044260025, 0.45691514015197754, 0.1362033486366272, -0.28016746044158936, -0.3072129487991333, -0.020641937851905823, 0.13693967461585999, 0.7193470597267151, -0.46376851201057434, 0.5393075346946716, 0.5496556758880615, -0.376661092042923, -0.5577086210250854, -0.7933328747749329, 0.05524010956287384, -0.04101276025176048, -0.31328916549682617, 0.2905033826828003, -0.044837966561317444, -0.30874353647232056, -0.0779648870229721, 0.06764133274555206, 0.02448311448097229, 0.15563485026359558, 0.4716488718986511, 0.27395349740982056, -0.18289591372013092, 0.09982051700353622, 0.5082253217697144, -0.15828944742679596, -0.07067522406578064, -0.5343462824821472, 0.6957506537437439, 0.1845329850912094, 0.12096468359231949, -0.47840869426727295, -0.046429798007011414, 0.3964129388332367, -0.3879539966583252, 0.7068169713020325, 0.22261151671409607, -0.30816882848739624, -0.4474681317806244, -0.2791242301464081, -0.2006732076406479, -0.49252310395240784, 0.2438523918390274, -0.22961968183517456, -0.6627673506736755, 0.3994395136833191, -0.21735665202140808, 0.424501895904541, 0.0642736554145813, 0.779411792755127, 0.10071342438459396, 0.9019028544425964, 0.566490888595581, -0.23578022420406342, 0.5661457777023315, -0.32877638936042786, 0.045849286019802094, -0.789250373840332, -0.19358649849891663, -0.39758241176605225, -0.47047391533851624, -0.5983375310897827, -0.04467308521270752, 0.1614248901605606, 0.14906224608421326, -0.4719768166542053, 0.3174401819705963, -0.327445924282074, 0.3181400001049042, 0.6560075879096985, 0.08672511577606201, 0.22698093950748444, -0.19290471076965332, -0.2908233106136322, 0.07267149537801743, -0.7095426321029663, -0.6128324270248413, 0.9803816080093384, 0.20731396973133087, 0.8293527960777283, 0.15223686397075653, 0.6118321418762207, 0.19512107968330383, 0.5530366897583008, -0.6049481630325317, 0.5938945412635803, -0.23599885404109955, -0.6683351993560791, -0.41646137833595276, -0.32032981514930725, -1.2472493648529053, 0.29697340726852417, -0.321281760931015, -0.8353356719017029, 0.056128326803445816, 0.32734379172325134, -0.16567541658878326, 0.25285452604293823, -0.5091646909713745, 0.7609050273895264, -0.07686054706573486, -0.46566176414489746, -0.292873352766037, -0.6101172566413879, 0.4283856153488159, -0.022604824975132942, 0.15503165125846863, 0.12021248787641525, -0.03807533159852028, 0.44700029492378235, -0.14310519397258759, 1.0102566480636597, -0.4104785919189453, -0.4563344717025757, 0.24431997537612915, 0.49077001214027405, 0.492691308259964, -0.22584125399589539, 0.0864921435713768, 0.06004691496491432, -0.36696797609329224, -0.26843497157096863, -0.4367625117301941, 0.8542768359184265, -0.7258979678153992, -0.4658200740814209, -0.11825750768184662, -0.7243276238441467, -0.21696226298809052, 0.4531954228878021, 0.2625682055950165, 0.5605965852737427, -0.2580195665359497, 0.05661569908261299, 0.6835833191871643, -0.4567987620830536, 0.5538148283958435, 0.5534800291061401, -0.4961613416671753, -0.13845370709896088, 1.0792019367218018, 0.21199533343315125, 0.2826825976371765, 0.40005970001220703, 0.2507244944572449, -0.1451183259487152, -0.6950128674507141, -0.2594332993030548, 0.1605149805545807, -0.35687562823295593, -0.14387179911136627, -0.5211671590805054, 0.002272683894261718, -0.24338309466838837, -0.15165303647518158, -0.347351610660553, -0.27379336953163147, -0.13665063679218292, -0.19078731536865234, -0.029042521491646767, 0.8758462071418762, -0.15301789343357086, 0.5376635193824768, -0.6313130259513855, 0.3618999123573303, 0.27561116218566895, 0.21389147639274597, 0.13487890362739563, -0.30970126390457153, -0.09423515945672989, 0.22411088645458221, -0.6457635164260864, -0.6385501623153687, 0.6051993370056152, -0.046667248010635376, 0.3730332553386688, 0.22378361225128174, -0.05238507315516472, 0.32039639353752136, -0.48672619462013245, 0.7369368076324463, 0.08037478476762772, -0.8681181073188782, 0.5519151091575623, -0.4128800332546234, 0.311846524477005, 0.349319726228714, 0.28072285652160645, -0.31291648745536804, -0.8210391998291016, -0.5817014575004578, -0.9529365301132202, 0.8483957052230835, 0.08289822190999985, 0.115391805768013, 0.1192958652973175, 0.3703655004501343, 0.17999476194381714, 0.30574631690979004, -0.7346028685569763, -0.03931250795722008, -0.06734684109687805, -0.32670238614082336, 0.004881497472524643, 0.13138237595558167, -0.06472748517990112, 0.1056058332324028, 0.8963536620140076, -0.12045983225107193, -0.12424208968877792, -0.0621701255440712, -0.26636189222335815, -0.14138366281986237, 0.1160038635134697, 0.6059241890907288, 0.5319488644599915, -0.01801980473101139, -0.038358282297849655, -0.08082015067338943, -0.5345171689987183, 0.11231395602226257, -0.18447093665599823, -0.434628963470459, -0.6063351035118103, 0.1590023785829544, 1.026253342628479, 0.11648419499397278, -0.583618700504303, 0.3249043822288513, 0.011670965701341629, -0.06663315743207932, -0.3990262746810913, 0.32972779870033264, 0.12088264524936676, 0.46145009994506836, 0.21191775798797607, 0.10782212764024734, -0.10172556340694427, -0.4031301438808441, 0.09642615169286728, 0.4654613733291626, -0.4371548593044281, -0.36792075634002686, 0.6883003115653992, 0.10836713016033173, -0.19512195885181427, 0.8432812690734863, -0.13031381368637085, -0.254314124584198, 0.6560438871383667, 0.755797803401947, 0.7782157063484192, -0.3002074658870697, 0.21159885823726654, 0.1785915493965149, 0.5659205913543701, -0.149658203125, 0.31089046597480774, 0.07703535258769989, -0.9740067720413208, -0.37278515100479126, -0.5910878777503967, -0.2936897277832031, 0.21457244455814362, -0.7866676449775696, 0.03544116020202637, -0.7290559411048889, -0.2310212403535843, -0.1637173444032669, -0.10478448867797852, -0.49241000413894653, 0.49512943625450134, 0.15048974752426147, 0.828437328338623, -0.8778553605079651, 0.91938316822052, 0.5342037677764893, -0.47000712156295776, -0.9420871734619141, 0.07378416508436203, -0.1768726110458374, -0.6513684391975403, 0.891171932220459, -0.046305593103170395, -0.16494686901569366, 0.1878732442855835, -0.8391887545585632, -0.761436402797699, 1.1399831771850586, 0.5046067237854004, -0.5639362931251526, -0.10992961376905441, -0.28218358755111694, 0.499603271484375, -0.18147777020931244, -0.15641014277935028, 0.6186407208442688, 0.6167335510253906, -0.03651871159672737, -0.7143974900245667, 0.17871414124965668, 0.1746464967727661, 0.2033349871635437, 0.35442081093788147, -0.6452431678771973, 0.5515947937965393, -0.2763930559158325, -0.20428819954395294, -0.17690448462963104, 0.748508870601654, 0.4915180504322052, 0.0038904035463929176, 0.32088741660118103, 0.5220544934272766, 0.6196308732032776, -0.07738876342773438, 1.219671607017517, -0.30685120820999146, 0.14085811376571655, 0.9397121667861938, -0.45552554726600647, 0.914883553981781, 0.4121803939342499, -0.015996240079402924, 0.5648279786109924, 0.3195585012435913, 0.2799873948097229, 0.5139110684394836, 0.41079041361808777, 0.1382131427526474, -0.31213197112083435, 0.08713261038064957, 0.19430917501449585, 0.5847574472427368, 0.5161094069480896, -0.04539074748754501, -0.12096677720546722, 0.2685961127281189, 0.19526401162147522, 0.22012335062026978, -0.3075990378856659, 0.8071314692497253, 0.05765237659215927, -0.8813582062721252, 0.43045249581336975, 0.16471292078495026, 0.7912094593048096, -0.953642725944519, 0.012034597806632519, -0.25068098306655884, 0.2705658972263336, -0.013070239685475826, -0.6013816595077515, 0.20693983137607574, -0.21315696835517883, -0.1901642084121704, -0.09670175611972809, 0.4771033823490143, -0.6248646974563599, -0.24332280457019806, 0.4365489184856415, 0.21945524215698242, -0.09825244545936584, 0.23332101106643677, -0.6618324518203735, 0.12565597891807556, -0.058929577469825745, -0.621570885181427, 0.40036436915397644, 0.32165631651878357, -0.46043577790260315, 0.9394184350967407, 0.7470899820327759, 0.3940403163433075, 0.2100827395915985, -0.1410883069038391, 0.6692861318588257, -0.760033130645752, -0.622186541557312, -0.5212748646736145, 0.06196712702512741, 0.12629736959934235, -0.28671979904174805, 0.38386428356170654, 0.41519156098365784, 0.7599246501922607, -0.031117964535951614, 0.8569202423095703, -0.08145062625408173, 0.2059313803911209, -0.7268807291984558, 0.7353057265281677, -0.49176204204559326, 0.057754214853048325, -0.15917563438415527, -1.0360221862792969, -0.29587724804878235, 0.43699657917022705, -0.2751343548297882, 0.11360715329647064, 0.4939137101173401, 0.7897644639015198, -0.08491946756839752, -0.07052712142467499, 0.3820975720882416, 0.5545198917388916, 0.5497324466705322, 0.6151997447013855, 0.5995782017707825, -0.07466737180948257, 0.28679290413856506, -0.13334079086780548, -0.35586413741111755, 0.07506213337182999, -0.8433099985122681, -0.6086046099662781, -0.5485014319419861, -0.24361425638198853, -0.20773783326148987, -0.07120269536972046, 1.0634279251098633, 0.5759804844856262, -0.7190510630607605, -0.49817460775375366, -0.33475762605667114, -0.10246576368808746, -0.4053244888782501, -0.2662758231163025, 0.21618521213531494, -0.5606727004051208, -0.7570880651473999, 0.39056867361068726, 0.3896642327308655, 0.006127060391008854, -0.48442819714546204, -0.19829760491847992, -0.22344867885112762, 0.4196840822696686, 0.5869306921958923, 0.4297023415565491, -0.5611465573310852, -0.043845098465681076, -0.24161915481090546, -0.3610226809978485, -0.34987613558769226, 0.9381269216537476, -0.7842923402786255, 0.21419937908649445, 0.4158935546875, 0.6387767791748047, 0.46025219559669495, -0.13018392026424408, 0.8443520069122314, -0.5935529470443726, 0.31081444025039673, 0.09928178042173386, 0.20262795686721802, 0.25836488604545593, -0.23894894123077393, 0.2086244374513626, -0.10642591118812561, -0.4546733498573303, -0.635254442691803, 0.4215840697288513, -0.8767659664154053, -0.6610164642333984, 1.0988130569458008, -0.13987977802753448, -0.4814721643924713, -0.07446636259555817, -0.41644832491874695, 0.3450559973716736, -0.41525641083717346, 0.7324060797691345, 0.5129141211509705, -0.08874645084142685, 0.03730965778231621, -0.38059163093566895, 0.4094374179840088, 0.29295843839645386, -0.7644911408424377, 0.47340598702430725, 0.7578945755958557, 0.33518388867378235, 0.0796114131808281, 0.5222203135490417, -0.1719144582748413, 0.11141185462474823, -0.2628425657749176, 0.40051817893981934, -0.21776534616947174, -0.5678541660308838, -0.393854558467865, 0.14496514201164246, 0.12556993961334229, -0.12191976606845856 ]
http://arxiv.org/abs/2406.01607v2
http://arxiv.org/pdf/2406.01607v2
Recent advances in text embedding: A Comprehensive Review of Top-Performing Methods on the MTEB Benchmark
2024-05-27T09:52:54
2024-06-19T06:52:13
Hongliu Cao
cs.IR
cs.IR, cs.AI, cs.CL
Text embedding methods have become increasingly popular in both industrial and academic fields due to their critical role in a variety of natural language processing tasks. The significance of universal text embeddings has been further highlighted with the rise of Large Language Models (LLMs) applications such as Retrieval-Augmented Systems (RAGs). While previous models have attempted to be general-purpose, they often struggle to generalize across tasks and domains. However, recent advancements in training data quantity, quality and diversity; synthetic data generation from LLMs as well as using LLMs as backbones encourage great improvements in pursuing universal text embeddings. In this paper, we provide an overview of the recent advances in universal text embedding models with a focus on the top performing text embeddings on Massive Text Embedding Benchmark (MTEB). Through detailed comparison and analysis, we highlight the key contributions and limitations in this area, and propose potentially inspiring future research directions.
[ -0.19761022925376892, -0.8370043039321899, 0.6078992486000061, 0.11599552631378174, -0.14859803020954132, 0.3547168970108032, -0.13238033652305603, -0.573947548866272, -0.0008020255481824279, 0.6318050622940063, 0.014878363348543644, -0.8289240598678589, -0.8397814631462097, 0.17829787731170654, -0.6585419178009033, 0.6380855441093445, -0.20969492197036743, 0.14411389827728271, -0.457733154296875, -0.48000335693359375, -0.6883591413497925, -0.8945068717002869, -0.22868502140045166, -0.22735868394374847, 0.29817891120910645, 0.07481009513139725, 0.49476349353790283, 0.7609186172485352, 0.6741970181465149, 0.3144354224205017, -0.2190476655960083, 0.2596662938594818, -0.2625640332698822, 0.4135528802871704, -0.19286620616912842, -0.40175101161003113, -0.4115186333656311, -0.09756278991699219, 0.946588397026062, 0.7810218930244446, -0.05798792093992233, -0.07388780266046524, 0.1677757352590561, 0.4630027115345001, -0.7983707189559937, -0.3163982331752777, -0.5146225690841675, 0.051479704678058624, -0.31269580125808716, -0.026976611465215683, -0.5746213793754578, -0.49428078532218933, 0.16082632541656494, -0.07759962975978851, 0.1873272806406021, 0.2626270055770874, 0.5417527556419373, -0.04917946085333824, -0.6467428803443909, -0.5760705471038818, -0.5978177189826965, 1.1259040832519531, -0.6297427415847778, 0.8091048002243042, 0.17621271312236786, 0.10595103353261948, -0.03335493430495262, -0.7544731497764587, -0.10258208215236664, -0.1722116321325302, 0.2111109048128128, -0.12727180123329163, -0.1713130623102188, -0.014923286624252796, -0.05948923900723457, 0.5209310054779053, -0.5942701101303101, 0.30435916781425476, 0.19829049706459045, -0.0836973786354065, 0.20438091456890106, 0.25928664207458496, 0.278850793838501, -0.08933787047863007, -0.4503124952316284, -0.1566004902124405, -0.9178084135055542, -0.34731730818748474, 0.10641521215438843, 0.030332671478390694, 0.12750427424907684, 0.5918242335319519, -0.059639815241098404, 0.5351155400276184, -0.5223053097724915, 0.2739468812942505, 0.2234935313463211, -0.26726993918418884, -0.3310922682285309, -0.26012659072875977, 0.5876906514167786, 0.24723458290100098, 0.23011912405490875, -0.36797285079956055, -0.20575322210788727, 0.027004266157746315, 0.2295549213886261, -0.7615063786506653, 0.24945364892482758, -0.00013513154408428818, -0.5627111792564392, -0.34405460953712463, 0.026500806212425232, -0.7026799321174622, -0.4898715615272522, -0.16391989588737488, 0.28675082325935364, -0.3305107653141022, -0.09730086475610733, -0.06345641613006592, -0.18368196487426758, 0.2792203426361084, 0.2703951895236969, -0.826675295829773, 0.2874034643173218, 0.7305383682250977, 0.8930670022964478, -0.14263306558132172, -0.15156543254852295, -0.250146746635437, 0.40286868810653687, -0.5029614567756653, 1.1123759746551514, -0.7299008369445801, -0.4291035234928131, 0.40624141693115234, -0.40912893414497375, 0.15031661093235016, -0.7077087163925171, 0.7568118572235107, -0.5893484354019165, 0.06889654695987701, -0.3768438696861267, -0.703299880027771, -0.1402459442615509, 0.3132432997226715, -0.5905783772468567, 1.3289580345153809, -0.03148360177874565, -0.817267119884491, 0.1049526259303093, -0.4520370066165924, -0.28959956765174866, -0.15969499945640564, -0.023716632276773453, -0.22732442617416382, 0.31624799966812134, 0.23161721229553223, 0.7632619738578796, -0.5793691277503967, 0.29541102051734924, -0.30109357833862305, -0.5230326652526855, 0.4181543290615082, -0.48410072922706604, 0.46925288438796997, 0.06507793068885803, -0.14918319880962372, -0.13853515684604645, -0.5600284337997437, -0.043174952268600464, 0.1021866723895073, -0.1129738837480545, -0.6244995594024658, 0.1372852623462677, 0.31522953510284424, -0.14479084312915802, 0.31322038173675537, -0.5315900444984436, 0.41478025913238525, -0.02462378703057766, 0.43779727816581726, 0.7759546041488647, -0.03629862144589424, 0.4553864896297455, -0.14486868679523468, 0.10141760110855103, -0.2623651325702667, -0.04151150956749916, -0.29169315099716187, -0.43553289771080017, -0.25972840189933777, -0.22643858194351196, 0.9269474148750305, 0.6245981454849243, -0.39710307121276855, 0.345596045255661, -0.27525272965431213, -0.3980999290943146, -0.5646668672561646, 0.278714656829834, 0.2696487605571747, 0.014139843173325062, 0.350114643573761, -0.2326352894306183, -0.6570167541503906, -0.8621506094932556, -0.4885759651660919, 0.22542880475521088, -0.1432061493396759, 0.2029954344034195, 0.3010217249393463, -0.6101990938186646, 0.8493225574493408, -0.5616332292556763, -0.2771637439727783, -0.5254567861557007, 0.17700344324111938, -0.014886461198329926, 0.5316576957702637, 0.48559051752090454, -0.6999838352203369, -0.5271909832954407, -0.015494389459490776, -0.943172812461853, -0.015025930479168892, 0.055164266377687454, -0.16716554760932922, 0.18593445420265198, 0.6019222736358643, -0.2995681166648865, 0.30993759632110596, 0.9045174717903137, -0.190764918923378, 0.3777621388435364, -0.3305911123752594, 0.24000494182109833, -0.9950860738754272, 0.043252263218164444, -0.007847526110708714, -0.43433475494384766, -0.6134252548217773, 0.09907517582178116, 0.25689056515693665, 0.17345015704631805, -0.04061038792133331, 0.6068864464759827, -0.6545599102973938, -0.17534326016902924, -0.35890695452690125, 0.5248170495033264, -0.0694442093372345, 0.08373691886663437, -0.2841377258300781, 0.6400315761566162, 0.49939051270484924, -0.5729915499687195, 0.2540324926376343, 0.377781480550766, -0.4332975447177887, 0.4452824294567108, -0.5999130606651306, 0.12447665631771088, 0.034085921943187714, 0.20097839832305908, -0.9917617440223694, 0.10620331764221191, -0.1427963525056839, -0.37060919404029846, 0.613075315952301, 0.08601302653551102, -0.8914875984191895, -0.2743302881717682, -0.5624898672103882, 0.3959949314594269, 0.6281834244728088, -0.41059795022010803, 0.3670562207698822, 0.5711074471473694, -0.3721782863140106, -0.6219993233680725, -0.9091105461120605, 0.4350966513156891, 0.07330849766731262, -0.4975331425666809, 0.5752664804458618, -0.17581310868263245, 0.013924376107752323, -0.03205208480358124, -0.16986243426799774, -0.14803463220596313, 0.10661706328392029, -0.1163732036948204, 0.2869420349597931, -0.08450700342655182, 0.03933284804224968, 0.2384207844734192, -0.18387486040592194, -0.25631213188171387, -0.1781724989414215, 0.47607341408729553, -0.029059791937470436, -0.23095422983169556, -0.1987871527671814, 0.5137239098548889, 0.20481258630752563, -0.27170732617378235, 0.9930098652839661, 0.5142439603805542, -0.4525805115699768, -0.1499754786491394, -0.9002625346183777, 0.05241343379020691, -0.447579950094223, 0.42028793692588806, -0.012194054201245308, -1.0026508569717407, 0.24349404871463776, -0.5226243734359741, 0.2576947510242462, 0.2578011453151703, 0.4313928186893463, -0.26978799700737, 1.2208449840545654, 0.9158236980438232, -0.055664438754320145, 0.6699423789978027, -0.27238863706588745, -0.004974356386810541, -1.133634090423584, -0.07049135118722916, -0.7553994655609131, -0.23535218834877014, -0.9216204285621643, -0.45924052596092224, -0.05162583291530609, 0.16915108263492584, -0.030793897807598114, 0.4116370379924774, -0.39513084292411804, 0.42297863960266113, 0.4033985435962677, -0.1686570942401886, 0.4174591600894928, 0.10893087089061737, -0.3982766270637512, -0.07891035825014114, -0.4799044728279114, -0.7745605707168579, 1.3180211782455444, 0.3887249231338501, 0.6204538941383362, -0.004430070519447327, 0.5140112638473511, 0.7042552828788757, 0.6630273461341858, -0.29327091574668884, 0.48344850540161133, -0.47681301832199097, -0.6309269070625305, -0.09502783417701721, -0.4479888081550598, -1.0376206636428833, 0.5252892971038818, -0.32274511456489563, -0.734951376914978, -0.09446929395198822, -0.05240890756249428, 0.21504409611225128, 0.6365373730659485, -0.4745652973651886, 0.6698402762413025, -0.030785491690039635, -0.296318918466568, -0.2343084067106247, -0.2914964556694031, -0.08535448461771011, 0.2075553983449936, 0.3435559570789337, 0.0345904603600502, -0.29660823941230774, 0.8329952955245972, 0.22806860506534576, 0.5567041635513306, -0.17302222549915314, -0.19338268041610718, 0.3372815251350403, -0.19206224381923676, 0.6089834570884705, -0.2689208686351776, -0.22040370106697083, 0.3536125421524048, -0.1608201414346695, -0.4914815425872803, -0.28711074590682983, 0.8038145303726196, -0.4205319881439209, -0.36024200916290283, -0.349870502948761, -0.24496620893478394, -0.5967614650726318, 0.22692742943763733, 0.22040121257305145, 0.8658942580223083, -0.5049639344215393, 0.698331892490387, 0.9251065254211426, -0.43369048833847046, 0.48528748750686646, 0.08536788821220398, -0.3582611680030823, -0.8340958952903748, 0.9010993242263794, 0.16955196857452393, -0.07349549978971481, 0.7121722102165222, 0.04904351010918617, -0.5037716031074524, -0.9718928933143616, -0.3847714960575104, 0.36543190479278564, -0.6523171067237854, -0.3192029297351837, -0.8018884658813477, 0.01783347688615322, -0.467044860124588, -0.38073375821113586, -0.41612881422042847, -0.24789643287658691, 0.009822583757340908, -0.1512591689825058, 0.005209002643823624, 1.2617266178131104, 0.10930975526571274, 0.3107537627220154, -1.024925947189331, 0.24667292833328247, 0.02189646102488041, 0.8661887645721436, 0.08641867339611053, -0.19146502017974854, -0.6524550914764404, -0.09176039695739746, -0.5079506635665894, -0.8915112614631653, 0.16883638501167297, -0.28139936923980713, 0.7326164841651917, 0.22021928429603577, -0.2188250571489334, 0.2044781595468521, -0.606278657913208, 0.7275729179382324, -0.04433226212859154, -0.950844407081604, 0.21594467759132385, -0.3678666949272156, 0.19546815752983093, 0.3499373495578766, 0.42672351002693176, -0.6808667778968811, -0.265092134475708, -0.45003676414489746, -0.8360394835472107, 0.28070318698883057, 0.3139567971229553, 0.3002459406852722, 0.20040066540241241, 0.08810164034366608, 0.2780040204524994, 0.46665534377098083, -0.5658630728721619, -0.3823069632053375, 0.20463712513446808, -0.3685717284679413, 0.08344880491495132, -0.5428993105888367, 0.35367557406425476, 0.02747311256825924, 0.47926065325737, 0.09223881363868713, 0.6668520569801331, 0.08474218100309372, -0.5614742636680603, 0.20016448199748993, 0.5231420993804932, 0.36558523774147034, 0.3978423774242401, -0.309302419424057, -0.1849890649318695, 0.3605944812297821, -0.5793570876121521, -0.02861107513308525, -0.058874111622571945, -0.1517011821269989, 0.07924793660640717, 0.39335232973098755, 0.5438418388366699, 0.5782273411750793, -0.6757664680480957, 0.48538738489151, -0.021924037486314774, -0.06378629058599472, -0.003013207809999585, -0.19282236695289612, 0.12266452610492706, 0.19179636240005493, 0.4922827184200287, 0.03529713675379753, 0.2366458624601364, -0.6218924522399902, -0.07753856480121613, 0.5015481114387512, -0.1823340505361557, -0.1963830292224884, 0.4792253375053406, 0.26168814301490784, -0.004584103357046843, 0.5485047101974487, 0.21760472655296326, -0.5104845762252808, 0.2520281970500946, 0.6183096766471863, 1.009554147720337, -0.25494706630706787, 0.003060166025534272, 0.08560184389352798, 0.3143255412578583, -0.03726897016167641, 0.14222311973571777, -0.07948976755142212, -0.5151144862174988, -0.41766485571861267, -0.5677340626716614, -0.8439953327178955, -0.1762903928756714, -0.4827862083911896, -0.005172186531126499, -0.3872300684452057, -0.30266353487968445, -0.4156176447868347, 0.1280149519443512, -0.8703500628471375, 0.10280052572488785, 0.24939322471618652, 1.0004572868347168, -0.34935861825942993, 0.6631470322608948, 0.9262892603874207, 0.05161760002374649, 0.17690972983837128, 0.04557812213897705, -0.19744166731834412, -0.3777340054512024, 0.23680925369262695, 0.36322107911109924, 0.08643566817045212, 0.11759133636951447, -0.5141363143920898, -0.9283782839775085, 1.1432180404663086, 0.20662783086299896, -0.44754549860954285, -0.21958759427070618, 0.30097496509552, 0.5376074314117432, -0.27119070291519165, 0.503292977809906, 0.3164910078048706, 0.4446151554584503, -0.22606712579727173, -0.42545968294143677, -0.030222088098526, -0.061075881123542786, 0.37379395961761475, 0.360859215259552, -0.5896997451782227, 0.5139062404632568, 0.11207239329814911, -0.23677794635295868, 0.3175503611564636, 0.7648892402648926, 0.14991271495819092, 0.34036844968795776, 0.0846150740981102, 0.46838703751564026, 0.6860516667366028, -0.2207449972629547, 1.1937819719314575, -0.05847307667136192, 0.2673918902873993, 0.6150807738304138, -0.37744373083114624, 1.2043062448501587, -0.04484261944890022, -0.23624882102012634, 0.8353538513183594, 0.2729068696498871, -0.09745155274868011, 0.3793012797832489, -0.020576154813170433, -0.031842634081840515, -0.1199713721871376, -0.12728425860404968, -0.5588182210922241, 0.14686493575572968, 0.45456963777542114, -0.2795012891292572, -0.2994087040424347, 0.21488232910633087, -0.14507897198200226, 0.017187684774398804, -0.1271519660949707, 0.7667605876922607, 0.11985328793525696, -0.2846715450286865, 0.30557700991630554, 0.24841591715812683, 1.1375290155410767, -0.6432515382766724, -0.05921360105276108, -0.23804976046085358, 0.21296896040439606, 0.10223665088415146, -0.9176596999168396, 0.15494796633720398, 0.34882134199142456, -0.1982102245092392, -0.6106341481208801, 0.854681670665741, -0.20250912010669708, -0.06414561718702316, 0.4421140253543854, 0.4800305962562561, -0.16552002727985382, -0.1879003942012787, -0.5196198225021362, 0.3073499798774719, -0.12933950126171112, -0.40331870317459106, 0.5641977190971375, 0.4355727434158325, 0.05673476308584213, 0.6595120429992676, 0.6019487380981445, -0.08055352419614792, 0.02439999394118786, -0.027505844831466675, 0.6769213080406189, -1.1995221376419067, -0.27217811346054077, -0.6800085306167603, 0.5332262516021729, -0.11831828951835632, -0.11855486035346985, 0.7241837382316589, 0.5469671487808228, 0.6279637217521667, 0.08342132717370987, 0.7769982814788818, 0.1588396579027176, 0.6593121290206909, -0.5083572864532471, 0.6927033066749573, -0.597569465637207, 0.1146080419421196, -0.43529197573661804, -1.2089014053344727, -0.36731210350990295, 0.22842557728290558, -0.03639360889792442, 0.23208458721637726, 0.8172529935836792, 0.40216392278671265, 0.1474277675151825, 0.13948574662208557, 0.49726125597953796, 0.24140147864818573, 0.33088991045951843, 0.10280746966600418, 0.7719771862030029, -0.6519886255264282, 0.618034839630127, -0.037515901029109955, -0.18122020363807678, -0.41504931449890137, -1.0306720733642578, -0.817112922668457, -0.5289865732192993, -0.12720204889774323, 0.12936317920684814, 0.062387630343437195, 0.8629593253135681, 0.31130343675613403, -0.9967634081840515, -0.18433411419391632, -0.05105695500969887, 0.25674304366111755, -0.05724107846617699, -0.20081475377082825, 0.39792758226394653, -0.24845550954341888, -0.8803249001502991, 0.3718607425689697, 0.4076559543609619, 0.1947176456451416, -0.14971965551376343, 0.1728198528289795, -0.3411465883255005, 0.37670841813087463, 0.9059672355651855, 0.008253452368080616, -0.3457205891609192, 0.027247417718172073, 0.11681129783391953, -0.524111807346344, 0.046911150217056274, 0.815433919429779, -0.7935576438903809, 0.06551322340965271, 0.7029732465744019, 1.0287070274353027, 0.20022547245025635, -0.16942867636680603, 0.5059724450111389, -0.7026813626289368, -0.37848055362701416, 0.13679495453834534, 0.47088173031806946, 0.6478258371353149, 0.05319713056087494, 0.6280299425125122, 0.27062714099884033, -0.678885817527771, -1.1370793581008911, -0.19021283090114594, -0.6874673962593079, -0.3153446912765503, 0.8787818551063538, 0.15393218398094177, 0.05795454606413841, -0.025133294984698296, -0.25713032484054565, 0.29504039883613586, -0.3177427649497986, 0.5344326496124268, 0.7612905502319336, 0.11330636590719223, -0.022285910323262215, -0.6542447209358215, 0.0973738506436348, 0.4738617539405823, -0.9215852618217468, 0.09054918587207794, 0.3936443328857422, 0.04470956325531006, -0.06214611604809761, 0.2928776443004608, -0.21193371713161469, -0.06153140217065811, 0.0739675909280777, -0.04639105126261711, 0.05900252237915993, -0.37880203127861023, -0.10771782696247101, 0.3244420289993286, 0.06190861389040947, 0.07601400464773178 ]
http://arxiv.org/abs/2405.16994v1
http://arxiv.org/pdf/2405.16994v1
Vision-and-Language Navigation Generative Pretrained Transformer
2024-05-27T09:42:04
2024-05-27T09:42:04
Wen Hanlin
cs.AI
cs.AI, cs.CL, cs.CV, cs.RO
In the Vision-and-Language Navigation (VLN) field, agents are tasked with navigating real-world scenes guided by linguistic instructions. Enabling the agent to adhere to instructions throughout the process of navigation represents a significant challenge within the domain of VLN. To address this challenge, common approaches often rely on encoders to explicitly record past locations and actions, increasing model complexity and resource consumption. Our proposal, the Vision-and-Language Navigation Generative Pretrained Transformer (VLN-GPT), adopts a transformer decoder model (GPT2) to model trajectory sequence dependencies, bypassing the need for historical encoding modules. This method allows for direct historical information access through trajectory sequence, enhancing efficiency. Furthermore, our model separates the training process into offline pre-training with imitation learning and online fine-tuning with reinforcement learning. This distinction allows for more focused training objectives and improved performance. Performance assessments on the VLN dataset reveal that VLN-GPT surpasses complex state-of-the-art encoder-based models.
[ -0.1501675248146057, -0.3325039744377136, 0.7120707035064697, -0.1328994780778885, -0.2851013243198395, -0.039487820118665695, 0.12832288444042206, -0.27343499660491943, -0.012904840521514416, 0.6135945320129395, -0.6329097747802734, -0.26202744245529175, -0.5485725998878479, -0.33618929982185364, -0.23685559630393982, 1.0721678733825684, -0.226143941283226, -0.059821952134370804, 0.027973296120762825, 0.07298076897859573, -0.6139431595802307, -0.7553322315216064, -0.6461966037750244, -0.3132075071334839, 0.35293063521385193, -0.17039795219898224, 0.8342894315719604, 0.4158889949321747, 0.3988703489303589, 0.26035255193710327, 0.16636304557323456, 0.19833378493785858, -0.661780059337616, -0.05674859881401062, -0.3820243775844574, -0.4666944146156311, -0.4731510281562805, -0.2821728587150574, 0.4085977375507355, 0.3057127594947815, -0.08197412639856339, -0.21831665933132172, -0.08021113276481628, 0.5245288610458374, -0.6929377913475037, 0.47854238748550415, -0.17369495332241058, 0.23791922628879547, 0.030011609196662903, -0.40567338466644287, -0.5626824498176575, -0.3935263454914093, 0.328096866607666, -1.0477513074874878, 0.2680470645427704, -0.08568274229764938, 0.9926513433456421, 0.4194999039173126, -0.4015740752220154, -0.09257619827985764, -1.1706838607788086, 0.36820194125175476, -0.09739385545253754, 0.6948588490486145, 0.23544369637966156, 0.651117742061615, -0.012143606320023537, -1.0640671253204346, -0.40513408184051514, -0.09630080312490463, -0.26879602670669556, 0.46313610672950745, -0.12571723759174347, 0.13170334696769714, 0.17585226893424988, -0.03461657837033272, -0.8171688318252563, 0.011412977240979671, -0.30260372161865234, -0.18138693273067474, 0.16925148665905, 0.18222565948963165, 0.13015148043632507, 0.1790008395910263, -0.5174885392189026, -0.3458141088485718, -0.8842136263847351, 0.14781402051448822, -0.008399277925491333, 0.1660262793302536, -0.01055164821445942, 0.39324721693992615, -0.21468430757522583, 0.7726755738258362, 0.09323611110448837, 0.0988839715719223, 0.20723217725753784, -0.5016149282455444, -0.08676830679178238, 0.09506075084209442, 0.5008048415184021, 0.43789684772491455, 0.35331541299819946, -0.3909086287021637, -0.3017514944076538, 0.024687493219971657, 0.709139347076416, -0.8006203174591064, -0.35049697756767273, -0.23084025084972382, -0.0927954837679863, 0.12819035351276398, 0.26713186502456665, -0.6642747521400452, -0.1111665815114975, -0.3662480115890503, 0.7888341546058655, -0.42953041195869446, -0.2663298547267914, 0.19597890973091125, -0.22073020040988922, 0.8414788842201233, 0.5689285397529602, -0.7570911049842834, -0.06546787917613983, 0.5815455913543701, 0.9084928631782532, -0.01806747168302536, -0.32144099473953247, -0.5696293115615845, 0.3492002785205841, -0.10629051178693771, 0.5475486516952515, -0.6345961093902588, -0.6584774851799011, 0.14503945410251617, 0.23277339339256287, -0.1409967839717865, -0.24984605610370636, 0.21652910113334656, -0.7787812352180481, 0.273159384727478, -0.3084688186645508, -0.30595862865448, -0.43424108624458313, 0.3206917345523834, -0.6348313093185425, 0.7621058225631714, 0.45617181062698364, -0.1367173045873642, 0.4969514012336731, -0.6530258059501648, -0.537896454334259, 0.4012233018875122, -0.3583886921405792, -0.45857828855514526, -0.005314761772751808, 0.33203139901161194, 0.143686905503273, -0.08229111135005951, 0.1427146941423416, 0.5496457815170288, -0.6373313665390015, -0.4181099534034729, -0.6112445592880249, 0.5368345379829407, -0.225382000207901, -0.6617461442947388, 0.14512863755226135, -0.4892577528953552, -0.2161298543214798, 0.2731596827507019, -0.44219735264778137, -0.17075955867767334, 0.18553584814071655, -0.08836046606302261, 0.2734297513961792, 0.2678808271884918, -0.23473605513572693, 0.4714909791946411, -0.4435003995895386, 0.1565595418214798, 0.5104559659957886, -0.12109499424695969, 0.5708322525024414, -0.09730198979377747, 0.6780789494514465, 0.024484306573867798, 0.46277916431427, -0.3821660280227661, -0.6198272109031677, -0.9575589299201965, 0.2475442886352539, -0.18119703233242035, 0.6955475211143494, -1.2783957719802856, 0.2834600508213043, -0.7735942602157593, -0.3643542528152466, -0.3761850893497467, -0.3217960000038147, 0.5209272503852844, 0.43896371126174927, 0.7237941026687622, -0.41238072514533997, -0.47458747029304504, -0.1776999980211258, 0.06664154678583145, -0.1429978311061859, -0.1403646618127823, 0.1295817792415619, 0.4139916002750397, -0.4206180274486542, 1.0394221544265747, -0.33129405975341797, -0.3404059112071991, -0.4654737710952759, 0.10095855593681335, -0.08183000236749649, 0.4469033181667328, 0.3819270133972168, -1.137338638305664, -0.31301936507225037, 0.18234913051128387, -0.7446818351745605, 0.33977028727531433, -0.29136979579925537, -0.1657324731349945, 0.028700122609734535, 0.5909360647201538, -0.6895895004272461, 0.8144494295120239, 0.30516812205314636, -0.3565579056739807, 0.2842138409614563, -0.4549986720085144, 0.19486592710018158, -0.6303623914718628, -0.16094236075878143, -0.33242183923721313, -0.3208353519439697, -0.7455700635910034, 0.09280865639448166, 0.035752151161432266, 0.0036456238012760878, -0.7336459159851074, 0.22898058593273163, -0.43930697441101074, -0.14242388308048248, -0.15615829825401306, 0.0175966527312994, 0.021721970289945602, 0.6349929571151733, 0.5469948053359985, 0.8760143518447876, 0.406604528427124, -0.7376939058303833, 0.4209146201610565, 0.337114155292511, -0.07206270843744278, 0.514188826084137, -0.4527440667152405, 0.29652684926986694, -0.4170558750629425, 0.28473982214927673, -0.5479061007499695, 0.06571277976036072, 0.3049437701702118, -0.1732494980096817, 0.4485968351364136, -0.5081628561019897, -0.18086811900138855, -0.3250948488712311, 0.13146165013313293, 0.5194209814071655, 0.9239161014556885, -0.6700375080108643, 1.072992205619812, -0.06891889870166779, 0.2249799519777298, -0.37563416361808777, -0.5464581251144409, 0.005646516568958759, 0.022973647341132164, -0.3190159499645233, 0.40320882201194763, 0.239211767911911, 0.30976250767707825, -0.13789623975753784, -0.03834617882966995, 0.09758423268795013, -0.2409496158361435, 0.471712201833725, 0.5427917242050171, -0.39103299379348755, -0.13099372386932373, -0.3103666603565216, -0.42742428183555603, -0.06369446218013763, -0.7049709558486938, 0.7431774139404297, -0.16147813200950623, -0.47446876764297485, -0.23565062880516052, 0.10873926430940628, 0.42333289980888367, -0.43968725204467773, 0.7686700224876404, 0.6139788627624512, 0.02999967336654663, 0.06497389078140259, -0.289467990398407, -0.04785619676113129, -0.5220047831535339, 0.6341513395309448, -0.37378403544425964, -0.7886810302734375, 0.032564569264650345, -0.44180330634117126, -0.132107675075531, 0.314610093832016, 0.4507831931114197, -0.14953011274337769, 0.5992236733436584, 0.7131907343864441, 0.0644812136888504, 0.5053445100784302, -0.41691192984580994, 0.33273348212242126, -0.5412367582321167, -0.4937964975833893, 0.0010279384441673756, -0.14423592388629913, -0.45919716358184814, -0.6425780653953552, 0.5861495733261108, -0.12869612872600555, -0.3523101508617401, 0.5221450328826904, -0.46908992528915405, 0.6376844048500061, 0.6440019011497498, 0.14370325207710266, 0.1629791110754013, -0.17860491573810577, 0.12304975092411041, 0.0574781596660614, -0.7446346282958984, -0.2879243493080139, 0.9966464042663574, 0.03866397961974144, 0.7301687598228455, 0.14929814636707306, 0.4864886403083801, 0.07617005705833435, 0.021144572645425797, -0.7101806998252869, 0.556039035320282, -0.14637035131454468, -0.3540172874927521, -0.4711950719356537, -0.17050468921661377, -0.9223112463951111, 0.21627292037010193, 0.050777386873960495, -0.5416228175163269, 0.07017961889505386, 0.4085416793823242, -0.4754018783569336, 0.33378225564956665, -0.4991673231124878, 1.0940130949020386, -0.49660274386405945, -0.2711375951766968, 0.14605556428432465, -1.0586966276168823, -0.12046244740486145, -0.0705045685172081, -0.1705278754234314, 0.5233840942382812, 0.13651181757450104, 0.30582693219184875, -0.4861440360546112, 0.7262056469917297, -0.48396384716033936, 0.0785551518201828, 0.22303086519241333, 0.0081291813403368, 0.8284263014793396, -0.46999606490135193, 0.4767551124095917, 0.1149311512708664, -0.4363901615142822, -0.09819148480892181, -0.565977931022644, 0.24503345787525177, -0.686798632144928, -0.5103296041488647, -0.38135597109794617, -0.12679383158683777, -0.15981705486774445, 0.04330963268876076, 0.7615639567375183, 0.37904420495033264, -0.36142897605895996, -0.06688182055950165, 0.7533252835273743, -0.23405736684799194, 0.566565215587616, 0.5095284581184387, -0.18585088849067688, 0.13775412738323212, 1.0436556339263916, 0.04051750898361206, 0.35370177030563354, 0.8895759582519531, -0.11771810054779053, -0.4879300594329834, -0.4793921113014221, -0.645154595375061, -0.11211893707513809, -0.6589727401733398, 0.052224915474653244, -0.2931143641471863, -0.5044148564338684, -0.022352371364831924, -0.3752502202987671, -0.69968181848526, 0.021679824218153954, -0.2955901026725769, -0.1787346452474594, 0.10738876461982727, 0.8957694172859192, 0.17728790640830994, 0.6785519123077393, -0.6458878517150879, 0.31047534942626953, 0.49488338828086853, 0.10800223797559738, -0.2209976762533188, -0.5353848934173584, -0.2748930752277374, -0.04255950450897217, -0.2366076111793518, -0.685543954372406, 0.401638925075531, 0.3089204728603363, 0.4233161509037018, 0.1894725263118744, -0.1422203630208969, 0.6250599026679993, -0.9188072085380554, 0.863108217716217, 0.17008624970912933, -0.6136061549186707, 0.8505554795265198, -0.1236192062497139, 0.5998135805130005, 0.3990263342857361, 0.5276293754577637, -0.2850003242492676, -0.08591247349977493, -0.1449785977602005, -0.931236207485199, 0.7069694995880127, 0.29348304867744446, -0.08322829008102417, 0.3506666421890259, 0.36486339569091797, -0.014501683413982391, -0.003388953162357211, -0.6995283961296082, -0.1271495670080185, -0.813204824924469, -0.09224439412355423, -0.4240225553512573, -0.11419932544231415, 0.13869553804397583, -0.1538664549589157, 0.4297487735748291, 0.02893487922847271, 0.35415118932724, 0.19408854842185974, -0.5388954877853394, 0.1907576620578766, 0.00919865258038044, 0.6173083186149597, 0.3993862271308899, -0.06742983311414719, 0.020005349069833755, 0.07875604182481766, -0.8730618357658386, 0.5326451063156128, 0.08768084645271301, -0.5271214246749878, 0.05094798654317856, 0.23299391567707062, 1.2489595413208008, 0.12585797905921936, -0.40320730209350586, 0.8127260208129883, -0.0014720282051712275, 0.0615348219871521, -0.5361883640289307, 0.25965622067451477, -0.20145688951015472, 0.3809800148010254, 0.23541060090065002, 0.17043046653270721, 0.10444634407758713, -0.2827219069004059, 0.09697125107049942, 0.08404262363910675, -0.6434226632118225, -0.4683960974216461, 0.8471272587776184, 0.18056489527225494, -0.3742474615573883, 0.7493680119514465, -0.28177955746650696, -0.6792904734611511, 0.3915526270866394, 0.40033096075057983, 0.8348838090896606, -0.4198623597621918, 0.18203967809677124, 0.24647656083106995, 0.4931267499923706, -0.4274582266807556, 0.10039813071489334, -0.12408573925495148, -0.5546833276748657, -0.40629875659942627, -0.600532054901123, -0.223086416721344, -0.11273043602705002, -0.7102917432785034, 0.05997886881232262, -0.26370424032211304, -0.1298530250787735, -0.6395187973976135, -0.6989683508872986, -1.125210165977478, 0.43479472398757935, 0.24050746858119965, 0.4172637164592743, -0.4777930676937103, 1.0164397954940796, 0.5045862793922424, -0.5437878370285034, -0.6631384491920471, 0.08267366141080856, 0.041325893253088, -0.8851956129074097, 0.8261182308197021, 0.2871052622795105, -0.535357654094696, 0.28850069642066956, -0.06328318268060684, -0.7065800428390503, 1.263305425643921, 0.290995717048645, -0.9214094877243042, -0.5265027284622192, 0.4728797376155853, 0.3958667814731598, -0.037068888545036316, 0.300214946269989, 0.7093207240104675, 0.3126992881298065, 0.2944480776786804, -0.9246873259544373, -0.10310786962509155, -0.08554896712303162, 0.23255686461925507, 0.3901218771934509, -0.5123299956321716, 0.5564724206924438, -0.16038675606250763, -0.24660322070121765, 0.001028369297273457, 0.4741433560848236, -0.16115222871303558, 0.00800455454736948, 0.33539578318595886, 0.4467245936393738, 0.37233567237854004, -0.49212920665740967, 1.137684941291809, -0.03936425969004631, 0.2049810290336609, 1.258955478668213, -0.17452123761177063, 0.774176299571991, 0.360546350479126, -0.1369875818490982, 0.446222722530365, 0.1667085587978363, -0.02515566535294056, 1.0334118604660034, -0.10438205301761627, -0.3768211007118225, -0.30336475372314453, 0.19529969990253448, -0.4507201611995697, 0.5993813872337341, 0.292977899312973, -0.3307054936885834, -0.12895798683166504, 0.27586326003074646, -0.05215906724333763, -0.2692783772945404, -0.5194823741912842, 0.8143036365509033, -0.19688235223293304, -0.6018706560134888, 0.3272203207015991, -0.3042244017124176, 0.5348100066184998, -0.99411541223526, -0.13468697667121887, -0.24357059597969055, 0.18045341968536377, 0.09418237954378128, -0.629977822303772, 0.18854384124279022, -0.06362764537334442, 0.10043096542358398, -0.37930476665496826, 0.5027844309806824, -0.3591693937778473, -0.20852644741535187, 0.3356730043888092, 0.4404117166996002, 0.1093878522515297, -0.20448780059814453, -0.15710963308811188, -0.06998492032289505, 0.08019863069057465, -0.3338024318218231, 0.250225305557251, 0.32056841254234314, 0.061279378831386566, 0.5256373286247253, 0.27527695894241333, -0.056661371141672134, 0.3713901937007904, 0.2416895627975464, 0.723237931728363, -0.8424161076545715, -0.6608227491378784, -0.8127995729446411, 0.7209126949310303, 0.21051955223083496, -0.25701069831848145, 0.45561882853507996, 0.5535853505134583, 1.1166914701461792, -0.2650744616985321, 0.7601504921913147, 0.22241123020648956, -0.11508908867835999, -0.9384733438491821, 0.6498945355415344, -0.3852318227291107, 0.020854616537690163, 0.04675806686282158, -0.8688901662826538, -0.09575677663087845, 0.7866907715797424, -0.27380457520484924, 0.17763611674308777, 0.5397666692733765, 0.7341514825820923, -0.1590677946805954, -0.10392313450574875, 0.4702053368091583, -0.06723006069660187, 0.5476460456848145, 1.0265047550201416, 0.9436331391334534, -0.47209402918815613, 0.681435763835907, 0.08527689427137375, -0.06345584988594055, -0.34887179732322693, -0.6881553530693054, -0.696805477142334, -0.6133919954299927, -0.24461525678634644, -0.14258670806884766, 0.48358577489852905, 0.5866218209266663, 0.8053138256072998, -0.5695117712020874, 0.003935474902391434, -0.44860273599624634, -0.39889732003211975, -0.22367770969867706, -0.1517910361289978, 0.262624591588974, -0.1294025480747223, -0.4835050702095032, 0.7119544148445129, 0.5385076999664307, 0.44068002700805664, -0.28038814663887024, -0.5083947777748108, 0.17272964119911194, -0.2836054265499115, 0.6594236493110657, 0.4891333281993866, -0.7178577780723572, -0.41874828934669495, -0.15265335142612457, 0.0253097303211689, 0.40699660778045654, 0.8675164580345154, -1.0189769268035889, 0.7689579129219055, 0.03776707872748375, 0.6353504657745361, 0.9590895771980286, -0.037146784365177155, 0.762121856212616, -0.6214342713356018, 0.27587032318115234, 0.25873011350631714, 0.3415756821632385, 0.2744031548500061, -0.31503498554229736, 0.5284726619720459, 0.23732294142246246, -0.4009902775287628, -0.1352435052394867, 0.3647914528846741, -0.9574174284934998, -0.0652526319026947, 1.0472216606140137, -0.36497384309768677, -0.05954807624220848, -0.26241281628608704, -0.33758115768432617, 0.4035225808620453, -0.07362031191587448, 0.24098709225654602, 0.18079933524131775, 0.020618511363863945, -0.3314110040664673, -0.5201493501663208, 0.5657269954681396, 0.0165651123970747, -0.6792392730712891, -0.4001739025115967, 0.44813182950019836, -0.11235164105892181, 0.16480301320552826, 0.5053640604019165, 0.044720277190208435, 0.3988593816757202, 0.15682931244373322, 0.017859941348433495, -0.17592674493789673, -0.7173277735710144, -0.2821197211742401, 0.27642613649368286, -0.25326159596443176, -0.4637688994407654 ]
http://arxiv.org/abs/2405.16969v4
http://arxiv.org/pdf/2405.16969v4
The Multi-Range Theory of Translation Quality Measurement: MQM scoring models and Statistical Quality Control
2024-05-27T09:06:24
2024-06-09T22:03:49
Arle Lommel, Serge Gladkoff, Alan Melby, Sue Ellen Wright, Ingemar Strandvik, Katerina Gasova, Angelika Vaasa, Andy Benzo, Romina Marazzato Sparano, Monica Foresi, Johani Innis, Lifeng Han, Goran Nenadic
cs.CL
cs.CL, stat.AP
The year 2024 marks the 10th anniversary of the Multidimensional Quality Metrics (MQM) framework for analytic translation quality evaluation. The MQM error typology has been widely used by practitioners in the translation and localization industry and has served as the basis for many derivative projects. The annual Conference on Machine Translation (WMT) shared tasks on both human and automatic translation quality evaluations used the MQM error typology. The metric stands on two pillars: error typology and the scoring model. The scoring model calculates the quality score from annotation data, detailing how to convert error type and severity counts into numeric scores to determine if the content meets specifications. Previously, only the raw scoring model had been published. This April, the MQM Council published the Linear Calibrated Scoring Model, officially presented herein, along with the Non-Linear Scoring Model, which had not been published before. This paper details the latest MQM developments and presents a universal approach to translation quality measurement across three sample size ranges. It also explains why Statistical Quality Control should be used for very small sample sizes, starting from a single sentence.
[ -0.31807419657707214, -0.26710033416748047, 0.38808003067970276, 0.27071136236190796, -0.08008291572332382, -0.0905117616057396, 0.04946545511484146, -0.36033350229263306, 0.08639085292816162, 0.6754027605056763, -0.33068183064460754, -0.6534591317176819, -0.641097366809845, 0.08172034472227097, -0.4948996901512146, 0.9034499526023865, -0.32711997628211975, 0.4081825613975525, -0.01869739033281803, -0.5582858920097351, -0.3518235385417938, -0.793911874294281, -0.282427042722702, -0.0965673178434372, 0.7649590373039246, 0.33059456944465637, 0.887546956539154, 0.6622430086135864, 0.7765451073646545, 0.172099307179451, 0.09253823012113571, 0.344740092754364, -0.22604767978191376, 0.04066574573516846, 0.0831720381975174, -0.7114138603210449, -0.7900174856185913, 0.4746587574481964, 0.7787193059921265, 0.8211371898651123, -0.14681494235992432, 0.15367008745670319, 0.13377976417541504, 0.8682408928871155, -0.36205148696899414, -0.18047814071178436, -0.1380545049905777, 0.09493258595466614, -0.04363685101270676, -0.2645728290081024, -0.5394626259803772, -0.615909218788147, -0.30062755942344666, -0.409187376499176, 0.07696006447076797, 0.155344158411026, 0.5823941826820374, -0.01455907616764307, -0.9783684611320496, -0.28855061531066895, -0.9577760100364685, 1.2623581886291504, -0.6430820226669312, 0.42219778895378113, 0.27284812927246094, 0.5111941695213318, -0.23154307901859283, -0.3155561089515686, -0.33083102107048035, -0.0680154412984848, 0.20018790662288666, 0.1757485717535019, -0.16564270853996277, -0.09515008330345154, -0.12548141181468964, 0.576624870300293, -0.5841599702835083, -0.1318219155073166, -0.5937129855155945, -0.3482528030872345, 0.5466770529747009, 0.5902423858642578, 0.15040837228298187, -0.1745348572731018, -0.46820375323295593, -0.07605168223381042, -0.5877993702888489, 0.01506680715829134, 0.13317619264125824, 0.3095775246620178, -0.11094102263450623, 0.5389571189880371, -0.3713228404521942, 0.6675567030906677, -0.42541414499282837, -0.3329976797103882, 0.0877654105424881, -0.9177262187004089, -0.027641715481877327, -0.491725355386734, 1.0711580514907837, 0.5560837388038635, 0.03798552602529526, -0.024997999891638756, -0.2481829971075058, -0.04573317617177963, 0.39265376329421997, -0.5697349905967712, 0.12388601899147034, 0.11247198283672333, -0.6459396481513977, -0.5330239534378052, 0.21695207059383392, -1.0446486473083496, -0.01685130037367344, -0.22611509263515472, 0.36000487208366394, -0.41709578037261963, 0.03070305660367012, 0.004647206515073776, 0.09937667101621628, 0.22261077165603638, 0.33591851592063904, -0.5543234944343567, 0.36016786098480225, 0.2678699493408203, 0.9324080348014832, -0.2635841965675354, -0.4842332899570465, -0.4394820034503937, 0.006369295530021191, -0.8041282892227173, 0.7419113516807556, -0.1310848593711853, -0.27012574672698975, -0.07829776406288147, -0.3352639377117157, -0.0067821647971868515, -0.2731698155403137, 0.7545163035392761, -0.4067763388156891, 0.22295169532299042, 0.11939894407987595, -0.4346199631690979, -0.40005117654800415, 0.30588480830192566, -0.6204466819763184, 0.9029543995857239, 0.3746753931045532, -0.006618531886488199, 0.393943190574646, -0.48127540946006775, 0.005423054099082947, -0.08535049110651016, 0.33000558614730835, -0.29672446846961975, 0.3822227716445923, -0.20595474541187286, -0.0001241584832314402, -0.5798671841621399, 0.10891986638307571, -0.36743348836898804, -0.24006527662277222, 0.3762897253036499, -0.6573968529701233, 0.4872349202632904, 0.4323735237121582, 0.30111977458000183, 0.1455639898777008, -0.7820531129837036, 0.5877431035041809, -0.31165382266044617, -0.5804317593574524, -0.0412190817296505, -0.15953107178211212, 0.17179611325263977, 0.613866925239563, 0.05139699950814247, -0.23741157352924347, -0.0959833636879921, 0.0606033094227314, 0.4337344467639923, 0.2549302577972412, 0.13692933320999146, 0.4993430972099304, -0.5633325576782227, 0.5341591835021973, -0.1466275453567505, 0.5523818135261536, 0.03772944584488869, -0.5590060949325562, -0.4229488968849182, -0.026080597192049026, 0.6220327615737915, 0.42097967863082886, -0.18556997179985046, 0.697445809841156, -0.21457794308662415, -0.911424458026886, -0.5818357467651367, 0.1380363553762436, 0.22687910497188568, 0.005515820812433958, 0.6052317023277283, -0.5218834280967712, -0.14652681350708008, -0.3466341197490692, -0.520045816898346, -0.1665274053812027, -0.0122141744941473, -0.2571275234222412, 0.3159841001033783, -0.17808246612548828, 0.5045724511146545, -0.23250746726989746, -0.6372665166854858, -0.24695011973381042, 0.3034273386001587, 0.16579240560531616, 0.7646973729133606, 0.4729526937007904, -0.7004017233848572, -0.3764735758304596, -0.28508707880973816, -0.6141495704650879, 0.02550632692873478, 0.21581776440143585, -0.3703397810459137, -0.039104923605918884, 0.3474421799182892, -0.4632006883621216, 0.5662341117858887, 1.0421885251998901, -0.19089260697364807, 0.9744694232940674, -0.27427080273628235, 0.6148657202720642, -0.9428107738494873, -0.17379377782344818, 0.219386026263237, -0.09316938370466232, -0.898902952671051, 0.13078056275844574, 0.32111477851867676, 0.14187225699424744, -0.5148388743400574, 0.21948230266571045, -0.19688692688941956, 0.03145231679081917, -0.25971662998199463, 0.025941716507077217, 0.4668436348438263, 0.3383033573627472, -0.6462613344192505, 0.4862813651561737, -0.0020589076448231936, -0.6622529029846191, 0.5352823138237, 0.12476763874292374, -0.18974725902080536, 1.0448909997940063, -0.3811112642288208, -0.2406804859638214, 0.14252586662769318, 0.16788585484027863, -1.2922983169555664, -0.09915976226329803, 0.22193332016468048, -0.8362451791763306, 0.12860207259655, -0.024995744228363037, -0.6405544281005859, -0.18052883446216583, -0.3041742742061615, 0.5696951150894165, 0.36473843455314636, -0.02659524418413639, 0.43598368763923645, 0.20569242537021637, 0.1708882451057434, -0.11617259681224823, -0.7055169939994812, -0.007726535201072693, -0.3146464228630066, -0.5443212985992432, 0.02934628538787365, -0.41379937529563904, -0.12691465020179749, -0.20064717531204224, -0.29767513275146484, -0.3623533248901367, 0.06550436466932297, 0.02319646254181862, 0.19436894357204437, -0.285818487405777, 0.16198226809501648, -0.03918332979083061, -0.3608156144618988, 0.06979553401470184, -0.25895482301712036, 0.34250253438949585, 0.07519178837537766, -0.3232714831829071, -0.4912709891796112, 0.450691282749176, 0.7406367063522339, -0.34018516540527344, 0.7905581593513489, 0.47438526153564453, -0.4470294415950775, 0.1686989963054657, -0.43377217650413513, -0.11137032508850098, -0.289572149515152, 0.3868362009525299, -0.5119431614875793, -0.559870719909668, 0.46545514464378357, -0.10383520275354385, 0.02976911887526512, 0.8765313625335693, 0.4006642997264862, -0.14318224787712097, 1.4246267080307007, 0.6309798359870911, 0.15508504211902618, 0.16173414885997772, 0.10144995152950287, 0.19741307199001312, -0.9266394972801208, 0.007894694805145264, -0.9312054514884949, -0.17484210431575775, -0.6947632431983948, -0.4639807641506195, 0.6170094609260559, 0.5728527307510376, -0.07114681601524353, 0.17972072958946228, -0.13065361976623535, 0.3091280460357666, 0.4788040816783905, -0.2520885467529297, 0.5721557140350342, -0.09584350138902664, -0.35112619400024414, -0.2828735113143921, -0.49547716975212097, -0.8260390758514404, 1.136237621307373, 0.49937543272972107, 0.5067203640937805, 0.30721333622932434, 0.4290046989917755, 0.33835887908935547, 0.4653928577899933, -0.9550748467445374, 0.052069418132305145, -0.30656278133392334, -0.8376796245574951, -0.4741678237915039, -0.8099616765975952, -0.50440913438797, 0.6579830050468445, -0.029617495834827423, -0.4272061884403229, 0.028014415875077248, 0.012839439325034618, -0.2959941625595093, 0.33448663353919983, -0.5065913200378418, 1.062352180480957, -0.2490641325712204, 0.07660815119743347, -0.07305429875850677, -0.6070321798324585, 0.45060694217681885, -0.2733113467693329, 0.6523249745368958, -0.6271139979362488, -0.0006380929262377322, 0.8789939880371094, -0.1114608496427536, 0.5044779181480408, 0.05783994123339653, -0.03960058093070984, 0.05575938522815704, 0.4240196943283081, 0.13049572706222534, -0.1281147450208664, -0.3655191957950592, 0.3059316873550415, 0.599350094795227, -0.6465133428573608, -0.4130718410015106, 0.42467883229255676, -0.869253933429718, -0.0025014851707965136, -0.4552997052669525, -0.671491265296936, -0.2716098129749298, 0.4315497577190399, 0.4047299027442932, 0.3976338505744934, -0.3447414040565491, 0.13203218579292297, 0.22618965804576874, -0.13096947968006134, -0.06558452546596527, 0.6521732211112976, -0.1303853988647461, -0.6711329221725464, 0.7678530812263489, 0.21321776509284973, 0.6618106961250305, 0.4758165180683136, 0.2156827449798584, -0.23000125586986542, -0.5764350891113281, -0.38760268688201904, 0.21736609935760498, -0.8967904448509216, -0.4586182236671448, -0.2241031974554062, -0.3018488585948944, -0.408742219209671, 0.2745184600353241, -0.62131267786026, -0.3146137297153473, -0.09425262361764908, 0.11346486210823059, 0.011269330978393555, 0.8345544934272766, -0.159719780087471, 0.4283486306667328, -1.26577889919281, 0.24697421491146088, -0.2550659477710724, 0.3722417950630188, -0.19819723069667816, -0.7241569757461548, -0.6120888590812683, 0.30005842447280884, -0.599192202091217, -0.8318477272987366, 0.6872854232788086, 0.014155035838484764, 0.5231958627700806, 0.1077369973063469, -0.07906976342201233, 0.4604613184928894, -0.4065740406513214, 0.707565426826477, 0.3066321611404419, -1.1009747982025146, 0.24659192562103271, 0.02340202033519745, 0.3344424068927765, 0.3908863365650177, 0.4108124375343323, -1.215086579322815, -0.5673558115959167, -0.06240696460008621, -0.6141178011894226, 0.4978701174259186, -0.17701934278011322, 0.030086638405919075, 0.39206090569496155, 0.24850055575370789, 0.2599131166934967, 0.19537334144115448, -0.7389159798622131, -0.330387145280838, -0.10001744329929352, -0.4434325098991394, -0.485455721616745, -0.34993976354599, -0.17975565791130066, -0.08588732033967972, 0.49255529046058655, -0.19680717587471008, 0.18198631703853607, 0.04308605194091797, -0.08693034946918488, -0.5609850287437439, 0.42447611689567566, 0.7130515575408936, 0.9736964106559753, -0.3079947531223297, 0.22484469413757324, -0.1467592716217041, -0.3032560646533966, 0.5533324480056763, -0.19887079298496246, 0.02769336849451065, 0.01165164727717638, 0.27027201652526855, 0.30780836939811707, 0.05470046028494835, -0.08786305785179138, 0.39836397767066956, -0.03242797777056694, -0.3923167884349823, -0.29223209619522095, -0.12921853363513947, -0.2686645984649658, -0.04313509166240692, 0.4205198884010315, 0.40151098370552063, 0.12529408931732178, -0.3387811481952667, 0.2999012768268585, 0.11243021488189697, -0.9166492223739624, -0.31119516491889954, 0.6071223616600037, -0.03265237808227539, -0.03867600858211517, 0.5298272371292114, -0.1654423624277115, -0.43557509779930115, 0.46706724166870117, 0.22507335245609283, 0.4862295091152191, -0.5021477341651917, 0.3300991654396057, 0.40148016810417175, 0.5780646800994873, -0.1715443879365921, 0.23197516798973083, 0.44680124521255493, -0.7904437780380249, -0.45972785353660583, -0.6899427175521851, -0.5318889021873474, -0.0807492733001709, -0.8380762338638306, 0.022961122915148735, -0.1035824567079544, -0.10487767308950424, 0.08544081449508667, 0.04619773477315903, -0.4654945135116577, 0.36274784803390503, -0.20312373340129852, 0.7456876039505005, -0.8501997590065002, 0.8296247720718384, 0.29131418466567993, -0.5147795677185059, -0.7100344896316528, -0.14063379168510437, 0.4168802499771118, -0.5857111215591431, 0.31962552666664124, 0.020720474421977997, 0.04843098297715187, -0.0477282740175724, -0.3272421956062317, -0.9660648703575134, 0.96914142370224, -0.22506415843963623, -0.2244586944580078, 0.011512139812111855, 0.5702036619186401, 0.6252784729003906, -0.44351842999458313, 0.19992287456989288, 0.7987974882125854, 0.48745009303092957, -0.01630113087594509, -0.882608950138092, -0.07722228765487671, -0.005535246338695288, 0.08760135620832443, 0.5902699828147888, -0.5856981873512268, 0.958986222743988, -0.009110087528824806, 0.07085607200860977, 0.5242146849632263, 0.39362213015556335, 0.24140237271785736, 0.2278793454170227, 0.17843568325042725, 0.3725828230381012, 0.4627086818218231, -0.454068124294281, 0.9477088451385498, -0.25254055857658386, 0.31593480706214905, 0.6182569861412048, -0.08326532691717148, 0.8980814814567566, 0.518993079662323, -0.5294394493103027, -0.040742531418800354, 0.6317768096923828, -0.19261424243450165, 0.2938646674156189, 0.3590362071990967, 0.02584952674806118, -0.01293338742107153, -0.06732622534036636, -0.304159939289093, 0.43040692806243896, 0.40733176469802856, -0.3019961416721344, -0.06310586631298065, 0.028655806556344032, -0.11547176539897919, 0.06081012636423111, -0.33537423610687256, 0.7297340035438538, 0.2826371192932129, -0.5398361086845398, 0.5626322627067566, 0.5499432682991028, 0.3626404404640198, -0.6038990020751953, 0.11625304818153381, -0.39679351449012756, 0.26486608386039734, -0.11384284496307373, -0.8540956377983093, 0.48476117849349976, -0.30073386430740356, -0.44021859765052795, -0.15086686611175537, 0.09979850798845291, -0.5095853805541992, -0.6433493494987488, 0.4044245779514313, 0.7776527404785156, 0.3236393928527832, -0.36164921522140503, -0.4680235981941223, 0.029567673802375793, -0.23431380093097687, 0.0630485936999321, 0.2937640845775604, 0.8341019153594971, -0.1096317321062088, 0.37799182534217834, 0.6591455340385437, 0.2889164090156555, 0.3279544413089752, 0.07840382307767868, 0.262349009513855, -0.9212395548820496, -0.4497482180595398, -0.6646435260772705, 0.44363781809806824, 0.35470297932624817, -0.5548952221870422, 0.7352898120880127, 0.40906479954719543, 0.6927087903022766, 0.09998447448015213, 0.5711795091629028, 0.26318952441215515, 0.6744081974029541, -0.4118657410144806, 0.5950973033905029, -0.6624813079833984, 0.027476906776428223, -0.17036733031272888, -1.0761997699737549, -0.6901363134384155, 0.14751319587230682, -0.09005317836999893, 0.11435369402170181, 0.9218632578849792, 0.5090923309326172, 0.23884500563144684, -0.05440797284245491, 0.762879490852356, -0.1555606573820114, 0.5483084917068481, 0.5874478220939636, 0.949566662311554, -0.8908718824386597, 1.0128930807113647, -0.2082468420267105, -0.2928197681903839, -0.3266797959804535, -0.5686130523681641, -0.2812039852142334, -0.4615745544433594, -0.06984970718622208, -0.49091285467147827, -0.37434637546539307, 0.7445772290229797, 0.6558942198753357, -0.9474743008613586, -0.6485527157783508, 0.15170347690582275, 0.2280237078666687, -0.5229977965354919, -0.26481351256370544, -0.03768894821405411, -0.38922324776649475, -0.5286200046539307, 0.10048841685056686, 0.425717294216156, 0.18159952759742737, -0.28388112783432007, -0.3208378255367279, -0.0684414878487587, 0.05773613601922989, 0.4833306074142456, 0.04039987549185753, -0.6782832145690918, -0.07777471840381622, -0.034956689924001694, -0.5870147347450256, 0.41255661845207214, 0.5878849029541016, 0.05927710607647896, 0.42520976066589355, 0.3730328679084778, 0.15136075019836426, 0.124631367623806, -0.0789676383137703, 0.849696695804596, -0.4753502607345581, -0.11733659356832504, 0.09521288424730301, 0.19246327877044678, 0.2771797776222229, -0.016404330730438232, 0.41395050287246704, 0.2981644570827484, -0.6943331956863403, -0.6981725692749023, 0.3350723087787628, -0.6751041412353516, 0.004612979479134083, 0.6320777535438538, -0.07720260322093964, -0.03845565766096115, -0.00022657422232441604, 0.0416121706366539, 0.31162723898887634, -0.2513294517993927, 0.7205412983894348, 1.0326658487319946, -0.0060544381849467754, -0.1941036581993103, -1.0283524990081787, 0.5678950548171997, 0.320311963558197, -0.8438009023666382, -0.21310415863990784, 0.42326033115386963, 0.07340221852064133, 0.5050124526023865, 0.3393790125846863, -0.642179012298584, 0.4671812653541565, -0.05774683505296707, 0.20989689230918884, 0.4343430697917938, -0.5016632676124573, -0.46420109272003174, 0.2649240493774414, 0.33190858364105225, -0.2251891940832138 ]
http://arxiv.org/abs/2405.16964v1
http://arxiv.org/pdf/2405.16964v1
Exploring the LLM Journey from Cognition to Expression with Linear Representations
2024-05-27T08:57:04
2024-05-27T08:57:04
Yuzi Yan, Jialian Li, Yipin Zhang, Dong Yan
cs.CL
cs.CL, cs.AI
This paper presents an in-depth examination of the evolution and interplay of cognitive and expressive capabilities in large language models (LLMs), with a specific focus on Baichuan-7B and Baichuan-33B, an advanced bilingual (Chinese and English) LLM series. We define and explore the model's cognitive and expressive capabilities through linear representations across three critical phases: Pretraining, Supervised Fine-Tuning (SFT), and Reinforcement Learning from Human Feedback (RLHF). Cognitive capability is defined as the quantity and quality of information conveyed by the neuron output vectors within the network, similar to the neural signal processing in human cognition. Expressive capability is defined as the model's capability to produce word-level output. Our findings unveil a sequential development pattern, where cognitive abilities are largely established during Pretraining, whereas expressive abilities predominantly advance during SFT and RLHF. Statistical analyses confirm a significant correlation between the two capabilities, suggesting that cognitive capacity may limit expressive potential. The paper also explores the theoretical underpinnings of these divergent developmental trajectories and their connection to the LLMs' architectural design. Moreover, we evaluate various optimization-independent strategies, such as few-shot learning and repeated sampling, which bridge the gap between cognitive and expressive capabilities. This research reveals the potential connection between the hidden space and the output space, contributing valuable insights into the interpretability and controllability of their training processes.
[ -0.34561702609062195, -0.6337195634841919, 0.6483709216117859, 0.31325480341911316, 0.13831062614917755, 0.2685703933238983, -0.6852437853813171, -0.540316641330719, -0.030169496312737465, 0.44054797291755676, -0.7278117537498474, -0.08770684152841568, -0.6905247569084167, -0.03366152197122574, -0.11563892662525177, 0.8318166732788086, -0.15714186429977417, -0.01854388602077961, -0.08636754006147385, -0.01629576086997986, -0.7689069509506226, -0.34505629539489746, -0.5673317909240723, -0.41733402013778687, 0.6960747241973877, 0.061026256531476974, 0.5837181210517883, 0.6089967489242554, 0.29044803977012634, 0.31416863203048706, -0.055361222475767136, 0.2419643998146057, -0.7244209051132202, 0.17729908227920532, -0.08147615939378738, -0.46804168820381165, -0.47347331047058105, 0.12830032408237457, 0.6659582853317261, 0.7042462825775146, -0.09820771217346191, -0.008554437197744846, 0.47111812233924866, 0.5251924395561218, -0.3657630681991577, 0.4685099720954895, -0.6846352219581604, -0.11400040984153748, -0.29309916496276855, 0.04040658473968506, -0.5160953998565674, -0.15997546911239624, 0.06316645443439484, -0.7659931182861328, -0.22554214298725128, -0.22803664207458496, 0.8854432106018066, 0.12706391513347626, -0.4380640387535095, -0.5539073944091797, -0.7815465331077576, 0.8683806657791138, -0.5654478073120117, 0.06952224671840668, 0.07476068288087845, 0.28760167956352234, -0.08941321820020676, -0.8566941022872925, -0.4419063925743103, -0.4481431841850281, -0.11810711771249771, 0.30591925978660583, 0.023907754570245743, 0.149921253323555, 0.334740549325943, 0.30058446526527405, -0.39939990639686584, 0.3976718783378601, -0.6028215289115906, -0.2957483232021332, 0.8219612240791321, 0.36391156911849976, 0.17301271855831146, -0.006495446432381868, -0.2920256555080414, 0.06394139677286148, -0.6917566657066345, 0.2908170819282532, 0.09186141192913055, 0.3006274998188019, -0.006152048707008362, 0.501815676689148, 0.07649137824773788, 0.581336498260498, -0.11149976402521133, 0.06695166975259781, -0.03877478092908859, -0.19226457178592682, -0.0101711330935359, -0.30568647384643555, 0.9124795794487, -0.1905507594347, 0.35619866847991943, 0.010410296730697155, -0.5057438015937805, 0.11931087076663971, 0.37877345085144043, -0.4141405522823334, 0.17144092917442322, 0.05537451058626175, -0.5895035862922668, -0.26222872734069824, 0.1057250127196312, -0.3611520528793335, -0.44376492500305176, -0.46489232778549194, 0.3400537967681885, -0.5481389760971069, -0.3621962368488312, 0.09046632796525955, 0.2548728287220001, 0.44228601455688477, 0.4094049334526062, -1.155403733253479, 0.39832261204719543, 0.7588577270507812, 0.614282488822937, -0.3235878348350525, -0.2939014136791229, -0.053665414452552795, -0.034563980996608734, -0.5331084728240967, 0.3051009178161621, -0.4746776223182678, -0.15112099051475525, 0.18057046830654144, -0.15098828077316284, -0.1880888193845749, -0.7089922428131104, 0.5218397378921509, -0.6314178705215454, -0.08636103570461273, -0.24941180646419525, -0.3523526191711426, -0.38809844851493835, -0.03202218562364578, -0.7096700072288513, 0.9154484868049622, 0.24023379385471344, -0.1785590648651123, 0.08839964121580124, -0.5689330101013184, -0.27606168389320374, 0.2156500220298767, -0.5256514549255371, 0.011236299760639668, 0.5211978554725647, -0.0285379346460104, 0.5136196613311768, -0.4452284574508667, 0.2193848192691803, -0.19012829661369324, -0.22491729259490967, 0.40161049365997314, -0.317080020904541, 0.6649168729782104, 0.1260080635547638, -0.3013494312763214, 0.21422676742076874, -0.7063642740249634, 0.08916720002889633, 0.2849159240722656, -0.5725144147872925, 0.10106606781482697, 0.0033281734213232994, -0.26371946930885315, 0.46642011404037476, 0.6524618268013, -0.33181533217430115, 0.11345604807138443, -0.26399120688438416, 0.592696487903595, 0.8716436624526978, -0.28780096769332886, 0.44325125217437744, -0.4687354266643524, 0.6660341024398804, -0.02933160774409771, 0.033235810697078705, -0.2805972993373871, -0.4032272398471832, -0.8872330784797668, -0.05496586486697197, 0.09679201245307922, 0.6520960927009583, -0.6129510998725891, 0.4515058100223541, -0.36214518547058105, -0.2809375524520874, -0.5821581482887268, 0.4196915030479431, 0.35830700397491455, 0.1185227781534195, 0.06447397917509079, -0.31339114904403687, -0.2504865229129791, -0.9418222308158875, 0.05814487487077713, -0.09218083322048187, 0.024157507345080376, 0.33778518438339233, 0.3219417631626129, -0.10877025872468948, 0.4500579237937927, -0.2528223395347595, -0.2865370213985443, -0.40886035561561584, 0.07656777650117874, 0.5027069449424744, 0.3427356481552124, 0.49998173117637634, -0.4375919997692108, -0.26309558749198914, 0.2990804612636566, -0.9179263114929199, -0.2746816575527191, -0.43335068225860596, -0.18062752485275269, 0.051897622644901276, 0.5599179863929749, -0.6863084435462952, 0.3467215299606323, 0.5831502079963684, -0.04815487191081047, 0.6021715998649597, -0.23183976113796234, -0.23647049069404602, -0.47930148243904114, -0.28620949387550354, -0.38378381729125977, 0.017546718940138817, -0.6049109697341919, 0.3007810413837433, 0.09450293332338333, -0.02252897247672081, -0.19395171105861664, 0.2938668727874756, -0.7486434578895569, -0.040925126522779465, -0.3482154905796051, 0.4895083010196686, -0.15336045622825623, 0.6666192412376404, 0.02704818919301033, 0.5579059720039368, 0.568465530872345, -0.5594782829284668, 0.46299874782562256, -0.15067210793495178, -0.31814444065093994, 0.13084305822849274, -0.5327408313751221, 0.1268652081489563, -0.12228575348854065, 0.0484435148537159, -0.9336963295936584, -0.07517211884260178, 0.026810679584741592, -0.3783971965312958, 0.37758785486221313, 0.3632986843585968, -0.41797563433647156, -0.3746289014816284, -0.1995077282190323, 0.27501606941223145, 0.5414353609085083, -0.0488276481628418, 0.9886462688446045, 0.06561075150966644, -0.2714727818965912, -0.28222477436065674, -0.8543773889541626, -0.13126738369464874, -0.09769242256879807, -0.9837499260902405, 0.290082186460495, 0.02680826000869274, -0.10540027916431427, -0.24010591208934784, 0.17331640422344208, 0.3596457242965698, 0.18470565974712372, 0.24311111867427826, 0.42704805731773376, -0.527111291885376, 0.14301535487174988, 0.04501568153500557, 0.04470690339803696, 0.20502275228500366, -0.18679676949977875, 0.7434001564979553, -0.3619178533554077, -0.16806462407112122, -0.30287542939186096, 0.12161948531866074, 0.47660431265830994, -0.48269855976104736, 0.7962999939918518, 0.5929664969444275, -0.31826502084732056, -0.20744754374027252, -0.22480042278766632, 0.13095641136169434, -0.4644685387611389, 0.43436217308044434, -0.43411099910736084, -0.8173425793647766, 0.8427055478096008, -0.1430875062942505, 0.2266223281621933, 0.4486706852912903, 0.8227362632751465, -0.10191024094820023, 0.5694730281829834, 0.5301365256309509, 0.3922005295753479, 0.5903823971748352, -0.40652719140052795, -0.054641056805849075, -1.1911561489105225, -0.4157441258430481, 0.021512581035494804, -0.46406289935112, -0.6546192765235901, -0.5780308246612549, 0.15714655816555023, 0.1987829953432083, -0.41516414284706116, 0.2003001868724823, -0.20518386363983154, 0.15172380208969116, 0.3739171028137207, 0.21326422691345215, 0.05104486271739006, -0.30514588952064514, -0.2812805473804474, -0.1965898722410202, -0.49943262338638306, -0.6232894659042358, 1.1375561952590942, 0.5954737067222595, 0.7997596859931946, 0.40189316868782043, 0.6346062421798706, 0.029100408777594566, 0.41740015149116516, -0.8701665997505188, 0.7254073619842529, -0.29271209239959717, -0.3949287533760071, -0.22585807740688324, -0.182656392455101, -0.9969347715377808, 0.32487958669662476, -0.43348804116249084, -0.8116873502731323, 0.12332027405500412, 0.017656486481428146, -0.4347652792930603, 0.014817789196968079, -0.6374801397323608, 0.6495867371559143, -0.650732159614563, -0.7026490569114685, -0.4518684446811676, -0.5536918640136719, 0.5690511465072632, -0.08756102621555328, 0.10665636509656906, 0.0406770296394825, -0.23220841586589813, 0.4591532349586487, -0.03544805571436882, 0.7537439465522766, -0.021590352058410645, -0.4583324193954468, 0.16626133024692535, 0.3392878472805023, 0.282135933637619, -0.08386951684951782, -0.188681960105896, -0.05189768970012665, -0.3208220303058624, -0.40643319487571716, -0.8053295612335205, 0.5624691843986511, -0.8049587607383728, -0.8975608944892883, -0.24627022445201874, -0.6626593470573425, -0.30542075634002686, 0.3217461109161377, 0.03711274638772011, 0.28159773349761963, -0.3468013405799866, 0.17495588958263397, 0.6851485371589661, -0.39661601185798645, 0.4058281183242798, 0.19228193163871765, -0.6347949504852295, -0.1603698432445526, 0.7137351632118225, 0.17543400824069977, 0.633100152015686, 0.4627169072628021, 0.15461771190166473, -0.15282902121543884, -0.670042872428894, -0.10377933830022812, 0.4161013662815094, -0.7719935774803162, 0.17344504594802856, -0.03774173930287361, -0.578135073184967, -0.3368825316429138, -0.03741423413157463, -0.18838909268379211, -0.3061491847038269, -0.44378358125686646, -0.018534893169999123, -0.15375781059265137, 1.2651269435882568, -0.08517037332057953, 0.38404494524002075, -0.41429540514945984, 0.19988301396369934, 0.3158404231071472, 0.07438047230243683, 0.41300493478775024, -0.5952731370925903, -0.400735080242157, 0.13126643002033234, -0.8295659422874451, -0.6543050408363342, 0.13533678650856018, 0.1760839968919754, 0.6300249099731445, 0.7023665308952332, -0.33134523034095764, 0.44785621762275696, -0.33203861117362976, 0.8751948475837708, 0.04259394854307175, -0.8035680651664734, 0.2836958169937134, -0.5309545397758484, 0.32767945528030396, 0.012812239117920399, 0.2568204402923584, -0.45077505707740784, -0.2866448760032654, -0.37284940481185913, -0.7117041945457458, 0.7829182744026184, 0.10786326229572296, 0.2583829164505005, 0.21572613716125488, 0.24223357439041138, 0.005598107818514109, 0.012369408272206783, -0.9315352439880371, -0.005482412409037352, -0.22521500289440155, -0.15495194494724274, -0.09815418720245361, -0.0760321393609047, -0.23325560986995697, -0.1958058774471283, 0.41397520899772644, -0.09984017163515091, 0.34035006165504456, -0.07082539051771164, -0.20145773887634277, 0.34848278760910034, 0.14448301494121552, 0.7143430709838867, 0.5652044415473938, 0.1322396695613861, -0.14039385318756104, -0.1093570739030838, -0.3492662012577057, -0.07187969982624054, -0.04552849382162094, 0.22097143530845642, -0.47762179374694824, 0.7786791324615479, 1.1972928047180176, -0.005350536201149225, -0.6064242124557495, 0.39487314224243164, 0.12247209250926971, -0.131071999669075, -0.42002224922180176, 0.15487068891525269, 0.2921610176563263, 0.36754029989242554, 0.3218640387058258, -0.009688682854175568, -0.14552834630012512, -0.7383956909179688, -0.1704755276441574, 0.33538496494293213, -0.34913888573646545, -0.3389500081539154, 0.6778128147125244, -0.009000713005661964, -0.09307879954576492, 0.7956684231758118, -0.055502962321043015, -0.373300701379776, 0.4388975203037262, 0.4365755617618561, 0.8090806603431702, 0.00840108934789896, 0.14420710504055023, 0.1389961987733841, 0.4235862195491791, 0.2003031224012375, 0.07753584533929825, -0.14453500509262085, -1.022553563117981, -0.29255542159080505, -0.4926929771900177, 0.1519317477941513, 0.20324982702732086, -0.7131821513175964, 0.14508062601089478, -0.6667027473449707, -0.3100159764289856, 0.009513449855148792, -0.055887095630168915, -0.707252025604248, 0.02195758745074272, 0.48402249813079834, 0.7621162533760071, -0.5854246616363525, 0.7418197989463806, 0.5315904021263123, -0.5841584801673889, -1.0517843961715698, -0.022043487057089806, 0.019742777571082115, -1.1256510019302368, 1.0529104471206665, 0.06026408448815346, -0.12626568973064423, -0.1375446319580078, -0.4518163800239563, -0.6452263593673706, 1.2867395877838135, 0.4555264413356781, -0.5229718685150146, -0.24661564826965332, 0.21103264391422272, 0.7984447479248047, -0.6295759677886963, 0.31741657853126526, 0.651357889175415, 0.3451681137084961, -0.15501919388771057, -0.8895267844200134, 0.1704384982585907, -0.1799228936433792, 0.5046724081039429, -0.054563969373703, -0.8812892436981201, 0.9393699169158936, -0.2537097632884979, -0.42307624220848083, 0.5234702229499817, 0.8836340308189392, 0.325472891330719, -0.19913695752620697, 0.18082799017429352, 0.3112497925758362, 0.5845109224319458, -0.3380650579929352, 0.9752815365791321, -0.2626418173313141, 0.08269603550434113, 0.707944393157959, -0.22537745535373688, 0.8116434812545776, 0.49263396859169006, -0.11086217314004898, 0.7563049793243408, 0.5167427062988281, 0.29372748732566833, 0.31602317094802856, 0.602911114692688, -0.35952016711235046, -0.2810567319393158, -0.008937930688261986, 0.01680949330329895, 0.500923752784729, 0.7274430394172668, -0.4609958231449127, 0.1192295253276825, 0.01706261932849884, -0.10017503798007965, 0.28941965103149414, -0.43314218521118164, 0.6731252670288086, 0.29252028465270996, -0.8606514930725098, 0.7920143008232117, -0.2361556589603424, 0.7617030739784241, -0.891778290271759, 0.025116626173257828, -0.18079091608524323, 0.11085417121648788, -0.15775635838508606, -1.1598767042160034, 0.1397906392812729, -0.46716803312301636, -0.07462596893310547, -0.6178584098815918, 0.5956711173057556, -0.3241913616657257, -0.193587526679039, 0.673181414604187, 0.41213515400886536, 0.018992789089679718, 0.3597891330718994, -0.6208904981613159, 0.3428970277309418, -0.053033411502838135, -0.282757431268692, 0.1359124779701233, 0.7340705990791321, -0.29244670271873474, 0.7638901472091675, 0.4241369366645813, 0.5972564816474915, 0.35711172223091125, 0.0239819698035717, 0.7941105365753174, -0.5747702121734619, -0.19792379438877106, -0.6152964234352112, 0.46104615926742554, 0.16064852476119995, -0.30993062257766724, 0.2076399028301239, 0.27695587277412415, 0.8585648536682129, -0.25323572754859924, 0.8057108521461487, -0.3300716280937195, 0.10112843662500381, -0.7991613745689392, 0.5630250573158264, -0.39785706996917725, 0.429250031709671, -0.04286817088723183, -0.590107262134552, -0.04889657720923424, 0.5743104815483093, -0.42474544048309326, 0.21691720187664032, 0.6637598276138306, 0.7787086367607117, 0.07716702669858932, -0.20752142369747162, 0.48737213015556335, 0.5089201331138611, 0.35995903611183167, 1.0829790830612183, 1.1439697742462158, -0.2882572114467621, 0.43127501010894775, 0.023367369547486305, -0.43400201201438904, 0.15700753033161163, -0.5349330306053162, -0.6592485904693604, -0.7531368136405945, 0.16871872544288635, -0.2920336425304413, -0.3502095341682434, 0.6484673023223877, 0.5325674414634705, -0.4855392277240753, -0.6727058291435242, 0.010897701606154442, -0.0653894692659378, -0.22435104846954346, -0.2586439251899719, 0.16772015392780304, -0.3712080419063568, -0.575835108757019, 0.14246554672718048, 0.3470565974712372, -0.05036379024386406, -0.6409549117088318, -0.2801026701927185, -0.08886375278234482, 0.13534055650234222, 0.7796218991279602, 0.3839184045791626, -0.8771970868110657, -0.08882863074541092, 0.08326146006584167, -0.07684289664030075, -0.04767359048128128, 0.9916741251945496, -0.7200257778167725, 0.33260324597358704, 0.4112977087497711, 0.7488083839416504, 0.4827674627304077, -0.2916366457939148, 0.8689977526664734, -0.3053627014160156, 0.08707521110773087, 0.2147684246301651, 0.4869973361492157, 0.19223549962043762, -0.07007728517055511, 0.22254106402397156, 0.14462660253047943, -0.456981360912323, -0.4302910566329956, 0.631053626537323, -1.0291398763656616, -0.13621214032173157, 0.9907497763633728, -0.3042198419570923, -0.05541060492396355, 0.1492694467306137, -0.28933286666870117, 0.26142391562461853, -0.24652981758117676, 0.6296423077583313, 1.0417770147323608, -0.5589706897735596, -0.3974519371986389, -0.7087602019309998, 0.2955361008644104, 0.2605958878993988, -0.6016526222229004, 0.10816862434148788, 0.29689136147499084, 0.009522393345832825, 0.3461257815361023, 0.6281115412712097, -0.3240862786769867, 0.22663597762584686, -0.20188403129577637, -0.15699009597301483, 0.12021772563457489, -0.19126512110233307, -0.33329662680625916, -0.11087056994438171, 0.3936610519886017, 0.0033249142579734325 ]
http://arxiv.org/abs/2405.16933v1
http://arxiv.org/pdf/2405.16933v1
Empowering Large Language Models to Set up a Knowledge Retrieval Indexer via Self-Learning
2024-05-27T08:26:45
2024-05-27T08:26:45
Xun Liang, Simin Niu, Zhiyu li, Sensen Zhang, Shichao Song, Hanyu Wang, Jiawei Yang, Feiyu Xiong, Bo Tang, Chenyang Xi
cs.CL
cs.CL, cs.IR
Retrieval-Augmented Generation (RAG) offers a cost-effective approach to injecting real-time knowledge into large language models (LLMs). Nevertheless, constructing and validating high-quality knowledge repositories require considerable effort. We propose a pre-retrieval framework named Pseudo-Graph Retrieval-Augmented Generation (PG-RAG), which conceptualizes LLMs as students by providing them with abundant raw reading materials and encouraging them to engage in autonomous reading to record factual information in their own words. The resulting concise, well-organized mental indices are interconnected through common topics or complementary facts to form a pseudo-graph database. During the retrieval phase, PG-RAG mimics the human behavior in flipping through notes, identifying fact paths and subsequently exploring the related contexts. Adhering to the principle of the path taken by many is the best, it integrates highly corroborated fact paths to provide a structured and refined sub-graph assisting LLMs. We validated PG-RAG on three specialized question-answering datasets. In single-document tasks, PG-RAG significantly outperformed the current best baseline, KGP-LLaMA, across all key evaluation metrics, with an average overall performance improvement of 11.6%. Specifically, its BLEU score increased by approximately 14.3%, and the QE-F1 metric improved by 23.7%. In multi-document scenarios, the average metrics of PG-RAG were at least 2.35% higher than the best baseline. Notably, the BLEU score and QE-F1 metric showed stable improvements of around 7.55% and 12.75%, respectively. Our code: https://github.com/IAAR-Shanghai/PGRAG.
[ -0.41698041558265686, -0.7496649622917175, 0.7122364044189453, -0.2531677782535553, -0.2278432697057724, 0.4731830060482025, 0.050920598208904266, -0.32148438692092896, 0.3246118724346161, 0.40414926409721375, -0.16141346096992493, -0.3998105525970459, -0.33924493193626404, 0.08310452848672867, -0.3613823652267456, 1.1121842861175537, 0.04982315003871918, -0.3276984691619873, -0.34045106172561646, 0.002970093162730336, -0.14860191941261292, -0.5490946769714355, -0.45494183897972107, -0.33773720264434814, 0.6342768669128418, 0.2967885136604309, 0.597838819026947, 0.6967912912368774, 0.25895458459854126, 0.29280948638916016, 0.12540864944458008, 0.5526847839355469, -0.9261979460716248, 0.09728699922561646, -0.41345155239105225, -0.3364734947681427, -0.44249218702316284, 0.13512450456619263, 0.6683922410011292, 0.2384597361087799, -0.11195746809244156, 0.3229338824748993, 0.14245878159999847, 0.7858903408050537, -0.6691603660583496, 0.05093146488070488, -0.5939863324165344, -0.21417997777462006, -0.43145859241485596, -0.32434460520744324, -0.31796279549598694, -0.4091503620147705, 0.033766720443964005, -0.8534504175186157, 0.18235987424850464, 0.412258505821228, 1.0932788848876953, 0.14116230607032776, -0.29908835887908936, -0.4259456396102905, -0.37272530794143677, 0.5226612687110901, -0.3175050914287567, 0.5854331851005554, 0.4801500737667084, 0.3920574486255646, -0.11801347136497498, -1.1934682130813599, -0.8441557288169861, 0.0261120293289423, -0.40701988339424133, 0.27510878443717957, -0.066154345870018, -0.0549030564725399, 0.15070900321006775, 0.509318470954895, -0.7691433429718018, -0.21164658665657043, -0.25858622789382935, -0.2898014783859253, 0.4898272156715393, -0.008350090123713017, 0.357680082321167, -0.5829285383224487, -0.15561647713184357, -0.13279888033866882, -0.8149803280830383, -0.13106779754161835, 0.4854671359062195, 0.2047627717256546, 0.3211323022842407, 0.7127370834350586, -0.12881430983543396, 0.7564091086387634, 0.23119214177131653, -0.33453643321990967, 0.4622375965118408, -0.49064740538597107, 0.07855426520109177, -0.09996297955513, 0.8713505864143372, 0.09979277104139328, 0.16071583330631256, -0.3122781813144684, -0.3301347494125366, -0.24062012135982513, 0.31923767924308777, -0.922451913356781, -0.46322041749954224, -0.03884444385766983, -0.28766241669654846, 0.03836600482463837, -0.16805493831634521, -0.7720800042152405, -0.36125925183296204, -0.3708088994026184, 0.7343764305114746, -0.389011412858963, -0.3244340419769287, -0.14069192111492157, -0.09286157786846161, 0.23995861411094666, 0.22797122597694397, -0.5510799288749695, 0.12194272130727768, 0.6581902503967285, 0.8604632019996643, -0.10356966406106949, -0.27882492542266846, -0.5564604997634888, 0.11440081149339676, -0.5576207041740417, 0.942456066608429, -0.3786585032939911, -0.5233849883079529, -0.298489511013031, -0.16560178995132446, -0.19551397860050201, -0.5574355125427246, 0.48153725266456604, -0.8767464756965637, 0.4399299621582031, -0.4445306360721588, -0.5857251882553101, -0.004739417694509029, 0.5242763757705688, -0.34025534987449646, 1.3755824565887451, 0.38926583528518677, -1.012292742729187, 0.2000858336687088, -0.34331682324409485, -0.30684056878089905, 0.27493736147880554, -0.40605196356773376, -0.34270694851875305, -0.25832313299179077, 0.12110091745853424, 0.2901115119457245, -0.5176386833190918, 0.2832973003387451, -0.06407910585403442, -0.4601171314716339, -0.26756665110588074, -0.14936037361621857, 0.4657615125179291, 0.29118603467941284, -0.07488234341144562, 0.0012133095879107714, -0.6971133351325989, 0.16809560358524323, 0.2113519012928009, -0.3451622724533081, -0.5322503447532654, -0.1567741334438324, -0.3736402690410614, 0.2858448028564453, 0.40501081943511963, -0.5768455862998962, 0.2585684061050415, -0.36682698130607605, 0.05335516110062599, 0.6262874603271484, 0.18280640244483948, 0.41801348328590393, -0.40338584780693054, 0.5706221461296082, -0.17364202439785004, -0.009284022264182568, -0.18756261467933655, -0.2943732738494873, -0.5321312546730042, -0.42396673560142517, 0.33722764253616333, 0.6407128572463989, -1.2889944314956665, 0.2744324505329132, -0.3656199872493744, -0.7172541618347168, -0.6827795505523682, 0.4027782678604126, 0.5900132060050964, 1.1060028076171875, 0.4822520911693573, -0.05501427501440048, -0.4343651533126831, -0.573279619216919, -0.13007400929927826, -0.34261515736579895, -0.004567949566990137, 0.561410665512085, 0.28330275416374207, -0.3494666516780853, 1.1690504550933838, -0.5827412009239197, -0.27363768219947815, -0.20601797103881836, 0.3303925693035126, 0.4694070518016815, 0.21002358198165894, 0.4656028747558594, -0.8023331761360168, -0.6917573809623718, -0.04624702036380768, -0.6643511652946472, -0.2609573006629944, 0.2784929871559143, -0.4434581995010376, 0.12038106471300125, 0.5521807074546814, -0.4718254804611206, 0.16207239031791687, 0.37702077627182007, -0.1740553230047226, 0.6589996218681335, -0.36164015531539917, 0.2609795033931732, -1.1181243658065796, 0.3828161060810089, -0.1897481232881546, -0.4186415374279022, -0.3064729571342468, -0.026967590674757957, 0.1774330735206604, -0.13412317633628845, -0.14970827102661133, 0.7543980479240417, -0.4784137010574341, -0.17909517884254456, -0.3282521367073059, 0.4443826675415039, 0.2584417462348938, 0.3218805491924286, -0.16344527900218964, 1.2772730588912964, 0.2883128821849823, -0.6110056638717651, 0.1609455794095993, 0.19429805874824524, -0.36034008860588074, 0.4682893455028534, -0.6101878881454468, 0.3289967477321625, -0.4534370005130768, 0.2785140573978424, -0.9071115851402283, -0.049044474959373474, 0.18687517940998077, -0.4629877209663391, 0.517063319683075, -0.3316862881183624, -0.7257848381996155, -0.4546220004558563, -0.18481630086898804, 0.3187294006347656, 0.5055011510848999, -0.7318230867385864, 0.8787657022476196, 0.5968940854072571, -0.08636365085840225, -0.8749639987945557, -0.07747825980186462, 0.03391644358634949, 0.046516966074705124, -0.4969295263290405, 0.29291173815727234, -0.07731025665998459, -0.08914707601070404, 0.24607804417610168, -0.04148239269852638, 0.250509649515152, -0.08493704348802567, -0.06000881269574165, 0.26894068717956543, -0.16507470607757568, 0.36860984563827515, 0.009704293683171272, -0.2950359284877777, -0.26005667448043823, -0.37764182686805725, 0.6302263140678406, -0.07826723903417587, -0.20557156205177307, 0.1821119785308838, -0.082893505692482, 0.21330291032791138, -0.5913243293762207, 0.565701961517334, 0.5533339381217957, -0.020564734935760498, -0.24611099064350128, -0.5880988836288452, -0.03822026774287224, -0.5049891471862793, 0.28649523854255676, -0.5864917635917664, -1.0360585451126099, 0.38783809542655945, -0.39786121249198914, -0.028438247740268707, 0.5457305908203125, 0.35377001762390137, -0.27759039402008057, 0.825168788433075, 0.38097211718559265, -0.023417573422193527, 0.3370981216430664, -0.4176257848739624, 0.45251166820526123, -1.0062196254730225, -0.11487134546041489, -0.4846142530441284, 0.02822542004287243, -0.7033674716949463, -0.661748468875885, 0.6782545447349548, 0.45158651471138, -0.23635141551494598, 0.056439224630594254, -0.4957883358001709, 0.5429455637931824, 0.4597587585449219, -0.0453057698905468, 0.2362985759973526, -0.229958176612854, -0.2745548486709595, 0.07581184059381485, -0.7943311333656311, -0.41701701283454895, 1.1542747020721436, 0.07630530744791031, 0.689867377281189, 0.15587182343006134, 0.9398561716079712, 0.23048292100429535, 0.5930566787719727, -0.7357227802276611, 0.6463631987571716, -0.2487042248249054, -0.632556676864624, -0.3167387545108795, -0.7706498503684998, -1.0381923913955688, 0.42326459288597107, -0.29105275869369507, -0.41588062047958374, 0.11462293565273285, 0.3600171208381653, -0.0957777202129364, 0.16473475098609924, -0.7232372164726257, 0.7998663783073425, -0.38113516569137573, -0.6342524290084839, 0.014348402619361877, -0.5071876049041748, 0.27566206455230713, -0.38866570591926575, 0.37268832325935364, 0.07668107002973557, 0.018743712455034256, 0.6112099289894104, -0.30132535099983215, 0.4105817377567291, -0.2888096570968628, 0.06534082442522049, 0.6586586236953735, 0.1649102121591568, 0.6209182739257812, -0.07954524457454681, -0.24368727207183838, -0.10793789476156235, 0.04726606607437134, -0.27593666315078735, -0.8414666652679443, 0.6991093754768372, -0.8239012360572815, -0.8211303949356079, -0.5455242991447449, -0.40760812163352966, -0.3358091711997986, 0.6098929047584534, 0.20413099229335785, 0.43019428849220276, 0.01769169792532921, 0.0872216448187828, 0.7693114280700684, -0.15361906588077545, -0.006367462687194347, 0.657201886177063, -0.6848762631416321, -0.47804170846939087, 1.307153582572937, 0.5365231037139893, 0.10527543723583221, 0.4983619153499603, 0.4416496753692627, -0.7297095060348511, -0.46095001697540283, -0.6300303936004639, 0.6364299058914185, -0.7337374091148376, -0.28527265787124634, -0.8120775818824768, -0.159596249461174, -0.6150685548782349, 0.17039872705936432, -0.20833159983158112, -0.24709764122962952, -0.17981703579425812, -0.20929422974586487, 0.2922303378582001, 0.6676018238067627, -0.13754704594612122, 0.13786308467388153, -0.8498925566673279, 0.5289334654808044, 0.37150460481643677, 0.3818260729312897, 0.017244895920157433, -0.6206621527671814, -0.3042706251144409, -0.17911593616008759, -0.15719982981681824, -0.7348387241363525, 0.36082980036735535, 0.20023906230926514, 0.6714863181114197, 0.11096454411745071, 0.2233380824327469, 0.8411049246788025, -0.678715169429779, 0.4293513298034668, -0.14353600144386292, -0.74402916431427, 0.3360089063644409, -0.4261278212070465, 0.1039235070347786, 0.7650735378265381, 0.5671329498291016, -0.44941800832748413, -0.24422354996204376, -0.5393086671829224, -0.9845327138900757, 0.5686793923377991, -0.1022636815905571, 0.04285523667931557, -0.2193991243839264, 0.7004105448722839, -0.14393827319145203, 0.2507269084453583, -0.47432050108909607, -0.2998514175415039, -0.4797808527946472, -0.3212778866291046, -0.3273282051086426, -0.40311896800994873, 0.060652948915958405, -0.14609427750110626, 0.9327230453491211, -0.3398483693599701, -0.0025270862970501184, 0.4349871873855591, -0.14799240231513977, -0.04933799430727959, 0.05486301705241203, 0.044331084936857224, 0.8207385540008545, -0.2486128956079483, 0.29189765453338623, -0.09996847063302994, -0.4619506001472473, 0.11559858918190002, 0.29694923758506775, -0.2477198988199234, -0.1826263815164566, 0.16181088984012604, 0.5330476760864258, -0.014814070425927639, -0.5883069634437561, 0.43895915150642395, -0.07215705513954163, 0.05102900415658951, -0.07489406317472458, 0.06363823264837265, 0.03218293935060501, 0.1210482120513916, 0.5796470642089844, -0.4676632583141327, 0.17653696238994598, -0.5627008080482483, 0.4366769790649414, 0.30431288480758667, 0.08006557077169418, -0.1296451985836029, 0.3550476133823395, 0.02179405838251114, -0.12330109626054764, 0.6435607075691223, -0.7167816758155823, -0.665393054485321, 0.14889638125896454, 0.676978588104248, 0.4465353190898895, -0.21042880415916443, 0.2511310875415802, 0.5657323598861694, 0.2536564767360687, -0.1358184963464737, 0.2666677236557007, -0.18970438838005066, -0.703429102897644, -0.5361045598983765, -0.8898468613624573, -0.3391786217689514, -0.09867724031209946, -0.3180859684944153, 0.15368488430976868, -0.3102448880672455, -0.20449772477149963, -0.3486851453781128, 0.3181290030479431, -0.44979801774024963, 0.34301698207855225, -0.24260713160037994, 0.6843730807304382, -0.6012608408927917, 0.8654772043228149, 0.8416489958763123, -0.5070713758468628, -1.0552977323532104, 0.0188999455422163, -0.26484742760658264, -0.8123561143875122, 0.6159896850585938, -0.13677208125591278, -0.28158023953437805, 0.4890848398208618, -0.14349417388439178, -1.1166080236434937, 1.1364014148712158, 0.2658727467060089, -0.6508980989456177, -0.25215521454811096, -0.14659368991851807, 0.7766598463058472, 0.0074864337220788, 0.32442519068717957, 0.2542526125907898, 0.33945542573928833, 0.3440421223640442, -0.7361768484115601, -0.1525219976902008, -0.2507191002368927, -0.23870038986206055, 0.519187331199646, -0.7023782730102539, 0.8562844395637512, 0.010733426548540592, -0.4017713963985443, -0.24596334993839264, 0.7387542724609375, 0.5156254768371582, 0.42217889428138733, 0.5113885998725891, 0.7724243998527527, 1.022315263748169, 0.053007010370492935, 1.3203731775283813, -0.6247702836990356, 0.3234390914440155, 1.2548620700836182, -0.20692600309848785, 0.6991567611694336, 0.2598303556442261, -0.0727374404668808, 0.49020084738731384, 0.47613325715065, 0.32789477705955505, 0.42443767189979553, 0.24669654667377472, -0.09441782534122467, -0.281491219997406, -0.22434379160404205, -0.22594915330410004, 0.31314414739608765, 0.3228122889995575, -0.1737341284751892, -0.29844725131988525, -0.14723622798919678, 0.11929893493652344, 0.23748180270195007, -0.3727087378501892, 0.7849169969558716, 0.058897409588098526, -0.7481927275657654, 0.5002002716064453, -0.16981738805770874, 0.5326409339904785, -0.7467712163925171, -0.1252415031194687, -0.21703872084617615, -0.0018081690650433302, -0.21492120623588562, -0.8926378488540649, 0.24752137064933777, 0.10642123967409134, -0.18599656224250793, -0.22203585505485535, 0.9999288320541382, -0.35335198044776917, -0.4713643491268158, 0.3618025481700897, 0.8396060466766357, 0.13959619402885437, 0.09082603454589844, -0.7342373728752136, -0.07892903685569763, -0.19878660142421722, -0.3961504399776459, 0.5698336362838745, 0.6039687395095825, -0.12524618208408356, 0.525772213935852, 0.7767738103866577, 0.10847309231758118, -0.017908982932567596, 0.1402713805437088, 0.9250547885894775, -0.28518593311309814, -0.47967156767845154, -0.4947633445262909, 0.1454995572566986, -0.029397111386060715, -0.061608269810676575, 0.9770873188972473, 0.8508228659629822, 0.9164093732833862, 0.4564707279205322, 0.6191521286964417, -0.12710732221603394, 0.9882352352142334, -0.33315449953079224, 0.9269525408744812, -0.7491238117218018, 0.06884302198886871, -0.3189564049243927, -0.9543362259864807, -0.009372083470225334, 0.5203098058700562, -0.5908370018005371, 0.12019925564527512, 0.42043131589889526, 0.8686650395393372, 0.00021958100842311978, -0.4382851719856262, 0.3047616183757782, 0.22919948399066925, 0.5212302207946777, 0.048494789749383926, 0.780733048915863, -0.2928332984447479, 0.6048644781112671, -0.10867027193307877, -0.21040989458560944, 0.1910577416419983, -0.7146989703178406, -0.7559024095535278, -0.5692499279975891, -0.03683391213417053, -0.5082545876502991, 0.18227358162403107, 0.7929300665855408, 0.4704522490501404, -0.3096145689487457, -0.1558099240064621, 0.0824216976761818, 0.17872270941734314, 0.31057319045066833, -0.26681944727897644, 0.6858659982681274, -0.4914109408855438, -0.5600460767745972, 0.382821649312973, 0.201494038105011, -0.1544865220785141, -0.16490021347999573, -0.08347797393798828, -0.4275921583175659, 0.09264618903398514, 0.634132444858551, 0.40330955386161804, -0.2296268194913864, -0.31111469864845276, 0.08908117562532425, -0.2820071280002594, 0.04201045259833336, 0.7213078737258911, -1.0334374904632568, 0.7139169573783875, 0.7408139109611511, 0.9290976524353027, 0.7227399945259094, 0.3745630085468292, 0.22167594730854034, -0.5927684307098389, -0.18458151817321777, 0.3371178209781647, 0.2353617399930954, 0.39285728335380554, -0.4149132966995239, 0.5562857985496521, 0.38617071509361267, -0.7508659958839417, -0.8046838045120239, 0.04281964898109436, -0.4601380527019501, -0.14694218337535858, 0.8787049055099487, -0.28187239170074463, -0.45065340399742126, -0.19261141121387482, -0.2949690818786621, 0.35757169127464294, -0.2759968936443329, 0.8145002722740173, 0.5014406442642212, -0.1936093419790268, -0.2928105294704437, -0.2384825050830841, 0.5172103643417358, 0.1694777011871338, -0.8148687481880188, -0.07726471871137619, 0.5971799492835999, 0.28745314478874207, 0.37609976530075073, 1.0931881666183472, -0.1891375482082367, 0.1554117053747177, -0.2628966271877289, 0.0031675389036536217, -0.3369868993759155, -0.3895912170410156, 0.10755181312561035, 0.18627674877643585, 0.1218956932425499, 0.2531869113445282 ]
http://arxiv.org/abs/2405.16919v2
http://arxiv.org/pdf/2405.16919v2
VoCoT: Unleashing Visually Grounded Multi-Step Reasoning in Large Multi-Modal Models
2024-05-27T08:12:00
2024-05-28T06:12:45
Zejun Li, Ruipu Luo, Jiwen Zhang, Minghui Qiu, Zhongyu Wei
cs.CV
cs.CV, cs.AI, cs.CL
While large multi-modal models (LMMs) have exhibited impressive capabilities across diverse tasks, their effectiveness in handling complex tasks has been limited by the prevailing single-step reasoning paradigm. To this end, this paper proposes VoCoT, a multi-step Visually grounded object-centric Chain-of-Thought reasoning framework tailored for inference with LMMs. VoCoT is characterized by two key features: (1) object-centric reasoning paths that revolve around cross-modal shared object-level information, and (2) visually grounded representation of object concepts in a multi-modal interleaved and aligned manner, which effectively bridges the modality gap within LMMs during long-term generation. Additionally, we construct an instruction dataset to facilitate LMMs in adapting to reasoning with VoCoT. By introducing VoCoT into the prevalent open-source LMM architecture, we introduce VolCano. With only 7B parameters and limited input resolution, VolCano demonstrates excellent performance across various scenarios, surpassing SOTA models, including GPT-4V, in tasks requiring complex reasoning. Our code, data and model will be available at https://github.com/RupertLuo/VoCoT.
[ -0.48493602871894836, -0.954276442527771, 0.8591009974479675, 0.14186270534992218, -0.3691652715206146, -0.021047839894890785, -0.051118154078722, -0.2257208377122879, -0.1741737574338913, 0.7485669851303101, -0.6137183308601379, -0.6261895895004272, -0.2645007371902466, -0.15608014166355133, -0.2864327132701874, 0.5675584673881531, 0.15028683841228485, -0.05205260589718819, -0.6012510657310486, 0.13338783383369446, -0.3904469311237335, -0.5612604022026062, -0.31107673048973083, -0.18129035830497742, 0.7577467560768127, 0.5814117789268494, 0.66169673204422, 0.467136412858963, 0.18955183029174805, 0.23719333112239838, -0.03742843493819237, 0.7187753915786743, -0.41387614607810974, 0.24047574400901794, -0.5240816473960876, -0.3538723289966583, -0.4884518086910248, -0.4086277186870575, 0.2044975459575653, 0.46747368574142456, -0.010913334786891937, 0.05849219858646393, -0.17819204926490784, 0.4479278326034546, -0.8274602890014648, 0.30072423815727234, -0.8246004581451416, 0.039133187383413315, 0.009390324354171753, -0.3328078091144562, -0.8131712675094604, 0.19531495869159698, -0.0979292020201683, -0.7947898507118225, 0.15837743878364563, 0.2838679552078247, 0.4324997365474701, 0.27129217982292175, -0.8555572032928467, -0.024526726454496384, -0.4967438280582428, 0.8136677145957947, -0.3654674291610718, 0.7115126252174377, 0.1725199818611145, 0.3824615180492401, -0.38005539774894714, -0.8740414381027222, -0.623609721660614, -0.22374114394187927, 0.2140011042356491, 0.44546380639076233, 0.28774121403694153, 0.06910017877817154, 0.239290252327919, 0.14139805734157562, -0.09244433045387268, -0.08811761438846588, -0.23157137632369995, -0.08262596279382706, 0.116883784532547, 0.1307825893163681, 0.10064811259508133, -0.43846648931503296, -0.6502895355224609, -0.05969252437353134, -0.6624733209609985, 0.2328876554965973, 0.10314849764108658, 0.37004369497299194, 0.09786731749773026, 0.6718471646308899, -0.14128383994102478, 0.7213835120201111, -0.15203668177127838, -0.09928739070892334, -0.07927985489368439, -0.27160418033599854, -0.49102556705474854, -0.01228319015353918, 0.7597259283065796, 0.47383248805999756, -0.055097274482250214, 0.0871901586651802, 0.02009524218738079, 0.044483769685029984, 0.4961477816104889, -1.0053824186325073, -0.0895984023809433, 0.5223087668418884, -0.22881513833999634, -0.3390418589115143, 0.23161442577838898, -0.9033485651016235, -0.5026241540908813, -0.43737322092056274, 0.35460662841796875, -0.29659977555274963, -0.39644721150398254, 0.4000184237957001, -0.24363493919372559, 0.0184590145945549, 0.8772331476211548, -0.3835617005825043, 0.16110073029994965, 0.9118661284446716, 0.6967449188232422, -0.08380291610956192, -0.3807208836078644, -0.6840695738792419, 0.28428974747657776, -0.4184061586856842, 0.7017610669136047, -0.5766706466674805, -0.35945454239845276, -0.05759948864579201, 0.26234522461891174, 0.019579216837882996, -0.2679378092288971, 0.593981146812439, -0.4834701418876648, 0.19208505749702454, -0.37881824374198914, -0.1417684108018875, -0.4861956536769867, 0.4720914661884308, -0.5428041219711304, 0.9603186845779419, -0.11572129279375076, -0.8570155501365662, 0.46188706159591675, -0.5085390210151672, -0.39234933257102966, -0.28322696685791016, -0.37693044543266296, -0.3945205509662628, 0.25263699889183044, 0.242999866604805, 0.536825954914093, -0.7187206149101257, 0.3194217085838318, -0.6329229474067688, -0.11630379408597946, 0.056574586778879166, -0.7417920827865601, 0.7832319736480713, 0.06159243360161781, -0.48963290452957153, 0.425470232963562, -0.7447024583816528, 0.20620188117027283, -0.029716752469539642, 0.019440656527876854, -0.1319662481546402, 0.04231967777013779, -0.11233820021152496, 0.4316199719905853, -0.0007458139443770051, -0.3231678307056427, 0.3887205123901367, 0.33892956376075745, 0.549734354019165, 0.7324615716934204, -0.01806844212114811, 0.03245843946933746, 0.07963559776544571, 0.26614078879356384, 0.4496604800224304, 0.5515974164009094, -0.5650128722190857, -0.5860540270805359, -0.9091378450393677, -0.6676934361457825, -0.05005726218223572, 0.2574569284915924, -0.9292566776275635, 0.15662100911140442, -0.2024967074394226, -0.4517068564891815, -0.09588359296321869, -0.24766682088375092, 0.27562960982322693, 0.6103506088256836, 0.6696538925170898, -0.173762708902359, -0.30475208163261414, -0.756190836429596, 0.06439986824989319, -0.021943386644124985, 0.06189097836613655, 0.33444055914878845, 0.5777779817581177, -0.378705233335495, 0.723224401473999, -0.4436616599559784, -0.1344023495912552, 0.16634823381900787, 0.0805572122335434, 0.21658068895339966, 0.32191145420074463, 0.1500488668680191, -0.9230625033378601, -0.09549229592084885, 0.5668845772743225, -0.7940064072608948, 0.22932763397693634, -0.01633855327963829, -0.43745678663253784, -0.26924577355384827, 0.6608428955078125, -0.9282316565513611, 0.6019716858863831, 0.4175654947757721, -0.48400425910949707, 0.5742830634117126, -0.2477710247039795, 0.4619801938533783, -0.9464301466941833, -0.07924589514732361, -0.3814229965209961, -0.5552604794502258, -0.42854195833206177, 0.15052194893360138, 0.19918544590473175, -0.131906658411026, -0.6986204981803894, 0.36297619342803955, -0.46632659435272217, -0.06815190613269806, -0.2130192220211029, -0.22244571149349213, 0.6025251746177673, 0.6240999102592468, 0.0698341429233551, 0.6451111435890198, 0.899378776550293, -0.7655584812164307, 0.3442682921886444, -0.21872660517692566, -0.14260515570640564, 0.8193057179450989, -0.49007919430732727, 0.3001558184623718, -0.26830384135246277, 0.28416335582733154, -0.6290054321289062, -0.35079091787338257, 0.1675020307302475, 0.06787630170583725, -0.1187901422381401, -0.28723523020744324, -0.4067407548427582, -0.4447285830974579, -0.12958964705467224, 0.6581276059150696, 0.16268156468868256, -0.7614580988883972, 1.1559637784957886, 0.07258353382349014, 0.46164536476135254, -0.4550372064113617, -0.3814762830734253, 0.02777683548629284, -0.11245698481798172, -0.43237537145614624, 0.27788102626800537, -0.04583337530493736, -0.10469315946102142, -0.05473662540316582, -0.30846211314201355, -0.12371974438428879, -0.1889919489622116, 0.5261725783348083, 0.0033967189956456423, -0.24387289583683014, 0.25797298550605774, 0.22036196291446686, 0.07348529994487762, 0.04382104426622391, -0.7787613868713379, 0.5138547420501709, -0.29726967215538025, -0.9281810522079468, -0.3217763900756836, 0.36737799644470215, 1.3843432664871216, -0.3557400107383728, 0.5838842391967773, 0.39997994899749756, -0.3695348799228668, -0.3688563406467438, -0.333138644695282, 0.05061190202832222, -0.4136130213737488, 0.18056251108646393, -0.8329712748527527, -0.5375004410743713, 0.3206791877746582, -0.4657345712184906, -0.05446842312812805, 0.36499977111816406, 0.536657989025116, 0.03287705034017563, 1.0246566534042358, 0.18177764117717743, 0.6977882981300354, 0.19018393754959106, -0.44147372245788574, 0.17578519880771637, -0.8249925971031189, -0.7792209386825562, -0.08986978232860565, 0.10527890175580978, -0.025562074035406113, -1.314879298210144, 0.33773162961006165, 0.44574567675590515, -0.4212906062602997, 0.14122529327869415, -0.5459190607070923, 0.44026508927345276, 0.6089481711387634, 0.3846559524536133, 0.5193708539009094, -0.1564788669347763, -0.40417346358299255, 0.252905935049057, -0.7666333317756653, -0.30351054668426514, 0.7520892024040222, 0.26795846223831177, 0.6663796305656433, 0.14903001487255096, 0.1788208931684494, 0.3562231659889221, 0.3135678172111511, -0.9127729535102844, 0.5335900187492371, 0.13211801648139954, -0.5146409869194031, -0.21161417663097382, -0.28391265869140625, -0.6808345913887024, 0.7908722758293152, -0.1063772439956665, -0.36526721715927124, 0.2690225839614868, 0.24706555902957916, -0.007688969373703003, 0.4262131154537201, -0.7245892882347107, 1.0186764001846313, -0.6573653817176819, -0.7485783100128174, -0.17096470296382904, -0.2581561505794525, 0.5729557871818542, -0.03323549032211304, 0.33871814608573914, -0.19276465475559235, -0.021912870928645134, 0.009765827096998692, -0.8228791952133179, 0.9278164505958557, -0.17190204560756683, -0.11063934117555618, 0.6761096119880676, 0.24553239345550537, 0.4419978857040405, 0.30502450466156006, -0.025979945436120033, 0.36717739701271057, -0.09764986485242844, -0.42786774039268494, -0.8203609585762024, 0.7154772877693176, -0.42820510268211365, -0.7209717035293579, -0.29408374428749084, -0.31137722730636597, -0.1593111902475357, 0.6023677587509155, 0.1838241070508957, 0.49185967445373535, -0.05220688879489899, 0.5172598361968994, 0.5031462907791138, 0.043188780546188354, 0.068424291908741, -0.08411905914545059, -0.8172032237052917, -0.663915753364563, 0.7553434371948242, -0.09729868173599243, 0.46118953824043274, 0.4462546110153198, 0.30240964889526367, -0.3679584562778473, -0.1679345965385437, -0.6502619385719299, -0.24014298617839813, -0.8151654005050659, -0.21669521927833557, -0.7801017165184021, -0.05870989337563515, 0.1042230948805809, -0.08111797273159027, -0.6816630363464355, -0.12469162046909332, -0.12255582213401794, -0.18257462978363037, 0.4378807246685028, 0.5937122702598572, 0.44757768511772156, 0.15157784521579742, -0.23772495985031128, 0.6797841191291809, 0.7341158986091614, 0.2889312207698822, 0.23935623466968536, -0.2074657678604126, -0.0011873439652845263, 0.2376268208026886, -0.2836897671222687, -0.5586224794387817, -0.10527162998914719, -0.1731790155172348, 0.27662405371665955, 0.5366964936256409, 0.034707874059677124, 1.1407392024993896, -0.6553077697753906, 0.5909414887428284, 0.7072169780731201, -1.1557713747024536, 0.5707646012306213, -0.40919172763824463, 0.24805667996406555, 0.23408985137939453, 0.14517845213413239, -0.33526167273521423, -0.10367859154939651, -0.5674325823783875, -0.8084897398948669, 0.2966550886631012, 0.15410146117210388, -0.17228272557258606, -0.16611860692501068, -0.06197316199541092, 0.4217087924480438, 0.5006530284881592, -0.6065336465835571, 0.16640961170196533, -0.8423664569854736, 0.021189453080296516, 0.25674566626548767, 0.00004189720857539214, -0.2929081618785858, -0.5222672820091248, 0.1973607987165451, -0.4939916431903839, 0.07007516175508499, 0.3697207570075989, -0.11392619460821152, 0.13849389553070068, 0.09594807028770447, 0.6854873299598694, 0.778194010257721, -0.009011047892272472, 0.8055224418640137, 0.11955522745847702, -0.15013912320137024, 0.0819646492600441, -0.43289169669151306, 0.004627860151231289, -0.19011254608631134, 0.44430485367774963, 0.9932703971862793, 0.3231615126132965, -0.6575050354003906, 0.7164929509162903, 0.0797991007566452, -0.10885795205831528, -0.2598749101161957, 0.11771249026060104, 0.2379830777645111, 0.2935999035835266, 0.1282525658607483, 0.4107554256916046, -0.051437947899103165, -0.7399832010269165, 0.23359474539756775, 0.30935725569725037, -0.5483442544937134, -0.3550110459327698, 0.9684479832649231, 0.20300079882144928, -0.21724332869052887, 0.29502928256988525, -0.00461910804733634, -0.46468859910964966, 0.5133238434791565, 0.4329608678817749, 0.7494262456893921, 0.08303748071193695, 0.22797495126724243, 0.30121099948883057, 0.2008381336927414, -0.26284515857696533, 0.2755584120750427, -0.20496907830238342, -0.47156664729118347, -0.31441548466682434, -0.34029093384742737, -0.4274638593196869, 0.04060269147157669, -0.46319133043289185, 0.5477302670478821, -0.8623480200767517, -0.34024834632873535, -0.33161690831184387, -0.7845190763473511, -0.9382261037826538, 0.28828129172325134, -0.025513188913464546, 0.7021172046661377, -0.6395560503005981, 0.6118435263633728, 0.35471588373184204, -0.46114638447761536, -0.4912833869457245, 0.018265657126903534, -0.04072706401348114, -0.7865180969238281, 0.6365296840667725, 0.47574034333229065, -0.7347272634506226, -0.14678049087524414, -0.41381415724754333, -0.562303364276886, 1.1260583400726318, 0.34063389897346497, -0.4608764052391052, 0.20084203779697418, 0.07848416268825531, 0.32657575607299805, -0.5805773138999939, 0.5298663377761841, 0.06752515584230423, 0.4778750240802765, 0.3698878586292267, -0.6122790575027466, 0.009938320145010948, -0.0480802096426487, -0.0370187908411026, 0.10243265330791473, -0.9032579064369202, 1.083606243133545, -0.2601771652698517, -0.06533937156200409, -0.35512956976890564, 0.6455067992210388, 0.4015063941478729, 0.39582884311676025, 0.7180147767066956, 0.5876274704933167, 0.9541171789169312, 0.038881346583366394, 0.9533442854881287, -0.060530293732881546, 0.2259809970855713, 1.0725653171539307, -0.2869012951850891, 0.7572150826454163, 0.6514864563941956, 0.11988040804862976, 0.7132770419120789, 0.40749871730804443, 0.36377474665641785, 0.3671894669532776, 0.1048348918557167, -0.23705285787582397, -0.7092686891555786, -0.461167573928833, -0.3267664313316345, 0.47618499398231506, 0.3446579575538635, -0.20899012684822083, -0.07591600716114044, 0.03814098984003067, -0.005675052758306265, -0.10952723026275635, -0.5512219667434692, 0.30461379885673523, 0.11701972037553787, -0.7280564904212952, 0.665571928024292, -0.2814916968345642, 0.11777157336473465, -0.25664910674095154, -0.32729706168174744, 0.13059984147548676, 0.1065433919429779, -0.3050866723060608, -0.7847223281860352, -0.24923118948936462, -0.05800045654177666, -0.3593766689300537, -0.31105050444602966, 0.5072111487388611, -0.2899375855922699, -0.6969148516654968, 0.4370535612106323, 0.479440301656723, -0.0624515600502491, -0.4202003479003906, -0.4245698153972626, 0.28088173270225525, -0.1412295401096344, -0.21135185658931732, -0.1412462443113327, 1.1927281618118286, -0.5084465146064758, 0.8460633158683777, 0.9814915657043457, -0.20100818574428558, 0.22961586713790894, 0.46766921877861023, 0.9771235585212708, -0.9055222272872925, -0.3362700939178467, -0.7985373735427856, 0.9790818095207214, -0.3476547598838806, -0.22603316605091095, 0.5662187337875366, 0.7163342237472534, 0.615670382976532, -0.2897333800792694, 0.6692956686019897, 0.16190358996391296, 0.03829619288444519, -0.7680790424346924, 0.11395033448934555, -0.7525432705879211, 0.15569084882736206, -0.05828438326716423, -0.9873144030570984, -0.1877874881029129, 0.3372317850589752, -0.09784423559904099, -0.004861276596784592, 0.9764017462730408, 0.5108564496040344, -0.6348142623901367, -0.13310672342777252, 0.5259807705879211, 0.1648084819316864, 0.6134383082389832, 0.314224511384964, 0.998469352722168, -0.18928366899490356, 0.34971779584884644, -0.1482398360967636, -0.208549365401268, -0.48896297812461853, -1.1170244216918945, -1.049781084060669, -0.3629034459590912, -0.1513512283563614, -0.22464576363563538, -0.26733243465423584, 0.7139172554016113, 0.8378293514251709, -0.5620275139808655, -0.05902182683348656, -0.5327103137969971, 0.3550105094909668, -0.40984004735946655, -0.2070583552122116, 0.29068896174430847, -0.02923058159649372, -0.6953951120376587, 0.45975780487060547, 0.8803569674491882, -0.24602819979190826, -0.4488830864429474, 0.016781019046902657, 0.020435340702533722, 0.12168542295694351, 1.115301489830017, 0.03172798082232475, -1.2030820846557617, -0.5647833347320557, 0.09128879755735397, -0.001599812530912459, 0.14544765651226044, 0.9939079880714417, -0.6695941090583801, 0.894149124622345, 0.4252413809299469, 0.48052990436553955, 0.6285354495048523, 0.0971638634800911, 0.448410302400589, -0.33626624941825867, 0.454151451587677, 0.19505693018436432, 0.4891045391559601, 0.14088822901248932, -0.262475848197937, 0.2925695776939392, 0.32455044984817505, -0.14911535382270813, -0.8118967413902283, 0.5688873529434204, -1.247079849243164, -0.4608716368675232, 1.0543253421783447, 0.1958446502685547, -0.5389257073402405, -0.15333454310894012, -0.5777448415756226, 0.07161219418048859, -0.14163030683994293, 0.4582579731941223, 0.5703759789466858, -0.16687029600143433, -0.37972110509872437, -0.572711169719696, 0.1618359386920929, 0.16197462379932404, -1.0790263414382935, 0.31857436895370483, 0.44950348138809204, -0.005544118583202362, 0.20223894715309143, 0.4782106876373291, -0.0545419380068779, 0.17674461007118225, 0.2189365029335022, 0.19147919118404388, -0.39996829628944397, -0.953915536403656, 0.46229106187820435, 0.460931658744812, 0.0172077938914299, -0.20914901793003082 ]
http://arxiv.org/abs/2405.16908v1
http://arxiv.org/pdf/2405.16908v1
Can Large Language Models Faithfully Express Their Intrinsic Uncertainty in Words?
2024-05-27T07:56:23
2024-05-27T07:56:23
Gal Yona, Roee Aharoni, Mor Geva
cs.CL
cs.CL
We posit that large language models (LLMs) should be capable of expressing their intrinsic uncertainty in natural language. For example, if the LLM is equally likely to output two contradicting answers to the same question, then its generated response should reflect this uncertainty by hedging its answer (e.g., "I'm not sure, but I think..."). We formalize faithful response uncertainty based on the gap between the model's intrinsic confidence in the assertions it makes and the decisiveness by which they are conveyed. This example-level metric reliably indicates whether the model reflects its uncertainty, as it penalizes both excessive and insufficient hedging. We evaluate a variety of aligned LLMs at faithfully communicating uncertainty on several knowledge-intensive question answering tasks. Our results provide strong evidence that modern LLMs are poor at faithfully conveying their uncertainty, and that better alignment is necessary to improve their trustworthiness.
[ -0.012785677798092365, -0.9885503053665161, 0.984956681728363, 0.17221292853355408, -0.15627184510231018, 0.21038728952407837, -0.2030206024646759, -0.7031590938568115, -0.0959501713514328, 0.09681051969528198, -0.5301880836486816, -0.13503123819828033, -0.9246367812156677, -0.03462494909763336, -0.47480085492134094, 0.49665889143943787, -0.36173486709594727, 0.26137468218803406, -0.17569606006145477, -0.10034453123807907, -0.3429277539253235, -0.43673965334892273, -0.5133544206619263, -0.4590691030025482, 0.49149060249328613, 0.1580590158700943, 1.0230753421783447, 0.6620457768440247, 0.7287477254867554, 0.2883150279521942, -0.06374180316925049, -0.10063770413398743, -0.35686352849006653, 0.35373443365097046, -0.398751825094223, -0.7685282230377197, -0.3645835816860199, 0.007356081157922745, 0.7855936884880066, 0.7278279066085815, -0.27218902111053467, 0.21360695362091064, 0.10778912901878357, 0.40639549493789673, -0.4731552302837372, 0.049943964928388596, -0.9843974709510803, -0.22141149640083313, -0.12921005487442017, 0.09819091111421585, -0.3051910996437073, -0.3386133015155792, 0.354949027299881, -0.6330966353416443, -0.34264615178108215, 0.341057151556015, 1.1861640214920044, 0.3586921989917755, -0.19518911838531494, -0.2988685071468353, -0.8721463084220886, 0.7042732834815979, -1.0463495254516602, 0.24277415871620178, 0.5180860757827759, 0.18705923855304718, -0.1159023866057396, -0.45499154925346375, -0.5948579907417297, -0.1088910922408104, 0.08687002956867218, 0.047902192920446396, -0.13439196348190308, 0.07609035074710846, 0.09407135844230652, 0.524134635925293, -0.40142667293548584, 0.1927764117717743, -0.012008230201900005, -0.38741469383239746, 0.5943702459335327, 0.23133639991283417, 0.009632758796215057, 0.20007434487342834, -0.40170785784721375, -0.04435311630368233, -0.6744198203086853, 0.058856915682554245, 0.5672377347946167, 0.1739407479763031, -0.010302667506039143, 0.8736470341682434, -0.02711580879986286, 0.5288943648338318, 0.18514861166477203, -0.05159350112080574, -0.20307713747024536, -0.2237958163022995, -0.19509612023830414, -0.11056539416313171, 0.835920512676239, 0.34240156412124634, 0.33365029096603394, -0.12722355127334595, -0.4706781804561615, 0.32417938113212585, 0.39974474906921387, -0.4462273120880127, 0.20801205933094025, 0.40732598304748535, -0.038781922310590744, 0.02478569932281971, 0.11426448076963425, -0.39238613843917847, -0.3426693379878998, -0.12828969955444336, 0.6460762619972229, -0.41931813955307007, -0.10825235396623611, 0.33854490518569946, 0.022789161652326584, 0.2878989279270172, 0.35877591371536255, -0.5703115463256836, 0.4119134247303009, 0.7863873243331909, 0.46638572216033936, 0.06563859432935715, -0.20699629187583923, -0.3785291314125061, 0.4112386107444763, -0.7348906993865967, 0.546920657157898, -0.6233755946159363, -0.1371435970067978, 0.17738421261310577, -0.15713712573051453, 0.01554393582046032, -0.24627685546875, 0.7123736143112183, -0.5521476864814758, 0.12513288855552673, -0.44003018736839294, -0.912487268447876, 0.07083536684513092, 0.4404326379299164, -0.32773688435554504, 0.7959906458854675, -0.04500477388501167, -0.7959357500076294, 0.11658850312232971, 0.14198759198188782, -0.06442014873027802, -0.09814602136611938, -0.22278471291065216, -0.3760184645652771, 0.3818221092224121, 0.03325006738305092, 0.3741508424282074, -0.2978341579437256, 0.3218649625778198, -0.6012936234474182, -0.23591862618923187, 0.9946455955505371, -0.592395544052124, 0.23014143109321594, 0.053425006568431854, -0.3293713629245758, -0.08353734761476517, -0.1817464828491211, 0.296207070350647, -0.0886467918753624, -0.2211073786020279, -0.3699212670326233, 0.13729391992092133, -0.3678814172744751, 0.1395913064479828, 0.596612274646759, -0.5970166921615601, 0.2693156599998474, -0.4214470088481903, 0.3823506236076355, 0.9382161498069763, -0.0771956816315651, 0.4272018074989319, -0.5960646867752075, 0.40311291813850403, -0.010614822618663311, -0.013406205922365189, 0.20014169812202454, -0.5344909429550171, -0.7052422165870667, 0.10894468426704407, 0.23715591430664062, 0.40642526745796204, -0.3976233899593353, 0.3888797163963318, -0.40820249915122986, -0.35762789845466614, -0.6212857961654663, 0.0686265230178833, 0.470654159784317, 0.5359972715377808, 0.06025242805480957, -0.06811674684286118, -0.28134238719940186, -1.1316887140274048, -0.45301663875579834, -0.6383066773414612, 0.11911415308713913, 0.27657440304756165, 0.3872601389884949, -0.03855787590146065, 0.8417955636978149, -0.41171902418136597, 0.09473112970590591, 0.024492597207427025, 0.46718695759773254, -0.048089649528265, 0.24956220388412476, 0.1902095526456833, -0.5937408804893494, -0.34857311844825745, -0.10973671078681946, -0.5513831973075867, -0.021012237295508385, -0.18652363121509552, -0.25385257601737976, 0.29580530524253845, 0.31063777208328247, -0.7466527223587036, 0.17285297811031342, 0.7153231501579285, -0.24481262266635895, 0.4354155659675598, -0.12761422991752625, 0.0664716362953186, -1.1087746620178223, -0.06993778795003891, -0.11651627719402313, -0.4227754473686218, -0.33318305015563965, 0.21905376017093658, 0.15065406262874603, 0.5579475164413452, -0.22006815671920776, 0.648420512676239, -0.38562968373298645, 0.08382531255483627, -0.2584246098995209, 0.1834249198436737, -0.055881138890981674, 0.11276544630527496, 0.11054017394781113, 0.771113395690918, 0.6894058585166931, -0.4121151268482208, 0.1577179878950119, 0.14923419058322906, -0.2979259788990021, 0.724381148815155, -0.7380843758583069, 0.03685425966978073, -0.284050852060318, 0.24488802254199982, -1.0036773681640625, -0.542367696762085, 0.1807546466588974, -0.6274948120117188, 0.49625176191329956, 0.05413246527314186, -0.38436904549598694, -0.4258357584476471, -0.1986188143491745, 0.09230698645114899, 0.4744601249694824, 0.19433949887752533, 0.4632447361946106, 0.16971172392368317, -0.31275710463523865, -0.7402443885803223, -0.9254258871078491, 0.08118933439254761, -0.19301360845565796, -0.5937805771827698, 0.06508207321166992, -0.21300764381885529, -0.5466127991676331, 0.2033209502696991, -0.42693114280700684, -0.3456096649169922, 0.23996806144714355, 0.3196987509727478, 0.2877812683582306, -0.18002164363861084, 0.32985830307006836, -0.21835532784461975, 0.10514935106039047, 0.21695688366889954, -0.4312073588371277, 0.4800756871700287, -0.3792877197265625, -0.7096500992774963, -0.42319491505622864, 0.32429003715515137, 0.657419741153717, -0.07995544373989105, 0.8275812864303589, 0.5451297163963318, -0.6935975551605225, 0.03398394212126732, -0.6664748787879944, -0.20734189450740814, -0.4502967894077301, 0.08580164611339569, -0.2433975487947464, -1.1770612001419067, 0.7094330787658691, 0.333057701587677, 0.09796342253684998, 0.7699492573738098, 0.498311847448349, -0.3946220576763153, 1.0468695163726807, 0.5398106575012207, -0.1663118600845337, -0.06365397572517395, 0.1717120110988617, 0.2217089980840683, -0.7702717781066895, -0.04038368910551071, -0.7125126123428345, -0.2855403423309326, -0.4948369860649109, -0.32792922854423523, 0.2136286497116089, 0.31607112288475037, -0.2993623614311218, 0.00833112746477127, -0.1991778314113617, 0.09999585896730423, 0.3794310688972473, -0.09641421586275101, 0.1459471732378006, -0.3196102976799011, -0.04227450489997864, -0.2689517140388489, -0.4272487163543701, -0.8668273091316223, 0.7806243896484375, 0.7012357711791992, 1.3784524202346802, 0.3053748309612274, 0.40087589621543884, -0.14080187678337097, 0.3247968852519989, -0.7530548572540283, 0.20380568504333496, 0.22678153216838837, -0.8516066074371338, -0.5198512077331543, -0.5059972405433655, -0.66604083776474, -0.28221890330314636, -0.38147464394569397, -0.8401464819908142, -0.029508640989661217, 0.2408600151538849, -0.6061834096908569, 0.35515451431274414, -0.32371804118156433, 0.48641347885131836, -0.25987640023231506, -0.4508759081363678, 0.006265153642743826, -0.8054556250572205, 0.4325530230998993, -0.25200867652893066, 0.02163897082209587, -0.22248432040214539, -0.29968175292015076, 0.5037680864334106, -0.2779340445995331, 0.9491551518440247, 0.22274209558963776, -0.4632833003997803, 0.6062865853309631, 0.32596391439437866, 0.8786441683769226, 0.2891094386577606, -0.17964741587638855, -0.048594798892736435, 0.03665350005030632, -0.31998056173324585, -0.5614004135131836, 0.5506007671356201, -0.7164792418479919, -0.8287650346755981, -0.42854055762290955, -0.7282850742340088, -0.5375136733055115, 0.10479483753442764, 0.43674206733703613, 0.23027639091014862, -0.08987248688936234, 0.19622734189033508, 0.9697514176368713, -0.009569180198013783, 0.20721590518951416, 0.4107374846935272, -0.10846201330423355, -0.20608554780483246, 0.5009244680404663, 0.16771113872528076, 0.6620844006538391, 0.5274707078933716, 0.40428078174591064, -0.5511237382888794, -0.5858727097511292, -0.39810872077941895, 0.20178787410259247, -0.5312821269035339, -0.299217164516449, -0.45814642310142517, -0.24968968331813812, -0.4231753945350647, -0.22141659259796143, -0.455493688583374, -0.3420923054218292, -0.17664554715156555, -0.26507842540740967, 0.36930036544799805, 0.9219818115234375, 0.1587008684873581, 0.44754618406295776, -0.9078012108802795, 0.1719827950000763, 0.5163581967353821, 0.5895995497703552, -0.2783898711204529, -0.7131165266036987, 0.0383753627538681, 0.5574467778205872, -0.026465628296136856, -0.9207035303115845, 0.08515400439500809, 0.1854664832353592, 0.5786780118942261, 0.5236208438873291, 0.22999045252799988, 0.7159584164619446, -0.43855053186416626, 0.905316174030304, 0.06322569400072098, -1.0597084760665894, 0.12634985148906708, -0.47034215927124023, 0.3120327293872833, 0.5551587343215942, 0.487035870552063, -0.5645158886909485, -0.9021570682525635, -0.674415647983551, -0.6106359362602234, 0.32746386528015137, 0.033189818263053894, 0.42696696519851685, -0.10696305334568024, 0.4853949546813965, 0.025570910423994064, 0.46045559644699097, -0.7967346906661987, -0.14366258680820465, 0.04425600916147232, -0.44860443472862244, 0.07609981298446655, -0.4970357418060303, -0.4906695783138275, 0.1785416454076767, 0.6185532212257385, -0.19320577383041382, 0.4451906681060791, 0.3614649772644043, 0.010545306839048862, -0.5537012219429016, 0.444718599319458, 0.6573920845985413, 0.7576774954795837, -0.10357323288917542, 0.5155730247497559, 0.11764546483755112, -0.2162337601184845, 0.15052476525306702, -0.19629813730716705, -0.08204267919063568, -0.210703507065773, 0.5102296471595764, 0.5535527467727661, -0.04992244020104408, -0.6655609607696533, 0.7215750813484192, -0.0760650709271431, -0.20793788135051727, -0.26727432012557983, -0.17149794101715088, 0.4766333997249603, 0.2114104926586151, 0.3119298219680786, -0.015462888404726982, -0.18686933815479279, -0.6165916919708252, 0.028979098424315453, 0.8484548926353455, -0.6751566529273987, -0.2965260446071625, 0.6490038633346558, -0.18620502948760986, -0.06974845379590988, 0.5218130946159363, -0.15226468443870544, -0.7127575874328613, 0.3230518102645874, 0.5299146175384521, 0.8050433993339539, -0.22200670838356018, 0.028820998966693878, 0.203877791762352, 0.681667685508728, -0.29999250173568726, 0.5241554975509644, 0.3987010419368744, -0.7858768105506897, -0.6063745021820068, -0.6776065230369568, -0.5008610486984253, -0.055103953927755356, -0.685565173625946, -0.3054346740245819, -0.48138606548309326, -0.35256674885749817, -0.3915863633155823, -0.16799771785736084, -0.409040629863739, 0.2242300659418106, 0.23446987569332123, 0.9173551797866821, -0.7854836583137512, 0.5457291603088379, 0.7049609422683716, -0.18058395385742188, -1.1231549978256226, 0.17002715170383453, -0.15843433141708374, -0.7811155319213867, 0.37769582867622375, -0.11442296206951141, -0.2557515799999237, -0.4303315579891205, -0.9355418086051941, -1.155846118927002, 0.8098540306091309, 0.427803099155426, -0.5812183022499084, 0.012141299434006214, 0.4439205527305603, 0.6805931925773621, -0.20765572786331177, 0.009109433740377426, -0.004339889623224735, 0.7567180395126343, 0.20332181453704834, -0.9562951326370239, -0.027272719889879227, 0.0795019268989563, -0.10055264830589294, 0.18808063864707947, -0.6481688618659973, 1.0035181045532227, -0.12047978490591049, -0.4103389382362366, 0.373928964138031, 0.7979986071586609, 0.0009349235915578902, 0.05530161410570145, 0.21714307367801666, 0.6358200907707214, 0.9836753010749817, -0.4428831934928894, 1.104354739189148, -0.42317020893096924, 0.12679743766784668, 1.1345117092132568, -0.4310888350009918, 1.068844199180603, 0.5852795243263245, -0.11253070086240768, 0.30232569575309753, 0.6544553637504578, 0.4402448534965515, 0.053833846002817154, 0.30768486857414246, -0.1782582849264145, -0.7188754081726074, -0.24292431771755219, -0.22484366595745087, 0.16916923224925995, 0.60667484998703, -0.1673341989517212, 0.14317715167999268, -0.518342912197113, 0.06401477009057999, 0.20504483580589294, -0.30539169907569885, 0.6087329983711243, 0.35854125022888184, -0.7788609862327576, 0.3830084204673767, 0.08194153010845184, 0.6188607811927795, -0.8002689480781555, 0.24369731545448303, -0.04165932908654213, 0.029354028403759003, -0.03558347746729851, -1.2683762311935425, 0.40254315733909607, -0.2912672162055969, -0.07082261145114899, -0.14251385629177094, 0.5076178312301636, -0.518667995929718, -0.5029265284538269, -0.06275530159473419, 0.5905176401138306, -0.1590557098388672, 0.0070206038653850555, -0.5495444536209106, 0.06564702838659286, -0.2874249219894409, -0.23842115700244904, 0.006329395808279514, 0.5706835985183716, -0.20098108053207397, 0.9710608720779419, 0.4007878303527832, 0.27824482321739197, 0.39838075637817383, -0.3071730136871338, 0.523851752281189, -0.24641969799995422, -0.1539408266544342, -0.7670271396636963, 0.37593263387680054, -0.0570998415350914, -0.3384025990962982, 0.8006057739257812, 0.2812774181365967, 0.5837101936340332, 0.1941079944372177, 0.7673050761222839, 0.18044176697731018, 0.3978610932826996, -0.5218331813812256, 0.4364294707775116, -0.39589419960975647, 0.11571382731199265, -0.22590799629688263, -0.8549817800521851, -0.09921267628669739, 0.5796661376953125, -0.2726830542087555, -0.06192398816347122, 0.7087002992630005, 0.601742684841156, 0.10123151540756226, -0.18057702481746674, 0.34421655535697937, 0.46559372544288635, -0.043023452162742615, 0.5772577524185181, 1.1657072305679321, -0.34839317202568054, 0.42350611090660095, -0.06023078039288521, 0.14606915414333344, 0.11969640851020813, -0.9149354100227356, -0.35996586084365845, -0.46534377336502075, -0.32601118087768555, -0.3535397946834564, 0.0540190115571022, 0.6968491673469543, 0.4786039888858795, -0.4643254578113556, -0.2090449035167694, -0.05911748483777046, 0.15904182195663452, -0.06930132955312729, -0.1505390703678131, 0.13224373757839203, -0.2263854742050171, -0.747399628162384, 0.05969702824950218, 0.24845537543296814, 0.4255851209163666, -0.45258474349975586, -0.14793935418128967, -0.16320092976093292, 0.6427963376045227, 0.13846296072006226, 0.02165708877146244, -0.8001970052719116, -0.8437346816062927, 0.29299190640449524, -0.6557110548019409, -0.1670801043510437, 0.4281906187534332, -0.2608362138271332, 0.1885683834552765, 0.45902007818222046, 0.763988733291626, 0.006447502877563238, 0.19792583584785461, 0.7968510389328003, -0.7377628087997437, -0.27022913098335266, 0.429008424282074, 0.5151912569999695, 0.395691454410553, -0.3843946158885956, 0.13400748372077942, -0.09121054410934448, -0.6119597554206848, -0.5660967826843262, 0.4638174772262573, -0.9325259923934937, -0.2888162136077881, 1.3750056028366089, -0.22073490917682648, -0.3115119934082031, -0.038401294499635696, 0.0285946037620306, 0.06533414125442505, -0.27835920453071594, 0.5948888063430786, 1.2814257144927979, 0.1775892674922943, 0.03141838312149048, -0.4169365465641022, 0.27035024762153625, 0.4908246099948883, -0.6002912521362305, 0.3288296163082123, 0.5064812898635864, 0.2682001292705536, 0.22871443629264832, 0.3727506101131439, 0.0172383151948452, -0.026541370898485184, -0.03592711687088013, -0.11329015344381332, 0.38697686791419983, -0.13104470074176788, -0.2816590964794159, 0.02551584504544735, 0.6985067129135132, 0.13871124386787415 ]
http://arxiv.org/abs/2405.16884v2
http://arxiv.org/pdf/2405.16884v2
Match, Compare, or Select? An Investigation of Large Language Models for Entity Matching
2024-05-27T07:05:27
2024-06-23T13:42:02
Tianshu Wang, Xiaoyang Chen, Hongyu Lin, Xuanang Chen, Xianpei Han, Hao Wang, Zhenyu Zeng, Le Sun
cs.CL
cs.CL, cs.DB
Entity matching (EM) is a critical step in entity resolution (ER). Recently, entity matching based on large language models (LLMs) has shown great promise. However, current LLM-based entity matching approaches typically follow a binary matching paradigm that ignores the global consistency between record relationships. In this paper, we investigate various methodologies for LLM-based entity matching that incorporate record interactions from different perspectives. Specifically, we comprehensively compare three representative strategies: matching, comparing, and selecting, and analyze their respective advantages and challenges in diverse scenarios. Based on our findings, we further design a compound entity matching framework (ComEM) that leverages the composition of multiple strategies and LLMs. ComEM benefits from the advantages of different sides and achieves improvements in both effectiveness and efficiency. Experimental results on 8 ER datasets and 9 LLMs verify the superiority of incorporating record interactions through the selecting strategy, as well as the further cost-effectiveness brought by ComEM.
[ -0.39274853467941284, -0.5722212195396423, 0.7549867033958435, 0.33424314856529236, -0.13300688564777374, 0.2908550202846527, -0.5455220937728882, -0.8976280689239502, 0.19324548542499542, 0.7614827752113342, -0.2191232442855835, -0.4952632188796997, -0.0905400887131691, 0.41541069746017456, -0.2273547202348709, 0.7793392539024353, -0.42195022106170654, 0.1909433752298355, -0.19096919894218445, -0.25106552243232727, -0.5687679052352905, -0.5919108390808105, -0.9470481872558594, -0.46394482254981995, 0.5573247671127319, 0.19064919650554657, 0.569807767868042, 0.8228818774223328, 0.9787144064903259, 0.32903239130973816, 0.009450617246329784, 0.3612481653690338, -0.4072011411190033, 0.454267293214798, -0.35495254397392273, -0.5450415015220642, -0.3026599884033203, -0.09799451380968094, 0.588183581829071, 0.779198944568634, -0.26183250546455383, -0.11106114089488983, -0.35982993245124817, 0.5455728769302368, -0.7067734003067017, -0.053602855652570724, -0.8852326273918152, 0.16271106898784637, -0.30048802495002747, -0.12093135714530945, -0.6148041486740112, -0.2323441207408905, 0.2710142135620117, -0.5099532008171082, 0.3029804229736328, 0.56509929895401, 0.8365222215652466, -0.07650451362133026, -0.4990919530391693, -0.5736432671546936, -1.0881503820419312, 0.7297948002815247, -0.6713567972183228, 0.7094653248786926, -0.1389988362789154, 0.26317888498306274, -0.20382855832576752, -0.4276312291622162, -0.5711623430252075, -0.24242058396339417, -0.24704527854919434, 0.02670406363904476, 0.07404215633869171, 0.23537284135818481, 0.3636587858200073, 0.7219914793968201, -0.5114238262176514, 0.40367642045021057, -0.003023920115083456, -0.08717532455921173, 0.4314773976802826, -0.012917760759592056, 0.5179346203804016, 0.1853986531496048, -0.8324979543685913, -0.18597181141376495, -1.1145282983779907, -0.4348398745059967, 0.3434843122959137, 0.6153886914253235, 0.10302995145320892, 0.6761083006858826, 0.011366339400410652, 0.9440717101097107, 0.13737283647060394, -0.3416767418384552, -0.03799978271126747, -0.416006863117218, -0.4237992465496063, 0.22677387297153473, 0.7387270331382751, 0.5982144474983215, 0.08215043693780899, -0.5571669340133667, -0.5428880453109741, 0.04820705205202103, -0.11413080990314484, -0.5377655625343323, 0.06243668869137764, 0.06524907797574997, -0.5304912328720093, 0.14183270931243896, -0.11663640290498734, -0.7749831676483154, -0.24274234473705292, -0.7947033047676086, 0.5211829543113708, -0.274349570274353, -0.24168960750102997, -0.056110892444849014, 0.0011934484355151653, 0.5152644515037537, 0.3609604835510254, -0.8991681933403015, 0.6430162787437439, 0.9783972501754761, 0.8927163481712341, -0.5513411164283752, 0.04419498145580292, -0.7244769334793091, 0.3391726016998291, -0.5960374474525452, 0.9471166729927063, -0.5983803868293762, -0.43140462040901184, 0.1692814975976944, -0.3020956814289093, -0.08879248052835464, -1.1454721689224243, 0.6035218834877014, -0.8015616536140442, 0.12835276126861572, -0.45757612586021423, -0.6327103972434998, -0.10710454732179642, 0.20257185399532318, -1.034456729888916, 0.8350903987884521, -0.01388963870704174, -0.4682042896747589, 0.7513121366500854, -0.30798205733299255, -0.31029701232910156, 0.09112047404050827, -0.49506303668022156, -0.2717019319534302, -0.09718434512615204, -0.08728209882974625, 0.3373437523841858, -0.4867609441280365, 0.12105651944875717, -0.4665558338165283, -0.2428303211927414, 0.21210187673568726, 0.0009693285683169961, 0.3175576627254486, 0.28990408778190613, -0.06755785644054413, 0.06998658925294876, -0.6998112797737122, -0.19873076677322388, -0.033881597220897675, -0.6025379300117493, -0.5705255270004272, 0.13237853348255157, -0.060890693217515945, 0.1894470602273941, 0.020695911720395088, -0.3815588057041168, 0.027640005573630333, -0.26493582129478455, 0.34489935636520386, 0.4968146085739136, 0.022658510133624077, 0.5946993231773376, -0.6313828825950623, 0.2651420533657074, 0.2560974657535553, -0.4513067305088043, -0.01684827171266079, 0.09962046146392822, -0.7153509855270386, -0.541867733001709, 0.5887832045555115, 0.5367377996444702, -0.5568593740463257, 0.197834774851799, -0.40107426047325134, -0.27561497688293457, -0.5034217834472656, 0.13894902169704437, 0.4493040144443512, 0.406887024641037, 0.4822254478931427, -0.3556356430053711, -0.6567721962928772, -0.9154216051101685, -0.371074378490448, -0.2890298068523407, -0.06768222898244858, 0.6099660396575928, 0.16745266318321228, 0.3825324475765228, 0.7957849502563477, -0.09083205461502075, -0.4467828869819641, 0.01327295321971178, -0.4870354235172272, 0.24195590615272522, 0.3283877670764923, 0.768658459186554, -0.841752290725708, -0.650897204875946, 0.3396018445491791, -0.7347081899642944, 0.11231231689453125, -0.21980173885822296, -0.31851479411125183, 0.4043877422809601, 0.40227973461151123, -0.6263116598129272, -0.08691900223493576, 0.34928128123283386, -0.025345230475068092, 0.03991348668932915, -0.14898060262203217, 0.6040220260620117, -0.9002874493598938, -0.2867189049720764, 0.35560551285743713, -0.41528722643852234, -0.6866273283958435, 0.3666122555732727, -0.015567810274660587, -0.04531964659690857, -0.6168645620346069, 0.432209312915802, -0.9063963294029236, -0.3807917833328247, 0.08949752897024155, 0.6231176853179932, -0.10588781535625458, 0.1398283988237381, 0.2100820541381836, 0.9228402972221375, 0.4880702793598175, -0.6560717821121216, 0.6001770496368408, 0.2402847707271576, -0.16709843277931213, 1.0471789836883545, -0.5516661405563354, 0.42821308970451355, -0.029330821707844734, 0.19039294123649597, -0.6874582171440125, -0.13942134380340576, 0.23664571344852448, -0.0467950776219368, 0.8879216313362122, -0.20418652892112732, -0.5852751731872559, -0.048114653676748276, -0.40595561265945435, 0.23031766712665558, 0.2127058357000351, -0.8332597017288208, 1.1317025423049927, 0.20365986227989197, -0.23874951899051666, -0.5543850064277649, -0.679938793182373, 0.3200399577617645, -0.7131835222244263, -0.5768550038337708, 0.8386147618293762, -0.09196145832538605, -0.6612249612808228, 0.08827727288007736, -0.37580516934394836, 0.028294967487454414, -0.08201050758361816, -0.2003614604473114, 0.4379124045372009, -0.4741934835910797, -0.08798721432685852, -0.14271153509616852, 0.10960447043180466, -0.23341237008571625, -0.1380259245634079, 0.31317150592803955, 0.20283496379852295, -0.3264298439025879, 0.06342119723558426, 0.6987274885177612, 0.2861635088920593, -0.27482831478118896, 0.7902095913887024, -0.2565280795097351, -0.4996245205402374, -0.13663944602012634, -0.9637699127197266, 0.025091949850320816, -0.42717623710632324, 0.17392008006572723, -0.7651710510253906, -0.7795767784118652, 0.6222203373908997, -0.04853824898600578, 0.34405598044395447, 0.03316734358668327, 0.6420817971229553, 0.14554032683372498, 0.43957778811454773, 0.25486692786216736, -0.22353605926036835, 0.29457858204841614, 0.2872415781021118, 0.4636530578136444, -0.9336405992507935, -0.2851213216781616, -0.9568461775779724, -0.16955626010894775, -0.760865330696106, -0.2837481200695038, -0.06252290308475494, 0.24836646020412445, -0.165693998336792, 0.6692805290222168, -0.3189666271209717, 0.4254642128944397, 0.367969810962677, 0.02138402685523033, 0.803264856338501, -0.130635067820549, 0.056835610419511795, -0.1780247837305069, -0.416456013917923, -0.6348713636398315, 1.0300449132919312, 0.12139514088630676, 0.7323731780052185, 0.7293712496757507, 0.7788125872612, -0.13654428720474243, 0.5769529938697815, -0.6814725399017334, 0.7923275232315063, -0.20949435234069824, -0.5641326308250427, -0.07152858376502991, -0.6424108743667603, -1.0166467428207397, 0.5120408535003662, -0.5984346866607666, -0.6761540770530701, 0.16267913579940796, 0.01899525709450245, -0.17435480654239655, 0.39410364627838135, -0.7608453631401062, 0.417591392993927, -0.26635828614234924, -0.14611390233039856, 0.1693570911884308, -0.29078197479248047, 0.23298199474811554, -0.33624306321144104, 0.08065629750490189, -0.07612874358892441, -0.28520989418029785, 0.517300009727478, -0.03456668555736542, 0.015228033065795898, 0.3438367545604706, -0.4317975342273712, 0.03399323672056198, 0.2216198444366455, 0.46224793791770935, -0.038001760840415955, -0.23908673226833344, 0.005109773483127356, -0.03231219947338104, -0.02807832695543766, -0.5943868160247803, 1.183707594871521, -0.5118196606636047, -0.7520111203193665, -0.32444310188293457, -0.3060435950756073, -0.1674986481666565, 0.3330863118171692, -0.07746231555938721, 0.22275196015834808, -0.27346211671829224, 0.14837293326854706, 0.7908979654312134, 0.0014854836044833064, 0.5664386749267578, 0.8382882475852966, -0.4144728481769562, -0.2858388125896454, 0.7269876599311829, 0.10576372593641281, 0.4394668638706207, 0.6926734447479248, -0.49581003189086914, -0.452955037355423, -0.4568832516670227, -0.29115644097328186, 0.434772253036499, -0.6399682760238647, -0.40647462010383606, -0.4922923743724823, 0.05879516899585724, -0.2736242115497589, 0.23300151526927948, -0.1448799967765808, 0.2775316834449768, -0.1687997728586197, -0.06613829731941223, 0.15399205684661865, 0.29977455735206604, 0.05284144729375839, -0.21384821832180023, -0.6181163191795349, 0.41289329528808594, 0.22655251622200012, 0.5304970145225525, -0.1807870864868164, -0.02925761230289936, 0.29030540585517883, -0.306585431098938, -0.17142926156520844, -1.1304314136505127, -0.18294402956962585, 0.24546198546886444, 0.6939857006072998, 0.1691591441631317, 0.02555348537862301, 0.6142919063568115, -0.7441372871398926, 0.3732106685638428, 0.16561144590377808, -0.7673365473747253, 0.27429747581481934, -0.12948095798492432, -0.6462175250053406, 0.49912819266319275, 0.49255385994911194, -0.5262340307235718, -0.25458839535713196, -0.28176793456077576, -0.8677703738212585, 0.5139437913894653, 0.3321612477302551, -0.08394254744052887, -0.2575826346874237, 0.503851056098938, -0.15535858273506165, 0.27396199107170105, -0.6501492261886597, -0.3580706715583801, 0.7288603782653809, -0.3405144512653351, 0.08146847039461136, 0.15308386087417603, -0.20300963521003723, 0.4854663014411926, 0.528531551361084, 0.17613765597343445, 0.19601911306381226, 0.24499721825122833, -0.1640608012676239, -0.23352235555648804, 0.25437384843826294, 0.220554918050766, 0.7310864925384521, -0.018066847696900368, 0.0691741332411766, 0.16266708076000214, 0.05146363377571106, 0.23449985682964325, 0.26348876953125, -0.31041646003723145, 0.23866812884807587, 0.5020974278450012, 0.8087700605392456, 0.29165178537368774, -0.6246973872184753, 0.15853454172611237, -0.014128233306109905, -0.20470204949378967, -0.175166517496109, 0.31424838304519653, 0.21328450739383698, 0.3969467282295227, 0.16478806734085083, -0.35362744331359863, 0.10421706736087799, -0.8215075135231018, -0.016552386805415154, 0.6914299130439758, -0.014637798070907593, 0.12563134729862213, 0.6391258239746094, 0.1075325757265091, -0.7865128517150879, 0.4914814829826355, 0.1024446114897728, -0.2988555431365967, 0.4890609383583069, 0.5145744681358337, 0.26596421003341675, -0.2265426069498062, -0.14313571155071259, 0.05791005864739418, 0.0556875504553318, -0.316691130399704, 0.09985077381134033, 0.1337708681821823, -0.9493288397789001, -0.8333327770233154, -0.22398915886878967, -0.5485586524009705, 0.2774750590324402, -0.7941575646400452, 0.3977988064289093, -0.17044079303741455, -0.14201226830482483, 0.2858230173587799, 0.2783624231815338, -0.8652397394180298, -0.02009516954421997, -0.005561648868024349, 0.8941331505775452, -0.6230304837226868, 0.2612905204296112, 0.8925933241844177, -0.5781976580619812, -0.8759103417396545, 0.04596000537276268, -0.04510878026485443, -0.3374575674533844, 0.46073874831199646, -0.008093520067632198, 0.19241318106651306, 0.05694763734936714, -0.10838830471038818, -0.612282395362854, 0.9780936241149902, 0.5141675472259521, -0.9122950434684753, -0.10231935977935791, -0.13118420541286469, 0.4814164340496063, -0.49051105976104736, 0.2897976338863373, 0.9722378849983215, 0.25614097714424133, -0.013918437063694, -0.9784746170043945, 0.15928438305854797, 0.4306167960166931, 0.30066773295402527, 0.6437466144561768, -0.7375481128692627, 0.5214740633964539, 0.031095610931515694, -0.5231664776802063, 0.22192086279392242, 0.8736734986305237, 0.5878374576568604, 0.27117806673049927, 0.7248865365982056, 0.6578386425971985, 0.6365579962730408, -0.1374436765909195, 0.6179983615875244, -0.3043849766254425, 0.5608165860176086, 1.2454750537872314, -1.0889514684677124, 0.9297028183937073, 0.5760762095451355, -0.7192967534065247, 0.2121020257472992, 0.7806243896484375, -0.022305570542812347, 0.3638418912887573, 0.4069432020187378, -0.5471593141555786, -0.31085702776908875, -0.13742974400520325, -0.38732805848121643, 0.008875122293829918, 0.04000229388475418, -0.12703710794448853, -0.4067559838294983, -0.2477845996618271, -0.09531152248382568, 0.42137065529823303, -0.13762933015823364, 0.9596470594406128, 0.13480806350708008, -0.7365052700042725, -0.11879359930753708, 0.022976670414209366, 0.5443816184997559, -0.103001169860363, -0.32695472240448, -0.3815200924873352, 0.04195260629057884, -0.034718457609415054, -0.6931572556495667, 0.04353863745927811, -0.17519186437129974, -0.3112141489982605, -0.010617290623486042, 0.7022473216056824, -0.7791166305541992, -0.04986566677689552, 0.7711279392242432, 0.4873958230018616, 0.028386013582348824, 0.22703208029270172, -0.5160789489746094, 0.21255230903625488, -0.36207523941993713, 0.004912562668323517, 0.520966112613678, 0.673829197883606, -0.09257124364376068, 0.615367591381073, 0.7525489330291748, 0.37404197454452515, -0.22488537430763245, 0.064927838742733, 0.6589879989624023, -0.4693853557109833, -0.09079015254974365, -0.8306429982185364, -0.0757158175110817, -0.1304687112569809, 0.01661927066743374, 0.4297425448894501, 0.8264381289482117, 1.13758385181427, 0.14341212809085846, 0.43598002195358276, 0.09156103432178497, 0.8414398431777954, -0.8069944977760315, -0.0714755654335022, -0.3037719130516052, 0.6102414727210999, -0.24031095206737518, -1.4881620407104492, -0.239485502243042, 0.596156895160675, -0.03213893994688988, 0.3087410032749176, 0.6497316360473633, 0.8363722562789917, -0.18659788370132446, -0.31577861309051514, 0.19150859117507935, 0.09457129240036011, 0.4259136915206909, 0.732253909111023, 0.6601464748382568, -0.2663927972316742, 0.4451829195022583, 0.10859479010105133, -0.12731614708900452, -0.13876311480998993, -0.975040853023529, -0.813830554485321, -0.3209891617298126, -0.4744236171245575, -0.5724497437477112, 0.15125423669815063, 1.2839741706848145, 0.43261194229125977, -0.6505759954452515, -0.0915055125951767, 0.2253580540418625, 0.2614879012107849, 0.0017936767544597387, -0.1817958801984787, 0.16881169378757477, -0.18219664692878723, -0.9583966135978699, 0.4456782937049866, 0.4404553174972534, 0.1278042048215866, -0.11424998939037323, 0.07177623361349106, -0.17686770856380463, 0.07129284739494324, 0.3564894199371338, 0.28909292817115784, -0.7420244812965393, -0.37350383400917053, 0.15236879885196686, -0.1630861461162567, 0.25979819893836975, 1.072970986366272, -0.4509230852127075, 0.24774186313152313, 0.33762553334236145, 0.8919547200202942, 0.4067399799823761, 0.07304315268993378, 0.6046104431152344, -0.42759907245635986, -0.06711839884519577, 0.09493375569581985, 0.3722671866416931, 0.5654234290122986, -0.39627164602279663, 0.7413971424102783, -0.029709067195653915, -0.5332325100898743, -0.8435433506965637, 0.3191837966442108, -1.074029564857483, 0.04253501817584038, 1.109612226486206, -0.3836738169193268, 0.07962681353092194, -0.0684220939874649, -0.08957449346780777, 0.2185923308134079, -0.2034623920917511, 0.2893311679363251, 0.9521715044975281, 0.0010495773749426007, -0.08344558626413345, -0.4977744221687317, 0.2318308800458908, 0.1910925805568695, -0.7484403848648071, -0.37248075008392334, 0.4664612412452698, 0.2620767056941986, 0.1200401782989502, 0.5612069368362427, -0.10501539707183838, -0.10716483741998672, -0.5499817728996277, -0.18755477666854858, 0.41806018352508545, -0.28514614701271057, -0.1358397752046585, -0.13309887051582336, 0.23086415231227875, -0.0205791387706995 ]
http://arxiv.org/abs/2405.16869v1
http://arxiv.org/pdf/2405.16869v1
Mixture of Modality Knowledge Experts for Robust Multi-modal Knowledge Graph Completion
2024-05-27T06:36:17
2024-05-27T06:36:17
Yichi Zhang, Zhuo Chen, Lingbing Guo, Yajing Xu, Binbin Hu, Ziqi Liu, Wen Zhang, Huajun Chen
cs.AI
cs.AI, cs.CL
Multi-modal knowledge graph completion (MMKGC) aims to automatically discover new knowledge triples in the given multi-modal knowledge graphs (MMKGs), which is achieved by collaborative modeling the structural information concealed in massive triples and the multi-modal features of the entities. Existing methods tend to focus on crafting elegant entity-wise multi-modal fusion strategies, yet they overlook the utilization of multi-perspective features concealed within the modalities under diverse relational contexts. To address this issue, we introduce a novel MMKGC framework with Mixture of Modality Knowledge experts (MoMoK for short) to learn adaptive multi-modal embedding under intricate relational contexts. We design relation-guided modality knowledge experts to acquire relation-aware modality embeddings and integrate the predictions from multi-modalities to achieve comprehensive decisions. Additionally, we disentangle the experts by minimizing their mutual information. Experiments on four public MMKG benchmarks demonstrate the outstanding performance of MoMoK under complex scenarios.
[ -0.5866791605949402, -0.7690421342849731, 0.5528373122215271, -0.18695203959941864, -0.3280578553676605, 0.6399133205413818, -0.13601233065128326, -0.44000044465065, 0.24858762323856354, 0.11442595720291138, -0.5132973790168762, -0.5448930263519287, -0.24785886704921722, 0.025098398327827454, 0.5599861741065979, 0.5471575260162354, 0.05726014822721481, 0.04411432147026062, -0.24496054649353027, -0.28007006645202637, -0.5960700511932373, -0.03521554917097092, -0.18906284868717194, -0.3802177906036377, 0.4467566907405853, 0.3812987506389618, 0.6936410069465637, 0.39142149686813354, -0.17903326451778412, 0.27832961082458496, 0.027504345402121544, 0.9243414402008057, -0.3741239607334137, 0.2147241085767746, 0.05998823419213295, -0.13479025661945343, -0.7417147159576416, -0.04771099239587784, 0.30824610590934753, 0.8614507913589478, -0.15657272934913635, -0.15458944439888, 0.04222556948661804, 0.4856407940387726, -0.7107965350151062, 0.5341140031814575, -0.6550766229629517, 0.09715314209461212, 0.11874712258577347, -0.23740768432617188, -0.5010000467300415, 0.07549673318862915, 0.20886820554733276, -0.9442723393440247, -0.2047315239906311, 0.3659360110759735, 0.20809829235076904, 0.32776927947998047, -1.0866360664367676, -0.005083405878394842, -0.4518376588821411, 0.6536064743995667, -0.44088947772979736, 0.7750555276870728, 0.44372686743736267, 0.4421829283237457, -0.33293211460113525, -0.1699804663658142, -0.3035919964313507, -0.13579891622066498, -0.279937744140625, 0.32695406675338745, 0.22387781739234924, 0.25757861137390137, -0.06527803838253021, 0.2764642834663391, -0.38182583451271057, -0.2736454904079437, 0.02325516566634178, -0.45698606967926025, 0.28391680121421814, 0.16021299362182617, -0.0875902995467186, -0.6796941757202148, -0.6422252655029297, 0.27722927927970886, -0.4123426675796509, 0.028624381870031357, 0.2301349639892578, 0.1989331841468811, -0.12881265580654144, 0.3058735430240631, -0.37121379375457764, 1.0006542205810547, 0.4287532866001129, -0.7496057748794556, 0.3753589987754822, -0.652273952960968, -0.16107453405857086, -0.15686313807964325, 0.7466796040534973, 0.28233015537261963, -0.30824190378189087, -0.471116840839386, 0.0197504423558712, -0.448547899723053, 0.031045563519001007, -0.25413137674331665, -0.44507884979248047, -0.019069530069828033, -0.4062515199184418, -0.3899868130683899, -0.11232232302427292, -0.6136960983276367, -0.583369255065918, -0.4228731691837311, 0.4377952516078949, -0.5940194129943848, -0.7123977541923523, -0.18790359795093536, -0.12940530478954315, -0.22803448140621185, 0.4850192964076996, -0.5296861529350281, -0.19847391545772552, 0.45008769631385803, 0.5672512650489807, 0.28515681624412537, -0.34903207421302795, -0.29181939363479614, 0.8298748135566711, -0.028526905924081802, 0.6102625131607056, -0.5801513195037842, -0.31706690788269043, -0.42673176527023315, -0.2520807683467865, -0.33809080719947815, -0.2358718067407608, 0.2878415286540985, -0.6898651719093323, 0.18576259911060333, -0.5400316715240479, -0.42865654826164246, -0.5042865872383118, 0.5927518010139465, -0.7196101546287537, 0.7763311862945557, 0.3928610682487488, -0.8737764358520508, 0.8342656493186951, -0.4014723300933838, -0.367557168006897, -0.040718115866184235, -0.434110164642334, -0.147480770945549, -0.0280760508030653, 0.2923009693622589, 0.6726307272911072, -0.0936371311545372, 0.1744391769170761, -0.5808013081550598, 0.07599178701639175, 0.1581086814403534, -0.09902314841747284, 0.521506130695343, 0.2352006435394287, 0.0016496378229930997, 0.26764464378356934, -0.9731493592262268, -0.1471381038427353, -0.3451886773109436, -0.5594437122344971, -0.5549362897872925, -0.04990360513329506, -0.06914769858121872, 0.4820483922958374, 0.13024351000785828, -0.23348183929920197, 0.2694481909275055, -0.003669430036097765, 0.40053823590278625, 0.8758068680763245, 0.20690590143203735, 0.6042959094047546, -0.4400152266025543, 0.39864441752433777, 0.3462795615196228, 0.21059206128120422, -0.08140477538108826, -0.6366892457008362, -0.3028990626335144, -0.6173477172851562, 0.21206456422805786, 0.1288892775774002, -1.306552529335022, 0.5754989385604858, -0.2525348663330078, -0.356648713350296, -0.25093910098075867, 0.3811090290546417, 0.21947860717773438, 0.8437694311141968, 0.2722872495651245, -0.1800181120634079, -0.2985726296901703, -0.8200647234916687, -0.15822650492191315, -0.1636020988225937, -0.07911305874586105, 0.6867163777351379, 0.25040775537490845, -0.28507593274116516, 0.8983532190322876, -0.3510238230228424, -0.3302338123321533, -0.03688790649175644, 0.19792355597019196, -0.16937677562236786, 0.34182658791542053, 0.569912314414978, -1.0146002769470215, -0.4983595907688141, 0.2176830768585205, -0.7801397442817688, 0.3748054504394531, -0.13306446373462677, -0.15886171162128448, -0.11011305451393127, 0.2702277898788452, -0.5617345571517944, -0.18366296589374542, 0.3734080493450165, -0.4556102156639099, 0.48245885968208313, 0.0562700517475605, 0.4747232496738434, -1.5020146369934082, -0.06193571165204048, -0.17607785761356354, -0.619350254535675, -0.37607628107070923, 0.09689594060182571, 0.1842193454504013, 0.031618524342775345, -0.062234003096818924, 0.2070854902267456, -0.6673270463943481, 0.2292458564043045, 0.17489351332187653, 0.03766874969005585, -0.0356704518198967, 0.7754270434379578, -0.3907514214515686, 0.297218918800354, 0.49780696630477905, -0.5089100003242493, 0.2774958610534668, 0.27242302894592285, -0.09297824651002884, 0.8058264851570129, 0.00580237852409482, 0.1025761216878891, 0.10612248629331589, 0.26323747634887695, -0.9930567741394043, -0.6280704140663147, 0.41841575503349304, -0.40873774886131287, 0.48263025283813477, -0.6409010887145996, -0.42850565910339355, -0.16322924196720123, -0.2926988899707794, 0.5601680874824524, 0.10490473359823227, -0.1960441768169403, 1.2800195217132568, 0.4467773139476776, 0.27807196974754333, -0.713370144367218, -0.5184599757194519, -0.08204204589128494, -0.011342728510499, -0.8382114768028259, 0.2646499276161194, -0.14344747364521027, 0.12720489501953125, 0.1476764678955078, -0.35900354385375977, -0.18445277214050293, 0.13349252939224243, 0.3338564932346344, 0.0034508570097386837, -0.14723291993141174, 0.2639729678630829, 0.2901853024959564, -0.15218250453472137, -0.17797628045082092, -0.19025693833827972, 0.3338748514652252, -0.08852129429578781, -0.6300559639930725, -0.09375523775815964, 0.4092106819152832, 0.920116126537323, -0.2045648992061615, 0.7533046007156372, 0.908916175365448, -0.4334593117237091, 0.0672042965888977, -0.7873290181159973, -0.1610763520002365, -0.5023863315582275, 0.2815665304660797, -0.5657433271408081, -0.9944238662719727, 0.6619159579277039, -0.22922617197036743, -0.1119714304804802, 0.03148203343153, 0.4747147858142853, 0.1914023905992508, 1.0922538042068481, 0.6121810078620911, -0.04302443563938141, 0.40339395403862, -0.2319294810295105, 0.3321678042411804, -0.7884316444396973, -0.5706844925880432, 0.1650848090648651, -0.31129229068756104, -0.2968803644180298, -0.4845474362373352, 0.7399284243583679, 0.3176089823246002, -0.0449671596288681, 0.05151310935616493, -0.3451923429965973, 0.424198180437088, 0.374022513628006, 0.6691666841506958, 0.6769643425941467, -0.07746110111474991, -0.43229448795318604, 0.017682421952486038, -0.8883638381958008, 0.10348021984100342, 1.0562084913253784, 0.04559939727187157, 0.7439083456993103, 0.19663958251476288, 0.5300630927085876, 0.17383141815662384, 0.058764372020959854, -0.9788858890533447, 0.3244090676307678, 0.4180280566215515, -0.44687792658805847, 0.10426535457372665, -0.7054029107093811, -0.45307138562202454, 0.34227249026298523, -0.5747208595275879, -0.3024090826511383, 0.33466169238090515, 0.2311171442270279, -0.5195246338844299, 0.3631027936935425, -0.6687899231910706, 0.7454140782356262, 0.13505710661411285, -0.23371635377407074, -0.4819696843624115, -0.8014228343963623, 0.6426833271980286, -0.08978549391031265, 0.4864138662815094, -0.08632322400808334, -0.15203702449798584, 0.4778655767440796, -0.14337322115898132, 0.7078108787536621, -0.2649901509284973, 0.31433308124542236, 0.10807112604379654, 0.3443198800086975, 0.29121133685112, 0.25875124335289, 0.1425158977508545, -0.24577336013317108, -0.2810901999473572, -0.4438744783401489, -0.4607361853122711, 0.7252538800239563, -0.8372814059257507, -0.2814090847969055, 0.07022818922996521, -0.8440672755241394, -0.7306883335113525, 0.3991190791130066, -0.06770551204681396, 0.6014732718467712, 0.0679563358426094, 0.3658912777900696, 0.5529290437698364, 0.2349052131175995, 0.28184738755226135, 0.34777823090553284, 0.17587924003601074, -0.8618971705436707, 0.7568635940551758, 0.0732942596077919, 0.292296826839447, 0.2802199125289917, 0.27986711263656616, -0.14049607515335083, -0.4024049937725067, -0.6092017889022827, 0.07211384922266006, -0.709322988986969, -0.4468700587749481, -0.8522029519081116, 0.2161165028810501, -0.25616654753685, -0.2547627091407776, -0.3168703615665436, -0.3752989172935486, -0.17007772624492645, -0.12099214643239975, 0.3958069980144501, 0.5682678818702698, -0.04115196317434311, 0.13079430162906647, -0.7919648289680481, 0.2840026617050171, 0.7843720316886902, 0.31781449913978577, 0.258457213640213, 0.04975700378417969, -0.430194228887558, 0.12382649630308151, -0.42748087644577026, -0.987332284450531, -0.10517804324626923, 0.15004844963550568, 0.7702978849411011, 0.6515190005302429, 0.18112246692180634, 0.6565787196159363, -0.03816135600209236, 0.5539942383766174, 0.4221387207508087, -0.7096187472343445, 0.19466394186019897, -0.9143694043159485, 0.03289654105901718, 0.5944908857345581, 0.4350161552429199, -0.3347964882850647, -0.27531665563583374, -0.45438966155052185, -0.7087293267250061, 0.48251664638519287, -0.0710170716047287, -0.350627601146698, 0.28968319296836853, 0.2227817326784134, 0.3282387852668762, 0.6523892879486084, -0.6087743639945984, -0.200031116604805, -0.3674764931201935, -0.3586752414703369, 0.3863953948020935, -0.11815953254699707, -0.58073890209198, -0.39191746711730957, 0.3424270749092102, -0.49756330251693726, 0.16879290342330933, -0.001117769512347877, -0.4030238687992096, -0.35585615038871765, 0.19636259973049164, 0.491058886051178, 1.05503249168396, -0.2378365695476532, 0.2271617203950882, 0.018675949424505234, -0.187993586063385, 0.1472475677728653, 0.16126303374767303, 0.08059021830558777, -0.3284182548522949, 0.3252880275249481, 0.4021701216697693, 0.6494799852371216, -0.26148727536201477, 0.4958375096321106, 0.1167946308851242, -0.1245175451040268, 0.01683760993182659, -0.017704378813505173, 0.2220420390367508, 0.4229774475097656, 0.4589376151561737, 0.7355738878250122, 0.04374983161687851, -0.46885985136032104, 0.2826577425003052, 0.27941054105758667, -0.33848437666893005, -0.4562179446220398, 0.6397178173065186, 0.3124188482761383, 0.16200315952301025, 0.15987153351306915, -0.2546289265155792, -0.6466100215911865, 0.13639163970947266, 0.021324411034584045, 0.6117411255836487, -0.2868788242340088, 0.1466442048549652, 0.12258811295032501, 0.10577137768268585, 0.20315763354301453, 0.16198256611824036, -0.35851970314979553, -0.8040730357170105, -0.48870694637298584, -0.2820676267147064, -0.2244599312543869, -0.12690608203411102, -0.387342631816864, 0.1750577986240387, -0.45829421281814575, -0.1439238339662552, -0.14096862077713013, -0.07888592779636383, -0.750623345375061, -0.31958523392677307, -0.1499779224395752, 0.5325635671615601, -0.9636457562446594, 0.6441569924354553, 0.8403705954551697, -0.49567171931266785, -0.9651896357536316, -0.199813574552536, 0.1957278996706009, -0.560089111328125, 0.10014548897743225, -0.06796403229236603, -0.1670418232679367, -0.08053698390722275, -0.13869324326515198, -0.5838126540184021, 1.398664951324463, 0.35860198736190796, 0.04256649315357208, -0.13959616422653198, -0.13368214666843414, 0.11249144375324249, -0.36765056848526, 0.24251718819141388, 0.13354480266571045, 0.6932174563407898, 0.1807623952627182, -0.9204788208007812, 0.17955321073532104, -0.08091329783201218, -0.40272489190101624, 0.11630930751562119, -0.8622972369194031, 0.910200834274292, 0.11167995631694794, 0.24743801355361938, -0.46074753999710083, 0.5465735197067261, 0.2269655168056488, 0.3875870406627655, 0.823509693145752, 0.5629677176475525, 0.7503474354743958, 0.20867082476615906, 0.5694587826728821, -0.4552463889122009, 0.30974942445755005, 0.9421942830085754, 0.21224962174892426, 0.3421168029308319, 0.2641832232475281, 0.0230519101023674, 0.5516802072525024, 0.8111425042152405, 0.2446843832731247, 0.705084502696991, -0.7118675708770752, -0.334697961807251, -0.7562780380249023, -0.10618188232183456, -0.5459232926368713, 0.43833884596824646, 0.3814927041530609, -0.19644050300121307, -0.34472358226776123, -0.011713649146258831, -0.07656308263540268, -0.26918652653694153, -0.16292555630207062, 0.8399720788002014, -0.10394517332315445, -0.297908753156662, 0.47601819038391113, -0.14247150719165802, 0.5948710441589355, -0.5025746822357178, -0.000686930725350976, 0.03642385080456734, -0.08342935144901276, -0.4018895626068115, -0.3097616732120514, -0.06352200359106064, -0.917097270488739, -0.40042728185653687, -0.0344763919711113, 0.8626372814178467, -0.746487557888031, -0.2248392403125763, 0.21859069168567657, 1.0625966787338257, -0.6137079000473022, -0.21692349016666412, -0.5786651372909546, -0.41787123680114746, -0.06474661082029343, -0.1153714582324028, 0.27973654866218567, 0.5422073602676392, 0.258777916431427, 0.6440701484680176, 0.4601551294326782, -0.2725876569747925, 0.17123129963874817, -0.1334727257490158, 1.2181419134140015, -0.28521767258644104, -0.6236445307731628, -0.6048208475112915, 0.5449178814888, -0.13283564150333405, -0.04188473895192146, 0.9054655432701111, 0.5413324236869812, 0.7543671131134033, -0.13218021392822266, 0.5809033513069153, -0.13365502655506134, 0.18196725845336914, -0.44260355830192566, 0.8926598429679871, -0.7319588661193848, 0.028778240084648132, -0.44092804193496704, -0.7001108527183533, -0.07300516217947006, 0.4148200750350952, -0.0284823440015316, 0.18386605381965637, 0.5253350138664246, 0.7392264604568481, -0.5653060674667358, -0.0024384097196161747, 0.4065052270889282, 0.22698622941970825, 0.384149432182312, 0.6201414465904236, 0.8358203768730164, -0.12603740394115448, 0.5876151919364929, -0.4714983105659485, -0.3280595541000366, -0.393500953912735, -0.7322314977645874, -0.9576631188392639, -0.6736982464790344, -0.23087620735168457, -0.039973244071006775, -0.48633742332458496, 1.2410995960235596, 1.0623170137405396, -0.43961721658706665, 0.23014682531356812, 0.17097437381744385, 0.5556464791297913, -0.2657025158405304, -0.21868938207626343, 0.3759000599384308, 0.09095565974712372, -0.1769949495792389, 0.6161220669746399, 0.3910894989967346, -0.1692430078983307, -0.4467189908027649, -0.0693303570151329, -0.22074498236179352, -0.4397047162055969, 0.57724529504776, -0.1749739795923233, -0.7429597973823547, -0.4694904088973999, -0.08276424556970596, 0.14599424600601196, 0.18663114309310913, 1.0741071701049805, -0.7894629240036011, 0.8401196599006653, 0.6807509064674377, 0.5345138907432556, 0.12065423280000687, -0.04156234487891197, 0.5448929667472839, -0.9740184545516968, 0.16306890547275543, 0.2858814001083374, 0.5252482891082764, 0.2469712644815445, -0.3468833863735199, 0.37779417634010315, 0.7040241360664368, -0.33212709426879883, -0.5321316123008728, 0.3919300138950348, -1.3608423471450806, -0.2554111182689667, 0.8530515432357788, -0.07597730308771133, -0.09344179183244705, -0.662431001663208, -0.11020214110612869, 0.33917003870010376, -0.602370023727417, 0.759950578212738, 0.5988906025886536, -0.15958204865455627, -0.22811968624591827, -0.28867703676223755, 0.45313742756843567, 0.02229343168437481, -0.38541364669799805, -0.12889382243156433, 0.728058397769928, 0.3612922728061676, 0.30148571729660034, 0.458558052778244, 0.11692013591527939, 0.24765177071094513, 0.05310438945889473, -0.30429089069366455, -0.8627951145172119, -0.3733334541320801, 0.2622254192829132, 0.4438602924346924, 0.19152389466762543, 0.17090867459774017 ]
http://arxiv.org/abs/2405.16856v1
http://arxiv.org/pdf/2405.16856v1
Can We Trust LLMs? Mitigate Overconfidence Bias in LLMs through Knowledge Transfer
2024-05-27T06:06:36
2024-05-27T06:06:36
Haoyan Yang, Yixuan Wang, Xingyin Xu, Hanyuan Zhang, Yirong Bian
cs.CL
cs.CL
The study explores mitigating overconfidence bias in LLMs to improve their reliability. We introduce a knowledge transfer (KT) method utilizing chain of thoughts, where "big" LLMs impart knowledge to "small" LLMs via detailed, sequential reasoning paths. This method uses advanced reasoning of larger models to fine-tune smaller models, enabling them to produce more accurate predictions with calibrated confidence. Experimental evaluation using multiple-choice questions and sentiment analysis across diverse datasets demonstrated the KT method's superiority over the vanilla and question-answer pair (QA) fine-tuning methods. The most significant improvement in three key metrics, where the KT method outperformed the vanilla and QA methods by an average of 55.3% and 43.1%, respectively. These findings underscore the KT method's potential in enhancing model trustworthiness and accuracy, offering precise outputs with well-matched confidence levels across various contexts.
[ -0.3892447352409363, -0.6114872097969055, 1.062731385231018, -0.046720169484615326, -0.36265790462493896, 0.4324635863304138, 0.03483796492218971, -0.7188234329223633, -0.0970052033662796, 0.33448830246925354, -0.6556299924850464, -0.18321014940738678, -0.7263409495353699, -0.15891890227794647, -0.16904082894325256, 0.8262935280799866, -0.2268538624048233, 0.3470400273799896, -0.5711631178855896, 0.23287543654441833, -0.404842734336853, -0.46887946128845215, -0.7094050049781799, -0.7038772106170654, 0.46297481656074524, 0.4345158040523529, 0.7016557455062866, 0.24467585980892181, 0.749856173992157, 0.11527688056230545, -0.16070379316806793, 0.3423009216785431, -0.5571840405464172, 0.11573842912912369, -0.5928425788879395, -0.7751811742782593, -0.4380667209625244, 0.1885896623134613, 0.26005610823631287, 0.4622860252857208, -0.2216593474149704, 0.4067833721637726, 0.2012859284877777, 0.995171070098877, -0.733735978603363, 0.05273863673210144, -0.8941929936408997, -0.13708075881004333, 0.17428536713123322, -0.254037469625473, -0.38310152292251587, -0.9767876267433167, 0.4873447120189667, -0.6425502300262451, -0.40604931116104126, 0.202020525932312, 0.44258126616477966, 0.37282511591911316, -0.6784104704856873, -0.4331677258014679, -0.8169876933097839, 0.7011592388153076, -0.44837138056755066, 0.34890732169151306, 0.4995844066143036, 0.4712407886981964, -0.10710319876670837, -0.7434722185134888, -0.3659135401248932, -0.29873785376548767, 0.06618927419185638, 0.22877468168735504, 0.1463388055562973, -0.06791223585605621, 0.3244483172893524, 0.18787290155887604, -0.09274816513061523, -0.14520218968391418, -0.3507448434829712, -0.2435499131679535, 0.7309824824333191, -0.03978850692510605, -0.10106896609067917, 0.13243858516216278, -0.7320046424865723, -0.12187357246875763, -0.761130690574646, 0.16063636541366577, 0.11814918369054794, -0.10629373788833618, 0.30671754479408264, 0.3871666193008423, -0.180180162191391, 0.1450629085302353, 0.19858543574810028, -0.28422415256500244, -0.13622701168060303, -0.41619622707366943, -0.36069780588150024, 0.15860962867736816, 0.4531972110271454, 0.7941374182701111, 0.624289870262146, -0.2907398045063019, 0.06152011826634407, 0.4335750937461853, 0.3580267131328583, -0.6353432536125183, -0.15500956773757935, 0.03995319828391075, -0.4006378948688507, -0.4911643862724304, 0.1205410361289978, -0.6600082516670227, -0.6046013832092285, -0.2077392041683197, 0.8338087797164917, -0.3782673478126526, -0.24726475775241852, 0.21151898801326752, -0.2212516814470291, 0.3028128147125244, 0.4874270558357239, -0.4745926260948181, 0.48531678318977356, 0.4081118404865265, 0.6796943545341492, -0.48358699679374695, -0.06218373030424118, -0.018897639587521553, 0.3465650975704193, -0.5368041396141052, 0.6716781854629517, -0.09919898211956024, -0.5427966713905334, -0.11238271743059158, -0.2713516652584076, -0.08874963968992233, -0.3409123718738556, 0.5076017379760742, -0.526958167552948, -0.03732634708285332, -0.8300815224647522, -0.8585674166679382, -0.1156700849533081, 0.5878706574440002, -0.3164750933647156, 0.9282151460647583, 0.025138109922409058, -0.8129302263259888, 0.32131922245025635, -0.44570833444595337, -0.2666437029838562, -0.542336642742157, -0.014133326709270477, -0.16994978487491608, -0.06111403927206993, 0.4022753834724426, 0.4370214641094208, -0.41046059131622314, 0.03949034586548805, -0.671739935874939, -0.29006484150886536, 0.8598199486732483, -0.49560806155204773, 0.537234902381897, 0.24795116484165192, -0.2321295291185379, -0.2682829201221466, -0.6118541955947876, 0.38465210795402527, -0.19291891157627106, 0.031014399603009224, -0.512787401676178, -0.4361279010772705, -0.49689874053001404, 0.3834518492221832, 0.2702631950378418, -0.5919363498687744, 0.31061455607414246, -0.0925280749797821, 0.5039534568786621, 0.9746193885803223, 0.36413443088531494, 0.7017496228218079, -0.8529930114746094, 0.4733894467353821, 0.23043854534626007, 0.3366788923740387, 0.28439050912857056, -0.4397229850292206, -0.8579626083374023, 0.18917006254196167, 0.12106751650571823, 0.6458806395530701, -0.9082019329071045, 0.05316654592752457, -0.16492301225662231, -0.6142566800117493, -0.515064537525177, 0.07575077563524246, 0.4850097894668579, 0.6977438926696777, 0.3333912789821625, -0.5557013750076294, -0.41832610964775085, -0.866004467010498, -0.3014202117919922, -0.4058946669101715, 0.027113663032650948, 0.18504004180431366, 0.5862741470336914, 0.09776043146848679, 0.7103482484817505, -0.5179824233055115, -0.12162096798419952, 0.16029219329357147, 0.024901043623685837, -0.11342020332813263, 0.582489550113678, 0.245650053024292, -0.47098109126091003, -0.6329102516174316, -0.0025995990727096796, -0.6361939311027527, 0.4372335374355316, -0.07415687292814255, -0.4676019251346588, 0.009075000882148743, 0.6075668931007385, -0.824038565158844, 0.3693438470363617, 0.2989580035209656, -0.3875490128993988, 0.6067354083061218, 0.03803841024637222, 0.4106403589248657, -1.3198002576828003, -0.14102524518966675, -0.259781152009964, -0.44468075037002563, -0.20242871344089508, -0.1354503631591797, 0.13753396272659302, 0.6287935972213745, -0.3593050539493561, 0.2452303171157837, -0.2512034773826599, -0.08278615027666092, -0.11359389871358871, 0.01659448631107807, 0.04561435431241989, 0.20782792568206787, -0.3238678574562073, 0.7793435454368591, 0.6556681394577026, -0.5578980445861816, 0.3849949538707733, 0.20998211205005646, -0.45221418142318726, 1.2778531312942505, -0.4459138810634613, 0.5304796099662781, 0.08816719800233841, 0.4138442873954773, -1.1853309869766235, 0.02026602067053318, 0.2790737748146057, -0.5838322043418884, 0.12708696722984314, 0.012572525069117546, -0.3076821267604828, -0.2531554102897644, -0.45095300674438477, 0.17655819654464722, 0.7713448405265808, -0.3175673186779022, 0.5193359851837158, -0.14799495041370392, -0.07634104788303375, -0.6169980764389038, -0.9635233283042908, -0.24742600321769714, -0.2074313461780548, -0.673886775970459, 0.18741700053215027, -0.3162217140197754, -0.3616333603858948, 0.15104345977306366, -0.51938396692276, -0.2534378468990326, 0.10412043333053589, 0.25192826986312866, 0.379130482673645, -0.07093499600887299, 0.1600363701581955, 0.015148792415857315, -0.005741136148571968, 0.3454039394855499, -0.5454691052436829, 0.04584947228431702, -0.06221545487642288, -0.5333746671676636, -0.5345633625984192, 0.013887890614569187, 0.8153432011604309, 0.24814890325069427, 0.7440071105957031, 0.5465591549873352, -0.2458043247461319, -0.2819206118583679, -0.8281475901603699, -0.5309284925460815, -0.43326932191848755, 0.047305669635534286, -0.320722758769989, -1.075531005859375, 0.5454795956611633, -0.4170258939266205, -0.12083455175161362, 0.17227451503276825, 0.4671310484409332, -0.4158269762992859, 0.7935775518417358, 0.8575830459594727, -0.4122997522354126, 0.06058567389845848, -0.07246437668800354, 0.03911339491605759, -0.846549928188324, -0.282101035118103, -0.24590755999088287, -0.4487016499042511, -0.5570508241653442, -0.4549387991428375, 0.2754640281200409, 0.25067147612571716, -0.370906263589859, 0.02119852788746357, -0.28213557600975037, 0.5312057733535767, 0.7942674160003662, 0.642321765422821, 0.6645690202713013, -0.2765437066555023, -0.194407120347023, 0.00501333037391305, -0.39350810647010803, -0.3194923400878906, 1.4195665121078491, 0.4527803361415863, 0.9795870780944824, 0.04227478802204132, 0.5517712235450745, 0.36290332674980164, 0.3827784061431885, -0.7756010293960571, 0.35007795691490173, 0.3232835531234741, -0.7239205241203308, -0.3737407326698303, -0.3840041756629944, -0.3021426200866699, -0.021739386022090912, -0.2383960783481598, -0.8591347336769104, 0.12263495475053787, 0.1826915442943573, -0.5593339800834656, 0.521043062210083, -0.581632673740387, 0.18832284212112427, -0.04288531094789505, -0.37904947996139526, -0.27888619899749756, -0.7526529431343079, 0.6011407375335693, -0.15481051802635193, 0.04350043088197708, 0.03783014044165611, 0.028132205829024315, 0.7324080467224121, -0.17240920662879944, 0.8602897524833679, 0.16901226341724396, -0.17648845911026, 0.35964760184288025, 0.24225428700447083, 0.9464814066886902, 0.11800915002822876, -0.12555013597011566, 0.06320366263389587, 0.201484814286232, -0.23449073731899261, -1.0144215822219849, 0.5499446988105774, -0.875874400138855, -0.5955712199211121, -0.3126709759235382, -0.7897240519523621, -0.714322566986084, 0.08416110277175903, 0.2463865727186203, -0.19494010508060455, 0.006408485118299723, 0.3012169599533081, 0.9411264657974243, 0.3244546055793762, 0.1836341917514801, 0.33443644642829895, -0.18047478795051575, -0.5333199501037598, 0.3490956425666809, 0.23533101379871368, 0.7829800844192505, 0.18707455694675446, 0.27986595034599304, -0.32336533069610596, -0.4019702076911926, -0.0978475883603096, -0.019910762086510658, -0.8826909065246582, -0.41725894808769226, -0.3332388699054718, -0.5066869854927063, -0.4570763111114502, -0.2886340320110321, -0.6747264266014099, -0.6095921397209167, 0.14647714793682098, -0.5919743776321411, 0.5717940330505371, 0.808196485042572, 0.06930113583803177, 0.41171878576278687, -0.5843366384506226, 0.08803991228342056, 0.7511489391326904, 0.3824084401130676, 0.02343558333814144, -0.5158555507659912, 0.0003173660079482943, 0.12466388195753098, -0.45926448702812195, -0.8515990376472473, 0.06072279438376427, -0.27198755741119385, 0.4863895773887634, 0.18503731489181519, 0.3386819660663605, 0.7624449133872986, -0.07289040833711624, 0.778358519077301, 0.34384414553642273, -0.9431580305099487, 0.3829311728477478, -0.2382468283176422, -0.07153772562742233, 0.6288412809371948, 0.6370120644569397, -0.20615419745445251, -0.3604511320590973, -0.8420097231864929, -0.5041300654411316, 0.35989609360694885, 0.4188329875469208, -0.3003120422363281, 0.4001486301422119, 0.6939631104469299, -0.033795855939388275, 0.44142600893974304, -0.5995988249778748, -0.3423290252685547, 0.16194374859333038, 0.006084633991122246, 0.0011720320908352733, -0.47460854053497314, -0.43424874544143677, -0.22811536490917206, 0.7667341828346252, -0.07148563861846924, 0.21089409291744232, 0.6993368864059448, -0.06442343443632126, -0.43015018105506897, 0.4496617615222931, 0.5711319446563721, 1.026557445526123, -0.3163316249847412, 0.4452786445617676, 0.7154214382171631, -0.4829341173171997, 0.3199893534183502, -0.3905286490917206, -0.11273165792226791, -0.4657934010028839, 0.15225131809711456, 0.38666826486587524, 0.008892776444554329, -0.006618964020162821, 0.41727936267852783, -0.03631911799311638, -0.5561777353286743, -0.1527048498392105, -0.0855085551738739, 0.38232046365737915, 0.7005097270011902, 0.262584388256073, 0.43726736307144165, 0.12297944724559784, -0.4871515929698944, 0.499138742685318, 0.4105004668235779, -0.6722828149795532, -0.1614890843629837, 0.49334901571273804, 0.07323464751243591, 0.08422984182834625, 0.48013123869895935, 0.14745298027992249, -0.45915502309799194, 0.5386623740196228, 0.5874406099319458, 0.6781080365180969, -0.1684950292110443, 0.13151748478412628, 0.20419806241989136, 0.5373609662055969, -0.6637038588523865, 0.33413857221603394, 0.09013402462005615, -0.9407800436019897, -0.5323979258537292, -0.38043808937072754, -0.8097657561302185, -0.04111681506037712, -0.9480052590370178, -0.18426774442195892, -0.4976055920124054, -0.43844151496887207, -0.518756628036499, 0.12862640619277954, -0.6609777212142944, 0.15953968465328217, 0.06921280175447464, 1.1117777824401855, -0.9091365337371826, 1.0846065282821655, 0.5475233793258667, -0.2514471411705017, -1.1540603637695312, -0.05501075088977814, -0.009216944687068462, -1.0613412857055664, 0.49089592695236206, -0.09406937658786774, -0.2861844003200531, 0.045496586710214615, -0.7522414922714233, -1.0099674463272095, 1.58854341506958, 0.4103405475616455, -0.7170976996421814, 0.028282035142183304, 0.07328911125659943, 0.33268991112709045, -0.24124620854854584, 0.2932911217212677, 0.6952769756317139, 0.48636800050735474, 0.5466489791870117, -1.2021456956863403, 0.39717352390289307, 0.1948125809431076, 0.06747361272573471, -0.1836562305688858, -0.7511223554611206, 0.6435953974723816, -0.3077928125858307, 0.2450145184993744, 0.07766616344451904, 0.6071875095367432, 0.47338584065437317, 0.40658625960350037, 0.5604660511016846, 0.5849552750587463, 1.1450556516647339, 0.17542549967765808, 0.8144251108169556, -0.23192286491394043, 0.31394848227500916, 1.2204160690307617, -0.34624359011650085, 0.8373526334762573, 0.9620530605316162, -0.3034193515777588, 0.5605281591415405, 0.430743545293808, 0.3316412568092346, 0.6721810698509216, 0.346743106842041, -0.04498651996254921, -0.41116955876350403, -0.12833018600940704, -0.4666612148284912, 0.07809194922447205, 0.2959352433681488, -0.3530341386795044, 0.08008024841547012, -0.28506404161453247, 0.10075519233942032, 0.029255036264657974, -0.454950749874115, 0.6040002703666687, 0.6390570998191833, -0.67134690284729, 0.1443345546722412, -0.6391504406929016, 0.8804317712783813, -0.621623694896698, -0.0011789010604843497, -0.10356755554676056, 0.40437695384025574, -0.18170496821403503, -0.7724370956420898, 0.09050601720809937, -0.4927927851676941, -0.15251009166240692, -0.4315711259841919, 1.1758387088775635, -0.28939440846443176, -0.5183568000793457, 0.18592141568660736, 0.8755935430526733, -0.07261023670434952, -0.3133533000946045, -0.5949375629425049, -0.22188116610050201, -0.06953044980764389, -0.2753256559371948, 0.3294522762298584, 0.5802571177482605, -0.05171160399913788, 1.165806531906128, 0.8023807406425476, 0.41596871614456177, 0.04743002727627754, -0.2768031060695648, 0.774677574634552, -0.6140759587287903, -0.3573315441608429, -1.0808788537979126, 0.4617137312889099, -0.20941764116287231, 0.017322221770882607, 0.9785280227661133, 0.03420877829194069, 0.9202495813369751, -0.015567640773952007, 1.1149007081985474, 0.2998093068599701, 0.5520716905593872, -0.5894718766212463, 0.7856040000915527, -0.10511281341314316, 0.27364295721054077, -0.3766222596168518, -0.6962657570838928, -0.12804745137691498, 0.6596962809562683, -0.34681370854377747, -0.0038594244979321957, 1.0715820789337158, 0.6230579614639282, 0.203290656208992, 0.05055057629942894, 0.4701639711856842, 0.2173561304807663, 0.16580164432525635, 0.8053398728370667, 1.0753358602523804, -0.4776197373867035, 0.6898074746131897, -0.6116703152656555, -0.10181239992380142, 0.07356952875852585, -1.044002652168274, -0.996711015701294, -0.06160151585936546, -0.3823172152042389, -0.5509628653526306, 0.3663168251514435, 0.8291313052177429, 0.708672046661377, -0.6608611941337585, -0.08232400566339493, -0.2342843860387802, 0.3025490939617157, -0.408973753452301, -0.22102834284305573, 0.2856628894805908, -0.20024706423282623, -0.18149308860301971, 0.017545368522405624, -0.0231718048453331, 0.16026541590690613, -0.4507172405719757, -0.03074362874031067, -0.02292923629283905, 0.17367808520793915, 0.5224906206130981, -0.2805528938770294, -0.547681987285614, -0.6929936408996582, 0.2815806269645691, -0.2359992116689682, -0.06762915849685669, 0.7831907868385315, -0.6879584789276123, 0.10650908946990967, 0.43005964159965515, 0.6812048554420471, 0.292256236076355, 0.11349229514598846, 0.9308957457542419, -0.4752183258533478, -0.27690520882606506, 0.04781147465109825, 0.21924948692321777, 0.08591330796480179, -0.7239956259727478, 0.6204527616500854, 0.16628357768058777, -0.8706064820289612, -0.6960282325744629, 0.25869446992874146, -1.177627444267273, -0.17668494582176208, 1.2060284614562988, -0.36743709444999695, -0.1932375282049179, -0.1403045356273651, -0.22460032999515533, 0.3696271479129791, -0.4918515384197235, 1.0109392404556274, 0.9245519638061523, -0.22704623639583588, -0.14590182900428772, -0.5703848600387573, 0.7464070320129395, 0.32832589745521545, -0.8256725072860718, -0.11373770236968994, 0.028827667236328125, 0.6188804507255554, 0.1802944839000702, 0.7328811883926392, -0.17532560229301453, 0.22764775156974792, -0.07811401039361954, -0.1520613133907318, -0.0637749508023262, -0.18106596171855927, 0.06507249921560287, 0.01713150180876255, 0.38536593317985535, -0.2756102383136749 ]
http://arxiv.org/abs/2405.16845v1
http://arxiv.org/pdf/2405.16845v1
On Mesa-Optimization in Autoregressively Trained Transformers: Emergence and Capability
2024-05-27T05:41:06
2024-05-27T05:41:06
Chenyu Zheng, Wei Huang, Rongzhen Wang, Guoqiang Wu, Jun Zhu, Chongxuan Li
cs.LG
cs.LG, cs.CL, stat.ML
Autoregressively trained transformers have brought a profound revolution to the world, especially with their in-context learning (ICL) ability to address downstream tasks. Recently, several studies suggest that transformers learn a mesa-optimizer during autoregressive (AR) pretraining to implement ICL. Namely, the forward pass of the trained transformer is equivalent to optimizing an inner objective function in-context. However, whether the practical non-convex training dynamics will converge to the ideal mesa-optimizer is still unclear. Towards filling this gap, we investigate the non-convex dynamics of a one-layer linear causal self-attention model autoregressively trained by gradient flow, where the sequences are generated by an AR process $x_{t+1} = W x_t$. First, under a certain condition of data distribution, we prove that an autoregressively trained transformer learns $W$ by implementing one step of gradient descent to minimize an ordinary least squares (OLS) problem in-context. It then applies the learned $\widehat{W}$ for next-token prediction, thereby verifying the mesa-optimization hypothesis. Next, under the same data conditions, we explore the capability limitations of the obtained mesa-optimizer. We show that a stronger assumption related to the moments of data is the sufficient and necessary condition that the learned mesa-optimizer recovers the distribution. Besides, we conduct exploratory analyses beyond the first data condition and prove that generally, the trained transformer will not perform vanilla gradient descent for the OLS problem. Finally, our simulation results verify the theoretical results.
[ -0.6616106033325195, -0.39859896898269653, 0.24586062133312225, 0.1646583080291748, -0.04989216849207878, -0.30125027894973755, -0.18317674100399017, -0.04424445331096649, -0.09542660415172577, 0.534637451171875, -0.9600169658660889, 0.015697872266173363, -0.7715148329734802, 0.0005385641125030816, -0.733357846736908, 1.168628454208374, -0.03271770849823952, -0.23068074882030487, -0.10311422497034073, -0.1430581957101822, -0.180242657661438, -0.11931949108839035, -0.6823098659515381, -0.0924372673034668, 0.12680792808532715, 0.24429857730865479, 0.12966062128543854, 0.645647406578064, 0.4898887574672699, 0.2900674641132355, 0.37728235125541687, -0.22933292388916016, -0.6027438640594482, 0.3256799578666687, 0.0454985611140728, -0.32432183623313904, 0.07955767214298248, 0.1502300500869751, 0.8393933176994324, 0.6875821948051453, -0.4195384085178375, 0.278545618057251, 0.5135066509246826, 0.5196325182914734, -0.8954175710678101, 0.17825175821781158, -0.5194262862205505, 0.4421670138835907, -0.04709257185459137, -0.1778167337179184, -0.4696587324142456, -0.10635090619325638, 0.2656039893627167, -0.5953377485275269, 0.3802714943885803, 0.004240086767822504, 0.6825105547904968, 1.1239010095596313, -0.454651415348053, -0.060592349618673325, -1.1171677112579346, 0.8827268481254578, -0.3204786777496338, 0.4316158592700958, 0.08554384857416153, 0.5478549599647522, 0.05431462451815605, -0.902854859828949, -0.39985230565071106, -0.19915823638439178, 0.028690874576568604, 0.2771284580230713, -0.3983309864997864, -0.07487411797046661, 0.399747371673584, 0.37612423300743103, -0.44552600383758545, 0.26527777314186096, -0.23458202183246613, 0.10362279415130615, 0.4046797752380371, 0.47013434767723083, -0.30607306957244873, -0.15833386778831482, -0.7083510160446167, -0.16897986829280853, -0.20766831934452057, 0.6430363655090332, -0.02579394541680813, 0.11441200226545334, -0.13641990721225739, 0.19218987226486206, -0.04320274665951729, 0.3011750280857086, 0.5142210721969604, -0.046092674136161804, 0.22063301503658295, -0.09386801719665527, -0.29594168066978455, -0.3083314001560211, 0.7730438709259033, -0.22682806849479675, -0.02480647899210453, -0.35118183493614197, -0.29147130250930786, -0.24839457869529724, 0.6928292512893677, -0.5762460231781006, -0.22690056264400482, -0.11025407910346985, -0.47446712851524353, -0.2125319391489029, 0.07385891675949097, -0.744976282119751, 0.1666942536830902, -0.27715063095092773, 0.5886902809143066, -0.11844196915626526, -0.0479310043156147, -0.1812611073255539, 0.22148193418979645, 0.5072726607322693, 0.0963415578007698, -0.972731351852417, 0.2840406000614166, 0.3486515283584595, 0.541765570640564, -0.18562087416648865, -0.25587257742881775, -0.3987828195095062, 0.11605803668498993, -0.36768636107444763, 0.5285432934761047, -0.12514053285121918, -0.29334065318107605, -0.1912476122379303, -0.035826705396175385, -0.4668728709220886, -0.21078795194625854, 0.5798125267028809, -0.39099887013435364, 0.2269826978445053, -0.16063444316387177, -0.3396037817001343, -0.06170743331313133, 0.054918576031923294, -0.4550454914569855, 1.1074397563934326, 0.14876116812229156, -0.5468499660491943, 0.5814024806022644, -0.6827003359794617, -0.40768933296203613, -0.21606561541557312, 0.00022518700279761106, -0.7302306890487671, 0.18884356319904327, 0.07656379789113998, 0.4170147478580475, -0.35197487473487854, -0.018959788605570793, -0.27149730920791626, 0.029470983892679214, -0.029846712946891785, -0.59820556640625, 0.6392211318016052, 0.19178271293640137, -0.741740882396698, -0.2773188650608063, -0.7322472929954529, -0.1999622881412506, 0.1373007446527481, 0.19623616337776184, 0.05210644006729126, 0.14405974745750427, -0.5002104640007019, 0.3758479952812195, 0.00605588685721159, -0.47945746779441833, 0.14572106301784515, -0.2978140413761139, 0.38935860991477966, 0.885249137878418, 0.2709749639034271, 0.7646245956420898, 0.1422988325357437, 0.6749494671821594, -0.19485577940940857, 0.8883359432220459, -0.046546582132577896, -0.25014689564704895, -1.1086970567703247, -0.11409720778465271, 0.013456390239298344, 0.41994380950927734, -0.3777056336402893, 0.4350195825099945, -0.011259342543780804, -0.41052180528640747, -0.11951830983161926, -0.01455268356949091, 0.23110057413578033, 1.0685384273529053, 0.5557721853256226, -0.311628133058548, -0.13200680911540985, -1.091935396194458, 0.20391082763671875, 0.0678553432226181, 0.24468818306922913, 0.5005865693092346, 0.3859180510044098, -0.04175542667508125, 1.000576138496399, -0.4881177246570587, -0.5507818460464478, -0.010011487640440464, 0.34667783975601196, 0.27033090591430664, 0.5080738067626953, 0.6922777891159058, -0.5204352140426636, -0.5118452310562134, -0.28761106729507446, -0.7885957956314087, -0.16290587186813354, -0.08421836048364639, -0.07365092635154724, 0.11446518450975418, 0.6840288043022156, -0.27730709314346313, 0.5643591284751892, 0.2795344591140747, 0.14593015611171722, 0.14715109765529633, -0.2439175397157669, -0.26113420724868774, -0.6539160013198853, 0.11331663280725479, 0.16961602866649628, 0.07698842138051987, -0.586199939250946, -0.24521316587924957, -0.018906980752944946, -0.149356409907341, -0.25497910380363464, 0.24525173008441925, -0.235228031873703, -0.21215873956680298, -0.4013670086860657, -0.17594455182552338, -0.1673170030117035, 0.7670702338218689, -0.11058439314365387, 0.7129303812980652, 0.8862296342849731, -0.9916043877601624, -0.09423350542783737, 0.2761393189430237, 0.0005657268920913339, 0.4704212248325348, -0.49165815114974976, -0.22802792489528656, -0.6010833382606506, 0.31077682971954346, -0.9088119864463806, 0.1419495940208435, 0.3480292856693268, -0.2116497904062271, 0.43590617179870605, -0.12791785597801208, -0.027495285496115685, -0.6935962438583374, 0.06879308074712753, 0.36986398696899414, 0.6596997976303101, -0.6634077429771423, 0.8023915886878967, 0.37180617451667786, 0.3980174958705902, -1.1092804670333862, -0.5059123039245605, -0.23116546869277954, -0.30783990025520325, -0.4389420449733734, 0.03527434915304184, 0.09401273727416992, 0.1581016331911087, -0.03209489956498146, -0.10440827161073685, -0.06700608134269714, 0.1809074580669403, 0.0589805506169796, 0.019625823944807053, -0.10668181627988815, -0.009902989491820335, 0.19121123850345612, -0.6907423138618469, 0.356301486492157, -0.5310779809951782, 0.3165457844734192, -0.16310448944568634, -0.5119284391403198, -0.430751234292984, 0.15740162134170532, 0.32472771406173706, -0.28962254524230957, 0.5475553274154663, 0.8225001096725464, 0.0012104498455300927, -0.5687930583953857, -0.447211354970932, -0.35148105025291443, -0.4873737394809723, 0.19439661502838135, -0.3449576497077942, -0.4360361695289612, 0.5838873982429504, 0.05902428552508354, 0.27262207865715027, 0.8734274506568909, 0.3514658212661743, -0.2226255089044571, 0.7976071834564209, 0.7303749322891235, 0.1029830351471901, 0.39714282751083374, -0.9432416558265686, 0.19141094386577606, -0.994268536567688, -0.402435839176178, -0.38473519682884216, -0.5483235716819763, -0.44711750745773315, -0.13909612596035004, 0.6958023905754089, -0.14454464614391327, -0.3189633786678314, 0.47297853231430054, -0.5336264371871948, 0.20074863731861115, 0.5041357278823853, -0.1558167040348053, -0.041762832552194595, -0.44221562147140503, -0.06731511652469635, -0.1636805236339569, -1.021841287612915, 0.09012594074010849, 0.9287939667701721, 0.14759962260723114, 0.8480960130691528, -0.27740052342414856, 0.49713292717933655, 0.21576324105262756, 0.36761990189552307, -0.46454840898513794, 0.3577899932861328, -0.14571578800678253, -0.2399669736623764, -0.36202001571655273, -0.25158631801605225, -1.106448769569397, 0.21249890327453613, -0.3078233599662781, -0.4755833148956299, 0.5173659324645996, 0.35825034976005554, -0.405948281288147, 0.27217140793800354, -0.3766269385814667, 0.9068478345870972, -0.15614312887191772, -0.2055579423904419, -0.1043219119310379, -0.8899461030960083, 0.1731533259153366, -0.22471389174461365, 0.022340893745422363, -0.013010929338634014, -0.07430223375558853, 0.351035475730896, -0.40762588381767273, 0.6034699082374573, -0.40593957901000977, 0.012295957654714584, 0.26384520530700684, -0.1207994669675827, 0.5263070464134216, 0.05957217141985893, 0.18283984065055847, 0.05873332545161247, -0.594559371471405, -0.2737804055213928, -0.798542857170105, 0.516660749912262, -0.8261745572090149, -0.6575338244438171, -0.2093704342842102, -0.23814517259597778, -0.07060997188091278, -0.04264706373214722, 0.6767706274986267, 0.510932981967926, -0.0764106884598732, 0.23712529242038727, 0.6371691823005676, 0.2824198007583618, 1.0472524166107178, 0.448253870010376, 0.21848534047603607, -0.009930678643286228, 0.6489824056625366, 0.23203273117542267, 0.31302276253700256, 0.15449364483356476, 0.20704372227191925, -0.28056472539901733, -0.4703134000301361, -0.5138079524040222, 0.10969580709934235, -0.6799522638320923, -0.11678075790405273, -0.650601327419281, -0.4023130238056183, -0.017284609377384186, -0.2787450850009918, -0.6703668832778931, -0.30535510182380676, -0.34547585248947144, 0.3282696008682251, -0.04492774233222008, 0.7471804618835449, -0.368072509765625, 0.25005385279655457, -0.5282344818115234, -0.07354793697595596, 0.4371297359466553, 0.24647638201713562, 0.301763117313385, -0.7049652934074402, -0.4898666739463806, -0.23630821704864502, -0.453954815864563, -0.34450310468673706, 0.3872329592704773, 0.286337673664093, 0.9991967082023621, 0.7617477774620056, 0.11438386142253876, 0.3869549632072449, -0.5160976052284241, 0.5232167840003967, -0.04441981390118599, -0.7606642842292786, 0.40138351917266846, -0.2536318302154541, 0.03051033429801464, 0.6328015923500061, 0.3635200560092926, -0.07347402721643448, -0.45661666989326477, -0.7230784893035889, -0.7332899570465088, 0.7979347705841064, 0.4384729862213135, 0.24370037019252777, 0.012008179910480976, 0.6586546897888184, 0.20595373213291168, 0.13213492929935455, -0.7809333205223083, -0.5510624051094055, -0.5518794059753418, 0.26078131794929504, -0.0316338837146759, 0.13103851675987244, 0.11257205158472061, -0.27183133363723755, 0.7200250029563904, -0.14122217893600464, 0.4781399071216583, 0.15890833735466003, -0.1203540712594986, -0.23919019103050232, -0.21131950616836548, 0.4747312664985657, 0.32930493354797363, 0.08196671307086945, -0.38186386227607727, 0.3513481318950653, -0.38638192415237427, 0.26320332288742065, 0.07782839983701706, -0.24368812143802643, -0.4568290412425995, -0.029675889760255814, 1.0864360332489014, 0.321117639541626, -0.058306653052568436, 0.7946010231971741, -0.17104798555374146, -0.2850331664085388, -0.81493079662323, 0.2970080077648163, -0.7284879684448242, 0.5541402101516724, 0.8883213996887207, 0.5439184904098511, 0.27782171964645386, 0.15532557666301727, 0.3073696792125702, 0.8173546195030212, -0.39737075567245483, -0.1933206468820572, 1.0169942378997803, 0.0724564865231514, -0.20066162943840027, 0.5985623598098755, -0.17951859533786774, -0.42987731099128723, 0.66541987657547, 0.3955138027667999, 1.0687628984451294, -0.2634720504283905, -0.13136577606201172, 0.5117829442024231, 0.36512404680252075, 0.12101323157548904, -0.43510037660598755, -0.45964935421943665, -0.5322815775871277, -0.6266054511070251, -0.4479410648345947, -0.22004836797714233, -0.17678113281726837, -0.9469660520553589, 0.4195617139339447, -0.37650132179260254, -0.20480047166347504, -0.19272106885910034, -0.28319233655929565, -0.6056980490684509, 0.3999477028846741, -0.013514646328985691, 0.44421228766441345, -0.8299275636672974, 0.6978404521942139, 0.01992260105907917, -0.07883453369140625, -0.6806508302688599, 0.2893095314502716, -0.29772496223449707, -0.9780778884887695, 0.8000438213348389, 0.01606873981654644, -0.23345060646533966, 0.42870089411735535, -0.19301186501979828, -1.3513472080230713, 1.226641058921814, 0.23694348335266113, -0.21277253329753876, -0.1721445918083191, -0.013411475345492363, 0.43594175577163696, -0.3625282347202301, 0.2848503291606903, 0.2600192427635193, 0.354438453912735, 0.21487963199615479, -0.7798023223876953, -0.3219890892505646, -0.14303255081176758, -0.0006025241455063224, 0.7211703062057495, -0.9199228882789612, 0.8524631857872009, -0.12524965405464172, -0.04708551615476608, -0.15360984206199646, 0.8753618597984314, -0.4699305593967438, -0.01452188566327095, 0.722977876663208, 0.8891275525093079, 0.3464011549949646, -0.05251351743936539, 1.2264113426208496, -0.5540392398834229, 0.7462958693504333, 0.5341290831565857, 0.20915675163269043, 0.42308276891708374, 0.1916918307542801, -0.16207335889339447, 0.5533116459846497, 0.3697149455547333, -0.16746766865253448, 0.7175499796867371, -0.218073770403862, -0.14507809281349182, -0.2670840919017792, 0.23872117698192596, -0.3479822278022766, 0.7405375242233276, 0.23210223019123077, -0.469364196062088, -0.44414862990379333, 0.5067769885063171, -0.4075581729412079, -0.26489928364753723, -0.355156272649765, 0.6137704849243164, -0.0750388503074646, -0.7050776481628418, 0.5046833157539368, -0.3201758861541748, 0.37746870517730713, -0.49310389161109924, 0.45468878746032715, -0.05473208427429199, 0.17677004635334015, 0.07577785849571228, -0.5019737482070923, 0.4890316426753998, -0.5753016471862793, -0.15935060381889343, -0.19127368927001953, 0.4510755240917206, -0.09204277396202087, -0.24278226494789124, 0.2498026341199875, 0.26665928959846497, -0.13775227963924408, 0.2960415482521057, -0.6262369155883789, -0.44348078966140747, -0.15289251506328583, -0.4931190311908722, 0.16635499894618988, 0.09600448608398438, 0.13283616304397583, 0.9952254295349121, 0.385410338640213, -0.37373560667037964, 0.27150964736938477, -0.21005059778690338, 0.7358035445213318, -0.15790726244449615, -0.586259126663208, -0.9202226996421814, 0.4663555324077606, 0.05136549100279808, -0.5115158557891846, 0.7544713020324707, 0.36292561888694763, 0.4866752028465271, 0.1518867313861847, 0.4722593426704407, 0.06253565847873688, 0.33053308725357056, -0.3917210102081299, 0.44490334391593933, -0.6839516162872314, -0.07791251689195633, -0.26708313822746277, -1.1355100870132446, -0.09429654479026794, 0.7558274269104004, -0.3838798701763153, 0.11954173445701599, 0.7583234906196594, 0.3599366545677185, -0.2739108204841614, 0.0919840857386589, 0.0875656008720398, 0.04061044752597809, 0.009857906959950924, 0.6763526797294617, 0.4397524297237396, -0.48286905884742737, 0.5801295638084412, -0.5216851830482483, -0.37358155846595764, -0.06194870173931122, -0.7619053721427917, -0.7509748935699463, -0.9190288782119751, -0.10670414566993713, -0.3285388946533203, -0.29385802149772644, 0.6818894147872925, 0.8250343799591064, -0.41298508644104004, 0.004045283421874046, -0.46447354555130005, -0.4301237463951111, -0.08885641396045685, -0.26960113644599915, 0.22466006875038147, -0.7886010408401489, -0.6467815637588501, 0.31537124514579773, 0.5501959323883057, 0.044512517750263214, -0.6845830082893372, -0.17295213043689728, 0.17689335346221924, 0.12271057814359665, 0.37798571586608887, 0.5742578506469727, -0.31263336539268494, -0.09007785469293594, 0.15433351695537567, -0.045804712921381, 0.3793410062789917, 1.0225001573562622, -0.9516006112098694, 0.3751886188983917, 0.011717676185071468, 0.6489357948303223, 1.1407431364059448, -0.05717746913433075, 0.4312865138053894, -0.6639845967292786, 0.30604180693626404, 0.2743743658065796, 0.4227166473865509, -0.1568983793258667, -0.36747369170188904, 0.33440545201301575, 0.19787585735321045, -0.8513752222061157, -0.4814155399799347, 0.3423655331134796, -0.7210606932640076, 0.13615001738071442, 0.7823707461357117, 0.06159219518303871, -0.11873704195022583, -0.1516464203596115, 0.28115114569664, 0.2902403473854065, -0.29629069566726685, 0.897243320941925, 0.2670931816101074, -0.622397780418396, -0.36333170533180237, -0.39974337816238403, 0.6499195098876953, 0.588062047958374, -0.5556952357292175, -0.09964951127767563, -0.03625355288386345, 0.1045987457036972, 0.08786629885435104, 0.4878121316432953, 0.14764554798603058, 0.2982839345932007, -0.22106584906578064, -0.3112456500530243, -0.10403525084257126, -0.2523905038833618, -0.39532363414764404, 0.17329899966716766, -0.2364278882741928, -0.22885094583034515 ]
http://arxiv.org/abs/2405.16821v1
http://arxiv.org/pdf/2405.16821v1
Perturbation-Restrained Sequential Model Editing
2024-05-27T04:40:56
2024-05-27T04:40:56
Jun-Yu Ma, Hong Wang, Hao-Xiang Xu, Zhen-Hua Ling, Jia-Chen Gu
cs.CL
cs.CL
Model editing is an emerging field that focuses on updating the knowledge embedded within large language models (LLMs) without extensive retraining. However, current model editing methods significantly compromise the general abilities of LLMs as the number of edits increases, and this trade-off poses a substantial challenge to the continual learning of LLMs. In this paper, we first theoretically analyze that the factor affecting the general abilities in sequential model editing lies in the condition number of the edited matrix. The condition number of a matrix represents its numerical sensitivity, and therefore can be used to indicate the extent to which the original knowledge associations stored in LLMs are perturbed after editing. Subsequently, statistical findings demonstrate that the value of this factor becomes larger as the number of edits increases, thereby exacerbating the deterioration of general abilities. To this end, a framework termed Perturbation Restraint on Upper bouNd for Editing (PRUNE) is proposed, which applies the condition number restraints in sequential editing. These restraints can lower the upper bound on perturbation to edited models, thus preserving the general abilities. Systematically, we conduct experiments employing three popular editing methods on three LLMs across four representative downstream tasks. Evaluation results show that PRUNE can preserve considerable general abilities while maintaining the editing performance effectively in sequential model editing. The code and data are available at https://github.com/mjy1111/PRUNE.
[ -0.25833791494369507, -0.7796807289123535, 0.5979490280151367, 0.42448586225509644, -0.2760647237300873, -0.017433125525712967, -0.3344484865665436, -0.10129258781671524, -0.13133126497268677, 0.6823474168777466, -0.41036808490753174, -0.48396772146224976, -0.6209578514099121, 0.4212002754211426, -0.355760395526886, 0.8278854489326477, -0.14464882016181946, -0.10494592785835266, -0.15203611552715302, 0.0005672777770087123, -0.5758927464485168, -0.913232147693634, -0.45278865098953247, 0.1789175420999527, 0.600774884223938, 0.3683280944824219, 0.9129554629325867, 0.7067254185676575, 0.6772042512893677, 0.44664281606674194, -0.5984642505645752, -0.014323730953037739, -0.6228820085525513, 0.3004804253578186, -0.3235137164592743, -0.6612247824668884, -0.7764664888381958, -0.26118817925453186, 1.2121745347976685, 0.35933566093444824, -0.02658994495868683, -0.024017661809921265, 0.06863771378993988, 0.5979341268539429, -0.5470725297927856, -0.5180985331535339, -0.7488839030265808, -0.06532493978738785, -0.3787190914154053, -0.029858890920877457, -0.5317090749740601, 0.04124774411320686, -0.08921167254447937, -0.7025495767593384, 0.0997157022356987, -0.20922331511974335, 0.9542807936668396, 0.7385497689247131, -0.07614342868328094, 0.36647188663482666, -0.7112576365470886, 0.5468850135803223, -0.8815344572067261, 0.25289854407310486, 0.3291440010070801, -0.2715138792991638, -0.3535394072532654, -0.5917174816131592, -0.5410401225090027, 0.005267512984573841, 0.02320861630141735, -0.10416968911886215, -0.14903445541858673, 0.49121949076652527, 0.7745206356048584, 0.2620196044445038, -0.19608451426029205, 0.4352653920650482, -0.3033544719219208, -0.12160108238458633, 0.6104668378829956, 0.2920169532299042, 0.38567325472831726, -0.2193932980298996, -0.10278476774692535, -0.11293330788612366, -0.8957949876785278, 0.011050724424421787, 0.6279169917106628, -0.23057007789611816, 0.2856737971305847, 0.6086718440055847, -0.053064100444316864, 0.6798087954521179, 0.21700133383274078, -0.10933829843997955, 0.06975973397493362, -0.4486660063266754, -0.5106218457221985, -0.36573857069015503, 0.6852431893348694, 0.24318495392799377, 0.2827567160129547, 0.03856806084513664, -0.30035004019737244, -0.08252514898777008, 0.28945258259773254, -0.7039890289306641, -0.03268545866012573, 0.030782410874962807, -0.2556256651878357, -0.4341481924057007, 0.10948611050844193, -0.4325616955757141, -0.49545279145240784, -0.25791871547698975, 0.17341545224189758, -0.27573785185813904, 0.052303507924079895, 0.3111206889152527, -0.09072007983922958, -0.27734267711639404, 0.6135162711143494, -0.6906377673149109, 0.22259201109409332, 0.5609340667724609, 0.7925238609313965, 0.07474890351295471, -0.30030176043510437, -0.20938430726528168, 0.20020785927772522, -0.3531598448753357, 0.3672963082790375, -0.7730457782745361, -0.6536431312561035, -0.4843789041042328, 0.026533538475632668, -0.03867562115192413, -0.5032684803009033, 0.45369458198547363, -0.6898242235183716, -0.18522246181964874, -0.16652943193912506, -0.3392782211303711, -0.16120468080043793, -0.1803407073020935, -0.6777632832527161, 0.6031931638717651, -0.12177431583404541, -0.8634677529335022, 0.12943381071090698, -0.2120639681816101, -0.3881855309009552, -0.46567443013191223, 0.01747516728937626, -0.6202895641326904, 0.4721662700176239, 0.17853885889053345, 0.04489335045218468, -0.10424152761697769, 0.3507022261619568, -0.48851919174194336, -0.3152017593383789, 0.46218636631965637, -0.25713977217674255, 0.5395902991294861, -0.10725309699773788, 0.26866379380226135, 0.6974023580551147, -0.634617269039154, -0.1942930519580841, -0.1535966694355011, -0.547360897064209, -0.4026026725769043, 0.24265499413013458, -0.6203590631484985, 0.35188883543014526, -0.05851249396800995, -0.4607275724411011, 0.8148482441902161, -0.2839714288711548, 0.5415757894515991, 1.1105868816375732, 0.7404332756996155, 0.40811094641685486, -0.4751204550266266, 0.7495235204696655, -0.07181873917579651, 0.23257620632648468, -0.1191156879067421, -0.44494563341140747, -0.8785882592201233, -0.13781510293483734, 0.717789888381958, 0.7493010759353638, -0.5433740019798279, 0.22083407640457153, -0.09929543733596802, -0.2654170095920563, -0.6821696758270264, 0.38787099719047546, 0.40605536103248596, 0.27178341150283813, 0.322501003742218, -0.4200279414653778, -0.6778908371925354, -0.9670456051826477, -0.3915160894393921, 0.09656651318073273, -0.11066720634698868, -0.12176205217838287, 0.3481515645980835, -0.027021367102861404, 0.6519681215286255, -0.299565851688385, -0.21826966106891632, 0.043490875512361526, 0.05772022157907486, 0.44362175464630127, 0.6863462328910828, 0.3694266080856323, -0.5275475382804871, -0.20591388642787933, -0.2995298504829407, -0.3554189205169678, -0.4424305260181427, -0.4577521085739136, -0.32009631395339966, 0.23404443264007568, 0.5677043795585632, -0.7085140943527222, 0.8112391233444214, 0.32304516434669495, -0.2941504716873169, 0.7215284705162048, -0.2617509961128235, 0.1282930076122284, -0.4641808569431305, -0.00674406485632062, -0.09295301139354706, 0.02498745732009411, -0.6778304576873779, 0.058607082813978195, 0.1294676512479782, -0.013647275045514107, -0.3524493873119354, 0.27176180481910706, -0.5175870060920715, -0.020972920581698418, -0.13768617808818817, -0.18068933486938477, -0.1474800705909729, 0.45258867740631104, 0.06366696953773499, 0.5241059064865112, 0.2772233486175537, -0.6744738817214966, -0.16559968888759613, 0.46802961826324463, -0.34504058957099915, -0.0635945200920105, -0.8343045711517334, 0.6210857033729553, -0.22807301580905914, 0.20521730184555054, -0.8121126890182495, -0.03732163459062576, 0.08834365010261536, -0.31866562366485596, 0.41304895281791687, -0.40514492988586426, -0.5237057209014893, -0.17037594318389893, -0.3583245575428009, 0.10182860493659973, 0.2288666069507599, 0.08353089541196823, 0.38865208625793457, 0.13528256118297577, -0.5052053928375244, -0.5838631987571716, -0.7172052264213562, 0.12922663986682892, -0.10963436216115952, -0.9297208786010742, 0.6589352488517761, -0.1816089153289795, -0.49184903502464294, 0.10472549498081207, -0.26766955852508545, 0.17787428200244904, 0.3610035181045532, 0.28186678886413574, 0.41909945011138916, 0.1326122134923935, 0.1550319641828537, 0.387780100107193, -0.24965068697929382, -0.20649957656860352, 0.02493659220635891, 0.18185599148273468, 0.2903846502304077, -0.24834582209587097, -0.5113269090652466, 0.02974945493042469, 0.6700649857521057, -0.5823613405227661, 0.4984103739261627, -0.02197491005063057, -0.22109872102737427, -0.09563171863555908, -0.4470430016517639, -0.17969898879528046, -0.5042482018470764, 0.610312283039093, -0.7033855319023132, -0.8810742497444153, 0.5358589887619019, 0.14942581951618195, 0.21478118002414703, 0.411872923374176, 0.45622944831848145, 0.24637258052825928, 1.1724741458892822, 0.48645880818367004, -0.038877494633197784, 0.6211276054382324, -0.14231647551059723, -0.09148934483528137, -1.0524600744247437, 0.21233327686786652, -0.5215228199958801, -0.7070057988166809, -0.3460708260536194, -0.5642310976982117, 0.3217323124408722, 0.6261672377586365, -0.4175911247730255, 0.05037139356136322, -0.45543134212493896, 0.39826807379722595, 0.29845401644706726, 0.16085395216941833, 0.4187016487121582, -0.23357993364334106, -0.3034076392650604, -0.27647536993026733, -0.701147735118866, -0.4440256357192993, 0.920055627822876, 0.4840112030506134, 0.7059121131896973, 0.40946078300476074, 0.5154100060462952, 0.1362205147743225, 0.37021487951278687, -0.5144235491752625, 0.7089190483093262, -0.31686487793922424, -0.6452916264533997, -0.40435296297073364, -0.2299247533082962, -0.5036042332649231, 0.43682706356048584, -0.3684009313583374, -0.8367409706115723, 0.5198860764503479, 0.46739575266838074, -0.5462566614151001, 0.42614254355430603, -0.5279476642608643, 0.6372959613800049, -0.4193950295448303, -0.8029381632804871, -0.4898364245891571, -0.5350415110588074, 0.4033934473991394, -0.1587577909231186, 0.2000446617603302, 0.009404866956174374, -0.30836501717567444, 0.6841315031051636, -0.6173682808876038, 0.8367254734039307, -0.27521535754203796, 0.16231903433799744, 0.10200191289186478, 0.4753389358520508, 0.8140713572502136, 0.06939136236906052, -0.3707766830921173, -0.12225152552127838, -0.1915660798549652, -0.036420874297618866, -0.7559131383895874, 0.49490857124328613, -0.6583855748176575, -1.214081048965454, -0.24447309970855713, -0.3840780556201935, -0.44481557607650757, 0.21836835145950317, 0.1840108335018158, 0.2862129509449005, 0.251117080450058, 0.3024005591869354, 0.48506107926368713, -0.5902610421180725, 0.31853097677230835, 0.5648464560508728, -0.5014488101005554, -0.47491681575775146, 0.540605902671814, 0.6051976680755615, 0.5216556191444397, 0.2884161174297333, 0.17064282298088074, 0.13954296708106995, -1.0829875469207764, -0.11159589886665344, 0.21303334832191467, -0.5829923748970032, -0.13246577978134155, -0.37090003490448, 0.005222797393798828, -0.3126402199268341, -0.2659696936607361, 0.04683613032102585, -0.5793966054916382, -0.33638566732406616, -0.17534123361110687, 0.3561215400695801, 0.8815089464187622, -0.1780678629875183, 0.28724589943885803, -0.6672192811965942, 0.2987740635871887, 0.08613699674606323, 0.40010055899620056, 0.10396137833595276, -0.9128496050834656, 0.0037535179872065783, -0.20961833000183105, -0.22628431022167206, -1.1378370523452759, 0.3586886525154114, 0.07942251116037369, 0.41870251297950745, 0.36695536971092224, 0.016770897433161736, 0.870792031288147, -0.3126380145549774, 0.3268624544143677, -0.07864809781312943, -1.077451467514038, 0.4153253436088562, -0.40416210889816284, 0.6232872605323792, 0.4587939977645874, 0.30565524101257324, -0.5824893712997437, -0.5192735195159912, -0.4947744905948639, -0.8849390745162964, 0.7018252611160278, -0.0697895884513855, -0.06511618196964264, 0.2224137783050537, 0.4507063925266266, -0.28582024574279785, 0.22145965695381165, -0.37544751167297363, 0.09611256420612335, -0.02616691216826439, 0.23733381927013397, 0.22494760155677795, -0.7431827783584595, 0.18819531798362732, -0.6247620582580566, 0.8611873388290405, 0.4246276319026947, -0.045174162834882736, 0.4758204519748688, -0.3988415598869324, -0.2600719928741455, 0.40827804803848267, 0.762824535369873, 0.8052332997322083, -0.25454920530319214, -0.170430526137352, 0.40240833163261414, -0.37972190976142883, 0.19115129113197327, -0.10647950321435928, -0.5750463008880615, -0.36198705434799194, 0.3108392655849457, 1.0789258480072021, 0.6383330821990967, -0.3094196319580078, -0.028840716928243637, 0.046972110867500305, -0.3239338994026184, 0.021832549944519997, 0.1746811866760254, -0.013777414336800575, -0.09446381032466888, 0.13778972625732422, 0.41209876537323, -0.17776407301425934, -0.0786111056804657, 0.23384307324886322, -0.016112372279167175, 0.018993332982063293, -0.3497592508792877, 0.7541163563728333, 0.18116211891174316, -0.44681328535079956, 0.7925940752029419, -0.06078420579433441, -0.6909689903259277, 0.4397817552089691, 0.39912232756614685, 0.6473568081855774, -0.4035120904445648, -0.27835366129875183, 0.5021238327026367, 0.5294185876846313, 0.06225770339369774, 0.14134769141674042, 0.24039088189601898, -0.8817979693412781, -0.8200802206993103, -0.5043920278549194, -0.34220024943351746, 0.2595447897911072, -0.3876248598098755, 0.4017426073551178, -1.0315628051757812, -0.5506276488304138, 0.08298207074403763, -0.2569658160209656, -0.3600032329559326, -0.015366182662546635, -0.059536416083574295, 0.9607656598091125, -0.27892088890075684, 1.047187089920044, 0.7399849891662598, -0.3475930988788605, -0.7693937420845032, -0.32272645831108093, 0.2925085723400116, -0.25901269912719727, 0.405318021774292, -0.21779514849185944, 0.09343049675226212, 0.17780524492263794, -0.48606181144714355, -0.973534107208252, 0.7057983875274658, 0.5536264777183533, -1.1685082912445068, -0.25030308961868286, -0.3165208399295807, 0.4754795730113983, 0.21992887556552887, -0.08284826576709747, 0.5694374442100525, 0.8643522262573242, -0.08686642348766327, -0.9534910917282104, -0.007058111485093832, -0.45241937041282654, 0.016506604850292206, 0.33010220527648926, -0.49845150113105774, 0.9572946429252625, -0.43279317021369934, -0.22397944331169128, 0.296080082654953, 0.46565788984298706, 0.111650750041008, -0.4833175241947174, 0.5218207836151123, 0.9207291603088379, 0.7032977938652039, -0.05896703898906708, 1.1896671056747437, -0.2183622121810913, 0.04953211918473244, 1.2809808254241943, -0.2387252151966095, 0.8364059329032898, 0.34587642550468445, -0.2569699287414551, 0.3356875777244568, 0.49679815769195557, -0.14890635013580322, 0.1497110277414322, 0.5265613794326782, -0.1844778060913086, -0.30572062730789185, 0.2745116651058197, -0.1473873257637024, 0.3409835398197174, 0.4162081480026245, -0.46995770931243896, 0.35675203800201416, -0.10027724504470825, 0.46221789717674255, 0.10947681963443756, -0.4596713185310364, 0.5341636538505554, 0.008709194138646126, -0.7848374843597412, 0.5441027283668518, 0.3462130129337311, 0.5310625433921814, -0.6681933403015137, -0.006986397318542004, 0.031352829188108444, 0.2934054136276245, -0.343407541513443, -0.7137461304664612, 0.23472781479358673, 0.06096279248595238, -0.40132075548171997, -0.34138399362564087, 0.943082332611084, -0.28387001156806946, -0.4648955166339874, 0.21692439913749695, -0.006852985359728336, -0.29347148537635803, -0.07120884209871292, -0.5063360929489136, 0.4832701086997986, 0.12367138266563416, -0.5246497988700867, 0.39745309948921204, 0.1394507735967636, -0.2634083926677704, 0.4854491651058197, 0.6430327892303467, 0.33036333322525024, 0.003121452871710062, -0.020827874541282654, 0.8349672555923462, -0.6063995361328125, -0.40219202637672424, -0.8958293795585632, 0.8009814023971558, -0.029531577602028847, -0.5543274283409119, 0.7731050252914429, 0.05915749445557594, 0.6487014293670654, -0.05861951783299446, 0.9272666573524475, -0.0001994791382458061, 0.375400573015213, -0.6999913454055786, 0.630479633808136, -0.11855517327785492, 0.38702794909477234, -0.4385436475276947, -0.6795737147331238, -0.5914716720581055, 0.47266045212745667, -0.8213779330253601, -0.17171640694141388, 0.5357017517089844, 0.8239787220954895, 0.4052818715572357, -0.17815349996089935, 0.3063889443874359, 0.8168202638626099, 0.0689084455370903, 0.4037694036960602, 0.8126946091651917, 0.13705086708068848, 0.00431791739538312, -0.47402289509773254, -0.1046341136097908, 0.050879959017038345, -0.8189306855201721, -0.6259254813194275, -0.284267395734787, -0.2048654407262802, -0.24983739852905273, 0.3423272371292114, 0.6314842104911804, 0.5174646377563477, -0.7023157477378845, -0.18488973379135132, -0.019877657294273376, 0.36962977051734924, -0.12925182282924652, -0.12342265993356705, 0.25706616044044495, -0.0592079795897007, -0.4191805124282837, 0.5224130153656006, 0.2366340160369873, -0.010905183851718903, -0.0933048352599144, -0.07796484977006912, -0.5517238974571228, 0.022372638806700706, 0.3850080966949463, 0.3872879445552826, -0.4363504648208618, -0.22994431853294373, -0.08409543335437775, 0.3219481110572815, -0.09036571532487869, 0.9844169616699219, -0.629938542842865, 0.6062493920326233, 0.7384084463119507, 0.618971586227417, 0.40672916173934937, 0.41696667671203613, 0.7858659029006958, -0.679918110370636, 0.347416490316391, 0.21685552597045898, 0.5315502285957336, 0.24272875487804413, -0.17974638938903809, 0.3611193001270294, 0.3188481032848358, -0.6434239149093628, -0.8969528079032898, 0.09137821942567825, -0.5857741832733154, -0.31429314613342285, 1.0999670028686523, -0.15772676467895508, -0.021250074729323387, 0.07264538109302521, -0.42308181524276733, 0.1642940640449524, -0.27445051074028015, 0.3550613522529602, 0.7845641374588013, -0.12278661876916885, -0.2759075462818146, -0.5537348985671997, 0.5044065713882446, 0.6229714751243591, -0.38750794529914856, 0.02635844796895981, 0.6509230136871338, 0.14201416075229645, -0.10934541374444962, 0.4643387794494629, -0.20024576783180237, 0.43464240431785583, -0.26478368043899536, 0.12554886937141418, -0.476884126663208, -0.47347795963287354, -0.6550466418266296, 0.17679055035114288, 0.5905480980873108, 0.188445582985878 ]
http://arxiv.org/abs/2405.16810v2
http://arxiv.org/pdf/2405.16810v2
Performance evaluation of Reddit Comments using Machine Learning and Natural Language Processing methods in Sentiment Analysis
2024-05-27T03:59:28
2024-05-28T14:28:49
Xiaoxia Zhang, Xiuyuan Qi, Zixin Teng
cs.CL
cs.CL
Sentiment analysis, an increasingly vital field in both academia and industry, plays a pivotal role in machine learning applications, particularly on social media platforms like Reddit. However, the efficacy of sentiment analysis models is hindered by the lack of expansive and fine-grained emotion datasets. To address this gap, our study leverages the GoEmotions dataset, comprising a diverse range of emotions, to evaluate sentiment analysis methods across a substantial corpus of 58,000 comments. Distinguished from prior studies by the Google team, which limited their analysis to only two models, our research expands the scope by evaluating a diverse array of models. We investigate the performance of traditional classifiers such as Naive Bayes and Support Vector Machines (SVM), as well as state-of-the-art transformer-based models including BERT, RoBERTa, and GPT. Furthermore, our evaluation criteria extend beyond accuracy to encompass nuanced assessments, including hierarchical classification based on varying levels of granularity in emotion categorization. Additionally, considerations such as computational efficiency are incorporated to provide a comprehensive evaluation framework. Our findings reveal that the RoBERTa model consistently outperforms the baseline models, demonstrating superior accuracy in fine-grained sentiment classification tasks. This underscores the substantial potential and significance of the RoBERTa model in advancing sentiment analysis capabilities.
[ -0.4458771347999573, -0.7450207471847534, 0.424960732460022, 0.2632434666156769, -0.39716821908950806, -0.02461939863860607, -0.4631412625312805, -0.5962530970573425, 0.0676981508731842, 0.2023729532957077, -0.621696949005127, -0.6041793823242188, -0.7745451927185059, 0.1802322268486023, -0.3868996798992157, 1.3258683681488037, 0.10369332879781723, 0.15169937908649445, -0.34997308254241943, -0.23522579669952393, -0.18999241292476654, -0.5407360792160034, -0.37050074338912964, -0.275014728307724, 0.3695242404937744, 0.1543368250131607, 0.7178270220756531, -0.01745622046291828, 1.0261213779449463, 0.2916465401649475, -0.17091792821884155, 0.15357814729213715, -0.49101969599723816, 0.12515103816986084, 0.06272998452186584, -0.34838005900382996, -0.4193655252456665, 0.08631306886672974, 0.2939015328884125, 0.36816591024398804, -0.022614935413002968, 0.4583200514316559, 0.10852793604135513, 0.9296286702156067, -0.6424217224121094, 0.22448047995567322, -0.42039409279823303, 0.2769901156425476, -0.0059390682727098465, 0.028551694005727768, -0.5875557661056519, -0.7667325735092163, 0.3529416024684906, -0.2640179693698883, 0.24027712643146515, -0.236125186085701, 0.8680068254470825, 0.3056930601596832, -0.10360118746757507, -0.2706381380558014, -0.914747416973114, 1.1102406978607178, -0.6615623831748962, 0.22380788624286652, -0.05744054168462753, 0.42530491948127747, 0.0687842071056366, -0.7630520462989807, -0.4089650511741638, -0.10679629445075989, -0.1205769032239914, 0.41825318336486816, -0.5842090845108032, -0.14902879297733307, 0.17194421589374542, 0.4965716600418091, -0.6757379770278931, -0.16918937861919403, -0.09677856415510178, 0.15193699300289154, 0.4339567720890045, 0.1909095197916031, 0.19512394070625305, -0.42865076661109924, -0.2467236965894699, -0.1808401346206665, -0.051359884440898895, 0.07234137505292892, 0.4069426655769348, 0.36831435561180115, -0.11772506684064865, 0.41031983494758606, -0.07339077442884445, 0.8064870834350586, -0.17179688811302185, 0.3654279410839081, 0.2032114714384079, -0.2674999535083771, -0.40751913189888, -0.754681408405304, 1.025065302848816, 0.715141773223877, 0.4034144878387451, -0.11720594763755798, -0.010389585047960281, 0.4303048551082611, 0.7608285546302795, -0.68414705991745, -0.28441011905670166, 0.178550586104393, -0.8402777910232544, -0.45915934443473816, 0.23340708017349243, -1.2306385040283203, -0.44168055057525635, -0.3330790400505066, 0.03847174346446991, -0.28634950518608093, -0.21021027863025665, -0.11223045736551285, -0.3319734036922455, 0.06679821014404297, 0.3029348850250244, -0.6294432878494263, 0.5164588689804077, 0.7664962410926819, 0.9139910340309143, -0.19695915281772614, 0.08892032504081726, -0.19296389818191528, -0.5817497372627258, -0.1832619160413742, 0.8817914128303528, -1.1084816455841064, -0.42331168055534363, 0.13598309457302094, -0.25383949279785156, -0.21570850908756256, -0.6402895450592041, 0.8674150705337524, -0.7604917883872986, 0.2966043949127197, -0.006586646195501089, -0.4813961386680603, -0.5314299464225769, 0.25964346528053284, -0.7028900980949402, 1.0365586280822754, 0.244532510638237, -0.8540570735931396, 0.23277547955513, -1.0625090599060059, -0.43806192278862, -0.17334158718585968, 0.07072117924690247, -0.5917976498603821, 0.7036274671554565, 0.14149270951747894, 0.6408309936523438, -0.381613165140152, -0.07269947230815887, -0.5720904469490051, -0.32501938939094543, 0.5374743342399597, -0.4803891181945801, 0.4075961709022522, 0.15507780015468597, -0.34688758850097656, 0.23525163531303406, -0.7344681024551392, 0.1838683784008026, 0.06812072545289993, -0.10562296211719513, -0.3540481925010681, 0.013398528099060059, 0.3111407160758972, 0.28705039620399475, 0.0257496889680624, -0.5423892140388489, -0.04090080037713051, -0.3736378252506256, 0.6810997128486633, 0.6052622199058533, 0.10743193328380585, 0.38168999552726746, -0.07116691768169403, 0.6019245386123657, 0.02838851884007454, 0.37212279438972473, 0.1334727555513382, -0.6121447086334229, -0.5721256136894226, -0.20410753786563873, 0.35330361127853394, 0.3988400995731354, -0.045077260583639145, 0.36049193143844604, -0.38632434606552124, -0.6845449805259705, -0.7304041385650635, -0.033692389726638794, 0.18966396152973175, 0.4413054585456848, 0.4819624125957489, -0.2596825659275055, -0.6323314309120178, -0.9603917002677917, -0.35663801431655884, -0.20471911132335663, -0.07875088602304459, 0.43605494499206543, 0.5263926982879639, -0.46505385637283325, 0.973332405090332, -0.43572068214416504, -0.07694035023450851, -0.05290679633617401, 0.7007126808166504, 0.06016683951020241, 0.09739819169044495, 0.3479355275630951, -0.7955538630485535, -0.566018283367157, 0.060302190482616425, -0.8290796875953674, 0.10427393019199371, 0.155038520693779, 0.039784371852874756, 0.48161622881889343, -0.008110006339848042, -0.5945248007774353, 0.3715115189552307, 0.7361342310905457, 0.13343419134616852, 0.41194236278533936, 0.051581185311079025, 0.2919275760650635, -0.8158252835273743, 0.1438874900341034, 0.2688097655773163, -0.19806833565235138, -0.46170172095298767, -0.20049254596233368, 0.10675421357154846, -0.0972452461719513, -0.37468743324279785, 0.16864582896232605, -0.1162271499633789, -0.06144586578011513, -0.1017865389585495, 0.2014942169189453, -0.021486597135663033, 0.42038246989250183, 0.09205136448144913, 0.6203945875167847, 0.27033326029777527, -0.4258679747581482, 0.3875780403614044, -0.14381414651870728, -0.25741344690322876, 0.6454432010650635, -0.7108986973762512, 0.38070163130760193, -0.0033763821702450514, 0.22440125048160553, -1.3229565620422363, -0.3853626847267151, 0.21490409970283508, -0.7131406664848328, 0.05952280014753342, -0.04085705056786537, -0.41709306836128235, -0.5939124822616577, -0.7160053849220276, -0.02255670726299286, 0.601885974407196, -0.3243007957935333, 0.8442913293838501, 0.4384300708770752, -0.30375945568084717, -0.3547842800617218, -0.5053331851959229, 0.11407114565372467, -0.38279131054878235, -0.6251123547554016, -0.03521480783820152, -0.003344114637002349, -0.374133825302124, 0.17570540308952332, 0.06218462437391281, -0.2707878649234772, 0.136880025267601, 0.5027028918266296, 0.33406031131744385, 0.14831525087356567, 0.2506261169910431, -0.22366128861904144, -0.1276944875717163, 0.25103405117988586, 0.008321484550833702, 0.522282063961029, -0.4778027832508087, -0.09680355340242386, -0.566079318523407, 0.03708446025848389, 0.7419470548629761, -0.2616656422615051, 0.5936247706413269, 0.6223909854888916, -0.2238396853208542, -0.28919175267219543, -0.4289409816265106, -0.031695954501628876, -0.29537656903266907, 0.4316408336162567, 0.14232631027698517, -0.9121212959289551, 0.5872904062271118, -0.02110106684267521, -0.035745665431022644, 0.5717796087265015, 0.6025843620300293, -0.25173360109329224, 1.150412917137146, 0.5945481657981873, -0.4580044746398926, 0.5371227860450745, -0.18533867597579956, 0.3820398449897766, -0.7735763788223267, 0.13828277587890625, -0.6614362001419067, -0.37623533606529236, -0.7908293604850769, -0.5194395184516907, 0.0960204154253006, -0.4660557210445404, 0.10130578279495239, 0.05785524100065231, -0.5731745958328247, 0.34459564089775085, 0.38267725706100464, -0.046515628695487976, 0.09030579030513763, 0.09298752248287201, 0.3532961308956146, -0.19084492325782776, -0.462787389755249, -0.9642073512077332, 1.3799748420715332, 0.5212711691856384, 0.6287345290184021, -0.05972198396921158, 0.5405029058456421, 0.6402730941772461, 0.6646541357040405, -0.7812206149101257, 0.5526588559150696, -0.45739617943763733, -0.3332022428512573, -0.1394849568605423, -0.46588513255119324, -0.6055358648300171, 0.035671666264534, -0.053478412330150604, -0.5580176115036011, -0.16769243776798248, -0.012629075907170773, -0.37160536646842957, 0.15424399077892303, -0.8234561681747437, 0.9356829524040222, 0.06837330758571625, -0.38486960530281067, -0.3707093894481659, -0.7619640827178955, 0.3230651319026947, 0.047181256115436554, 0.13097788393497467, 0.21679489314556122, 0.1446150243282318, 0.930934488773346, -0.1979653537273407, 0.7824916839599609, -0.24442613124847412, 0.08068470656871796, 0.3911501169204712, -0.2590187191963196, 0.39318570494651794, 0.07481541484594345, -0.14852046966552734, 0.44940051436424255, -0.33229461312294006, -0.08842460066080093, -0.6705799102783203, 0.7198105454444885, -0.7866773009300232, 0.08137891441583633, -0.19749410450458527, -0.22829851508140564, -0.274991512298584, -0.10708107054233551, 0.1598712056875229, 0.12372546643018723, -0.4277264475822449, 0.34251853823661804, 0.6344823241233826, 0.039959363639354706, 0.4321649372577667, 0.18468697369098663, -0.04995635524392128, -0.570030689239502, 0.9487155675888062, 0.11208838224411011, 0.028860872611403465, 0.17918813228607178, 0.10972477495670319, -0.3986590504646301, -0.3405236601829529, -0.3949834406375885, 0.10156546533107758, -0.6615632176399231, -0.2274627983570099, -0.6144499182701111, 0.14263349771499634, -0.298671156167984, 0.010373996570706367, -0.4617297351360321, -0.2855733633041382, -0.21718409657478333, -0.13167418539524078, 0.12181015312671661, 0.8712567687034607, 0.2769124507904053, 0.26323962211608887, -0.9199313521385193, 0.30678823590278625, 0.4353480339050293, 0.5876544117927551, 0.009379943832755089, -0.3853771984577179, -0.29824286699295044, -0.009027384221553802, -0.28737950325012207, -0.676805317401886, 0.30038172006607056, -0.022513343021273613, 0.12954039871692657, 0.3534119725227356, 0.010740364901721478, 0.7156499624252319, -0.17368623614311218, 0.9328888654708862, -0.0435483418405056, -0.8075017929077148, 0.5902921557426453, -0.34976744651794434, 0.0846882238984108, 0.6135044693946838, 0.23088620603084564, -0.3840193450450897, -0.5445917844772339, -0.6993952393531799, -0.8488782048225403, 0.5546951293945312, 0.38512352108955383, 0.23143866658210754, -0.19703660905361176, 0.14132651686668396, 0.09612671285867691, 0.333538293838501, -0.7263223528862, -0.002510964637622237, -0.0432540625333786, -0.4108837842941284, -0.008884730748832226, -0.3291984796524048, -0.11400651931762695, 0.06739926338195801, 0.6616610288619995, 0.02016783505678177, 0.5186923742294312, 0.009696854278445244, -0.2797520160675049, -0.2879301905632019, 0.37413346767425537, 0.555295467376709, 0.4223978519439697, -0.44126221537590027, -0.16863195598125458, 0.06017856299877167, -0.2938914895057678, -0.2201855182647705, 0.05401945486664772, -0.08829201757907867, 0.23844940960407257, 0.3300706148147583, 0.7310590744018555, 0.1835496872663498, -0.6902963519096375, 0.41244104504585266, -0.582765519618988, 0.025974150747060776, -0.20850501954555511, 0.012046358548104763, 0.08152362704277039, 0.19408200681209564, -0.02825998142361641, 0.42042407393455505, 0.3084172010421753, -0.3890255391597748, -0.08580023795366287, 0.49643880128860474, -0.6862331628799438, -0.5117670297622681, 0.29952487349510193, 0.195139080286026, -0.18409688770771027, 0.5154211521148682, -0.010816848836839199, -0.47860780358314514, 0.48698270320892334, 0.13379549980163574, 1.337819218635559, 0.06761258840560913, 0.3055240511894226, 0.16198204457759857, 0.1407032012939453, -0.0998784750699997, 0.16342481970787048, -0.04560956731438637, -0.34906384348869324, -0.3900902569293976, -0.73103266954422, -0.7231959104537964, -0.004010293632745743, -0.9738781452178955, 0.04831814020872116, -0.4821476340293884, -0.6198254823684692, -0.037342362105846405, -0.034873414784669876, -0.6696189045906067, 0.476937860250473, 0.21726639568805695, 0.7434426546096802, -0.9861049056053162, 0.21694348752498627, 1.1671664714813232, -0.27895981073379517, -0.3767998218536377, 0.19914031028747559, -0.0716763436794281, -0.27928078174591064, 0.7299310564994812, 0.4529758095741272, -0.5060821175575256, -0.2408575713634491, -0.4363791048526764, -0.23913531005382538, 0.5303194522857666, 0.08125420659780502, -0.38506343960762024, 0.4634639322757721, 0.08749706298112869, 1.1217947006225586, -0.39287102222442627, 0.5704330801963806, 0.5175946354866028, 0.43448057770729065, -0.20804592967033386, -0.614034116268158, -0.4975421130657196, -0.5023350119590759, 0.23119938373565674, 0.19294235110282898, -0.6046118140220642, 0.5704662799835205, 0.19360573589801788, -0.12517370283603668, -0.18856734037399292, 0.6676908731460571, -0.07245559245347977, 0.2242613136768341, 0.4041217863559723, 0.8987254500389099, 0.8476325869560242, -0.15404480695724487, 1.1262987852096558, -0.3762102723121643, 0.7500202059745789, 1.0336154699325562, -0.41773054003715515, 1.1475425958633423, 0.3099096715450287, -0.5289267897605896, 0.8400857448577881, 0.45654547214508057, 0.08560007065534592, 0.3074142038822174, 0.12854932248592377, -0.25787606835365295, -0.12772078812122345, -0.03751427307724953, -0.14241649210453033, 0.37586939334869385, 0.09917362779378891, -0.430969774723053, -0.15134944021701813, 0.028675148263573647, 0.1565074473619461, 0.17260882258415222, -0.28175121545791626, 1.0481075048446655, -0.22910349071025848, -0.6299583911895752, 0.12912245094776154, -0.1248292401432991, 0.5988577008247375, -0.550543487071991, -0.0014426886336877942, -0.19070814549922943, 0.42500439286231995, -0.26754310727119446, -0.7697413563728333, 0.495996356010437, 0.551341712474823, -0.39869189262390137, -0.15389762818813324, 0.9244790077209473, 0.14022740721702576, -0.6828760504722595, 0.45985376834869385, 0.1642715036869049, -0.04204238951206207, -0.2117275595664978, -0.6107142567634583, 0.20248985290527344, -0.16541577875614166, -0.6387394070625305, 0.3273705542087555, 0.4166842997074127, 0.053065236657857895, 0.5587261915206909, 0.5536009073257446, -0.037167347967624664, -0.05053963512182236, 0.1912398636341095, 0.9435116648674011, -0.8153296113014221, -0.3922572731971741, -1.1568922996520996, 0.7162621021270752, -0.3213578462600708, -0.21475090086460114, 0.9748844504356384, 0.4934614896774292, 0.7745068669319153, -0.33212602138519287, 1.0950170755386353, 0.06756671518087387, 0.8470786213874817, -0.17315219342708588, 0.41384822130203247, -0.34978756308555603, -0.01869097910821438, -0.636567234992981, -0.868725597858429, -0.6635070443153381, 0.9171231985092163, -0.5923888087272644, 0.2839764654636383, 0.4613136053085327, 0.5439393520355225, 0.16727691888809204, 0.4790049195289612, -0.05251036584377289, 0.1956261694431305, 0.32406818866729736, 0.3092662990093231, 0.9108524322509766, -0.35668355226516724, 0.3560015559196472, -0.36562538146972656, -0.24995730817317963, -0.47748664021492004, -0.9229600429534912, -0.8252917528152466, -0.13867101073265076, -0.2854918837547302, -0.2665309011936188, -0.004866031464189291, 0.7363580465316772, 0.5489863753318787, -0.8465334177017212, -0.2753087282180786, -0.1370580643415451, 0.11912152171134949, -0.292135089635849, -0.3036111295223236, 0.23852799832820892, -0.669104814529419, -0.7688434720039368, 0.019960377365350723, 0.6267693042755127, -0.3811693489551544, -0.1752634197473526, -0.08864819258451462, 0.11761606484651566, 0.0795067548751831, 0.773889422416687, -0.030649177730083466, -0.4826192855834961, -0.3116878271102905, 0.1494375765323639, -0.055766429752111435, 0.17227396368980408, 0.5394636988639832, -0.6398352980613708, 0.5816596746444702, 0.6062079668045044, 0.6466612219810486, 0.1083168312907219, 0.44732922315597534, 0.24575412273406982, -0.4427405595779419, -0.2840127646923065, 0.28494396805763245, 0.14547276496887207, 0.3598301410675049, 0.07765809446573257, 0.5088116526603699, 0.1760067492723465, -0.7944028377532959, -0.8682079315185547, -0.009797700680792332, -0.9642343521118164, -0.0431353822350502, 0.8058174252510071, -0.30939605832099915, -0.2552390694618225, 0.19858689606189728, -0.22853562235832214, 0.17958548665046692, -0.5105623006820679, 1.0060480833053589, 0.915364682674408, -0.38641470670700073, 0.07139172405004501, -0.6410681009292603, 0.24968770146369934, 0.4697856307029724, -0.8964736461639404, 0.45413851737976074, 0.6963158845901489, -0.03821500018239021, 0.3627719283103943, 0.3169863224029541, -0.2331547737121582, 0.34083566069602966, -0.4211902916431427, 0.05237638205289841, 0.2503117024898529, -0.31453636288642883, -0.7667989134788513, 0.7814563512802124, -0.02987162582576275, -0.19404105842113495 ]
http://arxiv.org/abs/2405.16806v2
http://arxiv.org/pdf/2405.16806v2
Entity Alignment with Noisy Annotations from Large Language Models
2024-05-27T03:52:55
2024-05-28T07:50:18
Shengyuan Chen, Qinggang Zhang, Junnan Dong, Wen Hua, Qing Li, Xiao Huang
cs.CL
cs.CL, cs.AI
Entity alignment (EA) aims to merge two knowledge graphs (KGs) by identifying equivalent entity pairs. While existing methods heavily rely on human-generated labels, it is prohibitively expensive to incorporate cross-domain experts for annotation in real-world scenarios. The advent of Large Language Models (LLMs) presents new avenues for automating EA with annotations, inspired by their comprehensive capability to process semantic information. However, it is nontrivial to directly apply LLMs for EA since the annotation space in real-world KGs is large. LLMs could also generate noisy labels that may mislead the alignment. To this end, we propose a unified framework, LLM4EA, to effectively leverage LLMs for EA. Specifically, we design a novel active learning policy to significantly reduce the annotation space by prioritizing the most valuable entities based on the entire inter-KG and intra-KG structure. Moreover, we introduce an unsupervised label refiner to continuously enhance label accuracy through in-depth probabilistic reasoning. We iteratively optimize the policy based on the feedback from a base EA model. Extensive experiments demonstrate the advantages of LLM4EA on four benchmark datasets in terms of effectiveness, robustness, and efficiency. Codes are available via https://github.com/chensyCN/llm4ea_official.
[ -0.29610109329223633, -0.5710636973381042, 0.6325690746307373, 0.06551574170589447, -0.08981023728847504, 0.014437511563301086, -0.44264549016952515, -0.8413376212120056, 0.25636807084083557, 0.6799068450927734, -0.3503588140010834, -0.6928926110267639, -0.34814831614494324, 0.0822826698422432, -0.21939030289649963, 0.9046032428741455, -0.3928077518939972, -0.22853799164295197, -0.13338734209537506, -0.33954429626464844, -0.22235415875911713, -0.17616283893585205, -0.5829633474349976, -0.3044132888317108, 0.6127170324325562, 0.35543712973594666, 0.846817135810852, 0.8562421798706055, 0.3673262894153595, 0.32115837931632996, 0.05198069289326668, 0.4958459138870239, -0.38420015573501587, 0.2721328139305115, -0.17251421511173248, -0.2380768060684204, -0.7077640891075134, -0.17284372448921204, 0.7299266457557678, 0.7339262366294861, -0.12981586158275604, 0.05509397014975548, 0.013655449263751507, 0.21924054622650146, -0.5215544104576111, 0.409828245639801, -0.7791916728019714, -0.24681246280670166, -0.33747896552085876, 0.2183447927236557, -0.3487466275691986, -0.17388767004013062, 0.09956343472003937, -0.9695600271224976, -0.09459300339221954, 0.14822880923748016, 1.2794064283370972, 0.4492129683494568, -0.43765437602996826, -0.06237896904349327, -0.6381972432136536, 0.751120924949646, -0.6119822859764099, 0.7349570989608765, 0.22995533049106598, -0.16538207232952118, -0.2381594330072403, -0.78704833984375, -0.583411693572998, 0.21749959886074066, 0.06446662545204163, -0.022309284657239914, -0.3010421097278595, 0.21673254668712616, -0.03402559086680412, 0.06495244055986404, -0.24341990053653717, 0.6369217038154602, -0.06640797108411789, -0.46213969588279724, 0.6919962167739868, -0.12176649272441864, 0.13527648150920868, 0.46827414631843567, -0.5635590553283691, 0.23228806257247925, -0.7803909778594971, -0.2951180040836334, 0.5689378380775452, 0.27337029576301575, 0.34464776515960693, 0.5011636018753052, -0.03279076889157295, 0.6682478785514832, 0.16451701521873474, -0.3040885031223297, 0.5383492112159729, -0.11056406050920486, -0.09987157583236694, 0.19021758437156677, 0.8298721313476562, 0.3228580057621002, 0.17615097761154175, -0.6347526907920837, -0.424957811832428, -0.052728015929460526, 0.35782045125961304, -0.7736105918884277, -0.31571516394615173, 0.2511501908302307, -0.007209157571196556, -0.24203677475452423, -0.1013515293598175, -0.6029396653175354, -0.2512285113334656, -0.5354609489440918, 0.35689350962638855, -0.21424362063407898, -0.22386997938156128, -0.13556905090808868, 0.5302137136459351, 0.0029742950573563576, 0.4466187655925751, -0.7817617654800415, 0.09463547170162201, 0.5906849503517151, 0.45041465759277344, -0.35302218794822693, -0.36528095602989197, -0.3924453556537628, 0.7515040636062622, -0.288534551858902, 0.7458986043930054, -0.5608741641044617, 0.05299719050526619, 0.11619868129491806, 0.20881912112236023, 0.22051845490932465, -0.5925700664520264, 0.5937168598175049, -0.8558780550956726, -0.12661917507648468, -0.19117477536201477, -0.7382850646972656, -0.4178381860256195, 0.1333623230457306, -0.8276687264442444, 1.031811237335205, -0.1728850156068802, -0.5223502516746521, 0.534795880317688, -0.6209785342216492, -0.38660573959350586, 0.12355230748653412, -0.24076369404792786, -0.8095456957817078, -0.37479162216186523, 0.37369871139526367, 0.42441418766975403, -0.15277992188930511, 0.5381021499633789, -0.5328834056854248, -0.1364426463842392, 0.18871548771858215, -0.3764249086380005, 0.5226837992668152, 0.2259989231824875, -0.4383542835712433, 0.21786987781524658, -0.7839449644088745, 0.04178853705525398, 0.016827581450343132, -0.4229462444782257, -0.32436612248420715, -0.15204136073589325, -0.2587752640247345, -0.05423133820295334, 0.5320841670036316, -0.36256784200668335, 0.3983566164970398, -0.23590290546417236, 0.1985371708869934, 0.7901726961135864, 0.09012676030397415, 0.7851854562759399, 0.1390313357114792, 0.32696276903152466, 0.008680732920765877, -0.052461475133895874, 0.1627015322446823, -0.47405776381492615, -0.47444072365760803, -0.6714765429496765, 0.6008538007736206, 0.4828903079032898, -0.5782763957977295, 0.5696436166763306, -0.40783610939979553, -0.23569072782993317, -0.8736355900764465, 0.636911153793335, 0.281646192073822, 0.5401824712753296, 0.5100401043891907, -0.19679173827171326, -0.2920844256877899, -0.9800604581832886, -0.05109112709760666, -0.21225371956825256, 0.07506811618804932, 0.12485289573669434, 0.03288746625185013, -0.3452214300632477, 0.7493571639060974, -0.3271501362323761, -0.5682286024093628, 0.03457652032375336, 0.06122224032878876, -0.12441056966781616, 0.23313367366790771, 0.41803205013275146, -0.7209904193878174, -0.22149577736854553, -0.08588995784521103, -0.6354479789733887, -0.5925654172897339, -0.08533311635255814, -0.5027406811714172, 0.25873515009880066, 0.5003941655158997, -0.67275071144104, 0.12500512599945068, 0.5341041088104248, -0.144404798746109, -0.022487683221697807, 0.12383042275905609, -0.09252502769231796, -0.9301995038986206, -0.03461310639977455, 0.041867610067129135, -0.13591116666793823, -0.3496372401714325, -0.0069354563020169735, 0.0747326910495758, 0.10308356583118439, -0.23711101710796356, 0.5138477683067322, -0.9407715797424316, -0.15967601537704468, -0.07889591157436371, 0.41921254992485046, 0.22690263390541077, 0.5231106877326965, 0.10927240550518036, 0.5539137721061707, 0.4261857569217682, -0.5154734253883362, 0.3158595561981201, 0.29870104789733887, -0.18845409154891968, 0.40452641248703003, -0.10986248403787613, 0.04123229160904884, -0.040478140115737915, 0.40839940309524536, -0.7150560021400452, -0.0441129133105278, 0.23204217851161957, -0.0681079551577568, 0.8104081749916077, -0.1657732129096985, -0.4707409739494324, -0.17322976887226105, -0.06850118190050125, 0.3681059181690216, 0.17651844024658203, -0.7502405643463135, 0.7575691938400269, 0.773052990436554, 0.028383001685142517, -0.815178394317627, -0.6281736493110657, 0.19130659103393555, -0.194915771484375, -0.522971510887146, 0.5930660963058472, 0.08397943526506424, -0.23784056305885315, 0.4830091893672943, -0.34190818667411804, -0.07740580290555954, 0.17205166816711426, 0.2878366708755493, 0.36181026697158813, -0.2017347365617752, 0.1973983645439148, -0.062125809490680695, -0.12453454732894897, -0.017670102417469025, -0.5882185697555542, -0.0043441904708743095, 0.06938181072473526, -0.43863582611083984, -0.4592028856277466, -0.0025474759750068188, 0.4951362907886505, -0.4169389009475708, 0.6655051708221436, 0.6432402729988098, -0.5060072541236877, -0.22353237867355347, -0.7192487716674805, -0.06723632663488388, -0.42968684434890747, 0.5118547081947327, -0.3576716184616089, -0.7422645688056946, 0.4769452214241028, -0.25249963998794556, 0.6574199199676514, 0.3541553020477295, 0.562609076499939, -0.019076624885201454, 0.8779988884925842, 0.39898431301116943, -0.17707550525665283, 0.4432508647441864, -0.1814589947462082, 0.5382854342460632, -0.7348030209541321, -0.3267935514450073, -0.3161744475364685, -0.44772207736968994, -0.3918811082839966, -0.40272197127342224, -0.07450071722269058, 0.25783392786979675, -0.21388404071331024, 0.19019244611263275, -0.4963269829750061, 0.4692077040672302, 0.2559203505516052, -0.11865892261266708, 0.24523577094078064, 0.02374952845275402, -0.09356985986232758, -0.08851799368858337, -0.5866414904594421, -0.6244068741798401, 0.976516842842102, 0.4957684278488159, 0.7444547414779663, 0.4185188114643097, 0.9043552279472351, -0.07695320248603821, 0.7786927223205566, -0.697067379951477, 0.5222465395927429, 0.10446715354919434, -0.529836893081665, -0.5672351121902466, -0.45320427417755127, -1.1024914979934692, 0.19173042476177216, -0.35515302419662476, -0.7107243537902832, 0.09251691401004791, 0.21038860082626343, -0.28875845670700073, 0.6380853652954102, -0.6600282788276672, 0.7821788787841797, -0.4188304841518402, -0.6513100862503052, 0.35401222109794617, -0.43899327516555786, 0.2928149104118347, -0.36422455310821533, 0.32074758410453796, -0.23352977633476257, -0.42385295033454895, 0.6891419887542725, -0.38267192244529724, 0.802854061126709, -0.1765379011631012, -0.47637027502059937, 0.5414908528327942, -0.02025126852095127, 0.8870982527732849, -0.03272775560617447, -0.042659416794776917, 0.40173035860061646, -0.495603084564209, -0.336769700050354, -0.4964347183704376, 0.9804425239562988, -0.8288716673851013, -0.49173691868782043, -0.15003734827041626, -0.5455876588821411, -0.40772300958633423, 0.35641059279441833, -0.023464582860469818, 0.10998848080635071, 0.07938089966773987, -0.0939842164516449, 0.7389969229698181, 0.09449433535337448, 0.293460875749588, 0.7369003295898438, -0.23815873265266418, -0.47966697812080383, 0.8607760071754456, 0.41651496291160583, 0.07619518786668777, 0.3393304944038391, -0.3271419107913971, -0.5505241751670837, -0.6981915235519409, -0.5228700041770935, 0.34356123208999634, -0.8164035677909851, -0.5912985801696777, -0.8343066573143005, 0.06435617804527283, -0.47411859035491943, -0.14991027116775513, -0.4704764485359192, -0.28566962480545044, -0.3518929183483124, -0.4335232973098755, 0.3583269417285919, 0.6250221133232117, 0.0922846794128418, 0.04362108185887337, -0.6520619988441467, 0.12480996549129486, 0.2803063988685608, 0.4454999566078186, -0.07070360332727432, -0.39301425218582153, -0.2270796000957489, -0.08606710284948349, -0.3340296149253845, -0.9501550197601318, 0.1137213259935379, 0.1390935331583023, 0.7684106826782227, 0.5063363909721375, 0.13764235377311707, 0.7525606155395508, -0.44494912028312683, 0.48461341857910156, 0.07556086033582687, -0.7088751196861267, 0.06433679908514023, -0.035724833607673645, -0.04872302711009979, 0.6159854531288147, 0.3272762894630432, 0.06870201975107193, -0.6210097670555115, -0.735172688961029, -1.4221665859222412, 0.4262789487838745, 0.047261156141757965, -0.24452613294124603, -0.03599155321717262, 0.47415339946746826, -0.12469831109046936, 0.10900738090276718, -0.7848909497261047, -0.2543646991252899, 0.18208561837673187, -0.5815230011940002, 0.20867490768432617, -0.13017772138118744, -0.19195252656936646, 0.044804155826568604, 1.253490924835205, -0.19798342883586884, -0.048985108733177185, -0.05451623722910881, -0.23686666786670685, -0.4818198084831238, 0.09430529177188873, 0.13104495406150818, 0.5136923789978027, 0.0792599692940712, 0.23920796811580658, 0.38257932662963867, -0.26772692799568176, 0.1421428918838501, 0.3084692358970642, -0.3748583197593689, -0.005412285216152668, 0.40362632274627686, 0.7321326732635498, 0.5688830614089966, -0.3411612808704376, 0.5517054796218872, 0.22047297656536102, -0.27281343936920166, -0.3288241922855377, -0.1439589411020279, 0.3944114148616791, 0.35396111011505127, 0.07434806227684021, -0.16843944787979126, -0.01803797297179699, -0.2784769535064697, 0.30543145537376404, 0.39527565240859985, -0.2675512135028839, -0.2689531445503235, 0.9132491946220398, 0.4744929373264313, -0.05453003942966461, 0.5868130326271057, -0.3427319824695587, -0.5851568579673767, 0.2891394793987274, 0.424060195684433, 0.6785197257995605, -0.21788670122623444, -0.1357327103614807, 0.2377297580242157, 0.4083101749420166, -0.19995976984500885, 0.02411072328686714, 0.1221487745642662, -0.9530726671218872, -0.6819888353347778, -0.7309406995773315, -0.2768929600715637, 0.23067469894886017, -0.5195301175117493, 0.461821973323822, -0.11569388210773468, -0.1996648609638214, 0.22057905793190002, 0.07863933593034744, -0.7450389862060547, 0.011883489787578583, 0.3211275339126587, 0.5665391087532043, -0.863739013671875, 0.9734775424003601, 0.9933633208274841, -0.6279212832450867, -1.151861310005188, 0.015692589804530144, 0.02639845386147499, -0.837766170501709, 0.4560829699039459, 0.07365521043539047, 0.09039577841758728, 0.1690363734960556, -0.45806676149368286, -0.9932600259780884, 1.339791178703308, 0.45395466685295105, -0.9588457345962524, -0.10571548342704773, -0.15036144852638245, 0.3361838459968567, -0.3082863688468933, -0.08615759760141373, 0.4092620015144348, 0.7598301768302917, 0.08518620580434799, -0.7429628372192383, 0.12514306604862213, 0.1394413411617279, -0.29296526312828064, 0.7728430032730103, -0.7456042170524597, 0.21058684587478638, -0.26599007844924927, -0.12236692756414413, -0.2714650332927704, 0.9904816150665283, 0.20727728307247162, 0.3095615804195404, 0.6717569231987, 0.9616644382476807, 1.0776385068893433, -0.15814794600009918, 0.5900405049324036, -0.4356887936592102, 0.13342739641666412, 1.14876127243042, -0.7329252362251282, 0.5892131328582764, 0.48519155383110046, -0.07634218782186508, 0.304064005613327, 0.5900132060050964, -0.14130201935768127, 0.34681591391563416, 0.15388929843902588, -0.23378194868564606, -0.32860419154167175, -0.0914052426815033, 0.10550663620233536, 0.30851972103118896, 0.2648817300796509, -0.2944055199623108, -0.11245714873075485, -0.2895757257938385, 0.3733181059360504, 0.018098117783665657, -0.23315013945102692, 0.9222960472106934, -0.01941991038620472, -0.6917785406112671, 0.287945032119751, -0.12583404779434204, 0.4363453686237335, -0.4652014970779419, -0.1396482139825821, 0.02962430939078331, 0.09030165523290634, -0.360597163438797, -0.8233668804168701, 0.06340250372886658, -0.08710768073797226, -0.0906905010342598, -0.27896928787231445, 0.5428566336631775, -0.9697465896606445, -0.2052682340145111, 0.5209289789199829, 0.24118022620677948, 0.2615586221218109, 0.2834315598011017, -0.7895867824554443, 0.15709270536899567, 0.16575196385383606, -0.47249966859817505, 0.3646981418132782, 0.9139604568481445, -0.478487104177475, 0.4794706404209137, 0.6315368413925171, 0.2431531697511673, 0.012549493461847305, 0.21173648536205292, 0.73935866355896, -0.26041358709335327, -0.30319052934646606, -0.5576202273368835, 0.24852138757705688, -0.12441740185022354, -0.035426490008831024, 0.4995766580104828, 0.6161710619926453, 0.8862547874450684, 0.5555530190467834, 0.5559800267219543, 0.2853028178215027, 0.25101515650749207, -0.547648012638092, 0.4745439887046814, -0.5812121629714966, 0.6395418643951416, -0.2618521749973297, -1.3682589530944824, -0.41358792781829834, 0.48194676637649536, -0.15810205042362213, -0.02719583734869957, 0.4325580894947052, 0.7904955148696899, -0.05459561198949814, -0.25954657793045044, 0.2734522521495819, 0.4162481725215912, 0.39313656091690063, 0.3464987874031067, 0.38473236560821533, -0.12237526476383209, 0.799934446811676, -0.22820256650447845, -0.18427999317646027, 0.018392052501440048, -0.8929669857025146, -0.5370205640792847, -0.4479134678840637, -0.7188578844070435, -0.4605412185192108, -0.00555450702086091, 0.9499919414520264, 0.42898085713386536, -0.6431800723075867, 0.3019258379936218, 0.164886474609375, 0.05087120831012726, -0.10030883550643921, -0.22664791345596313, 0.5704226493835449, -0.24718250334262848, -0.8497249484062195, 0.37468358874320984, 0.2558092176914215, 0.14356961846351624, -0.2052721381187439, -0.16575756669044495, -0.19038936495780945, 0.022800149396061897, 0.1749858409166336, 0.2669018805027008, -0.9071523547172546, -0.4050365388393402, -0.33341214060783386, -0.18358264863491058, -0.12370800226926804, 0.4254627525806427, -0.48629212379455566, 0.3401334285736084, 0.12336760759353638, 1.0108996629714966, 0.3613393306732178, 0.07016468793153763, 0.39803358912467957, -0.7385599613189697, 0.04948176443576813, 0.27591627836227417, 0.5716608762741089, 0.48235055804252625, -0.4388684034347534, 0.707343578338623, 0.106015644967556, -0.7171596884727478, -0.9363948702812195, 0.15768080949783325, -0.859731912612915, -0.19206352531909943, 1.3712708950042725, -0.41229408979415894, -0.33199483156204224, -0.15866036713123322, -0.04153572767972946, 0.4502933621406555, -0.5851584076881409, 0.6200962662696838, 0.6526570320129395, -0.04671384021639824, 0.09488986432552338, -0.41890397667884827, 0.40494951605796814, 0.4279960095882416, -0.6118477582931519, 0.19836421310901642, 0.6935941576957703, 0.37383976578712463, 0.24914905428886414, 0.5470843315124512, -0.1255885809659958, -0.144330695271492, -0.32661548256874084, 0.6659663319587708, -0.20884649455547333, -0.37060531973838806, -0.06410379707813263, 0.09575726836919785, 0.36809661984443665, -0.0866636410355568 ]
http://arxiv.org/abs/2405.16802v3
http://arxiv.org/pdf/2405.16802v3
AutoCV: Empowering Reasoning with Automated Process Labeling via Confidence Variation
2024-05-27T03:44:24
2024-05-29T01:47:35
Jianqiao Lu, Zhiyang Dou, Hongru Wang, Zeyu Cao, Jianbo Dai, Yingjia Wan, Yinya Huang, Zhijiang Guo
cs.CL
cs.CL, cs.LG
In this work, we propose a novel method named \textbf{Auto}mated Process Labeling via \textbf{C}onfidence \textbf{V}ariation (\textbf{\textsc{AutoCV}}) to enhance the reasoning capabilities of large language models (LLMs) by automatically annotating the reasoning steps. Our approach begins by training a verification model on the correctness of final answers, enabling it to generate automatic process annotations. This verification model assigns a confidence score to each reasoning step, indicating the probability of arriving at the correct final answer from that point onward. We detect relative changes in the verification's confidence scores across reasoning steps to automatically annotate the reasoning process. This alleviates the need for numerous manual annotations or the high computational costs associated with model-induced annotation approaches. We experimentally validate that the confidence variations learned by the verification model trained on the final answer correctness can effectively identify errors in the reasoning steps. Subsequently, we demonstrate that the process annotations generated by \textsc{AutoCV} can improve the accuracy of the verification model in selecting the correct answer from multiple outputs generated by LLMs. Notably, we achieve substantial improvements across five datasets in mathematics and commonsense reasoning. The source code of \textsc{AutoCV} is available at \url{https://github.com/rookie-joe/AUTOCV}.
[ -0.28740689158439636, -0.7633607983589172, 0.621315062046051, 0.08258763700723648, -0.08989527076482773, 0.13342025876045227, -0.06954210996627808, -0.4488416612148285, -0.045055877417325974, 0.4137071967124939, -0.5130518078804016, -0.5875831842422485, -0.589776337146759, 0.210667684674263, -0.09686688333749771, 0.5055248737335205, -0.4245889186859131, 0.06594237685203552, -0.6096223592758179, 0.05810001492500305, -0.17777961492538452, -0.6463121175765991, -0.3406187891960144, -0.38558700680732727, 0.22757017612457275, 0.46061453223228455, 0.6404072046279907, 1.1691066026687622, 0.5037158131599426, 0.3315039277076721, 0.12805692851543427, 0.5197885036468506, -0.09498826414346695, 0.5988759398460388, -0.06640630960464478, -0.5234531164169312, -0.4200047552585602, -0.018853863701224327, 0.42473655939102173, 0.4111964702606201, -0.1539686769247055, 0.140964075922966, -0.04790664464235306, 0.47342878580093384, -0.8508189916610718, 0.32438939809799194, -0.6422790884971619, -0.0567181333899498, 0.07552312314510345, -0.2458856999874115, -0.37899500131607056, -0.1546206921339035, -0.06629163771867752, -0.6324285268783569, -0.03824960067868233, 0.07921411097049713, 0.8006197214126587, 0.9926435351371765, -0.19134578108787537, -0.13371983170509338, -0.9179264307022095, 0.703748881816864, -0.5651422142982483, 0.212464839220047, 0.4617798328399658, 0.42940154671669006, -0.12929685413837433, -0.7238280177116394, -0.5456746220588684, -0.2544051706790924, 0.06406860053539276, 0.0777960792183876, 0.137222558259964, 0.12579530477523804, 0.46789345145225525, 0.4959496557712555, -0.36345037817955017, 0.013866117224097252, 0.12213234603404999, -0.501699686050415, 0.7947896718978882, 0.2357298880815506, 0.1656762659549713, 0.11603996902704239, -0.008511660620570183, -0.23617461323738098, -0.4430277943611145, 0.08311386406421661, 0.42002972960472107, -0.017639050260186195, 0.2023378312587738, 0.5927738547325134, -0.5735639333724976, 0.7415390610694885, 0.18313442170619965, 0.11661487817764282, 0.32153648138046265, -0.1767096370458603, -0.5559127926826477, -0.12891240417957306, 0.8498109579086304, -0.03396252542734146, 0.1467672884464264, 0.16407594084739685, -0.2176179438829422, -0.029238183051347733, 0.10611981153488159, -0.6047115325927734, -0.4967840313911438, 0.20059528946876526, -0.13668330013751984, -0.28377798199653625, 0.10290267318487167, -0.26204150915145874, -0.28209829330444336, -0.5330677628517151, 0.3399684727191925, -0.3023258149623871, 0.11091046035289764, -0.021553663536906242, 0.1168142706155777, 0.47397875785827637, 0.7019616961479187, -0.7692314386367798, 0.029834553599357605, 0.6928837299346924, 0.4927609860897064, -0.2936692535877228, 0.016181448474526405, -0.6731772422790527, -0.01063101552426815, -0.32170337438583374, 0.8296308517456055, -0.8546550869941711, -0.19035395979881287, -0.1695212423801422, -0.0510576069355011, 0.13756534457206726, -0.3383009433746338, 0.5075703263282776, -0.30507418513298035, -0.06502498686313629, -0.2092430591583252, -0.7576907873153687, 0.09514649212360382, 0.3292621076107025, -0.5175741910934448, 1.4281065464019775, -0.25886544585227966, -0.7652738690376282, 0.3230248689651489, -0.37545326352119446, -0.23392386734485626, 0.08832146227359772, -0.38741016387939453, -0.5601024031639099, -0.2299281805753708, 0.39669090509414673, 0.4642801284790039, -0.13043925166130066, -0.012073677964508533, -0.6564995050430298, -0.03023630380630493, 0.545264720916748, -0.42613840103149414, 0.5884556770324707, 0.35113534331321716, -0.4311973452568054, 0.19740065932273865, -0.934684157371521, 0.12883280217647552, -0.2049083709716797, -0.06811700016260147, -0.33642715215682983, -0.09607990086078644, -0.5020054578781128, 0.3435037136077881, 0.3798454999923706, -0.4960257411003113, 0.34795650839805603, -0.4221375584602356, 0.2287840098142624, 0.6246697306632996, 0.24801397323608398, 0.38403189182281494, -0.11051841080188751, 0.44380253553390503, 0.018100472167134285, 0.4945737421512604, -0.411704957485199, -0.7008272409439087, -1.118591547012329, -0.323668897151947, 0.36755993962287903, 0.8808658719062805, -0.798214316368103, 0.651312530040741, 0.32068386673927307, -0.5325655937194824, -0.6518493890762329, 0.20216509699821472, 0.36821457743644714, 0.5223435163497925, 0.39824724197387695, -0.35849976539611816, -0.5824722051620483, -0.9148492813110352, -0.21143922209739685, -0.35852399468421936, -0.020573416724801064, 0.23735156655311584, 0.5682343244552612, -0.12131084501743317, 0.9720503091812134, -0.5292428135871887, 0.019428318366408348, 0.3558492660522461, 0.5737292766571045, -0.11887433379888535, 0.6116554141044617, -0.15259598195552826, -0.7365382313728333, -0.5117735862731934, -0.12505033612251282, -0.7173792719841003, -0.2739720940589905, -0.22057990729808807, -0.37113529443740845, 0.5680207014083862, 0.7540154457092285, -0.011168990284204483, 0.6928973197937012, 0.26401838660240173, 0.026978934183716774, 0.6093516945838928, -0.5590330362319946, 0.38669541478157043, -0.8718600273132324, -0.2297378033399582, 0.07268182933330536, -0.3921687602996826, -0.19590041041374207, -0.20511777698993683, 0.027327585965394974, 0.3890315890312195, -0.26587584614753723, 0.22202005982398987, -0.5725197196006775, 0.05232562869787216, -0.2095315009355545, -0.22808286547660828, -0.01449335552752018, 0.3072032034397125, 0.2809749245643616, 0.6233682036399841, 0.7699183225631714, -0.47857993841171265, 0.67264324426651, 0.04809778183698654, 0.035579729825258255, 0.5213977098464966, -0.5283289551734924, 0.3130093216896057, 0.0708276703953743, 0.3672836422920227, -1.3439500331878662, -0.4905415177345276, 0.40834125876426697, -0.7836257219314575, 0.19562086462974548, -0.20682105422019958, -0.6833148002624512, -0.34418511390686035, 0.009095996618270874, 0.13785026967525482, 0.5072221159934998, -0.30768436193466187, 0.8222962617874146, 0.4072961211204529, -0.04697955399751663, -0.6064045429229736, -0.9676277041435242, -0.03522522374987602, 0.06122477725148201, -0.5860127210617065, -0.08933953195810318, -0.4412972927093506, -0.2622685432434082, -0.19291415810585022, -0.06720294058322906, -0.48359784483909607, 0.16367027163505554, 0.4474656581878662, 0.5118645429611206, 0.055869340896606445, 0.3533952236175537, 0.23678378760814667, -0.275607168674469, 0.12542423605918884, -0.612774670124054, -0.06515292823314667, -0.37686458230018616, -0.5943024754524231, -0.5536466836929321, 0.26561376452445984, 0.4055210053920746, -0.28015485405921936, 0.6449214816093445, 0.5299738645553589, -0.5785727500915527, -0.10022266209125519, -0.6575163006782532, -0.20275668799877167, -0.4668729901313782, -0.17866072058677673, -0.425105482339859, -0.9177244305610657, 0.5732613801956177, -0.06788630783557892, 0.055473167449235916, 0.5996335744857788, 0.8421233892440796, -0.25016751885414124, 1.129509687423706, 0.6023625135421753, 0.3509226441383362, 0.14860215783119202, 0.015204673632979393, -0.054147977381944656, -0.5367749333381653, -0.4280834197998047, -0.4618283212184906, 0.1611146628856659, -0.5477451086044312, -0.9332073926925659, 0.11974962055683136, -0.11027228832244873, -0.10461455583572388, 0.13671079277992249, -0.9690011739730835, 0.5394039154052734, 0.5049527883529663, -0.13381873071193695, 0.5346612334251404, -0.2795136570930481, -0.4300175607204437, -0.2846938967704773, -0.6005428433418274, -0.6261375546455383, 1.0126535892486572, 0.3562421202659607, 0.8431662321090698, -0.30840760469436646, 0.8852789998054504, 0.3717624545097351, 0.4319961965084076, -0.763089656829834, 0.3647245764732361, 0.188664510846138, -0.5047802925109863, -0.47453755140304565, -0.4091014862060547, -0.48804861307144165, -0.036675773561000824, -0.3390921652317047, -0.6972065567970276, 0.24333277344703674, 0.7127130627632141, -0.5124074220657349, 0.12471548467874527, -0.5906344652175903, 0.6701858639717102, -0.2584797739982605, -0.5111131072044373, 0.15390397608280182, -0.8051799535751343, 0.3174927830696106, -0.007394148502498865, 0.07131607830524445, 0.04744928330183029, -0.09063459932804108, 0.3446120023727417, -0.6606868505477905, 0.9818423986434937, 0.16083543002605438, -0.32078060507774353, 0.47236156463623047, 0.10972265899181366, 0.7053612470626831, 0.17348165810108185, -0.025122230872511864, -0.06816280633211136, -0.2608186900615692, -0.17305037379264832, -0.6766074895858765, 0.6552572846412659, -0.608657956123352, -0.4823843538761139, -0.6289255619049072, -0.5065343976020813, -0.04198586195707321, -0.0987197756767273, 0.276161253452301, 0.09389573335647583, 0.052903912961483, -0.004362291190773249, 1.2004210948944092, -0.14079928398132324, 0.2644076943397522, 0.18970640003681183, 0.10128732025623322, -0.5942352414131165, 0.58094722032547, 0.09016873687505722, 0.39097511768341064, 0.4419670104980469, -0.040909867733716965, -0.36271366477012634, -0.2776600420475006, -0.4126051962375641, 0.09016470611095428, -0.984387218952179, -0.109588123857975, -0.7894425392150879, -0.153466135263443, -0.6837829351425171, -0.1692328006029129, -0.6915550231933594, -0.6878828406333923, -0.29113543033599854, 0.04272543638944626, 0.43444424867630005, 0.4737180173397064, -0.2921614348888397, 0.0045703100040555, -0.41972875595092773, 0.16166788339614868, 0.6297725439071655, 0.31440702080726624, -0.41488415002822876, -0.6417401432991028, -0.13626660406589508, -0.04390319809317589, -0.22499267756938934, -0.7669477462768555, 0.22365567088127136, -0.021316329017281532, 0.6145230531692505, 0.13112542033195496, 0.246303990483284, 0.4334779679775238, -0.22625300288200378, 0.7836045026779175, 0.018723219633102417, -1.13619065284729, 0.7843027710914612, -0.1934540569782257, 0.32436269521713257, 0.5497113466262817, 0.39942941069602966, -0.2951127588748932, -0.7365559935569763, -0.9322201013565063, -1.2060954570770264, 0.3398965895175934, 0.3847096562385559, -0.4466020464897156, 0.12876448035240173, 0.5582935810089111, 0.18276602029800415, 0.06054867431521416, -0.48763567209243774, -0.5702340006828308, -0.37868532538414, -0.30490440130233765, 0.38284456729888916, -0.05515950173139572, -0.15453824400901794, -0.4002671241760254, 1.1041853427886963, -0.3606177568435669, 0.14349260926246643, 0.6262866258621216, -0.18801310658454895, -0.032690975815057755, 0.08205509930849075, 0.3782491087913513, 0.47881823778152466, 0.012475864961743355, 0.21229565143585205, 0.3939659595489502, -0.08057891577482224, 0.10426497459411621, 0.2957536578178406, -0.20641998946666718, -0.09155328571796417, 0.1708236187696457, 0.7401841282844543, -0.2942965626716614, -0.3663961887359619, 0.28016573190689087, -0.27001431584358215, -0.42790356278419495, -0.632483959197998, 0.3941911458969116, 0.029666323214769363, 0.35050150752067566, 0.33213144540786743, -0.012212592177093029, 0.3106482923030853, -0.12414094060659409, 0.43215322494506836, 0.1723415106534958, -0.4461579918861389, 0.1934482753276825, 0.7271832227706909, 0.1344962865114212, -0.3125866651535034, 0.40326428413391113, -0.43669357895851135, -0.3596190810203552, 0.6454408764839172, 0.09842495620250702, 0.9565737843513489, -0.4181177616119385, 0.17104065418243408, 0.5224184393882751, 0.2978894114494324, -0.23283664882183075, 0.08896101266145706, -0.30522727966308594, -0.48183774948120117, -0.8238713145256042, -0.39437419176101685, -0.9932029843330383, -0.06825093179941177, -0.6463854908943176, 0.2676907181739807, -0.40963393449783325, -0.013697365298867226, -0.0736868754029274, -0.2926613986492157, -0.4954254627227783, 0.4321170747280121, 0.6476814150810242, 0.6870714426040649, -0.9438768625259399, 0.9910455942153931, 0.7772815227508545, -0.4432792663574219, -0.8841104507446289, 0.03701579198241234, -0.03958738595247269, -0.6005420684814453, 0.5612018704414368, 0.0792248472571373, -0.34827908873558044, -0.10267718881368637, -0.997768223285675, -0.893750786781311, 0.9682544469833374, 0.19074875116348267, -0.582097053527832, 0.5172449350357056, 0.15738028287887573, 0.5651831030845642, -0.6534450650215149, 0.5468043684959412, 0.6749336123466492, 0.5480726957321167, 0.6923635601997375, -0.7665925025939941, 0.18179424107074738, -0.2922932505607605, -0.023604808375239372, -0.08418269455432892, -0.3853021264076233, 0.5317161083221436, -0.3053509294986725, 0.06022876501083374, 0.0726376473903656, 1.111024022102356, 0.4224853515625, 0.16324298083782196, 0.6047946810722351, 0.4856484532356262, 1.0571666955947876, -0.29284006357192993, 0.7999653816223145, -0.17549142241477966, 0.4594933092594147, 1.4665204286575317, -0.15286222100257874, 0.6271358728408813, 0.43244466185569763, 0.12691864371299744, 0.6573115587234497, 0.8146570920944214, -0.14499863982200623, 0.08080576360225677, 0.4945535659790039, -0.1660952866077423, -0.8975018262863159, 0.17191502451896667, -0.07865805178880692, 0.2739867866039276, 0.4675194323062897, -0.4154427945613861, 0.16633917391300201, -0.17314676940441132, 0.006527447607368231, 0.11414723098278046, -0.0817393884062767, 0.6310617327690125, 0.04091451317071915, -0.8495087623596191, 0.6812855005264282, -0.20843437314033508, 0.4529767632484436, -0.46590691804885864, -0.22749850153923035, 0.014525478705763817, 0.18279564380645752, -0.13931624591350555, -0.8403517007827759, 0.38926905393600464, -0.021830031648278236, -0.10224060714244843, -0.28715795278549194, 0.7900476455688477, -0.5732580423355103, -0.528075098991394, 0.0507550910115242, 0.2625844478607178, 0.2735714912414551, -0.003766655921936035, -0.8683881759643555, 0.07860926538705826, -0.00548161193728447, -0.2655823826789856, -0.1528538167476654, 0.6782466769218445, -0.04505551606416702, 0.8913866877555847, 0.5912768840789795, -0.035757508128881454, 0.06896786391735077, 0.05491203814744949, 0.7458739280700684, -0.48029249906539917, -0.43869248032569885, -0.8336842656135559, 0.6232286691665649, -0.40627747774124146, -0.2763030230998993, 0.5882963538169861, 0.4044801592826843, 0.7918365001678467, 0.02256811037659645, 1.1364058256149292, 0.02174893394112587, 0.25936639308929443, -0.4436787962913513, 0.36395710706710815, -0.4075074791908264, 0.35357338190078735, -0.19475917518138885, -0.6153098940849304, -0.6319292783737183, 0.8681272268295288, -0.48258811235427856, -0.06374470889568329, 0.8382917642593384, 0.86137855052948, 0.11171386390924454, -0.12850598990917206, 0.2127639353275299, 0.24654746055603027, 0.31677716970443726, 0.5329835414886475, 0.742373526096344, -0.269131600856781, 0.7635374069213867, -0.2850046753883362, -0.5148003697395325, -0.21593554317951202, -1.257056474685669, -0.8291789293289185, -0.5306593179702759, -0.9104000329971313, -0.5056930780410767, 0.15104183554649353, 1.0642420053482056, 0.6690061688423157, -0.7338804006576538, 0.0338868610560894, -0.2963706851005554, -0.048753511160612106, -0.2725960612297058, -0.24279463291168213, 0.18796291947364807, -0.5690775513648987, -0.6380332112312317, 0.053979016840457916, 0.5514733195304871, 0.25541362166404724, -0.4685503840446472, -0.15811336040496826, -0.26702967286109924, 0.367344468832016, -0.037442732602357864, 0.4626631736755371, -0.6828080415725708, -0.2772143483161926, -0.013701396994292736, -0.1571931689977646, 0.28383007645606995, 0.7731943726539612, -0.6958986520767212, 0.810004711151123, 0.6452358961105347, 0.7055676579475403, 0.6337560415267944, -0.10783512890338898, 0.8074175715446472, -0.6129653453826904, -0.09027348458766937, 0.22534270584583282, 0.41791993379592896, 0.6088513135910034, -0.6499792337417603, 0.3839391767978668, 0.3711702227592468, -0.7920387983322144, -0.5109593868255615, 0.41938501596450806, -0.9010196924209595, -0.046290796250104904, 1.2969067096710205, -0.4779743254184723, -0.4790980815887451, -0.37400341033935547, -0.04789329692721367, 0.726190447807312, -0.45339876413345337, 0.9796068072319031, 0.9501355886459351, -0.30074214935302734, -0.050649236887693405, -0.40412044525146484, 0.6159037351608276, 0.4596783518791199, -0.9883158802986145, 0.20066460967063904, 0.46272486448287964, 0.23665578663349152, 0.13560448586940765, 0.3951391279697418, -0.18055596947669983, 0.28092050552368164, -0.22967305779457092, 0.3967578411102295, -0.26940011978149414, -0.17605403065681458, -0.24548713862895966, -0.09930752962827682, 0.08038178831338882, -0.2531445622444153 ]
http://arxiv.org/abs/2405.16751v1
http://arxiv.org/pdf/2405.16751v1
LLM-Based Cooperative Agents using Information Relevance and Plan Validation
2024-05-27T01:47:14
2024-05-27T01:47:14
SeungWon Seo, Junhyeok Lee, SeongRae Noh, HyeongYeop Kang
cs.AI
cs.AI, cs.CL, cs.CV, cs.MA
We address the challenge of multi-agent cooperation, where agents achieve a common goal by interacting with a 3D scene and cooperating with decentralized agents under complex partial observations. This involves managing communication costs and optimizing interaction trajectories in dynamic environments. Our research focuses on three primary limitations of existing cooperative agent systems. Firstly, current systems demonstrate inefficiency in managing acquired information through observation, resulting in declining planning performance as the environment becomes more complex with additional objects or goals. Secondly, the neglect of false plans in partially observable settings leads to suboptimal cooperative performance, as agents struggle to adapt to environmental changes influenced by the unseen actions of other agents. Lastly, the failure to incorporate spatial data into decision-making processes restricts the agent's ability to construct optimized trajectories. To overcome these limitations, we propose the RElevance and Validation-Enhanced Cooperative Language Agent (REVECA), a novel cognitive architecture powered by GPT-3.5. REVECA leverages relevance assessment, plan validation, and spatial information to enhance the efficiency and robustness of agent cooperation in dynamic and partially observable environments while minimizing continuous communication costs and effectively managing irrelevant dummy objects. Our extensive experiments demonstrate the superiority of REVECA over previous approaches, including those driven by GPT-4.0. Additionally, a user study highlights REVECA's potential for achieving trustworthy human-AI cooperation. We expect that REVECA will have significant applications in gaming, XR applications, educational tools, and humanoid robots, contributing to substantial economic, commercial, and academic advancements.
[ -0.36965078115463257, -0.7239770293235779, 0.898413896560669, 0.2571977972984314, 0.23378491401672363, 0.2597879469394684, -0.13746750354766846, -0.6346192955970764, 0.2291325479745865, 0.4540632665157318, -0.6706508994102478, -0.49688661098480225, -0.22618407011032104, 0.043275799602270126, 0.04005393385887146, 0.6779036521911621, 0.022884583100676537, -0.17777645587921143, -0.5545013546943665, -0.25078943371772766, -0.5332992672920227, -0.5339799523353577, -0.7896261215209961, -0.5562934875488281, 0.4929976165294647, 0.6146670579910278, 1.0090360641479492, 0.2864231765270233, 0.5247160792350769, 0.492866575717926, 0.1491747498512268, 0.41029930114746094, -0.5899584889411926, 0.4103395342826843, -0.3068954050540924, -0.5381824970245361, -0.7371489405632019, 0.23967233300209045, 0.411239355802536, 0.4193422794342041, -0.29589933156967163, -0.256307452917099, -0.05074107646942139, 0.5456081628799438, -0.6222256422042847, 0.4866546094417572, -0.5634093284606934, -0.0784047394990921, 0.176358163356781, -0.1185363382101059, -0.2817694842815399, -0.22268623113632202, 0.1582263857126236, -0.9939157962799072, 0.0754033550620079, 0.060242705047130585, 0.8167699575424194, 0.4228101372718811, -0.193807914853096, -0.36793792247772217, -0.8401275277137756, 0.8854964375495911, -0.27169257402420044, 0.28570783138275146, 0.47446009516716003, 0.5840962529182434, -0.6848310828208923, -0.7617064714431763, -0.7293069362640381, -0.26923829317092896, 0.128767728805542, 0.5622605085372925, -0.25357842445373535, 0.204507514834404, 0.0301663801074028, 0.07231215387582779, -0.3910179138183594, -0.020124824717640877, -0.07055923342704773, -0.3599141538143158, 0.4066639542579651, 0.2879505455493927, 0.17450684309005737, 0.3832851052284241, -0.5226675868034363, -0.1964954137802124, -0.5077123641967773, 0.13237084448337555, 0.3150954246520996, 0.05174199864268303, -0.4098835289478302, 0.6708606481552124, -0.3798232674598694, 0.3700879216194153, 0.026361403986811638, 0.024234598502516747, 0.20246632397174835, -0.7186964154243469, -0.10203875601291656, -0.42601144313812256, 0.6499677896499634, 0.3714998662471771, -0.02245626226067543, -0.3671110272407532, -0.2579485774040222, 0.3327139914035797, 0.31957510113716125, -0.1876225471496582, -0.11077932268381119, 0.26301050186157227, -0.03690076991915703, -0.2602092921733856, 0.048014577478170395, -0.8477131724357605, -0.14072845876216888, -0.14626763761043549, 0.26936033368110657, -0.23102909326553345, -0.03649822250008583, 0.11070537567138672, -0.14827211201190948, 0.3826313614845276, 0.8923155665397644, -0.4250464141368866, 0.34282851219177246, 0.6993663907051086, 0.6436256766319275, 0.019962802529335022, -0.7642238736152649, -0.45770663022994995, 0.32268255949020386, -0.18386639654636383, 0.8624880909919739, -0.6176120638847351, -0.3582327961921692, -0.10965511947870255, -0.1942593902349472, 0.05095936730504036, -0.3613562285900116, 0.5464412569999695, -0.7910109758377075, 0.28774866461753845, -0.3417015075683594, -0.19370929896831512, -0.12242518365383148, 0.707728385925293, -0.8015204668045044, 0.748826265335083, 0.3784829378128052, -0.3985420763492584, 0.24488873779773712, -0.5150469541549683, -0.2746806740760803, -0.10624244064092636, -0.40197932720184326, -0.23714575171470642, -0.3019746243953705, -0.11120021343231201, 0.09789202362298965, -0.41658321022987366, 0.18217334151268005, -0.26695364713668823, -0.437156617641449, 0.17002202570438385, -0.5342072248458862, 0.28191715478897095, 0.2617182433605194, -0.15606284141540527, 0.3811793923377991, -0.5078848600387573, 0.06347353011369705, -0.049947675317525864, -0.5060044527053833, 0.0406654067337513, -0.14592640101909637, -0.32479721307754517, 0.1622520089149475, 0.7326390743255615, -0.3746112287044525, 0.29547828435897827, -0.03542817756533623, 0.25249719619750977, 0.7482556700706482, 0.05039576441049576, 0.7139508724212646, -0.8003082871437073, 0.5318993926048279, -0.2413758933544159, 0.6385748982429504, 0.08250376582145691, -0.7597651481628418, -0.3974170386791229, -0.4136635363101959, -0.2203492671251297, 0.563389241695404, -1.1454100608825684, 0.34844866394996643, -0.1427997201681137, -0.2974134385585785, -0.13897164165973663, -0.3016382157802582, 0.25816676020622253, 0.46076732873916626, 0.3881601095199585, -0.22869499027729034, -0.47940587997436523, -0.7482710480690002, 0.24589957296848297, -0.4042200744152069, 0.12015262991189957, 0.4659143388271332, 0.3614150285720825, -0.5957979559898376, 0.9400643110275269, -0.020420655608177185, -0.251316100358963, -0.2352699637413025, -0.15345339477062225, 0.2388933002948761, 0.13195791840553284, 0.3187653422355652, -0.9423367381095886, -0.29694369435310364, 0.16602329909801483, -0.8234724402427673, 0.06441222876310349, -0.2189732939004898, -0.16938164830207825, 0.006532393395900726, 0.09761060774326324, -0.8424498438835144, 0.5839557647705078, 0.8347915410995483, -0.318193644285202, 0.5493593215942383, -0.6186946034431458, 0.3711627125740051, -0.6656515598297119, -0.11100000143051147, -0.4620148241519928, -0.350137323141098, -0.4981556236743927, 0.008210328407585621, -0.37065330147743225, 0.06623572111129761, -0.28348731994628906, 0.47264841198921204, -0.4830969274044037, -0.3876461684703827, -0.42072951793670654, 0.6386215090751648, 0.1471191644668579, 0.6852849721908569, 0.008014648221433163, 0.8267369270324707, 0.5283166170120239, -0.7143641710281372, 0.5644817352294922, 0.17106513679027557, 0.15146854519844055, 0.5234950184822083, -0.5616167187690735, 0.2131219506263733, 0.2502523362636566, 0.3828313946723938, -0.6802663207054138, -0.1602611541748047, 0.5193884968757629, -0.5455577373504639, 0.014370627701282501, 0.12322552502155304, -0.4506935179233551, 0.02393178828060627, -0.440017431974411, 0.5829493999481201, 0.16144561767578125, -0.41776198148727417, 0.9678146243095398, 0.5130104422569275, 0.4174474775791168, -0.7972071170806885, -0.47313007712364197, 0.1024538204073906, 0.0932658240199089, -0.7252740263938904, 0.24076059460639954, -0.05917203053832054, -0.4998105466365814, 0.18229897320270538, -0.0979343056678772, 0.01990307867527008, 0.055508650839328766, 0.3812176287174225, 0.38391658663749695, 0.2657984793186188, -0.26559457182884216, -0.1747310757637024, -0.2216194123029709, -0.02392844296991825, -0.06025020033121109, 0.614831268787384, -0.4337199926376343, -0.47967100143432617, -0.34369829297065735, 0.31019386649131775, 0.6554802656173706, 0.009851363487541676, 0.6962894201278687, 0.3388057053089142, -0.3524523675441742, 0.03338971361517906, -0.4774191081523895, -0.10351480543613434, -0.4831717908382416, 0.29956090450286865, -0.41245678067207336, -0.9878118634223938, 0.7820889353752136, -0.3600843548774719, 0.09898974746465683, 0.004779897630214691, 0.38793161511421204, -0.04518209770321846, 0.3912890553474426, 0.5544331669807434, 0.07718780636787415, 0.39162129163742065, -0.20486611127853394, -0.16072650253772736, -0.9613461494445801, -0.48345375061035156, -0.563464879989624, -0.18461471796035767, -0.7400630116462708, -0.8170457482337952, 0.37305304408073425, -0.12636618316173553, -0.2541157007217407, 0.40192911028862, -0.3997952938079834, 0.3135046660900116, 0.5914559364318848, 0.14112727344036102, 0.47748640179634094, -0.2992437481880188, 0.01838340051472187, 0.29426515102386475, -0.7295674681663513, -0.631276547908783, 1.0066701173782349, 0.1328132450580597, 0.7409653663635254, 0.41124704480171204, 0.6135699152946472, 0.43526917695999146, 0.40577197074890137, -0.5997296571731567, 0.756138801574707, 0.5055794715881348, -0.3779001235961914, -0.6661444306373596, -0.6173832416534424, -1.302348256111145, 0.30692318081855774, -0.33891022205352783, -0.5986136198043823, 0.42117148637771606, -0.0725172832608223, -0.1512129157781601, 0.07555913925170898, -0.5251895189285278, 0.4234960079193115, -0.19515545666217804, -0.7744881510734558, -0.5194385051727295, -0.6081858277320862, -0.05210090056061745, 0.040358033031225204, 0.32808467745780945, 0.08951621502637863, -0.5246557593345642, 0.21930280327796936, -0.18971358239650726, 0.8095448017120361, -0.014601383358240128, -0.052476417273283005, 0.4806802272796631, 0.18114064633846283, 1.008004069328308, 0.3393085300922394, -0.23104697465896606, 0.42948415875434875, -0.24735812842845917, -0.37726670503616333, -0.5989947319030762, 0.889304518699646, -1.0583511590957642, -0.6948989629745483, -0.5516506433486938, -0.6719227433204651, -0.31027117371559143, 0.3241646885871887, 0.05745014548301697, -0.11950672417879105, -0.3302188515663147, 0.13437622785568237, 0.20164178311824799, -0.2181725800037384, 0.23667308688163757, 0.5888356566429138, -0.12058898061513901, -0.537471354007721, 0.5218088626861572, -0.3439256250858307, 0.41825807094573975, 0.541038453578949, -0.05728519707918167, -0.27490901947021484, -0.6058023571968079, 0.1519961804151535, 0.24533170461654663, -0.5150933265686035, -0.14067798852920532, -0.2460392415523529, 0.10701142996549606, -0.2181587517261505, -0.33858224749565125, -0.574347972869873, -0.21793338656425476, -0.06754700094461441, 0.1114448681473732, -0.17253805696964264, 0.8437621593475342, -0.33773618936538696, 0.11398036777973175, -0.4843297302722931, 0.18796676397323608, 0.29198136925697327, 0.14927145838737488, -0.28517889976501465, -0.11925667524337769, -0.1849452257156372, 0.31203097105026245, -0.39632609486579895, -0.6991500854492188, 0.1486646980047226, -0.29160889983177185, 0.9390544295310974, 0.0022699853871017694, 0.17102310061454773, 0.47959497570991516, -0.07014927268028259, 0.6446016430854797, -0.046493977308273315, -0.6695665717124939, 0.5815612077713013, -0.4098517596721649, -0.011682636104524136, 0.5139010548591614, -0.057596515864133835, -0.1489386260509491, -0.4051573574542999, -0.7021344304084778, -0.6313136219978333, 0.6566837430000305, 0.621185839176178, -0.27530163526535034, 0.02985380031168461, 0.6136825680732727, -0.1916610151529312, 0.19834139943122864, -0.4847353398799896, -0.16382183134555817, -0.17224866151809692, 0.13162147998809814, 0.11246944963932037, 0.030404862016439438, -0.3243730664253235, 0.34054991602897644, 0.4611441493034363, -0.11270371824502945, 0.34432321786880493, 0.5647820234298706, 0.30070480704307556, -0.17053963243961334, 0.22033168375492096, 0.754838764667511, 0.5496745705604553, -0.0608009397983551, 0.006534704938530922, 0.2196771800518036, -0.5720770359039307, 0.08747608959674835, -0.06751906126737595, -0.10918237268924713, -0.36592787504196167, 0.46236032247543335, 0.3524334728717804, 0.22650115191936493, -0.5343570113182068, 0.48958009481430054, -0.4912644922733307, -0.13456061482429504, -0.5540832281112671, 0.27842140197753906, -0.20106130838394165, 0.7931659817695618, 0.05043561011552811, 0.6273651123046875, 0.012607412412762642, -0.8515589237213135, 0.2541019916534424, 0.5678914189338684, -0.37791240215301514, -0.48671671748161316, 0.353380411863327, 0.17131011188030243, -0.31977957487106323, 0.5993563532829285, -0.3954421281814575, -0.2822013199329376, 0.8163580298423767, 0.2821674942970276, 0.6293455958366394, -0.19457009434700012, 0.17401105165481567, 0.15199777483940125, 0.43852347135543823, -0.1414688676595688, 0.21046188473701477, -0.2344246655702591, -1.070802927017212, -0.2406691163778305, -0.0770338922739029, -0.8333502411842346, -0.0539269782602787, -0.45293956995010376, 0.2283579558134079, -0.42885515093803406, -0.356607586145401, -0.7066167593002319, 0.2768913507461548, -0.7430853247642517, -0.11410287767648697, -0.26192525029182434, 0.6806958317756653, -0.27211764454841614, 0.9290626645088196, 0.9005630016326904, -0.2926951050758362, -0.711776852607727, -0.018479788675904274, -0.09201335906982422, -0.9128337502479553, 0.28651881217956543, -0.1909346580505371, -0.6389756202697754, -0.1525985598564148, -0.4949348568916321, -0.7707610726356506, 1.752643346786499, 0.3148040771484375, -0.5562536716461182, -0.057877667248249054, -0.041861072182655334, 0.7719112634658813, -0.4247415363788605, 0.3815818727016449, 0.03654057905077934, 0.6879140138626099, 0.6101986765861511, -0.8254088163375854, 0.0036568879149854183, 0.033262722194194794, -0.33519190549850464, -0.15251792967319489, -0.9979546070098877, 0.905366063117981, -0.5659388899803162, -0.4009002149105072, 0.2535172402858734, 0.7483772039413452, 0.6916905641555786, 0.7334818243980408, 0.5390318632125854, 0.32017701864242554, 0.9274653792381287, -0.11581851541996002, 0.9355918169021606, -0.2716817855834961, 0.4362141788005829, 1.3214643001556396, -0.6711540222167969, 0.5024468898773193, 0.4519943594932556, -0.09876421093940735, 0.4092746376991272, 0.2707304358482361, 0.13551507890224457, 0.5733717083930969, -0.16303583979606628, -0.4394916892051697, -0.26191216707229614, -0.1754186898469925, -0.1733781099319458, 0.4802274703979492, 0.45533767342567444, 0.15076479315757751, -0.26382628083229065, -0.19670404493808746, -0.20923247933387756, 0.3282330334186554, -0.0014162735315039754, 0.5984580516815186, -0.15289367735385895, -0.7418528199195862, -0.09324409812688828, -0.16770891845226288, 0.3807869255542755, -0.6408480405807495, -0.38801857829093933, -0.39312946796417236, 0.2714385688304901, -0.08811147511005402, -0.8051024675369263, 0.1854947954416275, -0.34513285756111145, 0.07741912454366684, 0.016077807173132896, 0.7035295367240906, -0.21241328120231628, 0.3603326678276062, 0.5400562286376953, 0.6800485849380493, -0.015623084269464016, -0.030572718009352684, -0.6012802124023438, 0.32079756259918213, -0.09175721555948257, -0.2067440003156662, 0.26750534772872925, 0.7556434869766235, -0.07112064212560654, 1.0585501194000244, 0.7211735248565674, 0.17065565288066864, -0.3854527771472931, -0.09420496970415115, 1.0983401536941528, -0.5808308124542236, -0.302394300699234, -0.5775633454322815, 0.09769312292337418, -0.06907189637422562, 0.012158083729445934, 0.7468765377998352, 0.5596582293510437, 0.8019973039627075, 0.2772974669933319, 0.5882074236869812, 0.10232964903116226, -0.04675890505313873, -0.40445151925086975, 0.2996399998664856, -0.24131716787815094, 0.7775866985321045, 0.03781752288341522, -0.8729798197746277, -0.12661296129226685, 0.6208136677742004, -0.27849727869033813, 0.3495093882083893, 0.5753754377365112, 0.6859431266784668, 0.3005916476249695, 0.1023394986987114, 0.6924048066139221, 0.0560634545981884, 0.7132977247238159, 0.9525632262229919, 1.1544722318649292, -0.346427857875824, 0.7010412812232971, -0.26240554451942444, -0.5338056087493896, -0.02989947982132435, -0.5670151114463806, -0.7725185751914978, -0.4841879904270172, -0.18102006614208221, -0.2846188247203827, 0.1518932282924652, 0.6096594929695129, 0.6334428191184998, -0.26375484466552734, -0.10730553418397903, -0.3156517744064331, 0.4438440799713135, -0.20066936314105988, -0.27074578404426575, 0.01528342254459858, -0.21006694436073303, -0.598312497138977, 0.5016098022460938, 0.5938027501106262, 0.07865016162395477, -0.3249319791793823, -0.6096609234809875, -0.18833784759044647, 0.039535023272037506, 0.3724862039089203, 0.43124130368232727, -0.5671603083610535, -0.4733874499797821, 0.0427410863339901, -0.4044257402420044, 0.0421491414308548, 0.7357802987098694, -0.8268495202064514, 0.3507588505744934, 0.3581192195415497, 0.2794418931007385, 0.36665695905685425, 0.10229641944169998, 0.4666939675807953, -0.592271625995636, 0.12707123160362244, 0.3859531283378601, 0.28321167826652527, 0.14789216220378876, -0.6266567707061768, 0.7877581119537354, 0.2143777757883072, -1.0106914043426514, -0.3364005982875824, 0.3141244053840637, -1.28830087184906, 0.062434662133455276, 0.989256739616394, -0.3885185718536377, -0.43242987990379333, -0.5186294317245483, -0.3520371913909912, 0.2674350440502167, -0.7657214999198914, 0.7977529168128967, 0.5600552558898926, -0.508612334728241, -0.05362046882510185, -0.2662034332752228, 0.29405152797698975, 0.08247748762369156, -1.0072946548461914, 0.06847981363534927, 0.6508422493934631, -0.23303227126598358, 0.6078841090202332, 0.807608425617218, -0.15596137940883636, 0.40376925468444824, 0.18913130462169647, 0.13331492245197296, -0.3307686746120453, -0.4752062261104584, 0.01457868330180645, 0.12987655401229858, 0.12723693251609802, -0.26970237493515015 ]
http://arxiv.org/abs/2405.16720v2
http://arxiv.org/pdf/2405.16720v2
Large Scale Knowledge Washing
2024-05-26T23:29:49
2024-05-28T15:48:12
Yu Wang, Ruihan Wu, Zexue He, Xiusi Chen, Julian McAuley
cs.CL
cs.CL
Large language models show impressive abilities in memorizing world knowledge, which leads to concerns regarding memorization of private information, toxic or sensitive knowledge, and copyrighted content. We introduce the problem of Large Scale Knowledge Washing, focusing on unlearning an extensive amount of factual knowledge. Previous unlearning methods usually define the reverse loss and update the model via backpropagation, which may affect the model's fluency and reasoning ability or even destroy the model due to extensive training with the reverse loss. Existing works introduce additional data from downstream tasks to prevent the model from losing capabilities, which requires downstream task awareness. Controlling the tradeoff of unlearning and maintaining existing capabilities is also challenging. To this end, we propose LAW (Large Scale Washing) to update the MLP layers in decoder-only large language models to perform knowledge washing, as inspired by model editing methods and based on the hypothesis that knowledge and reasoning are disentanglable. We derive a new objective with the knowledge to be unlearned to update the weights of certain MLP layers. Experimental results demonstrate the effectiveness of LAW in forgetting target knowledge while maintaining reasoning ability. The code will be open-sourced at https://github.com/wangyu-ustc/LargeScaleWashing.
[ -0.018080728128552437, -0.7033292651176453, 0.599524974822998, 0.08811336755752563, -0.07636259496212006, 0.03661105036735535, -0.44425350427627563, -0.3451940417289734, -0.21774017810821533, 1.0794973373413086, -0.16904202103614807, -0.007034215144813061, -0.7183184623718262, -0.6990921497344971, -0.5645033717155457, 1.0084642171859741, -0.10719197988510132, -0.05524609237909317, -0.08840443938970566, -0.16949279606342316, -0.3256857097148895, -0.523513913154602, -0.8950337767601013, -0.7180484533309937, 0.5351912975311279, 0.5132415294647217, 0.5258216261863708, 0.7083374261856079, 0.17690624296665192, 0.30714213848114014, -0.377055287361145, 0.14814302325248718, -0.7911158204078674, 0.14175771176815033, -0.7244892120361328, -0.4986223876476288, -0.2162158042192459, 0.021325604990124702, 0.6405789852142334, 0.7526478171348572, -0.365678071975708, 0.17015327513217926, 0.27992936968803406, 1.0057653188705444, -0.8497724533081055, 0.3031226694583893, -0.5968524813652039, 0.005497557111084461, 0.26743724942207336, -0.10989908128976822, -0.57243812084198, 0.11818783730268478, -0.074119932949543, -0.5240140557289124, 0.06145601347088814, 0.08717995136976242, 0.6259012222290039, 0.329825758934021, -0.40470007061958313, -0.09832331538200378, -0.9224452972412109, 0.9950499534606934, -0.8162397742271423, 0.19714632630348206, 0.6418054103851318, 0.15232907235622406, -0.14887793362140656, -0.6685336828231812, -0.49913960695266724, -0.02401553839445114, 0.2097386121749878, -0.0317373126745224, -0.1893533319234848, -0.2643316984176636, 0.45818617939949036, 0.2420673370361328, -0.016157066449522972, 0.3944534361362457, -0.5042974948883057, -0.040968164801597595, 0.733213484287262, -0.09480978548526764, 0.4310689866542816, 0.338811993598938, -0.47976136207580566, 0.1061021015048027, -0.724276065826416, -0.012840877287089825, 0.17007037997245789, 0.2117536962032318, 0.24825245141983032, 0.6025585532188416, -0.28088855743408203, 0.2757703959941864, -0.19437214732170105, -0.3923575282096863, 0.23285925388336182, 0.22703954577445984, -0.3273707926273346, 0.2616756558418274, 0.5017253756523132, 0.4101089537143707, 0.3688478171825409, -0.005170648451894522, -0.39023199677467346, -0.7017710208892822, 0.19238729774951935, -0.7949470281600952, -0.16998149454593658, 0.08920156210660934, -0.5252233147621155, -0.019109975546598434, -0.06772369891405106, -0.5167464017868042, -1.1008026599884033, -0.7128080725669861, 0.7281785011291504, -0.5621057152748108, -0.4890369474887848, 0.1250395029783249, -0.4901001453399658, 0.22464212775230408, 0.3340533971786499, -0.9290869235992432, 0.02732297033071518, 0.7705838084220886, 0.48626384139060974, 0.487971693277359, -0.3905460238456726, -0.3831369876861572, 0.3886876404285431, -0.2979266941547394, 0.13922488689422607, -0.311295747756958, 0.01812341809272766, -0.06690831482410431, -0.04643969610333443, -0.11214272677898407, -0.6524488925933838, 0.07794162631034851, -0.8393536806106567, -0.11665554344654083, -0.32374733686447144, -0.7498720288276672, -0.5370561480522156, 0.11885271221399307, -0.6426591873168945, 0.5068517923355103, -0.010958020575344563, -0.7937695384025574, 0.3098832666873932, -0.4610195457935333, -0.5791313648223877, -0.16964276134967804, 0.4071385860443115, -0.5174474120140076, 0.058250121772289276, -0.027076907455921173, 0.7135793566703796, -0.2231917530298233, 0.4031602144241333, -0.39929160475730896, -0.32667866349220276, 0.01850949227809906, -0.37371912598609924, 0.9966412782669067, 0.30646851658821106, -0.5228279829025269, -0.015538583509624004, -0.5846264362335205, -0.17392408847808838, 0.27709364891052246, -0.4099429249763489, -0.6440086364746094, 0.17555198073387146, -0.3791893720626831, 0.20355425775051117, 0.3964260220527649, -0.4105507731437683, 0.15019793808460236, 0.07583391666412354, 0.7242496013641357, 0.9777881503105164, 0.10912884026765823, 0.4806392192840576, -0.5058953166007996, 0.04943154379725456, 0.21575549244880676, 0.20975598692893982, -0.09359056502580643, -0.5843002200126648, -0.7530267834663391, -0.3481714725494385, 0.0880412682890892, 0.5040872693061829, -0.7183418273925781, 0.36253273487091064, -0.12873195111751556, -0.45811668038368225, -0.2588534653186798, 0.5333199501037598, 0.5183757543563843, 0.43162989616394043, 0.5817246437072754, 0.01894090510904789, -0.40807604789733887, -0.7276232242584229, -0.44261667132377625, 0.04638385772705078, -0.004770749714225531, -0.0857311487197876, 0.6564745903015137, -0.27462121844291687, 0.5742613673210144, -0.4651051461696625, -0.5055167078971863, -0.44524645805358887, 0.22899229824543, 0.023866578936576843, 0.5458816289901733, 0.04179893434047699, -0.8804463148117065, -0.2611597180366516, 0.1995389610528946, -0.6602737903594971, 0.2671268582344055, 0.025428634136915207, 0.13716402649879456, 0.32307735085487366, 0.9817569851875305, -0.6340165138244629, 0.19600550830364227, 0.3952973783016205, -0.3258860409259796, 0.565997302532196, -0.7030795216560364, 0.05448542907834053, -0.9788883328437805, 0.24716688692569733, -0.08057321608066559, -0.1987038403749466, -0.5614842772483826, 0.4110877513885498, 0.03663492575287819, 0.028064526617527008, -0.35136011242866516, 0.5006055235862732, -0.43335971236228943, 0.13444148004055023, -0.4476817846298218, -0.016898270696401596, 0.010533436201512814, 0.5560489296913147, -0.06444663554430008, 0.3314361870288849, 0.3013700842857361, -0.6171332597732544, 0.46624326705932617, -0.09734570980072021, -0.48232656717300415, 0.018588731065392494, -0.23449553549289703, -0.025479193776845932, -0.2898428440093994, 0.14139343798160553, -0.6942846775054932, -0.04375205188989639, -0.19815534353256226, -0.04112967848777771, 0.6643159985542297, -0.2765350341796875, -0.5858106017112732, -0.3137643337249756, -0.21194452047348022, 0.1556127667427063, 0.8677637577056885, -0.722405195236206, 0.6694391965866089, 0.46957507729530334, -0.07250148057937622, -1.0066944360733032, -0.6419967412948608, -0.036449041217565536, -0.28881850838661194, -0.32915571331977844, -0.10704518854618073, 0.23741643130779266, -0.4193422496318817, 0.02331612817943096, -0.27741605043411255, -0.3225743770599365, 0.037018731236457825, 0.13934063911437988, -0.15097470581531525, -0.07064861059188843, 0.22002211213111877, -0.023672979325056076, 0.07438017427921295, 0.3084595203399658, -0.6684596538543701, 0.6977982521057129, 0.0938652977347374, -0.2890860438346863, -0.20886580646038055, 0.043445736169815063, 0.7952693700790405, -0.374320387840271, 1.0033257007598877, 0.7228284478187561, -0.40734168887138367, -0.5262951850891113, -0.6745916604995728, 0.050021130591630936, -0.45630863308906555, 0.6350563168525696, -0.18829065561294556, -0.765357494354248, 0.5738303661346436, -0.12762445211410522, 0.13777005672454834, 0.46011507511138916, 0.5469761490821838, -0.22167837619781494, 0.9133139252662659, 0.801293671131134, -0.5030867457389832, 0.3496323823928833, -0.4691472351551056, 0.5359128713607788, -0.7320992946624756, -0.1584632843732834, -0.2920307219028473, -0.512560248374939, -0.3505847752094269, -0.4647587537765503, -0.22296024858951569, 0.41836249828338623, -0.6736520528793335, 0.2388852834701538, -0.1808444857597351, 0.6241307854652405, 0.8013879060745239, 0.43881916999816895, 0.5706018209457397, -0.16877207159996033, 0.04986084997653961, 0.34913599491119385, -0.5675557851791382, -0.23502467572689056, 1.0614317655563354, 0.4749760329723358, 0.7484064102172852, -0.0886462926864624, 0.6028491854667664, 0.20541724562644958, 0.2665993571281433, -0.7321908473968506, 0.5382598042488098, -0.23639258742332458, -0.6123194098472595, -0.7856946587562561, -0.8856959342956543, -0.6485099196434021, 0.20701292157173157, -0.013561117462813854, -0.6720733046531677, -0.2085794061422348, 0.19033874571323395, -0.03664426878094673, 1.2639610767364502, -0.6571768522262573, 0.648983359336853, 0.11394931375980377, -0.21761652827262878, -0.6463490128517151, -0.40549513697624207, 0.6519040465354919, -0.3554190993309021, 0.451406329870224, -0.0024294485338032246, 0.1788903921842575, 0.793915331363678, -0.5124847292900085, 1.0513361692428589, -0.5897269248962402, -0.47626641392707825, 0.31015849113464355, 0.093782939016819, 0.4806658923625946, -0.2602587044239044, 0.3492262661457062, -0.020843908190727234, -0.12548649311065674, -0.5969476103782654, -0.517608642578125, 0.5573714971542358, -0.6176043152809143, -0.8443390130996704, -0.0706901103258133, -0.7762722373008728, -0.1596519947052002, 0.4636131823062897, 0.11367236822843552, 0.23950596153736115, 0.22641895711421967, 0.251079797744751, 1.210543155670166, -0.5514865517616272, 0.3189656138420105, 0.4629473388195038, -0.3886706531047821, 0.018668238073587418, 1.1456893682479858, 0.23318488895893097, 0.346449077129364, 0.6395580172538757, 0.5057488679885864, -0.11051328480243683, -0.48992297053337097, -0.056517068296670914, 0.37014347314834595, -0.7393529415130615, -0.07182542979717255, -0.5146937966346741, -0.4236358404159546, -0.24389022588729858, -0.12224110215902328, -0.45107704401016235, -0.4223395586013794, 0.03082212246954441, 0.08210907876491547, 0.3794938325881958, 0.662764847278595, -0.17586489021778107, 0.07189230620861053, -0.679192304611206, 0.48166343569755554, 0.5177410244941711, 0.4545624554157257, 0.27849262952804565, -0.9066399931907654, -0.4449480175971985, 0.22229230403900146, -0.09922611713409424, -0.04773642495274544, 0.2649453580379486, 0.0005087221506983042, 0.39266493916511536, 0.7909367680549622, 0.13929498195648193, 0.4187973141670227, -0.4358117878437042, 0.3004538118839264, 0.48384734988212585, -0.8447437286376953, 0.24630753695964813, -0.3425516188144684, 0.370746910572052, 0.14632567763328552, 0.34320902824401855, -0.5920799970626831, -0.6820576190948486, -0.6387203335762024, -1.0002071857452393, 0.49699288606643677, -0.5698238015174866, 0.24046443402767181, 0.4088268578052521, 0.24159081280231476, -0.10591798275709152, 0.19053874909877777, -0.3240351676940918, 0.04314044490456581, -0.06763886660337448, -0.053759485483169556, -0.2441355139017105, -0.3695075511932373, -0.09145145863294601, -0.35830995440483093, 1.1938021183013916, 0.15616746246814728, -0.19575388729572296, -0.07423697412014008, -0.4287542998790741, -0.1261642873287201, 0.35090315341949463, 0.4497155249118805, 0.8352939486503601, 0.16438902914524078, 0.12130749970674515, 0.205667644739151, -0.7438967823982239, 0.09373608976602554, -0.12616778910160065, -0.20359733700752258, -0.7274099588394165, 0.48766112327575684, 0.43166327476501465, 0.3178299367427826, -0.8380630612373352, 0.6466577649116516, 0.29866522550582886, -0.5559088587760925, -0.37479227781295776, 0.1839292198419571, 0.49293404817581177, 0.3044171929359436, 0.3527422249317169, 0.2515784800052643, -0.11932343244552612, -0.7233721017837524, 0.2888362407684326, 0.1327885389328003, -0.3724406063556671, 0.1581338793039322, 0.6704673171043396, -0.13098278641700745, 0.2148130089044571, 0.9952234625816345, -0.18845121562480927, -0.5668880343437195, 0.4174315333366394, 0.41152501106262207, 0.3692476451396942, -0.5189328193664551, 0.037562254816293716, 0.29131850600242615, 0.3787023425102234, -0.6095775365829468, -0.012582431547343731, 0.17555704712867737, -0.9248001575469971, -0.9376205801963806, -0.3921900987625122, -0.24967171251773834, 0.5310991406440735, -0.5800682306289673, -0.06643153727054596, -0.9065801501274109, 0.1282537281513214, -0.05463254451751709, 0.07124729454517365, -0.32789507508277893, 0.2663614749908447, 0.12937206029891968, 0.8103165626525879, -0.6805099844932556, 0.8458364009857178, 0.5199987888336182, -0.4511379301548004, -0.835881769657135, -0.15164682269096375, 0.08917322009801865, -1.0288364887237549, 0.6817225813865662, 0.2719651758670807, 0.022887352854013443, -0.039282526820898056, -0.5833255648612976, -0.7382873296737671, 1.040972113609314, 0.3653189539909363, -0.6860777735710144, -0.029629774391651154, -0.046410784125328064, 0.25665661692619324, 0.10966061800718307, -0.3116890788078308, 0.7585244178771973, 0.5821171402931213, 0.09832613170146942, -0.957787036895752, 0.16998620331287384, -0.13360044360160828, -0.3432132601737976, 0.48090189695358276, -0.6352686882019043, 0.8043397665023804, -0.7195225954055786, 0.1228904128074646, -0.11630909889936447, 0.5094931125640869, 0.08438242226839066, 0.19056688249111176, 0.6865774393081665, 1.0084937810897827, 0.9330253601074219, 0.08234680444002151, 0.6761875152587891, -0.039908722043037415, 0.2617606520652771, 1.1549084186553955, -0.28454986214637756, 0.7545334100723267, 0.3049023449420929, 0.1278257817029953, 0.36242079734802246, -0.1495523899793625, -0.24742476642131805, 0.24068759381771088, 0.5120642781257629, -0.19632954895496368, -0.13143746554851532, 0.054694026708602905, 0.031150424852967262, 0.6647963523864746, 0.12143784761428833, -0.486769437789917, -0.10732318460941315, 0.2816723883152008, 0.5730977654457092, 0.12432534247636795, -0.8902391791343689, 0.682292103767395, 0.22127889096736908, -0.5344786047935486, 0.5913121104240417, 0.04209856316447258, 0.3274553418159485, -0.37040603160858154, -0.04560666158795357, 0.053035762161016464, 0.6499468684196472, -0.2461531013250351, -0.6529716849327087, 0.08189812302589417, -0.17335183918476105, -0.4041083753108978, -0.4117670953273773, 0.6494118571281433, -0.5500127077102661, -0.17485396564006805, 0.5968351364135742, 0.3456205129623413, 0.05986330658197403, -0.4940687119960785, -0.5305662155151367, -0.3619979918003082, 0.10453657805919647, -0.5529478192329407, 0.6100996732711792, 0.5403767228126526, -0.208504319190979, 1.026108741760254, 0.5585287809371948, 0.24580399692058563, -0.022499922662973404, 0.38028836250305176, 0.7989515066146851, -0.6867185831069946, -0.29410287737846375, -0.7129724025726318, 0.4131668210029602, -0.198448047041893, 0.1481323391199112, 0.6331021189689636, 0.44636568427085876, 0.8219343423843384, 0.013514012098312378, 0.8260102868080139, 0.020180482417345047, 0.5127406120300293, -0.654007613658905, 1.2083221673965454, -0.40689173340797424, -0.005647731013596058, -0.08156385272741318, -0.8560819625854492, -0.11939336359500885, 0.1545027792453766, -0.3010149896144867, 0.1169101744890213, 0.6684530377388, 0.4081701636314392, -0.07034486532211304, 0.2089066207408905, 0.5888664126396179, 0.6025744676589966, 0.16743147373199463, 0.5828995704650879, 0.7556554079055786, -0.16157737374305725, 0.5407479405403137, -0.2965923547744751, -0.5344111919403076, -0.03204469755291939, -0.7377451062202454, -0.851861298084259, -0.6363381147384644, -0.22730474174022675, -0.26864945888519287, -0.10677047818899155, 0.490736722946167, 0.4215738773345947, -0.7177987694740295, -0.07244233787059784, 0.030575331300497055, 0.15465721487998962, -0.6120193600654602, -0.2332243174314499, 0.434889018535614, -0.6858492493629456, -0.45268285274505615, 0.24441668391227722, 0.08046381175518036, -0.2823779582977295, -0.10906928032636642, 0.14569851756095886, -0.30450886487960815, -0.14070920646190643, 0.801376461982727, 0.4508109390735626, -0.29092469811439514, -0.12604032456874847, -0.602922260761261, 0.14297963678836823, -0.3757498264312744, 1.040763258934021, -0.35422348976135254, 0.17243951559066772, 0.3100936710834503, 0.7451828718185425, 0.7014347910881042, -0.14464125037193298, 0.5454261302947998, -0.5918201804161072, -0.09795784950256348, -0.05322816222906113, 0.8196240067481995, 0.27433523535728455, -0.3026902675628662, 0.15073056519031525, 0.040377385914325714, -0.6721463203430176, -0.5986495018005371, 0.052464112639427185, -0.48502814769744873, -0.8532894849777222, 1.1524949073791504, -0.3921206295490265, -0.26240089535713196, -0.18604759871959686, -0.02318277396261692, 0.4249073565006256, -0.22107598185539246, 0.8492638468742371, 0.6241428256034851, 0.3670974671840668, -0.13333538174629211, -0.6864221096038818, 0.33561500906944275, 0.14381307363510132, -0.36597591638565063, 0.7741979360580444, 0.27922874689102173, 0.5561823844909668, 0.1259707510471344, 0.4461376368999481, -0.22577673196792603, -0.025293715298175812, -0.023389538750052452, 0.31096866726875305, -0.29750797152519226, -0.4264678359031677, -0.2704331874847412, 0.15175077319145203, 0.013038135133683681, 0.39415693283081055 ]
http://arxiv.org/abs/2405.16714v1
http://arxiv.org/pdf/2405.16714v1
Crafting Interpretable Embeddings by Asking LLMs Questions
2024-05-26T22:30:29
2024-05-26T22:30:29
Vinamra Benara, Chandan Singh, John X. Morris, Richard Antonello, Ion Stoica, Alexander G. Huth, Jianfeng Gao
cs.CL
cs.CL, cs.AI, cs.LG, q-bio.NC
Large language models (LLMs) have rapidly improved text embeddings for a growing array of natural-language processing tasks. However, their opaqueness and proliferation into scientific domains such as neuroscience have created a growing need for interpretability. Here, we ask whether we can obtain interpretable embeddings through LLM prompting. We introduce question-answering embeddings (QA-Emb), embeddings where each feature represents an answer to a yes/no question asked to an LLM. Training QA-Emb reduces to selecting a set of underlying questions rather than learning model weights. We use QA-Emb to flexibly generate interpretable models for predicting fMRI voxel responses to language stimuli. QA-Emb significantly outperforms an established interpretable baseline, and does so while requiring very few questions. This paves the way towards building flexible feature spaces that can concretize and evaluate our understanding of semantic brain representations. We additionally find that QA-Emb can be effectively approximated with an efficient model, and we explore broader applications in simple NLP tasks.
[ -0.4526396095752716, -0.9687513113021851, 1.1331477165222168, 0.19878201186656952, -0.2927062213420868, -0.26963284611701965, -0.17908234894275665, -0.373274564743042, 0.2535156011581421, 0.46217355132102966, -0.7622367143630981, -0.3920900225639343, -0.6545687317848206, 0.14963552355766296, -0.3216151297092438, 0.7784269452095032, 0.02890755422413349, 0.2583957016468048, -0.7007570266723633, -0.250240296125412, -0.5239497423171997, -0.2751941382884979, -0.4985940456390381, -0.34409239888191223, 0.5688053369522095, 0.1468627154827118, 0.8229386806488037, 0.5813130140304565, -0.01775163598358631, 0.17687460780143738, -0.41615626215934753, 0.07181166112422943, -0.22649294137954712, 0.19024251401424408, -0.09563014656305313, -0.8772000074386597, -0.19462327659130096, -0.12422680854797363, 0.5520659685134888, 0.974307119846344, -0.217081218957901, 0.11885128170251846, 0.1604582965373993, 0.13027989864349365, -0.27457380294799805, 0.16527248919010162, -0.7249818444252014, 0.005503898020833731, 0.2895304560661316, -0.35012897849082947, -0.5276079177856445, -0.38764679431915283, 0.19038642942905426, -0.44094112515449524, -0.03332443907856941, 0.10172540694475174, 0.6175593733787537, 0.37173211574554443, -0.32914140820503235, -0.49150216579437256, -0.2377488613128662, 0.6573805212974548, -0.551270604133606, 0.5074641108512878, 0.602241575717926, 0.19598843157291412, -0.14411146938800812, -0.8422732353210449, -0.655358076095581, -0.1205279678106308, -0.23629353940486908, 0.03309119865298271, -0.19175511598587036, 0.012701423838734627, 0.24165277183055878, 0.14118258655071259, -0.5549662709236145, 0.021455436944961548, -0.14848525822162628, -0.008973684161901474, 0.2502203583717346, 0.21267220377922058, 0.466838538646698, -0.35956618189811707, -0.26382166147232056, -0.022271044552326202, -0.7880222797393799, -0.022458501160144806, 0.12830035388469696, -0.030347386375069618, -0.0433964766561985, 0.774200975894928, 0.2767714858055115, 0.613964855670929, -0.0069627645425498486, 0.4647112190723419, -0.12864883244037628, 0.03330320119857788, -0.03704512119293213, -0.20677734911441803, 0.24796617031097412, 0.27753686904907227, 0.14226840436458588, -0.2768303453922272, -0.1285172700881958, -0.17364774644374847, 0.3747856914997101, -0.7557022571563721, -0.11354953050613403, 0.7048560380935669, -0.4391571879386902, -0.12586916983127594, -0.10712094604969025, -0.5339356660842896, -0.46174731850624084, -0.1228271871805191, 0.46763214468955994, -0.5786097049713135, -0.23477324843406677, 0.3978136479854584, -0.18200545012950897, 0.7349315285682678, 0.4162181317806244, -1.0233721733093262, 0.04506418853998184, 0.5934864282608032, 0.7187573313713074, 0.11912029981613159, -0.06777361035346985, -0.4340682625770569, 0.1068597137928009, -0.21098420023918152, 0.8975836634635925, -0.6661362051963806, -0.4021177589893341, -0.022540045902132988, 0.049496449530124664, -0.07084523141384125, -0.5354185700416565, 0.18361160159111023, -0.8297640681266785, 0.24959750473499298, -0.4750082194805145, -0.749565064907074, -0.35662588477134705, 0.4300692081451416, -0.5182821750640869, 0.6033116579055786, 0.026701461523771286, -0.7914987802505493, 0.14631910622119904, -0.6411871314048767, -0.13487885892391205, 0.09057006984949112, -0.40434619784355164, -0.0990491658449173, 0.43005549907684326, 0.6736470460891724, 0.7706255316734314, -0.07144661247730255, 0.2548671364784241, -0.53182053565979, -0.13790364563465118, 0.7997393608093262, -0.5088604092597961, 0.6113772392272949, 0.23035213351249695, 0.009671501815319061, -0.09815599769353867, -0.4698367714881897, 0.3604833781719208, 0.1520288735628128, -0.39416614174842834, -0.21676114201545715, 0.05584430322051048, -0.10058716684579849, -0.035533152520656586, 0.36875033378601074, -0.5208013653755188, -0.013996954075992107, -0.4326919615268707, 0.7063818573951721, 0.7804576754570007, 0.04732357710599899, 0.3698735535144806, -0.25513482093811035, 0.7152663469314575, -0.03601251170039177, -0.05429264158010483, -0.21174795925617218, -0.6758314371109009, -0.505946695804596, -0.32969120144844055, 0.23615066707134247, 0.32064586877822876, -0.8846098780632019, 0.3276602327823639, -0.17991210520267487, -0.2533037066459656, -0.9139117002487183, -0.0068681747652590275, 0.06131786108016968, 0.3125542402267456, 0.49424368143081665, 0.10461422801017761, -0.37161099910736084, -0.9510555863380432, -0.267925888299942, -0.09208914637565613, -0.35123002529144287, 0.4316222667694092, 0.39692214131355286, -0.10226429253816605, 0.9137189984321594, -0.7730244398117065, 0.16847321391105652, -0.41020748019218445, 0.06536532938480377, 0.1627356857061386, 0.1262224316596985, 0.2500307261943817, -0.6890043020248413, -0.06689677387475967, -0.22472718358039856, -0.9620748162269592, 0.05228155478835106, -0.2702646553516388, 0.10032904148101807, -0.31899434328079224, 0.6522352695465088, -0.6725960969924927, 0.04085922986268997, 0.6331615447998047, -0.5104827284812927, 0.04985128343105316, -0.2737734317779541, -0.23237228393554688, -1.1384302377700806, 0.0064929877407848835, -0.3963100016117096, -0.36380186676979065, -0.5714521408081055, 0.07995995879173279, 0.16884127259254456, -0.10958666354417801, -0.5725014209747314, 0.6751081347465515, -0.461948961019516, -0.2941882312297821, -0.05409552529454231, 0.24375464022159576, 0.33856824040412903, 0.3377053737640381, 0.11117325723171234, 0.6578665971755981, 0.5562856197357178, -0.34253862500190735, -0.20084497332572937, 0.5732181072235107, -0.6039760708808899, 0.33385413885116577, -0.7847356200218201, 0.3724460005760193, -0.5960395336151123, 0.16667403280735016, -1.0909979343414307, -0.10242685675621033, 0.15748824179172516, -0.49027228355407715, 0.2992953360080719, 0.012801864184439182, -0.2430359423160553, -0.02448227070271969, -0.136702761054039, 0.41097959876060486, 0.5067844390869141, -0.7673211097717285, 0.7356194853782654, 0.24250835180282593, -0.26125314831733704, -0.483931303024292, -0.9602883458137512, -0.03140001744031906, -0.012765384279191494, -0.5955559611320496, 0.1588301658630371, -0.10096799582242966, -0.002462259493768215, 0.27029186487197876, 0.0025241756811738014, -0.017128583043813705, 0.24812418222427368, 0.3764704167842865, 0.20172876119613647, -0.47658514976501465, 0.18912340700626373, 0.28785568475723267, 0.08474590629339218, 0.2947469651699066, -0.1371251940727234, 0.46619582176208496, -0.27645784616470337, -0.40179580450057983, -0.23771651089191437, 0.4812176823616028, 0.3919951021671295, -0.12126617133617401, 0.8308663964271545, 0.5181423425674438, -0.3879982829093933, -0.3264819085597992, -0.30585387349128723, -0.5485644936561584, -0.48811691999435425, 0.4158362150192261, -0.4473252296447754, -1.2747553586959839, 0.49725475907325745, -0.11585355550050735, -0.10342004150152206, 0.16223596036434174, 0.6314927935600281, -0.5372440814971924, 1.2924264669418335, 0.46580228209495544, 0.522454023361206, 0.3422389328479767, -0.23773407936096191, 0.10832338780164719, -0.9774535894393921, -0.33523833751678467, -0.20661330223083496, -0.3627780079841614, -0.3137012720108032, -0.7227790355682373, 0.4766468405723572, 0.01619296707212925, 0.31617215275764465, 0.07854094356298447, -0.23085945844650269, 0.6276018023490906, 0.08507712185382843, 0.2569306492805481, 0.013289361260831356, -0.12546446919441223, -0.1556301862001419, -0.045215312391519547, -0.7889225482940674, -0.6341457366943359, 0.90947425365448, 0.6706968545913696, 0.8474080562591553, -0.20590226352214813, 0.4898845851421356, -0.17650958895683289, 0.5347955822944641, -0.9332470893859863, 0.4889181852340698, 0.14925868809223175, -0.7508987188339233, -0.25327539443969727, -0.18938742578029633, -1.0405529737472534, 0.4754704236984253, -0.44936811923980713, -0.607511043548584, 0.32923153042793274, 0.01920379512012005, -0.5697818994522095, 0.3677302896976471, -0.6939420104026794, 0.8022117018699646, -0.21733956038951874, 0.1873505860567093, -0.2589520812034607, -0.38500455021858215, 0.19477489590644836, 0.20271797478199005, 0.07846689969301224, -0.022987734526395798, -0.3909755051136017, 0.48923757672309875, 0.10780546069145203, 0.7649868726730347, -0.18477408587932587, -0.014804719015955925, 0.29236823320388794, 0.05730721354484558, 0.20756278932094574, 0.4274947941303253, -0.2918722629547119, 0.18401972949504852, 0.3029649257659912, -0.40069907903671265, -1.1138039827346802, 0.5053183436393738, -0.7423900961875916, -0.7741724848747253, -0.25623640418052673, -0.8523606657981873, -0.3843129873275757, -0.07392552495002747, 0.04343928024172783, 0.5160886645317078, -0.16513389348983765, 0.38289085030555725, 0.9033889174461365, -0.6270724534988403, 0.10433924198150635, 0.27292752265930176, -0.4079405963420868, -0.3380790948867798, 0.7196595668792725, -0.07174717634916306, 0.1707429140806198, 0.4439191520214081, 0.20433515310287476, -0.6974250078201294, -0.8188542723655701, -0.4688457250595093, 0.4496088922023773, -0.8929476737976074, 0.08097094297409058, -0.7868550419807434, -0.12794625759124756, -0.06501559913158417, -0.11951900273561478, -0.04265831410884857, -0.4053993821144104, -0.51897132396698, -0.31406381726264954, 0.2456105351448059, 0.945636510848999, 0.22439032793045044, 0.11808403581380844, -0.8468026518821716, 0.3202586770057678, 0.5072510838508606, 0.29457277059555054, -0.1507899910211563, -0.4911224842071533, -0.2154470831155777, 0.16016629338264465, -0.11872155964374542, -1.0217859745025635, 0.23863744735717773, 0.2025502622127533, 0.5455487966537476, 0.3004259467124939, -0.029652196913957596, 0.429091215133667, -0.431800901889801, 0.7144024968147278, -0.0011469246819615364, -0.8096635937690735, 0.5104798674583435, -0.1751830130815506, 0.3623373210430145, 0.3589935302734375, 0.7406260371208191, -0.39203712344169617, -0.5480217337608337, -0.5478231310844421, -0.6474871039390564, 0.4980534017086029, 0.06707672774791718, 0.5741563439369202, -0.32382887601852417, 0.5998591780662537, 0.18488621711730957, 0.10565104335546494, -0.5125475525856018, -0.027243517339229584, -0.17158496379852295, -0.2587379515171051, 0.02528293989598751, -0.3880460560321808, -0.14368543028831482, -0.04658845067024231, 0.16305406391620636, -0.47365155816078186, 0.5740980505943298, 0.25906306505203247, -0.2735784649848938, 0.12893612682819366, 0.43796220421791077, 0.3297683000564575, 0.7026645541191101, -0.4141635596752167, 0.24718399345874786, 0.5185566544532776, -0.22839604318141937, -0.041195519268512726, -0.18436415493488312, -0.10180933773517609, -0.1038992628455162, 0.28389349579811096, 0.861515998840332, 0.02584848925471306, -0.8068960309028625, 0.5104373097419739, -0.4487714469432831, -0.36399218440055847, -0.24256810545921326, -0.033672649413347244, 0.6253949403762817, 0.4483647346496582, 0.009254026226699352, -0.2576877176761627, -0.010880564339458942, -0.6327900290489197, 0.1966608166694641, 0.49545684456825256, -0.6377484798431396, -0.2617133557796478, 0.6013033986091614, -0.18793238699436188, -0.060660216957330704, 0.7162907123565674, 0.18255871534347534, -0.34669792652130127, 0.47548073530197144, 0.6004846096038818, 0.808668315410614, -0.018066558986902237, 0.30548524856567383, 0.07708897441625595, 0.28791317343711853, 0.25675085186958313, 0.8305978178977966, 0.016528937965631485, -0.8844319581985474, -0.41119658946990967, -0.7205108404159546, -0.62623131275177, 0.19409538805484772, -0.9813998937606812, 0.06873556971549988, -0.6503055095672607, -0.11247648298740387, 0.1717514544725418, -0.5408660173416138, -0.5781204700469971, 0.3091519773006439, 0.2298683226108551, 0.9233263731002808, -0.725952684879303, 0.9463043808937073, 0.9344865083694458, -0.3560412526130676, -0.7477582693099976, 0.03570357337594032, -0.43720367550849915, -1.0075287818908691, 0.36529818177223206, 0.21761879324913025, 0.18142856657505035, 0.1459742784500122, -0.7891878485679626, -0.7615219950675964, 1.1140140295028687, 0.5811914801597595, -0.17720027267932892, -0.059667740017175674, 0.13699573278427124, 0.5258281826972961, -0.39922282099723816, 0.371608704328537, 0.5484653115272522, 0.4803347885608673, -0.015188987366855145, -0.120763398706913, 0.448757141828537, -0.1217859536409378, -0.07632578164339066, -0.04843606427311897, -0.19334763288497925, 0.6250815987586975, -0.3456878066062927, -0.26297691464424133, 0.01213184092193842, 0.8701392412185669, 0.24481429159641266, 0.09365697205066681, 0.6246654391288757, 0.34048792719841003, 0.885692298412323, -0.03570010885596275, 1.2561701536178589, -0.17772012948989868, 0.028483280912041664, 0.8479422330856323, 0.12190031260251999, 1.2216014862060547, 0.8981382250785828, -0.11060457676649094, 0.5383861064910889, 0.7583211064338684, 0.01283964142203331, 0.42910608649253845, 0.28801119327545166, -0.06767401099205017, -0.6855182647705078, -0.13641254603862762, -0.15621639788150787, 0.48175159096717834, 0.7218747138977051, -0.18035100400447845, -0.20271947979927063, 0.11656836420297623, -0.22862271964550018, 0.042057670652866364, -0.01784394308924675, 0.7080056071281433, 0.6110410690307617, -0.5864177942276001, 0.5682951211929321, -0.04233163222670555, 0.5827709436416626, -0.6993013620376587, -0.16535988450050354, -0.22171036899089813, -0.16016411781311035, -0.15609216690063477, -1.1643258333206177, 0.5384312272071838, -0.07694394141435623, -0.18557268381118774, -0.4476124048233032, 0.4179763197898865, -0.5269289016723633, -0.2946709096431732, 0.22928670048713684, 0.8589971661567688, 0.2901267111301422, -0.09845345467329025, -0.7597783803939819, -0.15264910459518433, -0.10541210323572159, -0.46113350987434387, 0.556829571723938, 0.3129107654094696, 0.14036446809768677, 0.9287904500961304, 0.6926165819168091, 0.1123163253068924, 0.006969911511987448, -0.03219565376639366, 0.9205494523048401, -0.6769707202911377, -0.4149477183818817, -0.5681627988815308, 0.525874674320221, 0.347443163394928, -0.15362267196178436, 0.3645237982273102, -0.03963469713926315, 0.5173602104187012, -0.09796258807182312, 0.6782114505767822, -0.15720222890377045, 0.2815362215042114, -0.8842229843139648, 0.8563308715820312, -0.7967026233673096, 0.3679857552051544, 0.3239337205886841, -0.7897453904151917, -0.23924340307712555, 0.6498351097106934, -0.3877094089984894, -0.032346758991479874, 0.8952065110206604, 0.9836845993995667, -0.018974656239151955, 0.4578862190246582, 0.6431560516357422, 0.37984684109687805, 0.17168332636356354, 0.5303879380226135, 1.3138350248336792, -0.19159695506095886, 0.5910693407058716, 0.10938078165054321, 0.14635956287384033, 0.044344693422317505, -0.9303549528121948, -0.9156328439712524, -0.35421159863471985, -0.24878238141536713, -0.44916507601737976, -0.23292410373687744, 0.9532614350318909, 0.39334040880203247, -0.9120340943336487, 0.02087230235338211, 0.24071291089057922, 0.3526625633239746, -0.07508347183465958, -0.17552435398101807, 0.5090885162353516, -0.39473429322242737, -0.6251634359359741, 0.49215245246887207, 0.20655283331871033, 0.10301040858030319, -0.4447087347507477, 0.07708264142274857, -0.1516820788383484, 0.2633572816848755, 0.47466176748275757, -0.04989754408597946, -0.7164186239242554, -0.5858967304229736, 0.33234158158302307, 0.031870629638433456, 0.04202507063746452, 0.6617477536201477, -0.5608038902282715, 0.4143809974193573, 0.6027758717536926, 1.1708711385726929, 0.47276440262794495, -0.17284098267555237, 0.8378368020057678, -0.5972562432289124, -0.1291850060224533, 0.4013226330280304, 0.44862231612205505, 0.38817623257637024, -0.4270075261592865, 0.2000489979982376, -0.26286599040031433, -0.3425731062889099, -0.6792161464691162, 0.2052803635597229, -1.0095432996749878, -0.45790886878967285, 1.220700740814209, -0.44292372465133667, -0.46755385398864746, -0.30901920795440674, -0.12533259391784668, -0.0196903757750988, 0.09172988682985306, 0.5016253590583801, 0.7892258763313293, -0.15948599576950073, -0.37368154525756836, -0.6669575572013855, 0.46376165747642517, 0.8351090550422668, -0.7044585347175598, -0.09099052846431732, 0.23206906020641327, 0.4949750006198883, -0.14603254199028015, 0.40702730417251587, -0.2518448531627655, 0.2947945296764374, -0.053982533514499664, -0.1693125069141388, -0.1133846715092659, -0.12437227368354797, -0.7559753656387329, 0.2613835036754608, 0.45174574851989746, -0.06748779863119125 ]
http://arxiv.org/abs/2405.16712v1
http://arxiv.org/pdf/2405.16712v1
Zamba: A Compact 7B SSM Hybrid Model
2024-05-26T22:23:02
2024-05-26T22:23:02
Paolo Glorioso, Quentin Anthony, Yury Tokpanov, James Whittington, Jonathan Pilault, Adam Ibrahim, Beren Millidge
cs.LG
cs.LG, cs.AI, cs.CL
In this technical report, we present Zamba, a novel 7B SSM-transformer hybrid model which achieves competitive performance against leading open-weight models at a comparable scale. Zamba is trained on 1T tokens from openly available datasets and is the best non-transformer model at this scale. Zamba pioneers a unique architecture combining a Mamba backbone with a single shared attention module, thus obtaining the benefits of attention at minimal parameter cost. Due to its architecture, Zamba is significantly faster at inference than comparable transformer models and requires substantially less memory for generation of long sequences. Zamba is pretrained in two phases: the first phase is based on existing web datasets, while the second one consists of annealing the model over high-quality instruct and synthetic datasets, and is characterized by a rapid learning rate decay. We open-source the weights and all checkpoints for Zamba, through both phase 1 and annealing phases.
[ -0.39129936695098877, -0.31870853900909424, 0.16297735273838043, 0.24307359755039215, -0.5873669385910034, 0.20694810152053833, 0.08996084332466125, -0.1465827375650406, 0.3743768036365509, 0.4984379708766937, -0.5276001691818237, -0.17212603986263275, -0.36047908663749695, -0.0819302499294281, -0.5284314155578613, 0.4841766655445099, 0.23831842839717865, 0.17172293365001678, 0.009923664852976799, -0.22104103863239288, -0.38286975026130676, -0.45367443561553955, -0.12265773862600327, -0.69842928647995, 0.6098501086235046, 0.343034565448761, 0.7950983643531799, 0.4221755266189575, 0.33586350083351135, 0.2804429233074188, -0.3901471495628357, 0.0075782667845487595, -0.6060483455657959, -0.2633926570415497, -0.25960811972618103, -0.8438000679016113, -0.34589534997940063, -0.13710404932498932, 0.6442608833312988, 0.7048445343971252, -0.3151145875453949, 0.10779961198568344, -0.308439701795578, 0.9654675722122192, -0.7722845673561096, -0.12984244525432587, -0.5836175084114075, 0.05686899647116661, -0.3116455674171448, 0.1968793123960495, -0.7131177186965942, -0.5446625351905823, -0.2634887099266052, -0.3269631564617157, 0.5286903381347656, -0.028201604261994362, 0.7194212675094604, 0.389880508184433, -0.5653742551803589, 0.14200550317764282, -0.9397820234298706, 0.5811503529548645, -0.4010466933250427, 0.376720666885376, -0.012006092816591263, 1.0613036155700684, -0.03087775409221649, -0.6537009477615356, -0.5638794302940369, 0.052831050008535385, 0.1785789281129837, 0.4544864594936371, -0.14448441565036774, 0.010689587332308292, 0.06099306792020798, 0.6099509596824646, -0.48798125982284546, 0.11266665160655975, -0.8549357056617737, 0.10742805898189545, 0.5754638314247131, 0.15555596351623535, 0.05337845906615257, -0.41625070571899414, -0.6708218455314636, -0.10731933265924454, -0.552690863609314, -0.0003554728755261749, 0.6022704839706421, 0.2423650175333023, -0.26198458671569824, 0.46941885352134705, -0.33960598707199097, 0.6841491460800171, 0.37595126032829285, 0.012888964265584946, 0.23889625072479248, -0.26299387216567993, -0.2944251298904419, 0.34797927737236023, 0.8300434350967407, 0.23020386695861816, -0.21211150288581848, -0.42409583926200867, -0.06358877569437027, 0.33677300810813904, 0.6679350137710571, -0.7168784141540527, -0.24336443841457367, 0.15307487547397614, -0.8810669183731079, -0.08929404616355896, 0.17916296422481537, -0.6648736596107483, -0.5244945287704468, -0.20740368962287903, 0.6675188541412354, -0.6077073216438293, -0.5035801529884338, 0.19639952480793, -0.11272932589054108, 0.32627689838409424, 0.1645343005657196, -0.6054072976112366, 0.14692148566246033, 0.07816506177186966, 0.9032089710235596, 0.017160996794700623, 0.13032911717891693, -0.01293334923684597, 0.1981721818447113, -0.5025165677070618, 1.0146379470825195, -0.2904113829135895, -0.7358331084251404, -0.4491431713104248, -0.13823959231376648, -0.37510183453559875, -0.8064401149749756, 0.4423375129699707, -0.4117816090583801, -0.10125220566987991, -0.10360714793205261, -0.279232382774353, -0.4877221882343292, -0.10386576503515244, -0.9052677750587463, 1.1251956224441528, 0.6172383427619934, -0.2685406804084778, 0.19860033690929413, -0.7395060658454895, -0.49855321645736694, 0.27895107865333557, 0.12374231964349747, -0.5472274422645569, 0.1956186592578888, -0.24265512824058533, 0.33450961112976074, -0.6181380748748779, 0.1560564488172531, -0.25564950704574585, -0.6052284836769104, 0.17374207079410553, 0.3424414098262787, 0.37846970558166504, 0.3738044202327728, -0.3462931215763092, 0.4822937250137329, -1.2879538536071777, -0.029558902606368065, 0.2877231240272522, -0.11065244674682617, 0.016524266451597214, -0.0029572092462331057, -0.08192585408687592, 0.44945839047431946, 0.16597360372543335, -0.5194638967514038, -0.053857795894145966, -0.29966938495635986, 0.527863085269928, 0.49709147214889526, -0.22542749345302582, 0.5756374001502991, -0.3089263141155243, 0.6849812865257263, 0.21675631403923035, 0.600348949432373, -0.2692725956439972, -0.09210701286792755, -0.974428653717041, -0.4738864302635193, 0.5330437421798706, 0.22214673459529877, -0.8100724220275879, 0.8194327354431152, -0.1028265431523323, -1.1273040771484375, -0.6904916763305664, 0.07197001576423645, 0.25198301672935486, 0.1968703418970108, 0.4719986617565155, -0.2552972733974457, -0.621185302734375, -1.4767727851867676, 0.1664973348379135, 0.35155054926872253, 0.05196831375360489, -0.035784851759672165, 0.38132116198539734, -0.08759887516498566, 0.9499768018722534, -0.1775076985359192, -0.28437671065330505, -1.0149747133255005, 0.16980195045471191, 0.26711371541023254, 0.3865102231502533, 0.7595955729484558, -0.8097171783447266, -0.36542758345603943, 0.08427701145410538, -0.7119683027267456, 0.04322667792439461, -0.20994600653648376, -0.37719231843948364, -0.18453648686408997, 0.10075969994068146, -0.6319442391395569, 0.33933162689208984, 0.327711820602417, 0.042262014001607895, 0.05660463497042656, -0.05698100104928017, -0.039349623024463654, -1.2633570432662964, 0.23478098213672638, 0.0037254616618156433, 0.045130565762519836, -0.6217223405838013, 0.07347598671913147, 0.6376038193702698, -0.11986003816127777, -0.5420193076133728, 0.02971681021153927, -0.6179323792457581, -0.3008217513561249, -0.5339667797088623, -0.07103054970502853, -0.2567630410194397, 0.6069517731666565, -0.2545340657234192, 0.5120351314544678, 0.21093422174453735, -0.6155845522880554, 0.3433227241039276, 0.22616642713546753, -0.6704503893852234, 0.5656556487083435, -0.6983082890510559, 0.28153952956199646, -0.16759006679058075, 0.3521014153957367, -0.6963667273521423, -0.16894623637199402, 0.03886976093053818, -0.4221157431602478, 0.1919940561056137, -0.26782357692718506, -0.7606312036514282, -0.6989129185676575, -0.19550353288650513, -0.03315122053027153, 0.799350917339325, -0.5286757946014404, 1.2041831016540527, 0.09091587364673615, 0.31408122181892395, -0.017213791608810425, -0.39640989899635315, -0.20380474627017975, -0.17859160900115967, -0.657803475856781, 0.2522547245025635, 0.0028124258387833834, 0.20281939208507538, -0.2022840827703476, -0.35845378041267395, 0.006129527930170298, 0.28297656774520874, 0.65947026014328, 0.464633971452713, -0.13285548985004425, -0.31368088722229004, 0.26563119888305664, -0.2484508454799652, -0.18597695231437683, 0.24475832283496857, 0.8773553967475891, 0.1904216706752777, -0.11350099742412567, -0.5041913986206055, 0.40443751215934753, 0.5716970562934875, -0.2511943280696869, 1.2877330780029297, 0.3420686423778534, -0.38537654280662537, -0.3813011646270752, -0.42583319544792175, 0.3912909924983978, -0.4977898895740509, 0.18447639048099518, -0.5043002367019653, -0.251353919506073, 0.7159181833267212, -0.1981409341096878, -0.19291669130325317, 0.5344846248626709, 0.7872522473335266, 0.13535338640213013, 1.0338962078094482, 0.6431558728218079, 0.25507932901382446, 0.5583929419517517, -0.3481749892234802, 0.43077704310417175, -0.7841309309005737, -0.8826884031295776, -0.7354879379272461, -0.6898661851882935, -0.05438776686787605, -0.4099069833755493, 0.40853267908096313, 0.5152602195739746, -0.20085111260414124, 0.529548168182373, -0.4696257412433624, 0.5969832539558411, 0.6798362135887146, 0.3721996545791626, 0.03598563000559807, -0.6040573716163635, -0.15054695308208466, 0.3490641415119171, -1.0242832899093628, -0.31638848781585693, 0.9862099289894104, -0.16287119686603546, 0.9401325583457947, 0.14328958094120026, 0.45014292001724243, 0.12715329229831696, 0.20252570509910583, -0.6504396200180054, 0.568252444267273, 0.16272707283496857, -0.6273160576820374, 0.3102615475654602, -0.40522706508636475, -0.7568543553352356, 0.47988370060920715, -0.17309138178825378, -0.42705729603767395, 0.20039962232112885, 0.08241453766822815, -0.670160710811615, 0.42944881319999695, -1.0698213577270508, 0.5980924963951111, -0.18255844712257385, -0.08003075420856476, -0.23360836505889893, -1.0534601211547852, 0.5940882563591003, -0.21313203871250153, 0.013558708131313324, -0.08629103004932404, 0.3220888674259186, 0.6645323038101196, -0.22526274621486664, 0.7169696688652039, -0.25751569867134094, 0.3656167984008789, 0.25958138704299927, -0.11171601712703705, 0.20922991633415222, -0.5698124766349792, 0.004894180689007044, 0.12707707285881042, -0.32543861865997314, -0.5350769758224487, -0.5603724718093872, 0.4542267620563507, -0.9538367986679077, -0.25107744336128235, -0.2563217878341675, -0.6166537404060364, -0.18682560324668884, 0.29224255681037903, 0.31032076478004456, 0.16197149455547333, -0.0248863622546196, 0.7699151039123535, 0.7282007932662964, -0.2442249357700348, 0.3354591727256775, 0.5071744918823242, -0.04781310260295868, -0.5002225041389465, 0.7282332181930542, 0.37754490971565247, 0.6169784069061279, 0.3999633193016052, 0.04157019034028053, -0.29435718059539795, -0.6410617828369141, -0.4616223871707916, 0.18121394515037537, -0.6084725856781006, -0.4181530773639679, -0.7338021993637085, -0.4387906789779663, -0.3607512414455414, -0.2373855710029602, -0.7771908044815063, -0.47777676582336426, -0.029606152325868607, -0.31619489192962646, 0.17292112112045288, 0.8011906743049622, -0.024966493248939514, 0.7938122749328613, -0.8607916235923767, 0.602655827999115, -0.14773857593536377, 0.2961937189102173, 0.16387920081615448, -0.3039861023426056, -0.6062094569206238, -0.10084563493728638, -0.5693982243537903, -0.7976027131080627, 0.15499082207679749, -0.06910881400108337, 0.8311494588851929, 0.5925332307815552, 0.3501329720020294, 0.4233871102333069, -0.13644176721572876, 0.8526563048362732, 0.6378671526908875, -0.7913364171981812, 0.7425669431686401, -0.24337998032569885, 0.35905101895332336, 0.2527472674846649, 0.4596019387245178, -0.13372202217578888, 0.02636169083416462, -0.5570198893547058, -0.763955295085907, 1.0113741159439087, 0.36026859283447266, -0.30342403054237366, 0.32227054238319397, 0.22149346768856049, 0.5471746921539307, 0.3172377049922943, -0.3787877559661865, -0.4483998119831085, -0.6516395807266235, -0.32281434535980225, -0.15446418523788452, -0.15735848248004913, -0.07911853492259979, -0.18652808666229248, 0.669245183467865, -0.12204476445913315, 0.3172528147697449, -0.18428996205329895, -0.419761061668396, -0.21197335422039032, 0.17375405132770538, 0.539461612701416, 0.5356992483139038, -0.2169319987297058, -0.1971873641014099, -0.027634209021925926, -0.24085767567157745, 0.16454188525676727, 0.2646959722042084, -0.27493417263031006, -0.03780630603432655, -0.1190696656703949, 0.9437261819839478, 0.6401835083961487, -0.5675251483917236, 0.0659915953874588, 0.10160015523433685, -0.4212598502635956, 0.013762874528765678, 0.5129677653312683, 0.28174522519111633, 0.4860028922557831, 0.5192810297012329, 0.15867328643798828, 0.014943179674446583, -0.554940402507782, -0.2913263738155365, 0.027674196287989616, -0.1261749267578125, -0.43922460079193115, 0.9647070169448853, 0.2952008545398712, -0.22353611886501312, 0.2908514440059662, 0.29167360067367554, -0.5749815702438354, 0.6845783591270447, 0.42149969935417175, 0.5680237412452698, -0.5116758942604065, 0.2420319765806198, 0.3555819094181061, 0.2586819529533386, -0.27941572666168213, 0.24570804834365845, -0.2862752079963684, -0.5479238033294678, 0.16357092559337616, -0.6104103326797485, -0.6233994960784912, -0.16472077369689941, -1.2508249282836914, 0.12148953229188919, -0.7126986384391785, -0.20732425153255463, 0.01972496137022972, -0.08236707001924515, -0.2959500849246979, 0.30560481548309326, 0.13100335001945496, 0.9878784418106079, -0.6755879521369934, 1.0332458019256592, 0.4545300006866455, -0.48998185992240906, -0.6238383054733276, -0.760722815990448, -0.1256123185157776, -0.6749906539916992, 0.08920523524284363, 0.44571244716644287, -0.174373060464859, 0.02485531195998192, -0.41008469462394714, -0.6699205040931702, 1.4585318565368652, 0.46991753578186035, -0.7258421182632446, -0.25442996621131897, 0.13215982913970947, 0.10252808034420013, -0.007652402389794588, 0.04429877921938896, 0.5824968814849854, 0.31190139055252075, 0.4534638226032257, -0.6148912310600281, -0.2957341969013214, -0.40308043360710144, 0.21980470418930054, 0.6659096479415894, -1.4201076030731201, 0.8786337971687317, -0.10428965091705322, -0.19563734531402588, 0.5269509553909302, 0.8849450945854187, 0.05780494585633278, 0.11171190440654755, 0.4110889434814453, 0.6060659885406494, 0.6949783563613892, -0.29787760972976685, 1.0346834659576416, -0.26127782464027405, 0.35123884677886963, 1.1291429996490479, -0.7925543785095215, 0.4701082408428192, 0.249154195189476, -0.12507875263690948, 0.528792142868042, 0.7997822761535645, -0.1612464338541031, 0.7537748217582703, -0.01971307024359703, -0.10571978241205215, -0.5622567534446716, 0.0007436166633851826, -0.7290393710136414, 0.17253251373767853, -0.02980630472302437, -0.393250048160553, -0.17545907199382782, 0.07352754473686218, -0.39101243019104004, 0.02844509854912758, -0.589128315448761, 0.46257007122039795, 0.0804804340004921, -0.2814774811267853, 0.20268000662326813, 0.12514139711856842, 0.5967684388160706, -1.1371666193008423, 0.3247475326061249, -0.46421635150909424, 0.525592565536499, -0.13520704209804535, -0.24972936511039734, 0.20623859763145447, -0.09069577604532242, -0.4478740394115448, -0.0426567941904068, 0.639406144618988, -0.09513956308364868, -0.5216078758239746, 0.41590431332588196, 0.2520609498023987, -0.2563862204551697, -0.14513103663921356, -0.38741689920425415, 0.1584399789571762, -0.38546204566955566, -0.07336411625146866, 0.6182671785354614, 0.09596531093120575, 0.254963219165802, 0.8508672714233398, 0.6414838433265686, -0.3879660367965698, 0.5574142932891846, 0.06235772371292114, 0.8541358113288879, -1.0829038619995117, -0.7874476313591003, -0.2709730863571167, 0.4881833493709564, -0.07679982483386993, -0.05219123139977455, 0.7624067068099976, 0.7838464379310608, 0.5716657638549805, -0.0909220278263092, 0.7827996015548706, 0.02433823235332966, 0.552803635597229, -0.5444292426109314, 0.8102246522903442, -0.3862327039241791, -0.39762672781944275, 0.19693933427333832, -0.8002208471298218, 0.07026910781860352, 0.5366293787956238, 0.05763353407382965, 0.1261899769306183, 0.7041467428207397, 0.5385812520980835, 0.0815286785364151, 0.46944430470466614, 0.4201379120349884, 0.22790640592575073, -0.012155264616012573, 0.74892258644104, 0.7792048454284668, -0.5966209173202515, 0.6275901794433594, -0.38242149353027344, 0.008677225559949875, -0.2947200834751129, -0.30444109439849854, -1.1479703187942505, -0.31690388917922974, -0.04229673370718956, -0.24904148280620575, -0.14181631803512573, 0.8342244029045105, 0.7927034497261047, -0.4910142123699188, -0.08665115386247635, 0.3228481113910675, 0.033397357910871506, -0.32267430424690247, -0.20158003270626068, -0.013245392590761185, 0.26245155930519104, -0.6175200343132019, 0.7286679148674011, 0.42322149872779846, 0.11002321541309357, -0.30173459649086, 0.07963310182094574, -0.35157510638237, 0.26940450072288513, 0.46977847814559937, 0.023247916251420975, -0.4541782736778259, 0.1034456267952919, -0.09227659553289413, 0.03366430103778839, 0.4327104985713959, 0.8815070390701294, -0.7458471655845642, 0.2763381600379944, 0.22096963226795197, 0.4523812234401703, 0.7380384206771851, -0.060540758073329926, 0.5995132327079773, -0.2336319386959076, 0.31014159321784973, 0.06524558365345001, 0.5021833181381226, 0.3010479509830475, -0.1566479355096817, 0.6579967141151428, 0.3550754487514496, -0.0015555480495095253, -0.8071374297142029, -0.07753385603427887, -1.5374940633773804, -0.1956912726163864, 0.6948026418685913, 0.020552532747387886, -0.45850443840026855, 0.19977782666683197, -0.10960362106561661, 0.4063083529472351, -0.27780881524086, 0.6029858589172363, 0.43974244594573975, 0.1144828200340271, -0.16355901956558228, -0.1301783174276352, -0.31428274512290955, 0.10053372383117676, -0.8066111207008362, -0.5200018882751465, 0.24875508248806, 0.3448789417743683, 0.10130258649587631, 0.13070395588874817, -0.19264212250709534, 0.4963426887989044, 0.32810017466545105, 0.3462072014808655, -0.3437976837158203, -0.562178909778595, -0.10334467142820358, 0.5487129092216492, -0.5676217079162598, -0.348291277885437 ]
http://arxiv.org/abs/2406.01606v1
http://arxiv.org/pdf/2406.01606v1
SymTax: Symbiotic Relationship and Taxonomy Fusion for Effective Citation Recommendation
2024-05-26T21:51:58
2024-05-26T21:51:58
Karan Goyal, Mayank Goel, Vikram Goyal, Mukesh Mohania
cs.IR
cs.IR, cs.AI, cs.CL
Citing pertinent literature is pivotal to writing and reviewing a scientific document. Existing techniques mainly focus on the local context or the global context for recommending citations but fail to consider the actual human citation behaviour. We propose SymTax, a three-stage recommendation architecture that considers both the local and the global context, and additionally the taxonomical representations of query-candidate tuples and the Symbiosis prevailing amongst them. SymTax learns to embed the infused taxonomies in the hyperbolic space and uses hyperbolic separation as a latent feature to compute query-candidate similarity. We build a novel and large dataset ArSyTa containing 8.27 million citation contexts and describe the creation process in detail. We conduct extensive experiments and ablation studies to demonstrate the effectiveness and design choice of each module in our framework. Also, combinatorial analysis from our experiments shed light on the choice of language models (LMs) and fusion embedding, and the inclusion of section heading as a signal. Our proposed module that captures the symbiotic relationship solely leads to performance gains of 26.66% and 39.25% in Recall@5 w.r.t. SOTA on ACL-200 and RefSeer datasets, respectively. The complete framework yields a gain of 22.56% in Recall@5 wrt SOTA on our proposed dataset. The code and dataset are available at https://github.com/goyalkaraniit/SymTax
[ -0.39693716168403625, -0.4436052441596985, 0.6530415415763855, 0.25218209624290466, -0.420439749956131, -0.05637039616703987, 0.23348554968833923, -0.5352165699005127, 0.5307033061981201, 0.39967456459999084, -0.1201547160744667, -0.3395736515522003, -0.24051536619663239, 0.4325004816055298, -0.21406389772891998, 1.0818685293197632, 0.026710977777838707, -0.0014942738926038146, -0.49736371636390686, -0.46962854266166687, -0.5273714661598206, -0.5509456396102905, -0.3055500388145447, -0.6707490682601929, 0.9231513142585754, -0.07802233099937439, 0.6300228238105774, 0.6799637079238892, 0.48775359988212585, 0.1819954663515091, -0.2883373498916626, 0.26360613107681274, -0.44890910387039185, 0.752685010433197, -0.6703374981880188, -0.2870282828807831, -0.27409833669662476, -0.2615269124507904, 0.7547156810760498, 0.44906988739967346, -0.022337835282087326, 0.15110018849372864, 0.051098357886075974, 0.2139429748058319, -0.6863934993743896, 0.1501922309398651, -0.6643393635749817, -0.30825933814048767, -0.41128766536712646, -0.4316633641719818, -0.45671015977859497, -0.36784911155700684, 0.15257185697555542, -0.6158450245857239, -0.2630198001861572, 0.36847424507141113, 0.7233347296714783, 0.011044781655073166, -0.4880330562591553, 0.034931980073451996, -0.65636146068573, 0.43757370114326477, -0.18736450374126434, 0.2701672613620758, 0.5104446411132812, 0.12055838108062744, -0.16370895504951477, -0.780372679233551, -0.3989870846271515, 0.14360684156417847, -0.19866177439689636, -0.08807355910539627, -0.6182027459144592, -0.15143156051635742, 0.10676753520965576, 0.05471591278910637, -0.7851107716560364, -0.39015328884124756, -0.1808289885520935, -0.21138593554496765, 0.30608105659484863, 0.10088925063610077, 0.10171937942504883, -0.40953585505485535, -0.4898001551628113, -0.1296459287405014, -0.8265951871871948, -0.5441622138023376, 0.02555428259074688, 0.451474666595459, 0.22552204132080078, 0.3674538731575012, 0.19151562452316284, 0.5853312611579895, -0.3120303153991699, 0.13448596000671387, 0.23125362396240234, -0.5330919623374939, -0.004410764202475548, 0.02565108612179756, 0.6875351071357727, 0.17862296104431152, 0.012891380116343498, -0.21401943266391754, -0.20774027705192566, 0.11568009853363037, 0.2625735402107239, -0.4897233843803406, -0.2754547894001007, -0.008492117747664452, -0.22964559495449066, 0.11042813211679459, 0.1723516583442688, -0.6214155554771423, -0.5413104295730591, -0.36932137608528137, 0.7831366658210754, -0.6953291296958923, -0.3819843828678131, -0.2376115918159485, -0.31798696517944336, -0.0692410096526146, 0.09535577893257141, -0.3518869876861572, 0.2095249444246292, 0.523820161819458, 1.1511090993881226, -0.053827546536922455, -0.5202787518501282, -0.3503477871417999, 0.6046275496482849, 0.14698904752731323, 1.2646770477294922, -0.8792682886123657, -0.6095224022865295, -0.03128177672624588, -0.11856022477149963, -0.27632367610931396, -0.5103060007095337, 0.2782493829727173, -0.394620418548584, -0.08170340955257416, -0.3345080614089966, -0.276189386844635, -0.13605840504169464, 0.061609897762537, -0.6825647950172424, 0.9223848581314087, 0.2402316778898239, -0.8604907393455505, 0.2272132784128189, -0.7099820971488953, -0.4811100959777832, 0.23486150801181793, 0.053799089044332504, -0.37835440039634705, -0.25899553298950195, -0.07151522487401962, 0.2505268454551697, -0.26987871527671814, 0.3567937910556793, -0.7199346423149109, -0.30842041969299316, 0.20500867068767548, 0.26659098267555237, 0.56597501039505, 0.6397388577461243, -0.06209372356534004, 0.4696608781814575, -0.5257492065429688, -0.403432160615921, -0.11667259782552719, 0.20201943814754486, -1.0759326219558716, -0.026776950806379318, 0.30779922008514404, 0.11722709238529205, -0.118666872382164, -0.41446030139923096, 0.28807300329208374, -0.22846919298171997, 0.7208127379417419, 0.6581606268882751, 0.3829420208930969, 0.17929619550704956, -0.4950297176837921, 0.45766782760620117, 0.008022479712963104, -0.08544036000967026, -0.3433886170387268, -0.24268010258674622, -0.3117029666900635, -0.25066983699798584, 0.14389273524284363, -0.07911579310894012, -0.8557915091514587, 0.11751976609230042, -0.28689277172088623, -0.6174342632293701, -0.26845625042915344, 0.10487446933984756, 0.4719332754611969, 0.2654150128364563, 0.5094539523124695, -0.23125264048576355, -0.9160184264183044, -0.6313562393188477, -0.20035690069198608, -0.4555665850639343, 0.2108452022075653, 0.16100260615348816, 0.6084485054016113, -0.4178773760795593, 1.0606051683425903, -0.527999997138977, -0.3330989181995392, -0.20815518498420715, 0.09318669140338898, 0.24086090922355652, 0.437215119600296, 0.6311476826667786, -0.5096231698989868, -0.14349393546581268, -0.033072371035814285, -0.6933661103248596, -0.17332196235656738, 0.23537389934062958, -0.5324013233184814, 0.029917987063527107, 0.248936727643013, -0.6489944458007812, 0.029145164415240288, 0.13074760138988495, -0.7634001970291138, 0.32933464646339417, -0.14442211389541626, -0.11015844345092773, -1.4891759157180786, 0.6498908996582031, 0.24468396604061127, -0.21078109741210938, -0.29517805576324463, 0.26986679434776306, -0.04126395285129547, -0.21383219957351685, -0.1949790120124817, 0.7063078284263611, -0.24679628014564514, 0.09446971863508224, -0.089076928794384, 0.046100717037916183, -0.0934024229645729, 0.2722196877002716, -0.02022886835038662, 0.46716931462287903, 0.22889886796474457, -0.5135291218757629, 0.03146316856145859, 0.301796555519104, 0.06696202605962753, 0.9376464486122131, -0.5314128994941711, -0.08500275015830994, 0.02571941912174225, 0.712365984916687, -1.0640398263931274, -0.07159876823425293, 0.12447473406791687, -0.15145480632781982, -0.019503697752952576, 0.040045905858278275, -0.6607793569564819, -0.11441042274236679, -0.2676541805267334, 0.6787023544311523, -0.00028906509396620095, -0.417973130941391, 0.6905337572097778, 0.6798003911972046, -0.2964668869972229, -0.08911499381065369, -0.05940431356430054, 0.023391377180814743, -0.35591384768486023, -0.21258822083473206, 0.3964601755142212, 0.029808660969138145, -0.30346331000328064, 0.014728059060871601, -0.31291550397872925, 0.17160490155220032, 0.11096622049808502, 0.6813885569572449, 0.37267330288887024, 0.023088285699486732, 0.47483667731285095, 0.09687556326389313, -0.22381795942783356, -0.026782216504216194, -0.6161542534828186, 0.7800696492195129, -0.08802279084920883, 0.002699380973353982, -0.25554779171943665, 0.32722383737564087, 0.6570551991462708, -0.12859390676021576, 0.33514636754989624, 0.7540403008460999, -0.3696586489677429, 0.2898882031440735, -0.3160584270954132, -0.23228292167186737, -0.3283799886703491, 0.19669000804424286, -0.4074384570121765, -0.5996130108833313, 0.25793156027793884, 0.13866519927978516, 0.029574114829301834, 0.5655375123023987, 0.6447901725769043, -0.015159612521529198, 0.7411043047904968, 0.42903053760528564, -0.29542481899261475, 0.5384364724159241, -0.26576563715934753, -0.03414176031947136, -0.7889811992645264, -0.3255537450313568, -0.9256719946861267, -0.23238518834114075, -0.4265163242816925, -0.2437676638364792, 0.516488254070282, -0.18754349648952484, -0.451021283864975, 0.652638852596283, -0.3571324348449707, 0.30707502365112305, 0.5611345171928406, 0.07643870264291763, 0.41003909707069397, 0.13517005741596222, -0.5261544585227966, 0.16145962476730347, -0.726008415222168, -0.4588000476360321, 0.9845526814460754, 0.061312444508075714, 0.8350508809089661, 0.27645689249038696, 0.8006207346916199, 0.33190837502479553, 0.46348512172698975, -0.4382767081260681, 0.5743494033813477, 0.3937479257583618, -0.6380769610404968, -0.025588806718587875, -0.22423073649406433, -1.4775205850601196, 0.4272298514842987, -0.3923642635345459, -0.7206569910049438, 0.25763770937919617, 0.051723264157772064, -0.34019702672958374, 0.030397815629839897, -0.48603805899620056, 0.5471417307853699, 0.33391204476356506, -0.735741376876831, -0.5203962922096252, -0.9147472977638245, 0.06719208508729935, 0.05607558414340019, 0.09757377952337265, 0.11459516733884811, 0.20608660578727722, 0.8410664796829224, -0.09883885085582733, 0.6058422923088074, -0.1414613425731659, 0.11467429995536804, 0.09334081411361694, 0.38980916142463684, 0.19879275560379028, 0.2545478641986847, -0.1908053308725357, 0.11444652080535889, 0.6137327551841736, -0.209202840924263, -0.3380069136619568, 0.9922797679901123, -0.8626301288604736, -0.5552080869674683, -0.8757028579711914, -0.7352702021598816, -0.3113301396369934, 0.48886191844940186, -0.15789681673049927, 0.3793111741542816, 0.10894787311553955, 0.3436436057090759, 0.3745425045490265, 0.27956458926200867, 0.4087941348552704, 0.35614892840385437, -0.47066450119018555, -0.8449720144271851, 1.1495260000228882, -0.08014839142560959, -0.09385957568883896, 0.45005351305007935, 0.10609431564807892, -0.43970754742622375, -0.13527308404445648, 0.014134945347905159, 0.6916695833206177, -0.44698575139045715, -0.566030740737915, -0.7451722025871277, 0.039482418447732925, -0.5077391862869263, 0.1490190625190735, 0.20669281482696533, -0.37217703461647034, -0.20618601143360138, 0.1938016712665558, 0.3233911395072937, 0.6976834535598755, 0.07162754237651825, 0.1634678691625595, -0.5011152029037476, -0.14967826008796692, -0.061553262174129486, 0.27955636382102966, 0.0862732082605362, -0.061732616275548935, -0.3939761221408844, -0.2693342864513397, -0.7474340200424194, -0.8190475106239319, 0.5006753206253052, 0.21896211802959442, 0.5594449639320374, 0.4924878478050232, 0.08757499605417252, 0.86127769947052, -0.17554254829883575, 0.5315545797348022, 0.029353924095630646, -0.6443700790405273, 0.650990903377533, -0.6264978647232056, 0.4505378007888794, 0.4409678876399994, 0.6938371658325195, -0.28861334919929504, -0.5110862255096436, -0.7241899371147156, -0.902593195438385, 0.4366530776023865, 0.2605181336402893, -0.3358434736728668, -0.028943413868546486, 0.2340558022260666, 0.172793447971344, 0.06887500733137131, -0.5691268444061279, 0.02061423473060131, -0.0741211473941803, -0.034337300807237625, -0.3986484110355377, -0.10591243952512741, -0.625533401966095, -0.23604339361190796, 0.6322891712188721, -0.22258011996746063, 0.3139728009700775, 0.3259280025959015, -0.229333758354187, -0.1261940747499466, 0.07714059948921204, 0.6462689638137817, 0.766963005065918, -0.4073406755924225, 0.5212031006813049, -0.29917654395103455, -0.5267016887664795, 0.0025609303265810013, 0.23424580693244934, 0.04722374305129051, 0.17174313962459564, 0.3310529291629791, 0.32678428292274475, 0.458771675825119, -0.40345895290374756, -0.09916079789400101, 0.10948178917169571, -0.06735879182815552, 0.1269846111536026, -0.06139911711215973, 0.01649150252342224, 0.31190648674964905, 0.4448101818561554, 0.17287690937519073, 0.025108758360147476, -0.5465222597122192, 0.22950255870819092, 0.39774900674819946, -0.3173190653324127, -0.535837709903717, 0.5449927449226379, 0.296737402677536, -0.09873441606760025, 0.20206819474697113, 0.19729647040367126, -0.33034273982048035, 0.015047119930386543, 1.0113599300384521, 0.6884135007858276, -0.18169622123241425, 0.14220726490020752, 0.32900699973106384, -0.09774836897850037, 0.1370779573917389, 0.12046211212873459, -0.44950708746910095, -0.299643874168396, 0.20583157241344452, -0.9567089676856995, -0.320441871881485, -0.266153484582901, -0.5611942410469055, 0.3007318675518036, -0.43085917830467224, -0.42212700843811035, 0.13018803298473358, 0.21156148612499237, -0.2651209533214569, -0.20957817137241364, -0.16161015629768372, 0.8044530153274536, -0.9549925327301025, 1.0322834253311157, 1.0719053745269775, -0.6487951278686523, -0.6932005286216736, -0.022146010771393776, 0.20977327227592468, -0.4750591814517975, 0.41895022988319397, -0.06515403836965561, -0.16496147215366364, 0.13062988221645355, -0.21158215403556824, -1.0162776708602905, 1.3806078433990479, 0.5865697860717773, -0.13798795640468597, 0.1668056696653366, -0.5169398784637451, 0.6406447887420654, -0.5505378842353821, 0.5083973407745361, 0.346912682056427, 0.33327850699424744, 0.5222111344337463, -0.8201364874839783, 0.24826203286647797, -0.49187785387039185, 0.28689876198768616, 0.2751443088054657, -0.6137241125106812, 0.6220664978027344, -0.017369737848639488, -0.23111563920974731, 0.27987125515937805, 0.5617278218269348, 0.7337488532066345, 0.5367481708526611, 0.41568589210510254, 0.5215650200843811, 0.682986855506897, -0.023932691663503647, 0.9062108993530273, -0.41845494508743286, 0.30456697940826416, 0.8525179624557495, -0.6237578988075256, 1.0291849374771118, 0.9371908903121948, -0.30822598934173584, 0.9068540930747986, 0.8724313378334045, 0.1966925859451294, 0.3312446177005768, -0.16688507795333862, -0.09258195012807846, -0.32316118478775024, -0.5548923015594482, -0.6899195909500122, 0.19990795850753784, 0.22660595178604126, -0.45314517617225647, -0.39529138803482056, 0.02895631641149521, 0.23159284889698029, 0.04279431700706482, -0.08554279804229736, 0.6932271122932434, 0.10185819864273071, -0.9001859426498413, 0.5435338616371155, -0.3997316062450409, 0.20186254382133484, -0.636678159236908, -0.058934979140758514, -0.3907448947429657, 0.1418636590242386, -0.2745213210582733, -0.5585810542106628, 0.213964581489563, -0.41355520486831665, -0.3224392533302307, -0.09213174134492874, 0.6082308888435364, -0.2731662094593048, -0.17977802455425262, 0.15181635320186615, 0.311015784740448, 0.010456259362399578, 0.31927019357681274, -0.18294692039489746, 0.18077360093593597, -0.37295112013816833, 0.1567871868610382, 0.6666232347488403, 0.06524933874607086, -0.23597675561904907, 0.7543545961380005, 0.787638247013092, 0.2586648464202881, -0.5783076286315918, -0.01599012315273285, 1.0374338626861572, -0.6342268586158752, -0.6408969759941101, -0.8018176555633545, 0.009080418385565281, -0.1157502681016922, -0.34748443961143494, 0.8624253869056702, 0.640957236289978, 0.6195027232170105, 0.05540842562913895, 0.5238981246948242, -0.018156971782445908, 0.16114604473114014, -0.24182075262069702, 0.651057243347168, -0.5339837670326233, 0.4333847463130951, -0.7027794718742371, -1.1961065530776978, -0.6724803447723389, 0.585134744644165, -0.16414330899715424, -0.09743344038724899, 0.8778547048568726, 0.8330206274986267, 0.03895287960767746, 0.2602570354938507, 0.05560663342475891, 0.37144559621810913, 0.3614267110824585, 0.5604422688484192, 0.689050555229187, -0.10896233469247818, 0.34187325835227966, 0.2852083444595337, -0.1781061291694641, -0.3644523024559021, -0.6705024242401123, -0.5635616183280945, -0.9382396936416626, -0.2657584547996521, -0.801336407661438, 0.35512441396713257, 1.193168044090271, 0.5958414077758789, -0.47775399684906006, -0.538630485534668, 0.02739180624485016, 0.4668040871620178, -0.46730026602745056, -0.2090359628200531, 0.24899962544441223, -0.263492226600647, -0.4460792541503906, -0.03387801721692085, 0.6993278861045837, -0.2434462606906891, -0.42340412735939026, -0.055069878697395325, -0.7406191825866699, -0.11772067099809647, 0.7447754740715027, 0.36051711440086365, -0.632610559463501, -0.10226821899414062, -0.22138142585754395, -0.1324741393327713, -0.21294249594211578, 1.0823949575424194, -1.1141796112060547, 0.6133472323417664, 0.48604005575180054, 0.3772549629211426, 0.43153172731399536, -0.19189980626106262, 0.7413266897201538, -0.2927723526954651, -0.12974990904331207, 0.2565789818763733, 0.4893287122249603, 0.02799927070736885, 0.07165118306875229, 0.5818162560462952, 0.7820560932159424, -0.6032440662384033, -1.2737442255020142, -0.08168975263834, -1.2399345636367798, -0.18118587136268616, 1.3033546209335327, -0.2139393836259842, -0.27916771173477173, -0.21355663239955902, -0.3481706380844116, 0.07773641496896744, -0.5097513198852539, 0.8279055953025818, 0.5696918964385986, -0.31232956051826477, 0.1577458381652832, 0.2704842686653137, 0.07624177634716034, 0.417100727558136, -0.5399433970451355, -0.06372297555208206, 0.4590469002723694, 0.3234069049358368, 0.4323337972164154, 0.16537393629550934, -0.04422036558389664, 0.4054639935493469, -0.043704092502593994, -0.24104611575603485, -0.04952353239059448, -0.30980384349823, -0.3390679359436035, 0.4908321797847748, 0.19338606297969818, 0.2662201523780823 ]
http://arxiv.org/abs/2406.00034v1
http://arxiv.org/pdf/2406.00034v1
Adaptive Activation Steering: A Tuning-Free LLM Truthfulness Improvement Method for Diverse Hallucinations Categories
2024-05-26T21:39:53
2024-05-26T21:39:53
Tianlong Wang, Xianfeng Jiao, Yifan He, Zhongzhi Chen, Yinghao Zhu, Xu Chu, Junyi Gao, Yasha Wang, Liantao Ma
cs.CL
cs.CL, cs.AI
Recent studies have indicated that Large Language Models (LLMs) harbor an inherent understanding of truthfulness, yet often fail to express fully and generate false statements. This gap between "knowing" and "telling" poses a challenge for ensuring the truthfulness of generated content. To address this, we introduce Adaptive Activation Steering (ACT), a tuning-free method that adaptively shift LLM's activations in "truthful" direction during inference. ACT addresses diverse categories of hallucinations by utilizing diverse steering vectors and adjusting the steering intensity adaptively. Applied as an add-on across various models, ACT significantly improves truthfulness in LLaMA ($\uparrow$ 142\%), LLaMA2 ($\uparrow$ 24\%), Alpaca ($\uparrow$ 36\%), Vicuna ($\uparrow$ 28\%), and LLaMA2-Chat ($\uparrow$ 19\%). Furthermore, we verify ACT's scalability across larger models (13B, 33B, 65B), underscoring the adaptability of ACT to large-scale language models.
[ -0.1111179068684578, -0.8489810228347778, 0.6433981657028198, 0.5620667934417725, -0.270693302154541, -0.02674425207078457, -0.3834228813648224, -0.5436910390853882, 0.31230849027633667, 0.39879223704338074, -0.6345395445823669, -0.4382562041282654, -0.7655863165855408, 0.016483580693602562, -0.26508858799934387, 0.8606322407722473, 0.102537602186203, 0.14731866121292114, 0.0528830885887146, -0.33639460802078247, -0.688742458820343, -0.1731191724538803, -0.7242959141731262, -0.32805153727531433, 0.42378947138786316, 0.23510411381721497, 0.8532934188842773, 0.582453191280365, 0.43991589546203613, 0.3593077063560486, -0.11650051176548004, 0.39183861017227173, -0.6350499987602234, 0.33664900064468384, -0.28184959292411804, -0.5341936349868774, -0.5538911819458008, -0.05004921182990074, 0.4411853849887848, 0.6469686627388, -0.5632423162460327, -0.18254417181015015, -0.0562281496822834, 0.5929204225540161, -0.8772813081741333, -0.002477420959621668, -1.0385260581970215, -0.035858724266290665, 0.35015740990638733, -0.4464110732078552, -0.6598343849182129, -0.4619835913181305, 0.0020074970088899136, -0.9700441360473633, 0.22729064524173737, 0.1808348447084427, 0.46466395258903503, 0.8327912092208862, -0.42619261145591736, -0.5294986963272095, -0.778830885887146, 0.6678006649017334, -0.6846732497215271, 0.4834733307361603, 0.39869770407676697, 0.16144156455993652, -0.379437118768692, -0.583001434803009, -0.7603690028190613, -0.33081790804862976, 0.2060660570859909, 0.20295286178588867, -0.3772071897983551, 0.17054535448551178, 0.3200758099555969, 0.15667232871055603, -0.2235637903213501, 0.3209150433540344, -0.16781233251094818, -0.32156023383140564, 0.5959813594818115, 0.1777113527059555, -0.016530882567167282, 0.2422509789466858, -0.3382253050804138, -0.2594590187072754, -0.5959565043449402, -0.11168555915355682, 0.3909395933151245, 0.21775366365909576, -0.016440480947494507, 0.5228323340415955, -0.21862100064754486, 0.6940087676048279, 0.5121433138847351, -0.250132292509079, 0.3964400887489319, 0.09772281348705292, -0.35403531789779663, 0.3975563943386078, 0.39068740606307983, 0.6184871792793274, -0.17244696617126465, -0.10613483935594559, -0.3037458658218384, 0.1336756944656372, 0.6206623911857605, -0.6019492149353027, -0.15278713405132294, 0.3323220908641815, -0.35525044798851013, -0.3668249249458313, -0.07804477959871292, -0.7670285105705261, -0.9979242086410522, -0.34826841950416565, 0.7667264938354492, -0.6047061681747437, -0.5572025179862976, 0.44227758049964905, 0.10791335254907608, 0.5380827188491821, 0.4837547242641449, -1.0614649057388306, 0.11446619778871536, 0.6532996892929077, 0.7140243053436279, -0.5320206880569458, -0.2641361653804779, -0.8113783001899719, -0.017988473176956177, -0.6646322011947632, 0.8383511900901794, -0.569588840007782, -0.2437536120414734, 0.0077954307198524475, -0.017559874802827835, -0.2983543574810028, -0.853672981262207, 0.7340857982635498, -0.6596086025238037, -0.13194291293621063, -0.3826732337474823, -0.5253610610961914, -0.6195542216300964, 0.06969210505485535, -0.6996835470199585, 0.9628894329071045, -0.07754485309123993, -0.3419478237628937, 0.32540661096572876, -0.7534207701683044, -0.48396503925323486, -0.27819791436195374, 0.06691401451826096, -0.2970609962940216, 0.586897075176239, 0.27475470304489136, 0.15235447883605957, 0.23465007543563843, 0.40229031443595886, -0.1910283863544464, -0.5234888195991516, 0.47027167677879333, -0.5182800889015198, 0.7054290771484375, -0.06937747448682785, -0.686019778251648, 0.4906245172023773, -0.9681104421615601, -0.24080336093902588, -0.12944985926151276, -0.1774953156709671, -0.17720161378383636, 0.13504578173160553, -0.2901889383792877, -0.011797716841101646, 0.01194012351334095, -0.35307055711746216, 0.1132889911532402, -0.468269407749176, -0.04808719828724861, 0.979439914226532, 0.17883063852787018, 0.33650267124176025, -0.5129641890525818, 0.3484232425689697, 0.4186742603778839, 0.10359681397676468, 0.2588909864425659, -0.5491597056388855, -1.170468807220459, -0.15735764801502228, 0.010857908986508846, 0.5706881880760193, -1.068031907081604, 0.6996007561683655, -0.12929470837116241, -0.3965296745300293, -0.8503900766372681, 0.006500793620944023, 0.1426944136619568, 0.6401475667953491, 0.7047216296195984, -0.28763547539711, -0.39687711000442505, -0.7399435639381409, -0.22061094641685486, -0.25715872645378113, 0.06768719106912613, -0.01860547810792923, 0.4555521309375763, -0.24328871071338654, 0.5804161429405212, -0.34431591629981995, -0.33105453848838806, -0.06018894165754318, 0.3723248243331909, -0.017163341864943504, 0.3822905123233795, 0.2884071171283722, -0.7652090191841125, -0.15743684768676758, -0.14861464500427246, -0.5965428948402405, -0.35463666915893555, -0.3638612627983093, -0.14357393980026245, 0.41841983795166016, 0.23308910429477692, -0.553303599357605, 0.6086682081222534, 0.7616243362426758, -0.5493781566619873, 0.5630713701248169, -0.2130175530910492, 0.1613491326570511, -0.7046286463737488, -0.2250860035419464, -0.31289204955101013, 0.00005290329863782972, -0.7876792550086975, -0.07277869433164597, 0.055334631353616714, 0.43468520045280457, -0.42753952741622925, 0.40069934725761414, -0.279460608959198, -0.03632745519280434, -0.78147292137146, 0.1874610185623169, -0.19723019003868103, 0.7217585444450378, 0.09669742733240128, 0.7868032455444336, 0.8228338360786438, -0.7903091907501221, 0.38895368576049805, 0.2678656280040741, -0.4609706401824951, 0.5704699158668518, -0.16663001477718353, 0.28931277990341187, -0.15691477060317993, -0.05692627280950546, -0.8396088480949402, -0.16041941940784454, 0.45428335666656494, -0.31806397438049316, 0.21749795973300934, 0.2634817361831665, -0.10164571553468704, 0.18082170188426971, -0.17625154554843903, 0.10987090319395065, 0.43146324157714844, -0.8030366897583008, 1.16824209690094, 0.07584099471569061, 0.0719747543334961, -0.7084489464759827, -0.6077744364738464, 0.1724407970905304, -0.18087098002433777, -0.2913500666618347, 0.35785600543022156, -0.35491418838500977, -0.4166371524333954, -0.050786349922418594, -0.4516766369342804, 0.08141401410102844, 0.05333937332034111, 0.33463162183761597, 0.14654459059238434, -0.1945067048072815, 0.24428696930408478, 0.36379340291023254, -0.14774413406848907, 0.021018268540501595, -0.10472468286752701, 0.4321483075618744, -0.11880026757717133, -0.5539946556091309, -0.48193633556365967, 0.03940014913678169, 0.47254112362861633, -0.14377647638320923, 0.9268064498901367, 0.7016056776046753, -0.23775623738765717, -0.3787117004394531, -0.8823062181472778, -0.3824666440486908, -0.5687707662582397, 0.3120059072971344, -0.2718476355075836, -0.9301244020462036, 0.5926965475082397, 0.0048798066563904285, 0.07412047684192657, 0.24126556515693665, 0.8720292448997498, 0.2342580109834671, 0.8419554829597473, 0.8149929642677307, 0.14194343984127045, 0.46341636776924133, 0.012950248084962368, 0.24189630150794983, -0.8421570658683777, -0.3092346787452698, -0.2522019147872925, -0.4340750575065613, -0.5069525837898254, -0.70191490650177, 0.4192464053630829, -0.09709405153989792, -0.024782640859484673, -0.05571453645825386, -0.5500034689903259, 0.2842666804790497, 0.445865273475647, 0.3453900218009949, 0.6185864806175232, 0.09165468066930771, 0.0728815495967865, -0.07440698146820068, -0.4798746407032013, -0.21385425329208374, 1.046484112739563, 0.10554928332567215, 0.8110770583152771, 0.20761367678642273, 0.3219822943210602, 0.27717265486717224, 0.6170494556427002, -1.02195143699646, 0.7719311118125916, 0.09016367793083191, -0.5702813863754272, -0.3260824978351593, -0.32883894443511963, -0.7204759120941162, 0.4398522973060608, -0.535390317440033, -0.5701229572296143, 0.5006240010261536, 0.09094935655593872, -0.4831068515777588, 0.4846271872520447, -0.40667596459388733, 0.3183070421218872, -0.34967103600502014, -0.2929209768772125, -0.5997421741485596, -0.5190097689628601, 0.2781129479408264, -0.3159537613391876, -0.08847612142562866, -0.32693418860435486, -0.3665167987346649, 0.8097683787345886, 0.02381100505590439, 0.9612363576889038, -0.43875542283058167, -0.3069770932197571, 0.27594998478889465, 0.24493888020515442, 0.7417199015617371, -0.17945678532123566, -0.35630351305007935, 0.12410176545381546, -0.46248534321784973, -0.11144422739744186, -0.9756496548652649, 0.4925379455089569, -0.689035952091217, -0.8184704780578613, -0.30037543177604675, -0.9403964877128601, -0.4754505157470703, 0.017348844558000565, 0.08833638578653336, 0.193588986992836, -0.11987796425819397, 0.335074245929718, 0.9936567544937134, -0.13070063292980194, 0.5369539260864258, 0.8750124573707581, -0.1791226714849472, -0.6012724041938782, 0.7247965931892395, -0.07136297971010208, 0.25607746839523315, 0.22309136390686035, 0.1390354484319687, -0.3842616379261017, -0.9436106085777283, -0.12613409757614136, 0.21841570734977722, -0.7999466061592102, -0.2638564705848694, -0.590006947517395, -0.09954297542572021, -0.18452924489974976, -0.03859385475516319, -0.3489037752151489, -0.5385173559188843, -0.24984073638916016, -0.4960983097553253, 0.49739953875541687, 0.5049046874046326, -0.22792306542396545, 0.5592672228813171, -0.2837525010108948, 0.5145775675773621, 0.41868939995765686, 0.36406272649765015, 0.033557068556547165, -0.867285430431366, -0.0870991051197052, 0.11526947468519211, -0.48328697681427, -0.924584686756134, 0.3168765902519226, 0.21936507523059845, 0.6380722522735596, 0.5605001449584961, 0.3356005847454071, 0.8291671276092529, -0.2751009464263916, 0.7845311164855957, 0.28487804532051086, -0.9030155539512634, 0.297245055437088, -0.021239187568426132, -0.05241072177886963, 0.5759341716766357, 0.31718796491622925, -0.33571431040763855, -0.6782420873641968, -0.41030845046043396, -0.5136981010437012, 0.49637481570243835, 0.24542978405952454, 0.26462921500205994, 0.18491269648075104, 0.38816037774086, 0.31296199560165405, 0.2703637480735779, -0.8405933976173401, -0.21299298107624054, -0.3205530345439911, -0.3713526129722595, 0.13481523096561432, -0.2930867075920105, -0.46920323371887207, -0.4037645161151886, 0.9618422389030457, -0.5016553401947021, 0.3714378774166107, 0.3431374132633209, -0.14809642732143402, -0.43180781602859497, 0.14007166028022766, 0.8315371870994568, 0.8075894713401794, -0.019247625023126602, 0.22145521640777588, 0.563532829284668, -0.7452538013458252, 0.33217552304267883, 0.050331033766269684, -0.401044636964798, -0.17022287845611572, 0.49591630697250366, 1.3410440683364868, 0.07747083157300949, -0.5344126224517822, 0.38791653513908386, 0.030459487810730934, -0.2976994216442108, 0.025931060314178467, 0.5553693771362305, -0.12336070835590363, 0.55930495262146, 0.5127108097076416, 0.2449488490819931, 0.005866594612598419, -0.32662561535835266, -0.009336681105196476, 0.39639222621917725, -0.6770167946815491, -0.3124925196170807, 0.7251805663108826, 0.07141982764005661, -0.32109516859054565, 0.6622815132141113, -0.16976723074913025, -0.2670716941356659, 0.332061767578125, 0.7687263488769531, 1.2825772762298584, -0.4441947042942047, 0.1539907306432724, 0.23013274371623993, 0.4385378658771515, -0.0375475250184536, 0.36778971552848816, 0.1024441197514534, -1.2084786891937256, -0.5337891578674316, -0.6202387809753418, -0.5679410696029663, 0.2561594247817993, -0.6885849833488464, -0.01584051549434662, -0.29027706384658813, -0.2759424149990082, -0.3087734580039978, -0.14068587124347687, -0.09181856364011765, 0.17459051311016083, 0.055440064519643784, 1.0388227701187134, -0.7885693311691284, 0.8657070994377136, 0.6114171743392944, -0.02454999089241028, -0.7381866574287415, 0.41743165254592896, 0.028484463691711426, -0.9204892516136169, 0.10593794286251068, 0.09540193527936935, -0.42460963129997253, 0.09554743766784668, -0.8012288212776184, -0.7152026295661926, 1.2289044857025146, 0.46813488006591797, -0.4152085781097412, 0.13935062289237976, 0.06297829747200012, 0.6585742235183716, -0.6165948510169983, -0.18483145534992218, 0.6751609444618225, 0.6573494672775269, 0.4002135396003723, -0.7883828282356262, 0.1487233191728592, -0.04189378395676613, -0.15570811927318573, -0.17342299222946167, -0.564039945602417, 0.26096096634864807, -0.41042667627334595, -0.05974356085062027, 0.09104728698730469, 0.9500210881233215, 0.5695621967315674, 0.405345618724823, 0.929998517036438, 0.5662112236022949, 1.1333085298538208, -0.16413787007331848, 0.569118082523346, -0.4772651195526123, 0.03304380923509598, 1.2129117250442505, -0.38081470131874084, 0.7695428133010864, 0.5621829628944397, 0.24533487856388092, 0.7383946776390076, 0.3376835584640503, -0.02553861401975155, 0.6865178942680359, -0.17702838778495789, -0.4929468035697937, -0.4271247088909149, -0.023371700197458267, -0.12917980551719666, 0.4119669497013092, 0.4609532356262207, -0.06156027689576149, 0.07533825933933258, 0.3276406526565552, -0.06268103420734406, -0.026730554178357124, -0.3652476668357849, 0.8815662264823914, 0.042562760412693024, -0.9549235701560974, 0.7220130562782288, -0.0830121859908104, 0.5394947528839111, -0.6282998323440552, -0.10168204456567764, -0.2635970115661621, 0.15809783339500427, -0.17603623867034912, -0.6814983487129211, 0.26072603464126587, -0.2037939727306366, -0.04086339846253395, 0.03697816655039787, 0.7484312653541565, -0.47619009017944336, -0.3415089547634125, 0.47426116466522217, 0.4334816336631775, -0.11936283856630325, -0.09036161005496979, -0.6291232705116272, 0.35049059987068176, 0.03813646733760834, -0.4399253726005554, -0.059287331998348236, 0.3599155843257904, -0.07969790697097778, 0.9346602559089661, 0.6667378544807434, 0.268934041261673, 0.39639753103256226, 0.13003401458263397, 0.9102799296379089, -0.6534683704376221, -0.42513492703437805, -0.6227920651435852, 0.579654335975647, 0.05269009247422218, -0.12070401757955551, 0.6102384328842163, 0.3645420968532562, 0.4916689991950989, -0.04887817054986954, 0.4487769305706024, -0.12353329360485077, 0.2747005820274353, -0.8075850009918213, 0.6244281530380249, -0.5270105600357056, 0.24709603190422058, 0.15128739178180695, -1.0272613763809204, -0.32103851437568665, 0.6976627111434937, -0.4271320700645447, -0.06560680270195007, 0.8088527321815491, 1.3071449995040894, 0.04949832335114479, 0.18031226098537445, 0.41729995608329773, 0.7013340592384338, 0.19254456460475922, 0.3624182343482971, 1.014609694480896, -0.22802573442459106, 0.44089803099632263, -0.23088552057743073, -0.4261152744293213, -0.21028871834278107, -0.9552821516990662, -0.7821388840675354, -0.45148965716362, -0.40190422534942627, -0.5227229595184326, 0.025803089141845703, 0.9014819264411926, 0.6320042014122009, -1.0019603967666626, -0.1310722827911377, 0.07173393666744232, 0.1938686966896057, -0.7862440943717957, -0.1767285019159317, 0.337606817483902, -0.5070835947990417, -0.574860155582428, 0.7662433981895447, 0.40087395906448364, 0.014914806932210922, -0.1580537110567093, -0.3857170641422272, -0.09879352152347565, 0.3986370265483856, 0.4983481168746948, 0.014935468323528767, -0.8054189682006836, -0.6001917719841003, 0.033301107585430145, 0.04924144223332405, 0.3737013041973114, 0.7987091541290283, -0.6842182278633118, 0.5399578213691711, 0.1440104842185974, 0.4550103545188904, 0.40452417731285095, 0.11551652103662491, 0.3531946539878845, -0.5061210989952087, 0.2870631217956543, 0.2736884355545044, 0.12799426913261414, 0.32504263520240784, -0.3519274890422821, 0.5468019247055054, 0.3297848701477051, -0.47262024879455566, -0.7659027576446533, 0.18532893061637878, -1.3100357055664062, -0.16069340705871582, 1.1374906301498413, 0.3013263940811157, -0.14581513404846191, -0.2007853239774704, -0.33638474345207214, 0.36171939969062805, -0.2204282283782959, 1.17726469039917, 0.5422340035438538, -0.3815397024154663, -0.11453928053379059, -0.45188185572624207, 0.6428747773170471, 0.5045219659805298, -0.7163904309272766, 0.223064586520195, 0.5623895525932312, 0.2762508988380432, 0.36820897459983826, 0.6058194041252136, 0.07844753563404083, 0.3591645061969757, -0.06009088456630707, 0.06961113959550858, -0.17459900677204132, -0.6189001798629761, -0.6207824349403381, 0.08341039717197418, -0.014202776364982128, -0.00041623052675276995 ]
http://arxiv.org/abs/2405.16702v1
http://arxiv.org/pdf/2405.16702v1
Accurate and Nuanced Open-QA Evaluation Through Textual Entailment
2024-05-26T21:33:27
2024-05-26T21:33:27
Peiran Yao, Denilson Barbosa
cs.CL
cs.CL
Open-domain question answering (Open-QA) is a common task for evaluating large language models (LLMs). However, current Open-QA evaluations are criticized for the ambiguity in questions and the lack of semantic understanding in evaluators. Complex evaluators, powered by foundation models or LLMs and pertaining to semantic equivalence, still deviate from human judgments by a large margin. We propose to study the entailment relations of answers to identify more informative and more general system answers, offering a much closer evaluation to human judgment on both NaturalQuestions and TriviaQA while being learning-free. The entailment-based evaluation we propose allows the assignment of bonus or partial marks by quantifying the inference gap between answers, enabling a nuanced ranking of answer correctness that has higher AUC than current methods.
[ -0.2930084466934204, -1.021241307258606, 0.6922746896743774, 0.04577495530247688, -0.016800347715616226, 0.014101013541221619, -0.33379384875297546, -0.5148590207099915, 0.18169765174388885, 0.476255863904953, -0.41574257612228394, -0.4576154351234436, -0.41560330986976624, 0.15174245834350586, -0.1775754988193512, 0.7028820514678955, -0.40430188179016113, -0.12240833789110184, -0.7724115252494812, -0.2236543893814087, -0.47457143664360046, -0.30734264850616455, -0.45962730050086975, -0.2505224049091339, 0.22930586338043213, 0.355965256690979, 0.856143057346344, 0.24000611901283264, 0.6058357357978821, 0.24207711219787598, 0.011430739425122738, 0.31785452365875244, -0.36071938276290894, 0.08114275336265564, -0.30687248706817627, -0.6537814736366272, -0.35659024119377136, -0.07935503870248795, 0.33577966690063477, 0.9252588152885437, -0.05343271419405937, 0.5809746980667114, 0.06651182472705841, 0.8187447190284729, -1.0122672319412231, 0.04665026813745499, -0.312137633562088, -0.09494835883378983, 0.12926989793777466, -0.35081031918525696, -0.43103131651878357, -0.900957465171814, 0.5016257166862488, -0.9548318982124329, 0.05475727841258049, -0.06394756585359573, 1.0021544694900513, 0.5124841928482056, -0.38117048144340515, -0.6522064208984375, -0.6910393834114075, 0.7753767371177673, -0.5924177765846252, 0.3527664244174957, 0.44028544425964355, 0.5300140976905823, -0.008427808992564678, -0.4935779273509979, -0.41465795040130615, -0.25737982988357544, -0.08256726711988449, 0.2889731824398041, -0.12476816028356552, 0.11130795627832413, 0.03437797352671623, 0.6069232225418091, -0.6427428126335144, -0.21326562762260437, -0.04711686074733734, -0.0574728362262249, 0.4842260181903839, 0.10838375985622406, 0.47732776403427124, 0.0028509879484772682, -0.2684876322746277, 0.13199087977409363, -0.6453902721405029, 0.29280516505241394, 0.30210208892822266, -0.05185556039214134, 0.06640416383743286, 0.9332528114318848, -0.6295192241668701, 0.8910689353942871, 0.049053724855184555, 0.3447442650794983, 0.0730915293097496, -0.29828357696533203, -0.5137617588043213, -0.09442740678787231, 0.42473000288009644, 0.44638487696647644, 0.6785807609558105, -0.4909723699092865, -0.11853104829788208, 0.12381120026111603, 0.27380073070526123, -0.7464368939399719, 0.16330090165138245, 0.5879644155502319, -0.3986395299434662, -0.13630220293998718, 0.4429832100868225, -0.6260999441146851, -0.058820027858018875, -0.4522113502025604, 0.8536693453788757, -0.4440465569496155, -0.06899258494377136, 0.610032320022583, -0.1630842536687851, 0.5393475890159607, 0.578454852104187, -0.3745260536670685, 0.5527655482292175, 0.6694681644439697, 0.5472508072853088, 0.03414089232683182, 0.03830700367689133, -0.6694296598434448, 0.14459076523780823, -0.38962024450302124, 0.6704576015472412, -0.6843065023422241, -0.04703894257545471, 0.053212039172649384, 0.017841875553131104, -0.12899701297283173, -0.673894464969635, 0.630365252494812, -1.0149954557418823, 0.566768229007721, -0.05460406839847565, -0.7024565935134888, -0.4619447886943817, 0.38106411695480347, -0.6916090250015259, 0.9035426378250122, 0.20389211177825928, -0.7041876316070557, 0.24729815125465393, -0.8747524619102478, -0.06890936195850372, 0.017930392175912857, 0.20927482843399048, 0.03295537456870079, 0.058329466730356216, 0.4177281856536865, 0.1385699063539505, -0.5544487237930298, 0.3971051275730133, -0.26173970103263855, -0.5083985328674316, 0.49661633372306824, -0.3535155951976776, 0.9142336249351501, 0.10056250542402267, -0.22516965866088867, 0.22642332315444946, -0.6428634524345398, 0.33352240920066833, -0.17172962427139282, -0.34269994497299194, -0.6969267129898071, -0.33187660574913025, -0.5117958188056946, 0.012871955521404743, 0.4367031157016754, -0.7289382815361023, -0.10019640624523163, -0.8888352513313293, -0.06380102038383484, 0.6333529949188232, 0.31623053550720215, 0.5735217332839966, -0.4063924252986908, 0.6161904335021973, -0.20630981028079987, 0.23471860587596893, 0.2428683042526245, -0.6124966144561768, -0.7952104210853577, -0.15111087262630463, 0.6503589153289795, 0.6312624216079712, -0.9142661690711975, 0.3779613971710205, -0.2941839098930359, -0.38315674662590027, -0.9070155024528503, -0.07281102240085602, 0.6001699566841125, 0.17643103003501892, 0.26673758029937744, -0.20196758210659027, -0.2204044610261917, -0.8066298365592957, -0.6218401193618774, -0.16125525534152985, -0.47387588024139404, 0.2330847680568695, 0.56428062915802, 0.2620023190975189, 1.1176230907440186, -0.7288191914558411, 0.07044297456741333, 0.36119532585144043, -0.04118325933814049, 0.14791172742843628, 0.1548747420310974, 0.3611848056316376, -0.6538975238800049, -0.3430379331111908, 0.01674484647810459, -0.8667759299278259, -0.18478058278560638, 0.31978851556777954, -0.5099924206733704, -0.08962441235780716, 0.060207899659872055, -0.772390604019165, 0.47261369228363037, 0.10405825823545456, -0.5796316862106323, 0.3694429397583008, 0.03401811420917511, 0.5199567079544067, -0.6544363498687744, 0.06747423112392426, -0.13167160749435425, -0.03275761008262634, -0.5518626570701599, 0.4179535210132599, 0.07186882197856903, 0.21087375283241272, -0.2720463275909424, 0.680331289768219, -0.338102787733078, -0.0181224774569273, 0.2657872140407562, 0.586889922618866, 0.37841159105300903, 0.30481594800949097, -0.12822023034095764, 0.5235221982002258, 0.25681036710739136, -0.7130829691886902, 0.33505743741989136, 0.36047980189323425, -0.3700985610485077, 0.545987606048584, -0.6640105247497559, 0.15902025997638702, -0.19904445111751556, -0.003964560106396675, -0.908353865146637, -0.34275496006011963, 0.24053369462490082, -0.7874270081520081, -0.0298512801527977, 0.17701564729213715, -0.38873419165611267, -0.06913740187883377, -0.43381577730178833, 0.5754064321517944, 0.3433319926261902, -0.6191494464874268, 0.4579251706600189, 0.13389940559864044, -0.07205043733119965, -0.6812110543251038, -0.3051077127456665, -0.2134353071451187, -0.0831209197640419, -0.9736140966415405, 0.1386324018239975, -0.005913812201470137, -0.6386741399765015, 0.26959648728370667, -0.21939393877983093, -0.36931368708610535, 0.3325498402118683, 0.06837008893489838, 0.23637406527996063, -0.46291640400886536, 0.5279088616371155, -0.009795363061130047, 0.16965773701667786, 0.3036372661590576, -0.03712213411927223, 0.3451666533946991, -0.3798941671848297, -0.6087130308151245, 0.0016555823385715485, 0.2205146998167038, 0.4072672724723816, -0.7447028160095215, 0.4600609540939331, 0.09079427272081375, -0.7276393175125122, -0.024137113243341446, -0.33378326892852783, -0.2355489581823349, -0.3493589162826538, 0.029544781893491745, -0.45793455839157104, -1.0418094396591187, 0.4192241430282593, 0.16492539644241333, 0.13036774098873138, 0.6497169137001038, 0.35190755128860474, 0.10192492604255676, 0.7412724494934082, 0.1929619014263153, 0.6860105991363525, -0.19460545480251312, -0.07055554538965225, 0.18804879486560822, -0.6687089800834656, -0.44777828454971313, -0.8443952798843384, 0.05310368165373802, -0.25375592708587646, -0.5153701901435852, 0.19264887273311615, 0.42691829800605774, -0.30757904052734375, -0.09354401379823685, -0.3570655286312103, 0.4647233188152313, 0.3001110851764679, 0.15118251740932465, 0.6455665230751038, -0.2522231340408325, 0.048580873757600784, 0.19397343695163727, -0.2651856541633606, -0.8828059434890747, 1.1377041339874268, 0.4547136723995209, 0.533233642578125, 0.5869273543357849, 0.528093695640564, 0.12223558127880096, 0.5333132147789001, -0.8600391745567322, 0.371683269739151, 0.11662410944700241, -0.6470001935958862, -0.7089610695838928, -0.42638394236564636, -0.6801528930664062, 0.3380942940711975, -0.18409985303878784, -0.6255447268486023, 0.13601315021514893, -0.3881620764732361, -0.43150794506073, -0.010131203569471836, -0.7428480386734009, 0.6895918846130371, -0.029145589098334312, -0.23563037812709808, 0.003217479446902871, -0.6164581179618835, 0.6177939772605896, -0.16201356053352356, 0.08438436686992645, -0.16296620666980743, -0.24706599116325378, 0.8084559440612793, -0.317525714635849, 0.5587674975395203, -0.20742325484752655, -0.30172380805015564, 0.5107504725456238, 0.16968634724617004, -0.004894590470939875, 0.04952511563897133, -0.3453157842159271, -0.22687901556491852, 0.29724130034446716, -0.3947821855545044, -1.0858170986175537, 0.3895876109600067, -0.7175378799438477, -0.5858719944953918, -0.18129348754882812, -0.35517647862434387, -0.5830981731414795, -0.035854272544384, -0.10344543308019638, 0.4706665873527527, -0.43014073371887207, 0.17528019845485687, 0.9015202522277832, -0.4389049708843231, 0.0612713098526001, 0.761932373046875, -0.35558247566223145, -0.20835687220096588, 0.5634465217590332, -0.08888308703899384, 0.305341511964798, 0.7396062016487122, 0.17810620367527008, -0.5097569823265076, -0.19095025956630707, -0.7826370000839233, 0.2976801097393036, -0.831271231174469, -0.28186631202697754, -0.6065921783447266, -0.10412777215242386, -0.2951962947845459, 0.008006392046809196, 0.18006208539009094, -0.6700098514556885, -0.19717538356781006, -0.1749119758605957, 0.39997705817222595, 0.7649646997451782, 0.5299368500709534, 0.039479147642850876, -0.7951683402061462, 0.46702221035957336, 0.3174142837524414, 0.6699052453041077, 0.05629393085837364, -0.6205925345420837, -0.14916276931762695, 0.19606302678585052, -0.2972470819950104, -1.035785436630249, -0.1685142070055008, 0.36020034551620483, 0.5518830418586731, 0.25680044293403625, 0.4658980071544647, 0.5660310983657837, -0.1691274493932724, 0.8035562634468079, 0.0436781570315361, -1.0471534729003906, 0.48451942205429077, -0.02671932429075241, 0.3228726089000702, 0.573283314704895, 0.4221368134021759, -0.29968342185020447, -0.5115790963172913, -0.4390092194080353, -0.5715241432189941, 0.4546870291233063, 0.19887691736221313, -0.1707811802625656, -0.06210700049996376, 0.3426460325717926, 0.17037612199783325, 0.14971168339252472, -0.4470730721950531, 0.02569151669740677, -0.08177652209997177, -0.31584152579307556, 0.23563005030155182, -0.06175999715924263, -0.13350196182727814, 0.06339950859546661, 0.7420704960823059, -0.28989940881729126, 0.07074116170406342, 0.4041745960712433, -0.2768156826496124, -0.19257326424121857, 0.776298999786377, 0.2805041968822479, 0.8587840795516968, -0.46654072403907776, 0.0772784873843193, 0.2844850718975067, -0.26145219802856445, 0.3107043206691742, -0.16804294288158417, -0.21268664300441742, 0.024260960519313812, 0.46646326780319214, 0.5413151979446411, 0.15147161483764648, -0.7929050922393799, 0.8994579315185547, -0.20325936377048492, -0.27147892117500305, -0.07829039543867111, -0.08260620385408401, 0.1533644199371338, -0.0053148274309933186, 0.22877207398414612, -0.19057078659534454, 0.43869584798812866, -0.4279789626598358, 0.2823517322540283, 0.42212674021720886, -0.7673235535621643, -0.04902007058262825, 0.3551337420940399, 0.1750665307044983, -0.20196254551410675, 0.38837048411369324, 0.17778125405311584, -0.22310204803943634, 0.8427287936210632, 0.31201499700546265, 1.1161255836486816, -0.43384748697280884, 0.4049346148967743, 0.3110719323158264, 0.42736202478408813, 0.2193145751953125, 0.5619877576828003, 0.039802394807338715, -0.6022886633872986, -0.639832615852356, -0.9311544895172119, -0.5301141738891602, -0.25221526622772217, -1.0610744953155518, 0.15372928977012634, -0.19435612857341766, 0.10960639268159866, -0.06811900436878204, -0.048455409705638885, -0.6187829971313477, 0.5279590487480164, -0.4651590883731842, 1.1769317388534546, -0.5950326919555664, 0.45864638686180115, 0.913508951663971, -0.6338942050933838, -0.7827964425086975, 0.11847813427448273, -0.5722782611846924, -0.4204156696796417, 0.5872083306312561, 0.25821033120155334, -0.36632147431373596, -0.21221749484539032, -0.3639759123325348, -0.6852351427078247, 0.9618854522705078, 0.4585745930671692, -0.128538578748703, -0.1187531054019928, 0.22800983488559723, 0.6876741051673889, -0.3781907856464386, 0.6834867596626282, 0.5890774726867676, 0.5403156876564026, -0.14411327242851257, -0.973734974861145, 0.27954718470573425, -0.22423572838306427, -0.34453698992729187, 0.3410578668117523, -0.3167419731616974, 0.4895981252193451, -0.27809733152389526, -0.474180668592453, 0.0910557210445404, 0.49367696046829224, 0.08727573603391647, 0.5105998516082764, 0.46490752696990967, 0.5241129994392395, 0.7737274765968323, -0.22132231295108795, 0.9902711510658264, -0.023635147139430046, 0.25827065110206604, 0.9793046712875366, -0.29366999864578247, 0.9755299091339111, 0.4481015205383301, -0.3224560618400574, 0.6078690886497498, 0.718883216381073, 0.5981202125549316, 0.31849703192710876, 0.5662080645561218, -0.2985781729221344, -0.3292999565601349, -0.11449960619211197, -0.2755379378795624, 0.4764364957809448, 0.266419380903244, -0.03296414017677307, -0.41319090127944946, -0.2707853317260742, -0.3121453821659088, 0.40144139528274536, -0.4034179151058197, 0.9302560687065125, 0.08284521847963333, -0.9367613196372986, 0.6434201598167419, 0.13991092145442963, 0.3031143546104431, -0.45472022891044617, -0.2784845530986786, -0.02092139609158039, -0.12228977680206299, -0.40890178084373474, -1.138474464416504, 0.4462687373161316, 0.22827725112438202, -0.25528934597969055, 0.28536102175712585, 0.6115424036979675, -0.42247700691223145, -0.12668463587760925, 0.3964304029941559, 0.8289251923561096, 0.1660398542881012, -0.2453734576702118, -0.22432108223438263, -0.6490058898925781, -0.1537565290927887, -0.1618971824645996, -0.04058374464511871, 0.6576990485191345, -0.2772744297981262, 0.512301504611969, 0.553618848323822, -0.2682689428329468, 0.07096374779939651, 0.16533425450325012, 0.6877548098564148, -0.5262709259986877, -0.4533344805240631, -0.5906036496162415, 0.4052193760871887, -0.04529048502445221, -0.2522529661655426, 0.7222453951835632, 0.6437708735466003, 0.7071255445480347, -0.18556253612041473, 0.6326247453689575, 0.09408716857433319, 0.6397889852523804, -0.6940951943397522, 0.4284285604953766, -0.6025927662849426, 0.339476078748703, -0.21098223328590393, -0.995055615901947, -0.23787346482276917, 0.22070102393627167, -0.47425541281700134, -0.18851810693740845, 0.777568519115448, 0.4841848611831665, 0.08185379207134247, 0.501165509223938, 0.3691660761833191, -0.0664782002568245, 0.09643743187189102, 0.7136802077293396, 1.143896222114563, -0.5027756690979004, 0.42303895950317383, 0.09773748368024826, -0.5820506811141968, -0.04895678535103798, -0.6052638292312622, -0.7362873554229736, -0.3649729788303375, -0.14183305203914642, -0.44561222195625305, 0.1466161012649536, 0.791110098361969, -0.07271023839712143, -0.915494978427887, -0.26665326952934265, 0.25685009360313416, 0.28656432032585144, -0.21800750494003296, -0.32956764101982117, 0.5371084809303284, -0.2209234982728958, -0.612708568572998, 0.059734418988227844, 0.2903960347175598, -0.20571906864643097, -0.27842390537261963, -0.1904391199350357, -0.13562311232089996, 0.48565277457237244, 0.636795163154602, -0.12156321108341217, -0.8820268511772156, -0.5544285178184509, 0.33796530961990356, 0.03675786033272743, -0.042092617601156235, 0.6345414519309998, -0.7285904884338379, 0.4934396743774414, 0.5850736498832703, 0.9832074046134949, 0.07911146432161331, 0.24268867075443268, 0.6560935974121094, -0.6029194593429565, -0.4313725233078003, 0.29399850964546204, -0.00833323784172535, 0.3156113922595978, -0.29976025223731995, 0.6815798878669739, -0.2549256980419159, -0.43910250067710876, -0.7476716637611389, 0.27539169788360596, -0.846757173538208, -0.28287220001220703, 1.107855200767517, -0.3919496238231659, -0.2869832515716553, -0.35033079981803894, -0.16129516065120697, 0.30188220739364624, -0.17638465762138367, 0.4355686902999878, 0.8614574074745178, -0.08168832212686539, 0.19738376140594482, -0.5475961565971375, 0.35737746953964233, 0.34078240394592285, -1.1265727281570435, -0.009237382560968399, 0.5321736335754395, 0.35172489285469055, 0.26214393973350525, 0.591148853302002, -0.36852505803108215, 0.4897976219654083, -0.2892851233482361, 0.12940894067287445, 0.12058168649673462, -0.2310311496257782, -0.39768633246421814, 0.4995485544204712, 0.23475226759910583, -0.33458834886550903 ]
http://arxiv.org/abs/2405.16700v1
http://arxiv.org/pdf/2405.16700v1
Implicit Multimodal Alignment: On the Generalization of Frozen LLMs to Multimodal Inputs
2024-05-26T21:31:59
2024-05-26T21:31:59
Mustafa Shukor, Matthieu Cord
cs.CV
cs.CV, cs.CL, cs.LG
Large Language Models (LLMs) have demonstrated impressive performance on multimodal tasks, without any multimodal finetuning. They are the building block for Large Multimodal Models, yet, we still lack a proper understanding of their success. In this work, we expose frozen LLMs to image, video, audio and text inputs and analyse their internal representation aiming to understand their generalization beyond textual inputs. Findings. Perceptual tokens (1) are easily distinguishable from textual ones inside LLMs, with significantly different representations, and complete translation to textual tokens does not exist. Yet, (2) both perceptual and textual tokens activate similar LLM weights. Despite being different, (3) perceptual and textual tokens are implicitly aligned inside LLMs, we call this the implicit multimodal alignment (IMA), and argue that this is linked to architectural design, helping LLMs to generalize. This provide more evidence to believe that the generalization of LLMs to multimodal inputs is mainly due to their architecture. Implications. (1) We find a positive correlation between the implicit alignment score and the task performance, suggesting that this could act as a proxy metric for model evaluation and selection. (2) A negative correlation exists regarding hallucinations, revealing that this problem is mainly due to misalignment between the internal perceptual and textual representations. (3) Perceptual tokens change slightly throughout the model, thus, we propose different approaches to skip computations (e.g. in FFN layers), and significantly reduce the inference cost. (4) Due to the slowly changing embeddings across layers, and the high overlap between textual and multimodal activated weights, we compress LLMs by keeping only 1 subnetwork that works well across a wide range of multimodal tasks. Paper code: https://github.com/mshukor/ima-lmms.
[ -0.3596680462360382, -0.7219178080558777, 0.8374853730201721, 0.01409427635371685, -0.1742185652256012, 0.02601875551044941, -0.1562410444021225, -0.5038578510284424, 0.16192986071109772, 0.07351306080818176, -0.5777496099472046, -0.5374090075492859, -0.6779246926307678, 0.07755932211875916, -0.43359214067459106, 0.5921981334686279, -0.18251918256282806, 0.31191495060920715, -0.5059928894042969, -0.15454980731010437, -0.4976115822792053, -0.33049577474594116, -0.4356967806816101, -0.28241121768951416, 0.49133771657943726, 0.18744856119155884, 0.809045672416687, 0.6966608166694641, 0.4359062612056732, 0.44295454025268555, 0.06039411202073097, 0.14279405772686005, -0.2627700865268707, 0.24508248269557953, 0.13732102513313293, -0.2523648738861084, -0.4257819652557373, -0.16211864352226257, 0.7324867248535156, 0.41366612911224365, 0.10437265783548355, 0.12070398777723312, 0.26424092054367065, 0.34005972743034363, -0.6183074116706848, 0.23737625777721405, -0.49942800402641296, 0.13738594949245453, -0.0811876505613327, -0.08009029924869537, -0.4216465353965759, 0.016338881105184555, 0.018713047727942467, -0.6702022552490234, 0.03067462332546711, 0.1653786301612854, 0.7273783683776855, 0.5200459361076355, -0.6094534993171692, -0.39367273449897766, -0.7246214747428894, 0.7181821465492249, -0.620673418045044, 0.5904857516288757, 0.13661843538284302, 0.028794456273317337, -0.12174684554338455, -0.4911995232105255, -0.6420922875404358, -0.27367424964904785, -0.17044585943222046, 0.13547037541866302, -0.24892646074295044, 0.1863349974155426, 0.19633495807647705, 0.1511557698249817, -0.6789392232894897, 0.3687102496623993, -0.17598724365234375, -0.37689724564552307, 0.3310028612613678, 0.3000040352344513, 0.5107672214508057, -0.08243032544851303, -0.6030019521713257, 0.0276977326720953, -0.5186721682548523, -0.04076950252056122, 0.3383386731147766, 0.10548218339681625, -0.3431798219680786, 0.7776678204536438, 0.18160241842269897, 0.5783257484436035, 0.1147703304886818, -0.3937697112560272, 0.31346696615219116, -0.33005690574645996, -0.2293105572462082, 0.21091434359550476, 0.8248579502105713, 0.42377766966819763, 0.2989233434200287, -0.16441597044467926, -0.10251946747303009, 0.2472439706325531, 0.3233546018600464, -0.4266866147518158, 0.04843932390213013, 0.3542860448360443, -0.3992263674736023, 0.03877142816781998, -0.07915592193603516, -0.6849603652954102, -0.35298117995262146, -0.5685514807701111, 0.3751252293586731, -0.38564640283584595, -0.12143479287624359, -0.10677789896726608, -0.007735217921435833, 0.2610473930835724, 0.44281959533691406, -0.9293232560157776, 0.3761661648750305, 0.5669530034065247, 0.82674640417099, -0.2680491805076599, -0.4342464506626129, -0.39684271812438965, 0.37274688482284546, -0.4608742892742157, 0.7236860990524292, -0.6316477060317993, -0.02191806398332119, 0.12904731929302216, 0.05374513939023018, -0.076211117208004, -0.27803924679756165, 0.33247610926628113, -0.5553298592567444, 0.21157659590244293, 0.05777335166931152, -0.41805800795555115, -0.20756150782108307, 0.1991991251707077, -0.7743380665779114, 0.7723718285560608, -0.3999022841453552, -0.49898621439933777, 0.26267218589782715, -0.4270723760128021, -0.1571582555770874, -0.217647984623909, -0.36869969964027405, -0.2066856175661087, 0.38733571767807007, 0.3730734586715698, 0.5217193365097046, -0.3637482523918152, 0.2163417488336563, -0.351519376039505, -0.49292781949043274, 0.4219011068344116, -0.4465717673301697, 0.2860802114009857, 0.17111067473888397, -0.3661413788795471, 0.2509334981441498, -0.557130753993988, -0.0478755459189415, -0.045183926820755005, -0.3928937017917633, -0.324594646692276, 0.03116733208298683, 0.05644627660512924, 0.2521251440048218, 0.2171870470046997, -0.47988075017929077, 0.2904156744480133, -0.0930832102894783, 0.3258199691772461, 1.0327630043029785, -0.5044865012168884, 0.6252565383911133, -0.21269755065441132, 0.4610633850097656, 0.21356256306171417, -0.049678266048431396, -0.3324252963066101, -0.47214943170547485, -0.5847524404525757, -0.6059513092041016, 0.24990758299827576, 0.4987489879131317, -0.6141408681869507, -0.0746559351682663, -0.40291497111320496, 0.022611059248447418, -0.6515965461730957, 0.28569430112838745, 0.5116613507270813, 0.2644024193286896, 0.31534823775291443, -0.08587293326854706, -0.37793251872062683, -1.159294843673706, 0.02216707356274128, 0.03696373850107193, -0.049612801522016525, 0.14683669805526733, 0.45901384949684143, -0.30202731490135193, 0.6295772194862366, -0.39075344800949097, -0.47907716035842896, 0.16804631054401398, 0.20448796451091766, 0.15958130359649658, 0.6859879493713379, 0.41580700874328613, -0.762213945388794, -0.218312606215477, 0.0006179534248076379, -0.919981837272644, 0.006391941569745541, -0.17464320361614227, 0.056222472339868546, 0.3779405355453491, 0.6844351291656494, -0.9795593023300171, 0.19797541201114655, 0.7965778708457947, -0.3197748064994812, 0.33890631794929504, -0.16456475853919983, 0.255700945854187, -1.0631295442581177, -0.14303478598594666, 0.05189034342765808, 0.007266238797456026, -0.5100437998771667, 0.05516420677304268, 0.15797683596611023, 0.010503852739930153, -0.5063360333442688, 0.6185156106948853, -0.9331446290016174, -0.25890907645225525, -0.05147843062877655, 0.23263131082057953, -0.03265462815761566, 0.793083906173706, -0.1480637788772583, 0.6240041255950928, 0.5771510601043701, -0.3635176420211792, 0.3339119851589203, 0.030474575236439705, -0.36883848905563354, 0.5595920085906982, -0.45009833574295044, 0.36438918113708496, -0.4244575798511505, 0.16877315938472748, -1.3642230033874512, -0.2614462375640869, 0.30423596501350403, -0.2897590100765228, 0.6356420516967773, -0.176396906375885, -0.6024275422096252, 0.07248038798570633, -0.310373991727829, 0.7513303756713867, 0.281525582075119, -0.3696059584617615, 1.12544846534729, 0.23004111647605896, -0.066039077937603, -0.8130519986152649, -0.7751047611236572, 0.14590150117874146, -0.17468056082725525, -0.6713099479675293, 0.4995436370372772, -0.28845837712287903, -0.4411739110946655, 0.2766697406768799, -0.15082189440727234, 0.047787316143512726, -0.17686085402965546, 0.5579293966293335, 0.300178587436676, -0.6011490821838379, 0.2980698049068451, 0.0726693645119667, -0.017824292182922363, -0.09028948098421097, -0.21757151186466217, 0.5816124677658081, -0.0802234336733818, -0.6502857804298401, -0.5669168829917908, 0.45371365547180176, 0.9752287268638611, 0.030928876250982285, 0.7374729514122009, 0.5623064041137695, -0.44343599677085876, 0.18906401097774506, -0.7745294570922852, 0.01813196949660778, -0.4491647183895111, 0.39154693484306335, -0.5946844220161438, -0.8186934590339661, 0.6813605427742004, 0.00002208868318120949, -0.025087201967835426, 0.44320574402809143, 0.5434918403625488, -0.31965139508247375, 1.1710309982299805, 0.5489596128463745, 0.1242259070277214, 0.360934853553772, -0.07572410255670547, -0.029902275651693344, -1.077501654624939, -0.43204250931739807, -0.3625323474407196, -0.5573151707649231, -0.4360732436180115, -0.4406939744949341, 0.3020879328250885, -0.0915687158703804, -0.22470428049564362, -0.24065718054771423, -0.26795557141304016, 0.48409512639045715, 0.2127823680639267, 0.03958128020167351, 0.19121091067790985, 0.06537063419818878, -0.4433947503566742, -0.2086966186761856, -0.5553532242774963, -0.5472057461738586, 0.916311502456665, 0.46308568120002747, 0.8658655881881714, 0.24405968189239502, 0.22838881611824036, 0.20298302173614502, 0.24952106177806854, -0.7557424306869507, 0.4740859866142273, -0.21525147557258606, -0.45788368582725525, -0.23298190534114838, -0.16366145014762878, -0.7635854482650757, 0.434854120016098, -0.47422879934310913, -0.7593410015106201, 0.20847861468791962, 0.11137140542268753, -0.1769508570432663, 0.2852190434932709, -0.8231599926948547, 0.6727252006530762, -0.4133199155330658, -0.5524355173110962, -0.09866739809513092, -0.45929089188575745, 0.5125769972801208, -0.11667005717754364, 0.3669098913669586, -0.06895893812179565, -0.3028677701950073, 0.502192497253418, -0.0034579008352011442, 0.9713385105133057, 0.10138177126646042, -0.24365057051181793, -0.07651243358850479, 0.16680017113685608, 0.4173896312713623, -0.07239234447479248, 0.04797261208295822, 0.33917468786239624, -0.09443602710962296, -0.2635405659675598, -0.6993057727813721, 0.9291691780090332, -0.8858765363693237, -0.6605240106582642, -0.41762804985046387, -0.8145483136177063, -0.1323128193616867, 0.10584288835525513, 0.0985078364610672, 0.7671450972557068, -0.07575418055057526, 0.21085606515407562, 0.746105432510376, -0.09098787605762482, 0.44407713413238525, 0.3214293420314789, -0.24474100768566132, -0.44053375720977783, 0.5548471212387085, 0.18450042605400085, 0.11267413944005966, 0.6024492979049683, -0.052722781896591187, -0.31519702076911926, -0.5563743710517883, -0.552244246006012, 0.3015623390674591, -0.9869604706764221, -0.11528777331113815, -0.7182429432868958, -0.022642897441983223, -0.5870700478553772, -0.19058428704738617, -0.24434536695480347, -0.2986088693141937, -0.528207540512085, -0.18702447414398193, 0.04259072616696358, 0.8644809722900391, 0.01194576546549797, 0.2334475964307785, -0.6786525249481201, 0.4876515865325928, 0.3110285699367523, 0.2879805266857147, 0.15168261528015137, -0.4059360921382904, -0.16405287384986877, -0.02718353644013405, -0.04072950407862663, -0.7539083361625671, 0.2283305823802948, 0.11416470259428024, 0.7178387641906738, 0.5658759474754333, -0.3068341910839081, 0.9029057025909424, -0.5469616651535034, 0.7742982506752014, 0.39808690547943115, -0.9089304804801941, -0.012478455901145935, -0.14672502875328064, 0.7659321427345276, 0.2036425620317459, 0.4915156960487366, -0.3059140145778656, -0.43700897693634033, -0.0939047634601593, -0.8071381449699402, 0.6007143259048462, -0.03810117766261101, 0.32481998205184937, 0.18019992113113403, 0.3190290033817291, 0.11352866142988205, 0.10289518535137177, -0.9112212061882019, -0.1737491488456726, -0.17515721917152405, -0.4273488223552704, -0.16510368883609772, -0.6110441088676453, -0.28777721524238586, -0.0869017168879509, 0.3820018470287323, -0.30021804571151733, 0.5176734328269958, 0.10398323833942413, -0.24084828794002533, -0.1360606551170349, 0.14372031390666962, 1.1079508066177368, 0.6420909762382507, -0.07016630470752716, 0.5429803729057312, 0.11564920097589493, -0.41151300072669983, 0.24173034727573395, -0.1670808494091034, 0.14160031080245972, -0.08159175515174866, 0.6672288775444031, 0.8080174326896667, 0.4966256618499756, -0.46532514691352844, 0.2580435574054718, -0.22257819771766663, -0.20732341706752777, -0.3713509440422058, -0.22158657014369965, 0.159516841173172, 0.4928511381149292, 0.4974996745586395, 0.08392204344272614, -0.1865409016609192, -0.5971683859825134, -0.005007633939385414, 0.6953976154327393, -0.40754377841949463, -0.37752676010131836, 0.6798136830329895, -0.09222304821014404, -0.2134881317615509, 0.7753264904022217, 0.3905563950538635, -0.27673307061195374, 0.4395872950553894, 0.6291244029998779, 1.0416193008422852, -0.06841715425252914, -0.008013213984668255, 0.07652723789215088, 0.48448464274406433, 0.11332448571920395, -0.01772492565214634, -0.11172619462013245, -0.9105163812637329, -0.6091169118881226, -0.6386296153068542, -0.10396672040224075, 0.095450259745121, -0.30605030059814453, 0.20224691927433014, -0.32593128085136414, -0.16820690035820007, -0.16646386682987213, -0.5671883821487427, -0.6176389455795288, 0.17484380304813385, 0.46546199917793274, 0.6008161306381226, -0.743880569934845, 0.810709536075592, 0.7411742806434631, -0.20014816522598267, -0.5689371824264526, 0.06993760168552399, 0.3672991991043091, -0.7888501286506653, 0.8981468677520752, 0.05908900499343872, -0.38607028126716614, -0.25525644421577454, -0.6264258027076721, -1.220757246017456, 1.0942782163619995, 0.6526945233345032, -0.48358938097953796, -0.2856936454772949, 0.20699168741703033, 0.5057291984558105, -0.6200089454650879, 0.24810011684894562, -0.011930926702916622, 0.5172239542007446, 0.2732282876968384, -0.8966488242149353, 0.22364801168441772, -0.35064202547073364, -0.004865856841206551, 0.20607149600982666, -0.48248594999313354, 0.8659894466400146, -0.09600495547056198, -0.3368363380432129, 0.08113355189561844, 0.511390745639801, 0.06991485506296158, 0.2865833044052124, 0.3422708511352539, 0.661405086517334, 0.4482335150241852, -0.1193983182311058, 1.013767957687378, -0.2743445932865143, -0.0473974384367466, 1.0617097616195679, -0.20856523513793945, 0.6363034844398499, 0.7980048060417175, 0.23854289948940277, 0.42255696654319763, 0.4688141345977783, 0.21528993546962738, 0.5230986475944519, 0.06321362406015396, 0.02003168873488903, -0.23256586492061615, -0.07830148190259933, -0.30823764204978943, 0.5454058647155762, 0.37701988220214844, -0.40158194303512573, -0.017983078956604004, 0.11556694656610489, 0.011097583919763565, -0.21606700122356415, -0.21056430041790009, 0.8276827335357666, 0.16779017448425293, -0.6006014347076416, 0.5114548802375793, -0.12799398601055145, 0.6061192750930786, -0.7439520359039307, -0.1865978091955185, -0.1024860367178917, 0.07535424083471298, -0.276425838470459, -0.6974287033081055, 0.2176245003938675, -0.29335781931877136, -0.23506511747837067, -0.40479233860969543, 0.4877761900424957, -0.41341620683670044, -0.385135293006897, 0.44405534863471985, 0.4378552734851837, 0.09656873345375061, 0.20505571365356445, -0.5550429821014404, 0.5296310186386108, -0.2206161469221115, -0.29424211382865906, 0.4709860384464264, 0.4882688820362091, -0.12093034386634827, 0.6107417345046997, 0.6395997405052185, -0.0555957593023777, 0.21312710642814636, -0.08287051320075989, 0.7683983445167542, -0.5437102913856506, -0.13568776845932007, -1.055012583732605, 0.6435147523880005, 0.30424556136131287, -0.27752065658569336, 0.6511570811271667, 0.4370320737361908, 0.7456148862838745, -0.15948982536792755, 0.23297379910945892, 0.284915953874588, -0.2602686583995819, -1.1074414253234863, 0.5164283514022827, -0.8271639943122864, 0.2426830381155014, -0.4719572961330414, -1.1258288621902466, -0.3835287094116211, 0.3433177173137665, -0.1404750794172287, -0.18232661485671997, 0.8252394795417786, 0.7672199010848999, -0.08891613781452179, -0.20967964828014374, 0.5528085231781006, 0.4229457974433899, 0.13427004218101501, 0.36333519220352173, 1.049362301826477, -0.24954453110694885, 0.44403713941574097, 0.0064003923907876015, -0.052104830741882324, -0.07644184678792953, -0.9415017366409302, -0.5895220041275024, -0.8709207773208618, -0.3162210285663605, -0.11832468211650848, -0.046200066804885864, 0.8155794739723206, 0.6982210278511047, -0.6285338997840881, -0.3500169813632965, 0.3274689018726349, 0.27971717715263367, -0.19910627603530884, -0.17927579581737518, 0.3218466341495514, -0.12050087749958038, -0.8454735279083252, 0.3826857805252075, 0.3959171772003174, 0.2647235691547394, -0.4024416506290436, -0.08019325882196426, -0.3983994424343109, 0.13101184368133545, 0.6436523795127869, -0.09901972860097885, -1.0076075792312622, -0.30301016569137573, 0.059147726744413376, -0.22332847118377686, 0.27555835247039795, 0.700357973575592, -0.6950603127479553, 0.4356813430786133, 0.4942968487739563, 0.44505348801612854, 0.567165732383728, -0.12921397387981415, 0.6195687651634216, -0.5102684497833252, 0.23776857554912567, -0.016071045771241188, 0.5828185081481934, 0.23077808320522308, -0.44030457735061646, 0.22346189618110657, -0.05215277895331383, -0.37044963240623474, -0.8004908561706543, 0.17999468743801117, -1.0836427211761475, -0.4720917046070099, 1.0380303859710693, 0.10104982554912567, -0.3381950855255127, -0.019501661881804466, -0.2714608609676361, 0.08715324848890305, -0.41090255975723267, 0.7706423997879028, 0.9118497371673584, -0.191744863986969, -0.3807987570762634, -0.5064166784286499, 0.31077811121940613, 0.3484455943107605, -0.47655922174453735, -0.25298601388931274, 0.7578030824661255, 0.13324777781963348, 0.5848464369773865, 0.5271036624908447, -0.16955727338790894, 0.16415239870548248, -0.18395763635635376, 0.0435909740626812, -0.11920833587646484, -0.5261749029159546, -0.5367092490196228, 0.5670970678329468, -0.1191454827785492, -0.23856082558631897 ]
http://arxiv.org/abs/2405.16684v1
http://arxiv.org/pdf/2405.16684v1
gzip Predicts Data-dependent Scaling Laws
2024-05-26T20:33:08
2024-05-26T20:33:08
Rohan Pandey
cs.CL
cs.CL, cs.LG
Past work has established scaling laws that predict the performance of a neural language model (LM) as a function of its parameter count and the number of tokens it's trained on, enabling optimal allocation of a fixed compute budget. Are these scaling laws agnostic to training data as some prior work suggests? We generate training datasets of varying complexities by modulating the syntactic properties of a PCFG, finding that 1) scaling laws are sensitive to differences in data complexity and that 2) gzip, a compression algorithm, is an effective predictor of how data complexity impacts scaling properties. We propose a new data-dependent scaling law for LM's that accounts for the training data's gzip-compressibility; its compute-optimal frontier increases in dataset size preference (over parameter count preference) as training data becomes harder to compress.
[ -0.27984750270843506, -0.5422902703285217, 0.24060048162937164, 0.40100058913230896, 0.007378359325230122, -0.3348798155784607, -0.33106252551078796, -0.5357427000999451, 0.3803061544895172, 0.4128044843673706, -0.4094367027282715, 0.31286728382110596, -0.8655353784561157, 0.014932016842067242, -0.33266037702560425, 0.6923327445983887, 0.23547545075416565, 0.24328984320163727, -0.4502999484539032, 0.0283674206584692, -0.3116396367549896, -0.8921847343444824, -0.160683274269104, -0.4350779950618744, 0.2677256166934967, 0.1810872107744217, 1.0570509433746338, 1.156760573387146, 0.43609631061553955, 0.3236050307750702, -0.1496749073266983, -0.4460952579975128, -0.18402715027332306, -0.0032131504267454147, 0.11090393364429474, -0.9572211503982544, -0.10180527716875076, -0.04082220792770386, 0.6344118118286133, 0.720512330532074, -0.5210516452789307, -0.03713871166110039, 0.09183508902788162, 0.7287371754646301, -0.5768479108810425, 0.2580035924911499, -0.7168605327606201, 0.10194795578718185, -0.026360703632235527, -0.39316970109939575, -0.4933602809906006, -0.10609281808137894, -0.11074590682983398, -0.25138360261917114, 0.6832329034805298, 0.045665185898542404, 0.6781986355781555, 0.5299461483955383, -0.26313960552215576, -0.40548521280288696, -0.6432237029075623, 0.586708664894104, -0.5733146071434021, 0.4137386679649353, 0.5243275165557861, 0.3392990529537201, -0.19880221784114838, -0.75644451379776, -0.4924316108226776, -0.1443636268377304, -0.13712847232818604, -0.3401305377483368, -0.20219680666923523, 0.17298124730587006, 0.5102725028991699, 0.7929428815841675, -0.5376697778701782, 0.2072591483592987, -0.5763759613037109, -0.10648617893457413, 0.3415192663669586, 0.292462557554245, 0.5029182434082031, -0.06866932660341263, -0.22165517508983612, 0.12027085572481155, -0.7131938338279724, 0.07925865054130554, 0.39886125922203064, 0.6887297034263611, -0.2235041856765747, 0.2620781362056732, -0.3122776746749878, 0.7385076880455017, 0.2155965119600296, -0.14011353254318237, 0.3976404070854187, -0.10418596118688583, -0.27743884921073914, 0.10933451354503632, 0.5880457758903503, 0.15623065829277039, 0.38140952587127686, -0.47706836462020874, -0.0650244876742363, -0.07330024987459183, 0.40839746594429016, -1.2046988010406494, -0.2390589565038681, -0.008217566646635532, -0.3336278796195984, -0.21922478079795837, -0.01216103881597519, -0.45521000027656555, -0.6444393396377563, -0.474643737077713, 0.4898364245891571, -0.07815386354923248, -0.02191479504108429, 0.4171997606754303, 0.027830714359879494, -0.006120673846453428, 0.11391521245241165, -1.5860881805419922, 0.5073680877685547, 0.594007670879364, 1.0427005290985107, 0.34989628195762634, -0.45126715302467346, -0.7256888747215271, -0.15388455986976624, -0.032324038445949554, 0.43819764256477356, -0.5012680292129517, -0.03599761426448822, 0.06736104190349579, 0.1264655590057373, -0.023147255182266235, -0.4660457968711853, 0.40885722637176514, -0.4530905783176422, -0.1592041403055191, -0.3693181872367859, -0.7107810378074646, -0.015053640119731426, -0.08829212933778763, -0.8899233937263489, 0.42454129457473755, 0.31902164220809937, -0.7807353138923645, 0.7680642008781433, -0.15934672951698303, -0.5131757855415344, 0.257040798664093, -0.2172989547252655, -0.4394937753677368, 0.3901067078113556, 0.13905669748783112, 0.4169037640094757, -0.5720484256744385, 0.3002070188522339, -0.6028737425804138, -0.3792378306388855, -0.07630826532840729, -0.2576896846294403, 0.7312604784965515, 0.0671297162771225, -0.059176988899707794, -0.19657832384109497, -0.8450298309326172, 0.22364866733551025, 0.03094230405986309, -0.673466682434082, 0.1846507340669632, 0.3716433048248291, -0.19986936450004578, 0.058011919260025024, 0.08048690855503082, -0.5223947763442993, 0.6405701041221619, -0.22929726541042328, 0.6695486903190613, 0.6669521331787109, -0.03938918560743332, 0.5755760669708252, -0.27631592750549316, 0.5895105600357056, -0.3327168822288513, 0.2792695462703705, 0.10450480878353119, -0.24368354678153992, -0.38129690289497375, -0.22542639076709747, 0.40625953674316406, 0.30312299728393555, -0.3782368004322052, 0.18563006818294525, -0.3723624348640442, -0.5197727680206299, -0.048792652785778046, 0.07914412021636963, -0.16875673830509186, 0.26853206753730774, 0.4620782732963562, -0.13876211643218994, -0.5785086154937744, -0.8516886830329895, -0.15955635905265808, -0.23688675463199615, -0.2156120091676712, 0.338000625371933, 0.33669739961624146, 0.12835176289081573, 0.7030686140060425, -0.4461238980293274, -0.16444119811058044, -0.33697158098220825, 0.2554047405719757, 0.3653554618358612, 0.4850062131881714, 0.8028992414474487, -0.7558355927467346, -0.48224127292633057, -0.3165685534477234, -0.35463955998420715, -0.16912955045700073, -0.022357938811182976, 0.5700421333312988, -0.08553130179643631, 0.621607780456543, -0.5730648636817932, 0.22440753877162933, 0.6270747780799866, -0.3058733642101288, 0.6856201887130737, -0.517760694026947, -0.11802415549755096, -0.5034668445587158, -0.18256622552871704, -0.1255563646554947, 0.02530113235116005, -0.9028201699256897, 0.00647612614557147, 0.2628914713859558, 0.16751527786254883, -0.3375089466571808, 0.037290532141923904, -0.3837355077266693, -0.1654958724975586, -0.26707127690315247, -0.8717052340507507, -0.2390160858631134, 0.4706544280052185, 0.1575094759464264, 0.8259361386299133, 0.771806001663208, -0.5026272535324097, 0.1377446949481964, 0.04534333571791649, -0.3873077630996704, 0.1797838807106018, -0.8098037838935852, 0.06704028695821762, 0.11601320654153824, 0.20282083749771118, -0.4748813807964325, -0.30630311369895935, -0.06888751685619354, -0.3924783170223236, 0.45863187313079834, -0.6298705339431763, -0.9334508776664734, -0.06905490159988403, -0.1654607504606247, 0.4207032024860382, 0.41502776741981506, -0.6295140981674194, 0.5728323459625244, 0.2700454294681549, -0.044804345816373825, -0.4982408881187439, -0.8086812496185303, 0.0027332601603120565, -0.18859471380710602, -0.543915331363678, 0.18842481076717377, -0.3252606689929962, -0.0004596419457811862, -0.27197590470314026, 0.05841369181871414, -0.3455655872821808, 0.1657343953847885, 0.594299852848053, 0.04574767127633095, -0.18303100764751434, 0.02424309216439724, -0.25527724623680115, 0.30121561884880066, 0.5076856017112732, -0.5055668354034424, 0.7968733310699463, -0.3249503970146179, 0.20315828919410706, 0.30719155073165894, 0.046588681638240814, 0.6105509400367737, 0.10293355584144592, 0.7308254837989807, 0.309129923582077, -0.23515239357948303, -0.3758540153503418, -0.10878268629312515, 0.027267999947071075, -0.5169606804847717, 0.2084227204322815, -0.25416845083236694, -0.681243360042572, 0.5665218830108643, 0.25865650177001953, -0.3866432011127472, 0.395589679479599, 0.6369569897651672, 0.32556137442588806, 0.8673475384712219, 0.9273468852043152, -0.4003136157989502, 0.535615086555481, -0.09017018973827362, -0.19016103446483612, -0.32301896810531616, 0.25949016213417053, -0.6425608396530151, -0.5350064039230347, -0.9288259148597717, -0.11495205014944077, 0.13879290223121643, 0.1399402916431427, -0.16894380748271942, 0.20968671143054962, -0.3299437463283539, 0.9056111574172974, 0.37976714968681335, 0.11064217239618301, -0.11548175662755966, 0.07839315384626389, 0.29984158277511597, 0.16430290043354034, -0.8285149335861206, 0.22492095828056335, 1.3582353591918945, 0.2371593862771988, 0.6662245988845825, 0.034050486981868744, 0.41085395216941833, 0.48267099261283875, -0.015762193128466606, -0.8203855752944946, 0.32467788457870483, -0.32521235942840576, -0.5304390788078308, -0.14453279972076416, -0.7261341214179993, -1.0125387907028198, -0.05339799076318741, -0.13415445387363434, -1.0158697366714478, 0.3172793686389923, -0.004322528839111328, -0.2643565237522125, 0.42522016167640686, -0.6360677480697632, 0.2663167715072632, -0.08533904701471329, -0.23404476046562195, -0.3151090443134308, -0.8294047117233276, -0.09089258313179016, 0.0013573941541835666, 0.013416503556072712, 0.15394875407218933, 0.01689312420785427, 0.7047118544578552, -0.8094792366027832, 0.6874485015869141, -0.3531222939491272, 0.19796058535575867, 0.22932635247707367, 0.20445598661899567, 0.3972230553627014, -0.11442537605762482, 0.08331543207168579, 0.2363254576921463, -0.021755635738372803, -0.4620046615600586, -0.7926061749458313, 0.43816450238227844, -0.7464897632598877, -0.3766452670097351, -0.2925434410572052, -0.9598987102508545, -0.28250882029533386, 0.2455228716135025, 0.5471726655960083, 0.47663137316703796, 0.30424773693084717, 0.3744644820690155, 0.38664987683296204, 0.015093679539859295, 0.40325766801834106, 0.5122638940811157, -0.10171516984701157, -0.45737406611442566, 1.064635157585144, 0.6711965203285217, 0.44761013984680176, 0.21959134936332703, 0.40182915329933167, -0.0076472098007798195, -0.795148491859436, -0.32502269744873047, -0.04960155487060547, -0.6771705150604248, -0.12848834693431854, -0.2492925226688385, -0.34999823570251465, -0.0577392540872097, -0.34053197503089905, -0.17923738062381744, -0.697348415851593, -0.08326084911823273, 0.04905528202652931, 0.27913251519203186, 0.7111946940422058, -0.38984060287475586, 0.33145591616630554, -0.462739497423172, 0.060477811843156815, 0.17854030430316925, 0.5304858684539795, -0.2831985652446747, -0.6776735186576843, -0.44791752099990845, -0.15370076894760132, 0.030713172629475594, -0.44992437958717346, 0.3260321021080017, 0.5401148200035095, 0.15052202343940735, 0.35863274335861206, -0.15082357823848724, 0.07260297238826752, -0.5022422671318054, 0.6250551342964172, 0.3576255440711975, -0.7368762493133545, 0.1854877769947052, -0.38728296756744385, 0.2735573649406433, 0.36772897839546204, 0.2094162255525589, -0.26419565081596375, -0.462112694978714, -0.9119478464126587, -0.8073975443840027, 0.6408655047416687, -0.07969465851783752, 0.3832024335861206, 0.2846924960613251, 0.6883765459060669, 0.2971958816051483, 0.306311696767807, -0.558107316493988, -0.16107797622680664, -0.09997736662626266, 0.13348229229450226, 0.026291968300938606, -0.2817924916744232, 0.23947077989578247, -0.31580302119255066, 0.24990041553974152, -0.24335473775863647, 0.24772179126739502, -0.1618386209011078, 0.08449864387512207, -0.11608493328094482, 0.19561830163002014, 0.6620602607727051, 0.4845742881298065, -0.4662451446056366, 0.15495584905147552, -0.04630299657583237, -1.0580531358718872, 0.29561522603034973, 0.058258868753910065, -0.49644050002098083, -0.15048950910568237, 0.35043299198150635, 0.6664664149284363, -0.18735867738723755, -0.24065496027469635, 0.44616973400115967, -0.2468935251235962, -0.5369403958320618, -0.08288711309432983, 0.3894251585006714, -0.10506514459848404, 0.16478131711483002, 0.22966234385967255, 0.21304315328598022, 0.16645346581935883, -0.32784539461135864, 0.37108635902404785, 0.2042434811592102, -0.23985834419727325, -0.4374399483203888, 0.6991543173789978, -0.1416558176279068, -0.13833487033843994, 0.6745193004608154, -0.02308814227581024, -0.4475613534450531, 0.7996288537979126, 0.43540841341018677, 0.7692508697509766, -0.2552686333656311, -0.014816323295235634, 0.37239599227905273, 0.475408136844635, -0.2783168852329254, 0.30087605118751526, -0.20412667095661163, -0.6301072835922241, -0.304243266582489, -0.4797598421573639, -0.32111531496047974, 0.27835509181022644, -0.8319404721260071, 0.37418296933174133, -0.9799877405166626, -0.1370430737733841, 0.2823410630226135, 0.08673272281885147, -0.6677679419517517, 0.49953433871269226, 0.22692717611789703, 0.9751838445663452, -0.6715825796127319, 0.8723324537277222, 0.06035811826586723, -0.4075152575969696, -0.7507709860801697, 0.12555959820747375, 0.056758005172014236, -0.7211369872093201, 0.5118271708488464, 0.21047215163707733, 0.08795680105686188, -0.22371923923492432, -0.689202606678009, -0.9605858325958252, 0.8996574878692627, 1.066813349723816, -0.4574260711669922, 0.021604757755994797, 0.4894612431526184, 0.6300292611122131, -0.3693682849407196, 0.16817693412303925, 0.45534977316856384, 0.10120636224746704, 0.027142813429236412, -0.9349728226661682, -0.10010168701410294, -0.37476977705955505, -0.32328835129737854, 0.49668094515800476, -0.6875810623168945, 1.083672285079956, -0.3333253860473633, -0.17519056797027588, -0.28250837326049805, 0.5649232864379883, -0.47260913252830505, -0.057849764823913574, 0.5879764556884766, 0.6804645657539368, 0.7088097929954529, -0.00560448644682765, 1.3118096590042114, -0.5566726922988892, 0.4564460813999176, 1.2701460123062134, 0.018601983785629272, 0.8177164793014526, 0.47396403551101685, -0.320255309343338, 0.47868409752845764, 0.5127974152565002, -0.5137815475463867, 0.422708660364151, 0.5522809624671936, 0.00022243402781896293, 0.02858761139214039, -0.25202128291130066, -0.3137866258621216, 0.454860121011734, 0.00047292487579397857, -0.5837083458900452, -0.1556830108165741, -0.36410605907440186, 0.2010038048028946, -0.3097141981124878, -0.46916255354881287, 0.4232572615146637, -0.2897944748401642, -0.3003964126110077, 0.913912832736969, -0.14293387532234192, 0.2901260554790497, -0.6611311435699463, 0.3310372829437256, -0.10830564051866531, 0.10406854748725891, -0.2667674124240875, -0.7141470909118652, 0.23087014257907867, -0.2702665328979492, -0.6340174078941345, -0.13143283128738403, 0.6052235960960388, -0.2192770391702652, -0.38533589243888855, 0.18362930417060852, 0.19199766218662262, -0.0005264298524707556, -0.2250758707523346, -0.4316742718219757, -0.043546829372644424, -0.10596399754285812, -0.5310971140861511, 0.7688625454902649, 0.21456201374530792, 0.22071346640586853, 0.7727701663970947, 0.35020220279693604, 0.5254828333854675, 0.126170814037323, 0.09225545078516006, 0.8213539123535156, -0.32667702436447144, -0.7974925637245178, -0.9256789684295654, 0.138625830411911, 0.19633284211158752, -0.11793061345815659, 0.340425968170166, 0.5563229322433472, 0.6042916774749756, 0.14152419567108154, 0.8974283933639526, -0.24764437973499298, 0.000823690090328455, -0.5360819697380066, 0.6726081371307373, -0.5011258125305176, 0.20545166730880737, 0.14724884927272797, -0.686396598815918, -0.24570973217487335, 0.032173041254282, -0.28518903255462646, -0.011810441501438618, 0.502365231513977, 0.8810426592826843, -0.04860702529549599, 0.20325148105621338, 0.1450454294681549, 0.07553821802139282, 0.261420875787735, 0.6859036087989807, 0.2651301622390747, -0.18198485672473907, 0.4560813307762146, -0.39189520478248596, -0.1253214329481125, -0.028944699093699455, -0.8440180420875549, -0.5825697183609009, -0.6981111764907837, -0.2431628406047821, -0.314848929643631, -0.46274110674858093, 0.740261435508728, 0.7064394950866699, -0.5076477527618408, -0.28927385807037354, -0.5418279767036438, -0.23665033280849457, -0.26458191871643066, -0.17445379495620728, 0.23200297355651855, -0.3446975350379944, -0.26234185695648193, 0.2525426745414734, 0.24323341250419617, 0.2698603868484497, -0.24259714782238007, -0.2274315357208252, 0.20973992347717285, 0.4163620173931122, 0.1585419625043869, 0.495945543050766, -0.3540990948677063, -0.23455145955085754, -0.24167251586914062, -0.12941882014274597, 0.3439149856567383, 1.0681487321853638, -0.5218953490257263, 0.593065083026886, 0.5929632782936096, 0.5466604828834534, 0.3835565149784088, -0.2530727982521057, 0.6475182771682739, -0.6937521696090698, 0.18212492763996124, 0.002942903432995081, 0.498538076877594, 0.025736292824149132, -0.7227877974510193, 0.6119444966316223, 0.23810327053070068, -0.8246620297431946, -0.8102203011512756, 0.1423606127500534, -0.6570382714271545, -0.25276198983192444, 1.084501028060913, -0.15899883210659027, -0.27677851915359497, 0.3564348816871643, 0.10994869470596313, -0.1361805647611618, -0.12392313033342361, 0.8550007939338684, 0.8571467399597168, -0.20223458111286163, -0.3045700490474701, -0.7008371353149414, 0.6906730532646179, 0.4744133949279785, -0.6505735516548157, 0.4796419143676758, 0.3777536451816559, 0.13596144318580627, 0.08707280457019806, 0.34022703766822815, 0.2526102662086487, 0.17266307771205902, 0.31120333075523376, -0.03019840270280838, -0.2151157408952713, -0.4287680983543396, -0.5486716032028198, 0.5859147906303406, -0.018156789243221283, 0.1195627823472023 ]
http://arxiv.org/abs/2405.16682v1
http://arxiv.org/pdf/2405.16682v1
A Systematic Review of Federated Generative Models
2024-05-26T20:20:44
2024-05-26T20:20:44
Ashkan Vedadi Gargary, Emiliano De Cristofaro
cs.LG
cs.LG, cs.CL, cs.CR
Federated Learning (FL) has emerged as a solution for distributed systems that allow clients to train models on their data and only share models instead of local data. Generative Models are designed to learn the distribution of a dataset and generate new data samples that are similar to the original data. Many prior works have tried proposing Federated Generative Models. Using Federated Learning and Generative Models together can be susceptible to attacks, and designing the optimal architecture remains challenging. This survey covers the growing interest in the intersection of FL and Generative Models by comprehensively reviewing research conducted from 2019 to 2024. We systematically compare nearly 100 papers, focusing on their FL and Generative Model methods and privacy considerations. To make this field more accessible to newcomers, we highlight the state-of-the-art advancements and identify unresolved challenges, offering insights for future research in this evolving field.
[ -0.4368159770965576, -0.7252244353294373, 0.15737709403038025, 0.2285870611667633, 0.2408817559480667, 0.053216353058815, 0.1770308017730713, -0.914786159992218, -0.05054440721869469, 0.295432448387146, -0.7936035990715027, -0.2589957118034363, -0.33520787954330444, 0.3511768877506256, -0.7946411967277527, 0.8289491534233093, 0.10289068520069122, 0.17784421145915985, -0.5920001268386841, -0.1660887748003006, 0.02915683016180992, -0.5586240887641907, -0.28754565119743347, -0.3838898539543152, 0.3512440323829651, -0.10137124359607697, 0.6603856682777405, 0.06149721518158913, 0.9209516048431396, 0.34368571639060974, -0.061326559633016586, 0.08117176592350006, -0.6494637131690979, 0.36397191882133484, -0.21335357427597046, -0.39379677176475525, -0.4620462656021118, -0.010967652313411236, 0.4739767014980316, 1.0165921449661255, -0.3500562310218811, 0.11843279749155045, -0.3117738664150238, 0.9331197738647461, -0.8597205877304077, 0.2862171232700348, -0.23189370334148407, 0.555290699005127, -0.2345806360244751, 0.1629755049943924, -0.5644576549530029, -0.6429752707481384, 0.4534427523612976, -0.5794379115104675, 0.7311593294143677, -0.03606424480676651, 0.4601270854473114, -0.20778781175613403, -0.15121319890022278, -0.2303166389465332, -1.0193426609039307, 0.4890505075454712, 0.04287504032254219, 0.4733714461326599, -0.1403319388628006, 0.5546481609344482, -0.09877410531044006, -0.952399492263794, -0.17536771297454834, 0.18460708856582642, -0.14270469546318054, 0.10229872912168503, -0.7386343479156494, 0.07181117683649063, 0.0001259690907318145, 0.9229044914245605, -0.6108177304267883, 0.1144646480679512, -0.2570173442363739, 0.0763992965221405, 1.026541829109192, 0.056670479476451874, 0.23456989228725433, 0.08745294064283371, -0.8797215223312378, -0.28702425956726074, -0.6186047792434692, -0.2334604114294052, 0.30562567710876465, 0.19030769169330597, -0.1429266631603241, 0.30842241644859314, -0.5031143426895142, 0.6656627655029297, 0.12509140372276306, 0.11293995380401611, 0.22734831273555756, -0.18589892983436584, -0.5900936126708984, -0.4681934416294098, 0.965789258480072, 0.046190809458494186, -0.18461570143699646, -0.5455427169799805, -0.7069242000579834, -0.40640363097190857, 0.12968546152114868, -0.4096923768520355, -0.13329584896564484, 0.3211550712585449, -0.47831255197525024, -0.6577662229537964, 0.5731185078620911, -0.905404806137085, -0.4682646095752716, -0.0321425199508667, 0.20551051199436188, -0.1187364012002945, -0.8417369723320007, -0.043702736496925354, -0.189738467335701, -0.008204593323171139, 0.5003853440284729, -0.9547079205513, 0.30684694647789, 1.190652847290039, 0.9588969349861145, -0.007037327159196138, -0.18632185459136963, -0.18136315047740936, -0.22917544841766357, -0.3821336328983307, 0.5798156261444092, -0.1366112232208252, -0.5827128887176514, 0.47113245725631714, -0.12043247371912003, -0.18411630392074585, -0.3086601197719574, -0.05013003572821617, -0.9502623081207275, 0.399476557970047, -0.4118988811969757, -0.6957226991653442, -0.1455778032541275, 0.15661004185676575, -0.7689831256866455, 0.20153795182704926, 0.43611079454421997, -0.9275115132331848, 0.4672110378742218, -0.6374061107635498, -0.24628981947898865, 0.4093377888202667, -0.25961270928382874, -0.6430078744888306, 0.29692205786705017, 0.10801731795072556, 0.5907750725746155, -0.3141716718673706, 0.44164010882377625, -0.5478634238243103, -0.16379636526107788, 0.20227676630020142, -0.24393025040626526, 1.0405901670455933, 0.6999782919883728, -0.31080910563468933, 0.2747592329978943, -0.5383467674255371, -0.10605815798044205, 0.33558768033981323, 0.11019164323806763, -0.15070423483848572, -0.08369337022304535, 0.07527165859937668, -0.15846635401248932, 0.1331183910369873, -0.4804084897041321, 0.01799924671649933, -0.3819825053215027, 0.5607761144638062, 0.8027041554450989, 0.1555994600057602, 0.6741649508476257, -0.7115898728370667, 0.7766551971435547, 0.02581409364938736, 0.7365986108779907, -0.07401560992002487, -0.22365055978298187, -0.4226260185241699, -0.16261787712574005, 0.09964315593242645, 0.007915394380688667, -0.743705689907074, 0.18360063433647156, -0.312195748090744, -0.6606465578079224, -0.2818829119205475, -0.23608243465423584, 0.22939005494117737, 0.062154293060302734, 0.10560479760169983, -0.12463628500699997, -0.18847864866256714, -0.5016950368881226, 0.12770220637321472, -0.1451791524887085, 0.023790743201971054, 0.44655588269233704, 0.3838557302951813, -0.398380845785141, 1.0005309581756592, -0.454218327999115, -0.37330496311187744, -0.189217671751976, 0.08330884575843811, -0.43536078929901123, 0.27753138542175293, 0.7986963391304016, -0.9823498129844666, -0.42423638701438904, 0.17483989894390106, -1.0319781303405762, 0.5130933523178101, 0.04905391111969948, 0.07086178660392761, 0.10404730588197708, -0.0013088276609778404, -0.5714586973190308, 0.1358821541070938, 0.4740246534347534, -0.07842672616243362, 0.46049949526786804, -0.06423473358154297, 0.1659725159406662, -0.7764559388160706, 0.1370939016342163, -0.27909111976623535, -0.07768741250038147, -0.8580185770988464, 0.7697672843933105, -0.05836618319153786, -0.5284077525138855, -0.14497175812721252, 0.10900577902793884, -0.7575318813323975, -0.30323538184165955, -0.08076181262731552, -0.3064376711845398, -0.21662107110023499, -0.030990304425358772, -0.03823552280664444, 0.7136836051940918, 0.9127771258354187, -0.22946149110794067, 0.6659311056137085, 0.40152889490127563, -0.4227423369884491, 0.4635869562625885, -0.422225683927536, 0.26269102096557617, -0.2572271227836609, 0.4733332097530365, -0.49517571926116943, -0.6193985939025879, 0.180494487285614, -0.2984565496444702, 0.1316174417734146, 0.2379751056432724, -0.5039790868759155, -0.4299636483192444, -0.0649421215057373, 0.2572619318962097, 0.3617713153362274, -0.8606428503990173, 0.46934622526168823, 0.2986429035663605, 0.23143218457698822, -0.5987580418586731, -0.6129222512245178, -0.2698562443256378, 0.03652484714984894, -0.8277279734611511, 0.0694441869854927, 0.35237398743629456, -0.5068789720535278, -0.09733466804027557, -0.11786984652280807, -0.1392962634563446, 0.3107442855834961, 0.43805304169654846, -0.2122044563293457, -0.31656768918037415, 0.11069346964359283, -0.28823333978652954, 0.16199451684951782, 0.20425936579704285, -0.17908726632595062, 0.43760842084884644, -0.16752345860004425, -0.4699454605579376, -0.321042001247406, 0.652411699295044, 0.5059531331062317, -0.514337956905365, 0.7705053091049194, 0.5228062868118286, -0.23106800019741058, -0.6311487555503845, -0.4146815538406372, -0.3630576431751251, -0.48815008997917175, -0.1412270963191986, -0.2511531710624695, -1.0146645307540894, 0.4243679642677307, -0.03560063615441322, 0.49197688698768616, 0.21764199435710907, 0.30524688959121704, -0.1527153104543686, 0.44945013523101807, 1.1303623914718628, -0.0003086554352194071, 0.6579818725585938, -0.4322147071361542, 0.44394969940185547, -0.12732072174549103, -0.4383224844932556, -0.24302233755588531, -0.17929863929748535, -0.6483128070831299, -0.194414421916008, 0.23161299526691437, -0.17373067140579224, 0.13065025210380554, 0.04234609007835388, -0.4829829931259155, 0.15896348655223846, 0.46056461334228516, 0.16433818638324738, 0.29526662826538086, 0.17228035628795624, 0.028107699006795883, 0.48182398080825806, -0.6130219101905823, 0.11466971039772034, 1.1534072160720825, 0.441577672958374, 0.8357049822807312, 0.29298311471939087, 1.1040862798690796, 0.3876705467700958, 0.6887350678443909, -0.2782568335533142, 0.2677890658378601, 0.1380607783794403, -0.8950284719467163, -0.2222621887922287, -0.7844071388244629, -0.8514149188995361, 0.3390290439128876, -0.10582484304904938, -0.27788448333740234, 0.7321712374687195, 0.007737670559436083, -0.33567240834236145, 0.5390918254852295, -0.5466276407241821, 0.37336915731430054, -0.01750701293349266, -0.23536410927772522, -0.11948098987340927, -0.6498135328292847, 0.799274742603302, 0.08699683099985123, 0.16178949177265167, 0.13777600228786469, 0.5588294863700867, 0.5391703844070435, -0.6177365779876709, 0.7010310888290405, -0.2679956257343292, -0.04045436158776283, 0.2834821939468384, -0.2125430703163147, 0.19376565515995026, 0.08898109942674637, -0.014802047982811928, 0.24990278482437134, 0.02401828020811081, -0.2991071343421936, -0.3506096601486206, 0.6576686501502991, -0.8604907393455505, -0.6083254218101501, -0.8958857655525208, -0.20169611275196075, -0.20101842284202576, 0.2079433798789978, 0.3499540686607361, 0.17351040244102478, -0.6106298565864563, 0.32298994064331055, 0.7420650124549866, 0.20413918793201447, 0.39306920766830444, 0.5302521586418152, -0.31115275621414185, -0.5906493663787842, 0.6199010610580444, 0.02964671328663826, 0.4280926287174225, 0.5102171301841736, 0.03287801146507263, 0.00121009792201221, -0.42219844460487366, -0.07582411915063858, 0.12996427714824677, -0.6014242768287659, -0.3214738667011261, -0.6067476272583008, -0.5275287628173828, -0.5916233062744141, -0.24673530459403992, -0.42403480410575867, -0.07853525876998901, -0.5402892827987671, -0.3069632947444916, 0.3558385670185089, 0.9438291788101196, -0.15024487674236298, 0.20587624609470367, -0.4475962221622467, 0.003546458203345537, 0.21558263897895813, 0.5471423864364624, 0.3934584856033325, 0.41220346093177795, 0.09568632394075394, 0.09359420090913773, -0.32090890407562256, -0.8907755017280579, 0.10919035971164703, 0.15460701286792755, 0.33804619312286377, 0.9532140493392944, 0.4344761073589325, 0.5361219048500061, -0.30952340364456177, 0.5741152167320251, 0.4443122446537018, -0.4881814122200012, 0.500163197517395, -0.2868189215660095, -0.07621067762374878, 0.45035040378570557, 0.5987580418586731, -0.2799503803253174, -0.1324089914560318, -0.8613019585609436, -0.38178297877311707, 0.4749792516231537, 0.12031075358390808, 0.11426954716444016, 0.18921968340873718, 0.167291060090065, 0.33819422125816345, 0.30339503288269043, -0.588317334651947, -0.42931368947029114, -0.06987040489912033, 0.12697148323059082, 0.06736601889133453, -0.0609884113073349, -0.49755197763442993, -0.020660776644945145, 0.13843446969985962, 0.07644249498844147, 0.47392943501472473, 0.15373718738555908, 0.11334456503391266, -0.5031066536903381, 0.1377107948064804, 0.20828679203987122, 0.6564531326293945, -0.14116430282592773, -0.21677806973457336, -0.4390904903411865, -0.37717851996421814, 0.29653921723365784, 0.3282414972782135, -0.7480394244194031, 0.10142010450363159, 0.45716699957847595, 0.8299638628959656, 0.30533337593078613, -0.42904505133628845, 0.8428155779838562, -0.06631840020418167, -0.7743036150932312, -0.4989842474460602, 0.3122599124908447, -0.257637619972229, 0.21087779104709625, 0.12918490171432495, 0.3695368766784668, 0.10484334081411362, -0.5545235276222229, 0.28163251280784607, 0.6573694944381714, -0.23722346127033234, -0.5356884002685547, 0.6961418390274048, 0.3500080704689026, -0.17022857069969177, 0.648915708065033, 0.09525622427463531, -0.24392051994800568, 0.21945838630199432, 0.25889357924461365, 0.9903556704521179, -0.30090785026550293, 0.6406545639038086, 0.06970066577196121, 0.12867775559425354, -0.2713572084903717, 0.3066859543323517, -0.754632830619812, -0.6151646375656128, 0.4556015729904175, -0.7264043092727661, -0.6275708675384521, -0.006943202577531338, -1.0538818836212158, -0.22564904391765594, -0.6944051384925842, -0.2484264373779297, -0.07816259562969208, 0.1854734569787979, -0.7665035128593445, -0.07190220803022385, -0.10134167969226837, 0.919668436050415, -1.004193902015686, 0.5315275192260742, 0.5975516438484192, -0.6500977277755737, -0.2827615737915039, -0.12377423048019409, 0.06341473758220673, -0.4503724277019501, 0.2927539050579071, 0.03463970124721527, 0.21293587982654572, -0.0940292477607727, -0.39260944724082947, -0.7657228708267212, 1.4099993705749512, -0.041007015854120255, -0.6464995741844177, -0.2720527648925781, 0.4104556441307068, 0.6160529851913452, -0.12021142989397049, 0.0029244648758322, 0.2655337154865265, 0.023829078301787376, 0.1874333769083023, -0.4565272629261017, -0.3727041184902191, 0.08723054081201553, -0.07196991890668869, -0.05832614749670029, -1.0334582328796387, 0.941267728805542, -0.24841974675655365, -0.8118429183959961, -0.04777897894382477, 1.0075552463531494, 0.0812034010887146, 0.6215687990188599, 0.4559134542942047, 0.5023306012153625, 0.7946842908859253, -0.20186220109462738, 0.8945203423500061, 0.008304374292492867, 0.6548105478286743, 0.8713369965553284, -0.4764174520969391, 0.7723090648651123, 0.20984691381454468, -0.42879554629325867, 0.22052712738513947, 0.6818718314170837, -0.22962291538715363, 0.647341251373291, 0.044822681695222855, -0.6283359527587891, 0.13628605008125305, 0.3087872862815857, -0.5306289196014404, 0.20829467475414276, 0.15612006187438965, -0.5368058681488037, -0.5278748273849487, 0.35966581106185913, -0.24507761001586914, 0.07001369446516037, 0.022746354341506958, 1.2167694568634033, 0.0905468761920929, -0.4117577373981476, 0.2264513522386551, 0.054059505462646484, 0.5151600241661072, -0.5661516189575195, 0.39319756627082825, -0.766053318977356, 0.1310071051120758, -0.36669448018074036, -0.34957218170166016, 0.3004498779773712, 0.2357615977525711, -0.22015467286109924, -0.5870473384857178, 0.3948863446712494, -0.1354219764471054, -0.2777843177318573, 0.39160650968551636, 0.5325559377670288, -0.31869134306907654, 0.1880766600370407, -0.6109941601753235, 0.16383549571037292, -0.18914894759655, -0.0907871350646019, 0.4774891138076782, 0.2591404616832733, 0.16205786168575287, 0.8389140963554382, 0.6151201725006104, -0.055797334760427475, 0.20714804530143738, 0.10584134608507156, 0.8025695085525513, -0.1262049823999405, -0.6736000776290894, -0.4140366315841675, 0.04370957240462303, -0.17275470495224, -0.27128762006759644, 0.7278341054916382, 0.35465753078460693, 1.091822624206543, -0.2712468206882477, 0.708615243434906, -0.14403289556503296, 0.28106385469436646, -0.13560959696769714, 1.1437089443206787, -0.5808796882629395, -0.002421594923362136, -0.040746476501226425, -0.5572828054428101, -0.1696850210428238, 0.4904223084449768, -0.23996926844120026, -0.13840532302856445, 0.25163209438323975, 0.5799574851989746, -0.14001771807670593, 0.7210365533828735, 0.24586808681488037, -0.11259667575359344, 0.628136932849884, 0.3671814501285553, 0.6331139206886292, -0.45022550225257874, -0.2401195466518402, -0.8510698676109314, -0.3066747784614563, -0.4546137750148773, -0.34347981214523315, -0.6440836191177368, -0.8191936016082764, -0.3982812166213989, 0.2584001421928406, 0.15246276557445526, 0.5804547071456909, 0.8316203951835632, -1.02690851688385, -0.0074745179153978825, -0.6983247995376587, 0.2804524004459381, -0.6027700901031494, -0.25861015915870667, 0.22471651434898376, -0.3779495358467102, -0.41076675057411194, 0.31982988119125366, 0.08971647173166275, 0.24149379134178162, -0.7882387638092041, 0.21551309525966644, -0.01271048840135336, -0.21701084077358246, 0.4252920150756836, 0.3507708013057709, -0.7250837087631226, 0.06600575894117355, -0.1005924791097641, -0.2753596007823944, -0.27887454628944397, 0.8473256230354309, -0.2787783741950989, 0.7638809084892273, 0.8133147954940796, 0.679679811000824, 0.1870546191930771, 0.30637842416763306, 0.6520131826400757, -0.6443600058555603, 0.009611876681447029, 0.38216039538383484, 0.33000680804252625, 0.32713836431503296, -0.5378403663635254, 0.5242595672607422, 0.3108817934989929, -0.6123220324516296, -1.2456426620483398, 0.2048846036195755, -0.5703280568122864, -0.18235884606838226, 0.5273125767707825, -0.4611595571041107, -0.07911040633916855, 0.3374364376068115, 0.7221723794937134, -0.12818953394889832, 0.08374833315610886, 0.779962420463562, 0.5477561354637146, -0.14823253452777863, -0.28174057602882385, -0.23415803909301758, 0.6620384454727173, -0.01578281633555889, -0.8190984725952148, 0.23519030213356018, 0.603105366230011, 0.288467139005661, 0.07195482403039932, 0.5320627093315125, -0.17647188901901245, 0.3952297866344452, 0.20871613919734955, -0.10613354295492172, -0.13821221888065338, -0.6728716492652893, -0.6360905170440674, 0.6802340149879456, -0.1878558248281479, -0.06267102807760239 ]
http://arxiv.org/abs/2405.16681v1
http://arxiv.org/pdf/2405.16681v1
Triple Preference Optimization: Achieving Better Alignment with Less Data in a Single Step Optimization
2024-05-26T20:18:11
2024-05-26T20:18:11
Amir Saeidi, Shivanshu Verma, Aswin RRV, Chitta Baral
cs.CL
cs.CL
Large Language Models (LLMs) perform well across diverse tasks, but aligning them with human demonstrations is challenging. Recently, Reinforcement Learning (RL)-free methods like Direct Preference Optimization (DPO) have emerged, offering improved stability and scalability while retaining competitive performance relative to RL-based methods. However, while RL-free methods deliver satisfactory performance, they require significant data to develop a robust Supervised Fine-Tuned (SFT) model and an additional step to fine-tune this model on a preference dataset, which constrains their utility and scalability. In this paper, we introduce Triple Preference Optimization (TPO), a new preference learning method designed to align an LLM with three preferences without requiring a separate SFT step and using considerably less data. Through a combination of practical experiments and theoretical analysis, we show the efficacy of TPO as a single-step alignment strategy. Specifically, we fine-tuned the Phi-2 (2.7B) and Mistral (7B) models using TPO directly on the UltraFeedback dataset, achieving superior results compared to models aligned through other methods such as SFT, DPO, KTO, IPO, CPO, and ORPO. Moreover, the performance of TPO without the SFT component led to notable improvements in the MT-Bench score, with increases of +1.27 and +0.63 over SFT and DPO, respectively. Additionally, TPO showed higher average accuracy, surpassing DPO and SFT by 4.2% and 4.97% on the Open LLM Leaderboard benchmarks. Our code is publicly available at https://github.com/sahsaeedi/triple-preference-optimization .
[ -0.2390970140695572, -0.43366146087646484, 0.5323854088783264, 0.16355106234550476, -0.4019576609134674, 0.07904825359582901, -0.34300974011421204, -0.2141590714454651, -0.053707871586084366, 0.596217691898346, -0.6063416004180908, -0.5656529664993286, -0.44371891021728516, -0.12188635021448135, 0.2769491374492645, 0.8136850595474243, -0.29760730266571045, -0.0038107053842395544, 0.12194052338600159, -0.0437370166182518, -0.4098820090293884, -0.1715698093175888, -0.71715247631073, -0.547575056552887, 0.39293697476387024, 0.9717841744422913, 0.6123366355895996, 1.044446349143982, 0.23611414432525635, 0.1527668535709381, 0.07595549523830414, 0.4773019552230835, -0.5668411254882812, -0.0011837248457595706, 0.10683941841125488, -0.1962803602218628, -0.4752945899963379, 0.08423279225826263, 0.5026038885116577, 0.44515109062194824, -0.12435317784547806, 0.02000078745186329, 0.23119133710861206, 1.118898868560791, -0.6880122423171997, 0.13877616822719574, -0.4693940281867981, 0.33391278982162476, -0.121975377202034, -0.3945031464099884, -0.4177871346473694, -0.8057664036750793, 0.2773265242576599, -0.8808510899543762, 0.021272191777825356, 0.2266901135444641, 0.8595256209373474, 0.5263985991477966, -0.4436330497264862, 0.26574957370758057, -0.6255059242248535, 1.0700600147247314, -0.5409033894538879, 0.2618536949157715, 0.2743154764175415, 0.19727760553359985, -0.10668465495109558, 0.020344752818346024, -0.44542357325553894, -0.17097881436347961, 0.19588057696819305, -0.03109610639512539, 0.023987317457795143, 0.21874235570430756, -0.007400715257972479, 0.2568103075027466, -0.41077089309692383, 0.4500371515750885, -0.004950521048158407, -0.0754828229546547, 0.4775547683238983, -0.015471883118152618, -0.06719257682561874, -0.025904295966029167, -0.5437749028205872, -0.20330838859081268, -0.5276445746421814, 0.15111282467842102, 0.4156501293182373, 0.6323193907737732, -0.04564150795340538, 0.547848641872406, -0.19196879863739014, 0.7846806049346924, 0.46685224771499634, -0.43849727511405945, 0.3823530375957489, -0.10499411076307297, -0.0637977346777916, 0.10613333433866501, 0.957809567451477, 0.5917951464653015, 0.35425716638565063, -0.027968350797891617, -0.06231330335140228, -0.1706930249929428, 0.13097207248210907, -0.6331484913825989, 0.1046413853764534, 0.29976505041122437, -0.30805104970932007, -0.7447236776351929, -0.09634722024202347, -0.6943607330322266, -0.38952893018722534, -0.5086983442306519, 0.42130953073501587, -0.42239153385162354, -0.26251232624053955, 0.36988264322280884, 0.15988369286060333, 0.2843034565448761, 0.24802501499652863, -1.4071763753890991, 0.3369767963886261, 0.9258138537406921, 0.8352776169776917, -0.5835906267166138, -0.41067326068878174, -0.8313593864440918, 0.29408103227615356, -0.5591777563095093, 0.5644954442977905, -0.30144649744033813, -0.18694084882736206, -0.06622928380966187, -0.36773669719696045, -0.04163879528641701, -0.3000296354293823, 0.6980853080749512, -0.5326864123344421, 0.23984163999557495, -0.0945897102355957, -0.5017698407173157, -0.10448183864355087, 0.2535611391067505, -0.6397103667259216, 1.1073929071426392, -0.10788930952548981, -0.6118195652961731, 0.6315109133720398, -0.754108726978302, -0.33473455905914307, -0.30859246850013733, -0.15350401401519775, -0.5482200980186462, 0.009508518502116203, 0.47899892926216125, 0.554747462272644, -0.013894827105104923, 0.23049777746200562, -0.738001823425293, -0.5354874134063721, -0.12630286812782288, -0.08708523958921432, 0.5604720115661621, -0.1688109040260315, -0.44186004996299744, 0.3649151623249054, -0.6988430023193359, 0.09105826914310455, 0.05252289026975632, -0.3049663305282593, -0.19170843064785004, 0.028744392096996307, -0.3346378207206726, 0.28947949409484863, 0.2627943754196167, -0.6612435579299927, 0.5401968955993652, -0.6185035109519958, 0.28085601329803467, 1.1174861192703247, -0.13609196245670319, 0.6021446585655212, -0.30693066120147705, 0.35835084319114685, -0.29860273003578186, 0.4045649766921997, 0.6666902899742126, -0.21789896488189697, -0.6680072546005249, -0.18272310495376587, 0.1806088387966156, 0.4095754325389862, -0.5159122943878174, 0.4818517565727234, -0.4412406384944916, -0.18689867854118347, -0.5968440771102905, 0.22056250274181366, 0.4017079770565033, 0.8664286136627197, 0.4924818277359009, 0.24524658918380737, -0.4416697919368744, -1.1388263702392578, -0.22181180119514465, -0.08752918988466263, -0.003416977124288678, 0.3217925727367401, 0.13921140134334564, 0.05362142249941826, 0.8651020526885986, -0.7123281955718994, -0.2709563076496124, -0.09089453518390656, -0.006686189211905003, 0.1328401267528534, 0.378689706325531, 0.36019623279571533, -0.6505167484283447, -0.6726331114768982, 0.22515027225017548, -0.2830067574977875, -0.049518924206495285, 0.31542226672172546, -0.27164217829704285, 0.4881290793418884, -0.03138207271695137, -0.14729207754135132, 0.055265724658966064, 0.6335960030555725, 0.04998964071273804, 0.2742287516593933, -0.11687032133340836, 0.15138034522533417, -1.069510579109192, -0.08309910446405411, 0.060539305210113525, -0.12379613518714905, -0.4950261116027832, -0.2750209867954254, 0.42738741636276245, -0.023732872679829597, -0.49666115641593933, 0.6761962175369263, -0.19544275104999542, 0.000023902568500488997, -0.2788022458553314, 0.11383882164955139, 0.025706453248858452, 0.8564085364341736, 0.3685985803604126, 0.7358758449554443, 0.47439971566200256, -0.7278304100036621, 0.031147805973887444, 0.2509792447090149, -0.07677576690912247, 0.2568931579589844, -0.3129905164241791, 0.36961114406585693, 0.14288358390331268, 0.01904829405248165, -0.8263530135154724, -0.26762625575065613, 0.3271898329257965, -0.20786939561367035, 0.4367321729660034, -0.293078750371933, -0.34417930245399475, -0.3026203513145447, -0.7711511254310608, 0.34562548995018005, 0.2296498566865921, -0.9621736407279968, 0.3900544047355652, 0.2010209858417511, 0.12097396701574326, -1.08954656124115, -0.37847664952278137, -0.394686758518219, -0.24677938222885132, -0.5148749351501465, 0.5270889401435852, -0.08298582583665848, 0.1718597412109375, -0.4165593683719635, -0.5274624228477478, 0.1270218938589096, 0.09420466423034668, 0.07922228425741196, 0.5615010857582092, 0.1170254796743393, 0.22619515657424927, 0.1272912323474884, -0.45907172560691833, -0.43004682660102844, -0.5504529476165771, 0.49794480204582214, -0.22831709682941437, -0.07998641580343246, -0.6818063855171204, 0.1554170548915863, 0.49016353487968445, -0.0328267440199852, 0.43154793977737427, 0.45868247747421265, -0.11308017373085022, -0.1337060034275055, -0.5757086277008057, 0.12836965918540955, -0.4738180339336395, -0.04167480394244194, -0.4012290835380554, -1.0578614473342896, -0.1838557869195938, 0.12665997445583344, 0.2188534140586853, 0.22334378957748413, 0.32036346197128296, 0.08875840157270432, 1.251767873764038, 0.6810804605484009, -0.2302488386631012, 0.6358890533447266, 0.05519471317529678, 0.15008527040481567, -0.7953119874000549, -0.1361505538225174, -0.47828221321105957, -0.2538289725780487, -0.6879143714904785, -0.20662760734558105, 0.3791799247264862, 0.11774464696645737, -0.5951687693595886, 0.2286245971918106, -0.5843563079833984, 0.555766761302948, 0.6457090377807617, 0.3524147570133209, 0.3973280191421509, 0.161581888794899, -0.2978169918060303, -0.09817351400852203, -0.3907622992992401, -0.6264961361885071, 1.3800058364868164, 0.23382054269313812, 0.642391562461853, 0.10216619074344635, 0.9669812917709351, 0.07633374631404877, -0.007499205879867077, -1.0627944469451904, 0.39069291949272156, -0.26408806443214417, -0.23191142082214355, -0.35160768032073975, -0.42891743779182434, -0.6179634928703308, 0.2718351483345032, -0.3220643997192383, -0.790212869644165, 0.15145784616470337, 0.49055761098861694, -0.7484433054924011, 0.2793106734752655, -0.6912105083465576, 0.6793056726455688, -0.48915842175483704, -0.6925593018531799, -0.12414898723363876, -0.6070750951766968, 0.36473533511161804, -0.1159990131855011, -0.1335425227880478, -0.3167485296726227, -0.4637143611907959, 0.6747971773147583, -0.20645587146282196, 0.40881654620170593, -0.11226020753383636, -0.10877488553524017, -0.39252251386642456, -0.0780293270945549, 0.5603540539741516, -0.03813372179865837, -0.39528658986091614, -0.04788408800959587, -0.14720650017261505, -0.5397248864173889, -0.5375946760177612, 0.8682755827903748, -0.9935975670814514, -0.6240023374557495, -0.25367242097854614, -0.3379320800304413, -0.7226967811584473, 0.4654507040977478, 0.05907862260937691, 0.20295284688472748, -0.1121562048792839, 0.11294298619031906, 0.7318816781044006, 0.06361200660467148, 0.4782625734806061, 0.556753933429718, -0.24683231115341187, -0.6491844058036804, 0.8149617314338684, -0.33577921986579895, 0.3606218993663788, 0.7425395250320435, 0.6729964017868042, -0.40018388628959656, -0.6670156717300415, -0.4288254380226135, 0.20537596940994263, -0.2682958245277405, -0.1400660276412964, -0.6099112033843994, 0.35407283902168274, -0.5019688606262207, -0.30014827847480774, -0.6050833463668823, -0.5259057283401489, -0.3814006745815277, -0.13519719243049622, 0.11264519393444061, 0.4635775089263916, -0.10570140928030014, 0.24419717490673065, -0.4874165654182434, 0.5588154196739197, 0.5189806222915649, 0.6660366058349609, -0.22295227646827698, -0.2435425966978073, -0.0635245069861412, -0.06947051733732224, -0.41861897706985474, -0.5864821076393127, 0.24838314950466156, -0.05311122164130211, 0.2883138954639435, 0.7265326976776123, -0.003907774109393358, 0.758537769317627, -0.33314013481140137, 0.5142754316329956, 0.13771440088748932, -0.9981027245521545, 0.7695888876914978, -0.4760185778141022, 0.05097318813204765, 0.9396187663078308, 0.4235541522502899, -0.1705782264471054, 0.23659701645374298, -0.3973155915737152, -0.5333163142204285, 1.0659496784210205, -0.07547256350517273, -0.2112971544265747, 0.2351042628288269, 0.30740049481391907, 0.28377223014831543, 0.26472967863082886, -0.7446097731590271, -0.2847317159175873, -0.09926305711269379, -0.025694971904158592, -0.03354407101869583, -0.2454468458890915, -0.22783876955509186, -0.2205321192741394, 1.1141709089279175, -0.40917980670928955, -0.1631847620010376, -0.204023078083992, 0.22500571608543396, -0.3670734167098999, 0.3005567789077759, 0.6154481768608093, 0.36610448360443115, -0.6463439464569092, -0.3454543650150299, -0.22161057591438293, -0.12911157310009003, 0.31667500734329224, 0.24105660617351532, -0.15894880890846252, -0.4686806797981262, -0.07075128704309464, 1.009405493736267, 0.26491034030914307, -0.20233723521232605, 0.6434550285339355, -0.11913302540779114, -0.43436309695243835, 0.006955693010240793, 0.16560161113739014, -0.16020330786705017, 0.14891989529132843, 0.20188090205192566, 0.23292310535907745, -0.009752198122441769, -0.11798243224620819, -0.11280364543199539, 0.4516766369342804, -0.4726095497608185, 0.06883669644594193, 0.4317514896392822, 0.2685015797615051, -0.16383536159992218, 0.34431737661361694, 0.10929214954376221, -0.36719900369644165, 0.20461085438728333, 0.5259205102920532, 0.960252583026886, -0.1123809739947319, 0.3712965250015259, 0.3880182206630707, 0.1098499447107315, -0.4292450249195099, 0.08170711249113083, -0.2954363524913788, -1.056865930557251, -0.27180415391921997, -0.5333318114280701, -0.6036348938941956, 0.12701894342899323, -0.8424592018127441, 0.511873722076416, -0.5651099681854248, 0.018982291221618652, -0.046682726591825485, 0.4685060977935791, -0.43707194924354553, -0.10562495142221451, 0.16824927926063538, 0.6031742095947266, -0.7328570485115051, 0.9381095170974731, 0.5973409414291382, -0.11948049068450928, -0.9583808779716492, 0.26127928495407104, 0.23922330141067505, -0.9720938801765442, 0.2569710612297058, 0.2463560700416565, -0.49827975034713745, 0.11269248276948929, -0.4452502131462097, -1.0073554515838623, 1.0677698850631714, 0.526276707649231, -0.559194803237915, -0.058877136558294296, -0.0940454825758934, 0.3356728255748749, -0.4474155306816101, -0.0013653533533215523, 0.7202602028846741, 0.5264692902565002, 0.050786618143320084, -0.772259533405304, -0.010027033276855946, 0.0448513925075531, 0.10925444960594177, 0.4702484905719757, -0.9833599328994751, 0.36436811089515686, -0.3099730312824249, -0.0681576281785965, -0.08263853192329407, 0.46542325615882874, 0.6152486801147461, -0.023160124197602272, 0.5963037610054016, 0.5669345855712891, 0.8484281897544861, 0.002485583769157529, 0.9461543560028076, -0.1887776255607605, 0.4051918685436249, 1.2395734786987305, -0.3862789571285248, 0.825931191444397, 0.7934834361076355, -0.004280520603060722, 0.30598050355911255, 0.812350332736969, 0.1782788783311844, 0.6208478212356567, -0.0014106486923992634, -0.14019525051116943, -0.4999251365661621, -0.07194653898477554, -0.23602810502052307, 0.4365287721157074, 0.06489022821187973, -0.13288605213165283, 0.055989090353250504, -0.12169509381055832, 0.08919194340705872, 0.0995015949010849, -0.14134438335895538, 0.8004100322723389, -0.28228622674942017, -0.8907468318939209, 0.7121499180793762, -0.18966144323349, 0.7529721856117249, -0.5526905059814453, 0.041336432099342346, -0.2693822383880615, 0.2568025588989258, -0.25345921516418457, -0.573469340801239, -0.18043318390846252, -0.13778257369995117, -0.22615459561347961, -0.4283314049243927, 0.35346394777297974, -0.35877469182014465, -0.22730326652526855, 0.35993173718452454, 0.14577867090702057, -0.31474748253822327, 0.08816884458065033, -0.6432084441184998, 0.07927918434143066, 0.3385389745235443, -0.32372185587882996, 0.23969951272010803, -0.002413076814264059, 0.06203792616724968, 0.7432294487953186, 0.43651634454727173, 0.07028521597385406, -0.37067466974258423, 0.13111159205436707, 0.6306621432304382, -0.5667660236358643, -0.4384405314922333, -0.8723067045211792, 0.21012263000011444, -0.170357808470726, -0.4008534848690033, 0.4309195280075073, 0.6891303062438965, 0.8538153767585754, 0.04882782697677612, 0.7397372126579285, 0.3025020956993103, 0.7009572982788086, -0.6659514307975769, 0.16414286196231842, -0.7779355645179749, 0.29234468936920166, -0.42199233174324036, -0.888152003288269, -0.4766866862773895, 0.3537571430206299, -0.49402299523353577, -0.1857832819223404, 0.7087532877922058, 0.8074551820755005, -0.17702186107635498, 0.1698034703731537, 0.2144552320241928, -0.18836979568004608, 0.16658015549182892, 0.7032938599586487, 0.528963029384613, -0.2759074866771698, 0.655109703540802, -0.5984779000282288, -0.42215871810913086, -0.2505606412887573, -1.0335105657577515, -0.7418727874755859, -0.2802622616291046, -0.2503299117088318, -0.24002905189990997, 0.05894127115607262, 1.3330793380737305, 0.7314307689666748, -0.7339726686477661, -0.2847810685634613, -0.05161496251821518, 0.2505672574043274, -0.37426722049713135, -0.21983563899993896, 0.4871212840080261, -0.301595538854599, -0.84787917137146, 0.5425677299499512, 0.38715630769729614, 0.09940238296985626, 0.12897925078868866, -0.22714881598949432, -0.18532273173332214, -0.2186345010995865, 0.4781873822212219, 0.3328811824321747, -0.8949388265609741, -0.44893914461135864, -0.04720156639814377, -0.12558473646640778, 0.3492298126220703, 0.6581621170043945, -0.5088715553283691, 0.5296355485916138, 0.35797378420829773, 0.6574428081512451, 0.6705269813537598, 0.2617732286453247, 0.8146109580993652, -0.6589854955673218, -0.1658393144607544, 0.20048591494560242, 0.20377393066883087, 0.2496286928653717, -0.4089277684688568, 0.531147301197052, -0.04768635705113411, -0.5603161454200745, -0.5242729187011719, 0.27733612060546875, -1.2056598663330078, -0.06347839534282684, 1.2020260095596313, 0.3285735845565796, 0.000870955060236156, 0.0835677906870842, -0.21777048707008362, 0.3723035156726837, -0.8898156881332397, 0.7516873478889465, 0.5450370907783508, -0.5448252558708191, -0.08007989078760147, -0.3776113986968994, 0.792479395866394, 0.6529858112335205, -0.5424963235855103, 0.10099995136260986, 0.613304615020752, 0.3333775997161865, -0.1825043112039566, 0.7625484466552734, -0.1186874583363533, 0.184900164604187, -0.6077351570129395, 0.14365990459918976, -0.2638755142688751, -0.2850087583065033, -0.6196447610855103, 0.32470789551734924, 0.1668395847082138, -0.5307378172874451 ]
http://arxiv.org/abs/2405.16677v1
http://arxiv.org/pdf/2405.16677v1
Crossmodal ASR Error Correction with Discrete Speech Units
2024-05-26T19:58:38
2024-05-26T19:58:38
Yuanchao Li, Pinzhen Chen, Peter Bell, Catherine Lai
eess.AS
eess.AS, cs.CL, cs.SD
ASR remains unsatisfactory in scenarios where the speaking style diverges from that used to train ASR systems, resulting in erroneous transcripts. To address this, ASR Error Correction (AEC), a post-ASR processing approach, is required. In this work, we tackle an understudied issue: the Low-Resource Out-of-Domain (LROOD) problem, by investigating crossmodal AEC on very limited downstream data with 1-best hypothesis transcription. We explore pre-training and fine-tuning strategies and uncover an ASR domain discrepancy phenomenon, shedding light on appropriate training schemes for LROOD data. Moreover, we propose the incorporation of discrete speech units to align with and enhance the word embeddings for improving AEC quality. Results from multiple corpora and several evaluation metrics demonstrate the feasibility and efficacy of our proposed AEC approach on LROOD data, as well as its generalizability and superiority on large-scale data. Finally, a study on speech emotion recognition confirms that our model produces ASR error-robust transcripts suitable for downstream applications.
[ -0.37022310495376587, -0.6062000393867493, 0.19328416883945465, -0.09821194410324097, -0.18417085707187653, 0.3914204239845276, -0.3170160949230194, -0.4092846214771271, 0.3071821630001068, 0.22020824253559113, -0.5647834539413452, -0.4179196357727051, -0.6949387192726135, 0.1479080617427826, -0.2691437602043152, 0.6829612255096436, -0.27481070160865784, 0.24577119946479797, -0.4423583447933197, -0.6256652474403381, -0.40630000829696655, -0.5279212594032288, -0.7327539324760437, -0.25540727376937866, 0.43720921874046326, 0.6991907358169556, 0.47056010365486145, 0.3333779275417328, 0.2897072434425354, 0.24816904962062836, 0.16484111547470093, 0.4435655176639557, -0.4749968945980072, -0.08114580810070038, -0.19688083231449127, -0.25444069504737854, -0.7133711576461792, -0.20462940633296967, 0.7627449035644531, 0.6562213897705078, -0.36276084184646606, 0.0011085054138675332, 0.09701911360025406, 0.47849202156066895, -0.658660352230072, 0.06628509610891342, -0.5265535712242126, -0.03811950609087944, -0.42340558767318726, -0.31131884455680847, -0.25919488072395325, -0.18224087357521057, -0.11017368733882904, -0.42011070251464844, 0.30403411388397217, 0.1253288984298706, 0.38597503304481506, 0.6587037444114685, -0.19382025301456451, -0.4110496938228607, -1.0082135200500488, 0.7254820466041565, -0.6966910362243652, 0.7686845064163208, 0.697235107421875, -0.015451543033123016, 0.15524184703826904, -0.6295480728149414, -0.6472232341766357, 0.2133052945137024, 0.08867008239030838, 0.11818965524435043, -0.6985001564025879, 0.19041277468204498, 0.22156016528606415, 0.14168483018875122, -0.3900119364261627, 0.25658759474754333, -0.3760526478290558, -0.18433286249637604, 0.6019593477249146, 0.024208547547459602, 0.15645955502986908, 0.1399480700492859, -0.11740738898515701, -0.2523793578147888, -0.7402116656303406, 0.2582831382751465, 0.3491189479827881, 0.30632540583610535, -0.13443294167518616, 0.530096173286438, -0.13418184220790863, 0.1827089935541153, 0.20342552661895752, 0.0605616457760334, 0.21413575112819672, -0.14802320301532745, -0.0527413971722126, 0.6561538577079773, 0.596670925617218, 0.0846889391541481, 0.03423894941806793, 0.048634421080350876, -0.3744443655014038, 0.3206453025341034, 0.49269458651542664, -0.5483667254447937, -0.04169560968875885, 0.31813520193099976, -0.248758926987648, 0.23621350526809692, -0.11514744907617569, -0.6233824491500854, -0.14514608681201935, -0.2512202560901642, 0.5420929789543152, -0.47777509689331055, -0.014208975248038769, -0.13436409831047058, 0.30829501152038574, -0.14229588210582733, 0.2640630304813385, -0.8275777101516724, 0.44197794795036316, 0.2755238711833954, 0.6964468955993652, -0.09896785020828247, -0.12668536603450775, -0.8593744039535522, -0.012441433034837246, -0.4013608992099762, 0.8531356453895569, -0.6128479242324829, -0.6936058402061462, -0.09621359407901764, -0.21952800452709198, -0.12518328428268433, -0.5809009075164795, 0.5246772170066833, -0.40046027302742004, -0.056410420686006546, -0.16002260148525238, -0.47053441405296326, 0.058188825845718384, -0.28267812728881836, -0.5596276521682739, 0.7970003485679626, 0.0808849036693573, -0.7016698718070984, 0.16210053861141205, -0.6314124464988708, -0.53095543384552, -0.08134957402944565, -0.49102842807769775, -0.30681103467941284, 0.2925594449043274, 0.32519611716270447, 0.070732481777668, -0.34190037846565247, 0.008253520354628563, -0.045857418328523636, -0.20352043211460114, 0.3519909679889679, -0.4145326316356659, 0.23408357799053192, 0.25746503472328186, -0.3639371991157532, 0.3247058689594269, -0.9161214232444763, 0.21111105382442474, -0.2929043769836426, -0.18331561982631683, -0.4605480432510376, 0.1203942596912384, -0.11325650662183762, -0.001609194092452526, -0.13686375319957733, -0.6718109250068665, -0.12481629103422165, -0.004116419702768326, 0.5625624060630798, 0.6099995374679565, -0.268255352973938, 0.5495941638946533, -0.18613137304782867, 0.6517829298973083, -0.06430817395448685, 0.05095040798187256, 0.18465955555438995, -0.28058719635009766, -0.6408674716949463, -0.32441118359565735, 0.3416518568992615, 0.4539014995098114, -1.0584815740585327, 0.23503342270851135, -0.30513516068458557, -0.3164277672767639, -0.9037869572639465, 0.036959774792194366, 0.5108005404472351, 0.44463643431663513, 0.703008770942688, -0.7188014984130859, -0.6548713445663452, -0.5143243670463562, -0.07542373985052109, -0.08964376896619797, -0.002165106125175953, 0.41940516233444214, 0.23885400593280792, -0.7489149570465088, 1.0857003927230835, -0.05433327332139015, -0.5020555257797241, -0.2667815685272217, 0.4472189247608185, -0.13314566016197205, 0.5050543546676636, -0.07362259924411774, -0.5194427967071533, -0.15794655680656433, 0.05436382070183754, -0.38813918828964233, -0.27216413617134094, -0.02938375622034073, 0.09304166585206985, 0.4037286937236786, 0.731660783290863, -0.5357845425605774, 0.5444227457046509, 0.7497793436050415, -0.12036636471748352, 0.1081962063908577, -0.35646626353263855, 0.23184369504451752, -0.6410258412361145, -0.03999852389097214, -0.26304712891578674, -0.08618056029081345, -0.7089911103248596, -0.5595666170120239, 0.03521397337317467, -0.045437637716531754, -0.37452688813209534, 0.29672229290008545, -0.4138438403606415, -0.26030874252319336, -0.29106056690216064, -0.023331601172685623, -0.09166828542947769, 0.3178955316543579, 0.15063758194446564, 0.6754591464996338, 0.284018874168396, -0.35820120573043823, 0.33004799485206604, 0.476046085357666, -0.18850257992744446, 0.5507094860076904, -0.5598996877670288, 0.46438202261924744, -0.3427373468875885, 0.5213903188705444, -0.9131223559379578, -0.34657734632492065, 0.1554388701915741, -0.47741565108299255, 0.44327861070632935, -0.07240582257509232, -0.15430691838264465, 0.061426710337400436, -0.10294388234615326, 0.9480471014976501, 0.6087422370910645, -0.45594608783721924, 0.8462803363800049, 0.4555688798427582, -0.420919269323349, -0.5776274800300598, -0.7238530516624451, -0.27893882989883423, 0.06855128705501556, -0.5295898914337158, 0.5529524683952332, 0.1017458438873291, -0.1805618554353714, 0.01904071867465973, -0.3042709529399872, 0.07217466831207275, -0.5733094811439514, 0.45387202501296997, -0.028668075799942017, -0.2142154574394226, -0.015739938244223595, 0.06007255241274834, 0.04476083070039749, 0.027174251154065132, 0.01705128140747547, 0.6072501540184021, -0.009196261875331402, -0.5977465510368347, -0.45474040508270264, 0.48094233870506287, 0.5953854918479919, -0.3024529218673706, 0.25461727380752563, 0.4924236834049225, -0.5547135472297668, -0.32300302386283875, -0.4188847839832306, -0.11440081149339676, -0.43345803022384644, 0.266973614692688, -0.10077697038650513, -0.692253828048706, 0.5750373005867004, 0.05980526655912399, -0.4118695557117462, 0.32980790734291077, 0.2547892928123474, -0.15687823295593262, 0.7467865943908691, 0.5989810228347778, 0.08471762388944626, 0.5240951776504517, -0.35119831562042236, 0.2610098123550415, -0.8021647334098816, -0.2740333676338196, -0.47035273909568787, -0.4044889211654663, -0.5342572331428528, -0.7363293170928955, 0.46424734592437744, 0.014039053581655025, -0.12385399639606476, 0.15278267860412598, 0.09551096707582474, 0.23092293739318848, 0.595608651638031, 0.20947229862213135, 0.26113030314445496, 0.1838177740573883, 0.11766193062067032, -0.1851835697889328, -1.0180857181549072, -0.14593595266342163, 0.668795645236969, 0.45317885279655457, 1.126253366470337, -0.024517985060811043, 0.6567631363868713, 0.3238163888454437, 0.24563148617744446, -0.7123205065727234, 0.18783071637153625, -0.47627919912338257, -0.2891842722892761, -0.4889923632144928, -0.5470568537712097, -0.5670208930969238, -0.07335521280765533, -0.2206200659275055, -0.4196217656135559, 0.7587221264839172, 0.34040340781211853, -0.8803004026412964, 0.28414294123649597, -0.5111033916473389, 0.8327252864837646, -0.4476708471775055, -0.3882227838039398, -0.44330263137817383, -0.7146613597869873, -0.10415562987327576, -0.21219059824943542, 0.3988644778728485, -0.04817655310034752, 0.08939622342586517, 0.728797972202301, -0.5117690563201904, 0.8526883125305176, -0.17335668206214905, -0.1269882619380951, 0.42283475399017334, -0.12840381264686584, 0.5641515254974365, -0.145629420876503, 0.19110658764839172, 0.45246195793151855, -0.22732007503509521, -0.21004024147987366, -0.5030163526535034, 0.3649621903896332, -0.9815042614936829, 0.00190576515160501, -0.3983515501022339, -0.430499792098999, -0.5408112406730652, -0.22635000944137573, 0.6940074563026428, 0.8047194480895996, -0.300689160823822, 0.24633651971817017, 0.7435657382011414, -0.4529222548007965, 0.38385656476020813, 0.41212138533592224, 0.18369317054748535, -0.5939188003540039, 0.9067543148994446, 0.3930082321166992, 0.33132651448249817, 0.28683027625083923, 0.00835021585226059, -0.5432931780815125, -0.5017004609107971, -0.453170508146286, 0.1252177208662033, -0.7108006477355957, -0.3634350597858429, -0.560782253742218, -0.22238817811012268, -0.46491867303848267, -0.12738199532032013, -0.8683263659477234, -0.09313748776912689, -0.4217820167541504, 0.1149725466966629, 0.48184463381767273, 0.5156498551368713, -0.35915109515190125, 0.5047074556350708, -0.9791825413703918, 0.4425959885120392, 0.20353281497955322, 0.34446391463279724, -0.25396135449409485, -0.8641180992126465, -0.18499769270420074, 0.3225683569908142, 0.11712443828582764, -0.35759761929512024, 0.5865944027900696, 0.6255968809127808, 0.3147509694099426, 0.364729106426239, 0.25252845883369446, 0.9118202328681946, -0.6660112142562866, 0.4494977593421936, 0.34353289008140564, -1.2329723834991455, 0.6145792603492737, -0.05066036805510521, 0.24525603652000427, 0.5768106579780579, 0.5629212260246277, -0.6685283780097961, -0.041538089513778687, -0.6519852876663208, -1.2254831790924072, 0.6612642407417297, 0.1687573790550232, -0.15310576558113098, 0.1278352588415146, -0.06072673946619034, 0.13758940994739532, 0.1951211392879486, -0.14339235424995422, 0.0029103790875524282, -0.33651742339134216, -0.27851200103759766, -0.42599084973335266, -0.17385193705558777, -0.3235061466693878, -0.1458536684513092, 0.644736647605896, -0.16269010305404663, 0.2750312089920044, 0.40702420473098755, -0.2051015943288803, -0.6755503416061401, 0.38221803307533264, 0.6778934597969055, 0.6313937306404114, -0.16416822373867035, 0.21401411294937134, 0.34537574648857117, -0.5316059589385986, 0.12906493246555328, 0.16964636743068695, 0.2257155179977417, 0.06871204078197479, 0.47040513157844543, 0.9463307857513428, 0.28971534967422485, -0.8193579316139221, 0.48129183053970337, -0.18212859332561493, 0.17511989176273346, -0.32662433385849, -0.2578878104686737, -0.2684714198112488, 0.45112016797065735, 0.44694042205810547, 0.3648760914802551, -0.029889339581131935, -0.6697837710380554, 0.2873002886772156, 0.3066725730895996, -0.32302552461624146, -0.37578752636909485, 0.7711696028709412, 0.43212229013442993, -0.22687652707099915, 0.5850310325622559, 0.07640300691127777, -0.34158405661582947, 0.26865509152412415, 0.36448562145233154, 0.815017819404602, -0.462885320186615, 0.08385877311229706, -0.07269427925348282, 0.16413339972496033, -0.2265346646308899, 0.32018789649009705, -0.028904318809509277, -0.9913788437843323, -0.5024610161781311, -0.565329372882843, -0.6959612965583801, -0.08962669968605042, -0.7875983119010925, 0.08630948513746262, -0.5509961843490601, -0.2543455958366394, -0.18441519141197205, -0.39407879114151, -0.6165645718574524, 0.3309459984302521, 0.3584040701389313, 0.44784849882125854, -0.7216116189956665, 1.1257623434066772, 0.6807284355163574, -0.2952061593532562, -0.9057022929191589, -0.09166158735752106, 0.027227837592363358, -0.6832408905029297, 0.6122534871101379, -0.17862410843372345, -0.6404093503952026, 0.05207972601056099, -0.3058578670024872, -0.924258828163147, 0.9733737111091614, 0.2408832609653473, -1.0160932540893555, 0.1794598549604416, 0.35578933358192444, 0.62795490026474, -0.45823994278907776, 0.005807167384773493, 0.6095749139785767, 0.0860426053404808, 0.07565698772668839, -1.106277346611023, -0.12365846335887909, -0.11718413978815079, -0.039671435952186584, 0.03310638293623924, -0.5360565185546875, 0.8066964149475098, -0.1970597505569458, -0.24508969485759735, -0.321056991815567, 0.771712601184845, 0.1059393659234047, 0.6780533790588379, 0.6014384031295776, 0.5612843036651611, 0.7919341921806335, 0.011164091527462006, 0.8195745348930359, -0.05148352310061455, 0.14977996051311493, 1.1436117887496948, -0.4615626335144043, 1.1367253065109253, 0.6650593280792236, -0.20380106568336487, 0.2072824090719223, 0.4880879521369934, 0.493653804063797, 0.7008585929870605, -0.03713282197713852, -0.4217412769794464, -0.07875718921422958, -0.2308749109506607, -0.3487062454223633, 0.6734411716461182, 0.40960025787353516, -0.09200357645750046, 0.12315990030765533, 0.3030148148536682, -0.2694436013698578, -0.00243968702852726, -0.6829742193222046, 0.5298138856887817, 0.23341986536979675, -0.21508163213729858, 0.6164836287498474, -0.1438816636800766, 0.8611860275268555, -0.5739759802818298, -0.0001452398719266057, -0.6022210121154785, 0.4259948432445526, -0.4213651418685913, -0.259767085313797, 0.40844064950942993, 0.2102462649345398, -0.16013996303081512, -0.4181564152240753, 0.6878922581672668, -0.8835561871528625, -0.19262854754924774, 0.34054288268089294, 0.48974624276161194, 0.025232654064893723, -0.19673237204551697, -0.12820199131965637, 0.478420615196228, -0.01931309513747692, 0.2472718209028244, 0.2158936858177185, 0.46018320322036743, -0.17705237865447998, 0.4059751033782959, 0.45077475905418396, 0.14219534397125244, 0.11023224890232086, 0.2589684724807739, 0.6983001828193665, -0.5243937969207764, -0.47657421231269836, -0.5767317414283752, 0.5709569454193115, 0.2706742286682129, -0.37209221720695496, 0.47000786662101746, 0.27068251371383667, 1.2039915323257446, -0.12047230452299118, 0.779000461101532, -0.08309668302536011, 0.5304867625236511, -0.6259186267852783, 0.5778194665908813, -0.4650464355945587, 0.2862459123134613, -0.20445115864276886, -0.7483640313148499, -0.11139517277479172, 0.7441467642784119, -0.1887487769126892, -0.06942136585712433, 0.6988459825515747, 0.7446079850196838, -0.15906378626823425, 0.1885536015033722, 0.3804073631763458, 0.25771674513816833, 0.06816518306732178, 0.327217698097229, 0.9092068076133728, -0.573843777179718, 0.43317747116088867, -0.23965057730674744, -0.15392370522022247, -0.272701621055603, -0.4914001226425171, -0.4191502630710602, -0.4989274740219116, -0.5263777375221252, -0.3935369551181793, 0.23858574032783508, 1.281495451927185, 0.5069050788879395, -1.0114654302597046, -0.27606523036956787, 0.10146071761846542, -0.17839942872524261, -0.09444625675678253, -0.08471570909023285, 0.11731845885515213, -0.0518665537238121, -0.6120380163192749, 0.7162209153175354, 0.0573994405567646, 0.08946377784013748, 0.09224992990493774, -0.342451274394989, 0.1045984998345375, 0.1189119964838028, 0.661072313785553, 0.4818936288356781, -0.5604754686355591, -0.4518696367740631, -0.14574719965457916, 0.00852866843342781, 0.21194849908351898, 1.2800060510635376, -0.49883222579956055, 0.3091113269329071, 0.3024730384349823, 0.7437723278999329, 0.4842446446418762, 0.2186816781759262, 0.5715514421463013, -1.0480834245681763, -0.01886732317507267, 0.4905616343021393, 0.35035228729248047, 0.44331857562065125, -0.18937641382217407, 0.32953834533691406, 0.1870032101869583, -0.5696455240249634, -0.8151445388793945, 0.08760534226894379, -1.0907292366027832, -0.07656262069940567, 1.0874743461608887, -0.035042837262153625, -0.0973481833934784, -0.00043685862328857183, -0.20990879833698273, 0.44323790073394775, -0.5259220004081726, 0.593112587928772, 0.495501309633255, -0.6367689967155457, -0.26897647976875305, -0.3984217047691345, 0.7343372106552124, 0.3942009508609772, -0.8407784700393677, 0.22645393013954163, 0.6640653610229492, 0.1346879005432129, 0.18331710994243622, 0.7822853326797485, 0.009702450595796108, 0.2116081267595291, 0.3057859241962433, 0.3625125586986542, 0.2660554349422455, -0.4285443425178528, -0.65059894323349, -0.09611503779888153, 0.0589229054749012, -0.35061851143836975 ]
http://arxiv.org/abs/2405.16669v1
http://arxiv.org/pdf/2405.16669v1
Low-resourced Languages and Online Knowledge Repositories: A Need-Finding Study
2024-05-26T19:20:26
2024-05-26T19:20:26
Hellina Hailu Nigatu, John Canny, Sarah E. Chasins
cs.HC
cs.HC, cs.CL
Online Knowledge Repositories (OKRs) like Wikipedia offer communities a way to share and preserve information about themselves and their ways of living. However, for communities with low-resourced languages -- including most African communities -- the quality and volume of content available are often inadequate. One reason for this lack of adequate content could be that many OKRs embody Western ways of knowledge preservation and sharing, requiring many low-resourced language communities to adapt to new interactions. To understand the challenges faced by low-resourced language contributors on the popular OKR Wikipedia, we conducted (1) a thematic analysis of Wikipedia forum discussions and (2) a contextual inquiry study with 14 novice contributors. We focused on three Ethiopian languages: Afan Oromo, Amharic, and Tigrinya. Our analysis revealed several recurring themes; for example, contributors struggle to find resources to corroborate their articles in low-resourced languages, and language technology support, like translation systems and spellcheck, result in several errors that waste contributors' time. We hope our study will support designers in making online knowledge repositories accessible to low-resourced language speakers.
[ -0.9551977515220642, -0.6598615646362305, 0.3812488615512848, -0.05967298150062561, -0.036350857466459274, -0.09862426668405533, -0.35429561138153076, -0.689469575881958, 0.503374457359314, 0.4075179994106293, -0.4377424418926239, 0.023120936006307602, -0.6786358952522278, 0.34335654973983765, -0.23631680011749268, 1.0617690086364746, -0.47551241517066956, -0.28182581067085266, -0.16658605635166168, -0.7998963594436646, -0.4712216556072235, -0.30825328826904297, -0.8546358346939087, -0.02296162210404873, 0.8279274106025696, 0.8406370282173157, 0.6339024901390076, 0.4257183372974396, 0.3106684684753418, 0.2315290868282318, -0.2898658514022827, 0.11811474710702896, -0.4549316167831421, 0.1537320464849472, -0.2592524588108063, -0.17722868919372559, 0.034467119723558426, -0.4566727578639984, 0.062141645699739456, 1.0399330854415894, -0.2818971574306488, 0.5485543012619019, 0.2356286644935608, 0.8265500664710999, -0.953909158706665, 0.06123761832714081, -0.22290171682834625, -0.19737988710403442, -0.5988979339599609, 0.25109565258026123, 0.1798124760389328, -0.49096134305000305, 0.13235944509506226, -0.6672253608703613, 0.3395727276802063, -0.17292065918445587, 0.4950714707374573, 0.15318036079406738, -0.3690374195575714, -0.6985280513763428, -0.6152219176292419, 0.48458632826805115, -0.4419591426849365, 0.35678938031196594, 0.5849030017852783, 0.05410384386777878, -0.004066378343850374, -0.5435629487037659, -0.8145127892494202, 0.21737846732139587, -0.2881878912448883, -0.4061286449432373, -0.058144740760326385, -0.2728153467178345, 0.24565519392490387, 0.4755464494228363, 0.01726439595222473, -0.058898378163576126, -0.3713368773460388, -0.32736000418663025, 0.24101218581199646, -0.05318466201424599, 0.576381504535675, -0.3830179274082184, 0.17812427878379822, 0.1109243631362915, -0.6581802368164062, 0.17064112424850464, 0.30593976378440857, 0.27969488501548767, -0.1703132688999176, 0.5388418436050415, -0.3404066264629364, 0.692040741443634, -0.1317630112171173, -0.13733720779418945, 0.08455009013414383, -0.32332858443260193, 0.45196643471717834, -0.06026368588209152, 0.5505088567733765, -0.07260150462388992, 0.14789265394210815, -0.011404674500226974, -0.2461732178926468, -0.44714418053627014, 0.16926848888397217, -0.6012000441551208, -0.2244880348443985, -0.05199557915329933, -0.70960932970047, 0.1495218575000763, -0.11622887849807739, -0.7586524486541748, -0.5357252359390259, 0.08698559552431107, 0.3981172740459442, -0.4346267879009247, -0.15443237125873566, -0.6029593348503113, -0.2701680064201355, -0.05182361602783203, 0.5849777460098267, -1.2155064344406128, 0.466046541929245, 0.253005713224411, 1.0712366104125977, 0.03630194440484047, -0.2396247684955597, 0.05031643435359001, 0.08183472603559494, -0.09949202835559845, 0.5284289717674255, -0.088935486972332, -0.40509554743766785, 0.23335906863212585, -0.11731812357902527, 0.31331050395965576, -0.329468697309494, 0.7099931240081787, -0.6812356114387512, -0.22219139337539673, -1.0616528987884521, -0.2954781949520111, -0.07972265779972076, 0.262470543384552, -0.907435417175293, 0.7142258286476135, 0.5205250382423401, -0.8883737325668335, 0.22277338802814484, -0.6666938662528992, -0.6697230935096741, 0.12142354995012283, -0.1967773139476776, 0.2320874035358429, 0.504756510257721, 0.13321161270141602, -0.01738840900361538, -0.48789721727371216, -0.4013745188713074, 0.015515606850385666, -0.05951879173517227, 0.3203175365924835, -0.20895357429981232, 1.0249494314193726, 0.4381077289581299, -0.49696674942970276, -0.645506739616394, -0.7461102604866028, -0.24152132868766785, 0.1616453230381012, -0.4244590103626251, -0.6471725702285767, 0.28357231616973877, 0.16405513882637024, 0.19474345445632935, 0.39214664697647095, -0.5778014063835144, 0.09156110882759094, -0.2955988347530365, 0.3842448592185974, 0.6177303791046143, 0.12526462972164154, 0.337537944316864, -0.30281612277030945, 0.2132321447134018, 0.012011012062430382, 0.09483182430267334, -0.020924851298332214, -0.5227331519126892, -1.3277699947357178, 0.3596378266811371, 0.23656406998634338, 0.23704609274864197, -1.004597783088684, -0.13051578402519226, -0.04875019192695618, -0.29605185985565186, -0.8218094110488892, 0.5129090547561646, 0.1549198031425476, 0.6599056124687195, 0.4807753264904022, -0.3728950619697571, -0.23039016127586365, -1.041800618171692, 0.1596933901309967, -0.22198458015918732, -0.22889678180217743, 0.496594101190567, 0.5140553116798401, -0.2984846830368042, 0.9091522693634033, -0.3401963412761688, -0.5381346344947815, -0.12936095893383026, 0.20303423702716827, -0.1135503500699997, 0.21098071336746216, 0.6040976047515869, -0.7182331681251526, -0.6402881145477295, 0.22023455798625946, -0.4746565520763397, -0.17783722281455994, 0.47204941511154175, 0.18615899980068207, 0.45995625853538513, 0.22353580594062805, -0.3752712309360504, 0.17309635877609253, 0.4654424488544464, 0.051542412489652634, -0.11180005967617035, -0.2637854814529419, 0.3322218060493469, -0.8630529046058655, 0.2609997093677521, -0.295928955078125, 0.3143267333507538, -0.5546908974647522, 0.2839532196521759, -0.04651501029729843, -0.2774571180343628, -0.23298265039920807, 0.5705952644348145, -0.6112167239189148, 0.09798567742109299, -0.30826762318611145, 0.37196895480155945, -0.2647935748100281, 0.061536382883787155, -0.028836607933044434, 0.7808861136436462, 0.0551675483584404, -0.6648592948913574, 0.22377315163612366, 0.49236559867858887, -0.6028103232383728, 0.7008885145187378, -0.40781480073928833, 0.2345862239599228, -0.10460023581981659, -0.11281566321849823, -0.6597548127174377, -0.5334587097167969, 0.27265894412994385, -0.2783730626106262, 0.25315579771995544, -0.13462093472480774, -0.3739006519317627, -0.1360192596912384, -0.053261540830135345, 0.5627525448799133, 0.2198488861322403, -0.3358531594276428, 0.3356803357601166, 0.888428270816803, -0.7309733629226685, -0.680203914642334, -0.7939915060997009, 0.08202915638685226, 0.18975819647312164, -0.7139341831207275, 0.10618395358324051, 0.009648939594626427, -0.48426368832588196, 0.42442211508750916, 0.05109967663884163, -0.34824657440185547, 0.3425206243991852, -0.08493036031723022, -0.32934945821762085, -0.3193705677986145, 0.14741365611553192, -0.05360659584403038, 0.08176396042108536, 0.09386024624109268, -0.1749379187822342, 0.5112268924713135, -0.07400264590978622, -0.4204351007938385, -0.03706289082765579, 0.619554340839386, 0.2553255259990692, -0.12185633927583694, 1.4573979377746582, 0.6100582480430603, -0.5860497951507568, -0.14125175774097443, -0.9160082936286926, 0.04853253811597824, -0.43130213022232056, -0.11899150162935257, -0.1428622007369995, -1.0244171619415283, 0.9157597422599792, 0.2237250655889511, -0.11100468784570694, 0.7112899422645569, 0.4852144718170166, -0.3954562842845917, 0.22835448384284973, 0.9816162586212158, -0.08745236694812775, 0.27265414595603943, -0.19153466820716858, 0.23385265469551086, -0.6247659921646118, -0.35008519887924194, -0.8157784938812256, -0.549829363822937, -0.74235999584198, -0.22468484938144684, 0.3403254449367523, 0.03325970470905304, 0.0626009851694107, 0.24953773617744446, -0.058179520070552826, 0.41687512397766113, 0.6565448045730591, 0.021901819854974747, 0.2492392361164093, -0.17313739657402039, -0.03481229394674301, -0.02646958827972412, -0.9172366261482239, -0.5339868068695068, 0.7164109945297241, -0.06816330552101135, 0.782110869884491, 0.5790016055107117, 0.7328885197639465, 0.3474368155002594, 0.44960811734199524, -0.703952968120575, 0.03373438119888306, 0.2270432412624359, -0.7799667716026306, -0.517825722694397, -0.5185415744781494, -0.8463671803474426, -0.1867857724428177, -0.1421526074409485, -0.5940820574760437, 0.5690053105354309, 0.159759521484375, -0.138063445687294, 0.4154084622859955, -0.47017914056777954, 0.9522711634635925, -0.11728058755397797, -0.17451460659503937, -0.17090946435928345, -0.7588543891906738, 0.16512618958950043, -0.5229763388633728, 0.8390487432479858, 0.1488470733165741, -0.15001817047595978, 0.6605778932571411, -0.7347994446754456, 0.5587347149848938, -0.1314297914505005, -0.11678913235664368, 0.6926381587982178, 0.14073015749454498, 0.29565396904945374, -0.03577437251806259, -0.12394619733095169, 0.3330295979976654, -0.09547531604766846, -0.5849980711936951, -0.28329992294311523, 0.9439076781272888, -1.0572068691253662, -0.6458144187927246, -0.19455184042453766, -0.20303967595100403, -0.20425795018672943, 0.15771451592445374, 0.4152114987373352, 0.3202168941497803, -0.3642866015434265, 0.2969725430011749, 0.7439698576927185, -0.23770806193351746, 0.5591204166412354, 0.3006983697414398, 0.3962668180465698, -0.292836993932724, 0.8714529275894165, 0.5760931968688965, 0.24806375801563263, 0.14602789282798767, 0.003212823299691081, 0.05911409482359886, -0.5787659883499146, -0.5533801317214966, 0.006153529975563288, -0.8943398594856262, -0.16451503336429596, -0.4711275100708008, -0.14974381029605865, -0.32834234833717346, -0.19078001379966736, -0.20149679481983185, -0.5934178233146667, -0.4214143753051758, 0.258102148771286, 0.22047489881515503, 0.8012840747833252, -0.28158894181251526, 0.29434478282928467, -0.9001852869987488, 0.32636845111846924, 0.4290904104709625, 0.45642784237861633, 0.4028761684894562, -0.4468750059604645, -0.6394966244697571, 0.030937757343053818, -0.2453065812587738, -1.072653889656067, -0.05061013996601105, 0.2074020951986313, 0.6731468439102173, 0.23061300814151764, 0.5038574934005737, 0.4022873342037201, -0.5766956210136414, 0.6458685398101807, -0.007423977833241224, -0.8783354759216309, 0.5993784666061401, -0.16349244117736816, -0.010273663327097893, 0.9068190455436707, 0.7149178981781006, -1.1041957139968872, -0.32041382789611816, -0.3488161265850067, -0.8739525675773621, 0.9498003125190735, 0.36315467953681946, 0.42386287450790405, -0.26770132780075073, 0.3619699478149414, 0.19432422518730164, 0.22640088200569153, -0.6213060021400452, -0.7137020230293274, -0.41154980659484863, 0.07420983910560608, 0.13235841691493988, -0.5999910235404968, -0.1398862898349762, 0.19607990980148315, 0.6471567749977112, 0.05282582342624664, -0.050262533128261566, 0.34751027822494507, -0.4200931191444397, -0.5052381753921509, 0.5657582879066467, 0.39479464292526245, 0.7020805478096008, -0.0031925090588629246, 0.12033975124359131, 0.2845000922679901, -0.4500036835670471, 0.2553153932094574, 0.013215074315667152, -0.5701190829277039, -0.025802260264754295, 0.22893449664115906, 0.7046900391578674, 0.18396811187267303, -0.35908743739128113, 0.41036421060562134, 0.007001932244747877, 0.29402434825897217, -0.21853557229042053, -0.014225346967577934, 0.23618406057357788, -0.0018499210709705949, 0.7016546130180359, 0.07034072279930115, -0.10452389717102051, -0.7756791114807129, -0.25498005747795105, 0.338257372379303, -0.28218531608581543, -0.20066745579242706, 0.44052854180336, 0.6578150391578674, -0.4229765832424164, 0.6475141048431396, -0.1890762448310852, -0.28533875942230225, 0.24387699365615845, 0.17380501329898834, 0.4857528507709503, -0.09463226050138474, 0.08957100659608841, 0.2344520092010498, 0.6427823901176453, 0.16857954859733582, 0.17521271109580994, -0.20923581719398499, -0.8071455359458923, -0.13268892467021942, -0.7058184146881104, -0.47582581639289856, 0.2602754831314087, -0.6363574862480164, 0.17866897583007812, -0.24786341190338135, -0.33249926567077637, 0.04105125367641449, 0.012788093648850918, -0.6833734512329102, -0.15821266174316406, 0.006835375912487507, 0.8662592768669128, -0.5900496244430542, 0.5592564940452576, 0.6596460342407227, -0.7320657968521118, -0.3390366733074188, 0.21791236102581024, 0.12752187252044678, -0.5230534672737122, 0.6200706958770752, -0.3987185060977936, 0.021195581182837486, 0.08645917475223541, -0.13742798566818237, -0.8885593414306641, 0.7348204255104065, 0.4472213089466095, -0.18187148869037628, 0.06066836044192314, 0.1733059138059616, 0.6204479336738586, 0.1027919352054596, -0.06915400922298431, 0.20437504351139069, 0.52357017993927, -0.09567039459943771, -1.023470401763916, -0.10751207917928696, -0.15365247428417206, -0.07472911477088928, 0.5382534861564636, -0.7772080898284912, 0.7985658645629883, -0.3181918263435364, -0.3545069396495819, 0.19425852596759796, 0.7097201943397522, -0.20125965774059296, 0.06114828959107399, 0.26160889863967896, 0.4621240496635437, 0.6325680017471313, -0.16894227266311646, 0.9881102442741394, -0.477350652217865, 0.3012562096118927, 0.6987825632095337, -0.002165371784940362, 0.8547007441520691, 0.7409701943397522, -0.15341448783874512, 0.6922184824943542, 0.4379028081893921, 0.42034712433815, 0.3986756503582001, 0.06263118982315063, -0.5185538530349731, 0.02567768469452858, -0.41038978099823, -0.4215451180934906, 0.10922455042600632, 0.45791640877723694, 0.03360646963119507, -0.1671866476535797, -0.0662015974521637, -0.1480947881937027, 0.02130783721804619, -0.5049799680709839, 0.7922974824905396, 0.14259673655033112, -0.5138992667198181, 0.29550325870513916, 0.27527695894241333, 0.3698591887950897, -0.46233808994293213, 0.14420168101787567, -0.5016174912452698, -0.09789849817752838, -0.2341962605714798, -0.735905647277832, 0.4479132294654846, 0.13824209570884705, -0.19450382888317108, 0.03460094332695007, 0.9195281267166138, -0.2810323238372803, -0.18236751854419708, 0.2416992038488388, 0.9581848382949829, -0.094874806702137, 0.2562626302242279, -0.1806250512599945, 0.06642317771911621, -0.3003920614719391, -0.02304687909781933, 0.4710705876350403, 0.9344314336776733, -0.1935303956270218, 0.5691823363304138, 0.41240203380584717, 0.19285893440246582, -0.16599132120609283, -0.14427624642848969, 0.7787925601005554, -0.5144540667533875, -0.21875928342342377, -0.6412416696548462, 0.1433168351650238, 0.10355250537395477, -0.3457965552806854, 0.9114751815795898, 0.39013299345970154, 1.219095230102539, -0.15269403159618378, 0.7349523305892944, -0.7219393849372864, 0.43817561864852905, -0.3405654728412628, 1.1921669244766235, -0.6222442388534546, 0.055284660309553146, -0.19288364052772522, -0.9344670176506042, 0.17720218002796173, 0.644067645072937, 0.220998615026474, -0.0409761480987072, 0.557523250579834, 0.23754386603832245, -0.12692086398601532, -0.015683425590395927, 0.019231576472520828, 0.13664165139198303, -0.18178169429302216, 0.13753990828990936, 0.9450552463531494, -0.31275397539138794, 0.7526569962501526, -0.7261230945587158, -0.012576643377542496, -0.38346460461616516, -0.7235904932022095, -0.7052208185195923, -0.7020571231842041, -0.1426686942577362, -0.24082978069782257, -0.16126765310764313, 1.0088235139846802, 0.08698264509439468, -1.1633104085922241, -0.3512636721134186, 0.23975104093551636, 0.4102541506290436, 0.14890708029270172, -0.16430102288722992, 0.11406270414590836, -0.3169628381729126, -0.4821281433105469, 0.035255108028650284, 0.06802760809659958, -0.014139268547296524, -0.27621451020240784, -0.1473022848367691, -0.13436618447303772, -0.16095778346061707, 0.47987568378448486, 0.6596437096595764, -0.7829943299293518, -0.5543995499610901, 0.01703963801264763, -0.3738701641559601, -0.12950202822685242, 0.9580656290054321, -0.42858344316482544, 0.41395020484924316, 0.4858320951461792, 0.8444006443023682, 0.4900631010532379, -0.3158800005912781, 0.3616738021373749, -0.8761927485466003, 0.027438072487711906, 0.01709805615246296, 0.6010655760765076, 0.42803141474723816, 0.07903912663459778, 0.45355790853500366, 0.4272371828556061, -0.4491789937019348, -0.4195607304573059, -0.029142137616872787, -0.5878103375434875, -0.03571593761444092, 0.77303546667099, -0.17029160261154175, -0.006402686238288879, -0.47190096974372864, -0.22435450553894043, 0.331376850605011, -0.2987598776817322, 1.0942554473876953, 1.0908207893371582, -0.03420618548989296, -0.3324452042579651, -0.6525022983551025, 0.6724737882614136, -0.15198764204978943, -0.7328348159790039, -0.11573433130979538, 0.6516698002815247, 0.22830073535442352, 0.6454681158065796, 0.7833641171455383, 0.3745303153991699, 0.23391130566596985, -0.016837434843182564, -0.19193696975708008, 0.13817624747753143, 0.03068368509411812, -0.022038044407963753, 0.2915341556072235, 0.3684391379356384, 0.31340742111206055 ]
http://arxiv.org/abs/2405.20775v1
http://arxiv.org/pdf/2405.20775v1
Cross-Modality Jailbreak and Mismatched Attacks on Medical Multimodal Large Language Models
2024-05-26T19:11:21
2024-05-26T19:11:21
Xijie Huang, Xinyuan Wang, Hantao Zhang, Jiawen Xi, Jingkun An, Hao Wang, Chengwei Pan
cs.CR
cs.CR, cs.AI, cs.CL, cs.MM
Security concerns related to Large Language Models (LLMs) have been extensively explored, yet the safety implications for Multimodal Large Language Models (MLLMs), particularly in medical contexts (MedMLLMs), remain insufficiently studied. This paper delves into the underexplored security vulnerabilities of MedMLLMs, especially when deployed in clinical environments where the accuracy and relevance of question-and-answer interactions are critically tested against complex medical challenges. By combining existing clinical medical data with atypical natural phenomena, we redefine two types of attacks: mismatched malicious attack (2M-attack) and optimized mismatched malicious attack (O2M-attack). Using our own constructed voluminous 3MAD dataset, which covers a wide range of medical image modalities and harmful medical scenarios, we conduct a comprehensive analysis and propose the MCM optimization method, which significantly enhances the attack success rate on MedMLLMs. Evaluations with this dataset and novel attack methods, including white-box attacks on LLaVA-Med and transfer attacks on four other state-of-the-art models, indicate that even MedMLLMs designed with enhanced security features are vulnerable to security breaches. Our work underscores the urgent need for a concerted effort to implement robust security measures and enhance the safety and efficacy of open-source MedMLLMs, particularly given the potential severity of jailbreak attacks and other malicious or clinically significant exploits in medical settings. For further research and replication, anonymous access to our code is available at https://github.com/dirtycomputer/O2M_attack. Warning: Medical large model jailbreaking may generate content that includes unverified diagnoses and treatment recommendations. Always consult professional medical advice.
[ -0.23581476509571075, -1.0132848024368286, 0.6173948645591736, -0.03664785623550415, -0.3167791962623596, -0.06746052205562592, -0.032167959958314896, -0.6716621518135071, -0.11986052989959717, 0.8959116339683533, -0.3011089861392975, -0.35997965931892395, -0.6966262459754944, -0.06436919420957565, 0.06375940144062042, 0.8838458061218262, -0.1484687179327011, 0.4204059839248657, -0.17900657653808594, -0.49541419744491577, -0.7488800287246704, -0.7981730103492737, -0.28923261165618896, 0.1465333104133606, 0.5190424919128418, 0.055826686322689056, 0.8260295987129211, 0.29157963395118713, 0.9457395672798157, 0.20339830219745636, 0.27715814113616943, 0.23361359536647797, -0.32555481791496277, 0.36837685108184814, -0.1986672431230545, -0.39924710988998413, -0.5715765357017517, -0.14331677556037903, 0.20736968517303467, 0.35832321643829346, -0.18966370820999146, 0.09325192123651505, -0.35283276438713074, 0.5539959073066711, -0.8066755533218384, -0.394382506608963, -0.7522683143615723, 0.0670807883143425, -0.4480844736099243, -0.252259761095047, -0.42781659960746765, -0.19771502912044525, -0.18776552379131317, -0.07947591692209244, -0.2582567632198334, 0.15270812809467316, 0.4260440468788147, 0.10742954164743423, -0.5454769134521484, -0.2990536391735077, -0.5498495101928711, 0.5747403502464294, -0.7244412302970886, 0.277521550655365, 0.6160755157470703, 0.568932831287384, -0.4410362243652344, -0.5550269484519958, -0.2755458652973175, -0.32450079917907715, -0.0667903944849968, -0.23229734599590302, -0.3908478617668152, 0.10629281401634216, 0.23282314836978912, 0.025037327781319618, -0.6795744299888611, 0.35289210081100464, -0.5537307262420654, -0.09313376992940903, 0.4782087504863739, 0.45161545276641846, 0.5632415413856506, -0.12272005528211594, -0.6629003882408142, 0.13327419757843018, -0.9586273431777954, -0.12632279098033905, 0.123775415122509, 0.115909643471241, -0.4680400788784027, 0.7107013463973999, 0.40756261348724365, 0.5412929058074951, -0.33529147505760193, -0.4189792573451996, 0.1959204226732254, -0.5948663353919983, -0.2980360984802246, -0.05700869485735893, 0.9346886873245239, 0.5169130563735962, 0.008694197982549667, -0.2208910435438156, -0.1782529652118683, -0.03258226439356804, 0.4824087619781494, -0.8102708458900452, -0.1265096813440323, 0.5559552907943726, -0.5321057438850403, -0.5299693942070007, 0.06588808447122574, -0.7171310186386108, -0.6984897255897522, 0.28925779461860657, 0.2730313241481781, -0.3396588861942291, -0.2054651826620102, 0.06927507370710373, 0.21496786177158356, -0.028345709666609764, 0.1806027889251709, -0.6665264964103699, 0.15752959251403809, 0.475946843624115, 0.7873693108558655, -0.06744237244129181, -0.0463421456515789, -0.4089697003364563, 0.33097144961357117, -0.15779857337474823, 0.3664110600948334, -0.21726281940937042, -0.5397523641586304, -0.04661561921238899, 0.020002584904432297, -0.40832826495170593, -0.5649797916412354, 0.273998886346817, -0.5966701507568359, -0.018485669046640396, 0.07083611935377121, -0.17726029455661774, 0.04296059533953667, 0.4763469994068146, -0.7708569765090942, 0.4561544954776764, -0.1137969121336937, -0.8600744605064392, -0.031171932816505432, -0.7193379402160645, -0.40456315875053406, -0.31315404176712036, -0.24518096446990967, -0.6206017732620239, 0.1946219652891159, 0.13572195172309875, 0.4352259635925293, -0.34483328461647034, 0.3159598112106323, -0.5651206970214844, 0.08806152641773224, 0.7545105814933777, -0.49882635474205017, 0.6428245306015015, 0.5706793069839478, -0.2754122316837311, -0.022410107776522636, -0.6652432084083557, 0.02389027364552021, 0.5117385983467102, -0.17079472541809082, -0.48323550820350647, 0.029924467206001282, 0.27629223465919495, 0.4091073274612427, 0.10944885015487671, -0.5776380300521851, 0.2360212504863739, -0.3704894483089447, 0.6000744700431824, 0.37434059381484985, 0.2395547777414322, 0.015560561791062355, -0.3208245635032654, 0.5194162130355835, 0.07533761858940125, 0.7071644067764282, -0.2717636823654175, -0.3770926594734192, 0.12265327572822571, -0.47519469261169434, 0.05273125693202019, 0.742193341255188, -0.5609686970710754, -0.06204841285943985, 0.22478635609149933, -0.5031290054321289, -0.5041658878326416, 0.10100444406270981, 0.624052882194519, 0.411548912525177, 0.46235883235931396, -0.1432090401649475, -0.36181551218032837, -0.9514239430427551, -0.35471856594085693, -0.038931671530008316, 0.11588691920042038, 0.48023074865341187, 0.4866056442260742, -0.6954877376556396, 0.5719533562660217, -0.3479231297969818, -0.45344796776771545, -0.10940094292163849, -0.3108283579349518, 0.007273871451616287, 0.8236342668533325, 0.7987223863601685, -0.771239697933197, -0.012000035494565964, -0.04625779762864113, -0.6848195195198059, -0.04754926636815071, -0.1420745849609375, 0.18728165328502655, 0.3095645606517792, 0.7181869745254517, -0.6607750654220581, 0.4238670766353607, 0.7137592434883118, -0.4347114861011505, 0.5761168599128723, -0.36560821533203125, 0.15365754067897797, -1.2498494386672974, 0.22548210620880127, -0.2306879758834839, -0.26261207461357117, -0.7925023436546326, 0.6222708821296692, 0.1996210664510727, -0.13001897931098938, -0.7476582527160645, 0.367099791765213, -0.4701792001724243, 0.13344183564186096, -0.11768344044685364, -0.1587253212928772, -0.01864614337682724, 0.16937682032585144, -0.35109949111938477, 0.45913997292518616, 0.4994482100009918, 0.05504816398024559, 0.2519303858280182, -0.04771789535880089, -0.2156430035829544, 0.49529770016670227, -0.6213021874427795, 0.2911393940448761, 0.07617924362421036, 0.12628886103630066, -0.830751359462738, -0.36513280868530273, 0.4105129837989807, -0.4073924720287323, 0.58375483751297, -0.2046004831790924, -0.671973466873169, -0.03629252314567566, -0.5082225799560547, 0.7688183784484863, 0.25984957814216614, -0.22451132535934448, 0.34455394744873047, 0.5665091872215271, -0.06864245980978012, -0.5451439619064331, -0.8133367896080017, 0.38435429334640503, -0.3178744316101074, -0.7318158149719238, 0.06575949490070343, 0.14628905057907104, -0.46804872155189514, -0.19841288030147552, -0.03449263051152229, -0.0829429030418396, 0.4193873107433319, 0.38895031809806824, 0.7040557861328125, -0.17029786109924316, -0.19167320430278778, -0.13522113859653473, 0.041838306933641434, 0.269039511680603, 0.024673331528902054, 0.4297409951686859, 0.029965359717607498, -0.8022529482841492, -0.22682234644889832, 0.6380636096000671, 0.9915945529937744, -0.30568164587020874, 0.9494534730911255, 0.40426105260849, -0.47563672065734863, 0.2669491469860077, -0.5637872219085693, -0.19137823581695557, -0.4041527509689331, 0.6132527589797974, -0.17984622716903687, -0.9365043044090271, 0.4444926977157593, 0.09760843217372894, 0.13878083229064941, 0.06111564114689827, 0.7187654376029968, -0.21322335302829742, 1.1659674644470215, 0.22663721442222595, -0.027454417198896408, 0.13255828619003296, 0.154412642121315, 0.22300338745117188, -0.8159937858581543, -0.6657452583312988, -0.4369102120399475, -0.04008294641971588, -0.6317011713981628, -0.6099963188171387, 0.5905922055244446, -0.0034449822269380093, -0.10844540596008301, 0.11283913254737854, -0.007643035147339106, 0.28830060362815857, 0.0062964181415736675, 0.18188557028770447, 0.22010064125061035, -0.07267764955759048, -0.3784182071685791, 0.05445593222975731, -0.5257242321968079, -0.22548039257526398, 1.338144302368164, 0.6191104054450989, 1.2225241661071777, 0.5097989439964294, 0.37743812799453735, 0.2473364919424057, 0.12064335495233536, -0.378037691116333, 0.20607788860797882, -0.0009123400086537004, -0.896579921245575, 0.11224717646837234, -0.3709019124507904, -1.0714360475540161, 0.4985470175743103, -0.3825594186782837, -0.8487808704376221, 0.018509341403841972, 0.1398066282272339, -0.3134514391422272, 0.4471752345561981, -0.740411102771759, 0.9574806690216064, -0.4007987678050995, -0.28528791666030884, -0.22719788551330566, -1.1289799213409424, 0.7117280960083008, -0.5049615502357483, 0.6256925463676453, 0.03679148852825165, -0.02543480694293976, 0.22368969023227692, -0.6829196810722351, 0.7136785984039307, -0.18596892058849335, -0.09590021520853043, -0.21050414443016052, 0.2501424551010132, 0.47616782784461975, 0.2790592610836029, 0.4432089328765869, 0.3646889925003052, 0.13504883646965027, -0.39291590452194214, -0.42040979862213135, 0.7591547966003418, -0.641205370426178, -0.6717702150344849, -0.38305023312568665, -0.48053935170173645, -0.31497517228126526, 0.044794559478759766, 0.12472658604383469, 0.6348868608474731, 0.11286458373069763, 0.08762164413928986, 0.6577787399291992, -0.41778722405433655, 0.26758724451065063, 0.5331323742866516, -0.2872263491153717, -0.7110819220542908, 0.6101760268211365, -0.045049648731946945, 0.750973641872406, 0.013910890556871891, 0.007112512830644846, -0.09647466987371445, -0.8672491312026978, -0.5233420729637146, 0.2850126326084137, -0.5911147594451904, -0.35076311230659485, -0.6106958985328674, -0.15822859108448029, -0.4575786292552948, -0.07479802519083023, -0.29996833205223083, -0.16994349658489227, -0.10603819042444229, 0.16613487899303436, 0.2952515184879303, 0.423403263092041, 0.196115180850029, 0.0381181426346302, -1.0658215284347534, 0.4468545913696289, -0.13036410510540009, 0.25392040610313416, -0.22915387153625488, -0.20186573266983032, -0.1678149253129959, -0.1038796603679657, -0.1912502646446228, -1.049116611480713, 0.1571698933839798, -0.16142086684703827, 0.5126842260360718, 0.4957559108734131, -0.12155640870332718, 0.45005369186401367, -0.6992565393447876, 0.5202628374099731, 0.46339723467826843, -0.413237065076828, 0.5723412036895752, -0.33440330624580383, 0.16362635791301727, 0.6849389672279358, 0.22600769996643066, -0.4578956365585327, -0.5285214781761169, -0.4683743119239807, -0.8808812499046326, 0.4933947026729584, 0.3448633551597595, 0.052773814648389816, 0.010776693001389503, 0.0919405072927475, 0.04017503187060356, 0.2400490790605545, -0.6464799046516418, -0.4458707571029663, 0.06207264959812164, 0.028708087280392647, 0.19291932880878448, -0.27652668952941895, -0.4743666350841522, -0.18966986238956451, 0.3717139959335327, 0.06485413759946823, 0.057089291512966156, 0.24677395820617676, -0.2661573886871338, -0.08978229761123657, 0.3872933089733124, 0.9737077355384827, 0.4276224672794342, -0.17888794839382172, 0.3859880268573761, -0.0016822188626974821, -0.9445151686668396, 0.16077440977096558, 0.20597846806049347, 0.14283199608325958, -0.12406842410564423, 0.337932825088501, 0.7269157767295837, 0.12395806610584259, -1.0470342636108398, 0.6476689577102661, -0.09238174557685852, 0.06481552124023438, -0.25064802169799805, -0.06429531425237656, -0.06035914644598961, 0.42293474078178406, 0.11125387251377106, 0.548522412776947, -0.1266774833202362, -0.5528857111930847, 0.09764302521944046, 0.7859964370727539, -0.3571613132953644, -0.2890113592147827, 0.771205484867096, -0.10075299441814423, -0.1381293088197708, 0.27883780002593994, 0.4467749297618866, -0.33974719047546387, 0.6569076776504517, 0.8184061050415039, 0.6878186464309692, -0.31677189469337463, -0.2715418338775635, -0.1834428906440735, 0.7332592606544495, 0.14849811792373657, 0.2420615404844284, 0.15897361934185028, -0.4693151116371155, -0.05924377217888832, -0.25017425417900085, -0.29044002294540405, 0.4059751629829407, -0.5456653237342834, 0.30407384037971497, -0.6424190402030945, -0.3916209936141968, -0.0795108824968338, -0.4664728045463562, -0.26366758346557617, 0.05359727144241333, 0.38273388147354126, 0.8681504130363464, -0.5068598389625549, 0.9106839895248413, 0.7303321361541748, 0.04012942686676979, -0.6221651434898376, -0.2964981496334076, 0.3170323669910431, -0.8722594976425171, 0.16675467789173126, 0.1427915096282959, 0.06832845509052277, -0.5033671855926514, -0.3107409179210663, -0.7865470051765442, 0.9166336059570312, 0.4095747172832489, -0.6090933680534363, 0.05606817454099655, 0.40160682797431946, 0.24652205407619476, -0.2691551446914673, 0.005052118096500635, 0.5813042521476746, 0.31156203150749207, -0.0824165940284729, -1.0478755235671997, 0.26503631472587585, -0.2662073075771332, -0.10968857258558273, 0.508361279964447, -0.2991946339607239, 0.7787919640541077, -0.6183873414993286, 0.09710627049207687, 0.07821471989154816, -0.14483122527599335, 0.5669699907302856, 0.4030849039554596, 0.27668270468711853, 0.6183246374130249, 0.48613807559013367, 0.08000784367322922, 1.2533221244812012, -0.2338385134935379, 0.2118111103773117, 0.8654746413230896, -0.31152305006980896, 0.6651321649551392, 0.8588751554489136, -0.11369732022285461, 0.10254289954900742, 0.3052791953086853, -0.21293842792510986, 0.530270516872406, 0.16744326055049896, -0.2973535656929016, 0.05234820395708084, 0.1518029272556305, -0.6998617649078369, 0.3142577111721039, 0.42210623621940613, -0.6449427604675293, -0.23819774389266968, 0.46362408995628357, 0.54840087890625, -0.2823752164840698, -0.2691468596458435, 0.7148708701133728, 0.25848692655563354, -0.2337389886379242, 0.6305601596832275, 0.32355567812919617, 0.4589143693447113, -0.7317413687705994, 0.19354978203773499, -0.017719047144055367, 0.03853423893451691, -0.3555966913700104, -0.48168638348579407, 0.22581015527248383, 0.23537437617778778, -0.03005773387849331, 0.1707897186279297, 0.7886878848075867, -0.21469585597515106, -0.3462907075881958, 0.31901249289512634, 0.2858525514602661, 0.05220832675695419, 0.07149126380681992, -0.6492120027542114, 0.3518292307853699, -0.23183399438858032, -0.23410803079605103, 0.7400919795036316, 0.03141350671648979, -0.23186855018138885, 0.602996289730072, 0.8685886859893799, 0.29330626130104065, 0.0636458769440651, 0.11446341127157211, 0.9900838136672974, -0.5052815079689026, -0.3268294632434845, -1.4008280038833618, 0.4651593267917633, 0.03139365464448929, -0.12144460529088974, 0.6721793413162231, 0.5145228505134583, 0.5612598061561584, -0.03668097034096718, 0.604590117931366, 0.0805414542555809, 0.04441121220588684, -0.7330462336540222, 1.0680317878723145, -0.5337624549865723, 0.5013550519943237, -0.4130576550960541, -0.48938509821891785, -0.5153164863586426, 0.11249998956918716, -0.1434849351644516, -0.15179385244846344, 0.7832418084144592, 0.871036946773529, 0.029157888144254684, -0.04490213841199875, 0.36442241072654724, 0.25755709409713745, 0.3566758930683136, 0.6710888743400574, 0.7593492269515991, -0.24188721179962158, 0.3206704556941986, -0.03770214691758156, -0.19197389483451843, -0.28695064783096313, -0.6699473261833191, -1.0755505561828613, -0.11411003768444061, -0.12356659024953842, -0.5916560888290405, 0.12952543795108795, 1.048797607421875, 0.43633386492729187, -0.7583205699920654, 0.012401968240737915, 0.4416379928588867, -0.05184614658355713, 0.15124137699604034, -0.13705149292945862, 0.24911946058273315, -0.05846793204545975, -0.05896599963307381, 0.4286651611328125, 0.5229498147964478, 0.1226443499326706, -0.43181899189949036, 0.12274853885173798, -0.12555654346942902, 0.1577243208885193, 0.43751776218414307, 0.2511383593082428, -0.7901361584663391, -0.056655533611774445, -0.03695671260356903, -0.5302480459213257, 0.1514865607023239, 0.9361861348152161, -0.42528221011161804, 0.5659789443016052, 0.017286714166402817, 0.740208089351654, 0.03617607429623604, -0.1882658302783966, 0.2882632315158844, -0.5481074452400208, 0.23708724975585938, 0.30426543951034546, 0.548287034034729, 0.07662317156791687, -0.41148969531059265, 0.0909220278263092, 0.34985342621803284, -0.25776830315589905, -1.1863430738449097, 0.35349181294441223, -0.9622710347175598, -0.572958767414093, 1.0176026821136475, -0.2336200773715973, -0.20176979899406433, -0.31195688247680664, -0.346210777759552, -0.22980321943759918, -0.004820394795387983, 0.6272673010826111, 0.2961888015270233, -0.0024572527036070824, 0.10526852309703827, -0.959343671798706, 0.4456922113895416, 0.16512109339237213, -0.8656893372535706, -0.06014009565114975, 0.44372332096099854, 0.37318897247314453, 0.018578412011265755, 0.33214735984802246, -0.8094222545623779, 0.502449095249176, -0.2999321222305298, -0.1875879317522049, -0.48114028573036194, -0.15041512250900269, -0.4524279534816742, 0.4897069036960602, -0.05149182304739952, -0.2258061319589615 ]
http://arxiv.org/abs/2405.16662v1
http://arxiv.org/pdf/2405.16662v1
Conjunctive categorial grammars and Lambek grammars with additives
2024-05-26T18:53:56
2024-05-26T18:53:56
Stepan L. Kuznetsov, Alexander Okhotin
cs.LO
cs.LO, cs.CL, math.LO, 03D05, F.4.2; F.4.1
A new family of categorial grammars is proposed, defined by enriching basic categorial grammars with a conjunction operation. It is proved that the formalism obtained in this way has the same expressive power as conjunctive grammars, that is, context-free grammars enhanced with conjunction. It is also shown that categorial grammars with conjunction can be naturally embedded into the Lambek calculus with conjunction and disjunction operations. This further implies that a certain NP-complete set can be defined in the Lambek calculus with conjunction. We also show how to handle some subtle issues connected with the empty string. Finally, we prove that a language generated by a conjunctive grammar can be described by a Lambek grammar with disjunction (but without conjunction).
[ -0.2473434954881668, -0.840340793132782, 0.568280816078186, 0.6443237066268921, -0.15483501553535461, 0.08557664602994919, -0.21631699800491333, -0.5333729386329651, 0.38739529252052307, 0.47716307640075684, -0.2757994830608368, 0.13113966584205627, -0.32721996307373047, 0.23171012103557587, -0.34745895862579346, 0.9073197245597839, 0.12664537131786346, 0.005108237732201815, -0.30649900436401367, 0.03698496147990227, -0.35825681686401367, -0.483096182346344, -0.4209853410720825, -0.24822132289409637, 0.5081856846809387, 0.45045796036720276, 0.7287400960922241, 0.5831514000892639, 0.5541302561759949, 0.4936009645462036, -0.39350461959838867, -0.2177763283252716, 0.29871076345443726, 0.2190612256526947, -0.5414324998855591, -0.3776012063026428, -0.7040249109268188, -0.22996529936790466, 0.6869176030158997, 0.8646142482757568, -0.3817373514175415, 0.11262246966362, -0.0754176527261734, 0.6204069256782532, -0.8488485217094421, 0.19730815291404724, -0.48180148005485535, -0.1426803469657898, -0.10233511030673981, -0.2314571738243103, -0.21298114955425262, -0.3810712695121765, 0.24881286919116974, -0.7711294889450073, 0.04092542454600334, -0.19636519253253937, 0.32298681139945984, 0.40501871705055237, -0.7059803009033203, -0.6022534370422363, -0.46602165699005127, 0.5670368075370789, -0.377514123916626, 0.4690802991390228, 0.27154606580734253, 0.4886495769023895, -0.4362833797931671, -0.7843396663665771, -0.895427405834198, -0.5117575526237488, -0.3902280330657959, 0.5167780518531799, -0.4110497236251831, 0.30985674262046814, 0.1507391482591629, 0.8454427123069763, -0.4385395348072052, -0.029845306649804115, -0.038244232535362244, -0.1429828554391861, 0.3244853913784027, 0.06934108585119247, 0.1638389527797699, -0.48676598072052, -0.576587438583374, 0.025884412229061127, -0.5171284675598145, 0.4506087899208069, 0.38675937056541443, 0.16359961032867432, -0.2299659550189972, 0.8513339757919312, -0.5221234560012817, 0.8804909586906433, 0.18074794113636017, 0.12146982550621033, -0.04277908802032471, -0.6645515561103821, -0.5534814596176147, 0.2993037700653076, 0.37001314759254456, -0.0070945187471807, -0.045265842229127884, -0.15328019857406616, 0.04696979373693466, 0.931504487991333, -0.029288392513990402, -0.4049772024154663, 0.030214501544833183, 0.051388271152973175, -0.020954366773366928, -0.42367714643478394, 0.035765089094638824, -0.4961007535457611, -0.27303197979927063, -0.43525126576423645, 0.27978479862213135, 0.12321813404560089, -0.3791794180870056, 0.7191115617752075, -0.5161128044128418, 0.30271777510643005, 0.44013985991477966, -0.9450801014900208, 0.6770981550216675, 0.9822583198547363, -0.11798270791769028, 0.6070784330368042, 0.029974021017551422, -0.7838571667671204, 0.158434197306633, -0.521448016166687, 0.9334911704063416, -0.8590155243873596, -0.17238053679466248, -0.002785363933071494, 0.27686846256256104, 0.2574092447757721, -0.41751667857170105, 0.6671059727668762, -0.21569764614105225, 0.2913499176502228, -0.08822621405124664, -0.5618752837181091, -0.5510278344154358, 0.2218262404203415, -0.5600563883781433, 0.7265063524246216, 0.49941250681877136, -0.06133551523089409, 0.3226243853569031, -0.250536173582077, -0.6630322337150574, 0.5290965437889099, -0.02945835329592228, 0.10603108257055283, 0.3747110962867737, -0.34717392921447754, 0.32144325971603394, -0.3879050612449646, 0.4387509822845459, -0.35690751671791077, 0.10360325872898102, 0.3480864465236664, 0.04950655996799469, 1.004239559173584, -0.021787479519844055, -0.35399430990219116, -0.018388062715530396, -1.1350990533828735, 0.130408376455307, -0.5076786279678345, -0.4960690438747406, -0.41385945677757263, -0.04563659429550171, -0.13924366235733032, 0.2676970660686493, 0.42525190114974976, -0.7490800619125366, 0.16268721222877502, -0.3696332573890686, 0.4351603090763092, 0.6248002648353577, 0.08070225268602371, 0.6595097184181213, -0.11752820014953613, 0.3689778447151184, 0.011281169019639492, 0.3452693521976471, -0.10913518816232681, -0.4534934461116791, -1.3166078329086304, -0.11155423521995544, 0.22429870069026947, 0.5962179899215698, -0.7462548613548279, 0.7227811813354492, 0.15225163102149963, -0.31703805923461914, -0.014900284819304943, -0.030248915776610374, 0.6983755826950073, 0.48067086935043335, 0.235072523355484, -0.12131225317716599, -1.0993165969848633, -1.1253042221069336, 0.1598745733499527, -0.1577237993478775, 0.3803083598613739, -0.10035955160856247, 0.13589003682136536, -0.2826542854309082, 0.42768168449401855, -0.1726142168045044, 0.0009471566881984472, -0.18523818254470825, -0.32114601135253906, 0.16143912076950073, 0.6040441393852234, 0.4881898760795593, -0.7082364559173584, -0.3926160931587219, 0.47754302620887756, -0.5517266392707825, 0.08170128613710403, 0.11048561334609985, -0.16609956324100494, -0.04317374899983406, 0.36956220865249634, -0.3563748300075531, 0.5926555395126343, 0.4541400372982025, -0.7193391919136047, 0.3629084527492523, 0.06713001430034637, -0.2732887864112854, -0.9123842120170593, -0.3823486566543579, 0.024456143379211426, -0.5060237050056458, -0.7592266798019409, 0.4134128987789154, 0.01923944614827633, 0.22031673789024353, -0.5583322048187256, 0.6807326674461365, -0.06780891865491867, 0.12524326145648956, -0.1684199720621109, 0.006521007511764765, 0.09405210614204407, 0.5585667490959167, 0.09159334748983383, 0.48148202896118164, 0.8517014384269714, -1.0496829748153687, 0.5844720005989075, 0.2727667987346649, -0.2563598155975342, 0.6425864696502686, -0.5242635607719421, -0.7110978364944458, -0.003758310340344906, 0.3224743902683258, -0.7797930836677551, -0.3981917202472687, 0.5420530438423157, -0.29127708077430725, -0.011327456682920456, 0.2132812887430191, -0.4229729473590851, -0.2044041007757187, -0.10749722272157669, 0.4379212260246277, 0.5108644366264343, -0.39899441599845886, 0.16319668292999268, 0.24641449749469757, 0.02423764020204544, -0.5231714844703674, -0.5376354455947876, 0.017772596329450607, -0.10460025072097778, -0.3014135956764221, 0.2968783378601074, -0.04066779464483261, -0.6184435486793518, 0.26867666840553284, -0.11196678131818771, -0.12819799780845642, 0.23674149811267853, 0.07976537942886353, 0.24396198987960815, -0.32734057307243347, 0.19057559967041016, 0.07685661315917969, -0.13607639074325562, -0.3778821527957916, -0.026630304753780365, 0.322075217962265, -0.5273674726486206, 0.14030101895332336, -0.5174813866615295, 0.49800732731819153, 0.14074473083019257, 0.001120115164667368, -0.05836990475654602, 0.12646883726119995, -0.42269396781921387, -0.002516774460673332, -0.5406608581542969, 0.17610925436019897, -0.5386331081390381, -0.21271635591983795, -0.13668206334114075, -1.1732292175292969, 0.4922008514404297, 0.20832602679729462, -0.16418059170246124, 0.6026598811149597, 0.5502991080284119, 0.04043501242995262, 0.49265256524086, 0.8228753209114075, 0.7009744644165039, 0.6106576919555664, 0.07982486486434937, -0.048257116228342056, -1.1547733545303345, -0.12304491549730301, -0.6357465982437134, -0.016049180179834366, -1.2414591312408447, -0.004914257675409317, -0.1740688532590866, 0.28402072191238403, -0.4656653106212616, 0.7239760160446167, -0.528197169303894, 0.49874794483184814, 0.5613610148429871, 0.06283684074878693, 0.3198544979095459, -0.2179013043642044, -0.11978967487812042, 0.35952502489089966, -0.6167680025100708, -0.39506298303604126, 0.7771031260490417, -0.16832983493804932, 0.4649384915828705, 0.5137506127357483, 0.6875795722007751, 0.11369385570287704, 0.2961200177669525, -0.963128387928009, 0.6400452256202698, -0.4701215922832489, -0.5562209486961365, 0.1809890866279602, -0.17069530487060547, -0.9909225106239319, 0.24199113249778748, -0.23648153245449066, -0.7515780329704285, 0.8132321834564209, 0.06085900589823723, -0.6299141049385071, -0.23921366035938263, -0.8731152415275574, 0.7197099328041077, -0.1276550441980362, -0.6774787902832031, -0.11660909652709961, -0.3446391224861145, 0.5723000764846802, 0.2561662495136261, 0.1430356204509735, -0.08198168873786926, -0.1941400021314621, 0.3159545361995697, -0.4782138764858246, 0.788029134273529, 0.13090983033180237, -0.4379214346408844, 0.6902788877487183, 0.31390535831451416, 0.47325438261032104, 0.3637374937534332, -0.0016723222797736526, -0.4022352993488312, -0.02608506567776203, -0.21133841574192047, -1.0107091665267944, 0.5875959992408752, -0.044770076870918274, -0.6821147203445435, -0.4728277325630188, -0.10734046250581741, -0.1911400854587555, 0.3340916335582733, -0.17513659596443176, 0.7253150939941406, -0.05202602595090866, 0.3865048289299011, 0.17347033321857452, -0.11844942718744278, 0.60326087474823, 0.5170881748199463, -0.23766805231571198, -0.6360002756118774, 0.9557688236236572, -0.2813915014266968, 0.2424604296684265, 0.6601393222808838, 0.4025208652019501, -0.5404691100120544, 0.15073177218437195, -0.06581942737102509, 0.0051414030604064465, -0.628456175327301, -0.22246026992797852, -0.3969467282295227, -0.08015432208776474, -0.2535710632801056, -0.3732810616493225, -0.005723074544221163, -1.196976661682129, -0.04610247164964676, 0.08257842063903809, 0.31888720393180847, 0.82353276014328, -0.2194826602935791, 0.6401109099388123, -0.5280653238296509, 0.4157525599002838, 0.6473790407180786, 0.5780165791511536, -0.02832905389368534, 0.1050276979804039, -0.013625129126012325, 0.030193479731678963, -0.5407214164733887, -0.38893696665763855, -0.31219491362571716, 0.20977076888084412, 0.44100695848464966, 0.47801628708839417, -0.17774470150470734, 1.0348563194274902, -0.5595437288284302, 0.6639907360076904, 0.6533834934234619, -1.1835134029388428, 0.1654631495475769, -0.6388856768608093, -0.14287179708480835, 0.31699150800704956, -0.27115756273269653, -0.7031921744346619, -0.7288389205932617, -1.067683219909668, -0.42360720038414, 0.3467801809310913, 0.20313207805156708, 0.21154096722602844, -0.3554840385913849, 0.22610072791576385, 0.28488689661026, 0.5534101128578186, -0.8548030257225037, 0.01702113263309002, -0.4416621923446655, -0.03175002336502075, -0.17697083950042725, -0.37595152854919434, 0.10412318259477615, -0.6577421426773071, 0.3682875633239746, 0.42767056822776794, -0.014105250127613544, 0.1335105001926422, 0.0317685604095459, 0.01994066871702671, 0.7467028498649597, 0.7525492310523987, 0.4247698187828064, -0.001595789915882051, 0.6140065789222717, -0.4287668764591217, -0.1588440090417862, 0.3789741098880768, -0.19220198690891266, 0.06163901835680008, -0.1448962688446045, 0.31994524598121643, 0.6920264363288879, 0.9476901888847351, -0.5766580700874329, 0.2712782919406891, 0.2544354498386383, -0.22903676331043243, -0.3628287613391876, 0.37642693519592285, -0.07922773063182831, 0.4293404221534729, -0.012457124888896942, 0.10474041849374771, 0.4553551971912384, -0.8172826766967773, 0.3481910526752472, 0.514802098274231, -0.2134687900543213, -0.45068633556365967, 0.2985736131668091, 0.10079778730869293, -0.27323704957962036, -0.13530384004116058, -0.4630667269229889, -0.6446582674980164, 0.6454653143882751, 0.7476497292518616, 1.0394706726074219, -0.149978369474411, 0.47299155592918396, 0.48267874121665955, 0.2688750922679901, -0.09053162485361099, 0.34573549032211304, -0.5833445191383362, -0.5993039608001709, -0.256024032831192, -0.763207733631134, -0.5151320695877075, 0.09072411060333252, -0.6251751184463501, 0.252130925655365, -0.5774430632591248, 0.050517551600933075, 0.2865580916404724, -0.07730931043624878, -0.47201845049858093, 0.14251330494880676, -0.3020826280117035, 0.4721413850784302, -0.20963245630264282, 0.3569146990776062, 0.9013826251029968, -0.3039347529411316, -0.6888082027435303, -0.2834082245826721, -0.43528521060943604, -0.6013447642326355, 0.6384820938110352, -0.0076621645130217075, -0.03495311737060547, 0.22223827242851257, -0.3421963155269623, -0.9094486236572266, 0.4108688533306122, 0.07393698394298553, -0.17483749985694885, 0.3237244486808777, 0.19374802708625793, 0.6745287179946899, -0.022646216675639153, -0.24847222864627838, 0.2724408209323883, 0.8647208213806152, 0.13745830953121185, -0.8713164925575256, 0.1908164620399475, -0.37461310625076294, -0.12239908427000046, 0.4390706717967987, -0.5925343036651611, 1.1025844812393188, 0.18392455577850342, -0.5425112843513489, 0.325629860162735, 0.46378907561302185, -0.3096601665019989, 0.08633090555667877, 0.09729623794555664, 0.8881021738052368, 0.38868221640586853, 0.017650749534368515, 1.1227678060531616, 0.24129530787467957, 0.3531661033630371, 1.164036512374878, -0.12426862865686417, 0.5139790177345276, 0.38656219840049744, -0.32643842697143555, 0.6870551109313965, 0.5898151993751526, 0.23377837240695953, 0.27776089310646057, 0.10962282121181488, -0.6581752300262451, -0.7012817859649658, -0.20593573153018951, -0.32702329754829407, 0.7628517150878906, 0.41068997979164124, 0.1103108674287796, -0.9457308053970337, -0.016716353595256805, -0.15036271512508392, 0.18165573477745056, -0.5212551951408386, 0.8414050340652466, 0.04392334818840027, -0.9320338368415833, 0.8036779761314392, -0.17575997114181519, 0.5305452942848206, -0.479510098695755, -0.2347097247838974, -0.05772015452384949, 0.26090461015701294, -0.4495149850845337, -0.7130619287490845, 0.2593969702720642, -0.2117999643087387, 0.0006902813911437988, 0.045809704810380936, 0.33555707335472107, -0.4306437075138092, -0.7555118203163147, 0.022351328283548355, 0.3960167467594147, -0.1530195027589798, 0.5827907919883728, -0.11943341046571732, -0.5116680264472961, -0.40430012345314026, 0.116525799036026, -0.06557849049568176, 0.5501466989517212, -0.31288960576057434, 0.4098668098449707, 0.7439762949943542, -0.005572741851210594, 0.4628940522670746, -0.4290699064731598, 0.7576096057891846, -0.606609046459198, -0.4838451147079468, -0.8318096995353699, 0.49294766783714294, 0.28346043825149536, -0.22277770936489105, 0.881568431854248, 0.6518384218215942, 0.7436095476150513, -0.1396171748638153, 0.7177134156227112, -0.3538948595523834, -0.08100949972867966, -0.31290698051452637, 0.10102920979261398, -0.9617079496383667, -0.3010478913784027, -0.5312754511833191, -0.9400534629821777, -0.6410455703735352, 0.4991055130958557, 0.01792326383292675, -0.43496742844581604, 0.8414806723594666, 0.4428536295890808, -0.18460987508296967, 0.04465377703309059, 0.21438780426979065, -0.23507973551750183, 0.14549371600151062, 0.694141685962677, 1.1553491353988647, -0.41076669096946716, -0.0922502651810646, -0.3922531008720398, -0.41870179772377014, -0.2118154913187027, -0.9383158087730408, -0.4728756844997406, -0.6785802841186523, -0.12141026556491852, -0.01138595025986433, -0.2959165871143341, 0.4874582588672638, 0.03994423896074295, -0.6317906379699707, -0.35628700256347656, -0.7913439869880676, 0.5955179929733276, -0.2604145109653473, -0.26939237117767334, 0.2049625813961029, -0.6269448399543762, -0.7738054990768433, 0.2972884774208069, 0.40024274587631226, 0.4036957919597626, -0.026121987029910088, 0.10453653335571289, -0.1295204758644104, 0.21816374361515045, 1.0456936359405518, 0.49575522541999817, -0.6997432112693787, -0.43479278683662415, -0.02923048473894596, 0.16604608297348022, -0.0441884845495224, 0.965346097946167, -0.8849753141403198, 0.45325344800949097, 0.39393821358680725, 0.32722941040992737, -0.005791251081973314, -0.01445471029728651, 0.1100890263915062, -0.5421361923217773, 0.7962719798088074, 0.21397225558757782, 0.3378089666366577, -0.19865016639232635, -0.27977272868156433, 0.2843731939792633, 0.18442611396312714, -0.12049593776464462, -0.8311401009559631, 0.596138596534729, -1.5151697397232056, 0.01618235372006893, 1.1666964292526245, 0.5330126285552979, -0.294147253036499, -0.13376428186893463, 0.006843854673206806, 0.34099963307380676, -0.18484161794185638, 0.43813392519950867, 0.7605851888656616, -0.11063171178102493, 0.1272316575050354, -0.20661629736423492, 0.5633123517036438, 0.38589048385620117, -0.9289960265159607, 0.17878331243991852, 0.7133705019950867, -0.06475013494491577, 0.39064908027648926, 0.32936909794807434, -0.15554554760456085, 0.6708731055259705, 0.022816862910985947, -0.04945700615644455, -0.07633966952562332, -0.2530146539211273, -0.07564437389373779, 0.004348255693912506, -0.295879602432251, -0.23241502046585083 ]
http://arxiv.org/abs/2405.16661v1
http://arxiv.org/pdf/2405.16661v1
RLSF: Reinforcement Learning via Symbolic Feedback
2024-05-26T18:49:59
2024-05-26T18:49:59
Piyush Jha, Prithwish Jana, Arnav Arora, Vijay Ganesh
cs.CL
cs.CL, cs.AI, cs.LG, cs.LO
In recent years, large language models (LLMs) have had a dramatic impact on various sub-fields of AI, most notably on natural language understanding tasks. However, there is widespread agreement that the logical reasoning capabilities of contemporary LLMs are, at best, fragmentary (i.e., may work well on some problem instances but fail dramatically on others). While traditional LLM fine-tuning approaches (e.g., those that use human feedback) do address this problem to some degree, they suffer from many issues, including unsound black-box reward models, difficulties in collecting preference data, and sparse scalar reward values. To address these challenges, we propose a new training/fine-tuning paradigm we refer to as Reinforcement Learning via Symbolic Feedback (RLSF), which is aimed at enhancing the reasoning capabilities of LLMs. In the RLSF setting, the LLM that is being trained/fine-tuned is considered as the RL agent, while the environment is allowed access to reasoning or domain knowledge tools (e.g., solvers, algebra systems). Crucially, in RLSF, these reasoning tools can provide feedback to the LLMs via poly-sized certificates (e.g., proofs), that characterize errors in the LLM-generated object with respect to some correctness specification. The ability of RLSF-based training/fine-tuning to leverage certificate-generating symbolic tools enables sound fine-grained (token-level) reward signals to LLMs, and thus addresses the limitations of traditional reward models mentioned above. Via extensive evaluations, we show that our RLSF-based fine-tuning of LLMs outperforms traditional approaches on two different applications, namely, program synthesis from natural language pseudo-code to programming language (C++) and solving the Game of 24.
[ -0.2544066905975342, -0.8247703909873962, 0.45231854915618896, 0.1441800743341446, -0.3200850784778595, 0.22849935293197632, -0.49172157049179077, -0.4717807471752167, 0.0656386986374855, 0.48047029972076416, -0.9334991574287415, -0.40597474575042725, -0.6515443921089172, 0.26821598410606384, -0.0487031415104866, 1.1924643516540527, -0.14213404059410095, 0.14559613168239594, -0.13050846755504608, -0.16698847711086273, -0.593806803226471, -0.5446769595146179, -1.0135221481323242, -0.7365155816078186, 0.6561378836631775, 0.24102139472961426, 0.592475950717926, 0.7829464673995972, 0.3599853813648224, 0.2963716983795166, -0.11265310645103455, 0.6610379219055176, -0.5718464851379395, 0.27643319964408875, -0.2868405282497406, -0.6069220900535583, -0.1466490626335144, -0.02865656465291977, 0.6786527633666992, 0.1958145648241043, -0.32369711995124817, 0.1485675722360611, -0.0768318772315979, 0.9484726190567017, -0.602729856967926, 0.5289792418479919, -0.519749641418457, 0.508023738861084, 0.21583504974842072, -0.5409156084060669, -0.711097240447998, -0.4021166265010834, -0.0985988974571228, -0.8323542475700378, -0.05358413606882095, 0.045747071504592896, 0.8032203316688538, 0.7225508689880371, -0.21143773198127747, -0.19862164556980133, -0.9872607588768005, 0.8782112002372742, -0.6350516676902771, 0.46194738149642944, 0.3321511149406433, 0.35251250863075256, -0.3855833411216736, -0.47231394052505493, -0.23407278954982758, -0.5540800094604492, -0.2160220891237259, -0.03045475296676159, 0.17720860242843628, 0.14263679087162018, 0.34574079513549805, -0.0028527609538286924, -0.2621776759624481, 0.024707205593585968, -0.3532053232192993, -0.19558213651180267, 0.7861295938491821, 0.3247752785682678, 0.01985039934515953, 0.2825413942337036, -0.26702752709388733, -0.33863306045532227, -0.8659533262252808, 0.2778146266937256, 0.26290974020957947, 0.5021876692771912, -0.07420551776885986, 0.40221914649009705, -0.2825680673122406, 0.8376770615577698, 0.11792029440402985, -0.37483885884284973, -0.06872165203094482, -0.10624433308839798, -0.11208589375019073, 0.14720332622528076, 0.547849714756012, 0.08520233631134033, 0.462812215089798, -0.1361420452594757, -0.7505846619606018, 0.2794826328754425, 0.2784026265144348, -0.737407922744751, -0.1721203476190567, 0.047841813415288925, -0.3893864154815674, -0.3771152198314667, 0.14172932505607605, -0.21373820304870605, -0.4878612756729126, -0.8369720578193665, 0.3403193950653076, -0.4438495337963104, -0.1250791698694229, 0.17952412366867065, -0.10134477913379669, 0.10534849017858505, 0.5076093673706055, -0.9073663949966431, 0.2995070219039917, 0.9706235527992249, 0.5086111426353455, -0.17351028323173523, -0.5207694172859192, -1.0127313137054443, 0.0016378100262954831, -0.3452755808830261, 0.8019943237304688, -0.5715709328651428, -0.31750261783599854, 0.025893880054354668, -0.10595113039016724, -0.10844090580940247, -0.7376999855041504, 0.17937715351581573, -0.453616201877594, -0.1516723781824112, -0.19912689924240112, -0.3557684123516083, 0.04354437068104744, 0.44132205843925476, -0.3963072597980499, 1.0050145387649536, -0.08679088205099106, -0.4136866331100464, 0.37907934188842773, -0.4571670889854431, -0.5995267033576965, -0.04937468096613884, -0.3678470849990845, -0.46245092153549194, 0.02596883475780487, 0.18565621972084045, 0.31578385829925537, -0.16819798946380615, 0.307295560836792, -0.3601416051387787, -0.631080150604248, 0.35687536001205444, -0.2825431227684021, 0.18692520260810852, 0.24893620610237122, -0.34154728055000305, 0.6308887600898743, -0.6660757064819336, 0.06731268763542175, 0.25641870498657227, -0.4687136709690094, -0.03994087129831314, 0.29362624883651733, -0.15686281025409698, 0.28145572543144226, 0.14854508638381958, -0.35628384351730347, 0.0502304844558239, -0.6084195971488953, 0.5766555666923523, 0.9270934462547302, 0.07015601545572281, 0.222548246383667, -0.506328284740448, 0.5814331769943237, 0.08479493856430054, 0.2417469471693039, 0.12604257464408875, -0.06032722815871239, -0.8262746930122375, -0.16398832201957703, 0.2235061526298523, 0.4413519501686096, -0.7063038945198059, 0.3140023946762085, 0.07495253533124924, -0.2970922291278839, -0.4189170002937317, 0.3039456307888031, 0.6367183923721313, 0.10982239246368408, 0.29201045632362366, -0.2601379156112671, -0.38815978169441223, -0.6415979862213135, -0.21675072610378265, -0.38153544068336487, 0.32675477862358093, 0.4194101095199585, 0.43318992853164673, -0.025639144703745842, 0.7847968935966492, -0.3975663483142853, -0.4938908815383911, -0.4537007808685303, 0.0737723708152771, -0.09280909597873688, 0.2640678882598877, 0.0731046050786972, -0.4410451650619507, -0.08625185489654541, -0.029839886352419853, -0.682065486907959, 0.16026411950588226, -0.35790494084358215, 0.14644263684749603, 0.36071714758872986, 0.6396940350532532, -0.5698478817939758, 0.1561359316110611, 0.21202966570854187, -0.5196386575698853, 0.575151264667511, -0.6084533333778381, -0.12140228599309921, -0.3966294825077057, -0.2671903371810913, 0.05462419614195824, -0.3274608254432678, -0.1909063309431076, 0.25430768728256226, 0.06692434847354889, 0.0465899296104908, -0.5786339640617371, 0.5485239028930664, -0.21851731836795807, -0.12535615265369415, -0.33357784152030945, 0.2186669111251831, -0.2616117596626282, 0.8464184999465942, 0.2725602090358734, 0.7044363021850586, 0.20796121656894684, -0.6472663879394531, 0.40105247497558594, 0.04473700374364853, 0.11203165352344513, 0.6473347544670105, -0.6840267777442932, -0.054645225405693054, -0.18685773015022278, 0.5719947218894958, -0.4491179287433624, 0.12463918328285217, 0.3028598427772522, -0.25181812047958374, 0.19765165448188782, 0.03280824422836304, -0.5020252466201782, -0.0675918310880661, -0.25067204236984253, 0.31160759925842285, 0.38518890738487244, -0.5696814656257629, 0.5838878154754639, 0.16490884125232697, 0.2312232255935669, -0.6166282296180725, -0.2670738399028778, -0.1527475267648697, -0.05135640501976013, -0.2753193974494934, -0.08600527048110962, -0.01799706555902958, -0.07610853761434555, 0.018444186076521873, -0.244597926735878, 0.2776991128921509, 0.2873811423778534, 0.4925376772880554, 0.2593618929386139, -0.11159513145685196, 0.23167622089385986, 0.029475266113877296, -0.4556482136249542, 0.287883996963501, -0.40871018171310425, 0.2895515561103821, -0.5780308842658997, -0.5564560890197754, -0.30477383732795715, -0.1269383430480957, 0.4475170075893402, -0.5986244678497314, 0.6301965713500977, 0.5334405899047852, -0.20165786147117615, -0.8362215161323547, -0.2684655785560608, -0.6696994304656982, -0.4220101237297058, 0.3894130289554596, -0.21295985579490662, -1.2425533533096313, 0.1329914778470993, -0.20282047986984253, 0.2519150972366333, 0.25198468565940857, 0.6536240577697754, 0.08375200629234314, 1.2136523723602295, 0.48687365651130676, -0.038651999086141586, 0.3488221764564514, -0.14541515707969666, 0.16956841945648193, -0.3883034884929657, -0.42574217915534973, -0.42977362871170044, -0.449120432138443, -0.4067617952823639, -0.1529540866613388, 0.23157380521297455, 0.0650041401386261, -0.5550163388252258, 0.10210239887237549, -0.572180986404419, 0.6230632066726685, 0.5805856585502625, 0.33576613664627075, 0.39399170875549316, -0.1801278293132782, -0.24382159113883972, 0.1386893093585968, -0.7801917195320129, -0.29100313782691956, 0.7009073495864868, 0.5746251940727234, 0.9691014885902405, -0.12210919708013535, 0.9376627206802368, 0.3602277934551239, 0.1952342540025711, -0.7682384848594666, 0.6270459294319153, -0.027685746550559998, -0.17556126415729523, -0.4803272485733032, -0.4312334954738617, -0.7744115591049194, 0.2705531418323517, -0.4500923156738281, -0.4745188355445862, -0.20256322622299194, 0.4403526186943054, -0.4770457148551941, 0.2226306051015854, -0.5159345865249634, 0.8338673114776611, -0.3171308934688568, -0.31493905186653137, -0.619424045085907, -0.7230214476585388, 0.32690876722335815, 0.16358542442321777, 0.16438768804073334, -0.10431254655122757, 0.2577744126319885, 0.6701578497886658, -0.5054506659507751, 1.0364394187927246, -0.19158923625946045, -0.22814948856830597, 0.07083313167095184, 0.29193735122680664, 0.8352662920951843, 0.3977595269680023, 0.3245134949684143, -0.29050594568252563, 0.4385828375816345, -0.17634457349777222, -0.8947245478630066, 0.6405039429664612, -1.086937427520752, -0.5540190935134888, -0.6448614001274109, -0.7528070211410522, -0.3738977909088135, -0.02780470810830593, -0.27009329199790955, 0.30102184414863586, 0.06475576758384705, -0.06013156473636627, 0.9837150573730469, -0.22545510530471802, 0.10089743137359619, 0.5480120778083801, -0.3985365927219391, -0.3218327462673187, 1.2608875036239624, -0.3186396658420563, 0.19191670417785645, 0.36016884446144104, 0.2011876404285431, -0.3897021412849426, -0.2958366274833679, -0.5091806054115295, 0.4487045705318451, -0.7825241088867188, -0.22994472086429596, -0.18857012689113617, -0.4262116849422455, 0.12959539890289307, -0.0955120101571083, -0.4754004180431366, -0.3392575979232788, -0.23228906095027924, -0.12393904477357864, 0.475829154253006, 0.9598888754844666, -0.0036647829692810774, -0.05877742916345596, -0.7300602793693542, 0.23217354714870453, 0.22550304234027863, 0.5382627248764038, 0.11268580704927444, -0.40172135829925537, -0.26820191740989685, -0.0008676344295963645, -0.18948052823543549, -0.5269880294799805, 0.105742909014225, -0.0013679752591997385, 0.3878166675567627, 0.22884660959243774, 0.12104431539773941, 0.5368481278419495, -0.33335867524147034, 0.6219444870948792, 0.15171749889850616, -0.6795539855957031, 0.5324907302856445, -0.12641966342926025, 0.172730952501297, 0.41586047410964966, -0.09154094010591507, -0.5778254270553589, -0.691290020942688, -0.5936412215232849, -0.47741809487342834, 1.0021804571151733, -0.10155029594898224, -0.11803867667913437, -0.02086731791496277, 0.3676672875881195, -0.11520508676767349, 0.11220791190862656, -0.758973240852356, -0.2627606987953186, -0.11250483989715576, -0.05221707373857498, -0.151044562458992, -0.02667599730193615, -0.35164377093315125, -0.2732580900192261, 1.0463348627090454, -0.19544926285743713, 0.14182835817337036, 0.09708613902330399, -0.16257517039775848, -0.43970638513565063, 0.35291966795921326, 0.9033056497573853, 0.4564954340457916, -0.13366900384426117, 0.34141796827316284, 0.2947971224784851, -0.07718580961227417, 0.3403405547142029, -0.026373185217380524, -0.18731990456581116, -0.30485638976097107, 0.22589270770549774, 1.0682036876678467, 0.222026526927948, -0.9925049543380737, 0.1921495497226715, -0.16462263464927673, -0.4323951303958893, -0.22618255019187927, 0.4523029625415802, 0.09492635726928711, 0.4929603636264801, -0.00009298081567976624, -0.031119249761104584, -0.3791714906692505, -0.3312763273715973, 0.35273438692092896, 0.6360458731651306, -0.7847201228141785, -0.11754913628101349, 0.49645599722862244, 0.09506871551275253, -0.49098074436187744, 0.5371251106262207, -0.28751876950263977, -0.5063470005989075, 0.5839301943778992, 0.7080608010292053, 0.7479017376899719, 0.29923924803733826, 0.44965383410453796, 0.2655787467956543, 0.3416447639465332, -0.27705392241477966, 0.13761626183986664, -0.273623526096344, -0.5566940307617188, -0.5665274262428284, -0.6996505856513977, -0.47132426500320435, 0.07233060896396637, -0.4147116243839264, 0.01114611979573965, -0.945433497428894, 0.04167100042104721, -0.31551122665405273, -0.0030231184791773558, -0.2228998839855194, 0.19646002352237701, 0.09712247550487518, 0.8621497750282288, -0.6637224555015564, 0.8323482871055603, 0.8475305438041687, -0.4655623435974121, -1.1783374547958374, -0.3045639097690582, 0.03147127106785774, -0.7622149586677551, 0.9045186638832092, -0.1187216192483902, -0.3933905065059662, -0.08800976723432541, -0.33879926800727844, -0.578098475933075, 0.950154185295105, 0.4833665192127228, -0.4909045696258545, 0.054028674960136414, 0.360042542219162, 0.7012621760368347, -0.15249253809452057, 0.11960047483444214, 0.7332397103309631, 0.49184268712997437, 0.10863848775625229, -0.7518565058708191, 0.2286004275083542, -0.1394762247800827, 0.08970722556114197, 0.4941183626651764, -0.6081074476242065, 0.38048070669174194, -0.2792072892189026, 0.05098329111933708, -0.06694278120994568, 0.8519191145896912, 0.7265055179595947, 0.08517138659954071, 0.6144024729728699, 0.6645563840866089, 0.49799808859825134, -0.1490318775177002, 0.951677143573761, -0.37306010723114014, 0.4627925455570221, 0.9964035153388977, -0.13567911088466644, 0.8548725843429565, 0.6459121108055115, -0.14067000150680542, 0.37420541048049927, 0.7285131216049194, 0.09612977504730225, 0.4643068015575409, 0.5319426655769348, -0.1908506602048874, -0.6414216756820679, -0.18049177527427673, -0.2730420231819153, -0.017843902111053467, 0.24294587969779968, -0.0526246502995491, -0.5163267254829407, -0.1303330361843109, -0.29588863253593445, 0.2617679238319397, -0.23798993229866028, 0.825303316116333, 0.2836857736110687, -0.8840837478637695, 0.7386904954910278, 0.31799814105033875, 0.5944809913635254, -0.7418479919433594, -0.28968489170074463, -0.23829931020736694, 0.5303479433059692, -0.2883983552455902, -0.6222476363182068, 0.3443949818611145, -0.2515810430049896, 0.04756072163581848, -0.3060092628002167, 0.760530412197113, -0.3415970206260681, -0.17582309246063232, 0.31618183851242065, 0.30941441655158997, -0.20265910029411316, 0.20863227546215057, -0.9501581788063049, 0.16449889540672302, -0.0992005467414856, -0.06272416561841965, 0.6002823710441589, 0.3782752752304077, -0.14655965566635132, 0.8684658408164978, 0.7256752252578735, 0.18332703411579132, -0.18989352881908417, 0.10611870884895325, 0.583203911781311, -0.6169562935829163, -0.6545901894569397, -0.7945448160171509, 0.057467568665742874, 0.39472705125808716, -0.39000484347343445, 0.3969530463218689, 0.2675587832927704, 0.996911346912384, -0.16798514127731323, 0.5497177839279175, 0.3254145681858063, 0.17410258948802948, -0.6491020321846008, 0.49497130513191223, -0.5478713512420654, 0.4078379273414612, -0.01945941522717476, -0.6237233877182007, -0.39075785875320435, 0.7029043436050415, -0.16609415411949158, -0.06966342031955719, 0.6152420043945312, 0.9224578142166138, 0.05418192595243454, 0.2331392765045166, 0.23087583482265472, 0.009764106944203377, 0.29703405499458313, 0.8051723837852478, 1.0612306594848633, 0.033882249146699905, 0.4518301784992218, -0.26170021295547485, 0.02424434758722782, -0.15234094858169556, -0.7226261496543884, -0.9427738785743713, -0.4356248676776886, -0.2966620624065399, -0.5872148275375366, 0.4332314729690552, 1.4056371450424194, 0.5286798477172852, -0.8707504868507385, -0.41023606061935425, -0.3237189054489136, 0.40606871247291565, -0.5964915752410889, -0.14696896076202393, 0.2352364957332611, -0.7426187992095947, -0.2955839931964874, 0.29875504970550537, 0.5031377077102661, -0.20656946301460266, -0.5284339189529419, -0.762524425983429, -0.016158495098352432, 0.11462215334177017, 0.6605290174484253, 0.5589005351066589, -0.9382872581481934, -0.456651896238327, -0.045341264456510544, -0.05850128084421158, -0.12071184068918228, 0.8678568601608276, -0.9685678482055664, 0.04701612889766693, 0.29313236474990845, 1.0406670570373535, 0.47806626558303833, -0.25548118352890015, 0.5085994005203247, -0.7209579944610596, 0.059862155467271805, 0.05065055936574936, 0.27223992347717285, -0.012572643347084522, -0.25122955441474915, 0.41982412338256836, 0.34209349751472473, -0.4237436056137085, -0.7796528935432434, 0.40774545073509216, -0.9576950073242188, -0.4017816185951233, 1.1951314210891724, 0.07507506757974625, -0.12988419830799103, 0.06686076521873474, -0.42470091581344604, 0.25154319405555725, -0.5351858139038086, 0.8650495409965515, 0.481216162443161, -0.19831131398677826, -0.23766808211803436, -0.162491112947464, 0.7439350485801697, 0.8432271480560303, -0.8007344007492065, 0.2583770453929901, 0.5496041178703308, 0.19261017441749573, -0.098285973072052, 0.45831072330474854, -0.06683757156133652, 0.5575074553489685, -0.43290621042251587, -0.26128461956977844, -0.5107041001319885, -0.5866360068321228, -0.4302299916744232, 0.1617724895477295, 0.6204124689102173, 0.14011520147323608 ]
http://arxiv.org/abs/2405.16640v1
http://arxiv.org/pdf/2405.16640v1
A Survey of Multimodal Large Language Model from A Data-centric Perspective
2024-05-26T17:31:21
2024-05-26T17:31:21
Tianyi Bai, Hao Liang, Binwang Wan, Ling Yang, Bozhou Li, Yifan Wang, Bin Cui, Conghui He, Binhang Yuan, Wentao Zhang
cs.AI
cs.AI, cs.CL, cs.CV, cs.MM
Human beings perceive the world through diverse senses such as sight, smell, hearing, and touch. Similarly, multimodal large language models (MLLMs) enhance the capabilities of traditional large language models by integrating and processing data from multiple modalities including text, vision, audio, video, and 3D environments. Data plays a pivotal role in the development and refinement of these models. In this survey, we comprehensively review the literature on MLLMs from a data-centric perspective. Specifically, we explore methods for preparing multimodal data during the pretraining and adaptation phases of MLLMs. Additionally, we analyze the evaluation methods for datasets and review benchmarks for evaluating MLLMs. Our survey also outlines potential future research directions. This work aims to provide researchers with a detailed understanding of the data-driven aspects of MLLMs, fostering further exploration and innovation in this field.
[ -0.6542371511459351, -0.7029439210891724, 0.4512461721897125, 0.17385490238666534, 0.11847952753305435, 0.014096579514443874, -0.5188034176826477, -0.3902572691440582, -0.11045430600643158, 0.5385051369667053, -0.5040668249130249, -0.46824491024017334, -0.314243882894516, -0.036607775837183, -0.23561371862888336, 0.8255366683006287, 0.09771950542926788, 0.2634753882884979, -0.26163995265960693, -0.31658297777175903, -0.3629070818424225, -1.0036574602127075, -0.27525490522384644, -0.1821247935295105, 0.7656471729278564, 0.19500964879989624, 0.4989226460456848, 0.25394368171691895, 0.35457801818847656, 0.3217903673648834, 0.09883323311805725, 0.07615005970001221, -0.3440457880496979, 0.18421679735183716, -0.14834783971309662, -0.31964078545570374, -0.3262266218662262, 0.036529798060655594, 0.6487755179405212, 0.9526621699333191, -0.11392239481210709, 0.2031911313533783, 0.10066511482000351, 0.7909949421882629, -0.6109116077423096, 0.18269884586334229, -0.3413240313529968, 0.1312563419342041, -0.328067809343338, -0.11825506389141083, -0.6060675978660583, -0.0364377424120903, 0.2803928554058075, -0.38156116008758545, 0.13973064720630646, 0.11030392348766327, 0.1032465249300003, -0.0905429869890213, -0.804380476474762, -0.26470494270324707, -0.9046176671981812, 1.0685930252075195, -0.6061925292015076, 1.125855565071106, 0.3102448284626007, 0.2690703570842743, -0.06097129359841347, -0.5543140769004822, -0.7208001017570496, -0.3313393294811249, -0.01702790893614292, -0.07678646594285965, 0.18245938420295715, -0.2002377063035965, 0.22218751907348633, 0.2944052219390869, -0.7662521004676819, 0.14786531031131744, -0.22718824446201324, -0.14029386639595032, 0.7981504797935486, 0.38172855973243713, 0.2405565232038498, -0.05468255653977394, -0.37439605593681335, -0.3142407238483429, -0.4883711636066437, 0.07762674242258072, 0.2991361916065216, 0.34026965498924255, -0.159853994846344, 0.5504029393196106, -0.17280909419059753, 1.0943782329559326, -0.32204246520996094, -0.4517291188240051, 0.6511856913566589, -0.7422589659690857, -0.28165268898010254, -0.23722781240940094, 0.6760302782058716, 0.5605345964431763, 0.3166949152946472, 0.017189299687743187, -0.2879660725593567, -0.14763374626636505, 0.18062855303287506, -0.6759011745452881, -0.015555476769804955, 0.3478797674179077, -0.5828119516372681, -0.05980038642883301, -0.22077858448028564, -0.8635123372077942, -0.6469029784202576, -0.8938804864883423, 0.19369280338287354, -0.38540783524513245, -0.5673216581344604, 0.20843131840229034, 0.12062434107065201, -0.021566305309534073, 0.43937453627586365, -0.848003089427948, -0.06293965876102448, 0.3576233983039856, 0.4895568788051605, -0.23741203546524048, -0.5428782105445862, -0.16673481464385986, 0.08763400465250015, -0.23773065209388733, 0.46243366599082947, -0.5126099586486816, -0.27561047673225403, 0.1646720916032791, 0.0014528799802064896, -0.14330452680587769, -0.34120532870292664, 0.2974962890148163, -0.4857403337955475, 0.4481365382671356, -0.23038364946842194, -0.2471068650484085, -0.33175528049468994, 0.6465654373168945, -0.8091352581977844, 0.7390177845954895, 0.06256652623414993, -0.8443028926849365, 0.5787835717201233, -0.6185502409934998, -0.3832651674747467, -0.22928830981254578, -0.1685533970594406, -0.13549822568893433, 0.188558891415596, 0.2904834747314453, 0.5895625948905945, -0.28615111112594604, 0.38420549035072327, -0.29252123832702637, 0.13510701060295105, 0.6648624539375305, -0.6961735486984253, 0.6210335493087769, 0.4166194200515747, 0.1114603728055954, 0.28745439648628235, -1.0145354270935059, 0.1613970845937729, -0.0065902662463486195, -0.43925878405570984, -0.30995646119117737, 0.11232484877109528, 0.5931437611579895, 0.5979200601577759, 0.2799478769302368, -0.5823392271995544, 0.11630313843488693, -0.06428861618041992, 0.31420543789863586, 0.6253458261489868, -0.3478271961212158, 0.3826098144054413, -0.061333101242780685, 0.36027243733406067, 0.3902556002140045, 0.5262726545333862, -0.4454462230205536, -0.10372074693441391, -0.6142102479934692, -0.12933826446533203, 0.13876330852508545, 0.2700337767601013, -0.914841890335083, 0.1950622797012329, -0.17090560495853424, -0.5928076505661011, -0.459561824798584, 0.2893613874912262, 0.10476750880479813, 0.1804884523153305, 0.154558002948761, -0.16371499001979828, -0.658808171749115, -0.9118814468383789, 0.14243106544017792, 0.03318040072917938, 0.06774908304214478, 0.36684495210647583, 0.2640530467033386, -0.44131338596343994, 0.8869898319244385, -0.32478222250938416, -0.12858842313289642, -0.3757138252258301, -0.11138381063938141, 0.13913200795650482, 0.4156225025653839, 0.8020905256271362, -1.1009899377822876, -0.3403407037258148, 0.18599608540534973, -0.7755767107009888, 0.29339301586151123, 0.09159715473651886, 0.1909080445766449, 0.2185909003019333, 0.3179018199443817, -0.5206926465034485, 0.1899457424879074, 1.0225516557693481, -0.35478490591049194, 0.5429092645645142, -0.1524665504693985, 0.24985428154468536, -0.9399052262306213, 0.31380459666252136, -0.0861937552690506, -0.07294857501983643, -0.9108673930168152, -0.01943906769156456, -0.010919403284788132, -0.0948309451341629, -0.4367186427116394, 0.517826497554779, -0.5954388380050659, -0.19131644070148468, -0.15598326921463013, -0.053514447063207626, 0.10512150824069977, 0.38973268866539, 0.2996268570423126, 0.485379695892334, 0.670850932598114, -0.5728540420532227, 0.6618421077728271, 0.09234554320573807, -0.6684190034866333, 0.47006478905677795, -0.4570949673652649, 0.10857786983251572, -0.49632352590560913, 0.22872474789619446, -0.8980520963668823, -0.10059120506048203, 0.05857786908745766, -0.19116951525211334, 0.1001172885298729, 0.19950266182422638, -0.7022333145141602, -0.42337849736213684, -0.17580682039260864, 0.5260313749313354, -0.0766095221042633, -0.30135318636894226, 0.5469850301742554, 0.4843621253967285, -0.2814911901950836, -0.4519074261188507, -0.5451661944389343, 0.15015573799610138, -0.17756302654743195, -0.3638819754123688, -0.1993178427219391, -0.3456745445728302, -0.36960846185684204, -0.37671440839767456, 0.4013562500476837, -0.011669855564832687, -0.11810939013957977, 0.2553388178348541, 0.3025643825531006, -0.24222488701343536, 0.22942481935024261, -0.5962866544723511, 0.05365028977394104, -0.10033275187015533, -0.08690983057022095, 0.8520183563232422, 0.053281668573617935, -0.5301409959793091, -0.15905317664146423, 0.5297742486000061, 0.9053065776824951, -0.613524854183197, 0.835050642490387, 0.8430977463722229, -0.1209971234202385, 0.10370805114507675, -0.6560065150260925, -0.04372537136077881, -0.3782528340816498, 0.5064967274665833, -0.4160236716270447, -0.8829659819602966, 0.2613380551338196, 0.13295476138591766, 0.1571507453918457, 0.07646043598651886, 0.8064852356910706, 0.03751508146524429, 1.0956358909606934, 0.7476829886436462, -0.1287529319524765, 0.6323086023330688, 0.051934510469436646, 0.21398130059242249, -0.8247555494308472, -0.48426687717437744, -0.38585788011550903, -0.2934281826019287, -0.4230285584926605, -0.4339387118816376, 0.4334125518798828, -0.2152879536151886, -0.14760583639144897, 0.01523967832326889, -0.23193344473838806, -0.04285169020295143, 0.26129281520843506, -0.0038630927447229624, 0.2759785056114197, 0.003615147201344371, -0.040771789848804474, -0.17377245426177979, -0.5128456354141235, -0.39907869696617126, 1.2314039468765259, 0.5980190634727478, 0.8743572235107422, 0.13572093844413757, 0.06188428774476051, -0.041218604892492294, 0.23082666099071503, -0.6372414827346802, 0.33657121658325195, -0.006418534554541111, -0.8683300614356995, -0.4530918300151825, -0.32194289565086365, -0.8807389140129089, 0.5009042620658875, -0.3264986276626587, -0.5511415600776672, 0.21538078784942627, -0.01762755960226059, -0.052540700882673264, 0.13803334534168243, -0.7758730053901672, 0.8211622834205627, -0.5794104933738708, -0.268814355134964, -0.18495984375476837, -0.5935404896736145, 0.38249650597572327, -0.3368668854236603, 0.5735278725624084, -0.07395487278699875, 0.08011309057474136, 0.6033790111541748, -0.0904141217470169, 0.652113139629364, -0.3692239820957184, -0.4807884097099304, 0.12036623060703278, -0.18399976193904877, 0.23808909952640533, -0.19005469977855682, -0.0754975974559784, 0.1320854276418686, 0.10329408198595047, -0.17519035935401917, -0.5615612268447876, 0.6135624647140503, -0.5485753417015076, -0.2271249145269394, -0.11385275423526764, -0.9199780821800232, -0.6669676303863525, 0.20853368937969208, -0.13542719185352325, 0.6454955339431763, -0.22027766704559326, 0.3927757740020752, 0.5029473304748535, -0.42208847403526306, 0.6061842441558838, 0.6343663930892944, -0.9257585406303406, -0.223250150680542, 0.8473160266876221, 0.1638302057981491, 0.26211175322532654, 0.325102835893631, 0.01656488887965679, -0.43694961071014404, -0.6319293975830078, -0.5282001495361328, 0.02729722484946251, -0.48565423488616943, 0.19403593242168427, -0.7487120032310486, -0.11258559674024582, -0.46123987436294556, 0.2324487268924713, -0.5038577318191528, 0.0001921141956700012, 0.11904433369636536, -0.023348351940512657, 0.321327269077301, 0.8595797419548035, 0.13097693026065826, 0.12775827944278717, -0.8281123638153076, 0.2477644979953766, 0.3248383700847626, 0.5163977146148682, 0.26888400316238403, -0.08117233961820602, -0.4533599615097046, 0.2952464818954468, 0.15056392550468445, -0.3441203832626343, 0.4078153967857361, -0.11761889606714249, 0.6772928833961487, 0.4476899802684784, -0.32106128334999084, 0.5145187377929688, -0.6037150621414185, 0.8393034934997559, 0.385174423456192, -0.5651362538337708, 0.30308353900909424, -0.31509485840797424, 0.36129263043403625, 0.3796127736568451, 0.43600282073020935, -0.6604156494140625, 0.11319756507873535, -0.08537983149290085, -0.6615484356880188, 0.47326815128326416, -0.04915490373969078, 0.23626616597175598, 0.31370577216148376, -0.30559635162353516, 0.2824411392211914, 0.47506824135780334, -0.6601423025131226, -0.09956644475460052, -0.3107324540615082, -0.20895570516586304, -0.589941680431366, -0.27938976883888245, -0.037689026445150375, -0.3060634732246399, 0.07680422812700272, -0.12498048692941666, -0.03911536931991577, -0.2829694151878357, -0.30204710364341736, 0.24535438418388367, 0.49712637066841125, 0.7716785073280334, 0.9544186592102051, -0.08503125607967377, 0.2962040901184082, -0.11983028799295425, -0.6177300214767456, 0.1760033816099167, -0.056885745376348495, 0.23778755962848663, 0.010610075667500496, 0.36375218629837036, 0.8456985950469971, 0.02241840399801731, -0.9898750185966492, 0.5556514859199524, -0.12805548310279846, 0.10965912789106369, -0.24345946311950684, -0.2674511671066284, 0.08457052707672119, 0.18061895668506622, 0.37036582827568054, -0.05375531688332558, 0.01748768240213394, -0.7402582764625549, 0.07732316106557846, 0.3823404312133789, -0.2534099221229553, -0.5170812010765076, 0.26232367753982544, 0.10604608058929443, 0.23276236653327942, 0.5277317762374878, 0.35098060965538025, -0.2973892390727997, 0.12592650949954987, 0.5205340385437012, 0.346216082572937, -0.44275251030921936, -0.012258872389793396, 0.27884745597839355, 0.15110169351100922, 0.225131556391716, 0.32290080189704895, -0.030125731602311134, -0.9216167330741882, -0.4516793489456177, -0.8910372853279114, -0.03713713958859444, 0.31826862692832947, -0.6360799670219421, 0.103487029671669, -0.3636576235294342, -0.18938753008842468, 0.1306745558977127, -0.2442695051431656, -0.9075095057487488, 0.5960267782211304, 0.5302107334136963, 0.7231519222259521, -0.8020519018173218, 0.9816007018089294, 0.6913437247276306, -0.20535263419151306, -0.5060664415359497, -0.40433698892593384, -0.09583352506160736, -0.74235600233078, 0.8779736161231995, -0.03337857127189636, -0.0421966090798378, -0.11495909094810486, -0.5427985787391663, -0.8756822347640991, 0.7785773277282715, 0.11073456704616547, -0.6895056962966919, -0.058334480971097946, 0.3764726519584656, 0.6086350679397583, -0.45545342564582825, 0.1491338461637497, 0.5063042640686035, 0.7004624009132385, -0.022146301344037056, -1.0270946025848389, -0.38288429379463196, -0.3246621787548065, 0.19952727854251862, 0.06600851565599442, -0.4640364944934845, 1.109030842781067, 0.04740208759903908, -0.030268970876932144, -0.30260199308395386, 0.3899077773094177, 0.20317219197750092, 0.20347806811332703, 0.6346889734268188, 0.41886407136917114, 0.37254777550697327, 0.20736941695213318, 0.9803697466850281, -0.2377392053604126, 0.1746816486120224, 0.9484321475028992, -0.6114712357521057, 0.8794668912887573, 0.7157768607139587, -0.3608008027076721, 0.29175126552581787, 0.33334484696388245, 0.15756332874298096, 0.3865606188774109, 0.1334083527326584, -0.25170356035232544, -0.17266517877578735, -0.42969387769699097, -0.5141829252243042, 0.846531867980957, 0.5600325465202332, -0.3620831370353699, -0.17434829473495483, 0.6262581944465637, -0.1180945485830307, -0.141567200422287, -0.3177196979522705, 0.7907935380935669, -0.1566695123910904, -0.377348929643631, 0.3882954716682434, -0.06571795791387558, 0.6356205344200134, -0.6326070427894592, 0.12845388054847717, -0.012464746832847595, 0.1465451717376709, -0.251014769077301, -0.996429979801178, 0.11871252954006195, -0.014295532368123531, -0.4359370768070221, -0.4134383499622345, 0.5356272459030151, -0.5677096247673035, -0.4387124478816986, 0.17532557249069214, 0.7765652537345886, 0.0058015333488583565, -0.11973483115434647, -0.49330830574035645, 0.5910875797271729, 0.09307991713285446, -0.45707836747169495, 0.3869085907936096, 0.4912221431732178, -0.11835681647062302, 0.7178484201431274, 0.7977219223976135, -0.07905320823192596, 0.21595166623592377, 0.30736956000328064, 0.8957086205482483, -0.747586727142334, -0.21272525191307068, -0.7067531943321228, 0.6303579211235046, 0.12803499400615692, -0.1764216423034668, 0.9636522531509399, 0.6923688054084778, 0.7795882821083069, -0.2910727262496948, 0.9349760413169861, -0.07080220431089401, 0.6387351155281067, -0.626387357711792, 0.7999652624130249, -0.49667951464653015, -0.24370263516902924, -0.28839385509490967, -0.981565535068512, -0.21140798926353455, 0.27758312225341797, -0.3053937554359436, 0.17895367741584778, 0.4345313608646393, 0.5800108909606934, -0.07452073693275452, 0.009700451046228409, 0.5305262207984924, 0.19601456820964813, 0.33895620703697205, 0.3922973573207855, 1.089985728263855, -0.1785840094089508, 0.14298808574676514, -0.12238460034132004, -0.01850106567144394, -0.15320922434329987, -0.6696788668632507, -0.8312678933143616, -0.9156525135040283, 0.12752898037433624, 0.1113794818520546, -0.5011054873466492, 0.8008171319961548, 0.7410446405410767, -0.7277939319610596, -0.3613380491733551, 0.36641737818717957, -0.2736761271953583, 0.141044020652771, -0.1841581016778946, 0.16516628861427307, -0.1309545338153839, -0.7926154732704163, 0.34395551681518555, 0.29250359535217285, 0.20522862672805786, -0.7911871075630188, -0.06200237199664116, -0.2927267551422119, -0.24740943312644958, 1.2221672534942627, -0.01365638431161642, -0.6052712202072144, -0.18683646619319916, 0.02834239788353443, -0.22121989727020264, -0.10131260007619858, 0.9574713110923767, -0.6629554033279419, 0.6932675838470459, 0.366727739572525, 0.4712328612804413, 0.3614179193973541, -0.2188616245985031, 0.591785728931427, -0.5247508883476257, 0.5038076043128967, 0.09951046854257584, 0.29547691345214844, 0.6432090997695923, 0.014799549244344234, 0.25093814730644226, 0.04048429802060127, -0.3441026210784912, -0.794743001461029, 0.19921216368675232, -1.0378750562667847, -0.18423128128051758, 1.064361333847046, 0.00365738058462739, -0.05303945392370224, -0.18226498365402222, -0.3876549005508423, -0.1236264556646347, 0.08074918389320374, 0.310345858335495, 0.9181428551673889, -0.10888130217790604, -0.3920283913612366, -0.7510861754417419, 0.2033233344554901, 0.056913912296295166, -0.8092442750930786, 0.2572091221809387, 0.8321813344955444, 0.19152198731899261, 0.22087372839450836, 0.429652601480484, -0.16234302520751953, -0.1990392804145813, -0.034080781042575836, 0.20634609460830688, 0.030647512525320053, -0.4372071921825409, -0.2964450418949127, 0.29805728793144226, 0.13006260991096497, -0.06749900430440903 ]
http://arxiv.org/abs/2405.16635v1
http://arxiv.org/pdf/2405.16635v1
Compressing Lengthy Context With UltraGist
2024-05-26T17:23:56
2024-05-26T17:23:56
Peitian Zhang, Zheng Liu, Shitao Xiao, Ninglu Shao, Qiwei Ye, Zhicheng Dou
cs.CL
cs.CL
Compressing lengthy context is a critical but technically challenging problem. In this paper, we propose a new method called UltraGist, which is distinguished for its high-quality compression of lengthy context due to the innovative design of the compression and learning algorithm. UltraGist brings forth the following important benefits. Firstly, it notably contributes to the flexibility of compression, as it can be effectively learned to support a broad range of context lengths and compression ratios. Secondly, it helps to produce fine-grained compression for the lengthy context, where each small segment of the context is progressively processed on top of a tailored cross-attention mechanism. Thirdly, it makes the training process sample-efficient and thus maximizes the use of training data. Finally, it facilitates the efficient running of compression for dynamic context, as the compression result can be progressively generated and hence incrementally updated. UltraGist is evaluated on a wide variety of tasks associated with lengthy context, such as document QA and summarization, few-shot learning, multi-session conversation, et al. Whilst the existing methods fail to handle these challenging scenarios, our approach is able to preserve a near-lossless compression performance throughout all the evaluations. Our data, model, and code have been released at \url{https://github.com/namespace-Pt/UltraGist}.
[ -0.3138396143913269, -0.47679123282432556, 0.5548322796821594, 0.07245685160160065, -0.5169087052345276, 0.10012056678533554, -0.7316679358482361, -0.5578957796096802, 0.1565554291009903, 0.2164308726787567, -0.5219592452049255, -0.39450085163116455, -0.33447474241256714, 0.051657672971487045, -0.30293649435043335, 0.8800565600395203, -0.1473861187696457, -0.27884629368782043, -0.17013539373874664, -0.3193986415863037, -0.5000016689300537, -0.6427905559539795, -0.6073831915855408, -0.41495123505592346, 0.25467801094055176, 0.3215540051460266, 0.15336734056472778, 0.4917842447757721, 0.21518264710903168, 0.2896924912929535, -0.38392356038093567, 0.14974237978458405, -0.8084574341773987, 0.5783883333206177, 0.02569887600839138, 0.027600914239883423, -0.1469390094280243, -0.2507154643535614, 0.841144859790802, 0.6638637185096741, -0.2010946124792099, 0.4920491576194763, 0.4146186113357544, 0.7574328780174255, -0.7500956654548645, 0.10467589646577835, -0.19428075850009918, 0.25518494844436646, -0.13804566860198975, -0.6468983292579651, -0.36822080612182617, 0.16129186749458313, 0.0032653866801410913, -0.6839849948883057, 0.1344836950302124, -0.23008257150650024, 0.47783228754997253, 0.5629494190216064, -0.5006884932518005, 0.19210223853588104, -0.875917911529541, 0.6398739218711853, -0.36887383460998535, 0.6001948714256287, 0.003786435117945075, 0.7366786003112793, -0.025787534192204475, -0.9873380064964294, -0.5263111591339111, 0.2177082598209381, 0.1758279949426651, 0.2071169912815094, -0.1652425080537796, 0.07363531738519669, 0.2709448039531708, 0.1717909574508667, -0.48555323481559753, 0.2470078319311142, -0.2590169310569763, -0.3169645667076111, 0.15578992664813995, 0.2983885705471039, -0.218291774392128, -0.16535550355911255, -0.7015957832336426, -0.3500465452671051, -0.4657612442970276, 0.19842974841594696, 0.16670624911785126, 0.09717230498790741, -0.14469419419765472, 0.2481810748577118, -0.7409011721611023, 0.6894283890724182, -0.19706426560878754, -0.13391506671905518, 0.2716834843158722, 0.03320838510990143, -0.267559677362442, 0.10183265060186386, 0.7058244943618774, 0.6274055242538452, -0.2653312087059021, -0.07527224719524384, -0.31596097350120544, 0.09910313040018082, 0.11916959285736084, -0.8388127088546753, -0.06300703436136246, 0.2978608012199402, -0.5231069922447205, -0.15171043574810028, -0.20188386738300323, -1.0711822509765625, -0.2543517053127289, -0.4780435562133789, 0.23676706850528717, -0.2846720516681671, 0.2836090326309204, 0.3136724829673767, 0.003530177753418684, -0.03126732259988785, 0.31576699018478394, -0.7165029048919678, -0.025581227615475655, 0.5086439847946167, 0.7478577494621277, -0.1179281696677208, -0.08424992859363556, -0.7776634693145752, 0.3792382478713989, -0.04367228224873543, 1.0547953844070435, -0.5261043906211853, -0.4245155155658722, 0.07085301727056503, -0.1376497894525528, 0.33332303166389465, -0.4116320013999939, 0.860640287399292, -0.2908005118370056, 0.12526723742485046, 0.18004369735717773, -0.5302747488021851, 0.01771937496960163, 0.35885295271873474, -0.5732108354568481, 1.148636817932129, 0.3375437259674072, -0.7071825265884399, 0.27507397532463074, -0.6067168712615967, -0.19481481611728668, 0.38807085156440735, -0.19295255839824677, -0.22403405606746674, 0.2314341962337494, 0.3103405833244324, 0.6408267617225647, -0.16108739376068115, 0.0927124172449112, -0.16411373019218445, -0.546162486076355, 0.1197885200381279, -0.45577725768089294, 0.3242012560367584, 0.1723068356513977, -0.35348325967788696, 0.14619947969913483, -0.5861766934394836, 0.048130620270967484, -0.06393624097108841, -0.8209701776504517, -0.21126240491867065, -0.3176291882991791, 0.5302548408508301, 0.3122287392616272, 0.208908811211586, -0.6734893321990967, 0.4831494688987732, -0.1374344527721405, 0.2624933123588562, 0.9043756723403931, 0.02630706876516342, 0.2348237931728363, -0.0025575533509254456, 0.5815702676773071, -0.45625054836273193, 0.4340337812900543, -0.08544887602329254, 0.1173575296998024, -0.7942541837692261, -0.2664341926574707, 0.6593953371047974, 0.2759479582309723, -0.802015483379364, 0.4863246977329254, -0.7566882371902466, -0.3117391765117645, -0.09219726920127869, 0.07839560508728027, 0.43291133642196655, 0.6318145990371704, 0.5307294726371765, -0.4373832046985626, -0.7422221899032593, -0.46656012535095215, -0.02056635171175003, 0.12890373170375824, -0.07229316979646683, 0.43138277530670166, 0.24061046540737152, -0.6449928283691406, 0.7626817226409912, -0.6907813549041748, -0.4767392873764038, -0.33042293787002563, 0.38393545150756836, 0.1590552031993866, 0.6047185063362122, 0.47548094391822815, -0.7240303754806519, -0.5025742053985596, -0.30356448888778687, -0.7072138786315918, -0.08278772979974747, -0.29627156257629395, -0.26386430859565735, 0.2609138488769531, 0.5404150485992432, -0.6633517146110535, 0.4721151888370514, 0.530545711517334, -0.07921851426362991, 0.5697939991950989, -0.24788030982017517, -0.04726727679371834, -1.2421596050262451, 0.20556175708770752, -0.15426722168922424, -0.4145725965499878, -0.5449506044387817, 0.2732636332511902, 0.11595935374498367, -0.2930825352668762, -0.7273730635643005, 0.6699376106262207, -0.49846041202545166, 0.1661607325077057, -0.30544209480285645, -0.32206299901008606, -0.20864306390285492, 0.6047792434692383, 0.10363483428955078, 0.5368109345436096, 0.5071995258331299, -0.5872514247894287, 0.41977620124816895, 0.2600952088832855, -0.46492576599121094, 0.5529206395149231, -0.45526883006095886, 0.29711058735847473, -0.09328390657901764, 0.9581265449523926, -0.558784008026123, -0.3628877103328705, -0.025521207600831985, -0.3347989320755005, 0.6037479639053345, -0.24816656112670898, -0.6973356604576111, -0.359285831451416, -0.44858062267303467, 0.6233636736869812, 0.5769471526145935, -0.7047876119613647, 0.42791786789894104, 0.29912450909614563, 0.20588348805904388, -0.6066701412200928, -0.5588265061378479, 0.22196900844573975, -0.3543523848056793, -0.020839672535657883, 0.5065945982933044, -0.2931843400001526, 0.3810657858848572, -0.20613087713718414, -0.7008932828903198, 0.02684919536113739, 0.05066521465778351, 0.36323586106300354, 0.025994468480348587, 0.2219320833683014, -0.020436985418200493, 0.11173222213983536, -0.40696313977241516, -0.19786308705806732, -0.5618748664855957, 0.6616591811180115, 0.2565031945705414, 0.06054209545254707, -0.4487393796443939, 0.5618276596069336, 0.4622781276702881, -0.011874675750732422, 0.44922158122062683, 0.760525643825531, -0.34898310899734497, -0.35767030715942383, -0.4158194363117218, -0.052253350615501404, -0.4935653805732727, 0.13554246723651886, -0.23261970281600952, -1.2807434797286987, 0.3257010281085968, -0.48833340406417847, -0.09133633226156235, 0.36129558086395264, 0.38166818022727966, -0.025708207860589027, 0.9595146179199219, 1.0396251678466797, -0.1910226196050644, 0.6373499631881714, -0.6430087685585022, 0.03884386643767357, -1.274444818496704, -0.31340116262435913, -0.5095775723457336, -0.39453673362731934, -0.2177540808916092, -0.5485800504684448, 0.8545693755149841, 0.047489266842603683, 0.14844654500484467, 0.2871943414211273, -0.7613974213600159, 0.6336190700531006, 0.35632598400115967, 0.18111227452754974, -0.1326591670513153, 0.12081428617238998, -0.07100403308868408, 0.31266796588897705, -0.6568055152893066, -0.34815770387649536, 1.0543195009231567, 0.15401387214660645, 0.882658064365387, 0.09993910044431686, 0.9962948560714722, 0.24536196887493134, -0.05411523953080177, -0.9104626178741455, 0.6560224294662476, 0.05369219183921814, -0.22007718682289124, -0.23734189569950104, -0.6090488433837891, -1.1622648239135742, -0.06969697028398514, -0.327006459236145, -0.8831279277801514, 0.31331825256347656, 0.14019623398780823, -0.7224304676055908, 0.08738621324300766, -0.19381898641586304, 0.6550196409225464, -0.10232046991586685, -0.5181138515472412, -0.16113102436065674, -1.1392167806625366, -0.03091588243842125, -0.1766364425420761, -0.10699973255395889, -0.037572212517261505, -0.14559005200862885, 0.9682934284210205, -0.14267677068710327, 0.7960120439529419, -0.14660486578941345, 0.1606517732143402, -0.05198381096124649, -0.040745582431554794, 0.18415968120098114, 0.31592461466789246, 0.11276167631149292, -0.007197135593742132, -0.00046549009857699275, -0.3918740749359131, -0.699827253818512, 0.617638111114502, -0.42802876234054565, -0.2164996862411499, -0.4523279070854187, -0.741143524646759, -0.184074267745018, 0.4797911047935486, 0.3696071207523346, 0.8528409600257874, -0.25303250551223755, 0.30408984422683716, 0.6583998203277588, -0.0626322403550148, 0.6792586445808411, 0.3682989180088043, 0.3626698851585388, -0.3561267554759979, 0.6793037056922913, -0.2682991921901703, -0.2609822452068329, 0.6534242630004883, 0.18436294794082642, -0.34052300453186035, -0.6322130560874939, -0.3538246154785156, -0.10175879299640656, -0.9632881283760071, -0.6009243726730347, -0.6846886277198792, 0.04196649417281151, -0.53891921043396, -0.22902067005634308, -0.3271641731262207, -0.5696125626564026, -0.2611093521118164, 0.2241758555173874, -0.04574228450655937, 0.4656441807746887, 0.024614037945866585, 0.14602677524089813, -1.1037155389785767, 0.4248913824558258, 0.4226062595844269, 0.3024021089076996, -0.2151636779308319, -0.3421540856361389, -0.6118761897087097, -0.22444619238376617, -0.3045627474784851, -0.6753755807876587, 0.30744314193725586, 0.48839855194091797, 0.6284566521644592, 0.46847763657569885, 0.4232051968574524, 0.8153724074363708, -0.43345025181770325, 0.7540206909179688, 0.026813829317688942, -0.7073796987533569, 0.33796772360801697, -0.15996040403842926, 0.6851060390472412, 0.9997619390487671, 0.501828670501709, -0.5442823171615601, -0.05451630800962448, -0.4973480701446533, -1.2306891679763794, 0.3210376799106598, 0.05599023401737213, 0.19347791373729706, 0.18746107816696167, 0.5424541234970093, 0.03472288325428963, 0.12426243722438812, -0.37392860651016235, 0.03440510109066963, -0.08227741718292236, -0.2693668603897095, -0.30817294120788574, -0.5220428705215454, -0.39603137969970703, -0.4902722239494324, 0.5555756688117981, -0.5926100611686707, 0.4992481470108032, 0.2885850965976715, -0.3376571238040924, 0.09360380470752716, 0.44979751110076904, 0.574701726436615, 0.5682225823402405, -0.3068462014198303, 0.29204052686691284, 0.09890548884868622, -0.23348554968833923, 0.1550644189119339, 0.5325440764427185, 0.19197779893875122, -0.05332084745168686, 0.4431976079940796, 0.8276157379150391, 0.28266289830207825, -0.9023405313491821, 0.5280759334564209, -0.2898535132408142, -0.06907645612955093, -0.27053090929985046, -0.21438290178775787, -0.383401483297348, 0.3364696204662323, 0.3126203417778015, -0.031841475516557693, 0.4793548583984375, -0.4700554609298706, 0.09479235112667084, 0.18501892685890198, -0.3885667622089386, -0.05346201732754707, 0.601301372051239, 0.2062402367591858, 0.1940491646528244, 0.5164897441864014, -0.11492175608873367, -0.9000035524368286, 0.0842282846570015, 0.40403491258621216, 0.8189008235931396, -0.0762193575501442, -0.11291157454252243, 0.04558715224266052, -0.1774599403142929, -0.16883648931980133, 0.20794038474559784, -0.8576353192329407, -0.20665577054023743, -0.5359613299369812, -0.7887843251228333, -0.4268101155757904, -0.057534363120794296, -0.6259440183639526, 0.0011497882660478354, -0.10953422635793686, -0.11944349855184555, -0.14197471737861633, 0.08638427406549454, -0.4753327965736389, 0.2922389805316925, 0.26058265566825867, 1.109399676322937, -0.5994841456413269, 0.9297430515289307, 0.8246229887008667, 0.00657289382070303, -0.8083385229110718, 0.23132754862308502, 0.06856224685907364, -0.27984490990638733, 0.398776650428772, 0.6531484127044678, -0.12134217470884323, -0.10274638235569, -0.3254047930240631, -0.5432159304618835, 1.0372669696807861, 0.4072135388851166, -0.5188368558883667, -0.06151436269283295, 0.031604524701833725, 0.7157689929008484, -0.16616031527519226, 0.044243741780519485, 0.3784710168838501, 0.3138652741909027, 0.04124876484274864, -0.8033527135848999, 0.2676181197166443, -0.4850975573062897, 0.23481673002243042, 0.5007482767105103, -0.6148163676261902, 0.3521903157234192, 0.2156062126159668, -0.22321471571922302, 0.3299655616283417, 0.6395547389984131, -0.0669841542840004, 0.24346157908439636, 0.6328319311141968, 0.8211730122566223, 0.4630783200263977, 0.09888872504234314, 1.0017716884613037, -0.6454932689666748, 0.7486445307731628, 1.1410361528396606, -0.09486997872591019, 0.7467239499092102, 0.5771581530570984, 0.31838667392730713, 0.5423224568367004, 0.834714412689209, 0.07403259724378586, 0.5428562164306641, 0.15568794310092926, -0.564620852470398, -0.2630740702152252, -0.3450110852718353, -0.34035664796829224, 0.6056966781616211, 0.04248029738664627, -0.1133425235748291, -0.1495361477136612, 0.17297638952732086, 0.015289239585399628, -0.21236556768417358, -0.05458787456154823, 0.6678253412246704, -0.0706116259098053, -0.6021878719329834, 0.875294029712677, -0.09917264431715012, 0.7837831974029541, -0.4592161476612091, 0.006770578678697348, -0.1287347823381424, 0.07456119358539581, -0.2079000622034073, -0.6604055762290955, 0.1558663696050644, -0.16108380258083344, 0.1056264117360115, -0.5508889555931091, 0.6709551215171814, -0.33348849415779114, -0.0636085644364357, 0.1015581488609314, 0.23698142170906067, 0.1312127560377121, -0.14160209894180298, -0.48947447538375854, 0.21190690994262695, -0.3024917542934418, -0.4550650119781494, 0.3710232675075531, 0.26632121205329895, -0.0014961666893213987, 0.47134050726890564, 0.7383900880813599, -0.06752298027276993, -0.26156097650527954, -0.07987874001264572, 1.2595391273498535, -0.5808132886886597, -0.7326979041099548, -0.5237705707550049, 0.4769912362098694, -0.1618620902299881, -0.4026395082473755, 0.45094573497772217, 0.8223442435264587, 0.7680466771125793, 0.185593843460083, 0.444792777299881, -0.03738236799836159, 0.1361248940229416, -0.717629611492157, 0.6207420825958252, -0.7689382433891296, 0.24704501032829285, -0.1572650820016861, -0.912375807762146, -0.5389875173568726, 0.2366458773612976, 0.2930831015110016, -0.12904812395572662, 0.9256367087364197, 0.3038742244243622, -0.45665544271469116, -0.3103780150413513, 0.09520410001277924, -0.06484203785657883, 0.34628286957740784, 0.9330241680145264, 0.6589354276657104, -0.0860753282904625, 0.7652217149734497, -0.6514385938644409, -0.39068639278411865, -0.2618178725242615, -0.8978581428527832, -0.8023570775985718, -0.6645203828811646, -0.1496456414461136, -0.23067964613437653, 0.03649211302399635, 0.9290423393249512, 1.2275274991989136, -0.1727304309606552, -0.10879567265510559, 0.17549481987953186, -0.34980496764183044, -0.3265499770641327, -0.2043348103761673, 0.4058879613876343, -0.06396698206663132, -0.6581091284751892, 0.6677239537239075, 0.27798596024513245, 0.054737914353609085, -0.05734497308731079, -0.017653385177254677, 0.16325686872005463, -0.1846148520708084, 0.7314244508743286, 0.41503268480300903, -0.07697700709104538, -0.30599507689476013, -0.41959354281425476, 0.1558232456445694, 0.10173295438289642, 0.9907705187797546, -1.1384217739105225, 0.5850533246994019, 0.6817065477371216, 0.6958615183830261, 0.8358334898948669, -0.07400468736886978, 0.4284076988697052, -0.9482058882713318, 0.44310876727104187, 0.3166731894016266, 0.4773871600627899, 0.37025246024131775, -0.6066644787788391, 0.7615982890129089, 0.06447229534387589, -0.7432903051376343, -1.0712440013885498, 0.28439706563949585, -1.4764807224273682, -0.29645660519599915, 1.0670489072799683, -0.22727039456367493, -0.24201905727386475, 0.14029893279075623, -0.22880332171916962, 0.6942150592803955, -0.5811972618103027, 0.7816693782806396, 0.11287546157836914, -0.5810455083847046, -0.11908861249685287, -0.5491475462913513, 0.45967423915863037, 0.4845501780509949, -0.8074920177459717, -0.06621406972408295, 0.5924185514450073, 0.06901675462722778, 0.17698338627815247, 0.3691151440143585, 0.06113617867231369, 0.45444828271865845, -0.48970556259155273, 0.12189041823148727, -0.1675543487071991, -0.4751878082752228, -0.711820125579834, 0.33643606305122375, -0.27842044830322266, -0.06312017142772675 ]
http://arxiv.org/abs/2405.16631v1
http://arxiv.org/pdf/2405.16631v1
Let Silence Speak: Enhancing Fake News Detection with Generated Comments from Large Language Models
2024-05-26T17:09:23
2024-05-26T17:09:23
Qiong Nan, Qiang Sheng, Juan Cao, Beizhe Hu, Danding Wang, Jintao Li
cs.CL
cs.CL, cs.CY, cs.SI
Fake news detection plays a crucial role in protecting social media users and maintaining a healthy news ecosystem. Among existing works, comment-based fake news detection methods are empirically shown as promising because comments could reflect users' opinions, stances, and emotions and deepen models' understanding of fake news. Unfortunately, due to exposure bias and users' different willingness to comment, it is not easy to obtain diverse comments in reality, especially for early detection scenarios. Without obtaining the comments from the ``silent'' users, the perceived opinions may be incomplete, subsequently affecting news veracity judgment. In this paper, we explore the possibility of finding an alternative source of comments to guarantee the availability of diverse comments, especially those from silent users. Specifically, we propose to adopt large language models (LLMs) as a user simulator and comment generator, and design GenFEND, a generated feedback-enhanced detection framework, which generates comments by prompting LLMs with diverse user profiles and aggregating generated comments from multiple subpopulation groups. Experiments demonstrate the effectiveness of GenFEND and further analysis shows that the generated comments cover more diverse users and could even be more effective than actual comments.
[ -0.4985843598842621, -0.8034371137619019, 0.7200732827186584, 0.2623165249824524, -0.47292831540107727, 0.17796660959720612, -0.3886210322380066, -0.5234547853469849, 0.2913817763328552, 0.3489219844341278, -0.6211779713630676, -0.5987712144851685, -0.39137503504753113, 0.07722524553537369, -0.5088396072387695, 0.9428433775901794, 0.29544106125831604, 0.21495486795902252, 0.038651350885629654, -0.021719705313444138, -0.08285561949014664, -0.46815335750579834, -0.3121531009674072, -0.0367930568754673, 0.4662189483642578, 0.31488311290740967, 0.5245294570922852, 0.19802679121494293, -0.18162570893764496, 0.24730776250362396, -0.06846879422664642, 0.1908094882965088, -0.40526407957077026, 0.25520744919776917, -0.3152634799480438, -0.13718250393867493, -0.21847788989543915, -0.12628775835037231, 0.6386626958847046, 0.43145546317100525, -0.06902078539133072, 0.03139983117580414, 0.22126059234142303, -0.07611189782619476, -0.4780239760875702, -0.06473055481910706, -0.4392605423927307, 0.08353429287672043, -0.03628503903746605, 0.13609226047992706, -0.41244402527809143, -0.4887152910232544, -0.042139798402786255, -0.46625226736068726, 0.4312277138233185, -0.16584986448287964, 0.7646967172622681, -0.012971889227628708, -0.20001129806041718, -0.08928950130939484, -0.9370841979980469, 0.7095158100128174, -1.0361493825912476, 0.39953625202178955, 0.11978080868721008, 0.14713208377361298, -0.11799901723861694, -0.48557794094085693, -0.845249593257904, -0.5607380270957947, -0.057140979915857315, 0.2844538688659668, -0.3041559159755707, -0.1135866716504097, 0.3591451346874237, 0.09199533611536026, -0.2989913821220398, 0.04104112833738327, -0.24437321722507477, -0.30355533957481384, 0.6635554432868958, -0.3093678057193756, 0.30146610736846924, -0.3104744851589203, -0.13420067727565765, 0.15926696360111237, -0.46965205669403076, -0.37414708733558655, 0.7320178151130676, 0.43649137020111084, -0.31641271710395813, 0.3517756164073944, -0.6017874479293823, 0.42905935645103455, -0.014285906217992306, -0.21557879447937012, 0.32757332921028137, -0.1086200624704361, -0.011875801719725132, -0.23491810262203217, 0.8888457417488098, 0.20766085386276245, 0.25314053893089294, 0.03284989297389984, -0.08217878639698029, 0.15234267711639404, 0.1477750688791275, -1.1363532543182373, -0.1685687005519867, -0.10791488736867905, -0.6652956604957581, -0.7236436009407043, 0.35023415088653564, -1.0885975360870361, -0.8558534383773804, -0.17179396748542786, 0.26009511947631836, -0.14227332174777985, -0.6860228180885315, -0.19629661738872528, -0.17150649428367615, -0.14650894701480865, 0.6654744148254395, -0.42038047313690186, 0.4242578148841858, 0.47407329082489014, 0.6898052096366882, 0.057500630617141724, 0.15172457695007324, -0.8643128871917725, -0.00699241179972887, -0.58503258228302, 0.76815265417099, -0.6935660243034363, -0.398882657289505, 0.20293724536895752, 0.06970459967851639, 0.47511330246925354, -0.5301976203918457, 0.785237193107605, -0.3304058611392975, 0.19858789443969727, -0.44939449429512024, -0.20552176237106323, -0.21999722719192505, 0.23068158328533173, -0.5353715419769287, 0.6552506685256958, 0.1466851681470871, -0.7143542170524597, 0.49206018447875977, -0.4018646478652954, -0.6068847179412842, 0.39983317255973816, -0.24435199797153473, -0.30044832825660706, 0.26225146651268005, 0.4766791760921478, 0.18368664383888245, 0.006155604496598244, 0.18127848207950592, -0.6850267052650452, -0.031631141901016235, 0.3687799870967865, -0.5572500228881836, 0.6704353094100952, 0.35972359776496887, -0.5260961055755615, 0.1968674510717392, -0.4179046154022217, -0.06089957058429718, -0.16561757028102875, -0.36152005195617676, -0.1299646496772766, -0.026557667180895805, 0.14805135130882263, 0.24084924161434174, -0.25525352358818054, -0.8572368025779724, -0.06832925975322723, -0.4318157136440277, -0.09902440011501312, 0.7579817175865173, 0.197433203458786, 0.17742082476615906, -0.2607124447822571, 0.6462485194206238, 0.18281273543834686, 0.31548434495925903, -0.30883753299713135, -0.37383899092674255, -0.8132075667381287, -0.4727656841278076, 0.36338332295417786, 0.35414138436317444, -0.7894152998924255, 0.061620812863111496, -0.11509721726179123, -0.15195298194885254, -0.7202427387237549, 0.4946090579032898, 0.2752494215965271, 0.22199608385562897, -0.04489365965127945, -0.14793264865875244, -0.9590931534767151, -0.8364796042442322, -0.35407957434654236, -0.2912418842315674, -0.13828690350055695, 0.16015732288360596, 0.29957735538482666, -0.23341862857341766, 0.8193274140357971, -0.25342318415641785, -0.16655191779136658, -0.3288026750087738, -0.06251455843448639, -0.033306438475847244, 0.10366161167621613, 0.38811174035072327, -0.6623550653457642, -0.6869838833808899, 0.025959821417927742, -0.8389185667037964, -0.4706321954727173, -0.14244282245635986, -0.06808487325906754, 0.2769598960876465, 0.7695977091789246, -0.712361216545105, 0.4401620328426361, 0.5867455005645752, 0.08862307667732239, 0.3529812693595886, 0.40261709690093994, 0.22695989906787872, -1.0475090742111206, -0.1258440911769867, -0.003101987997069955, -0.6405447125434875, -0.5407376289367676, 0.11846937239170074, -0.3225971758365631, -0.16319499909877777, -0.3381326496601105, 0.6537211537361145, -0.5851863026618958, 0.2294367402791977, -0.49830666184425354, 0.12577949464321136, -0.042195964604616165, 0.09348830580711365, -0.019738968461751938, 0.5059796571731567, 0.44831517338752747, -0.3957701325416565, 0.321207731962204, -0.0313585139811039, -0.49453482031822205, 0.5231276750564575, -0.638861894607544, 0.11001738160848618, -0.14737635850906372, 0.6003546118736267, -0.8022703528404236, -0.6871916055679321, 0.4250091016292572, -0.8311582803726196, -0.06829090416431427, -0.38748887181282043, -0.8282026052474976, -0.4574981927871704, -0.5445078015327454, -0.01815815083682537, 0.5689554810523987, -0.4917815327644348, 0.6938521862030029, 0.5071573257446289, -0.31372421979904175, -0.2820627987384796, -0.6315857768058777, 0.2664963901042938, 0.149696946144104, -0.7025375962257385, -0.16837885975837708, -0.2455301433801651, -0.6133931875228882, 0.1339699625968933, 0.013432496227324009, 0.24819904565811157, -0.14537104964256287, 0.4686296880245209, -0.02611619420349598, -0.32580330967903137, 0.4147559106349945, 0.11533834040164948, 0.2931564748287201, -0.16371947526931763, -0.1561853289604187, 0.6731617450714111, -0.11091289669275284, -0.573962390422821, -0.3616192638874054, 0.6794180274009705, 0.6927206516265869, 0.08288951218128204, 0.8089552521705627, 0.5301982760429382, -0.39801934361457825, -0.8427287936210632, -0.7966128587722778, -0.4738682806491852, -0.471916139125824, 0.2610310912132263, 0.03557803854346275, -1.1440688371658325, 0.44600537419319153, -0.13150614500045776, 0.01028646994382143, 0.3417151868343353, 0.8122724890708923, 0.13773126900196075, 1.2072635889053345, 0.7054586410522461, -0.06448592990636826, 0.4199642837047577, 0.2808627486228943, 0.3497207760810852, -0.4026571214199066, -0.2024494707584381, -0.31417903304100037, -0.04601442813873291, -0.43916231393814087, -0.4192567765712738, 0.2708055078983307, -0.01955038495361805, 0.07528591901063919, -0.06646645814180374, -0.3768081068992615, 0.3668244183063507, 0.43997621536254883, 0.39090797305107117, 0.3191283047199249, 0.2809813320636749, -0.08114618808031082, -0.07354532182216644, -0.5317594408988953, -0.27799248695373535, 0.9086798429489136, 0.39464080333709717, 0.7061593532562256, 0.14904926717281342, 0.6398155093193054, 0.6089820861816406, 1.0118743181228638, -0.6980082988739014, 0.615113377571106, -0.004674315918236971, -0.6922630667686462, -0.05279340595006943, -0.3640114367008209, -0.44352880120277405, 0.5176923274993896, -0.13817821443080902, -0.6103708744049072, 0.22833268344402313, 0.16700482368469238, -0.420156329870224, 0.493085652589798, -0.6710083484649658, 0.39436250925064087, 0.12673811614513397, -0.35191383957862854, -0.26446422934532166, -0.25576844811439514, 0.5934377312660217, -0.14732278883457184, 0.4570489227771759, -0.10319637507200241, 0.347868949174881, 0.48662710189819336, -0.7505728006362915, 1.23546302318573, -0.24217301607131958, -0.23771265149116516, 0.47573935985565186, -0.03773290663957596, 0.4258959889411926, 0.19280797243118286, -0.15254294872283936, 0.12789946794509888, -0.6625994443893433, -0.04044481739401817, -0.136060431599617, 0.9233749508857727, -0.5998244285583496, -0.8515539169311523, -0.2023186832666397, -0.39752817153930664, -0.1677388697862625, 0.34519681334495544, 0.3076096475124359, 0.18930700421333313, -0.5297284722328186, 0.24000464379787445, 0.6446701288223267, -0.2309611737728119, 0.4661044180393219, 0.7483773231506348, -0.43063753843307495, -0.5892791748046875, 0.499468594789505, 0.22401121258735657, 0.10497532784938812, -0.2132694125175476, 0.20219852030277252, -0.2918282747268677, -0.15138179063796997, -0.49477705359458923, 0.3457487225532532, -0.826696515083313, -0.2880164682865143, -0.7850428819656372, -0.3471108376979828, -0.6666563153266907, 0.05685265734791756, -0.13230738043785095, -0.15430836379528046, -0.18514741957187653, -0.3781742751598358, 0.3803744316101074, 0.5446963906288147, -0.47180619835853577, 0.4246104955673218, -0.49842286109924316, 0.6763826608657837, 0.5430478453636169, 0.46703702211380005, 0.18628565967082977, -0.7145026326179504, -0.19432778656482697, 0.2147156298160553, -0.08716362714767456, -1.069110631942749, 0.34468919038772583, -0.07645773887634277, 0.4725775122642517, 0.512739360332489, 0.399921178817749, 0.2757558822631836, -0.22631624341011047, 0.6201528906822205, 0.14324826002120972, -0.8806545734405518, 0.6322652697563171, -0.5301313996315002, 0.2227666974067688, 0.2471594512462616, 0.06467094272375107, -0.40632492303848267, -0.7673478722572327, -0.5755022168159485, -0.6011243462562561, 0.5316708087921143, 0.13592743873596191, 0.695802628993988, 0.027783051133155823, -0.21861718595027924, 0.22134025394916534, 0.3417847454547882, -1.0374315977096558, 0.18056689202785492, -0.3108243942260742, 0.012846335768699646, 0.36084267497062683, -0.558746874332428, -0.25511059165000916, -0.33207905292510986, 0.7315047979354858, -0.008351550437510014, -0.07383663207292557, 0.19405971467494965, 0.018338479101657867, -0.39779871702194214, 0.4940406382083893, 0.5979852080345154, 0.4987350404262543, 0.024044370278716087, 0.23598262667655945, 0.12595708668231964, -0.3530455529689789, -0.09256840497255325, 0.0946352481842041, -0.6795725226402283, 0.6091038584709167, 0.1630258560180664, 0.7556302547454834, -0.07572227716445923, -0.564031183719635, 0.7375014424324036, 0.2032662034034729, -0.19942322373390198, -0.47302666306495667, 0.05340816080570221, 0.2626197338104248, 0.26728445291519165, 0.438928484916687, 0.2129109501838684, -0.04316597804427147, -0.7991470694541931, 0.5279217958450317, 0.5580510497093201, -0.5790150761604309, -0.410006046295166, 0.6915160417556763, 0.3234434425830841, -0.23516196012496948, 0.2519342601299286, -0.1749030500650406, -0.6575400829315186, 0.27930352091789246, 0.4924377501010895, 1.1910401582717896, -0.5044361352920532, 0.6655067801475525, 0.20933082699775696, 0.5957375764846802, -0.16514693200588226, 0.25828883051872253, 0.048734430223703384, -0.7030170559883118, -0.5699583888053894, -0.7606196403503418, -0.3477703332901001, 0.58780837059021, -0.2812053859233856, 0.3612384498119354, -0.9178571105003357, -0.2989114820957184, -0.0008028976735658944, -0.24935348331928253, -0.2669517397880554, 0.05322874337434769, 0.4415629804134369, 0.6098114848136902, -1.0271499156951904, 0.5569968223571777, 0.30674830079078674, -0.44443798065185547, -0.5212932825088501, 0.5383914113044739, 0.19736574590206146, -0.3342549204826355, 0.4073343575000763, 0.2333720177412033, -0.20386701822280884, -0.20062397420406342, -1.1284334659576416, -0.4099523425102234, 0.08196799457073212, 0.7318291664123535, -0.6105750799179077, 0.7689948678016663, -0.00950776506215334, 0.7352604269981384, -0.26026758551597595, 0.03712618723511696, 0.04760802909731865, 0.47217586636543274, 0.11639145016670227, -0.7457473278045654, 0.3011499047279358, -0.4986228346824646, -0.13886038959026337, -0.19156676530838013, -0.8211588859558105, 0.8974986672401428, -0.3232417106628418, -0.35749924182891846, 0.08302872627973557, 0.741310179233551, 0.3014950752258301, 0.3010084629058838, 0.6030113101005554, 0.31701093912124634, 0.4882400333881378, 0.22595073282718658, 1.1345694065093994, 0.01296574529260397, 0.08976631611585617, 1.0098735094070435, -0.5540590286254883, 0.5625227093696594, 0.019274108111858368, 0.1573060005903244, 0.7689523100852966, 0.2356085628271103, -0.2889752686023712, 0.32802191376686096, 0.4594355523586273, -1.0143574476242065, -0.43025439977645874, -0.5987477898597717, -0.3418424427509308, 0.01503913477063179, 0.23538392782211304, -0.4236156940460205, -0.24308356642723083, 0.05813531577587128, 0.504059374332428, 0.308294415473938, -0.20315247774124146, 0.5032323598861694, 0.26424673199653625, -0.6356765031814575, 0.3277945816516876, 0.23801074922084808, 0.7388615608215332, -0.5998008251190186, -0.2606274485588074, -0.4978967308998108, 0.1734606921672821, -0.34957626461982727, -0.33346471190452576, -0.06716791540384293, 0.32270556688308716, -0.3992083966732025, -0.12985242903232574, 0.8623063564300537, -0.47886618971824646, -0.619610607624054, 0.28360483050346375, 0.4489937722682953, -0.10189642757177353, -0.30333787202835083, -0.21961262822151184, 0.2618025243282318, 0.19432368874549866, -0.36613988876342773, 0.1424444019794464, 0.2079789638519287, -0.22684793174266815, 0.5391658544540405, 1.1086921691894531, 0.25355762243270874, 0.1503058671951294, 0.4008377492427826, 1.1825172901153564, -0.15316756069660187, -0.5780356526374817, -0.8912205100059509, 0.3250657021999359, -0.7209312319755554, -0.06331345438957214, 1.1562938690185547, 0.481344074010849, 0.7468037605285645, -0.307859867811203, 1.3310545682907104, 0.005026574246585369, 1.0197559595108032, -0.14336024224758148, 0.8672378063201904, -0.3129783272743225, 0.2155735194683075, -0.5267233848571777, -0.7722535133361816, -0.275350421667099, 0.5110622644424438, 0.11451596021652222, 0.19719308614730835, 0.4105510711669922, 1.0598652362823486, -0.16100025177001953, -0.17386822402477264, 0.48248976469039917, 0.6707053184509277, 0.4048805832862854, -0.027510173618793488, 0.9953662157058716, -0.23237624764442444, 0.7185861468315125, 0.1636681705713272, -0.11053626239299774, -0.33266153931617737, -0.5627147555351257, -1.107771873474121, -0.03783617541193962, -0.4474044740200043, -0.6404218673706055, 0.12127762287855148, 0.44141626358032227, 0.8295414447784424, -0.9891495704650879, 0.049406640231609344, 0.033852625638246536, 0.29979217052459717, 0.20568521320819855, -0.3284020721912384, 0.27902886271476746, 0.08112578094005585, -0.6903706192970276, 0.4837551414966583, 0.09710296243429184, 0.017947562038898468, -0.4073961079120636, -0.16189299523830414, 0.2502245604991913, 0.5249457359313965, 0.5634531378746033, 0.5361973643302917, -0.8197808861732483, -0.42207545042037964, -0.12361308932304382, 0.03719417750835419, -0.3854832649230957, 0.6964858770370483, -0.9084095358848572, 0.451240211725235, 0.45948466658592224, 0.25149229168891907, 0.6802904009819031, 0.2915376126766205, 0.5235792994499207, -0.9608570337295532, 0.7139319777488708, 0.09727909415960312, 0.09042464941740036, 0.5201191902160645, -0.16269506514072418, 0.25466835498809814, 0.5342543721199036, 0.06409364938735962, -1.1427898406982422, 0.4475756883621216, -0.8786724209785461, -0.49176323413848877, 1.6148755550384521, -0.017201848328113556, 0.09789054840803146, -0.20738865435123444, -0.3576972782611847, 0.23417270183563232, -0.7084476947784424, 0.7156002521514893, 0.553074300289154, 0.3365386426448822, -0.4539014399051666, -0.7788159251213074, 0.4922095835208893, 0.2350730001926422, -0.9867616891860962, -0.05819181725382805, 0.8013416528701782, 0.48823171854019165, 0.07595281302928925, 0.9521971940994263, -0.19634565711021423, 0.2538292706012726, 0.21398040652275085, 0.0989750400185585, 0.02885015681385994, -0.3355207145214081, -0.03430695831775665, 0.41279199719429016, -0.20317675173282623, -0.1556272804737091 ]
http://arxiv.org/abs/2406.18842v2
http://arxiv.org/pdf/2406.18842v2
The global landscape of academic guidelines for generative AI and Large Language Models
2024-05-26T15:28:24
2024-06-28T02:54:06
Junfeng Jiao, Saleh Afroogh, Kevin Chen, David Atkinson, Amit Dhurandhar
cs.CY
cs.CY, cs.AI, cs.CL
The integration of Generative Artificial Intelligence (GAI) and Large Language Models (LLMs) in academia has spurred a global discourse on their potential pedagogical benefits and ethical considerations. Positive reactions highlight some potential, such as collaborative creativity, increased access to education, and empowerment of trainers and trainees. However, negative reactions raise concerns about ethical complexities, balancing innovation and academic integrity, unequal access, and misinformation risks. Through a systematic survey and text-mining-based analysis of global and national directives, insights from independent research, and eighty university-level guidelines, this study provides a nuanced understanding of the opportunities and challenges posed by GAI and LLMs in education. It emphasizes the importance of balanced approaches that harness the benefits of these technologies while addressing ethical considerations and ensuring equitable access and educational outcomes. The paper concludes with recommendations for fostering responsible innovation and ethical practices to guide the integration of GAI and LLMs in academia.
[ -0.25768154859542847, -0.6931945085525513, 0.7619923949241638, -0.10395608842372894, 0.16499833762645721, 0.3168318271636963, -0.2268866002559662, -0.5668599009513855, -0.25784993171691895, 0.2820226550102234, -0.3540518581867218, -0.23228798806667328, -0.6696023941040039, 0.1257343590259552, -0.4345090687274933, 1.0602723360061646, -0.1475924700498581, 0.3936106860637665, -0.6089065670967102, -0.13042443990707397, -0.21197760105133057, -0.6612052321434021, -0.5453495979309082, -0.2978067100048065, 0.49441418051719666, 0.22249984741210938, 0.6136924624443054, 0.2789660692214966, 0.47733357548713684, 0.25202441215515137, -0.1694217324256897, 0.07512731850147247, -0.31444498896598816, -0.051499009132385254, -0.33512499928474426, -0.29099005460739136, -0.4800468981266022, 0.25137850642204285, 0.6182658672332764, 0.7690355777740479, -0.2649966776371002, 0.14646141231060028, 0.39533108472824097, 0.36011847853660583, -0.5534783601760864, 0.026961224153637886, 0.018049856647849083, 0.17290617525577545, -0.18382398784160614, -0.16625142097473145, -0.22287794947624207, -0.5755776166915894, 0.10548893362283707, -0.5931490063667297, 0.03460918739438057, -0.29737240076065063, 0.6261468529701233, 0.07208885252475739, -0.2321104109287262, -0.5935714244842529, -0.7566481828689575, 1.0561245679855347, -0.48131510615348816, 0.1756383329629898, 0.06031481549143791, 0.09470976889133453, -0.21371616423130035, -0.6584745049476624, -0.537293553352356, 0.21159669756889343, 0.1476365029811859, 0.07848089188337326, -0.09186495840549469, 0.2593863904476166, 0.04487479850649834, 0.5371014475822449, -0.2103022187948227, 0.5383543372154236, -0.4212663173675537, 0.011933702975511551, 0.6914815306663513, 0.09136953204870224, 0.703490138053894, 0.23034194111824036, -0.039829328656196594, 0.16869960725307465, -0.7969037294387817, -0.125360369682312, 0.7937667965888977, 0.1777709275484085, -0.3062492311000824, 0.43067535758018494, 0.1981944590806961, 0.4498237073421478, -0.2488516867160797, 0.06840097159147263, 0.23292547464370728, -0.7127885222434998, -0.06159846484661102, 0.013689401559531689, 0.8764498829841614, 0.23275943100452423, 0.3643849194049835, -0.4431031346321106, 0.08179127424955368, 0.2102658599615097, 0.39854204654693604, -0.495031476020813, 0.2555742859840393, 0.3222620487213135, -0.19432266056537628, -0.263261079788208, 0.15899069607257843, -0.870876133441925, -0.4632699191570282, -0.7583010196685791, 0.15667220950126648, -0.21199645102024078, -0.2697845995426178, 0.02271738275885582, -0.2197602093219757, 0.4842321574687958, 0.38719412684440613, -1.1348861455917358, 0.0335998460650444, 1.1314692497253418, 0.6919785737991333, 0.10504268854856491, -0.16074176132678986, -0.1673431247472763, 0.29266563057899475, -0.21853628754615784, 0.19027993083000183, -0.6800593137741089, -0.8452516198158264, 0.28892818093299866, -0.18522261083126068, 0.04949887469410896, -0.18733473122119904, 0.6293668150901794, -0.17796266078948975, 0.36209723353385925, -0.28560370206832886, -0.4553370177745819, -0.21443894505500793, 0.15022005140781403, -0.3434104323387146, 0.6086609363555908, -0.031178567558526993, -0.5539523363113403, 0.252430260181427, -0.9092656970024109, -0.5658392906188965, 0.35854896903038025, -0.5992240309715271, -0.2351503074169159, -0.01720641739666462, 0.08044399321079254, 0.3867804706096649, -0.5972208380699158, 0.7998292446136475, -0.20901700854301453, -0.27210134267807007, -0.03654918819665909, -0.5298539996147156, 1.2611490488052368, 0.1499357968568802, -0.5406058430671692, 0.2965656816959381, -0.5777634382247925, 0.17415842413902283, -0.02361726388335228, -0.2897275686264038, -0.4146827757358551, 0.10737733542919159, 0.06156789883971214, 0.023766521364450455, 0.06592909246683121, -0.3360339105129242, 0.19068527221679688, -0.17956854403018951, 0.8972633481025696, 0.864425539970398, -0.07607405632734299, 0.6944577693939209, -0.3633195459842682, 0.5849546194076538, -0.42360758781433105, 0.43853724002838135, 0.12100745737552643, -0.49176254868507385, -0.6020190715789795, -0.17459912598133087, -0.03326498717069626, 0.49584120512008667, -0.4384281039237976, 0.6177927851676941, -0.18495596945285797, -0.5106943845748901, -0.9601870179176331, 0.24263246357440948, 0.20759901404380798, 0.30628126859664917, 0.18040764331817627, 0.1022300124168396, -0.5094314813613892, -0.710304319858551, -0.2653045952320099, -0.11075470596551895, -0.12744157016277313, 0.3810397982597351, 0.7113757729530334, -0.39941975474357605, 0.7176259160041809, 0.22607775032520294, -0.17213022708892822, -0.05697474256157875, 0.30843570828437805, 0.014008915051817894, 0.506618320941925, 0.4849548041820526, -0.9552492499351501, -0.2561465799808502, 0.011932446621358395, -1.2665709257125854, 0.04281727597117424, -0.18575511872768402, -0.21508516371250153, -0.04391695186495781, 0.2993125021457672, -0.5683628916740417, 0.12995262444019318, 0.34231746196746826, -0.06858701258897781, 0.2989276051521301, 0.08691710978746414, 0.5297831892967224, -0.9383733868598938, 0.12302590161561966, 0.2561061978340149, 0.25398629903793335, -0.5615158081054688, 0.3708435595035553, -0.16605162620544434, 0.10772204399108887, -0.32614824175834656, 0.5607600808143616, -0.3813064992427826, 0.19869330525398254, 0.04759420081973076, 0.31931549310684204, -0.04337100684642792, -0.21754390001296997, -0.34365513920783997, 1.2226518392562866, 0.6471073627471924, -0.6051308512687683, 0.3325017988681793, 0.5343828797340393, -0.5511444807052612, 0.8471024036407471, -0.6609904170036316, 0.06477954238653183, -0.05112054944038391, 0.29711219668388367, -0.15901829302310944, -0.2911944091320038, 0.37699273228645325, -0.3862379491329193, 0.11363618820905685, 0.11448204517364502, -0.42994847893714905, -0.34751203656196594, -0.4721781313419342, 0.542174220085144, 0.5313456654548645, -0.6817188262939453, 0.6369323134422302, 0.6948688626289368, -0.31215354800224304, -0.7879181504249573, -0.7180498242378235, 0.39312222599983215, -0.2073238343000412, -0.5545740127563477, 0.45992982387542725, 0.004006294999271631, -0.615410327911377, 0.06635241210460663, 0.29474082589149475, 0.2594897150993347, 0.3127196729183197, 0.30070939660072327, 0.4534798562526703, -0.10332582890987396, -0.2588602602481842, -0.011993661522865295, 0.008782410994172096, 0.3731025457382202, -0.3339328169822693, 0.306627482175827, -0.31791451573371887, -0.3355386555194855, -0.3369466960430145, 0.5432646870613098, 0.7436240315437317, -0.20473454892635345, 0.6595132350921631, 0.573052167892456, -0.3056910037994385, -0.09121382981538773, -0.4945008158683777, -0.05267222970724106, -0.4190061390399933, 0.1558932512998581, 0.28897586464881897, -0.9425005316734314, 0.2432696670293808, 0.11600317060947418, 0.24123485386371613, 0.36277446150779724, 0.6385493278503418, -0.07971086353063583, 1.0448726415634155, 0.7564904093742371, -0.13818834722042084, 0.38077691197395325, -0.5324382781982422, 0.6389577984809875, -1.1494340896606445, -0.6269190311431885, -0.6559749245643616, -0.18204063177108765, -0.4981337785720825, -0.20567883551120758, 0.29318517446517944, 0.04350811243057251, -0.3361800014972687, -0.43693801760673523, -0.6117146015167236, 0.4802424907684326, 0.7146866917610168, -0.3346134126186371, 0.23853431642055511, -0.0313897542655468, -0.10971693694591522, 0.10747241228818893, -0.6029614806175232, -0.9073238372802734, 1.0095160007476807, 0.2688727080821991, 0.9252191185951233, 0.16981053352355957, 0.5567901134490967, 0.31590285897254944, 0.34836137294769287, -0.7220922708511353, 0.5909439921379089, -0.18103815615177155, -0.525822639465332, -0.19866812229156494, -0.3409518003463745, -0.6125009059906006, 0.034350864589214325, -0.24140368402004242, -0.7869287729263306, 0.1655070036649704, -0.23408107459545135, -0.16580820083618164, 0.5979331731796265, -0.5491736531257629, 0.5486820340156555, -0.4236283600330353, -0.5613456964492798, -0.2887899577617645, -0.5208843946456909, 0.3555235266685486, 0.021820180118083954, 0.5067258477210999, 0.060328274965286255, 0.23777742683887482, 0.7336899042129517, -0.04391106218099594, 0.9133583307266235, 0.06432536989450455, -0.23265986144542694, 0.5542881488800049, -0.5449858903884888, 0.12056239694356918, -0.017237797379493713, -0.023797908797860146, 0.6573510766029358, -0.2601444125175476, -0.15731967985630035, -0.14081637561321259, 0.9117211103439331, -1.1033045053482056, -0.7770054936408997, -0.5818654894828796, -0.5133726000785828, -0.13097019493579865, 0.1159464418888092, 0.28669601678848267, -0.0015223564114421606, -0.3071976900100708, 0.3230970799922943, 0.7995935678482056, -0.2600906491279602, 0.20052814483642578, 0.2627793848514557, 0.12401799857616425, -0.2764272391796112, 0.8405361175537109, 0.21868760883808136, 0.19188466668128967, -0.0362512543797493, 0.03533486649394035, -0.2935731112957001, -0.47705262899398804, -0.5729864239692688, 0.18736016750335693, -0.7884286642074585, 0.07515985518693924, -0.49252474308013916, -0.643491268157959, -0.46616676449775696, -0.6463561654090881, 0.26812657713890076, 0.05486999824643135, -0.7412896156311035, -0.20644034445285797, 0.15981848537921906, 0.73734050989151, -0.0785181000828743, 0.025675565004348755, -0.6480672955513, -0.012169155292212963, 0.17712749540805817, 0.30840569734573364, 0.11201431602239609, -0.23570339381694794, 0.025402117520570755, 0.18644490838050842, -0.33041420578956604, -0.33162766695022583, -0.057654332369565964, 0.09451667219400406, 0.8843080997467041, 0.3288916051387787, -0.17218482494354248, 0.4007832109928131, -0.6016663908958435, 0.831417977809906, 0.3482273817062378, -0.7128782272338867, 0.3777483403682709, -0.4575504660606384, -0.024748021736741066, 0.2609707713127136, 0.7708117961883545, -0.729977011680603, -0.5731952786445618, -0.5335999727249146, -1.1257609128952026, 0.49064937233924866, -0.0730285793542862, 0.5387759208679199, 0.07863783836364746, 0.24707680940628052, 0.27645373344421387, 0.3161280155181885, -0.6155032515525818, -0.11895804107189178, -0.024748455733060837, -0.5235347151756287, 0.11641567200422287, -0.16305309534072876, -0.7142621874809265, -0.15828268229961395, 0.8870802521705627, 0.1720542013645172, -0.016385052353143692, -0.24015553295612335, 0.10293422639369965, -0.13241024315357208, 0.7611624598503113, 0.25211942195892334, 0.7144069075584412, 0.23171831667423248, -0.2578561305999756, -0.12840428948402405, -0.46895116567611694, 0.3441830277442932, -0.023653902113437653, -0.6245999336242676, -0.47798916697502136, 0.20865978300571442, 0.4899543225765228, -0.06226516515016556, -0.6037476062774658, 0.23318718373775482, 0.0012277313508093357, -0.4474290907382965, -0.3712162971496582, 0.4134982228279114, -0.07999353110790253, 0.12877309322357178, 0.32510054111480713, -0.07998991012573242, 0.0484171137213707, -0.6309886574745178, -0.15275752544403076, 0.6050990223884583, -0.04531913250684738, -0.19244393706321716, 0.9227531552314758, 0.5257617235183716, -0.26905474066734314, 0.7020000219345093, 0.1358860433101654, -0.16222433745861053, 0.6640851497650146, 0.5184847712516785, 0.836197018623352, -0.016978761181235313, 0.44829636812210083, 0.1324554830789566, 0.2733730673789978, -0.2751229703426361, 0.2589104175567627, 0.1777704805135727, -0.6125211119651794, -0.23953227698802948, -0.5501409769058228, -0.5978135466575623, 0.2542930245399475, -0.5723221302032471, 0.2366820126771927, -0.6245315074920654, -0.23120158910751343, 0.1929703950881958, -0.407898485660553, -0.5184038281440735, 0.01877264864742756, 0.254904180765152, 0.4791421592235565, -0.782346785068512, 0.4981726408004761, 0.8178001642227173, -0.6186559200286865, -0.48378416895866394, -0.18055322766304016, 0.37279409170150757, -0.6279040575027466, 0.30533450841903687, 0.2394806444644928, -0.2678419053554535, 0.06412247568368912, -0.5741128325462341, -0.4914719760417938, 0.9882732033729553, 0.22914187610149384, -0.5179911255836487, -0.3170376420021057, 0.16005195677280426, 0.4591482877731323, -0.20884808897972107, 0.019213255494832993, 0.5095826387405396, 0.5098651051521301, -0.06953524798154831, -0.5713551044464111, -0.3511163294315338, -0.307120144367218, -0.07459062337875366, 0.3514440953731537, -0.5721984505653381, 0.6069143414497375, -0.20106196403503418, -0.33363521099090576, 0.03924352303147316, 0.31913650035858154, 0.020144158974289894, 0.35417795181274414, -0.11265471577644348, 0.40701109170913696, 0.8556116223335266, -0.4258507788181305, 0.9835867881774902, -0.41865187883377075, 0.12323593348264694, 0.5222229361534119, -0.21233569085597992, 0.41847461462020874, 0.41405558586120605, -0.3190978169441223, 0.4410553574562073, 0.478154718875885, -0.4928542375564575, 0.19292882084846497, 0.08499563485383987, -0.6092636585235596, 0.08406378328800201, -0.5521044731140137, -0.5207056999206543, 0.2505791485309601, 0.7522061467170715, -0.2443034052848816, 0.004562166053801775, 0.06741157919168472, 0.09590067714452744, 0.3131651282310486, -0.5905450582504272, 0.5570494532585144, 0.14676544070243835, -0.6255417466163635, -0.05347901210188866, 0.030176499858498573, 0.8837774991989136, -0.41508767008781433, -0.04773076996207237, 0.08185359090566635, -0.03336811810731888, -0.32980385422706604, -0.9341338872909546, 0.21928758919239044, 0.32467928528785706, -0.16788652539253235, -0.3465019166469574, 0.32242241501808167, -0.29014936089515686, -0.5656834840774536, 0.17943108081817627, 0.4577631950378418, -0.22864441573619843, 0.6715842485427856, -0.598476767539978, -0.0594194158911705, -0.17384320497512817, 0.2714916169643402, 0.46636542677879333, 0.34367382526397705, -0.120440773665905, 0.8172856569290161, 0.582099437713623, 0.10060202330350876, -0.08409937471151352, 0.3146399259567261, 0.5729426145553589, -0.27916449308395386, -0.42416828870773315, -0.8815418481826782, 0.47913894057273865, -0.07497407495975494, -0.40674665570259094, 0.6519160866737366, 0.17664189636707306, 0.9897786378860474, 0.18763962388038635, 1.201130986213684, -0.1809340864419937, -0.0455472394824028, -0.5186850428581238, 0.8422443270683289, -0.45027264952659607, 0.34882086515426636, -0.044788818806409836, -0.6578471660614014, -0.3165009617805481, 0.6210570931434631, -0.44679805636405945, 0.46723276376724243, 0.19561241567134857, 0.25330570340156555, 0.29938799142837524, 0.2077151983976364, -0.018220989033579826, 0.03059002384543419, 0.5421559810638428, 0.24686650931835175, 0.8882972598075867, -0.08045651763677597, 0.27888384461402893, 0.145783931016922, -0.14049899578094482, -0.2004556953907013, -0.7511131763458252, -0.679696798324585, -0.3406652510166168, -0.3583374619483948, -0.14868515729904175, 0.19674052298069, 0.7513720989227295, 0.3139205574989319, -0.7999401092529297, -0.22647354006767273, -0.3186381161212921, 0.19593968987464905, 0.028762882575392723, -0.26720285415649414, 0.17405371367931366, -0.24453788995742798, -0.9659505486488342, 0.1353202760219574, 0.39683011174201965, 0.23360835015773773, -0.5787373781204224, -0.15349826216697693, -0.21232615411281586, 0.15508627891540527, 0.5087162256240845, 0.4686628580093384, -0.8173903822898865, -0.3422679305076599, -0.25257551670074463, -0.2792840600013733, -0.14675839245319366, 0.6110537648200989, -0.38153186440467834, 0.3698950409889221, 0.11818624287843704, 0.925392746925354, -0.3930497467517853, -0.14929914474487305, 0.7418293356895447, -0.3588283658027649, 0.031931422650814056, 0.5555683970451355, 0.28374940156936646, 0.447315514087677, -0.3483301103115082, 0.6976927518844604, 0.06365568935871124, -0.7982124090194702, -1.050445795059204, 0.15974624454975128, -0.49497920274734497, -0.15173186361789703, 1.0025790929794312, -0.11705012619495392, -0.09636489301919937, -0.10195022821426392, 0.08339393138885498, 0.28635331988334656, -0.04742009937763214, 0.9135144948959351, 0.8360673785209656, -0.02475215122103691, 0.0677238404750824, -0.9098585247993469, 0.3774451017379761, 0.15813499689102173, -0.916212797164917, -0.05175797641277313, 0.505977213382721, 0.026167096570134163, 0.15294179320335388, 0.26141682267189026, -0.3803251385688782, 0.17994149029254913, -0.09756738692522049, 0.13060258328914642, 0.007166916038841009, -0.5987916588783264, -0.37671932578086853, -0.059044599533081055, 0.03521179035305977, 0.16745223104953766 ]
http://arxiv.org/abs/2405.16584v1
http://arxiv.org/pdf/2405.16584v1
MentalManip: A Dataset For Fine-grained Analysis of Mental Manipulation in Conversations
2024-05-26T14:27:48
2024-05-26T14:27:48
Yuxin Wang, Ivory Yang, Saeed Hassanpour, Soroush Vosoughi
cs.CL
cs.CL
Mental manipulation, a significant form of abuse in interpersonal conversations, presents a challenge to identify due to its context-dependent and often subtle nature. The detection of manipulative language is essential for protecting potential victims, yet the field of Natural Language Processing (NLP) currently faces a scarcity of resources and research on this topic. Our study addresses this gap by introducing a new dataset, named ${\rm M{\small ental}M{\small anip}}$, which consists of $4,000$ annotated movie dialogues. This dataset enables a comprehensive analysis of mental manipulation, pinpointing both the techniques utilized for manipulation and the vulnerabilities targeted in victims. Our research further explores the effectiveness of leading-edge models in recognizing manipulative dialogue and its components through a series of experiments with various configurations. The results demonstrate that these models inadequately identify and categorize manipulative content. Attempts to improve their performance by fine-tuning with existing datasets on mental health and toxicity have not overcome these limitations. We anticipate that ${\rm M{\small ental}M{\small anip}}$ will stimulate further research, leading to progress in both understanding and mitigating the impact of mental manipulation in conversations.
[ -0.479705810546875, -1.0003888607025146, 0.29720374941825867, 0.13927105069160461, 0.05908501148223877, 0.09211927652359009, -0.07377883046865463, -0.30630919337272644, 0.2905222177505493, 0.6814900040626526, -0.8832864165306091, -0.16986653208732605, -0.9580516815185547, 0.16477946937084198, -0.2528032064437866, 0.9611477255821228, 0.16682294011116028, 0.07954521477222443, -0.1597135365009308, -0.026990486308932304, -0.6455877423286438, -0.6865798830986023, -0.3735780715942383, -0.5306050181388855, 0.29229623079299927, 0.22920915484428406, 0.9560830593109131, 0.5151764750480652, 0.7729961276054382, 0.2964232265949249, 0.03165211156010628, 0.35273468494415283, -0.39719879627227783, 0.04766630753874779, -0.41058406233787537, -0.38017353415489197, -0.5871879458427429, 0.3269236087799072, 0.2657351791858673, 0.61485755443573, -0.27994653582572937, 0.16775467991828918, 0.12571094930171967, 0.6636961102485657, -0.8003726601600647, 0.17362189292907715, -0.7109642028808594, 0.2887181043624878, -0.4120640158653259, -0.4877404570579529, -0.37702301144599915, 0.07661284506320953, -0.2259303778409958, -0.26866939663887024, -0.2707217335700989, 0.03299647942185402, 0.7985607385635376, 0.5044853687286377, -0.11292117089033127, -0.198260098695755, -0.8957874774932861, 0.6354359984397888, -0.4994896352291107, -0.04347663000226021, 0.9461005926132202, 0.3137759864330292, -0.1768866628408432, -0.35187798738479614, -0.5720977783203125, -0.11227299273014069, -0.19383715093135834, -0.08797773718833923, -0.6334220170974731, 0.24246779084205627, 0.5058435201644897, 0.14575697481632233, -0.27267107367515564, 0.12401995807886124, -0.45899105072021484, -0.2768731713294983, 0.5086944699287415, 0.7358145713806152, 0.5258414149284363, -0.3890964984893799, -0.19428376853466034, 0.10037924349308014, -0.31088683009147644, -0.06710777431726456, 0.5894462466239929, 0.2789379358291626, -0.15057802200317383, 1.1370714902877808, -0.05365915969014168, 0.7511327862739563, 0.11964157968759537, -0.2229921668767929, -0.15352998673915863, -0.3052852749824524, -0.38308343291282654, -0.10966279357671738, 0.8916575908660889, 0.9686592817306519, 0.5414147973060608, 0.06590422987937927, 0.07078278809785843, 0.1533728390932083, 0.610719621181488, -0.8048418164253235, -0.3692359924316406, 0.25756052136421204, -0.4111780524253845, -0.24710801243782043, 0.0335334837436676, -0.7244200706481934, -0.5739427804946899, -0.5605515241622925, 0.2831999361515045, -0.8495550155639648, -0.2841687500476837, 0.2117205560207367, -0.159107506275177, -0.24483874440193176, 0.1624707579612732, -0.8806824684143066, 0.5891326665878296, 0.7845588326454163, 1.083646535873413, -0.0974557101726532, -0.3817942440509796, -0.3319184184074402, 0.2047656923532486, -0.20613986253738403, 0.8759885430335999, -0.9487910866737366, -0.0905652716755867, -0.26695799827575684, -0.1217893436551094, -0.2676777243614197, -0.8772275447845459, 0.3436518907546997, 0.09913846105337143, 0.4572201669216156, -0.15041384100914001, -0.3407624363899231, -0.2537461221218109, 0.39161795377731323, -0.4108290672302246, 0.5683078169822693, 0.3199751079082489, -1.1513162851333618, 0.13310816884040833, -0.7316185235977173, -0.008074923418462276, -0.20242249965667725, -0.17399735748767853, -0.12829208374023438, 0.023091508075594902, 0.15348884463310242, 0.38208290934562683, -0.30603817105293274, 0.42103105783462524, -0.40000948309898376, -0.4424853026866913, 0.3620929718017578, -0.5950013399124146, 0.9495276808738708, 0.10379313677549362, 0.1813989132642746, 0.14494378864765167, -0.5866031050682068, -0.24268002808094025, -0.025417212396860123, 0.08482019603252411, -0.5105213522911072, -0.12874217331409454, -0.042162422090768814, 0.6715376973152161, 0.13601437211036682, -0.6310103535652161, 0.2762638032436371, -0.3350561559200287, 0.11687316000461578, 0.6083272099494934, 0.16150204837322235, 0.26834315061569214, -0.5509001612663269, 0.6328102350234985, 0.06551094353199005, 0.29163500666618347, 0.14787696301937103, -0.1491660624742508, -0.2780361473560333, -0.6374152898788452, 0.008368074893951416, 0.8402112126350403, -0.837913990020752, 0.47676512598991394, -0.16842155158519745, -0.4501765966415405, -0.6726464033126831, -0.09829790145158768, 0.38677918910980225, 0.5515385866165161, 0.5668654441833496, -0.40127426385879517, -0.7106614708900452, -1.3784500360488892, -0.38007432222366333, -0.09227973967790604, -0.40975362062454224, 0.29176512360572815, 0.25085029006004333, -0.25283822417259216, 1.1772669553756714, -0.41792628169059753, -0.7577358484268188, -0.17852813005447388, 0.43321195244789124, 0.05950909107923508, 0.293980211019516, 0.45969876646995544, -0.2953098714351654, -0.39094483852386475, -0.10671454668045044, -0.9246031045913696, -0.4483336806297302, -0.18735413253307343, -0.2726803123950958, -0.3441571295261383, 0.39372196793556213, -0.7076410055160522, 0.3251890540122986, 0.3958668112754822, -0.5123142004013062, 0.6717514991760254, 0.0732373595237732, 0.2145886868238449, -0.713513970375061, -0.05510064959526062, -0.06624409556388855, 0.06324566900730133, -0.7629912495613098, -0.25913816690444946, -0.21519629657268524, -0.03960943967103958, -0.611487865447998, 0.1648314744234085, -0.09912040084600449, 0.32704222202301025, -0.4968269169330597, -0.07718323171138763, -0.3835698068141937, 0.5963122844696045, -0.22266782820224762, 0.7247161865234375, 0.26070255041122437, -0.19811801612377167, 0.29333317279815674, 0.24991479516029358, 0.07168582826852798, 0.9145134091377258, -0.28693246841430664, 0.20361365377902985, -0.281326562166214, -0.06373602896928787, -0.43125227093696594, -0.3141447901725769, 0.6077253818511963, -0.2512197494506836, 0.3344063460826874, -0.2800285518169403, -0.7104710936546326, 0.1253417283296585, -0.38832899928092957, 0.09486754238605499, -0.07659848779439926, -0.06921911239624023, 0.3729487657546997, 0.8164248466491699, -0.46926817297935486, -0.45098891854286194, -0.13109421730041504, 0.3679235577583313, -0.4548162817955017, -0.3775704503059387, 0.3133525848388672, 0.10168324410915375, -0.6790669560432434, -0.2836310863494873, 0.04119729623198509, -0.0195000059902668, -0.08472627401351929, 0.46429917216300964, 0.20200443267822266, 0.3561059236526489, 0.11210484057664871, 0.2519126832485199, -0.37411677837371826, 0.45001423358917236, 0.5527476072311401, 0.988007664680481, -0.025748053565621376, -0.13786427676677704, -0.43949657678604126, 0.4441539943218231, 0.6178362369537354, -0.2196805477142334, 0.6837668418884277, 0.5636053681373596, -0.6227279901504517, 0.31440961360931396, -0.16129307448863983, -0.1832556277513504, -0.44304725527763367, 0.5316358804702759, -0.3531775176525116, -0.612095296382904, 0.18988415598869324, -0.14853444695472717, -0.14560401439666748, 0.125062957406044, 0.718984842300415, -0.07628568261861801, 1.3332979679107666, 0.49938544631004333, -0.38379210233688354, 0.5276098251342773, -0.10041859745979309, 0.14430665969848633, -0.8652383089065552, -0.08085436373949051, -0.15764281153678894, -0.4541109502315521, -0.3954027593135834, -0.3756825029850006, 0.20816367864608765, 0.03162027522921562, -0.2898487150669098, 0.40118446946144104, -0.48042431473731995, 0.44340622425079346, 0.1288291960954666, 0.11230802536010742, 0.5119378566741943, 0.018239807337522507, 0.06998483091592789, -0.6217708587646484, -0.33311212062835693, -0.8705353736877441, 0.9615035653114319, 0.4760807156562805, 0.6338379383087158, 0.1271335780620575, 0.16913975775241852, 0.32149645686149597, 0.4364137351512909, -0.8126286864280701, 0.7378015518188477, 0.03385581448674202, -0.5691686272621155, -0.10188020765781403, -0.2420176863670349, -1.0127627849578857, 0.3430725038051605, -0.40385475754737854, -1.2800321578979492, 0.06186673417687416, -0.19169700145721436, -0.20494060218334198, 0.4450862407684326, -0.6587734818458557, 0.5504348874092102, 0.08532781898975372, -0.21291710436344147, -0.4646800756454468, -0.5645817518234253, 0.5632280707359314, -0.08103100210428238, 0.15690794587135315, -0.606855571269989, 0.2103353887796402, 0.666436493396759, -0.4526959955692291, 0.7180068492889404, -0.24584968388080597, -0.06977035105228424, 0.04253862425684929, 0.5442849397659302, 0.051759567111730576, 0.05912281200289726, -0.0008724561193957925, 0.22274646162986755, 0.123686783015728, -0.157597154378891, -0.8410084843635559, 0.2265487015247345, -0.4227485656738281, -0.4460395276546478, -0.26876625418663025, -1.002886414527893, -0.3304629325866699, 0.04670904949307442, 0.21719110012054443, 0.27999261021614075, 0.1596054881811142, 0.0959990993142128, 0.08478615432977676, -0.08829887956380844, 0.3028668463230133, 0.4357183873653412, -0.39105871319770813, -0.30152690410614014, 0.9893808364868164, 0.29485294222831726, 0.07272016257047653, 0.21191853284835815, 0.14270204305648804, 0.21492448449134827, -0.39564231038093567, -0.08710876107215881, 0.3328961133956909, -0.18038369715213776, -0.31392496824264526, -0.7698809504508972, -0.2129954695701599, 0.10864477604627609, 0.23689760267734528, -0.5352510213851929, -0.3778708279132843, -0.1132410392165184, -0.1762446165084839, 0.18389001488685608, 0.3488135039806366, -0.1259588897228241, 0.4494781494140625, -0.6006227731704712, 0.4284157454967499, 0.11228073388338089, 0.31317076086997986, -0.19715280830860138, -0.4151006042957306, -0.29527929425239563, 0.17168420553207397, -0.6474161148071289, -1.1778037548065186, 0.8324927687644958, 0.1193220466375351, 0.1391695737838745, 0.503413736820221, 0.3572542071342468, 0.6973840594291687, -0.47509852051734924, 0.48423266410827637, -0.026130080223083496, -0.7368380427360535, 0.8944591283798218, -0.497683584690094, 0.07002662122249603, 0.5798338055610657, 0.6975887417793274, -0.673798680305481, -0.831640362739563, -0.799354612827301, -0.5592389702796936, 0.730597198009491, 0.2455822080373764, 0.18639810383319855, -0.10805471241474152, -0.05555444210767746, 0.2599056363105774, 0.5052622556686401, -0.38349178433418274, -0.2788303792476654, 0.24711638689041138, -0.21515409648418427, 0.19702774286270142, -0.04453741014003754, -0.5451247096061707, -0.5484365224838257, 0.34490346908569336, -0.07405826449394226, 0.6219413876533508, -0.005967287812381983, -0.2641243040561676, -0.21769143640995026, 0.15896856784820557, 0.2755507528781891, 0.5084109306335449, -0.5936540961265564, 0.12746113538742065, 0.03622724488377571, -0.78056401014328, -0.010667163878679276, 0.1008235290646553, 0.11539185792207718, -0.1389491707086563, 0.288847953081131, 0.6385118961334229, -0.1379900574684143, -1.027637243270874, 0.45690271258354187, -0.046956617385149, -0.02337726764380932, -0.05040786787867546, 0.2339903563261032, -0.527662992477417, 0.4123651683330536, 0.10451474785804749, 0.3283267319202423, 0.404410183429718, -0.6798036694526672, 0.36759454011917114, 0.4426971673965454, -0.4706023037433624, -0.37372323870658875, 0.25943616032600403, -0.31677767634391785, -0.681656539440155, 0.8640137314796448, -0.19330660998821259, -0.3702174723148346, -0.004331715404987335, 0.4381959140300751, 0.5372725129127502, 0.039651498198509216, 0.2448679804801941, 0.13691385090351105, 0.37743207812309265, 0.3799184560775757, 0.3439549207687378, -0.010128943249583244, -1.0279237031936646, -0.3507864475250244, -0.19537167251110077, -0.7160593867301941, 0.3528406322002411, -1.0359243154525757, 0.22291947901248932, -0.7371141910552979, -0.40208351612091064, 0.03169940412044525, -0.06508410722017288, -0.4517575800418854, -0.10791364312171936, 0.14982980489730835, 0.6379726529121399, -1.026648998260498, 0.7069914937019348, 0.5788503289222717, -0.263813316822052, -0.3262118995189667, -0.06233930215239525, 0.2829296588897705, -0.5829077363014221, 0.3170342445373535, 0.3119792938232422, -0.05372055247426033, -0.25466296076774597, -0.7007876634597778, -0.4434546232223511, 0.6474014520645142, 0.680450439453125, -0.049165986478328705, -0.042320359498262405, 0.13489669561386108, 0.5947862267494202, -0.23720185458660126, 0.37331342697143555, 1.1387537717819214, 0.41671261191368103, -0.358173668384552, -1.0577805042266846, 0.05142999440431595, -0.607825517654419, -0.3528749644756317, 0.4608558118343353, -0.5125210881233215, 0.5805233120918274, 0.010845808312296867, -0.1600167453289032, -0.3519345223903656, 0.25573721528053284, 0.44685134291648865, 0.2850814461708069, 0.40704432129859924, 0.412780225276947, 0.6389482617378235, -0.15293850004673004, 0.8633084893226624, -0.09937833249568939, 0.27837011218070984, 1.2167872190475464, -0.032371506094932556, 0.9078865051269531, 0.7839170098304749, -0.43273937702178955, 0.4276961386203766, 0.3685048818588257, -0.12738046050071716, 0.39199063181877136, 0.08185465633869171, -0.12338501960039139, -0.1733444631099701, -0.45381036400794983, 0.071929432451725, 0.8753916621208191, 0.8160313963890076, -0.1675170361995697, -0.1488969326019287, 0.3529012203216553, 0.2696455419063568, -0.004178913775831461, -0.12324868142604828, 0.7459825873374939, -0.02324860543012619, -0.3063802421092987, 0.322054922580719, 0.04688136279582977, 0.836382269859314, -0.3936520218849182, -0.055497653782367706, 0.06292758882045746, 0.004168190062046051, -0.24690507352352142, -0.8014060258865356, 0.7954276204109192, -0.057193901389837265, -0.0538669154047966, -0.30119234323501587, 0.9226707220077515, -0.2967621982097626, -0.20761428773403168, 0.2190137356519699, 0.645836353302002, 0.23560602962970734, -0.37977030873298645, -0.7269400954246521, -0.23584720492362976, -0.16253474354743958, -0.04340336471796036, 0.742611825466156, 0.43780145049095154, 0.07904514670372009, 0.8930176496505737, 0.5162132978439331, 0.256024569272995, -0.17616328597068787, -0.001740982523187995, 0.7131824493408203, -0.6923596858978271, -0.22106292843818665, -0.9841739535331726, 0.5016364455223083, -0.33171147108078003, -0.44392356276512146, 0.7497713565826416, 0.4764867424964905, 0.7575002908706665, -0.01704319939017296, 0.23205776512622833, 0.01805759035050869, 0.6039456725120544, -0.36846765875816345, 0.5335338115692139, -0.10015203803777695, 0.32472503185272217, -0.5640789866447449, -0.712430477142334, -0.35215991735458374, 0.8504001498222351, -0.411083847284317, -0.26176413893699646, 0.5462769865989685, 0.8279891610145569, -0.012070508673787117, 0.21768805384635925, 0.2990230917930603, 0.23505444824695587, 0.21223847568035126, 0.31315210461616516, 0.9933517575263977, -0.2657453417778015, 0.29229262471199036, -0.6960974335670471, -0.2594251334667206, 0.04648681357502937, -0.6974970698356628, -0.8409199714660645, -0.3481326997280121, -0.2490455061197281, -0.11989801377058029, -0.061559077352285385, 1.291660189628601, 0.5070966482162476, -0.4638327360153198, -0.35690417885780334, 0.13443009555339813, 0.013937652111053467, -0.5924017429351807, -0.2891363501548767, 0.07042620331048965, -0.16085554659366608, -0.9238767623901367, 0.44140005111694336, 0.805925726890564, -0.018788425251841545, -0.15783852338790894, 0.20569033920764923, -0.27636078000068665, 0.05729762092232704, 0.8553133606910706, -0.0031183799728751183, -0.48033607006073, -0.13072428107261658, -0.1276589035987854, 0.12255552411079407, 0.15435342490673065, 0.9242314696311951, -0.6430940628051758, 0.5190821886062622, 0.2675565481185913, 0.4587520360946655, 0.11031976342201233, 0.1305912584066391, 0.7912209630012512, -1.0535646677017212, 0.13227030634880066, 0.32497888803482056, 0.2770509123802185, 0.11827146261930466, -0.426743745803833, 0.42985284328460693, 0.11373434215784073, -0.24071745574474335, -0.9486895203590393, 0.1427329033613205, -0.8927352428436279, -0.3474719226360321, 0.8880274295806885, 0.241032212972641, 0.03066400997340679, -0.43081599473953247, -0.839971661567688, 0.1494632512331009, -0.28239962458610535, 0.9463430643081665, 0.9948654770851135, -0.6397656798362732, -0.27668964862823486, -0.8007397651672363, 0.3480854034423828, 0.4149908423423767, -0.8497850298881531, 0.42718806862831116, 0.38734573125839233, -0.11564009636640549, 0.30407193303108215, 0.5209693908691406, -0.31549057364463806, -0.04497421905398369, -0.01078385766595602, -0.10482892394065857, -0.2853360176086426, -0.46851322054862976, -0.3842499256134033, 0.3195457458496094, -0.2932136356830597, -0.08408831804990768 ]
http://arxiv.org/abs/2405.16579v1
http://arxiv.org/pdf/2405.16579v1
Automatically Generating Numerous Context-Driven SFT Data for LLMs across Diverse Granularity
2024-05-26T14:14:18
2024-05-26T14:14:18
Shanghaoran Quan
cs.CL
cs.CL
Constructing high-quality query-response pairs from custom corpus is crucial for supervised fine-tuning (SFT) large language models (LLMs) in many applications, like creating domain-specific AI assistants or roleplaying agents. However, sourcing this data through human annotation is costly, and existing automated methods often fail to capture the diverse range of contextual granularity and tend to produce homogeneous data. To tackle these issues, we introduce a novel method named AugCon, capable of automatically generating context-driven SFT data across multiple levels of granularity with high diversity, quality and fidelity. AugCon begins by generating queries using the Context-Split-Tree (CST), an innovative approach for recursively deriving queries and splitting context to cover full granularity. Then, we train a scorer through contrastive learning to collaborate with CST to rank and refine queries. Finally, a synergistic integration of self-alignment and self-improving is introduced to obtain high-fidelity responses. Extensive experiments are conducted incorporating both human and automatic evaluations, encompassing a test scenario and four widely-used benchmarks in English and Chinese. The results highlight the significant advantages of AugCon in producing high diversity, quality, and fidelity SFT data against several state-of-the-art methods. All of our code, dataset, and fine-tuned model will be available at: https://github.com/quanshr/AugCon.
[ -0.6891833543777466, -1.0514367818832397, 0.14815787971019745, 0.2017209529876709, 0.026298588141798973, 0.008974315598607063, -0.3843545615673065, -0.4141048491001129, 0.2323925942182541, 0.4852101504802704, -0.42980605363845825, -0.5673925280570984, -0.09173573553562164, 0.35645827651023865, -0.5767273306846619, 0.9356291890144348, -0.07204504311084747, -0.20631937682628632, -0.32696375250816345, -0.1717461198568344, -0.22328054904937744, -0.43009695410728455, -0.6794254779815674, 0.10882307589054108, 0.21874451637268066, 0.38136428594589233, 0.5561967492103577, 0.7184035181999207, 0.43157851696014404, 0.3628697395324707, 0.08218667656183243, 0.7064067721366882, -0.5051805377006531, 0.258694589138031, -0.07434146851301193, -0.24241013824939728, -0.2536461055278778, -0.0642707422375679, 0.691387414932251, 0.6744728088378906, -0.067779041826725, -0.09513627737760544, 0.19385431706905365, 0.45540329813957214, -0.44928520917892456, 0.013229514472186565, -0.9146599173545837, -0.1100461408495903, -0.09329874068498611, -0.4171372950077057, -0.20174764096736908, -0.16868776082992554, -0.04655661806464195, -0.6701636910438538, 0.3937930762767792, 0.10248202830553055, 0.7704331278800964, 0.5236786603927612, -0.5662224888801575, -0.18111400306224823, -0.35133054852485657, 0.5184057950973511, -0.710986852645874, 0.3191588819026947, 0.4382694959640503, 0.2086549997329712, -0.3197903633117676, -0.6927210092544556, -0.3157320022583008, -0.26601970195770264, -0.4192551076412201, 0.13670994341373444, 0.39708226919174194, -0.05916333943605423, 0.14707821607589722, 0.5863136053085327, -0.44667455554008484, 0.09842964261770248, -0.26257821917533875, -0.28791460394859314, 0.9624902606010437, 0.32255950570106506, 0.156963050365448, -0.21391046047210693, -0.29284387826919556, 0.18888749182224274, -0.604972779750824, 0.22262844443321228, 0.44245171546936035, 0.4600079655647278, -0.004379570949822664, 0.38949722051620483, -0.6836703419685364, 0.7666859030723572, 0.4090646803379059, -0.10205697268247604, 0.2868994176387787, -0.8587774038314819, -0.04310071840882301, -0.2283223420381546, 1.0797126293182373, 0.09220138192176819, 0.02215542644262314, -0.3186805248260498, -0.39875176548957825, -0.2774657607078552, 0.23936080932617188, -0.9978229403495789, -0.29381486773490906, 0.23859326541423798, -0.1022026464343071, -0.301679402589798, 0.0493948832154274, -0.45104843378067017, -0.08820861577987671, -0.5550480484962463, 0.14634466171264648, -0.5794060826301575, -0.0422428622841835, -0.2670098841190338, 0.2667897343635559, 0.261810302734375, 0.45295894145965576, -0.9362457990646362, 0.31119614839553833, 0.5356505513191223, 0.7656849026679993, -0.5693225860595703, -0.44893476366996765, -0.8625478744506836, -0.07056425511837006, -0.5388636589050293, 0.7656479477882385, -0.5246788859367371, -0.33481934666633606, -0.10644795745611191, 0.003571396227926016, -0.045213352888822556, -0.4472109079360962, 0.41965946555137634, -0.2809296250343323, 0.3797547519207001, -0.19129227101802826, -0.3904149532318115, 0.19344422221183777, 0.4900442063808441, -0.4550407826900482, 1.3100733757019043, 0.2523230016231537, -0.8625842332839966, 0.32866236567497253, -0.5692364573478699, -0.7441444396972656, 0.17215131223201752, -0.5481013655662537, -0.11249303817749023, 0.14661017060279846, 0.6035753488540649, 0.3319169580936432, -0.11768385767936707, 0.24591811001300812, -0.1306474655866623, -0.3216884732246399, 0.08573770523071289, -0.3742048442363739, 0.5296267867088318, 0.20500782132148743, -0.19074177742004395, 0.2495981901884079, -0.7456993460655212, -0.04347582906484604, -0.04221545532345772, -0.5094717741012573, -0.3203638792037964, 0.007139549590647221, 0.02717452310025692, 0.3738328516483307, 0.39148974418640137, -0.39576998353004456, 0.2619457244873047, -0.6068605780601501, 0.5994055867195129, 0.5922231674194336, 0.006657200865447521, 0.3966507315635681, -0.11014765501022339, 0.4234643876552582, 0.06800761818885803, 0.07903178781270981, -0.6362616419792175, -0.09177114814519882, -0.5855870246887207, -0.24339014291763306, 0.14142298698425293, 0.4067814350128174, -0.7665795087814331, 0.5152704119682312, -0.20564714074134827, -0.23243364691734314, -0.6035106778144836, 0.2155313789844513, 0.2023286670446396, 0.747462272644043, 0.3365112543106079, -0.3957420289516449, -0.30995264649391174, -0.9526965618133545, -0.03502523899078369, 0.03639310225844383, 0.0417221263051033, 0.7731695175170898, 0.4079102575778961, -0.22967760264873505, 1.1975576877593994, -0.4251954257488251, -0.3886195719242096, 0.25901976227760315, 0.21637463569641113, -0.07762382924556732, 0.5388805866241455, 0.5890206098556519, -0.8686489462852478, -0.4979551434516907, 0.37541699409484863, -0.4713514745235443, -0.4297311305999756, -0.15889905393123627, -0.46777844429016113, 0.2622224688529968, 0.6351820826530457, -0.14724509418010712, 0.08237752318382263, 0.4957173764705658, -0.30976587533950806, 0.6661961078643799, -0.004893575794994831, 0.6067121028900146, -1.388167142868042, 0.11337317526340485, -0.10583607107400894, -0.4106237590312958, -0.30918750166893005, 0.15546272695064545, -0.010180093348026276, 0.19662803411483765, -0.42820411920547485, 0.42555826902389526, -0.28138938546180725, -0.025234520435333252, -0.2922702729701996, 0.08697012811899185, 0.010736439377069473, 0.5399312973022461, 0.012222823686897755, 1.1757134199142456, 0.22359338402748108, -0.5496352314949036, 0.37899357080459595, 0.479326069355011, -0.1085440143942833, 0.7495654225349426, -0.623255729675293, -0.026517709717154503, 0.057232651859521866, 0.2351093590259552, -1.0161370038986206, -0.623950719833374, -0.10320431739091873, -0.4767465889453888, 0.04993995651602745, -0.363873153924942, -0.5772600173950195, -0.10506849735975266, -0.2697959840297699, 0.49742668867111206, 0.1492820382118225, -0.7235241532325745, 0.47113046050071716, 0.34800833463668823, -0.17705608904361725, -0.4631114900112152, -0.7969373464584351, 0.09749411791563034, -0.19562813639640808, -0.8028247356414795, 0.5386868119239807, -0.3174036741256714, 0.04841228201985359, -0.13535580039024353, -0.10739119350910187, -0.23626597225666046, 0.20342792570590973, 0.25384974479675293, 0.013211534358561039, -0.1389491856098175, 0.04625941440463066, 0.3309016525745392, 0.13138674199581146, -0.07665925472974777, -0.3746328353881836, 0.5490726828575134, -0.31651613116264343, -0.49345463514328003, -0.1984313279390335, 0.2883223593235016, 0.25634002685546875, -0.5357311367988586, 0.34522008895874023, 0.7976810932159424, -0.29884475469589233, -0.30527904629707336, -0.5410580635070801, -0.17065471410751343, -0.4808211624622345, 0.23003359138965607, -0.5841899514198303, -1.3120263814926147, 0.5952995419502258, 0.06471213698387146, 0.46400541067123413, 0.4126858413219452, 0.6847862005233765, 0.17990905046463013, 1.125306248664856, 0.43519631028175354, -0.06521877646446228, 0.6234359741210938, -0.10269223898649216, -0.10379581898450851, -0.7467920780181885, 0.05089607089757919, -0.42928698658943176, -0.18422499299049377, -0.6440626978874207, -0.32629305124282837, 0.40267154574394226, 0.06313157081604004, -0.2583107650279999, 0.3362860679626465, -0.6975435018539429, 0.6471781134605408, 0.4598751962184906, -0.20820526778697968, 0.5846810340881348, -0.027117930352687836, -0.0033336065243929625, 0.018454987555742264, -0.38300514221191406, -0.20947480201721191, 0.9467338919639587, 0.06202547252178192, 0.7728801369667053, -0.04465387389063835, 0.9831060171127319, 0.05220566317439079, 0.14948059618473053, -0.7739850282669067, 0.28716984391212463, -0.056218262761831284, -0.45163899660110474, -0.32575955986976624, -0.7923282384872437, -0.7454851269721985, 0.5056734681129456, -0.0384615883231163, -0.5489248037338257, -0.021006029099225998, 0.17436783015727997, -0.4746052026748657, -0.15368618071079254, -0.5990402698516846, 0.7893609404563904, -0.44252604246139526, -0.5933653712272644, 0.1288989782333374, -0.6874756813049316, 0.5814777612686157, -0.26642298698425293, 0.10667929798364639, -0.10161596536636353, -0.2084842026233673, 0.5829738974571228, -0.3683463931083679, 0.6720167994499207, 0.13618981838226318, -0.27084219455718994, 0.3263343274593353, 0.2238267958164215, 0.5274688005447388, 0.5104889869689941, -0.0888514593243599, -0.04984113946557045, 0.20912039279937744, -0.3048434257507324, -0.36739975214004517, 0.9525958299636841, -0.596980094909668, -0.4811440110206604, -0.11457698047161102, -0.8239158391952515, -0.3059239983558655, 0.40957608819007874, 0.2887893617153168, 0.3578990697860718, -0.18966875970363617, 0.22030232846736908, 0.44952476024627686, -0.10411252826452255, 0.3854358494281769, 0.5595217943191528, -0.25994589924812317, -0.6884848475456238, 0.7523139715194702, 0.12581907212734222, 0.19229596853256226, 0.2668567895889282, 0.07423148304224014, -0.08871352672576904, -0.6712144017219543, -0.46205928921699524, -0.03280376270413399, -0.36868816614151, -0.2768479883670807, -0.6013592481613159, -0.32489433884620667, -0.6285327076911926, -0.26506680250167847, -0.4530295729637146, -0.26246681809425354, -0.014383826404809952, 0.04317831993103027, 0.37865692377090454, 0.3294107913970947, 0.08385422080755234, 0.3698282837867737, -0.6715922951698303, 0.23384828865528107, 0.25753793120384216, 0.3234439790248871, -0.3055999279022217, -0.4586482048034668, -0.4063540995121002, 0.029635071754455566, -0.2284315824508667, -0.36432409286499023, 0.4781363606452942, 0.32759514451026917, 0.4427115321159363, 0.30054229497909546, 0.11956155300140381, 0.8571298122406006, -0.43401262164115906, 0.8963367342948914, -0.18964844942092896, -0.7568954229354858, 0.586600124835968, -0.5395499467849731, 0.2826288640499115, 1.068300724029541, 0.11455792188644409, -0.5197033882141113, -0.38139548897743225, -0.5750951170921326, -1.1784836053848267, 0.8674195408821106, 0.13361510634422302, 0.12738348543643951, -0.1158827543258667, 0.3127528727054596, 0.385429322719574, 0.40744492411613464, -0.5296977162361145, -0.009332899935543537, -0.07458649575710297, -0.22093766927719116, 0.20610985159873962, 0.17801132798194885, -0.36304616928100586, -0.28136754035949707, 0.6110557913780212, -0.6317919492721558, -0.18795070052146912, 0.2901739776134491, -0.3199339210987091, -0.07840238511562347, 0.09967633336782455, 0.24311168491840363, 0.491934597492218, 0.09046406298875809, 0.09243786334991455, 0.3842804729938507, -0.1969674527645111, -0.2406243234872818, 0.34443095326423645, -0.2433817982673645, -0.24907048046588898, 0.36497482657432556, 0.6098873615264893, 0.1325751543045044, -0.7203927040100098, 0.49400779604911804, -0.12320787459611893, -0.11118628084659576, -0.3312376141548157, 0.1835549771785736, -0.09233006089925766, 0.1339324712753296, 0.21611876785755157, -0.167332261800766, 0.3023979365825653, -0.23924145102500916, 0.5364965200424194, 0.5066350698471069, -0.08484236896038055, -0.2596410810947418, 0.7011886239051819, 0.47766852378845215, 0.10157712548971176, 0.5977509617805481, -0.32295697927474976, -0.38845115900039673, 0.44653403759002686, 0.3673960566520691, 0.6121071577072144, -0.08514312654733658, 0.028698300942778587, 0.46131008863449097, 0.18947286903858185, -0.04418318718671799, -0.013491177000105381, -0.5303267240524292, -0.5334229469299316, -0.588437557220459, -0.8288540244102478, -0.24625691771507263, -0.019235266372561455, -0.40885743498802185, 0.3337496519088745, -0.36276498436927795, 0.11525911092758179, -0.24155139923095703, 0.16090688109397888, -0.6310617923736572, 0.08040663599967957, 0.24676579236984253, 0.8143655061721802, -0.7699368000030518, 0.6772302985191345, 0.6956928372383118, -0.7428873777389526, -0.7576677203178406, 0.08896341174840927, -0.17090442776679993, -0.7177709341049194, 0.32899537682533264, 0.33642929792404175, 0.04807096719741821, 0.06695301830768585, -0.6712150573730469, -1.0102049112319946, 1.1978416442871094, 0.2808077335357666, -0.5227007865905762, -0.0446796752512455, 0.12115193158388138, 0.5798959732055664, -0.6220858097076416, 0.47652509808540344, 0.8717654943466187, 0.3853316009044647, 0.11097489297389984, -0.9926959872245789, -0.022982267662882805, -0.26651954650878906, 0.02578098699450493, 0.32160699367523193, -0.8051896095275879, 0.7500138282775879, 0.0894365906715393, -0.17522411048412323, -0.06996750086545944, 0.7426490783691406, 0.1925714910030365, 0.187849223613739, 0.5318725109100342, 0.6188643574714661, 0.5766555070877075, -0.12702897191047668, 0.6602314114570618, -0.608353853225708, 0.2871699333190918, 1.2615793943405151, -0.13323931396007538, 0.7223829030990601, 0.37052783370018005, -0.15025900304317474, 0.2608347535133362, 0.8123011589050293, 0.002551656449213624, 0.22750817239284515, 0.01562395878136158, -0.07785443961620331, -0.3427176773548126, -0.22816479206085205, -0.25235190987586975, 0.4304574131965637, 0.40186968445777893, -0.27620553970336914, -0.1698223501443863, -0.22425973415374756, -0.11471054702997208, 0.18291029334068298, -0.102262943983078, 0.9338331818580627, -0.012255639769136906, -0.7759995460510254, 0.5772010684013367, -0.10049348324537277, 1.0929619073867798, -0.5026348829269409, 0.180769145488739, -0.4569340944290161, -0.15338186919689178, -0.6858532428741455, -0.7156191468238831, 0.2875622808933258, -0.04683724045753479, 0.01829969696700573, 0.0072101447731256485, 0.4529777467250824, -0.7794755101203918, -0.4275341331958771, 0.08836879581212997, 0.419875830411911, 0.10446533560752869, -0.08749816566705704, -0.6312280297279358, -0.05316253378987312, -0.023731980472803116, -0.510205864906311, 0.3448246717453003, 0.6186807155609131, -0.2490490823984146, 0.42479968070983887, 0.7559624314308167, -0.07219916582107544, 0.14841555058956146, 0.10580191761255264, 0.8537588119506836, -0.4605717957019806, -0.546714723110199, -0.6141158938407898, 0.5442107915878296, -0.25111067295074463, -0.4541594684123993, 0.6018423438072205, 0.7664400935173035, 1.0518783330917358, 0.3218587338924408, 0.9629459381103516, -0.21878741681575775, 0.23741702735424042, -0.2964004874229431, 0.521740198135376, -0.677436888217926, 0.30229586362838745, 0.0468183234333992, -0.8549555540084839, -0.1147085651755333, 0.4364842176437378, -0.2052452713251114, 0.14679844677448273, 0.516700029373169, 0.8803660273551941, -0.3047553598880768, -0.19659894704818726, 0.15933622419834137, 0.11414025723934174, 0.5744403600692749, 0.5175516605377197, 0.5937201976776123, -0.3165070712566376, 0.6826990246772766, -0.4792138338088989, -0.23065690696239471, -0.25046399235725403, -0.5836429595947266, -0.7891115546226501, -0.6812732219696045, -0.33784404397010803, -0.3005915880203247, -0.20038604736328125, 1.1393195390701294, 0.7605078816413879, -0.8739953637123108, -0.05815848708152771, -0.1848563253879547, -0.15948137640953064, -0.0735209733247757, -0.29898521304130554, 0.39715805649757385, -0.7848103642463684, -0.9651586413383484, 0.5150228142738342, 0.25638139247894287, -0.15280765295028687, -0.38350027799606323, -0.08274949342012405, 0.07280327379703522, -0.09784241020679474, 0.6466078758239746, 0.13516612350940704, -0.6447764039039612, -0.1871286928653717, -0.10071362555027008, -0.3076591193675995, 0.1528734266757965, 0.6397154331207275, -1.0069892406463623, 0.33399903774261475, 0.7795472145080566, 0.9466125965118408, 0.25930944085121155, 0.4472631812095642, 0.5199512839317322, -1.0149542093276978, -0.01300881989300251, 0.33146369457244873, 0.3803924024105072, 0.5033073425292969, -0.4752557575702667, 0.8145577907562256, 0.0004604957939591259, -0.7004578113555908, -0.7572739124298096, 0.3079852759838104, -0.9906851053237915, -0.17812807857990265, 1.2797459363937378, 0.09080196171998978, -0.14220298826694489, 0.14829306304454803, -0.4522363245487213, 0.0124262860044837, -0.5877478122711182, 0.7829983830451965, 0.554638683795929, -0.36955976486206055, 0.09167130291461945, -0.3913923501968384, 0.4658468961715698, 0.26139357686042786, -1.0538874864578247, 0.30100369453430176, 0.7690017223358154, 0.32409998774528503, -0.03107898309826851, 0.5297864675521851, -0.2063787430524826, 0.07168940454721451, -0.1521410495042801, -0.061081960797309875, -0.3550962209701538, -0.10713957250118256, -0.1688700020313263, 0.3081750273704529, 0.06219073385000229, 0.07978583872318268 ]
http://arxiv.org/abs/2405.16571v1
http://arxiv.org/pdf/2405.16571v1
A Preliminary Empirical Study on Prompt-based Unsupervised Keyphrase Extraction
2024-05-26T13:37:57
2024-05-26T13:37:57
Mingyang Song, Yi Feng, Liping Jing
cs.CL
cs.CL
Pre-trained large language models can perform natural language processing downstream tasks by conditioning on human-designed prompts. However, a prompt-based approach often requires "prompt engineering" to design different prompts, primarily hand-crafted through laborious trial and error, requiring human intervention and expertise. It is a challenging problem when constructing a prompt-based keyphrase extraction method. Therefore, we investigate and study the effectiveness of different prompts on the keyphrase extraction task to verify the impact of the cherry-picked prompts on the performance of extracting keyphrases. Extensive experimental results on six benchmark keyphrase extraction datasets and different pre-trained large language models demonstrate that (1) designing complex prompts may not necessarily be more effective than designing simple prompts; (2) individual keyword changes in the designed prompts can affect the overall performance; (3) designing complex prompts achieve better performance than designing simple prompts when facing long documents.
[ -0.21334104239940643, -0.7301801443099976, 0.7653099894523621, 0.3658554255962372, -0.422027051448822, 0.29921600222587585, -0.35671716928482056, -0.1452544778585434, -0.07313399761915207, 0.38825416564941406, -0.6068729758262634, -0.28495174646377563, -0.5437604784965515, 0.5233895182609558, 0.030844613909721375, 0.6189454793930054, 0.12684711813926697, 0.013248894363641739, 0.10979650914669037, 0.35521751642227173, -0.8203511238098145, -0.4641759991645813, -0.17984646558761597, -0.017813298851251602, 0.587550699710846, 0.575416088104248, 0.5391369462013245, 0.30608057975769043, 0.6191892623901367, 0.26263558864593506, -0.36275801062583923, -0.15207144618034363, 0.02126169204711914, 0.5690352320671082, -0.2484389692544937, -0.35320138931274414, 0.2269165813922882, 0.4447203278541565, 0.16120560467243195, 0.5908608436584473, 0.23312824964523315, -0.05336117371916771, 0.3000357449054718, 0.6019203662872314, -0.7216075658798218, 0.1283896118402481, -0.49887943267822266, -0.08687030524015427, -0.3705361485481262, -0.2859702706336975, -0.5191836953163147, -0.4084089398384094, 0.4972933232784271, -0.4901537299156189, 0.1107998862862587, 0.2421286404132843, 0.4845522344112396, -0.0638854131102562, -0.1489822268486023, -0.8452877402305603, -0.3759166896343231, 0.6686951518058777, -0.7223473191261292, 0.2500148117542267, -0.006103345192968845, 0.3565342426300049, -0.41778290271759033, -0.7908679842948914, -0.14604096114635468, -0.3601379990577698, -0.05490616336464882, 0.041877299547195435, 0.1842755824327469, 0.31590792536735535, 0.6315717697143555, 0.20948076248168945, -0.4796358048915863, 0.37843379378318787, -0.3905196785926819, -0.19744709134101868, 0.37409329414367676, -0.06577605754137039, 0.4985862672328949, -0.6377151012420654, -0.09148082882165909, -0.32063958048820496, -0.7155453562736511, 0.7676637768745422, 0.1305803507566452, 0.7016139030456543, 0.183444544672966, 0.5684230923652649, -0.5750787854194641, 0.3141774535179138, 0.0004529996949713677, -0.09646739065647125, 0.1512776017189026, -0.16622622311115265, 0.08261098712682724, 0.07651553303003311, 0.7687252163887024, 0.259465754032135, 0.46231788396835327, -0.6974660158157349, -0.3840700089931488, -0.02153002843260765, 0.19808721542358398, -0.9102308750152588, -0.40933364629745483, 0.24412015080451965, -0.6801815032958984, -0.5009134411811829, 0.16464953124523163, -1.1180237531661987, -0.4865691363811493, -0.22324925661087036, 0.5794307589530945, -0.2559080719947815, 0.03461465239524841, -0.12339313328266144, -0.7401590943336487, 0.1407453715801239, 0.2085973620414734, -0.7261476516723633, 0.012846976518630981, 0.6735042333602905, 0.8350560665130615, -0.6518594026565552, -0.08534256368875504, -0.7459246516227722, -0.5054594278335571, -0.22283531725406647, 0.8282870650291443, -0.898431122303009, -0.7580171823501587, 0.018828127533197403, 0.021739836782217026, -0.11157254129648209, -0.5294681787490845, 0.913910984992981, -0.6829501390457153, 0.3624936044216156, -0.7837210893630981, -0.5821506381034851, 0.028322968631982803, -0.17950740456581116, -0.6427792906761169, 0.5626462697982788, -0.2036793977022171, -0.5381103754043579, 0.404742956161499, -0.8652351498603821, -0.5992447137832642, 0.23697255551815033, -0.2684515118598938, 0.0410303995013237, 0.4309793710708618, 0.546832263469696, 0.3296521306037903, -0.58149254322052, 0.22274163365364075, -0.1941889077425003, -0.4155272841453552, 0.6070847511291504, -0.4831356704235077, 1.043839454650879, 0.4030933380126953, -0.5535672903060913, -0.13641637563705444, -0.6235796213150024, 0.08133311569690704, -0.058590006083250046, -0.2949371039867401, -0.3778432607650757, -0.11024734377861023, 0.0034223387483507395, 0.2668623924255371, 0.1464873105287552, -0.66150963306427, 0.3723355233669281, -0.47539404034614563, 0.3902188241481781, 0.7869215607643127, 0.284643292427063, 0.4701937437057495, -0.10202046483755112, 0.7850825786590576, -0.33870163559913635, -0.041759248822927475, -0.4610934257507324, -0.5505293607711792, -0.006600986234843731, -0.4969621002674103, 0.4887261688709259, 0.42900413274765015, -0.7546741366386414, 0.1295728236436844, 0.016982806846499443, -0.44832828640937805, -0.16026945412158966, 0.04908869415521622, 0.38989466428756714, 0.5960614681243896, 0.2059435397386551, -0.11556419730186462, -0.26809996366500854, -0.5550795793533325, -0.6704445481300354, 0.04999561607837677, -0.12889225780963898, 0.12409436702728271, 0.3998633623123169, 0.20614275336265564, 1.2609494924545288, -0.7359514832496643, 0.19325582683086395, -0.23896752297878265, 0.5932903289794922, 0.5540148019790649, 0.3072824478149414, 0.364566445350647, -0.7822492718696594, -0.5414455533027649, -0.4524219036102295, -0.683014452457428, -0.5125529766082764, -0.23991253972053528, 0.024009494110941887, -0.445529043674469, 0.5185573101043701, -0.9960702657699585, 0.2830163538455963, -0.12887948751449585, -0.15359601378440857, 0.8688912987709045, -0.12288106977939606, 0.367674857378006, -0.733683705329895, 0.2934126555919647, -0.09742558747529984, 0.44996950030326843, -0.6543911695480347, 0.172336146235466, 0.35341423749923706, -0.4524286389350891, -0.6230180859565735, 0.5083750486373901, -0.6601261496543884, 0.03091355971992016, -0.41390126943588257, -0.10020279884338379, 0.03558971732854843, 0.47180745005607605, 0.06723596155643463, 1.1149245500564575, 0.48136353492736816, -0.7606812715530396, 0.1823190301656723, 0.1599375158548355, -0.4094949960708618, 0.4249926805496216, -1.0476775169372559, 0.20889239013195038, -0.1656348556280136, -0.14735792577266693, -1.2525131702423096, -0.04723278060555458, 0.12450908124446869, -0.341557115316391, 0.2472638636827469, 0.001079790061339736, -0.46363571286201477, -0.406276673078537, -0.45664453506469727, 0.10685956478118896, 0.6862455606460571, -0.5374649167060852, 0.3912421762943268, 0.04830612987279892, -0.6603633165359497, -0.15676091611385345, 0.08459927141666412, 0.25578978657722473, -0.47792646288871765, -0.29441508650779724, 0.3183594346046448, -0.11765468865633011, -0.3336161971092224, -0.43035459518432617, -0.17568695545196533, -0.001893044332973659, 0.5299288630485535, 0.5132103562355042, 0.2265237271785736, 0.1588541567325592, 0.19617772102355957, 0.06613738089799881, -0.11436434090137482, 0.37988653779029846, 0.14222568273544312, 0.4116075932979584, 0.29657772183418274, -0.28912830352783203, -0.5466045141220093, 0.5033804774284363, 0.7964026927947998, -0.5545221567153931, 0.1799398809671402, -0.00846496969461441, -0.23354558646678925, 0.09826108068227768, -0.4601958692073822, -0.530266523361206, -0.5772086381912231, 0.14032234251499176, -0.5229805111885071, -0.4827730059623718, 0.30087971687316895, -0.43715372681617737, 0.5252700448036194, 0.3315803110599518, 0.23019438982009888, -0.43844377994537354, 1.1223286390304565, 0.31200993061065674, -0.04691168665885925, 0.49154767394065857, 0.1487955003976822, -0.017012128606438637, -0.6894906163215637, -0.03995942696928978, -0.9808820486068726, -0.2893902063369751, -0.4337477684020996, 0.08265756070613861, 0.2927224934101105, 0.2571812868118286, 0.0716342180967331, 0.26516327261924744, -0.4774710536003113, 0.2206263393163681, 0.7813892960548401, 0.08155740052461624, 0.12329202890396118, -0.01888471655547619, -0.3221973180770874, -0.26490217447280884, -0.41690441966056824, -0.46360987424850464, 1.148383378982544, 0.05841301754117012, 0.7402692437171936, -0.16023394465446472, 0.5728855729103088, 0.38811615109443665, -0.04414498805999756, -0.5708534121513367, 0.35369673371315, 0.14353731274604797, -0.4634319543838501, -0.298579603433609, -0.23003198206424713, -1.162095308303833, 0.2918538749217987, -0.2112402319908142, -0.7420064806938171, 0.2218007594347, -0.21372739970684052, -0.6137093901634216, -0.3294414281845093, -0.7505619525909424, 0.7907586097717285, -0.3731738030910492, 0.09993991255760193, 0.1589052826166153, -0.6722421050071716, -0.11517272144556046, -0.3208354413509369, 0.29890650510787964, 0.12451313436031342, 0.1911458969116211, 1.0851958990097046, -0.43503469228744507, 0.6350429654121399, -0.32691794633865356, 0.12859047949314117, 0.2856348156929016, -0.06945446878671646, 0.9658417105674744, -0.09784814715385437, -0.16724492609500885, -0.3226398229598999, -0.18692892789840698, -0.04791232571005821, -0.7771310210227966, 0.21671225130558014, -0.5025283098220825, -0.7884768843650818, -0.15054327249526978, -0.3050745129585266, -0.4303833544254303, 0.31472986936569214, 0.698610246181488, 0.6458980441093445, -0.0932958647608757, 0.31454551219940186, 0.6609858274459839, -0.26473554968833923, 0.8830956816673279, 0.49146562814712524, 0.007972128689289093, -0.3081011176109314, 0.6070541143417358, 0.22380466759204865, 0.07343285530805588, 0.45656952261924744, 0.5386170148849487, -0.4381084144115448, -0.5300368666648865, -0.29308950901031494, -0.006914457306265831, -0.5446573495864868, 0.10105129331350327, -0.7969228029251099, 0.002540809102356434, -0.787564754486084, -0.1707184761762619, -0.18396443128585815, -0.3742336630821228, -0.3813017010688782, 0.04743219166994095, 0.34196779131889343, 0.25811710953712463, 0.14313171803951263, 0.5531219840049744, -0.9696068167686462, 0.3526779115200043, 0.5024043917655945, -0.2748214304447174, -0.18098291754722595, -0.5641414523124695, 0.11666154116392136, -0.003091852879151702, -0.020899537950754166, -1.2378790378570557, 0.203208327293396, -0.07075662165880203, 0.726754903793335, 0.4100475311279297, 0.4558759033679962, 0.23525620996952057, -0.4921160936355591, 0.853234052658081, 0.15004374086856842, -0.5863990783691406, 0.701485812664032, -0.1127769947052002, 0.5308749675750732, 0.852293848991394, 0.27815765142440796, -0.3686990439891815, -0.2459000200033188, -0.47081685066223145, -0.6476079821586609, 0.43294766545295715, 0.2468719780445099, -0.12228389829397202, -0.0656861886382103, 0.39086681604385376, 0.3501272201538086, 0.42282435297966003, -0.1022326648235321, -0.16716711223125458, 0.18566900491714478, -0.07432444393634796, -0.07997439056634903, -0.367733359336853, 0.29668566584587097, 0.08975493907928467, 0.1555471122264862, 0.16076774895191193, -0.06701397150754929, 0.14103448390960693, -0.4470070004463196, 0.2501758635044098, 0.5334509015083313, 0.405340313911438, 0.35792428255081177, -0.30693960189819336, 0.1108522042632103, -0.14343145489692688, -0.5804253220558167, 0.177615687251091, 0.05775577202439308, -0.3950949013233185, 0.1550159901380539, 0.583067774772644, 0.47759756445884705, 0.3700152337551117, -0.7366650700569153, 0.5033649206161499, -0.11729773133993149, 0.025682006031274796, 0.3383699357509613, 0.1261797845363617, -0.22299809753894806, 0.2416532337665558, 0.7378644347190857, -0.08917059004306793, 0.4015040099620819, -0.5299356579780579, 0.2793371081352234, 0.6517452001571655, -0.20166249573230743, -0.3064647614955902, 0.500831663608551, 0.37276843190193176, -0.6750463843345642, 0.6283730864524841, -0.09334369003772736, -0.7200350165367126, 0.5978268384933472, 0.33496585488319397, 1.0423144102096558, -0.08273011445999146, 0.308403879404068, 0.108180470764637, 0.1650761067867279, -0.1588396579027176, 0.20779921114444733, -0.3337719440460205, -0.1788962036371231, -0.3758896589279175, -0.3948718309402466, -0.3742360472679138, -0.049669381231069565, -0.54487544298172, 0.08852409571409225, -0.18939271569252014, -0.2995088994503021, 0.17260827124118805, 0.2308259904384613, -0.7488207817077637, 0.2127484232187271, -0.37551912665367126, 0.8467528820037842, -0.8760676383972168, 0.2813889682292938, 0.6725331544876099, -0.48864081501960754, -0.8295482397079468, 0.006659696809947491, -0.1415281742811203, -0.554924488067627, 0.7592516541481018, 0.40952903032302856, 0.29488620162010193, -0.12488014250993729, -0.4068376421928406, -0.7714975476264954, 0.787979006767273, -0.025940794497728348, -0.47697940468788147, -0.35952243208885193, 0.15036539733409882, 0.2862248718738556, -0.29528042674064636, 0.29009929299354553, 0.4016626477241516, 0.3330327272415161, 0.08995168656110764, -0.8014624118804932, 0.1430371254682541, -0.22055143117904663, -0.03122635744512081, -0.1002170518040657, -0.05839727446436882, 1.0605356693267822, -0.055909689515829086, -0.4484231173992157, 0.09238085150718689, 0.5687682032585144, 0.43588510155677795, 0.17687664926052094, 0.5387786030769348, 0.012377909384667873, 0.810448169708252, 0.32366064190864563, 0.7525337934494019, -0.31395503878593445, -0.04204258322715759, 0.9335097074508667, -0.29565665125846863, 0.544230580329895, 0.6134387850761414, 0.029147503897547722, 0.13725371658802032, 0.6678157448768616, 0.26245585083961487, 1.0794142484664917, -0.07533030211925507, 0.01476468425244093, -0.19714879989624023, -0.07173758745193481, -0.4363575279712677, 0.3000028133392334, 0.14459703862667084, -0.5204091668128967, -0.4526812732219696, 0.3324616253376007, -0.062391497194767, -0.19019687175750732, -0.1552543044090271, 0.6135129332542419, 0.1604864001274109, -0.9710161685943604, 0.1464512199163437, -0.17092037200927734, 0.7143524885177612, -0.1591596007347107, 0.042025648057460785, -0.012266150675714016, -0.2457006573677063, 0.17965255677700043, -0.6605562567710876, -0.3739900290966034, 0.2385493516921997, -0.1108754575252533, -0.31604301929473877, 0.8518733978271484, 0.060579635202884674, -0.21165277063846588, -0.26029273867607117, 0.6842781901359558, 0.15594299137592316, -0.6653122901916504, -0.5681553483009338, -0.05677169933915138, 0.05184914544224739, -0.5177747011184692, 0.23175032436847687, 0.5853998064994812, 0.08035188913345337, 0.3582698404788971, 0.8321230411529541, 0.1818987876176834, -0.049228981137275696, -0.1482573300600052, 0.7914417386054993, -0.7134575843811035, -0.6489444971084595, -1.0243548154830933, 0.45857301354408264, -0.3902362883090973, -0.4398330748081207, 0.8011849522590637, 0.38822194933891296, 0.11293233931064606, -0.20663337409496307, 0.8912681937217712, 0.12090300023555756, 0.6495395302772522, -0.6610264182090759, 0.5001163482666016, -0.2160196602344513, 0.2328823059797287, -0.5648370385169983, -1.0143522024154663, 0.16981945931911469, 0.37037622928619385, -0.29395875334739685, -0.07552093267440796, 0.7854375243186951, 0.7931084036827087, 0.35259613394737244, 0.2667464315891266, 0.010461628437042236, -0.2798798978328705, 0.6424968242645264, 0.26236605644226074, 0.8808175325393677, -0.13086505234241486, 0.29389074444770813, -0.32378488779067993, -0.3921176791191101, -0.3827894926071167, -0.7772857546806335, -0.9380903244018555, -0.5086885690689087, -0.1930302083492279, 0.0190937127918005, 0.17648150026798248, 0.9416972994804382, 0.1865459382534027, -0.5206339955329895, 0.10243767499923706, -0.16044658422470093, 0.19638405740261078, -0.1988261342048645, -0.20525045692920685, 0.5551718473434448, -0.6537030935287476, -0.49136021733283997, 0.5737857818603516, 0.1444704383611679, -0.06105794012546539, 0.15130892395973206, 0.16970707476139069, 0.15363143384456635, 0.006156740244477987, 0.43986204266548157, 0.39542055130004883, -0.43076640367507935, -0.3074784576892853, 0.5278644561767578, -0.3743407428264618, -0.13767996430397034, 1.0447922945022583, -0.6641806960105896, 0.44750356674194336, 0.8241168856620789, 0.6988459825515747, -0.08512970805168152, 0.20362617075443268, 0.7704228162765503, -0.317295640707016, -0.22829729318618774, -0.001777912606485188, 0.20215395092964172, 0.025584526360034943, -0.3700580894947052, 0.24847492575645447, 0.30161669850349426, -0.4262370765209198, -0.8029375076293945, 0.02145593985915184, -0.7899376749992371, -0.5756979584693909, 1.3866430521011353, -0.03693395107984543, -0.1797669529914856, -0.2729847729206085, -0.4819464683532715, 0.18438629806041718, -0.5361835360527039, 0.8036215901374817, 0.7134532332420349, 0.05000711604952812, -0.11470553278923035, -0.31514301896095276, 0.5520581007003784, 0.4238027334213257, -0.5449448823928833, 0.1526365429162979, 0.25549769401550293, 0.12906615436077118, 0.1795669049024582, 0.5248700976371765, 0.0357741117477417, 0.4298953115940094, -0.2261531800031662, -0.15242278575897217, -0.1031474769115448, -0.3486078977584839, -0.32408180832862854, 0.6174840927124023, 0.10297612100839615, -0.41579556465148926 ]
http://arxiv.org/abs/2405.16552v1
http://arxiv.org/pdf/2405.16552v1
SED: Self-Evaluation Decoding Enhances Large Language Models for Better Generation
2024-05-26T12:43:18
2024-05-26T12:43:18
Ziqin Luo, Haixia Han, Haokun Zhao, Guochao Jiang, Chengyu Du, Tingyun Li, Jiaqing Liang, Deqing Yang, Yanghua Xiao
cs.CL
cs.CL, cs.AI
Existing Large Language Models (LLMs) generate text through unidirectional autoregressive decoding methods to respond to various user queries. These methods tend to consider token selection in a simple sequential manner, making it easy to fall into suboptimal options when encountering uncertain tokens, referred to as chaotic points in our work. Many chaotic points exist in texts generated by LLMs, and they often significantly affect the quality of subsequently generated tokens, which can interfere with LLMs' generation. This paper proposes Self-Evaluation Decoding, SED, a decoding method for enhancing model generation. Analogous to the human decision-making process, SED integrates speculation and evaluation steps into the decoding process, allowing LLMs to make more careful decisions and thus optimize token selection at chaotic points. Experimental results across various tasks using different LLMs demonstrate SED's effectiveness.
[ -0.25662583112716675, -0.6600186228752136, 0.5189304351806641, 0.5258806943893433, -0.5866455435752869, 0.15797127783298492, -0.02522975206375122, -0.24018120765686035, 0.19106251001358032, 0.4943993091583252, -0.5590514540672302, -0.4248983860015869, -0.4447202980518341, 0.35126543045043945, -0.484123557806015, 0.9211511611938477, 0.16568340361118317, 0.20665526390075684, 0.03999735042452812, 0.4068804085254669, -0.16918842494487762, -0.8452128767967224, -0.8860819935798645, -0.2172289937734604, 0.2108701467514038, 0.09257745742797852, 0.6565556526184082, 0.686695396900177, 0.41803160309791565, 0.3912513852119446, -0.04736361652612686, 0.3313125967979431, -0.6182476282119751, 0.6546121835708618, -0.3502255976200104, -0.2000071108341217, -0.3785979449748993, -0.3340570628643036, 0.47549957036972046, 0.5269781351089478, -0.07036150991916656, 0.2500664293766022, 0.2099125236272812, 0.44106683135032654, -0.614325761795044, -0.022534508258104324, -0.55356764793396, 0.0527503527700901, -0.19592398405075073, -0.5047246813774109, -0.37536370754241943, -0.24166339635849, -0.1736604869365692, -0.1517319530248642, 0.24454785883426666, -0.09193754941225052, 0.5295848846435547, 0.33838412165641785, -0.47274529933929443, -0.30637940764427185, -0.6432414054870605, 0.465588241815567, -0.8470945954322815, 0.579963207244873, 0.3170110285282135, -0.06751400977373123, -0.49648481607437134, -0.6150975823402405, -0.48436856269836426, 0.12506407499313354, 0.36245426535606384, 0.15304486453533173, -0.0013679048279300332, 0.1652190089225769, 0.010748048312962055, 0.3103785812854767, -0.2804364264011383, 0.11993081122636795, -0.1508590131998062, -0.38694441318511963, 0.7468463182449341, 0.5243800282478333, 0.208095982670784, -0.709547758102417, -0.16926346719264984, -0.3291757106781006, -0.49949491024017334, -0.14792117476463318, 0.6404596567153931, 0.35344579815864563, 0.14327800273895264, 0.5060317516326904, -0.2602108418941498, 0.46694669127464294, 0.2577037513256073, 0.04329369589686394, 0.2041437178850174, -0.4290105998516083, -0.35029563307762146, -0.32533136010169983, 0.8798609375953674, 0.41234514117240906, -0.1804487556219101, -0.06800363212823868, -0.6660237312316895, -0.11299736797809601, 0.19758248329162598, -0.8267332911491394, -0.2674718201160431, 0.1078222393989563, -0.8758273720741272, -0.60105961561203, -0.09061223268508911, -0.9792847037315369, -0.38259637355804443, -0.045138392597436905, 0.31560012698173523, -0.4613690972328186, -0.24315686523914337, 0.36744987964630127, -0.19742752611637115, -0.06057162210345268, 0.4317433536052704, -1.050223708152771, 0.30543723702430725, 0.4429727792739868, 0.6217570304870605, -0.1754862666130066, -0.36817657947540283, -0.3340594172477722, -0.042108822613954544, -0.59941166639328, 0.9729217886924744, -0.5045168399810791, -0.8118045330047607, -0.2688532769680023, -0.3661344051361084, 0.08077732473611832, -0.47554171085357666, 0.7286940217018127, -0.5865132212638855, -0.01080548670142889, -0.267832487821579, -0.5151677131652832, -0.06669759750366211, -0.07657422870397568, -0.4761972427368164, 1.1783661842346191, 0.0590929239988327, -0.7054541110992432, 0.4689752757549286, -0.49666669964790344, -0.5857844352722168, 0.13314314186573029, -0.15494956076145172, -0.27120107412338257, 0.5636743903160095, 0.49104514718055725, 0.6653017401695251, -0.22776281833648682, 0.22674329578876495, -0.41809430718421936, 0.09162942320108414, 0.15928658843040466, -0.7784976363182068, 0.6351116299629211, 0.8534026741981506, -0.30822989344596863, 0.04671245440840721, -0.7537271976470947, 0.38676583766937256, 0.3009110689163208, -0.5710378885269165, -0.4254438281059265, 0.20336149632930756, 0.037753425538539886, 0.22783932089805603, 0.246246337890625, -0.18318764865398407, 0.16624736785888672, -0.6659148335456848, 0.25727447867393494, 0.9985688328742981, 0.2900945544242859, 0.15030300617218018, -0.02196621522307396, 0.604498028755188, 0.13387922942638397, -0.09191548824310303, -0.4134867489337921, -0.1717958003282547, -0.9503995180130005, 0.1112828403711319, 0.4282355010509491, 0.19776248931884766, -0.676896333694458, 0.6995095014572144, -0.03951244801282883, -0.4220009744167328, -0.5565798282623291, 0.2715010941028595, 0.34605059027671814, 0.07348817586898804, 0.17075224220752716, -0.21786755323410034, -0.6854526400566101, -0.5762427449226379, -0.2990970313549042, -0.3196147680282593, 0.20343545079231262, 0.047082651406526566, 0.4706076979637146, -0.46360522508621216, 0.6942938566207886, -0.26298394799232483, 0.0930376648902893, -0.4807973802089691, 0.3441908657550812, -0.027026986703276634, 0.45691463351249695, 0.39516177773475647, -0.23622862994670868, -0.21924470365047455, -0.17783205211162567, -0.37862953543663025, -0.33921104669570923, -0.6403247714042664, -0.21304628252983093, 0.29184380173683167, 0.6186586022377014, -0.43419450521469116, 0.3427354395389557, 0.4529614746570587, -0.6448819637298584, 0.6265366077423096, -0.5136388540267944, 0.3453260660171509, -1.026351809501648, -0.04011224955320358, -0.3924604058265686, -0.4910471737384796, -0.26435235142707825, 0.26264050602912903, 0.0814608708024025, 0.012231971137225628, -0.07220600545406342, 0.49150002002716064, -0.6376383304595947, -0.29867997765541077, -0.20719964802265167, 0.10172398388385773, -0.04441487416625023, 0.14940784871578217, -0.1856069564819336, 0.997738242149353, 0.4073057174682617, -0.5125092267990112, 0.11851659417152405, -0.044337399303913116, -0.512111485004425, 0.06970638781785965, -0.4431263506412506, 0.36260753870010376, -0.18127989768981934, -0.0838979035615921, -1.0095685720443726, -0.30658531188964844, -0.0539260059595108, -0.32311779260635376, 0.21085676550865173, 0.09574267268180847, -0.5667986273765564, -0.5170334577560425, -0.3034760355949402, 0.5639938116073608, 0.3062087893486023, -0.7648192644119263, 0.4004199802875519, 0.5459733605384827, -0.12481667101383209, -0.33218711614608765, -0.5635014176368713, 0.376778244972229, -0.007680585142225027, -0.635199248790741, -0.07764055579900742, -0.2786146104335785, -0.10114625841379166, -0.1977061927318573, -0.021565714851021767, 0.28081467747688293, 0.34343504905700684, 0.07655027508735657, 0.07117699086666107, -0.18244414031505585, 0.07236427813768387, 0.25253957509994507, -0.2409229874610901, 0.19198262691497803, -0.16095203161239624, 0.8787668943405151, -0.12229576706886292, -0.5692573189735413, -0.3721636235713959, 0.3904089331626892, 0.6111778020858765, -0.2463557869195938, 0.2239583134651184, 0.23579631745815277, -0.27298858761787415, -0.588918924331665, -0.5504977703094482, -0.07045760750770569, -0.5318945050239563, 0.5694103837013245, -0.5514973998069763, -0.6764259338378906, 0.6529698967933655, -0.28428539633750916, -0.2533867061138153, 0.721024215221405, 0.8223467469215393, 0.037784039974212646, 1.6159839630126953, 0.4833405911922455, -0.04269783943891525, 0.30778300762176514, -0.1898379921913147, 0.40624260902404785, -0.7001491785049438, -0.09308531880378723, -0.5506153106689453, -0.021522851660847664, -0.27529579401016235, -0.5930861830711365, 0.25136837363243103, 0.33413004875183105, -0.12436605244874954, -0.024823935702443123, -0.5199815630912781, 0.6630169153213501, 0.3048493564128876, -0.016509704291820526, 0.1915784627199173, -0.018168888986110687, -0.5512218475341797, -0.1924680769443512, -0.7017629742622375, -0.6204033493995667, 1.0641330480575562, 0.47473475337028503, 1.249483346939087, -0.04120456427335739, 1.1262084245681763, 0.4905025362968445, -0.006791205145418644, -0.6497447490692139, 0.5912865400314331, -0.10054187476634979, -0.39786553382873535, -0.35193875432014465, -0.4006870687007904, -0.9842063784599304, 0.2781137228012085, -0.3328065276145935, -0.6951590776443481, 0.2823502719402313, 0.08689776808023453, -0.5973007678985596, 0.18536147475242615, -0.6978679299354553, 0.78664231300354, -0.5265971422195435, -0.012832808308303356, -0.40246397256851196, -0.15357215702533722, 0.27419739961624146, -0.1790737807750702, 0.1437516212463379, 0.19992347061634064, 0.2435135692358017, 0.7566879987716675, -0.5527439713478088, 0.7457058429718018, -0.023230155929923058, -0.1781601756811142, 0.2382926046848297, 0.5969891548156738, 0.751275360584259, 0.1310545951128006, -0.4879395365715027, -0.038817111402750015, 0.05957018584012985, 0.05671495571732521, -0.5891357064247131, 0.6851299405097961, -0.9322056770324707, -0.669122576713562, -0.3171161115169525, -0.267271488904953, -0.009651301428675652, 0.488089919090271, 0.5316319465637207, 0.6518886685371399, -0.1856105774641037, -0.07864933460950851, 0.15166085958480835, -0.36193376779556274, 0.5099189877510071, 0.1493588089942932, -0.5047087669372559, -0.5725240707397461, 0.8158453702926636, -0.04386988282203674, 0.19892960786819458, -0.1243443638086319, 0.037794843316078186, -0.6368522644042969, -0.8042036294937134, -0.3812471330165863, 0.10707125812768936, -1.0864917039871216, -0.5794439911842346, -0.6573676466941833, -0.43093863129615784, -0.7176660299301147, -0.23724637925624847, -0.6574463248252869, -0.37595313787460327, -0.4605233073234558, -0.4131097197532654, -0.25867754220962524, 1.0433006286621094, -0.32122617959976196, 0.1905512511730194, -0.673818826675415, 0.2960723042488098, 0.20266319811344147, 0.4422243535518646, 0.11437838524580002, -0.34310853481292725, -0.19626301527023315, 0.06149507313966751, -0.3021012544631958, -1.0124008655548096, 0.7691967487335205, 0.039325837045907974, 0.6706635355949402, 0.6643999814987183, 0.24148055911064148, 1.0799179077148438, -0.4186171293258667, 0.7864092588424683, 0.15777772665023804, -1.2824112176895142, 0.609401285648346, -0.2190781533718109, 0.27176418900489807, 0.40753623843193054, -0.2023555338382721, -0.5347667932510376, -0.5783970952033997, -0.5890709757804871, -0.840474545955658, 0.7317527532577515, 0.1955246925354004, 0.41303226351737976, -0.592058539390564, 0.35416415333747864, 0.22775277495384216, -0.15374919772148132, -0.8105209469795227, -0.26668834686279297, -0.3304680585861206, -0.20399069786071777, 0.07743972539901733, -0.7421256899833679, 0.1334226131439209, -0.06697142869234085, 0.5892819762229919, -0.023135880008339882, 0.4163777530193329, 0.4550405740737915, -0.07162503153085709, -0.5307843685150146, 0.33027976751327515, 0.4295860528945923, 0.3852492570877075, 0.06865205615758896, 0.327820360660553, 0.4010680615901947, -0.18648135662078857, -0.008043082430958748, -0.30490756034851074, -0.14785848557949066, -0.15688595175743103, 0.2809423506259918, 0.8428894281387329, 0.0882745012640953, -0.5912672281265259, 0.5344486236572266, -0.32745984196662903, 0.004057725891470909, -0.05227767676115036, 0.24829348921775818, -0.20887434482574463, 0.46619218587875366, 0.3968537449836731, 0.19747412204742432, 0.5088226795196533, -0.3517027497291565, 0.18415643274784088, 0.5461319088935852, 0.08299078047275543, -0.367123544216156, 0.7171623110771179, 0.493293434381485, -0.48502570390701294, 0.5060717463493347, -0.5727810263633728, -0.7347305417060852, 0.4810207784175873, 1.1174942255020142, 1.1615225076675415, -0.3569781184196472, 0.3298172652721405, 0.42917537689208984, 0.23965662717819214, -0.14324820041656494, 0.5479565858840942, -0.07368211448192596, -0.7605319619178772, -0.40652701258659363, -0.9329585433006287, -0.02806273102760315, 0.2551153898239136, -0.4451029300689697, 0.4203953444957733, -0.5341322422027588, -0.34759899973869324, -0.40377277135849, -0.19843804836273193, -0.6281407475471497, 0.24635717272758484, 0.2826536297798157, 0.7496013641357422, -0.3785141706466675, 0.6419873833656311, 0.38076168298721313, 0.06115131080150604, -0.9003337025642395, 0.09942623227834702, -0.13007274270057678, -0.7327243685722351, 0.8325446248054504, -0.0010972704039886594, -0.4457133114337921, 0.21717362105846405, -0.41257280111312866, -1.0904194116592407, 0.7412048578262329, 0.4570918679237366, -0.46173062920570374, 0.048123449087142944, 0.06709699332714081, 0.5945448279380798, -0.4272642433643341, 0.5306642055511475, 0.5337212681770325, 0.31832021474838257, 0.17718535661697388, -0.7479423880577087, 0.24743956327438354, -0.3892521262168884, 0.13177542388439178, 0.25329163670539856, -0.40085533261299133, 0.7919844388961792, -0.654263436794281, -0.7530699372291565, 0.2241559475660324, 0.6944693326950073, -0.07683860510587692, -0.02698606066405773, 0.4940062165260315, 0.37941449880599976, 0.8262521028518677, 0.21346122026443481, 1.0844545364379883, -0.6326978206634521, 0.6023913025856018, 1.0525676012039185, 0.05675556883215904, 0.8806292414665222, 0.223336860537529, -0.02739509381353855, 0.28867387771606445, 0.8274432420730591, -0.05742510408163071, 0.6205584406852722, 0.012843956239521503, -0.029751496389508247, -0.8082978129386902, 0.3235909938812256, -0.3748401701450348, 0.6176550388336182, 0.4411798417568207, -0.39531126618385315, -0.6136837005615234, -0.3138155937194824, -0.12767519056797028, -0.027516093105077744, -0.16756294667720795, 0.7410925626754761, -0.13270483911037445, -0.6342794299125671, 0.5167307257652283, 0.39116886258125305, 0.5008682608604431, -0.37387746572494507, 0.16559405624866486, -0.2539397180080414, -0.008247562684118748, -0.0804225504398346, -0.772097110748291, 0.27034619450569153, -0.0628657415509224, 0.05663265287876129, -0.3698202073574066, 0.9251253604888916, -0.3090919852256775, -0.598564863204956, 0.4634774625301361, 0.5601747632026672, 0.12090631574392319, 0.08980628848075867, -0.7853105068206787, 0.10498072952032089, 0.10711338371038437, -0.4595552682876587, 0.056374456733465195, 0.8027898669242859, 0.11343017965555191, 0.8012194037437439, 0.9056520462036133, 0.1577337086200714, 0.04874006286263466, 0.2928236722946167, 0.9215386509895325, -0.9907183051109314, -0.9106712937355042, -1.0228663682937622, 0.3871299922466278, -0.014989704824984074, -0.4824359714984894, 0.8081302642822266, 0.4502553641796112, 0.7798081636428833, -0.09474697709083557, 0.8595457077026367, 0.14371463656425476, 0.3099389672279358, -0.6530911922454834, 0.7187183499336243, -0.4021751284599304, 0.5347307324409485, -0.466632604598999, -0.7752955555915833, -0.35249951481819153, 0.9450649619102478, -0.15623842179775238, 0.19420680403709412, 0.6315137147903442, 0.7877877354621887, 0.15409494936466217, 0.033996354788541794, 0.544998824596405, 0.3681239187717438, 0.36077624559402466, 0.18445034325122833, 1.137710452079773, -0.3449725806713104, 0.3639691472053528, -0.14103487133979797, -0.019373074173927307, -0.2419055998325348, -0.8528286218643188, -1.0689929723739624, -0.6775514483451843, -0.02845037914812565, -0.2698409855365753, -0.07253682613372803, 1.2620203495025635, 0.5607314705848694, -0.6215283870697021, -0.3414914011955261, -0.09420784562826157, 0.235550194978714, 0.12338767200708389, -0.20313042402267456, 0.21110031008720398, -0.9446976184844971, -0.6846669912338257, 0.448649525642395, 0.5032145380973816, 0.2930454909801483, -0.3792196214199066, -0.3258635103702545, 0.15498638153076172, 0.34788787364959717, 0.5698896646499634, -0.09672164916992188, -0.5982176661491394, -0.3826002776622772, -0.14940500259399414, -0.33194243907928467, -0.05422661080956459, 0.8713691830635071, -0.7033100724220276, 0.6156551837921143, 0.6894721984863281, 0.6429190039634705, 0.3032801151275635, 0.1396053284406662, 0.7328448295593262, -0.24492868781089783, -0.18397589027881622, 0.11219439655542374, 0.49735164642333984, 0.1914948970079422, -0.6516368985176086, 0.24087299406528473, 0.12634021043777466, -0.7183709144592285, -0.7533494830131531, 0.04381677880883217, -0.6530069708824158, -0.42411455512046814, 1.3526177406311035, 0.02302929386496544, -0.26593074202537537, -0.27854785323143005, -0.38252413272857666, 0.07642922550439835, -0.4763229787349701, 1.14670991897583, 0.6796062588691711, -0.09378444403409958, 0.07735329866409302, -0.09656310081481934, 0.7118346095085144, 0.59068363904953, -0.7599914073944092, 0.3842464089393616, 0.6321097016334534, 0.22025883197784424, -0.0625317171216011, 0.8084247708320618, -0.16020403802394867, 0.18112996220588684, 0.0924300104379654, 0.004778378643095493, 0.1143726259469986, -0.25325167179107666, -0.4621542692184448, 0.004526522941887379, 0.32144197821617126, 0.20543690025806427 ]
http://arxiv.org/abs/2405.16546v2
http://arxiv.org/pdf/2405.16546v2
Cocktail: A Comprehensive Information Retrieval Benchmark with LLM-Generated Documents Integration
2024-05-26T12:30:20
2024-07-02T12:23:37
Sunhao Dai, Weihao Liu, Yuqi Zhou, Liang Pang, Rongju Ruan, Gang Wang, Zhenhua Dong, Jun Xu, Ji-Rong Wen
cs.IR
cs.IR, cs.CL
The proliferation of Large Language Models (LLMs) has led to an influx of AI-generated content (AIGC) on the internet, transforming the corpus of Information Retrieval (IR) systems from solely human-written to a coexistence with LLM-generated content. The impact of this surge in AIGC on IR systems remains an open question, with the primary challenge being the lack of a dedicated benchmark for researchers. In this paper, we introduce Cocktail, a comprehensive benchmark tailored for evaluating IR models in this mixed-sourced data landscape of the LLM era. Cocktail consists of 16 diverse datasets with mixed human-written and LLM-generated corpora across various text retrieval tasks and domains. Additionally, to avoid the potential bias from previously included dataset information in LLMs, we also introduce an up-to-date dataset, named NQ-UTD, with queries derived from recent events. Through conducting over 1,000 experiments to assess state-of-the-art retrieval models against the benchmarked datasets in Cocktail, we uncover a clear trade-off between ranking performance and source bias in neural retrieval models, highlighting the necessity for a balanced approach in designing future IR systems. We hope Cocktail can serve as a foundational resource for IR research in the LLM era, with all data and code publicly available at \url{https://github.com/KID-22/Cocktail}.
[ -0.14616286754608154, -0.6317906379699707, 0.29099804162979126, 0.09350622445344925, -0.05838845297694206, 0.48129481077194214, -0.15280450880527496, -0.5868593454360962, 0.29427123069763184, 0.5576257705688477, -0.24990291893482208, -0.6407968997955322, -0.48107463121414185, 0.14539527893066406, -0.5909309983253479, 0.9696843028068542, 0.09692054241895676, 0.2937766909599304, -0.4123802185058594, -0.22848127782344818, -0.48697736859321594, -0.5545969009399414, -0.38742950558662415, -0.5482528209686279, 0.5289779305458069, 0.20932985842227936, 0.37975260615348816, 0.46376797556877136, 0.8252851366996765, 0.08226806670427322, -0.0754338726401329, 0.2886427640914917, -0.7448561191558838, 0.5373551845550537, -0.2635878622531891, -0.6733742356300354, -0.1654161661863327, 0.13383075594902039, 0.5084862112998962, 0.5589067339897156, -0.2026333212852478, 0.1442873775959015, 0.2206643968820572, 0.6558759808540344, -1.1922760009765625, -0.11485438048839569, -0.9277145862579346, 0.1513884961605072, -0.5311116576194763, -0.10105422139167786, -0.4977010488510132, -0.2220575213432312, 0.0005040637915953994, -0.3852017819881439, -0.057227905839681625, 0.2813760042190552, 0.5036775469779968, 0.22148822247982025, -0.550349235534668, -0.2095826119184494, -0.6607052683830261, 0.6233764886856079, -0.6410126090049744, 0.29984450340270996, 0.1896561086177826, 0.4067232608795166, -0.5393760800361633, -1.1087712049484253, -0.5335572957992554, -0.30806922912597656, 0.15866337716579437, 0.11624933034181595, -0.2893371880054474, -0.08445410430431366, -0.1361188441514969, 0.2665471136569977, -0.5266115069389343, -0.0638263002038002, -0.0034927004016935825, 0.0376247763633728, 0.5220164060592651, 0.3281131982803345, 0.239409402012825, 0.09063328057527542, -0.3132452666759491, -0.016147729009389877, -0.8613346219062805, -0.34911903738975525, 0.2125720977783203, 0.3160422146320343, 0.06956321746110916, 0.8973529934883118, -0.2276148647069931, 0.5662309527397156, -0.030526278540492058, -0.0652175322175026, 0.03441321477293968, -0.6666527986526489, 0.05248789116740227, 0.038804903626441956, 0.9708253741264343, 0.5493161678314209, 0.24123191833496094, -0.31512150168418884, -0.4168495237827301, -0.20158499479293823, 0.20363178849220276, -0.8050270080566406, -0.29525622725486755, -0.10596634447574615, -0.46922317147254944, -0.2263364940881729, 0.06592053920030594, -0.7300989627838135, -0.7083637118339539, -0.06760377436876297, 0.3251812160015106, -0.17281894385814667, -0.10906735062599182, -0.27001819014549255, -0.48121944069862366, 0.3283751904964447, 0.061964210122823715, -0.6590851545333862, 0.3932409882545471, 0.8637022972106934, 0.9394367337226868, -0.7322746515274048, 0.043986521661281586, -0.7587847113609314, 0.175384983420372, -0.3621063828468323, 0.8917392492294312, -0.7576956748962402, -0.5037518739700317, 0.10559698194265366, -0.47586020827293396, 0.17447908222675323, -1.1090986728668213, 0.6341798305511475, -0.7525091171264648, -0.007292384281754494, -0.08273162692785263, -0.744145929813385, 0.2920956611633301, 0.27338871359825134, -0.45853909850120544, 1.319833517074585, -0.22001919150352478, -0.8467772603034973, 0.5128450989723206, -0.3647999167442322, -0.49205178022384644, 0.11387933045625687, -0.32069119811058044, -0.07715553790330887, 0.07284245640039444, 0.0979245975613594, 0.1898244172334671, -0.8531265258789062, 0.6263861656188965, -0.726793646812439, -0.5295363664627075, 0.34797802567481995, -0.40733733773231506, 0.6674309372901917, 0.43820011615753174, -0.11304837465286255, -0.15678226947784424, -0.8129856586456299, -0.06585638970136642, -0.05792360007762909, -0.5615889430046082, -0.4463638663291931, 0.21311195194721222, 0.31190627813339233, -0.13395853340625763, 0.3810485899448395, -0.4374964237213135, 0.35046622157096863, -0.05929535627365112, 0.29964518547058105, 0.41540613770484924, 0.17242369055747986, 0.4324062764644623, -0.33777353167533875, 0.3844413757324219, -0.001099286717362702, -0.15661107003688812, -0.11818491667509079, -0.2893469035625458, -0.5830345749855042, -0.36461341381073, 0.4238356947898865, 0.667469322681427, -0.6811661124229431, 0.44984063506126404, -0.20807108283042908, -0.7088558673858643, -0.618811309337616, 0.1017274260520935, 0.17210683226585388, 0.4734046161174774, 0.3922344446182251, -0.2894867956638336, -0.47186270356178284, -0.8357000350952148, -0.5783683657646179, -0.1886376589536667, -0.295377641916275, 0.531204104423523, 0.4886486828327179, -0.21810196340084076, 0.9326597452163696, -0.3266655206680298, -0.31956321001052856, -0.1215631514787674, 0.2843160927295685, 0.5260494947433472, 0.26541733741760254, 0.42616596817970276, -0.45621004700660706, -0.5738480687141418, -0.020566456019878387, -0.9252528548240662, -0.5390344262123108, 0.060764532536268234, -0.2852803170681, -0.13881362974643707, 0.4482439458370209, -0.4143312871456146, 0.3453020751476288, 0.04772769659757614, -0.3497908413410187, 0.4964192807674408, 0.10806454718112946, 0.37016761302948, -0.8821358680725098, 0.3922407329082489, 0.047535840421915054, -0.19686155021190643, -0.4237307608127594, 0.12552186846733093, 0.33864277601242065, 0.02525409124791622, -0.261048287153244, 0.7615757584571838, -0.36864492297172546, -0.09727156907320023, -0.39244621992111206, 0.13824111223220825, 0.23259316384792328, -0.060881659388542175, -0.35029470920562744, 1.018614411354065, 0.3638307750225067, -0.2779604196548462, 0.24531209468841553, -0.053850699216127396, -0.3665825128555298, 0.925509512424469, -0.6576627492904663, 0.16871242225170135, -0.11015091091394424, 0.29122310876846313, -0.8740895390510559, -0.051691461354494095, 0.05163196474313736, -0.3326350748538971, 0.367611825466156, -0.22345760464668274, -0.6867233514785767, 0.18477608263492584, -0.39633962512016296, 0.41457659006118774, 0.11146460473537445, -0.6019165515899658, 0.8249009847640991, 0.5476074814796448, 0.008094258606433868, -1.0125958919525146, -0.7846998572349548, 0.6514410376548767, -0.38634389638900757, -0.6750882863998413, 0.8530693650245667, -0.2405860275030136, -0.664027214050293, 0.07882633805274963, -0.10660789161920547, -0.07453431934118271, 0.05057626590132713, 0.02970481663942337, 0.4978075325489044, -0.1749926060438156, -0.10680830478668213, -0.06436749547719955, 0.2842230796813965, -0.09459944814443588, -0.1868504136800766, 0.43300485610961914, 0.1504610776901245, -0.13073456287384033, -0.2767791748046875, 0.19066932797431946, 0.5202319025993347, -0.11418163776397705, 0.6643074154853821, 0.2903084456920624, -0.10069878399372101, -0.16455423831939697, -0.6632165312767029, -0.11899387091398239, -0.4367203116416931, 0.1582280546426773, -0.25495755672454834, -0.5959790349006653, 0.7626421451568604, 0.16849885880947113, -0.03682704269886017, 0.32290467619895935, 0.35843926668167114, -0.12264032661914825, 0.5672267079353333, 0.19714340567588806, -0.44677889347076416, 0.6313537359237671, -0.03868498653173447, 0.10999014973640442, -0.8364375233650208, -0.40419360995292664, -0.7121576070785522, -0.409628301858902, -0.48656508326530457, -0.2994644343852997, 0.5078045725822449, 0.2463928461074829, -0.1815366894006729, 0.035799700766801834, -0.20308275520801544, 0.5926512479782104, 0.7364192605018616, -0.15062467753887177, 0.6035428643226624, -0.3814409673213959, -0.33436667919158936, -0.004175553098320961, -0.46460407972335815, -0.17192132771015167, 1.5048713684082031, -0.03194934129714966, 1.115632176399231, 0.12746183574199677, 0.9080830216407776, 0.8548367023468018, 0.33375829458236694, -0.6670304536819458, 0.4825507402420044, -0.07479982823133469, -0.8779129981994629, 0.4140029549598694, -0.47372451424598694, -0.9556177258491516, 0.4192824065685272, -0.5067015886306763, -0.5573118925094604, 0.24313396215438843, -0.2934209704399109, 0.0433528907597065, -0.027750883251428604, -0.5381906628608704, 0.5675443410873413, -0.40289556980133057, -0.9141599535942078, -0.20548151433467865, -0.5318994522094727, 0.42280158400535583, -0.026277154684066772, 0.10263696312904358, -0.3104114234447479, -0.2625657320022583, 0.6315934658050537, -0.14621412754058838, 0.31954994797706604, -0.011387394741177559, 0.34943318367004395, 0.23452897369861603, 0.2526349127292633, 0.5749067068099976, 0.060804616659879684, -0.3667512834072113, 0.31259840726852417, 0.0770113542675972, -0.09930215775966644, -0.49289193749427795, 0.9299172759056091, -0.5113153457641602, -0.4504128098487854, -0.6181207895278931, -0.32878464460372925, 0.12162762880325317, 0.38819220662117004, 0.17884281277656555, 0.22406230866909027, -0.32914668321609497, 0.41317740082740784, 0.44584402441978455, -0.14353732764720917, 0.4217502176761627, 0.6596347093582153, -0.2718307375907898, -0.5237888097763062, 0.5268296003341675, 0.09334651380777359, -0.07767622172832489, 0.47315388917922974, -0.2116757333278656, -0.2626740336418152, -0.8603402972221375, -0.2766663730144501, 0.02309407666325569, -0.7146501541137695, -0.5583921670913696, -0.49269360303878784, -0.080344557762146, -0.3672116696834564, 0.031939275562763214, -0.4971950054168701, -0.18418028950691223, -0.6121576428413391, 0.13616563379764557, 0.09259797632694244, 0.7117971777915955, 0.09139466285705566, -0.018224680796265602, -0.6252996325492859, 0.243989497423172, -0.25174981355667114, 0.39317479729652405, -0.061704836785793304, -0.45764437317848206, -0.18752296268939972, -0.22789008915424347, -0.3812602162361145, -0.8669238686561584, 0.4681403338909149, 0.4966002404689789, 0.7396218180656433, 0.30352070927619934, 0.24852101504802704, 0.535222053527832, -0.3977161645889282, 0.8034659028053284, 0.0069561307318508625, -0.5879639387130737, 0.3646715581417084, -0.273444801568985, 0.26789039373397827, 0.9574649930000305, 0.21698683500289917, -0.5528031587600708, -0.2656884491443634, -0.03856363892555237, -1.0638285875320435, 0.41345107555389404, 0.01546377781778574, -0.008458116091787815, -0.22813372313976288, 0.3880857825279236, 0.09541545808315277, 0.24017392098903656, -0.6946362257003784, -0.42402616143226624, 0.32004839181900024, -0.3163566589355469, 0.32034730911254883, 0.013139192014932632, 0.06231541559100151, -0.10064652562141418, 0.590457022190094, 0.031426843255758286, 0.012462767772376537, 0.08176074922084808, -0.07247371971607208, 0.1471242904663086, -0.026026947423815727, -0.05517062917351723, 0.39336809515953064, -0.4315949082374573, 0.2844015061855316, -0.1581905633211136, -0.34857726097106934, 0.09130590409040451, 0.2552412748336792, -0.25155940651893616, -0.19335505366325378, 0.4492730498313904, 0.32120010256767273, -0.014371593482792377, -1.2020736932754517, 0.392654150724411, -0.2848952114582062, 0.171205535531044, -0.1953372359275818, 0.4349088668823242, 0.0030486872419714928, 0.5012495517730713, 0.8585943579673767, -0.19375380873680115, 0.6737783551216125, -0.8220717906951904, 0.3184071481227875, 0.8376930952072144, -0.05993660166859627, 0.07191029191017151, 0.8694031834602356, 0.11021870374679565, -0.3218997120857239, 0.7735610008239746, 0.09101348370313644, 0.12127060443162918, 0.21045653522014618, 0.355035662651062, 0.9158963561058044, 0.2060459703207016, -0.2103584110736847, 0.29518061876296997, 0.04100741446018219, 0.06642520427703857, 0.07543820887804031, -0.2668268382549286, -0.6201991438865662, -0.13445857167243958, -0.6130721569061279, -0.2972606122493744, 0.06192981079220772, -0.5508834719657898, 0.429330438375473, -0.2807580232620239, -0.4074535667896271, 0.0994066596031189, -0.0061064213514328, -0.5614431500434875, -0.35104480385780334, 0.03549373894929886, 1.113952875137329, -0.5619491338729858, 0.8011782169342041, 0.3385488986968994, -0.3702859580516815, -0.01225067675113678, 0.18886874616146088, 0.1602509319782257, -0.7046913504600525, 0.5214041471481323, -0.06684304028749466, -0.17797856032848358, -0.21961912512779236, -0.6369045972824097, -0.8960809707641602, 1.1086276769638062, 0.38716381788253784, -0.39154747128486633, 0.04642021656036377, 0.12791235744953156, 0.6452831625938416, -0.5884292125701904, 0.5956002473831177, 0.8606979250907898, 0.28041574358940125, 0.17758962512016296, -0.8522588014602661, -0.2190207839012146, -0.5515210628509521, -0.0006123179337009788, 0.01735815405845642, -0.304200142621994, 0.5210510492324829, 0.01870119385421276, -0.271497517824173, 0.08630309253931046, 0.6363776326179504, 0.36299023032188416, 0.5168582797050476, -0.07955542206764221, 0.5543811321258545, 0.6862253546714783, -0.06726589798927307, 1.040164828300476, -0.4227987229824066, -0.0580466091632843, 1.345670223236084, -0.6747052073478699, 1.1246082782745361, 0.7216910719871521, -0.2617141604423523, 0.22994166612625122, 0.5650267004966736, -0.10218469798564911, 0.9289110898971558, 0.3254031836986542, -0.4904613196849823, 0.11847924441099167, -0.43956613540649414, -0.3022669553756714, 0.4119933247566223, 0.3562697172164917, -0.5399817228317261, -0.12424848973751068, -0.29349589347839355, -0.15675212442874908, 0.013282530941069126, -0.02710818313062191, 1.1497796773910522, 0.0038042976520955563, -0.9635991454124451, 0.6034516096115112, 0.04871075227856636, 1.0033985376358032, -0.3434242010116577, -0.02307545207440853, -0.6718130707740784, 0.062149882316589355, 0.010358127765357494, -0.9096760153770447, 0.07715962082147598, 0.1256636083126068, -0.01893666572868824, 0.19084130227565765, 0.7965470552444458, -0.3486354649066925, -0.2734266519546509, 0.5458171367645264, 0.42769408226013184, 0.04727226123213768, 0.019340287894010544, -0.6372619271278381, 0.24700695276260376, -0.0820629820227623, -0.28929710388183594, 0.47170817852020264, 0.3387596309185028, 0.4270555377006531, 0.6830584406852722, 0.44438034296035767, 0.025407949462532997, 0.1224454715847969, -0.15220612287521362, 0.8285832405090332, -0.5984960794448853, -0.1781819611787796, -0.9857059717178345, 0.28482335805892944, -0.11151111125946045, -0.22364436089992523, 0.5969035029411316, 0.927978515625, 0.8068051934242249, 0.19120803475379944, 0.9019879102706909, -0.024231117218732834, 0.21093010902404785, -0.4639340937137604, 0.7701691389083862, -0.6899248361587524, 0.5944111943244934, -0.054442014545202255, -1.14755380153656, -0.3996089994907379, 0.3469716012477875, -0.023889565840363503, 0.06411731243133545, 0.25152263045310974, 0.9525679349899292, -0.05149400979280472, -0.1971312016248703, 0.11335382610559464, -0.08271221071481705, 0.4321558475494385, 0.1829620897769928, 0.909656822681427, -0.2597484290599823, 0.38516226410865784, 0.08673176914453506, -0.017370790243148804, -0.6322509050369263, -0.8853347301483154, -0.7081253528594971, -0.4498441517353058, -0.10893018543720245, -0.4023783802986145, 0.36491063237190247, 1.1460469961166382, 0.5093755722045898, -0.6822713613510132, -0.4362630546092987, 0.04941515997052193, 0.06973423063755035, 0.1844853013753891, -0.2593931555747986, -0.030060335993766785, -0.26714733242988586, -0.6433686017990112, 0.7273634076118469, 0.40886202454566956, -0.020499711856245995, -0.1850890815258026, 0.02950548194348812, -0.48370206356048584, 0.1741499900817871, 0.31363001465797424, 0.018904101103544235, -0.470794677734375, 0.0369764044880867, 0.15227019786834717, -0.2429926097393036, 0.43615883588790894, 0.7342254519462585, -0.7853166460990906, 0.5618422031402588, 0.6058778762817383, 0.7868959903717041, 0.8492365479469299, -0.2573223412036896, 0.7114625573158264, -0.735406756401062, -0.2575457990169525, 0.41686615347862244, 0.4660142660140991, 0.3819652795791626, -0.2930747866630554, 0.7871780395507812, 0.16258399188518524, -0.6565805673599243, -0.9959610104560852, -0.2015485018491745, -0.7854209542274475, -0.3013535439968109, 0.9833812117576599, -0.0691874623298645, 0.040862057358026505, -0.11848858743906021, 0.025294166058301926, 0.24971824884414673, -0.6757730841636658, 0.9086822271347046, 0.699261486530304, -0.32974711060523987, 0.06190778315067291, -0.5309172868728638, 0.1435329169034958, 0.2185295671224594, -0.7274796962738037, 0.16910727322101593, 0.7906136512756348, 0.20065414905548096, -0.17596708238124847, 0.4708367586135864, -0.11058250069618225, -0.0693824514746666, 0.0015112377004697919, 0.202214315533638, 0.14291392266750336, -0.4588765501976013, -0.11276781558990479, 0.19854232668876648, 0.17096474766731262, 0.12761135399341583 ]
http://arxiv.org/abs/2405.16533v1
http://arxiv.org/pdf/2405.16533v1
Chain of Tools: Large Language Model is an Automatic Multi-tool Learner
2024-05-26T11:40:58
2024-05-26T11:40:58
Zhengliang Shi, Shen Gao, Xiuyi Chen, Yue Feng, Lingyong Yan, Haibo Shi, Dawei Yin, Zhumin Chen, Suzan Verberne, Zhaochun Ren
cs.CL
cs.CL
Augmenting large language models (LLMs) with external tools has emerged as a promising approach to extend their utility, empowering them to solve practical tasks. Existing work typically empowers LLMs as tool users with a manually designed workflow, where the LLM plans a series of tools in a step-by-step manner, and sequentially executes each tool to obtain intermediate results until deriving the final answer. However, they suffer from two challenges in realistic scenarios: (1) The handcrafted control flow is often ad-hoc and constraints the LLM to local planning; (2) The LLM is instructed to use only manually demonstrated tools or well-trained Python functions, which limits its generalization to new tools. In this work, we first propose Automatic Tool Chain (ATC), a framework that enables the LLM to act as a multi-tool user, which directly utilizes a chain of tools through programming. To scale up the scope of the tools, we next propose a black-box probing method. This further empowers the LLM as a tool learner that can actively discover and document tool usages, teaching themselves to properly master new tools. For a comprehensive evaluation, we build a challenging benchmark named ToolFlow, which diverges from previous benchmarks by its long-term planning scenarios and complex toolset. Experiments on both existing datasets and ToolFlow illustrate the superiority of our framework. Analysis on different settings also validates the effectiveness and the utility of our black-box probing algorithm.
[ -0.37594854831695557, -0.8672272562980652, 0.5118522644042969, -0.13299870491027832, -0.13502468168735504, 0.4876900315284729, -0.26969611644744873, -0.398250550031662, -0.03647482767701149, 0.574857771396637, -0.5747137069702148, -0.2953683137893677, -0.5161738395690918, 0.056502606719732285, -0.5854664444923401, 0.7132245898246765, -0.31258273124694824, -0.25534650683403015, 0.15134432911872864, -0.18450237810611725, -0.31644144654273987, -0.5075790286064148, -0.8227065801620483, -0.5773140788078308, 0.6261497139930725, 0.3003886938095093, 0.9466425776481628, 0.7801855206489563, 0.32871076464653015, 0.3865664303302765, -0.008008113130927086, 0.15611480176448822, -0.3456680178642273, -0.02424013800919056, -0.26066771149635315, -0.4552799463272095, -0.43490123748779297, -0.23447369039058685, 0.5618451833724976, 0.7891085743904114, -0.21751046180725098, 0.3467157185077667, -0.03623669967055321, 0.2948688268661499, -0.602005124092102, -0.13079063594341278, -0.7951861023902893, -0.11924250423908234, -0.10623569041490555, -0.1434614062309265, -0.2781235873699188, -0.09266279637813568, 0.10411742329597473, -0.33327460289001465, -0.09547284990549088, 0.04726560413837433, 0.5163564085960388, 0.23970244824886322, -0.7511420845985413, -0.35926538705825806, -0.816535234451294, 0.7701759338378906, -0.7250872254371643, 0.32910242676734924, 0.24927668273448944, 0.5637912750244141, -0.3308447003364563, -0.6317470669746399, -0.46568918228149414, -0.10076522827148438, 0.15565292537212372, -0.22609002888202667, -0.033659979701042175, -0.1488635390996933, 0.3860291838645935, 0.40002381801605225, -0.44005459547042847, 0.44085702300071716, -0.533135175704956, -0.19703151285648346, 0.7951157093048096, 0.3493213951587677, 0.05862116441130638, 0.0805034190416336, -0.14791375398635864, -0.24215984344482422, -0.827192485332489, 0.04215994477272034, 0.6382997632026672, 0.2670643925666809, -0.11359753459692001, 0.6708354353904724, 0.1023733988404274, 0.7748165130615234, -0.3529803454875946, -0.18051835894584656, 0.20946091413497925, -0.39685437083244324, -0.2909933030605316, -0.030721647664904594, 0.9192635416984558, -0.04006336256861687, 0.36853474378585815, -0.0646798238158226, -0.39283180236816406, -0.09699033200740814, 0.46121251583099365, -0.6045721173286438, -0.17427557706832886, 0.34040477871894836, -0.1019069105386734, -0.4197969436645508, -0.13518744707107544, -0.4969164729118347, -0.4449104070663452, -0.3108867108821869, 0.530167818069458, 0.007306375075131655, -0.4534400701522827, 0.0879535973072052, 0.12141841650009155, 0.2810349762439728, 0.413722962141037, -0.4627610146999359, 0.4201381802558899, 0.622746467590332, 1.107817530632019, -0.1822146326303482, -0.3081280291080475, -0.6582676768302917, 0.1844457983970642, -0.5326622724533081, 0.49677982926368713, -0.3843047618865967, -0.4918101131916046, 0.13715749979019165, 0.28162145614624023, 0.35996314883232117, -0.45681115984916687, 0.012844683602452278, -0.33558762073516846, 0.06429389119148254, 0.01808304898440838, -0.2554466128349304, -0.19566486775875092, 0.29156237840652466, -0.6551424264907837, 1.0995014905929565, 0.12736675143241882, -0.6005602478981018, 0.2237914800643921, -0.5458770990371704, -0.533210039138794, -0.049832865595817566, -0.22670958936214447, -0.43775585293769836, -0.013761373236775398, 0.17444980144500732, 0.6434767246246338, -0.3954783082008362, 0.44519051909446716, -0.7448226809501648, -0.4321441650390625, 0.054724473506212234, -0.3465251922607422, 0.9192000031471252, 0.16117911040782928, -0.3761541247367859, 0.37374451756477356, -0.7168620824813843, -0.046706490218639374, 0.06863739341497421, -0.2604800760746002, -0.32171058654785156, 0.19238580763339996, -0.12370868772268295, 0.5363582372665405, -0.05675322934985161, -0.4430467188358307, 0.5119352340698242, -0.5958287119865417, 0.5909799933433533, 0.9458662271499634, -0.14712387323379517, 0.3679538369178772, -0.2081834077835083, 0.6730949878692627, -0.19423779845237732, 0.03468489646911621, -0.1644967943429947, -0.21210257709026337, -0.7973357439041138, 0.11851859837770462, -0.03652120754122734, 0.6962531208992004, -0.8486611843109131, 0.5628622174263, -0.09254742413759232, -0.6181111335754395, -0.5358518958091736, 0.4395037591457367, 0.1903410702943802, 0.10011865198612213, 0.18291215598583221, -0.550168514251709, -0.38741275668144226, -0.7847921848297119, 0.13923774659633636, -0.13907988369464874, -0.2097802311182022, 0.2689598798751831, 0.6837003827095032, -0.24053922295570374, 0.7030678391456604, -0.4995913505554199, -0.10179739445447922, -0.38233575224876404, 0.03590851649641991, 0.49327465891838074, 0.30555906891822815, -0.02710886299610138, -0.5166444778442383, -0.34557268023490906, 0.3303069472312927, -0.608607828617096, 0.04137803986668587, -0.12873661518096924, -0.03583526238799095, 0.05904828757047653, 0.6778383255004883, -0.21573404967784882, 0.3992540240287781, 0.59904944896698, -0.16272275149822235, 0.9007157683372498, -0.3607715964317322, -0.2515938878059387, -1.1475151777267456, 0.24802909791469574, 0.008415378630161285, -0.2715476155281067, -0.5554404258728027, 0.13293275237083435, 0.17528019845485687, -0.19841475784778595, -0.5452577471733093, 0.8069508671760559, -0.5587771534919739, -0.2714059352874756, -0.4284437298774719, -0.07096131891012192, -0.16117160022258759, 0.44315865635871887, -0.022494688630104065, 0.9054258465766907, 0.7965281009674072, -0.5646133422851562, 0.6509332060813904, -0.12004026770591736, -0.3157643973827362, 0.2957162857055664, -0.8048948049545288, 0.24031855165958405, 0.22428441047668457, 0.2954116463661194, -0.7691201567649841, 0.06793507933616638, 0.08934243768453598, -0.02988595701754093, 0.30712535977363586, -0.1611386090517044, -1.0977531671524048, -0.7078962326049805, -0.32417911291122437, 0.11428797990083694, 0.47293007373809814, -0.6113913059234619, 0.8613796234130859, 0.28188925981521606, -0.012919902801513672, -0.6624660491943359, -0.45979318022727966, 0.08832933753728867, -0.3711266815662384, -0.5425994992256165, -0.10452893376350403, -0.15021808445453644, -0.3525826334953308, -0.49285832047462463, -0.2775607407093048, -0.0669550895690918, 0.23340041935443878, 0.24400438368320465, 0.23817016184329987, -0.10966970026493073, 0.20549249649047852, -0.11547832936048508, 0.18069623410701752, 0.3847257196903229, -0.16966544091701508, 0.6464466452598572, -0.05484594777226448, -0.5315330028533936, -0.1146313026547432, 0.1219501718878746, 0.6150404214859009, -0.3620888888835907, 0.5764948725700378, 0.6783549785614014, -0.22501468658447266, -0.49218156933784485, -0.7747868299484253, -0.2751644551753998, -0.6200090646743774, 0.33017003536224365, -0.5305740237236023, -0.6788404583930969, 0.839217483997345, -0.4268452525138855, 0.3179090619087219, 0.02611970528960228, 0.6904881000518799, 0.2010658234357834, 1.0380443334579468, 0.7318413257598877, -0.4307861328125, 0.23762643337249756, -0.5257095098495483, 0.1679372489452362, -0.9063014388084412, 0.08402782678604126, -0.39748120307922363, -0.19363513588905334, -0.47411835193634033, -0.4500206708908081, 0.31821495294570923, 0.017839867621660233, -0.2547113597393036, 0.6350972056388855, -0.38080495595932007, 0.4004633128643036, 0.4404814839363098, -0.027754291892051697, 0.4204011857509613, -0.1755959689617157, -0.38744011521339417, 0.5795084238052368, -0.7956467866897583, -0.5173943638801575, 1.3698697090148926, 0.6240088939666748, 1.0501950979232788, -0.060786448419094086, 0.6025208234786987, -0.004432672634720802, 0.21436218917369843, -0.8550809621810913, 0.5450668334960938, 0.1535017043352127, -0.627577543258667, -0.48142945766448975, -0.3213140368461609, -0.9494003653526306, 0.43535521626472473, 0.0012130968971177936, -0.9541892409324646, 0.03016258217394352, 0.19440896809101105, -0.2394907921552658, 0.6748344898223877, -0.71795254945755, 0.731304407119751, -0.39398276805877686, -0.7537786960601807, -0.1686735600233078, -0.6815019845962524, 0.2511574923992157, -0.4733957350254059, 0.41380879282951355, 0.1186264306306839, -0.06397904455661774, 0.5094828009605408, -0.4257732033729553, 0.8616948127746582, 0.1668056845664978, -0.5597274303436279, 0.23870207369327545, 0.37473064661026, 0.9432745575904846, -0.003439734224230051, -0.07910341769456863, -0.02989351376891136, -0.12295664101839066, -0.16191641986370087, -0.5475515723228455, 0.7767077088356018, -0.6736708283424377, -0.6528228521347046, -0.38831213116645813, -0.6548464894294739, -0.17248785495758057, 0.2636145353317261, -0.3260197937488556, 0.6757774949073792, 0.1599610596895218, 0.06935372203588486, 0.29791325330734253, -0.3225310742855072, 0.5275045037269592, 0.4753815531730652, -0.2747080326080322, -0.04780607670545578, 0.7285782098770142, 0.07972078770399094, 0.5765295624732971, 0.14534525573253632, 0.3643380403518677, -0.21400241553783417, -0.6021517515182495, -0.45002856850624084, 0.3610761761665344, -0.69979327917099, -0.08895232528448105, -0.5036842226982117, -0.19310511648654938, -0.16185292601585388, -0.41088438034057617, -0.37819865345954895, -0.07160989195108414, -0.07479522377252579, 0.0768509954214096, 0.24368248879909515, 0.823773205280304, 0.18374668061733246, 0.3850593864917755, -0.44146135449409485, 0.051376763731241226, 0.31584709882736206, 0.43711888790130615, 0.1597405970096588, -0.2781163156032562, -0.25367239117622375, -0.10904189944267273, -0.5337334275245667, -0.6502457857131958, 0.41881275177001953, -0.10490800440311432, 0.42158424854278564, 0.39300286769866943, 0.0820808857679367, 0.7919749021530151, -0.586914598941803, 0.4959450960159302, 0.017065906897187233, -0.8592298030853271, 0.505045473575592, -0.4046443998813629, 0.6606225967407227, 0.26935628056526184, 0.5794631838798523, -0.43149426579475403, -0.8633466362953186, -0.6478284001350403, -0.9700372815132141, 0.6299802660942078, 0.05671267583966255, -0.07690797001123428, 0.33260589838027954, 0.20638947188854218, 0.14144712686538696, 0.3611740469932556, -0.8617105484008789, -0.17439541220664978, 0.03508065640926361, 0.05426304042339325, -0.36636996269226074, 0.1074969545006752, -0.1238764226436615, -0.21210111677646637, 0.6084967255592346, -0.3214057683944702, -0.0652165561914444, -0.17321819067001343, -0.098804771900177, -0.23657603561878204, 0.3170880079269409, 0.2183133214712143, 1.1461588144302368, -0.18914224207401276, 0.3133603036403656, 0.4977981150150299, -0.16132467985153198, 0.18828891217708588, 0.09236793220043182, 0.20315343141555786, -0.2504023015499115, 0.5936821103096008, 0.6600930094718933, 0.10045813024044037, -0.7732102274894714, 0.30864977836608887, 0.3629603981971741, -0.2764410972595215, -0.48124223947525024, 0.19379088282585144, 0.20023982226848602, 0.33685579895973206, 0.3033152222633362, -0.34070807695388794, 0.16521990299224854, -0.740530788898468, 0.2300303876399994, 0.5519720315933228, -0.3378082513809204, -0.2445823699235916, 0.299949586391449, 0.0919497013092041, -0.49405452609062195, 0.49205949902534485, -0.16928382217884064, -0.508674681186676, 0.5469936728477478, 0.4379808306694031, 0.5029755234718323, -0.21156045794487, -0.11094217002391815, 0.270525187253952, 0.5537081360816956, -0.19482186436653137, 0.10732998698949814, -0.10026321560144424, -0.5052198171615601, -0.7772170305252075, -0.33001285791397095, -0.2919155955314636, 0.3427600860595703, -0.4753757417201996, 0.6183017492294312, -0.4131021797657013, -0.015866760164499283, -0.12073271721601486, 0.22946268320083618, -0.7067428827285767, -0.09288457036018372, -0.13661709427833557, 1.0141199827194214, -0.8130226731300354, 1.145468831062317, 0.6712886095046997, -0.15654395520687103, -0.946976900100708, -0.3277493119239807, 0.31646835803985596, -0.9309611916542053, 0.5311211347579956, 0.23390382528305054, -0.25997915863990784, -0.025449607521295547, -0.2878783345222473, -0.8189846873283386, 1.0969483852386475, -0.07644668221473694, -0.8312733769416809, -0.09277929365634918, -0.027180342003703117, 0.5029428601264954, -0.28388506174087524, 0.3913343846797943, 0.3704254627227783, 0.4056326150894165, 0.22822265326976776, -1.3772984743118286, 0.22648242115974426, -0.0818532407283783, -0.07502598315477371, 0.618449330329895, -0.3108089566230774, 0.6544563174247742, -0.2982730269432068, -0.19091221690177917, -0.15958291292190552, 0.2061205804347992, 0.12168863415718079, 0.03432098776102066, 0.7733125686645508, 0.3781389892101288, 0.2927864193916321, 0.10851216316223145, 0.9873170852661133, -0.1334236115217209, 0.19582295417785645, 1.256266474723816, -0.4167582094669342, 0.8833625316619873, 0.5691044926643372, -0.30445265769958496, 0.37402600049972534, 0.4892091751098633, -0.24444663524627686, 0.22073444724082947, 0.758918046951294, -0.07963564991950989, -0.2062346190214157, 0.06752491742372513, -0.16166670620441437, 0.4238235354423523, 0.3170641362667084, -0.25092655420303345, -0.27759698033332825, 0.1699816882610321, 0.04383113607764244, -0.14212103188037872, -0.3888840973377228, 0.7724953293800354, 0.14905379712581635, -0.5392062664031982, 0.5739192366600037, -0.09001514315605164, 0.7784757614135742, -0.9356765151023865, 0.04372437298297882, 0.19721589982509613, 0.4233410358428955, 0.0077545540407299995, -0.9464174509048462, 0.27120351791381836, -0.2911512553691864, 0.4206535518169403, -0.21190495789051056, 0.6363734602928162, -0.4230158030986786, -0.6669794917106628, 0.5713953375816345, 0.6536791324615479, 0.03415367752313614, -0.019390007480978966, -0.7539048194885254, 0.21200212836265564, -0.2101326733827591, -0.194407656788826, 0.30089491605758667, 0.4118795692920685, -0.20272064208984375, 1.2721904516220093, 0.7238574624061584, 0.42137131094932556, -0.04055539518594742, 0.13116630911827087, 1.0279076099395752, -0.4900231659412384, -0.3847532272338867, -0.9291708469390869, 0.5185929536819458, -0.12259548902511597, -0.2015712857246399, 0.727295994758606, 0.5489280819892883, 1.0752843618392944, 0.2010403275489807, 0.6432409882545471, 0.10409623384475708, 0.3427356481552124, -0.3192872405052185, 0.5098592638969421, -0.8117936849594116, 0.34727737307548523, -0.3832576274871826, -0.8161022067070007, -0.1184593215584755, 0.5526303052902222, -0.224934384226799, -0.15627595782279968, 0.8261978626251221, 0.9090024828910828, -0.311482697725296, -0.3115732967853546, 0.14360786974430084, 0.010046444833278656, 0.6095180511474609, 0.5667614936828613, 0.6297715306282043, -0.19394852221012115, 0.6576499938964844, -0.46646547317504883, -0.16374872624874115, 0.07174305617809296, -0.9551458358764648, -1.3256129026412964, -0.53875333070755, -0.1955508440732956, -0.26435038447380066, 0.06303278356790543, 1.0247325897216797, 0.8381637930870056, -0.538940966129303, -0.9806768298149109, -0.014523888006806374, 0.1794602870941162, -0.3013540208339691, -0.1675998717546463, 0.2567521035671234, -0.1556961089372635, -0.44987204670906067, 0.2983225882053375, 0.15788932144641876, 0.0888364315032959, -0.8523592948913574, -0.09017981588840485, -0.3759766221046448, -0.1791306734085083, 0.624848484992981, 0.17451535165309906, -0.7885730862617493, -0.20900790393352509, -0.107123002409935, 0.3253284990787506, -0.1357404589653015, 1.1031568050384521, -0.7005342245101929, 0.6145552396774292, 0.12735013663768768, 0.6474488973617554, 0.5691539645195007, -0.4474327862262726, 0.9916319847106934, -0.7437756657600403, 0.12544405460357666, 0.0600164532661438, 0.379352331161499, 0.16521398723125458, -0.23751583695411682, 0.571471631526947, -0.23272062838077545, -0.5082103610038757, -1.0304195880889893, 0.35452863574028015, -0.7869941592216492, -0.42215168476104736, 1.1707870960235596, 0.07600618153810501, -0.12555451691150665, -0.38874173164367676, -0.19084200263023376, 0.17792370915412903, -0.4026232063770294, 0.6719553470611572, 0.826185941696167, 0.07306035608053207, -0.21328504383563995, -0.7861200571060181, 0.17308062314987183, -0.052693042904138565, -0.858626127243042, 0.25398993492126465, 0.2318657785654068, 0.32892727851867676, 0.17724496126174927, 0.43695300817489624, 0.1209769994020462, -0.0006210962892509997, -0.32442259788513184, -0.04822296276688576, -0.4344775676727295, -0.4352724850177765, -0.3014760911464691, 0.09854065626859665, 0.1468515843153, 0.2405463457107544 ]
http://arxiv.org/abs/2405.16528v1
http://arxiv.org/pdf/2405.16528v1
LoQT: Low Rank Adapters for Quantized Training
2024-05-26T11:29:57
2024-05-26T11:29:57
Sebastian Loeschcke, Mads Toftrup, Michael J. Kastoryano, Serge Belongie, Vésteinn Snæbjarnarson
cs.LG
cs.LG, cs.CL
Training of large neural networks requires significant computational resources. Despite advances using low-rank adapters and quantization, pretraining of models such as LLMs on consumer hardware has not been possible without model sharding, offloading during training, or per-layer gradient updates. To address these limitations, we propose LoQT, a method for efficiently training quantized models. LoQT uses gradient-based tensor factorization to initialize low-rank trainable weight matrices that are periodically merged into quantized full-rank weight matrices. Our approach is suitable for both pretraining and fine-tuning of models, which we demonstrate experimentally for language modeling and downstream task adaptation. We find that LoQT enables efficient training of models up to 7B parameters on a consumer-grade 24GB GPU. We also demonstrate the feasibility of training a 13B parameter model using per-layer gradient updates on the same hardware.
[ -0.1822649985551834, -0.6292344927787781, 0.3304891288280487, 0.28855961561203003, -0.3990219831466675, 0.014365105889737606, 0.19812707602977753, 0.032725147902965546, -0.08560536801815033, 0.43009617924690247, -0.27243882417678833, -0.09498584270477295, -0.3524198830127716, -0.3786313235759735, -0.322625070810318, 1.0369889736175537, 0.03329262509942055, 0.20705969631671906, -0.11446218937635422, -0.17078560590744019, -0.07455872744321823, -0.6973459720611572, -0.9840252995491028, -0.2622887194156647, 0.6714670658111572, -0.02309310995042324, 0.6425807476043701, 0.3744654953479767, 0.5022351145744324, 0.2803094685077667, 0.11249710619449615, -0.17913788557052612, -0.6662073135375977, 0.026687242090702057, 0.0043717664666473866, -0.587118923664093, -0.9071975350379944, -0.04449186101555824, 0.6932128667831421, 0.7526893019676208, -0.20404542982578278, 0.31080949306488037, 0.17152073979377747, 0.828715980052948, -0.896664559841156, -0.12866289913654327, -0.47538891434669495, 0.28860023617744446, 0.17617598176002502, -0.2638026773929596, -0.1549706757068634, -0.3041056990623474, -0.06914627552032471, -0.9179477691650391, 0.03241848573088646, -0.11126324534416199, 0.37830430269241333, 0.6710755825042725, -0.5844606161117554, 0.43817564845085144, -0.8059868216514587, 0.7133038640022278, -0.6263280510902405, 0.4987247884273529, 0.3611457943916321, 0.22236208617687225, 0.013436183333396912, -0.9767340421676636, -0.10871659219264984, -0.10915414243936539, 0.19619320333003998, 0.24151884019374847, -0.19688096642494202, 0.3916073441505432, 0.584283173084259, 0.48941388726234436, -0.45973262190818787, 0.05237795040011406, -0.1355351060628891, 0.18929986655712128, 0.36018258333206177, 0.031524427235126495, -0.01538882963359356, 0.12067049741744995, -0.5229971408843994, 0.05411878228187561, -0.8323834538459778, 0.09316632151603699, 0.15546274185180664, 0.0709085538983345, -0.0464835949242115, 0.3646411597728729, -0.42831411957740784, 0.7111153602600098, 0.33298635482788086, 0.03589842841029167, -0.2910648286342621, -0.19684650003910065, -0.511615514755249, -0.045147333294153214, 0.5537094473838806, -0.20648252964019775, -0.03290153667330742, -0.20610754191875458, -0.5806472301483154, -0.31724148988723755, 0.29024213552474976, -1.24465811252594, -0.4515492022037506, 0.12421885877847672, -0.45302656292915344, -0.4032370150089264, -0.4385536015033722, -0.21129558980464935, -0.40270984172821045, -0.28249692916870117, 0.9877132177352905, -0.30755022168159485, 0.12780845165252686, 0.15369388461112976, -0.028195146471261978, 0.13734136521816254, 0.4535538852214813, -1.0185388326644897, 0.3794599175453186, 0.49555855989456177, 0.6984069347381592, 0.00400623120367527, -0.041464246809482574, -0.9404710531234741, -0.044453516602516174, -0.3061896562576294, 0.49285081028938293, -0.1905377060174942, -0.21620014309883118, -0.2001693993806839, -0.10189541429281235, -0.12302890419960022, -0.4022614359855652, 0.3630177676677704, -0.8714341521263123, -0.15265852212905884, -0.25894203782081604, -0.258871853351593, 0.0711202546954155, 0.2747739851474762, -0.5671662092208862, 1.0947827100753784, 0.6381957530975342, -0.5997245907783508, 0.12411744147539139, -0.8332066535949707, -0.2815272808074951, 0.15012498199939728, 0.14641374349594116, -0.43943890929222107, 0.4847848415374756, 0.1564464420080185, 0.43906229734420776, -0.371212363243103, -0.018616605550050735, -0.3452050983905792, -0.7139262557029724, 0.36715036630630493, -0.34735068678855896, 0.8408793807029724, 0.1326444447040558, -0.16851434111595154, 0.17782987654209137, -0.8760926127433777, 0.0854741632938385, 0.10476122051477432, -0.7412165999412537, -0.3353097140789032, -0.025874614715576172, -0.04386698082089424, 0.13857662677764893, 0.2200220674276352, -0.2848755717277527, 0.5103964805603027, -0.0406918078660965, 1.0966169834136963, 0.7829603552818298, -0.21142540872097015, 0.4690488576889038, -0.24746482074260712, 0.7572556734085083, 0.09661910682916641, 0.25222715735435486, 0.0841183215379715, -0.0728650838136673, -1.1427844762802124, -0.43246346712112427, 0.7169072031974792, 0.41402649879455566, -1.0760184526443481, 0.26031187176704407, -0.48267850279808044, -0.3066582977771759, -0.407938152551651, 0.05486851558089256, 0.18808136880397797, 0.2754441499710083, 0.4102863669395447, -0.10452084243297577, -0.32867690920829773, -0.7438123226165771, -0.09825939685106277, -0.036621689796447754, -0.28132638335227966, 0.10778933763504028, 0.42374640703201294, -0.07792553305625916, 0.6879881024360657, -0.4449220597743988, -0.12656840682029724, 0.18505646288394928, 0.1455129235982895, 0.04997219517827034, 0.7199355959892273, 0.46343761682510376, -0.5226733088493347, -0.34753304719924927, -0.007798160891979933, -0.6671756505966187, 0.36033186316490173, 0.09701289981603622, -0.3094244599342346, -0.1422003209590912, 0.8522012829780579, -0.34181585907936096, 0.20575745403766632, 0.7701331973075867, -0.1820378601551056, -0.02524230256676674, -0.1288154423236847, 0.008815694600343704, -1.046150803565979, 0.043646279722452164, -0.05017373710870743, -0.6086805462837219, -0.5717039704322815, -0.006917678751051426, -0.0009191494318656623, -0.5439891815185547, -0.5044770240783691, 0.5199037194252014, -0.10563986003398895, -0.1993376612663269, -0.11185368150472641, -0.15096911787986755, 0.1024174615740776, 0.7460379600524902, -0.21041569113731384, 0.8815074563026428, 0.4555833041667938, -0.5113433599472046, 0.3308740258216858, 0.08995985984802246, -0.2653675377368927, 0.7375476360321045, -0.7697343230247498, 0.29163241386413574, 0.01812015473842621, 0.2142086923122406, -0.6844190955162048, 0.1697973757982254, 0.02816382609307766, -0.0998968705534935, -0.09768298268318176, -0.7222990393638611, -0.25958940386772156, 0.02338670939207077, -0.3356917202472687, 0.9094943404197693, 0.6772379875183105, -0.6948164701461792, 0.9044830799102783, 0.06048598140478134, 0.07352781295776367, -0.4148976504802704, -0.5729130506515503, -0.4892260432243347, -0.2797243893146515, -0.4703744351863861, 0.34863054752349854, -0.17592354118824005, 0.16188566386699677, -0.11263212561607361, -0.10225453972816467, -0.1973365992307663, 0.6728203892707825, 0.2987930476665497, 0.15908238291740417, -0.6836734414100647, 0.01819979026913643, -0.03011498600244522, -0.0712117999792099, 0.045654818415641785, -0.7714297771453857, 0.3868488371372223, -0.20647241175174713, -0.22105129063129425, -0.22839584946632385, -0.04359213262796402, 0.30021578073501587, -0.18106545507907867, 0.6642809510231018, 0.9748393893241882, -0.48854780197143555, -0.4176589250564575, -0.20367218554019928, -0.19536274671554565, -0.5051529407501221, 0.6275864839553833, -0.3660948872566223, -0.9099000692367554, 0.28616848587989807, -0.24464072287082672, -0.20751968026161194, 0.2146848887205124, 0.30744630098342896, -0.25434553623199463, 1.0200108289718628, 0.6054069399833679, -0.04924770072102547, 0.8514978289604187, -0.27030450105667114, 0.2795075476169586, -1.0748416185379028, 0.4082711935043335, -0.2844667434692383, -0.6404335498809814, -0.6441187858581543, -0.5578268766403198, 0.5113492608070374, 0.5965064764022827, -0.7499581575393677, -0.06241810694336891, -0.3220868408679962, 0.5097768306732178, 0.7794598340988159, 0.34758976101875305, 0.322121262550354, 0.1396675705909729, 0.3846580386161804, 0.33596718311309814, -0.805122435092926, 0.06059124320745468, 1.1018869876861572, 0.3039626181125641, 0.9202960729598999, 0.11216685175895691, 0.5050014853477478, 0.3162330687046051, 0.31810587644577026, -1.0330379009246826, 0.4654819071292877, -0.5307722091674805, -0.3717096745967865, -0.432697057723999, -0.4940529763698578, -0.797437846660614, 0.3066392242908478, -0.41881537437438965, -0.49948322772979736, 0.4046304523944855, 0.4630535840988159, -0.9524051547050476, 0.18272764980793, -0.6099674701690674, 0.718413233757019, -0.20513983070850372, -0.41911789774894714, -0.07245325297117233, -0.07211964577436447, 0.48003506660461426, -0.29708677530288696, -0.21835073828697205, -0.07338423281908035, -0.03900841623544693, 1.0241303443908691, -0.5128580927848816, 0.7026104927062988, -0.3732461929321289, -0.08151230961084366, 0.09857713431119919, 0.061082661151885986, 0.6428208351135254, 0.380006343126297, -0.03682909905910492, 0.011175530031323433, 0.2543984353542328, -0.8384329676628113, -0.7149307131767273, 0.6510024070739746, -1.0960203409194946, -0.47819435596466064, -0.24379126727581024, -0.6756168603897095, -0.7363157868385315, 0.1184803918004036, 0.15947067737579346, 0.4086844027042389, -0.20927415788173676, 0.39797070622444153, 0.7845285534858704, 0.006894929800182581, 0.4086229205131531, 0.26205748319625854, -0.28756147623062134, -0.4890747368335724, 1.150697112083435, 0.060059115290641785, 0.338175892829895, 0.4591997563838959, 0.14312154054641724, 0.31828394532203674, -0.7179788947105408, -0.23145155608654022, -0.024595050141215324, -0.6084403991699219, -0.43450161814689636, -0.35830187797546387, -0.6152961850166321, 0.032144270837306976, -0.23183420300483704, -0.6280316710472107, -0.6850659847259521, -0.24619533121585846, 0.27527204155921936, 0.3617294132709503, 0.4073958694934845, 0.1402548998594284, 0.976186215877533, -0.5643894672393799, 0.5211023688316345, 0.903855562210083, 0.3392278850078583, -0.052749186754226685, -0.7145319581031799, -0.6138389706611633, 0.06466308236122131, -0.4041092097759247, 0.0029175998643040657, 0.14670820534229279, 0.2733969986438751, 0.12423031777143478, 0.369030237197876, 0.08291313797235489, 0.5869607925415039, -0.18136224150657654, 0.5199422240257263, 0.11960943788290024, -1.1496857404708862, 0.27606281638145447, -0.5555098056793213, 0.3306196630001068, 0.4661683738231659, 0.534055233001709, -0.3076874017715454, 0.4294138252735138, -0.24342484772205353, -0.5743603110313416, 0.7415763139724731, -0.011974680237472057, 0.04831064119935036, 0.44949424266815186, 0.44841477274894714, -0.31850293278694153, 0.19750165939331055, -0.7438469529151917, 0.03938965126872063, -0.484387069940567, -0.09157824516296387, -0.008816054090857506, -0.2190588414669037, -0.3305279612541199, -0.3974437117576599, 0.7098340392112732, -0.6195809841156006, 0.5420796275138855, -0.025885606184601784, -0.3444032669067383, 0.00664673512801528, 0.06494998186826706, 0.3777422308921814, 0.4643140137195587, -0.39475783705711365, 0.19032177329063416, 0.26254692673683167, -0.49448779225349426, 0.26294979453086853, 0.19811728596687317, -0.17166122794151306, -0.5604585409164429, 0.09187673032283783, 1.2725178003311157, 0.43943238258361816, -0.22882042825222015, 0.5197744965553284, -0.3773012161254883, -0.46191805601119995, -0.14483068883419037, 0.20299522578716278, 0.24797001481056213, 0.4189085066318512, 0.2387847751379013, 0.06317826360464096, -0.04100541025400162, -0.3550660014152527, -0.3692714273929596, 0.656162440776825, -0.5741433501243591, -0.40864303708076477, 0.7039558291435242, 0.33597373962402344, -0.13348476588726044, 0.9032955169677734, -0.034946538507938385, -0.24967755377292633, 0.38431036472320557, 0.41671204566955566, 0.7555499076843262, -0.17182420194149017, 0.07745712995529175, 0.14937403798103333, 0.042612701654434204, -0.16900534927845, 0.1671387255191803, -0.06978190690279007, -0.6913556456565857, -0.586511492729187, -0.8974916934967041, -0.20389233529567719, 0.262037456035614, -0.6844039559364319, 0.294238418340683, -0.8060893416404724, -0.42131489515304565, -0.06934294104576111, -0.10631775856018066, -0.7307316064834595, 0.2381756454706192, 0.1624595820903778, 0.5922548174858093, -0.6000532507896423, 1.1654179096221924, 0.6000869870185852, -0.1751352697610855, -0.566304087638855, -0.2551439106464386, -0.6348401308059692, -1.0789178609848022, 0.7281176447868347, -0.4905916750431061, 0.10664854198694229, 0.658582329750061, -0.5252177715301514, -0.996694028377533, 1.316043496131897, 0.6930184364318848, -0.433270126581192, -0.3883173167705536, 0.22214797139167786, 0.2866564095020294, -0.050138767808675766, 0.28859734535217285, 0.4903913140296936, 0.1504383683204651, -0.12370170652866364, -0.4405803084373474, 0.0301078911870718, -0.1512988805770874, 0.19483743607997894, 0.20148149132728577, -0.8221355080604553, 1.2108519077301025, 0.11127635091543198, 0.1751052439212799, 0.11598006635904312, 0.6096672415733337, 0.09107549488544464, -0.2115411013364792, 0.6399170160293579, 0.49736857414245605, 0.706562876701355, -0.07375114411115646, 0.8869473934173584, -0.3556225895881653, 0.4361657500267029, 0.8479068279266357, -0.15149854123592377, 0.8799100518226624, 0.48414888978004456, -0.37840744853019714, 0.17366713285446167, 0.5162776112556458, -0.007322946097701788, 0.47223421931266785, 0.4557114541530609, -0.3518223464488983, -0.5325098633766174, -0.05757388100028038, -0.3550625145435333, 0.34498411417007446, 0.07968507707118988, -0.16418109834194183, 0.1238788515329361, 0.2161242514848709, -0.2732095718383789, -0.6245304942131042, -0.7439377307891846, 0.7383163571357727, 0.3018832206726074, -0.4554678499698639, 1.086419939994812, -0.062175169587135315, 0.6728150248527527, -0.5510053038597107, 0.17279218137264252, -0.49241751432418823, 0.22679145634174347, -0.30280613899230957, 0.07454856485128403, -0.21742545068264008, -0.326067179441452, -0.2616477310657501, -0.18065576255321503, 0.44364356994628906, -0.13687537610530853, -0.6191825866699219, 0.04832756891846657, 0.5352399945259094, -0.3259468972682953, -0.4448327124118805, -0.5334790945053101, -0.06426376849412918, -0.2444051206111908, -0.5835881233215332, 0.9353128671646118, 0.35059821605682373, -0.21725797653198242, 0.664277195930481, 0.6405543684959412, -0.046093378216028214, 0.17359904944896698, -0.14175786077976227, 1.0354886054992676, -0.6895922422409058, -0.3908543586730957, -0.5077370405197144, 0.3483043611049652, 0.39967775344848633, -0.16969610750675201, 0.16369010508060455, 0.36183077096939087, 0.6339060068130493, -0.09405811876058578, 0.784112811088562, 0.3062112033367157, -0.09671834856271744, -0.8419799208641052, 0.7879840731620789, -0.6842527985572815, 0.20201902091503143, 0.2739115059375763, -1.1046310663223267, -0.014651601202785969, 0.6195970177650452, -0.2768746316432953, 0.28943464159965515, 0.8786770701408386, 0.45258358120918274, -0.3417509198188782, -0.04842638969421387, 0.637983500957489, 0.2901194095611572, 0.1258532702922821, 0.6441852450370789, 0.9199937582015991, -0.8142092823982239, 0.40073657035827637, -0.2973703145980835, 0.047847095876932144, -0.30755260586738586, -0.9463520050048828, -1.0372285842895508, -0.4056547284126282, -0.6193783283233643, -0.40222570300102234, 0.30892467498779297, 0.7544916272163391, 1.1187299489974976, -0.5857633948326111, -0.1278901845216751, -0.05404117703437805, -0.14771321415901184, -0.13091935217380524, -0.1137763187289238, 0.4220375120639801, -0.22913697361946106, -0.5657236576080322, 0.40136346220970154, -0.04737599194049835, 0.08651013672351837, -0.35554128885269165, -0.04185987263917923, 0.05191585794091225, 0.19194716215133667, 0.8840099573135376, 0.20640432834625244, -0.14267495274543762, -0.08075536787509918, -0.1279018074274063, -0.19486036896705627, 0.25916099548339844, 1.0484097003936768, -1.0377395153045654, -0.2608332633972168, 0.45680686831474304, 0.8608260154724121, 0.7413768768310547, 0.19256335496902466, 0.4291292130947113, -0.6898545622825623, 0.2396116554737091, 0.2585647404193878, 0.3817667067050934, 0.21896542608737946, -0.28139814734458923, 0.4721349775791168, 0.17491565644741058, -0.730676531791687, -0.8793171048164368, -0.02959580346941948, -1.2793837785720825, -0.07628852128982544, 1.0019303560256958, -0.20508429408073425, -0.4037092626094818, 0.2617252469062805, 0.09490767866373062, 0.10051438957452774, -0.18778912723064423, 0.5711794495582581, 0.26283130049705505, -0.0035082183312624693, -0.19768141210079193, -0.7082291841506958, 0.6565443277359009, 0.5224993824958801, -0.984606146812439, -0.05440646782517433, -0.08645018935203552, 0.23941613733768463, -0.22467875480651855, 0.6584358215332031, 0.19711528718471527, 0.21913249790668488, -0.059463389217853546, 0.07764837145805359, -0.14549143612384796, 0.17987757921218872, -0.5703617334365845, 0.09648333489894867, 0.655751645565033, -0.15006668865680695 ]
http://arxiv.org/abs/2405.16510v3
http://arxiv.org/pdf/2405.16510v3
Meta-Task Planning for Language Agents
2024-05-26T10:33:17
2024-05-30T12:40:06
Cong Zhang, Derrick Goh Xin Deik, Dexun Li, Hao Zhang, Yong Liu
cs.AI
cs.AI, cs.CL, cs.LG
The rapid advancement of neural language models has sparked a new surge of intelligent agent research. Unlike traditional agents, large language model-based agents (LLM agents) have emerged as a promising paradigm for achieving artificial general intelligence (AGI) due to their superior reasoning and generalization capabilities. Effective planning is crucial for the success of LLM agents in real-world tasks, making it a highly pursued topic in the community. Current planning methods typically translate tasks into executable action sequences. However, determining a feasible or optimal sequence for complex tasks at fine granularity, which often requires compositing long chains of heterogeneous actions, remains challenging. This paper introduces Meta-Task Planning (MTP), a zero-shot methodology for collaborative LLM-based multi-agent systems that simplifies complex task planning by decomposing it into a hierarchy of subordinate tasks, or meta-tasks. Each meta-task is then mapped into executable actions. MTP was assessed on two rigorous benchmarks, TravelPlanner and API-Bank. Notably, MTP achieved an average $\sim40\%$ success rate on TravelPlanner, significantly higher than the state-of-the-art (SOTA) baseline ($2.92\%$), and outperforming $LLM_{api}$-4 with ReAct on API-Bank by $\sim14\%$, showing the immense potential of integrating LLM with multi-agent systems.
[ -0.4573076367378235, -0.6012285351753235, 0.7983782887458801, 0.04276196286082268, 0.10029827058315277, 0.09455811232328415, -0.17392732203006744, -0.20303945243358612, 0.5061397552490234, 0.5875886082649231, -0.8211674690246582, -0.5871894359588623, -0.3039165735244751, -0.10210219770669937, 0.09456957131624222, 0.7192900776863098, -0.026076287031173706, -0.4535633325576782, 0.03322466462850571, -0.23898036777973175, -0.6915814280509949, -0.4397525489330292, -0.5730141997337341, -0.5923312306404114, 0.6182522773742676, 0.6262235641479492, 0.8303270936012268, 0.5279396176338196, 0.3693448007106781, 0.35032016038894653, 0.2688485383987427, 0.4805704653263092, -0.14106681942939758, 0.24398820102214813, -0.3729391396045685, -0.19349612295627594, -0.9649111032485962, -0.12385862320661545, 0.29304659366607666, 0.5117506384849548, -0.3563753664493561, 0.39953041076660156, -0.06681594252586365, 0.4494746923446655, -0.8758046627044678, 0.33978018164634705, -0.5211846232414246, 0.1590963453054428, 0.03911472111940384, -0.3856032192707062, -0.3330465853214264, 0.2977098524570465, -0.05556217581033707, -0.4825175404548645, -0.022851603105664253, -0.12684571743011475, 0.22644273936748505, 0.3213033080101013, -0.19081291556358337, -0.21896405518054962, -1.1301826238632202, 0.7141262292861938, -0.6006754040718079, 0.05556763336062431, 0.21070031821727753, 0.40792596340179443, -0.1891397088766098, -0.5926664471626282, -0.6032313108444214, -0.01215179543942213, 0.0626339465379715, 0.02047220803797245, -0.2575039863586426, 0.25531455874443054, 0.19922225177288055, -0.28539955615997314, -0.9244627356529236, -0.0025774247478693724, 0.17376352846622467, 0.16790513694286346, 0.5024945735931396, 0.4726179540157318, 0.18288329243659973, 0.1155073419213295, -0.1340244710445404, 0.13879142701625824, -0.5148122906684875, 0.03844738006591797, 0.04440438002347946, 0.6686140298843384, 0.09263104200363159, 0.6008076667785645, -0.5389501452445984, 0.6435924768447876, 0.038193270564079285, -0.24127139151096344, 0.08195386081933975, -0.5973455309867859, -0.4547826051712036, -0.3754693865776062, 0.7881606817245483, 0.2793343961238861, 0.2539096474647522, -0.368553102016449, -0.27096784114837646, -0.17616109549999237, 0.31736451387405396, -0.6781287789344788, 0.3023128807544708, 0.561778724193573, -0.10946212708950043, 0.030692778527736664, -0.46355774998664856, -0.5134205222129822, 0.05747918784618378, -0.4740706980228424, 0.46165212988853455, -0.41343018412590027, -0.19364582002162933, 0.020324883982539177, 0.1519915610551834, 0.11611124128103256, 0.21309791505336761, -0.9216253757476807, 0.20001330971717834, 0.7830033302307129, 0.6673625707626343, 0.21734736859798431, -0.8276444673538208, -0.7834732532501221, 0.6448948979377747, -0.22895200550556183, 1.095197319984436, -0.45852652192115784, -0.4384472966194153, 0.1959395408630371, -0.3763907849788666, -0.29497694969177246, -0.29764246940612793, 0.48866838216781616, -0.3881586194038391, -0.1455981433391571, -0.35421809554100037, -0.05995628237724304, -0.2663930356502533, 0.8726797103881836, -0.45606639981269836, 0.4575755298137665, 0.0012340409448370337, -0.1789967268705368, 0.2816036641597748, -0.9560811519622803, -0.4328800439834595, 0.07047627121210098, -0.1480623334646225, -0.004024376627057791, -0.2523050606250763, 0.181326761841774, 0.6574511528015137, -0.21341776847839355, 0.44873061776161194, -0.23268115520477295, -0.380845844745636, -0.05005895718932152, -0.04148049280047417, 0.3489879071712494, 0.10835491865873337, -0.5291796922683716, 0.42322829365730286, -0.43625953793525696, 0.4195789694786072, -0.07165133953094482, -0.30912819504737854, -0.10985284298658371, 0.1424199938774109, -0.1295473277568817, 0.47940337657928467, 0.16945700347423553, -0.23570621013641357, 0.6195734143257141, -0.405391126871109, 0.3464011251926422, 0.6429587602615356, -0.2715984582901001, 0.7904186844825745, -0.4364755153656006, 0.5110053420066833, -0.539495050907135, 0.40998777747154236, -0.11764939874410629, -0.31600072979927063, -0.4497554898262024, -0.2276884764432907, -0.09083107113838196, 0.7479336261749268, -0.964084267616272, 0.4617871940135956, -0.433464378118515, -0.4439493417739868, 0.04883473366498947, -0.17052267491817474, 0.3923664093017578, 0.13728705048561096, 0.42064857482910156, -0.01389043778181076, -0.13724687695503235, -0.7092605233192444, -0.2407877892255783, -0.10027425736188889, 0.15870195627212524, 0.22696515917778015, 0.504850447177887, -0.4514463543891907, 0.858836829662323, -0.5714882016181946, -0.46278658509254456, -0.6843165755271912, 0.4457085132598877, 0.23135170340538025, 0.18509669601917267, 0.5655801296234131, -0.5920217037200928, -0.6781140565872192, -0.15930260717868805, -0.4565080404281616, -0.10048960149288177, -0.18681947886943817, -0.20919929444789886, 0.16421155631542206, 0.18755048513412476, -1.0227577686309814, 0.3069489300251007, 0.6006094217300415, -0.4686022102832794, 0.6793457865715027, -0.2271849364042282, 0.10860740393400192, -1.0735021829605103, 0.3332436680793762, -0.438541054725647, -0.3102397322654724, -0.9676951169967651, 0.4121461808681488, -0.2396891564130783, -0.23397815227508545, -0.336812287569046, 0.5474792122840881, -0.4621722102165222, -0.267669677734375, -0.6786472201347351, -0.17836153507232666, -0.4610437750816345, 1.0619313716888428, 0.027224954217672348, 0.6615962386131287, 0.3511713445186615, -0.5608891844749451, 0.2082766592502594, 0.1706922948360443, 0.36793023347854614, 0.6983031034469604, -0.30701524019241333, 0.1661091148853302, 0.08425455540418625, 0.39661768078804016, -0.6250169277191162, 0.024746375158429146, 0.37352144718170166, -0.36736708879470825, 0.3354664444923401, -0.07110066711902618, -0.5661713480949402, -0.2361004501581192, -0.34219399094581604, 0.4836196005344391, 0.10054761916399002, -0.13787931203842163, 1.362428069114685, 0.31112614274024963, -0.2200426608324051, -0.8887432813644409, -0.4985051155090332, 0.3211666941642761, 0.22233320772647858, -0.547573447227478, 0.42297810316085815, -0.121614009141922, -0.0924660786986351, 0.24670358002185822, 0.0370565764605999, 0.016293717548251152, -0.22422142326831818, 0.5383387804031372, 0.15155500173568726, 0.09084407985210419, -0.25759729743003845, -0.29537704586982727, -0.6269547343254089, -0.20910711586475372, -0.26286453008651733, 1.098591685295105, -0.011376587674021721, -0.5350353121757507, -0.18640334904193878, 0.5595365166664124, 0.700552225112915, -0.3160928189754486, 0.5548602342605591, 0.2810050845146179, -0.16620081663131714, -0.38401827216148376, -0.46428415179252625, 0.2576920986175537, -0.3982594311237335, 0.07293762266635895, -0.4852336049079895, -0.5908549427986145, 0.403038889169693, -0.2157045304775238, 0.3588750660419464, 0.3306678831577301, 0.5451604723930359, 0.026556726545095444, 0.7777143120765686, 0.8217633366584778, -0.11471575498580933, 0.4234958291053772, -0.6661350727081299, 0.1394229382276535, -0.6882634162902832, -0.037042077630758286, -0.393396258354187, -0.6001863479614258, -0.3499130606651306, -0.8058246970176697, 0.3419983685016632, -0.6323156952857971, -0.17526346445083618, 0.6860830187797546, -0.1256396621465683, 0.48606017231941223, 0.6946924328804016, -0.4483649730682373, 0.29681622982025146, -0.23435522615909576, -0.11349192261695862, 0.5441970825195312, -0.4987383782863617, -0.43408170342445374, 1.2902262210845947, -0.1473248451948166, 0.31401386857032776, -0.0935884341597557, 0.7280632257461548, 0.24767284095287323, 0.1254141479730606, -0.68328857421875, 0.9385014176368713, -0.09024599939584732, -0.4998073875904083, -0.6892607808113098, -0.2769356369972229, -0.9477481245994568, 0.443852037191391, -0.22630904614925385, -0.6239677667617798, 0.2901932895183563, 0.0028844568878412247, -0.5624927282333374, 0.420171856880188, -0.4411344826221466, 0.669282853603363, -0.1005057692527771, -0.19567278027534485, -0.4518551230430603, -0.6817613840103149, 0.24454587697982788, -0.06064382568001747, 0.2985045611858368, -0.40089643001556396, -0.11693866550922394, 0.11616449058055878, -0.3290514051914215, 0.5638174414634705, -0.27627018094062805, 0.18528622388839722, 0.34634774923324585, 0.27494922280311584, 0.7283647060394287, -0.5387901067733765, -0.03890989348292351, 0.22259151935577393, -0.13647648692131042, -0.42996853590011597, -0.42604631185531616, 0.48246726393699646, -0.4308042824268341, -0.28532326221466064, -0.37079909443855286, -0.995157778263092, -0.31196653842926025, 0.1300288289785385, -0.10252181440591812, 0.3848783075809479, -0.37701094150543213, -0.36126309633255005, 0.11356029659509659, -0.19642890989780426, 1.06630539894104, 1.0413453578948975, -0.11471626907587051, -0.5212462544441223, 0.8271932601928711, 0.390079528093338, 0.41467756032943726, 0.6677218079566956, -0.11276042461395264, -0.022313639521598816, -0.6649842858314514, -0.4409024119377136, 0.27726468443870544, -0.3259211480617523, -0.19557586312294006, -0.642526388168335, -0.17851217091083527, -0.4542078971862793, -0.4037942886352539, -0.3818696141242981, -0.3071615993976593, 0.23601692914962769, 0.18931110203266144, -0.5459052324295044, 0.36380305886268616, -0.41290509700775146, 0.38810575008392334, -0.7218278050422668, 0.5373762845993042, 0.3931416869163513, 0.06690540909767151, -0.087662473320961, 0.03810841217637062, -0.2641012668609619, -0.06840746849775314, -0.49228206276893616, -0.6319755911827087, 0.5946319699287415, 0.12893182039260864, 0.7869132161140442, 0.46588197350502014, 0.07888932526111603, 0.8078917264938354, -0.8096365332603455, 0.5364418625831604, 0.05351066589355469, -0.5619916319847107, 0.4790550172328949, -0.4799644947052002, 0.504498302936554, 0.6499239206314087, 0.16736391186714172, -0.6482037901878357, -0.5863621830940247, -0.6751646399497986, -0.8271709084510803, 0.7039925456047058, 0.34945130348205566, -0.09514429420232773, 0.23535120487213135, 0.09278642386198044, -0.06774644553661346, 0.44185519218444824, -0.6628240942955017, -0.2766585052013397, 0.24641238152980804, 0.08521189540624619, -0.37737786769866943, -0.24215492606163025, -0.20526009798049927, -0.015471640974283218, 0.4267991781234741, -0.3975505232810974, 0.45942366123199463, -0.05495184287428856, 0.007203156128525734, -0.33754438161849976, 0.4952930808067322, 0.9716292023658752, 0.8304630517959595, -0.23081845045089722, 0.2667478024959564, 0.07959277927875519, -0.43237337470054626, 0.2916528582572937, 0.2297053337097168, -0.3322688341140747, -0.2657843232154846, 0.5911511778831482, 0.2265581637620926, -0.14755260944366455, -0.7549694776535034, 0.48100775480270386, 0.08154166489839554, -0.27548283338546753, -0.21284162998199463, 0.12044688314199448, -0.019558049738407135, 0.6710125207901001, 0.2871817350387573, 0.2260821908712387, 0.25268155336380005, -0.8301695585250854, -0.06355436146259308, 0.5486477613449097, -0.07383318990468979, -0.459825724363327, 0.2547253966331482, 0.38690385222435, -0.5693850517272949, 0.30620041489601135, -0.546309769153595, -0.4369341731071472, 0.5021719932556152, 0.47708332538604736, 1.3232508897781372, -0.4965636432170868, 0.4164280891418457, 0.23594531416893005, 0.5285074710845947, -0.03294207155704498, 0.5966832637786865, -0.055518943816423416, -0.7155935764312744, -0.8436317443847656, -0.4980350136756897, -0.3619168996810913, -0.059510212391614914, 0.11494364589452744, 0.17732782661914825, -0.32055312395095825, -0.19098003208637238, -0.3927057385444641, 0.008305473253130913, -0.6793442368507385, 0.06227459758520126, 0.23540641367435455, 0.6792981028556824, -0.7766364216804504, 0.6349886655807495, 0.5731122493743896, -0.37638235092163086, -0.9600253105163574, 0.2555631101131439, 0.07850007712841034, -1.0417786836624146, 0.5313802361488342, 0.20549462735652924, -0.22065499424934387, -0.1583155393600464, -0.26409074664115906, -0.9530948400497437, 1.2524596452713013, 0.29538097977638245, -0.5723745226860046, -0.4531572461128235, 0.6111380457878113, 0.37278133630752563, -0.2824597954750061, 0.3096408545970917, 0.39043205976486206, 0.51509028673172, 0.40888822078704834, -1.0949496030807495, 0.15383388102054596, -0.01936156116425991, -0.2984979748725891, 0.5799392461776733, -0.5522915124893188, 0.823688268661499, -0.2716451585292816, -0.13497452437877655, -0.1570332646369934, 0.2606205642223358, 0.26383695006370544, 0.683628261089325, 0.694905698299408, 0.905838668346405, 0.43706661462783813, 0.1058717891573906, 0.837230384349823, -0.3220004737377167, 0.11991158127784729, 1.1521008014678955, -0.4812372028827667, 0.9675471186637878, 0.28475451469421387, 0.007372601423412561, 0.42244666814804077, 0.21531806886196136, 0.2338462918996811, 0.6828712224960327, -0.05979529395699501, -0.2793649137020111, -0.2802956998348236, -0.1505071222782135, 0.007080806884914637, 0.4340645670890808, -0.030694277957081795, 0.06016697734594345, -0.5343144536018372, 0.16678187251091003, 0.11658312380313873, -0.31362512707710266, -0.3242214024066925, 0.7053349614143372, -0.1650223582983017, -0.853752851486206, 0.1311710625886917, 0.039572183042764664, 0.42168065905570984, -0.744186282157898, 0.00652145454660058, -0.11108089238405228, 0.0986889898777008, -0.08609689027070999, -0.8019763827323914, 0.49068719148635864, -0.02572697214782238, -0.15593908727169037, -0.6416929960250854, 0.810552716255188, -0.3222024738788605, -0.030749119818210602, 0.35923945903778076, 0.7280988097190857, -0.03244764730334282, -0.6177860498428345, -0.5881822109222412, -0.3828897178173065, -0.33471396565437317, -0.2702290415763855, 0.3713654577732086, 0.4001743197441101, 0.19441361725330353, 0.8871816992759705, 0.7456504106521606, 0.09319576621055603, -0.26615291833877563, -0.14575079083442688, 0.8447926044464111, -0.8104798793792725, -0.5498440861701965, -1.046437382698059, 0.6899327039718628, 0.11810864508152008, 0.1060146614909172, 0.30495235323905945, 0.5905167460441589, 0.5297183394432068, 0.025496594607830048, 0.43076133728027344, -0.1162327453494072, 0.3407925069332123, -0.3392297029495239, 0.3265902101993561, -0.49413707852363586, 0.14206020534038544, -0.1984722912311554, -1.017006516456604, -0.12605521082878113, 0.1238865852355957, -0.30741897225379944, -0.172790065407753, 0.7829010486602783, 0.5433752536773682, 0.01863175444304943, -0.573427677154541, 0.5845171809196472, -0.3039863705635071, 0.5376602411270142, 0.9121707677841187, 0.7641186118125916, 0.17806793749332428, 0.824192464351654, -0.025405436754226685, -0.23604875802993774, -0.3799589276313782, -0.7497325539588928, -0.8151372075080872, -0.3717527687549591, 0.017219724133610725, 0.3223084509372711, -0.06899351626634598, 1.140655755996704, 0.7626572251319885, -0.3805910646915436, -0.4887221157550812, -0.08732594549655914, 0.13064414262771606, -0.47207435965538025, -0.11421003192663193, 0.06997165083885193, -0.4695832431316376, -0.6164475083351135, 0.4876875877380371, 0.6801552176475525, -0.2165471911430359, -0.21092990040779114, -0.17338715493679047, -0.23352354764938354, 0.3036555051803589, 0.6555117964744568, 0.42926841974258423, -0.6814290881156921, -0.13293029367923737, 0.11732235550880432, -0.23195326328277588, -0.19815632700920105, 0.8308989405632019, -0.5315263271331787, 0.19099295139312744, 0.5071694254875183, 0.35215869545936584, 0.3716369867324829, -0.005324831698089838, 0.6372909545898438, -0.6974678635597229, 0.15579165518283844, 0.37104740738868713, 0.12843793630599976, -0.3507285416126251, -0.1560170203447342, 0.8519942760467529, 0.12924768030643463, -0.950893759727478, -0.6038660407066345, 0.2541816830635071, -1.179788589477539, -0.43081068992614746, 1.124253511428833, 0.1996537446975708, -0.08809422701597214, 0.05869833007454872, -0.33594608306884766, 0.12549538910388947, -0.381595253944397, 0.47382670640945435, 0.4756613075733185, -0.5720670223236084, 0.09155348688364029, -0.6626563668251038, 0.1971600353717804, 0.018127907067537308, -1.0395945310592651, 0.08879715204238892, 0.5194414258003235, -0.012170047499239445, 0.6209112405776978, 1.2428500652313232, 0.5695725679397583, 0.06155006214976311, -0.006647226866334677, 0.46490854024887085, -0.36370691657066345, -0.6735262274742126, 0.24504320323467255, 0.5281500816345215, -0.11430461704730988, -0.4397287368774414 ]
http://arxiv.org/abs/2405.16482v1
http://arxiv.org/pdf/2405.16482v1
DarijaBanking: A New Resource for Overcoming Language Barriers in Banking Intent Detection for Moroccan Arabic Speakers
2024-05-26T08:33:28
2024-05-26T08:33:28
Abderrahman Skiredj, Ferdaous Azhari, Ismail Berrada, Saad Ezzini
cs.CL
cs.CL
Navigating the complexities of language diversity is a central challenge in developing robust natural language processing systems, especially in specialized domains like banking. The Moroccan Dialect (Darija) serves as the common language that blends cultural complexities, historical impacts, and regional differences. The complexities of Darija present a special set of challenges for language models, as it differs from Modern Standard Arabic with strong influence from French, Spanish, and Tamazight, it requires a specific approach for effective communication. To tackle these challenges, this paper introduces \textbf{DarijaBanking}, a novel Darija dataset aimed at enhancing intent classification in the banking domain, addressing the critical need for automatic banking systems (e.g., chatbots) that communicate in the native language of Moroccan clients. DarijaBanking comprises over 1,800 parallel high-quality queries in Darija, Modern Standard Arabic (MSA), English, and French, organized into 24 intent classes. We experimented with various intent classification methods, including full fine-tuning of monolingual and multilingual models, zero-shot learning, retrieval-based approaches, and Large Language Model prompting. One of the main contributions of this work is BERTouch, our BERT-based language model for intent classification in Darija. BERTouch achieved F1-scores of 0.98 for Darija and 0.96 for MSA on DarijaBanking, outperforming the state-of-the-art alternatives including GPT-4 showcasing its effectiveness in the targeted application.
[ -0.40092572569847107, -0.830004870891571, 0.34132739901542664, 0.5629117488861084, -0.26564398407936096, 0.049524616450071335, -0.20044024288654327, -0.4644242823123932, 0.1604398936033249, 1.0120726823806763, -0.3687755763530731, -1.0394880771636963, -0.7426860332489014, -0.11975197494029999, -0.2889857590198517, 1.3609073162078857, -0.16997838020324707, -0.12123346328735352, 0.3244594633579254, -0.17292030155658722, -0.6500158905982971, -0.5784071683883667, -1.0337755680084229, 0.09127886593341827, 0.38257262110710144, 0.4981909990310669, 0.5958131551742554, 0.03218593820929527, 0.46026480197906494, 0.31912586092948914, -0.03824122995138168, 0.26485180854797363, -0.21129290759563446, 0.4131944477558136, -0.09700866043567657, -0.38387539982795715, -0.3196621239185333, -0.3506705164909363, 0.348713755607605, 0.49544334411621094, -0.17151032388210297, 0.18997424840927124, -0.12389621138572693, 0.9865148067474365, -0.5011273622512817, 0.27274686098098755, -0.4163070321083069, -0.42585280537605286, -0.34137994050979614, 0.0388384684920311, -0.3757522404193878, -0.4798637926578522, 0.26241183280944824, 0.09756912291049957, 0.11868824809789658, -0.2252674400806427, 0.7081854939460754, 0.16449013352394104, -0.7673943042755127, -0.9035937786102295, -0.6342849135398865, 0.689166247844696, -0.42615267634391785, 0.35850638151168823, 0.7650473117828369, 0.5975546836853027, -0.2144414782524109, -0.39697787165641785, -0.39272207021713257, -0.17368006706237793, 0.10490459948778152, -0.4101421535015106, -0.09122169017791748, 0.17176823318004608, 0.05860140174627304, 0.21167363226413727, -0.42278724908828735, -0.22249580919742584, -0.09494607150554657, -0.3105802834033966, 0.6553687453269958, -0.18595737218856812, 0.18142035603523254, -0.34723758697509766, -0.29544252157211304, -0.31467515230178833, -0.3994041085243225, 0.5660193562507629, 0.728567898273468, 0.5409969687461853, 0.00865643098950386, 0.10757537186145782, -0.17288152873516083, 0.7269434928894043, -0.08587402105331421, -0.2595745921134949, 0.17943701148033142, -0.1942669153213501, 0.02029108628630638, 0.2889783978462219, 0.33627140522003174, -0.013222520239651203, -0.02129133604466915, 0.09774500876665115, -0.5780968070030212, -0.23220275342464447, 0.17752927541732788, -0.6277143955230713, -0.2382715493440628, 0.3695617616176605, -0.5279067158699036, -0.2434488981962204, -0.14618709683418274, -0.5000211596488953, -0.28687530755996704, 0.026125190779566765, 0.37825706601142883, -0.3546905219554901, -0.06304645538330078, 0.24605140089988708, 0.15157338976860046, 0.12516902387142181, 0.3475979268550873, -1.278610110282898, 0.5137316584587097, 0.5995368361473083, 0.7726171016693115, 0.07841619104146957, 0.38798636198043823, -0.2823680341243744, 0.07566388696432114, -0.04784339293837547, 0.6671434044837952, -0.5255346894264221, -0.47477543354034424, 0.06233685836195946, -0.3823675215244293, 0.2221096307039261, -0.2650824785232544, 1.27536940574646, -0.7380059361457825, -0.17875514924526215, -0.09326273947954178, -0.1835540235042572, -0.8184541463851929, 0.31719106435775757, -0.8571383953094482, 0.7850128412246704, 0.24656954407691956, -0.24098363518714905, 0.3892061710357666, -0.8068271279335022, -0.5238980054855347, 0.13921058177947998, -0.10999023169279099, -0.5435972213745117, 0.09088733047246933, 0.33464232087135315, 0.22026480734348297, -0.21274201571941376, 0.5633290410041809, 0.08912548422813416, -0.12023142725229263, 0.4889377951622009, -0.8419720530509949, 0.933247447013855, 0.26931527256965637, -0.4532342851161957, -0.08871354162693024, -0.7828856110572815, -0.20999516546726227, -0.10703057050704956, -0.08047877252101898, -0.5536264777183533, -0.01980612985789776, 0.17742730677127838, 0.3576483130455017, 0.642363429069519, -0.6395083665847778, 0.21081720292568207, -0.4590553045272827, -0.10750649869441986, 0.8276217579841614, -0.10611283779144287, 0.25655803084373474, -0.35211995244026184, 0.5225397348403931, -0.058002740144729614, 0.21030056476593018, -0.020094243809580803, -0.7604047656059265, -0.6093427538871765, -0.5562430024147034, 0.6371349096298218, 0.520209014415741, -0.4883989095687866, 0.1425773799419403, 0.016555659472942352, -0.37009796500205994, -0.5269734859466553, 0.2526605427265167, 0.24981218576431274, 0.1548449695110321, 0.10476851463317871, -0.5068519115447998, -0.6442444920539856, -0.9871442914009094, -0.20349706709384918, -0.17605377733707428, 0.32069623470306396, 0.7837297320365906, 0.2003956139087677, -0.4174550771713257, 0.8683762550354004, -0.3388700783252716, -0.6056110262870789, -0.5192171335220337, 0.3937145173549652, 1.0484859943389893, 0.26693716645240784, 1.005314588546753, -1.2128313779830933, -0.8830963373184204, 0.3260084092617035, -0.2064761221408844, -0.24321423470973969, -0.1736629605293274, 0.07635165750980377, 0.49215492606163025, 0.0017269973177462816, -0.26898905634880066, 0.7582700848579407, 0.8068366646766663, -0.3878195881843567, 0.28774991631507874, -0.28878623247146606, 0.30225077271461487, -0.8171422481536865, -0.16486942768096924, -0.457521915435791, -0.14453551173210144, -0.8667897582054138, -0.6250595450401306, -0.10786378383636475, 0.1429189294576645, -0.12074338644742966, 0.8845616579055786, -0.13330522179603577, 0.024561932310461998, -0.6028800010681152, -0.16103167831897736, -0.32082515954971313, 0.5685067176818848, 0.0913139060139656, 0.553297758102417, 0.6884356737136841, -0.7389302253723145, 0.30942076444625854, 0.7200241088867188, -0.5950217247009277, 0.3211323618888855, -0.4822600483894348, -0.02089359425008297, 0.028419680893421173, 0.18776185810565948, -1.405093789100647, -0.24147629737854004, 0.41651809215545654, -0.6451703906059265, 0.14632830023765564, -0.27518555521965027, -0.26834073662757874, -0.23981031775474548, 0.10505905002355576, 0.7448038458824158, 0.4584190845489502, -0.6869702339172363, 0.9773004055023193, 0.26630204916000366, -0.8155476450920105, -1.0508114099502563, -0.4131854474544525, 0.16304244101047516, -0.13611461222171783, -0.7909741401672363, 0.10568013042211533, 0.30660557746887207, -0.08384314179420471, -0.23275311291217804, -0.1326812207698822, -0.3833897113800049, 0.3907544016838074, 0.45572179555892944, 0.37852030992507935, 0.18239541351795197, 0.19440968334674835, 0.38054513931274414, -0.10279654711484909, 0.19304627180099487, -0.33365219831466675, 0.6933554410934448, 0.10296674817800522, -0.3872009515762329, -0.3578436076641083, 0.39350318908691406, 0.27184873819351196, -0.2552061378955841, 0.9862442016601562, 0.4829261898994446, -0.029709717258810997, -0.42541831731796265, -0.5920413136482239, 0.08321310579776764, -0.5344444513320923, 0.021357210353016853, -0.5836976766586304, -0.8690441250801086, 0.6903539896011353, -0.03687150403857231, 0.3391241431236267, -0.031442660838365555, 0.7421582341194153, 0.09714564681053162, 0.9507021307945251, 0.8053218126296997, -0.021072961390018463, 0.5954707860946655, 0.04417574033141136, 0.6767242550849915, -0.22641535103321075, -0.13329041004180908, -0.589060366153717, -0.4488174319267273, -0.8736608028411865, -0.2817090153694153, 0.2854561507701874, -0.27850982546806335, 0.38702094554901123, 0.5793619155883789, 0.01389752421528101, 0.2620353102684021, 0.5466197729110718, -0.012253989465534687, 0.20895230770111084, 0.030001947656273842, -0.1261485069990158, 0.19275784492492676, -0.3621614873409271, -0.7179309129714966, 1.4644384384155273, 0.29285600781440735, 0.7455591559410095, 0.5459189414978027, 1.128531813621521, 0.605981171131134, 0.35792770981788635, -0.505711019039154, 0.3649863302707672, -0.255368173122406, -0.9084675908088684, -0.32610324025154114, -0.44254428148269653, -1.1098982095718384, 0.24031703174114227, 0.07406174391508102, -0.8461732864379883, 0.4582042992115021, 0.17597198486328125, -0.5379374623298645, 0.0514654703438282, -0.5403954386711121, 0.9102501273155212, -0.5093499422073364, -0.2615368962287903, -0.08697159588336945, -0.5545447468757629, 0.366378515958786, -0.3318173885345459, 0.48297637701034546, -0.288339227437973, 0.19971540570259094, 0.6180680394172668, -0.12165901064872742, 0.7556596994400024, -0.38531795144081116, -0.5835804343223572, 0.4955507218837738, 0.024847567081451416, 0.6243426203727722, 0.20603162050247192, -0.06919371336698532, 0.3717707395553589, -0.1795455366373062, -0.49922847747802734, -0.4745229482650757, 0.6130157709121704, -0.5727465152740479, -0.26859593391418457, -0.5110095739364624, -0.947291374206543, -0.20788517594337463, 0.18609854578971863, -0.25628185272216797, 0.29055240750312805, -0.4664144515991211, 0.10630659013986588, 0.6610495448112488, -0.24133989214897156, 0.27667874097824097, 0.7048280239105225, -0.4596345126628876, -0.18830621242523193, 1.0004318952560425, -0.24994659423828125, 0.028059478849172592, 0.3938596248626709, -0.2775353491306305, -0.6369128823280334, -0.7965331077575684, -0.06440393626689911, 0.2076069861650467, -0.6774750351905823, -0.13336670398712158, -0.7229805588722229, 0.017993086948990822, -0.7694093585014343, -0.1441851556301117, -0.14052674174308777, -0.4887530505657196, 0.24251914024353027, 0.043691206723451614, 0.2873111069202423, 0.6306890845298767, -0.4260345697402954, 0.605586588382721, -0.9817871451377869, 0.5402737855911255, 0.34180325269699097, 0.3946162164211273, -0.36750316619873047, -0.5999947190284729, -0.2293674796819687, 0.09654711931943893, -0.04401039332151413, -0.7449976205825806, 0.6272768378257751, 0.09392047673463821, 0.6565847396850586, 0.6380849480628967, 0.022994862869381905, 0.11521296948194504, -0.12598274648189545, 0.2697702944278717, -0.2252196967601776, -1.0133371353149414, 0.5742049813270569, -0.3781374990940094, -0.06853500753641129, 0.8421115875244141, 0.49038204550743103, -0.9946659207344055, -0.2364499717950821, -0.5407527685165405, -1.0419610738754272, 1.037169098854065, 0.49623194336891174, 0.11720149964094162, -0.1751953363418579, 0.08349665254354477, 0.4344075620174408, 0.4584812819957733, -0.8319020867347717, -0.2437841147184372, 0.01684679463505745, -0.457912802696228, -0.04896598309278488, -0.4247116446495056, 0.09756883978843689, 0.03408540040254593, 0.7790601253509521, 0.10423263907432556, 0.022434376180171967, -0.20128586888313293, -0.30248817801475525, 0.23525691032409668, 0.2521335184574127, 0.43033939599990845, 0.35782793164253235, -0.48908960819244385, -0.23010753095149994, -0.22568586468696594, -0.6826719045639038, 0.258107990026474, 0.2373598963022232, -0.31619277596473694, 0.3500518500804901, -0.12580789625644684, 0.8551842570304871, 0.08756138384342194, -0.9814899563789368, 0.6065280437469482, -0.36018106341362, -0.17805008590221405, -0.4676884710788727, 0.1330263465642929, -0.2976793050765991, 0.2529389262199402, 0.27652275562286377, 0.028625892475247383, 0.4394054114818573, -0.3917449116706848, 0.21457190811634064, 0.4937460422515869, -0.3745993673801422, 0.059366218745708466, 0.05219206213951111, 0.5213712453842163, -0.23169797658920288, 0.6203715205192566, -0.46319472789764404, -0.5757777690887451, 0.617486834526062, 0.42365744709968567, 1.0085331201553345, -0.6869861483573914, 0.469180703163147, 0.4112066626548767, 0.22400611639022827, 0.05722767114639282, 0.5641893744468689, -0.7067360877990723, -0.7752323746681213, -0.1772293746471405, -0.8744775056838989, -0.4603159725666046, -0.26866716146469116, -0.6912675499916077, 0.31038349866867065, -0.422603964805603, -0.13147291541099548, -0.06575135141611099, -0.11259564012289047, -0.5155831575393677, -0.030122829601168633, 0.446044385433197, 0.6455836296081543, -0.8517065644264221, 0.896510124206543, 0.6031162142753601, -0.02714345045387745, -0.26469284296035767, -0.3205454647541046, -0.23738376796245575, -0.8544790148735046, 1.0219286680221558, 0.3607509136199951, -0.24572357535362244, -0.17676159739494324, -0.43218833208084106, -0.9524211883544922, 0.6389987468719482, -0.05870423465967178, -0.49115076661109924, 0.18407274782657623, 0.3482191264629364, 0.3197246789932251, -0.2027975469827652, 0.08311969041824341, 0.7784221172332764, 0.6028090119361877, 0.15180030465126038, -0.7317866086959839, -0.38559406995773315, -0.06167261675000191, -0.17803311347961426, 0.7593111991882324, -0.359962522983551, 0.8559863567352295, -0.09597448259592056, -0.2498982548713684, 0.3154420256614685, 0.767741322517395, 0.009114690124988556, 0.4444279372692108, 0.60246342420578, 0.46526405215263367, 0.8169312477111816, -0.2164098173379898, 0.7531697154045105, -0.32976076006889343, 0.22551164031028748, 0.9921379089355469, -0.38018929958343506, 0.4994523525238037, 0.2608259916305542, -0.03866022825241089, 0.800552248954773, 0.3654361367225647, 0.31392601132392883, 0.6021968722343445, 0.05688101425766945, -0.6889401078224182, -0.20704567432403564, -0.28113019466400146, 0.09242429584264755, 0.7539838552474976, 0.9175519347190857, -0.2305358201265335, -0.35189124941825867, 0.2999718487262726, -0.2664536237716675, 0.021534213796257973, -0.3016229271888733, 0.6495733261108398, -0.07711523026227951, -0.5455008149147034, 0.4234635829925537, 0.02127615548670292, 0.492609441280365, -0.9628333449363708, -0.13158077001571655, -0.227145716547966, 0.2391723096370697, 0.019313964992761612, -0.6215558052062988, 0.09555220603942871, 0.11301472783088684, -0.20856891572475433, -0.3836947977542877, 0.7534005641937256, -0.5408148765563965, -0.2971300184726715, 0.2925181984901428, 0.1751682311296463, 0.32449713349342346, -0.07345675677061081, -0.7059982419013977, 0.07141929119825363, 0.2458052933216095, 0.1970777064561844, 0.13121913373470306, 0.6631242036819458, -0.2582707405090332, 0.6933835744857788, 0.7768658995628357, -0.14153926074504852, -0.08368002623319626, 0.19874300062656403, 0.5526105165481567, -0.8304169774055481, -0.7902318835258484, -0.6265400648117065, 0.02747269906103611, -0.07044311612844467, -0.27773958444595337, 0.9729464650154114, 0.32859480381011963, 0.7714178562164307, 0.03539891913533211, 0.7485714554786682, -0.13688136637210846, 0.5890516042709351, -0.29943716526031494, 0.4075896739959717, -0.19729465246200562, 0.2536700665950775, -0.33680543303489685, -0.915838360786438, -0.044727642089128494, 0.7034395337104797, -0.6278579235076904, 0.05700337514281273, 0.33069491386413574, 0.6533541083335876, 0.23528330028057098, 0.0469626821577549, 0.3551705777645111, 0.18962979316711426, 0.29016706347465515, 0.691411018371582, 0.7780569195747375, -0.38265684247016907, 0.7606672048568726, -0.19392205774784088, -0.29326102137565613, -0.6609768867492676, -0.5174664258956909, -1.0376189947128296, -0.5124126672744751, 0.005904375109821558, -0.06625672429800034, 0.061708904802799225, 0.9539011716842651, 0.22961047291755676, -1.2200124263763428, -0.4875028729438782, -0.07252433151006699, 0.37918609380722046, -0.27314627170562744, -0.1252949833869934, 0.2472677379846573, -0.5472347140312195, -0.78653883934021, 0.13451837003231049, 0.5118881464004517, 0.2471242994070053, 0.00951421819627285, -0.05310869961977005, -0.39765992760658264, 0.28665539622306824, 0.46718108654022217, 0.3958245515823364, -0.42477911710739136, 0.0969938188791275, -0.16989831626415253, -0.23979796469211578, -0.11258494108915329, 0.7739441394805908, -0.6605821251869202, 0.493069589138031, 0.46700069308280945, 0.9042319059371948, 0.3831685483455658, 0.11480776220560074, 0.3700038492679596, -0.7743671536445618, 0.3301887810230255, 0.5937464237213135, 0.16641241312026978, 0.09307265281677246, -0.39953020215034485, 0.23829372227191925, -0.2888104319572449, -0.6885461211204529, -0.5109413862228394, 0.32432422041893005, -1.1049867868423462, -0.29714974761009216, 0.7503543496131897, -0.05677544325590134, -0.5446692109107971, -0.7350218892097473, -0.82552570104599, -0.02714977227151394, -0.841131329536438, 1.0232585668563843, 0.9296324253082275, -0.07633921504020691, 0.20996887981891632, -0.6652685403823853, 0.6033493280410767, 0.7576869130134583, -0.5035002827644348, 0.09231311827898026, 0.436655730009079, -0.18065190315246582, 0.2823120057582855, 0.6783364415168762, 0.11312463134527206, 0.7707139849662781, -0.16918465495109558, 0.19332674145698547, 0.2035234421491623, -0.38496503233909607, -0.2676122188568115, 0.02543119341135025, 0.055820465087890625, -0.21204420924186707 ]
http://arxiv.org/abs/2405.16473v1
http://arxiv.org/pdf/2405.16473v1
M$^3$CoT: A Novel Benchmark for Multi-Domain Multi-step Multi-modal Chain-of-Thought
2024-05-26T07:56:30
2024-05-26T07:56:30
Qiguang Chen, Libo Qin, Jin Zhang, Zhi Chen, Xiao Xu, Wanxiang Che
cs.CV
cs.CV, cs.AI, cs.CL
Multi-modal Chain-of-Thought (MCoT) requires models to leverage knowledge from both textual and visual modalities for step-by-step reasoning, which gains increasing attention. Nevertheless, the current MCoT benchmark still faces some challenges: (1) absence of visual modal reasoning, (2) single-step visual modal reasoning, and (3) Domain missing, thereby hindering the development of MCoT. Motivated by this, we introduce a novel benchmark (M$^3$CoT) to address the above challenges, advancing the multi-domain, multi-step, and multi-modal CoT. Additionally, we conduct a thorough evaluation involving abundant MCoT approaches on Vision Large Language Models (VLLMs). In addition, we highlight that the current VLLMs still struggle to correctly reason in M$^3$CoT and there remains a large gap between existing VLLMs and human performance in M$^3$CoT, despite their superior results on previous MCoT benchmarks. To our knowledge, we take the first meaningful step toward the multi-domain, multi-step, and multi-modal scenario in MCoT. We hope that M$^3$CoT can serve as a valuable resource, providing a pioneering foundation in multi-domain, multi-step, multi-modal chain-of-thought research.
[ -0.6936696171760559, -0.7234429717063904, 0.884757399559021, 0.134059876203537, -0.405571311712265, 0.44881150126457214, -0.06994578242301941, -0.5480988025665283, -0.10669146478176117, 0.41606900095939636, -0.5128522515296936, -0.3528669476509094, -0.5670580863952637, 0.10504984855651855, -0.01856025494635105, 0.5108715891838074, -0.27698346972465515, 0.12518374621868134, -0.13901741802692413, -0.1515682488679886, -0.4753968119621277, -0.6985120177268982, -0.47956526279449463, 0.03232000768184662, 0.6924577951431274, 0.43542978167533875, 0.6809200644493103, 0.3399304449558258, 0.5601137280464172, 0.1472172886133194, 0.141348198056221, 0.48224130272865295, -0.2241937816143036, -0.024160007014870644, -0.12533147633075714, -0.23364168405532837, -0.7879666090011597, 0.16043028235435486, 0.6632205247879028, 0.5828768014907837, 0.04537435621023178, -0.01448362972587347, -0.24987897276878357, 0.9646517634391785, -1.0677818059921265, 0.05863150954246521, -0.7668598890304565, -0.0041065942496061325, -0.21427230536937714, -0.16777493059635162, -0.5484817028045654, -0.029478320851922035, -0.07274795323610306, -0.47358185052871704, 0.16969896852970123, 0.38880857825279236, 0.40861713886260986, -0.12480948865413666, -0.7427922487258911, 0.01640225015580654, -0.4336138367652893, 0.8473210334777832, -0.2831752300262451, 0.8065914511680603, 0.30243849754333496, 0.5281869173049927, -0.15305204689502716, -0.6834434866905212, -1.0106463432312012, -0.40194064378738403, 0.40569791197776794, -0.00033624889329075813, 0.09168670326471329, -0.13634681701660156, 0.08321579545736313, 0.15633352100849152, -0.25628891587257385, -0.4868048131465912, -0.427751749753952, -0.1289832592010498, 0.28567367792129517, 0.2249707281589508, -0.06357463449239731, -0.13558922708034515, -0.9495202898979187, -0.22873541712760925, -0.7042632699012756, -0.2100234031677246, 0.0468570776283741, 0.09768333286046982, -0.1460939645767212, 0.6497288942337036, -0.3058920204639435, 0.6548140645027161, -0.39984095096588135, -0.17815668880939484, 0.43912163376808167, -0.4720630347728729, -0.2829258143901825, -0.2502545118331909, 0.82198566198349, 0.42082467675209045, 0.22590576112270355, 0.12014676630496979, -0.14216648042201996, 0.08221198618412018, 0.32287856936454773, -0.6293565630912781, -0.17596715688705444, 0.09531744569540024, -0.22299599647521973, -0.09958932548761368, 0.014846059493720531, -0.8207904100418091, -0.29634299874305725, -0.3574255704879761, 0.35293787717819214, -0.5426211953163147, -0.3986946940422058, 0.14155545830726624, 0.06182103231549263, 0.11772211641073227, 0.6471570134162903, -0.6782954931259155, 0.4449324607849121, 0.8082978129386902, 0.9563732147216797, -0.31513869762420654, -0.6625584959983826, -0.3453685939311981, 0.2052394300699234, -0.42205435037612915, 0.8395904302597046, -0.7394998073577881, -0.23134195804595947, -0.4808007478713989, -0.011155297048389912, -0.35617613792419434, -0.2768257260322571, 0.4697626531124115, -0.3263513147830963, -0.0916806012392044, -0.299626886844635, -0.21186208724975586, -0.19438636302947998, 0.645526111125946, -0.8369669914245605, 0.8723253011703491, 0.06291563808917999, -0.5579686164855957, 0.48480501770973206, -0.6399620771408081, -0.1623837649822235, -0.12258090078830719, -0.6354975700378418, -0.07282035797834396, 0.10616783052682877, 0.2229578197002411, 0.4156193435192108, -0.905131995677948, 0.15211115777492523, -0.5858515501022339, -0.23505623638629913, 0.3729289174079895, -0.718951940536499, 0.5749490857124329, 0.25210967659950256, -0.41215479373931885, -0.1597198247909546, -0.9755392074584961, 0.2389921396970749, 0.026375828310847282, -0.11868429183959961, -0.17834985256195068, -0.024471530690789223, 0.16421262919902802, 0.6864772439002991, 0.08295445889234543, -0.5063014030456543, 0.20996718108654022, 0.2273605465888977, 0.24604906141757965, 0.848170816898346, -0.09083931148052216, -0.04696573689579964, -0.17649871110916138, 0.46534496545791626, 0.41632094979286194, 0.32387158274650574, -0.02970878593623638, -0.6986998915672302, -0.5530387759208679, -0.6597605347633362, 0.1795145869255066, 0.1342260092496872, -1.1077553033828735, -0.1211511567234993, -0.03695174679160118, -0.4215156137943268, -0.35826823115348816, 0.026239780709147453, 0.520248293876648, 0.24081075191497803, 0.5859764814376831, -0.37157142162323, -0.3626682460308075, -0.8406806588172913, -0.2539442479610443, -0.18352627754211426, 0.11758943647146225, 0.23383282124996185, 0.5814578533172607, -0.3890042006969452, 0.41432836651802063, -0.29052960872650146, -0.23236824572086334, -0.09016157686710358, 0.23538880050182343, -0.09358688443899155, 0.5879981517791748, 0.21137873828411102, -0.8946584463119507, -0.10350937396287918, 0.20799405872821808, -0.5883795022964478, 0.2249058037996292, -0.023099031299352646, -0.35011690855026245, 0.18797507882118225, 0.5663871169090271, -0.6235366463661194, 0.1958414763212204, 0.7365288138389587, -0.5688427090644836, 0.6648204922676086, -0.008435508236289024, 0.6337466239929199, -0.9481747150421143, 0.12525980174541473, -0.3778418004512787, -0.2636966407299042, -0.24368102848529816, 0.05850850045681, 0.4667554497718811, 0.04720087721943855, -0.7006454467773438, 0.49842652678489685, -0.5067888498306274, 0.08852831274271011, -0.13422657549381256, 0.5486234426498413, 0.22092735767364502, 0.7441379427909851, -0.09590990096330643, 0.8352417945861816, 0.496709942817688, -0.6545781493186951, 0.09389158338308334, 0.04715781658887863, -0.24613700807094574, 0.8744537234306335, -0.2891123294830322, 0.21164658665657043, 0.2994353771209717, 0.24335260689258575, -0.7575490474700928, 0.12122245877981186, 0.09958034008741379, -0.27528926730155945, 0.025532789528369904, 0.1147838681936264, -0.5922717452049255, -0.4031452536582947, -0.4465257525444031, 1.0128792524337769, 0.029201921075582504, -0.59007728099823, 0.8342865705490112, 0.2646671235561371, 0.23742656409740448, -0.7299883365631104, -0.43295642733573914, 0.28866440057754517, 0.147477388381958, -0.48856425285339355, 0.30629783868789673, -0.1551205813884735, 0.009612549096345901, -0.1308431774377823, -0.31473636627197266, -0.0008618731517344713, -0.17657026648521423, 0.1286342889070511, 0.3439895212650299, -0.4008326232433319, 0.018213842064142227, -0.13293829560279846, -0.2680644392967224, 0.04478165879845619, -0.20515435934066772, 0.5060642957687378, -0.5137110948562622, -0.3592909574508667, -0.09920812398195267, 0.3633030354976654, 1.0377094745635986, -0.31998997926712036, 0.6970685720443726, 0.631525993347168, -0.40606558322906494, -0.12158005684614182, -0.7980453968048096, 0.2611352801322937, -0.3756784200668335, 0.24880185723304749, -0.9149436354637146, -0.8094821572303772, 0.07481155544519424, -0.36433881521224976, -0.4110187292098999, 0.5288407206535339, 0.672934889793396, 0.1527101844549179, 1.2610735893249512, 0.6892713308334351, 0.36769071221351624, 0.29634734988212585, -0.26245343685150146, 0.22170722484588623, -1.4551146030426025, -0.4111112356185913, -0.2483273595571518, -0.06365363299846649, -0.5135547518730164, -1.0532724857330322, 0.3885209858417511, 0.3350278437137604, -0.20410457253456116, 0.3300774097442627, -0.16026674211025238, 0.5516895651817322, 0.49890926480293274, 0.20850954949855804, 0.5041249394416809, -0.44359177350997925, -0.8471953272819519, 0.3031022548675537, -0.594327449798584, -0.6892749071121216, 1.2383430004119873, 0.12566938996315002, 0.5756218433380127, 0.32784873247146606, 0.31371310353279114, 0.3508565127849579, 0.2025134116411209, -0.5299554467201233, 0.721134603023529, 0.16907678544521332, -0.6083272695541382, 0.0872751772403717, -0.47495394945144653, -0.7247364521026611, 0.7651011347770691, -0.2781706750392914, -0.8171635866165161, 0.2990292012691498, 0.15116462111473083, 0.057472191751003265, 0.5024393200874329, -0.8419535160064697, 1.0788867473602295, -0.2535456418991089, -0.6840460896492004, -0.4009144902229309, -0.7030428647994995, 0.6791565418243408, -0.18387050926685333, 0.3503369092941284, -0.49101850390434265, -0.2894376814365387, 0.604484498500824, -0.45065218210220337, 0.40128985047340393, -0.0433376207947731, 0.08863634616136551, 0.3753639757633209, 0.1417594701051712, 0.25204864144325256, 0.1673821061849594, 0.23797351121902466, 0.26039448380470276, 0.2724155783653259, -0.5841534733772278, -0.30813679099082947, 0.9502778053283691, -0.6324044466018677, -0.34882864356040955, -0.602394700050354, -0.4022490978240967, -0.7268096804618835, 0.3202383816242218, -0.2520066499710083, 0.4692452549934387, -0.216953307390213, 0.32096797227859497, 0.3307667374610901, 0.23614536225795746, 0.4630621373653412, 0.4150306284427643, -0.3134991526603699, -0.8356605768203735, 0.7960624694824219, -0.33245858550071716, 0.6082280874252319, 0.41112715005874634, 0.10116210579872131, -0.250951886177063, -0.3101027011871338, -0.5315595865249634, 0.1510203778743744, -0.8390132784843445, -0.4415890574455261, -0.9152024388313293, 0.09598881751298904, 0.03509466350078583, -0.073668472468853, -0.6609002351760864, -0.5170525312423706, 0.1543792188167572, 0.11471381038427353, 0.11207432299852371, 0.6381986141204834, 0.05057336762547493, -0.08806000649929047, -0.6702731251716614, 0.8515763282775879, 0.405304491519928, 0.7478918433189392, 0.18873615562915802, 0.1490999460220337, -0.34953299164772034, 0.006203450262546539, -0.7012894749641418, -0.5138784050941467, -0.1707731932401657, -0.1931513398885727, 0.49889394640922546, 0.3002164661884308, -0.09609640389680862, 0.8173220753669739, -0.681583046913147, 0.8503288626670837, 0.5779198408126831, -1.1977847814559937, 0.3597630262374878, -0.05332593619823456, 0.396637886762619, 0.7366478443145752, 0.21291318535804749, -0.24536779522895813, -0.4513460397720337, -0.7485665678977966, -0.7707618474960327, 0.5099021792411804, 0.3925711512565613, -0.41408243775367737, -0.45529061555862427, -0.22242601215839386, 0.19314999878406525, 0.4085690379142761, -0.6747730374336243, 0.018099436536431313, -0.04230686277151108, 0.0068431817926466465, -0.06964106112718582, -0.09417299926280975, -0.08335573971271515, -0.3349274694919586, 0.5254981517791748, -0.35482582449913025, 0.42118099331855774, 0.42401400208473206, -0.19772782921791077, -0.2007264494895935, 0.216134175658226, 0.9073265790939331, 0.979032039642334, -0.40532925724983215, 0.7179192900657654, 0.17056478559970856, -0.7172346711158752, 0.14965443313121796, -0.22303710877895355, 0.48891615867614746, -0.3184613585472107, 0.24782907962799072, 0.638281524181366, 0.27879390120506287, -0.9229210615158081, 0.6596547365188599, -0.276944100856781, -0.23301148414611816, 0.00024739978834986687, 0.04014691337943077, -0.033555082976818085, 0.48036086559295654, 0.30644869804382324, 0.7275745868682861, 0.054440148174762726, -0.7407734990119934, 0.1973692774772644, 0.31785786151885986, -0.49653851985931396, -0.16433711349964142, 0.855471134185791, 0.19418390095233917, -0.17069227993488312, 0.09756217896938324, -0.0216081403195858, -0.5142115354537964, 0.3395627737045288, 0.48779258131980896, 1.0503697395324707, 0.17793036997318268, -0.07490122318267822, 0.2185869961977005, 0.5265486240386963, -0.1876896172761917, 0.4692557752132416, -0.2760973572731018, -0.5283791422843933, -0.19678395986557007, -0.5578210353851318, -0.6548105478286743, -0.17091704905033112, -0.421123206615448, 0.3515915274620056, -0.5610187649726868, -0.2247171700000763, -0.17291106283664703, -0.09014085680246353, -0.9077379703521729, 0.48192429542541504, 0.3784906566143036, 0.9412894248962402, -0.36758309602737427, 0.9676056504249573, 0.3065233826637268, -0.40896478295326233, -0.4445510804653168, 0.040617089718580246, 0.03182187303900719, -0.7984745502471924, 0.21775087714195251, 0.3919454514980316, -1.064079999923706, -0.23018011450767517, -0.4458593428134918, -0.6731671094894409, 1.2775629758834839, 0.25309544801712036, -0.6144788265228271, 0.3798234462738037, -0.10787174105644226, 0.3109351694583893, -0.8319689035415649, 0.18988382816314697, 0.6335183382034302, 0.2962491810321808, 0.1450054794549942, -0.8549992442131042, 0.2626633644104004, -0.3886539041996002, 0.09152209013700485, 0.4289012551307678, -0.8252236843109131, 1.1766852140426636, -0.45167210698127747, -0.00997366476804018, -0.04941394180059433, 0.5063391923904419, 0.5836197733879089, 0.5517973899841309, 0.5409987568855286, 0.40456250309944153, 0.6318734884262085, 0.009536070749163628, 1.0841816663742065, -0.27101239562034607, 0.41265472769737244, 1.1109651327133179, -0.3611926734447479, 1.3140193223953247, 0.7770978808403015, -0.2284115105867386, 0.5975189805030823, 0.24537932872772217, 0.21759721636772156, 0.4758455455303192, 0.04926222562789917, -0.32024145126342773, -0.28013521432876587, 0.2417604774236679, -0.6200012564659119, 0.35981908440589905, 0.32782208919525146, -0.2510497570037842, 0.26871755719184875, 0.015414929017424583, 0.011111474595963955, -0.15801207721233368, -0.29655852913856506, 0.544156014919281, 0.047367557883262634, -0.502927839756012, 0.9385354518890381, -0.1420368254184723, 0.2993185520172119, -0.4428199827671051, -0.11429162323474884, 0.11412924528121948, 0.3400312662124634, 0.1775517463684082, -0.5964181423187256, -0.13713444769382477, -0.07050242274999619, -0.08368491381406784, -0.060052771121263504, 0.22066201269626617, -0.1673753708600998, -0.6900789737701416, 0.4222567081451416, 0.7368249893188477, -0.07655391842126846, -0.32188451290130615, -0.6126910448074341, 0.2626246213912964, -0.30043426156044006, -0.22027043998241425, 0.018685264512896538, 0.95515376329422, -0.10386627167463303, 0.6654300689697266, 0.6375255584716797, -0.2053113728761673, 0.13741055130958557, 0.2553062438964844, 0.9877417087554932, -1.2830078601837158, -0.3066142201423645, -0.9325034022331238, 0.4392753541469574, -0.1472487598657608, -0.6043267846107483, 0.4248040020465851, 0.6529452800750732, 0.9066370725631714, -0.10904069989919662, 0.571553647518158, -0.179109588265419, 0.2533574402332306, -0.8633576035499573, 0.4290045499801636, -0.8753933906555176, 0.24376261234283447, -0.6855027079582214, -1.0537290573120117, -0.33969220519065857, 0.40065816044807434, -0.010572102852165699, 0.23057924211025238, 1.7665849924087524, 0.4674527049064636, -0.20977652072906494, 0.3207874894142151, 0.6351334452629089, 0.09838012605905533, 0.38712188601493835, 0.7231469750404358, 0.96696537733078, -0.634696900844574, 0.5232459306716919, -0.14208325743675232, -0.3064080774784088, -0.18654543161392212, -1.0057799816131592, -0.9229068756103516, -0.7009474039077759, -0.14553934335708618, -0.2738494575023651, -0.07473442703485489, 1.1986348628997803, 0.699084460735321, -0.6870918869972229, -0.22042568027973175, -0.257985919713974, 0.23727025091648102, -0.5880335569381714, -0.15707913041114807, 0.12048125267028809, -0.22861044108867645, -0.38231781125068665, 0.35712116956710815, 0.657357394695282, -0.008320149034261703, -0.289722204208374, -0.09691136330366135, -0.6862854957580566, 0.21771927177906036, 1.1287261247634888, -0.14347344636917114, -1.1270695924758911, -0.3864138126373291, -0.14476735889911652, -0.14967207610607147, 0.2843509018421173, 1.1799290180206299, -0.8527393341064453, 0.6450188159942627, 0.07491063326597214, 0.44789087772369385, 0.6678635478019714, -0.25938233733177185, 0.6930597424507141, -0.4442630112171173, 0.11577849090099335, 0.2664628028869629, 0.570016086101532, 0.27913689613342285, 0.05787501856684685, 0.660297155380249, 0.3697030246257782, -0.4273946285247803, -0.749469518661499, 0.22290147840976715, -1.5106958150863647, -0.14594115316867828, 0.9001572728157043, 0.19111838936805725, -0.390113890171051, -0.03559611737728119, -0.5540273785591125, -0.08217242360115051, -0.30188068747520447, 0.6960694193840027, 0.7751374244689941, -0.28005537390708923, -0.4465238153934479, -0.7066810131072998, 0.3159381151199341, 0.3655227720737457, -0.9380583763122559, 0.2844853699207306, 0.44052261114120483, -0.17891141772270203, 0.17120781540870667, 0.7811288833618164, -0.21460731327533722, 0.46827802062034607, 0.43083515763282776, 0.003414473496377468, 0.015078606083989143, -0.9189929366111755, 0.21655026078224182, 0.37933772802352905, 0.0945616140961647, -0.3121867775917053 ]
http://arxiv.org/abs/2405.17505v1
http://arxiv.org/pdf/2405.17505v1
Predicting Rental Price of Lane Houses in Shanghai with Machine Learning Methods and Large Language Models
2024-05-26T07:01:33
2024-05-26T07:01:33
Tingting Chen, Shijing Si
cs.LG
cs.LG, cs.CL
Housing has emerged as a crucial concern among young individuals residing in major cities, including Shanghai. Given the unprecedented surge in property prices in this metropolis, young people have increasingly resorted to the rental market to address their housing needs. This study utilizes five traditional machine learning methods: multiple linear regression (MLR), ridge regression (RR), lasso regression (LR), decision tree (DT), and random forest (RF), along with a Large Language Model (LLM) approach using ChatGPT, for predicting the rental prices of lane houses in Shanghai. It applies these methods to examine a public data sample of about 2,609 lane house rental transactions in 2021 in Shanghai, and then compares the results of these methods. In terms of predictive power, RF has achieved the best performance among the traditional methods. However, the LLM approach, particularly in the 10-shot scenario, shows promising results that surpass traditional methods in terms of R-Squared value. The three performance metrics: mean squared error (MSE), mean absolute error (MAE), and R-Squared, are used to evaluate the models. Our conclusion is that while traditional machine learning models offer robust techniques for rental price prediction, the integration of LLM such as ChatGPT holds significant potential for enhancing predictive accuracy.
[ -0.05159715935587883, -0.8401134610176086, 0.41448718309402466, 0.019156552851200104, 0.054683055728673935, 0.007069847080856562, -0.04265894368290901, -0.4447401463985443, -0.2717601954936981, 0.19018805027008057, -0.21695953607559204, -0.6478123068809509, -0.18310654163360596, -0.3792538642883301, -0.14166681468486786, 0.4822092652320862, 0.03135151043534279, 0.40505656599998474, 0.2777767777442932, 0.09933993220329285, -0.5049675107002258, -0.3663857579231262, -0.5748147964477539, 0.05167236551642418, 0.2970198392868042, 0.009661913849413395, 0.9355447292327881, 0.9850595593452454, 0.5621107220649719, 0.1909019947052002, 0.20797477662563324, 0.08216827362775803, -0.07508911937475204, -0.13136854767799377, 0.3215494155883789, -0.09468580782413483, -0.2725169062614441, -0.004646308720111847, 0.6343364715576172, 0.35091671347618103, -0.21169067919254303, 0.1219182014465332, 0.08407925069332123, 0.6918465495109558, -0.5680938959121704, 0.482497900724411, -0.6876870393753052, 0.24144680798053741, -0.3679816424846649, -0.09137486666440964, -0.48663270473480225, -0.2572534382343292, 0.02776355855166912, -0.2858031690120697, 0.33085572719573975, 0.4051368236541748, 0.9808748364448547, 0.22513413429260254, -0.4178333580493927, -0.180527463555336, -0.7506070733070374, 0.7615256309509277, -0.8239263296127319, 0.3679986298084259, 0.15503932535648346, 0.6570394039154053, -0.23964297771453857, -0.3610113859176636, -0.26658394932746887, -0.4871537983417511, -0.054872892796993256, 0.4100230634212494, -0.11055899411439896, 0.07818803936243057, 0.35931721329689026, 0.043955348432064056, -0.7798582911491394, 0.1329287439584732, -0.7985778450965881, 0.08833672106266022, 0.9017194509506226, 0.40278586745262146, 0.21742846071720123, -0.5171782374382019, -0.7555493116378784, -0.16568173468112946, -0.512209415435791, 0.46257248520851135, 0.4236027002334595, 0.6918254494667053, 0.19031581282615662, 0.42097410559654236, -0.08465472608804703, 0.5200870633125305, -0.28330808877944946, -0.13033731281757355, 0.19630686938762665, -0.2068614661693573, -0.12864141166210175, 0.21460705995559692, 0.8631373047828674, 0.5214029550552368, 0.3534480929374695, 0.012922927737236023, -0.2646845877170563, -0.00514241773635149, -0.09732086956501007, -0.481207937002182, -0.4036879539489746, 0.5009313821792603, -0.5765873193740845, -0.25830355286598206, 0.20911288261413574, -0.7153884768486023, -0.33602872490882874, -0.022711660712957382, 0.012697682715952396, -0.23090960085391998, -0.2504574656486511, 0.02216901257634163, -0.14515691995620728, 0.7118608355522156, 0.5243237614631653, -0.5492058992385864, 0.1732853651046753, 0.28056538105010986, 0.9232128858566284, -0.28330135345458984, -0.4433436989784241, -0.4353157579898834, 0.17667420208454132, -0.36955615878105164, 1.0666459798812866, -0.3040279746055603, -0.2870665490627289, 0.18941061198711395, -0.33659395575523376, -0.27126604318618774, -0.6707705855369568, 0.48235276341438293, -0.24587561190128326, 0.0996721163392067, 0.498699426651001, -0.2462601363658905, -0.47399643063545227, 0.3650200068950653, -0.7746902108192444, 1.1414846181869507, 0.23164035379886627, -0.541876494884491, 0.3371463418006897, -0.5448738932609558, -0.23537179827690125, 0.20411038398742676, 0.19669416546821594, -1.0273150205612183, -0.08694522827863693, 0.28772255778312683, 0.8400934338569641, 0.03172994777560234, 0.6027576923370361, -0.5093345046043396, -0.3592526912689209, 0.27240225672721863, -0.6741610169410706, 0.7410876750946045, 0.4821251928806305, -0.15319201350212097, 0.44520261883735657, -0.7892811298370361, -0.14930382370948792, 0.09749672561883926, 0.15015241503715515, 0.09933632612228394, 0.25894954800605774, 0.22568073868751526, 0.4093286097049713, 0.37014660239219666, -0.3377009332180023, 0.14357130229473114, -0.09539207071065903, 0.25084325671195984, 0.7203463912010193, -0.25844526290893555, 0.08427286148071289, -0.5976043343544006, 0.642691433429718, 0.3073892593383789, 0.20023994147777557, 0.10423576086759567, -0.52003014087677, -0.37003588676452637, -0.30193957686424255, 0.14167042076587677, 0.7443539500236511, -0.008612284436821938, -0.1637638807296753, -0.023808779194951057, -0.6932931542396545, -0.5025591850280762, -0.11585541069507599, -0.18904738128185272, 0.048546742647886276, 0.3321889340877533, 0.527030885219574, -0.694959282875061, -0.2821100950241089, -0.2393140345811844, -0.1669253408908844, 0.12058348208665848, 0.5177885890007019, 0.3076906204223633, -0.10727899521589279, 0.7904975414276123, -0.6877894401550293, -0.44569239020347595, -0.6397197842597961, -0.21161510050296783, 0.3402876555919647, 0.11715271323919296, 0.477389931678772, -0.8142814040184021, -0.8555354475975037, 0.09923259913921356, -0.4395007789134979, 0.15733937919139862, -0.08517824113368988, 0.3490297794342041, 0.4134885370731354, 0.3580898344516754, -0.40439367294311523, 0.6462806463241577, 0.6536800265312195, -0.013809353113174438, 0.7598203420639038, -0.38602253794670105, -0.24738739430904388, -1.0684399604797363, -0.2980403006076813, 0.4530114233493805, -0.17166069149971008, -0.28009819984436035, -0.10053316503763199, -0.20989824831485748, -0.11702834814786911, -0.6280319690704346, 0.5861210823059082, -0.2099498063325882, -0.1433507204055786, -0.0693703219294548, 0.23693765699863434, -0.4394305944442749, 0.6293352246284485, 0.26612070202827454, 0.8602886199951172, 0.23957516252994537, -0.4517063498497009, 0.6721290946006775, -0.11078351736068726, -0.2339465618133545, -0.35566678643226624, -0.502957284450531, -0.10720818489789963, -0.1409377157688141, 0.28033509850502014, -1.1446664333343506, -0.0725717842578888, 0.21630355715751648, -0.349877268075943, -0.4171436131000519, -0.29046082496643066, -0.4553147554397583, -0.4417465031147003, -0.6265670657157898, 0.13426165282726288, 0.38585489988327026, -0.3240913152694702, 0.4861716628074646, 0.25895652174949646, 0.07928063720464706, -0.47368931770324707, 0.0035361777991056442, -0.3915156424045563, -0.6031860709190369, -0.5615646243095398, -0.07084675878286362, 0.15293505787849426, -0.4278239607810974, 0.10139930248260498, 0.5038610696792603, -0.2027197778224945, 0.3590899407863617, 0.4441172480583191, 0.7513779401779175, -0.08182147890329361, 0.10521107912063599, -0.5580081939697266, -0.3831852376461029, 0.033607594668865204, -0.35292884707450867, 0.5385576486587524, -0.3663610816001892, -0.022688766941428185, -0.09367720037698746, -0.2094378024339676, 0.2136945277452469, -0.25027555227279663, 0.7838332653045654, 0.727936863899231, -0.3795115649700165, -0.3936292231082916, -0.17084087431430817, 0.17931051552295685, -0.32581499218940735, 0.5713675618171692, -0.4336461126804352, -0.5544395446777344, 0.6376181840896606, -0.19743172824382782, 0.11524885147809982, 0.38656145334243774, 0.5166541934013367, -0.49973198771476746, 1.158193588256836, 0.5917578339576721, -0.12539264559745789, 0.7135031819343567, -0.1838630586862564, 0.6459804177284241, -0.5383331775665283, -0.026266979053616524, -0.6308935880661011, -0.2634388208389282, -1.1899300813674927, -0.5058633685112, 0.31346583366394043, 0.06026620417833328, -0.2630557417869568, 0.5170075297355652, -0.3716208040714264, 0.19053398072719574, 0.6072252988815308, 0.2056063860654831, 0.5579279065132141, -0.05274283513426781, 0.05597367137670517, 0.06299246102571487, -0.7962968945503235, -0.5081349611282349, 1.1708436012268066, 0.5087481141090393, 0.4963567554950714, -0.05865682661533356, 0.2790535092353821, 0.3714151978492737, 0.20087046921253204, -0.7651870846748352, 0.41194814443588257, -0.4186953902244568, -0.46856823563575745, -0.6420467495918274, -0.2811698913574219, -1.0897495746612549, 0.555673360824585, -0.08536390215158463, -0.7047144174575806, -0.23383277654647827, -0.052818961441516876, -0.5052857995033264, 0.5138633847236633, -0.3182745575904846, 0.830051064491272, -0.27165687084198, -0.42732974886894226, -0.2755683958530426, -0.2939644455909729, 0.36097997426986694, -0.24519257247447968, 0.4352070987224579, -0.5250995755195618, 0.5654658675193787, 0.5098346471786499, -0.130147323012352, 0.4328678846359253, -0.19126901030540466, 0.2545962333679199, 0.4125209152698517, -0.35961759090423584, 0.8153234124183655, -0.21393358707427979, -0.24934515357017517, 0.08838535845279694, 0.2545708417892456, -0.5036320090293884, -0.4503907561302185, 0.29503247141838074, -0.9848871827125549, -0.1727323681116104, -0.5143953561782837, -0.47558432817459106, 0.014490685425698757, -0.03755534067749977, 0.2108803242444992, 0.211408793926239, 0.07054515928030014, -0.044000811874866486, 0.26989123225212097, -0.2679276466369629, 0.4492974877357483, 0.21877504885196686, -0.6881808042526245, -0.40842223167419434, 1.0725860595703125, 0.2605471909046173, -0.09167178720235825, 0.19627472758293152, 0.6703892350196838, -0.3680712878704071, -0.5073234438896179, -0.2983707785606384, 0.03445854038000107, -0.33849671483039856, -0.08819182962179184, -0.5124465227127075, -0.5019049644470215, -0.4911973178386688, -0.3894639015197754, -0.4621754288673401, -0.1111450269818306, 0.516258955001831, -0.36998677253723145, 0.04369452968239784, 0.825851321220398, -0.03343253210186958, 0.2857140600681305, -0.8919641375541687, 0.05606721714138985, 0.010223384015262127, 0.04513746500015259, -0.00910110678523779, -0.29688704013824463, -0.5524425506591797, 0.3440812826156616, -0.3455764949321747, -0.44816961884498596, 0.9495885968208313, -0.46180465817451477, 0.3533259630203247, 0.4600794017314911, 0.4012978971004486, 0.7621137499809265, -0.2560584843158722, 0.8407241106033325, -0.1177341565489769, -0.4652446210384369, 0.6787266731262207, -0.48299553990364075, -0.06858699023723602, 0.07322506606578827, 0.22335195541381836, -0.4109639823436737, -0.1774618923664093, -0.7403379678726196, -0.9161758422851562, 0.2699364721775055, -0.29880210757255554, -0.04200347885489464, 0.3179614543914795, -0.13173091411590576, -0.1559610664844513, 0.241193026304245, -1.1587741374969482, -0.05405670404434204, 0.17935816943645477, -0.12728288769721985, 0.052388954907655716, -0.12908935546875, 0.43004581332206726, -0.4447193443775177, 0.7456951141357422, -0.04905690252780914, 0.045867711305618286, -0.25950413942337036, -0.030264293774962425, -0.22243177890777588, 0.16185712814331055, 0.5145987272262573, 0.44778627157211304, -0.6712968945503235, -0.20297285914421082, 0.2760837972164154, -0.15244601666927338, 0.1933574676513672, -0.13782460987567902, -0.34536972641944885, 0.08690862357616425, 0.28557446599006653, 0.809889018535614, -0.299030065536499, -0.6891189813613892, 0.5289331674575806, 0.23156799376010895, -0.31379711627960205, -1.098934531211853, -0.10236874222755432, -0.3739689886569977, 0.20062664151191711, 0.1293058693408966, -0.05460099130868912, 0.1760701835155487, -0.42861974239349365, 0.039391785860061646, 0.2475496381521225, -0.7232807278633118, -0.11261191219091415, 0.6705921292304993, 0.004834397695958614, -0.0007551206508651376, 1.1946139335632324, 0.1028115302324295, -0.5769543051719666, 0.5695198178291321, 0.25099170207977295, 1.2370439767837524, -0.12031084299087524, 0.25109240412712097, 0.6012174487113953, 0.037931401282548904, -0.11172317713499069, 0.0031819851137697697, 0.1336890310049057, -1.077290654182434, -0.4782041609287262, -0.4211941063404083, -0.3530232906341553, -0.08913181722164154, -0.3798675239086151, 0.4899279773235321, -0.32958582043647766, -0.017646217718720436, -0.5095369815826416, 0.7500960230827332, -0.4112767279148102, 0.1369052231311798, 0.4763484001159668, 0.8717089891433716, -0.8242911100387573, 1.0612812042236328, 0.7472323179244995, -0.323369562625885, -1.1276330947875977, 0.13851836323738098, -0.19048500061035156, -0.5734578967094421, 0.9219574928283691, 0.26966533064842224, -0.3646335303783417, 0.027265015989542007, -0.5609294176101685, -0.4273218810558319, 1.0306165218353271, -0.1673768311738968, -0.7058964371681213, -0.20236340165138245, 0.0988842025399208, 0.4585729241371155, -0.15717875957489014, 0.30859658122062683, 0.3464980721473694, 0.5725906491279602, 0.07810478657484055, -0.6264245510101318, -0.32296842336654663, 0.12667544186115265, 0.0902354046702385, 0.25574323534965515, -0.7151656150817871, 0.6334691643714905, -0.4536372721195221, -0.23553264141082764, -0.0529797226190567, 0.6988608837127686, 0.5377696752548218, 0.7855369448661804, 0.3719882667064667, 0.25123873353004456, 0.749552309513092, -0.05501115694642067, 0.785850465297699, -0.7993156313896179, 0.49086758494377136, 0.634949803352356, -0.49312132596969604, 1.5017372369766235, 0.06458085030317307, -0.5847243666648865, 0.48594218492507935, 0.6519388556480408, -0.38678762316703796, 0.4320943057537079, 0.537792980670929, -0.019616292789578438, -0.2789548933506012, 0.07118353247642517, 0.020827563479542732, 0.44903549551963806, 0.28301340341567993, 0.1708955615758896, -0.1134684607386589, 0.11388612538576126, -0.05067078396677971, 0.11467631161212921, -0.18501637876033783, 0.828981876373291, 0.033576156944036484, -0.2739553451538086, -0.06662987917661667, 0.09787198901176453, 0.2871542274951935, -0.5450781583786011, -0.15300653874874115, -0.20402559638023376, 0.44572198390960693, -0.09145914763212204, -0.7066429257392883, 0.19943933188915253, -0.4855388104915619, 0.060620736330747604, -0.4851474165916443, 0.7710065841674805, -0.3657881021499634, -0.9230369925498962, 0.4523468613624573, 0.4703194797039032, 0.20362304151058197, -0.22312404215335846, -0.6205441951751709, -0.17781540751457214, 0.08778651803731918, -0.02331859990954399, 0.2574155032634735, 0.3790035843849182, -0.3479999303817749, 1.0255783796310425, 0.8414439558982849, 0.3362356424331665, 0.19213026762008667, -0.2990090250968933, 0.46782252192497253, -0.9986873269081116, -0.2966943383216858, -0.9458816051483154, 0.48530665040016174, 0.07127046585083008, -0.20655325055122375, 0.823677659034729, 0.6308611631393433, 0.9564852118492126, -0.03696298599243164, 0.7573630809783936, 0.5068715214729309, 0.5988895297050476, -0.6202577948570251, 0.24987643957138062, -0.11669531464576721, 0.3812911808490753, -0.13087482750415802, -1.067603588104248, -0.367738276720047, 0.9921140074729919, -0.6951301693916321, -0.0862140953540802, 0.5181291699409485, 0.6457772254943848, 0.49583250284194946, -0.013619253411889076, 0.6653313636779785, -0.011228845454752445, 0.4919566512107849, 0.498259961605072, 1.0660942792892456, -0.6279391646385193, 0.4312123656272888, -0.5743364095687866, 0.20566779375076294, -0.4814566373825073, -0.5013314485549927, -0.6317580342292786, -0.42898476123809814, -0.3589121103286743, -0.5493804216384888, 0.4174121916294098, 1.085520625114441, 0.5260075926780701, -0.9948961138725281, -0.7824891805648804, 0.16073045134544373, 0.14955459535121918, -0.7168889045715332, -0.26254802942276, 0.7965970635414124, -0.344230592250824, -0.7742486000061035, 0.013585040345788002, 0.25383809208869934, 0.11646950989961624, -0.5260184407234192, -0.04930705577135086, 0.12660399079322815, -0.2862931489944458, 0.4418785274028778, -0.20140120387077332, -0.6014741659164429, -0.08517283201217651, 0.03641669079661369, -0.5139749050140381, 0.20937246084213257, 0.6669747233390808, -0.8787617087364197, -0.141054168343544, 0.5410084128379822, 0.27278590202331543, 0.5496044158935547, 0.2368697077035904, 0.6938638687133789, -0.09428209066390991, 0.0013816929422318935, -0.07304120808839798, 0.31513988971710205, 0.00814388319849968, -0.42374980449676514, 0.5238541960716248, 0.26323768496513367, -0.38523873686790466, -0.5339853167533875, -0.020263615995645523, -0.8100595474243164, -0.48213306069374084, 0.792751669883728, -0.047439780086278915, -0.40650519728660583, -0.2260713428258896, -0.30765393376350403, -0.0831642895936966, -0.5801286697387695, 0.838416576385498, 0.653260350227356, -0.04073098301887512, -0.8013186454772949, -1.2315633296966553, 0.20212753117084503, 0.008525886572897434, -0.36668768525123596, 0.27334287762641907, 0.516526997089386, -0.11030031740665436, -0.3307015299797058, 0.3735523819923401, 0.018949978053569794, 0.16497713327407837, 0.1415671706199646, -0.10030960291624069, -0.23105183243751526, -0.26379674673080444, -0.06097687780857086, 0.40785902738571167, 0.10744200646877289, -0.5430654287338257 ]
http://arxiv.org/abs/2405.16442v1
http://arxiv.org/pdf/2405.16442v1
Development of an open education resources (OER) system: a comparative analysis and implementation approach
2024-05-26T05:58:45
2024-05-26T05:58:45
Nimol Thuon, Wangrui Zhang
cs.CY
cs.CY, cs.CL
Several institutions are collaborating on the development of a new web-based Open Education Resources (OER) system designed exclusively for non-commercial educational purposes. This initiative is underpinned by meticulous research aimed at constructing an OER system that optimizes user experiences across diverse user profiles. A significant emphasis is placed on utilizing open-source tools, frameworks, and technologies. The project includes a comparative analysis of the top five open-source Learning Management Systems (LMS), providing critical insights to inform the development process. The primary objective is to create a web-based system that facilitates the sharing of educational resources for non-commercial users, leveraging information and communication technologies. The project is structured around two key teams: a research team and a development team. This comprehensive approach is intended to establish a robust, user-centric OER system, informed by insights from existing platforms and the latest advancements in open education resource development.
[ -0.5593063235282898, -0.3528626561164856, 0.23849639296531677, -0.43026238679885864, 0.2196783423423767, 0.13457341492176056, -0.31673476099967957, -0.5116534233093262, 0.1035987064242363, 0.2702910900115967, -0.23865841329097748, -0.22105702757835388, -0.1611957848072052, 0.08987858891487122, -0.22370390594005585, 0.8111589550971985, -0.3470713794231415, 0.18985101580619812, -0.07656435668468475, -0.5874098539352417, -0.3115786910057068, -0.1699080765247345, -0.698399543762207, -0.15185242891311646, 0.6265915632247925, 0.5213348865509033, 0.39812734723091125, 0.23493552207946777, 0.7218000292778015, 0.2111886739730835, -0.028978176414966583, -0.3264613449573517, -0.9450934529304504, -0.22469264268875122, -0.6550245881080627, -0.2733158767223358, -0.39910775423049927, 0.006429684814065695, 0.5996219515800476, 0.515609085559845, -0.36617258191108704, 0.5005092024803162, 0.3762699365615845, 0.7922571301460266, -1.127591848373413, -0.09900356829166412, 0.18674494326114655, 0.24134700000286102, -0.28413236141204834, 0.05466807261109352, -0.15969586372375488, -0.6828168630599976, 0.39449629187583923, -0.6429381966590881, 0.050992175936698914, 0.05202042683959007, 0.281864732503891, -0.20270080864429474, 0.020184868946671486, -0.33532410860061646, -0.8247922658920288, 0.9252719879150391, -0.41833943128585815, 0.7435920238494873, -0.18482714891433716, 0.454738050699234, -0.08896953612565994, -0.5614352226257324, -0.32930347323417664, 0.14003121852874756, 0.08389879763126373, 0.19615909457206726, -0.07762516289949417, -0.12987485527992249, -0.23485447466373444, 0.7800452709197998, -0.545971691608429, 0.18462853133678436, -0.9438604712486267, -0.040737688541412354, 0.2569410502910614, 0.022949617356061935, 0.16921767592430115, 0.3646705150604248, -0.7384656667709351, -0.12233743816614151, -0.27920228242874146, 0.10308532416820526, 0.4902338683605194, 0.5059504508972168, -0.07028438150882721, 0.9634931087493896, -0.24257886409759521, 0.11497756838798523, -0.1849343329668045, -0.10354016721248627, 0.29422181844711304, -0.2039608657360077, -0.4463641047477722, 0.1594916433095932, 0.7395369410514832, 0.5257102251052856, 0.15904134511947632, -0.2751416563987732, -0.4055117070674896, 0.1835869550704956, 0.28061071038246155, -0.6781721711158752, -0.10128191113471985, 0.1788490116596222, -0.8709760904312134, -0.2991487979888916, 0.35505932569503784, -0.8460600972175598, -0.366290420293808, -0.402259886264801, 0.4866377115249634, -0.513442873954773, -0.5855260491371155, -0.14889661967754364, -0.4393400549888611, 0.19022615253925323, 0.24331210553646088, -0.34877198934555054, 0.5085306763648987, 0.2612965404987335, 0.945458710193634, -0.12495694309473038, -0.1044803336262703, -0.16727860271930695, -0.003219637321308255, 0.19198311865329742, 0.28228846192359924, -0.5161335468292236, -0.815911591053009, 0.24244444072246552, -0.2802174687385559, 0.1951490044593811, -0.4237496256828308, 0.5025953054428101, -0.6870327591896057, 0.471813827753067, -0.2536728084087372, -0.496364563703537, -0.010336484760046005, 0.06834030896425247, -0.7788296937942505, 0.7850644588470459, 0.41704341769218445, -0.6404075622558594, 0.17986585199832916, -1.417952537536621, 0.33178290724754333, 0.2273252159357071, -0.12663663923740387, 0.1325228363275528, 0.31741487979888916, -0.41061022877693176, -0.3402039110660553, -0.3953327238559723, -0.18424904346466064, -0.06509921699762344, -0.4581013321876526, 0.10224665701389313, 0.056851889938116074, 0.8422438502311707, 0.5110027194023132, -0.17391279339790344, 0.1349467933177948, -0.8242971897125244, 0.21009257435798645, 0.46301642060279846, -0.590678870677948, -0.45484042167663574, -0.15596187114715576, 0.2758147120475769, -0.11701472848653793, 0.6170167326927185, -0.7063763737678528, 0.23732858896255493, 0.1356734186410904, 0.26862484216690063, 0.5600228309631348, -0.285135418176651, 0.8561046719551086, 0.03808657452464104, 0.38921454548835754, -0.29952991008758545, 0.6343542337417603, -0.0212389063090086, -0.2120809555053711, -0.5830528736114502, 0.10207588970661163, 0.30270808935165405, 0.5098741054534912, -0.46494513750076294, -0.015424899756908417, 0.16496166586875916, -0.1681704819202423, -0.7069219350814819, 0.1763153225183487, 0.7058301568031311, 0.2816193401813507, 0.5149536728858948, -0.961932361125946, -0.495364248752594, -0.3981591761112213, -0.06022113561630249, -0.11418834328651428, 0.08144790679216385, 0.18573100864887238, 0.5099658966064453, 0.12450950592756271, 0.9537251591682434, -0.4743388891220093, -0.6508944034576416, 0.1349683254957199, -0.19302015006542206, -0.05560779571533203, 0.3256032168865204, 0.6800360083580017, -0.7099771499633789, -0.5182011723518372, 0.01318979449570179, -0.7276281714439392, 0.18152745068073273, 0.7216618061065674, -0.39582252502441406, 0.2099757045507431, 0.16805413365364075, 0.12397146970033646, 0.45682045817375183, 0.30634304881095886, -0.22815729677677155, 0.3254706859588623, -0.05074597895145416, 0.15246449410915375, -0.46303591132164, 0.4950830042362213, -0.06552069634199142, 0.4278988242149353, -0.3258545398712158, 0.2820574939250946, -0.13221611082553864, -0.2997868061065674, -0.47361502051353455, 0.43248963356018066, -0.37202686071395874, -0.07315095514059067, -0.2713775038719177, 0.6131207942962646, -0.1151137575507164, 0.14982357621192932, -0.045340344309806824, 0.8786600828170776, 0.27605587244033813, -0.20923255383968353, -0.004959349520504475, 0.4475516974925995, -0.32373058795928955, 1.2471415996551514, -0.4154585599899292, 0.0484912171959877, 0.11106511205434799, -0.17501065135002136, -0.1413497030735016, -0.1965157389640808, 0.7378695607185364, -0.45885926485061646, -0.02566680870950222, 0.054923996329307556, -0.09493525326251984, -0.3344179391860962, -0.38939327001571655, 0.31958553194999695, 0.5021889209747314, -0.4734012484550476, 0.2548634707927704, 0.3953635096549988, 0.014271143823862076, -0.7900316715240479, -0.27590203285217285, -0.17707808315753937, 0.10915134102106094, -0.27440327405929565, -0.13238179683685303, 0.020380543544888496, -0.5888652801513672, 0.6838236451148987, -0.2502959072589874, -0.30535396933555603, 0.01577611081302166, 0.17959485948085785, 0.39064571261405945, -0.7728506326675415, -0.22569485008716583, -0.43844151496887207, 0.07831494510173798, 0.01259402371942997, -0.6838147640228271, 0.058750495314598083, -0.05541030317544937, -0.5098996758460999, -0.5227044820785522, 0.37423092126846313, 0.452321857213974, -0.5262285470962524, 1.1391836404800415, 0.18232488632202148, -0.15858840942382812, -0.13529865443706512, -0.3308999538421631, -0.014517996460199356, -0.46061739325523376, -0.2200896292924881, 0.022234518080949783, -0.8311920166015625, 0.2763011157512665, -0.07218527793884277, 0.5323334336280823, 0.2969281077384949, 0.10078012198209763, -0.07441677153110504, 0.33444857597351074, 0.9714184999465942, 0.057802651077508926, 0.7148438096046448, -0.5389267802238464, 0.24234910309314728, -0.8685634136199951, -0.7788268327713013, -0.5314384698867798, -0.5837210416793823, -0.23553378880023956, -0.3186221420764923, 0.16475394368171692, 0.45139139890670776, -0.41577085852622986, 0.2268933355808258, -0.5435839891433716, 0.5651852488517761, 0.7404140830039978, -0.0945434719324112, 0.4530353248119354, -0.05461535230278969, -0.2532147765159607, 0.36556655168533325, -0.3741748034954071, -0.8343541026115417, 1.1188502311706543, 0.28531283140182495, 0.6428167819976807, 0.493918240070343, 0.7500176429748535, 0.23135614395141602, 0.37551212310791016, -0.5569583773612976, 0.37452074885368347, 0.07370585948228836, -0.7335880398750305, -0.4945567846298218, -0.3885047435760498, -0.8328585028648376, 0.08741945028305054, -0.3420105278491974, -0.7770019769668579, 0.21411193907260895, -0.10132061690092087, -0.18894627690315247, 0.7495961785316467, -0.5066672563552856, 0.6296475529670715, -0.14011117815971375, -0.7558759450912476, -0.20915444195270538, -0.5317077040672302, 0.16918416321277618, -0.0878683552145958, 0.42379236221313477, 0.3733154833316803, -0.001053200219757855, 0.7984952330589294, -0.2767452299594879, 0.6015375852584839, -0.5111556053161621, -0.1556980311870575, 0.8050422072410583, -0.2597351372241974, -0.14529530704021454, -0.5653358697891235, -0.3599229156970978, 0.19530540704727173, -0.3392321467399597, -0.4257657825946808, -0.1716967523097992, 0.8928213119506836, -1.1033672094345093, -0.17081356048583984, -0.3840413987636566, -0.2592175304889679, 0.10698775947093964, 0.3689556419849396, -0.03180421516299248, 0.37616053223609924, -0.8509534001350403, 0.17576465010643005, 0.6188304424285889, -0.19448216259479523, 0.3331344723701477, 0.8259364366531372, -0.40238597989082336, -0.6472924947738647, 0.9090086817741394, 0.33228418231010437, 0.18018554151058197, 0.24517600238323212, 0.220488503575325, -0.3131268322467804, -0.6910167336463928, -0.3920128047466278, 0.2259245216846466, -0.7714317440986633, 0.12267456948757172, -0.03279692679643631, -0.27988260984420776, -0.40842947363853455, -0.26958993077278137, -0.3041485846042633, -0.11364106088876724, -0.1328888237476349, 0.08451340347528458, 0.03591155260801315, 1.3205808401107788, -0.18385662138462067, 0.5010260343551636, -0.7621041536331177, 0.04613548517227173, -0.03442457690834999, 0.9980903267860413, 0.11719797551631927, -0.055771008133888245, -0.5753172039985657, -0.09771137684583664, -0.7266709208488464, -0.651314377784729, -0.32613351941108704, -0.04672954976558685, 0.674220085144043, 0.6791216135025024, 0.3270079493522644, 0.23272866010665894, -0.23530949652194977, 0.6680914759635925, 0.6089203953742981, -0.6597557663917542, 0.5693392753601074, -0.17631809413433075, -0.1929222047328949, 0.7876169085502625, 0.46517762541770935, -0.21133029460906982, -0.11262376606464386, -0.5052970051765442, -0.8619494438171387, 1.0230754613876343, 0.36691176891326904, -0.30062100291252136, 0.49026307463645935, 0.08235783129930496, 0.33587098121643066, 0.3192799687385559, -0.5621933937072754, -0.49710947275161743, -0.1648467779159546, 0.13516461849212646, -0.19584521651268005, -0.048312265425920486, -0.29995831847190857, 0.4639829397201538, 0.7289364337921143, 0.35399481654167175, -0.08287472277879715, 0.07513954490423203, -0.025708049535751343, -0.42714202404022217, 0.5629086494445801, 0.21246729791164398, 0.7914998531341553, -0.4801773726940155, -0.34690284729003906, 0.0065185679122805595, -0.4705735445022583, 0.022202882915735245, -0.35078898072242737, -0.10518176853656769, -0.1868606060743332, -0.0181577131152153, 0.7548404335975647, 0.13487575948238373, -0.6057778596878052, 0.35960298776626587, -0.028085043653845787, -0.26444122195243835, -0.3289647400379181, 0.1904529184103012, -0.2218429297208786, 0.578389585018158, 0.23728500306606293, 0.08982137590646744, 0.16789451241493225, -0.519920289516449, -0.16478291153907776, 0.15040259063243866, -0.5783467888832092, -0.30386868119239807, 0.5833001732826233, 0.7410475611686707, -0.5683501362800598, 0.6236894726753235, 0.2526227533817291, 0.05408104136586189, 0.2729983329772949, 0.3955856263637543, 0.6965268850326538, -0.3772314786911011, 0.06685811281204224, 0.37630537152290344, 0.07786961644887924, -0.1491696983575821, 0.6883265972137451, -0.198004350066185, -0.14565999805927277, 0.06438175588846207, -0.6483721137046814, -0.7161567211151123, 0.15254178643226624, -1.0960156917572021, 0.5938452482223511, -0.3710104823112488, -0.2614451050758362, -0.26361995935440063, -0.2560802400112152, -0.465702623128891, 0.31940168142318726, 0.10775135457515717, 1.1218504905700684, -0.6689392924308777, 0.45184075832366943, 1.1024513244628906, -0.652182936668396, -0.3692116439342499, -0.18169264495372772, 0.10197421908378601, -0.3876185417175293, 0.5586123466491699, -0.02371426299214363, -0.4295726716518402, 0.007565039675682783, 0.0930325835943222, -0.6701598763465881, 1.0938481092453003, 0.18073619902133942, -0.8268530964851379, -0.3353990316390991, 0.06513945758342743, 0.32199862599372864, 0.10034958273172379, 0.3057197332382202, 0.02126132883131504, 0.4972288906574249, 0.05484131723642349, -1.113930106163025, -0.3708925247192383, 0.009611654095351696, -0.3575018346309662, 0.844188392162323, -0.5429975986480713, 0.7652313113212585, -0.36331939697265625, -0.3558898866176605, 0.2565714716911316, 0.5828560590744019, -0.21771815419197083, 0.6216936707496643, 0.3316236138343811, 0.6775237917900085, 0.5370296239852905, 0.22152651846408844, 0.5840689539909363, -0.49368974566459656, 0.45557674765586853, 1.0745919942855835, -0.12301696091890335, 1.0324742794036865, 0.7108973860740662, -0.4696412682533264, 0.43971896171569824, 0.03937859088182449, 0.10302234441041946, 0.47568798065185547, 0.20678915083408356, -0.6191184520721436, 0.3974425196647644, -0.41421830654144287, -0.7645992040634155, 0.31540682911872864, 0.13297370076179504, -0.4534884989261627, -0.4435748755931854, 0.02957885153591633, -0.2356998175382614, 0.2562522292137146, -0.5767637491226196, 0.6122291684150696, 0.1758221983909607, -0.36489760875701904, -0.2056472897529602, 0.1684028059244156, 0.3548721969127655, -0.5631758570671082, 0.20050321519374847, 0.174280047416687, 0.5190246105194092, -0.4015445113182068, -0.7586623430252075, 0.2909194827079773, 0.3354373276233673, -0.1115468367934227, -0.13112902641296387, 0.5650529265403748, -0.10428524762392044, 0.15854652225971222, 0.585018515586853, 0.8739374279975891, 0.12476947158575058, 0.2883002460002899, -0.11109881848096848, 0.30441558361053467, -0.3603336215019226, 0.12274648249149323, 0.4723818302154541, 0.3945177495479584, -0.11641223728656769, 0.23443932831287384, 0.5174199342727661, 0.06209353730082512, -0.16143798828125, 0.12373757362365723, 0.7735478281974792, -0.44162067770957947, -0.24165765941143036, -0.5414559841156006, 0.45165371894836426, -0.054849639534950256, -0.3098275661468506, 0.733698308467865, 0.8916163444519043, 1.2994669675827026, -0.05682489648461342, 1.0260086059570312, -0.4810577929019928, 0.26843875646591187, -0.059595804661512375, 0.6117488741874695, -0.6049104332923889, -0.03346942737698555, -0.06673102080821991, -1.0830152034759521, 0.08907856792211533, 0.4673032760620117, -0.06310747563838959, -0.16861601173877716, 0.5738238096237183, 0.16849100589752197, -0.21256123483181, 0.47191548347473145, 0.060916632413864136, -0.2692565321922302, -0.022334842011332512, 0.2473156601190567, 1.141875982284546, -0.3800075650215149, 0.5753949880599976, -0.29113754630088806, -0.5044564604759216, -0.461541086435318, -0.6843754649162292, -0.9427270889282227, -0.40139028429985046, -0.27111101150512695, -0.1398448795080185, 0.20290544629096985, 0.9320331811904907, 0.13703005015850067, -0.9736817479133606, -0.6798540353775024, 0.12377074360847473, -0.1633923202753067, 0.05778323486447334, -0.26256048679351807, -0.20460781455039978, 0.027817171066999435, -0.6283974051475525, 0.3854166865348816, 0.10471446812152863, -0.16578930616378784, -0.6481115221977234, -0.2503679096698761, 0.05562954023480415, 0.02393370494246483, 0.48853743076324463, 0.6019137501716614, -0.4544849395751953, -0.10160281509160995, 0.2793503701686859, -0.08476176112890244, 0.01926255412399769, 1.012378215789795, -0.6319235563278198, 0.5650486350059509, 0.49080100655555725, 0.32042738795280457, -0.23835907876491547, -0.31844639778137207, 0.29537203907966614, -0.13093218207359314, -0.28565514087677, 0.06132674217224121, 0.2447139322757721, 0.017963919788599014, -0.02623797580599785, 0.6628655195236206, 0.04739836975932121, -0.6215501427650452, -0.919655442237854, -0.022556990385055542, -0.8403117656707764, -0.10048599541187286, 0.4051196575164795, -0.3924131393432617, 0.04693160206079483, -0.0846855416893959, -0.39661285281181335, 0.49620798230171204, -0.791854202747345, 0.6553866863250732, 0.350126713514328, -0.30889996886253357, 0.33098599314689636, -0.34887897968292236, -0.20284388959407806, -0.3365909159183502, -0.47648534178733826, -0.4926319718360901, 0.4292146861553192, 0.28385084867477417, 0.5760970115661621, 0.5073458552360535, -0.1322348266839981, 0.11384867876768112, 0.00978376530110836, 0.4961777329444885, -0.17646846175193787, -0.4597228467464447, 0.0018928070785477757, 0.7736008763313293, 0.13549798727035522, -0.6108270287513733 ]
http://arxiv.org/abs/2405.16434v2
http://arxiv.org/pdf/2405.16434v2
The Importance of Directional Feedback for LLM-based Optimizers
2024-05-26T05:22:35
2024-06-20T16:10:50
Allen Nie, Ching-An Cheng, Andrey Kolobov, Adith Swaminathan
cs.AI
cs.AI, cs.CL, cs.NE
We study the potential of using large language models (LLMs) as an interactive optimizer for solving maximization problems in a text space using natural language and numerical feedback. Inspired by the classical optimization literature, we classify the natural language feedback into directional and non-directional, where the former is a generalization of the first-order feedback to the natural language space. We find that LLMs are especially capable of optimization when they are provided with {directional feedback}. Based on this insight, we design a new LLM-based optimizer that synthesizes directional feedback from the historical optimization trace to achieve reliable improvement over iterations. Empirically, we show our LLM-based optimizer is more stable and efficient in solving optimization problems, from maximizing mathematical functions to optimizing prompts for writing poems, compared with existing techniques.
[ -0.2549598515033722, -0.905310869216919, 0.7925488948822021, 0.6265436410903931, -0.25168439745903015, -0.03268210589885712, -0.5576381683349609, -0.181717649102211, 0.33734649419784546, 0.4935568571090698, -0.8571677803993225, -0.5382430553436279, -0.4122275114059448, 0.3652232587337494, -0.3804647922515869, 0.8996902704238892, -0.06268175691366196, 0.4591209590435028, -0.42769330739974976, -0.048989687114953995, -0.27038630843162537, -0.5933102965354919, -1.045129656791687, -0.4071248173713684, 0.9339436292648315, 0.15574072301387787, 0.5919076800346375, 0.6783908009529114, 0.6386864185333252, 0.3784572184085846, -0.16568948328495026, 0.18553322553634644, -0.7711238265037537, 0.32998788356781006, 0.0887645035982132, -0.5210118889808655, -0.14243102073669434, -0.0670386403799057, 0.8804118633270264, 0.8301941156387329, -0.19613710045814514, -0.1692008674144745, -0.07926488667726517, 1.0944468975067139, -0.4288886487483978, -0.00009461095760343596, -0.31070074439048767, 0.23730994760990143, 0.09432961046695709, -0.7653011679649353, -0.40324825048446655, -0.9868900179862976, 0.24319636821746826, -0.592191755771637, -0.3524729907512665, -0.0482473187148571, 0.46610337495803833, 0.5486108660697937, -0.24076619744300842, -0.5788883566856384, -1.058574914932251, 1.1539665460586548, -0.7231871485710144, 0.4569392800331116, 0.041860051453113556, 0.200728178024292, -0.43816834688186646, -0.29407748579978943, -0.27944624423980713, -0.5881577134132385, 0.2774946689605713, 0.05999649688601494, -0.08420423418283463, 0.1350284069776535, 0.10089153051376343, -0.1216181218624115, -0.12938682734966278, 0.3391661047935486, -0.013559282757341862, 0.011376149952411652, 0.7633864879608154, 0.1970069706439972, 0.44471806287765503, 0.09871329367160797, -0.15319156646728516, 0.049846477806568146, -0.7941650748252869, 0.028068436309695244, 0.4252566993236542, 0.20513422787189484, 0.05767611414194107, 0.6729280948638916, -0.12776459753513336, 0.8190398812294006, 0.09193897247314453, -0.5941086411476135, -0.14508649706840515, -0.4152016043663025, 0.30551856756210327, -0.15486806631088257, 0.5907261371612549, 0.6181957125663757, 0.21269072592258453, -0.29975295066833496, -0.3660598397254944, -0.19358406960964203, 0.2041148990392685, -0.7417511343955994, 0.009310588240623474, 0.03961324319243431, -0.45155224204063416, -0.4529550075531006, -0.13974860310554504, -0.7687383890151978, -0.4481848478317261, -0.8509806990623474, 0.3305876553058624, -0.23700715601444244, 0.05551832914352417, 0.03891778364777565, -0.08662476390600204, 0.4452705383300781, 0.5224099159240723, -0.908583402633667, 0.10051718354225159, 0.8314626216888428, 0.9393178820610046, -0.051103245466947556, -0.07559658586978912, -0.7568027973175049, 0.00983938854187727, -0.4850788414478302, 0.7546102404594421, -0.5209992527961731, -0.5083017349243164, 0.2580559253692627, -0.35601210594177246, 0.05534221604466438, -0.506279706954956, 0.6413989663124084, -0.4773443937301636, 0.19717799127101898, -0.40328657627105713, -0.5303352475166321, -0.1442021131515503, 0.14340923726558685, -0.6010741591453552, 0.9477060437202454, -0.26118943095207214, -0.6478593349456787, -0.04387776553630829, -0.6583295464515686, -0.31960663199424744, -0.03915781527757645, -0.1448500156402588, -0.39669138193130493, 0.3805694580078125, 0.06566661596298218, 0.08260861784219742, -0.3997592628002167, 0.048611514270305634, -0.2631834149360657, -0.2616855502128601, 0.3432411551475525, -0.2603621184825897, 0.5377570390701294, -0.04439718276262283, -0.409762978553772, 0.41097527742385864, -0.8467727899551392, 0.10445871949195862, 0.15034012496471405, -0.9671674966812134, -0.2094389796257019, 0.4628513753414154, -0.06632467359304428, -0.3562919497489929, 0.5282718539237976, -0.4638436436653137, 0.19513024389743805, -0.446197509765625, 0.38369226455688477, 0.8268652558326721, -0.08046381175518036, 0.6058767437934875, -0.24447083473205566, 0.8934761881828308, -0.7472285628318787, -0.050512079149484634, 0.1363213211297989, -0.21134896576404572, -0.803943395614624, -0.222885400056839, 0.15161728858947754, 0.47435063123703003, -0.5494699478149414, 0.374325156211853, -0.09356969594955444, -0.4019886255264282, -0.12542878091335297, 0.49551862478256226, 0.27488964796066284, 0.33521372079849243, -0.1936047375202179, 0.020913902670145035, -0.5883578658103943, -0.660642683506012, -0.2814966142177582, -0.15695102512836456, 0.18435198068618774, 0.2057347595691681, 0.043347712606191635, -0.3813673257827759, 0.8963714838027954, -0.502784252166748, -0.01638871431350708, -0.4715684950351715, -0.01852494291961193, 0.2519961893558502, 0.0038406646344810724, 0.5715332627296448, -0.5231446027755737, -0.6121786832809448, 0.04036390036344528, -0.6608995199203491, -0.5626952648162842, -0.19926518201828003, -0.40686386823654175, 0.40943461656570435, 0.6818114519119263, -0.6700478196144104, -0.050895873457193375, 0.6588688492774963, -0.05020402744412422, 0.5229088664054871, -0.2422018051147461, -0.49286046624183655, -0.5421367287635803, 0.003802866442129016, 0.23334351181983948, -0.09515707194805145, -0.6205412745475769, 0.07384073734283447, -0.11398880183696747, 0.06707834452390671, -0.17487896978855133, 0.4349175691604614, -0.5624141097068787, 0.3256065845489502, -0.44912293553352356, 0.3013652563095093, -0.1875821202993393, 0.5664616227149963, 0.1007382795214653, 0.43988534808158875, 0.40368038415908813, -0.42614835500717163, 0.44322720170021057, 0.042334575206041336, -0.05499102175235748, 0.547011137008667, -0.7464703321456909, 0.41167598962783813, -0.5674848556518555, 0.04392741993069649, -0.8657342791557312, 0.00026790384436026216, 0.02922036126255989, -0.2889406085014343, 0.4300677180290222, 0.1055108979344368, -0.4109775424003601, -0.3652803897857666, -0.8630375862121582, 0.08666636794805527, 0.32669660449028015, -0.5729674696922302, 0.5913171768188477, 0.2619500160217285, -0.20107778906822205, -0.35873234272003174, -0.30072057247161865, -0.05753359943628311, -0.10158614069223404, -0.6923475861549377, -0.08271549642086029, -0.26331591606140137, -0.42405185103416443, -0.2297176867723465, 0.02894529141485691, 0.19927075505256653, -0.018015891313552856, 0.10917509347200394, 0.3354454040527344, -0.04767817631363869, -0.04412481188774109, -0.043532151728868484, -0.24845823645591736, 0.31773966550827026, -0.40944287180900574, 0.6088152527809143, -0.11018487066030502, -0.32180407643318176, -0.4249297082424164, 0.44138652086257935, 0.601737380027771, -0.057535916566848755, 0.6650686264038086, 0.3498963415622711, -0.15010987222194672, -0.343962699174881, -0.57724928855896, -0.16784001886844635, -0.5315091013908386, 0.602821946144104, -0.1307816058397293, -0.8441916704177856, 0.1533648520708084, -0.026852020993828773, 0.17436189949512482, 0.11013496667146683, 0.7638734579086304, -0.01542060449719429, 1.2975952625274658, 0.8670971393585205, -0.20242057740688324, 0.5534275770187378, -0.22840550541877747, 0.39675256609916687, -0.695423424243927, -0.3216227889060974, -0.7909945249557495, -0.4325599670410156, -0.5575323700904846, -0.22798892855644226, 0.35947185754776, 0.14659936726093292, -0.1485842764377594, 0.06228535249829292, -0.5914083123207092, 0.5963603258132935, 0.8821085691452026, -0.05524351820349693, 0.23677299916744232, -0.017772717401385307, -0.2720504403114319, -0.3336316645145416, -0.7545374631881714, -0.48029592633247375, 1.0380455255508423, 0.47980043292045593, 1.059486746788025, 0.10315151512622833, 0.8616018295288086, -0.30302324891090393, 0.33550092577934265, -1.1545360088348389, 0.7072017788887024, 0.033421434462070465, -0.14577199518680573, -0.2713678479194641, -0.5595648884773254, -0.8585514426231384, 0.08350183069705963, -0.10414397716522217, -0.4230157136917114, -0.2831062078475952, -0.05183625593781471, -0.2548083961009979, 0.19460536539554596, -0.535847008228302, 0.5580474734306335, -0.7023617625236511, -0.46802452206611633, -0.10457693040370941, -0.38603270053863525, -0.21922044456005096, -0.10373729467391968, 0.22253787517547607, 0.14457640051841736, -0.28024378418922424, 0.6698130965232849, -0.8056506514549255, 0.9418025016784668, -0.25957122445106506, -0.33402326703071594, 0.2924230694770813, 0.06287628412246704, 0.5423787832260132, -0.11372185498476028, -0.024845240637660027, -0.16889534890651703, -0.160477876663208, -0.05986129865050316, -0.8230202198028564, 1.003954291343689, -0.9546831250190735, -0.8210970163345337, -0.20385059714317322, -0.5175140500068665, -0.07827949523925781, 0.2995991110801697, 0.06685082614421844, 0.6088912487030029, 0.015778305009007454, 0.2730860412120819, 0.5064182877540588, -0.3487139046192169, 0.6494073271751404, 0.5206124186515808, -0.4501367211341858, -0.6828859448432922, 0.813327968120575, -0.027833295986056328, 0.04327377304434776, 0.8434084057807922, 0.4661896526813507, -0.5074589252471924, -0.8732820749282837, -0.23397351801395416, 0.5783339738845825, -0.7614807486534119, -0.07907649874687195, -0.321743369102478, -0.18288175761699677, 0.20702315866947174, -0.5171265006065369, -0.18623271584510803, -0.4107666015625, -0.3208581805229187, -0.10583069920539856, 0.26743805408477783, 1.006942629814148, -0.16263031959533691, 0.04509298875927925, -0.6536373496055603, -0.023119309917092323, 0.14901144802570343, 0.3749883472919464, 0.0346367284655571, -0.06959063559770584, -0.22945168614387512, -0.09706087410449982, -0.41861453652381897, -0.9660274982452393, 0.5183206796646118, -0.03940253332257271, 0.5020062327384949, 0.3804921507835388, -0.3344159424304962, 0.33794236183166504, -0.6354334950447083, 0.46572819352149963, 0.3733401298522949, -0.7454365491867065, 0.6165201663970947, -0.5888648629188538, 0.5259450674057007, 0.5201405882835388, 0.37674838304519653, -0.5323702692985535, -0.3911086618900299, 0.20036670565605164, -0.7204686999320984, 0.6025353074073792, 0.10551987588405609, 0.2618112564086914, -0.13034123182296753, 0.6533283591270447, 0.019536178559064865, 0.39012113213539124, -0.9419411420822144, -0.20433229207992554, 0.1646772176027298, -0.3951795995235443, 0.13609933853149414, -0.4904521405696869, -0.0837310329079628, -0.42277440428733826, 0.6442092061042786, -0.19713498651981354, 0.2874126136302948, 0.23687660694122314, 0.19690734148025513, -0.5296087265014648, -0.033627599477767944, 0.692847728729248, 0.7606593370437622, -0.12730054557323456, -0.021069061011075974, 0.016320504248142242, -0.4106878638267517, 0.050315409898757935, -0.23749978840351105, -0.6528857350349426, 0.1828836351633072, 0.33238592743873596, 0.7199931144714355, 0.21881239116191864, -0.6778329610824585, 0.27994516491889954, 0.1010347455739975, -0.19293084740638733, -0.37633198499679565, -0.06020030006766319, 0.32384684681892395, 0.28206852078437805, 0.31649982929229736, -0.014257158152759075, 0.06251218914985657, -0.2508721649646759, -0.2972469925880432, 1.0466327667236328, -0.29902002215385437, -0.24339118599891663, 0.7768638134002686, 0.4632461965084076, -0.7715758681297302, 0.19726158678531647, 0.10161391645669937, -0.7752021551132202, 0.5559644103050232, 0.4582159221172333, 1.0910627841949463, 0.1290075033903122, 0.2451421320438385, 0.33803290128707886, 0.2559089958667755, 0.10138025879859924, 0.26902449131011963, -0.015183540061116219, -0.36885836720466614, -0.8097116947174072, -0.9695107340812683, -0.6782711744308472, -0.25048214197158813, -0.27768704295158386, 0.5228018760681152, -0.9570501446723938, -0.3380001485347748, -0.0873388946056366, 0.19294816255569458, -0.33200305700302124, -0.21069572865962982, 0.18609265983104706, 0.7193735241889954, -0.04603538662195206, 0.5082436203956604, 0.9568886160850525, -0.15226960182189941, -0.6893773078918457, -0.19736699759960175, 0.13017792999744415, -0.7168657183647156, 0.94683837890625, 0.3322916030883789, -0.6621999740600586, -0.07520875334739685, -0.5806552767753601, -0.9687206149101257, 0.9273454546928406, 0.4573233723640442, -0.9050112962722778, 0.03208618983626366, 0.2504849433898926, 0.8586430549621582, -0.2939862012863159, 0.25761258602142334, 0.08323761075735092, 0.5003060102462769, 0.2738817036151886, -0.8363474011421204, -0.11093111336231232, -0.22107145190238953, 0.6037851572036743, 0.6547737717628479, -0.9461690187454224, 0.2537625730037689, -0.2397579699754715, 0.03069179691374302, 0.38029468059539795, 0.5132226943969727, 0.16498470306396484, 0.06492748111486435, 0.15532223880290985, 0.686054527759552, 0.5823156237602234, -0.030669890344142914, 1.3824385404586792, -0.4217667579650879, 0.23832732439041138, 0.6535765528678894, -0.12728993594646454, 0.934477686882019, 0.7927029132843018, -0.2283926159143448, 0.6396047472953796, 0.3378410041332245, 0.20654617249965668, 0.727861225605011, 0.4566294848918915, -0.44732722640037537, -0.015139640308916569, 0.0398196242749691, -0.024290388450026512, 0.02980959601700306, -0.009181748144328594, -0.12888309359550476, -0.09999101608991623, -0.322388619184494, 0.29965874552726746, 0.2124262899160385, -0.2314976155757904, 0.7648109197616577, 0.2182384878396988, -0.7700712084770203, 0.6220632791519165, 0.4020310640335083, 0.6826603412628174, -0.6823862791061401, 0.21182560920715332, -0.3566364645957947, 0.431894987821579, -0.2260499745607376, -0.38483667373657227, 0.3328491747379303, -0.1670154482126236, -0.12314050644636154, -0.2808152139186859, 0.7229251265525818, -0.4147297143936157, -0.6328859925270081, 0.4952927827835083, 0.326978474855423, -0.2986604571342468, 0.17572997510433197, -0.48686501383781433, 0.3743351995944977, 0.2391500324010849, -0.34314197301864624, 0.14024268090724945, 0.3007707893848419, 0.20157653093338013, 0.9677556753158569, 0.8418662548065186, 0.22577756643295288, 0.2720150947570801, 0.1562654674053192, 0.7074277997016907, -0.844615638256073, -0.4073962867259979, -1.150985598564148, 0.10920818895101547, 0.05305781587958336, -0.12778176367282867, 0.8829947710037231, 0.2550960183143616, 0.3948970139026642, 0.006167306564748287, 0.7657514810562134, 0.3743874430656433, 0.44994962215423584, -0.7201862931251526, 0.4506075084209442, -0.46657541394233704, 0.4672738313674927, -0.13314270973205566, -1.4455193281173706, -0.4859990179538727, 0.6943084001541138, -0.4934307932853699, 0.1313450038433075, 0.7393994331359863, 0.7721078991889954, 0.39313653111457825, 0.2170582264661789, -0.09699223190546036, 0.28550153970718384, 0.28453129529953003, 0.542643129825592, 0.9910317063331604, 0.0904424861073494, 0.5268966555595398, -0.37258705496788025, -0.4068944752216339, -0.21022312343120575, -0.9966058135032654, -1.1721665859222412, -0.2044614851474762, -0.5565714836120605, -0.16614143550395966, 0.008597929030656815, 0.9594541788101196, 0.4448325037956238, -0.5639777779579163, -0.5514497756958008, -0.33628880977630615, 0.16885024309158325, 0.3627265393733978, -0.28900834918022156, 0.17920203506946564, -0.5832581520080566, -0.8252355456352234, 0.336618572473526, 0.8121075630187988, -0.013307665474712849, -0.7321348190307617, -0.4696343243122101, 0.005889417137950659, 0.31909382343292236, 0.8063268661499023, 0.2302836924791336, -0.5891854166984558, -0.09542975574731827, 0.4070380628108978, -0.09133170545101166, -0.00041091686580330133, 0.7741185426712036, -0.3731040060520172, 0.43205803632736206, 0.5019412636756897, 0.9008930921554565, 0.40039297938346863, -0.09334656596183777, 0.8838428854942322, -0.40423324704170227, 0.03415030241012573, 0.13474364578723907, 0.23639410734176636, 0.5497912168502808, -0.23839059472084045, 0.465920090675354, 0.23773221671581268, -0.6727083325386047, -0.5243510603904724, 0.11749371141195297, -0.8689578175544739, 0.006401381455361843, 1.5497610569000244, 0.3642936944961548, -0.4302613139152527, 0.3576453626155853, -0.6048246622085571, -0.24733369052410126, -0.4680681824684143, 0.6024572253227234, 0.8517577052116394, -0.41823065280914307, -0.16836972534656525, -0.39553186297416687, 0.4325014352798462, 0.9323700666427612, -0.6716189980506897, -0.42083075642585754, 0.7773210406303406, 0.09417989104986191, 0.22150392830371857, 0.6269605755805969, -0.17163261771202087, -0.08256637305021286, -0.2942262291908264, -0.32260647416114807, 0.2584182024002075, -0.2128625065088272, -0.4249269664287567, 0.09562458842992783, 0.6052960753440857, 0.012669765390455723 ]
http://arxiv.org/abs/2405.16433v3
http://arxiv.org/pdf/2405.16433v3
CPsyCoun: A Report-based Multi-turn Dialogue Reconstruction and Evaluation Framework for Chinese Psychological Counseling
2024-05-26T05:18:00
2024-06-10T11:43:48
Chenhao Zhang, Renhao Li, Minghuan Tan, Min Yang, Jingwei Zhu, Di Yang, Jiahao Zhao, Guancheng Ye, Chengming Li, Xiping Hu
cs.CL
cs.CL, cs.AI, cs.CY
Using large language models (LLMs) to assist psychological counseling is a significant but challenging task at present. Attempts have been made on improving empathetic conversations or acting as effective assistants in the treatment with LLMs. However, the existing datasets lack consulting knowledge, resulting in LLMs lacking professional consulting competence. Moreover, how to automatically evaluate multi-turn dialogues within the counseling process remains an understudied area. To bridge the gap, we propose CPsyCoun, a report-based multi-turn dialogue reconstruction and evaluation framework for Chinese psychological counseling. To fully exploit psychological counseling reports, a two-phase approach is devised to construct high-quality dialogues while a comprehensive evaluation benchmark is developed for the effective automatic evaluation of multi-turn psychological consultations. Competitive experimental results demonstrate the effectiveness of our proposed framework in psychological counseling. We open-source the datasets and model for future research at https://github.com/CAS-SIAT-XinHai/CPsyCoun
[ -0.18446731567382812, -0.2683875560760498, 0.5025692582130432, 0.8544591069221497, -0.3414401710033417, 0.12528157234191895, -0.7312198281288147, -0.30303385853767395, 0.2554525136947632, 0.3868376612663269, -0.755886971950531, -0.3627936840057373, -0.5151800513267517, 0.19976338744163513, -0.06265825778245926, 0.8367652297019958, 0.19262735545635223, 0.8442707061767578, 0.01251168455928564, 0.21810053288936615, -0.3804287910461426, -0.34750962257385254, -0.9447184801101685, -0.2548670470714569, 0.13093183934688568, 0.38036206364631653, 0.43041399121284485, 0.09555120766162872, 0.1585533767938614, 0.2602422535419464, 0.013415265828371048, 0.377439945936203, -0.45385074615478516, -0.06584477424621582, 0.12673112750053406, -0.3630596399307251, -0.757428765296936, 0.10187457501888275, 0.3986302614212036, 0.740129292011261, -0.4746896028518677, -0.02019941434264183, 0.5315401554107666, 0.20078088343143463, -0.603384792804718, 0.2964078485965729, -0.5332004427909851, 0.10671212524175644, 0.31113556027412415, -0.11359785497188568, -0.5462190508842468, -0.38102272152900696, 0.33772310614585876, -0.6734757423400879, 0.4404008984565735, -0.028053758665919304, 0.23506712913513184, -0.2219424843788147, -0.508111834526062, -0.45322760939598083, -0.5919603705406189, 0.9102360010147095, -0.9621633291244507, 0.2405734658241272, 0.48676759004592896, 0.31442007422447205, -0.35542628169059753, -0.6060715317726135, -0.22187134623527527, -0.3343116343021393, -0.24651207029819489, 0.47252339124679565, 0.18204042315483093, 0.09604174643754959, 0.07617317885160446, 0.37416377663612366, -0.22126156091690063, -0.15955466032028198, -0.12190324068069458, -0.4879085123538971, 0.8176717758178711, 0.6254822015762329, 0.30029571056365967, -0.1790405958890915, -0.17179839313030243, 0.2017551213502884, -0.32744300365448, 0.12834253907203674, 0.2737739086151123, 0.5053925514221191, -0.1745680719614029, 0.16669665277004242, 0.0648135393857956, 0.5440885424613953, 0.33823198080062866, -0.52323979139328, -0.3437372148036957, -0.5544112920761108, -0.25123125314712524, 0.2952950596809387, 1.0737930536270142, 0.6964737176895142, 0.07391190528869629, -0.11377908289432526, 0.21704263985157013, -0.14628209173679352, 0.3727467954158783, -0.6999401450157166, -0.5191750526428223, 0.4507240056991577, -0.5355043411254883, -0.17003145813941956, -0.019776180386543274, -1.1249085664749146, -0.5888446569442749, -0.5387274622917175, -0.30401715636253357, -0.5300778746604919, -0.5517818927764893, 0.014442311599850655, 0.20447057485580444, 0.37326961755752563, 0.6488881707191467, -0.6360927224159241, 0.4635400176048279, 0.880872368812561, 0.9702630639076233, -0.33802443742752075, -0.47999462485313416, -0.46811211109161377, -0.0674077570438385, -0.45361748337745667, 0.7265028357505798, -0.35275977849960327, -0.5361079573631287, 0.3138224482536316, 0.41116663813591003, -0.05690578743815422, -0.31187769770622253, 0.7122642993927002, 0.21116431057453156, 0.2694648802280426, -0.4940280020236969, -0.1606983244419098, 0.3451465368270874, 0.5358729958534241, -0.5148301124572754, 0.6533840298652649, 0.012404982931911945, -0.7238277792930603, 0.22021996974945068, -0.2548266351222992, -0.3119228184223175, 0.04933178424835205, -0.15495088696479797, -0.3326259255409241, -0.15921567380428314, 0.3439616858959198, 0.2063901722431183, -0.6296699643135071, 0.1906394064426422, -0.5119168162345886, -0.5145185589790344, 0.27714866399765015, -0.26118528842926025, 1.0860151052474976, 0.07545065134763718, 0.029039764776825905, 0.20915386080741882, -0.6946095824241638, 0.09440495073795319, -0.043553099036216736, -0.21447333693504333, -0.2071589082479477, -0.21875163912773132, 0.13833966851234436, 0.17627204954624176, 0.06698117405176163, -0.9287163615226746, 0.2633036971092224, -0.4326081871986389, 0.36881107091903687, 0.49956434965133667, -0.056486863642930984, 0.25412246584892273, -0.19244390726089478, 0.7061769962310791, -0.033121854066848755, 0.36694633960723877, -0.3798002302646637, -0.18580415844917297, -0.843522310256958, -0.5091679096221924, -0.2576504051685333, 0.4066440165042877, -0.5888617634773254, 0.3827363848686218, 0.29915767908096313, -0.7407830357551575, -0.646558403968811, 0.0507315918803215, 0.4212847948074341, 0.3863368630409241, 0.279967337846756, -0.15030494332313538, -0.8210843801498413, -0.6544404029846191, -0.36927828192710876, 0.08830700814723969, 0.02225419506430626, 0.1747927963733673, 0.03383062034845352, 0.26588162779808044, 0.6274471282958984, -0.4829760789871216, -0.4669080674648285, -0.5478494167327881, 0.20299838483333588, 0.18956591188907623, 0.3419972360134125, 0.3797065317630768, -0.2689448893070221, -0.6540419459342957, -0.3862912058830261, -0.49891361594200134, -0.15061402320861816, -0.4190809428691864, -0.282819002866745, 0.187123104929924, 0.09109141677618027, -0.26598697900772095, 0.324684202671051, 0.5831758975982666, -0.24003759026527405, 1.1053054332733154, -0.11547791957855225, 0.3043777048587799, -0.9794726967811584, -0.014079367741942406, 0.0470980629324913, -0.17837919294834137, -0.5971661806106567, -0.3146456480026245, 0.07949022948741913, -0.24713265895843506, -0.47201693058013916, 0.02457675337791443, -0.580371081829071, 0.0018015856621786952, -0.30726829171180725, 0.41964951157569885, -0.12062016874551773, 0.862683117389679, 0.07911667227745056, 0.633027195930481, 0.4205142557621002, -0.4684024453163147, 0.793185830116272, 0.5913281440734863, -0.33441656827926636, 0.9450061321258545, -0.49387913942337036, 0.2475098967552185, 0.26340124011039734, 0.5909016728401184, -1.0209540128707886, -0.045689474791288376, 0.43314895033836365, -0.08194386959075928, 0.12527035176753998, -0.2834208011627197, -0.2298489511013031, -0.274564266204834, -0.548774003982544, 0.49692684412002563, -0.144627645611763, -0.5457502007484436, 0.37029320001602173, 0.0968809649348259, -0.4755958914756775, -0.6033132076263428, -0.451237291097641, 0.2713155448436737, 0.028351427987217903, -0.43917110562324524, 0.3340252637863159, -0.22287312150001526, 0.1078743264079094, -0.3696322441101074, 0.00434528011828661, 0.014187149703502655, -0.31150323152542114, 0.24902231991291046, 0.5524877905845642, 0.008176586590707302, -0.29982930421829224, 0.0621463768184185, -0.304463654756546, 0.3344481885433197, 0.043859414756298065, 0.7526692152023315, -0.3138945996761322, -0.514316976070404, -0.5334060788154602, 0.23821642994880676, 0.4449138939380646, -0.209503635764122, 0.5643638372421265, 0.42518025636672974, -0.3058430850505829, -0.17628969252109528, -0.43933820724487305, 0.043802715837955475, -0.40368589758872986, 0.42694857716560364, -0.17017294466495514, -0.5784475803375244, 0.18506298959255219, -0.28448474407196045, 0.09296125173568726, -0.007500598672777414, 0.8126252293586731, 0.010478929616510868, 1.1769037246704102, 0.5224370360374451, 0.11067353188991547, 0.3206520676612854, -0.22699563205242157, 0.3314383327960968, -1.1723253726959229, -0.4189102053642273, -0.3723984956741333, 0.029235703870654106, -0.34075623750686646, 0.0003149784170091152, 0.3658798336982727, 0.11240284889936447, -0.3315708637237549, 0.49295225739479065, -0.5872701406478882, -0.03195520490407944, -0.04326457902789116, 0.2673846483230591, 0.5949499607086182, -0.3194323778152466, -0.1818654090166092, -0.5562582612037659, -0.5073806643486023, -0.41361740231513977, 0.7341164350509644, 0.21762393414974213, 0.5874336361885071, -0.15132322907447815, 0.343716025352478, -0.07231511175632477, 0.6297088861465454, -1.264192819595337, 0.4594796299934387, 0.09604190289974213, -0.2314361184835434, -0.29406800866127014, -0.14704899489879608, -0.7472289800643921, 0.5587135553359985, -0.08860806375741959, -0.8764167428016663, 0.16989505290985107, 0.0374147854745388, -0.2518462836742401, 0.06630361825227737, -0.23639708757400513, 0.6490777134895325, -0.5856610536575317, -0.28120189905166626, -0.36270734667778015, -0.2850072979927063, 0.7264939546585083, -0.1977512240409851, 0.09746378660202026, -0.2008393257856369, 0.21264615654945374, 0.6818851232528687, -0.6570721864700317, 0.835039496421814, -0.21523050963878632, -0.3950394093990326, 0.15638747811317444, 0.3677176237106323, 0.3291851282119751, 0.29524943232536316, -0.2868191599845886, -0.08924254775047302, 0.8389548659324646, -0.22446590662002563, -0.7686392664909363, 0.5558103919029236, -0.5710245370864868, -0.3757508397102356, -0.466340035200119, -0.4928322732448578, -0.5759648084640503, 0.21049955487251282, 0.2820519208908081, 0.29921141266822815, -0.5639455914497375, -0.1345483362674713, -0.09319915622472763, -0.5799562335014343, 0.17321136593818665, 0.629676342010498, -0.31021809577941895, -0.8678401112556458, 0.5621325373649597, -0.05388745665550232, 0.020037995651364326, -0.3664361238479614, 0.11881299316883087, -0.03878011181950569, 0.0750303715467453, -0.014023956842720509, 0.49376702308654785, -0.644059419631958, -0.19849266111850739, -0.3080430328845978, -0.17166006565093994, -0.6960302591323853, -0.021347174420952797, -0.6524354815483093, -0.22535055875778198, 0.15069612860679626, 0.08949626237154007, 0.029505807906389236, 0.32776907086372375, -0.06999474763870239, 0.41587772965431213, -0.5773554444313049, 0.22565944492816925, -0.15659727156162262, 0.41359904408454895, 0.5036239624023438, -0.32664960622787476, -0.36183464527130127, 0.30692076683044434, -0.5918923020362854, -0.8668113350868225, 0.5065656304359436, -0.0502622090280056, 0.500931441783905, 0.46516114473342896, 0.33488261699676514, 0.9817892909049988, -0.107270248234272, 0.9359152317047119, 0.4966961145401001, -1.0455418825149536, 0.5149686336517334, -0.1541106253862381, 0.06390196084976196, 0.5615371465682983, 0.28246212005615234, -0.969563901424408, -0.4057413637638092, -0.3839189410209656, -0.6803485751152039, 1.146973729133606, 0.038364093750715256, 0.07238499820232391, 0.256740540266037, 0.32832083106040955, 0.06695904582738876, 0.2703579366207123, -0.385385125875473, 0.005606675520539284, -0.4573088586330414, -0.12990272045135498, 0.1312812864780426, -0.30552083253860474, -0.48174819350242615, -0.2705360949039459, 0.6513426303863525, -0.10123313963413239, 0.5961407423019409, 0.3987495005130768, 0.029435044154524803, -0.192084401845932, 0.3132348954677582, 0.2990112602710724, 0.5886345505714417, -0.042322222143411636, -0.1406659632921219, 0.431904673576355, -0.5031367540359497, -0.09086479246616364, -0.06201768293976784, 0.41700127720832825, -0.16909341514110565, 0.6402842402458191, 0.4749831259250641, 0.15916644036769867, -0.48005762696266174, 0.7757298350334167, -0.2907376289367676, -0.1610352247953415, -0.7915915846824646, -0.14044219255447388, 0.024924127385020256, 0.11941860616207123, 0.1721026748418808, -0.37754473090171814, 0.10269670933485031, -0.6189245581626892, 0.10428416728973389, 0.1521035134792328, -0.6058883666992188, -0.28280511498451233, 0.2561531662940979, 0.19202052056789398, -0.5112509727478027, 0.9278818368911743, 0.12220928072929382, -0.6665228605270386, 0.4497084617614746, 0.8197152018547058, 0.7845694422721863, -0.2417517900466919, 0.3601517379283905, 0.5705441832542419, 0.031142080202698708, -0.22292457520961761, 0.3897182047367096, -0.2479236125946045, -0.596663773059845, -0.5412665009498596, -0.33897072076797485, -0.7938080430030823, 0.32214072346687317, -1.0158072710037231, 0.5543293356895447, -0.71196448802948, -0.10575306415557861, -0.5455429553985596, 0.025753233581781387, -0.4897705614566803, -0.0361134372651577, 0.1029561385512352, 0.9870495200157166, -0.45933905243873596, 0.6052766442298889, 0.56656813621521, -0.33579275012016296, -0.7806921005249023, 0.14988063275814056, 0.21085672080516815, -0.6936332583427429, 0.037119586020708084, 0.13731417059898376, -0.39788562059402466, -0.2956291437149048, -0.8527493476867676, -0.32206621766090393, 1.2410633563995361, 0.6610817909240723, -0.5763332843780518, 0.006110612768679857, 0.43998825550079346, 0.7282761931419373, -0.6401380300521851, 0.5825693011283875, 0.8051896691322327, 0.45678359270095825, 0.13510024547576904, -1.0648030042648315, 0.21397149562835693, -0.25880128145217896, -0.12034396827220917, -0.2654329836368561, -1.2123751640319824, 0.4417237639427185, -0.03293794021010399, -0.11249342560768127, 0.49467378854751587, 0.3361629545688629, 0.5958037376403809, 0.27990710735321045, 0.591667652130127, -0.13371990621089935, 0.6611582040786743, 0.05923329293727875, 0.579206645488739, -0.662316620349884, 0.4750138223171234, 1.5401926040649414, -0.32914549112319946, 0.49659016728401184, 0.2610565721988678, -0.17532610893249512, 0.3399786949157715, 0.5922058820724487, -0.3368106782436371, 0.2558633089065552, 0.06520149856805801, -0.07596021145582199, -0.47689446806907654, -0.4324692189693451, -0.006139646749943495, 0.5173152685165405, 0.45560941100120544, -0.15999063849449158, -0.11820829659700394, -0.11203142255544662, 0.142938494682312, 0.06819338351488113, 0.0020705084316432476, 0.6061527132987976, 0.5287871956825256, -0.7088659405708313, 0.4496877193450928, 0.15532073378562927, 0.40407612919807434, -0.521483838558197, -0.2448255717754364, -0.4033326804637909, 0.2865455746650696, -0.5918305516242981, -0.5986806750297546, 0.3655688762664795, 0.03189225494861603, 0.4402161240577698, -0.215708926320076, 0.6021023392677307, -0.6372925639152527, -0.47017645835876465, 0.5349155068397522, 0.31479841470718384, 0.13365265727043152, -0.07862017303705215, -0.8456884026527405, 0.05976243317127228, -0.1422443985939026, -0.054343268275260925, 0.20964987576007843, 0.35352015495300293, 0.22089138627052307, 0.5862976908683777, 0.4799383878707886, 0.30477944016456604, -0.5158675909042358, 0.3585869371891022, 0.7641677856445312, -0.6487181782722473, -0.5643911361694336, -0.604549765586853, 0.4980599880218506, -0.12816093862056732, -0.33301791548728943, 0.7344741821289062, 0.5278903841972351, 0.46003350615501404, 0.2060621678829193, 0.9647458791732788, 0.05388695001602173, 0.4635029137134552, -0.2669074237346649, 0.5868382453918457, -0.3834313452243805, 0.2771328091621399, -0.5745090246200562, -0.9775179028511047, -0.11904869228601456, 0.5319200754165649, -0.35141822695732117, -0.1753930151462555, 0.8016085624694824, 0.815268337726593, -0.1696421205997467, 0.43798214197158813, 0.2526524066925049, 0.3284705579280853, 0.605607807636261, 0.6599912047386169, 1.1103707551956177, -0.3876855671405792, 0.9320449233055115, -0.4083418548107147, -0.3438897430896759, 0.030122114345431328, -0.821624755859375, -0.7487921714782715, -0.44780001044273376, -0.11207468062639236, -0.5714187622070312, -0.21990305185317993, 1.2421973943710327, 0.45919281244277954, -0.8368754386901855, -0.6070406436920166, 0.17827577888965607, -0.4325130581855774, -0.47635674476623535, -0.20351162552833557, 0.40561679005622864, -0.32594770193099976, -0.7657928466796875, 0.403400719165802, 0.24846325814723969, -0.3978222906589508, -0.574773371219635, -0.30779993534088135, 0.182878315448761, -0.1072797030210495, 0.4962007999420166, -0.011845264583826065, -0.6832565069198608, 0.06597964465618134, -0.03534121438860893, -0.18958652019500732, 0.24024687707424164, 1.4979599714279175, -0.3448081910610199, 0.5764504075050354, 0.0794248878955841, 0.39986810088157654, 0.6114562153816223, -0.004345956724137068, 1.0203169584274292, -0.32297784090042114, 0.2872990667819977, -0.022382207214832306, 0.5346318483352661, 0.37602919340133667, -0.6481000185012817, 0.49660003185272217, 0.07692892849445343, -0.3523327112197876, -0.6781819462776184, 0.19091777503490448, -1.0077826976776123, -0.2722875773906708, 1.150390386581421, -0.5427703261375427, 0.15713387727737427, -0.3684600293636322, -0.9420893788337708, 0.8254066109657288, -0.40164095163345337, 0.9229366183280945, 0.9806737303733826, -0.687349259853363, -0.39125919342041016, -0.13584867119789124, 0.451990008354187, 0.5139138698577881, -0.5504043102264404, 0.4636307656764984, 0.36598989367485046, 0.3233197033405304, 0.08959200233221054, 0.7504381537437439, -0.27462074160575867, 0.20253710448741913, -0.10438548028469086, -0.10576057434082031, -0.15386518836021423, -0.19590862095355988, -0.24541500210762024, -0.11590197682380676, -0.0211296696215868, 0.2966182827949524 ]
http://arxiv.org/abs/2405.16422v1
http://arxiv.org/pdf/2405.16422v1
AI-Generated Text Detection and Classification Based on BERT Deep Learning Algorithm
2024-05-26T04:26:07
2024-05-26T04:26:07
Hao Wang, Jianwei Li, Zhengyu Li
cs.CL
cs.CL, cs.AI, cs.LG
AI-generated text detection plays an increasingly important role in various fields. In this study, we developed an efficient AI-generated text detection model based on the BERT algorithm, which provides new ideas and methods for solving related problems. In the data preprocessing stage, a series of steps were taken to process the text, including operations such as converting to lowercase, word splitting, removing stop words, stemming extraction, removing digits, and eliminating redundant spaces, to ensure data quality and accuracy. By dividing the dataset into a training set and a test set in the ratio of 60% and 40%, and observing the changes in the accuracy and loss values during the training process, we found that the model performed well during the training process. The accuracy increases steadily from the initial 94.78% to 99.72%, while the loss value decreases from 0.261 to 0.021 and converges gradually, which indicates that the BERT model is able to detect AI-generated text with high accuracy and the prediction results are gradually approaching the real classification results. Further analysis of the results of the training and test sets reveals that in terms of loss value, the average loss of the training set is 0.0565, while the average loss of the test set is 0.0917, showing a slightly higher loss value. As for the accuracy, the average accuracy of the training set reaches 98.1%, while the average accuracy of the test set is 97.71%, which is not much different from each other, indicating that the model has good generalisation ability. In conclusion, the AI-generated text detection model based on the BERT algorithm proposed in this study shows high accuracy and stability in experiments, providing an effective solution for related fields.
[ -0.25839799642562866, -0.9645189046859741, 0.5699526071548462, 0.03159976750612259, -0.5062481760978699, 0.0700918659567833, -0.19583407044410706, -0.7762099504470825, -0.21680539846420288, 0.3118574321269989, -0.513629138469696, -0.6638695001602173, -0.8057767152786255, 0.1007273718714714, -0.5937017202377319, 0.8992193937301636, 0.06710905581712723, -0.027286725118756294, 0.08055706322193146, 0.21878869831562042, -0.6515906453132629, -0.480712890625, -0.570675790309906, -0.19259165227413177, 0.1089068353176117, 0.31092122197151184, 0.3286798894405365, 0.5324605107307434, 0.7035652995109558, 0.3536837697029114, -0.15749461948871613, 0.36414971947669983, -0.1173633262515068, 0.12090112268924713, 0.2092493176460266, -0.3383404612541199, -0.13807463645935059, 0.04926406592130661, 0.5537933707237244, 0.005222375970333815, 0.03578193113207817, 0.015461674891412258, 0.1241425946354866, 0.5359274744987488, -0.17329812049865723, -0.029032573103904724, -0.9236825108528137, 0.03295708820223808, -0.16617795825004578, -0.1454939842224121, -0.5613436102867126, -0.45352014899253845, 0.2942218780517578, -0.3514408767223358, 0.5241225957870483, 0.09572160989046097, 1.165757417678833, 0.008300120942294598, -0.12387372553348541, -0.775943398475647, -0.5150759220123291, 0.8557692766189575, -0.9295022487640381, 0.20045384764671326, 0.20415423810482025, 0.21087294816970825, 0.027907373383641243, -0.6459071636199951, -1.092940330505371, -0.1475183516740799, 0.19434216618537903, 0.12894609570503235, -0.10742446035146713, 0.010295972228050232, -0.11067675054073334, 0.198094442486763, -0.5149760842323303, 0.4258604049682617, -0.10399171710014343, -0.30666881799697876, 0.6776718497276306, 0.045155011117458344, 0.4829917848110199, -0.18849602341651917, -0.24126233160495758, -0.22947677969932556, -0.18985077738761902, 0.02161259576678276, 0.3343345522880554, 0.24360741674900055, 0.0981142595410347, 0.20557716488838196, 0.14777116477489471, 0.5780105590820312, -0.17563676834106445, -0.1748402863740921, 0.2904513478279114, -0.2009737640619278, -0.23941242694854736, 0.09588956832885742, 0.8398895859718323, 0.21659545600414276, 0.7220180034637451, 0.26261475682258606, -0.2715962827205658, 0.06012846156954765, 0.3121867775917053, -0.8439992070198059, -0.0578925758600235, -0.07490282505750656, -0.9988108277320862, -0.6899821162223816, -0.13199667632579803, -0.35503116250038147, -0.25625863671302795, -0.19613142311573029, 0.3654216527938843, -0.8004221320152283, 0.011450416408479214, -0.056491654366254807, 0.03684220835566521, 0.164836123585701, 0.6774755716323853, -0.7493335008621216, -0.03774335980415344, 0.48992428183555603, 0.8416325449943542, -0.12790320813655853, 0.010126287117600441, -0.15551897883415222, -0.18339116871356964, -0.3830871284008026, 0.9803767800331116, -0.314017117023468, -0.14440856873989105, 0.21811409294605255, -0.3757753372192383, -0.021124813705682755, -0.25875672698020935, 0.7445290684700012, -0.6908178329467773, 0.3083656430244446, 0.2575971782207489, -0.9556049704551697, -0.4650161862373352, 0.5519263744354248, -0.6291038990020752, 0.9799546599388123, -0.37532055377960205, -0.6810339689254761, 0.48074957728385925, -0.6207165122032166, -0.6507578492164612, 0.37044864892959595, -0.00527302548289299, -0.977329671382904, -0.07502474635839462, 0.5158140063285828, 0.691501259803772, -0.05234775319695473, 0.32746797800064087, 0.00170482590328902, -0.709748387336731, 0.2847059667110443, -0.7517881393432617, 0.7272498607635498, 0.14687193930149078, -0.4661068916320801, 0.07483741641044617, -0.6903245449066162, 0.15121442079544067, 0.04479096457362175, -0.5387945175170898, -0.3379025459289551, 0.1716064065694809, 0.43511226773262024, -0.07368815690279007, 0.22850824892520905, -0.8277453184127808, 0.11236642301082611, -0.5348265171051025, -0.005593026522547007, 0.9660427570343018, 0.04647398740053177, 0.2033863067626953, -0.06745854020118713, 0.10515257716178894, -0.21191208064556122, -0.027028555050492287, -0.2162552922964096, -0.8365547060966492, -0.7994803190231323, -0.29170656204223633, 0.7173592448234558, 0.7540227174758911, -0.5737735629081726, 1.0189363956451416, -0.05393148213624954, -0.5365628600120544, -0.43236613273620605, -0.02949243038892746, 0.27001097798347473, 0.6704131960868835, 0.21078068017959595, -0.08912720531225204, -0.3219974935054779, -0.7514234781265259, -0.1261359304189682, -0.2834532558917999, -0.03332251310348511, 0.15994150936603546, 0.6020252108573914, -0.5232322216033936, 0.9334618449211121, -0.5625625848770142, -0.6413495540618896, -0.417630672454834, 0.6129075884819031, 0.4089595377445221, 0.5353110432624817, 0.7687155604362488, -0.9110009670257568, -0.7368332743644714, -0.05220264941453934, -0.7996476292610168, -0.12209982424974442, -0.27220430970191956, 0.1929146647453308, 0.5378199815750122, 0.23439587652683258, -0.15742430090904236, 0.8252492547035217, 0.09112896025180817, -0.1729755699634552, 0.6933130025863647, -0.35378313064575195, 0.09587202966213226, -1.0493091344833374, -0.08169738203287125, 0.12757518887519836, -0.24462959170341492, -0.6133408546447754, -0.12864363193511963, 0.18798550963401794, -0.10230264067649841, -0.11862561851739883, 0.33608072996139526, -0.07374995946884155, 0.3165852129459381, -0.6482869982719421, -0.1994314193725586, 0.0908462181687355, 0.3795965015888214, 0.15688763558864594, 0.7661359310150146, 0.32599905133247375, -0.6737142205238342, 0.29423609375953674, 0.2956833839416504, -0.6542635560035706, 0.21960771083831787, -0.4486877918243408, 0.06903035938739777, -0.2339780628681183, 0.1581977754831314, -1.0826878547668457, 0.17059627175331116, 0.3492376208305359, -0.8302810788154602, 0.18787945806980133, 0.357697457075119, -0.896182119846344, -0.4419942796230316, -0.2768819332122803, -0.08430637419223785, 0.6802738904953003, -0.6080604195594788, 0.6309597492218018, 0.00015158962924033403, -0.4416990280151367, -0.4872114360332489, -0.7143706679344177, -0.025136372074484825, 0.1888636350631714, -0.6749627590179443, 0.5302291512489319, -0.230647012591362, 0.03632853180170059, -0.037202637642621994, 0.2876409590244293, -0.4958036541938782, 0.08934508264064789, 0.018349427729845047, 0.27481594681739807, 0.008257895708084106, 0.723692774772644, 0.4081664979457855, -0.04685678333044052, -0.007535745855420828, -0.02755449153482914, 0.6507183313369751, 0.16656294465065002, -0.11011793464422226, -1.100529432296753, 0.35906460881233215, 0.3642774224281311, -0.33808633685112, 0.6645348072052002, 1.0391919612884521, -0.5510636568069458, -0.13674679398536682, -0.46038755774497986, -0.1902974247932434, -0.4934810698032379, 0.43360209465026855, -0.14514826238155365, -0.4900703728199005, 0.40945038199424744, 0.12300843745470047, 0.0921018049120903, 0.604829728603363, 0.5300593972206116, -0.6018487215042114, 1.0729700326919556, 0.8616476058959961, -0.44505202770233154, 0.7363620400428772, -0.17750969529151917, 0.3240627646446228, -0.45789963006973267, -0.23000751435756683, -0.5368399024009705, -0.3699186146259308, -0.47165611386299133, 0.03287927061319351, 0.033811312168836594, -0.15577201545238495, -0.2497083693742752, 0.04955567419528961, -0.8847558498382568, 0.13065263628959656, 0.9788750410079956, 0.49989423155784607, 0.19292853772640228, 0.23451559245586395, 0.04171117767691612, -0.13902807235717773, -0.18215018510818481, -0.5613360404968262, 1.2060935497283936, 0.5423795580863953, 0.5514402985572815, -0.18778309226036072, 0.8109549283981323, 0.888690710067749, 0.5510441064834595, -0.7758511304855347, 0.4807986617088318, -0.24901041388511658, -0.5117512345314026, -0.3543281853199005, -0.1969616711139679, -0.7017941474914551, -0.08403510600328445, -0.48267680406570435, -0.4051498472690582, 0.04061932861804962, -0.06571172177791595, -0.11981038004159927, 0.37011194229125977, -0.6431863903999329, 0.4795747995376587, -0.4845048487186432, 0.18798774480819702, -0.23660913109779358, -0.5605946183204651, 0.11473974585533142, -0.21925680339336395, 0.03297082707285881, -0.1699143499135971, 0.38058674335479736, 1.023248553276062, -0.391205757856369, 0.7692316770553589, -0.29033467173576355, -0.26627570390701294, 0.6120527386665344, -0.31980082392692566, 0.5730481147766113, -0.03601500391960144, -0.17260953783988953, 0.17481909692287445, -0.6553258895874023, -0.10349122434854507, -0.26923176646232605, 0.28207457065582275, -0.7974016666412354, -0.05525967851281166, -0.6122838258743286, -0.6400519609451294, 0.2817102074623108, 0.6366332173347473, 0.5879970788955688, 0.28075316548347473, -0.13019850850105286, -0.045754749327898026, 0.9436060190200806, -0.49761539697647095, 0.7682400941848755, 0.4800003170967102, -0.04467163607478142, -0.47152647376060486, 0.9159987568855286, -0.1701861172914505, -0.23008579015731812, 0.3435598611831665, 0.02366716042160988, -0.4074844717979431, -0.9545966386795044, -0.46757304668426514, -0.14749328792095184, -0.4911239445209503, -0.5930708050727844, -0.5805332660675049, -0.4552890658378601, -0.596104621887207, -0.14126935601234436, 0.18429112434387207, 0.07796741276979446, -0.7185905575752258, 0.11766014248132706, 0.3346084952354431, 0.4381961226463318, 0.39788082242012024, 0.7464708685874939, -0.8759002089500427, 0.4492158889770508, 0.217030867934227, 0.3345329761505127, 0.06179093196988106, -0.5242496132850647, -0.17470400035381317, -0.04900043085217476, -0.42365342378616333, -0.8204238414764404, 0.7551754713058472, 0.3947544991970062, 0.2634333074092865, 0.5621012449264526, -0.043829042464494705, 0.22316841781139374, -0.5719351172447205, 0.5073838233947754, 0.12023570388555527, -1.0251305103302002, 0.6607842445373535, -0.2856423854827881, 0.3084736168384552, 0.5392498970031738, -0.020308485254645348, -0.24656668305397034, -0.3611312210559845, -0.5096496343612671, -0.49764665961265564, 0.6514039635658264, 0.4412272870540619, 0.20882058143615723, 0.335512638092041, 0.39762619137763977, 0.03799296170473099, 0.24246947467327118, -0.9775774478912354, -0.07766896486282349, -0.010940947569906712, -0.7124136090278625, 0.21543069183826447, -0.3745082914829254, 0.5696828961372375, -0.23243989050388336, 0.640548586845398, 0.015505527146160603, 0.6147691011428833, 0.051315389573574066, -0.1879366934299469, 0.05839090049266815, 0.18683476746082306, 0.5145243406295776, 0.19537253677845, -0.41584938764572144, -0.3632856607437134, 0.09931416809558868, -0.7976197600364685, 0.13494759798049927, 0.5105434060096741, -0.3113432824611664, 0.3329910933971405, 0.6810744404792786, 0.46556559205055237, -0.5418497920036316, -0.8389301896095276, 0.6088224649429321, -0.24025464057922363, -0.2237207293510437, -0.4221417307853699, 0.12492624670267105, -0.31590497493743896, 0.1257169097661972, 0.902446985244751, 0.2571922838687897, 0.3483884930610657, -0.27248552441596985, 0.2515105605125427, 0.5026938915252686, -0.1620517522096634, 0.27036550641059875, 0.4387015998363495, 0.29019108414649963, -0.48870453238487244, 1.0046287775039673, -0.15535858273506165, -0.9799787998199463, 1.0330580472946167, 0.5461698770523071, 0.8129197955131531, -0.21022923290729523, 0.2103518396615982, -0.004194413311779499, 0.43691033124923706, 0.32557034492492676, 0.33558210730552673, -0.08210913091897964, -1.0981744527816772, -0.2655220031738281, -0.7139633893966675, -0.30385997891426086, 0.31473225355148315, -0.3811633884906769, 0.18420816957950592, -0.5373249650001526, -0.165684774518013, 0.12471949309110641, 0.25843486189842224, -0.5163137316703796, 0.8118021488189697, 0.3482995927333832, 0.9781840443611145, -0.858521580696106, 0.8811951279640198, 0.4647372364997864, -0.16482384502887726, -0.4504587650299072, 0.3907901644706726, -0.2652137875556946, -0.7275742888450623, 0.7533127665519714, 0.8833523988723755, 0.09652506560087204, 0.08845904469490051, -0.7200880646705627, -0.45821094512939453, 0.8756361603736877, -0.12928378582000732, -0.6446192264556885, 0.08108336478471756, 0.08683215826749802, 0.7647364139556885, -0.30669769644737244, 0.11438500136137009, 0.23815575242042542, 0.4951443076133728, -0.14496922492980957, -0.6756256222724915, -0.22887153923511505, -0.4784669876098633, 0.07601848244667053, 0.2039986401796341, -0.34550103545188904, 0.8928039073944092, 0.088145412504673, -0.12211944162845612, 0.42226895689964294, 0.8448575735092163, 0.15558001399040222, 0.49538907408714294, 0.4542990028858185, 0.5746615529060364, 0.6417070627212524, -0.15755821764469147, 0.7224560976028442, 0.10320866107940674, 0.4357139468193054, 0.5985079407691956, -0.25174644589424133, 0.6780767440795898, -0.12259750813245773, 0.10210549831390381, 0.9224108457565308, 0.8006075620651245, -0.37686315178871155, 0.668239951133728, 0.058846306055784225, -0.33541974425315857, -0.19251148402690887, -0.10985076427459717, -0.3282395899295807, 0.4999050498008728, 0.42334794998168945, -0.87922203540802, -0.0991639643907547, 0.35344114899635315, -0.20084883272647858, 0.2477857768535614, -0.304940789937973, 0.8218827247619629, -0.412992388010025, -0.38619884848594666, 0.23951338231563568, 0.2971862554550171, 1.005895972251892, -0.5213121771812439, -0.23461611568927765, 0.17279885709285736, 0.5085984468460083, 0.15930750966072083, -0.87624591588974, -0.03467617556452751, 0.05505219101905823, -0.4129522740840912, -0.3099856376647949, 1.4268200397491455, -0.25437286496162415, -0.8605342507362366, -0.015588643960654736, 0.15966655313968658, 0.05270512402057648, -0.2536558508872986, -0.6433461308479309, 0.11702503263950348, 0.11248358339071274, 0.05504673346877098, -0.06437452882528305, 0.4445435702800751, 0.13516387343406677, 0.4008251130580902, 0.7110335826873779, -0.041221942752599716, -0.0634719654917717, -0.10208630561828613, 0.7217202186584473, -0.5765479207038879, -0.8179829716682434, -0.814910888671875, 0.2436666041612625, -0.45336371660232544, -0.21288469433784485, 0.48185214400291443, 0.42714449763298035, 0.4693809449672699, -0.258573055267334, 1.0309967994689941, -0.024379752576351166, 0.728694498538971, -0.4537312090396881, 1.2499949932098389, -0.2737569510936737, 0.06229379400610924, -0.49545156955718994, -0.6802054047584534, -0.5332504510879517, 0.8689156174659729, -0.14228391647338867, 0.06621326506137848, 0.34569060802459717, 0.20007386803627014, 0.21414217352867126, -0.0056159659288823605, -0.005201739724725485, -0.2601499557495117, 0.5628381371498108, 0.44025295972824097, 0.4667273759841919, -0.6691732406616211, 0.6013265252113342, -0.15161000192165375, -0.3344770669937134, -0.4907445013523102, -0.7297698855400085, -1.099647045135498, -0.37234142422676086, -0.18659017980098724, 0.016423888504505157, 0.09220925718545914, 0.4386571943759918, 0.6580750346183777, -0.8346796035766602, 0.2184666395187378, -0.4290333688259125, 0.07455382496118546, -0.3074924647808075, -0.3505209684371948, 0.6694202423095703, -0.4460902512073517, -0.9184715747833252, 0.13376103341579437, -0.009772172197699547, 0.26540541648864746, 0.04845859482884407, 0.09674561023712158, -0.6759786605834961, 0.054038483649492264, 0.6422172784805298, -0.09974248707294464, -0.4765591025352478, -0.32008877396583557, -0.08922608196735382, -0.2189188003540039, -0.1445271521806717, 0.3953738212585449, -0.9002397060394287, 0.6380684971809387, 0.5632430911064148, 0.8652793765068054, 0.3314179480075836, 0.13184259831905365, 0.31924569606781006, -0.8478891253471375, 0.13313351571559906, 0.43982744216918945, 0.1288859248161316, 0.227644681930542, -0.6190701723098755, 0.22983229160308838, 0.2018398940563202, -0.6280530095100403, -0.7273926138877869, 0.028228390961885452, -0.6221384406089783, -0.4003892242908478, 0.5014670491218567, -0.1150357648730278, -0.11575726419687271, -0.006384954322129488, -0.5546218752861023, 0.607403576374054, -0.5281246900558472, 1.0132399797439575, 0.5693272352218628, -0.3666810691356659, -0.30925890803337097, 0.010596321895718575, 0.2673337757587433, 0.42688754200935364, -0.9995396733283997, -0.4238608777523041, 0.4673667848110199, 0.05761722847819328, 0.47009456157684326, 0.4327082335948944, 0.36763831973075867, 0.3346779942512512, -0.3236508369445801, 0.28592854738235474, -0.05144766345620155, -0.2992432713508606, -0.11312055587768555, 0.16737040877342224, -0.22177043557167053, -0.663582980632782 ]
http://arxiv.org/abs/2405.16420v1
http://arxiv.org/pdf/2405.16420v1
M-RAG: Reinforcing Large Language Model Performance through Retrieval-Augmented Generation with Multiple Partitions
2024-05-26T04:03:13
2024-05-26T04:03:13
Zheng Wang, Shu Xian Teo, Jieer Ouyang, Yongjun Xu, Wei Shi
cs.CL
cs.CL, cs.IR
Retrieval-Augmented Generation (RAG) enhances Large Language Models (LLMs) by retrieving relevant memories from an external database. However, existing RAG methods typically organize all memories in a whole database, potentially limiting focus on crucial memories and introducing noise. In this paper, we introduce a multiple partition paradigm for RAG (called M-RAG), where each database partition serves as a basic unit for RAG execution. Based on this paradigm, we propose a novel framework that leverages LLMs with Multi-Agent Reinforcement Learning to optimize different language generation tasks explicitly. Through comprehensive experiments conducted on seven datasets, spanning three language generation tasks and involving three distinct language model architectures, we confirm that M-RAG consistently outperforms various baseline methods, achieving improvements of 11%, 8%, and 12% for text summarization, machine translation, and dialogue generation, respectively.
[ -0.5189490914344788, -0.6275075674057007, 0.5668671131134033, 0.2901831269264221, -0.06755902618169785, 0.5733465552330017, -0.269418329000473, 0.04912322759628296, 0.4154987037181854, 0.6722555756568909, -0.5941305756568909, -0.12082564830780029, -0.32546094059944153, -0.0036313922610133886, -0.0744282677769661, 1.1028847694396973, 0.1615382730960846, 0.0004166043072473258, -0.20173625648021698, -0.277776837348938, -0.38751357793807983, -0.45518743991851807, -0.8184796571731567, -0.31855127215385437, 0.889068603515625, 0.4966503083705902, 0.47891005873680115, 0.6314908266067505, 0.12039325386285782, 0.4313858449459076, 0.07121261954307556, 0.8025773763656616, -0.493004709482193, 0.6423822045326233, -0.021130528301000595, -0.3234732747077942, -0.4450652003288269, -0.12479711323976517, 0.9979519844055176, 0.1555379033088684, -0.4520344138145447, 0.06191040202975273, -0.1964416354894638, 0.7630388736724854, -0.9484626054763794, -0.032107140868902206, -0.6525946855545044, -0.2817125916481018, -0.17124755680561066, -0.31600257754325867, -0.8328022956848145, -0.2237151712179184, -0.17843031883239746, -0.48184964060783386, 0.09638015925884247, 0.2812683880329132, 0.6099855303764343, 0.2220698446035385, -0.625311553478241, -0.15894083678722382, -0.7326585650444031, 1.0375645160675049, -0.4528134763240814, 0.40960413217544556, 0.12694686651229858, 0.5120826363563538, -0.3084273934364319, -0.4615932106971741, -0.6949912309646606, -0.2547348737716675, 0.035385023802518845, -0.0679437518119812, 0.19412016868591309, -0.06329025328159332, 0.1651782989501953, 0.15346793830394745, -0.47496098279953003, 0.0006868201890029013, -0.17706957459449768, -0.015482024289667606, 0.6096286177635193, 0.384360671043396, 0.12820906937122345, -0.1980658620595932, -0.4854865074157715, -0.4577803611755371, -0.6970030665397644, -0.23599644005298615, 0.3713606894016266, 0.5279932618141174, 0.2076452672481537, 0.4936876893043518, 0.033131130039691925, 0.6152122616767883, -0.05766329541802406, -0.7531092166900635, 0.4522281587123871, -0.2763136327266693, 0.019183456897735596, -0.10970218479633331, 0.7530020475387573, 0.00676534790545702, -0.24717667698860168, -0.15061426162719727, -0.4660583436489105, -0.10979529470205307, 0.6031182408332825, -0.9320215582847595, 0.10209959745407104, 0.10193619877099991, -0.25455668568611145, -0.32348352670669556, -0.30957096815109253, -0.7674717903137207, -0.47312548756599426, -0.2794661521911621, 0.297135591506958, -0.5062716007232666, -0.5715198516845703, -0.2509136497974396, -0.26066839694976807, 0.2637515068054199, 0.241986945271492, -0.8299775123596191, 0.3129577338695526, 0.7974662184715271, 0.6085917949676514, -0.23599307239055634, -0.5389347076416016, -0.8401507139205933, 0.37998512387275696, -0.5051229596138, 0.9644220471382141, -0.5949392914772034, -0.3533332347869873, -0.08772075921297073, -0.1211404874920845, -0.17364501953125, -0.6647666096687317, 0.3140787184238434, -0.702945351600647, 0.16658243536949158, -0.18396876752376556, -0.3613331615924835, -0.1363835334777832, 0.3555406332015991, -0.8078376054763794, 1.0076156854629517, 0.14397697150707245, -0.4336967170238495, 0.3865053057670593, -0.3903457820415497, -0.43297693133354187, -0.18721996247768402, -0.3192287087440491, -0.6936744451522827, 0.2484416365623474, 0.19688451290130615, 0.29924726486206055, -0.5840717554092407, 0.22156448662281036, -0.17889352142810822, -0.04093841463327408, 0.3593319058418274, -0.37132394313812256, 0.34211188554763794, 0.3748818635940552, 0.07912933081388474, 0.16999666392803192, -0.7800630331039429, 0.02212403528392315, 0.19234924018383026, -0.7348387837409973, -0.36000069975852966, 0.10123350471258163, -0.07306314259767532, 0.3524453043937683, 0.13856491446495056, -0.4685089588165283, 0.3371645510196686, -0.3764185905456543, -0.15150652825832367, 0.6927818059921265, 0.13321654498577118, 0.6947294473648071, -0.6694677472114563, 0.6817770004272461, 0.19841551780700684, -0.1864369958639145, -0.5283851623535156, -0.1663087010383606, -0.6612653136253357, -0.539219081401825, 0.24109183251857758, 0.34746214747428894, -1.2367279529571533, -0.19589543342590332, -0.23316797614097595, -0.2940217852592468, -0.5959916710853577, -0.000972687965258956, 0.7488665580749512, 0.2092622071504593, 0.3034813404083252, -0.16524213552474976, -0.5774033665657043, -0.8109440803527832, -0.19617420434951782, -0.07983531802892685, 0.11296997219324112, 0.5994004607200623, 0.24476222693920135, -0.3201225697994232, 0.6558552980422974, -0.43914148211479187, -0.09950901567935944, -0.4095109701156616, 0.30273523926734924, 0.08761737495660782, 0.3722553849220276, 0.3292171061038971, -0.8177152872085571, -0.44905292987823486, -0.10794416815042496, -0.32636407017707825, 0.10922545194625854, -0.1724783480167389, -0.10924333333969116, 0.6877695322036743, 0.34782880544662476, -0.555088222026825, -0.02067193016409874, 0.723680317401886, -0.1441153734922409, 0.8251411318778992, -0.49607259035110474, 0.17741060256958008, -1.3844422101974487, -0.25377213954925537, -0.28505271673202515, -0.23965461552143097, -0.6856364011764526, 0.15506620705127716, 0.08680402487516403, 0.041412353515625, -0.4815237522125244, 0.7123042345046997, -0.6473375558853149, -0.3538886308670044, -0.6957064867019653, 0.14654281735420227, 0.1090538501739502, 0.517365574836731, -0.26880159974098206, 0.9772475361824036, 0.15134595334529877, -0.7773982286453247, 0.03924749791622162, 0.06652954965829849, -0.10833290964365005, 0.48478370904922485, -0.08451786637306213, 0.21659177541732788, -0.41620221734046936, 0.41162109375, -0.816486120223999, -0.19361889362335205, -0.07776511460542679, -0.5132766366004944, 0.7077508568763733, -0.07692072540521622, -0.48968377709388733, -0.017464017495512962, -0.3791034519672394, 0.45959845185279846, 0.4245922863483429, -0.6523768305778503, 1.0242072343826294, 0.6525087952613831, -0.06828517466783524, -0.955890417098999, -0.14594921469688416, -0.049498870968818665, -0.2753089666366577, -0.6274418830871582, 0.2888696789741516, 0.12035589665174484, -0.24031975865364075, 0.017591752111911774, -0.028442759066820145, 0.018815988674759865, -0.021181249991059303, 0.05740983039140701, 0.07009447365999222, -0.24308983981609344, 0.39800915122032166, 0.0757841020822525, -0.2278880476951599, -0.3496426045894623, -0.17029494047164917, 0.8705543279647827, 0.02330879122018814, -0.04186348244547844, 0.4061608910560608, 0.37473589181900024, 0.3998332917690277, -0.5564877986907959, 1.0225731134414673, 0.6698941588401794, -0.0011735493317246437, -0.6591022610664368, -0.6015956401824951, 0.010526590049266815, -0.47660696506500244, 0.38245323300361633, -0.7231745719909668, -1.0584169626235962, 0.32406875491142273, -0.43876808881759644, 0.2621789276599884, 0.3982488811016083, 0.8702459931373596, 0.024546196684241295, 1.1414307355880737, 0.5162484645843506, -0.06586810201406479, 0.4929603636264801, -0.23452071845531464, 0.06871743500232697, -1.1728800535202026, -0.027167243883013725, -0.5426928997039795, -0.12838688492774963, -0.8736916780471802, -0.9605668187141418, 0.4581950306892395, -0.05354179069399834, -0.36100292205810547, 0.039268188178539276, -0.14401444792747498, 0.5394344329833984, 0.6517268419265747, -0.05930253863334656, 0.28183597326278687, 0.00007824835483916104, -0.3139667510986328, 0.18748794496059418, -0.7460275292396545, -0.48059558868408203, 1.152358889579773, 0.1091868132352829, 0.694409966468811, 0.4010501801967621, 1.1236746311187744, -0.022539297118782997, 0.4071275293827057, -0.6190811395645142, 0.5112094879150391, -0.2899714410305023, -0.7224553823471069, -0.4639953672885895, -0.6678658127784729, -1.2427623271942139, 0.8978231549263, -0.3190111219882965, -0.40085098147392273, -0.07352055609226227, -0.019450901076197624, -0.1765059232711792, 0.1974973827600479, -0.5136192440986633, 0.5560720562934875, -0.22017528116703033, -0.31635597348213196, -0.5357272028923035, -0.3000718951225281, 0.6977089047431946, -0.22601214051246643, 0.4968893527984619, -0.17718090116977692, -0.3011506497859955, 0.5126469135284424, -0.34926509857177734, 0.3657776117324829, -0.2836966812610626, 0.03731529414653778, 0.25222936272621155, 0.162617027759552, 0.6439737677574158, -0.18003006279468536, 0.07909780740737915, -0.5626790523529053, -0.307889461517334, -0.3124931752681732, -0.6014897227287292, 0.7081529498100281, -0.6899210810661316, -0.4471845030784607, -0.35340821743011475, -0.7971147298812866, -0.257799357175827, 0.11632833629846573, -0.3007110357284546, 0.46344003081321716, -0.2700219750404358, 0.10677529126405716, 0.6978199481964111, -0.6533097624778748, 0.4197808802127838, 0.7395113706588745, -0.6296393275260925, -0.6700139045715332, 1.4334163665771484, -0.03883375599980354, 0.19920426607131958, 0.33871039748191833, 0.22302275896072388, -0.297855943441391, -0.27617979049682617, -0.5955040454864502, 0.42013445496559143, -0.4311898350715637, -0.2635481059551239, -0.8867767453193665, 0.013502024114131927, -0.32359007000923157, 0.09827253967523575, -0.6088559627532959, -0.4375247061252594, 0.17273485660552979, 0.06172780692577362, 0.16794756054878235, 0.7181805372238159, -0.26025718450546265, 0.4745827615261078, -0.9001795053482056, 0.6824275851249695, 0.21904528141021729, 0.2699509561061859, 0.02914794161915779, -0.2897833585739136, -0.4830071032047272, -0.1093972846865654, -0.47960779070854187, -0.8970409631729126, 0.5840904712677002, 0.21651895344257355, 0.5778676271438599, 0.0440332293510437, -0.15093325078487396, 0.48847129940986633, -1.0436891317367554, 0.4663906395435333, 0.09857477992773056, -0.4616747498512268, 0.1399988830089569, -0.361117422580719, 0.2557307183742523, 0.3658045530319214, 0.14740027487277985, -0.3988945186138153, -0.5737587213516235, -0.7348333597183228, -1.0074905157089233, 0.8141885995864868, -0.18993030488491058, 0.00968489982187748, -0.11716482043266296, 0.030208725482225418, -0.028562067076563835, 0.38261812925338745, -0.4810490310192108, -0.34304162859916687, 0.2561973035335541, 0.06333929300308228, -0.4424949586391449, -0.36516791582107544, -0.02119736559689045, 0.1778825968503952, 0.8744859099388123, -0.17137117683887482, 0.2417251169681549, -0.28133276104927063, -0.16882260143756866, -0.03349050506949425, 0.45057550072669983, 0.6821190118789673, 0.5175778865814209, 0.07262640446424484, 0.01467688474804163, 0.06483183056116104, -0.17811746895313263, 0.5363622903823853, 0.029375426471233368, -0.12688793241977692, 0.11082777380943298, -0.011283495463430882, 0.9006316065788269, 0.2377309948205948, -0.5774512887001038, 0.3315323293209076, -0.18751944601535797, -0.21455876529216766, -0.3253139853477478, 0.09875930100679398, 0.18499471247196198, 0.6374945044517517, 0.46561485528945923, -0.061830200254917145, 0.10832060128450394, -0.44513222575187683, 0.47149914503097534, 0.5017389059066772, 0.23240412771701813, 0.05413700267672539, 0.5314072966575623, -0.12146123498678207, -0.24481201171875, 0.4391539990901947, -0.54417884349823, -0.4858429729938507, 0.4232160747051239, 0.6336373686790466, 0.9360975027084351, -0.5033589601516724, 0.3808312714099884, 0.4582964777946472, 0.30621081590652466, -0.2304774820804596, 0.3365110158920288, 0.034547802060842514, -0.8463248014450073, -0.9732145071029663, -0.9848909378051758, -0.6031097769737244, -0.11547935009002686, -0.3825322985649109, -0.05452439934015274, -0.2094172090291977, -0.1668999046087265, -0.11911995708942413, 0.12455478310585022, -0.3851830065250397, 0.10308627039194107, 0.16977231204509735, 0.5187203884124756, -0.6144903302192688, 1.041136384010315, 0.5684190392494202, -0.4111206829547882, -0.9422434568405151, -0.09876993298530579, 0.06761550903320312, -0.664340615272522, 0.5489798784255981, -0.0090388935059309, -0.20263740420341492, -0.06471459567546844, -0.17399029433727264, -1.106799840927124, 0.894011914730072, 0.27804556488990784, -0.26984938979148865, 0.08681640028953552, -0.033990759402513504, 0.3937632143497467, -0.5717903971672058, 0.22343659400939941, 0.5696750283241272, 0.4186660945415497, 0.2555776536464691, -0.7019296884536743, -0.10751914978027344, 0.01246578898280859, 0.19548752903938293, 0.6825218796730042, -0.7128236889839172, 1.1534359455108643, -0.2554766535758972, -0.14155039191246033, -0.03611472249031067, 0.7298163771629333, 1.0603715181350708, 0.16579607129096985, 0.5913823246955872, 0.7186810374259949, 0.7122522592544556, 0.09947211295366287, 1.1475505828857422, -0.158950537443161, 0.023062091320753098, 1.3868498802185059, -0.22441525757312775, 0.9835805892944336, 0.330227792263031, -0.03212469816207886, 0.5443645715713501, 0.15529730916023254, 0.4001001715660095, 0.5272118449211121, 0.32478880882263184, -0.4542495012283325, -0.06298026442527771, -0.15893778204917908, -0.17154057323932648, 0.5084081888198853, 0.44817879796028137, -0.226119726896286, -0.2602396011352539, 0.1039155051112175, 0.15631398558616638, -0.03515690565109253, -0.08634211868047714, 1.1498068571090698, 0.004240209702402353, -0.8531212210655212, 0.5894349813461304, 0.23502172529697418, 0.5738266110420227, -0.4672921299934387, -0.22414487600326538, -0.2709389328956604, 0.3546656668186188, 0.0826072245836258, -0.29752692580223083, 0.1876574456691742, -0.0305776409804821, -0.37905022501945496, -0.4038236737251282, 0.7929860949516296, -0.6686690449714661, -0.35183000564575195, 0.1875683069229126, 0.8444820642471313, 0.1675892472267151, -0.0030350838787853718, -0.5437746047973633, 0.19193804264068604, -0.149677574634552, -0.5325935482978821, 0.7061337232589722, 0.7242083549499512, -0.00014660322631243616, 0.6946343183517456, 0.6546555161476135, 0.12349250167608261, 0.37400022149086, 0.07908660173416138, 0.955601155757904, -0.6536664366722107, -0.4419674873352051, -0.7221812009811401, 0.5333344340324402, -0.06998065114021301, 0.0967511460185051, 0.7862125039100647, 0.7072285413742065, 0.7866884469985962, 0.04460093379020691, 0.6415969729423523, -0.05378048121929169, 1.0046573877334595, -0.3961527347564697, 0.5015300512313843, -0.733587384223938, 0.13904309272766113, -0.20263665914535522, -1.0110443830490112, -0.022342026233673096, 0.35884371399879456, -0.01869087852537632, 0.09582004696130753, 0.641339123249054, 0.8917104601860046, 0.2851286828517914, -0.37008386850357056, 0.4185176491737366, 0.10169195383787155, 0.5461874008178711, 0.3856699764728546, 1.0259507894515991, -0.27912312746047974, 0.5068073868751526, -0.10242535918951035, -0.054550204426050186, -0.032391507178545, -0.6240320205688477, -0.6582044959068298, -0.7679151892662048, 0.12412548810243607, -0.37715426087379456, -0.0450495220720768, 0.9446179270744324, 0.5043880939483643, -0.45479080080986023, -0.5176485776901245, 0.4179507791996002, 0.19875192642211914, -0.046558912843465805, -0.16093237698078156, 0.15800155699253082, -0.9736503958702087, -0.7491158843040466, 0.770355761051178, 0.2143835723400116, -0.3156014680862427, -0.39001786708831787, -0.48001164197921753, -0.42148929834365845, 0.12026791274547577, 0.8191958665847778, 0.21224334836006165, -0.5204945206642151, 0.13393856585025787, -0.22499868273735046, -0.22260381281375885, 0.05238776654005051, 0.9024680852890015, -0.8970034718513489, 0.4534590244293213, 0.44999924302101135, 0.9664376378059387, 0.8662986159324646, 0.1003221943974495, 0.6817516684532166, -1.0570861101150513, 0.24680043756961823, 0.2912016808986664, 0.2573193907737732, 0.19991104304790497, 0.0933111310005188, 0.46301373839378357, -0.2516297996044159, -0.7998314499855042, -0.9064359664916992, 0.23105627298355103, -0.48078277707099915, -0.5076361298561096, 1.1409969329833984, 0.14164681732654572, -0.3881889879703522, 0.07887601107358932, -0.2173922061920166, 0.3027363717556, -0.5601744055747986, 0.3940443694591522, 0.3716067373752594, -0.08754829317331314, -0.39977365732192993, -0.7352285385131836, 0.6485036015510559, 0.3092712461948395, -0.7145640850067139, 0.021680250763893127, 0.8992270827293396, -0.15835827589035034, 0.25598838925361633, 0.9539898633956909, -0.008770790882408619, 0.19877703487873077, 0.11698619276285172, 0.21871720254421234, 0.006475691683590412, -0.7686598300933838, -0.19186626374721527, 0.1947341412305832, 0.2741258442401886, -0.14634472131729126 ]
http://arxiv.org/abs/2405.17503v2
http://arxiv.org/pdf/2405.17503v2
Code Repair with LLMs gives an Exploration-Exploitation Tradeoff
2024-05-26T04:00:30
2024-05-30T15:20:19
Hao Tang, Keya Hu, Jin Peng Zhou, Sicheng Zhong, Wei-Long Zheng, Xujie Si, Kevin Ellis
cs.SE
cs.SE, cs.AI, cs.CL, cs.PL
Iteratively improving and repairing source code with large language models (LLMs), known as refinement, has emerged as a popular way of generating programs that would be too complex to construct in one shot. Given a bank of test cases, together with a candidate program, an LLM can improve that program by being prompted with failed test cases. But it remains an open question how to best iteratively refine code, with prior work employing simple greedy or breadth-first strategies. We show here that refinement exposes an explore-exploit tradeoff: exploit by refining the program that passes the most test cases, or explore by refining a lesser considered program. We frame this as an arm-acquiring bandit problem, which we solve with Thompson Sampling. The resulting LLM-based program synthesis algorithm is broadly applicable: Across loop invariant synthesis, visual reasoning puzzles, and competition programming problems, we find that our new method can solve more problems using fewer language model calls.
[ -0.16113004088401794, -0.4305132329463959, 0.6688550710678101, -0.1895275115966797, -0.05148790031671524, 0.5238903164863586, -0.2270916849374771, -0.4413753151893616, 0.3449915647506714, 0.9696434140205383, -0.7072551846504211, -0.37486666440963745, -0.521464467048645, -0.03948768600821495, -0.3890467882156372, 1.018093228340149, -0.4431122839450836, -0.3934918940067291, 0.17193402349948883, -0.07113337516784668, -0.40545570850372314, -0.13709524273872375, -0.8133590817451477, -0.10909414291381836, 0.3442704677581787, 0.687069296836853, 0.45017001032829285, 0.6552061438560486, 0.5534300804138184, 0.33673274517059326, 0.11812946200370789, 0.15635214745998383, -0.9678122997283936, 0.12074945867061615, 0.06269984692335129, -0.8425624966621399, 0.08687791228294373, -0.0646500512957573, 0.2048071026802063, 0.40505269169807434, -0.1802966147661209, 0.09235790371894836, -0.15719746053218842, 0.9690518379211426, -0.6721940040588379, -0.14774584770202637, -0.8911251425743103, -0.15908628702163696, -0.06894507259130478, -0.5732950568199158, -0.4126357436180115, -0.4494369924068451, -0.00012008536577923223, -0.3624382019042969, 0.24991799890995026, -0.10505982488393784, 0.7221855521202087, 0.42327266931533813, -0.061551984399557114, -0.03682040423154831, -0.8123296499252319, 1.036523461341858, -0.6738056540489197, -0.17988726496696472, 0.0983271524310112, 0.3480721116065979, -0.45666688680648804, -0.6242201328277588, -0.10230924189090729, -0.4456506073474884, 0.010083111934363842, -0.1504898965358734, -0.42590269446372986, 0.012257593683898449, 0.46552401781082153, 0.3892928659915924, -0.27642783522605896, 0.029739702120423317, -1.0420869588851929, -0.322106271982193, 0.8559272885322571, 0.10734838992357254, 0.25553831458091736, 0.1003570631146431, -0.5777581334114075, -0.050714947283267975, -1.3555235862731934, 0.11370893567800522, 0.5083608031272888, 0.2430613487958908, 0.403624564409256, 0.6966695189476013, -0.07891310751438141, 0.8457026481628418, -0.3532406687736511, -0.09936333447694778, -0.03927059471607208, -0.11853833496570587, -0.4452913701534271, -0.09163931757211685, 0.021726880222558975, 0.37844619154930115, 0.3071784973144531, -0.16294045746326447, -0.5469222068786621, 0.02293313480913639, 0.7766821384429932, -0.40075457096099854, -0.2313060611486435, 0.4797646999359131, -0.4161899983882904, -0.2792721390724182, 0.014500766061246395, -0.29527124762535095, -0.2066918909549713, -0.3360665440559387, 0.3377332091331482, -0.3459555506706238, -0.20999804139137268, 0.21546387672424316, -0.4663878083229065, 0.4471021294593811, 0.2666632831096649, -0.4626636505126953, -0.16324245929718018, 0.6864963173866272, 0.578594446182251, 0.15417633950710297, -0.33217644691467285, -0.7484416365623474, 0.1259928196668625, -0.5314900279045105, 0.9502735733985901, -0.43627849221229553, -0.5940690040588379, 0.07725338637828827, -0.07528822124004364, 0.2312362939119339, -0.9594451785087585, 0.3553055226802826, -0.6405749320983887, -0.07061316817998886, -0.30230987071990967, -0.44447365403175354, -0.06441070139408112, 0.4601620137691498, -0.752900242805481, 0.8264777064323425, 0.3915443420410156, -0.6143563389778137, 0.2518535554409027, -0.47896885871887207, -0.39532071352005005, -0.25299543142318726, 0.0661713033914566, -0.4594670832157135, 0.3408844470977783, 0.20807220041751862, 0.12674270570278168, -0.16338060796260834, -0.12724216282367706, -0.31888461112976074, -0.9057379961013794, 0.3711215555667877, 0.10198163241147995, 0.5818966627120972, 0.292125403881073, -0.26810598373413086, 0.15702810883522034, -0.469804972410202, 0.15907728672027588, 0.1850622594356537, -0.668157160282135, -0.24358081817626953, 0.05305655673146248, -0.36921870708465576, -0.20995724201202393, 0.0828915387392044, -0.4287113547325134, 0.48298779129981995, -0.7004151940345764, 0.5724815130233765, 0.9522683024406433, -0.04857267439365387, 0.4335891306400299, -0.7534228563308716, 0.8407583236694336, -0.32286500930786133, -0.04969820752739906, -0.5890676975250244, -0.034179896116256714, -1.050009846687317, -0.4616645872592926, 0.15335305035114288, 0.4999421238899231, -0.982842743396759, -0.0927884504199028, -0.03586696460843086, -0.40590888261795044, -0.7794601321220398, 0.17447036504745483, 0.35047754645347595, 0.1657383143901825, 0.30832552909851074, -0.33764347434043884, -0.7071335911750793, -0.98238605260849, -0.7179423570632935, -0.12761898338794708, -0.1547045260667801, 0.21120329201221466, 0.0052445377223193645, -0.5866797566413879, 0.7330981492996216, -0.6649985313415527, -0.2863585352897644, -0.3939194679260254, -0.08525487780570984, 0.35984233021736145, 0.3407585322856903, 0.27342942357063293, -0.1519346386194229, -0.32179293036460876, -0.2932742238044739, -0.19315873086452484, -0.16229088604450226, -0.31208229064941406, -0.075741246342659, 0.3139198124408722, 0.9342724680900574, -0.2271692305803299, 0.3829365074634552, 0.4830990433692932, 0.11831603199243546, 0.3882664442062378, -0.24099168181419373, 0.14645269513130188, -0.6919716000556946, 0.1491592824459076, -0.27397990226745605, -0.2657775580883026, -0.31658899784088135, 0.7059348225593567, -0.13725070655345917, -0.08911911398172379, -0.3638518750667572, 0.3167164921760559, -0.6488977670669556, -0.10206188261508942, -0.5480029582977295, 0.20875589549541473, -0.2948008179664612, 0.23161742091178894, -0.17764140665531158, 0.6845199465751648, 0.5214438438415527, -0.37787577509880066, 0.3542059063911438, -0.3773738443851471, -0.21136146783828735, 0.1373547911643982, -0.6772125363349915, 0.36590129137039185, -0.23016904294490814, 0.03476829081773758, -1.3508857488632202, -0.03664090856909752, 0.032087624073028564, -0.29273706674575806, 0.5132386088371277, -0.3895867168903351, 0.03528132662177086, -0.35690101981163025, -0.8351787328720093, 0.23790879547595978, 0.6731331944465637, -0.7106680274009705, 0.46498581767082214, 0.22828471660614014, -0.1372392475605011, -0.7918457388877869, -0.7187075614929199, 0.11369232088327408, -0.343657523393631, -0.8057974576950073, 0.3536805510520935, 0.02554064430296421, -0.3723035752773285, 0.012668369337916374, -0.3112388551235199, 0.04552002251148224, 0.22208528220653534, 0.11226484179496765, 0.4154893457889557, 0.061859454959630966, -0.1763450801372528, 0.034645311534404755, -0.49518364667892456, 0.07018475979566574, -0.21091538667678833, 0.3925275206565857, 0.21298329532146454, -0.5373439192771912, 0.3188892900943756, 0.311475932598114, 0.3412654399871826, -0.22003935277462006, -0.13872627913951874, 0.1105676218867302, -0.04388951510190964, -0.5604231953620911, -0.6269955039024353, -0.24160006642341614, -0.4811514616012573, 0.3104214072227478, -0.2605322003364563, -1.1753162145614624, 0.3940702974796295, -0.4558304250240326, 0.4672970175743103, 0.3359471559524536, 0.38776522874832153, 0.01768381893634796, 0.5327571630477905, 0.9078690409660339, -0.31930282711982727, 0.4211845099925995, -0.4023304283618927, 0.3859226405620575, -0.7229585647583008, 0.04394645616412163, -0.5296808481216431, -0.6059770584106445, -0.5338228344917297, -0.45507845282554626, 0.4157247841358185, -0.11713547259569168, -0.03790163993835449, 0.6556475758552551, -0.6304037570953369, 0.891761302947998, 0.9437873959541321, 0.2677582800388336, 0.3666931688785553, 0.28197282552719116, 0.06571327149868011, -0.1525096893310547, -0.5759271383285522, -0.41960400342941284, 1.3682223558425903, 0.2933466136455536, 0.9522473216056824, 0.15367400646209717, 1.3395216464996338, 0.07112232595682144, 0.7220416069030762, -0.7064993381500244, 0.4028414189815521, 0.06532585620880127, -0.47456520795822144, -0.19090603291988373, -0.391951322555542, -1.1410913467407227, -0.19253909587860107, 0.05756015703082085, -0.6372026205062866, -0.1319345384836197, 0.3072098195552826, -0.6083979606628418, 0.15656018257141113, -0.8092116713523865, 0.557568371295929, 0.03647273778915405, -0.35768383741378784, -0.4561362862586975, -0.4929893910884857, 0.8461389541625977, -0.0012532253749668598, 0.18093152344226837, 0.18569038808345795, 0.052319079637527466, 0.32655200362205505, -0.5881214737892151, 0.5806732773780823, -0.07061801105737686, -0.24183334410190582, 0.621644914150238, 0.5223737955093384, 0.6382465958595276, 0.03200497850775719, 0.18926627933979034, -0.29986414313316345, -0.06637851893901825, -0.5640835762023926, -0.3719785511493683, 0.7877770066261292, -0.4920160174369812, -0.9083433151245117, -0.3271736204624176, -0.36134400963783264, -0.12047166377305984, -0.13563773036003113, 0.14580407738685608, 0.034682031720876694, -0.06400128453969955, -0.2466888576745987, 0.624226987361908, -0.4453059136867523, 0.5243672132492065, 0.44894829392433167, -0.32576820254325867, -0.16109047830104828, 0.7079950571060181, -0.27668100595474243, 0.35656264424324036, 0.19600573182106018, -0.15793123841285706, 0.15516512095928192, -0.62760329246521, -0.19595561921596527, 0.2893422544002533, -0.5731375217437744, -0.5599496364593506, -0.09239430725574493, -0.24513311684131622, 0.1872449368238449, -0.6093417406082153, -0.36453136801719666, -0.24234609305858612, 0.01232486218214035, -0.09087150543928146, 0.34479182958602905, 0.5327931642532349, -0.21701864898204803, 0.26354238390922546, -1.0465713739395142, 0.2359035611152649, 0.40971213579177856, 0.3700414299964905, -0.23600749671459198, -0.519547164440155, -0.20043903589248657, -0.07639344036579132, -0.30261939764022827, -0.7131099104881287, 0.3722178637981415, -0.3617854714393616, 0.43682605028152466, 0.11036841571331024, -0.14132241904735565, 0.6662278175354004, -0.46051356196403503, 0.6748161315917969, 0.14375199377536774, -0.8244279026985168, 0.6375066041946411, -0.15483103692531586, 0.23228400945663452, 0.5925591588020325, 0.1548951119184494, -0.4390363097190857, -0.4949021339416504, -0.7007192373275757, -1.024827003479004, 0.5898561477661133, -0.055806223303079605, 0.16062961518764496, 0.15354546904563904, 0.5129880309104919, -0.07904649525880814, 0.000985031365416944, -0.6750863194465637, 0.029584303498268127, 0.35805195569992065, 0.18213142454624176, 0.041839659214019775, -0.34023407101631165, -0.5252244472503662, 0.15233390033245087, 0.6691957712173462, -0.11473030596971512, 0.38027483224868774, 0.13616685569286346, -0.11609407514333725, -0.31380677223205566, 0.34473657608032227, 0.43064257502555847, 0.6596611142158508, -0.19018247723579407, 0.09299032390117645, -0.15551647543907166, -0.039347801357507706, 0.04287261515855789, 0.2850731611251831, -0.12887541949748993, -0.2456730753183365, 0.5147473216056824, 0.30811795592308044, 0.03374006226658821, -1.3426077365875244, 0.2994847893714905, 0.11276798695325851, -0.09598568081855774, -0.16911694407463074, 0.4465148150920868, 0.0788557156920433, 0.5951589941978455, 0.378347247838974, 0.27087289094924927, 0.26011011004447937, -0.7470806837081909, 0.28387650847435, 0.6183249950408936, -0.10372286289930344, 0.19317202270030975, 0.3584698736667633, 0.1154475063085556, -0.26666656136512756, 0.79603111743927, -0.14590109884738922, -0.5766207575798035, 0.754558801651001, 0.2184448093175888, 0.9062116146087646, -0.0967002734541893, 0.07088879495859146, 0.4509333074092865, 0.6724521517753601, -0.136001318693161, 0.6005153059959412, 0.23544557392597198, -0.5544207692146301, -0.8144528269767761, -0.1769436150789261, -0.3430648446083069, -0.12763333320617676, -0.3166140019893646, 0.41798728704452515, -0.507215678691864, 0.08976663649082184, -0.4104567766189575, -0.09845083206892014, -0.381182461977005, -0.05703028291463852, -0.1374870240688324, 0.9358943700790405, -0.4247857332229614, 0.5484485030174255, 0.5147616267204285, -0.19610343873500824, -0.8540327548980713, -0.013326156884431839, -0.054472822695970535, -1.0661535263061523, 0.47071802616119385, 0.10585861653089523, 0.04970286786556244, -0.13394656777381897, -0.7885964512825012, -0.9706286787986755, 0.9351824522018433, 0.5452371835708618, -0.867789089679718, 0.29961511492729187, -0.1961389183998108, 0.29266786575317383, -0.08732279390096664, 0.11275710165500641, 0.8424308896064758, 0.40992435812950134, 0.2325717657804489, -0.7721109986305237, 0.048274364322423935, -0.030778776854276657, 0.14602820575237274, 0.5402058959007263, -0.509053111076355, 0.5922502279281616, -0.9063066244125366, -0.21278493106365204, 0.22996719181537628, 0.28214552998542786, 0.6860931515693665, 0.12102707475423813, 0.4678991138935089, 0.761239230632782, 0.5686174631118774, -0.24633033573627472, 1.301559329032898, -0.23611369729042053, 0.2843804955482483, 0.9557563662528992, -0.18292030692100525, 0.7315114736557007, 0.5958468317985535, -0.45709702372550964, 0.4052121937274933, 0.7116535305976868, 0.05454517900943756, 0.6389899849891663, 0.8795121908187866, -0.15134671330451965, -0.11040692031383514, 0.42852118611335754, -0.2423342913389206, 0.40329408645629883, 0.03907497599720955, -0.5004844069480896, -0.3784868121147156, -0.39374491572380066, 0.2158452570438385, 0.01621798612177372, -0.30248957872390747, 0.5505349040031433, 0.06807571649551392, -0.9698957204818726, 0.6636962294578552, 0.4949774444103241, 0.6141351461410522, -0.5194677114486694, -0.014319084584712982, -0.6012195944786072, 0.36889511346817017, -0.25749316811561584, -0.48325127363204956, 0.6403935551643372, -0.10216835141181946, 0.08705034106969833, -0.11826834827661514, 0.881545901298523, -0.47446751594543457, -0.21829335391521454, 0.2026197612285614, 0.46568992733955383, -0.09027339518070221, -0.28426462411880493, -0.3774077594280243, 0.422344446182251, 0.4900994598865509, -0.23797324299812317, 0.3136822283267975, 0.1386263519525528, 0.26838889718055725, 0.6717022061347961, 0.6593421101570129, 0.15122923254966736, 0.13364112377166748, -0.29609987139701843, 1.1733548641204834, -0.8837751746177673, 0.0017408551648259163, -0.9033358097076416, 0.7144725918769836, 0.016036760061979294, 0.0025768077466636896, 0.57768315076828, 0.5049441456794739, 1.014524221420288, -0.1491096317768097, 0.9627820253372192, 0.16276073455810547, 0.5689834356307983, -0.7128807902336121, 0.11022866517305374, -0.4521227478981018, 0.8513815402984619, -0.14438891410827637, -0.9111964106559753, -0.3771265745162964, 0.5947501063346863, -0.10666561871767044, 0.030608966946601868, 0.5046316385269165, 1.1256284713745117, 0.050835996866226196, -0.2205653339624405, -0.0027303441893309355, 0.15629102289676666, 0.323702335357666, 1.0850976705551147, 0.9462853074073792, -0.3364452123641968, 0.605322003364563, -0.02363433502614498, -0.5049076676368713, -0.14935839176177979, -0.9698045253753662, -0.5731896758079529, -0.02845669724047184, -0.37153196334838867, -0.6381352543830872, 0.0044565582647919655, 0.7984179258346558, 0.3505576550960541, -0.297181099653244, -0.3928646445274353, -0.00793226808309555, 0.3413882851600647, -0.3353951871395111, -0.21276609599590302, 0.09887154400348663, -0.6456924080848694, -0.7455691695213318, 0.5868017673492432, 0.458652526140213, -0.2773590087890625, -0.4170873165130615, -0.032846301794052124, 0.17523245513439178, 0.21003592014312744, 0.4849877953529358, 0.5734871625900269, -0.5527803897857666, -0.22709934413433075, 0.31793636083602905, 0.23874375224113464, 0.052565980702638626, 1.4035226106643677, -0.9676164388656616, 0.6767538785934448, 0.18146678805351257, 1.0014643669128418, 0.7122451066970825, -0.3366125524044037, 0.7631346583366394, -0.8608706593513489, 0.05978317931294441, 0.04251859337091446, 0.5006397366523743, 0.20430244505405426, -0.23748041689395905, 0.6570174694061279, 0.009049184620380402, -0.5114777088165283, -0.839393675327301, 0.46034690737724304, -0.7058076858520508, -0.6424767374992371, 1.1323965787887573, -0.10526033490896225, -0.07146535813808441, 0.19931678473949432, -0.6583817601203918, -0.1728246957063675, -0.16642561554908752, 1.1577954292297363, 0.5786418318748474, -0.1044871062040329, -0.19896726310253143, -0.18672728538513184, 0.5465970635414124, 0.30926820635795593, -0.7249956727027893, 0.10293368250131607, 0.618260383605957, 0.4050494134426117, 0.1054241806268692, 0.7841962575912476, -0.21588116884231567, 0.23487119376659393, -0.11738191545009613, -0.02464727871119976, -0.01821848377585411, -0.21753066778182983, -0.3200257122516632, 0.06828802078962326, 0.4550243318080902, -0.009439395740628242 ]
http://arxiv.org/abs/2405.16413v1
http://arxiv.org/pdf/2405.16413v1
Augmented Risk Prediction for the Onset of Alzheimer's Disease from Electronic Health Records with Large Language Models
2024-05-26T03:05:10
2024-05-26T03:05:10
Jiankun Wang, Sumyeong Ahn, Taykhoom Dalal, Xiaodan Zhang, Weishen Pan, Qiannan Zhang, Bin Chen, Hiroko H. Dodge, Fei Wang, Jiayu Zhou
cs.AI
cs.AI, cs.CL, cs.LG, stat.AP
Alzheimer's disease (AD) is the fifth-leading cause of death among Americans aged 65 and older. Screening and early detection of AD and related dementias (ADRD) are critical for timely intervention and for identifying clinical trial participants. The widespread adoption of electronic health records (EHRs) offers an important resource for developing ADRD screening tools such as machine learning based predictive models. Recent advancements in large language models (LLMs) demonstrate their unprecedented capability of encoding knowledge and performing reasoning, which offers them strong potential for enhancing risk prediction. This paper proposes a novel pipeline that augments risk prediction by leveraging the few-shot inference power of LLMs to make predictions on cases where traditional supervised learning methods (SLs) may not excel. Specifically, we develop a collaborative pipeline that combines SLs and LLMs via a confidence-driven decision-making mechanism, leveraging the strengths of SLs in clear-cut cases and LLMs in more complex scenarios. We evaluate this pipeline using a real-world EHR data warehouse from Oregon Health \& Science University (OHSU) Hospital, encompassing EHRs from over 2.5 million patients and more than 20 million patient encounters. Our results show that our proposed approach effectively combines the power of SLs and LLMs, offering significant improvements in predictive performance. This advancement holds promise for revolutionizing ADRD screening and early detection practices, with potential implications for better strategies of patient management and thus improving healthcare.
[ 0.0021037757396698, -0.7943603992462158, 1.080154538154602, -0.7148900032043457, -0.11487927287817001, -0.14755070209503174, 0.026266809552907944, -0.7661136388778687, 0.2535540759563446, 0.5772766470909119, -0.4455261826515198, -0.6744202971458435, -0.837266743183136, -0.3657984137535095, 0.04693814739584923, 1.1208434104919434, 0.07078509032726288, 0.33805051445961, -0.055089931935071945, 0.19049279391765594, -0.19899998605251312, -0.3799474835395813, -0.8413079380989075, -0.26703140139579773, 0.4655342102050781, 0.38619792461395264, 0.5109414458274841, 0.6638039946556091, 0.5104838609695435, 0.17904704809188843, -0.11796998232603073, 0.26691949367523193, -0.18077243864536285, 0.22010935842990875, 0.40774351358413696, -0.4771936535835266, -0.99600750207901, -0.22035004198551178, 0.23329833149909973, 0.5628530383110046, -0.22821547091007233, 0.16031135618686676, 0.013139527291059494, 0.6185479760169983, -0.6755427718162537, 0.24784450232982635, -0.6377602815628052, 0.14234189689159393, -0.3963603377342224, -0.17749950289726257, -0.46342381834983826, -0.04195476323366165, 0.40667757391929626, -0.43380409479141235, -0.02967895194888115, 0.10625237971544266, 0.5400031805038452, 0.15822690725326538, -0.4357980787754059, -0.21987371146678925, -0.652895987033844, 0.6822419762611389, -0.5184748768806458, 0.2987036406993866, 0.7204529047012329, 0.6412420272827148, -0.22856999933719635, -0.7212840914726257, -0.17191658914089203, -0.16508692502975464, 0.08353250473737717, -0.1368550956249237, -0.2535470426082611, 0.33314216136932373, 0.15710017085075378, 0.3169191777706146, -0.5953865051269531, 0.45883646607398987, -0.5879489779472351, -0.4907987713813782, 0.5657395720481873, 0.24993449449539185, 0.2730353772640228, 0.01756293885409832, -0.2830464243888855, 0.07147481292486191, -0.5586662888526917, -0.10953798145055771, -0.05351818725466728, 0.41469964385032654, -0.07298967242240906, 0.6453522443771362, -0.14449918270111084, 0.5400111675262451, 0.08982441574335098, -0.20869006216526031, 0.44900357723236084, 0.019170036539435387, -0.23965057730674744, 0.6870855093002319, 0.4188697040081024, 0.3671734631061554, -0.018161101266741753, 0.14593617618083954, 0.019529376178979874, 0.44090816378593445, -0.050946321338415146, -0.5487035512924194, -0.4419414699077606, 0.6458112001419067, -0.4091198146343231, -0.06373199075460434, -0.1659000664949417, -0.7126139402389526, -0.5843105316162109, -0.08718908578157425, 0.3814932405948639, -0.6215600967407227, 0.10737699270248413, 0.29078587889671326, 0.12975378334522247, -0.15947028994560242, 0.38254669308662415, -0.5292530059814453, 0.2575235068798065, 0.7079564332962036, 0.685476541519165, -0.43328866362571716, -0.07792741805315018, -1.202139973640442, 0.34450486302375793, -0.15248988568782806, 0.7530762553215027, -0.12074402719736099, -0.2151702493429184, 0.07728475332260132, -0.3635914623737335, 0.2029038369655609, -0.32616126537323, 0.5869092345237732, -0.5808085799217224, -0.016228489577770233, 0.5032027363777161, -0.5190658569335938, 0.03147529065608978, 0.22174815833568573, -0.9865944981575012, 0.6773022413253784, 0.035631902515888214, -0.6802762746810913, 0.741918683052063, -0.39517226815223694, -0.45674771070480347, 0.4564065635204315, -0.1794111132621765, -0.7795500159263611, -0.24424046277999878, 0.508199155330658, 0.5450992584228516, -0.1472029983997345, 0.2235722541809082, -0.4477394223213196, -0.03521642088890076, -0.04737911745905876, -0.35095688700675964, 0.5179110169410706, 0.23134367167949677, 0.0433071032166481, 0.15329580008983612, -0.6695374250411987, 0.22771893441677094, -0.13413923978805542, -0.2914162874221802, -0.52238929271698, -0.07877091318368912, -0.15697327256202698, 0.2549842596054077, 0.2815679609775543, -0.4319458603858948, -0.12451233714818954, -0.18745937943458557, 0.106282539665699, 0.7552474141120911, 0.12509854137897491, 0.3548375368118286, -0.4452368915081024, 0.5256597995758057, 0.15810424089431763, 0.4230799674987793, -0.3504791259765625, -0.6966899633407593, -0.22176361083984375, -0.5879039168357849, 0.12369789928197861, 0.6700274348258972, -0.4541538655757904, 0.5309624075889587, -0.4073616564273834, -0.31996169686317444, -0.7050173878669739, 0.029877960681915283, 0.2696775496006012, 0.3424786925315857, 0.4837055802345276, -0.29638218879699707, -0.6920225024223328, -0.46972906589508057, -0.0698966532945633, -0.4361177682876587, -0.24604715406894684, 0.43931764364242554, -0.04363512247800827, -0.41252097487449646, 0.5527184009552002, -0.9432366490364075, -0.7991974949836731, -0.3884444832801819, 0.0015257219783961773, 0.17905409634113312, 0.2586038410663605, -0.06694655865430832, -0.5338621735572815, -0.25431105494499207, 0.05446354299783707, -0.7366204261779785, 0.20572102069854736, 0.3601078391075134, -0.04190823435783386, 0.13731403648853302, 0.5171685814857483, -0.5617053508758545, 0.4982945919036865, 0.811787486076355, -0.25081804394721985, 0.37599977850914, -0.41369545459747314, -0.055526867508888245, -0.8370848298072815, -0.5004696249961853, 0.24240630865097046, -0.011408204212784767, -0.5362802147865295, -0.3482705354690552, -0.36724498867988586, -0.15991069376468658, -0.3722688555717468, 0.3997228145599365, -0.4905257523059845, 0.1243819072842598, 0.008326306939125061, -0.18942898511886597, -0.0947636291384697, -0.14979222416877747, 0.011096184141933918, 0.19987808167934418, 0.8854387402534485, -0.6654812097549438, -0.003559056669473648, 0.18530377745628357, -0.6333500146865845, 0.3305926024913788, -0.43543827533721924, 0.03220361843705177, -0.2563032805919647, 0.38593345880508423, -0.7150168418884277, -0.220101997256279, -0.0216202512383461, -0.4411066770553589, 0.3240644335746765, -0.259145051240921, -0.16499313712120056, -0.5050126314163208, -0.29029780626296997, 0.2895366847515106, 0.5049607157707214, -0.21574869751930237, 0.9698891043663025, 0.7992110252380371, -0.43298664689064026, -0.4243440628051758, -0.8935363292694092, 0.03813588246703148, -0.2831699252128601, -0.7589209079742432, 0.3137566149234772, 0.02484978921711445, -0.26936739683151245, 0.19095130264759064, 0.16269177198410034, -0.21749524772167206, -0.18237048387527466, 0.3631822466850281, 0.7192699313163757, -0.2687162458896637, 0.2805510461330414, -0.052816156297922134, -0.3435100317001343, -0.15560269355773926, -0.5279117226600647, 0.30988797545433044, -0.02655707113444805, -0.5086495280265808, -0.37439975142478943, 0.30691787600517273, 0.6986940503120422, -0.16884386539459229, 0.5937889218330383, 0.4120507538318634, -0.5937946438789368, -0.1584741324186325, -0.6178427338600159, -0.512180745601654, -0.4045857787132263, 0.3547292947769165, -0.08445979654788971, -0.8888266086578369, 0.3177616000175476, -0.19509389996528625, -0.0851050540804863, 0.2911824882030487, 0.4663325548171997, -0.05453452467918396, 1.1647002696990967, 0.5201535224914551, -0.1420871764421463, 0.3204842209815979, -0.21462389826774597, 0.16950848698616028, -0.9267047047615051, -0.32651373744010925, -0.10265576094388962, 0.000045426284486893564, -0.6974557638168335, -0.5675690770149231, 0.8963394165039062, -0.40451207756996155, -0.28133493661880493, -0.05360559746623039, -0.1976930946111679, 0.045639537274837494, 0.28472501039505005, 0.6288009285926819, 0.560443103313446, -0.03289825841784477, -0.16034238040447235, -0.06638503819704056, -0.67078697681427, -0.4927579164505005, 1.6361656188964844, 0.45730024576187134, 0.8979798555374146, -0.05647115409374237, 0.7974016070365906, 0.5494096279144287, 0.3157346844673157, -0.8961328268051147, 0.2382500022649765, -0.333434522151947, -0.6397093534469604, -0.4996896982192993, -0.24535611271858215, -1.041143536567688, -0.09153388440608978, -0.49258196353912354, -0.7513914108276367, 0.026800120249390602, 0.44291678071022034, -0.751289963722229, 0.4078978896141052, -0.5412746667861938, 0.6298942565917969, -0.6315792202949524, -0.2577917277812958, -0.22617577016353607, -0.6512866616249084, 0.39132067561149597, -0.17848648130893707, 0.5005189180374146, -0.12006261944770813, -0.022802840918302536, 0.5262975692749023, -0.4183862805366516, 0.696770966053009, 0.2732776999473572, 0.08635593950748444, 0.4245907664299011, 0.114817313849926, 0.7039839625358582, -0.04596053808927536, -0.3897312581539154, 0.2335597723722458, -0.3438252806663513, -0.21387548744678497, -0.1857994943857193, 0.8134338855743408, -0.4683440923690796, -0.35731059312820435, -0.6862318515777588, -0.4599933326244354, -0.19769532978534698, 0.24318760633468628, 0.08487925678491592, 0.3499566614627838, -0.18447057902812958, -0.29206910729408264, 0.5574398636817932, 0.08492821455001831, 0.03373515605926514, 0.4285000264644623, -0.04246463626623154, -0.396770179271698, 0.6344780325889587, 0.10075651109218597, 0.20740260183811188, 0.12593227624893188, 0.5111107230186462, -0.18013127148151398, -0.6614744663238525, -0.25683802366256714, 0.0890544205904007, -0.6841822266578674, -0.1688898205757141, -0.6075623631477356, -0.088847316801548, -0.4170083701610565, -0.07442422211170197, -0.1203060895204544, -0.002752568107098341, -0.3133957087993622, -0.45359477400779724, 0.6277444362640381, 0.5568735003471375, -0.045067474246025085, 0.11515980958938599, -0.9554553627967834, 0.2745775580406189, 0.43046537041664124, 0.27862128615379333, -0.09522579610347748, -0.3658302128314972, -0.25620102882385254, -0.16182951629161835, -0.1631258875131607, -0.6013001799583435, 0.5240679383277893, 0.28367137908935547, 0.6882162690162659, 0.6030604839324951, 0.08262385427951813, 0.47016608715057373, -0.7382925748825073, 0.6222708225250244, 0.2567213773727417, -0.46038320660591125, 0.7115322351455688, -0.1638181209564209, -0.14971023797988892, 0.6326475739479065, 0.5628491044044495, -0.12354554980993271, 0.15909747779369354, -0.7866480350494385, -1.030829906463623, 0.5393880605697632, -0.30248594284057617, -0.26671910285949707, -0.04308206960558891, 0.0028498410247266293, 0.07780496776103973, -0.08898190408945084, -0.15265710651874542, -0.33871695399284363, 0.3733552098274231, -0.22304636240005493, -0.2952357530593872, -0.1794867366552353, -0.11446941643953323, -0.058921802788972855, 0.7223663926124573, -0.12931479513645172, 0.12955377995967865, 0.21594658493995667, 0.009603844955563545, -0.5762580037117004, 0.15770527720451355, -0.022603066638112068, 0.3407551646232605, -0.4555169939994812, 0.3050415813922882, 0.2130657583475113, -0.6293390393257141, -0.0962139293551445, 0.24107122421264648, -0.12689529359340668, -0.0587477907538414, 0.30302736163139343, 0.8903043866157532, 0.05332358926534653, -0.963015615940094, 0.4311842620372772, 0.14942191541194916, 0.20959915220737457, -0.5989176034927368, -0.16466182470321655, -0.12231749296188354, 0.14678987860679626, 0.5034787058830261, -0.05667756497859955, 0.3601459562778473, -0.5714181065559387, 0.7573027014732361, 0.47542881965637207, -0.7309162020683289, -0.037798382341861725, 0.6291808485984802, -0.03278931975364685, -0.08760816603899002, 0.4499846398830414, -0.016422109678387642, -0.315080851316452, 0.48024818301200867, 0.33457279205322266, 0.7430170774459839, -0.4212276041507721, -0.029494047164916992, 0.2566782534122467, 0.18666869401931763, -0.3340860605239868, 0.0528138130903244, 0.6414020657539368, -0.6853584051132202, -0.608344554901123, -0.32000967860221863, -0.3607233762741089, 0.33634692430496216, -0.5796129703521729, 0.7146888375282288, -0.2813374400138855, -0.48775428533554077, 0.13374993205070496, -0.06667914241552353, -0.5808972716331482, 0.27351322770118713, 0.6093120574951172, 0.635220468044281, -1.1185452938079834, 0.6235033869743347, 0.7747364640235901, -0.16119162738323212, -0.6103837490081787, 0.22465640306472778, 0.3880018889904022, -0.8077261447906494, 0.6157568693161011, 0.1632152795791626, 0.053493089973926544, -0.043797142803668976, -0.2035934180021286, -0.902250349521637, 1.300590991973877, 0.19649049639701843, -0.42254436016082764, -0.14035682380199432, -0.2574140727519989, 0.40047338604927063, -0.5334563255310059, 0.21845810115337372, 0.5186392664909363, 0.2904699742794037, 0.3014345169067383, -0.8704904317855835, -0.024847567081451416, 0.15881705284118652, -0.275640606880188, 0.31363022327423096, 0.06126216799020767, 0.9865592122077942, -0.8134597539901733, -0.05716456100344658, -0.269872784614563, 0.6599768400192261, 0.6380955576896667, 0.7366093993186951, 0.28649574518203735, 0.8659122586250305, 0.9751248955726624, 0.24571792781352997, 1.3487221002578735, -0.20533806085586548, 0.0032936499919742346, 1.0468679666519165, -0.5334901213645935, 0.9377091526985168, 0.3222948908805847, -0.3495207726955414, 0.6544756293296814, 0.36764243245124817, 0.3873445987701416, 0.518682599067688, 0.12525616586208344, -0.5183166265487671, -0.44568416476249695, -0.30251801013946533, -0.0328400693833828, 0.3132569193840027, 0.8993366360664368, -0.46028944849967957, -0.13072817027568817, 0.04622869938611984, -0.12005529552698135, -0.029493875801563263, -0.5224840641021729, 0.6699860095977783, 0.23092737793922424, -0.3885044753551483, 0.28687331080436707, -0.2295716404914856, 0.7387410402297974, -0.6461077332496643, -0.30220556259155273, 0.4448590874671936, 0.36470842361450195, -0.13413214683532715, -0.7641001343727112, -0.12050296366214752, -0.18442830443382263, -0.07331935316324234, 0.30524617433547974, 0.8003901243209839, -0.5059510469436646, -0.5735874176025391, 0.4113208055496216, 0.5460795760154724, 0.3031879961490631, 0.028076820075511932, -0.49854689836502075, 0.15416739881038666, -0.3892706334590912, 0.04561803489923477, 0.48524010181427, 0.37431609630584717, -0.4041420519351959, 0.7966872453689575, 0.8607015609741211, 0.6646071076393127, -0.07060519605875015, -0.24165818095207214, 0.7325800657272339, 0.01365726999938488, -0.5103456377983093, -0.811408519744873, 0.36150646209716797, 0.1343543529510498, -0.08454128354787827, 0.323819637298584, 0.4412091374397278, 0.3935014307498932, 0.04411392658948898, 1.0190844535827637, 0.21435609459877014, 0.5725233554840088, -0.6138405799865723, 0.48122507333755493, -0.25852644443511963, 0.2919011414051056, -0.08446098864078522, -0.35801392793655396, -0.36714011430740356, 0.435436874628067, -0.5630333423614502, -0.014068757183849812, 0.6802750825881958, 0.5220032930374146, 0.11119430512189865, -0.4448462426662445, 0.2597529888153076, 0.3208443820476532, 0.2034468799829483, 0.9239524006843567, 0.09645431488752365, -0.489459753036499, 0.46004772186279297, -0.1131393313407898, -0.5212493538856506, -0.5830557942390442, -1.1642545461654663, -0.49143117666244507, -0.308851420879364, -0.3962573707103729, -0.6207274198532104, 0.2904492914676666, 1.0330407619476318, 0.6080204248428345, -0.8508102893829346, 0.24673224985599518, 0.039368096739053726, -0.00857185572385788, -0.32186391949653625, -0.10538424551486969, 0.8064351677894592, 0.2011953741312027, -0.47170722484588623, 0.37108397483825684, 0.18043828010559082, 0.22700998187065125, -0.1741415560245514, -0.19149941205978394, -0.1789105385541916, -0.18398752808570862, 0.6306359171867371, 0.31207433342933655, -0.5718735456466675, -0.08820716291666031, 0.00882328487932682, -0.21712319552898407, -0.13533717393875122, 0.48198428750038147, -0.9865887761116028, 0.49258384108543396, 0.380329430103302, 0.528586745262146, 0.5067371726036072, 0.08873060345649719, 0.44441676139831543, -0.21249626576900482, 0.03196459636092186, 0.5208849310874939, 0.42460525035858154, 0.38462960720062256, -0.9140399694442749, 0.18293339014053345, -0.07288220524787903, -0.38921016454696655, -0.5611878633499146, 0.2373846024274826, -0.9743627309799194, -0.05756644904613495, 1.1160508394241333, -0.09582202881574631, -0.19057446718215942, -0.43290969729423523, -0.06393987685441971, 0.31227463483810425, -0.6348127722740173, 0.7825390100479126, 0.2594396770000458, -0.48783499002456665, 0.09156446158885956, -0.8296547532081604, 0.5087248682975769, 0.27794358134269714, -0.735715389251709, 0.06331407278776169, 0.7262861728668213, 0.08103334903717041, 0.05932619422674179, 0.6804669499397278, -0.3635480999946594, 0.3794323801994324, -0.3441532552242279, 0.12846516072750092, -0.14013202488422394, -0.44356006383895874, -0.4351522624492645, -0.13019242882728577, 0.28020012378692627, -0.20268338918685913 ]
http://arxiv.org/abs/2405.16412v2
http://arxiv.org/pdf/2405.16412v2
KG-FIT: Knowledge Graph Fine-Tuning Upon Open-World Knowledge
2024-05-26T03:04:26
2024-06-04T07:35:32
Pengcheng Jiang, Lang Cao, Cao Xiao, Parminder Bhatia, Jimeng Sun, Jiawei Han
cs.CL
cs.CL, cs.LG
Knowledge Graph Embedding (KGE) techniques are crucial in learning compact representations of entities and relations within a knowledge graph, facilitating efficient reasoning and knowledge discovery. While existing methods typically focus either on training KGE models solely based on graph structure or fine-tuning pre-trained language models with classification data in KG, KG-FIT leverages LLM-guided refinement to construct a semantically coherent hierarchical structure of entity clusters. By incorporating this hierarchical knowledge along with textual information during the fine-tuning process, KG-FIT effectively captures both global semantics from the LLM and local semantics from the KG. Extensive experiments on the benchmark datasets FB15K-237, YAGO3-10, and PrimeKG demonstrate the superiority of KG-FIT over state-of-the-art pre-trained language model-based methods, achieving improvements of 14.4%, 13.5%, and 11.9% in the Hits@10 metric for the link prediction task, respectively. Furthermore, KG-FIT yields substantial performance gains of 12.6%, 6.7%, and 17.7% compared to the structure-based base models upon which it is built. These results highlight the effectiveness of KG-FIT in incorporating open-world knowledge from LLMs to significantly enhance the expressiveness and informativeness of KG embeddings.
[ -0.7297208309173584, -0.7595087289810181, 0.6467136144638062, -0.3444564938545227, -0.15291818976402283, -0.08733002841472626, -0.1077970489859581, -0.3698999583721161, 0.19604644179344177, 0.43219253420829773, -0.5607328414916992, -0.9088518619537354, -0.5807342529296875, -0.10355135798454285, 0.09919742494821548, 0.7218062877655029, -0.37331560254096985, -0.04354942589998245, -0.3704058825969696, -0.22221721708774567, -0.47076132893562317, 0.08368758857250214, -0.4695001244544983, -0.596130907535553, 0.68295818567276, 0.41079407930374146, 0.9287475347518921, 0.8428175449371338, 0.18928378820419312, 0.15159796178340912, -0.19494491815567017, 0.35303008556365967, -0.8143457770347595, 0.12942518293857574, -0.16080990433692932, -0.4813292920589447, -0.43048936128616333, -0.018124544993042946, 0.5643371939659119, 0.888946533203125, -0.1953134685754776, 0.22739599645137787, 0.13723212480545044, 0.7610369324684143, -0.8524665236473083, 0.5019950270652771, -0.6081163883209229, 0.13161468505859375, -0.052397508174180984, 0.05382668599486351, -0.4524696469306946, -0.5046262741088867, 0.16163475811481476, -0.9852908253669739, -0.10338256508111954, 0.3485576808452606, 0.8276193141937256, 0.5357210040092468, -0.5852475166320801, -0.3877890408039093, -0.3509007394313812, 0.373594731092453, -0.5597408413887024, 1.1061058044433594, 0.48503541946411133, 0.4780448377132416, -0.4848921298980713, -0.8728955388069153, -0.37136217951774597, -0.21846750378608704, -0.35173097252845764, 0.050750743597745895, 0.0018294269684702158, 0.20215728878974915, 0.15896311402320862, 0.29435455799102783, -0.2377534955739975, 0.22883903980255127, -0.1339411586523056, -0.2847105860710144, 0.4100099503993988, 0.016793277114629745, 0.18868879973888397, -0.03572484850883484, -0.07584225386381149, -0.14750121533870697, -0.8727273941040039, -0.1942577064037323, 0.4440464377403259, 0.24240083992481232, 0.1512361615896225, 0.6713605523109436, -0.697803795337677, 0.8885210752487183, -0.03788066282868385, -0.3926084339618683, 0.08365222811698914, -0.08671026676893234, -0.36297348141670227, 0.040104418992996216, 0.6298068761825562, 0.37738165259361267, 0.4399762749671936, -0.7486769556999207, 0.08368860185146332, -0.044337619096040726, 0.18114730715751648, -0.9333182573318481, -0.5124148726463318, -0.0933951586484909, -0.5008320808410645, -0.27166563272476196, 0.02565200813114643, -0.5213665962219238, -0.21372276544570923, -0.5547665357589722, 0.45981118083000183, -0.5788601636886597, -0.025917084887623787, 0.1757555902004242, -0.1922934204339981, -0.011227669194340706, 0.29679206013679504, -0.6778538227081299, 0.1765834242105484, 0.503423273563385, 0.6006713509559631, 0.10912836343050003, -0.09075244516134262, -0.25685518980026245, 0.600429117679596, -0.40266233682632446, 0.7052728533744812, -0.5218705534934998, -0.262235164642334, -0.004150494001805782, -0.005386808421462774, -0.052729781717061996, -0.5603136420249939, 0.5761075615882874, -0.8107813596725464, -0.05738436058163643, -0.4067314565181732, -0.8907479047775269, -0.3119787871837616, 0.5405282378196716, -0.5344162583351135, 1.1096543073654175, 0.3295844495296478, -0.7826559543609619, 0.6277710795402527, -0.6976746320724487, -0.2078857123851776, -0.25065934658050537, -0.04269373044371605, -0.4861961305141449, -0.08666298538446426, 0.46104317903518677, 0.7329177260398865, -0.17142653465270996, -0.1062941774725914, -0.7456377744674683, -0.0861024409532547, -0.2971700429916382, 0.13251449167728424, 0.27182838320732117, 0.2110612839460373, 0.11950604617595673, -0.20756052434444427, -0.7862550616264343, 0.48335209488868713, 0.12009254097938538, -0.3744993805885315, -0.447429895401001, 0.08815494179725647, -0.4589807987213135, -0.12959237396717072, 0.1617116779088974, -0.6240140795707703, 0.48952269554138184, -0.45495790243148804, 0.1608077883720398, 0.574634313583374, 0.11046169698238373, 0.46814125776290894, -0.2578584849834442, 0.41080841422080994, -0.06360773742198944, 0.06665538251399994, 0.07120900601148605, -0.6787276864051819, -0.2930997610092163, -0.21264097094535828, 0.5931758284568787, 0.3713919520378113, -0.6542180180549622, 0.34833118319511414, -0.4728381633758545, -0.8698310256004333, -0.5334338545799255, 0.1263289600610733, 0.23683135211467743, 0.6542643904685974, 0.4242519438266754, -0.10726667940616608, -0.2668442726135254, -0.8625905513763428, -0.3714383542537689, 0.03516123443841934, -0.038590893149375916, 0.6710217595100403, 0.3851120173931122, -0.5580121278762817, 1.1894584894180298, -1.0478805303573608, -0.19729411602020264, 0.1771474927663803, -0.20044374465942383, 0.017010902985930443, 0.2716417908668518, 0.5389760732650757, -0.8068975806236267, -0.8707753419876099, 0.43602868914604187, -0.7181129455566406, -0.11600986123085022, 0.5813981294631958, -0.3597479462623596, -0.25477704405784607, 0.5425324440002441, -0.4570019841194153, 0.3941575288772583, 0.4644875228404999, -0.48959654569625854, 0.3721340000629425, -0.131486177444458, 0.22597412765026093, -1.3945258855819702, -0.12561658024787903, -0.20286139845848083, -0.19591090083122253, -0.332040399312973, 0.10310207307338715, 0.18496085703372955, -0.02215265855193138, -0.12760750949382782, 0.5372483134269714, -0.3947746157646179, -0.048691052943468094, 0.030431149527430534, 0.3684338629245758, -0.21646517515182495, 0.38899660110473633, -0.43973782658576965, 0.46572884917259216, 0.47828689217567444, -0.7306666970252991, 0.2932114601135254, 0.5129330158233643, -0.5152428150177002, 0.4640955626964569, -0.3767803907394409, 0.24691326916217804, -0.27750369906425476, 0.1221848726272583, -0.9057085514068604, -0.5742185711860657, 0.2228347808122635, -0.42274847626686096, 0.5871729850769043, -0.4957018196582794, -0.6629105806350708, -0.2419622391462326, -0.13358326256275177, 0.3554264008998871, 0.5310999751091003, -0.7180517911911011, 0.7980556488037109, 0.44428715109825134, 0.2768191695213318, -0.5829529166221619, -0.3555655777454376, -0.3914755880832672, -0.14319051802158356, -0.920650064945221, 0.573676586151123, 0.06341692060232162, 0.16711242496967316, 0.46822354197502136, -0.30760282278060913, -0.08986259996891022, 0.20609252154827118, 0.24790069460868835, -0.09954483807086945, -0.29682570695877075, 0.07000355422496796, 0.2416526973247528, -0.25652047991752625, -0.19432389736175537, -0.6271976232528687, 0.5476287603378296, 0.15178367495536804, -0.48102903366088867, -0.33922937512397766, -0.15115053951740265, 0.6483930945396423, -0.07220650464296341, 0.9595003724098206, 0.6077758073806763, -0.4198339879512787, -0.28329768776893616, -0.45267432928085327, -0.09612555056810379, -0.46481722593307495, 0.4759952425956726, -0.43397057056427, -1.222504734992981, 0.5762411952018738, -0.6847893595695496, -0.2006780058145523, 0.4228597581386566, 0.3601210117340088, -0.1496247947216034, 1.0576887130737305, 0.7848328948020935, -0.20080168545246124, 0.3335902690887451, -0.14273937046527863, 0.30206871032714844, -0.9582145810127258, -0.532041609287262, -0.5466545224189758, -0.48117634654045105, -0.837950587272644, -0.300216406583786, 0.5255863070487976, 0.7692686915397644, -0.3924613296985626, 0.3988136053085327, -0.3861505687236786, 0.757500410079956, 0.3454168438911438, 0.16799022257328033, 0.07296131551265717, 0.08705149590969086, -0.5477331876754761, -0.04900088533759117, -0.9046366214752197, -0.2719084620475769, 1.1598480939865112, 0.26748907566070557, 0.9617369771003723, 0.16161437332630157, 0.6729207038879395, -0.051198091357946396, 0.48072823882102966, -1.0056463479995728, 0.3907814025878906, -0.0875738188624382, -0.23962128162384033, -0.19944153726100922, -0.6631416082382202, -0.9974148869514465, 0.12221945822238922, -0.20792903006076813, -0.9153508543968201, -0.22012518346309662, 0.3210603892803192, 0.08713170886039734, 0.5450425744056702, -0.7119572162628174, 0.9798596501350403, 0.27635011076927185, 0.2044648826122284, -0.2144812047481537, -0.2792786955833435, 0.1936599314212799, -0.06351391226053238, 0.08854573220014572, -0.23136328160762787, 0.0403876006603241, 0.5913477540016174, -0.29713547229766846, 0.7231713533401489, -0.19063284993171692, -0.09445803612470627, 0.2749554514884949, 0.13803565502166748, 0.8624312281608582, 0.012225717306137085, 0.04517434164881706, 0.07010574638843536, -0.017760474234819412, -0.3931891918182373, -0.988081693649292, 0.704196035861969, -0.9413818120956421, -0.29759523272514343, 0.4516453146934509, -0.592496931552887, -0.6645200848579407, 0.3933519124984741, 0.10734881460666656, 0.39289507269859314, -0.10794719308614731, 0.4777311682701111, 0.7868306040763855, -0.09757900983095169, -0.12272021919488907, 0.38376620411872864, -0.4020664393901825, -0.8665927648544312, 0.6257128715515137, 0.25881853699684143, 0.3509514629840851, 0.5923974514007568, 0.3741667568683624, -0.3898743689060211, -0.5029571056365967, -0.24441559612751007, 0.2660871744155884, -1.0005208253860474, -0.4348737299442291, -0.5092984437942505, -0.0895269587635994, -0.5052741169929504, -0.3390144407749176, -0.35961318016052246, -0.33181875944137573, 0.17625692486763, -0.09699584543704987, 0.32533904910087585, 1.0360039472579956, 0.1389733850955963, 0.4034934937953949, -0.877781867980957, 0.10770780593156815, 0.22081653773784637, 0.7583643794059753, -0.04303118586540222, -0.07016375660896301, -0.5069994926452637, -0.02024652436375618, -0.26789239048957825, -0.9692326784133911, -0.18157032132148743, 0.13244375586509705, 0.8688845634460449, 0.24610942602157593, -0.04116253927350044, 0.7676099538803101, -0.4757622182369232, 0.4668368995189667, 0.13079506158828735, -0.5599828958511353, 0.6956010460853577, -0.41707420349121094, 0.21336376667022705, 0.4983333349227905, 0.8045771718025208, -0.5737230181694031, -0.14920856058597565, -0.5449621081352234, -0.5804339051246643, 0.5862234830856323, 0.1802881509065628, -0.3050304651260376, 0.025160979479551315, 0.9252310991287231, -0.08133131265640259, 0.14922930300235748, -0.5368438959121704, -0.38458070158958435, 0.14547480642795563, -0.5575770735740662, 0.26828864216804504, -0.15652842819690704, -0.11361849308013916, -0.31500253081321716, 0.8394185900688171, -0.5965767502784729, 0.32662954926490784, 0.05800309404730797, -0.03379838913679123, -0.19110171496868134, -0.12368468195199966, 0.059145379811525345, 0.5696007609367371, -0.050815317779779434, -0.0049273669719696045, 0.4818804860115051, -0.48445263504981995, -0.04780147224664688, 0.0635019838809967, -0.3355463743209839, -0.23345156013965607, 0.34433799982070923, 0.7849409580230713, 0.3749189078807831, -0.34854307770729065, 0.2109329253435135, 0.21358869969844818, -0.1947273463010788, 0.2586977183818817, 0.3287701904773712, 0.2635717988014221, 0.44525405764579773, -0.24930347502231598, 0.10684007406234741, -0.10635070502758026, -0.35696256160736084, 0.14557166397571564, 0.480741024017334, -0.4472968578338623, -0.18703562021255493, 0.6863775253295898, -0.1635676622390747, 0.033148039132356644, 0.6459019780158997, -0.24395368993282318, -0.5725753307342529, 0.49696749448776245, 0.558836042881012, 0.6371983289718628, -0.16255542635917664, -0.033757299184799194, 0.5560347437858582, 0.1891639530658722, 0.019145702943205833, 0.07521579414606094, -0.19834646582603455, -1.094399094581604, -0.6040900349617004, -0.8539323210716248, -0.17390143871307373, -0.247184619307518, -0.6476842761039734, 0.4101274609565735, -0.14529943466186523, -0.028794825077056885, -0.19922152161598206, 0.042210426181554794, -0.7840996980667114, 0.23587529361248016, 0.02533665858209133, 1.1936322450637817, -0.6015037894248962, 0.890592098236084, 0.9381623864173889, -0.14365516602993011, -1.0648432970046997, 0.04368472471833229, -0.1582440882921219, -1.016813039779663, 0.70904541015625, 0.16275130212306976, -0.04790448024868965, 0.361529678106308, -0.4452955722808838, -1.2985156774520874, 1.692240834236145, 0.5474940538406372, -0.3940120339393616, 0.04454309493303299, 0.24858684837818146, 0.15050503611564636, -0.27244833111763, 0.027163878083229065, 0.39932942390441895, 0.4723220467567444, 0.31837621331214905, -1.1433727741241455, -0.0620575025677681, 0.30331069231033325, 0.05375611409544945, 0.8806867003440857, -0.6021974086761475, 0.280756413936615, -0.057723596692085266, -0.08330181241035461, -0.18551617860794067, 0.5747429728507996, 0.13963326811790466, 0.3128034770488739, 0.5195869207382202, 1.3722103834152222, 1.1736571788787842, -0.20494574308395386, 1.0318838357925415, -0.5092697739601135, 0.640515923500061, 0.7871164083480835, 0.018530817702412605, 0.7819110751152039, 0.04363406449556351, -0.2417025864124298, 0.6215498447418213, 0.6701313257217407, 0.22934219241142273, 0.8303061723709106, -0.045946333557367325, -0.0349494144320488, -0.269254207611084, 0.038298770785331726, -0.4094312787055969, 0.27815866470336914, 0.4376603960990906, -0.2583347260951996, -0.4388763904571533, -0.23288455605506897, 0.222805917263031, -0.27133145928382874, -0.5234646797180176, 0.7817783951759338, 0.06613229960203171, -0.5978360176086426, 0.29537346959114075, -0.024507636204361916, 0.3188602030277252, -0.8929547667503357, 0.16590426862239838, 0.16724836826324463, 0.2664189040660858, -0.25010108947753906, -0.8486576676368713, 0.30778393149375916, -0.4630144536495209, -0.281735897064209, -0.1404179483652115, 1.0906238555908203, -0.3785623610019684, -0.10033541172742844, 0.4248226583003998, 0.402892529964447, -0.15121956169605255, -0.07918181270360947, -0.45398736000061035, -0.23222632706165314, 0.1684907227754593, -0.31298330426216125, 0.4843374490737915, 0.6958247423171997, 0.13387730717658997, 0.7213590741157532, 0.615045964717865, -0.2385735660791397, 0.10787005722522736, -0.17131301760673523, 0.9968447089195251, -0.42461153864860535, -0.42278510332107544, -0.7541608214378357, 0.3738878667354584, -0.07058049738407135, -0.2713715434074402, 0.7207410931587219, 0.6141746640205383, 1.1462395191192627, 0.1131298616528511, 0.5460089445114136, -0.18876561522483826, 0.144632950425148, -0.850238561630249, 0.8252062201499939, -0.5813148021697998, -0.15765687823295593, -0.09107953310012817, -1.075547456741333, -0.26878833770751953, 0.5322819948196411, -0.3504558801651001, 0.18477129936218262, 0.571082353591919, 0.8224425315856934, -0.3126736283302307, 0.0563683919608593, 0.34593474864959717, 0.3196657598018646, 0.29689720273017883, 0.31845536828041077, 0.5699042677879333, -0.40282583236694336, 0.48335152864456177, -0.25696122646331787, -0.05331145226955414, -0.011489242315292358, -0.9402233958244324, -0.940922200679779, -0.3514370024204254, -0.3916832506656647, -0.39123955368995667, -0.1854160577058792, 0.7774425148963928, 0.89005446434021, -0.5340730547904968, 0.26193931698799133, -0.13997390866279602, 0.06177891790866852, 0.10124023258686066, -0.18580691516399384, 0.3738064765930176, -0.49663448333740234, -0.41839703917503357, 0.5737597346305847, 0.26890501379966736, 0.024865727871656418, -0.03542156144976616, -0.380622535943985, 0.12504789233207703, -0.21908046305179596, 0.666652262210846, -0.09141460061073303, -0.6125932931900024, -0.5867691040039062, -0.04575808346271515, 0.24363979697227478, -0.16934455931186676, 0.7040990591049194, -0.8624149560928345, 0.5482743382453918, 0.48483607172966003, 0.9697842597961426, 0.7055841684341431, -0.15419964492321014, 0.5594751238822937, -0.9225602746009827, -0.15304403007030487, 0.06334682554006577, 0.6200159192085266, 0.08008100092411041, -0.329523503780365, 0.7760920524597168, 0.385040283203125, -0.7579299211502075, -0.5910373330116272, 0.5333518981933594, -0.8163485527038574, -0.24826975166797638, 0.9785329103469849, -0.17677325010299683, -0.25597691535949707, 0.08018312603235245, -0.11709652841091156, 0.47052091360092163, 0.06543958932161331, 0.5256231427192688, 0.9459896683692932, -0.20677345991134644, 0.1951117366552353, -0.6867562532424927, 0.4359824061393738, 0.13078069686889648, -0.7541024684906006, -0.29903051257133484, 0.29547199606895447, 0.4853442311286926, 0.2052415907382965, 0.3133021891117096, 0.14342831075191498, 0.0035742162726819515, -0.06056638062000275, -0.2671056389808655, -0.2768801748752594, -0.22934216260910034, 0.4783579707145691, 0.40689605474472046, 0.13549694418907166, 0.06621754169464111 ]
http://arxiv.org/abs/2405.16411v1
http://arxiv.org/pdf/2405.16411v1
Tensor Attention Training: Provably Efficient Learning of Higher-order Transformers
2024-05-26T02:59:13
2024-05-26T02:59:13
Jiuxiang Gu, Yingyu Liang, Zhenmei Shi, Zhao Song, Yufa Zhou
cs.LG
cs.LG, cs.AI, cs.CL
Tensor Attention, a multi-view attention that is able to capture high-order correlations among multiple modalities, can overcome the representational limitations of classical matrix attention. However, the $\Omega(n^3)$ time complexity of tensor attention poses a significant obstacle to its practical implementation in transformers, where $n$ is the input sequence length. In this work, we prove that the backward gradient of tensor attention training can be computed in almost linear $n^{1+o(1)}$ time, the same complexity as its forward computation under a bounded entries assumption. We provide a closed-form solution for the gradient and propose a fast computation method utilizing polynomial approximation methods and tensor algebraic tricks. Furthermore, we prove the necessity and tightness of our assumption through hardness analysis, showing that slightly weakening it renders the gradient problem unsolvable in truly subcubic time. Our theoretical results establish the feasibility of efficient higher-order transformer training and may facilitate practical applications of tensor attention architectures.
[ -0.48420318961143494, -0.5196307897567749, 0.3868314325809479, 0.5678396821022034, -0.06652849912643433, 0.11545012891292572, -0.23391976952552795, -0.3109414577484131, 0.27296438813209534, -0.12150882184505463, -0.7393778562545776, -0.04589780420064926, -0.8699229955673218, -0.04884699359536171, -0.23780056834220886, 0.7620016932487488, -0.17790834605693817, 0.14426033198833466, 0.22253283858299255, -0.3107862174510956, -0.2710987329483032, -0.2386924773454666, -0.6075761914253235, -0.07864223420619965, 0.7340070605278015, 0.13588552176952362, 0.441651314496994, 0.39957818388938904, 0.9957489371299744, 0.3347136974334717, -0.0921199768781662, 0.06630208343267441, -0.9675487279891968, 0.00873368326574564, 0.012601551599800587, -0.4935435354709625, -0.450188010931015, 0.1629851758480072, 0.667563796043396, 0.4322025179862976, 0.14941942691802979, 0.4371758997440338, -0.05774366110563278, 0.8452142477035522, -0.9523081183433533, 0.12306148558855057, -0.2573412358760834, 0.5655338764190674, 0.05089237168431282, -0.19524462521076202, -0.61986243724823, -0.23425422608852386, 0.12234780937433243, -0.6929888725280762, 0.595263659954071, -0.1482761949300766, 0.8078688979148865, 0.5153693556785583, 0.03268274664878845, 0.3470451235771179, -0.9140574336051941, 0.986745297908783, 0.008033473044633865, 1.0764641761779785, 0.20906947553157806, 0.5725243091583252, 0.09452002495527267, -0.88527512550354, -0.32772743701934814, 0.0012556790607050061, -0.10373968631029129, 0.4980953633785248, -0.17340247333049774, 0.055622927844524384, 0.45666542649269104, 0.5573883056640625, -0.2412160485982895, -0.026002075523138046, -0.2948678731918335, 0.02461078204214573, 0.09885095804929733, 0.23669645190238953, -0.3596764802932739, 0.13950438797473907, -0.5334314703941345, -0.17699408531188965, -0.4494427740573883, 0.009437719359993935, 0.16774994134902954, -0.2938365638256073, -0.1135801300406456, 0.24683021008968353, -0.06368858367204666, 0.34813013672828674, 0.48647862672805786, -0.04234019294381142, -0.04942186921834946, -0.057940881699323654, -0.38519129157066345, -0.24252572655677795, 0.48283153772354126, 0.010922929272055626, 0.12847912311553955, -0.5727823972702026, -0.04497862607240677, -0.04214777052402496, 0.5733679533004761, -0.683394730091095, 0.20165684819221497, 0.2791077494621277, -0.41411304473876953, 0.10461321473121643, -0.08810677379369736, -0.7823380827903748, -0.06851576268672943, -0.13590940833091736, 0.41314342617988586, -0.2820355296134949, -0.08934692293405533, 0.028317593038082123, 0.17885057628154755, 0.4560771882534027, 0.33524155616760254, -0.908589243888855, 0.16086140275001526, 0.9219818711280823, 0.9599997401237488, 0.006223598495125771, -0.24331115186214447, -0.821641206741333, -0.027509160339832306, -0.246581569314003, 0.4203284680843353, -0.4065345823764801, -0.019889621064066887, -0.1733749657869339, -0.35408398509025574, -0.34484410285949707, -0.20560523867607117, 0.52082759141922, -1.0130890607833862, 0.1832931637763977, 0.2945294976234436, -0.258633017539978, 0.018742313608527184, 0.30567601323127747, -0.5975660681724548, 0.6878311634063721, 0.4195202887058258, -0.7280119061470032, 0.038392260670661926, -0.6988500952720642, -0.5659720301628113, -0.1298828274011612, 0.03465768322348595, -0.8176224231719971, 0.25943559408187866, 0.28560054302215576, 0.6125767230987549, -0.34237417578697205, -0.001976911211386323, -0.2942699193954468, -0.506270706653595, 0.13077613711357117, -0.4807191789150238, 0.49071940779685974, 0.20967072248458862, -0.5570359826087952, 0.05266997963190079, -0.5680915713310242, -0.1651116907596588, 0.12858730554580688, -0.45597392320632935, 0.0929584875702858, -0.43647274374961853, 0.06278574466705322, -0.01377299427986145, 0.06759769469499588, -0.6553282737731934, 0.2760707139968872, -0.2866533696651459, 0.42538806796073914, 0.8183866143226624, -0.3383657932281494, 0.6266161799430847, 0.23605044186115265, 0.5684564113616943, 0.027781672775745392, 0.5725283622741699, -0.11235301941633224, -0.30935412645339966, -0.9736855626106262, -0.5744553804397583, 0.5095400810241699, 0.20986972749233246, -0.4877752661705017, 0.07332190871238708, -0.5626306533813477, -0.5512721538543701, -0.48230692744255066, -0.07596704363822937, 0.6986603736877441, 0.49770572781562805, 0.5695093274116516, -0.2980862855911255, -0.5856637358665466, -0.7177762985229492, -0.19643686711788177, -0.022109583020210266, -0.08454224467277527, 0.198100283741951, 0.35097628831863403, -0.13943630456924438, 0.5907474160194397, -0.721631646156311, -0.5531266331672668, -0.056490208953619, 0.2307026982307434, 0.29095789790153503, 0.43593326210975647, 0.253457635641098, -0.7480252981185913, -0.23834197223186493, -0.11576469987630844, -0.6938232779502869, 0.6332382559776306, -0.020312586799263954, -0.19126051664352417, -0.06019151955842972, 0.6042587161064148, -0.7687281966209412, 0.567732572555542, 0.16133318841457367, 0.1605769246816635, -0.012225454673171043, -0.07010357826948166, -0.15999099612236023, -0.8992555737495422, 0.10281788557767868, 0.27679046988487244, -0.06613795459270477, -0.7763445377349854, 0.11580783128738403, 0.26608169078826904, -0.10080138593912125, -0.38378196954727173, 0.3651983439922333, -0.4100019037723541, -0.045807380229234695, 0.07302436977624893, -0.1317543387413025, -0.20749929547309875, 1.042142391204834, 0.23188365995883942, 0.15183070302009583, 0.29387298226356506, -0.6195888519287109, 0.17591814696788788, 0.3541222810745239, -0.11972709745168686, 0.8130331039428711, -0.5445845127105713, 0.2760908603668213, -0.3841705322265625, 0.279666930437088, -0.817173182964325, -0.07908325642347336, 0.2679623067378998, -0.5772926211357117, 0.5544581413269043, -0.33872148394584656, -0.07505684345960617, -0.33097606897354126, -0.28015729784965515, 0.7521376013755798, 0.4308677315711975, -0.818228542804718, 0.8826318383216858, -0.10758436471223831, 0.32884925603866577, -1.2839205265045166, -0.4592643678188324, -0.24577151238918304, -0.10156957060098648, -0.43811938166618347, 0.2823801040649414, 0.17975150048732758, -0.08139500021934509, -0.18092890083789825, -0.15501928329467773, 0.020440509542822838, 0.2698201835155487, -0.05686744302511215, 0.03654708340764046, -0.4504908621311188, -0.033202167600393295, -0.3950066566467285, -0.40783363580703735, -0.015523940324783325, -0.3484959006309509, 0.6228825449943542, -0.09003546833992004, -0.2948508858680725, -0.5467022061347961, 0.4212072193622589, 0.7624132037162781, -0.41793155670166016, 0.3893747925758362, 1.1016807556152344, -0.5609506964683533, 0.11312402039766312, -0.582359254360199, -0.3695162236690521, -0.4388320744037628, 0.6180214881896973, -0.3208097517490387, -0.4993199110031128, 0.41548776626586914, 0.365048885345459, 0.2341206669807434, 0.384443074464798, 0.7022911906242371, 0.086232028901577, 1.0178529024124146, 0.6459916234016418, -0.2314465492963791, 0.7550184726715088, -0.5959979295730591, 0.47390055656433105, -0.9311699867248535, -0.4186538755893707, -0.2838643193244934, -0.8048778176307678, -0.4981323182582855, -0.10475769639015198, 0.428092360496521, -0.20309065282344818, -0.2825513482093811, 0.27313947677612305, -0.1971331387758255, 0.5169309973716736, 0.6631121039390564, 0.3212962746620178, 0.020557276904582977, -0.05412299931049347, 0.1632416695356369, -0.07945609092712402, -0.6820127964019775, 0.39746588468551636, 0.7103953957557678, 0.6777963042259216, 1.0445808172225952, 0.23088689148426056, 0.5481843948364258, -0.11974606662988663, 0.44490134716033936, -1.256745457649231, 0.24963197112083435, 0.11639053374528885, -0.4079005718231201, -0.2772074341773987, -0.45204275846481323, -0.8147900700569153, 0.15682131052017212, 0.012388285249471664, -0.47575831413269043, 0.5427055358886719, 0.1674087643623352, -0.41515424847602844, 0.2505754828453064, -1.028552532196045, 0.5246484875679016, -0.004971702583134174, -0.7505524158477783, -0.20912912487983704, -0.916343092918396, 0.23864151537418365, 0.05293092876672745, -0.1384681612253189, 0.18021321296691895, 0.1471693217754364, 0.7709948420524597, -0.3779427111148834, 0.6168845891952515, -0.3199479281902313, -0.03359471261501312, -0.10922212898731232, 0.04462413117289543, 0.26643994450569153, 0.3939618766307831, 0.5665136575698853, 0.004135947208851576, -0.785656750202179, -0.5727506875991821, -0.8185555934906006, 0.4438437223434448, -0.6826440691947937, -0.6966831684112549, -0.33588501811027527, -0.5859168171882629, -0.5037345290184021, 0.2598153054714203, 0.2725895047187805, 0.6277956962585449, 0.29532501101493835, 0.24332047998905182, 0.9422546029090881, 0.3869481086730957, 0.7495303153991699, 0.12580007314682007, 0.285025954246521, -0.5314481258392334, 0.838610053062439, 0.1499669849872589, 0.02367679588496685, 0.839818000793457, 0.1119331419467926, -0.2958420515060425, -0.3148541748523712, -0.4182208180427551, 0.32071173191070557, -0.7625390291213989, -0.3275340497493744, -0.6925575733184814, -0.1569201648235321, -0.30597782135009766, -0.13238020241260529, -0.5656930804252625, -0.4682857096195221, -0.2493387758731842, 0.1055474802851677, 0.30254900455474854, 0.5449900031089783, -0.001467163790948689, 0.283059686422348, -0.7676812410354614, 0.6221709251403809, 0.47291234135627747, 0.8058911561965942, 0.29762890934944153, -0.45533791184425354, -0.4957888722419739, -0.4313090443611145, -0.37521106004714966, -0.38029927015304565, 0.12637291848659515, 0.12209900468587875, 0.4922127425670624, 0.6239944100379944, -0.1677825003862381, 0.649553656578064, -0.5616995692253113, 0.30050861835479736, 0.3884217441082001, -0.7414663434028625, 0.10342611372470856, -0.06408532708883286, 0.3210791349411011, 0.27222612500190735, 0.6018131971359253, -0.27985525131225586, -0.19332259893417358, -0.6660341620445251, -0.7524844408035278, 0.8829683661460876, 0.5335206985473633, 0.02136223576962948, 0.282363623380661, 0.3619222640991211, -0.19386687874794006, -0.0958251804113388, -0.3632868826389313, -0.41612499952316284, -0.5029061436653137, -0.23964259028434753, -0.31087741255760193, -0.11032333970069885, -0.07355448603630066, -0.27466627955436707, 0.5417709350585938, -0.17954684793949127, 0.9229610562324524, 0.3506731688976288, -0.30628281831741333, 0.008376258425414562, 0.11649127304553986, 0.9204046130180359, 0.4205341339111328, -0.31207090616226196, 0.2935331165790558, 0.09869234263896942, -0.8969094753265381, 0.09095217287540436, 0.18971921503543854, 0.1708063781261444, -0.16897478699684143, 0.19228313863277435, 0.8076780438423157, 0.11818249523639679, -0.08830352127552032, 0.569986879825592, -0.5513471364974976, -0.025907911360263824, -0.06957680732011795, -0.25132450461387634, -0.08549939841032028, 0.4783370792865753, 0.5372974872589111, 0.3117172420024872, 0.03570196405053139, 0.049104198813438416, -0.049749333411455154, 0.32191213965415955, -0.8899127244949341, -0.30828455090522766, 0.9400237202644348, 0.11586200445890427, -0.43120601773262024, 0.6302587985992432, 0.2796209454536438, -0.5647428035736084, 0.5251709222793579, 0.3781559467315674, 1.0411008596420288, -0.2148766666650772, -0.16419275104999542, 0.26117148995399475, 0.14161524176597595, 0.1121763288974762, 0.06485218554735184, -0.38035717606544495, -0.3846060037612915, -0.6032528877258301, -0.3684726357460022, -0.4420318603515625, 0.12409653514623642, -0.6847400069236755, 0.230817511677742, -0.7078894376754761, -0.15233804285526276, 0.15170849859714508, -0.5281014442443848, -0.7180113792419434, 0.27576616406440735, -0.09068385511636734, 0.6643556952476501, -0.3016803562641144, 0.35065242648124695, 0.42585116624832153, -0.2398337870836258, -0.36240705847740173, 0.024588046595454216, -0.5943505167961121, -0.9704942107200623, 0.8012111186981201, 0.47195670008659363, -0.5143045783042908, 0.30825984477996826, -0.37325069308280945, -0.4677225351333618, 0.7103187441825867, 0.5521236062049866, -0.33038556575775146, -0.17257536947727203, 0.07002311944961548, 0.5155086517333984, 0.11683693528175354, 0.5146485567092896, 0.43730345368385315, 0.20865017175674438, -0.1695621758699417, -0.5175713300704956, -0.17478050291538239, -0.40142369270324707, -0.07516692578792572, 0.38905835151672363, -1.0908424854278564, 0.7283025979995728, -0.31061744689941406, -0.11030823737382889, -0.11523603647947311, 1.0502794981002808, -0.3689284324645996, 0.11018600314855576, 0.3927738666534424, 0.6405693888664246, 0.25902485847473145, -0.29945358633995056, 0.9823085069656372, -0.13875767588615417, 0.8308324217796326, 0.4493255913257599, 0.14423012733459473, 0.4542941153049469, 0.740474283695221, -0.14888551831245422, 0.18042239546775818, 0.4654923379421234, 0.06107575073838234, 0.614710807800293, 0.027952194213867188, -0.1073123887181282, -0.19621215760707855, -0.04039619863033295, -0.40988555550575256, 0.37762320041656494, 0.19932998716831207, -0.5214458107948303, -0.0024060129653662443, 0.01791980303823948, -0.023041177541017532, -0.22279110550880432, -0.5301818251609802, 0.6551323533058167, 0.05675842985510826, -0.7611532211303711, 0.9423074722290039, -0.2127530872821808, 0.5227614641189575, -0.32128989696502686, -0.021454207599163055, -0.3645005524158478, 0.7710371613502502, -0.17403171956539154, -0.3763943910598755, -0.06996318697929382, -0.2478436976671219, -0.1642216444015503, -0.24734985828399658, 0.31105905771255493, -0.011116916313767433, -0.3646557033061981, -0.02364542707800865, 0.14043845236301422, -0.38625773787498474, 0.1588829606771469, -0.10505294054746628, -0.4469795823097229, -0.4216172397136688, -0.38271281123161316, 0.10375040024518967, -0.0962899923324585, 0.18774937093257904, 0.5894898772239685, 0.16968005895614624, -0.487113893032074, 0.3404170274734497, -0.150271475315094, 0.5157185196876526, -0.3756504952907562, -0.6355211734771729, -0.8370932936668396, 0.25901806354522705, 0.0011248048394918442, -0.456790953874588, 0.4199824035167694, 0.4332890510559082, 0.9025066494941711, -0.45419493317604065, 0.4628876745700836, 0.20023098587989807, 0.18279631435871124, -0.6421465873718262, 0.40886232256889343, -0.3854037821292877, -0.10128255933523178, -0.15658283233642578, -0.8989579677581787, -0.6689041256904602, 0.5883038640022278, -0.2507797181606293, 0.2299153059720993, 0.8787222504615784, 0.323426216840744, -0.3825308680534363, 0.24188101291656494, 0.1842297464609146, 0.014582142233848572, 0.3079768419265747, 0.805099368095398, 0.9708369374275208, -0.531816840171814, 0.5294978618621826, -0.5127219557762146, -0.047064460813999176, -0.2947530448436737, -0.64104825258255, -0.8938325643539429, -0.4259662926197052, -0.16537220776081085, -0.6436869502067566, -0.09169455617666245, 0.6897149682044983, 0.7049328088760376, -0.6208444833755493, 0.16046904027462006, -0.07780474424362183, 0.136625275015831, -0.5100475549697876, -0.18138696253299713, 0.7592552304267883, -0.22273442149162292, -0.967402458190918, -0.06692954152822495, 0.20398014783859253, -0.007501192856580019, -0.5863385796546936, -0.0981624498963356, -0.11520823836326599, -0.17367763817310333, 0.7000461220741272, 0.451808363199234, -0.40321072936058044, -0.26919025182724, 0.6814385056495667, -0.07387571036815643, 0.528186023235321, 1.1216881275177002, -0.7149305939674377, 0.35283076763153076, 0.5438048243522644, 1.0691317319869995, 0.8729293942451477, -0.26244744658470154, 0.29986926913261414, -0.9560357332229614, 0.22990567982196808, 0.1114194393157959, 0.4670661985874176, 0.30609288811683655, -0.5212472677230835, 0.5444770455360413, 0.39575836062431335, -0.19252438843250275, -0.6474795937538147, 0.4127502143383026, -1.070473313331604, 0.4211035668849945, 0.9986947178840637, -0.25676971673965454, -0.5610781908035278, -0.14456243813037872, -0.15929755568504333, 0.46222060918807983, -0.2704409062862396, 0.9120249152183533, 0.24029669165611267, -0.3349781334400177, -0.0859227180480957, -0.06872902810573578, 0.35021403431892395, 0.6642041802406311, -0.4438767433166504, -0.022562997415661812, -0.11831626296043396, -0.12439234554767609, 0.6908572316169739, 0.2271287888288498, -0.1671907901763916, 0.6872772574424744, -0.222691148519516, -0.43070200085639954, -0.05108770355582237, -0.46347296237945557, -0.3924976885318756, 0.4644790589809418, -0.23296451568603516, -0.4553789496421814 ]
http://arxiv.org/abs/2405.16406v2
http://arxiv.org/pdf/2405.16406v2
SpinQuant: LLM quantization with learned rotations
2024-05-26T02:15:49
2024-05-28T18:14:15
Zechun Liu, Changsheng Zhao, Igor Fedorov, Bilge Soran, Dhruv Choudhary, Raghuraman Krishnamoorthi, Vikas Chandra, Yuandong Tian, Tijmen Blankevoort
cs.LG
cs.LG, cs.AI, cs.CL, cs.CV
Post-training quantization (PTQ) techniques applied to weights, activations, and the KV cache greatly reduce memory usage, latency, and power consumption of Large Language Models (LLMs), but may lead to large quantization errors when outliers are present. Recent findings suggest that rotating activation or weight matrices helps remove outliers and benefits quantization. In this work, we identify a collection of applicable rotation parameterizations that lead to identical outputs in full-precision Transformer architectures, and find that some random rotations lead to much better quantization than others, with an up to 13 points difference in downstream zero-shot reasoning performance. As a result, we propose SpinQuant that optimizes (or learns) the rotation matrices with Cayley optimization on a small validation set. With 4-bit quantization of weight, activation, and KV-cache, SpinQuant narrows the accuracy gap on zero-shot reasoning tasks with full precision to merely 2.9 points on the LLaMA-2 7B model, surpassing LLM-QAT by 19.1 points and SmoothQuant by 25.0 points. SpinQuant also outperforms concurrent work QuaRot, which applies random rotations to remove outliers. In particular, for LLaMA-2 7B/LLaMA-3 8B models that are hard to quantize, SpinQuant reduces the gap to full precision by 30.2%/34.1% relative to QuaRot.
[ -0.23340140283107758, -0.614713728427887, 0.7083145380020142, 0.02853294089436531, -0.34255221486091614, 0.3502975106239319, -0.3047751188278198, -0.07835650444030762, 0.10358775407075882, 0.2538217306137085, -0.38992926478385925, -0.29985329508781433, -0.5410000681877136, -0.22101925313472748, -0.4653798043727875, 0.9876571893692017, -0.04566939175128937, 0.3542807996273041, -0.2568219304084778, -0.12577775120735168, -0.05559141933917999, -0.4193566143512726, -0.5619459748268127, -0.7809144258499146, 0.322593629360199, 0.46828389167785645, 1.0203216075897217, 0.40953561663627625, 0.621124804019928, 0.18168051540851593, -0.21606023609638214, -0.043849095702171326, -0.45475178956985474, 0.33412688970565796, -0.06311864405870438, -0.9336413145065308, -0.404548704624176, -0.17450672388076782, 0.48512086272239685, 0.6174214482307434, -0.34363865852355957, 0.3194461762905121, -0.3683583736419678, 1.0200212001800537, -0.7671850323677063, 0.17415615916252136, -0.5557252764701843, 0.28937968611717224, -0.2814827263355255, -0.07347583770751953, -0.22642730176448822, -0.3951503336429596, -0.04770281910896301, -0.8710911273956299, 0.3844219446182251, 0.03623316064476967, 0.9275280833244324, 0.3695008456707001, -0.2889598309993744, -0.009900807403028011, -0.9070957899093628, 1.0356109142303467, -0.45722928643226624, 0.34508800506591797, 0.16201408207416534, 0.27083492279052734, -0.08959099650382996, -0.6394969820976257, -0.7276419401168823, -0.16370680928230286, 0.42984890937805176, 0.4087351858615875, -0.32914721965789795, 0.0911954790353775, 0.4117073118686676, 0.6023561954498291, -0.5372044444084167, -0.0996803343296051, -0.45359691977500916, -0.015531390905380249, 0.350533127784729, 0.020202575251460075, -0.14096103608608246, -0.008377457968890667, -0.08637311309576035, -0.7686547040939331, -0.9823053479194641, 0.04609840363264084, 0.4779284596443176, -0.2737501561641693, 0.20280061662197113, 0.8997461199760437, -0.3903278112411499, 0.4965377449989319, 0.5609371066093445, -0.16723671555519104, 0.10759512335062027, 0.12110528349876404, -0.22312477231025696, -0.03502202406525612, 0.6786215901374817, 0.009910873137414455, 0.3294605314731598, -0.2485879808664322, -0.18292443454265594, -0.09335891157388687, 0.3245830535888672, -0.7363643050193787, -0.42873069643974304, 0.2691218852996826, -0.34316733479499817, -0.4154975712299347, 0.04861387610435486, -0.32153043150901794, -0.3808475434780121, -0.5689846873283386, 0.7855483293533325, -0.5899956822395325, -0.212279811501503, 0.34460002183914185, -0.2152496874332428, 0.5937960743904114, 0.44535017013549805, -0.5091734528541565, -0.059511225670576096, 0.8170679807662964, 0.5463687181472778, -0.3880542516708374, -0.009054887108504772, -0.2618013620376587, 0.017203956842422485, -0.5943062901496887, 0.7384582161903381, -0.1652841418981552, -0.1449318677186966, -0.2540636658668518, -0.5063309669494629, -0.005168806295841932, -0.5959070324897766, 0.38799506425857544, -0.9517987370491028, 0.17261825501918793, -0.3132731318473816, -0.3683297634124756, -0.4016770124435425, 0.2302449643611908, -0.7104645371437073, 1.0639808177947998, 0.2131624072790146, -0.5699476599693298, 0.24398748576641083, -0.4386464059352875, -0.3616943061351776, -0.07458963245153427, 0.027701007202267647, -0.6310967803001404, 0.5376920104026794, 0.1323196440935135, 0.16214913129806519, -0.7087352275848389, 0.36957788467407227, -0.28339266777038574, -0.46772709488868713, 0.5198677778244019, -0.4883294701576233, 0.8763061165809631, 0.23801396787166595, -0.35534587502479553, 0.1922752559185028, -0.7568822503089905, 0.2906651496887207, 0.2262854278087616, -0.057653944939374924, 0.023178378120064735, -0.27743303775787354, -0.45012110471725464, 0.039396386593580246, 0.2242100089788437, -0.2972407639026642, -0.02761959098279476, -0.35775601863861084, 0.24512478709220886, 0.5191680788993835, -0.1956184357404709, 0.7300781607627869, -0.4436083436012268, 0.7880011796951294, 0.2632404863834381, 0.14677782356739044, 0.06531409174203873, -0.4629228115081787, -1.2657976150512695, -0.3447595238685608, 0.33881139755249023, 0.7660331130027771, -1.0734736919403076, 0.42233017086982727, -0.4045988917350769, -0.6069161295890808, -0.3652826249599457, 0.026575326919555664, 0.4029437005519867, 0.37386569380760193, 0.37782686948776245, -0.18141233921051025, -0.3116929531097412, -0.7021316289901733, -0.2756839990615845, -0.2066834568977356, -0.24802598357200623, -0.3565713167190552, 0.39422133564949036, 0.1604187935590744, 0.9798581004142761, -0.49356502294540405, -0.1873054951429367, -0.23026026785373688, 0.41989845037460327, 0.40332505106925964, 0.19623099267482758, 0.19397200644016266, -0.49720948934555054, -0.5989691615104675, -0.06088469177484512, -0.6917182207107544, -0.01120828464627266, -0.03482887148857117, -0.12048453837633133, 0.20834612846374512, 0.4298665225505829, -1.1176481246948242, 0.4991668462753296, 0.41997289657592773, 0.15453210473060608, 0.6170685291290283, -0.18984705209732056, -0.0019032121635973454, -0.8529418110847473, -0.16575796902179718, -0.15751023590564728, -0.24467173218727112, -0.5934478640556335, 0.13956275582313538, 0.2241974174976349, -0.048293694853782654, -0.3157810866832733, 0.16690239310264587, -0.2645373046398163, -0.06082477793097496, -0.20979976654052734, 0.020270299166440964, 0.15551285445690155, 0.5107185244560242, 0.05581000819802284, 0.929564893245697, 0.3572081923484802, -0.2536770701408386, 0.28444746136665344, -0.14242540299892426, -0.15835174918174744, 0.7197594046592712, -0.701368510723114, 0.2474973201751709, -0.32446733117103577, 0.1381828337907791, -0.9464979767799377, 0.1869472861289978, 0.22650159895420074, -0.5429391264915466, 0.3546956777572632, -0.023453695699572563, -0.5268241167068481, -0.12242081016302109, -0.6324554085731506, 0.4673795700073242, 0.4830934405326843, -0.4676241874694824, 0.5883464813232422, 0.10245474427938461, 0.3245602548122406, -0.7301737070083618, -0.43905898928642273, -0.2843099534511566, -0.24168580770492554, -0.43712276220321655, 0.4436843693256378, 0.14240078628063202, -0.28385481238365173, -0.13654431700706482, -0.3936940133571625, -0.001959826797246933, -0.11564158648252487, 0.06221160292625427, 0.17940518260002136, -0.25245314836502075, 0.24114994704723358, 0.11670791357755661, -0.4271763265132904, 0.09596739709377289, -0.4063796401023865, 0.7991158366203308, -0.4860513210296631, -0.49480965733528137, -0.1961597353219986, -0.013259232975542545, 0.5347248911857605, -0.1854870468378067, 0.7495627403259277, 0.9791128039360046, -0.1632215976715088, 0.014095866121351719, -0.6810922622680664, -0.24728073179721832, -0.48630768060684204, 0.30054959654808044, -0.43488097190856934, -1.084088683128357, 0.33902567625045776, 0.07671334594488144, -0.29225361347198486, 0.5605164170265198, 0.5817052721977234, -0.31148943305015564, 0.957033097743988, 0.3706238865852356, 0.05082976445555687, 0.46155402064323425, -0.5075520277023315, 0.6059452295303345, -0.8482992649078369, 0.059234991669654846, -0.418374627828598, -0.2394685298204422, -0.5637291073799133, -0.9405651092529297, 0.6366948485374451, 0.5607674717903137, -0.5226660966873169, 0.30657073855400085, -0.4711135923862457, 0.574837863445282, 0.8375959992408752, 0.10939522087574005, 0.3688605725765228, 0.3260946273803711, -0.09750187397003174, -0.1550712138414383, -0.6185436248779297, -0.14075404405593872, 1.3732936382293701, 0.08117731660604477, 0.8346542119979858, -0.016357379034161568, 0.6276975274085999, -0.008010215125977993, 0.32253360748291016, -1.0676906108856201, 0.3815757930278778, 0.019038746133446693, -0.42853450775146484, -0.3576676547527313, -0.41995447874069214, -0.6979907155036926, 0.3227632939815521, -0.2449551820755005, -0.3330903649330139, -0.03773841634392738, 0.036922041326761246, -0.43743303418159485, 0.43352946639060974, -0.5245822668075562, 0.3442041575908661, -0.15716174244880676, -0.15216970443725586, -0.5210856199264526, -0.39125919342041016, 0.38922321796417236, -0.08783864974975586, -0.17514891922473907, -0.09905322641134262, 0.13011719286441803, 0.5799093842506409, -0.38381314277648926, 0.559032142162323, 0.044993843883275986, 0.031387172639369965, 0.45822733640670776, 0.3227602243423462, 0.5826709270477295, 0.11268611997365952, 0.10883212834596634, 0.46731048822402954, 0.08003149926662445, -0.20238491892814636, -0.6535447239875793, 0.356378436088562, -0.9693024754524231, -0.6889001727104187, -0.6261661648750305, -0.7457742691040039, -0.22737476229667664, 0.10339745879173279, 0.31019270420074463, -0.017478900030255318, 0.2915555238723755, 0.4643142819404602, 1.1874456405639648, -0.18564268946647644, 0.36498939990997314, 0.4359517991542816, -0.06883926689624786, -0.7596604824066162, 0.8500139117240906, 0.04343615472316742, 0.32992276549339294, 0.7180693745613098, 0.2986733615398407, -0.17268262803554535, -0.3708459436893463, -0.21710056066513062, 0.40545454621315, -0.7738038897514343, -0.866229772567749, -0.43340224027633667, -0.4881424009799957, -0.2450718730688095, -0.13457974791526794, -0.6213676929473877, -1.2394753694534302, -0.19717592000961304, -0.0025894923601299524, 0.5837039947509766, 0.31838151812553406, -0.1952800154685974, 0.84323650598526, -0.4671938419342041, 0.47683748602867126, 0.4792129397392273, 0.01131227146834135, 0.041934289038181305, -0.686951220035553, -0.19611166417598724, 0.09699960052967072, -0.7575203776359558, -0.6293830871582031, 0.3705357611179352, 0.08137323707342148, 0.2655795216560364, 0.547214686870575, -0.14678460359573364, 0.8779091238975525, -0.21525737643241882, 0.5216021537780762, 0.4727339446544647, -1.1964408159255981, 0.1516609638929367, -0.12702617049217224, 0.4510997235774994, 0.3801356852054596, 0.3932279944419861, -0.5357568264007568, -0.32422125339508057, -0.6186833381652832, -0.7907730340957642, 0.5120499730110168, 0.24169068038463593, -0.1264224499464035, 0.1268111914396286, 0.5599246025085449, -0.29462531208992004, 0.3232508897781372, -0.7322185635566711, -0.3317529261112213, -0.08989004790782928, -0.35382428765296936, 0.2680686414241791, -0.30895522236824036, -0.14348725974559784, -0.376910001039505, 0.6823683977127075, -0.2405300885438919, 0.4600410461425781, 0.10388415306806564, -0.5284268260002136, -0.39861199259757996, 0.16255366802215576, 0.6064234972000122, 0.8161541223526001, -0.04739004746079445, 0.12196414917707443, 0.45692986249923706, -0.6265222430229187, 0.19650067389011383, -0.1262074112892151, -0.45039716362953186, -0.23349057137966156, 0.07830285280942917, 0.5511983633041382, -0.04827247932553291, -0.36726081371307373, 0.6021929383277893, 0.027235524728894234, -0.07508407533168793, -0.5567550659179688, 0.1090538501739502, 0.0989413857460022, 0.4716942608356476, 0.4708542823791504, 0.08434124290943146, 0.06250318884849548, -0.003661156864836812, -0.0750170573592186, 0.7253013849258423, -0.41986048221588135, -0.36420097947120667, 0.5885131359100342, -0.4592517018318176, -0.06565344333648682, 0.5330350399017334, -0.3540610074996948, -0.5810369849205017, 0.5068345069885254, 0.4790237247943878, 0.8666567206382751, -0.20681822299957275, 0.34624603390693665, 0.44318416714668274, 0.32716360688209534, -0.21155819296836853, 0.35960832238197327, -0.20220114290714264, -0.9867048859596252, -0.7620053291320801, -0.5664609670639038, -0.6539080142974854, -0.16310694813728333, -0.8322166800498962, 0.32851722836494446, -0.5928280353546143, -0.254092276096344, -0.24496260285377502, 0.22664226591587067, -0.6047577261924744, 0.03682009503245354, 0.03310267999768257, 0.5259973406791687, -0.5217205286026001, 1.0819416046142578, 0.5944940447807312, -0.2892073690891266, -0.7284560203552246, -0.3205144703388214, -0.1030932292342186, -1.0072704553604126, 0.6094338297843933, -0.11428449302911758, -0.3194621503353119, 0.021569080650806427, -0.48152461647987366, -1.1351349353790283, 1.3352882862091064, 0.45105406641960144, -0.49339210987091064, 0.11831135302782059, 0.5785892605781555, 0.549225926399231, 0.04412216320633888, 0.5608780384063721, 0.659701943397522, 0.240477055311203, 0.41269853711128235, -0.7044711112976074, -0.1362704485654831, 0.23696792125701904, 0.21983036398887634, 0.4068969786167145, -0.7027077078819275, 0.9698293209075928, -0.18587075173854828, 0.032987408339977264, 0.015107978135347366, 0.9070593118667603, 0.6645190715789795, 0.03027430921792984, 0.3477310240268707, 0.956739068031311, 0.8010950684547424, -0.3350914716720581, 0.6714058518409729, -0.3610142767429352, 0.48226669430732727, 0.9402074217796326, -0.32863670587539673, 0.6943118572235107, 0.7560098171234131, -0.48330748081207275, 0.42366260290145874, 0.1807413548231125, 0.2179396152496338, 0.35264819860458374, 0.36313536763191223, -0.37089428305625916, -0.40796416997909546, 0.3189692497253418, -0.3025975227355957, 0.3846083879470825, 0.4623439610004425, 0.12186625599861145, -0.19673794507980347, -0.11552798002958298, 0.4734570384025574, -0.3431391417980194, -0.060034673660993576, 0.3886934816837311, 0.2364097535610199, -0.655834436416626, 0.480985552072525, 0.20700035989284515, 0.6002218127250671, -0.5405920743942261, 0.051155101507902145, -0.3288130462169647, 0.4843609929084778, -0.027655262500047684, -0.6158617734909058, 0.39729824662208557, -0.4549401104450226, -0.2853570580482483, -0.32741519808769226, 0.6832990646362305, -0.3057805597782135, -0.6968974471092224, -0.1506744921207428, 0.4678381681442261, -0.16164454817771912, -0.5092007517814636, -0.6202943325042725, -0.11585808545351028, -0.057760488241910934, -0.34714508056640625, 0.32578784227371216, 0.6047506928443909, -0.27010008692741394, 0.7479106187820435, 0.8389503955841064, 0.20428165793418884, 0.22082236409187317, -0.022347547113895416, 0.8010353446006775, -0.6770991086959839, 0.020971307530999184, -0.5753145813941956, 0.22072343528270721, 0.02183627150952816, -0.31961506605148315, 0.6113568544387817, 0.4509458541870117, 0.8433333039283752, -0.10686657577753067, 0.26181745529174805, -0.01988675631582737, 0.4584410488605499, -0.43311354517936707, 0.753806471824646, -0.2503144145011902, 0.19480399787425995, 0.1922711730003357, -1.0342981815338135, -0.6235406994819641, 1.077848196029663, -0.3701663315296173, -0.07304125279188156, 0.8845551609992981, 0.8865436315536499, 0.06918147951364517, -0.003406420350074768, 0.4212389588356018, -0.034326352179050446, 0.43734458088874817, 0.5741033554077148, 0.9950613379478455, -0.7997584939002991, 0.6721594333648682, -0.6261982321739197, -0.05467527359724045, -0.030218597501516342, -0.9879987239837646, -0.8057140707969666, -0.3060290813446045, -0.5675474405288696, -0.4078025817871094, -0.10241895169019699, 0.7744196653366089, 0.598113477230072, -0.9985208511352539, -0.4922713041305542, -0.10939411073923111, 0.3467590808868408, -0.3446674644947052, -0.32032254338264465, 0.4210696816444397, -0.5615936517715454, -0.4672814607620239, 0.1216396912932396, 0.38816308975219727, -0.11905504018068314, -0.25415274500846863, -0.08363790065050125, 0.21315841376781464, -0.006812984123826027, 0.7310364246368408, 0.11327376961708069, -0.566515326499939, -0.14154517650604248, 0.3919484317302704, 0.09140271693468094, 0.21755744516849518, 0.9897522330284119, -0.8338944911956787, 0.29261884093284607, 0.5361738204956055, 0.2926185429096222, 0.9769853949546814, -0.23343396186828613, 0.5464556813240051, -0.41640886664390564, 0.34238937497138977, 0.3456915318965912, 0.12013036757707596, 0.13292288780212402, -0.2421644926071167, 0.5185545086860657, 0.3126276731491089, -0.5702093839645386, -0.6182426810264587, 0.038598377257585526, -0.9703077077865601, 0.11681419610977173, 1.1078749895095825, -0.01820683665573597, -0.42715319991111755, 0.20230577886104584, 0.09307259321212769, 0.42797166109085083, -0.15657366812229156, 0.8994736075401306, 0.6702207326889038, -0.16010339558124542, -0.3582771122455597, -0.41816720366477966, 0.4866800606250763, 0.7852332592010498, -0.48182329535484314, -0.42766648530960083, 0.1900283694267273, 0.2955370545387268, 0.25196802616119385, 0.23749200999736786, -0.47197863459587097, 0.4156681001186371, -0.2958672344684601, 0.31019356846809387, 0.11535883694887161, -0.2905842363834381, -0.5294294953346252, -0.005775755271315575, 0.21586103737354279, 0.059989284723997116 ]
http://arxiv.org/abs/2405.16402v1
http://arxiv.org/pdf/2405.16402v1
Assessing Empathy in Large Language Models with Real-World Physician-Patient Interactions
2024-05-26T01:58:57
2024-05-26T01:58:57
Man Luo, Christopher J. Warren, Lu Cheng, Haidar M. Abdul-Muhsin, Imon Banerjee
cs.CL
cs.CL, cs.AI
The integration of Large Language Models (LLMs) into the healthcare domain has the potential to significantly enhance patient care and support through the development of empathetic, patient-facing chatbots. This study investigates an intriguing question Can ChatGPT respond with a greater degree of empathy than those typically offered by physicians? To answer this question, we collect a de-identified dataset of patient messages and physician responses from Mayo Clinic and generate alternative replies using ChatGPT. Our analyses incorporate novel empathy ranking evaluation (EMRank) involving both automated metrics and human assessments to gauge the empathy level of responses. Our findings indicate that LLM-powered chatbots have the potential to surpass human physicians in delivering empathetic communication, suggesting a promising avenue for enhancing patient care and reducing professional burnout. The study not only highlights the importance of empathy in patient interactions but also proposes a set of effective automatic empathy ranking metrics, paving the way for the broader adoption of LLMs in healthcare.
[ -0.37720856070518494, -0.7856841683387756, 0.8502053022384644, -0.0031192658934742212, -0.08525268733501434, -0.02877907268702984, -0.31182345747947693, -0.5975362062454224, 0.30700260400772095, 0.2576580047607422, -0.46259233355522156, -0.3018598258495331, -1.0548076629638672, 0.0762917622923851, -0.17595639824867249, 0.6919512748718262, 0.18621826171875, 0.356221079826355, -0.18413791060447693, -0.11036184430122375, -0.0034337174147367477, -0.7548973560333252, -0.9159864783287048, -0.5050125122070312, 0.8078192472457886, 0.28053879737854004, 0.840946614742279, 0.23084914684295654, 0.835546612739563, 0.3280469477176666, 0.018586179241538048, 0.030083976686000824, -0.4871141016483307, -0.011513386853039265, 0.17183540761470795, -0.1898607760667801, -0.9645273089408875, 0.26234859228134155, 0.20102237164974213, 0.6876499056816101, -0.245508074760437, 0.06996767967939377, 0.09216900169849396, 0.4219309389591217, -0.15340150892734528, 0.02284220978617668, -0.23867322504520416, 0.42751479148864746, 0.3751816153526306, -0.37985026836395264, -0.40958788990974426, -0.4770624041557312, 0.2513403594493866, -0.1869107186794281, -0.12270016223192215, 0.11271100491285324, 0.5123389959335327, 0.2549891173839569, -0.46436768770217896, -0.267760306596756, -0.47264859080314636, 0.7014411687850952, -0.8168893456459045, 0.269765704870224, 0.2809399664402008, 0.25183776021003723, 0.07069206982851028, -0.5318148732185364, -0.5113663673400879, -0.41761401295661926, -0.031064337119460106, 0.4687083959579468, -0.425300657749176, 0.317141592502594, 0.3910297155380249, 0.46659451723098755, -0.4089491069316864, 0.3938564658164978, -0.008592961356043816, 0.20897994935512543, 0.6814255714416504, 0.45264551043510437, 0.6213095188140869, -0.04508199542760849, -0.10496722161769867, -0.038702525198459625, -0.3165573179721832, -0.1020168885588646, 0.1948060393333435, -0.00013726894394494593, -0.4087633788585663, 0.7639046311378479, 0.2532043755054474, 0.4664155840873718, -0.24990983307361603, 0.10003280639648438, -0.0035098190419375896, 0.28604504466056824, -0.36364421248435974, 0.08642983436584473, 0.9758172631263733, 0.9726861715316772, 0.7418203353881836, -0.052083294838666916, 0.2067946344614029, 0.10150742530822754, 0.6098164916038513, -0.9094015955924988, -0.3121815323829651, 0.6238529086112976, -0.734569787979126, -0.4084472060203552, -0.06854847073554993, -0.8612107038497925, -0.6529799103736877, -0.059848565608263016, 0.12707656621932983, -0.17494040727615356, -0.4429120719432831, 0.18073947727680206, -0.10316035151481628, 0.46966227889060974, 0.427285760641098, -0.8312898278236389, 0.3569883108139038, 0.9676742553710938, 0.8581897616386414, 0.026177702471613884, -0.22807273268699646, -0.5639690160751343, -0.2793389558792114, -0.4598865211009979, 0.78909832239151, -0.8362898826599121, -0.65352863073349, 0.12247245013713837, -0.13173538446426392, -0.01722034439444542, -0.36585015058517456, 0.5730128288269043, -0.0337146520614624, 0.1813560575246811, -0.1372055858373642, -0.6943261623382568, 0.2203075885772705, 0.5619608163833618, -0.20668768882751465, 0.5660365223884583, 0.3982143998146057, -0.7457443475723267, 0.1403958797454834, -0.7557243704795837, -0.40619149804115295, -0.036380887031555176, -0.015095147304236889, -0.32554709911346436, 0.4322044551372528, 0.12311507761478424, 0.8286659717559814, -0.5510894060134888, 0.03172557055950165, -0.5156741738319397, -0.23352226614952087, 0.48809030652046204, -0.5020423531532288, 0.36493635177612305, 0.13172096014022827, 0.0389401875436306, -0.035570159554481506, -0.3148137331008911, 0.024416420608758926, 0.15915532410144806, -0.14412029087543488, -0.17049334943294525, -0.033938292413949966, 0.11713410913944244, 0.29716506600379944, -0.0416751503944397, -0.7495113611221313, 0.21355804800987244, -0.5337809920310974, 0.386039137840271, 0.8283883333206177, 0.08695920556783676, 0.45502132177352905, -0.3962650001049042, 0.8056167960166931, -0.2353687882423401, 0.4883301556110382, -0.1348370909690857, -0.7311303019523621, -0.6315011978149414, -0.5764321088790894, -0.2171339988708496, 0.3839583098888397, 0.07219582051038742, 0.5297055244445801, -0.3747177720069885, -0.8200902342796326, -0.8688177466392517, -0.22828617691993713, 0.48808902502059937, 0.6233316659927368, 0.26342901587486267, -0.4596339762210846, -0.06179175525903702, -0.8570311069488525, -0.6662144660949707, -0.049405623227357864, -0.2285790592432022, 0.9184359908103943, 0.020052922889590263, -0.3225131034851074, 0.46955162286758423, -0.5484218001365662, -0.14003652334213257, -0.42082974314689636, -0.2157687544822693, 0.1360408365726471, 0.226496160030365, 0.3042716681957245, -0.6922635436058044, -0.7648701071739197, 0.1629110425710678, -0.7053784728050232, -0.13714860379695892, -0.01997830532491207, -0.016924049705266953, -0.20163953304290771, 0.40881776809692383, -0.6520742177963257, 0.4048236906528473, 0.7454122304916382, -0.44505760073661804, 0.0709998607635498, -0.22376422584056854, 0.45330485701560974, -1.1891109943389893, 0.10614190250635147, 0.06103193759918213, -0.10625402629375458, -0.8333950042724609, -0.23083995282649994, -0.07997851818799973, -0.023593751713633537, -0.5266336798667908, 0.9103480577468872, -0.03872115537524223, -0.0440339632332325, -0.10495275259017944, 0.20922380685806274, -0.20403052866458893, 0.08772904425859451, 0.07364246249198914, 0.43161630630493164, 0.6199554800987244, -0.20654061436653137, 0.531649112701416, 0.5622381567955017, -0.08544938266277313, 0.8951204419136047, -0.8445749282836914, 0.08621668815612793, 0.13650472462177277, 0.33516398072242737, -1.0080770254135132, -0.5169462561607361, 0.3484759032726288, -0.7706537842750549, 0.14735938608646393, -0.26967653632164, -0.5334575772285461, -0.3766021132469177, -0.09993141144514084, 0.20442955195903778, 0.8980979323387146, -0.43385836482048035, 0.654292643070221, 0.46886301040649414, -0.5245897173881531, -0.03375714644789696, -0.6708781719207764, 0.2554652988910675, -0.3344956636428833, -0.5469865202903748, -0.18041981756687164, -0.08800970017910004, -0.5874179005622864, -0.4411272406578064, 0.23965448141098022, -0.09581984579563141, 0.08158161491155624, 0.4650956392288208, 0.11854682117700577, 0.150495246052742, 0.22952085733413696, 0.06149544194340706, -0.20507551729679108, 0.28768327832221985, 0.3429056406021118, 0.8002943992614746, -0.08440995216369629, -0.7762924432754517, -0.6731306314468384, 0.40352532267570496, 0.7125586867332458, -0.059604462236166, 0.6492792367935181, 0.4793853759765625, -0.1714131236076355, 0.31767258048057556, -0.6202458739280701, -0.5103800296783447, -0.423395574092865, 0.3335176408290863, -0.12499265372753143, -0.9087536334991455, 0.3935329020023346, -0.1036037728190422, 0.07799092680215836, 0.06412316113710403, 0.8179377913475037, -0.03450017049908638, 1.4168503284454346, 0.2797680199146271, -0.20149312913417816, 0.21115124225616455, 0.06723768264055252, 0.6925852298736572, -0.9998677372932434, -0.27221378684043884, -0.3084394931793213, -0.35753998160362244, -0.8493295311927795, -0.21882887184619904, 0.45230191946029663, -0.6196255683898926, -0.22306786477565765, -0.06709015369415283, -0.5091678500175476, 0.1086224764585495, 0.20162315666675568, 0.3665848970413208, 0.10044477880001068, -0.28416991233825684, 0.38206496834754944, -0.07586552947759628, -0.537473201751709, -0.5197194814682007, 0.807415783405304, 0.6702593564987183, 0.8554146885871887, 0.12797702848911285, 0.7785927653312683, 0.2707033157348633, 0.6474986672401428, -1.1397842168807983, 0.46047669649124146, -0.047465741634368896, -0.1907496452331543, -0.2994978129863739, -0.4480072855949402, -1.0058318376541138, 0.16011840105056763, -0.09070168435573578, -0.7857205867767334, -0.28760388493537903, 0.25138401985168457, -0.318052738904953, 0.1819458305835724, -0.903653085231781, 0.7304087281227112, -0.2156141698360443, -0.15520693361759186, -0.21745207905769348, -0.630971372127533, -0.08724294602870941, -0.10441870242357254, 0.22797226905822754, -0.30974844098091125, -0.07419777661561966, 0.3814065754413605, -0.3580443263053894, 0.8659831285476685, -0.10030900686979294, -0.3358311951160431, -0.16743029654026031, 0.34012770652770996, 0.20107579231262207, 0.06749612838029861, -0.18706610798835754, 0.18575569987297058, -0.18945464491844177, -0.4904589056968689, -0.6545296311378479, 0.8440741896629333, -0.6712567806243896, -0.5889437198638916, -0.4180242121219635, -0.512295663356781, -0.45175430178642273, -0.018056748434901237, -0.03364728018641472, 0.17144709825515747, -0.4404860734939575, 0.00565565237775445, 0.34646350145339966, -0.6216633319854736, 0.1439291536808014, 0.4180057644844055, -0.016110900789499283, -0.018874147906899452, 0.5824396014213562, -0.296700119972229, 0.4094575047492981, 0.3583995997905731, 0.5558128356933594, -0.09628108888864517, 0.04595373198390007, -0.15191876888275146, 0.35032787919044495, -0.4095239043235779, -0.030148621648550034, -0.9174339771270752, -0.1320790946483612, -0.4670040011405945, -0.6719120144844055, -0.3859655559062958, -0.05657239258289337, -0.19796107709407806, -0.12157268077135086, 0.5283056497573853, 0.7735201120376587, 0.13162006437778473, 0.2920140027999878, -1.0588409900665283, 0.14572614431381226, 0.22859661281108856, 0.4464464485645294, 0.14074936509132385, -0.5430591702461243, 0.14248265326023102, -0.07498591393232346, -0.06577485799789429, -0.766007125377655, 0.7323997020721436, 0.09327322244644165, 0.3494091331958771, 0.6758229732513428, -0.10402675718069077, 0.5210413932800293, -0.6949392557144165, 0.8218964338302612, 0.42879390716552734, -0.7893002033233643, 0.2952960133552551, -0.5385490655899048, 0.2052668333053589, 0.04246455058455467, 0.49913981556892395, -0.9346775412559509, -0.53271484375, -0.8132306337356567, -0.6126554012298584, 0.3978537917137146, -0.08422770351171494, 0.7360879778862, -0.2705661356449127, 0.21511833369731903, -0.027139337733387947, -0.11396890878677368, -0.2877003848552704, 0.01702081225812435, 0.2093997597694397, -0.39994606375694275, -0.3725162446498871, -0.2804153263568878, -0.2886594533920288, 0.14028117060661316, -0.08241281658411026, 0.05865144729614258, 0.5276349186897278, 0.23425285518169403, 0.32659199833869934, -0.21457593142986298, 0.2700406610965729, 0.15163329243659973, 0.2606266736984253, -0.014528689906001091, 0.02589806169271469, 0.2559746503829956, -0.34799808263778687, -0.2008509784936905, -0.09441487491130829, 0.7639999985694885, -0.333682656288147, 0.6004282832145691, 0.20627737045288086, 0.31245124340057373, -0.9618774056434631, 0.8655287623405457, -0.2016683667898178, -0.11745037883520126, -0.1917678862810135, 0.09020905196666718, 0.2660035192966461, 0.37652915716171265, -0.08779297024011612, -0.3103962242603302, 0.26278451085090637, -0.40828803181648254, 0.13405941426753998, 0.5953177809715271, -0.6781707406044006, -0.19350123405456543, 0.32858678698539734, 0.28917744755744934, -0.7106186151504517, 0.8184479475021362, 0.6911091804504395, -0.6363353133201599, 0.5860636830329895, 0.3446756601333618, 0.7850582599639893, -0.3778313994407654, 0.15912707149982452, 0.12599508464336395, 0.009836699813604355, 0.0578489825129509, 0.22008205950260162, 0.05551771819591522, -0.6479836106300354, -0.13786344230175018, -0.3412553071975708, -0.9360424876213074, -0.39144736528396606, -0.8892659544944763, 0.011184563860297203, -0.4693478047847748, -0.2788067162036896, 0.029221773147583008, -0.17898860573768616, -0.747632622718811, 0.28070318698883057, 0.008639336563646793, 0.725002110004425, -0.8535842299461365, 0.5277085304260254, 0.573451817035675, -0.18602289259433746, -0.5899641513824463, 0.17147685587406158, -0.04706635698676109, -1.240071177482605, 0.4661966860294342, 0.2716601490974426, -0.008521541953086853, 0.05007553845643997, -0.4004773795604706, -0.11696343123912811, 0.870290219783783, 0.28978821635246277, -0.2838955521583557, 0.10215453803539276, 0.1148066371679306, 0.8753955960273743, -0.3608306348323822, 0.6165006160736084, 0.42802631855010986, 0.3996102809906006, -0.25101208686828613, -1.0523056983947754, -0.06356915086507797, -0.33875054121017456, -0.2988625764846802, 0.2070527821779251, -0.9492587447166443, 0.514710545539856, -0.38480815291404724, 0.10105686634778976, 0.08930660784244537, -0.10442683845758438, 0.03148389980196953, 0.29821211099624634, 0.2898236811161041, 0.5648995637893677, 0.5098557472229004, -0.04047076404094696, 1.4779607057571411, -0.3546602725982666, 0.2873970866203308, 0.7451356649398804, -0.45615652203559875, 0.9476979374885559, 0.7106333374977112, -0.19874152541160583, 0.08998508751392365, 0.5630108714103699, -0.13181942701339722, 0.026469772681593895, 0.17599140107631683, -0.514080286026001, -0.3961964249610901, -0.4263300895690918, -0.24168507754802704, 0.469757080078125, 0.2147134393453598, -0.6976621150970459, 0.1385660469532013, 0.03366217389702797, 0.35236290097236633, 0.04574896767735481, -0.15387463569641113, 0.8821942806243896, 0.4789924919605255, -0.5398473739624023, 0.18908710777759552, -0.35226771235466003, 0.35689347982406616, -0.3566587269306183, -0.1897926926612854, -0.22343701124191284, 0.13782672584056854, -0.21440830826759338, -1.0199847221374512, -0.01358170248568058, 0.29272404313087463, 0.20752426981925964, -0.4328538179397583, 0.5163149833679199, -0.11654841899871826, -0.31239616870880127, 0.6524298787117004, 0.7903659343719482, 0.48851925134658813, -0.05267047882080078, -0.6850324869155884, 0.11147377640008926, -0.29002827405929565, -0.6333884000778198, 0.6167387962341309, 0.33385220170021057, 0.4788314998149872, 1.0037949085235596, 0.7136732339859009, 0.18578413128852844, -0.2892748713493347, 0.4097798466682434, 0.9419999718666077, -0.5368996262550354, -0.09872356057167053, -1.0430607795715332, 0.3688928186893463, -0.210036039352417, -0.1943047195672989, 0.7732906937599182, 0.3668356239795685, 0.35759106278419495, -0.10041213780641556, 0.9032220840454102, -0.07039761543273926, 0.7857756018638611, -0.22951100766658783, 0.8072172999382019, -0.7558284997940063, -0.03053068183362484, -0.5675921440124512, -0.6126822829246521, -0.5770595073699951, 0.6553796529769897, -0.5417382717132568, 0.28202107548713684, 0.3013671040534973, 0.8270986080169678, -0.04474392160773277, -0.10946756601333618, 0.8688668012619019, 0.2702040672302246, 0.5152711868286133, 0.5680349469184875, 1.0205968618392944, -0.025825191289186478, 0.2152881771326065, 0.12825296819210052, -0.4360560476779938, -0.38764724135398865, -0.8103359341621399, -0.9937011003494263, -0.09526842087507248, -0.02883007749915123, -0.30639535188674927, -0.024546634405851364, 1.1839452981948853, 0.3538467288017273, -0.44836995005607605, -0.018132751807570457, 0.1789906769990921, -0.24920406937599182, 0.04499800503253937, -0.20103660225868225, 0.4263806641101837, -0.13310298323631287, -1.071287751197815, 0.022172370925545692, 0.5959023237228394, 0.03527989611029625, -0.10692555457353592, -0.3004554808139801, 0.4335039556026459, 0.25494447350502014, 0.6522688865661621, 0.08720385283231735, -0.6520333886146545, -0.3350815176963806, 0.30622896552085876, -0.19092999398708344, 0.19365294277668, 0.801445722579956, -0.21636562049388885, 0.5797610878944397, 0.19903627038002014, 0.6677020788192749, -0.16694505512714386, 0.22331202030181885, 0.6638147830963135, -0.016310933977365494, -0.033744387328624725, 0.49293315410614014, 0.36519500613212585, 0.27045974135398865, -0.4548628628253937, 0.35967332124710083, -0.2794834077358246, -0.8330464363098145, -0.8798657655715942, 0.34310203790664673, -1.1844713687896729, 0.1688123643398285, 1.356191873550415, -0.3901687562465668, 0.1911124587059021, 0.005875138565897942, -0.5906907320022583, 0.21304115653038025, -0.5556932687759399, 0.9545450806617737, 0.39198777079582214, -0.5814473628997803, -0.40613943338394165, -0.5194491744041443, 0.3495559096336365, 0.358937531709671, -0.9242891669273376, 0.20854629576206207, 0.3473834693431854, 0.02963525988161564, -0.2488589882850647, 0.7247024774551392, -0.3062053620815277, 0.16503389179706573, -0.10350137948989868, 0.038154032081365585, 0.3162723183631897, 0.22127562761306763, -0.19616006314754486, -0.021070722490549088, 0.2619568407535553, 0.15589539706707 ]
http://arxiv.org/abs/2405.16388v1
http://arxiv.org/pdf/2405.16388v1
Multi-Reference Preference Optimization for Large Language Models
2024-05-26T00:29:04
2024-05-26T00:29:04
Hung Le, Quan Tran, Dung Nguyen, Kien Do, Saloni Mittal, Kelechi Ogueji, Svetha Venkatesh
cs.CL
cs.CL, cs.LG
How can Large Language Models (LLMs) be aligned with human intentions and values? A typical solution is to gather human preference on model outputs and finetune the LLMs accordingly while ensuring that updates do not deviate too far from a reference model. Recent approaches, such as direct preference optimization (DPO), have eliminated the need for unstable and sluggish reinforcement learning optimization by introducing close-formed supervised losses. However, a significant limitation of the current approach is its design for a single reference model only, neglecting to leverage the collective power of numerous pretrained LLMs. To overcome this limitation, we introduce a novel closed-form formulation for direct preference optimization using multiple reference models. The resulting algorithm, Multi-Reference Preference Optimization (MRPO), leverages broader prior knowledge from diverse reference models, substantially enhancing preference learning capabilities compared to the single-reference DPO. Our experiments demonstrate that LLMs finetuned with MRPO generalize better in various preference data, regardless of data scarcity or abundance. Furthermore, MRPO effectively finetunes LLMs to exhibit superior performance in several downstream natural language processing tasks such as GSM8K and TruthfulQA.
[ -0.45397889614105225, -0.2123287320137024, 0.6794497966766357, 0.028167234733700752, -0.30561363697052, -0.16006572544574738, -0.7682322859764099, -0.19408361613750458, -0.030556686222553253, 0.6476839184761047, -0.7568952441215515, -0.27173006534576416, -0.4611615240573883, 0.18393519520759583, 0.3724331557750702, 0.8515692949295044, 0.019520040601491928, 0.09809394925832748, -0.35932889580726624, -0.23241139948368073, -0.2700886130332947, -0.696605384349823, -0.543925404548645, -0.7653454542160034, 0.7663401365280151, 0.7196668386459351, 0.608532726764679, 0.49759477376937866, 0.403199166059494, 0.24038201570510864, 0.0219583660364151, 0.5141714215278625, -0.5244730710983276, 0.18117928504943848, -0.16863633692264557, -0.3149159252643585, -0.2953832447528839, 0.22340567409992218, 0.6014279127120972, 0.6214522123336792, -0.18230335414409637, 0.020233293995261192, 0.07526817172765732, 1.0330920219421387, -0.7835195064544678, -0.02419005148112774, -0.678408145904541, 0.028042757883667946, -0.058663394302129745, -0.262062668800354, -0.5614821910858154, -0.47991496324539185, 0.2763795852661133, -0.5529415011405945, 0.06318382918834686, -0.006264504976570606, 0.6159148812294006, 0.4299646019935608, -0.3570539355278015, -0.06871256977319717, -0.8201603889465332, 1.111272931098938, -0.5954082608222961, 0.5844590663909912, 0.4038892984390259, 0.17420366406440735, -0.17913569509983063, -0.23944877088069916, -0.4024962782859802, -0.48696932196617126, 0.05655110627412796, 0.03420672565698624, 0.11809900403022766, 0.14591561257839203, -0.02642524242401123, 0.1278521567583084, -0.38522398471832275, 0.13405470550060272, -0.18286864459514618, -0.0364062637090683, 0.39571627974510193, -0.12470276653766632, -0.23103268444538116, -0.06976443529129028, -0.44418835639953613, -0.10779426246881485, -0.6804370880126953, -0.0020243998151272535, 0.5201646685600281, 0.622299075126648, 0.08530480414628983, 0.3464238941669464, -0.34762823581695557, 0.6875825524330139, 0.2828953266143799, -0.2886051833629608, 0.2937532961368561, -0.3178817331790924, -0.04596136137843132, -0.00758980680257082, 0.9265533089637756, 0.19148509204387665, 0.45823797583580017, -0.19569648802280426, 0.009929513558745384, -0.23887622356414795, 0.3525979816913605, -0.7852631211280823, 0.0620274655520916, 0.12599538266658783, -0.4368703067302704, -0.3122938275337219, -0.10852821171283722, -0.6275960803031921, -0.2866978049278259, -0.7214850783348083, -0.06298288702964783, -0.18561215698719025, -0.26598331332206726, 0.3511027693748474, 0.14640633761882782, -0.25917911529541016, 0.19735796749591827, -1.2510485649108887, 0.2762910723686218, 0.4386177957057953, 0.6134399771690369, -0.1000673696398735, -0.23076073825359344, -0.6026777625083923, 0.37319156527519226, -0.12606465816497803, 0.7809122204780579, -0.8343755602836609, -0.2920287549495697, -0.19409044086933136, -0.4690283536911011, 0.016308221966028214, -0.5546349287033081, 0.9118509888648987, -0.575458288192749, 0.23511424660682678, -0.24605342745780945, -0.24900873005390167, -0.0076074921526014805, 0.272599458694458, -0.6071068644523621, 0.8647611141204834, -0.20508749783039093, -0.5855711698532104, 0.27650272846221924, -0.6060778498649597, -0.23173080384731293, -0.5004153847694397, -0.2539220154285431, -0.4055491089820862, 0.2375594675540924, 0.16734813153743744, 0.5031614303588867, -0.4238527715206146, 0.4711858630180359, -0.6621927618980408, -0.0765034407377243, 0.09439361840486526, -0.33660072088241577, 0.3131493031978607, 0.3350774347782135, 0.08764038980007172, 0.5244547724723816, -0.5281991362571716, 0.00582721596583724, 0.1494559943675995, -0.5353565216064453, -0.7043666243553162, 0.23492440581321716, -0.3196216821670532, 0.36765527725219727, 0.3570215404033661, -0.2799760699272156, 0.4043912887573242, -0.322500616312027, 0.323251873254776, 1.0555506944656372, -0.2582574784755707, 0.658841609954834, -0.21789218485355377, 0.34336957335472107, -0.042917780578136444, 0.2773439586162567, 0.2512455880641937, -0.09399105608463287, -0.6692312359809875, -0.13522158563137054, 0.1521044820547104, 0.15761658549308777, -0.29252585768699646, 0.5245771408081055, -0.3812459111213684, -0.282943993806839, -0.26244571805000305, 0.2811222970485687, 0.26077336072921753, 0.46958091855049133, 0.378641277551651, -0.13275131583213806, -0.5143131017684937, -1.1256122589111328, 0.011409453116357327, -0.10115781426429749, 0.018996626138687134, 0.5845895409584045, -0.06612201780080795, -0.3147295415401459, 0.938737690448761, -0.8122546076774597, -0.13895010948181152, -0.16259680688381195, -0.20671875774860382, 0.32520028948783875, 0.2199942022562027, 0.456399530172348, -0.8268119096755981, -0.336771696805954, 0.024633852764964104, -0.27611038088798523, -0.17064055800437927, 0.0022187018766999245, -0.2707779109477997, 0.0009888404747471213, 0.2588559091091156, -0.32126060128211975, -0.4323631823062897, 0.7916350960731506, 0.12441295385360718, 0.6371076107025146, -0.30633822083473206, -0.011224404908716679, -1.0462894439697266, 0.053365934640169144, 0.07255706191062927, -0.10289855301380157, -0.5093492865562439, -0.17295263707637787, 0.07272931188344955, -0.024168910458683968, -0.22676028311252594, 0.5990216135978699, -0.4504382610321045, 0.11066919565200806, -0.3393898904323578, 0.24377520382404327, 0.05641878396272659, 0.6618712544441223, 0.3448922634124756, 0.7292478084564209, 0.23728199303150177, -0.799741268157959, 0.38004106283187866, 0.23350179195404053, 0.1574348658323288, 0.17847110331058502, -0.422122985124588, 0.42924562096595764, -0.20329944789409637, 0.1316377818584442, -0.8211371898651123, 0.003939616959542036, 0.17907002568244934, -0.26014652848243713, 0.30265554785728455, -0.24525780975818634, -0.2833799719810486, -0.1397295743227005, -0.4520939588546753, 0.42345550656318665, 0.05525026097893715, -0.5766072869300842, 0.4414442479610443, 0.29512327909469604, -0.2185308188199997, -0.9067600965499878, -0.17048117518424988, -0.23695942759513855, -0.2969466745853424, -0.5008683204650879, 0.34454190731048584, -0.2639467716217041, -0.07926777750253677, -0.26879337430000305, -0.26976093649864197, -0.05915990471839905, -0.07282672077417374, 0.014320217072963715, 0.35640329122543335, -0.0006405973108485341, 0.4461231231689453, -0.07511020451784134, -0.3165998160839081, -0.24798229336738586, -0.43148547410964966, 0.7664311528205872, -0.14087939262390137, -0.20512621104717255, 0.0872078537940979, 0.2727311849594116, 0.5164755582809448, -0.35447958111763, 0.523875892162323, 0.396686851978302, -0.08836104720830917, -0.17513053119182587, -0.6420451402664185, -0.2796880006790161, -0.47094759345054626, 0.2983989119529724, -0.6936501264572144, -0.8134886622428894, 0.1454811990261078, -0.28091681003570557, 0.02842693403363228, 0.2121039479970932, 0.5879158973693848, 0.37473127245903015, 0.7545777559280396, 0.6744071841239929, -0.4486091434955597, 0.7786548137664795, 0.11539030820131302, 0.0829964131116867, -0.9354490637779236, 0.0018676382023841143, -0.7239019274711609, -0.08552123606204987, -0.5244235992431641, -0.29091212153434753, 0.26986151933670044, 0.16361230611801147, -0.2629756033420563, 0.1598900854587555, -0.4149702489376068, 0.3884738087654114, 0.7906705141067505, 0.25563958287239075, 0.5256075859069824, 0.08863906562328339, -0.5498287081718445, -0.11458040773868561, -0.74560546875, -0.8305287957191467, 1.2933622598648071, 0.2666482627391815, 0.9183638095855713, 0.12464118003845215, 0.7475776672363281, -0.09630580991506577, 0.3122870922088623, -0.8561188578605652, 0.3306558132171631, -0.33690106868743896, -0.5351535081863403, -0.3487805724143982, -0.5505340695381165, -0.8068171739578247, 0.419038861989975, -0.3437148630619049, -0.4508620500564575, 0.15014265477657318, 0.3375898599624634, -0.36689433455467224, 0.1392112672328949, -0.7726564407348633, 0.7995890974998474, -0.2270311564207077, -0.624013364315033, -0.48596835136413574, -0.5279610753059387, 0.47190120816230774, -0.1074235737323761, 0.11360305547714233, -0.3669882118701935, -0.06231300160288811, 0.5063571929931641, -0.03523461893200874, 0.5831671357154846, 0.07791302353143692, -0.037309639155864716, -0.0632181316614151, -0.31649670004844666, 0.5008208155632019, 0.08081872016191483, -0.38383370637893677, 0.04551240801811218, -0.32896095514297485, -0.1977330446243286, -0.42056870460510254, 0.8532284498214722, -0.9101258516311646, -0.4930492639541626, -0.30585405230522156, -0.3847702741622925, -0.5397862792015076, 0.3854055404663086, -0.0068871681578457355, 0.3213152289390564, -0.30639421939849854, 0.05809502676129341, 0.6421821713447571, -0.18156930804252625, 0.2452421337366104, 0.4459455609321594, -0.05244288221001625, -0.4636193811893463, 0.6113772988319397, -0.23019185662269592, 0.5735341310501099, 0.509829044342041, 0.6094103455543518, -0.4596653878688812, -0.6478618383407593, -0.3001742362976074, 0.4512908458709717, -0.49561384320259094, 0.015399710275232792, -0.41994476318359375, 0.2057047188282013, -0.4355945587158203, 0.0026936265639960766, -0.6241593956947327, -0.19875438511371613, -0.25068399310112, 0.12130934745073318, 0.09081956744194031, 0.4315698742866516, -0.05640443041920662, 0.07867557555437088, -0.8592827320098877, 0.5204923152923584, 0.5270538926124573, 0.7152347564697266, -0.17868857085704803, -0.351774126291275, -0.21783266961574554, 0.06207806617021561, -0.4446130692958832, -0.5823434591293335, 0.19143539667129517, 0.025079917162656784, 0.6969858407974243, 0.6873906254768372, 0.30989518761634827, 0.6484658718109131, -0.8019945621490479, 0.17955240607261658, 0.27397024631500244, -0.6137293577194214, 0.4778631329536438, -0.4207839071750641, 0.2804051339626312, 0.7399757504463196, 0.47922858595848083, -0.7820078730583191, -0.007340100593864918, -0.408357709646225, -0.5144743323326111, 0.7692252993583679, -0.02350328490138054, 0.1894933581352234, 0.05937676504254341, 0.3872227370738983, 0.10503466427326202, 0.3525383770465851, -0.6540119647979736, -0.48703864216804504, -0.0035908883437514305, -0.07557523250579834, -0.26536741852760315, -0.4187242388725281, -0.27437835931777954, 0.02832290343940258, 0.7717904448509216, -0.3306230902671814, 0.154219388961792, 0.05498887971043587, 0.20642878115177155, -0.2208683341741562, 0.5081043243408203, 0.8347144722938538, 0.6485610604286194, -0.43694332242012024, 0.11380476504564285, -0.1539023220539093, -0.3670670688152313, 0.20177701115608215, 0.2097470909357071, -0.10430501401424408, -0.17004598677158356, -0.07151871919631958, 0.8708500862121582, 0.10675964504480362, -0.5124822854995728, 0.1224675327539444, -0.14729228615760803, -0.04499303922057152, -0.17804531753063202, 0.07631909102201462, 0.1825256198644638, 0.06761004030704498, 0.3443666994571686, 0.32296690344810486, 0.05033409968018532, -0.4395008683204651, 0.05270715057849884, 0.5662672519683838, -0.36511605978012085, -0.1103326603770256, 0.40448784828186035, 0.4363201856613159, 0.006335425190627575, 0.282058984041214, 0.07642042636871338, -0.4496209919452667, 0.275273859500885, 0.41970205307006836, 0.8462185859680176, -0.2457272708415985, -0.025957925245165825, 0.4529248774051666, 0.22171737253665924, -0.22793380916118622, -0.22630327939987183, -0.04317278414964676, -1.282421588897705, -0.49212199449539185, -0.49524998664855957, -0.7754522562026978, 0.25942909717559814, -0.5405718088150024, 0.37285107374191284, -0.42770370841026306, -0.1917703002691269, 0.009280226193368435, 0.19165478646755219, -0.42473599314689636, 0.0805610939860344, 0.24704356491565704, 0.46751463413238525, -0.5544308423995972, 1.0896344184875488, 0.6711066961288452, -0.17765766382217407, -0.5838860273361206, 0.025949206203222275, -0.05951286852359772, -0.5981917977333069, 0.6140899658203125, 0.09306882321834564, -0.43513840436935425, -0.015715688467025757, -0.30909475684165955, -0.8443217277526855, 0.6464266180992126, 0.5736268758773804, -0.6238349676132202, 0.060386475175619125, -0.10265845060348511, 0.17001014947891235, -0.3964558243751526, 0.19940589368343353, 0.44549262523651123, 0.5658395290374756, 0.10501513630151749, -0.9547343850135803, -0.09149789810180664, 0.09332223981618881, -0.19461975991725922, 0.5309549570083618, -0.9261934757232666, 0.4584703743457794, -0.38108929991722107, 0.01752893067896366, -0.38496679067611694, 0.5811808109283447, 0.5717600584030151, -0.13871607184410095, 0.5767110586166382, 0.36137261986732483, 0.7455546259880066, 0.1591259241104126, 0.9217256903648376, -0.2237108051776886, 0.33570152521133423, 1.2275984287261963, -0.33663231134414673, 0.8637892007827759, 0.7576566338539124, -0.28369855880737305, 0.12596580386161804, 0.620505690574646, 0.3808867037296295, 0.697690486907959, 0.1087353453040123, -0.4508676528930664, -0.5251042246818542, -0.17916935682296753, -0.2136574536561966, 0.3306463360786438, 0.060804449021816254, -0.18578407168388367, -0.13287630677223206, -0.16976989805698395, 0.0034922813065350056, 0.35075944662094116, -0.11365438997745514, 0.681891918182373, 0.03486495092511177, -0.7335594892501831, 0.6043313145637512, 0.11813464760780334, 0.877557635307312, -0.8723366260528564, 0.1618058979511261, -0.11548038572072983, 0.40891483426094055, 0.012442161329090595, -0.31981658935546875, 0.1727224439382553, -0.22836291790008545, -0.5771945118904114, -0.3521260917186737, 0.6844304800033569, -0.5848716497421265, -0.23894982039928436, 0.26263856887817383, 0.2972027361392975, -0.1467895805835724, -0.3224332332611084, -0.643006443977356, -0.021396851167082787, 0.11136633902788162, -0.38609203696250916, 0.36981871724128723, 0.23342426121234894, 0.06459967792034149, 0.9097028970718384, 0.7641502022743225, 0.21147359907627106, -0.19130191206932068, 0.1839941293001175, 0.8978960514068604, -0.6061140298843384, -0.3361492455005646, -0.9347910284996033, 0.13122440874576569, -0.14104066789150238, -0.3276796340942383, 0.5423951745033264, 0.5813338160514832, 0.8911959528923035, -0.20053741335868835, 0.8408005237579346, 0.39782047271728516, 0.5028471350669861, -0.7287473678588867, 0.23175343871116638, -0.38649821281433105, 0.1258677840232849, -0.2716507017612457, -1.0331884622573853, -0.2567835748195648, 0.674010694026947, -0.49576523900032043, 0.09381116181612015, 0.7623832821846008, 0.603654146194458, -0.15392954647541046, -0.2733137309551239, 0.3722313642501831, -0.2460463047027588, 0.24918226897716522, 0.7610532641410828, 0.5588948726654053, -0.07305649667978287, 0.6131747961044312, -0.3188939094543457, -0.1586267352104187, -0.17307846248149872, -0.989585280418396, -0.8756893277168274, -0.4127882719039917, -0.06728027760982513, 0.101224884390831, -0.03363385051488876, 1.3579567670822144, 0.9132631421089172, -0.6430636048316956, -0.36028817296028137, 0.15858444571495056, 0.3280884623527527, 0.020137447863817215, -0.1593921184539795, 0.11662282794713974, -0.5725770592689514, -1.0358188152313232, 0.4220339059829712, 0.2495991587638855, 0.01710791140794754, -0.22303102910518646, -0.4024389684200287, -0.3328551948070526, -0.02145462855696678, 0.6455203294754028, 0.12654165923595428, -0.6520509123802185, -0.32834532856941223, 0.02680763602256775, -0.27253100275993347, 0.27766546607017517, 0.9856448173522949, -0.6034432649612427, 0.4899837374687195, 0.4019303321838379, 0.5864201188087463, 0.5247352719306946, 0.1643560379743576, 0.8365222811698914, -0.7904317378997803, 0.2983921468257904, 0.20239949226379395, 0.3656170666217804, 0.25256264209747314, -0.257494181394577, 0.40998899936676025, 0.06743493676185608, -0.6476788520812988, -0.4004470705986023, 0.49012306332588196, -1.1045230627059937, -0.29749658703804016, 1.369828224182129, 0.1028420478105545, 0.2205970585346222, -0.013378382660448551, -0.2970533072948456, 0.09810521453619003, -0.8521839380264282, 0.6182927489280701, 0.7828466296195984, -0.20376893877983093, -0.15790578722953796, -0.5896799564361572, 0.5763660073280334, 0.4875202178955078, -0.6763308644294739, 0.33522945642471313, 0.7882737517356873, 0.21425317227840424, 0.16366636753082275, 0.6535513401031494, 0.11865834146738052, -0.09351874142885208, -0.5112074613571167, 0.29310640692710876, -0.3238626718521118, -0.31741979718208313, -0.34801140427589417, 0.19968163967132568, 0.446371465921402, -0.29294198751449585 ]
http://arxiv.org/abs/2405.16376v2
http://arxiv.org/pdf/2405.16376v2
STRIDE: A Tool-Assisted LLM Agent Framework for Strategic and Interactive Decision-Making
2024-05-25T23:25:10
2024-05-28T01:21:19
Chuanhao Li, Runhan Yang, Tiankai Li, Milad Bafarassat, Kourosh Sharifi, Dirk Bergemann, Zhuoran Yang
cs.CL
cs.CL, cs.GT
Large Language Models (LLMs) like GPT-4 have revolutionized natural language processing, showing remarkable linguistic proficiency and reasoning capabilities. However, their application in strategic multi-agent decision-making environments is hampered by significant limitations including poor mathematical reasoning, difficulty in following instructions, and a tendency to generate incorrect information. These deficiencies hinder their performance in strategic and interactive tasks that demand adherence to nuanced game rules, long-term planning, exploration in unknown environments, and anticipation of opponents' moves. To overcome these obstacles, this paper presents a novel LLM agent framework equipped with memory and specialized tools to enhance their strategic decision-making capabilities. We deploy the tools in a number of economically important environments, in particular bilateral bargaining and multi-agent and dynamic mechanism design. We employ quantitative metrics to assess the framework's performance in various strategic decision-making problems. Our findings establish that our enhanced framework significantly improves the strategic decision-making capability of LLMs. While we highlight the inherent limitations of current LLM models, we demonstrate the improvements through targeted enhancements, suggesting a promising direction for future developments in LLM applications for interactive environments.
[ -0.33869412541389465, -0.9657531976699829, 1.0862594842910767, 0.35320809483528137, -0.06292632967233658, 0.5857002139091492, -0.35613709688186646, -0.248407244682312, 0.17553047835826874, 0.3926474452018738, -0.41040825843811035, -0.5709714293479919, -0.5570560693740845, -0.14177502691745758, 0.17224401235580444, 0.6684122681617737, -0.21295078098773956, 0.09391076117753983, 0.05604724958539009, -0.4496239721775055, -0.6555315852165222, -0.3817763328552246, -1.208821415901184, -0.516976535320282, 0.3729824125766754, 0.2812741994857788, 1.0565975904464722, 0.5651261210441589, 0.6399807929992676, 0.506193220615387, 0.10597651451826096, 0.14824622869491577, -0.3950805366039276, 0.4748819172382355, -0.3361401855945587, -0.4322461187839508, -0.9048354029655457, 0.0219016894698143, 0.8008160591125488, 0.1307770013809204, -0.22617177665233612, -0.11678659170866013, -0.1158171147108078, 0.47794654965400696, -0.4420567452907562, 0.42955484986305237, -0.644406259059906, -0.029554175212979317, -0.09771548956632614, -0.16122271120548248, -0.14878450334072113, 0.005555121228098869, 0.03763386607170105, -0.8400614857673645, -0.4152311682701111, -0.01893029920756817, 0.6606306433677673, 0.34499433636665344, -0.29488545656204224, -0.46661263704299927, -0.9230769872665405, 0.6295372247695923, -0.5200687646865845, 0.4202730655670166, 0.08402785658836365, 0.5691261887550354, -0.2655763626098633, -0.7436072826385498, -0.08644497394561768, -0.30345624685287476, 0.2614712417125702, 0.2140188366174698, -0.3071270287036896, 0.33737772703170776, 0.24306482076644897, -0.28722718358039856, -0.22752240300178528, 0.13076336681842804, -0.01597006246447563, -0.11927749216556549, 0.5123789310455322, 0.47189387679100037, 0.1359347254037857, 0.1641875058412552, -0.45542028546333313, -0.07644733041524887, -0.5012491941452026, 0.14058129489421844, 0.30694305896759033, 0.2154562771320343, -0.05758165568113327, 0.3632013201713562, 0.04374045878648758, 0.4681406319141388, 0.17485669255256653, -0.32514017820358276, -0.07152232527732849, -0.2597070038318634, -0.15075913071632385, -0.04669567570090294, 0.5843181014060974, 0.31209301948547363, 0.03822311758995056, -0.20272350311279297, -0.4736619293689728, -0.04945758357644081, 0.118584543466568, -0.579409122467041, -0.06223900243639946, 0.2723289132118225, -0.15252411365509033, -0.13741342723369598, -0.18350574374198914, -0.8861096501350403, -0.43749839067459106, -0.14296400547027588, 0.41160663962364197, -0.6365770101547241, -0.08763500303030014, 0.1550639569759369, -0.32472434639930725, 0.4768628478050232, 0.45134422183036804, -0.6917862296104431, 0.24317137897014618, 0.6454015970230103, 0.9691922068595886, -0.16568267345428467, -0.38982123136520386, -0.6513838768005371, 0.48558342456817627, -0.42483004927635193, 0.831500768661499, -0.9529305100440979, -0.6294651031494141, -0.2317483127117157, -0.38547447323799133, 0.05730048567056656, -0.5478104948997498, 0.4787569046020508, -0.4854981601238251, -0.18552112579345703, -0.44751521944999695, -0.13274100422859192, -0.23929135501384735, 0.7255042791366577, -0.9150371551513672, 0.839844286441803, 0.12145798653364182, -0.21849201619625092, 0.6164195537567139, -0.8809128999710083, -0.4019325077533722, 0.3636336326599121, -0.4465070068836212, -0.2215326577425003, -0.20522241294384003, 0.2070736140012741, 0.2686801552772522, -0.4360799491405487, 0.24827270209789276, -0.23927965760231018, -0.3312600553035736, 0.18686550855636597, -0.4692228436470032, 0.37882277369499207, 0.0382419154047966, -0.4618614614009857, 0.5264130234718323, -0.5129801630973816, 0.07302408665418625, 0.16311004757881165, -0.8320115208625793, -0.014270634390413761, 0.1531526893377304, -0.28866663575172424, 0.2634516954421997, 0.4350762665271759, -0.025588061660528183, 0.34506940841674805, -0.15259651839733124, 0.3188580870628357, 0.9792211055755615, 0.0024237162433564663, 0.7688801884651184, -0.47383853793144226, 0.8433834910392761, -0.12282303720712662, 0.06682877987623215, -0.009654583409428596, -0.4182782769203186, -0.8037279844284058, -0.4462276101112366, 0.007352789398282766, 0.569985568523407, -0.9074980616569519, -0.004656883887946606, -0.29082632064819336, -0.3588123321533203, -0.424175888299942, 0.0758177787065506, 0.07927356660366058, 0.0820181593298912, 0.1496468335390091, -0.08859682083129883, -0.6320515275001526, -0.4991353154182434, -0.31617480516433716, -0.276766836643219, 0.23367618024349213, 0.4727747142314911, 0.3358003497123718, -0.3219727873802185, 0.875826358795166, -0.07565291225910187, -0.2460385262966156, -0.47744226455688477, -0.015039562247693539, 0.1140708327293396, 0.06263481080532074, 0.3661588132381439, -0.6788300275802612, -0.4471256136894226, 0.047952357679605484, -0.6260308623313904, 0.07019146531820297, -0.6377959847450256, -0.2846466302871704, 0.14457210898399353, 0.30944904685020447, -0.9558440446853638, 0.11269229650497437, 0.2098838835954666, -0.49179500341415405, 0.5464117527008057, -0.4811634421348572, 0.1816515475511551, -0.6181193590164185, -0.11928138136863708, -0.06622599810361862, -0.21253952383995056, -0.5265474915504456, 0.23280368745326996, -0.15876543521881104, 0.15375526249408722, -0.31274381279945374, 0.7221360802650452, -0.5961030125617981, -0.1783127784729004, -0.1711561679840088, 0.39204469323158264, -0.11890129745006561, 0.41071879863739014, 0.19184580445289612, 0.9368069767951965, 0.5464215874671936, -0.6266229152679443, 0.4961562156677246, 0.11858467757701874, -0.016670631244778633, 0.7367430329322815, -0.4200543761253357, 0.04840560629963875, -0.041457146406173706, 0.17203490436077118, -0.5799159407615662, 0.020694037899374962, 0.2366763800382614, -0.07280083000659943, 0.2504383325576782, -0.04759354144334793, -0.3674120008945465, -0.005723014008253813, -0.3626384139060974, 0.13749155402183533, 0.4744638204574585, -0.24285370111465454, 1.2027531862258911, 0.4206896424293518, -0.07742692530155182, -0.39797914028167725, -0.42179104685783386, 0.3667687177658081, -0.5802618265151978, -0.5881806015968323, 0.2650182843208313, -0.12104091048240662, -0.6299033761024475, -0.18543559312820435, -0.02785887010395527, 0.18010587990283966, -0.03202490136027336, 0.1195034459233284, 0.2532614469528198, -0.282376229763031, 0.006797959562391043, -0.3329707384109497, -0.27587589621543884, 0.1892257183790207, -0.34032776951789856, 0.5252295732498169, -0.4058348834514618, -0.4221811592578888, 0.3323586881160736, 0.1489304006099701, 0.7924795746803284, -0.46423575282096863, 0.4256054162979126, 0.5798178911209106, -0.0290446225553751, -0.3887532651424408, -0.5646777153015137, 0.024172045290470123, -0.5785211324691772, 0.6119415760040283, -0.38311487436294556, -0.7237021923065186, 0.5375890135765076, -0.7541431784629822, 0.22992712259292603, 0.12299574911594391, 0.6300662159919739, 0.16922815144062042, 0.9029273390769958, 0.39168694615364075, -0.10492808371782303, 0.29002735018730164, -0.18760448694229126, 0.18890391290187836, -0.7033458948135376, -0.34664419293403625, -0.06230853125452995, -0.49682143330574036, -0.48718884587287903, -0.7850048542022705, 0.660164475440979, -0.2366587221622467, -0.5170924067497253, -0.08759001642465591, -0.1532667726278305, 0.4769881069660187, 0.33144062757492065, -0.12468962371349335, 0.1767982691526413, -0.314320832490921, -0.4154466688632965, -0.034112825989723206, -0.778347909450531, -0.6751879453659058, 0.8250049352645874, 0.4452493190765381, 0.6023630499839783, 0.42217159271240234, 0.6184592843055725, 0.22944426536560059, 0.09634346514940262, -0.846352756023407, 0.8737475275993347, 0.27779027819633484, -0.46705788373947144, -0.5279573798179626, -0.21910205483436584, -0.9134164452552795, 0.3659985065460205, -0.3958841562271118, -0.6243632435798645, -0.0991714671254158, -0.12172893434762955, -0.5855894088745117, 0.4975227117538452, -0.43144145607948303, 0.5930708646774292, -0.8571215271949768, -0.781602144241333, -0.2809997797012329, -0.21157854795455933, 0.04826287552714348, -0.16782481968402863, 0.2456880360841751, -0.15090136229991913, -0.757158100605011, 0.5054485201835632, 0.07813222706317902, 0.5711861848831177, -0.15622760355472565, 0.041174184530973434, 0.36176443099975586, 0.3375885486602783, 0.9603692889213562, 0.003838692558929324, -0.4044221341609955, -0.07378310710191727, -0.3318988084793091, -0.12079153209924698, -0.5907665491104126, 0.6533734798431396, -0.42286092042922974, -0.8867055773735046, -0.5519915819168091, -0.6561184525489807, -0.4803915023803711, 0.2716864049434662, -0.1866040974855423, -0.0485212504863739, -0.6066204309463501, 0.028702838346362114, 0.3948286175727844, -0.17141953110694885, 0.7087650299072266, 0.7621042132377625, -0.12186034023761749, -0.2514181435108185, 0.6950573325157166, 0.1719987690448761, 0.14179857075214386, 0.08044003695249557, 0.0759294331073761, -0.4082600176334381, -0.7529468536376953, -0.296743243932724, -0.0015133671695366502, -0.852135956287384, -0.14264288544654846, -0.24247276782989502, -0.05062325298786163, 0.10276634246110916, -0.433636337518692, -0.15915054082870483, -0.09318443387746811, 0.048640791326761246, -0.2879900634288788, 0.24005915224552155, 0.9107665419578552, -0.11661181598901749, 0.3191526532173157, -0.5617241263389587, 0.05222387984395027, 0.14720942080020905, 0.3487498462200165, 0.008288213983178139, -0.063186876475811, -0.22808387875556946, -0.08624988049268723, -0.4181666970252991, -0.8761032819747925, 0.4520885646343231, 0.02251260168850422, 0.7852784395217896, 0.32682543992996216, -0.23083966970443726, 0.6440301537513733, -0.5696204304695129, 0.6119351387023926, -0.10001079738140106, -0.6793935894966125, 0.2609235644340515, -0.6626211404800415, 0.4617379903793335, 0.2445625513792038, 0.1579352617263794, -0.14920422434806824, -0.24873332679271698, -0.6018857359886169, -0.890535295009613, 0.6378870010375977, 0.20923224091529846, -0.19121719896793365, 0.04348926991224289, 0.15896469354629517, -0.2808596193790436, 0.17968985438346863, -0.3862840533256531, -0.009746399708092213, 0.21300381422042847, 0.17211762070655823, -0.16142819821834564, -0.15583661198616028, -0.047549646347761154, -0.09689170867204666, 0.6993459463119507, -0.11072930693626404, 0.10196425020694733, -0.09672226011753082, 0.1264721304178238, -0.07562339305877686, 0.4022402763366699, 0.2548765540122986, 0.6028337478637695, 0.03933276981115341, -0.05543948709964752, 0.6840165257453918, -0.3057556450366974, 0.3741486072540283, 0.09889024496078491, -0.0033887200988829136, -0.22784583270549774, 0.3367796838283539, 0.5457263588905334, 0.4165123403072357, -0.8126842379570007, 0.0876743495464325, 0.09854304045438766, -0.12428860366344452, -0.3034232258796692, 0.12726490199565887, 0.4349345564842224, 0.8635476231575012, 0.0560462586581707, 0.056058209389448166, 0.1462484747171402, -0.59555983543396, 0.19626981019973755, 0.7843543887138367, -0.16873164474964142, 0.010025719180703163, 0.48087307810783386, 0.32296618819236755, -0.5140554308891296, 0.427499383687973, -0.3662508726119995, -0.47430941462516785, 0.5625709295272827, 0.46599721908569336, 0.8574168086051941, -0.19055262207984924, 0.3277224004268646, 0.05172252655029297, 0.43954941630363464, -0.03635066747665405, 0.25720855593681335, 0.00859902985394001, -0.6720284223556519, -0.1802615076303482, -0.42680463194847107, -0.3691340684890747, 0.07725142687559128, -0.10236872732639313, 0.2552913725376129, -0.9118762612342834, -0.6081405282020569, -0.304140567779541, 0.3027467727661133, -0.7171967029571533, -0.10559751093387604, 0.12306348979473114, 0.7627277970314026, -0.17887523770332336, 0.7364727854728699, 0.7618089318275452, -0.29034295678138733, -0.8012107610702515, -0.02719205431640148, 0.3075353503227234, -0.8034557700157166, 0.5607991814613342, -0.08453937619924545, -0.6294869780540466, -0.12980881333351135, -0.18473447859287262, -0.9270244240760803, 1.4637852907180786, 0.6280813813209534, -0.5107242465019226, -0.15276330709457397, 0.2620006501674652, 0.45058536529541016, -0.3607490062713623, 0.2760019302368164, 0.888622522354126, 0.9633329510688782, 0.3485792577266693, -0.6892107129096985, 0.08284001052379608, 0.005353944841772318, -0.17270515859127045, 0.44373393058776855, -0.9021222591400146, 0.8958837389945984, -0.41302230954170227, -0.20542457699775696, -0.02781263366341591, 0.4013436734676361, 0.6030047535896301, 0.2029993087053299, 0.3122881352901459, 0.3764001429080963, 0.8398198485374451, -0.13748931884765625, 0.7263821363449097, -0.41619887948036194, -0.05968235433101654, 0.895906388759613, -0.6410700082778931, 0.7438495755195618, 0.24992252886295319, 0.03542303666472435, 0.563940167427063, 0.28565943241119385, 0.010822559706866741, 0.16967527568340302, -0.012706393375992775, -0.53587806224823, -0.5113093256950378, 0.009254368022084236, 0.17318212985992432, 0.7648099064826965, 0.6060308218002319, -0.052712392061948776, -0.39729949831962585, -0.33941495418548584, 0.1735081523656845, 0.055566489696502686, -0.27301228046417236, 0.7393296957015991, 0.02548048086464405, -0.5850108861923218, 0.08411543816328049, 0.26041579246520996, 0.6122390031814575, -0.9585604667663574, -0.318641722202301, 0.02030220814049244, 0.36854398250579834, 0.08942042291164398, -0.8871316313743591, 0.12495498359203339, -0.12862657010555267, 0.2579749524593353, -0.40366095304489136, 0.8482983708381653, -0.1835196316242218, -0.26305001974105835, 0.5597902536392212, 0.7882590293884277, -0.1418883055448532, -0.039957839995622635, -1.0782041549682617, 0.34503597021102905, -0.23896443843841553, -0.24326607584953308, 0.2648249566555023, 0.751036524772644, -0.11929461359977722, 0.8977726101875305, 0.45913758873939514, 0.24680517613887787, -0.376508891582489, -0.22228844463825226, 0.7353242635726929, -0.6811981797218323, -0.655500590801239, -1.05388605594635, 0.32877233624458313, -0.18983830511569977, 0.004248984158039093, 0.807991623878479, 0.5287715196609497, 0.4110642969608307, 0.2710290253162384, 0.7945579886436462, 0.16557127237319946, -0.23889251053333282, -0.657280445098877, 0.6716838479042053, -0.1037558764219284, 0.5495965480804443, 0.04739867523312569, -0.7443652153015137, -0.08112069219350815, 0.5623131394386292, -0.4735667109489441, 0.5209246873855591, 0.5294649600982666, 0.6926544904708862, -0.07778904587030411, -0.3258405327796936, 0.5318032503128052, 0.21738244593143463, 0.5055835843086243, 0.8114387392997742, 0.7002178430557251, 0.21866413950920105, 0.6409476399421692, 0.2962692379951477, -0.14957590401172638, 0.09117311239242554, -0.9683374166488647, -0.9912002086639404, -0.4325384497642517, 0.05970323830842972, -0.11370404809713364, 0.3367372751235962, 0.9880431294441223, 0.7273942828178406, -0.20518375933170319, -0.469968318939209, 0.03414318338036537, 0.17317301034927368, -0.1025879830121994, -0.14687883853912354, 0.011470397002995014, -0.3785113990306854, -0.41341596841812134, 0.5650699138641357, 0.7150949835777283, 0.1939004808664322, -0.3874227702617645, -0.6524263620376587, -0.3144029974937439, 0.6197365522384644, 0.5277823805809021, 0.232650026679039, -0.6805147528648376, -0.13673517107963562, -0.05203160271048546, 0.1565057784318924, 0.25267672538757324, 0.8374633193016052, -0.8570243716239929, 0.3943231403827667, 0.11033719033002853, 0.5422383546829224, 0.214943528175354, -0.08579441159963608, 0.713001012802124, -0.39784255623817444, 0.27470964193344116, 0.44414398074150085, 0.38380879163742065, 0.3170636296272278, -0.36332547664642334, 0.3627060651779175, -0.19243314862251282, -0.46523216366767883, -0.120923712849617, 0.28182291984558105, -0.6752013564109802, -0.30006036162376404, 1.3544803857803345, -0.059256214648485184, -0.1608603149652481, -0.09356742352247238, -0.5589380860328674, -0.0014401930384337902, -0.6900458335876465, 0.37491464614868164, 0.9091472625732422, -0.1458594799041748, -0.14955078065395355, -0.49741363525390625, 0.6622878313064575, 0.21299763023853302, -0.7977355122566223, 0.00011739930050680414, 0.7283830642700195, -0.04401670768857002, -0.00010520142677705735, 0.7872962951660156, 0.05667150393128395, 0.2056771218776703, 0.31006062030792236, -0.4040944278240204, -0.24095618724822998, -0.46758517622947693, -0.3082959055900574, 0.12054236978292465, 0.5076749920845032, 0.03910939767956734 ]
http://arxiv.org/abs/2405.16337v2
http://arxiv.org/pdf/2405.16337v2
Learning to Reason via Program Generation, Emulation, and Search
2024-05-25T19:40:50
2024-05-28T23:28:52
Nathaniel Weir, Muhammad Khalifa, Linlu Qiu, Orion Weller, Peter Clark
cs.CL
cs.CL, cs.AI
Program synthesis with language models (LMs) has unlocked a large set of reasoning abilities; code-tuned LMs have proven adept at generating programs that solve a wide variety of algorithmic symbolic manipulation tasks (e.g. word concatenation). However, not all reasoning tasks are easily expressible as code, e.g. tasks involving commonsense reasoning, moral decision-making, and sarcasm understanding. Our goal is to extend an LM's program synthesis skills to such tasks and evaluate the results via pseudo-programs, namely Python programs where some leaf function calls are left undefined. To that end, we propose, Code Generation and Emulated EXecution (CoGEX). CoGEX works by (1) training LMs to generate their own pseudo-programs, (2) teaching them to emulate their generated program's execution, including those leaf functions, allowing the LM's knowledge to fill in the execution gaps; and (3) using them to search over many programs to find an optimal one. To adapt the CoGEX model to a new task, we introduce a method for performing program search to find a single program whose pseudo-execution yields optimal performance when applied to all the instances of a given dataset. We show that our approach yields large improvements compared to standard in-context learning approaches on a battery of tasks, both algorithmic and soft reasoning. This result thus demonstrates that code synthesis can be applied to a much broader class of problems than previously considered. Our released dataset, fine-tuned models, and implementation can be found at \url{https://github.com/nweir127/CoGEX}.
[ -0.35279691219329834, -0.7808853387832642, 0.9134509563446045, -0.11530554294586182, 0.0909525528550148, 0.012586647644639015, -0.23655438423156738, -0.020919373258948326, 0.012358787469565868, 0.48524075746536255, -0.790456235408783, -0.5321751832962036, -0.07616856694221497, -0.03632659837603569, -0.31175997853279114, 0.8140021562576294, 0.06331345438957214, -0.2543198764324188, -0.13528721034526825, 0.03696466609835625, -0.34970101714134216, -0.5125454068183899, -0.4710700213909149, -0.5056973099708557, 0.15912523865699768, 0.4959414303302765, 0.5802850127220154, 0.3998008668422699, 0.08363852649927139, 0.2663268446922302, 0.47646966576576233, 0.10283177345991135, -0.6374387741088867, -0.15118186175823212, -0.30650100111961365, -0.6354202032089233, -0.04700522869825363, 0.1821109801530838, 0.1302696019411087, 0.49133583903312683, -0.0793301984667778, 0.03935945779085159, -0.2326088547706604, 0.3806111216545105, -0.5897901058197021, 0.09783900529146194, -0.8069130778312683, 0.23875240981578827, 0.4030689597129822, -0.5346465110778809, -0.570553183555603, -0.5821859836578369, 0.020933251827955246, -0.9212799668312073, 0.2347465455532074, 0.20400914549827576, 0.576263964176178, 0.3312445878982544, 0.014906497672200203, -0.663007378578186, -0.5955297350883484, 1.1067341566085815, -0.7389716506004333, 0.15945641696453094, 0.12995003163814545, 0.2687007188796997, -0.4861256778240204, -0.964779257774353, -0.4936947226524353, -0.3907085955142975, 0.0937035009264946, 0.16539697349071503, -0.23518376052379608, 0.3142811059951782, 0.6877870559692383, 0.18700584769248962, -0.48721373081207275, -0.2843802273273468, -0.2634125351905823, -0.15096555650234222, 0.6672206521034241, 0.11522386223077774, 0.7275696396827698, 0.13843774795532227, -0.007017066236585379, -0.23522698879241943, -0.7495169639587402, 0.18137696385383606, 0.3727039396762848, 0.09212735295295715, 0.027499970048666, 0.6079398393630981, -0.10189758986234665, 0.8385998010635376, 0.005453050602227449, 0.07769622653722763, -0.12424378842115402, -0.05737714841961861, -0.36175525188446045, 0.13911697268486023, 0.4847710132598877, 0.2898465096950531, 0.17264537513256073, -0.09286867827177048, -0.307232528924942, 0.4367126524448395, 0.3656010031700134, -0.7489764094352722, -0.6105104088783264, 0.3442087769508362, -0.4712200164794922, -0.15053020417690277, -0.1918531209230423, -0.51002436876297, 0.047568947076797485, -0.7890811562538147, 0.5425388216972351, -0.5618390440940857, -0.07203605771064758, 0.253879576921463, -0.4714677631855011, 0.273847371339798, 0.3100871741771698, -0.5640309453010559, 0.4136485755443573, 0.8851242065429688, 0.6960345506668091, 0.19027960300445557, -0.30051806569099426, -0.9247819781303406, -0.09856078773736954, -0.6796002984046936, 0.34741273522377014, -0.7708909511566162, -0.09846363216638565, -0.1262933313846588, -0.2231016308069229, 0.031446672976017, -0.47094398736953735, 0.17296268045902252, -0.35782474279403687, 0.06517772376537323, -0.2550451159477234, -0.6494571566581726, -0.334092915058136, 0.09095645695924759, -0.39667630195617676, 0.8374252319335938, 0.3640832304954529, -0.4675552248954773, 0.14752309024333954, -0.7865504026412964, -0.5050985813140869, -0.06601449847221375, -0.38344141840934753, -0.3197925090789795, 0.42528119683265686, 0.13120967149734497, 0.2116653025150299, -0.23715101182460785, 0.20050157606601715, -0.4644400179386139, -0.6993130445480347, 0.16526757180690765, -0.013449070043861866, 0.6975495219230652, 0.34231144189834595, -0.4830799996852875, 0.1878020465373993, -0.5239188075065613, 0.6005328893661499, 0.013397574424743652, -0.07509048283100128, -0.45109885931015015, 0.2744995653629303, -0.24638217687606812, 0.2316436618566513, -0.018983233720064163, -0.3257175087928772, 0.18754827976226807, -0.6059001684188843, 0.6693195104598999, 0.3264482319355011, -0.03949248790740967, 0.4659983217716217, -0.33644840121269226, 0.5393355488777161, -0.3847868740558624, 0.24925130605697632, -0.2215273082256317, -0.3524342179298401, -0.8671454787254333, -0.05864354223012924, -0.18179357051849365, 0.44136467576026917, -1.0207411050796509, 0.42803269624710083, 0.14381588995456696, -0.41861265897750854, -0.44965922832489014, 0.1639433056116104, 0.3410627245903015, 0.199341282248497, 0.5312837362289429, -0.1551501303911209, -0.6087892651557922, -0.6784651279449463, -0.3965369760990143, 0.025756102055311203, 0.12777580320835114, 0.34981855750083923, 0.45071783661842346, -0.24097171425819397, 1.0116429328918457, -0.634317934513092, 0.2158747762441635, -0.5257844924926758, 0.2383449375629425, 0.5352905988693237, 0.44858843088150024, 0.3444772958755493, -0.52680504322052, -0.2336898148059845, 0.013420835137367249, -0.6175351738929749, -0.4209989011287689, -0.44927605986595154, -0.06867404282093048, -0.025683272629976273, 0.6474296450614929, -0.20388883352279663, 0.2866387367248535, 0.6065284609794617, -0.09899074584245682, 0.5662120580673218, -0.5257397890090942, 0.13194158673286438, -0.7826067805290222, 0.26846325397491455, -0.11544360220432281, -0.30100804567337036, -0.5340714454650879, 0.4943169057369232, -0.0891985073685646, -0.5157700181007385, -0.5160727500915527, 0.26317206025123596, -0.5980686545372009, -0.2043110579252243, -0.4397663176059723, -0.1278040111064911, -0.04523039981722832, 0.459512323141098, 0.1879892349243164, 0.8071337938308716, 0.6503053307533264, -0.7232756018638611, 0.36598366498947144, -0.18077033758163452, -0.44317033886909485, -0.003010479500517249, -0.7404016256332397, 0.49326908588409424, -0.008211305364966393, -0.018079090863466263, -0.5421428680419922, -0.10051736980676651, 0.16159233450889587, -0.1518193930387497, 0.08656004071235657, -0.42129096388816833, -0.12639480829238892, -0.34765592217445374, -0.2578381896018982, 0.2778468728065491, 0.8291730880737305, -0.8436338901519775, 0.3519652783870697, 0.3525368273258209, 0.18819302320480347, -0.2862277626991272, -0.5733718276023865, 0.053478918969631195, -0.0869491696357727, -0.4267607033252716, 0.21638408303260803, -0.14803345501422882, -0.3155234158039093, 0.04683096706867218, -0.04272075742483139, 0.040737979114055634, 0.23268769681453705, 0.18162918090820312, 0.013607899658381939, -0.07999496161937714, -0.12132825702428818, 0.39944928884506226, -0.10437601059675217, -0.01139949169009924, -0.5163497924804688, 0.5625326037406921, -0.3161042630672455, -0.42229363322257996, -0.08003266900777817, 0.3243944048881531, 0.33703795075416565, -0.15720416605472565, 0.18722905218601227, 0.24815066158771515, -0.339319109916687, -0.9895431399345398, -0.10679221898317337, -0.3556407392024994, -0.48761695623397827, 0.2991636097431183, -0.45453155040740967, -0.8459468483924866, 0.10118678212165833, -0.46743544936180115, 0.04339097440242767, -0.05641336366534233, 0.4854099750518799, 0.034196797758340836, 1.118849515914917, 0.4478636085987091, 0.24067120254039764, 0.31288227438926697, -0.43817296624183655, 0.5444491505622864, -0.5505684614181519, 0.01825973019003868, -0.2927972674369812, -0.20558564364910126, -0.6571905612945557, -0.8223893642425537, 0.47954508662223816, 0.07811937481164932, -0.15100859105587006, 0.36624905467033386, -0.8150797486305237, 0.7755504846572876, 0.6887787580490112, 0.10376494377851486, -0.09877722710371017, 0.040114711970090866, -0.25301915407180786, 0.08865891396999359, -1.0437768697738647, -0.4478631317615509, 0.9503425359725952, 0.09757933020591736, 0.9748244285583496, -0.3160482943058014, 1.1012681722640991, 0.4428333640098572, 0.3364377021789551, -0.8428762555122375, 0.6367153525352478, -0.22555096447467804, -0.26900944113731384, -0.08900762349367142, -0.5345328450202942, -0.7947577834129333, 0.034383624792099, -0.08005665987730026, -0.6098237633705139, -0.10367242246866226, 0.3442889451980591, -0.36830613017082214, 0.008167405612766743, -0.9576663374900818, 0.9756084680557251, -0.4737485349178314, -0.6688172221183777, -0.624277651309967, -0.341775119304657, 0.45783546566963196, 0.2130894511938095, 0.18989543616771698, 0.13694347441196442, 0.25410744547843933, 0.35866546630859375, -0.59589684009552, 0.7374048829078674, -0.21536530554294586, 0.09969338029623032, 0.7117336988449097, 0.353930801153183, 0.4014213979244232, 0.11428962647914886, -0.07308019697666168, -0.0853814035654068, 0.3262810707092285, -0.16985322535037994, -0.6253281235694885, 0.9811939597129822, -0.6623750925064087, -0.7984834313392639, -0.49440819025039673, -0.5740729570388794, 0.18009817600250244, 0.15832751989364624, 0.01309956330806017, 0.46550390124320984, -0.26851749420166016, -0.0035186237655580044, 0.5415029525756836, -0.6733182072639465, 0.4507044553756714, 0.22279368340969086, -0.42695075273513794, -0.30536171793937683, 1.0819300413131714, -0.0026513575576245785, 0.10351046174764633, 0.32442507147789, 0.32491716742515564, -0.22039413452148438, -0.20880821347236633, -0.3837616741657257, -0.14909663796424866, -0.7039251923561096, -0.005905501078814268, -0.38660866022109985, -0.08121680468320847, -0.07582256197929382, -0.5046188831329346, -0.26162657141685486, -0.2339859902858734, -0.11040281504392624, 0.29409629106521606, 0.1155170202255249, 0.6364700198173523, -0.01533812191337347, 0.1402241736650467, -0.6421651244163513, 0.35555359721183777, 0.30802154541015625, 0.1323796808719635, -0.10920076072216034, -0.0756424069404602, -0.125437393784523, 0.15834978222846985, -0.4256729185581207, -0.9763154983520508, 0.47564536333084106, 0.14035557210445404, 0.5714450478553772, 0.10840892791748047, 0.015996934846043587, 0.48901697993278503, -0.42666658759117126, 0.5592151880264282, 0.3297286927700043, -1.3331451416015625, 0.7969936728477478, -0.14441132545471191, 0.14501364529132843, 0.4015752971172333, 0.15373435616493225, -0.42413339018821716, -0.26536551117897034, -0.6067246198654175, -0.5242096781730652, 0.7746384739875793, 0.26157355308532715, 0.0263206884264946, -0.046305101364851, 0.4893662631511688, 0.2146589457988739, 0.10773679614067078, -0.507965087890625, 0.09392271935939789, -0.3218419849872589, -0.36618801951408386, -0.01656321808695793, 0.20536412298679352, -0.11688823997974396, -0.3525448143482208, 0.579238772392273, -0.5923218727111816, 0.3653915524482727, 0.28820738196372986, -0.1452288031578064, -0.012968778610229492, 0.24185873568058014, 0.3976927101612091, 0.5860284566879272, -0.01848733238875866, 0.4045884907245636, -0.04659073054790497, 0.04739969223737717, 0.10423605889081955, -0.12628449499607086, -0.41517701745033264, -0.20116280019283295, 0.14742054045200348, 0.8304165601730347, 0.05314135178923607, -0.8977442979812622, 0.30859434604644775, 0.013782435096800327, -0.08348646014928818, -0.22003398835659027, 0.7452660202980042, 0.18088270723819733, 0.19424156844615936, 0.04919169843196869, 0.16344653069972992, 0.33305516839027405, -0.9010616540908813, 0.3141920566558838, 0.52336585521698, -0.0585329569876194, -0.37652114033699036, 0.5312589406967163, 0.09160348773002625, -0.4157255291938782, 0.6766258478164673, -0.47828203439712524, -0.7884055376052856, 0.8475621342658997, 0.8223503232002258, 0.8853855729103088, 0.14894571900367737, 0.35154300928115845, 0.5740746259689331, 0.3839813768863678, -0.21684123575687408, 0.6731694340705872, -0.16996733844280243, -0.5265920162200928, -0.6194905042648315, -0.5102739930152893, -0.441169410943985, 0.24359416961669922, -0.25829121470451355, 0.38887813687324524, -0.7019614577293396, -0.04600946232676506, -0.4202840030193329, -0.03573981299996376, -0.6644095778465271, 0.44256681203842163, 0.19153007864952087, 0.7941761612892151, -0.9567816257476807, 0.8707960247993469, 0.8103932738304138, -0.3576841652393341, -0.8846657872200012, 0.12632130086421967, -0.3518197238445282, -0.6013543009757996, 0.29561951756477356, 0.3812812268733978, -0.05944199487566948, 0.12595413625240326, -0.7859628200531006, -0.6070197820663452, 0.6914634704589844, 0.5953407883644104, -0.7601780295372009, 0.15973907709121704, 0.13625560700893402, 0.5963716506958008, -0.3669625222682953, 0.405243843793869, 0.5855795741081238, 0.3765611946582794, -0.07045910507440567, -0.41806232929229736, 0.1029847264289856, -0.13137000799179077, -0.07562433928251266, 0.15988479554653168, -0.4897894263267517, 0.6591471433639526, -0.5781447887420654, -0.11544204503297806, 0.013349175453186035, 0.45443928241729736, 0.5408856868743896, 0.6394453048706055, 0.28461015224456787, 0.6521676182746887, 0.738618016242981, -0.15649686753749847, 1.2012064456939697, -0.3967505097389221, 0.40839946269989014, 1.0447958707809448, -0.2576836347579956, 0.5595666766166687, 0.7117739319801331, -0.07910096645355225, 0.34190627932548523, 0.5322391390800476, -0.017983172088861465, 0.6220588088035583, 0.6339591145515442, -0.0638241097331047, -0.6247897148132324, 0.16920924186706543, -0.01805143430829048, 0.2059384286403656, 0.4964737892150879, -0.35399654507637024, -0.20432408154010773, -0.2624945044517517, -0.279805451631546, 0.190712571144104, -0.3480188548564911, 0.4947586953639984, 0.3810287415981293, -1.1617010831832886, 0.588106632232666, 0.20528502762317657, 0.35171547532081604, -0.6383108496665955, -0.46533191204071045, -0.0027970049995929003, 0.37521621584892273, -0.2751848101615906, -0.7632761001586914, 0.47242116928100586, -0.19112391769886017, 0.03388338163495064, -0.17840981483459473, 0.8951281309127808, -0.4414534270763397, -0.4318631589412689, 0.4449336528778076, 0.4173499643802643, 0.19410398602485657, 0.09278473258018494, -0.885939359664917, 0.21862347424030304, 0.2916524112224579, -0.08751646429300308, 0.14961308240890503, 0.24066276848316193, -0.06297816336154938, 0.5708305239677429, 0.8757123947143555, 0.11774416267871857, 0.23392772674560547, 0.04393273591995239, 0.7164375185966492, -0.44506463408470154, -0.5272339582443237, -0.77840256690979, 0.05042186379432678, 0.00411900132894516, -0.066041499376297, 0.5333715081214905, 0.7195548415184021, 0.9786505103111267, -0.37615033984184265, 1.279916763305664, -0.36020219326019287, -0.0007560120429843664, -0.7127089500427246, 0.4724450707435608, -0.6760318279266357, 0.17108604311943054, -0.16355380415916443, -0.9133567214012146, -0.11160190403461456, 0.8237695693969727, -0.559389591217041, 0.026869045570492744, 0.6684892773628235, 1.074080467224121, -0.38178592920303345, 0.0690697655081749, 0.5171090960502625, -0.08069002628326416, 0.37430092692375183, 1.0969717502593994, 0.9904759526252747, -0.2988393008708954, 0.12864625453948975, -0.27514979243278503, -0.40023261308670044, -0.12909077107906342, -1.0278081893920898, -0.9053009152412415, -0.3479243814945221, -0.4000886380672455, -0.4425727427005768, 0.21478790044784546, 1.205081820487976, 0.6522385478019714, -0.8343738317489624, -0.3380315899848938, -0.6948330402374268, 0.237391859292984, -0.4695470929145813, -0.1910324990749359, 0.23650233447551727, -0.5915035009384155, -0.768918514251709, 0.6795034408569336, 0.37101051211357117, -0.45429423451423645, 0.017330698668956757, -0.53464674949646, 0.013052616268396378, 0.3057980537414551, 0.4368036985397339, 0.48062413930892944, -0.4813591539859772, -0.2939900755882263, 0.10071663558483124, 0.11577878892421722, -0.11817759275436401, 1.1978862285614014, -0.7110975384712219, 0.6773945093154907, 0.7366921305656433, 0.671282947063446, 0.46781376004219055, -0.10348612815141678, 0.74659663438797, -0.43072009086608887, -0.048894379287958145, 0.23528875410556793, 0.3555084764957428, 0.24683088064193726, -0.16994373500347137, 0.34689420461654663, 0.23100827634334564, -0.4506990313529968, -0.6591452956199646, 0.2766853868961334, -0.7021313309669495, -0.5295629501342773, 1.2444615364074707, -0.208331897854805, -0.3783682584762573, -0.12818485498428345, -0.4308241605758667, 0.510780394077301, -0.23458607494831085, 0.7853444218635559, 0.3174341022968292, -0.2618580162525177, -0.12201377749443054, -0.30774587392807007, 0.5221027135848999, 0.4837804138660431, -0.9090069532394409, -0.03676338866353035, 0.5140883326530457, 0.5274611711502075, 0.02627030946314335, 0.3594413697719574, 0.14620524644851685, 0.5734217166900635, 0.010157336480915546, 0.29274147748947144, -0.07810637354850769, -0.35873985290527344, -0.05441926419734955, 0.24711643159389496, 0.14757667481899261, 0.10046075284481049 ]
http://arxiv.org/abs/2405.16295v3
http://arxiv.org/pdf/2405.16295v3
Comparative Analysis of Open-Source Language Models in Summarizing Medical Text Data
2024-05-25T16:16:22
2024-05-29T20:40:32
Yuhao Chen, Zhimu Wang, Bo Wen, Farhana Zulkernine
cs.CL
cs.CL, cs.LG
Unstructured text in medical notes and dialogues contains rich information. Recent advancements in Large Language Models (LLMs) have demonstrated superior performance in question answering and summarization tasks on unstructured text data, outperforming traditional text analysis approaches. However, there is a lack of scientific studies in the literature that methodically evaluate and report on the performance of different LLMs, specifically for domain-specific data such as medical chart notes. We propose an evaluation approach to analyze the performance of open-source LLMs such as Llama2 and Mistral for medical summarization tasks, using GPT-4 as an assessor. Our innovative approach to quantitative evaluation of LLMs can enable quality control, support the selection of effective LLMs for specific tasks, and advance knowledge discovery in digital health.
[ 0.08444570749998093, -0.7501661777496338, 0.8712772130966187, 0.1329757273197174, -0.419717013835907, 0.010319739580154419, -0.31875741481781006, -0.4656527638435364, 0.18639805912971497, 0.507053792476654, -0.08634871989488602, -0.8605943322181702, -0.7087275981903076, 0.3190821707248688, -0.4825432598590851, 1.2208057641983032, -0.26591530442237854, 0.3721166253089905, -0.6199402213096619, -0.23455312848091125, -0.17142456769943237, -0.5748637914657593, -0.4756794571876526, -0.39060041308403015, 0.27365174889564514, 0.014246244914829731, 0.5523773431777954, 0.4004501402378082, 1.0505517721176147, 0.36541008949279785, -0.19537894427776337, -0.015155225992202759, -0.43830832839012146, 0.14848357439041138, -0.05663454905152321, -0.3891561031341553, -0.7942149043083191, -0.08726341277360916, 0.5624716877937317, 0.6287221908569336, -0.11304087936878204, 0.29164132475852966, -0.07884416729211807, 0.7660055160522461, -0.22469425201416016, 0.440032422542572, -0.22979533672332764, -0.056528013199567795, -0.09154126793146133, -0.3262409567832947, -0.07087066024541855, -0.8028294444084167, 0.233387291431427, -0.4989108443260193, 0.10746381431818008, -0.2942731976509094, 0.6141794919967651, 0.26504895091056824, -0.26487788558006287, -0.6321903467178345, -0.6711077094078064, 0.5576155185699463, -1.15017569065094, 0.2991950213909149, 0.28212857246398926, 0.36708828806877136, 0.01252899132668972, -1.099122405052185, -0.3288687765598297, -0.30351173877716064, -0.06320919841527939, 0.3246103823184967, -0.4491948187351227, 0.08150996267795563, -0.18687132000923157, 0.7226800322532654, -0.7623775601387024, 0.11372258514165878, -0.5036048293113708, -0.09117840975522995, 0.5404272675514221, 0.3316722512245178, 0.5370027422904968, -0.09419669955968857, -0.11081739515066147, 0.27425843477249146, -0.6430785655975342, -0.19873356819152832, -0.15937425196170807, 0.06931675970554352, -0.3367578089237213, 0.8645599484443665, -0.2120153158903122, 0.5582807064056396, -0.3352111279964447, -0.4738174080848694, 0.4128793478012085, -0.625207781791687, -0.2829763889312744, -0.21882791817188263, 1.0940595865249634, 0.6880145072937012, 0.27376192808151245, -0.28689852356910706, -0.14322279393672943, -0.06258603185415268, 0.07189548015594482, -0.9723609089851379, -0.2922095060348511, 0.5322377681732178, -0.7854079008102417, -0.3032093942165375, -0.20532739162445068, -0.7510563135147095, -0.4962773621082306, -0.28975802659988403, 0.2762853801250458, -0.22526267170906067, -0.1627340465784073, 0.08256715536117554, -0.12298658490180969, -0.2754702568054199, 0.448983758687973, -0.5765702128410339, 0.6112346649169922, 0.7664674520492554, 1.2553050518035889, -0.4137534499168396, 0.017386475577950478, -0.2563626766204834, -0.07254968583583832, -0.35469850897789, 0.9509732723236084, -0.38082823157310486, -0.5360279679298401, -0.1062290221452713, -0.17426717281341553, -0.029998930171132088, -0.8040435314178467, 0.6204590201377869, -0.32504233717918396, 0.3671199679374695, -0.2490570992231369, -0.6579068899154663, -0.11943177133798599, 0.11260515451431274, -0.8415139317512512, 0.8822278380393982, 0.4860099256038666, -1.1264294385910034, 0.1970546990633011, -0.739572286605835, -0.3315991461277008, 0.13177739083766937, -0.49284008145332336, -0.5474996566772461, 0.10952161252498627, 0.3618201017379761, 0.5445512533187866, -0.6482757329940796, 0.3303010165691376, -0.11593574285507202, -0.47010132670402527, 0.3946976959705353, -0.029942285269498825, 0.6421251893043518, 0.13327926397323608, -0.10319264233112335, 0.41827037930488586, -0.5799984931945801, -0.09586179256439209, 0.22458060085773468, -0.49281615018844604, -0.5354766249656677, 0.09858264029026031, -0.0055744885466992855, 0.04046284779906273, 0.18927954137325287, -0.40164461731910706, 0.21543574333190918, -0.4412398040294647, 0.4798485040664673, 0.34641599655151367, 0.15183013677597046, 0.17263489961624146, -0.38810157775878906, 0.7188641428947449, -0.23877224326133728, 0.13670553267002106, -0.17200741171836853, -0.5811444520950317, -0.26102444529533386, -0.5097583532333374, 0.4273272454738617, 0.5642074346542358, -0.6701729893684387, 0.07980063557624817, -0.5525735020637512, -0.511684238910675, -0.7764483690261841, 0.06213429570198059, 0.4657217562198639, 0.6378527283668518, 0.3840949535369873, -0.436563640832901, -0.3810405731201172, -0.7919822335243225, -0.18076063692569733, -0.304043173789978, -0.33292120695114136, 0.3316991925239563, 0.40464749932289124, -0.3294580280780792, 0.777234673500061, -0.4759845733642578, -0.17573373019695282, -0.39817219972610474, 0.16183261573314667, 0.1852722316980362, -0.020062826573848724, 0.6871559023857117, -0.44203677773475647, -0.31536510586738586, 0.10858357697725296, -0.8966225385665894, -0.5022330284118652, 0.30034345388412476, 0.28811877965927124, 0.006317553576081991, 0.4290640354156494, -0.5064745545387268, 0.21157073974609375, 0.7554985880851746, -0.2182563692331314, 0.467556893825531, -0.27344828844070435, 0.4162154197692871, -1.003675937652588, 0.3932642936706543, 0.007953975349664688, -0.2028592973947525, -0.732322633266449, -0.06673938035964966, 0.1732468605041504, -0.025153739377856255, -0.19559071958065033, 0.547113299369812, -0.418137788772583, -0.2839456796646118, -0.22668763995170593, 0.36608409881591797, -0.13701927661895752, 0.14055632054805756, 0.07694888114929199, 0.7821747064590454, 0.23620346188545227, -0.333504855632782, 0.23031243681907654, 0.3560650944709778, -0.548201858997345, 0.35977986454963684, -1.0311033725738525, -0.11413320153951645, -0.12864266335964203, 0.1964314877986908, -1.0157592296600342, -0.15596164762973785, 0.07144699990749359, -0.5902386903762817, 0.15881246328353882, 0.040552735328674316, -0.4669880270957947, -0.35679155588150024, -0.6063263416290283, 0.36045897006988525, 0.45561137795448303, -0.06584632396697998, 0.28002429008483887, 0.6344703435897827, -0.8950722813606262, -0.350016713142395, -0.5604212880134583, 0.08466532081365585, -0.14268499612808228, -0.46719521284103394, 0.15370413661003113, -0.08953506499528885, -0.614966869354248, 0.1944739669561386, -0.20425985753536224, -0.2455044984817505, 0.030115898698568344, 0.14558297395706177, 0.47419503331184387, -0.383248895406723, 0.09738817811012268, 0.12430667132139206, -0.11155775189399719, 0.0811690166592598, -0.043315015733242035, 0.24518407881259918, 0.06905066221952438, -0.36089691519737244, -0.22535058856010437, 0.25112470984458923, 0.581088125705719, -0.37938687205314636, 0.35149839520454407, 0.18472865223884583, -0.3064696490764618, 0.1257680207490921, -0.4070478081703186, 0.13733358681201935, -0.38265353441238403, 0.5005351305007935, 0.1284993588924408, -0.9806779026985168, 0.34506726264953613, -0.06671471893787384, 0.2271295040845871, 0.5996904373168945, 0.9489026069641113, -0.06434483826160431, 0.6830965280532837, 0.4807010889053345, -0.2035987377166748, 0.049684371799230576, 0.018620779737830162, 0.048126790672540665, -0.5933718085289001, -0.25249162316322327, -0.6522724032402039, 0.12099991738796234, -0.3084733486175537, -0.5597774982452393, 0.821887195110321, -0.007856049574911594, 0.029393812641501427, -0.06643699109554291, -0.4425998628139496, 0.3474968373775482, 0.05966823175549507, -0.10751678794622421, 0.8140090107917786, -0.10294420272111893, -0.05599413812160492, 0.04592093080282211, -0.42216747999191284, -0.8267333507537842, 1.4298774003982544, 0.5013813376426697, 0.6553501486778259, 0.15512177348136902, 0.41222190856933594, 0.2669662833213806, 0.650401771068573, -0.7324485182762146, 0.34301307797431946, -0.33887356519699097, -0.2787635028362274, -0.3200080096721649, -0.6108020544052124, -0.9995284080505371, 0.3666697144508362, -0.06698981672525406, -0.6463868618011475, -0.4306665062904358, -0.06881590932607651, -0.35934630036354065, 0.19800515472888947, -0.5483587384223938, 0.6899906992912292, -0.29824206233024597, 0.2675229012966156, -0.0954638198018074, -0.44379544258117676, 0.5531743764877319, -0.32617607712745667, 0.4742051362991333, -0.14266979694366455, -0.35382819175720215, 0.8568602800369263, -0.4465337097644806, 0.6085963845252991, -0.04526294767856598, -0.3864732086658478, 0.2314782738685608, 0.0019024208886548877, 0.11700622737407684, -0.01381774339824915, 0.0011733276769518852, 0.4220605492591858, 0.22585046291351318, -0.06771301478147507, -0.6307805776596069, 0.7776912450790405, -0.6346948742866516, -0.18160325288772583, -0.31792065501213074, -0.4059290289878845, -0.23348718881607056, 0.2226324826478958, 0.2467179298400879, 0.4513159394264221, -0.3883958160877228, -0.059432726353406906, 0.32703015208244324, -0.369331955909729, 0.3258541226387024, 0.7580610513687134, -0.366435170173645, -0.5891761779785156, 0.6827548146247864, 0.1385342925786972, 0.1978548765182495, 0.5058378577232361, 0.3543408215045929, -0.29104816913604736, -0.9113763570785522, -0.392848402261734, 0.47636982798576355, -0.6824524402618408, -0.055608369410037994, -0.7889837622642517, -0.10605288296937943, -0.3744739592075348, 0.1388816237449646, -0.11880340427160263, -0.5914799571037292, -0.10083627700805664, -0.20571015775203705, 0.4208202064037323, 1.1242622137069702, 0.25529569387435913, 0.1694788783788681, -0.913098931312561, 0.4155423939228058, 0.026792610064148903, 0.5523403286933899, -0.03515348210930824, -0.23616383969783783, -0.27035000920295715, -0.3235386610031128, -0.2741144001483917, -0.9667671918869019, 0.2696681320667267, -0.08107651770114899, 0.6078365445137024, 0.34070929884910583, -0.24711498618125916, 0.3971148729324341, -0.5450038313865662, 0.8009411692619324, 0.22942881286144257, -0.8150227665901184, 0.43979495763778687, -0.38261160254478455, 0.2601894438266754, 0.5203222036361694, 0.45019111037254333, -0.5696631669998169, -0.5093795657157898, -0.3175950348377228, -0.8414338827133179, 0.41285625100135803, 0.37421730160713196, -0.3553438186645508, 0.1743037849664688, 0.2328481674194336, 0.24818648397922516, 0.2831600308418274, -0.4393003284931183, -0.12102002650499344, -0.02613564021885395, -0.5036792159080505, -0.3306795060634613, -0.28054022789001465, -0.15604111552238464, -0.12074927985668182, 0.3096274435520172, -0.027957826852798462, 0.2621159553527832, 0.33292606472969055, -0.08008774369955063, -0.0020950143225491047, 0.35114485025405884, 0.6597438454627991, 0.8272801041603088, -0.15442073345184326, 0.057844482362270355, 0.09485301375389099, -0.8170696496963501, -0.002468803199008107, 0.18572092056274414, -0.21614797413349152, 0.3212326169013977, 0.8470481634140015, 0.4955507218837738, 0.2693096697330475, -0.9288057088851929, 0.7255184054374695, -0.2608982026576996, -0.16412554681301117, -0.11682217568159103, -0.19974558055400848, 0.2862578332424164, 0.15829581022262573, 0.06079017370939255, -0.3942693769931793, 0.4858507513999939, -0.3332739472389221, 0.10484624654054642, 0.1732741743326187, -0.28693678975105286, -0.47037819027900696, 0.5761856436729431, 0.19105751812458038, -0.07037876546382904, 0.3236740231513977, 0.265118807554245, -0.13784487545490265, 0.5769653916358948, 0.4365779757499695, 0.706177830696106, -0.388322651386261, 0.18111982941627502, 0.25966373085975647, 0.26376619935035706, -0.07006377726793289, 0.5574549436569214, 0.07633230835199356, -0.18496018648147583, -0.7667235732078552, -0.36040666699409485, -0.5129579901695251, 0.29439806938171387, -0.5021106600761414, 0.060375798493623734, -0.2116321176290512, -0.2738282382488251, 0.19186557829380035, -0.12667444348335266, -0.459145724773407, 0.061316799372434616, -0.2470085620880127, 0.775506854057312, -0.7196891903877258, 0.6114649176597595, 0.6149386167526245, -0.46099576354026794, -0.42569413781166077, -0.07437766343355179, 0.1619631052017212, -0.6914873719215393, 0.44734326004981995, -0.15672166645526886, 0.059290047734975815, -0.4304266571998596, -0.24235111474990845, -0.6646778583526611, 1.134266972541809, 0.32900625467300415, -0.5966394543647766, -0.2672221064567566, 0.22701852023601532, 0.8952115774154663, -0.0831216350197792, 0.7285445332527161, 0.614097535610199, 0.29230278730392456, -0.10713058710098267, -1.3461912870407104, 0.002345265354961157, -0.3949891924858093, -0.21472860872745514, 0.3671495318412781, -0.4161370098590851, 0.8547672629356384, -0.29682233929634094, -0.3263886570930481, 0.1792117953300476, 0.33707720041275024, 0.12949344515800476, 0.5489944815635681, 0.03408592566847801, 0.3164413273334503, 0.8172951936721802, -0.0036700766067951918, 1.227329134941101, -0.2228090465068817, 0.42007535696029663, 1.1723151206970215, -0.3609214425086975, 0.8252220153808594, 0.16620977222919464, -0.5058044791221619, 0.28489720821380615, 0.36647042632102966, 0.11329072713851929, 0.279201477766037, 0.4313792884349823, -0.1954137086868286, 0.37850818037986755, 0.12771093845367432, -0.39352577924728394, 0.21378210186958313, 0.3136681318283081, -0.5036170482635498, -0.4027383327484131, -0.18973545730113983, 0.2757020890712738, 0.10354825854301453, -0.3303307294845581, 1.097827434539795, 0.14619652926921844, -0.4030460715293884, 0.5277719497680664, 0.13576973974704742, 0.32498544454574585, -0.5830397009849548, -0.12753716111183167, -0.3627440333366394, 0.04509984701871872, -0.3806729018688202, -0.7427241802215576, 0.3309067487716675, 0.4544563591480255, 0.03629845008254051, 0.2667582631111145, 0.6554220914840698, -0.28255951404571533, -0.45457378029823303, 0.2764226794242859, 0.6058331727981567, 0.4136464595794678, 0.0511966310441494, -0.4193623661994934, -0.009663131088018417, -0.21221691370010376, -0.24520044028759003, 0.2903769612312317, 0.4413374066352844, -0.2643772065639496, 0.7245011329650879, 0.4926372468471527, 0.4497778117656708, -0.2523338794708252, 0.27630725502967834, 0.9963626861572266, -0.6429782509803772, -0.38685232400894165, -0.975592315196991, 0.4030584692955017, -0.10139449685811996, -0.20737172663211823, 0.7343443036079407, 0.8027604818344116, 0.5407530069351196, -0.03092559240758419, 1.1211210489273071, 0.2777913510799408, 0.9485116004943848, -0.5761096477508545, 0.8482784032821655, -0.3892543315887451, 0.2529444694519043, -0.6048237085342407, -0.5945543646812439, -0.41380754113197327, 0.23687423765659332, -0.19355571269989014, -0.06705466657876968, 0.881951093673706, 0.4151347577571869, 0.03847439959645271, 0.06889218091964722, 0.12130597233772278, 0.2765231132507324, 0.3645595610141754, 0.45490387082099915, 0.7515972256660461, -0.08229392766952515, 0.4035535454750061, 0.059695616364479065, -0.5476971864700317, -0.09020142257213593, -0.7657008171081543, -1.0647962093353271, -0.5424607396125793, -0.15126438438892365, -0.1075163334608078, -0.02183397114276886, 0.7358738780021667, 0.26192981004714966, -0.8297611474990845, -0.19011978805065155, 0.26401612162590027, -0.200790673494339, -0.11840179562568665, -0.14461909234523773, 0.7373858094215393, 0.03850901499390602, -0.4446098506450653, 0.41227713227272034, 0.5543843507766724, 0.09938209503889084, -0.22114317119121552, -0.05647160857915878, 0.31530189514160156, 0.11653674393892288, 0.7257207632064819, 0.06555049866437912, -0.736222505569458, 0.32511940598487854, 0.0290727149695158, -0.17701752483844757, 0.15764954686164856, 1.189965009689331, -0.4651382565498352, 0.43404707312583923, 0.5486698150634766, 0.6400176882743835, 0.3112773895263672, 0.224042147397995, 0.5184734463691711, -0.18545415997505188, -0.33090609312057495, 0.38742125034332275, 0.3125803470611572, 0.2865963578224182, -0.1905314177274704, 0.646538257598877, -0.05083129554986954, -0.6701707243919373, -0.6662448644638062, -0.24675969779491425, -0.923635721206665, -0.471828818321228, 1.189969778060913, -0.3025464415550232, 0.0210981797426939, -0.2125871777534485, -0.43433311581611633, 0.28393855690956116, -0.2858768701553345, 0.7768849730491638, 0.5640956163406372, -0.21435725688934326, 0.11152064800262451, -0.8721957802772522, 0.4672399163246155, 0.0059258174151182175, -1.2076091766357422, 0.04483562707901001, 0.6015569567680359, 0.4644794464111328, -0.06634719669818878, 1.3020398616790771, -0.7360882759094238, 0.15759901702404022, -0.34102246165275574, 0.05794604867696762, -0.12511518597602844, -0.07241649180650711, -0.633126437664032, 0.21530960500240326, 0.20650450885295868, 0.0722566545009613 ]
http://arxiv.org/abs/2405.16284v1
http://arxiv.org/pdf/2405.16284v1
Generating clickbait spoilers with an ensemble of large language models
2024-05-25T15:49:08
2024-05-25T15:49:08
Mateusz Woźny, Mateusz Lango
cs.CL
cs.CL, cs.IR
Clickbait posts are a widespread problem in the webspace. The generation of spoilers, i.e. short texts that neutralize clickbait by providing information that satisfies the curiosity induced by it, is one of the proposed solutions to the problem. Current state-of-the-art methods are based on passage retrieval or question answering approaches and are limited to generating spoilers only in the form of a phrase or a passage. In this work, we propose an ensemble of fine-tuned large language models for clickbait spoiler generation. Our approach is not limited to phrase or passage spoilers, but is also able to generate multipart spoilers that refer to several non-consecutive parts of text. Experimental evaluation demonstrates that the proposed ensemble model outperforms the baselines in terms of BLEU, METEOR and BERTScore metrics.
[ -0.6010245680809021, -0.8200399875640869, 0.762457549571991, 0.2545084059238434, -0.48424264788627625, -0.3241475522518158, -0.28612402081489563, -0.3688637912273407, 0.5556039810180664, 0.6208739280700684, -0.61899334192276, -0.2253170758485794, -0.48987877368927, 0.38065454363822937, -0.5612925887107849, 1.416086196899414, 0.313679963350296, -0.20043881237506866, -0.3946220576763153, 0.2524349093437195, -0.45441362261772156, -0.17999006807804108, -0.6412870287895203, 0.10605473071336746, 0.8284635543823242, 0.19020302593708038, 0.5720110535621643, 0.5136721134185791, 0.2916491627693176, 0.23836344480514526, -0.11490846425294876, 0.2550128400325775, -0.7037399411201477, 0.3132198750972748, -0.39785099029541016, -0.23943881690502167, -0.022174512967467308, -0.07337192445993423, 0.7060208916664124, 0.6597224473953247, -0.016873549669981003, 0.10001837462186813, 0.07140397280454636, 0.2648151218891144, -0.6546220779418945, -0.009021763689815998, -0.7783849835395813, -0.2556387484073639, -0.13475726544857025, -0.4531864821910858, -0.6941456198692322, -0.6686771512031555, 0.03542690351605415, -0.48138317465782166, 0.29037803411483765, 0.25396719574928284, 0.5040422081947327, 0.30066221952438354, -0.41581737995147705, -0.20587287843227386, -0.7629085183143616, 1.0916008949279785, -0.8572589755058289, 0.10858004540205002, 0.154429093003273, 0.08313068002462387, -0.23618954420089722, -0.34653839468955994, -0.5069443583488464, -0.2355085015296936, -0.11096508055925369, 0.04846425727009773, -0.053325265645980835, -0.30962371826171875, 0.08975937217473984, -0.05879129469394684, -0.813040554523468, 0.2722999155521393, -0.4105721414089203, -0.18942202627658844, 0.8385418057441711, 0.2715506851673126, 0.26294296979904175, -0.46913227438926697, -0.5666906237602234, 0.0023782216012477875, -0.6130500435829163, -0.17443746328353882, 0.6219102740287781, 0.2556300461292267, 0.20155668258666992, 0.3512769043445587, -0.28519877791404724, 0.6212149262428284, 0.31014055013656616, -0.10915712267160416, -0.12540850043296814, -0.2244325876235962, 0.09465747326612473, 0.10116409510374069, 0.9633529782295227, 0.6995055079460144, 0.32785138487815857, -0.2641630470752716, -0.013981283642351627, -0.025467822328209877, 0.38260218501091003, -0.9768698215484619, -0.29308322072029114, 0.4964931309223175, -0.4570038616657257, -0.7522476315498352, 0.07976023107767105, -1.0654467344284058, -0.37287166714668274, -0.13682277500629425, 0.39175185561180115, -0.5410405993461609, -0.0002901572734117508, -0.14587819576263428, -0.30249956250190735, -0.019311023876070976, 0.3817204236984253, -0.6665815711021423, 0.04517025128006935, 0.37634027004241943, 0.3300083577632904, -0.33422747254371643, -0.5933895707130432, -0.7734782099723816, 0.2640668749809265, -0.2833736836910248, 1.0373355150222778, -0.8052391409873962, -0.3715815544128418, 0.1646357774734497, 0.04531784728169441, -0.1758912354707718, -0.30008789896965027, 0.5464348196983337, -0.9891579747200012, 0.3917558491230011, -0.11135225743055344, -0.7403748631477356, -0.42401501536369324, 0.3918430805206299, -0.842139720916748, 0.5647534728050232, -0.6803414821624756, -0.7099514603614807, 0.43970856070518494, -0.6108496189117432, -0.5630539655685425, 0.11443600058555603, 0.11226800829172134, -0.30907711386680603, 0.1669764518737793, 0.39683997631073, 0.3853123188018799, -0.3344383239746094, 0.4349544048309326, -0.10387793928384781, -0.3529939651489258, 0.6148527264595032, -0.46524593234062195, -0.008306161500513554, 0.02896585501730442, -0.12897124886512756, 0.035688575357198715, -0.30632925033569336, -0.19698800146579742, 0.15311037003993988, -0.726018488407135, -0.48256275057792664, 0.2781473994255066, 0.08580896258354187, 0.09695011377334595, 0.37684500217437744, -0.29440438747406006, 0.10577873140573502, -0.32188141345977783, 0.09229802340269089, 0.5432367324829102, 0.40504559874534607, 0.3843047618865967, -0.4378567636013031, 0.5796205997467041, 0.3056831359863281, 0.20877975225448608, -0.6884772181510925, -0.49447154998779297, -0.6169210076332092, 0.0716642513871193, 0.5542077422142029, 0.2975495457649231, -0.8438596725463867, 0.42146173119544983, -0.3255065977573395, -0.38381460309028625, -0.18162018060684204, 0.003707822412252426, 0.4179488718509674, 0.16430488228797913, 0.3687056601047516, 0.0257288608700037, -0.10500244051218033, -0.7032099366188049, -0.3699946105480194, 0.16775745153427124, 0.0015732813626527786, 0.15417300164699554, 0.6055503487586975, 0.1568424254655838, 0.8289487957954407, -0.7027466297149658, -0.10441824793815613, -0.1456030309200287, 0.3692587912082672, 0.08608005195856094, 0.43326273560523987, 0.6206416487693787, -1.1677579879760742, -0.4653843343257904, -0.41878393292427063, -0.560852587223053, 0.1815764307975769, -0.0575217604637146, 0.10844162851572037, 0.061213236302137375, 0.5755312442779541, -0.6049909591674805, 0.0626249834895134, 0.37132903933525085, -0.060376767069101334, 0.8634887337684631, 0.06489157676696777, 0.23151499032974243, -1.2357512712478638, 0.17724376916885376, 0.17625713348388672, -0.18588443100452423, -0.6391626596450806, 0.18365339934825897, -0.16739624738693237, -0.2316729575395584, -0.7334632873535156, 0.6857057213783264, -0.30773571133613586, 0.5088339447975159, -0.5276613235473633, 0.2926446795463562, -0.0038865050300955772, 0.545701801776886, 0.18482975661754608, 0.4335693120956421, 0.3969026803970337, -0.8182653784751892, 0.17065925896167755, 0.20020876824855804, 0.010148082859814167, 0.39164602756500244, -0.6073182225227356, 0.012033913284540176, -0.47165343165397644, 0.6131952404975891, -0.8944650292396545, -0.6323784589767456, 0.10660044103860855, -0.3508639335632324, 0.10993241518735886, -0.5194569230079651, -0.6872214674949646, -0.316098153591156, -0.5969317555427551, 0.6349462270736694, 0.5127857327461243, -0.2894251346588135, 0.2391035407781601, 0.16312240064144135, -0.5480766296386719, -0.43962302803993225, -0.17423386871814728, 0.020144376903772354, -0.4524277448654175, -0.5259841084480286, 0.09563671797513962, -0.31384456157684326, 0.06238937005400658, 0.00011423478281358257, 0.2562214434146881, 0.1346941888332367, -0.2174704670906067, -0.13934989273548126, -0.010914046317338943, -0.12010028213262558, 0.4042919874191284, 0.23597334325313568, -0.03913263604044914, -0.07336900383234024, -0.5142395496368408, 0.8262248039245605, 0.293758362531662, -0.24964375793933868, -0.2174924612045288, 0.5718449950218201, 0.616333544254303, -0.5976904630661011, 0.8940236568450928, 0.6300228238105774, -0.22920984029769897, -0.4600980281829834, -0.5933942198753357, -0.4116232395172119, -0.43111464381217957, 0.11216843128204346, 0.09831150621175766, -0.7480769157409668, 0.5506142973899841, -0.1764112263917923, -0.19220685958862305, 0.5414823293685913, 0.350660115480423, 0.02243674360215664, 1.1449567079544067, 0.6370986104011536, -0.07450265437364578, 0.3125118911266327, -0.04623608663678169, 0.20943410694599152, -0.5426471829414368, -0.0911559984087944, -0.3843974173069, -0.377304345369339, -0.7801204323768616, -0.38272640109062195, 0.5620976090431213, 0.1750384122133255, 0.054798707365989685, 0.2802587151527405, -0.3264675438404083, 0.7906046509742737, 0.7233934998512268, 0.05594601109623909, 0.21279287338256836, -0.10716915130615234, 0.027440935373306274, 0.16750405728816986, -0.5475530028343201, -0.6364012956619263, 0.9602040648460388, 0.04124267399311066, 0.9023399353027344, 0.2832692563533783, 0.8336383700370789, 0.30979323387145996, -0.11218705773353577, -0.668189525604248, 0.5415546894073486, -0.3543969690799713, -0.7628352642059326, -0.4491300880908966, -0.32956114411354065, -1.0090831518173218, 0.0966368019580841, -0.15524081885814667, -0.9219939708709717, 0.022092344239354134, 0.11572351306676865, -0.5829043984413147, 0.2489895224571228, -0.3907450735569, 0.8604412078857422, -0.015714650973677635, -0.44382035732269287, -0.2886708676815033, -0.6386622190475464, 0.5486460328102112, -0.34291520714759827, 0.15093214809894562, 0.036239948123693466, 0.15168257057666779, 0.938116729259491, -0.31843164563179016, 0.9943570494651794, -0.10199519991874695, -0.03666353598237038, 0.5905687212944031, 0.4254026412963867, 0.6446108222007751, 0.25221771001815796, 0.017648713663220406, -0.19191497564315796, -0.14232176542282104, -0.40942999720573425, -0.19310669600963593, 0.7176496386528015, -0.24616311490535736, -0.3190656900405884, -0.16757391393184662, -0.5236148238182068, -0.011499670334160328, 0.5777321457862854, 0.5071768164634705, 0.6978359818458557, -0.2804624140262604, -0.008113820105791092, 0.7394599914550781, -0.3302416503429413, 0.9129227995872498, 0.5813132524490356, -0.1692839115858078, -0.3192075192928314, 1.1044224500656128, -0.31182679533958435, 0.02194385789334774, 0.4491210877895355, 0.1475774198770523, -0.4707281291484833, -0.6621464490890503, -0.4358431398868561, 0.459763765335083, -0.540918231010437, -0.3394525945186615, -0.6466004252433777, -0.10543490201234818, -0.39231428503990173, -0.1745920032262802, 0.09340771287679672, -0.07412999123334885, -0.3078741431236267, 0.041244976222515106, 0.45755505561828613, 1.0618568658828735, 0.11568687111139297, 0.41896581649780273, -1.2814764976501465, 0.10498347133398056, 0.3240315616130829, 0.07383605092763901, 0.18644647300243378, -0.18009264767169952, -0.42502322793006897, -0.04878172278404236, -0.4909304082393646, -0.8718870282173157, 0.2920369803905487, -0.13382945954799652, 0.2872696816921234, 0.6274865865707397, 0.3181554079055786, 0.16178275644779205, -0.721264123916626, 1.0752851963043213, 0.20963741838932037, -0.6118059754371643, 0.6651200652122498, -0.9278256893157959, 0.20846474170684814, 0.4645845890045166, 0.5307062268257141, -0.4338732659816742, -0.6503716707229614, -0.6540672183036804, -0.8829130530357361, 0.6096926331520081, 0.33747735619544983, 0.29936012625694275, -0.34062251448631287, -0.12308577448129654, 0.4053161144256592, 0.6703804135322571, -0.7450577616691589, 0.17358873784542084, 0.15380461513996124, -0.043131157755851746, -0.1772850900888443, -0.34909936785697937, -0.024009136483073235, 0.4229094982147217, 0.7450132966041565, -0.18349218368530273, -0.08163578063249588, -0.1697578877210617, -0.38372400403022766, -0.16877590119838715, 0.4484880268573761, 0.6486547589302063, 0.5512742400169373, -0.21699820458889008, -0.05234541371464729, -0.19446633756160736, -0.12057625502347946, -0.08178254216909409, 0.36410531401634216, -0.3109839856624603, 0.08608370274305344, 0.27875447273254395, 0.6567552089691162, 0.2611818015575409, -0.6908330917358398, 0.6838021278381348, 0.13942140340805054, 0.15753032267093658, -0.347049742937088, -0.14043991267681122, 0.06975925713777542, 0.05919700860977173, 0.316965252161026, 0.11908313632011414, 0.256553053855896, -0.5158244967460632, 0.33997300267219543, 0.18838739395141602, -0.07446539402008057, -0.3857369124889374, 0.8871451020240784, 0.642045795917511, -0.0012885145843029022, 0.44301465153694153, -0.513828694820404, -0.5852630734443665, 0.5153469443321228, 0.3402296006679535, 0.7935509085655212, -0.28288453817367554, 0.3908891975879669, 0.23070470988750458, 0.27534234523773193, -0.018823174759745598, 0.10633630305528641, 0.005751974880695343, -0.6198229193687439, -0.7168424725532532, -1.0407321453094482, -0.24900923669338226, 0.2955624759197235, -0.37126514315605164, 0.3765198290348053, -0.018945081159472466, -0.018615664914250374, 0.10637784004211426, -0.30695000290870667, -0.5040475726127625, 0.2785574495792389, 0.4678800106048584, 0.8218817710876465, -1.073921799659729, 0.34424009919166565, 0.9124781489372253, -0.7572762370109558, -0.5713326930999756, 0.7167589068412781, -0.271672785282135, -0.31932371854782104, 0.2859313189983368, 0.21414293348789215, 0.07233686745166779, 0.07697612792253494, -0.5796189904212952, -0.8247559666633606, 0.5593392848968506, -0.05307498574256897, -0.34805524349212646, -0.32977190613746643, 0.20501838624477386, 0.5644977688789368, -0.12454435974359512, 0.11850828677415848, 0.307618647813797, 0.6194167733192444, -0.013289373368024826, -0.9065472483634949, 0.20483560860157013, -0.042567964643239975, -0.06490804255008698, 0.4787229299545288, -0.8349286913871765, 0.7834739089012146, -0.052729081362485886, 0.0912785455584526, 0.43205657601356506, 0.32643648982048035, 0.17195700109004974, 0.3041253089904785, 0.5493388772010803, 0.5649279356002808, 0.36385655403137207, -0.041334375739097595, 1.0100290775299072, -0.3013168275356293, 0.47053053975105286, 1.0324307680130005, -0.24024271965026855, 0.7855460047721863, 0.3150567412376404, 0.13081495463848114, 0.4951118528842926, 0.6325202584266663, -0.11704113334417343, 0.5908252596855164, 0.20649279654026031, -0.14345772564411163, -0.5813613533973694, -0.19908154010772705, -0.039327699691057205, 0.5086954236030579, 0.3149404227733612, -0.4154694378376007, -0.4431827962398529, 0.18722029030323029, 0.3849658966064453, 0.10271111130714417, -0.337481826543808, 1.0001531839370728, 0.008650089614093304, -0.9959618449211121, 0.26888540387153625, 0.027436474338173866, 0.7025957107543945, -0.42668890953063965, 0.07020477205514908, -0.05459415912628174, 0.008997921831905842, -0.15305127203464508, -0.6867475509643555, -0.14356546103954315, 0.047610778361558914, -0.3715527355670929, 0.05317940190434456, 0.7372003197669983, -0.7114114165306091, -0.632225513458252, 0.032385315746068954, 0.45981767773628235, 0.42941394448280334, -0.3095133304595947, -0.20582033693790436, -0.13801676034927368, -0.16328851878643036, -0.15865354239940643, 0.1511341631412506, 0.28068122267723083, -0.09952103346586227, 0.23840756714344025, 0.5910442471504211, -0.13555292785167694, 0.18899302184581757, 0.0662350282073021, 0.7895475029945374, -0.6873447895050049, -0.948370635509491, -0.6046374440193176, 0.7958607077598572, -0.1989736109972, -0.09462537616491318, 0.7324232459068298, 0.5497444272041321, 0.4762727916240692, -0.41315555572509766, 1.0404865741729736, -0.03675524890422821, 0.6274400353431702, -0.621716320514679, 0.8280616402626038, -0.7749573588371277, -0.007258898112922907, -0.36674976348876953, -1.095191478729248, -0.05983980372548103, -0.32637470960617065, -0.34352627396583557, 0.22932372987270355, 0.6744763255119324, 0.4163743257522583, -0.30300939083099365, 0.06518886238336563, 0.2904782295227051, 0.26331090927124023, 0.18251603841781616, 0.3578861653804779, 1.0020357370376587, -0.30885955691337585, 0.7045822143554688, -0.08028140664100647, 0.0820767730474472, -0.7324509024620056, -0.9147253036499023, -0.9660990834236145, -0.5509727001190186, -0.2754000425338745, -0.014406959526240826, -0.003603128017857671, 0.4751802384853363, 0.5501270890235901, -0.7811741232872009, 0.10274425148963928, 0.26034268736839294, 0.017768200486898422, 0.04054660722613335, -0.2897259294986725, 0.3301675617694855, -0.40663811564445496, -1.0414806604385376, 0.6125168204307556, -0.04860226437449455, -0.06984201818704605, -0.23879331350326538, 0.23445318639278412, -0.15602470934391022, 0.393764466047287, 0.5808049440383911, 0.09825166314840317, -0.558704674243927, -0.44471392035484314, -0.084031842648983, 0.35998204350471497, -0.35828909277915955, 0.6782857775688171, -0.772259533405304, 0.13288255035877228, 0.6258315443992615, 0.09613490104675293, 0.2935998737812042, 0.40372785925865173, 0.5314250588417053, -1.082471251487732, 0.012886054813861847, 0.38992777466773987, 0.39995941519737244, 0.2752407193183899, -0.3528597056865692, -0.002595889149233699, -0.0853261649608612, -0.6166663765907288, -0.6906161904335022, 0.3427332639694214, -0.852456271648407, -0.46326974034309387, 1.2266631126403809, 0.25703689455986023, -0.12925300002098083, 0.2693732976913452, 0.01052473857998848, 0.15810491144657135, -0.7075019478797913, 0.7401881217956543, 0.4856579005718231, 0.03373415768146515, 0.3104861378669739, -0.2218395620584488, 0.45873430371284485, 0.23553715646266937, -0.8644895553588867, -0.1449957937002182, 0.6485975384712219, 0.5510432124137878, 0.7164161205291748, 0.17721538245677948, -0.003229757770895958, 0.36837396025657654, -0.15220174193382263, 0.00951562449336052, 0.22427578270435333, -0.7359337210655212, -0.24715381860733032, 0.30988171696662903, -0.0928577184677124, -0.29948386549949646 ]
http://arxiv.org/abs/2405.16282v5
http://arxiv.org/pdf/2405.16282v5
Confidence Under the Hood: An Investigation into the Confidence-Probability Alignment in Large Language Models
2024-05-25T15:42:04
2024-06-15T22:18:06
Abhishek Kumar, Robert Morabito, Sanzhar Umbet, Jad Kabbara, Ali Emami
cs.CL
cs.CL, cs.AI, cs.LG
As the use of Large Language Models (LLMs) becomes more widespread, understanding their self-evaluation of confidence in generated responses becomes increasingly important as it is integral to the reliability of the output of these models. We introduce the concept of Confidence-Probability Alignment, that connects an LLM's internal confidence, quantified by token probabilities, to the confidence conveyed in the model's response when explicitly asked about its certainty. Using various datasets and prompting techniques that encourage model introspection, we probe the alignment between models' internal and expressed confidence. These techniques encompass using structured evaluation scales to rate confidence, including answer options when prompting, and eliciting the model's confidence level for outputs it does not recognize as its own. Notably, among the models analyzed, OpenAI's GPT-4 showed the strongest confidence-probability alignment, with an average Spearman's $\hat{\rho}$ of 0.42, across a wide range of tasks. Our work contributes to the ongoing efforts to facilitate risk assessment in the application of LLMs and to further our understanding of model trustworthiness.
[ -0.047113560140132904, -0.36023998260498047, 0.7388540506362915, 0.00504692317917943, 0.16168706119060516, -0.003799149766564369, -0.16722175478935242, -0.5675318241119385, -0.11517318338155746, 0.03900643065571785, -0.48954182863235474, -0.41736435890197754, -0.5720514059066772, -0.21859674155712128, -0.5486260652542114, 0.7622188925743103, -0.021880054846405983, 0.20368941128253937, -0.28251880407333374, 0.4391983151435852, -0.3843384087085724, -0.5069377422332764, -0.7166717648506165, -0.314601868391037, 0.6834505796432495, 0.1352250874042511, 0.8061403632164001, 0.5190776586532593, 0.9032591581344604, 0.3250933885574341, 0.3478691875934601, -0.2759343087673187, -0.2882295548915863, 0.20290648937225342, -0.2722107470035553, -0.4723004996776581, -0.6910272836685181, 0.11529882997274399, 0.7177177667617798, 0.47498619556427, -0.15145787596702576, 0.23538297414779663, 0.3110635280609131, 0.24997587502002716, -0.7915043234825134, 0.04248485341668129, -0.8118529915809631, -0.2974368929862976, -0.33752429485321045, -0.17019852995872498, -0.3336697220802307, -0.305965781211853, -0.020719021558761597, -0.37301987409591675, -0.22051939368247986, 0.05213411897420883, 0.7026639580726624, 0.2109992951154709, -0.4399069547653198, -0.11717025190591812, -0.6661965847015381, 0.8386514782905579, -0.6866416931152344, 0.14056171476840973, 0.33455905318260193, 0.297033429145813, -0.38704952597618103, -0.4934972822666168, -0.7122102379798889, 0.0765705481171608, 0.07636594027280807, 0.22625556588172913, -0.20237815380096436, 0.18738313019275665, -0.28532087802886963, 0.5454117655754089, -0.6235411167144775, 0.36366140842437744, -0.15957234799861908, -0.2522641718387604, 0.7618404626846313, 0.01905876211822033, 0.16940484941005707, 0.11843688786029816, -0.37170785665512085, -0.2909475266933441, -0.6379327774047852, -0.025093073025345802, 0.8292874693870544, 0.425272136926651, 0.08750702440738678, 0.8852808475494385, -0.08235544711351395, 0.545145571231842, 0.029234634712338448, -0.31133538484573364, 0.18839217722415924, -0.3998388350009918, -0.4482923150062561, 0.1517908126115799, 0.9731209874153137, 0.543461263179779, 0.7025822401046753, 0.0668179988861084, -0.3021441698074341, 0.20386457443237305, 0.5923689603805542, -0.4632856547832489, -0.036098580807447433, 0.6060194969177246, -0.2149878293275833, -0.6084620356559753, 0.5032873749732971, -0.3709937036037445, -0.2705901563167572, -0.04907021299004555, 0.6970266103744507, -0.24234440922737122, -0.3316306173801422, -0.07937125116586685, 0.10732301324605942, 0.4934253990650177, 0.1898314654827118, -0.6651329398155212, 0.2749039828777313, 0.9505579471588135, 0.6863972544670105, -0.3512877821922302, -0.19642487168312073, -0.5018678307533264, 0.3792795240879059, -0.5927765965461731, 0.40062132477760315, -0.3869156837463379, -0.1163189560174942, 0.11983128637075424, 0.07988439500331879, -0.16851872205734253, -0.10015091300010681, 0.5985994935035706, -0.3984975516796112, 0.08281990140676498, 0.04212286323308945, -0.7444248795509338, 0.12133816629648209, 0.28250595927238464, -0.32400140166282654, 1.0557016134262085, 0.042252153158187866, -0.883537769317627, 0.28967607021331787, -0.2663247585296631, -0.18310129642486572, -0.09114916622638702, -0.3698230981826782, -0.1445430964231491, 0.27176812291145325, 0.01162929181009531, 0.5006414651870728, -0.21528826653957367, 0.28653275966644287, -0.6122928857803345, -0.3542613983154297, 0.9805368781089783, -0.5565260052680969, 0.7003459930419922, 0.09744412451982498, -0.1606847494840622, 0.3403976559638977, -0.5441111326217651, 0.29102763533592224, -0.19906072318553925, 0.3145066499710083, -0.3653661012649536, -0.2858022153377533, -0.3117787539958954, 0.2935888171195984, 0.4375772178173065, -0.5620725750923157, 0.2061985433101654, -0.26527538895606995, 0.2028326690196991, 1.0135990381240845, 0.1448357105255127, 0.3758852779865265, -0.33478108048439026, 0.5524905920028687, 0.006819481961429119, 0.39581841230392456, 0.12437018752098083, -0.6594560742378235, -0.3730124831199646, -0.20859502255916595, 0.46288198232650757, 0.6388068795204163, -0.13228580355644226, 0.48605549335479736, -0.3168869912624359, -0.696912944316864, -0.6859898567199707, 0.11152704805135727, 0.45993009209632874, 0.40994980931282043, -0.0035081147216260433, -0.49610769748687744, -0.2639029324054718, -1.0086274147033691, -0.23711945116519928, -0.5312020182609558, -0.38270533084869385, -0.14203716814517975, 0.4196643531322479, -0.07463347911834717, 0.975033700466156, -0.6472859978675842, -0.1582047939300537, 0.0995713621377945, 0.021401207894086838, 0.19744648039340973, 0.6635670065879822, 0.40207555890083313, -0.5275329351425171, -0.31353959441185, -0.025850100442767143, -0.6666647791862488, -0.1191626638174057, 0.2344667613506317, -0.30497878789901733, 0.239369735121727, 0.47829169034957886, -0.9440800547599792, 0.5798750519752502, 0.777763843536377, 0.0812426432967186, 0.5509661436080933, -0.0954013243317604, 0.2611943483352661, -1.1968811750411987, -0.0611734464764595, 0.1281483769416809, -0.07544463127851486, -0.6176692843437195, 0.14710095524787903, -0.006276456639170647, 0.35957983136177063, -0.10157433897256851, 0.5296227931976318, -0.5208357572555542, -0.29881832003593445, -0.16718871891498566, 0.21523576974868774, -0.25995564460754395, 0.005161207634955645, -0.04426971450448036, 0.8792243599891663, 0.6589910984039307, -0.4087557792663574, 0.22863832116127014, 0.1213807612657547, -0.48677653074264526, 0.7745847702026367, -0.597458004951477, 0.30486059188842773, 0.2032865434885025, 0.061974216252565384, -1.4566787481307983, -0.6360859870910645, 0.2088969349861145, -0.5799536108970642, 0.5933212637901306, -0.284074068069458, -0.4781738519668579, -0.3016956150531769, -0.2757163345813751, 0.3606374263763428, 0.48356297612190247, -0.12275109440088272, 0.4593525230884552, 0.45049503445625305, -0.3649924099445343, -1.0052894353866577, -0.9279733896255493, -0.06580519676208496, -0.40221890807151794, -0.6805063486099243, 0.20232056081295013, -0.25962716341018677, -0.7827927470207214, -0.2728157341480255, -0.26806288957595825, -0.09645375609397888, 0.17343899607658386, 0.5007538199424744, 0.40693843364715576, -0.1930055320262909, 0.15499334037303925, -0.1729033887386322, 0.011701155453920364, 0.10451051592826843, -0.48701047897338867, 0.44955140352249146, -0.05467929318547249, -0.6273752450942993, -0.4711887836456299, -0.017379725351929665, 0.2747523784637451, 0.07278518378734589, 0.9195730686187744, 0.4315064549446106, -0.5413261651992798, 0.30209776759147644, -0.502755343914032, -0.21429774165153503, -0.45652130246162415, 0.0390709787607193, -0.5252108573913574, -0.7259343862533569, 0.5457847714424133, 0.3457091748714447, -0.22051964700222015, 0.6248854398727417, 0.6234031319618225, -0.4032900333404541, 0.9188032746315002, 0.7641105651855469, -0.11754650622606277, 0.2057640105485916, 0.43630528450012207, 0.36654603481292725, -0.6165690422058105, -0.10306140780448914, -0.48101556301116943, -0.2383982092142105, -0.6558058261871338, -0.5393771529197693, 0.2613261342048645, 0.13115864992141724, -0.39264675974845886, 0.280770480632782, -0.25491592288017273, 0.19706496596336365, 0.46621668338775635, -0.1412060707807541, 0.45151641964912415, -0.23229196667671204, -0.050841037184000015, -0.00016112442244775593, -0.4422107934951782, -0.6199242472648621, 1.2013614177703857, 0.702433705329895, 1.0243844985961914, 0.3846411406993866, 0.6551779508590698, -0.010502677410840988, 0.5102248191833496, -0.781792402267456, 0.35833391547203064, 0.27588745951652527, -0.7411648035049438, -0.6239022016525269, -0.4272841811180115, -0.6996420621871948, -0.1380784809589386, -0.18854458630084991, -1.1347359418869019, 0.18413841724395752, 0.19129955768585205, -0.4473101794719696, 0.07825683802366257, -0.5014009475708008, 0.8406836986541748, -0.3319411277770996, -0.16203053295612335, 0.12831911444664001, -0.8527055978775024, 0.6822211742401123, -0.4169312119483948, 0.25973355770111084, -0.05589102953672409, -0.1440810114145279, 0.30549633502960205, -0.1883840411901474, 0.9534447193145752, 0.2166200429201126, -0.7221523523330688, 0.31201669573783875, 0.13831454515457153, 0.43348070979118347, 0.006934074684977531, -0.1285361647605896, 0.18163271248340607, 0.16937679052352905, -0.08694034069776535, -0.6446573138237, 0.7020339369773865, -0.6607843637466431, -0.48969322443008423, -0.5559288263320923, -0.669843316078186, -0.3674107789993286, 0.054763928055763245, 0.3591534197330475, 0.22272080183029175, -0.28903064131736755, 0.18246033787727356, 0.6333954930305481, -0.09664144366979599, 0.16439807415008545, 0.07807452976703644, -0.3758312463760376, -0.29783886671066284, 0.5032737851142883, 0.16358229517936707, 0.6911389231681824, 0.39626064896583557, 0.07302334904670715, -0.41679954528808594, -0.4025258421897888, -0.12670494616031647, -0.04176514968276024, -0.7979241609573364, -0.5764757394790649, -0.3443745970726013, -0.5493000149726868, -0.7381019592285156, -0.057737018913030624, -0.31085726618766785, -0.6123032569885254, 0.031835947185754776, -0.25135281682014465, 0.24481387436389923, 0.7467111945152283, 0.057508353143930435, 0.597044050693512, -0.5035857558250427, -0.23841191828250885, 0.2445768415927887, 0.38551580905914307, -0.22627851366996765, -0.6326290369033813, -0.03138955682516098, 0.008768399246037006, -0.10912363976240158, -0.9612404108047485, 0.2345218062400818, 0.060994088649749756, 0.5198455452919006, 0.6323364973068237, 0.1812150776386261, 0.6236587166786194, -0.2840590476989746, 0.7114781737327576, 0.1963261067867279, -0.950450599193573, 0.21500305831432343, -0.48145729303359985, 0.06548146158456802, 0.5448241829872131, 0.5510116219520569, -0.2067134529352188, -0.6836570501327515, -0.6825310587882996, -0.6233221888542175, 0.13733674585819244, 0.3258723020553589, 0.011052142828702927, -0.06147266924381256, 0.38214170932769775, -0.06660212576389313, 0.4347812831401825, -0.6915909647941589, 0.014931832440197468, -0.0641263797879219, -0.7309601306915283, -0.270372599363327, -0.29769888520240784, -0.5336829423904419, 0.0021544082555919886, 0.7507913708686829, -0.36997708678245544, 0.29491129517555237, 0.11809015274047852, -0.032279834151268005, -0.2690246105194092, 0.4011204242706299, 0.6045889854431152, 0.8612996339797974, -0.3267368972301483, 0.29862579703330994, -0.03967519477009773, -0.3350546658039093, 0.12611402571201324, -0.049126412719488144, 0.09382717311382294, -0.3897947669029236, 0.4284135401248932, 0.28776347637176514, 0.23773284256458282, -0.3644719421863556, 0.856863260269165, 0.0518513023853302, -0.025176087394356728, -0.6206870079040527, 0.11093737185001373, 0.06870818883180618, 0.2511105537414551, 0.5524997711181641, -0.27359825372695923, -0.03854944184422493, -0.7925419807434082, 0.19545167684555054, 0.7591652274131775, -0.4886333644390106, -0.2796224057674408, 0.44699040055274963, -0.2630726099014282, -0.14231857657432556, 0.5783156752586365, 0.04964904859662056, -0.3617096245288849, 0.34883058071136475, 0.5354957580566406, 0.9902536869049072, -0.4351670444011688, 0.07879304885864258, 0.3331047594547272, 0.6330747008323669, -0.14275042712688446, 0.18063770234584808, 0.48199209570884705, -1.0752489566802979, -0.6641027927398682, -0.8137450814247131, -0.4409284293651581, 0.15741191804409027, -0.7029404640197754, -0.03241009637713432, -0.1320883184671402, -0.5236504673957825, -0.2490168660879135, -0.03328350558876991, -0.4191499948501587, 0.3617056906223297, 0.010219215415418148, 1.0167845487594604, -0.908079206943512, 0.942706823348999, 0.2802530527114868, -0.38154077529907227, -1.008047103881836, 0.49533817172050476, 0.20678851008415222, -0.8776993751525879, 0.6027922034263611, 0.22996854782104492, -0.29360127449035645, -0.15629912912845612, -0.7783592343330383, -1.065254807472229, 1.1768594980239868, 0.4661409854888916, -0.5595815777778625, 0.019582197070121765, 0.010442441329360008, 0.5251019597053528, -0.6282644271850586, 0.2799902856349945, 0.5158631801605225, 0.6555848121643066, 0.21198956668376923, -1.0714877843856812, 0.07594393938779831, 0.012642847374081612, -0.06074343994259834, 0.13587543368339539, -0.40615415573120117, 0.7634262442588806, -0.2109834849834442, -0.11663628369569778, 0.46403616666793823, 0.9658265113830566, 0.31870201230049133, 0.13011716306209564, 0.3965708911418915, 0.4200489819049835, 0.8930295705795288, -0.26552170515060425, 1.092307448387146, -0.41207703948020935, 0.04761232063174248, 1.3528780937194824, -0.3632463216781616, 1.0947299003601074, 0.6699944734573364, -0.15684044361114502, 0.5921608805656433, 0.6514125466346741, 0.14472831785678864, 0.1364859640598297, 0.30667564272880554, -0.10722321271896362, -0.11039493978023529, 0.06805653125047684, -0.17664290964603424, 0.626297116279602, 0.24824093282222748, -0.28226789832115173, 0.45035988092422485, -0.5473883748054504, -0.17851455509662628, -0.17694364488124847, -0.40403079986572266, 0.6245917677879333, 0.3539489209651947, -0.69943767786026, -0.043284785002470016, -0.23035794496536255, 0.4555690884590149, -0.8035343885421753, 0.31466037034988403, 0.00418702932074666, 0.3125108778476715, -0.3326953947544098, -1.3215252161026, 0.26694053411483765, -0.2026660144329071, 0.03977493569254875, 0.018284933641552925, 0.7687823176383972, -0.5640964508056641, -0.46498414874076843, 0.17869900166988373, 0.34416335821151733, 0.34232452511787415, -0.2683027386665344, -0.38476628065109253, 0.14188452064990997, -0.505854606628418, -0.28806254267692566, 0.523499608039856, 0.48859596252441406, -0.09999226033687592, 0.6568876504898071, 0.5075498819351196, 0.06060619652271271, -0.03235286474227905, 0.046474259346723557, 0.3887646198272705, -0.28187111020088196, -0.09679358452558517, -0.8700292706489563, 0.5035249590873718, -0.22771424055099487, -0.23753945529460907, 1.0603950023651123, 0.35845208168029785, 0.7993133068084717, -0.08001028746366501, 0.7339208126068115, 0.19928768277168274, 0.13532207906246185, -0.5780704021453857, 0.5708863735198975, -0.421098917722702, 0.02579096332192421, -0.7572943568229675, -0.9408988952636719, -0.22513478994369507, 0.7481604218482971, -0.35299623012542725, 0.21816259622573853, 0.6455918550491333, 0.8137730956077576, 0.08617530018091202, -0.3431399464607239, 0.3895874619483948, 0.22380207479000092, 0.012045064009726048, 0.349228173494339, 0.7564257383346558, -0.2729574143886566, 0.42729583382606506, -0.04126395285129547, -0.3343832790851593, 0.1280955672264099, -1.3271973133087158, -0.4836842715740204, -0.6025339961051941, -0.3649740517139435, -0.5185292363166809, -0.15833477675914764, 0.7066183090209961, 0.4326792061328888, -0.7383209466934204, -0.4732551872730255, 0.0308661051094532, -0.14258845150470734, -0.3426291048526764, -0.23865003883838654, 0.15163934230804443, -0.28979191184043884, -0.6456479430198669, 0.31645989418029785, 0.38964956998825073, 0.38119199872016907, -0.47866207361221313, 0.005014523398131132, -0.054372552782297134, 0.369687020778656, 0.131130650639534, 0.04197797179222107, -0.6432989239692688, -0.5655292868614197, -0.04865296930074692, -0.33682551980018616, -0.03430849313735962, 0.5401563048362732, -0.23108074069023132, 0.1288520246744156, 0.2598808705806732, 0.6068016290664673, 0.2201555073261261, 0.22444270551204681, 1.2082304954528809, -0.9495840072631836, -0.16536249220371246, -0.1698097139596939, 0.35846590995788574, 0.5225452184677124, -0.5541878938674927, 0.7421644926071167, -0.1552961766719818, -0.7576727271080017, -0.9888997077941895, 0.4387374520301819, -1.057468056678772, -0.04766125977039337, 1.0755620002746582, -0.03589208424091339, -0.15057849884033203, 0.13576145470142365, 0.1076522246003151, 0.2941160798072815, -0.11384423077106476, 0.503341794013977, 1.074753999710083, 0.0009118769667111337, -0.12925371527671814, -0.7269755601882935, 0.6151187419891357, 0.07523954659700394, -0.6093882322311401, 0.11426366120576859, 0.22015975415706635, 0.42907077074050903, 0.3627336919307709, 0.6394848823547363, -0.17849476635456085, -0.13498131930828094, -0.2017756849527359, 0.11423251032829285, 0.49737611413002014, -0.4178079068660736, -0.5056123733520508, 0.2587520480155945, 0.3461202383041382, 0.019096458330750465 ]
http://arxiv.org/abs/2406.00033v1
http://arxiv.org/pdf/2406.00033v1
Retrieval-Augmented Conversational Recommendation with Prompt-based Semi-Structured Natural Language State Tracking
2024-05-25T15:41:26
2024-05-25T15:41:26
Sara Kemper, Justin Cui, Kai Dicarlantonio, Kathy Lin, Danjie Tang, Anton Korikov, Scott Sanner
cs.CL
cs.CL, cs.AI
Conversational recommendation (ConvRec) systems must understand rich and diverse natural language (NL) expressions of user preferences and intents, often communicated in an indirect manner (e.g., "I'm watching my weight"). Such complex utterances make retrieving relevant items challenging, especially if only using often incomplete or out-of-date metadata. Fortunately, many domains feature rich item reviews that cover standard metadata categories and offer complex opinions that might match a user's interests (e.g., "classy joint for a date"). However, only recently have large language models (LLMs) let us unlock the commonsense connections between user preference utterances and complex language in user-generated reviews. Further, LLMs enable novel paradigms for semi-structured dialogue state tracking, complex intent and preference understanding, and generating recommendations, explanations, and question answers. We thus introduce a novel technology RA-Rec, a Retrieval-Augmented, LLM-driven dialogue state tracking system for ConvRec, showcased with a video, open source GitHub repository, and interactive Google Colab notebook.
[ -0.41528943181037903, -0.9336962699890137, 0.537709653377533, 0.0018401396228000522, -0.12243051081895828, 0.30448973178863525, -0.08583332598209381, -0.4499662518501282, 0.4959217607975006, 0.5629448890686035, -0.8061040043830872, -0.5510724782943726, -0.12124869227409363, 0.19444985687732697, -0.2539306879043579, 1.1864862442016602, 0.23835887014865875, 0.08317068219184875, -0.16754120588302612, -0.2410428375005722, -0.8760701417922974, -0.459330677986145, -0.40000882744789124, -0.5769878029823303, 0.34013351798057556, 0.6731440424919128, 0.7018855214118958, -0.10682018846273422, 0.289581298828125, 0.19615793228149414, -0.13956308364868164, 0.3760022819042206, -0.5137014389038086, 0.4659365117549896, -0.19782191514968872, -0.3096410632133484, -0.27878835797309875, -0.16741180419921875, 0.4084065556526184, 0.7638264298439026, -0.4084160029888153, 0.057426467537879944, 0.07830491662025452, 0.8115575909614563, -0.5694535374641418, 0.19135358929634094, -0.28339990973472595, -0.13094691932201385, 0.1375257521867752, -0.44451287388801575, -0.4900948703289032, -0.4701246917247772, 0.7487348914146423, -0.5455405712127686, 0.1508556753396988, 0.5512099862098694, 0.5050407648086548, -0.09237264841794968, -0.4051196873188019, -0.5936270356178284, -0.9902318716049194, 0.8535822629928589, -0.2408369779586792, 0.42857038974761963, 0.5696724057197571, 0.5512101650238037, -0.2925879657268524, -0.5756096243858337, -0.4323512315750122, -0.6437075734138489, -0.05742236226797104, -0.01129017025232315, -0.2990259528160095, 0.1727721393108368, 0.20818288624286652, 0.5566941499710083, -0.4732324779033661, -0.23441293835639954, -0.15521876513957977, -0.36245667934417725, 0.46671760082244873, 0.30188900232315063, 0.32809701561927795, -0.26593017578125, -0.5911694765090942, 0.1641274392604828, -0.7680164575576782, 0.12441397458314896, 0.19775427877902985, 0.22280384600162506, -0.22011585533618927, 0.829113245010376, -0.4972469210624695, 0.9108447432518005, 0.17630082368850708, 0.19576133787631989, 0.16629460453987122, -0.5804154276847839, -0.251027911901474, 0.3999665379524231, 0.6640715599060059, 0.4907066524028778, 0.17835605144500732, -0.06549511104822159, -0.2297997772693634, -0.09780608117580414, 0.05508080869913101, -0.5958017110824585, -0.35564711689949036, 0.049610983580350876, -0.3889152407646179, -0.14839483797550201, -0.041174065321683884, -0.5867781639099121, -0.5738064646720886, -0.36698025465011597, 0.34687450528144836, -0.3058169186115265, -0.05939066410064697, 0.4261550009250641, 0.08695490658283234, 0.031158046796917915, 0.5515414476394653, -1.0017709732055664, 0.4448809325695038, 0.5338517427444458, 0.858443021774292, -0.10516168922185898, 0.2970040440559387, -0.8738088011741638, -0.028574351221323013, -0.09546440094709396, 1.0153743028640747, -1.0229493379592896, -0.5558032989501953, 0.34840357303619385, 0.1580255627632141, 0.36036884784698486, -0.5644858479499817, 0.5036813616752625, -0.6399322152137756, 0.3087170422077179, -0.4393986463546753, -0.563518226146698, -0.33914420008659363, 0.5917870998382568, -0.5981199741363525, 1.1498730182647705, -0.05783535912632942, -0.6382109522819519, 0.21102605760097504, -0.4326925575733185, -0.4349091351032257, 0.27897927165031433, -0.07736457139253616, -0.041052188724279404, -0.1462353616952896, 0.16694074869155884, 0.45957115292549133, -0.439907431602478, 0.45389074087142944, -0.44974178075790405, -0.44476965069770813, 0.2732963263988495, -0.44577276706695557, 0.34104305505752563, 0.45359209179878235, 0.1310187727212906, 0.30209633708000183, -0.6869542598724365, -0.3458876311779022, -0.18988186120986938, -0.4183078110218048, -0.44257256388664246, 0.014753518626093864, 0.05280565842986107, -0.15066424012184143, 0.4892216920852661, -0.6832180023193359, 0.25698521733283997, -0.418697327375412, 0.38164564967155457, 0.454682856798172, 0.290862500667572, 0.6320812106132507, -0.39986932277679443, 0.5807082056999207, -0.3150821030139923, 0.015930568799376488, -0.3506655991077423, -0.3356500566005707, -0.4895871877670288, -0.09310358762741089, -0.05866937339305878, 0.5128715634346008, -0.7782930135726929, 0.3368922173976898, -0.002888299059122801, -0.3028748333454132, -0.44493845105171204, 0.011325646191835403, 0.3026302456855774, 0.5443956255912781, 0.34061408042907715, -0.08958427608013153, -0.513498842716217, -0.7971910834312439, -0.19198636710643768, -0.2208377569913864, -0.1376103162765503, 0.7181032299995422, 0.18986213207244873, -0.049909841269254684, 1.0022528171539307, -0.6499467492103577, -0.42886650562286377, -0.6300281286239624, 0.1584809124469757, 0.20363140106201172, 0.25323161482810974, 0.14516794681549072, -0.7318171858787537, -0.3324917256832123, -0.04666198417544365, -0.44933614134788513, -0.1290009468793869, -0.0843186303973198, 0.009161826223134995, 0.041582971811294556, 0.3391367197036743, -0.4890769422054291, 0.23310907185077667, 0.5086510181427002, -0.29194602370262146, 0.5362616181373596, -0.39342936873435974, 0.23642580211162567, -1.1414235830307007, 0.10027728229761124, 0.3350988030433655, -0.47819700837135315, -0.4494360387325287, -0.5245552659034729, -0.4133082330226898, -0.1470455825328827, -0.3258260488510132, 0.7870280146598816, -0.3321409821510315, -0.02553727850317955, -0.18444454669952393, 0.33265313506126404, 0.0575857013463974, 0.5401944518089294, 0.1009615957736969, 0.6883180737495422, 0.3777293562889099, -0.6905862092971802, 0.5733694434165955, 0.3510689437389374, -0.6636139750480652, 0.7282178997993469, -0.6074970364570618, 0.13157644867897034, 0.0698438435792923, 0.5511434674263, -1.1143889427185059, -0.16397178173065186, 0.23352929949760437, -0.2607972323894501, 0.18422599136829376, -0.38595104217529297, -0.28538277745246887, 0.07481834292411804, -0.3797512352466583, 0.39380601048469543, 0.1589815467596054, -0.5150564312934875, 0.754285991191864, 0.5868414044380188, -0.20864537358283997, -0.6724202036857605, -0.3722049295902252, 0.22537626326084137, 0.18304796516895294, -0.34371012449264526, 0.16441354155540466, -0.2549416422843933, -0.21554724872112274, -0.1758507788181305, -0.20129531621932983, 0.23972783982753754, 0.06172240525484085, 0.19774462282657623, 0.5441790223121643, 0.24039719998836517, 0.30060872435569763, -0.03944755345582962, -0.09772244095802307, -0.07765679806470871, -0.3617251217365265, 0.6516304016113281, -0.41459396481513977, -0.17148122191429138, -0.5701457858085632, 0.35697534680366516, 0.4841761291027069, -0.15808136761188507, 0.3012749254703522, 0.4406295418739319, -0.306160032749176, -0.11704500764608383, -0.7586647272109985, -0.3314782977104187, -0.45853251218795776, 0.32719653844833374, -0.23173169791698456, -1.2260212898254395, 0.3248785138130188, -0.16780023276805878, 0.012158781290054321, 0.08583344519138336, 0.7209906578063965, -0.40193647146224976, 1.2133057117462158, 0.524329423904419, -0.15364035964012146, 0.8008769750595093, -0.2228885442018509, 0.22822727262973785, -0.8194873332977295, -0.6352605223655701, -0.6072075963020325, -0.34665513038635254, -0.6913498044013977, -0.04227437078952789, 0.3364644944667816, -0.1733788549900055, -0.21053510904312134, 0.029303450137376785, -0.43071815371513367, 0.19007623195648193, 0.6822113990783691, 0.15389667451381683, 0.5330564379692078, -0.09651678055524826, -0.06610081344842911, 0.027874289080500603, -0.45934274792671204, -0.4539083242416382, 0.7093579173088074, 0.12821349501609802, 1.3705480098724365, 0.003150444244965911, 0.30962657928466797, 0.9564248323440552, 0.11696998029947281, -1.0645755529403687, 0.7629989385604858, -0.0798778310418129, -0.5513225197792053, -0.050781819969415665, -0.2758634686470032, -0.8641336560249329, -0.19907154142856598, -0.5960066914558411, -0.7691320776939392, 0.16440488398075104, 0.43177157640457153, -0.373158723115921, 0.1792268455028534, -0.6075249314308167, 0.7268583178520203, -0.026695355772972107, -0.2859838604927063, -0.566137433052063, -0.6093202829360962, 0.07636208832263947, 0.3961222767829895, -0.13090716302394867, -0.20541533827781677, 0.2524682283401489, 0.582798182964325, -0.3987853527069092, 0.7677973508834839, -0.3314732611179352, 0.07352638989686966, 0.4966384172439575, 0.6588242650032043, 0.685121476650238, 0.2281186282634735, 0.17109350860118866, -0.13263241946697235, 0.11473765224218369, -0.053962741047143936, -0.6510987877845764, 0.8560110926628113, -0.3522854447364807, -0.5721705555915833, -0.4980018436908722, -0.5375676155090332, -0.236994668841362, 0.1120123416185379, -0.1854049116373062, 0.7436217665672302, -0.34335091710090637, 0.37029650807380676, 0.8533340692520142, -0.29020780324935913, 0.054231248795986176, 0.7511539459228516, -0.3383467197418213, -0.3383706510066986, 0.9038580656051636, -0.2102007418870926, 0.06052890419960022, 0.8579967617988586, 0.2207595854997635, -0.5248080492019653, -0.4114486873149872, -0.40713489055633545, 0.12488481402397156, -0.419506698846817, -0.23094776272773743, -0.7288519144058228, 0.30215945839881897, -0.07241179794073105, -0.14073902368545532, -0.10163253545761108, -0.3972308337688446, -0.2555329501628876, -0.30497172474861145, 0.5011388063430786, 0.8411335945129395, 0.2907770276069641, 0.05696284398436546, -0.7350500226020813, 0.3376788794994354, 0.3012479543685913, 0.48938390612602234, -0.19377152621746063, -0.41459667682647705, -0.3494989275932312, 0.1337423026561737, -0.09165123850107193, -0.6483138203620911, 0.32957419753074646, 0.008504033088684082, 0.22714950144290924, 0.21061372756958008, 0.2479531615972519, 0.3249306380748749, -0.3415021002292633, 0.9126213788986206, 0.2321014255285263, -0.6394878029823303, 0.5938034057617188, -0.31428587436676025, 0.46611759066581726, 0.5248268246650696, 0.1350986510515213, -0.8075833916664124, -0.22804836928844452, -0.09864684194326401, -0.561150312423706, 0.7332407832145691, -0.147832453250885, 0.2270243912935257, -0.1612349897623062, 0.15881367027759552, 0.11533311009407043, 0.1960112452507019, -0.3338998556137085, -0.09907551109790802, -0.015861187130212784, -0.2780151665210724, 0.07457563281059265, -0.5943154096603394, -0.1112515851855278, 0.13134583830833435, 0.6927449107170105, -0.24287517368793488, 0.09030519425868988, 0.43908917903900146, -0.20618169009685516, -0.03933039680123329, 0.4837976396083832, 0.5030490159988403, 0.279000461101532, -0.7404747009277344, -0.07810362428426743, 0.1175982654094696, -0.45022863149642944, -0.03551632538437843, 0.0642281249165535, -0.2475273311138153, -0.018351173028349876, -0.14286372065544128, 0.7821495532989502, 0.45158708095550537, -0.8520898222923279, 0.4212128221988678, -0.2519201636314392, 0.11714651435613632, -0.4469310939311981, -0.0659191906452179, -0.11833064258098602, 0.20768903195858002, 0.4658239781856537, 0.373025119304657, 0.48196113109588623, -0.6927478313446045, 0.07254914939403534, 0.6319682002067566, -0.7775089144706726, -0.41218477487564087, 0.46419885754585266, 0.6247066855430603, -0.43254250288009644, 0.5504946112632751, -0.006152092479169369, -0.19237400591373444, 0.017583245411515236, 0.364793598651886, 1.0577539205551147, 0.07583285868167877, 0.2879624664783478, 0.3663885295391083, -0.043125227093696594, -0.23700574040412903, 0.25176432728767395, -0.49734240770339966, -0.6584659218788147, -0.3819698393344879, -0.5339406132698059, -0.6896549463272095, -0.20922838151454926, -0.8348222374916077, 0.3149265944957733, -0.3822353780269623, -0.32176271080970764, -0.15129917860031128, 0.23940393328666687, -0.6229004859924316, 0.06538718193769455, 0.22214795649051666, 0.9809882640838623, -0.6834708452224731, 0.680072546005249, 0.7149798274040222, -0.3434714078903198, -0.6146550178527832, -0.2594413757324219, 0.032270658761262894, -0.6305117607116699, 0.40353286266326904, 0.06807873398065567, -0.7500065565109253, -0.14565888047218323, -0.6169167757034302, -0.515059769153595, 0.9419333934783936, 0.40198636054992676, -0.6773108839988708, 0.06582437455654144, -0.3303416669368744, 0.6566141843795776, -0.31522315740585327, 0.34253183007240295, 0.44091373682022095, 0.2477051019668579, 0.3728238046169281, -0.837815523147583, -0.04511958733201027, -0.1453426331281662, -0.21818551421165466, 0.3430155813694, -0.5351550579071045, 0.1269349604845047, -0.4063555896282196, -0.30366504192352295, 0.08164189755916595, 0.6610106825828552, 0.24281780421733856, 0.5255751013755798, 0.5523568391799927, 0.2768586277961731, 0.6374378204345703, 0.015756556764245033, 1.187293529510498, -0.23776766657829285, 0.39335501194000244, 1.316969633102417, -0.5097517967224121, 0.8086817264556885, 0.3488537073135376, 0.10472583770751953, 0.7501240968704224, 0.666521430015564, -0.009476331062614918, 0.5066794753074646, -0.03315070644021034, -0.4396878778934479, -0.42043444514274597, -0.817841112613678, -0.0008769775158725679, 0.21129557490348816, 0.3528977930545807, -0.03209403529763222, -0.09274416416883469, 0.09823357313871384, -0.13121579587459564, 0.15445749461650848, -0.2863941192626953, 1.0638092756271362, 0.140703484416008, -0.9785497784614563, 0.4603888988494873, -0.26999640464782715, 0.67682284116745, -0.8103872537612915, -0.5035305619239807, -0.3566224277019501, -0.07496872544288635, -0.3043080270290375, -1.0778589248657227, -0.16932794451713562, 0.2019755095243454, -0.4060051441192627, -0.23845720291137695, 0.702256441116333, -0.5765963792800903, -0.1993260383605957, 0.35249435901641846, 0.35140106081962585, 0.08536157011985779, 0.19888706505298615, -0.57583087682724, -0.08180176466703415, 0.10957647860050201, -0.2064877450466156, 0.19307036697864532, 0.12815488874912262, -0.14604243636131287, 1.212754249572754, 0.7072821855545044, 0.041176583617925644, -0.3058103621006012, 0.40852025151252747, 0.6725606322288513, -0.559812605381012, -0.4814077615737915, -0.5698421597480774, 0.14040547609329224, 0.2239786982536316, -0.019393187016248703, 0.5126466155052185, 0.6766548752784729, 0.9151118397712708, 0.10931962728500366, 0.5618098378181458, -0.11635169386863708, 0.6033382415771484, -0.48230454325675964, 0.27701908349990845, -0.4407697021961212, 0.6874068975448608, -0.11254117637872696, -0.9103119373321533, -0.1696617305278778, 0.20458029210567474, -0.2847194969654083, 0.01116685476154089, 0.5281346440315247, 0.8866538405418396, 0.18832892179489136, 0.20713654160499573, 0.1446591466665268, 0.1119234710931778, 0.45342010259628296, 0.3899001479148865, 0.9311892986297607, -0.05716569349169731, 0.7356051206588745, 0.12780943512916565, -0.04167059808969498, -0.44845134019851685, -0.6809661388397217, -0.652737021446228, -0.6091132164001465, -0.20522469282150269, -0.5258886218070984, 0.0030467931646853685, 1.4346562623977661, 0.5191872715950012, -0.8974128365516663, -0.3739463686943054, 0.07248824834823608, 0.1502888947725296, -0.08459595590829849, -0.24607795476913452, 0.28456607460975647, -0.1308990865945816, -0.8310128450393677, 0.6076120734214783, 0.51316237449646, -0.05613362044095993, -0.3423594832420349, -0.19173471629619598, -0.5143576264381409, -0.0807105004787445, 0.5009669065475464, 0.349025696516037, -0.7188770174980164, -0.4256207048892975, 0.09117981046438217, -0.1708054393529892, 0.029193462803959846, 0.9739848375320435, -1.0219249725341797, 1.1105602979660034, 0.6426175236701965, 0.44788360595703125, 0.5982917547225952, 0.1786198914051056, 0.7927864789962769, -0.638444185256958, -0.10839591175317764, 0.3742019534111023, 0.38722020387649536, 0.468982994556427, -0.22504262626171112, 0.2697691023349762, 0.17704898118972778, -0.5788301229476929, -0.8274112343788147, 0.24551965296268463, -1.3624238967895508, 0.07356163114309311, 0.9549452662467957, -0.03179696947336197, 0.08525100350379944, -0.27311527729034424, -0.6463066339492798, 0.09553615003824234, -0.9577336311340332, 0.7551760673522949, 0.6004342436790466, -0.1121070608496666, 0.0612698532640934, -0.5276950001716614, 0.5407865643501282, 0.3898421823978424, -0.4458034336566925, 0.28016898036003113, 0.741581380367279, 0.30278080701828003, -0.09641086310148239, 0.5990298390388489, 0.1328231543302536, 0.24170903861522675, -0.5482831597328186, -0.017685504630208015, -0.06396414339542389, -0.30278655886650085, -0.37911319732666016, -0.004323617089539766, 0.03159624710679054, -0.22232338786125183 ]
http://arxiv.org/abs/2405.16281v1
http://arxiv.org/pdf/2405.16281v1
ConStat: Performance-Based Contamination Detection in Large Language Models
2024-05-25T15:36:37
2024-05-25T15:36:37
Jasper Dekoninck, Mark Niklas Müller, Martin Vechev
cs.CL
cs.CL
Public benchmarks play an essential role in the evaluation of large language models. However, data contamination can lead to inflated performance, rendering them unreliable for model comparison. It is therefore crucial to detect contamination and estimate its impact on measured performance. Unfortunately, existing detection methods can be easily evaded and fail to quantify contamination. To overcome these limitations, we propose a novel definition of contamination as artificially inflated and non-generalizing benchmark performance instead of the inclusion of benchmark samples in the training data. This perspective enables us to detect any model with inflated performance, i.e., performance that does not generalize to rephrased samples, synthetic samples from the same distribution, or different benchmarks for the same task. Based on this insight, we develop ConStat, a statistical method that reliably detects and quantifies contamination by comparing performance between a primary and reference benchmark relative to a set of reference models. We demonstrate the effectiveness of ConStat in an extensive evaluation of diverse model architectures, benchmarks, and contamination scenarios and find high levels of contamination in multiple popular models including Mistral, Llama, Yi, and the top-3 Open LLM Leaderboard models.
[ -0.2887222170829773, -1.0582987070083618, 0.5349955558776855, -0.0014816127950325608, -0.22763323783874512, 0.1293162852525711, -0.060486216098070145, -0.6805329322814941, -0.02203449420630932, 0.720585286617279, -0.23185262084007263, -0.6196628212928772, -0.818330705165863, -0.20363983511924744, -0.745534360408783, 0.8743172287940979, -0.1001478061079979, -0.22412672638893127, -0.49033257365226746, -0.0008355443133041263, -0.36104676127433777, -0.6951968669891357, -0.5413228273391724, -0.35450467467308044, 0.23579753935337067, 0.2893882095813751, 0.5711536407470703, 0.5494206547737122, 0.6048495769500732, 0.38763830065727234, -0.2432333379983902, 0.4267426133155823, -0.5396872162818909, 0.3739650547504425, -0.4233825206756592, -0.4872051179409027, -0.1663484275341034, -0.19581037759780884, 0.6320070624351501, 0.43999868631362915, -0.19420957565307617, 0.24535562098026276, 0.3836066722869873, 0.46749594807624817, -1.1079455614089966, 0.3347618281841278, -0.7019602656364441, -0.28341567516326904, -0.5879853367805481, -0.1427374929189682, -0.40441805124282837, -0.4376981258392334, -0.12168414890766144, -0.7737918496131897, 0.2636858820915222, -0.12076742947101593, 0.6559345126152039, 0.6049502491950989, -0.3269537687301636, -0.019184811040759087, -0.9323561191558838, 0.7414886355400085, -0.6932156085968018, 0.2893003523349762, 0.46060487627983093, 0.411749005317688, -0.3549504280090332, -0.7783558964729309, -0.6907224059104919, -0.24851544201374054, -0.04620077461004257, -0.12931998074054718, -0.21315790712833405, -0.03233424201607704, 0.07561593502759933, 0.25873398780822754, -0.6603703498840332, 0.073480524122715, -0.07296017557382584, -0.338407427072525, 0.43585243821144104, 0.08325736969709396, 0.3899936378002167, 0.1522069126367569, -0.6239790320396423, -0.26857298612594604, -0.8400770425796509, 0.017687901854515076, 0.28777334094047546, 0.34202510118484497, -0.1111333891749382, 0.3331526815891266, -0.29736047983169556, 0.4020322263240814, -0.29941895604133606, -0.04947788640856743, 0.18568938970565796, -0.32935619354248047, -0.38972577452659607, 0.04461480677127838, 0.7344611287117004, -0.10531775653362274, 0.33582496643066406, 0.02343865856528282, -0.3341453969478607, 0.2608725130558014, 0.17786428332328796, -0.9569156169891357, -0.5413057208061218, 0.15195009112358093, -0.01138807088136673, -0.4582501947879791, -0.010196820832788944, -0.6117154359817505, -0.6884551644325256, -0.3170287013053894, 0.7866579294204712, -0.32073473930358887, -0.5748065710067749, 0.3556835353374481, -0.016403600573539734, -0.6766095161437988, 0.15836593508720398, -0.8291381001472473, 0.46213510632514954, 1.3316537141799927, 0.6079897284507751, -0.16563425958156586, -0.07355508953332901, -0.6335784792900085, 0.06467567384243011, -0.44459301233291626, 1.0654253959655762, -0.6326934695243835, -0.2478511482477188, 0.18645067512989044, -0.3253912627696991, -0.004815282300114632, -1.1541651487350464, 0.6761642098426819, -0.3418690264225006, -0.15933778882026672, -0.10256894677877426, -0.7652433514595032, -0.25918659567832947, 0.2702352702617645, -0.771912157535553, 1.2082359790802002, 0.08549386262893677, -0.9358328580856323, 0.5490633249282837, -0.33939334750175476, -0.17626270651817322, 0.4238710403442383, -0.21725034713745117, -0.4340464174747467, 0.1055920198559761, -0.07166379690170288, 0.2335965782403946, -0.12731710076332092, 0.42265310883522034, -0.4990230202674866, -0.6986941695213318, 0.24755044281482697, -0.6391105651855469, 0.46495500206947327, 0.07295942306518555, -0.12679962813854218, -0.011500075459480286, -0.8834211230278015, 0.17269405722618103, -0.34731173515319824, -0.2668018341064453, -0.7075253129005432, 0.08715251088142395, 0.18889454007148743, 0.041843295097351074, 0.17789986729621887, -0.4428570568561554, -0.07476305961608887, -0.1369793862104416, -0.025549929589033127, 0.6621066331863403, 0.35202446579933167, -0.17450524866580963, -0.5408559441566467, 0.4720436632633209, 0.17298680543899536, 0.12375868111848831, 0.0028054993599653244, -0.32562732696533203, -0.673751950263977, -0.6719303727149963, 0.29655230045318604, 0.39200717210769653, -0.7301035523414612, 0.48569726943969727, -0.440586119890213, -0.8374679088592529, -0.3837183713912964, -0.037448104470968246, 0.5066484808921814, 0.5373563170433044, 0.46902912855148315, -0.1708425134420395, -0.38400617241859436, -0.9764165878295898, -0.5963486433029175, -0.2073553055524826, -0.06138131394982338, 0.055108264088630676, 0.6682521104812622, -0.15330590307712555, 0.7508653998374939, -0.486672580242157, -0.22837722301483154, 0.23731321096420288, 0.317403107881546, 0.2883334755897522, 0.7087357044219971, 0.2988125681877136, -0.4371095597743988, -0.5398296117782593, 0.0860646516084671, -0.7213894128799438, -0.196468323469162, 0.2379804253578186, -0.13429732620716095, -0.3165711760520935, 0.7061126232147217, -0.41209718585014343, 0.20373322069644928, 0.7874170541763306, -0.20601540803909302, 0.7511836886405945, -0.29041406512260437, 0.21789640188217163, -0.6573730111122131, 0.3563474416732788, 0.1682547926902771, -0.3694298267364502, -0.7351782321929932, 0.18481706082820892, 0.22436237335205078, 0.23248451948165894, -0.7430515289306641, 0.3883490562438965, 0.16966645419597626, 0.28693562746047974, -0.28069451451301575, 0.0729023814201355, 0.34976959228515625, 0.03714220970869064, -0.1512773483991623, 1.0060720443725586, 0.23884712159633636, -0.49707654118537903, 0.24477162957191467, 0.20095767080783844, -1.0148749351501465, 0.5678035616874695, -0.6471219062805176, -0.09240511804819107, 0.22239474952220917, 0.4309752285480499, -1.0957685708999634, -0.06147531419992447, 0.16260908544063568, -0.16054412722587585, 0.269112229347229, -0.2892073690891266, -0.8619867563247681, 0.18739080429077148, 0.02873878926038742, 0.6678550243377686, 0.05584568902850151, -0.6065737009048462, -0.029069947078824043, 0.40612348914146423, 0.01952829584479332, -0.5960695147514343, -0.609618067741394, -0.27593299746513367, -0.37491244077682495, -0.6150291562080383, 0.2005770057439804, 0.10314997285604477, -0.29850947856903076, -0.0754263773560524, -0.40882888436317444, -0.3801501393318176, 0.4938243627548218, 0.09939278662204742, 0.05221688374876976, -0.2513491213321686, 0.3018578290939331, 0.04792587831616402, -0.0793774202466011, 0.03608603775501251, -0.07384698837995529, 0.678195059299469, 0.23736299574375153, -0.5738984942436218, -0.7044389843940735, 0.003144546877592802, 0.740409255027771, -0.4098822772502899, 0.7471393942832947, 0.26715946197509766, -0.6326014995574951, -0.37594354152679443, -0.4410014748573303, 0.00967124942690134, -0.5568394660949707, 0.548758864402771, -0.3707045912742615, -0.4382467269897461, 0.4759623408317566, -0.17976896464824677, -0.25641483068466187, 0.386679083108902, 0.27531272172927856, 0.020481541752815247, 0.7564460635185242, 0.5360316038131714, 0.05328679084777832, 0.47748205065727234, -0.2538977265357971, 0.1798299103975296, -0.651414155960083, -0.18027791380882263, -0.6998900175094604, -0.2373896986246109, -0.7859167456626892, -0.4250745475292206, 0.4421136975288391, 0.009430534206330776, -0.5680034160614014, 0.18919064104557037, -0.3757108151912689, 0.6890604496002197, 0.36352893710136414, 0.03655588626861572, 0.6534587144851685, -0.271352618932724, -0.28194791078567505, -0.025175292044878006, -0.24875593185424805, -0.5083572864532471, 0.9298999905586243, 0.34418222308158875, 0.6866043210029602, 0.09007235616445541, 0.7874880433082581, 0.3939356505870819, 0.5340394377708435, -0.287781298160553, 0.1928224116563797, -0.4491503834724426, -0.8550719022750854, -0.11161066591739655, -0.44802534580230713, -0.8881910443305969, 0.4953664243221283, -0.1954759657382965, -0.8673322200775146, 0.40094098448753357, -0.012399038299918175, -0.4229898452758789, 0.4331665635108948, -0.5449161529541016, 1.0591785907745361, -0.09383338689804077, -0.43466466665267944, -0.1667356640100479, 0.027510076761245728, 0.7035828828811646, -0.4473751187324524, 0.3224726915359497, -0.35654187202453613, -0.022943314164876938, 0.4960452616214752, -0.4032095670700073, 0.5320351123809814, -0.0932815670967102, -0.27052783966064453, 0.12850229442119598, 0.5890476703643799, 0.6497007608413696, -0.10045310109853745, -0.05283911153674126, 0.3492261469364166, 0.44561609625816345, -0.26301494240760803, -0.4836956858634949, 0.630914568901062, -0.5551906228065491, -0.3276090621948242, -0.5295878052711487, -0.5338985323905945, -0.36231791973114014, 0.22242151200771332, 0.3165035545825958, 0.3146774470806122, -0.15846283733844757, 0.5106775164604187, 0.5575008988380432, -0.2449219524860382, 0.07065681368112564, 0.5535112023353577, -0.1999555230140686, -0.11108189821243286, 0.9916401505470276, 0.12681640684604645, 0.37856581807136536, 0.4747464656829834, 0.24661190807819366, -0.4047974944114685, -0.7064248323440552, -0.04721946641802788, 0.16034653782844543, -0.3637301027774811, -0.3242199718952179, -0.47416195273399353, -0.15585117042064667, -0.08299103379249573, 0.39592134952545166, -0.6993656158447266, -0.13848473131656647, -0.011038830503821373, -0.05882014334201813, 0.1024053692817688, 0.7200915217399597, 0.004783873911947012, 0.6153138279914856, -0.6335061192512512, 0.15192000567913055, -0.0694420337677002, 0.6165381073951721, -0.12043853849172592, -0.433977335691452, -0.3774760961532593, 0.17103539407253265, -0.5139539241790771, -0.524604320526123, 0.5437487363815308, 0.11570311337709427, 0.595605194568634, 0.7855168581008911, 0.16082744300365448, 0.5415008068084717, -0.19096140563488007, 0.6775521039962769, -0.10146584361791611, -1.152130126953125, 0.27802330255508423, -0.5143575072288513, -0.1616644263267517, 0.6854574680328369, 0.2097335308790207, -0.8423696756362915, -0.8400008678436279, -0.6823320388793945, -0.8806537389755249, 0.39575982093811035, 0.06972134113311768, -0.10285627841949463, -0.08872056007385254, 0.10853830724954605, 0.15043483674526215, 0.36720192432403564, -0.29601430892944336, -0.048493459820747375, 0.1418171375989914, -0.19518974423408508, -0.24100631475448608, -0.2851454019546509, -0.06940735131502151, 0.07239562273025513, 0.7279606461524963, 0.2393103539943695, -0.41626039147377014, -0.20328296720981598, -0.32860293984413147, -0.0532015785574913, -0.011512024328112602, 0.446376770734787, 0.687467634677887, -0.3095160126686096, 0.286722868680954, -0.06703110039234161, -0.5515506863594055, 0.21076847612857819, -0.06018516793847084, -0.19317950308322906, -0.042082998901605606, 0.4909244179725647, 0.19164250791072845, 0.5688925981521606, -0.7991665005683899, 0.6111354827880859, 0.007878976874053478, 0.13672694563865662, -0.3748510479927063, 0.30104324221611023, -0.009949322789907455, 0.17957863211631775, 0.21776819229125977, 0.1255340576171875, 0.32125088572502136, -0.5935342907905579, 0.7899783253669739, 0.311303049325943, -0.33357325196266174, -0.09911245107650757, 0.7030143737792969, 0.07672996073961258, 0.0724913477897644, 0.46677836775779724, -0.006978563964366913, -0.3891112208366394, 0.6859077215194702, 0.30549031496047974, 0.6838555932044983, -0.36983537673950195, 0.042016852647066116, 0.2979408800601959, 0.22480040788650513, -0.24991807341575623, 0.009244786575436592, 0.2443583905696869, -0.9280284643173218, -0.5778266191482544, -0.4848178029060364, -0.4083854556083679, 0.8056272864341736, -0.7193997502326965, 0.23805178701877594, -0.4638163149356842, -0.038994625210762024, 0.22237233817577362, 0.2719420790672302, -0.4689812958240509, 0.16091318428516388, 0.24987082183361053, 0.9839933514595032, -1.453285574913025, 0.7561967968940735, 0.17240603268146515, -0.3477405607700348, -0.47970741987228394, 0.20291830599308014, 0.10761033743619919, -0.500758945941925, 0.42463934421539307, 0.2571452558040619, 0.017425497993826866, -0.36967578530311584, -0.20247572660446167, -0.989220380783081, 0.6694695949554443, 0.6243300437927246, -0.3248436450958252, 0.36220425367355347, 0.15642277896404266, 0.6804633736610413, 0.049879543483257294, 0.3992082476615906, 0.9268683195114136, 0.5561611652374268, -0.2764737606048584, -0.9154558777809143, 0.04794173687696457, -0.16755862534046173, -0.12303813546895981, 0.3028302490711212, -0.6791361570358276, 0.9199044108390808, 0.4812934994697571, -0.4120345413684845, 0.26787230372428894, 0.3949962854385376, 0.42331942915916443, 0.4711322486400604, 0.4607858657836914, 0.7164426445960999, 1.079110860824585, -0.22796063125133514, 0.8866846561431885, -0.4271453320980072, 0.6667748093605042, 1.346069097518921, -0.3133079409599304, 1.0700950622558594, 0.11779537796974182, -0.2661910653114319, 0.4254387617111206, 0.7049506902694702, 0.04073571413755417, 0.5703725218772888, 0.47711992263793945, -0.6446765065193176, -0.278958261013031, -0.26981091499328613, -0.4414035677909851, 0.6225442886352539, 0.46960610151290894, -0.03408195450901985, -0.5209485292434692, -0.2783318758010864, 0.13180461525917053, 0.3731636703014374, 0.018084177747368813, 0.6072633266448975, -0.16006548702716827, -0.7777489423751831, 0.82233726978302, -0.12819162011146545, 0.5979961156845093, -0.3769903779029846, -0.07008114457130432, -0.3633638620376587, 0.5949206352233887, -0.21783095598220825, -0.6580325961112976, 0.36538562178611755, -0.19267538189888, 0.08136764913797379, -0.05999855324625969, 0.452200323343277, -0.5924313068389893, -0.3823082745075226, 0.3905070126056671, 0.6442872881889343, 0.3259376287460327, -0.5627207159996033, -0.24136927723884583, 0.15530437231063843, -0.3707005977630615, 0.05217256024479866, 0.3603614270687103, 0.607128918170929, -0.13254351913928986, 0.781369686126709, 0.8943514823913574, 0.26752981543540955, -0.003970691934227943, 0.008001076057553291, 0.5786150097846985, -0.04174933210015297, -0.4019971489906311, -0.9406059980392456, 0.4269649386405945, 0.07189066708087921, -0.1486039012670517, 0.3779659569263458, 1.0485635995864868, 0.8311547636985779, 0.17781898379325867, 0.7716589570045471, 0.6164138317108154, 0.6260919570922852, -0.26396074891090393, 0.9353156089782715, -0.4116193354129791, 0.36104851961135864, -0.1931484192609787, -0.7358474135398865, -0.15292420983314514, 0.3487730622291565, -0.2656378149986267, -0.24040614068508148, 0.6982596516609192, 0.8070852756500244, -0.40213626623153687, -0.011315882205963135, 0.47761934995651245, 0.43077024817466736, 0.8048014640808105, 0.4143083393573761, 0.8191540837287903, -0.24710485339164734, 0.5235507488250732, -0.32835355401039124, -0.37358903884887695, -0.3132084310054779, -0.8702644109725952, -0.37106895446777344, -0.49136027693748474, -0.36337578296661377, -0.3415621519088745, 0.06456044316291809, 0.49437466263771057, 0.614348292350769, -1.0160220861434937, -0.11433176696300507, -0.0686674565076828, 0.2196788638830185, -0.5772675275802612, -0.2047824114561081, 0.512337863445282, -0.4320535659790039, -1.006956696510315, 0.4491671323776245, -0.19475775957107544, -0.12592168152332306, -0.24172650277614594, 0.5831359028816223, -0.03650436922907829, 0.25242123007774353, 0.382994681596756, 0.14386509358882904, -0.3070802688598633, -0.5776544213294983, -0.48905378580093384, -0.14599771797657013, -0.046270761638879776, 0.5609635710716248, -0.6733105182647705, 0.45117849111557007, 0.6924800872802734, 0.5867815017700195, 0.6459286212921143, 0.25292351841926575, 0.3244433104991913, -1.0402791500091553, 0.21650880575180054, 0.23633573949337006, 0.3144950270652771, 0.36140912771224976, -0.4751966893672943, 0.4771866500377655, 0.30326026678085327, -0.47739729285240173, -1.0941740274429321, 0.16285450756549835, -0.7024325132369995, -0.20212078094482422, 1.1168614625930786, -0.2582523226737976, -0.06916067749261856, -0.23233792185783386, 0.2699829936027527, 0.21335309743881226, -0.30215325951576233, 1.0287448167800903, 0.8753429055213928, -0.010137815959751606, 0.33079588413238525, -0.9919614195823669, 0.5506484508514404, 0.051011405885219574, -0.8665213584899902, 0.2878599464893341, 0.2958945333957672, 0.7680432796478271, 0.1410338580608368, 0.3518884778022766, -0.3008791208267212, 0.13115189969539642, 0.03595868498086929, -0.006620319094508886, -0.0838521271944046, -0.1866355687379837, -0.14584340155124664, 0.17962604761123657, -0.16212883591651917, -0.5020385384559631 ]
http://arxiv.org/abs/2405.16277v3
http://arxiv.org/pdf/2405.16277v3
Picturing Ambiguity: A Visual Twist on the Winograd Schema Challenge
2024-05-25T15:28:22
2024-06-03T16:42:55
Brendan Park, Madeline Janecek, Naser Ezzati-Jivan, Yifeng Li, Ali Emami
cs.CL
cs.CL, cs.AI, cs.CV, cs.LG
Large Language Models (LLMs) have demonstrated remarkable success in tasks like the Winograd Schema Challenge (WSC), showcasing advanced textual common-sense reasoning. However, applying this reasoning to multimodal domains, where understanding text and images together is essential, remains a substantial challenge. To address this, we introduce WinoVis, a novel dataset specifically designed to probe text-to-image models on pronoun disambiguation within multimodal contexts. Utilizing GPT-4 for prompt generation and Diffusion Attentive Attribution Maps (DAAM) for heatmap analysis, we propose a novel evaluation framework that isolates the models' ability in pronoun disambiguation from other visual processing challenges. Evaluation of successive model versions reveals that, despite incremental advancements, Stable Diffusion 2.0 achieves a precision of 56.7% on WinoVis, only marginally surpassing random guessing. Further error analysis identifies important areas for future research aimed at advancing text-to-image models in their ability to interpret and interact with the complex visual world.
[ -0.14418047666549683, -0.7478039264678955, 0.9223431944847107, 0.15993672609329224, -0.32180994749069214, 0.08396641910076141, -0.2764494717121124, -0.48961734771728516, -0.4202284812927246, 0.10209302604198456, -0.5438417196273804, -0.5346434712409973, -1.0808453559875488, 0.009032639674842358, -0.15278446674346924, 0.3858717381954193, -0.3642250597476959, -0.07857079058885574, -0.3909895718097687, -0.18909502029418945, -0.44022491574287415, 0.15185390412807465, -0.13351817429065704, 0.02745620533823967, 0.5474086999893188, 0.5027251839637756, 1.2051630020141602, 0.28955480456352234, 0.8755608797073364, 0.3719392716884613, -0.12043721228837967, 0.3384486734867096, -0.088820680975914, 0.4618799388408661, -0.061227817088365555, -0.24940040707588196, -0.08682870864868164, 0.055135875940322876, 0.6172093749046326, 0.7823176980018616, -0.3322991132736206, 0.14399069547653198, -0.32440826296806335, 0.5336247682571411, -0.8209063410758972, 0.07301419228315353, -0.6203632354736328, -0.0005941028939560056, -0.4166009724140167, 0.05007065832614899, -0.3971371054649353, -0.11650828272104263, 0.18373094499111176, -0.9545249342918396, 0.14960359036922455, 0.2602875232696533, 1.04771888256073, 0.2171361744403839, -0.7779034376144409, -0.24793808162212372, -0.64735347032547, 0.7791177034378052, -0.37248751521110535, 0.37255027890205383, 0.09613297134637833, 0.42146748304367065, -0.40480589866638184, -0.5823570489883423, -0.8982137441635132, 0.3067837059497833, 0.005509186536073685, 0.02867506816983223, -0.6454842686653137, -0.1873762458562851, 0.2183665782213211, 0.15888555347919464, -0.6247204542160034, -0.1850387305021286, -0.39364388585090637, -0.09511332958936691, 0.26481661200523376, 0.058637943118810654, 0.2640005052089691, -0.3456142544746399, -0.5065822005271912, -0.031828638166189194, -0.4510188400745392, -0.046704910695552826, 0.26745250821113586, 0.1409485787153244, -0.0661967545747757, 0.6767512559890747, 0.18392865359783173, 0.9450909495353699, -0.22444888949394226, 0.03549342229962349, 0.4680864214897156, -0.17888066172599792, -0.35907167196273804, -0.562923789024353, 0.9128177762031555, 0.5593701004981995, 0.18024593591690063, -0.00860357005149126, 0.0949506163597107, 0.41058802604675293, -0.019075924530625343, -0.4829100966453552, -0.09305162727832794, 0.04378105327486992, -0.3891153633594513, -0.27235889434814453, -0.207777202129364, -0.6411973237991333, -0.3109513521194458, -0.2806110680103302, 0.6188126802444458, -0.5328858494758606, -0.3932681679725647, 0.34658733010292053, -0.42909368872642517, 0.13203975558280945, 0.5149785280227661, -0.599837601184845, 0.1658359169960022, 0.2633979618549347, 0.8039442896842957, -0.05331455543637276, -0.3434525430202484, -0.34935665130615234, 0.29000553488731384, -0.6289546489715576, 1.0725162029266357, -1.0602260828018188, -0.35821229219436646, -0.2807621359825134, 0.019189899787306786, -0.17350655794143677, -0.5462403893470764, 0.06436016410589218, -0.3802736699581146, 0.5026208162307739, -0.31704747676849365, -0.30082058906555176, -0.06382099539041519, 0.1172027587890625, -0.538336992263794, 1.098801851272583, 0.1453908234834671, -1.0341674089431763, 0.4531285762786865, -0.5900938510894775, -0.173366978764534, 0.2154444456100464, -0.33416756987571716, -0.25058266520500183, 0.16181503236293793, 0.22920666635036469, 0.4934723675251007, -0.34824639558792114, 0.6620023250579834, -0.2265336811542511, -0.2709503769874573, 0.14445120096206665, -0.2847728133201599, 0.4814760982990265, 0.25142234563827515, -0.247312530875206, 0.3049200773239136, -0.6485863924026489, -0.14568397402763367, 0.4125151038169861, 0.13040785491466522, -0.5968424677848816, -0.046067699790000916, -0.044875528663396835, 0.3275049328804016, -0.02119322121143341, -0.447796493768692, 0.35739609599113464, 0.006370438262820244, 0.28868788480758667, 0.6151530742645264, -0.21792541444301605, 0.5362669825553894, -0.035453107208013535, 0.6402617692947388, 0.4355265498161316, 0.26427382230758667, -0.2863193154335022, -0.8217963576316833, -0.4646258056163788, -0.5671105980873108, 0.10538724064826965, 0.6853682994842529, -1.1322158575057983, -0.35804516077041626, -0.15633715689182281, -0.5099743008613586, -0.6752877831459045, 0.002910636132583022, 0.24102075397968292, 0.5281063318252563, 0.3899892270565033, -0.05787726119160652, -0.15890783071517944, -1.0557610988616943, -0.11426308006048203, -0.018948769196867943, -0.11234736442565918, 0.18067118525505066, 0.6313797235488892, -0.26355743408203125, 0.7466222643852234, -0.43115147948265076, -0.1951586753129959, 0.010413982905447483, 0.424041211605072, 0.10033998638391495, 0.2373591661453247, 0.5405765771865845, -0.9598108530044556, -0.1318022608757019, -0.2274380922317505, -0.8129616975784302, 0.2063654363155365, -0.07115544378757477, -0.30965662002563477, -0.149831622838974, 0.3530850112438202, -0.7986627221107483, 0.5466708540916443, 0.6811608672142029, -0.5680861473083496, 0.5011584758758545, -0.3528864085674286, 0.5357085466384888, -1.0982011556625366, 0.042810071259737015, 0.23910722136497498, -0.17338570952415466, -0.47315722703933716, -0.026934439316391945, 0.15009069442749023, -0.10131923854351044, -0.5318831205368042, 0.49766433238983154, -0.7882876396179199, -0.11338780075311661, 0.18647326529026031, 0.4045425355434418, 0.08814699947834015, 0.10903749614953995, 0.12236590683460236, 0.5950555801391602, 1.0976170301437378, -0.29066333174705505, 0.5498897433280945, 0.2754228711128235, -0.5869924426078796, 0.8578550815582275, -0.5246179103851318, -0.04815466329455376, -0.3779122233390808, 0.0603172592818737, -1.2863463163375854, -0.30088362097740173, 0.4637211859226227, -0.11555834859609604, 0.33056584000587463, 0.026538241654634476, -0.5919752717018127, -0.34399235248565674, -0.17297589778900146, 0.8510756492614746, 0.22149065136909485, -0.38221272826194763, 0.45286330580711365, 0.2259283810853958, -0.20311309397220612, -0.7204968929290771, -0.3360385596752167, 0.36413851380348206, -0.2713525593280792, -0.809024453163147, 0.3868250548839569, -0.1529872566461563, -0.4685589373111725, -0.060460735112428665, 0.22661952674388885, -0.004469653591513634, -0.10853223502635956, 0.4431600868701935, 0.45662885904312134, 0.020313218235969543, 0.31600505113601685, 0.0702349990606308, -0.06075248494744301, -0.23925606906414032, -0.03983509540557861, -0.05231958627700806, -0.3175539970397949, -0.48614969849586487, -0.44045108556747437, 0.629961371421814, 0.548975944519043, -0.1620381623506546, 0.5040918588638306, 0.519891083240509, -0.42012977600097656, 0.12203622609376907, -0.3356747627258301, 0.19991634786128998, -0.4637329578399658, 0.1301201432943344, -0.6236035227775574, -0.6979895830154419, 0.5549609065055847, -0.3056968152523041, -0.09300993382930756, 0.5155240893363953, 0.2979944050312042, -0.40268680453300476, 0.9681137800216675, 0.46146160364151, 0.6366214752197266, 0.19258831441402435, -0.117349773645401, 0.1088298037648201, -0.6569617986679077, -0.6054765582084656, -0.24747341871261597, -0.4922783374786377, -0.2588743269443512, -0.8994619846343994, 0.23805595934391022, -0.1586182415485382, 0.022644367069005966, 0.09655503928661346, -0.34197473526000977, 0.641913890838623, 0.26934096217155457, 0.1024022176861763, 0.3308526277542114, 0.14563803374767303, -0.193433478474617, -0.5221709609031677, -0.5984595417976379, -0.36853766441345215, 0.7263392806053162, 0.3390931189060211, 0.7505699992179871, 0.4120255410671234, 0.2536464333534241, 0.2960580587387085, 0.19252647459506989, -0.4444226920604706, 0.5721298456192017, -0.16529631614685059, -0.45058152079582214, -0.0954609364271164, -0.3130156695842743, -1.0070241689682007, 0.4418223798274994, -0.30766943097114563, -0.6504469513893127, 0.4173869490623474, 0.2284376174211502, -0.1550496220588684, 0.26613858342170715, -0.7048848271369934, 1.0876843929290771, -0.044530510902404785, -0.4458453357219696, 0.15120135247707367, -0.8324439525604248, 0.2929474711418152, 0.3088604211807251, 0.7289913892745972, -0.32074403762817383, -0.20808392763137817, 0.4367745816707611, 0.0032200205605477095, 0.7422230839729309, -0.18942321836948395, -0.42913755774497986, 0.22458770871162415, 0.4979235529899597, 0.1532401591539383, -0.24401885271072388, -0.0003618639602791518, 0.38687849044799805, -0.006249559577554464, -0.5341928601264954, -0.49516162276268005, 0.4834122061729431, -0.3220992684364319, -0.34610041975975037, -0.5319757461547852, -0.6824802756309509, -0.19224660098552704, 0.05286262556910515, 0.40274688601493835, 0.4469318389892578, -0.06694091856479645, -0.11151506751775742, 0.6609675288200378, -0.15868587791919708, 0.2301214039325714, 0.17666880786418915, -0.3786349296569824, -0.010031028650701046, 0.87028968334198, -0.25035661458969116, 0.2993791103363037, 0.0634869858622551, 0.08118017762899399, -0.2578703761100769, -0.5493928790092468, -0.6422392129898071, 0.323432981967926, -1.0128452777862549, -0.2876241207122803, -0.312919944524765, 0.282539039850235, -0.24081137776374817, -0.14289696514606476, -0.37192806601524353, -0.288235068321228, -0.573472261428833, 0.017986880615353584, 0.25282320380210876, 0.843396782875061, -0.09379744529724121, 0.462632954120636, -0.3458508253097534, 0.5364944338798523, 0.16714221239089966, 0.3718055486679077, -0.5396959781646729, -0.7051001191139221, 0.19297553598880768, -0.0937390923500061, -0.20051617920398712, -1.3535898923873901, 0.2706438899040222, 0.4413933753967285, 0.5133553743362427, 0.32896339893341064, -0.22930908203125, 0.7559178471565247, -0.4622350037097931, 0.7947962880134583, 0.40887725353240967, -0.9650360345840454, 0.804677426815033, -0.5200538635253906, 0.4822719693183899, 0.1661846935749054, 0.4960631728172302, -0.5162067413330078, -0.5873682498931885, -0.7046793103218079, -1.018686294555664, 0.3112804889678955, 0.28452497720718384, -0.05515741929411888, -0.2835286259651184, 0.5032756924629211, 0.2500944435596466, 0.2413775622844696, -0.5731022953987122, -0.06546279042959213, 0.04601600021123886, -0.47199320793151855, -0.04898973926901817, -0.2682666480541229, -0.19626295566558838, -0.1355285942554474, 0.27539658546447754, -0.19695055484771729, 0.2344430685043335, 0.11225825548171997, -0.3927457332611084, -0.11067842692136765, 0.44455084204673767, 0.7284940481185913, 0.7036823630332947, -0.012550623156130314, 0.5493257641792297, -0.02997458539903164, -0.2423655390739441, 0.0892563909292221, -0.05793169140815735, 0.17387136816978455, 0.24077636003494263, 0.4963556230068207, 0.9827410578727722, 0.3733983337879181, -0.6775158047676086, 0.8737336993217468, -0.32791322469711304, -0.5101131200790405, 0.13982179760932922, -0.16961683332920074, 0.14570185542106628, 0.4531274437904358, 0.4042426645755768, 0.49911344051361084, 0.13315477967262268, -0.40144386887550354, 0.03734719753265381, 0.67152339220047, -0.2560824155807495, -0.25782766938209534, 0.6090636849403381, 0.017040574923157692, 0.02623732015490532, 0.4713177978992462, -0.2166343480348587, -0.3309911787509918, 0.48938918113708496, 0.3624807298183441, 0.3212108612060547, -0.4093151092529297, 0.5328369736671448, 0.1030687689781189, 0.33904725313186646, -0.1681649386882782, 0.6660832762718201, -0.0160711370408535, -0.584748387336731, -0.16686929762363434, -0.2490949183702469, -0.22294537723064423, -0.2931266725063324, -0.6586982011795044, 0.14314787089824677, -0.09730885177850723, -0.3811410367488861, 0.24804697930812836, -0.7095621824264526, -0.8088198900222778, 0.23569412529468536, 0.3947478234767914, 0.6708047986030579, -1.113147258758545, 0.519879937171936, 0.5528204441070557, 0.06488396972417831, -0.37238895893096924, -0.2992839217185974, 0.08737904578447342, -0.5969029068946838, 0.8253288865089417, 0.1320641189813614, -0.4677456319332123, -0.143833726644516, -0.7131987810134888, -0.5826419591903687, 1.06210458278656, 0.6735902428627014, -0.8129640221595764, 0.05619017779827118, -0.1786666363477707, 0.35496756434440613, -0.6021325588226318, 0.3161958158016205, 0.3631606996059418, 0.4714968204498291, 0.4206070899963379, -0.895469605922699, -0.006493972614407539, -0.4288674294948578, 0.19358119368553162, 0.1404912769794464, -0.24600662291049957, 0.7479167580604553, -0.9753922820091248, -0.3957724869251251, -0.19610853493213654, 0.5834447145462036, -0.05536217615008354, 0.4700621962547302, 0.6706383228302002, 0.4026074707508087, 0.9063929319381714, -0.30788230895996094, 0.8882094621658325, 0.35896816849708557, 0.2703806161880493, 1.158799648284912, -0.24219398200511932, 1.0358688831329346, 0.9664958715438843, -0.13409356772899628, 0.7354401350021362, 0.9375130534172058, 0.01796831004321575, 0.6104983687400818, 0.15840362012386322, -0.2798115909099579, -0.5118579864501953, 0.0402427539229393, -0.35810062289237976, 0.3731116056442261, 0.5639464259147644, -0.15447913110256195, -0.25949999690055847, 0.48348209261894226, -0.14797842502593994, 0.1556289792060852, 0.15811793506145477, 0.5986117124557495, -0.3194381594657898, -0.3564680516719818, 0.38068896532058716, -0.13468490540981293, 0.6422774791717529, -0.5022851228713989, -0.014922496862709522, -0.03053268790245056, -0.04889126121997833, 0.00886328611522913, -1.002729058265686, 0.27127546072006226, -0.1488320380449295, -0.2005586326122284, -0.16740523278713226, 0.5300068855285645, -0.7318370938301086, -0.7926782965660095, 0.2470475286245346, 0.4209741950035095, 0.20886248350143433, 0.03148694708943367, -0.6763566136360168, 0.33028730750083923, -0.1524992436170578, -0.3232850134372711, 0.023637590929865837, 0.49955233931541443, -0.10818035155534744, 0.6773579120635986, 0.3272583782672882, -0.10077889263629913, 0.07534844428300858, 0.127373605966568, 0.7614211440086365, -0.5315417647361755, -0.10281475633382797, -0.8552573323249817, 0.6620319485664368, 0.05442006140947342, -0.2974717617034912, 0.4280979037284851, 0.35128289461135864, 0.4609296917915344, -0.10913719236850739, 0.6567087769508362, 0.06650294363498688, 0.138945534825325, -0.47367924451828003, 0.34120386838912964, -0.9653379321098328, 0.10353132337331772, -0.6031104326248169, -0.6052963137626648, -0.6400426030158997, 0.7646597623825073, -0.41853296756744385, -0.16050325334072113, 0.6019493937492371, 0.6985964775085449, -0.18060974776744843, -0.13794659078121185, 0.3101625144481659, 0.013934738002717495, 0.15048103034496307, 0.6517356038093567, 0.9976771473884583, -0.6691104769706726, 0.5072141289710999, -0.08216580748558044, -0.4421609938144684, 0.04689439758658409, -1.2086541652679443, -0.5099537372589111, -0.9569929242134094, -0.6933380365371704, -0.1442422866821289, 0.14419490098953247, 0.47606852650642395, 0.6767584681510925, -0.31633132696151733, 0.03094584122300148, 0.261664479970932, 0.08923406898975372, -0.22157908976078033, -0.10186728835105896, 0.2839197814464569, -0.040378157049417496, -0.6098570823669434, 0.4286288619041443, 0.527600109577179, 0.4245151877403259, -0.030605370178818703, -0.09789832681417465, -0.36022111773490906, 0.14209550619125366, 0.4984658360481262, -0.17104129493236542, -0.8902807235717773, -0.1143823191523552, 0.13027597963809967, -0.018607966601848602, 0.07399459928274155, 0.7250543832778931, -0.592889130115509, 0.7990737557411194, 0.3224402964115143, 0.07796462625265121, 0.3345133662223816, -0.10412268340587616, 0.3798058032989502, -0.7716841101646423, 0.4078144431114197, -0.0699438527226448, 0.33148008584976196, 0.6925358772277832, -0.29367324709892273, 0.008997072465717793, 0.4911799728870392, -0.19167067110538483, -0.846145749092102, 0.41581490635871887, -1.0505681037902832, -0.5800500512123108, 1.0504308938980103, -0.10388561338186264, -0.24801643192768097, 0.057294007390737534, -0.3775629997253418, 0.06574254482984543, -0.13654319941997528, 0.5661469101905823, 0.8991156220436096, -0.029376816004514694, -0.5876010656356812, -0.5836995244026184, 0.4072132110595703, 0.40842676162719727, -0.7078025341033936, 0.2448311150074005, 0.8118845820426941, 0.32992470264434814, 0.09289874881505966, 0.5638179183006287, 0.07262593507766724, 0.3080803453922272, 0.028261957690119743, 0.013773055747151375, -0.10051463544368744, -0.6487686038017273, -0.1323055773973465, 0.27864372730255127, -0.05780224874615669, -0.3978031277656555 ]
http://arxiv.org/abs/2405.16247v1
http://arxiv.org/pdf/2405.16247v1
AutoManual: Generating Instruction Manuals by LLM Agents via Interactive Environmental Learning
2024-05-25T14:11:44
2024-05-25T14:11:44
Minghao Chen, Yihang Li, Yanting Yang, Shiyu Yu, Binbin Lin, Xiaofei He
cs.AI
cs.AI, cs.CL
Large Language Models (LLM) based agents have shown promise in autonomously completing tasks across various domains, e.g., robotics, games, and web navigation. However, these agents typically require elaborate design and expert prompts to solve tasks in specific domains, which limits their adaptability. We introduce AutoManual, a framework enabling LLM agents to autonomously build their understanding through interaction and adapt to new environments. AutoManual categorizes environmental knowledge into diverse rules and optimizes them in an online fashion by two agents: 1) The Planner codes actionable plans based on current rules for interacting with the environment. 2) The Builder updates the rules through a well-structured rule system that facilitates online rule management and essential detail retention. To mitigate hallucinations in managing rules, we introduce \textit{case-conditioned prompting} strategy for the Builder. Finally, the Formulator agent compiles these rules into a comprehensive manual. The self-generated manual can not only improve the adaptability but also guide the planning of smaller LLMs while being human-readable. Given only one simple demonstration, AutoManual significantly improves task success rates, achieving 97.4\% with GPT-4-turbo and 86.2\% with GPT-3.5-turbo on ALFWorld benchmark tasks. The source code will be available soon.
[ -0.4019232988357544, -0.9034550189971924, 0.6863729953765869, 0.308798223733902, 0.21150308847427368, -0.047921665012836456, -0.17795628309249878, -0.4314139485359192, -0.0298574510961771, 0.42123445868492126, -0.7181258201599121, -0.5229739546775818, -0.2874740958213806, 0.1730760782957077, -0.1897825449705124, 0.6456359028816223, -0.3588671386241913, -0.3491443395614624, -0.4104440212249756, -0.026796037331223488, -0.36201342940330505, -0.3342357575893402, -0.6034948825836182, -0.24737197160720825, 0.4002365171909332, 0.4183657467365265, 0.7072712779045105, 1.018839716911316, 0.27626070380210876, 0.5007662177085876, 0.4206486642360687, 0.44047683477401733, -0.12200189381837845, 0.6254512667655945, -0.20682841539382935, -0.201080322265625, -0.49640557169914246, -0.17619600892066956, 0.32557427883148193, 0.3091197907924652, -0.41182228922843933, 0.11563480645418167, 0.12196528911590576, 0.6859099268913269, -0.4718259871006012, 0.7504695057868958, -0.43764886260032654, 0.23361793160438538, 0.4363384544849396, -0.5530035495758057, -0.18131916224956512, 0.06480377912521362, -0.08624761551618576, -1.0371623039245605, -0.11958570778369904, 0.1544973999261856, 0.3886284828186035, 0.7977442145347595, -0.43678706884384155, -0.7684913277626038, -0.8654158711433411, 0.35825982689857483, -0.4701126217842102, 0.43843477964401245, 0.34629112482070923, 0.3779209852218628, -0.33083340525627136, -0.6306573152542114, -0.46538305282592773, -0.3313100039958954, -0.09239111095666885, 0.3494379222393036, -0.2852545976638794, 0.11927992105484009, 0.11859186738729477, 0.029258370399475098, -0.39718127250671387, 0.0285370834171772, -0.09039002656936646, 0.054564911872148514, 0.711685061454773, 0.35792890191078186, 0.5552574396133423, -0.05478841811418533, -0.19448013603687286, -0.15264178812503815, -0.6437652707099915, 0.0009364651050418615, 0.38989779353141785, 0.23843802511692047, 0.12734109163284302, 0.4698027968406677, -0.21126951277256012, 0.6479102373123169, 0.2646646797657013, -0.2202700674533844, -0.15705254673957825, -0.2801955044269562, -0.21225707232952118, -0.051587287336587906, 0.4368473291397095, 0.23359934985637665, 0.07309096306562424, -0.09342766553163528, -0.635949969291687, -0.5506646633148193, 0.4871184825897217, -0.6282808184623718, -0.4336501955986023, -0.10378763824701309, -0.34076738357543945, -0.019274406135082245, -0.008286075666546822, -0.394390344619751, -0.23475295305252075, -0.943540632724762, 0.5809641480445862, -0.30759143829345703, -0.18996833264827728, -0.18584759533405304, 0.05817721411585808, 0.3293887674808502, 0.6701381802558899, -0.8575724363327026, 0.3663274347782135, 0.27725136280059814, 0.6212009191513062, 0.04401254281401634, -0.5110613107681274, -0.5057199001312256, 0.5255224108695984, -0.2543686032295227, 0.923162579536438, -0.21637818217277527, -0.4305900037288666, -0.025123514235019684, 0.09819035232067108, -0.2753124535083771, -0.5239882469177246, -0.39716818928718567, -0.4555531442165375, 0.22954340279102325, -0.036648526787757874, -0.43644535541534424, -0.31634849309921265, 0.20281867682933807, -0.4653654098510742, 0.8673298954963684, 0.23919638991355896, 0.015545650385320187, 0.19819357991218567, -1.0114705562591553, -0.46454551815986633, 0.09188906848430634, -0.18217389285564423, -0.02761995606124401, -0.19211366772651672, 0.10979030281305313, 0.21080848574638367, 0.0776401162147522, 0.11477161943912506, -0.09719327092170715, -0.015440210700035095, -0.07222488522529602, -0.26575717329978943, 0.5639199614524841, 0.27893346548080444, -0.7729926705360413, 0.33685556054115295, -0.3505191206932068, -0.048990122973918915, 0.10587425529956818, -0.5588833689689636, -0.12481848895549774, 0.1288805902004242, -0.1567998081445694, 0.3979164958000183, 0.33923789858818054, -0.026454661041498184, 0.33359676599502563, -0.16668660938739777, 0.20726418495178223, 0.9785206317901611, 0.09160955995321274, 0.5191785097122192, -0.6042301058769226, 0.6887624263763428, -0.2132108360528946, 0.22184936702251434, -0.5121344327926636, -0.2293139547109604, -1.0643032789230347, -0.2935031056404114, -0.3073783218860626, 0.7575874328613281, -0.9050354957580566, 0.5307489037513733, 0.07464583963155746, -0.444343239068985, -0.11879861354827881, 0.7487478852272034, 0.3730219602584839, 0.16065213084220886, 0.3617819547653198, -0.0593484602868557, -0.3847692608833313, -0.6778221130371094, -0.07012223452329636, -0.23999632894992828, 0.010597752407193184, 0.5660005211830139, 0.6472556591033936, -0.575631320476532, 1.1058692932128906, -0.48152482509613037, -0.5427209138870239, -0.16951711475849152, 0.17810693383216858, -0.1619693636894226, 0.4005066752433777, 0.44803041219711304, -0.4878070652484894, -0.6935526132583618, -0.027745533734560013, -1.116083025932312, -0.2775426506996155, -0.17182785272598267, -0.11513295769691467, 0.4949856698513031, 0.8894011378288269, -0.5949634313583374, 0.2650793194770813, 0.13662053644657135, -0.3342728912830353, 0.28160586953163147, -0.7738534212112427, -0.11053789407014847, -0.8251035809516907, -0.17566508054733276, -0.046774156391620636, -0.44135552644729614, -0.3355470299720764, 0.280670166015625, -0.06045249104499817, 0.017772221937775612, -0.4020887613296509, 0.7669345736503601, -0.7404028177261353, -0.11022967100143433, -0.4491935968399048, 0.07021839171648026, -0.22910091280937195, 0.6929662227630615, 0.05988364666700363, 0.774777889251709, 0.2932344079017639, -0.8865237832069397, 0.6351451873779297, 0.3073376715183258, 0.16135597229003906, 0.5940055847167969, -0.4604800343513489, 0.21015065908432007, -0.313679963350296, 0.42191264033317566, -0.6949900388717651, -0.40156280994415283, 0.40968218445777893, -0.05222306028008461, 0.2266700714826584, 0.05609310790896416, -0.7478699088096619, -0.0953216627240181, -0.039834365248680115, -0.16375824809074402, 0.5725488662719727, -0.6272292733192444, 1.124568223953247, 0.3330911099910736, -0.4029213786125183, -0.08087810128927231, -0.3051411211490631, 0.10943922400474548, -0.0601082369685173, -0.3116288185119629, -0.0027901383582502604, -0.5005971789360046, -0.594962477684021, 0.26706376671791077, -0.18138624727725983, 0.02673775888979435, 0.2606872618198395, 0.5518115758895874, 0.07857821881771088, -0.13808275759220123, 0.17900530993938446, 0.1445278376340866, -0.038958679884672165, 0.4993586242198944, -0.5530176162719727, 0.17339657247066498, -0.284313440322876, -0.45158886909484863, -0.18584954738616943, 0.3112524449825287, 0.5437808632850647, 0.0032208047341555357, 0.4826450049877167, 0.3394250273704529, -0.4300795793533325, -0.5047553181648254, -0.2533999979496002, -0.15316496789455414, -0.6070736050605774, 0.13587632775306702, -0.379787802696228, -0.37393462657928467, 0.17051400244235992, -0.1961987316608429, 0.42795825004577637, 0.48334020376205444, 0.6128645539283752, -0.3245882987976074, 0.9097027778625488, 0.760941207408905, 0.26550185680389404, 0.6060577034950256, -0.25620222091674805, -0.10754530131816864, -0.4775964617729187, -0.4510464370250702, 0.013784084469079971, -0.15242666006088257, -0.3289797008037567, -0.48412492871284485, 0.3497444987297058, -0.3081556260585785, -0.44336459040641785, 0.3920610249042511, -0.36375004053115845, 0.4987148940563202, 0.7939426302909851, 0.2223907709121704, 0.38232529163360596, -0.10559415072202682, -0.15004269778728485, 0.23371829092502594, -0.8154408931732178, -0.6786103248596191, 0.9103784561157227, 0.19543050229549408, 0.7648338079452515, 0.2871728539466858, 0.7768179178237915, 0.6458502411842346, 0.633384644985199, -0.7021518349647522, 0.6733439564704895, 0.342050164937973, -0.5966207385063171, -0.5481386184692383, -0.2826724946498871, -0.9045757055282593, 0.1895037591457367, -0.13808222115039825, -0.1978853940963745, -0.017177283763885498, 0.3145309090614319, -0.39571934938430786, 0.11098793148994446, -0.6573494076728821, 0.6353995203971863, -0.631858766078949, -0.3559132218360901, -0.2125263661146164, -0.467776894569397, -0.004336169920861721, -0.37301358580589294, 0.32402652502059937, -0.10805950313806534, -0.49537596106529236, 0.4054645597934723, -0.45667845010757446, 1.0213271379470825, -0.34840428829193115, -0.46880388259887695, 0.3026571273803711, 0.2148934006690979, 0.609128475189209, -0.076583132147789, 0.12186861783266068, -0.28226566314697266, -0.21344079077243805, -0.23127450048923492, -0.7458212971687317, 0.6362284421920776, -0.8918167352676392, -0.818202018737793, -0.4069453179836273, -0.7324172258377075, 0.07079911231994629, 0.24324633181095123, -0.04573354870080948, 0.4271019399166107, -0.2718643248081207, -0.08024123311042786, 0.7331944108009338, -0.3932390809059143, 0.6960868835449219, 0.9720198512077332, -0.18614667654037476, -0.35057398676872253, 0.8813165426254272, 0.2198995053768158, 0.1471712440252304, 0.4042445123195648, -0.0303345937281847, -0.28940778970718384, -0.26055365800857544, -0.4766336977481842, -0.00904125813394785, -1.1752512454986572, -0.20613634586334229, -0.8416392207145691, -0.3472413122653961, -0.2322094738483429, -0.3814387023448944, -0.058257538825273514, -0.09871643036603928, -0.3889532685279846, -0.07247961312532425, 0.3386703431606293, 1.2839059829711914, -0.29705822467803955, 0.21075546741485596, -0.6201539039611816, 0.2647077441215515, 0.779560923576355, -0.04058649390935898, -0.05738550052046776, -0.35352036356925964, -0.2619000971317291, 0.0015898436540737748, -0.4923127293586731, -0.7868350744247437, 0.6011298894882202, 0.43228602409362793, 0.847209095954895, 0.3664381802082062, 0.284799724817276, 0.5377174019813538, -0.5318460464477539, 0.3371538519859314, -0.25195586681365967, -0.9332514405250549, 0.6548510193824768, -0.5071729421615601, 0.4128355383872986, 0.47059518098831177, 0.3747852146625519, -0.256149560213089, -0.7741462588310242, -0.6664853096008301, -1.0130386352539062, 0.5234793424606323, 0.13412262499332428, 0.18478602170944214, 0.07264627516269684, 0.26331284642219543, 0.23047670722007751, 0.27017053961753845, -0.7199780941009521, -0.2929414212703705, -0.32135772705078125, -0.39086011052131653, -0.11645369976758957, 0.03792832791805267, -0.11557038873434067, -0.3765396177768707, 0.7714222073554993, -0.3716205060482025, 0.45583319664001465, 0.3463943302631378, -0.7033860087394714, -0.17306508123874664, -0.04466329887509346, 0.6777734756469727, 0.7221932411193848, -0.08004434406757355, 0.30229586362838745, 0.3993881344795227, -0.27493736147880554, 0.43078815937042236, 0.27936744689941406, -0.020738640800118446, -0.24320784211158752, 0.5123510360717773, 0.5339735746383667, 0.3562626242637634, -0.7019053101539612, 0.19195207953453064, -0.16519968211650848, -0.321380078792572, -0.7932873964309692, 0.4955717921257019, 0.06589040160179138, 0.416849285364151, 0.4206009805202484, 0.00045295862946659327, 0.09028547257184982, -0.4924924075603485, 0.3596811592578888, 0.20651495456695557, -0.2400168925523758, -0.1953306496143341, 0.8169873356819153, 0.5662546157836914, -0.4567664861679077, 0.5283303260803223, -0.5850070714950562, -0.39944952726364136, 0.8783295750617981, 0.5624898672103882, 0.881877601146698, -0.23362836241722107, 0.05529075860977173, 0.2908839285373688, 0.48259809613227844, 0.11301852017641068, 0.08050303906202316, -0.4348974823951721, -0.47993797063827515, -0.05284024402499199, -0.32194748520851135, -0.665658175945282, -0.15524059534072876, -0.19255664944648743, -0.07381686568260193, -0.6992445588111877, 0.27022913098335266, -0.3228359818458557, 0.005228763446211815, -0.7471796274185181, 0.11586377769708633, 0.1721816211938858, 0.7481133937835693, -0.7506518363952637, 0.5472279191017151, 0.9538792371749878, -0.33980271220207214, -0.6559438109397888, 0.057123299688100815, 0.29952889680862427, -0.8322069048881531, 0.7991933226585388, 0.2951599061489105, -0.28238925337791443, 0.2975925803184509, -0.40489867329597473, -0.9383364319801331, 1.4669796228408813, 0.28660303354263306, -0.4267900586128235, -0.00028554891468957067, -0.027248889207839966, 0.47173383831977844, -0.5948349833488464, 0.3018990457057953, 0.2297346144914627, 0.8079376220703125, -0.1795244812965393, -0.7082740664482117, 0.2685164213180542, -0.5160971283912659, -0.15785452723503113, 0.08702854812145233, -0.6070583462715149, 0.49955612421035767, -0.3115399479866028, -0.1561422049999237, -0.04091475531458855, 0.6833136081695557, 0.12969070672988892, 0.3525075614452362, 0.7712222933769226, 0.22816622257232666, 0.8200837969779968, 0.1276775300502777, 0.8917246460914612, -0.7054587006568909, -0.02479218877851963, 1.1203469038009644, -0.23583877086639404, 0.5039017796516418, 0.05750386416912079, 0.1022074744105339, 0.6368551254272461, 0.7072531580924988, -0.040890343487262726, 0.44636300206184387, 0.051428284496068954, -0.523663341999054, -0.3014674782752991, -0.004038266837596893, -0.1192653626203537, 0.47783708572387695, 0.3006729483604431, -0.20141322910785675, -0.24683882296085358, 0.33429938554763794, -0.03146066144108772, 0.07446584105491638, -0.18522702157497406, 1.0734044313430786, 0.0037113032303750515, -0.7845290303230286, 0.18919268250465393, -0.12773476541042328, 0.4296964704990387, -0.5155438780784607, -0.22892417013645172, -0.29388999938964844, 0.21307849884033203, -0.1894690990447998, -0.4577811360359192, 0.31682977080345154, -0.14584395289421082, -0.07947083562612534, -0.7878015041351318, 0.7058184742927551, -0.5989788770675659, -0.24437221884727478, 0.3178103268146515, 0.8823994398117065, 0.045341458171606064, -0.05213893949985504, -0.736169159412384, -0.3862718939781189, -0.19679418206214905, -0.40730541944503784, 0.18349044024944305, 0.600696325302124, 0.07254879176616669, 1.0767897367477417, 0.6421443819999695, -0.2332252860069275, -0.09120038151741028, -0.4682602882385254, 0.8094015121459961, -0.7248967885971069, -0.3989469110965729, -0.7708712816238403, 0.18337202072143555, 0.11413266509771347, -0.007625410798937082, 0.8932808637619019, 0.5803490877151489, 0.6756759881973267, -0.2148243635892868, 0.7999013662338257, -0.08189435303211212, -0.20799487829208374, -0.5503970980644226, 0.8385965824127197, -0.5865627527236938, 0.28233715891838074, 0.07381036877632141, -0.9771721363067627, 0.018202215433120728, 0.6010938882827759, -0.1306493878364563, 0.20749610662460327, 0.7638483643531799, 0.7569364905357361, 0.004460495430976152, -0.3328416645526886, 0.21782459318637848, 0.02917536348104477, 0.3396774232387543, 0.4768123924732208, 0.9110183715820312, 0.07154960930347443, 0.5850383043289185, -0.19145826995372772, -0.23745058476924896, -0.2367895096540451, -1.0353888273239136, -0.9046732783317566, -0.6115014553070068, -0.42595237493515015, 0.034032080322504044, 0.2748211622238159, 1.3820574283599854, 0.847722053527832, -0.3642156720161438, -0.3450154662132263, -0.40989193320274353, 0.24608199298381805, -0.24499419331550598, -0.21595822274684906, -0.055040206760168076, -0.6483398675918579, -0.6371971368789673, 0.5919249653816223, 0.4008827209472656, 0.36262211203575134, -0.42749693989753723, -0.4526102840900421, 0.002465528901666403, 0.2774669826030731, 0.5780389308929443, 0.5085434913635254, -0.47595715522766113, 0.03565066307783127, -0.004052124917507172, -0.261191189289093, -0.007508611306548119, 0.5794152021408081, -0.7977322936058044, 0.4182065725326538, 0.1427040547132492, 0.4977489411830902, 0.33679988980293274, -0.2544838488101959, 0.8330495953559875, -0.4573662281036377, -0.08593466877937317, -0.04747757688164711, 0.32499027252197266, 0.3407922089099884, -0.5904008150100708, 0.5699453949928284, 0.17977653443813324, -0.6722261905670166, -0.2942780554294586, 0.16749577224254608, -0.5740975737571716, -0.5168464779853821, 1.2781314849853516, -0.164561465382576, -0.35722339153289795, -0.24919256567955017, -0.3454652726650238, 0.22618220746517181, -0.45088082551956177, 0.8946487307548523, 0.48843440413475037, -0.35378116369247437, -0.156431183218956, -0.66765958070755, 0.5018028020858765, 0.07725559175014496, -1.428717017173767, -0.03146222606301308, 0.6851252317428589, 0.391265869140625, -0.04418143630027771, 0.6205323934555054, 0.519264817237854, 0.3397740125656128, -0.03093715012073517, 0.20843295753002167, -0.6442892551422119, -0.49836868047714233, -0.17719797790050507, -0.1596733033657074, 0.1538114845752716, 0.0828440859913826 ]
http://arxiv.org/abs/2405.16229v1
http://arxiv.org/pdf/2405.16229v1
No Two Devils Alike: Unveiling Distinct Mechanisms of Fine-tuning Attacks
2024-05-25T13:38:40
2024-05-25T13:38:40
Chak Tou Leong, Yi Cheng, Kaishuai Xu, Jian Wang, Hanlin Wang, Wenjie Li
cs.CL
cs.CL, cs.CR
The existing safety alignment of Large Language Models (LLMs) is found fragile and could be easily attacked through different strategies, such as through fine-tuning on a few harmful examples or manipulating the prefix of the generation results. However, the attack mechanisms of these strategies are still underexplored. In this paper, we ask the following question: \textit{while these approaches can all significantly compromise safety, do their attack mechanisms exhibit strong similarities?} To answer this question, we break down the safeguarding process of an LLM when encountered with harmful instructions into three stages: (1) recognizing harmful instructions, (2) generating an initial refusing tone, and (3) completing the refusal response. Accordingly, we investigate whether and how different attack strategies could influence each stage of this safeguarding process. We utilize techniques such as logit lens and activation patching to identify model components that drive specific behavior, and we apply cross-model probing to examine representation shifts after an attack. In particular, we analyze the two most representative types of attack approaches: Explicit Harmful Attack (EHA) and Identity-Shifting Attack (ISA). Surprisingly, we find that their attack mechanisms diverge dramatically. Unlike ISA, EHA tends to aggressively target the harmful recognition stage. While both EHA and ISA disrupt the latter two stages, the extent and mechanisms of their attacks differ significantly. Our findings underscore the importance of understanding LLMs' internal safeguarding process and suggest that diverse defense mechanisms are required to effectively cope with various types of attacks.
[ -0.3574783205986023, -1.0243000984191895, 0.5259365439414978, -0.27144184708595276, -0.230347141623497, 0.20088273286819458, 0.18864431977272034, -0.6986241936683655, -0.14567634463310242, 0.6519044041633606, -0.8208194375038147, -0.16302372515201569, -0.724389374256134, 0.18620720505714417, -0.29028037190437317, 1.1432642936706543, 0.0727853775024414, 0.12063801288604736, 0.3711200952529907, -0.007779648061841726, -0.5784807205200195, -0.4429570734500885, -0.8706757426261902, -0.3201385736465454, 0.7518712878227234, 0.02901705726981163, 0.6605908274650574, 0.5694792866706848, 0.7958024740219116, 0.2705681324005127, -0.17316699028015137, -0.1411188542842865, -0.593860924243927, 0.26341742277145386, -0.36486881971359253, -0.5858283042907715, -0.18131251633167267, -0.20184208452701569, 0.4882126450538635, 0.3426680266857147, 0.1975492686033249, 0.03124408982694149, 0.2634948790073395, 0.57804274559021, -0.6542289853096008, -0.41593194007873535, -1.1775089502334595, -0.2625200152397156, -0.6050873398780823, -0.2374539077281952, -0.4860285520553589, -0.22249044477939606, -0.07979411631822586, -0.1574610024690628, -0.09686043113470078, -0.07954811304807663, 0.8820255994796753, 0.2514876425266266, -0.5194613933563232, -0.23935186862945557, -0.4298573136329651, 0.8756116628646851, -0.6306091547012329, -0.10869141668081284, 0.14276742935180664, 0.08226246386766434, -0.2745770514011383, -0.37934377789497375, -0.2219289243221283, -0.09388606250286102, -0.1180780902504921, -0.31439274549484253, -0.4473699629306793, 0.2856824994087219, 0.3859620690345764, -0.05034417286515236, -0.3529854714870453, 0.626935601234436, -0.5778728127479553, -0.3121541440486908, 0.6241887807846069, 0.29539060592651367, 0.4845373332500458, -0.15985910594463348, -0.6631486415863037, -0.2921600639820099, -1.1892882585525513, 0.035518284887075424, 0.6328830718994141, 0.36001887917518616, -0.17185479402542114, 0.2769797742366791, 0.2006409466266632, 0.4705793559551239, 0.120267853140831, -0.06302586942911148, -0.27448469400405884, -0.2135675847530365, -0.33104243874549866, 0.27460893988609314, 0.7959859371185303, 0.5048096776008606, 0.297617107629776, -0.2332354187965393, -0.3669544458389282, 0.2192462831735611, 0.7330472469329834, -0.6664817333221436, -0.018759820610284805, 0.19084005057811737, -0.42476320266723633, -0.6585332751274109, 0.24137063324451447, -0.5733247399330139, -0.5161813497543335, -0.12918365001678467, 0.4866775870323181, -0.3981327414512634, -0.15525367856025696, -0.029779352247714996, 0.09990087151527405, 0.7490296363830566, -0.06350398063659668, -0.9249094128608704, 0.4558230936527252, 1.220174789428711, 0.6130093932151794, -0.4174173176288605, -0.16274873912334442, -0.521285891532898, 0.2901729941368103, -0.4779660701751709, 0.6728959083557129, -0.6135416626930237, -0.42572611570358276, 0.04829111695289612, -0.06439477950334549, -0.09413530677556992, -0.5281251072883606, 0.7045772671699524, -0.8024452328681946, -0.2279268205165863, -0.40157225728034973, -0.42096149921417236, -0.3292526304721832, 0.31896257400512695, -0.7304314374923706, 0.6472275257110596, -0.2934533357620239, -1.01334547996521, 0.1743420511484146, -0.5815513134002686, -0.44793111085891724, -0.30531319975852966, -0.1320578157901764, -0.49680399894714355, 0.3462134301662445, -0.10177542269229889, 0.5330119729042053, -0.20733454823493958, -0.15521658957004547, -0.659437894821167, -0.2676757276058197, 0.5957199335098267, -0.48803529143333435, 0.8968835473060608, 0.2764565050601959, -0.31031379103660583, 0.17443130910396576, -0.5793096423149109, 0.09940992295742035, 0.3012908399105072, -0.05486493185162544, -0.5472760200500488, -0.06835523247718811, -0.2837834358215332, 0.22908753156661987, 0.3174176514148712, -0.5268245935440063, 0.13267257809638977, -0.4747188687324524, 0.5183535814285278, 1.044622540473938, 0.40122535824775696, 0.3207303285598755, -0.46529722213745117, 0.3468315899372101, 0.08277630060911179, 0.5371314883232117, -0.1337500959634781, -0.20058202743530273, -0.5410968065261841, 0.12069279700517654, -0.07669489830732346, 0.5503938794136047, -0.24292530119419098, 0.06850859522819519, -0.0023117796517908573, -0.3790261149406433, -0.5598189234733582, 0.08129458874464035, 0.9390401244163513, -0.06087344139814377, 0.21983858942985535, -0.42993417382240295, -0.4373733401298523, -1.0504859685897827, -0.6595341563224792, -0.28229331970214844, 0.2011093646287918, -0.15052230656147003, 0.35980600118637085, -0.1354764997959137, 0.5076146721839905, -0.29438093304634094, -0.06632433831691742, 0.14029163122177124, -0.08578462153673172, -0.004455776885151863, 0.577878475189209, 0.8237214684486389, -0.5938374996185303, -0.5301685333251953, 0.11407259851694107, -0.6386654376983643, -0.07699805498123169, -0.10593318194150925, -0.16048981249332428, 0.34692713618278503, 0.9500938653945923, -0.39261993765830994, 0.25786566734313965, 0.34188970923423767, -0.14731590449810028, 0.39771124720573425, 0.17432482540607452, 0.059357497841119766, -1.0000015497207642, -0.1587768793106079, -0.3491070866584778, 0.07163865864276886, -1.1193636655807495, 0.6832566261291504, 0.08413276076316833, 0.27439025044441223, -0.7189688682556152, 0.3893711268901825, -0.44950708746910095, 0.10114124417304993, -0.24861636757850647, -0.12976288795471191, -0.14593148231506348, 0.3430730104446411, -0.520531952381134, 0.5398349761962891, 0.8305302858352661, -0.6972351670265198, -0.09257712960243225, -0.09175514429807663, -0.1286037564277649, 0.763820230960846, -0.7606947422027588, 0.6535778045654297, 0.010372644290328026, -0.2786939740180969, -1.021507740020752, 0.02151493914425373, 0.4552804231643677, -0.2263057380914688, 0.6751646995544434, -0.21440468728542328, -0.37992578744888306, -0.05141506344079971, -0.5776154398918152, 0.2334647923707962, 0.3696603775024414, -0.49974364042282104, 0.6340667009353638, 0.41047051548957825, -0.2592546045780182, -0.8573644757270813, -0.6063192486763, 0.18538415431976318, -0.6844387650489807, -0.5203707814216614, 0.3404022455215454, -0.09041332453489304, -0.7696391940116882, -0.2720654606819153, -0.37093913555145264, 0.033418647944927216, 0.592863142490387, 0.517714262008667, 0.24858130514621735, 0.05071748420596123, -0.2783445715904236, 0.09372936189174652, -0.16536615788936615, 0.4270951449871063, -0.15257267653942108, 0.43041104078292847, 0.16070586442947388, -0.5684557557106018, -0.7052421569824219, 0.5172529816627502, 0.6725510358810425, -0.22411826252937317, 0.7086076736450195, 0.30394256114959717, -0.3206952214241028, 0.06734809279441833, -0.565497100353241, -0.47231003642082214, -0.515568196773529, 0.34773901104927063, -0.6203793287277222, -0.8141865134239197, 0.548915445804596, 0.1535862386226654, 0.5778636336326599, 0.34898966550827026, 0.4712972342967987, -0.059189509600400925, 0.9442930817604065, 0.6145767569541931, -0.2240677773952484, 0.31699880957603455, 0.17123070359230042, 0.2703627645969391, -0.6924867033958435, -0.19925259053707123, -0.5970586538314819, -0.36872807145118713, -0.6496899724006653, -0.04294570907950401, 0.22483213245868683, 0.15473471581935883, -0.28949591517448425, 0.3579593598842621, -0.4501743018627167, 0.748494029045105, 0.23119616508483887, 0.04822622984647751, 0.1928970068693161, 0.13708868622779846, -0.1975790411233902, 0.016277750954031944, -0.361319363117218, -0.6827678084373474, 1.0964910984039307, 0.5445887446403503, 1.00668203830719, 0.3854580223560333, 0.9277663230895996, 0.10416081547737122, 0.2451259195804596, -0.42066285014152527, 0.6773765087127686, -0.14366070926189423, -0.7146701216697693, -0.068454809486866, -0.21781446039676666, -1.178122878074646, 0.22967246174812317, -0.3228621184825897, -0.8456532955169678, -0.007854095660150051, -0.041474442929029465, -0.48990482091903687, 0.6055818200111389, -0.7408997416496277, 0.6554891467094421, -0.3701159656047821, -0.29425522685050964, -0.2975517809391022, -0.8416162729263306, 0.46496638655662537, -0.415483683347702, 0.10048417001962662, 0.0016767802881076932, 0.08490001410245895, 0.7180107235908508, 0.09976271539926529, 1.0889945030212402, 0.054115213453769684, -0.5314018130302429, 0.13232813775539398, 0.5291751623153687, 0.5576050877571106, -0.1448991745710373, 0.10347972810268402, 0.22164113819599152, 0.21200282871723175, -0.2878059446811676, -0.5103476643562317, 0.7819989323616028, -0.6757922172546387, -0.9555995464324951, -0.32151105999946594, -0.4072028696537018, 0.04759148880839348, 0.23081928491592407, 0.20365086197853088, 0.2518196403980255, -0.41672182083129883, 0.042285602539777756, 0.9158620834350586, -0.02310148999094963, 0.5870562791824341, 0.6361355185508728, -0.00986461527645588, -0.1559784710407257, 0.6234428286552429, 0.022095391526818275, 0.8271070718765259, 0.5197155475616455, -0.017981790006160736, -0.048959482461214066, -0.8101810216903687, 0.01887781172990799, 0.2752745449542999, -0.6365900039672852, -0.355997234582901, -0.5671175122261047, -0.12450846284627914, -0.3695286512374878, -0.015358255244791508, -0.14393579959869385, -0.08028770983219147, -0.1452735960483551, -0.20098422467708588, 0.33295848965644836, 1.0302045345306396, 0.011318007484078407, 0.3445897102355957, -0.720206081867218, 0.19535693526268005, 0.44791388511657715, 0.07448364049196243, -0.005642248783260584, -0.4381903409957886, 0.004753864835947752, -0.06937063485383987, -0.5032358765602112, -1.1588494777679443, -0.06249217689037323, -0.023286214098334312, 0.4168873429298401, 0.7897045612335205, 0.0517033115029335, 0.38407662510871887, -0.584644615650177, 0.5211876630783081, 0.22597816586494446, -0.666839063167572, 0.3426150381565094, -0.24478669464588165, -0.013762968592345715, 0.6054744720458984, 0.3574090003967285, -0.33276137709617615, -0.37579604983329773, -0.6202434301376343, -0.5776249766349792, 0.5929797291755676, 0.07635947316884995, 0.21817269921302795, 0.014588013291358948, 0.47787633538246155, 0.1213419958949089, -0.20323826372623444, -0.809515655040741, -0.35828226804733276, 0.22807106375694275, 0.1549818515777588, 0.2810435891151428, -0.4028652608394623, -0.7751638293266296, 0.3210656940937042, 0.5143062472343445, 0.03861425444483757, 0.02266824245452881, -0.09932128340005875, -0.01922016404569149, -0.12215760350227356, 0.4822556674480438, 0.5742574334144592, 0.26141470670700073, 0.1124797984957695, 0.26651531457901, 0.329338401556015, -0.42812296748161316, 0.2014467716217041, -0.12651591002941132, -0.2607881426811218, -0.3599594831466675, 0.4518049657344818, 0.8432945013046265, 0.31249505281448364, -0.3663228750228882, 0.27317896485328674, -0.10467233508825302, -0.1280495524406433, -0.011197325773537159, 0.42651045322418213, -0.2296740561723709, 0.31172993779182434, 0.1706896424293518, 0.10607883334159851, -0.1191846951842308, -0.7540634274482727, 0.2115124613046646, 0.8900758624076843, -0.34370487928390503, -0.4069269597530365, 0.5179817080497742, -0.09099584817886353, -0.5095843076705933, 0.14497224986553192, -0.13246458768844604, -0.5655947923660278, 0.5909132957458496, 0.45708927512168884, 1.0802173614501953, -0.5541400909423828, -0.04323608800768852, 0.15771280229091644, 0.7249227166175842, 0.1085662692785263, 0.034786298871040344, 0.1923043131828308, -0.5877928733825684, -0.19060568511486053, -0.5091991424560547, -0.22086358070373535, 0.13544735312461853, -0.9289961457252502, 0.09861086308956146, -0.7983251214027405, -0.10876190662384033, 0.02344522625207901, -0.14354881644248962, -0.4137880206108093, -0.058536939322948456, 0.29249072074890137, 0.6329310536384583, -0.8464710116386414, 0.5457585453987122, 0.5203685760498047, -0.14820760488510132, -0.7823033332824707, 0.25533413887023926, 0.36324217915534973, -0.853663980960846, 0.5155361294746399, 0.20062613487243652, -0.16937574744224548, -0.20678527653217316, -0.5357235670089722, -0.8183414936065674, 0.6978549361228943, 0.49383071064949036, -0.8389718532562256, -0.1295667141675949, 0.2012484073638916, 0.22695162892341614, -0.12334679812192917, -0.14051789045333862, 0.9515935182571411, 0.47437992691993713, -0.3227593004703522, -0.9045723080635071, 0.3116092383861542, 0.09558770060539246, -0.09330286830663681, 0.5201265215873718, -0.49509915709495544, 0.7326506972312927, -0.37446779012680054, -0.5482837557792664, 0.1995510756969452, 0.38155797123908997, 0.2597696781158447, 0.13192006945610046, 0.5184595584869385, 0.7619110941886902, 0.5418689250946045, -0.10635410994291306, 1.0339611768722534, -0.38365936279296875, -0.03719453886151314, 0.869622528553009, -0.23765544593334198, 0.8484858274459839, 0.5974578857421875, -0.20724228024482727, 0.3490580916404724, 0.5511070489883423, 0.03188667818903923, 0.5594924688339233, 0.1877126693725586, -0.17879919707775116, -0.11819985508918762, 0.11061394214630127, -0.36298248171806335, 0.35556572675704956, 0.2989215552806854, -0.1338111311197281, -0.29224884510040283, -0.024864627048373222, 0.38109034299850464, 0.029339436441659927, -0.45280155539512634, 1.0512245893478394, 0.30593234300613403, -0.7065989375114441, 0.6936784386634827, 0.04846770688891411, 0.7115150094032288, -0.8186873197555542, 0.23170064389705658, 0.05542036145925522, 0.03470189496874809, -0.23102279007434845, -0.8751389384269714, 0.2743934690952301, -0.008122324012219906, -0.16839037835597992, -0.053436074405908585, 0.702154278755188, -0.19415335357189178, -0.08781605213880539, 0.548102080821991, 0.06875208020210266, 0.017153985798358917, 0.043963003903627396, -0.8491501808166504, 0.44483914971351624, 0.09942791610956192, -0.004319998435676098, 0.6601477861404419, 0.2952531576156616, -0.19861523807048798, 0.5371977090835571, 0.5761569142341614, 0.020925572142004967, 0.36513060331344604, 0.19312691688537598, 0.7154539823532104, -0.4877227246761322, -0.337054044008255, -1.255190372467041, 0.27483490109443665, 0.0000841485962155275, -0.07690080255270004, 0.811542272567749, 0.16914822161197662, 0.9276528358459473, 0.06374780833721161, 0.5397324562072754, 0.31818851828575134, 0.2583555579185486, -0.8339310884475708, 0.684083878993988, -0.30872437357902527, 0.39935213327407837, -0.4775691628456116, -1.0516316890716553, -0.34367507696151733, 0.20209822058677673, -0.05310945585370064, -0.04452158510684967, 0.8820383548736572, 1.2160165309906006, 0.13500794768333435, -0.05697161331772804, 0.24102307856082916, 0.5208309888839722, 0.4972493052482605, 0.6448724865913391, 0.8688372373580933, -0.42643046379089355, 0.5738967061042786, 0.05083691328763962, 0.04500005394220352, -0.06466846913099289, -0.8005653023719788, -1.1324877738952637, -0.42226818203926086, -0.3941073715686798, -0.3197048306465149, 0.2942204177379608, 0.5782326459884644, 0.592066764831543, -0.7420923113822937, 0.00971879344433546, 0.07254151999950409, 0.11555694788694382, -0.25033703446388245, -0.1341300904750824, 0.191036656498909, -0.26731371879577637, -0.46240806579589844, 0.4006863832473755, 0.39712122082710266, 0.17415887117385864, -0.4006265699863434, 0.08523987978696823, -0.016363250091671944, 0.3186192810535431, 0.32076263427734375, 0.4595150947570801, -0.9098154306411743, -0.4698009490966797, -0.21627463400363922, -0.3027726113796234, -0.020958416163921356, 0.8700796365737915, -0.2622787356376648, 0.1910826414823532, 0.3718053102493286, 0.7784356474876404, -0.10845893621444702, -0.2599266469478607, 0.3536718487739563, -0.6929170489311218, -0.08882227540016174, -0.0036214757710695267, 0.265848308801651, 0.3181339502334595, -0.4514717757701874, 0.33774039149284363, -0.09934211522340775, -0.5366272330284119, -1.0453786849975586, 0.7153387665748596, -0.868743896484375, -0.5627946853637695, 1.0197887420654297, 0.09939610213041306, -0.2778344452381134, -0.08809290081262589, -0.29694992303848267, 0.05706463009119034, -0.07666827738285065, 0.8600665926933289, 0.6057698726654053, 0.06759298592805862, 0.06973686069250107, -0.3703380525112152, 0.6780223846435547, 0.42917028069496155, -0.6590580344200134, 0.18345622718334198, 0.10281854122877121, 0.44629940390586853, 0.2985839247703552, 0.08087769150733948, -0.441611647605896, 0.23517432808876038, -0.21603909134864807, -0.3634444773197174, 0.07955334335565567, -0.4405101537704468, -0.6552907824516296, 0.3289378583431244, 0.21121267974376678, -0.17181721329689026 ]
http://arxiv.org/abs/2406.12881v1
http://arxiv.org/pdf/2406.12881v1
Towards Unlocking Insights from Logbooks Using AI
2024-05-25T13:38:15
2024-05-25T13:38:15
Antonin Sulc, Alex Bien, Annika Eichler, Daniel Ratner, Florian Rehm, Frank Mayet, Gregor Hartmann, Hayden Hoschouer, Henrik Tuennermann, Jan Kaiser, Jason St. John, Jennefer Maldonado, Kyle Hazelwood, Raimund Kammering, Thorsten Hellert, Tim Wilksen, Verena Kain, Wan-Lin Hu
physics.acc-ph
physics.acc-ph, cs.CL
Electronic logbooks contain valuable information about activities and events concerning their associated particle accelerator facilities. However, the highly technical nature of logbook entries can hinder their usability and automation. As natural language processing (NLP) continues advancing, it offers opportunities to address various challenges that logbooks present. This work explores jointly testing a tailored Retrieval Augmented Generation (RAG) model for enhancing the usability of particle accelerator logbooks at institutes like DESY, BESSY, Fermilab, BNL, SLAC, LBNL, and CERN. The RAG model uses a corpus built on logbook contributions and aims to unlock insights from these logbooks by leveraging retrieval over facility datasets, including discussion about potential multimodal sources. Our goals are to increase the FAIR-ness (findability, accessibility, interoperability, and reusability) of logbooks by exploiting their information content to streamline everyday use, enable macro-analysis for root cause analysis, and facilitate problem-solving automation.
[ -0.22156426310539246, -0.7573699355125427, 0.34100455045700073, -0.31171032786369324, -0.115577332675457, 0.305480033159256, 0.23461668193340302, -0.7473755478858948, -0.010628589428961277, 0.4695762097835541, -0.4827815592288971, -0.11213847994804382, -0.4111260175704956, 0.3072713613510132, -0.3927094042301178, 1.2257423400878906, 0.24913911521434784, -0.17826911807060242, -0.5214883089065552, -0.08875875920057297, -0.6276798844337463, -0.6702301502227783, -0.8214532136917114, -0.39006781578063965, 0.22791750729084015, 0.10711155086755753, 0.8256837129592896, 0.19094327092170715, 0.6926223039627075, 0.3151111602783203, -0.11961545795202255, 0.4285299479961395, -0.10158033668994904, -0.03399180248379707, -0.203174889087677, -0.35352829098701477, -0.735225260257721, -0.37786316871643066, 0.6955376863479614, 0.48847657442092896, -0.23112796247005463, 0.2911628186702728, 0.15176813304424286, 0.7085216045379639, -0.7109808921813965, 0.1422528624534607, -0.6730287075042725, 0.09076951444149017, -0.24390871822834015, -0.2612430155277252, -0.7497411370277405, 0.03692181780934334, -0.15922386944293976, -0.6344025135040283, 0.691548228263855, 0.26032280921936035, 0.948745608329773, 0.2639193832874298, -0.3635614216327667, -0.4941859543323517, -0.7224164605140686, 0.8753128051757812, -0.5023696422576904, 0.5740165114402771, 0.602775514125824, 0.3885347247123718, -0.31577184796333313, -0.8411242365837097, -0.4206489622592926, -0.15221025049686432, -0.7138490080833435, -0.15449196100234985, -0.23860540986061096, -0.1204250156879425, 0.1291876584291458, 0.24264585971832275, -0.6131608486175537, -0.17220014333724976, -0.19132164120674133, -0.13065481185913086, 0.7371310591697693, 0.25605472922325134, 0.48338615894317627, -0.26812005043029785, -0.01188694778829813, -0.46391090750694275, 0.011259120889008045, 0.15086184442043304, 0.07928408682346344, 0.40002235770225525, 0.24587707221508026, 0.46218642592430115, -0.13943517208099365, 0.768714427947998, -0.19629620015621185, -0.1654115617275238, 0.4739081561565399, -0.6919684410095215, -0.26094892621040344, 0.05986654385924339, 0.31215545535087585, 0.07602981477975845, -0.2602599561214447, -0.1189793199300766, -0.4522511661052704, -0.3524644076824188, 0.5163733959197998, -0.6810348629951477, -0.019905945286154747, 0.1377187818288803, -0.4698319733142853, -0.30852583050727844, 0.025406289845705032, -1.0782274007797241, -0.5738973021507263, -0.22015544772148132, 0.4567028284072876, -0.3502727150917053, -0.1759343147277832, -0.13377249240875244, -0.5277888178825378, 0.3375176787376404, 0.3037632405757904, -1.1256524324417114, 0.2763199806213379, 0.8082261085510254, 0.697983980178833, 0.170700803399086, -0.019672516733407974, -0.9811170101165771, 0.24647843837738037, -0.03732983395457268, 0.7348015904426575, -0.7110922932624817, -0.6129453182220459, -0.05614342913031578, -0.12771740555763245, -0.19788463413715363, -0.5495736002922058, 0.6420943737030029, -0.6552609801292419, 0.007885384373366833, 0.33220845460891724, -0.5172569155693054, -0.033329591155052185, 0.3063853085041046, -0.7367770671844482, 0.9872546792030334, 0.09658165276050568, -0.5630043148994446, 0.32152095437049866, -0.5954399108886719, -0.2696550786495209, 0.26097938418388367, -0.5356903076171875, -0.6366545557975769, 0.26827943325042725, 0.33249571919441223, 0.18393678963184357, -0.22208565473556519, 0.5823367834091187, 0.07974714040756226, -0.007252177223563194, 0.23971185088157654, -0.49850696325302124, 0.7687755823135376, 0.2678680717945099, -0.04009845852851868, -0.1571953147649765, -0.9506347179412842, -0.1509995460510254, 0.160241961479187, -0.2465135008096695, -0.46658188104629517, -0.07342406362295151, 0.02889304608106613, -0.27006396651268005, 0.46988826990127563, -0.4893247187137604, 0.18101222813129425, -0.24317587912082672, -0.3711007535457611, 0.6542662978172302, -0.0867396667599678, 0.21567562222480774, -0.38700032234191895, 0.7196342349052429, -0.2583467960357666, 0.3005227744579315, -0.4148515462875366, -0.6922070384025574, -0.29447492957115173, -0.2888616621494293, 0.21675212681293488, 0.4959457218647003, -0.5531378388404846, 0.04260185733437538, 0.1207861378788948, -0.3250660300254822, -0.5611377358436584, 0.3539644181728363, 0.5610669255256653, 0.8672114610671997, 0.3477991223335266, -0.4495355486869812, -0.295147567987442, -0.8185904026031494, -0.5854743719100952, -0.10325584560632706, -0.29263007640838623, 0.7353401184082031, 0.2578284740447998, -0.4708549380302429, 0.7683618068695068, -0.4731287658214569, -0.2082480639219284, -0.2509922385215759, 0.2555573880672455, 0.5324611067771912, 0.3514277935028076, 0.26651644706726074, -1.3216743469238281, -0.37794584035873413, 0.363477498292923, -0.7687656879425049, 0.08677130192518234, -0.21123568713665009, -0.06685822457075119, 0.4773895740509033, 0.4396345317363739, -0.4483143091201782, 0.993966281414032, 0.3720945119857788, -0.9003853797912598, 0.3886612057685852, -0.4092361629009247, 0.35344281792640686, -0.7609740495681763, 0.4079839289188385, -0.4006464183330536, -0.29896894097328186, -0.6245141625404358, 0.16425977647304535, 0.11373260617256165, -0.33383604884147644, -0.19648921489715576, 0.8248282074928284, -0.19216372072696686, -0.439489483833313, -0.24359498918056488, 0.244877427816391, 0.5379668474197388, 0.1249479427933693, -0.23479987680912018, 0.6892348527908325, 0.14762566983699799, -0.6879841685295105, 0.2050074338912964, 0.6416445970535278, -0.18368281424045563, 0.36185720562934875, -0.3848140835762024, 0.23805323243141174, -0.2690107822418213, 0.2537527084350586, -0.6020333170890808, -0.4136873483657837, -0.10237622261047363, -0.6199538111686707, 0.5131921768188477, 0.022722065448760986, -0.7076041102409363, 0.07126674801111221, -0.05771033093333244, 0.6299301981925964, 0.5629355907440186, -0.8409377336502075, 1.1159675121307373, 0.5456140637397766, -0.13226041197776794, -0.7286679148674011, -0.18029934167861938, -0.018721889704465866, 0.05075233429670334, -0.6118245124816895, 0.3829556107521057, -0.10742772370576859, -0.459686815738678, 0.15445072948932648, 0.03802706301212311, -0.19884075224399567, 0.36033496260643005, 0.08012650907039642, 0.6165897846221924, 0.02239389345049858, 0.48492372035980225, -0.1079365611076355, -0.1659320592880249, -0.18623997271060944, -0.0893121063709259, 0.44682586193084717, -0.2907721698284149, -0.25045666098594666, -0.3842918872833252, 0.31956303119659424, -0.0195827167481184, -0.48255184292793274, 0.8931523561477661, 0.8045132756233215, -0.5241714715957642, -0.025317300111055374, -0.2895360589027405, -0.1529608964920044, -0.5539081692695618, 0.27694305777549744, -0.22430165112018585, -0.6815949082374573, 0.21084672212600708, -0.06161683425307274, 0.4269670248031616, 0.4328307807445526, 0.5101737976074219, 0.12055984884500504, 0.9581328630447388, 0.7563461661338806, 0.16409733891487122, 0.4200834333896637, -0.016143545508384705, 0.3242112696170807, -0.7401137948036194, -0.5887234210968018, -0.8976754546165466, -0.07668796926736832, -0.4538136124610901, -0.33110862970352173, 0.43809622526168823, 0.2809509038925171, 0.27920424938201904, 0.05853495001792908, -0.42149120569229126, 0.6781838536262512, 0.5021042227745056, -0.12220440059900284, 0.6699362397193909, -0.16569283604621887, 0.028104767203330994, 0.27891016006469727, -0.6397267580032349, -0.5371426343917847, 0.9320929050445557, 0.10721319168806076, 0.3899608552455902, 0.25872671604156494, 0.8181842565536499, 0.44134432077407837, 0.3166978359222412, -0.44720324873924255, 0.3385753929615021, -0.38335341215133667, -0.9380894303321838, -0.4273124635219574, -0.4000874161720276, -1.2423678636550903, 0.09279222786426544, -0.09092991799116135, -0.9327239394187927, -0.024180389940738678, 0.34538501501083374, -0.30288997292518616, 0.2975793778896332, -0.5215629935264587, 0.938641369342804, -0.09456804394721985, -0.16204707324504852, -0.47024214267730713, -0.4920656979084015, 0.18541274964809418, -0.36961036920547485, 0.7951804399490356, -0.024821687489748, 0.30073806643486023, 0.6951189637184143, -0.22751423716545105, 0.5857264995574951, -0.01334208995103836, 0.025394948199391365, 0.4506422281265259, 0.09318165481090546, 0.3977290689945221, 0.39122775197029114, -0.3193264305591583, -0.004499503877013922, 0.06841260939836502, -0.32683315873146057, -0.7486739158630371, 0.5513193607330322, -0.5984315276145935, -0.5785580277442932, -0.3623078167438507, -0.6892388463020325, -0.254812091588974, 0.27366700768470764, -0.31022489070892334, 0.8548089265823364, -0.10837357491254807, 0.1474177986383438, 0.5274021625518799, -0.4728018045425415, 0.41791412234306335, 0.35151755809783936, -0.5318573713302612, 0.005779326427727938, 0.9038475751876831, -0.40598559379577637, 0.13644498586654663, 0.5749337673187256, 0.3422452211380005, -0.19269885122776031, -0.16265849769115448, -0.49201780557632446, 0.07178172469139099, -0.6870819926261902, -0.43174099922180176, -0.5062648057937622, -0.12578143179416656, -0.7228005528450012, -0.24906693398952484, -0.2497849315404892, -0.7050063610076904, -0.44265007972717285, -0.15276184678077698, 0.3740401566028595, 0.7858880162239075, -0.2724023461341858, 0.034093525260686874, -1.24693763256073, 0.5405893921852112, 0.3255757987499237, 0.28099551796913147, 0.011973338201642036, -0.6257321238517761, -0.4344709515571594, -0.29930779337882996, -0.5543562173843384, -0.4929969608783722, 0.665649950504303, 0.38297486305236816, 0.4620835483074188, -0.00652408879250288, -0.049918193370103836, 0.39309385418891907, -0.6895732879638672, 0.6483269333839417, -0.1071220114827156, -0.7456440925598145, 0.7605608701705933, -0.15040236711502075, 0.08562733232975006, 0.5819531083106995, 0.34011098742485046, -0.24529841542243958, -0.47967779636383057, -1.0401607751846313, -0.9767009615898132, 0.6954447627067566, 0.20730899274349213, 0.10184206813573837, 0.16967198252677917, 0.5086309313774109, 0.22165338695049286, 0.13540767133235931, -0.31064772605895996, -0.16502057015895844, -0.1768827736377716, -0.32830995321273804, -0.2662089765071869, 0.06671521067619324, -0.11834176629781723, 0.105344258248806, 0.860177755355835, -0.028870657086372375, -0.0324721559882164, 0.18436317145824432, 0.11630798876285553, -0.07012669742107391, 0.20394571125507355, 0.2197170853614807, 0.7290953993797302, -0.47219565510749817, -0.004621218424290419, 0.09530520439147949, -0.49853023886680603, -0.17762750387191772, 0.2698744535446167, -0.09202442318201065, 0.40702760219573975, 0.394756942987442, 0.6617581248283386, 0.013130332343280315, -1.1102042198181152, 0.11722863465547562, -0.5263934135437012, 0.2433680146932602, -0.37999752163887024, 0.19834110140800476, -0.16933487355709076, 0.321879506111145, 0.4893299341201782, -0.10699545592069626, 0.424223393201828, -0.6171605587005615, 0.6785596013069153, 0.5960277915000916, -0.01590508222579956, -0.07641663402318954, 0.6073620915412903, 0.17138716578483582, -0.9093636274337769, 0.861008882522583, -0.39157626032829285, -0.13896848261356354, 0.6922187209129333, 0.6049121022224426, 0.7312158942222595, -0.1102011576294899, 0.3071666955947876, 0.5218288898468018, 0.15977613627910614, 0.4306749403476715, -0.1488032042980194, -0.008082527667284012, -0.6691308617591858, -0.3011445701122284, -0.9522795081138611, -0.5935264825820923, -0.015752116218209267, -0.9638969898223877, 0.309367299079895, -0.3600757122039795, -0.09012109786272049, 0.05315295234322548, -0.0034175703767687082, -0.8753489255905151, 0.23558998107910156, 0.1521475613117218, 0.6466650366783142, -0.5176621675491333, 0.6462209224700928, 0.5101839900016785, -0.15585441887378693, -0.7147098183631897, -0.19622519612312317, -0.09047245979309082, -0.8678122758865356, 0.8486793041229248, 0.23262931406497955, 0.06903634965419769, -0.09718621522188187, -0.22620226442813873, -0.8068748116493225, 1.1959573030471802, 0.021152900531888008, -0.593908429145813, 0.02889711782336235, 0.011351032182574272, 0.43519866466522217, -0.030789034441113472, 0.19680233299732208, 0.7693361639976501, 0.2853226363658905, -0.1308751404285431, -1.033506989479065, -0.11294946819543839, -0.3092007339000702, -0.2817398011684418, 0.5104644894599915, -0.4189119040966034, 0.610388457775116, -0.14107131958007812, 0.03248179703950882, -0.18783248960971832, 0.637789785861969, 0.5844777822494507, 0.9890235662460327, 0.5244694352149963, 0.5205277800559998, 1.1472364664077759, 0.5577221512794495, 1.49154531955719, -0.008272815495729446, 0.40777385234832764, 1.060518741607666, -0.037462376058101654, 0.7370060682296753, 0.5819724202156067, -0.09452091157436371, 0.5813801884651184, -0.027395548298954964, 0.12617993354797363, 0.3835393786430359, -0.042472321540117264, -0.6002686619758606, -0.1355707347393036, -0.603271484375, -0.1029563844203949, 0.2799642086029053, 0.5054225921630859, -0.09402308613061905, -0.23973111808300018, -0.030001940205693245, -0.23931090533733368, 0.12803684175014496, -0.3192291557788849, 0.7756099104881287, 0.1641126275062561, -0.42764052748680115, 0.26543375849723816, 0.1439073085784912, 0.12703262269496918, -0.42759203910827637, -0.3308004140853882, -0.33734366297721863, 0.21698789298534393, -0.1795577108860016, -0.41167470812797546, 0.5908253192901611, 0.35943713784217834, -0.056869905441999435, -0.15948179364204407, 0.9981101155281067, 0.11873277276754379, -0.835739016532898, 0.16313914954662323, 0.2863359749317169, 0.142701655626297, 0.39350101351737976, -0.5258402824401855, 0.11967907100915909, 0.11723299324512482, -0.24803823232650757, 0.7314714789390564, 0.5188712477684021, 0.09121742844581604, 0.6290280818939209, 0.5510557889938354, -0.2920195162296295, 0.0023559730034321547, 0.09658144414424896, 0.7551642060279846, -0.6199641823768616, -0.18604138493537903, -0.7717875838279724, 0.6352756023406982, -0.12362854927778244, -0.28133729100227356, 0.5575109124183655, 0.4344271421432495, 0.9599789381027222, 0.12079578638076782, 0.624291718006134, -0.16007556021213531, 0.5180370807647705, -0.6112933158874512, 0.4988096356391907, -0.7406749129295349, 0.2497939169406891, -0.16695529222488403, -0.38404005765914917, -0.32790908217430115, 0.5694870352745056, 0.21650205552577972, -0.18007272481918335, 0.43281662464141846, 0.602199912071228, -0.011550771072506905, 0.14649075269699097, 0.3998819887638092, -0.05551523342728615, 0.7304880619049072, 0.40688642859458923, 0.5098471641540527, -0.4907362461090088, 0.6322452425956726, -0.36091387271881104, -0.45937129855155945, -0.26847463846206665, -0.955585241317749, -0.9386357665061951, -0.5593265891075134, -0.3732409179210663, -0.22511203587055206, 0.056957703083753586, 0.6492518186569214, 0.08176050335168839, -0.7146286368370056, -0.1781558096408844, -0.11031712591648102, 0.20845991373062134, 0.1613621860742569, -0.2820734679698944, 0.46862658858299255, -0.8231568336486816, -0.6624619960784912, 0.6062812209129333, -0.01999089866876602, -0.17086714506149292, 0.048351019620895386, -0.016634156927466393, -0.07733739167451859, 0.02366989105939865, 0.3915477693080902, 0.3671872615814209, -0.17572438716888428, -0.1944277584552765, -0.04489285126328468, 0.2175743132829666, -0.25209879875183105, 0.7836148142814636, -1.047832727432251, 0.5926038026809692, 0.3732328712940216, 1.3188894987106323, 0.4062824547290802, 0.11142197996377945, 0.4752700924873352, -1.0362592935562134, 0.19027179479599, 0.5002303719520569, 0.23653024435043335, 0.2894723415374756, -0.6005527973175049, 0.6048833131790161, 0.07288245856761932, -0.9119009375572205, -1.0771533250808716, 0.16951560974121094, -0.6400931477546692, -0.3978712260723114, 0.7572508454322815, -0.037515465170145035, -0.18117088079452515, -0.04054272174835205, -0.14148621261119843, 0.3600427806377411, -0.33061912655830383, 0.9614190459251404, 0.4964958429336548, -0.5835775136947632, 0.1160617545247078, -0.8783103823661804, 0.6231468319892883, 0.581786036491394, -0.9189791679382324, 0.05132284387946129, 0.38301894068717957, -0.24740993976593018, 0.5763781070709229, 0.7288733720779419, -0.13159117102622986, 0.28344404697418213, -0.128870889544487, -0.06887964904308319, -0.023145437240600586, -0.60920649766922, -0.4569292366504669, -0.08750840276479721, 0.18949778378009796, 0.04209096357226372 ]
http://arxiv.org/abs/2405.16205v1
http://arxiv.org/pdf/2405.16205v1
GeneAgent: Self-verification Language Agent for Gene Set Knowledge Discovery using Domain Databases
2024-05-25T12:35:15
2024-05-25T12:35:15
Zhizheng Wang, Qiao Jin, Chih-Hsuan Wei, Shubo Tian, Po-Ting Lai, Qingqing Zhu, Chi-Ping Day, Christina Ross, Zhiyong Lu
cs.AI
cs.AI, cs.CL
Gene set knowledge discovery is essential for advancing human functional genomics. Recent studies have shown promising performance by harnessing the power of Large Language Models (LLMs) on this task. Nonetheless, their results are subject to several limitations common in LLMs such as hallucinations. In response, we present GeneAgent, a first-of-its-kind language agent featuring self-verification capability. It autonomously interacts with various biological databases and leverages relevant domain knowledge to improve accuracy and reduce hallucination occurrences. Benchmarking on 1,106 gene sets from different sources, GeneAgent consistently outperforms standard GPT-4 by a significant margin. Moreover, a detailed manual review confirms the effectiveness of the self-verification module in minimizing hallucinations and generating more reliable analytical narratives. To demonstrate its practical utility, we apply GeneAgent to seven novel gene sets derived from mouse B2905 melanoma cell lines, with expert evaluations showing that GeneAgent offers novel insights into gene functions and subsequently expedites knowledge discovery.
[ -0.4373648464679718, -0.5347340703010559, 0.5513676404953003, 0.0701165422797203, -0.045424602925777435, 0.3746170103549957, -0.15393203496932983, -0.4751451909542084, 0.37811827659606934, 0.693328857421875, -0.4317138195037842, -0.5185270309448242, -0.4758245050907135, 0.43779247999191284, -0.5473299026489258, 0.5568676590919495, 0.1257759928703308, -0.030189044773578644, -0.3787049949169159, -0.16322073340415955, -0.16522841155529022, -0.5761117339134216, -0.40199965238571167, -0.5292722582817078, 0.6308504939079285, 0.2734617590904236, 0.627265214920044, 0.65758216381073, 0.5770167112350464, 0.40035659074783325, 0.37623581290245056, 0.3852904140949249, -0.3609884977340698, 0.21776005625724792, -0.35551634430885315, -0.3907458782196045, -0.3088914453983307, -0.13288907706737518, 0.20656414330005646, 0.555098295211792, -0.021493244916200638, -0.06842843443155289, -0.10935068875551224, 0.5890703797340393, -0.36732980608940125, 0.07689045369625092, -0.5877372026443481, 0.2834337651729584, -0.21164773404598236, -0.36170801520347595, -0.06589411199092865, -0.5193522572517395, 0.19233302772045135, -0.4616374969482422, 0.524963915348053, -0.09730144590139389, 0.634800374507904, 0.5235593318939209, -0.34132298827171326, -0.07917682826519012, -0.7438228130340576, 0.3269541561603546, -0.4671568274497986, 0.07425931841135025, 0.43370962142944336, 0.4765651226043701, -0.43752676248550415, -0.6959126591682434, -0.6670176982879639, -0.6721005439758301, -0.2282722443342209, -0.17068691551685333, -0.03565090894699097, 0.005165671929717064, 0.25292259454727173, 0.3323008120059967, -0.8110575079917908, -0.14587824046611786, -0.3757660686969757, -0.5333089828491211, 0.43789955973625183, -0.1685631275177002, 0.49359598755836487, -0.2202371507883072, -0.25881466269493103, -0.10342495888471603, -0.44518420100212097, -0.37538716197013855, 0.1496628224849701, -0.051386889070272446, 0.5343238115310669, 0.6502753496170044, -0.10806266963481903, 0.3653047978878021, -0.12391845136880875, 0.18423689901828766, 0.339476078748703, 0.044906966388225555, 0.021997569128870964, 0.28872838616371155, 0.8122134208679199, 0.01015674788504839, 0.17119775712490082, -0.26767510175704956, -0.1713263839483261, 0.1678548902273178, 0.4034775197505951, -0.7321661114692688, -0.6750749349594116, 0.37677183747291565, -0.2677673101425171, -0.3455794155597687, 0.012692321091890335, -0.9821078777313232, -0.8741501569747925, 0.10294204205274582, 0.6914467811584473, -0.7475722432136536, -0.2928335666656494, 0.06819497048854828, -0.17120279371738434, 0.2708157002925873, 0.13931499421596527, -0.5295004844665527, 0.05946528539061546, 0.4908550977706909, 0.7362691164016724, -0.3449176549911499, -0.4250759482383728, -0.4806501865386963, 0.18236581981182098, -0.3069297969341278, 0.893052339553833, -0.3610706031322479, -0.44243741035461426, -0.35916855931282043, 0.22791346907615662, -0.03714407980442047, -0.647020697593689, 0.19845861196517944, -0.2738228440284729, -0.21672271192073822, -0.3672381043434143, -0.7762323021888733, -0.17633569240570068, 0.028527691960334778, -0.6651427745819092, 0.8375352621078491, 0.15777133405208588, -0.4271899461746216, 0.24078109860420227, -0.6861836314201355, -0.6608541011810303, 0.6230645179748535, -0.6328518986701965, -0.34528037905693054, -0.16578537225723267, 0.027541857212781906, 0.5431612730026245, 0.07825148105621338, 0.08765911310911179, -0.21792683005332947, -0.13101232051849365, 0.5162972807884216, -0.09754648059606552, 0.4614947736263275, 0.12417123466730118, -0.7563719153404236, 0.03740588575601578, -0.8828330636024475, -0.13485755026340485, 0.3824843764305115, 0.11013346910476685, -0.3306046426296234, -0.03472889959812164, -0.5620626211166382, 0.02571650967001915, 0.27674251794815063, -0.6766980290412903, 0.2921365201473236, -0.33144086599349976, 0.10719352215528488, 0.7166844606399536, -0.011074787937104702, -0.031104017049074173, -0.3039152920246124, 0.5919530391693115, -0.07260412722826004, 0.0065973359160125256, 0.005279214587062597, -0.569256067276001, -0.6598544716835022, -0.06514418125152588, 0.09743806719779968, 0.6015450358390808, -0.8784041404724121, 0.7079377770423889, -0.09835716336965561, -0.49783673882484436, -0.31661808490753174, 0.14514602720737457, 0.24888700246810913, 0.42917028069496155, 0.5383562445640564, -0.15073110163211823, -0.4594724476337433, -0.8407912254333496, -0.06429488956928253, -0.033370524644851685, -0.1325182318687439, 0.28384295105934143, 0.5807037949562073, -0.6776313185691833, 0.9344660639762878, -0.4673108160495758, -0.5199154615402222, -0.2797878086566925, 0.2242465615272522, -0.08257120847702026, 0.5962550044059753, 0.4409843683242798, -0.466220498085022, -0.07872296124696732, 0.4550389349460602, -0.942156970500946, -0.2763293981552124, -0.014560313895344734, -0.20079462230205536, 0.19703400135040283, 0.5304262042045593, -0.4037964344024658, 0.3840911388397217, 0.6624364256858826, -0.4333653151988983, 0.3964511454105377, -0.41791319847106934, 0.3979925513267517, -0.8293030858039856, 0.29727503657341003, -0.1745297759771347, -0.3965958058834076, -0.6630948185920715, -0.20274394750595093, -0.012116022408008575, 0.19050057232379913, 0.08724108338356018, 0.42357563972473145, -0.30656856298446655, -0.22522933781147003, -0.44521790742874146, 0.2176457643508911, -0.0686081275343895, 0.31226831674575806, -0.14712150394916534, 0.97840416431427, 0.4507933557033539, -0.5410533547401428, 0.47062888741493225, 0.48525387048721313, -0.21889036893844604, 0.26540136337280273, -0.47796830534935, 0.29560524225234985, -0.16557514667510986, 0.04415300115942955, -0.7002900242805481, -0.2218121886253357, 0.36731845140457153, -0.4847687780857086, 0.2312881052494049, -0.08780352771282196, -0.352855384349823, -0.3824719190597534, 0.02712436020374298, -0.004363108891993761, 0.5117036700248718, -0.7142683863639832, 0.8312502503395081, 0.46114814281463623, 0.007771783508360386, -0.507820188999176, -0.7460585236549377, 0.2161591798067093, 0.13105541467666626, -0.5152258276939392, 0.2267245650291443, -0.21783466637134552, -0.10511629283428192, -0.06406783312559128, -0.36261799931526184, -0.009652289561927319, -0.10471851378679276, 0.23409785330295563, 0.09873045235872269, -0.11001643538475037, 0.3816300928592682, -0.015457291156053543, -0.11569917947053909, 0.09423579275608063, -0.4213167726993561, 0.300311803817749, -0.17567075788974762, -0.32838621735572815, 0.2526582181453705, 0.2869439721107483, 0.4643974006175995, -0.395635187625885, 0.4767354428768158, 0.6564292311668396, -0.4230242371559143, -0.4525575339794159, -0.6690564155578613, -0.34559255838394165, -0.4882522225379944, 0.32378631830215454, -0.47383731603622437, -0.950289249420166, 0.5459681153297424, -0.24976597726345062, -0.391625314950943, 0.4972597360610962, 0.3795665502548218, 0.29166898131370544, 0.7999125123023987, 0.43974435329437256, 0.04923507943749428, 0.01676185615360737, -0.1006309911608696, 0.06409892439842224, -0.41199061274528503, -0.42371824383735657, -0.5192537903785706, -0.009992041625082493, -0.4265390932559967, -0.6949943900108337, 0.5145769715309143, -0.36159032583236694, 0.17768463492393494, 0.24524345993995667, -0.6849882006645203, 0.7193352580070496, 0.4413096606731415, 0.19963885843753815, 0.2718087434768677, -0.184829443693161, -0.28486204147338867, 0.48348692059516907, -0.5473945736885071, -0.6491618156433105, 0.9073876738548279, 0.11232474446296692, 0.7771866321563721, 0.10729093849658966, 0.749553382396698, 0.42713698744773865, 0.35334962606430054, -0.5585347414016724, 0.8115785717964172, -0.37371504306793213, -0.7532473802566528, -0.4636077880859375, -0.6916032433509827, -1.1040210723876953, 0.15329819917678833, -0.068104587495327, -0.7395197749137878, 0.32628166675567627, 0.19486257433891296, -0.41600263118743896, 0.3087141513824463, -0.3375091552734375, 0.9590655565261841, -0.44399386644363403, -0.1600581556558609, -0.08735577017068863, -0.6692343354225159, 0.33029448986053467, -0.2500089406967163, -0.13228604197502136, -0.324849009513855, 0.0036850660108029842, 0.5868258476257324, -0.5908660292625427, 0.6576606631278992, -0.1889907270669937, -0.09896188974380493, 0.07613649219274521, 0.40126532316207886, 0.49366188049316406, -0.009762037545442581, 0.12272205948829651, 0.2718117833137512, 0.22162792086601257, -0.1849166750907898, -0.42792078852653503, 0.7985748052597046, -0.6817147135734558, -0.5572410821914673, -0.33676910400390625, -0.11933261901140213, -0.3486798107624054, 0.33185791969299316, 0.3733139932155609, 0.17971402406692505, -0.19831930100917816, 0.10635248571634293, 1.182887315750122, -0.431295245885849, 0.14072129130363464, 0.37972381711006165, -0.46551892161369324, -0.25644800066947937, 1.0442466735839844, -0.11396509408950806, 0.09045301377773285, 0.35312408208847046, 0.4334689974784851, -0.17305023968219757, -0.3464317321777344, -0.3174465596675873, 0.07606571912765503, -0.8157088756561279, -0.28425106406211853, -1.0547938346862793, -0.2740001976490021, -0.4380347728729248, 0.05600668489933014, -0.27994275093078613, -0.3309178650379181, -0.023078614845871925, -0.2140776813030243, 0.5220431685447693, 0.8326363563537598, -0.22012189030647278, -0.11334286630153656, -0.8472676873207092, 0.577536940574646, 0.6012038588523865, 0.4312148094177246, -0.4936395287513733, -0.062226999551057816, -0.16481153666973114, -0.25772446393966675, 0.1804947704076767, -1.3242064714431763, 0.38359495997428894, 0.22874483466148376, 0.8612572550773621, 0.20147527754306793, -0.1873566061258316, 0.12892009317874908, -0.2683977484703064, 0.5296996235847473, -0.32976022362709045, -0.7140180468559265, 0.6146856546401978, -0.22330868244171143, 0.09756206721067429, 0.4544738233089447, 0.2138315886259079, -0.39917463064193726, -0.6082494258880615, -0.5383616089820862, -0.5577787160873413, 0.1966947764158249, 0.4530266523361206, -0.25886091589927673, -0.048540178686380386, 0.44758424162864685, 0.37403905391693115, 0.1362994909286499, -0.41663193702697754, -0.4305230379104614, -0.4423121511936188, -0.12182080745697021, -0.21715141832828522, -0.0805266946554184, -0.31721487641334534, -0.09637990593910217, 0.8274182677268982, -0.5022754073143005, 0.37103381752967834, 0.6868764162063599, -0.3032074570655823, -0.29858332872390747, 0.17402654886245728, 0.6654391288757324, 0.47863665223121643, -0.20593523979187012, 0.3924084007740021, 0.09074908494949341, -0.6066305041313171, 0.15322229266166687, 0.544443666934967, 0.022355331107974052, 0.06933564692735672, 0.11348344385623932, 0.1813538819551468, -0.23649272322654724, -0.7056823372840881, 0.5066125392913818, -0.16483575105667114, -0.20614895224571228, -0.24204878509044647, 0.19802318513393402, -0.11411546170711517, 0.3588683605194092, 0.48541706800460815, 0.1398056000471115, 0.47035524249076843, -0.134695902466774, 0.5577278733253479, 0.29023438692092896, -0.27438366413116455, -0.0010457549942657351, 0.5899643898010254, 0.1650640368461609, 0.15631449222564697, 0.2125120460987091, -0.4382116496562958, -0.5982137322425842, 0.7553771734237671, 0.27206581830978394, 1.1452304124832153, -0.5396496653556824, 0.3427093029022217, 0.0914895161986351, 0.566970705986023, -0.08668764680624008, 0.32031023502349854, 0.30428293347358704, -0.9210190176963806, -0.27115675806999207, -0.5210142135620117, -0.47250205278396606, 0.20963934063911438, -0.10008314996957779, -0.15666408836841583, -0.3223424553871155, -0.11187036335468292, 0.19460131227970123, -0.028103133663535118, -0.4773896336555481, 0.03144824132323265, 0.0800744891166687, 0.673454225063324, -0.6468542814254761, 0.9346320629119873, 0.6652351021766663, -0.3445549011230469, -0.7838551998138428, -0.059418268501758575, 0.09428821504116058, -0.8046256899833679, 0.30874884128570557, 0.18931026756763458, -0.37329962849617004, 0.09075882285833359, -0.5813645720481873, -0.6941179037094116, 1.1581480503082275, 0.2521778643131256, -0.608874499797821, 0.4536224603652954, 0.07041672617197037, 0.6545161008834839, -0.39133650064468384, -0.2732035219669342, 0.6287785172462463, 0.6538918614387512, 0.31284549832344055, -0.4822719097137451, 0.3534899353981018, -0.24379315972328186, -0.16246598958969116, 0.1460951417684555, -0.22507628798484802, 0.4428996443748474, -0.2290751039981842, -0.034960441291332245, 0.1611328274011612, 0.6347619891166687, 0.20783576369285583, 0.2882431745529175, 0.3802056610584259, 0.13696308434009552, 1.036934494972229, -0.04685252159833908, 0.9073423743247986, -0.5846440196037292, 0.10431622713804245, 0.9367932677268982, -0.392082542181015, 0.2871265411376953, 0.21708251535892487, -0.12553739547729492, 0.4798600971698761, 0.22939200699329376, -0.3627214729785919, 0.09162482619285583, 0.438773512840271, -0.4371457099914551, -0.3293861746788025, 0.08938894420862198, -0.3180732727050781, 0.19727341830730438, 0.3243812024593353, -0.29035693407058716, 0.22906674444675446, 0.16706226766109467, -0.10685961693525314, 0.05266936495900154, -0.12526588141918182, 0.6931872963905334, -0.12102489173412323, -0.6086179614067078, 0.08027654886245728, -0.25014883279800415, 0.3760139048099518, -0.6370219588279724, -0.19299791753292084, -0.46803635358810425, 0.2509979009628296, -0.1711244434118271, -0.6209573149681091, -0.03733163699507713, -0.2668481171131134, 0.18701046705245972, 0.26464471220970154, 1.1790403127670288, -0.618021547794342, -0.4440923035144806, 0.30247634649276733, 0.7778345942497253, 0.2529022693634033, -0.1447218358516693, -0.46286189556121826, -0.20927566289901733, -0.14316323399543762, -0.13727650046348572, -0.0403834767639637, 0.6134278178215027, 0.24165283143520355, 0.9077087044715881, 0.5851535201072693, 0.12376715242862701, 0.08644411712884903, 0.13260625302791595, 0.7175301313400269, -0.7538004517555237, -0.049251146614551544, -0.7483479380607605, 0.07558716833591461, -0.2116299271583557, 0.06961758434772491, 0.6197031736373901, 0.491973876953125, 0.6278956532478333, -0.2075633704662323, 1.1429731845855713, -0.1252073049545288, 0.5446598529815674, -0.3162638247013092, 0.857343316078186, -0.25988948345184326, 0.29505273699760437, -0.10496562719345093, -0.6001666188240051, -0.5161272287368774, 0.825175404548645, -0.08780419081449509, 0.4530795216560364, 0.9199020266532898, 1.148269534111023, 0.2961958944797516, -0.01869348995387554, 0.6741930842399597, 0.40064072608947754, 0.4310169517993927, 0.27633655071258545, 0.7831107378005981, -0.09956590086221695, 0.6467593312263489, -0.23517534136772156, -0.43132033944129944, -0.17621318995952606, -0.7879126071929932, -1.166168451309204, -0.5218575596809387, -0.4273970425128937, -0.5654162764549255, 0.38955962657928467, 1.1378183364868164, 0.6452505588531494, -0.7304878830909729, -0.09437020123004913, -0.01364891231060028, 0.06383447349071503, -0.20755179226398468, -0.16210991144180298, 0.1392335295677185, -0.29433441162109375, -0.22779437899589539, 0.7353357672691345, 0.535190761089325, 0.29835763573646545, -0.6582784056663513, -0.08570970594882965, -0.10961848497390747, 0.2556971311569214, 0.3623318672180176, 0.5681503415107727, -0.5018407702445984, -0.3413616418838501, -0.03711758926510811, -0.41507163643836975, 0.08980195969343185, 1.0419291257858276, -0.959318220615387, 0.5574394464492798, 0.19627048075199127, 0.6499716639518738, 0.18874125182628632, -0.2925378978252411, 0.6838725209236145, -0.6835653781890869, -0.4840399920940399, 0.30733522772789, 0.389535516500473, 0.32942473888397217, -0.7950311303138733, 0.7645504474639893, 0.28534919023513794, -0.8814408779144287, -0.3353705108165741, 0.2034732550382614, -1.0070031881332397, -0.2790575921535492, 1.1633931398391724, -0.008894631639122963, -0.3155116140842438, -0.23075279593467712, -0.33339282870292664, 0.15128006041049957, -0.1993836611509323, 1.0272951126098633, 0.2809860110282898, -0.23698921501636505, -0.2018837183713913, -0.30408769845962524, 0.9044074416160583, 0.34240490198135376, -1.163048267364502, 0.15548233687877655, 0.5385894775390625, 0.2420753538608551, 0.12667004764080048, 0.5429967641830444, -0.026280637830495834, 0.17256712913513184, -0.10222431272268295, 0.4263765811920166, -0.007795637007802725, -0.35317981243133545, -0.361415833234787, 0.13590170443058014, -0.011906622909009457, -0.005801987834274769 ]
http://arxiv.org/abs/2406.16897v1
http://arxiv.org/pdf/2406.16897v1
InstructPatentGPT: Training patent language models to follow instructions with human feedback
2024-05-25T11:48:50
2024-05-25T11:48:50
Jieh-Sheng Lee
cs.CL
cs.CL
In this research, patent prosecution is conceptualized as a system of reinforcement learning from human feedback. The objective of the system is to increase the likelihood for a language model to generate patent claims that have a higher chance of being granted. To showcase the controllability of the language model, the system learns from granted patents and pre-grant applications with different rewards. The status of "granted" and "pre-grant" are perceived as labeled human feedback implicitly. In addition, specific to patent drafting, the experiments in this research demonstrate the model's capability to learn from adjusting claim length and inclusion of limiting terms for narrowing claim scope. As proof of concept, the experiments focus on claim ones only and the training data originates from a patent dataset tailored specifically for artificial intelligence. Although the available human feedback in patent prosecution are limited and the quality of generated patent text requires improvement, the experiments following the 3-stage reinforcement learning from human feedback have demonstrated that generative language models are capable of reflecting the human feedback or intent in patent prosecution. To enhance the usability of language models, the implementation in this research utilizes modern techniques that enable execution on a single consumer-grade GPU. The demonstrated proof of concept, which reduces hardware requirements, will prove valuable in the future as more human feedback in patent prosecution become available for broader use, either within patent offices or in the public domain.
[ 0.0023709628731012344, -0.4607691764831543, 0.41682326793670654, 0.5541009306907654, -0.2191178798675537, 0.22574295103549957, -0.1547248214483261, -0.3853796124458313, -0.2218298614025116, 0.5385539531707764, -0.192896768450737, -0.40571191906929016, -0.44518807530403137, -0.20528128743171692, -0.20051155984401703, 1.0694100856781006, -0.09574844688177109, 0.26079297065734863, -0.10632696747779846, 0.4505208730697632, -0.42342764139175415, -0.6126869320869446, -0.7864366769790649, -0.6623924970626831, 0.08877180516719818, 0.4185192883014679, 0.18367964029312134, 0.3791970908641815, 0.10129409283399582, 0.26023614406585693, 0.06893981248140335, -0.2999386787414551, -0.11518140882253647, -0.09458722174167633, -0.18289463222026825, -0.48957157135009766, -0.12847118079662323, 0.3012404441833496, 0.3917427957057953, 0.4252281188964844, -0.6619402170181274, -0.03493678197264671, 0.3360682427883148, 0.2817363440990448, -0.4554874897003174, 0.44739386439323425, -0.5672950744628906, 0.0941416472196579, 0.04889518767595291, -0.19401872158050537, -0.8166863322257996, -0.45854315161705017, 0.27154916524887085, -0.6566765308380127, 0.5746407508850098, 0.269963800907135, 0.8025754690170288, -0.008699541911482811, 0.0004086606786586344, -0.3240177631378174, -0.6301618218421936, 0.39006587862968445, -0.8150522708892822, 0.03596971929073334, 0.40400370955467224, 0.16155825555324554, -0.4650048017501831, -0.9904343485832214, -0.6199826002120972, -0.9077483415603638, 0.10569029301404953, -0.03291242569684982, -0.13665124773979187, 0.37139105796813965, 0.37429964542388916, 0.01949203759431839, -0.5698138475418091, 0.2557097375392914, -0.5174515247344971, -0.37291380763053894, 0.449042946100235, -0.2801477313041687, 0.44409143924713135, -0.03068871609866619, -0.5119497179985046, -0.31879401206970215, -0.9741374254226685, 0.1667429804801941, 0.5282400250434875, 0.2567729353904724, 0.12163767218589783, 0.5407311320304871, -0.3111013174057007, 0.6288245320320129, 0.13904209434986115, 0.14462126791477203, -0.006524518597871065, -0.06976351886987686, -0.29740869998931885, 0.3771965801715851, 0.7668259143829346, -0.13428309559822083, 0.05807514861226082, -0.34457001090049744, -0.43244245648384094, -0.09002571552991867, 0.48433277010917664, -0.8829494714736938, -0.4609137773513794, -0.0941503643989563, -0.6006787419319153, -0.3341788053512573, 0.21870972216129303, -0.6574842929840088, -0.5626868009567261, -0.4336608350276947, 0.5881038308143616, -0.4076016843318939, -0.26868313550949097, 0.3287634253501892, -0.4539484679698944, 0.23573718965053558, 0.24845115840435028, -1.3318760395050049, 0.5027620196342468, 0.8746790885925293, 0.4968566298484802, 0.04606145620346069, -0.4523346722126007, -0.5471203923225403, 0.12246182560920715, -0.2720620632171631, 0.7411381602287292, -0.49188467860221863, -0.6996440887451172, -0.2464098185300827, -0.02158033475279808, -0.3291334807872772, -0.7912912368774414, 0.5570896863937378, -0.6516778469085693, 0.3324633240699768, 0.17813298106193542, -0.5840469002723694, -0.07338816672563553, 0.09842774271965027, -0.17482542991638184, 0.47717157006263733, -0.01863604038953781, -0.5506638884544373, 0.7807469964027405, -0.9922705292701721, -0.489958792924881, 0.31042376160621643, -0.3849155604839325, -0.4590730369091034, 0.1375064104795456, 0.15533128380775452, 0.26094046235084534, -0.22880926728248596, 0.27718451619148254, -0.09836474061012268, -0.1232575923204422, 0.11997455358505249, -0.2969611585140228, 0.8434649705886841, 0.1907222419977188, -0.8099508881568909, 0.3907029926776886, -0.6233439445495605, 0.004532502498477697, 0.11708709597587585, -0.6243264079093933, -0.09291791170835495, 0.033474624156951904, -0.1822216510772705, -0.08287525177001953, -0.04289322346448898, -0.9010807275772095, 0.4254147410392761, -0.47124576568603516, 0.5481202602386475, 0.8162933588027954, 0.09148827195167542, 0.25457772612571716, 0.013372290879487991, 0.808168888092041, -0.37222281098365784, 0.30451589822769165, 0.012166857719421387, -0.6373424530029297, -0.6117801070213318, -0.09033069014549255, 0.3721426725387573, 0.544624924659729, -0.7553666234016418, 0.058942802250385284, -0.14691013097763062, -0.1369180977344513, -0.3900345265865326, 0.16132347285747528, 0.6549030542373657, 0.6871769428253174, 0.027584346011281013, -0.6089062094688416, -0.40139415860176086, -0.7297263741493225, -0.22166571021080017, -0.5335378050804138, -0.24504466354846954, 0.11224319040775299, 0.5512583255767822, 0.11597906053066254, 0.7606523036956787, -0.4672592580318451, -0.09981196373701096, -0.318939208984375, 0.8660492300987244, 0.17281699180603027, 0.6074849963188171, 0.33468374609947205, -0.5840067863464355, -0.4071328639984131, 0.22078914940357208, -0.5130859017372131, 0.06728402525186539, -0.05288873612880707, 0.2145814150571823, 0.10389149188995361, 0.5423218011856079, -0.6896213889122009, 0.6149088144302368, 0.13270078599452972, -0.4948582649230957, 0.8442479372024536, -0.70247483253479, -0.007374448701739311, -0.853334367275238, -0.02042667381465435, -0.04410947114229202, -0.02138330228626728, -0.2785626947879791, -0.08809040486812592, 0.051026202738285065, -0.39076173305511475, -0.4633693993091583, 0.40668392181396484, -0.3969068229198456, 0.20953789353370667, -0.4353981018066406, -0.2562909424304962, -0.19628675282001495, 0.3897736072540283, -0.012617264874279499, 1.1496360301971436, 0.4790400266647339, -0.7543545365333557, 0.5661561489105225, 0.15471504628658295, -0.5738387107849121, 0.3465513586997986, -0.9284901022911072, 0.21895205974578857, -0.10383018851280212, -0.011317932046949863, -0.7570938467979431, -0.32406139373779297, 0.3628746569156647, -0.497998982667923, 0.49476203322410583, -0.28307655453681946, -0.618882954120636, -0.5659242272377014, 0.0029110973700881004, -0.23622511327266693, 0.47687092423439026, -0.8526872992515564, 0.3023824989795685, 0.3762919306755066, -0.3475242257118225, -0.47923344373703003, -0.4994090795516968, 0.2346559762954712, -0.17949897050857544, -0.3618965148925781, 0.5198314189910889, 0.0974307581782341, 0.0331694595515728, 0.06223108246922493, 0.403749018907547, -0.13356822729110718, 0.04614933207631111, 0.2926587164402008, 0.2626875936985016, -0.03453054651618004, 0.20164792239665985, -0.11867791414260864, -0.2234916090965271, 0.3714327812194824, -0.6868086457252502, 0.4046381115913391, 0.009571258910000324, -0.486948698759079, -0.6634819507598877, -0.008140024729073048, 0.2623516619205475, -0.09960708022117615, 0.26593610644340515, 0.26424553990364075, -0.2470155954360962, -0.4053299129009247, -0.2954370379447937, -0.17311613261699677, -0.5133242607116699, 0.3412008285522461, -0.35619112849235535, -0.7466816306114197, 0.09254954010248184, -0.22172333300113678, -0.11054524779319763, 0.2541022002696991, 0.616296648979187, 0.20331159234046936, 1.0159642696380615, 0.9151163101196289, -0.28760889172554016, 0.5835084319114685, -0.3164796829223633, 0.297886461019516, -0.6659258008003235, -0.4153207540512085, -0.5925121307373047, 0.11239118129014969, -0.28425025939941406, -0.10403835028409958, 0.10033732652664185, 0.20856203138828278, -0.32171937823295593, 0.4364725649356842, -0.8087456226348877, 0.5839203000068665, 1.1088734865188599, 0.2732398509979248, 0.12902064621448517, 0.23543286323547363, -0.5499696731567383, -0.02324730157852173, -0.721336305141449, -0.5529855489730835, 1.2543390989303589, 0.2680531144142151, 1.1175692081451416, -0.10551872104406357, 0.6448202133178711, 0.4204714894294739, 0.668347954750061, -0.6009464859962463, 0.40973344445228577, 0.03559214621782303, -0.3785296082496643, -0.19294726848602295, -0.2774527072906494, -0.8349217772483826, 0.08189456164836884, 0.11389850825071335, -0.9785900115966797, 0.19809624552726746, 0.41753774881362915, -0.5509068965911865, 0.22083233296871185, -1.1100964546203613, 0.9933799505233765, -0.6267390251159668, -0.3780410587787628, -0.531646192073822, -0.49669840931892395, 0.2259986251592636, 0.21452903747558594, -0.417672723531723, 0.18969881534576416, 0.43624329566955566, 0.8227612972259521, -0.5911693572998047, 1.2126349210739136, -0.499432235956192, 0.0032097932416945696, 0.21454903483390808, -0.20793722569942474, 0.5154531002044678, 0.056229569017887115, 0.13498753309249878, -0.6354309916496277, -0.22203703224658966, -0.13874903321266174, -0.5965296030044556, 0.41397953033447266, -0.5942447781562805, -0.8051081895828247, -0.4165714681148529, -0.2347160428762436, -0.1875676065683365, 0.20601074397563934, 0.4254119098186493, 0.21462669968605042, -0.4531182050704956, -0.05892163887619972, 0.6604488492012024, -0.392973929643631, 0.4187110364437103, 0.3891521990299225, -0.214954674243927, -0.4557185173034668, 0.9827395081520081, -0.27381032705307007, 0.0833074152469635, 0.27341675758361816, 0.17020046710968018, -0.5870415568351746, -0.7344090342521667, -0.5694944262504578, 0.17542725801467896, -0.6281483173370361, 0.02837849035859108, -0.31535735726356506, -0.18044456839561462, -0.48732441663742065, 0.3736800253391266, -0.14112190902233124, -0.4379718005657196, -0.3366454541683197, -0.13596923649311066, 0.17631933093070984, 1.0801762342453003, 0.08309799432754517, 0.37697693705558777, -0.5213241577148438, 0.12929585576057434, 0.7373441457748413, 0.6585273742675781, 0.05409470573067665, -0.5416148900985718, -0.17993007600307465, 0.05169730633497238, -0.818583071231842, -0.40197160840034485, 0.31895196437835693, 0.19219551980495453, 0.7985469698905945, 0.4763616621494293, -0.1502782106399536, 0.3488549590110779, -0.5276309251785278, 0.602147102355957, 0.2692183256149292, -0.929100751876831, 0.85004061460495, -0.1326855719089508, -0.08561969548463821, 0.27519944310188293, 0.18776008486747742, -0.34002119302749634, -0.18697451055049896, -0.5895649194717407, -0.5783345103263855, 0.7649117112159729, -0.1110316812992096, 0.22979594767093658, 0.23013046383857727, 0.5240836143493652, -0.005091843660920858, 0.29324638843536377, -0.5984284281730652, 0.28094926476478577, -0.22216925024986267, -0.0432233102619648, 0.23780612647533417, -0.19670738279819489, -0.3201916813850403, -0.3727997839450836, 0.7861148118972778, -0.054131750017404556, 0.28616058826446533, 0.07999329268932343, -0.09387258440256119, 0.31548094749450684, 0.4292276203632355, 0.9132382273674011, 0.8537715673446655, -0.04440751671791077, -0.06737582385540009, -0.30873793363571167, -0.643066942691803, 0.30550074577331543, 0.4343388080596924, -0.2991756200790405, -0.14013870060443878, 0.06177910044789314, 1.1581881046295166, -0.14545944333076477, -0.6696561574935913, 0.5130192041397095, -0.24648071825504303, -0.40792208909988403, -0.15804068744182587, 0.11110448092222214, -0.1126074343919754, 0.38554689288139343, 0.25822484493255615, 0.1177026778459549, 0.18427708745002747, -0.3236415982246399, 0.3308309316635132, 0.3511559069156647, -0.42006635665893555, -0.4987896680831909, 1.0433290004730225, 0.23601719737052917, -0.3421558141708374, 0.7269912362098694, -0.4230256676673889, -0.6475615501403809, 0.7064939141273499, 0.8386824727058411, 1.0830522775650024, -0.11269176006317139, 0.5786529779434204, 0.1794777512550354, 0.2589177191257477, -0.41599076986312866, 0.053129956126213074, -0.2689419984817505, -0.6563634276390076, -0.411609023809433, -0.2542703151702881, -0.6359642148017883, -0.0018359527457505465, -0.34198951721191406, -0.016398372128605843, -0.6253105401992798, -0.19713237881660461, -0.11740687489509583, -0.2815244495868683, -0.3273633122444153, -0.072966568171978, -0.056926973164081573, 0.7448300719261169, -0.6477720737457275, 1.0922954082489014, 0.5679886937141418, -0.7513843774795532, -0.9031108021736145, 0.07951713353395462, -0.1083424985408783, -0.6546540856361389, 1.3493611812591553, 0.06362973153591156, -0.13901636004447937, 0.09292782098054886, -0.8187569379806519, -0.32474657893180847, 0.8823021054267883, 0.5980260372161865, -0.11961489170789719, 0.026677705347537994, 0.04308350384235382, 0.47957736253738403, -0.4033365547657013, -0.15441052615642548, 0.40658819675445557, 0.1434001326560974, 0.047782931476831436, -0.9706165790557861, -0.06682895869016647, -0.28006377816200256, 0.1965535283088684, -0.09979915618896484, -0.2092646360397339, 0.6369753479957581, -0.45356282591819763, -0.24429668486118317, 0.20786266028881073, 0.6700435280799866, 0.43148255348205566, 0.0888938456773758, 0.3801115155220032, 0.7642787098884583, 0.7514780759811401, -0.09866750240325928, 1.2664403915405273, -0.23992224037647247, 0.2925155460834503, 1.2362064123153687, -0.16735811531543732, 0.8954135775566101, 0.45857059955596924, -0.28240054845809937, 0.4160892367362976, 0.5866670608520508, -0.0686611607670784, 0.7020266056060791, 0.6541113257408142, -0.5775349140167236, 0.11882290244102478, -0.26962026953697205, -0.1894140988588333, 0.1572352796792984, 0.34276729822158813, -0.48358771204948425, -0.02566327340900898, 0.28216052055358887, 0.02157065086066723, 0.03594391420483589, -0.028346488252282143, 0.8625209927558899, -0.0008425697451457381, -0.9037545323371887, 0.5739519000053406, 0.022297892719507217, 0.6797394156455994, -0.5937862396240234, -0.35500437021255493, 0.007784962188452482, 0.5238801836967468, -0.009613950736820698, -0.5206047296524048, -0.11941302567720413, 0.06112363934516907, -0.19739127159118652, -0.34175169467926025, 0.4472964107990265, -0.33486294746398926, -0.3240608274936676, 0.13665828108787537, -0.15445832908153534, 0.021015170961618423, -0.0007794409175403416, -0.6166662573814392, -0.2861446142196655, 0.06603024154901505, -0.07381253689527512, 0.14289870858192444, 0.26597023010253906, -0.10840088874101639, 0.9615692496299744, 0.5729416608810425, 0.5663069486618042, 0.435519278049469, 0.3563845753669739, 0.8654146790504456, -0.3611159026622772, -0.5983087420463562, -0.5252090692520142, 0.23319827020168304, -0.3498736321926117, -0.2560739815235138, 0.5646829009056091, 0.5587093234062195, 0.9230450391769409, -0.36754921078681946, 1.1255581378936768, -0.1226767972111702, 0.4630237817764282, -0.6557459235191345, 0.7726237773895264, 0.02817610464990139, 0.37149709463119507, -0.021706577390432358, -0.44082286953926086, -0.40428027510643005, 0.5355399250984192, -0.3627477288246155, 0.03508016839623451, 0.5028611421585083, 0.9400320053100586, -0.06916160136461258, -0.02161862701177597, -0.06636853516101837, -0.03969419375061989, 0.7328576445579529, 0.3391663432121277, 0.9090401530265808, -0.21230870485305786, 0.4872274100780487, -0.3419552147388458, -0.2812976837158203, -0.10319807380437851, -0.7563914656639099, -0.6255254745483398, -0.3035100996494293, -0.2679012715816498, -0.3056083023548126, 0.21949289739131927, 0.8309510350227356, 0.8888952732086182, -0.9204741716384888, -0.46303489804267883, -0.5864593386650085, -0.053863462060689926, -0.09715750813484192, -0.25357887148857117, 0.44290634989738464, -0.7265066504478455, -0.5098960399627686, 0.47051241993904114, 0.3438524007797241, 0.23281878232955933, -0.23290568590164185, -0.3281175494194031, -0.03645363822579384, -0.41787126660346985, 0.5093569159507751, 0.8100053668022156, -0.7212501764297485, -0.21986907720565796, -0.16991084814071655, 0.0016603261465206742, 0.014070711098611355, 1.3397479057312012, -0.7118391394615173, 0.9313505291938782, 0.6103374361991882, 0.9087018966674805, 0.5400367379188538, 0.018341995775699615, 1.0171122550964355, -0.7615882754325867, 0.53783118724823, 0.22912220656871796, 0.3209775388240814, 0.28159087896347046, -0.3168523907661438, 0.336739182472229, 0.300296813249588, -0.6439391374588013, -0.41741228103637695, 0.17480197548866272, -0.45351696014404297, -0.15595269203186035, 0.652639627456665, -0.3992709219455719, -0.04701613262295723, -0.15016856789588928, -0.448042631149292, 0.03606083244085312, -0.5084546804428101, 1.079502820968628, 0.6626538634300232, -0.3761864900588989, -0.3655858337879181, -0.6184515953063965, 0.697968602180481, 0.2872920632362366, -0.8679230213165283, -0.027043653652071953, 0.20103034377098083, 0.27617570757865906, -0.007422746624797583, 0.8177888989448547, -0.2642385959625244, 0.3294931650161743, -0.07674787193536758, 0.5223769545555115, 0.040197983384132385, -0.23322105407714844, -0.4678136706352234, 0.09786339104175568, 0.6888092160224915, -0.5603428483009338 ]
http://arxiv.org/abs/2405.16178v1
http://arxiv.org/pdf/2405.16178v1
Accelerating Inference of Retrieval-Augmented Generation via Sparse Context Selection
2024-05-25T11:10:04
2024-05-25T11:10:04
Yun Zhu, Jia-Chen Gu, Caitlin Sikora, Ho Ko, Yinxiao Liu, Chu-Cheng Lin, Lei Shu, Liangchen Luo, Lei Meng, Bang Liu, Jindong Chen
cs.CL
cs.CL
Large language models (LLMs) augmented with retrieval exhibit robust performance and extensive versatility by incorporating external contexts. However, the input length grows linearly in the number of retrieved documents, causing a dramatic increase in latency. In this paper, we propose a novel paradigm named Sparse RAG, which seeks to cut computation costs through sparsity. Specifically, Sparse RAG encodes retrieved documents in parallel, which eliminates latency introduced by long-range attention of retrieved documents. Then, LLMs selectively decode the output by only attending to highly relevant caches auto-regressively, which are chosen via prompting LLMs with special control tokens. It is notable that Sparse RAG combines the assessment of each individual document and the generation of the response into a single process. The designed sparse mechanism in a RAG system can facilitate the reduction of the number of documents loaded during decoding for accelerating the inference of the RAG system. Additionally, filtering out undesirable contexts enhances the model's focus on relevant context, inherently improving its generation quality. Evaluation results of two datasets show that Sparse RAG can strike an optimal balance between generation quality and computational efficiency, demonstrating its generalizability across both short- and long-form generation tasks.
[ -0.5075914263725281, -0.737789511680603, 0.5995509028434753, 0.3503495752811432, -0.29416853189468384, 0.012171301059424877, -0.3529760539531708, -0.4200792908668518, 0.5155173540115356, 0.4685301184654236, -0.5624446272850037, 0.04480261355638504, -0.5585445761680603, 0.26053252816200256, -0.4345528483390808, 1.038867712020874, 0.1899387389421463, -0.2351660281419754, -0.32673153281211853, -0.07507459074258804, -0.505195677280426, -0.13839998841285706, -0.7245227694511414, -0.22584377229213715, 0.652511477470398, 0.19303908944129944, 0.593468964099884, 0.8613554239273071, 0.17138142883777618, 0.32456734776496887, -0.1847120076417923, 0.3680185079574585, -0.8827781677246094, 0.5516439080238342, -0.07503235340118408, -0.1376044601202011, -0.3476833999156952, -0.235618457198143, 0.9269203543663025, 0.7652574181556702, -0.005453913472592831, 0.28935539722442627, 0.44021016359329224, 0.5305101275444031, -0.9008803367614746, -0.2548157870769501, -0.8463370203971863, -0.314567893743515, -0.29050973057746887, -0.34756991267204285, -0.5151568055152893, 0.0438886322081089, -0.2767547070980072, -0.6562602519989014, 0.43695971369743347, 0.03880229964852333, 0.7771078944206238, 0.6393156051635742, 0.0562589094042778, -0.18459992110729218, -0.6560546159744263, 0.8755115270614624, -0.32107284665107727, 0.43439266085624695, 0.4212747812271118, 0.13173174858093262, -0.4165213108062744, -0.8199895024299622, -0.27667251229286194, -0.07207871973514557, -0.13302159309387207, 0.146581768989563, 0.03544312343001366, -0.03755054995417595, 0.40281927585601807, 0.1889253705739975, -0.6081843376159668, 0.0045633683912456036, -0.18424078822135925, -0.00638217106461525, 0.33574989438056946, 0.16825035214424133, -0.18579046428203583, -0.35125452280044556, -0.2365371733903885, 0.07390499114990234, -0.6180478930473328, -0.30120792984962463, 0.13675592839717865, 0.28358080983161926, 0.12704706192016602, 0.45158299803733826, -0.22059297561645508, 0.8021191954612732, 0.1612115502357483, -0.17240437865257263, -0.07957044243812561, -0.11079565435647964, -0.27219000458717346, -0.2511935532093048, 0.563999593257904, -0.02270374447107315, -0.2051904797554016, -0.2698633074760437, -0.5249996781349182, 0.05112818628549576, 0.31087031960487366, -0.8991120457649231, 0.309684157371521, 0.13406524062156677, -0.4033806025981903, -0.13541705906391144, -0.267123818397522, -1.058167815208435, -0.3543579876422882, -0.21696506440639496, 0.23030778765678406, -0.12193364650011063, 0.10065716505050659, -0.10572618991136551, -0.12946289777755737, -0.04944999888539314, 0.30184802412986755, -0.8299469947814941, 0.5653855800628662, 0.6602532267570496, 0.8674947619438171, -0.3128374516963959, 0.006749708205461502, -1.0633554458618164, 0.3056129813194275, -0.39851099252700806, 1.0231271982192993, -0.6740784049034119, -0.4478501081466675, -0.28144803643226624, -0.15406852960586548, 0.07926144450902939, -0.5234953165054321, 0.6982707381248474, -0.7306702136993408, -0.01073936466127634, -0.0672701820731163, -0.32053595781326294, 0.4107116162776947, -0.15610788762569427, -0.8415841460227966, 1.3353424072265625, 0.25613388419151306, -0.7221847176551819, 0.4141119122505188, -0.12026415765285492, -0.42252129316329956, 0.2573372423648834, -0.29627466201782227, -0.38184061646461487, 0.3687790632247925, 0.2066468894481659, 0.40621429681777954, -0.690017580986023, 0.43388068675994873, -0.3500903248786926, -0.7201040983200073, -0.05672731250524521, -0.4299543797969818, 0.43895602226257324, 0.5715417265892029, -0.3061762750148773, -0.14323057234287262, -0.7353171110153198, -0.17864976823329926, 0.17639853060245514, -0.5932897329330444, -0.5362735390663147, 0.14984020590782166, 0.0314292348921299, -0.08081242442131042, 0.2049982249736786, -0.4724409878253937, 0.05997972562909126, -0.5391301512718201, -0.04394212365150452, 0.7430359125137329, -0.03772812709212303, 0.6539033651351929, -0.46596667170524597, 0.40889641642570496, -0.5496562123298645, -0.17204967141151428, -0.18049319088459015, -0.22517740726470947, -0.6725082397460938, -0.6404441595077515, 0.35922300815582275, 0.3369918465614319, -0.6812212467193604, 0.18009890615940094, -0.3918536305427551, -0.010915788821876049, -0.4358047544956207, 0.23937711119651794, 0.432543009519577, 0.5374964475631714, 0.2356732189655304, -0.07374580949544907, -0.44037410616874695, -0.5994651913642883, -0.2905668020248413, 0.24756164848804474, -0.09749957919120789, 0.6385301947593689, 0.14719711244106293, -0.09448198974132538, 0.8476818203926086, -0.5307479500770569, 0.015289371833205223, -0.19510261714458466, 0.20150180160999298, 0.32712075114250183, 0.4881168603897095, 0.4527151882648468, -0.8242189288139343, -0.45868098735809326, -0.09347181022167206, -0.3893383741378784, -0.5585454106330872, -0.37421512603759766, -0.31884849071502686, 0.3941548764705658, 0.5753327012062073, -0.6240605115890503, 0.41912901401519775, 0.31759896874427795, -0.030503245070576668, 0.3447512686252594, -0.33084914088249207, -0.056854087859392166, -0.9944615960121155, 0.22130508720874786, -0.18118228018283844, -0.23876041173934937, -0.35174110531806946, 0.05718201771378517, 0.0711607038974762, -0.09706756472587585, 0.09900631010532379, 0.9366151094436646, -0.7849133014678955, -0.5445588231086731, -0.572676956653595, 0.16624577343463898, 0.2305557280778885, 0.41596823930740356, 0.020876727998256683, 0.9928799867630005, 0.08952126652002335, -0.5029149055480957, -0.1898815780878067, 0.03976891562342644, -0.057627949863672256, 0.1737106889486313, -0.5514270067214966, 0.052019983530044556, -0.3949953615665436, 0.3908035159111023, -0.969546914100647, -0.4143545925617218, -0.1497792750597, -0.5378261804580688, 0.7286387085914612, -0.18655352294445038, -0.5482428073883057, -0.19985347986221313, -0.13604465126991272, 0.38091281056404114, 0.599079430103302, -0.5676311254501343, 0.5987451076507568, 0.41066497564315796, -0.2803214192390442, -0.903523325920105, -0.3658410310745239, 0.05348963290452957, -0.17361819744110107, -0.4440116882324219, 0.36967185139656067, -0.034450922161340714, -0.1838172823190689, 0.03759012743830681, -0.3030070662498474, -0.11867330968379974, 0.15350289642810822, 0.10512669384479523, 0.2866345942020416, -0.18349944055080414, 0.08281215280294418, 0.5025193691253662, -0.14664176106452942, -0.1500818133354187, -0.3117484748363495, 0.4397604167461395, 0.33586585521698, -0.00031926677911542356, 0.1297716647386551, 0.6693366169929504, 0.4100871682167053, -0.13803702592849731, 0.6584845185279846, 0.47522881627082825, -0.2955373525619507, -0.6820666193962097, -0.7812632322311401, -0.11821924149990082, -0.5050475597381592, 0.26726919412612915, -0.466713547706604, -0.9903793334960938, 0.34382164478302, -0.22853900492191315, 0.11857486516237259, 0.331976979970932, 0.5451174974441528, 0.2289617508649826, 0.9347121119499207, 0.4318505525588989, -0.003023919416591525, 0.4557366371154785, -0.22803737223148346, -0.12541241943836212, -0.8706488609313965, 0.16605353355407715, -0.7868882417678833, -0.00019680654804687947, -0.5600621700286865, -0.8066298961639404, 0.45936959981918335, 0.15515613555908203, -0.18138687312602997, 0.003560643410310149, -0.591980516910553, 0.4965818524360657, 0.31629523634910583, -0.010609700344502926, 0.10240349918603897, 0.3125927746295929, -0.29554736614227295, -0.00581846060231328, -0.873113214969635, -0.30477046966552734, 0.8710816502571106, 0.076569102704525, 0.8431905508041382, 0.021002985537052155, 0.8434938788414001, 0.26130595803260803, 0.4243665337562561, -0.5284754633903503, 0.5523524284362793, -0.3211623430252075, -0.3836207091808319, -0.19689854979515076, -0.6270789504051208, -1.2083232402801514, 0.49405989050865173, -0.26221147179603577, -0.5656319856643677, 0.217400923371315, 0.030684906989336014, -0.33840158581733704, -0.007334132678806782, -0.5177100300788879, 0.48802900314331055, 0.051326777786016464, -1.0758692026138306, -0.29188305139541626, -0.5521109104156494, 0.42097973823547363, -0.3916485905647278, 0.24833713471889496, 0.019375765696167946, -0.33720698952674866, 0.4706648588180542, -0.2828320264816284, 0.607903242111206, -0.16439370810985565, 0.14329279959201813, 0.23059740662574768, 0.2690490186214447, 0.7435700297355652, 0.11264485120773315, -0.2259344756603241, -0.24443727731704712, -0.4425429403781891, -0.408413827419281, -0.5429844856262207, 1.0124967098236084, -0.413733571767807, -0.6589270830154419, -0.31603094935417175, -0.8577067255973816, -0.2621690332889557, 0.3461225628852844, 0.2467634379863739, 0.6544432044029236, -0.04039940983057022, -0.02791600115597248, 0.7439743280410767, -0.46397170424461365, 0.2717309594154358, 0.35354334115982056, 0.10401954501867294, -0.450100302696228, 1.0267499685287476, 0.11867102980613708, 0.2592093348503113, 0.3336026966571808, 0.15206964313983917, -0.3237961530685425, -0.517692506313324, -0.5034480690956116, 0.5118257999420166, -0.6026344895362854, -0.34803587198257446, -0.8273519277572632, -0.053452201187610626, -0.5285654067993164, -0.40086740255355835, -0.16338111460208893, -0.3994152843952179, -0.3947176933288574, 0.33474433422088623, 0.18147502839565277, 0.74123215675354, -0.19226659834384918, 0.19540967047214508, -0.7353833913803101, 0.7384962439537048, 0.0855834111571312, 0.36645692586898804, 0.0816725641489029, -0.6689204573631287, -0.3183221220970154, -0.3403310775756836, -0.10908867418766022, -0.6246357560157776, 0.5634697675704956, 0.18163152039051056, 0.5743773579597473, 0.10229220241308212, 0.1258939802646637, 0.9461081624031067, -0.7781779170036316, 0.3652110695838928, -0.24329903721809387, -0.6288632154464722, 0.2145489603281021, -0.4853369891643524, 0.2559078633785248, 0.33586767315864563, 0.22520464658737183, -0.10686703771352768, -0.562102735042572, -0.5143609046936035, -1.0732370615005493, 0.7735864520072937, 0.09416236728429794, 0.03932730108499527, -0.3280976414680481, 0.5449473857879639, 0.07166071236133575, -0.030678439885377884, -0.34303584694862366, -0.03948897123336792, 0.072870172560215, 0.011980235576629639, 0.1035698801279068, -0.5456017851829529, 0.008839230984449387, 0.12763100862503052, 0.5496663451194763, -0.24674129486083984, 0.31871452927589417, 0.2700238823890686, -0.034277863800525665, -0.34724369645118713, 0.1465655416250229, 0.5889065861701965, 0.39370056986808777, -0.17044533789157867, -0.007036315277218819, 0.18858076632022858, -0.4646056890487671, 0.06580992043018341, 0.30033472180366516, -0.31445440649986267, 0.18357209861278534, 0.20327481627464294, 0.6684038639068604, 0.2917637228965759, -0.6506537795066833, 0.29230329394340515, -0.16590778529644012, 0.0482170544564724, -0.13835038244724274, -0.03991416096687317, -0.04491855949163437, 0.21426153182983398, 0.5531643629074097, -0.020668450742959976, 0.36728301644325256, 0.0761295035481453, 0.326799601316452, 0.6645352840423584, 0.294675350189209, 0.09756586700677872, 0.9255984425544739, 0.05501272529363632, 0.03214258700609207, 0.12155483663082123, -0.16950039565563202, 0.024924589321017265, 0.5147485733032227, 0.6795559525489807, 0.9515690803527832, -0.008648701943457127, -0.14509862661361694, 0.5767350792884827, 0.1869320273399353, -0.19100531935691833, -0.0031407221686095, -0.5073563456535339, -0.3356539309024811, -0.8905498385429382, -1.2516822814941406, -0.187967449426651, 0.19275186955928802, -0.6625515818595886, -0.020585479214787483, -0.26011207699775696, -0.13251586258411407, -0.09235426783561707, 0.05616948381066322, -0.25645095109939575, 0.06859397143125534, 0.14860981702804565, 0.8709726929664612, -0.5769446492195129, 0.8329320549964905, 0.3039800822734833, -0.047765541821718216, -0.5744242072105408, 0.20994533598423004, -0.12894770503044128, -0.6159074306488037, 0.8593124151229858, 0.15291240811347961, -0.4455418586730957, 0.004042061045765877, -0.3854910731315613, -1.1766189336776733, 0.8201273083686829, 0.5841261148452759, -0.428035706281662, -0.006278587505221367, -0.19351468980312347, 0.4038161635398865, -0.3110269606113434, 0.15695945918560028, 0.5743189454078674, 0.2709962725639343, 0.2884565591812134, -0.703770637512207, 0.1659529209136963, -0.20265041291713715, 0.33042001724243164, 0.4240776598453522, -0.44577112793922424, 0.8712141513824463, -0.02797478809952736, -0.49984610080718994, 0.5151805877685547, 0.7593767046928406, 0.5552748441696167, 0.15284542739391327, 0.40761277079582214, 0.5981858372688293, 0.5628600120544434, 0.17050591111183167, 1.236925721168518, -0.3883289694786072, 0.14594987034797668, 1.19076669216156, -0.41557714343070984, 0.7410681247711182, 0.47232434153556824, 0.11072034388780594, 0.2470361888408661, 0.42412808537483215, 0.3539055585861206, 0.38143765926361084, 0.15290306508541107, -0.5500490665435791, -0.18330740928649902, -0.3415001928806305, -0.08202925324440002, 0.13624343276023865, 0.6694952845573425, -0.20511099696159363, -0.43954092264175415, -0.12830370664596558, 0.032131377607584, 0.1862989366054535, -0.23826149106025696, 0.7957686185836792, -0.08954554051160812, -1.1124602556228638, 1.0953874588012695, -0.06403196603059769, 0.6515138149261475, -0.6095091700553894, -0.2549421489238739, -0.4242655634880066, 0.08779454976320267, -0.13364820182323456, -0.4476330876350403, 0.4254433810710907, 0.21667474508285522, -0.33335888385772705, -0.3600896894931793, 1.0578571557998657, -0.31811580061912537, -0.24934819340705872, 0.4310372769832611, 0.4364314675331116, 0.22999654710292816, 0.16420693695545197, -0.591769814491272, 0.40883010625839233, -0.2515577971935272, -0.5114800930023193, 0.7320764660835266, 0.6825140118598938, -0.18485629558563232, 0.3850291073322296, 0.7862196564674377, 0.3631645739078522, 0.10413568466901779, -0.0917382538318634, 1.2196944952011108, -0.3215304911136627, -0.45091521739959717, -0.40648406744003296, 0.23708024621009827, -0.1279764622449875, 0.04536200314760208, 0.6834197044372559, 0.48963692784309387, 0.5651417970657349, 0.11332538723945618, 0.6109296083450317, -0.15833990275859833, 0.8215581178665161, -0.46808499097824097, 0.5695391297340393, -0.7987234592437744, 0.38417673110961914, -0.18162685632705688, -0.8126009702682495, -0.1930449903011322, 0.5293183922767639, -0.1257181614637375, 0.07241477817296982, 0.46626585721969604, 1.0357779264450073, -0.14052022993564606, -0.5036362409591675, 0.4676697254180908, 0.20441478490829468, -0.034231532365083694, 0.30254504084587097, 0.42632266879081726, -0.15391185879707336, 0.5405087471008301, -0.08430033177137375, -0.3241461515426636, -0.08479300886392593, -0.7727411389350891, -0.6885564923286438, -0.4577363133430481, 0.3863691985607147, -0.476720929145813, 0.11255189776420593, 0.6870907545089722, 0.6084161996841431, -0.4056689441204071, -0.41768524050712585, -0.13598230481147766, 0.041568394750356674, 0.059510488063097, -0.2982032895088196, 0.3023017942905426, -0.9145143032073975, -0.7995063066482544, 0.6561922430992126, 0.3277204632759094, -0.26151320338249207, -0.10804201662540436, -0.17292006313800812, -0.21690115332603455, 0.2233601063489914, 0.5415340065956116, 0.4207773208618164, -0.6525424122810364, 0.08647632598876953, -0.03410579636693001, -0.2326994240283966, -0.11440087854862213, 0.890488862991333, -1.050987958908081, 0.4124476909637451, 0.6310714483261108, 1.120394229888916, 0.695775032043457, 0.09414376318454742, 0.4573802947998047, -0.9339921474456787, 0.5334289073944092, 0.3300969898700714, 0.3776196241378784, 0.17483524978160858, -0.6055948138237, 0.48243656754493713, 0.31154152750968933, -0.8282846212387085, -1.0579109191894531, 0.07028590142726898, -0.8591921329498291, -0.5819083452224731, 1.2522834539413452, -0.04151793569326401, -0.5491483807563782, -0.13222627341747284, -0.09291407465934753, 0.2172263264656067, -0.542474091053009, 0.4788760542869568, 0.17852701246738434, -0.10734743624925613, -0.04635988175868988, -0.7951161861419678, 0.5863062739372253, 0.6855584979057312, -0.5732926726341248, 0.34491539001464844, 0.9117752909660339, 0.032506782561540604, 0.059249505400657654, 0.8011822700500488, 0.06064574047923088, 0.4104454815387726, 0.18856583535671234, -0.15543077886104584, 0.12435448169708252, -0.46604791283607483, -0.4110059440135956, 0.3109712302684784, 0.05396018177270889, 0.24891556799411774 ]
http://arxiv.org/abs/2405.16176v1
http://arxiv.org/pdf/2405.16176v1
Bi-reachability in Petri nets with data
2024-05-25T11:00:44
2024-05-25T11:00:44
Łukasz Kamiński, Sławomir Lasota
cs.CL
cs.CL, cs.FL, cs.LO
We investigate Petri nets with data, an extension of plain Petri nets where tokens carry values from an infinite data domain, and executability of transitions is conditioned by equalities between data values. We provide a decision procedure for the bi-reachability problem: given a Petri net and its two configurations, we ask if each of the configurations is reachable from the other. This pushes forward the decidability borderline, as the bi-reachability problem subsumes the coverability problem (which is known to be decidable) and is subsumed by the reachability problem (whose decidability status is unknown).
[ -0.5276179313659668, -0.6059495806694031, 0.725244402885437, 0.18782761693000793, -0.27996793389320374, 0.2838933765888214, 0.06989990174770355, -0.7756056189537048, 0.170071542263031, 0.7020367980003357, -0.4667314887046814, -0.05585779622197151, -0.34531402587890625, -0.1132943257689476, -0.08157331496477127, 1.119737148284912, -0.2523557245731354, -0.15869608521461487, -0.34086981415748596, -0.2583611309528351, -0.39612293243408203, -0.7624036073684692, -0.3948996961116791, -0.4907107353210449, 0.28198498487472534, 0.5441656112670898, 0.9096338748931885, 0.521629810333252, 0.7486512660980225, 0.25848618149757385, -0.3206639587879181, 0.19316837191581726, -0.24860641360282898, 0.20341365039348602, -0.5629424452781677, -0.7136716246604919, -0.4743524193763733, 0.16841691732406616, 0.7807161808013916, 1.6813875436782837, 0.3475285768508911, -0.06696148216724396, -0.16371960937976837, 1.052001714706421, -0.4687401354312897, -0.130438432097435, -0.3404161036014557, 0.4616713225841522, -0.37267592549324036, -0.2844676077365875, -0.46999213099479675, -0.10218559205532074, 0.28032514452934265, -0.4733143746852875, 0.17980869114398956, 0.4227532148361206, 0.9456068873405457, -0.06366199254989624, -0.6287002563476562, 0.13751955330371857, -1.1969223022460938, 0.435004323720932, -0.3241020739078522, 0.49298107624053955, 0.6975269913673401, 0.5738393664360046, -0.358581006526947, -0.790249764919281, -0.4817693531513214, -0.24534378945827484, -0.1210700124502182, 0.17948272824287415, -0.0260063074529171, 0.32729023694992065, 0.6539259552955627, 0.6225039958953857, -0.8004159331321716, -0.2174864411354065, -0.7381817698478699, 0.17727822065353394, 0.21705187857151031, 0.2730380594730377, 0.19381757080554962, 0.27598556876182556, -0.5055779814720154, 0.13411591947078705, -0.5861927270889282, 0.25231999158859253, 0.39514246582984924, 0.35800468921661377, -0.2547686994075775, 0.49351319670677185, -0.34365734457969666, 0.8632420897483826, 0.015875186771154404, 0.7610837817192078, 0.39248234033584595, -0.46484771370887756, -0.09264613687992096, -0.23635520040988922, -0.03803926333785057, 0.18513338267803192, 0.18677003681659698, -0.4842117428779602, 0.0962015688419342, -0.40001434087753296, 0.404926598072052, -0.652908444404602, -0.329898864030838, 0.6126291751861572, -0.6411190629005432, 0.1577080339193344, 0.17984218895435333, -0.22643862664699554, -0.31985950469970703, -0.4512239098548889, 0.462133526802063, -0.2029651254415512, -0.4952184557914734, 0.051927268505096436, -0.40613850951194763, 0.4136612117290497, -0.003304065205156803, -0.7134384512901306, 0.6514215469360352, 0.9812847971916199, 1.0886082649230957, -0.11040666699409485, -0.24545849859714508, -0.38641712069511414, 0.18022039532661438, -0.6756982803344727, 0.5099816918373108, -0.5459151864051819, -0.3535253405570984, -0.3702740967273712, 0.18018463253974915, -0.26527124643325806, -0.272097110748291, 0.3440297544002533, -0.909476101398468, -0.06655426323413849, -0.31034454703330994, -0.6633520722389221, -0.49913713335990906, 0.18149986863136292, -0.8279218673706055, 0.3438069224357605, 0.1989012211561203, -1.0562572479248047, 0.4225527048110962, -0.7324263453483582, -0.4240369200706482, 0.1549321562051773, 0.20933330059051514, -0.3892723023891449, -0.06569576263427734, -0.7857832908630371, -0.03028111904859543, -0.04475465416908264, -0.10302694886922836, -0.7247333526611328, -0.32917147874832153, 0.19154635071754456, -0.24070046842098236, 0.9293910264968872, 0.30169492959976196, -0.10501877218484879, -0.23674695193767548, -0.8504869937896729, 0.367743581533432, -0.2811121940612793, -0.5123850107192993, -0.5011425018310547, 0.2974429130554199, -0.13363026082515717, 0.13575850427150726, 0.23429039120674133, -0.8961435556411743, 0.45176011323928833, -0.5820567607879639, 0.4254278242588043, 0.439785361289978, 0.21614550054073334, 0.4945054352283478, -0.5068499445915222, 0.1038796529173851, 0.22648249566555023, 0.4361819922924042, 0.3345663547515869, -0.5442014932632446, -1.1132997274398804, 0.18802852928638458, 0.49804484844207764, 0.7485689520835876, -0.5087622404098511, 0.3853476941585541, -0.029581328853964806, -0.4807564318180084, 0.15731942653656006, -0.42701467871665955, 0.44116294384002686, 0.4174356460571289, 0.08895813673734665, -0.3822709619998932, -0.7010812163352966, -1.123334527015686, 0.2887181341648102, -0.33954885601997375, 0.19471141695976257, 0.2741183042526245, 0.5463221669197083, -0.0032046909909695387, 0.9838589429855347, -0.2605680227279663, 0.31467363238334656, 0.04701284319162369, 0.33806297183036804, 0.9128777384757996, 0.8855070471763611, 0.2769820988178253, -1.360493779182434, -0.5822555422782898, 0.16069650650024414, -0.6178908944129944, -0.11477489024400711, -0.21918053925037384, -0.449331670999527, -0.10116001963615417, 0.4095059931278229, -0.3193892240524292, 0.731779158115387, 0.16761565208435059, -0.6053523421287537, 0.5698786973953247, -0.47127020359039307, 0.1209445595741272, -0.814634382724762, 0.44290024042129517, -0.7971605062484741, -0.7107771039009094, -1.1140390634536743, -0.05521111935377121, -0.027554688975214958, -0.17857712507247925, -0.23183611035346985, 0.08380398899316788, -0.48954465985298157, -0.47574546933174133, -0.42071279883384705, -0.24056249856948853, 0.14020150899887085, 0.3579683303833008, 0.4260309934616089, 0.523284912109375, 0.7565860152244568, -0.9087127447128296, 0.31401270627975464, 0.3806217908859253, -0.0488034188747406, 0.9201366305351257, -0.8481394052505493, 0.14600950479507446, -0.1794406622648239, 0.4154156744480133, -0.9795498847961426, 0.17860586941242218, 0.5882623791694641, -0.4911019802093506, 0.25333696603775024, -0.39702752232551575, 0.06480155885219574, -0.3087059259414673, -0.015044916421175003, 0.5661585927009583, 0.09833846986293793, -0.47406429052352905, 0.2923988699913025, 0.2331516593694687, -0.03130772337317467, -0.3785973787307739, -0.8624594211578369, 0.2628987431526184, -0.04326469451189041, -0.570886492729187, 0.3751243054866791, -0.5539697408676147, -0.1364668309688568, 0.17484602332115173, 0.03696618601679802, -0.4711968004703522, 0.10569678992033005, 0.645399272441864, 0.2973979413509369, 0.15702807903289795, -0.06253870576620102, -0.10972508788108826, -0.37016674876213074, 0.06491781771183014, -0.22037804126739502, 0.36457356810569763, -0.38254839181900024, -0.6442506909370422, 0.17298860847949982, 0.8415977954864502, 0.5314947962760925, -0.06849465519189835, 0.5816940665245056, -0.11313934624195099, -0.5161541104316711, -0.1992134153842926, -0.011011622846126556, 0.20678411424160004, -0.4537452161312103, -0.044529300183057785, -1.043968677520752, -0.4173828661441803, 1.0758713483810425, -0.022778255864977837, 0.4139736592769623, 0.20263469219207764, 0.2943167984485626, -0.05647891014814377, 0.8474286794662476, 0.6111598610877991, 0.447665274143219, 0.24329595267772675, -0.36938345432281494, 0.15868252515792847, -0.9543548822402954, -0.36643335223197937, -0.5280685424804688, -0.5063670873641968, -0.8497856259346008, -0.23701845109462738, 0.5996958017349243, 0.30704963207244873, -0.4879261553287506, 0.5667071342468262, -0.42479845881462097, 0.53050297498703, 0.7107267379760742, 0.3733985722064972, 0.23276814818382263, -0.428918719291687, -0.5364559888839722, 0.3265424072742462, -0.6581047177314758, 0.04329400882124901, 0.5491460561752319, 0.16139626502990723, 0.06702325493097305, 0.27750372886657715, 0.2985144555568695, 0.6005605459213257, -0.23865270614624023, -0.39689213037490845, 0.2641180455684662, -0.04852569103240967, -1.0981942415237427, -0.22576211392879486, -0.4805036187171936, -1.1046448945999146, 0.20920991897583008, -0.04428894817829132, -0.854144811630249, 0.8944061398506165, -0.15383478999137878, -0.2707853317260742, 0.5436075925827026, -0.48823583126068115, 0.5842061042785645, -0.3079870045185089, -0.15262873470783234, -0.14098995923995972, -1.1986721754074097, 0.25958454608917236, -0.15653501451015472, -0.012986965477466583, -0.1482643336057663, -0.30695396661758423, 0.578440248966217, -0.9399377703666687, 0.7145400643348694, -0.14510361850261688, 0.439511239528656, 0.08704680949449539, 0.1516837179660797, 0.3321671187877655, -0.1404576152563095, -0.31731128692626953, 0.2215835303068161, 0.42344725131988525, -0.6133102774620056, -0.6216139793395996, 0.007857928983867168, -0.5496637225151062, -0.25410789251327515, -0.5671789050102234, -0.11437655240297318, -0.5732653737068176, 0.24447263777256012, 0.2400343120098114, 0.3010641038417816, -0.04602891951799393, 0.20246797800064087, 0.45550569891929626, 0.18031078577041626, 0.5624040365219116, 1.0648356676101685, -0.013667410239577293, -0.30004337430000305, 0.8769344091415405, 0.44738179445266724, 0.44787314534187317, 0.35945001244544983, -0.10300273448228836, -0.18505984544754028, -0.4901077449321747, -0.7397499680519104, -0.1845797747373581, -0.45569437742233276, 0.007452563848346472, -0.13625186681747437, -0.9830078482627869, 0.32555991411209106, -0.27796974778175354, -0.3860395848751068, -0.617241621017456, 0.025104038417339325, -0.06598704308271408, 0.368530809879303, 0.42078474164009094, -0.9197809100151062, -0.002503720112144947, -0.6739141345024109, 0.27916133403778076, 0.1009763851761818, 0.8724800944328308, -0.39908528327941895, -0.6947341561317444, -0.33779582381248474, 0.05770919844508171, 0.11432796716690063, -0.9900912046432495, -0.1374412626028061, 0.27859196066856384, 0.38426539301872253, 0.5202599167823792, 0.4067328870296478, 0.36224865913391113, -0.5622244477272034, 0.5065100789070129, 0.22324714064598083, -0.9835193753242493, 0.3271740674972534, -0.3558073937892914, -0.10894200950860977, 0.8151810765266418, 0.6042966842651367, -0.7570963501930237, 0.1284104585647583, -0.6767301559448242, -0.8635695576667786, 0.5777364373207092, 0.3828919231891632, 0.0026603895239531994, 0.4407491683959961, 0.4512801468372345, 0.242865651845932, 0.14164724946022034, -0.2878941297531128, -0.34904736280441284, -0.0422549769282341, 0.6477022767066956, 0.4139613211154938, -0.20571169257164001, 0.052074313163757324, -0.16467665135860443, 0.5853281021118164, 0.1986839771270752, 0.24133062362670898, 0.051253870129585266, 0.5324950814247131, -0.17811164259910583, 0.12278485298156738, 0.08389024436473846, 1.209396481513977, -0.5941707491874695, 0.35497528314590454, 0.0925489217042923, -0.4583648145198822, 0.37186187505722046, 0.1590104103088379, -0.4223098158836365, -0.11965443193912506, -0.00043309744796715677, 1.0495558977127075, -0.27490368485450745, -0.28063786029815674, 0.4463721513748169, 0.12417720258235931, -0.360822856426239, -0.3625485897064209, 0.0071288724429905415, -0.24039888381958008, 0.49394136667251587, 0.021415770053863525, 0.02150852419435978, 0.5011482834815979, -0.42764928936958313, 0.5472452640533447, 0.32464152574539185, -0.3294193744659424, -0.16669122874736786, 0.5840235352516174, 0.2555479407310486, -0.45476359128952026, 0.7355625629425049, -0.26880741119384766, -0.6221755146980286, 0.7188464999198914, 0.5733724236488342, 0.7403937578201294, 0.062055282294750214, 0.24403919279575348, 0.003923596348613501, 0.2572076618671417, 0.3799917995929718, 0.495561420917511, -0.40394845604896545, -0.7982876300811768, -0.47286105155944824, -0.36272597312927246, -1.227419137954712, 0.1795918494462967, -0.7473993301391602, 0.13769900798797607, -0.46796751022338867, -0.17043763399124146, 0.4638737142086029, 0.11342528462409973, -0.31397172808647156, 0.4287506937980652, 0.0352185033261776, 0.932894766330719, -0.9185248613357544, 0.4056722819805145, 0.6619611978530884, -0.49040937423706055, -0.36694395542144775, -0.40557166934013367, -0.5764899253845215, -0.32950565218925476, 0.6454151272773743, -0.14875952899456024, 0.05121240392327309, -0.39905938506126404, -0.4107638895511627, -0.9888057112693787, 0.49506711959838867, 0.23302271962165833, -0.21479849517345428, 0.03334926441311836, 0.6846648454666138, 0.2951515316963196, 0.1936143934726715, 0.5549259781837463, 0.5361500382423401, 0.8583595752716064, 0.34008273482322693, -1.0809991359710693, -0.18205244839191437, -0.7284163236618042, -0.20537565648555756, 0.1846100389957428, -0.9585731029510498, 0.8623777031898499, 0.08185876160860062, -0.07128355652093887, -0.2499963492155075, 0.5290533900260925, 0.03604574874043465, 0.5600178241729736, 0.962276816368103, 0.6610739827156067, 0.812462329864502, 0.030019838362932205, 0.5442302823066711, -0.19069264829158783, 0.27860915660858154, 0.928491473197937, -0.10627604275941849, 0.7750635743141174, 0.10036937147378922, -0.6162438988685608, 0.48025187849998474, 1.1186515092849731, 0.12341183423995972, 0.3015170395374298, 0.394940048456192, -0.2541205883026123, -0.5741063356399536, -0.05286049470305443, -0.4982232451438904, 0.5680218935012817, 0.4149075150489807, -0.16225707530975342, -0.40618428587913513, 0.10267268121242523, -0.13749000430107117, -0.4305737018585205, -0.19714921712875366, 0.5276643633842468, -0.008130514062941074, -0.43807950615882874, 0.633544385433197, -0.018321478739380836, -0.1112886443734169, -0.5716760158538818, -0.19191725552082062, -0.27187928557395935, -0.10597304999828339, -0.41057297587394714, -1.0131365060806274, 0.7646304965019226, -0.09745962172746658, -0.9284369349479675, -0.13693879544734955, 0.7409577369689941, -0.1331796795129776, -0.2353268414735794, 0.07212334871292114, 0.43600112199783325, 0.8088133931159973, 0.20368091762065887, -0.48456668853759766, -0.2263297438621521, -0.2728383541107178, -0.49488818645477295, 0.13031402230262756, 0.23851005733013153, -0.18443144857883453, 0.7826066017150879, 0.4863644540309906, 0.24986915290355682, 0.26705998182296753, -0.3263292610645294, 1.094789743423462, -0.4307771325111389, -0.7053847908973694, -0.4641515612602234, 0.26238834857940674, -0.2609502971172333, -0.0482332780957222, 0.43402430415153503, 0.8678004145622253, 0.6080082654953003, 0.2004304975271225, 0.9598013758659363, -0.43118345737457275, 0.8303030133247375, -0.3284357190132141, 0.5246684551239014, -0.39724400639533997, -0.09369290620088577, 0.11850554496049881, -0.7745556235313416, -0.12950678169727325, 0.47032713890075684, -0.3893406093120575, 0.015251603908836842, 0.5596231818199158, 0.4381140470504761, -0.3868318200111389, 0.1326323002576828, 0.3509976267814636, -0.17488433420658112, 0.11181039363145828, 1.0164358615875244, 0.6688668727874756, -0.029602639377117157, 0.29823169112205505, -0.15135906636714935, -0.4813106954097748, -0.0450998991727829, -0.9496811032295227, -0.5931023955345154, -0.8824486136436462, -0.1625586450099945, -0.4752448499202728, 0.3626503050327301, 0.4261145293712616, 1.2126116752624512, -1.0623691082000732, -0.05467144399881363, -0.5088571906089783, 0.347873330116272, -0.15438686311244965, -0.15368366241455078, 0.520663321018219, -0.22790540754795074, -0.7320913076400757, 0.3870970606803894, 0.16409575939178467, -0.010489314794540405, -0.17061910033226013, 0.10909635573625565, -0.1720711886882782, 0.46642962098121643, 0.1061379536986351, 1.031248688697815, 0.2552775740623474, -0.33836600184440613, -0.372368186712265, 0.22003275156021118, 0.004151628352701664, 0.8367269039154053, -0.6126362085342407, 0.8108255863189697, 1.1351873874664307, 0.7711172699928284, 0.7353211045265198, 0.32093313336372375, 0.4473475515842438, -0.5230846405029297, 0.10888470709323883, 0.18192628026008606, 0.3327607214450836, -0.07491485029459, -0.25334468483924866, 0.8869702219963074, 0.4627627432346344, -0.8126432299613953, -0.4427008330821991, 0.5491660833358765, -1.2935981750488281, -0.2269735187292099, 0.8954603672027588, -0.3716667890548706, -0.09833163768053055, -0.6277291178703308, -0.12477883696556091, 0.270856648683548, 0.31290218234062195, 0.3032197952270508, 0.4668070077896118, -0.6552905440330505, 0.23448653519153595, -0.5413676500320435, 0.29772743582725525, 0.39343756437301636, -0.7795018553733826, 0.040001921355724335, 0.37670886516571045, 0.19391632080078125, 0.18619680404663086, 0.4830682873725891, 0.1621730774641037, 0.1699647754430771, 0.17866522073745728, -0.2685634195804596, -0.37836843729019165, -0.48875558376312256, 0.09922903776168823, 0.07071799039840698, -0.09903733432292938, -0.8462293148040771 ]
http://arxiv.org/abs/2405.16155v2
http://arxiv.org/pdf/2405.16155v2
Improving Multi-lingual Alignment Through Soft Contrastive Learning
2024-05-25T09:46:07
2024-05-28T04:51:35
Minsu Park, Seyeon Choi, Chanyeol Choi, Jun-Seong Kim, Jy-yong Sohn
cs.CL
cs.CL
Making decent multi-lingual sentence representations is critical to achieve high performances in cross-lingual downstream tasks. In this work, we propose a novel method to align multi-lingual embeddings based on the similarity of sentences measured by a pre-trained mono-lingual embedding model. Given translation sentence pairs, we train a multi-lingual model in a way that the similarity between cross-lingual embeddings follows the similarity of sentences measured at the mono-lingual teacher model. Our method can be considered as contrastive learning with soft labels defined as the similarity between sentences. Our experimental results on five languages show that our contrastive loss with soft labels far outperforms conventional contrastive loss with hard labels in various benchmarks for bitext mining tasks and STS tasks. In addition, our method outperforms existing multi-lingual embeddings including LaBSE, for Tatoeba dataset. The code is available at https://github.com/YAI12xLinq-B/IMASCL
[ -0.1995173841714859, -0.33873143792152405, 0.2047828733921051, -0.05325520038604736, -0.42456743121147156, 0.08359625935554504, -0.4272253215312958, -0.21208354830741882, 0.451892226934433, 0.19347898662090302, -0.5347471237182617, -0.5948702692985535, -0.3343116343021393, 0.06332655251026154, 0.11615116149187088, 1.0613644123077393, -0.22136573493480682, 0.39409443736076355, -0.0031129505950957537, -0.6704145669937134, -0.5112436413764954, -0.2059042751789093, -0.17611928284168243, -0.40324681997299194, 0.6796117424964905, 0.4324478805065155, 0.7225064635276794, 0.36300206184387207, 0.31103515625, 0.3726521134376526, 0.013022252358496189, 0.2722678482532501, -0.4784720242023468, -0.05205810070037842, -0.3352331817150116, -0.33376532793045044, -0.09326440095901489, -0.1745988130569458, 0.6429644227027893, 0.8443030118942261, -0.048755425959825516, -0.2295224666595459, 0.35425257682800293, 0.37475475668907166, -0.39026108384132385, -0.024472439661622047, -0.3412507474422455, 0.38270267844200134, -0.17589735984802246, -0.03956835716962814, -0.40307629108428955, -0.37118807435035706, 0.19033178687095642, -0.7041727304458618, 0.12617544829845428, 0.08246257901191711, 1.0900697708129883, 0.07483118027448654, -0.6116047501564026, -0.27410709857940674, -0.07009246945381165, 0.9115092158317566, -0.6721330285072327, 0.5540449023246765, -0.32958951592445374, 0.03128134086728096, 0.3125021755695343, -0.3738716244697571, -0.38208937644958496, 0.09240968525409698, -0.3609614670276642, 0.26185280084609985, 0.3508051633834839, -0.15598595142364502, -0.41832709312438965, 0.37314292788505554, -0.6635341644287109, 0.27129408717155457, -0.12677083909511566, -0.40826645493507385, 0.14204607903957367, -0.028800906613469124, 0.3662949502468109, 0.010295707732439041, -0.9808993339538574, -0.29610496759414673, -0.5936954021453857, -0.18750803172588348, 0.40299150347709656, 0.7457090020179749, -0.38996899127960205, 0.3812074661254883, 0.2517978250980377, 0.4509184956550598, -0.0250437892973423, -0.1089363619685173, 0.8238970041275024, -0.6963997483253479, 0.10007178038358688, 0.48491066694259644, 0.7952298521995544, 0.4885348081588745, 0.4966556429862976, -0.35323193669319153, -0.2352062314748764, -0.07891126722097397, 0.051369402557611465, -0.7949455380439758, -0.15253899991512299, -0.24691887199878693, -0.3142656087875366, -0.16224803030490875, 0.042604535818099976, -0.6082664728164673, -0.35260170698165894, -0.3122422993183136, 0.5984017848968506, -0.6198955774307251, -0.46713289618492126, 0.05358186736702919, -0.02021840214729309, 0.2843937277793884, -0.21768134832382202, -0.8023979663848877, 0.28299885988235474, 0.6927863359451294, 0.9087420105934143, 0.035692572593688965, -0.6644472479820251, -0.5533775091171265, 0.21041633188724518, -0.49228543043136597, 0.5373083353042603, -0.3080194294452667, 0.0910174623131752, 0.2894013822078705, 0.09321437776088715, -0.3478763997554779, -0.41236668825149536, 0.21006692945957184, -0.36697274446487427, 0.3150724470615387, 0.13904081284999847, -0.6065487265586853, -0.26191049814224243, 0.5427300333976746, -0.6775570511817932, 0.7386817932128906, 0.09289470314979553, -0.9064146280288696, 0.3445053696632385, -0.2838051915168762, -0.5804434418678284, -0.15403829514980316, -0.13955339789390564, -0.6793075799942017, -0.04921235516667366, 0.16590753197669983, 0.5897179841995239, 0.09416118264198303, 0.3779180943965912, -0.3589196801185608, -0.4508160650730133, 0.23211516439914703, -0.15548111498355865, 0.7576847076416016, 0.18055571615695953, -0.4825347661972046, 0.20274390280246735, -0.3991537392139435, 0.1260034292936325, 0.04166414961218834, -0.12614774703979492, -0.7330124974250793, -0.41083624958992004, 0.309620201587677, 0.284379780292511, 0.2825029492378235, -0.6369614601135254, 0.14419561624526978, -0.6586417555809021, 0.21773697435855865, 0.9937245845794678, -0.4439116418361664, 0.5596974492073059, -0.16116008162498474, 0.3550865054130554, 0.41587379574775696, -0.2174905389547348, -0.3603156805038452, -0.005985579453408718, -0.42641758918762207, -0.1548968404531479, 0.9129457473754883, 0.656974196434021, -0.8347621560096741, 0.3510512709617615, -0.6865261197090149, -0.36555215716362, -0.8804242610931396, 0.5270835161209106, 0.9346088767051697, 0.5656905174255371, 0.4793332517147064, -0.3791607618331909, -0.38501131534576416, -1.0238100290298462, -0.1481628566980362, 0.37298843264579773, 0.1193380281329155, 0.20404385030269623, 0.2989589273929596, -0.333103209733963, 0.4742565453052521, -0.48606574535369873, -0.5580332279205322, -0.16104376316070557, 0.33055534958839417, 0.10123618692159653, 0.8170555233955383, 0.5686185359954834, -1.0180115699768066, -0.6259338855743408, 0.30905860662460327, -0.6348636150360107, -0.10318012535572052, 0.012796586379408836, -0.27958279848098755, 0.3953675627708435, 0.5826881527900696, -0.12437114119529724, -0.2053162008523941, 0.7155044078826904, -0.49980244040489197, 0.2909983992576599, -0.21444764733314514, 0.3805104196071625, -1.3716000318527222, -0.040711771696805954, 0.1582106202840805, -0.2714232802391052, -0.33830884099006653, 0.08121593296527863, 0.3445023000240326, -0.07954291254281998, -0.8202593922615051, 0.5077589154243469, -0.6359774470329285, 0.07754596322774887, -0.04391312226653099, 0.43129557371139526, 0.1818486452102661, 0.7345389723777771, 0.1297299563884735, 0.6970354914665222, 0.6003157496452332, -0.5153153538703918, 0.0877375602722168, 0.38958537578582764, -0.5680968761444092, 0.811694860458374, -0.35387665033340454, 0.05739102512598038, -0.028008868917822838, 0.09829548746347427, -1.096676230430603, 0.21811334788799286, 0.1759810596704483, -0.22462432086467743, 0.6176241636276245, -0.07535692304372787, -0.39076346158981323, 0.12852318584918976, -0.5950131416320801, 0.7409469485282898, 0.1490863412618637, -0.6942371726036072, 0.610579252243042, 0.22712254524230957, -0.2757405936717987, -0.7531111836433411, -0.9550358653068542, -0.09640201181173325, -0.3287258446216583, -0.5869147181510925, 0.8223185539245605, -0.09793005138635635, 0.07278043776750565, 0.26035526394844055, -0.002224864438176155, 0.0024959687143564224, -0.07718559354543686, -0.06240110471844673, 0.28292831778526306, -0.656112790107727, 0.41995036602020264, 0.048313289880752563, -0.2913665175437927, -0.36170944571495056, -0.24777553975582123, 0.5639868378639221, -0.3439071774482727, -0.12658646702766418, -0.08001979440450668, 0.43982958793640137, 0.11279051005840302, -0.21235765516757965, 0.7709411978721619, 1.0367693901062012, -0.27799826860427856, 0.08517152816057205, -0.394398957490921, -0.015480819158256054, -0.47867122292518616, 0.29368340969085693, -0.6560022830963135, -0.7673392295837402, 0.35818734765052795, -0.18607549369335175, -0.0073671950958669186, 0.22222064435482025, 0.22255869209766388, 0.10620047897100449, 1.0533469915390015, 0.8185715675354004, -0.14443102478981018, 0.3701651692390442, -0.03149991109967232, 0.21963970363140106, -0.6657548546791077, -0.308282732963562, -0.37432733178138733, -0.48929065465927124, -0.9066575765609741, -0.20143817365169525, 0.09818989783525467, -0.1368013620376587, -0.3048093020915985, 0.37504783272743225, -0.4562308192253113, 0.4413895308971405, 0.4966992437839508, 0.2629150450229645, -0.22840231657028198, -0.10972858220338821, -0.4002062678337097, -0.33077895641326904, -0.7045505046844482, -0.3252984881401062, 0.6521591544151306, -0.014966718852519989, 0.8662239909172058, 0.2635975480079651, 1.0229722261428833, 0.009894018992781639, 0.27394944429397583, -0.6264995336532593, 0.33280161023139954, -0.502966046333313, -0.2475883513689041, -0.04762660339474678, -0.5780901312828064, -1.0780737400054932, 0.5130057334899902, -0.24506396055221558, -0.4054485857486725, -0.049779560416936874, 0.022682689130306244, -0.15975424647331238, 0.300841748714447, -1.1825282573699951, 1.3490772247314453, -0.39977508783340454, -0.5645137429237366, 0.03699508309364319, -0.7399430871009827, 0.14741122722625732, 0.14405065774917603, 0.29994794726371765, 0.06290965527296066, -0.2749352753162384, 0.9582972526550293, -0.39024287462234497, 0.8581164479255676, -0.25819432735443115, -0.17057660222053528, 0.0801173597574234, -0.026936285197734833, 0.09360294044017792, -0.29045334458351135, -0.046385735273361206, 0.07183390110731125, -0.10460145771503448, -0.6421270966529846, -0.4441641569137573, 1.092082142829895, -0.5561822652816772, -0.2021857649087906, -0.4334935247898102, -0.5049373507499695, -0.2393750697374344, 0.3777446150779724, 0.14955468475818634, 0.6176643371582031, -0.22250525653362274, 0.08882738649845123, 0.7091369032859802, -0.21551154553890228, 0.25649383664131165, 0.4436090588569641, 0.04406438022851944, -0.608683705329895, 1.2403898239135742, 0.07432973384857178, 0.011347215622663498, 0.7552909255027771, 0.379159539937973, -0.6071175336837769, -0.2863108217716217, -0.423378050327301, 0.3385029733181, -0.6453015804290771, -0.5041866898536682, -0.4988063871860504, 0.23326656222343445, -0.7022610306739807, -0.5412037968635559, -0.3067982792854309, -0.10686284303665161, -0.12974813580513, -0.11356111615896225, 0.022556154057383537, 0.4647696614265442, -0.225931778550148, 0.22659742832183838, -0.8566968441009521, 0.2167542427778244, 0.08405251055955887, 0.5487281680107117, -0.24149079620838165, -0.3909686505794525, -0.3448532521724701, -0.0864032730460167, -0.21291519701480865, -0.8046972155570984, 0.30702483654022217, 0.3247731924057007, 0.4893653988838196, 0.4580899775028229, -0.026308169588446617, 0.80226731300354, -0.6696814894676208, 0.48343849182128906, 0.5670342445373535, -1.1696966886520386, 0.3897262513637543, 0.0524364672601223, 0.5541304349899292, 0.8616158366203308, 0.5596516728401184, -0.5069730877876282, -0.11525600403547287, -0.4530653655529022, -1.0592894554138184, 0.5609133243560791, -0.2124951034784317, 0.2673276662826538, 0.030614539980888367, -0.06311040371656418, 0.42427748441696167, 0.05582086369395256, -1.0598232746124268, -0.2418101280927658, -0.32378876209259033, -0.7963888645172119, -0.36192435026168823, -0.11210063099861145, 0.03153743967413902, 0.07624287903308868, 0.8389794230461121, -0.3270170986652374, -0.06535640358924866, -0.05894596129655838, -0.42826464772224426, 0.18366120755672455, 0.4247109591960907, 0.33873751759529114, 0.3467864990234375, -0.05199325084686279, 0.5664064884185791, 0.3035215437412262, -0.08412125706672668, 0.1953672170639038, 0.412863165140152, 0.0838550254702568, 0.06349291652441025, 0.28841766715049744, 0.49108925461769104, 0.9518903493881226, -0.8406941890716553, 0.6596649289131165, 0.14049944281578064, -0.12494800239801407, 0.08073975145816803, -0.30771833658218384, 0.17497147619724274, 0.14790043234825134, -0.17784467339515686, -0.13039425015449524, 0.12953750789165497, -0.5329436659812927, 0.2699248492717743, 0.3059632480144501, -0.6880003809928894, -0.1282382607460022, 0.3628949224948883, 0.28175345063209534, -0.17035606503486633, 0.7722997069358826, -0.13653495907783508, -0.9096171259880066, 0.37191373109817505, 0.7460722327232361, 0.4426461458206177, -0.5295529961585999, 0.24083690345287323, 0.4740276634693146, 0.17563003301620483, 0.19830390810966492, 0.014312535524368286, -0.028760667890310287, -0.7154768705368042, -0.4235137403011322, -0.3512411415576935, -0.41177064180374146, -0.10883628576993942, -0.6380487084388733, 0.3027419149875641, 0.15544742345809937, 0.31954166293144226, 0.05237575247883797, 0.13658982515335083, -0.7011129260063171, 0.2511211335659027, 0.3737523853778839, 0.5717595219612122, -1.017802119255066, 0.6284263134002686, 0.7118558883666992, -0.36674219369888306, -0.7671281695365906, -0.22081789374351501, -0.10580707341432571, -0.797190248966217, 0.408995121717453, 0.7973375916481018, -0.32215097546577454, -0.2570960819721222, -0.29050251841545105, -0.6222903728485107, 0.9367026686668396, 0.4485592544078827, -0.6053422689437866, 0.2891974151134491, 0.06511855125427246, 0.4040188491344452, -0.38686856627464294, 0.21534302830696106, 0.1517147570848465, 0.5193784832954407, -0.22779975831508636, -0.6034902930259705, 0.2166726291179657, -0.5660470724105835, -0.08536595851182938, 0.5607107877731323, -0.5563262701034546, 0.5863098502159119, -0.24393297731876373, -0.3016079366207123, -0.08391116559505463, 0.7905650734901428, 0.15356048941612244, 0.3732984960079193, 0.7408288717269897, 0.5739734768867493, 0.6510403156280518, -0.14177341759204865, 0.7685853242874146, -0.1813039481639862, 0.21897077560424805, 1.2096812725067139, -0.36056479811668396, 0.737960696220398, 0.6270835995674133, 0.2977120578289032, 0.7473310828208923, 0.5863893032073975, -0.10573431849479675, 0.8330243825912476, 0.2705478072166443, -0.006917422637343407, -0.2521265745162964, -0.26746314764022827, -0.33693987131118774, 0.1503857970237732, 0.2059015929698944, -0.16586138308048248, -0.21525122225284576, 0.3067783713340759, 0.15140679478645325, 0.48845648765563965, -0.3425913453102112, 0.7568061351776123, 0.008566743694245815, -0.8438376784324646, 0.593690037727356, -0.07799412310123444, 1.303381323814392, -0.6812412142753601, -0.04598226025700569, -0.21510779857635498, 0.473432719707489, -0.1377820521593094, -0.8442041873931885, 0.19919122755527496, -0.22922520339488983, 0.10575661063194275, -0.41733628511428833, 0.4780530035495758, -0.9844086170196533, -0.32283392548561096, 0.5718809962272644, 0.42148515582084656, 0.1263616979122162, 0.31508737802505493, -0.8754045963287354, -0.08175045251846313, -0.020177669823169708, -0.14205017685890198, 0.44642171263694763, 0.4767487049102783, 0.16912224888801575, 0.3364882469177246, 0.08436374366283417, -0.2673940658569336, -0.04489423707127571, 0.40036892890930176, 0.6272733807563782, -0.787369430065155, -0.7367138266563416, -0.6976091861724854, 0.3721938133239746, -0.005578800104558468, -0.4382779896259308, 0.49119454622268677, 0.8106869459152222, 1.142116665840149, -0.1589026004076004, 0.3402998447418213, 0.06064532697200775, 0.5014916062355042, -0.8469052910804749, 0.374897837638855, -0.8440831303596497, -0.14933207631111145, -0.2085275650024414, -0.8494808077812195, -0.2297998070716858, 0.45489975810050964, -0.048351164907217026, 0.03531812131404877, 0.9292048215866089, 0.9015061259269714, -0.5564030408859253, -0.2952635884284973, 0.2136155366897583, 0.12116514146327972, 0.03433114290237427, 0.8453789353370667, 0.518181324005127, -0.5843527317047119, 1.0835391283035278, -0.4568442404270172, 0.02873993292450905, -0.058870818465948105, -0.8566250205039978, -0.6848459243774414, -0.7920684814453125, -0.70582515001297, -0.34092625975608826, 0.13536188006401062, 0.7529377937316895, 0.5767511129379272, -0.8241074085235596, -0.09482313692569733, 0.15729869902133942, 0.29477232694625854, -0.5363661646842957, -0.2799008786678314, 0.6225941181182861, -0.6061162948608398, -0.9816418886184692, 0.3422949016094208, -0.037306737154722214, 0.22750581800937653, 0.03092350997030735, -0.25542762875556946, -0.60997474193573, -0.15700264275074005, 0.3147243559360504, 0.034416526556015015, -0.45124849677085876, -0.22156009078025818, -0.1684318333864212, -0.4024605453014374, 0.25033682584762573, 0.726731538772583, -0.7113313674926758, 0.3715844452381134, 0.43627890944480896, 0.6984338164329529, 0.5048238039016724, -0.11862147599458694, 0.4435884654521942, -1.068516731262207, 0.1097530722618103, 0.11061111092567444, 0.654233992099762, 0.8416902422904968, -0.032461024820804596, 0.6562061905860901, -0.10797221958637238, -0.22346049547195435, -0.6957781314849854, 0.04902079328894615, -1.2123932838439941, -0.4351780414581299, 0.9024801254272461, -0.4169376790523529, -0.2969248592853546, 0.01148528978228569, -0.2932088375091553, 0.4274473190307617, -0.12407432496547699, 0.5926035046577454, 0.533434271812439, 0.3647715449333191, -0.09614954888820648, 0.15880711376667023, 0.04327927157282829, 0.7622392773628235, -0.5565071105957031, -0.24767938256263733, 0.24899308383464813, 0.3010028302669525, 0.5715160965919495, 0.3214816749095917, -0.04203224182128906, 0.23206250369548798, 0.0491652749478817, 0.20829544961452484, -0.017753878608345985, -0.12737639248371124, -0.39725199341773987, 0.33003637194633484, -0.33378511667251587, -0.48829880356788635 ]