id
stringlengths
33
33
doc_url
stringlengths
33
33
title
stringlengths
13
211
publication_date
timestamp[s]
update_date
timestamp[s]
authors
stringlengths
6
16.6k
category_primary
stringclasses
60 values
category_all
stringlengths
5
132
abstract
stringlengths
123
1.99k
embeddings
sequencelengths
768
768
http://arxiv.org/abs/2406.18312v1
http://arxiv.org/pdf/2406.18312v1
AI-native Memory: A Pathway from LLMs Towards AGI
2024-06-26T12:51:37
2024-06-26T12:51:37
Jingbo Shang, Zai Zheng, Xiang Ying, Felix Tao, Mindverse Team
cs.CL
cs.CL, cs.AI
Large language models (LLMs) have demonstrated the world with the sparks of artificial general intelligence (AGI). One opinion, especially from some startups working on LLMs, argues that an LLM with nearly unlimited context length can realize AGI. However, they might be too optimistic about the long-context capability of (existing) LLMs -- (1) Recent literature has shown that their effective context length is significantly smaller than their claimed context length; and (2) Our reasoning-in-a-haystack experiments further demonstrate that simultaneously finding the relevant information from a long context and conducting (simple) reasoning is nearly impossible. In this paper, we envision a pathway from LLMs to AGI through the integration of \emph{memory}. We believe that AGI should be a system where LLMs serve as core processors. In addition to raw data, the memory in this system would store a large number of important conclusions derived from reasoning processes. Compared with retrieval-augmented generation (RAG) that merely processing raw data, this approach not only connects semantically related information closer, but also simplifies complex inferences at the time of querying. As an intermediate stage, the memory will likely be in the form of natural language descriptions, which can be directly consumed by users too. Ultimately, every agent/person should have its own large personal model, a deep neural network model (thus \emph{AI-native}) that parameterizes and compresses all types of memory, even the ones cannot be described by natural languages. Finally, we discuss the significant potential of AI-native memory as the transformative infrastructure for (proactive) engagement, personalization, distribution, and social in the AGI era, as well as the incurred privacy and security challenges with preliminary solutions.
[ -0.4153067469596863, -0.9217543601989746, 0.7644492387771606, -0.23122656345367432, 0.053864527493715286, 0.1729068160057068, -0.34227094054222107, -0.7735385298728943, 0.2811279296875, 0.2598007321357727, -0.22782808542251587, -0.1797444373369217, -0.27318453788757324, -0.14334289729595184, -0.4981425702571869, 0.7220577001571655, -0.06022713705897331, -0.3958783745765686, -0.3864193856716156, -0.27629324793815613, -0.46011918783187866, -0.7981079816818237, -0.7613265514373779, -0.38135021924972534, 0.4353371560573578, 0.2345941662788391, 0.5512761473655701, 0.8787567019462585, 0.19850589334964752, 0.2884986102581024, -0.17925594747066498, 0.06613173335790634, -0.4159722924232483, 0.06841877847909927, -0.04826046898961067, -0.5726948380470276, -0.609480082988739, 0.022276746109128, 0.7102689146995544, 0.6492388248443604, 0.0019949048291891813, -0.07153240591287613, -0.15953946113586426, 0.6805862188339233, -0.6894105076789856, -0.2076082080602646, -0.6278138160705566, 0.11189047247171402, -0.21720683574676514, -0.02673013135790825, -0.29179778695106506, 0.020259851589798927, 0.07724502682685852, -0.3745992183685303, -0.13575208187103271, -0.015603417530655861, 0.5563678741455078, 0.26630452275276184, -0.4590340256690979, -0.33854979276657104, -1.2077593803405762, 0.8311625123023987, -0.47650831937789917, 0.13601192831993103, 0.29983648657798767, 0.45101669430732727, -0.11097276955842972, -0.7074894905090332, -0.5154038667678833, -0.4252844750881195, 0.06346321851015091, 0.08516595512628555, -0.29595786333084106, 0.09639153629541397, 0.0757390633225441, 0.6314733624458313, -0.2943522334098816, 0.10604396462440491, -0.41657811403274536, -0.10736317932605743, 0.8362812399864197, 0.19572988152503967, 0.24628561735153198, 0.31795603036880493, -0.25598612427711487, 0.4831865131855011, -0.6844997406005859, -0.11010321974754333, 0.1240917444229126, 0.14699578285217285, -0.009641376323997974, 0.46971261501312256, -0.3425746262073517, 0.661396861076355, -0.0557037889957428, -0.08392851054668427, -0.12854786217212677, -0.4756353795528412, -0.003522150916978717, 0.1728098839521408, 0.6233070492744446, 0.014447436667978764, 0.5680537819862366, -0.5601308345794678, -0.187862828373909, 0.44566768407821655, 0.33323702216148376, -0.6456000804901123, 0.07486264407634735, 0.17734390497207642, -0.3908711075782776, 0.2413286715745926, -0.03793581575155258, -0.388406902551651, -0.19277647137641907, -0.3939375579357147, 0.2202451080083847, -0.5135791897773743, 0.03377748280763626, -0.08701945096254349, 0.15876972675323486, 0.32184237241744995, 0.14554251730442047, -0.9936448335647583, 0.6130093932151794, 0.8591791987419128, 0.8819267749786377, -0.29177942872047424, -0.241556316614151, -0.4519243836402893, 0.4880295395851135, -0.16098083555698395, 0.6054611206054688, -0.7570846080780029, -0.611953854560852, -0.014231342822313309, -0.36848413944244385, -0.012424302287399769, -0.5616545677185059, 0.2593582570552826, -0.5450617671012878, 0.04534706845879555, -0.12009385973215103, -0.6362904906272888, -0.3346244990825653, 0.44738537073135376, -0.39192551374435425, 0.7153561115264893, -0.11461575329303741, -0.21717646718025208, -0.027290834113955498, -0.8501824140548706, -0.6630893349647522, 0.11871406435966492, -0.27839627861976624, 0.2282041758298874, 0.3134956359863281, 0.04529336467385292, 0.39982494711875916, -0.40288007259368896, 0.4412810206413269, -0.23142419755458832, -0.5719428658485413, 0.18927541375160217, -0.4995514452457428, 0.3689080774784088, 0.3905960023403168, -0.11452952027320862, -0.031022949144244194, -0.63660728931427, -0.21006353199481964, 0.11418062448501587, -0.48168227076530457, -0.4002528488636017, 0.10431494563817978, -0.4574747383594513, -0.11855606734752655, 0.6900379657745361, -0.4981871545314789, 0.21035906672477722, -0.4079117476940155, 0.7545608878135681, 0.7778228521347046, -0.2221432477235794, 1.0181294679641724, -0.23574505746364594, 0.30632030963897705, -0.050592657178640366, 0.3017709255218506, -0.5563037991523743, -0.4292412996292114, -0.7649853825569153, -0.06472194194793701, 0.06164906919002533, 0.6568904519081116, -0.2479110211133957, 0.3963809013366699, -0.3129954934120178, -0.3003484308719635, -0.2715066969394684, 0.17780475318431854, 0.11005672812461853, 0.6694104671478271, 0.30312466621398926, -0.2873563766479492, -0.3133279085159302, -0.9599229097366333, -0.0805312842130661, -0.3058062493801117, -0.11688459664583206, 0.8003348708152771, 0.42820751667022705, -0.6034606695175171, 1.0781885385513306, -0.23957042396068573, -0.3620205223560333, -0.21460925042629242, -0.17521893978118896, 0.2186374068260193, 0.3704398274421692, 0.30107828974723816, -0.8003045916557312, -0.2119465172290802, 0.1392246037721634, -0.8242497444152832, 0.13307741284370422, -0.23398271203041077, -0.09323529154062271, 0.23181785643100739, 0.43259090185165405, -0.9179597496986389, 0.4708108603954315, 0.22486191987991333, -0.27876222133636475, 0.3349658250808716, -0.4433106482028961, -0.1791687160730362, -1.1261160373687744, 0.26262548565864563, -0.0868680477142334, 0.09425242245197296, -0.7518671751022339, 0.11037024110555649, -0.3289497196674347, -0.12817884981632233, -0.31414794921875, 1.018843173980713, -0.5346255898475647, -0.2558272182941437, -0.5177099704742432, 0.005966024473309517, -0.20113426446914673, 0.3108484148979187, -0.1731608808040619, 1.0096001625061035, 0.6549876928329468, -0.8493805527687073, 0.3694320023059845, 0.19004808366298676, 0.09282686561346054, 0.4376410245895386, -0.5596708655357361, 0.26165083050727844, -0.16911554336547852, 0.40452444553375244, -0.5977584719657898, -0.1895104944705963, 0.16761577129364014, -0.5157316327095032, 0.16527089476585388, 0.23851020634174347, -0.3536604940891266, -0.1304096132516861, -0.02204090729355812, 0.6707205772399902, 0.6090751886367798, -0.47543594241142273, 1.200774073600769, 0.4917745590209961, -0.15371596813201904, -0.34484753012657166, -0.7215319871902466, 0.5473895072937012, -0.319770872592926, -0.7328522801399231, 0.5800541639328003, -0.019182229414582253, -0.4402766227722168, 0.23389947414398193, 0.10804235935211182, -0.09465712308883667, 0.24410028755664825, 0.2038351148366928, 0.27431178092956543, -0.3861064016819, 0.23592157661914825, -0.12451867014169693, -0.33561885356903076, 0.08735600858926773, -0.32796865701675415, 0.5588358044624329, -0.5504511594772339, -0.2802930474281311, -0.16528503596782684, 0.765989363193512, 0.5589632987976074, -0.4433697760105133, 0.7150068283081055, 0.3756990432739258, -0.5541824102401733, 0.13765858113765717, -0.6588290929794312, -0.0982833132147789, -0.4418124556541443, 0.21699567139148712, -0.27835437655448914, -1.1069673299789429, 0.7930734753608704, -0.30699703097343445, -0.036017946898937225, 0.3378487825393677, 0.44751298427581787, 0.005217710044234991, 1.032965064048767, 0.6934499144554138, -0.5289684534072876, 0.37926027178764343, -0.3244427442550659, 0.3843716084957123, -1.0105847120285034, -0.2390831708908081, -0.16739502549171448, -0.6992995738983154, -0.2687317430973053, -0.2960766553878784, 0.21944314241409302, 0.045548003166913986, -0.6372860074043274, -0.1895470917224884, -0.3186820149421692, 0.6610763072967529, 0.8029488921165466, -0.21265874803066254, 0.17716455459594727, -0.13222907483577728, 0.1886448860168457, 0.27804112434387207, -0.7076775431632996, -0.6371172070503235, 0.9008349180221558, 0.4444899559020996, 0.7427486777305603, -0.04380031302571297, 0.6779345273971558, 0.28297436237335205, 0.3198758065700531, -0.7996499538421631, 0.863874077796936, -0.3006901741027832, -0.4534492492675781, -0.07069017738103867, -0.19838860630989075, -0.8821578621864319, -0.2409948706626892, -0.05849061533808708, -0.9983124732971191, 0.11955372989177704, 0.055526427924633026, -0.6058066487312317, 0.4464680254459381, -0.7359777092933655, 0.5871036648750305, -0.5772210359573364, -0.4128127098083496, -0.36424943804740906, -0.7015904188156128, 0.4413917362689972, 0.10628378391265869, 0.04232003912329674, -0.04848702251911163, -0.2616613805294037, 0.5958865284919739, -0.18500970304012299, 0.8648641705513, -0.03672248125076294, 0.23801444470882416, 0.5936121344566345, -0.05332416296005249, 0.34396180510520935, -0.07507931441068649, 0.03704597055912018, 0.18801067769527435, -0.4106419086456299, -0.35575070977211, -0.4596095383167267, 0.8323673605918884, -0.766645073890686, -0.7894607186317444, -0.3160693943500519, -0.6379776000976562, -0.1093629002571106, 0.04585219919681549, -0.04110139608383179, 0.16265544295310974, -0.3383627235889435, 0.12041780352592468, 0.7412905097007751, -0.07485884428024292, 0.6169734597206116, 0.22785896062850952, -0.021633265540003777, -0.14138303697109222, 0.9740155339241028, -0.008872339501976967, -0.03769494593143463, 0.2742103636264801, 0.3073858618736267, -0.4039258062839508, -0.5143892765045166, -0.2163526564836502, 0.36641842126846313, -0.7032510638237, -0.06638021767139435, -0.5829424262046814, -0.45015913248062134, -0.1940068155527115, -0.3903311789035797, -0.3933873474597931, -0.09333673864603043, -0.5774906873703003, -0.050740957260131836, 0.4216229021549225, 0.6520819067955017, -0.09024962037801743, 0.3305770456790924, -0.9017629623413086, 0.29590946435928345, 0.4212471842765808, 0.33941224217414856, 0.40617769956588745, -0.4528524875640869, -0.2964833974838257, 0.1281510889530182, -0.12260325253009796, -0.6765269041061401, 0.2535363435745239, 0.46539464592933655, 0.6757665276527405, 0.6908950805664062, -0.20425425469875336, 0.741463303565979, -0.6861137747764587, 0.7802273035049438, 0.030728287994861603, -0.7276519536972046, 0.6004527807235718, -0.1838407963514328, 0.26427721977233887, 0.6096400022506714, 0.2581222653388977, -0.6777665615081787, -0.17454127967357635, -0.5027201175689697, -1.0112676620483398, 0.21156913042068481, -0.2852232754230499, 0.6221513748168945, -0.36007410287857056, 0.7825435996055603, 0.0024831611663103104, -0.05872489884495735, -0.54204922914505, -0.1765705645084381, 0.21056939661502838, -0.03751928731799126, -0.18066856265068054, -0.31603696942329407, -0.12145105749368668, -0.32590538263320923, 0.3089360296726227, -0.2107044756412506, 0.5371006727218628, 0.1498408019542694, 0.13704794645309448, 0.14876578748226166, 0.23754484951496124, 0.4843848943710327, 0.6169697046279907, 0.06010935455560684, 0.19217362999916077, 0.2639468014240265, -0.3379475474357605, 0.1709941327571869, -0.028421707451343536, -0.3600116968154907, -0.3191855549812317, 0.16158267855644226, 0.7902565002441406, -0.16066311299800873, -0.7581498622894287, 0.2528134882450104, 0.019832132384181023, 0.08517704904079437, -0.7543410062789917, 0.23962055146694183, 0.12633450329303741, 0.3972984254360199, 0.58906489610672, 0.03708929196000099, 0.11242062598466873, -0.9910786747932434, 0.2596883177757263, 0.7198114991188049, -0.33411145210266113, -0.43703991174697876, 0.846932590007782, 0.3071085214614868, -0.6066935062408447, 0.8277895450592041, -0.1408495455980301, -0.33598607778549194, 0.4873678684234619, 0.60561603307724, 1.0135542154312134, -0.18422023952007294, -0.13878819346427917, 0.2088514119386673, 0.11601585894823074, -0.013992146588861942, 0.023402730002999306, -0.20741409063339233, -0.8469038009643555, -0.6333487629890442, -0.5146461129188538, -0.23248307406902313, 0.10445741564035416, -0.3247508108615875, -0.20480111241340637, -0.5818420052528381, -0.055964477360248566, -0.5417520999908447, -0.03989657014608383, -0.4044635593891144, 0.19925637543201447, 0.6141229271888733, 1.1247848272323608, -0.7164621353149414, 0.7195006608963013, 0.6656914949417114, -0.07857072353363037, -0.4640595018863678, -0.058412399142980576, -0.2751762568950653, -0.8561001420021057, 0.41480594873428345, 0.4222518801689148, 0.025540364906191826, -0.16841787099838257, -0.4876720607280731, -0.8653873801231384, 1.3208916187286377, 0.1041668951511383, -0.33604902029037476, -0.09490091353654861, 0.15088097751140594, 0.6455404162406921, -0.8118000030517578, 0.06703933328390121, 0.8103368282318115, 0.42128774523735046, 0.24710319936275482, -0.46104300022125244, -0.000837580009829253, -0.34330007433891296, 0.034175653010606766, 0.13929057121276855, -0.6889333128929138, 0.818811297416687, -0.3813002407550812, -0.32886165380477905, 0.1434740573167801, 0.9149723052978516, 0.19182558357715607, 0.571241557598114, 0.19839704036712646, 0.7074074745178223, 0.7299672365188599, 0.0811084434390068, 1.3532947301864624, -0.4214285612106323, -0.42719727754592896, 0.9484253525733948, -0.4151870608329773, 0.962260365486145, 0.534958004951477, 0.06202024966478348, 0.24676324427127838, 0.47061145305633545, 0.24683047831058502, 0.3026733100414276, 0.056006453931331635, -0.7108320593833923, -0.22135180234909058, -0.4662875235080719, -0.21208390593528748, 0.5494893789291382, 0.43124422430992126, -0.20279835164546967, -0.06931023299694061, -0.07104039192199707, -0.23556439578533173, 0.21811440587043762, -0.49799349904060364, 0.8892468214035034, 0.24048125743865967, -0.6973464488983154, 0.2611103951931, 0.03196060284972191, 0.8077345490455627, -0.5115122199058533, 0.06429167091846466, -0.45009124279022217, 0.1835697442293167, 0.08999179303646088, -0.6628793478012085, 0.6572109460830688, 0.09808449447154999, -0.22796416282653809, -0.16754719614982605, 1.0120595693588257, -0.20119623839855194, -0.2863270044326782, 0.382508248090744, 0.7613604068756104, 0.17496713995933533, -0.11833798140287399, -0.5475735664367676, -0.13461779057979584, -0.3214030861854553, -0.21247608959674835, 0.5076333284378052, 0.2871458828449249, -0.22206322848796844, 0.9798032641410828, 0.6593318581581116, 0.13728930056095123, 0.029534250497817993, -0.22000424563884735, 0.8330180644989014, -0.7755595445632935, -0.5881354212760925, -1.1066004037857056, 0.2823428809642792, 0.06968516856431961, -0.12561264634132385, 0.4667932987213135, 0.6416595578193665, 0.5813130736351013, 0.22995290160179138, 0.7401284575462341, 0.03525514900684357, 0.285266637802124, -0.29314616322517395, 0.6361653208732605, -0.5785006284713745, 0.17637600004673004, 0.3914318084716797, -0.9552109241485596, -0.1869797259569168, 0.43461349606513977, -0.3939741551876068, 0.02726082317531109, 0.2614108622074127, 0.4791947305202484, -0.14082805812358856, -0.1160617470741272, 0.264714777469635, 0.20301376283168793, 0.21719703078269958, 0.8875988721847534, 0.937475860118866, -0.12198439985513687, 0.5123400092124939, 0.09350943565368652, -0.19517962634563446, -0.051217466592788696, -0.6355346441268921, -0.5930249094963074, -0.3997907042503357, -0.11856205761432648, 0.16248254477977753, -0.0401938334107399, 0.46740931272506714, 0.5206447839736938, -0.48299628496170044, -0.37311822175979614, -0.30278852581977844, 0.0019496966851875186, 0.08529612421989441, -0.1791946142911911, 0.061263758689165115, -0.15121684968471527, -0.6088192462921143, 0.5496236085891724, 0.6562212705612183, 0.313822865486145, -0.44166043400764465, -0.3356102406978607, -0.2632838189601898, 0.19281744956970215, 0.6151931285858154, 0.7744150161743164, -0.8357807397842407, -0.30195340514183044, 0.2046779841184616, 0.028688834980130196, 0.20728303492069244, 0.5620859861373901, -1.0751622915267944, 0.23155023157596588, 0.20155079662799835, 1.049259066581726, 0.3599024713039398, 0.008537265472114086, 0.6451539993286133, -0.5417620539665222, 0.21559442579746246, 0.5059041380882263, 0.37994977831840515, 0.18082039058208466, -0.46379929780960083, 0.5311008095741272, 0.046689778566360474, -0.6077312231063843, -0.5684375166893005, 0.4706626534461975, -0.8633541464805603, -0.33266034722328186, 1.0899686813354492, 0.01579263247549534, -0.616059422492981, 0.0772494450211525, -0.0910756066441536, 0.09741971641778946, -0.305154949426651, 0.9043851494789124, 0.5545480847358704, -0.276864618062973, -0.14202013611793518, -0.5681856870651245, 0.12897557020187378, 0.36117470264434814, -0.7863695621490479, -0.014952562749385834, 0.494105726480484, -0.2323986142873764, 0.5111510157585144, 0.9490593075752258, 0.039268121123313904, 0.20977313816547394, -0.0037150338757783175, -0.15106506645679474, -0.12513326108455658, -0.5790244340896606, -0.3452838361263275, 0.06066995486617088, -0.049675360321998596, -0.25278469920158386 ]
http://arxiv.org/abs/2406.18305v1
http://arxiv.org/pdf/2406.18305v1
S3: A Simple Strong Sample-effective Multimodal Dialog System
2024-06-26T12:45:43
2024-06-26T12:45:43
Elisei Rykov, Egor Malkershin, Alexander Panchenko
cs.CL
cs.CL, cs.AI
In this work, we present a conceptually simple yet powerful baseline for the multimodal dialog task, an S3 model, that achieves near state-of-the-art results on two compelling leaderboards: MMMU and AI Journey Contest 2023. The system is based on a pre-trained large language model, pre-trained modality encoders for image and audio, and a trainable modality projector. The proposed effective data mixture for training such an architecture demonstrates that a multimodal model based on a strong language model and trained on a small amount of multimodal data can perform efficiently in the task of multimodal dialog.
[ -0.19151674211025238, -0.7803698778152466, 0.6872284412384033, 0.059545908123254776, -0.1924971342086792, 0.08381550759077072, -0.014151699841022491, -0.24166211485862732, 0.04987029731273651, 0.2606430649757385, -0.646307110786438, -0.24178141355514526, -0.6278941631317139, 0.1425493210554123, -0.19924379885196686, 1.0257164239883423, 0.12025833129882812, 0.35119950771331787, -0.3158861994743347, -0.24109357595443726, -0.583949625492096, -0.23233941197395325, -0.37539413571357727, -0.13962382078170776, 0.5632430911064148, 0.43289557099342346, 0.7332234978675842, 0.4251806139945984, 0.49551188945770264, 0.3379262387752533, 0.1249333918094635, 0.19920191168785095, -0.4266723096370697, 0.10610748827457428, 0.22179517149925232, -0.5547780394554138, -0.6417027711868286, -0.10473262518644333, 0.48596012592315674, 0.624721884727478, -0.1865006536245346, 0.07525242865085602, 0.03689812496304512, 0.09767860174179077, -0.37403684854507446, 0.2787312865257263, -0.3840782344341278, -0.04028572514653206, -0.17473649978637695, -0.3206884562969208, -0.2892821431159973, -0.03487362340092659, 0.14316286146640778, -0.6341431140899658, -0.09270979464054108, 0.1442716270685196, 0.6501677632331848, 0.228424072265625, -0.888231635093689, -0.22676973044872284, -0.48205962777137756, 0.9133065938949585, -0.3856220841407776, 0.6831094622612, 0.40066152811050415, 0.5163378715515137, 0.29453206062316895, -0.6124155521392822, -0.7631872892379761, -0.21940474212169647, 0.40000057220458984, 0.25733882188796997, -0.08423535525798798, 0.11754144728183746, 0.0078090461902320385, 0.5227043628692627, -0.6259400248527527, -0.08440838754177094, -0.46180546283721924, -0.17274421453475952, 0.1639624834060669, 0.2827075719833374, 0.2779010832309723, -0.3045048415660858, -0.5622423887252808, 0.013104463927447796, -0.5460944771766663, -0.2006339132785797, 0.0542154423892498, 0.2683508098125458, -0.34214845299720764, 0.5379626750946045, -0.2546084225177765, 0.855239748954773, -0.07650765776634216, -0.6442440748214722, 0.46973320841789246, -0.7439458966255188, -0.19039136171340942, -0.41700026392936707, 0.8766745328903198, 0.6658686399459839, -0.43972891569137573, -0.13612627983093262, -0.2584989070892334, 0.16722749173641205, 0.2981925308704376, -0.6757614612579346, 0.02313229814171791, 0.3144133985042572, -0.4661967158317566, -0.25107109546661377, -0.21322230994701385, -0.5356351733207703, -0.2652489244937897, -0.4523693025112152, 0.5516168475151062, -0.5433220267295837, -0.2703338861465454, 0.07760227471590042, 0.05866791307926178, -0.13509607315063477, 0.8310099244117737, -0.7482889890670776, -0.0480215921998024, 0.35284942388534546, 0.7707208395004272, -0.2149299532175064, -0.25470924377441406, -0.5269343256950378, 0.19264262914657593, -0.15632177889347076, 0.6373403072357178, -0.45015305280685425, -0.39415666460990906, -0.13023200631141663, -0.14163319766521454, -0.08578336238861084, -0.5403677225112915, 0.33716219663619995, -0.3844943344593048, 0.4151635468006134, 0.09660384058952332, -0.44412073493003845, -0.07718706876039505, 0.5427760481834412, -0.7214072942733765, 0.8320656418800354, 0.17141222953796387, -0.4543897807598114, 0.417388379573822, -0.6845690011978149, -0.1883230358362198, 0.16895364224910736, -0.24605099856853485, 0.0201064832508564, -0.0458081029355526, 0.2968451678752899, 0.5116859674453735, -0.4467141330242157, 0.3051745295524597, -0.23671980202198029, -0.31905049085617065, 0.23067712783813477, -0.44448918104171753, 0.5491428971290588, 0.5895513892173767, -0.10767951607704163, 0.20283718407154083, -0.8391141891479492, -0.13432495296001434, 0.03762223571538925, -0.519637942314148, 0.2114335298538208, -0.36180973052978516, 0.24811680614948273, 0.08946765214204788, 0.34161290526390076, -0.637330174446106, 0.30061763525009155, 0.22176021337509155, 0.43767136335372925, 0.7869300842285156, -0.26379507780075073, 0.4745798110961914, -0.36860746145248413, 0.4875129461288452, 0.07684534043073654, 0.11997761577367783, -0.5702275037765503, -0.43048015236854553, -0.7369765043258667, -0.5798231363296509, 0.1548914760351181, 0.6311274766921997, -1.1853609085083008, 0.6048362255096436, -0.3973495662212372, -0.3210704028606415, -0.47668832540512085, 0.3160100281238556, 0.1687912940979004, 0.296338826417923, 0.09452081471681595, -0.3231540024280548, -0.5017979145050049, -1.0222047567367554, 0.3126052916049957, -0.3020845651626587, -0.08390429615974426, 0.2417248636484146, 0.2879779040813446, -0.32413721084594727, 0.6543128490447998, -0.3722364008426666, -0.27454161643981934, -0.8992061018943787, 0.2108968198299408, 0.07432086765766144, 0.49494707584381104, 0.4142046868801117, -0.814997136592865, -0.19365543127059937, -0.2974066436290741, -0.974547266960144, 0.2313362956047058, -0.14060509204864502, -0.11286413669586182, -0.3575110137462616, 0.5001977682113647, -0.7287888526916504, 0.11749076843261719, 0.5771915316581726, -0.23961389064788818, 0.1582213193178177, 0.1497749239206314, 0.4155227839946747, -1.347571849822998, -0.1640218198299408, 0.049356698989868164, -0.24567480385303497, -0.8499746918678284, 0.0022332514636218548, -0.10055419057607651, -0.3797950744628906, -0.6028367280960083, 0.4427816569805145, -0.11543277651071548, 0.24306386709213257, -0.21896710991859436, -0.013783751986920834, 0.02392936684191227, 0.7252527475357056, 0.030032994225621223, 0.6651536226272583, 0.6849186420440674, -0.4474468529224396, 0.43158528208732605, 0.4217507541179657, -0.6936512589454651, 1.037020206451416, -0.4283284842967987, 0.2533000409603119, -0.2598344683647156, 0.45037445425987244, -1.2872874736785889, -0.4487825930118561, -0.12762406468391418, -0.3570977747440338, 0.02336154133081436, 0.019936377182602882, -0.604945182800293, -0.17656323313713074, -0.00992573332041502, 0.54185950756073, 0.27696502208709717, -0.4019961953163147, 0.8795023560523987, 0.35560035705566406, -0.24380746483802795, -0.07164124399423599, -0.5027425289154053, 0.24602243304252625, -0.16230745613574982, -0.7001655697822571, 0.009857358410954475, -0.4070037603378296, 0.1791473627090454, -0.4661898910999298, 0.0656513124704361, -0.15620042383670807, -0.02577979862689972, 0.28786328434944153, 0.3810107111930847, -0.18950703740119934, -0.0566265732049942, -0.4535520374774933, -0.12931010127067566, -0.32399165630340576, 0.33400410413742065, 0.6303905844688416, -0.33545535802841187, -0.48555493354797363, -0.9033761024475098, 0.3917228877544403, 0.8602010607719421, 0.10714884847402573, 0.3321978747844696, 0.632189154624939, -0.2507766783237457, 0.3071161210536957, -0.514700174331665, -0.14669294655323029, -0.45635828375816345, 0.41424036026000977, -0.6105403304100037, -0.933071494102478, 0.11989651620388031, 0.008507726714015007, 0.08643119782209396, 0.08995150029659271, 0.43212807178497314, -0.24907423555850983, 1.4895981550216675, 0.37340518832206726, 0.1590520292520523, 0.69251948595047, -0.1805284023284912, 0.1530526876449585, -0.783031702041626, -0.26546111702919006, -0.22596517205238342, -0.10902033001184464, -0.13962383568286896, -0.6610604524612427, 0.5411558151245117, -0.024065664038062096, -0.19498659670352936, 0.2539418339729309, 0.1357814073562622, 0.12349607050418854, 0.7953923344612122, 0.32005390524864197, 0.2690742611885071, -0.06937672942876816, -0.03092900849878788, -0.35737645626068115, -0.7397854924201965, -0.499242901802063, 1.0968974828720093, 0.37330859899520874, 0.7471702098846436, 0.3204735517501831, 0.480427622795105, 0.2417561113834381, 0.2995205521583557, -0.7912967205047607, 0.6868364214897156, 0.23775441944599152, -0.6860820055007935, -0.12115442752838135, -0.4092094600200653, -0.638188362121582, 0.39069226384162903, -0.4498753249645233, -0.8260968923568726, -0.20836342871189117, 0.033090583980083466, -0.5358205437660217, 0.2927497625350952, -0.649716854095459, 0.7809282541275024, -0.2991127073764801, -0.2859225869178772, -0.030019627884030342, -0.7036725878715515, 0.36918726563453674, 0.09257439523935318, 0.2584875524044037, -0.11561623215675354, 0.2971433997154236, 0.7435184121131897, -0.2690664231777191, 0.755110502243042, -0.18969854712486267, 0.0684797391295433, 0.24833428859710693, 0.15591777861118317, 0.24827909469604492, -0.058421969413757324, 0.3027800917625427, -0.004632274620234966, -0.1891910582780838, -0.5234573483467102, -0.8152173757553101, 0.22459577023983002, -0.8582754731178284, -0.3226916193962097, -0.15787020325660706, -0.45361971855163574, -0.592636227607727, 0.20242320001125336, 0.05040866509079933, 0.7963143587112427, -0.3270099461078644, 0.6821749210357666, 0.415984570980072, -0.07817190140485764, 0.21229848265647888, 0.23180437088012695, -0.1330832988023758, -0.76570725440979, 1.014610767364502, -0.34329989552497864, 0.3777547776699066, 0.3015038073062897, -0.02367430552840233, -0.27845650911331177, -0.45370399951934814, -0.8295349478721619, -0.046566419303417206, -0.7285246849060059, -0.26805728673934937, -0.9699307680130005, -0.0566658116877079, -0.2672283351421356, -0.21266216039657593, -0.627271831035614, -0.3223760426044464, -0.08506841212511063, -0.2731894850730896, -0.24178053438663483, 0.8663281798362732, 0.043455976992845535, 0.7554510831832886, -0.9009088277816772, 0.5434205532073975, 0.6945610046386719, 0.15379022061824799, -0.2126569151878357, -0.3012133538722992, -0.23392389714717865, 0.07300610095262527, -0.49794864654541016, -0.5130356550216675, 0.0499110110104084, 0.04306117817759514, 0.693874716758728, 0.6801062226295471, -0.5949095487594604, 0.6439163088798523, -0.33592602610588074, 1.2385390996932983, 0.8005234599113464, -0.8628640174865723, 0.7262793779373169, -0.6025506258010864, 0.6087194085121155, 0.921809196472168, 0.18830031156539917, -0.536845862865448, -0.318365216255188, -0.6066697835922241, -0.5879917144775391, 0.7107174396514893, 0.30944183468818665, -0.03303491324186325, 0.03883512318134308, -0.3173425495624542, 0.3430537283420563, 0.4794692397117615, -0.8421310782432556, -0.00849872175604105, -0.48240506649017334, -0.5701351761817932, -0.10292251408100128, -0.15129002928733826, -0.388522744178772, -0.13132882118225098, 0.3335573971271515, -0.313416063785553, 0.49388375878334045, -0.3491469919681549, -0.23959682881832123, 0.31683430075645447, 0.2960236072540283, 0.6019171476364136, 0.5472399592399597, -0.4898299276828766, 0.31943291425704956, 0.041927751153707504, -0.4043053686618805, 0.2552506625652313, -0.1839691400527954, 0.09360239654779434, -0.2932153046131134, 0.5107036828994751, 1.1363718509674072, 0.26547664403915405, -0.765982985496521, 0.7589002251625061, -0.20454184710979462, -0.22388842701911926, 0.16039085388183594, 0.023241819813847542, -0.16415263712406158, 0.24276535212993622, 0.45646271109580994, 0.24960005283355713, 0.31593817472457886, -0.7731205224990845, 0.15988169610500336, 0.13264036178588867, -0.4837663471698761, -0.386881947517395, 0.6465660929679871, 0.5740089416503906, -0.13529767096042633, 0.3974108397960663, -0.0038019355852156878, -0.3668052554130554, 0.33572840690612793, 0.5875106453895569, 0.46159428358078003, -0.0894227921962738, 0.22456060349941254, 0.2388731688261032, 0.09366513043642044, -0.14946149289608002, 0.43019020557403564, -0.32537907361984253, -0.9580240845680237, -0.12561596930027008, -0.41837698221206665, -0.5326853394508362, 0.359080046415329, -0.6119500398635864, 0.06807050108909607, -0.34278935194015503, -0.33000144362449646, -0.18960632383823395, -0.3232130706310272, -0.8718338012695312, 0.5220393538475037, 0.362378865480423, 0.5812937021255493, -0.7739160060882568, 0.3681102693080902, 0.6629573106765747, -0.33785557746887207, -0.4863431453704834, -0.3322494924068451, 0.3935833275318146, -0.8450348973274231, 0.7589098215103149, 0.3712908923625946, -0.2703568935394287, -0.35548973083496094, -0.6850771903991699, -0.9198394417762756, 1.0922517776489258, 0.09939924627542496, -0.22895537316799164, 0.046131428331136703, 0.01244953740388155, 0.18825827538967133, -0.6694036722183228, 0.524634599685669, 0.3052484095096588, 0.25707048177719116, 0.4777361750602722, -0.9930294156074524, -0.14265291392803192, -0.6272810697555542, 0.08381741493940353, -0.3227604031562805, -0.7874525785446167, 0.7104584574699402, -0.03696328401565552, -0.2719297409057617, 0.30545902252197266, 0.9602715373039246, 0.5406872630119324, 0.1994633674621582, 0.9115502238273621, 0.4794381260871887, 0.598841667175293, -0.3484300374984741, 0.9930057525634766, -0.36827969551086426, -0.12318062782287598, 1.1425485610961914, -0.3762889802455902, 0.7014538645744324, 0.376650869846344, 0.021380888298153877, 0.3039078414440155, 0.5114485025405884, 0.3242810368537903, 0.850738525390625, -0.15146304666996002, -0.3249659240245819, -0.6186773777008057, -0.25074636936187744, -0.32606616616249084, 0.9826268553733826, 0.38760054111480713, -0.05919382721185684, -0.17814339697360992, 0.3667604923248291, -0.0821985974907875, -0.4590321183204651, -0.015999862924218178, 0.9108280539512634, -0.22111541032791138, -0.6633649468421936, 0.30603718757629395, -0.1499568223953247, 0.8469440340995789, -0.6165030002593994, -0.03241327032446861, -0.1817568689584732, 0.01414361409842968, 0.06026197224855423, -0.6024203896522522, -0.31663843989372253, -0.10995769500732422, 0.22542361915111542, -0.5664786696434021, 0.37998002767562866, -0.48121020197868347, -0.4335079491138458, -0.2041730284690857, 0.846056342124939, 0.10479053854942322, 0.21746385097503662, -0.5306775569915771, 0.3015182316303253, 0.013138636015355587, -0.17068594694137573, 0.0680275410413742, 0.4096652865409851, 0.273508757352829, 0.6646896004676819, 0.6637017130851746, -0.0487198531627655, -0.10222943127155304, 0.5019385814666748, 0.8063104152679443, -0.7299556732177734, -0.7920753955841064, -0.38639506697654724, 0.6367143392562866, -0.3030860126018524, -0.44046738743782043, 0.6945353150367737, 0.7426400184631348, 0.45882609486579895, 0.11564943194389343, 0.9854180216789246, 0.05101451277732849, 0.5628170967102051, -0.6563180685043335, 0.22552363574504852, -0.8509491682052612, -0.03022717870771885, -0.19501374661922455, -0.8451539278030396, -0.2558915317058563, 0.8767248392105103, 0.1832886040210724, 0.23545227944850922, 0.6832950115203857, 0.8547922372817993, -0.19820570945739746, 0.415035605430603, 0.3684994578361511, -0.1100936010479927, 0.42257803678512573, 0.5227413177490234, 1.390408992767334, -0.38414067029953003, 0.3996278643608093, 0.10889257490634918, -0.4011765122413635, -0.4193124771118164, -0.460803747177124, -0.8800373673439026, -0.7670110464096069, -0.10158424824476242, -0.40363550186157227, -0.17606042325496674, 0.9911091923713684, 1.0745314359664917, -0.3832540810108185, -0.3578709661960602, 0.28403839468955994, -0.2782593369483948, 0.12081951647996902, -0.19886241853237152, -0.13827194273471832, -0.09552469849586487, -0.8287962675094604, 0.8588934540748596, 0.44965991377830505, 0.35896822810173035, -0.3805652856826782, -0.11255088448524475, -0.1258767694234848, 0.05710456892848015, 0.8398865461349487, -0.2124636024236679, -0.5887875556945801, -0.4111189544200897, 0.14161957800388336, -0.41916796565055847, 0.31096547842025757, 0.8973746299743652, -0.3698292076587677, 0.6720983982086182, 0.33540719747543335, 0.4422188401222229, 0.6120535731315613, -0.07718777656555176, 0.772867739200592, -0.5681517720222473, 0.2108691781759262, 0.047755736857652664, 0.5255253911018372, 0.638888955116272, 0.007833917625248432, 0.6196687817573547, 0.23126919567584991, -0.2424711287021637, -0.7767162322998047, 0.2900111675262451, -1.4607136249542236, -0.1563246250152588, 1.2729332447052002, 0.22309483587741852, -0.1814430058002472, -0.28040215373039246, -0.4703458845615387, 0.07629223167896271, -0.5442376732826233, 0.5153656601905823, 0.7939181923866272, -0.25506454706192017, -0.20146556198596954, -0.6228665709495544, 0.2808506190776825, 0.4088873565196991, -0.9245970249176025, -0.3874063193798065, 0.778794527053833, 0.03502056002616882, 0.4404560327529907, 1.1900675296783447, 0.01622878573834896, 0.22554686665534973, 0.29778167605400085, -0.12185360491275787, -0.050032734870910645, -0.650762140750885, 0.0009674654575064778, 0.39746972918510437, -0.11101581156253815, -0.1576172262430191 ]
http://arxiv.org/abs/2406.18301v1
http://arxiv.org/pdf/2406.18301v1
MSR-86K: An Evolving, Multilingual Corpus with 86,300 Hours of Transcribed Audio for Speech Recognition Research
2024-06-26T12:35:12
2024-06-26T12:35:12
Song Li, Yongbin You, Xuezhi Wang, Zhengkun Tian, Ke Ding, Guanglu Wan
eess.AS
eess.AS, cs.CL, cs.SD
Recently, multilingual artificial intelligence assistants, exemplified by ChatGPT, have gained immense popularity. As a crucial gateway to human-computer interaction, multilingual automatic speech recognition (ASR) has also garnered significant attention, as evidenced by systems like Whisper. However, the proprietary nature of the training data has impeded researchers' efforts to study multilingual ASR. This paper introduces MSR-86K, an evolving, large-scale multilingual corpus for speech recognition research. The corpus is derived from publicly accessible videos on YouTube, comprising 15 languages and a total of 86,300 hours of transcribed ASR data. We also introduce how to use the MSR-86K corpus and other open-source corpora to train a robust multilingual ASR model that is competitive with Whisper. MSR-86K will be publicly released on HuggingFace, and we believe that such a large corpus will pave new avenues for research in multilingual ASR.
[ -0.30192530155181885, -0.36190342903137207, 0.03465192764997482, 0.26239916682243347, -0.028979578986763954, 0.37521135807037354, -0.6685173511505127, -0.5397210121154785, 0.19355784356594086, 0.16642482578754425, -0.40259045362472534, -0.20350655913352966, -0.6653878092765808, 0.2920994758605957, -0.30767273902893066, 1.0471179485321045, 0.13705945014953613, 0.4753881096839905, 0.11204911768436432, -0.35329681634902954, 0.129075825214386, -0.826615035533905, -0.5986835360527039, 0.03132891282439232, 0.6194546222686768, 0.2044447660446167, 0.4191491901874542, 0.5579648017883301, 0.3010062575340271, 0.384067565202713, -0.2802834212779999, 0.049998000264167786, -0.28052160143852234, 0.1957298368215561, 0.2153143286705017, 0.06730572134256363, -0.36135250329971313, -0.3719569742679596, 0.9841774702072144, 0.41561251878738403, -0.18073903024196625, 0.34346267580986023, 0.2471836656332016, 0.49403178691864014, -0.5402381420135498, 0.2874426245689392, -0.49229395389556885, 0.030278079211711884, -0.5830814838409424, 0.02899830788373947, -0.2644622325897217, -0.06005000323057175, 0.2669825255870819, -0.4467216432094574, 0.10217750072479248, -0.26947537064552307, 0.37335434556007385, 0.19777505099773407, -0.05763649940490723, -0.5932329893112183, -0.7626005411148071, 0.780646562576294, -0.4200233519077301, 0.9980388283729553, 0.5153425931930542, 0.40149784088134766, 0.25126421451568604, -0.3633623719215393, -0.4479661285877228, -0.3609415590763092, 0.44470083713531494, 0.05878660827875137, -0.07186786830425262, -0.11720145493745804, 0.13536028563976288, 0.08358319103717804, -0.6670568585395813, -0.08826983720064163, -0.944861114025116, -0.4236566722393036, 0.4829179346561432, -0.20585781335830688, 0.3670324683189392, -0.305422306060791, -0.16683104634284973, -0.034731630235910416, -0.5003562569618225, 0.12061593681573868, 0.6727176904678345, 0.62003093957901, -0.21538178622722626, 0.5213953256607056, -0.10499054938554764, 0.5389066934585571, -0.21049827337265015, -0.3167663514614105, 0.5593507885932922, -0.08543132990598679, 0.08728498965501785, 0.7258761525154114, 0.9811251759529114, -0.16574858129024506, 0.129228413105011, -0.13599196076393127, 0.09558936208486557, -0.05739377811551094, 0.21077504754066467, -0.5864388346672058, -0.21298111975193024, 0.11389660835266113, -0.3751007616519928, 0.08545948565006256, -0.07442138344049454, -0.7153772711753845, -0.10114780813455582, -0.40006205439567566, 0.1763150840997696, -0.8357590436935425, -0.596711277961731, -0.06134878844022751, -0.09437739104032516, 0.2139231264591217, 0.22802408039569855, -0.6734145879745483, 0.13968074321746826, 0.8165023326873779, 1.0320193767547607, -0.22071561217308044, -0.8090169429779053, -0.7349606156349182, 0.04655855894088745, -0.19615769386291504, 0.6956570148468018, -0.7627722024917603, -0.37527403235435486, 0.13916845619678497, 0.1187904104590416, -0.12529607117176056, -0.2793562710285187, 0.49268409609794617, -0.34345269203186035, 0.08989790081977844, -0.021255725994706154, -0.22156032919883728, -0.04370196536183357, 0.2074950933456421, -0.48564857244491577, 1.1971722841262817, -0.20994193851947784, -0.5605999827384949, 0.11308450996875763, -0.9313182830810547, -0.282355397939682, 0.21291303634643555, -0.06392180919647217, -0.2896807789802551, -0.20312973856925964, 0.04545332118868828, 0.15781360864639282, 0.18569011986255646, 0.1694430410861969, -0.22651247680187225, -0.09653319418430328, 0.35434195399284363, -0.5654535889625549, 0.7957041263580322, 0.6359602212905884, -0.18520236015319824, 0.09330293536186218, -0.8482434749603271, -0.013530716300010681, -0.29964351654052734, -0.7086510062217712, -0.18586070835590363, -0.0841827467083931, 0.37823614478111267, 0.20037147402763367, 0.2700394093990326, -0.9577789306640625, -0.34666645526885986, -0.22957655787467957, 0.6608016490936279, 0.47660332918167114, -0.4760087728500366, 0.32094016671180725, -0.09653664380311966, 0.6388263702392578, -0.2541292607784271, -0.00953204371035099, -0.32230690121650696, -0.5004205703735352, -0.5873180031776428, -0.2530836760997772, 0.4536976218223572, 0.5013856887817383, -0.45757976174354553, 0.157518669962883, -0.37910377979278564, -0.4469327926635742, -1.058308720588684, 0.23573258519172668, 0.4467279016971588, 0.28919321298599243, 0.4624946415424347, -0.05596502870321274, -0.6804082989692688, -0.6755338311195374, -0.11794273555278778, -0.003254520706832409, -0.1873125284910202, 0.29542872309684753, 0.1749526411294937, -0.23822981119155884, 0.5133379697799683, -0.03794137015938759, -0.3270396888256073, -0.2980751395225525, 0.06422895193099976, -0.20975245535373688, 0.4205261170864105, 0.43495094776153564, -0.7478037476539612, -0.7805938124656677, 0.21147723495960236, -0.6954471468925476, 0.2827841341495514, 0.23629005253314972, -0.0643814280629158, 0.15235689282417297, 0.6702536940574646, -0.3200049102306366, -0.11226298660039902, 0.8524502515792847, 0.054886482656002045, 0.5611634254455566, -0.2836199998855591, 0.24704544246196747, -1.2115352153778076, 0.0795198604464531, -0.1609896719455719, -0.22302719950675964, -0.7211341857910156, -0.08158380538225174, 0.1874300241470337, -0.57322758436203, -0.576606035232544, 0.2908640205860138, -0.5770075917243958, 0.02305418998003006, -0.20750178396701813, -0.033170513808727264, -0.5381764769554138, 0.269539475440979, 0.33394119143486023, 0.8598030805587769, 0.7429550886154175, -0.5165914297103882, 0.18748055398464203, 0.3711434006690979, -0.22559891641139984, 0.5400939583778381, -0.40487679839134216, 0.5101012587547302, -0.22990743815898895, 0.015638016164302826, -0.5750909447669983, -0.2050267904996872, -0.06992059201002121, -0.7440215945243835, 0.396822065114975, -0.5386593341827393, -0.1773453950881958, -0.26633161306381226, -0.3339177370071411, 0.30191048979759216, 0.34682562947273254, -0.44701141119003296, 0.8487781882286072, 0.725726306438446, -0.784900426864624, -0.879188597202301, -0.46809712052345276, 0.3347516357898712, -0.2589865028858185, -0.5916681885719299, -0.03361973538994789, -0.39276784658432007, -0.03720444068312645, -0.14384672045707703, 0.06256367266178131, -0.06902782618999481, -0.39465785026550293, 0.39418408274650574, 0.051070716232061386, -0.6051065921783447, -0.06663522124290466, -0.13009530305862427, -0.1776544153690338, -0.07727860659360886, -0.05743781104683876, 0.6378872990608215, -0.30688637495040894, -0.3324158489704132, -0.3779483437538147, 0.7084298133850098, 0.5095405578613281, -0.4181463122367859, 0.4153812527656555, 0.8238804936408997, -0.16043385863304138, 0.030772680416703224, -0.667443573474884, 0.2166975438594818, -0.48152250051498413, 0.5293995141983032, -0.5100967288017273, -1.0010557174682617, 0.35769933462142944, 0.09721343219280243, -0.003618696704506874, 0.3613136112689972, 0.6312978863716125, 0.0010283645242452621, 0.8761547803878784, 0.4548199474811554, -0.39335834980010986, 0.7454903721809387, 0.05888998880982399, -0.17877984046936035, -0.8362221121788025, -0.19941498339176178, -0.7337359189987183, -0.06507566571235657, -0.421277791261673, -0.2821590304374695, 0.4697445034980774, -0.39574795961380005, -0.09618989378213882, 0.28528404235839844, -0.4604318141937256, 0.47526851296424866, 0.6075741052627563, -0.032259970903396606, 0.181156188249588, 0.030258478596806526, 0.1615055799484253, -0.04248071834445, -0.4677393436431885, -0.40666913986206055, 1.066856026649475, 0.3641244173049927, 0.5183649063110352, 0.28801438212394714, 0.4441636800765991, 0.23102214932441711, 0.042860448360443115, -0.7173009514808655, 0.24403707683086395, -0.33810651302337646, -0.6287844777107239, -0.2690136730670929, -0.3821702003479004, -0.8022814989089966, 0.08193279057741165, 0.05039925500750542, -0.5354302525520325, -0.1268211454153061, 0.26074790954589844, -0.3653576970100403, 0.0966210663318634, -0.8073588013648987, 0.6909115314483643, -0.30514511466026306, -0.030825484544038773, -0.09825429320335388, -0.828998327255249, 0.011288757435977459, -0.005446076393127441, 0.41280385851860046, -0.09708110988140106, 0.2247651070356369, 1.0610204935073853, -0.13663208484649658, 0.5740857720375061, -0.32684922218322754, 0.17143385112285614, 0.29706814885139465, 0.03817400708794594, 0.24588125944137573, -0.0877092033624649, -0.0730598047375679, 0.40030962228775024, 0.12204908579587936, -0.18795087933540344, -0.05547710880637169, 0.5940507650375366, -0.8991139531135559, -0.05629967525601387, -0.5172048807144165, -0.4225543439388275, -0.346657931804657, 0.21957187354564667, 0.29039016366004944, 0.5789380669593811, -0.47800812125205994, 0.46463295817375183, 0.5779091119766235, -0.36186930537223816, 0.25403571128845215, 0.7348852753639221, 0.15444187819957733, -0.535361647605896, 1.2239426374435425, 0.24639815092086792, 0.13132555782794952, 0.26569920778274536, 0.4543016850948334, -0.42566797137260437, -0.5743760466575623, -0.8052941560745239, 0.08757031708955765, -0.4720439612865448, -0.12584112584590912, -1.1569769382476807, -0.41791650652885437, -0.6242551803588867, -0.04166606441140175, -0.7230014204978943, -0.279950886964798, -0.0220689345151186, -0.10622671246528625, 0.672126054763794, 0.7845107316970825, -0.5030186772346497, 0.19439274072647095, -0.8484245538711548, 0.36191368103027344, 0.1258379966020584, 0.3544374406337738, -0.08639439195394516, -0.6722425818443298, -0.25454169511795044, 0.21672087907791138, 0.021171629428863525, -0.5812069773674011, 0.42069530487060547, 0.7856649160385132, 0.5043333172798157, 0.5063733458518982, -0.16520322859287262, 0.7346950173377991, -1.0082480907440186, 0.6486716270446777, 0.16482751071453094, -0.721020519733429, 0.2946758568286896, -0.5012950301170349, 0.25000256299972534, 0.5532199144363403, 0.5379734039306641, -0.8499429225921631, -0.49970027804374695, -0.3685709834098816, -0.7598206996917725, 0.7905614376068115, -0.0826554074883461, 0.4424606263637543, 0.33359572291374207, -0.16398859024047852, 0.45368361473083496, 0.14764033257961273, -0.31145063042640686, -0.08232511579990387, -0.7654224038124084, -0.4001966416835785, -0.30867892503738403, -0.24944999814033508, -0.06774412840604782, -0.21311993896961212, 0.6129013895988464, -0.21527282893657684, 0.33476540446281433, -0.12562695145606995, -0.44267937541007996, 0.1224292516708374, 0.44745075702667236, 0.7604646682739258, 0.3691268563270569, -0.2213546335697174, 0.3017847239971161, 0.15193220973014832, -1.012686848640442, -0.07980140298604965, 0.5409189462661743, 0.04485015571117401, 0.019199950620532036, 0.16249944269657135, 0.6337378025054932, 0.29438093304634094, -0.8971033096313477, 0.2783397138118744, 0.014940522611141205, -0.20697806775569916, -0.7046619653701782, -0.12836025655269623, 0.45027780532836914, 0.17893069982528687, 0.4153132140636444, -0.009311133064329624, 0.3408210873603821, -0.5132209062576294, 0.35834360122680664, 0.30297398567199707, -0.6742283701896667, -0.4570895731449127, 0.6311418414115906, -0.007073253858834505, -0.48355117440223694, 0.4081096649169922, -0.2627778649330139, -0.6852264404296875, 0.16557137668132782, 0.3496638834476471, 0.6963768005371094, -0.6684439778327942, 0.16511259973049164, 0.47174397110939026, 0.06533923745155334, -0.2039983570575714, 0.24438004195690155, -0.2124415934085846, -0.5464800000190735, -0.22264617681503296, -0.8396652936935425, -0.6619283556938171, 0.12829376757144928, -0.6865471601486206, 0.2285512238740921, -0.12217575311660767, 0.14250566065311432, 0.4409450590610504, -0.2771131992340088, -0.577825665473938, -0.16189861297607422, 0.3992627263069153, 0.5856924057006836, -0.5868699550628662, 0.9312220215797424, 0.578814685344696, -0.2331373244524002, -0.5583162307739258, -0.44653356075286865, 0.4726123809814453, -1.007408618927002, 0.4821197986602783, -0.07319279760122299, -0.4277264177799225, -0.11633092164993286, -0.4963330030441284, -0.8939254283905029, 0.6238719820976257, 0.4372718036174774, -0.40346768498420715, 0.05431409180164337, 0.12613044679164886, 0.5079196691513062, -0.1938662827014923, 0.1762501448392868, 0.28680914640426636, 0.23498903214931488, 0.14117957651615143, -1.2602769136428833, -0.5740902423858643, -0.4729483425617218, -0.28182753920555115, 0.010305842384696007, -0.7396882772445679, 0.7393271923065186, -0.16493286192417145, 0.03790475055575371, 0.02596471831202507, 0.6444079279899597, 0.24294227361679077, 0.2580132782459259, 0.3035566806793213, 0.15136787295341492, 0.6250483989715576, 0.16450893878936768, 0.5742813348770142, -0.26440444588661194, 0.06714065372943878, 1.226609468460083, -0.22145700454711914, 1.2797659635543823, 0.12536799907684326, -0.2657221853733063, 0.3568480908870697, 0.4218871593475342, 0.01791347935795784, 0.39460641145706177, -0.16808359324932098, -0.5441569089889526, 0.0027510952204465866, -0.1869824379682541, -0.4853271543979645, 0.7922298312187195, 0.47376108169555664, -0.18275265395641327, -0.17651550471782684, 0.45154905319213867, 0.26051536202430725, -0.13185307383537292, -0.2730950713157654, 1.0494194030761719, 0.12795938551425934, -0.16292715072631836, 0.3117755055427551, -0.28178372979164124, 1.0711545944213867, -1.0495309829711914, 0.18970555067062378, 0.20349182188510895, 0.28048402070999146, -0.0991576611995697, -0.5501211285591125, 0.31314677000045776, 0.4710911512374878, -0.06463745981454849, -0.3048926591873169, 0.6992770433425903, -0.7192351818084717, -0.6780712604522705, 0.4083360731601715, 0.4850335121154785, 0.506873369216919, -0.32538771629333496, -0.7440352439880371, 0.3109965920448303, -0.08205077052116394, -0.02865355834364891, 0.604020893573761, 0.5523144006729126, 0.40122878551483154, 0.6525768041610718, 0.8009580969810486, 0.30402249097824097, 0.3560217022895813, -0.0338822565972805, 0.7669414281845093, -0.6233593821525574, -0.8236830234527588, -0.6320816874504089, 0.3313008248806, 0.06398020684719086, -0.350839227437973, 0.8969496488571167, 0.925125241279602, 0.7799014449119568, -0.08682633191347122, 1.0934571027755737, -0.01191413588821888, 0.9711479544639587, -0.4354729652404785, 0.9447770118713379, -0.3720936179161072, -0.419902503490448, -0.33167561888694763, -0.5711379647254944, -0.027628229930996895, 0.6353603601455688, 0.02702079899609089, -0.07573699951171875, 0.39019304513931274, 0.6508155465126038, -0.28741511702537537, 0.2507611811161041, 0.19157753884792328, 0.14842194318771362, 0.14687159657478333, 0.27488401532173157, 0.8718835711479187, -0.14119656383991241, 0.9640737771987915, -0.16101153194904327, -0.18824134767055511, -0.055079229176044464, -0.5219196677207947, -0.6752034425735474, -0.9347397089004517, -0.17084790766239166, -0.275452196598053, 0.06112516298890114, 1.1812824010849, 0.8019760847091675, -1.0045500993728638, -0.5208293199539185, 0.5742924213409424, -0.4161652624607086, -0.11882747709751129, -0.15208816528320312, 0.4081982970237732, -0.23448090255260468, -0.8344723582267761, 0.7977078557014465, 0.23720821738243103, -0.05795437470078468, -0.3674556612968445, -0.3893885910511017, -0.08055746555328369, -0.3991334140300751, 0.7230349779129028, 0.6688537001609802, -0.3686181306838989, -0.20344612002372742, 0.30916479229927063, 0.26068341732025146, 0.36383935809135437, 0.9167774319648743, -0.4321914613246918, 0.6530519723892212, 0.2088172882795334, 0.7549628615379333, 0.5800892114639282, -0.06173039600253105, 0.6062172651290894, -0.6823346018791199, 0.22743260860443115, 0.3028615415096283, 0.30897215008735657, 0.6590206623077393, -0.20399107038974762, 0.2944183051586151, -0.06992873549461365, -0.6123624444007874, -0.96883225440979, -0.12618842720985413, -1.0958503484725952, 0.015497512184083462, 1.3498005867004395, 0.010198494419455528, -0.09520260244607925, -0.5238597989082336, -0.3108865022659302, 0.17260833084583282, -1.0426889657974243, 0.5833441019058228, 0.8006381988525391, -0.22276124358177185, -0.39155304431915283, -0.950865626335144, 0.8900089859962463, -0.12617158889770508, -0.5619959831237793, 0.27039849758148193, 0.2820650637149811, 0.4673916697502136, 0.47072097659111023, 0.792270302772522, -0.14392466843128204, 0.24167990684509277, 0.20220015943050385, 0.10708023607730865, -0.12851059436798096, -0.40547487139701843, -0.43743446469306946, 0.24086475372314453, 0.11907852441072464, -0.27865228056907654 ]
http://arxiv.org/abs/2406.18297v1
http://arxiv.org/pdf/2406.18297v1
FactFinders at CheckThat! 2024: Refining Check-worthy Statement Detection with LLMs through Data Pruning
2024-06-26T12:31:31
2024-06-26T12:31:31
Yufeng Li, Rrubaa Panchendrarajan, Arkaitz Zubiaga
cs.CL
cs.CL
The rapid dissemination of information through social media and the Internet has posed a significant challenge for fact-checking, among others in identifying check-worthy claims that fact-checkers should pay attention to, i.e. filtering claims needing fact-checking from a large pool of sentences. This challenge has stressed the need to focus on determining the priority of claims, specifically which claims are worth to be fact-checked. Despite advancements in this area in recent years, the application of large language models (LLMs), such as GPT, has only recently drawn attention in studies. However, many open-source LLMs remain underexplored. Therefore, this study investigates the application of eight prominent open-source LLMs with fine-tuning and prompt engineering to identify check-worthy statements from political transcriptions. Further, we propose a two-step data pruning approach to automatically identify high-quality training data instances for effective learning. The efficiency of our approach is demonstrated through evaluations on the English language dataset as part of the check-worthiness estimation task of CheckThat! 2024. Further, the experiments conducted with data pruning demonstrate that competitive performance can be achieved with only about 44\% of the training data. Our team ranked first in the check-worthiness estimation task in the English language.
[ -0.4129946827888489, -0.7281904816627502, 0.8179697394371033, -0.02574101649224758, -0.6290813684463501, 0.22886653244495392, -0.3015499711036682, -0.3995051681995392, 0.1323302984237671, 0.6069460511207581, -0.5070844888687134, -0.55914705991745, -0.6888364553451538, 0.1842222809791565, -0.4743420481681824, 1.007305383682251, -0.03338855877518654, -0.10971445590257645, -0.2840093672275543, -0.03789583593606949, -0.4333376884460449, -0.47225096821784973, -0.4518038332462311, -0.4734038710594177, 0.35387155413627625, 0.5823159217834473, 0.5068674087524414, 0.9160524606704712, 0.5165149569511414, 0.28532132506370544, -0.19093337655067444, 0.5215994715690613, -0.5582549571990967, 0.03510311245918274, -0.3169267177581787, -0.6174954771995544, -0.15221619606018066, 0.312032550573349, 0.4662438929080963, 0.2620353698730469, 0.03554408624768257, 0.24873362481594086, -0.005434597376734018, 0.5843887329101562, -0.5645262002944946, 0.3254803717136383, -0.8515728116035461, -0.13952553272247314, -0.38153207302093506, -0.3085170388221741, -0.2588409185409546, -0.8806963562965393, -0.09144926071166992, -0.12367578595876694, 0.4240567088127136, 0.07058747857809067, 1.1593458652496338, 0.2391333132982254, -0.4026893079280853, -0.333378404378891, -0.523631751537323, 0.7827001810073853, -0.6295279860496521, 0.4784576892852783, 0.4734134078025818, 0.02490903064608574, -0.1440054327249527, -0.6378072500228882, -0.590160608291626, -0.16409249603748322, -0.06215411424636841, 0.09717314690351486, -0.1330307573080063, -0.02583758533000946, 0.282205730676651, 0.5071256756782532, -0.5443094968795776, 0.11048851907253265, -0.3589833974838257, -0.44276267290115356, 0.6550285816192627, -0.23990517854690552, 0.00870506651699543, -0.1699405461549759, -0.42844051122665405, 0.012262995354831219, -0.9255712628364563, -0.12899665534496307, 0.3467828333377838, 0.31926462054252625, 0.10492835193872452, 0.7421882748603821, -0.3214634954929352, 0.5262210369110107, -0.002609045011922717, -0.21813879907131195, 0.05538909509778023, -0.7396047115325928, -0.2505509853363037, -0.06616365164518356, 0.72621089220047, 0.42416805028915405, 0.12398486584424973, -0.18913833796977997, -0.4015825092792511, 0.35791975259780884, 0.03849142789840698, -0.8593969345092773, -0.3902119994163513, 0.2506917119026184, -0.40753671526908875, -0.3517475128173828, 0.16584691405296326, -0.7730419039726257, -0.6445634961128235, -0.5168390274047852, 0.19822855293750763, -0.33871057629585266, -0.13880689442157745, 0.11347949504852295, -0.07034669071435928, 0.202284574508667, 0.38456565141677856, -0.22929951548576355, -0.22031541168689728, 0.9292773604393005, 1.0025302171707153, -0.2884122431278229, 0.10607382655143738, -0.8089185357093811, -0.19454140961170197, -0.4384816288948059, 1.0333927869796753, -0.5260529518127441, -0.1543489694595337, 0.04913989081978798, 0.09814735502004623, 0.1730836182832718, -0.7741222977638245, 1.0685101747512817, -0.6330828666687012, 0.23856908082962036, -0.53338623046875, -0.7143261432647705, -0.06853488087654114, 0.5192491412162781, -0.8017388582229614, 0.907897412776947, -0.2191268354654312, -0.6070072054862976, 0.6090645790100098, -0.48490503430366516, -0.44929251074790955, 0.05643559619784355, -0.14927856624126434, -0.8052790760993958, 0.12036313116550446, 0.20426702499389648, 0.47730720043182373, -0.32070988416671753, 0.5257391929626465, -0.10507158190011978, -0.19994379580020905, 0.27975985407829285, -0.2843598425388336, 0.7913461923599243, 0.17225831747055054, -0.44969186186790466, 0.2757156789302826, -0.8080059885978699, -0.02576933428645134, -0.05982987955212593, -0.6607589721679688, -0.01624183915555477, 0.21898764371871948, -0.2343885898590088, 0.30583956837654114, 0.18371456861495972, -0.6853672862052917, 0.16109445691108704, -0.3041701912879944, 0.4139113128185272, 0.8193675875663757, 0.062487125396728516, 0.04206226393580437, -0.650154709815979, 0.463119238615036, -0.03169991075992584, 0.03482376039028168, 0.014507574029266834, -0.3289199769496918, -0.9690588116645813, -0.3729023039340973, 0.46719416975975037, 0.6987526416778564, -0.776901125907898, 0.654155969619751, -0.08470632880926132, -0.5869447588920593, -0.42777013778686523, 0.05492853373289108, 0.018217243254184723, 0.26476117968559265, 0.38303142786026, -0.05889670178294182, -0.7734849452972412, -0.8596075177192688, -0.6580782532691956, -0.3842275142669678, -0.029370753094553947, -0.1422663927078247, 0.5674939155578613, 0.073732890188694, 1.0639995336532593, -0.4225611984729767, -0.19738277792930603, -0.21449780464172363, 0.10112619400024414, 0.15402492880821228, 0.1191980242729187, 0.10862735658884048, -0.7660379409790039, -0.1319536715745926, -0.24016623198986053, -0.4135286509990692, -0.12233935296535492, -0.2273753583431244, 0.10251050442457199, -0.10047914832830429, 0.35433393716812134, -0.6676589846611023, 0.19676345586776733, 0.47383221983909607, -0.399353951215744, 0.5330840349197388, 0.06450586020946503, 0.22809629142284393, -0.7664430141448975, -0.13876590132713318, 0.1895769238471985, -0.6679363250732422, -0.4756414592266083, 0.0037950293626636267, 0.1599535495042801, 0.11135975271463394, -0.33663493394851685, 0.18244357407093048, -0.4869517385959625, 0.1645534187555313, -0.4012899398803711, 0.07262276113033295, -0.23987416923046112, 0.14172638952732086, -0.10147485136985779, 0.7979311347007751, 0.5317056179046631, -0.7085933685302734, 0.3355018198490143, 0.12713858485221863, -0.7377246022224426, 0.5262936353683472, -0.42684730887413025, 0.16418862342834473, -0.05423747003078461, 0.22976048290729523, -0.9604432582855225, -0.15074580907821655, 0.0687539353966713, -0.3772570490837097, 0.14322566986083984, -0.2257845550775528, -0.5162621736526489, -0.3334226906299591, -0.4238205850124359, -0.16072507202625275, 0.43266725540161133, -0.7475282549858093, 0.3126399517059326, 0.6310804486274719, -0.2498137205839157, -0.33728429675102234, -0.5038333535194397, 0.36076250672340393, -0.325343519449234, -0.3469547629356384, 0.2093643844127655, 0.08112583309412003, -0.29212817549705505, -0.11217096447944641, -0.428058385848999, -0.09078984707593918, 0.17350853979587555, 0.021335436031222343, 0.31994473934173584, 0.029315929859876633, 0.09082939475774765, -0.37206584215164185, -0.14339888095855713, 0.28192147612571716, -0.3048095405101776, 0.21724669635295868, -0.11049339920282364, -0.3748799264431, -0.42639410495758057, -0.004244079347699881, 0.575093150138855, -0.5526040196418762, 0.6470387578010559, 0.5898278951644897, -0.27946358919143677, -0.3161585032939911, -0.8361477255821228, -0.35139229893684387, -0.47603312134742737, 0.22488552331924438, 0.09036337584257126, -1.2940127849578857, 0.17802032828330994, -0.40852847695350647, 0.3810732960700989, 0.4011692702770233, 0.5436968803405762, 0.03338761627674103, 0.8339834809303284, 0.5253177285194397, -0.11315358430147171, 0.484072208404541, -0.05540676414966583, 0.515083909034729, -0.07192890346050262, -0.08001639693975449, -0.7625086903572083, -0.11174609512090683, -0.6895779967308044, -0.5570062398910522, 0.2930136024951935, -0.21898607909679413, 0.04694502428174019, 0.10708551108837128, -0.5040064454078674, 0.6205905675888062, 0.4219496548175812, 0.11609547585248947, 0.44676393270492554, 0.10949018597602844, 0.44249457120895386, -0.04217289015650749, -0.42782607674598694, -0.5569929480552673, 0.9323816895484924, 0.3539116382598877, 0.4867917001247406, -0.06500498950481415, 0.6886866688728333, 0.36861759424209595, 0.42579659819602966, -0.7557744979858398, 0.8238147497177124, -0.08746907860040665, -0.4549567699432373, -0.27306681871414185, -0.7560983896255493, -0.7115990519523621, 0.19750963151454926, -0.2551233172416687, -0.322304368019104, 0.1755891591310501, 0.25540128350257874, -0.1932392567396164, 0.5081039667129517, -0.4064696133136749, 0.4722203016281128, -0.38432225584983826, -0.30387943983078003, -0.39106670022010803, -0.20871876180171967, 0.456441730260849, -0.11571373790502548, 0.3593384623527527, -0.23721948266029358, -0.0990438312292099, 0.8729234933853149, -0.4474412500858307, 0.850161075592041, -0.29638391733169556, -0.1798865646123886, 0.2979203760623932, -0.14379659295082092, 0.8742308616638184, -0.12117018550634384, -0.018531423062086105, 0.1410958617925644, -0.21849608421325684, -0.19578903913497925, -0.1857062727212906, 0.5453495979309082, -0.3670932650566101, -0.6562581062316895, -0.45815509557724, -0.18326795101165771, -0.27856555581092834, 0.29753655195236206, 0.18310315907001495, 0.27279993891716003, -0.36433178186416626, 0.5212453007698059, 0.8788571953773499, 0.06916198134422302, 0.163727805018425, 0.637566864490509, 0.059666335582733154, -0.3327029347419739, 1.1291967630386353, 0.36566630005836487, -0.0967855229973793, 0.33970212936401367, 0.3745536804199219, -0.3860667049884796, -0.9191442131996155, -0.047780271619558334, 0.45525234937667847, -0.43267929553985596, -0.41699469089508057, -0.4977455139160156, 0.04977452754974365, -0.08616553246974945, 0.15875421464443207, -0.39662906527519226, -0.4779600203037262, 0.025753814727067947, -0.26851364970207214, 0.42065495252609253, 0.7433710098266602, -0.1127573698759079, 0.1665697693824768, -0.5626169443130493, 0.4212454855442047, 0.31338992714881897, 0.6084303855895996, -0.6415692567825317, -0.3117721378803253, -0.31740379333496094, -0.0002765011158771813, -0.38377538323402405, -0.8139041662216187, 0.11654364317655563, 0.07470862567424774, 0.36405229568481445, 0.09929657727479935, 0.16501326858997345, 0.3372937738895416, -0.2857201397418976, 0.8135443329811096, -0.033521268516778946, -0.6123388409614563, 0.5275163054466248, -0.1570739448070526, -0.04963288456201553, 0.64857017993927, 0.3423345386981964, -0.2536555826663971, -0.5367518663406372, -0.6029417514801025, -0.8584291934967041, 0.5742577314376831, 0.18869365751743317, -0.24844788014888763, -0.08851323276758194, 0.21569819748401642, 0.06333895027637482, 0.34441566467285156, -0.45626428723335266, -0.13466808199882507, -0.0858386904001236, -0.15851585566997528, -0.005218167789280415, -0.32974082231521606, -0.2710164487361908, -0.060530565679073334, 0.9425038695335388, -0.15499289333820343, -0.0011693037813529372, 0.1590193510055542, -0.02955777570605278, -0.06555362045764923, 0.6669687628746033, 0.4337441325187683, 0.800523579120636, -0.15485292673110962, 0.0951053723692894, 0.008308741264045238, -0.524769127368927, 0.246482253074646, 0.21916848421096802, -0.48647618293762207, 0.3617646396160126, 0.16577933728694916, 0.6475799679756165, -0.06150763854384422, -0.48680582642555237, 0.5761128067970276, -0.0022171647287905216, -0.29876708984375, -0.07070569694042206, 0.015117471106350422, 0.0816233828663826, 0.12430012971162796, 0.2044946253299713, 0.10905394703149796, -0.00113095308188349, -0.5960120558738708, 0.3211100399494171, 0.5765007734298706, -0.15626299381256104, -0.2997380495071411, 0.47011756896972656, 0.3012482523918152, -0.07644679397344589, 0.3916088342666626, -0.21252265572547913, -0.825814425945282, 0.5550723075866699, 0.1854676753282547, 0.8615729212760925, -0.24293935298919678, 0.20437636971473694, 0.4594915211200714, 0.7060850262641907, -0.46456846594810486, 0.3657063841819763, 0.02625243365764618, -0.5995820760726929, -0.7535508871078491, -0.38329896330833435, -0.714033305644989, 0.5832010507583618, -0.3519904911518097, 0.2972460687160492, -0.413114070892334, -0.3742496073246002, 0.0063792867586016655, 0.3320736289024353, -0.8217864036560059, 0.30550941824913025, -0.0716012716293335, 0.931912899017334, -0.8759573101997375, 0.6450984477996826, 0.5812655091285706, -0.0920146107673645, -0.6599820852279663, 0.14587584137916565, 0.33827659487724304, -0.6030924320220947, 0.38125887513160706, 0.20143264532089233, -0.03721850737929344, -0.09268394857645035, -0.7866675853729248, -0.5799701809883118, 0.872161865234375, 0.6545928120613098, -0.782649040222168, -0.11216827481985092, 0.0982925295829773, 0.042120255529880524, 0.11085188388824463, -0.019522612914443016, 0.7729562520980835, 0.8187007904052734, -0.10770004987716675, -0.7967455983161926, -0.06431493163108826, 0.047479454427957535, -0.5796036720275879, 0.33130958676338196, -0.7740564942359924, 0.6417154669761658, 0.05070570856332779, -0.4662933349609375, -0.230167418718338, 0.7623667120933533, 0.29089412093162537, 0.2846282124519348, 0.825386643409729, 0.4771753251552582, 1.1543223857879639, -0.3994089663028717, 0.9050371050834656, -0.3057498037815094, 0.27146998047828674, 0.898672342300415, -0.17227157950401306, 0.5919631123542786, 0.2829987704753876, -0.23861224949359894, 0.2240610122680664, 0.5811499953269958, -0.2634628117084503, 0.2458454668521881, 0.18590989708900452, -0.24213699996471405, -0.47621041536331177, -0.36093345284461975, -0.12537431716918945, 0.4242781698703766, 0.4465707242488861, -0.13236947357654572, -0.3064458668231964, -0.12860071659088135, 0.21079707145690918, 0.05599284917116165, -0.22536398470401764, 0.8004209399223328, -0.06848299503326416, -0.9082410931587219, 0.485605388879776, -0.07075834274291992, 0.7594531178474426, -0.6113142967224121, -0.14648468792438507, -0.1334221363067627, 0.08060961961746216, -0.29418155550956726, -0.9603135585784912, 0.15531416237354279, 0.365291565656662, -0.14145830273628235, -0.46959105134010315, 0.8864721059799194, -0.6344313025474548, -0.2361140102148056, 0.02734922058880329, 0.5935502052307129, 0.154738187789917, -0.3321319818496704, -0.5837551355361938, 0.24337299168109894, 0.28971242904663086, -0.25366225838661194, 0.19298958778381348, 0.44569313526153564, -0.012546890415251255, 0.6248763203620911, 0.771791934967041, 0.5182718634605408, -0.37855303287506104, 0.01363562885671854, 1.000271201133728, -0.4279259443283081, -0.4877891540527344, -0.9134579300880432, 0.333922803401947, -0.2907986044883728, -0.041026849299669266, 0.9738512635231018, 0.8326270580291748, 0.9096048474311829, 0.15852555632591248, 1.0310156345367432, 0.030341630801558495, 0.8514890670776367, -0.6315202713012695, 0.6600929498672485, -0.27014121413230896, 0.1943168193101883, 0.06437992304563522, -0.7670281529426575, -0.13144627213478088, 0.48964396119117737, -0.36877724528312683, -0.09515649080276489, 0.5409164428710938, 1.005632758140564, -0.09522745758295059, 0.16267748177051544, 0.14312539994716644, 0.3327018618583679, 0.5742929577827454, 0.20639608800411224, 0.8015362620353699, -0.026729770004749298, 0.7108139991760254, -0.18209008872509003, -0.2644070088863373, -0.24130645394325256, -1.1631457805633545, -0.9267176985740662, -0.4428236782550812, -0.6374673843383789, -0.4716782867908478, 0.04248187690973282, 0.7185646891593933, 0.6497251987457275, -0.9491332769393921, 0.09074646234512329, -0.053378067910671234, 0.2964015007019043, -0.10119695216417313, -0.19745700061321259, 0.45917484164237976, -0.20257338881492615, -0.3116002380847931, 0.6336526274681091, 0.11862193048000336, -0.2701883018016815, -0.08384162932634354, 0.18757835030555725, -0.3246174156665802, 0.2666163742542267, 0.46268174052238464, 0.31468191742897034, -0.5482078790664673, -0.4052659273147583, -0.12206711620092392, 0.11772844940423965, 0.0600658617913723, 1.2275042533874512, -0.7331265211105347, 0.4053904116153717, 0.5187016129493713, 0.8875293135643005, 0.29331862926483154, 0.2906714081764221, 0.3489842712879181, -0.7251952886581421, -0.22953203320503235, 0.19714389741420746, 0.3866993188858032, 0.645194411277771, -0.21979278326034546, 0.614316463470459, 0.32763156294822693, -0.8292737603187561, -0.943912923336029, 0.1814526915550232, -0.633741021156311, -0.16708427667617798, 1.030849814414978, 0.08088986575603485, -0.11674420535564423, -0.3062940537929535, -0.26241597533226013, 0.334664911031723, -0.39422303438186646, 0.763986349105835, 0.9122052788734436, 0.18530254065990448, -0.12342267483472824, -0.7118278741836548, 0.7615737915039062, 0.34378716349601746, -0.9234448075294495, 0.38409337401390076, 0.5716234445571899, 0.2635037899017334, 0.06948350369930267, 0.49656346440315247, 0.04120505228638649, 0.3151428699493408, -0.5613208413124084, -0.22846627235412598, -0.10004249960184097, -0.12727263569831848, -0.24658192694187164, 0.2924492657184601, 0.10909673571586609, -0.3036061227321625 ]
http://arxiv.org/abs/2406.18294v2
http://arxiv.org/pdf/2406.18294v2
Hierarchical Context Pruning: Optimizing Real-World Code Completion with Repository-Level Pretrained Code LLMs
2024-06-26T12:26:16
2024-06-27T04:40:52
Lei Zhang, Yunshui Li, Jiaming Li, Xiaobo Xia, Jiaxi Yang, Run Luo, Minzheng Wang, Longze Chen, Junhao Liu, Min Yang
cs.CL
cs.CL
Some recently developed code large language models (Code LLMs) have been pre-trained on repository-level code data (Repo-Code LLMs), enabling these models to recognize repository structures and utilize cross-file information for code completion. However, in real-world development scenarios, simply concatenating the entire code repository often exceeds the context window limits of these Repo-Code LLMs, leading to significant performance degradation. In this study, we conducted extensive preliminary experiments and analyses on six Repo-Code LLMs. The results indicate that maintaining the topological dependencies of files and increasing the code file content in the completion prompts can improve completion accuracy; pruning the specific implementations of functions in all dependent files does not significantly reduce the accuracy of completions. Based on these findings, we proposed a strategy named Hierarchical Context Pruning (HCP) to construct completion prompts with high informational code content. The HCP models the code repository at the function level, maintaining the topological dependencies between code files while removing a large amount of irrelevant code content, significantly reduces the input length for repository-level code completion. We applied the HCP strategy in experiments with six Repo-Code LLMs, and the results demonstrate that our proposed method can significantly enhance completion accuracy while substantially reducing the length of input. Our code and data are available at https://github.com/Hambaobao/HCP-Coder.
[ -0.5283944606781006, -0.48574674129486084, 0.4219847023487091, 0.20867620408535004, -0.432294636964798, 0.3154747486114502, -0.3203172981739044, -0.4826032817363739, 0.15728847682476044, 0.33445239067077637, -0.5984309315681458, -0.6185687184333801, -0.3209629952907562, 0.18671433627605438, -0.09841766953468323, 0.7439920902252197, -0.04400975629687309, -0.1330937296152115, -0.4992649257183075, 0.016492078080773354, -0.684726893901825, -0.6603205800056458, -0.06109170988202095, -0.14571526646614075, 0.5642302632331848, 0.6359759569168091, 0.476318359375, 0.9548817873001099, 0.658860445022583, 0.2559570372104645, -0.14080291986465454, 0.15961197018623352, -0.5607089996337891, 0.2094113677740097, 0.29431474208831787, -0.44387149810791016, -0.35413312911987305, -0.24769219756126404, 0.5787184834480286, 0.45485350489616394, -0.14166268706321716, 0.16424818336963654, 0.3101530969142914, 0.7703170776367188, -0.9060671925544739, 0.10128681361675262, -0.19395866990089417, 0.2163379043340683, 0.033520229160785675, -0.7270737886428833, -0.29833129048347473, -0.377979040145874, 0.23999066650867462, -0.618740975856781, -0.11626677960157394, -0.06103184446692467, 0.6373832821846008, 0.4667748510837555, -0.25979939103126526, -0.15404708683490753, -0.7366997003555298, 0.6315019726753235, -0.7558504343032837, 0.21769662201404572, 0.31882208585739136, 0.01824381947517395, 0.005212318617850542, -0.6328619122505188, -0.1778729259967804, -0.32814821600914, -0.3832162320613861, 0.11891166865825653, 0.30130550265312195, 0.2846407890319824, 0.48825201392173767, 0.3087708652019501, -0.5200725197792053, -0.13619695603847504, -0.3039160966873169, -0.16420982778072357, 0.033690135926008224, -0.13362431526184082, 0.32642778754234314, -0.277848482131958, -0.3390102684497833, -0.02820279262959957, -1.0420706272125244, 0.06781718879938126, 0.16058261692523956, 0.07573718577623367, -0.007815255783498287, 0.4547395408153534, -0.10968293994665146, 0.7944231033325195, -0.0774652510881424, -0.3991086483001709, 0.24540606141090393, -0.4519729018211365, -0.16993004083633423, -0.13997752964496613, 0.3544104993343353, 0.2676485478878021, 0.4042666554450989, -0.1420644372701645, -0.30161914229393005, -0.18553653359413147, 0.5548419952392578, -0.8493542671203613, -0.014805935323238373, 0.41256842017173767, -0.4243371784687042, -0.27915462851524353, 0.060885608196258545, -0.4430231750011444, -0.31374722719192505, -0.5747975707054138, 0.0755411833524704, -0.43509218096733093, -0.039258699864149094, -0.21807613968849182, 0.03556816652417183, 0.29416489601135254, 0.3531990349292755, -0.41097399592399597, 0.19514018297195435, 0.6754838228225708, 0.9892192482948303, -0.13115379214286804, -0.43892502784729004, -0.8598544001579285, 0.42545926570892334, -0.31286513805389404, 0.5099411606788635, -0.4061937928199768, -0.3399554193019867, 0.17319613695144653, -0.1380939781665802, 0.28247538208961487, -0.820624589920044, 0.15993793308734894, -0.5117400884628296, -0.10535355657339096, -0.2364603728055954, -0.439314603805542, 0.20684702694416046, 0.5024020671844482, -0.5690959095954895, 0.808740496635437, 0.3652603030204773, -0.8664690852165222, 0.30400511622428894, -0.1938525140285492, -0.5986612439155579, 0.19257192313671112, -0.4407109022140503, -0.35259026288986206, -0.029222795739769936, 0.09857739508152008, 0.3504906892776489, -0.15396112203598022, 0.6254558563232422, -0.04802422225475311, -0.8412545323371887, -0.28983640670776367, 0.26955482363700867, 0.513994038105011, 0.1276615411043167, -0.4272829294204712, 0.3428382873535156, -0.4767622947692871, -0.08255311101675034, -0.08540444821119308, -0.6587089896202087, -0.2426878809928894, -0.0678323358297348, 0.024424340575933456, 0.2535962462425232, 0.40189266204833984, -0.22771325707435608, 0.37072691321372986, -0.19587142765522003, 0.37627559900283813, 0.6766349673271179, -0.05791890248656273, 0.7766146063804626, -0.6749086380004883, 0.7717602252960205, 0.02211536467075348, 0.24649988114833832, -0.3708832561969757, -0.1665327399969101, -0.5148727297782898, -0.41182565689086914, 0.34896835684776306, 0.7267406582832336, -0.7865604162216187, 0.6627105474472046, -0.20550504326820374, -0.18705064058303833, 0.12687845528125763, 0.12546983361244202, 0.5322908759117126, 0.5438578128814697, 0.30242857336997986, -0.36108455061912537, -0.8288356065750122, -0.7948989868164062, -0.10869830846786499, -0.16645357012748718, -0.24058350920677185, 0.3931029736995697, 0.5756652355194092, -0.35099494457244873, 1.0861613750457764, -0.474101722240448, -0.4161258935928345, -0.10409051924943924, -0.22526335716247559, 0.08628722280263901, 0.7108359336853027, 0.3815728425979614, -0.8102964758872986, -0.1702253371477127, -0.1410500407218933, -0.5400183796882629, -0.134006530046463, -0.04536961019039154, 0.07421236485242844, 0.04721854627132416, 0.6685521602630615, -0.5186518430709839, 0.29086166620254517, 0.535067617893219, 0.06371918320655823, 0.8122680187225342, -0.3605978190898895, 0.1847773641347885, -0.7890690565109253, 0.1681368201971054, -0.12200263887643814, -0.32536956667900085, -0.405796617269516, 0.3695923388004303, 0.3610744774341583, -0.23212307691574097, -0.5855980515480042, 0.37860774993896484, -0.7668631672859192, -0.2608484923839569, 0.008245851844549179, 0.01522575318813324, -0.16339045763015747, 0.78377765417099, 0.11108240485191345, 0.8178486824035645, 0.42752858996391296, -0.514744222164154, 0.1054171621799469, -0.10536159574985504, -0.4486526548862457, 0.08079322427511215, -0.6135218143463135, -0.04182233288884163, 0.03149911016225815, 0.49355822801589966, -0.7882422804832458, -0.36642664670944214, 0.01672086864709854, -0.18295791745185852, 0.3969042897224426, -0.5071481466293335, -0.6070747971534729, -0.1440695822238922, -0.34212827682495117, 0.6440450549125671, 0.6705769896507263, -0.4254806935787201, 0.3081836402416229, 0.45988309383392334, -0.17471721768379211, -0.6400178670883179, -0.7132952213287354, 0.08310331404209137, -0.26850759983062744, -0.5379498600959778, 0.5317551493644714, -0.05379442870616913, 0.04958340525627136, -0.3518124520778656, -0.37209147214889526, -0.10481476038694382, 0.17215965688228607, 0.2874121069908142, 0.2489514946937561, 0.003497214987874031, 0.04136739671230316, -0.12163190543651581, -0.14470967650413513, -0.03476007655262947, -0.5401909947395325, 0.5268532037734985, -0.14589619636535645, -0.3278968632221222, -0.3621952533721924, 0.3064749538898468, 0.5551314949989319, -0.057319276034832, 0.5044639706611633, 0.0945126935839653, -0.5468140840530396, -0.17822222411632538, -0.47141939401626587, -0.1574004739522934, -0.46664324402809143, 0.15430715680122375, -0.2622365355491638, -1.247391700744629, 0.5239359140396118, -0.40945613384246826, 0.1342768520116806, -0.21494406461715698, 0.22637665271759033, -0.10053244978189468, 0.6125068068504333, 0.7090789675712585, -0.1302100419998169, 0.8847616314888, -0.4312379062175751, 0.22556172311306, -0.6700305342674255, -0.0682884082198143, -0.5785776376724243, -0.2638047933578491, -0.5545281767845154, -0.6041398644447327, 0.36670181155204773, 0.35891246795654297, -0.1651483178138733, 0.4916914701461792, -0.6364574432373047, 0.6465359330177307, 0.5654542446136475, 0.13285204768180847, 0.432719886302948, -0.051755260676145554, -0.02087348699569702, 0.06297268718481064, -0.9147243499755859, -0.2677444517612457, 0.6841651797294617, 0.43557408452033997, 0.6022863388061523, -0.10647673904895782, 0.9400098919868469, 0.1380166858434677, 0.2350950986146927, -0.8698840141296387, 0.34876906871795654, 0.20564907789230347, -0.2517862319946289, -0.28059419989585876, -0.6737269163131714, -0.6445072889328003, 0.015550002455711365, 0.10594408959150314, -0.44440940022468567, 0.4011642038822174, 0.3657552897930145, -0.3611026108264923, 0.016359703615307808, -0.6530903577804565, 0.801506519317627, -0.001170004834420979, -0.20036061108112335, -0.10473780333995819, -0.7527056932449341, 0.30238768458366394, -0.05457349494099617, 0.33364078402519226, 0.3999452292919159, -0.285952627658844, 0.4957050085067749, -0.7187977433204651, 0.6988059878349304, -0.24050632119178772, -0.2816048264503479, 0.21962212026119232, 0.22151854634284973, 0.7301551699638367, 0.25464463233947754, 0.2679937481880188, 0.12245656549930573, -0.017787989228963852, -0.5525110960006714, -0.5319299697875977, 0.6720876097679138, -0.6112513542175293, -0.6258938908576965, -0.20034289360046387, -0.6264773607254028, -0.2925289273262024, 0.302229642868042, 0.3902984857559204, 0.7856259346008301, 0.12570679187774658, 0.45032012462615967, 0.7564225792884827, -0.23651739954948425, 0.30845072865486145, -0.031358152627944946, -0.14810717105865479, -0.4760003387928009, 0.647294819355011, 0.16412712633609772, 0.20614907145500183, 0.5274467468261719, -0.05819921940565109, -0.0022632020991295576, -0.7559221386909485, -0.3292495906352997, 0.08896584808826447, -0.5145436525344849, -0.40759727358818054, -0.4965672791004181, -0.26487502455711365, -0.38039013743400574, -0.5370862483978271, -0.1842203587293625, -0.2837463617324829, -0.00011853020259877667, 0.15019865334033966, 0.08766252547502518, 0.5477049350738525, 0.22362393140792847, 0.45957574248313904, -1.11443030834198, 0.35937991738319397, 0.08947345614433289, 0.4606805443763733, 0.025235923007130623, -0.27168118953704834, -0.5594155788421631, -0.021947231143712997, -0.03236601874232292, -0.7428871989250183, 0.34856557846069336, -0.12055165320634842, 0.3772147297859192, 0.08504534512758255, 0.15710577368736267, 0.7101691365242004, -0.4456064701080322, 0.36542725563049316, 0.23827672004699707, -0.8570575714111328, 0.719940185546875, -0.6967462301254272, 0.8062492609024048, 0.733339786529541, 0.23867914080619812, -0.3940366506576538, -0.5946932435035706, -0.3711598515510559, -1.0067099332809448, 0.575985312461853, 0.23639754951000214, -0.28563565015792847, 0.1252991259098053, 0.5543904304504395, -0.24225427210330963, 0.3016211688518524, -0.6584942936897278, -0.16250135004520416, 0.14355726540088654, 0.015121114440262318, 0.1696120947599411, -0.24456056952476501, -0.26189836859703064, -0.27051353454589844, 0.2862969934940338, -0.3499223589897156, 0.08823571354150772, 0.402742475271225, -0.4611736238002777, -0.08458088338375092, 0.24360550940036774, 0.5025368332862854, 1.1708438396453857, -0.3120438754558563, 0.009178138338029385, 0.026968924328684807, -0.5784598588943481, 0.11813639104366302, -0.26573219895362854, -0.1583367884159088, -0.10657817870378494, 0.5707556009292603, 0.22910122573375702, 0.290844202041626, -0.7552246451377869, 0.5743698477745056, -0.13704563677310944, -0.15506114065647125, -0.3582785427570343, 0.08911734074354172, 0.18287210166454315, 0.011504087597131729, 0.5164778828620911, 0.23044446110725403, 0.08707614988088608, -0.6290546655654907, 0.36902138590812683, 0.19792337715625763, -0.350534588098526, 0.14037171006202698, 0.09694930166006088, 0.37897059321403503, -0.32013681530952454, 0.5252814292907715, 0.12262821197509766, -0.5885489583015442, 1.0006738901138306, 0.37019410729408264, 0.7082839012145996, 0.14597927033901215, 0.00019735743990167975, 0.4405404329299927, 0.3243102431297302, -0.17047567665576935, 0.10154443979263306, -0.5175862312316895, -0.3804076611995697, -0.85869961977005, -0.6313744187355042, -0.37181660532951355, -0.014929486438632011, -0.5695235133171082, 0.22786709666252136, -0.700453519821167, -0.0026417921762913465, -0.6360425353050232, 0.21806292235851288, -0.22575326263904572, 0.17344725131988525, -0.05527699366211891, 1.098280906677246, -0.46479901671409607, 1.0439941883087158, 0.7113463878631592, -0.15163229405879974, -0.7161775231361389, 0.2644147574901581, -0.038604985922575, -0.28983062505722046, 0.41233664751052856, 0.36696121096611023, -0.07213792949914932, 0.09331908077001572, -0.5153451561927795, -0.8808070421218872, 1.1389484405517578, 0.36165305972099304, -0.9323386549949646, -0.3032347559928894, -0.1328297257423401, 0.4457235038280487, -0.5026258826255798, 0.05824282765388489, 0.5013348460197449, 0.5243042707443237, 0.1564621776342392, -0.8475779294967651, 0.17169822752475739, -0.4579378068447113, 0.16821570694446564, 0.39913424849510193, -0.22529076039791107, 0.4831297695636749, -0.39890018105506897, -0.22058677673339844, 0.1749068647623062, 0.48744112253189087, 0.7890546321868896, 0.0006082050385884941, 0.6870437264442444, 0.3519802391529083, 0.5865662693977356, -0.07582063972949982, 1.012668490409851, -0.5963749885559082, 0.3331539034843445, 1.097374439239502, -0.12344174087047577, 0.5741743445396423, 0.6324747204780579, 0.10700439661741257, 0.42372745275497437, 0.9252472519874573, 0.25553762912750244, 0.47218719124794006, 0.483677476644516, 0.01741693913936615, -0.11144158244132996, -0.1391003280878067, -0.5914416909217834, -0.16065986454486847, 0.15439215302467346, 0.11570582538843155, 0.10446338355541229, -0.0966804176568985, -0.13314372301101685, -0.11304575204849243, -0.03974955528974533, 0.7512732148170471, 0.19622521102428436, -0.8629792928695679, 0.7815667986869812, -0.317008912563324, 0.9200450778007507, -0.5437198877334595, -0.019964294508099556, -0.34312084317207336, 0.10020118206739426, -0.4331049919128418, -0.49477776885032654, 0.37126797437667847, -0.0562254972755909, -0.2696690857410431, -0.4868595004081726, 0.6341068744659424, -0.34243154525756836, 0.16894812881946564, 0.6137304306030273, 0.5154250264167786, -0.15065717697143555, -0.14668110013008118, -0.4733715355396271, -0.029686449095606804, -0.07249331474304199, -0.3415514826774597, 0.649032473564148, 0.38062217831611633, 0.049635984003543854, 0.6631481051445007, 0.6877747178077698, 0.14011695981025696, -0.24835646152496338, 0.13953711092472076, 1.0390785932540894, -0.7651497721672058, -0.5350210666656494, -0.5324358344078064, 0.46720829606056213, 0.04569818079471588, -0.24012118577957153, 0.44596967101097107, 0.5909313559532166, 1.0993684530258179, -0.06465059518814087, 0.5306544899940491, -0.19265466928482056, 0.129229336977005, -0.44309860467910767, 0.5117912888526917, -0.6310455799102783, 0.6173925995826721, -0.41130879521369934, -1.2155317068099976, -0.4266798794269562, 0.5311077833175659, -0.1875753551721573, 0.1846591830253601, 0.8828319907188416, 0.8639103174209595, 0.025274666026234627, -0.31718674302101135, 0.34302762150764465, 0.029787668958306313, 0.0704796314239502, 0.5499796867370605, 1.0695186853408813, -0.18385949730873108, 0.5771149396896362, -0.4938585162162781, -0.46321073174476624, -0.1972791999578476, -0.8925474882125854, -0.5800619721412659, -0.37853291630744934, -0.23266993463039398, -0.31750696897506714, 0.012903721071779728, 0.7283514142036438, 0.9516635537147522, -0.5770742893218994, -0.5318506956100464, -0.3198648989200592, 0.33932122588157654, -0.09692355990409851, -0.2260199338197708, 0.043423764407634735, -0.5231801867485046, -0.44369375705718994, 0.2271442711353302, 0.5057275891304016, -0.1651829332113266, -0.14726899564266205, -0.3327145278453827, -0.33939167857170105, -0.43928858637809753, 0.4953535795211792, 0.1397523432970047, -0.47020813822746277, -0.1537446230649948, 0.22282622754573822, -0.41979271173477173, 0.2748735845088959, 1.3017568588256836, -0.9505752921104431, -0.03795032203197479, 0.9273430109024048, 0.5287753939628601, 0.26767656207084656, 0.24674217402935028, 0.7944167852401733, -0.9616818428039551, 0.18009932339191437, 0.36678093671798706, 0.4129941463470459, 0.014409487135708332, -0.5734785795211792, 0.619148850440979, 0.19258101284503937, -0.691347599029541, -0.7881801128387451, 0.14138297736644745, -0.8334135413169861, -0.61822909116745, 1.0164116621017456, -0.2775056064128876, -0.3198724389076233, -0.22217363119125366, -0.2949499487876892, 0.19322513043880463, -0.35111314058303833, 0.5420131683349609, 0.49989455938339233, 0.08159680664539337, -0.2506195306777954, -0.43865060806274414, 0.7065114974975586, 0.4031970202922821, -0.8982775211334229, 0.16006581485271454, 0.8052983283996582, -0.004270023666322231, 0.3944709599018097, 0.7534522414207458, -0.11437681317329407, 0.5439226627349854, -0.3129260241985321, 0.09931241720914841, -0.01678154058754444, -0.7683347463607788, -0.36250442266464233, 0.31721949577331543, -0.0074944524094462395, 0.2797928750514984 ]
http://arxiv.org/abs/2406.18276v1
http://arxiv.org/pdf/2406.18276v1
Sanskrit Knowledge-based Systems: Annotation and Computational Tools
2024-06-26T12:00:10
2024-06-26T12:00:10
Hrishikesh Terdalkar
cs.CL
cs.CL, cs.SE
We address the challenges and opportunities in the development of knowledge systems for Sanskrit, with a focus on question answering. By proposing a framework for the automated construction of knowledge graphs, introducing annotation tools for ontology-driven and general-purpose tasks, and offering a diverse collection of web-interfaces, tools, and software libraries, we have made significant contributions to the field of computational Sanskrit. These contributions not only enhance the accessibility and accuracy of Sanskrit text analysis but also pave the way for further advancements in knowledge representation and language processing. Ultimately, this research contributes to the preservation, understanding, and utilization of the rich linguistic information embodied in Sanskrit texts.
[ -0.19143123924732208, -0.6645018458366394, 0.4245987832546234, 0.25399473309516907, -0.15456946194171906, 0.3553744852542877, -0.11204544454813004, -0.5458066463470459, 0.5237010717391968, 0.18718500435352325, -0.44974634051322937, -0.30444979667663574, -0.33464840054512024, 0.39727452397346497, -0.3216135799884796, 0.7001683115959167, -0.12388822436332703, 0.21618987619876862, -0.4765358567237854, -0.06286599487066269, -0.6177756786346436, -0.40665382146835327, -0.45643359422683716, -0.30322757363319397, 0.43663549423217773, 0.4316774308681488, 0.6595727205276489, 0.3754526674747467, 0.7220989465713501, 0.24951691925525665, 0.017615906894207, 0.19753116369247437, -0.1279415339231491, 0.6459971070289612, -0.21506844460964203, -0.595874011516571, -0.13529014587402344, -0.21590478718280792, 0.7437239289283752, 0.7432986497879028, 0.02531229332089424, 0.43462610244750977, -0.11767584830522537, 0.33628609776496887, -0.7837578654289246, 0.25996071100234985, -0.23622572422027588, 0.16585728526115417, -0.4556547701358795, -0.5643120408058167, -0.3258384168148041, -0.9603577852249146, -0.1796770840883255, -1.2229325771331787, -0.3810245394706726, 0.15564005076885223, 0.6157461404800415, 0.5619205832481384, 0.04717957600951195, -0.54172283411026, -0.782898485660553, 0.7237197160720825, -0.22020083665847778, 0.32947245240211487, 0.5243198275566101, 0.6480886936187744, 0.022106390446424484, -0.6340412497520447, -0.6443419456481934, 0.2845076322555542, -0.29993873834609985, 0.10132869333028793, 0.07653185725212097, -0.040726445615291595, 0.11993030458688736, 0.5807682871818542, -0.6267587542533875, -0.040493447333574295, -0.6431044340133667, -0.48182448744773865, 0.5622559785842896, 0.22587917745113373, 0.7051278948783875, -0.460908442735672, -0.062479522079229355, 0.07936549186706543, -0.6839385032653809, -0.27486538887023926, 0.14208167791366577, 0.16955910623073578, 0.18352381885051727, 0.8223919868469238, -0.2990303635597229, 1.0263798236846924, -0.4579431116580963, -0.10868511348962784, 0.054684873670339584, -0.46915996074676514, -0.37135282158851624, 0.15394903719425201, 0.3374630808830261, 0.14489908516407013, 0.24868299067020416, -0.22482040524482727, 0.2464723140001297, 0.400500625371933, -0.13493579626083374, -0.4017370641231537, -0.028201384469866753, 0.256278395652771, -0.3127647936344147, -0.30663934350013733, -0.1141837015748024, -0.7475570440292358, -0.8585986495018005, -0.4298427402973175, 0.27083513140678406, -0.4690309166908264, -0.518348753452301, -0.2240755558013916, -0.7154890298843384, 0.5600727796554565, 0.5549570322036743, -0.781937301158905, 0.379658967256546, 0.5862605571746826, 0.7778915762901306, -0.008644141256809235, -0.15248046815395355, -0.0800623893737793, 0.4887333810329437, -0.31088727712631226, 1.0050653219223022, -0.8383868336677551, -0.6970623731613159, -0.027496883645653725, -0.34728509187698364, 0.023942481726408005, -0.3284033238887787, 0.6321259140968323, -0.7733199596405029, 0.06701140105724335, -0.7500743865966797, -0.7419069409370422, -0.38592153787612915, 0.3974500298500061, -0.32400450110435486, 1.103697419166565, 0.0736195296049118, -1.0320837497711182, 0.05917024612426758, -1.1095571517944336, -0.48682457208633423, 0.4331369698047638, -0.3105655312538147, 0.4047815799713135, -0.14401230216026306, -0.14160925149917603, 0.3021317720413208, -0.5827831625938416, -0.17077739536762238, -0.12239322811365128, -0.2487141638994217, 0.1748315393924713, 0.24243389070034027, 1.002237319946289, 0.6870813369750977, -0.06325200200080872, 0.36747094988822937, -0.8621537089347839, 0.3089248836040497, 0.11135970056056976, -0.2112877517938614, -0.7595457434654236, -0.23814375698566437, 0.22717638313770294, 0.04552873596549034, 0.4613364636898041, -0.8686810731887817, 0.24344177544116974, -0.2945649325847626, 0.4998442828655243, 0.7239780426025391, -0.026479829102754593, 0.3984750211238861, 0.011416226625442505, 0.895232081413269, -0.1929372251033783, 0.044583357870578766, -0.29723963141441345, -0.5830420255661011, -0.6450069546699524, -0.0369080975651741, 0.49089738726615906, 0.9141306281089783, -0.8974096179008484, 0.16553357243537903, -0.2567835748195648, -0.7326357960700989, -0.6006660461425781, -0.0712897777557373, 0.4433911442756653, 0.6108066439628601, 0.20147539675235748, -0.2574259042739868, -0.7286162972450256, -0.6325336694717407, -0.11430849879980087, -0.32063397765159607, 0.2566058933734894, 0.11481760442256927, 0.30433622002601624, 0.0017387442057952285, 1.2847132682800293, -0.8990247249603271, -0.13749830424785614, 0.0630270391702652, 0.06309341639280319, -0.4485172629356384, 0.4282822906970978, 0.24441975355148315, -1.146710753440857, -0.4235360622406006, 0.21961060166358948, -1.1751809120178223, -0.3387642204761505, 0.2692462205886841, -0.2482246309518814, 0.23262909054756165, 0.5796648859977722, -0.5444375872612, 0.7103411555290222, 0.15941958129405975, -0.4271335005760193, 0.525644063949585, 0.11350581049919128, 0.20711761713027954, -1.1569585800170898, 0.5296658873558044, -0.5462322235107422, -0.07235248386859894, -0.6212784051895142, 0.16528654098510742, -0.11460035294294357, -0.21923092007637024, -0.22496286034584045, 0.7383254170417786, -0.2843111753463745, -0.3974330723285675, -0.32048389315605164, 0.3619098663330078, 0.008498057723045349, 0.21246084570884705, 0.0059898789040744305, 0.9189246296882629, 0.43371495604515076, -0.5353906154632568, 0.6270603537559509, 0.6210507154464722, 0.01991383545100689, 0.9359126687049866, -0.6555894017219543, -0.01896684430539608, -0.11598210781812668, -0.06392639130353928, -1.029796838760376, -0.5110791325569153, 0.5540463924407959, -0.7963644862174988, 0.060736194252967834, 0.1330799162387848, -0.6331328749656677, -0.28086817264556885, -0.13539254665374756, 0.4441302716732025, 0.4249286353588104, -0.0319003164768219, 0.5506534576416016, 0.6100680232048035, -0.4467484951019287, -0.5077565908432007, -0.9004906415939331, 0.045442674309015274, -0.07994915544986725, -0.4718894362449646, 0.008725146763026714, 0.059851810336112976, -0.6526464223861694, 0.4506789445877075, 0.25314861536026, -0.29889222979545593, 0.04084815829992294, 0.4355057179927826, 0.10122489929199219, -0.043202873319387436, 0.7494903206825256, 0.228035569190979, -0.34573063254356384, -0.18031103909015656, -0.6498790383338928, 0.4472871422767639, -0.11999685317277908, -0.6534841060638428, -0.37043941020965576, 0.4311176836490631, 0.4382386803627014, -0.4063345491886139, 0.4269670844078064, 0.4914993941783905, -0.6571928262710571, 0.31306174397468567, -0.4158511459827423, 0.23673778772354126, -0.4123387932777405, 0.03263485059142113, -0.4463852047920227, -0.9648939967155457, 0.7978839874267578, -0.04921684041619301, -0.11595077812671661, 0.8514759540557861, 0.356953501701355, 0.0709245502948761, 0.3778206706047058, 0.7080847024917603, -0.011820484884083271, 0.20986458659172058, 0.1143554300069809, 0.258537620306015, -0.8982987999916077, -0.1867171972990036, -0.7505260705947876, -0.09367925673723221, -0.5979561805725098, -0.28506961464881897, 0.42425400018692017, 0.0102913286536932, -0.27093157172203064, 0.18844303488731384, -1.0127824544906616, 0.35587379336357117, 0.7190566062927246, -0.4081518352031708, 0.42389151453971863, -0.311449259519577, -0.22865146398544312, -0.03413448482751846, -0.6638288497924805, -0.43631306290626526, 1.0745806694030762, 0.010421477258205414, 0.6538103818893433, 0.08458234369754791, 0.4011033773422241, 0.37589895725250244, 0.05215315520763397, -0.504700779914856, 0.5676088929176331, 0.2840358018875122, -0.9373549222946167, -0.7085341811180115, -0.012548810802400112, -0.6493077874183655, -0.05804884806275368, 0.030994147062301636, -0.5890886783599854, 0.2939653992652893, 0.0076657552272081375, -0.4578098654747009, 0.1590808928012848, -0.8679675459861755, 0.707764208316803, -0.04726944863796234, -0.11381153017282486, -0.28496548533439636, -0.8108476996421814, 0.10513746738433838, 0.0017916061915457249, 0.24978049099445343, 0.1725950837135315, 0.041022978723049164, 1.0030149221420288, -0.47291362285614014, 0.806386411190033, -0.4288511574268341, 0.07600974291563034, 0.6470534801483154, -0.05237054452300072, -0.006849958561360836, -0.019003352150321007, -0.15414848923683167, -0.24011018872261047, 0.4861011803150177, -0.5670619606971741, -0.6540042161941528, 0.6028834581375122, -0.7469833493232727, -0.32770732045173645, -0.6669778823852539, -0.5768262147903442, -0.06869477778673172, 0.6694313287734985, -0.04394816607236862, 0.18118348717689514, -0.00439630588516593, -0.2621861696243286, 0.674114465713501, -0.24813403189182281, 0.29737570881843567, 0.10154437273740768, -0.8366108536720276, -0.41307759284973145, 1.0054309368133545, 0.40478578209877014, 0.12871205806732178, 0.41738393902778625, -0.03200150281190872, -0.34710732102394104, -0.3003544211387634, -0.5022131204605103, 0.006121441721916199, -1.1996287107467651, -0.17850583791732788, -0.39098575711250305, -0.2405187040567398, -0.5752151608467102, -0.09978777915239334, 0.06402672082185745, -1.0457137823104858, -0.2620992660522461, -0.13851389288902283, 0.8964102864265442, 1.1676769256591797, -0.03375253453850746, 0.18717029690742493, -0.6960978507995605, 0.02523138001561165, 0.4060850441455841, 0.5466997027397156, -0.022844867780804634, -0.02948714978992939, -0.21076816320419312, -0.10055061429738998, -0.17644129693508148, -0.8562323451042175, -0.17880366742610931, 0.07163138687610626, 0.30883458256721497, 0.25630664825439453, -0.062308501452207565, 0.7131151556968689, -0.30914372205734253, 0.9602220058441162, -0.06123848631978035, -0.8636868596076965, 0.7980313897132874, -0.5764756202697754, 0.18850839138031006, 0.6309341788291931, 0.33167529106140137, -0.8370117545127869, -0.09406818449497223, -0.38481006026268005, -0.5799261331558228, 0.315878301858902, 0.3122762143611908, -0.21015366911888123, 0.17294885218143463, 0.7591546177864075, 0.05513129010796547, 0.32370617985725403, -0.28242048621177673, -0.2644055485725403, -0.4089840054512024, -0.22870057821273804, 0.1464332640171051, -0.07004040479660034, -0.06999555230140686, -0.448787122964859, 0.6455667018890381, -0.13268104195594788, 0.25718939304351807, 0.42915311455726624, -0.20374207198619843, -0.17056314647197723, 0.23674580454826355, 0.8480811715126038, 0.866802453994751, 0.22123371064662933, 0.15659601986408234, 0.12368888407945633, -0.6239103674888611, -0.001975824823603034, 0.28663501143455505, -0.45315447449684143, -0.17450211942195892, 0.03294754400849342, 0.6339482069015503, 0.010951904579997063, -0.6401401162147522, -0.040173642337322235, 0.07070382684469223, 0.33298468589782715, -0.8269965052604675, 0.014416859485208988, 0.38649657368659973, 0.008137529715895653, 0.6272203922271729, 0.05174974724650383, 0.20864711701869965, -0.2900911271572113, -0.11362224817276001, 0.3209129869937897, -0.44650405645370483, -0.2864491939544678, 0.6088952422142029, 0.15440721809864044, -0.3407967984676361, 0.29799047112464905, -0.3478008508682251, -0.6479026079177856, 0.2410908341407776, 0.26715633273124695, 0.6183074116706848, -0.21605585515499115, 0.08521728962659836, 0.04780585318803787, 0.16576716303825378, 0.3519602417945862, 0.6838698387145996, -0.2615116238594055, -0.34061068296432495, -0.46284088492393494, -0.9217882752418518, -0.6179981231689453, -0.6247691512107849, -0.4850671887397766, 0.30990326404571533, -0.43379220366477966, -0.09479302167892456, 0.2178145945072174, -0.052772603929042816, -0.2940959632396698, 0.35372695326805115, -0.07107403874397278, 1.0073249340057373, -0.8777484893798828, 0.680442750453949, 1.1948457956314087, -0.9983115196228027, -0.7283772230148315, -0.40441086888313293, -0.027456656098365784, -0.7820771336555481, 0.9429157972335815, -0.24188587069511414, -0.1975170075893402, 0.1887933611869812, -0.4060894846916199, -1.0807969570159912, 1.2002018690109253, 0.10964704304933548, 0.13237878680229187, -0.06872110813856125, 0.4371204078197479, 0.7110832333564758, -0.03424817696213722, 0.22045117616653442, 0.4179903566837311, 0.8689053654670715, 0.15708677470684052, -1.0208444595336914, 0.06463105976581573, -0.8028397560119629, 0.06604378670454025, 0.2610684335231781, -0.550836980342865, 0.7038816809654236, 0.3824954628944397, -0.10982713103294373, 0.1492023766040802, 0.6916545033454895, -0.0077598984353244305, 0.22092929482460022, 0.12609395384788513, 0.7969348430633545, 1.0073038339614868, -0.19898317754268646, 1.0147895812988281, -0.2281794399023056, -0.01336572878062725, 0.7283458709716797, -0.21779786050319672, 0.6728329062461853, 0.6547015905380249, -0.360898494720459, 0.71198970079422, 0.8106493949890137, 0.2082749456167221, 0.019196735695004463, 0.3898967504501343, -0.09248912334442139, -0.16291266679763794, -0.6836732029914856, -0.5099478960037231, 0.3399994969367981, 0.6213427186012268, 0.08356700837612152, -0.11158978193998337, 0.17256878316402435, -0.05134681984782219, 0.1595645546913147, -0.2457248419523239, 0.6676055192947388, -0.009093300439417362, -0.6554796695709229, 0.33419448137283325, -0.2077675759792328, 0.41658052802085876, -0.5314422845840454, -0.29097890853881836, 0.22545884549617767, -0.20364321768283844, -0.5486039519309998, -0.8641424775123596, 0.9573252201080322, -0.053650449961423874, -0.2234530746936798, -0.14740635454654694, 1.2991000413894653, -0.07120807468891144, -0.546201765537262, -0.069419264793396, 0.4853830337524414, 0.2411632537841797, 0.1086903065443039, -0.12140102684497833, 0.16473108530044556, -0.2882034480571747, 0.02202456258237362, 0.06535803526639938, 0.36264726519584656, -0.32519668340682983, 0.6493702530860901, 0.527798056602478, 0.12556897103786469, 0.415920227766037, -0.2902066707611084, 0.851008415222168, -0.8454091548919678, -0.621513307094574, -0.5090078115463257, 0.46526142954826355, -0.25227731466293335, -0.2825845777988434, 0.9481068253517151, 0.4770546555519104, 0.7702986598014832, 0.019136544317007065, 1.4540530443191528, -0.5433853268623352, 0.930115818977356, -0.06526630371809006, 1.015333652496338, -0.4551723301410675, 0.012439469806849957, -0.3406772315502167, -0.7089622020721436, -0.7641574144363403, 0.42971497774124146, -0.5267128348350525, -0.09653134644031525, 0.5600298047065735, 0.31061863899230957, 0.24904945492744446, 0.4914552867412567, -0.09776425361633301, -0.04623597115278244, 0.07918091863393784, 0.23101185262203217, 0.8184678554534912, -0.3560982346534729, 0.4260987639427185, -0.003110838821157813, -0.24156449735164642, -0.13893543183803558, -0.5219451189041138, -0.5093072652816772, -0.910828173160553, -0.06640249490737915, -0.11556670814752579, 0.09391537308692932, 0.7276445627212524, 0.28073686361312866, -0.8665553331375122, -0.23533667623996735, -0.17993876338005066, 0.25216150283813477, 0.05356479063630104, -0.21675804257392883, 0.6685017943382263, -0.49670398235321045, -0.34501051902770996, -0.13122393190860748, 0.5599799752235413, -0.06714975088834763, -0.6435260772705078, -0.07259620726108551, -0.4278622269630432, -0.05712875723838806, 0.5561948418617249, 0.7384255528450012, -0.654405951499939, -0.36852478981018066, 0.345575749874115, 0.09286852180957794, 0.029836762696504593, 0.6745854616165161, -0.7230560779571533, 0.5976660847663879, 0.7724273204803467, 1.0581289529800415, 0.14765103161334991, -0.14563174545764923, 0.47011545300483704, -0.44692784547805786, 0.14315074682235718, 0.2026042342185974, 0.08989907056093216, 0.6473368406295776, -0.32211440801620483, 0.6341426968574524, 0.3389522433280945, -0.5125532746315002, -0.866765558719635, 0.3201086223125458, -0.7493643760681152, -0.17927047610282898, 1.0408297777175903, -0.1494346708059311, -0.2921268343925476, -0.4870602786540985, -0.5048863887786865, 0.636696457862854, 0.16558308899402618, 0.485376238822937, 0.9629323482513428, -0.3273702561855316, 0.15893973410129547, -0.27629661560058594, 0.6091721653938293, 0.47274476289749146, -1.0451306104660034, -0.020192166790366173, 0.5494285821914673, -0.006197750568389893, 0.8876060843467712, 0.8697888851165771, -0.2989653944969177, 0.42147645354270935, -0.19810591638088226, 0.25436931848526, 0.026974517852067947, -0.15751992166042328, -0.2769007086753845, 0.39928489923477173, 0.40306559205055237, -0.13977470993995667 ]
http://arxiv.org/abs/2406.18266v2
http://arxiv.org/pdf/2406.18266v2
"Vorbeşti Româneşte?" A Recipe to Train Powerful Romanian LLMs with English Instructions
2024-06-26T11:39:51
2024-06-27T20:30:47
Mihai Masala, Denis C. Ilie-Ablachim, Alexandru Dima, Dragos Corlatescu, Miruna Zavelca, Ovio Olaru, Simina Terian, Andrei Terian, Marius Leordeanu, Horia Velicu, Marius Popescu, Mihai Dascalu, Traian Rebedea
cs.CL
cs.CL
In recent years, Large Language Models (LLMs) have achieved almost human-like performance on various tasks. While some LLMs have been trained on multilingual data, most of the training data is in English; hence, their performance in English greatly exceeds other languages. To our knowledge, we are the first to collect and translate a large collection of texts, instructions, and benchmarks and train, evaluate, and release open-source LLMs tailored for Romanian. We evaluate our methods on four different categories, including academic benchmarks, MT-Bench (manually translated), and a professionally built historical, cultural, and social benchmark adapted to Romanian. We argue for the usefulness and high performance of RoLLMs by obtaining state-of-the-art results across the board. We publicly release all resources (i.e., data, training and evaluation code, models) to support and encourage research on Romanian LLMs while concurrently creating a generalizable recipe, adequate for other low or less-resourced languages.
[ -0.3754139542579651, -0.44997191429138184, 0.23723971843719482, 0.32952824234962463, -0.46837836503982544, -0.14024706184864044, -0.5809764862060547, -0.26270461082458496, 0.26190388202667236, 0.4851849675178528, -0.46650874614715576, -0.7430328130722046, -0.6585665345191956, 0.1429367959499359, -0.5136589407920837, 0.9002612233161926, -0.3512227535247803, 1.0208486318588257, -0.16438817977905273, -0.3751024603843689, -0.316469669342041, -0.5241987109184265, -0.3370853364467621, -0.40383386611938477, 0.7344111800193787, 0.5081207156181335, 0.08025377988815308, 0.4796992242336273, 0.5575786828994751, 0.22967132925987244, 0.0044793360866606236, 0.3632284700870514, -0.4904201924800873, 0.0599922239780426, -0.29129812121391296, -0.883543848991394, -0.27516698837280273, 0.050313908606767654, 0.5722799301147461, 0.2503639757633209, -0.28175508975982666, 0.3103100657463074, 0.13169793784618378, 0.6415781378746033, -0.4776337146759033, -0.0035058464854955673, -0.6822996139526367, 0.11478598415851593, -0.20646002888679504, -0.6312692761421204, -0.5216869115829468, -0.6229292154312134, -0.3232921361923218, -0.24333471059799194, 0.19170618057250977, -0.008827432058751583, 0.7104832530021667, -0.004638368263840675, -0.21564927697181702, -0.5603545308113098, -0.9204509854316711, 0.6604074835777283, -0.29174095392227173, 0.5126449465751648, 0.08395608514547348, 0.3601588010787964, -0.47340115904808044, -0.620022177696228, -0.20175418257713318, -0.25530973076820374, 0.34044957160949707, 0.12973345816135406, -0.3457905054092407, -0.20985005795955658, -0.05638783052563667, 0.3090656101703644, -0.6875807046890259, 0.34113577008247375, -0.4734545648097992, 0.01650243066251278, 0.5004857182502747, 0.08368142694234848, 0.3493911027908325, 0.32362115383148193, -0.5541379451751709, -0.13454660773277283, -1.0664235353469849, -0.24834132194519043, 0.30950406193733215, 0.10151498019695282, -0.15694475173950195, 0.946273922920227, 0.22227783501148224, 0.47758257389068604, -0.43666595220565796, -0.2457897663116455, -0.152538001537323, -0.06381005048751831, 0.06858309358358383, -0.033956386148929596, 0.8065410256385803, 0.2860633432865143, 0.4551328718662262, -0.5393761396408081, -0.33515194058418274, 0.22785262763500214, 0.2013215720653534, -1.0276762247085571, 0.1893068253993988, 0.11739379167556763, -0.09603055566549301, -0.0976921021938324, 0.01952376589179039, -0.5121963024139404, -0.06476642191410065, -0.4250542223453522, 0.21490731835365295, -0.6546763181686401, -0.028800642117857933, 0.1154811680316925, -0.16017405688762665, 0.6397419571876526, 0.21220433712005615, -0.6622064113616943, 0.36541450023651123, 0.975611686706543, 0.9364835619926453, -0.3637467622756958, -0.2775345742702484, -0.9404944777488708, 0.06370896100997925, -0.6119124889373779, 0.9799423813819885, -0.4937061667442322, -0.5741952061653137, 0.31112948060035706, 0.1541171669960022, 0.19245076179504395, -0.7190541625022888, 0.6514933109283447, -0.3620936870574951, 0.27673062682151794, -0.06684979796409607, -0.7037158608436584, 0.13616620004177094, -0.020077669993042946, -0.5053586959838867, 1.0803122520446777, -0.31068792939186096, -0.6544243693351746, 0.2518831193447113, -0.326945424079895, -0.6448909640312195, 0.28855153918266296, -0.36206239461898804, -0.08363495022058487, 0.419148325920105, -0.014455572701990604, 0.6930944919586182, -0.4757206439971924, 0.07980881631374359, -0.23228895664215088, -0.422946572303772, 0.1552974134683609, -0.38557180762290955, 0.7582082748413086, 0.24006663262844086, -0.5167709589004517, -0.1081511452794075, -0.7557194828987122, 0.013548338785767555, 0.060846973210573196, -0.5935251712799072, -0.25129300355911255, 0.048636846244335175, 0.26342952251434326, -0.1253564953804016, 0.2227630317211151, -0.3493484854698181, 0.28583991527557373, -0.18311479687690735, 0.530523955821991, 0.7550221681594849, -0.40314781665802, 0.45819592475891113, -0.2328191101551056, 0.7755633592605591, -0.2686272859573364, -0.03670189529657364, 0.06257355958223343, -0.23510529100894928, -0.8517012596130371, -0.49362054467201233, 0.566342830657959, 0.8386819958686829, -0.5331465601921082, 0.4147144556045532, -0.42566972970962524, -0.9218164682388306, -0.5580902099609375, 0.3951154053211212, 0.2799268066883087, -0.10130572319030762, 0.12389969825744629, -0.16493530571460724, -0.5978082418441772, -0.8463529348373413, -0.08819081634283066, 0.06233920529484749, -0.05147355794906616, 0.04918026179075241, 0.7219774127006531, -0.30838319659233093, 0.41412028670310974, -0.07930081337690353, -0.49295780062675476, -0.42613813281059265, 0.03680218383669853, -0.05692790448665619, 0.3570176959037781, 0.3943863809108734, -0.5607167482376099, -0.24599285423755646, 0.2762826085090637, -0.811431884765625, 0.16728322207927704, 0.33907774090766907, -0.48733240365982056, 0.3186975419521332, 0.6758394837379456, -0.43655329942703247, 0.07758896052837372, 0.8301594853401184, -0.03776944428682327, 0.490493506193161, -0.49317729473114014, -0.08571266382932663, -1.4940532445907593, 0.026954373344779015, 0.1735924333333969, -0.37323373556137085, -0.2397838830947876, 0.19186919927597046, 0.09399328380823135, -0.1175108328461647, -0.7026283740997314, 0.791999876499176, -0.7430337071418762, -0.04292674362659454, -0.09700190275907516, 0.2674599289894104, -0.23152956366539001, 0.25403112173080444, 0.28622353076934814, 0.9438120722770691, 0.39559438824653625, -0.58015376329422, 0.4581962823867798, 0.069048672914505, -0.6181177496910095, 0.7606345415115356, -0.5799620151519775, 0.09000418335199356, -0.10604622960090637, -0.0014414199395105243, -0.6258009672164917, -0.19375017285346985, 0.003995951265096664, -0.5074063539505005, 0.38627293705940247, -0.33011242747306824, -0.35814592242240906, -0.22350268065929413, -0.050248436629772186, -0.22741498053073883, 0.5347841382026672, -0.5798497796058655, 0.7662696838378906, 0.43033847212791443, 0.07606986165046692, -0.49025964736938477, -0.7055820822715759, 0.1315355896949768, -0.43200981616973877, -0.49980825185775757, 0.24043267965316772, -0.2258734405040741, -0.4298208951950073, -0.09524254500865936, 0.013297921977937222, -0.27995386719703674, 0.06588175892829895, 0.018411889672279358, 0.11240296810865402, -0.2366328090429306, 0.08812829107046127, -0.256069153547287, 0.0013992130989208817, -0.01297796331346035, -0.39172783493995667, 0.5735164284706116, -0.408491313457489, -0.12467564642429352, -0.4494546055793762, 0.34330037236213684, 0.6308902502059937, -0.41422238945961, 0.7147383689880371, 0.7602229118347168, -0.47258785367012024, -0.4454308748245239, -0.6893044114112854, -0.09867280721664429, -0.3871645927429199, 0.4288531243801117, -0.4924640357494354, -0.6755174398422241, 0.18710680305957794, -0.33436402678489685, 0.32585665583610535, 0.007961809635162354, 0.7430952787399292, -0.30726173520088196, 0.9363035559654236, 0.7268332839012146, -0.16736994683742523, 0.5378479361534119, -0.44910162687301636, -0.14584200084209442, -0.47750309109687805, -0.3297278881072998, -0.8464846014976501, -0.11032962054014206, -0.7373786568641663, -0.6785790920257568, 0.512803316116333, 0.1808841973543167, 0.2264641970396042, 0.40438634157180786, -0.28556400537490845, 0.4368516802787781, 0.5186557769775391, 0.12691640853881836, 0.14659811556339264, 0.4428490400314331, -0.339545339345932, -0.09899784624576569, -0.8285475969314575, -1.019993543624878, 1.0669714212417603, 0.1950671672821045, 0.9602100849151611, 0.011867130175232887, 0.9070863723754883, 0.127236470580101, 0.25649288296699524, -0.8853660821914673, 0.5038056969642639, -0.23921142518520355, -0.5842676758766174, -0.16618379950523376, -0.4138660132884979, -1.1774108409881592, 0.3010508418083191, -0.21523961424827576, -0.2858193814754486, -0.3040272295475006, 0.1459832340478897, 0.07879364490509033, 0.2445339411497116, -0.8912363052368164, 0.7999395132064819, -0.6902287602424622, -0.5613043904304504, -0.4548785388469696, -0.022436121478676796, 0.09853989630937576, 0.23200449347496033, 0.4482615292072296, -0.1259116232395172, -0.3497348129749298, 0.7279210686683655, -0.36671581864356995, 0.5588957667350769, -0.03147164732217789, -0.02409208193421364, 0.15087078511714935, 0.1470547765493393, 0.5924327373504639, 0.19819729030132294, -0.023589001968503, 0.26040226221084595, 0.0825498104095459, -0.7337621450424194, -0.5130556225776672, 0.6698188185691833, -0.8427557945251465, -0.5759087204933167, -0.4176178574562073, 0.1297307014465332, -0.12015906721353531, 0.11194063723087311, 0.455803781747818, 0.6412518620491028, -0.8074455857276917, 0.35272133350372314, 0.8798783421516418, -0.0028083643410354853, 0.31960391998291016, 0.6700200438499451, 0.03238063305616379, -0.5110476016998291, 0.9211978912353516, 0.13426506519317627, -0.023391129449009895, 0.5442122220993042, 0.055229440331459045, -0.08295311778783798, -0.6111533641815186, -0.7717120051383972, 0.39970120787620544, -0.49338459968566895, 0.011604560539126396, -0.28773725032806396, -0.05925514176487923, -0.054795775562524796, -0.1993720680475235, -0.7124661803245544, -0.020661432296037674, -0.31838542222976685, -0.19081449508666992, 0.251236230134964, 0.8977327346801758, -0.07018707692623138, -0.02899894304573536, -0.5812647938728333, 0.11927953362464905, 0.16265328228473663, 0.27776822447776794, -0.33455464243888855, -0.3527270257472992, -0.40023908019065857, 0.11067389696836472, -0.13685162365436554, -0.7396097779273987, 0.4191327691078186, -0.03100215271115303, 0.7000833749771118, 0.24325501918792725, -0.2681829333305359, 0.5267525315284729, -0.8382335901260376, 0.4543144702911377, 0.36314627528190613, -0.5995375514030457, 0.6108935475349426, -0.12485971301794052, 0.057817358523607254, 0.3967086672782898, 0.8243749141693115, -0.5695676207542419, -0.33018720149993896, -0.34308063983917236, -0.74711674451828, 0.5761299729347229, 0.10362520813941956, 0.457035094499588, -0.0646241307258606, 0.28449779748916626, 0.25044822692871094, 0.0760054960846901, -0.6207737922668457, -0.15584483742713928, 0.1292828619480133, -0.059376463294029236, -0.16460174322128296, -0.3357336223125458, -0.24626505374908447, -0.2659129798412323, 0.9600275158882141, -0.001811659662052989, 0.2572759985923767, 0.12657013535499573, -0.3587794899940491, 0.0707421600818634, 0.4408290684223175, 0.8191022872924805, 0.9021178483963013, 0.045537568628787994, 0.08607882261276245, 0.42521780729293823, -0.4508371949195862, 0.3688420355319977, -0.20729300379753113, -0.023136401548981667, 0.2753768861293793, 0.5196601152420044, 0.9115212559700012, 0.3025535047054291, -0.7895087003707886, 0.5307228565216064, -0.5069303512573242, -0.19167251884937286, -0.9847630262374878, 0.16829513013362885, 0.4584859609603882, 0.2293359935283661, 0.31553709506988525, -0.1447504311800003, -0.32166874408721924, -0.6656907200813293, 0.0436624214053154, 0.4670422375202179, -0.6584084033966064, -0.39759930968284607, 0.484140545129776, 0.46128612756729126, -0.7085205912590027, 0.2165573239326477, -0.11546659469604492, -0.32986968755722046, 0.1662062108516693, 0.25639012455940247, 0.7134867906570435, -0.2936283349990845, 0.36536967754364014, 0.39842867851257324, 0.5095731019973755, -0.22599995136260986, 0.33901676535606384, 0.1272953450679779, -0.5333535075187683, -0.3225066065788269, -0.7666321992874146, -0.4445699155330658, 0.44636619091033936, -0.8307194113731384, 0.7845979332923889, -0.3424888849258423, -0.04030880331993103, -0.06401490420103073, -0.051101602613925934, -0.8897350430488586, 0.10662422329187393, 0.14620822668075562, 1.1871058940887451, -0.6535009741783142, 0.8816502690315247, 0.8788475394248962, -0.20774616301059723, -0.43886569142341614, -0.3914552628993988, -0.3383843004703522, -1.0439870357513428, 0.4703870713710785, -0.010647003538906574, -0.21747514605522156, -0.08388864994049072, -0.5418835878372192, -0.38367268443107605, 0.7624319791793823, 0.7182798385620117, -0.833145260810852, -0.2073315978050232, 0.13614311814308167, 0.6038616299629211, -0.5009552836418152, 0.43342486023902893, 0.4581488072872162, 0.32344067096710205, -0.06549277156591415, -0.5875468254089355, -0.45636969804763794, -0.3270642161369324, 0.1623419225215912, -0.11423782259225845, -0.7216044068336487, 0.08038422465324402, -0.09247007966041565, -0.2913539409637451, 0.0692305639386177, 0.7838701009750366, 0.07236645370721817, -0.15003585815429688, 0.22130097448825836, 0.3318195343017578, 0.7954179644584656, -0.18615159392356873, 1.0615077018737793, -0.567902147769928, -0.23292136192321777, 0.9524654746055603, -0.15862713754177094, 1.2100993394851685, 0.49058711528778076, -0.035164233297109604, 0.5004467964172363, 0.6444992423057556, 0.0575125515460968, 0.3161880075931549, 0.3902692496776581, -0.3531354069709778, -0.44024303555488586, -0.15308059751987457, -0.3043811023235321, 0.6007243990898132, 0.21319645643234253, -0.2804279625415802, -0.11045163124799728, 0.21193760633468628, 0.3917752802371979, 0.26623016595840454, -0.17591381072998047, 0.8852832317352295, 0.2139943242073059, -0.887540876865387, 1.0865614414215088, 0.13123206794261932, 0.6583085656166077, -0.6357215642929077, 0.008053305558860302, -0.5239012837409973, 0.34111231565475464, 0.041517775505781174, -0.3403863310813904, -0.06655744463205338, 0.4084148705005646, -0.05803033336997032, -0.2908101975917816, 0.11801578104496002, -0.48948320746421814, -0.7934163212776184, 0.6618095636367798, 0.4600774645805359, 0.5960730314254761, 0.15215687453746796, -0.48011747002601624, 0.2418089658021927, 0.02848868817090988, -0.22320249676704407, 0.2527788579463959, 0.5413114428520203, -0.0862412378191948, 0.7202650308609009, 0.33277449011802673, 0.6014259457588196, 0.32425209879875183, 0.08850523829460144, 0.6467903852462769, -0.526216983795166, -0.08624321967363358, -0.8380157351493835, 0.36235836148262024, 0.08285494893789291, -0.5148913264274597, 0.5529218912124634, 0.8904772996902466, 1.1737514734268188, -0.09176577627658844, 0.8522105813026428, 0.27813807129859924, 0.3654860854148865, -0.6933520436286926, 0.4707176685333252, -0.7950299382209778, 0.012872389517724514, 0.3759256899356842, -1.1372307538986206, 0.1741829216480255, 0.4681534767150879, -0.03943173214793205, -0.21018017828464508, 0.7197972536087036, 0.945866048336029, 0.029666390269994736, -0.08909360319375992, 0.4153103232383728, 0.3100959360599518, 0.18178923428058624, 0.40987443923950195, 0.6901533007621765, -0.2736816108226776, 0.9597513675689697, -0.1571568101644516, -0.3668588399887085, -0.2586371898651123, -0.6668721437454224, -1.204414963722229, -0.632824718952179, -0.09755835682153702, -0.3248157501220703, 0.44152283668518066, 1.0220897197723389, 0.7738481760025024, -0.9412409067153931, -0.6976944804191589, -0.042884375900030136, 0.04546845704317093, -0.13681352138519287, -0.09523490071296692, 0.06653359532356262, -0.4119868278503418, -1.0738730430603027, 0.5371513962745667, 0.12080687284469604, 0.11637099832296371, -0.6482172608375549, -0.3581518530845642, 0.015710707753896713, 0.08680451661348343, 0.5481778979301453, 0.07943177968263626, -0.7167339324951172, 0.0741163045167923, 0.22901572287082672, -0.35397008061408997, 0.14014090597629547, 0.9401353597640991, -0.16022305190563202, 0.3246634900569916, 0.363318532705307, 0.4007459282875061, 0.7778651118278503, -0.4477933943271637, 0.8863469958305359, -0.5111895203590393, 0.4136718511581421, 0.2523103952407837, 0.62003093957901, 0.46094653010368347, 0.025917060673236847, 0.71822190284729, 0.12123548984527588, -0.28747469186782837, -0.8267884254455566, -0.16653186082839966, -0.6432940363883972, -0.24642039835453033, 1.5590769052505493, -0.22456859052181244, -0.6975728273391724, 0.2978323996067047, -0.2635393738746643, 0.302122563123703, -0.24554479122161865, 0.6949686408042908, 0.8752014636993408, 0.3747769594192505, 0.04002954810857773, -0.805791437625885, 0.4033968150615692, 0.3205662965774536, -0.7719167470932007, -0.018840661272406578, 0.38457661867141724, 0.5685461759567261, -0.17204447090625763, 0.4695565402507782, -0.28037896752357483, 0.3332085609436035, -0.23521991074085236, 0.6460387706756592, 0.09298235177993774, -0.5538791418075562, -0.24729113280773163, 0.09299972653388977, 0.33246907591819763, 0.00434641819447279 ]
http://arxiv.org/abs/2406.18259v1
http://arxiv.org/pdf/2406.18259v1
Detecting Machine-Generated Texts: Not Just "AI vs Humans" and Explainability is Complicated
2024-06-26T11:11:47
2024-06-26T11:11:47
Jiazhou Ji, Ruizhe Li, Shujun Li, Jie Guo, Weidong Qiu, Zheng Huang, Chiyu Chen, Xiaoyu Jiang, Xinru Lu
cs.CL
cs.CL, cs.AI
As LLMs rapidly advance, increasing concerns arise regarding risks about actual authorship of texts we see online and in real world. The task of distinguishing LLM-authored texts is complicated by the nuanced and overlapping behaviors of both machines and humans. In this paper, we challenge the current practice of considering LLM-generated text detection a binary classification task of differentiating human from AI. Instead, we introduce a novel ternary text classification scheme, adding an "undecided" category for texts that could be attributed to either source, and we show that this new category is crucial to understand how to make the detection result more explainable to lay users. This research shifts the paradigm from merely classifying to explaining machine-generated texts, emphasizing need for detectors to provide clear and understandable explanations to users. Our study involves creating four new datasets comprised of texts from various LLMs and human authors. Based on new datasets, we performed binary classification tests to ascertain the most effective SOTA detection methods and identified SOTA LLMs capable of producing harder-to-detect texts. We constructed a new dataset of texts generated by two top-performing LLMs and human authors, and asked three human annotators to produce ternary labels with explanation notes. This dataset was used to investigate how three top-performing SOTA detectors behave in new ternary classification context. Our results highlight why "undecided" category is much needed from the viewpoint of explainability. Additionally, we conducted an analysis of explainability of the three best-performing detectors and the explanation notes of the human annotators, revealing insights about the complexity of explainable detection of machine-generated texts. Finally, we propose guidelines for developing future detection systems with improved explanatory power.
[ -0.29901087284088135, -0.6467402577400208, 0.7996317744255066, -0.20328451693058014, -0.20963628590106964, 0.21312354505062103, -0.13606609404087067, -0.7282553315162659, -0.11784674227237701, 0.5795385837554932, -0.5566647052764893, -0.5703272819519043, -0.7013631463050842, 0.5622795820236206, -0.5664840340614319, 1.220485806465149, -0.06854776293039322, -0.31924208998680115, -0.23708677291870117, -0.06970047950744629, -0.41370752453804016, -0.5389953255653381, -0.4733869731426239, -0.46599337458610535, 0.4002775549888611, 0.49883317947387695, 0.5591102838516235, 0.6657274961471558, 0.41006356477737427, 0.36604127287864685, -0.08490172773599625, 0.3528439700603485, -0.2221677452325821, 0.11789613962173462, -0.053838733583688736, -0.6754471659660339, -0.30751198530197144, -0.2224123477935791, 0.3155766427516937, 0.4501437246799469, 0.3614342510700226, 0.12332157045602798, -0.0062649850733578205, 0.48766839504241943, -0.4687907099723816, -0.08150892704725266, -0.5420083403587341, 0.12059476971626282, -0.38062751293182373, -0.6930634379386902, -0.6378913521766663, -0.26111364364624023, -0.08833953738212585, -0.45344609022140503, 0.40519577264785767, 0.14110442996025085, 0.6049872040748596, 0.252515971660614, -0.5227123498916626, -0.6735640168190002, -0.8030636310577393, 0.6350848078727722, -0.44990041851997375, -0.05692317709326744, 0.09363997727632523, 0.09146878123283386, -0.1325046569108963, -0.556188702583313, -0.7415168881416321, 0.016195474192500114, -0.08116523176431656, -0.03159231320023537, -0.4596598446369171, -0.17315471172332764, 0.14299438893795013, 0.005405034404247999, -0.6078664064407349, 0.4647310674190521, -0.1741694062948227, -0.3318602442741394, 0.6196279525756836, 0.14699481427669525, 0.6488043069839478, -0.32359394431114197, -0.48988479375839233, 0.42529284954071045, -0.7567413449287415, 0.050704773515462875, 0.4589219391345978, 0.08661191910505295, 0.04423173516988754, 0.5966320633888245, 0.09255804866552353, 0.27453598380088806, 0.043263982981443405, -0.12266217917203903, 0.011332225985825062, -0.1929188370704651, -0.04953617975115776, 0.5109974145889282, 1.0204555988311768, 0.25753647089004517, 0.31104910373687744, -0.1651940643787384, -0.22175616025924683, 0.11890760809183121, 0.057136550545692444, -0.5854160189628601, -0.11217799782752991, 0.18138498067855835, -0.6032153964042664, -0.6435664296150208, 0.07689335197210312, -0.3160723149776459, -0.7551688551902771, -0.14218242466449738, 0.5241646766662598, -0.07947315275669098, -0.27660563588142395, 0.06106708571314812, -0.1427036076784134, -0.13313548266887665, 0.35200420022010803, -0.9871132373809814, 0.07766623795032501, 0.7407705187797546, 0.4591115415096283, -0.2718093991279602, -0.16904519498348236, -0.3036065697669983, 0.12242888659238815, -0.4622945189476013, 1.1120837926864624, -0.3916915953159332, -0.08390144258737564, -0.2452915608882904, -0.14968125522136688, 0.34645116329193115, -0.3855929374694824, 0.5141858458518982, -0.49886441230773926, 0.6680642366409302, -0.15763013064861298, -0.45037704706192017, -0.32637614011764526, -0.012819466181099415, -0.4820724129676819, 1.1095651388168335, -0.22632847726345062, -0.9042466282844543, 0.6601355075836182, -0.6303308010101318, -0.4450541138648987, 0.3923945426940918, -0.314188152551651, -0.6273037791252136, 0.07384991645812988, 0.04669254645705223, 0.8013936877250671, -0.3656671643257141, 0.7564212083816528, -0.1579895168542862, -0.650189995765686, 0.7592024207115173, -0.5498049855232239, 0.788074791431427, 0.20993424952030182, -0.6928724050521851, 0.2060144543647766, -0.7473882436752319, -0.12706881761550903, 0.12411298602819443, -0.27723342180252075, -0.3209433853626251, 0.030875777825713158, 0.08346458524465561, -0.12971477210521698, 0.21838848292827606, -0.40038326382637024, -0.13582393527030945, -0.18866278231143951, 0.6526912450790405, 0.9252377152442932, -0.13838110864162445, 0.44603264331817627, -0.1606920212507248, 0.42508363723754883, -0.13354548811912537, -0.1253526359796524, -0.19094206392765045, -0.5106774568557739, -0.7073125839233398, -0.18421657383441925, 0.20011036098003387, 0.3369162380695343, -0.8886123895645142, 0.603577196598053, -0.17286820709705353, -0.322736531496048, -0.2880331873893738, 0.07659527659416199, 0.5643172264099121, 0.4332285523414612, 0.14455218613147736, -0.03106740117073059, -0.6225077509880066, -0.719703733921051, -0.5709853768348694, -0.5348634123802185, -0.1265690177679062, 0.17984001338481903, 0.7069292664527893, -0.24689644575119019, 0.955498218536377, -0.3699985444545746, 0.04281868040561676, -0.49545249342918396, 0.4346754252910614, 0.03770295903086662, 0.24144712090492249, 0.29168936610221863, -0.988624632358551, -0.2774648070335388, -0.06299833208322525, -1.166678786277771, -0.4769342839717865, -0.32632771134376526, 0.09312179684638977, 0.4292319715023041, 0.587526261806488, -0.37031736969947815, 0.5310074687004089, -0.043052200227975845, -0.4999469220638275, 0.4380791485309601, -0.15675106644630432, -0.011891831643879414, -0.8568143248558044, 0.06363911181688309, -0.030932722613215446, -0.4040091633796692, -0.7596933245658875, 0.02957414835691452, -0.0733284279704094, 0.061866097152233124, -0.35938021540641785, 0.34432709217071533, -0.40136396884918213, -0.10351447761058807, -0.4212718904018402, 0.04503371939063072, -0.0009464991744607687, 0.45406895875930786, 0.018550289794802666, 0.6085916757583618, 0.2319522202014923, -0.5874384641647339, 0.092383474111557, 0.06758670508861542, -0.20505160093307495, 0.573782742023468, -0.5994508266448975, 0.18208441138267517, -0.3244323432445526, 0.3432570695877075, -1.173082947731018, -0.1703420877456665, 0.5160678029060364, -0.792649507522583, 0.1343420296907425, -0.0816124752163887, -0.6974654197692871, -0.1318448781967163, -0.28620681166648865, 0.20003458857536316, 0.31297093629837036, -0.5342631936073303, 0.6336957216262817, 0.41424816846847534, -0.1715700626373291, -0.5072001218795776, -0.6960844397544861, 0.4379531145095825, -0.5612690448760986, -0.44597914814949036, 0.28933146595954895, -0.034391868859529495, -0.2655971646308899, 0.08473747968673706, -0.20236298441886902, -0.15411551296710968, 0.5431671738624573, 0.48309358954429626, 0.330367773771286, -0.27543914318084717, 0.31411951780319214, -0.0685509443283081, -0.6642679572105408, 0.2602101266384125, -0.2564021944999695, 0.23899158835411072, -0.11278783529996872, -0.21383550763130188, -0.7366113066673279, 0.35885679721832275, 0.3020581603050232, 0.09815504401922226, 0.5231748223304749, 0.9172719120979309, -0.330567330121994, -0.12343346327543259, -0.30633115768432617, -0.032959386706352234, -0.48825374245643616, 0.1490909457206726, -0.4343942701816559, -0.9919691681861877, 0.25565305352211, 0.17207388579845428, -0.02493998408317566, 0.6939800977706909, 0.7568923830986023, -0.4379217326641083, 1.0385056734085083, 0.6665900945663452, 0.2433522641658783, 0.20927926898002625, 0.036908235400915146, 0.22750645875930786, -0.3468807339668274, -0.45396873354911804, -0.6622825860977173, -0.29834526777267456, -1.0483304262161255, -0.035834942013025284, 0.31072959303855896, -0.3061048090457916, -0.3173917531967163, 0.21889415383338928, -0.7771714925765991, 0.7883506417274475, 0.6177141070365906, 0.21535684168338776, 0.6262701153755188, -0.0994921401143074, 0.41720134019851685, 0.07475442439317703, -0.35354846715927124, -1.054943323135376, 1.1814156770706177, 0.2887468934059143, 0.6925620436668396, 0.24044078588485718, 0.9182812571525574, 0.7056939601898193, 0.18545514345169067, -0.6059528589248657, 0.6810811758041382, -0.30454424023628235, -0.8410098552703857, -0.09829916805028915, -0.3428694009780884, -1.1190218925476074, 0.10222195833921432, -0.49899330735206604, -0.7343751788139343, -0.15253570675849915, 0.018674282357096672, -0.19576045870780945, 0.32462021708488464, -0.7383959293365479, 0.6482424139976501, -0.4149794280529022, -0.15022175014019012, 0.17472024261951447, -0.8217887282371521, 0.3422510325908661, -0.10265423357486725, 0.19325436651706696, -0.14036664366722107, -0.21940362453460693, 1.035873293876648, -0.30071142315864563, 1.0080931186676025, -0.08490895479917526, -0.19106465578079224, 0.4428284168243408, 0.12723562121391296, 0.2673097252845764, -0.06795462220907211, 0.09982580691576004, 0.12158004194498062, -0.25276434421539307, -0.2786516547203064, -0.386648952960968, 0.33252570033073425, -0.7267000675201416, -0.48607465624809265, -0.40391162037849426, -0.27713149785995483, 0.21211588382720947, 0.410409539937973, 0.6937658786773682, 0.3690638840198517, 0.05519355461001396, 0.2173711061477661, 0.8122972249984741, -0.20428802073001862, 0.35514840483665466, 0.4893170893192291, 0.049364712089300156, 0.017980851233005524, 1.1096996068954468, -0.18740996718406677, -0.11040788143873215, 0.830169141292572, 0.34298279881477356, -0.39572176337242126, -0.8181815147399902, -0.548377275466919, -0.20342455804347992, -0.8381195068359375, 0.005485713016241789, -0.9454348683357239, 0.0017157078254967928, -0.012493166141211987, -0.2835069000720978, 0.09431099146604538, -0.48694196343421936, -0.7937933802604675, -0.062827929854393, 0.23116324841976166, 1.0317035913467407, 0.032645903527736664, 0.33468642830848694, -0.5001019835472107, 0.5671857595443726, 0.1736026555299759, -0.11414941400289536, -0.11070238053798676, -0.5321959853172302, 0.17341706156730652, -0.19614183902740479, -0.20483508706092834, -0.9356849789619446, 0.14136123657226562, -0.09065345674753189, 0.331102579832077, 0.38436222076416016, 0.19712084531784058, 0.2893776595592499, -0.12342306226491928, 0.6080951690673828, 0.28116753697395325, -1.0796514749526978, 0.4227651059627533, -0.22558565437793732, -0.20240293443202972, 0.42424798011779785, 0.2633502185344696, -0.319709450006485, -0.3954491913318634, -0.5457887053489685, -0.7477635145187378, 0.829738199710846, 0.43726152181625366, 0.12492367625236511, 0.32905465364456177, 0.33294373750686646, 0.6624242067337036, 0.10147403925657272, -1.0610547065734863, -0.3092038333415985, 0.17274858057498932, -0.5150592923164368, -0.11150556802749634, -0.3451128900051117, 0.020984001457691193, 0.35413387417793274, 0.46716219186782837, -0.11728373169898987, 0.40289226174354553, -0.02297898381948471, -0.2744510769844055, 0.04614530876278877, 0.42201653122901917, 0.4269063174724579, 0.4203146696090698, -0.04960661754012108, 0.7398872971534729, -0.03722194954752922, -0.28430411219596863, 0.39793118834495544, -0.07691583037376404, -0.41585299372673035, -0.034110791981220245, 0.9187861680984497, 0.6606847047805786, 0.019243858754634857, -0.5726293325424194, 0.5315839052200317, -0.15493269264698029, -0.23623612523078918, -0.12160585075616837, 0.38969171047210693, -0.038309864699840546, 0.17876648902893066, 0.5026767253875732, 0.2550284266471863, 0.34992343187332153, -0.6248804926872253, -0.05052323639392853, 0.3011949360370636, -0.3580687344074249, -0.47862404584884644, 0.6647834181785583, 0.4228106737136841, -0.5293365716934204, 0.11216314882040024, -0.3591330349445343, -0.7633192539215088, 0.8259089589118958, 0.49157994985580444, 0.9520236253738403, 0.41242021322250366, 0.3963994085788727, -0.27901172637939453, 0.3986733555793762, 0.19755704700946808, 0.3201702833175659, -0.32176443934440613, -0.6992967128753662, -0.18058376014232635, -0.12028921395540237, -0.5448980331420898, 0.08282213658094406, -0.47365787625312805, 0.28087255358695984, -0.33158329129219055, -0.10298186540603638, 0.6162723898887634, -0.005510059185326099, -0.46247977018356323, 0.12255172431468964, 0.20155419409275055, 0.3258224427700043, -1.0446971654891968, 0.08539167046546936, 0.688442587852478, -0.19300046563148499, -0.43550318479537964, 0.18015092611312866, 0.24169622361660004, -1.1154370307922363, 0.6132673621177673, 0.4427177906036377, -0.3168860077857971, -0.02165861614048481, -0.7953130602836609, -0.24395214021205902, 0.8531857132911682, 0.3136262595653534, -0.05653911456465721, 0.14629212021827698, 0.14467434585094452, 0.7029008269309998, -0.22200702130794525, 0.5331326127052307, 0.34078240394592285, 0.5267134308815002, 0.013696035370230675, -0.43262237310409546, 0.2928289771080017, -0.1282850056886673, -0.19748792052268982, 0.3246156871318817, -0.3444216549396515, 0.5397399663925171, -0.5312839150428772, -0.4240078032016754, 0.10475358366966248, 0.5431277751922607, 0.30300185084342957, 1.104683518409729, 0.4144993722438812, 0.182087704539299, 0.7816628813743591, -0.07215351611375809, 0.7353746891021729, 0.37230184674263, 0.1506289392709732, 1.0254651308059692, -0.08657411485910416, 0.5311790108680725, 0.2601068913936615, -0.21429869532585144, 0.6319323778152466, 0.838472843170166, -0.0012675175676122308, 0.08728548139333725, 0.0886811837553978, -0.19742530584335327, -0.5146501064300537, -0.3676917552947998, -0.2652396261692047, 0.7239376902580261, 0.04288928210735321, -0.4977680444717407, -0.0244564488530159, -0.040713705122470856, 0.13617929816246033, 0.1682751476764679, -0.17353671789169312, 0.8920832872390747, -0.11262594163417816, -0.5217996835708618, 0.3791429102420807, 0.15060420334339142, 0.7240950465202332, -0.16205817461013794, 0.21554388105869293, 0.014208989217877388, 0.1028599813580513, -0.6171008944511414, -1.232702374458313, -0.027411792427301407, 0.6247366070747375, -0.2331721931695938, -0.4053006172180176, 0.9584625959396362, -0.15129347145557404, -0.4192500114440918, -0.10638222843408585, 0.5741667151451111, 0.5472816824913025, 0.039975859224796295, -0.46730709075927734, -0.03495234623551369, 0.24937410652637482, -0.0025044516660273075, 0.09596023708581924, 0.9487302303314209, -0.298336923122406, 0.8131617307662964, 0.7727749347686768, -0.31438663601875305, -0.2697352170944214, -0.0884832888841629, 0.6284413933753967, -0.819595992565155, -0.4800974428653717, -1.2537647485733032, 0.33648064732551575, 0.20741848647594452, -0.21819531917572021, 0.5229153633117676, 0.47513628005981445, 0.4660666286945343, 0.03280331566929817, 0.9030866026878357, -0.09512430429458618, 0.304491251707077, -0.6202048063278198, 0.5934045910835266, -0.6268017292022705, 0.5268620252609253, -0.15273118019104004, -0.5990170240402222, -0.3253631889820099, 0.22114349901676178, -0.03458502143621445, 0.19667242467403412, 0.6314371824264526, 0.4504488408565521, 0.1078355610370636, 0.291525274515152, 0.013119007460772991, 0.14938350021839142, 0.4319809675216675, 0.7557634711265564, 1.2294601202011108, -0.32058945298194885, 0.8611009120941162, 0.12053397297859192, -0.2532702386379242, -0.417936772108078, -1.0540398359298706, -1.1471630334854126, -0.5440322160720825, -0.4083062410354614, -0.0997091606259346, -0.1566389799118042, 0.5015268325805664, 0.5402625203132629, -0.7193412184715271, 0.18735718727111816, -0.28589537739753723, 0.6187418699264526, 0.17116105556488037, -0.2318938821554184, 0.3028850853443146, 0.10307852178812027, -0.5942350029945374, 0.04600847139954567, 0.4320438504219055, 0.1303364485502243, -0.2533763349056244, -0.03975444659590721, 0.22386550903320312, -0.09170667827129364, 0.4943283200263977, 0.1569313257932663, -0.8259856104850769, -0.18988864123821259, -0.03235018998384476, -0.17360790073871613, -0.017520109191536903, 0.7757045030593872, -0.6893030405044556, 0.5356189608573914, 0.5805130004882812, 0.4564005434513092, 0.24186104536056519, -0.07204587012529373, 0.16723299026489258, -0.5498331189155579, -0.3457701802253723, 0.22102609276771545, 0.04400937259197235, 0.35286304354667664, -0.6986287832260132, 0.6003928184509277, 0.31483715772628784, -0.4452076256275177, -0.9960087537765503, 0.20314228534698486, -0.9043242335319519, -0.48695093393325806, 1.0385830402374268, 0.05658944696187973, -0.07810115814208984, -0.5152126550674438, -0.30470553040504456, 0.2996547222137451, -0.4638562798500061, 0.736527144908905, 0.43565723299980164, -0.33509793877601624, 0.0035796465817838907, -0.22303563356399536, 0.16510386765003204, 0.22122356295585632, -1.0481892824172974, 0.016838202252984047, 0.3191162943840027, 0.2020283192396164, 0.1489650309085846, 0.7594456672668457, 0.08488842844963074, 0.3934495747089386, -0.20031216740608215, 0.11304139345884323, -0.20892353355884552, -0.3935711085796356, -0.1331111192703247, 0.1721385419368744, 0.029335753992199898, -0.21323081851005554 ]
http://arxiv.org/abs/2406.18256v1
http://arxiv.org/pdf/2406.18256v1
LLaMIPa: An Incremental Discourse Parser
2024-06-26T11:08:17
2024-06-26T11:08:17
Kate Thompson, Akshay Chaturvedi, Julie Hunter, Nicholas Asher
cs.CL
cs.CL
This paper provides the first discourse parsing experiments with a large language model (LLM) finetuned on corpora annotated in the style of SDRT (Asher, 1993; Asher and Lascarides, 2003). The result is a discourse parser, LLaMIPa (LLaMA Incremental Parser), which is able to more fully exploit discourse context, leading to substantial performance gains over approaches that use encoder-only models to provide local, context-sensitive representations of discourse units. Furthermore, it is able to process discourse data incrementally, which is essential for the eventual use of discourse information in downstream tasks.
[ -0.211610347032547, -0.8994625210762024, 0.7893521785736084, 0.47287002205848694, -0.4488087296485901, 0.07502653449773788, 0.05425790697336197, -0.32895344495773315, 0.3680834472179413, 0.5430944561958313, -0.27952516078948975, -0.47106486558914185, -0.6729445457458496, 0.2231801152229309, -0.5640257000923157, 0.6811731457710266, 0.057880278676748276, 0.1397000551223755, -0.16939927637577057, 0.018885117024183273, -0.4488389790058136, -0.5335538983345032, -0.954033374786377, -0.45127323269844055, 0.5256966948509216, 0.519168496131897, 0.46030130982398987, 0.6118951439857483, 0.3239057660102844, 0.362018883228302, -0.22733691334724426, -0.05420947074890137, -0.39424070715904236, 0.415739506483078, -0.23194438219070435, -0.5637752413749695, -0.3951135575771332, -0.3988181948661804, 1.0108907222747803, 0.6661258339881897, 0.010301830247044563, 0.2024756520986557, 0.02577729895710945, 0.164911150932312, -0.41485247015953064, 0.055468183010816574, -0.6525481343269348, 0.08559195697307587, -0.39344581961631775, -0.6001186966896057, -0.5861776471138, -0.6315225958824158, -0.2800736427307129, -0.3092958331108093, -0.23801296949386597, -0.2077501267194748, 0.7930781245231628, 0.3517450988292694, -0.46485334634780884, -0.31616532802581787, -0.6382173895835876, 0.5002784729003906, -0.7191863059997559, 0.1993553787469864, 0.06633932143449783, 0.11258745193481445, -0.1936648041009903, -1.1203421354293823, -0.6565012335777283, -0.30966851115226746, -0.11243262141942978, -0.2525268793106079, -0.08090180158615112, -0.0017124543664976954, 0.23336119949817657, 0.5727874636650085, -0.40269264578819275, 0.4283411204814911, -0.34019461274147034, 0.07555095106363297, 0.22182723879814148, 0.3577929735183716, 0.12599492073059082, -0.2135789692401886, -0.5380004048347473, 0.2034195512533188, -0.9138225317001343, -0.03907579928636551, 0.18250243365764618, 0.103880874812603, -0.015704836696386337, 0.7314209342002869, -0.05343538522720337, 0.6208685636520386, -0.10249342769384384, -0.5514554977416992, 0.01032899972051382, 0.04463987424969673, -0.5271353125572205, 0.2158142477273941, 0.5845869183540344, -0.27492305636405945, -0.0020684523042291403, 0.23571154475212097, -0.030255207791924477, 0.3153914213180542, 0.07472670823335648, -0.8166912198066711, 0.00547315226867795, 0.220650315284729, -0.19060467183589935, -0.3472867012023926, -0.4292362630367279, -0.8281819224357605, -0.3889462351799011, -0.5791112184524536, -0.10506143420934677, -0.45887666940689087, -0.08635368198156357, -0.11356792598962784, 0.38298577070236206, 0.5104855895042419, 0.46944400668144226, -0.7077863812446594, 0.564141035079956, 1.034732460975647, 0.955940842628479, -0.36459314823150635, -0.33836567401885986, -0.4904769957065582, 0.1688360571861267, -0.3225569725036621, 1.2755078077316284, -0.6625289916992188, -0.4294583201408386, 0.04658351466059685, 0.06715131551027298, 0.1337655633687973, -0.4706840217113495, 0.7525420188903809, -0.5991401672363281, -0.18914270401000977, -0.1805317997932434, -0.7765182256698608, -0.12272766977548599, 0.4083564281463623, -0.49382299184799194, 1.0018234252929688, 0.22066186368465424, -0.774272620677948, 0.1773107945919037, -0.6416880488395691, -0.32004958391189575, 0.22974823415279388, -0.3728524446487427, -0.057850565761327744, 0.007122087758034468, 0.08303981274366379, 0.3248276114463806, -0.4704445004463196, 0.6968747973442078, -0.09498792886734009, -0.4510304927825928, 0.40709155797958374, -0.6176976561546326, 0.9846798777580261, 0.18387582898139954, -0.11574839800596237, 0.19521352648735046, -0.8976518511772156, -0.27564868330955505, 0.2528078854084015, -0.5541902184486389, -0.35162580013275146, -0.2608764171600342, -0.07016752660274506, 0.14322637021541595, 0.5119932293891907, -0.6646983623504639, 0.3864522874355316, -0.31113019585609436, 0.32363855838775635, 1.0372438430786133, 0.05809202045202255, 0.05049985274672508, -0.021419890224933624, 0.6195797324180603, 0.04294688254594803, -0.21042706072330475, -0.5436040759086609, -0.5546761155128479, -1.079309344291687, -0.4690108001232147, 0.582011878490448, 0.6335986852645874, -0.5543763041496277, 0.10289309918880463, -0.5231340527534485, -0.3725224733352661, -0.714546263217926, -0.08268218487501144, 0.1718231439590454, 0.6782432794570923, 0.1091962531208992, -0.2546974718570709, -0.8328229784965515, -1.0830943584442139, 0.25044575333595276, -0.07978396862745285, -0.02602582424879074, -0.09299440681934357, 0.5146578550338745, -0.19366824626922607, 0.7311222553253174, -0.6026937365531921, -0.13444548845291138, -0.3180364668369293, 0.18142758309841156, 0.18689295649528503, 0.34454694390296936, 0.26040321588516235, -0.4995231330394745, -0.4110877513885498, 0.0594046451151371, -0.8786247372627258, -0.2850046753883362, -0.07802057266235352, -0.07812678068876266, -0.03052946925163269, 0.6511019468307495, -0.6247315406799316, 0.3098406493663788, 0.7625793814659119, -0.3431830406188965, 0.33726292848587036, -0.01781485043466091, 0.041865505278110504, -1.125665307044983, -0.00262164743617177, -0.25304514169692993, -0.5668603777885437, -0.5930986404418945, 0.2329285740852356, -0.0613451786339283, -0.027091454714536667, -0.672778844833374, 0.5366373658180237, -0.13923075795173645, -0.45591357350349426, -0.44926583766937256, 0.25866588950157166, 0.15163153409957886, 0.5996195673942566, 0.07388410717248917, 1.2459367513656616, 0.19432063400745392, -0.5978792905807495, 0.1811797320842743, 0.27959248423576355, -0.4711257517337799, 0.8136292695999146, -0.741803765296936, 0.3230000138282776, -0.07316578179597855, 0.16603852808475494, -1.2088669538497925, -0.1357787698507309, 0.1777614951133728, -0.11774195730686188, 0.26583170890808105, -0.026583049446344376, -0.6443278789520264, -0.003604920580983162, -0.3510829508304596, 0.40579473972320557, 0.12311730533838272, -0.7187526226043701, 0.2818831503391266, 0.7441107034683228, -0.527247428894043, -0.3377982974052429, -0.7570019364356995, 0.24919505417346954, -0.33243528008461, -0.500137209892273, 0.3360339105129242, 0.061478376388549805, -0.518603503704071, -0.3566029965877533, 0.6110749244689941, -0.1741063892841339, -0.03389476612210274, 0.27400633692741394, 0.20941053330898285, -0.38478079438209534, 0.023006709292531013, 0.388210266828537, -0.10391062498092651, -0.09043250977993011, 0.22421078383922577, 1.0369571447372437, -0.23649653792381287, -0.22693109512329102, -0.748900830745697, 0.6206092834472656, 0.31727683544158936, 0.1551673263311386, 0.5812661051750183, -0.010824494063854218, -0.206508070230484, 0.24232220649719238, -0.447358101606369, 0.22490979731082916, -0.49833008646965027, 0.07881869375705719, -0.6301746368408203, -1.1389966011047363, 0.30739283561706543, -0.5295612812042236, 0.03142623230814934, 0.270381361246109, 0.6353859901428223, 0.18838591873645782, 0.6382347941398621, 0.7301861047744751, -0.23611299693584442, 0.2830185294151306, -0.007111449725925922, 0.050145622342824936, -1.2441258430480957, 0.13719753921031952, -0.4666087329387665, -0.22339113056659698, -0.6676128506660461, -0.5343332290649414, 0.19294705986976624, -0.3165082335472107, -0.5692715048789978, 0.28800028562545776, -0.47976621985435486, 0.3455469608306885, 0.39332014322280884, -0.2720397412776947, 0.8069528341293335, -0.03204439952969551, -0.03642243891954422, -0.3083861470222473, -0.3444923460483551, -0.7776760458946228, 0.7671226263046265, 0.5958438515663147, 0.5710511207580566, 0.08421328663825989, 0.5599145293235779, 0.20220156013965607, 0.6063476204872131, -0.8278709053993225, 0.8714882135391235, -0.023324081674218178, -0.032243672758340836, -0.03448936343193054, -0.05117499455809593, -1.1448155641555786, 0.7406381368637085, 0.4065426290035248, -0.8951600790023804, 0.38972222805023193, -0.16216810047626495, -0.2045322060585022, 0.26370999217033386, -0.23387864232063293, 0.5664837956428528, -0.006515676621347666, -0.20462623238563538, 0.06024281680583954, -0.2571515440940857, 0.7989374399185181, 0.07045337557792664, 0.15268445014953613, -0.27722299098968506, -0.3200807273387909, 0.4206230342388153, -0.07034305483102798, 0.910115659236908, -0.04475505277514458, -0.45116668939590454, 0.367682546377182, 0.3782499134540558, 0.49043890833854675, 0.16460396349430084, -0.13919173181056976, 0.26780450344085693, -0.19386138021945953, -0.07057981193065643, -0.2512366473674774, 0.9122043251991272, -0.5961893200874329, -0.6714271903038025, -0.5678897500038147, -0.44054481387138367, -0.06106988340616226, 0.022193986922502518, 0.0654115229845047, 0.07010383903980255, -0.3995246887207031, 0.019621090963482857, 0.5984310507774353, -0.13916456699371338, 0.33223956823349, 0.41215747594833374, -0.49998313188552856, -0.48877066373825073, 0.5449030995368958, 0.08647691458463669, 0.033209316432476044, 0.49100005626678467, 0.04800725728273392, 0.04746107757091522, -0.4093784987926483, -0.24061749875545502, 0.32843610644340515, -0.890487551689148, -0.4307998716831207, -0.8329293131828308, -0.4081543982028961, -0.26212209463119507, -0.1678919792175293, -0.45495957136154175, -0.6262351274490356, -0.5141332149505615, -0.34331244230270386, 0.20523497462272644, 0.671912670135498, 0.09866534173488617, 0.5320225954055786, -0.24385486543178558, 0.26354503631591797, 0.35975804924964905, -0.14425858855247498, -0.1850213259458542, -0.6780595183372498, 0.21109336614608765, -0.21362558007240295, -0.4621611535549164, -0.8466017246246338, 0.6579182147979736, 0.04233768209815025, 0.0753379613161087, 0.3274831473827362, -0.3440644443035126, 0.8892347812652588, -0.6495162844657898, 0.9457641243934631, -0.11208517104387283, -1.0052025318145752, 0.7367511987686157, -0.35330668091773987, 0.5936147570610046, 0.548577070236206, 0.3522845506668091, -0.4478756785392761, -0.5012362599372864, -0.3403952121734619, -0.9489096403121948, 0.3927641212940216, -0.1411026418209076, 0.2895652949810028, -0.2688233554363251, 0.2797870337963104, 0.4590441584587097, 0.2789386212825775, -0.9360253214836121, -0.15217263996601105, 0.14787793159484863, 0.045354053378105164, 0.172430157661438, -0.8571083545684814, -0.17983783781528473, -0.4657421410083771, 0.49560946226119995, -0.21209809184074402, 0.5028941631317139, 0.17880038917064667, -0.13004837930202484, 0.11017511039972305, 0.4703163504600525, 0.7804966568946838, 0.8338028192520142, 0.14946570992469788, 0.35596963763237, 0.33869287371635437, -0.4116014838218689, 0.4217119812965393, -0.10475211590528488, -0.6282905340194702, 0.19059564173221588, 0.24816074967384338, 0.8493637442588806, 0.565570056438446, -0.6267920136451721, 0.29246583580970764, -0.15790852904319763, 0.04701615497469902, -0.8764854073524475, -0.2025856077671051, 0.16722221672534943, 0.2716064751148224, 0.18248377740383148, -0.42613333463668823, 0.2986546754837036, -0.48338136076927185, 0.1962965428829193, 0.07275017350912094, -0.015873773023486137, -0.18848338723182678, 0.5753714442253113, -0.2030775249004364, -0.2557797133922577, 0.3617049753665924, -0.12712906301021576, -0.11471796035766602, 0.37637409567832947, 0.877469003200531, 0.724969744682312, -0.5748047828674316, 0.33794811367988586, 0.33956530690193176, 0.10639940947294235, 0.049294546246528625, 0.3537038266658783, -0.005003606900572777, -0.6066460013389587, -0.6538004875183105, -0.8267742395401001, -0.6971169710159302, 0.2924349308013916, -0.5168039202690125, 0.30487775802612305, -0.5900117754936218, -0.03826969116926193, 0.048132020980119705, -0.26602157950401306, -0.48159921169281006, 0.005424799397587776, 0.09297177940607071, 0.86930912733078, -0.3994896709918976, 1.3257453441619873, 0.31761661171913147, -0.20033779740333557, -0.38061925768852234, -0.057467006146907806, -0.07306548207998276, -0.8465699553489685, 0.7596622705459595, 0.07540105283260345, -0.1754927933216095, -0.09811697900295258, -0.5302109122276306, -1.107785701751709, 1.1634459495544434, 0.8312150835990906, -0.5511178970336914, 0.1908629834651947, 0.4789864122867584, 0.5754662752151489, -0.6720951795578003, -0.008616299368441105, 0.9547754526138306, 0.3092171847820282, 0.1628972738981247, -0.6711324453353882, 0.12970517575740814, -0.10591544955968857, 0.4610896110534668, 0.00020557317475322634, -0.660526692867279, 1.22240149974823, 0.3055335581302643, -0.18494728207588196, 0.18701492249965668, 1.1325165033340454, 0.39473673701286316, 0.14749301970005035, 0.1088329330086708, 0.6055125594139099, 0.8078736066818237, 0.07255250960588455, 1.0918362140655518, -0.15173104405403137, -0.0034833087120205164, 1.6729328632354736, -0.4808167517185211, 1.2224986553192139, 0.597359299659729, -0.32365429401397705, 0.8654140830039978, 0.6332110166549683, 0.29537734389305115, 0.4233904480934143, 0.1389707326889038, -0.6010335087776184, 0.27291423082351685, -0.4700707793235779, -0.2546842098236084, 0.6449245810508728, 0.6548400521278381, -0.3791877329349518, -0.21755725145339966, 0.09756786376237869, 0.5018538236618042, 0.14035175740718842, -0.4003789722919464, 0.7866421937942505, 0.2536744177341461, -0.7110573649406433, 0.5967726111412048, 0.16936235129833221, 0.6691961884498596, -0.4405961334705353, -0.17730239033699036, -0.32172873616218567, 0.10791467130184174, -0.025851983577013016, -0.8443220257759094, 0.5379473567008972, 0.164369136095047, 0.3244364261627197, -0.1394990235567093, 0.8463382720947266, -0.19616791605949402, -0.5406204462051392, 0.38913023471832275, 0.20980729162693024, 0.25336453318595886, 0.24679134786128998, -0.36297738552093506, 0.4768148362636566, -0.1741562932729721, -0.44781494140625, 0.5958238840103149, 0.4298553764820099, 0.1615900695323944, 0.5987744927406311, 0.43137821555137634, 0.037559472024440765, 0.10083472728729248, -0.028705716133117676, 1.2270939350128174, -0.6932374238967896, -0.32171353697776794, -0.9739235639572144, 0.4900799095630646, -0.13677068054676056, -0.3174830377101898, 0.6811525225639343, 0.535529613494873, 0.6071934103965759, 0.1113545149564743, 0.7011796832084656, 0.058355994522571564, 0.6021861433982849, -0.5074962377548218, 0.10902578383684158, -0.19072437286376953, 0.38377782702445984, -0.0379161462187767, -0.8388471007347107, -0.19537466764450073, 0.6936701536178589, -0.31614017486572266, -0.46411412954330444, 0.6284996867179871, 0.5200902819633484, 0.03900348022580147, 0.08717517554759979, 0.48243266344070435, 0.3534821569919586, 0.20233091711997986, 0.4358939826488495, 0.7659969329833984, -0.31217604875564575, 0.09513746947050095, -0.37979257106781006, -0.10438218712806702, -0.02122022584080696, -0.8154813051223755, -0.6214441061019897, -0.41024214029312134, -0.12681294977664948, -0.15618006885051727, -0.01586175709962845, 0.8752130270004272, 0.10557510703802109, -0.7256661653518677, -0.5247743725776672, -0.1145821288228035, 0.1496301293373108, 0.15996606647968292, -0.26568782329559326, 0.2431497424840927, -0.36806002259254456, -0.914484977722168, 0.7123465538024902, 0.5389828085899353, -0.16845867037773132, -0.6881579160690308, 0.2914562225341797, -0.5923150181770325, 0.33016830682754517, 0.8875536322593689, 0.3263518810272217, -0.5482401251792908, -0.32847732305526733, -0.4650239050388336, -0.16860374808311462, 0.7001035213470459, 0.894503116607666, -0.8123434782028198, 0.08022478967905045, 0.29869118332862854, 0.5117221474647522, 0.6853904724121094, -0.07718662172555923, 0.49263685941696167, -0.7671287655830383, 0.6950659155845642, 0.3427068889141083, 0.5503597259521484, 0.5564941763877869, -0.49988508224487305, 0.7239415645599365, -0.1998896449804306, -0.6890536546707153, -0.9663645625114441, 0.27674412727355957, -0.8272648453712463, -0.1754532903432846, 1.1294305324554443, -0.3372500240802765, -0.386358380317688, -0.16387930512428284, -0.5049023032188416, 0.02840377204120159, -0.2895641028881073, 0.572945237159729, 0.43030092120170593, -0.3086480498313904, -0.48529788851737976, -0.8155391216278076, 0.2962549030780792, 0.11302482336759567, -1.1319385766983032, -0.06355119496583939, 0.20176562666893005, 0.11331579089164734, 0.16031703352928162, 1.263746738433838, -0.2013780176639557, 0.01401032879948616, 0.22976680099964142, -0.22965607047080994, 0.3614847660064697, -0.2763162851333618, -0.4559697210788727, 0.6852121949195862, 0.3339292109012604, 0.01366263348609209 ]
http://arxiv.org/abs/2406.18245v2
http://arxiv.org/pdf/2406.18245v2
Weak Reward Model Transforms Generative Models into Robust Causal Event Extraction Systems
2024-06-26T10:48:14
2024-06-27T10:19:55
Italo Luis da Silva, Hanqi Yan, Lin Gui, Yulan He
cs.CL
cs.CL
The inherent ambiguity of cause and effect boundaries poses a challenge in evaluating causal event extraction tasks. Traditional metrics like Exact Match and BertScore poorly reflect model performance, so we trained evaluation models to approximate human evaluation, achieving high agreement. We used them to perform Reinforcement Learning with extraction models to align them with human preference, prioritising semantic understanding. We successfully explored our approach through multiple datasets, including transferring an evaluator trained on one dataset to another as a way to decrease the reliance on human-annotated data. In that vein, we also propose a weak-to-strong supervision method that uses a fraction of the annotated data to train an evaluation model while still achieving high performance in training an RL model. Our code is available at https://github.com/oyarsa/event_extraction/tree/causal-event-extraction.
[ -0.08394164592027664, -0.504296600818634, 0.6457588076591492, 0.25695472955703735, -0.3235801160335541, -0.41991543769836426, -0.26795515418052673, -0.6411680579185486, -0.14666157960891724, 0.22341327369213104, -0.5083037614822388, -0.22413396835327148, -0.9961785078048706, -0.03803237900137901, -0.09854783862829208, 1.2927545309066772, -0.09892012923955917, 0.05516666918992996, -0.08747480064630508, -0.12090282887220383, -0.5156858563423157, -0.38872575759887695, -0.8096862435340881, -0.6940542459487915, 0.8699697852134705, 0.21410226821899414, 0.4695426821708679, 0.5331900715827942, 0.5326287150382996, 0.211959108710289, -0.11139010637998581, 0.17360639572143555, -0.6787261366844177, -0.08489835262298584, -0.6611744165420532, -0.24955517053604126, -0.2256593257188797, 0.15261496603488922, 0.34086066484451294, 0.5453470349311829, -0.12395425885915756, 0.22400830686092377, 0.015140160918235779, 0.1377127319574356, -1.0809532403945923, 0.2943476140499115, -0.5007069706916809, 0.1444282978773117, -0.053470589220523834, -0.3663090765476227, -0.562008261680603, -0.21237094700336456, 0.16838271915912628, -0.5482837557792664, 0.1078883484005928, -0.18422234058380127, 1.2554348707199097, 0.2456544190645218, -0.517368495464325, 0.06926064193248749, -0.7288526892662048, 0.9959806203842163, -0.47925177216529846, 0.15850788354873657, 0.43755456805229187, 0.26394203305244446, -0.1362224668264389, -0.8346173763275146, -0.2165154665708542, -0.045714445412158966, -0.10957187414169312, 0.22280938923358917, -0.20322781801223755, 0.0365731455385685, 0.26065269112586975, 0.17260248959064484, -0.22231034934520721, 0.42477312684059143, -0.4603993594646454, 0.06169288977980614, 0.862640380859375, 0.47676071524620056, 0.2264430671930313, -0.4823845326900482, -0.5223284959793091, -0.22459650039672852, -0.6484174728393555, 0.26037201285362244, 0.3152236044406891, 0.6296190619468689, -0.05891432985663414, 0.4976857006549835, -0.15068145096302032, 0.6460717916488647, 0.011762691661715508, 0.06738191843032837, 0.019803687930107117, -0.23781606554985046, -0.3229430913925171, -0.037228845059871674, 0.9799900054931641, -0.029114676639437675, -0.12053147703409195, -0.6083942651748657, -0.36358773708343506, 0.20855659246444702, 0.6041962504386902, -0.7664363980293274, -0.2815147340297699, -0.008164866827428341, -0.7646456360816956, -0.6779214143753052, 0.3384104371070862, -0.8968356251716614, -0.4873746931552887, -0.4158121645450592, 0.6975718140602112, -0.12199277430772781, -0.19906654953956604, 0.2389606088399887, -0.5227223634719849, 0.3956972360610962, 0.4580528140068054, -0.9227699637413025, 0.2400922030210495, 0.562532365322113, 0.6276123523712158, -0.48937806487083435, -0.17116965353488922, -1.042368769645691, -0.03898552060127258, -0.07864681631326675, 0.5646782517433167, -0.2881859242916107, -0.17600798606872559, -0.17135901749134064, 0.08274035900831223, -0.0735170990228653, -0.5277819633483887, 1.0093348026275635, -0.6572307348251343, 0.17481876909732819, -0.03642253950238228, -0.28392326831817627, -0.02724349871277809, -0.026435038074851036, -0.6297734379768372, 0.777338445186615, 0.11274351179599762, -0.6725075244903564, 0.7607604265213013, -0.5251390337944031, -0.6807703971862793, 0.044817984104156494, -0.23550663888454437, -0.8196706771850586, 0.2545536458492279, 0.3763194978237152, 0.6050633192062378, -0.41173478960990906, 0.7110784649848938, -0.6047642827033997, -0.4085015058517456, -0.019071469083428383, -0.4533821642398834, 0.893587052822113, 0.20836560428142548, -0.6443713903427124, 0.602684736251831, -0.8200773000717163, -0.2451748251914978, 0.4845077097415924, -0.38278618454933167, -0.489176481962204, 0.40113869309425354, 0.2705526053905487, 0.502604067325592, 0.1146204024553299, -0.323490709066391, 0.2485543042421341, -0.3999807834625244, 0.13419023156166077, 0.9587444067001343, 0.22158466279506683, 0.3261612057685852, -0.01730138435959816, 0.3523882329463959, -0.006523929536342621, 0.3279348313808441, 0.3877606987953186, -0.31550684571266174, -0.5664805173873901, -0.2946948707103729, 0.13171175122261047, 0.4161390960216522, -0.6744803190231323, 0.7150791883468628, -0.22092679142951965, -0.25886237621307373, -0.37361013889312744, 0.3520549535751343, 0.4363834857940674, 0.49518728256225586, 0.3325037658214569, -0.5032324194908142, -0.635676383972168, -0.7810214161872864, -0.21951846778392792, -0.4238680303096771, -0.18298977613449097, 0.18074540793895721, 0.5319511890411377, 0.021650444716215134, 0.9888206124305725, -0.4547627866268158, -0.23476192355155945, -0.44077956676483154, 0.6644512414932251, 0.26882392168045044, 0.4718392789363861, 0.17433612048625946, -0.9198556542396545, 0.1954033076763153, 0.01606292836368084, -1.093852162361145, -0.015802212059497833, -0.3409844934940338, -0.1357540786266327, -0.41065075993537903, 0.29024478793144226, -0.4389697015285492, 0.6525616645812988, -0.03990624099969864, -0.6034588813781738, 0.6851513981819153, 0.1652604639530182, 0.10870186984539032, -0.6389505863189697, 0.3510534465312958, 0.07898169755935669, -0.24834482371807098, -0.2879377007484436, -0.016248587518930435, 0.1470160186290741, -0.049586039036512375, -0.5746177434921265, 0.5036494135856628, -0.15384556353092194, -0.19529277086257935, -0.1964399516582489, 0.05721500515937805, 0.12137679010629654, 0.7508465051651001, 0.2514397203922272, 0.2579759657382965, 0.30458512902259827, -0.5735034942626953, 0.35937801003456116, 0.29122382402420044, -0.374174028635025, 0.45061230659484863, -0.7474855184555054, -0.1746872216463089, -0.03166177123785019, -0.1111513003706932, -0.5459001064300537, -0.2900761365890503, 0.38101115822792053, -0.2302667796611786, 0.39651089906692505, -0.3777102828025818, -0.34349268674850464, -0.21517813205718994, -0.14563196897506714, 0.25749439001083374, 0.4309355914592743, -0.9338337779045105, 0.42382487654685974, 0.17243891954421997, -0.04427880421280861, -0.5466511249542236, -0.3815276026725769, 0.011341705918312073, -0.6521304845809937, -0.22941386699676514, 0.09030632674694061, 0.545352041721344, -0.11772720515727997, 0.22522282600402832, -0.02511102519929409, 0.05655160918831825, 0.5593541264533997, 0.46882155537605286, 0.4770036041736603, -0.10043532401323318, 0.2514972984790802, -0.08574159443378448, -0.14812308549880981, 0.24563714861869812, -0.19122417271137238, -0.07628446817398071, -0.0011493064230307937, -0.4911476969718933, -0.589958131313324, 0.2747061848640442, 0.28822576999664307, -0.23704837262630463, 0.705132782459259, 0.8506136536598206, -0.4420076906681061, -0.10902255773544312, -0.14111961424350739, -0.3556373715400696, -0.3603168725967407, 0.4372735321521759, -0.3197154104709625, -0.7093505859375, 0.3688912093639374, -0.2455277442932129, -0.1302051693201065, 0.7443631291389465, 0.5221121311187744, 0.21330003440380096, 1.333605408668518, 0.5060962438583374, -0.27557823061943054, 0.8099656701087952, -0.028578074648976326, -0.04317908361554146, -0.5543780326843262, -0.2559136748313904, -0.5653362274169922, 0.05306030437350273, -0.14003825187683105, 0.047359563410282135, 0.17923183739185333, 0.6160160303115845, -0.3244113326072693, 0.2635803520679474, -0.34830641746520996, 0.10596871376037598, 0.42485037446022034, 0.3947310447692871, 0.1311008632183075, -0.23459875583648682, 0.3097955584526062, -0.06252965331077576, -0.9011175632476807, -0.45623084902763367, 0.9719659686088562, 0.35117602348327637, 0.9636570811271667, 0.08259016275405884, 0.7794868350028992, 0.39571911096572876, 0.5045641660690308, -0.6509110927581787, 0.03166981041431427, 0.1432633399963379, -0.41213634610176086, -0.4499986171722412, -0.732215404510498, -1.2009464502334595, 0.3941621780395508, -0.40275391936302185, -1.0374584197998047, 0.6305868029594421, -0.22184346616268158, -0.31602445244789124, 0.3450145125389099, -0.7573484182357788, 1.3509763479232788, -0.2557562291622162, -0.7705687880516052, -0.1678510159254074, -0.7208299040794373, 0.6369168162345886, 0.3080853223800659, -0.08357436209917068, 0.05083247274160385, 0.4241998791694641, 0.9446741938591003, -0.3893338143825531, 0.9553433060646057, -0.2365281581878662, 0.18582217395305634, 0.257213294506073, -0.02936439774930477, 0.9465586543083191, 0.17061810195446014, 0.09191243350505829, -0.047658223658800125, -0.33318930864334106, -0.5856688618659973, -0.7913427352905273, 0.3329351544380188, -0.9555659294128418, -0.31513485312461853, -0.3048641085624695, -0.1399829238653183, -0.09700071066617966, -0.081031933426857, 0.025309721007943153, 0.31498071551322937, -0.34542223811149597, -0.0667872503399849, 0.4399324953556061, -0.22249957919120789, 0.21386267244815826, 0.2639104425907135, 0.0731353834271431, -0.23122043907642365, 1.0074080228805542, -0.5576253533363342, 0.13689695298671722, 0.1991654634475708, 0.2516891658306122, -0.25485357642173767, -0.28823336958885193, -0.4825756847858429, -0.11343242973089218, -0.7353211045265198, -0.358798623085022, -0.5837801694869995, -0.06531311571598053, -0.2820517420768738, -0.23117563128471375, -0.36031246185302734, -0.19928991794586182, -0.5903711915016174, -0.3018430173397064, 0.08926990628242493, 0.7958983778953552, -0.30364981293678284, 0.2449418008327484, -0.49796369671821594, 0.4671803116798401, 0.5521309971809387, 0.1751236766576767, 0.16046340763568878, -0.3594740629196167, -0.3409254252910614, -0.527270495891571, -0.4724060297012329, -0.9829314351081848, 0.4303940534591675, -0.07384700328111649, 0.6282716393470764, 0.7530885934829712, 0.018565936014056206, 0.7640225291252136, -0.07511769235134125, 0.6449017524719238, 0.5740126967430115, -0.8921607136726379, 0.8033455610275269, -0.19282491505146027, 0.03372955322265625, 0.6022705435752869, 0.294571191072464, -0.19393466413021088, -0.3934450149536133, -0.9346784949302673, -1.0497568845748901, 1.0340732336044312, 0.23887784779071808, -0.5189448595046997, -0.003931316547095776, 0.26963430643081665, 0.07762885093688965, -0.10893617570400238, -0.9614866375923157, 0.030977651476860046, -0.11641186475753784, -0.2075955867767334, -0.2420254498720169, -0.20736639201641083, -0.17624767124652863, -0.06773623079061508, 0.6071853637695312, 0.1477493941783905, 0.22566106915473938, 0.18141843378543854, -0.275849848985672, -0.4062943756580353, 0.4226369261741638, 0.28499922156333923, 0.6447411179542542, -0.5088024735450745, 0.45603230595588684, 0.15767499804496765, 0.035924553871154785, 0.12271492183208466, 0.36371588706970215, 0.04411337897181511, -0.3485240638256073, 0.7533484697341919, 0.9832183122634888, 0.48723000288009644, -0.695065438747406, 0.7717446088790894, -0.21733573079109192, 0.05597896873950958, 0.1788332164287567, 0.05093856900930405, -0.27756497263908386, 0.36777767539024353, 0.2746185064315796, -0.032772988080978394, 0.35932740569114685, -0.2281275987625122, 0.45178234577178955, 0.2664684057235718, -0.8572884798049927, -0.3486446440219879, 0.8741926550865173, 0.05328100919723511, 0.06699883937835693, 0.7642425298690796, -0.4152193069458008, -0.3868517577648163, 0.6838497519493103, 0.46572428941726685, 0.8726949691772461, 0.14161483943462372, 0.15688003599643707, 0.4303790330886841, 0.33578044176101685, -0.09080680459737778, 0.048089317977428436, -0.21699413657188416, -0.46913254261016846, -0.7079697251319885, -0.662385880947113, -0.20264673233032227, 0.16669078171253204, -1.0881540775299072, 0.394562691450119, -0.08213742822408676, 0.012351809069514275, 0.09726962447166443, -0.07011742889881134, -0.8617109656333923, 0.12641672790050507, 0.055097728967666626, 0.3922126889228821, -1.434584140777588, 0.5605195760726929, 0.4030105173587799, -0.8776813745498657, -0.807210385799408, -0.4801252782344818, -0.18376818299293518, -0.40036553144454956, 1.0145176649093628, -0.11267473548650742, 0.22835476696491241, -0.4732600450515747, -0.6028931140899658, -0.3799407184123993, 0.8626262545585632, 0.20994743704795837, -0.24533647298812866, 0.12923912703990936, -0.3453991711139679, 0.42792484164237976, -0.14049258828163147, 0.24868880212306976, 0.3536200523376465, 0.3560946583747864, -0.07317053526639938, -0.5554736256599426, 0.30807578563690186, -0.13408531248569489, -0.14483562111854553, 0.2249329835176468, -0.144436314702034, 0.5819786787033081, -0.11292599141597748, -0.33956602215766907, -0.03240314498543739, 0.6980258822441101, 0.30261459946632385, 0.45261576771736145, 0.5120576620101929, 0.5396701693534851, 0.5118092894554138, -0.08386364579200745, 1.3061317205429077, 0.5116065740585327, 0.6476909518241882, 1.197192668914795, -0.1512724608182907, 0.6220427751541138, 0.6789939999580383, -0.207728311419487, 0.32760488986968994, 0.9592211842536926, 0.08135140687227249, 0.8057096600532532, 0.23834668099880219, -0.0707852691411972, -0.6878117918968201, -0.1781187206506729, -0.028163136914372444, 0.3561406433582306, 0.22297880053520203, -0.39311617612838745, -0.5529267191886902, -0.07672411948442459, -0.3118835687637329, -0.2034255564212799, -0.32781314849853516, 0.9068566560745239, 0.051249194890260696, -0.5865083336830139, 0.29004478454589844, 0.2672913670539856, 0.4275546967983246, -0.6692081689834595, -0.2950969934463501, 0.0918896421790123, 0.08280852437019348, -0.22295168042182922, -0.3476325571537018, 0.17214460670948029, -0.0392669141292572, -0.10415904968976974, -0.18270938098430634, 1.025598406791687, -0.19993992149829865, -0.2367582619190216, 0.511438250541687, 0.55476313829422, 0.07711422443389893, 0.1238185241818428, -0.6369869112968445, -0.0794091522693634, -0.262359082698822, -0.3791659474372864, 0.5003308653831482, 0.39609208703041077, -0.38339748978614807, 0.23048171401023865, 0.6194256544113159, 0.18879152834415436, -0.09839142858982086, 0.20511892437934875, 0.872303307056427, -0.7719568014144897, -0.5603703856468201, -0.9368899464607239, 0.5694410800933838, -0.2790907323360443, -0.4379596412181854, 0.4151467978954315, 0.3636641502380371, 0.49601051211357117, -0.014117139391601086, 0.6750363707542419, -0.18700137734413147, -0.012531924992799759, -0.4955333471298218, 0.37369856238365173, -0.6700339317321777, -0.12405984103679657, -0.527580201625824, -0.4846401512622833, -0.31363236904144287, 0.5559858679771423, -0.552972137928009, -0.15120528638362885, 0.37488216161727905, 0.4234302043914795, -0.35939615964889526, 0.020901372656226158, 0.3018859624862671, -0.03572835400700569, 0.4204804301261902, 0.8601812720298767, 1.243914246559143, -0.393190860748291, 0.2539116442203522, 0.1029108539223671, -0.3429337441921234, -0.4453645646572113, -0.8770901560783386, -0.7123357057571411, -0.5074987411499023, -0.27433544397354126, -0.41226086020469666, 0.32069918513298035, 0.7078841924667358, 0.8634902238845825, -0.8188360333442688, -0.11467673629522324, -0.15816648304462433, 0.6131604313850403, -0.6183417439460754, -0.33376163244247437, 0.7957035899162292, -0.6708561182022095, -0.4028449058532715, 0.4544826149940491, 0.2723213732242584, -0.26234737038612366, -0.005154580809175968, -0.21442878246307373, -0.280917763710022, -0.25638413429260254, 0.5046887397766113, 0.5182085633277893, -0.514581024646759, -0.47136396169662476, -0.7214813232421875, -0.24690818786621094, -0.13357721269130707, 0.8621150255203247, -0.6922574043273926, 0.3663210868835449, 0.33179008960723877, 0.8864585161209106, 0.9850549697875977, 0.0643080472946167, 0.5589081645011902, -0.7349275350570679, 0.16988317668437958, 0.08568376302719116, 0.2989605963230133, 0.07439934462308884, -0.5714190602302551, 0.6577314138412476, 0.34263667464256287, -0.4091661274433136, -0.9201885461807251, 0.15920278429985046, -1.0945215225219727, -0.30288106203079224, 1.0368071794509888, -0.29190143942832947, -0.26834017038345337, -0.2596079707145691, 0.08845196664333344, 0.4661828577518463, -0.1438208371400833, 0.9665917158126831, 0.41593602299690247, -0.33130088448524475, 0.048616666346788406, -0.35662174224853516, 0.4450727105140686, 0.5101264119148254, -0.880695641040802, -0.05056588724255562, 0.44727781414985657, 0.09791342169046402, -0.10856420546770096, 0.4444679915904999, -0.3012270927429199, 0.5388765931129456, 0.020801100879907608, 0.4777241349220276, 0.007341204676777124, -0.3949097990989685, -0.7460664510726929, 0.48575422167778015, 0.1796605885028839, -0.22117017209529877 ]
http://arxiv.org/abs/2406.18239v1
http://arxiv.org/pdf/2406.18239v1
Zero-shot prompt-based classification: topic labeling in times of foundation models in German Tweets
2024-06-26T10:44:02
2024-06-26T10:44:02
Simon Münker, Kai Kugler, Achim Rettinger
cs.CL
cs.CL, cs.AI
Filtering and annotating textual data are routine tasks in many areas, like social media or news analytics. Automating these tasks allows to scale the analyses wrt. speed and breadth of content covered and decreases the manual effort required. Due to technical advancements in Natural Language Processing, specifically the success of large foundation models, a new tool for automating such annotation processes by using a text-to-text interface given written guidelines without providing training samples has become available. In this work, we assess these advancements in-the-wild by empirically testing them in an annotation task on German Twitter data about social and political European crises. We compare the prompt-based results with our human annotation and preceding classification approaches, including Naive Bayes and a BERT-based fine-tuning/domain adaptation pipeline. Our results show that the prompt-based approach - despite being limited by local computation resources during the model selection - is comparable with the fine-tuned BERT but without any annotated training data. Our findings emphasize the ongoing paradigm shift in the NLP landscape, i.e., the unification of downstream tasks and elimination of the need for pre-labeled training data.
[ -0.4976266026496887, -0.9821822047233582, 0.4312114715576172, 0.38787052035331726, -0.2873498499393463, 0.14234118163585663, -0.16042537987232208, -0.42579662799835205, 0.0843578353524208, 0.30309826135635376, -0.7731717228889465, -0.8460144996643066, -0.6938974857330322, 0.2695949375629425, -0.533939778804779, 1.102079153060913, 0.050373632460832596, -0.2516189515590668, 0.06883201748132706, 0.02593737281858921, -0.49808135628700256, -0.4101337194442749, -0.6948299407958984, -0.28642216324806213, 0.5610808730125427, 0.37218472361564636, 0.4610758125782013, 0.5958430171012878, 0.34947437047958374, 0.22299136221408844, -0.08548060059547424, -0.2998965084552765, -0.25113916397094727, 0.16186821460723877, -0.18036715686321259, -0.03907221183180809, -0.10200891643762589, 0.23398391902446747, 0.2722458243370056, 0.9074164032936096, 0.33397066593170166, 0.25460726022720337, -0.012201814912259579, 0.2925422489643097, -0.7085986733436584, 0.18527887761592865, -0.483376145362854, 0.13663756847381592, 0.0435345321893692, -0.4800608456134796, -0.3906234800815582, -0.24547317624092102, 0.4430347979068756, -0.39564260840415955, 0.626935601234436, -0.23697036504745483, 0.9093247056007385, 0.3105551600456238, -0.4346538484096527, -0.21824312210083008, -0.6870973706245422, 0.6027522087097168, -0.3161018192768097, 0.13802985846996307, 0.21805088222026825, 0.2879546284675598, -0.02974141202867031, -0.5686188340187073, -0.3310422897338867, -0.04719379171729088, -0.029903119429945946, -0.17423495650291443, -0.2978123426437378, 0.07276558876037598, 0.441102534532547, 0.00958323571830988, -0.4122636318206787, 0.23895184695720673, -0.19127584993839264, -0.3235168159008026, 0.5579111576080322, -0.17786188423633575, 0.15247656404972076, -0.4806267023086548, -0.2632594704627991, -0.024578040465712547, -0.44186851382255554, 0.06685294955968857, -0.14069370925426483, 0.6357588171958923, -0.1306237280368805, 0.42149868607521057, -0.6366719007492065, 0.7269896268844604, 0.09190119802951813, 0.050822414457798004, 0.15838675200939178, -0.12737224996089935, -0.39728888869285583, 0.15043970942497253, 0.7363485097885132, 0.39042264223098755, 0.3454064726829529, -0.32335302233695984, -0.08531659841537476, 0.2300189584493637, 0.010396091267466545, -0.852218747138977, -0.10743088275194168, 0.10812834650278091, -0.2668110132217407, -0.4844837188720703, -0.012699811719357967, -0.5784246921539307, -0.45933815836906433, -0.3507576286792755, 0.4928334355354309, -0.23581470549106598, 0.05933349207043648, 0.14517726004123688, -0.2794893682003021, 0.18832609057426453, 0.7710000872612, -0.4873943328857422, -0.12316318601369858, 0.5970379114151001, 1.0225557088851929, -0.08737487345933914, 0.07380847632884979, -0.5915383100509644, -0.24657368659973145, -0.5065300464630127, 1.1340800523757935, -0.46673154830932617, -0.45579496026039124, 0.18548785150051117, 0.10333206504583359, 0.14005453884601593, -0.00947660394012928, 0.5141689777374268, -0.35608965158462524, 0.42998912930488586, -0.4162226617336273, -0.582055389881134, -0.010936177335679531, 0.15308429300785065, -0.39335376024246216, 0.9748221039772034, 0.05306196212768555, -0.8316652178764343, 0.6910547614097595, -0.9494414925575256, -0.5017096996307373, 0.08774467557668686, -0.11836035549640656, 0.057112451642751694, -0.03589779511094093, 0.37125375866889954, 0.9747564196586609, -0.29042869806289673, 0.6215563416481018, -0.4075756072998047, -0.35085538029670715, 0.01696842908859253, -0.3132297098636627, 0.9358242750167847, 0.058138538151979446, -0.5335572361946106, 0.15307366847991943, -0.7594466209411621, -0.3224617838859558, -0.045214228332042694, 0.05278317257761955, -0.20122312009334564, -0.10935290157794952, 0.10014545917510986, 0.5064716935157776, -0.03837518393993378, -0.6289138793945312, 0.22093048691749573, -0.15454769134521484, 0.46390438079833984, 0.5977463126182556, 0.4411395192146301, 0.6952241659164429, -0.22050856053829193, 0.3229062557220459, -0.2186710238456726, -0.03451080247759819, -0.5669779181480408, -0.6647844314575195, -0.6792929768562317, -0.30950698256492615, 0.4490797519683838, 0.7676001191139221, -0.8053116202354431, 0.6384719610214233, -0.26097655296325684, -0.633513867855072, -0.32065296173095703, -0.2867717146873474, -0.0945335403084755, 0.8541688323020935, 0.4092308282852173, -0.09383942186832428, -0.3334687650203705, -0.7962154746055603, -0.033813972026109695, -0.2412530928850174, -0.1987655758857727, 0.185008242726326, 0.3980560004711151, -0.10071312636137009, 1.2011834383010864, -0.44296547770500183, -0.07231248170137405, -0.11479194462299347, 0.8544371128082275, 0.030439728870987892, 0.44456249475479126, 0.7074486613273621, -0.6623721718788147, -0.38875988125801086, -0.2286478877067566, -0.7442819476127625, -0.6399913430213928, -0.3140476942062378, -0.0909169390797615, 0.41652125120162964, 0.5275372266769409, -0.4335246980190277, 0.6852656602859497, -0.05887368693947792, -0.45089349150657654, 0.23567108809947968, 0.29121214151382446, 0.30529749393463135, -0.8550738096237183, 0.21505440771579742, 0.33877888321876526, -0.30564039945602417, -0.9066501259803772, -0.45542430877685547, 0.07518867403268814, -0.24521911144256592, -0.37495845556259155, 0.8999390602111816, -0.1285267174243927, 0.11188845336437225, -0.3315185308456421, -0.060070402920246124, -0.13366879522800446, 0.29714980721473694, 0.38376012444496155, 0.46092748641967773, 0.5939598083496094, -0.5786141157150269, 0.1745409071445465, 0.2581908106803894, -0.10765431076288223, 0.4569759666919708, -0.4224027097225189, 0.05490988865494728, -0.34346434473991394, 0.3443804085254669, -1.1948341131210327, -0.28113603591918945, 0.40389207005500793, -0.6051713228225708, 0.1858617067337036, -0.18984508514404297, -0.5986915230751038, -0.25322088599205017, -0.35840538144111633, -0.21167771518230438, 0.5579622387886047, -0.2631950080394745, 0.2928662598133087, -0.014151150360703468, -0.32580697536468506, -0.35168740153312683, -0.5653932094573975, 0.31110459566116333, -0.19722825288772583, -0.3103938698768616, 0.30164608359336853, 0.14794093370437622, -0.10203305631875992, 0.17329731583595276, -0.18168160319328308, -0.2722678482532501, 0.4879802167415619, 0.2241351455450058, 0.23750688135623932, -0.11127495020627975, 0.407600075006485, 0.20044687390327454, -0.290957510471344, -0.03523389622569084, -0.22890704870224, 0.3238714933395386, 0.1999322474002838, -0.015693429857492447, -0.7177108526229858, 0.40137529373168945, 0.2668001651763916, -0.11418970674276352, 0.7434723377227783, 0.6413483619689941, -0.4895426630973816, -0.19652295112609863, -0.5672630071640015, -0.36127087473869324, -0.3525245785713196, 0.04540787637233734, -0.09286384284496307, -1.1236660480499268, 0.3573223352432251, -0.21009284257888794, 0.3273467421531677, 0.7803780436515808, 0.28878360986709595, -0.22284622490406036, 0.5854659080505371, 0.8696684241294861, -0.0649421215057373, 0.6521371006965637, -0.1510467678308487, 0.1611565798521042, -0.020963778719305992, 0.025942713022232056, -0.8189837336540222, -0.18252882361412048, -0.5281333923339844, -0.20278029143810272, 0.06325120478868484, 0.13890311121940613, -0.3073916435241699, 0.29373353719711304, -0.6120104789733887, 0.20364786684513092, 0.4754716753959656, -0.14702068269252777, 0.13253594934940338, 0.10979688167572021, 0.4310573637485504, -0.16361147165298462, -0.664156436920166, -0.6049047112464905, 0.9552040696144104, 0.25084537267684937, 0.26294514536857605, -0.45534318685531616, 0.8193222284317017, 0.5935304164886475, 0.6686037182807922, -0.7370044589042664, 0.5916568636894226, -0.04550500214099884, -0.6397727727890015, -0.5103151798248291, -0.17558914422988892, -0.7108151912689209, 0.02754000946879387, -0.46829086542129517, -0.8390053510665894, 0.3917084336280823, -0.014503988437354565, -0.5494803786277771, 0.10311289131641388, -0.7293643951416016, 0.9116296172142029, 0.08922974765300751, -0.0443754717707634, 0.09348950535058975, -0.6005363464355469, 0.01978839933872223, -0.2993223965167999, 0.11276064813137054, -0.4603334367275238, -0.09366226196289062, 0.8584722876548767, -0.02650865912437439, 1.102552056312561, -0.46985554695129395, 0.06417009979486465, 0.22920449078083038, -0.1514453887939453, 0.21592673659324646, 0.030049370601773262, 0.02140921726822853, 0.2022184133529663, -0.06792467832565308, -0.48654255270957947, -0.5611577033996582, 0.3586684465408325, -0.5389909148216248, -0.6371291875839233, -0.5057438015937805, -0.2999664843082428, -0.26400431990623474, 0.14431661367416382, 0.21992748975753784, 0.39250648021698, -0.2291741967201233, 0.27490532398223877, 0.4539559781551361, -0.320431649684906, 0.770986795425415, 0.6154599189758301, -0.022298140451312065, -0.060191962867975235, 0.5550183653831482, 0.424778014421463, -0.17017337679862976, 0.5331965088844299, 0.06109257787466049, -0.1665026992559433, -0.4205363392829895, -0.40923836827278137, -0.0015894107054919004, -0.6854588985443115, -0.35343462228775024, -0.9736821055412292, -0.22063110768795013, -0.5440635681152344, -0.5270665287971497, -0.05854412168264389, -0.6485207676887512, -0.5833553671836853, -0.23229286074638367, 0.5810270309448242, 0.4723816215991974, -0.1438799351453781, 0.5119945406913757, -0.6563231348991394, 0.33116135001182556, 0.08520039916038513, 0.20672395825386047, -0.2329077273607254, -0.37759658694267273, -0.07542286068201065, -0.20453186333179474, -0.1962345540523529, -1.2009793519973755, 0.08662182837724686, 0.20066574215888977, 0.15675249695777893, 0.43260425329208374, 0.448165625333786, 0.43962812423706055, -0.4970366954803467, 0.7572107911109924, -0.050911128520965576, -0.9943756461143494, 0.7877658009529114, -0.5169910192489624, 0.33794549107551575, 0.5434985160827637, 0.5976434350013733, -0.644184410572052, -0.24966995418071747, -0.6029490232467651, -0.8788227438926697, 0.8251556158065796, 0.11741615831851959, 0.19495801627635956, -0.17043118178844452, 0.4954683184623718, 0.30077502131462097, 0.4256693422794342, -0.3963329792022705, -0.2994760274887085, -0.2268417626619339, 0.04639803245663643, -0.24008595943450928, -0.2205934375524521, 0.15601623058319092, -0.258357971906662, 0.6138727068901062, -0.11567015945911407, 0.2584138512611389, 0.38970381021499634, -0.11307896673679352, -0.07988867908716202, 0.36761710047721863, 0.20947444438934326, 0.5766754150390625, -0.32019945979118347, -0.2020113170146942, 0.026846429333090782, 0.04508526250720024, 0.2545246481895447, 0.5705384612083435, -0.54001784324646, 0.4975513815879822, 0.6042061448097229, 0.9884180426597595, 0.35706204175949097, -0.40793395042419434, 0.5244648456573486, 0.14029952883720398, -0.30205535888671875, -0.028794581070542336, 0.03379932790994644, -0.24575617909431458, 0.1671144962310791, 0.7292075157165527, -0.06938515603542328, 0.3413259983062744, -0.387450248003006, 0.39087769389152527, 0.2146134078502655, -0.2904638350009918, -0.3571261465549469, 0.3680959641933441, 0.36421000957489014, -0.2632400095462799, 0.1567716896533966, -0.42197170853614807, -0.2774485647678375, 0.43622204661369324, 0.14182189106941223, 1.180368185043335, -0.1996910721063614, 0.8151512145996094, 0.3123195469379425, 0.28547802567481995, -0.08588244765996933, 0.1527850478887558, -0.36470556259155273, -0.6237731575965881, -0.7329031229019165, -0.5254200100898743, -0.38566136360168457, 0.18987217545509338, -0.6973113417625427, 0.39004063606262207, -0.5681160688400269, -0.32370877265930176, 0.5849883556365967, 0.04596192389726639, -0.7352584600448608, 0.3406146168708801, 0.16664771735668182, 1.1821943521499634, -1.2226425409317017, 0.6249956488609314, 0.8547223210334778, -0.05950183793902397, -0.17488230764865875, 0.11795197427272797, 0.11881465464830399, -0.36292728781700134, 0.6102100014686584, 0.5421886444091797, 0.41071435809135437, 0.13103923201560974, -0.7314205765724182, -0.6052525639533997, 0.8213330507278442, 0.3200598955154419, -0.2984628677368164, -0.11347591131925583, 0.01847159117460251, 0.6414049863815308, -0.4081004858016968, 0.026754572987556458, 0.5009527206420898, 0.3530849516391754, 0.1580154001712799, -0.8547990918159485, -0.086598239839077, -0.14147546887397766, -0.09210903197526932, 0.2915908396244049, -0.10596088320016861, 0.5430072546005249, 0.056557487696409225, -0.506250262260437, -0.22179096937179565, 0.5611969232559204, -0.16242347657680511, 0.5804731249809265, 0.5128027200698853, 0.24548734724521637, 0.5718902945518494, -0.3882814645767212, 0.9600719809532166, -0.23231162130832672, 0.3621657192707062, 0.8505942225456238, -0.3098246455192566, 0.7107697129249573, 0.2427799105644226, 0.043228186666965485, 0.23835432529449463, 0.9229279160499573, -0.1068924069404602, 0.5119972229003906, -0.12584058940410614, -0.12289895117282867, -0.33308765292167664, -0.5009871125221252, -0.2009533792734146, 0.18785756826400757, 0.2988680899143219, -0.13026933372020721, -0.7500600218772888, 0.2369076907634735, 0.09313268959522247, -0.12779566645622253, -0.30120858550071716, 0.9680271148681641, -0.04790431261062622, -0.39735063910484314, 0.3160399794578552, 0.08546966314315796, 0.7470667958259583, -0.38951772451400757, 0.1085798591375351, -0.15091098845005035, -0.41529926657676697, -0.0028668404556810856, -0.7272880673408508, 0.4047001004219055, 0.3918377459049225, -0.14819808304309845, -0.48297014832496643, 0.9307754635810852, -0.10015317797660828, -0.43831509351730347, 0.25919872522354126, 0.7523407936096191, -0.0019998406060039997, -0.4203746020793915, -0.6268081068992615, -0.1932324469089508, -0.04023253172636032, -0.4586716294288635, 0.08519706130027771, 0.6900956630706787, -0.32613569498062134, 0.5423516035079956, 0.6493397951126099, -0.2010972499847412, -0.18818460404872894, -0.11878586560487747, 0.8022881746292114, -0.8668349385261536, -0.5921010971069336, -0.8574646711349487, 0.5107458829879761, -0.16913780570030212, -0.21280182898044586, 0.5542733669281006, 0.1753378063440323, 0.6881321668624878, 0.04832755774259567, 0.995826244354248, -0.21179701387882233, 0.6845082640647888, -0.18801727890968323, 0.5449100136756897, -0.40980467200279236, -0.09502029418945312, -0.30035531520843506, -0.7924734950065613, -0.5685279369354248, 0.4688167870044708, -0.5950411558151245, -0.16112762689590454, 0.4551490843296051, 0.33550938963890076, 0.12013081461191177, 0.10019923746585846, 0.15579253435134888, 0.11027466505765915, 0.1930583268404007, 0.06121242418885231, 0.5498471856117249, -0.08284494280815125, 0.1662515550851822, -0.556646466255188, -0.32406267523765564, -0.29073596000671387, -1.0498688220977783, -1.2043706178665161, -0.687238872051239, -0.6213516592979431, -0.18515270948410034, 0.21411952376365662, 1.127046823501587, 0.6069249510765076, -0.9948058128356934, 0.1964203268289566, -0.045187752693891525, -0.0448426678776741, 0.19100354611873627, -0.2518111765384674, 0.47008585929870605, -0.6125988364219666, -0.4906814396381378, 0.03150572627782822, 0.39654842019081116, 0.2819690406322479, -0.01863551139831543, 0.3975389897823334, -0.1330578327178955, -0.020108435302972794, 0.6729490756988525, 0.3243064284324646, -0.657248318195343, -0.2183670550584793, 0.12322763353586197, -0.016164010390639305, -0.022044863551855087, 0.6193646192550659, -0.9993889331817627, 0.3096078634262085, 0.45188406109809875, 0.9219338893890381, 0.15402813255786896, 0.02043284848332405, 0.41111209988594055, -0.7385337352752686, 0.36846765875816345, 0.17363908886909485, 0.12186022847890854, 0.4961181581020355, -0.30018869042396545, 0.5374124050140381, 0.3696374297142029, -0.22641490399837494, -0.9138995409011841, -0.07953811436891556, -0.7300685048103333, -0.4399149417877197, 1.101580262184143, -0.08081991970539093, -0.05981128662824631, -0.20037470757961273, -0.21439778804779053, 0.4014911949634552, -0.8197336792945862, 0.9230731725692749, 0.9053570032119751, 0.06712070107460022, -0.2163206785917282, -0.7797569632530212, 0.6074388027191162, 0.09854385256767273, -0.8154674768447876, -0.08929196745157242, 0.5497227907180786, 0.06414878368377686, 0.18836826086044312, 0.7378844022750854, 0.3687725067138672, 0.2943527400493622, -0.4623197913169861, 0.059631701558828354, 0.07192876935005188, -0.3849865198135376, -0.6215056777000427, 0.30439165234565735, -0.3442753553390503, -0.1666972041130066 ]
http://arxiv.org/abs/2406.18227v1
http://arxiv.org/pdf/2406.18227v1
GUIDE: A Guideline-Guided Dataset for Instructional Video Comprehension
2024-06-26T10:24:00
2024-06-26T10:24:00
Jiafeng Liang, Shixin Jiang, Zekun Wang, Haojie Pan, Zerui Chen, Zheng Chu, Ming Liu, Ruiji Fu, Zhongyuan Wang, Bing Qin
cs.CV
cs.CV, cs.CL
There are substantial instructional videos on the Internet, which provide us tutorials for completing various tasks. Existing instructional video datasets only focus on specific steps at the video level, lacking experiential guidelines at the task level, which can lead to beginners struggling to learn new tasks due to the lack of relevant experience. Moreover, the specific steps without guidelines are trivial and unsystematic, making it difficult to provide a clear tutorial. To address these problems, we present the GUIDE (Guideline-Guided) dataset, which contains 3.5K videos of 560 instructional tasks in 8 domains related to our daily life. Specifically, we annotate each instructional task with a guideline, representing a common pattern shared by all task-related videos. On this basis, we annotate systematic specific steps, including their associated guideline steps, specific step descriptions and timestamps. Our proposed benchmark consists of three sub-tasks to evaluate comprehension ability of models: (1) Step Captioning: models have to generate captions for specific steps from videos. (2) Guideline Summarization: models have to mine the common pattern in task-related videos and summarize a guideline from them. (3) Guideline-Guided Captioning: models have to generate captions for specific steps under the guide of guideline. We evaluate plenty of foundation models with GUIDE and perform in-depth analysis. Given the diversity and practicality of GUIDE, we believe that it can be used as a better benchmark for instructional video comprehension.
[ -0.4020126461982727, -0.8163976073265076, 0.26035431027412415, 0.25237876176834106, -0.5486958026885986, -0.3311726450920105, 0.06480418145656586, 0.3620300590991974, -0.22844772040843964, 0.7277927398681641, -1.0293068885803223, -0.6574375629425049, -0.4008355438709259, 0.05626622214913368, -0.5781189799308777, 1.1772942543029785, -0.3136526644229889, 0.2360188215970993, -0.3866937458515167, 0.040034424513578415, -0.7509828209877014, 0.15002690255641937, -0.47628137469291687, -0.21952159702777863, 0.28335562348365784, 0.712955117225647, 0.12694531679153442, 0.8773790597915649, 0.6125193238258362, 0.16196408867835999, 0.0833868458867073, 0.25411683320999146, -0.3207838833332062, 0.09443694353103638, 0.12250782549381256, -0.14539800584316254, -0.3276597559452057, -0.06522592157125473, 0.40066322684288025, 0.9804627895355225, -0.2155923694372177, 0.6007573008537292, 0.31686630845069885, 0.8332431316375732, -0.5599889159202576, 0.33627399802207947, -0.15657106041908264, 0.2104928195476532, 0.21276617050170898, -0.36802250146865845, -0.2255685180425644, -0.2853386104106903, 0.38479083776474, -1.065876841545105, 0.6218019723892212, -0.07985547184944153, 0.4308900535106659, 0.8509306907653809, -0.3799283802509308, -0.05502890422940254, -0.40841367840766907, 0.41865167021751404, -0.4320259392261505, 0.4730144739151001, 0.6733790636062622, 0.6233069896697998, 0.25759872794151306, -0.6696361899375916, -0.2509274482727051, 0.046194907277822495, 0.09850400686264038, 0.037668272852897644, -0.12627768516540527, 0.215791717171669, 0.6421698927879333, 0.1258445531129837, -0.7649784684181213, -0.38374361395835876, -0.5234756469726562, -0.02200234867632389, 0.38623011112213135, 0.2497810572385788, 0.15873560309410095, -0.417879581451416, -0.3008020520210266, -0.2914538085460663, -0.365014910697937, 0.44229498505592346, 0.24616996943950653, -0.05002230778336525, 0.008213751949369907, 0.46705979108810425, -0.5787361860275269, 0.989158034324646, 0.1465781331062317, -0.437558114528656, 0.1858379989862442, -0.5589844584465027, -0.5990413427352905, -0.00994385126978159, 0.27386608719825745, 0.8403328657150269, 0.687560498714447, -0.07478031516075134, 0.11899080127477646, -0.2246900498867035, 0.3544856905937195, -0.7744752168655396, -0.5729380249977112, -0.0284463781863451, -0.4256740212440491, 0.09279827028512955, 0.05318261310458183, -0.6716779470443726, -0.4939694404602051, -0.7077863812446594, 0.534976601600647, -0.32613566517829895, 0.09101801365613937, -0.04241194203495979, -0.25870490074157715, 0.2165859490633011, 0.3518851697444916, -0.7996640205383301, 0.6471408605575562, 0.6204065084457397, 0.8616839647293091, -0.018548017367720604, -0.3162252902984619, -0.627843976020813, 0.14818178117275238, -0.12498388439416885, 0.8214095830917358, -0.3688930571079254, -0.09088938683271408, 0.09690729528665543, 0.28702521324157715, -0.11470964550971985, -0.2619965672492981, 0.4705701172351837, -0.3082236349582672, -0.18034231662750244, -0.4725232422351837, -0.7076080441474915, -0.7849599719047546, 0.4400673806667328, -0.8154358267784119, 0.5346740484237671, -0.08306314796209335, -0.5325477123260498, 0.48128780722618103, -0.6625943183898926, -0.40320393443107605, -0.2111772894859314, -0.1041010171175003, 0.023538462817668915, -0.3940480649471283, 0.6911097168922424, 0.5964415669441223, -0.3391439914703369, 0.26853489875793457, 0.06596110761165619, -0.508825421333313, -0.31303736567497253, -0.5287292003631592, 0.577055811882019, -0.030293239280581474, -0.38815274834632874, 0.05476059392094612, -0.6449316143989563, 0.05034828931093216, -0.45221415162086487, 0.03255215659737587, -0.1711481511592865, 0.0105436397716403, -0.14821761846542358, -0.01707199588418007, -0.09699524194002151, -0.10990113019943237, -0.02626345120370388, 0.1724640130996704, 0.3869068920612335, 0.7463681101799011, 0.5780506730079651, 0.28059402108192444, -0.2959325611591339, 0.7921890616416931, -0.017637277022004128, 0.44248631596565247, -0.6513605713844299, -0.28745564818382263, -0.8301835060119629, 0.006884708069264889, -0.033188045024871826, 0.41064178943634033, -0.6486408710479736, 0.002515444066375494, -0.24687877297401428, -0.4398402273654938, -0.3802281618118286, 0.573878824710846, 0.5178548097610474, 0.8487894535064697, 0.6210712790489197, -0.1748509705066681, -0.6050857901573181, -0.812120795249939, 0.097384974360466, 0.13295763731002808, -0.07591944932937622, 0.3240317404270172, 0.4889467656612396, 0.1887621432542801, 0.6496985554695129, -0.6278066039085388, -0.5533677935600281, 0.08637606352567673, 0.07088467478752136, 0.2852652072906494, 0.26758381724357605, 0.10697969049215317, -0.9894876480102539, -0.7005932331085205, -0.2654862403869629, -0.8460379838943481, 0.1712370216846466, -0.06865180283784866, -0.06431880593299866, -0.33732500672340393, 0.6039530634880066, -0.16420920193195343, 0.4208613336086273, 0.34281599521636963, -0.21002891659736633, 0.17687837779521942, -0.17804501950740814, 0.4425867199897766, -0.6714353561401367, 0.00003713172554853372, 0.2722087800502777, 0.14037556946277618, -0.5098314881324768, -0.2668628990650177, 0.008616647683084011, -0.06273939460515976, -0.3958066701889038, 0.2776763141155243, -0.22681750357151031, -0.07496166229248047, 0.048744283616542816, 0.07479572296142578, 0.058517299592494965, 0.8651189208030701, 0.19230720400810242, 0.7552719712257385, 0.6630316972732544, -0.695402979850769, 0.6372537612915039, 0.4732614755630493, -0.41621285676956177, 0.8214526772499084, -0.8030239939689636, -0.17879702150821686, -0.3604700267314911, 0.2469124048948288, -0.9826046228408813, -0.4317834973335266, 0.2683064341545105, -0.20010346174240112, 0.023682579398155212, -0.540740966796875, -0.14511878788471222, 0.04369887709617615, -0.2656671702861786, 0.3982299268245697, 0.5095949172973633, -0.32812371850013733, 0.41668301820755005, 0.08162380009889603, -0.08765539526939392, -0.8591678738594055, -0.27317938208580017, -0.37740370631217957, -0.39239150285720825, -0.6181350350379944, 0.23079656064510345, -0.4579561650753021, -0.08647643029689789, 0.18319624662399292, -0.5234294533729553, -0.4967819154262543, -0.08192986994981766, 0.7257583141326904, -0.026924580335617065, -0.13873112201690674, -0.15484850108623505, -0.07110073417425156, 0.06874275207519531, 0.20866040885448456, -0.2336980253458023, 0.03460051864385605, 0.24752260744571686, -0.39820384979248047, -0.28740665316581726, 0.4291389286518097, 0.36172807216644287, -0.1705373078584671, 0.01803894154727459, 0.5284173488616943, -0.3730318248271942, -0.24823710322380066, -0.6100876927375793, -0.2121138870716095, -0.38076749444007874, 0.3089483082294464, -0.14473608136177063, -0.36387938261032104, 0.24046209454536438, 0.4022897779941559, 0.2503725290298462, 0.04318864271044731, -0.1294168382883072, -0.39455389976501465, 1.0077584981918335, 0.525315523147583, 0.2366091012954712, 0.5292401313781738, -0.6026479005813599, -0.31348416209220886, -0.8398497104644775, -0.6079620718955994, -0.2925119400024414, -0.20095476508140564, -0.11711239814758301, -0.36825042963027954, 0.4090464413166046, 0.16318374872207642, -0.4497140347957611, 0.4365367293357849, -0.40322014689445496, 0.582879364490509, 0.7786837816238403, 0.2993226945400238, 0.2505575716495514, 0.36021021008491516, 0.05828838050365448, -0.14268845319747925, -0.6312487721443176, -0.504755437374115, 1.208711862564087, 0.0729558989405632, 0.7882626056671143, -0.02914426103234291, 0.3488112986087799, 0.7323692440986633, -0.0610322505235672, -0.6173039078712463, 0.6857171654701233, -0.24466148018836975, -0.46184849739074707, -0.39445760846138, -0.14472760260105133, -0.7720256447792053, -0.08716382831335068, 0.16082410514354706, -0.4370217025279999, -0.2537013292312622, 0.31969916820526123, -0.4890093505382538, -0.09198641031980515, -0.6705576777458191, 1.242039442062378, -0.11752878129482269, -0.39278459548950195, -0.04229312762618065, -0.568682074546814, 0.3164827227592468, 0.04143797978758812, 0.2239164113998413, 0.0932438001036644, 0.14360658824443817, 1.0674611330032349, -0.4838831424713135, 0.7514044642448425, -0.4228668808937073, 0.3785758316516876, 0.5324955582618713, -0.1702992171049118, 0.21166987717151642, -0.09283636510372162, 0.38112860918045044, -0.4271722137928009, 0.17503775656223297, -0.3616008162498474, -0.7791106700897217, 0.4245401620864868, -0.563023567199707, -0.5719035267829895, -0.07888373732566833, -0.23582689464092255, -0.2235148698091507, 0.07086804509162903, 0.1321529895067215, 0.5863009095191956, 0.006335382349789143, 0.30354639887809753, 1.1177752017974854, 0.26341351866722107, 0.43066152930259705, 0.7620583772659302, 0.4408895969390869, -0.6320353746414185, 0.9813185930252075, 0.12197509407997131, -0.08369176834821701, 0.3358372151851654, -0.22369474172592163, -0.3234711289405823, -0.7007016539573669, -0.5038356184959412, -0.010579693131148815, -1.0314348936080933, -0.1318988800048828, -0.3042681813240051, -0.05278608575463295, -0.23890362679958344, 0.13630223274230957, 0.28589895367622375, -0.06621970981359482, -0.3209380507469177, -0.3223823308944702, 0.42302587628364563, 0.7338079810142517, 0.17436520755290985, 0.2927609086036682, -0.6586900353431702, 0.5290907025337219, 0.8337552547454834, 0.3357132077217102, -0.10505512356758118, -0.764242947101593, -0.3332267105579376, 0.05205949395895004, -0.39940690994262695, -0.9697489142417908, -0.01803930476307869, 0.3338077664375305, 0.829472541809082, 0.6113879680633545, 0.16483712196350098, 1.0375967025756836, -0.7254816293716431, 0.7692161798477173, -0.0032387094106525183, -0.6555087566375732, 0.5654647350311279, -0.3494441509246826, 0.04792077839374542, 0.5927206873893738, 0.6273638606071472, -0.4740082919597626, 0.13082489371299744, -0.5451905727386475, -0.6199713349342346, 0.5501376986503601, 0.13026079535484314, -0.05702134966850281, 0.31595274806022644, 0.3242560625076294, 0.22286459803581238, 0.32152584195137024, -0.3750506341457367, -0.33255288004875183, -0.6045681834220886, -0.2981179654598236, -0.2318904548883438, 0.16844569146633148, -0.26060330867767334, -0.17080111801624298, 0.5590471029281616, -0.3285065293312073, -0.15503038465976715, 0.21216030418872833, -0.41074731945991516, -0.1689840853214264, -0.08267263323068619, 0.5622786283493042, 0.7696969509124756, -0.4398888349533081, -0.004440817516297102, 0.0177376177161932, -0.6018009781837463, 0.17574504017829895, 0.26025429368019104, -0.40342339873313904, -0.07927612960338593, 0.5938780903816223, 0.7612241506576538, 0.44403398036956787, -0.8252272009849548, 0.4656597375869751, 0.06478696316480637, -0.3365662395954132, -0.4125553071498871, 0.4662799537181854, -0.2808232009410858, 0.35527175664901733, 0.46706900000572205, -0.010294109582901001, 0.4116280674934387, -0.200129896402359, 0.39967331290245056, 0.18099737167358398, -0.483448326587677, -0.2794421911239624, 0.572403073310852, 0.44048723578453064, -0.3376834988594055, 0.4594126343727112, 0.07504577934741974, -0.19872157275676727, 0.6865321397781372, -0.17096908390522003, 0.6877951622009277, 0.23007550835609436, 0.5075381994247437, 0.711002767086029, 0.24043598771095276, -0.3991193473339081, 0.12825165688991547, -0.6238545179367065, -0.051563382148742676, -0.47797298431396484, -0.2191362828016281, -0.39477574825286865, 0.2721013128757477, -1.0222865343093872, 0.191764235496521, -0.34070223569869995, 0.17569373548030853, 0.13743136823177338, 0.1962282508611679, -0.8524471521377563, 0.5565325021743774, -0.07120782881975174, 1.1094231605529785, -1.0262478590011597, 0.5543784499168396, 0.8021250367164612, -0.8802348375320435, -0.8721189498901367, -0.14106133580207825, -0.06685710698366165, -0.5197464823722839, 0.48922449350357056, 0.17522744834423065, 0.2560960054397583, -0.040219999849796295, -0.47333481907844543, -0.6332886219024658, 1.3833807706832886, 0.11129151284694672, -0.37905755639076233, -0.4141198694705963, -0.02376699075102806, 0.40369632840156555, -0.3818037807941437, 0.29897651076316833, 0.5844755172729492, 0.42924755811691284, 0.1976127326488495, -0.5632154941558838, -0.061661455780267715, -0.3289960026741028, -0.4176120162010193, -0.11202917248010635, -0.2912350594997406, 0.6586629748344421, -0.2607112228870392, 0.16759346425533295, -0.0017844248795881867, 0.20939654111862183, 0.04794716835021973, 0.6910868287086487, 0.6860861778259277, 0.2518923878669739, 0.322462260723114, 0.02349955029785633, 0.6437325477600098, -0.07495291531085968, -0.0014187803026288748, 1.2067219018936157, 0.3900243639945984, 0.7368767261505127, 0.5729343295097351, -0.1757214516401291, 0.4766831398010254, 0.7968460321426392, -0.2441394329071045, 0.6733181476593018, 0.07254014909267426, 0.09477946162223816, -0.5897363424301147, -0.2223556637763977, -0.22663146257400513, 0.11994025856256485, 0.08040682971477509, -0.37970617413520813, -0.21182294189929962, 0.026103878393769264, -0.33898404240608215, 0.13487817347049713, -0.5475981831550598, 0.8013721704483032, -0.21955321729183197, -1.230196475982666, 0.45814231038093567, -0.5454273819923401, 0.04947888106107712, -0.7443823218345642, -0.4345329999923706, -0.47337606549263, 0.00004541838279692456, -0.3435063660144806, -0.7962472438812256, -0.2563439905643463, 0.4475454092025757, -0.37605977058410645, -0.1732480227947235, 0.0644451379776001, -0.5055505037307739, -0.2919193208217621, -0.10380914062261581, 0.25265389680862427, 0.3121298551559448, -0.12132063508033752, -0.5285194516181946, -0.19952110946178436, 0.18482647836208344, -0.2979024350643158, 0.011915337294340134, 0.376569539308548, -0.12478192895650864, 0.8224632143974304, 0.3609687387943268, -0.3017132878303528, 0.10825730860233307, 0.09697636216878891, 0.6912751197814941, -0.5355647802352905, -0.2725866138935089, -0.48633620142936707, 0.7425844669342041, -0.14894239604473114, -0.33042722940444946, 0.8617187142372131, 0.29381081461906433, 1.0217546224594116, -0.15347282588481903, 0.6671207547187805, 0.07012489438056946, 0.23624901473522186, -0.6986231803894043, 0.25173380970954895, -0.6550838351249695, 0.2196372151374817, -0.5050048828125, -0.9483045339584351, -0.005292900837957859, 0.5934525728225708, 0.03299904614686966, 0.042894456535577774, 0.7676366567611694, 0.6092147827148438, -0.1730402112007141, 0.20135587453842163, 0.11748877167701721, -0.2617180049419403, 0.005746903829276562, 0.5804612040519714, 0.675357460975647, -0.5510455369949341, 1.2297366857528687, -0.6763962507247925, -0.12867693603038788, -0.21370694041252136, -1.0307425260543823, -1.1486042737960815, -0.6903223991394043, -0.6152698993682861, 0.03717424347996712, 0.3503861427307129, 0.773198664188385, 1.1552485227584839, -0.6207513809204102, -0.22799238562583923, -0.32869952917099, 0.11429402232170105, -0.7757284045219421, -0.1321021169424057, 0.42976176738739014, -0.018252043053507805, -0.5711215138435364, 0.2561708390712738, -0.24374867975711823, 0.07438915222883224, -0.42318376898765564, -0.2816025912761688, 0.050652991980314255, -0.2010698914527893, 0.14562825858592987, 0.33289968967437744, -0.7241783738136292, -0.1318107694387436, 0.46104705333709717, 0.3069009482860565, -0.24636709690093994, 1.0588430166244507, -0.69492107629776, 0.7307053804397583, 0.5327982306480408, 0.3342890441417694, 0.6587578058242798, 0.2365114539861679, 0.3447021245956421, -0.7854605913162231, -0.2884458303451538, -0.009733823128044605, 0.3267991542816162, 0.4685358703136444, 0.07480920106172562, 0.830684244632721, 0.012438368983566761, -0.40119022130966187, -0.8359572887420654, 0.06252562254667282, -1.0769612789154053, -0.004149360116571188, 1.1156033277511597, -0.48424917459487915, -0.05962059646844864, -0.14367178082466125, -0.38172581791877747, 0.26505929231643677, -0.3826732635498047, 0.553864598274231, 0.6883727312088013, -0.15762394666671753, -0.37171435356140137, -0.7978681325912476, 0.6657375693321228, 0.3173450827598572, -0.6068790555000305, 0.2115762084722519, 0.532627522945404, 0.5161536931991577, -0.0630633756518364, 0.29158881306648254, 0.5897406339645386, 0.6861826777458191, 0.03408292680978775, -0.5493420362472534, -0.5987911224365234, -0.6188240051269531, -0.23780830204486847, 0.23345232009887695, -0.20033058524131775, -0.48042210936546326 ]
http://arxiv.org/abs/2406.18221v1
http://arxiv.org/pdf/2406.18221v1
Enhancing Data Privacy in Large Language Models through Private Association Editing
2024-06-26T10:08:47
2024-06-26T10:08:47
Davide Venditti, Elena Sofia Ruzzetti, Giancarlo A. Xompero, Cristina Giannone, Andrea Favalli, Raniero Romagnoli, Fabio Massimo Zanzotto
cs.CL
cs.CL, cs.AI
Large Language Models (LLMs) are powerful tools with extensive applications, but their tendency to memorize private information raises significant concerns as private data leakage can easily happen. In this paper, we introduce Private Association Editing (PAE), a novel defense approach for private data leakage. PAE is designed to effectively remove Personally Identifiable Information (PII) without retraining the model. Our approach consists of a four-step procedure: detecting memorized PII, applying PAE cards to mitigate memorization of private data, verifying resilience to targeted data extraction (TDE) attacks, and ensuring consistency in the post-edit LLMs. The versatility and efficiency of PAE, which allows for batch modifications, significantly enhance data privacy in LLMs. Experimental results demonstrate the effectiveness of PAE in mitigating private data leakage. We believe PAE will serve as a critical tool in the ongoing effort to protect data privacy in LLMs, encouraging the development of safer models for real-world applications.
[ -0.08348794281482697, -0.7902554869651794, 0.5083408355712891, 0.09008543193340302, -0.09599504619836807, 0.1590036153793335, -0.2744075357913971, -0.31659838557243347, -0.07095909118652344, 0.7354215979576111, -0.15136632323265076, -0.906237006187439, -0.7321458458900452, 0.001603101845830679, -0.29040393233299255, 0.8179178237915039, 0.06363334506750107, -0.2739655077457428, 0.18146005272865295, -0.1005168929696083, -0.5203487873077393, -0.8496004939079285, -0.8810591697692871, 0.2837553918361664, 0.47508376836776733, 0.2576694190502167, 0.5939727425575256, 0.9555538892745972, 0.5891215205192566, 0.4419732391834259, -0.29434332251548767, 0.2719934284687042, -0.5350513458251953, 0.11475855112075806, -0.4333082437515259, -0.6221335530281067, -1.1358191967010498, -0.21756818890571594, 0.8113816380500793, 0.4284999370574951, -0.04307831823825836, 0.028669610619544983, -0.14894235134124756, 0.766917884349823, -0.9365195035934448, 0.22425468266010284, -0.7654171586036682, -0.018324194476008415, -0.6149402856826782, 0.05096746236085892, -0.6806154847145081, -0.13747794926166534, -0.048408590257167816, -0.3302271366119385, 0.01839914545416832, -0.09924149513244629, 0.44910261034965515, 0.017059393227100372, -0.08963310718536377, 0.16247908771038055, -0.8704610466957092, 0.42076024413108826, -0.7854421138763428, 0.4141068756580353, 0.5940420031547546, 0.01740250363945961, -0.3726920187473297, -0.47448939085006714, -0.5018466711044312, -0.02606799080967903, 0.06129719316959381, -0.14264433085918427, -0.27908310294151306, 0.13036057353019714, 0.14569196105003357, 0.6283025741577148, -0.23657922446727753, 0.2974141836166382, -0.342069149017334, -0.14618493616580963, 1.0094740390777588, 0.08413156867027283, 0.25493699312210083, 0.2924233376979828, -0.079264797270298, 0.0712750256061554, -0.7565863132476807, -0.12337340414524078, 0.6051015853881836, 0.07476189732551575, 0.005906276870518923, 0.6699509620666504, -0.08121372014284134, 0.1658027619123459, 0.23408158123493195, -0.16314435005187988, 0.008960627019405365, 0.11687054485082626, -0.5619518756866455, -0.09485430270433426, 0.9276837706565857, 0.19590577483177185, 0.3550921678543091, -0.5423499345779419, -0.1254333257675171, -0.23112288117408752, 0.045418497174978256, -0.5548188090324402, -0.424943745136261, 0.4399498999118805, -0.5493694543838501, -0.5334811210632324, 0.09679821133613586, -1.090264081954956, -0.8312934637069702, 0.038397278636693954, 0.22382958233356476, -0.4245985150337219, -0.13827607035636902, 0.30710646510124207, 0.15651458501815796, -0.33491092920303345, 0.1724328100681305, -0.7892529368400574, 0.5990315079689026, 1.0112231969833374, 0.6669179797172546, -0.2541426122188568, -0.3253622055053711, -0.8668670058250427, 0.7831901907920837, -0.33078864216804504, 0.37143486738204956, -0.7134093642234802, -0.830528736114502, -0.14563314616680145, 0.1572413295507431, 0.13293974101543427, -0.5807589888572693, 0.23884950578212738, -0.662021279335022, 0.13976801931858063, 0.0038512665778398514, -0.812091588973999, 0.0007386207580566406, -0.0014653141843155026, -0.6595383286476135, 0.44917258620262146, -0.37336111068725586, -0.5481436848640442, -0.020450551062822342, -0.8835656046867371, -0.26126793026924133, -0.004427080042660236, -0.0029688975773751736, -0.8361748456954956, 0.24030952155590057, 0.28696760535240173, 0.5201392769813538, 0.32340577244758606, 0.1634034365415573, -0.3799820840358734, -0.05627744644880295, 0.39216211438179016, -0.5056610703468323, 0.5704748034477234, 0.13000719249248505, -0.22579190135002136, 0.2881190776824951, -0.924896240234375, -0.39112159609794617, 0.1793522983789444, -0.25521788001060486, -0.4581713080406189, -0.15610170364379883, -0.5223800539970398, -0.21220463514328003, 0.5343295335769653, -0.5670333504676819, 0.4313156306743622, -0.5092257857322693, 0.011503258720040321, 1.2308118343353271, 0.4264889359474182, 0.6971734762191772, -0.2536007761955261, 0.3965171277523041, -0.0052396683022379875, 0.43944239616394043, -0.10332049429416656, -0.4632870554924011, -0.34346070885658264, -0.6430419087409973, 0.4424343407154083, 0.6346274614334106, 0.0801306813955307, 0.622272253036499, -0.197793647646904, -0.5012008547782898, -0.36267244815826416, 0.2784073054790497, 0.47329825162887573, 0.006741592660546303, 0.1786816269159317, -0.4945441782474518, -0.3078411817550659, -0.8200994729995728, -0.5971038937568665, 0.14449022710323334, 0.07594991475343704, 0.3534753620624542, 0.2102363109588623, -0.16012360155582428, 0.5798920392990112, -0.46910905838012695, -0.46376484632492065, 0.01488510798662901, -0.08657455444335938, -0.13610103726387024, 0.7187315821647644, 0.17192918062210083, -0.5661815404891968, -0.5946112275123596, -0.047761812806129456, -0.6282069087028503, -0.08548471331596375, -0.05332005023956299, -0.22929935157299042, 0.17513896524906158, 0.32548749446868896, -0.6362689733505249, 0.6555386185646057, 0.45389652252197266, -0.5152972340583801, 0.2607559561729431, -0.44653940200805664, -0.04806055873632431, -0.8197545409202576, 0.0050864508375525475, -0.16073095798492432, -0.3418152928352356, -0.7393315434455872, 0.2216930389404297, 0.14402545988559723, -0.479976624250412, -0.45286044478416443, 0.5882202982902527, -0.5825858116149902, 0.03476583585143089, -0.2557602822780609, -0.20200924575328827, -0.14477883279323578, 0.39314815402030945, -0.042796116322278976, 0.8340069651603699, 0.6227736473083496, -0.6068586707115173, 0.02682945318520069, 0.4357924461364746, -0.17216938734054565, 0.14691106975078583, -0.3471074104309082, 0.7895804047584534, -0.2357357293367386, 0.08082615584135056, -0.5159476399421692, -0.12626132369041443, 0.4353371262550354, -0.09075641632080078, 0.5779069662094116, -0.19753137230873108, -0.6001776456832886, 0.3400474786758423, -0.37011396884918213, 0.06619507819414139, 0.19271178543567657, -0.6953591704368591, 0.701923668384552, 0.7212293744087219, -0.31749531626701355, -0.5442044138908386, -0.6561667919158936, 0.3955952823162079, -0.35000672936439514, -0.5257577300071716, 0.44375932216644287, -0.2823885679244995, -0.5220504999160767, -0.12010067701339722, -0.10515902191400528, -0.5202608704566956, 0.3353376090526581, 0.27202335000038147, 0.3251451849937439, 0.13796691596508026, -0.02363419160246849, -0.007398547139018774, -0.2427303045988083, -0.04623604193329811, 0.22868837416172028, 0.4949091076850891, -0.005371434614062309, -0.10741887986660004, -1.0202604532241821, 0.6239452362060547, 0.4523242712020874, -0.8328665494918823, 1.0690460205078125, 0.10942302644252777, -0.4604063928127289, -0.10027369111776352, -0.4685715138912201, -0.05024585500359535, -0.5303362607955933, 0.33419570326805115, -0.5096878409385681, -0.5941668152809143, 0.4049324095249176, -0.33870992064476013, 0.3199215531349182, -0.06428325176239014, 0.39111846685409546, 0.3771232068538666, 0.7688841819763184, 0.6561225056648254, -0.4187203049659729, 0.4606684446334839, -0.21053114533424377, 0.501336395740509, -0.720422089099884, -0.1453227549791336, -0.24325180053710938, -0.1757451295852661, -0.6192363500595093, -0.3418078124523163, 0.12305763363838196, 0.047589004039764404, -0.0015947303036227822, 0.04842600226402283, -0.37175750732421875, 0.9297686219215393, 0.11538843810558319, 0.27661195397377014, 0.5754395127296448, -0.30963075160980225, 0.6489166617393494, -0.06523551046848297, -0.0936114713549614, -0.7691678404808044, 1.3468891382217407, 0.6761742830276489, 0.5925792455673218, 0.4238428473472595, 1.1549030542373657, 0.24840658903121948, 0.28373730182647705, -0.2714116871356964, 0.7592523097991943, -0.4912004768848419, -0.6377122402191162, -0.3771575093269348, -0.2180890142917633, -0.6763832569122314, 0.1990327388048172, -0.2254830300807953, -1.162397861480713, 0.5508872866630554, 0.22974908351898193, -0.23648877441883087, 0.7272010445594788, -0.8494272232055664, 0.7986438274383545, 0.008417265489697456, -0.7731114029884338, -0.2377830296754837, -0.17700639367103577, 0.5456887483596802, -0.3181209862232208, 0.36827343702316284, 0.10066726803779602, -0.2304835319519043, 0.6503219604492188, -0.6071929335594177, 0.8802212476730347, -0.33791881799697876, -0.2159605622291565, -0.07905694842338562, 0.4980612099170685, 1.1087294816970825, 0.3878175914287567, -0.28891071677207947, 0.28571027517318726, -0.2408991903066635, -0.28855401277542114, -0.5180591344833374, 0.7556997537612915, -0.5356563925743103, -0.829859733581543, -0.40241870284080505, -0.5905969738960266, -0.33592918515205383, 0.24971932172775269, -0.14550741016864777, 0.14999565482139587, -0.1889452040195465, 0.27574029564857483, 0.7309432029724121, -0.38267117738723755, 0.276175856590271, 0.6723965406417847, -0.1296597570180893, -0.1449216902256012, 0.8077904582023621, 0.0012104616034775972, 0.23020654916763306, 0.35344335436820984, 0.429159551858902, -0.11864768713712692, -0.9243804812431335, 0.26829323172569275, 0.39891913533210754, -0.46355101466178894, 0.02695549465715885, -0.7369868159294128, -0.09845202416181564, -0.4256710708141327, -0.06896022707223892, -0.7073847651481628, -0.29145973920822144, 0.047874514013528824, -0.15453660488128662, 0.40225717425346375, 0.539518415927887, -0.31267982721328735, 0.46540674567222595, -0.7516584396362305, 0.38377904891967773, 0.2790260314941406, 0.608659029006958, -0.18043380975723267, -0.2896707355976105, 0.13160096108913422, -0.27112525701522827, -0.13166964054107666, -0.8875744938850403, 0.4961220324039459, 0.14103692770004272, 0.1793801188468933, 0.10299654304981232, -0.03992750123143196, 0.5981948971748352, -0.640192985534668, 0.6608734726905823, -0.2637384235858917, -1.213529348373413, 0.38614535331726074, -0.29712381958961487, -0.05762288346886635, 0.5789347290992737, 0.06478181481361389, -0.271670937538147, -0.5642843246459961, -0.7558841109275818, -0.6028820276260376, 0.5458680987358093, 0.06831416487693787, 0.12660928070545197, 0.12931767106056213, 0.5270518660545349, 0.13293924927711487, 0.35603412985801697, -0.6730888485908508, -0.4881337285041809, 0.33304816484451294, -0.012907938100397587, 0.1793874204158783, -0.4337625801563263, -0.022928081452846527, 0.02114766649901867, 0.9110907316207886, 0.48343440890312195, -0.054955802857875824, 0.022792305797338486, 0.3620871603488922, -0.05090370774269104, 0.5186180472373962, 0.04704807326197624, 0.6236882209777832, -0.3404867947101593, -0.14192190766334534, 0.18636219203472137, -0.38583311438560486, 0.02618340402841568, -0.08337236195802689, -0.2051818072795868, -0.1004466637969017, 0.0981799066066742, 0.45170241594314575, -0.10182926803827286, -0.3839241564273834, 0.5565738081932068, -0.30899521708488464, 0.02659042552113533, -0.315058171749115, 0.33311378955841064, -0.10040464997291565, 0.01664087176322937, -0.2140546441078186, 0.09741520881652832, 0.04300723224878311, -0.4912967383861542, 0.08619916439056396, 0.15824998915195465, 0.1692749559879303, -0.19498933851718903, 0.6921585202217102, -0.04521355777978897, -0.6759523153305054, 0.2662324607372284, 0.06471430510282516, -0.010917609557509422, 0.20853599905967712, 0.3246437609195709, 0.8626708984375, -0.7507006525993347, -0.12937772274017334, 0.017686843872070312, 0.24844342470169067, 0.10026602447032928, 0.10256996005773544, 0.1985197365283966, -0.47092607617378235, -0.25272539258003235, -0.10001363605260849, -0.2748074531555176, 0.8871862292289734, -0.5390157103538513, 0.2000744491815567, -1.0442520380020142, 0.17822213470935822, 0.09990233182907104, -0.13231980800628662, -0.42370715737342834, 0.15241535007953644, 0.011606615036725998, 0.7922587394714355, -0.4237178564071655, 1.0527081489562988, 0.13096533715724945, -0.054784320294857025, -0.7818965911865234, 0.10734236240386963, 0.2812744379043579, -0.39311638474464417, 0.4036845862865448, -0.18401765823364258, 0.10591800510883331, -0.21308176219463348, -0.3276350796222687, -0.5950965285301208, 0.7232606410980225, 0.40566205978393555, -1.032198429107666, 0.08524022996425629, 0.17187535762786865, 0.43713194131851196, -0.09707058221101761, -0.5169371962547302, 0.6301959156990051, 0.5840069651603699, -0.6360596418380737, -0.6390491724014282, -0.035497549921274185, -0.11059581488370895, -0.10144200921058655, 0.2325667440891266, -0.7565208673477173, 0.7350742220878601, 0.15091069042682648, -0.18835610151290894, 0.20292218029499054, 0.6735667586326599, 0.1825757473707199, 0.2124433070421219, 0.44723063707351685, 0.4222724139690399, 1.0856144428253174, 0.32413598895072937, 1.1976839303970337, -0.3262943625450134, -0.013682013377547264, 1.4378236532211304, -0.5944024324417114, 0.8698774576187134, 0.233448326587677, -0.08805899322032928, 0.07042404264211655, -0.013518920168280602, -0.004550835583359003, 0.5660274028778076, 0.10099238157272339, -0.7464820742607117, -0.06442272663116455, 0.25689834356307983, -0.3205362856388092, 0.6982786059379578, 0.19678273797035217, -0.5929899215698242, 0.14174897968769073, -0.20662732422351837, 0.47914811968803406, 0.5891291499137878, -0.20078976452350616, 0.896325945854187, -0.05430387705564499, -0.2602105736732483, 0.1498699188232422, 0.4707890450954437, 0.40001437067985535, -0.7184354662895203, 0.0919126570224762, -0.21414029598236084, 0.5630167722702026, -0.25226205587387085, -0.6168129444122314, 0.6411823034286499, 0.4360355734825134, -0.23725660145282745, -0.15884508192539215, 0.5918419361114502, -0.4873569905757904, -0.29386451840400696, 0.1947486847639084, 0.19993315637111664, 0.13316768407821655, -0.18990428745746613, -0.6443656086921692, 0.2448028177022934, 0.01065809652209282, -0.27586835622787476, 0.5988756418228149, 0.4545454978942871, 0.08465434610843658, 0.49471884965896606, 0.8439823389053345, 0.5235673189163208, 0.1509578675031662, 0.00870882160961628, 0.6320072412490845, -0.4066336750984192, -0.5670715570449829, -1.0990610122680664, 0.380226731300354, -0.2743048071861267, -0.11794441938400269, 0.8066873550415039, 0.7440718412399292, 0.6241406798362732, -0.20187102258205414, 0.8649002909660339, 0.35354936122894287, 0.5837222933769226, -0.5235502123832703, 0.8742970824241638, -0.0014438886428251863, 0.6310069561004639, -0.22044506669044495, -0.6778772473335266, -0.5670788884162903, 0.28680190443992615, -0.6704984307289124, -0.3677506446838379, 0.6040558218955994, 1.189928650856018, -0.03408899903297424, 0.03971545770764351, 0.27482035756111145, 0.5631612539291382, 0.8415942788124084, 0.5277082324028015, 0.3736957311630249, -0.5703485608100891, 0.3818035423755646, -0.7320755124092102, -0.3243004083633423, 0.4913294017314911, -0.8785597085952759, -1.1021456718444824, -0.2378920465707779, -0.58327317237854, -0.13017207384109497, 0.4762287437915802, 0.6483719944953918, 0.6669917106628418, -0.836004912853241, -0.14112357795238495, -0.14405487477779388, -0.041371915489435196, -0.08643770962953568, -0.1942751705646515, 0.713529109954834, 0.09885698556900024, -0.9685490131378174, 0.9328958988189697, 0.46990740299224854, 0.026914803311228752, -0.053945474326610565, 0.07286439836025238, -0.24955013394355774, 0.10907982289791107, 0.19852514564990997, 0.47254860401153564, -0.5135163068771362, -0.18561682105064392, -0.609782874584198, 0.13552972674369812, 0.08007210493087769, 0.6930031180381775, -0.20970651507377625, 0.594902753829956, 0.2250942587852478, 0.8864662051200867, 0.2496214210987091, 0.12119431048631668, 0.6754151582717896, -0.9216501116752625, 0.3720656931400299, 0.04889148101210594, 0.45876365900039673, 0.2818525433540344, -0.9117516875267029, 0.26961424946784973, 0.06600051373243332, -0.6243385076522827, -0.8733634352684021, 0.03181866928935051, -0.7982970476150513, -0.2716168761253357, 0.8739941716194153, -0.511023223400116, -0.6918209791183472, -0.06351719796657562, -0.39596641063690186, 0.05004722997546196, -0.48781269788742065, 1.0609526634216309, 0.591928243637085, 0.33702796697616577, -0.15130095183849335, -0.24506117403507233, 0.4706842601299286, 0.27464133501052856, -1.0185102224349976, 0.6187999844551086, 0.3769286870956421, 0.2846539616584778, -0.14452506601810455, 0.7266415357589722, -0.5564969778060913, 0.19502121210098267, -0.30989882349967957, -0.2154952436685562, -0.47570428252220154, -0.39535653591156006, -0.5316010117530823, 0.2609366774559021, 0.12151593714952469, -0.45700305700302124 ]
http://arxiv.org/abs/2406.18219v1
http://arxiv.org/pdf/2406.18219v1
A Closer Look into Mixture-of-Experts in Large Language Models
2024-06-26T10:07:57
2024-06-26T10:07:57
Ka Man Lo, Zeyu Huang, Zihan Qiu, Zili Wang, Jie Fu
cs.CL
cs.CL, cs.LG
Mixture-of-experts (MoE) is gaining increasing attention due to its unique properties and remarkable performance, especially for language tasks. By sparsely activating a subset of parameters for each token, MoE architecture could increase the model size without sacrificing computational efficiency, achieving a better trade-off between performance and training costs. However, the underlying mechanism of MoE still lacks further exploration, and its modularization degree remains questionable. In this paper, we make an initial attempt to understand the inner workings of MoE-based large language models. Concretely, we comprehensively study the parametric and behavioral features of three recent MoE-based models and reveal some intriguing observations, including (1) Neurons act like fine-grained experts. (2) The router of MoE usually selects experts with larger output norms. (3) The expert diversity increases as the layer increases, while the last layer is an outlier. Based on the observations, we also provide suggestions for a broad spectrum of MoE practitioners, such as router design and expert allocation. We hope this work could shed light on future research on the MoE framework and other modular architectures. Code is available at https://github.com/kamanphoebe/Look-into-MoEs.
[ -0.6949455738067627, -0.8339176774024963, 0.5414507985115051, -0.019590692594647408, 0.02795596420764923, 0.007981089875102043, -0.3826921582221985, -0.46818017959594727, 0.21816201508045197, 0.3623582124710083, -0.28913798928260803, -0.03669455274939537, -0.8098976016044617, -0.24343551695346832, -0.3909685015678406, 0.7163108587265015, 0.4405917227268219, -0.12678545713424683, -0.08651883155107498, -0.05213277041912079, -0.7395696043968201, -0.3341594934463501, -0.5598761439323425, -0.40357375144958496, 0.4716622531414032, 0.44432464241981506, 0.7808758616447449, 0.4721587002277374, 0.2990833818912506, 0.3551560938358307, -0.12268832325935364, 0.1328365057706833, -0.6200088858604431, 0.1741219013929367, -0.14978133141994476, -0.7191393375396729, -0.5816143155097961, -0.3249271810054779, 0.6413118839263916, 0.7811334729194641, -0.26015350222587585, -0.17080819606781006, 0.12918144464492798, 0.502495527267456, -0.5991348624229431, 0.18410076200962067, -0.9765679836273193, -0.11028815805912018, -0.5264493823051453, -0.0026521910913288593, -0.45620739459991455, 0.27541476488113403, 0.2156786024570465, -0.18777143955230713, 0.019093293696641922, 0.18116530776023865, 0.509829580783844, 0.22376549243927002, -0.5759281516075134, -0.03764882683753967, -0.5793744325637817, 0.990943431854248, -0.915763795375824, 0.1504112333059311, 0.44598984718322754, 0.27065154910087585, -0.37898001074790955, -0.06649833172559738, -0.45551037788391113, -0.12551619112491608, 0.06735578179359436, -0.08406172692775726, -0.14996188879013062, 0.0577402226626873, -0.20981347560882568, 0.6863500475883484, -0.2668832242488861, 0.421865850687027, -0.4179724454879761, 0.05902450159192085, 0.7458168268203735, 0.20097331702709198, 0.34833618998527527, 0.012554049491882324, -0.27280566096305847, 0.2635739743709564, -0.4388432502746582, 0.04740576073527336, 0.5939861536026001, -0.11152379959821701, 0.007060232572257519, 0.5594666004180908, -0.3620630204677582, 0.7897545099258423, 0.17406636476516724, 0.09011123329401016, 0.02116389200091362, 0.0647246241569519, 0.10717719793319702, -0.15139180421829224, 0.8966386914253235, 0.18348582088947296, 0.5089719891548157, -0.3350246250629425, -0.4667970538139343, -0.6533440947532654, 0.23879915475845337, -0.5418481230735779, -0.7156887054443359, 0.19093158841133118, -0.5034410357475281, -0.23688891530036926, -0.018837645649909973, -0.6056612730026245, -0.17999498546123505, -0.3537333011627197, 0.5716348886489868, -0.5203313231468201, -0.7668737173080444, 0.23921692371368408, -0.1959894597530365, -0.07210758328437805, 0.25842171907424927, -1.0564295053482056, 0.2746306359767914, 1.035779595375061, 0.628573477268219, -0.25786522030830383, -0.43539753556251526, -0.38042253255844116, 0.14885318279266357, -0.2341495007276535, 0.6617957949638367, -1.0536800622940063, -0.34910884499549866, -0.2165343165397644, -0.6068501472473145, -0.18446260690689087, -0.598212718963623, -0.05478927120566368, -0.7160125374794006, -0.027269911020994186, -0.29206082224845886, -0.6185025572776794, -0.3813110291957855, 0.15415693819522858, -0.408017635345459, 1.0853829383850098, -0.08821647614240646, -0.6460807919502258, 0.2765923738479614, -0.5594754219055176, -0.32114923000335693, 0.009034349583089352, -0.2970287799835205, 0.2216888964176178, 0.5978014469146729, 0.1739000529050827, 0.7737295627593994, -0.13621680438518524, 0.40740635991096497, -0.5095644593238831, -0.20988044142723083, 0.6770324110984802, -0.459722638130188, 0.812088131904602, 0.05839079990983009, -0.19500640034675598, 0.03330465406179428, -0.751001238822937, -0.2116975635290146, -0.20782610774040222, -0.2247467041015625, -0.5965726971626282, 0.18500792980194092, -0.23686560988426208, 0.21725308895111084, 0.31730684638023376, -0.29614901542663574, 0.2353416383266449, -0.046113502234220505, 0.531839907169342, 0.9970561861991882, 0.010874483734369278, 0.6667649149894714, -0.3021433651447296, 0.24198229610919952, 0.19386625289916992, 0.18388152122497559, -0.3054267466068268, -0.9598613977432251, -0.8163661956787109, -0.6012772917747498, 0.38819068670272827, 0.1561659425497055, -0.5864758491516113, 0.6410415768623352, -0.2985163629055023, -0.5602533221244812, -0.5701276063919067, 0.35562098026275635, 0.30247312784194946, 0.3208156228065491, 0.1901266723871231, -0.3484068214893341, 0.12130395323038101, -1.191704273223877, -0.2463970184326172, -0.08707660436630249, -0.0019200540846213698, 0.24166645109653473, 0.43678247928619385, -0.17989902198314667, 1.268385648727417, -0.4909834563732147, 0.050477612763643265, -0.1189483031630516, 0.18292757868766785, 0.10296648740768433, 0.653010368347168, 0.5939926505088806, -0.654613196849823, -0.45068299770355225, 0.29460588097572327, -0.5552234649658203, -0.016760189086198807, 0.09016678482294083, -0.31760719418525696, -0.3271294832229614, 0.4164661765098572, -0.6555150747299194, 0.05064369738101959, 0.5098220109939575, 0.18974441289901733, 0.38440078496932983, -0.18876728415489197, -0.1747485101222992, -1.0208832025527954, -0.11955369263887405, -0.021305859088897705, 0.002002924680709839, -0.5732396245002747, 0.4985421597957611, -0.13742731511592865, 0.16505348682403564, 0.004378586076200008, 0.46864378452301025, -0.5717825293540955, -0.0744074359536171, -0.36874550580978394, -0.10514829307794571, -0.35599225759506226, 0.7332558631896973, -0.21715658903121948, 0.6624274849891663, 0.9427125453948975, -0.5260657072067261, 0.2694806158542633, -0.12334191054105759, -0.49848270416259766, 0.3418707847595215, -0.5502736568450928, 0.2643505036830902, -0.06491315364837646, 0.07442561537027359, -1.0062222480773926, -0.538195013999939, 0.14319734275341034, -0.3356036841869354, 0.486558735370636, -0.19477799534797668, -0.6449533700942993, -0.14774517714977264, -0.1905609518289566, 0.6952146291732788, 0.7351726293563843, -0.11796706914901733, 0.8033011555671692, 0.6624764800071716, -0.5353452563285828, -0.41854017972946167, -0.6457163691520691, 0.14332011342048645, -0.10692158341407776, -0.7365430593490601, 0.07335565984249115, -0.019062375649809837, -0.5269246697425842, 0.03804192692041397, 0.05457853898406029, -0.40825891494750977, 0.18893243372440338, 0.08161123096942902, -0.2101905792951584, -0.4793306291103363, 0.048756808042526245, 0.4938162565231323, -0.044799964874982834, 0.2285919040441513, -0.3349372446537018, 0.6045374274253845, -0.1453849822282791, -0.7060137391090393, -0.41679516434669495, 0.5240925550460815, 0.6662300229072571, -0.4731277525424957, 0.6644269227981567, 0.5563449263572693, -0.1762923002243042, -0.15035486221313477, -0.8962210416793823, -0.26558244228363037, -0.4747341275215149, 0.5525044798851013, -0.3059740364551544, -0.5792487859725952, 0.8188074231147766, 0.1948663741350174, 0.05821320042014122, 0.5191399455070496, 0.6965703368186951, 0.12067849189043045, 0.9858041405677795, 0.46641892194747925, -0.261417418718338, 0.5407021045684814, -0.0657653734087944, 0.21367254853248596, -0.8915510773658752, -0.3817289173603058, -0.28809380531311035, -0.6485782861709595, -0.17800310254096985, -0.44599011540412903, 0.30405938625335693, 0.17149962484836578, 0.17757512629032135, 0.0022835074923932552, -0.12600623071193695, 0.5122205018997192, 0.6667795777320862, 0.23135152459144592, 0.1606355458498001, -0.16973252594470978, -0.026378560811281204, 0.29290860891342163, -1.033958077430725, -0.15863262116909027, 1.0430824756622314, 0.4155380427837372, 0.6782846450805664, 0.05364716053009033, 0.6558867692947388, 0.14230120182037354, 0.01027554739266634, -0.7242099642753601, 0.7375346422195435, 0.021047675982117653, -0.9280226230621338, -0.2640015184879303, -0.3723703622817993, -0.5961980223655701, 0.4414624571800232, -0.21094171702861786, -0.6720758676528931, 0.48738130927085876, 0.17010937631130219, -0.364982545375824, 0.5139924883842468, -0.8077818751335144, 0.43110623955726624, -0.24561141431331635, -0.1885484904050827, -0.5501878261566162, -0.6042742729187012, 0.5097052454948425, -0.37725594639778137, 0.24462270736694336, -0.10888299345970154, -0.0790661871433258, 0.44390037655830383, -0.34604689478874207, 0.9066774845123291, 0.009431304410099983, -0.39492061734199524, 0.15613891184329987, 0.15371039509773254, 0.3287532329559326, -0.013313940726220608, -0.2229059785604477, 0.4080111086368561, -0.5617175102233887, -0.7233490943908691, -0.45757293701171875, 0.8106073141098022, -0.7200170159339905, -0.7071419358253479, 0.20041097700595856, -0.7707530856132507, -0.2926647961139679, 0.2596128284931183, 0.284990131855011, 0.7840797305107117, 0.1951485127210617, 0.5830895304679871, 0.8216691613197327, 0.0014124714070931077, 0.34454306960105896, 0.19816264510154724, -0.2808423638343811, -0.07914608716964722, 1.0038036108016968, 0.2860184609889984, 0.23134301602840424, 0.518616259098053, 0.2102273851633072, 0.09943193942308426, -0.9220708608627319, -0.4445768892765045, -0.09505489468574524, -0.5040300488471985, 0.08629530668258667, -0.8194313645362854, 0.09319726377725601, -0.0675697922706604, -0.03569469973444939, -0.45820432901382446, -0.2842288613319397, -0.2666500508785248, 0.07525693625211716, 0.24900054931640625, 0.898711085319519, 0.20595908164978027, 0.5098896026611328, -0.8434761762619019, 0.017871221527457237, 0.5416425466537476, 0.29158779978752136, 0.6249347925186157, -0.3867834210395813, -0.44464296102523804, 0.22610613703727722, -0.10562604665756226, -0.648971676826477, -0.05616649612784386, 0.24480712413787842, 0.7894421815872192, 1.088390588760376, -0.019853459671139717, 0.5423067212104797, -0.6116406321525574, 0.8308975100517273, -0.003116865875199437, -0.7948562502861023, 0.004583775997161865, -0.7623878717422485, 0.022428691387176514, 0.33088886737823486, 0.057906702160835266, 0.047041889280080795, -0.8192511796951294, -0.49115607142448425, -0.777535080909729, 0.6728463768959045, 0.3506373167037964, 0.5650834441184998, 0.016770321875810623, 0.24268309772014618, 0.6341719627380371, 0.29303407669067383, -0.3736983835697174, -0.19487348198890686, 0.16148337721824646, -0.09754455089569092, 0.031065352261066437, -0.48051244020462036, -0.06994450092315674, -0.2281865030527115, 0.4139558672904968, 0.18921007215976715, 0.1319919228553772, -0.37847331166267395, -0.26543036103248596, 0.01130465418100357, 0.21235334873199463, 0.6636863946914673, 0.7486777305603027, -0.11918935924768448, 0.07309206575155258, 0.14104026556015015, -0.1746094673871994, -0.33360177278518677, -0.14844337105751038, 0.115170918405056, -0.026569630950689316, 0.568183422088623, 0.8835978507995605, 0.6538520455360413, -0.5004679560661316, 0.5842528343200684, 0.31208255887031555, -0.08604545146226883, 0.050676584243774414, 0.4809853136539459, -0.014297270216047764, 0.4219048023223877, 0.7330240607261658, 0.6190450191497803, 0.3010162115097046, -0.6292845010757446, -0.08434750139713287, 0.446636825799942, -0.031822677701711655, -0.6873655915260315, 0.3921290338039398, 0.5385110378265381, -0.3513703942298889, 0.39954614639282227, -0.08152133226394653, -0.6405504941940308, 0.4545539915561676, 0.1872648447751999, 0.7909836769104004, -0.12957021594047546, -0.1561715453863144, -0.40374454855918884, 0.256095290184021, -0.17527663707733154, -0.14273691177368164, -0.1990111917257309, -0.563421905040741, -0.49623990058898926, -0.1831006109714508, -0.22580453753471375, -0.16217336058616638, -0.9092528820037842, 0.1239456981420517, -0.21720409393310547, -0.17858725786209106, -0.11758887767791748, -0.5229197144508362, -0.4733198285102844, -0.03776973485946655, 0.11055801808834076, 0.6748165488243103, -0.6113206148147583, 0.7915141582489014, 0.8323371410369873, -0.012778403237462044, -0.4855596423149109, 0.3912205100059509, -0.2934352457523346, -0.9115250706672668, 0.5392632484436035, 0.05204278603196144, 0.07585114240646362, -0.040502529591321945, -0.3762943744659424, -0.593643844127655, 0.6933512091636658, 0.3357737362384796, -0.6151391267776489, -0.26490330696105957, -0.11132584512233734, 0.49806874990463257, -0.15092259645462036, 0.37882089614868164, 0.22198788821697235, 0.3263651728630066, -0.2703886926174164, -0.8777289986610413, -0.27777647972106934, -0.4641183316707611, -0.051194723695516586, 0.3406558334827423, -0.8640673160552979, 1.3308459520339966, 0.11154737323522568, 0.4144482910633087, -0.00016762754239607602, 0.8221310973167419, -0.021497365087270737, 0.2612922191619873, 0.4679732918739319, 0.4013718366622925, 0.6894379258155823, 0.23228448629379272, 1.1226869821548462, -0.5047739148139954, 0.31583550572395325, 0.7282451391220093, -0.11510252207517624, 0.9703664183616638, 0.44572213292121887, -0.14258944988250732, 0.5471816062927246, 0.5430817604064941, 0.216010183095932, 0.4456111192703247, -0.17024028301239014, -0.20371980965137482, -0.6220755577087402, 0.39772656559944153, -0.5317593812942505, 0.3932000398635864, 0.355769544839859, -0.22453290224075317, -0.11152839660644531, 0.11211875081062317, -0.1172557920217514, -0.2723681330680847, -0.516662061214447, 0.7389736771583557, 0.11777844280004501, -0.5926050543785095, 0.15437456965446472, 0.006952081341296434, 0.826877236366272, -0.4341392517089844, 0.2193809151649475, -0.10986515879631042, 0.04057682678103447, -0.04567722976207733, -0.9203633666038513, -0.08137547969818115, -0.21350277960300446, -0.3407934904098511, 0.06965968012809753, 0.6237918734550476, -0.45577171444892883, -0.316667377948761, 0.18111290037631989, 0.43582606315612793, 0.1654265969991684, -0.39799779653549194, -0.4799933135509491, -0.2320111095905304, -0.07675189524888992, -0.24166443943977356, 0.49549630284309387, 0.9247262477874756, -0.04121540114283562, 0.716282308101654, 0.49594631791114807, -0.05200720578432083, 0.5465734004974365, -0.36991947889328003, 0.8701305985450745, -0.17338432371616364, -0.5350035429000854, -0.9522490501403809, 0.6981573700904846, -0.07722468674182892, -0.5146742463111877, 0.7560746073722839, 0.418186217546463, 0.8268417716026306, -0.3099224865436554, 0.5913140773773193, 0.09979511052370071, 0.047367021441459656, -0.7083953619003296, 0.8521124124526978, -0.7776485681533813, 0.16738799214363098, -0.2338995486497879, -0.8685904145240784, 0.005179461091756821, 0.2996278703212738, -0.5695759654045105, 0.312134325504303, 0.32828083634376526, 0.6992430686950684, -0.5394434928894043, -0.030034486204385757, 0.3627534508705139, 0.3771808445453644, 0.17054176330566406, 0.19421300292015076, 1.0422052145004272, 0.1172788068652153, 0.35931944847106934, -0.17496131360530853, -0.17754921317100525, -0.7983304262161255, -0.5840142965316772, -1.102567195892334, -0.5076234936714172, -0.2418513298034668, 0.33651334047317505, -0.19284260272979736, 0.8300987482070923, 0.9773085117340088, -0.7503297328948975, -0.041549768298864365, -0.04977922886610031, 0.08811984956264496, -0.026355527341365814, -0.19703982770442963, -0.031023558229207993, -0.33273589611053467, -0.8553849458694458, 0.3606722354888916, 0.41183212399482727, -0.37435340881347656, -0.3850494623184204, -0.05715730041265488, 0.024924036115407944, 0.24948899447917938, 0.5008456707000732, -0.09142647683620453, -0.8636784553527832, -0.01800498180091381, -0.2021508812904358, 0.04976041615009308, -0.03903790935873985, 0.8356300592422485, -0.2441861778497696, 0.5158076286315918, 0.7293145060539246, 0.8121849894523621, -0.02776823379099369, -0.08994762599468231, 0.7914451360702515, -0.7457555532455444, 0.16952621936798096, 0.08689575642347336, 0.6024597883224487, -0.027670549228787422, -0.31409621238708496, -0.0596611425280571, 0.0763012245297432, -0.53863126039505, -0.9854166507720947, 0.20014560222625732, -0.9992343783378601, -0.3337961435317993, 1.1874922513961792, -0.06656672805547714, 0.04111415892839432, -0.11506090313196182, -0.4584764242172241, -0.2175491899251938, -0.7107034921646118, 0.7779421806335449, 1.073310375213623, -0.0234663188457489, -0.10384907573461533, -0.5619969964027405, -0.10906749963760376, 0.6191707849502563, -0.3169810473918915, -0.216543048620224, 0.27619174122810364, 0.3295796513557434, 0.13971024751663208, 0.3494166433811188, 0.1522139459848404, 0.05055835843086243, -0.04088021442294121, -0.15080346167087555, -0.3084700107574463, -0.43447375297546387, -0.30555492639541626, 0.23062767088413239, 0.18626537919044495, -0.20178553462028503 ]
http://arxiv.org/abs/2406.18200v1
http://arxiv.org/pdf/2406.18200v1
SEED: Accelerating Reasoning Tree Construction via Scheduled Speculative Decoding
2024-06-26T09:33:41
2024-06-26T09:33:41
Zhenglin Wang, Jialong Wu, Yilong Lai, Congzhi Zhang, Deyu Zhou
cs.CL
cs.CL
Large Language Models (LLMs) demonstrate remarkable emergent abilities across various tasks, yet fall short of complex reasoning and planning tasks. The tree-search-based reasoning methods address this by surpassing the capabilities of chain-of-thought prompting, encouraging exploration of intermediate steps. However, such methods introduce significant inference latency due to the systematic exploration and evaluation of multiple thought paths. This paper introduces SeeD, a novel and efficient inference framework to optimize runtime speed and GPU memory management concurrently. By employing a scheduled speculative execution, SeeD efficiently handles multiple iterations for the thought generation and the state evaluation, leveraging a rounds-scheduled strategy to manage draft model dispatching. Extensive experimental evaluations on three reasoning datasets demonstrate superior speedup performance of SeeD, providing a viable path for batched inference in training-free speculative decoding.
[ -0.06295377016067505, -0.7899404764175415, 0.7939622402191162, 0.5463763475418091, -0.2537226378917694, 0.4502793550491333, -0.07998461276292801, -0.33274006843566895, 0.028837701305747032, 0.3641151785850525, -0.8362043499946594, -0.28252264857292175, -0.4805637300014496, -0.15838852524757385, -0.4679892063140869, 0.42709094285964966, -0.12531013786792755, -0.3893457353115082, -0.21069204807281494, 0.23684464395046234, -0.24385982751846313, -0.2057790756225586, -0.8324369192123413, -0.07364355772733688, 0.29629290103912354, 0.1627296358346939, 0.6294651627540588, 1.1758112907409668, 0.17760616540908813, 0.18613310158252716, -0.033442240208387375, 0.2984716594219208, -0.6356002688407898, 0.3934897482395172, -0.02579438127577305, -0.5267786979675293, -0.14985264837741852, -0.03893637657165527, 0.6350307464599609, 0.5578771233558655, -0.20446640253067017, 0.14848676323890686, -0.48276135325431824, 0.32604143023490906, -1.0268363952636719, 0.14152520895004272, -0.9369810223579407, 0.2610127925872803, -0.31717878580093384, -0.8094317317008972, -0.7786755561828613, -0.35828226804733276, -0.3441324532032013, -0.8828386068344116, 0.4260021150112152, 0.3353674113750458, 0.5301251411437988, 0.4199391305446625, -0.08710259944200516, 0.034919872879981995, -0.8148831129074097, 0.78522127866745, -0.5738722085952759, 0.37249311804771423, 0.0723198726773262, 0.36166244745254517, -0.4517049789428711, -0.6722803711891174, -0.3618625998497009, 0.03979158774018288, 0.1369784027338028, 0.13512186706066132, -0.040424954146146774, 0.24031352996826172, 0.6153098940849304, 0.4375479817390442, -0.42211011052131653, -0.09637989848852158, 0.017879897728562355, -0.09367463737726212, 0.38049083948135376, 0.14868208765983582, 0.15355224907398224, -0.004005500581115484, -0.10482268035411835, -0.07424380630254745, -0.8427187204360962, -0.018986234441399574, 0.3954767882823944, 0.14947964251041412, 0.2257738709449768, 0.48749178647994995, -0.3409906327724457, 0.8460361361503601, -0.061254117637872696, -0.15763074159622192, -0.24144119024276733, -0.3726457953453064, -0.35269227623939514, 0.10387913882732391, 0.7248857617378235, 0.1516641080379486, -0.0741928368806839, -0.3316737115383148, -0.05830102413892746, 0.5566376447677612, 0.11370342969894409, -0.9960577487945557, -0.2593841850757599, 0.40057963132858276, -0.3678455650806427, -0.38044610619544983, -0.4035409092903137, -0.5564332008361816, -0.2840707302093506, 0.2334897667169571, -0.2970849871635437, -0.7308464050292969, -0.20185169577598572, 0.2510628402233124, -0.3720506727695465, 0.2071022391319275, 0.38349074125289917, -0.9547611474990845, 0.17825384438037872, 0.9212631583213806, 0.6693047881126404, -0.05639362335205078, -0.0018920224392786622, -0.6503449082374573, 0.32594066858291626, -0.8585453033447266, 0.9294056296348572, -0.8543431758880615, -0.4981924891471863, -0.384474515914917, -0.3023298978805542, -0.2758501172065735, -0.11104650050401688, 0.7192289233207703, -0.686798095703125, -0.003995549865067005, -0.1865270584821701, -0.6730058193206787, -0.02873740717768669, 0.15556387603282928, -0.2925741672515869, 1.1731759309768677, -0.005485094152390957, -0.9655206203460693, 0.6811054348945618, -0.4348415732383728, -0.5763519406318665, 0.37983959913253784, -0.4228757321834564, 0.10168363898992538, 0.21349111199378967, 0.6147723197937012, 0.49543362855911255, -0.47043612599372864, 0.3784823715686798, -0.3315281569957733, -0.5158563256263733, -0.2884678244590759, -0.4392111003398895, 0.6557374596595764, 0.4695829749107361, -0.3173661530017853, 0.2801796793937683, -0.5441095232963562, 0.4078984558582306, 0.341013103723526, -0.031400296837091446, -0.3312935531139374, 0.5900281071662903, -0.3959083557128906, 0.04659782350063324, -0.07306937873363495, -0.5029084086418152, 0.6006273627281189, -0.3178013265132904, 0.5125689506530762, 0.7112137079238892, 0.11027611047029495, 0.21935002505779266, -0.1950168013572693, 0.6430686116218567, 0.07694485038518906, 0.1408126950263977, -0.6170040369033813, -0.5255169868469238, -0.8574144244194031, -0.03112524002790451, -0.1735183745622635, 0.48192864656448364, -0.8775185346603394, 0.12421870231628418, -0.3754456639289856, -0.540377676486969, -0.5233256220817566, -0.15204501152038574, 0.3219703435897827, 0.2657473087310791, 0.18544906377792358, 0.27768629789352417, -0.7525951266288757, -0.6285341382026672, -0.3665565848350525, -0.1311548948287964, 0.38562965393066406, 0.4219912588596344, 0.18916891515254974, -0.08847549557685852, 0.7531371116638184, -0.5766921639442444, 0.5517984628677368, -0.3386029303073883, 0.10385065525770187, 0.4187870919704437, 0.3782998025417328, 0.25999918580055237, -0.3762299120426178, -0.17760662734508514, -0.18923965096473694, -0.7484742999076843, 0.03125372901558876, -0.49974846839904785, -0.2595813572406769, 0.04133744165301323, 0.558193564414978, -0.7383453249931335, 0.16530761122703552, 0.47015801072120667, -0.4303989112377167, 0.6295557618141174, -0.10329358279705048, 0.2744826376438141, -0.9702680706977844, -0.08826669305562973, -0.3753204643726349, -0.15386860072612762, -0.07768549025058746, 0.33707043528556824, 0.010533593595027924, 0.052742257714271545, -0.20349323749542236, 0.391737699508667, -0.6572292447090149, -0.16961069405078888, -0.31412243843078613, -0.24974381923675537, -0.17462153732776642, 0.07685729116201401, 0.10804806649684906, 1.2733300924301147, 0.6837125420570374, -0.5202584266662598, 0.14233551919460297, -0.22232230007648468, -0.4132117033004761, -0.15583392977714539, -0.2642858028411865, 0.3638250529766083, -0.006927832495421171, 0.48363178968429565, -0.4460632801055908, -0.1161249652504921, 0.10310307890176773, -0.17313170433044434, -0.0457230769097805, -0.31490030884742737, -0.677333652973175, -0.7607890367507935, -0.0023545362055301666, 0.5482176542282104, 0.5042615532875061, -0.573150634765625, 0.4544122815132141, 0.0655333548784256, 0.16536056995391846, -0.5553551316261292, -0.27753153443336487, 0.10324453562498093, -0.07632966339588165, -0.6618234515190125, 0.3373175859451294, 0.1308247148990631, -0.25705939531326294, 0.13572460412979126, -0.19750098884105682, 0.21601977944374084, 0.13716518878936768, 0.3025931119918823, 0.03299899399280548, -0.3606036603450775, -0.0630621612071991, 0.3607175350189209, -0.2239263951778412, 0.19845597445964813, -0.8615663647651672, 0.3907451331615448, 0.12178950756788254, -0.4465750753879547, 0.0018928265199065208, 0.3274734616279602, 0.4792807698249817, 0.0008255351567640901, 0.5171780586242676, 0.1386837214231491, -0.31049543619155884, -0.6994761824607849, -0.6923222541809082, -0.2537113130092621, -0.4104597270488739, 0.12379410862922668, -0.5532903075218201, -0.8226866722106934, 0.1591716706752777, -0.41985607147216797, 0.27047452330589294, 0.4733259081840515, 0.41720637679100037, 0.07306552678346634, 0.9128497838973999, 0.467760294675827, 0.13888922333717346, 0.14721821248531342, -0.380184143781662, 0.18415650725364685, -0.6267391443252563, -0.15386179089546204, -0.24845828115940094, -0.02741323783993721, -0.31842872500419617, -1.2284926176071167, -0.10681305825710297, 0.25707051157951355, -0.10345830768346786, 0.09551496058702469, -0.5874801874160767, 0.6908472180366516, 0.5661509037017822, -0.13887083530426025, 0.43980705738067627, -0.04966948181390762, -0.43356218934059143, 0.029483184218406677, -0.9886409640312195, -0.36101222038269043, 1.0498311519622803, 0.07163561880588531, 0.5870079398155212, -0.4239015281200409, 0.5105942487716675, 0.07919581234455109, 0.30405980348587036, -0.5792653560638428, 0.7308001518249512, 0.059787582606077194, -0.5179868936538696, -0.03214174881577492, -0.41410306096076965, -0.49453309178352356, 0.34018486738204956, -0.1537485271692276, -0.9193375706672668, -0.11967308819293976, 0.25182974338531494, -0.5368229746818542, 0.8308399319648743, -0.6529935598373413, 0.5411166548728943, -0.2598097622394562, -0.5288457274436951, -0.583194375038147, -0.2402719259262085, 0.8719401955604553, 0.09974817931652069, 0.0014509421307593584, -0.25064364075660706, 0.15631753206253052, 0.8587256073951721, -0.5060849189758301, 0.37140655517578125, -0.0911874994635582, 0.3341345489025116, 0.45443853735923767, 0.2591732442378998, 0.805342972278595, 0.1373886913061142, -0.0994720384478569, -0.10809110850095749, -0.02784869633615017, -0.4388793408870697, -0.6417299509048462, 0.876250147819519, -0.5826860666275024, -0.8470569849014282, -0.7169992923736572, -0.9548482298851013, -0.4458119869232178, 0.20503556728363037, 0.25170111656188965, 0.041160136461257935, -0.163260355591774, 0.0643530786037445, 0.5963042974472046, -0.2642122507095337, 0.5893896818161011, 0.1800738424062729, -0.4023873805999756, -0.14941585063934326, 0.6184852123260498, -0.26743441820144653, 0.10582434386014938, 0.585205614566803, 0.19795474410057068, -0.14058974385261536, -0.9082101583480835, -0.4803660809993744, 0.026052311062812805, -0.36998990178108215, -0.0325978547334671, -1.0241256952285767, -0.3276708722114563, -0.2585391700267792, -0.17983214557170868, -0.4636484682559967, -0.4627688527107239, 0.09391718357801437, -0.40869900584220886, 0.6283571124076843, 0.5280815362930298, 0.08826665580272675, 0.48630034923553467, -0.5347428321838379, 0.25209125876426697, -0.06891094893217087, 0.25515884160995483, 0.12527567148208618, -0.13921672105789185, -0.002258686814457178, -0.18292325735092163, -0.2889050841331482, -0.7346452474594116, 0.3043636679649353, -0.18658649921417236, 0.4382949471473694, 0.6931411623954773, -0.09256730228662491, 0.9170388579368591, -0.48655253648757935, 0.41399821639060974, 0.08828240633010864, -0.5767447352409363, 0.745343029499054, -0.47777649760246277, 0.33413368463516235, 0.21641255915164948, 0.18716712296009064, -0.33100625872612, -0.3407862186431885, -0.8420077562332153, -0.739032506942749, 0.6737564206123352, 0.30378246307373047, -0.365609347820282, -0.18207205832004547, 0.2710320055484772, 0.08047641068696976, 0.006027068942785263, -0.204651340842247, -0.20924924314022064, -0.008786840364336967, 0.40102270245552063, -0.0295473150908947, -0.5335788130760193, -0.04876191169023514, -0.48876094818115234, 0.6860046982765198, -0.20216713845729828, 0.2409849613904953, -0.1208062469959259, 0.19506177306175232, -0.13164199888706207, 0.3474923074245453, 0.34967854619026184, 0.5258052945137024, -0.416810005903244, 0.2152056246995926, 0.03394921496510506, -0.404339462518692, 0.22931014001369476, 0.20014676451683044, -0.5505481958389282, -0.13130517303943634, 0.3803258240222931, 1.0300744771957397, 0.24274328351020813, -0.5058781504631042, 0.011547233909368515, -0.16227778792381287, -0.1696537882089615, -0.10138872265815735, 0.3470698893070221, 0.36063259840011597, 0.10957281291484833, 0.43953225016593933, 0.27863144874572754, 0.005144014488905668, -0.24418137967586517, 0.1310926377773285, 0.3459721803665161, -0.04154040291905403, -0.14594809710979462, 0.8015899658203125, 0.1142406240105629, 0.012661801651120186, 0.9317546486854553, -0.48163244128227234, -0.2538923919200897, 0.6097099184989929, 0.7742882370948792, 1.126784324645996, 0.09995092451572418, 0.13815462589263916, 0.4583512544631958, 0.44030559062957764, -0.10729851573705673, 0.5776907205581665, -0.18958505988121033, -0.7999352216720581, -1.0093910694122314, -0.7988876700401306, -0.29931408166885376, 0.08806806802749634, -0.14322401583194733, -0.14064520597457886, -0.6674255728721619, -0.04697820544242859, -0.24910414218902588, -0.0841069445014, -0.5785948634147644, 0.07172362506389618, -0.009175190702080727, 1.4526771306991577, -0.6708305478096008, 1.0480670928955078, 0.43917733430862427, 0.07022235542535782, -1.0972776412963867, -0.14328709244728088, -0.0074084787629544735, -0.7239562273025513, 0.6246744394302368, 0.3108120560646057, -0.14473596215248108, 0.19266049563884735, -0.225884810090065, -0.9111512303352356, 1.000671625137329, 0.4843059182167053, -0.8385570645332336, -0.2741091549396515, -0.2854302227497101, 0.10104231536388397, -0.41431111097335815, 0.6253140568733215, 0.6655972003936768, 0.382690966129303, 0.640820324420929, -0.26935550570487976, 0.22791825234889984, -0.25934579968452454, -0.017825478687882423, 0.38074567914009094, -0.2572260797023773, 0.6323994398117065, -0.6303970813751221, -0.5187237858772278, -0.037804342806339264, 0.8302785754203796, 0.732576847076416, 0.16634149849414825, 0.476330429315567, 0.9350391030311584, 0.9823945760726929, -0.3892177641391754, 1.3957575559616089, -0.7383497357368469, -0.07132375985383987, 1.1510361433029175, -0.14342403411865234, 0.7000049948692322, 0.5249315500259399, -0.23308871686458588, 0.46116670966148376, 0.937089741230011, 0.275967538356781, 0.40639761090278625, 0.29083412885665894, -0.5131175518035889, -0.7124362587928772, -0.16026505827903748, -0.4224186837673187, 0.10932928323745728, 0.6627498269081116, -0.2211408168077469, -0.38654571771621704, -0.47227489948272705, 0.0416247732937336, -0.17020057141780853, -0.2519570589065552, 0.29343241453170776, 0.10944540798664093, -0.999830424785614, 0.3520200550556183, -0.0013475654413923621, 0.5024056434631348, -0.6339964866638184, -0.06554584950208664, -0.08396176248788834, 0.3127308487892151, -0.061516258865594864, -0.4649258553981781, 0.40712547302246094, -0.051349665969610214, -0.24912329018115997, -0.549959659576416, 0.5236278772354126, 0.11456690728664398, -0.757921576499939, 0.2516062259674072, 0.4888558089733124, 0.027569962665438652, -0.201169952750206, -0.6962683200836182, 0.1719437837600708, -0.20660655200481415, -0.3164618909358978, 0.028342749923467636, 0.5600616335868835, -0.4120931327342987, 0.8922079205513, 1.1644163131713867, 0.37816861271858215, 0.324675589799881, 0.010327611118555069, 0.9763323664665222, -0.8517919778823853, -0.6344059109687805, -0.9262328147888184, -0.042915165424346924, -0.11393021792173386, -0.07418257743120193, 0.8715828061103821, 0.8763864636421204, 0.49030801653862, -0.03737768903374672, 0.8857353329658508, -0.1377483308315277, 0.18629449605941772, -0.6416739821434021, 0.38346192240715027, 0.05072478577494621, 0.3012862503528595, -0.13343365490436554, -0.8345236778259277, -0.028390252962708473, 0.3604033589363098, -0.5169631838798523, -0.06270693242549896, 1.0142643451690674, 0.6753312945365906, -0.11095873266458511, 0.3423266112804413, 0.2383268028497696, 0.32860541343688965, 0.4536004364490509, 0.9595048427581787, 0.8940767049789429, -0.09862418472766876, 0.2942400872707367, -0.30460381507873535, -0.3222690224647522, 0.12512807548046112, -1.3165267705917358, -0.7076759934425354, -0.13939109444618225, -0.16454938054084778, -0.2512528896331787, 0.4856836199760437, 0.799838125705719, 0.9454300999641418, -0.7386180758476257, -0.26679202914237976, -0.7245403528213501, 0.14715005457401276, -0.4881720244884491, -0.24925808608531952, 0.3429218828678131, -0.4239014685153961, -0.3898908793926239, 0.8823358416557312, 0.5721479058265686, -0.3180130124092102, -0.2567455768585205, -0.00919415708631277, -0.2968839406967163, 0.12655554711818695, 0.4717322587966919, 0.3726537227630615, -0.8538985252380371, 0.01900460198521614, 0.10279472172260284, 0.102076955139637, -0.19711224734783173, 1.228667974472046, -1.2459020614624023, 0.6224774718284607, 0.5732289552688599, 0.7885022163391113, 0.7922454476356506, 0.11318640410900116, 0.8153795003890991, -0.3493516743183136, 0.48505955934524536, 0.3608808219432831, 0.4528992772102356, 0.1576339304447174, -0.49921590089797974, 0.4545639157295227, 0.6376912593841553, -0.1488189548254013, -0.6431050300598145, 0.15004022419452667, -0.8734222054481506, -0.3165803551673889, 1.1170490980148315, -0.0044460659846663475, -0.2974911332130432, 0.22494904696941376, 0.0910080075263977, 0.12501509487628937, -0.430466890335083, 0.5080727338790894, 0.5604223608970642, -0.19172537326812744, -0.3475258946418762, -0.6537054181098938, 0.6244342923164368, 0.23522712290287018, -0.8263759016990662, 0.256724089384079, 0.3774378001689911, -0.06791074573993683, -0.056311629712581635, 0.9317183494567871, 0.16752131283283234, 0.092621810734272, 0.5185510516166687, -0.14151844382286072, -0.2823963165283203, -0.44235724210739136, 0.3788124620914459, 0.34641292691230774, 0.07976461201906204, -0.14278392493724823 ]
http://arxiv.org/abs/2406.18192v2
http://arxiv.org/pdf/2406.18192v2
Methodology of Adapting Large English Language Models for Specific Cultural Contexts
2024-06-26T09:16:08
2024-06-27T02:17:19
Wenjing Zhang, Siqi Xiao, Xuejiao Lei, Ning Wang, Huazheng Zhang, Meijuan An, Bikun Yang, Zhaoxiang Liu, Kai Wang, Shiguo Lian
cs.CL
cs.CL, cs.AI
The rapid growth of large language models(LLMs) has emerged as a prominent trend in the field of artificial intelligence. However, current state-of-the-art LLMs are predominantly based on English. They encounter limitations when directly applied to tasks in specific cultural domains, due to deficiencies in domain-specific knowledge and misunderstandings caused by differences in cultural values. To address this challenge, our paper proposes a rapid adaptation method for large models in specific cultural contexts, which leverages instruction-tuning based on specific cultural knowledge and safety values data. Taking Chinese as the specific cultural context and utilizing the LLaMA3-8B as the experimental English LLM, the evaluation results demonstrate that the adapted LLM significantly enhances its capabilities in domain-specific knowledge and adaptability to safety values, while maintaining its original expertise advantages.
[ 0.053555674850940704, -0.7291379570960999, 0.4028075039386749, 0.38277626037597656, -0.1116354763507843, 0.04926391690969467, -0.5911029577255249, -0.38824018836021423, -0.03479484096169472, 0.43631523847579956, -0.4258373975753784, -0.48441869020462036, -0.33483070135116577, 0.2177739292383194, -0.061788592487573624, 0.8505700826644897, -0.2884913682937622, 0.15661853551864624, 0.20093655586242676, -0.19975726306438446, -0.5868816375732422, -0.4060463309288025, -0.7122514247894287, -0.044887181371450424, 0.30882540345191956, 0.5753543972969055, 0.6174923777580261, 0.8621536493301392, 0.481131374835968, 0.30576270818710327, -0.06599794328212738, 0.282332181930542, -0.5155261754989624, -0.17565998435020447, -0.4857955873012543, -0.478792279958725, -0.5617100596427917, -0.1349489986896515, 0.6941426396369934, 0.5126000046730042, -0.07861741632223129, 0.20481286942958832, 0.07925944775342941, 0.2463064193725586, -0.566689670085907, 0.17957758903503418, -0.8761069178581238, 0.14664901793003082, 0.09317410737276077, -0.5131970047950745, -0.6700727939605713, -0.2796715497970581, 0.1752178966999054, -0.8508148193359375, -0.25960060954093933, 0.09325369447469711, 0.5261586308479309, 0.2604944109916687, -0.583405077457428, -0.28426671028137207, -0.803855836391449, 1.033055067062378, -0.7484629154205322, 0.22437848150730133, 0.2941521406173706, 0.30865973234176636, -0.33335939049720764, -0.4454525113105774, -0.4473986327648163, -0.2735612094402313, 0.07517792284488678, -0.0383862666785717, 0.4008168578147888, -0.28521716594696045, 0.09318467229604721, -0.2660765051841736, -0.3995268940925598, 0.6334251761436462, -0.3007168769836426, -0.11103521287441254, 1.0034022331237793, 0.4044528901576996, 0.5018990635871887, 0.12739787995815277, -0.2612956464290619, -0.15110518038272858, -0.7225114703178406, 0.14715726673603058, -0.1504778414964676, 0.40138715505599976, -0.4769788980484009, -0.1479748785495758, -0.18993210792541504, 0.5685672163963318, -0.007428831420838833, -0.8149266839027405, 0.332349956035614, -0.1088603138923645, -0.1284780353307724, 0.14775286614894867, 0.43259432911872864, 0.4813408851623535, 0.5713402032852173, 0.027920501306653023, -0.12555010616779327, -0.4020521938800812, 0.017339935526251793, -0.8030970096588135, 0.0215659998357296, 0.01596980169415474, -0.4080049395561218, -0.09408963471651077, -0.33683642745018005, -0.47951677441596985, -0.4893287718296051, -0.26175326108932495, 0.5420776605606079, -0.3629605174064636, -0.163330540060997, 0.09292715042829514, 0.22177015244960785, 0.6559799909591675, 0.36709272861480713, -0.8967783451080322, -0.15077456831932068, 0.4092426002025604, 0.7445391416549683, -0.3382417559623718, -0.4954146146774292, -0.34763288497924805, 0.48892340064048767, -0.6355012655258179, 0.5498161911964417, -0.5813239812850952, -0.40701302886009216, 0.04382358863949776, 0.4797361493110657, 0.023694923147559166, -0.36749759316444397, 0.5182471871376038, -0.6226691603660583, 0.022105345502495766, -0.19259066879749298, -0.14512771368026733, -0.3656724691390991, 0.25170502066612244, -0.40560632944107056, 0.6719335913658142, -0.05821543186903, -0.458391398191452, 0.3068394064903259, -0.7766249179840088, -0.9545927047729492, 0.17364023625850677, 0.015897901728749275, -0.12115716189146042, -0.16070668399333954, 0.31574714183807373, 0.6352868676185608, -0.3388247489929199, 0.1465785801410675, -0.22625696659088135, -0.6224219799041748, 0.07362587004899979, -0.41032081842422485, 0.9966766238212585, 0.1835786998271942, -0.33674347400665283, 0.21299517154693604, -0.7848313450813293, 0.11826317012310028, 0.36222919821739197, -0.4558830261230469, -0.5276316404342651, 0.3015381693840027, -0.15964792668819427, 0.16176001727581024, 0.3638925850391388, -0.03758792579174042, 0.02652609348297119, -0.2543466091156006, 0.5973079800605774, 1.0047430992126465, -0.07582173496484756, 0.4937986135482788, -0.3595598340034485, 0.5154976844787598, 0.04343818128108978, 0.12939637899398804, -0.2598020136356354, -0.09272035956382751, -0.8677725791931152, -0.19968754053115845, 0.07397707551717758, 1.071601390838623, -0.8544588685035706, 0.4600358009338379, -0.2838759422302246, -0.4221402108669281, -0.4479220509529114, 0.28148171305656433, 0.10428162664175034, 0.43112102150917053, 0.19676952064037323, -0.2841528058052063, -0.41879382729530334, -0.7067892551422119, -0.1630948781967163, -0.2038957178592682, -0.18208545446395874, 0.34784314036369324, 0.3468623161315918, -0.19096508622169495, 0.4865642488002777, -0.28627723455429077, -0.009058075025677681, -0.11535918712615967, -0.1949092000722885, 0.26187360286712646, 0.4207567572593689, 0.6387491226196289, -0.6134185791015625, -0.5762768983840942, 0.2834119200706482, -0.8829621076583862, -0.06582506000995636, -0.27027860283851624, -0.42219534516334534, 0.3673100769519806, 0.5048267841339111, -0.011625107377767563, 0.10098188370466232, 0.6617072820663452, -0.265510618686676, 0.4115062654018402, -0.2607133984565735, 0.270356684923172, -1.3453730344772339, -0.19289110600948334, 0.053417596966028214, -0.060296110808849335, -0.7060949802398682, 0.24586497247219086, 0.3597797453403473, 0.08005225658416748, -0.8041033148765564, 0.7420180439949036, -0.4009421765804291, 0.16670866310596466, -0.3315284550189972, 0.05845976993441582, -0.17703156173229218, 0.34007808566093445, 0.3825482130050659, 0.8078427910804749, 0.6278949975967407, -0.8638259172439575, 0.214263454079628, 0.17588727176189423, -0.4320489168167114, 0.5344874262809753, -0.3929622769355774, 0.2878287136554718, -0.19147837162017822, 0.17076365649700165, -0.4786565899848938, -0.4360925853252411, -0.09563338756561279, 0.10202905535697937, 0.1473791003227234, -0.01915791630744934, -0.15171295404434204, -0.12787337601184845, -0.17113810777664185, 0.3150944113731384, 0.8128483891487122, -0.6232218146324158, 0.8340253233909607, 0.221035897731781, -0.5126283168792725, -0.5078529119491577, -0.5370650887489319, 0.04209688678383827, -0.6051680445671082, -0.7453058958053589, 0.3180617094039917, -0.3719831705093384, -0.34634000062942505, -0.3634829521179199, 0.053859222680330276, -0.08326160162687302, 0.48588287830352783, -0.05167832225561142, 0.24541075527668, -0.5094760656356812, -0.032777413725852966, 0.17601290345191956, 0.19628524780273438, 0.12104003876447678, -0.02008100040256977, 0.21032990515232086, 0.03954368829727173, 0.05412859842181206, -0.47109276056289673, 0.31331104040145874, 0.6829312443733215, -0.33260348439216614, 0.9186736941337585, 0.4471341073513031, -0.3526681661605835, -0.7584555149078369, -0.2869667112827301, -0.3367466330528259, -0.5909115672111511, 0.8556749820709229, -0.41265085339546204, -0.8408994078636169, 0.45349422097206116, -0.20425936579704285, 0.23873774707317352, 0.11600547283887863, 0.785697877407074, -0.05866812542080879, 0.944018542766571, 0.8888639807701111, -0.33262112736701965, 0.5067446827888489, 0.2617633640766144, 0.2885611951351166, -0.5517979264259338, -0.12521962821483612, -0.47328057885169983, -0.38586074113845825, -0.5976404547691345, -0.48466700315475464, 0.6624931693077087, -0.15672026574611664, -0.6881882548332214, 0.04147444665431976, -0.1459573358297348, 0.567074179649353, 0.1926669478416443, 0.06132907420396805, 0.2243320643901825, 0.038145773112773895, 0.09736395627260208, 0.14635321497917175, -0.7647514343261719, -0.6052491068840027, 0.9871035814285278, 0.4386652112007141, 0.7753073573112488, 0.2666131258010864, 0.1661229282617569, 0.24612852931022644, 0.5769607424736023, -0.7202141880989075, 0.5893220901489258, -0.36996006965637207, -0.3964928388595581, -0.24563975632190704, -0.28702422976493835, -0.5991612076759338, 0.07681656628847122, -0.28304117918014526, -0.6148144006729126, -0.31220677495002747, -0.0011403209064155817, -0.3991904854774475, 0.1357174664735794, -0.8428052067756653, 0.6966578960418701, -0.739039957523346, -0.14204064011573792, -0.15918812155723572, -0.42704835534095764, 0.45022302865982056, -0.6378428339958191, 0.6936572790145874, -0.31051337718963623, -0.10965824127197266, 0.813564121723175, 0.10316705703735352, 0.9690703749656677, -0.15453623235225677, -0.3505551517009735, 0.1419249176979065, 0.19663026928901672, 0.711086094379425, -0.1142580583691597, -0.4600332975387573, 0.1405627578496933, -0.0363147035241127, -0.5169382095336914, -0.5218669176101685, 0.7896058559417725, -1.1066137552261353, -1.0275441408157349, -0.027976019307971, -1.1247750520706177, -0.5059027075767517, 0.16403676569461823, -0.21255096793174744, -0.043581146746873856, -0.09338845312595367, 0.11287330836057663, 0.5003690719604492, -0.7131421566009521, 0.6439611315727234, 1.0642606019973755, 0.056184642016887665, -0.03758510574698448, 0.6848933696746826, 0.09751254320144653, 0.288586288690567, 0.30622032284736633, 0.31224650144577026, 0.09552637487649918, -0.6435440182685852, -0.5370597839355469, 0.15385104715824127, -0.8892828822135925, 0.0008025954011827707, -0.1967683583498001, -0.2806701362133026, -0.3004130423069, -0.5928288102149963, -0.10739728063344955, -0.04866756871342659, -0.28966113924980164, -0.044211577624082565, 0.6445041298866272, 0.42095035314559937, 0.3782469928264618, 0.26167866587638855, -0.7878096103668213, 0.06616279482841492, 0.18795454502105713, 0.2577625811100006, -0.040530696511268616, -1.1821783781051636, -0.5255352258682251, -0.12016449123620987, -0.03747550770640373, -0.6359437108039856, 0.3590007424354553, 0.35370567440986633, 0.6027392745018005, 0.3494422137737274, 0.2814124822616577, 0.6850248575210571, -0.7503294348716736, 0.78789883852005, -0.23064421117305756, -0.9018452167510986, 0.4770015776157379, -0.2563198208808899, 0.29137077927589417, 0.13712772727012634, 0.7513524293899536, -0.48692625761032104, -0.03372075408697128, 0.10214122384786606, -0.861088216304779, 0.6221984624862671, -0.44074389338493347, 0.5454680323600769, 0.1512114703655243, 0.497116357088089, 0.12243194878101349, -0.3784373700618744, -0.7732933163642883, 0.16303640604019165, -0.07134582102298737, -0.437339186668396, -0.08704067766666412, -0.0033560404554009438, -0.1911163330078125, -0.1805328130722046, 0.8976266384124756, -0.5076006054878235, -0.1795906126499176, -0.23102575540542603, -0.4037748873233795, -0.017641333863139153, 0.39421984553337097, 0.585413932800293, 0.7943090796470642, 0.08793677389621735, -0.09741831570863724, 0.9668207764625549, -0.437542587518692, 0.43844032287597656, -0.18976444005966187, -0.24604390561580658, -0.6202782392501831, 0.4557579755783081, 0.7190515398979187, 0.08360236138105392, -0.9254933595657349, 0.1023375540971756, 0.1678173542022705, 0.11029300838708878, -0.4682803750038147, 0.42612868547439575, 0.09133707731962204, 0.36443892121315, 0.4551945924758911, -0.5333883762359619, -0.29686740040779114, -0.6928901672363281, 0.016851097345352173, 0.2588416635990143, -0.0724397599697113, -0.24822862446308136, 0.584634006023407, 0.5945451855659485, -0.4206525981426239, 0.42651695013046265, -0.014530735090374947, -0.3110642433166504, 0.8028753399848938, 0.9272705912590027, 0.658656120300293, -0.5981224775314331, -0.05884827673435211, 0.31913554668426514, 0.46800777316093445, -0.07581713795661926, 0.3317376673221588, 0.5154741406440735, -1.0689364671707153, -0.810123085975647, -0.5286176204681396, -0.2820128798484802, 0.2423575222492218, -0.5029023885726929, 0.429890513420105, -0.8379709720611572, 0.22513705492019653, -0.2954685389995575, -0.16969236731529236, -0.7177976965904236, 0.45261070132255554, 0.22059820592403412, 1.1710984706878662, -0.9784443378448486, 1.0893831253051758, 0.8516709804534912, 0.1753201186656952, -1.0552821159362793, 0.19917838275432587, 0.1540786176919937, -1.027941107749939, 0.6179517507553101, -0.11088993400335312, -0.14801043272018433, -0.03414786234498024, -0.46967795491218567, -1.047891616821289, 1.3523122072219849, 0.4475073516368866, -0.7666779160499573, 0.12083760648965836, 0.0005238499725237489, 0.5142858028411865, -0.6999146342277527, 0.05209265276789665, 0.9527067542076111, 0.3835547864437103, -0.22605134546756744, -1.1450155973434448, 0.23552903532981873, -0.18436512351036072, 0.17649070918560028, -0.14494529366493225, -0.9506970643997192, 0.4962858557701111, -0.28828004002571106, 0.08802223950624466, 0.00685183284804225, 0.7373806238174438, 0.3654475808143616, 0.044127725064754486, 0.6376500725746155, 0.009285255335271358, 0.8304147720336914, 0.19004662334918976, 0.8867703676223755, -0.5761539936065674, -0.17471688985824585, 0.8732205033302307, -0.6913993954658508, 0.9843445420265198, 0.17216967046260834, 0.056574974209070206, 0.6167323589324951, 0.5262603163719177, 0.13138094544410706, 0.4395628273487091, 0.05486876517534256, -0.25318074226379395, -0.25077515840530396, -0.31401199102401733, -0.2690736949443817, 0.8057168126106262, 0.5258709788322449, -0.4138341546058655, 0.2992965877056122, 0.005619944538921118, 0.44269710779190063, 0.05221965163946152, -0.7346447706222534, 0.6173479557037354, -0.024984311312437057, -0.6075340509414673, 0.8610087037086487, 0.4629615843296051, 0.6721062064170837, -0.6010958552360535, 0.13351689279079437, -0.3758997321128845, 0.08892858028411865, -0.12447047978639603, -0.5378761887550354, 0.019079940393567085, 0.26154839992523193, -0.24209704995155334, -0.07364223897457123, 0.4673886299133301, -0.267928808927536, -0.6596994996070862, 0.3667459189891815, 0.17949555814266205, 0.020629141479730606, 0.5969763398170471, -0.43877941370010376, 0.25781339406967163, 0.125112384557724, -0.24887853860855103, 0.42107272148132324, 0.5363726019859314, -0.5661635398864746, 0.7014508247375488, 0.37888476252555847, 0.013859112747013569, -0.1334628015756607, -0.07753363996744156, 0.567318320274353, -0.954188346862793, -0.6021556258201599, -0.6505775451660156, 0.527583122253418, 0.25479620695114136, -0.09670161455869675, 0.6345504522323608, -0.007844328880310059, 0.9693061113357544, -0.1354183554649353, 1.1658531427383423, 0.12988784909248352, 0.21057815849781036, -0.7975361943244934, 0.8259661197662354, -0.5692954659461975, 0.4180414378643036, -0.10087238997220993, -0.823702335357666, -0.16394196450710297, 0.7059860825538635, -0.43523919582366943, 0.1772412657737732, 0.6589927077293396, 0.8579940795898438, 0.016116691753268242, -0.10459821671247482, 0.41271400451660156, 0.6191357374191284, 0.11030922830104828, 0.8662627935409546, 0.6758041977882385, -0.027281504124403, 0.46933406591415405, -0.1419157236814499, -0.5150486826896667, -0.17752580344676971, -1.3393720388412476, -0.9173778295516968, -0.30215612053871155, -0.3809871971607208, -0.0869780033826828, 0.14750194549560547, 1.1235512495040894, 0.8177727460861206, -0.9011003375053406, -0.2611004710197449, 0.8048065900802612, -0.09190690517425537, -0.29349660873413086, -0.19100818037986755, 0.45048248767852783, -0.18534034490585327, -0.7702173590660095, 0.738694429397583, 0.2664090096950531, -0.05300204083323479, -0.21873505413532257, -0.33658647537231445, 0.20129802823066711, 0.513862133026123, 0.7880443334579468, 0.2207961231470108, -0.5519571304321289, -0.8320138454437256, -0.03516410291194916, 0.10888087749481201, -0.1285516917705536, 0.6131689548492432, -0.4175136983394623, 0.06509456783533096, 0.13658931851387024, 0.8872650265693665, -0.027523431926965714, -0.2474175989627838, 0.6382713913917542, -0.5924946069717407, 0.6283477544784546, 0.00992787815630436, 0.35880357027053833, 0.46952083706855774, -0.4505574405193329, 0.3779996633529663, -0.0019187612924724817, -0.5041487216949463, -0.6434956192970276, 0.30906426906585693, -0.7295166254043579, -0.4363553822040558, 1.3162130117416382, -0.33679863810539246, -0.27094995975494385, -0.015465260483324528, -0.08541053533554077, 0.12837572395801544, -0.053789637982845306, 1.0531083345413208, 0.6297539472579956, 0.22481384873390198, -0.2432425171136856, -0.6308653354644775, 0.2914543151855469, 0.5305227637290955, -1.0264524221420288, -0.07125505059957504, 0.17747464776039124, 0.6539337635040283, -0.18384060263633728, 0.27019527554512024, 0.11113934218883514, 0.4024347960948944, -0.4619998037815094, 0.08431996405124664, 0.1261902004480362, -0.3756038546562195, -0.33338773250579834, 0.0755220577120781, 0.48479974269866943, 0.28224191069602966 ]
http://arxiv.org/abs/2406.18187v1
http://arxiv.org/pdf/2406.18187v1
Selective Prompting Tuning for Personalized Conversations with LLMs
2024-06-26T09:03:52
2024-06-26T09:03:52
Qiushi Huang, Xubo Liu, Tom Ko, Bo Wu, Wenwu Wang, Yu Zhang, Lilian Tang
cs.CL
cs.CL, cs.AI, cs.LG
In conversational AI, personalizing dialogues with persona profiles and contextual understanding is essential. Despite large language models' (LLMs) improved response coherence, effective persona integration remains a challenge. In this work, we first study two common approaches for personalizing LLMs: textual prompting and direct fine-tuning. We observed that textual prompting often struggles to yield responses that are similar to the ground truths in datasets, while direct fine-tuning tends to produce repetitive or overly generic replies. To alleviate those issues, we propose \textbf{S}elective \textbf{P}rompt \textbf{T}uning (SPT), which softly prompts LLMs for personalized conversations in a selective way. Concretely, SPT initializes a set of soft prompts and uses a trainable dense retriever to adaptively select suitable soft prompts for LLMs according to different input contexts, where the prompt retriever is dynamically updated through feedback from the LLMs. Additionally, we propose context-prompt contrastive learning and prompt fusion learning to encourage the SPT to enhance the diversity of personalized conversations. Experiments on the CONVAI2 dataset demonstrate that SPT significantly enhances response diversity by up to 90\%, along with improvements in other critical performance indicators. Those results highlight the efficacy of SPT in fostering engaging and personalized dialogue generation. The SPT model code (https://github.com/hqsiswiliam/SPT) is publicly available for further exploration.
[ -0.5343390703201294, -1.0442464351654053, 0.6038658618927002, 0.3038439154624939, -0.2940691411495209, 0.26065874099731445, -0.5109555125236511, 0.0018537841970100999, 0.036261409521102905, 0.4517834782600403, -0.9675542712211609, -0.40648153424263, -0.14198201894760132, 0.17084194719791412, 0.09014646708965302, 1.1190855503082275, 0.289270281791687, 0.13075412809848785, -0.14889320731163025, -0.14927981793880463, -1.1172373294830322, -0.1437893956899643, -0.8422458171844482, -0.40763211250305176, 0.7647799849510193, 0.7737223505973816, 0.450512558221817, 0.354452908039093, 0.13825026154518127, 0.31729361414909363, -0.13475371897220612, 0.5539913177490234, -0.6589041352272034, 0.6235082149505615, -0.37507155537605286, -0.33069294691085815, -0.16436989605426788, -0.28489166498184204, 0.4887706935405731, 0.7147718071937561, -0.0392492339015007, -0.1846308559179306, 0.44627588987350464, 0.4949142336845398, -0.46685540676116943, 0.019103987142443657, -0.6826485991477966, 0.05681518092751503, -0.08221910893917084, -0.450687438249588, -0.5983994603157043, -0.28478357195854187, 0.5183970928192139, -0.5355844497680664, 0.1160660833120346, -0.030065838247537613, 0.5037639141082764, 0.3880932331085205, -0.3918215036392212, -0.32652631402015686, -0.8287544846534729, 0.7650056481361389, -0.2665906548500061, 0.12042015790939331, 0.15951164066791534, 0.3638036847114563, -0.16574712097644806, -0.5305765867233276, -0.19570250809192657, -0.29974913597106934, -0.06823549419641495, 0.3486674129962921, -0.10246016830205917, 0.21750731766223907, 0.10087397694587708, 0.3463214933872223, -0.45771563053131104, 0.39345911145210266, -0.04587989300489426, -0.056024886667728424, 0.46177396178245544, 0.48536357283592224, 0.010218932293355465, 0.007719260174781084, -0.257791131734848, 0.007458731532096863, -0.5072793960571289, 0.21938206255435944, 0.3336910903453827, 0.4516054689884186, -0.2495274841785431, 0.4284164309501648, -0.3609975278377533, 0.6707884073257446, 0.631131649017334, 0.12313348799943924, -0.056154269725084305, -0.35060158371925354, -0.23310810327529907, -0.2183508425951004, 0.780805230140686, 0.3914947509765625, 0.4603692591190338, -0.1796262115240097, 0.03831470012664795, -0.1861661821603775, 0.12904036045074463, -0.7272014617919922, -0.3209841549396515, 0.3737269937992096, -0.28050151467323303, -0.1655961275100708, 0.004219887312501669, -0.8291075825691223, -0.6281049847602844, -0.4836996793746948, 0.06431960314512253, -0.5351498126983643, -0.03870106488466263, 0.07667235285043716, -0.01311397273093462, 0.21503420174121857, 0.5149884819984436, -1.038038730621338, 0.07770402729511261, 0.6300978660583496, 0.5977533459663391, -0.33493340015411377, -0.1562780886888504, -0.811802089214325, 0.044732872396707535, -0.06505411118268967, 1.0082184076309204, -0.8484730124473572, -0.6276282072067261, 0.12540236115455627, -0.18160028755664825, -0.11865752935409546, -0.6861938834190369, 0.4808792471885681, -0.20560480654239655, 0.57868891954422, -0.47450658679008484, -0.5075425505638123, 0.09341009706258774, 0.17674702405929565, -0.15078669786453247, 0.6874852776527405, 0.1363023966550827, -0.5724666118621826, 0.36404627561569214, -0.68166583776474, -0.3410152196884155, 0.39298295974731445, -0.34831470251083374, -0.2954356074333191, 0.1889079064130783, 0.3381269872188568, 0.518043577671051, -0.24884234368801117, 0.5198965668678284, -0.3019477427005768, -0.4916558861732483, 0.3906370997428894, -0.40779373049736023, 0.43880775570869446, 0.3656068444252014, -0.25929370522499084, 0.6191977858543396, -0.6588047742843628, -0.07517247647047043, 0.0006906631169840693, -0.3007414638996124, -0.07557065784931183, -0.05834294110536575, -0.14906664192676544, -0.21482495963573456, 0.2942018210887909, -0.33321622014045715, 0.13972477614879608, -0.5444757342338562, 0.3710995614528656, 0.9677852988243103, 0.26155373454093933, 0.6165415048599243, -0.5547135472297668, 0.3101394474506378, 0.20804724097251892, -0.06952375918626785, -0.6936793327331543, -0.4703086316585541, -0.7366182804107666, -0.4003756046295166, 0.05626155063509941, 0.7639095187187195, -0.6975595951080322, 0.7329960465431213, -0.10818210989236832, -0.27967390418052673, -0.4873121976852417, 0.13955803215503693, 0.35750487446784973, 0.6821746230125427, 0.22952771186828613, -0.1412225216627121, -0.48881399631500244, -0.8896951675415039, -0.4809110164642334, 0.015936443582177162, -0.38208693265914917, 0.8775479793548584, 0.0006594034493900836, -0.19567425549030304, 1.2790625095367432, -0.47464272379875183, -0.020095013082027435, -0.3716295659542084, 0.11992480605840683, 0.1223621740937233, 0.393690288066864, 0.2048095166683197, -0.6750637888908386, -0.7999879121780396, -0.08752667158842087, -0.5398771166801453, -0.3950001895427704, -0.439593106508255, -0.07522231340408325, -0.1399194747209549, 0.13286778330802917, -0.47415030002593994, 0.13746102154254913, 0.13121917843818665, -0.2716399133205414, 0.20323961973190308, -0.19576804339885712, 0.14262688159942627, -1.3175933361053467, -0.07546426355838776, 0.13249652087688446, -0.22184322774410248, -0.7839038372039795, -0.2090304046869278, -0.21188868582248688, -0.15084922313690186, -0.4490911662578583, 0.7135465741157532, -0.26049354672431946, 0.16212628781795502, -0.18977688252925873, 0.13874395191669464, -0.12618112564086914, 0.6495285034179688, 0.032192133367061615, 0.8849204182624817, 0.4861973226070404, -0.8194366097450256, 0.2962915301322937, 0.6768274307250977, -0.19662605226039886, 0.9366583228111267, -0.909741997718811, 0.5107842683792114, -0.3015829026699066, 0.4609525203704834, -1.1558455228805542, -0.3689647614955902, 0.3827710747718811, -0.19305989146232605, 0.13927389681339264, 0.011915121227502823, -0.2494029551744461, 0.1033378541469574, -0.3006506562232971, 0.1299903690814972, 0.4752606451511383, -0.7801663279533386, 0.6054818630218506, 0.08646949380636215, -0.4465881288051605, -0.10832574963569641, -0.33822888135910034, 0.02912496216595173, -0.3874197006225586, -0.843829870223999, 0.32320690155029297, -0.6658103466033936, -0.18655768036842346, -0.6173090934753418, 0.13997609913349152, 0.17192767560482025, 0.06678950786590576, 0.22512643039226532, 0.0924886018037796, -0.06652918457984924, -0.05121766775846481, 0.37311527132987976, -0.23375998437404633, -0.35787567496299744, -0.11939779669046402, 0.8667455911636353, -0.1257188320159912, -0.16168582439422607, -0.8188958168029785, 0.4726129174232483, 0.36439648270606995, -0.2926132380962372, 0.5787389278411865, 0.6808016300201416, 0.05206838622689247, -0.034551262855529785, -0.6278294324874878, -0.5217456817626953, -0.53216552734375, 0.1914101392030716, -0.6044408679008484, -1.3127551078796387, 0.6217790246009827, -0.2577829957008362, 0.21410736441612244, -0.09590983390808105, 0.8334127068519592, -0.1835794895887375, 1.2540562152862549, 0.3077092170715332, 0.06943877786397934, 0.9006507396697998, 0.08482291549444199, 0.02146274410188198, -0.8355280756950378, -0.4170469045639038, -0.40808916091918945, -0.4559386372566223, -0.5780118107795715, -0.15471415221691132, 0.2772884666919708, -0.3341052532196045, -0.4494739770889282, -0.10613437741994858, -0.6303372979164124, 0.5948867797851562, 0.581627368927002, 0.3512634038925171, 0.13769645988941193, 0.13420671224594116, 0.10092344135046005, -0.39162856340408325, -0.5068556070327759, -0.2796427607536316, 0.6642749905586243, 0.3902284502983093, 0.8161609768867493, -0.027831172570586205, 0.7346436381340027, -0.004864504095166922, 0.00794507097452879, -0.7684845924377441, 0.5705152750015259, -0.19276027381420135, -0.25078946352005005, -0.05440828576683998, -0.47408655285835266, -1.1723806858062744, 0.18088985979557037, -0.2405238002538681, -0.9613485932350159, 0.18485037982463837, 0.20588700473308563, -0.8013913035392761, -0.2429020255804062, -0.8271996378898621, 0.6486186981201172, -0.032867200672626495, -0.3771955966949463, -0.13678660988807678, -0.6911742091178894, 0.13170203566551208, 0.14694152772426605, -0.38597509264945984, -0.11747509986162186, 0.03138085827231407, 0.2797408699989319, -0.021502910181879997, 1.15343177318573, -0.18695639073848724, -0.0349070243537426, 0.10303965955972672, 0.18672975897789001, 0.6996716856956482, 0.4247961938381195, 0.015909431502223015, -0.33791616559028625, -0.16847190260887146, -0.35378333926200867, -0.7115082144737244, 0.7921837568283081, -0.7282435894012451, -0.7243155837059021, -0.11164866387844086, -0.592614471912384, -0.48900648951530457, 0.052842386066913605, 0.482070654630661, 0.3634752631187439, -0.3802524209022522, 0.39928415417671204, 1.1131305694580078, -0.4845828711986542, 0.18667301535606384, 0.7325502634048462, 0.22922824323177338, -0.5068202614784241, 0.8446505069732666, -0.33519038558006287, 0.0944153368473053, 0.4846158027648926, 0.483137309551239, -0.3238065540790558, -0.37149447202682495, -0.34363850951194763, 0.09958352893590927, -0.4222097098827362, -0.20085568726062775, -0.726671576499939, 0.029541103169322014, -0.39556482434272766, -0.2950376868247986, -0.07594578713178635, 0.022535480558872223, -0.7378432154655457, 0.057911474257707596, 0.37810587882995605, 0.5187424421310425, 0.4528524875640869, 0.6473322510719299, -0.7387515902519226, 0.21993064880371094, 0.40290382504463196, 0.24371284246444702, -0.36980435252189636, -0.6436536312103271, 0.14683963358402252, 0.1362239569425583, -0.3934191167354584, -0.7542641758918762, 0.15514661371707916, 0.35006052255630493, 0.44729816913604736, 0.4093310832977295, 0.1265345811843872, 0.6701472997665405, -0.4629403054714203, 0.8472064733505249, 0.05994585156440735, -0.6889182329177856, 0.8932303786277771, -0.7328287363052368, 0.7094498872756958, 0.9387026429176331, 0.09548921883106232, -0.6213744878768921, -0.4325677454471588, -0.46123865246772766, -0.7055221796035767, 0.7811605930328369, -0.08559955656528473, 0.5369409322738647, -0.03599863499403, 0.4837091267108917, 0.3289487659931183, 0.20017977058887482, -0.4129493832588196, -0.14755961298942566, 0.053401123732328415, -0.47617843747138977, -0.02512882463634014, -0.2650631368160248, -0.2958749234676361, -0.22720570862293243, 0.2483074814081192, -0.3999375104904175, 0.13158823549747467, 0.06758464127779007, 0.1420704573392868, -0.07940583676099777, 0.29997435212135315, 0.6460610628128052, 0.43910443782806396, -0.05579666048288345, -0.20354411005973816, 0.22415706515312195, -0.07440977543592453, -0.1508561372756958, -0.03138221055269241, -0.2463439702987671, -0.12834517657756805, -0.14214292168617249, 1.1293041706085205, 0.4464254081249237, -0.49499234557151794, 0.30168387293815613, -0.38695961236953735, -0.010119644924998283, -0.1481836885213852, 0.43309202790260315, -0.0854841098189354, 0.3235248327255249, 0.12819130718708038, 0.10088713467121124, 0.09854886680841446, -0.40845534205436707, -0.00015103128680493683, 0.47070205211639404, -0.24589888751506805, -0.2877615690231323, 0.5611208081245422, 0.650776207447052, -0.6386316418647766, 0.5937084555625916, 0.08772493153810501, -0.1676664799451828, 0.13376474380493164, 0.460281103849411, 0.9995861053466797, -0.2942024767398834, 0.38627421855926514, 0.1802547127008438, -0.2689460813999176, 0.09477923810482025, 0.10876064002513885, -0.47240203619003296, -0.6290391087532043, -0.15119712054729462, -0.3084820806980133, -0.5944409966468811, 0.25150638818740845, -0.506757915019989, 0.4240695834159851, -0.6674941182136536, 0.04859254136681557, -0.14937642216682434, 0.09922982007265091, -0.5976133346557617, 0.01678367517888546, 0.02983742207288742, 0.727065920829773, -0.6434534788131714, 0.5526409149169922, 0.6924809217453003, -0.26644906401634216, -0.6076938509941101, 0.18583902716636658, 0.05035398155450821, -0.7284253239631653, 0.1633017361164093, 0.14038309454917908, -0.03854268789291382, 0.1795814037322998, -0.552873432636261, -0.43300381302833557, 1.0836912393569946, 0.6351274847984314, -0.6131139397621155, 0.10826269537210464, 0.06564724445343018, 0.461431622505188, -0.5982541441917419, 0.3269241154193878, 0.6926641464233398, 0.31566551327705383, 0.4472218453884125, -0.7628616094589233, -0.04318273812532425, -0.10941754281520844, 0.17878644168376923, 0.01739054173231125, -1.0143803358078003, 0.4771905541419983, 0.020219147205352783, -0.20780110359191895, 0.4023992121219635, 0.7290263772010803, 0.5780155658721924, 0.49703770875930786, 0.5433277487754822, 0.08646713942289352, 0.9960622787475586, -0.13143447041511536, 0.8377138376235962, -0.3545707166194916, -0.04561501368880272, 1.2008509635925293, -0.317300945520401, 0.4929707944393158, 0.35177138447761536, 0.1627042293548584, 0.4126923084259033, 0.9319344758987427, 0.07798545062541962, 0.5047279596328735, -0.030283745378255844, -0.5869479179382324, -0.2668621242046356, -0.3221479058265686, -0.230470672249794, 0.3687715530395508, 0.3350506126880646, -0.3110300600528717, 0.05881359800696373, 0.14936420321464539, -0.054777998477220535, 0.24269117414951324, -0.06181001663208008, 1.1555650234222412, 0.02622278593480587, -1.185864806175232, 0.41259992122650146, -0.18630148470401764, 0.9437079429626465, -0.6450660228729248, 0.15259985625743866, -0.6710327863693237, 0.12627890706062317, -0.15930870175361633, -0.7510237693786621, -0.01308406237512827, 0.05358390510082245, -0.27710357308387756, -0.543042004108429, 0.6966205835342407, -0.6757342219352722, -0.10314162075519562, 0.02350752055644989, 0.45205947756767273, 0.0006640493520535529, 0.030403167009353638, -0.7875058054924011, 0.07081778347492218, 0.27301186323165894, -0.20519901812076569, 0.4464679956436157, 0.4144509732723236, 0.1537092626094818, 0.7382736206054688, 0.6172975301742554, -0.18424582481384277, -0.3603397309780121, 0.48493874073028564, 0.9380536079406738, -0.40363791584968567, -0.6829509139060974, -0.8190014362335205, 0.7451696395874023, -0.10071547329425812, -0.5177221894264221, 0.5982184410095215, 0.38275372982025146, 0.5413652062416077, -0.06294987350702286, 0.6642465591430664, 0.2971707284450531, 0.5595959424972534, -0.4509921073913574, 0.3117380440235138, -0.2405393421649933, 0.51659095287323, -0.15472203493118286, -0.9844123125076294, -0.0626785010099411, 0.5477917194366455, -0.2798362076282501, 0.2374427169561386, 0.42926469445228577, 0.820311963558197, -0.05761495977640152, 0.2452237606048584, 0.3829469084739685, 0.047354914247989655, 0.5254457592964172, 0.5381947159767151, 1.0086759328842163, 0.14675237238407135, 0.3974725008010864, 0.03058752417564392, -0.39177456498146057, -0.30641970038414, -0.5765941143035889, -0.9508045315742493, -0.6634188294410706, -0.32158830761909485, -0.35749536752700806, 0.13120675086975098, 1.143676519393921, 0.6468132734298706, -0.7491976618766785, -0.16394804418087006, -0.20840328931808472, -0.016528446227312088, 0.24588462710380554, -0.24873924255371094, -0.1323108673095703, -0.5811971426010132, -0.9243949055671692, 0.5942615270614624, 0.4018445312976837, 0.17091421782970428, -0.1684299260377884, -0.22232955694198608, 0.24280042946338654, 0.13760435581207275, 0.4683181643486023, 0.24829673767089844, -0.6010286211967468, -0.2786034941673279, 0.1460181623697281, -0.005758147221058607, 0.20616382360458374, 1.1002521514892578, -0.7658253312110901, 0.472883403301239, 0.5073612928390503, 0.7047472596168518, 0.44282767176628113, 0.25060006976127625, 0.8896199464797974, -1.1222498416900635, 0.2483302354812622, 0.42649438977241516, 0.10661040991544724, 0.517501950263977, -0.6976732015609741, 0.20921412110328674, 0.08354067802429199, -0.7780674695968628, -0.7540740370750427, 0.5523009896278381, -1.1051913499832153, -0.1671832948923111, 1.17427396774292, 0.00013748327910434455, 0.03833155333995819, -0.12015076726675034, -0.7015003561973572, 0.06808707863092422, -0.7550313472747803, 0.6673424243927002, 0.5658115148544312, -0.5436630845069885, -0.437574565410614, -0.04696919769048691, 0.5736057162284851, 0.8404334187507629, -0.7317976951599121, 0.05061771720647812, 0.5159316062927246, 0.2735573947429657, -0.13002176582813263, 0.7822015285491943, 0.3571542501449585, 0.262880802154541, -0.42255887389183044, -0.6009491086006165, 0.02451290749013424, -0.3334161043167114, -0.5708140730857849, 0.062141302973032, 0.06219791993498802, -0.09818068146705627 ]
http://arxiv.org/abs/2406.18173v1
http://arxiv.org/pdf/2406.18173v1
UIO-LLMs: Unbiased Incremental Optimization for Long-Context LLMs
2024-06-26T08:44:36
2024-06-26T08:44:36
Wenhao Li, Mingbao Lin, Yunshan Zhong, Shuicheng Yan, Rongrong Ji
cs.CL
cs.CL
Managing long texts is challenging for large language models (LLMs) due to limited context window sizes. This study introduces UIO-LLMs, an unbiased incremental optimization approach for memory-enhanced transformers under long-context settings. We initially conceptualize the process as a streamlined encoder-decoder framework where the weights-shared encoder and decoder respectively encapsulate a context segment into memories and leverage these memories to predict outputs of the subsequent segment. Subsequently, by treating our memory-enhanced transformers as fully-connected recurrent neural networks (RNNs), we refine the training process using the Truncated Backpropagation Through Time (TBPTT) algorithm, which incorporates innovative incremental optimization techniques. These techniques not only diminish time complexity but also address the bias in gradient computation through an unbiased optimization process. UIO-LLMs successfully handle long context, such as extending the context window of Llama2-7b-chat from 4K to 100K tokens with minimal 2% additional parameters, while keeping the inference cost nearly linear as context length increases.
[ -0.3182048201560974, -0.5907085537910461, 0.5086519718170166, 0.5534116625785828, -0.4454019367694855, 0.11497367918491364, -0.5999048352241516, -0.21103611588478088, -0.05214321240782738, 0.6095749735832214, -0.5562509298324585, -0.18280558288097382, -0.3557732105255127, 0.17127814888954163, -0.18354633450508118, 0.8351500630378723, -0.03852358087897301, -0.0763377770781517, -0.2570382058620453, -0.13066162168979645, -0.46193256974220276, -0.5131738185882568, -0.6277977228164673, -0.6184626817703247, 0.32251977920532227, 0.4983624815940857, 0.2563234865665436, 0.45696529746055603, 0.18295003473758698, 0.2783030569553375, -0.25949180126190186, 0.13177211582660675, -0.6477959156036377, 0.32189029455184937, 0.018058229237794876, -0.22610537707805634, -0.28901052474975586, -0.3336332142353058, 0.8304919004440308, 0.6684962511062622, -0.3130400776863098, 0.06693753600120544, 0.22844047844409943, 0.8871774077415466, -0.6466618776321411, 0.027341585606336594, -0.7885124087333679, 0.2695736289024353, 0.05577005445957184, -0.47923651337623596, -0.5535237789154053, -0.04111575707793236, 0.19070447981357574, -0.3406220078468323, -0.3054618835449219, 0.0021651776041835546, 0.5011770129203796, 0.4471808075904846, -0.550670862197876, -0.06558936089277267, -0.6502094864845276, 1.2717869281768799, -0.5965063571929932, 0.21238501369953156, -0.0690983459353447, -0.007089298218488693, -0.40272048115730286, -0.6189536452293396, -0.36036747694015503, -0.29383423924446106, 0.07793532311916351, 0.24022021889686584, -0.12850458920001984, 0.354866623878479, 0.2279125452041626, 0.2526262700557709, -0.07961093634366989, 0.3660031855106354, -0.2010839283466339, -0.1244175061583519, 0.36526569724082947, 0.00324650714173913, 0.029365068301558495, -0.11656371504068375, -0.868924617767334, 0.31486770510673523, -0.47194647789001465, 0.01742640696465969, 0.18542450666427612, 0.032362375408411026, -0.1469649225473404, 0.49999019503593445, -0.1071750596165657, 0.4320407211780548, 0.04066772386431694, -0.18016161024570465, 0.2774447500705719, -0.16196489334106445, -0.2584834396839142, 0.17011404037475586, 0.8939714431762695, 0.3021395802497864, 0.3139171004295349, -0.3954952359199524, -0.2909146547317505, -0.21555978059768677, 0.31638601422309875, -0.84156334400177, 0.4952408969402313, 0.22191694378852844, -0.2519659399986267, -0.2682758569717407, -0.2840186059474945, -0.7828112244606018, 0.09466175734996796, -0.4719509780406952, 0.4242856800556183, -0.29595860838890076, -0.026431815698742867, 0.03219350054860115, -0.013759375549852848, 0.033869627863168716, 0.32196295261383057, -0.769336462020874, 0.09453374147415161, 0.44714900851249695, 0.8253340721130371, -0.5648946762084961, -0.2963133156299591, -0.506381630897522, 0.31905651092529297, -0.2582286596298218, 0.533055305480957, -0.34917742013931274, -0.5669685006141663, -0.0808718353509903, -0.1555282026529312, 0.01705051399767399, -0.35707995295524597, 0.5444585680961609, -0.5170696973800659, 0.18064238131046295, 0.29930901527404785, -0.5378060340881348, 0.08784516900777817, 0.23577402532100677, -0.41382136940956116, 1.458374261856079, 0.38913267850875854, -0.5100756883621216, 0.06720131635665894, -0.7767273187637329, -0.5006470084190369, -0.157081738114357, -0.1007862314581871, -0.40229085087776184, 0.39041972160339355, 0.28599199652671814, 0.4953313171863556, -0.5192338228225708, 0.3688450753688812, -0.03140968456864357, -0.5248640179634094, 0.22379817068576813, -0.6003415584564209, 0.5591658353805542, 0.24924997985363007, -0.47524407505989075, 0.3027759790420532, -0.6536381840705872, -0.024304859340190887, -0.18883918225765228, -0.5471649169921875, -0.4746221601963043, -0.02507471665740013, -0.1549016684293747, -0.0037710070610046387, 0.396040141582489, -0.6336351037025452, 0.2849597632884979, -0.39597681164741516, 0.6273033022880554, 0.9767107367515564, -0.08963445574045181, 0.679258406162262, 0.033257026225328445, 0.2398083359003067, 0.09448100626468658, 0.41650983691215515, -0.40513595938682556, -0.14331522583961487, -0.8115609288215637, -0.3480735719203949, 0.018754499033093452, 0.4421348571777344, -0.7071568965911865, 0.7629204392433167, -0.5330485701560974, -0.011553224176168442, -0.2845577895641327, 0.25295498967170715, 0.26980215311050415, 0.7679306864738464, 0.41986939311027527, -0.44279345870018005, -0.47691279649734497, -1.0306601524353027, -0.026304835453629494, 0.1736140251159668, -0.2320234328508377, 0.2671148478984833, 0.4386149048805237, -0.7585064768791199, 0.9694384932518005, -0.24611255526542664, -0.4188558757305145, -0.08991235494613647, -0.041748885065317154, 0.3489930331707001, 0.3198321461677551, 0.289110392332077, -0.5822214484214783, -0.5104047656059265, 0.23074427247047424, -0.7178585529327393, -0.13408774137496948, -0.3037542998790741, -0.09257484972476959, 0.5122451782226562, 0.6391100287437439, -0.564087450504303, 0.340857595205307, 0.6254317164421082, 0.08476874232292175, 0.34815850853919983, -0.30109432339668274, -0.0449020117521286, -1.2182172536849976, -0.15293072164058685, -0.11712615191936493, -0.2957990765571594, -0.3680933713912964, -0.08504278212785721, 0.1843279004096985, 0.036450937390327454, -0.368947297334671, 0.6909666061401367, -0.8694919347763062, -0.056368011981248856, -0.4395478069782257, 0.10850852727890015, -0.053381770849227905, 0.7789129018783569, 0.015553667210042477, 0.8744089603424072, 0.527434229850769, -0.4757809638977051, 0.24194900691509247, -0.2162369340658188, -0.4864671230316162, 0.40315112471580505, -0.3815832734107971, 0.3120497465133667, -0.14068159461021423, 0.21793091297149658, -0.8360440135002136, 0.17354388535022736, -0.15723071992397308, -0.2409384846687317, 0.5295795798301697, -0.16944295167922974, -0.3903641700744629, -0.37102147936820984, -0.5584478974342346, 0.46070048213005066, 0.5741376876831055, -0.8489039540290833, 0.7978050708770752, 0.3789139986038208, -0.009860118851065636, -0.9269628524780273, -0.46989765763282776, 0.23709902167320251, -0.2746025323867798, -0.3930242955684662, 0.40880152583122253, -0.06620050966739655, -0.07529233396053314, -0.263468861579895, -0.2313394844532013, 0.1243431344628334, -0.02166730910539627, 0.18565979599952698, 0.13099409639835358, -0.060362279415130615, 0.10763945430517197, 0.37228429317474365, -0.2031513750553131, -0.03587447479367256, -0.3962860405445099, 0.6513524055480957, -0.0838603749871254, -0.07816848158836365, -0.5502995252609253, 0.4704681932926178, 0.5128177404403687, 0.31059691309928894, 0.6422253251075745, 0.49130070209503174, -0.09098387509584427, -0.28502848744392395, -0.835544228553772, -0.07279687374830246, -0.5416858196258545, 0.584943413734436, -0.38208773732185364, -1.1422454118728638, 0.36860617995262146, -0.3313676416873932, 0.09807886928319931, 0.15743395686149597, 0.6425148844718933, -0.12564922869205475, 0.7638545036315918, 0.4759432077407837, -0.596867561340332, 0.5522042512893677, -0.21510858833789825, -0.009575785137712955, -1.2681304216384888, -0.24004678428173065, -0.15930651128292084, -0.2699757516384125, -0.44312071800231934, -0.6518335938453674, 0.35605427622795105, 0.17998693883419037, -0.49546411633491516, 0.133756622672081, -0.6200170516967773, 0.43846970796585083, 0.5317148566246033, -0.09131339192390442, 0.3779169023036957, 0.3842356204986572, -0.1170893982052803, 0.08475355058908463, -0.4478449821472168, -0.24459965527057648, 1.1054048538208008, 0.45963236689567566, 1.010723352432251, -0.09539685398340225, 0.5765148401260376, 0.3191176652908325, 0.5352969169616699, -0.9736510515213013, 0.5812318921089172, -0.0006480350275523961, -0.20069915056228638, -0.4457937479019165, -0.60517817735672, -0.9781447649002075, 0.3351956009864807, 0.17468665540218353, -0.9382339715957642, -0.061600010842084885, 0.009346574544906616, -0.030072305351495743, 0.38013604283332825, -0.5768578052520752, 0.34367305040359497, -0.37756145000457764, -0.2807651162147522, -0.20769312977790833, -0.6611683964729309, 0.11496992409229279, -0.09741073101758957, 0.09572476148605347, -0.0986361876130104, -0.4624286890029907, 0.5096635818481445, -0.26394203305244446, 0.6794810891151428, 0.0726078450679779, -0.19683359563350677, 0.46711525321006775, -0.27832862734794617, 0.5964842438697815, 0.157561793923378, -0.23611262440681458, 0.5643805265426636, -0.2368963062763214, -0.2558562755584717, -0.40933069586753845, 0.8915393352508545, -0.8466621041297913, -0.6157488226890564, -0.41341662406921387, -0.5511615872383118, -0.24675925076007843, 0.12975925207138062, 0.42322733998298645, 0.26775726675987244, -0.06173153966665268, 0.6055115461349487, 0.5720381736755371, -0.15300077199935913, 0.7422944903373718, 0.4049367904663086, -0.07393858581781387, -0.5569985508918762, 0.4194999039173126, -0.18908561766147614, 0.4118717312812805, 0.7490268349647522, 0.2935445010662079, -0.35818588733673096, -0.6575266718864441, -0.4103969931602478, 0.12613731622695923, -0.5164929628372192, -0.3433617651462555, -0.5296471118927002, -0.28401321172714233, -0.21766680479049683, -0.0661894828081131, -0.5574614405632019, -0.215110182762146, -0.45639169216156006, -0.004688656888902187, 0.3060128390789032, 0.1822204291820526, 0.04705088958144188, 0.6275634765625, -0.7468597888946533, 0.3501420319080353, 0.23131844401359558, 0.42099490761756897, 0.14119313657283783, -0.7040938138961792, -0.328073114156723, 0.09844272583723068, -0.2270638793706894, -0.5102844834327698, 0.4229033887386322, 0.10708025097846985, 0.4093242585659027, 0.41424494981765747, -0.09210482984781265, 0.8111523389816284, -0.6716158986091614, 0.5713282227516174, 0.5035985708236694, -0.8287996053695679, 0.40908315777778625, -0.3457048237323761, 0.430990993976593, 0.5431063771247864, 0.17007599771022797, -0.41471102833747864, -0.054364580661058426, -0.0641699954867363, -1.1184186935424805, 0.6276232004165649, 0.3127254247665405, 0.5638088583946228, -0.07662812620401382, 0.7616819143295288, 0.10798442363739014, 0.26005470752716064, -0.8738752007484436, -0.41114917397499084, -0.023650040850043297, -0.17752045392990112, 0.08081959933042526, -0.6275674700737, -0.03542714565992355, -0.3190405070781708, 0.5232689380645752, -0.29712429642677307, 0.38147681951522827, 0.09604610502719879, -0.19267715513706207, -0.059904132038354874, 0.4995185136795044, 0.5521290898323059, 0.655214250087738, -0.2012006789445877, -0.2808285653591156, 0.39691847562789917, -0.6247884631156921, 0.10476818680763245, 0.04400400072336197, -0.20040246844291687, -0.0651426836848259, 0.11718501150608063, 1.040447473526001, 0.5555155277252197, -0.705447256565094, 0.34691232442855835, -0.18418438732624054, 0.0038288754876703024, -0.8084709644317627, 0.025172719731926918, -0.03188019245862961, 0.23103730380535126, 0.8538872003555298, -0.23062007129192352, -0.05511502921581268, -0.5391244292259216, 0.07708176970481873, 0.5508739948272705, -0.5402088761329651, -0.19602467119693756, 0.4189610481262207, 0.37835970520973206, -0.296186238527298, 0.6603487133979797, 0.2556840777397156, -0.2794956564903259, 0.5228599309921265, 0.5266106724739075, 0.8811687231063843, -0.23638343811035156, -0.1759682148694992, 0.3053077757358551, 0.1648905873298645, -0.2610473334789276, 0.02390013076364994, -0.32826054096221924, -0.773255467414856, -0.5076987147331238, -0.7715532779693604, -0.24588187038898468, 0.3758525550365448, -0.8294591903686523, 0.1532343029975891, -0.21463783085346222, -0.3702940046787262, -0.5255234241485596, -0.06117723137140274, -0.5484902262687683, 0.15533480048179626, -0.1594032496213913, 0.8470117449760437, -0.02290135622024536, 1.1196837425231934, 0.21699807047843933, 0.08214167505502701, -0.3830099105834961, -0.11800377815961838, -0.21760523319244385, -0.979567289352417, 0.4895360767841339, 0.382478803396225, -0.33022937178611755, 0.23697178065776825, -0.3263075053691864, -0.8006578683853149, 1.2269638776779175, 0.2644849717617035, -0.9862350225448608, -0.20466111600399017, 0.049670808017253876, 0.4578542411327362, -0.49260959029197693, 0.134383425116539, 0.6223269701004028, 0.22961023449897766, 0.04931453987956047, -0.9316637516021729, -0.16227751970291138, 0.008183397352695465, 0.3506576716899872, 0.465178906917572, -0.6965988278388977, 0.5570975542068481, -0.4214574992656708, -0.19204531610012054, 0.37287187576293945, 0.8709127306938171, 0.1463535726070404, 0.17840443551540375, 0.5928866863250732, 0.5442959070205688, 0.28663963079452515, 0.01751822791993618, 1.1293619871139526, -0.27648794651031494, 0.381991982460022, 1.2023996114730835, -0.1616298109292984, 0.7805876731872559, 0.9335993528366089, -0.03174241632223129, 0.5106020569801331, 0.4771714508533478, 0.21880704164505005, 0.5053873658180237, 0.14250439405441284, -0.5229841470718384, -0.005429587326943874, -0.10222695767879486, -0.37166762351989746, 0.351420521736145, 0.37981241941452026, -0.4565035402774811, 0.024425135925412178, 0.15532146394252777, 0.041791122406721115, -0.06324820965528488, -0.4086865782737732, 0.8268164992332458, 0.43012163043022156, -0.7981733679771423, 0.4542255699634552, -0.03496953472495079, 1.129082202911377, -0.7625285387039185, 0.320089191198349, -0.39531025290489197, 0.3877621293067932, 0.09044671058654785, -0.7550714612007141, -0.05514343082904816, -0.08655469119548798, -0.08669489622116089, -0.3372328281402588, 0.5741634964942932, -0.48290425539016724, -0.40242546796798706, 0.7259302139282227, 0.2074376493692398, -0.12356523424386978, -0.19859273731708527, -0.539954423904419, 0.11830177158117294, -0.011710540391504765, -0.6275389194488525, 0.5651443004608154, 0.40556642413139343, -0.08151117712259293, 0.890673816204071, 0.6112082004547119, 0.059517327696084976, -0.19068527221679688, 0.3918173909187317, 0.7497453093528748, -0.8363099694252014, -0.3836687505245209, -1.0883842706680298, 0.5354316234588623, -0.21720096468925476, -0.22017362713813782, 0.7211576104164124, 0.6819629073143005, 0.705854594707489, -0.03811641409993172, 0.6535336375236511, 0.43630531430244446, 0.35546085238456726, -0.5912485718727112, 0.4973945915699005, -0.6598423719406128, 0.41929376125335693, -0.047628968954086304, -1.0666195154190063, 0.029891448095440865, 0.4051584303379059, -0.03416404128074646, 0.02536381408572197, 0.4855654537677765, 0.5323268175125122, 0.09887312352657318, -0.24254319071769714, 0.31129640340805054, 0.08036293089389801, 0.19983439147472382, 0.6862604022026062, 0.829872727394104, -0.36216387152671814, 0.6633625030517578, -0.4126485288143158, -0.3010254502296448, -0.18675044178962708, -1.1514488458633423, -1.0411185026168823, -0.45249664783477783, -0.16756950318813324, -0.09157922863960266, -0.06690838932991028, 0.8232039213180542, 0.5710968971252441, -0.46751275658607483, -0.5159531235694885, 0.10430556535720825, 0.15378032624721527, 0.07106012850999832, -0.2643648087978363, 0.31298333406448364, -0.45095428824424744, -0.8955652117729187, 0.45148831605911255, 0.7886297702789307, -0.02448914386332035, -0.3073713779449463, -0.16855187714099884, -0.00838503148406744, 0.06011677905917168, 1.1405291557312012, 0.26340124011039734, -0.656791090965271, -0.26598137617111206, -0.03762879967689514, -0.07082246243953705, 0.3854220509529114, 0.7689969539642334, -0.7955265641212463, 0.5027424693107605, 0.2507954239845276, 0.5763344168663025, 0.7463786602020264, 0.10912889242172241, 0.6148105263710022, -1.0021378993988037, 0.524081289768219, 0.2912920117378235, 0.45116323232650757, 0.28730231523513794, -0.4126536250114441, 0.6202012896537781, -0.06978986412286758, -0.5238373875617981, -1.009697437286377, 0.051694974303245544, -1.154227614402771, -0.3642471432685852, 1.3499051332473755, 0.16883313655853271, -0.23853404819965363, -0.06659440696239471, -0.10145466029644012, 0.07248496264219284, -0.6528745293617249, 0.9083130955696106, 0.38447636365890503, -0.19330047070980072, -0.30305686593055725, -0.38902661204338074, 0.3261461555957794, 0.3065093755722046, -0.8493884801864624, -0.13531480729579926, 0.31116896867752075, 0.28852924704551697, 0.0500771701335907, 0.7586227059364319, -0.13139961659908295, 0.009066658094525337, -0.4844777286052704, -0.03531099483370781, -0.08539949357509613, -0.20011502504348755, -0.17759057879447937, -0.051118675619363785, -0.2593408524990082, -0.16808933019638062 ]
http://arxiv.org/abs/2406.18164v1
http://arxiv.org/pdf/2406.18164v1
NeBuLa: A discourse aware Minecraft Builder
2024-06-26T08:24:44
2024-06-26T08:24:44
Akshay Chaturvedi, Kate Thompson, Nicholas Asher
cs.CL
cs.CL, cs.LG
When engaging in collaborative tasks, humans efficiently exploit the semantic structure of a conversation to optimize verbal and nonverbal interactions. But in recent "language to code" or "language to action" models, this information is lacking. We show how incorporating the prior discourse and nonlinguistic context of a conversation situated in a nonlinguistic environment can improve the "language to action" component of such interactions. We fine tune an LLM to predict actions based on prior context; our model, NeBuLa, doubles the net-action F1 score over the baseline on this task of Jayannavar et al.(2020). We also investigate our model's ability to construct shapes and understand location descriptions using a synthetic dataset.
[ -0.01692858710885048, -1.132228136062622, 0.6815222501754761, 0.19386321306228638, 0.2158152312040329, 0.13876424729824066, 0.1160835400223732, -0.5343371629714966, 0.7282562255859375, 0.49547889828681946, -0.44843873381614685, -0.464257150888443, -0.43741467595100403, -0.2222711741924286, -0.5478460192680359, 0.5762989521026611, 0.17473378777503967, -0.44583505392074585, -0.3669447600841522, 0.09853847324848175, -0.5044963955879211, -0.4422413110733032, -0.877858579158783, -0.1723201423883438, 0.42996639013290405, 0.2968357503414154, 0.8390029072761536, 0.6420242786407471, 0.38120225071907043, 0.5005875825881958, -0.16483090817928314, 0.1148071140050888, -0.7171398401260376, 0.05456439033150673, -0.5118365287780762, -0.43842536211013794, -0.49058273434638977, -0.07897444069385529, 0.5731253027915955, 0.7934030294418335, 0.037733227014541626, 0.26816487312316895, 0.038823749870061874, 0.18328794836997986, -0.5067834854125977, 0.30643194913864136, -0.46250537037849426, 0.3597484529018402, -0.009144304320216179, -0.31284022331237793, -0.4846300780773163, 0.06578563898801804, 0.06595917791128159, -0.7780618071556091, -0.019072119146585464, 0.4026202857494354, 0.4745604395866394, 0.500349760055542, -0.4704498052597046, -0.10784626752138138, -0.6163397431373596, 0.6712280511856079, -0.480488657951355, 0.40734267234802246, 0.4606213867664337, -0.08062291145324707, -0.6208080649375916, -0.937751054763794, -0.5364856123924255, -0.016058793291449547, -0.12281321734189987, 0.3387373685836792, -0.2782074809074402, 0.4111683666706085, 0.38045603036880493, 0.2652904689311981, -0.46398335695266724, 0.13775044679641724, -0.45936229825019836, -0.21031378209590912, 0.5094344615936279, 0.4079442024230957, 0.24097874760627747, -0.6248322129249573, -0.267015278339386, 0.27392035722732544, -0.4509832561016083, 0.28317856788635254, 0.18369640409946442, 0.3156011700630188, -0.2735264003276825, 0.7124482989311218, -0.1387328803539276, 0.8924148678779602, 0.37205713987350464, -0.24840939044952393, -0.23253284394741058, -0.2706998884677887, -0.6755858063697815, 0.03578806668519974, 0.5738672018051147, 0.41739439964294434, -0.12938502430915833, -0.19221065938472748, 0.4613511264324188, 0.20641471445560455, 0.6780961751937866, -0.7161635160446167, -0.3159281313419342, 0.58629310131073, -0.594685435295105, -0.5352550148963928, 0.06822843104600906, -0.355620414018631, -0.5779607892036438, -0.24686792492866516, -0.02781449258327484, -0.018974415957927704, -0.5014885663986206, -0.04557246342301369, -0.08671527355909348, 0.00005676161526935175, 0.18818417191505432, -0.6344084143638611, 0.49000170826911926, 0.7434092164039612, 0.8525842428207397, -0.0023176579270511866, -0.38338223099708557, -0.6312121748924255, 0.2886812090873718, -0.611713707447052, 0.8478165864944458, -0.6757301688194275, -0.8451369404792786, -0.24627763032913208, -0.03202606737613678, -0.016539908945560455, -0.30585646629333496, 0.3632579445838928, -0.11226191371679306, 0.6565904021263123, 0.029386701062321663, -0.5191906690597534, -0.5323758125305176, 0.3583035469055176, -0.5296956300735474, 0.9574589729309082, 0.22426000237464905, -0.6510322690010071, 0.23786930739879608, -0.9024664163589478, -0.42833244800567627, 0.25061681866645813, -0.19050711393356323, -0.028738664463162422, 0.4975104033946991, -0.10449928045272827, 0.4900948405265808, -0.11015909910202026, 0.5563350915908813, -0.2157401591539383, -0.4906393587589264, 0.15959569811820984, -0.06853795051574707, 0.4952411651611328, 0.035821933299303055, -0.3752685785293579, 0.48849740624427795, -0.3299657106399536, 0.3326285481452942, -0.20571072399616241, -0.15521684288978577, 0.035355664789676666, 0.33472970128059387, -0.34992870688438416, 0.49554842710494995, 0.04102661460638046, -0.2914240062236786, 0.0817721039056778, -0.6725847721099854, 0.21339018642902374, 0.7991926670074463, 0.057759325951337814, 0.788608729839325, -0.38700318336486816, 0.7708884477615356, -0.040132392197847366, 0.10313407331705093, -0.015400540083646774, -0.7592841386795044, -0.7844818830490112, -0.026163551956415176, 0.10012154281139374, 0.5720090270042419, -0.8913977146148682, 0.28767216205596924, -0.12200815230607986, -0.5167375206947327, -0.38116154074668884, -0.13463546335697174, 0.5976257920265198, 0.7691701650619507, 0.10430075973272324, -0.6865100860595703, -0.8444591760635376, -0.4772169888019562, -0.04950649291276932, -0.6024911999702454, 0.13812024891376495, 0.8070576786994934, 0.14294251799583435, -0.22353476285934448, 1.0085660219192505, -0.5810409188270569, -0.10734186321496964, -0.1577053964138031, -0.005593848880380392, 0.09410464763641357, 0.24718411266803741, 0.35884910821914673, -0.6130114197731018, -0.5016950964927673, 0.041269343346357346, -0.8481441736221313, -0.004240412265062332, -0.23011048138141632, -0.17979955673217773, 0.07043341547250748, 0.7372661828994751, -0.4525846540927887, 0.6426663398742676, 0.9714270830154419, -0.7482461929321289, 0.3869445025920868, 0.11488000303506851, 0.1632496565580368, -1.442474126815796, 0.2209579348564148, -0.08396410197019577, -0.36087965965270996, -0.7170706987380981, 0.0863269492983818, -0.2645006477832794, -0.36725494265556335, -0.8512038588523865, 0.803866982460022, -0.318372905254364, -0.2903929352760315, -0.4327498972415924, 0.06784352660179138, -0.22118641436100006, 0.6258957386016846, 0.3852483034133911, 0.760292112827301, 0.7621482014656067, -0.7312703728675842, 0.09942060708999634, 0.2787499725818634, -0.33636602759361267, 0.800898015499115, -0.8323537111282349, 0.10759874433279037, -0.09694387763738632, 0.25169292092323303, -0.7784119844436646, -0.4075872004032135, 0.10444944351911545, -0.5302092432975769, -0.0657564252614975, -0.36467766761779785, -0.41274142265319824, -0.347834974527359, -0.09500188380479813, 0.13201606273651123, 0.32081320881843567, -0.36222413182258606, 0.727037250995636, 0.697809100151062, -0.08275692164897919, -0.30046945810317993, -0.5934742093086243, 0.20842254161834717, -0.3127012252807617, -0.6901221871376038, 0.47476479411125183, -0.2801823616027832, -0.41232332587242126, -0.21270212531089783, -0.05990668386220932, -0.29527029395103455, 0.2897873520851135, 0.8823451399803162, 0.04511571675539017, 0.01187785342335701, 0.112090103328228, -0.12169842422008514, -0.18387682735919952, 0.1824665367603302, -0.38652440905570984, 0.5000942349433899, 0.15730275213718414, -0.1436730921268463, -0.4574197828769684, 0.393392950296402, 0.4025753140449524, -0.02020711451768875, 0.5503466129302979, 0.18010631203651428, -0.20424623787403107, -0.0966450572013855, -0.09938094764947891, -0.20277030766010284, -0.6130661964416504, 0.24314534664154053, -0.31290343403816223, -1.07451331615448, 0.3876194357872009, -0.5556017756462097, -0.027945926412940025, 0.17512208223342896, 0.3967475891113281, -0.24665671586990356, 0.8742331266403198, 0.9269624352455139, 0.10289424657821655, 0.7332658767700195, -0.14189736545085907, 0.32394784688949585, -0.983196496963501, -0.22768905758857727, -0.16512855887413025, -0.6813608407974243, -0.5591659545898438, -0.8020595908164978, 0.19701088964939117, -0.07457728683948517, -0.024698635563254356, 0.5498696565628052, -0.5229582190513611, 0.7328943014144897, 0.36355313658714294, -0.15704785287380219, 0.005858565215021372, -0.16067861020565033, -0.2497400939464569, -0.186456099152565, -0.916210412979126, -0.3701897859573364, 0.8433673977851868, 0.15503773093223572, 0.3966216444969177, 0.3415321111679077, 0.742358922958374, -0.14924156665802002, 0.2946111857891083, -0.8292509913444519, 0.7283530831336975, 0.15508770942687988, -0.5773951411247253, 0.026039969176054, -0.3861493170261383, -1.2341158390045166, 0.13455885648727417, -0.2983781695365906, -0.7499556541442871, -0.11136370152235031, 0.16762675344944, -0.4548833966255188, 0.05507379770278931, -0.9379187822341919, 0.8803529739379883, -0.15706093609333038, -0.6146207451820374, -0.07781150937080383, -0.41547930240631104, 0.17510317265987396, 0.2551734149456024, 0.4406786859035492, -0.003928763326257467, -0.003087463555857539, 0.29431891441345215, -0.19865655899047852, 1.1952658891677856, -0.09803732484579086, 0.007051714695990086, 0.4630977213382721, 0.5952756404876709, 0.4642227590084076, 0.12958234548568726, 0.01180088147521019, -0.07187536358833313, -0.6217520236968994, -0.28422969579696655, -0.6615879535675049, 0.9449970722198486, -0.5337419509887695, -0.7008839249610901, -0.40149128437042236, -0.49108225107192993, -0.13695091009140015, 0.11444227397441864, 0.05320367217063904, 0.31455159187316895, -0.6125780940055847, -0.0072984350845217705, 0.4271310865879059, -0.12324907630681992, 0.6397503018379211, 0.541276752948761, -0.4041104018688202, -0.22157762944698334, 0.6409132480621338, -0.11473042517900467, 0.19410277903079987, 0.20990820229053497, 0.0590105839073658, -0.2082436978816986, -0.4450477659702301, -0.06824615597724915, -0.02115880697965622, -0.37741464376449585, -0.13480590283870697, -0.6329605579376221, -0.20466311275959015, -0.2049398422241211, -0.6669670939445496, -0.15629807114601135, -0.7149835228919983, -0.47787797451019287, -0.4137398600578308, 0.10841631144285202, 0.9334169626235962, 0.11976586282253265, 0.3897600471973419, -0.35645559430122375, 0.14861617982387543, 0.2536143660545349, 0.38900065422058105, -0.08388876914978027, -0.3804869055747986, -0.015440700575709343, 0.0038602000568062067, -0.498918354511261, -0.5692647695541382, 0.4734266698360443, 0.17722508311271667, 0.40274927020072937, 0.11814957112073898, -0.3222963809967041, 1.140032172203064, -0.5523267388343811, 1.1956843137741089, 0.22055068612098694, -0.9820064306259155, 0.8626590967178345, -0.31429293751716614, 0.7458312511444092, 0.1832851618528366, 0.2572503983974457, -0.6156154870986938, -0.44108846783638, -1.1806679964065552, -0.6666224002838135, 0.4808230698108673, 0.25521406531333923, 0.19928929209709167, -0.27929386496543884, 0.2395096719264984, -0.2654643952846527, 0.1650862842798233, -0.8841214179992676, 0.025447767227888107, -0.17213058471679688, -0.10202097147703171, -0.22464528679847717, -0.05145859718322754, -0.04520631581544876, -0.22978954017162323, 0.3717572093009949, -0.3509010076522827, 0.37328553199768066, 0.1425890028476715, -0.1094394326210022, -0.10116656124591827, -0.026852650567889214, 0.6625379920005798, 0.31324246525764465, 0.3157239854335785, 0.2091752290725708, 0.27964794635772705, -0.38520562648773193, -0.1392684280872345, -0.24543313682079315, 0.011172756552696228, -0.25205814838409424, 0.44665542244911194, 0.6405168175697327, 0.6833991408348083, -0.5413069128990173, 0.28409886360168457, -0.11956728249788284, -0.3105332851409912, -0.2493203580379486, 0.3666028082370758, 0.3569442331790924, 0.3625962734222412, -0.40545418858528137, 0.33297765254974365, 0.3065160810947418, -0.697510838508606, 0.13228541612625122, 0.31334230303764343, -0.7106130123138428, -0.4187543988227844, 0.697391927242279, 0.5684888958930969, -0.5777941942214966, 0.4680175185203552, -0.3645457625389099, -0.3705742657184601, 0.5770337581634521, 0.799614667892456, 0.7917073369026184, -0.22995640337467194, 0.5171905755996704, 0.49417775869369507, 0.07304473221302032, 0.04708673804998398, 0.6538774967193604, -0.09048724174499512, -0.5653951168060303, -0.647247850894928, -0.34962180256843567, -0.40054672956466675, -0.4193136394023895, -0.06721046566963196, 0.22686618566513062, -0.8926462531089783, -0.2195112109184265, -0.043721675872802734, 0.16275747120380402, -0.5625841617584229, 0.28749150037765503, -0.18058472871780396, 0.5333597660064697, -0.41470786929130554, 0.776498019695282, 0.6292875409126282, -0.13659654557704926, -0.867239236831665, -0.23447205126285553, 0.45824241638183594, -0.45705389976501465, 0.4598012864589691, 0.1766914278268814, -0.2372359335422516, 0.14897023141384125, -0.39900797605514526, -1.1523692607879639, 1.2302156686782837, 0.3166162669658661, -0.33561673760414124, 0.09019885957241058, 0.019704783335328102, 0.7115976810455322, -0.48812636733055115, 0.2713671028614044, -0.011765430681407452, 0.20150260627269745, 0.3602123558521271, -1.1850296258926392, -0.046538811177015305, -0.41660019755363464, 0.06504102796316147, 0.5189355611801147, -0.6877304315567017, 0.620610773563385, -0.19894307851791382, -0.44544950127601624, 0.03699618950486183, 0.6537337303161621, -0.03295822814106941, 0.20704036951065063, 0.17205889523029327, 0.604735791683197, 1.0835202932357788, 0.0027227303944528103, 1.3406217098236084, -0.33312085270881653, -0.00024735252372920513, 1.26197350025177, -0.25349271297454834, 0.9845760464668274, 0.3210063874721527, 0.11404189467430115, 0.8401468992233276, 0.3887963593006134, 0.3869159519672394, 0.4375951886177063, 0.19591844081878662, -0.23228396475315094, -0.026761246845126152, -0.4158644676208496, 0.05134553834795952, 0.8379122018814087, 0.5101105570793152, -0.43932557106018066, 0.16194699704647064, -0.33374205231666565, 0.1607649177312851, 0.2333611100912094, -0.45334815979003906, 1.155369758605957, 0.00939430296421051, -0.8198158740997314, 0.22438926994800568, 0.053746093064546585, 0.56764155626297, -0.4257575571537018, 0.030794624239206314, 0.021257201209664345, -0.11058579385280609, -0.5268642902374268, -0.715829074382782, 0.8032883405685425, -0.09144318848848343, -0.23332186043262482, -0.4089897572994232, 0.7892287969589233, -0.4304351806640625, -0.4220254719257355, 0.07076527178287506, 0.42534008622169495, 0.2281513512134552, 0.03289703279733658, -0.727486789226532, 0.1078970655798912, -0.0615496002137661, 0.2113180309534073, 0.13965407013893127, 0.21069110929965973, -0.12200174480676651, 0.5277503728866577, 0.9168407320976257, -0.1820950210094452, -0.20133264362812042, -0.2138466238975525, 0.6467835903167725, -0.7824886441230774, -0.7735106945037842, -0.528823733329773, 0.9181303381919861, -0.40393882989883423, -0.5291017889976501, 0.8129832148551941, 0.5986510515213013, 0.6300210952758789, 0.15288472175598145, 0.5775830149650574, -0.17902211844921112, 0.26987022161483765, -0.45647090673446655, 0.4376804232597351, -0.16891592741012573, 0.015645019710063934, -0.35215693712234497, -0.942818820476532, -0.34021854400634766, 0.9791566133499146, -0.11593510210514069, -0.07290033996105194, 0.87296462059021, 0.7449729442596436, -0.18613271415233612, 0.18199056386947632, 0.49861136078834534, 0.16054631769657135, 0.30367299914360046, 0.676681399345398, 0.7242565155029297, -0.30557024478912354, 0.0961996391415596, -0.030443264171481133, -0.2848249673843384, 0.10535361617803574, -1.1176742315292358, -1.106031060218811, -0.5494714975357056, -0.43688514828681946, -0.17864011228084564, -0.24084672331809998, 0.6929076313972473, 1.1588122844696045, -0.4467231333255768, -0.43722787499427795, -0.4060402512550354, 0.1618211567401886, -0.23774857819080353, -0.2296888679265976, -0.11780303716659546, -0.06228935718536377, -0.6476023197174072, 0.8954712748527527, 0.5314373970031738, 0.20352624356746674, -0.17773614823818207, -0.2226044237613678, -0.11864286661148071, 0.32995033264160156, 0.8994074463844299, 0.31553709506988525, -0.7073302268981934, -0.461679607629776, 0.24813249707221985, 0.17147377133369446, 0.0042371065355837345, 0.8773737549781799, -1.143723726272583, 0.5631110072135925, 0.2627289295196533, 0.3082751929759979, 0.4523763060569763, 0.0213316660374403, 0.883933424949646, -1.0728930234909058, 0.4073405861854553, 0.23289655148983002, 0.19560524821281433, 0.2768919765949249, -0.6568523645401001, 0.6453126668930054, 0.017566563561558723, -0.4663619101047516, -0.3581690490245819, 0.5377800464630127, -0.9439411163330078, -0.3888804018497467, 0.9447656869888306, 0.009011375717818737, -0.2714878022670746, -0.13394474983215332, -0.5359209775924683, -0.26071059703826904, -0.12750932574272156, 0.9142635464668274, 0.7618487477302551, -0.21506507694721222, -0.23938877880573273, -0.3557576537132263, 0.6829378008842468, 0.4042060375213623, -1.1876174211502075, -0.17810046672821045, 0.7714837193489075, -0.019739115610718727, 0.3200632631778717, 0.8178391456604004, 0.18483281135559082, 0.4214649200439453, 0.16223111748695374, -0.41001859307289124, -0.12455106526613235, -0.49820244312286377, 0.05889634042978287, 0.24442343413829803, 0.11530154198408127, 0.17424093186855316 ]
http://arxiv.org/abs/2406.18139v1
http://arxiv.org/pdf/2406.18139v1
LOOK-M: Look-Once Optimization in KV Cache for Efficient Multimodal Long-Context Inference
2024-06-26T07:44:24
2024-06-26T07:44:24
Zhongwei Wan, Ziang Wu, Che Liu, Jinfa Huang, Zhihong Zhu, Peng Jin, Longyue Wang, Li Yuan
cs.CL
cs.CL, cs.CV
Long-context Multimodal Large Language Models (MLLMs) demand substantial computational resources for inference as the growth of their multimodal Key-Value (KV) cache, in response to increasing input lengths, challenges memory and time efficiency. Unlike single-modality LLMs that manage only textual contexts, the KV cache of long-context MLLMs includes representations from multiple images with temporal and spatial relationships and related textual contexts. The predominance of image tokens means traditional optimizations for LLMs' KV caches are unsuitable for multimodal long-context settings, and no prior works have addressed this challenge. In this work, we introduce LOOK-M, a pioneering, fine-tuning-free approach that efficiently reduces the multimodal KV cache size while maintaining performance comparable to a full cache. We observe that during prompt prefill, the model prioritizes more textual attention over image features, and based on the multimodal interaction observation, a new proposed text-prior method is explored to compress the KV cache. Furthermore, to mitigate the degradation of image contextual information, we propose several compensatory strategies using KV pairs merging. LOOK-M demonstrates that with a significant reduction in KV Cache memory usage, such as reducing it by 80% in some cases, it not only achieves up to 1.5x faster decoding but also maintains or even enhances performance across a variety of long context multimodal tasks.
[ -0.44410037994384766, -0.6485687494277954, 0.5436362028121948, 0.4367441236972809, -0.5543003082275391, -0.19304952025413513, -0.3858714699745178, -0.3590660095214844, 0.19838419556617737, 0.3964555859565735, -1.034056544303894, -0.4422179162502289, -0.3681139349937439, -0.03941056877374649, -0.10018117725849152, 0.3991479277610779, -0.09514354169368744, -0.08106883615255356, -0.5285302400588989, -0.2818129062652588, -0.33790555596351624, -0.3009864389896393, -0.557462751865387, 0.1681380271911621, 0.9182589650154114, 0.43121886253356934, 0.5355905890464783, 0.3924054503440857, 0.5004488825798035, 0.23200015723705292, 0.009233042597770691, 0.6336474418640137, -0.610209584236145, 0.5983158946037292, 0.04702351614832878, -0.3118647336959839, -0.25011929869651794, -0.06893901526927948, 0.6265771985054016, 0.19911745190620422, 0.21431660652160645, 0.12622475624084473, -0.05716363713145256, 0.71600741147995, -1.4488404989242554, 0.18006694316864014, -0.5661242008209229, 0.04967992752790451, -0.2701120376586914, -0.542634129524231, -0.7839417457580566, -0.017781341448426247, 0.2179812490940094, -0.7744994163513184, -0.016209539026021957, 0.03570551425218582, 0.6144539713859558, 0.5908765196800232, -0.4609443247318268, 0.08997424691915512, -0.3765977919101715, 1.1562931537628174, -0.6005458235740662, 0.7038153409957886, 0.3523668646812439, 0.15837760269641876, -0.366756796836853, -0.6540290117263794, -0.7262451648712158, -0.13963958621025085, -0.11766884475946426, 0.18837708234786987, -0.06459883600473404, 0.021181654185056686, 0.020998895168304443, 0.054231829941272736, -0.5717460513114929, -0.10430033504962921, 0.017156457528471947, -0.27251997590065, 0.06709568202495575, 0.0478881374001503, 0.04283697530627251, -0.14443278312683105, -0.5660943984985352, -0.2881810665130615, -0.6890533566474915, 0.019574467092752457, -0.15236780047416687, 0.3780595660209656, -0.12881021201610565, 0.40363621711730957, -0.3263581693172455, 0.49485278129577637, -0.2664657235145569, -0.28415152430534363, 0.28300580382347107, -0.6751806735992432, -0.17556768655776978, -0.17322202026844025, 0.6471289992332458, 0.7010005116462708, 0.30730530619621277, 0.07508860528469086, 0.03937410190701485, 0.09285260736942291, 0.14444521069526672, -1.1065008640289307, -0.10124769061803818, 0.13531477749347687, -0.6794577836990356, -0.27009353041648865, -0.3592565059661865, -0.8751444816589355, -0.023298269137740135, -0.3498777747154236, 0.5142577290534973, -0.23928746581077576, 0.01907769963145256, 0.010710276663303375, -0.00045661479816772044, 0.3482716679573059, 0.6050621271133423, -0.6269252896308899, -0.06987085938453674, 0.33656102418899536, 0.9820804595947266, -0.1932314783334732, -0.3466968238353729, -0.8135690689086914, 0.2054261416196823, -0.25162473320961, 0.5247540473937988, -0.6678794622421265, -0.3498287796974182, 0.006271681282669306, 0.16242381930351257, 0.04731293022632599, -0.3007051348686218, 0.35234013199806213, -0.5794113874435425, 0.09861578047275543, -0.30954331159591675, -0.1310228556394577, 0.20274636149406433, 0.47409552335739136, -0.8325471878051758, 1.2187516689300537, -0.03808470815420151, -0.8127217292785645, 0.6311688423156738, -0.5685536861419678, -0.4680907726287842, -0.25877276062965393, 0.08959747850894928, -0.5184920430183411, 0.26942428946495056, 0.6662951707839966, 0.4894638955593109, -0.12707598507404327, -0.09590204805135727, -0.600326418876648, -0.3528565466403961, -0.14962708950042725, -0.43652135133743286, 0.2249046266078949, 0.24211636185646057, -0.31725412607192993, 0.30035728216171265, -0.6573898792266846, 0.24495811760425568, 0.18905067443847656, -0.3066416382789612, -0.6040079593658447, 0.29165810346603394, 0.2484235316514969, 0.37818875908851624, 0.4131527841091156, -0.46922391653060913, 0.2947620749473572, -0.09278500080108643, 0.33773231506347656, 0.8061256408691406, -0.2418430596590042, 0.4285055994987488, -0.04985791817307472, 0.37411433458328247, 0.4292881488800049, 0.3995090425014496, -0.8927348852157593, -0.21456412971019745, -0.9489227533340454, -0.6177288293838501, 0.0326409712433815, 0.21255095303058624, -0.9770841598510742, -0.18775299191474915, -0.34228211641311646, -0.10804931819438934, -0.6099623441696167, -0.036014623939991, 0.5897994637489319, 0.3409832715988159, 0.6189447641372681, -0.1419822871685028, -0.47219157218933105, -1.3003579378128052, -0.19610050320625305, 0.1627187877893448, 0.18859131634235382, 0.6529324650764465, 0.3252153992652893, -0.42319202423095703, 0.9043076634407043, -0.6393694877624512, -0.018728554248809814, 0.24316544830799103, 0.04273752495646477, -0.14627137780189514, 0.5047841668128967, 0.458659827709198, -0.8031901121139526, -0.4467802941799164, -0.11403806507587433, -0.48960942029953003, -0.011669379658997059, 0.029634147882461548, -0.32780617475509644, 0.49116629362106323, 0.6584402918815613, -0.6986605525016785, 0.5232929587364197, 0.5916755795478821, -0.21745172142982483, 0.576558530330658, -0.2946541905403137, 0.4281121790409088, -1.0607757568359375, 0.14768515527248383, -0.20598635077476501, -0.2732671797275543, -0.31825074553489685, 0.18830883502960205, 0.49708691239356995, -0.03969072550535202, -0.49988704919815063, 1.0476043224334717, -0.6621886491775513, 0.06115598604083061, 0.06359656155109406, 0.04320989176630974, 0.15119455754756927, 0.6273285150527954, -0.14780497550964355, 0.9606920480728149, 0.41654905676841736, -0.5519075989723206, -0.1668485701084137, 0.10552427917718887, -0.3033013939857483, 0.5543789267539978, -0.22889482975006104, 0.2288200855255127, -0.26426950097084045, 0.2883453965187073, -1.0329481363296509, -0.13796183466911316, -0.044183894991874695, -0.22544459998607635, 0.5479866862297058, -0.1554986834526062, -0.6024287939071655, -0.21429094672203064, -0.5769623517990112, 0.9191692471504211, 0.002346628811210394, -0.8560250401496887, 0.6288091540336609, -0.04438548535108566, 0.05518611520528793, -0.929787278175354, -0.46550655364990234, 0.16001370549201965, 0.060879308730363846, -0.7740765810012817, 0.4677651524543762, -0.23364444077014923, 0.126116544008255, -0.16228948533535004, -0.2548978626728058, -0.09039809554815292, -0.08272941410541534, 0.07829787582159042, 0.11332608759403229, -0.3324824869632721, 0.4145834445953369, 0.3304208517074585, -0.22384333610534668, -0.21367760002613068, -0.2187364548444748, 0.6089420318603516, 0.08942820876836777, -0.3461465835571289, -0.3727589249610901, 0.5103973150253296, 1.0463502407073975, -0.43167009949684143, 0.8309990763664246, 0.6341118812561035, -0.19200646877288818, -0.13629691302776337, -0.6978827118873596, -0.1666136085987091, -0.4922558665275574, 0.34189385175704956, -0.6020188331604004, -1.119462490081787, 0.46120572090148926, -0.08860823512077332, -0.031924281269311905, 0.14739885926246643, 0.557782769203186, -0.09818878024816513, 0.9811363220214844, 0.4005146920681, -0.2064768373966217, 0.6311928033828735, -0.028342846781015396, 0.13565343618392944, -0.6677002906799316, -0.4015358090400696, -0.3049812316894531, -0.41932129859924316, -0.5890170335769653, -0.8639978170394897, 0.38602215051651, -0.05417408421635628, -0.11141256242990494, 0.030745333060622215, -0.2836608588695526, 0.5495530366897583, 0.5830382108688354, 0.4652613699436188, 0.1855836659669876, -0.1202637329697609, -0.353642076253891, -0.28353816270828247, -0.5586390495300293, -0.09274749457836151, 1.0219413042068481, 0.029356490820646286, 0.9888526201248169, -0.06306670606136322, 0.5335742235183716, -0.004801028873771429, 0.20659852027893066, -0.799022912979126, 0.5390257835388184, -0.10537075996398926, -0.4887002110481262, -0.06140618398785591, -0.44311562180519104, -0.8490297198295593, 0.34105184674263, -0.21963493525981903, -0.4431789815425873, 0.0008377343183383346, 0.42392635345458984, 0.07156021893024445, 0.06317218393087387, -0.731582522392273, 1.0095200538635254, -0.06496375054121017, -0.5866764783859253, -0.44373568892478943, -0.7471951246261597, 0.27868226170539856, -0.0911426693201065, 0.05818228796124458, 0.045032430440187454, -0.15608079731464386, 0.30180296301841736, -0.27296340465545654, 0.44511327147483826, -0.2110441029071808, -0.14446993172168732, -0.036912910640239716, 0.16220983862876892, 0.6339942216873169, -0.015236002393066883, 0.26362165808677673, 0.047536831349134445, 0.06104477494955063, -0.5283715128898621, -0.6945649981498718, 0.9281142354011536, -0.4123491644859314, -0.17856232821941376, 0.08882971107959747, -0.56043940782547, -0.07104121148586273, 0.37861156463623047, 0.23780861496925354, 0.7411942481994629, -0.171798437833786, 0.43932098150253296, 0.6710330843925476, -0.3305639624595642, 0.5865017175674438, 0.14408358931541443, -0.30927732586860657, -0.41541290283203125, 0.7035390734672546, -0.30471205711364746, 0.4101295471191406, 0.717330813407898, -0.014106661081314087, -0.37240058183670044, -0.3029056191444397, -0.2823313772678375, 0.1449938714504242, -0.7261388897895813, -0.18172861635684967, -0.6868029236793518, 0.278709352016449, -0.042549535632133484, -0.2545647621154785, -0.6095868945121765, -0.221893310546875, -0.27950629591941833, 0.505963146686554, 0.19978609681129456, 0.0558430440723896, 0.256974995136261, 0.46366962790489197, -0.6950075030326843, 0.3842700719833374, 0.21530799567699432, 0.5764645934104919, 0.057169120758771896, -0.0017684355843812227, -0.36541998386383057, -0.0745241567492485, -0.12671098113059998, -0.4173513352870941, 0.32867199182510376, 0.2482868880033493, 0.24024713039398193, 0.6296161413192749, -0.13547757267951965, 0.994062602519989, -0.593490481376648, 0.5480789542198181, 0.2009548842906952, -0.8604364395141602, 0.4708607792854309, -0.3597566485404968, 0.7008786201477051, 0.550385594367981, 0.14479216933250427, -0.4296916127204895, -0.12682609260082245, 0.0236604455858469, -0.9114714860916138, 0.518142580986023, 0.4090956747531891, 0.04121246188879013, -0.31000447273254395, 0.25325456261634827, -0.14740821719169617, 0.23662631213665009, -0.6308344602584839, -0.32665887475013733, -0.14467868208885193, -0.145675390958786, -0.19430522620677948, -0.4914175868034363, 0.15772157907485962, -0.2995065748691559, 0.3122786581516266, -0.39637118577957153, 0.35204359889030457, 0.3251299262046814, -0.439317524433136, -0.061979301273822784, 0.22665457427501678, 1.1114033460617065, 0.571858286857605, -0.388484388589859, 0.3525703549385071, 0.06930793076753616, -0.4521341919898987, -0.07504911720752716, -0.19370408356189728, 0.2649403214454651, 0.13895639777183533, 0.21871714293956757, 0.694707989692688, 0.8155914545059204, -0.715423583984375, 0.4309944212436676, -0.312795490026474, -0.04651515185832977, 0.019799694418907166, -0.2721130847930908, -0.007685618009418249, 0.4106617867946625, 0.32777610421180725, -0.07541759312152863, -0.05009622126817703, -0.4230223298072815, 0.3046033978462219, 0.7821977734565735, -0.1709565818309784, -0.11965318024158478, 0.5418976545333862, 0.08508855104446411, -0.03900334984064102, 0.5131811499595642, 0.007230234332382679, -0.6160576343536377, 0.3168964385986328, 0.515227198600769, 0.8841062784194946, -0.1720634549856186, -0.3043656051158905, 0.46582889556884766, 0.2453223466873169, 0.07754071056842804, 0.2185014933347702, -0.35333338379859924, -0.6082839965820312, -0.6378337740898132, -0.7187606692314148, -0.19097726047039032, 0.23877497017383575, -0.5593646764755249, 0.3291079103946686, -0.21497312188148499, -0.14054402709007263, -0.07297040522098541, -0.2056812047958374, -0.7147489786148071, 0.19726383686065674, -0.06302758306264877, 0.8772189021110535, -0.19336190819740295, 0.7287184596061707, 0.18797704577445984, 0.09548237174749374, -0.17216375470161438, -0.15233834087848663, 0.06764937937259674, -0.6902348399162292, 0.8385269045829773, 0.6161026954650879, -0.5311126708984375, 0.010716765187680721, -0.7925075888633728, -0.9116557240486145, 0.9654948115348816, 0.27251431345939636, -0.6367127299308777, -0.16127166152000427, -0.31853634119033813, 0.11789003759622574, -0.4731717109680176, 0.14255249500274658, 0.33572474122047424, 0.6386421322822571, 0.19808629155158997, -0.9510656595230103, 0.01635572873055935, -0.2966648042201996, 0.0036053501535207033, 0.8004968762397766, -0.5067272186279297, 0.7383323907852173, -0.29388612508773804, -0.18389251828193665, 0.19499389827251434, 0.45088663697242737, 0.32160088419914246, 0.5001908540725708, 0.5142351388931274, 0.8405668139457703, 0.3411806523799896, 0.12856632471084595, 0.8394726514816284, -0.39842137694358826, 0.44523683190345764, 1.1360915899276733, -0.01314353384077549, 0.926557183265686, 0.8435996174812317, 0.0904400572180748, 0.22679880261421204, 0.5813459157943726, 0.34622442722320557, 0.8616759181022644, -0.08298084139823914, -0.35007530450820923, -0.4897933006286621, 0.16873785853385925, -0.33562424778938293, 0.5905168652534485, 0.209344744682312, -0.4650879502296448, -0.35317423939704895, -0.12166085094213486, -0.003680707421153784, -0.4322430491447449, -0.24189408123493195, 0.4954890310764313, 0.05323893949389458, -0.6971814036369324, 0.5314691662788391, -0.2023678719997406, 0.8136962056159973, -0.45371556282043457, 0.003616555128246546, -0.10677257925271988, 0.30009713768959045, 0.18073591589927673, -0.3053467869758606, -0.030891042202711105, -0.376729816198349, -0.6004410982131958, -0.16617004573345184, 0.7437325716018677, -0.5723477602005005, -0.22026486694812775, 0.4558388590812683, 0.40256643295288086, -0.0777239054441452, -0.3759566843509674, -0.39824241399765015, 0.13614009320735931, -0.14169186353683472, -0.4380037784576416, 0.43623074889183044, 0.2969154417514801, -0.07086459547281265, 0.9113848805427551, 0.9206568002700806, -0.36629146337509155, 0.1926216185092926, 0.004812675528228283, 1.1159509420394897, -0.7160715460777283, -0.43827757239341736, -1.0987765789031982, 0.536711573600769, 0.02771168015897274, -0.33135107159614563, 0.47658538818359375, 0.6048698425292969, 0.6734305024147034, -0.1091972142457962, 0.28698524832725525, 0.36555519700050354, -0.061829131096601486, -0.8396294713020325, 0.7467609643936157, -1.0935876369476318, -0.3453894555568695, -0.4958515763282776, -1.1050121784210205, -0.2137904167175293, 0.5572472810745239, 0.13614197075366974, 0.10328394174575806, 0.7506451606750488, 0.9314327239990234, -0.2873920798301697, -0.3900874853134155, 0.42339658737182617, -0.010288087651133537, 0.25973761081695557, 0.5008198618888855, 0.7247995138168335, -0.2868357002735138, 0.45848408341407776, -0.09194351732730865, -0.00019962378428317606, -0.44174155592918396, -1.1362006664276123, -0.7547048330307007, -0.6901208162307739, 0.0490691140294075, -0.22854653000831604, -0.11426876485347748, 0.8492478132247925, 0.9892278909683228, -0.4653984010219574, 0.26919272541999817, 0.29128360748291016, -0.03817107528448105, 0.22204193472862244, -0.22215862572193146, 0.2844337821006775, -0.4436050355434418, -0.6255031228065491, 0.5753239393234253, 0.7983494997024536, -0.11686012893915176, -0.30672401189804077, -0.19089706242084503, -0.24248912930488586, 0.17929872870445251, 1.1260194778442383, -0.019844042137265205, -0.9733346700668335, -0.3051980435848236, 0.19408884644508362, -0.13313260674476624, 0.23125490546226501, 0.8999869227409363, -0.8265310525894165, 1.0666520595550537, 0.29141902923583984, 0.598717987537384, 0.9665195345878601, -0.21998853981494904, 0.4954086244106293, -0.9131225347518921, 0.4522497057914734, 0.021420495584607124, 0.49710994958877563, 0.08784352988004684, -0.044587764889001846, 0.28604310750961304, -0.022302795201539993, -0.5051380395889282, -0.8731008768081665, 0.2859549820423126, -1.3183238506317139, -0.29669132828712463, 0.8534930348396301, -0.034693747758865356, -0.2011195719242096, 0.15834812819957733, -0.18466566503047943, 0.16752953827381134, -0.4987892508506775, 0.5324125289916992, 0.7379651665687561, 0.3534797728061676, -0.5896695852279663, -0.5577630996704102, 0.6095920205116272, 0.5847617387771606, -0.7766749262809753, 0.054391324520111084, 0.5942837595939636, 0.007821330800652504, 0.08354540169239044, 0.4861534535884857, 0.08220523595809937, 0.3091573417186737, -0.3058343529701233, 0.03157659247517586, -0.07569998502731323, -0.719253659248352, -0.06683846563100815, -0.02092311903834343, -0.2565576434135437, -0.23083922266960144 ]
http://arxiv.org/abs/2406.18135v1
http://arxiv.org/pdf/2406.18135v1
Automatic Speech Recognition for Hindi
2024-06-26T07:39:20
2024-06-26T07:39:20
Anish Saha, A. G. Ramakrishnan
cs.CL
cs.CL, cs.SD, eess.AS
Automatic speech recognition (ASR) is a key area in computational linguistics, focusing on developing technologies that enable computers to convert spoken language into text. This field combines linguistics and machine learning. ASR models, which map speech audio to transcripts through supervised learning, require handling real and unrestricted text. Text-to-speech systems directly work with real text, while ASR systems rely on language models trained on large text corpora. High-quality transcribed data is essential for training predictive models. The research involved two main components: developing a web application and designing a web interface for speech recognition. The web application, created with JavaScript and Node.js, manages large volumes of audio files and their transcriptions, facilitating collaborative human correction of ASR transcripts. It operates in real-time using a client-server architecture. The web interface for speech recognition records 16 kHz mono audio from any device running the web app, performs voice activity detection (VAD), and sends the audio to the recognition engine. VAD detects human speech presence, aiding efficient speech processing and reducing unnecessary processing during non-speech intervals, thus saving computation and network bandwidth in VoIP applications. The final phase of the research tested a neural network for accurately aligning the speech signal to hidden Markov model (HMM) states. This included implementing a novel backpropagation method that utilizes prior statistics of node co-activations.
[ -0.25186702609062195, -0.6020427942276001, -0.1213059201836586, 0.32332882285118103, -0.09624651819467545, 0.38265207409858704, -0.13387715816497803, -0.5493420362472534, 0.0186202023178339, 0.2166682332754135, -0.2613271176815033, -0.24340373277664185, -0.45691990852355957, 0.13283604383468628, -0.893768310546875, 0.4223288595676422, 0.0838187038898468, 0.3986891508102417, 0.23175472021102905, -0.044450122863054276, -0.42716455459594727, -0.42736661434173584, -1.1036670207977295, -0.4730043411254883, 0.18792936205863953, 0.33873119950294495, 0.3217970132827759, 0.6103076934814453, 0.6529986262321472, 0.39683443307876587, -0.039569005370140076, -0.13216662406921387, 0.05015610530972481, 0.1025930866599083, -0.041110023856163025, -0.16700060665607452, -0.2290629893541336, -0.31406331062316895, 0.7910388112068176, 0.5485413670539856, -0.5010573863983154, 0.15829291939735413, 0.016122030094265938, 0.6739841103553772, -0.4565538167953491, 0.18437419831752777, -0.4109836518764496, 0.12717624008655548, -0.441925972700119, -0.1478446125984192, -0.11109676212072372, -0.35360264778137207, -0.010469511151313782, -0.25198638439178467, 0.1661568582057953, 0.03483884036540985, 0.9012529253959656, 0.43352508544921875, -0.22866956889629364, -0.6278477907180786, -1.1617176532745361, 0.4398651719093323, -0.4266812205314636, 0.8233374953269958, 0.5893120765686035, 0.6913590431213379, 0.16795562207698822, -0.3186233639717102, -0.7832476496696472, -0.014627140015363693, 0.20689067244529724, 0.1081499457359314, -0.34830141067504883, -0.10536402463912964, 0.09138200432062149, 0.5337182879447937, -0.6789998412132263, 0.25031009316444397, -0.6110889911651611, -0.29576265811920166, 0.7156863808631897, 0.11870725452899933, 0.5787990689277649, 0.023323634639382362, 0.10090668499469757, -0.30876094102859497, -0.5036535859107971, 0.2871403992176056, 0.29363083839416504, 0.6388532519340515, -0.33881044387817383, 0.5926806330680847, -0.2927391529083252, 0.7645186185836792, 0.19180993735790253, -0.23468230664730072, 0.22193589806556702, -0.29599398374557495, -0.2509672939777374, 0.6474646329879761, 0.8559903502464294, -0.29883986711502075, 0.23808036744594574, 0.18153724074363708, -0.10065498948097229, 0.2471364140510559, 0.31875041127204895, -0.27884674072265625, -0.07228849828243256, 0.08296840637922287, -0.24526382982730865, 0.06506567448377609, -0.15100626647472382, -0.6149505972862244, -0.15307261049747467, -0.5398393869400024, 0.540197491645813, -0.449504554271698, -0.37779566645622253, -0.002084169303998351, -0.09821920096874237, 0.6626532673835754, 0.28919360041618347, -0.8726527690887451, 0.7356602549552917, 0.34505847096443176, 0.8624399900436401, -0.2965119779109955, -0.13518333435058594, -0.4400552809238434, 0.3046133816242218, -0.20201091468334198, 0.7130442261695862, -0.4327353537082672, -0.797775149345398, -0.018492935225367546, -0.25659283995628357, -0.19226908683776855, -0.5513046979904175, 0.5103580951690674, -0.49678248167037964, -0.08023621141910553, 0.2023545354604721, -0.3563857972621918, -0.18169474601745605, -0.06802799552679062, -0.5120515823364258, 0.7286718487739563, -0.31801924109458923, -0.4481147229671478, 0.25274771451950073, -0.9028061628341675, -0.6070088744163513, 0.12531116604804993, -0.14687104523181915, -0.5251034498214722, -0.13249216973781586, 0.05055675283074379, 0.2308894842863083, -0.2879249155521393, -0.07824433594942093, 0.3881102204322815, -0.32905739545822144, 0.28198888897895813, -0.32418954372406006, 0.7819259762763977, 0.48538368940353394, -0.23965713381767273, 0.28130120038986206, -1.0203869342803955, 0.13836203515529633, -0.0833335667848587, -0.5730604529380798, 0.04077523946762085, -0.042700015008449554, 0.37818509340286255, -0.0011848332360386848, -0.08245804160833359, -0.6374357342720032, -0.3703281581401825, -0.6041544079780579, 0.28215762972831726, 0.2867973744869232, -0.30105721950531006, 0.3564840853214264, 0.029415188357234, 0.4292462468147278, -0.061452899128198624, 0.04488620162010193, 0.15139804780483246, -0.43038758635520935, -0.6693645119667053, -0.12799383699893951, 0.49973541498184204, 0.8423624634742737, -0.3950047791004181, 0.3696907162666321, -0.2436961978673935, -0.5698781609535217, -0.6380379796028137, 0.11647066473960876, 0.8241217136383057, 0.3502960503101349, 0.3689537048339844, -0.458759605884552, -0.8189828991889954, -0.6679116487503052, -0.13456441462039948, -0.22425642609596252, 0.1367431879043579, 0.03133242577314377, 0.06238340586423874, -0.46849194169044495, 1.0020251274108887, -0.37221232056617737, -0.6781904101371765, -0.25313130021095276, 0.153957337141037, -0.027084795758128166, 0.7363776564598083, -0.05697331950068474, -1.168142557144165, -0.9359121322631836, 0.21078747510910034, -0.3811495900154114, -0.2613369822502136, 0.48629388213157654, 0.44361990690231323, 0.26561620831489563, 0.4783993065357208, -0.5148816704750061, 0.748476505279541, 0.5739611983299255, -0.025256913155317307, 0.4637143015861511, -0.04363911226391792, 0.2764802575111389, -0.848634660243988, 0.22050192952156067, -0.05368978530168533, -0.20142409205436707, -0.8708885312080383, -0.19848482310771942, -0.1795276403427124, -0.7274609804153442, -0.3197289705276489, 0.45138680934906006, -0.5168858766555786, -0.32992053031921387, -0.5695201754570007, -0.22382871806621552, -0.447255402803421, 0.10832106322050095, 0.1334206610918045, 1.086710810661316, 0.6671611666679382, -0.7491225004196167, 0.49710536003112793, 0.4230092167854309, 0.1162576973438263, 0.3513922393321991, -0.5533810257911682, 0.0986848697066307, 0.23684608936309814, -0.14529269933700562, -0.9510537385940552, -0.38101258873939514, 0.1630314141511917, -1.0160901546478271, 0.6509526968002319, 0.0668715313076973, -0.3097325563430786, -0.5109044313430786, 0.10513479262590408, 0.22721680998802185, 0.5777512788772583, -0.19020307064056396, 0.7755259275436401, 0.9548877477645874, -0.23601101338863373, -0.22488927841186523, -0.6536189913749695, 0.10033555328845978, -0.04022477567195892, -0.2835468053817749, 0.14896045625209808, 0.1491364687681198, -0.23384220898151398, -0.15669184923171997, -0.1949596256017685, -0.6011219620704651, -0.2897547781467438, 0.5949377417564392, -0.1627250462770462, -0.13634942471981049, -0.14840386807918549, -0.07100124657154083, -0.2776644825935364, -0.2043382078409195, 0.036676354706287384, 0.759037971496582, -0.12277164310216904, -0.5540117025375366, -1.1997549533843994, 0.5277909636497498, 0.41367360949516296, -0.22459496557712555, 0.21163909137248993, 0.8142592310905457, -0.6483693718910217, 0.2383069396018982, -0.7300585508346558, 0.29202353954315186, -0.5021838545799255, 0.08349935710430145, -0.4315149486064911, -0.5644621849060059, 0.43048232793807983, 0.04077130928635597, -0.5543615818023682, 0.4035433828830719, 0.563827395439148, -0.026746278628706932, 1.038014531135559, 0.6444212794303894, -0.24908150732517242, 0.5288200974464417, -0.02976672537624836, 0.3305602967739105, -0.690156877040863, -0.23479688167572021, -0.8703085780143738, 0.1849796324968338, -0.4345080256462097, -0.127470001578331, 0.35564032196998596, -0.1581016331911087, -0.03694756329059601, 0.3746525049209595, -0.7883880734443665, 0.203408345580101, 0.5599383115768433, -0.1117180660367012, 0.17144252359867096, 0.17696838080883026, 0.01792793907225132, 0.03666207566857338, -0.28185972571372986, -0.33807629346847534, 0.739377498626709, 0.19968192279338837, 0.8334782719612122, 0.2499735802412033, 0.4367576241493225, 0.40649259090423584, -0.23742546141147614, -0.810891330242157, 0.5920608639717102, -0.30460795760154724, -0.5402503609657288, -0.5150766968727112, -0.17271070182323456, -0.9886330366134644, -0.23209035396575928, -0.029891539365053177, -0.7104924917221069, 0.24857968091964722, 0.4719283878803253, -0.5228044986724854, -0.004367146175354719, -0.9610292315483093, 0.34585970640182495, -0.17935748398303986, -0.27519553899765015, -0.3594314754009247, -0.76378333568573, -0.09438005089759827, -0.029541242867708206, 0.08070893585681915, 0.16684165596961975, 0.23535005748271942, 0.8539429903030396, -0.15307916700839996, 0.7420656085014343, -0.35482001304626465, 0.3315141201019287, 0.32973429560661316, -0.23929806053638458, 0.002103250939399004, -0.2944782078266144, -0.09317595511674881, 0.20609164237976074, 0.09839915484189987, -0.14539538323879242, -0.1936432421207428, 0.491966187953949, -0.8737958073616028, -0.5144145488739014, -0.7132874727249146, -0.21834714710712433, -0.3531160056591034, 0.24764752388000488, 0.1619243174791336, 0.3799643814563751, -0.2221386730670929, 0.13477817177772522, 0.667455792427063, -0.2641393542289734, 0.5072789788246155, 0.5665041208267212, -0.32709789276123047, -0.41129955649375916, 1.0020157098770142, 0.18921977281570435, 0.09262999147176743, 0.5035757422447205, 0.21039848029613495, -0.5968652367591858, -0.8713188171386719, -0.6175010204315186, 0.020974913612008095, -0.5753130316734314, -0.1868923306465149, -0.77655029296875, -0.907534122467041, -0.7203702926635742, -0.003777286736294627, -0.4661599397659302, -0.22022582590579987, -0.3250935673713684, 0.19394560158252716, 0.43173012137413025, 0.690552294254303, -0.22589918971061707, 0.5424292087554932, -0.7685262560844421, 0.4383799135684967, 0.46286362409591675, 0.2649795413017273, 0.04283110424876213, -0.4698277711868286, -0.24088707566261292, 0.05827798694372177, -0.3382949233055115, -0.701570987701416, 0.7241147756576538, 0.6656564474105835, 0.3239651024341583, 0.3459147810935974, -0.4796271324157715, 0.9425631165504456, -0.6971960663795471, 0.6533413529396057, 0.43967366218566895, -1.1308159828186035, 0.8400529026985168, -0.34153416752815247, 0.3144969642162323, 0.4422485828399658, 0.3991146385669708, -0.4204954504966736, 0.020138351246714592, -0.22486934065818787, -0.6718682646751404, 0.576518177986145, 0.20191672444343567, -0.1668185591697693, 0.3587433695793152, 0.3284241259098053, 0.015286656096577644, 0.2176428884267807, -0.3709288537502289, -0.07779443264007568, -0.37493759393692017, -0.4662313759326935, -0.09696174412965775, -0.01976626180112362, 0.20009976625442505, -0.5578015446662903, 0.5694419145584106, 0.09156518429517746, 0.4065358340740204, 0.22814282774925232, -0.040938690304756165, -0.24771562218666077, 0.31495562195777893, 0.6035885214805603, 0.4910503625869751, -0.0017240047454833984, -0.04036582261323929, 0.2617485225200653, -0.9227128624916077, 0.37683117389678955, 0.2437949925661087, 0.0054968586191535, 0.06322871893644333, -0.07603970170021057, 0.643031120300293, -0.20140424370765686, -0.7493687868118286, 0.3631027340888977, -0.2105422168970108, 0.1571141630411148, -0.9453775882720947, 0.3413187265396118, -0.002124345162883401, 0.12342465668916702, 0.6655836701393127, 0.10587187856435776, 0.4714514911174774, -0.7273726463317871, 0.208880215883255, 0.34318453073501587, -0.6670388579368591, -0.35498639941215515, 0.5545526146888733, 0.08737024664878845, -1.0584275722503662, 0.3194858133792877, -0.20871789753437042, -0.6943055987358093, 0.40936505794525146, 0.7118871808052063, 0.8126007914543152, -1.0210087299346924, -0.20761504769325256, 0.38545000553131104, -0.2586650848388672, -0.14954331517219543, 0.47189098596572876, -0.02703285962343216, -0.49393588304519653, -0.1172071173787117, -0.9678955078125, -0.5155155658721924, -0.08574716001749039, -0.647163987159729, 0.4400297999382019, -0.5146668553352356, -0.23265071213245392, 0.14889411628246307, -0.04060952365398407, -0.40910178422927856, 0.6787837743759155, 0.014709550887346268, 0.5116954445838928, -0.742759108543396, 1.0457221269607544, 0.6330317854881287, -0.4214547574520111, -0.9138312339782715, -0.10114677995443344, 0.32966330647468567, -0.7611179351806641, 0.9167497158050537, -0.04531729966402054, -0.6548454761505127, 0.4114146828651428, -0.1919395625591278, -1.0333126783370972, 0.823820173740387, -0.13386239111423492, -0.739136815071106, -0.009750845842063427, 0.16095969080924988, 0.7535087466239929, -0.09870892763137817, -0.21996769309043884, 0.29942435026168823, 0.14737635850906372, 0.28709831833839417, -1.5248665809631348, -0.31471359729766846, -0.4677760899066925, 0.07464599609375, 0.21728162467479706, -0.5166961550712585, 0.570254385471344, 0.13496598601341248, -0.3979862630367279, -0.023510057479143143, 0.4792173206806183, 0.19723616540431976, 0.5251362323760986, 0.44246506690979004, 0.4857169985771179, 0.39640745520591736, -0.0486263707280159, 0.6990575194358826, -0.0588478222489357, -0.1883472502231598, 0.7752952575683594, -0.4644623398780823, 1.2110414505004883, 0.373939573764801, -0.3609718382358551, 0.10602442175149918, 0.4716958701610565, 0.06301221251487732, 0.44749581813812256, 0.3294084966182709, -0.37078535556793213, 0.34838470816612244, -0.3152412474155426, -0.42603036761283875, 0.9793691039085388, 0.6450579166412354, 0.04985072463750839, 0.17988033592700958, 0.36149314045906067, -0.3259871006011963, 0.2586582601070404, -0.4966627359390259, 1.0899378061294556, 0.15340709686279297, -0.4023161828517914, 0.46469002962112427, -0.07752503454685211, 0.6840680241584778, -0.7486638426780701, 0.04235072433948517, 0.5078551769256592, 0.3211684226989746, -0.39666423201560974, -0.45646318793296814, 1.0183194875717163, 0.4026087522506714, -0.23665237426757812, -0.19849731028079987, 0.9279138445854187, -0.2395620048046112, -0.42518681287765503, 0.31786075234413147, 0.38602596521377563, 0.3463115692138672, 0.08251936733722687, -0.5508999824523926, 0.394035667181015, -0.20422744750976562, 0.2772819697856903, 0.36764687299728394, 0.09255541115999222, 0.10134032368659973, 0.8827489614486694, 0.7794327735900879, 0.5084190368652344, 0.15814906358718872, 0.17253369092941284, 0.6483299732208252, -0.7645998597145081, -0.6840237975120544, -0.6405854821205139, 0.1611730307340622, -0.0338042713701725, 0.025427911430597305, 0.7346505522727966, 0.7030925154685974, 0.668696403503418, 0.1011800691485405, 0.5910741686820984, -0.08323923498392105, 1.0305960178375244, -0.43449872732162476, 0.9727122783660889, -0.4397469758987427, 0.028959380462765694, -0.23199234902858734, -0.36072108149528503, -0.5492156744003296, 0.7506188154220581, -0.14712649583816528, -0.07356631010770798, 0.4733032286167145, 0.7120625376701355, -0.03224949538707733, 0.16640688478946686, 0.2817314863204956, -0.09941618144512177, 0.18679945170879364, 0.06371205300092697, 0.7576600313186646, -0.47326162457466125, 0.5497217774391174, 0.008688499219715595, 0.006139654666185379, -0.2791854739189148, -0.2929856479167938, -0.4217083752155304, -0.983312726020813, -0.38152870535850525, -0.2051561027765274, 0.38968193531036377, 0.9466325640678406, 0.8083276152610779, -1.0843912363052368, -0.7846441864967346, -0.15053389966487885, -0.2852189838886261, -0.12794046103954315, -0.22786478698253632, 0.43528181314468384, 0.10298582166433334, -0.6675150990486145, 0.3890939950942993, 0.48124709725379944, 0.24085505306720734, -0.13183580338954926, -0.07650995254516602, -0.6489396691322327, -0.17150676250457764, 0.35698023438453674, 0.7900506258010864, -0.7036843299865723, -0.10931398719549179, -0.1762937307357788, -0.0943748727440834, 0.39996418356895447, 0.5857734680175781, -0.4760926365852356, 0.5048578381538391, 0.4665813446044922, 0.7736368179321289, 0.5018743276596069, 0.1733608990907669, 0.5048622488975525, -0.591731071472168, 0.10447633266448975, 0.4837566018104553, 0.07963406294584274, 0.6950482726097107, -0.3494530916213989, 0.28260332345962524, 0.11298518627882004, -0.5390356183052063, -1.0253733396530151, 0.08863390982151031, -1.0405402183532715, 0.18082545697689056, 0.8838980793952942, 0.1557675153017044, -0.2002604454755783, -0.5905081033706665, -0.4113822877407074, 0.7579349875450134, -0.46763336658477783, 0.6380000114440918, 0.4334491193294525, -0.5594472289085388, -0.3748700022697449, -0.5931269526481628, 0.663091778755188, 0.024732984602451324, -0.604212760925293, -0.22750066220760345, 0.22691208124160767, 0.19123205542564392, 0.5408178567886353, 0.9257433414459229, -0.15502510964870453, 0.27584484219551086, 0.1403007060289383, 0.24235041439533234, 0.14784203469753265, -0.20163612067699432, -0.7368160486221313, 0.24941056966781616, 0.18056845664978027, -0.5009093284606934 ]
http://arxiv.org/abs/2406.18134v1
http://arxiv.org/pdf/2406.18134v1
Assessing "Implicit" Retrieval Robustness of Large Language Models
2024-06-26T07:38:24
2024-06-26T07:38:24
Xiaoyu Shen, Rexhina Blloshmi, Dawei Zhu, Jiahuan Pei, Wei Zhang
cs.CL
cs.CL
Retrieval-augmented generation has gained popularity as a framework to enhance large language models with external knowledge. However, its effectiveness hinges on the retrieval robustness of the model. If the model lacks retrieval robustness, its performance is constrained by the accuracy of the retriever, resulting in significant compromises when the retrieved context is irrelevant. In this paper, we evaluate the "implicit" retrieval robustness of various large language models, instructing them to directly output the final answer without explicitly judging the relevance of the retrieved context. Our findings reveal that fine-tuning on a mix of gold and distracting context significantly enhances the model's robustness to retrieval inaccuracies, while still maintaining its ability to extract correct answers when retrieval is accurate. This suggests that large language models can implicitly handle relevant or irrelevant retrieved context by learning solely from the supervision of the final answer in an end-to-end manner. Introducing an additional process for explicit relevance judgment can be unnecessary and disrupts the end-to-end approach.
[ -0.24090756475925446, -0.902613639831543, 0.7519333958625793, 0.006327885203063488, -0.10831558704376221, -0.27273374795913696, -0.42704010009765625, -0.6570047736167908, -0.4678419530391693, 0.2646494209766388, -0.28333580493927, -0.23615047335624695, -0.697143018245697, 0.1959037184715271, -0.6058364510536194, 0.8773589730262756, 0.2738937735557556, -0.24377590417861938, -0.20510564744472504, -0.12610042095184326, -0.4639469385147095, -0.5458793044090271, -0.6144998669624329, -0.1666133552789688, 0.38889947533607483, 0.095343217253685, 0.7522825598716736, 0.6126871109008789, 0.26616302132606506, 0.3747052848339081, -0.426971435546875, 0.24791355431079865, -0.65274578332901, 0.4260875880718231, -0.5389451384544373, -0.3038754463195801, -0.36873695254325867, -0.27134519815444946, 0.6932831406593323, 0.8169572353363037, 0.13884949684143066, 0.31992802023887634, 0.329240083694458, 0.513293981552124, -1.1561955213546753, 0.19777871668338776, -1.0081526041030884, -0.3884446322917938, 0.0670098066329956, -0.2339717149734497, -0.747381865978241, -0.18379151821136475, 0.4037681818008423, -0.45883455872535706, 0.1822861284017563, -0.04115636646747589, 0.7550738453865051, 0.3383047580718994, -0.5807661414146423, -0.30505993962287903, -1.00397789478302, 0.7011301517486572, -0.48548266291618347, 0.2541225552558899, 0.723847508430481, 0.314134418964386, 0.040423210710287094, -0.8153311610221863, -0.22423559427261353, -0.530272901058197, -0.1494292914867401, 0.05495906248688698, -0.03285728394985199, 0.05269688367843628, 0.49099627137184143, 0.3038310408592224, -0.1820865422487259, -0.1235010102391243, -0.1870461106300354, -0.07186346501111984, 0.46704408526420593, -0.22012680768966675, 0.2630261480808258, -0.04691585153341293, -0.008158180862665176, 0.0503072664141655, -0.7257097363471985, -0.02612481638789177, 0.4620937705039978, 0.6836990714073181, 0.32748937606811523, 0.6572551727294922, -0.3914530277252197, 0.6323966383934021, 0.23955075442790985, 0.21568597853183746, 0.022481556981801987, -0.3397938311100006, -0.05806707218289375, -0.040646325796842575, 0.4033801555633545, -0.01553255133330822, 0.2852708101272583, -0.3720523715019226, -0.44449540972709656, -0.18911203742027283, 0.3638765513896942, -0.8196737170219421, 0.06869027763605118, 0.3779553771018982, -0.09589635580778122, -0.054303254932165146, 0.09719738364219666, -0.45425599813461304, -0.04297185689210892, -0.18716642260551453, 0.6766946911811829, -0.25008395314216614, -0.2616254687309265, -0.1713879257440567, 0.044385962188243866, 0.09168922156095505, 0.3178589940071106, -1.00624680519104, 0.13678307831287384, 0.8056246638298035, 0.6430454850196838, 0.11565949767827988, 0.02622745744884014, -1.103525161743164, 0.3189776837825775, -0.48431745171546936, 0.5989770889282227, -0.7056290507316589, -0.33016371726989746, 0.33452287316322327, 0.06386709213256836, 0.09223603457212448, -0.5000185370445251, 0.7889798283576965, -0.8521220088005066, 0.13571980595588684, -0.5201183557510376, -0.31674933433532715, -0.05066268518567085, 0.29686564207077026, -0.6775267124176025, 0.9681521058082581, 0.056807540357112885, -0.6762863397598267, 0.5602177977561951, -0.22132138907909393, -0.418820858001709, -0.040522415190935135, 0.047841355204582214, -0.2655900716781616, 0.1954684853553772, 0.35521817207336426, 0.31523770093917847, -0.023941846564412117, 0.33483365178108215, -0.5462071299552917, -0.6114537119865417, 0.08714766800403595, -0.5953983664512634, 0.4702424108982086, 0.07341895252466202, -0.36019280552864075, -0.030241260305047035, -0.8028119206428528, 0.046600885689258575, -0.1495557427406311, -0.45124492049217224, -0.6833171844482422, -0.0426124669611454, -0.09000707417726517, 0.2542872726917267, 0.34652864933013916, -0.3827125132083893, -0.050610896199941635, -0.5391438007354736, 0.16781316697597504, 0.9186483025550842, -0.0947721004486084, 0.6165487766265869, -0.19810612499713898, 0.20627495646476746, -0.27558043599128723, 0.06698328256607056, -0.23009835183620453, -0.18773500621318817, -0.5851386189460754, -0.12716974318027496, 0.45602917671203613, 0.38823506236076355, -0.6686061024665833, 0.36945968866348267, -0.4495636820793152, -0.14731799066066742, -0.3143799901008606, 0.36817166209220886, 0.6034449934959412, 0.6240230202674866, 0.3498479127883911, 0.03478986769914627, -0.32448092103004456, -0.8679671883583069, -0.46480563282966614, -0.24147193133831024, 0.02750297449529171, 0.5481175184249878, 0.605617880821228, -0.23925623297691345, 0.7650597095489502, -0.13432487845420837, 0.018351230770349503, 0.07708217948675156, 0.1597667634487152, 0.052188120782375336, 0.6004334092140198, 0.4113151431083679, -0.9830116033554077, -0.4122765362262726, 0.24149616062641144, -0.7424578666687012, -0.15928322076797485, 0.1274394541978836, -0.17132094502449036, 0.24647758901119232, 0.5091418623924255, -0.6351000070571899, 0.24072609841823578, 0.18931405246257782, -0.2673514485359192, 0.4749763607978821, -0.37121033668518066, 0.10733018070459366, -0.7645393013954163, 0.6808809638023376, -0.27960798144340515, -0.22016717493534088, -0.4483499228954315, 0.3587297797203064, 0.16989700496196747, 0.22671516239643097, -0.35404956340789795, 0.7088955044746399, -0.5778300762176514, -0.25122806429862976, -0.2595428228378296, 0.22101233899593353, -0.04400922730565071, 0.17213338613510132, -0.01403774879872799, 0.9639455676078796, 0.27864670753479004, -0.808997631072998, 0.0007775256526656449, 0.22837050259113312, -0.25290408730506897, 0.4321732819080353, -0.7468674182891846, 0.21354703605175018, -0.47608211636543274, -0.026353556662797928, -0.9239557385444641, -0.428461492061615, -0.23203659057617188, -0.43757787346839905, 0.5466539859771729, -0.5261344313621521, -0.5090519189834595, -0.08885861933231354, -0.24966071546077728, 0.41691869497299194, 0.525022029876709, -0.6050102710723877, 0.616303026676178, 0.05055036023259163, -0.3460817039012909, -1.0283821821212769, -0.5035569667816162, -0.10818038880825043, -0.17894777655601501, -0.4626910090446472, 0.05318930000066757, -0.1126113012433052, -0.3099524676799774, 0.0008699338068254292, -0.27326318621635437, 0.004401125945150852, 0.25792133808135986, 0.05271569639444351, 0.19985546171665192, -0.11638787388801575, 0.0872349664568901, 0.12247537821531296, -0.08351073414087296, 0.13232772052288055, -0.06619236618280411, 0.3670288622379303, -0.18593795597553253, -0.5365145206451416, 0.12691374123096466, 0.34484925866127014, 0.6657543182373047, -0.34531575441360474, 0.8850992321968079, 0.5381685495376587, -0.507993757724762, -0.12307974696159363, -0.6311126947402954, -0.12023348361253738, -0.5159525871276855, 0.4393870532512665, -0.375725120306015, -0.910413920879364, 0.717573344707489, -0.014764824882149696, 0.14796067774295807, 0.4772513508796692, 0.41023918986320496, 0.2608124613761902, 1.6671617031097412, 0.5964992642402649, 0.24351072311401367, 0.5507468581199646, -0.06286651641130447, 0.04473232850432396, -1.1020563840866089, -0.32750287652015686, -0.7987224459648132, 0.16588369011878967, -0.5600793361663818, 0.15804749727249146, 0.2643793821334839, 0.33474001288414, -0.4853723645210266, -0.010562810115516186, -0.3648398816585541, 0.4282645881175995, 0.5137743949890137, 0.10508722811937332, 0.5201398730278015, 0.07217296957969666, -0.1069570779800415, 0.01206121314316988, -0.3935820162296295, -0.627812385559082, 0.9846358895301819, 0.11184671521186829, 0.6604191660881042, 0.42148005962371826, 0.17789039015769958, 0.12910860776901245, 0.4267014265060425, -0.4681476950645447, 0.2995589077472687, -0.08933786302804947, -0.6840882897377014, -0.19187214970588684, -0.6122819185256958, -1.1048774719238281, 0.45082712173461914, -0.19837509095668793, -0.9949225783348083, 0.20194216072559357, 0.23798169195652008, -0.44215714931488037, -0.09853021800518036, -0.8596654534339905, 0.6405960321426392, -0.1481066197156906, -0.8969427943229675, 0.13194341957569122, -0.6123055815696716, 0.5182226896286011, -0.29935258626937866, 0.1897139996290207, 0.1060701310634613, -0.10211312770843506, 0.2591552734375, -0.23866169154644012, 0.5808929204940796, 0.011387682519853115, -0.3841997981071472, 0.10354685038328171, 0.3484320044517517, 0.6373898983001709, 0.23926356434822083, -0.3014906048774719, -0.5142921805381775, 0.07244925945997238, -0.4228338301181793, -0.8013338446617126, 0.9211786389350891, -0.5852651000022888, -0.8500295281410217, -0.25807783007621765, -0.47305864095687866, -0.48210808634757996, 0.5003743767738342, 0.24757501482963562, 0.5715240240097046, -0.0009156748419627547, 0.3685191869735718, 0.7399640083312988, -0.27984297275543213, 0.30192703008651733, 0.5842553973197937, -0.22303317487239838, -0.18446852266788483, 0.7753919363021851, 0.2309432029724121, 0.4929948151111603, 0.18796977400779724, 0.06598789244890213, -0.6677758693695068, -0.47982868552207947, -0.47749245166778564, 0.1011146605014801, -0.8390566110610962, -0.025390485301613808, -0.6542379856109619, -0.129425510764122, -0.38495874404907227, -0.008784323930740356, -0.2919081747531891, -0.12256958335638046, -0.27029815316200256, -0.1410517394542694, 0.07409054040908813, 0.6437917351722717, 0.06300468742847443, -0.02942507341504097, -0.8094141483306885, 0.11167426407337189, 0.5701617002487183, 0.3802976906299591, 0.014333009719848633, -0.7121890187263489, -0.036278679966926575, 0.19373542070388794, 0.08173263072967529, -0.560998797416687, 0.18112605810165405, 0.3686329126358032, 0.5927838683128357, 0.3895709216594696, 0.22566913068294525, 0.738304853439331, -0.42563915252685547, 0.809421718120575, -0.41693490743637085, -0.8902550935745239, 0.8321903944015503, -0.466117262840271, 0.4624272882938385, 0.7474882006645203, 0.22401630878448486, 0.0923505425453186, -0.37756362557411194, -0.5627858638763428, -1.228467345237732, 0.5706676244735718, 0.21052590012550354, 0.47028958797454834, -0.21393795311450958, 0.5866547226905823, -0.05739041045308113, 0.3086688220500946, -0.7369810342788696, 0.0032103981357067823, 0.1623867154121399, -0.012054191902279854, 0.07129603624343872, -0.48707014322280884, -0.06631199270486832, -0.06722299009561539, 0.8465131521224976, -0.30750516057014465, 0.01941533572971821, 0.1684613674879074, -0.3454573452472687, -0.3239469826221466, 0.3317594826221466, 0.4353449046611786, 0.7933228015899658, -0.4473528265953064, 0.28032323718070984, 0.25599926710128784, -0.3857351541519165, -0.037966158241033554, 0.1346241533756256, -0.5601204633712769, -0.1514083296060562, 0.4837820529937744, 0.5621939301490784, 0.2858700454235077, -0.8532306551933289, 0.657325804233551, -0.14949093759059906, 0.16845862567424774, -0.23869392275810242, 0.104856938123703, -0.302542507648468, 0.17063650488853455, 0.6298407912254333, 0.09292728453874588, 0.30228275060653687, -0.6618809103965759, 0.22161072492599487, 0.7807613611221313, -0.37155881524086, -0.2383619248867035, 0.8878858089447021, -0.09232574701309204, 0.07659319788217545, 0.6527090072631836, 0.028093667700886726, -0.4348694086074829, 0.40028253197669983, 0.7279803156852722, 0.6984211206436157, -0.1758800446987152, -0.16317389905452728, 0.4805859625339508, 0.43023279309272766, -0.31135353446006775, 0.12161316722631454, -0.22692176699638367, -0.46167513728141785, -0.8656287789344788, -0.5626677870750427, -0.1566116213798523, 0.23780854046344757, -0.9687615036964417, 0.013268419541418552, -0.25926995277404785, -0.26184287667274475, -0.344156950712204, -0.10486619919538498, -0.4152318239212036, 0.2888590395450592, -0.028806960210204124, 0.9066000580787659, -0.6608586311340332, 0.4620169997215271, 0.6836327910423279, -0.5434687733650208, -0.6068835258483887, 0.14859457314014435, -0.4213590621948242, -0.5384387969970703, 0.6253728866577148, 0.22797532379627228, -0.34639284014701843, -0.030745934695005417, -0.683322548866272, -1.1000088453292847, 0.8625050187110901, 0.8692377805709839, -0.16205382347106934, 0.02442464418709278, -0.27053219079971313, 0.745038628578186, 0.17933155596256256, 0.520598828792572, 0.4713512361049652, 0.32080399990081787, 0.3103107213973999, -0.9549121856689453, 0.18531356751918793, -0.48974424600601196, 0.19002309441566467, -0.00033939321292564273, -0.4814361035823822, 0.7085369229316711, -0.1346292346715927, -0.47973373532295227, 0.3132164180278778, 0.7274684309959412, 0.24837049841880798, 0.0011619329452514648, 0.4046090245246887, 0.31493592262268066, 0.7470128536224365, -0.13680113852024078, 1.283024787902832, -0.2711361050605774, 0.4369143843650818, 1.10289466381073, -0.2813393771648407, 1.1508795022964478, 0.3225909471511841, 0.16169776022434235, 0.21877864003181458, 0.31323716044425964, 0.41992029547691345, 0.6914697289466858, -0.20465683937072754, -0.39305734634399414, -0.4337758421897888, -0.2530921697616577, -0.515916645526886, 0.20108675956726074, 0.46271881461143494, -0.41656315326690674, -0.24259315431118011, -0.19547633826732635, -0.016439002007246017, 0.1881849467754364, -0.43094316124916077, 0.8163155913352966, 0.008005492389202118, -1.0579547882080078, 0.6848496198654175, -0.2123105823993683, 0.4695678949356079, -0.5174944996833801, -0.20233795046806335, -0.17672845721244812, 0.3241867423057556, -0.2935134172439575, -0.7021576166152954, 0.28576335310935974, 0.11494982987642288, -0.17868341505527496, 0.08407598733901978, 0.804393470287323, -0.4529929757118225, -0.36270198225975037, 0.36100709438323975, 0.5681082606315613, -0.23069454729557037, -0.1435103565454483, -0.39755624532699585, 0.028790727257728577, -0.30006492137908936, -0.3206944465637207, 0.46478545665740967, 0.5406065583229065, -0.0007277451222762465, 0.9088093042373657, 0.8383896946907043, 0.02344515547156334, 0.08037542551755905, 0.025798162445425987, 0.7005995512008667, -0.16118508577346802, -0.3398440182209015, -0.948097288608551, 0.4795406460762024, -0.143262580037117, -0.13277576863765717, 0.945185124874115, 0.37182292342185974, 0.8050941228866577, 0.15410183370113373, 0.7161251306533813, 0.08676940202713013, 0.4431951642036438, -0.5377728939056396, 0.5860827565193176, -0.6468912363052368, 0.5572891235351562, -0.4598729908466339, -1.040255069732666, -0.27116858959198, 0.6265780925750732, -0.46649351716041565, 0.5966565012931824, 0.32570382952690125, 0.7139298319816589, -0.2936331629753113, -0.1707758903503418, 0.3772166073322296, 0.3700089156627655, 0.10242507606744766, 0.30081048607826233, 0.9123578667640686, -0.37352150678634644, 0.6705306768417358, -0.09440408647060394, -0.1704706847667694, -0.15115202963352203, -0.9287360906600952, -0.8320348262786865, -0.5700016617774963, -0.09403686970472336, -0.6417352557182312, 0.2218397855758667, 0.7474607825279236, 0.670741081237793, -0.8054788708686829, 0.340891033411026, -0.021242590621113777, -0.006939874961972237, -0.153832346200943, -0.20881974697113037, 0.47834283113479614, -0.48787587881088257, -0.9312347769737244, 0.33000943064689636, 0.04384555295109749, -0.08881458640098572, -0.23610396683216095, 0.10880716145038605, -0.20440515875816345, -0.05829073488712311, 0.8222277760505676, 0.4111381769180298, -0.6489871144294739, -0.6295405626296997, 0.013018442317843437, -0.18931376934051514, -0.2936663031578064, 0.4117088317871094, -0.7847474813461304, 0.4936550259590149, 0.3879396319389343, 0.8733727931976318, 0.4367729723453522, 0.40947839617729187, 0.7530323266983032, -1.0635690689086914, -0.020058760419487953, 0.05914568156003952, 0.4273442029953003, 0.4281194508075714, -0.6322529911994934, 0.46873876452445984, -0.11431252956390381, -0.628812849521637, -1.0123493671417236, 0.1255875527858734, -0.6531564593315125, -0.27565211057662964, 1.4234766960144043, -0.17925551533699036, -0.2845272421836853, -0.26730331778526306, -0.29148605465888977, 0.2353895753622055, -0.32285070419311523, 0.8170733451843262, 0.6557613611221313, 0.27617180347442627, -0.13867083191871643, -0.8137364983558655, 0.4248144030570984, 0.6329571604728699, -0.5526247024536133, 0.1464499533176422, 0.5762738585472107, 0.3164598047733307, 0.25279995799064636, 0.38436686992645264, -0.1409924179315567, 0.34603118896484375, -0.17751997709274292, -0.5173927545547485, -0.027865568175911903, -0.3048366606235504, -0.36964693665504456, 0.32178884744644165, 0.42174020409584045, 0.2403288632631302 ]
http://arxiv.org/abs/2406.18133v1
http://arxiv.org/pdf/2406.18133v1
ConvoCache: Smart Re-Use of Chatbot Responses
2024-06-26T07:35:10
2024-06-26T07:35:10
Conor Atkins, Ian Wood, Mohamed Ali Kaafar, Hassan Asghar, Nardine Basta, Michal Kepkowski
cs.CL
cs.CL
We present ConvoCache, a conversational caching system that solves the problem of slow and expensive generative AI models in spoken chatbots. ConvoCache finds a semantically similar prompt in the past and reuses the response. In this paper we evaluate ConvoCache on the DailyDialog dataset. We find that ConvoCache can apply a UniEval coherence threshold of 90% and respond to 89% of prompts using the cache with an average latency of 214ms, replacing LLM and voice synthesis that can take over 1s. To further reduce latency we test prefetching and find limited usefulness. Prefetching with 80% of a request leads to a 63% hit rate, and a drop in overall coherence. ConvoCache can be used with any chatbot to reduce costs by reducing usage of generative AI by up to 89%.
[ -0.4252128303050995, -1.027172565460205, 0.21751336753368378, 0.09783301502466202, -0.25952035188674927, 0.16896501183509827, 0.0045126681216061115, -0.7885259985923767, 0.6314799189567566, 0.6295256018638611, -0.8836208581924438, -0.14167235791683197, -0.10145161300897598, -0.12174856662750244, -0.8093308806419373, 0.7183897495269775, 0.513783872127533, -0.09228157252073288, -0.41488003730773926, 0.263363242149353, -0.765450656414032, -0.3739348351955414, -1.249638319015503, -0.48953357338905334, 0.49852755665779114, 0.7509005665779114, 0.9744546413421631, -0.2728695571422577, 0.2893218696117401, 0.3685043752193451, 0.15250444412231445, 0.0605839379131794, -0.751132071018219, 0.6705955266952515, 0.15832778811454773, -0.6066120862960815, -0.3104715049266815, 0.0013354395050555468, 0.038981515914201736, 0.5025923252105713, -0.36276233196258545, -0.10205528140068054, 0.09470932930707932, 0.4715937674045563, -0.8380488157272339, 0.11022860556840897, -0.9003092646598816, 0.15718023478984833, 0.0033036626409739256, -0.29202190041542053, -0.5601998567581177, -0.43956443667411804, 0.473488450050354, -0.8433389067649841, 0.6037744879722595, -0.15417969226837158, 0.47993457317352295, 0.5706484913825989, 0.3081319034099579, -0.37982261180877686, -0.6649580001831055, 0.7011124491691589, -0.6515294313430786, 0.16140589118003845, 0.5762646198272705, 0.5723613500595093, -0.497855007648468, -0.9252244234085083, -0.8943110704421997, -0.4341190457344055, 0.10513186454772949, 0.3984878957271576, -0.3328840732574463, -0.04140634462237358, 0.09587123245000839, 0.42736753821372986, -0.4504861831665039, 0.12078005075454712, 0.10746771842241287, -0.742652416229248, 0.4257790148258209, 0.490631103515625, 0.4120155870914459, 0.31510764360427856, -0.1844746619462967, -0.29421356320381165, -0.5951191186904907, 0.3204476833343506, 0.3697647750377655, 0.24451428651809692, 0.0473971888422966, 0.3198793828487396, -0.4308733344078064, 0.5573543310165405, 0.13368259370326996, 0.11488952487707138, 0.14669926464557648, -0.4872925877571106, -0.35860806703567505, 0.27270883321762085, 0.7068721055984497, 0.31154710054397583, 0.362017422914505, -0.09742481261491776, 0.2327231615781784, 0.09066197276115417, 0.5366020798683167, -1.1901609897613525, -0.4560698866844177, 0.4348849654197693, -0.23327867686748505, -0.22052735090255737, -0.4113509953022003, -0.693522036075592, -0.4276166558265686, 0.1435210257768631, 0.11219472438097, -0.35589274764060974, -0.024356607347726822, 0.21862338483333588, -0.21814888715744019, 0.16815568506717682, 0.7540996670722961, -0.7550129294395447, 0.35141244530677795, 0.49866917729377747, 0.8827452063560486, 0.002152325352653861, 0.038395628333091736, -0.6081663966178894, -0.3158787786960602, -0.21920529007911682, 1.171049952507019, -0.7030221223831177, -0.8369645476341248, -0.007601222023367882, 0.19444595277309418, 0.2227673977613449, -0.6030256748199463, 0.35488161444664, -0.6046687364578247, 0.35383927822113037, -0.20916563272476196, -0.4982425570487976, -0.18986858427524567, 0.19944410026073456, -0.8669576048851013, 0.6299596428871155, -0.17001326382160187, -0.4442448616027832, 0.2876686751842499, -0.5336939096450806, -0.5423458218574524, 0.3465414345264435, 0.18454742431640625, -0.4242686629295349, -0.27664780616760254, 0.1829601377248764, 0.2566850185394287, -0.3805942237377167, 0.10532695800065994, -0.4229603707790375, -0.7057147026062012, 0.13962218165397644, -0.7266069650650024, 0.9229462146759033, 0.3804823160171509, -0.31838494539260864, -0.043648991733789444, -0.6825307011604309, 0.1983671337366104, 0.05189473554491997, -0.1234062984585762, -0.12204089015722275, 0.2513497471809387, -0.07775042951107025, -0.14925353229045868, 0.2837580740451813, -0.6636793613433838, -0.0055647725239396095, -0.6860290169715881, 0.4674750566482544, 0.5710806846618652, 0.05693956837058067, 0.24487663805484772, -0.2830069959163666, 0.39445531368255615, -0.05866056680679321, 0.19819165766239166, -0.3964264988899231, -0.5418150424957275, -1.0133252143859863, -0.3164134621620178, -0.06194327399134636, 0.5361188054084778, -0.7709158658981323, 0.4766908586025238, 0.10692582279443741, -0.8302673697471619, -0.618484616279602, -0.13479110598564148, 0.3369280993938446, 0.5842734575271606, 0.3977210223674774, -0.7083868384361267, -0.13184092938899994, -0.8621828556060791, 0.08464423567056656, -0.1711244285106659, -0.10615674406290054, 0.25527599453926086, 0.04058649763464928, -0.2221103310585022, 0.8784568905830383, -0.258897066116333, 0.07772428542375565, 0.10629170387983322, 0.08844270557165146, 0.07093975692987442, 0.5269786715507507, 0.3584788143634796, -0.5596516132354736, -0.4391106963157654, -0.49989962577819824, -0.41936513781547546, -0.208335280418396, -0.24365143477916718, -0.06934479624032974, 0.2654540240764618, 0.6218317747116089, -0.7837495803833008, 0.6366934776306152, 0.6468244194984436, -0.08622409403324127, 0.40986916422843933, -0.18551163375377655, 0.20720553398132324, -1.0121169090270996, 0.11013277620077133, -0.7042919397354126, -0.37237048149108887, -0.3827556371688843, -0.14848533272743225, -0.40895766019821167, -0.5029377937316895, -0.6971928477287292, 0.5962971448898315, -0.24411243200302124, 0.09622200578451157, -0.5871691703796387, 0.18088845908641815, -0.13107147812843323, 0.5121960639953613, -0.37831851840019226, 0.9230542778968811, 0.46747636795043945, -0.847832441329956, 0.7344372868537903, 0.1958065927028656, -0.19372035562992096, 0.4903015196323395, -1.0502489805221558, 0.5414590239524841, 0.21658945083618164, 0.841605007648468, -1.354788064956665, 0.002912017982453108, 0.4900910258293152, -0.44612929224967957, -0.11031579971313477, 0.04570639505982399, -0.5690308213233948, -0.21620285511016846, -0.28962549567222595, 0.3511805534362793, 0.3088017404079437, -0.48947542905807495, 0.5122868418693542, 0.46319907903671265, -0.07565934956073761, -0.42310643196105957, -0.4105822443962097, 0.29973021149635315, 0.2679082453250885, -0.6432790160179138, 0.3758177161216736, -0.39026719331741333, 0.024058615788817406, -0.11055279523134232, -0.05164647102355957, 0.20640750229358673, 0.3757016360759735, 0.4857678711414337, -0.0766918733716011, 0.19561587274074554, 0.1533401906490326, -0.1468771994113922, -0.39582663774490356, -0.16147483885288239, -0.0915055200457573, 1.2849793434143066, 0.09334665536880493, -0.3386480212211609, -0.9609097838401794, 0.5484780073165894, 0.5796922445297241, 0.05645642802119255, 0.5906083583831787, 0.4100203216075897, -0.36059635877609253, 0.1953064203262329, -0.532976508140564, -0.5401605367660522, -0.5334020853042603, 0.07107123732566833, -0.3089660704135895, -0.8567461371421814, 0.9066519141197205, 0.26931044459342957, 0.3658505082130432, 0.46262940764427185, 0.8791431784629822, -0.29728570580482483, 0.7945329546928406, 0.44401875138282776, -0.26300978660583496, 0.8777978420257568, -0.27226129174232483, 0.3666878342628479, -0.049057792872190475, -0.27125871181488037, -0.7825214862823486, -0.41951531171798706, -0.8660038709640503, -0.12905167043209076, 0.02335214801132679, -0.4284660220146179, -0.1992190033197403, 0.4095730483531952, -0.37644729018211365, 0.24608556926250458, 0.6689265370368958, 0.3443695902824402, 0.1524227410554886, -0.1559821218252182, 0.3030003011226654, 0.287212610244751, -0.54032963514328, -0.21854667365550995, 0.6469364762306213, -0.16176722943782806, 0.9873642325401306, -0.13143771886825562, 0.4369156062602997, 0.48113828897476196, -0.11617967486381531, -0.9461339712142944, 0.845853865146637, -0.003006362123414874, -0.4688606858253479, -0.4631582796573639, -0.17292892932891846, -1.4941859245300293, -0.06415790319442749, -0.14444904029369354, -0.5243666172027588, -0.02217124216258526, 0.3733404278755188, -0.5263757109642029, -0.03289158642292023, -0.890819251537323, 0.5639920234680176, 0.2648071348667145, -0.16344231367111206, -0.8949738144874573, -0.5891797542572021, -0.16734786331653595, 0.18451504409313202, -0.37704434990882874, -0.22320610284805298, 0.3983090817928314, 0.5894575715065002, -0.8478657603263855, 1.2353894710540771, -0.30988478660583496, -0.11245773732662201, 0.6934190392494202, 0.3074685037136078, 0.7163364291191101, 0.13484632968902588, 0.14842809736728668, 0.09710435569286346, 0.03515540063381195, -0.6718679070472717, -0.762411892414093, 0.807548463344574, -0.6474761962890625, -0.887690544128418, -0.19582481682300568, -0.3608810603618622, -0.1544429212808609, 0.13280880451202393, 0.174320250749588, 0.46121975779533386, -0.4853273332118988, 0.33893775939941406, 0.4444763660430908, -0.3103368580341339, 0.5108372569084167, 0.5649781227111816, 0.2572050094604492, 0.07903779298067093, 0.586664080619812, -0.08837854117155075, 0.320073664188385, 0.26627588272094727, 0.13258856534957886, 0.052469901740550995, -0.12401972711086273, -0.09432552754878998, -0.345786988735199, -0.38446828722953796, -0.3796933591365814, -1.002180576324463, -0.2752183675765991, -0.3398015797138214, -0.18513061106204987, -0.6592830419540405, -0.3883102834224701, -0.362772673368454, 0.19285261631011963, 0.48999983072280884, -0.09166830778121948, 0.19220894575119019, 0.5208320021629333, -0.6202853918075562, 0.20025424659252167, 0.6375771760940552, 0.06115405261516571, 0.04011533781886101, -0.2825467884540558, -0.12716516852378845, 0.39902856945991516, -0.45768752694129944, -0.6008763313293457, 0.21509630978107452, 0.1979803740978241, 0.5757710933685303, 0.1792256385087967, 0.1484227180480957, 0.8631374835968018, -0.3267306387424469, 0.9952206611633301, 0.20384658873081207, -0.7917408347129822, 0.5663928985595703, 0.110616534948349, 0.6548060774803162, 0.6900730133056641, -0.003324879566207528, -0.7698836922645569, -0.885837733745575, -0.7848672866821289, -1.0525755882263184, 0.11552346497774124, 0.17197783291339874, 0.708610475063324, -0.07702423632144928, 0.30132928490638733, 0.29485729336738586, -0.005482766777276993, 0.06950236856937408, 0.039119310677051544, -0.2791953384876251, -0.029215119779109955, -0.16626030206680298, -0.20891860127449036, 0.11133985221385956, 0.07474128156900406, 0.4595039486885071, -0.14057384431362152, 0.5253318548202515, 0.170818492770195, -0.11340078711509705, -0.0006856457912363112, 0.052857547998428345, 0.38597172498703003, 0.22392256557941437, -0.09201625734567642, 0.06782623380422592, 0.1677602082490921, -0.6530892848968506, -0.08857458084821701, -0.06686442345380783, -0.030306244269013405, -0.07825510203838348, 0.2651832699775696, 0.3206922709941864, 0.24313172698020935, -0.6944804191589355, 0.22209829092025757, -0.5232663750648499, 0.26841700077056885, -0.47521957755088806, 0.6270256042480469, 0.003136089537292719, 0.2678625285625458, 0.1267516165971756, 0.14123371243476868, 0.3107761740684509, -0.8997344374656677, 0.22871087491512299, 0.5547683238983154, -0.34683674573898315, -0.2407991588115692, 0.34162595868110657, 0.5311888456344604, -0.5616317391395569, 0.950168788433075, 0.08448821306228638, -0.32015541195869446, 0.5652072429656982, 0.4314510226249695, 1.0783175230026245, -0.1661081314086914, 0.2001548558473587, 0.33869168162345886, -0.23509691655635834, 0.23259462416172028, 0.15691716969013214, -0.34750160574913025, -0.9441575407981873, -0.3144837021827698, -0.11194734275341034, -0.8777600526809692, 0.011210320517420769, -0.35946518182754517, 0.06754416227340698, -0.4314397871494293, -0.2717573642730713, 0.20215871930122375, 0.2778196930885315, -0.9654444456100464, 0.07227106392383575, -0.2658304274082184, 0.8218196034431458, -0.4728073179721832, 0.6641393899917603, 0.06796342879533768, -0.35141521692276, -0.35006529092788696, 0.10575760900974274, -0.0623447485268116, -1.0973862409591675, 0.16705702245235443, 0.14689257740974426, -0.7034220099449158, -0.06662680953741074, -1.1870803833007812, -0.5850632786750793, 0.9594642519950867, 0.47362378239631653, -0.5351686477661133, 0.25902703404426575, -0.40237024426460266, 0.8390366435050964, -0.2092902660369873, 0.45095545053482056, 0.5223258137702942, 0.12406380474567413, 0.36280468106269836, -0.7929235696792603, 0.06911416351795197, -0.4028419852256775, -0.21434195339679718, -0.19651752710342407, -0.9481600522994995, 0.5530979633331299, -0.14838485419750214, -0.6052019596099854, 0.22628240287303925, 0.5610949993133545, 0.09237147867679596, 0.347320556640625, 0.6451684832572937, 0.562856912612915, 0.8433324694633484, 0.09359420835971832, 0.9243156909942627, -0.15500764548778534, 0.12717127799987793, 1.1215718984603882, -0.11904938519001007, 0.7187608480453491, 0.4803618788719177, 0.0961238443851471, 0.6079634428024292, 0.7096582651138306, 0.27265191078186035, 0.786386251449585, 0.3627411723136902, -0.41814762353897095, -0.3103427290916443, -0.3628235161304474, -0.3535017967224121, 0.44509822130203247, 0.2624005973339081, 0.28013235330581665, -0.2861675024032593, 0.0106011051684618, 0.394917368888855, -0.2749600112438202, 0.098722442984581, 0.9107046127319336, -0.012625444680452347, -0.9067974090576172, 0.6839683651924133, -0.5644877552986145, 0.5046594142913818, -0.3984423279762268, -0.11792296171188354, -0.5687817335128784, 0.3025301396846771, 0.005326371174305677, -0.6973389983177185, 0.2372245490550995, -0.08729622513055801, -0.2231082022190094, -0.2087438404560089, 0.8095739483833313, -0.3307403028011322, -0.10367941856384277, 0.23942480981349945, 0.337471067905426, 0.30994269251823425, -0.21091125905513763, -0.7373203039169312, -0.13159306347370148, -0.06698856502771378, -0.12861354649066925, 0.1046854630112648, 0.19704864919185638, 0.04616213217377663, 0.9502550363540649, 0.9878461956977844, -0.21067029237747192, -0.276095449924469, 0.43112701177597046, 1.0508965253829956, -0.53267502784729, -0.6221606731414795, -0.714798092842102, 0.2200675755739212, -0.09884023666381836, -0.15323254466056824, 0.5068258047103882, 0.3292877972126007, 0.7875796556472778, 0.25263240933418274, 0.6247289776802063, -0.06594323366880417, 0.3283839225769043, -0.5753911137580872, 0.712413489818573, -0.44530797004699707, 0.028740180656313896, -0.18910357356071472, -0.5909347534179688, -0.10473936796188354, 0.5456026196479797, 0.08896182477474213, -0.07128938287496567, 0.5083615779876709, 1.0439833402633667, 0.30594831705093384, 0.3573559522628784, 0.35528871417045593, 0.047997742891311646, 0.9432559013366699, 0.6294763088226318, 0.807715654373169, -0.3293173313140869, 0.5891039371490479, 0.07518094778060913, -0.1661643385887146, -0.6032651662826538, -0.6346928477287292, -0.7705644965171814, -0.5302848815917969, -0.15187928080558777, -0.40406471490859985, 0.17880868911743164, 0.6884958148002625, 0.617569088935852, -0.9227365851402283, 0.06757893413305283, -0.07770364731550217, -0.02184205874800682, -0.23261573910713196, -0.2514495253562927, 0.11039016395807266, -0.7557681202888489, -0.7573862075805664, 0.34106606245040894, 0.24308188259601593, 0.17146801948547363, -0.42586591839790344, 0.2524847090244293, 0.09689773619174957, 0.18404312431812286, 0.4869455397129059, 0.32605868577957153, -0.4150446951389313, -0.6737695336341858, 0.12347985059022903, -0.3707340955734253, -0.036015428602695465, 0.9209964871406555, -0.8665080070495605, 0.9113101959228516, 0.6931678652763367, 0.6576064825057983, 0.8457058072090149, -0.2153305560350418, 0.5387140512466431, -0.4978853762149811, 0.6747047901153564, 0.4072222113609314, 0.24828608334064484, 0.23009340465068817, -0.3282370865345001, 0.21119330823421478, 0.3322034180164337, -0.5523374080657959, -0.3639509379863739, 0.18082760274410248, -1.1359167098999023, -0.1438634842634201, 0.73616623878479, -0.0790439024567604, -0.03189217671751976, -0.3381600081920624, -0.3997625708580017, 0.38805049657821655, -0.7700521349906921, 1.0450108051300049, 0.6628929376602173, -0.09697813540697098, -0.045264869928359985, -0.33518317341804504, 0.4165319502353668, 0.5563288331031799, -0.9030184745788574, -0.04217983037233353, 0.5701835751533508, 0.13314472138881683, 0.342536598443985, 1.0987216234207153, -0.019176054745912552, 0.4011309742927551, 0.21365182101726532, 0.04128222167491913, 0.2682696580886841, -0.40989577770233154, 0.23097756505012512, 0.0019422003533691168, -0.47013434767723083, -0.5806066393852234 ]
http://arxiv.org/abs/2406.18125v1
http://arxiv.org/pdf/2406.18125v1
ResumeAtlas: Revisiting Resume Classification with Large-Scale Datasets and Large Language Models
2024-06-26T07:25:18
2024-06-26T07:25:18
Ahmed Heakl, Youssef Mohamed, Noran Mohamed, Ali Sharkaway, Ahmed Zaky
cs.CL
cs.CL, cs.AI, cs.CY, cs.LG
The increasing reliance on online recruitment platforms coupled with the adoption of AI technologies has highlighted the critical need for efficient resume classification methods. However, challenges such as small datasets, lack of standardized resume templates, and privacy concerns hinder the accuracy and effectiveness of existing classification models. In this work, we address these challenges by presenting a comprehensive approach to resume classification. We curated a large-scale dataset of 13,389 resumes from diverse sources and employed Large Language Models (LLMs) such as BERT and Gemma1.1 2B for classification. Our results demonstrate significant improvements over traditional machine learning approaches, with our best model achieving a top-1 accuracy of 92\% and a top-5 accuracy of 97.5\%. These findings underscore the importance of dataset quality and advanced model architectures in enhancing the accuracy and robustness of resume classification systems, thus advancing the field of online recruitment practices.
[ 0.09982121735811234, -0.2664143443107605, 0.3636622726917267, 0.2777653634548187, 0.43945327401161194, 0.24628275632858276, -0.38846904039382935, -0.4866957366466522, 0.11520539969205856, 0.5940583944320679, -0.2516109347343445, -0.7205488681793213, -0.6494936347007751, -0.05803907290101051, -0.5286314487457275, 1.0359106063842773, 0.0979122593998909, 0.04508305341005325, -0.3816361129283905, -0.32909950613975525, -0.6271972060203552, -0.3328794240951538, -0.6290613412857056, -0.09418566524982452, 0.6415489315986633, 0.4656497538089752, 0.12757474184036255, 0.5271371603012085, 0.3112797439098358, 0.2702127695083618, -0.007040516007691622, 0.40542498230934143, -0.5212011933326721, 0.3402773141860962, 0.0396064892411232, -0.6299132108688354, -0.321643203496933, 0.13274745643138885, 0.5833045840263367, 0.7730005383491516, -0.5721389055252075, 0.5246195793151855, 0.025513499975204468, 0.5201053023338318, -0.48838141560554504, 0.3882248103618622, -0.5382239818572998, -0.059283893555402756, -0.26176539063453674, 0.06664898991584778, -0.751492440700531, -0.4923174977302551, 0.013944150879979134, -0.3622376620769501, 0.3367767632007599, 0.04095188528299332, 0.5198754072189331, -0.16491250693798065, -0.4405703842639923, -0.30032435059547424, -0.6314438581466675, 0.8957018256187439, -0.3600001335144043, 0.5958625078201294, 0.3452470898628235, 0.9290038347244263, -0.032148219645023346, -0.7845903038978577, -0.2525184750556946, 0.035502851009368896, 0.35143429040908813, 0.011023168452084064, 0.08345704525709152, 0.06681361049413681, 0.16869041323661804, 0.5625836253166199, -0.7458025217056274, 0.8454902768135071, -0.6029931902885437, -0.18742011487483978, 0.5761858820915222, 0.10414008796215057, 0.09004389494657516, 0.36163416504859924, -0.14546772837638855, -0.3769960105419159, -0.6148183345794678, 0.007596204988658428, 0.4241575598716736, 0.572644829750061, 0.0755973607301712, 0.4017200469970703, -0.30374687910079956, 0.923046886920929, -0.1021275743842125, -0.3012310862541199, 0.31790387630462646, 0.03654944896697998, -0.17011725902557373, -0.012149604968726635, 0.45361101627349854, 0.5325512886047363, -0.06435740739107132, -0.17931444942951202, -0.3467126786708832, -0.04282766580581665, 0.6354238390922546, -0.6974390149116516, -0.16103093326091766, 0.3803142309188843, -0.6721124649047852, -0.316546767950058, 0.3601278066635132, -0.6775162816047668, -0.6728528738021851, -0.23506420850753784, 0.07570946961641312, -0.0269929226487875, 0.2623042166233063, 0.04809121415019035, 0.005541376769542694, 0.271259605884552, 0.9499650001525879, -0.5415007472038269, 0.04850269481539726, 0.8514464497566223, 0.903956413269043, -0.3114185035228729, 0.0931033343076706, -0.6568009257316589, -0.08736322820186615, -0.23081083595752716, 0.581471860408783, -0.6464798450469971, 0.10504862666130066, 0.5841816663742065, 0.216817706823349, 0.0007607754087075591, -0.566243052482605, 0.601432204246521, -0.9300422668457031, 0.4594480097293854, -0.001930702943354845, -0.6433789730072021, -0.6219413876533508, 0.6857660412788391, -0.7422996163368225, 0.675940752029419, 0.48019152879714966, -0.33522701263427734, 0.5671383142471313, -0.468740850687027, -0.030257776379585266, 0.044087670743465424, -0.29515689611434937, -0.4156019985675812, -0.012437681667506695, -0.07402393966913223, 0.8916990160942078, -0.3033181428909302, 0.10288317501544952, -0.04441365599632263, -0.42586106061935425, 0.13411730527877808, 0.0006173882866278291, 0.7249020934104919, 0.310611367225647, 0.15570393204689026, 0.09483406692743301, -0.5980293154716492, -0.10446958243846893, -0.1507689654827118, -0.7860574126243591, 0.031542371958494186, -0.34430962800979614, 0.49441003799438477, 0.26360416412353516, 0.3550797998905182, -0.8289313912391663, 0.48619696497917175, -0.23674635589122772, 0.13479068875312805, 0.7553145289421082, -0.41025036573410034, 0.3999779224395752, -0.5549837350845337, 0.597990870475769, -0.16203677654266357, -0.08864641189575195, -0.3038468062877655, -0.6321500539779663, -0.24397581815719604, -0.6369660496711731, 0.29227274656295776, 0.8452949523925781, -0.30335959792137146, 0.8618926405906677, -0.5201343894004822, -0.9649949073791504, -0.2676282525062561, 0.22805821895599365, 0.18504521250724792, 0.30559810996055603, 0.46074044704437256, -0.38844582438468933, -0.5648153424263, -0.7767161130905151, -0.2544329762458801, -0.19662056863307953, -0.40982553362846375, 0.30718812346458435, 0.08670179545879364, -0.6671107411384583, 0.5685635805130005, -0.36628854274749756, -0.6431028246879578, -0.37181857228279114, -0.04435267299413681, 0.6021073460578918, 0.5405852794647217, 0.5915520191192627, -0.7675560712814331, -0.26521357893943787, 0.04289981722831726, -0.6702010631561279, 0.21974365413188934, -0.2981303930282593, 0.2801353931427002, -0.028285464271903038, 0.3106336295604706, -0.634186863899231, 0.22951668500900269, 0.19344493746757507, -0.04763776808977127, 0.28402140736579895, -0.0763671025633812, 0.2403651922941208, -0.9275628328323364, 0.044280003756284714, 0.31275245547294617, -0.35593247413635254, -0.5002647042274475, 0.20781460404396057, 0.08924508094787598, -0.08592969924211502, -0.2798525393009186, 0.372774213552475, -0.17251130938529968, -0.05830106511712074, -0.3471008837223053, -0.42664891481399536, -0.22270330786705017, 0.05426514148712158, -0.33398663997650146, 0.45730555057525635, 0.590038001537323, -0.6195954084396362, 0.7250733375549316, 0.7309263944625854, -0.5279638171195984, 0.5971056222915649, -0.28984126448631287, 0.045933715999126434, -0.5382450222969055, 1.079964280128479, -1.4290410280227661, -0.7168194651603699, -0.2105221152305603, -0.31077197194099426, 0.4629855155944824, -0.06063278764486313, -0.821540117263794, -0.5116230249404907, -0.5046736598014832, 0.4990624487400055, 0.7791650295257568, -0.7747020125389099, 0.6612434387207031, 0.3637661039829254, -0.09859128296375275, -0.5809839367866516, -0.8522670269012451, 0.104677714407444, -0.3443569242954254, -0.1975971907377243, 0.5131773352622986, 0.3680766820907593, -0.15910758078098297, -0.8644708395004272, 0.11209321767091751, -0.5193331837654114, 0.033746495842933655, 0.394710510969162, 0.3566059172153473, 0.16864486038684845, 0.06339843571186066, -0.10848812013864517, 0.17657311260700226, -0.21766503155231476, -0.44212818145751953, 0.6543734669685364, 0.016084399074316025, -0.21662692725658417, -0.8458552956581116, -0.05136779695749283, 0.9661528468132019, 0.06425885111093521, 1.001135230064392, 0.8382106423377991, -0.4314444363117218, -0.09542948007583618, -1.0645129680633545, 0.04642451927065849, -0.43686556816101074, 0.3624115288257599, 0.23325982689857483, -0.9247562885284424, 0.5437135696411133, -0.10294736921787262, 0.5348974466323853, 0.3757239580154419, 0.49095290899276733, -0.14579148590564728, 0.554777979850769, 0.7081255316734314, -0.2339603304862976, 0.457185834646225, -0.21321912109851837, -0.10504615306854248, -0.4460683763027191, -0.5177192091941833, -0.4777340888977051, -0.5474366545677185, -0.6981258988380432, -0.4286482036113739, -0.040756188333034515, -0.43788784742355347, -0.28552064299583435, 0.6486856341362, -0.5164373517036438, 0.3444146513938904, 0.30352288484573364, 0.3921058177947998, -0.02321638911962509, 0.08251430839300156, 0.5275402665138245, 0.06122392416000366, -0.3918425142765045, -0.632487952709198, 1.2988452911376953, 0.5621756315231323, 0.7301508188247681, 0.12487046420574188, 0.6537699699401855, 0.5446460247039795, 0.4290564954280853, -0.49711352586746216, 0.3643437922000885, -0.4616132378578186, -0.45668619871139526, -0.1705402284860611, -0.4110449254512787, -0.9162024855613708, -0.1322685033082962, -0.13053695857524872, -0.8222362399101257, 0.2840898931026459, -0.0389743372797966, -0.46480831503868103, 0.4400233030319214, -0.42213010787963867, 0.6978341341018677, -0.17202912271022797, -0.1423059105873108, -0.29206210374832153, -0.7490834593772888, 0.2647455632686615, -0.35597944259643555, 0.3849123418331146, 0.12391521781682968, -0.08849149942398071, 1.0034329891204834, -0.0978580042719841, 0.936601996421814, -0.21381613612174988, -0.14261634647846222, 0.052171364426612854, 0.028807979077100754, 0.5929911136627197, -0.22027231752872467, -0.47269508242607117, 0.25704896450042725, -0.02754686027765274, -0.5433109402656555, -0.3535121977329254, 0.7589672207832336, -0.5392906069755554, 0.05696266517043114, -0.209761381149292, -0.6270229816436768, -0.1875535100698471, 0.008390977047383785, 0.1429402083158493, 0.2410990297794342, -0.10700257122516632, 0.584178626537323, 0.6128038167953491, -0.7670287489891052, -0.04552403837442398, 0.11907996237277985, -0.3723532259464264, -0.24162229895591736, 0.9394311904907227, 0.3803451359272003, -0.15724487602710724, 0.37921157479286194, -0.35885319113731384, -0.5077622532844543, -0.4520631432533264, -0.19350528717041016, 0.19969435036182404, -0.666356086730957, -0.23403313755989075, -0.6672450304031372, -0.04334155470132828, -0.6816596984863281, -0.19406503438949585, -0.23849214613437653, -0.3914985954761505, -0.2801414132118225, -0.03851072117686272, 0.14048655331134796, 0.8387966752052307, 0.28972238302230835, 0.4121730625629425, -0.8680548071861267, 0.12454947084188461, 0.19602738320827484, 0.5171017050743103, -0.047429099678993225, -0.7548379898071289, -0.09205329418182373, -0.0930452048778534, -0.22599978744983673, -0.5304543375968933, 0.2597806453704834, 0.6293861865997314, 0.7491266131401062, 0.47181254625320435, -0.12310155481100082, 0.3348591923713684, -0.4650436043739319, 0.7055442929267883, 0.162753626704216, -0.14545302093029022, 0.5164108872413635, -0.544380784034729, 0.04142739251255989, 1.059496521949768, 0.7142166495323181, -0.494743287563324, -0.03202752396464348, -0.5418702363967896, -0.85027676820755, 0.5235223770141602, 0.0804026871919632, 0.28496068716049194, -0.041283298283815384, 0.5466920137405396, 0.5666285753250122, 0.3718799352645874, -0.27423372864723206, 0.19771206378936768, 0.19982483983039856, -0.5236690640449524, -0.09497563540935516, -0.1486513316631317, 0.07293801754713058, -0.2776212990283966, 0.3232007622718811, 0.056633785367012024, 0.4233722388744354, -0.37553998827934265, -0.21847212314605713, 0.2764928936958313, 0.0029408112168312073, 0.4884445369243622, 0.9269464015960693, -0.3057662546634674, -0.2130890041589737, 0.40547990798950195, -0.26501551270484924, 0.20334435999393463, -0.18494993448257446, 0.2749323844909668, 0.10568351298570633, 0.23485377430915833, 0.15433700382709503, -0.007392196916043758, -0.8956810832023621, 0.9620103240013123, -0.020629556849598885, -0.08557886630296707, -0.6251566410064697, 0.07398419827222824, -0.2778050899505615, 0.2279009222984314, 0.5266004204750061, 0.10192039608955383, 0.04320114850997925, -0.6316287517547607, 0.2984867990016937, 0.3665791153907776, -0.2519276738166809, -0.05690043419599533, 0.5585066676139832, 0.08619481325149536, -0.2628019154071808, 1.043505072593689, -0.00000568814766666037, -0.3939466178417206, 0.5370574593544006, 0.27524256706237793, 0.7561318874359131, -0.4614832401275635, 0.08218085765838623, 0.5142024159431458, -0.2583578824996948, -0.8951296210289001, -0.06138668209314346, -0.059987638145685196, -0.5895628929138184, -0.45086991786956787, -0.8199144005775452, -0.598737895488739, -0.006811163388192654, -0.8373735547065735, 0.31497442722320557, -0.887570858001709, 0.05831799656152725, -0.23291034996509552, -0.49884334206581116, -0.7585395574569702, 0.25661835074424744, 0.39765095710754395, 1.0213760137557983, -0.971258282661438, 0.47313880920410156, 0.9178401231765747, -0.33717241883277893, -0.05799274519085884, -0.13493607938289642, -0.04527837783098221, -0.7325693964958191, 0.9643747210502625, 0.9741888642311096, 0.32541602849960327, -0.017496351152658463, -0.5691922903060913, -0.39139145612716675, 1.0525857210159302, 0.2776881158351898, -0.5121110677719116, -0.3609670102596283, -0.2034929245710373, 0.4672251343727112, -0.4474441707134247, 0.33221152424812317, 0.2353850156068802, 0.28239038586616516, 0.0006501413299702108, -1.2905699014663696, -0.1534244418144226, -0.09537766128778458, 0.11566587537527084, -0.25391680002212524, -0.6281517148017883, 0.6960617899894714, 0.1269141286611557, -0.16906218230724335, 0.10610207170248032, 0.7896202206611633, 0.2804975211620331, 0.22272434830665588, 0.5946032404899597, 0.5456128716468811, 1.1174638271331787, -0.1342959851026535, 0.8725256323814392, -0.25597867369651794, 0.42371320724487305, 0.6540008783340454, -0.44131729006767273, 0.8948398232460022, -0.09249395877122879, -0.48026931285858154, 0.9401885867118835, 0.7556338906288147, -0.3942697048187256, 0.12369304895401001, 0.28467223048210144, -0.021733500063419342, -0.6144540309906006, -0.18358829617500305, -0.35084667801856995, 0.7213873267173767, 0.31360700726509094, -0.4877510368824005, -0.4267854392528534, 0.5848998427391052, -0.4307103753089905, 0.21270833909511566, -0.4350619912147522, 0.6441053748130798, -0.27874910831451416, -0.3085416555404663, 0.3843107223510742, 0.0902741476893425, 0.9109883904457092, -0.1667773276567459, -0.29642558097839355, 0.07656142860651016, 0.4332980811595917, -0.5166220664978027, -0.8230878114700317, 0.132766455411911, -0.048633042722940445, -0.20650483667850494, -0.5420258045196533, 0.626471757888794, -0.23471468687057495, -0.43495818972587585, -0.11710012704133987, 0.16829530894756317, 0.47800832986831665, -0.21440474689006805, -0.2993853986263275, -0.024097250774502754, -0.2411743700504303, 0.14150802791118622, 0.5201343894004822, 0.02403365448117256, -0.06803546100854874, 0.7765685319900513, 0.6474613547325134, -0.14649434387683868, -0.06471271812915802, -0.18796341121196747, 0.7793475985527039, -0.5687370300292969, -0.9728548526763916, -0.5740250945091248, 0.27602067589759827, -0.3690357804298401, -0.26989030838012695, 0.6817281246185303, 0.8549279570579529, 0.8436168432235718, -0.234792098402977, 0.5877695083618164, -0.012459389865398407, 0.9144473075866699, -0.269998162984848, 0.804702877998352, -0.44338348507881165, 0.2784464955329895, -0.06432591378688812, -1.1306666135787964, -0.5213450789451599, 0.7735005617141724, -0.3537893295288086, 0.21559175848960876, 0.09038915485143661, 0.5671281218528748, -0.07414927333593369, -0.17379775643348694, 0.08830995857715607, 0.015794316306710243, 0.2983304262161255, 0.4999573826789856, 0.6921687722206116, -0.47126755118370056, 0.2588895857334137, 0.14190085232257843, -0.3442963659763336, -0.8227716684341431, -0.361989289522171, -0.7584553956985474, -0.5386260151863098, -0.44081127643585205, -0.5814497470855713, -0.0038280822336673737, 1.2745555639266968, 0.7139964699745178, -1.0694795846939087, -0.25201117992401123, -0.0013296215329319239, -0.37423601746559143, -0.2160685807466507, -0.22384917736053467, 0.11423902958631516, -0.35713550448417664, -0.5331233143806458, 0.5559282898902893, 0.025882212445139885, -0.11220899224281311, -0.21552301943302155, 0.21304574608802795, -0.28056636452674866, -0.40619444847106934, 0.6465482115745544, 0.580740749835968, -0.7893187403678894, -0.0979313999414444, -0.2647150754928589, -0.4117910861968994, -0.0316450335085392, 0.5264387726783752, -0.8194998502731323, 0.28419971466064453, 0.5841318368911743, 1.318730115890503, 0.2410372495651245, 0.3702394366264343, 0.4362106919288635, -0.8184226751327515, -0.0062767211347818375, 0.3247191309928894, 0.30511343479156494, 0.496645987033844, -0.4480604827404022, 0.47910237312316895, 0.0307464599609375, -0.6835521459579468, -1.0828795433044434, 0.1031281054019928, -1.2230145931243896, -0.1468510627746582, 1.1868470907211304, -0.2057044953107834, -0.05361718311905861, -0.3121235966682434, -0.18415138125419617, 0.25754204392433167, -0.2338060885667801, 1.0202032327651978, 0.43276160955429077, -0.03601038455963135, 0.0375763438642025, -0.741755485534668, 0.03706592693924904, 0.10870610922574997, -0.627116322517395, 0.12913185358047485, 0.6768297553062439, 0.14442716538906097, 0.3857969343662262, 0.24057090282440186, 0.037572938948869705, 0.4902968108654022, -0.4940105974674225, 0.0633770152926445, -0.017232699319720268, -0.5064999461174011, -0.2441740483045578, 0.4971093237400055, 0.1384860724210739, -0.2673458755016327 ]
http://arxiv.org/abs/2406.18122v1
http://arxiv.org/pdf/2406.18122v1
Poisoned LangChain: Jailbreak LLMs by LangChain
2024-06-26T07:21:02
2024-06-26T07:21:02
Ziqiu Wang, Jun Liu, Shengkai Zhang, Yang Yang
cs.CL
cs.CL, cs.AI
With the development of natural language processing (NLP), large language models (LLMs) are becoming increasingly popular. LLMs are integrating more into everyday life, raising public concerns about their security vulnerabilities. Consequently, the security of large language models is becoming critically important. Currently, the techniques for attacking and defending against LLMs are continuously evolving. One significant method type of attack is the jailbreak attack, which designed to evade model safety mechanisms and induce the generation of inappropriate content. Existing jailbreak attacks primarily rely on crafting inducement prompts for direct jailbreaks, which are less effective against large models with robust filtering and high comprehension abilities. Given the increasing demand for real-time capabilities in large language models, real-time updates and iterations of new knowledge have become essential. Retrieval-Augmented Generation (RAG), an advanced technique to compensate for the model's lack of new knowledge, is gradually becoming mainstream. As RAG enables the model to utilize external knowledge bases, it provides a new avenue for jailbreak attacks. In this paper, we conduct the first work to propose the concept of indirect jailbreak and achieve Retrieval-Augmented Generation via LangChain. Building on this, we further design a novel method of indirect jailbreak attack, termed Poisoned-LangChain (PLC), which leverages a poisoned external knowledge base to interact with large language models, thereby causing the large models to generate malicious non-compliant dialogues.We tested this method on six different large language models across three major categories of jailbreak issues. The experiments demonstrate that PLC successfully implemented indirect jailbreak attacks under three different scenarios, achieving success rates of 88.56%, 79.04%, and 82.69% respectively.
[ -0.21518950164318085, -1.0846508741378784, 0.31816190481185913, 0.1291833519935608, -0.178274467587471, 0.3042156398296356, -0.18389926850795746, -0.648348867893219, 0.4582276940345764, 0.9930232763290405, -0.25677600502967834, -0.425669401884079, -0.395170658826828, -0.007231095340102911, -0.5895375609397888, 1.039099097251892, 0.1884932667016983, -0.10206122696399689, 0.3967567980289459, 0.07100734859704971, -0.5843629240989685, -0.7635213136672974, -0.5698226094245911, 0.02237463742494583, 0.544055163860321, 0.26601049304008484, 0.5564302802085876, 0.39764705300331116, 0.4569789469242096, 0.3044627010822296, -0.31928500533103943, 0.040297750383615494, -0.412137508392334, 0.4108138382434845, -0.21631503105163574, -0.36978980898857117, -0.3430951237678528, -0.2532937526702881, 0.1428239643573761, 0.14058881998062134, -0.3378063142299652, -0.04329274222254753, -0.23273982107639313, 1.0470373630523682, -0.8533919453620911, -0.280012309551239, -1.1907154321670532, 0.036337196826934814, -0.4580604135990143, 0.1346306949853897, -0.7455660700798035, -0.14545276761054993, -0.18033666908740997, -0.1996377408504486, -0.01608949527144432, 0.22953666746616364, 0.5453859567642212, -0.16653673350811005, -0.27714619040489197, -0.45999693870544434, -0.3734493851661682, 0.5170818567276001, -0.8547583818435669, -0.06287845969200134, 0.31475192308425903, 0.3130670189857483, -0.4661238491535187, -0.8377078771591187, -0.36519190669059753, -0.7067633867263794, 0.06242464482784271, -0.16971707344055176, -0.08157926797866821, 0.2605515718460083, 0.344758003950119, 0.33175885677337646, -0.36068445444107056, 0.18012815713882446, -0.3108859360218048, -0.04359494894742966, 0.6746662855148315, 0.1744493544101715, 0.706774890422821, -0.7224875688552856, -0.43395066261291504, 0.2056666612625122, -1.1627750396728516, -0.39844173192977905, 0.7353376746177673, 0.4582023620605469, -0.11121837049722672, 0.6443417072296143, 0.026126055046916008, 1.0053683519363403, -0.06908566504716873, -0.09187984466552734, -0.22908376157283783, -0.27261945605278015, -0.1896832436323166, 0.5417781472206116, 0.8725074529647827, 0.21765317022800446, 0.338850200176239, -0.15440620481967926, -0.14506199955940247, -0.3636680543422699, 0.21860064566135406, -0.828541100025177, -0.3148883879184723, 0.3436812460422516, -0.06831482797861099, -0.8020996451377869, 0.025067172944545746, -0.9442798495292664, -0.9886431694030762, 0.38316622376441956, 0.26314523816108704, -0.3277677297592163, -0.296894907951355, -0.07763400673866272, -0.20110811293125153, 0.22191481292247772, 0.013022428378462791, -1.1102877855300903, 0.28526976704597473, 0.6617200374603271, 0.9511340856552124, 0.06494798511266708, -0.13194821774959564, -0.6783803701400757, 0.47656258940696716, -0.2721919119358063, 0.5114049911499023, -0.029484858736395836, -0.4307800531387329, 0.07512065023183823, -0.13965043425559998, 0.03163831681013107, -0.7857574820518494, 0.16619037091732025, -0.8428722620010376, -0.170853391289711, 0.05658967047929764, -0.3342733383178711, -0.007712304592132568, 0.46247872710227966, -0.8854540586471558, 0.5540105104446411, -0.28560203313827515, -1.2492905855178833, -0.1596563458442688, -0.3721568286418915, -0.6229298114776611, -0.09292691946029663, 0.15884950757026672, -0.3544052839279175, -0.06119922548532486, 0.2850126624107361, 0.33162227272987366, -0.35650625824928284, 0.5610535144805908, -0.398073673248291, -0.1301492303609848, 0.4266777038574219, -0.37590739130973816, 0.8522971868515015, 0.330868124961853, -0.29919692873954773, 0.013724342919886112, -0.630020797252655, -0.11153329908847809, 0.5169867277145386, -0.15414713323116302, -0.6180541515350342, 0.17814376950263977, -0.014542289078235626, 0.04576165974140167, 0.42880764603614807, -0.5329745411872864, 0.3451721966266632, -0.9054679274559021, 0.5609320402145386, 0.794889509677887, 0.5262383818626404, 0.15308673679828644, -0.21889135241508484, 0.294258713722229, -0.22218652069568634, 0.21371497213840485, -0.24061620235443115, -0.29722917079925537, -0.49201318621635437, 0.012804804369807243, 0.2110384851694107, 0.9710671305656433, -0.6996707320213318, 0.18892164528369904, 0.08454924076795578, -0.6172442436218262, -0.2956446409225464, 0.40832892060279846, 0.5129883885383606, 0.4566323459148407, 0.4116670489311218, -0.16431334614753723, -0.7369892597198486, -0.6209208369255066, -0.7853200435638428, -0.2484239786863327, 0.23389019072055817, 0.3043639063835144, 0.3241460621356964, -0.24007214605808258, 0.52390456199646, -0.43957918882369995, -0.20564745366573334, -0.6729187965393066, -0.23448866605758667, 0.39857155084609985, 0.4933745861053467, 0.3675406873226166, -0.5541423559188843, -0.49073129892349243, -0.0033856721129268408, -0.7704765200614929, -0.2026568055152893, -0.0819072425365448, 0.05864156037569046, 0.2763441503047943, 0.6068946719169617, -0.467327743768692, 0.2998466193675995, 0.4362630844116211, -0.3821312487125397, 0.9217391610145569, -0.12042757868766785, -0.08595463633537292, -1.2769479751586914, -0.05057418718934059, -0.1743604689836502, -0.17001444101333618, -0.8819856643676758, 0.5846097469329834, 0.008210145868360996, -0.24092808365821838, -0.771830141544342, 0.7870588302612305, -0.3874896168708801, 0.15923751890659332, -0.22641533613204956, 0.2946467101573944, -0.2157910317182541, 0.0942378118634224, -0.289728581905365, 0.6195917725563049, 0.32373443245887756, -0.18274874985218048, 0.7356559634208679, 0.05132194235920906, -0.3482505977153778, 0.053033649921417236, -0.6230077743530273, 0.20706768333911896, 0.06549293547868729, -0.06017911434173584, -0.638815701007843, -0.3457050919532776, 0.2563786804676056, -0.19875599443912506, 0.43407365679740906, -0.3648935556411743, -0.6676616668701172, -0.2896558344364166, -0.44062384963035583, 0.011646037921309471, 0.42845618724823, -0.7287434339523315, 0.4509422481060028, 0.29059773683547974, -0.1541842222213745, -0.7842951416969299, -0.5980665683746338, 0.6533356308937073, -0.560897707939148, -0.7064467072486877, 0.16788126528263092, 0.020172933116555214, -0.7342914938926697, -0.2534334659576416, -0.013004366308450699, 0.03148376941680908, 0.2678092420101166, 0.13363412022590637, 0.3746302127838135, 0.07052048295736313, -0.315795361995697, -0.013182678259909153, 0.10618694871664047, 0.2262740135192871, -0.01835227757692337, 0.6725127100944519, 0.0820833072066307, -0.15029658377170563, -0.23379850387573242, 0.24184593558311462, 0.6289159059524536, -0.1976282149553299, 0.9992001056671143, 0.10755224525928497, -0.08018796890974045, -0.35505178570747375, -0.7213099002838135, -0.1673855036497116, -0.5473468899726868, 0.43638208508491516, -0.3186704218387604, -0.6543766260147095, 0.5262652635574341, -0.25723087787628174, -0.20698963105678558, 0.07585021108388901, 0.4688256084918976, 0.22204770147800446, 0.8994279503822327, 0.510638415813446, -0.57920241355896, 0.5288792848587036, -0.16096681356430054, 0.3282960057258606, -0.8943579792976379, -0.1598031222820282, -0.24127644300460815, 0.13368476927280426, -0.585444986820221, 0.015232984907925129, 0.25173184275627136, 0.5187020897865295, -0.530298113822937, 0.522779643535614, -0.38057348132133484, 0.49555590748786926, 0.22963328659534454, 0.09227264672517776, 0.38791942596435547, -0.03154357522726059, -0.5398319959640503, 0.13185007870197296, -0.5042933225631714, -0.19670523703098297, 1.0788589715957642, 0.3035154938697815, 0.9572474956512451, 0.362678200006485, 0.8720449209213257, 0.3578828275203705, 0.4144705832004547, -0.5635930299758911, 0.5775550603866577, -0.13101311028003693, -0.9132072329521179, -0.014313685707747936, -0.38552653789520264, -0.8168520927429199, 0.2669800817966461, 0.09674100577831268, -1.134881615638733, -0.27448877692222595, 0.032311663031578064, -0.11413772404193878, 0.6820823550224304, -0.9121537804603577, 0.8592517375946045, -0.49336931109428406, -0.5229695439338684, -0.04924085736274719, -0.7817999720573425, 0.9910479784011841, -0.3500693142414093, 0.5262076258659363, -0.01511124987155199, 0.26321640610694885, 0.6904885172843933, -0.9882783889770508, 0.870637834072113, -0.39115768671035767, -0.08991439640522003, 0.4358484447002411, 0.5256109237670898, 0.9379759430885315, 0.38316765427589417, -0.17407697439193726, -0.2224254161119461, -0.15063869953155518, -0.08879651129245758, -0.5047532320022583, 0.793414294719696, -0.49747148156166077, -1.0908677577972412, -0.4169214963912964, -0.3669421076774597, -0.06917513161897659, 0.09991921484470367, 0.20134307444095612, 0.32680973410606384, 0.09494739770889282, -0.2772029936313629, 0.5315328240394592, -0.5774966478347778, 0.5755664110183716, 0.5510654449462891, -0.6277233362197876, -0.7829396724700928, 0.8936581611633301, -0.009645226411521435, 0.5756309628486633, 0.20721760392189026, 0.28026410937309265, 0.0907433032989502, -0.4468531012535095, -0.44033947587013245, 0.43149498105049133, -0.6381477117538452, -0.49149787425994873, -0.418671578168869, -0.6856940984725952, -0.3542385399341583, -0.23631009459495544, -0.3175637423992157, -0.20866039395332336, 0.017016740515828133, -0.17174667119979858, 0.8084346055984497, 0.6749405264854431, -0.17884235084056854, 0.32839202880859375, -0.8725186586380005, 0.5312088131904602, 0.3187960088253021, 0.010977212339639664, 0.21227321028709412, -0.4747525751590729, -0.14237616956233978, -0.24061661958694458, -0.1672416776418686, -1.4284436702728271, 0.6069579720497131, -0.05531533807516098, 0.22519762814044952, 0.3567787706851959, 0.19630998373031616, 0.5743486285209656, -0.7767598628997803, 0.7027463912963867, 0.3313690423965454, -0.9089924693107605, 0.9397197365760803, -0.4209296703338623, -0.05363629385828972, 0.44094404578208923, -0.005303299054503441, -0.615138053894043, -0.7107178568840027, -0.5016005039215088, -1.2965089082717896, 0.4317325949668884, -0.03460899367928505, 0.3665933310985565, -0.19537709653377533, 0.3459005355834961, -0.19284217059612274, 0.23897002637386322, -1.0938977003097534, -0.46833088994026184, 0.021780457347631454, -0.04777594283223152, 0.20020310580730438, -0.40875348448753357, -0.1012021154165268, -0.22958432137966156, 0.6956340670585632, 0.37806236743927, -0.050988394767045975, 0.14609365165233612, -0.21322554349899292, 0.23059189319610596, 0.3973519504070282, 0.3161836266517639, 0.24550442397594452, -0.21244671940803528, 0.18767860531806946, 0.22100964188575745, -0.7485032677650452, 0.4666522443294525, 0.21006257832050323, -0.21918518841266632, -0.2703414857387543, 0.4067329168319702, 0.7132060527801514, -0.08493458479642868, -0.9989164471626282, 0.554431140422821, 0.09466864913702011, 0.3168357312679291, -0.6281150579452515, 0.24886198341846466, 0.005531303118914366, 0.09701699763536453, 0.3020533621311188, -0.1503494679927826, -0.08170215040445328, -0.5989243984222412, 0.22872555255889893, 0.46407878398895264, -0.43515118956565857, -0.034634944051504135, 0.6358550190925598, -0.11806075274944305, -0.2577921152114868, 0.6640906929969788, -0.19193163514137268, -0.6337509751319885, 0.672091543674469, 0.9573283195495605, 0.8908079266548157, -0.43338608741760254, -0.061567310243844986, 0.357657790184021, 0.5847836136817932, 0.06555720418691635, 0.15956905484199524, -0.06485456973314285, -0.7511152625083923, -0.5204976797103882, -0.5898186564445496, -0.221616730093956, 0.39340728521347046, -0.3241516649723053, 0.24626818299293518, -0.6327382922172546, -0.05712470784783363, -0.5158143043518066, -0.12999744713306427, 0.10731949657201767, -0.046015288680791855, 0.07671567052602768, 1.1080164909362793, -0.48510879278182983, 0.9828318357467651, 0.2483491152524948, -0.24857737123966217, -0.949440598487854, -0.03508390858769417, 0.1242593303322792, -0.6110972166061401, 0.8131176233291626, 0.30894437432289124, 0.15765880048274994, 0.03953845053911209, -0.4904363453388214, -0.8639293909072876, 0.6850969195365906, 0.2933334410190582, -0.6514708995819092, -0.042015191167593, -0.17922937870025635, 0.1409759521484375, -0.021033553406596184, -0.14111970365047455, 0.7407150268554688, 0.44747138023376465, -0.05152038484811783, -0.7535658478736877, 0.18046380579471588, -0.3215603530406952, -0.040260665118694305, 0.6033467650413513, -0.31576794385910034, 0.6476954221725464, -0.5431116223335266, 0.06084049120545387, 0.40823233127593994, 0.3583820164203644, 0.7426974177360535, 0.037719883024692535, 0.31502586603164673, 0.7903075814247131, 0.43210816383361816, 0.11715231090784073, 1.0391899347305298, -0.3739924132823944, 0.07078753411769867, 1.2691437005996704, -0.5773006677627563, 0.9115157127380371, 0.6242039203643799, 0.04192587733268738, 0.7375315427780151, 0.25432586669921875, -0.13918447494506836, 0.788466215133667, 0.8186026811599731, -0.6722235083580017, 0.28287529945373535, 0.05590805038809776, -0.35139262676239014, 0.18778455257415771, 0.6337535381317139, -0.3917226791381836, -0.13325875997543335, 0.5314350128173828, 0.537991464138031, 0.0975850522518158, -0.44103315472602844, 0.9771590828895569, 0.205674409866333, -0.5419118404388428, 0.6002604365348816, 0.517460823059082, 0.5682206749916077, -0.6941649317741394, 0.202101469039917, -0.2177056521177292, 0.1135648787021637, -0.20092542469501495, -0.3989178240299225, 0.1809621900320053, 0.48950597643852234, 0.16765837371349335, 0.1795874834060669, 1.0463721752166748, -0.14897863566875458, -0.2724437415599823, 0.7184316515922546, 0.28672394156455994, 0.011909385211765766, -0.07189824432134628, -0.6210554838180542, 0.1870223432779312, 0.0007533817552030087, -0.48302796483039856, 0.4673903286457062, -0.021233702078461647, 0.10725375264883041, 0.6768839359283447, 0.6517273187637329, 0.5250036120414734, 0.33338674902915955, 0.05542336031794548, 0.9016122221946716, -0.8168710470199585, -0.3122953772544861, -1.259619116783142, 0.34350574016571045, -0.22308509051799774, 0.27670490741729736, 0.9718906283378601, 0.5086646676063538, 0.48812371492385864, 0.06517061591148376, 0.852204442024231, -0.25812095403671265, 0.40566807985305786, -0.810290515422821, 0.9498555064201355, -0.19558359682559967, 0.6052664518356323, -0.5067287683486938, -0.6589797139167786, -0.40163299441337585, 0.2970295250415802, -0.5112596154212952, -0.019238630309700966, 0.6600199937820435, 0.8290794491767883, 0.2936083972454071, -0.1845882087945938, 0.07678066194057465, 0.45055949687957764, 0.47356030344963074, 0.5687984228134155, 0.9867783188819885, -0.4437512457370758, 0.41809824109077454, -0.3340883255004883, -0.008214673027396202, -0.074224092066288, -0.812872052192688, -1.0332410335540771, -0.18811199069023132, -0.00757864024490118, -0.6709805130958557, 0.36436522006988525, 0.7363756895065308, 0.3224599361419678, -0.6436851620674133, -0.45073917508125305, -0.4406035840511322, 0.37216076254844666, 0.14263254404067993, -0.30614981055259705, 0.29672181606292725, -0.38892537355422974, -0.20239195227622986, 0.6620608568191528, 0.3329790234565735, 0.026488445699214935, -0.265583872795105, 0.08833304792642593, -0.35955777764320374, 0.12056732177734375, 0.4339134693145752, 0.4578498601913452, -0.7574381828308105, -0.055909670889377594, -0.34865495562553406, -0.1524823158979416, -0.19978797435760498, 0.7466778755187988, -0.9151850342750549, 0.5136778950691223, 0.25695207715034485, 0.6398648023605347, 0.39930063486099243, -0.03902534767985344, 0.4188559055328369, -0.885159432888031, 0.48167771100997925, 0.06229810044169426, 0.48535579442977905, 0.38966017961502075, -0.517450749874115, 0.26231083273887634, 0.28974953293800354, -0.4996182322502136, -1.0352778434753418, 0.48660001158714294, -0.5257244110107422, -0.7100600600242615, 1.076657772064209, -0.06722993403673172, -0.46450045704841614, -0.14211921393871307, -0.2555363178253174, 0.003959523513913155, -0.11019373685121536, 0.7134885787963867, 0.4103996455669403, 0.09999295324087143, 0.007652400527149439, -0.8442938923835754, 0.520118236541748, 0.13783717155456543, -0.9405351281166077, 0.2502748966217041, 0.2484310269355774, 0.23909273743629456, 0.12374914437532425, 0.3836461305618286, -0.37103918194770813, 0.07135390490293503, -0.22643418610095978, 0.047079551964998245, -0.10147391259670258, -0.43390634655952454, -0.29477497935295105, 0.4600612223148346, 0.3206470310688019, 0.3157447278499603 ]
http://arxiv.org/abs/2406.18120v1
http://arxiv.org/pdf/2406.18120v1
ArzEn-LLM: Code-Switched Egyptian Arabic-English Translation and Speech Recognition Using LLMs
2024-06-26T07:19:51
2024-06-26T07:19:51
Ahmed Heakl, Youssef Zaghloul, Mennatullah Ali, Rania Hossam, Walid Gomaa
cs.CL
cs.CL, cs.AI, cs.CY, cs.LG
Motivated by the widespread increase in the phenomenon of code-switching between Egyptian Arabic and English in recent times, this paper explores the intricacies of machine translation (MT) and automatic speech recognition (ASR) systems, focusing on translating code-switched Egyptian Arabic-English to either English or Egyptian Arabic. Our goal is to present the methodologies employed in developing these systems, utilizing large language models such as LLama and Gemma. In the field of ASR, we explore the utilization of the Whisper model for code-switched Egyptian Arabic recognition, detailing our experimental procedures including data preprocessing and training techniques. Through the implementation of a consecutive speech-to-text translation system that integrates ASR with MT, we aim to overcome challenges posed by limited resources and the unique characteristics of the Egyptian Arabic dialect. Evaluation against established metrics showcases promising results, with our methodologies yielding a significant improvement of $56\%$ in English translation over the state-of-the-art and $9.3\%$ in Arabic translation. Since code-switching is deeply inherent in spoken languages, it is crucial that ASR systems can effectively handle this phenomenon. This capability is crucial for enabling seamless interaction in various domains, including business negotiations, cultural exchanges, and academic discourse. Our models and code are available as open-source resources. Code: \url{http://github.com/ahmedheakl/arazn-llm}}, Models: \url{http://huggingface.co/collections/ahmedheakl/arazn-llm-662ceaf12777656607b9524e}.
[ -0.23211891949176788, -0.5393382906913757, 0.19893532991409302, 0.2512204647064209, -0.34605860710144043, 0.19091537594795227, -0.19267672300338745, -0.7645863890647888, -0.0016264619771391153, 0.7085681557655334, -0.17813120782375336, -0.6067521572113037, -0.8858136534690857, 0.3010077178478241, -0.9239369630813599, 1.1245421171188354, -0.7370744347572327, 0.29933878779411316, 0.4209170341491699, -0.2606140673160553, -0.001279334770515561, -0.4218365550041199, -0.8124943971633911, -0.508220911026001, 0.36026519536972046, 0.23941856622695923, 0.5465920567512512, 0.8959789872169495, 0.5710490942001343, 0.26426994800567627, -0.0053064520470798016, 0.1349519044160843, -0.0004681949794758111, 0.23308923840522766, 0.30806252360343933, -0.40533286333084106, -0.5782596468925476, -0.10489622503519058, 0.6508243680000305, 0.44437456130981445, -0.3791763484477997, 0.34849685430526733, 0.08934436738491058, 0.5457606315612793, -0.3753361999988556, 0.16427300870418549, -0.6398497223854065, 0.08862296491861343, -0.25032228231430054, -0.24197886884212494, -0.13397710025310516, -0.2928152084350586, 0.0945134088397026, -0.23716507852077484, -0.11689593642950058, 0.1952279806137085, 0.7165802121162415, 0.32344290614128113, -0.5659501552581787, -0.893021821975708, -0.9331423044204712, 0.8452752828598022, -0.7091964483261108, 0.42100730538368225, 0.3386479318141937, 0.2591101825237274, 0.0761827901005745, -0.7714983820915222, -0.5100783109664917, -0.37676602602005005, 0.3139898478984833, 0.1374955177307129, -0.5341556668281555, -0.01781211420893669, -0.0526103712618351, 0.45523515343666077, -0.22523503005504608, 0.048316504806280136, -0.37582242488861084, -0.10507616400718689, 0.6038272380828857, 0.14139622449874878, 0.552021324634552, 0.04811062663793564, -0.37632882595062256, -0.023185765370726585, -0.879326581954956, 0.05231553316116333, 0.5501582026481628, 0.36232873797416687, -0.37386801838874817, 0.6412628889083862, -0.00614046398550272, 0.7351953387260437, -0.17463631927967072, -0.28751444816589355, 0.07189162820577621, -0.07940824329853058, -0.21564428508281708, 0.38911235332489014, 0.609577476978302, 0.05582638829946518, 0.057328127324581146, -0.08568289875984192, -0.6593657732009888, 0.44297051429748535, 0.04108767583966255, -0.6815837621688843, -0.008876740001142025, 0.11109714210033417, -0.7947543263435364, -0.35143330693244934, -0.2728443443775177, -0.3641056418418884, -0.04382874444127083, -0.12073907256126404, 0.4820464551448822, -0.2490685135126114, -0.28268691897392273, 0.43242090940475464, 0.21997685730457306, 0.4005833566188812, 0.43085184693336487, -0.5721439719200134, 0.6736572980880737, 0.2730967402458191, 0.901095986366272, -0.3224818706512451, -0.40610891580581665, -0.3410432040691376, 0.4203571081161499, -0.3247818350791931, 0.5690500140190125, -0.4872826337814331, -0.7079274654388428, 0.24508878588676453, -0.3432614207267761, -0.049601614475250244, -0.7953640222549438, 0.6850925087928772, -0.7203600406646729, -0.08808612823486328, 0.3814859688282013, -0.28973162174224854, -0.39366260170936584, 0.06376555562019348, -0.6156185269355774, 0.789130687713623, -0.553614616394043, -0.30224326252937317, -0.363414466381073, -0.8121829032897949, -0.690407395362854, -0.1934659779071808, -0.24073809385299683, -0.44552144408226013, 0.051979515701532364, 0.11596275866031647, 0.26796966791152954, -0.39941906929016113, -0.09283877164125443, 0.4468056261539459, -0.34915095567703247, 0.6488242745399475, -0.6271085143089294, 0.6651486158370972, 0.49694034457206726, -0.43797096610069275, 0.04336456209421158, -0.7683607935905457, -0.04830019548535347, 0.07864939421415329, -0.8126266002655029, -0.007043160032480955, 0.2422509640455246, 0.5257420539855957, 0.18868093192577362, 0.4500564634799957, -0.31441017985343933, 0.07189295440912247, -0.2416754812002182, 0.5812219977378845, 0.47310125827789307, -0.39088666439056396, 0.29929986596107483, -0.44787871837615967, 0.7076923251152039, 0.118366539478302, -0.1914498209953308, -0.00843179039657116, -0.7274153232574463, -1.1448198556900024, -0.1403798907995224, 0.3116607964038849, 0.9146926999092102, -0.7006927132606506, 0.11647165566682816, -0.16166509687900543, -0.12624503672122955, -0.981392502784729, 0.11186152696609497, 0.71364426612854, 0.2935304045677185, 0.4531330466270447, -0.2626820206642151, -0.6614505052566528, -0.7730880975723267, -0.3541749119758606, -0.3533363342285156, 0.05480985343456268, 0.3544772267341614, 0.4029029309749603, -0.6299379467964172, 0.46688947081565857, -0.12234488129615784, -0.2694240212440491, -0.4180935323238373, 0.21850882470607758, 0.39258626103401184, 0.47469377517700195, 0.03444302827119827, -0.7644800543785095, -0.5355615615844727, 0.42706534266471863, -0.3625604212284088, -0.44268548488616943, 0.023907160386443138, 0.21185144782066345, 0.4708128273487091, 0.6290984749794006, -0.36055952310562134, 0.7185294032096863, 1.0016716718673706, 0.01807672716677189, 0.6615411639213562, -0.1271420568227768, 0.3541489541530609, -1.1923402547836304, 0.14306266605854034, -0.2360139787197113, -0.2515631914138794, -0.7016221284866333, 0.09586269408464432, -0.028382334858179092, -0.07926240563392639, -0.4971093535423279, 0.687917947769165, -0.7430523633956909, -0.25869065523147583, -0.5569583177566528, -0.161891907453537, -0.3378351628780365, 0.3782571256160736, 0.028085727244615555, 1.2410343885421753, 0.2591272294521332, -0.8155986666679382, 0.4578787386417389, 0.5225180387496948, -0.5898743867874146, 0.2836950123310089, -0.548796534538269, 0.3268872797489166, 0.4942764341831207, 0.05771758407354355, -0.8133305311203003, 0.12170101702213287, 0.6423331499099731, -0.6453968286514282, 0.31050005555152893, -0.4427525997161865, -0.45648348331451416, 0.08666457235813141, 0.15647315979003906, 0.5155600309371948, 0.6148067116737366, -0.5138329863548279, 0.7730576395988464, 0.360119104385376, -0.5617887377738953, -0.5499171614646912, -0.7919776439666748, 0.5523048043251038, -0.16089725494384766, -0.44959914684295654, 0.5231101512908936, 0.07389601320028305, -0.46695247292518616, 0.010199722833931446, -0.3829236626625061, -0.08607300370931625, -0.19185544550418854, 0.29612046480178833, 0.4771721661090851, -0.2823231816291809, -0.37695765495300293, 0.266307532787323, -0.46499907970428467, 0.0414939746260643, -0.4257641136646271, 0.5655614733695984, -0.35819903016090393, -0.5100288391113281, -0.47575974464416504, 0.6110197901725769, 0.41267913579940796, -0.3311755955219269, 0.474232017993927, 0.3047489523887634, -0.33415237069129944, -0.024849113076925278, -0.6312773823738098, 0.14597852528095245, -0.4665158689022064, 0.5034738779067993, -0.5948348045349121, -0.9279817938804626, 0.8328214287757874, -0.2503550052642822, 0.12868157029151917, 0.2251053750514984, 0.8785132169723511, -0.20240725576877594, 1.1074390411376953, 0.5913833379745483, -0.30018606781959534, 0.5103797912597656, -0.11873134970664978, 0.26177406311035156, -0.8753763437271118, 0.005199879873543978, -0.6808937191963196, -0.43844282627105713, -0.6031476259231567, -0.5047442317008972, 0.5612962245941162, -0.028799517080187798, 0.0010074952151626348, 0.19404318928718567, -0.23025430738925934, 0.12022846192121506, 0.4460723102092743, -0.02492465078830719, 0.6929342746734619, 0.2222999483346939, -0.03458968177437782, 0.1587848663330078, -0.4588901102542877, -0.8275880813598633, 1.0768126249313354, 0.2901673913002014, 1.2429901361465454, 0.3023609220981598, 0.6510973572731018, 0.45593327283859253, 0.14162446558475494, -0.8558412194252014, 0.7090442776679993, -0.2068149596452713, -0.36113256216049194, -0.110073521733284, -0.3577912151813507, -1.0401707887649536, 0.21973401308059692, 0.09610012173652649, -0.35022860765457153, -0.06208638474345207, 0.0274095069617033, -0.18762552738189697, 0.5392407178878784, -0.48717793822288513, 0.2587931752204895, -0.36463427543640137, 0.1246303990483284, -0.5711971521377563, -0.7120109796524048, -0.02021460048854351, 0.14002873003482819, 0.10772667080163956, -0.03540854901075363, -0.4294529855251312, 0.9220796823501587, -0.2596744894981384, 0.7846075892448425, 0.2537716031074524, -0.43720003962516785, 0.12405195832252502, 0.15084773302078247, 0.6423821449279785, -0.2180933952331543, -0.01848832704126835, 0.6307119131088257, -0.038448091596364975, -0.19371432065963745, -0.22486931085586548, 0.5537831783294678, -1.1674050092697144, -0.5744075775146484, -0.6005707383155823, -0.7241842150688171, -0.005361978430300951, 0.1228267103433609, 0.2671939730644226, 0.4321226179599762, -0.15707938373088837, -0.1830519437789917, 0.6806443929672241, -0.2429141253232956, 0.30971449613571167, 0.9564540386199951, -0.5470420718193054, -0.5036718845367432, 0.8106905221939087, 0.22522953152656555, 0.18068088591098785, 0.44660377502441406, -0.2085297852754593, -0.11858965456485748, -0.9465811848640442, -0.6616895198822021, 0.23184220492839813, -0.6016939282417297, -0.3006131947040558, -0.604257345199585, -0.5907833576202393, -0.22763052582740784, -0.26131725311279297, -0.3130296468734741, -0.3375014662742615, -0.3823467493057251, 0.2180207520723343, 0.5191877484321594, 0.7492710947990417, -0.010435076430439949, 0.2678786516189575, -0.8844105005264282, 0.3885554075241089, 0.33247795701026917, 0.13098420202732086, -0.0767974704504013, -1.0042656660079956, -0.4661460518836975, 0.009812161326408386, 0.0002469836617819965, -0.9837139844894409, 0.609014630317688, 0.09445512294769287, 0.35298943519592285, 0.2862674593925476, -0.20549504458904266, 0.5804206728935242, -0.9197126030921936, 0.2394975870847702, 0.15136376023292542, -1.1026504039764404, 0.4412662386894226, -0.4723217785358429, 0.10231669247150421, 0.30147039890289307, 0.0008786630933173001, -1.092590570449829, -0.26285457611083984, -0.17670217156410217, -0.807410717010498, 0.6900922656059265, 0.27152562141418457, 0.21227307617664337, 0.22874343395233154, 0.2493162304162979, 0.026450257748365402, 0.3842572271823883, -0.5996544361114502, -0.6242562532424927, 0.040436629205942154, -0.267957478761673, 0.12856198847293854, -0.2926729619503021, -0.2532203197479248, -0.11790509521961212, 0.8685930371284485, 0.1660315990447998, 0.4579877555370331, -0.004416242241859436, -0.40249472856521606, -0.13951653242111206, 0.5037861466407776, 0.6236135959625244, 0.3377738893032074, -0.12644654512405396, 0.17351600527763367, 0.23948323726654053, -0.9108989834785461, 0.34167444705963135, 0.4626184403896332, -0.22653383016586304, 0.1792023479938507, 0.1032097116112709, 0.8793842196464539, 0.30457866191864014, -0.6228431463241577, 0.0985553041100502, 0.16431142389774323, 0.05221181362867355, -0.5116162300109863, -0.022280998528003693, 0.08821186423301697, 0.4072497487068176, 0.5759369730949402, 0.2862841784954071, 0.2054741531610489, -0.36482247710227966, -0.11564888060092926, 0.26057592034339905, -0.20992062985897064, -0.28151676058769226, 0.5952645540237427, 0.5342786312103271, -0.7349823713302612, 0.5786889791488647, 0.1917952001094818, -0.4599173367023468, 0.5922595262527466, 0.8204292058944702, 1.0436738729476929, -0.5935903191566467, -0.034180134534835815, -0.20194661617279053, 0.3995368778705597, -0.08584021776914597, 0.4168160855770111, -0.1393328756093979, -0.9844793677330017, -0.23917941749095917, -0.4893297553062439, -0.7883222699165344, 0.07950475811958313, -0.9288923144340515, 0.23598745465278625, -0.19068604707717896, -0.09524485468864441, -0.4758426547050476, 0.07426055520772934, -0.47269219160079956, 0.01788593828678131, 0.19346904754638672, 0.9630929231643677, -0.5797106623649597, 1.188746690750122, 1.1045833826065063, -0.1411069929599762, -0.5269879698753357, -0.07389204204082489, 0.05560458078980446, -1.408622145652771, 0.5794591307640076, -0.13597644865512848, -0.7397837042808533, 0.5059409141540527, -0.5085957646369934, -0.8014190196990967, 1.0554219484329224, 0.17323167622089386, -0.6323925852775574, 0.12809738516807556, 0.16390983760356903, 0.1964346170425415, -0.3817923963069916, -0.08212254196405411, 0.531336784362793, 0.16667945683002472, 0.06584126502275467, -1.0716947317123413, -0.4118170738220215, -0.5701891183853149, 0.20520035922527313, 0.34893569350242615, -0.48871204257011414, 0.6815078258514404, -0.17066672444343567, -0.27042749524116516, 0.5435652732849121, 0.676888108253479, 0.45642000436782837, 0.23389273881912231, 0.29395318031311035, 0.5026355981826782, 0.3139682412147522, 0.16333848237991333, 0.7629314064979553, -0.5347612500190735, -0.01671116054058075, 0.8272365927696228, -0.528317391872406, 1.2372357845306396, 0.724453330039978, -0.4462288022041321, 0.4477598965167999, 0.359696626663208, 0.25872907042503357, 0.4722641408443451, 0.11611946672201157, -0.8195536136627197, -0.04934263974428177, -0.09398980438709259, -0.6945445537567139, 0.4085973799228668, 0.540156364440918, -0.32359856367111206, -0.06490599364042282, -0.01012179534882307, 0.2077043652534485, -0.09371410310268402, -0.42616334557533264, 0.6664013862609863, 0.41311702132225037, -0.10989011824131012, 0.5043210983276367, 0.5590234398841858, 1.0822380781173706, -0.9097696542739868, -0.07186505198478699, -0.19352123141288757, 0.062205079942941666, -0.0702843964099884, -0.4328443109989166, 0.2097347229719162, 0.38999032974243164, -0.33623772859573364, -0.6033619046211243, 0.7944294810295105, -0.5511797070503235, -0.7452264428138733, 0.30384430289268494, 0.6863732933998108, 0.3832830488681793, 0.2691316306591034, -0.7680939435958862, 0.5136227011680603, 0.11906987428665161, -0.013765827752649784, 0.3520595133304596, 0.08453354239463806, 0.040736015886068344, 0.8144197463989258, 0.7130460739135742, 0.4482036232948303, 0.15730157494544983, -0.03373459726572037, 0.632270336151123, -0.6411340236663818, -0.5530037879943848, -0.8237974047660828, 0.09236175566911697, 0.531056821346283, -0.2699047327041626, 0.8256545662879944, 0.5820407271385193, 0.7796566486358643, -0.07906227558851242, 0.9219644665718079, 0.18298421800136566, 0.5819265842437744, -0.7003284096717834, 1.0579849481582642, -0.2466522753238678, 0.39602696895599365, -0.1419534981250763, -0.7240126132965088, -0.08692216128110886, 0.9565126895904541, -0.3769119679927826, -0.012611651793122292, 0.40127480030059814, 0.8546497225761414, 0.10222593694925308, -0.14886394143104553, 0.3117699921131134, 0.3344976305961609, 0.13761833310127258, 0.5120345950126648, 1.0930718183517456, -0.7329667210578918, 0.8950870037078857, 0.35454654693603516, -0.10847019404172897, -0.36726489663124084, -0.5906814336776733, -0.542280912399292, -0.609081506729126, -0.4568350613117218, -0.45796677470207214, 0.3484492897987366, 0.957966685295105, 0.4043535888195038, -0.9853876829147339, -1.030464768409729, 0.16964279115200043, 0.10908037424087524, -0.3454951047897339, -0.05821962654590607, 0.17995159327983856, 0.026905696839094162, -0.7854334712028503, 0.45713168382644653, 0.49632611870765686, 0.2982662320137024, -0.15584443509578705, -0.4985896944999695, -0.1859801709651947, 0.17427873611450195, 0.3540230989456177, 0.5006616115570068, -1.0042065382003784, 0.1588635891675949, -0.05189773812890053, -0.31062033772468567, 0.07593359798192978, 0.8126824498176575, -0.6545031666755676, 0.172615647315979, 0.11493217200040817, 0.8317142128944397, 0.4769001603126526, -0.39429113268852234, 0.5332249999046326, -0.22107982635498047, 0.18487495183944702, 0.23623517155647278, 0.30024653673171997, 0.2900950014591217, 0.10016310960054398, 0.3313095271587372, 0.04983748123049736, -0.5247742533683777, -0.8378213047981262, 0.39187121391296387, -0.7529155611991882, 0.15104946494102478, 1.2349870204925537, 0.0448889322578907, -0.02718644216656685, -0.3845716118812561, -0.4321182072162628, 0.37715649604797363, -0.4774163067340851, 0.9237954616546631, 0.6970856189727783, -0.1487571895122528, -0.29139772057533264, -0.6858130693435669, 0.33670809864997864, 0.5033705234527588, -0.6696654558181763, -0.4761529862880707, 0.25683000683784485, 0.13343776762485504, -0.034722696989774704, 0.8016840815544128, -0.07859417796134949, 0.2970217168331146, -0.2797531187534332, 0.4121747612953186, -0.03192954137921333, -0.09592541307210922, -0.6702311038970947, -0.37164631485939026, 0.17383095622062683, -0.581229567527771 ]
http://arxiv.org/abs/2406.18118v2
http://arxiv.org/pdf/2406.18118v2
SafeAligner: Safety Alignment against Jailbreak Attacks via Response Disparity Guidance
2024-06-26T07:15:44
2024-06-28T06:06:59
Caishuang Huang, Wanxu Zhao, Rui Zheng, Huijie Lv, Shihan Dou, Sixian Li, Xiao Wang, Enyu Zhou, Junjie Ye, Yuming Yang, Tao Gui, Qi Zhang, Xuanjing Huang
cs.CR
cs.CR, cs.CL
As the development of large language models (LLMs) rapidly advances, securing these models effectively without compromising their utility has become a pivotal area of research. However, current defense strategies against jailbreak attacks (i.e., efforts to bypass security protocols) often suffer from limited adaptability, restricted general capability, and high cost. To address these challenges, we introduce SafeAligner, a methodology implemented at the decoding stage to fortify defenses against jailbreak attacks. We begin by developing two specialized models: the Sentinel Model, which is trained to foster safety, and the Intruder Model, designed to generate riskier responses. SafeAligner leverages the disparity in security levels between the responses from these models to differentiate between harmful and beneficial tokens, effectively guiding the safety alignment by altering the output token distribution of the target model. Extensive experiments show that SafeAligner can increase the likelihood of beneficial tokens, while reducing the occurrence of harmful ones, thereby ensuring secure alignment with minimal loss to generality.
[ -0.29117897152900696, -0.6967762112617493, 0.25519368052482605, -0.08441939949989319, -0.19088239967823029, 0.40754368901252747, 0.11112304776906967, -0.33333730697631836, 0.04378831386566162, 0.33984100818634033, -0.34372788667678833, -0.5257112383842468, -0.8494395613670349, 0.03822506591677666, -0.42738673090934753, 1.2524064779281616, 0.13676044344902039, -0.0007197177037596703, 0.1040244773030281, 0.012490340508520603, -0.740606963634491, -0.47967180609703064, -0.5403882265090942, -0.03381243348121643, 0.4858855605125427, 0.201351135969162, 0.967215895652771, 0.628606915473938, 1.0196473598480225, 0.2842049300670624, -0.47690171003341675, -0.05467762425541878, -0.3729745149612427, 0.4207802712917328, -0.43716779351234436, -0.3658110797405243, -0.6313058733940125, -0.045677006244659424, 0.2059626579284668, 0.2624571621417999, -0.26143506169319153, -0.05953697860240936, 0.10149750113487244, 0.9051697254180908, -0.8723976016044617, -0.32462844252586365, -0.7769571542739868, 0.018530189990997314, -0.26524117588996887, 0.27841028571128845, -0.6082704663276672, -0.4988902509212494, -0.14264953136444092, -0.21354341506958008, 0.24905352294445038, 0.3817041218280792, 0.5700823664665222, 0.23083576560020447, -0.41735726594924927, 0.02689599059522152, -0.6525619626045227, 0.5385428071022034, -0.4790286719799042, 0.061779748648405075, 0.36342573165893555, 0.429464191198349, -0.5373824238777161, -0.4800310730934143, -0.39025765657424927, 0.027270780876278877, -0.10872681438922882, -0.2013842761516571, -0.4260560870170593, 0.3237752914428711, 0.22621335089206696, 0.2059682160615921, -0.5294978618621826, 0.13370822370052338, -0.506122887134552, -0.3122824430465698, 0.6427364945411682, 0.44192975759506226, 0.4434261918067932, -0.13584370911121368, -0.4220120906829834, -0.2936856150627136, -0.9169312715530396, -0.003200183855369687, 0.3194544315338135, 0.4122544825077057, -0.22387690842151642, 0.5227586627006531, 0.05707533285021782, 0.7782522439956665, 0.4650142788887024, -0.13488131761550903, 0.007389854174107313, -0.2807936668395996, -0.06955782324075699, 0.54389888048172, 0.9091917872428894, 0.6621825098991394, -0.06467631459236145, -0.37763890624046326, -0.23973482847213745, 0.09243530035018921, 0.49150973558425903, -0.8298051953315735, -0.21196241676807404, 0.300184041261673, -0.4301599860191345, -0.8549134731292725, 0.19081759452819824, -1.0118812322616577, -1.005899429321289, 0.10932997614145279, 0.2767924964427948, -0.42338669300079346, -0.30077388882637024, 0.11135165393352509, -0.10901772230863571, 0.17392410337924957, -0.08722186088562012, -1.1198734045028687, 0.4277401268482208, 0.7782096266746521, 0.9564191699028015, 0.06470730900764465, -0.055325184017419815, -0.8995654582977295, 0.18390575051307678, -0.24069559574127197, 0.5310524106025696, -0.1494418978691101, -0.42858386039733887, -0.22249816358089447, -0.05651261284947395, -0.3267548978328705, -0.2991834580898285, 0.44107264280319214, -0.9713009595870972, -0.23522132635116577, 0.019926341250538826, -0.32121244072914124, -0.04269459471106529, 0.4380420446395874, -0.9299593567848206, 0.45232507586479187, 0.0385698527097702, -1.3081952333450317, 0.24209249019622803, -0.47938546538352966, -0.5289708971977234, -0.26558709144592285, 0.14014576375484467, -0.6173780560493469, 0.1862604320049286, 0.39436739683151245, 0.13361597061157227, -0.18201816082000732, 0.2180078774690628, -0.5356085896492004, -0.28450533747673035, 0.38756465911865234, -0.2364235371351242, 0.807331919670105, 0.6946220397949219, -0.41730910539627075, 0.24638648331165314, -0.8105984330177307, -0.11971975862979889, 0.22480282187461853, -0.11368095129728317, -0.604472815990448, 0.11124611645936966, -0.17588971555233002, 0.052525561302900314, 0.23916925489902496, -0.6067784428596497, -0.08455003052949905, -0.33575281500816345, 0.45419102907180786, 0.8232627511024475, -0.16225728392601013, 0.6995333433151245, -0.20466916263103485, 0.4723037779331207, 0.13298138976097107, 0.4783785343170166, -0.11441241949796677, -0.06588493287563324, -0.3899935185909271, -0.6355465054512024, 0.45415812730789185, 0.9714835286140442, -0.15259762108325958, 0.4313037097454071, 0.01327566523104906, -0.32768514752388, -0.6258888244628906, 0.26446661353111267, 0.5556456446647644, 0.5943445563316345, 0.4024006724357605, -0.2661115527153015, -0.6874887347221375, -0.6550491452217102, -0.4495735466480255, -0.2563285827636719, 0.21634544432163239, -0.6106839179992676, 0.04190830513834953, -0.1703299582004547, 0.8185651302337646, -0.4310188889503479, -0.2052682340145111, -0.5002227425575256, -0.21816903352737427, 0.26850637793540955, 0.6725720763206482, 0.6330562233924866, -0.6023697257041931, -0.29014143347740173, -0.19606798887252808, -0.8849894404411316, 0.06581603735685349, 0.05095180496573448, -0.2361210733652115, 0.014384583570063114, 0.8109071254730225, -0.620647132396698, 0.48489823937416077, 0.5004772543907166, -0.5557509064674377, -0.010986150242388248, -0.05046143755316734, -0.02908521145582199, -1.4649245738983154, -0.1613065004348755, -0.14313317835330963, -0.26463526487350464, -0.9477086663246155, 0.38863128423690796, 0.19888034462928772, -0.028704296797513962, -0.49254798889160156, 0.23251424729824066, -0.3079083263874054, 0.3355788290500641, -0.21301722526550293, 0.08893708884716034, -0.010694333352148533, -0.3163234293460846, -0.40448692440986633, 0.9343665838241577, 0.522031843662262, -0.25139951705932617, 0.26937752962112427, 0.43143486976623535, -0.2329965978860855, 0.5643500089645386, -0.9044577479362488, 0.3079378604888916, -0.4196719825267792, -0.05705473944544792, -0.8494581580162048, -0.341176837682724, 0.3983672857284546, -0.2301681935787201, 0.5940255522727966, -0.5529760718345642, -0.42189139127731323, -0.31182512640953064, -0.375880628824234, 0.5298125147819519, 0.563600480556488, -0.5570093393325806, 0.6384444832801819, 0.5291940569877625, -0.30676034092903137, -0.7565106153488159, -0.48550835251808167, 0.21021009981632233, -0.6808499693870544, -0.8458172678947449, 0.12171486765146255, 0.002868476090952754, -0.6649407148361206, -0.2707322835922241, -0.11745217442512512, -0.04613017663359642, 0.5129508376121521, 0.4356919825077057, 0.649833083152771, 0.04853455722332001, -0.2258199006319046, 0.19611163437366486, -0.39526307582855225, 0.19891774654388428, -0.1845141500234604, 0.39217275381088257, -0.4336014688014984, -0.4165889620780945, -0.42766043543815613, 0.442209392786026, 0.7915120124816895, -0.4027118682861328, 1.1870821714401245, 0.2047632932662964, -0.19157865643501282, 0.39840689301490784, -0.4152403175830841, -0.21040214598178864, -0.5674324035644531, 0.23480555415153503, -0.2647489607334137, -0.9897996187210083, 0.4763612449169159, 0.10356245934963226, 0.11077585071325302, 0.035811491310596466, 0.16699770092964172, 0.0419800840318203, 1.2247371673583984, 0.769149124622345, -0.548319935798645, 0.49516215920448303, 0.24518227577209473, 0.6298531293869019, -0.7102228999137878, -0.34461548924446106, -0.47524821758270264, -0.3022456467151642, -0.44489359855651855, -0.03661222755908966, 0.3014761507511139, 0.576822817325592, -0.5065217614173889, 0.565709114074707, -0.5932060480117798, 0.8392828702926636, 0.3469056487083435, 0.10341891646385193, 0.26644057035446167, 0.0492577850818634, -0.3237885534763336, -0.00976872444152832, -0.6226705312728882, -0.540721595287323, 1.1256741285324097, 0.474519819021225, 1.313279151916504, 0.5453190803527832, 1.1054911613464355, 0.31949886679649353, 0.2998550236225128, -0.43109890818595886, 0.4972991645336151, -0.030096419155597687, -0.8910256028175354, 0.06876529008150101, -0.19098728895187378, -0.8442087769508362, 0.32513627409935, -0.29571762681007385, -0.8838611841201782, 0.028683608397841454, 0.31309962272644043, -0.5426196455955505, 0.3859710097312927, -0.5780060887336731, 0.7781085968017578, -0.39571914076805115, -0.3744628429412842, 0.0037156755570322275, -1.0439398288726807, 0.6035047769546509, -0.17950423061847687, 0.3820461928844452, -0.18796676397323608, 0.46112918853759766, 0.41481441259384155, -0.5910300612449646, 0.8506707549095154, -0.23588377237319946, 0.23589307069778442, 0.335501104593277, 0.366169810295105, 0.6956161260604858, 0.169425830245018, -0.06391876190900803, -0.10630933940410614, -0.11017326265573502, -0.3186379075050354, -0.17120003700256348, 0.4694560468196869, -0.6122873425483704, -0.927714467048645, -0.5664129853248596, -0.8899859189987183, 0.12766101956367493, 0.41680699586868286, 0.17718768119812012, 0.15033367276191711, -0.34525159001350403, -0.10739622265100479, 1.1367700099945068, -0.07194868475198746, 0.46178126335144043, 0.2856000065803528, -0.1315615326166153, -0.8665359020233154, 0.3930620849132538, -0.49718692898750305, 0.34712955355644226, 0.13014452159404755, -0.1364574134349823, -0.3905131220817566, -0.6756361722946167, -0.3782087564468384, -0.0028209893498569727, -0.7224538326263428, -0.6144781708717346, -0.48937320709228516, -0.42360439896583557, -0.48266685009002686, -0.40856611728668213, -0.3781786561012268, -0.5756378769874573, -0.03893767669796944, -0.5869691371917725, 0.7574015259742737, 0.4691884517669678, -0.5098646283149719, 0.41486191749572754, -1.0828684568405151, 0.14984175562858582, 0.08088308572769165, -0.005281167104840279, -0.30149099230766296, -0.4006095826625824, -0.10438516736030579, -0.1008823812007904, -0.4611421227455139, -0.8717844486236572, 0.23121367394924164, -0.04393848031759262, 0.46801555156707764, 0.5776426196098328, 0.6278314590454102, 0.6106335520744324, -0.6772894263267517, 0.3899223804473877, 0.6192688941955566, -0.9223827123641968, 0.7640768885612488, -0.31911978125572205, 0.03306618705391884, 0.881432831287384, -0.037943802773952484, -0.24515098333358765, -0.6973830461502075, -0.15444490313529968, -1.05601966381073, 0.4001257121562958, 0.1673809140920639, 0.2784757912158966, -0.35872042179107666, 0.19387488067150116, -0.14801812171936035, 0.045932311564683914, -0.6885122656822205, 0.06434400379657745, -0.42572641372680664, -0.5766854286193848, 0.14675380289554596, -0.17018811404705048, -0.7864386439323425, 0.021211562678217888, 0.24030882120132446, 0.08816876262426376, 0.23695527017116547, 0.06133599579334259, -0.3285973370075226, 0.16317082941532135, 0.656478762626648, 0.5701090693473816, 0.16819064319133759, -0.3120184540748596, 0.514989972114563, 0.19850069284439087, -0.715711772441864, 0.6289369463920593, 0.48910775780677795, -0.3415790796279907, -0.2809680998325348, 0.16199561953544617, 0.4966711699962616, -0.3079085350036621, -0.36940690875053406, 0.5494304895401001, -0.40324169397354126, -0.01246225368231535, -0.10579198598861694, 0.40109387040138245, -0.16275238990783691, 0.4231649935245514, 0.11635950952768326, 0.32287079095840454, -0.15199914574623108, -0.013693517073988914, 0.22960779070854187, 0.5562847256660461, -0.6623865365982056, -0.16302426159381866, 1.2423228025436401, 0.21762321889400482, -0.2136201411485672, 0.8237689733505249, -0.01788683421909809, -0.5161289572715759, 0.6952983736991882, 0.869043231010437, 1.0317121744155884, -0.3705267608165741, -0.12620265781879425, 0.27040255069732666, 0.8715742230415344, -0.21771489083766937, 0.05905816704034805, 0.35263463854789734, -0.5663713216781616, 0.0025621552485972643, -0.47459569573402405, 0.02760341204702854, -0.13342402875423431, -1.0071301460266113, 0.07730024307966232, -1.012466311454773, -0.5255394577980042, -0.40197017788887024, -0.6444858908653259, -0.2913527190685272, -0.04611525312066078, 0.06154891848564148, 1.2270703315734863, -0.7701578736305237, 0.5781691074371338, 0.5725945830345154, -0.3608286380767822, -0.6933085322380066, 0.026248717680573463, 0.5674564242362976, -0.3897307515144348, 0.5722843408584595, 0.2999861538410187, -0.3898901343345642, -0.229344442486763, -0.29648658633232117, -0.9239023923873901, 1.1395694017410278, 0.312583327293396, -0.8200005292892456, 0.07903624325990677, 0.14323143661022186, 0.21470123529434204, -0.31205618381500244, -0.23535451292991638, 0.5667762160301208, 0.18877242505550385, -0.1791110336780548, -0.5954688787460327, 0.4192843735218048, -0.25657880306243896, 0.2822330594062805, 0.6935326457023621, -0.5178245306015015, 0.5684632062911987, -0.6444556713104248, -0.026506369933485985, 0.5434790253639221, 0.5893970131874084, 0.6622193455696106, 0.5042861700057983, 0.4606664180755615, 0.7391578555107117, 0.7235739231109619, -0.2380273938179016, 0.7992767691612244, -0.598803699016571, 0.0903392881155014, 0.9926709532737732, -0.38864925503730774, 0.6844128966331482, 0.6890665292739868, 0.19958052039146423, 0.4246515929698944, 0.5107376575469971, 0.019543249160051346, 1.259661078453064, 0.1753358393907547, -0.684937059879303, -0.14853572845458984, 0.26718905568122864, -0.5440563559532166, 0.14824800193309784, 0.2720986008644104, -0.45359331369400024, -0.19652336835861206, 0.07263893634080887, 0.5660271048545837, 0.08659518510103226, -0.3814699649810791, 0.7306485176086426, 0.1326647698879242, -0.5646303296089172, 0.5972816944122314, 0.20758767426013947, 0.406031996011734, -0.5509253144264221, 0.41730308532714844, -0.407812237739563, 0.6077880859375, -0.20206569135189056, -0.5127953886985779, 0.5996715426445007, 0.43040332198143005, -0.5062389373779297, 0.211585134267807, 0.8492438197135925, -0.10221289098262787, -0.40287601947784424, 0.32685014605522156, -0.10560755431652069, -0.3296458423137665, 0.474469393491745, -0.5610171556472778, 0.22706472873687744, -0.1918688416481018, 0.048633843660354614, 0.7139150500297546, 0.05459248274564743, -0.0926927849650383, 0.5877836346626282, 0.4962961673736572, -0.34767159819602966, 0.23054130375385284, -0.17132596671581268, 1.1131737232208252, -0.522974967956543, -0.40333080291748047, -1.109744668006897, 0.8236190676689148, -0.3096391260623932, 0.1941142976284027, 0.7651298642158508, 0.4271574914455414, 0.579359233379364, -0.0006373666692525148, 0.8259202837944031, -0.20530661940574646, 0.2769032120704651, -0.6044924855232239, 1.0591789484024048, 0.046570971608161926, 0.6860681176185608, -0.4494033455848694, -0.7211920619010925, -0.708857536315918, 0.8591522574424744, -0.35453006625175476, -0.3659127950668335, 0.5721537470817566, 1.1689485311508179, -0.09876929223537445, -0.07890201359987259, -0.08268745988607407, 0.02615194208920002, 0.46550488471984863, 0.5258461833000183, 1.0740294456481934, -0.5710382461547852, 0.7134093046188354, 0.0375906303524971, -0.3332701325416565, -0.00697031756862998, -1.089712381362915, -1.200973391532898, 0.14321304857730865, -0.15712173283100128, -0.9372647404670715, 0.5618431568145752, 0.8886655569076538, 0.6334185004234314, -0.935882568359375, -0.03796149045228958, -0.26202118396759033, 0.2777615487575531, -0.11317528039216995, -0.13489116728305817, 0.056988827884197235, -0.43410709500312805, -0.25492581725120544, 0.5500814914703369, 0.2708711624145508, 0.28381872177124023, 0.2753206193447113, -0.2566676139831543, 0.27630481123924255, 0.23221060633659363, 0.3013957142829895, 0.40083029866218567, -0.4878922402858734, -0.21602973341941833, 0.08635758608579636, -0.3098839819431305, -0.12081459909677505, 0.5766693949699402, -0.4061512351036072, 0.37126871943473816, 0.2888953983783722, 0.7246301174163818, -0.05453219264745712, -0.016527289524674416, 0.6954383254051208, -0.5009722709655762, 0.46882447600364685, -0.10424312949180603, 0.39206868410110474, 0.4429655373096466, -0.4675701856613159, 0.379647433757782, -0.06023143604397774, -0.5468301773071289, -0.9802497029304504, 0.5677984356880188, -0.7046664953231812, -0.14918920397758484, 0.8297625184059143, -0.28895020484924316, -0.29247722029685974, -0.21433599293231964, -0.194119393825531, 0.004209838341921568, -0.30279505252838135, 1.2565430402755737, 0.42750802636146545, 0.25005751848220825, -0.22108976542949677, -0.0126607995480299, 0.46308913826942444, 0.19737137854099274, -0.6496713757514954, 0.08431223034858704, 0.4064781963825226, 0.6570398807525635, 0.19303128123283386, 0.2909002900123596, -0.6052504777908325, 0.3688698410987854, 0.04446158558130264, -0.2609572410583496, -0.20336103439331055, -0.5131824016571045, -0.463524729013443, 0.11230860650539398, 0.4261196553707123, -0.49234774708747864 ]
http://arxiv.org/abs/2406.18116v1
http://arxiv.org/pdf/2406.18116v1
BADGE: BADminton report Generation and Evaluation with LLM
2024-06-26T07:07:52
2024-06-26T07:07:52
Shang-Hsuan Chiang, Lin-Wei Chao, Kuang-Da Wang, Chih-Chuan Wang, Wen-Chih Peng
cs.CL
cs.CL, cs.AI, cs.HC
Badminton enjoys widespread popularity, and reports on matches generally include details such as player names, game scores, and ball types, providing audiences with a comprehensive view of the games. However, writing these reports can be a time-consuming task. This challenge led us to explore whether a Large Language Model (LLM) could automate the generation and evaluation of badminton reports. We introduce a novel framework named BADGE, designed for this purpose using LLM. Our method consists of two main phases: Report Generation and Report Evaluation. Initially, badminton-related data is processed by the LLM, which then generates a detailed report of the match. We tested different Input Data Types, In-Context Learning (ICL), and LLM, finding that GPT-4 performs best when using CSV data type and the Chain of Thought prompting. Following report generation, the LLM evaluates and scores the reports to assess their quality. Our comparisons between the scores evaluated by GPT-4 and human judges show a tendency to prefer GPT-4 generated reports. Since the application of LLM in badminton reporting remains largely unexplored, our research serves as a foundational step for future advancements in this area. Moreover, our method can be extended to other sports games, thereby enhancing sports promotion. For more details, please refer to https://github.com/AndyChiangSH/BADGE.
[ -0.11217673122882843, -0.46455836296081543, 0.5489287972450256, 0.4665974974632263, -0.3498038351535797, 0.17336362600326538, -0.01811252348124981, -0.6614149808883667, 0.22648076713085175, 0.0180355217307806, -0.3781591057777405, -0.9032900929450989, -0.4352280795574188, 0.14127348363399506, -0.28563815355300903, 0.6740097403526306, -0.27281656861305237, 0.23571361601352692, -0.2514936923980713, -0.17095708847045898, -1.0159716606140137, -0.5523969531059265, -0.7524384260177612, -0.5245106220245361, 0.21685470640659332, 0.25209251046180725, -0.20385803282260895, 0.5586255788803101, 0.6669707298278809, 0.257167786359787, 0.20146742463111877, 0.35568463802337646, -0.6179063320159912, 0.41265636682510376, -0.23364391922950745, -0.46800246834754944, -0.6863370537757874, 0.25870057940483093, 0.6577876210212708, 0.2382129728794098, 0.07219237089157104, 0.5457201600074768, 0.18060816824436188, 0.5118618607521057, -0.4884820282459259, 0.7758861780166626, -0.4766480326652527, 0.03039594367146492, -0.3862878978252411, -0.5802566409111023, -0.48885640501976013, -0.31146425008773804, -0.5332937836647034, -0.4825812876224518, -0.11059898138046265, 0.26271748542785645, 0.7301998734474182, -0.22151152789592743, -0.28639063239097595, -0.28604257106781006, -0.7249675989151001, 0.5934503674507141, -0.4761952757835388, 0.012592107057571411, 0.5410861372947693, 0.6465065479278564, 0.0020013481844216585, -0.5366460084915161, -0.30074551701545715, -0.20935042202472687, 0.05923061817884445, 0.6464508771896362, 0.17569191753864288, -0.213211327791214, 0.02466008812189102, 0.17097756266593933, -0.7227792739868164, 0.17140816152095795, 0.015365343540906906, 0.2772902846336365, 0.9955888390541077, 0.6039900183677673, 0.30045267939567566, -0.22396260499954224, -0.2500222325325012, 0.24835705757141113, -0.7443491220474243, 0.22221533954143524, 0.19578960537910461, 0.5315285325050354, 0.03958089277148247, 0.45590800046920776, -0.21518398821353912, 0.4953462779521942, 0.4868102967739105, -0.2089613527059555, 0.011251126416027546, -0.1690184324979782, -0.06534839421510696, 0.24539652466773987, 0.6349745392799377, 0.9091389775276184, -0.19175997376441956, -0.2627507448196411, -0.32546380162239075, 0.18074741959571838, -0.1326197385787964, -0.9342242479324341, -0.12418863922357559, 0.28225794434547424, -0.6202248930931091, -0.4392086863517761, 0.29373684525489807, -0.41933581233024597, -0.6166322231292725, -0.2684752345085144, 0.6100789308547974, -0.46507513523101807, -0.22041238844394684, -0.0238443985581398, -0.06796039640903473, 0.768831729888916, 0.3770574927330017, -0.8849653601646423, 0.12357918918132782, 0.8536484837532043, 0.8626476526260376, -0.3851627707481384, -0.2681748569011688, -0.9762433767318726, 0.45000430941581726, -0.33441153168678284, 0.9410369396209717, -0.6421886086463928, -0.6452242732048035, 0.33257371187210083, -0.11902438849210739, -0.0011851699091494083, -0.5532217621803284, 0.07550434023141861, -0.47791406512260437, -0.1431429535150528, -0.42624029517173767, -0.8982630372047424, 0.17978817224502563, 0.4827544391155243, -0.4325224459171295, 1.1317157745361328, 0.23995986580848694, -0.600058913230896, 0.8953502774238586, -0.7826308608055115, -0.7353893518447876, 0.7326793670654297, -0.34152883291244507, -0.42794960737228394, 0.05824164301156998, 0.19730709493160248, 0.4048365354537964, -0.4885331392288208, 0.14365288615226746, -0.3307357132434845, -0.8722937107086182, 0.2728084325790405, 0.13141505420207977, 0.39320680499076843, -0.13584548234939575, -0.3891380727291107, 0.3106040060520172, -0.6101518869400024, 0.1639225333929062, -0.1003812849521637, -0.4936388432979584, 0.07990862429141998, 0.2629352807998657, -0.0031220568343997, 0.06571871787309647, 0.17323513329029083, -0.6112788319587708, 0.18866795301437378, -0.25261130928993225, 0.11981622129678726, 1.0565351247787476, 0.07097279280424118, 0.1730438619852066, -0.40719762444496155, 0.7413792014122009, -0.3194918930530548, 0.5568919777870178, -0.08240705728530884, -0.41539832949638367, -0.29125651717185974, -0.3427315950393677, 0.3714500963687897, 0.3732295036315918, -0.597650945186615, 0.5764631032943726, -0.33661437034606934, -0.5431543588638306, -0.4865553081035614, 0.058916375041007996, 0.24179118871688843, 0.40018290281295776, 0.11925259977579117, -0.37493714690208435, -0.5364625453948975, -0.5602377653121948, -0.44368138909339905, -0.4802660048007965, 0.09957757592201233, 0.5840144157409668, 0.3982946276664734, 0.06468094140291214, 0.8001404404640198, -0.6727979183197021, -0.502220094203949, -0.49516361951828003, 0.27074843645095825, 0.11049333214759827, 0.34351301193237305, 0.7737696766853333, -0.5688586831092834, -0.9936317801475525, -0.02671738900244236, -0.9823344349861145, -0.28582578897476196, 0.002989876549690962, -0.26338183879852295, 0.16505900025367737, 0.355392187833786, -0.26671093702316284, 0.6294423341751099, 0.31432077288627625, -0.3070400059223175, 0.8374173641204834, 0.0651826336979866, 0.5635417103767395, -0.9283615946769714, 0.35281315445899963, -0.1910093128681183, -0.44077467918395996, -0.18236011266708374, 0.0046477653086185455, -0.037979185581207275, 0.01498423982411623, -0.31936338543891907, 0.660833477973938, -0.4888789653778076, 0.04379546642303467, -0.5374457240104675, -0.045871466398239136, -0.08510354906320572, 0.16183820366859436, -0.15038686990737915, 0.6502622961997986, 0.530985414981842, -0.5515638589859009, 0.47656598687171936, 0.15611571073532104, -0.5583120584487915, 0.921914279460907, -0.3482282757759094, 0.043196696788072586, -0.08809184283018112, 0.2143460512161255, -1.1297606229782104, -0.44713523983955383, 0.17751723527908325, -0.42410826683044434, 0.6118139624595642, -0.2760544717311859, -0.6381340622901917, -0.6584176421165466, -0.6467993855476379, 0.26699593663215637, 0.5022447109222412, -0.6853047013282776, 0.42003074288368225, 0.7714726328849792, 0.02700730599462986, -0.0690256729722023, -0.6296926140785217, 0.1847238838672638, -0.3116104006767273, -0.21147839725017548, 0.1943664401769638, -0.4329357147216797, -0.03931669518351555, -0.16931450366973877, -0.3645094037055969, -0.08453672379255295, 0.16154900193214417, 0.4394741356372833, 0.20134098827838898, -0.05730234831571579, 0.09273703396320343, -0.28863999247550964, -0.056015495210886, 0.12700262665748596, -0.2722730040550232, 0.541262149810791, -0.047945763915777206, -0.2791706621646881, -0.5633925795555115, 0.5836812257766724, 0.1548081785440445, -0.121666818857193, 0.6131660342216492, 0.4706345796585083, -0.0459601916372776, -0.415458083152771, -0.2834267318248749, -0.010863964445888996, -0.5130943655967712, 0.23808735609054565, -0.5818057060241699, -0.7770226001739502, 0.4121814966201782, -0.209653839468956, -0.18721097707748413, 0.46834686398506165, 0.5081615447998047, -0.2531437873840332, 1.3101670742034912, 0.6691972017288208, -0.16914260387420654, 0.24811309576034546, 0.07440025359392166, 0.0861748680472374, -0.7625712752342224, -0.2690223455429077, -0.2949022352695465, -0.376818984746933, -0.4229828417301178, -0.0548173263669014, 0.33032798767089844, -0.023925824090838432, -0.24868933856487274, 0.03319445624947548, -0.4687003195285797, 0.901360273361206, 0.24428591132164001, 0.1281871795654297, 0.07007481902837753, -0.3562881648540497, 0.03750813752412796, -0.17875437438488007, -0.5636255145072937, -0.3522205948829651, 1.1139650344848633, -0.20508696138858795, 0.6894428730010986, 0.35493752360343933, 1.0230244398117065, 0.6367480754852295, 0.8436872363090515, -0.6904391050338745, 0.749198317527771, -0.0607525072991848, -0.39865294098854065, -0.03581937402486801, -0.3004375100135803, -0.8158186078071594, -0.15201826393604279, -0.03329703211784363, -0.6034378409385681, -0.4205012321472168, 0.05102230980992317, -0.28375178575515747, 0.2731246054172516, -0.350016325712204, 0.416366845369339, -0.3461509346961975, -0.5022279620170593, 0.33283594250679016, -0.46550238132476807, 0.7907719612121582, -0.37481966614723206, 0.10699839890003204, -0.07119997590780258, 0.2730301022529602, 0.8905787467956543, -0.4820857644081116, 0.9297536611557007, -0.41098248958587646, 0.06287554651498795, 0.316030889749527, 0.25555506348609924, 0.29819509387016296, 0.10559387505054474, -0.14502553641796112, -0.3505336344242096, -0.1324901580810547, -0.2194921374320984, -0.4384707510471344, 0.8611670732498169, -0.530478835105896, -0.6109248995780945, -0.6838337779045105, -0.3955211341381073, -0.3283333480358124, 0.27919891476631165, 0.07097064703702927, 0.271587073802948, -0.42891064286231995, -0.041483018547296524, 0.1643492579460144, -0.21803325414657593, 0.3709055483341217, 0.8019041419029236, -0.6553351283073425, -0.18327002227306366, 0.8978373408317566, 0.31267818808555603, -0.3419356346130371, 0.41523438692092896, 0.21078555285930634, -0.4998985230922699, -0.7063930630683899, -0.03140227869153023, 0.21912239491939545, -0.7202094197273254, -0.4786927103996277, 0.06502412259578705, -0.21769143640995026, -0.5991129875183105, 0.06810801476240158, -0.2249685674905777, -0.19863395392894745, 0.04411656782031059, -0.25127995014190674, 0.2700587809085846, 1.2016699314117432, -0.23987312614917755, 0.3308039605617523, -0.5421114563941956, 0.10182871669530869, 0.21282371878623962, 0.7853633761405945, 0.0015310132876038551, -0.5896429419517517, -0.30177077651023865, -0.3808027505874634, -0.18701013922691345, -0.6578091979026794, 0.29788804054260254, -0.028370250016450882, 0.5347539782524109, 0.25424924492836, 0.051815230399370193, 0.8439099788665771, -0.7018356919288635, 1.023380160331726, 0.3320256471633911, -0.8852888345718384, 0.6997602581977844, -0.5208401679992676, 0.2129061222076416, 0.6449553370475769, 0.12407373636960983, -0.3760107159614563, -0.3506779074668884, -0.33938920497894287, -1.1122093200683594, 0.7398818731307983, -0.045245494693517685, -0.20392495393753052, -0.3419409394264221, 0.4799741506576538, 0.21509207785129547, 0.2438630312681198, -0.5566253066062927, -0.22892728447914124, -0.10333725064992905, -0.13519468903541565, -0.15290088951587677, -0.32484427094459534, -0.1513894498348236, -0.2962226867675781, 0.6383569836616516, -0.048299454152584076, 0.21868246793746948, -0.13152116537094116, -0.3023492991924286, 0.025105051696300507, -0.051494091749191284, 0.5236833095550537, 0.8696151375770569, -0.4605782628059387, 0.020807405933737755, 0.040114857256412506, -0.21285292506217957, 0.09544333070516586, -0.13440366089344025, -0.25710591673851013, -0.14613579213619232, 0.4721623659133911, 0.3336058259010315, 0.21867257356643677, -0.26826879382133484, 0.6217983365058899, -0.19310419261455536, -0.45418304204940796, -0.06616111099720001, -0.12023996561765671, 0.12854626774787903, 0.18157537281513214, 0.2613403797149658, -0.3764805197715759, -0.02876647748053074, -0.5095374584197998, 0.40718039870262146, 0.3902578055858612, -0.3353961408138275, -0.4996066689491272, 0.962107241153717, 0.45717689394950867, -0.17502030730247498, 0.15481089055538177, -0.4981003999710083, -0.43976837396621704, 0.22218790650367737, 0.7622585296630859, 0.8317261338233948, -0.2817547619342804, 0.41093096137046814, 0.3881421685218811, 0.0956941694021225, 0.08235421776771545, 0.5662228465080261, 0.014387222006917, -0.16845335066318512, -0.5597383379936218, -0.8377776145935059, -0.29257604479789734, 0.2833921015262604, -0.5136939883232117, -0.10105713456869125, -0.5482954978942871, -0.3329983055591583, -0.1008310317993164, 0.22840650379657745, -0.6289874911308289, -0.031561996787786484, 0.3329881727695465, 0.8657557368278503, -0.908428966999054, 0.6251847743988037, 0.4427836537361145, -0.7754023671150208, -0.8307055830955505, -0.03203415870666504, 0.0651167631149292, -0.8510885834693909, 1.1227169036865234, 0.36383360624313354, -0.14901481568813324, -0.11813794821500778, -0.589431881904602, -0.23514851927757263, 1.2134342193603516, -0.050372686237096786, -0.39275887608528137, 0.29982879757881165, 0.4474414885044098, 0.3011232018470764, -0.4750877022743225, 0.15838906168937683, 0.5434907674789429, 0.7604836821556091, -0.04776780679821968, -0.6217126846313477, 0.11903376132249832, -0.2522917091846466, -0.016258861869573593, -0.0019444728968665004, -0.9632304310798645, 0.7244900465011597, 0.3500329256057739, -0.2145387828350067, 0.28066885471343994, 0.6090191006660461, 0.2412276417016983, 0.16967511177062988, 0.16309630870819092, 0.2628905773162842, 1.0336326360702515, -0.022739160805940628, 1.1481554508209229, -0.298330157995224, 0.2663434147834778, 1.2743979692459106, -1.1416422128677368, 0.688728392124176, 0.23159193992614746, -0.08220408111810684, 0.13938908278942108, 0.5707802772521973, -0.3220239579677582, 0.3362877368927002, 0.5518242716789246, -0.3601241409778595, -0.3700762987136841, -0.08637682348489761, -0.2433575987815857, 0.7355079650878906, -0.13189579546451569, -0.11241103708744049, -0.35019412636756897, -0.010188502259552479, -0.07378095388412476, 0.17471915483474731, -0.4926774203777313, 0.7420767545700073, -0.11502411961555481, -0.561582624912262, 0.2551197409629822, 0.11014187335968018, 0.506209135055542, -0.6611218452453613, -0.1143350675702095, -0.38461828231811523, 0.45513418316841125, -0.05767494812607765, -0.8652230501174927, -0.032826151698827744, 0.3808659017086029, -0.2625533640384674, -0.27205923199653625, 0.6861922740936279, -0.32403695583343506, -0.5043318271636963, 0.30202603340148926, 0.42168712615966797, 0.3383824825286865, -0.058911655098199844, -0.5677014589309692, 0.15503603219985962, -0.24518752098083496, -0.07737872749567032, 0.5602407455444336, 0.3637547492980957, -0.05594068765640259, 0.4905370771884918, 0.43854761123657227, 0.3260190486907959, -0.05261514335870743, 0.3261892795562744, 0.6062241196632385, -0.6874906420707703, -0.5365140438079834, -0.9476890563964844, 0.20390892028808594, -0.32869306206703186, -0.10881562530994415, 1.1400372982025146, 1.282103419303894, 0.1498863399028778, -0.0771225318312645, 0.9863013029098511, 0.06337770819664001, 0.49325597286224365, -0.3764609098434448, 1.157796859741211, -0.29795902967453003, 0.2346022129058838, 0.01677156612277031, -0.5992348790168762, -0.6473437547683716, 0.18053670227527618, -0.18053999543190002, -0.1396285593509674, 0.6219620704650879, 0.47104838490486145, 0.043859682977199554, -0.09898967295885086, 0.28348055481910706, 0.24364420771598816, 0.8245501518249512, 0.6605492830276489, 0.8182540535926819, -0.3057405352592468, 0.5064801573753357, 0.4584396779537201, -0.5596296787261963, -0.44934338331222534, -0.8393221497535706, -1.1901848316192627, -0.3636695146560669, -0.25688624382019043, -0.3905618190765381, 0.21736884117126465, 0.5642838478088379, 0.5393921732902527, -0.6653291583061218, -0.4922553300857544, 0.3522445857524872, -0.21178759634494781, -0.1995142698287964, -0.27687308192253113, 0.6920905113220215, -0.5179010629653931, -0.5244120359420776, 0.4741836190223694, 0.47646859288215637, -0.2968099117279053, 0.09828869253396988, -0.26270052790641785, -0.49508652091026306, 0.07757499068975449, 0.9331108331680298, 0.3905511200428009, -0.2584743797779083, -0.5576105713844299, -0.18516051769256592, -0.00904972106218338, 0.16298404335975647, 0.5172138810157776, -0.7075964212417603, 0.47912129759788513, 0.3676453232765198, 0.5445025563240051, 0.7376309037208557, 0.00948917493224144, 0.6050546765327454, -0.7673823237419128, -0.27388638257980347, 0.1312900334596634, 0.1383715718984604, 0.23779356479644775, -0.04555502533912659, 0.5800299048423767, 0.38469406962394714, -0.4632002115249634, -1.020643711090088, 0.0856102779507637, -0.8799818754196167, -0.23358917236328125, 1.1128337383270264, -0.04663382098078728, -0.558724045753479, 0.07004797458648682, -0.190479576587677, 0.21201340854167938, -0.165746808052063, 0.8453661203384399, 0.8724441528320312, -0.44065117835998535, 0.44804906845092773, -0.24875551462173462, 0.6666469573974609, -0.04655708745121956, -0.8079490661621094, 0.2969346046447754, 0.28113433718681335, 0.44539186358451843, -0.43977683782577515, 0.9998916983604431, -0.16408494114875793, 0.42900553345680237, 0.015353180468082428, -0.11979455500841141, -0.2811690866947174, -0.15782883763313293, 0.04470183700323105, 0.3143458068370819, 0.11567240953445435, -0.31563204526901245 ]
http://arxiv.org/abs/2406.18108v1
http://arxiv.org/pdf/2406.18108v1
Token-Weighted RNN-T for Learning from Flawed Data
2024-06-26T06:48:11
2024-06-26T06:48:11
Gil Keren, Wei Zhou, Ozlem Kalinli
cs.CL
cs.CL, cs.LG, cs.SD, eess.AS
ASR models are commonly trained with the cross-entropy criterion to increase the probability of a target token sequence. While optimizing the probability of all tokens in the target sequence is sensible, one may want to de-emphasize tokens that reflect transcription errors. In this work, we propose a novel token-weighted RNN-T criterion that augments the RNN-T objective with token-specific weights. The new objective is used for mitigating accuracy loss from transcriptions errors in the training data, which naturally appear in two settings: pseudo-labeling and human annotation errors. Experiments results show that using our method for semi-supervised learning with pseudo-labels leads to a consistent accuracy improvement, up to 38% relative. We also analyze the accuracy degradation resulting from different levels of WER in the reference transcription, and show that token-weighted RNN-T is suitable for overcoming this degradation, recovering 64%-99% of the accuracy loss.
[ 0.28452417254447937, -0.35737964510917664, 0.15871864557266235, 0.061021532863378525, -0.4266228675842285, 0.24382759630680084, -0.1902044713497162, -0.1103624701499939, 0.2563812732696533, 0.08421622961759567, -0.280636191368103, -0.5409163236618042, -0.8233334422111511, 0.3377302587032318, -0.4696212708950043, 1.1949522495269775, 0.03826684132218361, 0.6737024188041687, -0.09227181226015091, -0.28307589888572693, -0.35921257734298706, -0.6967876553535461, -0.8584203720092773, -0.3660582900047302, 0.9248178005218506, 0.34157997369766235, 0.21465380489826202, 0.6025605201721191, 0.6313774585723877, 0.20775474607944489, -0.11705151945352554, 0.07755155861377716, -0.4835493564605713, -0.2230835258960724, -0.05365372449159622, -0.8632677793502808, -0.4633331000804901, -0.0003676902560982853, 0.6771571636199951, 0.5398762226104736, -0.12209372222423553, 0.4631749093532562, -0.07923057675361633, 0.43470481038093567, -0.6044883728027344, -0.11656901985406876, -0.45033150911331177, 0.4281916320323944, -0.38174352049827576, -0.5279998779296875, -0.4727291464805603, -0.2760293483734131, 0.04382268711924553, -0.5689114928245544, 0.3705526292324066, 0.15719817578792572, 0.7882139086723328, 0.5984414219856262, -0.3056257665157318, 0.011158243753015995, -0.5121855735778809, 0.9482038021087646, -0.7147954702377319, 0.4547251760959625, 0.5275503396987915, 0.024480409920215607, 0.08995760232210159, -0.772419273853302, -0.36245080828666687, -0.19591699540615082, 0.04606282711029053, 0.18357782065868378, -0.15425245463848114, 0.04099284112453461, 0.45323920249938965, 0.10809814184904099, -0.37507668137550354, -0.018852967768907547, -0.6544983983039856, -0.7963576912879944, 0.23926645517349243, -0.09809457510709763, 0.43320775032043457, -0.08504887670278549, -0.4740706980228424, -0.3365311026573181, -0.5494554042816162, -0.04518736153841019, 0.5170611143112183, 0.5871586203575134, -0.06464985013008118, 0.786547064781189, 0.21586103737354279, 0.8683574795722961, 0.15923377871513367, -0.2437961995601654, 0.6012440919876099, -0.2948024868965149, -0.14267075061798096, 0.4996285140514374, 0.49636468291282654, 0.29080772399902344, 0.14156033098697662, -0.47999894618988037, -0.5183351635932922, 0.0882221907377243, 0.30304914712905884, -0.6201572418212891, -0.25412610173225403, -0.044735003262758255, -0.5892404913902283, -0.4887411892414093, 0.4733850955963135, -0.27428576350212097, -0.15444199740886688, -0.4472184479236603, 0.9147701263427734, -0.3494696617126465, -0.013781430199742317, 0.0713968425989151, -0.706653892993927, -0.096480593085289, 0.013319037854671478, -0.2711479067802429, 0.1259208768606186, 0.4499754011631012, 1.0804531574249268, -0.27832257747650146, -0.0256219319999218, -0.9409664869308472, 0.10913880169391632, -0.2229083627462387, 0.4511030614376068, -0.4417172074317932, -0.38161346316337585, -0.4730433225631714, -0.4636067748069763, 0.0170730110257864, -0.4574897289276123, 0.6854522228240967, -0.3939126431941986, 0.23966766893863678, -0.5090205669403076, -0.5392940640449524, 0.06674746423959732, 0.25131359696388245, -0.6121721863746643, 0.8856302499771118, 0.29322123527526855, -0.9884850978851318, 0.6703147888183594, -0.5309634804725647, -0.8301771283149719, -0.3217852711677551, 0.06900934875011444, -0.8809625506401062, 0.26968419551849365, 0.0968729630112648, 0.1062038391828537, -0.18043392896652222, 0.3435765206813812, -0.22662080824375153, -0.617386519908905, 0.35327205061912537, -0.30856624245643616, 0.803855299949646, 0.06547056138515472, -0.5379718542098999, 0.19520676136016846, -0.9267941117286682, 0.08912652730941772, -0.2016471028327942, -0.4686211347579956, -0.4053005278110504, -0.487183153629303, 0.14234371483325958, 0.2448030412197113, 0.03353669121861458, -0.8427940607070923, 0.01438524667173624, -0.18205846846103668, 0.494533509016037, 0.8423840999603271, -0.016536107286810875, 0.445455402135849, -0.6379920840263367, 0.40600672364234924, 0.35203370451927185, 0.2018759548664093, 0.42271649837493896, -0.34997421503067017, -0.6185401678085327, -0.49887895584106445, 0.8573901057243347, 0.5733374357223511, -0.9109541773796082, 0.6592153906822205, -0.3241855502128601, -0.37642359733581543, -0.6515939235687256, 0.06654087454080582, 0.8095439672470093, 1.1067280769348145, 0.7992319464683533, -0.5209817290306091, -1.034057855606079, -0.6143890619277954, -0.6488566398620605, -0.28040561079978943, -0.35146698355674744, 0.11153966188430786, 0.16367101669311523, -0.19781853258609772, 0.9222190380096436, 0.007579326629638672, -0.664903998374939, -0.1795605719089508, 0.5364295840263367, -0.041673172265291214, 0.6982212662696838, 0.13370001316070557, -0.8734948039054871, -0.3014712929725647, -0.4319034218788147, -0.2861658036708832, -0.3314736485481262, -0.1193007081747055, 0.2036285251379013, 0.1170358806848526, 0.43733423948287964, -0.2959229648113251, 0.7348167300224304, 0.15772788226604462, -0.2936702072620392, 0.2638920545578003, -0.34624966979026794, 0.04071822017431259, -0.9669409394264221, 0.10721918195486069, 0.28026092052459717, -0.3155441880226135, -0.5829085111618042, -0.497715026140213, 0.266657292842865, 0.2804218530654907, -0.3266812264919281, 0.5307475328445435, -0.21389447152614594, -0.10392893105745316, 0.07203363627195358, -0.24146655201911926, 0.017810311168432236, 0.29304540157318115, 0.03044518269598484, 0.6151771545410156, 0.3059859871864319, -0.37662839889526367, 0.09795068949460983, 0.3251403272151947, -0.17364755272865295, 0.5638260245323181, -0.8091762661933899, 0.1875876486301422, -0.25463610887527466, 0.5087310075759888, -0.6964281797409058, 0.05724436789751053, 0.36047619581222534, -0.6733740568161011, 0.7053518891334534, -0.15967044234275818, -0.4028274714946747, -0.4320949614048004, -0.32044047117233276, 0.7113379836082458, 0.459481418132782, -0.409458190202713, 0.6578012108802795, 0.0644146054983139, 0.30330219864845276, -0.8804728984832764, -1.1514073610305786, 0.19157291948795319, -0.3155703842639923, -0.13590197265148163, 0.3005075454711914, 0.28040722012519836, 0.03464306518435478, 0.07331950962543488, -0.5981349945068359, 0.26325663924217224, -0.1187032088637352, 0.19238519668579102, 0.20648039877414703, -0.17949412763118744, 0.08627939224243164, -0.3477862775325775, -0.32841217517852783, -0.21578103303909302, -0.9134104251861572, 0.2716887891292572, 0.2240227460861206, -0.3584083020687103, -0.7697349190711975, -0.14953243732452393, 0.3024897575378418, -0.19472242891788483, 0.7313097715377808, 0.8984436988830566, -0.33414506912231445, -0.1094064861536026, -0.6588443517684937, -0.3570437431335449, -0.3765196204185486, 0.4383808374404907, -0.1299888789653778, -0.5980947613716125, 0.5978035926818848, 0.28767603635787964, -0.2551676332950592, 0.4921410381793976, 0.30206263065338135, -0.3879055380821228, 0.7277841567993164, 0.4650764763355255, -0.28347739577293396, 0.7322567701339722, -0.2312784641981125, 0.2638324797153473, -0.8578251004219055, -0.4859110414981842, -0.610285758972168, -0.8955596089363098, -0.22154709696769714, -0.6228007674217224, 0.5838327407836914, -0.29806995391845703, -0.485649049282074, 0.20066410303115845, -0.47587427496910095, 0.12539644539356232, 1.0275744199752808, 0.7136960029602051, 0.1290617734193802, 0.08759570866823196, -0.19770854711532593, 0.15308919548988342, -0.755837619304657, -0.0741870105266571, 1.4972294569015503, 0.1945676952600479, 0.8123809695243835, -0.051659371703863144, 0.8370067477226257, 0.6697553396224976, 0.3513566255569458, -0.5201426148414612, 0.09774517267942429, -0.2635210156440735, -0.654316246509552, -0.5911049246788025, -1.0712647438049316, -0.5848438739776611, -0.2768639922142029, -0.1631627231836319, -0.5625233054161072, 0.2169857621192932, 0.504712700843811, -0.30664464831352234, 0.6092963814735413, -0.5061621069908142, 0.8559344410896301, -0.37793323397636414, 0.11399291455745697, 0.146511048078537, -1.1014717817306519, 0.042657747864723206, -0.13489702343940735, -0.1075015515089035, 0.24966387450695038, -0.29371097683906555, 1.0765480995178223, -0.8026401996612549, 0.9133991599082947, -0.6429341435432434, 0.31111159920692444, 0.2410896122455597, -0.24063917994499207, 0.7496700882911682, -0.33725541830062866, -0.28768840432167053, 0.3043982684612274, -0.236996129155159, -0.527469277381897, -0.5536060333251953, -0.034899476915597916, -0.8053189516067505, -0.1669999659061432, -0.3652263581752777, -0.4064205586910248, -0.21345610916614532, 0.15797898173332214, 0.6496843099594116, 0.7718884944915771, 0.287279337644577, 0.36714473366737366, 0.638882040977478, -0.08359815180301666, 0.07602845132350922, 0.09329745173454285, 0.3624373972415924, -0.617303192615509, 1.1609623432159424, 0.2752460241317749, 0.2711468040943146, 0.49559614062309265, 0.45266738533973694, -0.44663071632385254, -0.8787686228752136, -0.33153587579727173, -0.11426835507154465, -0.6972700357437134, -0.7823997735977173, -0.6499180197715759, -0.00883087981492281, -0.07112546265125275, 0.13094055652618408, -0.24893730878829956, -0.6769020557403564, -0.5294288992881775, -0.36427292227745056, 0.40444859862327576, 0.21384428441524506, -0.26647835969924927, 0.4261091351509094, -0.7242581844329834, 0.47085142135620117, -0.14117413759231567, 0.3559330999851227, -0.06897248327732086, -1.1856127977371216, -0.015008705668151379, 0.29689010977745056, 0.1631108671426773, -0.43994033336639404, 0.06337559223175049, 0.5306267142295837, 0.3470991551876068, 0.2990233898162842, 0.26059386134147644, 0.9450086951255798, -0.38739076256752014, 0.4931110441684723, 0.533990740776062, -1.0167967081069946, 0.3363497853279114, -0.06691617518663406, 0.12491834908723831, 0.7448946833610535, -0.002152979141101241, -0.5585336685180664, -0.5603765249252319, -0.7462724447250366, -0.916476309299469, 0.7347167730331421, 0.27896013855934143, -0.0058108787052333355, 0.1458951234817505, 0.6769792437553406, 0.05092186853289604, 0.11822862923145294, -0.7089934349060059, -0.35958823561668396, -0.413034588098526, -0.6869795918464661, -0.13196015357971191, -0.15276657044887543, -0.05241885036230087, -0.36203667521476746, 0.8948349952697754, -0.11242514848709106, 0.04598996788263321, 0.5561555027961731, -0.44012513756752014, -0.3878386318683624, -0.20780742168426514, 0.5463314056396484, 0.5878303647041321, -0.1788390874862671, 0.21601206064224243, 0.3713201582431793, -0.6847374439239502, 0.2737475335597992, -0.03625677525997162, -0.42874330282211304, -0.14575044810771942, 0.5771304965019226, 0.6149824261665344, 0.35573050379753113, -0.43471235036849976, 0.7591567635536194, -0.21349294483661652, -0.10638025403022766, -0.05255928635597229, -0.12998798489570618, -0.15423183143138885, 0.04490013048052788, 0.7014866471290588, 0.6594886779785156, -0.027112405747175217, -0.35653963685035706, 0.6908246278762817, 0.3127923011779785, -0.6897879242897034, -0.2530679404735565, 0.787484347820282, -0.00854394119232893, -0.353595495223999, 0.6508257985115051, -0.07476595789194107, -0.7715478539466858, 0.5813331007957458, 0.5387933850288391, 0.8296029567718506, -0.16292022168636322, 0.15392260253429413, 0.4082358777523041, 0.26219794154167175, -0.5094790458679199, 0.35818570852279663, -0.14535468816757202, -0.6329695582389832, -0.28251922130584717, -0.7302882671356201, -0.17045871913433075, -0.37610283493995667, -0.9029046297073364, 0.39721420407295227, -0.5874249935150146, -0.49961262941360474, -0.11636420339345932, -0.2552395761013031, -0.6533844470977783, 0.49835205078125, -0.043195441365242004, 0.8021485209465027, -0.9056151509284973, 0.723110556602478, 0.65223628282547, -0.46385374665260315, -0.9734161496162415, 0.13799850642681122, 0.034134071320295334, -0.7095808386802673, 0.8659684062004089, -0.09905942529439926, -0.03397904708981514, 0.0559510812163353, -0.2769327163696289, -0.9564292430877686, 0.9838647842407227, 0.38339757919311523, -0.5961306691169739, -0.14236024022102356, 0.22880470752716064, 0.5801371335983276, 0.03253662586212158, 0.09818375110626221, 0.30294179916381836, 0.6091323494911194, 0.3313649594783783, -0.9215484261512756, 0.14365367591381073, -0.011753860861063004, -0.18806171417236328, 0.25135162472724915, -0.6486544609069824, 0.5317285656929016, -0.17628121376037598, 0.06536668539047241, 0.007931984961032867, 0.6119174957275391, 0.06733155250549316, 0.497547447681427, 0.7303608655929565, 0.7537201046943665, 0.9487520456314087, -0.2756496071815491, 0.9072044491767883, 0.18178194761276245, 0.20107397437095642, 1.1495906114578247, 0.1066509261727333, 0.5020841956138611, 0.6742133498191833, -0.2135123610496521, 0.24567343294620514, 0.7443346977233887, -0.2341817170381546, 0.5938172936439514, 0.6459789276123047, -0.0031106318347156048, -0.12388090044260025, -0.06700561940670013, 0.0005439679371193051, 0.38287943601608276, 0.07885048538446426, -0.2743012011051178, 0.08977043628692627, 0.15445367991924286, -0.3036719560623169, -0.0930589884519577, -0.4819878339767456, 0.7463853359222412, 0.21800972521305084, -0.28474321961402893, 0.2429261952638626, -0.0018552367109805346, 0.8454135060310364, -0.3024289608001709, 0.1823439747095108, -0.05017053335905075, 0.11741843074560165, -0.39541658759117126, -0.04866651073098183, 0.3777792751789093, 0.09357703477144241, -0.12623897194862366, -0.23717151582241058, 0.6798073053359985, -0.5186304450035095, -0.8672027587890625, 0.02255573496222496, 0.1547337770462036, 0.006755842827260494, 0.06541361659765244, -0.6432263851165771, 0.010346527211368084, 0.06328138709068298, -0.15619809925556183, 0.07923807948827744, 0.4459771513938904, -0.12282434105873108, 0.6145507097244263, 0.6385231018066406, 0.42493030428886414, 0.13627108931541443, 0.2881033718585968, 0.5749890804290771, -0.6340829133987427, -0.5203495025634766, -0.8309431672096252, 0.6231557130813599, -0.1364285945892334, -0.2784447968006134, 0.5132752656936646, 0.7414555549621582, 0.9120197296142578, 0.16165977716445923, 0.7053266167640686, -0.026722416281700134, 0.6430625915527344, -0.46923941373825073, 0.7368707060813904, -0.7945601940155029, 0.21351948380470276, -0.31234508752822876, -0.7920588850975037, -0.8868821263313293, 0.5172562599182129, -0.18264491856098175, 0.2870997488498688, 0.5037835240364075, 0.6419315934181213, -0.12275724112987518, -0.1802866905927658, 0.27626553177833557, 0.03256453573703766, 0.16936220228672028, 0.3759898543357849, 0.6688718199729919, -0.6516041159629822, 0.6374595761299133, -0.2399357259273529, -0.13561414182186127, -0.22042302787303925, -0.8556410074234009, -1.0601954460144043, -0.5009087920188904, -0.5607399344444275, -0.575386106967926, 0.25124701857566833, 1.1232126951217651, 0.7090705633163452, -1.088390588760376, 0.477080762386322, -0.0029375276062637568, 0.18246012926101685, -0.14390282332897186, -0.0629739910364151, 0.6267550587654114, -0.3695708215236664, -0.40634533762931824, 0.08904566615819931, 0.22719065845012665, 0.1345638632774353, 0.3376680016517639, -0.13897478580474854, 0.07018732279539108, -0.23459042608737946, -0.02269359864294529, 0.33730196952819824, -0.6803813576698303, -0.5759189128875732, -0.1475137621164322, -0.11412646621465683, 0.1680315136909485, 1.103894591331482, -0.6325930953025818, 0.46155670285224915, 0.2961925268173218, 0.9015393257141113, 0.49008888006210327, 0.3299606740474701, 0.7526552677154541, -1.22494375705719, 0.1769944131374359, 0.5963003039360046, 0.3246627748012543, 0.577651858329773, -0.5072758197784424, 0.44077110290527344, 0.4540296494960785, -0.11729422211647034, -1.1344281435012817, -0.3508642613887787, -0.8395302295684814, 0.0657198503613472, 1.0373058319091797, -0.1448083370923996, -0.32938599586486816, -0.19583994150161743, 0.0021190152037888765, 0.9338383078575134, -0.2768736481666565, 1.0486267805099487, 0.43617966771125793, 0.1403137445449829, 0.09794478118419647, -0.10687962174415588, 0.6168177723884583, 0.7211655378341675, -0.26927387714385986, -0.21676574647426605, 0.15028397738933563, 0.42010176181793213, 0.06537576019763947, 0.3652741014957428, -0.24434824287891388, 0.3959035873413086, -0.23441044986248016, 0.0731729120016098, -0.28767117857933044, -0.3221747875213623, -0.3309226632118225, -0.10875578224658966, 0.06824252754449844, -0.3565993905067444 ]
http://arxiv.org/abs/2406.18094v1
http://arxiv.org/pdf/2406.18094v1
Shimo Lab at "Discharge Me!": Discharge Summarization by Prompt-Driven Concatenation of Electronic Health Record Sections
2024-06-26T06:10:20
2024-06-26T06:10:20
Yunzhen He, Hiroaki Yamagiwa, Hidetoshi Shimodaira
cs.CL
cs.CL
In this paper, we present our approach to the shared task "Discharge Me!" at the BioNLP Workshop 2024. The primary goal of this task is to reduce the time and effort clinicians spend on writing detailed notes in the electronic health record (EHR). Participants develop a pipeline to generate the "Brief Hospital Course" and "Discharge Instructions" sections from the EHR. Our approach involves a first step of extracting the relevant sections from the EHR. We then add explanatory prompts to these sections and concatenate them with separate tokens to create the input text. To train a text generation model, we perform LoRA fine-tuning on the ClinicalT5-large model. On the final test data, our approach achieved a ROUGE-1 score of $0.394$, which is comparable to the top solutions.
[ -0.2735837399959564, -0.7539973855018616, 0.9904749393463135, -0.08320947736501694, -0.41942957043647766, 0.0026114860083907843, 0.30760657787323, -0.38748785853385925, 0.41070058941841125, 0.7386482954025269, -0.8723991513252258, -0.7868970632553101, -0.19773289561271667, 0.08810103684663773, -0.44001346826553345, 1.4645264148712158, 0.14371193945407867, -0.11410488933324814, -0.09865860641002655, -0.13733583688735962, -0.5473779439926147, -0.40080392360687256, -0.6848192811012268, -0.568935215473175, 0.8716369867324829, 0.4830608367919922, 0.008791809901595116, 0.4047159254550934, 0.6168881058692932, 0.20528581738471985, -0.03291218355298042, 0.11676125228404999, -0.07862477749586105, 0.3001026511192322, -0.10757288336753845, -0.31042733788490295, -0.7194823026657104, -0.2744002938270569, 0.29917433857917786, 0.6730571389198303, -0.23752540349960327, 0.47269120812416077, 0.0055854530073702335, 0.8656529784202576, -0.6745105981826782, -0.26901188492774963, -0.1915198713541031, 0.20361420512199402, -0.17490287125110626, -0.27708327770233154, -0.6720730066299438, -0.1534314751625061, -0.02565571665763855, -0.490405797958374, 0.4687109887599945, -0.05552941933274269, 0.4638060927391052, 0.04821273684501648, -0.43319928646087646, -0.14773692190647125, -0.8259331583976746, 0.6620681881904602, -0.7439861297607422, -0.10038018226623535, 0.16828452050685883, 0.2497730404138565, 0.09536922723054886, -0.9899150729179382, -0.2233666181564331, 0.11074705421924591, -0.22375355660915375, 0.3838113248348236, 0.06607149541378021, 0.4153518080711365, 0.4784282445907593, 0.2874065935611725, -0.7626552581787109, 0.014694579876959324, -0.756811797618866, 0.10739822685718536, 0.9576756954193115, 0.641201913356781, 0.30807483196258545, -0.07017005234956741, -0.1699991226196289, -0.05862974002957344, -0.5625766515731812, -0.028948023915290833, -0.13159458339214325, 0.0777285248041153, -0.38796737790107727, 0.4901283085346222, -0.3832302987575531, 0.2852865159511566, 0.3506411015987396, 0.00712035596370697, 0.27015092968940735, -0.47796979546546936, -0.25576239824295044, 0.40548476576805115, 0.9546410441398621, 0.49776729941368103, -0.43188193440437317, 0.18497203290462494, -0.12061025202274323, -0.31228429079055786, 0.4762316048145294, -0.911612331867218, -0.24195562303066254, 0.7729827165603638, -0.7345423102378845, -0.44285833835601807, -0.1757793128490448, -0.9867158532142639, -0.22966764867305756, -0.09472975134849548, 0.6631635427474976, -0.5280936360359192, 0.36490222811698914, -0.1059436947107315, -0.15193019807338715, -0.1645449697971344, 0.4969092905521393, -1.0743657350540161, 0.47853901982307434, 0.620463490486145, 0.8430922627449036, -0.047599852085113525, -0.11218137294054031, -1.0683633089065552, 0.29683777689933777, 0.11308056861162186, 0.6308949589729309, 0.039196524769067764, -0.669297993183136, 0.08874381333589554, -0.1832575500011444, 0.1829891800880432, -0.5057819485664368, 0.45071685314178467, -0.19672507047653198, 0.3258446156978607, -0.05713827162981033, -0.5690280795097351, -0.05366689711809158, 0.004553341306746006, -0.6476706862449646, 0.41866177320480347, 0.290774405002594, -0.6708810329437256, 0.06722018122673035, -0.8007862567901611, -0.3980901837348938, 0.31417080760002136, -0.2655199468135834, -0.44112908840179443, 0.0006365578155964613, 0.07253073155879974, 0.5247099995613098, -0.16908316314220428, 0.30028265714645386, -0.04338890686631203, -0.32801350951194763, 0.16081246733665466, 0.11359326541423798, 0.7668765187263489, 0.31661611795425415, -0.21725477278232574, 0.38987332582473755, -0.9554757475852966, 0.18864470720291138, -0.2960857152938843, -0.2854625880718231, -0.27677616477012634, -0.17742232978343964, 0.1699487864971161, 0.09853342920541763, 0.22530709207057953, -0.22409296035766602, 0.14550788700580597, -0.4172718822956085, 0.21201349794864655, 0.5122792720794678, 0.5753425359725952, 0.31353530287742615, -0.6461558938026428, 0.5927721858024597, 0.11400607973337173, 0.43857914209365845, -0.8447288870811462, -0.4023788869380951, -0.4019170105457306, -0.2863929867744446, 0.06525813788175583, 0.42164847254753113, -0.20311973989009857, 0.6290878057479858, 0.16541078686714172, -0.6061719655990601, -0.2935427725315094, -0.0668698102235794, 0.5618228316307068, 0.6174922585487366, 0.7629813551902771, -0.15028172731399536, -0.34582141041755676, -0.9403220415115356, 0.13452300429344177, 0.1123732402920723, -0.19800178706645966, -0.4384693503379822, 0.4442877173423767, -0.27449122071266174, 0.5258166193962097, -0.5852927565574646, -0.4437423646450043, -0.5537363290786743, 0.5551379919052124, 0.5212391018867493, 0.6626160144805908, 0.15751099586486816, -0.47623521089553833, -0.4304104447364807, 0.08424916118383408, -0.7759613990783691, -0.2289070338010788, -0.19371125102043152, 0.11675669997930527, -0.25409677624702454, 0.5165665745735168, -0.5581125617027283, 0.3260757029056549, 0.24077409505844116, -0.22470778226852417, 0.6263144612312317, -0.6781619787216187, 0.3275216221809387, -1.3832662105560303, 0.22029486298561096, -0.031504347920417786, -0.24047070741653442, -0.5788284540176392, 0.13170237839221954, -0.043829336762428284, -0.4210233986377716, -0.4072841703891754, 0.4214740991592407, -0.2303895205259323, 0.28302881121635437, -0.12335305660963058, -0.10767210274934769, 0.2980453372001648, 0.43068796396255493, -0.4501291513442993, 0.3644426763057709, -0.0766022726893425, -0.8077517151832581, 0.22764506936073303, 0.4756774306297302, 0.039849668741226196, 0.41764035820961, -0.935190737247467, 0.011021390557289124, -0.0012989637907594442, 0.39213326573371887, -0.6499459147453308, -0.6491756439208984, 0.011841671541333199, -0.11124101281166077, 0.4100099802017212, 0.23457111418247223, -0.23336230218410492, -0.23134326934814453, -0.636411190032959, 0.3260436952114105, 0.8474462628364563, -0.11598636955022812, 0.5038720369338989, 0.36305907368659973, -0.3453672230243683, -0.29078230261802673, -0.6263828277587891, -0.37043923139572144, -0.4004204273223877, -0.3927195370197296, 0.8231410384178162, 0.05284203961491585, -0.3393063545227051, -0.17355717718601227, 0.24955503642559052, -0.11682471632957458, -0.08146025240421295, 0.3542095720767975, 0.24472889304161072, -0.12979738414287567, 0.13066691160202026, 0.4811171293258667, -0.2490399032831192, 0.2878565490245819, -0.06908521056175232, 0.6211245059967041, 0.2660077214241028, -0.630453884601593, -0.8845902681350708, 1.0372318029403687, 0.4561772346496582, -0.24056611955165863, 0.5763406753540039, 0.47630375623703003, -0.5397136211395264, -0.0752934142947197, -0.3939921259880066, -0.35238152742385864, -0.4656476378440857, 0.2299579679965973, 0.17570361495018005, -0.6164618730545044, 0.6113272309303284, -0.2669476270675659, 0.5337924957275391, 0.41869625449180603, 0.419268935918808, -0.5628026127815247, 1.0214159488677979, 0.6346938014030457, 0.28704726696014404, 0.33360615372657776, -0.3770979344844818, 0.2219972312450409, -0.8265147805213928, -0.45441317558288574, -0.4968307614326477, -0.36978602409362793, -0.4827474355697632, -0.27564090490341187, 0.8578545451164246, 0.0709155797958374, -0.16798385977745056, 0.06244782358407974, -0.5574247241020203, 0.1554204672574997, 0.49116379022598267, 0.48670366406440735, 0.32220202684402466, -0.2804979979991913, 0.07704447954893112, -0.26731637120246887, -0.42321789264678955, -0.5085505247116089, 0.9393294453620911, -0.019600819796323776, 0.5383962392807007, -0.31425631046295166, 1.383703351020813, 0.49714985489845276, 0.038030195981264114, -0.3140634596347809, 0.6100521087646484, -0.3877035081386566, -0.1692887842655182, -0.23433877527713776, 0.04174761101603508, -0.8792182207107544, -0.13925132155418396, -0.24272875487804413, -0.8992958068847656, -0.08139648288488388, 0.5649033188819885, -0.6953256726264954, -0.10598378628492355, -0.5356357097625732, 0.9255936741828918, -0.08969569206237793, -0.4862349033355713, -0.6188071370124817, -0.884495198726654, 0.5641053318977356, -0.2528728246688843, 0.4350303113460541, 0.05150671675801277, 0.1085643321275711, 0.7035092711448669, -0.833592414855957, 0.6316397190093994, 0.07569392770528793, 0.16747361421585083, 0.44338321685791016, -0.24174781143665314, 0.29856500029563904, -0.0857778787612915, 0.005884351208806038, -0.3608636260032654, 0.08974921703338623, -0.10442750155925751, -0.6031110882759094, 0.45495784282684326, -0.2643267810344696, -0.33531454205513, -0.0888676717877388, -0.17201828956604004, -0.055470969527959824, 0.1940135657787323, 0.6640178561210632, 0.9384036064147949, -0.382959246635437, -0.03812626749277115, 0.9637971520423889, -0.5662099123001099, 0.33234265446662903, 0.19363872706890106, -0.39879700541496277, -0.5591869354248047, 0.7004173994064331, 0.07587118446826935, 0.2763623595237732, 0.7044306993484497, 0.24147126078605652, -0.22267068922519684, -0.29587361216545105, -0.4318036735057831, 0.33066195249557495, -0.628060519695282, -0.17126721143722534, -0.8722964525222778, -0.2735397219657898, -0.26787158846855164, -0.5490741729736328, -0.16058257222175598, -0.431304931640625, -0.2510363757610321, -0.09497930854558945, 0.3102250397205353, 0.7742198705673218, 0.02165994420647621, 0.6408396363258362, -1.3881020545959473, 0.2209915667772293, 0.08308002352714539, -0.3946482837200165, -0.14021003246307373, -0.40450289845466614, -0.49222099781036377, -0.18427921831607819, -0.813800036907196, -1.036888599395752, 0.3904569447040558, -0.1060090959072113, 0.23222406208515167, 0.4447953999042511, 0.0857699066400528, 0.6881415247917175, -0.6404697895050049, 1.0279016494750977, 0.6634073853492737, -0.8626839518547058, 1.1668668985366821, -0.7162131667137146, 0.3265239894390106, 0.6197589635848999, 0.25226742029190063, -0.3810124695301056, -0.6301966905593872, -0.9980114698410034, -1.1695846319198608, 0.5044934749603271, -0.058072835206985474, 0.04020567610859871, 0.05725076422095299, 0.3238147497177124, 0.101356141269207, 0.15256215631961823, -0.305407851934433, -0.24400092661380768, 0.251838356256485, -0.6231500506401062, 0.21499960124492645, -0.3279196321964264, -0.24625645577907562, -0.07633283734321594, 0.5350732803344727, 0.03520079702138901, 0.11131919175386429, 0.2743285000324249, 0.21024464070796967, -0.005927518475800753, 0.5442385673522949, 0.6241950988769531, 0.6735430359840393, -0.1505228579044342, 0.08811106532812119, 0.20014294981956482, -0.4391572177410126, 0.21540606021881104, -0.239172101020813, -0.34060388803482056, 0.3741103410720825, 0.3799112141132355, 0.3788285553455353, 0.41100525856018066, -0.6942638754844666, 0.35780179500579834, 0.1497143805027008, -0.36171358823776245, -0.2813790738582611, 0.46381017565727234, 0.21575124561786652, 0.11088588833808899, 0.3439754247665405, -0.1861140877008438, 0.6350566744804382, -0.5122011303901672, 0.45123982429504395, -0.035782501101493835, -0.3332172632217407, -0.4097559154033661, 0.9293180704116821, 0.3612356185913086, -0.3542749881744385, 0.35384896397590637, 0.10271622240543365, -0.1819603592157364, 0.7745794057846069, 0.7146316170692444, 1.0235974788665771, -0.26106831431388855, 0.28840550780296326, 0.8758703470230103, -0.15490296483039856, -0.015029369853436947, 0.33617401123046875, -0.048528846353292465, 0.04932187870144844, -0.3590553402900696, -0.5162563920021057, -0.5849450826644897, 0.3807190954685211, -0.8637949228286743, 0.6959973573684692, -0.6695452928543091, -0.08561993390321732, 0.007235117722302675, -0.187302365899086, -0.3354320228099823, 0.5215034484863281, -0.0836738869547844, 0.645235538482666, -0.8230043053627014, 0.39418962597846985, 0.6625064015388489, -0.7246323823928833, -0.9722304344177246, -0.08794836699962616, -0.03796202316880226, -0.16039445996284485, 0.3296692669391632, 0.2986657917499542, 0.03504514321684837, -0.06068567559123039, -0.3349930942058563, -0.1796845942735672, 1.2871290445327759, -0.004040785599499941, -0.6890562772750854, -0.03103087842464447, -0.2093389630317688, 0.6987273693084717, -0.2492285519838333, 0.282911479473114, 0.2932562530040741, 0.16912618279457092, -0.19853919744491577, -0.7494775652885437, 0.08642842620611191, -0.3364614248275757, -0.29631727933883667, 0.3097677230834961, -0.7030783295631409, 0.8855502009391785, -0.5027004480361938, -0.11047404259443283, -0.04427788406610489, 0.5682207942008972, 0.44779443740844727, 0.7666994333267212, 0.04974391683936119, 0.31124305725097656, 0.9036542177200317, 0.3096912205219269, 0.9860820770263672, -0.12179332971572876, 0.06117100641131401, 1.3887734413146973, -0.35924631357192993, 0.7147893309593201, 0.5241764783859253, -0.35848140716552734, 0.5222707390785217, 0.46987834572792053, 0.32360807061195374, 0.6316878795623779, -0.05714401975274086, -0.7642259001731873, -0.0014258139999583364, -0.19831913709640503, -0.5029903054237366, 0.031463999301195145, 0.30674809217453003, -0.5545941591262817, -0.12790770828723907, 0.053409066051244736, 0.016101250424981117, 0.019738148897886276, -0.29958730936050415, 1.0526142120361328, 0.3524431586265564, -0.814811646938324, 0.0054619163274765015, 0.08068134635686874, 0.21208712458610535, -0.7944591045379639, -0.18871192634105682, -0.26652252674102783, 0.22122904658317566, -0.4855206310749054, -0.4225637912750244, 0.4569076597690582, 0.2003384530544281, -0.4056725800037384, -0.30346569418907166, 0.5891552567481995, -0.33641812205314636, -0.26816919445991516, -0.08564464002847672, 0.4472406804561615, 0.23898524045944214, 0.22654075920581818, -0.44351926445961, -0.14021191000938416, 0.001672217040322721, 0.049199044704437256, 0.5109142065048218, 0.5233715176582336, -0.08339918404817581, 0.45894089341163635, 0.5387454628944397, 0.047242432832717896, 0.013467383570969105, 0.38050952553749084, 0.7100531458854675, -0.6748639941215515, -0.6429122090339661, -1.16561758518219, 0.9337618947029114, -0.14155997335910797, -0.45364704728126526, 0.1417824774980545, 0.7686745524406433, 0.33985796570777893, -0.35587742924690247, 0.8468733429908752, -0.06170933321118355, 0.7804825305938721, -0.7290603518486023, 0.7830823659896851, -0.6348000168800354, 0.1553841233253479, -0.2551948130130768, -0.4727206230163574, 0.013897051103413105, 0.4105399250984192, 0.3541959524154663, -0.28615692257881165, 1.0566450357437134, 0.2120155394077301, 0.01713254675269127, -0.17281775176525116, 0.3155722916126251, -0.17594370245933533, 0.45526283979415894, 0.5670846104621887, 0.6226330995559692, -0.5848901271820068, 0.04127206653356552, -0.5493062138557434, -0.16016972064971924, -0.3743319511413574, -0.7446441650390625, -0.725121259689331, -0.6224563717842102, -0.5145101547241211, -0.2643791735172272, 0.037477076053619385, 1.0569454431533813, 0.3876308798789978, -0.8181638121604919, -0.10709840804338455, -0.09109213948249817, -0.054134685546159744, -0.11501648277044296, -0.1778985559940338, 0.15247857570648193, -0.4445078670978546, -0.5502871870994568, 0.1615867018699646, 0.49842342734336853, -0.040925025939941406, -0.03749387711286545, 0.20983757078647614, 0.040746256709098816, -0.391061931848526, 0.42564988136291504, 0.09301136434078217, -0.3787063658237457, 0.035984210669994354, -0.09510386735200882, -0.35419929027557373, -0.03853464871644974, 1.0278825759887695, -0.566760241985321, 0.2527191638946533, 0.6193165183067322, 0.3610742688179016, 0.655569314956665, 0.3153989017009735, 0.853214681148529, -0.6654931902885437, 0.039267610758543015, 0.23498189449310303, 0.2211717814207077, 0.1396564096212387, -0.6301317811012268, 0.4428786039352417, -0.06204204633831978, -0.7143916487693787, -0.6078750491142273, -0.03738255053758621, -1.1241613626480103, 0.12458259612321854, 0.5145857334136963, -0.09070105105638504, -0.26054757833480835, -0.19164486229419708, -0.33462467789649963, 0.4724022150039673, -0.24609781801700592, 0.7607748508453369, 0.36035382747650146, -0.5181679725646973, -0.029402678832411766, -0.7369357347488403, 0.4876368045806885, 0.26211655139923096, -1.3453774452209473, -0.10556396842002869, 0.6356096863746643, 0.21804901957511902, 0.2391693890094757, 1.2431527376174927, -0.08960139751434326, 0.6237848401069641, -0.03248833492398262, 0.11277585476636887, 0.1087438091635704, -0.19737133383750916, -0.32214200496673584, 0.04416771978139877, -0.2706715166568756, -0.37128356099128723 ]
http://arxiv.org/abs/2406.18088v2
http://arxiv.org/pdf/2406.18088v2
LLM-Driven Multimodal Opinion Expression Identification
2024-06-26T05:52:47
2024-06-29T09:55:50
Bonian Jia, Huiyao Chen, Yueheng Sun, Meishan Zhang, Min Zhang
cs.CL
cs.CL, cs.AI, cs.SD, eess.AS
Opinion Expression Identification (OEI) is essential in NLP for applications ranging from voice assistants to depression diagnosis. This study extends OEI to encompass multimodal inputs, underlining the significance of auditory cues in delivering emotional subtleties beyond the capabilities of text. We introduce a novel multimodal OEI (MOEI) task, integrating text and speech to mirror real-world scenarios. Utilizing CMU MOSEI and IEMOCAP datasets, we construct the CI-MOEI dataset. Additionally, Text-to-Speech (TTS) technology is applied to the MPQA dataset to obtain the CIM-OEI dataset. We design a template for the OEI task to take full advantage of the generative power of large language models (LLMs). Advancing further, we propose an LLM-driven method STOEI, which combines speech and text modal to identify opinion expressions. Our experiments demonstrate that MOEI significantly improves the performance while our method outperforms existing methods by 9.20\% and obtains SOTA results.
[ -0.43232986330986023, -0.765985906124115, 0.713042676448822, 0.3115025758743286, -0.11923904716968536, -0.033796194940805435, -0.21827296912670135, -0.6105509400367737, 0.44750362634658813, 0.14865748584270477, -0.8389745354652405, -0.4097311198711395, -0.5398616194725037, 0.012357420288026333, -0.09153484553098679, 0.765119194984436, 0.004621933214366436, 0.2500554323196411, -0.13229981064796448, -0.28643763065338135, -0.16802236437797546, -0.4407911002635956, -0.6891775131225586, -0.1143234521150589, 0.8412594199180603, 0.35605326294898987, 0.3041439354419708, 0.1357601135969162, 0.2189353108406067, 0.2610011100769043, 0.12573057413101196, 0.37579357624053955, -0.28853461146354675, 0.10143774002790451, 0.0890960767865181, -0.40258297324180603, -0.6478669047355652, 0.11114075779914856, 0.35787707567214966, 0.21734409034252167, -0.13907979428768158, 0.1799977868795395, -0.04404454678297043, 0.34978652000427246, -0.7326873540878296, 0.259333997964859, -0.3419637680053711, 0.2696640193462372, -0.2611721456050873, -0.17534910142421722, -0.4111088514328003, -0.1910819113254547, 0.008857885375618935, -0.3960637152194977, -0.25949007272720337, -0.029306801036000252, 0.7096923589706421, 0.16002586483955383, -0.6993556022644043, -0.6694741249084473, -0.6240337491035461, 1.0174990892410278, -0.9434322714805603, 0.37385129928588867, -0.05093817040324211, -0.0024488791823387146, 0.1283874213695526, -0.3092370331287384, -0.9365358352661133, 0.05779175087809563, -0.010081171989440918, 0.5465145111083984, -0.17425668239593506, 0.04113510623574257, 0.13178537786006927, 0.41771435737609863, -0.31069254875183105, 0.20121528208255768, -0.08742804825305939, -0.0597657635807991, 0.49692994356155396, 0.08887901157140732, 0.37427765130996704, -0.517750084400177, -0.5489373207092285, -0.0865708440542221, -0.2731552720069885, 0.1279473453760147, 0.41875430941581726, 0.15811870992183685, -0.19733326137065887, 0.7560201287269592, -0.12108957767486572, 0.2908380627632141, 0.10069240629673004, -0.5950035452842712, 0.5583694577217102, -0.21736393868923187, -0.30293840169906616, 0.17935054004192352, 1.1414868831634521, 0.5326213240623474, -0.109500952064991, 0.16992367804050446, -0.38636747002601624, 0.22930100560188293, 0.041916120797395706, -0.6616936922073364, 0.37475281953811646, 0.384333074092865, -0.6224051713943481, -0.3284849524497986, 0.1441933810710907, -1.2038911581039429, -0.713077962398529, -0.4433823823928833, 0.4402107298374176, -0.5142187476158142, -0.5197049975395203, -0.17868809401988983, -0.09039022028446198, 0.08667818456888199, 0.0953136533498764, -0.6061949133872986, -0.129696324467659, 0.5603691935539246, 0.6582961082458496, -0.12095259130001068, 0.0936514362692833, -0.4599843919277191, 0.13948599994182587, -0.13233478367328644, 0.606421172618866, -0.8748176693916321, -0.3131096363067627, 0.20176644623279572, -0.11098406463861465, -0.2805735170841217, -0.5322415828704834, 0.6559128761291504, -0.40044480562210083, 0.5242369771003723, -0.015007147565484047, -0.3797281086444855, -0.19600869715213776, 0.06669975072145462, -0.6761279702186584, 1.0114219188690186, -0.1466149538755417, -0.6583130359649658, 0.17738038301467896, -1.0269867181777954, -0.3321424126625061, -0.3676135540008545, -0.19007708132266998, -0.37617969512939453, 0.48610737919807434, 0.3718436658382416, 0.6342806220054626, -0.30779337882995605, 0.3176773190498352, -0.4952865242958069, 0.23216848075389862, 0.39328959584236145, -0.7596431374549866, 0.4364232122898102, 0.4262849986553192, -0.28773272037506104, 0.15990488231182098, -1.0784951448440552, 0.11165603995323181, -0.028623230755329132, -0.24526216089725494, -0.3605745732784271, 0.013139251619577408, 0.2613220512866974, 0.42430806159973145, 0.39398807287216187, -0.8996071219444275, 0.2081279307603836, -0.20211660861968994, 0.6915767788887024, 0.6986879706382751, 0.03883408382534981, 0.20121602714061737, -0.08932851999998093, 0.4130762219429016, 0.2592582106590271, 0.2448262870311737, -0.21528439223766327, -0.611720085144043, -0.6417338252067566, -0.802640438079834, 0.18845537304878235, 0.764846920967102, -0.9223780035972595, 0.13146592676639557, -0.3476065993309021, -0.37144288420677185, -1.120061993598938, 0.0037999190390110016, 0.37467166781425476, 0.385367214679718, 0.3483765423297882, -0.03282279521226883, -0.5277591943740845, -1.145666241645813, -0.060495637357234955, -0.22739221155643463, -0.27772819995880127, 0.6873546242713928, 0.15168851613998413, -0.3669299781322479, 0.9805402755737305, -0.24670787155628204, -0.5056900382041931, -0.18862201273441315, 0.7457476854324341, 0.2147148847579956, 0.15375125408172607, 0.3804125487804413, -1.0296063423156738, -0.05620570480823517, -0.09597515314817429, -0.8395780324935913, -0.4288347363471985, -0.4627523422241211, 0.0932382121682167, 0.0316869281232357, 0.38433724641799927, -0.5857170224189758, 0.18738161027431488, 0.787672221660614, -0.1609511822462082, 0.019761821255087852, 0.0018683894304558635, 0.6145097613334656, -1.190544843673706, -0.12792274355888367, 0.39828813076019287, -0.046906936913728714, -0.6202016472816467, -0.1186358854174614, -0.06848152726888657, -0.03134998306632042, -0.73594069480896, 0.30471086502075195, -0.23305204510688782, 0.1998795121908188, -0.09867888689041138, 0.3809949457645416, -0.011602978222072124, 0.640513002872467, 0.11965963244438171, 0.6310721635818481, 0.49949875473976135, -0.3322257101535797, 0.2599600553512573, -0.03621700033545494, -0.4210140109062195, 0.8068180680274963, -0.4807892143726349, 0.27996909618377686, -0.39100462198257446, -0.0970422774553299, -1.0582178831100464, -0.2733876705169678, 0.326882928609848, -0.18167448043823242, 0.24824582040309906, 0.14446723461151123, -0.406312495470047, 0.1266946941614151, -0.27064943313598633, 0.6138351559638977, 0.14911068975925446, -0.5418903231620789, 1.4350605010986328, 0.4858225882053375, -0.4646216332912445, -0.4952126443386078, -0.5882325768470764, 0.04194175824522972, -0.3482896089553833, -0.45893076062202454, 0.5014155507087708, 0.03551408648490906, -0.3005213141441345, -0.24902977049350739, 0.1543542891740799, -0.07451078295707703, -0.23463383316993713, 0.6301078200340271, 0.4211547374725342, -0.29096904397010803, 0.24463024735450745, 0.1993776559829712, 0.0014616046100854874, 0.04710270091891289, 0.25838813185691833, 0.31507569551467896, -0.12482603639364243, -0.4720665514469147, -0.7749462723731995, 0.9371545314788818, 0.8964797258377075, -0.17895138263702393, 0.42612770199775696, 0.9368671774864197, -0.19507844746112823, 0.15292371809482574, -0.6803076863288879, 0.07989861816167831, -0.39018797874450684, 0.46068111062049866, -0.47899872064590454, -0.586081862449646, 0.07648702710866928, -0.3010711371898651, 0.04493425041437149, 0.2187700867652893, 0.578498363494873, -0.3211611807346344, 1.4043142795562744, 0.5445488691329956, -0.4097699820995331, 0.7517627477645874, 0.00024526339257135987, 0.40206417441368103, -0.972442090511322, -0.1086282879114151, -0.2814013361930847, -0.5277289152145386, -0.3826237618923187, -0.3468257486820221, 0.5284392237663269, 0.09537848085165024, 0.280399888753891, -0.1326509267091751, -0.26170605421066284, -0.01246551238000393, 0.5445712804794312, 0.3271399736404419, 0.11644253879785538, -0.18539376556873322, 0.135714590549469, -0.15986882150173187, -0.4202297329902649, -0.6870958209037781, 0.741574227809906, 0.416443794965744, 0.47386634349823, 0.411840558052063, 0.5008516907691956, 0.3211960196495056, 0.723148763179779, -0.909822404384613, 0.6672937870025635, -0.00173298513982445, -0.37791791558265686, -0.05217008665204048, -0.5126233100891113, -0.5538888573646545, 0.38465645909309387, -0.5817675590515137, -0.7984309792518616, 0.33757293224334717, 0.00962319876998663, -0.312950998544693, 0.1524164229631424, -1.0069793462753296, 0.6386284232139587, -0.35712453722953796, -0.08231455087661743, -0.3189343512058258, -0.3973488211631775, 0.199476420879364, 0.11666004359722137, 0.5528261661529541, -0.1969122439622879, -0.14460980892181396, 0.768012523651123, 0.14750255644321442, 1.0014060735702515, -0.29624679684638977, -0.3060567378997803, 0.06608512252569199, -0.42102837562561035, 0.3263828754425049, 0.1440325379371643, -0.3484707474708557, 0.37194931507110596, -0.09799174964427948, -0.03539316728711128, -0.7464441657066345, 0.8438395857810974, -0.7122064828872681, -0.5771278738975525, -0.16624903678894043, -0.2986753582954407, -0.46230363845825195, 0.1467537134885788, 0.21883749961853027, 0.6211699843406677, -0.16213487088680267, 0.13580401241779327, 0.7163113355636597, -0.2414146363735199, 0.7652958631515503, 0.36023619771003723, -0.1145399659872055, -0.6326442360877991, 1.0440504550933838, -0.10363873839378357, 0.12472719699144363, 0.6296228766441345, 0.24910278618335724, -0.3247746527194977, -0.17560872435569763, -0.4902026057243347, 0.3300764858722687, -0.634670078754425, -0.030532367527484894, -0.6277050971984863, 0.23085084557533264, -0.35051894187927246, 0.15150819718837738, -0.312968373298645, -0.15254662930965424, -0.3873787224292755, -0.16230516135692596, 0.011754989624023438, 0.5614470839500427, 0.16997423768043518, 0.1134306862950325, -0.7924624681472778, 0.6375836730003357, 0.49360448122024536, 0.004510628525167704, -0.19475848972797394, -0.14372049272060394, 0.21277178823947906, 0.23394975066184998, -0.25400614738464355, -1.1313103437423706, 0.5086988210678101, 0.5084834098815918, 0.4199077785015106, 0.7197412252426147, 0.30650594830513, 0.7207320928573608, -0.3462385833263397, 0.993952214717865, 0.5293017625808716, -1.024219036102295, 0.5230164527893066, 0.027163781225681305, 0.1910005509853363, 0.27139249444007874, 0.5619293451309204, -0.3838135302066803, -0.5114343762397766, -0.36422428488731384, -0.9362141489982605, 0.49245649576187134, -0.00293946685269475, 0.12179020047187805, -0.18911878764629364, 0.181327685713768, 0.03921560198068619, 0.4370999336242676, -0.9597650766372681, -0.2989499568939209, -0.24258875846862793, -0.8839839100837708, 0.08146268129348755, -0.5355475544929504, -0.24190574884414673, 0.17584511637687683, 0.6578165888786316, -0.3506593108177185, 0.6223983764648438, 0.3959876000881195, -0.08598040789365768, 0.05111818015575409, 0.681408703327179, 0.700446367263794, 0.15884988009929657, -0.062402330338954926, 0.16194802522659302, 0.05094394087791443, -0.055873606353998184, -0.08473280072212219, -0.23282390832901, 0.06670276075601578, 0.15488633513450623, 0.3908090591430664, 1.0381559133529663, 0.007569183595478535, -0.8558374047279358, 0.7225658893585205, -0.06977822631597519, -0.03631984069943428, -0.3260514438152313, -0.13057713210582733, -0.10634234547615051, 0.5009111762046814, 0.30002152919769287, 0.2594865560531616, 0.3380168080329895, -0.8331686854362488, -0.261963814496994, 0.49605563282966614, -0.8589683175086975, -0.45378759503364563, 0.5332157611846924, 0.2210719883441925, -0.2560303211212158, 0.3608223497867584, 0.11316249519586563, -0.17530730366706848, 0.2302170693874359, 0.24291396141052246, 0.8151578307151794, -0.24479453265666962, 0.1484725922346115, -0.019562553614377975, -0.004083024803549051, 0.3628123700618744, 0.5650483965873718, -0.0344238318502903, -0.7416600584983826, -0.3375890254974365, -0.3996894955635071, -0.1514407843351364, 0.30262354016304016, -1.0278066396713257, 0.21668635308742523, -0.23276448249816895, -0.47909778356552124, 0.2371770441532135, -0.7981273531913757, -0.49439626932144165, 0.4295898377895355, 0.5978403091430664, 0.4392872750759125, -0.9675126671791077, 0.8229739665985107, 0.7049983739852905, -0.24018234014511108, -0.557083249092102, 0.06494583189487457, 0.2864741086959839, -0.6294982433319092, 0.6435027122497559, 0.24208492040634155, -0.5121548771858215, -0.16381709277629852, -0.40064266324043274, -0.44708776473999023, 0.9533562064170837, 0.2832268476486206, -0.6024183034896851, 0.08725917339324951, 0.1235787570476532, 0.5002512335777283, -0.731939971446991, 0.6792241930961609, 0.1607624739408493, 0.6749224066734314, -0.12002986669540405, -0.8104172945022583, -0.18007808923721313, -0.42730438709259033, 0.002007730072364211, 0.1188117042183876, -0.6005972027778625, 0.6387823224067688, -0.04205239191651344, -0.43402111530303955, -0.11049235612154007, 0.8724998831748962, -0.03731343522667885, 0.44803768396377563, 0.9847541451454163, 0.39529451727867126, 0.759685754776001, -0.16437497735023499, 0.9050605893135071, -0.27268385887145996, 0.11187037080526352, 0.9194456934928894, -0.3772202432155609, 1.2867416143417358, 0.8067134618759155, 0.3309430778026581, 0.46579402685165405, 0.28928130865097046, 0.23134462535381317, 0.6670600771903992, -0.19717486202716827, -0.584079384803772, -0.29906266927719116, -0.46799638867378235, -0.08734341710805893, 0.4232633113861084, 0.4663291573524475, -0.4562617540359497, 0.24339278042316437, 0.676345944404602, 0.0686766505241394, -0.06174173206090927, -0.2327476143836975, 1.0354535579681396, -0.058073367923498154, -0.44168439507484436, 0.13496434688568115, -0.05698687210679054, 0.8940648436546326, -0.4915560483932495, -0.2122555375099182, 0.1152440682053566, 0.08417833596467972, -0.26181861758232117, -0.4851599931716919, 0.046982064843177795, -0.05739148333668709, -0.5622431039810181, -0.502587616443634, 0.23997987806797028, -0.5546289086341858, -0.5581846833229065, 0.30685853958129883, 0.3897620737552643, -0.18440061807632446, 0.05160846561193466, -0.5882360339164734, 0.12066248059272766, 0.172470822930336, -0.48748740553855896, 0.3025148808956146, 0.7215184569358826, 0.022514265030622482, 0.6243661642074585, 0.38338184356689453, -0.021228237077593803, -0.06142570823431015, 0.24754248559474945, 0.7188881039619446, -0.58717942237854, -0.21328826248645782, -0.6774799227714539, 0.5794103741645813, -0.18529905378818512, -0.5246239900588989, 0.5867785215377808, 0.33815789222717285, 0.49317899346351624, -0.2937725782394409, 0.9087483882904053, -0.29518061876296997, 0.684992253780365, -0.8518511652946472, 0.2848455011844635, -0.753427267074585, 0.18784967064857483, -0.45006176829338074, -0.5171716809272766, 0.026003338396549225, 0.49524161219596863, -0.24471145868301392, -0.10918442904949188, 0.7412248849868774, 0.9367441534996033, 0.058996763080358505, 0.2815209627151489, 0.27302804589271545, 0.35256829857826233, 0.31107276678085327, 0.6248250603675842, 1.0643947124481201, -0.36022937297821045, 0.4760650098323822, -0.17157353460788727, -0.5079174041748047, -0.07535803318023682, -0.9974080920219421, -0.6354699730873108, -0.5807132720947266, -0.695706307888031, -0.018988726660609245, -0.30119064450263977, 1.1318644285202026, 0.8537791967391968, -0.9132387042045593, 0.08161620050668716, 0.35763171315193176, -0.03859388455748558, -0.5629332065582275, -0.32102563977241516, 0.14095425605773926, 0.014191759750247002, -1.1631892919540405, 0.8627605438232422, 0.4348456859588623, -0.24554458260536194, -0.175502210855484, 0.16753387451171875, -0.12046469002962112, 0.4387267827987671, 0.6941697597503662, -0.08549625426530838, -1.0669528245925903, -0.4479236900806427, -0.0519544780254364, -0.040330056101083755, 0.18824322521686554, 0.9578295946121216, -0.5489945411682129, 0.49933695793151855, 0.2511597275733948, 0.3648356795310974, 0.024351563304662704, -0.11705788224935532, 0.5185422897338867, -0.8960142135620117, 0.06951730698347092, 0.2363547384738922, 0.5937658548355103, 0.06155293807387352, -0.3394421339035034, 0.16128329932689667, 0.0837101861834526, -0.12877093255519867, -0.6791283488273621, 0.3057750463485718, -1.396892786026001, -0.17955167591571808, 1.144562005996704, -0.19611209630966187, -0.30602967739105225, -0.08380041271448135, -0.6929708123207092, -0.0858994796872139, -0.706468939781189, 0.8116105198860168, 0.6693801283836365, -0.25514325499534607, -0.5080581903457642, -0.40184471011161804, 0.07199987024068832, 0.4011033773422241, -0.7838248610496521, -0.22165167331695557, 0.5813766717910767, -0.3606162369251251, 0.6660218834877014, 0.32682326436042786, -0.12019746005535126, -0.2685060203075409, -0.1931931972503662, 0.3261334300041199, -0.07716158777475357, -0.17791475355625153, -0.11419374495744705, 0.8422089219093323, -0.34182873368263245, -0.3731743097305298 ]
http://arxiv.org/abs/2406.18087v1
http://arxiv.org/pdf/2406.18087v1
EHR-Based Mobile and Web Platform for Chronic Disease Risk Prediction Using Large Language Multimodal Models
2024-06-26T05:51:08
2024-06-26T05:51:08
Chun-Chieh Liao, Wei-Ting Kuo, I-Hsuan Hu, Yen-Chen Shih, Jun-En Ding, Feng Liu, Fang-Ming Hung
cs.SE
cs.SE, cs.AI, cs.CL
Traditional diagnosis of chronic diseases involves in-person consultations with physicians to identify the disease. However, there is a lack of research focused on predicting and developing application systems using clinical notes and blood test values. We collected five years of Electronic Health Records (EHRs) from Taiwan's hospital database between 2017 and 2021 as an AI database. Furthermore, we developed an EHR-based chronic disease prediction platform utilizing Large Language Multimodal Models (LLMMs), successfully integrating with frontend web and mobile applications for prediction. This prediction platform can also connect to the hospital's backend database, providing physicians with real-time risk assessment diagnostics. The demonstration link can be found at https://www.youtube.com/watch?v=oqmL9DEDFgA.
[ 0.011281472630798817, -0.9536660313606262, 0.7682149410247803, -0.10588356852531433, -0.37821507453918457, 0.1629915088415146, 0.06671924889087677, -0.9225979447364807, 0.6260515451431274, 0.6284631490707397, -0.35473570227622986, -0.535879373550415, -0.43635106086730957, 0.07637917250394821, -0.039602506905794144, 0.883027195930481, -0.09811592847108841, 0.29495102167129517, -0.1990489810705185, 0.0208712350577116, -0.47041207551956177, -0.5639181137084961, -0.7450023889541626, -0.4729900360107422, 0.7342336177825928, 0.4932061433792114, 0.5788263082504272, 0.38616257905960083, 0.6608458161354065, 0.19991753995418549, 0.32431459426879883, -0.10434453189373016, 0.007547270972281694, 0.39224833250045776, 0.2931852638721466, -0.18231840431690216, -0.4804978668689728, -0.4786413311958313, 0.22287309169769287, 0.5066965222358704, -0.25424155592918396, 0.24108047783374786, -0.2644922733306885, 0.578390896320343, -0.35234394669532776, 0.07594574242830276, -0.2747543454170227, 0.3629898130893707, -0.494866281747818, -0.4852438271045685, -0.3031669557094574, -0.30295801162719727, 0.2547505497932434, -0.5088048577308655, -0.12765604257583618, 0.04014665260910988, 0.6623697876930237, 0.13175229728221893, -0.8554010987281799, -0.1592760682106018, -0.8940300345420837, 0.31090959906578064, -0.2819579839706421, 0.5821967124938965, 0.36095839738845825, 0.6965080499649048, -0.20091363787651062, -0.6995132565498352, -0.20466162264347076, -0.41607117652893066, 0.08496735244989395, 0.27481842041015625, 0.05088385194540024, 0.05584481358528137, -0.0034183859825134277, 0.272595077753067, -0.8430038690567017, 0.1368235945701599, -0.5396567583084106, -0.25871750712394714, 0.7124636173248291, 0.43036240339279175, 0.44717833399772644, -0.22711335122585297, -0.6297634243965149, 0.21623951196670532, -0.7598069310188293, 0.05164925009012222, -0.46004143357276917, 0.08832462877035141, -0.28514227271080017, 0.6141599416732788, -0.005976710002869368, 0.34602051973342896, 0.13814103603363037, -0.612033486366272, 0.5566774606704712, -0.3204394280910492, -0.21930450201034546, 0.4313045144081116, 0.5821420550346375, 0.6111534237861633, -0.2458256632089615, -0.16793999075889587, -0.12555010616779327, 0.010080046951770782, 0.1246865913271904, -0.6226882338523865, -0.42620572447776794, 0.6467506289482117, -0.6975061893463135, -0.010997377336025238, -0.1565455198287964, -1.0193736553192139, -0.5212878584861755, -0.07955212891101837, 0.17917515337467194, -0.45944109559059143, -0.26890915632247925, 0.2109038084745407, -0.00272575207054615, -0.21828942000865936, 0.4467903971672058, -0.4581491947174072, 0.3873146176338196, 0.3411841094493866, 0.754356324672699, -0.23399706184864044, 0.09812082350254059, -0.505325198173523, 0.37332457304000854, 0.015700068324804306, 0.856118381023407, -0.16303837299346924, -0.7210648655891418, -0.08765774965286255, 0.017968757078051567, -0.11389203369617462, -0.48906683921813965, 0.6510889530181885, -0.2832365930080414, -0.3157327473163605, 0.17817965149879456, -0.29765230417251587, 0.01299062930047512, 0.24830038845539093, -0.9545207023620605, 1.0735315084457397, 0.08819503337144852, -0.714836597442627, 0.4018574059009552, -0.2943512797355652, -0.5793474316596985, 0.37969252467155457, 0.04820143058896065, -0.9444564580917358, -0.06496763974428177, -0.10722841322422028, 0.4851025640964508, -0.34891343116760254, 0.6666964888572693, -0.5189951062202454, -0.09024084359407425, 0.30563628673553467, -0.19005532562732697, 0.55254065990448, 0.4350612759590149, -0.09484429657459259, 0.45114409923553467, -0.7786337733268738, 0.10635681450366974, -0.006182691548019648, -0.3123178482055664, -0.6619996428489685, 0.19087408483028412, 0.4515650272369385, 0.49442198872566223, 0.26243963837623596, -0.455657422542572, 0.10416754335165024, -0.1387779861688614, 0.45893052220344543, 0.4549289345741272, 0.13544033467769623, -0.16252093017101288, -0.7240463495254517, 0.6928275227546692, 0.11416497081518173, 0.39954715967178345, -0.09071726351976395, -0.819490373134613, -0.06548124551773071, -0.12518799304962158, 0.2267245054244995, 0.9665917754173279, -0.37162333726882935, 0.7065215110778809, -0.6191791296005249, -0.837668776512146, 0.019593926146626472, -0.198673814535141, 0.1286931037902832, 0.34789150953292847, 0.2466103732585907, -0.5780425071716309, -0.5846982598304749, -0.409894198179245, 0.3166925609111786, -0.1930418163537979, 0.031781841069459915, 0.3889605402946472, 0.5900476574897766, -0.6133467555046082, 0.33887189626693726, -0.527778148651123, -0.4145187437534332, -0.3290683329105377, -0.1477280557155609, 0.08575902879238129, 0.5579830408096313, 0.37935203313827515, -0.9114894270896912, -0.7873080968856812, 0.30979952216148376, -0.7512183785438538, 0.19433605670928955, 0.18211479485034943, -0.002024722518399358, -0.0970020517706871, 0.5132573843002319, -0.6194472908973694, 0.461981862783432, 0.9827910661697388, -0.3989134132862091, 0.6038177609443665, -0.32045862078666687, 0.036727216094732285, -1.0977046489715576, 0.34698113799095154, 0.1842152327299118, -0.4147129952907562, -0.6865314245223999, -0.037635449320077896, -0.12926872074604034, -0.5315324664115906, -0.07719624787569046, 0.631232500076294, -0.2051873356103897, 0.19355860352516174, 0.05892501026391983, -0.1329696923494339, -0.10192178934812546, -0.19765563309192657, -0.006913325283676386, 0.28874656558036804, 0.34771105647087097, -0.5835227370262146, 0.26811397075653076, 0.15942341089248657, -0.4402858018875122, 0.45448416471481323, -0.6509153246879578, -0.21504300832748413, 0.10472120344638824, 0.4621838629245758, -0.7495416402816772, -0.33516472578048706, 0.31269779801368713, -0.4400178790092468, 0.3070184588432312, 0.09374549239873886, -0.34638306498527527, -0.8821238875389099, -0.34241601824760437, 0.3897055685520172, 0.05056888237595558, 0.11913799494504929, 0.8534471392631531, 0.8227548003196716, -0.5913363099098206, -0.20835283398628235, -0.8953397274017334, 0.07035452127456665, -0.29117798805236816, -0.4900793135166168, 0.668648898601532, -0.19552114605903625, -0.25631317496299744, 0.1715279519557953, 0.1586112678050995, -0.5868464112281799, 0.259660542011261, 0.6752871870994568, 0.544505774974823, -0.2510276734828949, 0.4383991062641144, -0.0976720079779625, -0.19263525307178497, -0.06641212850809097, -0.10756440460681915, 0.49152880907058716, 0.21277613937854767, -0.5852578282356262, -0.6744396090507507, 0.6201909780502319, 0.7723497152328491, -0.24875029921531677, 0.6286224722862244, 0.2909638285636902, -0.6479833722114563, 0.5474616289138794, -0.6439229846000671, 0.029520902782678604, -0.39581435918807983, 0.2024812251329422, -0.19212886691093445, -0.7447733879089355, 0.557533323764801, -0.12894128262996674, -0.20408621430397034, 0.3942866027355194, 0.6828007698059082, 0.10532467067241669, 0.955431342124939, 0.6033309698104858, -0.2203163057565689, 0.21613752841949463, 0.21954980492591858, 0.0073017640970647335, -0.5450354814529419, -0.5868492722511292, -0.5333712697029114, 0.14899517595767975, -0.8749186396598816, -0.3164811432361603, 1.0163922309875488, -0.24584950506687164, -0.48642611503601074, -0.06241011247038841, -0.4482976198196411, -0.14642678201198578, 0.42435020208358765, 0.6902143955230713, 0.4876744747161865, -0.21450376510620117, -0.16981902718544006, 0.008047963492572308, -0.49317988753318787, -0.39713531732559204, 1.4786174297332764, 0.3986629843711853, 0.600639820098877, 0.13373945653438568, 0.7168406844139099, 0.4328802227973938, 0.6473096013069153, -0.7224176526069641, -0.11474350094795227, -0.2456797957420349, -0.8142572641372681, -0.31807905435562134, -0.189787819981575, -1.216889500617981, -0.1537371277809143, -0.4171734154224396, -0.6630941033363342, 0.09049823880195618, 0.34631064534187317, -0.6876751184463501, 0.3112725019454956, -0.6307949423789978, 0.8879788517951965, -0.7222944498062134, -0.325895756483078, -0.23816320300102234, -0.7970706224441528, 0.3738899230957031, -0.2526918053627014, 0.4915454387664795, -0.09178841859102249, 0.2419506162405014, 0.368181049823761, -0.3486611843109131, 0.8706299066543579, 0.020717091858386993, 0.1849844753742218, 0.14695176482200623, -0.1576869636774063, 0.35657328367233276, 0.27889928221702576, -0.13775959610939026, -0.04655184969305992, 0.19934013485908508, -0.20760150253772736, 0.020809194073081017, 0.703403651714325, -0.6465826630592346, -0.2624431252479553, -0.6267375946044922, 0.002724874997511506, -0.19013670086860657, 0.5332236289978027, 0.03762650862336159, 0.4603593945503235, -0.46743184328079224, -0.08158321678638458, 0.4774494171142578, -0.3666052520275116, 0.05329018086194992, 0.29141464829444885, -0.12820297479629517, -0.481317937374115, 0.7440827488899231, -0.06855107098817825, -0.05257755145430565, 0.669090211391449, 0.5567809343338013, -0.12740057706832886, -0.4407021999359131, -0.3863751292228699, -0.0008905004942789674, -0.4037066400051117, -0.4381353557109833, -0.5157175660133362, -0.25516363978385925, -0.4684503674507141, -0.14865164458751678, -0.08622275292873383, 0.1325870305299759, -0.0845838189125061, -0.13335981965065002, 0.509486734867096, 0.7266298532485962, -0.002465030876919627, 0.08181676268577576, -1.2918411493301392, 0.234634667634964, 0.07693953812122345, 0.5029252171516418, 0.05110457167029381, -0.03763443976640701, -0.4600517451763153, -0.04082952439785004, -0.5291897058486938, -0.8988073468208313, 0.6966075897216797, 0.10601631551980972, 0.5416993498802185, 0.6575789451599121, -0.02674105577170849, 0.5624845623970032, -0.6879132986068726, 0.5901597738265991, 0.6114321351051331, -0.695189356803894, 0.4845321476459503, -0.43406879901885986, -0.005200639367103577, 0.5623164176940918, 0.5104888677597046, -0.8548475503921509, 0.11629568040370941, -0.4635029733181, -0.8265276551246643, 0.014306177385151386, -0.42988473176956177, -0.2033591866493225, 0.1296391636133194, 0.19520209729671478, 0.18026861548423767, -0.01795228198170662, -0.7135912179946899, -0.35327497124671936, -0.42891639471054077, -0.27849531173706055, -0.3577044904232025, -0.22630298137664795, 0.0029132715426385403, -0.3905029594898224, 0.3484368920326233, 0.020551860332489014, 0.5176044702529907, 0.46060484647750854, 0.052844829857349396, -0.5991299748420715, 0.400959849357605, 0.7043007016181946, 0.598746120929718, -0.3716425597667694, 0.20581278204917908, 0.0208919495344162, -0.5648423433303833, -0.0693168193101883, 0.43057599663734436, -0.022852372378110886, 0.05527324229478836, 0.24523723125457764, 0.530794620513916, 0.4710395336151123, -1.161738395690918, 0.47023865580558777, 0.2653065323829651, -0.15115411579608917, -1.011844515800476, -0.45258796215057373, 0.2531690299510956, -0.11331319808959961, 0.2935705780982971, -0.09491868317127228, 0.2841103971004486, -0.4321172535419464, 0.5226295590400696, 0.20941483974456787, -0.7467727065086365, -0.37452927231788635, 0.8933960199356079, 0.3208944499492645, 0.0937190055847168, 0.45246604084968567, 0.14289256930351257, -0.3841332197189331, 0.702322781085968, 0.5330139994621277, 0.5387482643127441, -0.707338809967041, 0.05227477103471756, 0.45314905047416687, 0.09987259656190872, -0.0684657171368599, 0.38870862126350403, 0.6662819981575012, -0.5604752898216248, -0.618908703327179, -0.24458584189414978, -0.4267248511314392, 0.21346931159496307, -0.5201151371002197, 0.5199712514877319, -0.419647216796875, -0.4032159149646759, 0.1622081696987152, -0.025705285370349884, -0.26596611738204956, 0.3714321255683899, 0.4001174569129944, 0.699777364730835, -0.6525391936302185, 0.9548429250717163, 0.575360119342804, -0.3962053656578064, -0.6212679147720337, -0.1253432333469391, 0.37409844994544983, -0.6502776145935059, 0.6136951446533203, 0.30644822120666504, 0.1447816640138626, -0.21062226593494415, -0.0018478106940165162, -0.9052278995513916, 1.1730483770370483, -0.04623746871948242, -0.6210305094718933, -0.12952713668346405, -0.021098768338561058, 0.512076735496521, -0.22610948979854584, -0.006929995026439428, -0.007147463969886303, 0.5302940607070923, -0.09975383430719376, -1.4620343446731567, 0.06379725784063339, -0.2704506814479828, -0.28254610300064087, 0.4731420874595642, -0.43163636326789856, 0.941836953163147, -0.23592546582221985, -0.14733421802520752, 0.12211976945400238, 0.2654602527618408, 0.16663752496242523, 0.87447589635849, 0.15103089809417725, 0.6742988228797913, 0.7152062058448792, 0.2027241438627243, 1.243897557258606, -0.5665715932846069, 0.1647963672876358, 0.8636295199394226, -0.6314763426780701, 1.0217068195343018, 0.1814664751291275, -0.19106151163578033, 0.533980131149292, 0.7372174263000488, -0.033641546964645386, 0.3918733596801758, 0.21154387295246124, -0.4773373007774353, -0.21323750913143158, -0.24333356320858002, -0.5160378217697144, 0.23815351724624634, 0.795763373374939, -0.3186543881893158, -0.04898972064256668, 0.3494032919406891, -0.2711770534515381, -0.02804107777774334, -0.31267333030700684, 0.4797406494617462, 0.019226552918553352, -0.40585774183273315, 0.3476967513561249, 0.09448803961277008, 0.6146871447563171, -0.5007060766220093, -0.12105414271354675, 0.3933558762073517, 0.18575552105903625, -0.13546642661094666, -0.6506683230400085, 0.4650771915912628, -0.5692862272262573, -0.09381358325481415, 0.017880111932754517, 0.9407710433006287, -0.24722395837306976, -0.5562584400177002, 0.359485924243927, 0.6385738253593445, -0.0574830137193203, 0.12838603556156158, -0.6522148251533508, -0.10107395797967911, -0.4772539436817169, 0.09127651900053024, 0.3336504101753235, 0.38017943501472473, -0.40786105394363403, 1.013299584388733, 0.646938145160675, 0.19297850131988525, -0.14997589588165283, -0.2183312326669693, 0.7989265322685242, -0.7421118021011353, -0.27949947118759155, -0.5702425241470337, 0.298543244600296, 0.13975627720355988, -0.4826686382293701, 0.2604232728481293, 0.8229280710220337, 0.4085560739040375, -0.18124505877494812, 0.9201865196228027, -0.1727118343114853, 0.8981221318244934, -0.5040723085403442, 0.6218014359474182, -0.6385579705238342, -0.13312824070453644, -0.1938823163509369, 0.08239404857158661, -0.6387768387794495, 0.27625125646591187, -0.10369174182415009, -0.26952987909317017, 0.805076539516449, 0.398968905210495, 0.24476327002048492, -0.2881919741630554, 0.2039981335401535, 0.1797393262386322, 0.1690460741519928, 0.7578697800636292, 0.43990007042884827, -0.18652714788913727, 0.2972341477870941, -0.4119163155555725, -0.1005048155784607, -0.8474504351615906, -0.6412538290023804, -0.5137981176376343, -0.508902370929718, -0.1941962093114853, -0.35889798402786255, 0.3302702009677887, 1.0743738412857056, 0.5101785063743591, -0.9252647161483765, -0.10888724029064178, 0.07177699357271194, -0.01028809230774641, -0.4160912036895752, -0.18345065414905548, 0.611447274684906, 0.582247257232666, -0.24581746757030487, 0.04927937313914299, 0.28759437799453735, 0.2173701375722885, -0.07885438948869705, 0.14024604856967926, -0.1756041795015335, -0.6128446459770203, 0.7486247420310974, 0.5763298273086548, -0.8343908786773682, -0.3285493552684784, 0.137344092130661, -0.4506645202636719, 0.12779098749160767, 0.7784591913223267, -0.43421801924705505, 0.34603631496429443, 0.22520384192466736, 0.48562800884246826, 0.3315091133117676, -0.07911103218793869, 0.5287654399871826, 0.21794134378433228, 0.08808719366788864, 0.4247303307056427, 0.3351125419139862, 0.17015023529529572, -0.8087657690048218, 0.15221038460731506, 0.4302442669868469, -0.5372930765151978, -0.4631580710411072, 0.05731656402349472, -1.3983566761016846, -0.21712319552898407, 0.8183161020278931, -0.14093220233917236, -0.21577495336532593, -0.8730580806732178, -0.036292314529418945, 0.2601063847541809, -0.42402732372283936, 0.8330713510513306, 0.13649296760559082, -0.5401455760002136, 0.003985918127000332, -1.0054365396499634, 0.1384742110967636, -0.0014901770045980811, -1.0004442930221558, -0.14566005766391754, 0.5810790061950684, 0.4195385277271271, 0.09186847507953644, 1.0521396398544312, -0.18341052532196045, 0.5624866485595703, -0.19654031097888947, 0.3143855929374695, 0.10743993520736694, -0.0858055129647255, 0.11307763308286667, -0.05114048346877098, 0.18968334794044495, 0.11317546665668488 ]
http://arxiv.org/abs/2406.18085v1
http://arxiv.org/pdf/2406.18085v1
Multilingual Knowledge Graph Completion from Pretrained Language Models with Knowledge Constraints
2024-06-26T05:46:35
2024-06-26T05:46:35
Ran Song, Shizhu He, Shengxiang Gao, Li Cai, Kang Liu, Zhengtao Yu, Jun Zhao
cs.CL
cs.CL
Multilingual Knowledge Graph Completion (mKGC) aim at solving queries like (h, r, ?) in different languages by reasoning a tail entity t thus improving multilingual knowledge graphs. Previous studies leverage multilingual pretrained language models (PLMs) and the generative paradigm to achieve mKGC. Although multilingual pretrained language models contain extensive knowledge of different languages, its pretraining tasks cannot be directly aligned with the mKGC tasks. Moreover, the majority of KGs and PLMs currently available exhibit a pronounced English-centric bias. This makes it difficult for mKGC to achieve good results, particularly in the context of low-resource languages. To overcome previous problems, this paper introduces global and local knowledge constraints for mKGC. The former is used to constrain the reasoning of answer entities, while the latter is used to enhance the representation of query contexts. The proposed method makes the pretrained model better adapt to the mKGC task. Experimental results on public datasets demonstrate that our method outperforms the previous SOTA on Hits@1 and Hits@10 by an average of 12.32% and 16.03%, which indicates that our proposed method has significant enhancement on mKGC.
[ -0.565983772277832, -0.5312404632568359, 0.6882056593894958, 0.011024648323655128, -0.19143052399158478, 0.36362770199775696, -0.3740290403366089, -0.3498923182487488, 0.34419873356819153, 0.6670252680778503, -0.7570325136184692, -0.7057607173919678, -0.49196678400039673, 0.3551102876663208, 0.4355354607105255, 0.7335138916969299, -0.33550235629081726, 0.17224733531475067, -0.619916558265686, -0.3978542983531952, -0.4750211834907532, -0.7913722991943359, -0.492233544588089, -0.3122963607311249, 0.503338098526001, 0.5730900168418884, 0.5046705603599548, 0.23962734639644623, 0.1833169162273407, 0.20535311102867126, -0.08015719056129456, 0.6708948612213135, -0.4796643555164337, 0.036011531949043274, -0.026209114119410515, -0.469940721988678, -0.22571948170661926, -0.07018112391233444, 0.5073413848876953, 1.0502233505249023, -0.23337015509605408, -0.13434210419654846, 0.12606211006641388, 0.6577884554862976, -0.7110769152641296, 0.42764949798583984, -0.5457109212875366, 0.12579965591430664, -0.16331186890602112, -0.04512451961636543, -0.4797869920730591, -0.451949805021286, -0.028408370912075043, -1.013239860534668, -0.08951365202665329, 0.01521166693419218, 0.6336138248443604, 0.1744547337293625, -0.8742620348930359, -0.18652188777923584, -0.5006774663925171, 0.6171998381614685, -0.5006768703460693, 0.773794949054718, 0.7619293928146362, 0.31716015934944153, -0.03959836810827255, -0.6296544075012207, -0.389077752828598, -0.27256783843040466, -0.5542166233062744, 0.11510486155748367, 0.1442970484495163, 0.17261238396167755, 0.3768618702888489, 0.10568045824766159, -0.5203701257705688, -0.08530610054731369, -0.2249699831008911, -0.47881150245666504, 0.3060796856880188, 0.02935095503926277, 0.054464563727378845, -0.35158851742744446, -0.2007455676794052, 0.1864272505044937, -1.0825022459030151, 0.09101138263940811, 0.37106963992118835, 0.3946654796600342, 0.13842692971229553, 0.40595880150794983, -0.6207835078239441, 0.9772318601608276, -0.22128483653068542, -0.24387384951114655, 0.2605628967285156, -0.6277461051940918, 0.17825230956077576, -0.09352662414312363, 0.704857587814331, 0.045683834701776505, 0.4395594000816345, -0.2984585762023926, 0.22042228281497955, -0.3935874402523041, -0.05053656920790672, -0.6947228312492371, -0.0534655898809433, -0.20474651455879211, -0.1329319328069687, 0.274429589509964, -0.14835700392723083, -0.44593343138694763, -0.20191840827465057, -0.48383548855781555, 0.21078623831272125, -0.45048120617866516, -0.358739972114563, -0.04299132525920868, 0.34022456407546997, -0.06607785820960999, 0.08710924535989761, -0.6382467746734619, -0.054194215685129166, 0.2655602693557739, 0.6219934821128845, 0.1350138932466507, -0.3823383152484894, -0.3383377492427826, 0.5626201033592224, -0.0756261795759201, 0.6048887372016907, -0.642532229423523, -0.39080196619033813, -0.08315491676330566, 0.05112530291080475, -0.2759803235530853, -0.49951058626174927, 0.42070916295051575, -0.7139193415641785, 0.23422202467918396, -0.9464707970619202, -0.6209392547607422, -0.20415763556957245, 0.457461416721344, -0.452735960483551, 0.9266014695167542, 0.18184983730316162, -0.9189006686210632, 0.4486452043056488, -0.38731616735458374, -0.7972333431243896, 0.0019739815033972263, -0.1681274026632309, -0.05290011316537857, -0.3697989284992218, 0.6352854371070862, 0.37651097774505615, -0.2949115037918091, 0.2830117344856262, -0.34076371788978577, 0.015592537820339203, -0.21686029434204102, 0.06808283925056458, 0.8508785963058472, 0.35877832770347595, -0.019296642392873764, 0.12488864362239838, -0.6342390179634094, 0.39094939827919006, 0.030972927808761597, -0.3829219341278076, -0.34762290120124817, -0.04686218872666359, -0.6302307844161987, 0.2986454665660858, 0.29297879338264465, -0.28033050894737244, 0.43222740292549133, -0.2436632364988327, 0.5453691482543945, 0.41207438707351685, 0.17485801875591278, 0.4829278290271759, 0.17419306933879852, 0.8382158875465393, -0.014539229683578014, 0.1968003362417221, 0.030994819477200508, -0.49383336305618286, -0.6427946090698242, -0.18271063268184662, 0.4904938340187073, 0.640491783618927, -1.2901768684387207, 0.18576499819755554, -0.3584142327308655, -0.42360422015190125, -0.44229239225387573, 0.2193777859210968, 0.503203809261322, 0.6867430806159973, 0.41255247592926025, -0.09144634008407593, -0.6658350825309753, -0.8409537672996521, -0.049319490790367126, -0.11426637321710587, -0.040431492030620575, 0.6993176341056824, 0.24729576706886292, 0.01986829750239849, 0.9120169878005981, -0.743515133857727, -0.4508521556854248, -0.3598563075065613, 0.024161458015441895, 0.13274523615837097, 0.4230826497077942, 0.5124587416648865, -0.722322404384613, -0.7835021615028381, 0.07761374115943909, -0.7980372309684753, -0.08003992587327957, 0.2761247456073761, -0.36509329080581665, 0.05787472799420357, 0.6631388664245605, -0.7364010214805603, 0.22015899419784546, 0.3255802392959595, -0.1403084695339203, 0.5331965684890747, -0.22014737129211426, 0.34603819251060486, -1.0281426906585693, -0.01987832598388195, -0.37167415022850037, -0.37840214371681213, -0.608073353767395, 0.23995782434940338, 0.05233106017112732, -0.24599523842334747, -0.2947004735469818, 0.5205274820327759, -0.5147762894630432, 0.1495128720998764, 0.095725879073143, 0.31026533246040344, 0.12275183200836182, 0.706795871257782, 0.11500013619661331, 0.6876071095466614, 0.5421249270439148, -0.6661261916160583, 0.31439539790153503, 0.28453949093818665, -0.41075170040130615, 0.4789767563343048, -0.3532164990901947, 0.21711154282093048, -0.17870007455348969, 0.27826082706451416, -0.6725379228591919, -0.2898220717906952, 0.2813970446586609, -0.29193761944770813, 0.3271856904029846, -0.393637090921402, -0.49865779280662537, -0.44178903102874756, 0.2429986149072647, 0.6137150526046753, 0.189865380525589, -0.4274303913116455, 0.7837650179862976, 0.3224162459373474, 0.0548507496714592, -0.8326782584190369, -0.4612683057785034, -0.14977265894412994, -0.03544492647051811, -0.6745368242263794, 0.27445220947265625, -0.01019937265664339, 0.09343405067920685, 0.009401269257068634, -0.10631861537694931, -0.0637545958161354, -0.05617835745215416, -0.18796159327030182, -0.07135064154863358, -0.09949473291635513, 0.06983385980129242, -0.01605070009827614, -0.04373062774538994, -0.20524735748767853, -0.6291168332099915, 0.6827440857887268, 0.06572269648313522, -0.6192067265510559, -0.04724225029349327, 0.26168033480644226, 0.29179108142852783, -0.605104923248291, 0.935258150100708, 0.5371240377426147, -0.27100858092308044, 0.16195598244667053, -0.6068635582923889, -0.1333850920200348, -0.43661409616470337, 0.38749831914901733, -0.6013107895851135, -1.1616225242614746, 0.819182813167572, 0.03093092329800129, -0.42789795994758606, 0.19421203434467316, 0.21180717647075653, 0.15129691362380981, 1.1868113279342651, 0.45006680488586426, -0.1353987455368042, 0.24511386454105377, -0.2302267700433731, 0.26829808950424194, -0.6578118801116943, -0.41814127564430237, -0.5388455390930176, 0.008600261993706226, -0.5419819355010986, -0.27503594756126404, 0.5324008464813232, 0.7512012720108032, -0.11617599427700043, 0.3684065341949463, -0.3591369092464447, 0.5778282880783081, 0.7226278781890869, 0.06405546516180038, 0.30820581316947937, -0.007315213326364756, -0.7569440007209778, -0.25047391653060913, -1.0064103603363037, -0.031767554581165314, 1.0804072618484497, -0.3015667796134949, 0.36894094944000244, 0.2278844118118286, 0.5275959372520447, -0.17833997309207916, 0.35416945815086365, -0.45595812797546387, 0.502327561378479, -0.0653151348233223, -0.8135086297988892, -0.18332138657569885, -0.8608554601669312, -0.7865229845046997, 0.20821525156497955, -0.06071807071566582, -0.8041151762008667, -0.07217264920473099, 0.1422121524810791, -0.15609103441238403, 0.2069634199142456, -0.8307062983512878, 1.045006275177002, -0.18802635371685028, -0.22484490275382996, -0.13240055739879608, -0.6131932139396667, 0.27196961641311646, 0.03864237666130066, 0.32816892862319946, -0.19135333597660065, 0.3744679093360901, 0.5124072432518005, -0.6741494536399841, 0.750206470489502, -0.5927864909172058, 0.03624272346496582, 0.5545995831489563, -0.1307755410671234, 0.751781702041626, 0.0670052170753479, 0.05660258233547211, -0.027979593724012375, -0.059452276676893234, -0.5484264492988586, -0.7089388966560364, 0.4582509994506836, -0.6116033792495728, -0.8517785668373108, 0.019552504643797874, -0.6838964819908142, -0.6217501759529114, 0.4674932360649109, 0.3896001875400543, 0.26020196080207825, 0.05818942189216614, 0.06260789185762405, 0.5030223727226257, -0.19767619669437408, 0.06696925312280655, 0.6621820330619812, -0.505016565322876, -0.509344756603241, 0.9157122373580933, 0.37844985723495483, 0.3700456917285919, 0.4915746748447418, -0.0296657532453537, -0.48297998309135437, -0.5567134022712708, -0.4352683126926422, 0.19365638494491577, -0.9482435584068298, -0.39483314752578735, -0.6552973389625549, -0.24534261226654053, -0.816415011882782, 0.10552791506052017, -0.08469528704881668, -0.42062199115753174, -0.041899338364601135, -0.13317930698394775, 0.2214864045381546, 0.48018908500671387, -0.015118486247956753, 0.37719929218292236, -0.731132447719574, 0.1948002576828003, 0.5469722747802734, 0.419849693775177, 0.04381106048822403, -0.20939362049102783, -0.4166218936443329, 0.08210299909114838, -0.19297447800636292, -0.9972758293151855, 0.04819479212164879, 0.3030592203140259, 0.7930915355682373, 0.45151427388191223, 0.16750313341617584, 0.8098771572113037, -0.46176260709762573, 0.5045896172523499, 0.0565452054142952, -0.8150237202644348, 0.6533528566360474, -0.43853989243507385, 0.4020078182220459, 0.7100804448127747, 0.8250753283500671, -0.5768750905990601, -0.4864959120750427, -0.3562305271625519, -0.7712332010269165, 0.7321184873580933, 0.19971685111522675, -0.1869264841079712, -0.012202966958284378, 0.6070067882537842, -0.16292724013328552, 0.24657513201236725, -0.9041796326637268, -0.322593092918396, -0.2402724027633667, -0.1199563667178154, 0.037824712693691254, -0.32945388555526733, -0.0779714584350586, -0.4299604296684265, 0.8887682557106018, -0.36715519428253174, -0.033112235367298126, 0.039143070578575134, -0.2737211585044861, 0.10725758969783783, 0.2258750945329666, 0.4425792098045349, 0.924537181854248, -0.04866368696093559, 0.1570826917886734, 0.34193575382232666, -0.3664350211620331, 0.23788319528102875, 0.39462611079216003, -0.3871915638446808, -0.19999030232429504, 0.41787365078926086, 0.7068778872489929, 0.042058028280735016, -0.45986437797546387, 0.2992401719093323, -0.005246223881840706, -0.09948643296957016, -0.037563640624284744, -0.1065654456615448, 0.3577025532722473, 0.0776914656162262, 0.2608238160610199, -0.06830623000860214, -0.20734310150146484, -0.16772493720054626, 0.004119366407394409, 0.592465877532959, -0.39201620221138, -0.09869620949029922, 0.7836870551109314, -0.0030017646495252848, 0.1859825700521469, 0.7261856198310852, -0.7235203385353088, -0.8730789422988892, 0.4162774682044983, 0.507239818572998, 0.249770388007164, -0.2719164490699768, 0.15489304065704346, 0.573001503944397, 0.4769623875617981, 0.019481714814901352, 0.42357712984085083, -0.1930779665708542, -0.9518932700157166, -0.9139724373817444, -0.6083053946495056, -0.22153429687023163, 0.0013174869818612933, -0.5464531779289246, 0.22618862986564636, -0.2459665834903717, -0.14785002171993256, -0.12631654739379883, 0.11832638084888458, -0.667797863483429, 0.06104010343551636, -0.06798995286226273, 0.7278232574462891, -0.6569605469703674, 1.1405900716781616, 0.843206524848938, -0.6420015692710876, -1.0916779041290283, -0.3169127106666565, -0.22760331630706787, -0.8421129584312439, 0.6608389616012573, 0.11869001388549805, 0.005227630026638508, 0.19172553718090057, -0.2608565390110016, -1.0816857814788818, 0.9325419664382935, 0.7831189036369324, -0.3095554709434509, -0.0353064090013504, 0.5052109956741333, 0.26180148124694824, -0.33806177973747253, -0.013775000348687172, 0.509699285030365, 0.73165363073349, 0.26852861046791077, -0.9263463616371155, -0.032958805561065674, 0.023052318021655083, -0.2453700602054596, 0.3611776828765869, -0.565992534160614, 0.6145533323287964, -0.12435131520032883, -0.08521959185600281, -0.24905294179916382, 0.6928242444992065, 0.39755895733833313, 0.09762004017829895, 0.48831918835639954, 0.9361395835876465, 1.0494941473007202, -0.2809695899486542, 0.9983134269714355, -0.45081862807273865, 0.3966313898563385, 1.203545093536377, -0.36507856845855713, 0.43087396025657654, 0.19604314863681793, -0.4379137456417084, 0.3934566080570221, 0.7975843548774719, 0.30640074610710144, 0.7251139283180237, -0.027982475236058235, -0.3619731068611145, -0.6006475687026978, -0.4852434992790222, -0.48384004831314087, 0.4199502766132355, 0.23526743054389954, 0.05438848212361336, -0.07259617745876312, 0.280429482460022, 0.3701331615447998, -0.006049368064850569, -0.4834916293621063, 0.5701032280921936, -0.03597734495997429, -0.9630367755889893, 0.5836290717124939, -0.0054949307814240456, 0.3786572217941284, -0.7723451256752014, 0.2450830638408661, -0.4491425156593323, -0.02209249883890152, -0.17089207470417023, -0.32568278908729553, 0.33356553316116333, -0.1997154951095581, -0.2466987818479538, -0.17752309143543243, 0.8390701413154602, -0.7478071451187134, -0.6033656001091003, 0.39277374744415283, 0.7833373546600342, -0.010598413646221161, -0.2349831759929657, -0.42258337140083313, -0.4237709045410156, 0.33909595012664795, -0.059835124760866165, 0.20312738418579102, 0.605221688747406, -0.08305098116397858, 0.6988934278488159, 0.4107658267021179, 0.08072663098573685, 0.13588851690292358, 0.22217591106891632, 0.8241415619850159, -0.34627601504325867, -0.5047553777694702, -0.6492961049079895, 0.10748296976089478, 0.06522006541490555, 0.02694474533200264, 0.8291208744049072, 0.6145377159118652, 1.1596637964248657, 0.06569388508796692, 0.7260978817939758, -0.242863729596138, 0.45110011100769043, -0.874574601650238, 0.8591330647468567, -0.645564615726471, 0.08959577232599258, -0.12727729976177216, -0.8953998684883118, -0.30568596720695496, 0.446985125541687, -0.5207241773605347, 0.27632349729537964, 0.8288432359695435, 0.6392759084701538, -0.06410574167966843, -0.11925920099020004, 0.1958102434873581, 0.057106852531433105, 0.13804471492767334, 0.7141854166984558, 0.8740218281745911, 0.025834184139966965, 0.9812669157981873, -0.4695930778980255, 0.14762628078460693, 0.2583146393299103, -0.8955982327461243, -0.8789671063423157, -0.5972298383712769, -0.23595602810382843, -0.3480894863605499, -0.1773100048303604, 0.7372077107429504, 0.9396880865097046, -0.9737052321434021, 0.008781961165368557, -0.002757239853963256, 0.49454838037490845, -0.05654779449105263, -0.19446268677711487, 0.5411631464958191, -0.47139814496040344, -0.4520578682422638, 0.3844982087612152, 0.0031014918349683285, -0.046101510524749756, -0.20009593665599823, -0.31466028094291687, -0.5131269097328186, -0.42410218715667725, 0.4903402328491211, 0.25206470489501953, -0.5665213465690613, -0.4039754867553711, 0.08490945398807526, 0.12589432299137115, 0.1553591936826706, 1.1197314262390137, -0.8786489963531494, 0.45382243394851685, 0.2642209529876709, 0.45272842049598694, 0.6314324736595154, -0.20041176676750183, 0.4705382287502289, -1.4695136547088623, 0.43682923913002014, 0.11064428091049194, 0.5930957198143005, 0.3715214431285858, -0.31358829140663147, 0.6236653923988342, 0.44096100330352783, -0.37396037578582764, -0.5510882139205933, 0.5986875891685486, -0.46339964866638184, -0.3528195321559906, 0.9962041974067688, -0.4543952941894531, -0.03791285678744316, -0.22596117854118347, 0.012748482637107372, 0.5408143401145935, 0.03636773303151131, 0.4194578230381012, 0.9276800155639648, -0.1383250653743744, -0.12483616173267365, -0.5776039958000183, 0.5738013982772827, 0.46036556363105774, -0.8591879606246948, 0.040690772235393524, 0.6009901762008667, 0.1543426811695099, 0.1985531747341156, 0.9430035352706909, 0.024085508659482002, -0.06097004562616348, -0.3295637369155884, 0.05882710963487625, -0.2449163794517517, -0.3510507643222809, 0.18562477827072144, 0.3404091000556946, 0.13887347280979156, 0.3081117570400238 ]
http://arxiv.org/abs/2406.18082v1
http://arxiv.org/pdf/2406.18082v1
Octo-planner: On-device Language Model for Planner-Action Agents
2024-06-26T05:40:10
2024-06-26T05:40:10
Wei Chen, Zhiyuan Li, Zhen Guo, Yikang Shen
cs.CL
cs.CL, cs.HC
AI agents have become increasingly significant in various domains, enabling autonomous decision-making and problem-solving. To function effectively, these agents require a planning process that determines the best course of action and then executes the planned actions. In this paper, we present an efficient on-device Planner-Action framework that separates planning and action execution into two distinct components: a planner agent based on Phi-3 Mini, a 3.8 billion parameter LLM optimized for edge devices, and an action agent using the Octopus model for function execution. The planner agent first responds to user queries by decomposing tasks into a sequence of sub-steps, which are then executed by the action agent. To optimize performance on resource-constrained devices, we employ model fine-tuning instead of in-context learning, reducing computational costs and energy consumption while improving response times. Our approach involves using GPT-4 to generate diverse planning queries and responses based on available functions, with subsequent validations to ensure data quality. We fine-tune the Phi-3 Mini model on this curated dataset, achieving a 97\% success rate in our in-domain test environment. To address multi-domain planning challenges, we developed a multi-LoRA training method that merges weights from LoRAs trained on distinct function subsets. This approach enables flexible handling of complex, multi-domain queries while maintaining computational efficiency on resource-constrained devices. To support further research, we have open-sourced our model weights at \url{https://huggingface.co/NexaAIDev/octopus-planning}. For the demo, please refer to \url{https://www.nexa4ai.com/octo-planner}.
[ -0.6151960492134094, -0.7869439125061035, 0.45066148042678833, 0.10999986529350281, -0.17812705039978027, -0.39704430103302, 0.20004713535308838, -0.3488940894603729, 0.37117379903793335, 0.5970360040664673, -0.5547346472740173, -0.24653242528438568, -0.07740635424852371, -0.07254169881343842, 0.05047163367271423, 0.5851871371269226, -0.11558620631694794, -0.3126527965068817, 0.2829902470111847, -0.2652865946292877, -0.17537368834018707, -0.20595891773700714, -0.9049692153930664, -0.4408155679702759, 0.4274618327617645, 0.7607974410057068, 0.6033126711845398, 0.6245777606964111, 0.5641893744468689, 0.3293769955635071, 0.20003969967365265, 0.26855581998825073, -0.33187833428382874, 0.0013239323161542416, -0.13544413447380066, -0.07696251571178436, -1.1843109130859375, -0.19245176017284393, 0.40010809898376465, 0.4388815760612488, -0.34825599193573, -0.04337790608406067, -0.19642147421836853, 0.38375556468963623, -0.6270110607147217, 0.24557770788669586, -0.6610666513442993, 0.06903352588415146, 0.2335159033536911, 0.10681282728910446, -0.2365454137325287, -0.26122790575027466, 0.07129813730716705, -0.8923289179801941, -0.07990729063749313, -0.06592763215303421, 0.33624401688575745, 0.5614321231842041, -0.4829378128051758, -0.1463632434606552, -0.9832805395126343, 0.5551332831382751, -0.3188818097114563, 0.45562443137168884, 0.3920723795890808, 0.28230392932891846, 0.008246339857578278, -0.8101059794425964, -0.790551483631134, 0.09270994365215302, 0.30978530645370483, 0.05844749137759209, -0.016796711832284927, 0.20212391018867493, 0.39233484864234924, -0.025327198207378387, -0.6532570123672485, 0.13747549057006836, -0.3740230202674866, 0.05427470803260803, 0.8932636976242065, 0.17681026458740234, 0.07324310392141342, 0.1795404553413391, -0.4648979604244232, -0.05904419720172882, -0.9261216521263123, 0.05894775316119194, 0.3264622092247009, 0.3022627830505371, -0.24034616351127625, 0.7346817851066589, -0.48604616522789, 0.4198153018951416, -0.011779004707932472, -0.5393442511558533, 0.010255349799990654, -0.2754665017127991, -0.27130454778671265, 0.17266277968883514, 0.6903234720230103, 0.306011825799942, -0.029433133080601692, 0.08582796156406403, -0.3867439329624176, -0.061345502734184265, 0.30099985003471375, -0.990663468837738, -0.34099942445755005, 0.4009491503238678, -0.1672149896621704, 0.03173132985830307, -0.5038891434669495, -0.7737229466438293, -0.4806183874607086, 0.018307361751794815, 0.43083640933036804, -0.6892306804656982, -0.19792351126670837, 0.2776983380317688, 0.1925327479839325, 0.2916995882987976, 0.3709315359592438, -0.9524053335189819, 0.6405521035194397, 0.46273329854011536, 0.6621993184089661, -0.019114410504698753, -0.49208077788352966, -0.7721522450447083, 0.5264157056808472, -0.2276146411895752, 0.9185268878936768, -0.3838178813457489, -0.6684034466743469, -0.09240805357694626, -0.4530930519104004, -0.5166313648223877, -0.19792185723781586, 0.6730304956436157, -0.6029564142227173, 0.047334711998701096, -0.13309042155742645, -0.3458879292011261, -0.4854501783847809, 0.3407209515571594, -0.924242377281189, 0.9555337429046631, 0.01957036927342415, -0.41307154297828674, 0.4144209623336792, -1.2451491355895996, -0.5460788607597351, 0.10172785818576813, -0.15104851126670837, -0.6026920676231384, -0.3003733158111572, 0.30249521136283875, 0.47988370060920715, -0.3684512972831726, -0.2692757546901703, -0.36089107394218445, -0.22837576270103455, -0.16626395285129547, 0.10297703742980957, 0.3232669234275818, 0.15231260657310486, -0.43539807200431824, 0.31330394744873047, -0.7316038608551025, 0.2480040341615677, 0.16137000918388367, -0.39897677302360535, -0.02176872082054615, 0.13345986604690552, -0.11898975074291229, 0.299011766910553, 0.1245265081524849, -0.7073065638542175, 0.5846990942955017, -0.31429845094680786, 0.4988551735877991, 0.4414093792438507, 0.10299868136644363, 0.5819292068481445, -0.3064955770969391, 0.5210980176925659, -0.34761470556259155, 0.4349251687526703, -0.1486506313085556, -0.7216961979866028, -0.5655542016029358, -0.25070706009864807, -0.1709582507610321, 0.5628553032875061, -1.0176174640655518, 0.2569030821323395, -0.4122142791748047, -0.6477304697036743, 0.030376005917787552, 0.07082180678844452, 0.29724934697151184, 0.45266830921173096, 0.41271650791168213, -0.08290708810091019, 0.08863283693790436, -0.555000901222229, -0.020911535248160362, -0.2910713851451874, 0.1864723116159439, 0.2974538207054138, 0.5493879914283752, -0.25120604038238525, 0.9405660629272461, -0.6200171709060669, -0.5070641040802002, -0.7248433232307434, 0.06662203371524811, -0.0250852070748806, 0.38248518109321594, 0.6378892660140991, -1.0358837842941284, -0.43717312812805176, 0.23265141248703003, -0.374477356672287, 0.02341855876147747, 0.02428436279296875, 0.19492819905281067, 0.06730622053146362, 0.18217723071575165, -1.0124800205230713, 0.4038703739643097, 0.3244991898536682, -0.24718818068504333, 0.34393253922462463, -0.21310479938983917, -0.15234196186065674, -1.061956524848938, 0.11002369970083237, -0.007271496579051018, 0.1232832670211792, -0.7729281783103943, 0.1033785417675972, 0.030784323811531067, -0.4134536683559418, -0.7785932421684265, 0.6699638962745667, -0.18726956844329834, -0.3428875505924225, -0.2241942286491394, -0.10506600141525269, 0.006074423436075449, 0.9934526085853577, 0.11488383263349533, 0.8925749659538269, 0.3246295154094696, -0.9578863978385925, 0.3872322142124176, 0.13856151700019836, 0.11972995847463608, 0.6484956741333008, -0.7757940292358398, 0.2593340277671814, 0.34588247537612915, 0.07159190624952316, -0.5330555438995361, -0.3896813690662384, 0.4447813332080841, 0.018290193751454353, -0.09680648893117905, -0.4566510021686554, -0.5926083922386169, -0.1983630359172821, -0.3999707102775574, 0.5207400918006897, 0.3235367238521576, -0.4929018020629883, 1.3825852870941162, 0.5762895941734314, -0.15114158391952515, -0.21646150946617126, -0.2996845841407776, -0.5371124148368835, -0.5019758343696594, -0.73097825050354, 0.5962495803833008, -0.0178383756428957, -0.1270504742860794, -0.2170068323612213, -0.06108186021447182, -0.2575991749763489, -0.10730461776256561, 0.3358997106552124, 0.006320593878626823, -0.09835013747215271, -0.008513441309332848, 0.2505798637866974, -0.241524800658226, -0.10289271920919418, -0.46424180269241333, 0.763270914554596, -0.13468477129936218, -0.745652973651886, -0.6031235456466675, 0.2643967568874359, 0.6051582098007202, -0.4078337252140045, 0.31550076603889465, 0.4089643061161041, -0.5639071464538574, -0.24538928270339966, -0.33796122670173645, -0.12381093949079514, -0.5522896647453308, 0.1210038885474205, -0.8855599164962769, -0.21630719304084778, 0.45421895384788513, -0.2455596923828125, 0.31588587164878845, 0.3666943907737732, 0.4524301588535309, 0.08584092557430267, 1.1415834426879883, 0.7705018520355225, 0.08166149258613586, 0.5660228729248047, -0.8019263744354248, 0.28206679224967957, -0.9094921350479126, -0.19549965858459473, -0.2939092814922333, -0.3194426894187927, -0.5013970136642456, -0.3678092062473297, 0.7926900386810303, -0.0827338770031929, -0.3978694975376129, 0.37753209471702576, -0.34286513924598694, 0.3559362292289734, 0.44422537088394165, -0.1505536288022995, 0.246860072016716, 0.07747926563024521, -0.1702263504266739, 0.33042728900909424, -0.8125083446502686, -0.5202767252922058, 1.1850237846374512, 0.23210076987743378, 0.8061719536781311, 0.21877582371234894, 0.5741615295410156, 0.16229592263698578, -0.04448205232620239, -0.7521704435348511, 0.8157109618186951, 0.2606874406337738, -0.26018026471138, -0.5474124550819397, -0.26997172832489014, -0.9508121013641357, 0.6284360885620117, 0.10148477554321289, -1.0125676393508911, 0.5047786831855774, 0.157713383436203, -0.7430216670036316, 0.5486928224563599, -0.8753023147583008, 0.9011584520339966, -0.48979493975639343, -0.6128250360488892, -0.39565345644950867, -0.17146560549736023, 0.13434943556785583, 0.020267019048333168, -0.21487537026405334, -0.38970527052879333, -0.2907187342643738, 0.626960813999176, -0.5298690795898438, 0.5091248154640198, -0.2829959988594055, 0.042089659720659256, 0.4447227120399475, 0.06561556458473206, 0.6630778312683105, 0.22199155390262604, -0.3453669548034668, -0.03410586714744568, -0.21215324103832245, -0.3467080891132355, -0.35297659039497375, 0.6164882183074951, -0.8520527482032776, -0.1377628743648529, -0.3649051785469055, -0.4997670650482178, -0.22136926651000977, 0.5725528597831726, 0.20095095038414001, 0.4465693235397339, -0.27674371004104614, -0.26715919375419617, 0.5925118923187256, -0.051554542034864426, 0.8025928139686584, 0.564055323600769, -0.30392664670944214, -0.2721562087535858, 1.0397993326187134, 0.11422286927700043, 0.11551444232463837, 0.2601659297943115, -0.015309898182749748, -0.3925817906856537, -0.6937968730926514, -0.5934367179870605, 0.22932633757591248, -0.3660329580307007, -0.13914859294891357, -0.7007762789726257, -0.015919307246804237, -0.36977705359458923, -0.21412713825702667, -0.7058866620063782, -0.5541050434112549, 0.03670324385166168, 0.09226904064416885, 0.2799813449382782, 0.6962003111839294, -0.06278736889362335, 0.8418385982513428, -0.3808797299861908, 0.5425540804862976, 0.4814274311065674, 0.25178200006484985, -0.47038841247558594, 0.22432841360569, -0.07111909985542297, 0.09978550672531128, -0.7762424945831299, -0.7419177293777466, 0.4774300754070282, 0.3460967540740967, 0.44932883977890015, 0.6005673408508301, 0.13748972117900848, 0.47059687972068787, -0.17300033569335938, 0.5447032451629639, -0.055433180183172226, -0.564781904220581, 0.778289794921875, -0.4776644706726074, 0.1876152604818344, 0.41540858149528503, 0.3926115036010742, -0.16008751094341278, 0.25576460361480713, -0.8390226364135742, -0.9086962938308716, 0.9677336812019348, 0.22574825584888458, -0.41376441717147827, 0.4008103311061859, 0.2290368676185608, -0.12030556797981262, 0.19327394664287567, -0.4715540409088135, 0.08882775902748108, -0.045858290046453476, 0.2058972865343094, 0.26933756470680237, -0.0111847510561347, -0.26841914653778076, -0.049632616341114044, 0.6185897588729858, -0.5806496739387512, 0.37109702825546265, 0.11833301186561584, -0.0813804343342781, -0.03509536385536194, 0.004665910266339779, 0.5951570868492126, 0.7071017622947693, -0.0838334709405899, -0.17114970088005066, 0.3799300491809845, -0.7986185550689697, 0.006700514350086451, 0.5686033368110657, -0.2378762662410736, -0.40087389945983887, 0.22165153920650482, 0.4504565894603729, 0.17070195078849792, -0.5023984313011169, 0.2301122099161148, -0.2593899369239807, 0.10134989768266678, -0.37815946340560913, 0.35822808742523193, -0.15331456065177917, 0.2598828673362732, 0.18585343658924103, -0.011918344534933567, 0.21083860099315643, -0.39773768186569214, -0.057762570679187775, 0.0363609604537487, -0.2714233100414276, -0.46979111433029175, 0.6648789644241333, 0.5329201221466064, -0.419206827878952, 0.647418737411499, -0.5146938562393188, -0.45940569043159485, 0.7544097900390625, 0.32199063897132874, 0.8182468414306641, -0.46217647194862366, 0.11300593614578247, 0.00560923432931304, 0.36685821413993835, 0.19191724061965942, 0.99214768409729, -0.029381249099969864, -0.8187941312789917, -0.15734438598155975, -0.3940664827823639, -0.5064422488212585, 0.025560228154063225, -0.15153874456882477, 0.42976129055023193, -0.6048129200935364, -0.16826987266540527, -0.15560497343540192, 0.34294459223747253, -0.8076755404472351, 0.09719433635473251, -0.19473807513713837, 0.9779298901557922, -0.3934701085090637, 1.0620157718658447, 0.9499544501304626, -0.4840488135814667, -0.9439585208892822, 0.023676235228776932, 0.11431458592414856, -0.7159918546676636, 0.2780461311340332, 0.010305631905794144, -0.48361971974372864, 0.030063113197684288, 0.06293418258428574, -0.903535008430481, 1.250340223312378, 0.3102082908153534, -0.12556162476539612, -0.046873968094587326, 0.3993479311466217, 0.395020991563797, -0.5743455290794373, 0.4817112386226654, 0.4950796663761139, 0.37023428082466125, 0.23649169504642487, -1.1089330911636353, -0.24286174774169922, -0.1836310476064682, -0.18079839646816254, 0.3510018289089203, -0.7128316164016724, 0.9725664854049683, -0.3679599463939667, -0.061690155416727066, -0.040169961750507355, 0.3709181547164917, 0.38033854961395264, 0.5424229502677917, 0.599877655506134, 0.6574344038963318, 0.5974698662757874, 0.01287029031664133, 1.0039105415344238, -0.6369034051895142, 0.08823782205581665, 0.8913326859474182, -0.8079780340194702, 0.9077332019805908, 0.05625726282596588, 0.10947036743164062, 0.1578630805015564, 0.6075662970542908, 0.5489409565925598, 0.6411572694778442, -0.41749730706214905, -0.37807053327560425, 0.024214504286646843, -0.12111994624137878, -0.26269635558128357, 0.5746562480926514, 0.562262773513794, 0.16740161180496216, -0.11870525777339935, 0.005246731918305159, 0.10355813056230545, -0.37982985377311707, -0.4857092797756195, 0.7240033745765686, -0.05865262448787689, -0.6533368229866028, 0.20473520457744598, 0.21578183770179749, 0.12906880676746368, -0.7266114354133606, -0.11162180453538895, -0.30204617977142334, 0.5049058198928833, -0.18689151108264923, -0.6416240930557251, 0.15569013357162476, -0.247583270072937, 0.19790776073932648, -0.28935685753822327, 0.8585822582244873, -0.02855381928384304, -0.20875532925128937, 0.2506214380264282, 0.4937479794025421, 0.046155791729688644, -0.25943678617477417, -0.7418971657752991, 0.18124938011169434, -0.2914641797542572, -0.2599250078201294, 0.0841561108827591, 0.5405916571617126, -0.14763368666172028, 1.0371043682098389, 0.7143782377243042, 0.04940547049045563, 0.03924810513854027, -0.3003711998462677, 1.0640056133270264, -0.4171407222747803, -0.9565776586532593, -0.474530965089798, 0.4496126174926758, -0.2859635651111603, -0.6155005693435669, 0.3600321114063263, 0.9301000833511353, 0.7858589887619019, 0.36742356419563293, 0.565940260887146, -0.07470352947711945, 0.2145872414112091, -0.48942407965660095, 0.47344204783439636, -0.4040820300579071, 0.5423482656478882, 0.016555165871977806, -1.062703251838684, 0.04522262513637543, 0.6135540008544922, -0.5394468307495117, 0.19312013685703278, 0.5242725610733032, 0.6611852645874023, -0.4913424849510193, 0.2781217098236084, 0.22287429869174957, -0.09758932143449783, 0.4798803925514221, 0.5832325220108032, 0.5709990859031677, -0.3106648921966553, 0.5741829872131348, -0.4724545478820801, -0.15803544223308563, -0.40323418378829956, -0.5297922492027283, -0.6146649718284607, -0.5801367163658142, -0.1766158491373062, 0.23120243847370148, 0.1668401062488556, 0.9462833404541016, 0.9844458103179932, -0.29249632358551025, -0.436658650636673, 0.002616553334519267, 0.39341503381729126, -0.3634692430496216, -0.12837685644626617, 0.3629080355167389, -0.05427990481257439, -0.6525818705558777, 0.5924090147018433, 0.33227574825286865, -0.09746991842985153, -0.22618375718593597, -0.3029029369354248, 0.024853793904185295, 0.01135560404509306, 0.7236706018447876, 0.6455206274986267, -0.3744274973869324, -0.09873443096876144, -0.11258728802204132, -0.020565124228596687, -0.055426567792892456, 0.9818004369735718, -0.672903299331665, 0.27255865931510925, 0.35906997323036194, 0.2931274175643921, 0.6264082193374634, -0.12511815130710602, 0.6034209728240967, -0.4078943729400635, 0.24189713597297668, 0.47873973846435547, 0.48966407775878906, -0.01726726070046425, -0.3872646391391754, 0.8716874718666077, -0.06353932619094849, -0.5881113409996033, -0.568682074546814, 0.44499868154525757, -1.0290582180023193, 0.012412231415510178, 1.0950920581817627, 0.013258685357868671, -0.10233046114444733, -0.17969466745853424, -0.26509469747543335, -0.06753063946962357, -0.6696182489395142, 0.6994940638542175, -0.03492319956421852, -0.971473217010498, -0.09158610552549362, -0.4169509708881378, 0.5884508490562439, 0.060832373797893524, -1.0178675651550293, -0.2424595057964325, 0.3607545793056488, -0.09628161042928696, 0.3052966296672821, 0.9320817589759827, 0.3072102665901184, 0.4286566376686096, 0.1597364842891693, 0.22676914930343628, -0.04040015488862991, -0.5979851484298706, 0.027381379157304764, 0.40404441952705383, 0.07916992902755737, -0.38968425989151 ]
http://arxiv.org/abs/2406.18078v1
http://arxiv.org/pdf/2406.18078v1
Self-Training with Pseudo-Label Scorer for Aspect Sentiment Quad Prediction
2024-06-26T05:30:21
2024-06-26T05:30:21
Yice Zhang, Jie Zeng, Weiming Hu, Ziyi Wang, Shiwei Chen, Ruifeng Xu
cs.CL
cs.CL, cs.AI
Aspect Sentiment Quad Prediction (ASQP) aims to predict all quads (aspect term, aspect category, opinion term, sentiment polarity) for a given review, which is the most representative and challenging task in aspect-based sentiment analysis. A key challenge in the ASQP task is the scarcity of labeled data, which limits the performance of existing methods. To tackle this issue, we propose a self-training framework with a pseudo-label scorer, wherein a scorer assesses the match between reviews and their pseudo-labels, aiming to filter out mismatches and thereby enhance the effectiveness of self-training. We highlight two critical aspects to ensure the scorer's effectiveness and reliability: the quality of the training dataset and its model architecture. To this end, we create a human-annotated comparison dataset and train a generative model on it using ranking-based objectives. Extensive experiments on public ASQP datasets reveal that using our scorer can greatly and consistently improve the effectiveness of self-training. Moreover, we explore the possibility of replacing humans with large language models for comparison dataset annotation, and experiments demonstrate its feasibility. We release our code and data at https://github.com/HITSZ-HLT/ST-w-Scorer-ABSA .
[ -0.5464019179344177, -0.11561096459627151, 0.314776748418808, 0.29813817143440247, -0.3567039966583252, 0.22381319105625153, 0.08594294637441635, -0.46574774384498596, 0.41138890385627747, 0.43572843074798584, -0.5474658608436584, -0.7255075573921204, -0.3894786536693573, 0.1316203773021698, -0.2155582457780838, 1.4150046110153198, 0.01201800350099802, 0.10843496024608612, -0.5305240750312805, -0.34592387080192566, -0.4651200771331787, -1.007721185684204, -0.416294127702713, -0.2917543947696686, 0.34401899576187134, 0.44916948676109314, 0.3631703555583954, 0.32517170906066895, 0.3282375931739807, 0.25766563415527344, 0.06651464104652405, -0.0656072124838829, -0.3551267087459564, 0.17602913081645966, -0.03347358480095863, -0.22641441226005554, -0.583088219165802, 0.3991851210594177, 0.5512573719024658, 0.23822161555290222, 0.0634869709610939, 0.3331871032714844, 0.20707698166370392, 0.8381820917129517, -0.5860773921012878, 0.3017106354236603, -0.35008537769317627, 0.2352404147386551, -0.14329952001571655, -0.008831201121211052, -0.1796247363090515, -0.39642465114593506, -0.21872839331626892, -0.25929877161979675, 0.265641450881958, 0.16043917834758759, 0.6035234332084656, 0.19176353514194489, -0.31345027685165405, 0.059594348073005676, -0.716295599937439, 0.630654513835907, -0.6197444796562195, 0.4624601900577545, 0.6055662035942078, 0.3643207848072052, 0.0650365948677063, -0.47524523735046387, -0.48572418093681335, -0.15570740401744843, -0.03958401456475258, 0.5353370308876038, 0.12191388010978699, 0.23810377717018127, 0.19810321927070618, 0.5586825013160706, -0.5922464728355408, 0.07286619395017624, -0.1962931603193283, -0.47718724608421326, 0.8617072701454163, 0.14235937595367432, -0.07750438153743744, -0.5664250254631042, -0.5949996113777161, -0.0824703723192215, -0.6182758808135986, 0.4646655023097992, 0.5588198304176331, 0.21697302162647247, 0.03230509161949158, 0.4333464503288269, -0.571112334728241, 0.5658610463142395, 0.19761067628860474, 0.1613045632839203, 0.5290077924728394, -0.2804775536060333, 0.1440449357032776, 0.0489777997136116, 1.1526163816452026, 0.5555089116096497, -0.23010513186454773, 0.011583813466131687, -0.5793872475624084, 0.01038382202386856, 0.4925709664821625, -0.6105592846870422, -0.7692416310310364, 0.2717382609844208, -0.3156642019748688, -0.32750970125198364, -0.09748275578022003, -0.6673598289489746, -0.20070499181747437, -0.35976964235305786, 0.6423373818397522, -0.4601493775844574, -0.04470207542181015, -0.22450828552246094, -0.02237716130912304, 0.02464570850133896, 0.11383496224880219, -0.8411550521850586, 0.06926296651363373, 0.6286807060241699, 0.779569685459137, -0.043314315378665924, -0.4283261299133301, -0.6524759531021118, -0.4843679964542389, -0.37170693278312683, 1.0725395679473877, -0.41285595297813416, -0.5199082493782043, -0.04498874768614769, -0.49991223216056824, 0.09336011856794357, -0.321528822183609, 0.6222493052482605, -0.3785746395587921, 0.130531907081604, -0.3401428461074829, -0.4888271689414978, -0.17055971920490265, 0.6760666966438293, -0.5298527479171753, 1.3287726640701294, 0.3165859282016754, -0.7473553419113159, 0.3165137767791748, -0.2977510094642639, -0.2827084958553314, 0.15200990438461304, -0.28723835945129395, -0.9994071125984192, 0.1799083650112152, 0.26075518131256104, 0.2769322991371155, -0.18841028213500977, -0.13842226564884186, -0.5792569518089294, -0.13558490574359894, 0.3789464831352234, -0.17590539157390594, 0.35001692175865173, 0.018878506496548653, -0.11542168259620667, 0.25040268898010254, -0.6526469588279724, 0.3210238516330719, -0.26691949367523193, -0.2379232943058014, -0.20268595218658447, -0.19004350900650024, -0.07523709535598755, 0.5966782569885254, 0.321288138628006, -0.61910080909729, 0.3878043591976166, -0.5259310603141785, 0.1455720216035843, 0.6597800850868225, 0.19977110624313354, 0.2532374858856201, -0.1885315626859665, 0.736668050289154, 0.1699417233467102, 0.5644065141677856, 0.2691076099872589, -0.48148903250694275, -0.6411332488059998, -0.20655356347560883, 0.7036639451980591, 0.2310837358236313, -1.142983317375183, 0.7331199049949646, -0.042602457106113434, -0.6715940237045288, -0.7066088318824768, 0.19366805255413055, 0.9087074995040894, 0.5035930275917053, 0.5718973875045776, -0.6753412485122681, -0.44088104367256165, -0.8544977307319641, -0.3936308026313782, -0.4761057496070862, 0.1632474958896637, 0.008852141909301281, 0.36416199803352356, -0.05636429786682129, 1.232433795928955, -0.6625164151191711, -0.7631047368049622, -0.26292651891708374, 0.6765385270118713, 0.02359599806368351, 0.40376922488212585, 0.5604203939437866, -0.7410634756088257, -0.5777140259742737, -0.4574260413646698, -0.47167447209358215, -0.23949939012527466, 0.04782690480351448, -0.09597666561603546, 0.1332295536994934, 0.25783517956733704, -0.22029203176498413, 0.5015131831169128, 0.5556570291519165, -0.3568217158317566, 0.9198542833328247, -0.22776298224925995, 0.3436914384365082, -0.8244265913963318, -0.2576219141483307, 0.34174075722694397, -0.3439728915691376, -0.5555265545845032, -0.2658129036426544, 0.09616784006357193, -0.050805460661649704, -0.4162848889827728, 0.29427576065063477, -0.20680329203605652, -0.31197038292884827, -0.46094462275505066, -0.27116936445236206, 0.09626147150993347, 0.7285210490226746, 0.34048211574554443, 0.7105116844177246, 0.44185760617256165, -0.4299520254135132, 0.24751532077789307, 0.3831605911254883, -0.2681651711463928, 0.6302011013031006, -0.329665869474411, 0.3182981014251709, -0.03172627091407776, 0.3833574950695038, -0.9140903353691101, 0.0817568451166153, 0.5552870035171509, -0.6961804628372192, 0.302624374628067, -0.30587178468704224, -0.42141541838645935, -0.6038089394569397, -0.5715183019638062, 0.4610629081726074, 0.30307701230049133, -0.5322768688201904, 0.6435615420341492, 0.4404677450656891, -0.020465515553951263, -0.5548880696296692, -0.18215815722942352, -0.14791424572467804, -0.12578018009662628, 0.021910754963755608, 0.28574731945991516, -0.16384023427963257, 0.29211845993995667, -0.2759507894515991, -0.14957043528556824, 0.1310747265815735, 0.01477057859301567, 0.434369832277298, 0.29352208971977234, 0.058422163128852844, 0.2956730127334595, 0.0740368515253067, -0.5072106719017029, 0.2812027931213379, -0.282379150390625, 0.3510684370994568, -0.33606624603271484, -0.15942628681659698, -0.46756306290626526, 0.12832608819007874, 0.1245858445763588, -0.35062259435653687, 0.5765702724456787, 0.30422213673591614, -0.021745091304183006, -0.26267457008361816, -0.3605596423149109, -0.15293028950691223, -0.43346884846687317, 0.29407697916030884, -0.6393278241157532, -0.5756900310516357, 0.3195621371269226, 0.06178060546517372, -0.12032657861709595, 0.5710674524307251, 0.3591114282608032, -0.48039618134498596, 1.2068123817443848, 0.5469110012054443, -0.39434584975242615, 0.5389764308929443, -0.45501068234443665, 0.1504177749156952, -0.9628238677978516, -0.1463632881641388, -0.4019847512245178, -0.26059195399284363, -0.4686504602432251, -0.2710864543914795, 0.5471273064613342, 0.2108698934316635, -0.1288527399301529, 0.2990350127220154, -0.6805027723312378, 0.354505330324173, 0.7090810537338257, 0.13433606922626495, 0.21663670241832733, -0.3396589756011963, 0.15191569924354553, -0.21955136954784393, -0.588708758354187, -0.2610493302345276, 1.1420106887817383, 0.31632328033447266, 0.4283463656902313, -0.12193578481674194, 1.0249196290969849, 0.6152090430259705, 0.44546350836753845, -0.8382667303085327, 0.4764525592327118, -0.201818585395813, -0.47209835052490234, -0.24225182831287384, -0.6078225374221802, -0.3082801401615143, 0.14067821204662323, -0.5761047005653381, -0.46800270676612854, 0.1570163071155548, 0.577664852142334, -0.39284682273864746, -0.040328968316316605, -0.4241946041584015, 1.0768944025039673, -0.5439000725746155, -0.12239472568035126, 0.0009656592737883329, -0.7137804627418518, 0.1595124900341034, -0.21475593745708466, 0.16536051034927368, -0.14031004905700684, 0.3248307704925537, 0.8843222260475159, -0.48486849665641785, 0.9107899069786072, -0.3375885784626007, 0.23938648402690887, 0.4985995888710022, 0.006444234866648912, 0.31166645884513855, -0.008344583213329315, 0.0669049620628357, 0.5250459909439087, 0.02014625072479248, -0.29016631841659546, -0.6312995553016663, 0.49968770146369934, -1.0521786212921143, -0.4283088743686676, -0.7842709422111511, 0.0008960492559708655, -0.49575310945510864, -0.08583638072013855, 0.6295342445373535, 0.4886035621166229, -0.1131972223520279, -0.18135720491409302, 0.31634804606437683, 0.25031396746635437, 0.17676983773708344, 0.4291979670524597, -0.3699261546134949, -0.6755428314208984, 1.2394747734069824, 0.21930332481861115, 0.0530206672847271, 0.193159818649292, 0.32933565974235535, -0.6570240259170532, -0.6368118524551392, -0.6074147820472717, 0.12496499717235565, -0.7325877547264099, -0.6460253596305847, -0.4341490566730499, -0.45354163646698, -0.43451547622680664, 0.14370451867580414, -0.70810467004776, -0.3995841443538666, -0.1905926614999771, -0.1256054788827896, 0.46538934111595154, 0.7860863208770752, -0.17118215560913086, 0.36261144280433655, -0.8166002631187439, 0.29038217663764954, 0.37396129965782166, 0.42922621965408325, -0.24439236521720886, -0.8068342208862305, -0.40151655673980713, 0.022340737283229828, -0.5412403345108032, -0.8186675906181335, 0.5081823468208313, 0.32708683609962463, 0.25492554903030396, 0.2932370603084564, 0.47751545906066895, 0.43381938338279724, -0.2771713435649872, 0.729939341545105, 0.42298513650894165, -0.9687384366989136, 0.553462028503418, -0.232897087931633, 0.14271637797355652, 0.8950074315071106, 0.5445026755332947, -0.3607381582260132, -0.5772662162780762, -0.5472191572189331, -0.8509086966514587, 0.8274564146995544, 0.25864118337631226, -0.18044094741344452, 0.19053976237773895, 0.5609115362167358, 0.23421810567378998, 0.3908138871192932, -0.8975468873977661, -0.3978479206562042, -0.8022465705871582, -0.34903398156166077, -0.3298839032649994, -0.312467485666275, 0.08075951039791107, -0.38209035992622375, 0.9365130066871643, -0.3975546061992645, 0.295427531003952, 0.010765954852104187, 0.07545484602451324, 0.04564622417092323, 0.08959075808525085, 0.009829838760197163, 0.16184721887111664, -0.2003699541091919, 0.047511473298072815, 0.12194254249334335, -0.3382223844528198, 0.25836873054504395, 0.1521185338497162, -0.2288808971643448, -0.2774509787559509, 0.19474516808986664, 0.73404860496521, 0.19888396561145782, -0.12055961042642593, 0.7053695917129517, -0.09355123341083527, -0.1318642646074295, -0.5301620364189148, 0.06197986751794815, -0.21953336894512177, 0.317127525806427, 0.19011399149894714, -0.014088178984820843, 0.49302372336387634, -0.5811800956726074, 0.22409379482269287, 0.23774559795856476, -0.934169590473175, -0.4999150335788727, 0.5591608285903931, 0.19948197901248932, -0.3790789544582367, 0.6077853441238403, -0.6442694067955017, -1.124174952507019, 0.3818076252937317, 0.2574196755886078, 0.9344599843025208, -0.22030095756053925, 0.6031843423843384, 0.380045622587204, -0.1377888321876526, -0.17032583057880402, 0.1813410371541977, -0.328159362077713, -0.5925493836402893, -0.24279485642910004, -0.8434468507766724, -0.48822101950645447, -0.1203833818435669, -0.7824493646621704, 0.27093949913978577, -0.4770497679710388, -0.42459383606910706, -0.005601756740361452, 0.12319453060626984, -0.38139504194259644, 0.6999520063400269, 0.24629588425159454, 0.37419483065605164, -1.2190734148025513, 0.9046724438667297, 0.808292806148529, -0.6946961283683777, -0.726589560508728, 0.20793423056602478, -0.1468222290277481, -0.3706912398338318, 0.5913814902305603, 0.33691078424453735, -0.24732807278633118, -0.02837318554520607, -0.3457103967666626, -0.6529250741004944, 0.6889896988868713, -0.14561466872692108, -0.5445245504379272, 0.2125321477651596, 0.10628683120012283, 0.8889687061309814, -0.39627376198768616, 0.30257704854011536, 0.6032963991165161, 0.08343857526779175, 0.27810728549957275, -0.5975741147994995, -0.30811041593551636, -0.18259570002555847, -0.04906115680932999, 0.375265896320343, -0.7702619433403015, 0.5634916424751282, 0.16248583793640137, 0.1232200488448143, -0.14352139830589294, 1.2173874378204346, 0.24138040840625763, 0.56504225730896, 0.5611841082572937, 0.5550316572189331, 0.25255388021469116, -0.11743535846471786, 0.8077895641326904, -0.3145087659358978, 0.6107608675956726, 1.242972493171692, -0.10847646743059158, 1.1306898593902588, 0.03755975514650345, -0.22864972054958344, 0.586175799369812, 0.8313267230987549, 0.05981462076306343, 0.6623235940933228, -0.04040820151567459, -0.22556957602500916, -0.6874293684959412, 0.17378495633602142, -0.1987491399049759, 0.6588159203529358, 0.1926167607307434, -0.2221572995185852, 0.1606147140264511, 0.1131536141037941, -0.3154686987400055, 0.17197240889072418, -0.6040262579917908, 1.0057271718978882, 0.21713092923164368, -0.7624528408050537, 0.29425525665283203, -0.042798977345228195, 0.4873722493648529, -0.3530162572860718, 0.08566032350063324, -0.12354258447885513, 0.09766068309545517, -0.22449998557567596, -0.9559939503669739, 0.2267858237028122, -0.1825447976589203, -0.16245795786380768, -0.2987764775753021, 0.6424618363380432, -0.4399666488170624, -0.6184409856796265, 0.28424370288848877, 0.18718187510967255, 0.1258397251367569, -0.33488592505455017, -0.9834004044532776, -0.20461469888687134, 0.0697389468550682, -0.2760544419288635, 0.5290487408638, 0.22492150962352753, -0.0709296241402626, 0.5000982284545898, 0.4393843710422516, 0.04750785604119301, -0.361784428358078, -0.012042520567774773, 1.0406748056411743, -0.8140050172805786, -0.8189601898193359, -0.6146101355552673, 0.3681691884994507, -0.10036774724721909, -0.6115381717681885, 0.660153865814209, 0.7488999366760254, 0.640591025352478, 0.021014729514718056, 0.7069265842437744, 0.19901104271411896, 0.7271842956542969, -0.5600101947784424, 0.7948040962219238, -0.46335723996162415, 0.18970605731010437, -0.176339253783226, -1.031469702720642, -0.15944339334964752, 0.5836362838745117, -0.7566551566123962, 0.192770317196846, 0.5373289585113525, 0.48843950033187866, 0.1286831796169281, 0.13001368939876556, 0.36513638496398926, 0.1733745038509369, 0.17682264745235443, 0.3598814606666565, 0.9337638020515442, -0.37804338335990906, 0.5355337262153625, -0.5867726802825928, -0.2917060852050781, -0.3731822967529297, -0.6053944826126099, -1.097360610961914, -0.7999065518379211, -0.6057658791542053, -0.5429139733314514, 0.09096721559762955, 0.967985987663269, 0.49227312207221985, -0.7627658247947693, 0.00905235018581152, 0.11977033317089081, -0.12625719606876373, -0.23572716116905212, -0.1583956480026245, 0.37753957509994507, -0.2807231545448303, -0.4225206673145294, 0.08561136573553085, 0.24792246520519257, 0.04367109388113022, -0.3741806745529175, -0.008345235139131546, 0.1035672277212143, -0.09580477327108383, 0.5246793031692505, 0.5095760822296143, -0.28699901700019836, -0.48722273111343384, -0.40433982014656067, -0.09827892482280731, 0.3899848461151123, 0.6698696613311768, -1.0100845098495483, 0.7544512748718262, 0.36705833673477173, 0.1724454015493393, 0.6788145303726196, 0.4591355621814728, 0.5148274302482605, -0.9300225377082825, -0.2718007266521454, 0.5484908223152161, 0.22933636605739594, 0.4540978968143463, -0.34276264905929565, 0.2108241617679596, 0.1862187683582306, -0.6990147829055786, -0.5417166948318481, 0.32289478182792664, -0.7127711772918701, -0.05928071215748787, 0.9942346811294556, -0.3817332088947296, -0.396932989358902, -0.28201574087142944, -0.17568525671958923, 0.25322598218917847, -0.5158275365829468, 1.1972084045410156, 0.40575283765792847, -0.44565626978874207, 0.044148217886686325, -0.11876118928194046, 0.9233586192131042, 0.3179986774921417, -0.7987316846847534, -0.03880736604332924, 0.6258498430252075, 0.1309826523065567, 0.12032954394817352, 0.8773548603057861, 0.24459215998649597, 0.3834208846092224, -0.07421693205833435, 0.5071037411689758, -0.041693154722452164, -0.601814866065979, -0.4508667588233948, 0.08862299472093582, 0.3679598867893219, -0.4992144703865051 ]
http://arxiv.org/abs/2406.18069v2
http://arxiv.org/pdf/2406.18069v2
Large Language Models for Cuffless Blood Pressure Measurement From Wearable Biosignals
2024-06-26T04:54:45
2024-06-27T03:58:25
Zengding Liu, Chen Chen, Jiannong Cao, Minglei Pan, Jikui Liu, Nan Li, Fen Miao, Ye Li
eess.SP
eess.SP, cs.AI, cs.CL
Large language models (LLMs) have captured significant interest from both academia and industry due to their impressive performance across various textual tasks. However, the potential of LLMs to analyze physiological time-series data remains an emerging research field. Particularly, there is a notable gap in the utilization of LLMs for analyzing wearable biosignals to achieve cuffless blood pressure (BP) measurement, which is critical for the management of cardiovascular diseases. This paper presents the first work to explore the capacity of LLMs to perform cuffless BP estimation based on wearable biosignals. We extracted physiological features from electrocardiogram (ECG) and photoplethysmogram (PPG) signals and designed context-enhanced prompts by combining these features with BP domain knowledge and user information. Subsequently, we adapted LLMs to BP estimation tasks through fine-tuning. To evaluate the proposed approach, we conducted assessments of ten advanced LLMs using a comprehensive public dataset of wearable biosignals from 1,272 participants. The experimental results demonstrate that the optimally fine-tuned LLM significantly surpasses conventional task-specific baselines, achieving an estimation error of 0.00 $\pm$ 9.25 mmHg for systolic BP and 1.29 $\pm$ 6.37 mmHg for diastolic BP. Notably, the ablation studies highlight the benefits of our context enhancement strategy, leading to an 8.9% reduction in mean absolute error for systolic BP estimation. This paper pioneers the exploration of LLMs for cuffless BP measurement, providing a potential solution to enhance the accuracy of cuffless BP measurement.
[ -0.35916197299957275, -0.7293406128883362, 0.8502765893936157, 0.0580161027610302, -0.8189800381660461, -0.019352952018380165, -0.24432221055030823, -0.789544403553009, 0.44893231987953186, 0.4281255304813385, -0.6388863921165466, -0.6411619782447815, -0.545062243938446, 0.20794308185577393, 0.04407815262675285, 0.8837266564369202, -0.084866002202034, 0.28325313329696655, -0.005807098466902971, -0.11271600425243378, -0.34134724736213684, -0.35844385623931885, -0.18133632838726044, -0.5192323923110962, 0.459450364112854, 0.007775878068059683, 0.3311941623687744, 0.5416842699050903, 0.35207802057266235, 0.16835609078407288, -0.3903094530105591, 0.32898810505867004, -0.10807056725025177, 0.21236421167850494, 0.12190873175859451, 0.03838701918721199, -0.6578075289726257, -0.28737226128578186, 0.9478362202644348, 0.8083903193473816, 0.29342585802078247, 0.7764744162559509, 0.37140393257141113, 0.7949804663658142, -0.5134453773498535, 0.27324697375297546, 0.07349678874015808, 0.04792506992816925, -0.20926231145858765, -0.5081489086151123, -0.17921485006809235, 0.01821563020348549, 0.31769487261772156, -0.02068965882062912, 0.02003774791955948, 0.0710408017039299, 0.2972455620765686, 0.4525524377822876, -0.4163827896118164, 0.059625107795000076, -1.0061811208724976, 0.7146161794662476, -0.7799637913703918, 0.6440247893333435, 0.18035760521888733, -0.12101124227046967, -0.09779753535985947, -0.26665422320365906, -0.20217564702033997, -0.014880663715302944, -0.10432678461074829, 0.14260625839233398, -0.06574418395757675, 0.11751449108123779, 0.1552855670452118, 0.29925140738487244, -0.6547406911849976, 0.3387625217437744, -0.08475444465875626, 0.029914218932390213, 0.44491714239120483, 0.1940518617630005, -0.1263812631368637, -0.3497275412082672, -0.3905893862247467, 0.21360713243484497, -0.4904181659221649, 0.03685866668820381, -0.1423948109149933, 0.17811153829097748, -0.6608247756958008, 0.4281295835971832, -0.1314602494239807, 0.9548683166503906, -0.26574304699897766, -0.34762459993362427, 0.3574013113975525, -0.18422895669937134, -0.5115281939506531, 0.0301977451890707, 0.5235538482666016, 0.15589585900306702, -0.08853334188461304, -0.24856628477573395, -0.15637414157390594, -0.10043027251958847, -0.08729885518550873, -0.8654531240463257, -0.024506183341145515, 0.6233958005905151, -0.32090920209884644, -0.29525575041770935, -0.33031749725341797, -0.674705982208252, -0.6304695010185242, -0.40615853667259216, 0.0812152847647667, -0.22897252440452576, -0.21128517389297485, 0.01277264952659607, -0.06446478515863419, 0.07240725308656693, 0.25442638993263245, -0.7634381055831909, 0.026499032974243164, 0.627032458782196, 1.2113813161849976, -0.13149696588516235, 0.2168232798576355, -0.2092197686433792, 0.37122592329978943, -0.23792913556098938, 0.876307487487793, 0.04841399937868118, -0.7040680646896362, -0.26163041591644287, 0.12305203825235367, 0.15591688454151154, -0.3577291667461395, 0.7162878513336182, -0.21900135278701782, -0.40244242548942566, -0.006096277851611376, -0.7223328351974487, 0.20773521065711975, 0.30692410469055176, -0.40702903270721436, 0.6201663613319397, -0.2528552711009979, -0.3805254399776459, 0.2041398584842682, -0.5783405303955078, -0.49163568019866943, 0.3410639464855194, -0.09204637259244919, -0.6246181130409241, 0.16400423645973206, 0.32970714569091797, 0.7419852018356323, -0.32376134395599365, 0.07522338628768921, -0.5880284309387207, -0.3071118891239166, 0.6789343953132629, -0.5237359404563904, 0.48998022079467773, -0.14841626584529877, -0.30562692880630493, 0.26842379570007324, -0.8190335035324097, 0.12545078992843628, -0.18396294116973877, -0.16281616687774658, -0.3454473614692688, 0.2363104224205017, 0.2952788472175598, -0.0294063501060009, 0.36116185784339905, -1.0183347463607788, -0.046476054936647415, -0.5117220282554626, 0.6845724582672119, 0.91053307056427, 0.18219099938869476, 0.16107486188411713, -0.5481758713722229, 0.1848243921995163, -0.5890021324157715, 0.4078962206840515, 0.2639193534851074, -0.2117110937833786, -0.3029821813106537, -0.8958792090415955, 0.03726289048790932, 0.5793982148170471, -0.11881573498249054, 0.7278262376785278, -0.4183150827884674, -0.8574255108833313, -0.16069017350673676, 0.18911375105381012, 0.23955008387565613, 0.8373162150382996, 0.4847536087036133, -0.11882464587688446, -0.19178597629070282, -0.5328224897384644, -0.11110478639602661, -0.107302226126194, -0.2598198354244232, 0.5157819986343384, 0.18549644947052002, -0.35937803983688354, 0.38059237599372864, -0.5626316666603088, -0.18590590357780457, -0.21140797436237335, 0.1067231148481369, 0.45580020546913147, 0.4977220892906189, 0.32193344831466675, -0.3358970880508423, -0.0785229280591011, -0.23836441338062286, -0.5853947401046753, -0.29868972301483154, 0.08957094699144363, -0.060338277369737625, 0.4049704670906067, 0.2621977925300598, -0.38732221722602844, 0.3040510416030884, 0.8703458309173584, -0.4009954035282135, 0.6373501420021057, -0.40814295411109924, -0.17178834974765778, -0.9469797015190125, 0.49663597345352173, 0.32089483737945557, -0.4350850582122803, -0.6794871091842651, -0.09560300409793854, 0.17798283696174622, -0.3412844240665436, -0.4106333255767822, 1.1356537342071533, -0.48549938201904297, -0.04342196136713028, -0.45955920219421387, -0.17292244732379913, -0.11811897903680801, 0.39636343717575073, 0.4791053533554077, 0.00282191950827837, 0.3473109304904938, -0.5805158615112305, 0.15845762193202972, 0.2933349013328552, -0.6330794095993042, 0.358115553855896, -0.8582157492637634, -0.08433523774147034, -0.13301250338554382, 0.44597774744033813, -1.0901625156402588, -0.3273310661315918, 0.14459183812141418, -0.2729721963405609, 0.2400992512702942, -0.15155379474163055, -0.4519585371017456, -0.38263043761253357, -0.3077549636363983, 0.25547856092453003, 0.6820371150970459, -0.41253721714019775, 0.41330966353416443, 0.4091959297657013, -0.24462588131427765, -0.16454100608825684, -0.8006338477134705, -0.31934934854507446, -0.16742047667503357, -0.3886394500732422, 0.3711005747318268, -0.2566715180873871, 0.0804259181022644, -0.24508298933506012, -0.5503918528556824, 0.03642473369836807, 0.000410077249398455, 0.5867007970809937, 0.9009489417076111, 0.1472519338130951, 0.46027204394340515, 0.05971945449709892, -0.20633505284786224, 0.09204112738370895, -0.27160313725471497, 0.5538390874862671, -0.09725654125213623, -0.2643849849700928, -0.7817371487617493, 0.10002626478672028, 0.6498402953147888, -0.2757842540740967, 0.7974591851234436, 0.6932908296585083, -0.4975656270980835, -0.11586315929889679, -0.4922040104866028, -0.1599685400724411, -0.4944649040699005, 0.17961275577545166, 0.13426466286182404, -1.0531073808670044, 0.4163247346878052, -0.30980777740478516, 0.07749072462320328, -0.09871085733175278, 0.4983883202075958, -0.3103993535041809, 0.8419492840766907, 0.4120127260684967, 0.008269308134913445, 0.6350278258323669, -0.029001187533140182, 0.10340992361307144, -1.1500842571258545, -0.2717575132846832, -0.28583788871765137, -0.7349314093589783, -0.7069336175918579, -0.22058533132076263, 1.1479878425598145, 0.030583171173930168, -0.5645585060119629, -0.1665463149547577, -0.48443603515625, 0.1719151735305786, 0.20665739476680756, 0.7761397361755371, 0.20041657984256744, 0.05679658055305481, -0.04902704060077667, 0.11432952433824539, -0.44944852590560913, -0.38408875465393066, 1.0631545782089233, 0.21244102716445923, 0.6791013479232788, 0.18616165220737457, 0.6367390751838684, 0.09023851156234741, 0.5159585475921631, -0.8307484984397888, 0.366414874792099, -0.1825317144393921, -0.5053638219833374, -0.5634062886238098, -0.26223450899124146, -0.8338315486907959, -0.0020090609323233366, -0.6540822386741638, -0.8399633765220642, 0.09086421132087708, 0.592697024345398, -0.7703192830085754, 0.2959772050380707, -0.46477094292640686, 0.9129253029823303, -0.6351402997970581, -0.6532567739486694, -0.039660342037677765, -0.6115195751190186, 0.06858130544424057, -0.27666735649108887, 0.25338733196258545, -0.44099512696266174, -0.3818361461162567, 0.402469277381897, -0.3060797154903412, 1.0704622268676758, 0.020224396139383316, 0.011330799199640751, -0.08926469087600708, -0.15926241874694824, 0.3791382908821106, 0.24616722762584686, -0.20615369081497192, 0.700626790523529, 0.4388130307197571, -0.6072480082511902, -0.28607264161109924, 0.8102424144744873, -0.6467331647872925, -0.22187502682209015, -0.6258174777030945, -0.49220773577690125, -0.5993324518203735, 0.27757012844085693, 0.06726615875959396, 0.7211776375770569, -0.21111740171909332, 0.07006068527698517, 0.5124269723892212, -0.387192040681839, 0.5712814927101135, 0.759850025177002, 0.3089697062969208, -0.38033297657966614, 0.6092911958694458, -0.03197365626692772, 0.2838008999824524, 0.5504140257835388, 0.6115157008171082, -0.5895224213600159, -0.5137649178504944, -0.5716279745101929, 0.5193459987640381, -0.11251173168420792, -0.11558052897453308, -0.27701908349990845, 0.023070937022566795, -0.5794788599014282, -0.2916331887245178, -0.11243754625320435, 0.03204439580440521, -0.3504898250102997, -0.04877201095223427, 0.41683241724967957, 0.3332522511482239, -0.194486603140831, 0.2673228085041046, -1.179519534111023, 0.29708439111709595, -0.007383248768746853, 0.5750366449356079, -0.062330957502126694, -0.38022032380104065, -0.0905158519744873, -0.12391451001167297, -0.029248975217342377, -0.9603204727172852, 0.6862379908561707, 0.06323167681694031, 0.20576545596122742, 0.17448067665100098, 0.03288950026035309, 0.8442618250846863, -0.5764212012290955, 0.6400787234306335, 0.20431500673294067, -0.9486030340194702, 0.567630410194397, -0.4110989272594452, 0.5270407795906067, 0.13278260827064514, 0.3827570080757141, -0.6652058362960815, 0.0016764986794441938, -0.4697335958480835, -0.890362024307251, 0.24322830140590668, -0.12607336044311523, -0.10555689036846161, 0.18657228350639343, 0.4482634663581848, -0.16472437977790833, 0.27325183153152466, -0.5947240591049194, -0.2926120162010193, 0.29422271251678467, -0.21112819015979767, -0.5788161754608154, 0.05060003697872162, -0.021451907232403755, -0.4656430780887604, 0.5979088544845581, -0.06724976003170013, 0.29389119148254395, 0.5242002606391907, 0.19028526544570923, -0.38055092096328735, 0.46462032198905945, 0.549879789352417, 0.6966606974601746, -0.2726861834526062, 0.005367466248571873, 0.12299833446741104, -0.266895055770874, -0.04875108599662781, 0.38832080364227295, -0.22450031340122223, -0.09429266303777695, 0.4147948920726776, 0.6795348525047302, 0.12425527721643448, -1.180280089378357, 0.22813104093074799, 0.3070582449436188, 0.19215799868106842, -0.8214470744132996, -0.1655712127685547, 0.11681435257196426, 0.38006728887557983, -0.012375172227621078, 0.11550337076187134, -0.27573373913764954, -0.3278772830963135, 0.10411074757575989, 0.6694950461387634, -0.27351799607276917, -0.1907055824995041, 0.6666290760040283, 0.4745807647705078, -0.010725651867687702, 0.04679684340953827, 0.11265762895345688, -0.026018185541033745, 0.24383433163166046, 0.4101370871067047, 0.6187039017677307, -0.4156906008720398, 0.06961400806903839, 0.32964542508125305, 0.24286171793937683, 0.0846940204501152, 0.27468976378440857, -0.16698738932609558, -0.7022128701210022, -0.6685675382614136, -1.0376719236373901, -0.6283486485481262, 0.44143399596214294, -0.41413402557373047, 0.28180110454559326, -0.7536266446113586, -0.19948726892471313, 0.2689638137817383, 0.22712217271327972, -0.5369663834571838, 0.22948038578033447, 0.45354339480400085, 0.6216152906417847, -0.8116526007652283, 0.6742515563964844, 0.5735419988632202, 0.035287290811538696, -0.6083901524543762, -0.061452820897102356, 0.17135798931121826, -0.9258161187171936, 0.25510692596435547, -0.0669865682721138, -0.047302309423685074, -0.04941360652446747, -0.2962374985218048, -0.7504587173461914, 1.1394081115722656, 0.33479857444763184, -0.7110851407051086, 0.10573217272758484, 0.37414366006851196, 0.8841080069541931, 0.11514163017272949, -0.025744814425706863, 0.3154793381690979, 0.37109875679016113, -0.06664006412029266, -1.0006542205810547, 0.17740853130817413, -0.14299741387367249, -0.2281593531370163, 0.43656155467033386, -0.7759027481079102, 0.6177843809127808, 0.049161382019519806, 0.02519962564110756, 0.4272598326206207, 0.21215680241584778, 0.47359493374824524, 0.25356990098953247, 0.2765972316265106, 0.3202708959579468, 0.7756716012954712, 0.044846825301647186, 1.235171914100647, -0.5980293154716492, 0.17968642711639404, 1.0129971504211426, -0.26778674125671387, 0.9701486229896545, 0.4099807143211365, 0.13394427299499512, 0.5068475604057312, 0.8424268364906311, 0.10055568069219589, 0.12261886149644852, 0.2693808674812317, -0.828616201877594, -0.4178941547870636, -0.18041273951530457, -0.20354600250720978, 0.2677572965621948, 0.6212468147277832, -0.5560693740844727, -0.0028782295994460583, -0.03333582356572151, -0.21649187803268433, -0.2753015458583832, -0.630401074886322, 0.43527334928512573, 0.15427425503730774, -0.4557132124900818, 0.655735433101654, 0.04847560450434685, 0.5330402255058289, -0.8437375426292419, 0.13849221169948578, 0.0746842622756958, 0.297315776348114, -0.25881093740463257, -0.5795568227767944, 0.15904965996742249, 0.16059629619121552, 0.03077489696443081, -0.5790992975234985, 0.8579802513122559, -0.2295808047056198, -0.6871776580810547, 0.09793014824390411, 0.6871410608291626, 0.1660938709974289, -0.08581403642892838, -0.44530215859413147, 0.044739432632923126, -0.331764817237854, -0.15921355783939362, 0.25182968378067017, -0.14151865243911743, 0.25527650117874146, 0.5514925122261047, 0.7196508049964905, 0.7665039300918579, -0.33874091506004333, -0.22908194363117218, 0.35349616408348083, -0.6975384950637817, -0.6365454196929932, -0.9571500420570374, 0.20270830392837524, -0.025715963914990425, -0.3207898736000061, 0.5002748966217041, 0.256313294172287, 0.706352949142456, -0.06817425042390823, 0.8249630928039551, 0.18783783912658691, 0.9785852432250977, -0.45058754086494446, 0.6099542379379272, -0.678803026676178, 0.13375093042850494, -0.44026800990104675, -0.6727619767189026, -0.3988482654094696, 0.5083557367324829, -0.42632532119750977, -0.222621887922287, 0.4934050142765045, 0.4797893166542053, 0.07786650955677032, -0.05622567608952522, 0.18213538825511932, 0.08314424008131027, 0.1437261700630188, 0.5756816267967224, 0.24064548313617706, 0.061877649277448654, 0.23444990813732147, -0.30743807554244995, -0.556451678276062, -0.16910819709300995, -0.9499523639678955, -0.8733430504798889, -0.09069443494081497, -0.14335095882415771, -0.19398464262485504, -0.08926675468683243, 1.1310803890228271, 0.694720447063446, -0.6569659113883972, -0.1960667073726654, 0.07208133488893509, -0.1305769830942154, -0.2169325202703476, -0.06951477378606796, 0.48363229632377625, 0.2384498119354248, -0.7297424077987671, 0.38495802879333496, 0.43957972526550293, 0.5235669016838074, -0.3212018609046936, 0.07632739841938019, 0.19714471697807312, 0.056545283645391464, 0.7001554369926453, 0.5477982759475708, -0.5609744191169739, -0.502159595489502, 0.11953270435333252, 0.12206558883190155, -0.21097208559513092, 0.6526333689689636, -0.6437777876853943, 0.2401304543018341, 0.47549647092819214, 0.612862229347229, 0.41390904784202576, 0.07198633998632431, 0.14188189804553986, -0.9126191735267639, 0.27891480922698975, 0.30529066920280457, 0.4545231759548187, 0.39824026823043823, -0.2584124207496643, 0.3598695993423462, 0.46555113792419434, -0.6712634563446045, -0.6383730173110962, 0.31309372186660767, -1.3233872652053833, -0.33987677097320557, 1.2592767477035522, 0.1554158478975296, -0.38367801904678345, 0.004935067147016525, 0.15746699273586273, 0.4528246223926544, -0.17469632625579834, 0.8329721093177795, 0.5115415453910828, -0.8818027377128601, 0.18421532213687897, -0.6364375352859497, 0.39887750148773193, 0.49352365732192993, -0.7999901175498962, -0.06452233344316483, 0.6758906841278076, 0.5493414998054504, 0.05766220763325691, 0.5970754623413086, -0.00880051776766777, 0.06688989698886871, -0.6575613021850586, -0.13198666274547577, -0.08187272399663925, 0.23739053308963776, -0.3915926218032837, -0.049280982464551926, -0.05233849585056305, -0.1483321338891983 ]
http://arxiv.org/abs/2406.18067v1
http://arxiv.org/pdf/2406.18067v1
Exploring Energy-Based Models for Out-of-Distribution Detection in Dialect Identification
2024-06-26T04:52:48
2024-06-26T04:52:48
Yaqian Hao, Chenguang Hu, Yingying Gao, Shilei Zhang, Junlan Feng
cs.CL
cs.CL, eess.AS
The diverse nature of dialects presents challenges for models trained on specific linguistic patterns, rendering them susceptible to errors when confronted with unseen or out-of-distribution (OOD) data. This study introduces a novel margin-enhanced joint energy model (MEJEM) tailored specifically for OOD detection in dialects. By integrating a generative model and the energy margin loss, our approach aims to enhance the robustness of dialect identification systems. Furthermore, we explore two OOD scores for OOD dialect detection, and our findings conclusively demonstrate that the energy score outperforms the softmax score. Leveraging Sharpness-Aware Minimization to optimize the training process of the joint model, we enhance model generalization by minimizing both loss and sharpness. Experiments conducted on dialect identification tasks validate the efficacy of Energy-Based Models and provide valuable insights into their performance.
[ -0.3341125547885895, -0.560738205909729, 0.5992318987846375, -0.3250647783279419, -0.17976416647434235, -0.16956953704357147, -0.6793491840362549, -0.28481268882751465, 0.38066917657852173, 0.7446764707565308, -0.4853307008743286, -0.5280337333679199, -0.19800330698490143, -0.16529318690299988, -0.00951934140175581, 0.45913252234458923, 0.29971832036972046, 0.016629934310913086, 0.006090594921261072, -0.31236907839775085, -0.31135404109954834, -0.524814784526825, -0.11831535398960114, -0.3330029845237732, 0.015294540673494339, 0.3449121117591858, 0.6959354877471924, 0.5543982982635498, 0.36263659596443176, 0.33284106850624084, -0.0555751770734787, -0.05360347032546997, -0.389679491519928, 0.07070238888263702, -0.20555514097213745, -0.6569243669509888, -0.5400218963623047, -0.08771703392267227, 0.5707565546035767, 1.1309804916381836, -0.49705770611763, 0.14697761833667755, -0.08909788727760315, 0.6674504280090332, -0.974036455154419, 0.14488252997398376, -0.8970533013343811, -0.047661781311035156, -0.7016357183456421, 0.1452753245830536, -0.664043664932251, -0.12804624438285828, -0.22843541204929352, -0.5703776478767395, 0.36223870515823364, 0.024171432480216026, 0.838188648223877, -0.1600605547428131, -0.4009771943092346, -0.13206063210964203, -0.6102231740951538, 0.8192448019981384, -0.8213551640510559, 0.5721285939216614, 0.09283335506916046, 0.37782177329063416, -0.15419666469097137, -0.048816390335559845, -0.7271324396133423, -0.12260789424180984, 0.10340934991836548, 0.3267471492290497, -0.1355399191379547, 0.2578290104866028, 0.09403857588768005, 0.36963582038879395, -0.4152933657169342, 0.03392679989337921, -0.18941622972488403, 0.035243626683950424, 0.6920055747032166, 0.13073588907718658, 0.03197864443063736, -0.55291348695755, -0.409627765417099, -0.21681228280067444, -0.41392022371292114, 0.013915915973484516, 0.9834323525428772, 0.824432373046875, -0.17355622351169586, 0.2772639989852905, -0.2635672092437744, 0.6236086487770081, 0.2257002294063568, 0.09122292697429657, 0.2691779136657715, -0.03441069275140762, -0.23076853156089783, -0.07455803453922272, 0.6106951832771301, 0.3908125162124634, -0.01579487882554531, 0.011326265521347523, -0.4828755557537079, -0.4237988591194153, -0.12638531625270844, -0.38830745220184326, -0.498991996049881, -0.3155736029148102, -0.9203450679779053, -0.20317555963993073, 0.28888803720474243, -0.9395154118537903, -0.5210509896278381, 0.052679575979709625, 0.45758551359176636, -0.5522706508636475, -1.244116187095642, 0.23868747055530548, -0.513830304145813, -0.0028416423592716455, -0.17203938961029053, -1.1332045793533325, 0.3733177185058594, 0.5015748739242554, 0.7165603041648865, 0.25309988856315613, 0.4481998085975647, -0.18150463700294495, 0.018492547795176506, -0.4528735280036926, 0.3503735065460205, -0.7920054197311401, -0.3677528500556946, 0.007325820159167051, 0.0820668563246727, -0.33895954489707947, -0.7442445755004883, 0.3425413966178894, -0.6230226755142212, 0.05981378257274628, -0.32391679286956787, -0.536449134349823, -0.44332900643348694, -0.28348416090011597, -0.9181419014930725, 0.9803867936134338, 0.7297146320343018, -0.44292184710502625, 0.4668777287006378, -0.7512664198875427, -0.01000986248254776, 0.06034756824374199, 0.166765958070755, -0.3292919397354126, 0.9281428456306458, -0.15766552090644836, 0.2892945408821106, -0.30566614866256714, 0.18465755879878998, -0.5430880784988403, -0.01175788976252079, -0.1050635352730751, -0.7744358777999878, 0.9369982481002808, 0.3510359227657318, -0.05191241577267647, -0.3659946918487549, -1.2094600200653076, 0.07764282822608948, 0.23631437122821808, -0.2886205315589905, -0.9049634337425232, -0.10726765543222427, 0.07951677590608597, -0.21248359978199005, 0.07541027665138245, -0.7538444399833679, 0.1465335190296173, -0.4881093502044678, -0.013454786501824856, 0.5543262958526611, -0.0741119533777237, 0.5278719067573547, -0.2996560335159302, 0.5523993372917175, -0.2489355504512787, 0.15144386887550354, -0.029506968334317207, -0.2623025178909302, -0.7955765128135681, -0.3786410391330719, 0.46010106801986694, 0.6142347455024719, -0.7186277508735657, 0.974122941493988, -0.2444881647825241, -0.535017192363739, -0.3524840176105499, 0.10588183999061584, 0.33027368783950806, 0.5446861982345581, 0.4052795469760895, -0.46307358145713806, -0.23293082416057587, -0.6359289884567261, -0.5177966952323914, -0.18077519536018372, -0.19797533750534058, 0.3100750148296356, 0.14212898910045624, 0.13382205367088318, 1.0593349933624268, -0.26585063338279724, -0.11128172278404236, -0.683085560798645, -0.02964140474796295, 0.4889903664588928, 0.4453125, 0.8548738956451416, -0.6503636837005615, -0.3919045925140381, 0.07588240504264832, -0.5614895224571228, -0.4822455942630768, -0.04392063990235329, 0.07803472131490707, -0.12469667196273804, 0.34381940960884094, -0.212563619017601, 0.29291582107543945, 0.4646865427494049, -0.2591480314731598, 0.3633427917957306, -0.1309654414653778, 0.17325206100940704, -0.9828083515167236, -0.10751788318157196, 0.061891328543424606, -0.1229904517531395, -0.7347175478935242, -0.0598924495279789, 0.25552108883857727, -0.2910444438457489, -0.3863790035247803, 0.20680256187915802, -0.649747371673584, 0.1733737736940384, 0.03511303290724754, -0.197037935256958, 0.4500032961368561, 0.41514867544174194, 0.13013911247253418, 0.25663718581199646, 0.5077630877494812, -0.30248215794563293, 0.43983563780784607, -0.22262851893901825, -0.5056681632995605, 0.6310000419616699, -0.24566321074962616, 0.24039120972156525, -0.17555075883865356, -0.08807887136936188, -1.2251228094100952, -0.5515761971473694, 0.09808957576751709, -0.1818891316652298, 0.7799411416053772, -0.6130491495132446, -0.02028883993625641, -0.0880182683467865, -0.3778245747089386, 0.3908224403858185, 0.6189714670181274, -0.8481565117835999, 0.8808267712593079, 0.3453802764415741, -0.05195901170372963, -0.28014734387397766, -0.3322669565677643, -0.38737916946411133, -0.6573976278305054, -0.7515575885772705, 0.23340465128421783, 0.5561719536781311, -0.6110790371894836, -0.06600679457187653, 0.08384554833173752, -0.0901409164071083, 0.09396380186080933, 0.1693635880947113, 0.009508250281214714, -0.27729231119155884, 0.6096894145011902, 0.08185579627752304, 0.06023300066590309, 0.10310611128807068, -0.25483307242393494, 0.5292829275131226, 0.0408753864467144, -0.5866333842277527, -0.3010837137699127, 0.8340569138526917, 0.472732275724411, -0.005334385205060244, 0.7834801077842712, 0.4759928286075592, -0.22857527434825897, -0.25726810097694397, -0.6210523247718811, -0.09739229828119278, -0.5804262161254883, 0.46091562509536743, -0.5658898949623108, -0.012007061392068863, 0.5691999197006226, -0.6095561981201172, -0.48248419165611267, 0.6184642910957336, 0.16018900275230408, -0.2732601463794708, 0.9205003976821899, 0.9387657046318054, -0.1331503689289093, 0.835606038570404, -0.42158788442611694, 0.13804902136325836, -0.7446885108947754, -0.06668339669704437, -0.5222556591033936, -0.0008214730187319219, -0.5734095573425293, -0.35143688321113586, 0.8227383494377136, 0.3054448068141937, 0.2669515013694763, 0.1701064556837082, -0.35229504108428955, 0.4577408730983734, 0.6741584539413452, 0.3055085241794586, -0.13100580871105194, -0.17979499697685242, -0.08192900568246841, 0.21143218874931335, -0.7137952446937561, -0.3102051615715027, 1.1274069547653198, 0.2555147409439087, 0.8892820477485657, 0.34153851866722107, 0.7122151255607605, 0.33975154161453247, -0.04954399913549423, -0.5293785929679871, 0.4762432277202606, -0.12344259768724442, -0.6101078987121582, -0.31829363107681274, -0.5111547708511353, -0.6621500253677368, 0.15228882431983948, -0.16845804452896118, -0.5901048183441162, 0.4777648448944092, 0.21548856794834137, -0.4237624704837799, 0.705145537853241, -0.9349410533905029, 0.940278172492981, -0.22002749145030975, -0.31323808431625366, -0.30599334836006165, -0.59347003698349, 0.2828894257545471, 0.19791869819164276, 0.4371573328971863, -0.4477784335613251, 0.35877713561058044, 0.787294328212738, -0.8694750666618347, 0.7420256733894348, -0.8406789302825928, -0.001969069242477417, 0.5596336126327515, -0.22339297831058502, 0.5848965048789978, -0.2464589923620224, -0.5870139598846436, 0.5978734493255615, -0.20930418372154236, -0.4121781289577484, -0.5315608978271484, 0.4887216091156006, -0.46106410026550293, -0.6614901423454285, -0.05145560950040817, -0.28926214575767517, -0.16146934032440186, -0.010491152293980122, 0.6164395809173584, 0.7378653883934021, -0.13349394500255585, 0.04327039793133736, 0.4569852650165558, -0.2097030133008957, 0.6057063341140747, 0.6539535522460938, 0.11760345101356506, -0.2867166996002197, 0.9450538754463196, 0.23145931959152222, 0.705141007900238, 0.27149826288223267, 0.41584426164627075, -0.5583140850067139, -0.511849045753479, -0.7284656167030334, -0.06256088614463806, -0.7662554383277893, -0.0926651582121849, -0.0452885739505291, 0.17771948873996735, -0.5500088334083557, -0.06298956274986267, -0.41072070598602295, -0.3574393093585968, -0.1505349576473236, -0.07737208157777786, 0.38996902108192444, 0.6925532221794128, -0.5257739424705505, 0.4750564992427826, -0.5902358293533325, -0.05953461304306984, 0.07722987979650497, 0.3546956181526184, -0.25187042355537415, -0.6037379503250122, -0.1895926147699356, -0.07113084197044373, -0.21388556063175201, -1.3308308124542236, 0.5811218023300171, 0.5183954834938049, 0.4996800720691681, 0.923456072807312, 0.4709601104259491, 0.32588014006614685, -0.2003720998764038, 0.7378087639808655, 0.5874147415161133, -1.2166600227355957, 0.45435741543769836, -0.40928202867507935, -0.012007515877485275, 0.5901846289634705, 0.3045143485069275, -0.23750439286231995, -0.09667593240737915, -0.46425721049308777, -0.8453512191772461, 0.4823925495147705, -0.41975322365760803, 0.36570119857788086, -0.06901481002569199, 0.23935076594352722, 0.4529035985469818, 0.10728415846824646, -0.5996146202087402, 0.1739092320203781, -0.1746726781129837, -0.3622966706752777, 0.23828749358654022, -0.22988896071910858, 0.25732845067977905, -0.03588755428791046, 0.6539303660392761, -0.30793482065200806, 0.07119622826576233, -0.11790397018194199, -0.12013448774814606, -0.3957275450229645, 0.4131612479686737, 0.0582764632999897, 0.13160990178585052, -0.4415190815925598, 0.11552328616380692, 0.26822203397750854, -0.27539509534835815, 0.26084816455841064, -0.14971423149108887, 0.1801503598690033, 0.3888840973377228, 0.49091488122940063, 0.6260072588920593, -0.22476674616336823, -0.45468980073928833, 0.6138542890548706, 0.23043204843997955, 0.16352680325508118, -0.2807547152042389, 0.3845382630825043, -0.3357667624950409, 0.3904125690460205, 0.3579977750778198, 0.38325244188308716, 0.517505943775177, -0.6419030427932739, -0.23527507483959198, 0.8572978377342224, -0.6311764121055603, -0.6564807295799255, 0.32357287406921387, 0.5862298011779785, -0.22617805004119873, 0.4082075357437134, -0.45813798904418945, -0.5372632741928101, 0.7008077502250671, 0.23192501068115234, 0.7871602773666382, -0.48030441999435425, -0.23048940300941467, -0.10018033534288406, 0.10320486128330231, 0.28126731514930725, 0.5290701985359192, -0.38918253779411316, -0.7979573607444763, 0.010250276885926723, -0.5551468729972839, -0.23103509843349457, 0.1938108503818512, -1.291662573814392, 0.43392476439476013, -0.04635098576545715, -0.48654547333717346, -0.04810209199786186, -0.06256496906280518, -0.5029829144477844, 0.08739154040813446, 0.4872964322566986, 0.8730766177177429, -1.3976787328720093, 0.8245437145233154, 0.3281297981739044, 0.028866419568657875, -0.8551960587501526, 0.09539681673049927, 0.1908988356590271, -0.5696097612380981, 0.21788521111011505, 0.12711964547634125, -0.24465851485729218, -0.11338583379983902, -0.17750899493694305, -0.8504788279533386, 0.8768320083618164, 0.48886924982070923, -0.8369837403297424, 0.3097923696041107, 0.012202695943415165, 0.16056619584560394, -0.04815017804503441, 0.6745083928108215, 0.5674269199371338, 0.4998299777507782, -0.11948506534099579, -1.067931890487671, -0.23469805717468262, -0.12064492702484131, -0.04511363059282303, 0.5719125866889954, -0.9183849692344666, 1.1512970924377441, -0.2735304534435272, -0.29619333148002625, 0.19782967865467072, 0.42088645696640015, -0.3812497854232788, 0.5741143226623535, 0.9002753496170044, 0.44899752736091614, 1.011261224746704, -0.1616736352443695, 0.7540326714515686, -0.32424184679985046, 0.4140884280204773, 0.6528235077857971, -0.4875373840332031, 0.7712989449501038, 0.2107435166835785, -0.20443768799304962, 0.6285327672958374, 0.46681904792785645, 0.3505821228027344, 1.0932197570800781, 0.40554606914520264, -0.5826508402824402, -0.43479347229003906, -0.2931891679763794, -0.6483749151229858, 0.7560205459594727, 0.7541496157646179, -0.49476587772369385, -0.13655848801136017, 0.324642151594162, -0.04586079716682434, 0.22172914445400238, -0.4813099801540375, 0.8163592219352722, -0.368710458278656, -0.3298705220222473, 0.8585584759712219, 0.12097415328025818, 0.5997405052185059, -0.6344527006149292, 0.03330891579389572, -0.24614444375038147, 0.5061327815055847, -0.027664583176374435, -0.19664648175239563, 0.242112398147583, -0.38190388679504395, -0.521912693977356, -0.15300047397613525, 0.6927919983863831, -0.5969484448432922, -0.5064602494239807, 0.49887657165527344, 0.4270603656768799, 0.18764229118824005, -0.05214020982384682, -0.23719094693660736, 0.17733663320541382, -0.06818114221096039, -0.2104395627975464, 0.1734006255865097, 0.6214259266853333, -0.030514206737279892, 0.12537138164043427, 0.42460885643959045, 0.12273333221673965, 0.003827634733170271, 0.24959887564182281, 0.8288617730140686, -0.4863883852958679, -0.4127036929130554, -0.7562569379806519, 0.1281924843788147, -0.28105026483535767, -0.2880483865737915, 0.710344135761261, 0.3819514214992523, 0.7299699783325195, -0.2630501091480255, 1.062529444694519, -0.004629782401025295, 0.7097659111022949, -0.7231032848358154, 0.6660008430480957, -0.5422980785369873, 0.2290845364332199, -0.18859907984733582, -0.519616425037384, 0.1812434047460556, 0.3886071741580963, -0.45897218585014343, 0.16997185349464417, 0.18716366589069366, 0.9370124936103821, -0.3493252694606781, 0.05019766464829445, 0.6021787524223328, -0.011550894007086754, 0.17887482047080994, 0.7082340717315674, 0.9875253438949585, -0.16401079297065735, 0.20674888789653778, -0.39045214653015137, -0.43604880571365356, -0.623794436454773, -0.8569043278694153, -0.9267187118530273, -0.43720853328704834, -0.1422727108001709, -0.12465130537748337, 0.1987580507993698, 1.116122841835022, 1.234378457069397, -0.9816757440567017, -0.17264249920845032, -0.0693085640668869, -0.1328991800546646, -0.4885585904121399, -0.29480084776878357, 0.22397790849208832, -0.132258340716362, -0.5703546404838562, 0.9314948320388794, 0.4130295217037201, -0.2533208131790161, -0.2382049709558487, 0.13011427223682404, 0.060421355068683624, 0.47901174426078796, 0.06556924432516098, 0.14330099523067474, -0.5447359681129456, -0.4201529622077942, -0.14713244140148163, 0.3005761504173279, -0.008762591518461704, 0.7042694687843323, -0.6675717234611511, 0.8402438163757324, 0.5137848854064941, -0.03528544679284096, -0.009064574725925922, 0.354065477848053, 0.577151894569397, -1.2385600805282593, 0.48730963468551636, 0.15479029715061188, 0.6839475631713867, 0.42757055163383484, -0.42592597007751465, 0.3593827486038208, 0.5608273148536682, -0.17930248379707336, -0.8055148124694824, 0.1657552570104599, -0.7161420583724976, -0.12024400383234024, 1.0314264297485352, -0.4896767735481262, -0.3066965341567993, -0.41730639338493347, 0.013249805197119713, 0.048875924199819565, -0.5168249011039734, 0.5863326787948608, 0.45749929547309875, -0.21839122474193573, 0.25014007091522217, -0.24870988726615906, 0.4368070960044861, 0.4299006462097168, -0.4532003700733185, 0.12292450666427612, 0.35444363951683044, 0.21380650997161865, 0.49808385968208313, 0.23296967148780823, 0.47857466340065, 0.06118999049067497, 0.29047250747680664, 0.12915484607219696, -0.10530370473861694, -0.3911401927471161, -0.4450451731681824, 0.48771771788597107, -0.13388590514659882, -0.6702826619148254 ]
http://arxiv.org/abs/2406.18064v1
http://arxiv.org/pdf/2406.18064v1
Evaluating Quality of Answers for Retrieval-Augmented Generation: A Strong LLM Is All You Need
2024-06-26T04:49:41
2024-06-26T04:49:41
Yang Wang, Alberto Garcia Hernandez, Roman Kyslyi, Nicholas Kersting
cs.CL
cs.CL
We present a comprehensive evaluation of answer quality in Retrieval-Augmented Generation (RAG) applications using vRAG-Eval, a novel grading system that is designed to assess correctness, completeness, and honesty. We further map the grading of quality aspects aforementioned into a binary score, indicating an accept or reject decision, mirroring the intuitive "thumbs-up" or "thumbs-down" gesture commonly used in chat applications. This approach suits factual business settings where a clear decision opinion is essential. Our assessment applies vRAG-Eval to two Large Language Models (LLMs), evaluating the quality of answers generated by a vanilla RAG application. We compare these evaluations with human expert judgments and find a substantial alignment between GPT-4's assessments and those of human experts, reaching 83% agreement on accept or reject decisions. This study highlights the potential of LLMs as reliable evaluators in closed-domain, closed-ended settings, particularly when human evaluations require significant resources.
[ -0.3551482558250427, -0.9080865383148193, 0.5318076610565186, 0.2328311949968338, -0.23008231818675995, 0.5328658819198608, 0.015956290066242218, -0.6165512800216675, 0.06911822408437729, 0.3873778283596039, -0.12275911122560501, -0.2974819839000702, -0.4213787913322449, 0.01895238272845745, -0.27313604950904846, 1.2107220888137817, 0.10870324820280075, 0.23670494556427002, -0.6639835238456726, -0.1682881861925125, -0.5930353999137878, -0.5961549878120422, -0.6799030900001526, -0.5890671610832214, 0.35055628418922424, 0.42192769050598145, 0.7632285952568054, 0.303376704454422, 0.7580037713050842, 0.2604371905326843, -0.2717185914516449, 0.42616161704063416, -0.7315320372581482, 0.299388587474823, -0.5414605736732483, -0.1960228532552719, -0.8797455430030823, 0.16373011469841003, 0.394614040851593, 0.5187241435050964, -0.36308538913726807, 0.7006751894950867, -0.09437549114227295, 0.6841623187065125, -0.4886089563369751, -0.3308737874031067, -0.7963154315948486, -0.18928758800029755, 0.18089838325977325, -0.2857297956943512, -0.4464164078235626, -0.7144089341163635, -0.021493911743164062, -0.264372318983078, 0.28620123863220215, -0.007860850542783737, 1.0497493743896484, 0.16106164455413818, -0.2067423313856125, -0.42883944511413574, -0.8721851706504822, 0.9213026165962219, -0.527262806892395, 0.2549341917037964, 0.4932277202606201, 0.41072434186935425, -0.2318943440914154, -0.6861814856529236, -0.6607958078384399, -0.3960655927658081, 0.1399175375699997, 0.4224206805229187, 0.05451083183288574, 0.009262037463486195, 0.05113164708018303, 0.5931111574172974, -0.7365314960479736, 0.054399460554122925, -0.5570181012153625, -0.09180143475532532, 0.6809141039848328, 0.21619467437267303, 0.0462862029671669, -0.23433980345726013, -0.5886497497558594, -0.011727983132004738, -0.7182989716529846, -0.029697934165596962, 0.48837554454803467, 0.16886062920093536, 0.3844907879829407, 0.7374592423439026, -0.1930602490901947, 0.897405743598938, 0.20324088633060455, -0.23101042211055756, 0.1747448444366455, -0.5672737956047058, -0.23651333153247833, -0.2196105569601059, 0.6968371868133545, 0.4772055447101593, 0.06909666210412979, -0.0073976521380245686, -0.5058103799819946, -0.07684366405010223, 0.6539771556854248, -0.7164562344551086, 0.13597305119037628, 0.38112956285476685, -0.5327669382095337, -0.4297407269477844, -0.09136760234832764, -0.6570929288864136, -0.4118362367153168, -0.3761928081512451, 0.6549910306930542, -0.17087122797966003, -0.30534523725509644, 0.021667731925845146, -0.1046123281121254, 0.6731989979743958, 0.4334094524383545, -0.516482412815094, 0.37760990858078003, 0.8683781623840332, 0.6132493615150452, -0.28788548707962036, -0.0341615229845047, -0.7995379567146301, -0.38285893201828003, -0.4368455708026886, 0.9793849587440491, -0.510076642036438, -0.6130940318107605, -0.15765786170959473, -0.6237441897392273, 0.2684181332588196, -0.7861297726631165, 1.0429257154464722, -0.8701906800270081, 0.33500543236732483, -0.15171298384666443, -0.552655041217804, -0.07048561424016953, 0.5231291055679321, -0.2779938876628876, 1.147365689277649, 0.3736584782600403, -0.49656033515930176, 0.4854821562767029, -0.27074575424194336, -0.182332381606102, 0.38417312502861023, -0.05274418368935585, -0.44686076045036316, 0.3874462842941284, -0.03390064463019371, 0.2380409687757492, -0.36217471957206726, -0.05029093101620674, -0.2359025478363037, -0.34598904848098755, 0.5048750042915344, -0.5353356599807739, 0.45649483799934387, 0.4185255169868469, 0.04676320403814316, -0.04704435169696808, -0.8189725279808044, 0.42141011357307434, -0.08428514748811722, -0.6289000511169434, -0.2547852396965027, -0.06777600944042206, -0.030755281448364258, 0.3590717911720276, 0.5666942000389099, -0.6039140820503235, 0.29914620518684387, -0.2714100778102875, -0.16159477829933167, 0.9000396728515625, 0.09556939452886581, 0.22561508417129517, -0.18167833983898163, 0.7852100133895874, -0.3304888606071472, 0.2928008437156677, 0.25360724329948425, -0.47545701265335083, -0.7433602213859558, -0.08654525130987167, 0.579657256603241, 0.46550318598747253, -0.8913218379020691, 0.2790217697620392, -0.35509321093559265, -0.6906870007514954, -0.7875761389732361, 0.3083967864513397, 0.6750230193138123, 0.6464009881019592, 0.16644397377967834, -0.5436418652534485, -0.2224426120519638, -0.7757496237754822, -0.2569954991340637, -0.6087901592254639, -0.07233589142560959, 0.3854061961174011, 0.2738310694694519, -0.1476506143808365, 0.993327260017395, -0.2501753866672516, -0.007392462808638811, -0.17860442399978638, 0.20712397992610931, 0.41602087020874023, 0.055608805269002914, 0.4344791769981384, -0.9805604815483093, -0.36437204480171204, 0.14838239550590515, -0.6717934608459473, -0.24693627655506134, 0.14152035117149353, -0.27578628063201904, 0.13037820160388947, -0.10259242355823517, -0.561122715473175, 0.2590465247631073, 0.6732451915740967, -0.5604119896888733, 0.8566170930862427, -0.29747962951660156, 0.5084490180015564, -0.8353267312049866, 0.11367938667535782, -0.000016473639334435575, -0.5253913998603821, -0.5716289281845093, 0.21473827958106995, -0.1762380748987198, 0.16139091551303864, -0.4718306362628937, 0.6611989736557007, -0.21282564103603363, -0.38205260038375854, -0.43319475650787354, 0.3049708306789398, 0.21585464477539062, 0.08648096770048141, -0.173845574259758, 1.0465694665908813, -0.015515272505581379, -0.5695797204971313, 0.4207841753959656, 0.2789389193058014, -0.253752738237381, 0.9779716730117798, -0.7580904960632324, 0.41857218742370605, 0.05222334712743759, -0.08495163172483444, -1.05091392993927, -0.24360576272010803, -0.1235460564494133, -1.0118472576141357, 0.47158706188201904, -0.09279097616672516, -0.324535071849823, -0.5289462208747864, -0.35728850960731506, 0.15772747993469238, 0.7602173686027527, -0.6110851764678955, 0.4269179701805115, 0.3054260015487671, -0.25098374485969543, -0.8491834402084351, -0.260233610868454, 0.11944611370563507, -0.041429292410612106, -0.5790325403213501, 0.015365340746939182, -0.19436927139759064, -0.4084879755973816, 0.032123222947120667, -0.23858802020549774, -0.23387525975704193, 0.1134440079331398, 0.019058708101511, 0.41115090250968933, -0.07257748395204544, -0.11733528226613998, -0.16146235167980194, -0.11451134085655212, -0.05800245329737663, 0.05345676466822624, 0.3422548472881317, -0.23270434141159058, -0.43484535813331604, 0.013285728171467781, 0.16997110843658447, 0.7548185586929321, -0.3080541789531708, 0.5996507406234741, 0.6026716232299805, -0.14215004444122314, 0.00018417077080812305, -0.7782022356987, 0.06973113119602203, -0.4512336850166321, 0.23291903734207153, -0.3811611533164978, -0.8856664299964905, 0.4605500102043152, 0.12665148079395294, 0.1461857259273529, 0.44787973165512085, 0.8445314168930054, -0.1842828392982483, 1.1429647207260132, 0.4835701584815979, 0.1461055874824524, 0.14878520369529724, -0.1300165355205536, 0.276207834482193, -0.8785372376441956, -0.1643202006816864, -0.597093403339386, -0.03905279561877251, -0.5745711922645569, -0.3185047507286072, 0.379695326089859, 0.43560609221458435, -0.13215884566307068, -0.014883849769830704, -0.8135271668434143, 0.46639585494995117, 0.5419316291809082, -0.047385770827531815, 0.3355044424533844, -0.048373088240623474, 0.25085341930389404, 0.17559920251369476, -0.28632065653800964, -0.9052911996841431, 1.0609930753707886, 0.38194358348846436, 0.6854637265205383, 0.2905513644218445, 0.7143227458000183, 0.6125748157501221, 0.6434442400932312, -0.880366861820221, 0.6038482189178467, -0.010067456401884556, -0.6670722365379333, -0.1244286298751831, -0.6856940984725952, -0.7675394415855408, 0.3672676980495453, -0.14349639415740967, -0.6168713569641113, -0.038049228489398956, 0.05790732428431511, -0.34877118468284607, 0.014915239997208118, -0.8160530924797058, 0.5589157938957214, -0.38690751791000366, -0.6084150671958923, -0.23036925494670868, -0.2980865240097046, 0.4902702271938324, -0.2652856111526489, 0.11500976979732513, -0.11288060992956161, 0.002066749846562743, 0.5926830172538757, -0.39855384826660156, 0.264596164226532, -0.2261088490486145, -0.05169035121798515, 0.6615237593650818, 0.24061647057533264, 0.20166347920894623, -0.06758300960063934, -0.45375141501426697, 0.027330003678798676, -0.055921874940395355, -0.3695545792579651, -0.7240713238716125, 0.808992326259613, -0.8456876873970032, -0.5647587776184082, -0.5370071530342102, -0.08464936167001724, -0.19789783656597137, 0.12578478455543518, 0.1391981840133667, 0.3411843478679657, -0.18306468427181244, -0.02000465802848339, 0.571183979511261, -0.3283844292163849, -0.04913346841931343, 0.5994429588317871, -0.46045762300491333, -0.5512388348579407, 1.129895806312561, 0.11227110028266907, 0.44644397497177124, 0.12901726365089417, 0.22846956551074982, -0.4735989272594452, -0.6549359560012817, -0.5628247261047363, 0.252998411655426, -0.717079758644104, -0.45752042531967163, -0.358381450176239, -0.21054494380950928, -0.18154455721378326, -0.08439197391271591, -0.33908137679100037, -0.4715232849121094, -0.13705764710903168, -0.2896818220615387, 0.2766713500022888, 1.0494502782821655, -0.08944467455148697, -0.08907418698072433, -0.8483728170394897, 0.5547293424606323, 0.4599786102771759, 0.5118114948272705, -0.23944762349128723, -0.8729125261306763, -0.26468250155448914, 0.035696301609277725, -0.6524458527565002, -0.6596888899803162, 0.3197273313999176, 0.11933068186044693, 0.5614714622497559, 0.04873402416706085, -0.1668708175420761, 0.549098789691925, -0.43661433458328247, 1.2204395532608032, 0.13864731788635254, -0.7032139301300049, 0.34775859117507935, -0.30115601420402527, 0.11491021513938904, 0.670996904373169, 0.21343189477920532, -0.2396567314863205, -0.3708898425102234, -0.6405611038208008, -0.8102338910102844, 0.45605984330177307, 0.19557014107704163, 0.2898295223712921, -0.14014504849910736, 0.5626377463340759, 0.14962056279182434, 0.3303750157356262, -0.47758376598358154, -0.2765747010707855, -0.032067690044641495, -0.04534333944320679, 0.19111233949661255, -0.7164711952209473, 0.20306259393692017, -0.08491867035627365, 0.7324569225311279, 0.14385609328746796, 0.28007975220680237, 0.10168551653623581, 0.1535094529390335, -0.059546396136283875, 0.43418261408805847, 0.5692124366760254, 1.0544006824493408, -0.3632522225379944, 0.01576656475663185, 0.23394456505775452, -0.6028127074241638, 0.32535406947135925, -0.15737174451351166, -0.12898953258991241, 0.05548525229096413, 0.15323764085769653, 0.5007755160331726, -0.3812749981880188, -0.587059736251831, 0.678236186504364, -0.3493276536464691, 0.007015622220933437, -0.2000657618045807, 0.05811750143766403, -0.25720667839050293, 0.012081781402230263, 0.5707517862319946, -0.10372502356767654, 0.33536839485168457, -0.4280678927898407, 0.15979482233524323, 0.39239180088043213, -0.37456345558166504, -0.25653645396232605, 0.5629127025604248, 0.2963385581970215, -0.621009111404419, 0.6353273987770081, -0.41112372279167175, -0.5572575926780701, 0.3917883336544037, 0.32428863644599915, 1.0062029361724854, -0.4380815923213959, 0.297234445810318, 0.2965383231639862, 0.11278259754180908, 0.009514733217656612, 0.39716559648513794, 0.00014714733697474003, -0.5941216945648193, -0.8496525287628174, -1.1780873537063599, -0.8919254541397095, -0.013776284642517567, -0.7666967511177063, 0.11457107961177826, -0.20445233583450317, -0.5272266864776611, -0.17859439551830292, 0.02284787781536579, -0.835102379322052, 0.40444105863571167, 0.0027022676076740026, 0.5500867366790771, -0.5695234537124634, 0.421769380569458, 0.942196786403656, -0.649078369140625, -0.6562085747718811, -0.22820763289928436, -0.3195933997631073, -0.6504829525947571, 0.8646558523178101, -0.07589229941368103, -0.3917820453643799, -0.14455538988113403, -0.5336215496063232, -0.5931137800216675, 0.867958128452301, 0.2831454873085022, -0.14635434746742249, 0.14848369359970093, -0.05732474476099014, 0.9699455499649048, 0.07031359523534775, 0.7636407613754272, 0.5881549715995789, 0.2765501141548157, 0.1413036733865738, -1.116786003112793, -0.4615910053253174, -0.2106722891330719, 0.019876202568411827, 0.04807339608669281, -0.6952583193778992, 0.5918995141983032, -0.05892849341034889, -0.13883493840694427, 0.10579217225313187, 0.7491591572761536, 0.389278769493103, 0.3758890628814697, 0.20735518634319305, 0.5940794944763184, 0.6465969681739807, -0.11082970350980759, 1.3282994031906128, -0.13132813572883606, 0.49409857392311096, 0.9279453754425049, -0.28160426020622253, 1.0949920415878296, 0.4071415960788727, -0.30780303478240967, 0.4815342426300049, 0.5563972592353821, 0.36587437987327576, 0.35866987705230713, 0.2789187431335449, -0.3753885328769684, -0.3442462682723999, -0.36742308735847473, -0.03304518759250641, 0.5553491711616516, 0.3869677186012268, -0.10431800037622452, -0.15410348773002625, -0.08847744762897491, -0.14657539129257202, 0.3542770743370056, -0.4432428181171417, 0.8701785206794739, 0.18363641202449799, -0.8022099733352661, 0.7452498078346252, -0.06771989911794662, 0.47012728452682495, -0.25964871048927307, -0.35675570368766785, -0.35367172956466675, 0.13960367441177368, -0.3777804672718048, -1.222823143005371, 0.09525366872549057, 0.4514234960079193, -0.31942540407180786, -0.27155381441116333, 0.7396584749221802, -0.15752506256103516, -0.46231353282928467, 0.17056997120380402, 0.6703944206237793, 0.42343103885650635, 0.3110654950141907, -0.7018659710884094, 0.1357012242078781, -0.032884467393159866, -0.5162374377250671, 0.23077629506587982, 0.26039639115333557, 0.11953936517238617, 0.6535677909851074, 0.5596696734428406, 0.3222045600414276, 0.027047066017985344, 0.0798998773097992, 0.662479043006897, -0.4345267415046692, 0.0038405389059334993, -0.6900687217712402, 0.5606996417045593, -0.25025907158851624, -0.1786552369594574, 0.9403495192527771, 0.5472017526626587, 0.7516173720359802, 0.14647439122200012, 0.7830957770347595, 0.06385234743356705, 0.9387246966362, -0.2873646020889282, 0.6062092185020447, -0.43187740445137024, 0.23718003928661346, -0.29405584931373596, -1.1856927871704102, -0.05468791350722313, 0.5169745683670044, -0.38675829768180847, 0.2446015328168869, 0.31474998593330383, 0.5485028028488159, 0.05332689732313156, -0.440631628036499, 0.5159578323364258, 0.028378568589687347, 0.6541793346405029, 0.27515557408332825, 1.1148688793182373, -0.4036538600921631, 0.5350890159606934, 0.17521147429943085, -0.37669795751571655, -0.20217426121234894, -0.6988831162452698, -0.6763800382614136, -0.3140742778778076, -0.2731488347053528, -0.69716477394104, 0.04672464355826378, 0.7921450734138489, 0.304067999124527, -0.5245420336723328, -0.19478102028369904, 0.23347222805023193, 0.1797475516796112, -0.0017224764451384544, -0.29161545634269714, 0.27287405729293823, -0.48869726061820984, -0.5833238959312439, 0.3746803402900696, 0.2560448944568634, -0.2695716619491577, -0.45506519079208374, -0.09703006595373154, 0.06016262248158455, 0.2967703342437744, 0.8629323840141296, 0.2593856751918793, -0.6257420778274536, -0.6182462573051453, 0.1396428942680359, -0.3642916679382324, 0.011656866408884525, 0.387977659702301, -0.8308686017990112, 0.866997241973877, 0.6893934011459351, 0.7239399552345276, 0.2494058907032013, 0.6408226490020752, 0.42772427201271057, -0.5685725212097168, -0.37373289465904236, 0.4665657877922058, 0.0452081635594368, 0.5969915986061096, -0.17981186509132385, 0.5733480453491211, -0.10444406419992447, -1.1368402242660522, -0.991239607334137, 0.1402961015701294, -0.9933933615684509, 0.13117071986198425, 1.3894506692886353, 0.013715039938688278, -0.1938619762659073, -0.04484480991959572, -0.46808311343193054, -0.043855611234903336, -0.3529714047908783, 0.8383840322494507, 0.6892397999763489, -0.30731895565986633, 0.08016831427812576, -0.6468946933746338, 0.3227551281452179, 0.1824129968881607, -0.6542766094207764, -0.09338853508234024, 0.7133552432060242, 0.09862536191940308, 0.40258654952049255, 0.7054719924926758, -0.16538101434707642, 0.44482171535491943, -0.18034790456295013, 0.3229491412639618, -0.04444226622581482, -0.08488475531339645, -0.4037582278251648, 0.20531333982944489, 0.7170131802558899, -0.1261313259601593 ]
http://arxiv.org/abs/2406.18060v1
http://arxiv.org/pdf/2406.18060v1
AdaZeta: Adaptive Zeroth-Order Tensor-Train Adaption for Memory-Efficient Large Language Models Fine-Tuning
2024-06-26T04:33:13
2024-06-26T04:33:13
Yifan Yang, Kai Zhen, Ershad Banijamal, Athanasios Mouchtaris, Zheng Zhang
cs.CL
cs.CL, cs.AI, cs.LG
Fine-tuning large language models (LLMs) has achieved remarkable performance across various natural language processing tasks, yet it demands more and more memory as model sizes keep growing. To address this issue, the recently proposed Memory-efficient Zeroth-order (MeZO) methods attempt to fine-tune LLMs using only forward passes, thereby avoiding the need for a backpropagation graph. However, significant performance drops and a high risk of divergence have limited their widespread adoption. In this paper, we propose the Adaptive Zeroth-order Tensor-Train Adaption (AdaZeta) framework, specifically designed to improve the performance and convergence of the ZO methods. To enhance dimension-dependent ZO estimation accuracy, we introduce a fast-forward, low-parameter tensorized adapter. To tackle the frequently observed divergence issue in large-scale ZO fine-tuning tasks, we propose an adaptive query number schedule that guarantees convergence. Detailed theoretical analysis and extensive experimental results on Roberta-Large and Llama-2-7B models substantiate the efficacy of our AdaZeta framework in terms of accuracy, memory efficiency, and convergence speed.
[ -0.3672163486480713, -0.7832679152488708, 0.5488281846046448, 0.5572283864021301, -0.3328595757484436, -0.08921924978494644, -0.33459073305130005, -0.42778345942497253, 0.2347859889268875, 0.3232875466346741, -0.5167660713195801, -0.4526382386684418, -0.42642202973365784, 0.10549627989530563, 0.15157297253608704, 0.6062130331993103, 0.026260310783982277, 0.10752864181995392, 0.34928005933761597, -0.3217848241329193, -0.9025935530662537, -0.07778941839933395, -0.7659515142440796, -0.005075738299638033, 0.5398467779159546, 0.6477749943733215, 0.6861968040466309, 0.6798083782196045, 0.22916537523269653, 0.3237723112106323, -0.1656479835510254, 0.30003806948661804, -0.4204191267490387, 0.43029940128326416, -0.1444178968667984, -0.7631422281265259, -0.9238418340682983, -0.4870504140853882, 0.8344557881355286, 0.5059390068054199, -0.3471190631389618, 0.07569856941699982, -0.2761768698692322, 0.809466540813446, -0.8319252133369446, 0.047343574464321136, -0.7404150366783142, -0.05361822620034218, 0.0333072803914547, -0.2245253622531891, -0.34937670826911926, -0.2873152792453766, -0.05576813593506813, -0.6234270334243774, 0.285487562417984, -0.11828197538852692, 0.5091845393180847, 0.30718255043029785, 0.07691299915313721, -0.12701711058616638, -0.6716234683990479, 0.6517854928970337, -0.8481655716896057, 0.5156435370445251, 0.17325599491596222, 0.23559734225273132, -0.2409864366054535, -0.45559602975845337, -0.4272034168243408, 0.0518379732966423, 0.4959893524646759, 0.12249521166086197, -0.2486189901828766, 0.04746909439563751, 0.04801448434591293, 0.2935282289981842, -0.704055666923523, 0.5807765126228333, -0.22412221133708954, 0.1065748855471611, 0.46416154503822327, 0.5859158039093018, 0.30300888419151306, 0.42944878339767456, -0.22447925806045532, -0.05955074727535248, -0.7786285877227783, -0.2491152286529541, 0.27130362391471863, 0.5715808868408203, 0.009639622643589973, 0.0332125648856163, -0.7657185792922974, 0.9466569423675537, 0.04338856413960457, 0.3829338252544403, 0.276773065328598, -0.20761464536190033, -0.3105263113975525, 0.2729546129703522, 0.7081729769706726, 0.25942331552505493, 0.29755884408950806, -0.34787774085998535, -0.16020208597183228, -0.09138182550668716, 0.3056885302066803, -1.3715988397598267, -0.1852426826953888, 0.176755890250206, -0.007026159204542637, -0.09299348294734955, -0.47505784034729004, -0.9454563856124878, -0.2520045042037964, -0.14298248291015625, 0.5619542002677917, -0.40793946385383606, -0.28705087304115295, 0.49912741780281067, 0.2926045060157776, 0.09703341126441956, 0.6261844038963318, -1.2382463216781616, 0.246647909283638, 0.6287646889686584, 1.2038090229034424, 0.13288471102714539, -0.5216127038002014, -0.7705444097518921, -0.08182428777217865, -0.7506512999534607, 0.8223689794540405, -0.4238366186618805, -0.06318026036024094, -0.19072361290454865, 0.020696328952908516, -0.2500635087490082, -0.4706091582775116, 0.4757852852344513, -0.919322669506073, -0.12763521075248718, -0.16780135035514832, -0.35984525084495544, -0.32899102568626404, 0.19846293330192566, -0.5142829418182373, 0.643797755241394, 0.16017554700374603, -0.12472977489233017, 0.2584238052368164, -0.7940741181373596, -0.3680865168571472, -0.1761597841978073, 0.21651434898376465, -0.5051059126853943, 0.2694578468799591, 0.2700967788696289, 0.6127206683158875, -0.3577343225479126, -0.11872469633817673, -0.45464733242988586, -0.6354526281356812, -0.07818640023469925, -0.45546749234199524, 0.7255194187164307, 0.34843629598617554, -0.17160171270370483, 0.3429654836654663, -0.9909175038337708, 0.021108737215399742, 0.1839894950389862, -0.37110012769699097, -0.4898970425128937, -0.003914232831448317, -0.19418202340602875, 0.019861390814185143, 0.14531110227108002, -0.4795985519886017, 0.30190181732177734, -0.5335206389427185, 0.5820898413658142, 0.7976930141448975, -0.2010589838027954, 0.5097814202308655, -0.06217074766755104, 0.4379158914089203, 0.08890976756811142, -0.02967000938951969, -0.25513339042663574, -0.4029424488544464, -0.692368745803833, -0.32856485247612, 0.3818361461162567, 0.35278958082199097, -0.4206269383430481, 0.30510640144348145, -0.7279464602470398, -0.5753414034843445, -0.485202819108963, 0.3460964858531952, 0.16105513274669647, 0.2973078489303589, 0.5647952556610107, -0.2709296941757202, -0.3590394854545593, -0.4812527596950531, -0.020129071548581123, 0.032880086451768875, -0.12717461585998535, 0.209400475025177, 0.10020121932029724, -0.09006070345640182, 0.6510372161865234, -0.6705551147460938, -0.27111947536468506, 0.04668089374899864, 0.09091879427433014, 0.3404499590396881, 0.43401050567626953, 0.9117311835289001, -0.5362648963928223, -0.5691509246826172, 0.017435071989893913, -0.3916502594947815, -0.002669458044692874, 0.13243985176086426, -0.2140990048646927, 0.31258320808410645, 0.3100277781486511, -0.4721367359161377, -0.15527670085430145, 0.5772891044616699, -0.6423793435096741, 0.17979957163333893, -0.4147860109806061, -0.10867014527320862, -1.1989390850067139, -0.17499691247940063, -0.1977391093969345, -0.2232428938150406, -0.7176917195320129, -0.16872429847717285, 0.19519561529159546, 0.055105846375226974, -0.05659869685769081, 0.4298441708087921, -0.5274238586425781, -0.02448219619691372, -0.4759087562561035, -0.06726741045713425, 0.06439444422721863, 0.4103240370750427, -0.15932783484458923, 0.9834050536155701, 0.42445826530456543, -0.8499147295951843, 0.2674247622489929, 0.3999045789241791, -0.4005671441555023, 0.5151576399803162, -0.3718699812889099, 0.32973700761795044, -0.022623170167207718, -0.11419184505939484, -1.0009400844573975, 0.16560839116573334, 0.2237362116575241, -0.5604483485221863, 0.4930652379989624, -0.4536031484603882, -0.28737959265708923, 0.1402827501296997, -0.455120325088501, 0.3272181451320648, 0.3307431638240814, -0.7019298672676086, 0.6191161274909973, 0.08546285331249237, -0.4438660144805908, -0.6760536432266235, -0.5300925374031067, 0.26048070192337036, -0.18236008286476135, -0.44440221786499023, 0.25416338443756104, -0.24878522753715515, 0.06478987634181976, -0.08393494039773941, -0.03967214748263359, -0.17446540296077728, 0.4386967718601227, -0.13738411664962769, 0.21059387922286987, -0.7992814779281616, 0.015145757235586643, 0.09133968502283096, -0.04249565303325653, -0.18676325678825378, -0.2687475383281708, 0.8438043594360352, -0.22923433780670166, 0.22540691494941711, -0.09920237958431244, 0.001230692840181291, 0.7920730113983154, -0.20966920256614685, 0.8647291660308838, 0.6933685541152954, -0.20466437935829163, -0.3691624104976654, -0.5283044576644897, -0.0038940543308854103, -0.47010982036590576, 0.6762109398841858, -0.44172394275665283, -0.7123432159423828, 0.6451023817062378, 0.12950052320957184, 0.09923896193504333, 0.2716733515262604, 0.8876416683197021, 0.38667723536491394, 0.8054761290550232, 0.46016252040863037, -0.4290392994880676, 0.8586292266845703, -0.14950746297836304, -0.037378277629613876, -1.025713324546814, 0.2849666178226471, -0.4748246371746063, -0.33349642157554626, -0.4565415382385254, -0.23515111207962036, -0.11266931891441345, -0.0017724419012665749, -0.37654346227645874, 0.3784344792366028, -0.2462952584028244, 0.37985074520111084, 0.35544684529304504, 0.03702276200056076, 0.4343220889568329, 0.00027285906253382564, 0.2778250277042389, 0.24774956703186035, -0.6735497117042542, 0.03558505326509476, 1.0201574563980103, 0.1416928470134735, 0.8069901466369629, 0.3501995801925659, 0.31100204586982727, 0.12963145971298218, 0.29308488965034485, -0.9143349528312683, 0.3418484926223755, -0.2630007266998291, -0.4421352446079254, -0.5930228233337402, -0.4954017102718353, -0.9500942826271057, 0.6499660611152649, 0.01966109313070774, -0.6768597960472107, 0.5224243998527527, 0.08212863653898239, -0.7292566895484924, 0.3046586513519287, -0.8032075762748718, 0.6730813384056091, -0.11436134576797485, -0.5863812565803528, -0.42266249656677246, -0.3260587155818939, 0.051726289093494415, 0.04409768432378769, -0.14741891622543335, -0.5687359571456909, -0.19255425035953522, 0.6686165928840637, -0.2937385141849518, 0.7285448312759399, -0.40077558159828186, -0.15563558042049408, 0.0834963396191597, 0.26575854420661926, 0.5637661814689636, -0.009152382612228394, -0.33808544278144836, 0.19996269047260284, -0.06996578723192215, -0.4174116849899292, -0.5796689391136169, 0.8270890116691589, -0.7118583917617798, -0.455179363489151, -0.1189846619963646, -0.8411471843719482, -0.531596302986145, 0.48515191674232483, -0.12785997986793518, 0.44570794701576233, -0.1454232782125473, 0.24355466663837433, 0.6199809312820435, -0.05926791951060295, 0.5138059854507446, 1.0470598936080933, 0.06073892116546631, -0.5848118662834167, 1.0738269090652466, 0.41118890047073364, 0.13005965948104858, 0.48810842633247375, 0.17161259055137634, -0.192301407456398, -1.0597032308578491, -0.9146448373794556, 0.0187674667686224, -0.41090914607048035, -0.5380098223686218, -0.4044288992881775, 0.119143545627594, -0.36267054080963135, 0.0731099545955658, -0.6288781762123108, -0.37503084540367126, -0.3387347161769867, 0.05707106366753578, 0.7823055982589722, 0.29826995730400085, 0.06479372829198837, 0.45364972949028015, -0.6804373264312744, 0.23992739617824554, 0.16104865074157715, 0.8378868699073792, 0.08462575823068619, -0.7747982740402222, -0.3945464789867401, -0.06947094202041626, -0.05843614414334297, -0.4353598654270172, 0.315211683511734, 0.3000152111053467, 0.23855407536029816, 0.346431702375412, 0.09224322438240051, 0.8703106641769409, -0.691534161567688, 0.11699805408716202, -0.07282814383506775, -0.5424110293388367, 0.23985138535499573, -0.5513912439346313, 0.17927037179470062, 0.6026760339736938, 0.1433800309896469, -0.3296602964401245, 0.09298831969499588, -0.21541765332221985, -0.8533152937889099, 0.9368076324462891, -0.046591416001319885, 0.4410160779953003, 0.222488135099411, 0.5884329676628113, -0.13556161522865295, 0.005637601483613253, -0.16192448139190674, -0.06195719167590141, -0.12010100483894348, -0.42630115151405334, -0.32051342725753784, -0.451765775680542, 0.21959306299686432, -0.016538918018341064, 0.6926302313804626, -0.5240370035171509, 0.1996789425611496, 0.11005789041519165, -0.22216318547725677, -0.35708117485046387, 0.3315924108028412, 0.7694900631904602, 0.7662595510482788, -0.47554317116737366, -0.19117671251296997, 0.46294501423835754, -0.7224973440170288, 0.10279767215251923, 0.3115679919719696, -0.3479408919811249, -0.09328267723321915, -0.08552789688110352, 1.04252290725708, 0.3759079575538635, -0.6534518599510193, 0.2417701929807663, -0.2694007456302643, -0.05071815103292465, -0.046506721526384354, 0.35796916484832764, 0.2120070457458496, 0.43446585536003113, 0.0983443558216095, -0.005094073712825775, 0.1329633742570877, -0.3842662274837494, -0.12888112664222717, 0.38507094979286194, -0.3644726872444153, -0.49502551555633545, 0.6294885873794556, -0.03696059063076973, -0.2609023153781891, 0.5259861946105957, 0.24673350155353546, -0.23681512475013733, 0.47972893714904785, 0.6354982256889343, 0.912289023399353, -0.6563370823860168, -0.2492614984512329, 0.31243112683296204, 0.1397295594215393, -0.2968396246433258, 0.38135474920272827, -0.09574203938245773, -1.0067692995071411, -0.4498150944709778, -0.758033037185669, -0.4175964891910553, 0.13422498106956482, -0.6705408692359924, 0.14886482059955597, -0.7286745309829712, -0.013765955343842506, 0.010174363851547241, 0.08438882231712341, -0.2735247015953064, 0.22276556491851807, 0.11655377596616745, 0.9724555611610413, -0.624401867389679, 0.9338944554328918, 0.6388529539108276, -0.29238948225975037, -0.4889760911464691, -0.07748741656541824, -0.4691779315471649, -1.0420001745224, 0.03448030725121498, 0.024478670209646225, -0.3350068926811218, 0.4311966598033905, -0.16224879026412964, -0.9249192476272583, 1.2343021631240845, 0.7068460583686829, -0.653954029083252, 0.053553029894828796, -0.17184092104434967, 0.5513178706169128, -0.14300242066383362, 0.09228715300559998, 0.5553581714630127, 0.14749515056610107, 0.06789228320121765, -0.6081088781356812, 0.21940605342388153, -0.21233324706554413, 0.22687116265296936, 0.4242289662361145, -1.0128498077392578, 0.7637874484062195, -0.23871800303459167, 0.12246439605951309, 0.25434011220932007, 0.7275689840316772, 0.088881716132164, 0.04452868923544884, 0.5594866871833801, 0.5419791340827942, 0.6197192668914795, 0.05094663053750992, 0.6801988482475281, -0.26477208733558655, 0.3589182198047638, 1.180133581161499, -0.2473147213459015, 1.037291407585144, 0.219806969165802, -0.2333836853504181, 0.3570455014705658, 0.5169602632522583, -0.11625552177429199, 0.47224441170692444, -0.023682760074734688, -0.12878663837909698, -0.18570102751255035, 0.2067176252603531, -0.3600289821624756, 0.4278581142425537, 0.4551074802875519, -0.16705600917339325, -0.31959888339042664, -0.31511229276657104, 0.14865539968013763, -0.25235968828201294, -0.5582423210144043, 0.7959682941436768, -0.02693982794880867, -0.4813414216041565, 0.8295192718505859, 0.13731783628463745, 0.5583938360214233, -0.47965922951698303, -0.0008325654780492187, -0.39386940002441406, 0.6690985560417175, -0.0028246024157851934, -0.41598960757255554, 0.14009401202201843, -0.08426358550786972, -0.22095413506031036, 0.17715074121952057, 0.5058370232582092, -0.3413752019405365, -0.4168684482574463, 0.4239029884338379, 0.33541154861450195, -0.30962425470352173, -0.21749301254749298, -0.5556334257125854, 0.005509538110345602, -0.4256378412246704, -0.5542852878570557, 0.6024104356765747, 0.5098785758018494, -0.07550239562988281, 0.5737589597702026, 0.6143556237220764, 0.16826945543289185, 0.24448876082897186, 0.10659942030906677, 0.7141317129135132, -0.5813508033752441, -0.705213189125061, -1.0594265460968018, -0.037664443254470825, 0.28946924209594727, -0.18943212926387787, 0.5271927714347839, 0.5960895419120789, 0.5877681374549866, -0.0413992702960968, 0.3968432545661926, 0.06491369754076004, 0.3301783800125122, -0.7613411545753479, 0.812265932559967, -0.6277186870574951, 0.18100017309188843, -0.053933773189783096, -0.7821112275123596, -0.500009298324585, 0.5404176115989685, -0.39607560634613037, 0.014973638579249382, 0.13775664567947388, 0.787601113319397, -0.2337275594472885, -0.05436219274997711, 0.46464917063713074, 0.7017439603805542, 0.2932622730731964, 0.558323085308075, 0.6254112124443054, -0.5667962431907654, 0.47745630145072937, -0.10425125062465668, -0.07637470215559006, -0.4753095507621765, -0.5695118308067322, -0.6477718353271484, -0.3234894275665283, -0.03793776035308838, -0.3183133602142334, 0.3800772726535797, 0.9248087406158447, 0.5492947697639465, -0.9189023971557617, -0.19895623624324799, -0.19503775238990784, 0.023855717852711678, -0.15447618067264557, -0.14621803164482117, 0.5405740737915039, -0.6925481557846069, -0.9706356525421143, 0.5233612060546875, 0.4200616478919983, -0.13495692610740662, 0.0913233831524849, -0.0341474749147892, -0.07942844927310944, 0.03040996752679348, 0.6192615628242493, 0.4086633622646332, -0.19862118363380432, -0.13871872425079346, -0.04232580587267876, 0.12024148553609848, 0.5486999750137329, 0.58685302734375, -0.544626772403717, 0.550474226474762, 0.5321833491325378, 0.8382591605186462, 0.43750739097595215, -0.011630970053374767, 0.7238283753395081, -0.2496476173400879, 0.28160378336906433, 0.056286755949258804, 0.465745210647583, 0.2669799327850342, -0.356006383895874, 0.5692136287689209, 0.13573507964611053, -0.27021047472953796, -0.8933465480804443, -0.12762723863124847, -0.8919565081596375, -0.24136540293693542, 0.9245803356170654, -0.11210382729768753, -0.25590890645980835, -0.08779662847518921, 0.00780326034873724, 0.2233065366744995, -0.33635997772216797, 0.9456132054328918, 0.37688571214675903, -0.03400806710124016, -0.13733533024787903, -0.7135579586029053, 0.27336475253105164, 0.5919997096061707, -0.6131267547607422, 0.4084494709968567, 0.30927029252052307, 0.6773876547813416, -0.03678886219859123, 0.7005035877227783, -0.06009630113840103, 0.4302339553833008, -0.07018846273422241, -0.15754176676273346, -0.3493223190307617, -0.3998861014842987, -0.5748084187507629, 0.0108247185125947, 0.3763837516307831, -0.34542834758758545 ]
http://arxiv.org/abs/2406.18616v1
http://arxiv.org/pdf/2406.18616v1
Towards Large Language Model Aided Program Refinement
2024-06-26T04:29:27
2024-06-26T04:29:27
Yufan Cai, Zhe Hou, Xiaokun Luan, David Miguel Sanan Baena, Yun Lin, Jun Sun, Jin Song Dong
cs.SE
cs.SE, cs.AI, cs.CL, K.6.3
Program refinement involves correctness-preserving transformations from formal high-level specification statements into executable programs. Traditional verification tool support for program refinement is highly interactive and lacks automation. On the other hand, the emergence of large language models (LLMs) enables automatic code generations from informal natural language specifications. However, code generated by LLMs is often unreliable. Moreover, the opaque procedure from specification to code provided by LLM is an uncontrolled black box. We propose LLM4PR, a tool that combines formal program refinement techniques with informal LLM-based methods to (1) transform the specification to preconditions and postconditions, (2) automatically build prompts based on refinement calculus, (3) interact with LLM to generate code, and finally, (4) verify that the generated code satisfies the conditions of refinement calculus, thus guaranteeing the correctness of the code. We have implemented our tool using GPT4, Coq, and Coqhammer, and evaluated it on the HumanEval and EvalPlus datasets.
[ -0.3703155815601349, -0.7125861048698425, 0.599679172039032, 0.23679372668266296, -0.13188403844833374, 0.23088470101356506, -0.5357179045677185, -0.43080538511276245, -0.3181707262992859, 0.685368001461029, -0.48756957054138184, -0.5748106241226196, -0.18132837116718292, 0.42533230781555176, -0.10585217922925949, 0.7865334749221802, -0.4637891352176666, -0.1169004961848259, -0.19262847304344177, 0.13380931317806244, -0.3555741310119629, -0.4383258819580078, -0.4189819097518921, -0.4570245146751404, 0.08438613265752792, 0.4598751366138458, 0.4285196363925934, 0.24693048000335693, 0.4411405920982361, 0.40736788511276245, 0.4082369804382324, 0.3461625874042511, -0.5973693132400513, 0.04850038141012192, -0.13787350058555603, -0.3354479968547821, -0.43926119804382324, 0.005196908488869667, 0.44298750162124634, 0.2784801423549652, -0.22234435379505157, 0.35100048780441284, 0.20185652375221252, 0.3743009865283966, -0.5070652961730957, 0.24431265890598297, -0.6734358668327332, -0.09792778640985489, -0.2315441220998764, -0.49379071593284607, -0.3790059983730316, -0.6147503852844238, -0.27059876918792725, -0.5028142929077148, 0.2344263643026352, 0.19542153179645538, 0.9998785853385925, 0.3922758400440216, -0.21353955566883087, -0.16628803312778473, -0.9030375480651855, 0.8418336510658264, -1.052289366722107, 0.3773350417613983, 0.23786601424217224, 0.4726714789867401, -0.4876340925693512, -0.8860849738121033, -0.6379112005233765, -0.5536497235298157, -0.03249043971300125, -0.2728717029094696, -0.06212204694747925, 0.27267640829086304, 0.6691173911094666, 0.5722011923789978, -0.5104086399078369, 0.08620503544807434, -0.4659067690372467, -0.463775098323822, 0.669265627861023, 0.02251509577035904, 0.2168353646993637, 0.13432861864566803, -0.12867702543735504, 0.22276926040649414, -1.1178345680236816, -0.14266405999660492, 0.4519653916358948, 0.12285475432872772, -0.07973983883857727, 0.5218297839164734, -0.19364149868488312, 0.7058307528495789, -0.025366632267832756, -0.23943082988262177, 0.29173076152801514, -0.47082462906837463, -0.2939581274986267, -0.1659095585346222, 0.6093559861183167, 0.2609543204307556, 0.29257866740226746, 0.03996643051505089, -0.5983712077140808, 0.03990865871310234, 0.2381788194179535, -0.8566869497299194, -0.35740503668785095, 0.35199910402297974, -0.2493107169866562, -0.15089616179466248, -0.06374522298574448, -0.4286406338214874, -0.09489678591489792, -0.7157973647117615, 0.2694721519947052, -0.3102363049983978, -0.15914463996887207, 0.26077699661254883, 0.25799834728240967, 0.39748746156692505, 0.5408665537834167, -0.5289419889450073, 0.16741468012332916, 0.8642200827598572, 0.49311086535453796, 0.25422435998916626, 0.002832998987287283, -0.6500117778778076, 0.16307613253593445, -0.4681106209754944, 0.4731350541114807, -0.48197856545448303, -0.1728299856185913, 0.08666900545358658, 0.07687560468912125, 0.4123624861240387, -0.47433722019195557, 0.5329307913780212, -0.5261371731758118, 0.14613157510757446, -0.1303301751613617, -0.42327913641929626, -0.1303204894065857, 0.5488053560256958, -0.4319029152393341, 1.2509536743164062, 0.2589552402496338, -0.579537034034729, 0.1377798169851303, -0.6379649639129639, -0.1882336586713791, 0.23380497097969055, -0.4456685781478882, -0.5177584886550903, -0.07583440840244293, 0.2367343306541443, 0.3217396140098572, -0.48515784740448, 0.35945555567741394, -0.39718523621559143, -0.46655941009521484, -0.06808934360742569, -0.14416399598121643, 0.598796546459198, 0.22679035365581512, -0.4548678696155548, 0.30810242891311646, -0.7501700520515442, 0.2924259305000305, -0.04155350849032402, -0.3379652202129364, -0.002500272123143077, -0.30070602893829346, -0.3563566207885742, 0.3436051905155182, 0.44711798429489136, -0.5762845873832703, 0.4436538517475128, -0.43417924642562866, 0.5680020451545715, 0.5981200933456421, 0.06178683415055275, 0.2920563220977783, -0.1873960793018341, 0.7431609034538269, -0.3860291838645935, 0.14517343044281006, -0.1907760351896286, -0.3447725474834442, -0.7754400968551636, -0.2239171415567398, 0.314302921295166, 0.4713718891143799, -0.880545437335968, 0.5640881657600403, 0.0827912762761116, -0.3153465688228607, -0.509886622428894, 0.28980696201324463, 0.35300910472869873, 0.45594340562820435, 0.2763683795928955, -0.07568269222974777, -0.8064860105514526, -0.9185865521430969, 0.21263886988162994, -0.1314990520477295, -0.16889594495296478, 0.20034433901309967, 0.3994424343109131, -0.4861333668231964, 0.7281373739242554, -0.3368842601776123, 0.11344097554683685, -0.1775299310684204, 0.3231811225414276, 0.20063957571983337, 0.4774685502052307, 0.26025810837745667, -0.31919941306114197, -0.15298117697238922, -0.09369375556707382, -0.40499821305274963, -0.7016164660453796, -0.019189784303307533, -0.1088680550456047, 0.19968388974666595, 0.893466055393219, -0.23537954688072205, 0.2814706563949585, 0.7052637338638306, -0.03691098466515541, 0.9331037402153015, -0.5067046284675598, 0.12142367660999298, -0.6838094592094421, 0.45093122124671936, -0.21151290833950043, -0.4728635847568512, -0.31555360555648804, 0.42803359031677246, 0.1634143590927124, -0.25785499811172485, -0.1484566181898117, 0.4446668326854706, -0.7017585039138794, -0.2259533405303955, -0.25039321184158325, -0.04278036579489708, 0.16419565677642822, 0.2584259510040283, -0.053185272961854935, 0.7237048745155334, 0.4779529869556427, -0.5280905961990356, 0.49496200680732727, -0.08500625193119049, -0.2844424843788147, 0.32080596685409546, -0.7223360538482666, 0.40094277262687683, -0.05895203351974487, 0.43760213255882263, -0.8864347338676453, -0.1118197962641716, 0.19047650694847107, -0.11184676736593246, 0.281074196100235, -0.354731947183609, -0.6504436731338501, -0.5293601155281067, -0.2694873809814453, 0.28992438316345215, 0.576270580291748, -0.39779186248779297, 0.582973301410675, -0.0750214084982872, -0.3253055810928345, -0.5030790567398071, -0.4450807273387909, 0.13138572871685028, 0.14237472414970398, -0.7672963738441467, 0.3595886528491974, -0.2746801972389221, -0.3460529148578644, -0.20303091406822205, 0.1299276351928711, 0.0798766016960144, -0.03561941906809807, 0.353188157081604, 0.4170125126838684, -0.2560805380344391, 0.0349886529147625, -0.13979284465312958, -0.1124950423836708, -0.05150432139635086, -0.1670583337545395, 0.5764814615249634, -0.2665281593799591, -0.5090649127960205, -0.33663269877433777, 0.07162743806838989, 0.5653526782989502, -0.777023434638977, 0.12561549246311188, 0.6510499119758606, -0.16353662312030792, -0.5667601823806763, -0.7433491945266724, -0.28035375475883484, -0.5432899594306946, 0.1707850694656372, -0.44183844327926636, -1.041879415512085, 0.4047968089580536, -0.3418585956096649, 0.4720531105995178, 0.10029511898756027, 0.7467082142829895, 0.46298685669898987, 0.8790586590766907, 0.7079041600227356, 0.17826564610004425, 0.21605020761489868, -0.156284898519516, 0.32527515292167664, -0.6411678194999695, -0.13580629229545593, -0.70795077085495, -0.2386624664068222, -0.32591164112091064, -0.6407008767127991, 0.01961635611951351, 0.08789282292127609, -0.3678777813911438, 0.17911387979984283, -0.44581034779548645, 0.5925405621528625, 0.3262917697429657, -0.17337042093276978, 0.21615535020828247, -0.16838593780994415, -0.3663158416748047, 0.044675521552562714, -0.33482125401496887, -0.7465006709098816, 1.0276631116867065, 0.5943139791488647, 0.6855317950248718, 0.030327124521136284, 0.9608295559883118, -0.005495130550116301, 0.7133044004440308, -0.6102709770202637, 0.6754204034805298, 0.1954445093870163, -0.3598158657550812, -0.23802143335342407, -0.5524528622627258, -0.5886399745941162, -0.12819957733154297, -0.1173308864235878, -0.49954065680503845, -0.00342688150703907, 0.41278836131095886, -0.4981725215911865, -0.022317714989185333, -0.5867311954498291, 0.730372965335846, -0.14541316032409668, -0.467388778924942, -0.2231772243976593, -0.3448128402233124, 0.6473038196563721, -0.31371670961380005, 0.27720046043395996, -0.30631330609321594, -0.009844208136200905, 0.27575650811195374, -0.7228986620903015, 0.6221268177032471, -0.265263170003891, -0.5825705528259277, 0.2843272089958191, 0.4501417279243469, 0.8343328237533569, 0.057661738246679306, -0.228463277220726, -0.10058917105197906, -0.04214487597346306, -0.21227876842021942, -0.6249622702598572, 0.720242977142334, -0.5327746868133545, -0.6571153402328491, -0.026753196492791176, -0.3418811857700348, -0.24946682155132294, 0.31369832158088684, -0.014183061197400093, 0.4481784403324127, -0.014199255965650082, -0.08386799693107605, 0.5183494687080383, -0.36652475595474243, 0.19006477296352386, 0.6805461645126343, -0.5246931314468384, -0.14809569716453552, 0.45672670006752014, -0.22552408277988434, 0.09434466063976288, 0.18229272961616516, 0.23126909136772156, -0.30465754866600037, -0.7568973302841187, -0.19737043976783752, 0.23247919976711273, -0.5819825530052185, -0.3526100814342499, 0.01351225096732378, -0.13130798935890198, -0.40237027406692505, -0.2120891958475113, -0.24467132985591888, -0.16226117312908173, 0.07472223043441772, -0.06233133003115654, 0.20457275211811066, 0.7210814952850342, 0.00026714333216659725, -0.05496344715356827, -0.9182584881782532, 0.3426673412322998, 0.20510074496269226, 0.43515098094940186, -0.24123787879943848, -0.5539588928222656, -0.021258564665913582, -0.03729519993066788, -0.28218260407447815, -0.525096595287323, 0.2322862595319748, 0.13761620223522186, 0.43820035457611084, 0.3780777156352997, 0.1678185909986496, 0.5318388938903809, -0.773386538028717, 0.7237672209739685, 0.09247234463691711, -0.8653416037559509, 0.36238354444503784, -0.24714753031730652, 0.3522007167339325, 0.544814944267273, 0.2178894728422165, -0.461850106716156, -0.6302890777587891, -0.5146999955177307, -0.6131747961044312, 0.4180701673030853, 0.022932952269911766, -0.016068974509835243, 0.18319071829319, 0.5528612732887268, 0.07900190353393555, 0.13121040165424347, -0.6014977693557739, 0.25388190150260925, -0.08667250722646713, -0.23055791854858398, -0.04003477469086647, -0.28360792994499207, -0.2743998169898987, -0.12946538627147675, 0.7443402409553528, -0.132309690117836, 0.019563447684049606, 0.029469281435012817, 0.12241511791944504, -0.237521693110466, 0.39761045575141907, 0.6027606725692749, 0.900733232498169, -0.2068823277950287, 0.323250412940979, -0.0399535670876503, -0.15089932084083557, 0.24032752215862274, 0.15543268620967865, -0.2019633799791336, -0.11633586138486862, 0.26607730984687805, 0.43126845359802246, 0.20411178469657898, -0.6969122886657715, 0.4793851375579834, -0.0897635966539383, -0.31076574325561523, -0.35036948323249817, 0.09199949353933334, -0.014460532926023006, 0.2735157012939453, 0.01297751534730196, -0.14283625781536102, -0.024332184344530106, -0.49125298857688904, 0.3893348276615143, 0.26886945962905884, 0.08390370011329651, -0.34026584029197693, 0.39485064148902893, 0.5308349132537842, -0.1989191621541977, 0.724616527557373, -0.4745549261569977, -0.4427134394645691, 0.23075450956821442, 0.5835000872612, 0.8095588088035583, -0.3377775549888611, 0.049460336565971375, 0.5767760872840881, 0.38521212339401245, -0.1353004276752472, 0.5365995764732361, 0.059939268976449966, -0.6349303126335144, -0.9084039330482483, -0.7041240334510803, -0.30275312066078186, 0.4886554181575775, -0.11252199113368988, 0.5142896771430969, -0.814791738986969, -0.09062600135803223, -0.1255519539117813, -0.032641153782606125, -0.590027928352356, -0.041290171444416046, 0.25161242485046387, 0.8734523057937622, -0.6393172144889832, 0.861216127872467, 0.621044933795929, -0.24553857743740082, -1.1331175565719604, -0.026181815192103386, 0.02515868842601776, -0.7645511627197266, 0.8070133924484253, 0.17346905171871185, -0.23525771498680115, -0.014805419370532036, -0.8117438554763794, -0.7445033192634583, 0.8722227811813354, 0.5338769555091858, -0.9893717765808105, -0.09934188425540924, 0.13591843843460083, 0.48757609724998474, -0.1331494301557541, 0.17078323662281036, 0.45381417870521545, 0.6046959161758423, 0.25393158197402954, -1.1582180261611938, 0.2647433876991272, -0.21314717829227448, 0.020672064274549484, 0.35066255927085876, -0.21675816178321838, 0.6684232950210571, -0.28453052043914795, -0.20613442361354828, 0.07094226032495499, 0.5352325439453125, 0.44609758257865906, -0.06530968844890594, 0.2558700144290924, 0.5864875912666321, 0.8427582383155823, -0.09203165024518967, 0.8995335102081299, -0.6297100782394409, 0.13364872336387634, 1.0674903392791748, -0.555609941482544, 0.8150781393051147, 0.3021697402000427, -0.20695394277572632, 0.5562264919281006, 0.4002046287059784, -0.17732176184654236, 0.014052324928343296, 0.7070701718330383, -0.3401452898979187, -0.18959426879882812, 0.21310298144817352, -0.32140862941741943, 0.32318753004074097, 0.3472532629966736, -0.24360845983028412, -0.3974253237247467, -0.2586226165294647, 0.0062331887893378735, 0.023296739906072617, -0.4364515542984009, 0.44281888008117676, 0.13473984599113464, -0.8492124080657959, 0.9012646675109863, 0.5670397281646729, 0.5495602488517761, -0.6910955309867859, -0.28601551055908203, -0.019960764795541763, 0.3558460474014282, -0.40517380833625793, -0.5545300245285034, 0.31721243262290955, 0.015281799249351025, 0.18086843192577362, -0.22135122120380402, 0.8629273176193237, -0.5519992709159851, -0.24931064248085022, -0.04686910659074783, 0.2680031955242157, 0.10807288438081741, -0.038901519030332565, -0.8508039712905884, 0.2655103802680969, 0.1379050463438034, -0.017828717827796936, -0.044050224125385284, 0.6140298247337341, -0.09074819833040237, 0.6843400001525879, 0.7584952712059021, 0.18473409116268158, 0.03722379356622696, 0.29928794503211975, 0.752695620059967, -0.30187132954597473, -0.5024664998054504, -0.7994942665100098, 0.3148592412471771, 0.03271298110485077, 0.05171457678079605, 0.8695068955421448, 0.5516406297683716, 0.6877603530883789, -0.07747621834278107, 0.7003098130226135, 0.12546411156654358, 0.4153293967247009, -0.705801248550415, 0.3622523546218872, -0.17651978135108948, 0.4929741621017456, -0.1973191797733307, -1.0717509984970093, -0.39104989171028137, 0.5011299252510071, -0.5732969641685486, 0.11011160165071487, 0.4707193076610565, 1.2101536989212036, -0.04951705411076546, -0.2925357520580292, 0.15510809421539307, 0.17466481029987335, 0.519781768321991, 0.5394907593727112, 0.7808637619018555, 0.10717079788446426, 0.46911725401878357, -0.0898372158408165, -0.4922708570957184, -0.3333394527435303, -1.2358222007751465, -0.7151027321815491, -0.22478388249874115, -0.5545721650123596, -0.4364031255245209, -0.10268029570579529, 1.1086958646774292, 0.699599027633667, -0.6597309708595276, -0.3110271692276001, -0.1971150040626526, -0.2243630588054657, 0.049771517515182495, -0.1935243457555771, 0.21818597614765167, -0.41454267501831055, -0.4496547281742096, 0.4041554629802704, 0.3957226872444153, 0.09130106121301651, -0.648893415927887, -0.35658591985702515, 0.21702785789966583, 0.19316640496253967, 0.4977256953716278, 0.533683180809021, -0.59532630443573, -0.31358572840690613, -0.3671201765537262, -0.08007931709289551, 0.024779602885246277, 1.0765771865844727, -0.6388891935348511, 0.34872791171073914, 0.5007611513137817, 0.5145995020866394, 0.2658168077468872, 0.0230607520788908, 0.912072479724884, -1.0613707304000854, 0.10137749463319778, 0.35793957114219666, 0.5606986880302429, 0.4075687527656555, -0.18542341887950897, 0.33689793944358826, -0.06808069348335266, -0.7108877301216125, -0.7778396010398865, 0.4552793502807617, -0.5863043069839478, -0.17388977110385895, 1.2791115045547485, -0.2458309680223465, -0.23200130462646484, -0.35930848121643066, -0.5333549380302429, 0.04318336397409439, -0.29886239767074585, 0.6941972374916077, 0.6571168899536133, -0.0641380250453949, -0.42995113134384155, -0.4477827250957489, 0.8466128706932068, -0.06189468502998352, -0.9317932724952698, 0.43251311779022217, 0.7326251268386841, 0.44712987542152405, 0.2292073518037796, 0.6677266955375671, -0.41610363125801086, 0.1855512410402298, -0.24293659627437592, 0.5582942962646484, -0.4951914846897125, -0.09721405059099197, -0.24579696357250214, 0.03568749129772186, 0.4730550944805145, 0.3234964609146118 ]
http://arxiv.org/abs/2406.18049v1
http://arxiv.org/pdf/2406.18049v1
Improving Entity Recognition Using Ensembles of Deep Learning and Fine-tuned Large Language Models: A Case Study on Adverse Event Extraction from Multiple Sources
2024-06-26T03:56:21
2024-06-26T03:56:21
Yiming Li, Deepthi Viswaroopan, William He, Jianfu Li, Xu Zuo, Hua Xu, Cui Tao
cs.CL
cs.CL, cs.AI
Adverse event (AE) extraction following COVID-19 vaccines from text data is crucial for monitoring and analyzing the safety profiles of immunizations. Traditional deep learning models are adept at learning intricate feature representations and dependencies in sequential data, but often require extensive labeled data. In contrast, large language models (LLMs) excel in understanding contextual information, but exhibit unstable performance on named entity recognition tasks, possibly due to their broad but unspecific training. This study aims to evaluate the effectiveness of LLMs and traditional deep learning models in AE extraction, and to assess the impact of ensembling these models on performance. In this study, we utilized reports and posts from the VAERS (n=621), Twitter (n=9,133), and Reddit (n=131) as our corpora. Our goal was to extract three types of entities: "vaccine", "shot", and "ae". We explored and fine-tuned (except GPT-4) multiple LLMs, including GPT-2, GPT-3.5, GPT-4, and Llama-2, as well as traditional deep learning models like RNN and BioBERT. To enhance performance, we created ensembles of the three models with the best performance. For evaluation, we used strict and relaxed F1 scores to evaluate the performance for each entity type, and micro-average F1 was used to assess the overall performance. The ensemble model achieved the highest performance in "vaccine", "shot", and "ae" with strict F1-scores of 0.878, 0.930, and 0.925, respectively, along with a micro-average score of 0.903. In conclusion, this study demonstrates the effectiveness and robustness of ensembling fine-tuned traditional deep learning models and LLMs, for extracting AE-related information. This study contributes to the advancement of biomedical natural language processing, providing valuable insights into improving AE extraction from text data for pharmacovigilance and public health surveillance.
[ -0.13227830827236176, -0.835396945476532, 0.48438405990600586, -0.08105798810720444, -0.25839510560035706, 0.26955196261405945, -0.39309945702552795, -0.9975059628486633, 0.2449657917022705, 0.38961902260780334, 0.04812037572264671, -0.6075087785720825, -0.7948066592216492, 0.3420262634754181, -0.5022261738777161, 1.148037314414978, -0.12531736493110657, 0.02428988367319107, -0.04525841027498245, -0.015012683346867561, -0.3275497853755951, -0.506672203540802, -0.9635019302368164, -0.31503820419311523, 0.48150745034217834, 0.2818826138973236, 0.04223020747303963, 0.4355660378932953, 0.9031564593315125, 0.2905956208705902, -0.01576884835958481, 0.30276399850845337, -0.3229464888572693, 0.30804264545440674, -0.34516698122024536, -0.12908969819545746, -0.3745018243789673, -0.12798066437244415, 0.563228964805603, 0.25139281153678894, -0.2087918370962143, 0.03961475193500519, 0.16308395564556122, 0.29874947667121887, -0.7111755013465881, -0.04053133353590965, -0.7458370327949524, 0.07847791165113449, -0.21635574102401733, -0.18624970316886902, -0.35012391209602356, -0.06675051152706146, 0.5703961849212646, -0.6667469143867493, 0.14739598333835602, -0.08020713180303574, 1.0779234170913696, 0.056368108838796616, -0.26951298117637634, -0.3187001347541809, -0.7060157656669617, 0.6161782741546631, -0.6403297781944275, 0.28410130739212036, 0.1599148064851761, 0.0174904465675354, -0.09283078461885452, -0.8561068177223206, -0.3404744267463684, 0.04079874977469444, 0.20316550135612488, 0.21089808642864227, -0.5587127208709717, 0.16907256841659546, 0.0014942355919629335, 0.2576204836368561, -0.37335941195487976, 0.7286301255226135, -0.4546315371990204, -0.37432044744491577, 0.7294197082519531, 0.16729310154914856, 0.39220714569091797, -0.13685910403728485, -0.3005906939506531, 0.01890173926949501, -0.782109797000885, 0.14362388849258423, -0.029694072902202606, 0.2558218538761139, -0.1548091322183609, 0.4107445478439331, -0.13613297045230865, 0.4451305568218231, 0.28248709440231323, -0.11388678848743439, 0.26373812556266785, -0.265014111995697, -0.533687949180603, 0.25775009393692017, 0.9555487036705017, 0.14289380609989166, 0.1423877328634262, -0.18933603167533875, -0.1431749016046524, -0.1616213470697403, 0.289671927690506, -1.0857616662979126, -0.31478574872016907, 0.2556069791316986, -0.5697309374809265, -0.3990316092967987, -0.04744379594922066, -1.1406943798065186, -0.6988663077354431, -0.32710644602775574, 0.3079817593097687, -0.6277658343315125, -0.1728946566581726, 0.05700454115867615, -0.14030693471431732, 0.018332013860344887, 0.5612923502922058, -0.7231463193893433, 0.2740158140659332, 0.7300350666046143, 0.7165287137031555, -0.4393257200717926, 0.06235962733626366, -0.6872347593307495, 0.06736984848976135, -0.2400856763124466, 0.9286150336265564, -0.7107710242271423, -0.190160870552063, 0.055408600717782974, -0.05208330228924751, -0.24126173555850983, -0.823025107383728, 0.7133083939552307, -0.4964402914047241, -0.0675962045788765, 0.07479694485664368, -0.7346768975257874, -0.17504051327705383, 0.17073380947113037, -0.561795175075531, 0.3447740375995636, -0.5370482802391052, -0.5811097621917725, 0.6048055291175842, -0.33700013160705566, -0.6665307283401489, 0.16217567026615143, -0.5083824992179871, -0.6757221817970276, 0.24957090616226196, 0.5068450570106506, 0.7711575031280518, -0.37008529901504517, 0.3777219355106354, -0.4790983200073242, -0.15560655295848846, 0.09790976345539093, -0.5363773703575134, 0.44671931862831116, 0.07603326439857483, -0.1782393902540207, 0.03601060435175896, -1.0121265649795532, -0.3096821904182434, 0.1683240681886673, -0.6281622648239136, -0.3953913748264313, -0.03205203264951706, -0.019374622032046318, 0.11419707536697388, -0.11803199350833893, -0.41800856590270996, 0.17486383020877838, -0.6550820469856262, 0.465406596660614, 0.5655507445335388, 0.4983125925064087, 0.48155537247657776, 0.06935450434684753, 0.37411579489707947, 0.23117060959339142, -0.15783078968524933, -0.04623406380414963, -0.43814247846603394, -0.5345022678375244, -0.3971618413925171, 0.39635205268859863, 0.5699747800827026, -0.6601393818855286, 0.3408278226852417, -0.20458471775054932, -0.41335663199424744, -0.6128660440444946, 0.04672027379274368, 0.2607359290122986, 0.5392408967018127, 0.4616427421569824, -0.23759578168392181, -0.7103293538093567, -0.7768057584762573, -0.4355224072933197, -0.18385225534439087, -0.1009344831109047, 0.23668673634529114, 0.6327401399612427, -0.4191989302635193, 0.46391066908836365, -0.392688512802124, -0.15573762357234955, -0.0558273009955883, 0.2494163066148758, 0.03742796927690506, 0.4477424919605255, 0.3143412470817566, -0.5456081628799438, -0.08261324465274811, 0.345738023519516, -0.7226488590240479, 0.15680423378944397, -0.08558180928230286, 0.14422594010829926, 0.18160034716129303, 0.3946537971496582, -0.6897095441818237, 0.5274350047111511, 0.2418089658021927, -0.0961679071187973, 0.431833416223526, -0.04705900698900223, 0.12676198780536652, -1.1318477392196655, 0.11536798626184464, 0.4514380991458893, -0.03149008750915527, -0.7018360495567322, -0.06361373513936996, 0.11472773551940918, -0.036398280411958694, -0.5582049489021301, 0.4843231439590454, -0.349378377199173, 0.28392988443374634, 0.008215107023715973, -0.1840364634990692, 0.2879485487937927, 0.12923312187194824, 0.03475015237927437, 0.4251081645488739, 0.6210519671440125, -0.7622985243797302, 0.1667006015777588, 0.02246243506669998, -0.4940842092037201, 0.25232258439064026, -0.4920119047164917, 0.01492052711546421, -0.28681373596191406, 0.1761816293001175, -0.47449591755867004, -0.6561719179153442, 0.4153313934803009, -0.2267765998840332, 0.7597246766090393, -0.028636056929826736, -0.19449789822101593, -0.27563267946243286, -0.1378171294927597, 0.2788093090057373, 0.15796199440956116, -0.4318237602710724, 0.5818921327590942, 0.7317971587181091, -0.22681200504302979, -0.5577992796897888, -0.6851653456687927, 0.15384502708911896, -0.5460861921310425, -0.23733501136302948, 0.5719167590141296, 0.3875063955783844, -0.25059622526168823, -0.05201280862092972, -0.1410258710384369, -0.26236459612846375, 0.14595486223697662, 0.15344353020191193, 0.25149276852607727, -0.280854731798172, 0.6303643584251404, 0.1635417938232422, 0.1424597203731537, -0.10764367133378983, -0.05583367124199867, 0.31003516912460327, -0.1683470457792282, -0.10490871220827103, -0.70488041639328, 0.4080093801021576, 0.5318464636802673, -0.5151986479759216, 0.779961109161377, 0.6862388253211975, -1.0147711038589478, 0.16289351880550385, -0.6245272755622864, -0.20543105900287628, -0.3319348394870758, 0.5383926630020142, -0.06616471707820892, -0.8493930101394653, 0.5331815481185913, -0.15586774051189423, -0.06928729265928268, 0.8287400007247925, 0.5114437937736511, -0.08839051425457001, 0.7374905347824097, 0.46137192845344543, -0.37287771701812744, 0.4992354214191437, -0.06786347925662994, 0.24606461822986603, -0.7301642298698425, -0.42461904883384705, -0.5072365403175354, 0.00582887465134263, -0.5567218661308289, -0.19896584749221802, 0.356186181306839, 0.19561026990413666, -0.22409266233444214, 0.06707742065191269, -0.46276041865348816, 0.1797427535057068, 0.30141931772232056, 0.33953624963760376, 0.20247724652290344, 0.21087215840816498, 0.08761651813983917, 0.15578913688659668, -0.641238272190094, -0.48484623432159424, 1.1277307271957397, 0.657916247844696, 0.7168639302253723, 0.14067138731479645, 0.9272915720939636, -0.03988474979996681, 0.17422184348106384, -0.6679542660713196, 0.23221446573734283, -0.4279313385486603, -0.38209694623947144, -0.16373243927955627, -0.37944260239601135, -1.2299247980117798, 0.042640089988708496, -0.6773877143859863, -1.0851259231567383, 0.6273949146270752, -0.06504940241575241, -1.029085397720337, 0.09807001054286957, -0.8442680239677429, 0.6869423389434814, -0.1781201809644699, -0.25609180331230164, -0.27225643396377563, -0.37849655747413635, 0.35480672121047974, -0.24682627618312836, 0.039197251200675964, -0.03538588434457779, -0.02892056480050087, 0.7947719693183899, -0.10086851567029953, 0.8141737580299377, 0.32746365666389465, -0.020955407992005348, 0.4110758602619171, -0.2863466739654541, 0.5349863171577454, 0.4722537100315094, -0.2100490778684616, 0.3953474760055542, -0.177880197763443, 0.03383409604430199, -0.21352222561836243, 0.7719617486000061, -0.7505723834037781, -0.5670832395553589, -0.343099981546402, -0.08869196474552155, 0.15731872618198395, 0.2871551215648651, 0.5242145657539368, 0.5515590310096741, -0.3677745759487152, 0.28130781650543213, 0.7250028848648071, -0.6304357051849365, 0.5286805033683777, 0.45677968859672546, 0.1766996830701828, -0.4500969350337982, 0.8762258291244507, 0.3437849283218384, -0.17933619022369385, 0.5794661641120911, 0.05924512445926666, -0.0673690214753151, -0.7439717054367065, -0.39308708906173706, -0.08994743973016739, -0.5380393266677856, -0.6076193451881409, -1.0642390251159668, -0.3750639855861664, -0.7427800893783569, 0.2931407392024994, -0.3278692066669464, -0.11396460235118866, -0.7363285422325134, -0.2759111225605011, 0.25038930773735046, 0.6839576959609985, 0.0726882740855217, -0.09756128489971161, -0.9253683686256409, 0.2553120255470276, 0.1366085708141327, 0.44950416684150696, -0.02038087509572506, -0.21710443496704102, -0.2612904906272888, -0.1676696538925171, -0.3709070384502411, -1.0312312841415405, 0.3985433578491211, 0.43602627515792847, 0.5562270879745483, 0.6979798674583435, -0.1588137149810791, 0.7839464545249939, -0.5399771332740784, 0.514786422252655, 0.2804124355316162, -0.6754615902900696, 0.7159406542778015, -0.20329801738262177, 0.04120979830622673, 0.646033525466919, 0.21828056871891022, -0.2956227660179138, -0.2866813838481903, -0.5409073233604431, -1.0363407135009766, 0.5126900672912598, 0.241873100399971, -0.22827818989753723, -0.2548731863498688, 0.41962727904319763, 0.08339754492044449, 0.06337407976388931, -0.481118768453598, -0.04044976830482483, 0.3933650255203247, -0.20680870115756989, -0.1108580008149147, -0.23292729258537292, -0.08452528715133667, -0.29354649782180786, 0.6945041418075562, 0.23953509330749512, 0.26843348145484924, 0.4266696870326996, -0.1323683261871338, -0.14651775360107422, 0.3241334855556488, 0.5092544555664062, 0.2953079640865326, -0.031331922858953476, 0.14334991574287415, 0.18860946595668793, -0.6000097393989563, -0.08001479506492615, 0.5617287158966064, 0.09009517729282379, -0.09022216498851776, 0.6880481839179993, 0.7130217552185059, 0.03661337494850159, -0.8342036008834839, 0.2721485197544098, -0.14937995374202728, 0.17480014264583588, -0.1504126638174057, 0.040277380496263504, -0.22760172188282013, 0.45025238394737244, 0.3338541090488434, 0.3406532108783722, 0.6092872023582458, -0.39344730973243713, 0.38522791862487793, 0.28811660408973694, -0.21594804525375366, -0.18635132908821106, 0.34623953700065613, 0.2734145224094391, -0.1816762238740921, 0.5511373281478882, 0.07031642645597458, -0.15640459954738617, 0.8562735319137573, 0.4711550176143646, 0.7753708958625793, -0.42345085740089417, 0.14619840681552887, 0.41970914602279663, 0.27722206711769104, -0.12780874967575073, -0.1648147851228714, 0.42180243134498596, -0.7814545631408691, -0.38563230633735657, -0.5367044806480408, -0.08839692175388336, 0.5506056547164917, -0.6396827101707458, 0.32227054238319397, -0.26891028881073, -0.29888245463371277, 0.5029922723770142, -0.03706624358892441, -1.045737862586975, 0.23129580914974213, 0.3654599189758301, 0.7220139503479004, -0.8152700662612915, 0.5816924571990967, 0.8746817111968994, -0.483494371175766, -0.7351600527763367, 0.1260967254638672, -0.0407087467610836, -0.6500009298324585, 0.25760796666145325, 0.4491168260574341, 0.4298084080219269, -0.30608299374580383, -0.1432172656059265, -0.8600305318832397, 0.9525648355484009, 0.32082241773605347, -1.024238109588623, -0.024353090673685074, 0.009348525665700436, 0.7569693326950073, -0.44874343276023865, 0.04831184074282646, 0.7033705115318298, 0.07671581208705902, -0.25542059540748596, -0.8240845203399658, 0.05422843247652054, -0.22666993737220764, -0.30446118116378784, 0.1896481066942215, -0.25713911652565, 0.5938170552253723, -0.20550434291362762, -0.3399001359939575, -0.159558966755867, 0.5470523238182068, 0.36275559663772583, 0.7099379897117615, 0.039104145020246506, 0.5928341150283813, 1.1693193912506104, 0.09315251559019089, 1.0994795560836792, 0.024420104920864105, 0.2871321141719818, 1.061510682106018, -0.19850149750709534, 1.0224517583847046, 0.557135820388794, 0.09604325890541077, 0.3187640905380249, 0.7879635691642761, 0.09776230156421661, 0.5610800385475159, 0.029504554346203804, -0.2852542996406555, -0.24024128913879395, -0.15342438220977783, -0.3639568090438843, 0.5937141180038452, 0.7650654315948486, -0.781388521194458, -0.12249332666397095, 0.30433520674705505, -0.09406816214323044, -0.257134348154068, -0.5099742412567139, 1.0360933542251587, 0.3017871379852295, -0.6879451274871826, 0.22915272414684296, 0.017672430723905563, 0.46183744072914124, 0.0064989724196493626, -0.23175565898418427, 0.16936880350112915, 0.27961334586143494, -0.2058505266904831, -0.6040996313095093, 0.15385004878044128, 0.14046724140644073, -0.09386351704597473, 0.3572896122932434, 1.2102607488632202, -0.4542114734649658, -0.7421607375144958, 0.28173673152923584, 0.40139591693878174, 0.05923071876168251, -0.09600524604320526, -0.7429084777832031, 0.1547202616930008, -0.20202873647212982, -0.3281658887863159, 0.2360660582780838, 0.49093225598335266, -0.03589118272066116, 0.34756436944007874, 0.37537890672683716, 0.18611623346805573, -0.1757824718952179, 0.12446770071983337, 0.7667388319969177, -0.33462122082710266, -0.2075871229171753, -1.2137988805770874, 0.48566535115242004, -0.4421064555644989, -0.38582009077072144, 0.3655374050140381, 0.5708032846450806, 0.6277685761451721, 0.0076802573166787624, 0.7306181788444519, 0.22663608193397522, 0.35798755288124084, -0.5773608088493347, 0.7125363349914551, -0.41782334446907043, 0.38058629631996155, -0.2467917799949646, -0.40309712290763855, -0.5499282479286194, 0.41458699107170105, -0.4690365493297577, -0.17408108711242676, 0.4099646210670471, 0.39883819222450256, 0.0992588996887207, -0.0938696637749672, 0.05508614331483841, 0.30007505416870117, 0.5819069743156433, 0.5887337923049927, 0.618254542350769, -0.4885392487049103, 0.2829451262950897, -0.1959676742553711, -0.09232067316770554, -0.4506545662879944, -0.7456161379814148, -0.8332868814468384, -0.37227576971054077, -0.5242198705673218, -0.3039831519126892, 0.37876981496810913, 1.1239101886749268, 0.549624502658844, -1.02006995677948, 0.5399620532989502, -0.12624643743038177, 0.0888567790389061, -0.10395865887403488, -0.2416330873966217, 0.5197437405586243, -0.2661924660205841, -0.5552451014518738, 0.38109973073005676, 0.49924278259277344, 0.13172921538352966, 0.30343008041381836, 0.1689371019601822, -0.20157310366630554, -0.08149018883705139, 0.7698383331298828, 0.23676711320877075, -0.7508434057235718, -0.4046741724014282, -0.16258211433887482, -0.29987698793411255, -0.040676549077034, 0.46722549200057983, -0.6317570209503174, 0.43141284584999084, 0.3141564130783081, 1.0498253107070923, 0.27199259400367737, -0.2065587192773819, 0.6537550687789917, -0.512362539768219, -0.13020271062850952, 0.4456694722175598, 0.5492985248565674, 0.18952439725399017, -0.6698716282844543, 0.3527541160583496, 0.07339026778936386, -0.5210992693901062, -0.7139661908149719, 0.008585238829255104, -0.8231931924819946, -0.2775315046310425, 1.2761962413787842, -0.045203231275081635, -0.018048275262117386, -0.15378884971141815, -0.08182577788829803, 0.5797934532165527, -0.6639257073402405, 0.9214844703674316, 0.5822790861129761, -0.22041699290275574, -0.1933223009109497, -0.5935961008071899, 0.5117743015289307, 0.15565387904644012, -0.9506535530090332, -0.3766345977783203, 0.22029127180576324, 0.22064274549484253, 0.10110080987215042, 0.4961353838443756, -0.09306905418634415, 0.27395495772361755, -0.31490665674209595, 0.09808805584907532, 0.2545083165168762, -0.45367002487182617, -0.7778612971305847, 0.28618815541267395, -0.22702327370643616, -0.2975601851940155 ]
http://arxiv.org/abs/2406.18045v2
http://arxiv.org/pdf/2406.18045v2
PharmaGPT: Domain-Specific Large Language Models for Bio-Pharmaceutical and Chemistry
2024-06-26T03:43:09
2024-07-03T12:56:40
Linqing Chen, Weilei Wang, Zilong Bai, Peng Xu, Yan Fang, Jie Fang, Wentao Wu, Lizhi Zhou, Ruiji Zhang, Yubin Xia, Chaobo Xu, Ran Hu, Licong Xu, Qijun Cai, Haoran Hua, Jing Sun, Jin Liu, Tian Qiu, Haowen Liu, Meng Hu, Xiuwen Li, Fei Gao, Yufu Wang, Lin Tie, Chaochao Wang, Jianping Lu, Cheng Sun, Yixin Wang, Shengjie Yang, Yuancheng Li, Lu Jin, Lisha Zhang, Fu Bian, Zhongkai Ye, Lidong Pei, Changyang Tu
cs.CL
cs.CL, cs.AI
Large language models (LLMs) have revolutionized Natural Language Processing (NLP) by by minimizing the need for complex feature engineering. However, the application of LLMs in specialized domains like biopharmaceuticals and chemistry remains largely unexplored. These fields are characterized by intricate terminologies, specialized knowledge, and a high demand for precision areas where general purpose LLMs often fall short. In this study, we introduce PharmGPT, a suite of multilingual LLMs with 13 billion and 70 billion parameters, specifically trained on a comprehensive corpus of hundreds of billions of tokens tailored to the Bio-Pharmaceutical and Chemical sectors. Our evaluation shows that PharmGPT matches or surpasses existing general models on key benchmarks, such as NAPLEX, demonstrating its exceptional capability in domain-specific tasks. This advancement establishes a new benchmark for LLMs in the Bio-Pharmaceutical and Chemical fields, addressing the existing gap in specialized language modeling. Furthermore, this suggests a promising path for enhanced research and development in these specialized areas, paving the way for more precise and effective applications of NLP in specialized domains.
[ -0.05480532720685005, -0.7164077162742615, 0.7693873643875122, 0.04298710823059082, -0.14556975662708282, 0.41042450070381165, -0.3695979714393616, -0.34628960490226746, 0.16065561771392822, 0.5941883325576782, -0.31916460394859314, -0.7409566640853882, -0.7161723971366882, 0.1534617841243744, -0.021502459421753883, 1.05184805393219, 0.008338293060660362, 0.27306121587753296, 0.059428103268146515, -0.08237102627754211, -0.19949056208133698, -0.982376754283905, -0.3657363951206207, -0.7232450842857361, 0.5341526865959167, -0.01804937981069088, 0.4714556932449341, 0.2615552246570587, 0.6752793192863464, 0.17822468280792236, -0.0660436674952507, 0.09559889882802963, -0.18779298663139343, 0.21708500385284424, -0.5628935694694519, -0.0054276734590530396, -0.8434306979179382, -0.12114819884300232, 0.5552199482917786, 1.0323249101638794, -0.2927512526512146, 0.05102932080626488, -0.06488842517137527, 0.40347084403038025, -0.49566739797592163, 0.31377971172332764, -0.6396520137786865, -0.09062093496322632, -0.13472197949886322, 0.20661377906799316, -0.2828541100025177, 0.051031459122896194, 0.39621293544769287, -0.49073725938796997, 0.11083205044269562, 0.03827720880508423, 0.8833910226821899, 0.06297317892313004, -0.47434452176094055, 0.08291725069284439, -0.5866187810897827, 0.7945372462272644, -0.9110473990440369, 0.43587052822113037, 0.08133712410926819, 0.2622547447681427, -0.5691938996315002, -1.1253399848937988, -0.32642295956611633, -0.316912978887558, 0.11475247889757156, -0.12729603052139282, 0.09345420449972153, 0.2461661398410797, -0.10106955468654633, 0.4350157678127289, -0.9036250710487366, 0.09101950377225876, -0.1653936505317688, -0.16064319014549255, 0.23035241663455963, 0.10469144582748413, 0.3933074474334717, -0.02526594139635563, -0.4763524830341339, 0.1567491739988327, -0.6687976717948914, -0.4596443772315979, -0.2304646521806717, 0.4470183551311493, 0.2166430503129959, 0.6873685121536255, -0.10879142582416534, 0.8460272550582886, -0.31168487668037415, -0.10994134843349457, 0.170606330037117, -0.30795711278915405, -0.4488566815853119, 0.04689076542854309, 0.8788190484046936, -0.07202696055173874, 0.39242690801620483, -0.08493548631668091, 0.07546675950288773, -0.14517803490161896, 0.15397879481315613, -0.91995769739151, -0.44926363229751587, 0.6108148097991943, -0.1462099403142929, 0.08575791865587234, -0.2969930171966553, -0.8720023036003113, -0.4816809892654419, -0.2619185745716095, 0.23650479316711426, -0.6442078948020935, -0.18042968213558197, 0.5956672430038452, -0.09005414694547653, 0.2847953736782074, -0.04733925685286522, -1.2451432943344116, 0.39059707522392273, 0.9733036756515503, 0.9044132828712463, -0.7166526317596436, -0.474493145942688, -0.31992489099502563, 0.3731327950954437, -0.04285994917154312, 1.113061547279358, -0.789860188961029, -0.4466467499732971, -0.06806075572967529, 0.015712158754467964, -0.1877182126045227, -0.7812951803207397, 0.5103291273117065, -0.2692281901836395, -0.05811905488371849, -0.015788083896040916, -0.7564477324485779, -0.07200513035058975, 0.30518805980682373, -0.24419523775577545, 0.6199420094490051, 0.22113296389579773, -0.3132859170436859, 0.44596946239471436, -0.5600422024726868, -0.43168404698371887, 0.556510329246521, -0.19864782691001892, -0.47675660252571106, 0.055696163326501846, 0.1525648981332779, 0.48848944902420044, -0.3928493857383728, 0.4532315731048584, -0.23172782361507416, -0.1354711651802063, 0.2809879183769226, -0.037279948592185974, 0.4464876651763916, -0.03854818269610405, -0.0874137207865715, 0.3438575565814972, -0.8158612251281738, 0.2295713573694229, 0.04530879482626915, -0.6456928849220276, -0.23634426295757294, -0.3586375117301941, 0.40460580587387085, 0.2087090164422989, 0.2830231487751007, -0.39905214309692383, 0.5011669397354126, -0.6714937090873718, 0.9195910692214966, 0.5664719939231873, 0.21918128430843353, 0.28329262137413025, 0.153590127825737, 0.5473994016647339, -0.5184381008148193, 0.019700108096003532, -0.15739670395851135, -0.6859264969825745, -0.1040235236287117, -0.9068232774734497, 0.5288883447647095, 0.6725507974624634, -0.2074728012084961, 0.531363308429718, -0.27803006768226624, -0.49625325202941895, -0.0753399208188057, 0.17965483665466309, 0.21605759859085083, 0.26666319370269775, 0.36414265632629395, -0.45762383937835693, -0.11551987379789352, -0.8846353888511658, -0.7393596768379211, 0.011561410501599312, -0.27301955223083496, 0.13402605056762695, 0.7329472899436951, -0.46539419889450073, 0.6441508531570435, -0.7341178059577942, -0.31883901357650757, -0.39296090602874756, -0.15941786766052246, 0.4155023396015167, 0.26861441135406494, 0.3560510575771332, -0.6712155938148499, -0.5793106555938721, 0.24802903831005096, -0.41161730885505676, -0.28421470522880554, 0.3301960229873657, -0.34486889839172363, -0.23771728575229645, 0.22146044671535492, -1.0420037508010864, -0.0769115537405014, 0.6538674831390381, -0.3919561207294464, 0.6341025233268738, -0.28479501605033875, 0.044739145785570145, -0.9880607724189758, 0.39591291546821594, 0.06757493317127228, -0.35292771458625793, -0.8402612805366516, 0.14825737476348877, 0.019369378685951233, -0.5284501910209656, -0.8070985674858093, 0.75105220079422, -0.24106541275978088, 0.08082864433526993, -0.2971474528312683, -0.11558233201503754, 0.2580016553401947, 0.49321281909942627, 0.30671876668930054, 0.7262001037597656, 0.5053889751434326, -0.5113939642906189, 0.5048204064369202, 0.3526432514190674, -0.3122551739215851, 0.5163154006004333, -0.8254880905151367, -0.05760331079363823, 0.3746698200702667, 0.3666066527366638, -0.7527315616607666, -0.6020000576972961, 0.29651230573654175, -0.15230318903923035, 0.44518736004829407, -0.28216102719306946, -0.6688165068626404, -0.062033116817474365, 0.07749418169260025, 0.41689008474349976, 0.6454290747642517, -0.15551824867725372, 0.7578247785568237, 0.5762872695922852, -0.598071813583374, -0.3132961690425873, -0.645645260810852, 0.19965597987174988, -0.22310061752796173, -0.20240123569965363, 0.5350321531295776, 0.13721682131290436, -0.08067703247070312, -0.2759958803653717, -0.098991259932518, -0.2789000868797302, -0.41261887550354004, 0.09696773439645767, 0.08084910362958908, -0.11883357912302017, 0.35759034752845764, -0.1464042365550995, -0.2557048201560974, -0.10858973115682602, -0.8316957950592041, 0.8552583456039429, 0.06921070069074631, -0.3558202087879181, 0.013092157430946827, 0.47593531012535095, 0.6303940415382385, -0.48980578780174255, 0.7414170503616333, 0.39477962255477905, -0.296234667301178, -0.38436558842658997, -0.14253301918506622, -0.21111391484737396, -0.4502466320991516, 0.6849367022514343, -0.1418701708316803, -0.7488235831260681, 0.338893324136734, -0.6432369351387024, -0.11739296466112137, 0.31583139300346375, 1.0200251340866089, 0.6269813776016235, 0.6318248510360718, 0.5549682974815369, 0.0834149494767189, 0.1091398075222969, 0.11937673389911652, 0.5450608730316162, -0.6302684545516968, -0.21633726358413696, -0.28106653690338135, 0.07691052556037903, -0.24853894114494324, -0.5039220452308655, 0.5828732252120972, -0.32135647535324097, -0.48854318261146545, 0.2808779180049896, -0.6775897741317749, 0.5351584553718567, 0.5086250901222229, -0.19613952934741974, 0.35293012857437134, 0.3835380971431732, -0.38486379384994507, -0.0953216552734375, -0.575154185295105, -0.466926634311676, 1.1158182621002197, 0.257430762052536, 0.58347088098526, -0.030054405331611633, 0.28974971175193787, 0.022078830748796463, 0.10346303135156631, -0.9303392171859741, 0.5093405842781067, -0.4283406734466553, -0.7547119855880737, -0.10492288321256638, -0.17875288426876068, -0.9096518158912659, 0.37544742226600647, -0.06131961941719055, -0.81585693359375, 0.08631988614797592, -0.04605591297149658, -0.3522641658782959, 0.34848034381866455, -0.7814650535583496, 1.1233325004577637, -0.21718217432498932, -0.2924090027809143, -0.007332174107432365, -0.5537382960319519, 0.1691005825996399, -0.5130903720855713, -0.0032633491791784763, -0.43483462929725647, -0.2283291220664978, 0.40815824270248413, -0.5125083327293396, 0.6773166060447693, 0.27340489625930786, -0.26063504815101624, 0.1228233352303505, 0.039635103195905685, 0.19703556597232819, 0.01499510370194912, 0.019047008827328682, 0.48617643117904663, 0.11054091900587082, -0.5248905420303345, -0.30630671977996826, 0.915632963180542, -0.2608526945114136, -0.45896363258361816, -0.663181722164154, -0.49273285269737244, -0.5187186002731323, 0.5781470537185669, 0.25470778346061707, 0.21649236977100372, -0.1987595409154892, -0.26200810074806213, 0.6134514808654785, -0.7830212712287903, -0.007519405335187912, 0.6895385980606079, -0.30969029664993286, -0.42482730746269226, 0.907751202583313, -0.0779513418674469, 0.43048474192619324, 0.5070388913154602, 0.14332842826843262, -0.32283225655555725, -0.6470887064933777, -0.34309831261634827, 0.3987240493297577, -0.7988015413284302, -0.10541142523288727, -0.6856589317321777, -0.15460632741451263, -0.6263379454612732, 0.04567626491189003, -0.43318799138069153, -0.39309850335121155, 0.16720423102378845, -0.02032901905477047, 0.5858404636383057, 0.5036717057228088, 0.1744387298822403, 0.2573080360889435, -0.9812349677085876, 0.4134501516819, 0.35229939222335815, 0.6470562219619751, -0.4276462197303772, -0.24633942544460297, -0.07528133690357208, -0.29659315943717957, -0.23826567828655243, -0.8125371336936951, 0.6721045970916748, 0.6258114576339722, 0.4507945775985718, -0.06632401794195175, -0.3668467104434967, 0.20833653211593628, -0.9467647075653076, 1.0147956609725952, -0.1670176386833191, -0.7787405252456665, 0.5105038285255432, -0.6546007990837097, 0.5347654819488525, 0.34547483921051025, 0.3265041410923004, -0.4984320104122162, -0.2537935674190521, -0.3006986677646637, -1.1972330808639526, 0.17434453964233398, 0.16214212775230408, 0.042282816022634506, 0.14048229157924652, 0.5625551342964172, 0.26476210355758667, 0.29382410645484924, -0.4839687645435333, -0.2800474166870117, 0.1935282200574875, -0.37262269854545593, -0.08196452260017395, -0.017857559025287628, -0.010854925028979778, -0.16661886870861053, 0.611020565032959, -0.0797404795885086, 0.11110946536064148, 0.13366758823394775, 0.08406183123588562, 0.2856246829032898, 0.6675863862037659, 0.46346360445022583, 0.7717567682266235, -0.17658787965774536, -0.0018143653869628906, 0.01891680620610714, -1.0110892057418823, 0.27695274353027344, 0.4902171790599823, 0.21272657811641693, -0.02892281301319599, 0.3120056092739105, 0.22811859846115112, 0.04763167351484299, -1.2753865718841553, 0.16632816195487976, 0.16482698917388916, 0.004889235366135836, -0.08443418145179749, -0.05503920465707779, 0.05744773894548416, 0.20477017760276794, 0.2812846302986145, -0.06341252475976944, 0.26001396775245667, -0.570576548576355, 0.3743059039115906, 0.26411113142967224, -0.11148601770401001, -0.22470609843730927, 0.718052327632904, -0.0059658014215528965, -0.18447741866111755, 0.3626445531845093, 0.18693795800209045, -0.5427360534667969, 0.3336745500564575, 0.42325645685195923, 0.7034168243408203, -0.4513494372367859, 0.12904737889766693, 0.10483238846063614, -0.07860960811376572, -0.043853841722011566, 0.04641343280673027, 0.3822323679924011, -0.47992369532585144, -0.5515775680541992, -0.9685486555099487, -0.5368012189865112, 0.3188338279724121, 0.0019168495200574398, 0.27960455417633057, -0.6491532921791077, -0.45256510376930237, 0.4160155653953552, -0.0240191463381052, -0.3805905878543854, -0.004394038580358028, -0.04467722401022911, 0.5795175433158875, -0.6773906350135803, 0.9022747874259949, 0.9291068315505981, -0.22835291922092438, -0.5723623037338257, -0.10489709675312042, -0.03892434388399124, -0.8181484341621399, 0.6171937584877014, -0.14979048073291779, 0.030743885785341263, -0.06340225785970688, -0.30438685417175293, -0.6321151256561279, 0.7112764120101929, 0.5824504494667053, -0.5956119298934937, 0.03082874044775963, 0.6410127878189087, 0.7021621465682983, -0.2604468762874603, -0.2941179573535919, 0.8733882308006287, 0.40634673833847046, -0.07182088494300842, -1.1565895080566406, -0.0023696809075772762, -0.3057384490966797, -0.1606791615486145, 0.3233557939529419, -0.4765007495880127, 1.0195564031600952, 0.053920622915029526, 0.056709617376327515, 0.09357152134180069, -0.04177761450409889, 0.6203179955482483, -0.02076009102165699, -0.19844017922878265, 0.3835882544517517, 0.5388711094856262, -0.08005436509847641, 1.198999285697937, -0.41088664531707764, 0.2929800748825073, 0.8566402196884155, -0.6392616629600525, 0.8503608703613281, 0.3807717263698578, -0.4160183370113373, 0.28493931889533997, 0.6898522973060608, -0.26258471608161926, 0.5108373761177063, 0.3271125853061676, -0.6753153800964355, -0.37092387676239014, -0.20205280184745789, -0.31336161494255066, 0.19330520927906036, 0.8185657262802124, -0.377183198928833, -0.02011175826191902, 0.08503067493438721, -0.061169352382421494, -0.00888244528323412, -0.23351041972637177, 0.7572059035301208, 0.5120387077331543, -0.49610522389411926, 0.5376673936843872, 0.14574986696243286, 0.3309631645679474, -0.9375688433647156, -0.13905999064445496, 0.07426969707012177, 0.5276726484298706, -0.03679065778851509, -0.6844602823257446, 0.03082011081278324, -0.0823693498969078, 0.15819060802459717, 0.025028394535183907, 0.8904298543930054, -0.5451192259788513, -0.5027814507484436, 0.3138607144355774, 0.48446959257125854, 0.10090741515159607, -0.3861438035964966, -0.7153323888778687, -0.10419097542762756, -0.3683629631996155, -0.24091839790344238, 0.4386420249938965, 0.45271021127700806, 0.14407265186309814, 0.6690151691436768, 0.4967668354511261, 0.47544801235198975, -0.07421678304672241, 0.11561818420886993, 0.6777320504188538, -0.627456784248352, -0.3466329574584961, -1.082334041595459, 0.29139190912246704, 0.11380669474601746, -0.2744748890399933, 0.6539342999458313, 0.5066545605659485, 0.42267757654190063, -0.43269646167755127, 0.9044659733772278, 0.470037043094635, 0.5012022852897644, -0.5054184198379517, 0.5486108660697937, -0.3866389989852905, 0.2188497632741928, -0.23273025453090668, -1.1126705408096313, -0.941905677318573, 0.379759818315506, -0.3277575373649597, 0.2021207958459854, 0.745569109916687, 0.48536381125450134, -0.0867701917886734, -0.3507067859172821, 0.2151307463645935, 0.19333229959011078, 0.5774971842765808, 0.8528423309326172, 0.5124490857124329, -0.25883448123931885, 0.2255389541387558, 0.17961449921131134, 0.0014380371430888772, -0.11204823106527328, -0.7276973128318787, -0.9880353212356567, -0.2764303386211395, -0.3091309666633606, -0.34954509139060974, 0.22204698622226715, 1.1712983846664429, 0.7056241631507874, -1.0163308382034302, -0.11473675817251205, -0.19367854297161102, -0.2259681671857834, -0.132797971367836, -0.17543920874595642, 0.5888489484786987, -0.08900522440671921, -0.7753302454948425, 0.3224547505378723, 0.8142749667167664, 0.22014129161834717, -0.3727014362812042, 0.19381088018417358, -0.18230825662612915, 0.1878090798854828, 0.7841920256614685, 0.5015507340431213, -0.6755414009094238, 0.09556269645690918, 0.06167175620794296, -0.024849766865372658, 0.20234641432762146, 1.0371993780136108, -0.7053113579750061, 0.28095340728759766, 0.46907806396484375, 0.5074186325073242, 0.25786662101745605, -0.11471293866634369, 1.096359133720398, -0.6915320754051208, 0.31593751907348633, 0.47939130663871765, 0.3165737986564636, 0.5413735508918762, -0.25999391078948975, 0.4278717041015625, 0.1864054948091507, -0.7911095023155212, -0.6563520431518555, 0.36413878202438354, -1.005692481994629, -0.6807579398155212, 1.3130285739898682, -0.10915347188711166, -0.21407552063465118, -0.3357013761997223, -0.3646741211414337, -0.08300984650850296, -0.41833561658859253, 0.6010388731956482, 0.7866212725639343, -0.19310913980007172, -0.022098664194345474, -0.8132892847061157, 0.6827958226203918, 0.3315214514732361, -0.8712724447250366, 0.1935214400291443, 0.30483099818229675, 0.3954913020133972, 0.03639601171016693, 0.6630148887634277, -0.19950613379478455, -0.08847270160913467, -0.12998177111148834, 0.04786263406276703, 0.30660930275917053, -0.0947064757347107, -0.43748944997787476, 0.24937096238136292, 0.2798697352409363, 0.2665310502052307 ]
http://arxiv.org/abs/2406.18034v1
http://arxiv.org/pdf/2406.18034v1
LLMs for Doctors: Leveraging Medical LLMs to Assist Doctors, Not Replace Them
2024-06-26T03:08:24
2024-06-26T03:08:24
Wenya Xie, Qingying Xiao, Yu Zheng, Xidong Wang, Junying Chen, Ke Ji, Anningzhe Gao, Xiang Wan, Feng Jiang, Benyou Wang
cs.CL
cs.CL
The recent success of Large Language Models (LLMs) has had a significant impact on the healthcare field, providing patients with medical advice, diagnostic information, and more. However, due to a lack of professional medical knowledge, patients are easily misled by generated erroneous information from LLMs, which may result in serious medical problems. To address this issue, we focus on tuning the LLMs to be medical assistants who collaborate with more experienced doctors. We first conduct a two-stage survey by inspiration-feedback to gain a broad understanding of the real needs of doctors for medical assistants. Based on this, we construct a Chinese medical dataset called DoctorFLAN to support the entire workflow of doctors, which includes 92K Q\&A samples from 22 tasks and 27 specialists. Moreover, we evaluate LLMs in doctor-oriented scenarios by constructing the DoctorFLAN-\textit{test} containing 550 single-turn Q\&A and DotaBench containing 74 multi-turn conversations. The evaluation results indicate that being a medical assistant still poses challenges for existing open-source models, but DoctorFLAN can help them significantly. It demonstrates that the doctor-oriented dataset and benchmarks we construct can complement existing patient-oriented work and better promote medical LLMs research.
[ -0.046689994633197784, -0.5320124626159668, 1.0025821924209595, -0.02464371733367443, -0.3600517809391022, -0.025509098544716835, -0.12119228392839432, -0.8015457987785339, 0.4559413194656372, 0.5558471083641052, -0.3399355709552765, -0.2780348062515259, -0.7675440311431885, 0.40178826451301575, -0.11875277757644653, 0.6336947679519653, -0.04279615357518196, 0.7463269233703613, -0.5360768437385559, -0.04192288592457771, -0.24153408408164978, -0.2570021152496338, -1.0371406078338623, -0.4076631963253021, 0.6621816158294678, 0.547555148601532, 0.9356539249420166, 0.5713725686073303, 0.5614086389541626, 0.3042277991771698, -0.05791127681732178, 0.7051059603691101, -0.1186884194612503, 0.18780973553657532, 0.08742189407348633, -0.46072348952293396, -0.8312968611717224, -0.04606812074780464, 0.21542653441429138, 0.8904334306716919, -0.30609768629074097, -0.18432503938674927, -0.22194023430347443, 0.7078500986099243, -0.05348251014947891, 0.1808793842792511, -0.27414044737815857, 0.10975521057844162, -0.18314418196678162, -0.19568192958831787, 0.02117403969168663, -0.3939121663570404, -0.024222688749432564, -0.7678483724594116, 0.06100398674607277, 0.0029011969454586506, 0.5222976803779602, 0.42858248949050903, -0.29755353927612305, -0.3285759687423706, -0.71745765209198, 0.28675588965415955, -0.9995976686477661, 0.23985613882541656, 0.4383072257041931, 0.38474395871162415, -0.4100361466407776, -0.5263528823852539, -0.47802257537841797, -0.12344939261674881, -0.06471841782331467, 0.29996025562286377, 0.3828549385070801, 0.08655863255262375, 0.01159973070025444, 0.5043047070503235, -0.09408397972583771, 0.4518292546272278, -0.4188212752342224, 0.18382860720157623, 0.8860436677932739, 0.5820318460464478, 0.3795051574707031, 0.3002508282661438, -0.16226044297218323, 0.04805535450577736, -0.8851385712623596, -0.05221940949559212, -0.006344489753246307, -0.0646074041724205, -0.1032368615269661, 0.5809970498085022, 0.013290343806147575, 0.7760832905769348, -0.08407307416200638, -0.4464927911758423, 0.14596587419509888, -0.4175974428653717, -0.2847474217414856, -0.24549318850040436, 0.814021646976471, 0.2763884663581848, 0.4848615229129791, -0.019507264718413353, -0.336993932723999, -0.34012371301651, 0.4156595468521118, -0.5549150705337524, -0.35857003927230835, 0.4579409956932068, -0.45885345339775085, -0.36990150809288025, 0.17969250679016113, -0.5784396529197693, -0.9374555349349976, -0.29347559809684753, 0.03307535499334335, -0.08955839276313782, -0.4611073136329651, 0.25513139367103577, 0.08816244453191757, 0.03860350698232651, 0.5597892999649048, -0.7271818518638611, 0.33966588973999023, 0.7821990251541138, 0.7014836072921753, -0.18564611673355103, -0.16396154463291168, -0.49268144369125366, 0.06403901427984238, -0.5680117607116699, 0.771864116191864, -0.575947105884552, -0.683585524559021, 0.03383556380867958, 0.06914368271827698, -0.05599899962544441, -1.0375722646713257, 0.326560914516449, 0.017759526148438454, 0.23749308288097382, -0.37354379892349243, -0.5539669990539551, 0.17375199496746063, 0.2404191792011261, -0.6378391981124878, 0.5569776296615601, 0.23388515412807465, -0.29337385296821594, 0.2304149568080902, -0.7856124043464661, -0.6933057904243469, 0.09416523575782776, -0.7005853056907654, -0.45754656195640564, 0.3408292233943939, 0.3716754913330078, 0.6011064052581787, -0.6511482000350952, 0.11581792682409286, -0.19673313200473785, -0.26400983333587646, 0.414414644241333, -0.04164067283272743, 0.6048184037208557, 0.07409831136465073, 0.2527047097682953, 0.16410204768180847, -0.5300203561782837, -0.4193877875804901, 0.3155435621738434, -0.40136924386024475, -0.2772211730480194, 0.1942397952079773, -0.14722885191440582, 0.28991594910621643, -0.007549884729087353, -0.5244830846786499, 0.3332589566707611, -0.5555636882781982, 0.14954344928264618, 0.6080949902534485, 0.12538951635360718, 0.12605877220630646, -0.584148108959198, 0.7879884839057922, 0.20361262559890747, 0.41525495052337646, -0.039154358208179474, -0.8195986747741699, -0.36440789699554443, -0.2787102460861206, 0.15636441111564636, 0.47508272528648376, -0.8218058943748474, 0.2135837823152542, -0.09341330826282501, -0.39487797021865845, -0.953978419303894, 0.38197073340415955, 0.21032018959522247, 0.8712666034698486, 0.19325102865695953, -0.29275771975517273, -0.26488280296325684, -0.6510661840438843, -0.19100695848464966, -0.12236412614583969, -0.28961822390556335, 0.6022481918334961, 0.01788501814007759, -0.11855058372020721, 0.48700857162475586, -0.3868701159954071, -0.6978402733802795, -0.27865901589393616, -0.6010281443595886, 0.34076011180877686, 0.17833149433135986, 0.314142107963562, -0.7067697644233704, -0.41029852628707886, 0.13742183148860931, -0.8467274308204651, -0.2633052170276642, -0.07501890510320663, 0.22016622126102448, 0.03367578983306885, 0.4474932849407196, -0.5584219098091125, 0.06068795174360275, 0.5155562162399292, -0.46629080176353455, 0.35766786336898804, -0.43457117676734924, 0.002799171255901456, -1.3190560340881348, 0.07278737425804138, -0.07534743845462799, -0.2734995186328888, -0.664524495601654, -0.29992496967315674, -0.08541032671928406, -0.11716112494468689, -0.4326122999191284, 0.7531337141990662, -0.5127517580986023, -0.05315351113677025, -0.5514693260192871, 0.11341159045696259, -0.10760216414928436, 0.08127029985189438, 0.02591889724135399, 0.6969501376152039, 0.62356036901474, -0.6038107872009277, 0.48629507422447205, 0.35314732789993286, -0.2453032284975052, 0.9048269987106323, -0.6772644519805908, 0.1322011649608612, 0.11183848232030869, 0.11857005208730698, -0.5684378743171692, -0.3212320804595947, 0.44356104731559753, -0.4673893451690674, 0.31256571412086487, 0.10143478214740753, -0.7733145356178284, -0.3594649136066437, -0.004363133106380701, 0.22344200313091278, 0.4385359287261963, -0.43567708134651184, 0.6384667754173279, 0.603459894657135, -0.2917661666870117, -0.32177242636680603, -0.5136305689811707, 0.20159418880939484, 0.09577678889036179, -0.5308476686477661, 0.047422267496585846, -0.08929944783449173, -0.3091858923435211, 0.060190435498952866, -0.19508974254131317, -0.09784284979104996, 0.17484815418720245, 0.3801605999469757, 0.19668568670749664, -0.06964368373155594, 0.20597845315933228, 0.056294769048690796, -0.24023108184337616, 0.29411581158638, -0.07589121162891388, 0.28429731726646423, 0.4546825587749481, -0.7134628891944885, -0.39724159240722656, 0.3667200803756714, 0.6785810589790344, -0.21947462856769562, 0.5781040191650391, 0.24884280562400818, -0.41786399483680725, 0.16204211115837097, -0.5098464488983154, -0.2939342260360718, -0.42018836736679077, 0.43430131673812866, -0.15989723801612854, -0.5700031518936157, 0.3582722246646881, -0.06230314448475838, 0.41533395648002625, 0.25796201825141907, 0.7237409949302673, -0.2923303246498108, 0.9361269474029541, 0.4115504026412964, -0.20248889923095703, 0.04330633953213692, 0.05096696689724922, -0.05763377621769905, -0.6090747117996216, -0.513023316860199, -0.2288142442703247, -0.28075912594795227, -0.28596362471580505, -0.2581281363964081, 0.6904417872428894, -0.3580252230167389, 0.22819997370243073, -0.1437782645225525, -0.34728673100471497, 0.33424845337867737, 0.25768470764160156, 0.3947562873363495, 0.274190753698349, -0.32300326228141785, 0.030847353860735893, 0.3418635129928589, -0.6960463523864746, -0.2456996887922287, 1.0834200382232666, 0.4073376953601837, 0.8563593626022339, 0.06019698455929756, 0.6769587993621826, 0.011183288879692554, 0.280310720205307, -0.7604382038116455, 0.5250996947288513, -0.4598938226699829, -0.2807149589061737, -0.21901777386665344, -0.28768035769462585, -0.9593779444694519, 0.0805586576461792, -0.26305148005485535, -0.09415110945701599, -0.018996426835656166, 0.2595514953136444, -0.3644484579563141, 0.32017236948013306, -0.48368680477142334, 0.6369746327400208, -0.36801877617836, -0.08812879770994186, -0.1566195785999298, -0.5659282803535461, 0.223516583442688, -0.21065929532051086, 0.2614157199859619, -0.1465165615081787, -0.3200511932373047, 0.4623691439628601, -0.6930747628211975, 0.9666129946708679, -0.3585227131843567, -0.45636019110679626, -0.10164033621549606, -0.2508704662322998, 0.40373489260673523, 0.2489989548921585, -0.06393582373857498, 0.059543244540691376, 0.12298943847417831, -0.44537457823753357, -0.6075982451438904, 0.6670593619346619, -0.5668394565582275, -0.8395158052444458, -0.2116178423166275, -0.5224769711494446, -0.5832228660583496, 0.10263343155384064, -0.05772281065583229, 0.19667163491249084, -0.08432026207447052, -0.19104349613189697, 0.5100142359733582, -0.021104086190462112, 0.09381867945194244, 0.5159437656402588, -0.3073563873767853, -0.21236416697502136, 0.5246895551681519, -0.041875239461660385, 0.23020850121974945, 0.19155699014663696, 0.31060969829559326, -0.06993266195058823, -0.5010012984275818, -0.5909876227378845, 0.5162075757980347, -0.5417070388793945, -0.12369426339864731, -0.3866974413394928, -0.2173364758491516, -0.3372442424297333, 0.049255333840847015, -0.2195146083831787, -0.07908504456281662, -0.5622638463973999, 0.0579117015004158, 0.4296315312385559, 0.9638193249702454, 0.20595097541809082, 0.13581378757953644, -0.8722031712532043, 0.4207962453365326, 0.2773151993751526, 0.49825477600097656, -0.130646213889122, -0.34772369265556335, -0.469989538192749, -0.19941970705986023, -0.04080873355269432, -1.0491976737976074, 0.18525591492652893, 0.06543607264757156, 0.7104805111885071, 0.6677050590515137, -0.18912696838378906, 0.4831143915653229, -0.5566454529762268, 0.8107906579971313, 0.10226433724164963, -0.3651902973651886, 0.3649049699306488, -0.037920571863651276, 0.2759944498538971, 0.3582155108451843, 0.14652806520462036, -0.5879706144332886, -0.5676668286323547, -0.39973124861717224, -0.46277114748954773, 0.3638458549976349, -0.15754041075706482, 0.13294193148612976, 0.09223385155200958, 0.5591413378715515, 0.1922065168619156, 0.08811069279909134, -0.2112986147403717, -0.24927037954330444, 0.0810282751917839, -0.43682923913002014, -0.18536247313022614, -0.2596646547317505, -0.46978381276130676, -0.06375551968812943, 0.47212323546409607, -0.12768521904945374, 0.19614015519618988, 0.44730305671691895, 0.22872929275035858, -0.2153182476758957, 0.20533178746700287, 0.7485798597335815, 0.7567762732505798, 0.2087017148733139, -0.027962317690253258, 0.1673232614994049, -0.576802670955658, 0.025629539042711258, 0.2112753689289093, 0.2355881631374359, 0.15801359713077545, 0.27961456775665283, 0.41591349244117737, -0.11414804309606552, -0.818549633026123, 0.5932220816612244, -0.01211965549737215, -0.22704137861728668, -0.4931228458881378, 0.32913345098495483, 0.25566133856773376, 0.28227850794792175, 0.18289467692375183, -0.1555318385362625, -0.09930775314569473, -0.29440751671791077, 0.10281170904636383, 0.4975902736186981, -0.30833178758621216, -0.3706094026565552, 0.631193220615387, 0.39080676436424255, -0.5770595073699951, 0.3804105520248413, 0.24906764924526215, -0.15081019699573517, 0.5906765460968018, 0.46202895045280457, 0.5761409997940063, -0.42909830808639526, -0.13789331912994385, -0.019725346937775612, 0.17384479939937592, -0.2911890745162964, 0.5209705829620361, 0.20177683234214783, -0.4463793635368347, -0.41266804933547974, 0.048262108117341995, -0.743380069732666, 0.12827500700950623, -0.32400405406951904, 0.31256186962127686, -0.5453822016716003, -0.03209219127893448, -0.13849568367004395, -0.05658181384205818, -0.6042414307594299, 0.24819812178611755, 0.021283086389303207, 0.9574342370033264, -0.6821720600128174, 1.0361261367797852, 1.1182284355163574, -0.34465593099594116, -0.7074124813079834, -0.0989518016576767, 0.08765800297260284, -1.0502344369888306, 0.14848636090755463, -0.021714117377996445, 0.11532710492610931, -0.40031927824020386, -0.4152388572692871, -0.17386581003665924, 1.2886533737182617, 0.208644837141037, -0.726843535900116, -0.23282721638679504, 0.2854354679584503, 0.697770893573761, -0.604388415813446, 0.06034268066287041, 0.28925028443336487, 0.3272436261177063, -0.14097990095615387, -1.1879198551177979, 0.14262588322162628, -0.2969910800457001, -0.3509908616542816, 0.04209993779659271, -0.48912206292152405, 0.6983463168144226, -0.5168324708938599, 0.19512304663658142, 0.170041024684906, 0.2987399697303772, 0.3178831934928894, 0.5034189224243164, 0.6093820333480835, 0.3353637158870697, 0.8336319923400879, 0.11472921073436737, 1.1019002199172974, -0.282347172498703, -0.22829216718673706, 0.9505212306976318, -0.3501311242580414, 0.557935893535614, 0.7668923735618591, -0.13080328702926636, 0.21578769385814667, 0.5188981294631958, -0.05267481505870819, 0.10240714997053146, 0.09789988398551941, -0.44626542925834656, -0.3369859755039215, -0.08696222305297852, -0.49700841307640076, 0.30959340929985046, 0.5280383825302124, -0.6043078303337097, 0.1599149852991104, -0.014444179832935333, 0.12536776065826416, 0.23630468547344208, -0.272612065076828, 1.0544085502624512, 0.4982268512248993, -0.5460760593414307, 0.2216433435678482, -0.2651101052761078, 0.4095075726509094, -0.5174841284751892, -0.17509350180625916, -0.44119083881378174, 0.0565975122153759, -0.4414227306842804, -0.7870184779167175, 0.1266883909702301, -0.11110837012529373, -0.08083038777112961, -0.04807481914758682, 0.6155019402503967, -0.39744889736175537, -0.5532281994819641, 0.04667806997895241, 0.8602248430252075, 0.4959139823913574, 0.05646807327866554, -0.5809199810028076, -0.2875465452671051, -0.12107723951339722, 0.11049306392669678, 0.3807094991207123, 0.3534170687198639, 0.22630858421325684, 0.6867861151695251, 0.5481782555580139, 0.6806248426437378, -0.23505906760692596, 0.3023630380630493, 0.7869213223457336, -0.6111128330230713, -0.2410782128572464, -0.7962510585784912, 0.3617338538169861, -0.09987831115722656, -0.24989813566207886, 0.32398656010627747, 0.3373142182826996, 0.45145371556282043, -0.18722586333751678, 0.6505826711654663, 0.3446267247200012, 0.854862630367279, -0.6476032137870789, 0.8454229235649109, -0.9183422923088074, 0.5001868605613708, 0.06516218930482864, -0.39261165261268616, -0.35032469034194946, 0.214366152882576, -0.0011184468166902661, 0.15876774489879608, 0.31658363342285156, 0.6850090026855469, -0.05821647122502327, -0.12596763670444489, 0.6175714135169983, 0.027274727821350098, 0.48713529109954834, 0.6768171787261963, 0.6418521404266357, -0.05946796014904976, 0.4314732253551483, -0.04597800597548485, -0.16119341552257538, -0.22248190641403198, -0.48920950293540955, -0.876265287399292, -0.3624418377876282, -0.24755725264549255, -0.22157451510429382, 0.0788068026304245, 0.9342293739318848, 0.6581912040710449, -0.6510142683982849, -0.10384392738342285, 0.16794320940971375, 0.14914339780807495, -0.36215049028396606, -0.10849660634994507, 0.3307380974292755, -0.21224409341812134, -0.7507299184799194, 0.6889615058898926, 0.305942565202713, 0.06880765408277512, -0.5129044055938721, -0.3089510500431061, 0.11041901260614395, 0.012599674053490162, 0.25356003642082214, 0.3742556571960449, -0.7328107953071594, 0.10971106588840485, 0.25583416223526, -0.23062770068645477, 0.39328476786613464, 0.9754408001899719, -0.5488818287849426, 0.5330219864845276, 0.06450169533491135, 0.8771529793739319, -0.08047236502170563, -0.10924071818590164, 0.7782525420188904, -0.4519485831260681, -0.18516118824481964, 0.26213741302490234, 0.5807780623435974, 0.3470155894756317, -0.5350469350814819, 0.5028820633888245, 0.051416363567113876, -0.5198212265968323, -0.6401011943817139, 0.1332727074623108, -0.8851640224456787, -0.37094637751579285, 1.2154021263122559, -0.1876033991575241, 0.1278548687696457, -0.31253084540367126, -0.3704299032688141, 0.29409241676330566, -0.26714351773262024, 0.8082643747329712, 0.43306124210357666, -0.47060585021972656, -0.39795711636543274, -0.5885883569717407, 0.550995945930481, 0.6396291255950928, -1.2283927202224731, -0.19403564929962158, 0.38011449575424194, 0.3786369264125824, -0.11591236293315887, 1.0316420793533325, -0.36408647894859314, 0.4677828252315521, -0.36131715774536133, -0.1583024114370346, -0.6519013047218323, -0.2408638596534729, -0.4520459473133087, -0.11173465847969055, 0.44942787289619446, -0.47128695249557495 ]
http://arxiv.org/abs/2406.18027v1
http://arxiv.org/pdf/2406.18027v1
Automated Clinical Data Extraction with Knowledge Conditioned LLMs
2024-06-26T02:49:28
2024-06-26T02:49:28
Diya Li, Asim Kadav, Aijing Gao, Rui Li, Richard Bourgon
cs.CL
cs.CL, cs.AI
The extraction of lung lesion information from clinical and medical imaging reports is crucial for research on and clinical care of lung-related diseases. Large language models (LLMs) can be effective at interpreting unstructured text in reports, but they often hallucinate due to a lack of domain-specific knowledge, leading to reduced accuracy and posing challenges for use in clinical settings. To address this, we propose a novel framework that aligns generated internal knowledge with external knowledge through in-context learning (ICL). Our framework employs a retriever to identify relevant units of internal or external knowledge and a grader to evaluate the truthfulness and helpfulness of the retrieved internal-knowledge rules, to align and update the knowledge bases. Our knowledge-conditioned approach also improves the accuracy and reliability of LLM outputs by addressing the extraction task in two stages: (i) lung lesion finding detection and primary structured field parsing, followed by (ii) further parsing of lesion description text into additional structured fields. Experiments with expert-curated test datasets demonstrate that this ICL approach can increase the F1 score for key fields (lesion size, margin and solidity) by an average of 12.9% over existing ICL methods.
[ 0.05657001957297325, -0.5026236772537231, 0.930674135684967, 0.1941482275724411, -0.37374305725097656, -0.09978671371936798, -0.22683554887771606, -0.39183709025382996, -0.05279888957738876, 0.7246193289756775, -0.15292127430438995, -0.6547540426254272, -0.7757107615470886, -0.04011291638016701, -0.2642271816730499, 0.9737277626991272, -0.12260393053293228, 0.34269988536834717, -0.6607657670974731, -0.15637414157390594, -0.1279211789369583, -0.574252724647522, -0.6645927429199219, -0.3740640878677368, 0.1769215613603592, 0.447385311126709, 0.3197005093097687, 0.5027411580085754, 0.9378718137741089, 0.27180248498916626, 0.17320725321769714, 0.2759653329849243, -0.11830990016460419, 0.2055041342973709, -0.024931499734520912, -0.10915487259626389, -0.15471287071704865, -0.2623675763607025, 0.5273679494857788, 0.7515090703964233, -0.09345487505197525, -0.1517450511455536, -0.13497468829154968, 0.7625486850738525, -0.3400789201259613, 0.16822536289691925, -0.6693584322929382, 0.11681802570819855, 0.007182369474321604, -0.7133481502532959, -0.4145043194293976, -0.20842589437961578, 0.41687387228012085, -0.6532872319221497, 0.19622375071048737, -0.17715483903884888, 0.8559078574180603, 0.40315213799476624, -0.5230587720870972, -0.5131716132164001, -0.2966550886631012, 0.468766987323761, -0.8732419610023499, 0.4474152624607086, 0.42513906955718994, 0.42873069643974304, -0.21457728743553162, -1.0308088064193726, -0.16317102313041687, -0.2572316825389862, -0.5726395845413208, 0.27819499373435974, 0.21186143159866333, 0.2047112137079239, 0.35099560022354126, 0.3365837037563324, -0.331104576587677, 0.0792335569858551, -0.5847458243370056, -0.16124093532562256, 0.6901820302009583, 0.1818307489156723, 0.4126501679420471, -0.22489728033542633, -0.6094571948051453, 0.17201654613018036, -0.7090157270431519, 0.06984788924455643, -0.3287120461463928, 0.29598674178123474, 0.013818169012665749, 0.5660720467567444, -0.24063324928283691, 0.8072133660316467, 0.18500085175037384, -0.643523633480072, 0.3052452504634857, -0.00592069374397397, -0.7059360146522522, 0.22563804686069489, 0.6760290861129761, 0.2612089514732361, -0.22685009241104126, -0.351257860660553, -0.2118198573589325, -0.2865818738937378, 0.141474649310112, -0.9662802219390869, -0.19462253153324127, 0.2778051197528839, -0.5540790557861328, -0.578253448009491, 0.049057722091674805, -0.5663026571273804, -0.6376462578773499, -0.41215452551841736, 0.40288764238357544, -0.5279287099838257, -0.019137918949127197, 0.13783039152622223, -0.1100522056221962, -0.08932359516620636, 0.4004878103733063, -0.4182489514350891, 0.387264221906662, 0.2988739013671875, 0.6059901714324951, -0.1254027634859085, 0.31829872727394104, -0.9120495915412903, 0.30165088176727295, -0.25631651282310486, 0.7073831558227539, -0.5694948434829712, -0.3330768942832947, -0.06103954464197159, 0.1484052538871765, -0.367451548576355, -0.7926611304283142, 0.45222947001457214, -0.6678290367126465, 0.40005242824554443, 0.008490247651934624, -0.8012063503265381, -0.26491957902908325, 0.39874452352523804, -0.5459920763969421, 0.8340336680412292, 0.5543648600578308, -0.5811626315116882, 0.6219587922096252, -0.5140876770019531, -0.41861492395401, 0.1436125487089157, -0.41155776381492615, -0.334670752286911, 0.04714299365878105, 0.4588935673236847, 0.627963125705719, -0.2595820426940918, 0.735973060131073, -0.2673909366130829, 0.00635422021150589, 0.23447944223880768, -0.05415298044681549, 0.78309565782547, 0.08493997156620026, -0.2930372357368469, 0.08782971650362015, -0.7357500791549683, 0.10891580581665039, -0.08151635527610779, -0.542570948600769, -0.22289533913135529, -0.01360809151083231, -0.2660876512527466, 0.4835505783557892, -0.024183260276913643, -0.7348107099533081, 0.22837167978286743, -0.6575475335121155, 0.07284770160913467, 0.3808371126651764, 0.36330896615982056, 0.3436480462551117, -0.4020078182220459, 0.3662550747394562, 0.39973151683807373, -0.045088134706020355, -0.025505291298031807, -0.13284967839717865, -0.49173858761787415, -0.5970736145973206, 0.08028404414653778, 0.492179811000824, -0.5295400023460388, 0.5361026525497437, -0.15837933123111725, -0.28788983821868896, -0.3740044832229614, 0.3191784620285034, 0.29583311080932617, 1.057052731513977, 0.33838316798210144, -0.17177072167396545, -0.5541179180145264, -0.9096761345863342, 0.04327298328280449, 0.034803591668605804, -0.115420401096344, 0.4087927043437958, 0.09994123131036758, -0.441314160823822, 0.7220123410224915, -0.6661663055419922, -0.9408197402954102, -0.1347486525774002, -0.06268341094255447, 0.054058924317359924, 0.42774662375450134, 0.3350198268890381, -0.8102739453315735, -0.5954302549362183, 0.3652178645133972, -1.04799485206604, -0.2757304608821869, -0.11269621551036835, -0.11043700575828552, 0.3386628031730652, 1.0409324169158936, -0.49252137541770935, 0.6079970598220825, 0.3042074143886566, -0.11282438784837723, 0.08553639054298401, -0.295280784368515, 0.09278158843517303, -0.7776145339012146, 0.18794982135295868, 0.07868365198373795, -0.37454038858413696, -0.3484770357608795, -0.01332600973546505, 0.2926994264125824, -0.10797204822301865, -0.4213138222694397, 0.7040926814079285, -0.3054858148097992, 0.11353595554828644, -0.10097646713256836, -0.019972003996372223, 0.46760424971580505, 0.3874001204967499, 0.3915337026119232, 0.4044102728366852, 0.3808271288871765, -0.45106905698776245, 0.01838274858891964, 0.0870165154337883, -0.43286627531051636, 0.24788714945316315, -0.35515305399894714, 0.08463940769433975, -0.1965891569852829, 0.5063635110855103, -0.6276019215583801, -0.48776766657829285, 0.18708421289920807, -0.23552361130714417, 0.615496039390564, -0.29136720299720764, -0.5222207903862, -0.07759542763233185, 0.16091762483119965, 0.33391717076301575, 0.2064494490623474, -0.44227486848831177, 0.6517770886421204, 0.3751886188983917, -0.13696229457855225, -0.15620552003383636, -0.4486730098724365, -0.2745455503463745, -0.3652456998825073, -0.44128236174583435, 0.4392963945865631, -0.10809890180826187, -0.36745837330818176, 0.13594767451286316, 0.007106611505150795, -0.3304232656955719, 0.0994892418384552, 0.21893088519573212, 0.18007105588912964, -0.26361197233200073, 0.34313562512397766, 0.09126776456832886, 0.12965364754199982, 0.07254799455404282, -0.4465894401073456, 0.08623720705509186, 0.015989268198609352, -0.5827934145927429, -0.3584887385368347, 0.2965041399002075, 0.7642068266868591, -0.03425496071577072, 0.5370630025863647, 0.33713439106941223, -0.8605291843414307, 0.09654030203819275, -0.6588655114173889, -0.1215861588716507, -0.3814440071582794, 0.2958332896232605, -0.29626646637916565, -0.4916244447231293, 0.3271804749965668, -0.22184191644191742, -0.12202136963605881, 0.6065360903739929, 0.4517501890659332, -0.31962111592292786, 1.100454568862915, 0.5898037552833557, -0.07393545657396317, 0.02681831456720829, -0.20193839073181152, 0.22419904172420502, -1.0811126232147217, -0.6298291087150574, -0.25155916810035706, -0.0574701763689518, -0.1013421043753624, -0.30402398109436035, 0.7241167426109314, 0.14671948552131653, -0.14127759635448456, -0.3172633647918701, -0.588694155216217, 0.25943177938461304, 0.25009068846702576, 0.7060713768005371, 0.19492104649543762, 0.053347863256931305, -0.11783161014318466, -0.15199033915996552, -0.7702184915542603, -0.24299584329128265, 1.2265827655792236, 0.20022225379943848, 0.22903071343898773, 0.007669410668313503, 0.6862157583236694, 0.09488976001739502, 0.7421749830245972, -0.8847571611404419, 0.1734458953142166, -0.4261947274208069, -0.5456238985061646, -0.25912636518478394, -0.19794169068336487, -0.6944970488548279, 0.14053916931152344, -0.03945334255695343, -0.6246914863586426, 0.11784587055444717, -0.007603040896356106, -0.42205876111984253, 0.3039632737636566, -0.5015401244163513, 0.5790573358535767, -0.5324299335479736, -0.20599351823329926, 0.08074601739645004, -0.8935250639915466, 0.4818190038204193, -0.2659286558628082, 0.43245214223861694, -0.03378748893737793, 0.0020773857831954956, 0.6111447811126709, -0.43049904704093933, 0.7162533402442932, -0.4667470157146454, 0.02992628514766693, 0.09426048398017883, 0.14525549113750458, 0.3948797285556793, 0.19137844443321228, -0.3567151725292206, -0.23631352186203003, 0.21029436588287354, -0.3314996063709259, -0.8553192615509033, 0.6292458772659302, -0.5252547860145569, -0.4529465138912201, -0.3249727785587311, -0.7152795195579529, -0.5129349231719971, 0.19780054688453674, 0.4402187466621399, 0.7355157732963562, -0.06986326724290848, 0.24300096929073334, 0.6775779128074646, -0.4498538672924042, -0.13775083422660828, 0.6437878012657166, -0.1196124255657196, -0.6146721839904785, 0.8664929270744324, -0.05420180782675743, 0.1113944798707962, 0.5424862504005432, 0.3597860038280487, -0.004880152177065611, -0.6954697370529175, -0.42732730507850647, 0.16531792283058167, -1.023274540901184, -0.545095682144165, -0.852683424949646, -0.5472368597984314, -0.39335906505584717, -0.23605412244796753, 0.0015442125732079148, -0.20271813869476318, -0.4192001521587372, -0.044195253401994705, 0.1850765198469162, 0.5269140601158142, 0.05712100490927696, 0.24611245095729828, -0.9212235808372498, 0.12033193558454514, -0.09824168682098389, -0.0014043886912986636, -0.38375863432884216, -0.7258470058441162, -0.39840397238731384, -0.19856087863445282, -0.12722168862819672, -0.49300938844680786, 0.7227973937988281, 0.38600507378578186, 0.6188955903053284, 0.6405082941055298, 0.16835764050483704, 0.7745591998100281, -0.16001977026462555, 0.4860157370567322, 0.06183788925409317, -0.4941865801811218, 0.6276443004608154, -0.0766027495265007, 0.03341493755578995, 0.7388388514518738, 0.23741909861564636, -0.26600366830825806, -0.46492812037467957, -0.892139732837677, -0.8447698354721069, 0.6665855646133423, -0.22502535581588745, -0.3520335555076599, 0.01995132677257061, 0.4269025921821594, 0.24156515300273895, 0.119868203997612, -0.4870447814464569, 0.2231789082288742, 0.0749749168753624, -0.6164265871047974, -0.06806159019470215, -0.1173945888876915, -0.6218693852424622, -0.5036401152610779, 0.7718912363052368, -0.47702357172966003, 0.2362251728773117, 0.7037402391433716, -0.5946595072746277, -0.24554291367530823, -0.206996887922287, 0.597984254360199, 0.6264898777008057, -0.4606376886367798, 0.05440862104296684, 0.03286084532737732, -0.04216219484806061, -0.037399981170892715, 0.15819361805915833, 0.040310923010110855, -0.18199336528778076, 0.656350314617157, 0.4184083342552185, 0.320835143327713, -0.7960904240608215, 0.7048717141151428, -0.0918719545006752, -0.36973923444747925, -0.4644472897052765, -0.1963423639535904, -0.19796597957611084, 0.2378653585910797, 0.3003903031349182, 0.3081749677658081, 0.25550806522369385, -0.024600334465503693, 0.5739816427230835, 0.561460018157959, -0.7599527835845947, -0.02988119050860405, 0.2388073056936264, 0.09112799912691116, 0.1885109841823578, 0.7350777387619019, 0.1965889036655426, -0.5153051614761353, 0.8349220156669617, 0.5813875794410706, 0.4679349958896637, 0.2708035707473755, 0.03200874477624893, 0.3514266014099121, 0.14056961238384247, 0.14914470911026, -0.057153988629579544, 0.031321726739406586, -0.5568073391914368, -0.15116754174232483, -0.5248047113418579, -0.21721284091472626, 0.47746965289115906, -0.7233432531356812, 0.38325342535972595, -0.4688010811805725, 0.16756963729858398, -0.15171454846858978, 0.19455981254577637, -0.8125960826873779, 0.7103577256202698, 0.012531043030321598, 0.9975271224975586, -0.7769243717193604, 1.0950396060943604, 0.5847101807594299, -0.2947627305984497, -1.032989501953125, 0.025588233023881912, 0.1667540818452835, -0.8054917454719543, 1.0087796449661255, 0.3079048991203308, 0.3581756353378296, -0.063099205493927, -0.2080385684967041, -0.9434065818786621, 1.0859811305999756, 0.3137775957584381, -0.38719862699508667, 0.028050361201167107, -0.15000119805335999, 0.507928192615509, -0.6684802770614624, 0.284721314907074, 0.5918285250663757, 0.31310203671455383, 0.15127553045749664, -0.6858693361282349, 0.2572823464870453, -0.2539169192314148, -0.5937595963478088, 0.040567949414253235, -0.39681217074394226, 0.31331154704093933, -0.23800860345363617, -0.12701649963855743, -0.019064726307988167, 0.41230013966560364, 0.18285539746284485, 0.634560763835907, 0.4717200994491577, 0.7184819579124451, 0.9489970803260803, 0.14110343158245087, 1.0316885709762573, -0.5235474109649658, -0.058982349932193756, 0.812481701374054, -0.4621231257915497, 0.4975738525390625, 0.47363707423210144, 0.19733528792858124, 0.6492576599121094, 0.7484965920448303, 0.3755762279033661, 0.6941237449645996, 0.08153600245714188, -0.37904179096221924, -0.22702376544475555, -0.020791972056031227, -0.24123014509677887, 0.31915926933288574, 0.8204717636108398, -0.7492696046829224, -0.09719300270080566, 0.24496990442276, -0.06612105667591095, -0.2446402907371521, 0.10122014582157135, 1.264400601387024, 0.15880751609802246, -0.8586706519126892, 0.5314319133758545, -0.2054392397403717, 0.2545115053653717, -0.8115748763084412, -0.08339257538318634, -0.2843164801597595, 0.3123704791069031, -0.5004689693450928, -0.38947656750679016, 0.4623776078224182, -0.2515396475791931, -0.28468775749206543, 0.06291575729846954, 0.8102067708969116, -0.6424046754837036, -0.8253096342086792, 0.44100672006607056, 0.20937444269657135, 0.10627812147140503, 0.024725819006562233, -0.4376314878463745, 0.15099003911018372, 0.10829363018274307, -0.17811839282512665, 0.6419081091880798, 0.6990431547164917, -0.15289905667304993, 0.5378182530403137, 0.5461661219596863, 0.3552951514720917, -0.3648854196071625, 0.02592792548239231, 1.0835336446762085, -0.24103471636772156, -0.04349130019545555, -0.49095842242240906, 0.6242212057113647, -0.2892727553844452, -0.12399833649396896, 0.21236960589885712, 0.6147193908691406, 0.655474841594696, 0.2195352166891098, 0.994297981262207, 0.09867476671934128, 0.5634941458702087, -0.8428799510002136, 0.5995782017707825, -0.7921085953712463, 0.5295457243919373, -0.016264451667666435, -0.2063184380531311, -0.6929340958595276, 0.3875665068626404, -0.36642900109291077, -0.3112722933292389, 0.811533510684967, 0.8546403050422668, -0.26257362961769104, -0.33639514446258545, 0.2651078701019287, 0.0752994641661644, 0.604363739490509, 0.4701710343360901, 0.36667951941490173, -0.28591132164001465, 0.4178408980369568, -0.6426512002944946, -0.5042915344238281, -0.26452702283859253, -0.7897394299507141, -0.6115662455558777, -0.584152340888977, -0.45380890369415283, -0.172528937458992, -0.025203382596373558, 1.0154000520706177, 0.9949313998222351, -0.6882609724998474, 0.027832256630063057, 0.04533073678612709, -0.10593760758638382, -0.08851134777069092, -0.25427860021591187, 0.8323422074317932, -0.6847063899040222, -0.3598553240299225, 0.6978510618209839, 0.35533756017684937, -0.15150925517082214, 0.17054800689220428, -0.13218502700328827, 0.09453640133142471, -0.1739942580461502, 0.7385925650596619, 0.060475483536720276, -0.7180200219154358, -0.14129501581192017, -0.11750540882349014, -0.2856137752532959, 0.2585427761077881, 0.9696668982505798, -1.1175633668899536, 0.731852650642395, 0.1476261466741562, 0.7265410423278809, 0.4297480285167694, 0.12218742072582245, 0.5853129029273987, -0.8160903453826904, 0.29850247502326965, 0.44244277477264404, 0.33591029047966003, 0.41526350378990173, -0.8643971085548401, 0.35141339898109436, 0.27805355191230774, -0.6152734160423279, -0.900927722454071, -0.0585680790245533, -0.7793627381324768, -0.4196626842021942, 1.0541852712631226, -0.21867112815380096, 0.04615636169910431, -0.1343487799167633, -0.2725384831428528, 0.22934536635875702, -0.1376393586397171, 0.7723119854927063, 0.3649669587612152, -0.4864085018634796, -0.21867850422859192, -0.28499913215637207, 0.7585132122039795, 0.23882725834846497, -0.9085176587104797, -0.31996917724609375, 0.4120752811431885, 0.4584484398365021, -0.18332639336585999, 0.936772882938385, -0.38627567887306213, 0.17185236513614655, -0.5625085234642029, -0.0907755121588707, -0.14399299025535583, -0.2752348482608795, -0.1884324848651886, 0.18157736957073212, 0.09472700953483582, 0.023359335958957672 ]
http://arxiv.org/abs/2407.01599v1
http://arxiv.org/pdf/2407.01599v1
JailbreakZoo: Survey, Landscapes, and Horizons in Jailbreaking Large Language and Vision-Language Models
2024-06-26T02:20:23
2024-06-26T02:20:23
Haibo Jin, Leyang Hu, Xinuo Li, Peiyan Zhang, Chonghan Chen, Jun Zhuang, Haohan Wang
cs.CL
cs.CL, cs.CR, cs.CV, cs.LG
The rapid evolution of artificial intelligence (AI) through developments in Large Language Models (LLMs) and Vision-Language Models (VLMs) has brought significant advancements across various technological domains. While these models enhance capabilities in natural language processing and visual interactive tasks, their growing adoption raises critical concerns regarding security and ethical alignment. This survey provides an extensive review of the emerging field of jailbreaking--deliberately circumventing the ethical and operational boundaries of LLMs and VLMs--and the consequent development of defense mechanisms. Our study categorizes jailbreaks into seven distinct types and elaborates on defense strategies that address these vulnerabilities. Through this comprehensive examination, we identify research gaps and propose directions for future studies to enhance the security frameworks of LLMs and VLMs. Our findings underscore the necessity for a unified perspective that integrates both jailbreak strategies and defensive solutions to foster a robust, secure, and reliable environment for the next generation of language models. More details can be found on our website: \url{https://chonghan-chen.com/llm-jailbreak-zoo-survey/}.
[ -0.48761820793151855, -0.9443641901016235, 0.5016553997993469, 0.08452937006950378, -0.11499481648206711, 0.46990904211997986, -0.15844085812568665, -0.8085587024688721, 0.26079145073890686, 0.9669086933135986, -0.3678349256515503, -0.3945586383342743, -0.6402872800827026, 0.04315056651830673, -0.42075589299201965, 0.9408113956451416, 0.1900320053100586, 0.08144626766443253, -0.13804064691066742, -0.2834945619106293, -0.5680216550827026, -0.6747421026229858, 0.027247099205851555, -0.007909194566309452, 0.35606062412261963, 0.17849603295326233, 0.6548603773117065, 0.6620515584945679, 0.7176563143730164, 0.3228670656681061, -0.20659089088439941, -0.05133051425218582, -0.2509463131427765, 0.3250780999660492, -0.24406798183918, -0.3206534683704376, -0.15131527185440063, 0.05297612026333809, 0.17973588407039642, 0.5248918533325195, 0.05476203188300133, 0.005825442727655172, -0.3142390847206116, 0.8297868371009827, -0.8876615166664124, -0.2279302328824997, -0.7407562732696533, 0.16929511725902557, -0.4795930087566376, 0.21047939360141754, -0.3791441023349762, -0.15267913043498993, 0.06011063605546951, -0.44409438967704773, -0.33401787281036377, 0.08154220879077911, 0.5507727861404419, 0.08031624555587769, -0.25649988651275635, -0.125239297747612, -0.6771960854530334, 0.7647054195404053, -0.6214081048965454, 0.14385248720645905, 0.39371243119239807, 0.24268369376659393, -0.24848443269729614, -0.5600831508636475, -0.3042728900909424, -0.6160417199134827, 0.3851531445980072, -0.02285371720790863, -0.25004780292510986, 0.1405854970216751, 0.1936517208814621, 0.2873932719230652, -0.2834298014640808, 0.387340784072876, -0.5896399617195129, -0.20766085386276245, 0.7558737993240356, 0.23130212724208832, 0.6569641828536987, -0.034094080328941345, -0.3480500280857086, 0.03126691281795502, -0.9689019918441772, 0.18137851357460022, 0.5485095977783203, 0.2732659876346588, -0.14111702144145966, 0.7782762050628662, -0.13118323683738708, 0.7867498993873596, -0.28144532442092896, -0.10778491944074631, 0.20154225826263428, -0.35977956652641296, -0.15209068357944489, -0.07614165544509888, 0.8651666045188904, 0.5711248517036438, 0.37148958444595337, -0.35768646001815796, -0.2056950479745865, -0.16594679653644562, 0.6399328708648682, -0.42845988273620605, 0.028755052015185356, 0.2772558927536011, -0.4837065041065216, -0.8158702254295349, 0.14575515687465668, -0.9071571826934814, -1.0569720268249512, 0.03799836337566376, 0.1012190729379654, -0.4365368187427521, -0.3000811040401459, 0.1257311850786209, -0.24050186574459076, 0.5117647051811218, 0.18988248705863953, -0.9140276312828064, 0.2625395655632019, 0.7930713891983032, 0.8175333738327026, 0.050405509769916534, -0.4520142674446106, -0.396318256855011, -0.00008135336975101382, -0.31977227330207825, 0.521653413772583, -0.44200432300567627, -0.6658205986022949, 0.061522673815488815, -0.2387569695711136, 0.1344946175813675, -0.5551875829696655, 0.2730713188648224, -0.582810640335083, -0.3023412525653839, -0.0878395363688469, -0.37813514471054077, -0.14044351875782013, 0.44150078296661377, -0.7317977547645569, 0.4692569971084595, -0.04746111109852791, -0.7592057585716248, 0.43939876556396484, -0.7107479572296143, -0.5450433492660522, 0.25520023703575134, -0.18720310926437378, -0.34020015597343445, 0.07469412684440613, 0.15715305507183075, 0.1684415638446808, -0.06711481511592865, 0.41662082076072693, -0.632202684879303, -0.18834717571735382, 0.08749271184206009, -0.1590578258037567, 1.1532671451568604, 0.49416112899780273, -0.658271074295044, 0.32536742091178894, -0.50777268409729, -0.2136329561471939, 0.5303524732589722, -0.16186289489269257, -0.5517165064811707, 0.4388936460018158, 0.12565475702285767, 0.0307255070656538, 0.2838013768196106, -0.6902135014533997, 0.4299317002296448, -0.4028192460536957, 0.8780763745307922, 0.6749680638313293, -0.07764165103435516, 0.6409364938735962, -0.010468803346157074, 0.37698641419410706, 0.07489702105522156, 0.6426004767417908, -0.22644685208797455, -0.29477930068969727, -0.37251436710357666, -0.03507142513990402, 0.0011019756784662604, 0.8478410243988037, -0.30658191442489624, 0.3416175842285156, 0.02547139674425125, -0.6866268515586853, -0.3045418858528137, 0.2697376608848572, 0.21704591810703278, 0.2169085443019867, 0.3425837457180023, -0.33721256256103516, -0.6926484107971191, -0.8946148157119751, -0.519661009311676, -0.4101448953151703, 0.17114321887493134, 0.187111958861351, 0.520910382270813, -0.4197632372379303, 0.9521777033805847, -0.0769961029291153, -0.2243691384792328, -0.48517531156539917, -0.39216187596321106, -0.11877142637968063, 0.4905281364917755, 0.8672915697097778, -0.9080185294151306, -0.053133875131607056, -0.16242972016334534, -0.9267749190330505, 0.12666046619415283, 0.008922453038394451, 0.21634045243263245, 0.06873750686645508, 0.7178926467895508, -0.9044666886329651, 0.5245925784111023, 0.19077350199222565, -0.5259721875190735, 0.7176942229270935, 0.17918744683265686, -0.035946909338235855, -0.7172256112098694, -0.20548588037490845, 0.008573015220463276, -0.06448490172624588, -0.7902646660804749, 0.7259975671768188, -0.17571957409381866, 0.04481564462184906, -0.4983925223350525, 0.35687583684921265, -0.45202380418777466, -0.18625304102897644, -0.19834674894809723, 0.2026064395904541, -0.23842068016529083, -0.18937955796718597, -0.13209748268127441, 0.6670371294021606, 0.7832106947898865, -0.18034741282463074, 0.6970418095588684, 0.2567368745803833, -0.4144245982170105, 0.09528043121099472, -0.48641201853752136, 0.06239006295800209, 0.08195573091506958, 0.20223532617092133, -0.5238825678825378, -0.22649389505386353, 0.5069180727005005, -0.34799277782440186, 0.035054173320531845, -0.1063259020447731, -0.4477476477622986, -0.41619545221328735, -0.6841166019439697, 0.3095596134662628, 0.4922175705432892, -0.35453954339027405, 0.5308698415756226, 0.793913722038269, -0.2066950500011444, -0.8337106108665466, -0.7001862525939941, 0.7293283343315125, -0.6185839772224426, -0.7086673974990845, 0.14411304891109467, 0.20983150601387024, -1.0337461233139038, -0.23179654777050018, 0.06778360903263092, 0.07950638234615326, 0.45472750067710876, 0.3430441617965698, 0.4436090588569641, -0.19729958474636078, -0.3583178222179413, -0.24936923384666443, 0.3011617362499237, 0.4066808521747589, -0.3021615743637085, 0.47195881605148315, -0.40805935859680176, -0.16834436357021332, 0.08043952286243439, 0.453573614358902, 0.8803770542144775, -0.4825056195259094, 0.8721702098846436, 0.08732921630144119, -0.12077056616544724, 0.08481916785240173, -0.5675290822982788, 0.03522208333015442, -0.4620317220687866, 0.3707868456840515, -0.16674326360225677, -1.1391481161117554, 0.5220995545387268, -0.1274382323026657, 0.40711739659309387, 0.24407564103603363, 0.5457267761230469, -0.04759051278233528, 0.5813959836959839, 1.0030187368392944, -0.5738319158554077, 0.6042959690093994, 0.029109328985214233, 0.43239161372184753, -0.6323308348655701, -0.45898932218551636, -0.42241171002388, -0.043826885521411896, -0.6179628372192383, -0.056473538279533386, -0.022168733179569244, 0.1270672231912613, -0.2438727617263794, 0.4460563659667969, -0.38781073689460754, 0.5182980298995972, 0.4306447207927704, -0.10589594393968582, 0.27864694595336914, -0.25970059633255005, -0.08459405601024628, 0.2575458884239197, -0.32154375314712524, -0.6737679243087769, 1.2368464469909668, 0.4753217101097107, 0.6952797770500183, 0.20939196646213531, 0.7859959602355957, 0.40648776292800903, 0.16775983572006226, -0.778100311756134, 0.6893413662910461, 0.011386989615857601, -0.7343900799751282, -0.4250289499759674, -0.060583293437957764, -0.7716871500015259, 0.35813164710998535, -0.09388799220323563, -1.3760639429092407, -0.07839271426200867, -0.014800543896853924, -0.3182220458984375, 0.5445370078086853, -0.5033904910087585, 0.7919241189956665, -0.5871285200119019, -0.3812141716480255, -0.22166778147220612, -1.1296335458755493, 0.7920623421669006, -0.0717892274260521, 0.5029406547546387, -0.22228646278381348, 0.07696602493524551, 0.5376008749008179, -0.6618164777755737, 0.7991206645965576, -0.36078381538391113, -0.09842376410961151, 0.45357251167297363, 0.05378222092986107, 0.2530871629714966, 0.16425256431102753, 0.32355496287345886, 0.17338116466999054, -0.04770474508404732, -0.24855369329452515, -0.05566806346178055, 0.5066617131233215, -0.71406489610672, -0.9890452027320862, -0.3239116370677948, -0.5909537672996521, -0.41418445110321045, 0.35753944516181946, 0.3367270827293396, 0.08826575428247452, -0.3472974896430969, 0.07156697660684586, 0.7911490797996521, -0.3690422773361206, 0.5111529231071472, 0.23373422026634216, -0.6398703455924988, -0.21356719732284546, 0.5519536137580872, -0.11842801421880722, 0.130698561668396, 0.0057596988044679165, -0.017824368551373482, -0.13251832127571106, -0.9372915029525757, -0.503025233745575, -0.11681374907493591, -0.47082090377807617, -0.1333318054676056, -0.5403503179550171, -0.5019262433052063, -0.5570952296257019, -0.3014346659183502, -0.34036391973495483, -0.2275218516588211, 0.07432334125041962, -0.23591972887516022, 0.6573343276977539, 0.6960865259170532, -0.09488830715417862, 0.19068770110607147, -0.7478747367858887, 0.4259754717350006, 0.004179209470748901, 0.17673245072364807, -0.18470463156700134, -0.33506977558135986, -0.04704199358820915, -0.10054574906826019, -0.26512420177459717, -0.8851932287216187, 0.16949225962162018, -0.07529446482658386, 0.5179306268692017, 0.3439023792743683, 0.012940495274960995, 0.40503019094467163, -0.7623263001441956, 0.8862001299858093, 0.2846321761608124, -0.8153003454208374, 0.6945683360099792, -0.49488967657089233, 0.030078602954745293, 0.7099665403366089, -0.06215648353099823, -0.500487208366394, -0.7957746386528015, -0.3206630349159241, -1.1202553510665894, 0.33607882261276245, -0.016398413106799126, 0.4743528962135315, 0.30379927158355713, 0.1906597912311554, -0.11438790708780289, 0.15537254512310028, -0.8043214082717896, -0.07351281493902206, -0.26762107014656067, -0.03209511935710907, 0.049376413226127625, -0.04714861139655113, -0.35729971528053284, -0.3086254894733429, 0.2790757715702057, 0.2515062987804413, -0.10053907334804535, -0.10053203999996185, -0.33049142360687256, 0.16301637887954712, 0.355162113904953, 0.7162622213363647, 0.5343475937843323, -0.005438291933387518, -0.10732654482126236, 0.020068295300006866, -0.9599357843399048, 0.32879403233528137, 0.00988156907260418, -0.3619248867034912, -0.2547563314437866, 0.35156166553497314, 0.6186817288398743, -0.1562023162841797, -1.101323127746582, 0.6630525588989258, 0.08840694278478622, -0.2270776927471161, -0.6008722186088562, 0.18571160733699799, -0.125277578830719, 0.3435874581336975, 0.37891530990600586, 0.16596662998199463, 0.23102368414402008, -0.601394772529602, 0.1040613129734993, 0.616946816444397, -0.17713716626167297, 0.03225447237491608, 0.7285180687904358, 0.1428096890449524, -0.29703423380851746, 0.9019110202789307, 0.22384265065193176, -0.43303459882736206, 0.7545278668403625, 0.3621320128440857, 0.9518762230873108, -0.03953094407916069, 0.09438560158014297, -0.1488935947418213, 0.8501452207565308, -0.009047717787325382, -0.03943391516804695, -0.11456787586212158, -0.8586323261260986, -0.28139522671699524, -0.5295683145523071, -0.4423879086971283, 0.4012101888656616, -0.6318464279174805, 0.08652477711439133, -0.8013221025466919, -0.2272990643978119, -0.06155560910701752, -0.24927569925785065, -0.06165069714188576, -0.026444032788276672, 0.5117225050926208, 1.392647385597229, -0.5219143629074097, 0.7572758793830872, 0.6382942795753479, -0.291997492313385, -0.4446556866168976, -0.011422408744692802, 0.47260504961013794, -0.5593163967132568, 0.5121474862098694, 0.3728333115577698, -0.33020874857902527, -0.33608993887901306, -0.8697484135627747, -0.6878491640090942, 0.7551860809326172, 0.11345291882753372, -0.664431631565094, -0.08838369697332382, 0.17291748523712158, 0.3198704123497009, -0.33111342787742615, -0.42632031440734863, 1.0155690908432007, 0.4832145869731903, -0.4216431975364685, -0.727165937423706, -0.24220368266105652, -0.40270134806632996, 0.0006948714144527912, 0.3822193443775177, -0.6543552875518799, 0.4605126678943634, -0.6880632638931274, 0.13575342297554016, 0.410186767578125, 0.42101335525512695, 0.6315950155258179, 0.3339692950248718, 0.3683239817619324, 0.6757938265800476, 0.21552221477031708, -0.17353203892707825, 0.8754763007164001, -0.251164048910141, 0.0502200722694397, 0.8387715816497803, -0.4371598958969116, 0.7000339031219482, 0.8418260812759399, -0.09939274191856384, 0.2812821865081787, 0.5876214504241943, -0.48509925603866577, 0.6770029664039612, 0.437907338142395, -0.23390129208564758, -0.004444405902177095, 0.23371614515781403, -0.2046612799167633, 0.7495645880699158, 0.45392903685569763, -0.28790920972824097, -0.18217577040195465, 0.34572306275367737, 0.16269370913505554, 0.057390861213207245, -0.5409175753593445, 0.7964900732040405, 0.11291877925395966, -0.4078703820705414, 0.07536834478378296, 0.31647801399230957, 0.7534627914428711, -0.6159262657165527, 0.2449832558631897, -0.16829903423786163, -0.03950248286128044, -0.1417570263147354, -0.8379391431808472, 0.2657873332500458, 0.5838213562965393, 0.08624540269374847, -0.21865272521972656, 0.7918369770050049, 0.1506073772907257, -0.11356189846992493, 0.45022836327552795, 0.34320536255836487, 0.007111174985766411, 0.19394564628601074, -0.736363410949707, 0.3935311734676361, -0.2314966470003128, -0.3798328936100006, 0.5173491835594177, -0.13504008948802948, -0.1592686027288437, 0.8725091218948364, 0.44409212470054626, 0.042458225041627884, 0.3525243103504181, -0.057076405733823776, 0.9309142231941223, -0.7562596797943115, -0.4024111330509186, -1.3485532999038696, 0.45612743496894836, -0.27435413002967834, -0.33508798480033875, 0.8117931485176086, 0.5819449424743652, 0.8571456074714661, 0.040319181978702545, 0.995991051197052, -0.3029502034187317, 0.06978718936443329, -0.5993645191192627, 1.0669212341308594, -0.2912759780883789, 0.2369544357061386, -0.5019091367721558, -0.743272066116333, -0.25722646713256836, 0.4415775239467621, -0.42306259274482727, -0.1399799883365631, 0.17387962341308594, 0.3742351830005646, 0.26612356305122375, -0.08612585812807083, 0.29987943172454834, 0.07124271988868713, 0.20075781643390656, 0.5130152702331543, 1.2554937601089478, -0.16063126921653748, 0.39406973123550415, -0.1297013908624649, -0.18414856493473053, -0.2557828724384308, -0.5514892339706421, -0.7458503842353821, -0.3143695294857025, -0.052883654832839966, -0.19233301281929016, 0.1472972184419632, 0.6034039855003357, 0.4579295516014099, -0.6789714097976685, -0.3980195224285126, -0.21245136857032776, 0.09980326145887375, 0.012028922326862812, -0.22015349566936493, -0.3004942834377289, -0.34295526146888733, -0.23136864602565765, 0.543341875076294, 0.6767876744270325, 0.010926383547484875, -0.5034487247467041, 0.036967042833566666, -0.008791093714535236, 0.2163545787334442, 0.7337737679481506, 0.6769263744354248, -1.0799927711486816, -0.16529744863510132, 0.0032673836685717106, -0.2710641324520111, 0.056134141981601715, 0.7479532957077026, -0.717402994632721, 0.33826151490211487, 0.10138827562332153, 0.8985506892204285, 0.015070896595716476, -0.20662638545036316, 0.5522045493125916, -0.18034523725509644, 0.35664016008377075, 0.3162600100040436, 0.5057711601257324, 0.22791777551174164, -0.31104400753974915, 0.42209091782569885, 0.20749278366565704, -0.39689695835113525, -1.0207147598266602, 0.6247292757034302, -0.7392598390579224, -0.5445858836174011, 0.8104809522628784, -0.0896516889333725, -0.28318753838539124, -0.2278030663728714, -0.07251187413930893, -0.1734025627374649, -0.0464494526386261, 0.9357073903083801, 0.7820117473602295, -0.055946189910173416, -0.3013419806957245, -0.6948294043540955, 0.3333378732204437, 0.05696367844939232, -0.9395822882652283, 0.2589845359325409, 0.6423804759979248, 0.26321592926979065, 0.2614514231681824, 0.3259473741054535, -0.5173535943031311, 0.39141789078712463, -0.0031717903912067413, -0.10490231215953827, -0.08048267662525177, -0.4238404631614685, -0.42819246649742126, 0.1989213079214096, 0.21758215129375458, 0.0038772178813815117 ]
http://arxiv.org/abs/2406.18002v1
http://arxiv.org/pdf/2406.18002v1
Decoding with Limited Teacher Supervision Requires Understanding When to Trust the Teacher
2024-06-26T01:16:12
2024-06-26T01:16:12
Hyunjong Ok, Jegwang Ryu, Jaeho Lee
cs.CL
cs.CL, cs.AI
How can sLLMs efficiently utilize the supervision of LLMs to improve their generative quality? This question has been well studied in scenarios where there is no restriction on the number of LLM supervisions one can use, giving birth to many decoding algorithms that utilize supervision without further training. However, it is still unclear what is an effective strategy under the limited supervision scenario, where we assume that no more than a few tokens can be generated by LLMs. To this end, we develop an algorithm to effectively aggregate the sLLM and LLM predictions on initial tokens so that the generated tokens can more accurately condition the subsequent token generation by sLLM only. Critically, we find that it is essential to adaptively overtrust or disregard the LLM prediction based on the confidence of the sLLM. Through our experiments on a wide range of models and datasets, we demonstrate that our method provides a consistent improvement over conventional decoding strategies.
[ -0.13656526803970337, -0.2579389810562134, 0.6450204849243164, 0.21322953701019287, -0.49512922763824463, 0.24873992800712585, -0.0033609026577323675, -0.4088033437728882, -0.04730549827218056, 0.42022284865379333, -0.33062419295310974, -0.6545186638832092, -1.0837171077728271, 0.16411811113357544, -0.6447395086288452, 1.0264315605163574, 0.05608504265546799, 0.5050978064537048, -0.42123839259147644, 0.028376422822475433, -0.3522033393383026, -0.4735530614852905, -0.7192407846450806, -0.5571319460868835, 0.14989547431468964, 0.3987422287464142, 0.503387987613678, 0.5360960364341736, 0.3348222076892853, 0.12052130699157715, -0.4255215525627136, 0.7280030250549316, -0.7291373014450073, 0.07902469485998154, -0.05167030915617943, -0.6829795837402344, -0.5534592270851135, -0.2583272159099579, 0.47876977920532227, 0.47569969296455383, -0.24561083316802979, 0.34394755959510803, 0.26144248247146606, 0.3293135166168213, -0.6963921785354614, 0.15560069680213928, -0.96819669008255, 0.2431536614894867, 0.12015677988529205, -0.6067696213722229, -0.9593140482902527, -0.2865602672100067, -0.041249725967645645, -0.6955665946006775, 0.19642825424671173, 0.11941393464803696, 0.42497265338897705, 0.09215181320905685, -0.4357113540172577, -0.34383630752563477, -0.4372541606426239, 0.8818739652633667, -0.49209925532341003, 0.3301783502101898, 0.7912369966506958, -0.048388395458459854, -0.2700859606266022, -0.9026268720626831, -0.14262616634368896, 0.08849210292100906, -0.2822954058647156, 0.20432233810424805, 0.07194644957780838, 0.2502146065235138, 0.24383170902729034, 0.17864178121089935, -0.03535453602671623, 0.09084966033697128, -0.4457346200942993, -0.39175793528556824, 0.30100104212760925, 0.38083893060684204, -0.01441182754933834, -0.07470987737178802, -0.7279843091964722, 0.06508876383304596, -0.7684845328330994, 0.12965644896030426, 0.16386060416698456, 0.103971466422081, 0.03224394470453262, 0.4593179225921631, 0.2938719391822815, 0.48350661993026733, 0.12178962677717209, -0.3141842782497406, -0.0877009779214859, -0.32879093289375305, -0.3538878560066223, 0.382194846868515, 0.19054460525512695, 0.5495350360870361, 0.1766534447669983, -0.39002057909965515, -0.28668418526649475, 0.39026784896850586, 0.3199038803577423, -0.48755040764808655, -0.06822865456342697, 0.16913574934005737, -0.36728981137275696, -0.3980041742324829, 0.019298173487186432, -0.693156361579895, -0.6676512360572815, -0.23551669716835022, 0.36639758944511414, -0.5313525199890137, -0.19965963065624237, 0.14714525640010834, -0.1509000062942505, 0.21824538707733154, 0.3092356026172638, -1.0088696479797363, 0.49475979804992676, 0.8862061500549316, 0.9319530725479126, -0.3778652846813202, -0.4857655167579651, -0.8556419014930725, 0.19435058534145355, -0.6034246683120728, 0.14899149537086487, -0.22804442048072815, -0.6050899028778076, -0.0068250554613769054, -0.29485008120536804, -0.0795033797621727, -0.17694596946239471, 0.5896958112716675, -0.7760915160179138, -0.10608891397714615, -0.1520473062992096, -0.9477725625038147, 0.29487210512161255, 0.03299179673194885, -0.43634968996047974, 0.7247656583786011, 0.34509527683258057, -0.9493227005004883, 0.6587984561920166, -0.34718120098114014, -0.37091201543807983, -0.0806310623884201, -0.07289492338895798, -0.3749708831310272, 0.5110802054405212, 0.560497522354126, 0.4412418007850647, 0.20721516013145447, 0.3426440954208374, -0.20940974354743958, -0.7816846370697021, 0.36831170320510864, -0.438739538192749, 0.9053297638893127, 0.297840416431427, -0.14706595242023468, 0.054530903697013855, -0.5559695363044739, 0.22240683436393738, -0.07823698967695236, -0.31685683131217957, -0.29299384355545044, -0.009793314151465893, -0.2305382788181305, -0.45909348130226135, 0.11621022969484329, -0.29719656705856323, 0.10881255567073822, -0.6445797681808472, 0.41194412112236023, 1.2810981273651123, 0.17067646980285645, 0.7357189655303955, -0.18771030008792877, 0.5759913921356201, 0.18082351982593536, 0.31790319085121155, -0.4600065350532532, -0.13766099512577057, -1.1145626306533813, -0.15658527612686157, 0.23537583649158478, 0.26465684175491333, -0.8937985897064209, 0.19820982217788696, -0.4088872969150543, -0.015783678740262985, -0.8365046381950378, 0.3812500834465027, 0.4947744905948639, 0.32562726736068726, 0.4551742970943451, -0.4210924506187439, -0.9737986922264099, -0.3165052533149719, -0.1844397336244583, -0.03594745695590973, 0.13569515943527222, 0.06088199093937874, 0.29559406638145447, -0.03326378017663956, 0.9330988526344299, -0.308851420879364, -0.34065863490104675, -0.031923893839120865, -0.11225979775190353, 0.4339274764060974, 0.4934583604335785, 0.4525102376937866, -0.5253313779830933, -0.642475426197052, -0.12704941630363464, -0.7596186399459839, 0.40666070580482483, -0.2601945996284485, -0.22307831048965454, 0.28629299998283386, 0.6550010442733765, -0.6956459879875183, 0.44366970658302307, 0.6626761555671692, -0.5206625461578369, 0.31886669993400574, -0.3319757580757141, -0.23525255918502808, -0.9237546920776367, -0.39780569076538086, -0.41079622507095337, -0.6224384903907776, -0.6247406005859375, 0.3434324264526367, 0.11178646981716156, 0.12465354800224304, -0.20561017096042633, 0.19707393646240234, -0.6963368058204651, -0.20919330418109894, -0.26119664311408997, 0.007103233598172665, -0.050487417727708817, 0.35313135385513306, -0.061875805258750916, 0.9044576287269592, 0.9509715437889099, -0.4090297520160675, 0.2383815348148346, 0.20170703530311584, -0.6603484749794006, 0.4617946445941925, -0.4423777163028717, 0.30907002091407776, -0.18838168680667877, 0.268904447555542, -0.8633108735084534, -0.05007629096508026, 0.23517116904258728, -0.5674353837966919, 0.4499894380569458, -0.2894468307495117, -0.49427035450935364, -0.27797383069992065, -0.23692762851715088, 0.26026633381843567, 0.7994851469993591, -0.9543762803077698, 0.676678478717804, 0.02040068246424198, 0.33823540806770325, -0.7937942147254944, -0.8118513822555542, 0.24429631233215332, -0.17338353395462036, -0.19817127287387848, 0.13422490656375885, 0.09213036298751831, -0.13957203924655914, 0.23890189826488495, -0.5289642214775085, -0.07285748422145844, 0.30318978428840637, 0.40282660722732544, 0.2382386177778244, -0.17312029004096985, -0.1422652155160904, 0.17277853190898895, -0.22506308555603027, 0.21613746881484985, -0.5816788077354431, 0.444894939661026, 0.10639485716819763, -0.5389634370803833, -0.13445639610290527, 0.23917599022388458, 0.6337311267852783, 0.009107089601457119, 0.9116052389144897, 0.7984985709190369, -0.178593710064888, -0.7794381380081177, -0.3030444383621216, -0.3568829894065857, -0.5269855856895447, 0.10751544684171677, -0.38972243666648865, -0.8743383884429932, 0.4238312244415283, 0.1461031138896942, -0.05700383335351944, -0.10634709894657135, 0.29537516832351685, 0.028907638043165207, 0.9574971795082092, 0.612152636051178, -0.32999923825263977, 0.2938963770866394, -0.27430260181427, 0.01216891873627901, -0.8316221833229065, -0.3111911416053772, 0.10780969262123108, 0.022314978763461113, -0.3916543126106262, -0.5502303242683411, 0.37516456842422485, 0.34464430809020996, 0.021984681487083435, 0.1694275140762329, -0.6621370911598206, 0.6369675993919373, 0.7992205023765564, 0.5848014950752258, 0.4242909252643585, 0.28346729278564453, -0.16177399456501007, 0.06135720759630203, -0.8874311447143555, -0.21824060380458832, 1.2988779544830322, 0.5145841836929321, 0.8048644065856934, 0.09287942200899124, 1.1999504566192627, 0.43446648120880127, 0.3862798810005188, -0.6341809034347534, 0.42587512731552124, -0.04514018073678017, -0.5526524782180786, -0.3002120852470398, -0.3508734703063965, -0.8524954319000244, 0.4534359276294708, -0.2319316416978836, -0.6023297309875488, 0.17516040802001953, 0.33970192074775696, -0.20869803428649902, 0.27039262652397156, -0.6079191565513611, 0.2962277829647064, 0.00971921719610691, -0.3327392339706421, -0.1790788620710373, -0.6545286774635315, 0.4245251715183258, -0.22474591434001923, 0.1591338813304901, 0.08920446783304214, -0.06342930346727371, 0.45129409432411194, -0.2965944707393646, 1.1493993997573853, -0.3403586745262146, -0.10858738422393799, 0.4735924303531647, 0.09658560901880264, 0.7916449308395386, 0.15714798867702484, -0.11048096418380737, -0.16167190670967102, 0.057815734297037125, -0.564994752407074, -0.5995464324951172, 0.5064261555671692, -0.9090198874473572, -0.596883237361908, -0.4490779936313629, -0.39306023716926575, -0.3750718832015991, 0.13050465285778046, 0.5428778529167175, 0.21393291652202606, 0.17939303815364838, 0.27640050649642944, 0.6542482972145081, 0.19765284657478333, 0.3734622895717621, 0.14094427227973938, -0.14629006385803223, -0.549858033657074, 0.8539403676986694, 0.0008040419197641313, 0.357342004776001, 0.05594633147120476, 0.023846376687288284, -0.3369271457195282, -0.9567749500274658, -0.08408261835575104, -0.24462734162807465, -1.0641536712646484, -0.6126716136932373, -0.20168691873550415, -0.24682727456092834, -0.4113803207874298, -0.2075558751821518, -0.03773922100663185, 0.010870562866330147, -0.7457700967788696, -0.6351951360702515, 0.43584364652633667, 0.566153883934021, 0.003677572123706341, 0.5013299584388733, -0.6624518036842346, 0.16045840084552765, 0.3022104501724243, 0.45633623003959656, 0.2611209452152252, -0.7173312306404114, -0.3364369571208954, -0.00855917390435934, 0.15271979570388794, -0.7334666848182678, 0.291260689496994, 0.1601046621799469, 0.6831459999084473, 0.4717341661453247, 0.38343384861946106, 0.9272956848144531, -0.3643013834953308, 0.7542580962181091, 0.485142320394516, -1.281093716621399, 0.24756599962711334, -0.07923178374767303, -0.040873415768146515, 0.36973699927330017, 0.07579454779624939, -0.10684489458799362, -0.6383068561553955, -0.5296240448951721, -0.8993337750434875, 0.9311292171478271, 0.3057597875595093, 0.5004981756210327, 0.04914158955216408, 0.42167627811431885, 0.11815542727708817, 0.1449500322341919, -0.8855098485946655, -0.22002831101417542, -0.5177010893821716, -0.3039695918560028, -0.3633096218109131, -0.9200134873390198, -0.5060933232307434, -0.20190684497356415, 0.32467639446258545, -0.0640614926815033, 0.25788813829421997, 0.21829111874103546, -0.2670750021934509, -0.1805058866739273, 0.22775189578533173, 0.6458320021629333, 0.8593616485595703, -0.19650211930274963, 0.6216958165168762, 0.723366916179657, -0.3856925666332245, 0.21565385162830353, -0.5075926184654236, -0.2163059264421463, 0.06819488108158112, 0.7978586554527283, 1.1651544570922852, 0.15010212361812592, -0.37019988894462585, 0.5299031138420105, 0.27568188309669495, -0.4046235978603363, -0.4622223675251007, 0.27060890197753906, -0.014310242608189583, 0.3849774897098541, 0.4867907762527466, 0.053691282868385315, -0.18211545050144196, -0.22449766099452972, 0.6107125282287598, 0.22969038784503937, -0.21985973417758942, -0.16542375087738037, 0.5200046300888062, 0.10728058218955994, -0.04875534772872925, 0.5013759732246399, -0.20706313848495483, -0.4753175675868988, 0.5238597393035889, 0.863855242729187, 0.642799437046051, -0.04932001978158951, 0.16236081719398499, 0.22878846526145935, 0.35672247409820557, -0.36397936940193176, 0.05276938155293465, -0.14416728913784027, -0.9721451997756958, -0.5123972296714783, -0.6669208407402039, -0.3556133508682251, -0.1320255696773529, -1.049091100692749, 0.043759461492300034, -0.7008908987045288, -0.3365107476711273, -0.5741434097290039, -0.12525081634521484, -0.49662527441978455, 0.16993138194084167, 0.04945966973900795, 0.9453375339508057, -0.8747511506080627, 1.0592665672302246, 0.2948148548603058, -0.05075998976826668, -0.9696722626686096, -0.1641586273908615, -0.3169363737106323, -1.3288979530334473, 0.6051098704338074, 0.004070050083100796, -0.342795193195343, 0.2833368480205536, -0.6744285225868225, -0.6615391969680786, 1.2675966024398804, 0.3294805884361267, -0.4587355852127075, -0.05952323228120804, -0.12647277116775513, 0.6473897099494934, -0.40784937143325806, -0.1825932264328003, 0.5571882724761963, 0.3297908902168274, 0.20064334571361542, -0.5578213930130005, 0.014937910251319408, 0.19785773754119873, -0.07937860488891602, -0.05584195256233215, -0.25735267996788025, 0.7337037324905396, -0.35747188329696655, -0.45781517028808594, 0.2018645703792572, 0.7670645713806152, 0.09831123799085617, 0.7119600772857666, 0.567518949508667, 0.43127819895744324, 0.7605714201927185, 0.18873529136180878, 0.9392067193984985, -0.40216323733329773, 0.653190553188324, 1.4030383825302124, 0.121648408472538, 0.687109112739563, 0.6964669227600098, -0.291946142911911, 0.10177221894264221, 0.6604717969894409, -0.3423022925853729, 0.7431381344795227, -0.0710916817188263, -0.3746597468852997, -0.5491123795509338, -0.28556695580482483, -0.24620585143566132, 0.3859998285770416, 0.3375764787197113, -0.7195267081260681, -0.0866648256778717, -0.04363417625427246, -0.19180133938789368, 0.2266274243593216, -0.6515067219734192, 0.8172552585601807, 0.32274115085601807, -0.6171652674674988, 0.7152740359306335, -0.055545538663864136, 0.6470648050308228, -0.4863213002681732, 0.27059507369995117, -0.33666089177131653, 0.045322924852371216, -0.510456383228302, -0.6285972595214844, 0.11236902326345444, -0.11294230073690414, 0.07635600119829178, -0.42884451150894165, 0.8192232847213745, -0.4770187437534332, -0.4351803660392761, 0.47434648871421814, 0.4940626323223114, -0.07690539956092834, 0.43261444568634033, -0.15055163204669952, 0.09819074720144272, 0.10769587010145187, -0.021435828879475594, 0.3840356767177582, 0.3417934775352478, 0.31876710057258606, 0.6965928673744202, 0.6582818627357483, 0.4212629199028015, 0.30541956424713135, -0.02491399087011814, 0.9139999151229858, -0.31429168581962585, -0.38300973176956177, -1.093725562095642, 0.313355416059494, 0.012161623686552048, -0.006000615656375885, 0.9132080078125, 0.24195744097232819, 0.8597582578659058, -0.15765100717544556, 0.7209572792053223, 0.4325595796108246, 0.1602935940027237, -0.8992910981178284, 0.4273834824562073, -0.3854628801345825, 0.29507723450660706, -0.05826769396662712, -0.6337377429008484, -0.3392401933670044, 0.6935329437255859, 0.11117802560329437, -0.31385746598243713, 0.5732885599136353, 0.6332798600196838, -0.06829910725355148, -0.07240846008062363, 0.48504820466041565, -0.019140392541885376, 0.1473703235387802, 0.6353245973587036, 0.9172525405883789, -0.1373332291841507, 0.7289537787437439, -0.207506462931633, 0.19874612987041473, -0.18258512020111084, -0.8055984377861023, -1.0929516553878784, -0.25483328104019165, 0.11537612974643707, -0.5057172775268555, 0.04965245723724365, 0.8498912453651428, 0.6020298004150391, -0.835731029510498, -0.011108794249594212, -0.4101259410381317, 0.4501642882823944, -0.23642879724502563, -0.13431599736213684, 0.423443078994751, -0.5261385440826416, -0.6698551177978516, 0.3633904457092285, -0.03493297100067139, 0.24992159008979797, -0.225175142288208, -0.41823267936706543, 0.4456413984298706, 0.06455551832914352, 0.761858344078064, -0.26492273807525635, -0.8505768775939941, -0.46453893184661865, 0.032763756811618805, -0.23934024572372437, 0.0011710383696481586, 0.9359273910522461, -0.3222975432872772, 0.6586917042732239, 0.2680874764919281, 0.7566514611244202, 0.6181326508522034, 0.22793163359165192, 0.39287203550338745, -1.0835286378860474, 0.08551550656557083, 0.31084224581718445, 0.22833429276943207, 0.08150658011436462, -0.4671177864074707, 0.5810211896896362, 0.16099601984024048, -0.24978318810462952, -1.2561992406845093, 0.28978389501571655, -0.9125334620475769, -0.2584420144557953, 1.1657270193099976, -0.5534723401069641, -0.018537573516368866, -0.08413399755954742, -0.06274821609258652, 0.19739611446857452, -0.4173104166984558, 0.7503923773765564, 0.6681139469146729, -0.0008811075240373611, -0.3477497100830078, -0.09091533720493317, 0.555821418762207, 0.48374873399734497, -0.24865256249904633, 0.08623306453227997, 0.28172567486763, 0.2793196737766266, -0.01576889678835869, 0.7650951147079468, 0.1556566059589386, 0.33854883909225464, 0.3531499207019806, -0.5603452324867249, -0.48810020089149475, -0.4623109698295593, -0.42901840806007385, 0.43664395809173584, 0.45666539669036865, -0.4469950199127197 ]
http://arxiv.org/abs/2406.17992v1
http://arxiv.org/pdf/2406.17992v1
Catching Chameleons: Detecting Evolving Disinformation Generated using Large Language Models
2024-06-26T00:21:39
2024-06-26T00:21:39
Bohan Jiang, Chengshuai Zhao, Zhen Tan, Huan Liu
cs.CL
cs.CL, cs.AI
Despite recent advancements in detecting disinformation generated by large language models (LLMs), current efforts overlook the ever-evolving nature of this disinformation. In this work, we investigate a challenging yet practical research problem of detecting evolving LLM-generated disinformation. Disinformation evolves constantly through the rapid development of LLMs and their variants. As a consequence, the detection model faces significant challenges. First, it is inefficient to train separate models for each disinformation generator. Second, the performance decreases in scenarios when evolving LLM-generated disinformation is encountered in sequential order. To address this problem, we propose DELD (Detecting Evolving LLM-generated Disinformation), a parameter-efficient approach that jointly leverages the general fact-checking capabilities of pre-trained language models (PLM) and the independent disinformation generation characteristics of various LLMs. In particular, the learned characteristics are concatenated sequentially to facilitate knowledge accumulation and transformation. DELD addresses the issue of label scarcity by integrating the semantic embeddings of disinformation with trainable soft prompts to elicit model-specific knowledge. Our experiments show that \textit{DELD} significantly outperforms state-of-the-art methods. Moreover, our method provides critical insights into the unique patterns of disinformation generation across different LLMs, offering valuable perspectives in this line of research.
[ -0.39597177505493164, -0.9163994193077087, 0.5292383432388306, 0.035415101796388626, -0.5674883723258972, 0.1595255434513092, -0.19793368875980377, -0.15957552194595337, -0.04567159712314606, 0.622920572757721, -0.5755331516265869, -0.6135013699531555, -0.9243930578231812, 0.08799757808446884, -0.4830761253833771, 0.9835847616195679, 0.31932222843170166, -0.4039804935455322, -0.1266358345746994, 0.026428718119859695, -0.34088966250419617, -0.44909924268722534, -0.6585217118263245, -0.28800880908966064, 0.5893294215202332, 0.43567967414855957, 0.4052596092224121, 0.7347593903541565, 0.287315309047699, 0.3272179663181305, -0.29786303639411926, 0.6253610849380493, -0.41419491171836853, 0.38868844509124756, -0.09064169228076935, -0.4333593547344208, 0.0002836634812410921, 0.07798879593610764, 0.4063796401023865, 0.5221996307373047, -0.26563897728919983, 0.11757220327854156, 0.022886477410793304, 0.5070950984954834, -0.6831060647964478, 0.23976853489875793, -0.9403833150863647, -0.10966943949460983, -0.569874107837677, -0.37889131903648376, -0.574617326259613, -0.4295741319656372, -0.06956622004508972, -0.02596559002995491, 0.18952424824237823, -0.1575564295053482, 0.5361554026603699, 0.43113973736763, -0.3847914934158325, -0.6420634984970093, -0.8036535978317261, 0.5955818295478821, -0.9505190253257751, 0.30004653334617615, 0.198533833026886, 0.16665755212306976, -0.4911504089832306, -0.7717778086662292, -1.0614584684371948, -0.37145277857780457, 0.14232230186462402, -0.3007448613643646, -0.35272666811943054, -0.29027312994003296, 0.3679800033569336, 0.1378338634967804, -0.6156109571456909, 0.5462415814399719, -0.06587931513786316, -0.08670163154602051, 0.6021235585212708, -0.07856302708387375, 0.43689244985580444, -0.12576833367347717, -0.31066322326660156, -0.04739446938037872, -0.6979485750198364, -0.2434241771697998, 0.3893550634384155, 0.23349419236183167, -0.06067739054560661, 0.2871839106082916, -0.033319272100925446, 0.6231271028518677, 0.24242046475410461, -0.2839394807815552, 0.35238486528396606, 0.005477087572216988, -0.06063434109091759, 0.4107440710067749, 0.6461555361747742, 0.028924493119120598, 0.25318995118141174, 0.0579049251973629, -0.3872172236442566, 0.07876589894294739, 0.08508419245481491, -0.5535292625427246, -0.40359818935394287, 0.06100648641586304, -0.2966269254684448, -0.54179847240448, -0.16062034666538239, -1.0829260349273682, -0.9253938794136047, -0.21548721194267273, 0.09541463851928711, -0.5393710732460022, -0.3400404751300812, 0.26683101058006287, -0.07104340195655823, 0.1411360204219818, 0.34194818139076233, -0.7880245447158813, -0.13277855515480042, 0.8535134792327881, 0.8087035417556763, -0.06788366287946701, -0.2333824187517166, -0.6101489663124084, 0.12787090241909027, -0.13891063630580902, 0.7297587394714355, -0.547542154788971, -0.3457350730895996, 0.062140755355358124, -0.07128224521875381, 0.17414483428001404, -0.7687235474586487, 0.4387377202510834, -0.8403053879737854, 0.08852442353963852, -0.12496284395456314, -0.5467201471328735, -0.312552809715271, 0.40000665187835693, -0.6677699089050293, 0.7028661966323853, 0.07203464210033417, -0.9451339244842529, 0.5606405735015869, -0.443653404712677, -0.38729146122932434, 0.3232317268848419, -0.2522770166397095, -0.6762895584106445, 0.06856868416070938, 0.24580714106559753, 0.35508987307548523, -0.3384804129600525, 0.3632970452308655, -0.44966697692871094, 0.0552358478307724, 0.47700393199920654, -0.6159681677818298, 0.8069846034049988, 0.3571091592311859, -0.5599215626716614, -0.31410953402519226, -0.8519182205200195, -0.2241232842206955, 0.21491484344005585, -0.40895751118659973, -0.722011148929596, 0.23699851334095, -0.593938946723938, 0.3014895021915436, 0.2786865532398224, -0.31856343150138855, 0.294086217880249, 0.00870425347238779, 0.38295888900756836, 0.7875365018844604, 0.5198488235473633, -0.04397374391555786, -0.29140523076057434, 0.3353910744190216, 0.7208493947982788, 0.19656597077846527, -0.3741769790649414, -0.27442917227745056, -0.9188129305839539, -0.3360571265220642, 0.045765239745378494, 0.40916192531585693, -0.9082422256469727, 0.6508215665817261, -0.22098469734191895, -0.6789066791534424, -0.28132423758506775, 0.3193341791629791, 0.27417638897895813, 0.5088636875152588, 0.3828910291194916, 0.017017681151628494, -0.44855549931526184, -0.8239631056785583, -0.1878604292869568, -0.07831104844808578, 0.18001803755760193, -0.19543391466140747, 0.5098861455917358, -0.6655966639518738, 0.876163899898529, -0.5922605395317078, 0.25611793994903564, -0.22416633367538452, 0.367720365524292, 0.19132567942142487, 0.5499537587165833, 0.6935913562774658, -0.9101182818412781, -0.21841855347156525, -0.06464220583438873, -0.7100815176963806, -0.3829726278781891, -0.1985042542219162, 0.20142966508865356, -0.05028866231441498, 0.5371397137641907, -0.5527169704437256, 0.1341550350189209, 0.36257535219192505, -0.057021621614694595, 0.41934552788734436, -0.13773293793201447, 0.22190403938293457, -0.9353776574134827, -0.07752254605293274, 0.19829630851745605, -0.060508135706186295, -0.7636235356330872, -0.16105814278125763, 0.05171814188361168, 0.10458389669656754, -0.4395564794540405, 0.15784165263175964, -0.4380466639995575, 0.35500583052635193, -0.23823079466819763, 0.3690021336078644, -0.2253647744655609, 0.26279357075691223, -0.11982520669698715, 0.39746910333633423, 0.371448278427124, -1.0180716514587402, 0.444019079208374, 0.026133853942155838, -0.5388643741607666, 0.33665600419044495, -0.47192737460136414, 0.3050900995731354, -0.5038301944732666, 0.08040483295917511, -0.8767229914665222, -0.06801966577768326, 0.47908300161361694, -0.20067280530929565, 0.5359996557235718, -0.2714053690433502, -0.6461906433105469, -0.4989149868488312, -0.23204992711544037, 0.43542957305908203, 0.6716143488883972, -0.7739274501800537, 0.05915962532162666, 0.4766242802143097, -0.3978690505027771, -0.5434247851371765, -0.6291269659996033, -0.09549635648727417, -0.4823465347290039, -0.5753288269042969, -0.07597250491380692, 0.0018062237650156021, -0.41668570041656494, -0.24725434184074402, -0.24833500385284424, 0.08305132389068604, 0.0912381038069725, -0.06025979295372963, 0.05009455606341362, -0.18440833687782288, 0.1432541012763977, 0.2162618190050125, -0.05808808282017708, -0.02764872834086418, -0.6371629238128662, 0.8605321049690247, 0.2446187287569046, -0.45575985312461853, -0.45952820777893066, -0.038764216005802155, 0.9787726998329163, -0.4355420470237732, 0.8544942736625671, 0.33574020862579346, -0.2938372492790222, -0.8363381028175354, -0.8070393204689026, -0.12359562516212463, -0.5356742739677429, 0.43256914615631104, 0.0702354833483696, -0.5993506908416748, 0.38961145281791687, -0.5322406888008118, 0.004944508895277977, 0.24473147094249725, 0.4400407671928406, 0.22013968229293823, 0.794926106929779, 0.47757118940353394, 0.03439544141292572, 0.46997296810150146, -0.17509682476520538, 0.219482421875, -0.5122494697570801, -0.5789850354194641, -0.5669324994087219, -0.34794601798057556, -0.7260982394218445, -0.4659254848957062, 0.19502612948417664, 0.15471836924552917, -0.15040823817253113, 0.2600177526473999, -0.4174506664276123, 0.535658061504364, 0.322172075510025, 0.10348623991012573, 0.44329020380973816, -0.0786377340555191, -0.005605283658951521, -0.005590307526290417, -0.48006555438041687, -0.5805124044418335, 0.8185379505157471, 0.29189884662628174, 0.8816010355949402, 0.2782520353794098, 0.7933693528175354, 0.7750855088233948, 0.2948169410228729, -0.3815482556819916, 0.5666998624801636, -0.22847841680049896, -0.11484598368406296, -0.08342786878347397, -0.5399205088615417, -0.8651279807090759, 0.13881486654281616, 0.10171433538198471, -0.6911270618438721, 0.39283859729766846, 0.18393594026565552, -0.046780962496995926, 0.4676823616027832, -0.3527100384235382, 0.5564820766448975, -0.4309835135936737, -0.13179263472557068, -0.2146526426076889, -0.40043190121650696, 0.8308690190315247, -0.5793188214302063, 0.2296944558620453, -0.20445603132247925, -0.07524179667234421, 0.5554409027099609, -0.33596694469451904, 0.8572229743003845, -0.3450072407722473, -0.5021399855613708, 0.5540078282356262, 0.265821248292923, 0.669121503829956, 0.3176771104335785, -0.133651465177536, 0.023879792541265488, -0.37335965037345886, -0.2547907531261444, -0.66618812084198, 0.8052905797958374, -0.6769652366638184, -0.6765627861022949, -0.4477185606956482, -0.29029417037963867, -0.016547678038477898, 0.20897620916366577, 0.37809792160987854, 0.3802649676799774, 0.08243001997470856, 0.010167788714170456, 0.9276110529899597, -0.47622421383857727, 0.5041375160217285, 0.8194181323051453, -0.06817410886287689, -0.21165338158607483, 1.0423024892807007, 0.0020626646000891924, 0.16922864317893982, 0.37294888496398926, 0.18983329832553864, -0.4572400152683258, -0.877769947052002, -0.2384333461523056, 0.35398268699645996, -0.6889100074768066, -0.2147389054298401, -0.5897396206855774, -0.19255809485912323, -0.28202131390571594, 0.21275798976421356, -0.17711780965328217, -0.05536080151796341, -0.2844705581665039, 0.13529625535011292, 0.2621035575866699, 0.774897575378418, 0.03428154066205025, 0.22293385863304138, -1.0654306411743164, 0.07200495153665543, 0.36117425560951233, 0.04304042458534241, 0.06816212087869644, -0.5927278399467468, 0.0680631548166275, 0.3619306683540344, -0.3567655682563782, -1.0400454998016357, 0.3801233768463135, 0.025720400735735893, 0.7602032423019409, 0.7709576487541199, 0.39760708808898926, 0.2561447024345398, -0.24276970326900482, 0.8458439707756042, 0.10525330901145935, -0.8390649557113647, 0.7550539374351501, -0.28440943360328674, 0.24978703260421753, 0.4367332458496094, 0.5564570426940918, -0.697170078754425, -0.32720041275024414, -0.5184280872344971, -0.625188410282135, 0.6688269376754761, -0.11974489688873291, 0.049187690019607544, -0.40029698610305786, 0.4115106463432312, 0.33541223406791687, 0.5997822880744934, -0.5950798392295837, -0.14442017674446106, -0.009834208525717258, -0.0259394533932209, -0.09094874560832977, -0.3911078870296478, 0.025037024170160294, 0.07917336374521255, 0.6450145244598389, 0.15193487703800201, -0.29241490364074707, -0.14702028036117554, -0.3654819130897522, 0.2935594618320465, 0.3441169559955597, 0.7873415350914001, 0.2879619300365448, 0.25516003370285034, 0.5367574095726013, -0.02140488289296627, -0.5099563598632812, 0.4200138449668884, -0.1413053274154663, -0.3871634900569916, 0.10660873353481293, 0.4169495701789856, 0.6604188084602356, 0.03983433172106743, -0.8464489579200745, 0.5312636494636536, 0.18144842982292175, 0.08657806366682053, -0.27224212884902954, 0.20542404055595398, -0.17216861248016357, 0.2810194194316864, 0.15095661580562592, 0.09730338305234909, -0.15529368817806244, -0.47382116317749023, 0.51003497838974, 0.20299376547336578, -0.14362937211990356, -0.42283621430397034, 0.3128054738044739, 0.40645524859428406, -0.4212033152580261, 0.9528670907020569, -0.6465282440185547, -0.5532621741294861, 0.5608655214309692, 0.591728925704956, 0.9011630415916443, -0.42936715483665466, 0.34147411584854126, 0.10816525667905807, 0.37240973114967346, -0.10244407504796982, -0.09121968597173691, -0.10233232378959656, -0.777624249458313, -0.03200048580765724, -0.7383768558502197, 0.05816471576690674, 0.8050745129585266, -0.38739660382270813, 0.5893316268920898, -0.516215443611145, -0.06887568533420563, 0.011046802625060081, -0.3479556739330292, -0.4189402163028717, -0.1598358005285263, 0.33903416991233826, 0.7513774037361145, -0.8822373747825623, 0.7287690043449402, 0.4656202495098114, -0.4385751485824585, -0.37071096897125244, 0.3713754415512085, 0.4084455072879791, -0.655396580696106, 0.7414794564247131, 0.12262804806232452, -0.20956408977508545, 0.08427920192480087, -0.5586248636245728, -0.6180845499038696, 0.9888258576393127, 0.4155581593513489, -0.9867571592330933, 0.17417016625404358, 0.18241000175476074, 0.3159826695919037, -0.1914849877357483, -0.03807998076081276, 0.8267194628715515, 0.5741315484046936, 0.1294105499982834, -0.43232986330986023, 0.06636367738246918, -0.2149115651845932, -0.011749415658414364, 0.42599374055862427, -0.5571417808532715, 0.9374899864196777, -0.33005309104919434, -0.5331105589866638, -0.11356155574321747, 0.49254974722862244, 0.2644253671169281, 0.5039526224136353, 0.7465967535972595, 0.5118945837020874, 1.076502799987793, 0.023920094594359398, 0.5205212235450745, -0.48480337858200073, 0.37671688199043274, 1.1656919717788696, -0.4582662284374237, 0.48269420862197876, 0.329596608877182, 0.06452469527721405, 0.6127081513404846, 0.5817648768424988, -0.2965657413005829, 0.632762610912323, 0.6049594879150391, -0.6377021074295044, -0.23876722157001495, -0.02646922692656517, -0.41991010308265686, 0.7117290496826172, 0.4809478521347046, -0.390186071395874, -0.44182088971138, 0.12040665745735168, 0.14702455699443817, 0.2185174524784088, -0.15441805124282837, 0.7397072315216064, -0.1372414529323578, -0.6363893747329712, 0.5645943880081177, -0.05671217292547226, 0.8892924189567566, -0.6661127805709839, -0.07825034111738205, -0.33275696635246277, 0.39289236068725586, -0.09046029299497604, -0.4097220003604889, 0.021029425784945488, 0.0735558420419693, -0.18244603276252747, 0.11353949457406998, 0.5830764770507812, -0.750268816947937, -0.0716964527964592, 0.20006242394447327, 0.6355006694793701, -0.0740998312830925, 0.1333671361207962, -0.4176464378833771, 0.31389474868774414, 0.07803740352392197, -0.03689410910010338, 0.24484704434871674, 0.6963971257209778, -0.003588545136153698, 0.8409307599067688, 0.6466587781906128, -0.01637887768447399, 0.169097438454628, 0.03866980969905853, 0.954245388507843, -0.2986273765563965, -0.5292017459869385, -1.2943469285964966, 0.24986129999160767, -0.2700815796852112, -0.18099190294742584, 0.7740519642829895, 0.5161715745925903, 0.8054367303848267, -0.2808079123497009, 0.9840433597564697, 0.022264057770371437, 0.24150989949703217, -0.5508237481117249, 0.8318197131156921, -0.3820435404777527, 0.749848484992981, -0.27288323640823364, -0.8545663356781006, -0.009666342288255692, 0.18322153389453888, -0.2593940794467926, 0.07875073701143265, 0.6321946978569031, 0.8625385165214539, -0.14205409586429596, 0.21761184930801392, 0.07645238935947418, 0.374859094619751, 0.6909670829772949, 0.3840582072734833, 1.2021394968032837, 0.15040186047554016, 0.3612901568412781, -0.0851263478398323, -0.3573637306690216, -0.27861595153808594, -0.9684861898422241, -0.8705877065658569, -0.6379178762435913, -0.7080890536308289, -0.27959710359573364, -0.025803320109844208, 0.8028895258903503, 0.543687105178833, -0.7073575854301453, 0.19166682660579681, -0.22181442379951477, 0.13304364681243896, -0.15690883994102478, -0.2196904718875885, 0.11661160737276077, -0.3852473795413971, -0.7128360271453857, 0.3492348790168762, 0.2598460614681244, 0.3452637493610382, -0.38348954916000366, 0.005438037682324648, -0.28821834921836853, 0.19691753387451172, 0.5302340984344482, 0.4502650499343872, -0.5908410549163818, -0.42718714475631714, -0.4339306652545929, -0.10514603555202484, -0.42430412769317627, 0.9931285381317139, -0.6641502976417542, 0.45564568042755127, 0.5738534927368164, 0.6969244480133057, 0.29808562994003296, -0.09543101489543915, 0.27972063422203064, -0.9797670245170593, 0.23576489090919495, 0.3231686055660248, 0.1490764617919922, 0.37236547470092773, -0.25886836647987366, 0.13293488323688507, 0.5068627595901489, -0.5319129824638367, -1.0010687112808228, 0.4575667679309845, -0.8156577944755554, -0.25898656249046326, 1.0871237516403198, -0.1307394951581955, -0.07880356907844543, -0.2877374291419983, -0.06288260221481323, 0.279841810464859, -0.3197191655635834, 1.0563026666641235, 0.3458439111709595, -0.04215266928076744, -0.07206062227487564, -0.21705453097820282, 0.6336408257484436, -0.1967264711856842, -0.9608417749404907, 0.26770898699760437, 0.44930633902549744, 0.4846438467502594, 0.4729125201702118, 0.3115255534648895, 0.061207935214042664, 0.17287923395633698, 0.18380044400691986, -0.21918985247612, -0.4153520464897156, -0.26559680700302124, -0.31850573420524597, 0.11117076873779297, 0.14991547167301178, -0.38704201579093933 ]
http://arxiv.org/abs/2406.17990v1
http://arxiv.org/pdf/2406.17990v1
Explicit Diversity Conditions for Effective Question Answer Generation with Large Language Models
2024-06-26T00:12:08
2024-06-26T00:12:08
Vikas Yadav, Hyuk Joon Kwon, Vijay Srinivasan, Hongxia Jin
cs.CL
cs.CL, cs.AI, cs.LG
Question Answer Generation (QAG) is an effective data augmentation technique to improve the accuracy of question answering systems, especially in low-resource domains. While recent pretrained and large language model-based QAG methods have made substantial progress, they face the critical issue of redundant QA pair generation, affecting downstream QA systems. Implicit diversity techniques such as sampling and diverse beam search are proven effective solutions but often yield smaller diversity. We present explicit diversity conditions for QAG, focusing on spatial aspects, question types, and entities, substantially increasing diversity in QA generation. Our work emphasizes the need of explicit diversity conditions for generating diverse question-answer synthetic data by showing significant improvements in downstream QA task over existing widely adopted implicit diversity techniques. In particular, generated QA pairs from explicit diversity conditions when used to train the downstream QA model results in an average 4.1% exact match and 4.5% F1 improvement over QAG from implicit sampling techniques on SQuADDU. Our work emphasizes the need for explicit diversity conditions even more in low-resource datasets (SubjQA), where average downstream QA performance improvements are around 12% EM.
[ -0.7273423075675964, -0.9049548506736755, 0.5331506729125977, 0.33851203322410583, -0.3134782612323761, 0.23138876259326935, 0.18703730404376984, -0.37829887866973877, -0.28480321168899536, 0.2105356901884079, -0.6394606232643127, -0.4366830587387085, -0.2728827893733978, 0.2147132158279419, -0.23593632876873016, 0.960109531879425, -0.05890915170311928, 0.15912501513957977, -0.2572755217552185, -0.4539036154747009, -0.6045149564743042, -0.48830053210258484, -0.680145263671875, 0.18562695384025574, 0.4218943417072296, 0.3741565942764282, 0.6554068326950073, 0.144974023103714, 0.22569765150547028, 0.28290069103240967, -0.20531469583511353, 0.46235498785972595, -0.6802070736885071, 0.3461427688598633, -0.20879079401493073, -0.1438821405172348, -0.18623043596744537, -0.20726722478866577, 0.8444156050682068, 0.8360257148742676, -0.2854769825935364, 0.15435588359832764, -0.24401657283306122, 0.5344025492668152, -0.7153533697128296, -0.21882693469524384, -0.7305852770805359, 0.0017598187550902367, 0.14405742287635803, -0.14842525124549866, -0.15534423291683197, -0.7761456370353699, 0.12996549904346466, -0.7298557162284851, 0.4647603929042816, 0.23846472799777985, 0.7426376342773438, 0.009546153247356415, -0.8658162951469421, -0.16561317443847656, -0.7730421423912048, 0.6686287522315979, -0.5600516200065613, 0.2419268935918808, 0.1742618829011917, 0.2822452485561371, -0.30044910311698914, -0.5621028542518616, -0.7409242987632751, 0.23052316904067993, -0.13396087288856506, 0.20275506377220154, -0.22155185043811798, 0.2415565550327301, 0.43413931131362915, 0.4244064688682556, -0.7652361989021301, -0.12676571309566498, -0.5963877439498901, 0.03789226710796356, 0.8874956369400024, 0.23155477643013, 0.4259699583053589, -0.010279078036546707, -0.20233553647994995, -0.1956908404827118, -0.8214282393455505, 0.2686140239238739, 0.702440619468689, 0.25922343134880066, 0.057918135076761246, 0.3827429413795471, -0.579921543598175, 0.45673105120658875, 0.2633785009384155, 0.22060301899909973, 0.29298868775367737, -0.8954417705535889, -0.11078519374132156, -0.2831464409828186, 0.2719976305961609, 0.14870572090148926, 0.09691556543111801, -0.15351779758930206, -0.34260305762290955, -0.4714049696922302, 0.21002399921417236, -0.8873557448387146, -0.03322027623653412, 0.5278923511505127, -0.20655906200408936, 0.17057472467422485, -0.12104079872369766, -0.8330940008163452, -0.19951452314853668, -0.08845609426498413, 0.22400982677936554, -0.0949007198214531, -0.5100244283676147, -0.0012396430829539895, -0.3602866232395172, 0.8647662401199341, 0.202669158577919, -0.6336722373962402, -0.023500723764300346, 0.31020161509513855, 0.3674517869949341, -0.1296861171722412, -0.04554235190153122, -0.6328549385070801, 0.028569960966706276, -0.39824146032333374, 0.8660635352134705, -0.2995670437812805, -0.6598960161209106, 0.10406780987977982, -0.31638088822364807, 0.013678118586540222, -0.6133890151977539, 0.4690127670764923, -0.8914746046066284, 0.432058185338974, -0.50210040807724, -0.3320847153663635, -0.10356182605028152, 0.09465280175209045, -0.6828125715255737, 0.7550131678581238, 0.43289923667907715, -0.4445011019706726, 0.4689507484436035, -0.5235164165496826, -0.44602036476135254, 0.30323198437690735, -0.03606270253658295, -0.46748316287994385, -0.12504759430885315, 0.30755728483200073, -0.1998593807220459, -0.08772547543048859, 0.2403622269630432, -0.4652772843837738, -0.23201385140419006, 0.0112976199015975, -0.08243963867425919, 0.7469814419746399, 0.41957199573516846, -0.22351351380348206, 0.07757305353879929, -0.4966031014919281, 0.451416015625, 0.06263577193021774, -0.47366636991500854, -0.1740235686302185, 0.07879257947206497, -0.08396513760089874, 0.2030615210533142, -0.018226755782961845, -0.5914393067359924, 0.05438211187720299, -0.2526719868183136, -0.003128275740891695, 0.6009395718574524, 0.4049791097640991, 0.5389417409896851, -0.21119999885559082, 0.9259887933731079, -0.11146929115056992, 0.10836230218410492, -0.022971710190176964, -0.7043251395225525, -0.4366350471973419, -0.21959276497364044, 0.13424624502658844, 0.47997987270355225, -0.9556807279586792, 0.1895173341035843, 0.04461020231246948, -0.16646096110343933, -0.5645938515663147, 0.24525858461856842, 0.46288084983825684, 0.35835927724838257, 0.3419579863548279, 0.14917145669460297, -0.7670101523399353, -0.9848666787147522, 0.01818765141069889, -0.32584166526794434, 0.10995231568813324, 0.46988704800605774, 0.25390633940696716, -0.009848343208432198, 1.1445024013519287, -0.5095274448394775, 0.313773512840271, -0.4072296619415283, 0.12232024222612381, 0.21130333840847015, 0.5883752107620239, 0.9289452433586121, -1.24528968334198, -0.23023782670497894, -0.3593200147151947, -0.5718622207641602, -0.4174947440624237, 0.15170937776565552, -0.6468229293823242, 0.3012632727622986, 0.24927395582199097, -0.7434438467025757, 0.20519022643566132, 0.7409199476242065, -0.6325924396514893, 0.3651910424232483, 0.1775331199169159, 0.29582899808883667, -0.9603297114372253, 0.12089086323976517, -0.14837181568145752, -0.23551902174949646, -0.7861204743385315, 0.6467952728271484, -0.23558072745800018, -0.3093706965446472, -0.4805589020252228, 0.6051265597343445, -0.23533788323402405, 0.0594978854060173, -0.24190568923950195, 0.14602164924144745, 0.0833718404173851, 0.40989789366722107, -0.0038532009348273277, 0.8345011472702026, 0.21096090972423553, -0.5926437973976135, 0.2784886956214905, 0.3637181222438812, -0.022351978346705437, 0.48750928044319153, -1.0868629217147827, 0.14815007150173187, -0.454990029335022, 0.487403005361557, -1.3334399461746216, -0.26944297552108765, 0.0792161375284195, -0.3387562930583954, 0.059255603700876236, -0.046956658363342285, -0.3270173668861389, -0.29830339550971985, -0.2509462833404541, 1.0197306871414185, 0.94709312915802, -0.6501690745353699, 0.46103593707084656, 0.19728736579418182, -0.4069194495677948, -0.46756452322006226, -0.3162190914154053, -0.4449795186519623, -0.028872206807136536, -0.8406199812889099, 0.07317869365215302, -0.3435445725917816, -0.21016447246074677, 0.009520087391138077, -0.1466454714536667, -0.3395898640155792, 0.19846874475479126, -0.014040951617062092, 0.24024607241153717, -0.3994627892971039, 0.19420728087425232, 0.4728052020072937, 0.4300459623336792, 0.008474130183458328, -0.21767805516719818, 0.46326717734336853, 0.07682301104068756, -0.4458116590976715, 0.28425002098083496, 1.0044739246368408, 0.1234498918056488, -0.4724331498146057, 0.753518283367157, 0.657802164554596, -0.16273584961891174, -0.33186519145965576, -0.35786524415016174, -0.21772830188274384, -0.48777133226394653, 0.5723276734352112, -0.19350174069404602, -1.1831293106079102, 0.6968868374824524, 0.5233455896377563, 0.42690739035606384, 0.4517323970794678, 0.41964098811149597, -0.26958972215652466, 1.3491318225860596, 0.2414994090795517, 0.5477908253669739, 0.272673100233078, 0.07303108274936676, 0.3087419271469116, -0.5213369131088257, -0.3477473258972168, -0.5646896958351135, -0.38744962215423584, -0.7967082858085632, -0.29031261801719666, 0.47049468755722046, 0.3449293076992035, -0.17226195335388184, -0.28137436509132385, -0.1727125495672226, 0.42370137572288513, 0.5889262557029724, -0.11532793939113617, 0.08675703406333923, -0.07652922719717026, 0.2672106623649597, 0.2369544804096222, -0.8546332120895386, -0.11664137244224548, 0.994292676448822, 0.0500091016292572, 0.4142758548259735, 0.3938226103782654, 0.7655993700027466, 0.31261080503463745, 0.24695150554180145, -0.32367783784866333, 0.5112553834915161, 0.08512991666793823, -0.9066466093063354, -0.34754690527915955, -0.6581045389175415, -1.1237181425094604, 0.5077943801879883, -0.3341699242591858, -0.08830584585666656, 0.41386765241622925, 0.32033228874206543, -0.4685572683811188, 0.013134037144482136, -0.9498898386955261, 0.5813385248184204, -0.041048236191272736, -0.24701790511608124, -0.06466047465801239, -0.4353077709674835, 0.5624661445617676, -0.11580706387758255, -0.17875972390174866, -0.13003166019916534, 0.09605880826711655, 0.36216121912002563, -0.15314064919948578, 0.37358540296554565, -0.5375632047653198, -0.3916579484939575, 0.6955062747001648, -0.18016864359378815, 0.48245179653167725, 0.2645760774612427, 0.009676859714090824, -0.09672847390174866, -0.14692139625549316, -1.0278446674346924, -0.7506960034370422, 0.47084319591522217, -0.8372639417648315, -0.8338711261749268, -0.0808439627289772, -0.8075058460235596, -0.3699726164340973, 0.004543227609246969, 0.1891874372959137, 0.40351060032844543, 0.05325959250330925, 0.3921377956867218, 0.7767120003700256, -0.47058311104774475, 0.321591317653656, 0.6631813645362854, -0.18780770897865295, -0.3590191602706909, 0.6741062998771667, -0.04139932617545128, 0.41392967104911804, 0.016127292066812515, -0.3514830768108368, -0.6692659258842468, -0.9078007936477661, -0.40744322538375854, 0.1014048233628273, -0.6454676985740662, -0.1920681744813919, -0.5273408889770508, -0.2627704441547394, -0.5041714310646057, 0.07211535423994064, 0.16469286382198334, -0.5091550350189209, 0.03497660160064697, -0.16534242033958435, 0.13534720242023468, 0.44158533215522766, 0.2997535765171051, 0.10427568107843399, -0.8807111382484436, 0.6945989727973938, 0.7790398001670837, 0.2010255604982376, -0.37892472743988037, -0.5171441435813904, -0.11315475404262543, 0.19278693199157715, -0.30850234627723694, -0.9075663685798645, 0.08645861595869064, 0.32051512598991394, 1.074303150177002, -0.04332629591226578, 0.31036823987960815, 0.4710513651371002, -0.08216950297355652, 0.8273131251335144, -0.24551309645175934, -0.6775522828102112, 0.6289492249488831, -0.6126257181167603, 0.5571370124816895, 0.49946051836013794, 0.4032987058162689, -0.175319641828537, -0.7320597171783447, -0.5566703677177429, -1.0984474420547485, 0.48958003520965576, 0.5516613721847534, 0.3971514403820038, -0.1263432800769806, 0.35211214423179626, 0.07771168649196625, 0.3929958641529083, -0.7852456569671631, -0.17332230508327484, -0.310661256313324, -0.12553748488426208, 0.14590589702129364, -0.08449093997478485, -0.19650065898895264, -0.06582312285900116, 0.6405051946640015, -0.2684350609779358, 0.20044034719467163, 0.20935563743114471, -0.040062617510557175, -0.11470978707075119, 0.36884158849716187, 0.6416550874710083, 0.851148784160614, -0.2507910430431366, -0.13280706107616425, 0.3185347318649292, -0.18972276151180267, 0.3706815242767334, 0.2894306480884552, -0.6291866302490234, -0.0168746430426836, 0.180962935090065, 0.7002856731414795, -0.3372490108013153, -0.9057987928390503, 0.31330737471580505, -0.11984624713659286, -0.4246581494808197, -0.06946828961372375, 0.4721238911151886, -0.1487954556941986, 0.32551875710487366, 0.6881547570228577, -0.22677524387836456, 0.2448303997516632, -0.3613876700401306, 0.020315280184149742, 0.7287982106208801, 0.1304144263267517, -0.1349211484193802, 0.47751158475875854, 0.5839418172836304, 0.04228193312883377, 0.7144836783409119, -0.760658323764801, -0.3265606164932251, 0.7952144742012024, 0.61307293176651, 0.8714984655380249, -0.17698056995868683, 0.33658653497695923, 0.5554335117340088, 0.27012670040130615, 0.2550235092639923, 0.6410358548164368, -0.1326378881931305, -0.7394178509712219, -0.4976632297039032, -0.5437912344932556, -0.3000577688217163, 0.0593409538269043, -0.5750583410263062, -0.07711361348628998, -0.42250439524650574, 0.017622364684939384, -0.4970840513706207, -0.14919798076152802, -0.4316061735153198, 0.5007730722427368, 0.29232078790664673, 0.5729607939720154, -0.7470641136169434, 0.4054650664329529, 0.9654769897460938, -0.3433375358581543, -0.8057530522346497, 0.022928643971681595, -0.5331698656082153, -0.5135940909385681, 0.6331958770751953, -0.17560206353664398, -0.09874047338962555, -0.04902321845293045, -0.7807028293609619, -0.9117056131362915, 1.076072335243225, 0.510737419128418, -0.21333514153957367, -0.011674989946186543, 0.13608886301517487, 0.6679642200469971, -0.2554188668727875, 0.25600817799568176, 0.4686761498451233, 0.4083929657936096, 0.20698705315589905, -0.3945918083190918, 0.18159125745296478, -0.6931252479553223, 0.1627303808927536, 0.1976219117641449, -0.6420669555664062, 0.8010784983634949, -0.19184927642345428, -0.38753774762153625, 0.2272559255361557, 0.8297827243804932, 0.805774450302124, 0.43206632137298584, 0.5898967981338501, 0.35941800475120544, 0.6449849605560303, -0.2556045651435852, 1.2400708198547363, -0.04275728017091751, 0.12551355361938477, 0.7326286435127258, -0.29308274388313293, 0.5957314968109131, 0.3791945278644562, -0.15288609266281128, 0.5998206734657288, 0.7385507225990295, 0.12753503024578094, 0.3868296444416046, 0.18155355751514435, -0.3356674313545227, -0.4990329146385193, -0.23051485419273376, -0.716756284236908, 0.438353031873703, -0.0667116791009903, -0.05579935386776924, -0.18188217282295227, -0.3050991892814636, -0.22401314973831177, 0.09974546730518341, -0.37055253982543945, 0.5672959685325623, -0.3733642101287842, -1.0138423442840576, 0.6676303148269653, -0.08852827548980713, 0.4603406488895416, -0.6776896715164185, -0.17294254899024963, -0.9299498796463013, -0.4829696714878082, -0.23117080330848694, -0.8099933862686157, 0.12800206243991852, 0.024091370403766632, -0.5268749594688416, -0.12545469403266907, 0.5485901832580566, -0.7459897398948669, -0.35671764612197876, -0.10967519879341125, 0.5308801531791687, -0.2803552746772766, 0.08791409432888031, -0.35486042499542236, -0.45887070894241333, 0.07085171341896057, -0.14316679537296295, 0.21670018136501312, 0.2867144048213959, -0.0437127947807312, 0.525284469127655, 0.6763871908187866, 0.06714599579572678, 0.5071109533309937, 0.026524413377046585, 0.8037691712379456, -0.31630319356918335, -0.6754209399223328, -0.3433828353881836, 0.5652956962585449, -0.277437686920166, -0.4534670412540436, 0.7864711880683899, 0.4101438820362091, 0.5950778126716614, -0.048641886562108994, 0.8183300495147705, -0.06021121144294739, 0.48930037021636963, -0.6480081081390381, 0.4199521839618683, -0.6202763915061951, 0.10005159676074982, -0.09899982810020447, -1.1408838033676147, 0.13841332495212555, 0.15525047481060028, -0.16018126904964447, 0.543550431728363, 0.6255936026573181, 0.7087743878364563, 0.026492098346352577, -0.06730775535106659, 0.0738481804728508, -0.1653262972831726, 0.4538417160511017, 0.6774300932884216, 1.184616208076477, -0.31643807888031006, 0.8826215863227844, 0.13438573479652405, 0.008342111483216286, 0.024329397827386856, -0.5487557053565979, -0.5199633240699768, -0.36485755443573, -0.4158759117126465, -0.30541813373565674, 0.04375166445970535, 0.7729790806770325, 0.800656259059906, -0.9547368884086609, 0.039808742702007294, -0.13708502054214478, 0.34638211131095886, 0.14355997741222382, -0.2795126438140869, -0.07321396470069885, -0.5640681982040405, -0.8586176037788391, 0.22406303882598877, -0.0337725430727005, 0.24698244035243988, -0.2200641930103302, -0.19288533926010132, -0.23718716204166412, 0.334522545337677, 0.5202684998512268, 0.5882613658905029, -0.29093992710113525, -0.1729867309331894, 0.026956086978316307, -0.15329349040985107, -0.09985917806625366, 0.7291312217712402, -0.7470535635948181, 0.27463728189468384, 0.8590952754020691, 0.8219138979911804, 0.20652560889720917, 0.581771731376648, 0.8601820468902588, -1.1666187047958374, 0.1653069108724594, 0.34509187936782837, 0.20083309710025787, 0.24080400168895721, -0.16743731498718262, 0.38498300313949585, 0.3058588206768036, -0.5579126477241516, -0.7762196660041809, 0.4460352659225464, -0.8190367221832275, -0.21932095289230347, 1.6547664403915405, -0.19292715191841125, 0.11719515919685364, -0.37619370222091675, -0.29361364245414734, 0.18663424253463745, -0.5002450942993164, 0.6348063349723816, 0.36606234312057495, -0.09128249436616898, -0.10406605899333954, -0.19740530848503113, 0.527754008769989, 0.8390142917633057, -1.237345814704895, -0.31019315123558044, 0.8838950991630554, -0.03874912112951279, -0.06043873727321625, 0.5117917060852051, 0.07842805236577988, 0.8410041332244873, -0.09673169255256653, -0.018685733899474144, -0.020260686054825783, 0.06558381021022797, -0.2228843718767166, 0.5347616672515869, 0.16625836491584778, -0.28847774863243103 ]
http://arxiv.org/abs/2406.17987v1
http://arxiv.org/pdf/2406.17987v1
Multi-step Knowledge Retrieval and Inference over Unstructured Data
2024-06-26T00:00:45
2024-06-26T00:00:45
Aditya Kalyanpur, Kailash Saravanakumar, Victor Barres, CJ McFate, Lori Moon, Nati Seifu, Maksim Eremeev, Jose Barrera, Eric Brown, David Ferrucci
cs.CL
cs.CL, cs.AI
The advent of Large Language Models (LLMs) and Generative AI has revolutionized natural language applications across various domains. However, high-stakes decision-making tasks in fields such as medical, legal and finance require a level of precision, comprehensiveness, and logical consistency that pure LLM or Retrieval-Augmented-Generation (RAG) approaches often fail to deliver. At Elemental Cognition (EC), we have developed a neuro-symbolic AI platform to tackle these problems. The platform integrates fine-tuned LLMs for knowledge extraction and alignment with a robust symbolic reasoning engine for logical inference, planning and interactive constraint solving. We describe Cora, a Collaborative Research Assistant built on this platform, that is designed to perform complex research and discovery tasks in high-stakes domains. This paper discusses the multi-step inference challenges inherent in such domains, critiques the limitations of existing LLM-based methods, and demonstrates how Cora's neuro-symbolic approach effectively addresses these issues. We provide an overview of the system architecture, key algorithms for knowledge extraction and formal reasoning, and present preliminary evaluation results that highlight Cora's superior performance compared to well-known LLM and RAG baselines.
[ 0.05816487595438957, -0.9049257040023804, 0.9915570020675659, 0.3565200865268707, 0.21332262456417084, 0.3789592385292053, -0.10643002390861511, -0.6630175709724426, 0.3722951412200928, 0.3086355924606323, -0.3686679005622864, -0.5640706419944763, -0.6753267645835876, -0.036910705268383026, -0.33315086364746094, 0.6633498668670654, 0.05493197590112686, 0.10808859020471573, -0.6026116013526917, -0.12605002522468567, -0.618346095085144, -0.47408172488212585, -0.7414143085479736, -0.764981210231781, 0.3811909258365631, 0.120893694460392, 0.6124677062034607, 0.46285051107406616, 0.5962523818016052, 0.3952893018722534, -0.09201668202877045, 0.5093360543251038, 0.04860224574804306, 0.4067670702934265, -0.19798056781291962, -0.5822196006774902, -0.4713233709335327, -0.07210878282785416, 0.1361839324235916, 0.766464352607727, -0.3326309025287628, -0.009970017708837986, -0.21670745313167572, 0.49000096321105957, -0.7643790245056152, 0.4938243627548218, -0.6135520935058594, 0.06262356787919998, -0.02089136652648449, -0.018296722322702408, -0.5818665027618408, -0.10515560954809189, 0.16590791940689087, -1.350093126296997, 0.008796704933047295, 0.35831543803215027, 0.690221905708313, 0.7476990222930908, -0.3528713285923004, -0.3161422312259674, -0.7623339891433716, 0.9920752644538879, -0.3053171634674072, 0.3324980139732361, 0.40417468547821045, 0.30899494886398315, -0.4191736876964569, -0.9859134554862976, -0.6189673542976379, -0.1632164865732193, -0.12023531645536423, 0.06955026835203171, -0.26450034976005554, 0.05197947844862938, 0.2194564789533615, -0.05473913997411728, -0.39900287985801697, -0.03726159408688545, -0.09902862459421158, -0.24263261258602142, 0.5217949151992798, 0.14599111676216125, 0.3167366087436676, -0.3638381361961365, -0.2371280938386917, -0.1964220255613327, -0.474838525056839, -0.38926729559898376, 0.04591663181781769, 0.37997913360595703, 0.1284664273262024, 0.5977314114570618, -0.3083893954753876, 0.4908944368362427, -0.11609739810228348, 0.06101648136973381, 0.3558690547943115, -0.1269218623638153, -0.15623705089092255, 0.12346970289945602, 0.7832163572311401, -0.17475779354572296, 0.016998568549752235, -0.5835099220275879, -0.09594579041004181, 0.41464757919311523, 0.455862820148468, -0.19267591834068298, -0.1894262284040451, 0.3109171390533447, -0.2317909449338913, -0.16142499446868896, -0.2442861795425415, -0.7729208469390869, -0.6506223678588867, -0.7158071398735046, 0.5892776846885681, -0.6054531335830688, -0.024057501927018166, 0.30021679401397705, -0.43938636779785156, 0.1405806988477707, 0.6593310236930847, -0.5277892351150513, 0.30935341119766235, 0.8705967664718628, 0.5930285453796387, -0.3376864194869995, -0.19022886455059052, -0.47567808628082275, 0.28781571984291077, -0.1735020875930786, 0.6628904342651367, -0.6224361062049866, -0.039387986063957214, -0.2755758762359619, -0.3576729893684387, 0.026279259473085403, -0.4361247718334198, 0.7084165811538696, -0.7032014727592468, -0.011436731554567814, -0.12622202932834625, -0.28657132387161255, -0.22504034638404846, 0.42439618706703186, -0.5807314515113831, 1.1939945220947266, -0.24232986569404602, -0.6267335414886475, 0.46030551195144653, -0.6722468733787537, -0.5784616470336914, 0.12376051396131516, -0.4980621933937073, -0.011301909573376179, 0.026459336280822754, 0.14524176716804504, 0.22516581416130066, -0.7059457898139954, 0.5478390455245972, -0.34670785069465637, 0.006193122360855341, -0.12424366176128387, -0.3415129482746124, 0.6489834785461426, -0.003335121553391218, -0.41257989406585693, 0.3778305649757385, -0.9563500285148621, -0.025670064613223076, 0.18848969042301178, -0.173203244805336, -0.7297739386558533, 0.28057095408439636, -0.1505485326051712, 0.33339187502861023, 0.4945431649684906, -0.5504650473594666, 0.18240690231323242, -0.2436850219964981, 0.6523105502128601, 0.6845260262489319, -0.27155035734176636, 0.5361747741699219, -0.09528163820505142, 0.20106829702854156, -0.13327595591545105, 0.15174606442451477, 0.28587791323661804, -0.4735572338104248, -0.7184633612632751, -0.21891915798187256, 0.2661380469799042, 0.6266209483146667, -0.9967336058616638, 0.5520126223564148, -0.22268186509609222, -0.2604428231716156, -0.6620919108390808, -0.027496708557009697, 0.36588048934936523, 0.655849039554596, 0.7269368171691895, -0.05626996234059334, -0.3742733299732208, -0.7670404314994812, -0.16335058212280273, -0.24587473273277283, -0.10442172735929489, 0.32800838351249695, 0.6488680839538574, -0.23579029738903046, 0.8324525952339172, -0.4166710078716278, -0.25441625714302063, 0.0177007969468832, 0.7258752584457397, 0.19165277481079102, 0.4716035723686218, -0.16324976086616516, -0.9072506427764893, -0.047164276242256165, 0.24437782168388367, -1.1701624393463135, 0.20041346549987793, -0.1835443675518036, -0.5218816995620728, -0.078746497631073, 0.424038827419281, -1.2115908861160278, 0.36889368295669556, 0.2404678761959076, -0.1452793926000595, 0.3247339427471161, -0.3451453149318695, -0.10714157670736313, -1.1154648065567017, 0.29783305525779724, -0.12470248341560364, 0.0010146698914468288, -0.42169588804244995, 0.13774295151233673, -0.12539984285831451, 0.20689986646175385, -0.07686246931552887, 0.5376027822494507, -0.39013153314590454, -0.15656208992004395, -0.17630714178085327, 0.2567196190357208, 0.12125898897647858, 0.5792274475097656, 0.25877660512924194, 0.5059994459152222, 0.4751442074775696, -0.45295846462249756, 0.1738586723804474, 0.595790684223175, -0.0744781345129013, 0.4859826862812042, -0.7085049152374268, 0.37973472476005554, -0.1646651327610016, 0.18427972495555878, -0.5093859434127808, -0.3285173773765564, 0.06233244761824608, -0.4352945387363434, 0.12391775101423264, 0.03633495420217514, -0.6540610790252686, -0.16073186695575714, 0.04968118295073509, 0.43737033009529114, 0.3679980933666229, -0.44136250019073486, 1.37796151638031, 0.5487048029899597, -0.07647068053483963, -0.9724274277687073, -0.4584810435771942, 0.1026047021150589, -0.011310738511383533, -0.5337700247764587, 0.46197769045829773, 0.3071269989013672, -0.5119428634643555, 0.08582508563995361, -0.32179075479507446, 0.007116587366908789, 0.001997404033318162, 0.4782836437225342, 0.3194921612739563, 0.04025626927614212, 0.15720227360725403, 0.13955387473106384, -0.20697574317455292, 0.3622496724128723, -0.3661404550075531, 0.546278715133667, 0.031573113054037094, -0.583891749382019, -0.28086599707603455, 0.13018539547920227, 0.7446253895759583, -0.4363041818141937, 0.5031521320343018, 0.34407609701156616, -0.5898951888084412, -0.3279438316822052, -0.45209836959838867, -0.22031137347221375, -0.43047600984573364, 0.10553190112113953, -0.17518319189548492, -0.4695671498775482, 0.277089387178421, -0.4794793426990509, 0.20212720334529877, 0.6003825664520264, 0.30414068698883057, -0.1667342185974121, 0.963102400302887, 0.43903428316116333, -0.11282597482204437, -0.0292438305914402, -0.21301226317882538, 0.17738758027553558, -0.8386008739471436, -0.6568111777305603, -0.715207040309906, -0.4604891538619995, -0.220376655459404, -0.5337129831314087, 0.5987371802330017, -0.0000013881050335839973, -0.42041945457458496, 0.1373709887266159, -0.5086345672607422, 0.11274280399084091, 0.843679666519165, 0.23172248899936676, 0.573784589767456, -0.15428303182125092, -0.19169647991657257, 0.15693531930446625, -0.6794622540473938, -0.3462686836719513, 0.9211099147796631, 0.007864654064178467, 0.8152775764465332, -0.049509335309267044, 0.4653919041156769, 0.19238334894180298, 0.2263859510421753, -0.860485851764679, 0.5321783423423767, -0.004787025507539511, -0.7851770520210266, -0.4387342035770416, -0.5249842405319214, -0.9811059832572937, 0.2512533366680145, -0.6243618130683899, -0.6414756774902344, 0.13226942718029022, 0.020696597173810005, -0.3801432251930237, 0.1324997842311859, -0.3789934515953064, 0.5548689961433411, -0.3777959942817688, -0.466871976852417, -0.5199641585350037, -0.9695038795471191, 0.2713179588317871, -0.12029499560594559, 0.1163790300488472, -0.013634053990244865, 0.12618684768676758, 0.6422019600868225, -0.11087698489427567, 0.8535197973251343, -0.03811996430158615, 0.26365602016448975, 0.07987266033887863, 0.20217587053775787, 0.7109435200691223, -0.007127406075596809, -0.24146905541419983, 0.1860761046409607, -0.2222110629081726, -0.19801130890846252, -0.8602655529975891, 0.5055286884307861, -0.7533652782440186, -0.4869585931301117, -0.563957691192627, -1.0398716926574707, -0.45377975702285767, 0.3097379803657532, -0.13068191707134247, 0.11528988182544708, -0.03792952001094818, 0.25216081738471985, 0.636039137840271, -0.31919896602630615, 0.2719881236553192, 0.334957480430603, 0.15256813168525696, -0.3368206024169922, 0.8254947662353516, -0.21554042398929596, 0.0037176499608904123, 0.6002103090286255, 0.12075310945510864, -0.4369454085826874, -0.49512484669685364, -0.32433632016181946, 0.12723417580127716, -0.538583517074585, -0.15870928764343262, -0.7939410209655762, -0.03750929608941078, -0.23429517447948456, -0.06379944086074829, -0.4573289752006531, -0.5264167785644531, -0.10697206854820251, -0.006467259954661131, 0.42752572894096375, 0.7901355028152466, 0.08211985230445862, 0.07725738734006882, -0.6724828481674194, 0.5436486005783081, 0.045873962342739105, -0.1943783313035965, 0.02453378587961197, -0.1071447879076004, 0.13054046034812927, -0.16697129607200623, -0.3796197772026062, -0.48472464084625244, 0.31788554787635803, -0.1866137832403183, 0.48828625679016113, 0.06505174189805984, 0.1171809583902359, 0.6699513792991638, -0.42893049120903015, 0.3993140459060669, 0.19456978142261505, -0.7830058336257935, 0.4202864468097687, -0.1262548863887787, -0.060009393841028214, 0.593848705291748, 0.5118131041526794, -0.39399582147598267, -0.12340639531612396, -0.7079196572303772, -0.9925416707992554, 0.5325289964675903, 0.3504334092140198, -0.30586671829223633, 0.12524735927581787, 0.39287590980529785, -0.05643659085035324, 0.34979093074798584, -0.2895490825176239, -0.24249371886253357, 0.23509946465492249, -0.4573318064212799, 0.11145389080047607, 0.412519246339798, -0.32994523644447327, -0.2771782875061035, 0.619426965713501, -0.32938796281814575, 0.04342661425471306, 0.17697809636592865, -0.14535287022590637, 0.15641041100025177, 0.021392621099948883, 0.05522103235125542, 0.48332470655441284, 0.13083766400814056, 0.16120567917823792, 0.18791912496089935, -0.39593619108200073, -0.04855987802147865, 0.32755035161972046, -0.31281083822250366, -0.19189773499965668, 0.502345860004425, 0.5246336460113525, 0.21205675601959229, -0.7397212982177734, 0.21408773958683014, 0.04408084973692894, -0.26067355275154114, -0.3704475164413452, -0.06813947856426239, 0.1936171054840088, 0.35004520416259766, 0.21322831511497498, 0.3558077812194824, 0.25556960701942444, -0.5044329166412354, 0.20021310448646545, 0.6403336524963379, -0.2097138911485672, -0.23432795703411102, 0.8408927321434021, 0.1717282235622406, -0.18591266870498657, 1.047215461730957, 0.005376724526286125, -0.22644531726837158, 0.66811603307724, 0.33258339762687683, 0.6454069018363953, 0.15949055552482605, 0.31120607256889343, 0.03503134101629257, 0.2413444072008133, -0.336050420999527, 0.4691767990589142, -0.1770818531513214, -0.858056366443634, -0.6159453392028809, -0.8172622919082642, -0.5157820582389832, -0.01914755254983902, -0.5681511759757996, -0.005670398008078337, -0.4924688935279846, -0.09952668845653534, 0.1560651808977127, -0.12660208344459534, -0.5267728567123413, 0.03529508039355278, -0.19052459299564362, 0.8416827321052551, -0.605021595954895, 0.720697820186615, 0.6882228255271912, -0.5071184635162354, -0.832693338394165, -0.3272961974143982, 0.11059034615755081, -0.8950483798980713, 0.820422887802124, -0.1743038445711136, -0.2690991163253784, -0.1696186363697052, -0.4757864773273468, -0.7749848961830139, 1.2513642311096191, 0.48368602991104126, -0.29139742255210876, -0.49522048234939575, 0.14713293313980103, 0.6140143871307373, 0.030685467645525932, 0.23321880400180817, 0.58423912525177, 0.6729348301887512, 0.3095109164714813, -0.76315838098526, -0.021892346441745758, -0.165739044547081, -0.4263291358947754, 0.4600382447242737, -0.4781612157821655, 0.8215848803520203, 0.012933426536619663, 0.026414550840854645, 0.030410291627049446, 0.7263003587722778, 0.6068671345710754, 0.5558789968490601, 0.39619743824005127, 0.9779883623123169, 1.0344274044036865, -0.12276672571897507, 0.9864934682846069, -0.45454034209251404, -0.007213273085653782, 1.2339884042739868, -0.5335395336151123, 0.8740465044975281, 0.7077789306640625, 0.07809771597385406, 0.651763916015625, 0.3054395020008087, 0.3184467852115631, 0.17764614522457123, 0.0969618707895279, -0.34362298250198364, -0.4580475687980652, -0.40878280997276306, 0.09830677509307861, 0.4624944031238556, 0.6128255724906921, -0.18077965080738068, -0.19929718971252441, -0.37366387248039246, -0.21370388567447662, 0.044219497591257095, -0.0597747340798378, 0.7104079723358154, 0.25455498695373535, -0.7070257663726807, -0.07368530333042145, -0.10128822922706604, 0.4071062505245209, -0.5390042662620544, -0.4891335964202881, 0.07885733991861343, 0.13089565932750702, -0.11468539386987686, -0.5779386162757874, 0.2281671166419983, -0.19457334280014038, -0.06619743257761002, -0.27126428484916687, 0.8109948635101318, -0.03376888483762741, -0.3805745244026184, 0.5186281800270081, 0.7500606775283813, 0.050349004566669464, -0.20982494950294495, -0.7279684543609619, -0.12364020198583603, -0.5340700745582581, -0.12261715531349182, 0.18706494569778442, 0.6675043106079102, -0.3591088354587555, 0.9172309637069702, 0.8529538512229919, 0.08319353312253952, 0.01959988847374916, 0.05957911163568497, 0.6740855574607849, -0.5761293768882751, -0.14698414504528046, -0.5665805339813232, 0.32180917263031006, -0.17004714906215668, -0.3860849440097809, 0.4544256329536438, 0.4101576507091522, 0.54026859998703, 0.23854538798332214, 0.6968962550163269, -0.2980985641479492, 0.11304550617933273, -0.5482432842254639, 0.5266913175582886, -0.6228507161140442, -0.0463181771337986, -0.10238634794950485, -0.6228876113891602, -0.4762762486934662, 0.6046459674835205, -0.20652610063552856, -0.13688600063323975, 0.7494745850563049, 0.7066221237182617, -0.07494063675403595, 0.22121529281139374, 0.052242882549762726, 0.22969047725200653, 0.2608235776424408, 0.5982926487922668, 0.9213685989379883, -0.2084740847349167, 0.33113783597946167, -0.11158867925405502, -0.10847494006156921, 0.3667988181114197, -0.7844908237457275, -0.6200144290924072, -0.5217294692993164, -0.03224780410528183, -0.22754183411598206, 0.09134674817323685, 1.041408896446228, 0.8410646915435791, -0.4835425615310669, -0.0906284898519516, -0.4951513409614563, 0.18819402158260345, -0.2015351504087448, -0.1707618087530136, 0.3498575687408447, -0.4245831370353699, -0.7330251932144165, 0.7520803809165955, 0.32993701100349426, -0.45630842447280884, -0.17741945385932922, -0.07913996279239655, -0.4339773952960968, -0.013876307755708694, 0.6384068131446838, 0.31771156191825867, -0.667359471321106, -0.12685713171958923, 0.21661511063575745, -0.13809029757976532, -0.0844472348690033, 0.7144050002098083, -0.8062810301780701, 0.22483013570308685, 0.6596505641937256, 1.178731083869934, 0.4875653088092804, 0.04832499474287033, 0.6644588112831116, -0.49075400829315186, -0.01251344196498394, 0.5152673721313477, 0.41720151901245117, 0.06946545839309692, -0.4225500822067261, 0.6271020770072937, 0.37669020891189575, -0.48738840222358704, -0.5111590623855591, 0.009337930008769035, -1.039168119430542, -0.41914406418800354, 0.9584675431251526, 0.13724260032176971, -0.3283417820930481, -0.26028111577033997, 0.02973991259932518, 0.37906649708747864, -0.38811981678009033, 0.9729809761047363, 0.626723051071167, -0.47238025069236755, 0.3086753189563751, -0.6301183104515076, 0.3042014539241791, 0.7449946403503418, -1.1234912872314453, -0.051873400807380676, 0.5624887347221375, -0.14698368310928345, 0.7884986996650696, 0.307953804731369, -0.1196296289563179, 0.09724166989326477, 0.09869074821472168, 0.4298783838748932, 0.10201366990804672, -0.937424898147583, -0.13499535620212555, 0.404511958360672, -0.07557835429906845, -0.09714213758707047 ]
http://arxiv.org/abs/2406.17982v1
http://arxiv.org/pdf/2406.17982v1
EDEN: Empathetic Dialogues for English learning
2024-06-25T23:36:16
2024-06-25T23:36:16
Li Siyan, Teresa Shao, Zhou Yu, Julia Hirschberg
cs.CL
cs.CL
Dialogue systems have been used as conversation partners in English learning, but few have studied whether these systems improve learning outcomes. Student passion and perseverance, or grit, has been associated with language learning success. Recent work establishes that as students perceive their English teachers to be more supportive, their grit improves. Hypothesizing that the same pattern applies to English-teaching chatbots, we create EDEN, a robust open-domain chatbot for spoken conversation practice that provides empathetic feedback. To construct EDEN, we first train a specialized spoken utterance grammar correction model and a high-quality social chit-chat conversation model. We then conduct a preliminary user study with a variety of strategies for empathetic feedback. Our experiment suggests that using adaptive empathetic feedback leads to higher perceived affective support, which, in turn, predicts increased student grit.
[ 0.19551849365234375, -0.916039228439331, 0.7393987774848938, 0.17813272774219513, 0.22240372002124786, 0.5079836845397949, -0.4389612376689911, -0.13786680996418, 0.6392418146133423, -0.035281866788864136, -0.49337539076805115, -0.6226621866226196, -0.48005253076553345, 0.11296454071998596, -0.1292688250541687, 0.7922688126564026, 0.0421014130115509, 0.5927447080612183, -0.30806875228881836, -0.12480664998292923, -0.5377017855644226, -0.0628831535577774, -1.352481484413147, -0.45869889855384827, 0.7520662546157837, 0.7889940738677979, 0.5362296104431152, 0.3235848844051361, 0.6575739979743958, 0.37366944551467896, 0.12495866417884827, -0.19095824658870697, -0.41525548696517944, 0.4200300872325897, -0.3548838198184967, -0.6965527534484863, -0.4973289668560028, -0.1739920973777771, 0.3545774519443512, 0.656323254108429, -0.23119235038757324, -0.18168947100639343, 0.4701477885246277, 0.2785840630531311, -0.2454032003879547, 0.013269788585603237, -0.34724417328834534, 0.3462813198566437, 0.12024949491024017, -0.2547064423561096, -0.5591896772384644, -0.24555560946464539, 0.0797635093331337, -0.6232270002365112, -0.0766601487994194, -0.11672893911600113, 0.7152084112167358, 0.14964871108531952, 0.04964015260338783, -0.3082517981529236, -0.9196468591690063, 1.1788151264190674, -0.4910450577735901, 0.5110026597976685, 0.6575567722320557, 0.24417336285114288, 0.1984514445066452, -0.6350029706954956, -0.36632317304611206, 0.07112864404916763, 0.12662723660469055, 0.7137750387191772, 0.13748100399971008, 0.28422313928604126, -0.15217404067516327, 0.45109739899635315, -0.27136707305908203, 0.24846060574054718, -0.24530498683452606, -0.0003648438723757863, 0.652214765548706, 0.34223902225494385, 0.3674393892288208, 0.028403248637914658, -0.0875907614827156, -0.15503647923469543, -0.4643854796886444, 0.6038292646408081, 0.44987741112709045, 0.23343870043754578, -0.1484876126050949, 0.21561764180660248, 0.09193161875009537, 0.39160895347595215, -0.15938694775104523, -0.4740915298461914, 0.14136992394924164, -0.09178858250379562, 0.02714851312339306, -0.11482027173042297, 0.513859212398529, 0.6803275346755981, 0.22199484705924988, -0.09396391361951828, -0.19671577215194702, 0.2532148063182831, 0.28268030285835266, -0.8398467898368835, -0.3253503441810608, 0.5707918405532837, -0.39876794815063477, -0.2601304352283478, -0.052029408514499664, -0.6777447462081909, -0.1546507030725479, -0.18632091581821442, 0.48167628049850464, -0.8085013628005981, -0.15037739276885986, -0.03312484174966812, -0.23753000795841217, 0.4615461826324463, 0.7589490413665771, -0.812531590461731, 0.3827548623085022, 0.6948085427284241, 1.0167471170425415, -0.05709311366081238, -0.5131393074989319, -0.6019327044487, -0.1637675017118454, -0.06412582844495773, 0.8302296996116638, -0.9523800015449524, -0.5362245440483093, 0.20081745088100433, 0.10012087970972061, -0.021828699856996536, -0.12515997886657715, 0.3862597644329071, 0.3930897116661072, 0.2812874913215637, -0.24537858366966248, -0.6551384925842285, -0.008149073459208012, 0.5000682473182678, -0.16999311745166779, 0.44223353266716003, 0.3066103756427765, -0.31122443079948425, 0.16999201476573944, -0.7806447148323059, -0.5709934830665588, 0.35305076837539673, -0.25360774993896484, -0.1745942085981369, -0.02026517689228058, -0.16353657841682434, 0.3924446403980255, 0.08854283392429352, 0.038574494421482086, -0.13582566380500793, -0.3344237208366394, 0.21735022962093353, -0.3892410397529602, 0.5612638592720032, 0.055984433740377426, -0.45769214630126953, -0.027181943878531456, -0.3440852463245392, -0.1458694040775299, 0.2176060676574707, -0.24526013433933258, -0.28898775577545166, 0.15349656343460083, 0.016457516700029373, -0.05562742426991463, -0.12300273776054382, -1.1422775983810425, -0.10418672114610672, -0.5021093487739563, 0.2995280921459198, 0.8676904439926147, 0.05016910284757614, 0.08256468921899796, -0.6140458583831787, 0.7338030338287354, 0.021619020029902458, 0.36446934938430786, -0.5997254848480225, -0.6332010626792908, -0.9293531775474548, 0.01126074232161045, 0.0946623682975769, 0.5916240811347961, -0.46855252981185913, 0.14166359603405, -0.0793643593788147, -0.5189151763916016, -1.1846781969070435, 0.3207760155200958, 0.674976646900177, 0.21803300082683563, 0.2874051034450531, -0.7510800361633301, -0.16146224737167358, -0.5047814846038818, -0.3825196325778961, -0.13916239142417908, 0.09573082625865936, 0.8468509912490845, 0.1760343760251999, -0.04435021057724953, 0.6573247909545898, -0.39206016063690186, -0.5651935338973999, -0.2740201950073242, -0.2873622477054596, -0.19005988538265228, 0.5154395699501038, 0.2999142110347748, -0.6268963813781738, -0.9364820718765259, 0.09312526881694794, -0.3911990523338318, 0.24751031398773193, -0.17213375866413116, -0.13284972310066223, -0.05189326032996178, 0.3641347587108612, -0.06860560178756714, 0.48570042848587036, 0.6572436094284058, -0.6177021265029907, -0.05907591059803963, 0.20220959186553955, 0.31093260645866394, -1.2679660320281982, -0.39438551664352417, -0.1690109372138977, -0.5160224437713623, -0.38195863366127014, -0.2036854326725006, -0.18354927003383636, -0.011932955123484135, -0.691905677318573, 0.4944485127925873, 0.22979089617729187, 0.12308354675769806, -0.1368981897830963, 0.5109480619430542, 0.20305432379245758, 0.44688504934310913, 0.003566771512851119, 0.6837134957313538, 0.7143946886062622, -0.5272205471992493, 0.5098001956939697, 0.7255702614784241, 0.34911489486694336, 1.1791796684265137, -0.7876752614974976, 0.11230219900608063, 0.002254665829241276, 0.0020099824760109186, -1.0253710746765137, -0.17538897693157196, -0.17456306517124176, -0.8654814958572388, 0.2784191370010376, 0.014171792194247246, 0.215101420879364, -0.15635058283805847, -0.4830985963344574, -0.1701638102531433, 0.666568398475647, -0.5199265480041504, 0.7895954251289368, 0.29538270831108093, -0.40654250979423523, -0.25482872128486633, -0.6009982824325562, -0.09626367688179016, 0.19861985743045807, -0.42950940132141113, 0.3245428800582886, -0.35637804865837097, -0.7419130206108093, 0.20354042947292328, 0.2424357384443283, 0.1986081898212433, 0.3597826361656189, 0.5376519560813904, -0.045134834945201874, -0.17455385625362396, 0.4626849293708801, 0.12382130324840546, -0.07107219845056534, 0.20776613056659698, 0.01640928164124489, 0.8632668256759644, -0.19725939631462097, -0.3015593886375427, -0.493542343378067, 0.323466956615448, 0.2837591767311096, -0.1379333883523941, 0.8115142583847046, 0.4491669535636902, -0.19448573887348175, -0.22708578407764435, -0.1717739850282669, -0.68831467628479, -0.4485034644603729, 0.16751348972320557, -0.2855178117752075, -0.9709652066230774, 0.37210527062416077, -0.04361763224005699, 0.4789089858531952, 0.37570998072624207, 0.22327092289924622, -0.5218052864074707, 1.0219498872756958, 0.47337889671325684, 0.28930410742759705, 0.6229404211044312, -0.14519134163856506, 0.19343923032283783, -0.8548753261566162, -0.33777326345443726, -0.32526877522468567, -0.5464261174201965, -0.25931793451309204, -0.03231390565633774, -0.016461525112390518, -0.49286726117134094, -0.025494255125522614, 0.15233246982097626, -0.12147603183984756, 0.41935595870018005, 0.5284947752952576, 0.37358617782592773, 0.09056422859430313, -0.24533602595329285, -0.04775194451212883, -0.3779286742210388, -0.42554423213005066, -0.3660869896411896, 1.0638483762741089, 0.5116431713104248, 0.6877419948577881, 0.211269810795784, 0.9045823812484741, 0.1075495257973671, 0.5254607796669006, -1.086683988571167, 0.3023955523967743, -0.16574250161647797, -0.20938508212566376, -0.3596116900444031, -0.24302133917808533, -1.1684948205947876, -0.27194592356681824, -0.25472956895828247, -0.45969489216804504, -0.31266409158706665, 0.059691525995731354, -0.8138297200202942, 0.397064745426178, -0.5750447511672974, 0.5237800478935242, -0.1920909434556961, -0.8993672728538513, -0.3753414750099182, -0.5329016447067261, -0.3881854712963104, -0.028240662068128586, 0.18311947584152222, -0.009556158445775509, 0.34747999906539917, 0.7426846623420715, -0.26920104026794434, 1.0184651613235474, -0.15986408293247223, 0.06413787603378296, 0.3358987867832184, 0.37271416187286377, 0.225225567817688, 0.2231777161359787, 0.06483075022697449, -0.1608705073595047, -0.4059092104434967, -0.5326021909713745, -0.5515159964561462, 0.7480464577674866, -0.862995445728302, -0.7915913462638855, -0.20608966052532196, -0.38965293765068054, -0.1381104737520218, -0.07537449896335602, 0.0467614084482193, 0.24149660766124725, -0.4985150694847107, 0.5696513652801514, 0.6244233846664429, -0.2648419439792633, 0.7179521322250366, 0.65987628698349, -0.5533340573310852, -0.37106844782829285, 0.8167574405670166, -0.0738120824098587, 0.6687735319137573, 0.22681814432144165, 0.29737353324890137, 0.20746874809265137, -0.01949383318424225, -0.24224673211574554, 0.23491808772087097, -0.6796356439590454, -0.36336201429367065, -0.9714078903198242, -0.2071465104818344, -0.5777924060821533, -0.8567964434623718, -0.5815560817718506, -0.3398309648036957, -0.11834254115819931, -0.3494332730770111, 0.7304578423500061, 1.0915188789367676, 0.05951928719878197, 0.6386011838912964, -0.8260857462882996, -0.5496025681495667, 0.5413899421691895, 0.3838951885700226, -0.26621222496032715, -0.6659668684005737, -0.19697614014148712, 0.08158926665782928, -0.746633768081665, -0.6446263790130615, 0.5600382685661316, 0.5758313536643982, 0.12051667273044586, 0.5074446797370911, -0.2832251787185669, 0.4107015132904053, -0.28410738706588745, 1.0153343677520752, 0.012798773124814034, -1.1227965354919434, 0.9356499910354614, -0.22057558596134186, -0.003037575865164399, 0.749761164188385, 0.5194553136825562, -0.5915574431419373, -0.6484984755516052, -1.094236969947815, -0.8018957376480103, 0.47281643748283386, 0.026180464774370193, 0.6049596071243286, 0.04586628079414368, 0.14593316614627838, 0.18970987200737, 0.10939894616603851, -0.586984395980835, -0.2218029946088791, -0.1755829006433487, -0.4542507827281952, -0.19202187657356262, 0.06889057159423828, -0.21993272006511688, -0.3923746347427368, 0.7270693182945251, -0.18353240191936493, 0.1549718827009201, 0.4213322401046753, 0.07688571512699127, -0.4830698072910309, 0.16853761672973633, -0.006871636025607586, 0.4258965253829956, -0.03293284401297569, -0.063493512570858, 0.29653140902519226, -0.7630776762962341, -0.06851945072412491, -0.4440023899078369, -0.059034429490566254, 0.20295727252960205, 0.24535849690437317, 0.7800312638282776, 0.528356671333313, -0.6743572354316711, 0.925939679145813, -0.33659207820892334, -0.16929811239242554, -0.5941207408905029, 0.4260919690132141, 0.03108222968876362, 0.12733742594718933, -0.1385365128517151, 0.12662824988365173, 0.0068687554448843, -0.6868597269058228, 0.3419969081878662, 0.16926074028015137, -0.9083171486854553, -0.5278507471084595, 0.41062131524086, 0.775658369064331, -1.1811001300811768, 0.6412525177001953, 0.003315884619951248, -0.7133387327194214, 0.40867868065834045, 0.8489440679550171, 0.8977984189987183, -0.7848771810531616, 0.6072589755058289, 0.3721711039543152, 0.08856625854969025, 0.21031081676483154, 0.7006427645683289, -0.08804338425397873, -0.8376798629760742, -0.11548987030982971, -0.650528073310852, -1.0500426292419434, -0.3012588322162628, -0.7556736469268799, 0.26742708683013916, -0.6461181044578552, 0.008546974509954453, 0.0006683826795779169, -0.0031629044096916914, -0.9301084280014038, 0.36265042424201965, -0.168691486120224, 0.6370155811309814, -1.2038242816925049, 0.5365106463432312, 0.9652904272079468, -0.5344592332839966, -1.0359243154525757, -0.09831317514181137, -0.08936095237731934, -0.9277030229568481, 0.23720169067382812, 0.40695273876190186, -0.03462899103760719, 0.4974808096885681, -0.44046252965927124, -0.5683804154396057, 1.206322431564331, -0.10658981651067734, -0.7346909046173096, 0.3910427689552307, -0.12452161312103271, 0.44860216975212097, -0.5854977369308472, 0.655049741268158, 0.37533557415008545, 0.22457627952098846, 0.033684249967336655, -0.6430128216743469, -0.3741210699081421, -0.36240917444229126, -0.30010101199150085, 0.014054836705327034, -0.9804233908653259, 0.7954060435295105, -0.20639818906784058, -0.042425185441970825, -0.22818782925605774, 0.4737752676010132, -0.16292297840118408, 0.4489307999610901, 0.43025749921798706, 0.6365748643875122, 0.9282909631729126, -0.287883460521698, 1.0883585214614868, -0.5686150789260864, 0.2867486774921417, 0.6675078272819519, -0.3790746331214905, 1.136123776435852, 0.6366488337516785, -0.29229193925857544, 1.0475144386291504, 0.3860067129135132, 0.2081831842660904, 0.03339690342545509, -0.17878565192222595, -0.43796104192733765, -0.3097335994243622, -0.6184710264205933, 0.11690682172775269, 0.5767082571983337, 0.5632078647613525, -0.6580724120140076, 0.2216338962316513, 0.42699018120765686, 0.33772701025009155, 0.4388907253742218, -0.5037235021591187, 0.8739340305328369, 0.19904083013534546, -0.8438411951065063, -0.129975825548172, -0.29485803842544556, 0.6613949537277222, -0.3712499141693115, -0.2772967517375946, -0.45294615626335144, 0.3468966782093048, -0.42809394001960754, -0.9491299986839294, 0.13734985888004303, -0.03414453938603401, 0.13463705778121948, -0.4608238935470581, 0.5669669508934021, -0.7668745517730713, -0.2663346529006958, 0.5877382755279541, 0.5612544417381287, 0.42903846502304077, 0.2754368185997009, -0.4571317434310913, 0.007454996462911367, 0.08905912190675735, -0.21539731323719025, 0.17875181138515472, 0.16759806871414185, 0.5708552002906799, 0.4871675670146942, 0.668328046798706, 0.19873157143592834, -0.4703561067581177, 0.27488547563552856, 0.7921587824821472, -0.69645094871521, -0.2982993423938751, -0.8632439970970154, 0.656059980392456, -0.10001841932535172, -0.5687332153320312, 1.109418511390686, 0.35843420028686523, 0.9916843175888062, 0.04856858029961586, 0.7509333491325378, -0.020871076732873917, 0.5636365413665771, -0.3746921718120575, 0.4594607651233673, -0.5733024477958679, -0.03807942196726799, -0.24190151691436768, -0.9018921256065369, -0.21651893854141235, 0.9388432502746582, -0.06578556448221207, -0.011798047460615635, 1.0223520994186401, 0.6517353057861328, 0.19320298731327057, 0.42669254541397095, 0.7291640639305115, 0.2234201282262802, 0.2685774862766266, 0.6480077505111694, 0.8262451887130737, -0.3962045907974243, 0.12843769788742065, -0.32451847195625305, -0.3427930772304535, -0.07810759544372559, -0.28206685185432434, -0.9256073236465454, -0.48758405447006226, -0.36586904525756836, -0.7884284257888794, 0.37715834379196167, 1.3480256795883179, 0.1607362926006317, -0.725714385509491, -0.14296641945838928, -0.29244017601013184, -0.04143053665757179, 0.012250515632331371, -0.2587067186832428, -0.033309437334537506, -0.8078143000602722, -1.205830693244934, 0.37390637397766113, 0.5319631695747375, 0.1617012619972229, -0.34205162525177, -0.38571614027023315, 0.03719738498330116, 0.3690480589866638, 0.4811979830265045, 0.18319173157215118, -0.3186260461807251, -0.4485224187374115, 0.43079182505607605, -0.03989427164196968, 0.23993487656116486, 0.6409640908241272, -0.5261954069137573, 0.4572841227054596, 0.11191847920417786, 0.8081371188163757, 0.028457479551434517, -0.15597496926784515, 0.7514247298240662, -0.5653117895126343, 0.0757993757724762, 0.5633545517921448, 0.4247724115848541, 0.5441069006919861, -0.47269365191459656, 0.49580493569374084, 0.4030408263206482, -0.7227678894996643, -0.6847647428512573, 0.11782049387693405, -0.5123496651649475, 0.12411831319332123, 1.3669871091842651, -0.7533954381942749, -0.48058703541755676, -0.25415438413619995, -0.33787381649017334, -0.0012051330413669348, -0.4734092652797699, 0.5742344260215759, 0.8175821900367737, -0.023051893338561058, -0.12821714580059052, -0.2164311707019806, 0.4979816973209381, 0.9939960837364197, -0.7351037263870239, -0.3125070631504059, 0.043055493384599686, 0.06159752234816551, 0.2923314869403839, 0.49190306663513184, 0.12136412411928177, 0.31406283378601074, 0.19836212694644928, 0.2066485732793808, 0.3082909882068634, -0.6860049962997437, -0.4345546364784241, -0.19276271760463715, 0.3697151243686676, -0.07316768914461136 ]
http://arxiv.org/abs/2406.17975v1
http://arxiv.org/pdf/2406.17975v1
Inherent Challenges of Post-Hoc Membership Inference for Large Language Models
2024-06-25T23:12:07
2024-06-25T23:12:07
Matthieu Meeus, Shubham Jain, Marek Rei, Yves-Alexandre de Montjoye
cs.CL
cs.CL, cs.CR, cs.LG
Large Language Models (LLMs) are often trained on vast amounts of undisclosed data, motivating the development of post-hoc Membership Inference Attacks (MIAs) to gain insight into their training data composition. However, in this paper, we identify inherent challenges in post-hoc MIA evaluation due to potential distribution shifts between collected member and non-member datasets. Using a simple bag-of-words classifier, we demonstrate that datasets used in recent post-hoc MIAs suffer from significant distribution shifts, in some cases achieving near-perfect distinction between members and non-members. This implies that previously reported high MIA performance may be largely attributable to these shifts rather than model memorization. We confirm that randomized, controlled setups eliminate such shifts and thus enable the development and fair evaluation of new MIAs. However, we note that such randomized setups are rarely available for the latest LLMs, making post-hoc data collection still required to infer membership for real-world LLMs. As a potential solution, we propose a Regression Discontinuity Design (RDD) approach for post-hoc data collection, which substantially mitigates distribution shifts. Evaluating various MIA methods on this RDD setup yields performance barely above random guessing, in stark contrast to previously reported results. Overall, our findings highlight the challenges in accurately measuring LLM memorization and the need for careful experimental design in (post-hoc) membership inference tasks.
[ -0.3798307180404663, -0.6596652269363403, 0.40719884634017944, -0.34116533398628235, -0.49162840843200684, 0.11357764154672623, -0.14831627905368805, -0.4066760241985321, -0.03710939362645149, 0.2749791145324707, -0.9107668995857239, -0.6217645406723022, -0.6830981373786926, 0.08891794085502625, -0.16294565796852112, 0.7727546095848083, 0.13011819124221802, 0.016608089208602905, -0.2790742516517639, -0.3953956961631775, -0.42021772265434265, -0.7296276092529297, -0.15979166328907013, -0.23673224449157715, 0.5165259838104248, -0.05188383162021637, 0.5823376774787903, 0.47201821208000183, 0.577042818069458, 0.12760068476200104, -0.3093213737010956, 0.24191336333751678, -0.5472174882888794, 0.031844351440668106, -0.07556688040494919, -0.7534358501434326, -0.3238621652126312, -0.029578322544693947, 0.6036064028739929, 0.9476909041404724, -0.25251951813697815, 0.09168393909931183, -0.07037804275751114, 0.504085898399353, -0.7812516093254089, 0.12929372489452362, -0.8501510620117188, -0.06583531945943832, -0.31609854102134705, -0.018506472930312157, -0.5148841142654419, -0.3771045207977295, 0.2582867443561554, -0.4424889385700226, 0.24118302762508392, -0.06877782940864563, 0.88261479139328, 0.12846142053604126, -0.44638150930404663, -0.25005221366882324, -0.6876067519187927, 0.8510333895683289, -0.8484512567520142, 0.8181431293487549, 0.6700034141540527, 0.2333717942237854, -0.3445011079311371, -0.08347894251346588, -0.2891640067100525, -0.05723632499575615, 0.2471473664045334, -0.24559040367603302, 0.03164133429527283, -0.015099385753273964, 0.22598865628242493, 0.29007387161254883, -0.5174794793128967, 0.4360700845718384, -0.06653506308794022, 0.17556865513324738, 0.6449073553085327, 0.029467899352312088, -0.06554355472326279, 0.04694882780313492, -0.29790422320365906, -0.06041286885738373, -1.1257972717285156, -0.21104253828525543, 0.3118625283241272, 0.3667343854904175, -0.21533483266830444, 0.5883798599243164, -0.05046942085027695, 0.5718177556991577, -0.22050923109054565, 0.04358581081032753, 0.2945460081100464, -0.19085556268692017, -0.2858501970767975, -0.3533394932746887, 0.5047411918640137, 0.21594417095184326, 0.19365565478801727, -0.18419122695922852, -0.3769591152667999, 0.05674990639090538, -0.18015828728675842, -0.5482919812202454, -0.29189223051071167, 0.05639937147498131, -0.6264898777008057, -0.17178623378276825, 0.19810906052589417, -0.6420112252235413, -0.5406210422515869, -0.3365892767906189, 0.4823940098285675, -0.15936905145645142, -0.27208730578422546, 0.20915605127811432, -0.16280853748321533, 0.198642760515213, 0.5501899719238281, -0.660666823387146, 0.12043777853250504, 0.5946651697158813, 0.7201269268989563, 0.045487064868211746, -0.16246160864830017, -0.5390826463699341, -0.026340708136558533, -0.39423108100891113, 0.6501478552818298, -0.6519036293029785, -0.4767914414405823, 0.15388785302639008, -0.2216530442237854, -0.3685615658760071, -0.521441638469696, 0.1031113788485527, -0.6740314960479736, 0.1365862488746643, -0.5790817141532898, -0.7616700530052185, 0.23338337242603302, 0.13162581622600555, -0.5019341111183167, 0.8766419887542725, 0.25858715176582336, -1.0486761331558228, 0.6092458367347717, -0.13572758436203003, -0.25867462158203125, -0.1915285438299179, -0.28616631031036377, -0.4373282790184021, 0.5686696767807007, -0.008306206203997135, 0.18215729296207428, -0.31329625844955444, 0.05342252925038338, -0.7198188900947571, -0.5088703632354736, 0.6447613835334778, -0.3569670617580414, 0.8559861779212952, 0.1585884541273117, -0.2741043269634247, -0.025486169382929802, -0.6355366110801697, -0.32002291083335876, -0.09382152557373047, -0.3260650038719177, -0.6207921504974365, 0.44213297963142395, -0.1828336864709854, 0.2777431905269623, -0.17874889075756073, -0.2838306427001953, 0.31358614563941956, -0.3149367868900299, 0.2215394377708435, 0.9795096516609192, -0.07122554630041122, 0.45597735047340393, -0.5001670122146606, 0.6219810843467712, -0.2182774692773819, 0.26060035824775696, 0.15525327622890472, -0.26191893219947815, -0.5723490118980408, -0.37380436062812805, 0.3913862109184265, 0.25095340609550476, -0.7380363345146179, 0.7165042161941528, -0.36397865414619446, -0.3753981292247772, -0.42498818039894104, -0.06538629531860352, 0.25618070363998413, 0.08811971545219421, 0.2633344531059265, -0.020628733560442924, -0.2945879399776459, -0.6929705142974854, -0.042901962995529175, -0.38374805450439453, -0.40549036860466003, 0.2636791467666626, 0.46707046031951904, -0.30583420395851135, 0.8480183482170105, -0.4060790240764618, -0.11915513873100281, -0.33839505910873413, 0.23667064309120178, 0.026016689836978912, 0.17995847761631012, 0.3025531768798828, -0.2921808063983917, 0.1436552256345749, 0.07220292836427689, -0.6214523315429688, -0.2751180827617645, -0.14643481373786926, -0.05680405721068382, 0.4647572636604309, 0.5113480091094971, -0.8968765735626221, 0.4841664731502533, 0.6192614436149597, -0.21875645220279694, 0.658042311668396, 0.05261088162660599, -0.013058102689683437, -0.8758723735809326, 0.07543390244245529, -0.25476568937301636, -0.07632625102996826, -0.3468721807003021, 0.008267829194664955, -0.04404367506504059, 0.17734932899475098, -0.37674814462661743, 0.37298962473869324, -0.7632101774215698, -0.1268351972103119, -0.087555430829525, -0.020273972302675247, -0.10178923606872559, 0.0896521806716919, 0.028358031064271927, 0.3433331549167633, 0.3782809376716614, -0.572414755821228, -0.16070517897605896, 0.42631858587265015, -0.6044543981552124, 0.38079553842544556, -0.4357862174510956, 0.15717379748821259, -0.2462901771068573, 0.44090527296066284, -1.0401140451431274, -0.07600225508213043, 0.12688907980918884, -0.3093825876712799, 0.43554943799972534, -0.16191734373569489, -0.37433117628097534, -0.26068371534347534, -0.6389033794403076, 0.3976571559906006, 0.494813472032547, -0.49386507272720337, 0.23639261722564697, 0.33145517110824585, 0.1084555834531784, -0.7130932211875916, -0.6369267702102661, -0.08375830203294754, -0.5509463548660278, -0.49698951840400696, -0.07495448738336563, -0.07044399529695511, -0.3730389177799225, -0.19025413691997528, -0.4319937229156494, 0.14369727671146393, 0.4797479212284088, 0.16466517746448517, 0.16931456327438354, -0.19733399152755737, 0.31564581394195557, -0.05650380998849869, 0.1748543381690979, 0.07517686486244202, 0.06469208002090454, 0.6605445742607117, 0.36185798048973083, -0.48207128047943115, -0.5583668351173401, 0.30961841344833374, 0.5288274884223938, -0.2723861336708069, 0.9310289025306702, 0.12734533846378326, -0.34044355154037476, -0.6944909691810608, -0.5780182480812073, -0.3385511338710785, -0.4367593228816986, 0.3891846239566803, -0.2906164824962616, -0.9775694608688354, 0.6591423749923706, 0.014414646662771702, 0.25773370265960693, 0.013146967627108097, 0.3114350140094757, -0.3175871670246124, 0.5026867985725403, 0.47161850333213806, 0.05309198796749115, 0.5889279842376709, -0.06594666838645935, 0.25708797574043274, -0.6619016528129578, -0.15436509251594543, -0.8006295561790466, -0.24853652715682983, -0.4819967746734619, -0.6551908254623413, -0.050243228673934937, 0.23715533316135406, -0.03164828196167946, 0.19843409955501556, 0.12549830973148346, 0.3024778962135315, 0.26725587248802185, -0.02438248321413994, 0.25292977690696716, 0.09030914306640625, 0.27925464510917664, 0.024545200169086456, -0.6326234936714172, -0.23128332197666168, 1.0110349655151367, 0.4158317744731903, 1.0713119506835938, 0.19225336611270905, 0.7315742373466492, 0.148932084441185, 0.44720908999443054, -0.7847070693969727, 0.4228581488132477, 0.1980815976858139, -0.45037728548049927, -0.26882418990135193, -0.7434396147727966, -0.9270585775375366, 0.4806613326072693, -0.2319023609161377, -0.7778429388999939, 0.5695664882659912, 0.08248412609100342, -0.05568503215909004, 0.14009150862693787, -0.4878152012825012, 0.7689714431762695, 0.15575851500034332, -0.10170625895261765, 0.18748167157173157, -0.849919855594635, 0.5041419267654419, -0.33707085251808167, 0.4506057798862457, -0.22351917624473572, 0.15737400949001312, 0.7246578335762024, -0.6845051050186157, 0.7437415719032288, -0.14085455238819122, -0.18944144248962402, 0.1463421881198883, 0.35195931792259216, 0.5785518288612366, -0.012561623938381672, -0.32561612129211426, 0.3359137773513794, -0.006080632098019123, -0.2564447522163391, -0.459776908159256, 0.37648239731788635, -0.7613272666931152, -0.7531638145446777, -0.331291526556015, -0.5370570421218872, -0.3348328471183777, -0.06887257844209671, 0.35118579864501953, 0.4218897223472595, -0.2910802364349365, 0.4533054530620575, 0.5079593062400818, -0.2654438614845276, 0.5331238508224487, 0.43083471059799194, -0.21878370642662048, -0.3185964524745941, 0.5755866765975952, 0.3281227946281433, 0.5787734389305115, 0.38371843099594116, 0.18687255680561066, -0.6355465054512024, -1.0730565786361694, -0.276469886302948, 0.5233928561210632, -0.4841509759426117, -0.2723866105079651, -0.4598032534122467, 0.11645209789276123, -0.37436872720718384, -0.11561628431081772, -0.3388778865337372, -0.3116516172885895, -0.3152540624141693, -0.36598101258277893, 0.14223386347293854, 0.5970317125320435, 0.10634155571460724, 0.5879378318786621, -0.8105822205543518, -0.1391051709651947, -0.12704084813594818, 0.15421435236930847, -0.16674606502056122, -0.617090106010437, -0.33432820439338684, 0.07989512383937836, 0.00686888350173831, -0.9877563714981079, 0.11611893028020859, 0.24785935878753662, 0.5684458613395691, 0.6954103708267212, 0.4038093388080597, 0.6217846870422363, -0.3615769147872925, 0.683449923992157, -0.06872019171714783, -0.9558661580085754, 0.30485799908638, -0.6261205077171326, 0.18419934809207916, 0.7590662240982056, 0.17211931943893433, -0.46002545952796936, -0.5398101210594177, -0.5305302143096924, -0.7786872386932373, 0.9363860487937927, 0.3877919316291809, 0.04161330685019493, -0.1861167699098587, 0.22512397170066833, 0.12265787273645401, 0.37578442692756653, -0.6055186986923218, -0.1582299768924713, 0.32132837176322937, 0.15758144855499268, -0.08125369995832443, -0.34233641624450684, -0.04304526001214981, 0.05032952129840851, 0.43889203667640686, 0.11793282628059387, -0.11567249149084091, -0.04261978343129158, -0.2436009794473648, -0.18161489069461823, 0.0636717677116394, 0.4878610074520111, 1.1910454034805298, -0.47161972522735596, 0.31402915716171265, 0.12995406985282898, -0.031115952879190445, 0.16889242827892303, 0.07420026510953903, -0.09204529970884323, 0.2617487609386444, 0.7591223120689392, 0.679903507232666, 0.12437264621257782, -0.6338025331497192, 0.6197189092636108, -0.11725493520498276, -0.1864394247531891, 0.07839865237474442, -0.10581419616937637, 0.28442883491516113, -0.006987588480114937, 0.23712556064128876, 0.020588696002960205, -0.17753878235816956, -0.5273593068122864, 0.4221315085887909, 0.687936007976532, -0.13820041716098785, -0.5536760687828064, 0.526125431060791, 0.002532794838771224, -0.338228315114975, 0.7040983438491821, -0.009088524617254734, -0.1844264268875122, 0.5015928745269775, 0.45129820704460144, 0.665037989616394, -0.9552702307701111, 0.4165489971637726, 0.02219734527170658, 0.4844134747982025, -0.14115828275680542, 0.10349053144454956, -0.19237013161182404, -0.6551935076713562, -0.23759278655052185, -0.6995440125465393, -0.16164648532867432, 0.24920175969600677, -0.8822112679481506, 0.4582068622112274, -0.423386812210083, -0.10063422471284866, -0.37602677941322327, -0.19915398955345154, -0.4852524399757385, -0.02076350525021553, 0.09822749346494675, 0.8279077410697937, -1.1066832542419434, 0.7910751104354858, 0.34523308277130127, 0.07933200150728226, -0.5050951242446899, 0.11328371614217758, 0.20340321958065033, -0.3584265410900116, 0.31128254532814026, 0.24217276275157928, 0.006061908323317766, -0.36755627393722534, -0.006399147212505341, -0.7477498054504395, 0.7328420281410217, 0.5451629757881165, -0.7416943311691284, -0.11311879009008408, 0.2027655392885208, 0.47435757517814636, 0.06619234383106232, 0.23434463143348694, 0.6196777820587158, 0.2603318691253662, 0.3033618628978729, -0.8114499449729919, -0.033961642533540726, 0.06711188703775406, 0.012290057726204395, 0.3234820067882538, -0.41661354899406433, 1.10883367061615, 0.06965930759906769, -0.4035766124725342, -0.11044871062040329, 0.4890098571777344, 0.5261272192001343, 0.35045763850212097, 0.567172110080719, 0.4720904529094696, 0.865158200263977, 0.07641132175922394, 1.0843960046768188, 0.33468392491340637, 0.5952116250991821, 1.2362332344055176, -0.5656165480613708, 0.8466823101043701, 0.4198421835899353, -0.3706837296485901, -0.10322781652212143, 0.9662764072418213, 0.2133142352104187, 0.5560585260391235, 0.5914854407310486, -0.5350912809371948, -0.3003394901752472, 0.006991495843976736, -0.7567318081855774, 0.390872061252594, 0.2635418176651001, -0.23545508086681366, -0.5376128554344177, -0.19709861278533936, 0.1305612474679947, -0.2839677333831787, 0.14375439286231995, 0.7294674515724182, 0.2954726219177246, -0.17858663201332092, 0.6577684283256531, -0.16158108413219452, 0.46124541759490967, -0.6547898650169373, 0.011046343483030796, -0.5718033313751221, 0.24173836410045624, -0.1262519657611847, -0.11486949026584625, 0.5030075311660767, -0.16107165813446045, 0.12753911316394806, -0.01167711615562439, 0.09869081526994705, -0.42887815833091736, -0.5049151182174683, 0.4243275821208954, 0.6580985188484192, 0.18401597440242767, -0.07591579109430313, -0.3135099709033966, 0.5811271071434021, -0.03542197868227959, -0.6050958633422852, 0.5548524260520935, 0.6014466285705566, -0.2711946368217468, 0.41576701402664185, 0.5486114621162415, 0.13676249980926514, 0.08489015698432922, 0.12071975320577621, 0.9855142831802368, -0.3133881390094757, -0.3911229074001312, -1.0820709466934204, 0.29529356956481934, 0.27782461047172546, -0.3233170807361603, 0.8704492449760437, 0.5838404297828674, 0.8924486041069031, -0.23990467190742493, 0.6170251965522766, 0.1518164426088333, 0.0908677950501442, -0.7566404938697815, 0.8139265179634094, -0.631929337978363, 0.6533634066581726, -0.4485984742641449, -1.0630372762680054, -0.6454473733901978, 0.7514245510101318, -0.3527337610721588, 0.002717788564041257, 0.8010690808296204, 0.8616743087768555, 0.005799500737339258, -0.06856206059455872, 0.4350813627243042, 0.12342418730258942, 0.7504162788391113, 0.4296600818634033, 1.1545345783233643, -0.3306454122066498, 0.2509290874004364, 0.03276496380567551, -0.12890438735485077, -0.31200098991394043, -0.7329701781272888, -1.2216989994049072, -0.3863678276538849, -0.39689379930496216, -0.35891851782798767, 0.1640603393316269, 1.1010313034057617, 0.6794823408126831, -0.6643943786621094, -0.28791677951812744, -0.13421325385570526, 0.29373350739479065, 0.011903352104127407, -0.18769794702529907, 0.6153370141983032, -0.11380115151405334, -0.6400056481361389, 0.5038862228393555, -0.054373402148485184, -0.05552629008889198, 0.11680865287780762, 0.16956117749214172, -0.34824004769325256, 0.13355843722820282, 0.5989558696746826, 0.054949671030044556, -0.6885640025138855, -0.6242201924324036, -0.2255493402481079, 0.19393901526927948, 0.02038726396858692, 0.840674102306366, -0.37419745326042175, 0.21110762655735016, 0.5468689799308777, 0.8415954113006592, 0.2789713740348816, 0.38614848256111145, 0.5107340216636658, -0.8080296516418457, 0.17901311814785004, 0.2517777979373932, 0.2545216679573059, 0.21327771246433258, -0.22668084502220154, 0.2717631161212921, 0.34792181849479675, -0.43247881531715393, -1.282886266708374, 0.18999429047107697, -0.9283599257469177, -0.41539812088012695, 1.1532351970672607, -0.34958478808403015, -0.21212206780910492, -0.27826571464538574, 0.05696091800928116, 0.14645972847938538, -0.17978861927986145, 0.8844435811042786, 0.90798020362854, -0.01834159716963768, -0.18909385800361633, -0.41174420714378357, 0.49820804595947266, 0.28646335005760193, -0.9563486576080322, 0.64496910572052, 0.9072625041007996, 0.35701748728752136, -0.32738423347473145, 0.6706863641738892, -0.0508766770362854, 0.013110571540892124, -0.04925728589296341, -0.003803539788350463, -0.04335251823067665, -0.5349802374839783, -0.5238785147666931, 0.16120949387550354, 0.17364570498466492, -0.3618271052837372 ]
http://arxiv.org/abs/2406.17974v1
http://arxiv.org/pdf/2406.17974v1
Evaluating Fairness in Large Vision-Language Models Across Diverse Demographic Attributes and Prompts
2024-06-25T23:11:39
2024-06-25T23:11:39
Xuyang Wu, Yuan Wang, Hsin-Tai Wu, Zhiqiang Tao, Yi Fang
cs.CL
cs.CL, cs.CV
Large vision-language models (LVLMs) have recently achieved significant progress, demonstrating strong capabilities in open-world visual understanding. However, it is not yet clear how LVLMs address demographic biases in real life, especially the disparities across attributes such as gender, skin tone, and age. In this paper, we empirically investigate \emph{visual fairness} in several mainstream LVLMs and audit their performance disparities across sensitive demographic attributes, based on public fairness benchmark datasets (e.g., FACET). To disclose the visual bias in LVLMs, we design a fairness evaluation framework with direct questions and single-choice question-instructed prompts on visual question-answering/classification tasks. The zero-shot prompting results indicate that, despite enhancements in visual understanding, both open-source and closed-source LVLMs exhibit prevalent fairness issues across different instruct prompts and demographic attributes.
[ -0.31579869985580444, -0.47168323397636414, 0.6475170850753784, 0.3156587481498718, 0.013667927123606205, -0.3611776530742645, -0.13894978165626526, -0.32875868678092957, -0.42244675755500793, 0.6737794280052185, -0.6540971398353577, -0.488472044467926, -0.3018839657306671, -0.11696807295084, -0.02765907160937786, 0.7954325079917908, 0.20297761261463165, 0.45784449577331543, -0.5431561470031738, -0.47180792689323425, -0.7877866625785828, -0.42216238379478455, -0.4727236330509186, 0.029633326455950737, 0.6472859382629395, 0.21914047002792358, 0.512168288230896, 0.5226384997367859, 0.4675050675868988, 0.30300864577293396, -0.15246173739433289, -0.17428739368915558, -0.5753806233406067, 0.017695769667625427, -0.4302457273006439, -0.49519556760787964, -0.3988308608531952, 0.058128658682107925, 0.7691887617111206, 0.7344076037406921, -0.0704813003540039, 0.6316259503364563, 0.05296327546238899, 0.787762463092804, -1.0620192289352417, 0.13609440624713898, -0.6292127966880798, 0.3858538568019867, -0.31958597898483276, 0.060468338429927826, -0.437524676322937, -0.47437989711761475, 0.19056753814220428, -0.2886309027671814, 0.4674774408340454, 0.10580486059188843, 0.5824583172798157, 0.3444800078868866, -0.4254882037639618, 0.033240173012018204, -0.3535059988498688, 0.7902498245239258, -0.4433450996875763, 0.443936288356781, 0.07813596725463867, 0.771879255771637, 0.20013633370399475, -0.40139156579971313, -0.6151893138885498, -0.08778177946805954, 0.024144606664776802, 0.21542134881019592, -0.346843957901001, 0.07746288925409317, 0.5432363152503967, 0.21607878804206848, -0.7146978378295898, 0.41650766134262085, -0.43290966749191284, -0.19615976512432098, 0.4624888002872467, 0.316895455121994, 0.05118916556239128, -0.32218050956726074, -0.2371557354927063, -0.1126542016863823, -0.4791637063026428, 0.4943651854991913, 0.5064537525177002, 0.358392596244812, -0.3577210307121277, 0.6682963967323303, -0.4008696675300598, 0.8625640273094177, -0.07141770422458649, 0.13995510339736938, 0.4282853603363037, -0.23776917159557343, -0.2710804045200348, -0.18511036038398743, 0.45257723331451416, 0.8793265223503113, 0.5962729454040527, 0.07549820095300674, -0.30340832471847534, 0.1626632660627365, 0.033355288207530975, -0.7317867279052734, 0.24007785320281982, 0.02721346542239189, -0.6881281137466431, -0.14482904970645905, -0.009524356573820114, -1.107872486114502, -0.9148761630058289, -0.2999981939792633, 0.4334631562232971, 0.1357429325580597, -0.2187509536743164, 0.12158635258674622, -0.4283553957939148, 0.42953041195869446, 0.7517160773277283, -0.5389127731323242, -0.0938466265797615, 0.6154441237449646, 0.443289190530777, -0.10128996521234512, -0.07414757460355759, -1.001273512840271, -0.3486810326576233, -0.03716456890106201, 0.4483184516429901, -0.5192171335220337, 0.09384313225746155, 0.20797550678253174, -0.11117755621671677, 0.04346704110503197, -0.6141234636306763, 0.28569093346595764, -0.4477042257785797, 0.3221158981323242, -0.7101194858551025, -0.1066669225692749, -0.03282037004828453, 0.1656271517276764, -0.5377579927444458, 0.4279794991016388, 0.036652207374572754, -0.855970561504364, 0.909230649471283, -0.6808534264564514, 0.08419311791658401, 0.2979733347892761, -0.5182712078094482, -0.3619793951511383, 0.15189743041992188, 0.38690242171287537, 0.3103939890861511, -0.06472767144441605, 0.38546741008758545, -0.4251461327075958, -0.3604603111743927, 0.23994258046150208, -0.9503093361854553, 0.947022557258606, 0.2006419450044632, -0.41072478890419006, 0.24408259987831116, -0.5928211212158203, -0.2545376121997833, 0.16633515059947968, 0.13426068425178528, -0.3503272235393524, -0.05023413896560669, -0.07517246156930923, 0.20735684037208557, 0.25035983324050903, -0.6528558135032654, -0.10604492574930191, -0.10517396032810211, 0.0771496444940567, 1.228466272354126, -0.4388871192932129, 0.49955660104751587, -0.023831985890865326, 0.4154415428638458, 0.17455627024173737, 0.6029489040374756, -0.15793830156326294, -0.5455926060676575, -0.7022172212600708, -0.3767237365245819, 0.034284453839063644, 0.47957557439804077, -1.0039052963256836, -0.031331866979599, -0.2694895267486572, -0.017447102814912796, -0.6881802678108215, -0.07967855036258698, 0.5738135576248169, 0.677727222442627, 0.08088511228561401, -0.5189418196678162, -0.07439873367547989, -1.1439176797866821, -0.4330827295780182, -0.11554966121912003, -0.09995650500059128, 0.6858957409858704, 0.5814764499664307, 0.24386635422706604, 0.9910484552383423, -0.27993571758270264, -0.07840763032436371, 0.12348701804876328, -0.11648174375295639, 0.1645863950252533, 0.23270481824874878, 0.8541277050971985, -1.0176650285720825, -0.11300380527973175, -0.15478593111038208, -0.8700153231620789, -0.4916558563709259, 0.35453855991363525, -0.06217930093407631, 0.1184510588645935, 0.059683047235012054, -0.09792207181453705, 0.8374401926994324, 0.46383145451545715, -0.7644527554512024, 0.46280637383461, 0.05493510141968727, 0.5539385676383972, -0.11531563848257065, 0.024686645716428757, 0.2469671070575714, -0.22377732396125793, -0.32640892267227173, 0.22182559967041016, 0.11701305210590363, -0.07784083485603333, -0.9183100461959839, 0.7902687788009644, -0.1330523043870926, -0.6228781938552856, 0.2664892077445984, 0.2510811984539032, -0.15998874604701996, 0.40336576104164124, -0.09247268736362457, 0.6900739073753357, 0.5050414800643921, -0.35471323132514954, 0.23661015927791595, -0.021774491295218468, -0.406882107257843, 1.1527584791183472, -0.4503230154514313, -0.030483737587928772, -0.8745982050895691, 0.20675647258758545, -0.775745689868927, -0.0657728835940361, 0.3117516040802002, -0.30945196747779846, -0.29704105854034424, -0.38725563883781433, -0.1703852415084839, -0.5551140308380127, -0.38099750876426697, 0.7916285991668701, 0.6106429100036621, -0.5624974966049194, 0.458209753036499, 0.07060334086418152, -0.02907826565206051, -0.905867338180542, -0.5436821579933167, -0.09660198539495468, -0.2379087507724762, -0.7922977209091187, -0.25786203145980835, -0.10439634323120117, -0.6652546525001526, 0.004408782813698053, 0.09511376917362213, -0.014187835156917572, -0.0018662629881873727, 0.24987517297267914, 0.26189640164375305, -0.29926609992980957, 0.0025705364532768726, -0.29098525643348694, 0.1324964016675949, -0.23917880654335022, -0.1414879709482193, 0.4143366515636444, -0.28794151544570923, -0.7748565673828125, -0.14111997187137604, 0.2239065021276474, 0.49828019738197327, -0.6793690323829651, 0.6159970760345459, 0.5747278928756714, -0.22886399924755096, -0.14846941828727722, -0.7941407561302185, 0.12640386819839478, -0.45681312680244446, 0.27971649169921875, -0.1895187497138977, -1.163147211074829, 0.646855354309082, 0.6238067746162415, 0.2963624894618988, 0.4221014678478241, 0.6137186884880066, -0.011131559498608112, 0.8620626330375671, 0.3901316225528717, 0.5631383657455444, 0.5079888105392456, 0.20521944761276245, -0.1992988884449005, -0.4921458065509796, -0.4777352511882782, -0.5405563116073608, -0.2708423435688019, -0.5490638613700867, -0.6871250867843628, 0.2968887984752655, -0.24836815893650055, -0.5910055637359619, -0.19561076164245605, -0.41800469160079956, 0.5211751461029053, 0.6498170495033264, 0.21679595112800598, 0.29816681146621704, 0.07258455455303192, 0.02061920426785946, -0.38161349296569824, -0.5629594326019287, -0.37495550513267517, 0.9488025307655334, 0.49803075194358826, 0.7389119863510132, 0.05032624676823616, 0.44457972049713135, 0.4373224377632141, 0.4845176041126251, -0.45637163519859314, 0.5332062840461731, -0.6326391100883484, -0.6187211871147156, -0.317067950963974, -0.8063227534294128, -0.7292963862419128, 0.5531474947929382, -0.18002358078956604, -0.8086792230606079, 0.5870593190193176, 0.3914969265460968, -0.2150156944990158, 0.314644455909729, -0.7141465544700623, 1.1057021617889404, -0.3716801404953003, -0.4848436713218689, -0.061008527874946594, -0.564306914806366, 0.6568900346755981, -0.05346774682402611, 0.3230299949645996, -0.32954058051109314, 0.06601692736148834, 0.48276859521865845, -0.21120929718017578, 0.7543478608131409, -0.7387067675590515, -0.13409629464149475, 0.051913484930992126, -0.07847900688648224, -0.09749699383974075, -0.10177332907915115, -0.17330728471279144, 0.473551869392395, -0.18166209757328033, -0.5313298106193542, -0.6347413659095764, 0.5025414824485779, -0.47371232509613037, -0.49006015062332153, -0.377340704202652, -0.34345483779907227, -0.06597364693880081, -0.027837790548801422, -0.030824076384305954, 0.5852910280227661, -0.24748924374580383, 0.2776135206222534, 0.6619618535041809, -0.9422545433044434, 0.2777228355407715, 0.8039019107818604, -0.45918434858322144, -0.11526262015104294, 0.7874030470848083, 0.09223073720932007, 0.440673291683197, 0.14606204628944397, 0.061737243086099625, -0.3174166679382324, -0.3465184271335602, -0.6912189722061157, -0.028534268960356712, -0.9241925477981567, -0.018517542630434036, -0.5055390000343323, -0.07603895664215088, -0.23286178708076477, -0.00027250632410869, -0.1868887096643448, -0.19299761950969696, 0.2144649624824524, 0.22725899517536163, 0.2272661179304123, 0.7417566776275635, -0.009176199324429035, 0.02698531560599804, -0.3166850507259369, 0.6710079312324524, 0.776477575302124, 0.6791318655014038, 0.22309550642967224, -0.4418693482875824, 0.20262911915779114, 0.18368642032146454, 0.03098343312740326, -0.600841224193573, -0.14292775094509125, -0.1858278214931488, 0.6592867374420166, 0.1760713905096054, -0.021646976470947266, 0.5566697120666504, -0.7519480586051941, 0.9991726279258728, 0.4302482008934021, -0.8042480945587158, 0.4460088908672333, -0.21766535937786102, 0.2252751886844635, 0.5814077854156494, -0.2217254489660263, -0.6039012670516968, -0.43132784962654114, -0.07535714656114578, -0.6062542796134949, 0.627244770526886, 0.3225713074207306, 0.07796518504619598, 0.09303078055381775, 0.11097081750631332, 0.18535393476486206, 0.4708072543144226, -0.915911853313446, -0.31905582547187805, -0.45007219910621643, -0.28087350726127625, 0.2546975016593933, 0.02472631260752678, -0.04634654149413109, -0.17785300314426422, -0.0367574468255043, -0.08174490183591843, 0.0194606464356184, 0.07078190892934799, -0.22082994878292084, -0.04603569954633713, 0.46124354004859924, 0.5368662476539612, 0.8991086483001709, -0.21552389860153198, 0.008256823755800724, 0.15596799552440643, -0.32477331161499023, 0.11396247148513794, -0.02575191669166088, -0.38989686965942383, -0.17509053647518158, 0.3943363130092621, 1.0059971809387207, -0.1673235148191452, -0.7943611145019531, 1.052347183227539, -0.4701424241065979, -0.11294826865196228, 0.10073152929544449, 0.10560493171215057, -0.3778369426727295, 0.4635959267616272, 0.457813560962677, 0.011242852546274662, 0.1916773021221161, -0.5565715432167053, 0.034308962523937225, 0.6501590609550476, -0.5411378145217896, 0.10291081666946411, 0.8523054122924805, 0.4325064718723297, -0.259937584400177, 0.5485807657241821, -0.07029394060373306, -0.37458619475364685, 0.7825673818588257, -0.06386297196149826, 0.8350008130073547, 0.013085038401186466, 0.28576329350471497, 0.14275284111499786, 0.5147154331207275, 0.22088514268398285, 0.12065394222736359, 0.046859391033649445, -0.5815022587776184, -0.38886022567749023, -0.7978901863098145, -0.2128864973783493, -0.07210951298475266, -0.5997703671455383, 0.14532874524593353, -0.3931018114089966, -0.08618820458650589, -0.006224171724170446, -0.5181312561035156, -1.3506946563720703, 0.3827276825904846, 0.5093297362327576, 0.8684174418449402, -0.8248449563980103, 0.037005651742219925, 0.43029990792274475, -0.5258181095123291, -0.2535000741481781, -0.0959327220916748, 0.12104567885398865, -1.3017606735229492, 1.00834059715271, 0.27238717675209045, -0.03172912821173668, -0.4808509051799774, -0.7466304302215576, -0.24174964427947998, 0.868547260761261, 0.7098850011825562, -0.7790367603302002, -0.024130506440997124, 0.22421523928642273, 0.4442531168460846, -0.2679263949394226, 0.37938278913497925, 0.295616090297699, 0.5559490323066711, -0.04075159505009651, -1.2471561431884766, -0.1371990442276001, -0.15101578831672668, 0.06519821286201477, -0.08426567167043686, -0.613969087600708, 0.9523018002510071, -0.17384587228298187, -0.200593963265419, -0.10109729319810867, 0.5087482333183289, 0.34473225474357605, 0.7581031918525696, 0.876370370388031, 0.423401802778244, 0.6430467367172241, -0.21588575839996338, 1.0620449781417847, 0.27368292212486267, 0.24324238300323486, 0.908319354057312, -0.3604123890399933, 0.4677934944629669, 0.3010086119174957, -0.19765548408031464, 0.2301311194896698, 0.2889963984489441, 0.06638624519109726, 0.4082399308681488, 0.3813329339027405, -0.2332749366760254, -0.3891613483428955, -0.3802919387817383, -0.4566724896430969, 0.5350285172462463, -0.1557428240776062, -0.2942499816417694, -0.35651907324790955, 0.16265225410461426, -0.3659980297088623, 0.21519094705581665, -0.7918251752853394, 0.6126765608787537, -0.000949260254856199, -0.5347208380699158, 0.2014843076467514, -0.20293229818344116, 0.8582410216331482, -0.45604005455970764, -0.2868134081363678, -0.3513965606689453, 0.0599026121199131, -0.09407219290733337, -1.268796443939209, -0.29531779885292053, 0.4077901840209961, -0.3078705966472626, -0.1683289259672165, 0.4918006658554077, -0.35088127851486206, -0.4666166305541992, 0.2638908326625824, 0.4961262047290802, 0.12385601550340652, -0.09510043263435364, -0.7278389930725098, 0.12723907828330994, -0.05094195902347565, 0.12378130853176117, 0.23086175322532654, 0.4902719557285309, -0.33613070845603943, 0.6970720887184143, 0.4520609676837921, -0.023826556280255318, 0.18674661219120026, 0.6303502321243286, 0.557428777217865, -0.5425430536270142, -0.4674299955368042, -0.8790416121482849, 0.8754637241363525, -0.3247021436691284, -0.26300665736198425, 0.7604588270187378, 0.3208063542842865, 0.7575579285621643, -0.019806114956736565, 0.5902184247970581, 0.06937730312347412, 0.24332073330879211, -0.5307714343070984, 0.7001265287399292, -0.770366907119751, 0.1022280678153038, -0.5039755702018738, -1.0556577444076538, -0.050172798335552216, 0.5874309539794922, -0.4606722891330719, 0.3012836277484894, 0.12569595873355865, 0.6885358095169067, 0.0010359780862927437, -0.1971757411956787, 0.47364336252212524, 0.09193160384893417, 0.28744766116142273, 0.5583670735359192, 1.086277961730957, 0.026719961315393448, 0.3647159934043884, 0.1624053716659546, -0.4674622714519501, -0.09798496961593628, -1.002163052558899, -0.9403090476989746, -0.21941672265529633, -0.08330372720956802, -0.29003453254699707, 0.3649913966655731, 0.6238335371017456, 0.44928112626075745, -0.565595805644989, -0.056504566222429276, 0.3784205913543701, 0.28306442499160767, 0.212174192070961, -0.28133735060691833, 0.141633078455925, 0.09696287661790848, -0.5455058813095093, -0.2615545988082886, 0.4864831566810608, -0.05821453779935837, -0.5914347767829895, -0.15991012752056122, 0.46945443749427795, -0.10512104630470276, 0.7251483201980591, 0.06685934960842133, -0.905429482460022, -0.4662633538246155, -0.10036679357290268, -0.14323021471500397, 0.0553271658718586, 0.6504199504852295, -0.8264715671539307, 0.7400063872337341, 0.444986492395401, 0.4223884642124176, 0.19975389540195465, -0.015628725290298462, 0.5564354658126831, -0.7265048027038574, 0.2999267280101776, 0.3095259666442871, 0.3918518126010895, 0.5158844590187073, -0.12993504106998444, 0.35042744874954224, 0.26261675357818604, -0.4004851281642914, -0.9153925180435181, 0.26535728573799133, -0.8150709271430969, -0.1470557302236557, 0.9997244477272034, 0.002558841835707426, -0.18542757630348206, -0.003769754199311137, -0.33981001377105713, -0.12834306061267853, -0.3382010757923126, 0.2957836985588074, 0.5540172457695007, 0.3235101103782654, -0.31995779275894165, -0.9499802589416504, 0.22648081183433533, 0.26448190212249756, -0.649603545665741, 0.25237715244293213, 0.8896391987800598, 0.19136299192905426, -0.2920433282852173, 0.756090521812439, -0.16789020597934723, 0.578143835067749, -0.10828348994255066, 0.03756153956055641, 0.025775261223316193, -0.08507518470287323, -0.5912401080131531, 0.10242696106433868, -0.05970529094338417, -0.03054855205118656 ]
http://arxiv.org/abs/2406.17972v1
http://arxiv.org/pdf/2406.17972v1
LABOR-LLM: Language-Based Occupational Representations with Large Language Models
2024-06-25T23:07:18
2024-06-25T23:07:18
Tianyu Du, Ayush Kanodia, Herman Brunborg, Keyon Vafa, Susan Athey
cs.LG
cs.LG, cs.CL, econ.EM
Many empirical studies of labor market questions rely on estimating relatively simple predictive models using small, carefully constructed longitudinal survey datasets based on hand-engineered features. Large Language Models (LLMs), trained on massive datasets, encode vast quantities of world knowledge and can be used for the next job prediction problem. However, while an off-the-shelf LLM produces plausible career trajectories when prompted, the probability with which an LLM predicts a particular job transition conditional on career history will not, in general, align with the true conditional probability in a given population. Recently, Vafa et al. (2024) introduced a transformer-based "foundation model", CAREER, trained using a large, unrepresentative resume dataset, that predicts transitions between jobs; it further demonstrated how transfer learning techniques can be used to leverage the foundation model to build better predictive models of both transitions and wages that reflect conditional transition probabilities found in nationally representative survey datasets. This paper considers an alternative where the fine-tuning of the CAREER foundation model is replaced by fine-tuning LLMs. For the task of next job prediction, we demonstrate that models trained with our approach outperform several alternatives in terms of predictive performance on the survey data, including traditional econometric models, CAREER, and LLMs with in-context learning, even though the LLM can in principle predict job titles that are not allowed in the survey data. Further, we show that our fine-tuned LLM-based models' predictions are more representative of the career trajectories of various workforce subpopulations than off-the-shelf LLM models and CAREER. We conduct experiments and analyses that highlight the sources of the gains in the performance of our models for representative predictions.
[ -0.11384955793619156, -0.3484329581260681, 0.6334450840950012, -0.09016101062297821, 0.08400987088680267, 0.07299856841564178, -0.36688581109046936, -0.5945589542388916, 0.07417591661214828, 0.8319147229194641, -0.6643511652946472, -0.37403082847595215, -0.5580683350563049, -0.047941405326128006, -0.46001359820365906, 0.8066785931587219, 0.2647378146648407, 0.03831905871629715, -0.5848309397697449, 0.2709799110889435, -0.3318629264831543, -0.4133453071117401, -0.6830683350563049, -0.6448134779930115, 0.43159860372543335, 0.19632719457149506, 0.5865933299064636, 0.6802454590797424, 0.3500608205795288, 0.1970696896314621, -0.02681208960711956, -0.06973844021558762, -0.723149836063385, -0.12416121363639832, -0.018130015581846237, -0.8938281536102295, -0.16455711424350739, 0.17938831448554993, 0.36791911721229553, 1.244523286819458, -0.11199932545423508, 0.2218385934829712, -0.07401175796985626, 0.7326095104217529, -0.4077167510986328, 0.5211358070373535, -0.7956607937812805, 0.07316340506076813, -0.16872303187847137, -0.1628648191690445, -0.6445116400718689, -0.3056127727031708, 0.10227841138839722, -0.04139687865972519, 0.21018901467323303, -0.035497359931468964, 0.44898849725723267, 0.1155521348118782, -0.8020980358123779, -0.06505708396434784, -0.9319120645523071, 0.8161189556121826, -0.6047064661979675, 0.6959730386734009, 0.28622499108314514, 0.3535448908805847, -0.0979485958814621, -0.6155464053153992, -0.17920050024986267, -0.34941646456718445, -0.06486807018518448, 0.20363785326480865, 0.15936660766601562, 0.17281198501586914, 0.03735904395580292, 0.4323107600212097, -0.21215179562568665, 0.5027040243148804, -0.628682017326355, 0.10158568620681763, 0.6274460554122925, 0.6197336316108704, -0.291891872882843, 0.4008018970489502, -0.2458445280790329, -0.1910807490348816, -1.042077660560608, 0.22088690102100372, 0.3947139084339142, 0.43100687861442566, -0.1356474757194519, 0.5369099378585815, -0.3264037072658539, 1.013562798500061, 0.11989796906709671, -0.4059719443321228, 0.049879901111125946, 0.08599793910980225, -0.08267476409673691, -0.33423665165901184, 0.49477508664131165, 0.34366780519485474, 0.2694966793060303, -0.34688112139701843, -0.30315566062927246, 0.21622078120708466, 0.19086778163909912, -0.41904088854789734, -0.15349441766738892, -0.06107981503009796, -0.4163086712360382, -0.24624839425086975, 0.05561904236674309, -0.42310211062431335, -0.6246306896209717, -0.5174087882041931, -0.16638080775737762, 0.16917608678340912, -0.06499920040369034, 0.11774740368127823, 0.28633150458335876, 0.2531154751777649, 0.3730018138885498, -0.8181279897689819, 0.18873821198940277, 0.8503609299659729, 0.5970596671104431, -0.6641795635223389, -0.04254130646586418, -0.2723727524280548, 0.021597960963845253, -0.4555336833000183, 0.5811911225318909, -0.6516872644424438, -0.3851868510246277, 0.43218839168548584, 0.24396592378616333, -0.205378919839859, -0.7431729435920715, 0.03355845436453819, -0.8169323205947876, 0.17093093693256378, -0.03466253727674484, -0.5546213984489441, -0.18799859285354614, 0.3418189287185669, -0.8294243812561035, 0.7893862724304199, 0.45436182618141174, -0.38614359498023987, 0.38109734654426575, -0.4785754084587097, -0.24165737628936768, -0.3709520399570465, -0.23387059569358826, -0.17256443202495575, 0.06299036741256714, -0.2656843662261963, 0.6790370941162109, -0.37871816754341125, 0.3961983621120453, -0.24374936521053314, -0.4162490963935852, 0.2878475785255432, -0.37758806347846985, 0.7559118866920471, 0.011065343394875526, 0.003006297629326582, -0.1591724008321762, -0.4213811755180359, -0.49003881216049194, -0.2168455570936203, -0.6221562027931213, 0.08799625933170319, -0.10278024524450302, -0.1765737235546112, 0.3242880403995514, 0.36821645498275757, -0.5369550585746765, 0.04135506972670555, -0.6227921843528748, -0.0870111882686615, 0.7393524646759033, -0.20526233315467834, 0.7149764895439148, -0.5480331778526306, 0.8723740577697754, -0.05868489295244217, 0.006872956175357103, 0.03453758358955383, -0.31731557846069336, -0.5509659647941589, 0.2625643014907837, 0.22976519167423248, 0.6470447778701782, -0.5378362536430359, 0.1794680804014206, -0.3809766173362732, -0.6225028038024902, -0.015018164180219173, 0.12824241816997528, 0.05044122412800789, 0.6300353407859802, 0.19815826416015625, -0.2154572308063507, -0.7981385588645935, -0.6366177201271057, -0.3417062759399414, -0.40509676933288574, 0.13098300993442535, 0.0679020881652832, 0.2085995078086853, -0.16648302972316742, 0.9482877254486084, -0.5763658285140991, -0.19083428382873535, -0.3873985707759857, -0.08238830417394638, 0.9890497326850891, 0.2904348075389862, 0.28148433566093445, -0.7990484833717346, -0.59891277551651, 0.012532920576632023, -0.38338831067085266, 0.01958325132727623, -0.348760187625885, 0.009942710399627686, -0.02359388954937458, 0.7290647625923157, -0.5525139570236206, 0.17928454279899597, 0.8031982183456421, -0.4102528691291809, 0.8246859908103943, 0.10833773761987686, -0.2961348295211792, -0.9362625479698181, -0.03266378492116928, 0.21055808663368225, -0.31580230593681335, -0.6334097385406494, -0.2065759152173996, -0.16876807808876038, -0.06741517782211304, -0.5632221698760986, 0.8759438991546631, -0.5547235012054443, -0.29004335403442383, -0.17062143981456757, -0.2622205317020416, -0.27954909205436707, 0.37961170077323914, 0.21959100663661957, 0.7922078371047974, 0.39416712522506714, -0.6145411729812622, 0.45005059242248535, 0.37518081068992615, -0.332741379737854, 0.45015519857406616, -0.2900991439819336, -0.07092374563217163, -0.20456767082214355, 0.6013665199279785, -0.6494426131248474, -0.08159969747066498, -0.169213205575943, -0.023077163845300674, 0.2450304925441742, -0.22865813970565796, -0.27490898966789246, -0.5723001956939697, -0.20719541609287262, 0.036079637706279755, 0.7428290247917175, -0.44529199600219727, 0.5363317131996155, 0.34579819440841675, -0.24811336398124695, -0.7267187237739563, -1.02295982837677, -0.07199742645025253, -0.28358450531959534, -0.3852745294570923, 0.6509154438972473, 0.06917071342468262, -0.288912832736969, -0.17563392221927643, -0.13194046914577484, -0.36779317259788513, 0.009359868243336678, 0.16103948652744293, 0.778692364692688, -0.27874356508255005, 0.07684900611639023, -0.19684679806232452, -0.14919964969158173, 0.3414488136768341, -0.0015752550680190325, 0.3917231261730194, 0.17913486063480377, -0.43423137068748474, 0.20332852005958557, -0.2619660794734955, 0.6681777834892273, 0.056240007281303406, 0.8695196509361267, 0.5786571502685547, -0.24779807031154633, 0.04713711142539978, -0.7266864776611328, -0.2713514566421509, -0.42241278290748596, 0.4266546368598938, 0.000489724101498723, -1.0459116697311401, 0.48119860887527466, -0.4863465428352356, 0.2090216875076294, 0.39040201902389526, 0.6316918730735779, -0.20153899490833282, 0.6169121265411377, 0.8474780321121216, -0.19881737232208252, 0.7651528716087341, -0.49055686593055725, 0.033018939197063446, -0.7696300148963928, -0.4868449568748474, -0.20713208615779877, -0.3036114275455475, -0.42264941334724426, -0.39727744460105896, 0.49017563462257385, -0.15182217955589294, -0.1652640551328659, 0.28760093450546265, -0.09804011136293411, 0.4789717197418213, 0.33977559208869934, 0.0987517386674881, 0.3165149688720703, -0.0887690931558609, 0.3096216320991516, 0.07387498021125793, -0.5735688805580139, -0.3378846049308777, 1.32044517993927, 0.33856961131095886, 0.8619319796562195, -0.14832386374473572, 0.6184925436973572, 0.2674712836742401, 0.6782559156417847, -0.5870748162269592, 0.39560532569885254, -0.6153860688209534, -0.4624735116958618, -0.4380262792110443, -0.27244848012924194, -1.0311006307601929, 0.27103567123413086, -0.5744668245315552, -0.7438650131225586, 0.47623410820961, 0.1922253668308258, -0.3665326237678528, 0.48853275179862976, -0.24189187586307526, 0.6017439961433411, -0.1460416615009308, -0.24190936982631683, -0.1902303695678711, -0.5038585066795349, 0.39005380868911743, -0.26048967242240906, 0.3828144073486328, -0.3382228910923004, -0.05552217736840248, 0.6439468264579773, -0.3133898675441742, 1.315185546875, -0.24054180085659027, -0.05840734392404556, 0.11095131933689117, 0.008442427963018417, 0.7909319996833801, -0.1697235256433487, -0.6394943594932556, 0.05318421870470047, -0.102778360247612, -0.02539723925292492, -0.31339460611343384, 0.497577965259552, -0.5110582113265991, -0.6215331554412842, -0.03483559936285019, -0.6244325041770935, -0.7564074397087097, 0.12799446284770966, 0.2508494257926941, 0.28708159923553467, -0.30972835421562195, 0.5516101121902466, 0.5182168483734131, 0.06414984911680222, 0.0018671362195163965, 0.34887081384658813, -0.18039321899414062, 0.07140655070543289, 0.5092787146568298, 0.1786898821592331, 0.06753037869930267, 0.4879739284515381, 0.14611992239952087, -0.777834951877594, -0.2624466121196747, -0.13234898447990417, 0.4137129783630371, -0.7666769623756409, -0.3981642723083496, -0.3771917223930359, -0.2222762554883957, -0.32411080598831177, -0.3171435296535492, -0.23618850111961365, 0.00824070256203413, -0.523500382900238, -0.3055526316165924, 0.28421851992607117, 0.7622443437576294, -0.023641077801585197, 0.28229624032974243, -0.6227384209632874, 0.19921322166919708, 0.4515259861946106, 0.46333542466163635, -0.1427118331193924, -0.49816200137138367, -0.5818523168563843, 0.15723490715026855, -0.11280401051044464, -0.8010568618774414, 0.28038710355758667, 0.27682697772979736, 0.6859865188598633, 0.2420341670513153, 0.08145265281200409, 0.3839086890220642, -0.2576347887516022, 0.7971197962760925, 0.39393308758735657, -0.49627891182899475, 0.04399443790316582, -0.43681058287620544, 0.13793888688087463, 0.6806187033653259, 0.3674144148826599, -0.6530603766441345, -0.256542831659317, -0.6017974019050598, -0.7192986607551575, 0.6100597977638245, -0.17971301078796387, 0.45753321051597595, 0.02585560455918312, 0.1874626874923706, 0.4958462119102478, 0.21388237178325653, -0.6840626001358032, -0.24071364104747772, 0.2682380974292755, -0.27623188495635986, -0.22647063434123993, -0.22109420597553253, 0.16975893080234528, -0.2747512459754944, 0.38544172048568726, 0.023093458265066147, 0.25908005237579346, -0.37078896164894104, -0.06873618066310883, -0.14553874731063843, 0.13625885546207428, 0.17452538013458252, 0.9601070284843445, -0.07509107142686844, 0.04522593319416046, 0.600064754486084, -0.05206839740276337, 0.18786168098449707, -0.08525584638118744, 0.054920345544815063, 0.17744679749011993, 0.3168770968914032, 0.8948512673377991, 0.2349809855222702, -0.7619420886039734, 0.5763809084892273, 0.48009392619132996, -0.2914697229862213, -0.8839582800865173, 0.20023564994335175, 0.45721355080604553, 0.3649604320526123, 0.38116616010665894, 0.0011068156454712152, -0.0024364995770156384, -0.680463433265686, -0.054348476231098175, 0.3457496166229248, -0.36803218722343445, -0.25346317887306213, 0.7783820033073425, 0.13054503500461578, -0.09517687559127808, 0.6043893694877625, 0.20197655260562897, -0.15666203200817108, 0.9837164282798767, 0.7311834096908569, 0.4579889178276062, -0.24055561423301697, 0.1734209656715393, 0.10701929777860641, -0.031909700483083725, -0.7520703077316284, 0.11041044443845749, 0.31430089473724365, -0.9161931872367859, -0.555250346660614, -0.5646981596946716, -0.587884247303009, 0.17650878429412842, -0.7142813205718994, 0.2245575487613678, -0.22180895507335663, -0.07058185338973999, -0.5335817337036133, -0.3931058645248413, -1.2005506753921509, 0.6739851236343384, 0.32362979650497437, 1.0376830101013184, -1.2115648984909058, 0.6997881531715393, 0.8060552477836609, -0.050432994961738586, -0.502703070640564, -0.05229494348168373, -0.28363537788391113, -0.9157649874687195, 0.6217070817947388, 0.15619368851184845, -0.03448761627078056, 0.053200360387563705, -0.24825212359428406, -0.938822865486145, 1.244209885597229, 0.8780718445777893, -0.6346384882926941, -0.412239670753479, 0.3028493821620941, 0.516457736492157, -0.603073000907898, 0.15018443763256073, 0.706864595413208, 0.3859785795211792, -0.1886211633682251, -0.9206162691116333, -0.12730540335178375, 0.10923425108194351, 0.2448054552078247, -0.00735530024394393, -0.425563246011734, 1.0080876350402832, -0.16565866768360138, -0.14296558499336243, -0.05754301697015762, 0.6599860191345215, 0.2967926561832428, 0.2282891869544983, 0.8042287230491638, 0.18043777346611023, 0.715746283531189, -0.08718618005514145, 1.0559139251708984, -0.6639750599861145, 0.6011996865272522, 0.8710882663726807, 0.030583253130316734, 0.9167355298995972, 0.32998284697532654, -0.6722733378410339, 0.9761427044868469, 0.6679209470748901, -0.1594650149345398, 0.3191405236721039, 0.24094311892986298, -0.18210068345069885, -0.4058261215686798, -0.07102911919355392, -0.4051760733127594, 0.5261042714118958, 0.36309972405433655, -0.4688863158226013, -0.04226837679743767, -0.09988339990377426, -0.25985538959503174, 0.17153514921665192, -0.41227254271507263, 0.5357620120048523, 0.29949358105659485, -0.43516287207603455, 0.4207237660884857, -0.11606951057910919, 0.9592963457107544, -0.5488775968551636, -0.23172135651111603, -0.3478321135044098, -0.22806298732757568, -0.35517382621765137, -0.866433322429657, 0.5327680110931396, -0.3376598358154297, -0.16999895870685577, -0.39231571555137634, 0.7561402916908264, -0.6921728849411011, -0.5187368392944336, 0.12920185923576355, 0.762709379196167, 0.12213419377803802, -0.002735847607254982, -0.4577638804912567, -0.15330928564071655, -0.09143578261137009, -0.34592339396476746, 0.3267104923725128, 0.05253627896308899, -0.0687147006392479, 0.6570728421211243, 0.5768943428993225, 0.37078046798706055, 0.015598190948367119, -0.07051517069339752, 0.6105294227600098, -0.5801686644554138, -0.8538312315940857, -0.6361131072044373, 0.4691808819770813, 0.10656647384166718, -0.07226242125034332, 0.17003455758094788, 0.4538285732269287, 0.9986831545829773, -0.48141348361968994, 0.7487269639968872, 0.1727592647075653, 0.5577296018600464, -0.650845468044281, 0.42438217997550964, -0.5124380588531494, 0.1818506270647049, 0.10217729210853577, -0.9677357077598572, -0.09465907514095306, 0.30741414427757263, -0.650495707988739, 0.3138723373413086, 0.47895172238349915, 0.674041748046875, -0.1706119179725647, -0.3596513271331787, 0.5022533535957336, 0.0463564395904541, -0.14580030739307404, 0.49914130568504333, 0.5848399996757507, 0.12261179834604263, 0.5395098328590393, -0.2888031303882599, 0.16641469299793243, -0.5776975750923157, -0.7031489610671997, -0.5613321661949158, -0.45473578572273254, -0.3132723867893219, -0.23400188982486725, 0.025820059701800346, 0.720150887966156, 0.7611812949180603, -0.740206241607666, -0.6715136170387268, -0.06723049283027649, -0.09174951910972595, -0.26468679308891296, -0.268854022026062, 0.06659527868032455, -0.035934928804636, -0.5640562772750854, 0.6524453163146973, -0.08049622178077698, -0.2528265118598938, -0.48753297328948975, -0.1437683254480362, 0.25643250346183777, -0.18334630131721497, 0.5223626494407654, 0.4412316381931305, -0.8121628165245056, -0.054672133177518845, -0.14833517372608185, -0.05528789013624191, 0.11735896021127701, 0.8103808760643005, -0.9065502882003784, 0.12002838402986526, 0.4339279532432556, 0.7700268030166626, 0.6110237836837769, -0.027154387906193733, 0.7783210277557373, -0.7641264200210571, 0.049751657992601395, 0.13939353823661804, 0.5170390009880066, 0.3498103618621826, -0.7649140954017639, 0.7932600378990173, 0.1462642401456833, -0.18776963651180267, -0.6150632500648499, 0.41663768887519836, -0.6093159317970276, -0.1791641116142273, 1.111437439918518, -0.04672757163643837, -0.04531208053231239, -0.21371915936470032, 0.19559849798679352, 0.2875579595565796, -0.27374571561813354, 0.7952224612236023, 0.3582092523574829, -0.42617878317832947, -0.40894895792007446, -0.5946632623672485, 0.03368402272462845, 0.21385784447193146, -0.6138998866081238, 0.15137726068496704, 0.38885095715522766, 0.38742268085479736, -0.11444073915481567, 0.9014118313789368, 0.05018565431237221, 0.3181461989879608, -0.07400867342948914, 0.037497855722904205, -0.17308904230594635, -0.23603889346122742, -0.20020510256290436, 0.1706993281841278, 0.428464412689209, 0.04542329162359238 ]
http://arxiv.org/abs/2406.17969v1
http://arxiv.org/pdf/2406.17969v1
Encourage or Inhibit Monosemanticity? Revisit Monosemanticity from a Feature Decorrelation Perspective
2024-06-25T22:51:08
2024-06-25T22:51:08
Hanqi Yan, Yanzheng Xiang, Guangyi Chen, Yifei Wang, Lin Gui, Yulan He
cs.CL
cs.CL, cs.AI
To better interpret the intrinsic mechanism of large language models (LLMs), recent studies focus on monosemanticity on its basic units. A monosemantic neuron is dedicated to a single and specific concept, which forms a one-to-one correlation between neurons and concepts. Despite extensive research in monosemanticity probing, it remains unclear whether monosemanticity is beneficial or harmful to model capacity. To explore this question, we revisit monosemanticity from the feature decorrelation perspective and advocate for its encouragement. We experimentally observe that the current conclusion by wang2024learning, which suggests that decreasing monosemanticity enhances model performance, does not hold when the model changes. Instead, we demonstrate that monosemanticity consistently exhibits a positive correlation with model capacity, in the preference alignment process. Consequently, we apply feature correlation as a proxy for monosemanticity and incorporate a feature decorrelation regularizer into the dynamic preference optimization process. The experiments show that our method not only enhances representation diversity and activation sparsity but also improves preference alignment performance.
[ -0.6740687489509583, -0.5435856580734253, 0.22186070680618286, 0.448121041059494, -0.43800684809684753, 0.07504507154226303, -0.49839505553245544, -0.4327433705329895, 0.943032443523407, 0.38042572140693665, -0.4718659222126007, 0.04816248267889023, -0.57071852684021, 0.011087549850344658, -0.2526010274887085, 1.0181909799575806, 0.006331874988973141, -0.06120529770851135, -0.5099422931671143, -0.4423027038574219, -0.4747198224067688, -0.8605889678001404, -0.7150415182113647, -0.5020124316215515, 0.9714246988296509, 0.22344212234020233, 0.8571046590805054, 0.6871245503425598, 0.472761332988739, 0.3331077992916107, -0.39724791049957275, 0.19181916117668152, -0.5477860569953918, 0.4415309429168701, 0.066114142537117, -0.4700154662132263, -0.6992870569229126, 0.008914114907383919, 0.6379258632659912, 0.9359267354011536, 0.01889885403215885, 0.1256701797246933, 0.35418498516082764, 0.9277749061584473, -0.43205544352531433, 0.08681149035692215, -0.5192087292671204, 0.10787643492221832, -0.18929386138916016, -0.08437714725732803, -0.27599796652793884, -0.04422462359070778, 0.2908657193183899, -0.48732200264930725, 0.19780226051807404, 0.08397101610898972, 0.8379678726196289, 0.19594056904315948, -0.20609398186206818, 0.085399329662323, -0.6267488598823547, 0.8269521594047546, -0.377948135137558, 0.28745037317276, 0.16891930997371674, -0.10006765276193619, 0.16970278322696686, -0.1223345398902893, -0.272524356842041, -0.46390244364738464, -0.39907214045524597, -0.05881170928478241, -0.035964686423540115, -0.04456537589430809, 0.4288877546787262, 0.2876611053943634, -0.2542577385902405, 0.13028857111930847, -0.26067134737968445, -0.33949971199035645, 0.536830484867096, 0.058123670518398285, 0.25934815406799316, -0.20479917526245117, -0.6780865788459778, -0.08086305111646652, -0.42294323444366455, 0.31740042567253113, 0.32371750473976135, 0.5194786190986633, -0.15086506307125092, 0.4381953477859497, 0.07491316646337509, 0.2662948966026306, -0.019604358822107315, 0.22020864486694336, 0.21055381000041962, -0.4509112536907196, 0.05542854964733124, 0.3591475188732147, 0.8237051367759705, 0.09217339009046555, 0.45235177874565125, -0.15774661302566528, -0.13668489456176758, 0.1707303822040558, 0.3927294611930847, -0.788628876209259, -0.06636297702789307, -0.019687559455633163, -0.554373562335968, -0.3803642988204956, 0.2915046811103821, -0.6557139158248901, -0.40626734495162964, -0.40756484866142273, 0.06972542405128479, -0.47792211174964905, -0.5672081708908081, 0.1531488448381424, -0.2783765196800232, -0.1264304518699646, 0.31097009778022766, -1.3404247760772705, 0.2874620258808136, 0.6992025971412659, 1.0458638668060303, -0.637310802936554, -0.5389517545700073, 0.11278711259365082, -0.1315128207206726, -0.5230892896652222, 0.5307943820953369, -0.40259620547294617, -0.19211897253990173, -0.39532795548439026, 0.021542374044656754, -0.18202942609786987, -0.5235740542411804, 0.3396400213241577, -0.46486911177635193, -0.1525219827890396, -0.41444310545921326, -0.20166116952896118, -0.24233968555927277, 0.0935232937335968, -1.00002920627594, 0.38645341992378235, -0.10856113582849503, -0.8325307369232178, 0.6871895790100098, -0.6462768912315369, -0.4794566333293915, -0.27558737993240356, -0.15910828113555908, -0.4636106491088867, 0.5111281275749207, -0.004084477201104164, 0.014647864736616611, 0.17049439251422882, 0.1970510333776474, -0.6537548303604126, -0.17257246375083923, 0.39898526668548584, -0.575438916683197, 0.5059080719947815, 0.08531945943832397, -0.07237222045660019, 0.3363495171070099, -0.397778183221817, -0.3756958544254303, 0.2132173329591751, -0.26239463686943054, -0.6075104475021362, 0.21688339114189148, -0.2887458801269531, 0.10659147799015045, 0.50555819272995, -0.23367157578468323, 0.22249141335487366, -0.3377848267555237, 0.16027258336544037, 0.995578944683075, -0.15678814053535461, 0.6449680924415588, -0.4823529124259949, 0.5545362830162048, 0.2832890748977661, -0.07949576526880264, -0.18825437128543854, -0.2827881872653961, -1.0006515979766846, -0.6344130635261536, 0.360477089881897, 0.20386968553066254, -0.20468972623348236, 0.6003800630569458, -0.3234350085258484, -0.11775238811969757, -0.3657669723033905, 0.10825833678245544, 0.3580077886581421, 0.11566425859928131, 0.3108219802379608, -0.8047794103622437, -0.7320424914360046, -1.1320340633392334, -0.07741083949804306, -0.061462145298719406, 0.32107117772102356, 0.08887229114770889, 0.048581287264823914, 0.09848684072494507, 0.6971389055252075, -0.30770692229270935, -0.16019880771636963, -0.4039328396320343, 0.021273985505104065, 0.33519110083580017, 0.5788295865058899, 0.7799789905548096, -0.5263983011245728, -0.20134778320789337, 0.017490696161985397, -0.7187069654464722, 0.19144976139068604, -0.03757953643798828, -0.23523752391338348, 0.2693822681903839, 0.19388532638549805, -0.557558536529541, 0.26938989758491516, 0.41973936557769775, -0.296178936958313, 0.4786553680896759, -0.057671431452035904, 0.02178776264190674, -0.8853399753570557, -0.06477534770965576, 0.07554972171783447, -0.1049584299325943, -0.653835654258728, -0.056900858879089355, -0.2418605536222458, -0.038852304220199585, -0.11673090606927872, 0.4710586965084076, -0.38137710094451904, 0.05044100061058998, -0.3792073726654053, -0.13647493720054626, -0.029133114963769913, 0.2395666241645813, 0.28669819235801697, 0.9040156602859497, 0.6744034886360168, -0.6702901124954224, 0.02899416908621788, 0.3836653530597687, -0.20673874020576477, 0.0002974596282001585, -0.4629349708557129, -0.013087332248687744, -0.13764695823192596, -0.20635287463665009, -0.9531686305999756, -0.07254329323768616, -0.20608419179916382, -0.32022684812545776, 0.5454142689704895, -0.07698801159858704, -0.33726373314857483, -0.12395724654197693, -0.4813315272331238, 0.31797534227371216, 0.417398065328598, -0.43616265058517456, 0.2318231463432312, 0.3316684067249298, -0.06584618985652924, -0.3750941753387451, -0.6941395998001099, -0.05821162089705467, -0.2716624140739441, -0.8519943356513977, 0.14834196865558624, -0.03136748448014259, -0.13136962056159973, -0.3502235412597656, -0.4257299602031708, 0.5513574481010437, 0.4014936685562134, 0.09090441465377808, 0.4514712989330292, -0.45830896496772766, 0.196027010679245, 0.006808134727180004, -0.2095218449831009, 0.10944384336471558, -0.047832656651735306, 0.983697235584259, -0.1579096019268036, -0.33638736605644226, -0.46048301458358765, 0.18565984070301056, 0.7205121517181396, -0.3465161919593811, 0.8380124568939209, 0.259625643491745, 0.07335710525512695, -0.12339374423027039, -0.22577297687530518, -0.6975342035293579, -0.5075397491455078, 0.43115562200546265, -0.3518339991569519, -1.0626146793365479, 0.49458518624305725, 0.08883525431156158, -0.23664037883281708, 0.15619555115699768, 0.35189810395240784, -0.005936040077358484, 1.1027717590332031, 0.5943840742111206, -0.3081169128417969, 0.7756870985031128, -0.11073734611272812, 0.3053077161312103, -0.9623991847038269, 0.1054718941450119, -0.1783297061920166, -0.6637099385261536, -0.8386456370353699, 0.0058802948333323, 0.3404894173145294, 0.13745658099651337, -0.25057336688041687, 0.4440150558948517, -0.5851042866706848, 0.1679283231496811, 0.43833327293395996, 0.3683663010597229, 0.07883211970329285, 0.33599868416786194, -0.24337856471538544, -0.3629791736602783, -0.7350841760635376, -0.6476632356643677, 0.8537560105323792, 0.39235591888427734, 0.986302375793457, 0.17332878708839417, 0.6500422358512878, 0.11551135033369064, 0.11734135448932648, -0.8923196196556091, 0.7357078790664673, -0.47687748074531555, -0.3903350234031677, -0.2760920822620392, -0.2625672519207001, -0.9195734262466431, 0.2712889313697815, -0.4338056147098541, -0.6568154096603394, 0.47229763865470886, 0.3690083920955658, -0.18889880180358887, 0.3022928833961487, -0.6687901616096497, 0.9503058791160583, -0.46933290362358093, -0.7112092971801758, -0.20024216175079346, -0.2686566114425659, 0.45554375648498535, -0.14739978313446045, -0.13568677008152008, -0.09852459281682968, -0.18831788003444672, 0.5413703918457031, -0.056828804314136505, 0.7835899591445923, 0.17863820493221283, 0.020413585007190704, -0.23542355000972748, 0.4180770218372345, 0.32945379614830017, 0.003387929406017065, -0.4249231517314911, 0.27820444107055664, -0.2858366072177887, -0.29898494482040405, -0.5967967510223389, 0.8533524870872498, -0.7452896237373352, -1.0470194816589355, -0.39850345253944397, -0.7315459251403809, -0.13267283141613007, 0.17870788276195526, -0.05736875534057617, 0.17311657965183258, -0.2353353202342987, 0.19718773663043976, 0.8076376914978027, 0.20884111523628235, 0.5063077807426453, -0.07018555700778961, -0.539568305015564, -0.26108092069625854, 0.926276683807373, 0.10212522000074387, 0.7852823138237, 0.12334537506103516, 0.3350670039653778, 0.03713736683130264, -0.5890680551528931, -0.143109530210495, 0.31768879294395447, -0.47128939628601074, 0.3322077691555023, -0.6504809260368347, -0.3536178767681122, -0.3878571391105652, -0.06505466997623444, -0.40494784712791443, -0.7044686675071716, -0.3875572085380554, 0.02679142914712429, 0.2382715493440628, 0.32154157757759094, -0.00150689750444144, -0.006345601752400398, -0.5832261443138123, 0.09497585892677307, 0.32488271594047546, 0.2796298861503601, 0.09131649136543274, -0.6540177464485168, -0.30170297622680664, 0.005733336787670851, -0.3045898377895355, -0.4221947193145752, 0.29279547929763794, 0.0013614414492622018, 0.5452437996864319, 0.930341899394989, -0.1918123960494995, 0.7754734754562378, -0.4716155529022217, 0.6952301859855652, 0.3297070860862732, -0.7783645987510681, 0.4579277038574219, -0.14014828205108643, 0.2264239341020584, 0.4796939194202423, 0.44480007886886597, -0.3721301555633545, -0.5232635736465454, -0.4533829391002655, -0.5905979871749878, 0.8631305694580078, 0.16662690043449402, 0.5951704978942871, -0.0486801378428936, -0.00683870492503047, 0.03362787142395973, 0.4959193766117096, -0.6549240946769714, -0.34769028425216675, -0.3920675814151764, 0.24708907306194305, -0.036565810441970825, -0.4149775505065918, -0.33790555596351624, -0.46606358885765076, 0.5004696249961853, -0.06947627663612366, 0.3130851984024048, 0.08156754076480865, 0.29566699266433716, -0.11903263628482819, 0.3032527565956116, 0.8562155961990356, 0.7006385922431946, -0.3289589285850525, 0.20599810779094696, -0.08797509223222733, -0.2693805992603302, 0.1289721131324768, -0.1252143532037735, -0.34411153197288513, 0.059980131685733795, 0.39246079325675964, 1.2307885885238647, -0.0679955706000328, -0.03240727260708809, 0.3164183497428894, 0.09547283500432968, 0.0243906918913126, -0.10784966498613358, 0.324790358543396, 0.05558718368411064, 0.007624051999300718, -0.13376498222351074, 0.5949290990829468, -0.197753444314003, -0.6860455870628357, 0.1755656599998474, 0.9652494788169861, -0.5414424538612366, -0.32410603761672974, 0.5695911645889282, 0.032883696258068085, -0.20397427678108215, 0.29751160740852356, -0.0781024843454361, -0.5596288442611694, 0.8144762516021729, 0.6074443459510803, 1.0866235494613647, -0.17591126263141632, -0.026411790400743484, 0.6759389638900757, 0.43888986110687256, -0.20208850502967834, -0.03464391082525253, -0.12275447696447372, -1.1633706092834473, -0.1377861648797989, -0.6278084516525269, -0.2224833369255066, -0.1778329759836197, -0.7067946195602417, 0.5020868182182312, -0.4815799593925476, -0.3419167697429657, 0.15174277126789093, -0.5579389333724976, -0.08802047371864319, -0.26943880319595337, 0.30373746156692505, 0.7586563229560852, -0.6197704076766968, 0.9340535998344421, 0.7453418374061584, -0.6410335302352905, -0.6242777109146118, 0.19142819941043854, 0.022537918761372566, -0.6168186068534851, 0.8425131440162659, 0.3334980309009552, -0.17670296132564545, -0.18875662982463837, -0.49668100476264954, -0.9760253429412842, 0.9148138761520386, 0.44668397307395935, -0.5519320964813232, -0.06282162666320801, -0.014094873331487179, 0.5023093819618225, -0.7217898964881897, 0.07420710474252701, 0.46165111660957336, 0.42361676692962646, 0.07291541993618011, -0.8868678212165833, 0.33580949902534485, -0.10287801921367645, 0.21084487438201904, 0.4418352246284485, -0.768395185470581, 0.7697961330413818, -0.3388310968875885, -0.3515896797180176, 0.08633778989315033, 0.6245543956756592, 0.31217271089553833, -0.16461336612701416, 0.634804368019104, 0.5987777709960938, 0.45738664269447327, -0.09535128623247147, 0.992049515247345, -0.3852027654647827, 0.36140307784080505, 0.9634895920753479, -0.29760366678237915, 0.6064832210540771, 0.9562191963195801, -0.21882948279380798, 0.48726096749305725, 0.39215224981307983, -0.09047406166791916, 0.5248137712478638, 0.2532159090042114, -0.3376673758029938, -0.6598107218742371, -0.14833199977874756, -0.17809487879276276, 0.4509133994579315, 0.11904298514127731, -0.6315323114395142, -0.07158885151147842, 0.03571965545415878, 0.016316378489136696, 0.06769821792840958, -0.14475193619728088, 0.8220375180244446, 0.21764132380485535, -0.7573727369308472, 0.8273131251335144, -0.48451870679855347, 0.833415150642395, -0.9612518548965454, 0.1640559434890747, -0.45247146487236023, 0.13635815680027008, -0.22449220716953278, -0.586590588092804, 0.3574644923210144, -0.44830429553985596, -0.5583264231681824, -0.2691750228404999, 0.6536375880241394, -0.4341188669204712, -0.3654904365539551, 0.47536003589630127, 0.3690223693847656, -0.26743283867836, 0.20833462476730347, -0.5763586163520813, 0.05597808212041855, 0.0032284522894769907, -0.21055538952350616, 0.6356035470962524, 0.21638701856136322, 0.004463511519134045, 0.6710833311080933, 0.7930382490158081, 0.4803421199321747, -0.16577090322971344, 0.15155963599681854, 1.0100914239883423, -0.44413021206855774, -0.29188841581344604, -1.0570635795593262, 0.43583035469055176, -0.2861101031303406, 0.010751968249678612, 0.7664309740066528, 0.6951620578765869, 0.7748995423316956, -0.18896484375, 0.5225072503089905, 0.015272626653313637, 0.13411659002304077, -0.4072902798652649, 0.9295793771743774, -0.7483034133911133, 0.5472611784934998, -0.05224106088280678, -0.7762818336486816, -0.19192542135715485, 0.4667551815509796, -0.2635383605957031, -0.03408996760845184, 0.9195341467857361, 1.0591049194335938, -0.3433998227119446, -0.003442673711106181, 0.5934249758720398, -0.1037270575761795, 0.009761648252606392, 0.08910524100065231, 0.8162456154823303, 0.07057179510593414, 0.22711911797523499, -0.33088892698287964, -0.20596639811992645, 0.06542439013719559, -0.7859709858894348, -0.9741902947425842, -0.5006508827209473, -0.36873072385787964, -0.5443347692489624, -0.1688217967748642, 1.1623971462249756, 0.825513482093811, -0.8494948744773865, -0.5934160351753235, -0.1158081591129303, 0.2993182837963104, -0.3827941119670868, -0.25051385164260864, 0.15990643203258514, -0.9242161512374878, -0.5052974224090576, 0.2724800705909729, 0.537026584148407, 0.06673279404640198, -0.4560207426548004, 0.1429523080587387, -0.1923089474439621, 0.2971426546573639, 0.6652217507362366, 0.11411496251821518, -0.6226089000701904, -0.2445375770330429, 0.03519374877214432, -0.23315173387527466, 0.4932500720024109, 1.064703106880188, -0.35528019070625305, 0.5984421372413635, 0.4841992259025574, 0.5474546551704407, 0.19187892973423004, -0.0927126556634903, 0.4331340491771698, -0.5449696779251099, 0.3777128756046295, -0.0028432155959308147, 0.6185075044631958, 0.15960977971553802, -0.24507370591163635, 0.33068615198135376, 0.42688992619514465, -0.46170368790626526, -0.5876691937446594, 0.5701441168785095, -1.103157877922058, -0.05792682617902756, 1.0406386852264404, 0.03203513100743294, -0.38245633244514465, 0.1849966049194336, -0.15367333590984344, 0.02703031711280346, -0.5979308485984802, 0.7999907732009888, 0.8738929033279419, -0.21576732397079468, -0.440347284078598, -0.335498183965683, 0.5729201436042786, 0.7920745611190796, -0.655822217464447, 0.20093218982219696, 0.28772827982902527, 0.12837079167366028, 0.580334484577179, 0.2818383574485779, -0.13577349483966827, 0.1810431033372879, -0.2684360146522522, 0.20452603697776794, -0.07898875325918198, -0.1795324832201004, -0.468048095703125, -0.013354695402085781, 0.4229661226272583, -0.2746068239212036 ]
http://arxiv.org/abs/2406.17967v1
http://arxiv.org/pdf/2406.17967v1
Unmasking the Imposters: In-Domain Detection of Human vs. Machine-Generated Tweets
2024-06-25T22:49:17
2024-06-25T22:49:17
Bryan E. Tuck, Rakesh M. Verma
cs.CL
cs.CL
The rapid development of large language models (LLMs) has significantly improved the generation of fluent and convincing text, raising concerns about their misuse on social media platforms. We present a methodology using Twitter datasets to examine the generative capabilities of four LLMs: Llama 3, Mistral, Qwen2, and GPT4o. We evaluate 7B and 8B parameter base-instruction models of the three open-source LLMs and validate the impact of further fine-tuning and "uncensored" versions. Our findings show that "uncensored" models with additional in-domain fine-tuning dramatically reduce the effectiveness of automated detection methods. This study addresses a gap by exploring smaller open-source models and the effects of "uncensoring," providing insights into how fine-tuning and content moderation influence machine-generated text detection.
[ -0.20757494866847992, -0.7038978338241577, 0.4818059802055359, -0.012219187803566456, -0.3962635397911072, 0.6439609527587891, -0.13601942360401154, -0.6130881905555725, -0.2938216030597687, 0.8593034744262695, -0.3255268335342407, -0.5261948704719543, -0.7853704690933228, 0.3899214565753937, -0.7878281474113464, 0.6626540422439575, -0.19875118136405945, -0.21408475935459137, 0.02093377523124218, 0.11369005590677261, -0.1237943172454834, -0.40497931838035583, -0.3356923758983612, -0.4452170729637146, 0.17633593082427979, 0.4974987804889679, 0.7379208207130432, 0.513472855091095, 0.4234015643596649, 0.17987178266048431, 0.10028256475925446, 0.5257202386856079, -0.6738212704658508, -0.022216640412807465, -0.17589053511619568, -0.08988145738840103, 0.04293625056743622, 0.025554420426487923, 0.5616021752357483, 0.4185304641723633, 0.1270153969526291, 0.32269689440727234, 0.26326999068260193, 0.4163473844528198, -0.5169841051101685, 0.0023206269834190607, -1.0248968601226807, -0.333193302154541, -0.29415538907051086, -0.5217834115028381, -0.5415723919868469, -0.4291897416114807, 0.006042271852493286, -0.3967406153678894, 0.5674018263816833, 0.06378357112407684, 0.8979172706604004, 0.17190848290920258, -0.23235154151916504, -0.4818378686904907, -0.8345885276794434, 0.8199905753135681, -0.7087175250053406, 0.1468798667192459, 0.32731980085372925, 0.10947342216968536, -0.43067559599876404, -0.7804015278816223, -0.725286066532135, -0.012618211098015308, -0.06014150008559227, -0.10088175535202026, -0.7171938419342041, 0.021164532750844955, 0.21368063986301422, 0.19501174986362457, -0.42998963594436646, 0.41621771454811096, -0.29464584589004517, -0.1591627597808838, 0.5979126691818237, -0.0033523438032716513, 0.4541817605495453, -0.044657643884420395, -0.1468479335308075, 0.16707855463027954, -1.0135935544967651, -0.4588187038898468, 0.5096659064292908, 0.27898597717285156, 0.01370073202997446, 0.5848031640052795, -0.12053652107715607, 0.4183524549007416, 0.017400329932570457, 0.02322501502931118, -0.07237500697374344, 0.012145087122917175, -0.4407176673412323, -0.18280848860740662, 0.9485480189323425, 0.36485356092453003, 0.6846878528594971, -0.41081711649894714, -0.37919965386390686, 0.04078861325979233, 0.09329812228679657, -0.8012514710426331, -0.1839752048254013, -0.0047301072627305984, -0.38855838775634766, -0.5247502326965332, 0.3401905596256256, -0.4114828407764435, -0.6608530879020691, -0.23382548987865448, 0.6078401803970337, -0.26903578639030457, -0.13156282901763916, 0.08691362291574478, -0.21377666294574738, -0.04417784884572029, 0.3223556578159332, -0.5488899350166321, 0.27093103528022766, 0.6203852891921997, 0.5874344706535339, -0.15269429981708527, -0.009326991625130177, -0.24826738238334656, 0.20511473715305328, -0.562894880771637, 0.616980791091919, -0.555812656879425, -0.2964754104614258, 0.32109400629997253, 0.1652195304632187, 0.16391578316688538, -0.8221225142478943, 0.45096951723098755, -0.6572392582893372, 0.13524767756462097, -0.2284831553697586, -0.6774345636367798, -0.1067151427268982, -0.09319395571947098, -0.7060672044754028, 1.0199495553970337, 0.35846155881881714, -0.6585734486579895, 0.4018937051296234, -0.7126477956771851, -0.384807288646698, 0.2833854854106903, -0.0499446801841259, -0.48696771264076233, 0.24489165842533112, 0.3927076458930969, 0.7579470276832581, -0.49747589230537415, 0.29223865270614624, -0.08852717280387878, -0.6180493831634521, 0.4188084304332733, -0.5208871364593506, 1.0346384048461914, 0.10732046514749527, -0.3897115886211395, 0.10809381306171417, -0.5329232811927795, -0.32130125164985657, 0.35635432600975037, -0.13047556579113007, -0.25091931223869324, -0.040200479328632355, -0.13133075833320618, 0.04245799779891968, -0.0337177999317646, -0.761616587638855, -0.4851067364215851, -0.2783152759075165, 0.6780698895454407, 0.734336793422699, 0.2481629103422165, 0.4269756078720093, -0.35272589325904846, 0.46636340022087097, 0.09301396459341049, 0.12327166646718979, -0.23805609345436096, -0.6337025761604309, -0.5575771331787109, -0.17226196825504303, 0.15631181001663208, 0.34142929315567017, -0.9975643754005432, 0.19554993510246277, -0.15098470449447632, -0.4041878581047058, -0.7978712320327759, 0.3971633017063141, 0.5161488056182861, 0.38136088848114014, 0.2715512216091156, 0.19456510245800018, -0.44794270396232605, -0.9541120529174805, -0.6552553176879883, -0.055110447108745575, -0.2522936761379242, -0.07039794325828552, 0.6486960053443909, -0.2168864905834198, 0.7208154797554016, -0.10331367701292038, -0.0613546147942543, -0.2488228976726532, 0.0937458798289299, -0.14046615362167358, 0.2008359730243683, 0.586937427520752, -0.5455442070960999, -0.8884754776954651, -0.20458979904651642, -0.8261807560920715, -0.302014023065567, 0.15830840170383453, 0.14628036320209503, 0.41860130429267883, 0.5784490704536438, -0.5936087965965271, 0.6068164706230164, 0.4726853370666504, 0.0992789939045906, 0.4595232605934143, 0.07909789681434631, 0.08838345110416412, -0.9313721656799316, -0.26119959354400635, 0.1707184761762619, -0.36723005771636963, -0.7255368828773499, 0.1465122550725937, 0.37411317229270935, -0.02765500545501709, -0.413034588098526, 0.5586709976196289, -0.6654455065727234, 0.16239941120147705, -0.22460107505321503, -0.013141302391886711, 0.1420515775680542, 0.13625884056091309, -0.36639052629470825, 0.9086517691612244, 0.34074127674102783, -0.32195159792900085, 0.09257008135318756, -0.11963532119989395, -0.5993018746376038, 0.06715735048055649, -0.6970104575157166, 0.39015722274780273, -0.12673915922641754, 0.20891155302524567, -1.125045657157898, -0.5802350640296936, 0.47836536169052124, -0.691392183303833, 0.2478301078081131, -0.1913314163684845, -1.26813542842865, -0.4912639558315277, -0.5505598187446594, 0.20203503966331482, 0.68885338306427, -0.8109444379806519, 0.291156530380249, 0.4674263298511505, 0.3363391160964966, -0.3558551073074341, -0.6464766263961792, 0.32443198561668396, -0.3091795742511749, -0.4667972922325134, 0.5561413168907166, 0.13495859503746033, -0.5278633236885071, 0.005034746136516333, 0.026166493073105812, 0.051496732980012894, 0.1262722611427307, 0.15939006209373474, 0.07324385643005371, -0.06497672945261002, -0.01068438496440649, 0.08090134710073471, 0.2755841612815857, 0.09855484962463379, -0.2531547248363495, 0.3323283791542053, 0.21184338629245758, -0.1877545267343521, -0.7575500011444092, 0.20521004498004913, 0.4902997612953186, -0.1214974895119667, 0.8614559769630432, 0.5470411777496338, -0.7389377355575562, -0.5186694860458374, -0.5227095484733582, -0.23412102460861206, -0.5163897275924683, -0.021308165043592453, 0.012937619350850582, -1.0770095586776733, 0.42863932251930237, 0.10328171402215958, 0.05115022137761116, 0.38492047786712646, 0.5554597973823547, -0.11820391565561295, 1.0814645290374756, 0.6962035298347473, 0.15883280336856842, 0.410617470741272, -0.04285864531993866, 0.2938340902328491, -0.5114123225212097, -0.14103925228118896, -0.44866177439689636, 0.007689874619245529, -0.8780502676963806, -0.4495798647403717, 0.2165733128786087, -0.11666437983512878, -0.3053406774997711, 0.42093536257743835, -0.659824788570404, 0.6988644003868103, 0.6882301568984985, 0.2809295356273651, 0.3101443350315094, 0.2436913400888443, 0.3482815623283386, 0.0687251091003418, -0.4297635555267334, -0.9507743716239929, 1.3895947933197021, 0.4780304431915283, 0.7661260366439819, 0.13314186036586761, 0.4846283197402954, 0.5488491058349609, 0.6265405416488647, -0.5017813444137573, 0.5623763203620911, -0.5086973905563354, -0.660538375377655, -0.0662941038608551, -0.2549442946910858, -0.7128986716270447, 0.13839112222194672, -0.10886433720588684, -0.6252245903015137, -0.09709098190069199, 0.09005231410264969, -0.10482854396104813, 0.7255950570106506, -0.8034684658050537, 0.419735848903656, 0.06618326902389526, -0.26955723762512207, 0.06486865878105164, -0.49674299359321594, 0.5699878334999084, -0.38765132427215576, -0.03693763539195061, -0.40000346302986145, -0.0827687457203865, 0.6657842993736267, -0.17142616212368011, 1.1758688688278198, -0.10491659492254257, -0.2322196215391159, 0.5158830881118774, 0.241985023021698, 0.46256327629089355, -0.12553079426288605, 0.0005582600715570152, 0.3364937901496887, -0.39743515849113464, -0.3512018620967865, -0.13122910261154175, 0.668732225894928, -0.7382305860519409, -0.5750405192375183, -0.00898465234786272, -0.4555748999118805, -0.22897720336914062, 0.29367274045944214, 0.6253368854522705, 0.36003294587135315, -0.29943645000457764, 0.2663768231868744, 0.7908666133880615, -0.26115143299102783, 0.5190069079399109, 0.6108357310295105, 0.013238990679383278, -0.16084171831607819, 0.7365137934684753, 0.026006324216723442, 0.23926885426044464, 0.5263604521751404, 0.20133763551712036, -0.24675321578979492, -0.8026127815246582, -0.48892921209335327, 0.30794769525527954, -0.6967545747756958, -0.45875200629234314, -0.5955511927604675, -0.34330233931541443, -0.5106126070022583, -0.04079049080610275, -0.07755260914564133, -0.23770874738693237, -0.7531590461730957, -0.055158644914627075, 0.2644544839859009, 1.0795042514801025, 0.1455790400505066, 0.7113510966300964, -0.5634839534759521, 0.4330562353134155, 0.08986877650022507, 0.27476033568382263, -0.0659933090209961, -0.8791769742965698, -0.2586444914340973, 0.1996864378452301, -0.4493769407272339, -0.8588981628417969, 0.3308367431163788, 0.05282023921608925, 0.5077212452888489, 0.5358062982559204, 0.17619118094444275, 0.33115747570991516, -0.3453373610973358, 0.6172494888305664, 0.004341618157923222, -0.9130726456642151, 0.27866825461387634, -0.548060953617096, 0.008160735480487347, 0.08328831940889359, 0.3053261935710907, -0.14723876118659973, -0.6813255548477173, -0.5174919366836548, -0.4749862551689148, 0.611902117729187, 0.4647548198699951, 0.506763756275177, -0.18277253210544586, 0.31365880370140076, 0.3331295847892761, 0.2811996042728424, -0.5844905972480774, -0.03500634431838989, -0.172281876206398, -0.13856549561023712, -0.038439929485321045, -0.5281762480735779, -0.06812729686498642, -0.09765112400054932, 0.42872288823127747, 0.05001749470829964, 0.25269562005996704, -0.16395993530750275, -0.36753806471824646, -0.5057225823402405, -0.03415057808160782, 0.6294371485710144, 0.6503495573997498, -0.27094677090644836, 0.1973179429769516, -0.2394886612892151, -0.3124270737171173, -0.06003272160887718, -0.10046703368425369, -0.3662775456905365, 0.2555006146430969, 0.5579644441604614, 0.6097910404205322, 0.029802070930600166, -0.6123991012573242, 0.4437376856803894, 0.21551303565502167, -0.33369553089141846, -0.36783137917518616, -0.022718975320458412, 0.013501128181815147, -0.010585842654109001, 0.5442519783973694, 0.018752845004200935, -0.07588931918144226, -0.5859391093254089, 0.12991046905517578, 0.4557744860649109, -0.27927011251449585, -0.7000921368598938, 0.8333169221878052, 0.1633087396621704, -0.4778750538825989, 0.3259563148021698, -0.1271916627883911, -0.4970732033252716, 0.5783156752586365, 0.6337950229644775, 1.0459215641021729, -0.26247942447662354, 0.26142820715904236, 0.09680309891700745, 0.8330937623977661, -0.17258580029010773, 0.02941327542066574, 0.29475176334381104, -1.0573378801345825, -0.13332800567150116, -0.25721967220306396, -0.37343358993530273, 0.5093560814857483, -0.35909196734428406, 0.13755454123020172, -0.4959460198879242, -0.11708296835422516, 0.3863108158111572, -0.2203356921672821, -0.7617689967155457, -0.07122066617012024, 0.1464901715517044, 0.8472493290901184, -0.8347213268280029, 0.758556604385376, 0.5016108155250549, -0.3790384531021118, -0.4736051559448242, 0.4971294403076172, 0.1173987090587616, -1.0024992227554321, 0.33978718519210815, 0.26419156789779663, -0.297776997089386, 0.28164857625961304, -1.1029242277145386, -0.324187695980072, 0.9153021574020386, 0.6371041536331177, -0.20698018372058868, 0.07301412522792816, 0.5806195139884949, 0.5582866072654724, -0.4348274767398834, -0.15017393231391907, 0.6547383069992065, 0.19708487391471863, -0.20925909280776978, -0.8894225358963013, 0.1838706135749817, 0.1185753121972084, -0.022583413869142532, 0.1569865196943283, -0.32763710618019104, 0.826481282711029, -0.15851397812366486, -0.608036458492279, 0.08617522567510605, 0.3460850119590759, 0.016554268077015877, 0.210615873336792, 0.237068310379982, 0.2675046920776367, 0.5375730991363525, 0.039957985281944275, 0.9266822934150696, -0.11974436044692993, 0.04013536125421524, 0.8319647312164307, -0.3108152747154236, 0.6217401623725891, 0.37791940569877625, 0.03430080786347389, 0.3810904324054718, 0.541326105594635, 0.026500912383198738, 0.32458439469337463, 0.21876856684684753, -0.2916746139526367, -0.1224566325545311, -0.297016441822052, 0.07369895279407501, 0.27875396609306335, 0.619511604309082, -0.5968310832977295, -0.3886353075504303, -0.02250024303793907, 0.3233802616596222, 0.3062414228916168, -0.32051295042037964, 0.6408975124359131, 0.07346998900175095, -0.45166823267936707, 0.717332124710083, 0.1641695648431778, 0.7217378616333008, -0.12525275349617004, -0.01792779006063938, -0.2670097053050995, 0.15648452937602997, -0.16067950427532196, -1.0513370037078857, 0.10160654038190842, 0.3460996150970459, 0.055184368044137955, -0.28625762462615967, 1.1470977067947388, -0.24885956943035126, -0.39028865098953247, 0.5247109532356262, 0.6669202446937561, 0.14537321031093597, -0.5259270071983337, -0.5855531692504883, 0.06499435007572174, -0.03167233616113663, -0.08681704103946686, 0.08971414715051651, 0.6734418869018555, -0.4164804518222809, 0.740644097328186, 0.6741424798965454, -0.22463086247444153, 0.1779322326183319, 0.28508397936820984, 0.9444741606712341, -0.44826221466064453, 0.025610698387026787, -0.9842110872268677, 0.19492976367473602, -0.12100307643413544, 0.0633375272154808, 0.8425267934799194, 0.48111921548843384, 1.0483849048614502, -0.18763837218284607, 0.9966489672660828, 0.20333628356456757, 0.8593488335609436, -0.25610071420669556, 0.7488287091255188, -0.5858562588691711, 0.49291834235191345, -0.3193191587924957, -0.6397504806518555, -0.42431172728538513, -0.09302885085344315, -0.010626014322042465, 0.05059901252388954, 0.45643848180770874, 0.9784132838249207, -0.25735941529273987, -0.11895925551652908, 0.5424768924713135, 0.1488768756389618, 0.3071396052837372, 0.20887206494808197, 1.1303750276565552, -0.37580132484436035, 0.5146769881248474, -0.4177982807159424, -0.14009538292884827, -0.4823445677757263, -0.7754386067390442, -1.4823226928710938, -0.46050000190734863, -0.19667311012744904, -0.40662866830825806, 0.11380799859762192, 0.610507607460022, 0.4199812114238739, -0.8070019483566284, -0.15739589929580688, -0.07524705678224564, 0.07309328764677048, 0.1516249179840088, -0.23582521080970764, 0.3162258565425873, 0.014666739851236343, -0.6521103978157043, 0.28136199712753296, 0.17427480220794678, 0.2826957702636719, -0.28099218010902405, 0.09910715371370316, 0.14836031198501587, 0.5329583287239075, 0.810633659362793, 0.032867781817913055, -0.9775798916816711, -0.36254724860191345, 0.26511433720588684, -0.13609464466571808, -0.08408437669277191, 0.7317424416542053, -0.5587035417556763, 0.23755650222301483, 0.4639985263347626, 0.2895345389842987, 0.10360187292098999, 0.25297388434410095, 0.4944670498371124, -0.8101418614387512, -0.044062256813049316, 0.16859428584575653, 0.18142424523830414, 0.5952814817428589, -0.2657512426376343, 0.4815138280391693, 0.3375852108001709, -0.4632343649864197, -1.1464282274246216, 0.14284518361091614, -0.5583410263061523, -0.5298422574996948, 1.2215979099273682, 0.13549114763736725, -0.009035813622176647, -0.46588361263275146, 0.1501321941614151, 0.33224573731422424, -0.5647894144058228, 0.8054587244987488, 0.44663774967193604, 0.04425910487771034, -0.1835625320672989, -0.8305716514587402, 0.6808916330337524, -0.21547874808311462, -0.6259273290634155, 0.1319207102060318, 0.24793453514575958, 0.5408514738082886, -0.22032983601093292, 0.6828189492225647, -0.17610935866832733, 0.06817526370286942, -0.19693778455257416, 0.02943599596619606, -0.17361021041870117, -0.19239354133605957, -0.17381146550178528, -0.05807448923587799, -0.03220736235380173, -0.3519676625728607 ]
http://arxiv.org/abs/2406.17962v2
http://arxiv.org/pdf/2406.17962v2
SimsChat: A Customisable Persona-Driven Role-Playing Agent
2024-06-25T22:44:17
2024-06-30T21:15:47
Bohao Yang, Dong Liu, Chen Tang, Chenghao Xiao, Kun Zhao, Chao Li, Lin Yuan, Guang Yang, Lanxiao Huang, Chenghua Lin
cs.CL
cs.CL
Large Language Models (LLMs) possess the remarkable capability to understand human instructions and generate high-quality text, enabling them to act as agents that simulate human behaviours. This capability allows LLMs to emulate human beings in a more advanced manner, beyond merely replicating simple human behaviours. However, there is a lack of exploring into leveraging LLMs to craft characters from several aspects. In this work, we introduce the Customisable Conversation Agent Framework, which employs LLMs to simulate real-world characters that can be freely customised according to different user preferences. The customisable framework is helpful for designing customisable characters and role-playing agents according to human's preferences. We first propose the SimsConv dataset, which comprises 68 different customised characters, 1,360 multi-turn role-playing dialogues, and encompasses 13,971 interaction dialogues in total. The characters are created from several real-world elements, such as career, aspiration, trait, and skill. Building on these foundations, we present SimsChat, a freely customisable role-playing agent. It incorporates different real-world scenes and topic-specific character interaction dialogues, simulating characters' life experiences in various scenarios and topic-specific interactions with specific emotions. Experimental results show that our proposed framework achieves desirable performance and provides helpful guideline for building better simulacra of human beings in the future. Our data and code are available at https://github.com/Bernard-Yang/SimsChat.
[ -0.3784661591053009, -0.6478936076164246, 0.4660135507583618, 0.434987336397171, -0.03202604874968529, 0.4629954993724823, -0.0166182778775692, -0.4190102219581604, 0.6169384717941284, 0.8859551548957825, -0.8982679843902588, -0.4620244801044464, 0.09695746749639511, 0.12270807474851608, 0.2600649297237396, 0.2862718999385834, 0.4610878825187683, -0.029293540865182877, -0.35555076599121094, 0.10367466509342194, -0.520635187625885, -0.7734736800193787, -0.8380767107009888, -0.4145418107509613, 0.5490244030952454, 0.4996644854545593, 0.980200469493866, 0.5662824511528015, 0.22930890321731567, 0.4301784634590149, 0.0757412239909172, 0.45691704750061035, -0.6655598878860474, 0.5345079302787781, -0.2759484648704529, -0.5477476119995117, -0.7122088670730591, 0.027524592354893684, 0.20390662550926208, 0.1430940330028534, -0.15262633562088013, -0.21301759779453278, -0.1293162852525711, -0.017174625769257545, -0.08669375628232956, 0.39586320519447327, -0.34005945920944214, 0.10185780376195908, 0.016535988077521324, -0.48276764154434204, -0.38582664728164673, -0.21578647196292877, -0.17974697053432465, -0.7414341568946838, -0.2172093242406845, 0.08428337424993515, 0.6511756777763367, 0.05781686305999756, -0.3244187831878662, -0.3950042724609375, -0.6206225752830505, 0.8158147931098938, -0.9382345676422119, 0.17746476829051971, 0.29753780364990234, 0.8235027194023132, -0.3912341892719269, -0.42065495252609253, -0.1945953369140625, -0.6036773920059204, -0.1739823818206787, 0.20513491332530975, 0.40510693192481995, 0.2845991849899292, 0.2681369483470917, 0.055395081639289856, -0.4097876250743866, 0.0886809378862381, 0.0619799867272377, -0.11495479196310043, 0.8719477653503418, 0.6942179203033447, 0.6028342247009277, -0.1932518631219864, -0.34495097398757935, -0.053206149488687515, -0.4743998348712921, 0.29382169246673584, 0.8346008062362671, 0.41259831190109253, -0.19598041474819183, 0.4207448363304138, -0.22234728932380676, 0.24939635396003723, 0.053584977984428406, -0.39015716314315796, 0.05015895143151283, 0.28483521938323975, -0.07737819850444794, -0.1079019233584404, 0.6252416372299194, 0.14893507957458496, 0.27679795026779175, -0.13176459074020386, -0.06102623790502548, -0.26697856187820435, 0.2750304043292999, -1.149309515953064, 0.0562717504799366, 0.3798624575138092, -0.3152005672454834, -0.4921102225780487, -0.09487074613571167, -0.441413015127182, -0.6594896912574768, -0.271212637424469, -0.025296688079833984, -0.5628820061683655, -0.2711166441440582, -0.061237700283527374, 0.03941010683774948, 0.15341168642044067, 0.46436160802841187, -0.8269678950309753, 0.2911529541015625, 0.5425868034362793, 0.6765574216842651, -0.3606152832508087, -0.21267357468605042, -0.33057767152786255, 0.3169085383415222, -0.44288334250450134, 0.6615436673164368, -0.9579480886459351, -0.7007463574409485, -0.15186859667301178, -0.10617909580469131, 0.10634134709835052, -0.32352617383003235, 0.5100528597831726, -0.41891077160835266, -0.13145780563354492, -0.5119686722755432, -0.580496072769165, 0.2007756531238556, 0.567867636680603, -0.567079484462738, 0.4459388554096222, 0.1421494483947754, -0.41066935658454895, -0.04858117550611496, -0.8873707056045532, -0.26713839173316956, 0.6042430996894836, -0.4564172923564911, 0.11434448510408401, -0.22464708983898163, -0.06296795606613159, 0.6736845374107361, -0.31591862440109253, 0.16800567507743835, -0.3401755690574646, -0.7598086595535278, 0.6955694556236267, -0.35880857706069946, 0.6681029200553894, 0.39395225048065186, 0.08377132564783096, 0.12290382385253906, -0.5076241493225098, 0.17492063343524933, -0.011324546299874783, -0.314752995967865, 0.035209815949201584, 0.2519214153289795, 0.12236117571592331, 0.2872207760810852, 0.03415039926767349, -0.655712366104126, 0.36160963773727417, -0.38229110836982727, 0.4130490720272064, 0.45806995034217834, 0.2032795548439026, 0.3169574439525604, -0.6344681978225708, 0.8425918817520142, -0.04305264353752136, 0.042968202382326126, -0.3509331941604614, -0.3905975818634033, -0.41704434156417847, -0.6824927926063538, -0.00607019430026412, 0.636671781539917, -0.748765766620636, 0.2505423426628113, -0.028743645176291466, -0.6020191311836243, -0.4623553156852722, -0.10829751193523407, 0.1736607700586319, -0.021650217473506927, -0.09354404360055923, -0.32977864146232605, -0.6209884881973267, -0.8413169980049133, -0.2958567142486572, -0.3864962160587311, -0.08528266847133636, 0.7919120192527771, -0.026036089286208153, -0.5203102827072144, 1.3125817775726318, -0.5656477212905884, -0.2985006868839264, -0.6940029263496399, -0.16361580789089203, -0.2953881323337555, 0.5109437704086304, 0.559402346611023, -0.6968894004821777, -0.49492308497428894, 0.018346894532442093, -0.7116087675094604, -0.3123485743999481, -0.5627003312110901, -0.2248862236738205, -0.02639908157289028, 0.6377687454223633, -0.6730397343635559, 0.31338047981262207, 0.4079834520816803, -0.2357054203748703, 0.5837128162384033, -0.25250959396362305, 0.4801430106163025, -1.4343717098236084, -0.08068116009235382, -0.33752211928367615, -0.5434619188308716, -0.6070829629898071, 0.027410870417952538, -0.4099874198436737, -0.3157055079936981, -0.7186468839645386, 0.9735141396522522, -0.32762327790260315, -0.120131716132164, -0.2687712609767914, 0.2507562041282654, -0.13352882862091064, 0.632728636264801, 0.027946339920163155, 0.8524941205978394, 0.23649166524410248, -0.3597472310066223, 0.4568319022655487, 0.5475146770477295, -0.1457063853740692, 0.7662360668182373, -0.5798707008361816, 0.22706137597560883, 0.014244758524000645, 0.2781388759613037, -0.8782843351364136, -0.46139100193977356, 0.22720223665237427, -0.2653631567955017, -0.025662384927272797, -0.32759663462638855, -0.4973870515823364, 0.026364296674728394, -0.05945653095841408, 0.05802871286869049, 0.6572467684745789, -0.42223936319351196, 0.8860263824462891, 0.4387793242931366, -0.25825709104537964, -0.2456343173980713, -0.6073920726776123, 0.4302874505519867, -0.05484588444232941, -0.7997664213180542, 0.3535899221897125, -0.5986283421516418, -0.26009994745254517, -0.23326174914836884, 0.47519299387931824, -0.14931097626686096, -0.03565147519111633, 0.6398659348487854, -0.11176101118326187, -0.011462264694273472, -0.02490174025297165, 0.11829782277345657, -0.10302586108446121, -0.15925876796245575, 0.39253973960876465, 0.735634982585907, -0.13422106206417084, -0.5772565007209778, -0.6332371830940247, 0.4028225839138031, 0.46886998414993286, -0.03908053785562515, 0.39388200640678406, 0.5218394994735718, -0.026830773800611496, -0.4337025582790375, -0.4330355226993561, -0.10841187089681625, -0.6277056336402893, 0.4349880814552307, -0.6827052235603333, -0.9182921648025513, 0.7588489651679993, -0.11520201712846756, 0.29816916584968567, -0.2698152959346771, 0.6696317195892334, -0.06694710999727249, 1.1128500699996948, 0.39112862944602966, 0.20873290300369263, 0.3958154022693634, 0.084562286734581, 0.1718866527080536, -0.47464314103126526, -0.11995778232812881, -0.013211472891271114, -0.2169860303401947, -0.6782363653182983, -0.7041234970092773, -0.2385173738002777, -0.5146493911743164, -0.14466968178749084, 0.2751466929912567, -0.006811743136495352, 0.7602760791778564, 0.06643195450305939, -0.017783883959054947, 0.26448023319244385, -0.3099506199359894, 0.05673373118042946, -0.17007574439048767, -0.43758055567741394, -1.004348635673523, 0.29776138067245483, 0.3776599168777466, 0.9956082701683044, 0.1654287576675415, 0.8234212398529053, 0.4357949495315552, 0.36961111426353455, -0.7530763745307922, 0.9168400764465332, 0.12862393260002136, -0.6714046597480774, -0.28364017605781555, -0.4784143567085266, -0.620631754398346, 0.5264419913291931, -0.19811353087425232, -0.769014835357666, 0.019563309848308563, 0.1707472801208496, -0.34942686557769775, 0.37774375081062317, -0.6365422010421753, 0.5610907077789307, -0.1308249682188034, -0.3999033570289612, -0.0695442333817482, -0.3161185085773468, 0.4143148362636566, 0.25760307908058167, -0.1445673108100891, -0.41457709670066833, -0.039342887699604034, 0.19874325394630432, -0.30128178000450134, 1.1881077289581299, -0.13434232771396637, 0.07403524965047836, 0.4178694784641266, 0.6409087777137756, 0.43763139843940735, 0.2913256883621216, -0.2657698094844818, -0.09434898942708969, 0.31641092896461487, -0.3598276674747467, -0.5420703291893005, 0.8030821084976196, -0.8403793573379517, -0.8589591383934021, -0.3296026587486267, -0.8654950857162476, -0.5256907939910889, -0.013114712201058865, -0.10045221447944641, 0.2841194272041321, -1.1219022274017334, 0.06501726806163788, 0.3517513573169708, -0.5362680554389954, 0.3434778153896332, 0.3696002960205078, -0.36210885643959045, -0.12674038112163544, 1.1219254732131958, -0.011835834942758083, 0.28295570611953735, 0.18955479562282562, 0.03940213844180107, -0.009572936221957207, 0.020582059398293495, -0.42396044731140137, 0.17719514667987823, -0.40177851915359497, -0.13364581763744354, -0.7195807099342346, -0.4506395161151886, -0.2772209644317627, -0.5327980518341064, -0.37020161747932434, -0.17487448453903198, -0.3750455379486084, -0.08171999454498291, 0.07863185554742813, 0.701531171798706, 0.22677452862262726, 0.7016746401786804, -0.590412974357605, 0.1826508790254593, 0.4665953516960144, 0.3596571087837219, -0.07028645277023315, -0.15954241156578064, 0.10880851745605469, 0.2421240657567978, -0.3034299910068512, -0.7269609570503235, 0.8396889567375183, 0.03498011827468872, 0.619751513004303, 0.7250629663467407, -0.0352647565305233, 0.6268765330314636, -0.4422052204608917, 0.7947330474853516, -0.1328495442867279, -0.7790724039077759, -0.07299647480249405, -0.7062024474143982, -0.0010617967927828431, 0.4252752661705017, 0.046586621552705765, -0.9648021459579468, -0.38594162464141846, -0.5634515285491943, -0.3057248294353485, 0.9914374947547913, 0.5005703568458557, 0.49807044863700867, 0.12119892984628677, 0.5143225789070129, 0.18421247601509094, 0.1656825840473175, -0.17122282087802887, 0.01886063814163208, -0.10070180892944336, -0.26632171869277954, -0.027613848447799683, -0.40191274881362915, 0.09223977476358414, 0.2023170441389084, 0.5269734859466553, -0.2023743838071823, 0.29732704162597656, -0.06434519588947296, -0.02873019501566887, 0.10567254573106766, 0.3751735985279083, 0.5457723140716553, 0.4619322419166565, -0.47126805782318115, -0.20564362406730652, 0.18073558807373047, -0.48238396644592285, 0.16816915571689606, -0.3471508324146271, -0.04542899131774902, -0.25129079818725586, 0.00313835428096354, 0.6542903780937195, 0.2762560248374939, -1.0437229871749878, 0.42499876022338867, -0.3966130018234253, -0.19207225739955902, -0.31274136900901794, 0.464407354593277, 0.7451421618461609, 0.46099016070365906, -0.026595517992973328, -0.2148595154285431, -0.015231643803417683, -0.5726234912872314, 0.17346836626529694, 0.28296828269958496, -0.4432889521121979, -0.47667744755744934, 0.45541635155677795, 0.5355840921401978, -0.8268067240715027, 0.15745329856872559, -0.5140795111656189, -0.20061463117599487, 0.7238205671310425, 0.7000308632850647, 0.7560640573501587, -0.48657500743865967, 0.773250162601471, -0.12215349823236465, 0.09893643110990524, -0.027779750525951385, 0.3186884820461273, 0.23721882700920105, -0.6808367371559143, -0.037066344171762466, -0.4002181887626648, -0.956778883934021, 0.0015843883156776428, -0.13382463157176971, 0.3890516757965088, -0.6395860314369202, -0.09166862815618515, -0.2587779760360718, 0.19325347244739532, -0.5875566601753235, 0.07328581064939499, 0.00924938078969717, 0.7585782408714294, -0.5359803438186646, 0.6649828553199768, 0.5167433023452759, -0.2936129570007324, -0.6075792908668518, -0.018190857023000717, -0.04612339660525322, -0.5857383012771606, 0.446831613779068, 0.0747695118188858, -0.11804651468992233, -0.025848476216197014, -0.541640043258667, -0.7031840682029724, 1.2952958345413208, 0.7569231390953064, -0.31173714995384216, -0.22471724450588226, 0.7198423147201538, 0.7033612132072449, -0.9772794842720032, 0.5750460028648376, 0.37368836998939514, 0.26115694642066956, 0.5058645009994507, -0.3840852975845337, 0.02252774126827717, -0.2643581032752991, 0.25107893347740173, -0.454097181558609, -1.018850326538086, 0.6337159872055054, -0.11446565389633179, -0.17381693422794342, 0.3408047556877136, 0.6277215480804443, 0.4109579920768738, -0.06178659200668335, 0.5074865818023682, -0.13342002034187317, 0.7116538882255554, 0.0934225395321846, 0.8661370277404785, -0.2435320019721985, -0.07107073813676834, 1.0197818279266357, -0.5810278058052063, 0.4467490315437317, 0.18571822345256805, 0.34418153762817383, 0.42039692401885986, 0.6668581366539001, 0.1730232685804367, 0.1461278796195984, 0.3502124547958374, -0.09130703657865524, -0.782837450504303, -0.1344560980796814, 0.17569400370121002, 0.4275473356246948, 0.4201601445674896, -0.00982203520834446, -0.12846270203590393, 0.004175081383436918, -0.09485478699207306, -0.017446570098400116, 0.00907585583627224, 0.6217092275619507, 0.17029646039009094, -0.3838728070259094, 0.07562310993671417, 0.15889963507652283, 0.5185654759407043, -0.7548881769180298, -0.2556172311306, -0.3718014359474182, 0.09959130734205246, -0.1927652806043625, -0.5155929923057556, -0.07213735580444336, -0.1560167372226715, 0.3537783622741699, -0.2926766872406006, 0.7943373918533325, -0.5184205174446106, -0.26199430227279663, 0.007502474822103977, 0.658177375793457, 0.32051122188568115, 0.060930218547582626, -0.7194986343383789, 0.2184588611125946, -0.00791092962026596, -0.5054588913917542, 0.3319322466850281, 0.5363678336143494, -0.23457017540931702, 0.9190977215766907, 0.5592241883277893, -0.01769929938018322, -0.2732105255126953, 0.09824853390455246, 0.850083589553833, -0.6824434399604797, -1.0032627582550049, -0.465385377407074, 0.4353131949901581, -0.2718343436717987, -0.22229193150997162, 0.6186005473136902, 0.5686166882514954, 0.31967124342918396, -0.10962878167629242, 0.9252288937568665, 0.03476473316550255, 0.3745478093624115, -0.12008153647184372, 0.9027354717254639, -0.3247021436691284, 0.35620149970054626, -0.22839292883872986, -0.6127489805221558, 0.033911172300577164, 0.5135194659233093, -0.0508820042014122, 0.2425965815782547, 0.1820918768644333, 1.1766343116760254, -0.2907246947288513, 0.1023985743522644, 0.9850274920463562, 0.09685055166482925, 0.8396463394165039, 0.2785722613334656, 1.0006587505340576, 0.02604716829955578, 0.39384201169013977, 0.16698649525642395, -0.10022874176502228, -0.48552751541137695, -0.6359942555427551, -1.5898863077163696, -0.5647812485694885, -0.06920532137155533, -0.18212009966373444, 0.2153865396976471, 1.4318574666976929, 0.8051549792289734, -0.3380385637283325, -0.537872850894928, 0.37961336970329285, -0.012230878695845604, -0.06500604003667831, -0.2055443972349167, -0.01071402058005333, -0.45087096095085144, -0.9213191866874695, 0.4901707172393799, 0.1623631864786148, 0.1931479275226593, -0.42154791951179504, -0.38516658544540405, 0.17971526086330414, 1.011610507965088, 0.6386351585388184, 0.3359832167625427, -0.46119171380996704, -0.11496365815401077, 0.13466237485408783, -0.5124496221542358, 0.21479029953479767, 1.0070147514343262, -0.5635136365890503, 0.1919267773628235, 0.36147207021713257, 0.5242341160774231, 0.5562530159950256, 0.25877198576927185, 0.6235844492912292, -0.8352319002151489, 0.23275445401668549, 0.36150676012039185, 0.06741682440042496, 0.4226430356502533, -0.6975752711296082, 0.2816103994846344, -0.030718034133315086, -0.39293813705444336, -0.6592382192611694, 0.5684674978256226, -1.2204151153564453, -0.20826135575771332, 1.4310251474380493, -0.19169163703918457, -0.38110050559043884, -0.14950275421142578, -0.8803600072860718, -0.12318152189254761, -0.8179209232330322, 0.5095155239105225, 0.4166756272315979, -0.36563313007354736, -0.030036741867661476, -0.3911779820919037, 0.6686661243438721, 0.05616391450166702, -1.1741442680358887, 0.33463528752326965, 0.3271981477737427, 0.2978496253490448, -0.10823352634906769, 0.8487057685852051, 0.014040852896869183, -0.07851462811231613, -0.12899696826934814, 0.1947680413722992, -0.48117324709892273, 0.024130871519446373, 0.19250845909118652, 0.21079525351524353, 0.06423424184322357, 0.2885858118534088 ]
http://arxiv.org/abs/2406.17961v1
http://arxiv.org/pdf/2406.17961v1
NormTab: Improving Symbolic Reasoning in LLMs Through Tabular Data Normalization
2024-06-25T22:40:03
2024-06-25T22:40:03
Md Mahadi Hasan Nahid, Davood Rafiei
cs.CL
cs.CL, cs.AI, cs.DB, cs.IR
In recent years, Large Language Models (LLMs) have demonstrated remarkable capabilities in parsing textual data and generating code. However, their performance in tasks involving tabular data, especially those requiring symbolic reasoning, faces challenges due to the structural variance and inconsistency in table cell values often found in web tables. In this paper, we introduce NormTab, a novel framework aimed at enhancing the symbolic reasoning performance of LLMs by normalizing web tables. We study table normalization as a stand-alone, one-time preprocessing step using LLMs to support symbolic reasoning on tabular data. Our experimental evaluation, conducted on challenging web table datasets such as WikiTableQuestion and TabFact, demonstrates that leveraging NormTab significantly improves symbolic reasoning performance, showcasing the importance and effectiveness of web table normalization for enhancing LLM-based symbolic reasoning tasks.
[ -0.1906551569700241, -0.9928408861160278, 0.449780136346817, 0.46538954973220825, -0.4510314464569092, -0.029059220105409622, -0.08417423814535141, -0.29984188079833984, 0.11156424134969711, 0.36346176266670227, -0.436343252658844, -0.9722039103507996, -0.29807525873184204, 0.2998655140399933, -0.25046882033348083, 0.7183859348297119, 0.09418262541294098, 0.20054496824741364, -0.3078501224517822, -0.05068208649754524, -0.5624633431434631, -0.41167399287223816, -0.2124556303024292, -0.3262249231338501, 0.45649370551109314, 0.6904955506324768, 0.9324500560760498, 1.0159574747085571, 0.6675595045089722, 0.20905405282974243, 0.40652409195899963, 0.18232661485671997, -0.31742408871650696, 0.4436344504356384, 0.036021653562784195, -0.8316604495048523, -0.8960216045379639, -0.18292544782161713, 0.7530657649040222, 0.6038051843643188, -0.3826862871646881, 0.3373599052429199, -0.21810275316238403, 0.7047555446624756, -0.27988171577453613, 0.536480724811554, -0.8709575533866882, 0.2272035926580429, -0.3773365020751953, -0.18178986012935638, -0.4157577455043793, -0.7985740303993225, -0.4985421597957611, -0.6522409319877625, 0.09797403961420059, 0.025220032781362534, 0.8853840827941895, 0.5639098286628723, -0.24895234405994415, 0.28856444358825684, -0.5121937394142151, 0.5492402911186218, -0.9435845613479614, 0.8413010239601135, 0.29794591665267944, 0.4240640103816986, -0.44966864585876465, -0.8317581415176392, -0.7584713697433472, -0.48436272144317627, -0.15423953533172607, -0.36280956864356995, -0.5188586115837097, 0.0709226056933403, 0.5096599459648132, -0.09218716621398926, -0.8602292537689209, 0.21962343156337738, -0.06619821488857269, -0.07440780103206635, 0.3282993733882904, 0.3568483293056488, 0.3577716052532196, -0.0468597449362278, 0.013286803849041462, -0.12422474473714828, -0.7018772959709167, 0.12381621450185776, 0.10618862509727478, 0.5296031832695007, 0.03144361451268196, 0.5241562724113464, -0.3238723874092102, 0.9253928661346436, -0.282046377658844, -0.19931848347187042, -0.0851462185382843, 0.08327385038137436, -0.280894935131073, 0.06893511861562729, 0.29218363761901855, 0.6394222378730774, 0.5547947883605957, -0.26389583945274353, -0.2589171230792999, 0.46031272411346436, 0.383260577917099, -0.8630908131599426, -0.28948718309402466, 0.20199652016162872, -0.33360347151756287, -0.012989693321287632, 0.16477209329605103, -0.5458294749259949, -0.22388359904289246, -0.5020207166671753, 0.3205508589744568, -0.21674185991287231, 0.2238558679819107, -0.02286348305642605, -0.009471605531871319, 0.170449361205101, 0.6126789450645447, -0.5343401432037354, 0.5053300857543945, 0.6615052223205566, 0.7660672068595886, -0.371469110250473, 0.07979854196310043, -0.5351774096488953, 0.4570009112358093, -0.5586176514625549, 1.077866554260254, -0.5230043530464172, -0.27877089381217957, -0.2674928903579712, -0.2332259565591812, 0.44656407833099365, -0.6802594065666199, 0.3398178815841675, -0.48849260807037354, -0.5186771154403687, -0.34571102261543274, -0.3448044955730438, 0.03725054860115051, 0.5707170963287354, -1.0394961833953857, 0.8851445913314819, -0.037827957421541214, -0.40912750363349915, 0.6868274807929993, -0.7578275799751282, -0.6650476455688477, 0.2472529411315918, -0.4542948305606842, -0.5665691494941711, -0.2649760842323303, 0.31104475259780884, 0.6211060881614685, -0.5032891631126404, 0.3913315534591675, -0.4533761441707611, -0.49908313155174255, 0.33515578508377075, -0.02395041100680828, 0.5826069712638855, 0.3282528519630432, -0.2808520495891571, 0.26860636472702026, -0.7624363899230957, 0.23826660215854645, 0.17542964220046997, -0.2664150893688202, -0.13389445841312408, -0.05855900049209595, 0.07653149962425232, 0.04153921455144882, 0.0026854912284761667, -0.5578411221504211, 0.4706018269062042, -0.1616787165403366, 0.11412753909826279, 0.8335672616958618, -0.1572151929140091, 0.30954188108444214, -0.3310607969760895, 0.400424987077713, 0.2155517190694809, 0.04483886808156967, 0.6474494934082031, -0.2995879650115967, -0.5782689452171326, -0.21847620606422424, 0.22789770364761353, 0.5306410193443298, -0.37959226965904236, 0.24923895299434662, -0.32149094343185425, -0.644584596157074, -0.26281648874282837, 0.2397635579109192, 0.12997396290302277, 0.7066754102706909, 0.6313793063163757, -0.16131988167762756, -0.8614931106567383, -1.1779470443725586, -0.5017797946929932, -0.13026851415634155, -0.18584005534648895, 0.05439439043402672, 0.1887582242488861, -0.44589272141456604, 1.0765067338943481, -0.5933964848518372, -0.48133060336112976, -0.5975080132484436, 0.07996626943349838, 0.27627211809158325, 0.5211228132247925, 0.1356087476015091, -0.6902538537979126, -0.51205974817276, -0.07855608314275742, -0.788174569606781, -0.4435807466506958, -0.32433006167411804, -0.07659809291362762, 0.2437492311000824, 0.5482954382896423, -0.6176291704177856, 0.6524651050567627, -0.03582331910729408, -0.5639154314994812, 0.6324091553688049, 0.1664382517337799, 0.15834727883338928, -0.656499445438385, -0.19971343874931335, 0.08061496168375015, -0.29227975010871887, -0.671664834022522, -0.21798859536647797, 0.1587972342967987, 0.17397207021713257, -0.16263559460639954, 0.5997721552848816, -0.3920755684375763, -0.08454955369234085, 0.08545397967100143, 0.0894724652171135, 0.06616111844778061, 0.2952229976654053, -0.22828935086727142, 0.8025111556053162, 0.14821743965148926, -0.5702688694000244, 0.3597368001937866, 0.29968082904815674, -0.04828410595655441, 0.5649126172065735, -0.5277050733566284, -0.2174273133277893, 0.0074934037402272224, 0.3265540599822998, -0.8384275436401367, -0.1530838906764984, -0.05426408722996712, -0.2591044008731842, 0.14413781464099884, 0.15433168411254883, -0.7250548601150513, -0.11083503067493439, -0.3192294239997864, -0.0028493243735283613, 0.29205265641212463, -0.3347736597061157, 0.739477276802063, 0.5490468144416809, 0.029705295339226723, -0.4980562925338745, -0.717383861541748, 0.25373247265815735, -0.1725119799375534, -0.5985002517700195, 0.38500723242759705, 0.14996939897537231, -0.7990021705627441, -0.13842500746250153, -0.6314427256584167, -0.35023534297943115, 0.17364239692687988, 0.3640928268432617, 0.3177981972694397, -0.1124376431107521, 0.349775493144989, 0.19135713577270508, -0.006817721761763096, 0.19730904698371887, 0.0322331003844738, 0.5345560908317566, -0.5502195954322815, -0.2090347707271576, -0.6372870206832886, 0.06491534411907196, 0.14854857325553894, 0.009571804665029049, 0.6301495432853699, 0.6398019194602966, -0.562687337398529, -0.42700672149658203, -0.8198030591011047, -0.5524251461029053, -0.44752418994903564, 0.3212188184261322, -0.5524137616157532, -0.7786549925804138, 0.4568752646446228, 0.012632842175662518, 0.2920060157775879, 0.18892303109169006, 0.586911678314209, -0.3244333565235138, 0.9301621317863464, 0.5718135833740234, 0.12568899989128113, 0.14815208315849304, -0.00657262047752738, 0.19377277791500092, -0.1899033933877945, -0.38712078332901, -0.6950939893722534, -0.5852038860321045, -0.5600600242614746, -0.4160696864128113, 0.5358937978744507, -0.14357727766036987, -0.359640508890152, 0.1676679402589798, -0.43362027406692505, 0.5837266445159912, 0.4389618933200836, 0.2786026895046234, 0.7139308452606201, -0.04779540002346039, -0.06372576206922531, -0.16461889445781708, -0.6021228432655334, -0.8303921222686768, 1.009814977645874, 0.11460236459970474, 1.0654277801513672, 0.12370260804891586, 0.5785431861877441, 0.5878590941429138, 0.5840596556663513, -0.5629549026489258, 0.9763239622116089, -0.08612442761659622, -0.4517447054386139, -0.5307750701904297, -0.521600604057312, -0.9357993006706238, 0.2116333693265915, -0.16722944378852844, -0.844792902469635, -0.039345573633909225, 0.3043275475502014, -0.11400774121284485, 0.3044220507144928, -0.6827560663223267, 1.1584081649780273, -0.11785674095153809, -0.2947548031806946, -0.26305583119392395, -0.7164552211761475, 0.208418607711792, 0.2109898179769516, 0.12121789157390594, -0.20191700756549835, 0.051009029150009155, 0.9294959306716919, -0.282177209854126, 0.8439274430274963, -0.23024676740169525, 0.08013270050287247, 0.13604556024074554, 0.6995663046836853, 0.44906318187713623, 0.3254149258136749, -0.026524696499109268, 0.1587287038564682, 0.12830139696598053, -0.38137441873550415, -0.7937636375427246, 0.5397591590881348, -0.5078029036521912, -0.8752251267433167, -0.19569939374923706, -1.1063923835754395, -0.6437820196151733, 0.08917642384767532, -0.36222976446151733, 0.07876433432102203, -0.12047124654054642, 0.5688312649726868, 0.5876613855361938, 0.2440786063671112, 0.24070771038532257, 0.15884537994861603, -0.15394988656044006, 0.12454234063625336, 0.39153051376342773, 0.23673951625823975, -0.07494311779737473, 0.38606271147727966, 0.12622766196727753, -0.48528674244880676, -0.40655452013015747, -0.38640162348747253, 0.04526401311159134, -0.9030693769454956, -0.6764615178108215, -0.722721517086029, 0.1935066133737564, -0.4359905421733856, -0.16338002681732178, -0.12278788536787033, -0.8688523769378662, -0.16436909139156342, -0.4098525941371918, 0.5678881406784058, 0.29963427782058716, -0.06177062913775444, 0.14724914729595184, -0.8643391728401184, 0.5405916571617126, 0.2879732549190521, 0.41794586181640625, -0.11753454804420471, -0.3845100998878479, 0.015027285553514957, -0.18333610892295837, -0.1308993101119995, -1.1247048377990723, 0.2882246971130371, 0.03935927525162697, 0.5969047546386719, 0.2741237282752991, -0.08639156073331833, 0.9090891480445862, -0.408479243516922, 0.381732702255249, -0.11438872665166855, -0.9292436242103577, 0.388462096452713, -0.18118026852607727, 0.32744768261909485, 0.3387191891670227, 0.4280150830745697, -0.3283654749393463, -0.4045514464378357, -0.39980748295783997, -0.5918542146682739, 0.31887200474739075, 0.16191484034061432, -0.12928128242492676, 0.23370462656021118, 0.2541934549808502, 0.1812203973531723, 0.19214582443237305, -1.2093472480773926, 0.01600428856909275, -0.251943439245224, -0.2006920874118805, 0.22384615242481232, -0.0015364112332463264, -0.2157527208328247, -0.6948593258857727, 0.45524874329566956, -0.12038998305797577, 0.10968758165836334, 0.03221915662288666, -0.4981287717819214, -0.23463451862335205, 0.5429971218109131, 0.344821572303772, 0.8678128719329834, -0.21966996788978577, 0.3339373767375946, 0.46154776215553284, -0.4860159456729889, 0.11661040037870407, 0.09214609116315842, -0.049606870859861374, -0.009881831705570221, 0.22368112206459045, 0.27686259150505066, -0.06049551069736481, -0.7944760918617249, 0.03611006587743759, 0.04136063903570175, 0.1309366077184677, 0.13073290884494781, 0.08236995339393616, 0.18946625292301178, 0.327119916677475, 0.3181072771549225, -0.6200073957443237, 0.22773633897304535, -0.4596911072731018, 0.617559552192688, 0.5139241218566895, 0.024438591673970222, -0.03908216208219528, 0.5444009900093079, -0.37739935517311096, -0.33599424362182617, 0.6259428858757019, -0.12120936810970306, -0.23792314529418945, 0.7187579274177551, 0.9845021367073059, 0.4787824749946594, -0.2468484491109848, 0.2872408330440521, 0.2674631178379059, 0.5303636193275452, 0.21618443727493286, 0.6659387946128845, -0.06384912133216858, -0.760954737663269, -0.024351682513952255, -0.8008126020431519, -0.4659348726272583, -0.08102287352085114, -0.3384536802768707, 0.16262027621269226, -0.6679946184158325, -0.2910144329071045, -0.11836620420217514, -0.1706228256225586, -0.6285786628723145, 0.2672809362411499, -0.2327686846256256, 0.7733324766159058, -0.7175924181938171, 0.8741891980171204, 0.5741846561431885, -0.4113073945045471, -1.186591625213623, -0.2119494527578354, 0.03771808370947838, -0.4402059018611908, 0.9385383725166321, 0.08550413697957993, -0.10648924857378006, 0.011852337047457695, -0.626522958278656, -0.4994710087776184, 0.8342989683151245, 0.4306873381137848, -0.5732051730155945, -0.04571133479475975, 0.6646595597267151, 0.6604390144348145, -0.21647079288959503, -0.1095951721072197, 0.9401605725288391, 1.010901927947998, -0.32705122232437134, -0.7218341827392578, 0.5547325611114502, -0.2216309905052185, -0.10999862849712372, 0.23455509543418884, 0.03988043591380119, 0.9065864086151123, -0.20865878462791443, -0.0019156053895130754, -0.5337638854980469, 0.7988578081130981, 0.48446089029312134, 0.2107863426208496, 0.4637851417064667, 0.7069546580314636, 0.5904565453529358, -0.2830752432346344, 0.5647836923599243, 0.178879976272583, -0.09473587572574615, 0.9850835800170898, -0.4365919828414917, 0.6956305503845215, 0.832875669002533, -0.31443917751312256, 0.6378194689750671, 0.4057338833808899, -0.2813805639743805, 0.020248670130968094, 0.41002291440963745, 0.07574720680713654, -0.4523319900035858, -0.017659854143857956, -0.10646303743124008, 0.43548232316970825, 0.4189358353614807, 0.24749648571014404, -0.8364297747612, -0.19179445505142212, 0.11545416712760925, 0.4679899215698242, -0.21144868433475494, 0.6495620608329773, 0.041174016892910004, -0.21372435986995697, 0.6752586960792542, 0.09549863636493683, 0.18334980309009552, -0.3495272397994995, -0.46085354685783386, -0.38386082649230957, 0.05631536990404129, -0.5020880699157715, -0.7326315641403198, 0.5470907092094421, 0.1731168031692505, 0.13415832817554474, -0.21161669492721558, 0.6237891316413879, -0.04406559094786644, -0.2392849326133728, -0.024189073592424393, 0.8008850812911987, 0.02131200209259987, -0.15538202226161957, -0.6574854850769043, 0.07620285451412201, -0.14088529348373413, -0.3239293694496155, 0.3447400629520416, 0.45941779017448425, -0.6390091180801392, 0.891917884349823, 0.9008205533027649, -0.07656241208314896, 0.1307772994041443, 0.3456127345561981, 1.0909690856933594, -0.7668487429618835, -0.5773512721061707, -1.0519003868103027, 0.4515477418899536, -0.08517119288444519, -0.002004872541874647, 0.7113896012306213, 0.7751396894454956, 0.6112694144248962, -0.3529650568962097, 0.07192674279212952, -0.023787658661603928, 0.19607189297676086, -0.44212931394577026, 0.9649706482887268, -0.47114861011505127, 0.295704185962677, -0.26706355810165405, -1.0436835289001465, -1.1088359355926514, 0.8366516828536987, -0.31210583448410034, -0.17578819394111633, 0.6307445764541626, 1.1790987253189087, -0.02977333404123783, -0.13131184875965118, 0.310968816280365, 0.47925445437431335, 0.5305192470550537, 0.1497601717710495, 0.5032051801681519, 0.12086363136768341, 0.49233943223953247, -0.14985902607440948, -0.1815112680196762, -0.054999127984046936, -0.9278416633605957, -0.9352326989173889, -0.6080033779144287, 0.17216633260250092, -0.25188544392585754, 0.23194196820259094, 1.2304072380065918, 0.336228609085083, -0.6899868249893188, -0.6969583630561829, -0.1766895055770874, 0.32520177960395813, -0.0830882266163826, -0.34815308451652527, 0.1942846029996872, -0.476212739944458, -0.20315837860107422, 0.2679797112941742, 0.3418198823928833, -0.07860313355922699, 0.008251745253801346, 0.24893711507320404, -0.5448535084724426, 0.22343343496322632, 0.4769356846809387, 0.08147963136434555, -0.7239315509796143, -0.15955136716365814, -0.034943271428346634, -0.2758964002132416, 0.5496434569358826, 0.6166633367538452, -0.7334436178207397, -0.01824089325964451, 0.3900526165962219, 0.6384990215301514, 0.5046136975288391, 0.18664221465587616, 0.29851505160331726, -0.6832800507545471, 0.21204249560832977, 0.687340259552002, 0.35603854060173035, 0.08632328361272812, -0.4198678433895111, 0.6263127326965332, 0.08992797881364822, -0.24322935938835144, -1.2592452764511108, 0.2962905168533325, -1.2640368938446045, -0.40938177704811096, 0.9636098742485046, 0.2086598426103592, -0.21067537367343903, -0.09530799090862274, 0.024256546050310135, 0.5313923954963684, -0.43511709570884705, 1.3048388957977295, 0.3365563154220581, -0.3648862838745117, -0.06055765599012375, -0.3904817998409271, 0.63234943151474, 0.39152991771698, -1.6442893743515015, 0.09798640012741089, 0.7729942798614502, 0.17222359776496887, -0.11241883784532547, 0.3821651041507721, -0.2539559304714203, 0.5069767832756042, -0.20815931260585785, 0.3121664822101593, -0.2958338260650635, -0.6053851246833801, 0.1968080699443817, 0.28764808177948, 0.06626732647418976, 0.344835489988327 ]
http://arxiv.org/abs/2406.17947v1
http://arxiv.org/pdf/2406.17947v1
Do they mean 'us'? Interpreting Referring Expressions in Intergroup Bias
2024-06-25T21:47:53
2024-06-25T21:47:53
Venkata S Govindarajan, Matianyu Zang, Kyle Mahowald, David Beaver, Junyi Jessy Li
cs.CL
cs.CL
The variations between in-group and out-group speech (intergroup bias) are subtle and could underlie many social phenomena like stereotype perpetuation and implicit bias. In this paper, we model the intergroup bias as a tagging task on English sports comments from forums dedicated to fandom for NFL teams. We curate a unique dataset of over 6 million game-time comments from opposing perspectives (the teams in the game), each comment grounded in a non-linguistic description of the events that precipitated these comments (live win probabilities for each team). Expert and crowd annotations justify modeling the bias through tagging of implicit and explicit referring expressions and reveal the rich, contextual understanding of language and the world required for this task. For large-scale analysis of intergroup variation, we use LLMs for automated tagging, and discover that some LLMs perform best when prompted with linguistic descriptions of the win probability at the time of the comment, rather than numerical probability. Further, large-scale tagging of comments using LLMs uncovers linear variations in the form of referent across win probabilities that distinguish in-group and out-group utterances. Code and data are available at https://github.com/venkatasg/intergroup-nfl .
[ -0.6648503541946411, -0.3856225311756134, 0.23530632257461548, 0.4435023069381714, -0.5096907019615173, 0.2633460462093353, 0.04417147487401962, -0.5724564790725708, 0.33778953552246094, 0.23283761739730835, -0.6810126900672913, -0.1151936948299408, -0.5100176334381104, 0.4345583915710449, -0.14264452457427979, 1.1515042781829834, 0.399537056684494, 0.6228042244911194, -0.22192439436912537, -0.349438339471817, 0.2804018557071686, -0.540432333946228, -0.26260024309158325, -0.6852186918258667, 0.36236175894737244, 0.020138321444392204, 0.7830100059509277, 0.4917784035205841, 0.7275012135505676, 0.20488789677619934, 0.0406879298388958, -0.03475990518927574, -0.5195859670639038, 0.09623271226882935, -0.48936372995376587, -0.3225787281990051, -0.1570947915315628, 0.4082792103290558, 0.3647178113460541, 0.7582013607025146, 0.13960422575473785, 0.3283538222312927, -0.04528554156422615, 0.451275110244751, -0.04358790069818497, 0.19975128769874573, -1.0395382642745972, 0.2388981580734253, -0.06485351920127869, -0.5448448061943054, -0.16456258296966553, -0.39882832765579224, 0.1285354197025299, -0.4025595486164093, 0.5363957285881042, 0.2151378095149994, 0.9688740968704224, 0.39906054735183716, -0.3178115785121918, -0.3505779206752777, -0.32017484307289124, 0.5843380093574524, -0.8950279951095581, 0.05700863525271416, 0.5436724424362183, 0.2457217574119568, -0.29022082686424255, -0.1859913319349289, -0.5375450253486633, -0.3757953941822052, -0.19057928025722504, 0.36572206020355225, -0.28412795066833496, 0.0319882296025753, 0.4134443998336792, 0.1523122936487198, -0.28712698817253113, 0.06650440394878387, -0.4339682161808014, -0.009245987981557846, 0.8888457417488098, 0.039858605712652206, 0.22246792912483215, 0.4166240096092224, -0.5920888185501099, 0.4590749740600586, -0.7546894550323486, -0.20018886029720306, 0.4390687644481659, 0.4251139163970947, 0.06877323240041733, 0.42004039883613586, -0.2693004608154297, 0.37352609634399414, 0.3831596076488495, 0.06294327229261398, 0.04684370383620262, -0.021231558173894882, -0.20834574103355408, -0.2405608892440796, 0.696968138217926, 1.0272122621536255, 0.516078531742096, -0.9129788279533386, -0.022446347400546074, 0.2611771821975708, -0.027577657252550125, -0.47621864080429077, -0.09929817169904709, -0.3981201648712158, -0.472205251455307, -0.10362550616264343, 0.07009688019752502, -0.7168018221855164, -0.7660499215126038, -0.1022547110915184, 0.3705213963985443, 0.06978116184473038, -0.052802674472332, -0.13587871193885803, -0.49774715304374695, 0.23010624945163727, 0.06335841864347458, -0.6993624567985535, 0.4719332158565521, 0.48058030009269714, 0.39605847001075745, 0.03642956167459488, -0.15661342442035675, -0.4145297408103943, 0.390217661857605, -0.19246338307857513, 1.0776814222335815, -0.7113093733787537, -0.6255353689193726, 0.048504214733839035, -0.18266470730304718, 0.27747851610183716, -0.8256049156188965, 0.29249751567840576, -0.5760592222213745, -0.1689864993095398, -0.6689379215240479, -0.7039947509765625, -0.09860322624444962, -0.06525011360645294, -0.544246256351471, 0.8384076952934265, -0.15922436118125916, -0.8911848068237305, 0.7289543747901917, -0.4244261384010315, -0.3689848482608795, 0.2828401029109955, -0.4552115499973297, -0.044006168842315674, 0.5069791078567505, -0.022651562467217445, 0.6384807229042053, -0.733489453792572, -0.037985660135746, -0.5323519110679626, -0.4607025980949402, 0.651159405708313, 0.12562395632266998, 0.38302135467529297, 0.13373231887817383, -0.3278755247592926, -0.18447436392307281, -0.2789698541164398, 0.030469387769699097, -0.19149096310138702, -0.2660139799118042, -0.4528036117553711, 0.21372343599796295, -0.4525132179260254, 0.47584012150764465, -0.17105425894260406, -0.3803069591522217, 0.29965952038764954, 0.10661338269710541, 0.4048556089401245, 0.8878576159477234, 0.03242478519678116, 0.7930631637573242, -0.20735988020896912, 0.7360436916351318, 0.45633429288864136, 0.13441018760204315, 0.05699290335178375, -0.3992452323436737, -0.35775259137153625, 0.10321318358182907, -0.0780215933918953, 0.29262298345565796, -0.7832944393157959, 0.16875964403152466, -0.201666459441185, -0.29990455508232117, -0.14741110801696777, -0.16384479403495789, 0.3575090765953064, 0.5876522064208984, 0.18011340498924255, -0.11770744621753693, -0.43474841117858887, -1.2968729734420776, -0.6937763690948486, -0.45418474078178406, 0.06721031665802002, 0.3749712407588959, 0.35090285539627075, -0.01861916109919548, 0.9319512248039246, -0.2563256323337555, -0.4636023938655853, -0.10893376916646957, 0.21369343996047974, 0.2280581295490265, -0.08567453920841217, 0.40914827585220337, -0.7889849543571472, -0.9553090333938599, -0.11399579793214798, -0.6724444627761841, -0.6986905932426453, -0.08037695288658142, -0.03930088132619858, -0.07825767993927002, 0.7723180651664734, -0.2117338329553604, 0.4627947509288788, 0.610206127166748, -0.5810255408287048, 0.2801986038684845, 0.5594263672828674, -0.04094626009464264, -0.6852660179138184, -0.5038273334503174, 0.47478410601615906, -0.089657261967659, -0.2948278784751892, -0.08313910663127899, -0.4428074061870575, 0.728415310382843, -0.14553293585777283, 0.3968021273612976, -0.771991491317749, -0.2495449036359787, 0.015285208821296692, 0.15387265384197235, -0.11100384593009949, 0.3691582679748535, -0.11061754077672958, 0.9380630850791931, 0.455905944108963, -0.7200434803962708, 0.14275570213794708, -0.2265917956829071, -0.21377027034759521, 0.6593165993690491, -0.2357696294784546, 0.2903428375720978, -0.29713353514671326, 0.47878298163414, -1.087697982788086, -0.26015880703926086, 0.41377532482147217, -0.46377983689308167, 0.0356484018266201, -0.08544155955314636, -0.4151872992515564, -0.23876075446605682, -0.1607377678155899, 0.3323671519756317, 0.20392858982086182, -0.33198708295822144, 0.4374673068523407, 1.030954360961914, 0.004557069391012192, -0.5895100831985474, -0.7873305678367615, -0.008118070662021637, -0.5426002740859985, -0.28696104884147644, 0.16091614961624146, -0.3611176311969757, -0.8895912170410156, 0.12490350008010864, -0.41722166538238525, -0.7059813737869263, -0.21811401844024658, 0.19051305949687958, -0.14396853744983673, -0.06978936493396759, 0.2866155803203583, -0.26536598801612854, 0.1964295357465744, 0.15965527296066284, -0.03221217542886734, 0.19785600900650024, -0.0737333744764328, 0.13090865314006805, -0.1647481471300125, 0.8010478615760803, 0.018653854727745056, 0.3471941351890564, 0.35441067814826965, 0.16108670830726624, 0.025431662797927856, -0.4641610383987427, -0.5428777933120728, -0.5694355964660645, -0.37049391865730286, 0.576172411441803, -0.4687928855419159, -0.8872290849685669, 0.6501617431640625, -0.04436477646231651, 0.15697285532951355, 0.3596791625022888, 0.32842087745666504, -0.6634271740913391, 1.0211957693099976, 0.3742336928844452, -0.010475832968950272, 0.034529197961091995, 0.12955515086650848, -0.14864185452461243, -0.6737682223320007, -0.03006013110280037, -0.5234581828117371, -0.6186574697494507, -0.3608418107032776, -0.6209261417388916, 0.22465549409389496, 0.09925932437181473, 0.026189159601926804, 0.023939456790685654, -0.441608726978302, 0.9105890393257141, 0.2883513271808624, -0.12102383375167847, 0.16840827465057373, -0.16332396864891052, 0.02262977696955204, -0.5912937521934509, -0.5595844984054565, -0.2476361095905304, 0.8386151790618896, 0.2785061001777649, 0.9535489678382874, 0.33791929483413696, 0.6261823773384094, 0.7595124244689941, 1.0882768630981445, -0.8185970783233643, 0.8743942975997925, -0.18634986877441406, -0.8789837956428528, -0.0309893861413002, -0.31069210171699524, -0.6368885040283203, 0.4520958960056305, -0.05993232876062393, -0.5905874967575073, -0.09676281362771988, 0.3623077869415283, -0.08038711547851562, 0.35665562748908997, -0.3020094335079193, 0.09873628616333008, 0.01309351995587349, -0.35509422421455383, 0.07655420899391174, -0.7354767322540283, 0.4579041004180908, 0.04458387568593025, 0.4553753435611725, -0.4827768802642822, -0.3340640366077423, 0.8001565933227539, -0.33207961916923523, 0.957389235496521, -0.09276984632015228, -0.32502931356430054, 0.4611695408821106, -0.12318664789199829, 0.293243408203125, -0.06314048916101456, -0.189960777759552, 0.5292791724205017, -0.37025725841522217, -0.12713272869586945, -0.45617035031318665, 0.4417997896671295, -0.3674134910106659, -0.5812021493911743, -0.5993614196777344, -0.5903297662734985, -0.4407287538051605, -0.25473275780677795, 0.6308978796005249, 0.1258373111486435, -0.38687804341316223, 0.000607077032327652, 0.5112276673316956, 0.008914081379771233, 0.5627214312553406, 0.7649583220481873, -0.24112185835838318, -0.2969920039176941, 0.2733936905860901, 0.29704421758651733, 0.05735374614596367, 0.3732181787490845, 0.07131515443325043, -0.6239889860153198, -0.2496519535779953, -0.2150442898273468, 0.5755099654197693, -0.905778706073761, -0.2550196051597595, -0.15547819435596466, 0.3865484893321991, -0.32710617780685425, 0.20836886763572693, 0.128741055727005, -0.3876653015613556, 0.08399082720279694, -0.1834437996149063, 0.037930600345134735, 1.0165983438491821, -0.2872329652309418, 0.6548115015029907, -0.6502545475959778, 0.058050934225320816, 0.1838710755109787, 0.4012957513332367, -0.46648669242858887, -0.6588951945304871, -0.5552340745925903, -0.32774895429611206, 0.07957044988870621, -1.4294672012329102, 0.13709867000579834, 0.28464367985725403, 0.6967844367027283, 0.2777145504951477, -0.044704120606184006, 0.5144788026809692, -0.596785843372345, 0.830956757068634, 0.26655375957489014, -0.7735457420349121, -0.18822364509105682, -0.5178865194320679, 0.1200389489531517, 0.49569904804229736, 0.3056972920894623, -0.46456995606422424, -0.3205982446670532, -0.6149173974990845, -0.5367329716682434, 0.6983599066734314, -0.39383283257484436, 0.20558185875415802, -0.47422319650650024, 0.6005290746688843, 0.1441534161567688, 0.4266740679740906, -0.9577094912528992, -0.6277235746383667, 0.1391659826040268, 0.21290352940559387, -0.0838085487484932, -0.3679196834564209, -0.5332309007644653, -0.03747908025979996, 0.7222773432731628, -0.3723401427268982, 0.25996583700180054, 0.0763128399848938, -0.07037913054227829, -0.3614169657230377, 0.1144760400056839, 0.6416329145431519, 0.8523546457290649, 0.053622156381607056, 0.246053546667099, 0.2162993848323822, -0.3815896213054657, 0.041483912616968155, -0.02170875109732151, -0.14489009976387024, 0.46017947793006897, 0.13982617855072021, 0.3173084259033203, 0.09027890861034393, -0.3448232412338257, 0.3518297076225281, -0.19490547478199005, -0.1573343276977539, -0.029913101345300674, -0.3380245864391327, 0.09669838845729828, 0.15079951286315918, 0.7153930068016052, 0.08226320147514343, 0.3013727068901062, -0.54190593957901, 0.26312345266342163, 0.6690821051597595, -0.7847360372543335, -0.6543968319892883, 0.8550223112106323, 0.4641246199607849, 0.049620889127254486, -0.05341805890202522, -0.2841856777667999, -0.6690651178359985, 0.5557876229286194, 0.5184476375579834, 1.1087417602539062, -0.2901791036128998, 0.2702307105064392, 0.033366601914167404, 0.3856050968170166, 0.3201754689216614, 0.2631673812866211, -0.10868832468986511, -0.9475725293159485, -0.39954569935798645, -0.5661691427230835, -0.23058845102787018, 0.09523706138134003, -0.7539031505584717, -0.27109581232070923, -0.4922017455101013, -0.6283552050590515, 0.12637333571910858, -0.39323869347572327, -0.6272707581520081, 0.5011228322982788, 0.37423866987228394, 0.9384702444076538, -1.024096131324768, 0.7096655368804932, 1.1781331300735474, -0.5109654068946838, -0.6906217336654663, 0.6129264235496521, 0.038984525948762894, -0.7678602337837219, 1.0988116264343262, 0.007291191723197699, -0.17826658487319946, -0.15996041893959045, -0.8454185724258423, -0.548114001750946, 0.30760252475738525, 0.29044657945632935, -0.2770049273967743, -0.034003835171461105, 0.398030549287796, 0.369184285402298, -0.41570135951042175, 0.2308071106672287, 0.463927686214447, 0.1783251315355301, 0.1282079517841339, -1.0000362396240234, -0.0941728949546814, -0.10072393715381622, -0.2119274139404297, 0.15847215056419373, -1.1119481325149536, 0.9381330609321594, 0.031309813261032104, 0.04111141711473465, -0.3809853792190552, 0.8389164805412292, -0.1349899172782898, 0.19067856669425964, 0.711178719997406, 0.16163596510887146, 0.5207694172859192, -0.269387811422348, 0.8221389651298523, -0.07441282272338867, 0.10042501240968704, 1.1510802507400513, -0.34449705481529236, 0.35631877183914185, 0.774890124797821, -0.4991891086101532, 0.1885754019021988, 0.4793670177459717, 0.27160319685935974, 0.42041003704071045, 0.598384439945221, -0.6400502920150757, -0.3158413767814636, -0.23318690061569214, -0.31073451042175293, 0.4573271572589874, 0.5606730580329895, -0.47103971242904663, -0.4797118902206421, -0.5867748856544495, 0.4657837152481079, 0.3784886300563812, -0.48075658082962036, 0.8451858162879944, 0.21316726505756378, -1.0122120380401611, 0.07958836108446121, -0.26686134934425354, 0.8446802496910095, -0.6584088206291199, -0.21518056094646454, -0.5057365894317627, 0.16925351321697235, -0.2811855375766754, -0.7440000176429749, 0.140884131193161, -0.10950928926467896, -0.373080849647522, 0.04787301644682884, 0.2781135141849518, -0.3946860730648041, -0.07639306783676147, 0.3670339584350586, 0.2406178116798401, 0.7019780278205872, -0.0002084962179651484, -0.8700222373008728, 0.14222927391529083, 0.27106794714927673, -0.21166811883449554, 0.43166834115982056, 0.4252763092517853, -0.20422059297561646, 0.42756515741348267, 0.23947980999946594, 0.15982531011104584, 0.6498582363128662, 0.22464749217033386, 0.8837292790412903, -0.5635406970977783, -0.30234894156455994, -1.1061347723007202, 0.4290250837802887, -0.24994929134845734, -0.41976144909858704, 0.9786372780799866, 0.5535219311714172, 0.621566116809845, -0.2048938274383545, 1.1616264581680298, -0.03032068721950054, 0.7936645150184631, -0.08052397519350052, 0.4866665005683899, -0.410330593585968, 0.09470383077859879, -0.25278720259666443, -0.9549707770347595, -0.4368955194950104, 0.528619647026062, -0.07480187714099884, -0.11063585430383682, 0.3138900101184845, 0.5941910147666931, 0.25371894240379333, 0.05530459061264992, 0.43904244899749756, 0.48633623123168945, 0.22131691873073578, 0.16019868850708008, 1.0817935466766357, 0.056484155356884, 0.5280051827430725, -0.12802357971668243, -0.45229050517082214, -0.04429256543517113, -1.0642306804656982, -0.9890550971031189, -0.4286121428012848, -0.4672883152961731, -0.5252914428710938, 0.06401413679122925, 0.8749361038208008, 0.6026805639266968, -0.4906560182571411, -0.3172872066497803, 0.3048437833786011, -0.2984144389629364, -0.20657925307750702, -0.2937880754470825, -0.14355877041816711, -0.3883576989173889, -1.048844814300537, 0.38553386926651, 0.17092815041542053, -0.3197396993637085, -0.29343122243881226, 0.11970584094524384, -0.12593674659729004, 0.4880183935165405, 0.3700683116912842, 0.4929712414741516, -0.8333857655525208, -0.31971269845962524, -0.061140965670347214, -0.013732378371059895, -0.016731826588511467, 0.46827685832977295, -0.6960899233818054, 0.3661835789680481, 0.15810133516788483, 0.21669842302799225, 0.1313590556383133, 0.455035537481308, 0.6733173727989197, -0.8967938423156738, 0.4426242709159851, 0.3832913339138031, 0.20027154684066772, 0.31080618500709534, -0.19037483632564545, 0.9048218727111816, 0.45637863874435425, -0.6560547351837158, -0.9180389642715454, 0.3603096306324005, -0.6662167906761169, 0.004539763554930687, 1.2681257724761963, -0.2614043354988098, 0.15141256153583527, -0.08014529198408127, -0.030913246795535088, 0.16837988793849945, -0.3250235617160797, 0.8276364803314209, 0.8133037686347961, -0.5249292254447937, 0.2098817378282547, -0.44123315811157227, 0.8992594480514526, 0.20744548738002777, -0.43242982029914856, -0.22485537827014923, 0.6128624081611633, 0.34781962633132935, 0.04652858152985573, 1.0189772844314575, 0.1488710641860962, 0.1344745010137558, 0.057604335248470306, 0.008753347210586071, 0.46010515093803406, 0.07353149354457855, -0.13336215913295746, -0.07317053526639938, -0.17460384964942932, -0.33109137415885925 ]
http://arxiv.org/abs/2406.17935v1
http://arxiv.org/pdf/2406.17935v1
Sequential Editing for Lifelong Training of Speech Recognition Models
2024-06-25T20:52:09
2024-06-25T20:52:09
Devang Kulshreshtha, Saket Dingliwal, Brady Houston, Nikolaos Pappas, Srikanth Ronanki
cs.CL
cs.CL, cs.SD, eess.AS
Automatic Speech Recognition (ASR) traditionally assumes known domains, but adding data from a new domain raises concerns about computational inefficiencies linked to retraining models on both existing and new domains. Fine-tuning solely on new domain risks Catastrophic Forgetting (CF). To address this, Lifelong Learning (LLL) algorithms have been proposed for ASR. Prior research has explored techniques such as Elastic Weight Consolidation, Knowledge Distillation, and Replay, all of which necessitate either additional parameters or access to prior domain data. We propose Sequential Model Editing as a novel method to continually learn new domains in ASR systems. Different than previous methods, our approach does not necessitate access to prior datasets or the introduction of extra parameters. Our study demonstrates up to 15% Word Error Rate Reduction (WERR) over fine-tuning baseline, and superior efficiency over other LLL techniques on CommonVoice English multi-accent dataset.
[ -0.11913615465164185, -0.6347224712371826, 0.2843112051486969, 0.03864884376525879, -0.25069117546081543, 0.25936174392700195, -0.32004314661026, -0.39085623621940613, -0.3003827929496765, 0.5132002234458923, -0.5588699579238892, -0.24887126684188843, -0.5818029642105103, 0.1442536562681198, -0.22931580245494843, 0.7705997228622437, -0.18323653936386108, 0.21529777348041534, -0.08384755253791809, -0.45342206954956055, -0.8370953798294067, -0.6601012945175171, -1.2621347904205322, -0.46039408445358276, 0.5429600477218628, 0.3988690972328186, 0.3667953610420227, 0.5124136209487915, 0.260375052690506, 0.3712499141693115, -0.13481725752353668, 0.4015733003616333, -0.41537296772003174, 0.2218339592218399, -0.2757055163383484, -0.18559131026268005, -0.5555989742279053, -0.22629527747631073, 1.1353510618209839, 0.984636127948761, -0.1652550995349884, -0.023388853296637535, 0.08811195194721222, 0.7498024702072144, -0.410532683134079, -0.2405036985874176, -0.9496607780456543, 0.03929849714040756, -0.20241904258728027, -0.4163345396518707, -0.4967403709888458, -0.25871118903160095, 0.2188444584608078, -0.5582572817802429, 0.33705833554267883, -0.16915209591388702, 0.5407102704048157, 0.5656108260154724, -0.18618173897266388, -0.20578999817371368, -0.994269073009491, 0.6224253177642822, -0.6345745921134949, 0.6566071510314941, 0.2185743898153305, 0.1034025326371193, -0.13118386268615723, -0.7681261897087097, -0.6412250399589539, -0.14141947031021118, 0.30846333503723145, -0.24555785953998566, -0.11566454917192459, 0.04120005667209625, 0.383378267288208, 0.06067367643117905, -0.42133185267448425, 0.170212060213089, -0.4297949969768524, -0.2569807767868042, 0.7730491757392883, 0.18480384349822998, 0.1777355670928955, 0.4302320182323456, -0.06754958629608154, 0.23491889238357544, -0.7722201347351074, -0.04958260431885719, 0.10656558722257614, 0.32316628098487854, 0.2544945776462555, 0.4121387004852295, -0.021400436758995056, 0.8040211796760559, 0.34071066975593567, -0.11877278983592987, 0.27617865800857544, -0.03232070431113243, -0.18288548290729523, 0.09967437386512756, 0.45750880241394043, 0.1367226392030716, 0.5314494371414185, -0.18113982677459717, -0.3603358864784241, 0.049281492829322815, 0.3978899419307709, -0.3939146101474762, -0.3211424648761749, 0.1688641607761383, -0.19401328265666962, 0.07097555696964264, -0.3149009048938751, -0.09935584664344788, -0.27192825078964233, -0.652906596660614, 0.6284343600273132, -0.5549848079681396, 0.18111705780029297, 0.2874454855918884, -0.06288719177246094, -0.30854687094688416, 0.5957993268966675, -0.6815776228904724, 0.45939603447914124, 0.5364176034927368, 0.8224241733551025, -0.287810355424881, -0.7014416456222534, -0.7804391980171204, 0.158549502491951, -0.2722979485988617, 0.7872875332832336, -0.4226020872592926, -0.7982964515686035, -0.21004381775856018, 0.04012676700949669, -0.1877606213092804, -0.687116801738739, 0.3390809893608093, -0.7608354091644287, -0.23916850984096527, 0.042810048907995224, -0.9214985370635986, -0.015912199392914772, -0.37050554156303406, -0.4962592124938965, 0.8076222538948059, -0.2276928424835205, -0.32678595185279846, 0.5449917316436768, -0.5085684657096863, -0.6859146356582642, -0.025516226887702942, 0.10903438180685043, -0.7044791579246521, 0.08564332872629166, 0.19871334731578827, 0.39433321356773376, 0.309495210647583, 0.49007391929626465, -0.061464421451091766, -0.26521268486976624, 0.23803095519542694, -0.27468714118003845, 0.3556756377220154, 0.08749421685934067, -0.15882845222949982, 0.07607676833868027, -1.007360577583313, -0.1387936770915985, -0.16966554522514343, -0.45173174142837524, -0.43262025713920593, 0.14208853244781494, -0.02954752743244171, 0.07763435691595078, 0.30968132615089417, -0.4902176856994629, 0.35306140780448914, -0.2617066204547882, 0.46705523133277893, 0.8672757148742676, 0.4372220039367676, 0.3463570475578308, -0.6981236934661865, 0.2604404389858246, 0.03328940272331238, 0.004225882701575756, -0.22826606035232544, -0.40776652097702026, -0.9713686108589172, -0.0354575589299202, 0.27879849076271057, 0.5657806992530823, -0.5480921268463135, 0.45988786220550537, -0.4367140531539917, -0.36233511567115784, -0.38275086879730225, 0.3076825439929962, 0.37407171726226807, 0.6097686886787415, 0.473336398601532, -0.5466253161430359, -0.8141327500343323, -0.41524428129196167, -0.36320802569389343, 0.16993659734725952, -0.06118697673082352, 0.345556378364563, 0.5481219291687012, -0.3483947813510895, 1.0227351188659668, -0.3607921302318573, -0.38149163126945496, 0.11841538548469543, 0.37955498695373535, -0.024890214204788208, 0.7627171277999878, -0.006907873786985874, -0.6457191109657288, -0.6341493725776672, -0.1509278565645218, -0.5909141302108765, 0.06872797757387161, -0.6639460921287537, 0.17294281721115112, 0.3562556207180023, 0.48119693994522095, -0.4890674650669098, 0.39369893074035645, 0.10905534774065018, 0.047704875469207764, 0.5014825463294983, -0.49292343854904175, 0.09128323942422867, -0.5635223984718323, 0.0703398585319519, -0.19400432705879211, -0.2659492790699005, -0.8901517391204834, -0.28863900899887085, 0.09497033059597015, -0.12729837000370026, -0.46008753776550293, 0.7305492162704468, -0.5691291689872742, 0.05248361453413963, -0.276040256023407, -0.04124743491411209, -0.1560659557580948, 0.4548811912536621, 0.32273879647254944, 0.9013137221336365, 0.46651652455329895, -0.8486829996109009, 0.08909398317337036, 0.620319128036499, -0.22198593616485596, 0.3797285854816437, -0.6689732670783997, 0.6206888556480408, -0.11042613536119461, 0.40173935890197754, -0.6548197269439697, 0.006228048354387283, -0.07824889570474625, -0.5695964097976685, 0.485078364610672, -0.1950676292181015, -0.2291884571313858, -0.3457958996295929, 0.024750782176852226, 0.19011223316192627, 0.4587927460670471, -0.5559077262878418, 0.4766898453235626, 0.48608091473579407, -0.4936627447605133, -0.5096113681793213, -0.5555875897407532, 0.2257324904203415, -0.13919425010681152, -0.4786815643310547, 0.5487228631973267, -0.2903060019016266, 0.07823920994997025, -0.09862201660871506, -0.27810508012771606, -0.26409220695495605, 0.05115893483161926, 0.24297183752059937, 0.1152895912528038, -0.04654541239142418, 0.14642620086669922, 0.07866130024194717, -0.21261505782604218, -0.29835963249206543, -0.48077189922332764, 0.26357659697532654, 0.3043167293071747, -0.15785591304302216, -0.9190677404403687, 0.4075216054916382, 0.5686578750610352, -0.19062930345535278, 0.40192651748657227, 0.2834535539150238, -0.5361471772193909, -0.3594088852405548, -0.7815185189247131, 0.033069055527448654, -0.4907206594944, 0.233682781457901, -0.36800411343574524, -1.0075443983078003, 0.4931981563568115, -0.21025247871875763, 0.2315259426832199, 0.28059253096580505, 0.3258793354034424, -0.1648518592119217, 0.5540143847465515, 0.6462705731391907, -0.22553487122058868, 0.5745334625244141, -0.20967808365821838, -0.1593044251203537, -0.9181742072105408, 0.003924810793250799, -0.3174192011356354, -0.20241135358810425, -0.048899002373218536, -0.4317099153995514, 0.41768571734428406, -0.05999334529042244, -0.34052398800849915, 0.17516987025737762, -0.4155785143375397, 0.534241259098053, 0.4759630262851715, 0.3481537699699402, 0.36680716276168823, 0.0056054494343698025, 0.0788164734840393, -0.11095812916755676, -0.5863204002380371, -0.28167229890823364, 1.3127516508102417, 0.2151305228471756, 0.6790072917938232, -0.09466692060232162, 0.798167884349823, 0.5459998250007629, 0.1438806653022766, -0.5735868811607361, 0.3348523676395416, -0.4736112356185913, -0.15818506479263306, -0.5735912919044495, -0.23261402547359467, -0.7723626494407654, -0.10205654799938202, -0.05670224502682686, -0.48539525270462036, 0.28454139828681946, 0.7624791264533997, -0.8862668871879578, 0.22085025906562805, -0.3576582372188568, 0.4197652041912079, -0.07821626961231232, -0.46879255771636963, -0.3432498872280121, -0.7185817956924438, 0.1012890636920929, -0.4725695252418518, 0.1622789055109024, 0.09563283622264862, 0.008447286672890186, 0.7883317470550537, -0.6396629214286804, 0.8728315830230713, -0.5084440112113953, 0.13225539028644562, 0.23047983646392822, -0.1630614846944809, 0.7722910642623901, -0.0023616869002580643, -0.1664152592420578, 0.12201793491840363, -0.24413613975048065, 0.05088650435209274, -0.6046504378318787, 0.45903444290161133, -0.664150595664978, -0.3881608545780182, -0.37208738923072815, -0.3486926257610321, -0.5425221920013428, 0.10065867006778717, 0.21822604537010193, 0.7156344652175903, -0.22732089459896088, 0.011576465331017971, 0.9243587255477905, -0.21567268669605255, 0.16780917346477509, 0.6558468341827393, 0.3307839632034302, -0.49636536836624146, 0.8837161064147949, 0.3483187258243561, 0.37222960591316223, 0.2575348913669586, 0.12831610441207886, -0.18710246682167053, -0.9987359642982483, -0.3202090263366699, 0.15949206054210663, -0.6169811487197876, -0.0686054527759552, -0.9587695002555847, -0.3551492989063263, -0.48436808586120605, -0.4355173707008362, -0.3698457181453705, -0.5422107577323914, -0.5350173711776733, 0.26151931285858154, 0.5176889896392822, 0.5846555829048157, -0.32653263211250305, 0.5977779626846313, -0.9687110781669617, 0.6753243207931519, 0.42316535115242004, 0.30565759539604187, -0.024819539859890938, -1.0318924188613892, -0.3339770436286926, 0.003076948458328843, -0.11229904741048813, -0.3994932770729065, 0.528519332408905, 0.9910100102424622, 0.44797706604003906, -0.025215469300746918, -0.2274751514196396, 1.1631754636764526, -1.371273398399353, 0.7500903606414795, -0.12149564176797867, -1.0899425745010376, 0.6103361248970032, -0.27730152010917664, 0.5880154371261597, 0.7753944396972656, 0.4653284549713135, -0.853243350982666, -0.22551116347312927, -0.5228067636489868, -0.7745558619499207, 0.4778473675251007, -0.41069960594177246, 0.1499326080083847, 0.20976094901561737, 0.677407443523407, 0.22648410499095917, 0.23153237998485565, -0.2782362103462219, -0.3657073676586151, 0.07431871443986893, 0.04499400034546852, -0.28888648748397827, -0.39908531308174133, 0.17187409102916718, -0.6048104166984558, 0.9511458277702332, 0.046728264540433884, 0.12357436120510101, 0.18764039874076843, -0.41276636719703674, -0.21675850450992584, 0.04672974348068237, 0.7949842810630798, 0.6424375772476196, -0.15554557740688324, -0.27520278096199036, 0.4444313049316406, -0.5998865962028503, 0.2889951765537262, -0.04127674177289009, -0.12571799755096436, 0.05985182523727417, 0.24738574028015137, 0.9920410513877869, 0.6310668587684631, -0.48808199167251587, 0.12654626369476318, -0.02818167768418789, -0.2896144688129425, -0.7408796548843384, 0.2175637185573578, -0.13357728719711304, 0.033760733902454376, 0.33438700437545776, 0.6199637055397034, 0.16123229265213013, -0.24050603806972504, 0.7954068183898926, 0.0688367486000061, -0.07620017975568771, -0.20585986971855164, 0.7437161207199097, 0.2391495555639267, -0.45282891392707825, 0.7013413906097412, 0.07014619559049606, -0.49577951431274414, 0.2553889751434326, 0.3050924241542816, 0.8899623155593872, -0.5943527221679688, -0.16099144518375397, 0.47346511483192444, -0.08914230018854141, -0.379771888256073, 0.13214218616485596, -0.06492861360311508, -0.844376266002655, -0.36124175786972046, -0.5745993852615356, -0.6969261765480042, 0.07786604762077332, -0.6212971806526184, 0.2654695510864258, -0.6385366320610046, -0.09443849325180054, 0.2518862783908844, -0.1821002960205078, -0.5422146916389465, 0.4295605719089508, 0.25916674733161926, 0.7844859957695007, -0.5234040021896362, 1.2424404621124268, 0.2578863203525543, -0.09834165126085281, -0.5613322257995605, -0.1534837782382965, 0.3419472575187683, -0.6232444643974304, 0.714746356010437, -0.06742428988218307, -0.328683078289032, 0.3335593044757843, -0.33995383977890015, -0.9941508769989014, 0.919106662273407, 0.07389818131923676, -0.8873296976089478, -0.21596059203147888, -0.04786790534853935, 0.36066940426826477, -0.2565433382987976, -0.3688925504684448, 0.734532356262207, 0.13690805435180664, 0.2499314844608307, -1.0545248985290527, -0.4129387438297272, -0.24374450743198395, -0.022730020806193352, -0.051979910582304, -0.3908129930496216, 0.8317291140556335, -0.3920969069004059, -0.3234938383102417, 0.19170422852039337, 0.6622529029846191, 0.08949213474988937, 0.19779610633850098, 0.5897998809814453, 0.3788309395313263, 1.0438388586044312, 0.17275775969028473, 0.5771062970161438, -0.3041427731513977, 0.19667698442935944, 1.7685011625289917, -0.6228122115135193, 1.0432029962539673, 0.266092985868454, -0.1385614573955536, 0.24360805749893188, 0.5972300171852112, -0.06560682505369186, 0.5032359957695007, 0.23163123428821564, -0.5277640223503113, -0.20253124833106995, 0.26097428798675537, -0.19971904158592224, 0.4234856367111206, 0.3981788158416748, -0.026799006387591362, 0.23232857882976532, 0.35420095920562744, 0.043070368468761444, 0.08010360598564148, -0.2420950084924698, 0.8878758549690247, 0.14391082525253296, -0.48231226205825806, 0.7951295375823975, -0.20102344453334808, 0.8696085810661316, -0.7648376226425171, -0.0265080314129591, -0.14175929129123688, 0.2951242923736572, -0.09512021392583847, -0.2959771752357483, 0.508532702922821, 0.2592853903770447, -0.22964446246623993, -0.48293769359588623, 0.4453740119934082, -0.5592048764228821, -0.443911075592041, -0.05544336140155792, 0.06749691069126129, -0.021948253735899925, -0.025783894583582878, -0.7265860438346863, 0.25414109230041504, 0.0008226709323935211, -0.0601167157292366, 0.08015622943639755, 0.21881039440631866, 0.049544934183359146, 0.8458192348480225, 0.7764267325401306, 0.3947950303554535, 0.21413646638393402, 0.14847218990325928, 0.8740947246551514, -0.6111339330673218, -0.6288666129112244, -0.5296090245246887, 0.8645880222320557, 0.042561646550893784, -0.2988075315952301, 0.5070691704750061, 0.3752776086330414, 0.9449868202209473, -0.1452833116054535, 1.0360419750213623, 0.25493916869163513, 0.8178936839103699, -0.7943491339683533, 0.9051252007484436, -0.5191949009895325, 0.17856377363204956, -0.23873722553253174, -0.3841992914676666, -0.6729897260665894, 0.5944311022758484, -0.16498732566833496, -0.08805838972330093, 0.6852051019668579, 0.708176851272583, 0.19856533408164978, 0.03839588165283203, 0.40068289637565613, 0.2806234061717987, 0.22608718276023865, 0.5570792555809021, 0.6401734948158264, -0.48280373215675354, -0.11288638412952423, -0.3232386112213135, -0.13309183716773987, 0.015101593919098377, -0.6993266344070435, -0.7230778336524963, -0.7788777351379395, -0.6664734482765198, 0.08918007463216782, 0.5900094509124756, 1.0206769704818726, 0.640359103679657, -0.95644211769104, -0.24127498269081116, 0.0967981293797493, -0.21108511090278625, -0.2268144190311432, -0.051533859223127365, 0.327706903219223, -0.45277464389801025, -0.601538360118866, 0.8071265816688538, 0.14443057775497437, 0.05943910777568817, 0.13626918196678162, -0.12096598744392395, -0.2924937903881073, -0.029565628618001938, 0.4883902668952942, 0.6250230669975281, -0.6515250205993652, -0.600730299949646, -0.3033652901649475, 0.32188573479652405, 0.23266850411891937, 0.905175507068634, -0.8016883134841919, 0.6701947450637817, -0.014731960371136665, 0.8136690258979797, 0.35851532220840454, 0.0046095820143818855, 0.6739744544029236, -0.7153407335281372, 0.15602457523345947, 0.2947104275226593, 0.3298245668411255, 0.5051421523094177, -0.4776686728000641, 0.23101499676704407, 0.3569541573524475, -0.831898033618927, -0.7679218053817749, -0.08616022020578384, -0.8385531306266785, 0.0874161496758461, 0.8474488854408264, -0.18904738128185272, 0.06821639090776443, -0.3691745400428772, -0.17366676032543182, 0.29978349804878235, -0.2911205589771271, 0.5190942883491516, 0.34863752126693726, -0.2806355059146881, -0.13118751347064972, -0.44113868474960327, 0.7430076003074646, 0.1625414788722992, -0.5463140606880188, 0.3587598502635956, 0.7878942489624023, 0.5538093447685242, -0.2474036067724228, 0.9953800439834595, 0.09024734050035477, 0.522153913974762, 0.019093424081802368, 0.21752873063087463, -0.1522887796163559, -0.7487714290618896, -0.8423406481742859, -0.11923705041408539, 0.2224753201007843, -0.0975353941321373 ]
http://arxiv.org/abs/2406.17926v1
http://arxiv.org/pdf/2406.17926v1
FASA: a Flexible and Automatic Speech Aligner for Extracting High-quality Aligned Children Speech Data
2024-06-25T20:37:16
2024-06-25T20:37:16
Dancheng Liu, Jinjun Xiong
cs.CL
cs.CL, cs.SD, eess.AS
Automatic Speech Recognition (ASR) for adults' speeches has made significant progress by employing deep neural network (DNN) models recently, but improvement in children's speech is still unsatisfactory due to children's speech's distinct characteristics. DNN models pre-trained on adult data often struggle in generalizing children's speeches with fine tuning because of the lack of high-quality aligned children's speeches. When generating datasets, human annotations are not scalable, and existing forced-alignment tools are not usable as they make impractical assumptions about the quality of the input transcriptions. To address these challenges, we propose a new forced-alignment tool, FASA, as a flexible and automatic speech aligner to extract high-quality aligned children's speech data from many of the existing noisy children's speech data. We demonstrate its usage on the CHILDES dataset and show that FASA can improve data quality by 13.6$\times$ over human annotations.
[ -0.24896349012851715, -0.3173534572124481, -0.298299103975296, 0.031972192227840424, -0.3536103069782257, 0.1343701034784317, -0.006221413612365723, -0.19814138114452362, 0.17517542839050293, 0.2187514305114746, -0.626287043094635, -0.10316711664199829, -0.6939585208892822, 0.07343769818544388, -0.6156628131866455, 0.6926771998405457, -0.1194186881184578, -0.0157775841653347, -0.08538666367530823, -0.07569205015897751, -0.27751773595809937, -0.0936608836054802, -0.8717725276947021, -0.18396219611167908, 0.4278724193572998, 0.6847250461578369, 1.0656481981277466, 1.0926494598388672, 0.3767993152141571, 0.2757752239704132, -0.042978495359420776, 0.30435335636138916, -0.11993952095508575, 0.4579693078994751, -0.24987168610095978, 0.16759608685970306, -0.825506329536438, 0.004318730905652046, 0.8347339630126953, 0.8091012239456177, -0.3578324317932129, 0.1340402066707611, 0.2525468170642853, 0.8762646913528442, -0.43761610984802246, 0.014150377362966537, -0.5472214818000793, -0.01825004443526268, -0.3669920861721039, 0.40431877970695496, 0.02079307660460472, -0.40907540917396545, 0.3713965117931366, -0.6062411665916443, 0.1605348438024521, -0.33704325556755066, 1.232329249382019, 0.7116451859474182, -0.3389356732368469, -0.363938570022583, -0.6219931840896606, 0.5735068917274475, -0.5269284248352051, 0.6700795888900757, 0.4718952476978302, 0.4391533136367798, -0.24699532985687256, -0.5252812504768372, -0.7632271647453308, 0.08706957846879959, 0.025266049429774284, -0.26095226407051086, -0.39640992879867554, -0.21900470554828644, 0.02342034876346588, 0.4618116021156311, -0.6828542351722717, 0.25245124101638794, -0.191557377576828, -0.3263227343559265, 1.0581114292144775, 0.2294989377260208, 0.37926608324050903, 0.1489224135875702, -0.18141208589076996, -0.18485771119594574, -0.5421236157417297, 0.09378664940595627, 0.32461321353912354, 0.6236073970794678, -0.001290116342715919, 0.4354214072227478, -0.385549932718277, 0.8822524547576904, 0.3340490162372589, -0.2278345823287964, 0.4237842857837677, -0.06427998840808868, -0.3806827962398529, 0.23260127007961273, 0.7456285953521729, 0.07212425768375397, 0.4274958670139313, -0.02977922186255455, -0.4005436301231384, 0.305881142616272, 0.0394677110016346, -0.5358443260192871, -0.40511319041252136, -0.11718465387821198, -0.3198124170303345, -0.19924578070640564, 0.21345674991607666, -1.1604247093200684, -0.5504917502403259, -0.5473522543907166, 0.304418683052063, -0.21571336686611176, -0.18931914865970612, -0.02089584246277809, 0.2030649483203888, 0.16457511484622955, 0.22639378905296326, -0.9273229837417603, 0.5271945595741272, 0.5485748648643494, 0.6197724938392639, -0.29349732398986816, -0.10456320643424988, -0.9527029991149902, 0.07403387874364853, -0.3420064449310303, 0.5758236050605774, -0.46381425857543945, -0.17324164509773254, -0.18074707686901093, 0.0026585771702229977, -0.1776314079761505, -0.560302734375, 0.6824949383735657, -0.26381996273994446, 0.023659249767661095, -0.014526559971272945, -0.47848474979400635, 0.12678150832653046, -0.5141769647598267, -0.7539163827896118, 0.7559593319892883, 0.023840753361582756, -0.15696582198143005, 0.7887970805168152, -0.5182241201400757, -0.7024325132369995, -0.02247615158557892, -0.32342052459716797, -0.6681479811668396, -0.068515345454216, 0.6311290860176086, 0.33552631735801697, -0.3434903025627136, 0.6226276159286499, -0.04681684821844101, -0.2179597169160843, 0.2676819860935211, -0.8968775868415833, 0.8043449521064758, 0.5631420016288757, -0.5073056221008301, 0.15056264400482178, -0.6969442367553711, -0.2158983051776886, 0.1015239879488945, -0.3659072816371918, 0.21484597027301788, 0.1386203020811081, -0.07604339718818665, 0.27411603927612305, 0.2120538204908371, -0.7695093154907227, 0.19443893432617188, -0.43072304129600525, 0.3836464285850525, 0.5586637854576111, -0.3042616844177246, 0.3237376809120178, -0.48133593797683716, 0.4495161175727844, -0.02503832057118416, 0.2729806900024414, 0.2115451693534851, -0.5458053350448608, -0.7970135807991028, -0.46637383103370667, 0.5458930134773254, 0.3446386158466339, -0.5571541786193848, 0.9140773415565491, -0.5778273940086365, -0.4410257041454315, -1.018602967262268, 0.38107678294181824, 0.30199822783470154, 0.651345431804657, 0.29237669706344604, -0.4026655852794647, -0.7586671710014343, -0.9214366674423218, -0.11106552928686142, 0.00826254766434431, -0.052927304059267044, 0.11986137181520462, 0.1072370633482933, -0.10657449066638947, 1.1769407987594604, -0.2822817265987396, -0.4851331412792206, 0.17852436006069183, 0.15584416687488556, 0.017960453405976295, 0.7440385222434998, 0.295535683631897, -0.8668326139450073, -0.5624598860740662, -0.25576964020729065, -0.252760648727417, -0.32612845301628113, 0.1368366777896881, 0.13197845220565796, 0.27119025588035583, 0.11099488288164139, -0.35156768560409546, 0.5446480512619019, 0.7486896514892578, -0.47884437441825867, 0.15686647593975067, 0.36046385765075684, -0.016215594485402107, -0.7578269243240356, 0.25900599360466003, -0.12818361818790436, -0.3393515944480896, -0.6551304459571838, -0.43320295214653015, -0.07161739468574524, -0.3206714391708374, -0.29389849305152893, 0.4521366357803345, -0.34783464670181274, -0.039781056344509125, -0.3747236132621765, 0.15078693628311157, 0.03452441096305847, -0.09492872655391693, -0.029498962685465813, 1.2353962659835815, 0.5514956116676331, -0.3584327697753906, 0.43059808015823364, 0.4678802490234375, -0.3405803143978119, 0.5425705313682556, -0.47066619992256165, 0.42740631103515625, 0.0732349306344986, 0.4502565562725067, -1.014438509941101, -0.5783919095993042, 0.21509389579296112, -0.6317841410636902, 0.6044344902038574, 0.022933319211006165, -0.2183302938938141, -0.4807690680027008, 0.07183821499347687, 0.05639554560184479, 0.33227118849754333, -0.7887564897537231, 0.6213530898094177, 0.8703474402427673, -0.4998207092285156, -0.856592059135437, -0.5720606446266174, 0.21372874081134796, -0.027812523767352104, -0.6964641213417053, 0.38343167304992676, 0.08650970458984375, -0.02688569948077202, 0.12440337985754013, -0.6140995025634766, -0.5112396478652954, 0.04223357513546944, 0.23242932558059692, 0.2427491396665573, -0.5800502896308899, -0.034667789936065674, 0.38705167174339294, -0.3223186135292053, -0.33058488368988037, -0.06354091316461563, 0.39795562624931335, -0.2371380627155304, -0.14558488130569458, -1.0295610427856445, 0.3245435059070587, 0.7810195684432983, -0.06180369481444359, 0.4221463203430176, 0.27624616026878357, -0.7840431928634644, 0.07919678837060928, -0.59275883436203, 0.12257428467273712, -0.5233657956123352, -0.084034264087677, -0.29767054319381714, -0.6961962580680847, 0.1630883812904358, 0.1648242175579071, 0.23667974770069122, 0.6870638728141785, 0.016139833256602287, -0.24753865599632263, 1.2096771001815796, 0.042791757732629776, -0.38157063722610474, 0.3634282052516937, 0.16182595491409302, -0.22095803916454315, -0.6321315765380859, -0.16844980418682098, -0.599444568157196, -0.528184711933136, 0.07659345120191574, -0.0007222460699267685, -0.29748180508613586, -0.13893181085586548, -0.4594089686870575, 0.21442125737667084, -0.9199680685997009, 0.373264878988266, 0.36579710245132446, -0.13132324814796448, 0.019819917157292366, 0.12481029331684113, 0.3627600073814392, -0.043189164251089096, -0.42735394835472107, -0.650734543800354, 0.6718058586120605, 0.3913270831108093, 0.8370897173881531, 0.26790252327919006, 0.49215084314346313, 0.18945100903511047, 0.31684407591819763, -0.7645989656448364, 0.4548025131225586, -0.97513747215271, -0.7941910028457642, -0.5277471542358398, -0.33444973826408386, -0.9976744651794434, -0.12033291161060333, -0.2711773216724396, -0.7360602617263794, 0.7390801310539246, 0.41852784156799316, -0.7200398445129395, 0.03504256531596184, -0.5774354338645935, 0.42201435565948486, -0.05649073049426079, -0.030668631196022034, 0.22387123107910156, -0.7664453983306885, -0.06471040099859238, -0.2045644074678421, -0.13102762401103973, -0.2976042926311493, -0.15674680471420288, 1.1688141822814941, -0.5134754180908203, 0.7841557264328003, -0.5444333553314209, -0.09698962420225143, 0.445604532957077, 0.004570974502712488, 0.2497073858976364, -0.31265270709991455, -0.16983282566070557, 0.12535108625888824, -0.35752803087234497, -0.19023999571800232, -0.5516278147697449, 0.8390814661979675, -0.8436989188194275, -0.6602203845977783, -0.40691685676574707, -0.478878915309906, -0.3282744586467743, 0.19939807057380676, -0.002052695956081152, 0.33311983942985535, 0.14728009700775146, 0.5964998602867126, 0.39874300360679626, 0.3055458664894104, 0.34205737709999084, 0.32414743304252625, 0.19596511125564575, -1.0151702165603638, 0.9683731198310852, 0.5951380133628845, 0.04167458042502403, -0.16992586851119995, 0.33932793140411377, -0.4978622794151306, -0.3848744034767151, -0.6085161566734314, 0.05450410023331642, -0.4366080164909363, -0.5365538001060486, -0.29819199442863464, -0.4305081367492676, -0.6331706643104553, -0.4674515724182129, -0.47901180386543274, -0.7981890439987183, -0.46882447600364685, -0.10492319613695145, 0.2888054847717285, 0.5281938910484314, -0.11802490800619125, 0.5101068615913391, -0.6362829208374023, 0.4524519145488739, 0.48590007424354553, 0.3774772882461548, -0.043572038412094116, -0.6867374181747437, 0.2243623584508896, 0.08328348398208618, -0.16078214347362518, -0.6934455633163452, 0.3536425530910492, 0.6623066663742065, 0.4838789999485016, 0.4794478714466095, -0.008917470462620258, 1.1195411682128906, -0.3262570798397064, 0.8652074933052063, 0.17861463129520416, -1.2962398529052734, 0.49562138319015503, -0.14933504164218903, 0.057699233293533325, 0.849506139755249, 0.049521349370479584, -0.3289169669151306, 0.18395715951919556, -0.46384793519973755, -0.8808674812316895, 0.8719118237495422, 0.19592051208019257, -0.13565793633460999, 0.3724876940250397, 0.3557036817073822, 0.41869860887527466, 0.0607365146279335, -0.11534012854099274, -0.2653690278530121, -0.5579225420951843, -0.8317669034004211, -0.07163479179143906, 0.04231450706720352, -0.1857783943414688, -0.5857837200164795, 0.8237491846084595, -0.04133055731654167, 0.07449472695589066, 0.16936831176280975, -0.06304273754358292, -0.47169530391693115, 0.00697379419580102, 0.4102664589881897, 0.2223292589187622, 0.06574579328298569, 0.09402797371149063, 0.08421146869659424, -0.7069251537322998, 0.4529643952846527, 0.5144351720809937, -0.21328109502792358, -0.17511650919914246, 0.15394556522369385, 0.7777827382087708, -0.07440584152936935, -0.3332573473453522, 0.5372382402420044, -0.15792739391326904, -0.2772802710533142, -0.2707611620426178, 0.36850306391716003, -0.022845907136797905, -0.0319051593542099, 0.6088671088218689, 0.05833182856440544, -0.08605819195508957, -0.05258087068796158, 0.8864200711250305, 0.1981208324432373, -0.5533866286277771, -0.08121679723262787, 0.7881154417991638, 0.49820631742477417, -0.7423513531684875, 0.8005731701850891, 0.2222302407026291, -0.06920907646417618, 0.4260244369506836, 0.5654098987579346, 1.0265930891036987, -0.7665915489196777, 0.0864640548825264, 0.07258599251508713, 0.14812107384204865, 0.1288549304008484, 0.42054393887519836, 0.03301722928881645, -0.6263538599014282, -0.45922672748565674, -0.5773979425430298, -0.30031150579452515, 0.2611874043941498, -0.8539186120033264, 0.22017766535282135, -0.4686186611652374, -0.2508241832256317, 0.38455140590667725, 0.07483040541410446, -0.5701934695243835, 0.6273481249809265, 0.4119119942188263, 0.8521248698234558, -0.9006857872009277, 0.9285005927085876, 0.5025553107261658, -0.27051007747650146, -0.8850383162498474, 0.2983270585536957, 0.40472912788391113, -0.6096937656402588, 0.5434766411781311, 0.1208588257431984, -0.576253354549408, 0.11375613510608673, -0.5467032194137573, -1.2082828283309937, 0.9430539608001709, 0.44450533390045166, -0.7071328163146973, 0.14162112772464752, 0.26569053530693054, 0.3804562985897064, -0.6347252130508423, -0.4916413128376007, 0.6437393426895142, 0.5160934925079346, 0.07296887785196304, -0.9956998229026794, 0.09431902319192886, -0.30204087495803833, -0.38822126388549805, 0.1805860549211502, -0.4464954733848572, 0.5876867175102234, 0.2363356351852417, -0.30055683851242065, 0.1001870259642601, 1.0563647747039795, -0.0065450770780444145, 0.5820766091346741, 0.9948281049728394, 0.310944527387619, 1.0413005352020264, -0.14814895391464233, 0.31660544872283936, 0.0739387795329094, 0.02080865576863289, 1.151831865310669, -0.40010127425193787, 0.7760826945304871, 0.2529294192790985, 0.06769607216119766, 0.37480130791664124, 0.4046756625175476, 0.11529102921485901, 0.35486066341400146, -0.1028861403465271, -0.19901637732982635, -0.21633173525333405, -0.055667221546173096, 0.0013502556830644608, 0.5812415480613708, 0.8346635103225708, -0.22540420293807983, 0.021636206656694412, -0.21050848066806793, 0.07042622566223145, 0.0588366724550724, -0.17754168808460236, 0.8406586647033691, 0.04672735556960106, -0.5716294646263123, 0.7555426955223083, -0.521552562713623, 0.5656543970108032, -0.38145580887794495, 0.01680583320558071, 0.07102257013320923, -0.013521990738809109, -0.45707470178604126, -0.8588842153549194, 0.6512211561203003, 0.29529130458831787, 0.020558906719088554, -0.03209006413817406, 0.7272164821624756, -0.39636096358299255, -0.12881022691726685, -0.06521657109260559, 0.1525200456380844, 0.04690852388739586, 0.36199724674224854, -0.9377120733261108, 0.15025842189788818, 0.04765213280916214, -0.3022943437099457, 0.05817454308271408, 0.1119244322180748, 0.08277979493141174, 0.5235835909843445, 0.7090354561805725, -0.028107810765504837, 0.04304995760321617, 0.02673482522368431, 0.8270419836044312, -0.40615174174308777, -0.08905630558729172, -0.6195541620254517, 0.6454305648803711, -0.2928505539894104, -0.6229502558708191, 0.34833794832229614, 0.5274525284767151, 0.3112486004829407, 0.2671438455581665, 0.4553528428077698, 0.016314784064888954, 0.7923736572265625, -0.15123897790908813, 0.9740506410598755, -0.5405001640319824, -0.28659677505493164, -0.2701077163219452, -0.7166159152984619, -0.6971904039382935, 1.0429670810699463, -0.03747023642063141, -0.2927861511707306, 0.2323763072490692, 0.6707009077072144, -0.1867370754480362, 0.37475016713142395, 0.12401552498340607, -0.062476206570863724, 0.5389736890792847, 0.0028224436100572348, 0.5786089301109314, -0.28741031885147095, 0.48462802171707153, -0.31227076053619385, -0.458690345287323, -0.12258985638618469, -0.6896378397941589, -0.26888689398765564, -0.7462338805198669, -0.4986664354801178, -0.16668838262557983, 0.3304787576198578, 1.2401677370071411, 0.7772973775863647, -1.0310893058776855, -0.02017142064869404, -0.038548003882169724, -0.31325894594192505, -0.46535882353782654, -0.19227755069732666, 0.5554323196411133, 0.05128174647688866, -0.8501015901565552, 1.065262794494629, -0.1554899662733078, 0.14780957996845245, 0.05518719181418419, -0.054344262927770615, -0.13918712735176086, 0.3906913697719574, 0.06490251421928406, 0.516299307346344, -0.6736668944358826, -0.5120534896850586, -0.14123862981796265, -0.09583870321512222, 0.1630980521440506, 0.5163686871528625, -0.6318556666374207, 0.5214175581932068, 0.2943026125431061, 0.8323029279708862, 0.18228821456432343, 0.2586662769317627, 0.6032441258430481, -0.7644083499908447, -0.15439262986183167, 0.5173996090888977, 0.3594829738140106, 0.5007984042167664, -0.31285810470581055, 0.3972413241863251, -0.034324705600738525, -0.7210736274719238, -0.9013032913208008, 0.10103684663772583, -0.8539363145828247, 0.1522495299577713, 1.0353834629058838, -0.16733412444591522, -0.18599434196949005, -0.5369886159896851, -0.27578306198120117, 0.6772503852844238, -0.8783870339393616, 0.6347824931144714, 0.6132232546806335, -0.13632279634475708, 0.22708217799663544, -0.08495169878005981, 0.573488712310791, 0.4000816345214844, -0.405557781457901, 0.45330870151519775, 0.5971636176109314, 0.21931184828281403, 0.2460598200559616, 0.30449947714805603, -0.1310126781463623, 0.29676705598831177, 0.048199113458395004, -0.003083843272179365, -0.24780365824699402, -0.5858886241912842, -0.7008821964263916, 0.2675224244594574, -0.12885549664497375, -0.49873727560043335 ]
http://arxiv.org/abs/2406.17923v1
http://arxiv.org/pdf/2406.17923v1
PAFT: A Parallel Training Paradigm for Effective LLM Fine-Tuning
2024-06-25T20:11:37
2024-06-25T20:11:37
Shiva Kumar Pentyala, Zhichao Wang, Bin Bi, Kiran Ramnath, Xiang-Bo Mao, Regunathan Radhakrishnan, Sitaram Asur, Na, Cheng
cs.CL
cs.CL
Large language models (LLMs) have shown remarkable abilities in diverse natural language processing (NLP) tasks. The LLMs generally undergo supervised fine-tuning (SFT) followed by preference alignment to be usable in downstream applications. However, this sequential training pipeline leads to alignment tax that degrades the LLM performance. This paper introduces PAFT, a new PArallel training paradigm for effective LLM Fine-Tuning, which independently performs SFT and preference alignment (e.g., DPO and ORPO, etc.) with the same pre-trained model on respective datasets. The model produced by SFT and the model from preference alignment are then merged into a final model by parameter fusing for use in downstream applications. This work reveals important findings that preference alignment like DPO naturally results in a sparse model while SFT leads to a natural dense model which needs to be sparsified for effective model merging. This paper introduces an effective interference resolution which reduces the redundancy by sparsifying the delta parameters. The LLM resulted from the new training paradigm achieved Rank #1 on the HuggingFace Open LLM Leaderboard. Comprehensive evaluation shows the effectiveness of the parallel training paradigm.
[ -0.7532851696014404, -0.830024778842926, 0.41070476174354553, 0.24377824366092682, -0.4195336401462555, -0.0011390792205929756, -0.5022855997085571, -0.34490349888801575, 0.020601117983460426, 0.7587206959724426, -0.4560105502605438, -0.25613123178482056, -0.8038557171821594, 0.08068611472845078, -0.2474530190229416, 0.9813640713691711, -0.2347663789987564, 0.1133686825633049, 0.0029399911873042583, -0.25459104776382446, -0.3691475987434387, -0.46563786268234253, -0.929909884929657, -0.4661106467247009, 0.5386649370193481, 0.16381511092185974, 0.6920809149742126, 0.9689421653747559, 0.6412309408187866, 0.3442143499851227, 0.0017856773920357227, 0.4511154592037201, -0.6006594896316528, -0.11668571829795837, -0.1528216004371643, -0.35866913199424744, -0.6856492161750793, 0.06828983128070831, 0.9340649247169495, 0.8826359510421753, -0.19272437691688538, -0.10884751379489899, 0.4046024680137634, 0.8983970284461975, -0.4865029454231262, 0.01703796349465847, -0.797559380531311, -0.12504735589027405, -0.27008506655693054, -0.2599809467792511, -0.16203683614730835, -0.2689562141895294, -0.002132491674274206, -0.5139593482017517, 0.21404330432415009, 0.16541209816932678, 0.9899358153343201, 0.7356735467910767, -0.3695228695869446, 0.10367882251739502, -0.5620397329330444, 0.8022080063819885, -0.7485167980194092, 0.5725720524787903, 0.10208238661289215, 0.23769192397594452, -0.32744529843330383, -0.38806894421577454, -0.6525012850761414, 0.09693301469087601, -0.02156801149249077, -0.18444706499576569, 0.17533521354198456, 0.43137022852897644, -0.04032003507018089, 0.5661341547966003, -0.2807251811027527, 0.4605589509010315, -0.05898009240627289, 0.04329846426844597, 0.5130253434181213, 0.11487802118062973, -0.1587924361228943, 0.32854312658309937, -0.5793522000312805, -0.10726878046989441, -0.5739525556564331, -0.08779768645763397, 0.5134095549583435, 0.7079866528511047, -0.11323020607233047, 0.3296349346637726, -0.19901634752750397, 0.9328619837760925, 0.5027465224266052, -0.4001777470111847, 0.2713984549045563, -0.05004383251070976, -0.47177010774612427, 0.02632087655365467, 0.8058487176895142, 0.20472772419452667, 0.20361827313899994, -0.12343926727771759, -0.27232375741004944, -0.1723022162914276, 0.24373191595077515, -0.4706043601036072, 0.05903908610343933, 0.09747444093227386, -0.4306144118309021, -0.25278058648109436, -0.05583629757165909, -0.6241556406021118, -0.400704950094223, -0.9807470440864563, 0.15507294237613678, -0.3438619077205658, -0.3310215175151825, 0.43966174125671387, 0.1737782061100006, 0.34558552503585815, 0.42607083916664124, -1.2335190773010254, 0.4683707058429718, 1.122840166091919, 0.6500241160392761, -0.46647825837135315, -0.6949342489242554, -0.7778937816619873, 0.06103542447090149, -0.07656308263540268, 0.8131695985794067, -0.41809239983558655, -0.10887755453586578, -0.1858365684747696, -0.20971553027629852, -0.29047805070877075, -0.6223770380020142, 0.6955748200416565, -0.45586711168289185, -0.026387326419353485, -0.2511994242668152, -0.6513082385063171, 0.023286106064915657, 0.28462517261505127, -0.376246839761734, 0.8288161158561707, 0.027412649244070053, -0.6860659718513489, 0.5507934093475342, -0.3918643891811371, -0.04994067922234535, -0.16091610491275787, -0.06749088317155838, -0.4639645218849182, 0.007763512898236513, 0.40531685948371887, 0.5233045220375061, -0.3418586552143097, 0.44912096858024597, -0.5261764526367188, -0.4615107476711273, -0.2971149981021881, -0.314100444316864, 0.5364189743995667, 0.16671061515808105, -0.10194969922304153, 0.23104941844940186, -0.672640323638916, -0.24803155660629272, -0.14131313562393188, -0.49568501114845276, -0.14888553321361542, -0.16766759753227234, 0.05027211830019951, 0.06979227811098099, 0.3239329159259796, -0.40458887815475464, 0.36872410774230957, -0.6265661120414734, 0.15042126178741455, 0.8303472399711609, -0.15515106916427612, 0.698041558265686, -0.4699563682079315, 0.2502248287200928, -0.1617664098739624, 0.08208121359348297, 0.14178457856178284, -0.21578210592269897, -0.952129065990448, -0.44517219066619873, 0.3794352114200592, 0.38735583424568176, -0.14943329989910126, 0.7575284242630005, -0.17900696396827698, -0.4238722026348114, -0.5914868116378784, 0.3638172745704651, 0.23336967825889587, 0.7849645018577576, 0.31146883964538574, -0.23889730870723724, -0.5010362267494202, -0.8520022630691528, -0.4038580358028412, 0.2037096470594406, 0.10760054737329483, 0.17872540652751923, 0.08648713678121567, 0.040163930505514145, 0.8095470070838928, -0.21635474264621735, -0.5598239898681641, -0.05541399121284485, 0.29460132122039795, 0.37379807233810425, 0.6529893279075623, 0.5141223073005676, -0.6903201341629028, -0.604666531085968, 0.019092166796326637, -0.38907068967819214, -0.16997253894805908, -0.19055305421352386, -0.2117791622877121, 0.26988911628723145, 0.5263980627059937, -0.4591964781284332, -0.13878020644187927, 0.44640496373176575, 0.008688872680068016, 0.20861473679542542, -0.1863946169614792, 0.1978731006383896, -0.8481768369674683, -0.028942741453647614, -0.06445521116256714, -0.29154038429260254, -0.4141732156276703, 0.10451363772153854, 0.05215441808104515, 0.046254027634859085, -0.46172523498535156, 0.4747028350830078, -0.3444055914878845, 0.11923713237047195, -0.5130460262298584, -0.1194116398692131, -0.22100485861301422, 0.5438730716705322, 0.13050223886966705, 0.6957433819770813, 0.3492087423801422, -0.4345206618309021, 0.21351632475852966, 0.28370869159698486, -0.08558738976716995, 0.49350041151046753, -0.39050349593162537, 0.14627420902252197, -0.13306522369384766, 0.20448508858680725, -0.8022287487983704, -0.25635847449302673, 0.0051091439090669155, 0.007362689357250929, 0.537621796131134, -0.17653168737888336, -0.7525813579559326, 0.0511467345058918, -0.2277582734823227, 0.2648831605911255, 0.47930198907852173, -0.7536327242851257, 0.4319564998149872, 0.3437926769256592, -0.08167804032564163, -0.6699402928352356, -0.38808244466781616, -0.21494603157043457, -0.4808368384838104, -0.6674073338508606, 0.5448218584060669, 0.20516268908977509, 0.12371253222227097, -0.3431451618671417, -0.09538301080465317, -0.0430741012096405, 0.011196691542863846, 0.05373835936188698, 0.24361029267311096, -0.22284647822380066, -0.001456608297303319, 0.15379779040813446, -0.1845855414867401, -0.30123788118362427, -0.06736889481544495, 0.7645009756088257, -0.29262465238571167, -0.3632669746875763, -0.45768675208091736, 0.32466936111450195, 0.38082313537597656, -0.35239407420158386, 0.763098955154419, 0.6501339077949524, -0.19191958010196686, -0.1307716965675354, -0.8934155106544495, -0.054077908396720886, -0.4896849989891052, 0.1099545806646347, -0.23078438639640808, -1.2512933015823364, 0.26772186160087585, -0.3980989456176758, 0.09877387434244156, 0.2332780361175537, 0.4266231060028076, -0.12827034294605255, 0.9322705268859863, 0.9662683010101318, -0.17300273478031158, 0.5401826500892639, 0.1305932104587555, 0.3079553246498108, -0.723354697227478, 0.11733061075210571, -0.378081351518631, -0.45393314957618713, -0.5975973606109619, -0.34622883796691895, 0.3515992760658264, 0.6103129386901855, -0.6109904646873474, 0.2798834443092346, -0.42556384205818176, 0.6832640767097473, 0.5050988793373108, -0.039977170526981354, 0.3368644714355469, 0.14806406199932098, -0.07160426676273346, -0.07249727100133896, -0.49776285886764526, -0.44510337710380554, 1.0037591457366943, 0.45785051584243774, 0.494903028011322, -0.21778127551078796, 0.9610798358917236, -0.2724805772304535, 0.07681511342525482, -0.5515192747116089, 0.31692466139793396, -0.5217494368553162, -0.2244410365819931, -0.3162861764431, -0.20421142876148224, -0.6291596293449402, 0.2754858732223511, -0.36567431688308716, -0.7426711916923523, 0.21208706498146057, 0.32058584690093994, -0.3823101222515106, 0.4413646459579468, -0.6489099264144897, 0.7525662779808044, -0.17123588919639587, -0.5610410571098328, -0.25001803040504456, -0.6133279204368591, 0.5054481625556946, -0.3113766610622406, -0.18922434747219086, -0.3791597783565521, -0.13755770027637482, 0.4361671805381775, -0.48269233107566833, 0.7462902665138245, -0.14232800900936127, -0.004028812050819397, -0.24496044218540192, -0.26501157879829407, 0.643135130405426, 0.03861328959465027, -0.19535905122756958, 0.2815767228603363, -0.14842495322227478, -0.3498480021953583, -0.47322896122932434, 0.8392527103424072, -0.7677801847457886, -0.7000144124031067, -0.28412389755249023, -0.7329887747764587, -0.6400139927864075, 0.22157716751098633, 0.05033865571022034, -0.14129723608493805, 0.09334087371826172, 0.0520801916718483, 0.6859716773033142, -0.13765066862106323, 0.1634334921836853, 0.4201813340187073, -0.14748553931713104, -0.40248003602027893, 0.6247429847717285, -0.10466847568750381, 0.1868387758731842, 0.40116265416145325, 0.18435055017471313, -0.2906278967857361, -0.7969250679016113, -0.09490776807069778, 0.468440979719162, -0.3288702070713043, -0.27571654319763184, -0.6082091927528381, -0.33031904697418213, -0.38204628229141235, -0.45174098014831543, -0.6826280951499939, -0.11062165349721909, -0.17709456384181976, 0.19342443346977234, 0.2660228908061981, 0.35667189955711365, -0.09154032915830612, 0.5561618208885193, -0.7830764055252075, 0.3385920822620392, 0.22564570605754852, 0.7674227952957153, -0.2768208980560303, -0.3244006037712097, 0.02347119152545929, -0.03513987734913826, -0.332732230424881, -0.3670831620693207, 0.35539674758911133, 0.169342041015625, 0.4894621968269348, 0.2513614594936371, -0.07756052166223526, 0.8964700102806091, -0.409006267786026, 0.4260382652282715, 0.27560311555862427, -0.8809224367141724, 0.3897700607776642, -0.7053028345108032, 0.2701159715652466, 0.8986584544181824, 0.33128419518470764, -0.25146719813346863, -0.2855445444583893, -0.3650878965854645, -0.8798007965087891, 0.787804901599884, -0.09460954368114471, -0.03262989595532417, 0.11457347124814987, 0.3526441156864166, 0.4885658323764801, 0.3346317410469055, -0.47342875599861145, -0.1378369778394699, 0.15157991647720337, -0.13460715115070343, -0.18219627439975739, -0.1950276792049408, -0.17197147011756897, -0.47570180892944336, 0.7090628743171692, -0.12090139091014862, 0.08652675151824951, -0.05524791032075882, 0.24024076759815216, -0.2304960936307907, 0.18172882497310638, 0.2234993427991867, 0.46194496750831604, -0.4976077973842621, -0.08301009982824326, 0.10456671565771103, -0.1560482382774353, -0.040933866053819656, 0.4110962152481079, 0.08216948062181473, -0.3243955075740814, 0.1649829000234604, 0.7932100296020508, 0.23792411386966705, -0.4319097697734833, 0.4356655478477478, 0.08489476889371872, -0.4171540141105652, -0.05740047246217728, 0.25726810097694397, 0.2055330127477646, 0.22037477791309357, -0.07192769646644592, 0.37404853105545044, 0.016017574816942215, -0.15109014511108398, 0.21205909550189972, 0.4270901083946228, -0.11050920933485031, 0.14870940148830414, 0.6673046946525574, 0.3557727336883545, -0.07017944753170013, 0.6198689341545105, 0.07881893962621689, -0.3236263692378998, 0.3777395486831665, 0.36037757992744446, 0.6874182820320129, -0.03140385448932648, -0.13688893616199493, 0.3694409132003784, 0.06253420561552048, -0.3437604606151581, 0.10412842780351639, -0.1941860020160675, -0.8004297614097595, -0.5794828534126282, -1.138725996017456, -0.3931357264518738, 0.446831613779068, -0.475019246339798, 0.6451709270477295, -0.6679300665855408, 0.13965988159179688, 0.11804750561714172, -0.03780970722436905, -0.5952099561691284, 0.043128106743097305, 0.26187121868133545, 0.8564618229866028, -0.7201535105705261, 1.1725670099258423, 0.612610399723053, -0.19832536578178406, -0.9201592206954956, 0.1233706995844841, 0.14853011071681976, -0.6848928332328796, 0.5693947076797485, 0.1967286914587021, -0.02583465911448002, 0.08206133544445038, -0.2556072473526001, -0.9708471298217773, 0.8860117197036743, 0.8842469453811646, -0.8665928244590759, 0.10592734068632126, 0.4605693519115448, 0.5274784564971924, -0.49767011404037476, -0.11349515616893768, 0.9134197235107422, 0.43838849663734436, 0.018683910369873047, -1.3226205110549927, -0.11133869737386703, -0.042407285422086716, 0.017961550503969193, 0.5365760922431946, -0.9222308397293091, 0.831014096736908, 0.277782142162323, -0.018369201570749283, 0.02641192637383938, 0.4172057509422302, 0.40350815653800964, 0.018964366987347603, 0.7595593333244324, 0.7937760353088379, 0.6726123690605164, -0.18149951100349426, 0.7167600393295288, -0.27008020877838135, 0.3362748324871063, 1.4165385961532593, -0.4096185564994812, 1.0354868173599243, 0.906255304813385, -0.2746065557003021, -0.15131230652332306, 0.6146701574325562, -0.07804830372333527, 0.49929991364479065, 0.09416761249303818, -0.1568758338689804, -0.3950548768043518, -0.11867425590753555, -0.44790446758270264, 0.6229860782623291, 0.08741699904203415, -0.23041404783725739, -0.4424801170825958, 0.013470739126205444, -0.1658383458852768, 0.37542587518692017, -0.20219993591308594, 0.7972357273101807, 0.0006409800844267011, -0.775019645690918, 0.7827303409576416, 0.0025851575192064047, 1.0720233917236328, -0.6215665936470032, 0.00712096132338047, -0.23265723884105682, 0.4075829088687897, -0.1735960990190506, -0.5690770745277405, 0.5873490571975708, -0.14591094851493835, -0.22087059915065765, -0.5780353546142578, 0.5417526364326477, -0.5097307562828064, -0.2183140516281128, 0.38419681787490845, 0.2718815505504608, -0.06372614204883575, -0.23942622542381287, -0.761589527130127, 0.1186954602599144, -0.09303739666938782, -0.0919414758682251, 0.6995424628257751, 0.12145642936229706, 0.1895449161529541, 0.34829890727996826, 0.7090978026390076, 0.22237837314605713, 0.057291075587272644, 0.10057663917541504, 0.8244227766990662, -0.3143472373485565, -0.4597817361354828, -0.665316104888916, 0.37393954396247864, -0.11658383905887604, -0.40826642513275146, 0.48156553506851196, 0.5417296290397644, 1.0140851736068726, 0.04239455983042717, 0.5503024458885193, 0.1611098051071167, 0.6330686211585999, -0.5998817086219788, 0.6917339563369751, -0.599496603012085, 0.48186272382736206, -0.09463661909103394, -1.0848402976989746, -0.3756062388420105, 0.3267287313938141, -0.47707799077033997, -0.09389054030179977, 0.5664205551147461, 0.798604428768158, -0.41123437881469727, 0.10485042631626129, 0.2671874761581421, -0.02665499970316887, 0.10803675651550293, 0.49624988436698914, 0.44884395599365234, -0.3479869067668915, 0.23489275574684143, -0.5458451509475708, -0.25847387313842773, -0.07758761197328568, -0.9211756587028503, -0.7668167948722839, -0.5988978743553162, -0.2132541835308075, 0.11367294192314148, 0.1519976109266281, 1.0407904386520386, 0.8141170144081116, -0.7439755201339722, -0.3025966286659241, -0.5929480195045471, -0.15627135336399078, -0.2125508040189743, -0.21004316210746765, 0.3457696735858917, -0.8782435059547424, -0.9390398859977722, 0.3515760898590088, 0.3740285038948059, 0.005877279210835695, 0.07395336776971817, -0.12492984533309937, -0.38948023319244385, -0.14582787454128265, 0.2802262008190155, 0.14903561770915985, -0.8662369847297668, -0.12492877244949341, -0.44056424498558044, 0.01813436485826969, 0.3446715176105499, 0.7658283114433289, -0.6376344561576843, 0.4238518178462982, 0.4743458032608032, 0.9773511290550232, 0.46145865321159363, 0.07755876332521439, 0.9396774172782898, -0.7239139080047607, 0.31601375341415405, 0.07679513841867447, 0.38233453035354614, 0.3332572281360626, -0.5159429907798767, 0.4496617913246155, 0.008067955262959003, -0.66094571352005, -0.791705310344696, 0.09843506664037704, -1.2638081312179565, -0.1839679479598999, 0.9551271200180054, 0.007196003571152687, 0.006761551834642887, 0.09237303584814072, -0.33365437388420105, 0.331963449716568, -0.4485437273979187, 0.7144472002983093, 0.6722443699836731, -0.41452139616012573, -0.29535624384880066, -0.25442251563072205, 0.7021474838256836, 0.7812513709068298, -0.666874349117279, 0.17109128832817078, 0.2128065973520279, 0.17117741703987122, -0.16656319797039032, 0.4991917014122009, -0.14031697809696198, 0.048408616334199905, -0.0622187964618206, -0.16884039342403412, -0.3377384841442108, -0.025922054424881935, -0.5880179405212402, 0.33751818537712097, 0.282541960477829, -0.10167347639799118 ]
http://arxiv.org/abs/2406.17911v2
http://arxiv.org/pdf/2406.17911v2
X-ray Made Simple: Radiology Report Generation and Evaluation with Layman's Terms
2024-06-25T19:52:01
2024-06-30T21:53:56
Kun Zhao, Chenghao Xiao, Chen Tang, Bohao Yang, Kai Ye, Noura Al Moubayed, Liang Zhan, Chenghua Lin
cs.CL
cs.CL
Radiology Report Generation (RRG) has achieved significant progress with the advancements of multimodal generative models. However, the evaluation in the domain suffers from a lack of fair and robust metrics. We reveal that, high performance on RRG with existing lexical-based metrics (e.g. BLEU) might be more of a mirage - a model can get a high BLEU only by learning the template of reports. This has become an urgent problem for RRG due to the highly patternized nature of these reports. In this work, we un-intuitively approach this problem by proposing the Layman's RRG framework, a layman's terms-based dataset, evaluation and training framework that systematically improves RRG with day-to-day language. We first contribute the translated Layman's terms dataset. Building upon the dataset, we then propose a semantics-based evaluation method, which is proved to mitigate the inflated numbers of BLEU and provides fairer evaluation. Last, we show that training on the layman's terms dataset encourages models to focus on the semantics of the reports, as opposed to overfitting to learning the report templates. We reveal a promising scaling law between the number of training examples and semantics gain provided by our dataset, compared to the inverse pattern brought by the original formats. Our code is available at \url{https://github.com/hegehongcha/LaymanRRG}.
[ -0.03533591702580452, -0.2678206264972687, 0.510005533695221, 0.007082429248839617, -0.5086983442306519, -0.1735842525959015, -0.15501351654529572, -0.3655175268650055, 0.042311739176511765, 0.4502323269844055, -0.3512403666973114, -0.5828126668930054, -1.00180983543396, -0.04081493616104126, -0.18618889153003693, 1.2005326747894287, 0.23430323600769043, 0.28795138001441956, -0.10199912637472153, -0.342963844537735, -0.5207580327987671, 0.10211832076311111, -0.4955597519874573, -0.6619811654090881, 0.4188094139099121, 0.426815003156662, 1.2325917482376099, 1.2486343383789062, 0.8681780099868774, 0.09259439259767532, 0.3692221939563751, -0.038368988782167435, -0.3536542057991028, -0.03410925716161728, 0.07295216619968414, -0.3848905861377716, -0.525383472442627, 0.08164230734109879, 0.4090842008590698, 0.9795319437980652, -0.465925395488739, 0.08243884146213531, -0.39814066886901855, 0.9980746507644653, -0.8437640070915222, 0.1883964091539383, -0.26114633679389954, 0.2549231946468353, -0.16218248009681702, -0.8337001204490662, -0.6660614013671875, -0.43760374188423157, 0.19276130199432373, -0.7736555337905884, 0.1872040033340454, 0.10498304665088654, 1.0576224327087402, 0.170578733086586, -0.4508674740791321, -0.6120069622993469, -0.5764612555503845, 0.6794026494026184, -0.5009061098098755, 0.4069126844406128, 0.2622535526752472, 0.6497570276260376, 0.09061668068170547, -1.0061880350112915, -0.04427071288228035, -0.431123286485672, -0.33003419637680054, 0.590699315071106, -0.33939892053604126, 0.030758032575249672, 0.4387342631816864, 0.365669310092926, -0.983566164970398, -0.10201610624790192, -0.3782930076122284, 0.1901678889989853, 0.7536155581474304, 0.2748836576938629, 0.24121105670928955, -0.6044873595237732, -0.7001557946205139, -0.3782844543457031, -0.6517597436904907, -0.5018303394317627, -0.10437537729740143, 0.258971631526947, -0.24451300501823425, 0.403230220079422, -0.23667265474796295, 0.6912389993667603, -0.23177824914455414, -0.2761061489582062, 0.508399486541748, -0.02343844808638096, -0.38114553689956665, 0.16351158916950226, 0.7199994921684265, 0.4695297181606293, 0.051529411226511, -0.27350741624832153, -0.26808053255081177, 0.3062129318714142, 0.23131659626960754, -0.7460054755210876, -0.33238494396209717, 0.08500547707080841, -0.8454286456108093, -0.45104581117630005, -0.018352540209889412, -0.7016742825508118, -0.31120890378952026, -0.32278043031692505, 0.6171285510063171, -0.5792106986045837, -0.18330921232700348, 0.5658939480781555, -0.13025574386119843, 0.2881389856338501, 0.2859019339084625, -0.36122703552246094, 0.18650609254837036, 0.5389456748962402, 0.699167013168335, 0.2623346149921417, 0.06322398781776428, -0.9645612835884094, 0.34029850363731384, -0.3184279799461365, 0.866640567779541, -0.6018422245979309, -0.6006252765655518, -0.16916728019714355, -0.5089903473854065, -0.08825589716434479, -0.41703563928604126, 0.5702897906303406, -0.2939588129520416, 0.6499137878417969, 0.057393878698349, -0.5165780186653137, 0.0481269434094429, 0.06284704059362411, -0.4322963356971741, 0.5998867750167847, 0.21515394747257233, -0.8043937087059021, 0.777490496635437, -0.6943259239196777, -0.5098525881767273, 0.5744558572769165, -0.6726356744766235, -0.388682097196579, 0.16124281287193298, 0.08814087510108948, 0.5138530731201172, -0.6900267004966736, 0.21056441962718964, 0.2623787820339203, -0.22303029894828796, 0.052103180438280106, -0.1152006983757019, 0.5125208497047424, 0.4016575217247009, -0.16632747650146484, 0.03309549018740654, -0.9963980317115784, 0.46784844994544983, -0.06803914159536362, -0.2196141630411148, -0.3795166313648224, -0.020911281928420067, -0.16139012575149536, 0.19348043203353882, -0.23445835709571838, -0.45687517523765564, -0.10084027051925659, -0.18477007746696472, 0.03582536429166794, 0.4558837115764618, -0.28567683696746826, 0.18722812831401825, -0.8194270133972168, 0.8060634732246399, -0.05073089152574539, 0.0677943006157875, -0.39300015568733215, -0.29850396513938904, -0.5829698443412781, -0.6400331854820251, 0.45948290824890137, 0.43670302629470825, -0.6007832288742065, 0.08152075856924057, -0.9253029823303223, -0.5060423612594604, -0.40665203332901, -0.1662730723619461, 0.5692868232727051, 0.5592136383056641, 0.15203528106212616, -0.6405701041221619, -0.6339512467384338, -0.8328372836112976, -0.15601594746112823, 0.03726218268275261, -0.16011099517345428, 0.23848366737365723, 0.12252634763717651, -0.1080845445394516, 0.8119876980781555, -0.865538477897644, -0.5737915635108948, -0.2979000508785248, 0.559191882610321, 0.15972521901130676, 0.24071665108203888, 0.2613915801048279, -0.7862920165061951, -0.4026844799518585, 0.2062436193227768, -1.1280262470245361, -0.04724464192986488, -0.11561891436576843, -0.0789099931716919, 0.2043088674545288, 0.6682766675949097, -0.4268167316913605, 0.4179662764072418, 0.40391379594802856, -0.21451543271541595, 0.3206472396850586, -0.3486633896827698, 0.12361510097980499, -0.8830309510231018, 0.19325891137123108, 0.26561519503593445, -0.48269662261009216, -0.42993369698524475, 0.31128987669944763, 0.030393002554774284, -0.2651464641094208, -0.30439215898513794, 0.39705148339271545, -0.4338742792606354, -0.11025261133909225, -0.14714325964450836, 0.21109209954738617, 0.15577104687690735, 0.18191708624362946, 0.3209975063800812, 0.18666715919971466, 0.5619578957557678, -0.4994506239891052, 0.06024613231420517, 0.22717000544071198, -0.25569745898246765, 0.5672801733016968, -0.5962526202201843, 0.09739480912685394, -0.44808587431907654, 0.2836040258407593, -0.6013202667236328, -0.2062375247478485, 0.13744455575942993, -0.4996987581253052, 0.43634331226348877, -0.310505211353302, -0.11503176391124725, -0.007464603520929813, -0.35672706365585327, 0.28435441851615906, 0.7828635573387146, -0.3941897451877594, 0.667811930179596, 0.09850577265024185, 0.1354645937681198, -0.5946745276451111, -0.5945663452148438, 0.17692717909812927, -0.14125341176986694, -0.8759589791297913, 0.2859453558921814, 0.047561075538396835, -0.2808491587638855, 0.04665077477693558, -0.11327467113733292, 0.10222582519054413, -0.23811976611614227, 0.3384263813495636, 0.1697477251291275, -0.5467949509620667, -0.025629272684454918, -0.4135088622570038, -0.4428289234638214, 0.14300858974456787, -0.14740221202373505, 0.4452427923679352, -0.16769450902938843, -0.18879079818725586, -0.03642583265900612, 0.23262642323970795, 0.247941255569458, 0.02105005271732807, 0.10795360803604126, 0.48004186153411865, -0.19488106667995453, -0.22565609216690063, -0.15500181913375854, 0.10531754046678543, -0.4169543385505676, 0.3846961557865143, -0.33837372064590454, -0.41527843475341797, 0.11780168116092682, -0.1575387865304947, 0.05227658897638321, 0.2641600966453552, 0.5662298798561096, -0.08942250162363052, 0.8356539607048035, 0.5631212592124939, 0.6113660335540771, 0.010945804417133331, -0.24293799698352814, 0.22305814921855927, -0.5676639080047607, -0.5115708112716675, -0.44537270069122314, 0.07314388453960419, -0.7316154837608337, -0.24309301376342773, 0.5269458293914795, -0.1502312272787094, 0.2897600829601288, -0.06417921930551529, -0.43755489587783813, 0.36557042598724365, 0.11985352635383606, 0.166902557015419, 0.4843287169933319, 0.05164346843957901, 0.30333560705184937, -0.157530277967453, -1.1383038759231567, -0.5677683353424072, 1.3036643266677856, 0.432801216840744, 1.0501917600631714, 0.05753781646490097, 0.8284720778465271, 0.4441300928592682, 0.36415061354637146, -0.9726311564445496, 0.4421592354774475, -0.6377498507499695, -0.07828076183795929, -0.04859079420566559, -0.6274896860122681, -1.1657557487487793, 0.37028390169143677, -0.055820368230342865, 0.020827069878578186, -0.002314650919288397, 0.13518857955932617, -0.42936503887176514, -0.12114521861076355, -0.6105912923812866, 0.5356302261352539, -0.28589147329330444, -0.1343296766281128, -0.32633882761001587, -0.6747429966926575, 0.4539666473865509, 0.19416822493076324, 0.5737042427062988, -0.19345085322856903, 0.10956619679927826, 0.8103387355804443, -0.5234351754188538, 0.5490686893463135, -0.0202210433781147, -0.015671230852603912, -0.07874690741300583, 0.27973026037216187, 0.14546309411525726, 0.3045625388622284, 0.1937319040298462, 0.009155118837952614, 0.08019211143255234, -0.4890081286430359, -0.6602563261985779, 0.5115548968315125, -0.703353226184845, -0.30107906460762024, -0.8113892674446106, -0.7356969714164734, -0.21974340081214905, 0.038524821400642395, 0.5393825173377991, 0.7359163165092468, -0.09962794184684753, -0.018496183678507805, 0.5938838124275208, -0.18446241319179535, 0.1304069459438324, 0.3887626826763153, -0.18681329488754272, -0.28488707542419434, 1.0216565132141113, 0.02209223434329033, 0.206059068441391, 0.39089635014533997, 0.4970620572566986, 0.020187046378850937, -0.4190972149372101, -0.5043134093284607, 0.10407765954732895, -0.9363232851028442, -0.4672386944293976, -0.4521214962005615, -0.22137458622455597, -0.11294425278902054, -0.2769968807697296, -0.1489647924900055, -0.4975319802761078, 0.1710469275712967, 0.3400309383869171, 0.29248011112213135, 0.7783548831939697, -0.3031233549118042, 0.3941318988800049, -0.6854186654090881, 0.3048625588417053, 0.10805195569992065, 0.38459938764572144, -0.1534375101327896, -0.4798465371131897, -0.33885809779167175, -0.08095251768827438, -0.08720754832029343, -0.32678961753845215, 0.4674225449562073, 0.22396092116832733, 0.2399589568376541, 0.25353193283081055, -0.20201776921749115, 0.6507500410079956, -0.32837536931037903, 0.31837356090545654, 0.6760421395301819, -0.7670890688896179, 0.6089775562286377, -0.5127876400947571, 0.2659459114074707, 0.3911801874637604, 0.32775041460990906, -0.6648362874984741, -0.0780327171087265, -0.7432107925415039, -1.0423365831375122, 0.6871707439422607, 0.04441166669130325, 0.03053172491490841, -0.12247347086668015, 0.47495710849761963, 0.28468069434165955, 0.04495938867330551, -0.5954492688179016, -0.16006158292293549, -0.5027912855148315, -0.14190571010112762, 0.25504615902900696, -0.3201981782913208, -0.6006106734275818, 0.16095249354839325, 0.5191555619239807, -0.3041612505912781, 0.33866313099861145, 0.14070597290992737, -0.34545159339904785, -0.26524654030799866, 0.2591198980808258, 0.5829507112503052, 1.0705626010894775, -0.5539963841438293, 0.2981524169445038, -0.2603086531162262, -0.5069522261619568, -0.000019256058294558898, -0.17788243293762207, 0.08511842042207718, 0.2933417856693268, 0.6992311477661133, 0.7137002348899841, 0.19772368669509888, -0.6043550968170166, 0.7087740898132324, -0.23256759345531464, -0.44784530997276306, -0.2531126141548157, 0.09019402414560318, -0.34826719760894775, -0.21982285380363464, 0.5002862811088562, 0.1426510214805603, 0.06662558764219284, -0.38850003480911255, 0.5096938014030457, 0.22776202857494354, -0.49986717104911804, 0.058089304715394974, 0.33855414390563965, 0.118796706199646, 0.014295767061412334, 0.48025745153427124, -0.268498957157135, -0.023946257308125496, 0.5258973836898804, 0.49903708696365356, 0.5602860450744629, 0.19335034489631653, 0.447939932346344, 0.33748382329940796, 0.17968177795410156, -0.22906561195850372, 0.21924492716789246, 0.4238075017929077, -0.549981415271759, -0.6185967326164246, -0.37899720668792725, -0.2149432748556137, 0.21185985207557678, -1.057233214378357, 0.5805597901344299, -0.8451693058013916, 0.11026337742805481, 0.10033374279737473, -0.11007792502641678, -0.5594336986541748, 0.7359381318092346, 0.1267298012971878, 0.9489570260047913, -0.6306440830230713, 0.49615827202796936, 0.649116039276123, -0.4762810170650482, -0.7695604562759399, -0.040562812238931656, -0.24969281256198883, -1.0780391693115234, 0.9619690775871277, 0.036226965487003326, -0.19546043872833252, -0.22172008454799652, -0.1748548150062561, -0.6869058609008789, 1.1755279302597046, 0.3589564263820648, -0.5221468210220337, -0.057333000004291534, 0.16321206092834473, 0.4403088688850403, -0.4883183538913727, 0.47279244661331177, 0.3669383227825165, 0.32371318340301514, 0.3111773729324341, -0.6960450410842896, 0.2432544082403183, -0.05699073523283005, 0.04165942594408989, 0.20215432345867157, -0.5024183988571167, 0.5173763632774353, -0.31949594616889954, -0.28951942920684814, -0.303670197725296, 0.5392991900444031, 0.19041767716407776, 0.3728451728820801, 0.32869893312454224, 0.7840911746025085, 0.5863152742385864, -0.10916019976139069, 1.449558973312378, -0.22967423498630524, 0.32554423809051514, 1.0631866455078125, -0.3189471364021301, 0.28259047865867615, 0.14217539131641388, 0.12202869355678558, 0.5976854562759399, 0.22232678532600403, -0.15118597447872162, 0.6315317749977112, 0.1713046282529831, -0.04413725435733795, -0.3869877755641937, -0.12982022762298584, -0.3914833068847656, 0.6933295130729675, 0.13914626836776733, -0.36501258611679077, -0.625297486782074, -0.031085936352610588, 0.14644519984722137, 0.1368039846420288, -0.35619914531707764, 0.6168144345283508, 0.2862231433391571, -0.33368900418281555, 0.8217071294784546, 0.22798433899879456, 0.5789015293121338, -0.952377438545227, -0.031158447265625, -0.2449146807193756, -0.007089994382113218, -0.6438784599304199, -0.5453272461891174, 0.44167155027389526, -0.30092933773994446, -0.1199382096529007, -0.18362842500209808, 0.41700464487075806, -0.1842224895954132, -0.382565438747406, 0.15111704170703888, 0.6683865785598755, -0.016933830454945564, 0.5219396352767944, -0.53948575258255, 0.057821039110422134, -0.017966095358133316, -0.0936816856265068, 0.4759025573730469, 0.3566673696041107, -0.18191450834274292, 0.8048198223114014, 0.45137226581573486, 0.2509866952896118, -0.211669459939003, 0.31708651781082153, 0.6443264484405518, -0.5443577766418457, -0.4521937072277069, -0.6924687027931213, 0.37119901180267334, 0.22351156175136566, -0.35773712396621704, 0.5254958271980286, 0.681647777557373, 0.6815324425697327, 0.1609562188386917, 1.0179911851882935, -0.2694912850856781, 0.21697500348091125, -0.8408765196800232, 0.6219615936279297, -0.38683751225471497, 0.28366824984550476, -0.22779731452465057, -0.4655698537826538, -0.6195927858352661, 0.7356967926025391, -0.2802014946937561, 0.16981177031993866, 0.8692749738693237, 0.7174058556556702, -0.2845316529273987, 0.004986717365682125, 0.6243290901184082, 0.07956381142139435, 0.2362915575504303, 0.4452568590641022, 0.7367115020751953, -0.5572947859764099, 0.6633372902870178, -0.048299647867679596, -0.3270614743232727, -0.1316453367471695, -1.0389907360076904, -0.5801680684089661, -0.3235454559326172, -0.7815769910812378, -0.733461856842041, 0.36814963817596436, 0.8358669281005859, 0.9292712807655334, -0.27320417761802673, -0.46233195066452026, 0.06917079538106918, -0.17478123307228088, 0.026316121220588684, -0.20669889450073242, 0.6148550510406494, -0.33753567934036255, -0.1652735322713852, 0.20761291682720184, 0.4101146459579468, -0.24279654026031494, 0.01581941545009613, -0.2269223928451538, 0.17521606385707855, -0.05690780282020569, 0.569299042224884, 0.14177824556827545, -0.18282783031463623, -0.23865710198879242, -0.21892520785331726, -0.20361477136611938, 0.43741390109062195, 1.0727896690368652, -0.9879674315452576, 0.32521235942840576, 0.18163838982582092, 0.3261311948299408, 0.4543682932853699, -0.1499701887369156, 0.5878236293792725, -0.8273432850837708, 0.10015683621168137, 0.31167301535606384, 0.2163269966840744, 0.40126368403434753, -0.46443694829940796, 0.6820241808891296, 0.14970944821834564, -0.2722141742706299, -0.9214881062507629, 0.35182616114616394, -1.0146111249923706, -0.25543156266212463, 1.1073952913284302, -0.08550439774990082, -0.07445099204778671, 0.028788724914193153, 0.11346268653869629, 0.04987885802984238, -0.2954093813896179, 0.834168553352356, 0.14210572838783264, -0.5415371656417847, -0.16883864998817444, -0.4628581702709198, 0.6993264555931091, 0.5740711092948914, -0.7654444575309753, -0.007150618359446526, 0.5652288198471069, 0.5851085782051086, 0.1640421599149704, 0.8497382402420044, -0.36387985944747925, 0.8086028099060059, -0.1002439334988594, 0.11412344872951508, -0.2085186094045639, -0.07084435969591141, -0.5703011155128479, 0.2415386587381363, 0.32254913449287415, 0.0797695443034172 ]
http://arxiv.org/abs/2406.17903v1
http://arxiv.org/pdf/2406.17903v1
Mapping the Past: Geographically Linking an Early 20th Century Swedish Encyclopedia with Wikidata
2024-06-25T19:34:00
2024-06-25T19:34:00
Axel Ahlin, Alfred Myrne, Pierre Nugues
cs.CL
cs.CL, cs.DL
In this paper, we describe the extraction of all the location entries from a prominent Swedish encyclopedia from the early 20th century, the \textit{Nordisk Familjebok} `Nordic Family Book.' We focused on the second edition called \textit{Uggleupplagan}, which comprises 38 volumes and over 182,000 articles. This makes it one of the most extensive Swedish encyclopedias. Using a classifier, we first determined the category of the entries. We found that approximately 22 percent of them were locations. We applied a named entity recognition to these entries and we linked them to Wikidata. Wikidata enabled us to extract their precise geographic locations resulting in almost 18,000 valid coordinates. We then analyzed the distribution of these locations and the entry selection process. It showed a higher density within Sweden, Germany, and the United Kingdom. The paper sheds light on the selection and representation of geographic information in the \textit{Nordisk Familjebok}, providing insights into historical and societal perspectives. It also paves the way for future investigations into entry selection in different time periods and comparative analyses among various encyclopedias.
[ -0.8020813465118408, -0.17350350320339203, 0.5950043797492981, -0.2342545986175537, -0.254249632358551, -0.2982544004917145, 0.010765878483653069, -0.6268104910850525, 0.428836464881897, 0.4017137289047241, -0.4985426664352417, -0.7034978270530701, -0.2859763503074646, 0.08391129225492477, -0.19170130789279938, 0.4429605007171631, -0.23589661717414856, 0.054218631237745285, -0.30988189578056335, -0.34986612200737, -0.005015913397073746, -0.8026396036148071, -0.18751803040504456, -0.2715482711791992, 0.72543865442276, 0.3504689931869507, 0.7679354548454285, 0.8406205177307129, 0.21421124041080475, 0.299079954624176, -0.37198272347450256, 0.17667822539806366, -0.47767719626426697, 0.3849942088127136, -0.5263538956642151, -0.5104530453681946, -0.16669924557209015, -0.22921380400657654, 0.6185879707336426, 0.7899681925773621, 0.1943977326154709, 0.1990719884634018, -0.16351954638957977, 0.7643042802810669, -0.4778542220592499, -0.14118747413158417, -0.17611919343471527, 0.11248359829187393, -0.5008954405784607, -0.3168242871761322, -0.2215246707201004, -0.2296282798051834, 0.1524256318807602, -0.6554701328277588, 0.5366945862770081, 0.26392772793769836, 0.9398280382156372, -0.12484364211559296, -0.6986402869224548, -0.38908126950263977, -0.8627685904502869, 0.6141688823699951, -0.05251292511820793, 0.7103036642074585, 0.5359681844711304, 0.14153744280338287, -0.6123319268226624, -0.4268220067024231, -0.3934575617313385, 0.19890372455120087, -0.03209233656525612, -0.0962919071316719, -0.12021055072546005, -0.4040871560573578, 0.24337138235569, -0.0025058055762201548, -0.5462862849235535, 0.13895376026630402, -0.7585789561271667, -0.13970912992954254, 0.7393806576728821, 0.3064725399017334, 0.4212704002857208, -0.48325273394584656, -0.39328086376190186, -0.22118262946605682, -0.8967469930648804, -0.11489007622003555, 0.6687353253364563, -0.02494759112596512, 0.07514508068561554, 0.6890787482261658, -0.1735721081495285, 0.6639143228530884, 0.03941752389073372, -0.1666642725467682, 0.18418742716312408, -0.47902846336364746, 0.31928157806396484, -0.06787744909524918, 0.41240063309669495, 0.7121064066886902, 0.14653053879737854, -0.21564874053001404, -0.09587540477514267, -0.9545429348945618, 0.4553224742412567, -0.1336420774459839, -0.43055978417396545, -0.09200187772512436, -0.8390464186668396, -0.07115910947322845, 0.14457832276821136, -0.8240157961845398, -0.5074295401573181, -0.20333899557590485, -0.09605516493320465, -0.026402292773127556, -0.30672550201416016, -0.5160118341445923, -0.4637484550476074, 0.2063392698764801, 0.26181480288505554, -1.0901248455047607, -0.009271014481782913, 0.6688828468322754, 1.0001049041748047, -0.34382641315460205, -0.40619006752967834, 0.4473778307437897, 0.30267003178596497, -0.44162338972091675, 1.0280765295028687, -0.03435710445046425, -0.722237765789032, 0.14730028808116913, 0.11616414785385132, 0.4616038501262665, -0.3476818799972534, 0.2668886184692383, -0.9043769240379333, 0.1926208883523941, -0.41176384687423706, -0.15475955605506897, -0.35149452090263367, 0.033506982028484344, -1.0029675960540771, 1.2022809982299805, 0.5447492599487305, -0.7183220386505127, 0.6621577739715576, -0.44071975350379944, -0.40712228417396545, 0.08686927706003189, -0.10687361657619476, 0.11552155762910843, 0.15628056228160858, 0.14490999281406403, 0.1779620349407196, -0.09827841818332672, 0.060619596391916275, -0.4108121395111084, -0.2274509221315384, -0.10108374804258347, -0.1635182946920395, 1.405091404914856, 0.28458189964294434, -0.1472221165895462, -0.4470449388027191, -0.6729640960693359, -0.3299035429954529, 0.037456247955560684, -0.5041769742965698, -1.019636631011963, -0.13151915371418, -0.001018686918541789, 0.35594111680984497, 0.5358165502548218, -0.3571780025959015, 0.5974400043487549, -0.322178453207016, -0.1475173979997635, 0.48483291268348694, 0.22950215637683868, 0.8290581107139587, -0.021532313898205757, 0.554832935333252, -0.2100922018289566, 0.4131481647491455, 0.1998383104801178, -0.6756003499031067, -0.535043478012085, 0.1364050805568695, 0.6727855205535889, 0.4574252665042877, -0.5747559666633606, 0.5379696488380432, -0.6516104936599731, -0.6133757829666138, -0.19991980493068695, -0.07672709971666336, -0.4374009072780609, 0.31830763816833496, -0.019299406558275223, -0.07390666753053665, -0.7472758293151855, -0.8218895792961121, 0.2204219549894333, -0.438385009765625, -0.39933690428733826, 0.52616286277771, 0.5538604855537415, -0.10403083264827728, 0.8113254308700562, -0.6119115948677063, -0.009980179369449615, 0.2971843183040619, -0.028081664815545082, 0.3296562433242798, 0.08040301501750946, 0.8613364696502686, -1.23070228099823, -0.39247334003448486, 0.2230784147977829, -0.5414869785308838, -0.047217804938554764, 0.027180669829249382, -0.6998893022537231, 0.41204142570495605, 0.2081606686115265, -0.479512482881546, 0.5932947397232056, 0.22157081961631775, -0.5977911353111267, 0.3804965913295746, -0.3638717830181122, 0.4325399398803711, -0.9624505043029785, 0.33631858229637146, -0.6484833359718323, -0.04255363345146179, -0.06525526195764542, -0.19203320145606995, 0.1887120008468628, 0.013745569624006748, -0.3194079101085663, 0.6319619417190552, -0.6146782636642456, -0.1122371181845665, 0.23054718971252441, 0.1235428899526596, -0.19353730976581573, 0.16912055015563965, -0.15520089864730835, 0.42423108220100403, -0.03335045650601387, -0.2633662223815918, 0.5876127481460571, 0.44242241978645325, -0.345440536737442, 0.7136462330818176, 0.2648150324821472, 0.06336379051208496, -0.1889132857322693, 0.15637564659118652, -1.0527560710906982, -0.2586762011051178, 0.10995125770568848, -0.5467173457145691, 0.291697233915329, -0.2569032609462738, -0.4571790099143982, -0.3990386724472046, -0.15260910987854004, 0.1524554044008255, 0.2758377194404602, -0.675257682800293, 0.9524283409118652, 0.7824676632881165, -0.6904701590538025, -0.6966408491134644, -0.25531700253486633, 0.21954897046089172, -0.054719436913728714, -0.4791020452976227, 0.06013143062591553, 0.038058217614889145, -0.2801566421985626, 0.41502732038497925, -0.3175191283226013, -0.38661274313926697, 0.25323283672332764, 0.472160279750824, 0.5924835205078125, -0.18254993855953217, 0.11766590923070908, 0.1360996514558792, -0.06720937788486481, 0.06578381359577179, -0.3870480954647064, 0.4417295455932617, 0.6383637189865112, 0.2472294718027115, 0.10969228297472, 0.8945844769477844, 0.5483018159866333, 0.15361005067825317, 0.8182582855224609, 0.07413026690483093, -0.5240265130996704, 0.04980514198541641, -0.4433462619781494, 0.22453822195529938, -0.3874703049659729, 0.08242148160934448, -0.3094424605369568, -0.5760947465896606, 0.5099979043006897, -0.15817399322986603, 0.06504750996828079, 1.024102807044983, 0.32085564732551575, -0.6774309873580933, 0.5562912821769714, 0.48828697204589844, -0.057484220713377, 0.4450535476207733, -0.21994662284851074, 0.16230295598506927, -0.48703545331954956, -0.731475830078125, -0.7782810926437378, -0.4838397204875946, -0.5099650025367737, -0.06926374137401581, 0.38036590814590454, 0.18647439777851105, -0.08909358829259872, 0.1839587390422821, -0.21134081482887268, 0.5413592457771301, 0.5823556184768677, -0.20493289828300476, 0.29369333386421204, 0.3802793323993683, -0.346727192401886, -0.12205324321985245, -0.8204335570335388, -0.4123108685016632, 1.2744991779327393, 0.1275203824043274, 0.4556674063205719, 0.3445550799369812, 0.9096544981002808, 0.34961023926734924, 0.5919185280799866, -0.47424307465553284, 0.22664906084537506, -0.24359512329101562, -1.107775330543518, -0.43728208541870117, -0.04648011550307274, -1.0064822435379028, 0.047487907111644745, -0.31710919737815857, -0.5710283517837524, 0.8386938571929932, -0.07175955921411514, -0.4436149597167969, 0.12589578330516815, -0.5301828980445862, 0.5077542066574097, -0.3107076585292816, 0.06984613835811615, 0.051167912781238556, -0.8927910327911377, -0.05404181778430939, -0.18427446484565735, 0.4522833228111267, 0.3728739023208618, -0.1522766500711441, 0.8946742415428162, -0.16770854592323303, 0.5474020838737488, -0.212435781955719, -0.1995394080877304, 0.027728227898478508, 0.2398349642753601, 0.2268422544002533, -0.2742984890937805, 0.035733021795749664, 0.5617175698280334, 0.32742300629615784, -0.23257146775722504, -0.6296462416648865, 1.0634818077087402, -0.7267104983329773, -0.31557056307792664, -0.44198745489120483, -0.34754323959350586, 0.21931636333465576, 0.6251786947250366, 0.44045960903167725, 0.49593499302864075, -0.10245256870985031, 0.3771180808544159, 0.7256236672401428, 0.2613286077976227, 0.1736910492181778, 0.37163782119750977, -0.24959047138690948, -0.5679359436035156, 0.477981835603714, 0.918042004108429, -0.30415406823158264, 0.44419851899147034, -0.056613489985466, -0.6183359622955322, -0.6224370002746582, -0.1739671379327774, 0.2913307845592499, -1.0589240789413452, -0.16859376430511475, -0.6205520033836365, 0.16246449947357178, -0.4397748112678528, -0.4949161112308502, -0.006993747781962156, -0.5082601308822632, -0.36454087495803833, -0.20242802798748016, 0.08400402218103409, 0.9584483504295349, -0.4448342025279999, 0.12204299867153168, -0.4389229714870453, 0.33189377188682556, -0.022446099668741226, 0.26422083377838135, 0.06507103890180588, 0.15452830493450165, -0.3966130316257477, -0.2884467840194702, 0.10216578841209412, -1.1549021005630493, 0.08902745693922043, -0.2041264772415161, 0.6056700348854065, 0.3417775630950928, 0.1000087559223175, 0.4365726411342621, -0.7147224545478821, 0.96694016456604, 0.05275798961520195, -0.11827997118234634, 0.2559353709220886, -0.29477789998054504, 0.2873929440975189, 0.6279116272926331, 0.795200526714325, -0.5814675688743591, 0.07929827272891998, -0.7990984320640564, -1.3143662214279175, 0.2271476835012436, -0.4162198305130005, -0.09111101180315018, 0.009807606227695942, 0.6443972587585449, 0.3524625301361084, -0.175058051943779, -0.17154651880264282, -0.5878389477729797, 0.037711095064878464, -0.2772766649723053, -0.1255195587873459, -0.495330810546875, -0.24083955585956573, -0.4116213023662567, 0.5257959365844727, 0.39011523127555847, 0.19973811507225037, 0.33887144923210144, -0.41522255539894104, -0.04344678297638893, -0.12168557196855545, 0.4426349699497223, 1.0028326511383057, -0.018140273168683052, 0.3072717487812042, 0.13828933238983154, -0.9383713603019714, 0.1650496870279312, 0.06122739240527153, -0.6229684948921204, 0.63138747215271, 0.47672751545906067, 0.5077129602432251, 0.5076030492782593, -0.1991804838180542, 0.3857055902481079, 0.131446972489357, 0.11159563809633255, -0.7723873853683472, 0.05906295403838158, 0.13016696274280548, 0.6077777147293091, 0.8648268580436707, -0.39286088943481445, 0.24702408909797668, -0.03560229018330574, 0.21962206065654755, 0.2854646146297455, 0.04494331777095795, -0.025282755494117737, 0.5876316428184509, 0.2579568028450012, -0.5457127094268799, 0.5928639769554138, -0.006926260888576508, -0.4985324442386627, 0.32822391390800476, 0.30582016706466675, 0.5676442384719849, -0.35829123854637146, 0.1717536747455597, 0.6018190383911133, 0.4409516453742981, 0.10401418805122375, 0.3079628050327301, -0.3750068247318268, -0.3169346749782562, 0.06917664408683777, -0.5874341130256653, -0.029384750872850418, -0.041912741959095, -0.592769205570221, 0.11670491844415665, 0.02358393743634224, -0.32174497842788696, -0.11454134434461594, 0.23084285855293274, -1.2060165405273438, 0.11010463535785675, 0.05239660292863846, 1.1306416988372803, -0.8502061367034912, 0.45412465929985046, 0.5754222273826599, 0.1469426155090332, -0.29165899753570557, -0.1432085931301117, 0.15577051043510437, -0.4252745807170868, 0.7982069253921509, -0.563531219959259, -0.1866362988948822, 0.03617037087678909, -0.5838090181350708, -0.9716755747795105, 1.2455538511276245, -0.33354148268699646, -0.47873449325561523, -0.36740848422050476, -0.3162175714969635, 0.446125328540802, -0.4245297610759735, -0.2225961834192276, 0.5163560509681702, 0.5100802779197693, -0.29093268513679504, -0.60273277759552, -0.20852313935756683, -0.13880042731761932, 0.10673180222511292, 0.5667955279350281, 0.046930838376283646, 0.5619648098945618, -0.13994501531124115, -0.4570123851299286, 0.12714700400829315, 0.5396642684936523, -0.28916382789611816, 0.17348416149616241, 0.40871068835258484, 0.34184530377388, 0.9896678328514099, -0.209622323513031, 1.1464768648147583, 0.10286062955856323, 0.48392948508262634, 0.9229869246482849, -0.0007868651882745326, 0.9613606929779053, 0.7335699200630188, -0.3710298240184784, 0.5008162260055542, 0.9512129426002502, -0.07827128469944, 0.8870755434036255, -0.28392407298088074, -0.2685226798057556, 0.20239056646823883, 0.12195348739624023, -0.3547384738922119, 0.22781185805797577, 0.3082459568977356, -0.5158583521842957, -0.49672964215278625, 0.058164771646261215, 0.21430934965610504, -0.5204529166221619, -0.3330512046813965, 0.8509371280670166, -0.24697373807430267, -0.4553850591182709, 0.39825868606567383, -0.45761987566947937, 0.19968359172344208, -0.6524830460548401, -0.07643019407987595, -0.34434768557548523, -0.4129692316055298, -0.13056127727031708, -0.931614339351654, 0.14083683490753174, -0.24844689667224884, -0.5465328097343445, 0.03726127743721008, 0.7101100087165833, -0.4759000837802887, -0.19646991789340973, 0.08528737723827362, 0.24904505908489227, 0.3603802025318146, 0.519816517829895, -0.01264183595776558, 0.0770719051361084, 0.03696679323911667, -0.453734815120697, 0.13438107073307037, 0.522454023361206, -0.13901586830615997, 0.15150059759616852, 0.6935858726501465, 0.21881620585918427, 0.10202285647392273, -0.5983442664146423, 0.46478143334388733, -0.9107009768486023, -0.8139501810073853, -0.588927686214447, 0.4826604127883911, -0.5088367462158203, -0.5714008212089539, 0.766577422618866, 0.7039365172386169, 1.0616310834884644, -0.20500800013542175, 0.711033284664154, -0.26049304008483887, 0.3759823739528656, -0.2770008444786072, 1.1286351680755615, -0.49441400170326233, -0.3407950699329376, 0.2323833554983139, -0.9954478144645691, -0.4472617506980896, 0.6721137762069702, -0.33229759335517883, -0.44366690516471863, 0.5861287117004395, 0.42275917530059814, -0.030479082837700844, -0.0901196300983429, 0.1266189068555832, 0.3493022620677948, -0.07365009933710098, -0.04908803477883339, 0.6581852436065674, 0.00902422796934843, 0.2509308159351349, -0.48099803924560547, -0.37418463826179504, -0.5770635604858398, -0.8714504837989807, -0.45647913217544556, -1.1652876138687134, 0.17147323489189148, -0.45471644401550293, 0.0804215520620346, 0.8111853003501892, 0.30786147713661194, -0.6632677316665649, 0.015955237671732903, 0.9232687950134277, 0.4138108491897583, -0.08615368604660034, -0.13117611408233643, 0.6458140015602112, 0.43298476934432983, -0.4034627676010132, 0.3254754841327667, 0.30603542923927307, 0.17189492285251617, -0.45128580927848816, 0.033428970724344254, -0.21590390801429749, -0.19373902678489685, 0.4621756970882416, 0.3803977966308594, -0.49128106236457825, -0.47566819190979004, 0.015989059582352638, -0.1770199090242386, 0.11250324547290802, 0.8429493308067322, -0.4515000581741333, 0.7583216428756714, 0.7285807132720947, 0.2792556583881378, 0.576360285282135, -0.16411493718624115, 0.43499886989593506, -0.4597058892250061, 0.13328136503696442, 0.05423767864704132, 0.18181723356246948, 0.20064128935337067, -0.6731112003326416, 0.44987747073173523, 0.26854372024536133, -0.5114977359771729, -0.8800361752510071, -0.1348828822374344, -0.6523331999778748, -0.2610461115837097, 0.9945564866065979, 0.13862061500549316, -0.7520555257797241, -0.6923323273658752, -0.33243897557258606, 0.3213300406932831, -0.03311782330274582, 0.9104011654853821, 1.4587101936340332, -0.1327284723520279, 0.18577736616134644, -0.9674240350723267, 0.24219997227191925, -0.46125853061676025, -0.4163219630718231, -0.3480289876461029, 0.7870347499847412, 0.5646784901618958, 0.48323190212249756, 0.46751561760902405, -0.23623457551002502, 0.3115968108177185, 0.152049258351326, 0.25678277015686035, -0.029126007109880447, -0.6193422079086304, -0.30773383378982544, 0.4368302822113037, -0.18339267373085022, -0.06546683609485626 ]
http://arxiv.org/abs/2406.17901v1
http://arxiv.org/pdf/2406.17901v1
Script-Agnostic Language Identification
2024-06-25T19:23:42
2024-06-25T19:23:42
Milind Agarwal, Joshua Otten, Antonios Anastasopoulos
cs.CL
cs.CL
Language identification is used as the first step in many data collection and crawling efforts because it allows us to sort online text into language-specific buckets. However, many modern languages, such as Konkani, Kashmiri, Punjabi etc., are synchronically written in several scripts. Moreover, languages with different writing systems do not share significant lexical, semantic, and syntactic properties in neural representation spaces, which is a disadvantage for closely related languages and low-resource languages, especially those from the Indian Subcontinent. To counter this, we propose learning script-agnostic representations using several different experimental strategies (upscaling, flattening, and script mixing) focusing on four major Dravidian languages (Tamil, Telugu, Kannada, and Malayalam). We find that word-level script randomization and exposure to a language written in multiple scripts is extremely valuable for downstream script-agnostic language identification, while also maintaining competitive performance on naturally occurring text.
[ -0.17450286448001862, -0.4003174304962158, 0.42491719126701355, 0.26736581325531006, -0.15428103506565094, 0.8313109278678894, -0.5646413564682007, -0.40534019470214844, 0.36401474475860596, 0.016471533104777336, -0.526140034198761, -0.3095567524433136, -0.4527174234390259, 0.28321078419685364, -0.4742719233036041, 0.5789197683334351, -0.374157190322876, -0.05256979539990425, 0.17450323700904846, -0.4007411003112793, -0.32632505893707275, -0.4910982847213745, -0.3677283227443695, -0.1678096354007721, 0.4664250612258911, 0.12494849413633347, 0.682800829410553, 1.1546802520751953, 0.2810424864292145, 0.44473811984062195, 0.31772950291633606, 0.14847125113010406, -0.017306668683886528, 0.14482980966567993, -0.14975605905056, -0.7728129625320435, 0.3832973837852478, 0.16450786590576172, 0.8300101161003113, 0.7261560559272766, -0.41222500801086426, 0.35103839635849, -0.5057450532913208, 0.3475070893764496, -0.7169740200042725, 0.30765217542648315, -0.5630951523780823, 0.305242657661438, -0.6699814200401306, -0.16178283095359802, -0.2763994038105011, -0.652911365032196, 0.13998663425445557, -0.56678307056427, 0.1926143616437912, -0.13643953204154968, 0.7555493116378784, 0.20826603472232819, -0.004887429066002369, -0.7328111529350281, -1.0026423931121826, 0.8918634057044983, -0.3452660143375397, 0.1872880905866623, 0.3540988862514496, 0.4467969834804535, 0.11789713054895401, -0.27345672249794006, -0.9526097774505615, -0.061960916966199875, -0.15374858677387238, 0.19534513354301453, 0.0993897095322609, -0.1880294382572174, 0.11934500932693481, 0.5580698847770691, -0.3984270989894867, 0.15919926762580872, -0.34150299429893494, -0.5774865746498108, 0.3415446877479553, 0.10909479111433029, 0.6157695055007935, -0.12929563224315643, -0.26092106103897095, -0.3091141879558563, -0.2694331109523773, 0.17679168283939362, 0.731181800365448, 0.41447845101356506, 0.002461307216435671, 0.4907723367214203, 0.17683610320091248, 0.7812649607658386, 0.05053681507706642, -0.33629757165908813, 0.22402362525463104, -0.3526630103588104, -0.07865246385335922, 0.14122667908668518, 0.5503000020980835, -0.16069690883159637, 0.4350563585758209, -0.17134159803390503, 0.0015439747367054224, 0.7281233668327332, 0.23568269610404968, -0.2841850817203522, 0.023473398759961128, 0.0128222880885005, -0.19973984360694885, -0.3152223825454712, -0.19248339533805847, -0.9077318906784058, -0.6549834609031677, -0.32235583662986755, 0.2626834511756897, -0.7320243120193481, -0.689934253692627, -0.19261828064918518, -0.3398992121219635, 0.7383320927619934, 0.24550454318523407, -1.2345761060714722, 0.35967692732810974, 0.2540121376514435, 0.6219146847724915, -0.2462662309408188, -0.5592629909515381, -0.09082463383674622, 0.18677294254302979, -0.43477797508239746, 0.6726847887039185, -1.015284538269043, -0.24608585238456726, 0.14497996866703033, -0.3354744613170624, -0.2956770956516266, -0.3627218008041382, 0.06868423521518707, -0.6034743189811707, 0.29326653480529785, 0.009488798677921295, -0.256801575422287, -0.1282276213169098, -0.09899032860994339, -0.4160054624080658, 0.819085419178009, 0.4872265160083771, -0.666195809841156, 0.5042622685432434, -0.09715891629457474, -0.41203927993774414, 0.09440334886312485, -0.6546618342399597, -0.301996111869812, 0.30243268609046936, -0.22197787463665009, 0.1320178061723709, 0.07583414018154144, -0.05870281904935837, -0.0881817415356636, -0.26563793420791626, 0.1541135609149933, -0.5153692960739136, 0.5229017734527588, 0.5617012977600098, -0.2011423259973526, 0.002733207307755947, -0.9766705632209778, 0.21097064018249512, 0.15215538442134857, -0.2900928556919098, -0.5553370714187622, -0.26126155257225037, -0.016508392989635468, 0.12361171096563339, 0.2241867482662201, -0.6567623615264893, 0.26400354504585266, -0.3752709925174713, 0.278057724237442, 0.821682333946228, -0.3874281048774719, 0.5382619500160217, -0.1039048433303833, 0.5463951230049133, 0.2357780635356903, -0.25536614656448364, -0.337321937084198, -0.17717792093753815, -0.7297625541687012, -0.543874979019165, 0.3679729402065277, 0.5922632217407227, -0.6408342123031616, -0.23056884109973907, -0.11317287385463715, -0.4612455666065216, -0.8683469295501709, 0.39206603169441223, 0.6121722459793091, 0.15590813755989075, 0.15955263376235962, -0.4581243097782135, -0.6744906902313232, -0.7843726873397827, -0.46356475353240967, -0.1451593041419983, -0.0047852941788733006, -0.14996083080768585, 0.06128041446208954, -0.2366843819618225, 0.8789133429527283, -0.3486420512199402, -0.2545919716358185, -0.40950390696525574, 0.15973025560379028, 0.13563217222690582, 0.043079957365989685, 0.5733785033226013, -0.6732734441757202, -0.8964492082595825, 0.19932469725608826, -0.623510479927063, -0.055165618658065796, -0.11730389297008514, 0.3025193214416504, 0.42203301191329956, 0.48519542813301086, -0.3400830030441284, 0.6140022873878479, 0.5160368084907532, 0.05917659401893616, 0.39758917689323425, -0.5975574254989624, -0.035923708230257034, -1.0379424095153809, -0.08094505220651627, -0.0909058004617691, -0.05583721026778221, -0.7158409357070923, 0.11096588522195816, 0.3449682593345642, -0.17306847870349884, -0.18268704414367676, 0.5310067534446716, -0.7766169309616089, 0.08807769417762756, -0.21015124022960663, 0.13770771026611328, -0.39738908410072327, 0.5737988948822021, 0.3114278018474579, 0.9969642758369446, 0.8188088536262512, -0.42079323530197144, 0.17889127135276794, -0.00009670203871792182, -0.13277935981750488, 0.3448390066623688, -0.26227182149887085, 0.010174522176384926, -0.4268513023853302, -0.01563413254916668, -1.032691478729248, -0.51644366979599, 0.004803320858627558, -0.5621680617332458, 0.6686370968818665, -0.08486902713775635, -0.31751036643981934, -0.18686631321907043, -0.2571954131126404, 0.3602532148361206, 0.6000372171401978, -0.31626570224761963, 0.6343381404876709, 0.6481138467788696, 0.0715157687664032, -0.7373659014701843, -0.7031534314155579, -0.17315246164798737, -0.4532507061958313, -0.008676469326019287, -0.04076535254716873, 0.16519218683242798, -0.25292202830314636, -0.3286077380180359, -0.38215500116348267, -0.14548476040363312, -0.20228907465934753, 0.25544530153274536, 0.22269786894321442, 0.02045394480228424, 0.0362907238304615, -0.0941120907664299, -0.3541208505630493, -0.2534893751144409, -0.4571619927883148, 0.6001402735710144, -0.1682390570640564, -0.4697902500629425, -0.40249741077423096, 0.5588627457618713, 0.6056818962097168, -0.345098078250885, 0.5753030180931091, 0.9253724217414856, -0.4073297083377838, -0.195771723985672, -0.4957629144191742, 0.21554440259933472, -0.46976613998413086, 0.020311245694756508, -0.550724446773529, -0.5924915671348572, 0.8628671169281006, -0.334192156791687, -0.31170353293418884, 0.4289086163043976, 0.7972315549850464, 0.2567228674888611, 0.8786516189575195, 0.8498076796531677, -0.3079894483089447, 0.49002790451049805, 0.007384689059108496, 0.18645519018173218, -0.46539172530174255, 0.003932730760425329, -0.653928816318512, 0.030694512650370598, -0.8661134243011475, -0.3849717378616333, -0.017017636448144913, -0.16304616630077362, 0.14811712503433228, 0.6894551515579224, -0.48665350675582886, 0.6039862632751465, 0.557238757610321, -0.290566623210907, 0.1921878159046173, 0.25803834199905396, -0.6893782019615173, -0.027821650728583336, -0.34762296080589294, -0.471930593252182, 1.0624526739120483, 0.18499426543712616, 0.786345362663269, 0.32035818696022034, 0.8920799493789673, 0.285025030374527, 0.07427669316530228, -0.4013732969760895, 0.3109440803527832, -0.04427587613463402, -0.657596230506897, -0.22753694653511047, -0.29883792996406555, -0.8272250890731812, 0.2081332504749298, 0.06098422780632973, -0.9439107775688171, 0.3071955740451813, -0.15979786217212677, -0.469496488571167, 0.11647984385490417, -1.201606035232544, 0.3937757909297943, 0.02989373542368412, -0.3591247498989105, -0.3202255070209503, -0.6983809471130371, -0.02656448446214199, -0.27884441614151, 0.42775946855545044, 0.10880224406719208, -0.08008279651403427, 0.3603077232837677, -0.32639840245246887, 0.8420488238334656, -0.06641113013029099, 0.12124232947826385, 0.3678848147392273, 0.12578189373016357, 0.19642288982868195, 0.20876173675060272, -0.1056598648428917, 0.04058225080370903, 0.12126070261001587, -0.6522494554519653, -0.3870353698730469, 0.731296718120575, -1.217280387878418, -0.43280935287475586, -0.8643186092376709, -0.2953662574291229, -0.08506117761135101, 0.7177626490592957, 0.08463694155216217, 0.5670725703239441, 0.07957679033279419, -0.38116076588630676, 0.734957218170166, -0.14089031517505646, 0.6779910326004028, 0.528788685798645, -0.24798442423343658, -0.36080724000930786, 1.0339949131011963, 0.05782322958111763, 0.392161101102829, 0.22965461015701294, 0.13487109541893005, -0.4232754707336426, -0.7740504145622253, -0.8565061688423157, 0.1694599837064743, -0.7836541533470154, 0.12759162485599518, -0.5196412205696106, -0.20172829926013947, -0.15081562101840973, -0.1817908138036728, -0.3625483810901642, -0.4576775133609772, -0.03691449016332626, 0.04376773163676262, 0.315075159072876, 0.670448362827301, -0.1378496140241623, 0.30238038301467896, -0.42892131209373474, 0.3954204022884369, 0.30068516731262207, 0.6717373132705688, -0.026062076911330223, -0.12396936118602753, -0.11748772114515305, 0.04266015812754631, -0.012302091345191002, -0.80381840467453, 0.3463573753833771, 0.37821507453918457, 0.8663935661315918, 0.2791846990585327, -0.11802809685468674, 0.8357367515563965, -0.5131046175956726, 0.4065036475658417, 0.22685189545154572, -0.8102705478668213, 0.49943870306015015, -0.5029193758964539, 0.41095253825187683, 0.9148061275482178, 0.5547537803649902, -0.4877408742904663, -0.5059576630592346, -0.3958800733089447, -0.7908499240875244, 0.7316420078277588, 0.22162196040153503, 0.2556212246417999, -0.11671243607997894, 0.4044588506221771, 0.4669778347015381, 0.37541094422340393, -0.46503686904907227, -0.4012618064880371, -0.3983541429042816, -0.32560381293296814, -0.03347635641694069, 0.25371888279914856, -0.02986120991408825, -0.23302696645259857, 0.029894400388002396, -0.13838635385036469, 0.26763471961021423, 0.20863796770572662, -0.35152459144592285, -0.3308444917201996, 0.18502509593963623, 0.6277341842651367, 0.5919162034988403, -0.1474531888961792, 0.4179752469062805, 0.06069273129105568, -0.9958008527755737, 0.23674720525741577, -0.03619052469730377, -0.05618704482913017, -0.03049522452056408, 0.17756123840808868, 0.5297041535377502, -0.22333648800849915, -0.4729514420032501, 0.16103826463222504, -0.3827242851257324, 0.3166297376155853, -0.745717465877533, 0.26480671763420105, -0.11060412973165512, -0.0778084322810173, 0.472899466753006, 0.4057471454143524, -0.14480963349342346, -0.8996403217315674, 0.12461446970701218, 0.38311225175857544, -0.5355241298675537, -0.44081488251686096, 0.44500860571861267, -0.1028241515159607, -0.3660587966442108, 0.473641574382782, -0.32127562165260315, -0.4068756401538849, 0.3608095049858093, 0.5118109583854675, 0.8927714228630066, -0.4631795287132263, 0.21604017913341522, 0.33057889342308044, 0.14953117072582245, -0.0006260553491301835, 0.16782568395137787, -0.276295930147171, -0.610957682132721, -0.3434017300605774, -1.037363052368164, -0.4998946189880371, -0.2949081063270569, -0.5167754888534546, 0.440185010433197, -0.49914923310279846, 0.03126394748687744, 0.3463877737522125, 0.20924487709999084, -0.6726576685905457, -0.11666400730609894, 0.38375526666641235, 0.7174009680747986, -0.8934550285339355, 1.0471619367599487, 0.762511134147644, -0.6918710470199585, -0.8285312056541443, 0.11636913567781448, 0.29873451590538025, -1.1171492338180542, 0.19633014500141144, 0.25803521275520325, -0.2544936239719391, 0.27465590834617615, -0.10985612869262695, -0.9771991968154907, 1.0485705137252808, 0.049054235219955444, -0.0661805272102356, 0.09584753215312958, 0.4132261574268341, 1.1011134386062622, -0.4960399270057678, 0.6716485619544983, 0.46133530139923096, 0.45682501792907715, 0.10196813195943832, -1.0723698139190674, 0.011795823462307453, -0.2625235915184021, 0.23706868290901184, 0.3158133924007416, -0.7404033541679382, 0.6996703743934631, -0.24245227873325348, -0.6393129825592041, 0.03688567131757736, 0.6089695692062378, 0.11335944384336472, 0.17230097949504852, 0.2586171329021454, 0.48504695296287537, 0.7713338136672974, -0.0062220399267971516, 0.938496470451355, -0.12091823667287827, 0.0534994974732399, 0.6649933457374573, -0.42095062136650085, 0.5251756310462952, 0.527475893497467, -0.3306751549243927, 0.7191576361656189, 0.3742374777793884, 0.111440010368824, 0.681138813495636, 0.5312488079071045, -0.25323787331581116, 0.021351169794797897, 0.026520472019910812, -0.305051326751709, 0.675999641418457, 0.5885716676712036, -0.10287460684776306, -0.516510009765625, 0.03268188610672951, 0.12472148984670639, 0.3654482364654541, -0.14642378687858582, 0.8581230044364929, -0.14225098490715027, -0.7328212261199951, 0.7465594410896301, -0.21424925327301025, 0.6836811304092407, -0.9845680594444275, 0.06318769603967667, -0.105815589427948, 0.5122348666191101, -0.03459794074296951, -0.6181155443191528, 0.6492420434951782, -0.16111676394939423, -0.17795106768608093, -0.3517490029335022, 0.796741783618927, -0.5137408375740051, -0.3438047468662262, 0.3328614830970764, 0.4439385235309601, -0.03981880098581314, 0.4500860571861267, -0.23361057043075562, 0.1503714621067047, -0.04643707349896431, -0.03404403105378151, 0.8109052181243896, 0.4020993411540985, -0.33293023705482483, 0.6857409477233887, 0.7040684819221497, 0.22017745673656464, 0.238067626953125, -0.08281128108501434, 0.7664357423782349, -0.596264123916626, -0.3744845688343048, -0.7281145453453064, 0.13824647665023804, -0.18236196041107178, -0.22036249935626984, 1.0625115633010864, 0.2871948778629303, 0.9336552619934082, -0.3289942145347595, 1.0390329360961914, -0.21365006268024445, 0.6642054319381714, -0.04266377165913582, 0.7150084376335144, -0.17017057538032532, 0.11386905610561371, -0.3175874352455139, -0.6453683972358704, -0.25901228189468384, 0.5488232970237732, -0.015728985890746117, -0.199818953871727, 0.6811110377311707, 0.4940527677536011, -0.0731855109333992, -0.05952276289463043, 0.19939091801643372, -0.0672852024435997, 0.011263989843428135, 0.2792550325393677, 0.7520021796226501, -0.22926115989685059, 0.611310601234436, -0.212421253323555, -0.6012468934059143, 0.1160460114479065, -0.7419596910476685, -0.8247900605201721, -0.7234955430030823, -0.24389533698558807, -0.2648898959159851, -0.11534580588340759, 0.7473241686820984, 0.352694034576416, -0.9015851616859436, -0.3494056165218353, -0.15999557077884674, 0.1623692810535431, -0.3346463739871979, -0.14159850776195526, 0.3160017728805542, -0.33503299951553345, -0.773977518081665, 0.2215542197227478, 0.5214957594871521, -0.03746400400996208, -0.6691387891769409, 0.1997321993112564, -0.2623225152492523, 0.278513640165329, 0.17080910503864288, 0.7248554825782776, -0.5842179656028748, -0.44087788462638855, 0.1872628778219223, -0.256952702999115, -0.03872346505522728, 0.7607446312904358, -0.9701814651489258, 0.6952282786369324, 0.6268494725227356, 0.4460127651691437, 0.151470348238945, -0.2626374363899231, 0.5528049468994141, -0.8793641924858093, 0.40123307704925537, -0.07992476224899292, 0.13133041560649872, 0.2917329668998718, -0.1127176359295845, 0.3407464027404785, 0.3238750100135803, -0.28807443380355835, -0.7714939713478088, 0.5241208672523499, -0.9867167472839355, 0.07662783563137054, 1.07877779006958, -0.09069729596376419, -0.407224178314209, -0.60077965259552, -0.1371508091688156, 0.379038542509079, -0.2068822681903839, 0.7762300968170166, 0.8867119550704956, 0.048795055598020554, -0.001058776630088687, -0.48935753107070923, 0.7598076462745667, 0.007069418206810951, -0.21667484939098358, 0.12361784279346466, 0.09681231528520584, 0.3466324210166931, 0.8015950322151184, 0.6991783380508423, -0.3814234137535095, 0.03167365863919258, 0.14981451630592346, -0.03982732445001602, 0.14517877995967865, -0.12269210815429688, -0.3929573595523834, 0.05063552409410477, 0.040313366800546646, -0.16153305768966675 ]
http://arxiv.org/abs/2406.17888v1
http://arxiv.org/pdf/2406.17888v1
CTBench: A Comprehensive Benchmark for Evaluating Language Model Capabilities in Clinical Trial Design
2024-06-25T18:52:48
2024-06-25T18:52:48
Nafis Neehal, Bowen Wang, Shayom Debopadhaya, Soham Dan, Keerthiram Murugesan, Vibha Anand, Kristin P. Bennett
cs.CL
cs.CL, cs.AI, cs.LG
CTBench is introduced as a benchmark to assess language models (LMs) in aiding clinical study design. Given study-specific metadata, CTBench evaluates AI models' ability to determine the baseline features of a clinical trial (CT), which include demographic and relevant features collected at the trial's start from all participants. These baseline features, typically presented in CT publications (often as Table 1), are crucial for characterizing study cohorts and validating results. Baseline features, including confounders and covariates, are also necessary for accurate treatment effect estimation in studies involving observational data. CTBench consists of two datasets: "CT-Repo," containing baseline features from 1,690 clinical trials sourced from clinicaltrials.gov, and "CT-Pub," a subset of 100 trials with more comprehensive baseline features gathered from relevant publications. Two LM-based evaluation methods are developed to compare the actual baseline feature lists against LM-generated responses. "ListMatch-LM" and "ListMatch-BERT" use GPT-4o and BERT scores (at various thresholds), respectively, for evaluation. To establish baseline results, advanced prompt engineering techniques using LLaMa3-70B-Instruct and GPT-4o in zero-shot and three-shot learning settings are applied to generate potential baseline features. The performance of GPT-4o as an evaluator is validated through human-in-the-loop evaluations on the CT-Pub dataset, where clinical experts confirm matches between actual and LM-generated features. The results highlight a promising direction with significant potential for improvement, positioning CTBench as a useful tool for advancing research on AI in CT design and potentially enhancing the efficacy and robustness of CTs.
[ -0.45806753635406494, -0.8015561103820801, 0.5223261713981628, 0.0005289213149808347, -0.350103497505188, 0.1578824520111084, -0.2920762896537781, -0.34731730818748474, -0.14767448604106903, 0.47766393423080444, -0.24050825834274292, -0.8011883497238159, -0.5436603426933289, 0.13632045686244965, -0.4745689034461975, 0.8656911849975586, -0.029656480997800827, 0.3761819005012512, -0.02224789932370186, -0.3711897134780884, -0.8071193099021912, -0.44415271282196045, -0.5287176966667175, -0.2948378026485443, 0.5532991290092468, 0.288786917924881, 0.6541796326637268, 0.6251410841941833, 0.7512656450271606, 0.284035861492157, -0.12418346107006073, -0.3377244472503662, -0.5190377235412598, 0.11396899074316025, -0.06563803553581238, -0.6310824751853943, -0.43574264645576477, 0.11200603097677231, 0.42282411456108093, 0.8445615172386169, -0.11769787222146988, -0.015377420000731945, 0.1362776905298233, 0.4008880853652954, -0.8117972612380981, -0.0359104685485363, -0.45531708002090454, 0.06211201474070549, -0.40093696117401123, -0.14119255542755127, -0.3505019247531891, -0.7065981030464172, 0.3682972192764282, -0.24665941298007965, 0.4579930305480957, -0.054776955395936966, 0.8166493773460388, -0.0006395717500708997, -0.49312639236450195, -0.172552227973938, -0.18783913552761078, 0.5995476245880127, -0.7872088551521301, 0.18790625035762787, 0.3170911967754364, 0.7140533328056335, -0.3061569035053253, -0.8246564269065857, -0.31377479434013367, -0.6924397945404053, -0.21165962517261505, 0.3504072427749634, -0.1952432543039322, 0.5103804469108582, 0.3844921588897705, 0.4398239850997925, -1.0066254138946533, 0.20439808070659637, -0.3763163685798645, -0.4208853542804718, 0.3707367181777954, 0.24071188271045685, 0.31891873478889465, -0.09934087097644806, -0.3998318910598755, -0.352498322725296, -0.7157403826713562, -0.06044072285294533, -0.11721480637788773, 0.39297786355018616, -0.12765362858772278, 0.48906058073043823, -0.20234711468219757, 0.7351824045181274, -0.15390139818191528, 0.03631465137004852, 0.4476650655269623, -0.5079146027565002, -0.2773674726486206, 0.1760958582162857, 0.664019763469696, 0.4002450406551361, 0.039725132286548615, -0.13343104720115662, 0.029333025217056274, 0.13930444419384003, 0.4277995228767395, -0.7250522375106812, -0.08272453397512436, 0.28157490491867065, -0.5580617189407349, -0.3065313696861267, -0.006429840344935656, -0.7336540222167969, -0.470834344625473, -0.1485457420349121, 0.21713384985923767, -0.47444087266921997, -0.233093723654747, -0.23978345096111298, -0.36264827847480774, 0.2888358533382416, 0.31550896167755127, -0.3679356873035431, 0.36027562618255615, 0.6061151027679443, 0.9651952385902405, -0.4411478042602539, -0.22280941903591156, -0.5065032243728638, -0.18286734819412231, -0.5419635772705078, 0.998390257358551, -0.43306511640548706, -0.6603240370750427, 0.19915959239006042, -0.06881962716579437, -0.0662279948592186, -0.5827802419662476, 0.5698585510253906, -0.24512888491153717, 0.29971134662628174, -0.3592388331890106, -0.7501527667045593, -0.02996404841542244, 0.47450342774391174, -0.8232268691062927, 1.0652414560317993, 0.4279114007949829, -0.6064238548278809, 0.6520204544067383, -0.5711110830307007, -0.22558434307575226, 0.2464178204536438, -0.37373611330986023, -0.3156483471393585, 0.3937082290649414, 0.08175504207611084, 0.05317364260554314, -0.4679678976535797, 0.4511082172393799, -0.6100418567657471, -0.5266159176826477, 0.18027496337890625, -0.24640783667564392, 0.7398499846458435, 0.3907397389411926, -0.4370127320289612, 0.3208062946796417, -0.7127096056938171, 0.36125749349594116, -0.012713112868368626, -0.4226025342941284, -0.044666074216365814, -0.1887214034795761, 0.31960296630859375, 0.202805295586586, 0.019936466589570045, -0.47971200942993164, -0.014518835581839085, -0.45102015137672424, 0.22818653285503387, 0.4895758330821991, -0.08820418268442154, 0.055211637169122696, -0.28050386905670166, 0.6719925999641418, -0.3661818504333496, 0.11607645452022552, -0.09958881139755249, -0.2087460309267044, -0.6412804126739502, -0.25462543964385986, 0.5110744833946228, 0.3627423644065857, -0.5515778064727783, 0.5774706602096558, -0.16244879364967346, -0.6861861944198608, -0.28683412075042725, -0.07602275162935257, 0.7545365691184998, 0.5019126534461975, 0.3291465938091278, -0.6542638540267944, -0.39760202169418335, -1.2135627269744873, -0.28337883949279785, -0.03219333291053772, -0.14558804035186768, 0.11997172236442566, 0.4060594439506531, 0.2885141372680664, 0.7843076586723328, -0.1302943229675293, -0.4185996949672699, -0.6491624116897583, 0.35275018215179443, 0.12569187581539154, 0.374675452709198, 0.7555676102638245, -0.2976599335670471, -0.5003377199172974, -0.10321558266878128, -0.7454626560211182, -0.3594476580619812, 0.008454572409391403, -0.05357896909117699, 0.15084677934646606, 0.4953063428401947, -0.3326859772205353, 0.8324021100997925, 0.5111255049705505, -0.12239091098308563, 0.3419703245162964, -0.27735692262649536, 0.3083046078681946, -0.8984344005584717, 0.530093789100647, -0.3161279559135437, -0.059025540947914124, -0.5081250071525574, 0.056961607187986374, 0.08969990164041519, -0.14087876677513123, -0.40065646171569824, 0.6224182844161987, -0.36590731143951416, -0.2319854348897934, -0.4397868514060974, 0.4181079864501953, -0.1075468510389328, 0.22667020559310913, -0.10808318108320236, 0.8954840302467346, 0.24517956376075745, -0.13815289735794067, 0.040412940084934235, 0.13903215527534485, -0.42471015453338623, 0.8882507681846619, -0.7983072400093079, 0.24687667191028595, 0.3991180956363678, 0.3508337140083313, -1.0745642185211182, -0.07676911354064941, -0.19049817323684692, -0.35726940631866455, 0.07530979067087173, 0.07629039883613586, -0.6123403310775757, -0.5739486813545227, -0.4448542594909668, 0.30949193239212036, 0.2012312412261963, 0.010467718355357647, 0.5966694355010986, 0.30180513858795166, -0.07913903146982193, -0.3959353566169739, -0.5857723355293274, 0.35006943345069885, -0.09268392622470856, -0.31795164942741394, 0.36318331956863403, 0.01747741550207138, -0.099818155169487, -0.13298936188220978, -0.17069898545742035, -0.1356545388698578, 0.12332037836313248, 0.16579267382621765, 0.14774206280708313, -0.25312158465385437, 0.19955968856811523, -0.09159363061189651, -0.2930150032043457, -0.0720481276512146, 0.2930060029029846, 0.799712598323822, -0.19343645870685577, -0.544974684715271, -0.6151316165924072, 0.3424775302410126, 0.38165655732154846, -0.12800125777721405, 0.23657037317752838, 0.4901622235774994, -0.3567641079425812, -0.030220840126276016, -0.790169358253479, -0.2365424484014511, -0.41365334391593933, 0.5484645366668701, -0.41776907444000244, -0.7722830772399902, 0.46116816997528076, -0.09680133312940598, -0.009514404460787773, 0.42184847593307495, 0.7827691435813904, 0.0487268790602684, 0.9836322069168091, 0.6004806160926819, -0.16479958593845367, 0.5508230924606323, 0.04542543366551399, -0.04682863876223564, -0.7015177011489868, 0.09006727486848831, -0.707740843296051, -0.4634849429130554, -0.5332147479057312, -0.22168737649917603, 0.5916544198989868, 0.00862217228859663, -0.3662596642971039, 0.39482155442237854, -0.4632081091403961, 0.36592674255371094, 0.7534180283546448, 0.22197456657886505, 0.25727611780166626, -0.30938220024108887, -0.5591603517532349, -0.001680034096352756, -0.619812548160553, -0.44826969504356384, 1.433411717414856, -0.0005736714228987694, 0.344879686832428, -0.14540739357471466, 0.6390609741210938, 0.537644624710083, 0.5371553897857666, -0.5844092965126038, 0.5806632041931152, -0.07516781985759735, -0.9075343608856201, 0.019743986427783966, -0.08362822979688644, -1.1063734292984009, 0.193970188498497, -0.09130620211362839, -0.8338084816932678, 0.06015350669622421, 0.14851731061935425, -0.4240337014198303, -0.008180538192391396, -0.5924983024597168, 1.1421817541122437, -0.6654371619224548, -0.4078269302845001, -0.5859338641166687, -0.681316077709198, 0.13149072229862213, 0.006644292734563351, -0.09614726901054382, -0.22855384647846222, 0.03599466383457184, 0.5851287245750427, -0.550118625164032, 0.8119325637817383, -0.1998111754655838, 0.3068717122077942, 0.1537686437368393, 0.3436068892478943, 0.15240716934204102, -0.22240500152111053, -0.13114553689956665, 0.29105642437934875, 0.2873588800430298, -0.3987390995025635, -0.4377051889896393, 0.5780150294303894, -0.7269827723503113, -0.5312597751617432, -0.563713014125824, -0.4790118932723999, -0.39369624853134155, 0.44503253698349, 0.09477680176496506, 0.3675673305988312, -0.6097743511199951, 0.5663524866104126, 0.04072187468409538, -0.34065648913383484, 0.18140678107738495, 0.5910918116569519, -0.028857989236712456, -0.5761375427246094, 0.41214656829833984, -0.08592046052217484, 0.4078965187072754, 0.24313320219516754, 0.22988365590572357, -0.19306519627571106, -1.0137242078781128, -0.12112110108137131, 0.015543332323431969, -0.8792648911476135, -0.19694937765598297, -0.28001588582992554, -0.39834505319595337, -0.027133846655488014, -0.2764994204044342, -0.3448999226093292, -0.14867937564849854, 0.23516634106636047, -0.09809648990631104, 0.04237475246191025, 0.4594157934188843, 0.07539719343185425, 0.5518048405647278, -0.7216821908950806, 0.07395873218774796, -0.1784064620733261, 0.3717164993286133, -0.22607944905757904, -0.3467434048652649, -0.2436760812997818, -0.13648729026317596, -0.5757119655609131, -0.7900985479354858, 0.19832094013690948, 0.02773265540599823, 0.9218369722366333, 0.3970453143119812, -0.16024160385131836, 0.8129281997680664, -0.20142331719398499, 0.727893054485321, 0.13436470925807953, -1.0100690126419067, 0.8711219429969788, -0.35417628288269043, 0.3952622413635254, 1.0309549570083618, -0.051672156900167465, -0.482732892036438, -0.4526449143886566, -0.5704771876335144, -0.7909131646156311, 0.7803129553794861, 0.4278649687767029, -0.21361497044563293, 0.04828376695513725, 0.26429957151412964, 0.16287314891815186, 0.25800102949142456, -0.38250499963760376, 0.19225113093852997, -0.10788048803806305, -0.367509663105011, 0.032526906579732895, -0.16634894907474518, -0.45389774441719055, -0.03027215227484703, 0.15135550498962402, -0.3518567681312561, 0.1583099216222763, 0.09089484065771103, -0.17155086994171143, 0.057206735014915466, 0.22667750716209412, 0.5139783024787903, 0.9521543383598328, -0.5501468777656555, -0.02444758079946041, 0.3894994258880615, -0.46814894676208496, -0.26176777482032776, 0.272091805934906, 0.09664700925350189, -0.12591052055358887, 0.7939149737358093, 0.539919376373291, 0.23999935388565063, -0.9435068368911743, 0.5391709208488464, -0.07412110269069672, -0.19807220995426178, -0.2769753634929657, 0.2694098651409149, -0.15118160843849182, 0.160524383187294, 0.07866179943084717, -0.21329060196876526, 0.2975960671901703, -0.40410467982292175, 0.37192535400390625, 0.3816866874694824, -0.57872474193573, -0.18973293900489807, 0.5215056538581848, 0.21424449980258942, -0.09786609560251236, 0.760316789150238, 0.4569393992424011, -0.19152483344078064, 0.907867431640625, 0.29260489344596863, 0.9875455498695374, -0.143049418926239, 0.008192861452698708, 0.5758252739906311, 0.1591806560754776, 0.12433239817619324, 0.344555526971817, -0.021285027265548706, -0.48938068747520447, 0.16616050899028778, -0.34488603472709656, -0.5440912246704102, 0.15398277342319489, -0.8401711583137512, 0.5231253504753113, -0.492493599653244, -0.42219480872154236, 0.017700577154755592, -0.007124111521989107, -0.9422524571418762, 0.0416325218975544, 0.20703187584877014, 1.1092411279678345, -0.48920825123786926, 0.9345287084579468, 0.44144776463508606, -0.6524673104286194, -0.5337655544281006, -0.15026423335075378, 0.5848231315612793, -1.1333686113357544, 0.5179429650306702, 0.3133765757083893, 0.08419519662857056, -0.18917426466941833, -0.31722262501716614, -0.843553900718689, 1.2949219942092896, 0.3125354051589966, -0.593589723110199, 0.024260139092803, 0.4467364549636841, 0.9267931580543518, -0.44624629616737366, 0.7583093047142029, 0.8834090828895569, 0.5005592107772827, 0.04300219938158989, -1.2681266069412231, 0.20565764605998993, -0.31422820687294006, 0.22979599237442017, -0.14805784821510315, -0.49391746520996094, 0.5786256194114685, -0.018325306475162506, -0.23759038746356964, 0.45910441875457764, 0.1153201162815094, 0.5124967694282532, 0.21716013550758362, 0.47080880403518677, 0.5488646626472473, 0.5351900458335876, -0.49851951003074646, 1.1538290977478027, -0.627234697341919, 0.3743232786655426, 1.1746076345443726, -0.48569464683532715, 0.8664324879646301, 0.33200356364250183, -0.2812403440475464, 0.3520682752132416, 0.726896345615387, -0.21740630269050598, 0.5821429491043091, 0.47194868326187134, 0.16044236719608307, -0.2922670841217041, -0.13805830478668213, -0.5667968988418579, 0.6067866086959839, 0.36127448081970215, -0.4873015880584717, -0.6888449192047119, -0.026096265763044357, 0.17008893191814423, -0.1663956493139267, 0.20142105221748352, 0.8619164824485779, 0.03096497803926468, -0.6883991360664368, 0.7568374872207642, -0.31219515204429626, 0.014396894723176956, -0.9615440368652344, -0.08104683458805084, -0.4190452992916107, 0.5960578918457031, 0.11910092085599899, -0.8360826373100281, 0.18647177517414093, -0.08807361125946045, 0.28866469860076904, 0.20666956901550293, 0.30041012167930603, 0.026118069887161255, -0.4779069125652313, 0.5084723234176636, 0.6582705974578857, 0.04025443643331528, -0.08100855350494385, -0.9767863750457764, 0.39669978618621826, -0.1779579073190689, -0.3139227330684662, 0.3664950728416443, 0.21043387055397034, -0.2898242473602295, 0.6134640574455261, 0.514355480670929, 0.0870710238814354, -0.283908486366272, 0.527188777923584, 1.075872778892517, -0.802310049533844, -0.23174986243247986, -0.6922571063041687, 0.49253177642822266, -0.35756364464759827, -0.714454174041748, 0.5214248895645142, 0.7244637608528137, 0.6573677062988281, 0.27915453910827637, 0.9288464784622192, -0.21409083902835846, 0.437784880399704, -0.3271293342113495, 0.7256717681884766, -0.5963329076766968, 0.1858770102262497, -0.09138783812522888, -0.7598974704742432, -0.585033118724823, 0.37645652890205383, -0.45094168186187744, 0.29062148928642273, 1.040421724319458, 0.8076512813568115, 0.11500053852796555, 0.08644749969244003, 0.3468196988105774, 0.3943534791469574, 0.6329048275947571, 0.5979686379432678, 0.6775752902030945, -0.16128502786159515, 0.6299259662628174, -0.28979843854904175, -0.521704375743866, -0.3454725444316864, -0.6953324675559998, -1.2423752546310425, -0.31037330627441406, -0.05706359073519707, -0.25640010833740234, 0.32664620876312256, 0.799385666847229, 0.7618697881698608, -1.1479309797286987, -0.47858062386512756, -0.10429847240447998, -0.29607582092285156, -0.47947484254837036, -0.21733802556991577, 0.8169975280761719, -0.5858961939811707, -0.5231996178627014, 0.2107628732919693, 0.2944059669971466, -0.27351388335227966, -0.20237848162651062, 0.1584787666797638, -0.013972737826406956, -0.18371309340000153, 0.3679112493991852, 0.07333474606275558, -1.0212843418121338, -0.2636950612068176, -0.023634910583496094, -0.23916572332382202, 0.25024139881134033, 0.9985602498054504, -0.8550820350646973, 0.9362385272979736, 0.5121914744377136, 0.48184871673583984, 0.3968314528465271, -0.14472191035747528, 0.8337960839271545, -0.2863589823246002, 0.17850641906261444, 0.36336079239845276, 0.5385541319847107, 0.0378689244389534, 0.0912361592054367, 0.6540935039520264, 0.1751936674118042, -0.45290759205818176, -0.7434705495834351, -0.1068636029958725, -1.266409993171692, -0.18429382145404816, 0.6934759616851807, -0.1811789870262146, 0.011157582513988018, -0.2494717687368393, -0.4039526581764221, 0.18984021246433258, -0.2976067364215851, 1.1127046346664429, 0.7401849627494812, -0.2621033489704132, -0.2802399694919586, -0.8735865950584412, 0.47620445489883423, 0.36682838201522827, -0.9378474950790405, 0.021434929221868515, 0.5530049800872803, 0.30188706517219543, 0.005854742135852575, 0.5807831883430481, -0.3929508328437805, 0.5446262955665588, -0.004520798567682505, 0.3248113989830017, 0.000663118320517242, 0.06711333990097046, -0.08441317826509476, 0.22124579548835754, -0.0023770558182150126, -0.018969831988215446 ]
http://arxiv.org/abs/2406.17876v1
http://arxiv.org/pdf/2406.17876v1
ET tu, CLIP? Addressing Common Object Errors for Unseen Environments
2024-06-25T18:35:13
2024-06-25T18:35:13
Ye Won Byun, Cathy Jiao, Shahriar Noroozizadeh, Jimin Sun, Rosa Vitiello
cs.CV
cs.CV, cs.AI, cs.CL, cs.LG, cs.RO
We introduce a simple method that employs pre-trained CLIP encoders to enhance model generalization in the ALFRED task. In contrast to previous literature where CLIP replaces the visual encoder, we suggest using CLIP as an additional module through an auxiliary object detection objective. We validate our method on the recently proposed Episodic Transformer architecture and demonstrate that incorporating CLIP improves task performance on the unseen validation set. Additionally, our analysis results support that CLIP especially helps with leveraging object descriptions, detecting small objects, and interpreting rare words.
[ -0.37271666526794434, -0.4003279209136963, 0.5771800875663757, 0.019337687641382217, -0.3422505259513855, -0.010219045914709568, 0.10637766867876053, -0.4988497793674469, 0.23805786669254303, 0.22973980009555817, -0.6710373759269714, -0.5539563894271851, -0.719312310218811, 0.33134233951568604, -0.4081021845340729, 0.596449613571167, -0.22141133248806, -0.2811231315135956, -0.3953133523464203, -0.1336880475282669, -0.48283833265304565, -0.5741179585456848, -0.1980753093957901, -0.01774708181619644, -0.02026124857366085, 0.6006870865821838, 0.6710102558135986, 0.5994976162910461, 0.514058530330658, 0.29610675573349, -0.05228836461901665, 0.5556365251541138, -0.28234776854515076, -0.10311858355998993, -0.20855869352817535, -0.5192731022834778, -0.4849547743797302, -0.45387062430381775, 0.40108722448349, 0.6112226843833923, 0.009142929688096046, 0.05449184030294418, 0.1893109828233719, 0.3428272604942322, -1.1575204133987427, 0.14758461713790894, -0.27944639325141907, 0.4268099367618561, -0.21816936135292053, -0.06142185628414154, -0.14869609475135803, 0.21643155813217163, 0.15811771154403687, -1.132782220840454, 0.6293453574180603, 0.14543496072292328, 1.0000218152999878, 0.400679349899292, -0.10796410590410233, -0.06957641988992691, -0.9709256291389465, 1.0286251306533813, -0.15319420397281647, 0.463878333568573, 0.3897860050201416, 0.3423660099506378, 0.1338936984539032, -1.1874823570251465, -0.6281459331512451, 0.19974814355373383, -0.06753410398960114, 0.2695671021938324, -0.7857356071472168, 0.27588754892349243, 0.41668251156806946, 0.1507931351661682, 0.16934692859649658, -0.25364622473716736, -0.5656831860542297, -0.3259163796901703, 0.1021883562207222, 0.2699785530567169, 0.5167800188064575, -0.08585665374994278, -0.1361212581396103, -0.5147600769996643, -0.5008549094200134, 0.17176060378551483, 0.1757396161556244, -0.21018539369106293, -0.11355587095022202, 0.5652315616607666, -0.1713542938232422, 0.6526097655296326, 0.1751260757446289, 0.09289639443159103, 0.22041647136211395, -0.15116213262081146, 0.05947445333003998, -0.19841822981834412, 0.13748930394649506, 0.9518331289291382, 0.15022526681423187, -0.2055491805076599, -0.3389587998390198, 0.3396541178226471, 0.46699005365371704, -0.7592212557792664, -0.4844103753566742, -0.10758945345878601, -0.460184782743454, 0.10017604380846024, 0.2947326898574829, -0.5459121465682983, 0.2843463122844696, -0.12354853749275208, 0.6271300911903381, -0.39748936891555786, 0.18582166731357574, 0.35928329825401306, -0.6626172661781311, -0.021726451814174652, 0.7142021656036377, -0.6924082636833191, 0.7441404461860657, 0.7209181785583496, 0.9843218922615051, -0.2568424940109253, -0.5041042566299438, -0.9409115314483643, 0.5479288697242737, -0.3512578308582306, 1.0867007970809937, -0.4781325161457062, -0.43801382184028625, 0.1441919505596161, 0.6098264455795288, 0.27076783776283264, -0.759419322013855, 0.7115620374679565, -0.19664403796195984, -0.0029179283883422613, -0.28492075204849243, -0.39352571964263916, -0.5663018226623535, 0.23773789405822754, -0.7294989228248596, 0.968160092830658, 0.17382553219795227, -0.5095387697219849, 0.5071165561676025, -0.7812957167625427, -0.29359009861946106, 0.06310953199863434, -0.1761360466480255, -0.35530394315719604, 0.27984946966171265, 0.8521762490272522, 0.32312366366386414, 0.286918580532074, -0.30351340770721436, -0.3501940369606018, -0.692782998085022, -0.015356576070189476, -0.09728552401065826, 0.08483714610338211, -0.11635689437389374, 0.048199284821748734, 0.18204085528850555, -0.5830790400505066, -0.12364262342453003, -0.029802503064274788, -0.05983970686793327, -0.7229846715927124, -0.05098025128245354, 0.16847211122512817, -0.37128350138664246, 0.11045965552330017, -0.784892737865448, 0.06550410389900208, -0.13151665031909943, 0.3084971010684967, 0.6216842532157898, 0.1852167695760727, 0.392023503780365, -0.5426774621009827, 0.7257101535797119, -0.058439698070287704, 0.16944371163845062, -0.2733929753303528, -0.4367709457874298, -0.6802325248718262, -0.4272725582122803, 0.0397801473736763, 0.3208712041378021, -0.7052182555198669, 0.4167190194129944, -0.09851408004760742, 0.014677224680781364, -0.42360588908195496, -0.11502449214458466, 0.19713641703128815, 0.32729384303092957, 0.47301796078681946, -0.3422471880912781, -0.8757187128067017, -0.9004079103469849, 0.02420003153383732, 0.2857496440410614, -0.7369768023490906, 0.30325862765312195, 0.5863693952560425, -0.48168814182281494, 1.3063777685165405, -0.8533923029899597, -0.4422266185283661, -0.11233166605234146, 0.06522953510284424, 0.16166938841342926, 0.5418139100074768, 0.5941287279129028, -0.6216257810592651, -0.18420690298080444, -0.2507232129573822, -0.6502031087875366, 0.135155588388443, 0.24557280540466309, 0.18975254893302917, -0.2654217481613159, 0.5244559049606323, -0.5729812979698181, 0.6549815535545349, 0.18916621804237366, -0.06715919077396393, 0.25447362661361694, -0.4726654291152954, 0.07718738913536072, -0.584597110748291, -0.1468409150838852, -0.3319467008113861, -0.3930871784687042, -0.5605325102806091, -0.03708778694272041, 0.10057718306779861, -0.3050154149532318, -0.6713649034500122, 0.32038843631744385, -0.5101450085639954, -0.445587158203125, -0.5692158937454224, -0.16173583269119263, 0.3452359437942505, 0.47424647212028503, 0.2728849947452545, 0.8816917538642883, 0.6897162795066833, -0.9317091107368469, 0.21216082572937012, 0.766036868095398, -0.32441768050193787, 0.553551435470581, -1.0594035387039185, 0.5365947484970093, -0.5817880630493164, 0.012268736958503723, -0.64066481590271, -0.40741589665412903, 0.30662640929222107, -0.2986694276332855, 0.15006999671459198, -0.2758575677871704, -0.07523835450410843, -0.4470123052597046, -0.6713656783103943, 0.42372578382492065, 0.5446704030036926, -0.8444969058036804, 0.8222238421440125, 0.3264143168926239, 0.3708361089229584, -0.7792803049087524, -0.6905032992362976, -0.34506145119667053, -0.2077779471874237, -0.46892890334129333, 0.5504502654075623, 0.04395386204123497, -0.11823706328868866, 0.43824437260627747, -0.49791643023490906, -0.18416082859039307, 0.2890568673610687, 0.5415099859237671, 0.25960272550582886, -0.2605492174625397, -0.0012745915446430445, 0.0562870167195797, 0.009674218483269215, -0.13009750843048096, 0.0468573123216629, 0.4473539888858795, -0.22436073422431946, -0.5727742314338684, -0.20499466359615326, 0.5286982655525208, 0.37910473346710205, 0.10054857283830643, 0.32444947957992554, 0.32920917868614197, -0.6436684131622314, -0.42991772294044495, -0.18984316289424896, -0.29019099473953247, -0.5617603063583374, 0.865927517414093, -0.35797104239463806, -0.712719738483429, 0.6097940802574158, -0.16401740908622742, -0.2632004916667938, 0.39496201276779175, -0.10356614738702774, -0.22652505338191986, 0.9309141635894775, 1.1402344703674316, 0.18253806233406067, 0.37917715311050415, -0.4811422526836395, 0.004397066775709391, -1.2964462041854858, -0.06352956593036652, -0.2572113573551178, -0.2996140718460083, 0.04639699310064316, -0.7842275500297546, 0.49068301916122437, 0.7421427965164185, -0.15338541567325592, 0.4745742380619049, -0.6775501370429993, 0.7056590914726257, 0.7712410688400269, 0.30244114995002747, 0.2987244129180908, 0.1429687738418579, 0.198139488697052, -0.22304628789424896, -0.805568277835846, -0.5148655772209167, 1.2035281658172607, 0.4525285065174103, 0.9353235363960266, -0.053999532014131546, 0.6777780055999756, 0.5266368389129639, 0.1947060227394104, -1.1161210536956787, 0.5316847562789917, -0.22535164654254913, -0.2354574203491211, -0.3203021287918091, 0.32531335949897766, -0.9455816149711609, 0.26980406045913696, -0.07891684025526047, -0.7309633493423462, 0.48983460664749146, 0.368852823972702, -0.7325321435928345, 0.16285283863544464, -0.46319320797920227, 0.8560753464698792, -0.029742347076535225, 0.050009433180093765, -0.19065137207508087, -0.17545431852340698, 0.11798685789108276, 0.15946239233016968, -0.12406989932060242, 0.042155671864748, -0.4867030084133148, 1.001624345779419, -0.4888053834438324, 0.7673285603523254, 0.010971414856612682, 0.4253505766391754, 0.47251707315444946, -0.12963950634002686, 0.8162155747413635, -0.07572993636131287, 0.5990039110183716, 0.18282566964626312, -0.10052252560853958, -0.07773098349571228, -0.8193995952606201, -0.08680760115385056, -0.8048663139343262, -0.48826560378074646, -0.33467957377433777, -0.5239812731742859, -0.09564603865146637, 0.038053225725889206, 0.6052148342132568, 0.6278252005577087, -0.30775994062423706, 0.1735968142747879, 0.38536807894706726, -0.03259412199258804, 0.44006410241127014, 0.6699976921081543, -0.15359178185462952, -0.3929442763328552, 0.584685206413269, -0.14126504957675934, -0.04398141801357269, 0.3890071511268616, 0.0666981190443039, -0.08191517740488052, -0.7394685745239258, -0.20589567720890045, -0.10275778919458389, -1.1224641799926758, -0.24567510187625885, -0.8320596218109131, 0.12827350199222565, -0.17910248041152954, -0.3825075030326843, -0.49433571100234985, -0.3572472631931305, -0.48805004358291626, -0.2866775095462799, 0.453565776348114, 0.8286371231079102, -0.3516301214694977, 0.5939074754714966, -1.1941204071044922, 0.4576179087162018, 0.7161124348640442, 0.022906549274921417, -0.01840311475098133, -0.45784735679626465, -0.044377680867910385, -0.15726123750209808, -0.2996615171432495, -0.5169828534126282, 0.37086719274520874, 0.5400964617729187, 0.7535018920898438, 0.5966573357582092, 0.27160409092903137, 0.7542990446090698, -0.8259011507034302, 0.7443186044692993, 0.2457886040210724, -1.163924217224121, 0.6434187293052673, -0.12214996665716171, 0.2056078314781189, 0.33532246947288513, 0.4512839913368225, -0.7199974060058594, -0.2904803156852722, -0.6510064005851746, -0.8432999849319458, 0.8428764939308167, 0.17277392745018005, 0.13115337491035461, -0.256052166223526, -0.16987569630146027, 0.00474952207878232, 0.08539342135190964, -0.39567917585372925, -0.25728628039360046, -0.3105790615081787, -0.0451749823987484, 0.19771622121334076, -0.39538487792015076, -0.40054991841316223, -0.2782713770866394, 0.2493027150630951, -0.2222888320684433, 0.6146689057350159, 0.6255919933319092, -0.4008781313896179, -0.27703744173049927, 0.03923061117529869, 0.6786255240440369, 0.6589649319648743, -0.5275750160217285, 0.16539134085178375, 0.3804852366447449, -0.7683175802230835, 0.11385131627321243, -0.11210343986749649, -0.34394681453704834, 0.4469044506549835, 0.6910567879676819, 0.910706639289856, 0.5589036345481873, -0.7141953110694885, 0.673098087310791, 0.08843491226434708, 0.01843813620507717, -0.5846841335296631, 0.015895752236247063, -0.22212834656238556, 0.15415224432945251, 0.6337496638298035, 0.4248908758163452, 0.3157047927379608, -0.6260794401168823, 0.6892423629760742, 0.3150261640548706, -0.29776766896247864, -0.6293152570724487, 0.587608814239502, 0.3244035542011261, -0.48282453417778015, 0.38115373253822327, -0.25937342643737793, -0.9668538570404053, 0.7416110634803772, 0.6808043718338013, 0.8520538806915283, -0.008882026188075542, -0.0018618771573528647, 0.2830144762992859, 0.283785343170166, -0.48497286438941956, 0.11800998449325562, -0.3347638249397278, -1.2141447067260742, -0.3675573170185089, -0.0563785545527935, -0.8757253289222717, -0.022006701678037643, -0.8461964130401611, 0.2519036531448364, -0.33867645263671875, 0.09872958064079285, -0.29394710063934326, -0.7097115516662598, -0.7951640486717224, -0.20314662158489227, 0.04251082241535187, 0.7019496560096741, -0.8234393000602722, 0.5604667663574219, 1.029262900352478, -0.041399843990802765, -0.7488130927085876, 0.06626895815134048, -0.3068457543849945, -0.8954188227653503, 0.9266095757484436, 0.3877136707305908, -0.3866875469684601, -0.35405516624450684, -0.5629686117172241, -1.0449771881103516, 0.8165647983551025, 0.21076174080371857, -0.5123288035392761, -0.056643396615982056, -0.26252102851867676, 0.2433548867702484, -0.35960257053375244, 0.49656131863594055, 0.2869601845741272, 0.12448163330554962, 0.13270030915737152, -0.8236070275306702, -0.15981131792068481, -0.07640299201011658, -0.017178881913423538, 0.15594521164894104, -0.2704479396343231, 1.0774179697036743, -0.10982607305049896, -0.5661724805831909, 0.05002029240131378, 0.9078989028930664, 0.06736990064382553, 0.38560596108436584, 0.5447260141372681, 0.5613601803779602, 0.8973459005355835, 0.23672287166118622, 1.113998293876648, -0.09733790159225464, 0.4094617962837219, 1.359144687652588, -0.28668972849845886, 0.6565786600112915, 0.3973069489002228, -0.41058167815208435, 0.3437020182609558, 0.14475098252296448, -0.2600875496864319, 0.9261142611503601, -0.06881099194288254, -0.23442722856998444, -0.37907686829566956, -0.23812837898731232, -0.4102214574813843, 0.5002935528755188, 0.2764771282672882, -0.0652470663189888, -0.4353044331073761, 0.580007016658783, -0.3694547712802887, 0.13368573784828186, -0.7407228350639343, 0.419055312871933, 0.016869736835360527, -0.38895365595817566, 0.3508280813694, -0.05245516076683998, 1.1434569358825684, -0.4703228771686554, -0.6157246828079224, -0.08170255273580551, 0.5762361288070679, -0.03319988027215004, -0.6949666738510132, 0.609926700592041, -0.12844662368297577, -0.12356753647327423, 0.023550009354948997, 1.1239172220230103, -0.07810429483652115, -0.38875067234039307, 0.19267064332962036, 0.17348921298980713, 0.27005115151405334, -0.35196274518966675, -0.05557665228843689, 0.0396653451025486, -0.1579015851020813, 0.250282883644104, 0.02751520834863186, 0.48244786262512207, 0.05186932161450386, 0.612315833568573, 0.2619379758834839, -0.18982437252998352, -0.04438510537147522, -0.3516952395439148, 0.8231717348098755, -0.6311250925064087, -0.6730358600616455, -0.46988171339035034, 0.2387584149837494, -0.18367059528827667, -0.30808475613594055, 0.9358347654342651, 0.5644217729568481, 1.1104953289031982, -0.8908547163009644, 0.4947568476200104, 0.05168047547340393, 0.7878830432891846, -0.4575844407081604, 0.1463959813117981, -0.13890549540519714, 0.10198419541120529, -0.3789687752723694, -0.9986497163772583, 0.008112452924251556, 0.9589084386825562, -0.1709984540939331, -0.5616192817687988, 0.8977348804473877, 0.4617413580417633, -0.4203014075756073, -0.0656096413731575, 0.4757012724876404, -0.4042412042617798, -0.054307855665683746, 0.7938017845153809, 1.364172101020813, -0.6494790315628052, 0.5729347467422485, -0.5461592078208923, 0.03284703567624092, -0.02923554927110672, -0.8694599270820618, -1.0788583755493164, -0.13481445610523224, -0.5621751546859741, -0.12367048859596252, 0.029436763375997543, 0.9845672845840454, 0.922447681427002, -0.9309901595115662, 0.032400455325841904, -0.1010102853178978, 0.14291347563266754, -0.5460922718048096, -0.1668066680431366, 0.43136343359947205, 0.08348388969898224, -0.991705596446991, 0.5952024459838867, 0.13706310093402863, 0.27086174488067627, 0.3688317835330963, -0.215102881193161, 0.4019625186920166, -0.2513865530490875, 0.4856117367744446, 0.5308823585510254, -0.5290541052818298, -0.8939002752304077, -0.038895636796951294, 0.481288343667984, 0.3078802227973938, 0.9160777926445007, -0.9342277646064758, 0.1315692812204361, 0.3223024308681488, 0.6146950125694275, 0.7307571768760681, 0.18602530658245087, 0.7311792373657227, -0.7951252460479736, 0.5530046224594116, 0.450706422328949, 0.540381908416748, 0.22004082798957825, -0.35759514570236206, 0.6763247847557068, 0.3936203718185425, -0.16176055371761322, -0.9121922850608826, 0.33756980299949646, -1.0316007137298584, -0.2505651116371155, 0.6667739748954773, -0.4170226454734802, -0.502528727054596, -0.3800891041755676, -0.15338122844696045, -0.005650913808494806, -0.47183653712272644, 0.4476161003112793, 0.4802247881889343, -0.07683415710926056, -0.38942795991897583, -0.3618147671222687, 0.6436949968338013, 0.3400668799877167, -0.7032321691513062, -0.3467155396938324, 0.35204657912254333, 0.3823753297328949, 0.6068377494812012, 0.4164212644100189, 0.307302325963974, 0.7169568538665771, 0.1280146688222885, 0.09109781682491302, -0.5277807712554932, -0.4353792071342468, -0.4321305453777313, 0.21778392791748047, -0.10736047476530075, -1.2221509218215942 ]
http://arxiv.org/abs/2406.17875v1
http://arxiv.org/pdf/2406.17875v1
Cloaked Classifiers: Pseudonymization Strategies on Sensitive Classification Tasks
2024-06-25T18:30:25
2024-06-25T18:30:25
Arij Riabi, Menel Mahamdi, Virginie Mouilleron, Djamé Seddah
cs.CL
cs.CL
Protecting privacy is essential when sharing data, particularly in the case of an online radicalization dataset that may contain personal information. In this paper, we explore the balance between preserving data usefulness and ensuring robust privacy safeguards, since regulations like the European GDPR shape how personal information must be handled. We share our method for manually pseudonymizing a multilingual radicalization dataset, ensuring performance comparable to the original data. Furthermore, we highlight the importance of establishing comprehensive guidelines for processing sensitive NLP data by sharing our complete pseudonymization process, our guidelines, the challenges we encountered as well as the resulting dataset.
[ -0.26102888584136963, -0.474658727645874, -0.1353425532579422, 0.29278212785720825, 0.17975464463233948, 0.3939107656478882, -0.21462279558181763, -0.7533490061759949, 0.04573327675461769, 0.585848867893219, -0.14070868492126465, -0.5562658309936523, -0.664271354675293, -0.20417700707912445, -0.3793456256389618, 1.3713622093200684, 0.15312987565994263, 0.04071455076336861, 0.2476113736629486, -0.03030800260603428, -0.010552706196904182, -0.940308153629303, -0.6047329902648926, 0.23353785276412964, 0.8343114256858826, -0.012802633456885815, 0.6462271809577942, 0.7726992964744568, 0.43156227469444275, 0.35572975873947144, -0.1013394296169281, -0.057090047746896744, -0.2521505355834961, 0.3096517324447632, -0.2930821478366852, -0.5320547223091125, -0.2681008577346802, 0.1333443969488144, 0.5372602343559265, 0.6184446811676025, -0.19805091619491577, 0.19003745913505554, 0.06691396981477737, 0.48095449805259705, -0.8244994282722473, 0.09028748422861099, -0.31294575333595276, 0.31523874402046204, -0.5630379319190979, -0.04347902163863182, -0.49864405393600464, -0.5638392567634583, -0.05470108985900879, -0.5260053873062134, 0.8230538964271545, 0.07964038848876953, 0.6681519746780396, 0.02468070760369301, -0.30816522240638733, -0.05994625762104988, -1.1326504945755005, 0.7908432483673096, -0.22996534407138824, 0.18975098431110382, 0.801273763179779, 0.4634668231010437, 0.3265431225299835, -0.8525211215019226, -0.024185236543416977, 0.22384248673915863, 0.002738877199590206, -0.028556792065501213, -0.24639593064785004, 0.13668762147426605, 0.5418371558189392, 0.4604935646057129, -0.38988998532295227, 0.2363402545452118, -0.653706431388855, -0.8006688952445984, 1.0019803047180176, -0.013780185952782631, 0.008810183964669704, 0.10342108458280563, -0.43418946862220764, -0.14730674028396606, -0.46603789925575256, 0.23322553932666779, 1.1083136796951294, 0.14894218742847443, 0.05803678184747696, 0.5391594171524048, -0.24464520812034607, 0.3422173261642456, -0.08996227383613586, 0.06954325735569, 0.27756041288375854, -0.37143829464912415, 0.1142384484410286, -0.07151959836483002, 0.702126681804657, 0.3469219505786896, 0.04315601661801338, -0.4317649304866791, -0.2960573434829712, 0.0670183002948761, 0.41257020831108093, -0.6046894788742065, -0.3118167519569397, 0.08536003530025482, -0.3895740211009979, -0.4380219876766205, 0.3097917139530182, -0.8650912046432495, -0.5682335495948792, -0.10858418792486191, 0.268239289522171, 0.06095114350318909, -0.06768281757831573, 0.3281646966934204, -0.431045800447464, 0.18488425016403198, 0.27632594108581543, -1.0748933553695679, 0.6775224208831787, 0.7502043843269348, 0.6825535893440247, -0.3470132052898407, 0.18605712056159973, -0.050575025379657745, 0.29652154445648193, -0.2052648663520813, 0.15460439026355743, -0.18604055047035217, -0.21906274557113647, 0.22163088619709015, -0.04696359112858772, -0.07120261341333389, -0.3379552960395813, 0.7938690781593323, -0.6446123719215393, 0.4212682843208313, -0.2800790071487427, -0.6287488341331482, -0.23236681520938873, 0.12108377367258072, -0.8080505132675171, 0.917669415473938, 0.08325064182281494, -1.2627917528152466, 0.3673350512981415, -0.6351265907287598, -0.31630435585975647, 0.36724767088890076, -0.057121437042951584, -0.7308383584022522, -0.28379684686660767, -0.01646468974649906, 0.9142856001853943, 0.29766109585762024, 0.09441012144088745, -0.19986437261104584, -0.24963466823101044, 0.46947845816612244, -0.21596021950244904, 1.0957448482513428, 0.19364385306835175, -0.6367506384849548, 0.15307378768920898, -0.49732571840286255, -0.12865959107875824, -0.08166129887104034, -0.18950045108795166, -0.3881823420524597, -0.03473388031125069, 0.5559454560279846, 0.08763930201530457, 0.3392373323440552, -0.8120150566101074, 0.07623930275440216, -0.24612261354923248, 0.4192216396331787, 1.0863858461380005, 0.19013945758342743, 0.37667977809906006, -0.7544291019439697, 0.6671048998832703, -0.11657589673995972, 0.6675727367401123, 0.18561197817325592, -0.8366718292236328, -0.7356025576591492, -0.5414607524871826, 0.3444466292858124, 0.6957164406776428, -0.4605267345905304, 0.39415937662124634, 0.043181050568819046, -0.4079556465148926, -0.2325313687324524, -0.1152021586894989, 0.4800592362880707, 0.2994738221168518, 0.13128463923931122, -0.055909521877765656, -0.5730865001678467, -1.0632275342941284, -0.5302001237869263, 0.16894029080867767, -0.1481495499610901, 0.4772951900959015, 0.2939620912075043, -0.39490124583244324, 0.5953194499015808, -0.5742613077163696, -0.5037540793418884, -0.15150120854377747, 0.042587265372276306, -0.2189370095729828, 0.753800094127655, 0.5682592988014221, -1.1994229555130005, -0.4502759277820587, 0.04776105284690857, -0.5634983777999878, 0.3460920751094818, -0.1728215217590332, -0.05854019150137901, 0.02180776558816433, 0.543004035949707, -0.12839053571224213, 0.5244525074958801, 0.19876793026924133, -0.24726231396198273, 0.1389484405517578, -0.033086322247982025, 0.1335308998823166, -0.997788667678833, 0.047917429357767105, -0.02852206863462925, -0.6224881410598755, -1.1092827320098877, 0.36002159118652344, -0.08974751830101013, -0.0017311620758846402, -0.5123657584190369, 0.35712289810180664, -0.046062055975198746, 0.3847256600856781, 0.20533256232738495, -0.431776225566864, -0.27101677656173706, 0.30223482847213745, -0.08744940906763077, 0.5543511509895325, 0.8329992294311523, -0.481699675321579, 0.2223251610994339, 0.2490081787109375, -0.18750271201133728, 0.10692035406827927, -0.45048484206199646, 0.39876651763916016, -0.13569045066833496, -0.052354373037815094, -0.6083322763442993, -0.6085189580917358, 0.6679233312606812, -0.3097366988658905, 0.5094568729400635, 0.01753273420035839, -0.6220313906669617, -0.021313397213816643, -0.8594411015510559, 0.6441255807876587, 0.44426652789115906, -0.3542110323905945, 0.5752095580101013, 0.7807077765464783, -0.009484761394560337, -0.9358397722244263, -0.5640443563461304, 0.03588463366031647, -0.6628256440162659, -0.26523536443710327, 0.4769165813922882, -0.1935196816921234, -0.08340663462877274, -0.37321072816848755, 0.038933366537094116, -0.3497220575809479, 0.4389605224132538, 0.6618458032608032, 0.27440667152404785, 0.36318743228912354, -0.21115176379680634, 0.07098772376775742, -0.17524798214435577, 0.4411579668521881, -0.027569537982344627, 0.4049968123435974, 0.07898544520139694, -0.038941483944654465, -0.7604859471321106, 0.5635105967521667, -0.14015276730060577, 0.1367662101984024, 0.886248767375946, 0.6751478910446167, -0.5791540741920471, -0.4097963273525238, -0.661186695098877, -0.1741192787885666, -0.5082393288612366, -0.19141840934753418, -0.07211164385080338, -1.1916011571884155, 0.8228408098220825, 0.022226009517908096, 0.16700702905654907, 0.26541459560394287, 0.40350544452667236, -0.13404251635074615, 0.9498481154441833, 1.1226181983947754, -0.1746927946805954, 0.504375159740448, -0.2706671953201294, 0.22070033848285675, -0.5897291898727417, -0.6315842866897583, -0.6727975606918335, -0.22140304744243622, -1.1126755475997925, -0.2208160161972046, 0.29271721839904785, -0.1949802041053772, 0.0620870515704155, 0.27404776215553284, -0.7407514452934265, 0.6471267342567444, 0.5242412090301514, 0.5415270924568176, 0.0751585140824318, 0.13480061292648315, 0.3093700706958771, -0.30683091282844543, -0.48681002855300903, -0.441153883934021, 1.3617832660675049, 0.5166853070259094, 0.7240033149719238, 0.09888271987438202, 0.9101995229721069, 0.4772697687149048, 0.1751907467842102, -0.6756591200828552, 0.5075251460075378, 0.01321330014616251, -0.840979278087616, -0.2798210382461548, -0.5390335917472839, -1.1120649576187134, 0.011953787878155708, 0.016929810866713524, -0.7985525727272034, 0.40724608302116394, -0.027060505002737045, -0.1467059999704361, 0.13212674856185913, -0.3584045469760895, 0.4684430658817291, 0.3171795904636383, -0.29555219411849976, 0.04321686178445816, -1.0290700197219849, 0.3937610387802124, -0.44196978211402893, 0.3752606511116028, 0.10261005163192749, -0.23105843365192413, 1.295071005821228, -0.017327867448329926, 1.186508059501648, -0.3931986689567566, 0.3280111253261566, -0.26822665333747864, -0.19697926938533783, 0.10635016113519669, -0.03852323442697525, 0.07205842435359955, 0.4942190647125244, -0.014262466691434383, -0.49448493123054504, -0.3797985017299652, 0.45055684447288513, -0.8869316577911377, -0.6717880368232727, -0.6380211114883423, -0.3693610429763794, -0.09037555009126663, 0.2575620114803314, 0.5728247165679932, -0.08659727871417999, -0.035906072705984116, 0.33749788999557495, 1.1558175086975098, 0.11386385560035706, 0.47193601727485657, 0.16939809918403625, -0.013868305832147598, -0.3685194253921509, 1.0025129318237305, 0.38784509897232056, 0.10326102375984192, 0.3033045828342438, 0.3839486241340637, -0.20818810164928436, -0.5434070229530334, -0.13812822103500366, 0.10261251777410507, -0.8140549659729004, -0.2752319872379303, -0.7842272520065308, -0.4675503671169281, -0.30457839369773865, -0.35473689436912537, -0.06805779784917831, -0.8825668692588806, -0.3474287688732147, -0.224026158452034, 0.19670821726322174, 0.8382114171981812, -0.1770302951335907, 0.14967577159404755, -0.4705713391304016, 0.4402153193950653, 0.07096147537231445, 0.14536485075950623, -0.45961272716522217, -0.3344702422618866, -0.2518596947193146, -0.15269124507904053, -0.17342406511306763, -0.7087982892990112, 0.2614457905292511, 0.4501653015613556, 0.6206873655319214, 0.6078819036483765, 0.37311410903930664, 0.11386946588754654, -0.30834996700286865, 0.7752248048782349, -0.13689304888248444, -0.9829474687576294, 0.4269152581691742, -0.4026608169078827, -0.386115163564682, 0.4924831688404083, 0.9840134978294373, -0.4906041622161865, -0.6122585535049438, -0.6874170899391174, -1.002166986465454, 0.5955873727798462, 0.37149661779403687, 0.3891131579875946, 0.27662885189056396, 0.539840579032898, 0.34680816531181335, 0.4276098608970642, -0.8951802253723145, -0.5668037533760071, -0.17425870895385742, -0.05836215242743492, -0.0294928140938282, -0.08950762450695038, -0.8862947225570679, -0.31818830966949463, 0.534872829914093, 0.13078320026397705, 0.030101099982857704, 0.02206491492688656, 0.21161094307899475, 0.30813759565353394, -0.023912763223052025, 0.31540921330451965, 0.3457784950733185, 0.1707654744386673, 0.20128728449344635, -0.18907922506332397, -1.0190255641937256, 0.15926559269428253, 0.10235201567411423, -0.6063123941421509, -0.19711561501026154, 0.22044360637664795, 0.3097100853919983, 0.1380244940519333, -0.25373509526252747, 1.107121467590332, -0.24829955399036407, -0.3270167410373688, -0.37931105494499207, 0.33249542117118835, -0.5412641763687134, -0.05334755778312683, 0.3393780589103699, 0.43895483016967773, 0.6784230470657349, -0.005965234711766243, 0.2900829315185547, 0.4643988311290741, 0.1050327941775322, -0.44617605209350586, 0.84648197889328, -0.37409231066703796, -0.297028511762619, 0.2713329493999481, -0.06453509628772736, -0.6580983400344849, 0.19084207713603973, 0.3248682916164398, 0.9493530988693237, -0.8412954807281494, 0.47654300928115845, 0.11969628185033798, 0.3569413125514984, -0.13719835877418518, 0.3607199192047119, -0.537641704082489, -0.6253789663314819, 0.06336892396211624, -0.4596734941005707, -0.45369991660118103, -0.2190638929605484, -1.2717970609664917, 0.028841732069849968, -1.0939222574234009, -0.19927799701690674, 0.32182958722114563, -0.16961002349853516, -0.48773083090782166, 0.07388950884342194, -0.1497415155172348, 0.39681199193000793, -0.998885989189148, 0.6003665924072266, 0.32876238226890564, 0.04372731223702431, -0.539064884185791, -0.2922191023826599, 0.04628206044435501, -0.23462630808353424, 0.3860768973827362, 0.31209948658943176, -0.07252870500087738, -0.22691474854946136, -0.6702674627304077, -0.5952142477035522, 0.7478627562522888, 0.2482910454273224, -0.43816807866096497, 0.01856907829642296, 0.47316691279411316, 0.6765720248222351, 0.19251400232315063, -0.6006154417991638, 0.16011567413806915, 0.3271900415420532, -0.0231664776802063, -0.6166016459465027, 0.0501667819917202, -0.2281004935503006, 0.013124904595315456, 0.1318879872560501, -0.6086338758468628, 0.8368971347808838, 0.203385591506958, -0.5080128908157349, -0.22185921669006348, 0.33692219853401184, -0.4136660695075989, 0.43703338503837585, 0.16013877093791962, 0.36100462079048157, 1.0269858837127686, -0.21486254036426544, 0.9272249341011047, 0.06721217185258865, 0.21857106685638428, 0.832737922668457, -0.11884240806102753, 0.6343460083007812, 0.22440101206302643, -0.11205413192510605, 0.004829197656363249, 0.605278491973877, -0.19202563166618347, 0.48014891147613525, 0.06593040376901627, -0.7059488892555237, 0.06825129687786102, -0.10120116174221039, -0.27633294463157654, 0.38372331857681274, 0.21758362650871277, -0.34715139865875244, 0.17925460636615753, 0.5485490560531616, 0.16946223378181458, 0.18702755868434906, -0.23137332499027252, 1.0434205532073975, -0.42960137128829956, 0.040746260434389114, 0.14101839065551758, 0.3076392114162445, 0.7578348517417908, -0.4072854518890381, 0.26693159341812134, 0.12956281006336212, 0.18803513050079346, -0.6059889793395996, -0.4776482880115509, 0.6332266926765442, -0.16794456541538239, -0.2378666251897812, -0.5929043292999268, 0.6091947555541992, -0.12133259326219559, -0.4170336425304413, 0.038559529930353165, 0.049421269446611404, 0.1800672709941864, -0.0022980528883635998, -0.5887531042098999, 0.026165688410401344, -0.07875490933656693, -0.2723816931247711, 0.6404138207435608, 0.030797364190220833, -0.3194581866264343, 0.8010109663009644, 0.8352116942405701, 0.16475878655910492, 0.5334431529045105, 0.07516904920339584, 1.2071986198425293, -0.5143091678619385, -0.539882242679596, -0.7515616416931152, 0.33720532059669495, -0.18155072629451752, -0.24489395320415497, 1.3740264177322388, 1.010567307472229, 1.149303674697876, -0.1550547033548355, 0.5844889283180237, 0.2354862540960312, 0.6802546977996826, -0.2974342107772827, 1.0822575092315674, 0.10367176681756973, 0.2031339406967163, 0.0014092359924688935, -0.7845690250396729, -0.7969874739646912, 0.5930904746055603, 0.016935966908931732, -0.06866762787103653, 0.15112213790416718, 0.755998432636261, 0.13397902250289917, 0.03998328745365143, 0.2128765732049942, -0.12062632292509079, 0.469624787569046, -0.04241178184747696, 0.6896829009056091, -0.6603756546974182, -0.3002411127090454, -0.8046205043792725, -0.33291760087013245, 0.155167818069458, -0.5467562675476074, -1.0912153720855713, -0.8791272640228271, -0.6579739451408386, -0.32706111669540405, -0.03461150825023651, 0.477321982383728, 0.9484207034111023, -0.9184372425079346, -0.1337440460920334, -0.030705908313393593, 0.10595507174730301, -0.2780964970588684, -0.2853166460990906, 0.1952340304851532, 0.07424931973218918, -0.7594826817512512, 0.1614038348197937, 0.1176750436425209, 0.28823816776275635, -0.486160546541214, 0.27083998918533325, 0.05991091951727867, 0.13924181461334229, 0.32420292496681213, 0.3967212438583374, -0.5432786345481873, -0.15060441195964813, -0.22169005870819092, -0.050033122301101685, -0.11822982877492905, 1.062548279762268, -0.4566686749458313, 0.6636310815811157, 0.13918235898017883, 0.7149732708930969, 0.6657267212867737, 0.051325369626283646, 0.008023361675441265, -1.0922508239746094, 0.39278465509414673, 0.8673362731933594, 0.009369002655148506, 0.3691718280315399, -0.8913315534591675, 0.32078078389167786, 0.1029939204454422, -0.7291106581687927, -1.0685051679611206, 0.12773707509040833, -1.0797772407531738, 0.013344548642635345, 0.8164868354797363, -0.6734203100204468, -0.12950387597084045, -0.7554760575294495, -0.2755856215953827, 0.039549797773361206, -0.10454763472080231, 0.9168548583984375, 0.5154893398284912, -0.07990267127752304, -0.11894025653600693, -0.3589843511581421, 1.0371915102005005, -0.1477382779121399, -0.8375354409217834, 0.14450190961360931, 0.2905415892601013, 0.261018306016922, 0.2960078716278076, 0.30118539929389954, -0.23234860599040985, -0.003883206518366933, -0.09021277725696564, -0.32156410813331604, -0.0019574041943997145, -0.5196995735168457, -0.6496688723564148, 0.5132941007614136, -0.2952202260494232, -0.13980363309383392 ]
http://arxiv.org/abs/2406.17873v1
http://arxiv.org/pdf/2406.17873v1
Improving Arithmetic Reasoning Ability of Large Language Models through Relation Tuples, Verification and Dynamic Feedback
2024-06-25T18:21:00
2024-06-25T18:21:00
Zhongtao Miao, Kaiyan Zhao, Yoshimasa Tsuruoka
cs.CL
cs.CL, cs.AI
Current representations used in reasoning steps of large language models can mostly be categorized into two main types: (1) natural language, which is difficult to verify; and (2) non-natural language, usually programming code, which is difficult for people who are unfamiliar with coding to read. In this paper, we propose to use a semi-structured form to represent reasoning steps of large language models. Specifically, we use relation tuples, which are not only human-readable but also machine-friendly and easier to verify than natural language. We implement a framework that includes three main components: (1) introducing relation tuples into the reasoning steps of large language models; (2) implementing an automatic verification process of reasoning steps with a local code interpreter based on relation tuples; and (3) integrating a simple and effective dynamic feedback mechanism, which we found helpful for self-improvement of large language models. The experimental results on various arithmetic datasets demonstrate the effectiveness of our method in improving the arithmetic reasoning ability of large language models. The source code is available at https://github.com/gpgg/art.
[ -0.05390161648392677, -0.9799689650535583, 0.5782262086868286, 0.22799372673034668, -0.11479449272155762, 0.29503563046455383, -0.2594279646873474, -0.5323755145072937, -0.11104928702116013, 0.4080617129802704, -0.07473893463611603, -0.3337309956550598, -0.33214104175567627, 0.31825482845306396, -0.2358471006155014, 0.6046469807624817, -0.10773302614688873, 0.15545184910297394, -0.42845746874809265, -0.25797876715660095, -0.22721630334854126, -0.7484346628189087, -0.7236056327819824, -0.4844033420085907, 0.0013814384583383799, 0.2869146168231964, 0.8571245074272156, 0.6038901805877686, 0.3580741584300995, 0.5270765423774719, -0.20650619268417358, 0.5314748883247375, -0.33852407336235046, 0.04265177622437477, -0.05506519973278046, -0.6208181977272034, -0.600389838218689, -0.3151634931564331, 0.932756245136261, 0.8709098100662231, -0.23155510425567627, 0.0768580362200737, -0.23395457863807678, 0.822124183177948, -0.4208031892776489, 0.8552585244178772, -0.22033213078975677, 0.020057331770658493, 0.08947930485010147, -0.040881335735321045, -0.5475650429725647, -0.5174559354782104, -0.2769756019115448, -0.41818222403526306, -0.17084713280200958, -0.013850279152393341, 0.48058897256851196, 0.1372736394405365, -0.5675027966499329, -0.25844094157218933, -0.851000189781189, 0.5858255624771118, -0.8245738744735718, 0.407999187707901, 0.39655187726020813, 0.26094621419906616, -0.4083673655986786, -0.5618385076522827, -0.4955132007598877, -0.6645742654800415, -0.3084575831890106, -0.3224138021469116, -0.1058628186583519, 0.026722049340605736, 0.7732000946998596, 0.6583986878395081, -0.2334248572587967, -0.27444639801979065, -0.21059547364711761, -0.31702712178230286, 0.7346584796905518, 0.061386290937662125, 0.23599667847156525, -0.08938915282487869, 0.09088960289955139, 0.10359621047973633, -0.8145378828048706, 0.1865893006324768, 0.3323203921318054, 0.04686151444911957, -0.24827197194099426, 0.8602530360221863, -0.40303075313568115, 0.9063867926597595, 0.19031591713428497, -0.02256532572209835, 0.2594574987888336, -0.22690635919570923, -0.08743070811033249, -0.17091508209705353, 0.704099178314209, 0.09989924728870392, 0.6261263489723206, -0.06008089706301689, -0.44152140617370605, 0.39478132128715515, -0.1917392909526825, -0.767401397228241, -0.3978899419307709, 0.1438707411289215, -0.18881180882453918, -0.44912347197532654, -0.05620260536670685, -0.5720759630203247, -0.4482574164867401, -0.5035030841827393, 0.5186697840690613, -0.5935069918632507, -0.25364211201667786, 0.3958628475666046, 0.2660907506942749, -0.1032906174659729, 0.5499050617218018, -0.711079478263855, 0.24368660151958466, 0.786564290523529, 0.6925020217895508, 0.2554670572280884, -0.056857913732528687, -1.0620912313461304, 0.10850638151168823, -0.3074674904346466, 0.7474157214164734, -0.9737765789031982, -0.18286633491516113, 0.033623043447732925, -0.16828061640262604, -0.012135220691561699, -0.4804489016532898, 0.3458710014820099, -0.5885367393493652, 0.29649198055267334, -0.012193418107926846, -0.7228987216949463, -0.2394416630268097, 0.3317055106163025, -0.7006006240844727, 1.1983342170715332, 0.2544794976711273, -0.6424317955970764, -0.3334256410598755, -0.8076530694961548, -0.6399776339530945, 0.08496322482824326, -0.34751495718955994, -0.43301424384117126, 0.3059338927268982, 0.39461013674736023, 0.13655485212802887, -0.32334601879119873, 0.22901654243469238, -0.5359702706336975, -0.2138860672712326, 0.14343194663524628, -0.1308981031179428, 0.9197229743003845, 0.06483335793018341, -0.43698084354400635, 0.14277689158916473, -1.1702382564544678, 0.028768887743353844, 0.09113261103630066, -0.3868211507797241, -0.21148093044757843, 0.05971691384911537, -0.7673963308334351, 0.08310507982969284, 0.19867776334285736, -0.16172289848327637, 0.7025262117385864, -0.4219755232334137, 0.6436919569969177, 0.5104124546051025, 0.20327740907669067, 0.6758976578712463, -0.16743682324886322, 0.6244663596153259, 0.09074921160936356, -0.0876227393746376, -0.2813686430454254, -0.4042968451976776, -0.8439772129058838, 0.09816160053014755, 0.6146302819252014, 0.4072275161743164, -1.086377739906311, 0.41453874111175537, -0.20329642295837402, -0.4456501007080078, 0.19153930246829987, 0.06172572448849678, 0.447609007358551, 0.7151906490325928, 0.0792226642370224, -0.03823729231953621, -0.3206338584423065, -0.3822242319583893, -0.10952483862638474, -0.717993438243866, -0.05736375227570534, -0.07901279628276825, 0.5084755420684814, -0.09817357361316681, 0.42674264311790466, -0.4272157549858093, 0.11879605799913406, -0.18115700781345367, 0.3927385210990906, 0.23718228936195374, 0.3502653241157532, 0.35964852571487427, -0.5863720178604126, -0.2774978280067444, -0.14800964295864105, -0.6420645713806152, -0.27704671025276184, 0.008496521040797234, -0.28044894337654114, 0.2630889415740967, 0.45901957154273987, -0.6046759486198425, 0.4680037796497345, 0.39328381419181824, -0.6161924600601196, 0.6860342621803284, -0.364931583404541, 0.19203023612499237, -0.5850849151611328, -0.04128709062933922, 0.093683160841465, -0.6743761301040649, -0.44305235147476196, 0.29933544993400574, 0.1638130247592926, -0.08755706250667572, -0.11232980340719223, 0.285346657037735, -0.7259618043899536, 0.06282451748847961, 0.07375742495059967, -0.3530150353908539, 0.04673030972480774, 0.6208351850509644, 0.24811168015003204, 0.7395159602165222, 0.6591314673423767, -0.8624688386917114, 0.7471697330474854, 0.08806606382131577, -0.4248451590538025, 0.4894263744354248, -0.7417406439781189, 0.26431262493133545, -0.0013599606463685632, 0.3555184006690979, -0.7620874643325806, -0.06487458199262619, 0.17754872143268585, -0.47587212920188904, 0.3573359251022339, -0.5975050926208496, -0.7193824052810669, -0.26969969272613525, -0.1728994995355606, 0.3210681676864624, 0.36811959743499756, -0.29435262084007263, 0.9966275095939636, 0.590905487537384, -0.09766926616430283, -0.31368303298950195, -0.2397531121969223, -0.04251312091946602, 0.036335136741399765, -0.9240831732749939, -0.0379997082054615, 0.1236504539847374, -0.5120454430580139, -0.12478123605251312, -0.09730443358421326, -0.0181697066873312, -0.10693880170583725, -0.02954518422484398, 0.4040951430797577, -0.27550026774406433, 0.32345131039619446, -0.3657585680484772, -0.29752668738365173, 0.2931493818759918, -0.4350716173648834, 0.48955637216567993, -0.5992233157157898, -0.4098983407020569, -0.10339880734682083, 0.19690507650375366, 0.874861478805542, -0.6985817551612854, 0.5188075304031372, 0.15005682408809662, -0.7071045637130737, -0.17973415553569794, -0.49899572134017944, -0.0625094547867775, -0.43752023577690125, 0.24763880670070648, -0.5185824632644653, -0.8454771041870117, 0.6642347574234009, -0.16301588714122772, 0.08406759798526764, 0.4895748496055603, 0.9763365983963013, 0.09498552232980728, 1.4128755331039429, 0.44775134325027466, 0.10050792247056961, 0.2788548767566681, -0.500281810760498, 0.2988223135471344, -0.3686370551586151, -0.4272698760032654, -0.718510627746582, -0.01738513633608818, -0.36867204308509827, -0.5779710412025452, 0.4315718710422516, 0.058218736201524734, -0.3724387288093567, 0.15074418485164642, -0.3094028830528259, 0.4353432059288025, 0.5409330129623413, 0.09733191132545471, 0.6164615750312805, 0.04316624999046326, -0.40446290373802185, 0.11891492456197739, -0.563837468624115, -0.444010853767395, 0.5477079153060913, 0.34746721386909485, 0.9705066680908203, 0.23634390532970428, 0.3792639672756195, 0.27546998858451843, 0.04730765521526337, -0.928348958492279, 0.6893376708030701, -0.0191691555082798, -0.4817618131637573, -0.4897388219833374, -1.0579038858413696, -0.5592787265777588, 0.09115500003099442, -0.24983684718608856, -0.5684595704078674, 0.0873226746916771, 0.45088034868240356, -0.3513020873069763, 0.3523460030555725, -0.8143218755722046, 0.8094795346260071, -0.476353257894516, -0.5509709119796753, -0.3033074140548706, -0.42177334427833557, 0.3445300757884979, 0.06934855878353119, 0.379520982503891, -0.04311707988381386, 0.1584123969078064, 0.3482525646686554, -1.202102541923523, 0.5892866253852844, -0.3180314004421234, -0.2971290051937103, 0.3846629858016968, 0.5725067257881165, 1.002730131149292, 0.25454843044281006, -0.3203106224536896, -0.09931382536888123, 0.2011699229478836, -0.18666569888591766, -0.9277647733688354, 0.4697640538215637, -0.5069292187690735, -0.5195117592811584, -0.6130821704864502, -0.4553908705711365, -0.5108430981636047, 0.34062740206718445, -0.13971258699893951, 0.7753675580024719, 0.4472585618495941, 0.2049766331911087, 0.5956817269325256, -0.02956392616033554, 0.09952801465988159, 0.5009699463844299, -0.5998666882514954, -0.401231050491333, 0.5568070411682129, 0.11018453538417816, 0.2069300413131714, 0.5026290416717529, 0.40160101652145386, -0.7410011887550354, -0.31842923164367676, -0.6796140670776367, 0.43733879923820496, -0.5697363615036011, -0.2782275676727295, -0.3072373867034912, -0.12539611756801605, -0.5595578551292419, 0.4529467523097992, -0.31855735182762146, -0.9684910178184509, 0.14520809054374695, 0.07114829868078232, 0.4231088161468506, 0.7825382947921753, -0.10510646551847458, -0.2344459891319275, -0.9794329404830933, 0.628354549407959, 0.364373117685318, 0.6066230535507202, 0.12608680129051208, -0.6131057143211365, -0.1946142017841339, 0.13727188110351562, 0.012515481561422348, -0.9359990954399109, 0.14227545261383057, 0.17973622679710388, 0.23018352687358856, 0.36784830689430237, 0.298230916261673, 0.8320316672325134, -0.6046476364135742, 0.4072457253932953, 0.17863193154335022, -1.0609605312347412, 0.40472954511642456, -0.15923331677913666, 0.20935142040252686, 0.34906017780303955, 0.02781542018055916, -0.31345751881599426, -0.3379072844982147, -0.5592341423034668, -0.4563090205192566, 0.5681876540184021, 0.41801291704177856, 0.013034915551543236, 0.1790277510881424, 0.3641511797904968, -0.42899030447006226, 0.11818979680538177, -0.7512807846069336, -0.18505224585533142, -0.07161810249090195, -0.029179714620113373, 0.28356802463531494, -0.38918134570121765, -0.058287885040044785, -0.5784661769866943, 0.7767391204833984, -0.09069417417049408, 0.26655450463294983, -0.10879077762365341, -0.05618609860539436, -0.3693494200706482, 0.08990497142076492, 0.2717956006526947, 0.961567759513855, -0.02553354948759079, 0.40117067098617554, 0.04740650951862335, -0.3148241341114044, 0.3442907929420471, 0.23810887336730957, -0.19636458158493042, 0.1473337560892105, 0.42430999875068665, 0.44464755058288574, 0.22477687895298004, -0.30375194549560547, 0.5097259283065796, -0.15738797187805176, -0.003999135456979275, -0.4429158866405487, 0.13530026376247406, 0.1611250936985016, 0.05087107792496681, 0.08082296699285507, -0.10283073037862778, 0.07104787230491638, -0.6759615540504456, 0.14338238537311554, 0.2560451030731201, 0.0388660803437233, -0.2438340038061142, 0.5758259296417236, 0.3540981411933899, -0.48672470450401306, 0.7800461649894714, -0.35727110505104065, -0.7435795068740845, 0.506973147392273, 0.4815848469734192, 0.4133087992668152, -0.132443368434906, 0.2795107364654541, 0.5907670259475708, 0.17218180000782013, -0.2725858688354492, 0.31515324115753174, -0.12845459580421448, -0.5181394815444946, -0.9054750204086304, -0.5520074963569641, -0.7163652181625366, 0.003062685951590538, -0.43764951825141907, 0.624484658241272, -0.4004819393157959, 0.012249023653566837, 0.23065851628780365, 0.15837809443473816, -0.33350953459739685, 0.1476869285106659, 0.1811244636774063, 1.0031578540802002, -0.6992243528366089, 0.9049125909805298, 1.135151743888855, -0.543613612651825, -1.1490048170089722, -0.3370908498764038, -0.1326054185628891, -0.7391157150268555, 0.3229878544807434, 0.1736081838607788, -0.25689053535461426, -0.04111594706773758, -0.5361626148223877, -0.6001740097999573, 0.4213011860847473, 0.6153324246406555, -0.6660962104797363, -0.24442563951015472, 0.2503925561904907, 0.706203818321228, -0.11263319849967957, 0.4225885570049286, 0.38011330366134644, 0.5494520664215088, 0.5856053829193115, -0.7088882327079773, -0.020886924117803574, -0.5219902992248535, -0.1226043552160263, 0.5433939099311829, -0.5241447687149048, 0.5587217211723328, -0.2889688014984131, -0.08648338913917542, -0.05223407223820686, 0.8512476682662964, 0.42798635363578796, 0.18476492166519165, 0.900205135345459, 0.7360706925392151, 0.8570494651794434, -0.1668137013912201, 1.0820494890213013, -0.44002994894981384, 0.41902172565460205, 1.0288434028625488, -0.11756762862205505, 0.6516621112823486, 0.05250206217169762, -0.6109207272529602, 0.8014241456985474, 0.414307564496994, 0.03204474598169327, 0.004402562975883484, 0.2548450827598572, -0.31162992119789124, -0.743999183177948, 0.2460906207561493, -0.3551410734653473, 0.3876541554927826, 0.37451428174972534, -0.13799701631069183, -0.16034898161888123, -0.5768133997917175, 0.15370860695838928, 0.17984910309314728, -0.3507465422153473, 0.512766420841217, 0.07218245416879654, -0.8383272886276245, 0.6424039602279663, 0.24089272320270538, 0.08098048716783524, -0.4992867112159729, -0.5779618620872498, -0.23933975398540497, 0.3259764015674591, -0.41242077946662903, -0.7331113219261169, 0.3865337073802948, 0.19080190360546112, -0.03414858132600784, 0.11167296767234802, 0.6664989590644836, -0.4633346199989319, -1.0224837064743042, -0.0633777379989624, 0.3858111500740051, 0.05271391570568085, -0.1871057152748108, -0.7282853722572327, -0.1000608429312706, 0.11033573746681213, -0.0352821908891201, -0.26131558418273926, 0.934014081954956, -0.3420693278312683, 0.6656835675239563, 0.7458009719848633, 0.3769412040710449, -0.09457006305456161, 0.4091936945915222, 0.7666028141975403, -0.5711166858673096, -0.5973944664001465, -1.0157467126846313, 0.48781999945640564, -0.19555337727069855, 0.14917609095573425, 0.5126216411590576, 0.69779372215271, 0.5860195159912109, -0.01050750631839037, 0.5394121408462524, -0.21160657703876495, 0.5309643149375916, -0.5621212720870972, 0.3900661766529083, -0.2899956703186035, 0.579886794090271, -0.08659020811319351, -0.8892626166343689, -0.6263457536697388, 0.9313970804214478, -0.375741183757782, 0.1492573320865631, 0.6286803483963013, 0.7937276363372803, -0.048630982637405396, -0.024530358612537384, 0.13657818734645844, 0.5124570727348328, 0.44223836064338684, 0.7352989912033081, 1.0370672941207886, -0.08797978609800339, 0.6445908546447754, -0.5799246430397034, -0.4825263023376465, 0.0011027514701709151, -1.2204008102416992, -0.9361202120780945, -0.24478456377983093, -0.6626961827278137, -0.7678338289260864, -0.2521074712276459, 0.9036388397216797, 0.5064424872398376, -0.8888003826141357, -0.15485480427742004, -0.1675567477941513, 0.33406782150268555, -0.13630934059619904, -0.17940233647823334, 0.41838353872299194, -0.1724437177181244, -0.7033320069313049, -0.02432866394519806, 0.48766425251960754, -0.13227185606956482, -0.44515538215637207, -0.13964273035526276, -0.11210516840219498, -0.030057081952691078, 0.6983435153961182, 0.3025238811969757, -0.33694595098495483, -0.2764117121696472, -0.02637086994946003, 0.06372891366481781, 0.1575695425271988, 0.8392178416252136, -0.7070239782333374, 0.5669171810150146, 0.8234297633171082, 0.4810412526130676, 0.3758971393108368, 0.11187838017940521, 0.8424814939498901, -0.28690963983535767, -0.07142829149961472, 0.2536334991455078, 0.8445881009101868, 0.3700244724750519, -0.34783533215522766, 0.8782173991203308, 0.35105541348457336, -0.473605215549469, -0.8077142238616943, 0.387612909078598, -0.7390148043632507, 0.2361680418252945, 1.2922799587249756, -0.33815354108810425, -0.2025551199913025, -0.05126667022705078, -0.22914770245552063, 0.28844359517097473, -0.24229611456394196, 0.9027904868125916, 0.7799990773200989, -0.36542055010795593, -0.22979192435741425, -0.052166737616062164, 0.2486259788274765, 0.21235854923725128, -0.8294277191162109, 0.1657017469406128, 0.9518952965736389, 0.13739120960235596, 0.16528324782848358, 0.40041103959083557, -0.6969959735870361, 0.4379459023475647, -0.2707810401916504, -0.18031466007232666, -0.37361598014831543, -0.14227402210235596, -0.238515704870224, 0.02322465367615223, 0.15977327525615692, 0.035755012184381485 ]
http://arxiv.org/abs/2406.17764v1
http://arxiv.org/pdf/2406.17764v1
BMIKE-53: Investigating Cross-Lingual Knowledge Editing with In-Context Learning
2024-06-25T17:48:56
2024-06-25T17:48:56
Ercong Nie, Bo Shao, Zifeng Ding, Mingyang Wang, Helmut Schmid, Hinrich Schütze
cs.CL
cs.CL, cs.AI
Large language models (LLMs) possess extensive parametric knowledge, but this knowledge is difficult to update with new information because retraining is very expensive and infeasible for closed-source models. Knowledge editing (KE) has emerged as a viable solution for updating the knowledge of LLMs without compromising their overall performance. On-the-fly KE methods, inspired by in-context learning (ICL), have shown great promise and allow LLMs to be treated as black boxes. In the past, KE was primarily employed in English contexts, whereas the potential for cross-lingual KE in current English-centric LLMs has not been fully explored. To foster more research in this direction, we introduce the BMIKE-53 benchmark for evaluating cross-lingual KE on 53 diverse languages across three KE task types. We also propose a gradient-free KE method called Multilingual In-context Knowledge Editing (MIKE) and evaluate it on BMIKE-53. Our evaluation focuses on cross-lingual knowledge transfer in terms of reliability, generality, locality, and portability, offering valuable insights and a framework for future research in cross-lingual KE. Our code and data are publicly accessible via the anonymous repository at https://anonymous.4open.science/r/MIKE.
[ -0.1469324231147766, -0.5084971189498901, 0.3170102834701538, 0.3137836754322052, 0.06120819225907326, 0.19248619675636292, -0.6400469541549683, -0.6101043224334717, -0.002069785725325346, 0.16714084148406982, -0.469524085521698, -0.6622909307479858, -0.49490994215011597, 0.25322309136390686, -0.1588440239429474, 0.5684797167778015, -0.1755577027797699, 0.4934721291065216, -0.23684990406036377, -0.2996307611465454, -0.4988780617713928, -0.2882031798362732, -0.5606732964515686, -0.11052194982767105, 0.5416691303253174, 0.8446985483169556, 0.42650777101516724, 0.37281644344329834, 0.34379714727401733, 0.16257137060165405, -0.3199983835220337, 0.13325177133083344, -0.6389247179031372, -0.07014303654432297, -0.4929972290992737, -0.5145377516746521, -0.5530930757522583, -0.25417760014533997, 0.9982858300209045, 1.0658081769943237, 0.13500583171844482, 0.17055408656597137, 0.15914808213710785, 0.7392199039459229, -0.8586097359657288, -0.03746245056390762, -0.7655211091041565, 0.12793056666851044, -0.2275017499923706, 0.05892813950777054, -0.4855791926383972, -0.017754707485437393, 0.24257539212703705, -0.8289704322814941, -0.09925219416618347, 0.18268989026546478, 0.5198681950569153, 0.23949573934078217, -0.36294981837272644, -0.25615230202674866, -0.19463258981704712, 0.7545296549797058, -0.7392534017562866, 1.120215892791748, 0.4624452292919159, 0.10404817014932632, -0.051920074969530106, -0.40747493505477905, -0.34108826518058777, -0.05369943752884865, -0.16291241347789764, 0.10626976937055588, -0.17836648225784302, -0.18176351487636566, 0.37741661071777344, 0.13812629878520966, -0.4075457751750946, 0.3365255296230316, -0.28992316126823425, -0.20505601167678833, 0.4975946843624115, 0.09306650608778, 0.33621150255203247, -0.2775548994541168, -0.34007537364959717, 0.154338538646698, -0.9741047024726868, 0.09786967933177948, 0.23038500547409058, -0.019510949030518532, -0.32143980264663696, 0.7995341420173645, -0.4431186020374298, 0.6735312342643738, 0.24890635907649994, -0.19218392670154572, 0.21411921083927155, -0.3351997137069702, -0.25839537382125854, 0.2561338245868683, 0.7266966104507446, 0.7461214661598206, 0.18720661103725433, -0.36909016966819763, -0.0553467720746994, -0.680981457233429, -0.17299015820026398, -0.8127870559692383, 0.10348730534315109, -0.06205269321799278, -0.3186771869659424, -0.012667607516050339, -0.28338128328323364, -0.7339972257614136, -0.4343380630016327, -0.102664515376091, 0.4717455506324768, -0.6151703000068665, -0.03220314159989357, 0.2779654264450073, -0.08796438574790955, -0.08199843764305115, 0.4537780284881592, -0.6771689057350159, -0.15653519332408905, 0.5597733855247498, 0.7625501751899719, -0.10616277903318405, -0.8014212846755981, -0.4392200708389282, 0.6930157542228699, -0.5356641411781311, 0.36865803599357605, -0.5152522921562195, -0.5215272307395935, -0.043527454137802124, 0.06566881388425827, -0.07688160240650177, -0.5023998618125916, 0.16274301707744598, -0.4580140709877014, 0.35397154092788696, -0.6311811804771423, -0.9078983664512634, -0.25051620602607727, 0.41710349917411804, -0.502647340297699, 1.073899507522583, 0.05549732595682144, -0.9634285569190979, 0.6906279921531677, -0.6742696762084961, -0.5182338356971741, -0.05295456945896149, 0.33452078700065613, -0.10445944219827652, 0.025563927367329597, 0.3346271812915802, 0.6618918776512146, -0.29562410712242126, 0.1449621617794037, -0.30923235416412354, -0.3423517048358917, 0.15634238719940186, -0.06737514585256577, 0.8008173704147339, -0.13598355650901794, -0.29343900084495544, -0.03129925578832626, -0.8394940495491028, -0.39503076672554016, -0.2623109221458435, -0.6078011989593506, -0.6889551877975464, -0.3169296979904175, -0.18306277692317963, 0.27823954820632935, 0.41425979137420654, -0.9464673399925232, 0.08486093580722809, -0.15466663241386414, 0.04534072056412697, 0.5284835696220398, 0.03613807260990143, 0.49411147832870483, -0.27200692892074585, 0.44093266129493713, 0.010420965030789375, -0.0050732712261378765, 0.07736236602067947, -0.4261041283607483, -0.6107799410820007, -0.36807185411453247, 0.49075737595558167, 0.5859203934669495, -0.8784370422363281, 0.07207980006933212, -0.4610067903995514, -0.5871894359588623, -0.4719761312007904, 0.4748493731021881, 0.42637211084365845, 0.7743116617202759, 0.502520740032196, -0.1224776953458786, -0.3433116376399994, -0.8319975733757019, -0.6501821875572205, 0.059863392263650894, -0.10888493806123734, 0.269422709941864, 0.3976981043815613, -0.3412797749042511, 0.7473987340927124, -0.23434732854366302, -0.19292515516281128, -0.298007994890213, -0.13018475472927094, -0.3749314546585083, 0.44117748737335205, 0.6277101039886475, -0.31650057435035706, -0.8023251891136169, 0.3611759543418884, -0.7954438328742981, -0.31446632742881775, -0.0234089232981205, -0.425779789686203, 0.18743549287319183, 0.7348334193229675, -0.5391170382499695, 0.15617553889751434, 0.6643379926681519, -0.2561226189136505, 0.4441010653972626, 0.08241503685712814, 0.37306952476501465, -1.1157243251800537, 0.30869245529174805, 0.008599509485065937, -0.21977750957012177, -0.5320621728897095, -0.007471148855984211, 0.5321802496910095, -0.08639824390411377, -0.6427456736564636, 0.8523818254470825, -0.36940059065818787, -0.06260673701763153, 0.17914538085460663, -0.03900184854865074, -0.11076962947845459, 0.6505268812179565, 0.007387704681605101, 0.6666103601455688, 0.3465825617313385, -0.31673622131347656, 0.11523686349391937, 0.22485388815402985, -0.7029328346252441, 0.8529729843139648, -0.16431915760040283, 0.00553919468075037, -0.04526656121015549, 0.2840465009212494, -0.6670815348625183, -0.05219441279768944, 0.28854912519454956, -0.33090952038764954, 0.26005539298057556, -0.20115356147289276, -0.5589094161987305, 0.28754937648773193, -0.34347087144851685, 0.44208452105522156, -0.1152440682053566, -0.5401781797409058, 0.4502072036266327, 0.23409590125083923, -0.14577947556972504, -0.7877720594406128, -0.9095596075057983, 0.29121747612953186, -0.19675956666469574, -0.5217472910881042, 0.37073230743408203, -0.23316724598407745, -0.23988784849643707, 0.22203074395656586, -0.1264813244342804, 0.046598587185144424, 0.0297267846763134, -0.29353615641593933, -0.056671615689992905, -0.06386920064687729, -0.006784510798752308, 0.43247607350349426, 0.15883667767047882, 0.0934382900595665, -0.1545289158821106, -0.04561861604452133, 0.3224118649959564, -0.26220962405204773, -0.36377784609794617, 0.29887527227401733, 0.8133936524391174, -0.2531645596027374, 0.5728316307067871, 0.559921145439148, -0.5636447072029114, -0.4091745913028717, -0.48739567399024963, 0.1632537692785263, -0.42551755905151367, 0.6147907972335815, -0.5273452401161194, -1.153549313545227, 0.51254802942276, -0.14337009191513062, 0.3157362639904022, 0.2347021996974945, 0.6960404515266418, -0.02712167613208294, 0.44772106409072876, 0.537692129611969, -0.019695743918418884, 0.5269216895103455, -0.11613257974386215, -0.004721543285995722, -0.9848140478134155, -0.2594394385814667, -0.24937504529953003, -0.5850952863693237, -0.33222901821136475, -0.4885138273239136, 0.5838990211486816, -0.00489600095897913, -0.04687515273690224, 0.17338144779205322, 0.2555926740169525, 0.5415729880332947, 0.334803968667984, 0.14509551227092743, 0.37354084849357605, -0.28210628032684326, -0.4971323609352112, -0.1424805074930191, -1.0083072185516357, 0.21003669500350952, 1.2869036197662354, 0.33994555473327637, 0.6929599046707153, 0.29941990971565247, 0.4543391168117523, 0.09708373248577118, 0.5248861312866211, -0.8030067682266235, 0.6438168287277222, -0.2942742705345154, -0.7236164212226868, -0.4876351058483124, -0.5617616176605225, -0.5872176885604858, 0.2925640046596527, -0.19889529049396515, -0.6163080930709839, 0.35385483503341675, 0.1978015899658203, -0.09264558553695679, 0.6610307693481445, -0.7666718363761902, 1.0361889600753784, -0.1982465237379074, -0.596088707447052, -0.4438149333000183, -0.6836598515510559, 0.49956512451171875, -0.3592236340045929, 0.38950440287590027, -0.012273699976503849, -0.24349993467330933, 0.7117427587509155, -0.3150087893009186, 0.7871152758598328, -0.19443169236183167, -0.2747769355773926, -0.13225547969341278, 0.5154330134391785, 0.4081343412399292, 0.12694141268730164, -0.17425678670406342, 0.3441843092441559, -0.015088747255504131, -0.3395622968673706, -0.7167612910270691, 0.6258748173713684, -0.48281461000442505, -0.3985176384449005, 0.013253889046609402, -0.9377195239067078, -0.8283891081809998, 0.20788343250751495, 0.13991326093673706, 0.4707702100276947, -0.14645546674728394, 0.4990566372871399, 0.45367610454559326, -0.4492328464984894, 0.36574676632881165, 0.6923547983169556, -0.23855164647102356, -0.4729595184326172, 0.773139476776123, 0.3565118610858917, 0.34186679124832153, 0.9471209049224854, 0.4202379286289215, -0.13226912915706635, -0.38004958629608154, -0.7262357473373413, 0.15031327307224274, -0.7999247312545776, -0.09959634393453598, -0.6864514946937561, 0.1720883548259735, -0.12531673908233643, -0.48846977949142456, -0.4179137647151947, -0.534841775894165, 0.23835301399230957, -0.010641643777489662, 0.2819356918334961, 0.6352812647819519, -0.39254021644592285, 0.14513905346393585, -0.7363781332969666, 0.04766441881656647, 0.2736320197582245, 0.5534446835517883, 0.22725756466388702, -0.39882776141166687, -0.9910487532615662, 0.06801412254571915, 0.13817472755908966, -0.9267876148223877, 0.04149658977985382, 0.10339883714914322, 0.5016512870788574, 0.030684566125273705, -0.1574729084968567, 0.757286787033081, -0.4570358693599701, 0.6109600067138672, 0.10596980154514313, -1.1931651830673218, 0.07456903159618378, -0.39853635430336, 0.6098741292953491, 0.6387914419174194, 0.6139340996742249, -1.066463589668274, -0.39261123538017273, -0.19416555762290955, -0.4936482906341553, 0.5098959803581238, -0.34244009852409363, -0.115019790828228, 0.4482545554637909, 0.1408461183309555, 0.3768196105957031, 0.39111563563346863, -0.447581022977829, 0.030075471848249435, -0.10999816656112671, -0.23813870549201965, -0.11092475056648254, -0.3387383818626404, 0.11718825250864029, -0.6355776786804199, 0.7704242467880249, -0.07984694838523865, -0.2517744302749634, 0.22323308885097504, -0.6434470415115356, -0.2839251160621643, 0.22547727823257446, 0.603366494178772, 0.9337174892425537, -0.24119000136852264, 0.0008760819910094142, 0.7329248785972595, -0.462412029504776, -0.06440316140651703, -0.1299431324005127, -0.26649144291877747, -0.04617191106081009, 0.4872581660747528, 0.6555261611938477, 0.9820020794868469, -0.6663744449615479, 0.35562482476234436, 0.001037358189933002, -0.28352686762809753, 0.2729877829551697, -0.2864490747451782, 0.14904426038265228, 0.023256679996848106, 0.0716094896197319, -0.10785216838121414, -0.025519568473100662, -0.4460400938987732, 0.057484421879053116, 0.23118999600410461, -0.1346634477376938, -0.2838697135448456, 0.6465065479278564, 0.34395456314086914, -0.05967329069972038, 0.311943918466568, -0.18696057796478271, -0.5580301880836487, -0.08796972036361694, 0.27058783173561096, 0.7446867823600769, -0.23030602931976318, -0.13899405300617218, 0.34227490425109863, 0.5062265992164612, 0.3000056743621826, 0.01591508835554123, -0.1275981217622757, -0.8583621978759766, -0.7607110738754272, -0.41591188311576843, -0.8283640742301941, 0.18228904902935028, -0.34874027967453003, 0.34462982416152954, -0.4344992935657501, 0.2463553547859192, -0.03052658587694168, 0.008776125498116016, -0.7063760161399841, 0.21189622581005096, -0.08828020840883255, 1.1626687049865723, -0.6320180296897888, 0.775861382484436, 0.986691415309906, 0.1354629248380661, -0.6406497955322266, 0.24695850908756256, 0.18498381972312927, -0.636637806892395, 0.3591575622558594, -0.1086418554186821, -0.09699829667806625, -0.038197875022888184, -0.31472668051719666, -0.8783453702926636, 0.9477201104164124, 0.5898473262786865, -0.6760047078132629, -0.017357343807816505, 0.20998260378837585, 0.2417629361152649, 0.07708105444908142, -0.06704483181238174, 0.32127952575683594, 0.6488263010978699, -0.09846550971269608, -1.1658477783203125, 0.01249944418668747, -0.05878801643848419, -0.35271787643432617, 0.013554967008531094, -0.8920352458953857, 0.4929533898830414, 0.03400074318051338, 0.18210460245609283, -0.3355449438095093, 0.5108816027641296, -0.006342841777950525, 0.15018784999847412, 0.5734184980392456, 0.8194663524627686, 0.688433051109314, 0.3814786970615387, 0.6610726714134216, -0.6608031392097473, 0.20161376893520355, 0.969317615032196, -0.41159787774086, 0.7197682857513428, 0.48639801144599915, 0.07940869778394699, 0.45240411162376404, 0.5434532165527344, 0.18476462364196777, 0.3338089883327484, -0.006978633347898722, -0.1918945610523224, -0.24374431371688843, 0.07145407050848007, -0.19711466133594513, 0.6261364221572876, 0.2787008583545685, 0.09843722730875015, -0.23902775347232819, 0.09235479682683945, 0.5639598965644836, -0.23307913541793823, -0.4103831946849823, 0.532789409160614, 0.007177453022450209, -0.5855329036712646, 0.25796619057655334, 0.3171606957912445, 0.8235518336296082, -0.7735106348991394, 0.14979545772075653, -0.28180059790611267, -0.06687603890895844, -0.22803373634815216, -0.7913747429847717, 0.32487252354621887, 0.2411477416753769, -0.07728075981140137, -0.3615507483482361, 0.5769055485725403, -0.6870181560516357, -0.6241815090179443, 0.5072107911109924, 0.7506598234176636, -0.07968051731586456, 0.2005583643913269, -0.5638821721076965, -0.009818431921303272, -0.024992339313030243, -0.3318183422088623, 0.45095640420913696, 0.7796006202697754, -0.11502601206302643, 0.6350945234298706, 0.6130791306495667, 0.22327540814876556, 0.22672918438911438, -0.1450963020324707, 0.5340903401374817, -0.5596386790275574, -0.6458346843719482, -0.6945080757141113, 0.51161128282547, 0.14701491594314575, -0.5084207057952881, 0.9877693057060242, 0.9318957924842834, 1.47673499584198, -0.05397472530603409, 0.8592187762260437, -0.07014471292495728, 0.5329546928405762, -0.6586839556694031, 1.025349736213684, -0.9909186959266663, -0.06690084934234619, -0.46771982312202454, -0.6207233667373657, -0.3197936713695526, 0.2087404429912567, -0.37686899304389954, -0.19910253584384918, 0.8832922577857971, 0.8289908170700073, -0.2703477442264557, -0.04164586961269379, 0.5085569620132446, 0.27771157026290894, -0.1544339954853058, 0.6629163026809692, 0.7224822044372559, -0.05042218789458275, 0.39168763160705566, -0.6167394518852234, -0.05166003853082657, -0.07053191214799881, -0.7683828473091125, -0.9822505712509155, -0.476467102766037, -0.22788438200950623, 0.011576082557439804, 0.23616433143615723, 0.9235137104988098, 0.6120476126670837, -0.5039733648300171, -0.5793479681015015, 0.4267439842224121, 0.37534916400909424, -0.33376872539520264, -0.1416986584663391, 0.3606095314025879, -0.12819035351276398, -0.7851775288581848, 0.7633191347122192, 0.17839667201042175, -0.29345983266830444, -0.16631370782852173, -0.07718444615602493, -0.3532066345214844, -0.1516914665699005, 0.7076663374900818, 0.07172130793333054, -0.28163063526153564, -0.30702444911003113, -0.06806066632270813, 0.011583584360778332, -0.029776668176054955, 0.8402237296104431, -0.3618965446949005, 0.48949432373046875, 0.5889373421669006, 1.0724948644638062, 0.3604575991630554, -0.30584144592285156, 0.720653235912323, -0.9289325475692749, 0.13467015326023102, -0.1416473537683487, 0.5911661386489868, 0.5792028307914734, -0.3124328553676605, 0.39985769987106323, 0.42829430103302, -0.3812714219093323, -0.822397768497467, -0.062346965074539185, -0.7681896090507507, -0.3042055666446686, 1.3462274074554443, -0.2584434151649475, -0.10391804575920105, 0.05998673290014267, -0.13043615221977234, 0.21510204672813416, -0.16119705140590668, 0.4637499153614044, 1.0053675174713135, 0.10108479857444763, -0.24381037056446075, -0.5824589729309082, 0.441468745470047, 0.6335026025772095, -0.6695170998573303, 0.23523251712322235, 0.4848136603832245, 0.622614324092865, -0.3887576460838318, 0.2933420240879059, 0.10433035343885422, 0.4997485876083374, -0.26118212938308716, 0.13694313168525696, -0.20000199973583221, -0.3169958293437958, -0.168924018740654, 0.11332052946090698, -0.047101933509111404, -0.014909454621374607 ]
http://arxiv.org/abs/2406.17761v2
http://arxiv.org/pdf/2406.17761v2
CaLMQA: Exploring culturally specific long-form question answering across 23 languages
2024-06-25T17:45:26
2024-07-03T16:33:55
Shane Arora, Marzena Karpinska, Hung-Ting Chen, Ipsita Bhattacharjee, Mohit Iyyer, Eunsol Choi
cs.CL
cs.CL, cs.AI, cs.LG
Large language models (LLMs) are used for long-form question answering (LFQA), which requires them to generate paragraph-length answers to complex questions. While LFQA has been well-studied in English, this research has not been extended to other languages. To bridge this gap, we introduce CaLMQA, a collection of 1.5K complex culturally specific questions spanning 23 languages and 51 culturally agnostic questions translated from English into 22 other languages. We define culturally specific questions as those uniquely or more likely to be asked by people from cultures associated with the question's language. We collect naturally-occurring questions from community web forums and hire native speakers to write questions to cover under-resourced, rarely-studied languages such as Fijian and Kirundi. Our dataset contains diverse, complex questions that reflect cultural topics (e.g. traditions, laws, news) and the language usage of native speakers. We automatically evaluate a suite of open- and closed-source models on CaLMQA by detecting incorrect language and token repetitions in answers, and observe that the quality of LLM-generated answers degrades significantly for some low-resource languages. Lastly, we perform human evaluation on a subset of models and languages. Manual evaluation reveals that model performance is significantly worse for culturally specific questions than for culturally agnostic questions. Our findings highlight the need for further research in non-English LFQA and provide an evaluation framework.
[ -0.47948622703552246, -0.9042711853981018, 0.3211227059364319, 0.3146655261516571, -0.2182939201593399, 0.2776736617088318, -0.498090535402298, -0.7894073128700256, 0.0804196298122406, 0.3683387041091919, -0.6671722531318665, -0.316406786441803, -0.10030950605869293, 0.3838637173175812, -0.01596011593937874, 0.5006992220878601, -0.41239655017852783, 0.24862276017665863, -0.004190907813608646, -0.44579312205314636, -0.11699975281953812, -0.5099543333053589, -0.649672269821167, -0.1638757586479187, 0.5650097727775574, 0.5030882358551025, 0.6678444147109985, 0.11356262117624283, 0.3306507170200348, 0.20353953540325165, -0.36683931946754456, 0.1012452244758606, -0.7052455544471741, 0.15851028263568878, -0.254805326461792, -0.5810772776603699, -0.048656266182661057, -0.10939138382673264, 0.3557581603527069, 0.7451645731925964, -0.10252944380044937, 0.5419461727142334, -0.3356332778930664, 0.3490203022956848, -0.6950666308403015, -0.1998210996389389, -0.40880492329597473, 0.24986548721790314, -0.1783408671617508, 0.030944468453526497, -0.20033732056617737, -0.619425892829895, -0.04976210370659828, -0.3459376394748688, -0.01645526848733425, -0.28569284081459045, 0.685981810092926, 0.29994532465934753, -1.0180248022079468, -0.285410076379776, -0.7377057075500488, 0.8538068532943726, -0.5602785348892212, 0.42758044600486755, 0.48777687549591064, 0.23983579874038696, -0.3115765154361725, -0.5633586645126343, -0.6633251309394836, -0.10369795560836792, 0.16993474960327148, 0.3251335024833679, -0.20530754327774048, -0.1476963311433792, 0.13209259510040283, 0.49511799216270447, -0.7703551054000854, 0.2839931547641754, -0.34399479627609253, -0.3631649911403656, 0.7252563834190369, 0.2562815248966217, 0.4258439242839813, -0.1126955896615982, -0.2948336601257324, 0.14805220067501068, -0.6980849504470825, 0.8175563216209412, 0.22065408527851105, 0.054150886833667755, -0.11894404143095016, 0.3296864628791809, -0.6718229055404663, 0.599149763584137, 0.030452385544776917, -0.33464616537094116, -0.14618508517742157, -0.0030067013576626778, 0.002182002179324627, -0.16600511968135834, 0.6614978313446045, 0.28680339455604553, 0.3435780704021454, -0.04143168032169342, -0.04266572371125221, -0.16785864531993866, -0.22719025611877441, -0.8222470283508301, 0.09702590852975845, 0.4734136462211609, -0.2598104774951935, -0.17420156300067902, -0.4588035047054291, -0.5170835852622986, -0.4551962912082672, -0.12137424945831299, 0.119811050593853, -0.05563099682331085, -0.4152062237262726, 0.16725341975688934, 0.19311517477035522, 0.7145158648490906, 0.33423662185668945, -0.4940183162689209, 0.0673867017030716, 0.4684320390224457, 0.20518524944782257, -0.3106552064418793, -0.20460551977157593, -0.1546507626771927, -0.14325480163097382, -0.6039290428161621, 0.5704879760742188, -0.6748278141021729, -0.4551538825035095, 0.22032323479652405, 0.29929637908935547, 0.26667407155036926, -0.4784921109676361, 0.7961381077766418, -0.8848792314529419, 0.37903058528900146, -0.7016009092330933, -0.14992965757846832, -0.22936075925827026, 0.5172385573387146, -0.4832218885421753, 1.1783673763275146, 0.0914064422249794, -0.5836952328681946, 0.21536998450756073, -0.18781960010528564, -0.47740426659584045, 0.2607977092266083, -0.12247443944215775, 0.08740178495645523, 0.030072739347815514, 0.31920763850212097, 0.40269190073013306, -0.7572384476661682, 0.4721563160419464, -0.0861385390162468, -0.4450581967830658, 0.5339775085449219, -0.469811350107193, 0.9583823084831238, 0.6468383073806763, -0.5246171355247498, -0.01226869598031044, -0.5166411399841309, 0.32007017731666565, 0.14137670397758484, -0.5847276449203491, -0.1126728504896164, -0.34369367361068726, -0.058986786752939224, 0.5769386887550354, 0.3750171959400177, -0.7341538667678833, 0.0602920800447464, -0.0037346319295465946, 0.43952664732933044, 0.32108089327812195, 0.2043427675962448, 0.26232534646987915, -0.35604894161224365, 1.0868593454360962, 0.045243341475725174, 0.10925468057394028, -0.12690486013889313, -0.5440731048583984, -0.7483392357826233, -0.23444423079490662, -0.16775473952293396, 0.6945041418075562, -0.7344473004341125, -0.3290311098098755, -0.0013322830200195312, -0.8000767230987549, -0.6150981187820435, 0.2596758306026459, 0.28776198625564575, 0.7035964727401733, 0.2893054187297821, -0.17705699801445007, -0.10951904207468033, -0.9132016897201538, -0.23650187253952026, -0.33725517988204956, 0.05667947605252266, 0.1618558168411255, 0.39493098855018616, -0.06208568438887596, 0.6411169767379761, -0.5355579853057861, 0.26158595085144043, -0.1524614691734314, 0.14159385859966278, 0.16491033136844635, 0.06489855796098709, 0.393900603055954, -0.7685715556144714, -0.43728163838386536, -0.11431317031383514, -0.7398891448974609, 0.02029121294617653, -0.10412437468767166, -0.3569926619529724, 0.2796837389469147, 0.5275141596794128, -0.699103593826294, 0.19362685084342957, 0.5034618377685547, -0.1629543900489807, 0.5397964119911194, 0.21730732917785645, 0.4060381054878235, -1.2344553470611572, 0.1669929176568985, -0.209401935338974, 0.04257455840706825, -0.6715662479400635, 0.6112563610076904, 0.09594439715147018, -0.4144115746021271, -0.6152697801589966, 0.7199578881263733, -0.2798595726490021, 0.43284186720848083, 0.1100725457072258, -0.1733231097459793, 0.07976597547531128, 0.5049845576286316, 0.3627623915672302, 0.6036925911903381, 0.4067128896713257, -0.30910930037498474, 0.41809219121932983, 0.11122176796197891, -0.47649258375167847, 0.4830020070075989, -0.6036399602890015, 0.4687294065952301, -0.3242896497249603, 0.48463907837867737, -0.9213224053382874, -0.4544139504432678, -0.06724138557910919, -0.28244149684906006, 0.050651054829359055, -0.16490553319454193, -0.1317480504512787, -0.416623592376709, -0.1160062775015831, 0.7982136011123657, 0.5537265539169312, -0.3537341356277466, 0.3152036666870117, 0.33852458000183105, -0.41947343945503235, -0.9399797320365906, -0.7972576022148132, -0.014032888226211071, -0.3866965174674988, -0.7628056406974792, -0.26341959834098816, -0.3224460780620575, -0.5252243280410767, -0.3361690938472748, -0.06914708018302917, -0.4600309729576111, 0.39398643374443054, -0.0031623870600014925, -0.17281000316143036, -0.5194072127342224, 0.16982541978359222, -0.008532283827662468, 0.46748366951942444, 0.24036720395088196, -0.07522442191839218, 0.6126894950866699, -0.31873655319213867, -0.3134223222732544, -0.2474232167005539, 0.8823443651199341, 0.8218284249305725, -0.7879012823104858, 0.5680592656135559, 0.8561237454414368, -0.5484793782234192, -0.15937858819961548, -0.7290291786193848, 0.013631942681968212, -0.4859645366668701, 0.29860901832580566, -0.598800778388977, -1.3558069467544556, 1.0349147319793701, 0.12803414463996887, 0.01908131130039692, 0.3483794927597046, 0.8416019082069397, -0.20119275152683258, 0.8059002161026001, 0.5932372212409973, -0.08369415253400803, -0.10219336301088333, 0.11909192055463791, 0.3131864666938782, -0.02036716230213642, -0.4807488024234772, -0.4828537702560425, -0.4012082517147064, -0.7766718864440918, -0.7197521328926086, 0.2149394005537033, 0.2048557698726654, -0.4662979245185852, -0.21606600284576416, -0.21312479674816132, 0.5411321520805359, 0.4277290403842926, -0.10872144252061844, 0.4255363643169403, -0.23146790266036987, -0.10227304697036743, -0.04063079506158829, -0.6446859240531921, -0.47222691774368286, 0.6279885768890381, 0.3917311728000641, 0.8713204264640808, 0.5776017308235168, 0.6469529867172241, 0.10455480217933655, 0.47379276156425476, -0.8924190998077393, 0.4992017149925232, 0.24647141993045807, -0.912369430065155, -0.4083498418331146, -0.44452348351478577, -0.8171983957290649, 0.01296374574303627, -0.020325293764472008, -0.4622611999511719, 0.28724685311317444, -0.07188556343317032, -0.2469390630722046, 0.18582965433597565, -0.2802788019180298, 0.5299376845359802, -0.45562171936035156, -0.39085689187049866, -0.03878147527575493, -0.6271328926086426, 0.7474916577339172, -0.4127408564090729, 0.16654238104820251, -0.30508437752723694, 0.10000766068696976, 0.6219199299812317, -0.0982491597533226, 0.6759132742881775, 0.05162139981985092, -0.5076797604560852, 0.6339924931526184, 0.4164313077926636, 0.1377895623445511, 0.2962232828140259, -0.3156220316886902, -0.010941742919385433, 0.2761187255382538, -0.7674122452735901, -0.381175696849823, 0.8297962546348572, -0.9562980532646179, -0.7542920112609863, -0.35669010877609253, -0.6501458883285522, -0.5059726238250732, 0.1283782422542572, 0.2575450539588928, 0.16340245306491852, -0.1989116668701172, -0.06204250082373619, 0.6887046098709106, -0.591927707195282, 0.25848937034606934, 0.8255983591079712, -0.1393943727016449, -0.07226530462503433, 0.46388453245162964, 0.00023017037892714143, 0.16975902020931244, 0.3040481507778168, 0.09368264675140381, -0.2706371545791626, -0.29782599210739136, -0.45864760875701904, 0.19769808650016785, -0.9917721152305603, -0.13145892322063446, -0.5242214798927307, -0.03424425795674324, -0.3421316146850586, -0.3366122841835022, -0.17024463415145874, -0.46778085827827454, 0.07308166474103928, -0.13979732990264893, 0.369383841753006, 0.6553083658218384, 0.19490638375282288, -0.10811641067266464, -0.6688798069953918, 0.2824086546897888, 0.6416094899177551, 0.10854660719633102, -0.09201617538928986, -0.5225517749786377, -0.02185661345720291, 0.07735150307416916, 0.06559725105762482, -1.0736801624298096, 0.18839548528194427, 0.25774019956588745, 0.5352391004562378, 0.40451139211654663, 0.6105303168296814, 0.9199346303939819, -0.26736295223236084, 1.0016131401062012, -0.13740450143814087, -0.734384298324585, 0.386516273021698, -0.5430676341056824, 0.857452392578125, 0.7982447147369385, 1.0964398384094238, -0.961386501789093, -0.5019540190696716, -0.10580671578645706, -0.9532293081283569, 0.26775220036506653, -0.21713735163211823, 0.39330723881721497, -0.21442334353923798, 0.4346751570701599, -0.04677858203649521, 0.006478135474026203, -0.6774700880050659, -0.0022411253303289413, 0.022147413343191147, -0.02596263773739338, -0.06312433630228043, -0.31553444266319275, -0.3034568727016449, -0.20812630653381348, 0.44748374819755554, -0.22252433001995087, 0.029281532391905785, 0.2976500689983368, -0.32620421051979065, -0.3981519639492035, 0.5686460137367249, 0.4533284902572632, 0.6607484817504883, -0.10932374000549316, 0.0853210985660553, 0.6472824215888977, -0.4197014272212982, 0.29092875123023987, -0.001675581093877554, -0.2786255478858948, -0.2500421106815338, 0.27247610688209534, 0.1280001848936081, -0.15966281294822693, -0.9994654059410095, 0.12940016388893127, -0.475779265165329, 0.006217550486326218, -0.6204648017883301, -0.34440112113952637, 0.2869640588760376, 0.1505209058523178, 0.40994688868522644, -0.3379381597042084, 0.06565286219120026, -0.8615599274635315, 0.1245371624827385, 0.264273077249527, -0.6199215650558472, -0.3008939027786255, 0.6316730976104736, 0.30913132429122925, -0.05128893628716469, 0.7843679189682007, -0.07259154319763184, -0.6508480310440063, 0.5699876546859741, 0.35363343358039856, 0.49233564734458923, -0.49059000611305237, 0.4448417127132416, 0.4758082628250122, 0.45167383551597595, 0.14269326627254486, 1.025949478149414, -0.1286906749010086, -0.6128612756729126, -0.6089192032814026, -0.8065939545631409, -0.6445866823196411, 0.32724371552467346, -0.8769620060920715, 0.22448942065238953, -0.33315497636795044, -0.1016063541173935, -0.3393758237361908, 0.19547396898269653, -0.8334879875183105, 0.4746495187282562, 0.41758862137794495, 1.1601319313049316, -1.0049967765808105, 0.6193558573722839, 0.9786814451217651, -0.2716999351978302, -0.9927067756652832, 0.030456900596618652, 0.13145406544208527, -0.5941987633705139, 0.5098674893379211, -0.020029999315738678, -0.337133526802063, -0.26512452960014343, -0.5808627605438232, -0.9243083000183105, 0.9540337324142456, 0.4191734492778778, -0.1275690346956253, 0.2792999744415283, 0.508404552936554, 0.7752023935317993, -0.10251527279615402, 0.2931934893131256, 0.5005170106887817, 0.256198912858963, 0.07273397594690323, -0.8964693546295166, 0.14469842612743378, -0.6306570172309875, -0.463161438703537, -0.02895798161625862, -0.882800817489624, 0.6866710782051086, -0.2448367029428482, -0.02803112380206585, 0.3364698588848114, 0.7239289283752441, 0.31735530495643616, 0.24312196671962738, 0.28526225686073303, 0.3271550238132477, 1.1399214267730713, -0.1238461583852768, 0.9915475249290466, -0.4150328040122986, 0.05684124305844307, 1.0798496007919312, -0.4378536641597748, 0.9706058502197266, 0.2841937243938446, 0.10034117847681046, 0.3256434202194214, 1.04622483253479, 0.43748739361763, 0.05762752518057823, 0.5304816365242004, -0.6118260622024536, -0.5140799283981323, -0.7179765105247498, -0.31235572695732117, 0.9000332951545715, 0.2432248443365097, 0.09343139082193375, -0.06815747916698456, -0.10254334658384323, 0.5134775042533875, 0.09131744503974915, -0.37971678376197815, 0.32586756348609924, 0.12894567847251892, -1.0538972616195679, 0.858369767665863, 0.24605564773082733, 0.46118465065956116, -0.7014317512512207, 0.34210988879203796, -0.8638117909431458, -0.11364351958036423, -0.16179664433002472, -0.8302139043807983, 0.014981303364038467, 0.40734365582466125, 0.028530629351735115, -0.12054680287837982, 0.42415210604667664, -0.6130402088165283, -0.5040115714073181, 0.08497178554534912, 0.7794737815856934, 0.2676469683647156, 0.2534559667110443, -0.5920435786247253, -0.11034785956144333, 0.005693515762686729, -0.32607391476631165, 0.22828245162963867, 0.5286561250686646, -0.6096950173377991, 0.8934435844421387, 0.5334706902503967, -0.2583833336830139, 0.11750449240207672, 0.08515753597021103, 0.7189486026763916, -0.6732562184333801, -0.4714339077472687, -0.32503557205200195, 0.5347648859024048, 0.19013138115406036, -0.7517040967941284, 0.6838141679763794, 0.36818718910217285, 0.7747073173522949, -0.002883784705772996, 0.5945131182670593, 0.12543685734272003, 0.20261496305465698, -0.3132176399230957, 0.7966078519821167, -0.6595924496650696, -0.03601321578025818, -0.122678242623806, -0.7579593658447266, -0.1833045780658722, 0.24740806221961975, -0.20267505943775177, -0.16990600526332855, 0.4086536169052124, 0.755088210105896, 0.17088192701339722, 0.10667727887630463, 0.418477326631546, 0.2542625665664673, 0.28000062704086304, 0.6342160701751709, 1.2968367338180542, -0.024343494325876236, 0.5638670921325684, -0.5542271733283997, -0.03220142051577568, 0.23456037044525146, -0.6392280459403992, -0.7820040583610535, -0.5982909798622131, -0.40412184596061707, -0.21818102896213531, -0.3025352954864502, 1.0159517526626587, 0.4781387448310852, -0.8898541331291199, -0.38811779022216797, 0.8103195428848267, -0.08562599122524261, 0.1173238679766655, -0.21582470834255219, 0.2917182743549347, -0.017630329355597496, -0.6718903183937073, 0.4969246983528137, 0.003241398138925433, 0.0016502500511705875, -0.23666930198669434, 0.09357057511806488, -0.23192892968654633, 0.341305136680603, 0.6281653642654419, 0.6496721506118774, -0.6780949831008911, -0.165276899933815, 0.5987887382507324, -0.16500291228294373, -0.3056228756904602, 0.7001609206199646, -0.5490005612373352, 0.42561987042427063, 0.4339812994003296, 0.6074979901313782, 0.4349362254142761, -0.06291832029819489, 0.6029088497161865, -0.5748671293258667, 0.4195135831832886, 0.5529390573501587, 0.3140757381916046, 0.3732208013534546, -0.3918415904045105, 0.37652143836021423, -0.3211895227432251, -0.5005409717559814, -0.7563788890838623, 0.6182900667190552, -0.9844071865081787, -0.21789264678955078, 1.236488699913025, -0.4199768304824829, 0.017384318634867668, -0.4115588068962097, -0.0065733883529901505, 0.07096928358078003, -0.020588774234056473, 0.6896075010299683, 0.7133198976516724, -0.05657177045941353, -0.2874380350112915, -0.4896599352359772, 0.6093684434890747, 0.7229595184326172, -0.5814138650894165, -0.25999653339385986, 0.3858935832977295, 0.4464333951473236, -0.06631678342819214, 0.693762481212616, -0.07996180653572083, 0.47730883955955505, -0.6185342669487, 0.04659988731145859, 0.4268777072429657, 0.10305897891521454, -0.5249579548835754, 0.20293118059635162, 0.4348785877227783, 0.4609664976596832 ]
http://arxiv.org/abs/2406.17755v1
http://arxiv.org/pdf/2406.17755v1
Accelerating Clinical Evidence Synthesis with Large Language Models
2024-06-25T17:41:52
2024-06-25T17:41:52
Zifeng Wang, Lang Cao, Benjamin Danek, Yichi Zhang, Qiao Jin, Zhiyong Lu, Jimeng Sun
cs.CL
cs.CL
Automatic medical discovery by AI is a dream of many. One step toward that goal is to create an AI model to understand clinical studies and synthesize clinical evidence from the literature. Clinical evidence synthesis currently relies on systematic reviews of clinical trials and retrospective analyses from medical literature. However, the rapid expansion of publications presents challenges in efficiently identifying, summarizing, and updating evidence. We introduce TrialMind, a generative AI-based pipeline for conducting medical systematic reviews, encompassing study search, screening, and data extraction phases. We utilize large language models (LLMs) to drive each pipeline component while incorporating human expert oversight to minimize errors. To facilitate evaluation, we also create a benchmark dataset TrialReviewBench, a custom dataset with 870 annotated clinical studies from 25 meta-analysis papers across various medical treatments. Our results demonstrate that TrialMind significantly improves the literature review process, achieving high recall rates (0.897-1.000) in study searching from over 20 million PubMed studies and outperforming traditional language model embeddings-based methods in screening (Recall@20 of 0.227-0.246 vs. 0.000-0.102). Furthermore, our approach surpasses direct GPT-4 performance in result extraction, with accuracy ranging from 0.65 to 0.84. We also support clinical evidence synthesis in forest plots, as validated by eight human annotators who preferred TrialMind over the GPT-4 baseline with a winning rate of 62.5%-100% across the involved reviews. Our findings suggest that an LLM-based clinical evidence synthesis approach, such as TrialMind, can enable reliable and high-quality clinical evidence synthesis to improve clinical research efficiency.
[ 0.07501966506242752, -0.44881147146224976, 0.9883953332901001, 0.06128948926925659, -0.2672196924686432, -0.1479721963405609, -0.26961684226989746, -0.206634983420372, 0.1878092885017395, 0.4899398982524872, -0.4230961501598358, -0.7780793905258179, -0.7616756558418274, 0.0020753357093781233, -0.47404614090919495, 0.9528875350952148, -0.20594708621501923, 0.580191969871521, 0.07365874946117401, -0.21708759665489197, -0.28830745816230774, -0.4399050772190094, -0.5430739521980286, -0.5579841732978821, 0.5444485545158386, 0.14291058480739594, 0.4182666540145874, 0.4798756241798401, 0.762010931968689, 0.2841204106807709, 0.20781747996807098, 0.2498892992734909, -0.45756101608276367, 0.4208073019981384, 0.010719295591115952, -0.6653931140899658, -0.5200386643409729, -0.10284220427274704, 0.27411943674087524, 0.7890490889549255, -0.49904680252075195, -0.09135008603334427, -0.25516602396965027, 0.9068368077278137, -0.38093259930610657, 0.3545950949192047, -0.7178791165351868, 0.21048995852470398, -0.16551528871059418, -0.2285105139017105, -0.33939874172210693, -0.6144305467605591, 0.43586045503616333, -0.7331955432891846, 0.6362555027008057, 0.13094639778137207, 0.4923715889453888, 0.30970683693885803, -0.1730271577835083, -0.4794408082962036, -0.6101464629173279, 0.43857288360595703, -1.1407335996627808, 0.03303246572613716, 0.07975881546735764, 0.4504813551902771, -0.42475172877311707, -0.967086911201477, -0.5420393943786621, -0.20566469430923462, -0.07754139602184296, 0.2478944957256317, 0.1849089115858078, 0.27520421147346497, 0.4190119206905365, 0.5162932872772217, -0.5778185129165649, -0.06736480444669724, -0.3830293118953705, -0.2566269636154175, 0.8531954884529114, 0.31449007987976074, 0.5163558125495911, -0.030178431421518326, 0.21036359667778015, -0.2577510476112366, -1.0603415966033936, -0.2209557443857193, -0.27688175439834595, 0.1732853651046753, 0.40546634793281555, 0.8057196140289307, -0.2341570258140564, 0.38300541043281555, -0.22771617770195007, -0.07811175286769867, 0.2349320352077484, -0.36434903740882874, -0.26452597975730896, 0.26013100147247314, 1.0071266889572144, 0.6129255294799805, -0.06103220582008362, -0.01983403041958809, -0.11703669279813766, 0.38797512650489807, 0.4507461190223694, -0.9139154553413391, -0.5482089519500732, 0.5329204797744751, -0.7193558812141418, -0.28988370299339294, -0.24514953792095184, -0.5015736222267151, -0.8399127125740051, -0.1382894068956375, 0.4147340953350067, -0.6266261339187622, -0.2176477462053299, 0.3092709481716156, -0.4467985928058624, -0.033292852342128754, 0.7106889486312866, -0.5385794639587402, 0.2910803556442261, 0.5679028034210205, 0.6701502799987793, -0.27560317516326904, 0.05123031511902809, -0.3225129246711731, 0.2145201712846756, -0.6947235465049744, 0.7069741487503052, -0.2103622555732727, -0.4391252398490906, 0.2671375274658203, -0.03697330877184868, -0.13327927887439728, -0.6214690804481506, 0.6013088822364807, -0.3242985010147095, 0.3895677924156189, -0.115513376891613, -0.9363678693771362, -0.2041279673576355, 0.15281866490840912, -0.5768854022026062, 0.5307785868644714, -0.06796525418758392, -0.5599108338356018, 0.6301056742668152, -0.7547798752784729, -0.6944175362586975, 0.20679166913032532, -0.4438060522079468, -0.4677938222885132, 0.36143991351127625, 0.6291232705116272, 0.2531070411205292, -0.43633517622947693, 0.6800084114074707, -0.27823466062545776, -0.2835020124912262, 0.2565512955188751, -0.04677950218319893, 0.6846576929092407, 0.33488956093788147, -0.6521652340888977, 0.30627456307411194, -0.4045581519603729, -0.11508683115243912, 0.15321575105190277, -0.07257506251335144, -0.3646826148033142, 0.3657488524913788, -0.08895940333604813, -0.04733189567923546, -0.2941061854362488, -0.6210211515426636, 0.398780882358551, -0.4966493546962738, 0.546875, 0.452531099319458, 0.17104317247867584, 0.10828883200883865, -0.4681386649608612, 0.35915082693099976, -0.06263149529695511, 0.14764532446861267, -0.3812671899795532, -0.6757269501686096, -0.8739086985588074, -0.17735618352890015, 0.6097722053527832, 0.3949348032474518, -0.6940706968307495, 0.4555200934410095, -0.5470198392868042, -0.2807260751724243, -0.8551639318466187, -0.19301868975162506, 0.18753808736801147, 0.32048192620277405, 0.3299766778945923, -0.766425609588623, -0.45005643367767334, -0.9016039371490479, -0.10057961940765381, -0.3870820105075836, -0.29473763704299927, 0.30850374698638916, 0.34881582856178284, -0.3436692953109741, 0.7944028377532959, -0.8022904992103577, -0.7882920503616333, -0.27241843938827515, 0.3583574891090393, 0.39256590604782104, 0.38005200028419495, 0.03087512031197548, -0.6094837784767151, -0.3405265212059021, 0.10580170154571533, -1.118546485900879, -0.17358198761940002, -0.262938529253006, 0.0327637605369091, -0.09493502974510193, 0.6131483316421509, -0.710089921951294, 0.5261874198913574, -0.0028706532903015614, 0.043944645673036575, 0.12322437763214111, -0.19051450490951538, 0.21193215250968933, -0.6879056096076965, 0.2991360127925873, -0.19891145825386047, -0.1258455067873001, -0.538969099521637, 0.11853019148111343, 0.0034668452572077513, -0.0995936468243599, -0.07831990718841553, 0.3459101617336273, -0.44775012135505676, 0.23468057811260223, -0.1803501695394516, -0.0445089116692543, -0.3123055100440979, 0.3294631540775299, 0.17287679016590118, 0.5403291583061218, 0.28772443532943726, -0.26875123381614685, 0.030825676396489143, 0.4246861934661865, -0.5275790691375732, 0.13410119712352753, -0.700132429599762, -0.11740929633378983, -0.040908318012952805, 0.4960035979747772, -0.8996350765228271, -0.4712403416633606, 0.22691717743873596, -0.423001766204834, 0.34910812973976135, -0.3281319737434387, -0.41421446204185486, -0.4973507821559906, -0.2386525273323059, 0.06286244094371796, 0.6507307887077332, -0.1473286747932434, 0.6046284437179565, 0.6563443541526794, -0.7337611317634583, -0.2034911960363388, -0.4966953694820404, 0.4782050549983978, 0.14642009139060974, -0.3588036000728607, 0.3816700875759125, -0.04931268468499184, -0.20991042256355286, -0.0055471425876021385, 0.13827739655971527, 0.11911049485206604, -0.21749667823314667, 0.31805264949798584, 0.27015578746795654, -0.07486502081155777, 0.13226540386676788, 0.25569507479667664, 0.1262703537940979, 0.35044366121292114, -0.20501987636089325, 0.2027764618396759, 0.2646440267562866, -0.6519965529441833, -0.16102533042430878, 0.4315449893474579, 0.7086473703384399, 0.06125946342945099, 0.06223729997873306, 0.38836294412612915, -0.5962167978286743, -0.27934926748275757, -0.7164849042892456, -0.34155964851379395, -0.3978719711303711, 0.28203341364860535, -0.024460503831505775, -0.8322566151618958, 0.1412954330444336, -0.1461995542049408, 0.4506168067455292, 0.6081262826919556, 0.9841441512107849, -0.019341273233294487, 1.3741470575332642, 0.19009490311145782, 0.016586266458034515, 0.2656191289424896, -0.29722175002098083, 0.2910768389701843, -0.8747822046279907, -0.133968785405159, -0.13613811135292053, -0.18826381862163544, -0.4466911256313324, -0.6288713812828064, 0.8769456148147583, -0.5051001906394958, 0.12147639691829681, -0.1099310964345932, -0.6801431179046631, 0.00707388436421752, 0.726370096206665, 0.436817467212677, 0.4238997995853424, 0.030112337321043015, -0.322029709815979, -0.23044979572296143, -0.9078081250190735, -0.27717161178588867, 1.8069682121276855, 0.2957962155342102, 0.5719995498657227, -0.03628772869706154, 0.789648711681366, 0.5792130827903748, 1.0560309886932373, -0.6992540955543518, 0.5553517937660217, -0.059505660086870193, -0.915264904499054, -0.16158883273601532, -0.2421356588602066, -0.9089745283126831, 0.28798145055770874, -0.3793524503707886, -0.16046927869319916, -0.03843434900045395, 0.0010177784133702517, -0.5056044459342957, 0.022438745945692062, -0.736749529838562, 0.4478512108325958, -0.16809968650341034, -0.3539268970489502, -0.48650074005126953, -0.6783486008644104, 0.5817004442214966, -0.023891856893897057, 0.0763244554400444, -0.014192067086696625, 0.3051455616950989, 0.7724575400352478, -0.7536370754241943, 0.7152272462844849, -0.3016115725040436, 0.14696285128593445, 0.2423921376466751, 0.025790387764573097, 0.4692530930042267, 0.1782008707523346, 0.15635086596012115, 0.049390893429517746, -0.16068050265312195, -0.17117756605148315, -0.4093620777130127, 0.5674609541893005, -0.5565502643585205, -0.736529529094696, -0.7121678590774536, -0.6333175897598267, -0.35983529686927795, 0.296023964881897, 0.22159218788146973, 0.4091204106807709, -0.4148356318473816, -0.07427092641592026, 0.6195818781852722, -0.3717257082462311, 0.02492399699985981, 0.5652725696563721, -0.19765689969062805, -0.5830696225166321, 0.6795584559440613, -0.026635967195034027, -0.2223379760980606, 0.26394185423851013, 0.17950528860092163, -0.2590671181678772, -1.3173595666885376, -0.5450606942176819, 0.18149177730083466, -0.5186123847961426, -0.17179809510707855, -0.8709801435470581, -0.35193267464637756, -0.47137174010276794, 0.16141042113304138, -0.21808302402496338, -0.34507259726524353, 0.31519240140914917, 0.07547164708375931, 0.1272720992565155, 0.7928802967071533, 0.2015129178762436, 0.24780519306659698, -0.6356224417686462, 0.55997633934021, 0.3076076805591583, 0.21609340608119965, -0.03490973263978958, -0.18862779438495636, -0.15345890820026398, -0.07872604578733444, -0.2744426727294922, -0.6193321943283081, 0.5900009870529175, 0.11594881117343903, 0.522138774394989, 0.4811810553073883, 0.06303780525922775, 0.757494330406189, -0.9251965284347534, 0.7822669744491577, 0.36673805117607117, -0.6109033823013306, 0.592912495136261, -0.46830272674560547, 0.23578129708766937, 0.8028739094734192, 0.23757275938987732, -0.4768001139163971, -0.6411875486373901, -0.6499675512313843, -1.0440257787704468, 0.6393572092056274, 0.41870948672294617, -0.47816771268844604, 0.16545234620571136, 0.16728909313678741, 0.2722052335739136, 0.38745126128196716, -0.3126418888568878, -0.058511678129434586, 0.11327515542507172, -0.4994847774505615, -0.15399186313152313, -0.0655713900923729, -0.80438232421875, -0.30470699071884155, 0.6595738530158997, -0.3506146967411041, 0.5955466032028198, 0.7371683120727539, -0.34090662002563477, -0.17908883094787598, 0.10464879125356674, 0.4391075372695923, 0.808809220790863, -0.48621949553489685, -0.052657317370176315, -0.1935402750968933, -0.7248167395591736, -0.0198520515114069, 0.518122673034668, -0.4295721650123596, 0.1157655119895935, 0.7255229949951172, 0.5299503207206726, -0.1659119725227356, -0.9240878820419312, 0.5429666638374329, -0.5943077206611633, -0.4729328155517578, -0.5204410552978516, 0.22468465566635132, 0.03282831236720085, 0.06998174637556076, 0.559620201587677, 0.18538513779640198, 0.6153744459152222, -0.3498252332210541, 0.24488161504268646, 0.4307599365711212, -0.2790137231349945, -0.17448772490024567, 0.8495305180549622, 0.2712618410587311, -0.04734199494123459, 0.7975605130195618, 0.15436479449272156, -0.37806904315948486, 0.5237202048301697, 0.12023068964481354, 0.9710028767585754, 0.1689971387386322, 0.07729998230934143, 0.48693332076072693, 0.26140812039375305, -0.30598002672195435, 0.11276479810476303, 0.2619723677635193, -0.45755502581596375, -0.5089117288589478, -0.323213130235672, -0.7449321150779724, 0.13122588396072388, -0.3237582743167877, 0.0520506277680397, -0.38937222957611084, -0.215463325381279, 0.2700941264629364, -0.09901033341884613, -0.6162264347076416, 0.2555595338344574, 0.12364456802606583, 0.7491781711578369, -0.7377633452415466, 0.8786399364471436, 0.4977204203605652, -0.15659035742282867, -0.6747032403945923, -0.13866667449474335, 0.2002309411764145, -0.7990375757217407, 0.08583014458417892, 0.23628339171409607, 0.29882463812828064, -0.24810324609279633, -0.5341954827308655, -0.5305544137954712, 1.1782516241073608, 0.006364232394844294, -0.7960392832756042, 0.0023937798105180264, -0.049542367458343506, 1.0117377042770386, -0.6998000741004944, 0.48899585008621216, 0.4154169261455536, 0.32872313261032104, 0.1881854236125946, -0.6506864428520203, 0.23447777330875397, -0.44079262018203735, -0.2002701759338379, 0.026049746200442314, -0.09389622509479523, 0.44292914867401123, -0.3959372341632843, -0.22711291909217834, 0.14517223834991455, 0.41642341017723083, 0.32882046699523926, 0.47669678926467896, 0.5622702240943909, 0.6996606588363647, 0.7997567057609558, -0.18427908420562744, 1.0680158138275146, -0.336224764585495, 0.028455302119255066, 0.9954017400741577, -0.8283413648605347, 0.6838540434837341, 0.45695579051971436, -0.40372610092163086, 0.56106036901474, 0.6838911771774292, 0.15399841964244843, 0.5357087850570679, 0.24729116261005402, -0.23594212532043457, -0.30476802587509155, -0.001741836778819561, -0.4139362573623657, -0.12175840139389038, 0.5810087323188782, -0.673496425151825, 0.1167483702301979, -0.227294459939003, 0.012566771358251572, -0.14762821793556213, -0.09951461851596832, 1.0216572284698486, 0.10431718826293945, -1.2784783840179443, 0.6046300530433655, -0.2188452184200287, 0.23996591567993164, -0.9566240310668945, -0.23937641084194183, -0.28140634298324585, 0.5212259292602539, -0.04570458456873894, -0.6352522969245911, -0.06468590348958969, -0.18499159812927246, 0.11590386927127838, -0.08882086724042892, 0.56197190284729, -0.49867501854896545, -0.6950342655181885, 0.012086068280041218, 0.5511326789855957, -0.028658585622906685, 0.04294252768158913, -0.6973384022712708, 0.05267656221985817, 0.14626029133796692, -0.137080118060112, 0.303354948759079, 0.4338364899158478, -0.34032872319221497, 0.691116452217102, 1.0059616565704346, 0.6083670854568481, -0.15485893189907074, 0.19938728213310242, 1.049466609954834, -0.5619406700134277, -0.3003975749015808, -0.6294450163841248, 0.12000064551830292, -0.3819611370563507, -0.14127351343631744, 0.47702038288116455, 0.4804094731807709, 0.310982346534729, -0.1498681753873825, 1.1775219440460205, -0.3099728524684906, 0.6264955997467041, -0.48926180601119995, 0.8749749064445496, -0.5215981006622314, 0.15918974578380585, -0.16984562575817108, -0.5796472430229187, -0.5569917559623718, 0.3186167776584625, -0.22487951815128326, -0.32176798582077026, 0.9124304056167603, 0.749526858329773, 0.1454138308763504, 0.1285773366689682, -0.056584205478429794, 0.5881573557853699, 0.7938714623451233, 0.7126373648643494, 0.5069353580474854, -0.5387745499610901, 0.25103598833084106, 0.13981667160987854, -0.515110194683075, -0.17994937300682068, -0.7610669732093811, -0.904210090637207, -0.2709101140499115, -0.3298436105251312, -0.3338131010532379, 0.3101505935192108, 0.9262977242469788, 0.8470134735107422, -1.1195393800735474, -0.2320270985364914, -0.30691346526145935, -0.013284098356962204, -0.49403852224349976, -0.12455199658870697, 0.6558687090873718, -0.31871140003204346, -0.4657951891422272, 0.3950728476047516, 0.3276672661304474, -0.35940849781036377, -0.25461846590042114, -0.12418975681066513, -0.33220237493515015, -0.12727096676826477, 0.4144344627857208, 0.13113941252231598, -0.6843856573104858, 0.1636013239622116, -0.13547185063362122, -0.1641204059123993, 0.07452762871980667, 1.2048027515411377, -0.8205284476280212, 0.8422098159790039, 0.4557577967643738, 0.6830519437789917, 0.929000735282898, -0.20818659663200378, 1.1094532012939453, -0.1107412576675415, -0.03423575311899185, 0.49893563985824585, 0.5063695907592773, 0.41402071714401245, -0.07157300412654877, 0.8305842876434326, 0.4145766496658325, -0.664318859577179, -0.736093282699585, -0.10446782410144806, -0.851287841796875, -0.3050459623336792, 0.9350858926773071, -0.16242453455924988, -0.3055790662765503, -0.1738981008529663, -0.4627077579498291, 0.1276388317346573, -0.38096073269844055, 1.201939582824707, 0.5352877974510193, -0.22553859651088715, 0.13964219391345978, -0.5957380533218384, 0.796952486038208, 0.5563651919364929, -0.7598810195922852, 0.11453142017126083, 0.6925815343856812, 0.19979605078697205, 0.13844794034957886, 0.9897896647453308, -0.4450487494468689, 0.39133015275001526, -0.156192809343338, 0.3062630295753479, 0.16527433693408966, 0.020271046087145805, -0.20236721634864807, 0.13151872158050537, 0.14189206063747406, 0.18923625349998474 ]
http://arxiv.org/abs/2406.17753v1
http://arxiv.org/pdf/2406.17753v1
Measuring and Benchmarking Large Language Models' Capabilities to Generate Persuasive Language
2024-06-25T17:40:47
2024-06-25T17:40:47
Amalie Brogaard Pauli, Isabelle Augenstein, Ira Assent
cs.CL
cs.CL, cs.AI
We are exposed to much information trying to influence us, such as teaser messages, debates, politically framed news, and propaganda - all of which use persuasive language. With the recent interest in Large Language Models (LLMs), we study the ability of LLMs to produce persuasive text. As opposed to prior work which focuses on particular domains or types of persuasion, we conduct a general study across various domains to measure and benchmark to what degree LLMs produce persuasive text - both when explicitly instructed to rewrite text to be more or less persuasive and when only instructed to paraphrase. To this end, we construct a new dataset, Persuasive-Pairs, of pairs each consisting of a short text and of a text rewritten by an LLM to amplify or diminish persuasive language. We multi-annotate the pairs on a relative scale for persuasive language. This data is not only a valuable resource in itself, but we also show that it can be used to train a regression model to predict a score of persuasive language between text pairs. This model can score and benchmark new LLMs across domains, thereby facilitating the comparison of different LLMs. Finally, we discuss effects observed for different system prompts. Notably, we find that different 'personas' in the system prompt of LLaMA3 change the persuasive language in the text substantially, even when only instructed to paraphrase. These findings underscore the importance of investigating persuasive language in LLM generated text.
[ -0.11919654905796051, -0.8468214869499207, 0.6786945462226868, 0.3679552674293518, -0.1842622309923172, -0.12264277786016464, -0.41557130217552185, 0.17067064344882965, 0.11532348394393921, 0.5886405110359192, -0.22577227652072906, -0.6741167306900024, -0.5252906084060669, 0.376250296831131, -0.5692764520645142, 1.0416892766952515, -0.14136096835136414, 0.09127739071846008, -0.45159780979156494, 0.09021445363759995, -0.32380741834640503, -0.8973784446716309, -0.488733172416687, -0.4967760741710663, 0.927574872970581, 0.580028772354126, 0.4519544243812561, 0.466073215007782, 0.35739606618881226, 0.19473347067832947, -0.16940173506736755, -0.3845231831073761, -0.7211454510688782, 0.45797619223594666, -0.15927593410015106, -0.47401851415634155, -0.17666245996952057, 0.13204258680343628, 1.0094146728515625, 0.5477288961410522, 0.04586600884795189, 0.14180730283260345, 0.2684864401817322, 0.2820053994655609, -0.5742672085762024, 0.016857650130987167, -0.8691736459732056, -0.1532670110464096, -0.2740626335144043, -0.21781903505325317, -0.37954163551330566, -0.5160888433456421, -0.015906989574432373, -0.2224668264389038, -0.06274991482496262, -0.0028369631618261337, 0.6023948192596436, 0.16462218761444092, -0.5843621492385864, -0.1924475133419037, -0.5014998912811279, 0.8146057724952698, -0.7678551077842712, 0.28447696566581726, 0.20559069514274597, -0.09032342582941055, -0.15781930088996887, -0.734435498714447, -0.6203835606575012, -0.4989722669124603, 0.15209349989891052, -0.08070453256368637, -0.17392387986183167, -0.19653141498565674, 0.39595240354537964, 0.06745908409357071, -0.4940972328186035, 0.2704154849052429, 0.14281755685806274, -0.25680863857269287, 0.5545119047164917, 0.2723213732242584, 0.16544392704963684, -0.255607008934021, -0.45079612731933594, -0.34038418531417847, -1.0575592517852783, -0.08133065700531006, 0.5358218550682068, 0.14921964704990387, 0.027559617534279823, 0.6226320862770081, -0.22525155544281006, 0.3155081272125244, -0.08370289951562881, -0.40515410900115967, -0.018169492483139038, -0.3045029640197754, -0.21602343022823334, 0.03625274822115898, 0.9556641578674316, 0.2961210012435913, 0.2372630089521408, 0.045689839869737625, -0.3342934250831604, 0.19603484869003296, -0.12112414836883545, -0.9227042198181152, -0.21040727198123932, -0.19666889309883118, -0.5627122521400452, -0.2888858914375305, -0.12631288170814514, -0.6799577474594116, -0.5983836054801941, -0.23912933468818665, 0.3576110303401947, -0.21882110834121704, -0.19942352175712585, 0.1924019455909729, -0.061623282730579376, 0.17084676027297974, 0.07290478050708771, -0.7464498281478882, 0.15967464447021484, 0.8847371935844421, 0.6276565790176392, -0.22981521487236023, -0.3600486218929291, -0.46775636076927185, 0.17478330433368683, -0.5506531000137329, 0.8668959140777588, -0.838592529296875, -0.4030291736125946, 0.35925912857055664, -0.15833018720149994, 0.09246113151311874, -0.6181350946426392, 0.6857205033302307, -0.23232273757457733, 0.045431800186634064, -0.47288987040519714, -0.6296530365943909, 0.08267661929130554, 0.31403401494026184, -0.5373355150222778, 0.7391285300254822, -0.2972453236579895, -0.623235285282135, 0.3534143269062042, -0.26264721155166626, -0.5284562706947327, -0.1671113520860672, -0.32160571217536926, -0.44935333728790283, 0.17673683166503906, -0.0036680111661553383, 0.7564292550086975, -0.7030554413795471, 0.5924700498580933, -0.18681105971336365, -0.033742159605026245, 0.636745274066925, -0.6099215745925903, 0.31015545129776, 0.06008143350481987, -0.2020695060491562, 0.3187473714351654, -0.5979315638542175, -0.313677579164505, 0.2575555145740509, -0.6027962565422058, -0.5265699028968811, -0.015656564384698868, 0.07878518104553223, 0.017453139647841454, 0.5558379888534546, -0.3802858591079712, 0.07943237572908401, 0.03915770351886749, 0.3035249710083008, 0.6644480228424072, 0.2190733551979065, 0.044650595635175705, -0.29420554637908936, 0.5476812124252319, -0.3154751658439636, -0.10012419521808624, -0.29024022817611694, -0.517828643321991, -0.5522243976593018, -0.04219285771250725, 0.12307488918304443, 0.2845103144645691, -0.5115871429443359, 0.0791582241654396, -0.19119009375572205, -0.42258742451667786, -0.1321025937795639, 0.18932673335075378, 0.5674721598625183, 0.5746057033538818, 0.052545689046382904, 0.04454946145415306, -0.5899804830551147, -1.0828560590744019, -0.5204772353172302, -0.4135969877243042, 0.02445952221751213, 0.072698675096035, 0.5129902958869934, 0.06367620825767517, 0.5309075117111206, -0.47749948501586914, 0.14849242568016052, -0.3618408143520355, 0.3279114067554474, 0.049539871513843536, 0.21289509534835815, 0.38972362875938416, -0.7562572956085205, -0.5859655141830444, -0.298319011926651, -0.7405440807342529, -0.6431484818458557, -0.17714771628379822, 0.20835423469543457, -0.042770303785800934, 0.6363206505775452, -0.27212607860565186, 0.11365155875682831, 0.5511088967323303, -0.2272794395685196, 0.7902873158454895, -0.04710249602794647, 0.3007495701313019, -1.1376912593841553, 0.07727759331464767, 0.2814667224884033, 0.09533288329839706, -0.7453131079673767, -0.06312685459852219, -0.04143129289150238, -0.06572023034095764, -0.44292306900024414, 0.5675673484802246, -0.23576472699642181, 0.17976953089237213, -0.34755244851112366, 0.06642843782901764, -0.0276198573410511, 0.0785190686583519, 0.01079078670591116, 0.8500160574913025, 0.41490861773490906, -0.5886976718902588, 0.30365338921546936, 0.3285738229751587, -0.519465982913971, 0.5917105674743652, -0.620902955532074, -0.05993125960230827, -0.0579117052257061, 0.36361271142959595, -1.1773062944412231, -0.3458283841609955, -0.012672686018049717, -0.15996024012565613, 0.007693230174481869, -0.034476377069950104, -0.5832485556602478, -0.14611610770225525, -0.17148302495479584, 0.08406519144773483, 0.41903015971183777, -0.38180646300315857, 0.29158201813697815, 0.3434482514858246, -0.42710867524147034, -0.288280189037323, -0.45650067925453186, 0.41639822721481323, -0.6949223279953003, -0.33837515115737915, 0.3389971852302551, -0.07438306510448456, -0.5760810375213623, -0.3515937328338623, 0.018872609362006187, 0.16725562512874603, 0.11650235950946808, 0.32693731784820557, 0.13887451589107513, -0.27561241388320923, 0.2882368266582489, -0.009672467596828938, -0.17696604132652283, 0.3981283903121948, -0.059488166123628616, 0.6851871013641357, -0.026566198095679283, -0.24449393153190613, -0.5453932285308838, 0.4333772361278534, 0.5072482824325562, 0.03193958103656769, 0.764819860458374, 0.3052447438240051, -0.1409277617931366, 0.16683216392993927, -0.8755214214324951, -0.30820348858833313, -0.404198557138443, 0.3939679265022278, -0.444907546043396, -0.8046504259109497, 0.21547755599021912, -0.22840408980846405, 0.07065059244632721, 0.4107566475868225, 0.7148997187614441, 0.2899419665336609, 0.9285102486610413, 0.505700409412384, -0.24238088726997375, 0.5649051070213318, 0.004280463792383671, 0.020711485296487808, -0.5661313533782959, -0.2340749055147171, -0.8097481727600098, -0.11420626938343048, -0.39454126358032227, -0.2790926694869995, 0.25070351362228394, 0.01363967452198267, -0.4290764629840851, 0.24120278656482697, -0.21657666563987732, 0.3145553469657898, 0.511412501335144, -0.28166869282722473, 0.31042590737342834, 0.17754170298576355, -0.13590626418590546, -0.16105589270591736, -0.5045214891433716, -1.0970371961593628, 1.1339004039764404, 0.35528117418289185, 0.7367860674858093, 0.03496035560965538, 0.6889628171920776, 0.19211281836032867, 0.6307824850082397, -0.5054182410240173, 1.0265533924102783, -0.18900784850120544, -0.3575097620487213, -0.11952555179595947, -0.48184874653816223, -0.9765404462814331, 0.09762565791606903, -0.39976078271865845, -0.5630868077278137, -0.09104683995246887, 0.05230366811156273, -0.083611398935318, 0.42587846517562866, -0.5509598255157471, 0.7174450755119324, -0.26337283849716187, -0.4368284344673157, -0.3528349995613098, -0.2397375851869583, 0.14313362538814545, -0.2695171535015106, -0.1493379771709442, -0.2880411148071289, -0.34758588671684265, 1.060696005821228, 0.025239713490009308, 0.9692657589912415, 0.013466037809848785, -0.4910416901111603, 0.04514821618795395, -0.07344090938568115, 0.48276981711387634, -0.029079390689730644, -0.4316563308238983, 0.10258693248033524, -0.3072877526283264, -0.19842930138111115, -0.28562843799591064, 1.0144758224487305, -0.6268448233604431, -0.970318615436554, -0.0829395204782486, -0.5022653341293335, -0.2137041836977005, 0.13506090641021729, 0.15790115296840668, 0.3212580680847168, -0.5891417860984802, 0.47573328018188477, 0.6913913488388062, -0.3824566602706909, 0.33240827918052673, 0.5152647495269775, -0.28044024109840393, -0.38443925976753235, 0.9687234163284302, -0.05435017868876457, 0.44873374700546265, 0.7273904085159302, 0.7004976868629456, -0.4271777272224426, -0.593974232673645, 0.03503431752324104, 0.3871236741542816, -0.7034124135971069, -0.11966703087091446, -0.5528771281242371, 0.07337526232004166, -0.6418619155883789, -0.11138243228197098, -0.046292271465063095, -0.22419334948062897, -0.3906392455101013, 0.08047973364591599, 0.20910583436489105, 1.1084303855895996, 0.026699507609009743, 0.34263405203819275, -0.48088207840919495, 0.024547168985009193, 0.4011008143424988, -0.08454407006502151, -0.14971669018268585, -0.5179316401481628, -0.04308174550533295, -0.10845272243022919, -0.362333208322525, -0.9378635883331299, 0.43962085247039795, -0.18940970301628113, 0.6963681578636169, 0.45883825421333313, 0.06419812142848969, 0.4582465589046478, -0.3630346357822418, 0.9415826201438904, 0.35035985708236694, -0.9664266705513, 0.44448399543762207, -0.4225948750972748, 0.12079156190156937, 0.31933483481407166, 0.5319526195526123, -0.5615196824073792, -0.4565304219722748, -0.5565415024757385, -0.8219166994094849, 0.21361571550369263, -0.023931175470352173, 0.2690231204032898, -0.15948933362960815, 0.3264499604701996, 0.26301419734954834, 0.4900040924549103, -0.7372521758079529, -0.2105932980775833, -0.017397915944457054, -0.16750892996788025, -0.33521291613578796, -0.5626646876335144, -0.18681743741035461, 0.15364328026771545, 0.7235064506530762, -0.06789344549179077, -0.08618536591529846, 0.0028010313399136066, 0.19985871016979218, 0.01584009639918804, 0.4318864643573761, 0.6203112602233887, 0.44932040572166443, 0.06151660531759262, 0.18166027963161469, 0.12671326100826263, -0.29864031076431274, 0.3292541801929474, 0.016177499666810036, -0.24381759762763977, -0.09128082543611526, 0.40608179569244385, 0.8740960955619812, 0.1665075272321701, -0.6036412119865417, 0.33499595522880554, 0.008220788091421127, -0.40471968054771423, 0.020949505269527435, -0.01924680359661579, 0.32253018021583557, 0.23379522562026978, 0.4419565200805664, -0.4455377161502838, -0.14337509870529175, -0.4871984124183655, -0.0020692716352641582, 0.5261957049369812, 0.035584963858127594, -0.32453104853630066, 0.7224658727645874, 0.3482286334037781, -0.5479574799537659, 0.08881592005491257, 0.14477117359638214, -0.4092625081539154, 0.44591957330703735, 0.7086535692214966, 0.647713303565979, -0.2880379259586334, 0.13635927438735962, 0.2725234627723694, 0.14833545684814453, -0.20039249956607819, 0.002398801501840353, 0.16536962985992432, -0.5449783205986023, -0.29044339060783386, -0.35711535811424255, -0.541258692741394, 0.7008473873138428, -0.5061311721801758, 0.05292776972055435, -0.43959563970565796, -0.2593268156051636, 0.16287600994110107, 0.1186760812997818, -0.4804190993309021, 0.10351913422346115, 0.27339842915534973, 0.7156773209571838, -1.2424594163894653, 0.6728237867355347, 0.8892568349838257, -0.31796813011169434, -0.584406316280365, 0.6352754235267639, 0.06213830038905144, -0.6902214884757996, 0.7211772203445435, 0.18264976143836975, -0.23600994050502777, -0.12054447829723358, -0.7079053521156311, -0.8226189017295837, 0.7864602208137512, 0.4785260856151581, -0.6372140645980835, 0.26222726702690125, 0.2503937780857086, 0.44883906841278076, -0.6714592576026917, -0.1339138001203537, 0.593323826789856, 0.6717816591262817, -0.06436602771282196, -0.6951553821563721, 0.228927880525589, 0.11779582500457764, 0.09062693268060684, 0.1521582305431366, -0.5693825483322144, 0.8477543592453003, -0.0998915433883667, -0.2389928549528122, 0.2873935401439667, 0.7994062900543213, 0.2189796417951584, 0.2746107578277588, 0.5498241186141968, 0.15673096477985382, 0.6986231207847595, 0.04621697589755058, 0.9641239643096924, -0.3052300810813904, -0.09923426806926727, 0.9010822176933289, -0.6647804379463196, 1.0402343273162842, 0.6492024660110474, 0.14102387428283691, 0.47507181763648987, 0.23833400011062622, 0.2392708957195282, 0.2528379261493683, 0.4896436929702759, -0.43698808550834656, -0.4855228066444397, -0.3750554621219635, -0.21468427777290344, 0.29855650663375854, 0.42066189646720886, -0.42532989382743835, -0.08452194929122925, 0.21160101890563965, 0.2612065076828003, 0.5958611965179443, -0.00823491532355547, 0.7540683150291443, 0.06248677894473076, -0.9168806076049805, 0.5502719283103943, 0.0033878313843160868, 0.5822859406471252, -0.5753961205482483, 0.031294528394937515, -0.21379725635051727, 0.17938916385173798, 0.04020767658948898, -0.9263145923614502, -0.03936254605650902, 0.2029760330915451, -0.13198156654834747, -0.523542582988739, 0.5895534157752991, -0.5551678538322449, -0.37228816747665405, 0.23659297823905945, 0.562105119228363, 0.35292285680770874, 0.10466860979795456, -0.60086590051651, 0.3872198462486267, 0.17569385468959808, -0.4064007103443146, 0.5051997303962708, 0.46681874990463257, -0.0018837618408724666, 0.6660404801368713, 0.8340966105461121, 0.22045719623565674, -0.3414747416973114, 0.2914256751537323, 0.9133899211883545, -0.6752991676330566, -0.10695626586675644, -1.0024305582046509, 0.0668402835726738, -0.24716341495513916, -0.45218291878700256, 1.0378198623657227, 0.6393164992332458, 0.6445467472076416, 0.0872531458735466, 0.8601550459861755, 0.11262620985507965, 0.553921103477478, -0.48813363909721375, 0.49784916639328003, -0.5197493433952332, 0.4042518436908722, -0.2562064826488495, -0.8074497580528259, -0.2995188236236572, 0.562285304069519, -0.6484341025352478, -0.1962343454360962, 0.593198299407959, 0.9795641303062439, 0.3777729272842407, -0.027630435302853584, 0.46572667360305786, 0.39150330424308777, 0.4855691194534302, 0.36164334416389465, 0.9871615171432495, -0.016533493995666504, 0.7531687617301941, 0.0928163155913353, -0.14953428506851196, -0.13179033994674683, -1.1150240898132324, -1.07916259765625, -0.6515078544616699, -0.5163071751594543, -0.46859487891197205, 0.1956423968076706, 0.7401893138885498, 0.23379501700401306, -0.3800742030143738, -0.47468301653862, 0.0770597830414772, 0.1603444516658783, -0.03623421862721443, -0.16168060898780823, 0.23620595037937164, -0.12046153843402863, -0.6265414357185364, 0.4829576015472412, 0.20572780072689056, 0.01971333660185337, -0.6476923227310181, 0.06780030578374863, -0.296664297580719, 0.3418770432472229, 0.5077996253967285, 0.20173992216587067, -0.8060712814331055, -0.1240389347076416, -0.135366752743721, -0.32147178053855896, -0.05835219845175743, 1.0142927169799805, -0.5929893851280212, -0.06428579241037369, 0.5740204453468323, 0.3662738800048828, 0.17617379128932953, -0.12078869342803955, 0.6468539834022522, -0.6092877388000488, -0.1925853192806244, 0.17878486216068268, 0.35672956705093384, 0.7176176309585571, 0.09484168887138367, 0.2030211240053177, 0.1310569792985916, -0.6767001152038574, -0.7843929529190063, 0.20026977360248566, -0.4162435531616211, -0.341198593378067, 1.7447975873947144, -0.20603589713573456, -0.18352404236793518, -0.10163909941911697, -0.3479226231575012, 0.12955790758132935, -0.6233915686607361, 0.5891423225402832, 0.6261800527572632, 0.19911260902881622, 0.1806434690952301, -0.2071579247713089, 0.44840535521507263, 0.5174531936645508, -0.8588774800300598, 0.4216274619102478, 0.49592822790145874, 0.40205562114715576, 0.15829932689666748, 0.6300939917564392, 0.23809653520584106, -0.15135639905929565, 0.09422260522842407, -0.1385190486907959, 0.10375503450632095, -0.38820019364356995, -0.30434396862983704, 0.28957313299179077, 0.09546485543251038, 0.0844464898109436 ]
http://arxiv.org/abs/2406.17746v1
http://arxiv.org/pdf/2406.17746v1
Recite, Reconstruct, Recollect: Memorization in LMs as a Multifaceted Phenomenon
2024-06-25T17:32:16
2024-06-25T17:32:16
USVSN Sai Prashanth, Alvin Deng, Kyle O'Brien, Jyothir S V, Mohammad Aflah Khan, Jaydeep Borkar, Christopher A. Choquette-Choo, Jacob Ray Fuehne, Stella Biderman, Tracy Ke, Katherine Lee, Naomi Saphra
cs.CL
cs.CL, cs.AI
Memorization in language models is typically treated as a homogenous phenomenon, neglecting the specifics of the memorized data. We instead model memorization as the effect of a set of complex factors that describe each sample and relate it to the model and corpus. To build intuition around these factors, we break memorization down into a taxonomy: recitation of highly duplicated sequences, reconstruction of inherently predictable sequences, and recollection of sequences that are neither. We demonstrate the usefulness of our taxonomy by using it to construct a predictive model for memorization. By analyzing dependencies and inspecting the weights of the predictive model, we find that different factors influence the likelihood of memorization differently depending on the taxonomic category.
[ -0.15798412263393402, -0.7458198070526123, 0.31120625138282776, 0.006848032120615244, -0.029785320162773132, 0.3421327769756317, -0.07252173125743866, -0.20311607420444489, 0.4108823835849762, 0.7031723260879517, -0.42529934644699097, -0.14090953767299652, -0.288337767124176, -0.13508710265159607, -0.771636962890625, 1.169926643371582, 0.05047927424311638, 0.032885096967220306, -0.19099876284599304, -0.24359844624996185, -0.3672698736190796, -1.0778570175170898, -0.49642717838287354, -0.7186222076416016, 0.7220351099967957, 0.1357329785823822, 0.3118497431278229, 0.6794169545173645, 0.3913591504096985, 0.30634066462516785, -0.19641976058483124, -0.12767386436462402, -0.4976974427700043, 0.09423419088125229, -0.21702396869659424, -0.9782398343086243, -0.2669169306755066, 0.02518550120294094, 0.9463046789169312, 1.0429452657699585, -0.4936281740665436, 0.2603567838668823, -0.07546713948249817, 0.8377654552459717, -0.40254446864128113, 0.1359879970550537, -0.7737943530082703, 0.0005171722732484341, 0.09049458801746368, -0.5496206283569336, -0.3695862591266632, -0.2391042709350586, 0.39855435490608215, -0.45846235752105713, 0.5479797124862671, -0.08577172458171844, 0.37479761242866516, -0.08855361491441727, -0.3249994218349457, -0.36603844165802, -1.177627444267273, 0.8002817034721375, -0.2055196315050125, 0.5723576545715332, 0.5474110841751099, 0.18138164281845093, 0.14927762746810913, -0.8707088232040405, -0.42379018664360046, -0.13594351708889008, -0.09749937057495117, -0.01010315865278244, 0.13400694727897644, -0.08820194005966187, 0.4609895646572113, 0.7134038209915161, -0.13762125372886658, -0.31182265281677246, -0.5625312924385071, -0.4863971769809723, 0.40932905673980713, 0.3848930597305298, 0.3971633017063141, 0.04010307788848877, -0.4722939133644104, 0.3440410792827606, -0.7375131845474243, 0.027933211997151375, -0.0320436917245388, 0.4591885507106781, 0.33784568309783936, 0.5801262259483337, 0.10058040171861649, 0.30734720826148987, -0.02440527081489563, -0.6046305894851685, 0.5716714859008789, -0.3221467435359955, -0.20902903378009796, -0.010207233019173145, 0.15484637022018433, -0.008290153928101063, 0.19154106080532074, -0.38658851385116577, -0.2808520197868347, -0.18194708228111267, 0.5138305425643921, -0.5414204001426697, -0.24062351882457733, 0.2141118347644806, -0.6618555188179016, 0.12562473118305206, 0.03828570619225502, -0.5134784579277039, -0.10215824842453003, -0.7069342732429504, 0.64871746301651, -0.7435532212257385, -0.2482071816921234, 0.08358152210712433, -0.1313624531030655, -0.3264254033565521, 0.32610902190208435, -0.7867290377616882, 0.4571094214916229, 0.7895240783691406, 0.7649207711219788, -0.016909481957554817, -0.7769267559051514, -0.18511158227920532, 0.29279330372810364, 0.04558252543210983, 0.4883766770362854, -0.36621376872062683, -0.3500930964946747, 0.15969322621822357, 0.13437505066394806, -0.36252355575561523, -0.6763255000114441, 0.1359446942806244, -0.4455338716506958, 0.23607806861400604, -0.2088758945465088, -1.0634973049163818, -0.8481646776199341, 0.10421380400657654, -1.056803584098816, 0.6437988877296448, 0.1914556473493576, -0.8129686713218689, 0.3625810444355011, -0.008665940724313259, -0.38391563296318054, -0.03536510095000267, 0.023886505514383316, -0.5064027309417725, 0.23394399881362915, -0.6534060835838318, 0.44142061471939087, 0.04577416554093361, 0.3910730481147766, -0.11627309024333954, -0.2985812723636627, 0.3137282133102417, -0.054691147059202194, 0.31751877069473267, 0.14889435470104218, 0.0444779247045517, 0.13660207390785217, -1.011114478111267, -0.20513363182544708, -0.006471967790275812, -0.7785295844078064, -0.5709013342857361, 0.3038133382797241, -0.04080881178379059, 0.25929009914398193, 0.025924434885382652, -0.3768552243709564, 0.1802763044834137, -0.15531307458877563, 0.33889108896255493, 0.4122137427330017, 0.1707235425710678, 0.6142273545265198, -0.8405171632766724, 0.4943344295024872, 0.30983996391296387, -0.24996227025985718, -0.4023917615413666, -0.11565127223730087, -0.7611647248268127, -0.32912740111351013, -0.04865744337439537, 0.6021894216537476, -0.5903366804122925, -0.1888466477394104, -0.21787667274475098, -0.3702255189418793, -0.25849607586860657, 0.31916120648384094, 0.7363395094871521, 0.235094353556633, 0.18643397092819214, -0.6218215227127075, -0.8436397314071655, -0.8993945121765137, -0.15374498069286346, -0.23009492456912994, 0.2131441831588745, 0.14791956543922424, 0.634268581867218, -0.17542503774166107, 0.5905523300170898, -0.24766674637794495, -0.37521791458129883, -0.4068757891654968, 0.1789022982120514, -0.01929815113544464, 0.26162484288215637, 0.5310752987861633, -0.7689791917800903, 0.007358291652053595, -0.2431931495666504, -0.3196009695529938, 0.25275805592536926, -0.2311507612466812, 0.17784827947616577, 0.318345844745636, 0.81221604347229, -0.5140376687049866, 0.22585198283195496, 0.13101506233215332, -0.28079158067703247, 0.3953173756599426, -0.23146219551563263, -0.22270731627941132, -1.0065085887908936, 0.23137116432189941, -0.40371641516685486, -0.028424475342035294, -0.9260395169258118, 0.07673058658838272, 0.01960381679236889, 0.26074129343032837, -0.42127758264541626, 0.17936185002326965, -0.4370342493057251, -0.1623050570487976, -0.05258236080408096, -0.20218788087368011, -0.1790555864572525, 0.41337502002716064, 0.27866318821907043, 0.49650079011917114, 0.2723827660083771, -0.9111629128456116, -0.006584872957319021, -0.07053681463003159, -0.5362301468849182, 0.25237295031547546, -0.36167991161346436, -0.24909208714962006, -0.5505722165107727, 0.02684798464179039, -1.0004757642745972, -0.007268081419169903, -0.13891418278217316, -0.24342277646064758, 0.5191423892974854, 0.21099808812141418, -0.38283008337020874, -0.25011688470840454, -0.15762725472450256, 0.3555143177509308, 0.22231054306030273, -0.2226444035768509, 0.7562979459762573, 0.388045996427536, -0.07743725180625916, -0.6277468204498291, -0.5016781687736511, -0.5750868320465088, -0.5312584042549133, 0.20802584290504456, 0.2795233130455017, -0.2793309986591339, -0.32581740617752075, -0.3202837109565735, -0.03201410919427872, -0.02953234314918518, 0.36845219135284424, 0.6217391490936279, 0.2484527975320816, -0.05485216900706291, 0.5540038347244263, -0.6057060956954956, 0.11627712845802307, 0.1344299167394638, -0.21205362677574158, 0.9845760464668274, -0.08885001391172409, -0.14902381598949432, -0.03263659402728081, 0.34446820616722107, 0.7570938467979431, -0.23415374755859375, 0.6728544235229492, 0.5525473952293396, -0.59816575050354, -0.08143641799688339, -0.5520125031471252, -0.0424545481801033, -0.29051363468170166, 0.6137206554412842, -0.4892188608646393, -0.7684611678123474, 0.8041236400604248, -0.018772443756461143, 0.11019260436296463, 0.23823536932468414, 0.6168931126594543, -0.13798290491104126, 0.5246273875236511, 0.6182851791381836, -0.2108476459980011, 0.5224557518959045, -0.22092999517917633, -0.13512656092643738, -0.8743835091590881, -0.5638991594314575, -0.45062464475631714, -0.21017971634864807, -0.548778235912323, -0.16496123373508453, -0.21900226175785065, 0.3593994081020355, -0.41669008135795593, 0.3259151577949524, 0.024666793644428253, 0.23151236772537231, 0.7677343487739563, 0.11322423815727234, 0.4874492585659027, 0.13092665374279022, -0.20664319396018982, 0.10918152332305908, -0.5711802840232849, -0.5499348044395447, 1.2860935926437378, 0.4778318405151367, 0.7101893424987793, 0.24874712526798248, 1.0693093538284302, -0.04587710648775101, 0.4878461956977844, -0.8862012624740601, 0.5056171417236328, -0.17232413589954376, -0.8634713292121887, -0.24225957691669464, -0.3763294816017151, -1.1591993570327759, 0.2649308145046234, -0.19077162444591522, -0.8637756109237671, -0.05067313462495804, 0.2521113455295563, -0.4122660756111145, 0.46999266743659973, -0.5648165941238403, 0.2962665855884552, -0.03624868020415306, -0.058710288256406784, -0.30212846398353577, -0.47349631786346436, 0.5978826880455017, -0.3334663212299347, 0.3820338547229767, 0.005666881799697876, -0.017152972519397736, 0.612141489982605, -0.13099324703216553, 0.9344350099563599, 0.18335898220539093, -0.06986041367053986, 0.48382604122161865, 0.5887964963912964, -0.06894095242023468, -0.3582521080970764, 0.003914345987141132, -0.2639068365097046, 0.2781783640384674, -0.08721762150526047, -0.4167450964450836, 0.4307132661342621, -0.707615077495575, -0.5371494293212891, -0.26611030101776123, -0.713320791721344, -0.028617506846785545, 0.11371544748544693, 0.2893616855144501, 0.36727631092071533, -0.4912598729133606, 0.06625079363584518, 0.6354155540466309, -0.16114965081214905, 0.4863601624965668, 0.5973235368728638, -0.8744889497756958, -0.2621054947376251, 1.172093391418457, 0.612311601638794, 0.6864272952079773, 0.6429357528686523, -0.08403364568948746, -0.014696221798658371, -0.517728865146637, 0.3133390545845032, 0.22910945117473602, -0.7856190800666809, 0.16542088985443115, -0.6499965190887451, -0.23242145776748657, 0.011204748414456844, 0.19146424531936646, -0.2430068403482437, -0.7851049304008484, -0.2949208915233612, -0.24583108723163605, 0.07982796430587769, 0.8509785532951355, 0.03615967556834221, 0.16556686162948608, -0.72784024477005, 0.35888949036598206, 0.29341837763786316, 0.4840153157711029, 0.30963805317878723, -0.5690213441848755, -0.1626403033733368, -0.2583411633968353, -0.26752805709838867, -0.43846407532691956, 0.5812058448791504, 0.5862402319908142, 0.7261336445808411, 0.18406344950199127, -0.48248109221458435, 0.4280211329460144, -0.5471985936164856, 0.5151067972183228, 0.24231792986392975, -0.8823614120483398, 0.439789742231369, -0.18354520201683044, 0.3230842649936676, 0.38604652881622314, 0.5184734463691711, -0.6744936108589172, -0.40666916966438293, -0.862571656703949, -0.9267154932022095, 0.5712018013000488, -0.06274914741516113, 0.14072075486183167, -0.24179473519325256, 0.45963215827941895, 0.359754741191864, 0.4969135820865631, -0.6658552885055542, -0.48535239696502686, -0.23472654819488525, 0.10952720791101456, -0.6526186466217041, -0.6795968413352966, -0.06817162036895752, -0.31683549284935, 0.43631455302238464, 0.2668277621269226, 0.30720752477645874, 0.01790856011211872, -0.3862142264842987, -0.08774998039007187, 0.4039888083934784, 0.9187765121459961, 0.6905127763748169, -0.5817360877990723, 0.3105394244194031, -0.005638437811285257, -0.7291707992553711, 0.0643041655421257, -0.2897285521030426, -0.385579913854599, 0.15212103724479675, 0.6343913674354553, 0.5963845252990723, 0.35011419653892517, -0.5537351965904236, 0.037303291261196136, 0.27751675248146057, -0.24771060049533844, -0.6516559720039368, -0.02548411302268505, 0.42081350088119507, -0.013308013789355755, 0.23363980650901794, 0.06925228983163834, 0.14794930815696716, -1.2168526649475098, 0.4444102346897125, 0.14693231880664825, -0.290818452835083, -0.4213580787181854, 0.4607974588871002, -0.05049683153629303, -0.43511584401130676, 0.6955724954605103, 0.13399434089660645, -0.7854939699172974, 0.6892091631889343, 0.73021000623703, 0.7469081878662109, -0.7046686410903931, 0.06518775224685669, 0.8266520500183105, 0.13439086079597473, -0.33957934379577637, 0.6668254733085632, 0.2128361314535141, -0.8083401322364807, 0.014582720585167408, -0.6703705191612244, 0.012523533776402473, 0.1011824831366539, -1.0384594202041626, -0.11217031627893448, -0.7674527764320374, -0.22871659696102142, 0.44648098945617676, -0.2565971612930298, -0.65826815366745, 0.3595605790615082, 0.3165796101093292, 0.7999404072761536, -0.6816286444664001, 0.974457323551178, 0.4015277922153473, -0.7409597635269165, -0.8278114199638367, -0.24396894872188568, 0.3319867253303528, -0.8956493139266968, 0.8388224840164185, 0.19013851881027222, 0.013547618873417377, -0.14347313344478607, -0.15883496403694153, -0.9215402007102966, 1.2448948621749878, -0.16480256617069244, -0.668458878993988, 0.12198289483785629, 0.0574713870882988, 0.6270807981491089, -0.5757166743278503, 0.18674995005130768, 0.8274987936019897, 0.03347522392868996, 0.16491006314754486, -1.0924299955368042, -0.1801481395959854, -0.10890404134988785, 0.072356678545475, 0.32516175508499146, -0.5123977065086365, 1.3056093454360962, -0.6595727801322937, -0.4293443560600281, 0.12387794256210327, 0.27221035957336426, 0.1017395630478859, 0.38562992215156555, 0.3235715329647064, 0.48517611622810364, 0.9071191549301147, -0.04500476270914078, 1.175512433052063, -0.10214226692914963, 0.40859556198120117, 1.4405255317687988, -0.11841441690921783, 1.076707363128662, 0.7459332942962646, -0.2999594509601593, 0.4256017506122589, 0.39246150851249695, 0.1726927012205124, 0.36544254422187805, 0.43045440316200256, -0.2805021107196808, -0.2588127851486206, -0.07748888432979584, -0.3428521752357483, 0.5343066453933716, 0.6679596304893494, -0.8925840258598328, 0.043704401701688766, 0.09884487092494965, -0.17389613389968872, 0.17835678160190582, -0.767301619052887, 0.9261350631713867, 0.16218498349189758, -0.8239280581474304, 0.6555889248847961, -0.2238340824842453, 0.4575769901275635, -0.46575504541397095, 0.02175702340900898, -0.1826556921005249, 0.3633648753166199, -0.31425559520721436, -0.888008713722229, 0.485546350479126, -0.7403692007064819, -0.60038161277771, -0.17876337468624115, 0.4969470500946045, -0.9174729585647583, -0.4393053650856018, 0.42004984617233276, 0.6364580392837524, 0.17948654294013977, 0.08809211105108261, -0.32589414715766907, -0.3117623031139374, 0.14155136048793793, -0.2519506514072418, 0.3662899434566498, 0.23806768655776978, -0.14532960951328278, 1.2816811800003052, 0.45040759444236755, -0.045360248535871506, 0.13867181539535522, 0.5409660339355469, 0.4604049026966095, -0.8672282099723816, -0.10338408499956131, -0.7814295291900635, 0.3696229159832001, 0.47975578904151917, -0.16936668753623962, 0.6625028848648071, 0.6177831888198853, 0.929481565952301, -0.49773839116096497, 0.5814527273178101, 0.28457072377204895, 1.0544639825820923, -0.439647376537323, 0.5604284405708313, -0.4411553144454956, 0.32535648345947266, -0.389222115278244, -0.7759544849395752, -0.35313376784324646, 0.34865307807922363, 0.10773659497499466, 0.006589361932128668, 0.7681272625923157, 0.47630175948143005, 0.17848339676856995, 0.08611302077770233, 0.2654053866863251, 0.05464271083474159, -0.057434067130088806, 0.8093295693397522, 0.8866939544677734, -0.06970711052417755, 0.4347243309020996, -0.4023556113243103, 0.03183560445904732, -0.24866709113121033, -0.5505109429359436, -0.9295575618743896, -1.0240744352340698, -0.32001301646232605, -0.513796865940094, -0.24050235748291016, 1.0284134149551392, 0.24683190882205963, -0.8279339671134949, -0.39427751302719116, 0.056126918643713, 0.2484789341688156, -0.29082196950912476, -0.1910417079925537, 0.24675077199935913, -0.27458497881889343, -0.5212399363517761, -0.27768948674201965, 0.1827678084373474, 0.517505407333374, -0.1887117326259613, 0.06888730078935623, -0.3893897831439972, 0.12914863228797913, 1.0247728824615479, 0.5880808234214783, -0.9840735793113708, -0.2774941623210907, -0.02480086125433445, -0.19733330607414246, -0.027820950374007225, 1.1197726726531982, -0.7596211433410645, 0.4718206226825714, 0.3981321156024933, 0.26150330901145935, 0.40582364797592163, -0.05363289266824722, 0.6395700573921204, -0.545224130153656, -0.01727522537112236, 0.07748573273420334, 0.589637041091919, 0.18569518625736237, -0.0004272649239283055, 0.48495545983314514, 0.4185725748538971, -0.23698681592941284, -0.6150567531585693, 0.5455922484397888, -0.9719406962394714, -0.4318004846572876, 1.0740407705307007, -0.37458154559135437, -0.08543559908866882, -0.34059467911720276, -0.20232881605625153, 0.09643319249153137, 0.12100823223590851, 0.8674662709236145, 1.1018949747085571, 0.1428651362657547, -0.3431057035923004, -0.4280643165111542, 0.4995570182800293, 0.6009414196014404, -0.3655540943145752, 0.18637841939926147, 0.5119296312332153, 0.6191937923431396, 0.5179970264434814, 0.6375325322151184, -0.1310688853263855, 0.22755907475948334, 0.0051035769283771515, 0.2300836592912674, 0.14295460283756256, -0.4422357678413391, -0.3475375175476074, 0.271884948015213, 0.262991726398468, -0.0026516634970903397 ]
http://arxiv.org/abs/2406.17744v1
http://arxiv.org/pdf/2406.17744v1
Following Length Constraints in Instructions
2024-06-25T17:29:52
2024-06-25T17:29:52
Weizhe Yuan, Ilia Kulikov, Ping Yu, Kyunghyun Cho, Sainbayar Sukhbaatar, Jason Weston, Jing Xu
cs.CL
cs.CL
Aligned instruction following models can better fulfill user requests than their unaligned counterparts. However, it has been shown that there is a length bias in evaluation of such models, and that training algorithms tend to exploit this bias by learning longer responses. In this work we show how to train models that can be controlled at inference time with instructions containing desired length constraints. Such models are superior in length instructed evaluations, outperforming standard instruction following models such as GPT4, Llama 3 and Mixtral.
[ -0.20628845691680908, -0.27979594469070435, 0.8263056874275208, 0.287512868642807, -0.09916358441114426, -0.022585084661841393, 0.1276940256357193, -0.612327516078949, 0.06917949765920639, 0.6218397617340088, -0.991885781288147, -0.23597808182239532, -0.6306057572364807, 0.0710674449801445, -0.40070104598999023, 1.0950239896774292, -0.37219634652137756, 0.31291595101356506, -0.32331445813179016, -0.10673005878925323, -0.7277199029922485, -0.48075830936431885, -0.1667357236146927, -0.7137430906295776, 0.45380619168281555, 0.17967535555362701, 0.9356552362442017, 1.1072204113006592, 0.3871608078479767, 0.2473747581243515, -0.028869645670056343, 0.25339627265930176, -0.32978489995002747, -0.09494970738887787, 0.0878162756562233, -0.6245837211608887, -0.20427699387073517, 0.2188398540019989, 0.498582661151886, 0.7187784910202026, -0.15474246442317963, 0.002417132956907153, 0.1279720962047577, 0.5868512392044067, -0.5945928692817688, -0.005450860131531954, 0.0904480591416359, 0.3142848312854767, 0.07211139798164368, -0.2114499807357788, -0.4198538362979889, -0.642513632774353, 0.379055917263031, -0.6052078008651733, -0.013653400354087353, 0.0010439098114147782, 0.8046932816505432, 0.39717116951942444, -0.39579787850379944, -0.5233891010284424, -0.7591599225997925, 0.759708821773529, -0.7132108807563782, 0.6290952563285828, 0.5265466570854187, 0.3336947560310364, -0.07660108804702759, -0.6884779334068298, -0.2231556624174118, -0.22290751338005066, -0.21835516393184662, 0.04772225394845009, 0.3220885992050171, 0.39096811413764954, 0.682915210723877, 0.05822655186057091, -0.408998966217041, 0.506730854511261, -0.640114426612854, -0.0415046252310276, 0.6337950825691223, 0.30523407459259033, 0.0588458813726902, -0.13275721669197083, -0.5128048062324524, 0.008370579220354557, -0.8096613883972168, 0.013702875934541225, 0.7263111472129822, -0.2372603863477707, -0.2201448231935501, 0.6451047658920288, -0.2944091558456421, 0.9539331793785095, 0.38303861021995544, 0.07008267939090729, 0.001082340138964355, -0.17558589577674866, -0.1852399706840515, 0.06568820774555206, 0.3915068209171295, 0.44838517904281616, 0.15177007019519806, -0.19808296859264374, -0.5502596497535706, 0.05898788571357727, 0.1874958574771881, -0.8584248423576355, -0.09685955196619034, -0.05276934802532196, -0.47409680485725403, 0.10841599106788635, 0.10877744853496552, -0.570763111114502, -0.13405905663967133, -0.6958028674125671, 0.2975277602672577, -0.4512360990047455, 0.4420187473297119, 0.005066880490630865, -0.13839855790138245, 0.5538984537124634, 0.1978883445262909, -1.2807804346084595, 0.5142683386802673, 0.9165465831756592, 0.7969932556152344, -0.08006036281585693, -0.21101514995098114, -0.8430299162864685, 0.2287844568490982, -0.5979400873184204, 0.6593596935272217, -1.0013364553451538, -0.49157053232192993, -0.1534082591533661, -0.15311242640018463, -0.032517317682504654, -0.10280351340770721, 0.24823832511901855, -0.8312219977378845, 0.46659061312675476, -0.36342817544937134, -1.0242090225219727, -0.27134549617767334, -0.18585535883903503, -0.6282274127006531, 0.6956453323364258, 0.23435960710048676, -0.8013734817504883, 0.4691511392593384, -0.7946850061416626, -0.42199283838272095, -0.19119581580162048, -0.21908269822597504, -0.27622342109680176, 0.10676928609609604, 0.6218664050102234, 0.34143581986427307, -0.05506536364555359, -0.15991118550300598, -0.4642641246318817, -0.6092161536216736, 0.04490352421998978, -0.3408622443675995, 0.6828084588050842, 0.27609455585479736, -0.3211788833141327, 0.46180102229118347, -0.6041374802589417, 0.14875465631484985, -0.01444662269204855, -0.36617323756217957, -0.371518075466156, 0.19339659810066223, -0.671727180480957, -0.16394555568695068, 0.2442636340856552, -0.34492501616477966, 0.2586241364479065, -0.2704257369041443, 0.6419087648391724, 1.0397210121154785, 0.1930764615535736, 0.6695853471755981, -0.3420625627040863, 0.7686759233474731, -0.4947684407234192, 0.3362789750099182, -0.03971987962722778, -0.12321790307760239, -0.6979068517684937, 0.17627249658107758, 0.36570850014686584, 0.6272155046463013, -0.6086324453353882, 0.05468469485640526, -0.1533159762620926, -0.226725235581398, -0.5993672013282776, 0.34053486585617065, 0.6842858195304871, 0.4615553319454193, 0.3550601601600647, -0.3962916433811188, -0.6362302899360657, -0.7604517340660095, -0.10476468503475189, 0.13929887115955353, -0.25969576835632324, 0.3049507439136505, 0.35212114453315735, -0.18164117634296417, 0.5041248798370361, -0.4869990348815918, 0.3662011921405792, -0.24967245757579803, 0.05277489870786667, 0.19929514825344086, 0.40056508779525757, 0.44162997603416443, -0.6130475997924805, -0.5700839161872864, -0.15387941896915436, -0.7160055041313171, -0.2851724624633789, -0.12581367790699005, -0.1403961479663849, 0.024868780747056007, 0.3697661757469177, -0.604510486125946, 0.7859457731246948, 0.464262992143631, 0.03941117972135544, 0.5169517993927002, -0.06504353880882263, 0.05797692388296127, -0.6983122229576111, -0.49498477578163147, -0.021875077858567238, -0.3894348442554474, -0.48501092195510864, -0.0504608079791069, 0.25139814615249634, 0.19928398728370667, -0.1572311818599701, 0.30852675437927246, -1.0558586120605469, -0.5101034641265869, -0.40587878227233887, -0.22165440022945404, 0.19269579648971558, 0.5229088664054871, 0.37670546770095825, 0.7491373419761658, 0.46261370182037354, -0.6962583661079407, 0.38435783982276917, 0.49084973335266113, -0.6194818615913391, 0.3429121673107147, -0.858018159866333, 0.48011597990989685, 0.03991023823618889, 0.3363683819770813, -0.47270816564559937, -0.5707299709320068, 0.04461259767413139, -0.25102877616882324, 0.45051947236061096, -0.30040663480758667, -0.24572300910949707, -0.7121618986129761, -0.2961784601211548, 0.18472492694854736, 0.699295163154602, -0.8202896118164062, 0.35433846712112427, -0.1719868928194046, 0.23389093577861786, -0.9954621195793152, -0.589755117893219, -0.7121331095695496, -0.3554043471813202, -0.23256371915340424, 0.3167855143547058, -0.05865427851676941, -0.053115930408239365, -0.13052250444889069, -0.3055607080459595, -0.027651866897940636, -0.1468210220336914, 0.45441576838493347, 0.29052719473838806, -0.08481772243976593, -0.13685549795627594, 0.14882855117321014, 0.299293577671051, 0.13101010024547577, -0.20300468802452087, 0.5131107568740845, 0.32606634497642517, -0.736972451210022, -1.023769736289978, 0.48571163415908813, 0.10135384649038315, -0.222992941737175, 0.4941085875034332, 0.2752695679664612, -0.15080951154232025, -0.18328754603862762, -0.47178271412849426, -0.5369519591331482, -0.49953708052635193, 0.24398253858089447, -0.3304012417793274, -0.8468468189239502, 0.36934560537338257, 0.40742039680480957, 0.2401641607284546, 0.04794452711939812, 0.18639123439788818, -0.16197408735752106, 1.3974180221557617, 1.052049994468689, -0.029516523703932762, 0.7447472810745239, -0.08504676073789597, -0.15008823573589325, -1.0987111330032349, -0.16290979087352753, -0.2283364087343216, -0.35502830147743225, -0.4352174699306488, -0.31913626194000244, 0.08887258172035217, 0.22893798351287842, -0.25772225856781006, 0.4020976126194, -0.5328933596611023, 0.6664024591445923, 0.7075657844543457, 0.39547815918922424, -0.29242920875549316, -0.08868800103664398, -0.24617597460746765, 0.08362281322479248, -0.8364108800888062, -0.35014790296554565, 1.0928550958633423, 0.6564330458641052, 1.1553725004196167, -0.1849242001771927, 0.776658296585083, 0.11156406253576279, 0.30681943893432617, -0.5551158785820007, 0.3059535622596741, 0.29154372215270996, -0.5523965954780579, -0.14625228941440582, -0.45025619864463806, -0.7185136675834656, -0.16158996522426605, 0.2003934532403946, -0.9264899492263794, 0.07980372756719589, 0.32111915946006775, -0.6560113430023193, 0.27353471517562866, -0.7900735139846802, 0.45201146602630615, -0.6161326169967651, -0.4082091152667999, -0.06235792860388756, -0.9608001708984375, 0.1499796062707901, 0.3168169856071472, -0.2643333077430725, 0.09245665371417999, 0.007870745845139027, 0.7803027629852295, -0.6869524717330933, 0.9885370135307312, -0.22669701278209686, 0.2292095124721527, 0.5344295501708984, -0.05479126051068306, 0.49086788296699524, -0.16434156894683838, 0.08974158018827438, -0.25616419315338135, -0.19148632884025574, -0.5262507796287537, -0.787672758102417, 0.6249164342880249, -0.840393602848053, -1.0096118450164795, -0.1313680112361908, -0.6224851012229919, -0.3130437433719635, 0.15668097138404846, 0.49716782569885254, 0.3981455862522125, 0.08325263857841492, -0.08755534887313843, 0.7601377964019775, -0.06790086627006531, 0.5862746238708496, 0.21406055986881256, -0.1997695416212082, -0.19151011109352112, 0.34564948081970215, 0.14325159788131714, 0.5810970067977905, 0.5360241532325745, 0.0634581446647644, -0.5766933560371399, -0.5584588646888733, -0.5254194736480713, 0.1904875636100769, -0.8223058581352234, -0.2569255530834198, -0.3713732659816742, -0.4645310044288635, -0.43801698088645935, -0.2208481878042221, -0.15219861268997192, -0.32871249318122864, -0.4864653944969177, -0.5590327382087708, 0.35313180088996887, 1.2138702869415283, -0.10287445783615112, 0.8996005654335022, -0.695216715335846, -0.006493392866104841, 0.4823801517486572, 0.6035244464874268, 0.09859954565763474, -0.671744167804718, -0.09783733636140823, -0.09827393293380737, -0.49248284101486206, -1.168566346168518, 0.13927455246448517, -0.06714169681072235, 0.5661057829856873, 0.6984987258911133, -0.3544817268848419, 0.9150190949440002, -0.8014997243881226, 0.4913090765476227, 0.18383662402629852, -0.8925411105155945, 0.6354624032974243, 0.00054472143528983, 0.47662290930747986, 0.12219143658876419, 1.0016626119613647, -0.1576310396194458, 0.2063167542219162, -0.38920584321022034, -0.3474169075489044, 0.6977433562278748, -0.008833224885165691, 0.1714809387922287, 0.053885478526353836, 0.7292400002479553, 0.26416414976119995, 0.11961477994918823, -0.68550705909729, 0.2236524075269699, -0.21740980446338654, -0.1420455276966095, 0.26452916860580444, -0.4989455044269562, -0.14980493485927582, 0.08425696939229965, 0.5904452800750732, -0.035143155604600906, 0.45730122923851013, 0.07764168083667755, -0.04500818997621536, -0.07261501997709274, 0.04484425485134125, 0.6664129495620728, 1.1038672924041748, -0.11026673763990402, -0.27544257044792175, 0.30910611152648926, -0.08793892711400986, 0.00945854838937521, 0.19756478071212769, -0.19073055684566498, -0.198782280087471, 0.6568182110786438, 1.2279300689697266, -0.14620815217494965, -0.3486071527004242, 0.3633067011833191, 0.11216156929731369, -0.1822999268770218, -0.23991386592388153, 0.45868393778800964, -0.0545230358839035, 0.4223342835903168, -0.1310441493988037, -0.17182637751102448, 0.2947022318840027, -0.1957160234451294, 0.21387611329555511, 0.3498065173625946, -0.8582724332809448, -0.31728431582450867, 0.8743808269500732, -0.10179750621318817, -0.3253341019153595, 0.8548880815505981, 0.3037817180156708, -0.7195726633071899, 0.6299252510070801, 0.54108726978302, 0.40425804257392883, -0.5336779952049255, 0.11211206018924713, 0.20979203283786774, 0.21811191737651825, -0.2046034336090088, 0.27423956990242004, -0.4583282172679901, -0.3924776613712311, -0.6052699685096741, -0.4656520485877991, -0.3266410827636719, -0.0380028672516346, -1.0380756855010986, 0.27588096261024475, -0.9557204246520996, -0.08682464808225632, -0.006067445036023855, -0.12240844964981079, -0.6980411410331726, 0.13610239326953888, 0.13584990799427032, 1.0611965656280518, -0.6486514806747437, 0.7260681986808777, 0.20918242633342743, -0.3062855005264282, -1.177438497543335, -0.35173678398132324, 0.11483606696128845, -0.9155898094177246, 0.4937843978404999, 0.6457230448722839, -0.03700368106365204, -0.40356436371803284, -0.921828031539917, -0.7313585877418518, 1.0134825706481934, 0.1101507693529129, -0.764813244342804, -0.38909751176834106, -0.10273796319961548, 0.4428541660308838, -0.5107778906822205, 0.3947388827800751, 0.6810064315795898, 0.10521221160888672, 0.12802919745445251, -0.8374088406562805, -0.17620091140270233, 0.11759946495294571, 0.12260673940181732, 0.33352726697921753, -0.6926798820495605, 0.5863138437271118, -0.48394206166267395, -0.021872004494071007, 0.4512895345687866, 1.1510387659072876, 0.1045113280415535, 0.19420701265335083, 0.3917000889778137, 0.6904039978981018, 0.6031177043914795, 0.050671424716711044, 1.3250768184661865, 0.16217193007469177, -0.0714554414153099, 1.6068692207336426, -0.3678337335586548, 0.5502573251724243, 0.3500280976295471, 0.009175989776849747, 0.7650433778762817, 1.180008053779602, -0.15052630007266998, 0.7836273908615112, 0.25046980381011963, 0.08778943121433258, -0.08145571500062943, 0.1800103336572647, -0.3393910527229309, 0.13637757301330566, 0.5379452109336853, -0.5714542269706726, 0.2616126537322998, -0.1362924426794052, 0.008433791808784008, 0.1667419821023941, -0.46305909752845764, 0.7895351052284241, 0.08361868560314178, -1.050340175628662, 0.5947949290275574, -0.147449791431427, 0.29558417201042175, -0.678741991519928, -0.25615471601486206, -0.41633516550064087, -0.04479461908340454, -0.21669545769691467, -0.6809324026107788, -0.12072362005710602, -0.01709611713886261, -0.14119470119476318, -0.014940663240849972, 0.29291069507598877, -0.16017329692840576, -0.20875000953674316, 0.3319997191429138, -0.007833816111087799, 0.07660088688135147, 0.49856385588645935, -0.6900259256362915, -0.008564777672290802, 0.3349299132823944, -0.4272274672985077, 0.12323281913995743, 0.32000264525413513, -0.5161728858947754, 0.9241275191307068, 0.28188639879226685, -0.07538894563913345, 0.5915605425834656, -0.0349772609770298, 0.8133437633514404, -0.41339999437332153, -0.5041433572769165, -0.8261623978614807, 0.11102759093046188, -0.23514114320278168, -0.059678319841623306, 0.6165581941604614, 0.35388457775115967, 0.9586413502693176, -0.005990300327539444, 0.5885176658630371, 0.22435420751571655, 0.6843404769897461, -0.9635413885116577, 0.12892450392246246, -0.3219018876552582, 0.4941096007823944, 0.08813486993312836, -1.1466032266616821, -0.08622478693723679, 0.5962024331092834, -0.7286569476127625, 0.397833913564682, 0.4809339940547943, 0.43470123410224915, -0.3710397183895111, 0.284901887178421, -0.07545991241931915, -0.19242945313453674, 0.2677793502807617, 0.9139024019241333, 1.1759734153747559, 0.11529725790023804, 0.23944887518882751, -0.5355163812637329, -0.3194524645805359, -0.04845305532217026, -0.7876150608062744, -1.2764697074890137, -0.052849020808935165, 0.003059270093217492, -0.20533743500709534, 0.21465294063091278, 0.8254520893096924, 1.0156261920928955, -0.7316554188728333, -0.2563610076904297, 0.0014401376247406006, 0.19879089295864105, -0.24666832387447357, -0.09793759137392044, 0.45771700143814087, -0.19244921207427979, -0.7012849450111389, 0.32329607009887695, -0.055004965513944626, 0.5622000098228455, -0.23150402307510376, -0.3810339868068695, -0.17791049182415009, 0.2705535590648651, 0.11820179969072342, 0.4632156789302826, -0.7467312216758728, -0.567352294921875, 0.0017925933934748173, 0.008982762694358826, 0.18094249069690704, 0.7474509477615356, -0.39103958010673523, 0.29445648193359375, 0.4081661105155945, 0.6596710085868835, 0.7645542621612549, 0.27366864681243896, 0.871740460395813, -0.7236878871917725, 0.09443214535713196, 0.2573838233947754, 0.3326255679130554, 0.44282326102256775, -0.6312568187713623, 0.716637134552002, -0.29655584692955017, -0.7630679607391357, -0.5956078171730042, 0.43093475699424744, -0.503387987613678, -0.16470655798912048, 1.0040853023529053, -0.4759409725666046, -0.4055270850658417, 0.5661313533782959, 0.0760917216539383, 0.27208858728408813, -0.13689133524894714, 0.6197831630706787, 0.7809609770774841, -0.7581382989883423, -0.25574445724487305, -0.8213317394256592, 0.5779063701629639, 0.5918145179748535, -0.5079124569892883, -0.2842329442501068, 0.7725520133972168, 0.4105556905269623, -0.04839002341032028, 0.32166117429733276, -0.020229483023285866, 0.39261195063591003, -0.10168400406837463, -0.3796596825122833, -0.041468437761068344, -0.6999257802963257, -0.23764383792877197, -0.19736339151859283, 0.006392019800841808, -0.3609521687030792 ]
http://arxiv.org/abs/2406.17739v1
http://arxiv.org/pdf/2406.17739v1
Find Parent then Label Children: A Two-stage Taxonomy Completion Method with Pre-trained Language Model
2024-06-25T17:25:02
2024-06-25T17:25:02
Fei Xia, Yixuan Weng, Shizhu He, Kang Liu, Jun Zhao
cs.CL
cs.CL, cs.AI
Taxonomies, which organize domain concepts into hierarchical structures, are crucial for building knowledge systems and downstream applications. As domain knowledge evolves, taxonomies need to be continuously updated to include new concepts. Previous approaches have mainly focused on adding concepts to the leaf nodes of the existing hierarchical tree, which does not fully utilize the taxonomy's knowledge and is unable to update the original taxonomy structure (usually involving non-leaf nodes). In this paper, we propose a two-stage method called ATTEMPT for taxonomy completion. Our method inserts new concepts into the correct position by finding a parent node and labeling child nodes. Specifically, by combining local nodes with prompts to generate natural sentences, we take advantage of pre-trained language models for hypernym/hyponymy recognition. Experimental results on two public datasets (including six domains) show that ATTEMPT performs best on both taxonomy completion and extension tasks, surpassing existing methods.
[ -0.3058491051197052, -0.4498002827167511, 0.4665393531322479, -0.17420218884944916, -0.2725893259048462, 0.42853087186813354, -0.028573613613843918, -0.3884809911251068, 0.16886761784553528, 0.2902832627296448, -0.7456196546554565, -0.48073580861091614, -0.5702540874481201, 0.04941141977906227, -0.1439010053873062, 0.7696682810783386, -0.2790133059024811, -0.44802388548851013, -0.3576960861682892, 0.29952219128608704, -0.35402050614356995, -0.5057787299156189, -0.7099239826202393, -0.2919449210166931, 0.47191691398620605, 0.4952186644077301, 0.6032336950302124, 0.975307047367096, 0.44703564047813416, 0.18055360019207, -0.3954140841960907, 0.3474586009979248, -0.13880737125873566, 0.06395473331212997, -0.4567108750343323, -0.37581005692481995, -0.43170711398124695, 0.24094580113887787, 0.7198769450187683, 1.1283560991287231, -0.17017515003681183, 0.14943888783454895, 0.1644081175327301, 0.20098303258419037, -0.6876540184020996, 0.1729171872138977, -0.7527535557746887, 0.25568288564682007, -0.19995275139808655, -0.4813622236251831, -0.3563045263290405, -0.2411319613456726, 0.45938724279403687, -0.7967653274536133, 0.24696986377239227, -0.02375306375324726, 0.9950903058052063, 0.09841706603765488, -0.42163318395614624, -0.29116716980934143, -0.6320017576217651, 0.7541370987892151, -0.5844279527664185, 0.41092684864997864, 0.45535483956336975, -0.0651274025440216, -0.29210391640663147, -0.8454260230064392, -0.5421606302261353, -0.20259502530097961, -0.38463926315307617, 0.07542142271995544, -0.17366668581962585, 0.05277348309755325, 0.3053327798843384, 0.08149959146976471, -0.532051682472229, 0.17667165398597717, -0.1305965781211853, -0.13844315707683563, 0.008354077115654945, -0.18482115864753723, 0.4228348135948181, -0.470832496881485, -0.47696372866630554, -0.06628676503896713, -0.7350743412971497, -0.31374552845954895, 0.0654497891664505, 0.5315582156181335, 0.2781238257884979, 0.6522692441940308, -0.28971126675605774, 0.79608553647995, 0.03903660923242569, -0.3549617826938629, 0.35803818702697754, -0.574501097202301, -0.06479000300168991, -0.12399952858686447, 0.4959094822406769, 0.17129282653331757, 0.1208106279373169, -0.26805004477500916, -0.24461552500724792, 0.014556046575307846, 0.39881065487861633, -0.26573890447616577, -0.13520434498786926, 0.16397641599178314, -0.16952039301395416, -0.21903716027736664, -0.27227604389190674, -0.6430811285972595, -0.12091086804866791, -0.3303629159927368, 0.518248438835144, -0.4024638533592224, -0.30828744173049927, -0.15083007514476776, -0.1216060221195221, 0.3432404398918152, 0.41386961936950684, -0.7089373469352722, 0.36873599886894226, 0.9616488218307495, 0.8978967666625977, -0.13200388848781586, -0.6405327320098877, -0.49788665771484375, 0.41778498888015747, -0.5576980710029602, 0.598325252532959, -0.5074265003204346, -0.09285809844732285, 0.1315915733575821, -0.08581749349832535, -0.32625988125801086, -0.6442462801933289, 0.46072056889533997, -0.7357021570205688, 0.22092650830745697, 0.17364171147346497, -0.6740003228187561, 0.02307126671075821, 0.32338055968284607, -0.31270384788513184, 1.0383679866790771, 0.43978792428970337, -0.907537579536438, 0.6097890138626099, -0.5592586994171143, -0.4200226068496704, 0.40183091163635254, 0.272595077753067, -0.17206355929374695, -0.017512081190943718, -0.057242974638938904, 0.3989524245262146, 0.02456001564860344, 0.3127972483634949, 0.1329880654811859, 0.09455203264951706, -0.05066719651222229, 0.17628726363182068, 0.7673516869544983, -0.0360066257417202, -0.2489813268184662, -0.1448628455400467, -0.5331255793571472, 0.05080992355942726, 0.008318877778947353, -0.22310209274291992, -0.5726006031036377, 0.10245124995708466, -0.32079482078552246, 0.25295135378837585, 0.39203208684921265, -0.49046769738197327, 0.5090183019638062, -0.3472925126552582, 0.31700578331947327, 0.33522170782089233, 0.17192640900611877, 0.42425790429115295, -0.16197778284549713, 0.7517832517623901, 0.07353349775075912, 0.3770171105861664, -0.13935065269470215, -0.6282781958580017, -0.8744433522224426, 0.032040759921073914, 0.790722668170929, 0.4798445701599121, -1.1388589143753052, 0.7189019918441772, -0.3539453446865082, -0.4777367115020752, -0.13493819534778595, 0.11346734315156937, 0.528581440448761, 0.5638261437416077, 0.4455967843532562, -0.7548638582229614, -0.7328962683677673, -0.6837158799171448, 0.21363547444343567, -0.5913898944854736, 0.033903591334819794, 0.170596644282341, 0.7052401304244995, -0.49962738156318665, 1.2726103067398071, -0.7713640332221985, -0.3968392610549927, 0.02345721796154976, 0.4678226709365845, 0.025934863835573196, 0.5927068591117859, 0.3102089762687683, -0.6523977518081665, -0.19633954763412476, 0.005071152467280626, -0.4630190432071686, 0.19925929605960846, 0.17733505368232727, -0.20001809298992157, 0.1274600774049759, 0.15459473431110382, -0.6798657178878784, 0.2178785353899002, 0.2218404859304428, 0.028691302984952927, 0.4642297923564911, -0.06673876196146011, -0.14929819107055664, -1.0714097023010254, -0.1407715529203415, -0.06494367122650146, -0.14116425812244415, -0.8455474972724915, 0.3077393174171448, 0.042503997683525085, 0.14357535541057587, -0.47863447666168213, 0.3857479691505432, -0.5886688828468323, 0.10373067110776901, -0.17630445957183838, 0.15271450579166412, -0.3308653235435486, 0.3659087121486664, 0.22429406642913818, 0.4650704860687256, 0.7417429685592651, -0.7349462509155273, 0.3199726939201355, 0.2362116128206253, -0.313086599111557, 0.5847732424736023, -0.21637220680713654, 0.12434372305870056, -0.21629787981510162, 0.2982291877269745, -0.9533376693725586, -0.6260617971420288, 0.5805850028991699, -0.5925119519233704, 0.3957252502441406, -0.5051686763763428, -0.5739096999168396, -0.8057940006256104, -0.09492512792348862, 0.5199035406112671, 0.5277155637741089, -0.7164502739906311, 0.4040384888648987, 0.5045828819274902, -0.29393166303634644, -0.6035836935043335, -0.36936715245246887, 0.34710177779197693, -0.05804257467389107, -0.23999257385730743, 0.5629193186759949, 0.2569348216056824, 0.2765975892543793, 0.21042582392692566, -0.1939530372619629, -0.3710189759731293, 0.10862594097852707, -0.15485922992229462, 0.21956992149353027, -0.22142425179481506, 0.11820212751626968, 0.08574514836072922, -0.1945224404335022, 0.059620074927806854, -0.7169862985610962, 0.558047890663147, 0.3650701940059662, -0.016642918810248375, -0.49809029698371887, 0.124018095433712, 0.3370901942253113, -0.26465848088264465, 0.36375415325164795, 0.07129933685064316, -1.020694375038147, -0.2575438618659973, -0.3439241349697113, 0.00659968564286828, -0.4024966061115265, 0.17744866013526917, -0.37188106775283813, -0.731078565120697, -0.1343773752450943, -0.16944044828414917, 0.08360136300325394, 0.4292509853839874, -0.0005918327369727194, -0.20811200141906738, 0.7796840667724609, 0.6526310443878174, 0.23397594690322876, 0.18291282653808594, -0.32511094212532043, 0.19061987102031708, -1.0534008741378784, -0.3418693542480469, -0.5873671174049377, 0.02599790133535862, -0.377635657787323, -0.6685047745704651, 0.12993080914020538, 0.3910342752933502, 0.1597425788640976, 0.8772681951522827, -0.5984320044517517, 0.2518733739852905, 0.8620415925979614, 0.04643993452191353, 0.5581544041633606, 0.252038836479187, -0.04897451773285866, -0.008730163797736168, -0.8974462747573853, -0.5202612280845642, 0.8634987473487854, 0.3414731025695801, 0.46022000908851624, 0.10830006003379822, 1.1758129596710205, -0.09014327079057693, 0.6964877247810364, -1.1863895654678345, 0.4391635060310364, -0.16306377947330475, -0.4783249497413635, -0.33415770530700684, -0.43058449029922485, -1.1215887069702148, -0.023828567937016487, -0.037656355649232864, -0.781340479850769, 0.3416139781475067, 0.22932404279708862, -0.5049651265144348, 0.0717298686504364, -0.4858352541923523, 0.6694112420082092, -0.06953485310077667, 0.07181454449892044, 0.1241513192653656, -0.6681205630302429, 0.4384582042694092, -0.3202415406703949, 0.2880658209323883, 0.16550081968307495, -0.42105501890182495, 1.209499716758728, -0.5634976625442505, 0.8436453938484192, -0.21523506939411163, -0.2886542081832886, 0.47185319662094116, 0.031752489507198334, 0.2996092438697815, -0.2805848717689514, 0.43558114767074585, -0.34386762976646423, -0.04418615251779556, -0.18179430067539215, -0.7644615769386292, 0.31898948550224304, -0.44149649143218994, -0.4974997341632843, -0.7786366939544678, -0.18901614844799042, -0.3776065707206726, 0.294829785823822, 0.14297525584697723, 0.3962470293045044, 0.08507988601922989, -0.17425213754177094, 0.6274181604385376, 0.0878019854426384, 0.2934603989124298, 0.16616703569889069, -0.32201966643333435, -0.4731461703777313, 0.8043475151062012, 0.44675010442733765, 0.35427770018577576, 0.37980929017066956, 0.15007199347019196, -0.4219936430454254, -0.636996328830719, -0.2895384430885315, 0.24419766664505005, -0.4783605933189392, -0.5144962668418884, -0.9956879615783691, -0.46824949979782104, -0.4008013904094696, 0.07651879638433456, -0.18498699367046356, -0.4430270493030548, -0.008138105273246765, -0.05865596607327461, 0.26323390007019043, 0.9183727502822876, -0.20218555629253387, 0.6709214448928833, -0.7945131063461304, 0.5222976803779602, 0.5690898895263672, 0.2787439525127411, 0.314485102891922, -0.5302310585975647, -0.12269136309623718, 0.23683980107307434, -0.1998959183692932, -0.8893865942955017, 0.14981156587600708, 0.2774389684200287, 0.4222554564476013, 0.21542774140834808, -0.24955900013446808, 0.7584921717643738, -0.658003568649292, 0.45988863706588745, 0.29842254519462585, -0.9243485927581787, 1.04965341091156, -0.2948766350746155, 0.13090048730373383, 0.4771564304828644, 0.7811020612716675, -0.6436020135879517, -0.1803865134716034, -0.8958050012588501, -0.8639620542526245, 0.8230115175247192, 0.2017233967781067, 0.15825261175632477, -0.046655528247356415, 0.387768417596817, -0.12743301689624786, 0.2361457794904709, -0.42025285959243774, -0.23650558292865753, 0.18170738220214844, -0.09709519147872925, 0.15502884984016418, -0.32916495203971863, -0.21962134540081024, -0.46388792991638184, 0.7376737594604492, -0.15147563815116882, -0.061378173530101776, 0.04370283707976341, -0.13385210931301117, -0.2338608354330063, 0.2549338936805725, 0.10788413137197495, 0.9830664396286011, -0.20219697058200836, 0.3073747456073761, -0.13425172865390778, -0.36365193128585815, 0.4324384033679962, 0.1090678870677948, -0.5766749382019043, 0.27840960025787354, 0.6374275088310242, 0.48457542061805725, 0.39614337682724, -0.3077792227268219, 0.5780676603317261, 0.33844295144081116, -0.3119569420814514, -0.09560679644346237, 0.02042767032980919, 0.14760561287403107, -0.3162451386451721, 0.5232099890708923, -0.0466175451874733, 0.008603793568909168, -0.9778602123260498, 0.6542497873306274, 0.2896064817905426, -0.33422109484672546, -0.03180843964219093, 0.3801272213459015, -0.09244578331708908, -0.5172623991966248, 0.5095242261886597, -0.5611298084259033, -0.9324061870574951, 0.6204883456230164, 0.6271675229072571, 0.7619194388389587, -0.36518314480781555, 0.7735898494720459, 0.6030965447425842, 0.2744292616844177, -0.3152332901954651, 0.27671828866004944, -0.0674777403473854, -0.8085435628890991, -0.7292102575302124, -0.7725728154182434, -0.5678313970565796, -0.0877956673502922, -0.5882685780525208, 0.08994649350643158, -0.4183354377746582, -0.32929128408432007, 0.1577441692352295, -0.1153624951839447, -0.4499836564064026, 0.5328255891799927, 0.08049582690000534, 0.8953901529312134, -0.8123139142990112, 0.7137006521224976, 0.8098161220550537, -0.23224429786205292, -0.8967158794403076, 0.36970198154449463, -0.10217227041721344, -0.43764445185661316, 0.6082758903503418, 0.0040336064994335175, -0.11284935474395752, 0.28259479999542236, -0.5426334142684937, -1.2236151695251465, 0.8498591184616089, -0.2307765930891037, -0.5061359405517578, -0.3413974642753601, -0.13817498087882996, 0.5496373772621155, -0.45991283655166626, 0.014766874723136425, 0.7585188150405884, 0.5245922803878784, 0.5842635631561279, -0.8683531880378723, 0.02297595888376236, 0.04531541094183922, 0.2259761244058609, 0.31108492612838745, -0.10137739777565002, 0.6043999195098877, -0.2269534170627594, -0.519712507724762, 0.17964136600494385, 0.8368115425109863, 0.2533721625804901, 0.07349187880754471, 0.8445233106613159, 0.6847445368766785, 0.9471036195755005, -0.19539934396743774, 0.5433956980705261, -0.12913095951080322, 0.5769413709640503, 1.2960408926010132, -0.31667986512184143, 0.9488871097564697, 0.2406519502401352, -0.36379778385162354, 0.35962194204330444, 1.099221110343933, 0.08886116743087769, 0.44454601407051086, 0.31498846411705017, -0.23591193556785583, -0.0828760415315628, -0.5590006113052368, -0.4411090016365051, 0.1632647067308426, 0.4712992012500763, 0.06425286829471588, -0.24521610140800476, 0.06035247817635536, 0.19833631813526154, -0.1385485827922821, -0.3745475113391876, 0.8301617503166199, 0.030025530606508255, -1.0712019205093384, 0.5984504222869873, -0.062168460339307785, 0.8215049505233765, -0.45081400871276855, 0.000704376318026334, -0.02985086292028427, -0.3354167640209198, -0.38106009364128113, -0.7277987599372864, 0.07728157192468643, 0.012136110104620457, 0.022921793162822723, -0.23754391074180603, 0.5207109451293945, -0.7334445118904114, -0.5851874351501465, 0.37814801931381226, 0.6833748817443848, 0.006105527281761169, 0.22600848972797394, -0.37848901748657227, -0.48613235354423523, -0.3330455720424652, 0.0231391042470932, -0.229618102312088, 0.406564861536026, -0.0391312874853611, 0.4998984634876251, 0.4240935146808624, 0.23883727192878723, 0.31329965591430664, 0.08286209404468536, 0.7646531462669373, -0.5203956365585327, -0.14983801543712616, -0.5423802733421326, 0.265164852142334, -0.03551475331187248, -0.2556872069835663, 0.46515586972236633, 0.7223432064056396, 1.346115231513977, -0.11668934673070908, 0.8713459372520447, -0.4112498462200165, 0.6627246737480164, -0.5336705446243286, 0.24015077948570251, -0.7189187407493591, -0.25967201590538025, -0.39005807042121887, -1.1072826385498047, -0.5302829146385193, 0.4337078034877777, -0.007624685298651457, 0.008280398324131966, 1.1512017250061035, 0.76691734790802, -0.24864919483661652, -0.35103359818458557, -0.08222517371177673, 0.25469645857810974, -0.1329464167356491, 0.7243746519088745, 1.140692949295044, -0.31446775794029236, 0.22947131097316742, -0.6452984809875488, -0.6113718748092651, 0.05086717754602432, -0.5703111290931702, -0.48538586497306824, -0.6794092059135437, -0.7539613842964172, -0.5302238464355469, 0.23583197593688965, 1.0365712642669678, 0.6084347367286682, -0.7060815691947937, -0.08828230202198029, 0.08421441167593002, 0.16547733545303345, -0.2729009985923767, -0.19180089235305786, 0.4301303029060364, -0.5986216068267822, -0.83770352602005, 0.3245312571525574, 0.2713066339492798, 0.08096882700920105, -0.013759642839431763, 0.19117453694343567, -0.5879409909248352, -0.14960597455501556, 0.49846020340919495, 0.2749353051185608, -0.7297964096069336, -0.4150428771972656, -0.1928378939628601, -0.20607203245162964, 0.1763385534286499, 0.9163258671760559, -0.8142722249031067, 0.36926090717315674, 0.543569028377533, 0.5488389134407043, 0.24897995591163635, 0.1400381624698639, 0.40126341581344604, -0.7489724159240723, -0.30170029401779175, 0.26768428087234497, 0.2973540425300598, 0.25986775755882263, -0.1387709230184555, 0.7842715382575989, 0.46328121423721313, 0.123023621737957, -0.8083296418190002, 0.42674726247787476, -0.9045337438583374, -0.22766093909740448, 1.049178957939148, -0.048684012144804, -0.353558748960495, -0.28699949383735657, -0.0774335190653801, 0.4345630705356598, 0.13629412651062012, 0.45356032252311707, 0.6761075258255005, 0.07316938042640686, 0.10395581275224686, -0.3722175359725952, 0.6631373763084412, 0.26365694403648376, -0.7707695364952087, -0.11043920367956161, 0.31134846806526184, 0.07286426424980164, 0.601712703704834, 0.8604119420051575, 0.07237497717142105, 0.24720722436904907, -0.2801384925842285, 0.10657753795385361, 0.43158218264579773, -0.8389124274253845, -0.08582540601491928, 0.22122737765312195, 0.20655782520771027, -0.21435117721557617 ]
http://arxiv.org/abs/2406.17737v1
http://arxiv.org/pdf/2406.17737v1
LLM Targeted Underperformance Disproportionately Impacts Vulnerable Users
2024-06-25T17:24:07
2024-06-25T17:24:07
Elinor Poole-Dayan, Deb Roy, Jad Kabbara
cs.CL
cs.CL, cs.AI, cs.LG
While state-of-the-art Large Language Models (LLMs) have shown impressive performance on many tasks, there has been extensive research on undesirable model behavior such as hallucinations and bias. In this work, we investigate how the quality of LLM responses changes in terms of information accuracy, truthfulness, and refusals depending on three user traits: English proficiency, education level, and country of origin. We present extensive experimentation on three state-of-the-art LLMs and two different datasets targeting truthfulness and factuality. Our findings suggest that undesirable behaviors in state-of-the-art LLMs occur disproportionately more for users with lower English proficiency, of lower education status, and originating from outside the US, rendering these models unreliable sources of information towards their most vulnerable users.
[ -0.02356088161468506, -0.8456835746765137, 0.7572382092475891, -0.011490984819829464, 0.198332741856575, 0.2751893699169159, -0.2138831615447998, -0.6184415221214294, -0.05013308301568031, 0.5698243379592896, -0.2924470603466034, -0.4088951349258423, -0.7265589833259583, 0.018396029248833656, -0.5597769021987915, 0.8924782872200012, 0.06960370391607285, -0.15459340810775757, -0.39973780512809753, -0.04005459323525429, -0.5663543343544006, -0.9711355566978455, -0.15824122726917267, -0.5034842491149902, 0.5355561375617981, 0.5342608094215393, 1.0173817873001099, 0.05809876322746277, 0.5474056601524353, 0.24244852364063263, 0.02806665562093258, 0.041495051234960556, -0.9294701218605042, 0.020790226757526398, -0.40146127343177795, -0.7410109043121338, -0.4083065092563629, 0.27823004126548767, 0.36980703473091125, 0.6283703446388245, -0.3029957115650177, 0.2577745020389557, 0.42180585861206055, 0.5111480355262756, -0.6758155226707458, -0.11087290197610855, -0.8125622272491455, -0.36007368564605713, -0.19976802170276642, -0.08410059660673141, -0.5326701998710632, -0.4533270299434662, -0.0823877826333046, -0.40759363770484924, 0.24677802622318268, 0.05431300029158592, 0.7121067047119141, 0.23008231818675995, -0.4813194274902344, -0.6816838383674622, -0.8440062403678894, 0.7483513951301575, -0.7364017367362976, 0.42142924666404724, 0.610738217830658, 0.045764219015836716, -0.33615562319755554, -0.3696037232875824, -0.5122483968734741, -0.34277287125587463, -0.2964835464954376, -0.11917682737112045, -0.489741712808609, -0.09043916314840317, 0.4038449823856354, 0.22746257483959198, -0.5089277625083923, 0.6283714771270752, -0.5025705695152283, -0.24996845424175262, 0.7975605130195618, 0.3402765989303589, 0.24792879819869995, -0.1577696055173874, -0.26542043685913086, 0.13455896079540253, -0.8393292427062988, 0.35726332664489746, 0.860260009765625, 0.4514850676059723, 0.03525274991989136, 0.8638623356819153, 0.02027500979602337, 0.3362073600292206, -0.09263763576745987, -0.4288429319858551, 0.19144916534423828, -0.012833225540816784, -0.0639386996626854, 0.01631099171936512, 0.692600429058075, 0.5256201028823853, 0.2533278465270996, -0.07347950339317322, -0.6288187503814697, 0.21898551285266876, 0.40512511134147644, -0.6235493421554565, 0.09517798572778702, 0.38127604126930237, -0.44209524989128113, -0.23305632174015045, 0.15570257604122162, -0.5703625679016113, -0.590327799320221, -0.10122492164373398, 0.5949235558509827, -0.27947697043418884, -0.19484634697437286, 0.14404092729091644, 0.25167083740234375, 0.026668990030884743, 0.18745695054531097, -0.7391088008880615, 0.4769233763217926, 0.39149364829063416, 0.6011055111885071, -0.5083045363426208, -0.208932027220726, -0.2853492200374603, -0.10110532492399216, -0.17851030826568604, 0.42359474301338196, -0.6081922650337219, -0.5304014086723328, 0.06804398447275162, -0.07897587865591049, -0.10673984885215759, -0.7501864433288574, 0.8017523288726807, -0.6150447726249695, 0.18082813918590546, -0.5631143450737, -0.37141287326812744, -0.21198229491710663, 0.11428368091583252, -0.546461284160614, 0.8894515037536621, 0.11217606067657471, -0.8336756229400635, 0.2470637559890747, -0.5371794700622559, -0.44125595688819885, -0.15491822361946106, -0.005343837663531303, -0.22162578999996185, 0.4530360996723175, 0.026821589097380638, 0.6624279618263245, -0.15409815311431885, 0.41409265995025635, -0.2736429274082184, -0.7609079480171204, 0.7870798707008362, -0.7650265097618103, 0.5783592462539673, 0.13595075905323029, -0.18762564659118652, -0.17053605616092682, -0.9695417284965515, -0.20603050291538239, 0.4471464455127716, -0.507420003414154, -0.5212445259094238, 0.031238989904522896, 0.14851804077625275, 0.3301090598106384, 0.189667746424675, -0.6594998240470886, 0.03284728527069092, -0.4472614526748657, 0.3338862359523773, 0.8533980250358582, -0.08443152904510498, -0.05798273906111717, -0.5088935494422913, 0.4874519407749176, 0.09163256734609604, 0.24823403358459473, 0.2837373614311218, -0.2358032464981079, -0.5104952454566956, 0.11517978459596634, -0.016902457922697067, 0.5943096876144409, -0.5830979943275452, -0.017474660649895668, -0.37381041049957275, -0.2932647168636322, -0.6248232126235962, 0.2779751420021057, 0.44317305088043213, 0.5231925845146179, 0.3974767029285431, -0.21654118597507477, -0.29387521743774414, -1.1383651494979858, -0.4343695342540741, -0.5188853740692139, -0.13017602264881134, 0.3404250144958496, 0.6490525603294373, -0.3879122734069824, 0.6148427128791809, -0.2846624553203583, -0.24986593425273895, -0.3868664801120758, -0.12964947521686554, 0.12867873907089233, 0.053127389401197433, 0.39721250534057617, -0.6785202026367188, -0.2075793594121933, -0.38574638962745667, -0.477279394865036, -0.23993884027004242, -0.019332265481352806, 0.5388572812080383, 0.5301917791366577, 0.12616682052612305, -0.41800209879875183, 0.4690205156803131, 0.8003110289573669, -0.2900172472000122, 0.43264588713645935, 0.024445677176117897, 0.4019186794757843, -0.9644883275032043, 0.04226261004805565, 0.008629814721643925, 0.17975257337093353, -0.5245487093925476, -0.10321971029043198, -0.007006590720266104, 0.22980022430419922, -0.6555152535438538, 0.2851742208003998, -0.277981162071228, -0.15417923033237457, -0.21036846935749054, 0.05236788094043732, 0.05576961860060692, 0.11922083050012589, -0.27118438482284546, 1.047709584236145, 0.18806104362010956, -0.4363543689250946, 0.3318268656730652, 0.2564857006072998, -0.44817253947257996, 0.3868285119533539, -0.7416884899139404, -0.03463627025485039, -0.207673117518425, -0.14051209390163422, -0.9734923839569092, -0.4176173508167267, 0.011628556065261364, -0.5258093476295471, 0.2518087327480316, 0.10016107559204102, -0.604328453540802, -0.3874940872192383, -0.2545575797557831, 0.22956353425979614, 0.5766050219535828, -0.23481154441833496, 0.31203991174697876, 0.2457938939332962, 0.024371102452278137, -0.603720486164093, -0.9878925681114197, 0.15918861329555511, -0.324857234954834, -0.4513535797595978, 0.10444986820220947, 0.012632259167730808, -0.5699491500854492, -0.048951487988233566, 0.0081269396468997, 0.08789392560720444, 0.3851201832294464, 0.525514543056488, 0.16497229039669037, -0.12022006511688232, -0.04806571081280708, -0.3622916042804718, 0.13815923035144806, 0.3549850285053253, 0.19497345387935638, 0.4248643219470978, 0.06992118805646896, -0.6598138213157654, -0.4430939853191376, 0.22925309836864471, 0.6567700505256653, 0.04189213737845421, 1.0482286214828491, 0.13457421958446503, -0.19709724187850952, -0.21848635375499725, -0.6971361637115479, -0.35366857051849365, -0.4686717689037323, 0.4542807638645172, -0.38398948311805725, -0.9668918251991272, 0.537584662437439, 0.24166935682296753, -0.049952711910009384, 0.260555237531662, 0.44000566005706787, -0.2156766802072525, 0.8614628911018372, 0.7188780903816223, -0.09289231896400452, -0.08253896236419678, 0.07445324212312698, 0.2354453057050705, -0.6128495335578918, -0.4967729151248932, -0.6313426494598389, -0.14771229028701782, -0.6840863823890686, -0.17300240695476532, 0.2515864968299866, -0.03827929124236107, -0.010230242274701595, 0.1218327060341835, -0.11423534899950027, 0.38891446590423584, 0.3043158948421478, 0.3176165819168091, 0.5098430514335632, 0.10430369526147842, -0.03214326128363609, -0.336311936378479, -0.7412146925926208, -0.8176717758178711, 1.3191252946853638, 0.5627943873405457, 1.2732049226760864, 0.37097272276878357, 0.11341816931962967, 0.5238838195800781, 0.24566078186035156, -0.754193127155304, 0.3479895293712616, -0.09736800193786621, -0.7529778480529785, -0.30101287364959717, -0.39840757846832275, -0.805156946182251, -0.10318990796804428, -0.34308886528015137, -0.8952916264533997, 0.12181401252746582, 0.3819465637207031, -0.21420156955718994, 0.47321125864982605, -0.5271435379981995, 0.3968287706375122, -0.45872414112091064, -0.470961332321167, -0.08242866396903992, -0.5065571069717407, 0.49584731459617615, -0.5384467244148254, 0.5621396899223328, -0.273171067237854, -0.01573309116065502, 0.45943713188171387, 0.016719171777367592, 1.2071951627731323, -0.09108957648277283, -0.24748188257217407, 0.01630999892950058, 0.2789759337902069, 0.7841930985450745, -0.13950790464878082, -0.39304307103157043, 0.3832755386829376, -0.3653397560119629, -0.44006121158599854, -0.5496947169303894, 0.699404239654541, -0.9991145730018616, -0.8744255900382996, -0.3789239823818207, -0.4244029223918915, -0.460410475730896, 0.056281235069036484, 0.3229893445968628, 0.3601072132587433, -0.330579936504364, 0.22198526561260223, 0.7832555770874023, -0.45042112469673157, 0.20975589752197266, 1.0113310813903809, -0.11816835403442383, -0.03325224295258522, 0.6798129081726074, 0.4509759843349457, 0.5522249341011047, 0.06610758602619171, 0.036444950848817825, -0.367341011762619, -0.9267172813415527, 0.023602547124028206, 0.17447102069854736, -0.7011096477508545, -0.01709127239882946, -0.5172125697135925, -0.27784377336502075, -0.33876121044158936, -0.081715427339077, -0.4690994918346405, -0.0564582534134388, -0.3509373664855957, -0.24256984889507294, 0.05440402030944824, 0.9969881176948547, 0.13024140894412994, 0.25689855217933655, -0.5472967028617859, 0.1934949904680252, 0.30464720726013184, 0.3639254570007324, -0.14239634573459625, -1.0758366584777832, -0.19911913573741913, 0.09080437570810318, -0.30011996626853943, -0.6826456189155579, -0.03750782832503319, 0.04353282228112221, 0.8031359314918518, 0.29825231432914734, 0.27376100420951843, 0.38456571102142334, -0.2878049314022064, 0.7968392372131348, -0.0005239434540271759, -0.7303061485290527, 0.548000693321228, -0.19957222044467926, 0.06003648042678833, 0.6585665345191956, 0.8399704098701477, -0.44784167408943176, -0.5006716847419739, -0.30427297949790955, -0.7546713948249817, 0.6662823557853699, 0.23214232921600342, 0.607244074344635, 0.24448567628860474, 0.39371511340141296, 0.38179492950439453, 0.23290930688381195, -1.0427545309066772, -0.39636874198913574, -0.11620024591684341, 0.0796452984213829, -0.09631507843732834, -0.8627238869667053, -0.1031113937497139, 0.015962883830070496, 0.8073592782020569, 0.015484150499105453, -0.28485772013664246, 0.05666006729006767, -0.1666850596666336, -0.32730308175086975, 0.5252828001976013, 0.5010276436805725, 0.9343430399894714, -0.1380145400762558, 0.13685321807861328, 0.13363000750541687, -0.6349290013313293, 0.3133109509944916, -0.10311120003461838, -0.47246190905570984, -0.27797409892082214, 0.6181692481040955, 0.7393670082092285, 0.19423604011535645, -0.6422061324119568, 0.7153167128562927, -0.087698794901371, -0.025487177073955536, -0.18753401935100555, 0.37859654426574707, -0.13842718303203583, 0.09216326475143433, 0.42707666754722595, -0.020957017317414284, 0.14706893265247345, -0.7028459906578064, 0.043293580412864685, 0.44648948311805725, -0.38444259762763977, -0.4480489194393158, 0.7650148868560791, 0.198505237698555, -0.31487616896629333, 0.5239608883857727, 0.10680827498435974, -0.2974564731121063, 0.10459185391664505, 0.639670193195343, 0.5188438296318054, -0.30124402046203613, 0.2740330398082733, 0.13323630392551422, 0.7717602849006653, -0.00025143721722997725, 0.2592870891094208, 0.5084825158119202, -0.9972050786018372, -0.2691694498062134, -0.6143361926078796, -0.3460507094860077, 0.5460477471351624, -0.7568572163581848, 0.1356828659772873, -0.33098259568214417, -0.3704913854598999, -0.31584566831588745, -0.06873376667499542, -0.6948692202568054, 0.2048627734184265, 0.1623586267232895, 0.6762127876281738, -1.1028509140014648, 0.6578190922737122, 0.7822009921073914, -0.36600461602211, -0.71537846326828, 0.2770545780658722, 0.31509101390838623, -1.0131943225860596, 0.4240598678588867, 0.11037071794271469, -0.15783844888210297, -0.10803065448999405, -0.5437812209129333, -0.8870798945426941, 0.8627400398254395, 0.6765320897102356, -0.6987099051475525, 0.1353221982717514, 0.7183411121368408, 0.47161316871643066, -0.06723801046609879, 0.11781705170869827, 0.7582444548606873, 0.21232183277606964, 0.07877025008201599, -1.1425044536590576, 0.13623735308647156, 0.11953582614660263, 0.0870976373553276, -0.12640348076820374, -0.9378742575645447, 0.5511286854743958, -0.43640151619911194, -0.28782227635383606, -0.3029734790325165, 0.3376818597316742, 0.30373886227607727, 0.1748947650194168, 0.31808146834373474, 0.48556408286094666, 0.7569441199302673, -0.037874992936849594, 0.8746622204780579, -0.05240073800086975, 0.10563626885414124, 0.9720768928527832, -0.4700995981693268, 0.8120213150978088, 0.4722253978252411, -0.33985671401023865, 0.4850306510925293, 0.41932299733161926, 0.01838395930826664, 0.3426901400089264, 0.22184856235980988, -0.13514487445354462, -0.06899289041757584, -0.24267880618572235, -0.08838102221488953, 0.7539651989936829, 0.4321169853210449, -0.32041653990745544, 0.02578125335276127, 0.15540261566638947, 0.19121389091014862, 0.4697824716567993, -0.34405624866485596, 0.5412852168083191, 0.010032485239207745, -0.30576080083847046, 0.6924862265586853, -0.01741543598473072, 0.8622937202453613, -0.43620768189430237, 0.02601291798055172, -0.44571825861930847, -0.1983097642660141, -0.6074220538139343, -1.008261799812317, 0.256481409072876, 0.216788649559021, -0.4628068506717682, -0.09991876035928726, 0.7332428097724915, 0.04631531611084938, -0.5424854159355164, 0.6068452000617981, 0.6722963452339172, 0.33970049023628235, -0.14318697154521942, -0.6529343128204346, 0.5141938328742981, 0.05841000750660896, -0.658855676651001, 0.3174498975276947, 0.2873063385486603, -0.06007974222302437, 0.9292483329772949, 0.5950354933738708, 0.29973074793815613, -0.120609350502491, -0.09844070672988892, 0.9606349468231201, -0.482106477022171, -0.033087559044361115, -0.9018898606300354, 0.5904584527015686, 0.071620412170887, -0.19974084198474884, 0.9466766715049744, 0.5589767098426819, 1.0967921018600464, 0.28485167026519775, 0.8573763966560364, 0.16945479810237885, 0.6664093136787415, -0.5648134350776672, 0.7394208908081055, -0.6873378753662109, 0.8927537798881531, -0.22172866761684418, -0.94330233335495, 0.042525798082351685, 0.06974168866872787, -0.3638218641281128, 0.12499331682920456, 0.4086211621761322, 0.8215461373329163, -0.07667755335569382, -0.3708510398864746, 0.7301583886146545, 0.6459055542945862, 0.24653947353363037, 0.5097035765647888, 0.9352502226829529, -0.2605263888835907, 0.4341411888599396, -0.10175914317369461, -0.02830921672284603, -0.31784361600875854, -0.5876216888427734, -1.0089484453201294, -0.2842003405094147, -0.1509583592414856, -0.5056901574134827, 0.15749867260456085, 0.6595891118049622, 0.34339120984077454, -0.9731705188751221, -0.040357667952775955, 0.39292943477630615, 0.1048797145485878, 0.5842263698577881, -0.25782790780067444, 0.21444785594940186, -0.009710440412163734, -0.4894334077835083, 0.3285720944404602, 0.08759162575006485, 0.3595161736011505, -0.6460135579109192, -0.016445720568299294, 0.38614335656166077, 0.27554070949554443, 0.5760928988456726, 0.22379900515079498, -0.9928767681121826, -0.4118809401988983, 0.07384321838617325, -0.4632231295108795, -0.0003798343241214752, 0.4851408898830414, -0.6820430159568787, 0.1413186639547348, -0.032948363572359085, 0.37800517678260803, -0.15003670752048492, 0.2984691560268402, 0.3611622750759125, -0.6369174718856812, 0.0048590488731861115, 0.2730673849582672, 0.06785399466753006, 0.4831606447696686, -0.6087947487831116, 0.27907875180244446, 0.3011246621608734, -0.6101900935173035, -1.0145132541656494, 0.08885029703378677, -0.40307068824768066, -0.4266939163208008, 1.28132164478302, -0.01564008742570877, 0.1051793098449707, -0.20261235535144806, 0.011038645170629025, -0.1827414184808731, -0.437384694814682, 1.0375149250030518, 0.8387141823768616, -0.2677648961544037, -0.057000160217285156, -0.8509629368782043, 0.44250214099884033, 0.12976965308189392, -0.5790479779243469, 0.1908792108297348, 0.6754531860351562, 0.4640706479549408, -0.11246208101511002, 0.45784154534339905, -0.06891333311796188, -0.01568957231938839, -0.10951453447341919, 0.07740315049886703, -0.23047520220279694, -0.40865251421928406, -0.4176828861236572, 0.34057751297950745, 0.5822634100914001, 0.2840636372566223 ]
http://arxiv.org/abs/2406.17716v2
http://arxiv.org/pdf/2406.17716v2
ViANLI: Adversarial Natural Language Inference for Vietnamese
2024-06-25T16:58:19
2024-07-01T15:19:51
Tin Van Huynh, Kiet Van Nguyen, Ngan Luu-Thuy Nguyen
cs.CL
cs.CL
The development of Natural Language Processing (NLI) datasets and models has been inspired by innovations in annotation design. With the rapid development of machine learning models today, the performance of existing machine learning models has quickly reached state-of-the-art results on a variety of tasks related to natural language processing, including natural language inference tasks. By using a pre-trained model during the annotation process, it is possible to challenge current NLI models by having humans produce premise-hypothesis combinations that the machine model cannot correctly predict. To remain attractive and challenging in the research of natural language inference for Vietnamese, in this paper, we introduce the adversarial NLI dataset to the NLP research community with the name ViANLI. This data set contains more than 10K premise-hypothesis pairs and is built by a continuously adjusting process to obtain the most out of the patterns generated by the annotators. ViANLI dataset has brought many difficulties to many current SOTA models when the accuracy of the most powerful model on the test set only reached 48.4%. Additionally, the experimental results show that the models trained on our dataset have significantly improved the results on other Vietnamese NLI datasets.
[ -0.14464206993579865, -0.9204278588294983, 0.5220391750335693, 0.15610767900943756, -0.14208291471004486, -0.16738982498645782, -0.07719091325998306, -0.31134432554244995, 0.12596216797828674, 0.8809433579444885, -0.49522078037261963, -0.5128691792488098, -0.5647732615470886, 0.32574284076690674, -0.17271815240383148, 1.0770461559295654, 0.1672086864709854, 0.12785851955413818, 0.5275633931159973, -0.19646653532981873, -0.324653297662735, -0.7723758220672607, -0.770244836807251, -0.16340374946594238, 0.5642145276069641, 0.017580263316631317, 0.9342727065086365, 0.5171052813529968, 0.25115859508514404, 0.2674925625324249, -0.0669844001531601, 0.23312632739543915, -0.45555540919303894, -0.05843318998813629, 0.17582683265209198, -0.7887582182884216, -0.29435110092163086, 0.05925165116786957, 0.5341560244560242, 0.5309180021286011, 0.13233420252799988, -0.08001726865768433, -0.3278385102748871, 0.45892682671546936, -0.6528019309043884, -0.32445406913757324, -0.8230017423629761, 0.07540712505578995, -0.2680819630622864, -0.10686028748750687, -0.3587450385093689, -0.4996491074562073, 0.432152658700943, -0.7710795998573303, 0.14909934997558594, -0.16004018485546112, 0.9971855282783508, 0.4122493863105774, -0.3528725206851959, -0.2847174108028412, -0.592924952507019, 0.7955631017684937, -0.9741480350494385, 0.010895037092268467, 0.36240333318710327, 0.2896261513233185, -0.2957066595554352, -0.4536736309528351, -0.6647475361824036, -0.26552098989486694, -0.1374756544828415, 0.1490066647529602, -0.19436036050319672, 0.025874245911836624, 0.25730887055397034, -0.05746783688664436, -0.919983983039856, 0.19741925597190857, -0.2220427542924881, 0.09295781701803207, 0.7842916250228882, -0.2746330797672272, 0.37078234553337097, -0.4015110731124878, -0.5369556546211243, 0.0631493330001831, -0.7950177788734436, -0.4530788064002991, 0.5010130405426025, 0.3828469514846802, 0.29827743768692017, 0.5494219064712524, -0.08465258777141571, 0.7570298314094543, -0.5679324865341187, 0.03137069568037987, 0.33582255244255066, -0.4286649525165558, -0.5631293058395386, 0.3157692849636078, 0.9075410962104797, 0.2854683995246887, 0.4851584732532501, -0.1999535709619522, -0.19409491121768951, 0.45634207129478455, 0.30276617407798767, -0.187885582447052, -0.2923800051212311, 0.24040770530700684, -0.12981219589710236, -0.5654178261756897, 0.2764793932437897, -0.554238498210907, -0.44306498765945435, -0.33708667755126953, 0.573052704334259, -0.4371928870677948, -0.38940057158470154, 0.07768909633159637, -0.23798184096813202, 0.07177817076444626, 0.2616954743862152, -0.30150312185287476, -0.011730672791600227, 0.7501313090324402, 0.767565131187439, -0.010841823183000088, -0.5037645697593689, -0.5997294187545776, 0.12063419073820114, -0.32389163970947266, 0.6901127696037292, -0.4280059337615967, -0.3803359866142273, 0.011046606115996838, -0.13769690692424774, -0.25793468952178955, -0.5514946579933167, 0.7659265995025635, -0.5689678192138672, 0.28674039244651794, -0.10455761849880219, -0.5617693066596985, -0.19678641855716705, 0.16110315918922424, -0.7643426656723022, 0.9045783281326294, -0.2690812051296234, -1.0796327590942383, 0.302866667509079, -0.7175451517105103, -0.30359041690826416, 0.06204831600189209, 0.11964046210050583, -0.49574199318885803, 0.17890948057174683, 0.19091223180294037, 0.3238352835178375, -0.17660467326641083, 0.6103792786598206, -0.3399195075035095, -0.3870093822479248, 0.38439708948135376, -0.5866108536720276, 1.266557216644287, 0.2342187464237213, -0.3513718545436859, 0.37447109818458557, -0.9655580520629883, -0.21061934530735016, 0.18534183502197266, -0.025612590834498405, -0.657324492931366, -0.3866068720817566, 0.24253816902637482, 0.2323564887046814, -0.17730067670345306, -0.46205660700798035, 0.08359555900096893, -0.5658972859382629, 0.42049992084503174, 0.6726188063621521, 0.048247624188661575, 0.22174333035945892, -0.1619510054588318, 0.3567134737968445, -0.2567874491214752, 0.04262017086148262, -0.009375794790685177, -0.7478333115577698, -0.6531479358673096, -0.26315608620643616, 0.3395691514015198, 0.8926219344139099, -1.0730421543121338, 0.5086194276809692, -0.17800843715667725, -0.4612933099269867, -0.8854345083236694, 0.01785987988114357, 0.46704310178756714, 0.4798716604709625, 0.26560720801353455, 0.26146256923675537, -1.0078933238983154, -0.8475385904312134, -0.24899137020111084, -0.2730408310890198, -0.609338104724884, 0.09567739069461823, 0.6129395961761475, -0.47176411747932434, 0.7398862838745117, -0.49044060707092285, -0.23313847184181213, -0.4384920299053192, 0.48410195112228394, 0.3617786467075348, 0.19197635352611542, 0.3367801904678345, -1.1857526302337646, -0.21428772807121277, -0.28772252798080444, -0.8872055411338806, -0.24770581722259521, -0.3034333288669586, -0.3233489990234375, 0.3472149670124054, 0.3660776913166046, -0.42724066972732544, 0.6483060717582703, 0.5288747549057007, -0.3316017985343933, 0.6346577405929565, -0.31261947751045227, -0.06879928708076477, -1.0770727396011353, 0.15255089104175568, 0.1206972673535347, -0.10364896059036255, -0.9613505601882935, 0.14453265070915222, -0.3295670449733734, -0.07172556221485138, -0.44046667218208313, 0.2735083997249603, -0.01146608404815197, 0.4060835838317871, -0.2719157934188843, 0.12580928206443787, -0.07834190130233765, 0.20917272567749023, 0.3663448989391327, 0.7698690295219421, 0.5340372920036316, -0.5980390310287476, 0.5086683034896851, 0.1934395283460617, 0.07854704558849335, 0.24530772864818573, -0.8414109945297241, 0.08719649165868759, -0.021176926791667938, 0.2721339464187622, -0.9000215530395508, -0.030768465250730515, 0.2679292559623718, -0.3062483072280884, 0.022290673106908798, -0.031331777572631836, -0.38911792635917664, -0.19563235342502594, -0.4461536407470703, -0.023880645632743835, 0.14754299819469452, -0.615696370601654, 0.6083000898361206, 0.42482292652130127, 0.21863432228565216, -0.6420483589172363, -0.9166176915168762, 0.5222644209861755, -0.6773909330368042, -0.42195528745651245, 0.2323153018951416, 0.17505809664726257, -0.3471546769142151, -0.16550853848457336, 0.3267478942871094, -0.22076332569122314, 0.1944207400083542, 0.2032245397567749, 0.46442657709121704, -0.5880943536758423, 0.020608017221093178, -0.47978726029396057, -0.4876800775527954, 0.16942322254180908, -0.5598487854003906, 0.08486388623714447, -0.11122970283031464, 0.022763779386878014, -0.5937172174453735, 0.15281352400779724, 0.26792991161346436, -0.07558329403400421, 0.8753601908683777, 0.5647376775741577, -0.42076003551483154, 0.03261028602719307, -0.6477639675140381, 0.07484355568885803, -0.3591190278530121, 0.3612363338470459, -0.5453208088874817, -0.5310929417610168, 0.10689020901918411, -0.020092912018299103, 0.009530811570584774, 0.42838558554649353, 0.06438326090574265, 0.1435389518737793, 0.8432650566101074, 0.5803905129432678, -0.4286782741546631, 0.05659930035471916, -0.3385829031467438, 0.0031590538565069437, -0.5551918148994446, 0.3737212121486664, -0.5203149318695068, 0.04092276841402054, -0.9873245358467102, -0.4278699457645416, 0.06799149513244629, -0.18008708953857422, -0.12290101498365402, 0.5031843185424805, -0.26923033595085144, 0.18517853319644928, 0.8494301438331604, 0.06912178546190262, 0.3949817717075348, -0.1373855024576187, 0.10465438663959503, -0.22964493930339813, -0.6785554885864258, -0.8847848176956177, 1.3833906650543213, 0.1371871829032898, 0.3941762149333954, 0.20415838062763214, 0.5325961709022522, 0.23252739012241364, 0.35402828454971313, -0.29601529240608215, 0.3860125243663788, -0.3965958058834076, -0.508215069770813, -0.3870095908641815, -0.6120566725730896, -0.7440018653869629, 0.08768274635076523, -0.2866789698600769, -0.7070290446281433, -0.09410607069730759, -0.04286883771419525, -0.40116557478904724, 0.41396036744117737, -0.8611025810241699, 1.0055503845214844, -0.26004984974861145, -0.07303278893232346, 0.17330437898635864, -0.9860466122627258, 0.44303202629089355, -0.17893056571483612, 0.002031284151598811, 0.0963740348815918, 0.10738162696361542, 0.5609238743782043, -0.244333878159523, 0.7739803791046143, -0.20334862172603607, -0.13157911598682404, 0.39818429946899414, -0.3311235308647156, 0.31463560461997986, 0.41237640380859375, -0.4946516156196594, 0.19285744428634644, -0.32628363370895386, -0.4434928596019745, -0.8361408710479736, 0.5329160094261169, -0.7782795429229736, -0.6147008538246155, -0.3883622884750366, -0.1957504004240036, 0.049588028341531754, 0.1039055809378624, 0.49663984775543213, 0.21163144707679749, -0.37502148747444153, -0.15107104182243347, 0.7318165898323059, -0.3674127459526062, 0.10064054280519485, 0.2521354556083679, -0.22668001055717468, -0.44231975078582764, 1.2312209606170654, 0.08846966177225113, 0.1222597286105156, 0.6515403985977173, 0.29001298546791077, -0.5298129916191101, -0.5745429992675781, -0.507282555103302, 0.27442777156829834, -0.3858398199081421, 0.08456289023160934, -0.6560811996459961, -0.4365830719470978, -0.24548615515232086, -0.14671754837036133, -0.2500121295452118, -0.4165204167366028, -0.28574246168136597, -0.19931729137897491, 0.11399386823177338, 0.9227211475372314, 0.29310089349746704, 0.36994120478630066, -0.4366118311882019, 0.4955943524837494, 0.39583101868629456, -0.1155553087592125, -0.3914107084274292, -0.5414389967918396, 0.35347408056259155, 0.015268752351403236, 0.033203430473804474, -0.8952233791351318, 0.4991379380226135, 0.1886383295059204, 0.24294094741344452, 0.5272022485733032, 0.3480280041694641, 0.6690623164176941, -0.3352603614330292, 0.4424883723258972, -0.18185169994831085, -0.62017822265625, 0.809633731842041, -0.14895907044410706, 0.3281131982803345, 0.4617327153682709, 0.4307700991630554, -0.2178257703781128, -0.6888354420661926, -0.8438010215759277, -0.6896166205406189, 0.5318220853805542, 0.5920674800872803, -0.13689559698104858, 0.3448409140110016, 0.40702563524246216, 0.19414032995700836, 0.254024863243103, -0.6575968265533447, -0.4226372241973877, -0.4098694622516632, -0.21272549033164978, -0.40843769907951355, -0.3699463903903961, 0.09056464582681656, 0.013962361961603165, 0.9076595902442932, -0.1283191442489624, -0.15623436868190765, 0.32835638523101807, -0.17001166939735413, 0.26230478286743164, 0.15465497970581055, 0.5902167558670044, 0.6658119559288025, -0.32763710618019104, 0.3180364966392517, 0.4694307744503021, -0.35502079129219055, 0.048177335411310196, 0.6088045239448547, -0.5823398232460022, 0.31242406368255615, 0.4954455494880676, 1.0208168029785156, -0.030236883088946342, -0.7144181728363037, 0.3288174569606781, -0.5252606272697449, 0.05733441561460495, -0.5016993284225464, 0.06342490762472153, -0.14420907199382782, 0.059849031269550323, 0.4995678663253784, 0.17347592115402222, 0.24694839119911194, -0.1786491870880127, 0.395964652299881, 0.2886781692504883, -0.5941540002822876, -0.4028843343257904, 0.7045401930809021, -0.020733093842864037, -0.3853336274623871, 0.5858951807022095, -0.22919932007789612, -0.7452359199523926, 0.5354076027870178, 0.39607688784599304, 0.8061509132385254, -0.22148631513118744, 0.46300235390663147, 0.36077943444252014, 0.44025126099586487, 0.09481173008680344, 0.10135984420776367, 0.21275106072425842, -0.7020076513290405, -0.4184427559375763, -0.5044282674789429, -0.2283943146467209, 0.5893563032150269, -0.44029033184051514, 0.35280394554138184, -0.35115623474121094, -0.19831803441047668, 0.13610315322875977, 0.11293786764144897, -0.27045390009880066, 0.4868946075439453, 0.3336026966571808, 0.7640227675437927, -0.9831258654594421, 0.9907069206237793, 0.9091352820396423, -0.13176801800727844, -0.3895742893218994, 0.23571452498435974, 0.26239216327667236, -0.488958477973938, 0.6321703791618347, 0.518274188041687, -0.18990911543369293, -0.027804246172308922, -0.37803155183792114, -0.5295432806015015, 0.4694942235946655, 0.4204900562763214, -0.11610428243875504, 0.0736098662018776, 0.1815868318080902, 0.6570476293563843, -0.3021654784679413, 0.3341967761516571, 0.7723420262336731, 0.4530424177646637, 0.08397193253040314, -0.445043683052063, 0.13844792544841766, -0.3530725836753845, 0.35866472125053406, -0.1327284723520279, -0.24966396391391754, 0.43883216381073, -0.23617111146450043, -0.14722268283367157, 0.129961758852005, 0.9729837775230408, 0.5737924575805664, 0.37777402997016907, 0.7280609011650085, 0.5314759612083435, 0.6882753372192383, -0.02837381511926651, 0.9064897894859314, 0.2514444887638092, -0.051556821912527084, 1.2366989850997925, -0.27275314927101135, 0.7814334034919739, 0.3141036629676819, -0.12626805901527405, 0.1666376143693924, 0.4037008583545685, -0.14839525520801544, 0.19425858557224274, 0.2149415910243988, -0.268117755651474, 0.01682649366557598, -0.44882121682167053, -0.1495140641927719, 0.5645602941513062, 0.3487277328968048, -0.06258637458086014, 0.06522420793771744, -0.02851516380906105, 0.18628521263599396, 0.353683739900589, 0.20019660890102386, 0.7398187518119812, -0.12592412531375885, -0.5762810111045837, 0.6115131974220276, -0.11059828102588654, 0.8045916557312012, -0.7676606774330139, -0.08619421720504761, -0.02919749915599823, 0.17065078020095825, -0.0014901967952027917, -0.498202383518219, 0.49828004837036133, 0.16971760988235474, 0.12570713460445404, -0.05750267580151558, 0.45458486676216125, -0.4197331368923187, -0.7392090559005737, 0.43357568979263306, 0.1251232624053955, 0.013373932801187038, -0.3799861967563629, -0.8088629841804504, -0.07910127192735672, 0.09438272565603256, -0.3392358422279358, -0.012772670947015285, 0.6226231455802917, 0.05927719920873642, 0.6089915633201599, 0.6339625120162964, 0.3899572789669037, 0.06208319962024689, 0.18666934967041016, 0.7747454643249512, -0.5900324583053589, -0.44501793384552, -1.0036653280258179, 0.3671037554740906, -0.26172709465026855, -0.5988006591796875, 0.9357256293296814, 0.5301067233085632, 0.8123986721038818, 0.002392832888290286, 0.9742439389228821, 0.35670584440231323, 0.5474527478218079, -0.6567417979240417, 0.8799023628234863, -0.4536702036857605, 0.1288965344429016, -0.41245388984680176, -0.5732736587524414, -0.6983808875083923, 0.39469948410987854, -0.29655349254608154, -0.23857736587524414, 0.5124849081039429, 0.7500826716423035, 0.20527029037475586, 0.37497150897979736, 0.3245590627193451, 0.5163789987564087, 0.3420870304107666, 0.5344327092170715, 0.8025811910629272, -0.6376059651374817, 0.5730413198471069, -0.44742438197135925, -0.25913360714912415, -0.05602944642305374, -0.7437241077423096, -1.0226762294769287, -0.37205472588539124, -0.31320643424987793, -0.2154938131570816, 0.4717436730861664, 0.7010390758514404, 0.5639386177062988, -1.364715337753296, -0.19803939759731293, -0.41085219383239746, 0.2891218364238739, -0.14442935585975647, -0.21726205945014954, 0.6624660491943359, -0.26482048630714417, -0.7202890515327454, 0.5859970450401306, 0.11081439256668091, 0.12207666784524918, -0.17276276648044586, 0.058250121772289276, -0.8323765993118286, -0.2352728694677353, 0.2782844305038452, 0.18768619000911713, -0.8745323419570923, 0.006189227569848299, -0.10311617702245712, -0.03006073646247387, -0.06111035868525505, 0.6510034203529358, -0.792863130569458, 0.6346721053123474, 0.14670541882514954, 0.8763166069984436, 0.06865467131137848, 0.05173320323228836, 0.9882274270057678, -0.7185146808624268, 0.43453794717788696, 0.12672463059425354, 0.18894465267658234, 0.47484344244003296, -0.3671172559261322, 0.7123833894729614, 0.36288148164749146, -0.2382720410823822, -0.8803697824478149, 0.09989690780639648, -0.25590693950653076, -0.36177927255630493, 0.8250179290771484, -0.28545713424682617, -0.42902320623397827, -0.49648892879486084, -0.37908434867858887, 0.5127325654029846, -0.32192692160606384, 0.8561177849769592, 0.3654887080192566, 0.30433306097984314, 0.1022205725312233, -0.8145204782485962, 0.5824949145317078, 0.5549892783164978, -0.6020076870918274, -0.04921916127204895, 0.07315615564584732, -0.28075599670410156, 0.3100129961967468, 0.3167637288570404, 0.43186894059181213, 0.04018673300743103, 0.025238843634724617, -0.249198317527771, 0.1842065155506134, -0.444333016872406, -0.4568991959095001, 0.2753123641014099, -0.10914913564920425, -0.16532878577709198 ]
http://arxiv.org/abs/2406.17706v1
http://arxiv.org/pdf/2406.17706v1
FedBiOT: LLM Local Fine-tuning in Federated Learning without Full Model
2024-06-25T16:45:47
2024-06-25T16:45:47
Feijie Wu, Zitao Li, Yaliang Li, Bolin Ding, Jing Gao
cs.LG
cs.LG, cs.CL, cs.DC
Large language models (LLMs) show amazing performance on many domain-specific tasks after fine-tuning with some appropriate data. However, many domain-specific data are privately distributed across multiple owners. Thus, this dilemma raises the interest in how to perform LLM fine-tuning in federated learning (FL). However, confronted with limited computation and communication capacities, FL clients struggle to fine-tune an LLM effectively. To this end, we introduce FedBiOT, a resource-efficient LLM fine-tuning approach to FL. Specifically, our method involves the server generating a compressed LLM and aligning its performance with the full model. Subsequently, the clients fine-tune a lightweight yet important part of the compressed model, referred to as an adapter. Notice that as the server has no access to the private data owned by the clients, the data used for alignment by the server has a different distribution from the one used for fine-tuning by clients. We formulate the problem into a bi-level optimization problem to minimize the negative effect of data discrepancy and derive the updating rules for the server and clients. We conduct extensive experiments on LLaMA-2, empirically showing that the adapter has exceptional performance when reintegrated into the global LLM. The results also indicate that the proposed FedBiOT significantly reduces resource consumption compared to existing benchmarks, all while achieving comparable performance levels.
[ -0.3717488944530487, -0.5598084330558777, 0.3797561228275299, 0.23767706751823425, -0.28519099950790405, 0.19948627054691315, -0.39675819873809814, -0.47194331884384155, 0.0231384988874197, 0.44835010170936584, -0.7531715035438538, -0.3494635820388794, -0.26712992787361145, 0.23037679493427277, 0.0619627982378006, 1.1772135496139526, -0.14528988301753998, -0.08555589616298676, -0.4991737902164459, -0.2866854965686798, -0.32673531770706177, 0.0899534597992897, -0.7151767015457153, -0.4410942792892456, 0.317778080701828, 0.6561569571495056, 0.6094078421592712, 0.8768988251686096, 0.861518383026123, 0.3019804358482361, -0.008223125711083412, 0.425032377243042, -1.0145760774612427, 0.13214413821697235, -0.35571974515914917, -0.5963825583457947, -0.6438553929328918, -0.12296747416257858, 0.8894885182380676, 0.659942090511322, -0.18216672539710999, 0.33105164766311646, -0.07145119458436966, 0.795190691947937, -0.5069828033447266, 0.45579802989959717, -0.6044692993164062, 0.14230237901210785, -0.1900482177734375, -0.15120001137256622, -0.3066543638706207, -0.3093176484107971, -0.09137687087059021, -0.6696261167526245, 0.44894126057624817, 0.241201251745224, 0.8103303909301758, 0.4851294457912445, -0.23351135849952698, 0.26814982295036316, -0.7327122688293457, 0.5876930356025696, -0.5019445419311523, 0.40817776322364807, 0.10390649735927582, 0.20932811498641968, -0.4263007938861847, -0.518190324306488, -0.3817089796066284, 0.2511582374572754, -0.1439487785100937, 0.06748811900615692, -0.4951021671295166, 0.195449098944664, 0.07331090420484543, 0.7273277640342712, -0.47217363119125366, 0.3491004407405853, 0.0218362994492054, -0.1814965307712555, 0.5945414900779724, 0.0374772734940052, -0.12017828226089478, 0.4396684765815735, -0.4809602200984955, -0.0081297243013978, -0.8263461589813232, -0.021034451201558113, 0.36217987537384033, 0.5378074645996094, -0.0856710895895958, 0.2765912711620331, -0.4268558621406555, 0.5980198979377747, 0.3127758800983429, -0.3723025321960449, 0.16465666890144348, -0.23509599268436432, -0.40319347381591797, -0.12236597388982773, 0.5594475269317627, 0.16469751298427582, 0.05374661087989807, -0.42188555002212524, -0.6892095804214478, -0.19773225486278534, -0.049657996743917465, -1.0382235050201416, -0.3154488503932953, 0.009526755660772324, -0.20990020036697388, -0.3145495653152466, -0.09764118492603302, -0.6578830480575562, -0.36439022421836853, -0.2435542345046997, 0.3826402425765991, -0.08111337572336197, -0.23418429493904114, -0.09847456961870193, 0.29588720202445984, 0.07746647298336029, 0.3808278739452362, -1.031599521636963, 0.5365443229675293, 0.9243507981300354, 1.0222667455673218, -0.09397371113300323, -0.18652057647705078, -0.9551123380661011, 0.041741419583559036, -0.10664724558591843, 0.8763276934623718, -0.2985615134239197, -0.19001668691635132, -0.11827124655246735, 0.23803740739822388, -0.09937624633312225, -0.6003174185752869, 0.2607840299606323, -0.5763606429100037, -0.08007140457630157, -0.2783229351043701, -0.7122284770011902, -0.08063093572854996, 0.08786902576684952, -0.45678839087486267, 0.3993075489997864, 0.354375422000885, -0.5848295092582703, 0.1710781753063202, -0.7568289041519165, -0.5397762656211853, 0.1799805611371994, 0.0428476445376873, -0.6043034195899963, 0.16608662903308868, 0.2607382535934448, 0.53326815366745, -0.36020880937576294, 0.27193230390548706, -0.41255834698677063, -0.5299950242042542, -0.15036870539188385, -0.21006351709365845, 0.6313735842704773, 0.24995042383670807, -0.17423224449157715, 0.054639630019664764, -0.7921878099441528, -0.1837291121482849, 0.20574545860290527, -0.49402520060539246, -0.12987679243087769, -0.07207033038139343, -0.1412946581840515, -0.3060471713542938, 0.4037728011608124, -0.7037227749824524, 0.41682618856430054, -0.5337294936180115, 0.40139931440353394, 0.8890166878700256, -0.07014813274145126, 0.7249442338943481, -0.5760893821716309, 0.43352705240249634, -0.10951714962720871, 0.26209524273872375, 0.09485992789268494, -0.2390269935131073, -0.6979566216468811, -0.5830033421516418, 0.17500966787338257, 0.2810415029525757, -0.4680134654045105, 0.13683940470218658, -0.4989992678165436, -0.4499998390674591, -0.8391274213790894, 0.44186297059059143, 0.24270868301391602, 0.6383968591690063, 0.33841395378112793, -0.1879735141992569, -0.22907282412052155, -0.9345209002494812, 0.005735648795962334, 0.0746089443564415, 0.011364303529262543, 0.4269748032093048, 0.22706839442253113, -0.49055346846580505, 0.7474207878112793, -0.6079257130622864, -0.5443623065948486, 0.027471713721752167, -0.09236719459295273, 0.24885454773902893, 0.43160706758499146, 0.5515731573104858, -0.526347815990448, -0.4576250910758972, 0.47781819105148315, -0.44057366251945496, -0.3598153591156006, -0.08046019077301025, -0.0811358243227005, 0.3549497425556183, -0.002205014694482088, -0.45269814133644104, -0.002746084937825799, 0.7130858898162842, -0.25295332074165344, 0.4077540934085846, -0.3420400321483612, -0.1393478959798813, -0.8911949992179871, 0.023032112047076225, -0.30349403619766235, -0.572750985622406, -0.4533831477165222, 0.38087740540504456, 0.09032630920410156, -0.22305667400360107, -0.027666602283716202, 0.43858635425567627, -0.5064892768859863, -0.15805895626544952, -0.42216530442237854, 0.07298359274864197, -0.0019088180270045996, 0.42237338423728943, -0.22302477061748505, 1.0613075494766235, 0.48773854970932007, -0.2517361044883728, 0.4120509624481201, 0.29677316546440125, -0.15024815499782562, 0.5999733209609985, -0.3518247604370117, 0.031821105629205704, -0.0594717375934124, 0.209819957613945, -0.806077778339386, -0.3576284646987915, 0.12333433330059052, 0.0711190477013588, 0.4306027293205261, -0.1125621497631073, -0.5323963761329651, -0.09742546826601028, -0.08772268891334534, 0.31773507595062256, 0.37565165758132935, -0.9332452416419983, 0.3662095069885254, 0.20879893004894257, 0.0037500804755836725, -0.4947202503681183, -0.5254300832748413, -0.31142479181289673, 0.014662875793874264, -0.8466137647628784, 0.23684486746788025, -0.20598778128623962, -0.11943679302930832, -0.024339035153388977, -0.40592464804649353, -0.050905872136354446, 0.2840600907802582, 0.22138017416000366, 0.03594157472252846, -0.6042996048927307, 0.023045269772410393, 0.2365412563085556, -0.007653845474123955, -0.16452012956142426, -0.3491995632648468, 0.3402780592441559, -0.6440401077270508, -0.266596257686615, -0.4837220013141632, 0.08528981357812881, 0.3536103665828705, -0.27111688256263733, 0.7550734281539917, 0.7026881575584412, -0.08058904111385345, -0.3880249857902527, -0.639494776725769, -0.20898336172103882, -0.5142077207565308, 0.049234539270401, -0.1301306039094925, -1.235844373703003, 0.648402214050293, -0.3570581376552582, 0.1474389135837555, 0.00041037818300537765, 0.28944432735443115, -0.06097934767603874, 0.6211815476417542, 0.9315248131752014, -0.20290642976760864, 0.6259917616844177, -0.28181660175323486, 0.21304257214069366, -0.6673071384429932, 0.005525998305529356, -0.19058284163475037, -0.6268205642700195, -0.6583683490753174, -0.3204972445964813, 0.1942233294248581, -0.021821463480591774, -0.3506220579147339, 0.3560912311077118, -0.35790663957595825, 0.9029690027236938, 0.46322372555732727, 0.06915251910686493, 0.4834977388381958, -0.03562851995229721, -0.027205554768443108, 0.2588323652744293, -0.7257377505302429, 0.10052750259637833, 0.7358490824699402, 0.1501433104276657, 0.6844820976257324, 0.281676322221756, 0.885234534740448, 0.06625491380691528, 0.4781346619129181, -0.593360960483551, 0.35879644751548767, -0.14183995127677917, -0.29077616333961487, -0.0940837413072586, -0.8482158184051514, -0.7172951698303223, 0.28088244795799255, -0.3152812719345093, -0.6565020084381104, 0.35950174927711487, 0.19302985072135925, -0.31137534976005554, 0.5229146480560303, -0.7148803472518921, 0.8133274912834167, 0.058435916900634766, -0.5993364453315735, -0.08155626058578491, -0.5517208576202393, 0.42812538146972656, -0.4070252776145935, 0.0656791552901268, -0.314752459526062, 0.0619695819914341, 0.4228651225566864, -0.4830714464187622, 0.7887893915176392, -0.27774670720100403, 0.0650915801525116, -0.09184832125902176, 0.28328919410705566, 0.7993632555007935, 0.4016921818256378, -0.08419674634933472, 0.290968120098114, -0.024844268336892128, -0.5916608572006226, -0.47028592228889465, 0.9357246160507202, -0.9383035898208618, -0.8111376166343689, -0.14512725174427032, -0.7870639562606812, -0.2699756324291229, 0.44330132007598877, -0.03503063693642616, 0.19427210092544556, -0.11373128741979599, 0.27230337262153625, 0.5972900390625, 0.014027628116309643, 0.286785364151001, 0.9579846262931824, -0.09417837113142014, -0.302095502614975, 0.9124012589454651, -0.10593892633914948, 0.4197371304035187, 0.6582331657409668, 0.32514846324920654, 0.006130294408649206, -0.5884369611740112, -0.16808785498142242, 0.586209237575531, -0.4144097864627838, -0.8519197702407837, -0.15876933932304382, -0.10968923568725586, -0.2979365289211273, -0.3798937201499939, -0.617813766002655, -0.23482196033000946, -0.5195081830024719, -0.13044556975364685, 0.5027052760124207, 0.4550936818122864, -0.40350544452667236, 0.8375924229621887, -0.5220264196395874, -0.06986722350120544, -0.004532039165496826, 0.7393671274185181, -0.09999658912420273, -0.4108920097351074, -0.3047945499420166, 0.11466462910175323, -0.3603197932243347, -0.2919658422470093, 0.25953802466392517, 0.5448565483093262, 0.2341872751712799, 0.7475756406784058, 0.14211980998516083, 0.9185820817947388, -0.49823206663131714, 0.20945137739181519, -0.16830654442310333, -0.8012071251869202, 0.44231000542640686, -0.4149585962295532, 0.30470743775367737, 0.6127310991287231, 0.15734417736530304, -0.3225419819355011, -0.47192808985710144, -0.38005051016807556, -0.553364634513855, 0.8333810567855835, 0.015565579757094383, 0.042030103504657745, 0.21698355674743652, 0.5095635652542114, 0.32372820377349854, 0.0846351608633995, -0.5734716653823853, -0.20090313255786896, 0.020639298483729362, 0.10117772221565247, -0.12256776541471481, 0.02295122854411602, -0.2562767565250397, -0.33815568685531616, 0.7266194224357605, -0.3116656243801117, 0.2987503409385681, 0.0435919351875782, 0.0054312292486429214, -0.6544650793075562, 0.015994712710380554, 0.4913429915904999, 0.5349951386451721, -0.4782165586948395, -0.0011565258027985692, 0.09382788091897964, -0.33539679646492004, 0.08054738491773605, 0.42677024006843567, -0.3163324296474457, -0.25896450877189636, 0.38619792461395264, 0.908811092376709, 0.4289166033267975, -0.5047116875648499, 0.6374120116233826, -0.1522899717092514, -0.2586856782436371, 0.09743817895650864, 0.25528034567832947, 0.07886385917663574, 0.6326344609260559, -0.06446900218725204, 0.36462002992630005, -0.1662321537733078, -0.21617624163627625, 0.18252432346343994, 0.5433931946754456, -0.10747487097978592, -0.43977051973342896, 0.6732472777366638, 0.2683151364326477, -0.23228377103805542, 0.7003722190856934, -0.10808493942022324, -0.190303236246109, 0.2892877161502838, 0.9007876515388489, 0.7069705128669739, -0.2836258113384247, 0.23719976842403412, -0.027102971449494362, 0.30069735646247864, -0.055438894778490067, 0.08515945076942444, -0.36071860790252686, -0.8319495916366577, -0.31017711758613586, -0.8104084730148315, -0.3552214503288269, -0.040289800614118576, -0.5666924715042114, 0.03611350432038307, -0.713718593120575, 0.07533162087202072, -0.12942096590995789, 0.46946024894714355, -0.8512815833091736, -0.30203038454055786, 0.031558405607938766, 1.0017738342285156, -0.7384830713272095, 0.8733587265014648, 0.45909789204597473, -0.22745397686958313, -0.6918151378631592, -0.18970048427581787, -0.04180312529206276, -1.038476586341858, 0.21282538771629333, 0.0421266071498394, -0.00006783979188185185, 0.20364166796207428, -0.3861100375652313, -0.8665087819099426, 1.4288538694381714, 0.6491448283195496, -0.8197493553161621, 0.1552630364894867, 0.12695655226707458, 0.602134644985199, -0.32110854983329773, -0.1254861056804657, 0.4600011110305786, 0.3878638446331024, 0.0589415468275547, -0.8062430024147034, 0.1539970189332962, 0.12640497088432312, -0.14198675751686096, 0.4323965013027191, -1.0837223529815674, 0.7345712184906006, -0.3892410099506378, -0.2794518768787384, -0.15727350115776062, 0.7142682075500488, -0.20996874570846558, 0.2444414496421814, 0.3288814127445221, 0.4615190625190735, 1.2297348976135254, 0.03183218091726303, 0.8482818007469177, -0.1769842654466629, 0.6050428748130798, 1.1475648880004883, -0.490643173456192, 0.7166668772697449, 0.46654194593429565, 0.012870648875832558, 0.06988564133644104, 0.48623859882354736, -0.1696118712425232, 0.6685787439346313, -0.013836256228387356, -0.5343640446662903, -0.278747022151947, -0.01549727562814951, -0.21570450067520142, 0.4835420846939087, 0.03245220705866814, -0.18197304010391235, -0.5092999339103699, -0.13150779902935028, 0.05453327298164368, -0.03511948883533478, -0.3418024778366089, 1.0303008556365967, 0.13060392439365387, -0.3205210268497467, 0.6937260627746582, 0.07716834545135498, 0.508274495601654, -0.4282274842262268, 0.2721380293369293, -0.8619126081466675, 0.5033666491508484, -0.303598016500473, -0.38482823967933655, 0.4288226068019867, 0.04110746085643768, -0.1738242208957672, -0.32474106550216675, 0.6127845048904419, -0.4488321542739868, -0.3766742944717407, 0.3363739550113678, 0.4757985770702362, 0.0877734124660492, 0.15668119490146637, -0.39780277013778687, 0.004512619227170944, 0.08231901377439499, -0.2594054639339447, 0.6325244903564453, 0.5685052871704102, 0.21110206842422485, 0.7722739577293396, 0.7205264568328857, 0.2918170988559723, -0.3152065575122833, -0.23767773807048798, 0.9477385878562927, -0.0490405447781086, -0.2777234613895416, -0.723584771156311, -0.12585729360580444, 0.16852881014347076, -0.16127395629882812, 0.39763662219047546, 0.563170850276947, 1.1119269132614136, -0.07107897102832794, 0.38512447476387024, 0.23452460765838623, 0.17517916858196259, -0.2801682949066162, 1.0049057006835938, -0.691580593585968, 0.2964722216129303, 0.07475631684064865, -0.9344246983528137, -0.506935179233551, 0.586105465888977, -0.3211067020893097, -0.5823225378990173, 0.297136515378952, 0.986552894115448, -0.5007744431495667, 0.36656659841537476, 0.4396090507507324, 0.4253813922405243, 0.37466633319854736, 0.5028173923492432, 0.24473348259925842, -0.32748469710350037, 0.3733430802822113, -0.5260287523269653, -0.3239547908306122, -0.3748261034488678, -0.8842039704322815, -0.8198405504226685, -0.338052362203598, -0.21812322735786438, 0.09086943417787552, 0.3031764328479767, 1.0989989042282104, 0.5569814443588257, -0.8104009628295898, -0.17900775372982025, -0.04864371195435524, 0.3350736200809479, -0.3214843273162842, -0.21568164229393005, 0.18195375800132751, -0.3700587749481201, -0.4218210279941559, 0.5495333075523376, 0.2685580551624298, -0.04979716241359711, 0.053920160979032516, 0.015508794225752354, -0.040739335119724274, -0.1328047513961792, 0.3767639696598053, 0.19981680810451508, -0.4235520362854004, -0.4883955717086792, -0.23603709042072296, 0.12225817888975143, 0.2652254104614258, 0.5801466703414917, -0.5319573879241943, 0.3747846484184265, 0.2756384015083313, 1.0054433345794678, 0.46223026514053345, 0.11388051509857178, 0.5114564299583435, -1.015252947807312, 0.150752991437912, 0.1432897001504898, 0.42598867416381836, 0.34713149070739746, -0.5651273727416992, 0.5385797619819641, 0.4028305113315582, -0.9948879480361938, -0.9774569272994995, 0.06929774582386017, -0.9484062790870667, 0.0009447285556234419, 0.8747703433036804, -0.37707510590553284, -0.3763546943664551, 0.4154665768146515, 0.12551641464233398, 0.26110097765922546, -0.5223808288574219, 0.7555370926856995, 0.4214402437210083, -0.21534889936447144, -0.05626790225505829, -0.34913307428359985, 0.5045109391212463, 0.08986498415470123, -0.6350896954536438, 0.38533079624176025, 0.4676017761230469, 0.5270512700080872, -0.1931149661540985, 0.5081243515014648, 0.30137521028518677, 0.03595312684774399, -0.0911627784371376, -0.13303472101688385, -0.3734716475009918, -0.3304106891155243, -0.27820655703544617, 0.0038674133829772472, 0.0008909026510082185, -0.09780537337064743 ]
http://arxiv.org/abs/2406.17692v1
http://arxiv.org/pdf/2406.17692v1
From Distributional to Overton Pluralism: Investigating Large Language Model Alignment
2024-06-25T16:32:33
2024-06-25T16:32:33
Thom Lake, Eunsol Choi, Greg Durrett
cs.CL
cs.CL, cs.LG
The alignment process changes several properties of a large language model's (LLM's) output distribution. We analyze two aspects of post-alignment distributional shift of LLM responses. First, we re-examine previously reported reductions in response diversity post-alignment. Our analysis suggests that an apparent drop in the diversity of responses is largely explained by quality control and information aggregation. Alignment suppresses irrelevant and unhelpful content while shifting the output distribution toward longer responses that cover information spanning several responses from the base LLM, essentially presenting diverse information in a single response. Finding little evidence that alignment suppresses useful information, it is natural to ask the opposite question: do aligned models surface information that cannot be recovered from base models? Our second investigation shows this is not the case and the behavior of aligned models is recoverable from base models without fine-tuning. A combination of in-context examples and lower-resolution semantic hints about response content can elicit responses from base LLMs that are as similar to alignment-tuned LLM responses as alignment-tuned LLM responses are to each other. Taken together, these results indicate that current alignment techniques capture but do not extend the useful subset of assistant-like base LLM behavior, providing further evidence for the Superficial Alignment Hypothesis. They also show that in-context alignment can go surprisingly far as a strategy for imitating aligned LLMs without fine-tuning. Our code and data is available at https://github.com/thomlake/investigating-alignment.
[ -0.3572610914707184, -0.6840223073959351, 0.45822805166244507, -0.1833648830652237, -0.20653025805950165, 0.12595680356025696, -0.2511950135231018, -0.4872359037399292, 0.3409397006034851, 0.6331586837768555, -0.4853114187717438, -0.3766365051269531, -0.7288236618041992, -0.13021554052829742, -0.7622093558311462, 1.1083128452301025, 0.09322395920753479, 0.03352806344628334, -0.0364086888730526, -0.44732365012168884, -0.4011707007884979, -0.45273709297180176, -0.48303189873695374, -0.15313176810741425, 0.5541693568229675, 0.2372053861618042, 1.0056450366973877, 0.9561848044395447, 0.6725088357925415, 0.36666339635849, -0.2885672450065613, -0.12382461130619049, -0.6868342161178589, 0.17710725963115692, -0.20853754878044128, -0.5587345957756042, -0.6379987001419067, -0.09538844227790833, 1.1154820919036865, 0.9242749214172363, -0.24788089096546173, 0.15438632667064667, 0.15751343965530396, 0.6748483180999756, -0.7469855546951294, -0.4948514997959137, -0.6785082221031189, -0.31574711203575134, -0.33218035101890564, 0.06156185641884804, -0.38504448533058167, -0.368356853723526, 0.19025498628616333, -0.48771440982818604, 0.141340970993042, -0.006312154699116945, 0.783637523651123, 0.23396487534046173, -0.6307080388069153, -0.5440142750740051, -0.9943332076072693, 0.9425037503242493, -0.7072080969810486, 0.524453341960907, 0.05349188670516014, 0.2599876821041107, -0.06365371495485306, -0.2514164447784424, -0.7079033851623535, 0.09200340509414673, 0.10343975573778152, 0.34288185834884644, -0.03804609179496765, -0.07542816549539566, 0.09479261934757233, 0.5475941300392151, -0.7295459508895874, 0.24726662039756775, -0.3724851906299591, 0.08013128489255905, 0.7952524423599243, 0.23634175956249237, 0.2812574803829193, 0.12282996624708176, -0.39800265431404114, -0.19589918851852417, -0.8913652896881104, -0.043593768030405045, 0.5969095826148987, 0.28159257769584656, -0.05148577690124512, 0.7963097095489502, 0.36848577857017517, 0.6639255881309509, 0.2596193850040436, -0.03435223922133446, 0.09888111054897308, -0.3147542178630829, -0.3110571801662445, 0.23780347406864166, 0.6624009013175964, 0.277344286441803, 0.08071716129779816, 0.03336290642619133, -0.28055235743522644, -0.04369329661130905, 0.21564096212387085, -0.3623355031013489, 0.09789173305034637, 0.19337385892868042, -0.464557409286499, -0.06332274526357651, 0.23784132301807404, -0.6048516631126404, -0.5620277523994446, -0.5802280902862549, 0.12401457130908966, -0.31862977147102356, -0.5278984308242798, 0.18531136214733124, -0.10952194035053253, 0.4334070682525635, 0.3985115587711334, -1.1895556449890137, 0.4711875915527344, 1.059329628944397, 0.84502774477005, -0.47177770733833313, -0.31470897793769836, -0.17920921742916107, 0.2892759442329407, -0.49698907136917114, 0.570050060749054, -0.5027976632118225, -0.19236335158348083, 0.2715204954147339, -0.009245280176401138, -0.17816829681396484, -0.7795317769050598, 0.14306780695915222, -0.6872810125350952, 0.20841455459594727, -0.603786051273346, -0.691875159740448, 0.15759716928005219, 0.18348895013332367, -0.7074825167655945, 0.6638410687446594, 0.09492562711238861, -0.7761642932891846, 0.36967793107032776, -0.3033813536167145, -0.22802628576755524, -0.29054751992225647, -0.23262083530426025, -0.2348923534154892, 0.31954729557037354, -0.1601010113954544, 0.019434988498687744, -0.04506954550743103, 0.07692091912031174, -0.7724583148956299, -0.37252652645111084, 0.43947944045066833, -0.25993967056274414, 0.9584344029426575, 0.15352658927440643, -0.06694293767213821, 0.14851561188697815, -0.6216878890991211, -0.22008374333381653, 0.005432726815342903, -0.3140676021575928, -0.4097646176815033, 0.015058957040309906, -0.23264966905117035, 0.19905723631381989, 0.22705690562725067, -0.5792496800422668, 0.5580424070358276, -0.5858970880508423, 0.2990230321884155, 0.9003628492355347, -0.3739636242389679, 1.064307451248169, -0.3031731843948364, 0.49906331300735474, 0.0338013656437397, 0.12129133194684982, 0.23141439259052277, -0.24675363302230835, -0.534757137298584, -0.13726535439491272, 0.19830694794654846, 0.3998047411441803, -0.17946560680866241, 0.47436150908470154, -0.4996856451034546, -0.08705934882164001, -0.8511552810668945, 0.24956552684307098, 0.2409151792526245, 0.27911049127578735, 0.08622324466705322, -0.5310991406440735, -0.49244409799575806, -0.9163808822631836, -0.17613618075847626, -0.2592211365699768, 0.048019226640462875, 0.026963703334331512, 0.10724999755620956, -0.11023591458797455, 0.971651554107666, -0.4477761685848236, -0.06652819365262985, -0.25346073508262634, -0.03816146403551102, 0.18066078424453735, 0.2591573894023895, 0.525088906288147, -0.6156787276268005, -0.29312577843666077, 0.2799358367919922, -0.5505112409591675, -0.0840175598859787, 0.10739918798208237, -0.2725931406021118, 0.52723628282547, 0.5096907019615173, -0.8279123306274414, 0.26271313428878784, 0.8248744606971741, -0.13007968664169312, 0.3469686210155487, 0.07898223400115967, 0.02352551929652691, -1.4239742755889893, -0.024260491132736206, -0.18527144193649292, -0.018783478066325188, -0.5750775337219238, 0.038925088942050934, 0.014961756765842438, 0.2428080290555954, -0.03991252928972244, 0.5111857056617737, -0.5507342219352722, -0.56275475025177, -0.5155344605445862, 0.16882845759391785, -0.1098085418343544, 0.07165468484163284, -0.018251793459057808, 0.5171286463737488, 0.3115295171737671, -0.38011425733566284, 0.23628807067871094, 0.3427804708480835, -0.0749327689409256, 0.5491484999656677, -0.5651684999465942, 0.1362091451883316, -0.4403170049190521, 0.3790470361709595, -1.5018161535263062, -0.3494234085083008, 0.28556403517723083, -0.3169916868209839, 0.515474259853363, -0.1267140656709671, -0.34230443835258484, -0.06499816477298737, -0.5006009340286255, 0.5416456460952759, 0.6151416897773743, -0.45180177688598633, 0.49176520109176636, 0.4135839641094208, -0.2606896460056305, -0.6479876637458801, -0.7843865156173706, -0.32317063212394714, -0.43299978971481323, -0.684469997882843, 0.21351876854896545, -0.13863138854503632, -0.5187362432479858, -0.24921561777591705, -0.2560523450374603, -0.023732464760541916, 0.08183077722787857, 0.08676670491695404, 0.19689369201660156, -0.5235204100608826, 0.23825481534004211, 0.06091306731104851, 0.28467679023742676, 0.08135086297988892, -0.1899348348379135, 0.6785020232200623, 0.10295058786869049, -0.6721743941307068, -0.3262158930301666, 0.42729923129081726, 0.6393914222717285, -0.06060744822025299, 0.8998500108718872, 0.3829801678657532, -0.09937338531017303, 0.18663917481899261, -0.3785037398338318, -0.22462062537670135, -0.47919055819511414, 0.3229440152645111, -0.07919144630432129, -0.8205903768539429, 0.7783708572387695, 0.15847833454608917, 0.38095003366470337, 0.46229490637779236, 0.5591025352478027, -0.3777831792831421, 1.327422022819519, 0.6095989346504211, -0.11047641187906265, 0.7196707725524902, -0.08222239464521408, 0.3959881663322449, -0.9258185625076294, 0.09087010473012924, -0.5134387612342834, -0.6115570664405823, -0.5761789083480835, 0.1581183820962906, -0.008550608530640602, 0.3329220116138458, -0.19205151498317719, 0.21923533082008362, -0.39423683285713196, 0.3662239611148834, 0.36952346563339233, -0.21293599903583527, 0.20689266920089722, -0.1741051822900772, 0.601050615310669, -0.09458842873573303, -0.5768651366233826, -0.39649707078933716, 0.9851524233818054, 0.4293394684791565, 0.9332695007324219, 0.6087631583213806, 0.7716484665870667, -0.13526824116706848, 0.42447811365127563, -0.7215030193328857, 0.3794209957122803, -0.16307589411735535, -0.4034767746925354, -0.4563674330711365, -0.2533658742904663, -1.0464324951171875, 0.19767528772354126, -0.019724257290363312, -0.8465044498443604, 0.26650500297546387, 0.44359856843948364, -0.33412888646125793, 0.05640948563814163, -0.7798967957496643, 0.675043523311615, -0.14469103515148163, -0.01754467934370041, 0.09169622510671616, -0.8688567876815796, 0.5534646511077881, -0.04363880306482315, 0.22128117084503174, 0.04749961197376251, 0.12364983558654785, 0.5139933228492737, -0.18674670159816742, 0.9452963471412659, 0.18110771477222443, -0.6600865721702576, -0.0024201390333473682, 0.1192563995718956, 0.47702115774154663, -0.08231355249881744, 0.03481091558933258, -0.09479863196611404, 0.051557719707489014, -0.496491938829422, -0.8607891201972961, 0.8487675189971924, -0.9796680212020874, -0.729149341583252, -0.11743754893541336, -0.7867151498794556, 0.0049791098572313786, -0.003154171397909522, 0.5442721843719482, 0.3438289165496826, -0.03760883957147598, 0.17821890115737915, 0.690267026424408, 0.15128402411937714, 0.4359591007232666, 0.257885217666626, -0.35320720076560974, -0.36250099539756775, 0.6784319877624512, 0.4254301190376282, 0.7684917449951172, 0.32584863901138306, 0.09283588081598282, -0.5939590930938721, -0.6448530554771423, -0.46587327122688293, 0.24797584116458893, -0.7795270085334778, 0.017328649759292603, -0.4296284019947052, -0.1783951371908188, -0.8922106027603149, -0.14526277780532837, -0.44989046454429626, -0.5111703872680664, -0.2418215274810791, 0.0006631904398091137, -0.05456371605396271, 1.0022355318069458, 0.28380581736564636, 0.4839097857475281, -0.7436642050743103, -0.09839124232530594, 0.09054706990718842, 0.03559930622577667, -0.12521669268608093, -0.8358337879180908, -0.13921086490154266, 0.2878872752189636, -0.4205440878868103, -1.0302830934524536, 0.16760091483592987, 0.1569921374320984, 0.35496437549591064, 0.654299795627594, -0.050977978855371475, 0.8110284209251404, -0.29671403765678406, 0.7633129954338074, 0.15796835720539093, -0.9614927768707275, 0.2572377324104309, -0.33972886204719543, 0.5484763979911804, 0.26624244451522827, 0.26742926239967346, -0.473021000623703, -0.8263141512870789, -0.6391475796699524, -0.9229379296302795, 0.5922613739967346, -0.11850902438163757, 0.3453805446624756, -0.056289225816726685, 0.3322853446006775, 0.21309295296669006, 0.27912190556526184, -0.7081798911094666, -0.0729871541261673, -0.1161167174577713, -0.4997757077217102, -0.08599235117435455, -0.3191009759902954, -0.5195671319961548, -0.11750283092260361, 0.4364514946937561, -0.19120965898036957, 0.11487405747175217, 0.012021504342556, -0.28582292795181274, -0.27721670269966125, 0.2686246633529663, 1.0237385034561157, 0.8563544154167175, -0.03575581684708595, 0.336340069770813, -0.031074034050107002, -0.20153355598449707, 0.03115743398666382, -0.09527579694986343, -0.03576725721359253, -0.11309152841567993, 0.6373369097709656, 0.621976375579834, 0.08394645154476166, -0.29598668217658997, 0.6266826391220093, 0.18905605375766754, -0.19406425952911377, -0.1826314479112625, 0.06391780078411102, 0.12005209177732468, 0.3830137848854065, 0.07789474725723267, -0.02997574582695961, 0.19435136020183563, -0.6683183312416077, 0.05348464846611023, 0.8066402673721313, -0.2522033751010895, -0.6650727987289429, 0.4491354525089264, -0.15069805085659027, -0.40613505244255066, 0.7065414786338806, 0.05044391378760338, -0.23308560252189636, 0.5996962785720825, 0.8242186307907104, 0.6848462224006653, -0.4272599220275879, 0.08617272228002548, 0.07155099511146545, 0.1193871721625328, -0.17337335646152496, 0.12044593691825867, 0.14880876243114471, -0.9769075512886047, -0.49559295177459717, -0.333100825548172, 0.021114768460392952, 0.06148362532258034, -0.9281173348426819, 0.15576499700546265, -0.508134663105011, -0.08644922822713852, 0.1409522444009781, -0.41500136256217957, -0.12881037592887878, -0.17541156709194183, 0.21803218126296997, 0.5812024474143982, -1.1688339710235596, 0.6154487729072571, 0.8144527673721313, -0.2052621990442276, -0.8038351535797119, 0.32718420028686523, 0.1861586719751358, -0.8211345076560974, 0.3948726952075958, 0.08185026049613953, 0.02528628706932068, -0.10193181782960892, -0.7073626518249512, -1.3098996877670288, 1.0062021017074585, 0.7600355744361877, -0.5796259641647339, 0.09009253233671188, 0.2639699876308441, 0.6900927424430847, -0.22262762486934662, 0.2584194839000702, 0.5685478448867798, 0.20161211490631104, 0.37347540259361267, -1.0166229009628296, 0.03400297462940216, 0.10278495401144028, 0.1459677815437317, 0.766222357749939, -0.6685163974761963, 1.0196951627731323, 0.049083758145570755, -0.36196935176849365, 0.1665283739566803, 0.5741558074951172, 0.3489995002746582, 0.09934499114751816, 0.42134296894073486, 0.7550628185272217, 0.6843276023864746, 0.005391283426433802, 1.0406910181045532, -0.04766106978058815, 0.4404972791671753, 0.9857405424118042, -0.697664737701416, 0.9425321221351624, 0.9237939119338989, -0.04307081177830696, 0.26958879828453064, 0.5580994486808777, 0.23552070558071136, 0.4965327978134155, 0.2389993518590927, -0.1871960610151291, -0.047064587473869324, -0.10849412530660629, -0.371807336807251, 0.25222113728523254, 0.09474506974220276, -0.38274452090263367, -0.2645787298679352, -0.1982443630695343, -0.333552747964859, 0.029544122517108917, -0.22379815578460693, 1.075890064239502, 0.056489814072847366, -0.7977223992347717, 0.6227530241012573, -0.33954480290412903, 0.4370192885398865, -0.367279052734375, 0.0190315842628479, -0.30804502964019775, 0.27700504660606384, -0.3355930745601654, -1.0521724224090576, 0.5376020073890686, -0.5527353286743164, -0.5172224044799805, -0.2250950038433075, 0.4643397033214569, -0.6861613988876343, -0.18215394020080566, 0.3099561333656311, 0.3348824977874756, 0.10280291736125946, 0.2200974076986313, -0.5262507200241089, 0.14621956646442413, -0.04752844572067261, -0.39820772409439087, 0.5290034413337708, 0.47016581892967224, -0.3773612380027771, 0.40868130326271057, 0.47590693831443787, 0.06837772578001022, 0.38675376772880554, 0.20156647264957428, 0.6919252276420593, -0.34034860134124756, -0.27305200695991516, -1.0540238618850708, 0.5120307207107544, -0.21577905118465424, -0.45780515670776367, 0.5339158177375793, 0.4451470971107483, 0.9984917044639587, 0.06678840517997742, 0.5787144303321838, 0.051844120025634766, 0.2625659108161926, -0.7009497284889221, 0.35632190108299255, -0.5960243344306946, 0.26985302567481995, -0.12594299018383026, -1.1217663288116455, -0.31768175959587097, 0.30764228105545044, -0.36847954988479614, 0.013699899427592754, 0.5932008624076843, 0.7027671933174133, -0.3399081528186798, -0.0959552749991417, 0.2626115679740906, 0.22023172676563263, 0.2442268431186676, 0.14203491806983948, 1.1600511074066162, -0.23198764026165009, 0.4532584547996521, 0.16666939854621887, -0.07479377090930939, -0.18025733530521393, -0.49845966696739197, -0.5419467687606812, -0.5992058515548706, -0.22587838768959045, -0.4056236743927002, 0.05902703106403351, 0.8542550206184387, 0.6016754508018494, -0.8488348126411438, -0.3339668810367584, -0.28949663043022156, 0.0214353259652853, -0.11575121432542801, -0.22490212321281433, 0.24246756732463837, -0.16707032918930054, -0.7099622488021851, 0.0375499464571476, 0.2789202332496643, 0.3207114040851593, -0.14957058429718018, -0.1662948727607727, -0.05229617655277252, -0.041316382586956024, 0.3045872151851654, 0.3219456076622009, -0.9080901145935059, -0.37051787972450256, 0.22945725917816162, -0.4542049169540405, 0.2918761074542999, 0.6900176405906677, 0.03044741041958332, 0.07304620742797852, 0.6142241358757019, 0.7258937954902649, 0.00009691900049801916, 0.36441314220428467, 0.9574849605560303, -1.0127538442611694, 0.050982166081666946, 0.23416203260421753, 0.3875309228897095, 0.23118796944618225, -0.39745771884918213, -0.02145070768892765, -0.01750914938747883, -0.6687679886817932, -0.9322599768638611, 0.7330185770988464, -0.9907378554344177, -0.23955680429935455, 1.332482099533081, 0.10836000740528107, -0.34323710203170776, 0.15006017684936523, -0.26858213543891907, 0.3028855621814728, -0.3663577139377594, 0.9136176109313965, 1.0740809440612793, -0.16699279844760895, -0.25858810544013977, -0.2720019817352295, 0.3944540023803711, 0.7800420522689819, -0.6779998540878296, 0.2087155282497406, 0.5098074078559875, 0.3327997326850891, 0.43583616614341736, 0.5815369486808777, -0.03434526547789574, 0.1659797877073288, -0.44764330983161926, 0.00798058696091175, 0.604080319404602, -0.2257709503173828, -0.782156229019165, 0.0681726485490799, 0.3922627866268158, -0.2835373878479004 ]
http://arxiv.org/abs/2406.17681v2
http://arxiv.org/pdf/2406.17681v2
VarBench: Robust Language Model Benchmarking Through Dynamic Variable Perturbation
2024-06-25T16:13:53
2024-06-26T15:21:49
Kun Qian, Shunji Wan, Claudia Tang, Youzhi Wang, Xuanming Zhang, Maximillian Chen, Zhou Yu
cs.CL
cs.CL
As large language models achieve impressive scores on traditional benchmarks, an increasing number of researchers are becoming concerned about benchmark data leakage during pre-training, commonly known as the data contamination problem. To ensure fair evaluation, recent benchmarks release only the training and validation sets, keeping the test set labels closed-source. They require anyone wishing to evaluate his language model to submit the model's predictions for centralized processing and then publish the model's result on their leaderboard. However, this submission process is inefficient and prevents effective error analysis. To address this issue, we propose to variabilize benchmarks and evaluate language models dynamically. Specifically, we extract variables from each test case and define a value range for each variable. For each evaluation, we sample new values from these value ranges to create unique test cases, thus ensuring a fresh evaluation each time. We applied this variable perturbation method to four datasets: GSM8K, ARC, CommonsenseQA, and TruthfulQA, which cover mathematical generation and multiple-choice tasks. Our experimental results demonstrate that this approach provides a more accurate assessment of the true capabilities of language models, effectively mitigating the contamination problem.
[ -0.3400515615940094, -0.8280425071716309, 0.3760199546813965, 0.16898398101329803, -0.1390586495399475, 0.39802074432373047, -0.282132089138031, -0.26658764481544495, -0.4229387044906616, 0.8737354278564453, -0.6400974988937378, -0.47174346446990967, -0.4097362756729126, -0.32825997471809387, -0.42733293771743774, 0.7348731756210327, -0.300604909658432, -0.048980433493852615, -0.34629690647125244, -0.2313050776720047, -0.4095485210418701, -0.7219995856285095, 0.023846689611673355, -0.18526668846607208, 0.16491733491420746, 0.5676261186599731, 0.5158442854881287, 0.6740545630455017, 0.6609286069869995, 0.37482455372810364, -0.00663532130420208, -0.2587406039237976, -0.6412109136581421, 0.7091801762580872, -0.21932852268218994, -0.5592097043991089, -0.19053831696510315, -0.0023723405320197344, 0.9246408343315125, 0.5485724806785583, -0.3424537479877472, 0.4731636345386505, -0.13394662737846375, 0.40961652994155884, -0.7565366625785828, 0.21000802516937256, -0.7585686445236206, -0.021501798182725906, -0.6601526737213135, 0.18151772022247314, -0.34132859110832214, -0.49468204379081726, -0.2947080731391907, -0.22163932025432587, -0.013988442718982697, -0.3112148642539978, 1.044795036315918, 0.48970291018486023, -0.08681221306324005, 0.39888378977775574, -0.8816657066345215, 0.9082515835762024, -0.6631376147270203, 0.19612449407577515, 0.33805063366889954, 0.8541757464408875, -0.1631520390510559, -0.7469444274902344, -0.3290814161300659, -0.20792104303836823, 0.4258062541484833, -0.19297732412815094, -0.041880734264850616, -0.24530303478240967, 0.26059672236442566, 0.29334181547164917, -0.2090822458267212, 0.12737472355365753, 0.12490353733301163, -0.1912744790315628, 0.46539387106895447, 0.24158397316932678, 0.22401733696460724, 0.13385368883609772, -0.3609468638896942, -0.6599217057228088, -0.7623915076255798, 0.052070777863264084, 0.8059945702552795, 0.45354074239730835, 0.18653516471385956, 0.3050565719604492, -0.13753023743629456, 0.5209247469902039, 0.031450700014829636, 0.16372676193714142, 0.5645223259925842, -0.6823261976242065, -0.05889961123466492, -0.4124707579612732, 0.7116450667381287, -0.31955909729003906, 0.13486526906490326, -0.03738599270582199, -0.2952735722064972, -0.13200463354587555, 0.38573750853538513, -0.9125452041625977, -0.14173176884651184, 0.12108971923589706, -0.1933453381061554, -0.7818467617034912, 0.07909660041332245, -1.0309908390045166, -0.25945958495140076, -0.0590268038213253, 0.2773715853691101, -0.09102842956781387, -0.3062693178653717, 0.11072587966918945, 0.2593616843223572, -0.3646987974643707, 0.066013865172863, -0.8628087639808655, 0.5681836605072021, 0.3491150140762329, 0.1725119650363922, -0.2451639175415039, -0.3054365813732147, -0.873216986656189, -0.1796952337026596, -0.1432349979877472, 0.8038731217384338, -0.957546591758728, -0.31168001890182495, 0.0964428186416626, -0.30539470911026, 0.23476538062095642, -0.6832405924797058, 0.4028002917766571, -0.3063856065273285, 0.0077664898708462715, -0.23037613928318024, -0.28912100195884705, 0.24357444047927856, 0.04945775121450424, -0.7081403136253357, 1.0747268199920654, 0.2602722644805908, -0.684810221195221, 0.2803892493247986, -0.2921769320964813, 0.022047273814678192, 0.08578494936227798, -0.46190547943115234, -0.7178584337234497, 0.07796959578990936, 0.16528448462486267, 0.10375706106424332, -0.2802221477031708, 0.4102686941623688, -0.44990384578704834, -0.1877203732728958, 0.4155963063240051, -0.8635228276252747, 0.5559942722320557, 0.02388586662709713, -0.5106019973754883, 0.2957049608230591, -0.9364920258522034, 0.5158102512359619, -0.17116712033748627, -0.3624970316886902, -0.15765303373336792, 0.13183492422103882, 0.049357686191797256, 0.29749763011932373, 0.058188360184431076, -0.28435757756233215, 0.03543727099895477, -0.15300258994102478, -0.16867253184318542, 0.7569695711135864, -0.004196720197796822, -0.023300524801015854, -0.20021726191043854, 0.7659767270088196, -0.11313270032405853, 0.37540900707244873, -0.10119432210922241, -0.07711267471313477, -0.47792506217956543, -0.2888509929180145, 0.6948404312133789, 0.3481537103652954, -0.5047152638435364, 0.40046778321266174, -0.2071787416934967, -0.7610698342323303, -0.35544919967651367, 0.1289873719215393, 0.6463407278060913, 0.40052667260169983, 0.28639963269233704, -0.44285160303115845, -0.31070461869239807, -0.7723010778427124, -0.5358926653862, -0.07721014320850372, -0.14325818419456482, 0.3312695324420929, 0.2594582140445709, -0.14871935546398163, 0.5914034247398376, -0.294481098651886, 0.03404387831687927, 0.07401980459690094, 0.4252587556838989, 0.17277440428733826, 0.5476585030555725, 0.5520159006118774, -0.585669219493866, -0.5939390659332275, -0.26420971751213074, -0.4155741333961487, -0.5225390791893005, 0.058066509664058685, -0.19299833476543427, -0.17124396562576294, 0.6044083833694458, -0.1383569836616516, 0.32322388887405396, 0.8115129470825195, -0.17772319912910461, 1.0473743677139282, 0.013882703147828579, 0.0740603432059288, -0.7088731527328491, 0.26605674624443054, -0.35140693187713623, -0.39780640602111816, -0.4651622176170349, 0.17813856899738312, -0.008838689886033535, -0.09527122229337692, -0.5127079486846924, 0.3574231266975403, -0.28571346402168274, 0.1819908767938614, -0.05887410417199135, -0.10305605083703995, -0.17882347106933594, -0.02377873845398426, -0.24102480709552765, 0.6410044431686401, 0.6033865213394165, -0.1506941020488739, 0.3277919888496399, 0.14529578387737274, -0.444457083940506, 0.09533682465553284, -0.4276728332042694, 0.12410455197095871, 0.30426615476608276, 0.2103603482246399, -0.8643174171447754, -0.1399511992931366, -0.019068308174610138, -0.2601994276046753, 0.40513914823532104, -0.01840156316757202, -0.5726304054260254, -0.16608498990535736, -0.3515761196613312, 0.4116511940956116, 0.1708790510892868, -0.43578580021858215, 0.2790569067001343, 0.4941454529762268, -0.15639586746692657, -0.847214937210083, -0.6352894902229309, -0.08080779016017914, -0.10292185842990875, -0.3063277006149292, 0.29426297545433044, -0.29952889680862427, -0.3687838912010193, -0.035410430282354355, -0.5239922404289246, -0.2412567138671875, 0.2735319137573242, 0.18619252741336823, 0.20169265568256378, -0.1533137857913971, 0.30355358123779297, -0.08593598008155823, -0.1641135960817337, 0.045325327664613724, 0.06885837763547897, 0.7400957345962524, -0.3482159972190857, -0.5486022233963013, -0.2897263169288635, 0.2279340922832489, 0.5781872868537903, -0.5536564588546753, 0.5215924978256226, 0.481411874294281, -0.34199240803718567, -0.26002928614616394, -0.5476037859916687, -0.09975957870483398, -0.5622791051864624, 0.4362056255340576, -0.5461258292198181, -0.5992401242256165, 0.5783464908599854, -0.34429821372032166, -0.08843813836574554, 0.26070111989974976, 0.5948130488395691, 0.23912307620048523, 0.7640653252601624, 0.8272767663002014, 0.03131008520722389, 0.8536982536315918, 0.12509754300117493, 0.0575789138674736, -0.25064536929130554, 0.07322436571121216, -0.7690439820289612, 0.07222946733236313, -0.7860886454582214, -0.5811495184898376, 0.012787970714271069, -0.10427411645650864, -0.3553576171398163, 0.15854471921920776, -0.2564087212085724, 0.6324122548103333, 0.2768457233905792, -0.20400089025497437, 0.1104930192232132, 0.05222341790795326, -0.6013854146003723, -0.1546785980463028, -0.3967386484146118, -0.5628713965415955, 1.234163761138916, 0.21337273716926575, 0.9035714864730835, 0.03342437744140625, 0.791134238243103, -0.032035619020462036, 0.26695993542671204, -0.15638047456741333, 0.4073299467563629, -0.32139158248901367, -0.6461598873138428, -0.5021324157714844, -0.6612390875816345, -0.7244039177894592, 0.20601056516170502, -0.19110818207263947, -1.1912957429885864, 0.358995258808136, -0.05309728533029556, -0.2632606029510498, 0.28235578536987305, -0.43288496136665344, 0.7795352935791016, -0.3141648471355438, -0.7120571732521057, -0.05528150871396065, -0.6314168572425842, 0.39784327149391174, -0.5503160953521729, 0.18434178829193115, -0.2589855194091797, 0.16667722165584564, 0.3876868188381195, -0.5608351826667786, 0.6741364598274231, -0.09584297239780426, 0.001491402625106275, 0.02145540341734886, 0.27471697330474854, 0.41692230105400085, 0.12859252095222473, -0.36392131447792053, 0.12205515801906586, 0.08012200146913528, -0.35573330521583557, -0.5021568536758423, 0.6814695596694946, -0.6929960250854492, -0.5510910153388977, -0.5157803297042847, -0.5092198252677917, -0.699214518070221, 0.43168342113494873, 0.1695740967988968, 0.19620487093925476, -0.18485213816165924, 0.44028547406196594, 0.7069278955459595, -0.31247222423553467, 0.40510067343711853, 0.5796571373939514, -0.3423840403556824, -0.17196163535118103, 0.6789930462837219, 0.023492049425840378, 0.5993796586990356, 0.20541927218437195, 0.3161427080631256, -0.08506140112876892, -0.5091969966888428, -0.00108581711538136, 0.07655787467956543, -0.5963707566261292, -0.18953512609004974, -0.14638493955135345, -0.3663467764854431, -0.09812020510435104, 0.1780300736427307, -1.0083465576171875, -0.17789247632026672, 0.11090024560689926, 0.029460400342941284, -0.13749836385250092, 0.5176121592521667, -0.0704866424202919, 0.174704909324646, -0.7114647030830383, 0.09922336786985397, 0.21703049540519714, 0.76967453956604, -0.27039262652397156, -0.07693598419427872, -0.1513187140226364, -0.009663214907050133, -0.32395225763320923, -0.645004153251648, 0.23653358221054077, 0.04301239550113678, 0.914505124092102, 0.39432305097579956, 0.17344842851161957, 0.5039997696876526, -0.5248271226882935, 0.7047789692878723, 0.14594438672065735, -1.3312623500823975, 0.5418489575386047, -0.4328226149082184, 0.5020043849945068, 0.9422247409820557, 0.08373706787824631, -0.2714443802833557, -0.6894496083259583, -0.7823175191879272, -1.0942648649215698, 0.5923344492912292, 0.3725685775279999, 0.10625593364238739, 0.49900442361831665, 0.20856498181819916, 0.281479150056839, 0.5513301491737366, -0.4959872364997864, -0.13653258979320526, -0.28657394647598267, -0.05472033843398094, -0.1450125128030777, -0.30225294828414917, -0.23742666840553284, -0.1668258011341095, 0.43514254689216614, 0.08025999367237091, 0.1328057050704956, -0.5026045441627502, 0.02149113081395626, -0.33240795135498047, 0.10286854952573776, 0.3919406831264496, 0.8352437615394592, -0.2712946832180023, 0.24027729034423828, 0.004975572694092989, -0.6602147817611694, 0.27604737877845764, 0.26802849769592285, 0.14438588917255402, 0.011933363974094391, 0.1458706259727478, 0.5317912101745605, 0.12390951812267303, -0.86221843957901, 0.4638812839984894, -0.5033205151557922, 0.04128233343362808, -0.07725085318088531, 0.263406366109848, -0.035872697830200195, 0.16964107751846313, 0.16009581089019775, 0.16377203166484833, -0.16840092837810516, -0.5248528718948364, 0.628604531288147, 0.07239237427711487, -0.3289276659488678, -0.24059617519378662, 0.7462226152420044, -0.036885976791381836, -0.17884515225887299, 0.46839794516563416, 0.22568073868751526, -0.5088540315628052, 0.5514658689498901, 0.35956430435180664, 0.7273726463317871, -0.7795898914337158, 0.22291144728660583, 0.11923114210367203, 0.16703662276268005, -0.1440080851316452, 0.33212968707084656, 0.08024787902832031, -0.6569697856903076, -0.2850918471813202, -0.469758003950119, -0.6568318009376526, 0.49891310930252075, -0.778252363204956, 0.23114700615406036, -0.2799646258354187, -0.22107455134391785, 0.12768904864788055, 0.28784486651420593, -0.6090157628059387, 0.22837097942829132, 0.1319873183965683, 0.6786916255950928, -0.9100124835968018, 1.070944905281067, 0.3581862449645996, -0.4517531991004944, -0.7683303952217102, 0.5272972583770752, 0.03640605881810188, -0.3501765727996826, 0.4489802122116089, -0.004793816711753607, -0.06125576049089432, -0.3938013017177582, -0.4804960787296295, -1.2762281894683838, 0.5563238859176636, 0.8468749523162842, -0.6350680589675903, 0.4373365640640259, 0.2873143255710602, 0.6650485396385193, -0.08948025107383728, 0.19344457983970642, 0.5910442471504211, 0.7355782985687256, -0.2322709858417511, -0.8579928278923035, 0.2298794835805893, -0.5430101752281189, -0.03285360336303711, 0.049026008695364, -0.6966332197189331, 0.9882205724716187, 0.29378992319107056, -0.04968433827161789, -0.029790423810482025, 0.2064882069826126, 0.29415783286094666, -0.36816680431365967, 0.49016469717025757, 0.07340941578149796, 1.0410046577453613, -0.13411694765090942, 0.9652177691459656, -0.19340667128562927, 0.3813807964324951, 1.5507075786590576, -0.4189988970756531, 0.9820690155029297, 0.47265779972076416, -0.21932080388069153, 0.42220744490623474, 0.5288044810295105, -0.22276920080184937, 0.6906899809837341, 0.7430639863014221, -0.2733295261859894, -0.2351730763912201, 0.0633804127573967, -0.31337228417396545, 0.6670244336128235, 0.22268380224704742, -0.1245444267988205, -0.3344742953777313, -0.06936772167682648, 0.15240494906902313, 0.1870144009590149, 0.3025725185871124, 0.23813609778881073, -0.22010555863380432, -0.5825409293174744, 0.8296038508415222, -0.10914899408817291, 0.10288145393133163, -0.8098487854003906, 0.14273156225681305, -0.23772433400154114, 0.4387216567993164, 0.026059219613671303, -0.4442046284675598, 0.2836536765098572, 0.05877189710736275, 0.008078629150986671, -0.4712086021900177, 0.6657271981239319, -0.5225546360015869, -0.5317627787590027, 0.34707602858543396, 0.5961905717849731, -0.024330899119377136, 0.010371997021138668, -0.5319654941558838, 0.48512452840805054, -0.09863361716270447, -0.3837110996246338, 0.5073478817939758, 0.2467828094959259, -0.16484299302101135, 0.6658730506896973, 0.43963897228240967, 0.2940101623535156, 0.17794282734394073, 0.260267049074173, 1.12904953956604, -0.3366754353046417, -0.2424989491701126, -0.6442317366600037, 0.46474412083625793, -0.16179712116718292, -0.2707240581512451, 0.7233735918998718, 0.3844667971134186, 0.6016855835914612, 0.12438508868217468, 0.9072619080543518, 0.35121622681617737, 0.28185969591140747, -0.2030831128358841, 0.8595700263977051, -0.2903975546360016, 0.5631689429283142, -0.42566996812820435, -0.7039699554443359, -0.536285400390625, 0.29147210717201233, -0.27279654145240784, 0.11636228114366531, 0.8169126510620117, 0.5681129693984985, -0.0949399545788765, -0.27268749475479126, 0.3618544042110443, 0.3655242323875427, 0.6770461201667786, 0.2261735200881958, 0.5982551574707031, -0.19326987862586975, 0.6187335252761841, -0.27867260575294495, -0.3399290144443512, -0.26145341992378235, -1.0203341245651245, -0.5851247906684875, -0.44677406549453735, -0.4027344286441803, -0.2641373872756958, 0.4251880645751953, 0.2911277413368225, 0.7129542231559753, -0.8699108958244324, -0.3549313545227051, -0.22881820797920227, 0.10759159177541733, -0.4748271107673645, -0.19655397534370422, 0.41996532678604126, -0.6973744034767151, -0.628455400466919, 0.4775935709476471, -0.09109612554311752, -0.09774963557720184, -0.46877321600914, 0.47509872913360596, -0.1406833827495575, 0.40509364008903503, -0.024635104462504387, 0.09971893578767776, -0.21717140078544617, -0.3991384208202362, -0.3102779984474182, -0.004812873899936676, 0.17191188037395477, 0.5806464552879333, -0.7622907161712646, 0.8802077174186707, 0.5129438638687134, 0.6411668062210083, 0.8550867438316345, 0.055306728929281235, 0.8097665905952454, -0.9129621982574463, 0.16363409161567688, 0.3722418546676636, 0.07488229870796204, 0.1671990007162094, -0.3147165775299072, 0.2414088100194931, 0.04660862311720848, -0.44702449440956116, -1.2113128900527954, 0.2155396044254303, -0.5472164750099182, -0.3419703543186188, 1.041095495223999, -0.4437461495399475, -0.3374824821949005, 0.07529738545417786, 0.3394051194190979, 0.3350496292114258, -0.21317216753959656, 0.8978996872901917, 1.084502935409546, 0.07561788707971573, 0.04728471860289574, -0.7335735559463501, 0.530112087726593, 0.3256909251213074, -1.0441609621047974, 0.3246205747127533, 0.27301809191703796, 0.535087525844574, -0.00751451775431633, 0.21940380334854126, -0.491536945104599, 0.15156982839107513, 0.41285598278045654, 0.22730286419391632, -0.030611535534262657, -0.29164019227027893, -0.3361116051673889, 0.3037795424461365, -0.029718995094299316, -0.3869166672229767 ]
http://arxiv.org/abs/2406.17675v1
http://arxiv.org/pdf/2406.17675v1
Quantifying AI Psychology: A Psychometrics Benchmark for Large Language Models
2024-06-25T16:09:08
2024-06-25T16:09:08
Yuan Li, Yue Huang, Hongyi Wang, Xiangliang Zhang, James Zou, Lichao Sun
cs.CL
cs.CL
Large Language Models (LLMs) have demonstrated exceptional task-solving capabilities, increasingly adopting roles akin to human-like assistants. The broader integration of LLMs into society has sparked interest in whether they manifest psychological attributes, and whether these attributes are stable-inquiries that could deepen the understanding of their behaviors. Inspired by psychometrics, this paper presents a framework for investigating psychology in LLMs, including psychological dimension identification, assessment dataset curation, and assessment with results validation. Following this framework, we introduce a comprehensive psychometrics benchmark for LLMs that covers six psychological dimensions: personality, values, emotion, theory of mind, motivation, and intelligence. This benchmark includes thirteen datasets featuring diverse scenarios and item types. Our findings indicate that LLMs manifest a broad spectrum of psychological attributes. We also uncover discrepancies between LLMs' self-reported traits and their behaviors in real-world scenarios. This paper demonstrates a thorough psychometric assessment of LLMs, providing insights into reliable evaluation and potential applications in AI and social sciences.
[ -0.41002368927001953, -0.7426044344902039, 0.7899717092514038, 0.5784061551094055, 0.35358378291130066, 0.3125789165496826, -0.5807127952575684, -0.47692790627479553, 0.023910153657197952, 0.17120935022830963, -0.7282874584197998, -0.23775362968444824, -0.5886527895927429, 0.20743899047374725, -0.36917608976364136, 0.7207246422767639, 0.15475381910800934, 0.24412770569324493, -0.6338179707527161, -0.21978811919689178, -0.39169245958328247, -0.7218484878540039, -0.789657711982727, -0.5621416568756104, 0.5580042600631714, 0.10336542129516602, 0.6197841167449951, 0.48772791028022766, 0.7154081463813782, 0.32086217403411865, 0.12434206902980804, 0.044668350368738174, -0.3688214421272278, 0.19711074233055115, -0.06083829328417778, -0.5030165314674377, -0.6411032676696777, 0.420461505651474, 0.5359680652618408, 0.8279344439506531, 0.0265372134745121, 0.5325396656990051, 0.03133117035031319, 0.4532165825366974, -0.5954646468162537, 0.35053521394729614, -0.2292558252811432, -0.08411435782909393, -0.1451202780008316, 0.21955911815166473, -0.30766138434410095, -0.26241031289100647, -0.2109251767396927, -0.13170748949050903, -0.04436551779508591, -0.11098486185073853, 0.4114697575569153, 0.32994508743286133, -0.5465919375419617, -0.1179124191403389, -0.7501833438873291, 0.8721686005592346, -0.5750190019607544, 0.4451899528503418, 0.5761817693710327, 0.20163390040397644, -0.10341940820217133, -0.3317376971244812, -0.5683811902999878, -0.4620337188243866, -0.157062828540802, -0.14666976034641266, -0.11091360449790955, -0.02907414548099041, 0.3189318776130676, 0.35215193033218384, -0.6082243323326111, 0.3598431348800659, 0.03522956743836403, -0.1253783106803894, 1.133244514465332, 0.6587833762168884, 0.305623859167099, 0.2618955373764038, 0.25721752643585205, -0.1568261831998825, -0.47968223690986633, 0.17589494585990906, 0.3111981749534607, 0.06933888792991638, -0.45438894629478455, 0.45454534888267517, -0.12442278116941452, 0.3774900436401367, -0.013818428851664066, -0.3660025894641876, 0.26640233397483826, -0.15845559537410736, -0.02332998439669609, -0.30256950855255127, 0.8030486702919006, 0.2564360499382019, 0.5119401216506958, -0.30176398158073425, -0.14759977161884308, 0.15754938125610352, 0.2137029767036438, -0.6314796805381775, 0.011384143494069576, 0.3791041970252991, -0.6149249076843262, -0.21133515238761902, -0.22108647227287292, -0.5884730219841003, -0.7220442295074463, -0.37742310762405396, -0.06507772207260132, -0.3019401729106903, -0.33536863327026367, -0.30776458978652954, 0.07098950445652008, 0.493649959564209, 0.033301301300525665, -0.8826687932014465, 0.3553317189216614, 0.9534087181091309, 0.6313683390617371, -0.3901943266391754, -0.5484296083450317, -0.22353240847587585, -0.08325010538101196, -0.6488233208656311, 0.5533263683319092, -0.7219749689102173, -0.23885402083396912, 0.18154385685920715, -0.19368889927864075, 0.21469180285930634, -0.5357640385627747, 0.30957430601119995, -0.22541482746601105, -0.035774800926446915, -0.34185823798179626, -0.5893182158470154, 0.09613674879074097, 0.6667036414146423, -0.4269177317619324, 1.060625672340393, 0.23327413201332092, -0.29817041754722595, 0.31959769129753113, -0.7225552797317505, -0.3801932632923126, 0.13662610948085785, -0.46487194299697876, -0.05599864199757576, 0.35551702976226807, 0.08456238359212875, 0.6441697478294373, -0.6202652454376221, 0.2563140094280243, -0.5178964138031006, -0.2558004558086395, 0.9209300875663757, -0.5579168200492859, 0.7783951759338379, 0.04353723302483559, 0.1520988494157791, 0.11429391801357269, -1.0045154094696045, 0.20492281019687653, 0.11827503889799118, -0.22267231345176697, -0.09967145323753357, 0.25641068816185, 0.016147950664162636, 0.1279926598072052, 0.677000105381012, -0.4846291244029999, 0.11819639801979065, -0.07386809587478638, 0.39613720774650574, 0.7119899392127991, -0.1505512148141861, 0.2255345582962036, -0.20519760251045227, 0.6092679500579834, -0.3996817469596863, 0.2092662900686264, 0.1938444823026657, -0.05960279703140259, -0.5107517242431641, -0.7500312328338623, -0.17859740555286407, 0.47779154777526855, 0.025423521175980568, 0.8207469582557678, -0.2147195190191269, -0.8252646923065186, -0.4650319516658783, 0.3427075743675232, 0.3343335688114166, 0.03482093662023544, -0.00720507325604558, 0.014538555406033993, -0.3511437475681305, -0.9059789776802063, -0.4476366341114044, -0.3759496212005615, -0.4436478614807129, 0.29825258255004883, 0.5257702469825745, -0.3156002163887024, 0.777860164642334, -0.22380152344703674, -0.2490394562482834, -0.25567924976348877, 0.3859313130378723, 0.24358047544956207, 0.20544978976249695, 0.5788554549217224, -0.49205508828163147, -0.11193618923425674, -0.2605612277984619, -1.0926941633224487, -0.32112666964530945, 0.05791508033871651, 0.22746892273426056, 0.005227590911090374, 0.5628140568733215, -0.6373962163925171, 0.24953262507915497, 0.4941898584365845, -0.40593239665031433, 0.61825031042099, -0.16180002689361572, 0.029298512265086174, -0.6440058350563049, 0.19468021392822266, 0.14451363682746887, 0.08447396010160446, -0.443216472864151, 0.20106011629104614, -0.061434898525476456, 0.06725472956895828, -0.0652860477566719, 0.6684543490409851, -0.3949638605117798, -0.3939991593360901, -0.11591637879610062, -0.035568952560424805, -0.28733232617378235, 0.378776878118515, -0.14382067322731018, 0.7803276777267456, 0.4620450437068939, -0.24095797538757324, 0.6974145174026489, 0.075971320271492, -0.4170415997505188, 0.9732094407081604, -0.6223841905593872, 0.26787269115448, -0.07805792987346649, 0.1915966123342514, -1.025514841079712, -0.34133291244506836, -0.39033886790275574, -0.45924749970436096, -0.12985865771770477, 0.34393590688705444, -0.8504855036735535, -0.33581408858299255, -0.2357548326253891, 0.44859376549720764, 0.42582377791404724, -0.09796994924545288, 0.8794770240783691, 0.31536397337913513, -0.32861247658729553, -0.2189268171787262, -0.5174001455307007, 0.32488805055618286, -0.45027291774749756, -0.2834474742412567, 0.25711217522621155, -0.3568059206008911, -0.7112149596214294, -0.20629698038101196, 0.22270309925079346, 0.006288252770900726, 0.22511927783489227, 0.3065744936466217, 0.26840338110923767, -0.20507897436618805, 0.023372886702418327, -0.5142735838890076, -0.07954087853431702, 0.5972868800163269, 0.3154924511909485, 0.731537938117981, -0.3917970061302185, -0.3780156672000885, -0.4955086410045624, 0.26052457094192505, 0.9077338576316833, -0.44509726762771606, 0.7165219783782959, 0.7828096747398376, -0.45567628741264343, 0.14135919511318207, -0.6332885026931763, -0.1871020644903183, -0.4122408628463745, 0.6186586022377014, -0.41168448328971863, -0.5679095387458801, 0.7742051482200623, 0.06826181709766388, -0.033588726073503494, 0.11700429767370224, 0.7722365260124207, -0.2730497717857361, 1.4775348901748657, 0.7498425245285034, -0.5452035069465637, 0.3465685248374939, -0.061335403472185135, 0.4806252717971802, -0.8617830872535706, -0.4444558620452881, -0.5223749279975891, -0.5156919956207275, -0.6462095975875854, -0.09116128832101822, 0.4225623607635498, -0.15827174484729767, -0.8634129166603088, -0.21154484152793884, -0.16714221239089966, 0.4290381371974945, 0.4230606257915497, -0.1599939912557602, 0.10357467085123062, -0.2553125321865082, 0.36985287070274353, -0.07309102267026901, 0.019064996391534805, -0.634554386138916, 1.038782000541687, 0.5672116875648499, 0.9535366296768188, 0.3000103235244751, 0.41196566820144653, 0.5064232349395752, 0.4551845192909241, -0.7805037498474121, 0.7976737022399902, -0.05553630366921425, -0.5204192996025085, -0.49805310368537903, -0.18746858835220337, -0.5650461316108704, -0.10627201944589615, -0.27239447832107544, -1.403562307357788, -0.08474906533956528, -0.16247744858264923, -0.12019380927085876, -0.18363749980926514, -0.42514070868492126, 0.7226904630661011, -0.7456133365631104, -0.2694600224494934, -0.5459702014923096, -0.371782124042511, 0.190948948264122, -0.11582435667514801, -0.006854872684925795, -0.45973512530326843, -0.2955150604248047, 0.7028488516807556, -0.11528313905000687, 0.7847086787223816, 0.10642626881599426, -0.1436673402786255, -0.23754151165485382, 0.19849950075149536, 0.2639959156513214, -0.01819288171827793, -0.271101176738739, 0.19478778541088104, 0.25207310914993286, -0.40679648518562317, -0.9020787477493286, 0.6560524702072144, -1.1423693895339966, -0.47043803334236145, -0.32598379254341125, -0.9158735275268555, -0.7707720398902893, -0.021601909771561623, -0.1254090517759323, 0.19653622806072235, -0.4409361779689789, 0.31484922766685486, 0.27541303634643555, -0.1999795138835907, 0.32794973254203796, 0.5782361626625061, -0.24712756276130676, -0.09676015377044678, 0.8018823266029358, -0.1588267832994461, 0.08840377628803253, 0.323965460062027, 0.11881837248802185, -0.4464769959449768, -0.402662456035614, 0.042024873197078705, 0.4557698369026184, -0.695398211479187, 0.049401525408029556, -0.24625134468078613, -0.36159220337867737, -0.6524171829223633, -0.17332610487937927, -0.229999378323555, 0.2494897097349167, -0.0324413999915123, -0.09126672893762589, 0.40430763363838196, 0.9356814026832581, 0.0923766940832138, 0.29772406816482544, -0.3800466060638428, 0.2237091064453125, 0.17761248350143433, 0.40073397755622864, 0.21196943521499634, -0.43803519010543823, -0.1254257708787918, 0.03454464301466942, -0.24381516873836517, -0.7402904033660889, 0.4113994538784027, 0.08588460087776184, 0.7128612399101257, 0.7261098027229309, -0.1873507797718048, 0.603330671787262, -0.24452203512191772, 0.9480495452880859, -0.007925079204142094, -0.9018755555152893, 0.3609630763530731, -0.3519475758075714, 0.06264684349298477, 0.43676507472991943, 0.5061831474304199, -0.4833156168460846, -0.3896560072898865, -0.44856780767440796, -0.469049870967865, 0.40448686480522156, 0.017618441954255104, 0.2588135600090027, 0.003398312721401453, 0.3221423029899597, -0.29183825850486755, 0.2008001059293747, -0.6689393520355225, -0.3357449471950531, 0.1965084820985794, -0.6410117745399475, -0.46209996938705444, -0.22479386627674103, -0.16941773891448975, -0.35071995854377747, 0.38314878940582275, -0.1349698007106781, 0.3306836485862732, -0.3086050748825073, -0.0256712194532156, 0.22140492498874664, 0.1687232106924057, 0.3546505272388458, 0.7392570972442627, -0.3408878445625305, 0.12361437827348709, 0.0964948758482933, -0.1927506923675537, 0.4020150899887085, -0.08457358181476593, 0.4454404413700104, -0.5944868326187134, 0.7726484537124634, 0.3583108186721802, -0.23673848807811737, -0.993324339389801, 0.5290073156356812, -0.0783776193857193, 0.18225598335266113, -0.5483065843582153, 0.17084288597106934, 0.1383608877658844, 0.4857701361179352, 0.40249454975128174, -0.5265123844146729, 0.0237708892673254, -0.9209374189376831, -0.13257497549057007, 0.576490044593811, -0.2759905159473419, -0.36099037528038025, 0.24409548938274384, 0.14220735430717468, -0.7405090928077698, 0.8613071441650391, -0.10159935802221298, -0.2917155921459198, 0.7303928732872009, 0.44925835728645325, 0.8510661721229553, -0.09705699235200882, 0.041289035230875015, 0.029379338026046753, 0.3456568717956543, 0.16535238921642303, 0.30174142122268677, -0.020711518824100494, -0.9261711835861206, -0.19185331463813782, -0.6114644408226013, -0.36830905079841614, 0.6275255680084229, -0.7927408814430237, -0.06684185564517975, -0.4360812306404114, -0.22929047048091888, 0.020356109365820885, 0.23488178849220276, -1.0757325887680054, 0.2779974043369293, 0.41690582036972046, 0.7881068587303162, -1.0218771696090698, 0.579093873500824, 0.7741038203239441, -0.47162434458732605, -0.5551113486289978, 0.06129908189177513, 0.15000323951244354, -1.243191123008728, 0.8456841707229614, 0.08941466361284256, 0.06486029177904129, -0.20872712135314941, -0.5238667130470276, -0.7324090003967285, 0.9577935934066772, 0.4110540747642517, -0.16316942870616913, -0.16939304769039154, 0.5462934970855713, 0.8842372894287109, -0.6281527280807495, 0.5798718929290771, 0.995986819267273, 0.5264403223991394, -0.5348376035690308, -0.7184721231460571, 0.032366298139095306, -0.35485294461250305, 0.16613556444644928, -0.19774611294269562, -0.713078498840332, 0.6250944137573242, -0.00807703286409378, 0.23199106752872467, 0.357970654964447, 0.6688773036003113, 0.4187493920326233, 0.10146362334489822, 0.42124974727630615, 0.2813015878200531, 0.7942741513252258, 0.027017710730433464, 0.8826203942298889, -0.6351748108863831, 0.018933255225419998, 0.9368529915809631, -0.50607830286026, 0.8866738080978394, 0.4842752516269684, -0.46958330273628235, 0.4461413323879242, 0.6254631876945496, -0.19308120012283325, 0.166275754570961, 0.46452638506889343, -0.17743857204914093, -0.3611420691013336, -0.3821697533130646, 0.0359332337975502, 0.9096662402153015, 0.6441651582717896, -0.28098180890083313, 0.11413212865591049, 0.16741077601909637, -0.15153062343597412, 0.1940932720899582, -0.3396989703178406, 0.7286775708198547, -0.018857568502426147, -0.6751551032066345, 0.16134123504161835, -0.12157005816698074, 0.5952748656272888, -0.5468871593475342, 0.10663876682519913, -0.4983617067337036, 0.4298034906387329, 0.04349932447075844, -1.1074906587600708, 0.11230482906103134, 0.2496832013130188, -0.26028093695640564, -0.32253775000572205, 0.36793553829193115, -0.17987275123596191, -0.736947238445282, 0.3382514715194702, 0.6885961890220642, 0.38381144404411316, -0.04408889636397362, -0.5780235528945923, 0.2619835436344147, -0.46740368008613586, -0.16167709231376648, 0.530602753162384, 0.4390500485897064, -0.09391617774963379, 0.9825073480606079, 0.3711780309677124, 0.3259822428226471, -0.27064192295074463, 0.20120100677013397, 0.21631743013858795, -0.8642582297325134, -0.2749853730201721, -1.0679620504379272, 0.14119939506053925, -0.13686396181583405, -0.5111897587776184, 0.6763467788696289, 0.455233097076416, 0.5756415128707886, 0.2010888308286667, 0.75998455286026, 0.022214367985725403, 0.24575941264629364, -0.1996425837278366, 0.6355392932891846, -0.4913471043109894, 0.06399815529584885, -0.16283708810806274, -0.7486602067947388, 0.026670223101973534, 0.7246500849723816, -0.4837348461151123, 0.25868627429008484, 0.3350060284137726, 0.8194583654403687, 0.2615804374217987, -0.21836206316947937, 0.4489074647426605, 0.260781466960907, 0.4367988407611847, 0.42771631479263306, 1.0933040380477905, -0.012039910070598125, 0.04289880022406578, -0.0968860387802124, -0.34412357211112976, -0.14564518630504608, -0.8386849164962769, -1.0719835758209229, -0.6182535290718079, -0.24569086730480194, -0.09176318347454071, -0.2527121305465698, 0.8970369100570679, 0.795592188835144, -0.45118433237075806, -0.6343663334846497, 0.27130448818206787, -0.07746442407369614, -0.3471001386642456, -0.3140189051628113, 0.15834426879882812, -0.2742415964603424, -0.552055835723877, 0.17141485214233398, 0.28711798787117004, -0.1152576357126236, -0.9135900139808655, -0.0671321228146553, 0.1383761465549469, 0.3059200942516327, 0.7159133553504944, 0.10503579676151276, -0.9749560952186584, -0.40234071016311646, 0.11680900305509567, -0.19439992308616638, -0.24687474966049194, 0.8074303865432739, -0.4855325222015381, -0.17677758634090424, 0.4212336540222168, 0.7304118871688843, 0.021663112565875053, -0.26480740308761597, 0.6622788906097412, -0.7290405631065369, 0.12425053119659424, 0.183143749833107, 0.4513665437698364, 0.22579802572727203, -0.3889221251010895, 0.5558561086654663, -0.11113576591014862, -0.5898680090904236, -1.014286994934082, 0.07002466171979904, -0.854689359664917, -0.1250857412815094, 0.9339186549186707, -0.13900786638259888, -0.09171442687511444, 0.11597383767366409, 0.195717915892601, -0.12724144756793976, -0.16495083272457123, 0.8996345400810242, 0.955630898475647, -0.5892731547355652, -0.38655591011047363, -0.3314878046512604, 0.3014668822288513, 0.3918759524822235, -0.8982726335525513, 0.2940328121185303, 0.44563621282577515, 0.19527220726013184, 0.3146107792854309, 0.6462444067001343, 0.08636678010225296, 0.05023563653230667, -0.08329056203365326, 0.16419263184070587, 0.2048107385635376, -0.20127199590206146, -0.18104024231433868, 0.024777179583907127, 0.3260680139064789, 0.06718084216117859 ]
http://arxiv.org/abs/2406.17667v1
http://arxiv.org/pdf/2406.17667v1
This Paper Had the Smartest Reviewers -- Flattery Detection Utilising an Audio-Textual Transformer-Based Approach
2024-06-25T15:57:02
2024-06-25T15:57:02
Lukas Christ, Shahin Amiriparian, Friederike Hawighorst, Ann-Kathrin Schill, Angelo Boutalikakis, Lorenz Graf-Vlachy, Andreas König, Björn W. Schuller
cs.SD
cs.SD, cs.CL, eess.AS
Flattery is an important aspect of human communication that facilitates social bonding, shapes perceptions, and influences behavior through strategic compliments and praise, leveraging the power of speech to build rapport effectively. Its automatic detection can thus enhance the naturalness of human-AI interactions. To meet this need, we present a novel audio textual dataset comprising 20 hours of speech and train machine learning models for automatic flattery detection. In particular, we employ pretrained AST, Wav2Vec2, and Whisper models for the speech modality, and Whisper TTS models combined with a RoBERTa text classifier for the textual modality. Subsequently, we build a multimodal classifier by combining text and audio representations. Evaluation on unseen test data demonstrates promising results, with Unweighted Average Recall scores reaching 82.46% in audio-only experiments, 85.97% in text-only experiments, and 87.16% using a multimodal approach.
[ -0.46783214807510376, -0.5269864201545715, 0.49676385521888733, 0.48488181829452515, -0.28009429574012756, -0.04864063486456871, -0.3892512619495392, -0.3641071915626526, 0.40826770663261414, 0.2952047884464264, -0.49441611766815186, -0.6308386325836182, -0.6309465169906616, 0.25261738896369934, -0.7381823658943176, 1.021931529045105, 0.4813109040260315, 0.08885806798934937, -0.13253749907016754, -0.1299733817577362, -0.373012512922287, -0.5187260508537292, -0.3502471148967743, -0.5498893857002258, 0.23859462141990662, 0.5206781029701233, 0.4655911922454834, 0.44722118973731995, 0.20921632647514343, 0.331562876701355, 0.08411777764558792, 0.09133870899677277, -0.2868366539478302, 0.33532392978668213, 0.1948617845773697, -0.4970618188381195, -0.6252776384353638, 0.32234352827072144, 0.2918827533721924, 0.017021408304572105, 0.03388059884309769, 0.047711264342069626, 0.07154309004545212, 0.6544966101646423, -0.30760544538497925, 0.5746572017669678, -0.9912849068641663, 0.05696629732847214, -0.3394237160682678, -0.5941047668457031, -0.3293459415435791, -0.25951796770095825, -0.08008427917957306, -0.4302903115749359, 0.4613964259624481, -0.09697379916906357, 0.6627932190895081, 0.2694457769393921, -0.2781359553337097, -0.38867542147636414, -0.5732172131538391, 0.9218785166740417, -0.5434010624885559, 0.3657867908477783, 0.42652812600135803, 0.21299591660499573, 0.21449938416481018, -0.5804657340049744, -0.9557679891586304, -0.2754831612110138, 0.07782375812530518, 0.3307688534259796, -0.3381281793117523, -0.12105964124202728, -0.32361236214637756, 0.534701406955719, -0.47026973962783813, -0.02499028854072094, 0.07780329138040543, -0.19984334707260132, 0.5648291110992432, -0.07234422862529755, 0.22715073823928833, -0.6281681656837463, -0.2970377504825592, -0.3105126917362213, -0.0051725925877690315, 0.06842236965894699, 0.45956340432167053, 0.4965570569038391, -0.1843954622745514, 0.3703611195087433, -0.18818295001983643, 0.06242218613624573, 0.1232745349407196, 0.1641770452260971, 0.4341128170490265, -0.5799494981765747, 0.11396924406290054, 0.21497663855552673, 0.9414379596710205, 0.5513274073600769, 0.6641457676887512, -0.1682748943567276, -0.3109704554080963, 0.5413945913314819, 0.15102329850196838, -0.5586208701133728, -0.43516263365745544, 0.15715910494327545, -0.45839616656303406, -0.6292192935943604, 0.15529072284698486, -0.8379026651382446, -0.3920353949069977, -0.24537970125675201, 0.4063236713409424, -0.36832600831985474, -0.06736289709806442, 0.11071451008319855, -0.3370225429534912, 0.04254358261823654, 0.022303089499473572, -0.9628397226333618, 0.029412873089313507, 0.6916535496711731, 0.6617225408554077, -0.15351848304271698, -0.10366494953632355, -0.5467941164970398, -0.016443418338894844, 0.02056526578962803, 1.233569860458374, -0.5045784115791321, -0.4861043393611908, -0.23978348076343536, -0.11060883849859238, 0.03803173080086708, -0.4235643744468689, 1.0719387531280518, 0.04482300207018852, 0.6669846773147583, 0.28993451595306396, -0.42098695039749146, 0.03223405033349991, 0.32995960116386414, -0.7473490238189697, 1.02031672000885, -0.4266223609447479, -0.6584575772285461, 0.4194454252719879, -0.7604802846908569, -0.5032042264938354, 0.1536676585674286, -0.16007429361343384, -0.7774761915206909, -0.0330229178071022, 0.7689288854598999, 0.7560356259346008, 0.044371090829372406, 0.2331608086824417, -0.15162351727485657, -0.5477266311645508, 0.3232721984386444, -0.8244169354438782, 0.32048964500427246, -0.018495425581932068, -0.6438550353050232, 0.09689552336931229, -0.6502755880355835, 0.05556819587945938, 0.07009539753198624, -0.2597549259662628, -0.4265415370464325, -0.3239481747150421, 0.6272438168525696, -0.08262794464826584, 0.2361261546611786, -0.7872810363769531, 0.20118291676044464, -0.3715381920337677, 0.4121257960796356, 0.699406623840332, -0.39424556493759155, 0.2896442413330078, -0.5459613800048828, 0.17111468315124512, -0.18842563033103943, 0.2269626408815384, -0.460105299949646, -0.6277968883514404, -0.37648117542266846, -0.6701905131340027, 0.18887712061405182, 0.4366443455219269, -0.4730711579322815, 0.9002938270568848, -0.41300421953201294, -0.5338813066482544, -0.8399604558944702, -0.1054459884762764, 0.37798649072647095, 0.14626041054725647, 0.4112461805343628, -0.30014103651046753, -0.5209010243415833, -0.7244319319725037, -0.7510681748390198, -0.3660573363304138, -0.2722656726837158, 0.2684614658355713, 0.3530494272708893, -0.29472821950912476, 1.001564621925354, -0.22293734550476074, -1.012160062789917, -0.06198635324835777, 0.558264970779419, 0.04304184019565582, 0.32344430685043335, 0.5783549547195435, -1.1242141723632812, -0.4950467646121979, -0.12493661791086197, -0.691293478012085, -0.13499970734119415, 0.22805048525333405, 0.6890375018119812, 0.14345243573188782, 0.43292495608329773, -0.6187986731529236, 0.5606109499931335, 0.369581401348114, -0.3234264552593231, 0.587617814540863, 0.017061173915863037, 0.6313182711601257, -1.1315245628356934, 0.04898318275809288, 0.08109857887029648, -0.3199005424976349, -0.5108338594436646, -0.5310263633728027, -0.21629296243190765, 0.02665107324719429, -0.14452867209911346, 0.720862865447998, -0.061241574585437775, 0.12886792421340942, -0.09309787303209305, 0.22011138498783112, 0.2576988935470581, 0.476163774728775, -0.17115966975688934, 0.6582035422325134, 0.22434014081954956, -0.24792946875095367, 0.5631090998649597, 0.500299334526062, -0.17735974490642548, 0.9173023104667664, -0.5791105628013611, 0.29807886481285095, -0.1603647768497467, 0.36014464497566223, -1.4918681383132935, -0.27574852108955383, -0.2716490924358368, -1.1307144165039062, 0.07834265381097794, 0.08709438890218735, -0.5917366743087769, -0.28390800952911377, -0.7849318981170654, -0.03909942880272865, 0.15641555190086365, -0.6635529398918152, 0.8451039791107178, 0.22504469752311707, -0.34257134795188904, -0.3978629410266876, -0.6932457089424133, 0.3506626486778259, -0.20705246925354004, -0.38337671756744385, 0.406840980052948, -0.193380206823349, 0.12130171805620193, -0.3085123896598816, -0.031046058982610703, 0.03294631838798523, -0.10664194822311401, 0.4519908130168915, 0.08786740899085999, 0.004191470332443714, 0.027273282408714294, -0.19950899481773376, -0.2109781801700592, 0.00039506496977992356, -0.15293140709400177, 0.5811364650726318, -0.47739991545677185, -0.14190877974033356, -1.1055859327316284, 0.22215081751346588, 1.0406497716903687, 0.03399043530225754, 0.10771358758211136, 1.0385178327560425, 0.0002588268253020942, 0.13084512948989868, -0.779718816280365, -0.6366360783576965, -0.5035526156425476, 0.5876340270042419, -0.11221688240766525, -0.48966896533966064, 0.26446419954299927, 0.16613665223121643, -0.010489033535122871, 0.17755280435085297, 0.5033125281333923, -0.33865365386009216, 1.5220224857330322, 1.0261955261230469, -0.4197165369987488, 0.6920964121818542, -0.05652058124542236, 0.08203472942113876, -0.48904022574424744, -0.3646464943885803, -0.8472367525100708, -0.23991085588932037, -0.6777552962303162, 0.02457302063703537, 0.405098021030426, -0.37870368361473083, 0.0475120022892952, 0.33917877078056335, -0.7810397148132324, 0.24378161132335663, 0.4052811563014984, 0.0827079638838768, 0.7855049967765808, 0.42043444514274597, -0.027385380119085312, -0.23773938417434692, -0.24613426625728607, -0.6045965552330017, 1.1082735061645508, 0.3105772137641907, 0.6984252333641052, 0.030239269137382507, 0.5565506815910339, 0.883619487285614, 0.48545098304748535, -1.2372814416885376, 0.6060181260108948, -0.496675968170166, -0.36624473333358765, -0.26627877354621887, -0.44150975346565247, -1.0232865810394287, -0.26713457703590393, -0.39821773767471313, -0.58574378490448, -0.14432670176029205, 0.14776095747947693, 0.03749437630176544, 0.3569362163543701, -0.6958438158035278, 0.5704894661903381, -0.06159479543566704, 0.078542061150074, 0.0017360562924295664, -0.5811730027198792, 0.11835452914237976, 0.06562842428684235, 0.39367565512657166, 0.0884837657213211, 0.311367928981781, 0.9362674355506897, 0.2084406465291977, 0.5618352293968201, 0.05121608078479767, 0.10254087299108505, -0.18905708193778992, -0.10862594097852707, 0.15477459132671356, 0.009158114902675152, -0.20598028600215912, 0.24477329850196838, -0.019322913140058517, -0.3321460485458374, -0.6680502891540527, 0.5585567355155945, -0.7115423083305359, -0.09103994816541672, -0.22991733253002167, -0.6984879374504089, -0.40088918805122375, 0.22248989343643188, 0.3142947852611542, 0.5428720116615295, -0.2579761743545532, 0.4156145453453064, 0.5064950585365295, 0.2334769070148468, 0.5648198127746582, 0.37962040305137634, -0.12273599207401276, -0.4776589870452881, 1.0576238632202148, -0.41487911343574524, -0.10723455250263214, 0.37018585205078125, 0.5465906858444214, -0.5274860262870789, -0.21618139743804932, -0.3258388638496399, 0.15563376247882843, -0.5321179628372192, -0.08081100136041641, -0.9124343395233154, 0.05608375370502472, -0.610008716583252, -0.016540145501494408, -0.5923539400100708, -0.4269128143787384, -0.17170430719852448, 0.1329793930053711, 0.5105240345001221, 0.7945465445518494, 0.072818323969841, 0.35163435339927673, -0.7473499178886414, 0.39445433020591736, 0.47308528423309326, 0.22239860892295837, -0.07215803861618042, -0.44641920924186707, 0.14975762367248535, 0.0032426188699901104, -0.5377167463302612, -0.4993452727794647, 0.588571310043335, 0.34446969628334045, 0.38294729590415955, 0.39007505774497986, 0.05418369919061661, 0.23890487849712372, -0.007747667375952005, 0.8453711867332458, 0.43673962354660034, -0.8563823699951172, 0.37275558710098267, -0.4063752591609955, 0.31259292364120483, 0.6371764540672302, 0.3502826392650604, -0.33789369463920593, -0.47900182008743286, -0.6302834153175354, -0.853412389755249, 0.37145715951919556, 0.45921528339385986, 0.26824814081192017, 0.1840491145849228, 0.16776122152805328, 0.11398819088935852, 0.5540928244590759, -0.7897564172744751, -0.32588258385658264, -0.580022931098938, -0.6638283729553223, -0.06797710061073303, 0.1602509468793869, 0.10211213678121567, -0.2690282166004181, 0.634751558303833, -0.32457056641578674, 0.5803510546684265, 0.08518712967634201, 0.18693186342716217, 0.09641104191541672, 0.6700529456138611, 0.38338735699653625, -0.1076393872499466, -0.5654167532920837, 0.20206786692142487, -0.22999799251556396, -1.052018404006958, -0.019126664847135544, 0.3639877736568451, 0.1433483511209488, 0.31274059414863586, 0.2924112379550934, 0.46297168731689453, 0.06031712144613266, -0.4272056818008423, 0.7304508686065674, -0.4909833073616028, -0.04167590290307999, -0.008082377724349499, -0.27904683351516724, -0.019755851477384567, 0.10601742565631866, 0.7887362837791443, 0.3943590223789215, 0.2597518563270569, -1.0314584970474243, 0.664233922958374, 0.6581727862358093, -1.0659291744232178, -0.39551761746406555, 0.5754175782203674, 0.3751724064350128, -0.5038031339645386, 0.15205489099025726, -0.08301994204521179, -0.9645490050315857, 0.45107734203338623, 0.1787720024585724, 0.8204459547996521, -0.33980050683021545, 0.09407481551170349, -0.3014301359653473, 0.04912795498967171, 0.09983934462070465, 0.2308826893568039, -0.3996054232120514, -0.6564146280288696, 0.03531571477651596, -0.49069973826408386, -0.46299368143081665, 0.32055583596229553, -0.7081756591796875, 0.4804925322532654, -0.1943698674440384, -0.48140349984169006, 0.47174131870269775, 0.03569537401199341, -0.5357587337493896, 0.14037536084651947, 0.2063319981098175, 0.33301058411598206, -0.9363817572593689, 0.5827515125274658, 0.7502757906913757, -0.26674824953079224, -0.6321002840995789, 0.4708912968635559, 0.165114164352417, -0.6690140962600708, 0.5424829125404358, 0.6012203097343445, -0.5461559295654297, 0.14134913682937622, -0.6883158087730408, 0.08108901977539062, 0.7801355719566345, 0.20932085812091827, -0.2534676492214203, -0.04575695842504501, -0.05023372173309326, 0.5391925573348999, -0.23730313777923584, 0.7127475142478943, 0.5069714784622192, 0.5976811647415161, 0.02669057436287403, -1.3802299499511719, -0.31146079301834106, -0.38517647981643677, -0.4061909317970276, -0.11238405108451843, -0.6646665930747986, 0.8923518061637878, -0.009253451600670815, -0.0855642557144165, 0.36235105991363525, 0.6665990948677063, 0.3175649046897888, 0.838608980178833, 0.6478684544563293, 0.10042212158441544, 0.5131377577781677, -0.18826675415039062, 0.7651541829109192, -0.08770483732223511, 0.4063645303249359, 0.7058022618293762, -0.09633772075176239, 0.7343797087669373, 0.44149914383888245, 0.16091881692409515, 0.7010340690612793, 0.0015452051302418113, -0.04141690954566002, 0.4830312132835388, -0.1285061091184616, -0.22082100808620453, -0.08298973739147186, -0.5127145051956177, -0.1343195140361786, 0.9220209121704102, 0.2092709094285965, -0.2676435708999634, -0.18823979794979095, 0.33854982256889343, 0.23941592872142792, 0.5469845533370972, -0.23001126945018768, 0.8018923997879028, 0.05875227972865105, -0.5246010422706604, 0.5054879188537598, -0.0981137603521347, 1.4388716220855713, -0.5076850056648254, -0.09910465776920319, -0.17120978236198425, 0.4701540172100067, -0.43036696314811707, -0.766900360584259, -0.06621809303760529, -0.10393853485584259, -0.4000380039215088, -0.3565885126590729, 0.5157632827758789, -0.45704907178878784, -0.20792502164840698, 0.42965075373649597, 0.3649204671382904, 0.19066260755062103, -0.40541425347328186, -0.7585819959640503, 0.058041416108608246, -0.1599719524383545, -0.2696252465248108, 0.16492219269275665, 0.5926425457000732, -0.07254005968570709, 0.6453264355659485, 0.7111274600028992, 0.04760735109448433, -0.2822241485118866, 0.36093246936798096, 0.8280694484710693, -0.6277528405189514, -0.7726059556007385, -0.7336552739143372, 0.15374262630939484, -0.2760228216648102, -0.18399672210216522, 0.9454377889633179, 0.42483752965927124, 0.3940506875514984, -0.03541664779186249, 0.8202232718467712, 0.2649555504322052, 0.4474409222602844, -0.3346770703792572, 1.0527080297470093, -0.559022843837738, 0.2829912304878235, -0.7439696192741394, -0.6855884790420532, -0.318490594625473, 0.5853188633918762, -0.08207032084465027, 0.2887622117996216, 0.6862288117408752, 0.8261974453926086, -0.15598943829536438, 0.6098395586013794, 0.30775684118270874, 0.21378788352012634, 0.48894673585891724, 0.26594993472099304, 0.5849734544754028, -0.7041470408439636, 0.857577919960022, 0.07544784247875214, -0.41791996359825134, -0.3736594617366791, -0.9508751034736633, -1.115013599395752, -0.7603253126144409, -0.22668904066085815, -0.44084104895591736, -0.07137849181890488, 0.8394872546195984, 0.7701516151428223, -0.8016248345375061, -0.1559089720249176, 0.2547058165073395, -0.04268157482147217, -0.4134369492530823, -0.3795854449272156, 0.3576010763645172, 0.057608041912317276, -0.8266951441764832, 0.540764570236206, 0.36305496096611023, -0.09496096521615982, -0.33563435077667236, 0.2370273321866989, -0.3189643323421478, 0.18870292603969574, 0.5634884238243103, 0.05456060916185379, -0.5463327169418335, -0.1962016075849533, 0.0923856869339943, -0.15800794959068298, 0.05961786210536957, 0.8652834892272949, -0.9104868173599243, 0.44612932205200195, 0.400073766708374, 0.3460898697376251, 0.4577038586139679, 0.1619560271501541, 0.2943328022956848, -1.02347993850708, 0.18402691185474396, 0.3707423508167267, 0.04977663978934288, 0.8612813949584961, -0.4969058930873871, -0.020380783826112747, 0.5774387121200562, -0.6097300052642822, -0.8738364577293396, -0.027598846703767776, -1.2446532249450684, 0.03955050930380821, 0.8041241765022278, 0.3116062879562378, -0.19510304927825928, -0.668004035949707, -0.296885222196579, 0.39530718326568604, -0.8840042948722839, 1.2540571689605713, 0.3737976849079132, -0.1972634345293045, 0.25170034170150757, -0.4187854528427124, 0.5797431468963623, 0.6838705539703369, -0.734424352645874, 0.08966138958930969, -0.019666973501443863, 0.3233925700187683, 0.5335351228713989, 0.596598744392395, -0.2568015158176422, 0.24807797372341156, -0.4512985944747925, 0.29805371165275574, -0.33797603845596313, -0.4066700339317322, -0.27200108766555786, 0.28844213485717773, -0.4284997284412384, -0.17983531951904297 ]
http://arxiv.org/abs/2406.17663v1
http://arxiv.org/pdf/2406.17663v1
LLM-ARC: Enhancing LLMs with an Automated Reasoning Critic
2024-06-25T15:52:15
2024-06-25T15:52:15
Aditya Kalyanpur, Kailash Saravanakumar, Victor Barres, Jennifer Chu-Carroll, David Melville, David Ferrucci
cs.CL
cs.CL, cs.AI, cs.LO
We introduce LLM-ARC, a neuro-symbolic framework designed to enhance the logical reasoning capabilities of Large Language Models (LLMs), by combining them with an Automated Reasoning Critic (ARC). LLM-ARC employs an Actor-Critic method where the LLM Actor generates declarative logic programs along with tests for semantic correctness, while the Automated Reasoning Critic evaluates the code, runs the tests and provides feedback on test failures for iterative refinement. Implemented using Answer Set Programming (ASP), LLM-ARC achieves a new state-of-the-art accuracy of 88.32% on the FOLIO benchmark which tests complex logical reasoning capabilities. Our experiments demonstrate significant improvements over LLM-only baselines, highlighting the importance of logic test generation and iterative self-refinement. We achieve our best result using a fully automated self-supervised training loop where the Actor is trained on end-to-end dialog traces with Critic feedback. We discuss potential enhancements and provide a detailed error analysis, showcasing the robustness and efficacy of LLM-ARC for complex natural language reasoning tasks.
[ -0.48032769560813904, -0.8823192119598389, 0.5776574015617371, 0.11456596106290817, 0.15432673692703247, 0.3907259702682495, -0.4034424424171448, -0.47361791133880615, 0.2708366811275482, 0.6974871754646301, -0.6081260442733765, -0.4412282407283783, -0.37613609433174133, 0.43840327858924866, -0.4177359640598297, 0.671623706817627, -0.13238294422626495, 0.2219109982252121, -0.38480567932128906, -0.12883085012435913, -0.16649089753627777, -0.5046341419219971, -0.8337165117263794, -0.6112734079360962, 0.42125368118286133, 0.4024268388748169, 0.43160581588745117, 0.3803522288799286, 0.664050817489624, 0.3907143175601959, 0.2194114625453949, 0.40275833010673523, -0.05012470483779907, 0.28412216901779175, -0.4921106696128845, -0.46947193145751953, -0.6116986274719238, -0.20104873180389404, 0.4200780391693115, 0.5853636860847473, -0.17472003400325775, 0.04123669117689133, -0.2597885727882385, 0.716353714466095, -0.6626261472702026, 0.35942548513412476, -0.5647987127304077, -0.03437008336186409, 0.34088945388793945, -0.18271569907665253, -0.539921760559082, -0.402397096157074, -0.0452994629740715, -0.7136300802230835, -0.23446612060070038, 0.348339706659317, 0.6784597039222717, 0.8515496253967285, -0.45531561970710754, -0.20998378098011017, -0.7394734621047974, 0.5917519927024841, -0.8127204179763794, 0.0481022484600544, 0.26111656427383423, 0.4984389841556549, -0.17862647771835327, -0.7207887768745422, -0.8215166330337524, -0.7188234329223633, 0.007721554487943649, 0.060919929295778275, -0.515676736831665, 0.5154970288276672, 0.47046399116516113, 0.30712977051734924, -0.2556321918964386, 0.2320128232240677, 0.03137529641389847, -0.2711293399333954, 0.8168806433677673, 0.2898797392845154, 0.2583268880844116, -0.055760182440280914, -0.17615105211734772, 0.029199378564953804, -0.5831345319747925, -0.11757904291152954, 0.39591184258461, -0.12375099956989288, 0.41487622261047363, 0.771601676940918, -0.4860077500343323, 0.571342408657074, -0.019618738442659378, 0.11644411087036133, 0.1577749252319336, -0.14478875696659088, -0.16444388031959534, 0.1836145967245102, 0.8144136667251587, 0.3747164011001587, 0.7721120119094849, 0.14709343016147614, -0.42894428968429565, 0.48761123418807983, 0.3760932981967926, -0.5733770728111267, -0.3306117057800293, 0.11789575219154358, -0.005534149240702391, -0.4291764199733734, -0.09649074077606201, -0.3415762186050415, -0.5954040884971619, -0.7433093190193176, 0.34775853157043457, -0.5830325484275818, -0.23403936624526978, 0.38869842886924744, 0.03459667041897774, 0.3180440366268158, 0.6092130541801453, -0.6181623339653015, 0.608542799949646, 0.7103039622306824, 0.17199072241783142, -0.24798595905303955, -0.4068320393562317, -0.591921865940094, 0.06746520102024078, -0.44577860832214355, 1.2606719732284546, -0.6452910900115967, 0.24277980625629425, -0.21156620979309082, -0.26027169823646545, -0.043283671140670776, -0.7135270833969116, 0.5334884524345398, -0.3244068920612335, 0.03746325895190239, -0.08396938443183899, -0.6984319090843201, -0.40310415625572205, 0.7485431432723999, -0.5516290664672852, 1.1121318340301514, 0.04685019701719284, -0.533085823059082, 0.059638023376464844, -0.7420040965080261, -0.4456489384174347, -0.1673291027545929, -0.35086217522621155, -0.07618018239736557, 0.034704457968473434, 0.5620089769363403, 0.20614300668239594, -0.508226752281189, 0.26176461577415466, -0.4307751953601837, -0.34650641679763794, 0.30947867035865784, -0.37461820244789124, 0.4945094883441925, -0.03678083047270775, -0.48403704166412354, 0.5312944650650024, -0.7910088300704956, 0.15883782505989075, 0.020917341113090515, -0.08481588214635849, 0.13154393434524536, 0.1351631134748459, -0.38361820578575134, 0.1755061149597168, -0.011546889320015907, -0.42589035630226135, 0.22997310757637024, -0.6516032814979553, 0.3707038462162018, 0.915210485458374, 0.079034224152565, 0.38803568482398987, -0.4037330150604248, 0.6508692502975464, -0.11147841066122055, -0.012625397183001041, -0.13539573550224304, -0.1909409463405609, -1.307215929031372, -0.2408362329006195, 0.15050078928470612, 0.7657061815261841, -0.8941224217414856, 0.7737170457839966, 0.005709983874112368, -0.32008787989616394, -0.4887864589691162, 0.17381615936756134, 0.22006936371326447, 0.665261447429657, 0.31961581110954285, -0.2932114899158478, -0.6669523119926453, -0.8869442939758301, -0.23378215730190277, -0.6632375121116638, 0.12737537920475006, 0.18206210434436798, 0.5591927766799927, -0.46540921926498413, 0.9883973002433777, -0.3298830986022949, -0.22206953167915344, -0.5637786984443665, -0.0968022570014, 0.006783293094485998, 0.248843252658844, 0.08399629592895508, -0.07504265755414963, -0.24546876549720764, -0.007617644499987364, -0.9486730694770813, -0.4374068081378937, -0.1287500113248825, -0.00496329553425312, 0.5377246737480164, 0.5938248634338379, -0.624018132686615, 0.3966273069381714, 0.23254850506782532, -0.47313207387924194, 0.989274263381958, -0.15520066022872925, 0.07630650699138641, -0.8123237490653992, -0.08567095547914505, -0.0630478486418724, -0.259721577167511, -0.37717142701148987, 0.06233407184481621, -0.2588202655315399, 0.06436215341091156, -0.26214322447776794, 0.5885623693466187, -0.30077821016311646, -0.18288271129131317, -0.4492829442024231, 0.36736711859703064, 0.08948705345392227, 0.6727182865142822, 0.02938951924443245, 0.5464847683906555, 0.7565944194793701, -0.4922782778739929, 0.9181164503097534, -0.018129220232367516, -0.332052081823349, 0.7511645555496216, -0.605178713798523, 0.13865149021148682, -0.14146669209003448, 0.449738085269928, -0.7045294642448425, -0.13925284147262573, 0.3501920998096466, -0.3123609125614166, 0.047133591026067734, 0.28463155031204224, -0.6955623030662537, -0.39788636565208435, -0.265244722366333, 0.028975894674658775, 0.29573965072631836, -0.5054810047149658, 1.049354910850525, 0.15819892287254333, -0.0030417402740567923, -0.6591945886611938, -0.5278066992759705, 0.26304200291633606, 0.02263759821653366, -0.743546724319458, -0.07173638045787811, -0.16995592415332794, -0.7845324277877808, -0.09698817133903503, -0.23576906323432922, 0.057415980845689774, 0.13964679837226868, 0.11391845345497131, 0.21354909241199493, -0.33672896027565, 0.28799569606781006, 0.007776409853249788, -0.39744237065315247, 0.4582366347312927, -0.2914135754108429, 0.4859643280506134, -0.66311115026474, -0.7642917037010193, -0.645072877407074, 0.13808882236480713, 0.35437336564064026, -0.3293409049510956, 0.13258548080921173, 0.3880438208580017, -0.315142959356308, -0.5725832581520081, -0.7943512201309204, -0.4767813980579376, -0.46608805656433105, 0.31267133355140686, -0.29489579796791077, -0.8401282429695129, 0.46789997816085815, -0.22606566548347473, -0.08003713935613632, 0.49191945791244507, 0.4897277355194092, -0.23482833802700043, 1.0022703409194946, 0.3655746579170227, -0.12608525156974792, 0.24109026789665222, -0.35473960638046265, 0.1641261875629425, -0.7780485153198242, -0.17433065176010132, -0.3226022720336914, -0.3069108724594116, -0.18056176602840424, -0.3825705051422119, 0.03445930406451225, 0.015834461897611618, -0.5857455134391785, 0.1859831064939499, -0.48287275433540344, 0.6728228330612183, 0.3842719495296478, -0.0813879743218422, 0.6676901578903198, -0.2083835005760193, -0.22811350226402283, 0.06798574328422546, -0.558714747428894, -0.6109226942062378, 0.8767252564430237, 0.43180733919143677, 1.0529414415359497, 0.005992163438349962, 0.43389689922332764, 0.2660645544528961, 0.4657273590564728, -0.9965924620628357, 0.8895254731178284, 0.24984538555145264, -0.40503278374671936, -0.16216310858726501, -0.42346838116645813, -0.36762404441833496, 0.2101854383945465, -0.20818978548049927, -0.6349979639053345, -0.14987047016620636, 0.24761463701725006, -0.29300543665885925, 0.31126198172569275, -0.6781526803970337, 0.7349066734313965, -0.4846121370792389, -0.050042688846588135, -0.4751662015914917, -0.5233533382415771, 0.30198225378990173, 0.15826673805713654, -0.2408846914768219, -0.3172987103462219, -0.15811659395694733, 0.38095784187316895, -0.4210484027862549, 0.8623763918876648, 0.09026593714952469, -0.028094373643398285, 0.42869535088539124, 0.29470816254615784, 0.6093400120735168, 0.22775588929653168, -0.12351641803979874, -0.07904292643070221, -0.2716642916202545, -0.047495462000370026, -1.0649241209030151, 0.5442290306091309, -0.6608198881149292, -0.9052193760871887, -0.6333153247833252, -0.6184092164039612, -0.3531861901283264, 0.07361233234405518, -0.21613480150699615, 0.45404183864593506, -0.01663445308804512, 0.0355195589363575, 0.7645680904388428, -0.2329058051109314, 0.3496401607990265, 0.5414126515388489, -0.3599945604801178, -0.5686361193656921, 0.6122338771820068, -0.34942686557769775, 0.3837215006351471, 0.3275776207447052, 0.17296385765075684, -0.2878974974155426, -0.403817355632782, -0.36445069313049316, 0.2973133325576782, -0.9740584492683411, -0.27480772137641907, -0.6614585518836975, -0.435463547706604, -0.22256684303283691, -0.06799609959125519, -0.415856271982193, -0.6754504442214966, -0.11916840821504593, -0.3098600506782532, 0.3969659209251404, 0.7098376750946045, 0.13736377656459808, 0.16197805106639862, -0.22773313522338867, 0.23373110592365265, 0.2834011912345886, 0.28632429242134094, -0.15860748291015625, -0.5016157627105713, 0.11250194162130356, -0.2777091860771179, -0.35053834319114685, -0.549041748046875, 0.1951724737882614, 0.2696867883205414, 0.5583542585372925, 0.38645127415657043, 0.2088886797428131, 0.526091456413269, -0.41163554787635803, 0.5378866791725159, 0.13774290680885315, -0.9500458836555481, 0.6921622157096863, -0.2046133279800415, 0.4055458605289459, 0.726012110710144, -0.08489980548620224, -0.3666684627532959, -0.7451633214950562, -0.562421977519989, -0.53257817029953, 0.5560541749000549, 0.1002516895532608, -0.06668531894683838, 0.0001510956062702462, 0.24976018071174622, -0.17221997678279877, 0.06756006926298141, -0.805219292640686, -0.07453103363513947, -0.041761305183172226, -0.3112829029560089, 0.021592840552330017, 0.006097173318266869, -0.23179642856121063, -0.5089026093482971, 0.7861266732215881, -0.6511659622192383, 0.11395977437496185, 0.3546591103076935, -0.25964197516441345, 0.013034984469413757, 0.1683809757232666, 0.4796835780143738, 0.6857303380966187, -0.0007068937411531806, 0.3098306953907013, 0.5476683974266052, -0.13344576954841614, 0.10957466810941696, 0.12768489122390747, 0.10354822874069214, -0.1607939600944519, 0.5322085022926331, 0.8011367917060852, 0.015407818369567394, -1.0430444478988647, 0.4057477116584778, -0.1771301031112671, -0.30924397706985474, -0.6990247368812561, 0.3528707027435303, 0.028796501457691193, 0.44061797857284546, 0.10662274807691574, 0.20243053138256073, 0.024538086727261543, -0.4871419072151184, 0.46701425313949585, 0.3135208189487457, -0.37399882078170776, -0.032479770481586456, 0.4700949192047119, 0.2628951072692871, -0.337608277797699, 0.8287861943244934, -0.1237974762916565, -0.6736129522323608, 0.7188074588775635, 0.5752217173576355, 1.0417745113372803, 0.002195384120568633, 0.17048293352127075, 0.287739098072052, 0.4948151111602783, -0.05677536129951477, 0.23324617743492126, -0.15358899533748627, -0.8929950594902039, -0.8148495554924011, -0.4479999244213104, -0.7229410409927368, -0.3722652196884155, -0.287895530462265, 0.38012075424194336, -0.7167454957962036, -0.005233250092715025, -0.2402520626783371, 0.1357206553220749, -0.20419852435588837, 0.11026126146316528, 0.16668076813220978, 1.1770926713943481, -0.4482574462890625, 0.9311469793319702, 0.644725501537323, -0.44246622920036316, -0.9595317840576172, -0.08517501503229141, -0.007996169850230217, -0.7181651592254639, 0.6359113454818726, 0.37790536880493164, -0.4117961823940277, 0.015669090673327446, -0.46965593099594116, -0.709507167339325, 1.0630327463150024, 0.7142224907875061, -0.46978703141212463, 0.07876621186733246, 0.09520860761404037, 0.807273268699646, -0.6133254766464233, 0.6344131827354431, 0.7702922224998474, 0.49554920196533203, 0.25448721647262573, -0.6931941509246826, 0.05331158638000488, -0.42143288254737854, -0.1799321174621582, 0.09166323393583298, -0.4140142798423767, 0.3292812407016754, -0.421960711479187, 0.09560433775186539, -0.060276541858911514, 0.8563032150268555, 0.5705041289329529, 0.21903671324253082, 0.6624959111213684, 0.8846194744110107, 0.7462487816810608, -0.26344069838523865, 1.2316519021987915, -0.40052783489227295, 0.07720281928777695, 1.2085294723510742, -0.5026383996009827, 0.7545982003211975, 0.5114485025405884, 0.18090572953224182, 0.8917015790939331, 0.45252180099487305, -0.009955043904483318, -0.011996250599622726, 0.5618337988853455, -0.42812421917915344, -0.4848618805408478, -0.19956588745117188, 0.03586694225668907, 0.31687411665916443, 0.2918878495693207, -0.20042583346366882, -0.11014527082443237, -0.17827770113945007, -0.02491145394742489, 0.33680760860443115, -0.33708393573760986, 0.8452519774436951, 0.33845987915992737, -0.9210999608039856, 0.4065227508544922, -0.13570640981197357, 0.5286972522735596, -0.5306306481361389, 0.008407306857407093, -0.2801417112350464, 0.5206071734428406, -0.3888879120349884, -0.7926438450813293, 0.5688424706459045, 0.061879511922597885, 0.14530254900455475, -0.24606294929981232, 0.8386681079864502, -0.13840600848197937, -0.6122601628303528, 0.4716770648956299, 0.35458868741989136, -0.0011042709229514003, -0.18204064667224884, -0.814628005027771, -0.016003483906388283, -0.16194617748260498, -0.34287580847740173, -0.11075174808502197, 0.38347575068473816, -0.09206393361091614, 1.194993495941162, 0.5333256125450134, 0.0999947190284729, -0.1923903524875641, 0.5474200248718262, 0.952492356300354, -0.7754493951797485, -0.13729611039161682, -0.9548503160476685, 0.477376252412796, -0.26082736253738403, -0.25373777747154236, 0.5685451030731201, 0.36008408665657043, 0.8484059572219849, 0.21698546409606934, 0.5500466227531433, -0.03906192630529404, 0.20119410753250122, -0.4492790699005127, 0.6036204099655151, -0.3376803696155548, 0.5342398285865784, -0.08154792338609695, -0.9745194911956787, -0.5111593008041382, 0.7267963290214539, -0.40951645374298096, -0.06146285682916641, 1.118715763092041, 1.0459150075912476, 0.2379993498325348, 0.05465774983167648, 0.1564226746559143, 0.14704135060310364, 0.35671189427375793, 0.6978704929351807, 1.2340571880340576, -0.19338274002075195, 0.5544840693473816, -0.23843413591384888, -0.1354006975889206, 0.2052566260099411, -0.773485004901886, -1.1814268827438354, -0.14001522958278656, -0.5178402066230774, -0.4107521176338196, -0.03734581544995308, 1.1431158781051636, 0.4737677574157715, -0.8266854882240295, -0.42743080854415894, -0.3602531850337982, 0.2687758207321167, -0.269829124212265, -0.23418821394443512, 0.008027728646993637, -0.7088212370872498, -0.5046653151512146, 0.4966847896575928, 0.5742478966712952, -0.44936737418174744, -0.6218649744987488, -0.3187018930912018, -0.13028064370155334, 0.3281572461128235, 0.576422393321991, 0.12231606245040894, -0.8708423376083374, -0.4652769863605499, 0.14256252348423004, -0.15826921164989471, 0.1417100429534912, 0.6482027173042297, -0.8915910720825195, 0.48011115193367004, 0.451599657535553, 0.9114586114883423, 0.30151471495628357, -0.07696148753166199, 0.9184653162956238, -0.4006839096546173, -0.031144458800554276, 0.630113959312439, 0.5081218481063843, 0.27009883522987366, -0.10274731367826462, 0.7628433704376221, 0.3098635971546173, -0.5232490301132202, -0.8328812718391418, 0.48422202467918396, -1.0912818908691406, -0.08790761232376099, 1.292006492614746, 0.12615472078323364, -0.3064779043197632, 0.08533146977424622, -0.3842121362686157, -0.04796101152896881, -0.33286935091018677, 0.6885544061660767, 0.6495952606201172, -0.45807719230651855, -0.4802718758583069, -0.30110108852386475, 0.4017602801322937, 0.6344683766365051, -1.3548123836517334, -0.05908694863319397, 0.5558277368545532, 0.230206698179245, 0.11641579121351242, 0.4704425632953644, -0.024684621021151543, 0.34389451146125793, -0.15661704540252686, 0.38706791400909424, -0.17314331233501434, -0.3868984282016754, -0.4886557459831238, -0.02203177660703659, 0.2613840699195862, 0.31980928778648376 ]
http://arxiv.org/abs/2406.17650v1
http://arxiv.org/pdf/2406.17650v1
ELIZA Reinterpreted: The world's first chatbot was not intended as a chatbot at all
2024-06-25T15:41:40
2024-06-25T15:41:40
Jeff Shrager
cs.AI
cs.AI, cs.CL, cs.CY, cs.HC
ELIZA, often considered the world's first chatbot, was written by Joseph Weizenbaum in the early 1960s. Weizenbaum did not intend to invent the chatbot, but rather to build a platform for research into human-machine conversation and the important cognitive processes of interpretation and misinterpretation. His purpose was obscured by ELIZA's fame, resulting in large part from the fortuitous timing of it's creation, and it's escape into the wild. In this paper I provide a rich historical context for ELIZA's creation, demonstrating that ELIZA arose from the intersection of some of the central threads in the technical history of AI. I also briefly discuss how ELIZA escaped into the world, and how its accidental escape, along with several coincidental turns of the programming language screws, led both to the misapprehension that ELIZA was intended as a chatbot, and to the loss of the original ELIZA to history for over 50 years.
[ -0.13847321271896362, -1.1764659881591797, 0.6153227686882019, -0.10465648025274277, -0.1189257800579071, -0.10766535997390747, 0.19707652926445007, -0.32088857889175415, 0.532288134098053, 0.330057293176651, -0.816913902759552, 0.009085025638341904, -0.6370604038238525, -0.17652732133865356, -0.8593027591705322, 1.1235684156417847, 0.2806040048599243, -0.7008265852928162, -0.04647376760840416, 0.15456165373325348, -0.17212747037410736, -0.5507792830467224, -0.4261336326599121, -0.22280433773994446, 0.3715823292732239, 0.32222819328308105, 0.7224192023277283, 0.4915737211704254, 0.5587279200553894, 0.268263578414917, 0.025044286623597145, 0.19239607453346252, -0.6562411785125732, -0.24852193892002106, 0.2457626909017563, -0.7683743238449097, -0.048090461641550064, 0.21712945401668549, 0.39018914103507996, 0.641834020614624, 0.0014712064294144511, 0.12674565613269806, 0.10686521232128143, 0.6978736519813538, -0.33633753657341003, 0.16036181151866913, -0.5884791612625122, 0.15681084990501404, -0.2701278626918793, -0.18607275187969208, -0.6108533143997192, -0.20439966022968292, -0.07589402049779892, -0.7493528723716736, 0.09143806248903275, 0.2964234948158264, 1.0636178255081177, 0.3564607799053192, -0.1935645192861557, -0.2069019228219986, -1.1730636358261108, 0.8352288603782654, -0.2346537709236145, -0.22596332430839539, -0.0758608803153038, 0.37874966859817505, -0.58541339635849, -0.9892945289611816, -0.8201941847801208, -0.2889058291912079, 0.02457164227962494, -0.07829093933105469, -0.8393931984901428, -0.2869509160518646, 0.21191079914569855, -0.05790567770600319, -0.4321064352989197, -0.13714200258255005, -0.6269941329956055, -0.3180861473083496, 0.49923405051231384, 0.3091113865375519, 0.5030443072319031, -0.2814681828022003, -0.43427395820617676, 0.27806556224823, -0.49948257207870483, 0.06435931473970413, 0.2792069613933563, 0.3075892925262451, -0.12278309464454651, 0.5620291829109192, -0.06076383218169212, 0.11526127904653549, -0.12081565707921982, 0.093928761780262, -0.061271101236343384, 0.055050045251846313, -0.04753400757908821, -0.20933052897453308, 0.91079181432724, 0.36374548077583313, 0.606173038482666, -0.40733790397644043, 0.3847055435180664, 0.1772814840078354, 0.669648289680481, -0.26664191484451294, -0.2595975995063782, 0.2809484899044037, -0.6009598970413208, -0.3850223124027252, 0.32990238070487976, -0.21016758680343628, -0.192758247256279, -0.012392686679959297, 0.19957804679870605, -0.40717813372612, -0.23861920833587646, -0.32983916997909546, -0.46109044551849365, 0.2858959436416626, 0.27370932698249817, -0.663908839225769, 0.2092580497264862, 1.1927547454833984, 0.7840902209281921, 0.13062436878681183, -0.5250397324562073, -0.04229182004928589, -0.181240513920784, -0.5161154270172119, 0.46484020352363586, -0.2193193882703781, -0.23636001348495483, -0.08659340441226959, 0.31149744987487793, 0.5945362448692322, -0.09558373689651489, 0.3171355128288269, -0.5052940845489502, 0.22757887840270996, 0.25359928607940674, -0.4453012943267822, -0.3021877408027649, -0.06343472748994827, -0.24006259441375732, 0.651092529296875, -0.1775946468114853, -0.66981041431427, 0.4218146502971649, -0.6576192378997803, -0.6608500480651855, 0.15886430442333221, -0.03261648491024971, -0.1804596483707428, 0.2901611924171448, -0.053660858422517776, -0.06629543751478195, -0.087567538022995, 0.5108610391616821, -0.3858424425125122, -0.6554126739501953, 0.29161280393600464, -0.4877936542034149, 1.228554129600525, -0.1646750569343567, -0.38191360235214233, -0.5681151747703552, -0.479715496301651, 0.1506383866071701, 0.445757120847702, 0.1444842666387558, -0.3927674889564514, 0.14752140641212463, -0.12583258748054504, -0.056349340826272964, 0.3292141258716583, -0.8198528289794922, 0.08696849644184113, -0.5212593674659729, 0.7278463840484619, 0.5863121151924133, -0.1663866490125656, 0.37133046984672546, -0.8642885088920593, 0.4078619182109833, -0.376837819814682, 0.5514103770256042, -0.5094558000564575, -0.8360201120376587, -0.7645559310913086, 0.048030611127614975, 0.07708358019590378, 0.5596429705619812, -0.17862777411937714, 0.33688533306121826, -0.23405884206295013, -0.8181992769241333, -0.7235425710678101, -0.18036460876464844, -0.03940606489777565, 0.02342943288385868, 0.15656203031539917, -0.05713789165019989, -0.6752101182937622, -0.9652590155601501, -0.397580623626709, -0.7267937660217285, -0.08351366966962814, 0.38928717374801636, 0.417886883020401, -0.20283237099647522, 1.1281927824020386, -0.5587233901023865, -0.012513197027146816, -0.16019177436828613, -0.03602750599384308, 0.3780760169029236, 0.6271044015884399, 0.6325790882110596, -0.4721956253051758, -0.2815208435058594, -0.23000706732273102, -0.666650116443634, -0.010883520357310772, -0.4707365930080414, -0.6171212196350098, -0.130710169672966, 0.294009268283844, -1.1093823909759521, 0.8579686284065247, 0.33548733592033386, 0.34852534532546997, 0.5189566612243652, -0.21506568789482117, -0.009755343198776245, -1.011178731918335, 0.38796907663345337, -0.7525284886360168, 0.166319340467453, -0.4735235571861267, -0.05562776327133179, -0.07638408988714218, -0.2904408872127533, -0.5155562162399292, 0.6766769289970398, -0.287866473197937, 0.10667065531015396, -0.46328026056289673, 0.48289158940315247, 0.10513094067573547, 0.49220025539398193, -0.44869810342788696, 0.22045809030532837, 0.6337894201278687, -0.5554399490356445, 0.437273770570755, 0.7151780128479004, 0.293647825717926, 0.41239798069000244, -0.5221642255783081, 0.5653904676437378, -0.44925549626350403, 0.04123890772461891, -1.314523696899414, -0.06338084489107132, 0.4698215425014496, -0.866746187210083, -0.03358486667275429, -0.23569126427173615, -0.16542811691761017, -0.5602622032165527, 0.07616699486970901, 0.061065442860126495, 0.6857059001922607, -0.4791407585144043, 0.5515071153640747, 0.6096718311309814, -0.33173125982284546, -0.28387510776519775, -0.9504749178886414, 0.3522747755050659, -0.16489221155643463, -0.7165956497192383, 0.20263822376728058, -0.18758979439735413, -0.5277071595191956, -0.37195199728012085, -0.03170476853847504, -0.1884918212890625, 0.24826174974441528, 0.6649516224861145, 0.42780953645706177, -0.18415801227092743, 0.2421766072511673, 0.04733186960220337, -0.28800469636917114, 0.3016171157360077, 0.13711050152778625, 0.39665520191192627, 0.34215110540390015, -0.4831390976905823, -0.9419254064559937, 0.5475207567214966, 0.5588786602020264, 0.36456525325775146, 0.7693846821784973, -0.05375140905380249, -0.20266470313072205, -0.140223428606987, -0.32606032490730286, -0.19075384736061096, -0.46150290966033936, 0.13475510478019714, 0.04256730154156685, -0.5805893540382385, 0.3075156807899475, -0.0732688158750534, 0.5776808261871338, 0.5154609084129333, -0.02277357131242752, -0.5283776521682739, 0.5719892382621765, 0.7416013479232788, -0.2624983787536621, 0.7691848278045654, 0.13583768904209137, 0.4306246042251587, -0.582775890827179, -0.14449410140514374, -0.5530722141265869, -0.5908358693122864, -0.7957996129989624, 0.11311447620391846, 0.3171800374984741, -0.5139790177345276, -0.4879953861236572, 0.2157910168170929, -0.43555504083633423, 0.30104100704193115, 0.8399791121482849, 0.19992978870868683, 0.24365627765655518, -0.1836179792881012, 0.47995325922966003, -0.16028614342212677, -0.7139378190040588, -0.6902376413345337, 1.307034969329834, 0.03954454883933067, 0.6710103750228882, 0.1376330405473709, 0.803162693977356, 0.501246988773346, 0.2619306445121765, -0.37250611186027527, 0.5610387921333313, -0.03977693244814873, -0.7781102061271667, -0.1992444097995758, -0.09158924967050552, -1.5800254344940186, -0.021722158417105675, 0.04586518183350563, -0.8567311763763428, -0.5016631484031677, 0.131380096077919, -0.6738613843917847, -0.02105884812772274, -0.8192732334136963, 0.7413616180419922, -0.35650235414505005, 0.002143255202099681, -0.045261528342962265, -0.9139496684074402, 0.588941216468811, 0.2886056900024414, 0.3438478112220764, -0.08495747298002243, 0.2810229957103729, 0.5323326587677002, -0.42941975593566895, 0.9312646389007568, 0.0954374447464943, 0.5570316910743713, 0.7507011890411377, 0.4227654039859772, 0.3923705518245697, -0.12458427250385284, 0.4456786513328552, 0.27523675560951233, 0.1104554608464241, -0.4768487513065338, -0.4456787705421448, 0.43395373225212097, -0.8363901972770691, -0.8555486798286438, 0.030133593827486038, -0.36393773555755615, 0.415918231010437, 0.2920750677585602, -0.15387600660324097, 0.37332189083099365, -0.5540343523025513, 0.12382794916629791, -0.021393902599811554, -0.2147253006696701, 0.4937790632247925, 0.29050886631011963, -0.41082924604415894, 0.17945672571659088, 0.31779730319976807, -0.193956196308136, 0.09927868843078613, 0.5779880881309509, 0.22417066991329193, 0.11150678992271423, 0.004607297945767641, -0.23634342849254608, 0.2150004655122757, -0.6290207505226135, 0.22992682456970215, -0.63995760679245, -0.30521395802497864, -0.36074721813201904, -0.17633137106895447, -0.38777676224708557, -0.3749895989894867, -0.520858645439148, 0.049609631299972534, 0.2996664345264435, 0.6107954382896423, 0.09686402976512909, 0.5312784314155579, -1.0186610221862793, 0.1058562844991684, 0.09365113079547882, -0.16951504349708557, -0.10617207735776901, -0.5807114243507385, 0.0456501804292202, 0.19368493556976318, -0.407925009727478, -0.9243527054786682, 0.20497824251651764, 0.19320635497570038, 0.7169504165649414, 0.39921098947525024, 0.10432978719472885, 0.47589945793151855, -0.3521067202091217, 0.8576905727386475, -0.09552166610956192, -0.6354293823242188, 0.5537351369857788, -0.10469604283571243, 0.41660282015800476, -0.039381302893161774, -0.05847322568297386, -0.6806123852729797, -0.48981228470802307, -0.9558133482933044, -0.8610557913780212, 0.6822603344917297, 0.3062429130077362, 0.6951979398727417, 0.19083115458488464, 0.4808863401412964, 0.6901838183403015, 0.20618221163749695, -0.8848572373390198, -0.4490912854671478, -0.04153166711330414, -0.03813297674059868, 0.19307823479175568, 0.19251912832260132, -0.10397788137197495, -0.07929643243551254, 0.3332938551902771, -0.10084200650453568, 0.5257383584976196, -0.11994583904743195, -0.29520541429519653, -0.1798633337020874, 0.04312066361308098, 0.14459466934204102, 0.5268780589103699, 0.42599058151245117, -0.012302759103477001, -0.20514829456806183, -0.1292140781879425, -0.1734534054994583, 0.18605265021324158, -0.45970964431762695, 0.17913047969341278, 0.5468344688415527, 0.7235121130943298, 0.3277992010116577, -0.9306201338768005, 0.39831340312957764, 0.15914274752140045, 0.15529124438762665, -0.7154728174209595, 0.3312498927116394, -0.01830834150314331, 0.5712548494338989, 0.42967689037323, 0.014608650468289852, -0.11886724829673767, -0.8183431029319763, 0.281266987323761, 0.6390537023544312, 0.0032140144612640142, -0.34488025307655334, 0.9611608982086182, -0.03607277572154999, -0.6695919632911682, 0.9297866225242615, 0.1809355616569519, -0.2722029387950897, 0.6716088652610779, 0.3144672214984894, 0.99361652135849, 0.08833100646734238, 0.38705697655677795, 0.45318689942359924, 0.71651291847229, 0.431591659784317, 0.32778480648994446, -0.17258572578430176, -0.6748024225234985, 0.21889841556549072, -0.1737394630908966, -0.2705188989639282, -0.33882540464401245, -0.31271907687187195, 0.18605056405067444, -0.4472396671772003, -0.39787691831588745, 0.29346898198127747, -0.32953935861587524, -0.7807530760765076, -0.14665241539478302, 0.09094135463237762, 0.8761113882064819, -0.6824090480804443, 0.10961048305034637, 0.29944631457328796, -0.24488361179828644, -0.29486286640167236, 0.20487527549266815, 0.11965245753526688, -1.1121083498001099, 0.2899572551250458, 0.05912494659423828, 0.21144938468933105, 0.09988223761320114, -0.9995124340057373, -0.9994937181472778, 0.7492514848709106, 0.10124347358942032, -0.468463271856308, -0.15583407878875732, 0.1565428376197815, 0.5545898675918579, -0.18311378359794617, 0.2443685382604599, 0.3337650001049042, 0.3816460967063904, 0.0253626499325037, -0.9213469624519348, -0.19511663913726807, -0.24664568901062012, -0.053003180772066116, 0.2921837866306305, -0.8247330188751221, 0.9576288461685181, -0.6541524529457092, -0.4006364643573761, 0.5617789030075073, 0.4877985119819641, -0.25077518820762634, 0.33731770515441895, -0.023742280900478363, 0.017565732821822166, 0.5359190106391907, -0.35791024565696716, 0.9365930557250977, -0.17344212532043457, 0.11445688456296921, 0.574576735496521, -0.23001733422279358, 0.49156078696250916, 0.5480649471282959, -0.5448858737945557, 0.3639483153820038, 0.5131670236587524, 0.14575476944446564, 0.5974276661872864, -0.13118276000022888, 0.2229200005531311, -0.06357675045728683, 0.24862265586853027, 0.012154625728726387, 0.6622574925422668, 0.21086890995502472, -0.25378289818763733, -0.06723634153604507, -0.1617988497018814, 0.26822027564048767, -0.23487360775470734, 0.1344117671251297, 0.8300857543945312, 0.09270735830068588, -0.9470612406730652, -0.002127538900822401, -0.29023274779319763, 0.06645672023296356, -0.5450507402420044, -0.0426299162209034, -0.3750372529029846, 0.003341400995850563, 0.21231025457382202, -0.7044079899787903, 0.3057307004928589, -0.11062110215425491, 0.18347474932670593, -0.05259370431303978, 0.4633731245994568, 0.04560608044266701, -0.3976610004901886, -0.11208175867795944, 0.706841766834259, 0.5582976341247559, 0.013685325160622597, -0.5293932557106018, 0.15536846220493317, -0.003921275958418846, -0.2529410421848297, -0.10769058018922806, 0.7404221296310425, 0.16947661340236664, 0.6384237408638, 0.6995199918746948, -0.44512495398521423, 0.07022617757320404, -0.5199107527732849, 0.7443236112594604, -0.9893961548805237, -0.8612251877784729, -1.084694504737854, 0.5940572619438171, 0.21694688498973846, -0.40315738320350647, 0.5746883153915405, 0.35822227597236633, 0.36472415924072266, 0.2854568362236023, 1.1263246536254883, -0.5242028832435608, 0.48242977261543274, -0.2761731445789337, 0.5338600873947144, -0.7311406135559082, -0.181123286485672, -0.4458690583705902, -0.5100737810134888, -0.09030180424451828, 0.37631654739379883, 0.04057438671588898, 0.32117241621017456, 0.6564895510673523, 0.6097155213356018, 0.4763694703578949, 0.38384801149368286, 0.36070990562438965, 0.40050163865089417, 0.19760583341121674, 0.3711213767528534, 1.0297164916992188, -0.33651164174079895, 0.9078603386878967, 0.16547507047653198, -0.31280502676963806, -0.752234935760498, -0.511035144329071, -0.5760454535484314, -0.6771756410598755, -0.1924176663160324, -0.25517040491104126, 0.2289939522743225, 0.8170363306999207, 0.6266953945159912, -0.3102087378501892, 0.23446084558963776, 0.11363622546195984, 0.17919732630252838, -0.5074455738067627, -0.23444151878356934, 0.07274572551250458, 0.020582791417837143, -0.8459101915359497, 0.3427264988422394, 0.3411461412906647, 0.11108523607254028, -0.5144246220588684, 0.1859569251537323, 0.14893479645252228, 0.09504438191652298, 0.1347644329071045, 0.5173359513282776, -0.873534619808197, -0.6055177450180054, 0.20172791182994843, -0.08587540686130524, 0.4316677451133728, 0.529187798500061, -0.5846729874610901, 0.46071889996528625, 0.23207126557826996, 0.39845073223114014, 0.2764853835105896, -0.05326049402356148, 0.5526140928268433, -0.5544295310974121, 0.4615386128425598, 0.30154097080230713, 0.3004494607448578, 0.15130066871643066, -0.45263537764549255, 0.2088167369365692, 0.48620814085006714, -0.5277690887451172, -0.6082922220230103, 0.16883686184883118, -0.7146363854408264, -0.40372738242149353, 0.6457838416099548, -0.0447622686624527, -0.30989372730255127, -0.2254752218723297, -0.5377740263938904, 0.36647889018058777, -0.35180985927581787, 1.4715681076049805, 0.9310463666915894, -0.5485425591468811, -0.12046793103218079, -0.683357298374176, -0.06850285828113556, 0.1328331083059311, -0.6623488664627075, 0.027521710842847824, 0.5564186573028564, 0.02877405472099781, 0.2478426843881607, 0.7481204271316528, 0.2171749472618103, 0.4160323143005371, 0.6289536356925964, 0.3262416124343872, 0.22592973709106445, -0.3749014735221863, 0.3511177599430084, 0.2426733821630478, -0.013860465958714485, -0.5945063829421997 ]
http://arxiv.org/abs/2406.17647v1
http://arxiv.org/pdf/2406.17647v1
Variationist: Exploring Multifaceted Variation and Bias in Written Language Data
2024-06-25T15:41:07
2024-06-25T15:41:07
Alan Ramponi, Camilla Casula, Stefano Menini
cs.CL
cs.CL
Exploring and understanding language data is a fundamental stage in all areas dealing with human language. It allows NLP practitioners to uncover quality concerns and harmful biases in data before training, and helps linguists and social scientists to gain insight into language use and human behavior. Yet, there is currently a lack of a unified, customizable tool to seamlessly inspect and visualize language variation and bias across multiple variables, language units, and diverse metrics that go beyond descriptive statistics. In this paper, we introduce Variationist, a highly-modular, extensible, and task-agnostic tool that fills this gap. Variationist handles at once a potentially unlimited combination of variable types and semantics across diversity and association metrics with regards to the language unit of choice, and orchestrates the creation of up to five-dimensional interactive charts for over 30 variable type-semantics combinations. Through our case studies on computational dialectology, human label variation, and text generation, we show how Variationist enables researchers from different disciplines to effortlessly answer specific research questions or unveil undesired associations in language data. A Python library, code, documentation, and tutorials are made publicly available to the research community.
[ -0.5805137157440186, -0.6617727875709534, 0.31926673650741577, 0.46391376852989197, 0.10905129462480545, 0.47259920835494995, -0.3515538275241852, -0.22348901629447937, 0.49924513697624207, 0.5896213054656982, -0.6301584243774414, -0.5375629663467407, -0.37996751070022583, -0.0651165321469307, -0.21203970909118652, 0.9726876616477966, -0.13671059906482697, 0.011424996890127659, -0.15175935626029968, -0.3891040086746216, -0.22242778539657593, -0.4814906716346741, -0.10686111450195312, -0.4875146746635437, 0.7222076058387756, 0.37423816323280334, 0.6525124907493591, 0.31675636768341064, 0.3313238024711609, 0.28070807456970215, -0.0048052058555185795, -0.027898341417312622, -0.2834013104438782, 0.3384009897708893, -0.21148864924907684, -0.8782925009727478, -0.11249002069234848, -0.04943987727165222, 0.6059020161628723, 1.0960296392440796, -0.0944051742553711, 0.02380514331161976, -0.14818188548088074, 0.6903102993965149, -0.6610976457595825, 0.09642843157052994, -0.34858840703964233, 0.09697531163692474, -0.5105459094047546, -0.025329643860459328, -0.08845216035842896, -0.2448073923587799, 0.22841979563236237, -0.5144304633140564, 0.5537429451942444, -0.2332928627729416, 0.5175230503082275, 0.26087284088134766, -0.6426091194152832, -0.17134462296962738, -0.6756430268287659, 0.8356983065605164, -0.6036321520805359, 0.47192052006721497, 0.2699435353279114, 0.33658552169799805, -0.07704541087150574, -0.5240644812583923, -0.5129286646842957, -0.2764454782009125, -0.06508968770503998, -0.039999861270189285, 0.07940317690372467, 0.0028756551910191774, 0.16919948160648346, 0.8466771245002747, -0.6216439008712769, 0.19424372911453247, 0.11545025557279587, -0.15498845279216766, 0.46225062012672424, 0.342195063829422, 0.560827910900116, -0.1501598358154297, 0.3199627697467804, -0.19588805735111237, -0.32355403900146484, 0.041933052241802216, 0.8574732542037964, 0.3627091646194458, -0.1937863826751709, 0.5634278059005737, -0.2680549919605255, 0.7299949526786804, -0.3713042736053467, 0.28148794174194336, 0.536835253238678, -0.08193691074848175, 0.009127994999289513, -0.7426930069923401, 0.8849583864212036, -0.045029278844594955, -0.36905422806739807, -0.17409344017505646, -0.06121160462498665, -0.08907731622457504, 0.09545540809631348, -0.369162380695343, -0.4450056254863739, 0.2610800862312317, -0.17163881659507751, -0.2454853355884552, 0.05781659483909607, -1.104171633720398, -0.759401798248291, -0.37533700466156006, -0.21357901394367218, -0.5089555382728577, -0.46813932061195374, 0.35805001854896545, -0.3980529010295868, 0.049130912870168686, 0.3500750958919525, -1.0988930463790894, 0.23843395709991455, 0.5908759832382202, 0.6009203195571899, -0.5176836848258972, -0.49185001850128174, -0.22207318246364594, -0.12151722609996796, -0.32749566435813904, 0.5920112729072571, -0.6438140273094177, -0.4037696421146393, 0.15583257377147675, -0.3879128694534302, 0.1034742146730423, -0.46156132221221924, 0.4148743450641632, -0.2597178816795349, 0.27298715710639954, -0.10295868664979935, -0.5550132393836975, -0.01472513098269701, 0.24935322999954224, -0.9698970913887024, 1.1280568838119507, 0.337394118309021, -1.0043554306030273, 0.5188758969306946, -0.6040845513343811, -0.1881820261478424, 0.29966747760772705, -0.7251864075660706, -0.29440468549728394, 0.24639789760112762, 0.04418019950389862, 0.16069714725017548, -0.24871030449867249, 0.24615740776062012, -0.4092811942100525, 0.06879922747612, 0.4908084273338318, -0.4391639530658722, 0.7660790085792542, 0.03670228272676468, -0.2655850946903229, 0.020745357498526573, -0.8516259789466858, -0.04579172655940056, -0.007536233402788639, -0.5970920920372009, -0.38124987483024597, 0.22750639915466309, 0.586647093296051, -0.17593707144260406, 0.18553687632083893, -0.3949239253997803, 0.31652992963790894, -0.28789034485816956, 0.11145652830600739, 0.45226144790649414, -0.31746968626976013, 0.30760377645492554, -0.1667766273021698, 0.7393267750740051, -0.07814241945743561, -0.08080428838729858, -0.09813513606786728, -0.4198077321052551, -0.9070063233375549, -0.33302587270736694, 0.23589633405208588, 0.28843629360198975, -0.6781480312347412, 0.4969269037246704, -0.10458005964756012, -0.45615243911743164, -0.5496793985366821, 0.14871926605701447, -0.021976379677653313, -0.01852850802242756, 0.1707092821598053, -0.47906091809272766, -0.5395203232765198, -0.9093794822692871, -0.5578632950782776, -0.016344934701919556, -0.3042372167110443, 0.37872689962387085, 0.3670646846294403, -0.4958437979221344, 1.1294219493865967, -0.8147113919258118, 0.048048511147499084, -0.430849552154541, 0.6305485963821411, 0.22664572298526764, 0.40700146555900574, 0.5323160290718079, -0.7768715620040894, -0.5876604318618774, 0.16628237068653107, -0.37567630410194397, -0.2925066351890564, -0.2785463035106659, -0.11049667745828629, -0.07641739398241043, 0.25574252009391785, -0.2598094940185547, 0.073084756731987, 0.5436252355575562, -0.11278002709150314, 0.7579115629196167, 0.012424906715750694, -0.18725857138633728, -0.9625969529151917, 0.1875687688589096, 0.07301124930381775, -0.15502311289310455, -0.8312409520149231, 0.3629695177078247, 0.003361613256856799, 0.15207111835479736, 0.1462516486644745, 0.1454569399356842, -0.3229213356971741, 0.2649800181388855, -0.02734648436307907, -0.3707873821258545, -0.19567745923995972, 0.14762617647647858, 0.07644344866275787, 0.6505901217460632, 0.4658752381801605, -0.01377020962536335, 0.3786265254020691, -0.03830952197313309, -0.32096779346466064, 0.32607805728912354, -0.1700609028339386, 0.26683899760246277, -0.09266907721757889, 0.05356733128428459, -0.7824981808662415, -0.5739350914955139, 0.09008048474788666, -0.26274630427360535, 0.24622023105621338, -0.010144392028450966, -0.38106071949005127, -0.21946635842323303, -0.6220799088478088, 0.401162326335907, -0.06283004581928253, -0.27881255745887756, 0.703058123588562, 0.6010129451751709, -0.2048507183790207, -0.8960050940513611, -0.6552396416664124, 0.14174391329288483, -0.16317246854305267, -0.23691482841968536, 0.14195974171161652, -0.4371815323829651, -0.2710537612438202, -0.17200268805027008, -0.12083599716424942, -0.45141467452049255, -0.06492938846349716, -0.048750463873147964, 0.012619264423847198, -0.20652221143245697, 0.05729823186993599, 0.13273580372333527, 0.15918557345867157, -0.03642619028687477, -0.015636809170246124, 0.7726200222969055, -0.37902599573135376, -0.45847591757774353, -0.04088560864329338, 0.5727526545524597, 0.3518178164958954, 0.18549782037734985, 0.2995910048484802, 0.5462491512298584, -0.12635652720928192, -0.29281777143478394, -0.5181447267532349, 0.22957976162433624, -0.4416152536869049, 0.4759630560874939, -0.3612492084503174, -1.0054272413253784, 0.5147174000740051, -0.01702362485229969, 0.05330435559153557, 0.28705599904060364, 0.6450903415679932, 0.23196806013584137, 0.6076495051383972, 0.862632691860199, -0.20007437467575073, 0.6297934651374817, -0.20430214703083038, -0.009836629964411259, -0.5656812787055969, -0.11504802852869034, -0.5193897485733032, 0.04015021026134491, -0.6394347548484802, -0.5868044495582581, 0.13129791617393494, -0.10083455592393875, 0.11053605377674103, 0.12016667425632477, -0.3904394209384918, 0.67384272813797, 0.39988356828689575, -0.18659238517284393, 0.13476836681365967, -0.28266826272010803, -0.0033867675811052322, -0.3607412576675415, -0.4052858054637909, -0.3796769082546234, 1.3023041486740112, 0.3033964931964874, 1.0317226648330688, 0.13642005622386932, 0.8546519875526428, 0.20533737540245056, 0.22464711964130402, -0.8055682182312012, 0.253944993019104, -0.06526925414800644, -0.5104097723960876, -0.319873571395874, -0.6040472388267517, -0.7526249289512634, 0.6477288007736206, -0.12096612900495529, -0.8112950921058655, 0.4245261251926422, 0.2553027868270874, 0.08945479243993759, 0.27364256978034973, -0.6105996966362, 0.673876941204071, -0.05812300369143486, -0.14726632833480835, 0.04424496367573738, -0.7549658417701721, 0.44487062096595764, -0.2398584485054016, 0.32547271251678467, -0.049484461545944214, -0.18337273597717285, 0.46965333819389343, -0.19657295942306519, 1.0170388221740723, 0.17463606595993042, -0.21165479719638824, -0.23167841136455536, 0.31796297430992126, 0.08548343926668167, 0.24445384740829468, 0.06927742063999176, 0.10018876194953918, -0.04916379973292351, -0.44209668040275574, -0.55223548412323, 0.5288998484611511, -0.8901033997535706, -0.3463229238986969, -0.3020961582660675, -0.9031297564506531, -0.3153530955314636, 0.1513131558895111, 0.1776517629623413, 0.09395167231559753, -0.5682974457740784, 0.014683435671031475, 0.6343539357185364, -0.4019247889518738, 0.12479840219020844, 0.3618181645870209, -0.2322373390197754, -0.2249475121498108, 1.1401811838150024, -0.0681910514831543, 0.20990023016929626, 0.7427328824996948, 0.40890467166900635, 0.02805187739431858, -0.34466686844825745, -0.26146262884140015, 0.056737516075372696, -0.7252189517021179, 0.15547214448451996, -0.6156821250915527, 0.03317388519644737, -0.2631152272224426, -0.15992601215839386, -0.44046032428741455, -0.6553221344947815, -0.252526193857193, 0.08770717680454254, -0.014701326377689838, 0.7451544404029846, -0.2346796989440918, 0.30980056524276733, -0.15195314586162567, 0.2595865726470947, 0.4811713397502899, 0.3094067871570587, -0.25880080461502075, 0.07469220459461212, -0.09295051544904709, -0.22953657805919647, -0.42181122303009033, -1.0225811004638672, 0.3540310263633728, 0.12469077110290527, 0.6430888772010803, 0.4597439467906952, -0.30352187156677246, 0.14995776116847992, -0.2995353043079376, 0.8921992182731628, 0.3717736303806305, -1.1832245588302612, 0.2904077172279358, -0.4602300524711609, 0.2275247722864151, 0.5412470102310181, 0.2669251263141632, -1.092737078666687, -0.7720445990562439, -0.4437403380870819, -1.197619915008545, 0.7051880359649658, 0.1679985225200653, 0.1483050137758255, 0.4158824384212494, 0.007475418969988823, 0.7224212884902954, 0.5081004500389099, -0.8461162447929382, -0.4689039885997772, -0.578758716583252, -0.2993440330028534, -0.2143011838197708, -0.03128519281744957, -0.4074467420578003, -0.37451887130737305, 0.29213517904281616, -0.4138750433921814, -0.10688493400812149, -0.29947054386138916, -0.24078138172626495, 0.2317904382944107, 0.5345898270606995, 0.4100323021411896, 0.7210973501205444, -0.18652167916297913, 0.5781056880950928, 0.07991880178451538, -0.48299553990364075, 0.00725298747420311, 0.19646602869033813, -0.13013197481632233, 0.04723862186074257, 0.38393691182136536, 0.7231031060218811, -0.21808010339736938, -0.7466513514518738, 0.476297527551651, -0.13040366768836975, -0.04721839725971222, 0.045110736042261124, 0.086912140250206, 0.2018323689699173, -0.11186622083187103, 0.12208976596593857, -0.06440973281860352, 0.5054588317871094, -0.3708536624908447, 0.09822309762239456, 0.20993749797344208, -0.22332650423049927, -0.3593428432941437, 0.38316139578819275, 0.03951828554272652, -0.3698764741420746, 0.13991490006446838, -0.026514582335948944, -0.30449748039245605, 0.5391516089439392, 0.2988981604576111, 0.8904561400413513, -0.2693415582180023, 0.6819688081741333, -0.21326212584972382, 0.3496749699115753, 0.15017609298229218, 0.26875367760658264, -0.09991643577814102, -0.8646500706672668, -0.38782012462615967, -0.37248319387435913, -0.8506133556365967, 0.3924509584903717, -0.8536311388015747, -0.043585073202848434, -0.2907252311706543, 0.05090021342039108, 0.48464617133140564, -0.23948930203914642, -0.6379022002220154, -0.09328947961330414, 0.07025445252656937, 0.6575918197631836, -1.0489501953125, 0.5196889638900757, 0.8574473857879639, -0.544916033744812, -0.33501872420310974, 0.38482242822647095, 0.017383387312293053, -0.6498786211013794, 0.26142990589141846, 0.03575761243700981, -0.09611136466264725, -0.388868510723114, -0.6992705464363098, -0.5067045092582703, 0.4570760726928711, 0.5836184620857239, -0.3580067455768585, 0.32868891954421997, 0.5620972514152527, 0.777241051197052, -0.18304099142551422, 0.4323571026325226, 0.8679494261741638, 0.24175305664539337, -0.35885825753211975, -0.48487359285354614, 0.003127290168777108, -0.36258643865585327, 0.24366705119609833, 0.2820844054222107, -0.523341715335846, 1.0522626638412476, 0.3003358244895935, 0.12197183817625046, -0.2505825161933899, 0.32379403710365295, -0.05480724573135376, -0.0027078972198069096, 0.39149340987205505, 0.3983258903026581, 0.8658236265182495, 0.03654511645436287, 0.7511671185493469, -0.06442534923553467, 0.5475298762321472, 1.1475811004638672, -0.0899948924779892, 0.417333722114563, 0.6665484309196472, -0.40726473927497864, 0.7729137539863586, 0.5881211161613464, 0.12024423480033875, 0.2092013955116272, 0.5456231832504272, -0.5805551409721375, -0.24781019985675812, 0.10275007039308548, -0.20815090835094452, 0.11478938162326813, 0.532718300819397, -0.006100215949118137, -0.26695704460144043, -0.08359397202730179, -0.17034099996089935, 0.051474276930093765, 0.23615975677967072, 0.5607254505157471, -0.1231982409954071, -0.18862275779247284, 0.33059871196746826, 0.03670016676187515, 0.8005828857421875, -0.5562924146652222, 0.18845528364181519, -0.37923210859298706, -0.10307987034320831, -0.1614830642938614, -0.9272121787071228, 0.13582590222358704, -0.2425101399421692, -0.1464359015226364, -0.05616718530654907, 0.3469814360141754, -0.47768640518188477, -0.23047511279582977, 0.18155547976493835, 0.6001410484313965, 0.04359450936317444, 0.07723436504602432, -0.7065380811691284, -0.02192067913711071, -0.004496727138757706, -0.3591468930244446, 0.25700172781944275, 0.4804404675960541, 0.03932555019855499, 0.7488121390342712, 0.4205993413925171, 0.1967880129814148, 0.27612149715423584, 0.38179871439933777, 1.1630853414535522, -0.529560923576355, -0.4361836016178131, -0.681104302406311, 0.3870006501674652, -0.3278358578681946, -0.6044063568115234, 0.44516491889953613, 0.8805664777755737, 0.8421202898025513, -0.19538070261478424, 1.2744674682617188, -0.2699475884437561, 0.4021351635456085, -0.23442140221595764, 0.46601343154907227, -0.5530406832695007, 0.18005168437957764, -0.27929168939590454, -0.5459108352661133, -0.6130406260490417, 0.31513363122940063, -0.2328709065914154, -0.23714035749435425, 0.7109806537628174, 0.6529200673103333, -0.2822679877281189, -0.006251975893974304, 0.18416598439216614, -0.11989475041627884, 0.6214659214019775, 0.1412777155637741, 0.9818282127380371, 0.1935947686433792, 0.43256333470344543, -0.09988704323768616, -0.5540811419487, -0.16668348014354706, -0.5183869004249573, -0.8538969159126282, -0.576949954032898, -0.060271844267845154, 0.008709825575351715, -0.2124389111995697, 0.8480795621871948, 0.48507070541381836, -0.8030402660369873, -0.7758893370628357, -0.43751993775367737, 0.44258913397789, -0.11686167865991592, -0.2826346457004547, 0.18453337252140045, -0.606295645236969, -0.8124302625656128, 0.3711409270763397, 0.3074827790260315, -0.027157042175531387, -0.5708368420600891, 0.1624898463487625, 0.03790963813662529, 0.19648031890392303, 0.19085818529129028, 0.5119733810424805, -0.5760848522186279, 0.04847491905093193, -0.36199769377708435, -0.1307622343301773, 0.28373801708221436, 1.379333257675171, -0.15991951525211334, 0.8930228352546692, 0.691531777381897, 0.6819949746131897, 0.5968454480171204, -0.4465982913970947, 0.7422030568122864, -1.115752100944519, 0.2207309454679489, 0.4275279641151428, 0.24794338643550873, 0.4972430467605591, -0.2481096386909485, 0.3784826099872589, 0.39620041847229004, -0.343421071767807, -0.8588910102844238, 0.6728299856185913, -0.9265048503875732, -0.46500393748283386, 0.9640934467315674, -0.05862761288881302, 0.09646882861852646, -0.34070906043052673, -0.3141854405403137, 0.03455067053437233, -0.4629378914833069, 0.9468314051628113, 0.8722109198570251, -0.37663519382476807, -0.01018296554684639, -0.5984159111976624, 0.665845513343811, 0.42110952734947205, -1.164488434791565, 0.19324398040771484, 0.5451179146766663, 0.4111080467700958, 0.21598897874355316, 0.6836312413215637, 0.16899187862873077, -0.19691237807273865, 0.1736687868833542, 0.38720378279685974, 0.5528691411018372, 0.023037508130073547, -0.49348559975624084, 0.12308088690042496, 0.07824637740850449, 0.056612104177474976 ]
http://arxiv.org/abs/2406.17642v1
http://arxiv.org/pdf/2406.17642v1
Banishing LLM Hallucinations Requires Rethinking Generalization
2024-06-25T15:31:01
2024-06-25T15:31:01
Johnny Li, Saksham Consul, Eda Zhou, James Wong, Naila Farooqui, Yuxin Ye, Nithyashree Manohar, Zhuxiaona Wei, Tian Wu, Ben Echols, Sharon Zhou, Gregory Diamos
cs.CL
cs.CL, cs.AI
Despite their powerful chat, coding, and reasoning abilities, Large Language Models (LLMs) frequently hallucinate. Conventional wisdom suggests that hallucinations are a consequence of a balance between creativity and factuality, which can be mitigated, but not eliminated, by grounding the LLM in external knowledge sources. Through extensive systematic experiments, we show that these traditional approaches fail to explain why LLMs hallucinate in practice. Specifically, we show that LLMs augmented with a massive Mixture of Memory Experts (MoME) can easily memorize large datasets of random numbers. We corroborate these experimental findings with a theoretical construction showing that simple neural networks trained to predict the next token hallucinate when the training loss is above a threshold as it usually does in practice when training on internet scale data. We interpret our findings by comparing against traditional retrieval methods for mitigating hallucinations. We use our findings to design a first generation model for removing hallucinations -- Lamini-1 -- that stores facts in a massive mixture of millions of memory experts that are retrieved dynamically.
[ -0.5633649230003357, -0.7683010697364807, 0.5709614157676697, 0.05681492015719414, -0.25592654943466187, -0.02930249460041523, -0.3625833988189697, -0.4921579957008362, 0.6309790015220642, 0.9016460180282593, -0.356600284576416, -0.3263760209083557, -0.6457931995391846, -0.1302666813135147, -0.5431362986564636, 0.8201627731323242, 0.36228156089782715, 0.10851223766803741, -0.1009102612733841, -0.06002134084701538, -0.4345765709877014, -0.8622850775718689, -0.7104002833366394, -0.46619582176208496, 0.7381672263145447, 0.13813307881355286, 0.6918011903762817, 0.3295551836490631, 0.4425940215587616, 0.2325150966644287, -0.15428867936134338, 0.44363874197006226, -1.0194811820983887, 0.03852641209959984, 0.025767706334590912, -0.698971152305603, -0.05036620795726776, -0.09600544720888138, 0.3012426197528839, 0.8570711612701416, -0.44021663069725037, -0.47620582580566406, -0.09400385618209839, 0.7359172701835632, -0.384807288646698, -0.11214341968297958, -1.172673225402832, 0.4624355435371399, 0.1481305956840515, -0.5664980411529541, -0.6337660551071167, -0.2533593773841858, 0.09288511425256729, -0.3318916857242584, 0.25103795528411865, 0.13508227467536926, 0.5589919686317444, 0.5585927963256836, -0.018585439771413803, -0.572455883026123, -0.9017118215560913, 0.6206467747688293, -0.4181745648384094, 0.24183231592178345, 0.7102557420730591, 0.31098127365112305, -0.301696240901947, -0.42228952050209045, -0.45049387216567993, -0.493782103061676, -0.015314743854105473, -0.24709296226501465, 0.002212285064160824, -0.08518004417419434, 0.3519577085971832, 0.2702944278717041, -0.40823301672935486, 0.26488885283470154, -0.6956454515457153, -0.3755171597003937, 0.36138513684272766, 0.24524390697479248, 0.3395506739616394, 0.04128475859761238, -0.34443530440330505, 0.39621394872665405, -0.8146606683731079, -0.4385104179382324, 0.20698583126068115, 0.13045114278793335, 0.5110929012298584, 0.4551812410354614, 0.14767485857009888, 0.1731880158185959, 0.08079861104488373, -0.3919307291507721, -0.17797233164310455, 0.24590706825256348, -0.23961469531059265, 0.24833306670188904, 0.4789101183414459, 0.3358279764652252, 0.5785909295082092, -0.8927914500236511, -0.19826264679431915, 0.029513387009501457, 0.6001619696617126, -0.6708561182022095, -0.4275243282318115, 0.12056714296340942, -0.39847317337989807, -0.24158988893032074, 0.04280715063214302, -0.7911930680274963, -1.0431994199752808, -0.467678964138031, 0.6289303302764893, -0.5281673073768616, -0.18011470139026642, 0.25933516025543213, -0.17552702128887177, 0.15676270425319672, 0.4212045967578888, -0.9600521922111511, 0.4997345507144928, 0.6626384854316711, 0.771611213684082, -0.3239646255970001, -0.2812413275241852, -0.31520673632621765, 0.13662131130695343, -0.41615208983421326, 0.7324199676513672, -0.2513572871685028, -0.36038991808891296, -0.16036255657672882, -0.14560700953006744, 0.031590670347213745, -1.203668475151062, 0.156924769282341, -0.38548505306243896, -0.012346337549388409, -0.3882504403591156, -0.5431092381477356, -0.5036684274673462, 0.01600278541445732, -0.6489610075950623, 0.47869551181793213, -0.348552942276001, -0.5605862140655518, 0.23000185191631317, 0.14825482666492462, -0.3627035915851593, -0.06746520102024078, -0.3384174108505249, -0.16199460625648499, 0.5613238215446472, 0.08581500500440598, 0.3514074981212616, -0.13727256655693054, 0.4488707184791565, -0.145242378115654, -0.7243289351463318, 0.26140156388282776, -0.42939797043800354, 0.5169548392295837, 0.2381688356399536, -0.38220345973968506, 0.11267988383769989, -0.7181228995323181, -0.45937082171440125, 0.13284112513065338, -0.1680699735879898, -0.40389084815979004, 0.050942935049533844, -0.49768373370170593, -0.02461542934179306, -0.18054266273975372, -0.18164344131946564, 0.04545465111732483, -0.28645801544189453, 0.3384585976600647, 0.8896108865737915, 0.0006941017927601933, 0.25867798924446106, -0.8304370045661926, 0.20131485164165497, 0.3012057840824127, -0.07872308790683746, 0.07958033680915833, -0.35910269618034363, -0.9918022751808167, -0.25018855929374695, -0.3421275317668915, 0.43961137533187866, -0.6218053698539734, 0.361836314201355, -0.22910387814044952, -0.3502950072288513, -0.36940667033195496, 0.33599963784217834, -0.1077781468629837, 0.4778680205345154, 0.41730788350105286, -0.21721602976322174, -0.6872577667236328, -0.9131508469581604, 0.04596691206097603, -0.031258586794137955, -0.11382512748241425, 0.17941820621490479, 0.37855085730552673, -0.20237214863300323, 0.5487818717956543, -0.1465865820646286, -0.42289063334465027, -0.20598852634429932, 0.11330224573612213, -0.07012011855840683, 0.4176522493362427, 0.27575209736824036, -0.6288078427314758, 0.10557552427053452, -0.25506147742271423, -0.9315593242645264, 0.1032300516963005, -0.4905393421649933, 0.040223587304353714, 0.3060508966445923, 0.44184553623199463, -0.8160092830657959, 0.4394644498825073, 0.0033939590211957693, -0.14563553035259247, 0.6342765092849731, -0.0319276824593544, -0.14307284355163574, -0.6768343448638916, -0.07579221576452255, -0.17700521647930145, 0.06604070961475372, -0.6133140921592712, -0.03980615735054016, -0.4232938289642334, 0.035308837890625, -0.2840286195278168, 0.4265415370464325, -0.1981770545244217, -0.004959927871823311, -0.46895232796669006, 0.15369492769241333, -0.06657233834266663, 0.4592963457107544, 0.18080167472362518, 0.5896338820457458, 0.42239856719970703, -0.7845542430877686, 0.09371545910835266, 0.04953537508845329, -0.4143471121788025, 0.2174055576324463, -0.35782912373542786, 0.300342857837677, -0.35793688893318176, 0.1520601511001587, -0.8748675584793091, -0.13047845661640167, 0.13088062405586243, -0.20834288001060486, 0.26811790466308594, 0.2747015655040741, -0.5183008313179016, -0.31431254744529724, -0.28099754452705383, -0.035047344863414764, 0.5872665047645569, -0.7379956841468811, 0.5894158482551575, 0.4194626212120056, 0.07834598422050476, -0.36962878704071045, -0.9549265503883362, 0.518679141998291, -0.3685697615146637, -0.4905398488044739, 0.20553840696811676, -0.2546917498111725, -0.6282578706741333, -0.2816452383995056, -0.3001558482646942, -0.054908763617277145, 0.13253164291381836, 0.26576390862464905, 0.18345464766025543, -0.015054631978273392, 0.31071165204048157, -0.30940359830856323, -0.04478992894291878, 0.43040576577186584, -0.24652715027332306, 0.9009669423103333, 0.09863036870956421, -0.3171689510345459, -0.296689510345459, 0.14522042870521545, 0.6638098955154419, 0.27512896060943604, 0.9678035378456116, 0.5289252996444702, -0.6586283445358276, -0.4238663911819458, -1.1246713399887085, -0.5420038104057312, -0.42849984765052795, 0.40431055426597595, -0.4468013048171997, -0.6692908406257629, 0.7541803121566772, 0.14270983636379242, -0.20897649228572845, 0.09595542401075363, 0.7068355679512024, 0.08457031846046448, 0.689468264579773, 0.15170200169086456, -0.10744372010231018, 0.052066653966903687, -0.3535120487213135, 0.4303533434867859, -0.6544756293296814, -0.5768604278564453, -0.1689484417438507, -0.32131659984588623, -0.2866613566875458, -0.3091237246990204, 0.025372479110956192, 0.11083472520112991, 0.025016410276293755, -0.1449793577194214, -0.5667308568954468, 0.6990166902542114, 0.4733639061450958, 0.5243247151374817, 0.2790321111679077, 0.27442845702171326, -0.056682880967855453, -0.12081355601549149, -0.6121039390563965, -0.5088891386985779, 0.9874635338783264, 0.38440218567848206, 0.9091635346412659, -0.17497989535331726, 0.8522746562957764, 0.1742319017648697, 0.19189922511577606, -0.7954798936843872, 0.8352569341659546, -0.003877943381667137, -0.6005000472068787, -0.20699897408485413, -0.5286925435066223, -0.536342442035675, 0.4479014277458191, -0.11664994060993195, -0.86595618724823, 0.1924431473016739, -0.1258745938539505, -0.45740848779678345, 0.853912353515625, -0.4972021281719208, 0.15251871943473816, -0.2377757579088211, -0.5714102387428284, -0.4180072844028473, -0.3552897572517395, 0.7667277455329895, -0.23292742669582367, 0.17476877570152283, 0.07446581870317459, 0.140143021941185, 0.6814215183258057, -0.25528284907341003, 1.1189252138137817, -0.1549191027879715, -0.1806264966726303, 0.4075953960418701, 0.44479620456695557, 0.4909811317920685, -0.08559370785951614, -0.14306941628456116, 0.11556053906679153, -0.4045952260494232, -0.3317868113517761, -0.6849769949913025, 0.8741700649261475, -0.7369565963745117, -0.8936327695846558, -0.045758821070194244, -0.7828412652015686, 0.020795345306396484, -0.28775447607040405, 0.40408387780189514, 0.14178791642189026, -0.1259000301361084, 0.41834381222724915, 1.0538626909255981, -0.33601638674736023, 0.17740243673324585, 0.18778608739376068, -0.48100265860557556, -0.5681374073028564, 0.9973984360694885, 0.48949140310287476, 0.17846418917179108, -0.019433598965406418, 0.17091339826583862, -0.010090291500091553, -0.8832391500473022, 0.2511882781982422, 0.20321378111839294, -1.0144996643066406, 0.11270210146903992, -0.901713490486145, -0.33376872539520264, -0.29492390155792236, -0.1937885731458664, -0.16252055764198303, -0.52641761302948, -0.46642759442329407, -0.3730173707008362, 0.206081822514534, 0.7604950070381165, -0.15369899570941925, 0.10832631587982178, -0.41775503754615784, 0.46418097615242004, 0.4130037724971771, 0.1514522284269333, 0.46810421347618103, -0.6314708590507507, -0.20151235163211823, -0.19125041365623474, -0.18119442462921143, -0.5343613028526306, 0.5492349863052368, -0.11658405512571335, 0.6452516317367554, 0.7299957871437073, -0.05608871951699257, 0.7440589666366577, -0.30275025963783264, 0.6399065852165222, 0.15579113364219666, -0.5907291173934937, 0.2474481165409088, -0.03288501501083374, -0.062364500015974045, 0.5917229056358337, 0.4450940191745758, -0.44533300399780273, -0.510796844959259, -0.35222336649894714, -0.6704854965209961, 0.21559351682662964, 0.017393777146935463, 0.1828051656484604, -0.2828277051448822, 0.6152337193489075, 0.5384362936019897, 0.23303575813770294, -0.829901933670044, -0.03852478414773941, -0.19251227378845215, -0.04067772254347801, 0.11776071041822433, -0.4785009026527405, -0.17740578949451447, -0.5903475880622864, 0.4790404736995697, 0.17933115363121033, 0.32448825240135193, 0.14576078951358795, -0.29207703471183777, -0.19184339046478271, -0.09477346390485764, 0.7850461602210999, 0.7117782235145569, -0.2761126458644867, 0.533390998840332, 0.3618314564228058, -0.37215954065322876, 0.04977108910679817, -0.3542226552963257, -0.2992868423461914, -0.1767212450504303, 0.3827720880508423, 0.8767607808113098, 0.3298570215702057, -0.6070822477340698, 0.03000549040734768, 0.1665090024471283, -0.4036836624145508, -0.5755900144577026, 0.2829883098602295, 0.23884226381778717, 0.14241789281368256, 0.5390365123748779, 0.0949016585946083, -0.03721407428383827, -0.7069118022918701, 0.5399037003517151, 0.4439791738986969, -0.30437034368515015, -0.414529949426651, 0.695788562297821, -0.14659330248832703, -0.5608452558517456, 0.6932417154312134, -0.05334053188562393, -0.5679881572723389, 0.7443680167198181, 0.7582314610481262, 1.0069873332977295, 0.03835367411375046, -0.0006546865915879607, 0.34488528966903687, 0.5633760094642639, -0.273264616727829, 0.07952602207660675, 0.29466062784194946, -0.7439590096473694, -0.07570726424455643, -0.5663301944732666, -0.23173853754997253, 0.43304744362831116, -0.32228997349739075, 0.05565047636628151, -0.748315155506134, -0.022371789440512657, -0.25577276945114136, -0.1016339361667633, -0.5679953098297119, -0.024926433339715004, 0.5917725563049316, 0.6870884895324707, -0.5739485621452332, 0.8884448409080505, 0.005872736219316721, -0.5410477519035339, -0.3585713505744934, 0.13384591042995453, 0.03342566639184952, -0.871000349521637, 0.5828986167907715, 0.5377602577209473, -0.025020500645041466, 0.05028386786580086, -0.7249318361282349, -0.5549212098121643, 0.8758876323699951, 0.16148605942726135, -0.512606680393219, -0.14724017679691315, 0.12902048230171204, 0.5474480390548706, -0.6016033887863159, 0.04316691681742668, 0.6413149833679199, 0.5729513168334961, 0.3089272677898407, -0.44090893864631653, 0.15458306670188904, -0.10890130698680878, -0.2858557403087616, -0.158029705286026, -0.4938035011291504, 0.7674122452735901, -0.5058671236038208, -0.1423579454421997, 0.029184775426983833, 0.5540969371795654, 0.36401379108428955, 0.268811970949173, 0.4374047517776489, 0.730401337146759, 1.1332707405090332, 0.175172820687294, 0.8761882781982422, -0.2996979355812073, -0.1831229031085968, 1.1985288858413696, -0.38963574171066284, 0.5448049902915955, 0.8045526146888733, 0.13947686553001404, 0.3196519613265991, 0.3483160734176636, -0.21405823528766632, 0.573355495929718, 0.5175449848175049, -0.14155584573745728, -0.36890238523483276, -0.18103723227977753, -0.16429762542247772, 0.24002353847026825, 0.47421377897262573, -0.3161540627479553, 0.037716981023550034, 0.3594995439052582, 0.001947592361830175, 0.038183439522981644, -0.1796974241733551, 0.8010467290878296, 0.324143648147583, -0.535212516784668, 0.8646252155303955, -0.5577394962310791, 0.6058695912361145, -0.2887584865093231, 0.0899626836180687, -0.42128825187683105, 0.10058333724737167, -0.16730818152427673, -0.221354141831398, 0.43764305114746094, -0.39904701709747314, -0.05640513449907303, 0.11938983201980591, 0.714806079864502, -0.39657890796661377, -0.41832953691482544, 0.5733987092971802, 0.5056593418121338, 0.3909054100513458, -0.2426791936159134, -0.16214172542095184, 0.07583339512348175, 0.00023868655262049288, -0.30949389934539795, 0.48100540041923523, 0.5448099374771118, 0.15004009008407593, 0.9897090196609497, 0.5584078431129456, 0.2954248785972595, 0.26117923855781555, 0.23294827342033386, 0.9988620281219482, -0.8203999400138855, -0.14174464344978333, -1.0128520727157593, 0.13929146528244019, -0.04684172570705414, -0.012523271143436432, 0.532049834728241, 0.4459870755672455, 0.543523371219635, -0.07469934970140457, 0.5647318363189697, 0.3855610489845276, 0.18833500146865845, -0.583013653755188, 0.8921118974685669, -0.4859529435634613, 0.6518987417221069, 0.2820315361022949, -0.8465597629547119, -0.4313027560710907, 0.6744005680084229, -0.23325790464878082, -0.058970022946596146, 0.8008190393447876, 1.0985692739486694, 0.155683234333992, 0.16171592473983765, 0.6791890859603882, 0.538467288017273, 0.31008195877075195, 0.53287273645401, 1.0097172260284424, -0.03217465803027153, 0.568552553653717, -0.5195137858390808, -0.03101927414536476, -0.28751206398010254, -0.39442843198776245, -1.3155173063278198, -0.23607052862644196, -0.09076233208179474, -0.23663288354873657, 0.14809603989124298, 1.0482184886932373, 0.5014238357543945, -0.9060882329940796, -0.1522705852985382, -0.06039221212267876, 0.17296673357486725, 0.004423679318279028, -0.23329655826091766, 0.2023405283689499, -0.5427243709564209, -0.34669607877731323, 0.4961112439632416, 0.32584378123283386, 0.16770674288272858, -0.8175984025001526, -0.18054552376270294, 0.0567111074924469, 0.3460298776626587, 0.5611260533332825, -0.05136040225625038, -1.2311326265335083, -0.3606502115726471, 0.08107227832078934, -0.3136512041091919, 0.24326768517494202, 0.8647332787513733, -0.8681283593177795, 0.3260467052459717, 0.4209074378013611, 0.5051770210266113, 0.2254939079284668, -0.24791833758354187, 0.34055620431900024, -0.23833957314491272, 0.38100898265838623, 0.27656257152557373, 0.35177913308143616, 0.16581033170223236, -0.5213061571121216, 0.5878064036369324, 0.35469380021095276, -0.46454039216041565, -0.870317816734314, -0.06762216240167618, -0.6349812746047974, -0.6056890487670898, 0.8938879370689392, 0.15592311322689056, -0.2435542792081833, -0.22126466035842896, -0.31357407569885254, 0.004308169707655907, -0.12069085985422134, 1.6370347738265991, 0.9591513872146606, 0.12844350934028625, -0.18791228532791138, -0.6353928446769714, 0.4691862165927887, 0.5572633147239685, -0.6189301609992981, 0.22212356328964233, 0.41618210077285767, -0.06425143033266068, 0.21470698714256287, 0.6168293356895447, 0.010597271844744682, -0.011562229134142399, 0.14104388654232025, 0.16142605245113373, -0.16821026802062988, -0.7545078992843628, -0.37398433685302734, 0.4236801564693451, -0.0780676007270813, 0.33298248052597046 ]
http://arxiv.org/abs/2406.17639v2
http://arxiv.org/pdf/2406.17639v2
Mitigate the Gap: Investigating Approaches for Improving Cross-Modal Alignment in CLIP
2024-06-25T15:24:02
2024-06-26T10:58:48
Sedigheh Eslami, Gerard de Melo
cs.CV
cs.CV, cs.AI, cs.CL, cs.LG
Contrastive Language--Image Pre-training (CLIP) has manifested remarkable improvements in zero-shot classification and cross-modal vision-language tasks. Yet, from a geometrical point of view, the CLIP embedding space has been found to have a pronounced modality gap. This gap renders the embedding space overly sparse and disconnected, with different modalities being densely distributed in distinct subregions of the hypersphere. In this work, we aim at answering two main questions: 1. Does sharing the parameter space between the multi-modal encoders reduce the modality gap? 2. Can the gap be mitigated by pushing apart the uni-modal embeddings via intra-modality separation? We design AlignCLIP, in order to answer these questions and show that answers to both questions are positive. Through extensive experiments, we show that AlignCLIP achieves noticeable enhancements in the cross-modal alignment of the embeddings, and thereby, reduces the modality gap, while maintaining the performance across several downstream evaluations, such as zero-shot image classification, zero-shot multi-modal retrieval and zero-shot semantic text similarity.
[ -0.7055721879005432, -0.44555410742759705, 0.39896631240844727, -0.016023360192775726, -0.5342980623245239, 0.12869136035442352, -0.216875821352005, -0.6045960187911987, 0.3906787931919098, -0.05186590924859047, -0.6494751572608948, -0.2977848947048187, -0.4760285019874573, -0.0376284159719944, 0.08687137067317963, 0.6332873702049255, -0.2702445089817047, 0.24973653256893158, -0.5151187181472778, -0.40553879737854004, -0.7585655450820923, -0.3174181878566742, 0.18409951031208038, 0.05051257088780403, 0.11383131891489029, 0.2869013547897339, 1.0360933542251587, 0.8077892661094666, 0.4973547160625458, 0.19310928881168365, 0.10670097172260284, -0.001225221436470747, -0.40789976716041565, 0.02509474568068981, -0.15461978316307068, -0.28341561555862427, -0.13992543518543243, -0.07912621647119522, 0.7114821076393127, 0.6339515447616577, 0.08591514080762863, -0.02367403544485569, 0.1969374120235443, 0.14898155629634857, -1.033403992652893, -0.2784958779811859, -0.3103967010974884, 0.14047540724277496, -0.5463736653327942, -0.17014026641845703, 0.07378140091896057, 0.00880394782871008, 0.10866018384695053, -0.8746832609176636, 0.19549576938152313, 0.12126412242650986, 1.08231782913208, 0.31603795289993286, -0.2712258994579315, 0.1554834097623825, -0.44377535581588745, 0.9915955066680908, -0.576552152633667, 0.7015907168388367, 0.06849396228790283, 0.1915946751832962, 0.1722683310508728, -0.23194578289985657, -0.5674402713775635, 0.4182731509208679, 0.09033405780792236, 0.20965315401554108, -0.13038799166679382, 0.02787487953901291, 0.050964877009391785, 0.3401511609554291, -0.52334064245224, 0.17290054261684418, -0.41368618607521057, -0.3971700072288513, 0.18753741681575775, 0.22650490701198578, 0.44875311851501465, -0.14553099870681763, -0.784124493598938, -0.2552565336227417, -0.9997856616973877, 0.255635529756546, 0.46268853545188904, -0.01521818246692419, -0.05465035140514374, 0.5943748354911804, 0.13290248811244965, 0.6884543299674988, 0.1697298139333725, -0.1757519245147705, 0.12240909039974213, -0.6851130723953247, -0.09765830636024475, 0.01296417135745287, 0.7399809956550598, 0.7322322726249695, -0.2666499614715576, -0.03976422920823097, -0.00881114974617958, 0.3217617869377136, 0.03757869079709053, -0.7901883721351624, -0.07975868135690689, -0.21500477194786072, -0.2425663024187088, 0.15533073246479034, 0.24196051061153412, -0.6463263034820557, 0.0495934896171093, -0.35503360629081726, 0.70384681224823, -0.4452955722808838, 0.0134018175303936, 0.22644712030887604, -0.30193448066711426, 0.4265750050544739, 0.41296833753585815, -0.6735514402389526, 0.4238109886646271, 0.5209916830062866, 0.8844026327133179, -0.16965033113956451, -0.3522554337978363, -0.23311197757720947, 0.44956091046333313, -0.031103843823075294, 0.8089669942855835, -0.908860981464386, -0.4123706817626953, -0.03132927790284157, 0.024800237268209457, -0.20599184930324554, -0.43654316663742065, 0.32658258080482483, -0.23774001002311707, 0.6736369729042053, -0.6012887358665466, -0.5137261748313904, -0.10576920211315155, 0.31857067346572876, -0.6090424060821533, 0.7516837120056152, -0.026955770328640938, -0.793682873249054, 0.5553181171417236, -0.38244009017944336, -0.24202997982501984, -0.09002246707677841, -0.537359356880188, -0.48228225111961365, 0.09129207581281662, 0.687850296497345, -0.01815417781472206, -0.38471511006355286, -0.22268249094486237, -0.49429580569267273, -0.6071777939796448, 0.26648369431495667, -0.28263044357299805, 0.4528324007987976, -0.003112292382866144, -0.3757493495941162, 0.07277203351259232, -0.27943676710128784, 0.15134920179843903, -0.23398958146572113, 0.19966520369052887, -0.6866162419319153, -0.2655353248119354, 0.11282217502593994, 0.4619474709033966, 0.01853184401988983, -0.764822781085968, 0.2643938362598419, -0.11317440867424011, 0.3720115125179291, 0.6759666800498962, 0.02103634923696518, 0.5661093592643738, -0.42320382595062256, 0.7579687833786011, 0.317595899105072, 0.37233230471611023, -0.3103557527065277, -0.13975073397159576, -0.5156763195991516, -0.7623810768127441, 0.34565675258636475, 0.3100232779979706, -0.62907475233078, 0.3479786813259125, -0.13778162002563477, -0.16001777350902557, -0.7183616757392883, 0.160526841878891, 0.7162397503852844, 0.4792814254760742, 0.37062835693359375, -0.893441915512085, -0.382259339094162, -0.9177333116531372, 0.05141964554786682, 0.345735639333725, 0.058693353086709976, 0.23222777247428894, 0.22911962866783142, -0.07309966534376144, 0.9876774549484253, -0.6026400327682495, -0.4046526253223419, 0.031183354556560516, -0.1109767034649849, -0.2454073578119278, 0.6705212593078613, 0.7163732647895813, -0.7179954051971436, -0.33418792486190796, -0.25116413831710815, -0.3463953137397766, -0.2376318722963333, -0.06660281121730804, -0.2827495038509369, -0.1279965490102768, 0.6382690668106079, -0.49881067872047424, 0.5809102654457092, 0.4328208267688751, -0.19462186098098755, 0.2910597324371338, 0.07905743271112442, 0.300127774477005, -0.8890460133552551, 0.08781475573778152, -0.3179337680339813, -0.3696208894252777, -0.18237315118312836, -0.27621716260910034, -0.03566691651940346, -0.3332670032978058, -0.7195465564727783, 0.222601056098938, -0.6704375147819519, -0.2163817435503006, -0.17832650244235992, 0.41676583886146545, 0.3974170684814453, 0.5309728384017944, 0.11372505873441696, 1.0544021129608154, 0.7578486800193787, -0.3692283630371094, -0.2570391595363617, 0.6041814088821411, -0.19818444550037384, 0.7686254382133484, -0.7776941657066345, -0.09157989174127579, 0.025731200352311134, 0.27166274189949036, -1.0565433502197266, -0.07385911792516708, 0.37688690423965454, -0.15536333620548248, 0.3736777901649475, -0.005599025636911392, 0.028810637071728706, 0.0906357690691948, -0.8057714104652405, 1.2738845348358154, 0.34795427322387695, -0.3602958619594574, 0.1653003692626953, 0.45845645666122437, -0.09659550338983536, -0.7469004988670349, -0.5797702670097351, -0.22551217675209045, -0.02068600058555603, -0.5604972839355469, 0.6464643478393555, -0.022806955501437187, 0.2741944193840027, 0.42685577273368835, -0.3035317659378052, -0.06843235343694687, -0.28831085562705994, 0.35222673416137695, 0.2730651795864105, -0.34280019998550415, 0.015608027577400208, 0.18927143514156342, 0.03522000461816788, -0.3906441032886505, -0.10900241136550903, 0.5231456160545349, -0.1247032880783081, -0.7790203094482422, -0.45557233691215515, 0.6228044629096985, 0.6191064119338989, -0.3581785559654236, 0.3528887927532196, 0.4323153793811798, -0.15320852398872375, 0.20766088366508484, -0.476642906665802, 0.05266619473695755, -0.4294182360172272, 0.15127213299274445, -0.19231416285037994, -1.1640985012054443, 0.37897858023643494, -0.14846719801425934, -0.20554472506046295, 0.10504978150129318, 0.3647644519805908, -0.008561339229345322, 0.9692618250846863, 1.0188391208648682, 0.1328985095024109, 0.8781355023384094, -0.2337149828672409, 0.30961570143699646, -1.258313536643982, -0.2015271633863449, -0.11283747106790543, -0.5207776427268982, -0.08484472334384918, -0.7715535759925842, 0.365357369184494, 0.4265860915184021, -0.1123356893658638, 0.5970615148544312, -0.4035731256008148, 0.864458441734314, 0.361029714345932, 0.06659667938947678, 0.13251221179962158, -0.2135998010635376, -0.19812016189098358, -0.6159301400184631, -0.833096444606781, -0.17089183628559113, 0.6579121947288513, 0.13744884729385376, 0.9200025796890259, 0.14878372848033905, 0.6239804029464722, 0.033673811703920364, -0.14569546282291412, -0.629939079284668, 0.39928966760635376, 0.01913243532180786, -0.3712373971939087, -0.046740248799324036, -0.038095179945230484, -0.7365924119949341, 0.43181294202804565, -0.4022429287433624, -0.5045247673988342, 0.6264798045158386, 0.17188231647014618, -0.3461456298828125, 0.18575382232666016, -0.4785211682319641, 1.0791999101638794, -0.24025534093379974, -0.5004638433456421, -0.18216122686862946, -0.9020196795463562, 0.3322087526321411, 0.17713545262813568, -0.025340843945741653, -0.0884033739566803, -0.26517173647880554, 0.4508589506149292, -0.6077246069908142, 0.9050373435020447, 0.09202031791210175, 0.26616641879081726, 0.32061752676963806, 0.18156182765960693, -0.23090049624443054, -0.028226999565958977, 0.529287576675415, 0.1695380061864853, 0.22572223842144012, -0.4662275016307831, -0.7517393231391907, 0.3140271306037903, -0.6916772127151489, -0.42151352763175964, -0.3403981924057007, -0.5954093933105469, -0.329336553812027, 0.2103663682937622, 0.48510438203811646, 0.7697353959083557, -0.35604867339134216, 0.21880096197128296, 0.4514870345592499, -0.041580747812986374, 0.6220925450325012, 0.2742764353752136, -0.11388517916202545, -0.8375867605209351, 0.6128695607185364, -0.10311564803123474, 0.5076751112937927, 0.3360382318496704, 0.06984014809131622, -0.3535180687904358, -0.17507319152355194, -0.5006332397460938, 0.4302746057510376, -0.5970927476882935, -0.5319918394088745, -0.16080649197101593, 0.1392604410648346, -0.44523733854293823, -0.6740570664405823, -0.48714256286621094, -0.628899335861206, -0.2080547958612442, 0.18728788197040558, -0.12273462861776352, 0.37931033968925476, -0.21684424579143524, 0.45302388072013855, -0.8925644755363464, 0.03686472028493881, 0.18959732353687286, 0.33327481150627136, -0.16451184451580048, -0.3883230984210968, -0.15958452224731445, -0.1241476759314537, -0.5404642224311829, -0.6318283677101135, 0.18313845992088318, 0.37372341752052307, 0.5589318871498108, 0.7436457276344299, -0.004182308912277222, 1.3725610971450806, -0.5680870413780212, 0.97674161195755, 0.8329178094863892, -1.3632086515426636, 0.3560706079006195, -0.10519161820411682, 0.42804592847824097, 0.6449957489967346, 0.47332295775413513, -0.5127826929092407, -0.4554750323295593, -0.4092516005039215, -0.8043830394744873, 0.5397704243659973, 0.01442505419254303, -0.018564777448773384, 0.05261312797665596, -0.05476199835538864, 0.3814851939678192, 0.3324119448661804, -0.6395649909973145, 0.20121566951274872, -0.540824830532074, -0.24210727214813232, 0.3478240668773651, -0.05052144452929497, -0.5817039608955383, -0.4671713709831238, 0.2198016345500946, -0.21469199657440186, 0.2990131080150604, 0.44429823756217957, -0.4192446768283844, -0.212068572640419, 0.24414348602294922, 0.9398800134658813, 0.8160624504089355, 0.2150600403547287, 0.3185917139053345, -0.07493811100721359, -0.5068732500076294, 0.09772365540266037, -0.1356458067893982, -0.20266488194465637, 0.04752223193645477, 0.3310336172580719, 0.8337308764457703, 0.576845109462738, -0.7251772284507751, 1.2029975652694702, 0.07110818475484848, -0.0898439809679985, 0.17518916726112366, -0.21160642802715302, -0.362037718296051, 0.30621665716171265, -0.05636023357510567, 0.16583587229251862, -0.015783479437232018, -0.585044801235199, 0.3747999370098114, 0.6645611524581909, -0.47760531306266785, -0.6500993967056274, 0.6496848464012146, 0.1805453598499298, -0.08835018426179886, 0.22694504261016846, 0.23890310525894165, -0.9769794344902039, 0.09825663268566132, 0.8678407073020935, 0.6364564299583435, 0.031110329553484917, 0.155208021402359, 0.007204308640211821, 0.08961755037307739, 0.12298383563756943, 0.10967640578746796, -0.5413814187049866, -0.657395601272583, -0.44126176834106445, -0.20371370017528534, -0.6843776106834412, -0.3615786135196686, -0.7109914422035217, 0.3680378496646881, -0.4404330253601074, -0.09310118854045868, -0.42112216353416443, -0.3523852527141571, -0.6312963962554932, -0.17982667684555054, 0.17674821615219116, 0.5509457588195801, -1.0133144855499268, 0.5331655144691467, 0.6570051908493042, -0.6468182802200317, -0.6882410049438477, 0.1886221468448639, -0.05540397763252258, -0.7099063992500305, 0.4586119055747986, 0.3511861264705658, -0.5394288897514343, -0.524701714515686, -0.6450852751731873, -1.0514192581176758, 0.9825212359428406, 0.4589158594608307, -0.42643284797668457, 0.15944066643714905, 0.11815233528614044, 0.3335937261581421, -0.4024682939052582, 0.2444653958082199, 0.12054204940795898, 0.10981354862451553, 0.1358499675989151, -1.036084771156311, 0.14166927337646484, -0.07175426185131073, 0.05144881829619408, 0.5521559715270996, -0.7693278789520264, 0.8048086762428284, 0.02842791937291622, -0.47794967889785767, -0.06910088658332825, 0.508557140827179, -0.13298195600509644, 0.22437696158885956, 0.5458835959434509, 0.8782590627670288, 0.38630905747413635, 0.07539671659469604, 0.6216322183609009, -0.34151968359947205, 0.2585068345069885, 1.0883500576019287, -0.4871682822704315, 0.7884885668754578, 0.8903602361679077, 0.08801284432411194, 0.5698936581611633, 0.2741415798664093, 0.046394165605306625, 0.8054777383804321, -0.24159932136535645, -0.18154874444007874, -0.42209392786026, -0.3020079731941223, -0.4828713834285736, 0.5411522388458252, 0.13426022231578827, 0.12949112057685852, -0.48927605152130127, 0.3013913631439209, -0.0014782063663005829, 0.1397172212600708, -0.12518379092216492, 0.5110259056091309, -0.04766390472650528, -0.4609283208847046, 0.35878413915634155, -0.49311569333076477, 0.6927893757820129, -0.6825224757194519, -0.12808091938495636, 0.006395939737558365, 0.2250393033027649, -0.12824203073978424, -0.7635068297386169, 0.22060170769691467, -0.42450225353240967, -0.09733708947896957, -0.2297501116991043, 0.5283148288726807, -0.7697710394859314, 0.020836424082517624, 0.11380968242883682, 0.3431202471256256, -0.035836536437273026, 0.3110629618167877, -0.5283696055412292, 0.45197951793670654, -0.27239471673965454, 0.20247861742973328, 0.35825228691101074, 0.49012279510498047, -0.18142327666282654, 0.14977331459522247, 0.49933040142059326, -0.0011556596728041768, 0.27487486600875854, -0.14594633877277374, 1.281510353088379, -0.6536810398101807, -0.5805314779281616, -0.7027142643928528, 0.2582504451274872, -0.1620894968509674, -0.6087175011634827, 0.7818486094474792, 0.7403527498245239, 1.145570158958435, -0.07226236164569855, 0.37725546956062317, -0.2763417065143585, 0.3719213604927063, -0.6597388386726379, 0.1511509120464325, -0.6743074059486389, 0.10724356025457382, -0.5263489484786987, -1.029086947441101, -0.5528221130371094, 0.5189757347106934, -0.18957485258579254, -0.26862961053848267, 0.8871023654937744, 0.7705279588699341, -0.3772667348384857, -0.3864746391773224, 0.3602662682533264, -0.44508689641952515, 0.37751996517181396, 0.7331092953681946, 1.0156121253967285, -0.5873771905899048, 0.786027729511261, -0.3437544107437134, -0.06156691163778305, -0.25704464316368103, -0.9056254625320435, -0.6441507339477539, -0.5047536492347717, -0.3514662981033325, 0.03407015651464462, -0.21680688858032227, 0.7844846248626709, 0.8017035722732544, -0.48078522086143494, -0.08897049725055695, 0.19134077429771423, 0.056912053376436234, -0.1959066540002823, -0.16152694821357727, 0.3493472933769226, -0.26518580317497253, -0.6244993805885315, 0.31357792019844055, 0.6678894758224487, 0.21624049544334412, -0.14135664701461792, 0.023884110152721405, -0.0903513953089714, -0.028979871422052383, 0.3640657961368561, 0.6678932905197144, -0.7224295735359192, -0.6339397430419922, 0.2985009253025055, -0.13273252546787262, 0.37169498205184937, 1.4449108839035034, -0.7749575972557068, 0.5634781122207642, 0.5721718668937683, 0.8200504779815674, 0.33430323004722595, 0.39120805263519287, 0.8414993286132812, -0.8064054250717163, 0.46237653493881226, 0.20331135392189026, 0.47570309042930603, 0.36456942558288574, -0.043784599751234055, 0.23329056799411774, 0.33458152413368225, -0.5401895046234131, -0.802142858505249, 0.4435219168663025, -1.3775391578674316, -0.3411632478237152, 0.695745050907135, -0.002600079169496894, -0.34038543701171875, -0.12772876024246216, -0.47332531213760376, 0.1888768970966339, -0.11249403655529022, 0.4422112703323364, 0.6361196637153625, -0.3914484977722168, -0.17526206374168396, -0.06245908513665199, 0.3440149128437042, 0.8489820957183838, -0.4236477017402649, -0.15905649960041046, 0.7514451742172241, 0.3573800325393677, 0.2433994561433792, 0.46100735664367676, -0.5309509038925171, 0.5103421211242676, -0.06254220753908157, 0.041059352457523346, -0.23545342683792114, -0.46634095907211304, -0.5308407545089722, 0.031082110479474068, -0.1526803970336914, -0.7346336245536804 ]
http://arxiv.org/abs/2406.17633v1
http://arxiv.org/pdf/2406.17633v1
Knowledge Distillation in Automated Annotation: Supervised Text Classification with LLM-Generated Training Labels
2024-06-25T15:20:25
2024-06-25T15:20:25
Nicholas Pangakis, Samuel Wolken
cs.CL
cs.CL, cs.LG
Computational social science (CSS) practitioners often rely on human-labeled data to fine-tune supervised text classifiers. We assess the potential for researchers to augment or replace human-generated training data with surrogate training labels from generative large language models (LLMs). We introduce a recommended workflow and test this LLM application by replicating 14 classification tasks and measuring performance. We employ a novel corpus of English-language text classification data sets from recent CSS articles in high-impact journals. Because these data sets are stored in password-protected archives, our analyses are less prone to issues of contamination. For each task, we compare supervised classifiers fine-tuned using GPT-4 labels against classifiers fine-tuned with human annotations and against labels from GPT-4 and Mistral-7B with few-shot in-context learning. Our findings indicate that supervised classification models fine-tuned on LLM-generated labels perform comparably to models fine-tuned with labels from human annotators. Fine-tuning models using LLM-generated labels can be a fast, efficient and cost-effective method of building supervised text classifiers.
[ -0.3770964443683624, -0.6673553586006165, 0.5092944502830505, -0.13352344930171967, -0.24386340379714966, 0.469745397567749, -0.4793131649494171, -0.6836443543434143, 0.010188650339841843, 0.5323724150657654, -0.24283172190189362, -0.5208709239959717, -0.7930576801300049, 0.5341577529907227, -0.5291734337806702, 1.2359567880630493, -0.07158727943897247, -0.04381285607814789, -0.3572753965854645, 0.08549743890762329, -0.02818794548511505, -0.8116207718849182, -0.6504751443862915, -0.6231200695037842, 0.6471683382987976, 0.19668571650981903, 0.5123313665390015, 0.781484842300415, 0.3715461790561676, 0.39839544892311096, -0.26169174909591675, 0.4643290936946869, -0.42068538069725037, -0.00557211646810174, -0.21120761334896088, -0.3874516785144806, -0.23656824231147766, 0.3230424225330353, 0.3435743749141693, 0.7526146173477173, 0.22621938586235046, 0.3276940882205963, 0.4082353711128235, 0.5728477239608765, -0.6751518845558167, 0.3073312044143677, -0.7061246037483215, -0.03255244344472885, -0.2401990294456482, -0.21236523985862732, -0.5225115418434143, -0.4662265479564667, 0.009010644629597664, -0.7145475149154663, 0.4530622363090515, 0.11495385318994522, 0.7524241805076599, 0.6607974767684937, -0.10433077812194824, -0.30730798840522766, -0.761685848236084, 0.6724687218666077, -0.3223828971385956, 0.04498729854822159, 0.6541826128959656, 0.24289891123771667, -0.1582193672657013, -0.9212287664413452, -0.44466784596443176, -0.24108418822288513, -0.24257542192935944, 0.01024805847555399, -0.06042284145951271, 0.13458505272865295, 0.478973388671875, 0.31136995553970337, -0.1780233532190323, 0.27534809708595276, -0.49694007635116577, -0.2362845093011856, 0.9144600033760071, -0.04732593894004822, 0.04601328819990158, 0.010251983068883419, -0.14632931351661682, -0.07229132950305939, -0.556154191493988, -0.2673322260379791, 0.369590699672699, 0.27518555521965027, 0.09296094626188278, 0.5177000761032104, -0.42653271555900574, 0.7813819646835327, 0.18763940036296844, -0.11054415255784988, 0.27415913343429565, -0.1809217780828476, -0.1274394541978836, 0.07910194247961044, 0.7934661507606506, 0.2118029147386551, 0.5977470278739929, -0.2682693302631378, -0.1684858798980713, 0.15220403671264648, 0.16786718368530273, -0.7451898455619812, -0.7382428050041199, -0.332682728767395, -0.07246317714452744, -0.7035812735557556, 0.00922586489468813, -0.3579787313938141, -0.7493448257446289, -0.8106022477149963, 0.17760157585144043, -0.13526131212711334, 0.1400631219148636, -0.06473638862371445, -0.3617050051689148, -0.32902735471725464, 0.5309607982635498, -0.9504529237747192, -0.01822763681411743, 0.5911986231803894, 0.6486790180206299, -0.26208585500717163, -0.19593803584575653, -0.28706061840057373, 0.15959835052490234, -0.35816115140914917, 0.7368226647377014, -0.3894914388656616, -0.12837249040603638, 0.16248564422130585, 0.030416108667850494, 0.24178214371204376, -0.5933407545089722, 0.5159019231796265, -0.5209519267082214, -0.09160716086626053, -0.3308337926864624, -0.7053155899047852, 0.035423289984464645, 0.3328266739845276, -0.6019420623779297, 1.083236813545227, 0.012779699638485909, -0.9752928614616394, 0.7310839295387268, -0.3893897235393524, -0.37953290343284607, 0.2966610789299011, -0.1926140934228897, -0.38710641860961914, -0.0044343783520162106, 0.23380208015441895, 0.8214753270149231, -0.24523749947547913, 0.5160757303237915, -0.3901428282260895, -0.3608136773109436, 0.40596362948417664, -0.5299745798110962, 0.6957283616065979, 0.16212493181228638, -0.1354892998933792, -0.13666030764579773, -0.9726548790931702, -0.27374646067619324, -0.12191711366176605, -0.585563063621521, -0.6002878546714783, 0.021585924550890923, 0.05271344631910324, 0.0590858981013298, 0.31165987253189087, -0.5012230277061462, 0.28354325890541077, -0.08642088621854782, 0.5704140663146973, 0.662749171257019, -0.04573958367109299, 0.3764311969280243, -0.3941482901573181, 0.16153483092784882, -0.1928810477256775, 0.048477329313755035, -0.07409535348415375, -0.2583446502685547, -0.7906920909881592, -0.4989023208618164, 0.4755517244338989, 0.41610074043273926, -0.9701554179191589, 0.5578461289405823, -0.15915855765342712, -0.7820043563842773, -0.4862411618232727, 0.3129570186138153, 0.19726106524467468, 0.5823930501937866, 0.5090680718421936, 0.10405503213405609, -0.5569911003112793, -0.8389268517494202, -0.2777390480041504, -0.21856719255447388, -0.2664714455604553, -0.024934932589530945, 0.6000747084617615, -0.35809141397476196, 1.0718193054199219, -0.6104819774627686, -0.3560265600681305, 0.04167390242218971, 0.7292929291725159, -0.3538742959499359, 0.3230867385864258, 0.38675758242607117, -0.6877478957176208, -0.5067410469055176, -0.019023766741156578, -0.7947593331336975, -0.5152648687362671, -0.08787700533866882, 0.14318718016147614, 0.29223310947418213, 0.8162548542022705, -0.09259851276874542, 0.46747124195098877, 0.19544269144535065, 0.02217112109065056, 0.4295159876346588, -0.22917290031909943, 0.20613861083984375, -1.0110394954681396, -0.037946414202451706, 0.2933492660522461, -0.2956973612308502, -0.4830499589443207, -0.3382937014102936, 0.09681779891252518, 0.2756163477897644, -0.24875901639461517, 0.31866955757141113, -0.44957172870635986, 0.2653142213821411, -0.4894463121891022, 0.12028779089450836, 0.08602146059274673, 0.21666251122951508, 0.16865748167037964, 0.6536528468132019, 0.22300013899803162, -0.5529642105102539, 0.40847307443618774, 0.13238532841205597, -0.43190956115722656, 0.5130299925804138, -0.36962172389030457, 0.11084376275539398, -0.24890893697738647, 0.3490333557128906, -0.9491740465164185, -0.5276914834976196, -0.023511221632361412, -0.31647801399230957, 0.42045795917510986, -0.26676249504089355, -0.8902132511138916, -0.30455687642097473, -0.18979397416114807, 0.23393581807613373, 0.42421260476112366, -0.6981090903282166, 0.26937219500541687, 0.48159489035606384, -0.14805984497070312, -0.3773106336593628, -0.7671796679496765, 0.12571781873703003, -0.3523697257041931, -0.20271484553813934, 0.3673602044582367, 0.13477908074855804, -0.17326503992080688, -0.109640933573246, 0.2247665673494339, -0.12143361568450928, 0.2905980050563812, 0.4596310257911682, 0.15191256999969482, 0.3026891052722931, 0.3437947630882263, 0.29906630516052246, -0.006895970553159714, 0.050331320613622665, -0.17466990649700165, 0.13134627044200897, 0.15004439651966095, -0.25311946868896484, -0.46574655175209045, -0.1159173920750618, 0.3447520136833191, 0.009428005665540695, 0.5680723190307617, 0.6696874499320984, -0.43889400362968445, -0.07806991040706635, -0.7606268525123596, -0.2082270234823227, -0.4823662340641022, 0.24550238251686096, -0.11637140065431595, -1.112349271774292, 0.4076526463031769, -0.4239603281021118, 0.14051330089569092, 0.4614103436470032, 0.3489254415035248, -0.4042300283908844, 0.9077824354171753, 0.7777857184410095, -0.23434889316558838, 0.5875592231750488, -0.1307523399591446, -0.19222578406333923, -0.5687609910964966, -0.04859817773103714, -0.6668155789375305, -0.2306155115365982, -0.6882244348526001, -0.3092450499534607, 0.38372573256492615, 0.20756402611732483, -0.1713252067565918, 0.21137547492980957, -0.7803841829299927, 0.6435479521751404, 0.5456239581108093, 0.060815442353487015, 0.4721246063709259, 0.09990233927965164, 0.28371748328208923, 0.03995497524738312, -0.40850141644477844, -0.711650013923645, 1.1497502326965332, 0.28540676832199097, 0.8037892580032349, -0.4713618755340576, 0.9799723625183105, 0.42946505546569824, 0.7898936867713928, -0.47237908840179443, 0.36981678009033203, -0.28486132621765137, -0.5359817147254944, -0.2647967040538788, -0.31325221061706543, -0.7746026515960693, 0.08748551458120346, -0.3869093954563141, -0.7551780343055725, -0.03692585602402687, 0.383941650390625, -0.20143036544322968, 0.13560514152050018, -0.6956316828727722, 0.4815967082977295, -0.18720757961273193, -0.36516958475112915, 0.05400102958083153, -0.4643273949623108, 0.3144197463989258, -0.519776463508606, 0.30470556020736694, -0.05273028090596199, 0.19548657536506653, 0.9046589136123657, -0.3007240891456604, 1.199876070022583, -0.110813207924366, -0.17632143199443817, 0.2942817807197571, -0.3009187579154968, 0.49519965052604675, -0.07039255648851395, 0.015067077241837978, 0.26324206590652466, 0.005705174058675766, -0.09731675684452057, -0.47405222058296204, 0.45397281646728516, -0.7757165431976318, -0.638259768486023, -0.3532734811306, -0.4708575904369354, -0.07880742102861404, 0.018159089609980583, 0.4786315858364105, 0.03190995007753372, -0.012730775400996208, 0.24582014977931976, 0.6336114406585693, -0.017870789393782616, 0.26492786407470703, 0.24572278559207916, -0.023928575217723846, -0.5261009335517883, 0.709259033203125, 0.41454994678497314, 0.18397396802902222, 0.4330040216445923, 0.1641688495874405, -0.2529471814632416, -0.6552594304084778, -0.4341142773628235, -0.10334417223930359, -0.7087036371231079, -0.466996967792511, -0.528465211391449, -0.29594552516937256, -0.32678842544555664, -0.3269442617893219, -0.22455726563930511, -0.43675729632377625, -0.6778807640075684, -0.24240605533123016, 0.6702191829681396, 0.8354174494743347, -0.16043049097061157, 0.42675459384918213, -0.5914862155914307, 0.2548244297504425, 0.2082141786813736, 0.051952704787254333, -0.2663896977901459, -0.5821104049682617, -0.38995248079299927, 0.213218092918396, -0.3542581796646118, -0.7831935882568359, 0.22530634701251984, 0.11972983926534653, 0.3258765637874603, 0.32937729358673096, 0.3333130478858948, 0.6707236170768738, -0.4397973120212555, 0.589684247970581, 0.09321381896734238, -0.6839764714241028, 0.529108464717865, -0.3375278413295746, 0.1443040668964386, 0.9350408315658569, 0.42547106742858887, -0.21828581392765045, -0.6706223487854004, -0.3222261667251587, -0.9176555275917053, 0.5510132312774658, 0.02843805029988289, 0.04554237797856331, -0.05657456815242767, 0.6725467443466187, 0.2384316772222519, 0.2093830406665802, -0.630081057548523, -0.18534953892230988, 0.010406868532299995, -0.428434818983078, -0.27966931462287903, -0.25848543643951416, -0.12420731782913208, -0.48392829298973083, 0.7503892779350281, -0.271544486284256, -0.39602452516555786, 0.11013318598270416, -0.24349164962768555, -0.020295407623052597, 0.04601128026843071, 0.3063497245311737, 0.4517402946949005, -0.018344616517424583, 0.34727340936660767, 0.3178624212741852, -0.4889240860939026, 0.2419050633907318, 0.44035226106643677, -0.5809062123298645, -0.18505997955799103, 0.3333148658275604, 0.609712541103363, 0.06893304735422134, -0.4028148353099823, 0.20975229144096375, -0.04947911575436592, -0.47540193796157837, -0.43821096420288086, 0.21993276476860046, 0.16706010699272156, 0.277486115694046, 0.3944830298423767, -0.12435321509838104, 0.27527937293052673, -0.21593725681304932, 0.1881568729877472, 0.36355704069137573, -0.24164120852947235, -0.12589150667190552, 0.6274202466011047, 0.18566539883613586, -0.08242678642272949, 0.315408855676651, -0.3628905713558197, -0.4754721522331238, 0.35286977887153625, 0.27410805225372314, 0.7674417495727539, 0.03544368967413902, 0.18495921790599823, 0.31106317043304443, 0.3635772168636322, -0.4519605338573456, -0.22695468366146088, -0.21734608709812164, -0.4975612461566925, -0.5880271792411804, -0.8831863403320312, -0.4529368281364441, 0.1882125735282898, -0.664540708065033, 0.36555272340774536, -0.3071537911891937, -0.29666534066200256, 0.4535711407661438, -0.037450239062309265, -0.6503266096115112, 0.2115255445241928, 0.30237528681755066, 0.6567186713218689, -1.1906054019927979, 0.8446424603462219, 0.9518999457359314, -0.349970281124115, -0.5118075609207153, -0.14721277356147766, -0.08335448056459427, -0.3070981502532959, 0.8414230942726135, 0.18029171228408813, -0.0839337632060051, 0.03895360603928566, -0.8141948580741882, -0.7224929928779602, 1.156497836112976, 0.41709157824516296, -0.6926999688148499, 0.2401430755853653, 0.47790205478668213, 0.8173408508300781, -0.03769981116056442, -0.0030816069338470697, 0.6664643883705139, 0.3908485174179077, 0.08440005779266357, -0.9105082154273987, -0.04095074534416199, -0.04277915135025978, 0.07432956993579865, -0.07262148708105087, -0.4119334816932678, 0.5282601118087769, 0.05575573816895485, -0.14211328327655792, -0.08346784114837646, 0.6627169251441956, 0.4162965714931488, 0.4420205354690552, 0.4611831307411194, 0.5429521203041077, 0.9761512279510498, -0.20003773272037506, 0.5211748480796814, -0.11775129288434982, 0.2527001202106476, 1.2042768001556396, -0.2503906190395355, 0.592042088508606, 0.5176129341125488, -0.15657898783683777, 0.2440103143453598, 0.8003149628639221, -0.16047652065753937, 0.4076811373233795, 0.5602371692657471, -0.25171104073524475, -0.2739885747432709, -0.16465513408184052, -0.107489675283432, 0.39193224906921387, 0.3531080484390259, -0.4877830445766449, -0.03839525580406189, 0.1812456101179123, 0.06290876865386963, 0.32607054710388184, -0.2357042282819748, 1.1002998352050781, 0.0027496865950524807, -0.6660158038139343, 0.6550732254981995, -0.0006634379969909787, 0.8821976780891418, -0.12075552344322205, 0.013474802486598492, -0.054548490792512894, 0.14677736163139343, -0.32121607661247253, -0.5921587347984314, 0.23071756958961487, 0.3467652499675751, -0.27841562032699585, -0.32610654830932617, 0.9340234994888306, -0.5391216278076172, -0.6462310552597046, 0.09390377253293991, 0.2389252483844757, 0.22326047718524933, -0.10870012640953064, -0.3468095660209656, -0.004784971009939909, -0.09252801537513733, -0.29785463213920593, 0.4721555709838867, 0.6394691467285156, -0.23419690132141113, 0.5926194787025452, 0.658470869064331, -0.03371948003768921, 0.0442454032599926, 0.11021987348794937, 0.9657663702964783, -0.4336101710796356, -0.20186904072761536, -1.1264564990997314, 0.34914442896842957, -0.3303733170032501, -0.1511238068342209, 0.5240883231163025, 0.6310001611709595, 1.0493402481079102, -0.05783820524811745, 1.1678043603897095, 0.14381824433803558, 0.45028558373451233, -0.35636696219444275, 0.9266791939735413, -0.3246956169605255, 0.17040523886680603, -0.32819488644599915, -0.6599252820014954, -0.40467482805252075, 0.5323000550270081, -0.3653124272823334, -0.08686987310647964, 0.28681668639183044, 0.5390810370445251, 0.11221567541360855, 0.01548815332353115, 0.14028461277484894, -0.1021270826458931, 0.2983537018299103, 0.20613890886306763, 0.9732532501220703, -0.09306108206510544, 0.3897481858730316, -0.5440974831581116, -0.358325332403183, -0.1524423509836197, -1.046417474746704, -1.234231948852539, -0.7173842191696167, -0.7678951621055603, 0.008553828112781048, 0.06081485375761986, 0.7210609316825867, 0.6485079526901245, -0.6360963582992554, 0.2021578848361969, -0.2391406148672104, -0.07341601699590683, -0.014528190717101097, -0.22093741595745087, 0.326069712638855, -0.49197855591773987, -0.7777443528175354, 0.014002310112118721, -0.0013628358719870448, 0.36274510622024536, -0.3438304662704468, 0.19200849533081055, 0.030136875808238983, -0.21571163833141327, 0.6844251751899719, 0.06803733110427856, -0.6080323457717896, -0.31866610050201416, -0.34558624029159546, -0.17179614305496216, -0.29985013604164124, 0.5808131098747253, -0.8174596428871155, 0.2925141453742981, 0.4188089966773987, 0.7648894786834717, 0.5001445412635803, 0.18265391886234283, 0.2701418101787567, -1.0420424938201904, 0.06253550201654434, 0.14579427242279053, 0.2806304097175598, 0.4980519115924835, -0.41929876804351807, 0.609315812587738, 0.18738427758216858, -0.6572768688201904, -0.9521926641464233, -0.08172430098056793, -0.6529526114463806, -0.32710400223731995, 1.341907024383545, -0.24429145455360413, -0.07860703021287918, -0.3025780916213989, -0.33014702796936035, 0.654519259929657, -0.20203204452991486, 1.1145018339157104, 0.8033314347267151, -0.07004042714834213, 0.037342168390750885, -0.6569468975067139, 0.8048025369644165, -0.04722177982330322, -0.971856951713562, 0.4226985275745392, 0.6409972310066223, 0.25270548462867737, 0.38438302278518677, 0.5671582221984863, 0.08575531840324402, -0.14330244064331055, -0.2588953673839569, 0.3230290412902832, -0.35042694211006165, -0.22471879422664642, -0.023858092725276947, 0.11213962733745575, 0.2122323364019394, -0.06219693645834923 ]
http://arxiv.org/abs/2406.17626v1
http://arxiv.org/pdf/2406.17626v1
CoSafe: Evaluating Large Language Model Safety in Multi-Turn Dialogue Coreference
2024-06-25T15:13:02
2024-06-25T15:13:02
Erxin Yu, Jing Li, Ming Liao, Siqi Wang, Zuchen Gao, Fei Mi, Lanqing Hong
cs.CL
cs.CL, cs.AI
As large language models (LLMs) constantly evolve, ensuring their safety remains a critical research problem. Previous red-teaming approaches for LLM safety have primarily focused on single prompt attacks or goal hijacking. To the best of our knowledge, we are the first to study LLM safety in multi-turn dialogue coreference. We created a dataset of 1,400 questions across 14 categories, each featuring multi-turn coreference safety attacks. We then conducted detailed evaluations on five widely used open-source LLMs. The results indicated that under multi-turn coreference safety attacks, the highest attack success rate was 56% with the LLaMA2-Chat-7b model, while the lowest was 13.9% with the Mistral-7B-Instruct model. These findings highlight the safety vulnerabilities in LLMs during dialogue coreference interactions.
[ -0.6098882555961609, -0.7819463014602661, 0.3617677092552185, 0.27551600337028503, -0.09594409167766571, 0.05625169724225998, -0.23286856710910797, -0.7372442483901978, -0.06370190531015396, 0.9426612854003906, -0.4765726327896118, -0.5658482313156128, -0.7513864636421204, 0.2839236557483673, -0.5459001660346985, 1.0323561429977417, 0.27775296568870544, 0.11404339224100113, -0.22968780994415283, -0.19495095312595367, -0.4128047525882721, -1.1259171962738037, -0.7038895487785339, -0.14735502004623413, 0.3942166864871979, 0.49170663952827454, 0.6245443224906921, -0.24940288066864014, 0.8798163533210754, 0.26431477069854736, -0.3006754219532013, -0.013891525566577911, -0.6147148609161377, 0.2813030481338501, -0.13564565777778625, -0.37876829504966736, -0.7118082046508789, 0.06108172982931137, 0.3028561472892761, 0.5060745477676392, -0.23176029324531555, -0.11679651588201523, -0.0856248140335083, 0.2488895207643509, -0.5447028875350952, -0.10450335592031479, -0.9167681932449341, -0.11689910292625427, -0.012349658645689487, 0.10123555362224579, -0.8954938650131226, -0.4174923896789551, 0.3058658242225647, -0.09997548162937164, -0.06876484304666519, 0.35704711079597473, 0.5442578196525574, 0.018205950036644936, -0.42420366406440735, -0.6350882649421692, -0.37521830201148987, 0.9454963803291321, -0.7107561826705933, -0.021138479933142662, 0.3660750389099121, 0.4205579459667206, -0.583708643913269, -0.4207644462585449, -0.5489552021026611, -0.422437459230423, 0.10352922230958939, -0.10040771961212158, -0.22990088164806366, 0.3827517628669739, 0.12248016148805618, 0.2980230748653412, -0.32958492636680603, 0.3248460292816162, -0.09797292202711105, -0.19611325860023499, 0.6550641059875488, 0.2505625784397125, 0.4833412170410156, -0.13117659091949463, -0.7594747543334961, -0.2090754359960556, -0.8781666159629822, -0.1502676159143448, 0.21494795382022858, 0.34794071316719055, -0.32029634714126587, 0.5032483339309692, 0.01027555949985981, 0.4740806818008423, 0.26127761602401733, -0.49380773305892944, -0.05931071192026138, -0.692920982837677, -0.17153312265872955, 0.1835019439458847, 1.0241800546646118, 0.6660399436950684, 0.46031641960144043, -0.2883619964122772, 0.11656241863965988, 0.04337003827095032, 0.3537803292274475, -0.6579790711402893, 0.09243026375770569, 0.3367213010787964, 0.009951841086149216, -0.33596619963645935, -0.040529944002628326, -0.6996230483055115, -0.3014305531978607, 0.29426708817481995, 0.12404263019561768, -0.3013690412044525, -0.2881788909435272, 0.1911366730928421, 0.17459067702293396, 0.3789229094982147, 0.2084800750017166, -0.6233765482902527, 0.3396714925765991, 0.8440800309181213, 0.7504054307937622, -0.5447188019752502, -0.3964000940322876, -0.6239048838615417, 0.2162521779537201, -0.26853951811790466, 0.70978844165802, -0.28987106680870056, -0.7126964926719666, 0.16094346344470978, -0.016808664426207542, -0.07233311235904694, -0.4409714639186859, 0.554915189743042, -0.503041684627533, -0.1576365828514099, -0.29978320002555847, -0.3931984305381775, -0.1740110218524933, 0.6942323446273804, -0.5905315279960632, 0.6770322918891907, -0.5432963371276855, -0.8056895136833191, 0.05964238941669464, -0.5250946879386902, -0.48593002557754517, -0.2201051265001297, -0.13786572217941284, -0.4062565267086029, -0.2682730555534363, 0.03365771844983101, 0.5375345945358276, -0.49499788880348206, 0.2908937931060791, -0.5908685326576233, 0.027068959549069405, 0.4449264109134674, -0.27144336700439453, 0.7798464894294739, -0.20402801036834717, -0.16561323404312134, 0.1537974625825882, -0.43662694096565247, -0.04520250856876373, 0.02301291562616825, -0.18224990367889404, -0.29451125860214233, -0.3675861656665802, -0.2877712547779083, 0.38869810104370117, 0.12209393084049225, -0.639773964881897, -0.13896793127059937, -0.23796190321445465, 0.31867653131484985, 0.37702879309654236, 0.41338250041007996, 0.5114745497703552, -0.15035951137542725, 0.4118916988372803, -0.005333938170224428, 0.4323272407054901, -0.10694991052150726, -0.5298610329627991, -0.8191915154457092, -0.29881247878074646, -0.14817070960998535, 0.4302172362804413, -0.45993131399154663, 0.3481563329696655, 0.3124168813228607, -0.7596330642700195, -0.04479370266199112, -0.10170605778694153, 0.74245685338974, 0.2850239872932434, 0.38739994168281555, -0.10455087572336197, -0.33130136132240295, -0.9658829569816589, 0.043998416513204575, -0.25391411781311035, 0.4751404821872711, 0.36539530754089355, 0.5740669965744019, -0.3715044856071472, 0.783295214176178, -0.40719494223594666, -0.06930779665708542, -0.455068975687027, 0.14420409500598907, 0.09902413189411163, 0.6057889461517334, 0.7001277208328247, -0.5524443984031677, -0.4657694399356842, -0.3319060802459717, -0.6591794490814209, 0.04134698212146759, 0.009666831232607365, -0.33296912908554077, 0.4151364862918854, 0.5252345204353333, -0.7454695701599121, 0.26979148387908936, 0.9662871360778809, -0.18614725768566132, 0.6749374866485596, 0.2818179726600647, 0.17373837530612946, -1.0729455947875977, -0.18583309650421143, -0.039520759135484695, -0.09723535925149918, -0.9151232838630676, 0.1735895723104477, -0.13196219503879547, -0.014882879331707954, -0.8698031306266785, 0.2383597195148468, -0.2855604588985443, -0.04580908268690109, -0.22898156940937042, 0.0731966495513916, -0.1468176394701004, 0.38166171312332153, 0.08889643847942352, 0.8053774237632751, 0.407744437456131, -0.86444491147995, 0.2102494090795517, 0.41138461232185364, -0.4905678927898407, 0.619655430316925, -0.8563339710235596, 0.7250233888626099, 0.2774360775947571, 0.4001164734363556, -0.9885014891624451, -0.20791079103946686, 0.022912615910172462, -0.2630375325679779, 0.11209777742624283, 0.01935550943017006, -0.3623276650905609, -0.15317580103874207, -0.1793450564146042, 0.24713706970214844, -0.02810157649219036, -0.651488721370697, 0.4620249569416046, 0.9224357008934021, -0.3835431635379791, -0.7485255002975464, -0.5127888321876526, 0.37597760558128357, -0.13610784709453583, -0.9051917791366577, 0.036496154963970184, -0.2697843909263611, -0.6084021329879761, -0.49589428305625916, -0.07485511898994446, -0.15822842717170715, 0.45311239361763, 0.5329599976539612, 0.30367544293403625, 0.36021003127098083, -0.21165978908538818, 0.009657933376729488, -0.24163290858268738, 0.07566043734550476, 0.3150375187397003, 0.8655453324317932, -0.3499470055103302, -0.5500997304916382, -0.37954267859458923, 0.6183565855026245, 0.7991420030593872, -0.11520469188690186, 0.8467422127723694, 0.14913922548294067, -0.3258141875267029, 0.07701016962528229, -0.7185701131820679, -0.3124469816684723, -0.4411725699901581, 0.4940016269683838, -0.25645944476127625, -1.191132664680481, 0.29769182205200195, -0.031831350177526474, 0.5098671317100525, 0.24440127611160278, 0.809901773929596, -0.27603065967559814, 0.7360634803771973, 0.5859373211860657, 0.07010165601968765, 0.12904910743236542, 0.046661198139190674, 0.12890824675559998, -0.5724301338195801, -0.473998099565506, -0.7138776183128357, 0.16156050562858582, -0.23989467322826385, -0.42780137062072754, 0.8271741271018982, 0.1275770664215088, -0.21212728321552277, 0.6304250955581665, -0.09999999403953552, 0.33015212416648865, 0.3391934335231781, -0.24501852691173553, 0.5120159387588501, -0.1736355870962143, -0.3325742185115814, 0.14571203291416168, -0.6198350787162781, -0.5262661576271057, 0.8467084169387817, 0.5492104291915894, 1.1550968885421753, 0.34187328815460205, 0.6734489798545837, 0.10011951625347137, 0.27040258049964905, -0.6268073320388794, 0.8134541511535645, 0.12241441011428833, -0.8753209710121155, -0.5069448947906494, -0.19450393319129944, -0.7723839282989502, 0.3037998676300049, -0.5245671272277832, -0.39713215827941895, -0.12425880134105682, 0.21041464805603027, -0.32082661986351013, 0.0776323601603508, -0.7402700185775757, 0.6069797277450562, -0.5007802844047546, -0.030081812292337418, -0.43675243854522705, -0.5014694333076477, 0.6476595401763916, -0.1404348909854889, 0.25656265020370483, -0.2858775854110718, 0.2816868722438812, 0.7843693494796753, -0.35262030363082886, 1.1987662315368652, 0.14317020773887634, -0.029933685436844826, 0.43787717819213867, 0.186958909034729, 0.6836245059967041, 0.17938977479934692, -0.09089818596839905, 0.545319139957428, 0.02923785150051117, -0.18717913329601288, -0.16237448155879974, 0.7677634358406067, -0.7951698303222656, -0.9605717658996582, -0.5669801831245422, -0.4899557828903198, -0.3726333975791931, 0.039493247866630554, 0.18301816284656525, 0.1926349401473999, -0.4306369721889496, 0.4034821391105652, 0.5387075543403625, -0.26134738326072693, 0.8250322341918945, 0.5653322339057922, -0.07187359035015106, -0.769660234451294, 0.3177238404750824, -0.2333160936832428, 0.8165297508239746, 0.025082841515541077, 0.06623242795467377, -0.18440477550029755, -0.6337166428565979, -0.34084489941596985, 0.2227432131767273, -0.65507972240448, -0.36459043622016907, -0.8520467877388, -0.1656126230955124, -0.4134376049041748, -0.15147297084331512, -0.5713154673576355, -0.21434728801250458, -0.010026704519987106, -0.19119955599308014, 0.3189745247364044, 0.693997859954834, 0.26267069578170776, 0.34951525926589966, -0.9984526634216309, -0.1957765370607376, 0.46491456031799316, -0.11278930306434631, -0.03159911930561066, -0.2988627851009369, -0.24345195293426514, -0.29830479621887207, -0.19150815904140472, -0.8157636523246765, 0.17473991215229034, -0.11016963422298431, 0.6646993160247803, 0.16418330371379852, 0.42272913455963135, 0.2174481600522995, -0.49560585618019104, 0.8662968277931213, 0.8772394061088562, -0.773686945438385, 0.12336156517267227, -0.20801323652267456, 0.35913828015327454, 0.6400102376937866, 0.47923776507377625, -0.6440825462341309, -0.3486400246620178, -0.4079684317111969, -0.6474998593330383, 0.46109744906425476, 0.08412354439496994, 0.02364550344645977, -0.25765249133110046, 0.18011365830898285, 0.2611423432826996, 0.28993508219718933, -0.5666508078575134, -0.2066672444343567, 0.14489972591400146, 0.012868591584265232, 0.07292024791240692, -0.5881879925727844, -0.5571578741073608, 0.14844730496406555, 0.4954485297203064, -0.24176520109176636, 0.13296377658843994, 0.06923631578683853, -0.26813891530036926, -0.008000005036592484, 0.42197850346565247, 0.7951710224151611, 0.4441036581993103, 0.061937857419252396, 0.37094369530677795, 0.5931356549263, -0.5890969634056091, 0.17649154365062714, -0.49139443039894104, -0.007311519701033831, -0.24946971237659454, 0.545009195804596, 0.7062046527862549, 0.5175861120223999, -0.6820641160011292, 0.39158400893211365, -0.13841164112091064, -0.09690522402524948, -0.4848348796367645, 0.2477964460849762, 0.14956225454807281, 0.14729708433151245, 0.24245774745941162, 0.013840505853295326, -0.33592507243156433, -0.609555721282959, 0.12844309210777283, 0.7339393496513367, -0.258164644241333, -0.353910356760025, -0.024660542607307434, 0.7233656048774719, -0.3109239339828491, 0.17571978271007538, 0.11085032671689987, -0.8006922602653503, 0.41490957140922546, 0.5888534784317017, 0.863924503326416, -0.2410721629858017, 0.032870374619960785, 0.44374537467956543, 0.52961266040802, -0.005418592598289251, -0.06066158413887024, 0.32672473788261414, -0.8985430002212524, -0.35687023401260376, -0.4865066707134247, -1.1995465755462646, 0.1445816606283188, -0.5359036326408386, 0.15898030996322632, -0.6629050970077515, -0.5300899147987366, -0.24738377332687378, -0.25221988558769226, -0.22084565460681915, 0.11729077994823456, 0.15156808495521545, 0.928669273853302, -0.5513448119163513, 0.6473398208618164, 0.5492806434631348, -0.0794556513428688, -0.4211706519126892, -0.05988673120737076, 0.07242674380540848, -0.6163291931152344, 0.5567675828933716, 0.046338148415088654, -0.42665842175483704, -0.36039644479751587, -0.6964151859283447, -0.9137497544288635, 1.0196664333343506, 0.46368369460105896, -0.8895639777183533, -0.032812051475048065, 0.331109881401062, 0.17745214700698853, -0.5390114784240723, 0.11730068922042847, 0.5860401391983032, 0.3568934202194214, 0.1592681109905243, -1.3252267837524414, -0.16477641463279724, 0.4105116128921509, -0.42539897561073303, 0.03065217100083828, -1.0173571109771729, 0.7147114276885986, -0.3056061267852783, -0.1941789835691452, -0.10966767370700836, 0.5841969847679138, 0.4939119517803192, 0.24459627270698547, 0.7667366862297058, 0.5782527327537537, 0.7523866891860962, -0.020879244431853294, 0.9342789649963379, -0.3548184931278229, 0.30588796734809875, 1.345490574836731, -0.4540964365005493, 0.9776028990745544, 0.4621371924877167, 0.03482994809746742, 0.2745290994644165, 0.20959773659706116, 0.4088320732116699, 0.40640372037887573, -0.09129559248685837, -0.2571272850036621, -0.5755931735038757, -0.11981286108493805, -0.2744257152080536, 0.4270862638950348, 0.37944161891937256, -0.046850983053445816, -0.10448658466339111, 0.07586564123630524, 0.5729225873947144, -0.09911832213401794, -0.2000436633825302, 0.8472539186477661, 0.47032055258750916, -0.8411664962768555, 0.5237400531768799, -0.11260636895895004, 0.7481942176818848, -0.3597048223018646, 0.24686852097511292, -0.14480233192443848, 0.21122360229492188, -0.19130457937717438, -0.8672612309455872, 0.2878623306751251, 0.19208233058452606, -0.1449347287416458, 0.2776491641998291, 0.746226966381073, -0.34568801522254944, -0.13491688668727875, 0.597511887550354, 0.25022250413894653, -0.056694235652685165, 0.043706152588129044, -0.5409500002861023, 0.5094007253646851, -0.2206593006849289, 0.04501518979668617, 0.5716246366500854, -0.2143341600894928, -0.08672059327363968, 0.7890949845314026, 0.5327484607696533, -0.3306376039981842, 0.21199457347393036, -0.07978664338588715, 0.7923881411552429, -0.7011650800704956, -0.245880588889122, -0.8073209524154663, 0.17618495225906372, -0.19799745082855225, -0.2800375819206238, 0.882696807384491, 0.08829835057258606, 0.6295127272605896, 0.05077357590198517, 0.6659863591194153, 0.26705604791641235, 0.39385855197906494, -0.5358576774597168, 0.8099234700202942, 0.0928933396935463, 0.11430784314870834, -0.3813435435295105, -0.7360296249389648, -0.08859342336654663, 0.2328788936138153, -0.38462740182876587, -0.28653502464294434, 0.8731815814971924, 0.7979336380958557, 0.5244446992874146, 0.411187082529068, 0.4412860870361328, 0.32505491375923157, 0.6817784309387207, 0.6187018156051636, 0.8784396648406982, -0.10882610827684402, 0.8519553542137146, -0.18887807428836823, -0.29164552688598633, -0.29645395278930664, -0.9454038739204407, -1.4993058443069458, -0.2741464376449585, -0.3917141258716583, -0.6782380938529968, 0.042541805654764175, 1.1439207792282104, 0.7511895895004272, -1.0273981094360352, -0.3942675292491913, 0.13924899697303772, 0.009078803472220898, 0.10046042501926422, -0.0768093690276146, 0.05120512470602989, -0.21659442782402039, -0.8523321151733398, 0.7605366110801697, 0.4776144325733185, -0.04893577843904495, -0.47358936071395874, -0.26063698530197144, -0.4676452875137329, 0.187959223985672, 0.6460711359977722, 0.1951565444469452, -0.673191249370575, -0.5589971542358398, 0.0581614151597023, -0.4684504270553589, -0.13855776190757751, 0.7034266591072083, -0.14536932110786438, 0.14515945315361023, 0.3387738764286041, 0.7911961078643799, 0.3633764982223511, -0.0930367261171341, 0.5878251791000366, -0.32243987917900085, 0.10004953294992447, 0.28415772318840027, 0.29959049820899963, 0.3938295841217041, -0.2995731234550476, 0.46371227502822876, 0.24954071640968323, -0.6272931098937988, -0.9142990112304688, 0.4234072268009186, -1.2661030292510986, 0.07390587031841278, 1.571796178817749, -0.39471274614334106, -0.22329337894916534, -0.4228224456310272, -0.2573217749595642, 0.026680173352360725, -0.5298315286636353, 0.5414260625839233, 0.8693047165870667, -0.21448053419589996, -0.06708435714244843, -0.19105949997901917, 0.31674623489379883, 0.40829795598983765, -0.8958208560943604, 0.009840776212513447, 0.2999859154224396, 0.42467230558395386, 0.5632166862487793, 0.2956371605396271, -0.13654020428657532, 0.29721149802207947, -0.17490781843662262, 0.17411980032920837, -0.18565919995307922, -0.5029385685920715, -0.024033905938267708, 0.5977462530136108, 0.2200559377670288, -0.06275254487991333 ]
http://arxiv.org/abs/2406.17624v1
http://arxiv.org/pdf/2406.17624v1
Self-assessment, Exhibition, and Recognition: a Review of Personality in Large Language Models
2024-06-25T15:08:44
2024-06-25T15:08:44
Zhiyuan Wen, Yu Yang, Jiannong Cao, Haoming Sun, Ruosong Yang, Shuaiqi Liu
cs.CL
cs.CL, cs.AI
As large language models (LLMs) appear to behave increasingly human-like in text-based interactions, more and more researchers become interested in investigating personality in LLMs. However, the diversity of psychological personality research and the rapid development of LLMs have led to a broad yet fragmented landscape of studies in this interdisciplinary field. Extensive studies across different research focuses, different personality psychometrics, and different LLMs make it challenging to have a holistic overview and further pose difficulties in applying findings to real-world applications. In this paper, we present a comprehensive review by categorizing current studies into three research problems: self-assessment, exhibition, and recognition, based on the intrinsic characteristics and external manifestations of personality in LLMs. For each problem, we provide a thorough analysis and conduct in-depth comparisons of their corresponding solutions. Besides, we summarize research findings and open challenges from current studies and further discuss their underlying causes. We also collect extensive publicly available resources to facilitate interested researchers and developers. Lastly, we discuss the potential future research directions and application scenarios. Our paper is the first comprehensive survey of up-to-date literature on personality in LLMs. By presenting a clear taxonomy, in-depth analysis, promising future directions, and extensive resource collections, we aim to provide a better understanding and facilitate further advancements in this emerging field.
[ -0.6057723760604858, -0.5301697850227356, 0.818917453289032, 0.4093526005744934, -0.14105117321014404, 0.3265688121318817, -0.48800018429756165, -0.7021031379699707, 0.4669864773750305, 0.37389621138572693, -0.5188661217689514, -0.12407935410737991, -0.7371989488601685, 0.26141688227653503, -0.6428288221359253, 0.5286109447479248, -0.20864908397197723, 0.14903393387794495, -0.3775293529033661, -0.308336079120636, -0.2834204435348511, -0.8254490494728088, -0.6132627129554749, -0.4411560297012329, 0.6887374520301819, 0.15964040160179138, 0.12323705106973648, 0.09441125392913818, 0.5681597590446472, 0.3811953365802765, -0.12035997211933136, -0.13763166964054108, -0.3173840641975403, 0.29531118273735046, -0.39902305603027344, -0.11717860400676727, -0.3070814609527588, 0.17414343357086182, 0.7884560823440552, 0.6594979763031006, 0.22869044542312622, 0.23032940924167633, 0.11523544043302536, 0.7759665250778198, -0.5148168802261353, 0.014493639580905437, -0.07581696659326553, 0.03164932131767273, -0.5298158526420593, 0.030099285766482353, -0.2987883388996124, -0.26130202412605286, 0.3222491443157196, 0.21549758315086365, -0.08670361340045929, 0.012251138687133789, 0.4337095618247986, -0.32859769463539124, -0.7289369702339172, -0.3872479498386383, -0.9824897050857544, 0.837410032749176, -0.53933185338974, 0.2305125743150711, -0.08807453513145447, 0.40940436720848083, 0.030410004779696465, -0.3505793809890747, -0.6030964255332947, -0.27568599581718445, -0.05116096884012222, 0.08062857389450073, -0.25487688183784485, -0.37307798862457275, 0.04170745611190796, 0.6744544506072998, -0.5346471071243286, 0.40880197286605835, -0.16865861415863037, -0.11266044527292252, 0.9792792797088623, 0.4092012047767639, 0.22825177013874054, -0.031189313158392906, -0.13994868099689484, -0.11914528906345367, -0.8352043032646179, -0.044011328369379044, 0.5393171310424805, 0.006161177065223455, -0.0454413965344429, 0.4674812853336334, -0.5179955363273621, 0.353514701128006, 0.13086079061031342, -0.26130253076553345, 0.29462724924087524, -0.2841357886791229, 0.05885470658540726, -0.2955091893672943, 1.025743842124939, 0.23281873762607574, 0.3381187319755554, 0.02505243383347988, -0.11037706583738327, -0.30691471695899963, 0.12269172817468643, -0.8020567297935486, 0.18689802289009094, 0.5693036317825317, -0.6625235080718994, -0.133969247341156, -0.023022489622235298, -0.9069769978523254, -0.6708003878593445, -0.34667646884918213, 0.24227041006088257, -0.09013327956199646, -0.6113556027412415, -0.09697163105010986, 0.3264518976211548, 0.4039573073387146, 0.45579779148101807, -0.8264572620391846, 0.20805923640727997, 0.6265822649002075, 0.7239336967468262, -0.6516523957252502, -0.34274542331695557, 0.0767182856798172, -0.14966300129890442, -0.29195937514305115, 0.8502344489097595, -0.3460296094417572, -0.41727176308631897, 0.22608135640621185, -0.003593379631638527, 0.24224421381950378, -0.5348696112632751, 0.31444841623306274, -0.2382836788892746, 0.26164910197257996, -0.583288848400116, -0.40791019797325134, -0.026953905820846558, 0.4638858437538147, -0.36145782470703125, 0.6501079201698303, 0.07279019057750702, -0.6034777164459229, 0.0623958557844162, -0.40060997009277344, -0.22889497876167297, 0.270997017621994, -0.44947555661201477, -0.1539795845746994, 0.2012873888015747, -0.22440095245838165, 0.9201667308807373, -0.11802035570144653, 0.2606363296508789, -0.3840031921863556, -0.043061695992946625, 0.6612277030944824, -0.0401090532541275, 0.43372663855552673, 0.12458840012550354, -0.25886082649230957, 0.28710371255874634, -0.7611955404281616, -0.04231342300772667, 0.2962571382522583, -0.18520225584506989, -0.2537863254547119, 0.2166687697172165, 0.18154732882976532, 0.3509748578071594, 0.6545886993408203, -0.6060418486595154, 0.27641335129737854, -0.30263257026672363, 0.3845134973526001, 0.6888271570205688, -0.18970714509487152, 0.339088499546051, -0.09576556086540222, 0.5270913243293762, -0.07394921779632568, 0.16955158114433289, -0.08003011345863342, -0.2766245901584625, -0.6132490634918213, -0.18827754259109497, -0.08750584721565247, 0.25620660185813904, -0.08471893519163132, 0.541688859462738, -0.1015901267528534, -0.9430734515190125, -0.2530406415462494, 0.1257285177707672, 0.40129363536834717, -0.010146358981728554, 0.01751389540731907, -0.6261806488037109, -0.4513498842716217, -1.0824029445648193, -0.34675824642181396, -0.16177622973918915, -0.009749787859618664, 0.532528281211853, 0.662874162197113, -0.3597971200942993, 0.7252302169799805, -0.4000195860862732, -0.3442267179489136, -0.44500961899757385, -0.05691630020737648, 0.08695974946022034, 0.1693039983510971, 0.6248396635055542, -0.502019464969635, -0.6507207155227661, 0.06758731603622437, -0.613306999206543, 0.0809619352221489, 0.22482432425022125, 0.11305353790521622, 0.187615305185318, 0.36332446336746216, -0.581226646900177, 0.2902132272720337, 0.4394371509552002, -0.32790666818618774, 0.8031238317489624, 0.052124422043561935, -0.027437034994363785, -0.6799691319465637, 0.11488835513591766, 0.04387528821825981, -0.007864906452596188, -0.6448553800582886, 0.24060183763504028, -0.08851314336061478, 0.1878867745399475, -0.31313520669937134, 1.044596552848816, -0.5914212465286255, -0.2908066511154175, -0.48871204257011414, 0.20801229774951935, -0.10972516983747482, 0.2205388993024826, 0.19434860348701477, 0.49787548184394836, 0.6125331521034241, -0.5442310571670532, 0.48735302686691284, 0.32907506823539734, -0.5860360860824585, 0.869767963886261, -0.4889528453350067, 0.2079264372587204, -0.12123171985149384, 0.1460694968700409, -1.0310488939285278, -0.4731895923614502, 0.20236897468566895, -0.17922812700271606, 0.5884947180747986, 0.16368107497692108, -0.43512019515037537, -0.4780324399471283, -0.40434807538986206, 0.1491551697254181, 0.47413769364356995, -0.4555928707122803, 0.7730140089988708, 0.32498323917388916, -0.5472285151481628, -0.2542857229709625, -0.41690048575401306, 0.1770276427268982, -0.445810467004776, -0.33804425597190857, 0.2884331941604614, -0.4886634945869446, -0.7174197435379028, -0.5992327332496643, -0.07046987116336823, -0.034315187484025955, 0.17037391662597656, -0.005068523343652487, 0.06756135821342468, 0.060153279453516006, -0.0049189552664756775, -0.4723367393016815, 0.13486400246620178, 0.2975761890411377, 0.2813509404659271, 0.5203803181648254, -0.5690509676933289, -0.38498637080192566, -0.34867724776268005, 0.4151822626590729, 0.5748306512832642, -0.10268403589725494, 0.5947151184082031, 0.7755540013313293, -0.020023807883262634, 0.0788181945681572, -0.8341348767280579, 0.025396911427378654, -0.44342041015625, 0.5432447791099548, -0.34499892592430115, -1.0103727579116821, 0.5866219401359558, -0.006527295336127281, -0.0734298825263977, 0.33850520849227905, 1.0302332639694214, -0.34686627984046936, 0.9309062361717224, 0.6757285594940186, 0.03001326695084572, 0.48576778173446655, 0.059181369841098785, 0.41735872626304626, -1.151424765586853, -0.46647191047668457, -0.4455592930316925, -0.3837530314922333, -0.5850098729133606, 0.11492989957332611, 0.08643448352813721, -0.3552919328212738, -0.24150575697422028, 0.1548568308353424, -0.501919150352478, 0.1774713546037674, 0.029327496886253357, -0.14680631458759308, 0.2883177697658539, -0.2811853289604187, 0.2741917073726654, -0.26520949602127075, 0.048410814255476, -0.794607400894165, 1.1625264883041382, 0.6335837244987488, 0.9651162028312683, 0.5579501986503601, 0.6148827075958252, -0.029498526826500893, 0.6694129109382629, -0.9098808765411377, 0.7269861698150635, 0.06411921232938766, -0.8078628778457642, -0.32574713230133057, -0.1915750354528427, -0.8138720989227295, 0.29081520438194275, -0.07700678706169128, -1.2303810119628906, 0.10905712842941284, -0.0016330191865563393, -0.07761611044406891, 0.050428640097379684, -0.49604344367980957, 0.6825827360153198, -0.5993674397468567, -0.358296275138855, -0.09384963661432266, -0.5095861554145813, 0.7093033790588379, -0.4353397786617279, 0.23501014709472656, -0.44179797172546387, 0.02189052291214466, 0.7964016199111938, 0.14739666879177094, 0.714780330657959, -0.033851753920316696, -0.474384605884552, 0.09256450086832047, 0.38651901483535767, 0.22131389379501343, -0.17800703644752502, 0.16506162285804749, 0.15660610795021057, 0.4220242500305176, -0.037807684391736984, -0.6910147070884705, 0.7679487466812134, -0.6645351648330688, -0.862065851688385, -0.6474176049232483, -0.31814810633659363, -0.5769675374031067, 0.11321038752794266, -0.17999275028705597, 0.35724878311157227, -0.4796633720397949, 0.2283463478088379, 0.5550236701965332, -0.3501216769218445, 0.4107704162597656, 0.7473750114440918, -0.5887416005134583, -0.09369836747646332, 0.7874605059623718, -0.03320419415831566, 0.2714252769947052, 0.18468698859214783, 0.2767546772956848, -0.5043132305145264, -0.8167006969451904, 0.03277510404586792, 0.650654137134552, -0.754578709602356, 0.3519820272922516, -0.5567501783370972, -0.10306961834430695, -0.5693404674530029, 0.1490311175584793, -0.44135385751724243, -0.02982761338353157, -0.365723192691803, 0.28156787157058716, 0.054688215255737305, 1.1023005247116089, 0.3534192740917206, 0.3894437849521637, -0.4025048017501831, 0.028281426057219505, 0.3782208263874054, 0.5848046541213989, 0.4065062701702118, -0.5157124400138855, -0.1317126452922821, -0.5208012461662292, -0.5626810193061829, -0.7916565537452698, 0.40540674328804016, -0.0313735231757164, 0.7049455046653748, 0.846067488193512, -0.2928583323955536, 0.34853941202163696, -0.4172991216182709, 0.7974037528038025, 0.12225721776485443, -0.7490488290786743, 0.370194673538208, -0.36117902398109436, -0.03512905165553093, 0.533694863319397, 0.6819084286689758, -0.6215438842773438, -0.08141535520553589, -0.6075322031974792, -0.608970582485199, 0.3830360174179077, 0.17565634846687317, 0.301836758852005, 0.04200928658246994, 0.40634867548942566, -0.03966164216399193, 0.4293147027492523, -0.9575494527816772, -0.3221474885940552, 0.0937126874923706, -0.17365671694278717, -0.19991227984428406, -0.39959558844566345, -0.09647070616483688, -0.32070547342300415, 0.6291850805282593, -0.3037753701210022, 0.376321017742157, 0.13902227580547333, 0.1301289051771164, 0.1420183628797531, 0.5716829299926758, 0.49949052929878235, 0.7815935611724854, -0.3259771168231964, -0.05386928468942642, -0.028451958671212196, -0.3242846727371216, 0.20962461829185486, -0.2856297791004181, 0.19744303822517395, -0.27576425671577454, 0.36986345052719116, 0.4351516664028168, 0.20211909711360931, -0.8634598851203918, 0.7730831503868103, 0.011328603141009808, -0.05917543172836304, -0.7413080930709839, -0.03437376022338867, 0.3066319227218628, 0.3697659969329834, 0.30496537685394287, -0.37466734647750854, 0.09199940413236618, -1.0014876127243042, -0.3711468577384949, 0.7643503546714783, -0.3259962797164917, -0.49754342436790466, 0.22688795626163483, 0.21480117738246918, -0.3082030415534973, 0.23919664323329926, -0.3046680986881256, -0.3767673373222351, 0.4461832344532013, 0.24556976556777954, 0.9230906963348389, -0.24036897718906403, -0.04039406403899193, 0.2357816994190216, 0.05164062976837158, -0.12130435556173325, 0.2019379436969757, -0.00895662046968937, -0.871757984161377, -0.25067567825317383, -0.8142901062965393, -0.7471508979797363, 0.4657787084579468, -0.3945431113243103, 0.13992373645305634, -0.5211385488510132, -0.06992167234420776, -0.04141077399253845, 0.286852091550827, -0.579328715801239, -0.07078155875205994, 0.4468981623649597, 0.7692628502845764, -0.6629332900047302, 0.49695679545402527, 0.7234936356544495, -0.237718865275383, -0.4021734595298767, -0.15037472546100616, 0.14548178017139435, -0.5117700695991516, 0.7791310548782349, 0.1904449164867401, 0.16108731925487518, -0.11913622170686722, -0.4310947060585022, -1.0145514011383057, 0.9571512341499329, -0.04202067479491234, -0.45520690083503723, -0.10209022462368011, -0.1911165416240692, 0.6586987972259521, -0.5866631269454956, 0.5528346300125122, 0.7653212547302246, 0.6850513815879822, 0.11075564473867416, -0.796087920665741, -0.16327986121177673, -0.10680734366178513, 0.05998461693525314, -0.035410840064287186, -1.076554536819458, 0.6561054587364197, 0.09717725962400436, -0.24572165310382843, 0.5803021192550659, 0.6780648827552795, 0.4033333957195282, 0.12493202835321426, 0.22491629421710968, 0.1899256855249405, 0.43263182044029236, -0.16845698654651642, 0.915902316570282, -0.16839538514614105, 0.34707769751548767, 0.9118350148200989, -0.7582187056541443, 0.9634276628494263, 0.36986294388771057, -0.6872240900993347, 0.7842732071876526, 0.7157343626022339, -0.33677175641059875, 0.17069011926651, 0.2351285070180893, -0.30256205797195435, -0.10153059661388397, -0.05350418761372566, -0.09750238806009293, 0.6189156174659729, 0.4574728310108185, -0.29588764905929565, -0.20478056371212006, 0.14689813554286957, -0.06236577779054642, 0.05435032770037651, -0.25924551486968994, 0.48588576912879944, 0.10636355727910995, -0.6071712374687195, -0.15457521378993988, 0.025165662169456482, 0.9585813879966736, -0.7422771453857422, 0.27245619893074036, -0.15435223281383514, 0.05018523707985878, -0.3051551580429077, -1.128787636756897, 0.37890592217445374, -0.1694691926240921, 0.012948576360940933, -0.6320292949676514, 0.9341777563095093, -0.13480441272258759, -0.10567992180585861, 0.3419121205806732, 0.7303575873374939, 0.5492135286331177, -0.22236372530460358, -0.48025715351104736, 0.1929876059293747, -0.3246447741985321, -0.3877773582935333, 0.7606507539749146, 0.14095823466777802, 0.1291653960943222, 0.8868939280509949, 0.27177825570106506, 0.007449409458786249, -0.25146484375, 0.1410043090581894, 0.35814404487609863, -0.865947425365448, -0.2618083357810974, -0.8973913788795471, 0.14661109447479248, 0.06727862358093262, -0.41408029198646545, 1.0065701007843018, 0.386941134929657, 0.5929536819458008, -0.14748521149158478, 0.5874831080436707, -0.12028094381093979, 0.5830583572387695, -0.2344464510679245, 0.7048752307891846, -0.5144930481910706, -0.09463730454444885, -0.530389666557312, -0.8235378861427307, 0.05839664861559868, 0.5204322934150696, -0.4858820140361786, 0.45657458901405334, 0.6718645095825195, 0.39155271649360657, 0.2916037142276764, -0.14447182416915894, 0.3769794702529907, 0.45568692684173584, 0.21125122904777527, 0.4528617858886719, 1.1451900005340576, -0.027380669489502907, 0.03570585325360298, -0.1841733604669571, -0.2617805004119873, -0.4243340492248535, -0.9124789237976074, -1.1493654251098633, -0.7569890022277832, -0.5147063136100769, -0.19700463116168976, -0.6146935224533081, 0.7108526825904846, 0.5890909433364868, -0.4846697747707367, -0.3653833568096161, 0.4128821790218353, 0.11279302090406418, 0.10388295352458954, -0.2740984559059143, 0.16112403571605682, 0.03743555396795273, -0.7034927606582642, 0.26102903485298157, 0.4344586431980133, 0.2932717800140381, -1.257129430770874, 0.1107487827539444, 0.06119503453373909, 0.1304338276386261, 0.9259068369865417, 0.44429853558540344, -0.94994056224823, -0.3880257308483124, -0.08728224039077759, -0.0051934742368757725, 0.07050656527280807, 0.8155166506767273, -0.5284436941146851, 0.2362300604581833, 0.3365216851234436, 0.4552960693836212, 0.3463834822177887, -0.3256179988384247, 0.2507108747959137, -0.5350494980812073, -0.3451727628707886, 0.19599473476409912, 0.5302006602287292, 0.5640762448310852, -0.43508780002593994, 0.3956095576286316, 0.2475556582212448, -0.5199870467185974, -0.7994097471237183, 0.569520890712738, -1.233616590499878, -0.147847518324852, 1.248255968093872, 0.044473543763160706, -0.20376187562942505, -0.10703195631504059, -0.055392201989889145, -0.28173723816871643, 0.06189033016562462, 0.7903634905815125, 1.1814051866531372, -0.610931932926178, -0.1650117188692093, -0.5247845649719238, 0.2703343331813812, 0.25987759232521057, -0.895455539226532, 0.07797824591398239, 0.2959088087081909, 0.5981706380844116, 0.44901975989341736, 0.8142553567886353, -0.4133606553077698, -0.11447613686323166, -0.695395827293396, 0.30310386419296265, 0.3799152672290802, -0.21247601509094238, -0.5724523067474365, 0.18480922281742096, 0.4952182173728943, 0.6324959397315979 ]
http://arxiv.org/abs/2406.17618v1
http://arxiv.org/pdf/2406.17618v1
Towards Building an End-to-End Multilingual Automatic Lyrics Transcription Model
2024-06-25T15:02:32
2024-06-25T15:02:32
Jiawen Huang, Emmanouil Benetos
eess.AS
eess.AS, cs.CL, cs.SD
Multilingual automatic lyrics transcription (ALT) is a challenging task due to the limited availability of labelled data and the challenges introduced by singing, compared to multilingual automatic speech recognition. Although some multilingual singing datasets have been released recently, English continues to dominate these collections. Multilingual ALT remains underexplored due to the scale of data and annotation quality. In this paper, we aim to create a multilingual ALT system with available datasets. Inspired by architectures that have been proven effective for English ALT, we adapt these techniques to the multilingual scenario by expanding the target vocabulary set. We then evaluate the performance of the multilingual model in comparison to its monolingual counterparts. Additionally, we explore various conditioning methods to incorporate language information into the model. We apply analysis by language and combine it with the language classification performance. Our findings reveal that the multilingual model performs consistently better than the monolingual models trained on the language subsets. Furthermore, we demonstrate that incorporating language information significantly enhances performance.
[ -0.22116556763648987, -0.29804161190986633, 0.11395984888076782, 0.22575901448726654, -0.2522028088569641, 0.43377378582954407, -0.512951672077179, -0.8707207441329956, 0.3054960072040558, 0.482980340719223, -0.5668808817863464, -0.5290704965591431, -0.3751663565635681, 0.5062382221221924, -0.37446364760398865, 1.1299302577972412, -0.1282082051038742, 0.048086754977703094, 0.06488212943077087, -0.2535606324672699, -0.162737637758255, -0.5208637118339539, -0.769990861415863, 0.14724460244178772, 0.5745989680290222, 0.2828601896762848, 0.708503007888794, 0.33899492025375366, 0.26759129762649536, 0.3079681396484375, -0.05278520658612251, 0.2728859782218933, -0.4318053424358368, 0.2548971474170685, 0.1708819568157196, -0.43960076570510864, -0.278175413608551, 0.011622194200754166, 0.7292446494102478, 0.45224010944366455, -0.14877060055732727, 0.4416816532611847, -0.13373057544231415, 0.2728731632232666, -0.0028111343272030354, 0.03546440973877907, -0.8936660885810852, 0.060775574296712875, -0.1938968300819397, 0.004057647660374641, -0.4334790110588074, -0.1185159981250763, 0.01570209115743637, -0.6044694185256958, 0.09982506930828094, 0.2765754163265228, 0.9486355781555176, 0.24160730838775635, -0.3774438202381134, -0.5736599564552307, -0.7883918881416321, 0.6789794564247131, -0.5538827180862427, 0.7638827562332153, 0.15926137566566467, 0.5754572153091431, 0.38356536626815796, -0.5015798807144165, -0.35788682103157043, -0.340667188167572, -0.13999547064304352, 0.1646708846092224, -0.03544672951102257, 0.024654831737279892, -0.05289798602461815, 0.2891514301300049, -0.5007338523864746, -0.05867035686969757, -0.6346323490142822, -0.24562205374240875, 0.547333836555481, -0.3776865303516388, 0.6707195043563843, -0.21145577728748322, -0.5422523617744446, 0.11342708021402359, -0.75217205286026, 0.29113060235977173, 0.7394684553146362, 0.9230818748474121, -0.05177055671811104, 0.4572156071662903, 0.2529903054237366, 0.7755647897720337, -0.3135465085506439, -0.15403486788272858, 0.3970034420490265, -0.19285708665847778, -0.045773230493068695, 0.24651165306568146, 0.657135546207428, 0.04384247958660126, 0.27243903279304504, -0.6709322929382324, -0.45697635412216187, 0.007776942104101181, 0.02286255732178688, -0.40366676449775696, 0.13907650113105774, 0.21662317216396332, -0.3550861179828644, 0.14998283982276917, -0.15017884969711304, -0.31517794728279114, 0.07565773278474808, -0.8713528513908386, 0.5399184823036194, -0.45837417244911194, -0.2417573481798172, 0.1108405739068985, -0.004190577194094658, -0.21520806849002838, -0.016170131042599678, -0.4537097215652466, 0.14088226854801178, 0.39607635140419006, 0.7721056938171387, 0.02345399744808674, -0.46814441680908203, -0.41136953234672546, 0.2512391209602356, -0.2610257863998413, 0.5433803200721741, -0.4698677062988281, 0.0767454132437706, 0.037084467709064484, 0.19057515263557434, -0.24654072523117065, -0.2220606803894043, 0.5406776070594788, -0.6185142993927002, 0.33856073021888733, -0.17306949198246002, -0.5805666446685791, -0.35040053725242615, 0.03273855149745941, -1.0634301900863647, 0.7200610041618347, 0.1552986055612564, -0.4177180230617523, 0.10480886697769165, -0.5387887358665466, -0.5530964732170105, -0.144608274102211, -0.051144588738679886, -0.33044400811195374, 0.17017559707164764, 0.17198102176189423, 0.2921973764896393, -0.3309802711009979, 0.14179542660713196, 0.03811671584844589, -0.386522501707077, 0.41442084312438965, -0.46420255303382874, 0.7350347638130188, 0.4283462166786194, -0.05385449156165123, -0.1376105695962906, -0.7610388398170471, 0.15458805859088898, -0.21404261887073517, -0.4162432551383972, -0.21086592972278595, -0.15141452848911285, 0.6280108094215393, 0.5614787936210632, 0.34633851051330566, -0.661472499370575, 0.1267339438199997, -0.2962769865989685, 0.2808946669101715, 0.40745842456817627, -0.2473399043083191, 0.15220589935779572, -0.3430745303630829, 0.9418561458587646, -0.32176685333251953, 0.08660801500082016, -0.030453575775027275, -0.25587624311447144, -0.39267778396606445, -0.350245863199234, 0.6294609308242798, 0.7789203524589539, -0.8728212118148804, 0.1901896446943283, -0.42107921838760376, -0.1746973693370819, -1.3601665496826172, 0.49101680517196655, 0.6671403050422668, 0.2783690094947815, 0.535300076007843, 0.111366406083107, -0.7332776188850403, -0.977108359336853, -0.26176318526268005, -0.11690563708543777, 0.07399387657642365, 0.26353347301483154, -0.019240127876400948, 0.06537186354398727, 0.49381592869758606, 0.025810105726122856, -0.5034680962562561, -0.6021650433540344, 0.1712488979101181, 0.581579327583313, 0.34764111042022705, 0.753739058971405, -0.9032294154167175, -0.9050881266593933, 0.22221717238426208, -0.44605153799057007, -0.23337796330451965, -0.3668919801712036, -0.2708624303340912, 0.09352104365825653, 0.409446656703949, -0.42484378814697266, 0.0045200553722679615, 0.7458593845367432, -0.26377761363983154, 0.48623985052108765, 0.07088732719421387, 0.40461844205856323, -1.1862390041351318, 0.17550799250602722, -0.3722570836544037, -0.32689622044563293, -0.8817685842514038, 0.06703543663024902, 0.16347730159759521, -0.01060155127197504, -0.4452514946460724, 0.2982693612575531, -0.6434729099273682, -0.240299254655838, -0.20834040641784668, 0.014201303943991661, 0.03784641996026039, 0.4650333821773529, 0.12781788408756256, 0.7365190386772156, 0.7819885015487671, -0.3693355321884155, 0.4897945523262024, 0.07351364195346832, -0.490672767162323, 0.5143930912017822, -0.6281309127807617, -0.006802476476877928, -0.46204039454460144, -0.055111080408096313, -1.1998746395111084, -0.11494497209787369, -0.11067631840705872, -0.7101171612739563, 0.8758661150932312, -0.4058886468410492, -0.6048798561096191, -0.27899158000946045, 0.16582682728767395, 0.4287465512752533, 0.5112575888633728, -0.5917503833770752, 0.41392096877098083, 0.2547858655452728, -0.2729177176952362, -0.5898505449295044, -0.5061303973197937, 0.4505630135536194, -0.38520103693008423, -0.36101773381233215, 0.41436225175857544, -0.07708656042814255, 0.011070352979004383, -0.013308245688676834, 0.1776539385318756, 0.028755519539117813, -0.1231837347149849, -0.2306102216243744, 0.15828955173492432, -0.1919364184141159, 0.6097403764724731, 0.09812501817941666, -0.09503861516714096, -0.13963216543197632, -0.3954164981842041, 0.36070239543914795, -0.020412949845194817, -0.36664292216300964, -0.45200762152671814, 0.6418145298957825, 0.6961995363235474, -0.49014514684677124, 0.6218751668930054, 0.5870275497436523, -0.4108206331729889, -0.20056790113449097, -0.43379685282707214, 0.2963345944881439, -0.36795949935913086, 0.3647478222846985, -0.5496806502342224, -0.38890817761421204, 0.6907460689544678, 0.23525163531303406, 0.37565597891807556, 0.29518401622772217, 0.2281823754310608, -0.27806979417800903, 1.0379769802093506, 0.3939943015575409, -0.2103075534105301, 0.29603198170661926, -0.25315773487091064, 0.02883331850171089, -0.9011627435684204, -0.059828538447618484, -0.6354196667671204, -0.5817831754684448, -0.5433778166770935, -0.411436527967453, 0.6721062660217285, 0.1132190078496933, 0.06587573140859604, 0.5265489816665649, -0.4307650327682495, 0.32241564989089966, 0.401584655046463, 0.16415750980377197, 0.21094819903373718, 0.15859174728393555, -0.1100250855088234, 0.019040275365114212, -0.5717694163322449, -0.38157010078430176, 1.0842972993850708, 0.23653623461723328, 0.6711153388023376, 0.5128324031829834, 0.6604064702987671, -0.05521320179104805, 0.4913620352745056, -0.524583101272583, -0.07221086323261261, -0.48951271176338196, -0.8241044282913208, -0.4760044515132904, -0.38263431191444397, -0.6876748204231262, 0.19512180984020233, 0.04537253454327583, -0.45440489053726196, -0.19247309863567352, 0.26170843839645386, -0.2510964870452881, 0.336438924074173, -0.4827224910259247, 0.6164319515228271, -0.7083679437637329, -0.23913098871707916, 0.40480586886405945, -0.797152578830719, 0.10824541747570038, -0.02397233247756958, 0.8986861109733582, -0.1133614256978035, -0.17464202642440796, 0.6435835957527161, -0.09667161852121353, 0.7700977325439453, -0.15642483532428741, -0.35163256525993347, 0.18715478479862213, -0.10423117876052856, 0.5020486116409302, -0.15015338361263275, -0.1683131456375122, -0.13063423335552216, -0.11252417415380478, -0.23162579536437988, -0.6038922071456909, 0.48580336570739746, -0.9101449847221375, -0.06256938725709915, 0.1477220505475998, -0.548326849937439, -0.37609899044036865, 0.10462652146816254, 0.4204466640949249, 0.500109851360321, 0.06927746534347534, 0.28084415197372437, 0.4859791398048401, -0.2380911409854889, 0.31620246171951294, 0.57215416431427, -0.517336368560791, -0.7207260131835938, 0.8664523959159851, 0.34528014063835144, 0.5754292011260986, 0.7535524368286133, 0.1038430780172348, -0.6790566444396973, -0.2688004970550537, -0.9108526706695557, 0.2901723384857178, -0.9059244394302368, -0.2742997109889984, -0.6925793290138245, -0.12200997769832611, -0.5791304111480713, 0.10824627429246902, -0.43254798650741577, -0.6532036066055298, -0.18825963139533997, -0.21519403159618378, 0.5410188436508179, 0.5028552412986755, -0.14306023716926575, 0.2775421738624573, -0.7987037301063538, 0.5450837016105652, 0.0027240891940891743, 0.4930495321750641, -0.10369211435317993, -0.7861062288284302, -0.592541515827179, 0.10147087275981903, 0.20205892622470856, -1.1250123977661133, 0.3215165138244629, 0.713642418384552, 0.5736356377601624, 0.1514255851507187, -0.05954482778906822, 0.8875478506088257, -0.6798482537269592, 0.5483829975128174, 0.2086784541606903, -0.8235927224159241, 0.21078245341777802, -0.10339266061782837, 0.2757872939109802, 0.6694355010986328, 0.5823968052864075, -0.9572545886039734, -0.518434464931488, -0.2208888828754425, -0.9474323987960815, 0.5137350559234619, 0.1995786726474762, 0.19164599478244781, 0.16408000886440277, 0.33886659145355225, 0.4029732644557953, 0.4648456275463104, -1.0766905546188354, -0.3092406690120697, -0.25224795937538147, -0.5753626227378845, -0.4750906825065613, 0.19011686742305756, 0.09464098513126373, -0.3405473530292511, 0.8985676169395447, -0.13565996289253235, 0.035450082272291183, 0.10080361366271973, -0.23105083405971527, -0.27936097979545593, 0.3084709942340851, 0.18930821120738983, 0.2568538188934326, 0.0638359934091568, 0.03758648782968521, -0.09323897212743759, -0.09998729825019836, 0.1999729871749878, 0.18874360620975494, -0.3155202865600586, 0.3048195242881775, 0.5439304709434509, 1.1023476123809814, 0.48082801699638367, -0.7221170663833618, 0.16160547733306885, 0.05280793458223343, 0.0925702452659607, -0.368266224861145, -0.34706395864486694, 0.23091211915016174, -0.1710532158613205, 0.26805171370506287, -0.11259642988443375, 0.26237961649894714, -0.5243286490440369, 0.3233621120452881, 0.4296458065509796, -0.5028740167617798, -0.3035527765750885, 0.7563894391059875, -0.15663477778434753, -0.22715812921524048, 0.34276527166366577, -0.0718393623828888, -0.9589884281158447, 0.5464187860488892, 0.5925264358520508, 0.823078989982605, -0.6704294085502625, 0.06997831165790558, 0.45542988181114197, 0.6397498846054077, 0.26211413741111755, 0.6680012941360474, -0.13592924177646637, -0.27724793553352356, -0.5795696377754211, -0.8897579908370972, -0.09503085911273956, -0.025259697809815407, -0.7125818133354187, 0.3431798219680786, 0.3143836259841919, 0.0653296485543251, -0.1972540318965912, -0.2758125960826874, -0.8969268798828125, 0.43213504552841187, 0.12633079290390015, 0.836689829826355, -1.0595126152038574, 0.47709208726882935, 0.76026451587677, -0.2347387671470642, -0.7628633379936218, -0.421766072511673, -0.24256865680217743, -0.8083012104034424, 0.5630976557731628, 0.31586554646492004, -0.07761044055223465, -0.059091225266456604, -0.35768070816993713, -1.3302948474884033, 0.7134106755256653, 0.18324242532253265, -0.5576480031013489, -0.16052614152431488, 0.48295122385025024, 0.8474217057228088, -0.4795715808868408, 0.11549229919910431, 0.27816691994667053, 0.5359044671058655, 0.41322407126426697, -1.0547808408737183, -0.42417964339256287, -0.433463454246521, -0.22739821672439575, 0.13741818070411682, -0.5186903476715088, 1.0662076473236084, -0.006177807692438364, -0.2457728385925293, 0.30532053112983704, 0.5850588083267212, -0.13870403170585632, 0.12246643006801605, 0.5879731178283691, 0.5305296778678894, 0.6133880615234375, -0.07337260246276855, 0.8869245052337646, -0.7356940507888794, 0.2443462312221527, 1.2746049165725708, -0.3077079951763153, 0.8492487072944641, 0.4189051687717438, -0.18558035790920258, 0.182356059551239, 0.707185685634613, 0.263406902551651, 0.6153782606124878, 0.3455108106136322, -0.21001359820365906, -0.33689138293266296, -0.07826818525791168, -0.2520482540130615, 0.5180832147598267, 0.3563553988933563, -0.6209409832954407, -0.11211080849170685, 0.26495569944381714, -0.07531526684761047, 0.08239556103944778, -0.184042289853096, 0.8503736853599548, -0.17756444215774536, -0.7643381953239441, 0.5231360197067261, -0.11004964262247086, 0.4171389937400818, -0.7179301977157593, 0.13210523128509521, 0.09418950229883194, -0.09208278357982635, -0.0675722137093544, -0.4326218068599701, 0.18914151191711426, 0.10976959764957428, -0.1538519710302353, -0.39949384331703186, 0.19457396864891052, -1.2349923849105835, -1.0941740274429321, 0.4278338551521301, 0.46571752429008484, 0.2635497748851776, 0.14958807826042175, -0.5433613061904907, 0.059468600898981094, 0.05289633572101593, -0.06104131042957306, 0.01799602247774601, 0.6421932578086853, 0.22631391882896423, 0.47063300013542175, 0.6135997772216797, 0.5363554954528809, 0.23375651240348816, 0.3303203880786896, 0.476054310798645, -0.3422906696796417, -0.6664944291114807, -0.541218638420105, 0.6052565574645996, 0.0502464585006237, -0.16462978720664978, 0.6418372392654419, 0.7870938181877136, 0.894769012928009, -0.10109509527683258, 1.1468769311904907, 0.07761871814727783, 1.0689328908920288, -0.8098360896110535, 0.7450464367866516, -0.9569336175918579, 0.19172616302967072, -0.3335020840167999, -0.6161214113235474, -0.19000451266765594, 0.2506047785282135, 0.32655173540115356, 0.18730877339839935, 0.230436310172081, 0.48463383316993713, -0.1636316329240799, -0.052830930799245834, 0.3252118229866028, 0.12359149754047394, 0.4093518853187561, 0.7045424580574036, 0.8620430827140808, -0.624488353729248, 0.5703250169754028, -0.4397498667240143, -0.31602683663368225, 0.15153397619724274, -0.8379788398742676, -0.7615877985954285, -0.834296464920044, -0.1172112300992012, -0.01046909112483263, -0.13351179659366608, 1.111145257949829, 0.6238997578620911, -0.8218219876289368, -0.3615962266921997, 0.4614352285861969, 0.13173963129520416, -0.3590928316116333, -0.16322049498558044, 0.5393785834312439, -0.5680616497993469, -0.8089289665222168, 0.38427600264549255, -0.0034573425073176622, 0.2203579545021057, -0.2299400120973587, -0.06999614834785461, -0.2530958354473114, -0.006943473592400551, 0.4917212724685669, 0.1142391711473465, -0.7772771120071411, -0.14520816504955292, 0.24493767321109772, 0.2317659705877304, -0.08721248805522919, 0.6901046633720398, -0.3883405327796936, 0.682513952255249, 0.12829802930355072, 0.5333230495452881, -0.09523990750312805, 0.0010706573957577348, 0.4578372538089752, -1.1004515886306763, -0.21955333650112152, 0.25343891978263855, 0.4933883845806122, 0.4939453899860382, -0.46585598587989807, 0.2420935183763504, -0.09852632880210876, -0.2876904010772705, -0.832862913608551, 0.14813490211963654, -0.46058836579322815, -0.1973152756690979, 1.1566030979156494, -0.16767726838588715, -0.1566694974899292, -0.01139202993363142, -0.3202347755432129, 0.5209505558013916, -0.1073785275220871, 0.7914817333221436, 0.8168566823005676, -0.08902347832918167, -0.08778244256973267, -0.6313378810882568, 0.6692273020744324, 0.08896730095148087, -0.5428451299667358, 0.22626659274101257, 0.554167628288269, 0.14975911378860474, 0.2351178526878357, 0.36830341815948486, -0.0994676724076271, 0.5001142621040344, -0.5132285952568054, 0.24427272379398346, -0.1485634446144104, -0.8506544232368469, -0.32159623503685, 0.1255193054676056, 0.036970119923353195, -0.17449329793453217 ]
http://arxiv.org/abs/2406.17600v1
http://arxiv.org/pdf/2406.17600v1
"Seeing the Big through the Small": Can LLMs Approximate Human Judgment Distributions on NLI from a Few Explanations?
2024-06-25T14:42:17
2024-06-25T14:42:17
Beiduo Chen, Xinpeng Wang, Siyao Peng, Robert Litschko, Anna Korhonen, Barbara Plank
cs.CL
cs.CL
Human label variation (HLV) is a valuable source of information that arises when multiple human annotators provide different labels for valid reasons. In Natural Language Inference (NLI) earlier approaches to capturing HLV involve either collecting annotations from many crowd workers to represent human judgment distribution (HJD) or use expert linguists to provide detailed explanations for their chosen labels. While the former method provides denser HJD information, obtaining it is resource-intensive. In contrast, the latter offers richer textual information but it is challenging to scale up to many human judges. Besides, large language models (LLMs) are increasingly used as evaluators (``LLM judges'') but with mixed results, and few works aim to study HJDs. This study proposes to exploit LLMs to approximate HJDs using a small number of expert labels and explanations. Our experiments show that a few explanations significantly improve LLMs' ability to approximate HJDs with and without explicit labels, thereby providing a solution to scale up annotations for HJD. However, fine-tuning smaller soft-label aware models with the LLM-generated model judgment distributions (MJDs) presents partially inconsistent results: while similar in distance, their resulting fine-tuned models and visualized distributions differ substantially. We show the importance of complementing instance-level distance measures with a global-level shape metric and visualization to more effectively evaluate MJDs against human judgment distributions.
[ -0.600569486618042, -0.4770607352256775, 0.8427457213401794, -0.08381986618041992, -0.27165117859840393, -0.21489638090133667, -0.4646359384059906, -0.7049161195755005, 0.21657462418079376, 0.49641942977905273, -0.580622136592865, -0.39758020639419556, -0.5189110040664673, 0.08706723153591156, 0.1757751703262329, 0.9385712146759033, 0.28552743792533875, -0.06437671184539795, -0.00796099379658699, -0.08941517770290375, -0.1331728994846344, -0.2831130921840668, -0.45630449056625366, -0.4470893144607544, 0.9363043904304504, 0.4103592336177826, 0.8665181398391724, 0.7924923896789551, 0.3922230303287506, 0.23767322301864624, -0.4892168641090393, 0.2964193820953369, -0.3281434178352356, -0.39208170771598816, -0.220921590924263, -0.7862774133682251, -0.3542614281177521, 0.14292214810848236, 0.7807838916778564, 1.207984209060669, 0.005453348159790039, 0.2090246081352234, 0.28372108936309814, 0.6839592456817627, -0.8206110000610352, -0.19791433215141296, -0.36215630173683167, 0.2852097451686859, -0.21076877415180206, 0.08860579878091812, -0.5718343257904053, -0.20504090189933777, 0.457163006067276, -0.6318968534469604, 0.24495436251163483, 0.37893202900886536, 0.7757230401039124, 0.4267665147781372, -0.48535946011543274, -0.1335439831018448, -0.6938712000846863, 1.0927098989486694, -0.8927821516990662, 0.20379196107387543, 0.2441573292016983, 0.4582211673259735, -0.11302462220191956, -0.4558098018169403, -0.4759346544742584, -0.220500648021698, -0.31207165122032166, -0.0668717622756958, -0.108357734978199, 0.0776812806725502, 0.42983853816986084, 0.1734585016965866, -0.15771107375621796, 0.4954964220523834, -0.17953693866729736, -0.20987465977668762, 0.7806376814842224, 0.30822813510894775, -0.15089689195156097, -0.5616564750671387, -0.40272486209869385, -0.32727426290512085, -0.7386357188224792, 0.0342574305832386, 0.24545873701572418, 0.20382602512836456, -0.22122322022914886, 0.3995457589626312, -0.10471463948488235, 0.8839949369430542, -0.10988117009401321, -0.41265860199928284, 0.266838014125824, -0.20831407606601715, -0.5569034218788147, -0.04729163646697998, 0.9263167977333069, 0.5125874876976013, 0.29235053062438965, 0.006615560036152601, -0.11069689691066742, -0.3199903964996338, 0.17979328334331512, -0.7283707857131958, -0.23536254465579987, -0.20267519354820251, -0.7594419121742249, -0.3012412190437317, 0.16692054271697998, -1.1098568439483643, -0.9897046089172363, -0.30481356382369995, 0.220130056142807, -0.08613406121730804, -0.10117112100124359, 0.04639282450079918, -0.25859498977661133, 0.09086030721664429, 0.6300488114356995, -0.7841196656227112, 0.19609037041664124, 0.6062695980072021, 0.6848865747451782, -0.17266039550304413, -0.12021448463201523, -0.39254263043403625, 0.17020170390605927, -0.3458435833454132, 0.6514232158660889, -0.49008285999298096, -0.37046754360198975, -0.25100842118263245, -0.29301807284355164, 0.06818749010562897, -0.7274442911148071, 0.5145299434661865, -0.28610551357269287, -0.08255425095558167, -0.2444494515657425, -0.6152699589729309, -0.18838398158550262, 0.23187464475631714, -0.6735498905181885, 0.6451192498207092, -0.06693314015865326, -1.0170162916183472, 0.6672131419181824, -0.4444279074668884, -0.13196225464344025, 0.03896945342421532, -0.2866833508014679, -0.3453541696071625, 0.40248116850852966, 0.33377471566200256, 0.4342142343521118, -0.29567500948905945, -0.10284119099378586, -0.6065493822097778, -0.37355026602745056, 0.43036213517189026, -0.7392577528953552, 0.6627732515335083, 0.2180994749069214, -0.1459352970123291, 0.2403961718082428, -0.7120612263679504, -0.04446359723806381, -0.06857233494520187, -0.44185611605644226, -0.5870321989059448, 0.05005930736660957, 0.08591052144765854, -0.008739653043448925, -0.059435345232486725, -0.3204668462276459, 0.33913275599479675, -0.5436713099479675, 0.17815013229846954, 0.8082030415534973, 0.29386377334594727, 0.6921586990356445, -0.20525972545146942, 0.5163789391517639, 0.02285602316260338, 0.26373547315597534, 0.11402468383312225, -0.7005455493927002, -0.6317624449729919, -0.40825313329696655, 0.6418337225914001, 0.24706794321537018, -0.7167336940765381, 0.2642303705215454, -0.3453619182109833, -0.5220873355865479, -0.7313401103019714, 0.16434581577777863, 0.36095505952835083, 0.30004599690437317, 0.21275001764297485, -0.2293478548526764, -0.5441524386405945, -1.1458970308303833, -0.3832148015499115, -0.09191550314426422, -0.6459271311759949, 0.45899781584739685, 0.5852630138397217, -0.3246266543865204, 1.0960115194320679, -0.575075626373291, -0.2911680340766907, -0.2034723460674286, 0.2145022600889206, 0.2702372372150421, 0.23226004838943481, 0.5024806261062622, -0.6713342070579529, -0.19816221296787262, 0.02916690520942211, -0.5298826694488525, -0.12180770188570023, -0.25946077704429626, -0.18821009993553162, 0.004624670371413231, 0.25851011276245117, -0.40804755687713623, 0.6861950159072876, 0.31521177291870117, -0.41417232155799866, 0.6120432615280151, -0.3955938220024109, -0.1843302994966507, -0.5996240377426147, -0.3540118932723999, 0.4150581359863281, -0.22786317765712738, -0.38352063298225403, 0.10384754836559296, -0.036945801228284836, 0.5366955399513245, -0.4674992561340332, 0.6500614881515503, -0.46060651540756226, -0.23509067296981812, -0.24262884259223938, 0.2726685404777527, 0.14350995421409607, 0.27507027983665466, -0.10460598021745682, 0.4716219902038574, 0.19086672365665436, -0.56093430519104, 0.058380503207445145, -0.12847019731998444, -0.6160879135131836, 0.5751202702522278, -0.48044097423553467, -0.10471488535404205, -0.12938736379146576, 0.42651185393333435, -0.9086621999740601, -0.4349234104156494, 0.32858550548553467, 0.0004759034782182425, 0.21704760193824768, -0.4053681194782257, -0.5242109298706055, -0.51998370885849, -0.516441822052002, 0.3432168960571289, 0.668402910232544, -0.7741979956626892, 0.7881365418434143, 0.3849491477012634, 0.17087839543819427, -0.35897836089134216, -0.8754597306251526, 0.19398118555545807, -0.4647601842880249, -0.5672814249992371, 0.022042574360966682, -0.17322231829166412, -0.6196256279945374, -0.2780720889568329, -0.12744593620300293, 0.05648382008075714, 0.2022101730108261, 0.2991690933704376, 0.1044774055480957, -0.3560841381549835, 0.06329172104597092, -0.09054088592529297, 0.1474895030260086, 0.19672082364559174, -0.11299419403076172, 0.04012675955891609, -0.14593113958835602, -0.31369340419769287, -0.5904871225357056, 0.15531882643699646, 0.2746981978416443, 0.14444676041603088, 0.5892019271850586, 0.5005368590354919, -0.3075465261936188, -0.2099253237247467, -0.615699827671051, -0.17433606088161469, -0.46324315667152405, -0.028839226812124252, -0.48264676332473755, -0.6690256595611572, 0.2707741856575012, -0.12626606225967407, -0.11770742386579514, 0.44511353969573975, 0.6186932921409607, -0.39799240231513977, 1.107630968093872, 0.5916053652763367, -0.004352525807917118, 0.3330397605895996, -0.17987598478794098, -0.09588705003261566, -0.9839985370635986, -0.07507050782442093, -0.4511107802391052, -0.6153268814086914, -0.7096753716468811, -0.6591724157333374, 0.41689029335975647, 0.23936499655246735, -0.04298235848546028, -0.24468626081943512, -0.42019420862197876, 0.6880841851234436, 0.780198335647583, 0.3071277439594269, 0.3138086497783661, 0.04957667365670204, -0.13564936816692352, -0.2722342014312744, -0.8201096057891846, -0.7204614281654358, 0.9235544800758362, 0.6122598648071289, 0.8886979222297668, 0.13137957453727722, 0.7876221537590027, 0.31690624356269836, 0.7870003581047058, -0.7784157991409302, 0.43483054637908936, -0.068623848259449, -0.45108744502067566, -0.34518203139305115, -0.6908857226371765, -0.9596220850944519, 0.7425433397293091, -0.34797221422195435, -0.9014387130737305, 0.5154087543487549, 0.3410431146621704, -0.47048527002334595, 0.3162660002708435, -1.101289987564087, 0.8386562466621399, 0.02961411140859127, -0.22617453336715698, 0.012469405308365822, -0.7401330471038818, 0.5052196383476257, -0.1225707158446312, 0.6851779222488403, -0.029387563467025757, -0.05314025655388832, 0.96892249584198, -0.6525325775146484, 1.3130388259887695, -0.29729458689689636, -0.22463902831077576, 0.3752250671386719, 0.007521667052060366, 0.36164942383766174, 0.043209176510572433, -0.1710793524980545, 0.16977562010288239, -0.2311982363462448, -0.4500056505203247, -0.7541072964668274, 0.5086169838905334, -0.7108854055404663, -0.610641598701477, -0.21895378828048706, -0.47642913460731506, -0.07792870700359344, -0.05493294447660446, 0.17279192805290222, 0.15382009744644165, 0.0848051980137825, 0.05043293908238411, 0.42953407764434814, -0.16530820727348328, 0.40743985772132874, 0.2944336533546448, -0.14571893215179443, -0.23876367509365082, 0.7018375992774963, 0.0007357753347605467, 0.18621990084648132, 0.2820143699645996, 0.6638396382331848, -0.30998632311820984, -0.5795138478279114, -0.6309167742729187, 0.3760461211204529, -0.7823392152786255, -0.04883407801389694, -0.21941739320755005, 0.34701472520828247, -0.13997025787830353, -0.06756298989057541, -0.14454950392246246, -0.2944510281085968, -0.25951486825942993, -0.085300974547863, 0.2793230712413788, 1.0573983192443848, -0.14629890024662018, 0.41112029552459717, -0.502392053604126, 0.27754315733909607, 0.4687829315662384, 0.2460932433605194, 0.24316614866256714, -0.6871240139007568, -0.2719736695289612, 0.30210840702056885, -0.017301829531788826, -0.9171257019042969, 0.18719525635242462, 0.006919605191797018, 0.3073735237121582, 0.6070294380187988, 0.04128175601363182, 0.8797373175621033, -0.6176868081092834, 0.7590962648391724, 0.2867320775985718, -0.6226668953895569, 0.44533705711364746, -0.09756969660520554, 0.33492836356163025, 0.47943150997161865, 0.11406535655260086, -0.3021697700023651, -0.42029088735580444, -0.45545271039009094, -0.7591973543167114, 0.7354137897491455, 0.09708589315414429, -0.20096230506896973, 0.11337018758058548, 0.3913290500640869, 0.03951979801058769, -0.08971501886844635, -0.6415295004844666, -0.2809997797012329, 0.0535505972802639, -0.22352102398872375, -0.23162144422531128, -0.28369876742362976, -0.2670842409133911, -0.3085375428199768, 0.4399859607219696, -0.26870492100715637, -0.07834120839834213, 0.18272846937179565, -0.14194655418395996, -0.004386298358440399, 0.2920607328414917, 0.5830773711204529, 0.6583390831947327, -0.2540561258792877, 0.43175747990608215, 0.36955195665359497, -0.3311785161495209, -0.05638820305466652, -0.12546002864837646, -0.2960924208164215, 0.024031301960349083, 0.5900194048881531, 1.060249924659729, 0.25698286294937134, -0.7428463697433472, 0.5683504343032837, -0.1377919614315033, -0.19847765564918518, -0.07934048026800156, 0.1663082242012024, 0.13514374196529388, 0.5397050380706787, 0.39653223752975464, 0.20762915909290314, 0.21199679374694824, -0.3028712868690491, 0.056735388934612274, 0.2505638301372528, -0.4070536494255066, -0.10186776518821716, 0.6838613152503967, 0.09567001461982727, -0.4562303423881531, 0.3780321776866913, -0.29684528708457947, -0.1781967729330063, 0.6721816658973694, 0.11635929346084595, 0.4995036721229553, 0.17409548163414001, 0.07469558715820312, 0.1103472113609314, 0.34484973549842834, -0.26236534118652344, -0.24743983149528503, -0.14836138486862183, -0.6181118488311768, -0.7291369438171387, -0.7026073932647705, -0.6551774144172668, -0.17138396203517914, -0.8692021369934082, -0.00512340571731329, -0.4244164824485779, -0.2323368787765503, 0.3765564262866974, -0.17897523939609528, -0.87154620885849, 0.297544002532959, 0.6129388213157654, 0.9241580367088318, -0.7345607876777649, 0.8290191292762756, 0.6227293014526367, -0.33316510915756226, -0.8365978002548218, 0.27585098147392273, 0.07169908285140991, -0.5626460313796997, 0.6957356929779053, 0.20620137453079224, -0.09232624620199203, -0.2723934054374695, -0.509483814239502, -0.48259061574935913, 0.8126909136772156, 0.21174104511737823, -0.8254055976867676, 0.0870111882686615, 0.052159279584884644, 0.6732454895973206, -0.35568729043006897, 0.42349568009376526, 0.9514808654785156, 0.7185081839561462, -0.08332771807909012, -0.8013129830360413, 0.051228638738393784, 0.0788511335849762, 0.24001240730285645, 0.09256507456302643, -0.2393897920846939, 0.46788400411605835, -0.6492196917533875, 0.0121273472905159, -0.018529750406742096, 0.6891188621520996, 0.5383291840553284, 0.4007735252380371, 0.9475219249725342, 0.38442495465278625, 0.9335263967514038, -0.009281323291361332, 1.5372992753982544, 0.22494228184223175, 0.5909836292266846, 1.2026867866516113, -0.06536652147769928, 0.8298921585083008, 0.6572465896606445, -0.3781206011772156, 0.457248330116272, 0.736815869808197, -0.1747942715883255, 0.37155231833457947, 0.500396728515625, -0.2227739691734314, -0.3990103602409363, -0.0834786593914032, -0.06607385724782944, 0.2532806992530823, 0.42601919174194336, -0.3512573838233948, -0.06365478038787842, 0.1617438644170761, -0.19013312458992004, -0.0055290707387030125, -0.47390124201774597, 0.6610279083251953, 0.23550909757614136, -0.43782201409339905, 0.6890885233879089, 0.16528530418872833, 0.9452834725379944, -0.1683339774608612, 0.1689937710762024, -0.18288205564022064, 0.177290141582489, -0.1765373796224594, -0.8686256408691406, 0.06474064290523529, 0.04580889269709587, -0.2805510461330414, -0.18922272324562073, 0.537177324295044, -0.17006860673427582, -0.649340033531189, 0.21189908683300018, 0.4425410330295563, 0.4608057141304016, -0.08916071057319641, -0.5333229899406433, 0.03258548304438591, 0.05558948963880539, -0.5650200247764587, 0.33172523975372314, 0.6904860734939575, -0.16020263731479645, 0.5923380255699158, 0.2683486342430115, 0.1650151163339615, 0.25911587476730347, 0.5520628690719604, 0.5658905506134033, -0.7793818116188049, -0.3690418303012848, -1.0224539041519165, 0.2453313022851944, -0.3192650079727173, -0.28365251421928406, 0.6696312427520752, 0.30110788345336914, 0.7317511439323425, -0.322070449590683, 0.5820841789245605, 0.22313332557678223, 0.563499927520752, -0.5601080656051636, 0.5814300179481506, -0.7581480741500854, 0.4069540500640869, -0.26376914978027344, -0.7736791968345642, -0.5394763946533203, 0.6487942934036255, -0.45634594559669495, 0.059209294617176056, 0.4750119745731354, 0.5761104822158813, -0.05162329971790314, -0.056877460330724716, 0.35314661264419556, 0.4561554491519928, 0.2306382656097412, 0.49131086468696594, 0.9055628776550293, -0.13095487654209137, 0.6253488063812256, -0.23974522948265076, -0.1653338372707367, -0.40176284313201904, -0.8094316720962524, -0.9683614373207092, 0.1404699832201004, -0.37646207213401794, -0.1801542192697525, -0.1758299022912979, 0.850313127040863, 0.9502350687980652, -0.5711530447006226, -0.07684633135795593, 0.22381123900413513, 0.4407976567745209, -0.13280001282691956, -0.2618058919906616, 0.38782283663749695, 0.026390688493847847, -0.7305250763893127, 0.33979281783103943, 0.12126544862985611, 0.15439990162849426, -0.36707180738449097, -0.15718574821949005, 0.12903711199760437, -0.027762634679675102, 0.6702735424041748, -0.07233273237943649, -1.1360180377960205, -0.6866716742515564, -0.5551160573959351, -0.18655970692634583, 0.13493746519088745, 0.6685002446174622, -0.8057489395141602, 0.3125838041305542, 0.34040898084640503, 0.5733626484870911, 0.5508710145950317, -0.010413550771772861, 0.2550295293331146, -1.0558481216430664, 0.25376227498054504, 0.11062341928482056, 0.38575536012649536, 0.39814913272857666, -0.10047400742769241, 0.5724940299987793, 0.19625261425971985, -0.27954310178756714, -0.7930979132652283, 0.3772079050540924, -1.0407568216323853, -0.4662814140319824, 1.324405550956726, -0.0518324188888073, -0.49370822310447693, -0.023006310686469078, -0.24605800211429596, -0.1392740160226822, -0.3901174068450928, 0.6950091123580933, 0.6343607306480408, -0.2269500344991684, -0.08184298872947693, -0.7356884479522705, 0.4005499482154846, 0.3028261363506317, -0.7851915955543518, 0.019069107249379158, 0.43001970648765564, 0.33712419867515564, 0.2906714975833893, 0.4998219311237335, 0.2932942509651184, 0.05917242169380188, -0.036228690296411514, 0.14824292063713074, 0.37139877676963806, -0.14112141728401184, -0.3908802568912506, 0.23508159816265106, 0.2181670218706131, -0.05276926979422569 ]
http://arxiv.org/abs/2406.17588v2
http://arxiv.org/pdf/2406.17588v2
LongIns: A Challenging Long-context Instruction-based Exam for LLMs
2024-06-25T14:31:26
2024-06-26T13:28:04
Shawn Gavin, Tuney Zheng, Jiaheng Liu, Quehry Que, Noah Wang, Jian Yang, Chenchen Zhang, Wenhao Huang, Wenhu Chen, Ge Zhang
cs.CL
cs.CL
The long-context capabilities of large language models (LLMs) have been a hot topic in recent years. To evaluate the performance of LLMs in different scenarios, various assessment benchmarks have emerged. However, as most of these benchmarks focus on identifying key information to answer questions, which mainly requires the retrieval ability of LLMs, these benchmarks can partially represent the reasoning performance of LLMs from large amounts of information. Meanwhile, although LLMs often claim to have context windows of 32k, 128k, 200k, or even longer, these benchmarks fail to reveal the actual supported length of these LLMs. To address these issues, we propose the LongIns benchmark dataset, a challenging long-context instruction-based exam for LLMs, which is built based on the existing instruction datasets. Specifically, in our LongIns, we introduce three evaluation settings: Global Instruction & Single Task (GIST), Local Instruction & Single Task (LIST), and Local Instruction & Multiple Tasks (LIMT). Based on LongIns, we perform comprehensive evaluations on existing LLMs and have the following important findings: (1). The top-performing GPT-4 with 128k context length performs poorly on the evaluation context window of 16k in our LongIns. (2). For the multi-hop reasoning ability of many existing LLMs, significant efforts are still needed under short context windows (less than 4k).
[ -0.3769521117210388, -0.7355161905288696, 0.9319403171539307, 0.15725266933441162, -0.28044477105140686, -0.12610533833503723, -0.6182854175567627, -0.5287651419639587, -0.14759843051433563, 0.3746214807033539, -0.5549026727676392, -0.5591511130332947, -0.5304580926895142, 0.3550897240638733, -0.23683907091617584, 0.8078872561454773, -0.5053957104682922, -0.22417248785495758, -0.43575119972229004, -0.19055692851543427, -0.578486442565918, -0.4052999019622803, -0.5233979225158691, -0.043275829404592514, 0.7235116362571716, 0.21025173366069794, 0.16722357273101807, 0.4958541691303253, 0.37495994567871094, 0.25236254930496216, -0.25831836462020874, 0.26509004831314087, -0.5872233510017395, 0.031837303191423416, -0.17977863550186157, -0.06218119338154793, -0.5281233787536621, -0.04852009564638138, 0.809980571269989, 0.7430990934371948, 0.11338911205530167, 0.21083161234855652, 0.31413528323173523, 0.8877322673797607, -0.7671377658843994, 0.08777177333831787, -0.3099094331264496, -0.05824586749076843, -0.41743171215057373, -0.049748994410037994, -0.3959207832813263, -0.1975235790014267, 0.32422301173210144, -0.3827032446861267, -0.3236720561981201, -0.10096277296543121, 0.4239731729030609, 0.07931581139564514, -0.8392347693443298, -0.5416597127914429, -0.4526415169239044, 1.1592981815338135, -0.5877500176429749, 0.33689314126968384, 0.22128593921661377, 0.5580286383628845, -0.2734104096889496, -0.7175410389900208, -0.1242862343788147, -0.37073203921318054, 0.09312532842159271, 0.027877165004611015, 0.1581120640039444, 0.10107164084911346, 0.41507863998413086, 0.20037394762039185, -0.5819997787475586, 0.3133215606212616, -0.48126211762428284, -0.08932420611381531, 0.5757915377616882, 0.4105178713798523, -0.2801758348941803, -0.2774212658405304, -0.786239743232727, 0.053254518657922745, -0.8311429023742676, 0.23922841250896454, 0.06865223497152328, 0.21054209768772125, -0.09844717383384705, 0.24789614975452423, -0.24280352890491486, 1.0081441402435303, -0.4996967911720276, -0.24741065502166748, 0.27250936627388, -0.14159874618053436, -0.28108906745910645, -0.06059683859348297, 0.6438184976577759, 0.39840930700302124, 0.16858719289302826, -0.13784843683242798, -0.4328564405441284, -0.2370109111070633, 0.011763066984713078, -1.0031955242156982, 0.48590025305747986, 0.32881060242652893, -0.18240594863891602, 0.26786714792251587, -0.1358051598072052, -0.9822289943695068, -0.1237458661198616, -0.5147600173950195, 0.4485153257846832, -0.329720675945282, 0.2432090789079666, 0.17796555161476135, 0.20010188221931458, 0.5185261964797974, 0.4542613923549652, -0.47494760155677795, 0.413846492767334, 1.103168249130249, 0.6406753659248352, -0.6598799824714661, -0.5273513197898865, -0.3435395061969757, -0.03008805401623249, -0.4005190432071686, 0.4449039399623871, -0.5389334559440613, -0.2766568958759308, -0.010665783658623695, 0.286444753408432, -0.2018449753522873, -0.466153621673584, 0.40675532817840576, -0.6689026355743408, 0.13088931143283844, -0.45299628376960754, -0.9648863077163696, -0.023568855598568916, 0.6217780709266663, -0.5671355128288269, 0.9174045920372009, 0.1740502566099167, -0.5298728942871094, 0.0657268539071083, -0.706455647945404, -0.4549502730369568, 0.021731233224272728, -0.3782615065574646, -0.04762501269578934, -0.10901740938425064, 0.06803648918867111, 0.631657063961029, -0.5751852989196777, 0.27658897638320923, -0.06211795657873154, -0.9197217226028442, 0.17593199014663696, -0.7838361263275146, 0.5774045586585999, 0.10633771866559982, -0.5507019758224487, 0.017850250005722046, -0.5648193359375, 0.267382949590683, 0.08508241921663284, -0.3301091194152832, -0.28725525736808777, 0.02012416534125805, -0.4896455407142639, 0.008790385909378529, 0.33555668592453003, -0.5317054390907288, 0.2719939649105072, -0.011751480400562286, 0.38077226281166077, 1.018303394317627, -0.1268884837627411, 0.1072782352566719, -0.16601760685443878, 0.4102981388568878, -0.11888737231492996, 0.15245312452316284, -0.14121918380260468, -0.27626699209213257, -0.5972268581390381, -0.16959793865680695, 0.21585185825824738, 0.552262008190155, -0.5614826083183289, 0.3569987714290619, -0.6568317413330078, -0.26323264837265015, -0.03351541608572006, 0.39752134680747986, 0.49356740713119507, 0.39432641863822937, 0.3104162812232971, -0.170795738697052, -0.24574494361877441, -1.0139142274856567, -0.20848560333251953, 0.31917887926101685, -0.09874337911605835, 0.45595476031303406, 0.812789797782898, -0.23720042407512665, 0.6343309879302979, -0.39593398571014404, 0.014128525741398335, -0.029558639973402023, -0.15343157947063446, 0.5299685597419739, 0.13169264793395996, 0.19643303751945496, -0.3019656538963318, -0.4069109559059143, -0.2813512980937958, -0.6932522654533386, 0.23367874324321747, 0.12875287234783173, 0.03160933405160904, 0.14433787763118744, 0.45992493629455566, -0.5458526611328125, 0.3033415377140045, 0.6887202858924866, -0.07927330583333969, 0.6734801530838013, -0.18260709941387177, 0.21770071983337402, -0.9554752707481384, -0.06886879354715347, -0.0013816050486639142, -0.22630175948143005, -0.24850688874721527, 0.016754429787397385, 0.37351474165916443, -0.14647699892520905, -0.581225574016571, 0.7914291024208069, -0.6767907738685608, -0.18472938239574432, -0.1301775872707367, 0.3120063841342926, 0.03781850263476372, 0.517826497554779, -0.21403087675571442, 1.1280485391616821, 0.5937110185623169, -0.5151106119155884, 0.5847305655479431, -0.18831752240657806, -0.8891556859016418, 0.5610791444778442, -0.5084529519081116, 0.37320491671562195, -0.014147917740046978, 0.5721112489700317, -0.5830082893371582, -0.22511452436447144, -0.1266053020954132, 0.16924600303173065, 0.4006105661392212, -0.09048629552125931, -0.42267295718193054, -0.5058358311653137, -0.4029911756515503, 0.6733862161636353, 0.5455631017684937, -0.7617486119270325, 0.2659737467765808, -0.1861281543970108, -0.018642127513885498, -0.7921890616416931, -0.4617205858230591, 0.2096378058195114, -0.3631453216075897, -0.6363828182220459, 0.18768589198589325, -0.13525168597698212, -0.226276695728302, -0.2722248435020447, -0.21576184034347534, 0.04753826931118965, -0.003205042565241456, 0.11407691985368729, -0.03258752077817917, -0.390491783618927, 0.26211047172546387, -0.19600476324558258, -0.07994132488965988, 0.25312334299087524, -0.07940053939819336, 0.14512582123279572, -0.5286051034927368, -0.5947853922843933, -0.32884180545806885, 0.3793402314186096, 0.7025253176689148, -0.1271962672472, 0.44003012776374817, 0.17736060917377472, -0.21624357998371124, -0.39064666628837585, -0.7500230073928833, -0.09829366952180862, -0.46018752455711365, 0.645669162273407, -0.5797489881515503, -0.9985765218734741, 0.38149774074554443, -0.4513317942619324, -0.002213953295722604, 0.3102942109107971, 0.13899287581443787, -0.05580342188477516, 0.6222750544548035, 0.009371032007038593, -0.342446893453598, 0.022353651002049446, -0.222158282995224, 0.0052844807505607605, -1.044964075088501, -0.05585150048136711, -0.1992628425359726, -0.34286263585090637, -0.4585144817829132, -0.644029438495636, 0.44170212745666504, -0.114959716796875, -0.39840805530548096, 0.09349378198385239, -0.2819017767906189, 0.7024969458580017, 0.3365161120891571, 0.23603565990924835, -0.045755282044410706, -0.08778008818626404, 0.04953669756650925, 0.0464262031018734, -0.3356640040874481, -0.5977256298065186, 1.1378628015518188, 0.5045378804206848, 0.7870053052902222, 0.04979265481233597, 0.7117322087287903, 0.0889030247926712, 0.1733478456735611, -0.7500886917114258, 0.8304411172866821, -0.16577006876468658, -0.6573687195777893, -0.4563519358634949, -0.6464349031448364, -1.0475417375564575, -0.07603460550308228, 0.5307790040969849, -0.846928596496582, -0.18775026500225067, -0.3295575678348541, -0.224806547164917, 0.3444923460483551, -0.6586509346961975, 0.9911181926727295, -0.6412063837051392, -0.6325640678405762, -0.030386490747332573, -0.7250453233718872, 0.2872770130634308, -0.04946614429354668, 0.19074192643165588, -0.2066895216703415, -0.205499067902565, 0.9657928347587585, -0.2696512043476105, 0.8123695850372314, -0.152354434132576, -0.14653576910495758, 0.5257155895233154, -0.028378678485751152, 0.5566445589065552, -0.03466673940420151, -0.27630650997161865, -0.012879791669547558, 0.06704510003328323, -0.6038238406181335, -0.8544946312904358, 0.9694270491600037, -0.5571908950805664, -0.77223140001297, -0.38082602620124817, -0.41666412353515625, -0.45685598254203796, 0.04811389371752739, -0.0580412931740284, 0.6957299709320068, -0.20950928330421448, 0.35077616572380066, 0.5983210206031799, -0.10036386549472809, 0.3601040244102478, 0.2543809711933136, 0.0020629840437322855, -0.23424556851387024, 0.8349433541297913, 0.1795804649591446, 0.33957892656326294, 0.15350855886936188, 0.25574126839637756, -0.2834547162055969, -0.4578964114189148, -0.5550451278686523, 0.18779397010803223, -1.0260101556777954, -0.09404754638671875, 0.03308229148387909, -0.3368518650531769, 0.0683404728770256, -0.0847192332148552, -0.4887539744377136, 0.012642921879887581, -0.0894588753581047, 0.04775016009807587, 0.18445198237895966, 0.8312113881111145, 0.23598088324069977, 0.12514430284500122, -0.6648237109184265, -0.017552148550748825, 0.5953890681266785, 0.7117142081260681, 0.10756292194128036, -0.5668641328811646, -0.23545055091381073, -0.11765014380216599, -0.19907234609127045, -0.7611083984375, -0.27057868242263794, -0.04299062117934227, 0.45601052045822144, 0.3215453028678894, -0.08425755053758621, 0.7304306626319885, -0.6385932564735413, 0.9487396478652954, -0.0005871133762411773, -0.7139228582382202, 0.2913966178894043, -0.16628731787204742, 0.41774269938468933, 0.7234539985656738, 0.4685884118080139, -0.32304510474205017, 0.15309806168079376, -0.14513985812664032, -0.7520145773887634, 0.4692315459251404, 0.01683608628809452, 0.3586423099040985, -0.21609416604042053, 0.5558590888977051, 0.19304941594600677, -0.016010310500860214, -0.6228629946708679, -0.10465289652347565, 0.17737871408462524, -0.11422750353813171, -0.2265489548444748, -0.5589267015457153, -0.3406306207180023, -0.26632165908813477, 0.5215912461280823, -0.1883970946073532, 0.23141033947467804, 0.15524937212467194, -0.12850238382816315, 0.34658142924308777, 0.7073726058006287, 0.8363074064254761, 1.1867218017578125, -0.47551384568214417, 0.10278984159231186, 0.5519034266471863, -0.118403360247612, 0.17608501017093658, 0.11764978617429733, 0.273170530796051, -0.2654765546321869, 0.6215336918830872, 0.9921812415122986, 0.3061148226261139, -0.6761400699615479, 0.815527081489563, 0.00010958695929730311, -0.08998098224401474, -0.42878782749176025, -0.08657560497522354, 0.21564598381519318, 0.09779901802539825, 0.38183292746543884, -0.5177745223045349, -0.15933986008167267, -0.4275149703025818, 0.11256834119558334, 0.32227420806884766, -0.534308671951294, -0.12112794816493988, -0.05121893063187599, 0.2253410369157791, -0.21909281611442566, 0.8034822344779968, -0.2631198465824127, -0.45504599809646606, 0.6811615824699402, 0.4266447424888611, 0.6309415102005005, -0.17058728635311127, -0.3513118028640747, 0.40429815649986267, 0.23405250906944275, -0.1452462375164032, 0.2057558000087738, -0.12368813902139664, -0.18507631123065948, -0.64014732837677, -0.41695618629455566, -0.4491173326969147, 0.5502444505691528, -0.5070313215255737, 0.2107119858264923, -0.4002423584461212, -0.09748368710279465, -0.4775107800960541, 0.24326545000076294, -0.6036218404769897, 0.29264184832572937, 0.22121243178844452, 1.2245824337005615, -0.48864632844924927, 0.6555790305137634, 0.28346502780914307, 0.1458030492067337, -0.6232632994651794, -0.025805139914155006, -0.03180525451898575, -0.6153022646903992, 0.6889839768409729, 0.6787236332893372, 0.040485650300979614, -0.46547937393188477, -0.4622449576854706, -0.6695242524147034, 1.285775065422058, 0.19480940699577332, -0.8439822793006897, -0.2540515065193176, 0.39377617835998535, 0.4011206328868866, -0.3985745906829834, 0.3393076956272125, 0.6555084586143494, 0.6048620343208313, -0.008232031017541885, -0.9609591960906982, 0.15574783086776733, -0.017234353348612785, -0.11323659867048264, 0.2462419867515564, -0.7390555143356323, 0.722939133644104, 0.03910130262374878, 0.07699208706617355, 0.1635015457868576, 0.6148306727409363, 0.4081631302833557, 0.4093613624572754, 0.6585983037948608, 0.4998384714126587, 0.5220164060592651, -0.04317958280444145, 1.2163275480270386, -0.2778577208518982, 0.2775835692882538, 1.2835043668746948, -0.4432426393032074, 0.9625566005706787, 0.6141764521598816, -0.2950078547000885, 0.45755597949028015, 0.6896270513534546, 0.11705005168914795, 0.1625569611787796, 0.7300544381141663, -0.4022313058376312, -0.268399178981781, 0.3437706530094147, -0.5011857151985168, 0.40089666843414307, 0.4336313009262085, -0.14535236358642578, -0.4348853528499603, -0.05568907782435417, -0.034060508012771606, -0.15449833869934082, -0.1746092140674591, 0.3782513439655304, 0.3667713403701782, -0.8061718344688416, 0.7652172446250916, -0.07260804623365402, 0.6256369352340698, -0.8245344161987305, 0.024110889062285423, -0.3057190179824829, 0.18386349081993103, 0.16427552700042725, -0.9086077809333801, -0.0068028951063752174, 0.09236906468868256, 0.16219674050807953, -0.03668457642197609, 0.5295013785362244, -0.183249369263649, -0.34765592217445374, 0.6193737983703613, 0.38653868436813354, 0.3971443772315979, -0.008077196776866913, -0.7057744264602661, 0.20688128471374512, -0.2576826512813568, -0.6752968430519104, 0.5354195833206177, 0.5050932168960571, -0.2448902428150177, 0.6128596663475037, 0.15753161907196045, -0.034712210297584534, -0.09393826127052307, 0.03092547319829464, 0.760513186454773, -0.8381767272949219, -0.16236181557178497, -0.825306236743927, 0.3489820063114166, -0.13021141290664673, -0.3581431806087494, 0.5672199726104736, 0.8041576743125916, 0.7057362794876099, 0.1810702085494995, 0.3748471438884735, 0.2589205801486969, 0.6195489764213562, -0.6718856692314148, 0.4132378399372101, -0.7630605697631836, 0.3468865156173706, -0.040262363851070404, -0.9657493829727173, 0.02535480074584484, 0.10259796679019928, -0.6209082007408142, 0.35299649834632874, 0.8643161058425903, 0.6152788996696472, -0.24750249087810516, -0.02420368790626526, 0.48052743077278137, 0.08029061555862427, 0.3205243647098541, 1.1519907712936401, 1.0881236791610718, -0.4946940839290619, 0.47805845737457275, -0.3078894019126892, -0.2981594502925873, -0.1259562373161316, -1.06167471408844, -1.0390039682388306, -0.41096732020378113, -0.09032441675662994, -0.21203911304473877, 0.43327146768569946, 0.7996469140052795, 0.5020644068717957, -0.6389559507369995, -0.545527994632721, 0.311545193195343, 0.06916679441928864, -0.013954092748463154, -0.16402307152748108, 0.7979655265808105, -0.3169012665748596, -0.5637089014053345, 0.9050596356391907, 0.1135464459657669, -0.0910661369562149, -0.2533392310142517, -0.31083059310913086, -0.011933328583836555, -0.02447597123682499, 0.7528489828109741, 0.18465831875801086, -0.7859432697296143, -0.6013162732124329, 0.07255229353904724, -0.3045584261417389, 0.10516418516635895, 0.6736730933189392, -0.6120039820671082, 0.38411951065063477, 0.3366541564464569, 0.9663681387901306, 0.5870997905731201, -0.23104305565357208, 0.291412353515625, -0.7204269766807556, 0.017011219635605812, 0.23292693495750427, 0.35198599100112915, 0.23071648180484772, -0.0430416502058506, 0.5128657221794128, 0.010060780681669712, -0.741266667842865, -0.8041285872459412, 0.03136894106864929, -0.9276718497276306, -0.3853923976421356, 1.281080722808838, -0.36233851313591003, -0.4977816045284271, 0.238083615899086, 0.16798602044582367, -0.11921604722738266, -0.07373886555433273, 0.5031744241714478, 0.7548884153366089, -0.10914701968431473, 0.05857023969292641, -0.89947909116745, 0.3159047067165375, 0.6544947028160095, -0.7668946385383606, 0.17526812851428986, 0.45895645022392273, 0.4577592611312866, 0.06436318904161453, 0.5200499296188354, -0.10670074075460434, 0.21782195568084717, -0.25731736421585083, -0.1810070127248764, -0.124933622777462, -0.4325018525123596, -0.27779316902160645, 0.1271277517080307, 0.031737204641103745, -0.09702318161725998 ]
http://arxiv.org/abs/2406.17574v1
http://arxiv.org/pdf/2406.17574v1
Beyond Text-to-SQL for IoT Defense: A Comprehensive Framework for Querying and Classifying IoT Threats
2024-06-25T14:14:35
2024-06-25T14:14:35
Ryan Pavlich, Nima Ebadi, Richard Tarbell, Billy Linares, Adrian Tan, Rachael Humphreys, Jayanta Kumar Das, Rambod Ghandiparsi, Hannah Haley, Jerris George, Rocky Slavin, Kim-Kwang Raymond Choo, Glenn Dietrich, Anthony Rios
cs.CL
cs.CL
Recognizing the promise of natural language interfaces to databases, prior studies have emphasized the development of text-to-SQL systems. While substantial progress has been made in this field, existing research has concentrated on generating SQL statements from text queries. The broader challenge, however, lies in inferring new information about the returned data. Our research makes two major contributions to address this gap. First, we introduce a novel Internet-of-Things (IoT) text-to-SQL dataset comprising 10,985 text-SQL pairs and 239,398 rows of network traffic activity. The dataset contains additional query types limited in prior text-to-SQL datasets, notably temporal-related queries. Our dataset is sourced from a smart building's IoT ecosystem exploring sensor read and network traffic data. Second, our dataset allows two-stage processing, where the returned data (network traffic) from a generated SQL can be categorized as malicious or not. Our results show that joint training to query and infer information about the data can improve overall text-to-SQL performance, nearly matching substantially larger models. We also show that current large language models (e.g., GPT3.5) struggle to infer new information about returned data, thus our dataset provides a novel test bed for integrating complex domain-specific reasoning into LLMs.
[ 0.03875906392931938, -1.0578374862670898, 0.46366941928863525, -0.27665412425994873, -0.11949720233678818, 0.24793033301830292, 0.1267748475074768, -0.8762754201889038, 0.023870762437582016, 0.6889747977256775, -0.42494654655456543, -0.5931714177131653, -0.3863082826137543, -0.06321567296981812, -0.8230489492416382, 0.9679957032203674, 0.5117633938789368, -0.26054200530052185, -0.18244969844818115, 0.4158775210380554, -0.4275140166282654, -0.7225614190101624, -0.5760408639907837, -0.02465709298849106, 0.1713385134935379, 0.22548925876617432, 0.27162253856658936, 0.3672914505004883, 0.8351995348930359, 0.22489166259765625, 0.3787858486175537, 0.20638507604599, -0.21889062225818634, 0.160420224070549, -0.08550230413675308, -0.5791089534759521, -0.36127984523773193, -0.2944570779800415, 0.3376309871673584, 0.505057692527771, -0.03333595395088196, -0.21939519047737122, -0.25699734687805176, 0.7674667239189148, -0.3522069752216339, -0.18010543286800385, -1.2651736736297607, 0.1233588382601738, -0.3767491281032562, -0.5345401167869568, -0.7787290811538696, 0.02636842429637909, 0.5012009143829346, -0.3076414167881012, 0.2708069682121277, 0.40509703755378723, 0.7697687149047852, 0.10917357355356216, -0.8999360799789429, -0.009179124608635902, -0.843517005443573, 0.7033775448799133, -0.4142574965953827, 0.40355032682418823, 0.5368885397911072, 0.26542267203330994, -0.39141762256622314, -0.7096300721168518, -0.27300524711608887, -0.32934802770614624, -0.02428758144378662, 0.06163456663489342, -0.21205084025859833, -0.17032112181186676, 0.10182327777147293, 0.006375418044626713, -0.8269986510276794, -0.03411831706762314, -0.24751296639442444, 0.010836223140358925, 0.9735299348831177, 0.14692796766757965, 0.14683187007904053, -0.05841299891471863, -0.7526504397392273, 0.23495618999004364, -0.9505190849304199, -0.16431820392608643, 0.07608653604984283, 0.5717076063156128, 0.02990502119064331, 0.6579616069793701, -0.4884258508682251, 0.8065072894096375, -0.07489454001188278, -0.02016749046742916, -0.1547248810529709, -0.5234647989273071, -0.18641149997711182, 0.295147180557251, 0.6782284379005432, 0.5303227305412292, -0.04834356904029846, -0.6455419063568115, -0.1396699994802475, -0.11392173916101456, 0.497945636510849, -0.7248745560646057, -0.303457111120224, 0.399823397397995, -0.3518178462982178, -0.2760325074195862, 0.14746281504631042, -0.71234130859375, -0.7394375205039978, -0.10248827189207077, 0.2755127549171448, -0.39023375511169434, -0.3074018061161041, 0.30980008840560913, -0.16761153936386108, 0.21761927008628845, 0.2524268329143524, -0.6135496497154236, 0.46647873520851135, 0.7117953896522522, 0.5804993510246277, -0.3818151652812958, 0.08993998169898987, -0.35508862137794495, 0.4554721415042877, -0.2041029930114746, 1.0851552486419678, -0.23930267989635468, -0.5988169312477112, -0.2934812605381012, -0.24152447283267975, -0.10475188493728638, -0.595707893371582, 0.46261677145957947, -0.7849847674369812, 0.3413609564304352, 0.28315627574920654, -0.5566678643226624, -0.018750255927443504, 0.4601821303367615, -0.5410069823265076, 0.7981012463569641, -0.09466245025396347, -0.7344669699668884, 0.5384696125984192, -0.879136323928833, -0.9293531179428101, 0.13511617481708527, 0.02691800706088543, -0.5581339001655579, 0.012193460017442703, 0.07008522748947144, 0.6732733249664307, -0.6105982065200806, 0.09651901572942734, -0.4806077480316162, 0.03200973570346832, 0.3253648579120636, -0.3233346939086914, 0.5989604592323303, 0.3175557553768158, -0.3210922181606293, -0.056934308260679245, -0.9388768076896667, 0.1997639685869217, 0.2032526433467865, -0.17626044154167175, -0.37524861097335815, 0.650892972946167, -0.2039211243391037, -0.3088003695011139, 0.25468963384628296, -0.9385302662849426, -0.07643181085586548, -0.4927132725715637, 0.45611849427223206, 0.4147401452064514, 0.14518730342388153, 0.19044585525989532, -0.20732182264328003, 0.05100797489285469, 0.17316259443759918, 0.2597425878047943, 0.020850202068686485, -0.5337263345718384, -0.35841599106788635, -0.3221715986728668, -0.0650687888264656, 0.8892585635185242, -0.7397688627243042, 0.2964729070663452, -0.5668367743492126, -0.33269596099853516, 0.03575320169329643, -0.26575106382369995, -0.002045844681560993, 0.6286991238594055, 0.48053303360939026, 0.21813803911209106, -0.6946635246276855, -0.7255575060844421, -0.41260582208633423, -0.22168247401714325, -0.13418881595134735, 0.25035807490348816, 0.31548380851745605, -0.17010536789894104, 1.0623359680175781, -0.6950303912162781, -0.32720229029655457, 0.09353480488061905, -0.02197946049273014, 0.13847017288208008, 0.3669004440307617, 0.4861115515232086, -0.9443431496620178, -0.4613170027732849, 0.5726701617240906, -0.6976000666618347, 0.349652498960495, 0.021000459790229797, -0.0037102012429386377, 0.25958141684532166, 0.5903728604316711, -0.3984427750110626, 0.6433219909667969, 0.003852774389088154, -0.6025252938270569, 0.3771239221096039, 0.3668839931488037, 0.14643797278404236, -1.3543474674224854, -0.039611250162124634, -0.13457955420017242, -0.3164796233177185, -0.7830252051353455, -0.04985353723168373, -0.21585746109485626, -0.1932973563671112, -0.33179131150245667, 0.5603896379470825, -0.1055360957980156, 0.03195274993777275, -0.06288529187440872, -0.044744253158569336, -0.06019683927297592, 0.16939765214920044, -0.007463337387889624, 0.7440198063850403, 0.4845150411128998, -0.7790125608444214, 0.7211548686027527, -0.004549448378384113, -0.3426533043384552, 0.7484393119812012, -0.722974956035614, 0.0923500806093216, 0.22695079445838928, 0.20955409109592438, -0.9415653347969055, -0.2769804000854492, 0.09631545096635818, -0.6347368359565735, 0.06979783624410629, -0.3749891221523285, -0.7522342801094055, -0.25012916326522827, -0.43411606550216675, 0.28992533683776855, 0.21539413928985596, -0.49837538599967957, 0.7764341235160828, 0.34989413619041443, 0.012209738604724407, -0.3495405316352844, -1.0517208576202393, 0.25553423166275024, -0.4719766676425934, -0.5556123852729797, 0.4895668923854828, 0.17043371498584747, -0.3079434037208557, 0.13495582342147827, -0.027219075709581375, -0.572562575340271, 0.3732471764087677, 0.2219819575548172, 0.3605209290981293, -0.17907202243804932, 0.33582255244255066, -0.23074325919151306, -0.08306531608104706, 0.3701324164867401, -0.6858310699462891, 0.20536434650421143, 0.10185788571834564, -0.6213923096656799, -0.40759944915771484, 0.6161078214645386, 0.18020062148571014, -0.3017789423465729, 0.6181640625, 0.46084991097450256, -0.3616678714752197, -0.12800653278827667, -0.3207477033138275, -0.4337160289287567, -0.44825100898742676, 0.4772997796535492, -0.3964312672615051, -0.8880261778831482, 0.26580119132995605, -0.04011518880724907, 0.24972005188465118, 0.6192313432693481, 0.07074739784002304, -0.5954247117042542, 0.9201788902282715, 0.6123012900352478, 0.054106034338474274, 0.6577321887016296, -0.16431941092014313, 0.6392222046852112, -0.6901098489761353, -0.4132446348667145, -0.5491294860839844, -0.0315307080745697, -0.6460321545600891, -0.07137711346149445, 0.5137240290641785, -0.056813158094882965, -0.2425018548965454, 0.2616816461086273, -0.5249645113945007, 0.35017260909080505, 0.07383541762828827, 0.3688586950302124, 0.47285330295562744, 0.4312956929206848, 0.24340307712554932, 0.2182050198316574, -0.4851122498512268, -0.29305797815322876, 1.5333260297775269, 0.009695800021290779, 0.6257632374763489, 0.7143921852111816, 0.5624478459358215, 0.42015692591667175, 0.27329927682876587, -0.7202799916267395, 0.7385626435279846, -0.3526785969734192, -0.8755106925964355, -0.1695975959300995, -0.5934426188468933, -1.352853775024414, -0.129011332988739, -0.01894637942314148, -0.9566360116004944, -0.07691445201635361, -0.10343773663043976, -0.2665487229824066, 0.42403140664100647, -0.9925528168678284, 0.2859495282173157, -0.4120315611362457, -0.497061163187027, -0.2744375765323639, -0.6671775579452515, 0.32447266578674316, 0.029925277456641197, -0.05884108319878578, -0.08348660916090012, -0.05755810812115669, 0.48079660534858704, -0.4023458659648895, 0.9382516741752625, -0.01781396195292473, -0.1997358351945877, 0.537562370300293, -0.06346055120229721, 0.4384813904762268, 0.28025513887405396, -0.24366965889930725, -0.13105139136314392, 0.1198582798242569, -0.42621883749961853, -0.5746914744377136, 0.6145883202552795, -0.4189014732837677, -0.4901714324951172, -0.4205324649810791, -0.28597569465637207, -0.4342140853404999, 0.3224019408226013, 0.21860893070697784, 0.641472339630127, -0.1440572440624237, 0.6214159727096558, 1.0568478107452393, 0.15424038469791412, 0.4012738764286041, 0.5091618895530701, -0.1375035047531128, -0.16430333256721497, 1.0480190515518188, -0.01948733814060688, 0.296231210231781, 1.1451082229614258, 0.04934331774711609, -0.6686367988586426, -0.7793394327163696, -0.25131672620773315, -0.29808297753334045, -0.33276471495628357, -0.5814458727836609, -0.6264052391052246, -0.33960628509521484, -0.21539226174354553, 0.09998641163110733, -0.13028450310230255, -0.3808285593986511, -0.2769486904144287, -0.014775335788726807, 0.9342380166053772, 0.7311819195747375, 0.42580896615982056, 0.2918568551540375, -0.8451416492462158, 0.21413758397102356, 0.2531903386116028, 0.49769270420074463, -0.2148885428905487, -0.1967891901731491, -0.31722018122673035, 0.13301953673362732, -0.1658201515674591, -0.7934674620628357, -0.11406997591257095, 0.16240282356739044, 0.2784675657749176, 0.125707745552063, 0.3714626133441925, 0.41725096106529236, -0.2079361081123352, 0.8914002776145935, -0.029957300052046776, -0.48601222038269043, 0.8213627338409424, -0.6497882008552551, -0.15026690065860748, 0.3496316969394684, 0.11716824769973755, -0.012006144970655441, 0.3269341289997101, -0.6098499298095703, -0.9085282683372498, 0.4885040521621704, 0.0704813003540039, 0.019420353695750237, 0.14613062143325806, 0.2463189661502838, -0.22274281084537506, 0.25298449397087097, -0.7241866588592529, 0.023231854662299156, -0.12438245862722397, -0.15843376517295837, 0.428318589925766, 0.16446632146835327, -0.34911099076271057, -0.03016572631895542, 0.44028958678245544, -0.23276223242282867, 0.7270957231521606, 0.04228852689266205, -0.02062426134943962, 0.42399778962135315, 0.21241635084152222, 0.4076944589614868, 0.19398103654384613, -0.2511117458343506, 0.09561450034379959, 0.2838258445262909, -0.635190486907959, -0.03085409663617611, 0.2455698847770691, -0.02155899628996849, -0.20308052003383636, 0.5599033832550049, 0.5026943683624268, -0.35463643074035645, -0.7015578150749207, 0.4892611801624298, -0.13685278594493866, -0.31272265315055847, -0.12606041133403778, 0.09237434715032578, -0.3296637535095215, 0.1093045175075531, 0.497610479593277, 0.10653283447027206, 0.3734886646270752, -0.47668957710266113, 0.3012710213661194, 0.6427739858627319, -0.23098443448543549, -0.18545062839984894, 0.4670782685279846, 0.3919000029563904, -0.11757586151361465, 0.6281129121780396, -0.04778026416897774, -0.3246658742427826, 0.5670624375343323, 0.4227507710456848, 1.0345700979232788, -0.08925285935401917, -0.09731768071651459, 0.01875261962413788, 0.38126540184020996, 0.48371440172195435, 0.6592445373535156, -0.12615865468978882, -0.5194715857505798, -0.34634485840797424, -0.2567734718322754, -0.1068742424249649, 0.08623529225587845, -0.39935100078582764, 0.1496230810880661, -0.7283393740653992, -0.207434743642807, -0.10478109121322632, 0.20864906907081604, -0.4012307822704315, 0.4241459369659424, -0.43566036224365234, 0.7349199056625366, -0.407351553440094, 0.8265839219093323, 0.8242077827453613, -0.013145286589860916, -0.5259630084037781, 0.1804068237543106, 0.0807592123746872, -0.6459122896194458, 0.5540139675140381, -0.09523385763168335, -0.3590390086174011, 0.016068384051322937, -0.4826515018939972, -0.6945143938064575, 0.9351935386657715, 0.030050484463572502, -0.22824405133724213, 0.2834049165248871, 0.4195755422115326, 0.4715466797351837, -0.27473780512809753, 0.03312462568283081, 0.15741853415966034, 0.34409868717193604, -0.1680167019367218, -0.4745851755142212, -0.06499134004116058, -0.23888221383094788, -0.14021234214305878, 0.34652671217918396, -0.4113446772098541, 0.4959363341331482, -0.22717450559139252, -0.20617960393428802, -0.08984736353158951, 0.6162742972373962, -0.15038973093032837, 0.5324686169624329, 0.2648715376853943, 0.488883376121521, 0.40926676988601685, -0.3613484501838684, 1.1106786727905273, -0.029881734400987625, -0.022876955568790436, 1.2864656448364258, -0.4281923472881317, 1.2644473314285278, 0.3870150148868561, -0.47062742710113525, 0.3621140420436859, 0.6107296943664551, 0.09058471024036407, 0.6596161723136902, 0.0054316334426403046, -0.47586631774902344, 0.192560613155365, -0.3979754149913788, -0.4380369186401367, 0.23890289664268494, 0.6703636646270752, -0.01190340518951416, -0.10170143842697144, -0.02892233245074749, -0.2002270668745041, -0.014485964551568031, 0.06942451745271683, 1.1975370645523071, -0.14054608345031738, -0.23000019788742065, 0.24876514077186584, 0.12306316196918488, 0.5804849863052368, -0.7364369034767151, 0.15588130056858063, 0.014271240681409836, 0.21320189535617828, -0.45795178413391113, -1.060316562652588, 0.7847714424133301, 0.03976453095674515, -0.3243803381919861, -0.1400284618139267, 0.821173369884491, -0.14666007459163666, -0.10135824233293533, 0.011690839193761349, 0.14048397541046143, -0.01942587085068226, -0.28261035680770874, -0.5263186693191528, -0.185902401804924, 0.17505867779254913, -0.03842690587043762, 0.299086332321167, 0.5653565526008606, -0.24151571094989777, 0.6633176803588867, 0.9843119382858276, -0.2222433090209961, 0.1583138406276703, -0.1560819149017334, 0.6846849322319031, -0.5496025681495667, -0.41918107867240906, -0.7604311108589172, 0.49258312582969666, -0.34195685386657715, -0.23679344356060028, 0.6491769552230835, 0.7088197469711304, 0.7923915982246399, 0.08278346061706543, 0.8732848763465881, -0.22667498886585236, 0.7663016319274902, -0.6646358966827393, 0.5065325498580933, -0.5607888698577881, 0.7029157876968384, 0.14505906403064728, -0.49665430188179016, -0.2680525779724121, 0.2657425105571747, -0.24717657268047333, -0.005765795707702637, 0.613680362701416, 0.8427675366401672, 0.08762846887111664, 0.2092725783586502, 0.030622519552707672, 0.13121561706066132, 0.6375945210456848, 0.4413909912109375, 0.898464024066925, -0.7323049902915955, 0.5866269469261169, 0.0032269377261400223, 0.06703826785087585, -0.4698117971420288, -0.9094067811965942, -0.7080364227294922, -0.6047417521476746, -0.2577439248561859, -0.30714282393455505, 0.17593757808208466, 0.6738401651382446, 1.0203803777694702, -0.7952561378479004, -0.13595712184906006, -0.39310023188591003, 0.23536579310894012, -0.137814000248909, -0.24585698544979095, 0.2651737928390503, 0.030373895540833473, -0.2590920627117157, 0.5448101162910461, 0.3444605767726898, 0.39672404527664185, 0.014425842091441154, 0.34797099232673645, -0.4124423563480377, 0.013056306168437004, 0.8936264514923096, 0.22412927448749542, -0.5560370087623596, -0.1085113063454628, 0.04217179864645004, -0.20599247515201569, -0.19918185472488403, 0.5933261513710022, -0.8524470925331116, 0.31066906452178955, 0.5263237953186035, 1.1051661968231201, 0.3748495578765869, -0.3620136082172394, 0.48829811811447144, -1.040197730064392, 0.009183406829833984, 0.36192846298217773, -0.032764483243227005, 0.2601116895675659, -0.8728559613227844, 0.6736423373222351, 0.2872696816921234, -0.24567541480064392, -0.8752198219299316, 0.498058021068573, -0.8484587669372559, -0.31135669350624084, 0.6971815824508667, 0.14815589785575867, -0.11188896000385284, -0.44598445296287537, -0.05949323996901512, -0.19473962485790253, -0.4069098234176636, 0.5506776571273804, 0.37596747279167175, -0.40080416202545166, -0.06783939898014069, -0.4671795964241028, 0.4994939863681793, 0.47840046882629395, -1.5108301639556885, 0.1516738384962082, 0.2037835270166397, 0.1070241704583168, 0.06432674080133438, 0.293175607919693, -0.1775374859571457, 0.10474706441164017, -0.0026997781824320555, -0.47975578904151917, 0.12193570286035538, -0.48897507786750793, 0.20922726392745972, 0.009604093618690968, -0.04973074421286583, -0.3606257736682892 ]
http://arxiv.org/abs/2406.17566v1
http://arxiv.org/pdf/2406.17566v1
FrenchToxicityPrompts: a Large Benchmark for Evaluating and Mitigating Toxicity in French Texts
2024-06-25T14:02:11
2024-06-25T14:02:11
Caroline Brun, Vassilina Nikoulina
cs.CL
cs.CL
Large language models (LLMs) are increasingly popular but are also prone to generating bias, toxic or harmful language, which can have detrimental effects on individuals and communities. Although most efforts is put to assess and mitigate toxicity in generated content, it is primarily concentrated on English, while it's essential to consider other languages as well. For addressing this issue, we create and release FrenchToxicityPrompts, a dataset of 50K naturally occurring French prompts and their continuations, annotated with toxicity scores from a widely used toxicity classifier. We evaluate 14 different models from four prevalent open-sourced families of LLMs against our dataset to assess their potential toxicity across various dimensions. We hope that our contribution will foster future research on toxicity detection and mitigation beyond Englis
[ -0.1842627376317978, -0.5396701693534851, 0.6212636828422546, 0.5555353760719299, 0.07838195562362671, -0.3946968913078308, -0.036047033965587616, -0.34714025259017944, -0.13621440529823303, 0.8954142928123474, -0.4031156301498413, -0.528583288192749, -0.7653645873069763, 0.3871142566204071, -0.4498148560523987, 0.839540958404541, 0.0603957325220108, 0.03987688571214676, -0.3621431589126587, -0.2656192183494568, -0.43766939640045166, -0.69704669713974, -1.0077521800994873, -0.25936299562454224, 1.1568255424499512, 0.5028005838394165, 0.42863428592681885, -0.20456494390964508, 0.48338583111763, 0.1837349534034729, -0.2035895138978958, -0.0015708887949585915, -0.5932796597480774, 0.398857444524765, -0.6646513342857361, -0.13870656490325928, -0.04793170839548111, -0.10715523362159729, 0.3240406811237335, 0.491166889667511, 0.15975260734558105, 0.018634434789419174, 0.3315611481666565, 0.6956451535224915, -0.840400218963623, -0.1458166539669037, -0.3360576331615448, -0.024560173973441124, 0.015817686915397644, -0.482868492603302, -0.7077586650848389, -0.5855494141578674, -0.084661103785038, -0.1693163812160492, -0.37355920672416687, -0.1960090696811676, 0.4096212387084961, 0.24343092739582062, -0.7736456990242004, -0.37501969933509827, -0.6085747480392456, 0.8524439930915833, -0.5430760383605957, 0.39465203881263733, 0.15664790570735931, 0.33369481563568115, -0.249753937125206, -0.6788668632507324, -0.3605150580406189, -0.4474996030330658, -0.016169890761375427, 0.013053981587290764, -0.21660183370113373, -0.2174985259771347, 0.3038129210472107, 0.2302367240190506, -0.7733932733535767, 0.288428395986557, -0.11652369797229767, -0.5250611305236816, 0.7498301267623901, 0.31446605920791626, 0.700308084487915, -0.11975396424531937, -0.3784138560295105, -0.05067416653037071, -1.1962252855300903, -0.14965775609016418, 0.5087050199508667, 0.25049981474876404, 0.007899266667664051, 0.5130282044410706, 0.05783194303512573, 0.34452545642852783, -0.8272890448570251, 0.03604518994688988, 0.1603662669658661, -0.25995323061943054, 0.10108204185962677, -0.11025220900774002, 1.1669650077819824, 0.8453551530838013, 0.7901862263679504, -0.1391727477312088, -0.17771829664707184, -0.05773013457655907, 0.08983071893453598, -1.0369808673858643, -0.40673738718032837, 0.44370347261428833, -0.15556268393993378, -0.4351405203342438, -0.4033581018447876, -1.0075132846832275, -0.750632107257843, 0.1394597440958023, 0.44707292318344116, -0.3635394871234894, -0.1816556602716446, -0.06279341131448746, -0.23993365466594696, -0.04514468088746071, 0.2386484444141388, -0.44192516803741455, 0.19846931099891663, 0.15807774662971497, 0.872772216796875, -0.49600109457969666, 0.003602755954489112, -0.6898595094680786, 0.061714060604572296, -0.18088966608047485, 0.904453456401825, -0.5806750655174255, -0.9812757968902588, 0.08819837123155594, 0.2072385996580124, 0.2675628066062927, -0.9546216130256653, 1.097046136856079, 0.03690507635474205, 0.003912420477718115, -0.6646162271499634, -0.3064822852611542, -0.010939533822238445, 0.16923260688781738, -0.9564764499664307, 1.0863155126571655, 0.084037646651268, -0.8439969420433044, 0.11289408802986145, -0.2606588304042816, -0.5417470335960388, 0.06175515055656433, 0.14721831679344177, -0.19271551072597504, -0.17457859218120575, 0.021382177248597145, 0.48849159479141235, -0.4692651927471161, 0.05953269824385643, -0.2344030737876892, -0.041180893778800964, 0.20722165703773499, -0.5702295899391174, 0.9102159738540649, 0.3930743634700775, 0.08270201832056046, 0.16375641524791718, -0.44831377267837524, -0.2924345135688782, 0.2518167793750763, -0.2564554810523987, -0.4753764569759369, 0.05235922709107399, 0.48977527022361755, 0.5541570782661438, -0.12129651010036469, -0.5465351343154907, -0.2024734616279602, -0.14202944934368134, 0.6157252788543701, 0.689303994178772, 0.7061778903007507, 0.02361818216741085, -0.6466593742370605, 0.35971057415008545, 0.08093325793743134, 0.3071911633014679, -0.11856161803007126, -0.5079231858253479, -0.27023154497146606, -0.23452699184417725, -0.15283307433128357, 0.724364161491394, -0.6241032481193542, 0.49827760457992554, -0.27931997179985046, -0.6492176651954651, 0.325530081987381, 0.09838897734880447, 0.26638054847717285, 0.5072990655899048, 0.26391348242759705, -0.2456071525812149, -0.03892044350504875, -0.8892122507095337, -0.5409534573554993, 0.16848105192184448, -0.10633724182844162, 0.41502639651298523, 0.7217614650726318, -0.31842854619026184, 0.4998369812965393, -0.36343276500701904, -0.2797018885612488, -0.04018883407115936, 0.017251931130886078, -0.10375474393367767, 0.3046867847442627, 0.8794105052947998, -0.46097949147224426, -0.5246140360832214, -0.22447122633457184, -0.6004065275192261, -0.5429165959358215, 0.14109593629837036, -0.1432911902666092, -0.08504823595285416, 0.7001764178276062, -0.29993879795074463, 0.016099777072668076, 0.6591275930404663, -0.23508408665657043, 0.6276648044586182, 0.12558095157146454, 0.17570212483406067, -0.9077804684638977, 0.09060808271169662, 0.6092050671577454, -0.28256455063819885, -0.4842715561389923, -0.06322890520095825, -0.17018306255340576, -0.10571777075529099, -0.9182082414627075, 1.0333025455474854, -0.09016576409339905, 0.6455594301223755, 0.08782651275396347, 0.28735166788101196, 0.25270646810531616, -0.03843342512845993, 0.21131084859371185, 0.9205889105796814, 0.28968650102615356, -0.6277252435684204, 0.4444258213043213, 0.1692754328250885, -0.19741734862327576, 0.5931624174118042, -0.5857310891151428, -0.3091634511947632, 0.06538145989179611, 0.3952990770339966, -0.8613137602806091, -0.15187761187553406, 0.14860932528972626, -0.30154651403427124, 0.15970781445503235, 0.03403885290026665, -0.7908629775047302, -0.41411054134368896, -0.28223738074302673, 0.45131587982177734, 0.48713386058807373, -0.47940725088119507, 0.2900409698486328, 0.24844425916671753, -0.536208987236023, -0.3597383499145508, -0.7411242127418518, 0.21892674267292023, -0.48519307374954224, -0.5679354667663574, -0.10049738734960556, -0.30588001012802124, -0.3501553237438202, -0.09315343201160431, 0.07726191729307175, 0.08597050607204437, -0.008415729738771915, 0.23499765992164612, -0.14389261603355408, 0.29265692830085754, 0.3083745539188385, 0.06266321241855621, -0.08710138499736786, 0.39792025089263916, 0.07252586632966995, 0.4253728985786438, 0.396569162607193, -0.21127210557460785, -0.02062683366239071, 0.4397643208503723, 0.7405323386192322, -0.3181334137916565, 0.8418677449226379, 0.1307896226644516, -0.43286994099617004, -0.5782795548439026, -0.4246380031108856, -0.2760963439941406, -0.4817180335521698, 0.3606714904308319, -0.11352399736642838, -0.6524612903594971, 0.6533495187759399, -0.4773864448070526, -0.14801058173179626, 0.502761960029602, 0.9459083080291748, 0.251688152551651, 0.933107852935791, 0.22062665224075317, -0.35654547810554504, 0.21524927020072937, -0.06282030791044235, 0.22591491043567657, -0.516101598739624, -0.22007690370082855, -0.6377939581871033, 0.2361656129360199, -0.5152605772018433, -0.438151478767395, 0.5321971774101257, -0.18893851339817047, -0.6045904755592346, 0.09808460623025894, -0.4307025074958801, 0.5877118110656738, 0.14775119721889496, 0.22189880907535553, 0.3454180061817169, -0.05410604551434517, -0.3723459243774414, -0.10183139145374298, -0.6408458948135376, -0.8236923217773438, 1.0220359563827515, 0.5332334637641907, 0.7114931344985962, 0.1396438181400299, 0.5451053380966187, 0.3628873825073242, 0.4528202414512634, -0.7428038120269775, 0.442006915807724, -0.31150293350219727, -0.8770134449005127, -0.0330616720020771, -0.70504230260849, -0.5234575867652893, -0.15555204451084137, -0.10816536098718643, -1.0342992544174194, 0.06833656132221222, 0.004462323617190123, -0.3360380530357361, 0.42507418990135193, -0.809714138507843, 1.0497158765792847, -0.3989064693450928, -0.978257954120636, 0.007836032658815384, -0.2950819730758667, 0.61324542760849, -0.33536776900291443, 0.6574326157569885, -0.34170061349868774, 0.03037538379430771, 0.41069281101226807, -0.34852123260498047, 0.7881993651390076, -0.014264163561165333, -0.5666002035140991, 0.3664202392101288, 0.41534924507141113, 0.5981353521347046, 0.26660680770874023, -0.3757701516151428, 0.08491803705692291, -0.046849291771650314, -0.39893993735313416, -0.14029790461063385, 1.2078487873077393, -0.483222097158432, -0.1603536605834961, -0.3654797077178955, -0.5446209907531738, -0.3798050284385681, 0.09008950740098953, 0.7224280834197998, 0.3722333312034607, -0.5166735649108887, -0.12582603096961975, 0.7771050333976746, -1.0775521993637085, 0.3422276973724365, 0.461609423160553, -0.2722679376602173, -0.07332528382539749, 1.265002727508545, 0.00496947905048728, 0.462947279214859, 0.11397232860326767, 0.26381686329841614, -0.48429057002067566, -0.6039318442344666, 0.07885472476482391, 0.2770824134349823, -1.0747100114822388, -0.21571394801139832, -0.5071340799331665, -0.4556238055229187, -0.16802412271499634, -0.16378822922706604, -0.22177478671073914, -0.014675197191536427, -0.2811478078365326, -0.21827638149261475, 0.6211193799972534, 0.7877500057220459, -0.08221138268709183, 0.07140754163265228, -1.3538801670074463, -0.008017866872251034, 0.2696205973625183, 0.5225592255592346, -0.33570435643196106, -0.472536563873291, 0.1788291335105896, -0.25680193305015564, -0.34818553924560547, -1.1096245050430298, 0.4875858724117279, 0.06396535038948059, 0.6800937652587891, 0.3262351155281067, 0.5484630465507507, -0.3862095773220062, -0.5110125541687012, 1.114331841468811, 0.2681407034397125, -0.7358084321022034, 0.6030675172805786, -0.6477036476135254, -0.055184319615364075, 0.41431689262390137, 0.9223006963729858, -0.7272876501083374, -0.6170303225517273, -0.16837528347969055, -0.9730477929115295, 0.21387198567390442, 0.3955546021461487, 0.2866838872432709, -0.4514670968055725, 0.19108320772647858, 0.05994784086942673, -0.17670337855815887, -0.7909930944442749, -0.17263051867485046, 0.08737177401781082, -0.3748796880245209, -0.34497901797294617, -0.5823796391487122, -0.34257107973098755, -0.17078545689582825, 0.7643170952796936, 0.3016587197780609, -0.03915765509009361, 0.1486491560935974, -0.31893596053123474, -0.4249703586101532, 0.36585184931755066, 0.45484328269958496, 0.44826585054397583, -0.16520282626152039, 0.04882403835654259, 0.2896136939525604, -0.5592889785766602, 0.33592256903648376, -0.04505854845046997, -0.032983940094709396, -0.2754535973072052, 0.5881668925285339, 0.3585223853588104, 0.05490526556968689, -1.0348584651947021, 0.6064069867134094, 0.05551544204354286, -0.2676921486854553, -0.24967189133167267, 0.07893212139606476, 0.26107877492904663, 0.07103860378265381, 0.09833861887454987, -0.17149284482002258, 0.29200902581214905, -0.5706577301025391, 0.3403099775314331, 0.35285598039627075, -0.5344071984291077, -0.048889223486185074, 0.6062983870506287, 0.7925128936767578, -0.002276859013363719, 0.2940928041934967, -0.13286785781383514, -0.5120261907577515, 0.4141348600387573, 0.11804796755313873, 0.7831834554672241, -0.5110495090484619, 0.19107721745967865, 0.6958147287368774, 0.5197760462760925, 0.1576215624809265, 0.36796513199806213, 0.7141451835632324, -0.7425448298454285, -0.47978687286376953, -0.8376615047454834, -0.21343056857585907, 0.527748703956604, -0.37187063694000244, 0.30605602264404297, -0.3342089354991913, 0.01871970295906067, 0.11765343695878983, -0.25861501693725586, -0.3690332770347595, 0.08442502468824387, 0.15335555374622345, 1.2916014194488525, -1.5156924724578857, 0.6483481526374817, 0.5685151219367981, -0.5851274132728577, -0.6098255515098572, 0.12772801518440247, 0.3042932450771332, -0.37205854058265686, 0.5744065046310425, 0.20254278182983398, 0.0073407976888120174, 0.12162954360246658, -0.47483181953430176, -0.18533852696418762, 0.765455424785614, 0.44425052404403687, -0.9225553870201111, 0.28908854722976685, 0.2847129702568054, 0.36869898438453674, 0.030895844101905823, 0.3288419246673584, 0.9182175397872925, 0.7421537041664124, 0.1524049937725067, -0.7851243615150452, 0.2599867582321167, -0.4365657567977905, -0.2346521019935608, 0.13538046181201935, -0.5786502957344055, 0.4950765371322632, 0.0826883614063263, -0.1681692898273468, 0.02264716476202011, -0.136065274477005, -0.027811072766780853, 0.16571438312530518, 0.34983137249946594, 0.7305707931518555, 0.3789268136024475, -0.17066551744937897, 1.2241662740707397, -0.22292934358119965, 0.05484510213136673, 0.8967780470848083, -0.5726928114891052, 0.7960175275802612, 0.31939390301704407, -0.2236512452363968, 0.3825336992740631, 0.662466287612915, 0.23309609293937683, 0.400861918926239, 0.5145975351333618, -0.7097808718681335, -0.37203896045684814, -0.48780006170272827, -0.15074382722377777, -0.03724345192313194, 0.6802299618721008, -0.4453025460243225, -0.4445483684539795, 0.35987430810928345, -0.030727822333574295, 0.42712336778640747, -0.3085351586341858, 0.6579166650772095, 0.36867257952690125, -0.34752440452575684, 0.4645029306411743, -0.4810250699520111, 0.4317995011806488, -0.4342203140258789, -0.1561325192451477, -0.28651291131973267, 0.07940971106290817, -0.23292076587677002, -1.1745541095733643, 0.3255538046360016, -0.062102001160383224, 0.08452043682336807, 0.03224584460258484, 0.7542662024497986, -0.23197998106479645, -0.48980844020843506, 0.8527436852455139, 0.5675439238548279, 0.01769966632127762, -0.6486924886703491, -0.5157482028007507, 0.08725912123918533, -0.340145468711853, -0.3636215329170227, 0.27290335297584534, 0.5000749826431274, -0.3038952946662903, 0.7682431936264038, 0.30650612711906433, 0.13338252902030945, -0.04738148674368858, 0.3165704607963562, 1.132333517074585, -0.4192572236061096, 0.06769251078367233, -0.7277334332466125, 0.7032387256622314, -0.061946287751197815, -0.06552992761135101, 0.765644907951355, 0.48964259028434753, 0.4149188697338104, 0.1261909157037735, 1.1021419763565063, 0.28984740376472473, 0.5119070410728455, -0.5041331648826599, 0.7599145770072937, -0.6231843829154968, 0.4997340738773346, -0.29774484038352966, -1.1757094860076904, -0.43315812945365906, 0.14225928485393524, -0.37385231256484985, 0.2055409699678421, 0.8804264068603516, 1.032982587814331, 0.1456901729106903, -0.2573467493057251, 0.282986044883728, 0.5170228481292725, 0.3170226216316223, 0.7506717443466187, 1.0565581321716309, -0.0001864023070083931, 0.6352722644805908, -0.30053776502609253, -0.2576541006565094, -0.3839172422885895, -1.1691672801971436, -0.9970231652259827, -0.5289402008056641, -0.28914692997932434, -0.5094821453094482, 0.4084337651729584, 0.7140232920646667, 0.18123692274093628, -1.0652962923049927, 0.1789180189371109, -0.26077988743782043, 0.1488351970911026, 0.1955437958240509, -0.2509240508079529, 0.09680115431547165, -0.15045420825481415, -0.5780200958251953, 0.1505291908979416, 0.21241410076618195, 0.13732989132404327, -0.33896487951278687, -0.26427897810935974, 0.03693237900733948, 0.3674081861972809, 1.0586756467819214, 0.3920186758041382, -0.3926723897457123, -0.6018840670585632, -0.19291415810585022, -0.42063280940055847, -0.41775602102279663, 0.6914452314376831, -0.4262407422065735, 0.4324689209461212, 0.7812550067901611, 0.08330251276493073, 0.1292756050825119, -0.45085299015045166, 0.7218553423881531, -0.931648313999176, 0.1560354083776474, 0.5795660018920898, 0.40368151664733887, 0.4134614169597626, -0.48399606347084045, 0.6085349917411804, 0.0916728526353836, -0.6316409111022949, -0.7244242429733276, 0.3838874101638794, -0.9229908585548401, -0.5285952091217041, 1.669116735458374, -0.12525680661201477, -0.025544477626681328, -0.17226555943489075, -0.3612922430038452, 0.023704353719949722, -0.2297993302345276, 0.3156834542751312, 0.6879386305809021, 0.12086344510316849, -0.3384166359901428, -1.1677473783493042, 0.75145024061203, 0.18405629694461823, -0.9155088067054749, 0.3051072955131531, 0.5818695425987244, 0.45921850204467773, -0.014945012517273426, 0.4396889805793762, -0.2991124093532562, 0.18510405719280243, -0.1209351047873497, 0.2657758891582489, 0.28110283613204956, -0.38663241267204285, -0.2171773761510849, -0.1555810272693634, 0.3043467700481415, 0.4373454451560974 ]
http://arxiv.org/abs/2406.17563v1
http://arxiv.org/pdf/2406.17563v1
Multi-property Steering of Large Language Models with Dynamic Activation Composition
2024-06-25T14:00:42
2024-06-25T14:00:42
Daniel Scalena, Gabriele Sarti, Malvina Nissim
cs.CL
cs.CL, cs.AI, cs.LG
Activation steering methods were shown to be effective in conditioning language model generation by additively intervening over models' intermediate representations. However, the evaluation of these techniques has so far been limited to single conditioning properties and synthetic settings. In this work, we conduct a comprehensive evaluation of various activation steering strategies, highlighting the property-dependent nature of optimal parameters to ensure a robust effect throughout generation. To address this issue, we propose Dynamic Activation Composition, an information-theoretic approach to modulate the steering intensity of one or more properties throughout generation. Our experiments on multi-property steering show that our method successfully maintains high conditioning while minimizing the impact of conditioning on generation fluency.
[ -0.47975316643714905, -1.052554726600647, 0.3124382793903351, 0.6274266839027405, -0.06248439848423004, 0.3970867991447449, -0.554933488368988, -0.36719560623168945, 0.19153176248073578, 0.059220172464847565, -0.3642667531967163, -0.02686644159257412, -0.7098388671875, -0.46090373396873474, -0.24565722048282623, 1.0461171865463257, 0.018298571929335594, -0.155214324593544, 0.11744485050439835, -0.2193603813648224, -0.2333083599805832, -0.4362366199493408, -0.47832927107810974, -0.6500451564788818, 0.5620788931846619, 0.24214845895767212, 1.1711443662643433, 0.6985264420509338, 0.04025615006685257, 0.37150225043296814, -0.3328379690647125, -0.020921586081385612, -0.5428386330604553, 0.5668429136276245, -0.10406681150197983, -0.3295331299304962, -0.5815498232841492, -0.023893024772405624, 1.0732004642486572, 0.8819168210029602, -0.260552316904068, -0.2702820301055908, 0.14943315088748932, 0.40775880217552185, -0.9702519774436951, 0.16241933405399323, -0.6454640626907349, 0.0031143093947321177, -0.00835508108139038, -0.5081594586372375, -0.6608218550682068, 0.14795827865600586, 0.2723492681980133, -0.7278392314910889, -0.012137498706579208, -0.16346193850040436, 0.597136378288269, -0.05921367555856705, -0.8942596316337585, -0.22682876884937286, -1.2409292459487915, 1.0554893016815186, -0.5065410137176514, 0.6609559059143066, 0.36256805062294006, 0.046582940965890884, -0.21046864986419678, -0.3709598779678345, -0.6235970854759216, -0.7476000785827637, 0.19993995130062103, 0.24619819223880768, 0.09089340269565582, 0.3233778178691864, 0.28173476457595825, 0.09554149955511093, -0.053839173167943954, 0.1353125125169754, -0.12094287574291229, -0.15529848635196686, 0.5323817729949951, -0.046625178307294846, 0.2739920914173126, 0.0610467828810215, -0.45147469639778137, -0.36044326424598694, -0.708852231502533, -0.10044845193624496, 0.7014878988265991, 0.3726164698600769, -0.05374300107359886, 0.6586154699325562, -0.2495429962873459, 0.6764667630195618, 0.546059787273407, -0.4279528856277466, 0.2852506935596466, -0.8603945970535278, 0.030734404921531677, 0.13612130284309387, 0.4845842123031616, 0.15559354424476624, -0.08817687630653381, -0.25532227754592896, -0.4174210727214813, -0.1593170315027237, 0.16792447865009308, -0.7153834700584412, -0.14025449752807617, 0.30477744340896606, -0.3253517150878906, -0.3844284117221832, 0.09571021050214767, -0.854056179523468, -0.4499720633029938, -0.4986072778701782, 0.35824108123779297, -0.4582723081111908, -0.7565598487854004, 0.1300668865442276, -0.18440541625022888, 0.2926379442214966, -0.04214770346879959, -1.4539196491241455, 0.1564139872789383, 0.49764740467071533, 0.4455602467060089, -0.21544578671455383, -0.4132375717163086, -0.4888453781604767, 0.6154353618621826, -0.22148030996322632, 0.5789737701416016, -0.7723875641822815, -0.1436646431684494, 0.15586799383163452, -0.2880234122276306, -0.23266378045082092, -0.4027721881866455, -0.017261868342757225, -0.6583648920059204, -0.04899762570858002, -0.011501661501824856, -0.34318801760673523, 0.005722879897803068, 0.1310049295425415, -0.9842055439949036, 1.0222394466400146, 0.2957809269428253, -0.6079661846160889, 0.5642531514167786, -0.5930178761482239, -0.8603885769844055, -0.37488341331481934, 0.07722798734903336, -0.2688334882259369, 0.4450717270374298, -0.06702359765768051, 0.25769996643066406, 0.030617186799645424, 0.5361649990081787, -0.14525814354419708, -0.05299735441803932, 0.49215900897979736, -0.70998215675354, 0.44673773646354675, 0.15622060000896454, -0.5179088115692139, 0.40143445134162903, -1.092462182044983, -0.14781522750854492, -0.032693780958652496, -0.7867604494094849, -0.23544077575206757, 0.12049025297164917, -0.16156627237796783, 0.18505121767520905, 0.3814302086830139, -0.21049906313419342, 0.4436909854412079, -0.2877977192401886, 0.06806637346744537, 0.5849902629852295, 0.2580976188182831, 0.9571710228919983, -0.3412656784057617, 0.848088800907135, 0.15779048204421997, -0.04139157012104988, -0.1813248246908188, -0.32470816373825073, -0.9535343647003174, -0.19008874893188477, 0.21412694454193115, 0.3201070725917816, -0.8562963604927063, 0.5061184763908386, -0.14459893107414246, -0.40862753987312317, -0.4300812780857086, 0.28138384222984314, 0.5785028338432312, 0.10275863856077194, 0.3968568742275238, 0.03932027891278267, -0.1584709882736206, -0.739941418170929, -0.15551330149173737, -0.03971731662750244, 0.433984637260437, -0.17319312691688538, 0.08187060058116913, 0.07749204337596893, 0.45355337858200073, -0.2888822853565216, 0.25749027729034424, -0.5799885392189026, 0.5040538907051086, -0.07898050546646118, 0.6442332863807678, 0.7516773343086243, -0.7007564902305603, -0.5502876043319702, 0.09627793729305267, -0.14115728437900543, -0.1046285331249237, -0.4586753845214844, -0.3256198763847351, 0.0018080933950841427, 0.40948835015296936, -0.79152911901474, 0.19592608511447906, 0.7711411118507385, -0.30551955103874207, 0.7932818531990051, -0.3924422264099121, 0.024846382439136505, -0.7035617232322693, -0.009674769826233387, 0.07863035053014755, -0.012019188143312931, -1.0621258020401, 0.16608117520809174, -0.10220354050397873, 0.13978874683380127, -0.43638718128204346, 0.41693198680877686, -0.6484498381614685, 0.1841563731431961, -0.34192541241645813, -0.08657518774271011, 0.00023764451907481998, 0.5620539784431458, -0.07632433623075485, 0.5945749282836914, 0.6194438338279724, -0.8337288498878479, 0.6616863012313843, 0.012729338370263577, -0.30057021975517273, 0.6685249209403992, -0.3316045105457306, 0.003313360968604684, -0.2890913784503937, -0.0019310367060825229, -0.9809842705726624, -0.19855649769306183, 0.09816514700651169, -0.05613945052027702, 0.6873373985290527, -0.047060802578926086, -0.39537400007247925, 0.0755251795053482, -0.3524710237979889, 0.32908156514167786, 0.26865673065185547, -0.30199894309043884, 0.9212135672569275, 0.12689651548862457, -0.16541504859924316, -0.5185632109642029, -0.5784037113189697, -0.20909163355827332, -0.3884909152984619, -0.5671297311782837, 0.7354211211204529, -0.17046061158180237, -0.2752779722213745, -0.04166297987103462, 0.029640572145581245, -0.03985914587974548, 0.21822728216648102, -0.04945924133062363, -0.10365975648164749, -0.03562683239579201, 0.25637581944465637, 0.4159614145755768, -0.23675231635570526, -0.14247414469718933, -0.14227555692195892, 0.8277797102928162, 0.2664368450641632, -0.5406343340873718, -0.450335294008255, 0.4234129786491394, 0.8484640121459961, -0.493097186088562, 1.134344458580017, 0.45925867557525635, 0.06437220424413681, -0.4006907641887665, -0.28359395265579224, -0.35148385167121887, -0.5118770599365234, 0.6299488544464111, -0.5874348282814026, -0.2853759229183197, 0.6871126294136047, -0.026498258113861084, 0.10633616149425507, 0.3400035798549652, 0.755541205406189, 0.04636125639081001, 1.4598208665847778, 0.5699568390846252, -0.11915417015552521, 1.099071741104126, -0.472496896982193, 0.38000577688217163, -0.7087498307228088, -0.4763382375240326, -0.4620698094367981, -0.4663963317871094, -0.45976704359054565, -0.13810941576957703, 0.27013757824897766, 0.24820353090763092, -0.27528202533721924, 0.17877204716205597, -0.17123207449913025, -0.08254367113113403, 0.7333143949508667, 0.1744624227285385, 0.3994412422180176, 0.08664924651384354, -0.31544625759124756, 0.15272444486618042, -0.8865039944648743, -0.09052392840385437, 0.9105211496353149, 0.3384557366371155, 0.868002712726593, 0.12767140567302704, 0.3753267824649811, -0.09664175659418106, 0.21357037127017975, -0.8850017189979553, 0.4773211181163788, 0.2278023213148117, -0.7161442637443542, -0.4842835068702698, -0.27315667271614075, -1.0811294317245483, 0.2115471065044403, -0.6822577714920044, -0.5999032258987427, 0.1967131495475769, 0.32484114170074463, -0.2231951653957367, 0.08137153089046478, -0.5533495545387268, 0.7873696684837341, -0.6232119798660278, -0.5479694604873657, -0.5719918012619019, -0.4287208020687103, 0.29272785782814026, -0.24546051025390625, 0.09882257133722305, -0.10486426204442978, -0.11466766148805618, 0.4077147841453552, -0.3065755069255829, 0.5398201942443848, -0.37180423736572266, -0.2546098828315735, 0.1953066736459732, 0.21644361317157745, 0.7439212799072266, -0.3602963089942932, -0.4247020184993744, -0.606925368309021, -0.41030153632164, -0.33572328090667725, -0.9201186299324036, 0.6538040041923523, -0.6394924521446228, -0.42313817143440247, -0.054534316062927246, -0.6005150079727173, -0.4295182228088379, 0.14942364394664764, 0.07875889539718628, 0.5727586150169373, -0.027162177488207817, 0.4159584939479828, 0.3955942392349243, -0.1304389238357544, 0.4689168930053711, 0.4348585903644562, -0.15707898139953613, -0.3721432387828827, 1.0907785892486572, 0.1758328676223755, 0.9020561575889587, 0.19234402477741241, 0.2913181781768799, -0.2806793749332428, -0.848794162273407, -0.1873898059129715, 0.19971929490566254, -0.6682315468788147, 0.10710568726062775, -0.37977540493011475, -0.14986205101013184, -0.15138894319534302, -0.024097144603729248, -0.5907680988311768, -0.508728563785553, -0.23098106682300568, -0.47473251819610596, 0.10679835081100464, 0.6720394492149353, 0.04734760522842407, 0.853635847568512, -0.5589384436607361, 0.3919549882411957, 0.34088826179504395, 0.3763945400714874, 0.23059089481830597, -0.4801962375640869, -0.44494563341140747, 0.2355213463306427, -0.620791494846344, -1.072056770324707, 0.2217416614294052, 0.5075535774230957, 0.8906435966491699, 0.8074643611907959, 0.018299298360943794, 0.4738593101501465, -0.0912904441356659, 0.7069445848464966, 0.4097568690776825, -0.9307119846343994, 0.31036627292633057, -0.27790841460227966, 0.33177265524864197, 0.5610260963439941, 0.3048690855503082, -0.10455632209777832, -0.7460585832595825, -0.6581268310546875, -1.0182923078536987, 0.353092223405838, -0.002435332862660289, 0.5568327903747559, 0.14218658208847046, 0.09242045134305954, -0.12536847591400146, 0.46031031012535095, -0.7512063980102539, -0.2602709233760834, -0.07037574052810669, -0.20811164379119873, 0.3164074122905731, -0.45333003997802734, -0.09020300209522247, -0.25732874870300293, 0.8012308478355408, -0.06451760977506638, 0.061358191072940826, -0.36389970779418945, -0.10467160493135452, -0.08530685305595398, 0.22282984852790833, 0.6772910952568054, 0.8739180564880371, 0.06309950351715088, 0.26837629079818726, 0.010517542250454426, -0.22816431522369385, 0.5643310546875, -0.04001118242740631, -0.39806291460990906, -0.241648867726326, 0.5572172403335571, 1.1147637367248535, 0.3036606013774872, -0.2137797474861145, 0.49481770396232605, 0.5736958384513855, -0.07343297451734543, 0.2139860838651657, 0.26099708676338196, 0.05105386674404144, 0.09327207505702972, 0.2910010814666748, -0.10421586036682129, -0.22842784225940704, -0.713290274143219, 0.05293787270784378, 0.5440153479576111, -0.4138380289077759, -0.6157584190368652, 0.5543965101242065, 0.2449445128440857, 0.06336837261915207, 0.6677323579788208, -0.23258188366889954, -0.5554563999176025, 0.4912082850933075, 0.6543192863464355, 0.8382576704025269, -0.714667558670044, 0.13852737843990326, 0.15840211510658264, 0.10501957684755325, -0.13707417249679565, 0.4706651270389557, -0.20427927374839783, -1.096303939819336, -0.678570568561554, -0.38554272055625916, -0.23110051453113556, -0.009759529493749142, -0.5113523602485657, 0.31601661443710327, -0.3424006998538971, -0.5738767385482788, 0.11233500391244888, -0.39945924282073975, -0.5173941254615784, 0.10463819652795792, 0.0006637145997956395, 0.5834881067276001, -0.9979088306427002, 0.9023497700691223, 0.5887612104415894, -0.5166610479354858, -0.7938419580459595, -0.012920263223350048, -0.26184317469596863, -0.4410932958126068, 0.729909360408783, -0.17350947856903076, -0.2362474501132965, 0.00954268965870142, -0.4738209545612335, -0.7505598664283752, 0.7434713840484619, 0.45142272114753723, -0.25661081075668335, -0.04280782490968704, 0.13490742444992065, 0.49016073346138, -0.34999221563339233, 0.1477339118719101, 0.8781645894050598, 1.1342252492904663, 0.2300122082233429, -0.9629258513450623, -0.07789216190576553, -0.18847042322158813, -0.082916758954525, -0.0018989014206454158, -0.5779373645782471, 0.5834102630615234, -0.0552748441696167, -0.10226333886384964, 0.133928120136261, 0.8235781788825989, 0.2585242986679077, -0.17058753967285156, 0.6405227780342102, 0.39338570833206177, 0.7064514756202698, -0.06274741142988205, 1.0713540315628052, -1.0156437158584595, 0.188523069024086, 0.8710305690765381, -0.12771572172641754, 0.5795144438743591, 0.5711573362350464, -0.09930326789617538, 0.5535899996757507, -0.06566163152456284, 0.15108376741409302, 0.7671840190887451, 0.48554977774620056, -0.69129478931427, -0.08644174784421921, -0.3483020067214966, -0.17154456675052643, 0.614668607711792, 0.4597301781177521, -0.3160662353038788, 0.1419120877981186, 0.3888223469257355, 0.11009237915277481, -0.05608691647648811, 0.06695958226919174, 0.8144934773445129, -0.2693866491317749, -1.0704493522644043, 0.6086843013763428, 0.1328713446855545, 0.4054056406021118, -0.8652042746543884, 0.1544361263513565, -0.06567731499671936, 0.0892489030957222, -0.1106218621134758, -0.7095957398414612, 0.031439799815416336, -0.5263479351997375, -0.19039002060890198, -0.4967704117298126, 0.6680132150650024, -0.9479255080223083, -0.16745398938655853, 0.5041515827178955, 0.3075282871723175, -0.42115986347198486, -0.06997466087341309, -0.42811721563339233, 0.2896507978439331, -0.12823286652565002, -0.7662104368209839, 0.17405684292316437, 0.4274643063545227, 0.1733572781085968, 0.715760350227356, 0.6730359196662903, 0.5544254183769226, 0.4452459216117859, 0.26325249671936035, 0.9098399877548218, -0.6053219437599182, -0.48783570528030396, -0.5674458146095276, 0.8359033465385437, -0.10988926142454147, -0.17561699450016022, 0.7373601794242859, 0.37752485275268555, 0.40885111689567566, 0.006079706363379955, 0.8957508206367493, 0.13326852023601532, -0.1214461401104927, -0.6678739190101624, 0.418548047542572, -0.36713242530822754, 0.2669246196746826, -0.1014319583773613, -1.5622615814208984, -0.20472735166549683, 0.4553011655807495, 0.006688335910439491, 0.3579258322715759, 0.7045296430587769, 0.9145261645317078, -0.13906298577785492, -0.398298978805542, 0.14175564050674438, 0.3224068284034729, 0.6036941409111023, 0.3629615902900696, 1.1826092004776, 0.056402258574962616, 0.33488860726356506, -0.3343915641307831, -0.3283599019050598, -0.18113070726394653, -1.2308579683303833, -0.6267995238304138, -0.4267372190952301, -0.4192948043346405, -0.5925212502479553, -0.13200408220291138, 0.8385398983955383, 1.1161185503005981, -0.8378908038139343, -0.25310370326042175, -0.05444030836224556, 0.08751136064529419, -0.4012153744697571, -0.17756864428520203, 0.2612583041191101, -0.3926699757575989, -0.9139774441719055, 0.8663324117660522, 0.29931238293647766, 0.3529863655567169, -0.9207269549369812, -0.19546300172805786, -0.2148551493883133, 0.19094663858413696, 0.6823655962944031, 0.26338496804237366, -0.3543303310871124, -0.18488965928554535, -0.23389175534248352, -0.2030080407857895, 0.131574347615242, 1.119735836982727, -0.42063358426094055, 0.792346179485321, 0.9145611524581909, 0.42860057950019836, 0.7360901832580566, 0.24290643632411957, 0.8997308611869812, -0.9136306643486023, 0.595747709274292, 0.04633399471640587, 0.26727741956710815, 0.19563892483711243, -0.04389388486742973, -0.10635371506214142, 0.20664171874523163, -0.19208554923534393, -0.4185481369495392, 0.3605544865131378, -1.0139306783676147, -0.14871157705783844, 1.4236372709274292, 0.04222339764237404, 0.13443197309970856, -0.14239376783370972, -0.2776722311973572, 0.26031333208084106, -0.47273990511894226, 0.4773392379283905, 0.8435304164886475, -0.08625509589910507, -0.07019343227148056, -0.509294331073761, 0.34783026576042175, 0.5546522736549377, -0.6193301677703857, 0.06786931306123734, 0.480550080537796, -0.08784272521734238, 0.30572906136512756, 0.37556856870651245, 0.0031405529007315636, -0.06791031360626221, -0.05962451174855232, -0.05255625396966934, -0.08016554266214371, -0.8213472366333008, -0.2601581811904907, 0.2128744274377823, 0.3857164680957794, 0.10408689826726913 ]
http://arxiv.org/abs/2406.17557v1
http://arxiv.org/pdf/2406.17557v1
The FineWeb Datasets: Decanting the Web for the Finest Text Data at Scale
2024-06-25T13:50:56
2024-06-25T13:50:56
Guilherme Penedo, Hynek Kydlíček, Loubna Ben allal, Anton Lozhkov, Margaret Mitchell, Colin Raffel, Leandro Von Werra, Thomas Wolf
cs.CL
cs.CL
The performance of a large language model (LLM) depends heavily on the quality and size of its pretraining dataset. However, the pretraining datasets for state-of-the-art open LLMs like Llama 3 and Mixtral are not publicly available and very little is known about how they were created. In this work, we introduce FineWeb, a 15-trillion token dataset derived from 96 Common Crawl snapshots that produces better-performing LLMs than other open pretraining datasets. To advance the understanding of how best to curate high-quality pretraining datasets, we carefully document and ablate all of the design choices used in FineWeb, including in-depth investigations of deduplication and filtering strategies. In addition, we introduce FineWeb-Edu, a 1.3-trillion token collection of educational text filtered from FineWeb. LLMs pretrained on FineWeb-Edu exhibit dramatically better performance on knowledge- and reasoning-intensive benchmarks like MMLU and ARC. Along with our datasets, we publicly release our data curation codebase and all of the models trained during our ablation experiments.
[ -0.7350714802742004, -0.4349168539047241, 0.20308470726013184, -0.10189484059810638, -0.3629360795021057, 0.09733609855175018, -0.34295377135276794, -0.402249813079834, 0.02803090773522854, 0.5467485785484314, -0.42518970370292664, -0.6441628336906433, -0.5645141005516052, 0.18236044049263, -0.7254061102867126, 1.0418469905853271, 0.16972146928310394, 0.01595069095492363, -0.38695424795150757, -0.09315382689237595, 0.13979797065258026, -0.43438780307769775, -0.44846078753471375, -0.4120188057422638, 0.575810968875885, 0.4886542558670044, 0.5607349276542664, 0.9432476758956909, 0.5875300765037537, 0.16072037816047668, -0.0629071295261383, 0.30272385478019714, -1.0531948804855347, -0.321591854095459, -0.44391709566116333, -0.41506925225257874, -0.2869146764278412, 0.27895042300224304, 0.3356851637363434, 0.82328861951828, -0.21572217345237732, 0.3234996795654297, 0.24611623585224152, 0.7031715512275696, -0.7376415729522705, -0.1145772859454155, -0.6321378946304321, -0.2685949504375458, -0.6330715417861938, 0.0035238133277744055, -0.3551086485385895, -0.5458124876022339, -0.03629045933485031, -0.7700179815292358, 0.31269243359565735, 0.022062428295612335, 0.8602745532989502, 0.27804622054100037, -0.32525724172592163, -0.21159395575523376, -0.48624545335769653, 0.7605341672897339, -0.6623611450195312, 0.6046252250671387, 0.54811692237854, -0.05931650102138519, -0.2809757888317108, -1.0295305252075195, -0.5500551462173462, 0.28958016633987427, 0.11458631604909897, -0.09510671347379684, -0.2424047738313675, 0.11110715568065643, -0.021128324791789055, 0.6887655854225159, -0.7217491865158081, 0.6294886469841003, -0.39425721764564514, -0.34433144330978394, 0.4670921266078949, 0.11944636702537537, 0.19666415452957153, 0.05765088275074959, -0.20923161506652832, -0.2805691659450531, -0.9472432732582092, -0.28046485781669617, 0.49303966760635376, 0.41355055570602417, -0.0533549040555954, 0.5254396796226501, -0.43342071771621704, 0.7912623286247253, -0.15978045761585236, -0.26367440819740295, 0.24880309402942657, -0.22235992550849915, -0.07683973014354706, -0.20313405990600586, 0.7842884659767151, 0.5082817077636719, 0.5504498481750488, -0.2900804877281189, -0.3470088541507721, 0.02454698085784912, 0.23549282550811768, -1.074193000793457, -0.41155874729156494, 0.22847430408000946, -0.5078632831573486, -0.12504932284355164, 0.02249956503510475, -0.6227155327796936, -0.3889664113521576, -0.6888224482536316, 0.2740562856197357, -0.3661523759365082, -0.11042477190494537, 0.1809634566307068, -0.0743657797574997, 0.0006078031146898866, 0.2863719165325165, -0.9414227604866028, 0.35810908675193787, 0.7579053640365601, 0.6723380088806152, -0.4562028646469116, -0.4030084013938904, -0.3223342299461365, 0.00630533741787076, -0.4169248938560486, 0.879260241985321, -0.45467883348464966, -0.18107560276985168, 0.21586400270462036, -0.17244580388069153, 0.2903965711593628, -0.7260552644729614, 0.4136088192462921, -0.7121024131774902, -0.021883470937609673, -0.05947522819042206, -0.7277205586433411, -0.030909128487110138, 0.21639251708984375, -0.8267238140106201, 0.8326069116592407, 0.0665760338306427, -0.7824833989143372, 0.4634251594543457, -0.417481929063797, -0.5852707028388977, -0.01858769729733467, -0.028040027245879173, 0.024742281064391136, 0.09180829674005508, 0.36050212383270264, 0.6617777347564697, -0.4442279040813446, 0.3116086721420288, -0.3192085027694702, -0.45369407534599304, -0.08095438033342361, -0.47373726963996887, 0.6430279612541199, 0.558374285697937, -0.017754798755049706, -0.22653396427631378, -1.2234431505203247, 0.03889954090118408, 0.06994388997554779, -0.5747652053833008, -0.5586814284324646, 0.030487552285194397, 0.13157561421394348, -0.053888123482465744, 0.41286036372184753, -0.4758383333683014, 0.22552137076854706, -0.34649398922920227, 0.4777545928955078, 0.8391644954681396, -0.32086503505706787, 0.39466649293899536, -0.2442808598279953, 0.32987383008003235, -0.053928423672914505, 0.13099735975265503, -0.09170403331518173, -0.011078732088208199, -0.8822458982467651, -0.2074272781610489, 0.4581802785396576, 0.1503172516822815, -0.47415030002593994, 0.16700059175491333, -0.4244304895401001, -0.749464750289917, -0.6918832063674927, 0.2796327769756317, 0.320116251707077, 0.13753169775009155, 0.4594271779060364, -0.16668438911437988, -0.4763352572917938, -0.8005537390708923, -0.16141772270202637, 0.17697422206401825, -0.2259991466999054, 0.1734149158000946, 0.2661992311477661, -0.46545958518981934, 0.9988846182823181, -0.6015351414680481, -0.28932642936706543, -0.1938292682170868, 0.09430541098117828, 0.08989819884300232, 0.3880497217178345, 0.3495701849460602, -0.5496723055839539, -0.25265684723854065, -0.16630421578884125, -0.4988294839859009, -0.26908645033836365, 0.0659424290060997, -0.26768630743026733, -0.025872690603137016, 0.6323021054267883, -0.43044084310531616, 0.07650254666805267, 0.6886897683143616, -0.05092153325676918, 0.5089502930641174, -0.002659294055774808, -0.0989110991358757, -1.0815905332565308, 0.0798715353012085, -0.20624183118343353, -0.3159524202346802, -0.27245014905929565, 0.25722289085388184, -0.005898834206163883, -0.010493824258446693, -0.49438008666038513, 0.686842143535614, -0.36806944012641907, -0.0714312195777893, -0.2732559144496918, 0.48986735939979553, 0.1058000847697258, 0.2797622084617615, -0.37133046984672546, 0.9174249768257141, 0.36993467807769775, -0.8457520008087158, 0.05752982571721077, 0.4988192021846771, -0.4763551950454712, 0.2745532989501953, -0.3144998550415039, 0.11916177719831467, 0.04001207649707794, 0.1490439772605896, -0.5781671404838562, -0.40321362018585205, -0.3575151860713959, -0.2272021472454071, 0.20659078657627106, -0.017180321738123894, -0.6102699637413025, -0.3345778286457062, -0.22315864264965057, 0.1693432778120041, 0.33438464999198914, -1.0114526748657227, 0.15926535427570343, 0.6080403327941895, -0.07055113464593887, -0.6013832688331604, -0.5633593797683716, 0.04308445006608963, 0.013040325604379177, -0.2749941945075989, 0.28020596504211426, -0.1127467080950737, -0.1280873864889145, -0.1724681705236435, -0.19990529119968414, -0.20033687353134155, 0.3093935251235962, 0.19414961338043213, 0.051240406930446625, -0.13718768954277039, 0.058930691331624985, -0.12875668704509735, -0.09445983916521072, 0.03576338291168213, -0.25121328234672546, 0.8502115607261658, 0.0797860398888588, -0.4133695960044861, -0.4280502498149872, -0.05239877477288246, 0.41217318177223206, -0.2009887993335724, 0.690730094909668, 0.5045151114463806, -0.36182701587677, -0.4105544090270996, -0.5630835294723511, -0.1388884037733078, -0.48477375507354736, 0.10662245005369186, -0.13185608386993408, -1.0101269483566284, 0.2952148914337158, -0.2685377895832062, 0.35266169905662537, 0.3377605378627777, 0.23588305711746216, -0.16649334132671356, 0.8071672320365906, 0.6476826667785645, -0.39308878779411316, 0.4775530695915222, -0.3994802236557007, 0.0369466207921505, -0.5524864792823792, -0.25803565979003906, -0.7166149616241455, -0.3457610309123993, -0.6059388518333435, -0.2303645759820938, -0.20265136659145355, 0.49207520484924316, -0.4319981336593628, 0.1579243689775467, -0.34947168827056885, 0.7626556754112244, 0.8622628450393677, 0.13951341807842255, 0.5095552802085876, 0.2293229103088379, -0.16123776137828827, 0.13696619868278503, -0.5602303743362427, -0.8515214920043945, 1.3557730913162231, 0.03514798358082771, 1.0971641540527344, -0.06747650355100632, 0.7986972332000732, 0.08731275051832199, 0.30047816038131714, -0.5850599408149719, 0.6264302134513855, -0.6540184617042542, -0.595335841178894, -0.22521983087062836, -0.36994197964668274, -1.0689914226531982, -0.03148525208234787, -0.13455574214458466, -0.46314537525177, -0.12680530548095703, 0.22696805000305176, -0.16553102433681488, 0.3259972333908081, -0.5250003337860107, 0.5586028695106506, -0.006810828112065792, -0.37319374084472656, -0.3781871497631073, -0.40834176540374756, 0.10573927313089371, -0.29176342487335205, 0.368066668510437, 0.016294879838824272, 0.20675578713417053, 0.9529904723167419, -0.47798579931259155, 0.7724397778511047, 0.07381606847047806, -0.1288319081068039, 0.43274202942848206, 0.17461486160755157, 0.45172807574272156, -0.24021176993846893, -0.024070313200354576, 0.4908152222633362, -0.12171769142150879, -0.3277329206466675, -0.10292811691761017, 0.7180923819541931, -1.0204006433486938, -0.41965049505233765, -0.026639940217137337, -0.06517133861780167, -0.2857491374015808, 0.5541238784790039, 0.4379441738128662, 0.7814485430717468, -0.2868198752403259, 0.6115966439247131, 0.5777678489685059, -0.2887120842933655, 0.38725870847702026, 0.5541343688964844, -0.21402958035469055, -0.2617225646972656, 1.133712649345398, 0.17406892776489258, 0.09602633118629456, 0.3753146827220917, 0.10694412887096405, -0.27585509419441223, -1.053369164466858, -0.2629041075706482, 0.1055266410112381, -0.7581819891929626, -0.4931447207927704, -0.6062572598457336, -0.26108619570732117, -0.3211885690689087, -0.2001258134841919, -0.5247765183448792, -0.296237051486969, -0.6223692297935486, -0.32451149821281433, 0.30097177624702454, 0.8793032169342041, -0.3576686680316925, 0.5930474400520325, -0.8889451622962952, 0.44427454471588135, 0.18356527388095856, 0.7140330672264099, 0.11535368114709854, -0.37686780095100403, -0.3739398419857025, 0.16467033326625824, -0.29853254556655884, -0.02742593362927437, 0.0877731516957283, 0.31024688482284546, 0.5227823257446289, 0.7368158102035522, 0.11367271095514297, 0.7888028025627136, -0.6414777636528015, 0.7911856174468994, 0.07324039191007614, -0.7165166735649109, 0.4275205135345459, -0.39952483773231506, 0.10635945200920105, 0.8049151301383972, 0.6237251162528992, -0.280269980430603, -0.3951297104358673, -0.5484809279441833, -0.954427182674408, 0.7632858157157898, 0.008105792105197906, 0.2673379182815552, -0.21054759621620178, 0.3669379949569702, 0.4684649705886841, 0.2916366457939148, -0.5625124573707581, -0.27955490350723267, -0.21800343692302704, -0.4355522096157074, -0.17718926072120667, -0.21227693557739258, -0.10332641750574112, 0.0507265068590641, 0.6645137071609497, -0.11734043061733246, -0.15031373500823975, -0.26001060009002686, -0.5053088665008545, 0.07655712217092514, 0.07952790707349777, 0.09622009843587875, 0.7708462476730347, -0.04895183444023132, 0.30194658041000366, -0.12190815806388855, -0.8975806832313538, 0.03175381198525429, 0.004143512342125177, -0.05029398947954178, -0.2263425886631012, 0.5679960250854492, 0.5728766322135925, 0.09346670657396317, -0.994285523891449, 0.49229058623313904, 0.05629663169384003, -0.06355936080217361, 0.13389523327350616, 0.35465219616889954, 0.16689680516719818, 0.13395366072654724, 0.33489951491355896, -0.2170753926038742, 0.2598263919353485, -0.2502848505973816, 0.2541491389274597, 0.18116998672485352, 0.07780472189188004, -0.26062262058258057, 0.6584182977676392, 0.36261025071144104, -0.03914686664938927, 0.9320746660232544, 0.026407059282064438, -0.25896888971328735, 0.30437591671943665, 0.4279099702835083, 0.2609953284263611, 0.055909156799316406, 0.14952148497104645, 0.4135623872280121, 0.2378562092781067, -0.3728101849555969, 0.16132156550884247, 0.08044696599245071, -0.7727959752082825, -0.33541515469551086, -1.0788941383361816, -0.4270431399345398, 0.5637802481651306, -0.654769241809845, 0.2905212938785553, -0.4980754256248474, -0.11647550016641617, -0.25995972752571106, 0.17398367822170258, -1.0072884559631348, 0.6052934527397156, 0.21920128166675568, 1.0396254062652588, -0.7028234004974365, 0.580939531326294, 0.409540593624115, -0.3042971193790436, -0.8859410881996155, -0.13655734062194824, -0.14127719402313232, -0.864933967590332, 0.4874171018600464, 0.35726138949394226, 0.00032579281833022833, 0.5064632892608643, -0.7426490783691406, -0.9067975878715515, 0.8017411828041077, 0.4501871168613434, -0.9439969658851624, 0.014132033102214336, 0.3269546627998352, 0.3741363286972046, 0.16693565249443054, 0.08738096058368683, 0.6297299861907959, 0.2701290547847748, -0.18216629326343536, -0.727658212184906, -0.23069100081920624, 0.042983002960681915, -0.29262420535087585, 0.10432383418083191, -0.7682216763496399, 0.7707241177558899, -0.13076509535312653, -0.275216668844223, -0.03664924576878548, 0.3972150981426239, 0.15107305347919464, 0.09523177891969681, 0.2601528465747833, 0.9259039163589478, 0.96039879322052, -0.21593531966209412, 0.8168318271636963, -0.255952924489975, 0.1673104465007782, 1.2694551944732666, -0.032289378345012665, 1.0600380897521973, 0.293161004781723, -0.275351345539093, 0.32549184560775757, 0.994162917137146, -0.02572166547179222, 0.683600127696991, 0.23425261676311493, 0.04227655753493309, -0.32207396626472473, -0.10438209772109985, -0.22283843159675598, 0.584194004535675, 0.2107105404138565, -0.027846762910485268, -0.3468576967716217, 0.1770540028810501, 0.021401679143309593, 0.06968630850315094, -0.4296967089176178, 0.9142143726348877, 0.12231038510799408, -0.43221917748451233, 0.6744341254234314, -0.15991757810115814, 0.8272109627723694, -0.4086713194847107, 0.22664712369441986, -0.6474022269248962, 0.1665349006652832, -0.31475892663002014, -0.78166663646698, -0.06591711938381195, 0.17032888531684875, -0.11498663574457169, -0.1826208382844925, 0.5662084221839905, -0.20102228224277496, -0.09332729876041412, 0.3201025128364563, 0.5590815544128418, 0.5131062865257263, -0.0486547015607357, -0.31802329421043396, 0.2630120515823364, -0.124444879591465, -0.5739588737487793, 0.5304046273231506, 0.6966769695281982, 0.0557883158326149, 0.8757493495941162, 0.952828049659729, 0.128940150141716, 0.1068536788225174, 0.4426988661289215, 1.0404866933822632, -0.5229196548461914, -0.4962771236896515, -0.7314384579658508, 0.17710183560848236, 0.024292444810271263, -0.3765745162963867, 0.6132461428642273, 0.8534112572669983, 1.25154709815979, 0.19105345010757446, 0.8038236498832703, 0.24506302177906036, 0.5260787606239319, -0.6125590801239014, 0.926030158996582, -0.6833826303482056, 0.04145263135433197, -0.014593643136322498, -1.0277562141418457, -0.18929539620876312, 0.5812014937400818, 0.22096775472164154, -0.10248707234859467, 0.454391747713089, 0.6016337871551514, -0.20975326001644135, 0.05812222138047218, 0.1899886280298233, 0.3324369788169861, 0.40375202894210815, 0.10943378508090973, 0.723688542842865, -0.23169606924057007, 0.6452315449714661, -0.098139189183712, -0.05268849432468414, -0.3832199275493622, -0.858411967754364, -1.0525606870651245, -0.46787789463996887, 0.00040097589953802526, -0.09280796349048615, -0.07687698304653168, 0.8540474772453308, 0.717767596244812, -0.7567218542098999, -0.0014352008001878858, -0.2742927372455597, -0.08933264762163162, 0.21448779106140137, -0.12783101201057434, 0.3547147512435913, -0.31422170996665955, -0.6894536018371582, 0.41036590933799744, -0.18307390809059143, 0.2537781298160553, -0.30857619643211365, 0.14619792997837067, 0.055097706615924835, 0.03337359428405762, 0.6436165571212769, -0.03442905470728874, -0.40052658319473267, -0.2200891077518463, -0.19388772547245026, -0.3268822431564331, -0.027365101501345634, 0.4904729127883911, -0.8625684976577759, 0.17161758244037628, 0.25583529472351074, 0.8364630937576294, 0.41612544655799866, -0.06361041218042374, 0.4339090883731842, -0.6011927723884583, 0.08421551436185837, 0.13390792906284332, 0.27665144205093384, 0.4030829668045044, -0.03032936528325081, 0.6502310633659363, -0.07505183666944504, -0.5076331496238708, -0.9314553737640381, -0.2187052220106125, -0.7562071681022644, -0.5213920474052429, 1.1517791748046875, -0.04233141243457794, 0.011114914901554585, -0.09383098036050797, -0.01142308209091425, 0.3557113707065582, -0.29090091586112976, 0.7024388313293457, 0.8773512244224548, 0.38097378611564636, 0.25544270873069763, -0.524757444858551, 0.48592880368232727, -0.06142755597829819, -0.8545168042182922, 0.303535133600235, 0.6456013917922974, 0.41337868571281433, 0.014869490638375282, 0.5197211503982544, 0.05652029067277908, -0.20684631168842316, 0.05074743181467056, 0.1473696082830429, -0.30576175451278687, -0.5964943766593933, -0.003952257800847292, 0.22350287437438965, 0.10812092572450638, -0.025078028440475464 ]
http://arxiv.org/abs/2406.17553v1
http://arxiv.org/pdf/2406.17553v1
Retrieval-Augmented Code Generation for Situated Action Generation: A Case Study on Minecraft
2024-06-25T13:43:24
2024-06-25T13:43:24
Chalamalasetti Kranti, Sherzod Hakimov, David Schlangen
cs.CL
cs.CL
In the Minecraft Collaborative Building Task, two players collaborate: an Architect (A) provides instructions to a Builder (B) to assemble a specified structure using 3D blocks. In this work, we investigate the use of large language models (LLMs) to predict the sequence of actions taken by the Builder. Leveraging LLMs' in-context learning abilities, we use few-shot prompting techniques, that significantly improve performance over baseline methods. Additionally, we present a detailed analysis of the gaps in performance for future work
[ -0.2774257957935333, -1.2047882080078125, 0.771468997001648, 0.23205535113811493, 0.2017386555671692, -0.031970418989658356, -0.01688552275300026, -0.43911442160606384, 0.0452626496553421, 0.5156932473182678, -0.6802588105201721, -0.5164539813995361, -0.2672540843486786, -0.004978679120540619, -0.2535567581653595, 0.2545330226421356, -0.17489098012447357, -0.24551331996917725, -0.4294449985027313, 0.05201039835810661, -0.8264147043228149, -0.3091975450515747, -0.386955201625824, -0.22081637382507324, 0.2847139537334442, 0.5930657386779785, 0.5028588771820068, 0.5411468744277954, 0.4500032067298889, 0.48872098326683044, -0.0793413519859314, 0.36237186193466187, -0.518307089805603, 0.2586404085159302, -0.17089761793613434, -0.21713827550411224, -0.3840532898902893, -0.20387513935565948, 0.336814284324646, 0.46670323610305786, -0.09607803076505661, 0.5721381306648254, 0.045552417635917664, 0.41152191162109375, -0.5815628170967102, 0.2727259397506714, -0.38502806425094604, 0.23333294689655304, 0.12051522731781006, -0.23187358677387238, -0.48074546456336975, -0.3954479992389679, -0.014207390137016773, -0.31621071696281433, 0.15921136736869812, 0.22902995347976685, 0.207170769572258, 0.27201002836227417, -0.09956671297550201, -0.36511048674583435, -0.4318316578865051, 0.7580408453941345, -0.6945132613182068, 0.13444659113883972, 0.5353841185569763, 0.12178713083267212, -0.576255202293396, -0.8541918396949768, -0.44164806604385376, -0.23887787759304047, -0.128937229514122, 0.026284711435437202, 0.09211821854114532, 0.000075618750997819, 0.6751353740692139, 0.16615794599056244, -0.6686024069786072, 0.025751160457730293, -0.5206604599952698, 0.06906071305274963, 0.886787474155426, 0.35788896679878235, 0.22769874334335327, -0.5776412487030029, -0.26985636353492737, 0.15329425036907196, -0.8869841694831848, 0.06025443598628044, 0.07830965518951416, 0.49481576681137085, -0.2196018546819687, 0.9073110222816467, -0.09354355186223984, 0.931704044342041, 0.2630710303783417, -0.13686397671699524, 0.010024095885455608, -0.22574283182621002, -0.41032537817955017, 0.11327875405550003, 0.4552290737628937, 0.22339515388011932, -0.12288372963666916, 0.17121167480945587, -0.13042603433132172, -0.28377097845077515, 0.5957026481628418, -0.6866744160652161, -0.22664104402065277, 0.5050601363182068, -0.6005887985229492, -0.31908029317855835, -0.009890515357255936, -0.3555748164653778, -0.4170502722263336, -0.29536816477775574, 0.4431096315383911, -0.11823440343141556, -0.2056034654378891, -0.32088199257850647, -0.019369453191757202, 0.1672384887933731, 0.13195867836475372, -0.6027644872665405, 0.13284626603126526, 0.6577901840209961, 0.8111682534217834, -0.059272509068250656, -0.3511982858181, -1.1632136106491089, 0.35763198137283325, -0.3135196268558502, 0.6011934280395508, -0.613182008266449, -0.886674702167511, 0.39708542823791504, -0.3414841890335083, 0.3477603793144226, -0.518864095211029, -0.10993222147226334, -0.6357246041297913, 0.4187958240509033, -0.15492410957813263, -0.5374334454536438, -0.2112635374069214, 0.5555657744407654, -0.7893449068069458, 1.1105843782424927, 0.2530876398086548, -0.49041542410850525, 0.28608837723731995, -0.8206545114517212, -0.4023088812828064, 0.36747732758522034, -0.47969943284988403, -0.30055785179138184, 0.3382536768913269, -0.003910341765731573, 0.7505629658699036, 0.14755591750144958, 0.11629003286361694, -0.21264134347438812, -0.6424187421798706, 0.027378814294934273, 0.09059828519821167, 0.40774160623550415, 0.058979179710149765, -0.36940088868141174, 0.2136865258216858, -0.5953691005706787, 0.18718299269676208, -0.04397543519735336, -0.5726408958435059, 0.07464314997196198, 0.22768200933933258, -0.3092956840991974, 0.5031577944755554, 0.3229365348815918, -0.18821915984153748, 0.3906528055667877, -0.29879239201545715, -0.319679856300354, 0.6454503536224365, 0.38373032212257385, 0.41277074813842773, -0.33524006605148315, 0.6769596338272095, -0.28362512588500977, -0.08454466611146927, -0.20437994599342346, -0.46953195333480835, -0.09367428719997406, -0.19889813661575317, -0.05154773220419884, 0.5063660740852356, -1.127569556236267, 0.030727846547961235, -0.04147385433316231, -0.14389078319072723, -0.1171899363398552, 0.42479056119918823, 0.7146807312965393, 0.4085669219493866, 0.15226849913597107, -0.28615471720695496, -0.7725255489349365, -0.1791151612997055, 0.023136252537369728, -0.4242837131023407, -0.07934305816888809, 0.7165209650993347, 0.24023409187793732, 0.025782467797398567, 0.8034183382987976, -0.6361978054046631, 0.06909700483083725, -0.3244342803955078, 0.19951584935188293, 0.24816928803920746, 0.40333059430122375, 0.5609036684036255, -0.8282505869865417, -0.6639939546585083, -0.10114079713821411, -0.9702389240264893, 0.00930327270179987, 0.008947466500103474, -0.14549808204174042, 0.06797872483730316, 0.9895136952400208, -0.4428732991218567, 0.5832240581512451, 0.8018416166305542, -0.1428414285182953, 0.4855683743953705, -0.06492265313863754, 0.18381018936634064, -1.4499118328094482, 0.04129084572196007, -0.2851462662220001, -0.1777140349149704, -0.34623879194259644, 0.34953343868255615, -0.30737242102622986, -0.2765427529811859, -0.8441138863563538, 0.6609150767326355, -0.8629526495933533, -0.35465943813323975, -0.3567650318145752, 0.46593087911605835, -0.310855895280838, 0.4683944582939148, 0.30721092224121094, 0.7803797125816345, 0.4539982080459595, -0.7694430351257324, 0.5127494931221008, 0.48633912205696106, -0.35266998410224915, 0.4901641011238098, -0.6173035502433777, 0.27471160888671875, 0.22602081298828125, -0.08776544034481049, -0.9099439382553101, -0.6956520676612854, -0.1663558930158615, -0.6007745265960693, 0.3831671476364136, -0.5669317841529846, -0.6220757961273193, -0.6139917373657227, -0.2508748173713684, 0.2583095133304596, 0.5136107206344604, -0.6953725218772888, 0.511732280254364, 0.2348014861345291, -0.14198581874370575, -0.31967785954475403, -0.6409275531768799, -0.2318483293056488, -0.0556347593665123, -0.7122761011123657, 0.2927525043487549, -0.2172536551952362, -0.5399364233016968, 0.04475743696093559, 0.08448285609483719, -0.17035908997058868, 0.09772193431854248, 0.7193841338157654, 0.2844223082065582, -0.31638386845588684, 0.12793387472629547, -0.2829098403453827, 0.22109387814998627, 0.13244394958019257, 0.08793783187866211, 0.47200992703437805, 0.11676189303398132, -0.655661940574646, 0.01040438562631607, 0.627924382686615, 0.27307847142219543, -0.27571699023246765, 0.8264241218566895, 0.3669201731681824, -0.37910306453704834, -0.30392953753471375, -0.41772744059562683, -0.047946996986866, -0.5930168032646179, 0.212718203663826, -0.4291362762451172, -1.044237494468689, 0.5179362297058105, -0.6912893056869507, 0.3039648234844208, 0.026462523266673088, 0.6478564143180847, -0.12744134664535522, 1.0680185556411743, 0.8430604934692383, 0.1684705764055252, 0.9258022904396057, -0.22523744404315948, -0.0007883994258008897, -0.8714895844459534, -0.3068944811820984, -0.2697574496269226, -0.509615421295166, -0.6554535627365112, -0.6900547742843628, 0.454899400472641, 0.2514314353466034, -0.1753075271844864, 0.5493744611740112, -0.3246365785598755, 0.7671721577644348, 0.3903108835220337, 0.16273638606071472, -0.08063695579767227, 0.032722603529691696, -0.3076769709587097, 0.17348484694957733, -0.8134127259254456, -0.5037007331848145, 0.7995733022689819, -0.17194503545761108, 0.49902984499931335, 0.5285226106643677, 1.2836992740631104, 0.29094696044921875, 0.25800931453704834, -0.8788730502128601, 0.6615424752235413, 0.32438620924949646, -0.6114591360092163, -0.3120392858982086, -0.3473562002182007, -1.2241400480270386, -0.1131628006696701, -0.29898449778556824, -0.7117160558700562, -0.13196785748004913, 0.1444355547428131, -0.7937565445899963, 0.11329982429742813, -0.8466536998748779, 0.6763712763786316, -0.08494693785905838, -0.790110170841217, -0.32265138626098633, -0.5086991786956787, 0.3182709217071533, 0.1397344470024109, 0.14684458076953888, 0.2926725149154663, 0.24129925668239594, -0.07049956172704697, -0.33411404490470886, 0.9018436670303345, -0.2083616405725479, 0.08370542526245117, 0.7701615691184998, 0.8149847388267517, 0.7325968742370605, -0.0052979192696511745, -0.30589213967323303, -0.5165016651153564, -0.4872337281703949, -0.4307710528373718, -0.5365135669708252, 0.9870485067367554, -0.3855241537094116, -0.6405645608901978, -0.06494149565696716, -0.33688655495643616, -0.25950857996940613, 0.04506666585803032, 0.02991560474038124, 0.6339566111564636, -0.48984161019325256, 0.2575393617153168, 0.5423517227172852, -0.32307618856430054, 0.9722731709480286, 0.5668826103210449, -0.2894347906112671, -0.15038783848285675, 0.39668047428131104, -0.08757642656564713, 0.09182839840650558, 0.3100053369998932, -0.1433824896812439, -0.00011219743464607745, -0.5085762143135071, -0.33631062507629395, 0.022777128964662552, -0.4969944953918457, -0.4588017761707306, -0.18808643519878387, -0.11234430968761444, -0.1447525918483734, -0.9088068604469299, -0.23117943108081818, -0.18466821312904358, -0.3249857723712921, -0.3157516419887543, 0.23912252485752106, 1.2297120094299316, 0.00006908666546223685, 0.06268610060214996, -1.3166532516479492, 0.22669021785259247, 0.5297683477401733, 0.4738020896911621, 0.048051606863737106, -0.2891448736190796, -0.41706448793411255, -0.3189339339733124, -0.2704594135284424, -0.7284687757492065, 0.37007564306259155, -0.18078988790512085, 0.7107619047164917, -0.024598056450486183, -0.05755399167537689, 0.7938498258590698, -0.7312914729118347, 1.3063637018203735, 0.08354311436414719, -0.7486789226531982, 0.9285045862197876, -0.3083321750164032, 0.5701267123222351, 0.31134164333343506, 0.24737772345542908, -0.2526959180831909, 0.07952557504177094, -0.8688371777534485, -0.7770423889160156, 0.8013263940811157, 0.12460772693157196, 0.27696311473846436, -0.4654290974140167, 0.3360755741596222, -0.2386050969362259, 0.09703584760427475, -0.4145262837409973, 0.11803583800792694, 0.3076153099536896, -0.039472728967666626, 0.36195141077041626, -0.2971245050430298, -0.28001827001571655, 0.21496164798736572, 0.3924185335636139, -0.22802352905273438, 0.42495375871658325, 0.15720216929912567, -0.33161699771881104, -0.46764111518859863, 0.0031463010236620903, 0.7635698318481445, 0.7193536758422852, 0.05009346827864647, 0.05322689190506935, 0.4299772083759308, -0.280720055103302, -0.20333757996559143, -0.07205243408679962, 0.3600338399410248, -0.19406796991825104, 0.5761198401451111, 0.47813090682029724, 0.2997000515460968, -0.6484024524688721, 0.594761073589325, 0.1860741227865219, -0.0889967754483223, -0.29829561710357666, 0.18698285520076752, 0.07634121179580688, 0.8626198172569275, 0.03966159373521805, -0.152759850025177, 0.18056082725524902, -0.6566986441612244, 0.4231324791908264, 0.1904776394367218, -0.32784491777420044, -0.3056532144546509, 0.48643648624420166, 0.46269041299819946, -0.6887189745903015, 0.6789898872375488, -0.3263988494873047, -0.3300601840019226, 0.5925527215003967, 0.6248550415039062, 1.150215983390808, -0.18784980475902557, 0.24738462269306183, 0.5592342019081116, -0.19563457369804382, -0.21876566112041473, 0.6441938877105713, -0.23637816309928894, -0.39114469289779663, -0.8424898386001587, -0.4975243806838989, -0.4895919859409332, -0.3427083492279053, -0.49118155241012573, 0.18717385828495026, -0.6491050124168396, -0.13802585005760193, -0.5855926871299744, 0.3158796429634094, -0.6841078996658325, -0.022977348417043686, 0.4486747682094574, 0.7073396444320679, -0.44513002038002014, 0.5400708913803101, 0.9684741497039795, -0.5359967350959778, -1.000266671180725, 0.05997471883893013, 0.35645556449890137, -0.4966011345386505, 0.7166922688484192, -0.17686036229133606, -0.2385348379611969, -0.11294522881507874, -1.0314151048660278, -0.7653248310089111, 1.382879376411438, -0.02940795198082924, -0.365434467792511, 0.0799037292599678, -0.28217557072639465, 0.7004726529121399, -0.2955530881881714, -0.06801006197929382, -0.13902470469474792, 0.07284889370203018, 0.35370805859565735, -1.0278937816619873, 0.11261484026908875, -0.22034023702144623, 0.13905850052833557, 0.3199830949306488, -0.7088841795921326, 0.48251956701278687, -0.3640688359737396, 0.04710039123892784, 0.1409786343574524, 0.7811229228973389, 0.7492696642875671, 0.2789533734321594, 0.04061449319124222, 0.07936901599168777, 0.6862029433250427, 0.18780890107154846, 1.4229861497879028, -0.3295188248157501, 0.08779235929250717, 1.370845079421997, -0.29896146059036255, 1.3057278394699097, 0.3546215295791626, -0.07734794914722443, 0.7034730911254883, 0.3074983060359955, 0.2703997492790222, 0.4422176778316498, 0.12920816242694855, -0.42213645577430725, -0.18294347822666168, 0.005291649606078863, -0.1706489771604538, 0.5372585654258728, 0.3362424671649933, -0.39761337637901306, 0.13778232038021088, -0.25484439730644226, -0.004954350180923939, 0.2216230034828186, -0.45684242248535156, 1.014271855354309, 0.07247064262628555, -0.7285212874412537, 0.22381044924259186, -0.19566164910793304, 0.4194967448711395, -0.45355159044265747, -0.4569341242313385, -0.380007266998291, -0.004270715638995171, -0.4105445444583893, -0.9264815449714661, 0.38083961606025696, 0.13138243556022644, -0.21886087954044342, -0.3524567484855652, 0.6757605671882629, -0.4897456467151642, -0.17684119939804077, 0.02094152756035328, 0.6424780488014221, 0.13615745306015015, 0.028758587315678596, -0.6221117377281189, 0.14552505314350128, -0.011765499599277973, -0.3013880252838135, 0.34463900327682495, 0.7233599424362183, -0.23709546029567719, 0.426473468542099, 0.6080332398414612, -0.17690083384513855, 0.1867809295654297, 0.0018683124799281359, 0.8610342741012573, -0.7431360483169556, -0.16280987858772278, -0.6247523427009583, 0.8157951235771179, -0.24332967400550842, 0.061902694404125214, 0.8781518340110779, 0.6266942620277405, 0.9256715774536133, -0.21151326596736908, 0.3762179911136627, -0.3767969310283661, 0.3216378390789032, -0.546113908290863, 0.3450049161911011, -0.3073427677154541, 0.4012138247489929, -0.45369651913642883, -0.978694498538971, -0.5254371762275696, 0.5784445405006409, -0.264658123254776, 0.14582198858261108, 0.42072272300720215, 0.8609646558761597, -0.10859451442956924, -0.3878321051597595, 0.639667809009552, -0.016023170202970505, 0.27930954098701477, 0.3567039668560028, 0.7629836201667786, -0.34079596400260925, 0.4772774875164032, 0.04977501556277275, 0.10881633311510086, -0.39483311772346497, -1.01805579662323, -1.04340660572052, -0.30790385603904724, -0.41279464960098267, -0.39366257190704346, -0.2170255482196808, 1.2659813165664673, 0.8520061373710632, -0.7750160694122314, -0.33739173412323, 0.014445113949477673, 0.1884523183107376, -0.2583353519439697, -0.1847425401210785, 0.1988343596458435, -0.2042466104030609, -0.617008626461029, 0.7816935181617737, 0.24809671938419342, 0.1372862607240677, -0.10074294358491898, -0.37348735332489014, -0.3557441532611847, 0.11424069851636887, 1.062611699104309, 0.38141992688179016, -0.47978654503822327, -0.3801614046096802, 0.13583660125732422, -0.12840892374515533, -0.11474395543336868, 0.7530288696289062, -0.9155251979827881, 0.657464325428009, 0.9685900211334229, 0.43088898062705994, 0.5662012696266174, 0.40908533334732056, 0.6510140299797058, -1.5416178703308105, 0.18217380344867706, 0.146279975771904, 0.11401781439781189, 0.27882611751556396, -0.43145281076431274, 0.7723587155342102, -0.12512986361980438, -0.5576505661010742, -0.5734515190124512, 0.1977187991142273, -0.6240935325622559, -0.23190809786319733, 1.098572850227356, -0.18014079332351685, -0.20412887632846832, 0.05871519446372986, -0.522678017616272, 0.06636849045753479, -0.13339398801326752, 0.7757958769798279, 0.6624723076820374, -0.4629218876361847, -0.302001029253006, -0.4748293161392212, 0.6607963442802429, 0.07683772593736649, -0.6901236176490784, -0.16421590745449066, 1.1615185737609863, -0.016456760466098785, 0.28294312953948975, 0.4994131028652191, -0.07222525775432587, 0.4327438473701477, 0.37144237756729126, 0.11602653563022614, -0.16074898838996887, -0.3783310055732727, -0.12721337378025055, 0.3310917913913727, 0.26612791419029236, -0.1791130006313324 ]
http://arxiv.org/abs/2406.17542v2
http://arxiv.org/pdf/2406.17542v2
CDQuant: Accurate Post-training Weight Quantization of Large Pre-trained Models using Greedy Coordinate Descent
2024-06-25T13:29:14
2024-06-26T07:44:42
Pranav Ajit Nair, Arun Sai Suggala
cs.LG
cs.LG, cs.AI, cs.CL
Large language models (LLMs) have recently demonstrated remarkable performance across diverse language tasks. But their deployment is often constrained by their substantial computational and storage requirements. Quantization has emerged as a key technique for addressing this challenge, enabling the compression of large models with minimal impact on performance. The recent GPTQ algorithm, a post-training quantization (PTQ) method, has proven highly effective for compressing LLMs, sparking a wave of research that leverages GPTQ as a core component. Recognizing the pivotal role of GPTQ in the PTQ landscape, we introduce CDQuant, a simple and scalable alternative to GPTQ with improved performance. CDQuant uses coordinate descent to minimize the layer-wise reconstruction loss to achieve high-quality quantized weights. Our algorithm is easy to implement and scales efficiently to models with hundreds of billions of parameters. Through extensive evaluation on the PaLM2 model family, we demonstrate that CDQuant consistently outperforms GPTQ across diverse model sizes and quantization levels. In particular, for INT2 quantization of PaLM2-Otter, CDQuant achieves a 10% reduction in perplexity compared to GPTQ.
[ -0.0859522745013237, -0.499029278755188, 0.5729739665985107, 0.1884438693523407, -0.41255587339401245, 0.385180801153183, -0.3434806764125824, 0.019148780032992363, -0.27955546975135803, 0.27080222964286804, -0.21888983249664307, -0.5493772029876709, -0.8276610374450684, -0.34500083327293396, -0.4272027313709259, 1.0853304862976074, -0.170291468501091, 0.3556489944458008, -0.2920663058757782, -0.10749325901269913, 0.014918855391442776, -0.8817077279090881, -0.9200295805931091, -0.3547656536102295, 0.353353351354599, 0.2144191563129425, 1.1302388906478882, 0.4309316873550415, 0.43967869877815247, 0.20494286715984344, 0.12072929739952087, -0.11283806711435318, -0.7001855373382568, -0.12544311583042145, 0.3809434473514557, -0.7899839282035828, -0.4281594157218933, 0.10720368474721909, 0.5541841983795166, 0.6526657342910767, -0.45697399973869324, 0.03632734715938568, 0.03440837934613228, 0.7826215028762817, -0.7914841175079346, 0.002936373697593808, -0.36247584223747253, 0.03643077239394188, -0.2563856840133667, -0.12248148024082184, -0.164835587143898, -0.46031999588012695, 0.17812585830688477, -0.8180180788040161, 0.37949538230895996, -0.28617629408836365, 0.7816641926765442, 0.4099010229110718, -0.6599349975585938, 0.028852161020040512, -0.6138956546783447, 0.9003719687461853, -0.4950903356075287, 0.49078312516212463, 0.38032692670822144, 0.20674973726272583, 0.19571290910243988, -0.8692768812179565, -0.5429397225379944, -0.24189434945583344, 0.2956579923629761, 0.1197371780872345, -0.13162563741207123, 0.1967361867427826, 0.2896853983402252, 0.6193854808807373, -0.8887321949005127, -0.05837002769112587, 0.037290170788764954, -0.11055275797843933, 0.4019489586353302, -0.2285715937614441, 0.28550902009010315, 0.18107885122299194, -0.4621434211730957, -0.48599693179130554, -0.9291229248046875, 0.025458939373493195, 0.33208662271499634, -0.1294821798801422, -0.16202585399150848, 0.5228356122970581, -0.29555830359458923, 0.6498225927352905, 0.11265506595373154, -0.0682201161980629, -0.10346824675798416, -0.13227468729019165, -0.13550861179828644, 0.12507058680057526, 0.6731359362602234, 0.11896144598722458, 0.14879277348518372, -0.09322928637266159, -0.45772799849510193, 0.040384214371442795, 0.0020304543431848288, -1.0930899381637573, -0.9569814801216125, 0.39478856325149536, -0.3667100667953491, -0.07971423119306564, -0.12822659313678741, -0.0038101691752672195, -0.2671642005443573, -0.3869401514530182, 0.6164842247962952, -0.629693329334259, -0.2803443968296051, 0.29125967621803284, -0.12239182740449905, 0.34036222100257874, 0.6594126224517822, -0.568549394607544, 0.47475025057792664, 0.8948679566383362, 0.9230353236198425, 0.12238951027393341, 0.23715339601039886, -0.787283182144165, 0.08060578256845474, -0.41226068139076233, 0.6280773878097534, -0.3640247583389282, -0.3961922824382782, -0.12885892391204834, -0.3897929787635803, 0.2438708394765854, -0.4884257912635803, 0.7634814977645874, -0.9344289302825928, -0.006005255971103907, -0.43190959095954895, -0.5191320180892944, -0.07969316095113754, 0.24315178394317627, -0.7059600353240967, 0.9152956008911133, 0.48126739263534546, -0.9219108819961548, 0.3392758071422577, -0.27810049057006836, -0.37013599276542664, 0.27908962965011597, 0.10905589908361435, -0.6559322476387024, 0.21494384109973907, 0.35313481092453003, 0.1877843290567398, -0.8139330148696899, 0.06404202431440353, -0.4160563051700592, -0.46196508407592773, 0.037431638687849045, -0.22504356503486633, 0.939608633518219, 0.45554888248443604, -0.17519846558570862, -0.12015704810619354, -0.47954821586608887, 0.443252831697464, 0.3548438847064972, -0.3223058581352234, -0.5652744174003601, -0.014708239585161209, 0.11176911741495132, 0.08007105439901352, 0.3888333737850189, -0.3782051205635071, 0.37520676851272583, -0.26703810691833496, 0.5169823169708252, 0.31695204973220825, -0.3602116107940674, 0.6128241419792175, -0.20312714576721191, 0.6718926429748535, -0.11566505581140518, 0.18589235842227936, 0.33483096957206726, -0.11996762454509735, -0.6380626559257507, -0.42672640085220337, 0.6875236630439758, 0.505463182926178, -1.1453239917755127, 0.38735145330429077, -0.5930355191230774, -0.6356101632118225, -0.252525269985199, -0.03957942873239517, 0.45169883966445923, -0.08614989370107651, 0.11295010149478912, -0.5979790687561035, -0.3235476613044739, -0.5676977038383484, -0.21688677370548248, -0.24087919294834137, -0.36741095781326294, -0.05231667682528496, 0.06934617459774017, 0.08280535042285919, 0.8711252212524414, -0.5821747779846191, -0.04740440845489502, -0.1547250747680664, 0.44225990772247314, 0.09000648558139801, 0.6503200531005859, 0.47499072551727295, -0.9724680781364441, -0.5326709151268005, -0.06852862238883972, -0.4806824326515198, -0.030177373439073563, -0.026716597378253937, -0.0822625532746315, -0.004860464483499527, 0.31243807077407837, -0.9757434725761414, 0.16743908822536469, 0.8193097114562988, 0.034247178584337234, 0.5131186842918396, -0.31779441237449646, 0.2281421273946762, -0.6641620397567749, 0.07791782915592194, -0.1401139348745346, -0.37584352493286133, -0.3565073013305664, 0.053498126566410065, 0.3559214174747467, -0.27212193608283997, -0.27684909105300903, 0.24968399107456207, -0.5986121892929077, -0.25965631008148193, -0.18234840035438538, 0.14507074654102325, 0.03371281921863556, 0.17276833951473236, 0.21304874122142792, 0.8078585267066956, 0.5304726958274841, -0.41874414682388306, 0.4637930691242218, 0.11914630979299545, -0.3398709297180176, 0.6621924638748169, -0.9700373411178589, 0.3015173077583313, -0.1275276243686676, 0.5943613648414612, -0.8958110809326172, 0.11689840257167816, 0.006902223918586969, -0.30327174067497253, 0.383987158536911, -0.4278874695301056, -0.884796679019928, -0.4344986081123352, -0.5381470322608948, 0.9630869030952454, 0.5077822208404541, -0.6016067266464233, 0.18885906040668488, 0.294525682926178, -0.15392017364501953, -0.2939035892486572, -0.3484109044075012, 0.17001184821128845, -0.2094566524028778, -0.5222030878067017, 0.4386753737926483, -0.33535799384117126, 0.011213568039238453, -0.34867388010025024, -0.2488163709640503, -0.23852071166038513, 0.07788219302892685, 0.0014243214391171932, 0.02759004384279251, -0.09433452785015106, 0.14291587471961975, 0.10991840064525604, -0.18290989100933075, 0.0031799899879842997, -0.8463161587715149, 0.7380875945091248, 0.04467068240046501, 0.025259535759687424, -0.1752471625804901, 0.08508270978927612, 0.20179812610149384, -0.5520610213279724, 0.6372369527816772, 0.8491063117980957, -0.31457582116127014, -0.36490654945373535, -0.3450050354003906, 0.012597172521054745, -0.42509809136390686, 0.4751160144805908, -0.6377506852149963, -0.9575542211532593, 0.06931409239768982, -0.2752625346183777, -0.2652035355567932, 0.16509346663951874, 0.4977674186229706, 0.12652328610420227, 1.147118091583252, 0.594667375087738, -0.03696100413799286, 0.504002571105957, -0.46698370575904846, 0.24014149606227875, -0.7084671258926392, 0.257080078125, -0.4696486294269562, -0.10071539133787155, -0.4331098198890686, -0.7237525582313538, 0.6841328144073486, 0.5391804575920105, -0.47230976819992065, 0.3943934738636017, -0.4618900716304779, 0.5508086681365967, 0.5854759812355042, 0.3299316167831421, 0.25092124938964844, 0.03587309271097183, 0.21496808528900146, 0.03367794677615166, -0.8228716850280762, -0.30031195282936096, 1.3639941215515137, 0.1915721893310547, 0.7973331809043884, 0.20503418147563934, 0.764276921749115, 0.2232535034418106, 0.5433409810066223, -0.8984602689743042, 0.2823764979839325, -0.3267453610897064, -0.24798046052455902, -0.3655240535736084, -0.7296101450920105, -0.8238022327423096, 0.2196948230266571, 0.0566226951777935, -0.3835223317146301, -0.07073218375444412, 0.19511575996875763, -0.6542044878005981, 0.1663217693567276, -0.6095486879348755, 0.8779196739196777, -0.23499035835266113, -0.25989097356796265, -0.4074168801307678, -0.596072256565094, 0.6090695858001709, -0.3145787715911865, -0.026179155334830284, 0.023090677335858345, -0.30386224389076233, 0.7503265142440796, -0.9692624807357788, 0.28969505429267883, -0.22713260352611542, -0.6698670983314514, 0.34325605630874634, 0.36115556955337524, 0.7234095335006714, 0.3002444803714752, 0.0825410857796669, 0.2850791811943054, 0.38340672850608826, -0.6295238733291626, -0.6238088607788086, 0.7624650001525879, -0.8968634009361267, -0.48988568782806396, -0.4287441074848175, -0.5014685392379761, -0.3006504774093628, -0.054585494101047516, 0.2701234221458435, 0.4479174017906189, -0.09647467732429504, 0.0005640789750032127, 0.6319547295570374, -0.3462110757827759, 0.2720593512058258, 0.3131268620491028, 0.12984533607959747, -0.6784312129020691, 0.850901186466217, 0.0716693252325058, 0.327399879693985, 0.7892888188362122, 0.031061721965670586, -0.3571414649486542, -0.5484598875045776, -0.20950958132743835, 0.24130485951900482, -0.4924118220806122, -0.5824851989746094, -0.6063854098320007, -0.07847850024700165, -0.4027826488018036, 0.006744251120835543, -0.6243698596954346, -0.7484968304634094, -0.02635921724140644, 0.20869885385036469, 0.15643218159675598, 0.29456713795661926, -0.1423891931772232, 0.6980252265930176, -0.9541194438934326, 0.40259236097335815, 0.5425991415977478, 0.15048761665821075, -0.1665067970752716, -0.5299085974693298, -0.4630226194858551, 0.1986011415719986, -0.5333364605903625, -0.44687139987945557, 0.48089009523391724, 0.33376678824424744, -0.16487205028533936, 0.4522656500339508, 0.3083142042160034, 0.6731289625167847, -0.37603116035461426, 0.7015011310577393, 0.30847060680389404, -1.2468373775482178, 0.2733982503414154, -0.22912578284740448, 0.3600795269012451, 0.2332836538553238, 0.6088239550590515, -0.3841085135936737, -0.06959041208028793, -0.6745288372039795, -0.6473557353019714, 0.5809942483901978, 0.28822287917137146, -0.00982255395501852, 0.2699292004108429, 0.43644604086875916, -0.0952606201171875, 0.3936006426811218, -0.6713639497756958, -0.10719680041074753, -0.12007427215576172, -0.19871346652507782, -0.24621179699897766, -0.3900567889213562, -0.09915141761302948, -0.07090811431407928, 0.46139147877693176, -0.1322133094072342, 0.27525418996810913, 0.19662046432495117, -0.35647571086883545, -0.29563745856285095, -0.05099940299987793, 0.19819927215576172, 0.4483206272125244, -0.15979920327663422, 0.2257121056318283, -0.12276659905910492, -0.37673065066337585, 0.2083750069141388, 0.35696473717689514, -0.08073102682828903, -0.17586074769496918, 0.2539542317390442, 0.36827680468559265, 0.27359575033187866, -0.581566333770752, 0.907606303691864, -0.1651279181241989, -0.16872525215148926, -0.4064306914806366, -0.11184125393629074, -0.1539086401462555, 0.24174819886684418, 0.31895098090171814, -0.16047461330890656, 0.3327672481536865, -0.28753745555877686, 0.20535807311534882, 0.6802778840065002, -0.16138651967048645, -0.36120787262916565, 0.9633663892745972, 0.027156783267855644, 0.2608345150947571, 0.6328230500221252, -0.179433211684227, -0.604727566242218, 0.5608073472976685, 0.20896898210048676, 0.791070282459259, -0.3597520589828491, 0.3799178898334503, 0.43836602568626404, 0.11001889407634735, -0.3295249938964844, 0.25430357456207275, -0.4142192006111145, -0.679567277431488, -0.6704760193824768, -0.6388456225395203, -0.20538334548473358, -0.19247299432754517, -0.610237717628479, 0.13138946890830994, -0.5311655402183533, -0.3452063798904419, -0.351897269487381, 0.313713401556015, -0.6734443306922913, 0.35171228647232056, 0.2108033299446106, 0.6621832847595215, -0.33757948875427246, 1.2494261264801025, 0.5264984369277954, -0.21563003957271576, -0.7689711451530457, 0.051973599940538406, -0.16589480638504028, -0.661824107170105, 0.8715170621871948, -0.15950842201709747, 0.2678155303001404, 0.4498368799686432, -0.7631418704986572, -0.9716699123382568, 1.0907444953918457, 0.6808726191520691, -0.6300430297851562, -0.030176522210240364, 0.2743954658508301, 0.37276580929756165, 0.1362278163433075, 0.4945153295993805, 0.4958733022212982, 0.3380267918109894, 0.17451679706573486, -0.949749231338501, 0.10115793347358704, 0.1124141663312912, 0.3673132658004761, 0.38199517130851746, -0.7978052496910095, 1.0256019830703735, -0.38609421253204346, -0.4524417221546173, 0.4479655623435974, 0.5988886952400208, 0.2894350290298462, -0.1250755339860916, 0.6199722290039062, 0.7631720304489136, 0.706339955329895, -0.3106742799282074, 1.2836707830429077, -0.5188342928886414, 0.6708753108978271, 0.8405916690826416, -0.35322967171669006, 0.669237494468689, 0.2576175034046173, -0.62680584192276, 0.19408220052719116, 0.7821997404098511, 0.34046652913093567, 0.5249624848365784, 0.6924070119857788, -0.5912420749664307, -0.5772420763969421, -0.05439380556344986, -0.29797032475471497, 0.2193983644247055, 0.07144612818956375, 0.2666432559490204, -0.14860183000564575, -0.0886017456650734, 0.2147977203130722, -0.12902231514453888, -0.29403120279312134, 0.5007288455963135, 0.25831714272499084, -0.4536437690258026, 1.2104766368865967, 0.1394548863172531, 0.5623762607574463, -0.7233024835586548, 0.051372844725847244, -0.27119413018226624, 0.08024577796459198, -0.05253392830491066, -0.2931053042411804, -0.22749628126621246, -0.30861717462539673, 0.04474693909287453, -0.33872029185295105, 0.27863118052482605, -0.7100306153297424, -0.34169650077819824, 0.02217462845146656, 0.48827511072158813, -0.03342856466770172, -0.752575159072876, -0.7169157266616821, 0.22214367985725403, -0.1761016994714737, -0.29349732398986816, 0.29779958724975586, 0.7830988168716431, 0.019513200968503952, 0.7085471153259277, 0.6405627131462097, 0.21476025879383087, -0.22562800347805023, 0.040650490671396255, 0.9233382344245911, -0.49576660990715027, -0.3846690356731415, -0.41443485021591187, 0.30595433712005615, 0.18471592664718628, -0.08844967186450958, 0.615199089050293, 0.7152456045150757, 0.9695981740951538, -0.08902938663959503, 0.7397958636283875, -0.014624523930251598, 0.34970903396606445, -0.631208598613739, 0.6656405925750732, -0.5814464688301086, 0.2743052542209625, -0.25893837213516235, -1.0743459463119507, -0.5359268188476562, 0.5408483147621155, -0.434751957654953, 0.2512148916721344, 0.7857837080955505, 0.6652839779853821, 0.13551455736160278, -0.34513843059539795, 0.36841636896133423, 0.11507397890090942, 0.4021332263946533, 0.9400541186332703, 0.797806978225708, -0.8005474209785461, 0.7301253080368042, -0.24485503137111664, -0.3516298234462738, 0.04705626145005226, -0.5755928754806519, -0.5367926955223083, -0.49859246611595154, -0.6614609360694885, -0.21510732173919678, 0.15006671845912933, 0.6989904046058655, 1.0011812448501587, -0.6789435148239136, -0.305639386177063, -0.16625945270061493, -0.09443553537130356, -0.12280160933732986, -0.22927188873291016, 0.5483309626579285, -0.29191794991493225, -0.9755709767341614, 0.03931207209825516, 0.07886846363544464, 0.08942429721355438, 0.05749129131436348, -0.3218994140625, 0.24725639820098877, -0.22658678889274597, 0.7570619583129883, 0.17141638696193695, -0.34397149085998535, -0.12518978118896484, -0.5084847211837769, -0.2601383626461029, -0.0816197320818901, 1.0817718505859375, -0.9058390259742737, 0.20872759819030762, 0.2486514002084732, 0.5557389259338379, 0.646024763584137, 0.18728332221508026, 0.7902722358703613, -0.5905828475952148, 0.29952335357666016, 0.30915653705596924, 0.19205807149410248, 0.38153916597366333, -0.22852575778961182, 0.6629588603973389, 0.2657110393047333, -0.5875495076179504, -0.6782036423683167, 0.0813707783818245, -1.122343897819519, -0.15023593604564667, 1.0322085618972778, -0.3231174349784851, -0.0633988082408905, 0.2548803985118866, -0.39107638597488403, 0.3503322899341583, -0.3524817228317261, 0.7378662824630737, 0.4569641947746277, 0.20426802337169647, -0.5368413329124451, -0.34667637944221497, 0.7537516355514526, 0.6490594744682312, -0.7028796076774597, 0.11904023587703705, 0.47207552194595337, 0.07409965246915817, -0.30630922317504883, 0.5582624673843384, -0.20337675511837006, 0.26360589265823364, -0.10080726444721222, 0.3210547864437103, 0.3430122435092926, 0.11010226607322693, -0.25861626863479614, 0.17335505783557892, 0.4678747355937958, 0.019112322479486465 ]
http://arxiv.org/abs/2406.17535v1
http://arxiv.org/pdf/2406.17535v1
Disce aut Deficere: Evaluating LLMs Proficiency on the INVALSI Italian Benchmark
2024-06-25T13:20:08
2024-06-25T13:20:08
Fabio Mercorio, Mario Mezzanzanica, Daniele Potertì, Antonio Serino, Andrea Seveso
cs.CL
cs.CL, cs.AI
Recent advancements in Large Language Models (LLMs) have significantly enhanced their ability to generate and manipulate human language, highlighting their potential across various applications. Evaluating LLMs in languages other than English is crucial for ensuring their linguistic versatility, cultural relevance, and applicability in diverse global contexts, thus broadening their usability and effectiveness. We tackle this challenge by introducing a structured benchmark using the INVALSI tests, a set of well-established assessments designed to measure educational competencies across Italy. Our study makes three primary contributions: Firstly, we adapt the INVALSI benchmark for automated LLM evaluation, which involves rigorous adaptation of the test format to suit automated processing while retaining the essence of the original tests. Secondly, we provide a detailed assessment of current LLMs, offering a crucial reference point for the academic community. Finally, we visually compare the performance of these models against human results. Additionally, researchers are invited to submit their models for ongoing evaluation, ensuring the benchmark remains a current and valuable resource.
[ -0.31625697016716003, -0.384611576795578, 0.486958384513855, 0.1335214525461197, -0.03762003406882286, 0.27308595180511475, -0.4314184784889221, -0.675167441368103, -0.1910925805568695, 0.30016645789146423, -0.18849322199821472, -0.4523366689682007, -0.600532591342926, 0.5586361289024353, -0.5156583189964294, 0.2915573716163635, -0.27412545680999756, 0.6441283226013184, -0.5707943439483643, -0.2954535484313965, -0.25197941064834595, -0.4263472259044647, -0.797600507736206, -0.42579975724220276, 0.1485479772090912, 0.5125662088394165, 0.17629751563072205, 0.2676326632499695, 0.6780333518981934, 0.3226151764392853, -0.21927665174007416, 0.2488274872303009, -0.3921459913253784, -0.07417621463537216, -0.15753568708896637, -0.4117867350578308, -0.44797539710998535, 0.08458182215690613, 0.9805085062980652, 0.9437059164047241, 0.005088241770863533, 0.21394610404968262, 0.4447784125804901, 0.649046778678894, -0.5522118806838989, 0.11927682161331177, -0.4881080389022827, -0.21814146637916565, -0.11660607159137726, -0.051818832755088806, -0.4634287357330322, -0.7849426865577698, -0.08530939370393753, -0.1893613040447235, -0.17602835595607758, -0.2940727174282074, 0.5609164834022522, 0.2653590738773346, -0.4652387499809265, -0.3481212854385376, -0.49513235688209534, 0.5040460824966431, -0.7338892817497253, 0.7376919388771057, 0.1861201971769333, 0.42598187923431396, -0.2574336528778076, -0.7245911955833435, -0.2871655821800232, -0.7785223722457886, 0.3000822365283966, 0.08581964671611786, -0.007783318869769573, -0.1701715737581253, 0.15865033864974976, 0.46738696098327637, -0.5949525833129883, 0.4220755100250244, -0.14882631599903107, 0.023131797090172768, 0.8198569416999817, 0.4439038038253784, 0.24798521399497986, 0.34822720289230347, -0.4048726558685303, -0.1389332115650177, -0.9638755321502686, 0.20825913548469543, 0.3685051500797272, 0.24817171692848206, -0.09259261935949326, 0.5503461360931396, -0.26253023743629456, 0.616126537322998, -0.40359658002853394, -0.20250973105430603, 0.18177387118339539, -0.4279237985610962, 0.014591853134334087, -0.24138186872005463, 0.6536885499954224, 0.4074157476425171, 0.557051956653595, -0.2398977279663086, -0.31827446818351746, -0.017415862530469894, -0.07343517243862152, -0.8863781690597534, 0.09608206897974014, -0.20753160119056702, -0.031748417764902115, 0.00914568267762661, 0.2064535915851593, -0.8520130515098572, -0.2511252462863922, -0.14250077307224274, 0.41458722949028015, -0.30537328124046326, 0.19331832230091095, 0.1585819572210312, 0.20120827853679657, 0.12269431352615356, 0.2888137400150299, -0.7385498881340027, 0.5549883842468262, 0.6460130214691162, 0.6765446662902832, -0.5216482877731323, -0.3072638213634491, -0.28167563676834106, -0.016270486637949944, -0.5208005309104919, 0.7729123830795288, -0.6673246026039124, -0.6897383332252502, 0.30824121832847595, 0.019365066662430763, -0.008428733795881271, -0.7973496317863464, 0.7634411454200745, -0.3359921872615814, -0.007869676686823368, -0.2856266498565674, -0.8749015927314758, -0.2094816416501999, 0.4145265519618988, -0.5735076069831848, 1.2448937892913818, 0.18461591005325317, -0.38567933440208435, 0.4752155840396881, -0.533194899559021, -0.2685154676437378, 0.26253458857536316, -0.11138074100017548, -0.2117873877286911, 0.1626889705657959, -0.07630182057619095, 0.2428484410047531, -0.6802204847335815, 0.26037684082984924, -0.2860100269317627, -0.6076188087463379, 0.43179985880851746, -0.6337350606918335, 0.6932204365730286, -0.02288004197180271, -0.3380032181739807, -0.0831533893942833, -0.8245536684989929, 0.1733090728521347, -0.1097579300403595, -0.5200931429862976, -0.22827069461345673, 0.014079184271395206, -0.06692630052566528, 0.0397239625453949, 0.3520490527153015, -0.5173375606536865, 0.20770592987537384, -0.5528525710105896, 0.5062462687492371, 0.5021883249282837, -0.012082692235708237, 0.22279506921768188, -0.21524003148078918, 0.5487562417984009, -0.3317340612411499, 0.19543008506298065, -0.061090562492609024, -0.4484725296497345, -0.7244142889976501, -0.4737459123134613, 0.4496825933456421, 0.49264413118362427, -0.42246487736701965, 0.3769168555736542, -0.4305194616317749, -0.6938404440879822, -0.5379458069801331, 0.26144638657569885, 0.35572385787963867, 0.27036240696907043, 0.058570582419633865, -0.5895428657531738, -0.15525656938552856, -0.8373438715934753, -0.3563508689403534, -0.21810005605220795, -0.05545905604958534, 0.18962125480175018, 0.8579134345054626, -0.18963773548603058, 0.7143504023551941, 0.12407685816287994, -0.07477250695228577, -0.23042066395282745, -0.08911833167076111, 0.1179133877158165, 0.3079378306865692, 0.45378002524375916, -0.5635907649993896, -0.5098389983177185, 0.012711121700704098, -0.6657082438468933, -0.1805793195962906, 0.3481399416923523, 0.13756942749023438, 0.21066512167453766, 0.47654399275779724, -0.14837683737277985, 0.38133227825164795, 0.47209247946739197, -0.2787415385246277, 0.4153212904930115, -0.2576877474784851, 0.5485045909881592, -0.8646888732910156, -0.09744295477867126, 0.07781004160642624, -0.19216333329677582, -0.26558592915534973, 0.19267791509628296, 0.23277652263641357, -0.036313850432634354, -0.6108716130256653, 0.861742377281189, -0.4353064298629761, -0.3945468068122864, 0.1499166637659073, 0.273210346698761, -0.08980991691350937, -0.054178543388843536, -0.14476102590560913, 1.2120133638381958, 0.33499374985694885, -0.41248658299446106, 0.3242951035499573, 0.06317968666553497, -0.7804242968559265, 0.7288830876350403, -0.6630033254623413, -0.08294317871332169, 0.3043861985206604, 0.03265300393104553, -1.0505880117416382, -0.20096498727798462, 0.1662198156118393, -0.29431477189064026, 0.28219515085220337, 0.04969784617424011, -0.8422171473503113, -0.3097986578941345, -0.2846749722957611, 0.35902589559555054, 0.31682631373405457, -0.5805539488792419, 0.38745591044425964, 0.3363431990146637, -0.09496666491031647, -0.004393555223941803, -0.7152219414710999, 0.3395085036754608, -0.3734700381755829, -0.610767126083374, 0.2340310961008072, -0.40167146921157837, -0.7247534394264221, -0.2190716415643692, 0.09578895568847656, -0.39837393164634705, 0.45490068197250366, -0.031967636197805405, 0.22421880066394806, -0.31341657042503357, -0.004283278249204159, -0.13243992626667023, -0.08466443419456482, 0.10342060774564743, -0.18563702702522278, 0.19809523224830627, -0.22240614891052246, -0.8172389268875122, -0.7083812355995178, 0.11426209658384323, 0.9056509733200073, -0.2770369052886963, 0.4664824903011322, 0.051373038440942764, -0.47056299448013306, -0.1886216253042221, -0.6312642097473145, -0.23832936584949493, -0.4311370849609375, 0.44725218415260315, -0.47718119621276855, -0.7294904589653015, 0.34615984559059143, -0.28769156336784363, -0.003545633051544428, 0.23065024614334106, 0.5543363690376282, -0.10660602897405624, 0.9221872687339783, 0.6546590328216553, -0.2035568207502365, 0.2582429349422455, -0.2679068148136139, 0.09111035615205765, -0.7778903841972351, -0.3601137399673462, -0.8328301310539246, -0.06979548931121826, -0.5906178951263428, -0.45930975675582886, 0.5558486580848694, -0.013482620008289814, -0.24124951660633087, 0.2267075777053833, -0.18816566467285156, 0.6061162352561951, 0.03649416193366051, 0.01827090047299862, 0.7013526558876038, 0.05972494184970856, -0.2656429409980774, -0.3506263792514801, -0.651418924331665, -1.1585396528244019, 1.135106086730957, 0.3036942780017853, 0.7023113965988159, 0.11601919680833817, 0.6536745429039001, 0.15286019444465637, 0.500044047832489, -0.675479531288147, 0.7192245125770569, -0.36097490787506104, -0.39262980222702026, -0.1987302303314209, -0.2624419629573822, -0.5541261434555054, 0.3486807942390442, -0.06654267013072968, -0.6555394530296326, 0.0630657747387886, -0.3063196539878845, -0.21741995215415955, 0.3823324739933014, -0.5815425515174866, 0.7713820934295654, -0.5788099765777588, -0.735205352306366, -0.23483262956142426, -0.08469165861606598, 0.18304243683815002, -0.202112078666687, 0.3687343895435333, -0.2747843563556671, -0.49322694540023804, 0.5880345106124878, -0.05872904509305954, 0.8783995509147644, 0.28284788131713867, -0.16594727337360382, 0.13079597055912018, -0.0719953402876854, 0.20473915338516235, 0.24349689483642578, -0.6864749789237976, 0.1939874142408371, -0.05661242455244064, -0.42724844813346863, -0.37441885471343994, 0.814105749130249, -0.6584600210189819, -0.4021892547607422, -0.4772725999355316, -0.3876689374446869, -0.44028162956237793, -0.06323495507240295, 0.18503589928150177, 0.5926397442817688, -0.8435066342353821, 0.1370937079191208, 0.7075522541999817, 0.017980627715587616, 0.4364667236804962, 0.8622097969055176, 0.1042671650648117, -0.37098315358161926, 0.759609043598175, 0.15266144275665283, 0.395145982503891, 0.2801874876022339, -0.07706762105226517, -0.4841902256011963, -0.7259908318519592, -0.5780804753303528, 0.2678920328617096, -0.7847899198532104, 0.031107384711503983, -0.18656602501869202, -0.10194969922304153, -0.31216442584991455, -0.3138785660266876, -0.3563096225261688, -0.23110046982765198, -0.34066489338874817, 0.057644907385110855, 0.08678692579269409, 1.1531568765640259, 0.09753335267305374, -0.04714123532176018, -0.6054173707962036, -0.10604836046695709, 0.41846558451652527, 0.2667620778083801, -0.31650733947753906, -0.9809650778770447, -0.20037901401519775, 0.10704785585403442, -0.31498584151268005, -0.8305442333221436, 0.2751489281654358, 0.40420013666152954, 0.9088078141212463, 0.28926005959510803, -0.29522597789764404, 0.6315028071403503, -0.5073462128639221, 0.8248806595802307, -0.16783727705478668, -0.9766175150871277, 0.2543773353099823, -0.06356890499591827, -0.019311746582388878, 1.0213278532028198, 0.5534772276878357, -0.29335224628448486, -0.39171791076660156, -0.44876453280448914, -0.6747063994407654, 0.31044432520866394, 0.018129698932170868, 0.22287039458751678, 0.030336441472172737, 0.5844982266426086, 0.04384665563702583, 0.1256617307662964, -0.5695328712463379, 0.021768886595964432, 0.3455953299999237, -0.1914335936307907, -0.4656022787094116, -0.43758314847946167, -0.045128267258405685, -0.39960503578186035, 0.6993283033370972, -0.054700300097465515, -0.09639669209718704, 0.0908546894788742, -0.3236621022224426, 0.0972616896033287, 0.3574539124965668, 0.4677601456642151, 0.9095888137817383, 0.15919561684131622, -0.09358760714530945, 0.8283872008323669, -0.21243345737457275, 0.2946252226829529, 0.042317211627960205, -0.20131999254226685, -0.04478291794657707, 0.6070258617401123, 0.432722806930542, 0.8667851090431213, -0.940263032913208, 0.5076428055763245, -0.14736419916152954, -0.11662796884775162, -0.4996371567249298, 0.15502414107322693, 0.1262359917163849, 0.3966420292854309, 0.26564663648605347, -0.24986225366592407, 0.03312342241406441, -0.6737874746322632, 0.2706839144229889, 0.41891729831695557, -0.48930448293685913, -0.3404105305671692, 0.5971048474311829, 0.4272477626800537, -0.43236422538757324, 0.4332464039325714, -0.20774701237678528, -0.4331035017967224, 0.6540306210517883, 0.5121557712554932, 0.925446629524231, -0.37601858377456665, 0.10180159658193588, 0.6444333791732788, 0.538211464881897, -0.27844807505607605, 0.2206530123949051, 0.010372746735811234, -0.5753282904624939, -0.11986306309700012, -0.6227161884307861, -0.7690994143486023, -0.19089138507843018, -0.6344190239906311, 0.4482932984828949, -0.286246657371521, 0.015348580665886402, -0.45846959948539734, 0.26820915937423706, -0.46042925119400024, 0.3216348886489868, 0.17848658561706543, 1.2544392347335815, -1.1486568450927734, 0.9370862245559692, 0.8653265237808228, -0.4003340005874634, -0.4296243488788605, -0.011871309950947762, -0.18050864338874817, -0.7706073522567749, 0.6147759556770325, 0.12482376396656036, -0.23570360243320465, 0.09687503427267075, -0.3634212613105774, -0.6839942336082458, 1.0283452272415161, 0.62112957239151, -0.6328902840614319, 0.15372435748577118, 0.3181045949459076, 0.7494407892227173, -0.7758340835571289, 0.6908590793609619, 0.8738791346549988, 0.6775885224342346, 0.10704988241195679, -0.7980078458786011, -0.3838708698749542, -0.18414492905139923, 0.16612987220287323, -0.1585196852684021, -0.5466810464859009, 0.566760241985321, -0.013902229256927967, -0.22982382774353027, 0.408170223236084, 0.644927442073822, 0.24471670389175415, 0.25624120235443115, 0.2116866409778595, 0.6220858097076416, 0.7949091196060181, -0.3324448764324188, 0.9651469588279724, -0.48419690132141113, 0.04083774983882904, 0.9361768364906311, -0.6375636458396912, 1.187093734741211, 0.3713478147983551, -0.4183502793312073, 0.5398927927017212, 0.7325889468193054, 0.011337044648826122, 0.12222076952457428, 0.33990320563316345, -0.6144895553588867, -0.3052294850349426, -0.2571047842502594, -0.36803916096687317, 0.5759908556938171, 0.3691779375076294, -0.04308604076504707, -0.2758483588695526, -0.01886596530675888, 0.04205109924077988, 0.6560053825378418, -0.3646235167980194, 0.6324825882911682, 0.04023247957229614, -0.6441828608512878, 0.5953900814056396, -0.07200530171394348, 0.5986160635948181, -0.5077475309371948, 0.03055860847234726, -0.46244239807128906, 0.15643392503261566, -0.09888140857219696, -0.7658193707466125, 0.2443166971206665, 0.4726373851299286, 0.1429532915353775, -0.21240611374378204, 0.198614239692688, -0.6088688373565674, -0.7502477169036865, 0.5986132025718689, 0.4497743248939514, 0.43531307578086853, 0.30594390630722046, -0.5819754600524902, 0.3733084201812744, -0.11059404164552689, -0.030785545706748962, 0.33930888772010803, 0.22348172962665558, -0.16054199635982513, 0.9478627443313599, 0.35202687978744507, 0.2735084295272827, 0.044897112995386124, 0.25450578331947327, 0.7544851899147034, -0.3949377238750458, -0.13450555503368378, -0.7388345003128052, 0.5037775635719299, 0.06551603227853775, -0.588996171951294, 0.8738409280776978, 0.7621431946754456, 1.1055254936218262, 0.19554956257343292, 0.6156123876571655, 0.3578697443008423, 0.38277867436408997, -0.4702083170413971, 0.6747851371765137, -0.9402192234992981, 0.3617399036884308, -0.1359349936246872, -1.0224254131317139, -0.20196828246116638, 0.5237441658973694, -0.3790455758571625, 0.03575671464204788, 0.7288147211074829, 0.8334423303604126, 0.3216310739517212, -0.0718771293759346, 0.6560289263725281, 0.16767847537994385, 0.026962202042341232, 0.6231508851051331, 1.0764410495758057, -0.48295560479164124, 0.26643621921539307, -0.19537924230098724, -0.27594631910324097, -0.0830758735537529, -0.9469850659370422, -0.959181010723114, -0.53687983751297, -0.3273833394050598, 0.10496719926595688, 0.4377801716327667, 0.8618658185005188, 0.4036312997341156, -0.8144777417182922, -0.7600010633468628, 0.13824717700481415, 0.04111636057496071, -0.0414249524474144, -0.1191336065530777, -0.054182011634111404, -0.27166947722435, -1.1562196016311646, 0.7580834627151489, 0.3222123384475708, 0.14206506311893463, -0.43210965394973755, -0.12729638814926147, -0.027602750808000565, 0.11328501254320145, 0.51284259557724, 0.2480478137731552, -0.7522094249725342, -0.10810214281082153, -0.057137295603752136, -0.36061403155326843, -0.032810796052217484, 0.6136122345924377, -0.6689454317092896, 0.5183783173561096, 0.5328854322433472, 0.5343967080116272, 0.3161662817001343, -0.28512048721313477, 0.452903687953949, -0.10616345703601837, 0.2561451196670532, 0.3750110864639282, 0.5235498547554016, 0.5984699130058289, 0.1003432348370552, 0.682893693447113, 0.114009328186512, -0.5215163230895996, -0.9587591290473938, -0.023477107286453247, -0.494914174079895, 0.02985396236181259, 0.8962804079055786, -0.401284396648407, 0.0044565098360180855, -0.07497965544462204, 0.2238048017024994, -0.03128001093864441, -0.0799817219376564, 0.732286274433136, 0.7271002531051636, 0.20840223133563995, 0.05070602521300316, -0.6634945273399353, 0.24037685990333557, 0.35712453722953796, -0.9312915205955505, -0.3033404052257538, 0.2247222363948822, 0.35652121901512146, -0.22721382975578308, 0.463276207447052, -0.4341816008090973, 0.31453537940979004, -0.31912729144096375, 0.1313253939151764, 0.17186830937862396, -0.45163047313690186, -0.7176715135574341, 0.05917938053607941, 0.4391750395298004, 0.12376711517572403 ]