id
stringlengths
33
33
doc_url
stringlengths
33
33
title
stringlengths
13
211
publication_date
timestamp[s]
update_date
timestamp[s]
authors
stringlengths
6
16.6k
category_primary
stringclasses
60 values
category_all
stringlengths
5
132
abstract
stringlengths
123
1.99k
embeddings
listlengths
768
768
http://arxiv.org/abs/2403.00417v1
http://arxiv.org/pdf/2403.00417v1
Rethinking Tokenization: Crafting Better Tokenizers for Large Language Models
2024-03-01T10:03:07
2024-03-01T10:03:07
Jinbiao Yang
cs.CL
cs.CL
Tokenization significantly influences language models(LMs)' performance. This paper traces the evolution of tokenizers from word-level to subword-level, analyzing how they balance tokens and types to enhance model adaptability while controlling complexity. Despite subword tokenizers like Byte Pair Encoding (BPE) overcoming many word tokenizer limitations, they encounter difficulties in handling non-Latin languages and depend heavily on extensive training data and computational resources to grasp the nuances of multiword expressions (MWEs). This article argues that tokenizers, more than mere technical tools, should drawing inspiration from the cognitive science about human language processing. This study then introduces the "Principle of Least Effort" from cognitive science, that humans naturally seek to reduce cognitive effort, and discusses the benefits of this principle for tokenizer development. Based on this principle, the paper proposes that the Less-is-Better (LiB) model could be a new approach for LLM tokenizer. The LiB model can autonomously learn an integrated vocabulary consisting of subwords, words, and MWEs, which effectively reduces both the numbers of tokens and types. Comparative evaluations show that the LiB tokenizer outperforms existing word and BPE tokenizers, presenting an innovative method for tokenizer development, and hinting at the possibility of future cognitive science-based tokenizers being more efficient.
[ -0.18024468421936035, -0.6205151081085205, 0.4048268496990204, -0.09776484966278076, -0.43732529878616333, 0.2718856930732727, -0.3391273617744446, -0.3086879849433899, 0.29232537746429443, 0.13172955811023712, -0.24170587956905365, -0.290645956993103, -0.7390932440757751, 0.014229925349354744, -0.16744013130664825, 1.033905029296875, 0.21630966663360596, 0.2638980448246002, -0.3200652003288269, -0.03873058781027794, -0.5162920951843262, -0.6377050280570984, -0.8817955255508423, -0.6376062035560608, 0.6542201042175293, -0.023661594837903976, 0.7100499868392944, 0.7342097759246826, 0.5288934111595154, 0.268777072429657, -0.5639944076538086, -0.04196912795305252, -0.6157460808753967, -0.23650479316711426, -0.1213371530175209, -0.8143854141235352, -0.3825979232788086, -0.03480859100818634, 0.2810828387737274, 0.9132639765739441, -0.07382204383611679, 0.3006901443004608, -0.03397894278168678, 0.6606035828590393, -0.6753221154212952, 0.003277795622125268, -0.8912004828453064, -0.12716640532016754, -0.3121109902858734, 0.014999354258179665, -0.4636678993701935, 0.005263248924165964, -0.30850470066070557, -0.6131502389907837, 0.31546035408973694, 0.23090507090091705, 0.5359653234481812, 0.22483490407466888, -0.2684580683708191, -0.05217915400862694, -0.5463823080062866, 0.8220746517181396, -0.876753568649292, 0.6787481904029846, 0.08527977764606476, -0.14272825419902802, -0.3386903405189514, -0.6436767578125, -0.46024632453918457, -0.2547881305217743, -0.03547349572181702, -0.20141154527664185, -0.19548025727272034, 0.26154065132141113, 0.19563515484333038, 0.22415445744991302, -0.30599769949913025, 0.26329395174980164, -0.5363205671310425, -0.2521195411682129, 0.3585967719554901, 0.2231951653957367, 0.2921999990940094, -0.31686723232269287, -0.14553198218345642, 0.18084201216697693, -0.7477631568908691, 0.34108608961105347, 0.02562502585351467, 0.4070071578025818, 0.1553955227136612, 0.6880376935005188, 0.005930684506893158, 0.4626353085041046, 0.0641568973660469, -0.2555980086326599, -0.05927694961428642, -0.6043161749839783, -0.24213747680187225, -0.013872349634766579, 0.3786124885082245, 0.32852980494499207, -0.011478982865810394, -0.35042592883110046, -0.5221284031867981, 0.2360858917236328, 0.2649539113044739, -0.8411946892738342, -0.14469218254089355, 0.1910921186208725, -0.9072547554969788, -0.2993611693382263, -0.08481141924858093, -0.25966063141822815, -0.4839242100715637, -0.39341306686401367, 0.10764679312705994, -0.5097557306289673, -0.15872997045516968, 0.12258791923522949, -0.2579710781574249, 0.23083826899528503, 0.054166220128536224, -1.0565112829208374, 0.553956925868988, 1.2555227279663086, 1.0010396242141724, -0.37180060148239136, -0.138947531580925, -0.4209858775138855, 0.06746525317430496, -0.6009775996208191, 0.5482324361801147, -0.4536440670490265, -0.5741283297538757, -0.22346223890781403, -0.23140452802181244, 0.06978067755699158, -0.3932357132434845, 0.3837401568889618, -0.573004961013794, -0.015024563297629356, -0.4001173973083496, -0.7987766265869141, -0.015477252192795277, -0.0018845971208065748, -0.5683282613754272, 0.9483482837677002, -0.09258807450532913, -0.6885068416595459, 0.7733679413795471, -0.9466220140457153, -0.4255326986312866, 0.2531157433986664, 0.008239539340138435, -0.02845928817987442, 0.9999808669090271, 0.12007804960012436, 0.11364738643169403, -0.3304353356361389, 0.3872108459472656, -0.2093440294265747, -0.4566861093044281, 0.26245835423469543, -0.3333316445350647, 0.6420761346817017, 0.1688707172870636, -0.22327443957328796, 0.20280605554580688, -0.6232476234436035, -0.045680876821279526, 0.12090995907783508, -0.6939575672149658, -0.42749327421188354, 0.09427817910909653, 0.26128819584846497, -0.03048679605126381, 0.4421115219593048, -0.8164713382720947, 0.14625973999500275, -0.8434855937957764, 0.7352895736694336, 0.9214580059051514, -0.27740785479545593, 0.662920355796814, -0.3665902316570282, 0.394662469625473, -0.21694239974021912, 0.4214009642601013, 0.11721721291542053, -0.28506651520729065, -0.9651566743850708, -0.3732699751853943, 0.4454604983329773, 0.3745022416114807, -0.46980345249176025, 0.18224868178367615, -0.6044899225234985, -0.4778826832771301, -0.6184660196304321, 0.4335726797580719, 0.3375692069530487, 0.031435202807188034, 0.30799630284309387, -0.5492880940437317, -0.5441357493400574, -0.895244836807251, -0.5286714434623718, -0.33148428797721863, 0.1919289529323578, -0.09550482779741287, 0.48333731293678284, -0.10150564461946487, 1.0173923969268799, -0.2544077932834625, 0.03066825494170189, -0.5790050029754639, 0.06961681693792343, 0.2523050904273987, 0.5181947946548462, 0.5123457908630371, -0.5757719874382019, -0.22957763075828552, -0.06972713023424149, -0.14921920001506805, -0.011075636371970177, 0.1231096163392067, -0.05268588289618492, 0.3463083803653717, 0.6945931315422058, -0.5702647566795349, 0.40729618072509766, 0.3171980381011963, -0.18536944687366486, 0.15106606483459473, -0.1318492293357849, -0.44363221526145935, -0.9275027513504028, 0.15393725037574768, -0.33645009994506836, -0.01192181184887886, -0.7760564684867859, 0.1632576435804367, -0.16452984511852264, -0.00026063242694363, -0.4963044226169586, 0.7189382314682007, -0.31554242968559265, 0.007857285439968109, -0.5564522743225098, 0.14112348854541779, -0.08831235021352768, 0.3323199450969696, -0.21068738400936127, 0.5673930644989014, 0.29797443747520447, -0.5178345441818237, 0.32769039273262024, -0.1403036117553711, -0.2448778748512268, 0.3680509328842163, -0.881577730178833, 0.3356236219406128, -0.37129509449005127, 0.2065736949443817, -1.0011767148971558, 0.13825732469558716, -0.09296915680170059, -0.3874053359031677, 0.24228279292583466, -0.1666402667760849, -0.5220291018486023, -0.2532317638397217, -0.45984742045402527, 0.4578299820423126, 0.3981589674949646, -0.3060392141342163, 0.6960591673851013, 0.290668249130249, -0.023370100185275078, -0.4801715612411499, -0.780314028263092, 0.4063263237476349, -0.08324357122182846, -0.5940273404121399, 0.5586156249046326, -0.23739533126354218, -0.24690181016921997, 0.017354946583509445, -0.3196783661842346, 0.136918306350708, 0.3718630075454712, 0.08120103925466537, 0.3871791958808899, -0.13542291522026062, 0.40180718898773193, -0.11194261163473129, -0.2883550524711609, -0.1444542109966278, -0.4931406080722809, 0.8136963844299316, 0.05670448765158653, -0.3341157138347626, -0.4056949317455292, 0.15299783647060394, 0.4499483108520508, -0.2864420711994171, 0.9076388478279114, 0.6904304027557373, -0.3493884801864624, 0.21321550011634827, -0.6446840763092041, -0.26998645067214966, -0.4589116871356964, 0.5364286303520203, -0.5757876038551331, -0.9214601516723633, 0.2690593898296356, -0.14923468232154846, 0.5175144672393799, 0.11498769372701645, 0.5144143104553223, 0.1532193273305893, 0.9183111786842346, 0.9696512818336487, -0.31151989102363586, 0.8667740821838379, -0.04229787737131119, 0.43974629044532776, -0.9523698687553406, 0.007048276253044605, -0.29738470911979675, -0.4928574562072754, -0.6066976189613342, -0.5159237384796143, 0.08343720436096191, 0.11654969304800034, -0.02619093842804432, 0.1707935333251953, -0.4411482810974121, 0.477839857339859, 0.5701518654823303, -0.0822577103972435, 0.10327065736055374, -0.11886278539896011, -0.20240654051303864, -0.07149950414896011, -0.9089816212654114, -0.6357533931732178, 1.071022391319275, 0.2768097221851349, 0.5811325311660767, 0.18772420287132263, 0.9842746257781982, 0.11556661874055862, 0.39238983392715454, -0.9661957621574402, 0.5672737956047058, -0.26860377192497253, -0.7390332818031311, -0.26444458961486816, -0.23053711652755737, -0.9914479851722717, 0.36513054370880127, -0.37385421991348267, -0.523412823677063, 0.14652292430400848, 0.1312970668077469, -0.2972393333911896, 0.4220969080924988, -0.632625162601471, 0.7786867618560791, -0.39041590690612793, -0.24811871349811554, -0.38615235686302185, -0.3153667747974396, 0.10587737709283829, -0.0017925210995599627, 0.7066962122917175, 0.24802131950855255, -0.5208644866943359, 0.7503488063812256, -0.3743741810321808, 0.9638129472732544, -0.2498270869255066, -0.019975585862994194, 0.16405057907104492, 0.19688081741333008, 0.6500630974769592, -0.29026931524276733, 0.008994566276669502, -0.06515517830848694, 0.07983475178480148, -0.7713578939437866, -0.6295273303985596, 0.4053855240345001, -0.585452139377594, -0.6825371384620667, 0.11818302422761917, -0.27094098925590515, 0.12979815900325775, 0.3326035737991333, 0.15655003488063812, 0.3363124430179596, -0.4529104232788086, 0.347677618265152, 0.3238464891910553, -0.12056060880422592, 0.5399638414382935, 0.3596627116203308, -0.27653059363365173, -0.5528091192245483, 1.0779647827148438, 0.23578646779060364, 0.2849007248878479, 0.5562503337860107, 0.4634873569011688, -0.10570940375328064, -0.9000811576843262, -0.03491418808698654, 0.2959286570549011, -0.8350257277488708, 0.040281280875205994, -0.5118375420570374, 0.10961354523897171, -0.6074602007865906, -0.24533192813396454, -0.518215537071228, -0.47419387102127075, -0.10882972925901413, -0.3151681125164032, 0.22869250178337097, 0.7024443745613098, -0.14443250000476837, 0.48685362935066223, -0.5617212653160095, 0.08121893554925919, 0.1671123057603836, 0.1964053064584732, 0.029049472883343697, -0.576483964920044, -0.3504607379436493, -0.2706151306629181, 0.003554706461727619, -0.3300012946128845, -0.046462226659059525, 0.05941954255104065, 0.4471491575241089, 0.19118565320968628, -0.21663543581962585, 0.6884260773658752, -0.467314213514328, 0.8992936015129089, 0.3402954638004303, -1.3761612176895142, 0.20156258344650269, 0.05394628643989563, 0.11660964787006378, 0.5037949085235596, -0.20858339965343475, -0.9863499999046326, -0.17210650444030762, -0.5012785196304321, -1.1236971616744995, 0.5055875778198242, 0.11620403081178665, 0.4561217725276947, 0.03883577883243561, 0.6990808844566345, 0.13962645828723907, 0.30743208527565, -1.0872429609298706, -0.1551312506198883, -0.24013976752758026, -0.4176454544067383, -0.2346818596124649, -0.2544592022895813, 0.11507565528154373, -0.2213979810476303, 0.6780851483345032, -0.12548600137233734, 0.046130988746881485, -0.08244989067316055, -0.35833051800727844, 0.0030028135515749454, 0.4663779139518738, 0.6072649955749512, 0.6016309261322021, 0.14035628736019135, 0.2989509105682373, 0.3626767098903656, -0.2770814597606659, 0.05754745006561279, -0.3684341311454773, -0.27412891387939453, -0.12861368060112, 0.6233600974082947, 0.877575695514679, 0.2101028710603714, -0.5297935009002686, 0.42338791489601135, 0.05074820667505264, 0.07596869766712189, -0.013809760101139545, 0.14463429152965546, 0.3057098090648651, 0.16248932480812073, 0.12537096440792084, 0.03594560548663139, -0.04497702792286873, -0.44026753306388855, -0.0620448924601078, 0.6942887306213379, -0.33951041102409363, -0.4043527841567993, 0.5914757251739502, 0.21348701417446136, -0.6187020540237427, 0.20821183919906616, -0.1747559905052185, -0.5186882615089417, 0.365488737821579, 0.4259069859981537, 0.6885901093482971, 0.12803351879119873, -0.07716909050941467, 0.1450597643852234, 0.6980639696121216, 0.006436917930841446, 0.024351727217435837, -0.08391828089952469, -0.6702501177787781, -0.46682292222976685, -0.6563790440559387, -0.16973279416561127, -0.03554549440741539, -0.369799941778183, 0.2923024296760559, -0.7166416049003601, -0.47614800930023193, -0.00009853521623881534, 0.08671708405017853, -0.6253644824028015, 0.08550472557544708, 0.15173199772834778, 0.8543040156364441, -0.6574814319610596, 0.6544210910797119, 0.8219695091247559, -0.41142404079437256, -0.572395920753479, -0.3054167926311493, -0.11990629881620407, -0.8885237574577332, 0.8153433203697205, -0.025989331305027008, -0.09612402319908142, -0.04285166412591934, -0.6208396553993225, -0.9816619753837585, 0.9707365036010742, 0.29244527220726013, -0.5563876032829285, -0.13151505589485168, 0.07211530953645706, 0.6376122832298279, -0.35693982243537903, 0.03902255743741989, 0.5204275250434875, 0.5112462639808655, -0.1293061524629593, -0.6944689750671387, 0.18766705691814423, -0.20522178709506989, 0.42501091957092285, 0.3313952088356018, -0.8125147819519043, 0.960491955280304, -0.08269288390874863, -0.27458715438842773, 0.18338805437088013, 0.7226144671440125, -0.03599599376320839, 0.22360287606716156, 0.5835527181625366, 0.4515131115913391, 0.7141789793968201, 0.16930150985717773, 0.9598773121833801, -0.5379323363304138, 0.17357012629508972, 0.9960088133811951, -0.07057999074459076, 0.7109359502792358, 0.915651261806488, -0.2392692267894745, 0.3974367380142212, 0.4976791441440582, 0.03632969781756401, 0.2151540070772171, 0.6426934599876404, -0.05277204513549805, -0.3743359446525574, -0.27752548456192017, 0.24045245349407196, 0.5370332598686218, 0.10954737663269043, -0.26390957832336426, 0.038553714752197266, 0.013051585294306278, 0.1671997308731079, 0.020427385345101357, -0.17551206052303314, 0.891801655292511, 0.08671689033508301, -0.4356667697429657, 0.5585120916366577, 0.4349478781223297, 1.024261236190796, -0.3779864013195038, 0.3749137222766876, -0.2878817617893219, 0.028942471370100975, -0.15786044299602509, -0.0699005126953125, 0.1949053257703781, 0.0947883352637291, -0.2571987509727478, -0.11215268820524216, 0.6201369166374207, -0.02333618700504303, -0.6296722292900085, 0.3359246253967285, 0.649101197719574, 0.17917202413082123, 0.17965291440486908, -0.7315078973770142, 0.10247325152158737, -0.10959868133068085, -0.19051076471805573, 0.2687755823135376, 0.40331366658210754, -0.048119451850652695, 0.6567690968513489, 0.8959547877311707, 0.435080349445343, 0.2655823528766632, 0.13108761608600616, 0.7540557980537415, -0.8401219844818115, -0.22383402287960052, -1.0717036724090576, 0.29936373233795166, 0.03833260387182236, -0.2063547521829605, 0.3725881576538086, 0.6514905691146851, 0.7729723453521729, 0.2379196733236313, 0.711731493473053, -0.1446206122636795, 0.23555216193199158, -0.3919415771961212, 0.3479785919189453, -0.6661430597305298, 0.24894778430461884, -0.2081199586391449, -0.7907150387763977, -0.2494717389345169, 0.4784357249736786, -0.170311838388443, 0.08804985135793686, 0.6506367325782776, 0.7911971807479858, 0.12877388298511505, -0.27127426862716675, 0.26708176732063293, 0.061059895902872086, 0.6744670867919922, 0.3490039110183716, 0.7087941765785217, -0.2788969576358795, 0.617520809173584, -0.1601993441581726, -0.15193967521190643, -0.22935542464256287, -0.7535989284515381, -1.0409880876541138, -0.29847007989883423, -0.10535114258527756, -0.0519784539937973, -0.11721906065940857, 1.3482836484909058, 0.5782659649848938, -0.6473224759101868, -0.31775256991386414, -0.3672414720058441, 0.32294654846191406, -0.11761489510536194, -0.20384745299816132, 0.21878685057163239, -0.590790331363678, -0.7516498565673828, 0.3220994472503662, 0.39088866114616394, 0.05977568402886391, -0.2988515794277191, -0.004865356255322695, 0.10493332892656326, 0.5491893291473389, 0.6779860258102417, -0.13633278012275696, -0.9771631956100464, -0.358097642660141, 0.12901942431926727, -0.16044306755065918, 0.07405342906713486, 1.1943731307983398, -0.561226487159729, 0.3573175072669983, 0.46192386746406555, 0.6415945291519165, 0.21769095957279205, -0.25880298018455505, 0.4268456995487213, -0.43388891220092773, 0.1596674919128418, -0.022930217906832695, 0.4101807177066803, 0.42255523800849915, -0.17654448747634888, 0.45935145020484924, 0.517117977142334, -0.1060674637556076, -0.9388604760169983, 0.38700658082962036, -0.5188156366348267, -0.5106101036071777, 0.8924332857131958, 0.03610860928893089, -0.5358887910842896, -0.13805097341537476, -0.35043013095855713, 0.33632373809814453, -0.5654926300048828, 0.8518995642662048, 0.8386980295181274, -0.18816880881786346, -0.030761785805225372, -0.2452787309885025, 0.3784165382385254, 0.8750197291374207, -0.48175904154777527, 0.2820345163345337, 0.1895255744457245, 0.4072873890399933, 0.3336333632469177, 0.7355924248695374, 0.051307667046785355, -0.036383986473083496, -0.007506558205932379, 0.1946878731250763, -0.08043324947357178, -0.026774466037750244, -0.3134404420852661, 0.01859377510845661, 0.5497347712516785, 0.010604646988213062 ]
http://arxiv.org/abs/2403.00411v2
http://arxiv.org/pdf/2403.00411v2
Cross-Lingual Learning vs. Low-Resource Fine-Tuning: A Case Study with Fact-Checking in Turkish
2024-03-01T09:57:46
2024-03-22T15:54:03
Recep Firat Cekinel, Pinar Karagoz, Cagri Coltekin
cs.CL
cs.CL
The rapid spread of misinformation through social media platforms has raised concerns regarding its impact on public opinion. While misinformation is prevalent in other languages, the majority of research in this field has concentrated on the English language. Hence, there is a scarcity of datasets for other languages, including Turkish. To address this concern, we have introduced the FCTR dataset, consisting of 3238 real-world claims. This dataset spans multiple domains and incorporates evidence collected from three Turkish fact-checking organizations. Additionally, we aim to assess the effectiveness of cross-lingual transfer learning for low-resource languages, with a particular focus on Turkish. We demonstrate in-context learning (zero-shot and few-shot) performance of large language models in this context. The experimental results indicate that the dataset has the potential to advance research in the Turkish language.
[ -0.5905866026878357, -0.8489675521850586, 0.1292017251253128, 0.004987712949514389, -0.2820262312889099, 0.045155636966228485, -0.5466260313987732, -0.6706344485282898, -0.25828817486763, 0.21964357793331146, -0.30740419030189514, -0.35454511642456055, -0.7530630826950073, 0.30111053586006165, -0.1473657339811325, 1.2145286798477173, -0.13685525953769684, 0.1660056859254837, 0.11986618489027023, -0.5899183750152588, -0.3771717846393585, -0.36087530851364136, -0.7536039352416992, -0.1869739294052124, 0.7158149480819702, 0.8689709901809692, 0.4523017108440399, 0.4791715741157532, 0.32420021295547485, 0.1483308970928192, 0.02184457704424858, 0.26205432415008545, -0.5209922790527344, -0.33027738332748413, -0.5723487734794617, -0.3629705011844635, 0.15157921612262726, 0.009743135422468185, 0.5995447039604187, 0.6247233748435974, 0.07117088884115219, 0.41393858194351196, 0.1470261961221695, 0.7324092984199524, -0.8363714814186096, 0.15757301449775696, -0.52156662940979, 0.21303308010101318, -0.2714526653289795, -0.03988536074757576, -0.15704427659511566, -0.23908500373363495, 0.3102802634239197, -0.6165724396705627, 0.3166273534297943, 0.15038135647773743, 0.7957033514976501, 0.032755281776189804, -0.6253762245178223, -0.4112272560596466, -0.854173481464386, 0.9714419841766357, -0.3765864968299866, 0.7927682995796204, 0.5122355818748474, 0.3436758518218994, 0.15502123534679413, -0.45566949248313904, -0.401986300945282, -0.028159409761428833, -0.3399992287158966, -0.11816819757223129, -0.23764748871326447, -0.310609370470047, 0.20225143432617188, 0.1874389797449112, -0.5160349011421204, -0.07313515990972519, -0.640665590763092, -0.2534390091896057, 0.4826602637767792, -0.17516165971755981, 0.0922200083732605, -0.025045188143849373, -0.09061461687088013, -0.11300046741962433, -0.8530632853507996, 0.12168850749731064, 0.06210698187351227, 0.7588682174682617, -0.3136207163333893, 0.5071717500686646, -0.6151404976844788, 0.7506471872329712, 0.36720678210258484, -0.269729882478714, -0.002511628670617938, -0.490217924118042, -0.35970738530158997, 0.47205033898353577, 0.5548346042633057, 0.19817061722278595, 0.080108642578125, -0.15967315435409546, -0.09884218126535416, -0.04094035550951958, -0.21674218773841858, -0.7310822606086731, 0.10781274735927582, -0.10923752188682556, -0.3468714654445648, -0.14226657152175903, 0.14655278623104095, -0.7617572546005249, -0.38948941230773926, -0.20079590380191803, 0.40646323561668396, -0.4071899950504303, -0.20850062370300293, 0.049520883709192276, 0.2980128824710846, 0.2679653763771057, 0.46596959233283997, -0.742442786693573, 0.1574403941631317, 0.7216439843177795, 0.8410739898681641, 0.047881126403808594, -0.28194287419319153, -0.79491126537323, -0.034400828182697296, -0.5506190657615662, 0.9448594450950623, -0.45449987053871155, -0.10090476274490356, 0.1929675191640854, 0.22898302972316742, -0.030489228665828705, -0.5145925879478455, 0.5992060899734497, -0.30424949526786804, 0.4762909710407257, -0.7747272253036499, -0.2557438910007477, -0.3850584626197815, 0.35766375064849854, -0.6954703330993652, 0.9615228176116943, 0.1733020544052124, -1.0024389028549194, 0.8235467672348022, -0.5646504163742065, -0.8153913617134094, -0.15969298779964447, -0.203666552901268, -0.29430463910102844, 0.1135757640004158, 0.1987362504005432, 0.4502577781677246, -0.3442644476890564, -0.027853449806571007, -0.07538852095603943, -0.3766842484474182, 0.023235436528921127, -0.25528639554977417, 0.6244460940361023, 0.5901694893836975, -0.512497067451477, -0.3947090804576874, -0.5649762749671936, -0.3636704981327057, -0.19203853607177734, -0.7109435200691223, -0.5136164426803589, -0.2732584476470947, 0.24884527921676636, 0.514994740486145, 0.04646378010511398, -0.6654283404350281, -0.0716172307729721, -0.16586273908615112, 0.028674259781837463, 0.24780087172985077, -0.07138734310865402, 0.4634999632835388, -0.6637609601020813, 0.28926900029182434, 0.3751469552516937, -0.07866676896810532, 0.18284578621387482, -0.0524282343685627, -0.9367488026618958, 0.012172483839094639, 0.5033007264137268, 0.43883663415908813, -0.9145967364311218, -0.01343502663075924, -0.09257496148347855, -0.4533969759941101, -0.5519123077392578, 0.35306334495544434, 0.29203692078590393, 0.6634219288825989, 0.31688785552978516, 0.006067207083106041, -0.5795099139213562, -0.687716007232666, -0.514352023601532, -0.1521673947572708, 0.29205018281936646, 0.42629775404930115, 0.29765862226486206, -0.012323332950472832, 0.6505975723266602, 0.12451460212469101, -0.5911984443664551, -0.6078488230705261, 0.288077175617218, -0.023517724126577377, 0.41462159156799316, 0.6628299355506897, -0.6268764734268188, -0.8514289855957031, 0.5671003460884094, -0.5086771249771118, 0.07001987099647522, -0.150278702378273, -0.0012624578084796667, 0.9537293314933777, 0.413245290517807, -0.4847760498523712, 0.16671264171600342, 0.6321654915809631, -0.49860939383506775, 0.28254857659339905, -0.041822247207164764, 0.587500274181366, -1.02618408203125, 0.2867894768714905, 0.2581034302711487, -0.1610366255044937, -0.6276477575302124, -0.2727329730987549, -0.08276776224374771, 0.21464194357395172, -0.8212084770202637, 0.7638872265815735, -0.33074912428855896, 0.05784540995955467, -0.1498452126979828, -0.14163115620613098, -0.2600475549697876, 0.35328155755996704, 0.22662784159183502, 0.786979615688324, 0.3284521996974945, -0.48717185854911804, 0.10042754560709, 0.07712443917989731, -0.8649466633796692, 0.6657613515853882, -0.207566037774086, -0.16569355130195618, -0.05877070128917694, 0.13783377408981323, -0.5786909461021423, -0.2928311824798584, 0.3069345951080322, -0.24282167851924896, 0.2117009311914444, -0.4923417270183563, -0.45187482237815857, 0.18722254037857056, 0.040976110845804214, 0.2947438657283783, 0.16565178334712982, -0.567336916923523, 0.3175968527793884, 0.3782362937927246, -0.2242266833782196, -0.8600999712944031, -0.869592010974884, -0.11052923649549484, -0.37538379430770874, -0.35480043292045593, -0.1341942697763443, 0.38822075724601746, -0.5208378434181213, 0.09927696734666824, -0.18958719074726105, -0.19366370141506195, -0.06788644939661026, -0.21119210124015808, -0.0940919890999794, -0.605434238910675, 0.24092678725719452, 0.025122713297605515, 0.18574926257133484, -0.2529917359352112, -0.1798601895570755, 0.22152650356292725, -0.4360713064670563, -0.23668251931667328, -0.20609374344348907, 0.28217872977256775, 0.5670273303985596, -0.06348015367984772, 0.8610773682594299, 0.804366409778595, -0.5192769765853882, -0.1359613686800003, -0.7084100246429443, -0.10209514200687408, -0.3866783082485199, 0.37166956067085266, -0.26321831345558167, -1.0956400632858276, 0.3479274809360504, -0.05368621647357941, 0.1535869687795639, 0.49932342767715454, 0.5938868522644043, -0.11324702203273773, 0.7005804181098938, 0.9354504346847534, -0.2773209810256958, 0.5516113042831421, -0.18345403671264648, 0.19860047101974487, -0.08042073249816895, -0.002686902182176709, -0.592339038848877, -0.22034604847431183, -0.7383750677108765, -0.23707808554172516, 0.18013812601566315, 0.031274355947971344, -0.1983247697353363, 0.2494654357433319, 0.19540093839168549, 0.6293051838874817, 0.3659258186817169, -0.07558231055736542, 0.48805132508277893, 0.3501321077346802, -0.24706292152404785, -0.0376158133149147, -1.1527483463287354, -0.3005118668079376, 0.8118025064468384, 0.11113807559013367, 0.7784217000007629, 0.1311011016368866, 0.38883018493652344, 0.40851840376853943, 0.30683544278144836, -0.794926106929779, 0.0799684226512909, -0.3339310884475708, -0.7107635736465454, -0.482160359621048, -0.5709100961685181, -0.8601148128509521, 0.3697558641433716, -0.6285461783409119, -0.39849790930747986, 0.42323145270347595, 0.2574044167995453, -0.4166727066040039, 0.5116645097732544, -0.5102245211601257, 0.9331523180007935, -0.33015382289886475, -0.6472452282905579, -0.5149506330490112, -0.4580695331096649, 0.3692854046821594, -0.24676203727722168, 0.41804835200309753, -0.013776694424450397, 0.29092779755592346, 0.7501733899116516, -0.25576305389404297, 0.7592915296554565, -0.16517271101474762, 0.031023046001791954, 0.3072117865085602, 0.09634285420179367, 0.3900899291038513, 0.016869643703103065, 0.06910774856805801, 0.25712263584136963, 0.21921350061893463, -0.5098583698272705, -0.41677913069725037, 0.6733237504959106, -0.8896750211715698, -0.3521548807621002, -0.5711857080459595, -0.3587322533130646, -0.3898302912712097, 0.2518254816532135, 0.2836243808269501, 0.34427210688591003, -0.5606088042259216, 0.3857493996620178, 0.6470171809196472, -0.2431216537952423, 0.2555714249610901, 0.8024873733520508, 0.06851751357316971, -0.1762728989124298, 0.8696296811103821, 0.3566735088825226, 0.08109965920448303, 0.47281113266944885, 0.2913611829280853, -0.1313614845275879, -0.16333873569965363, -0.5379692316055298, 0.36460375785827637, -0.670450747013092, -0.0460062138736248, -0.4921439290046692, 0.014489869587123394, -0.35270848870277405, -0.2619386315345764, -0.6005536317825317, -0.5064132809638977, 0.00822522398084402, -0.04569384828209877, 0.42815136909484863, 0.7665955424308777, -0.5456935167312622, 0.14836634695529938, -0.7965932488441467, 0.05847114324569702, 0.30058297514915466, 0.4092631936073303, -0.1618691235780716, -0.5099340081214905, -0.9332525730133057, 0.202519029378891, -0.03087013214826584, -0.3621752858161926, 0.2450115978717804, 0.2801405191421509, 0.582909345626831, 0.46900931000709534, 0.10539447516202927, 0.589609682559967, -0.1856289952993393, 0.45417320728302, -0.04317156970500946, -0.6756378412246704, 0.3172428011894226, -0.25481855869293213, 0.3325818181037903, 0.8004470467567444, 0.6542697548866272, -1.1778236627578735, -0.08744418621063232, -0.5017609000205994, -0.4315532147884369, 0.9690327048301697, -0.1973710060119629, -0.18944746255874634, 0.26608818769454956, -0.039301399141550064, 0.47459396719932556, -0.01700424961745739, -0.39006003737449646, -0.05982102081179619, -0.29047781229019165, -0.06378979235887527, -0.21290740370750427, -0.16381171345710754, -0.18931740522384644, -0.3801155388355255, 0.8082687258720398, -0.2442111372947693, -0.08295562863349915, 0.1707400232553482, -0.5846771597862244, -0.6305021047592163, 0.4679957926273346, 0.8053719401359558, 0.6822123527526855, -0.20696498453617096, 0.31343162059783936, 0.5075947642326355, -0.5220019817352295, 0.12169550359249115, 0.05955470725893974, -0.0165199376642704, 0.07833852618932724, 0.3713659644126892, 0.7319177389144897, 0.2088509351015091, -0.5019010305404663, 0.4592096507549286, -0.07462944835424423, -0.31207597255706787, 0.032006729394197464, -0.31397005915641785, -0.22375155985355377, 0.2589821219444275, 0.39215996861457825, -0.000020811710783164017, -0.1416510045528412, -0.6722602844238281, 0.3070656955242157, 0.17948272824287415, -0.4790187478065491, -0.3747013211250305, 0.15781879425048828, 0.2683953046798706, 0.24560317397117615, 0.48144209384918213, 0.21558533608913422, -0.3514825999736786, 0.356003999710083, 0.24165436625480652, 0.6867902278900146, -0.05057871341705322, 0.3625207543373108, 0.4572032392024994, 0.5047584772109985, -0.19493666291236877, 0.09739255905151367, -0.31130820512771606, -0.800421953201294, -0.5792104601860046, -0.5289930701255798, -0.5121424794197083, 0.5049165487289429, -0.38849076628685, 0.47452619671821594, -0.5260202884674072, 0.025013592094182968, -0.09820982068777084, 0.4820147454738617, -0.8695968985557556, 0.24687300622463226, 0.16467711329460144, 1.0122889280319214, -1.2491047382354736, 0.9527380466461182, 0.9584516882896423, -0.36535531282424927, -0.447897732257843, 0.033726222813129425, 0.09211345762014389, -0.5450279116630554, 0.8419784307479858, -0.016271108761429787, -0.13233162462711334, -0.33566442131996155, -0.4313467741012573, -0.9286613464355469, 0.7948738932609558, 0.3981851041316986, -0.44391751289367676, 0.2955915033817291, 0.48085370659828186, 0.5081889033317566, -0.375465989112854, -0.14557534456253052, 0.6569774746894836, 0.5876255035400391, 0.03369547054171562, -1.055732011795044, -0.05457833781838417, 0.14345034956932068, -0.4812377095222473, -0.08963623642921448, -0.9270174503326416, 0.7500778436660767, -0.1471775472164154, -0.4217420220375061, -0.4138772785663605, 0.5961965322494507, 0.03243707865476608, 0.28136950731277466, 0.5635539889335632, 0.3382773995399475, 0.4860355854034424, -0.04342642426490784, 0.7296217083930969, -0.44748568534851074, 0.3153543770313263, 0.9566299915313721, -0.08011534065008163, 0.6983378529548645, 0.5916057229042053, 0.2103412002325058, 0.19457170367240906, 0.806982696056366, 0.16439610719680786, 0.6838517189025879, -0.28965461254119873, -0.23354320228099823, -0.3982000946998596, -0.3380843698978424, -0.20902669429779053, 0.5791411399841309, 0.47399410605430603, -0.15695855021476746, -0.5864929556846619, -0.06373825669288635, 0.29523658752441406, -0.25606685876846313, -0.3397403061389923, 0.8067129850387573, 0.007622046861797571, -0.5679959654808044, 0.670195460319519, 0.11195499449968338, 0.700406014919281, -0.32565951347351074, -0.07872769236564636, -0.5469754338264465, 0.22614841163158417, -0.24064570665359497, -0.48937973380088806, 0.5371954441070557, 0.17567402124404907, -0.016091763973236084, -0.020371032878756523, 0.8229219913482666, -0.7062340974807739, -0.5262457728385925, 0.07663348317146301, 0.9403459429740906, 0.06723206490278244, 0.21794748306274414, -0.6609067916870117, -0.0425257571041584, -0.1416165679693222, -0.05966921150684357, 0.42335909605026245, 0.7591314315795898, -0.3571576774120331, 0.3983423411846161, 0.5004181265830994, 0.1908716857433319, -0.06653096526861191, -0.17753639817237854, 0.6319917440414429, -0.5091255903244019, -0.3808145821094513, -0.5939604043960571, 0.12636740505695343, 0.19425716996192932, -0.33095359802246094, 0.7608442902565002, 0.5939080119132996, 1.5178089141845703, -0.06660092622041702, 1.172815203666687, -0.14124679565429688, 0.6216548681259155, -0.4046975374221802, 1.0152997970581055, -0.6917833089828491, -0.2302929311990738, -0.17650511860847473, -0.6436136960983276, -0.3564262092113495, 0.7860168814659119, -0.33777663111686707, -0.1464739292860031, 0.6654378771781921, 0.748996913433075, -0.4461010992527008, -0.0474858321249485, 0.5347712635993958, 0.2016400545835495, -0.17523568868637085, 0.45616522431373596, 0.8311922550201416, -0.3821115791797638, 0.5948529243469238, -0.49514544010162354, -0.1163005530834198, -0.5184478163719177, -0.7955378890037537, -1.0692555904388428, -0.61982661485672, -0.23976543545722961, -0.3643943667411804, 0.32799604535102844, 1.2150694131851196, 0.6032377481460571, -1.2454402446746826, -0.39613208174705505, 0.19461706280708313, 0.2433195412158966, -0.27354851365089417, -0.17511850595474243, 0.31866076588630676, -0.3319576680660248, -0.4944291114807129, 0.16048821806907654, -0.05141126364469528, 0.09053505212068558, -0.15824110805988312, -0.15434853732585907, -0.47121745347976685, 0.07494811713695526, 0.6551882028579712, 0.7724121809005737, -0.546245276927948, -0.45014604926109314, -0.10878221690654755, -0.3154621124267578, 0.08678731322288513, 1.0421874523162842, -0.6758046746253967, 0.21078093349933624, 0.5803636312484741, 0.7761486768722534, 0.4990379214286804, -0.24538582563400269, 0.5764065980911255, -0.633249044418335, 0.20559576153755188, -0.24915863573551178, 0.4345730245113373, 0.6662284731864929, -0.29805800318717957, 0.4814116060733795, 0.31487396359443665, -0.3273049592971802, -0.6259503960609436, -0.059620555490255356, -0.5993103384971619, -0.3117802143096924, 1.2433507442474365, 0.047419242560863495, -0.16777943074703217, -0.4399503767490387, -0.14300662279129028, 0.48418930172920227, -0.461410254240036, 1.1260349750518799, 0.8731709718704224, -0.07481617480516434, -0.24075740575790405, -0.4463734030723572, 0.9092878699302673, 0.33853375911712646, -0.6141610741615295, 0.25371065735816956, 0.5043214559555054, 0.6219192147254944, 0.009009936824440956, 0.3794192671775818, 0.07011575251817703, 0.49203214049339294, -0.09904299676418304, -0.20661278069019318, 0.04851844534277916, -0.37691256403923035, -0.46171772480010986, -0.09899329394102097, -0.007149433251470327, 0.02163068577647209 ]
http://arxiv.org/abs/2403.00409v2
http://arxiv.org/pdf/2403.00409v2
Provably Robust DPO: Aligning Language Models with Noisy Feedback
2024-03-01T09:55:18
2024-04-12T01:09:37
Sayak Ray Chowdhury, Anush Kini, Nagarajan Natarajan
cs.LG
cs.LG, cs.CL
Learning from preference-based feedback has recently gained traction as a promising approach to align language models with human interests. While these aligned generative models have demonstrated impressive capabilities across various tasks, their dependence on high-quality human preference data poses a bottleneck in practical applications. Specifically, noisy (incorrect and ambiguous) preference pairs in the dataset might restrict the language models from capturing human intent accurately. While practitioners have recently proposed heuristics to mitigate the effect of noisy preferences, a complete theoretical understanding of their workings remain elusive. In this work, we aim to bridge this gap by by introducing a general framework for policy optimization in the presence of random preference flips. We focus on the direct preference optimization (DPO) algorithm in particular since it assumes that preferences adhere to the Bradley-Terry-Luce (BTL) model, raising concerns about the impact of noisy data on the learned policy. We design a novel loss function, which de-bias the effect of noise on average, making a policy trained by minimizing that loss robust to the noise. Under log-linear parameterization of the policy class and assuming good feature coverage of the SFT policy, we prove that the sub-optimality gap of the proposed robust DPO (rDPO) policy compared to the optimal policy is of the order $O(\frac{1}{1-2\epsilon}\sqrt{\frac{d}{n}})$, where $\epsilon < 1/2$ is flip rate of labels, $d$ is policy parameter dimension and $n$ is size of dataset. Our experiments on IMDb sentiment generation and Anthropic's helpful-harmless dataset show that rDPO is robust to noise in preference labels compared to vanilla DPO and other heuristics proposed by practitioners.
[ -0.3325027823448181, -0.5318315625190735, 0.582455575466156, 0.08659616112709045, -0.16204853355884552, -0.08355219662189484, -0.4246392548084259, 0.049883779138326645, 0.01864432729780674, 0.4213961958885193, -0.7868462800979614, -0.23895670473575592, -0.3786524832248688, -0.09074760973453522, 0.008014224469661713, 0.9438756704330444, 0.20407184958457947, -0.06966344267129898, -0.026067091152071953, 0.21023577451705933, -0.18518929183483124, -0.28085342049598694, -0.38154444098472595, -0.4095169007778168, 0.3143562376499176, 0.4272649884223938, 1.1687705516815186, 0.5489739179611206, 0.2791503965854645, 0.2161417305469513, -0.16821545362472534, 0.23371213674545288, -0.7493294477462769, 0.16226594150066376, -0.10009880363941193, -0.32954421639442444, -0.23524408042430878, -0.04996541514992714, 0.6409479975700378, 0.6381508708000183, -0.23915161192417145, -0.22894029319286346, 0.2552449405193329, 0.8037481904029846, -0.6739124059677124, 0.04358169436454773, -0.7629936933517456, 0.1167527511715889, -0.07683610916137695, -0.19101257622241974, -0.5433954000473022, -0.4863257110118866, 0.25729134678840637, -0.5609261989593506, 0.023451203480362892, -0.10251310467720032, 1.0416399240493774, 0.657401978969574, -0.160919189453125, 0.0020096900407224894, -0.9905368089675903, 1.0601587295532227, -0.5910101532936096, 0.4196683466434479, 0.6915853023529053, 0.018070155754685402, -0.37559399008750916, 0.08987044543027878, -0.5470619201660156, -0.28190648555755615, 0.20095109939575195, 0.2578042149543762, -0.29543936252593994, 0.12246537953615189, -0.11972730606794357, 0.43023282289505005, -0.25926682353019714, 0.36649662256240845, 0.15541376173496246, -0.267419695854187, 0.5845322608947754, -0.1029106006026268, -0.27461013197898865, -0.03184986487030983, -0.3965131640434265, -0.2677716016769409, -0.45749011635780334, 0.15383826196193695, 1.0142643451690674, 0.3743864893913269, 0.035122647881507874, 0.21590736508369446, -0.2764677107334137, 0.8157323598861694, 0.3705765902996063, -0.3420126140117645, 0.26989755034446716, -0.2285534143447876, 0.10260383039712906, -0.11656873673200607, 0.894579291343689, 0.46441054344177246, 0.37117746472358704, -0.2023286074399948, -0.25733381509780884, -0.09128430485725403, 0.24878574907779694, -0.6152509450912476, -0.23433001339435577, 0.2748412787914276, -0.29673588275909424, -0.8987936973571777, -0.051202304661273956, -0.9669253826141357, -0.3608221709728241, -0.28141316771507263, 0.3356417119503021, -0.2603406012058258, -0.553578794002533, 0.26081863045692444, 0.15114133059978485, 0.021116310730576515, 0.24587224423885345, -1.1180546283721924, 0.22902505099773407, 0.5881137847900391, 0.5610076785087585, -0.21553239226341248, -0.10122649371623993, -0.4386981725692749, -0.021839851513504982, -0.3114508092403412, 0.49466681480407715, -0.5193431973457336, -0.3841661810874939, 0.09120684862136841, -0.472726047039032, -0.02679404243826866, -0.46536293625831604, 0.6699440479278564, -0.49263492226600647, 0.2864304780960083, -0.31114232540130615, -0.2125299721956253, 0.0999792069196701, 0.3058018088340759, -0.4791763722896576, 0.8115907907485962, 0.07424082607030869, -0.8800358772277832, 0.6198910474777222, -0.24005326628684998, -0.22990190982818604, -0.5301520228385925, -0.17326891422271729, -0.652481734752655, -0.10192183405160904, 0.1726406067609787, 0.142414852976799, -0.16299687325954437, 0.47598716616630554, -0.6626056432723999, -0.4145859181880951, 0.5429463982582092, -0.6738051772117615, 0.7675318121910095, 0.32222384214401245, -0.4243285357952118, 0.08391183614730835, -0.809610903263092, 0.03159508481621742, 0.0043492745608091354, -0.3770136535167694, -0.31100648641586304, 0.23334158957004547, -0.3358449339866638, -0.006356116849929094, 0.05363418534398079, -0.42291322350502014, 0.4273022413253784, -0.26772889494895935, 0.3433670699596405, 1.1226069927215576, -0.09648338705301285, 0.5891553163528442, -0.16493749618530273, 0.4394262731075287, 0.09301891922950745, 0.4215613007545471, 0.17476628720760345, -0.17105983197689056, -0.2888168394565582, -0.5407950282096863, 0.2682013213634491, 0.48399531841278076, -0.34069257974624634, 0.5038169622421265, -0.15875601768493652, 0.030903184786438942, -0.6861242651939392, 0.20241545140743256, 0.14357522130012512, 0.7936073541641235, 0.10548022389411926, -0.2742423713207245, -0.33951306343078613, -0.9449487924575806, 0.011379793286323547, -0.4146440029144287, 0.16137853264808655, 0.40967807173728943, -0.24350038170814514, -0.26653623580932617, 1.085808277130127, -0.5591577887535095, -0.1625104397535324, -0.009655308909714222, -0.12817734479904175, 0.2746129333972931, 0.2046923190355301, 0.5182974934577942, -0.6854540705680847, -0.4150811731815338, -0.1817922592163086, -0.09601011872291565, -0.3343329131603241, -0.028147991746664047, -0.15084894001483917, 0.18731151521205902, -0.04387522116303444, -0.2760610580444336, 0.09924960136413574, 0.5510233640670776, -0.019098971039056778, 0.47966518998146057, -0.13309624791145325, -0.04514584317803383, -0.7863774299621582, -0.15143023431301117, -0.2015962302684784, -0.20474691689014435, -0.3488878309726715, -0.4806833565235138, -0.36680030822753906, -0.07686672359704971, -0.06648208945989609, 0.1926184892654419, -0.1569492369890213, -0.010946034453809261, -0.24851275980472565, -0.034105729311704636, 0.0946006178855896, 0.6000068187713623, 0.2939399182796478, 0.7007932066917419, 0.670998752117157, -0.6497904062271118, -0.0787324383854866, 0.20442816615104675, -0.035950008779764175, 0.48863860964775085, -0.3793756067752838, 0.1336439996957779, -0.22531327605247498, 0.060425762087106705, -0.9903917908668518, -0.09933603554964066, 0.3852013647556305, -0.19910144805908203, 0.5268481373786926, -0.31219640374183655, -0.18264265358448029, -0.24542060494422913, -0.508966863155365, 0.11012377589941025, 0.5536975860595703, -0.5794513821601868, -0.04638265073299408, 0.46642938256263733, 0.1456204205751419, -0.9749647974967957, -0.4444933831691742, -0.24278248846530914, -0.24275624752044678, -0.4215291440486908, 0.31928518414497375, 0.02812119945883751, -0.2794307470321655, 0.07072091102600098, -0.25249773263931274, -0.2101287841796875, 0.038805365562438965, 0.11379037797451019, 0.2949230372905731, 0.0845986008644104, 0.032876018434762955, -0.09494967013597488, -0.26484206318855286, -0.21728065609931946, -0.4119400382041931, 0.5657538771629333, -0.24068686366081238, -0.21521522104740143, -0.41873541474342346, 0.29788243770599365, 0.55118328332901, 0.12365774810314178, 0.25562477111816406, 0.4929208755493164, 0.22964416444301605, -0.31396719813346863, -0.3848729133605957, -0.1845165342092514, -0.45516008138656616, 0.40178054571151733, -0.337534636259079, -0.595964789390564, 0.37848183512687683, 0.07125125080347061, 0.03340797498822212, 0.13843435049057007, 0.6228681802749634, 0.004242144990712404, 0.995514452457428, 0.6747815012931824, -0.27372610569000244, 0.750783383846283, -0.20614425837993622, 0.26653170585632324, -0.4488966464996338, 0.05469658225774765, -0.37132641673088074, -0.29067879915237427, -0.7616782188415527, -0.21652929484844208, 0.09611332416534424, 0.14313451945781708, -0.19735155999660492, 0.14227299392223358, -0.672329306602478, 0.3107030987739563, 0.7547560334205627, 0.15027876198291779, 0.34549903869628906, 0.16953523457050323, -0.07132089883089066, -0.27101826667785645, -0.8640254139900208, -0.38213545083999634, 0.9896277785301208, 0.4635604918003082, 1.2912086248397827, -0.03554413840174675, 0.9979631304740906, 0.229078471660614, -0.04525739699602127, -0.9003872871398926, 0.3417576849460602, -0.19185183942317963, -0.29176145792007446, -0.3978343605995178, -0.5088963508605957, -0.867314875125885, 0.1737491488456726, -0.17144349217414856, -0.5945979356765747, 0.6882275938987732, 0.6269581913948059, -0.353889137506485, 0.2725304961204529, -0.6212536096572876, 0.5998860001564026, -0.3585435152053833, -0.7660266757011414, -0.3289802074432373, -0.6559239029884338, 0.32949140667915344, 0.17563514411449432, 0.06035054847598076, -0.2535032629966736, 0.05274360999464989, 0.3482673168182373, -0.4251384139060974, 0.8122799396514893, -0.374249666929245, -0.09354457259178162, 0.2482316642999649, 0.03325841203331947, 0.48748263716697693, 0.07665311545133591, -0.24885064363479614, 0.050949566066265106, -0.13381396234035492, -0.20651909708976746, -0.35703203082084656, 0.5888573527336121, -1.056603193283081, -0.5309509038925171, -0.35436388850212097, -0.519659161567688, -0.4472130835056305, 0.15546788275241852, 0.26820147037506104, 0.2003953605890274, -0.12022455781698227, -0.022992780432105064, 0.8579218983650208, -0.16555722057819366, 0.2458307147026062, 0.5338202118873596, -0.17941492795944214, -0.49563536047935486, 1.13042151927948, 0.04756379872560501, 0.4224380552768707, 0.3958142101764679, 0.6674363613128662, -0.41931453347206116, -0.48850685358047485, -0.40303075313568115, 0.02271021343767643, -0.30023816227912903, -0.12839743494987488, -0.33835941553115845, 0.06961794197559357, -0.28688207268714905, -0.014537088572978973, -0.6174384951591492, -0.5409544706344604, -0.11514095216989517, -0.05621778592467308, 0.3433108329772949, 0.3231376111507416, -0.3510020673274994, 0.17035561800003052, -0.24025152623653412, 0.22034743428230286, 0.4169631600379944, 0.6888795495033264, -0.19506871700286865, -0.407920241355896, 0.08348099142313004, 0.20064345002174377, -0.4588899314403534, -0.8374659419059753, 0.2540116608142853, 0.20166923105716705, 0.5165503621101379, 0.7965932488441467, 0.4723687171936035, 0.5468457937240601, -0.25519365072250366, 0.506840705871582, 0.00035993134952150285, -0.593147337436676, 0.6128859519958496, -0.5043660998344421, 0.05932847037911415, 1.013725757598877, 0.3358226716518402, -0.07971753925085068, -0.3440432548522949, -0.6898316144943237, -0.8336934447288513, 0.7087278962135315, 0.0052552297711372375, 0.13567110896110535, -0.007603953592479229, 0.19719819724559784, 0.22382532060146332, 0.47910961508750916, -0.6904934048652649, -0.12327412515878677, -0.38814952969551086, -0.05945611000061035, 0.34250399470329285, -0.3881041705608368, -0.3097963333129883, 0.028638670220971107, 0.729701817035675, -0.05873648822307587, 0.13264904916286469, 0.2570594251155853, 0.2131125032901764, -0.16482241451740265, 0.5258196592330933, 0.6182398200035095, 0.2941833436489105, -0.6980714201927185, 0.07206118851900101, -0.564373254776001, -0.48479795455932617, 0.21144142746925354, 0.07470981031656265, -0.7886639833450317, 0.03474320471286774, -0.14187771081924438, 0.905730664730072, 0.16635145246982574, -0.5450505018234253, 0.5880842208862305, 0.02118736505508423, -0.24493113160133362, -0.07112699747085571, 0.002597943414002657, -0.4301767349243164, -0.12319251894950867, 0.14511843025684357, 0.3763922154903412, 0.1826200634241104, -0.4614228904247284, 0.30162346363067627, 0.6566634178161621, -0.6192289590835571, -0.3867141008377075, 0.6026116013526917, 0.4269934594631195, -0.15590421855449677, 0.41744330525398254, -0.3283052146434784, -0.5432143807411194, 0.13889925181865692, 0.46567773818969727, 1.013342261314392, -0.020035000517964363, 0.4534508287906647, 0.25672945380210876, 0.25155186653137207, -0.19526423513889313, 0.06971155852079391, -0.46121615171432495, -1.0450724363327026, -0.3367820680141449, -0.5781489610671997, -0.7324657440185547, 0.035100407898426056, -0.7430199980735779, 0.21871960163116455, -0.4844505488872528, -0.3869674801826477, -0.38796213269233704, 0.028385089710354805, -0.4853202998638153, -0.06819560378789902, -0.05768292769789696, 0.34785059094429016, -0.8197123408317566, 0.811313271522522, 0.35525989532470703, -0.24786095321178436, -0.7020319104194641, 0.3561880588531494, 0.18699902296066284, -1.0780525207519531, 0.3552054762840271, -0.15658970177173615, -0.27228426933288574, -0.10064668208360672, -0.3542647063732147, -0.7678319811820984, 0.5867605805397034, 0.6465902328491211, -0.6899767518043518, 0.11992182582616806, 0.08404150605201721, 0.3396645188331604, -0.16466936469078064, -0.08307447284460068, 0.5220714807510376, 0.5190884470939636, 0.22773759067058563, -0.7278661727905273, -0.14601349830627441, 0.18314412236213684, -0.199905127286911, 0.2786366641521454, -0.9481943249702454, 0.29167836904525757, -0.5312405824661255, 0.04345409572124481, -0.29813843965530396, 0.27898797392845154, 0.16826468706130981, 0.12005575746297836, 0.8971821069717407, 0.6412290930747986, 0.7981830835342407, -0.06649114936590195, 1.1198943853378296, -0.2620944678783417, 0.2884036600589752, 1.0597518682479858, -0.38993361592292786, 0.7231881022453308, 0.7668783068656921, -0.42979681491851807, 0.28562992811203003, 0.6741945147514343, 0.11961470544338226, 0.9871088266372681, 0.2060660719871521, -0.20905929803848267, -0.28684866428375244, -0.2069074511528015, -0.18319664895534515, 0.3200874626636505, -0.1056593805551529, -0.18641938269138336, -0.041091203689575195, -0.24872738122940063, 0.09702351689338684, 0.2521800398826599, -0.0380927175283432, 0.8370394706726074, -0.1557939052581787, -0.8346977829933167, 0.544102668762207, -0.42894333600997925, 0.7917618155479431, -0.7272996306419373, 0.22028037905693054, -0.16949746012687683, 0.43777838349342346, -0.21170258522033691, -0.7122461795806885, 0.38810014724731445, -0.3375762104988098, -0.45386478304862976, -0.4292519688606262, 0.5314041376113892, -0.6986492276191711, -0.13801375031471252, 0.09152371436357498, 0.04138460382819176, -0.19727404415607452, 0.24565261602401733, -0.6852489113807678, 0.28173330426216125, 0.3211708962917328, -0.346905916929245, 0.4206101596355438, 0.25263503193855286, 0.09844130277633667, 0.6651706099510193, 0.48567989468574524, 0.2643163800239563, -0.14551028609275818, 0.20436635613441467, 0.6474366784095764, -0.16657906770706177, -0.6108686923980713, -0.6621268391609192, 0.3897792398929596, -0.08984397351741791, -0.3206510543823242, 0.578940749168396, 0.28998300433158875, 0.7132318019866943, -0.049118444323539734, 0.757986307144165, 0.029475940391421318, 0.44510871171951294, -0.3669876754283905, 0.3899383544921875, -0.35308846831321716, 0.43917787075042725, -0.39182689785957336, -0.8403612971305847, -0.07169391214847565, 0.7859001159667969, -0.3764384984970093, -0.07696300745010376, 0.2367497980594635, 1.0345860719680786, 0.10411231219768524, -0.36488115787506104, 0.25175172090530396, 0.11624552309513092, 0.21766845881938934, 0.25163671374320984, 0.6837533712387085, -0.10297688841819763, 0.7316469550132751, -0.5985186696052551, -0.36169683933258057, -0.2288765013217926, -0.9460103511810303, -0.3910999298095703, -0.34757310152053833, -0.560337245464325, -0.4467274844646454, 0.11440007388591766, 0.6851911544799805, 0.8408671021461487, -0.6870002150535583, -0.14740265905857086, -0.21602435410022736, 0.45761343836784363, -0.5189856886863708, -0.3552647531032562, 0.3307861387729645, -0.36400842666625977, -0.828516960144043, 0.3093149960041046, 0.34526610374450684, 0.12477140128612518, -0.3358040153980255, -0.31598642468452454, 0.07604476809501648, 0.07581537961959839, 0.3003024756908417, 0.5140979290008545, -0.6596492528915405, -0.3100322484970093, 0.054628483951091766, 0.03197605535387993, 0.005335946101695299, 0.8493295311927795, -0.6397049427032471, 0.7462348341941833, 0.5008970499038696, 0.6442001461982727, 0.45243558287620544, 0.15915293991565704, 0.8472557663917542, -0.7913700938224792, 0.38024067878723145, 0.3870089054107666, 0.085392527282238, 0.3429332971572876, -0.4917096197605133, 0.4316234588623047, 0.20622828602790833, -0.7813160419464111, -1.0758488178253174, 0.4397166669368744, -1.2583434581756592, 0.013351905159652233, 1.1323696374893188, 0.16680403053760529, 0.09430551528930664, 0.020287321880459785, -0.30656176805496216, -0.1973194032907486, -0.7550181746482849, 1.038693904876709, 0.6008851528167725, -0.33820629119873047, -0.12908421456813812, -0.22160731256008148, 0.779818594455719, 0.6521931886672974, -0.13025803864002228, 0.3362498879432678, 0.48224955797195435, 0.1727534830570221, 0.030526308342814445, 0.9369708895683289, -0.1816047728061676, 0.10533259809017181, -0.04200874641537666, -0.15589535236358643, -0.13784052431583405, -0.10721512138843536, -0.4216909408569336, 0.001251655980013311, 0.44368746876716614, -0.49435627460479736 ]
http://arxiv.org/abs/2403.00393v2
http://arxiv.org/pdf/2403.00393v2
TRUCE: Private Benchmarking to Prevent Contamination and Improve Comparative Evaluation of LLMs
2024-03-01T09:28:38
2024-06-24T08:28:18
Tanmay Rajore, Nishanth Chandran, Sunayana Sitaram, Divya Gupta, Rahul Sharma, Kashish Mittal, Manohar Swaminathan
cs.CR
cs.CR, cs.CL
Benchmarking is the de-facto standard for evaluating LLMs, due to its speed, replicability and low cost. However, recent work has pointed out that the majority of the open source benchmarks available today have been contaminated or leaked into LLMs, meaning that LLMs have access to test data during pretraining and/or fine-tuning. This raises serious concerns about the validity of benchmarking studies conducted so far and the future of evaluation using benchmarks. To solve this problem, we propose Private Benchmarking, a solution where test datasets are kept private and models are evaluated without revealing the test data to the model. We describe various scenarios (depending on the trust placed on model owners or dataset owners), and present solutions to avoid data contamination using private benchmarking. For scenarios where the model weights need to be kept private, we describe solutions from confidential computing and cryptography that can aid in private benchmarking. We build an end-to-end system, TRUCE, that enables such private benchmarking showing that the overheads introduced to protect models and benchmark are negligible (in the case of confidential computing) and tractable (when cryptographic security is required). Finally, we also discuss solutions to the problem of benchmark dataset auditing, to ensure that private benchmarks are of sufficiently high quality.
[ -0.3749758303165436, 0.07174297422170639, 0.6410142183303833, 0.293997585773468, -0.46323344111442566, 0.13966669142246246, 0.07390228658914566, -0.803780198097229, -0.32575711607933044, 0.41503918170928955, -0.15495604276657104, -0.5749327540397644, -0.8445408344268799, -0.09257619827985764, -0.4437887370586395, 0.9602217674255371, -0.3397792875766754, 0.4247608482837677, -0.6118078827857971, -0.6008920669555664, -0.07681985944509506, -0.5901026129722595, -0.34445831179618835, -0.37821659445762634, 0.15357744693756104, 0.14906249940395355, 0.6921178698539734, 1.101286768913269, 0.843171238899231, 0.38432157039642334, -0.2384852021932602, 0.11776535212993622, -0.760307788848877, 0.4580124020576477, -0.34326010942459106, -0.6681879758834839, -0.4232739806175232, 0.3142567574977875, 0.6069759726524353, 0.4811110198497772, -0.10685434937477112, 0.5578761696815491, 0.11042195558547974, 0.8951535820960999, -1.123734712600708, 0.17067930102348328, -0.6102409362792969, 0.2748388946056366, -0.5257923603057861, -0.061185322701931, -0.06791709363460541, -0.6333588361740112, -0.2721640169620514, -0.5145015120506287, 0.051509588956832886, 0.21727682650089264, 0.7385783791542053, 0.40957164764404297, -0.1441878080368042, 0.49835023283958435, -0.6740338802337646, 0.8634244799613953, -0.5879457592964172, 0.4734766185283661, 0.4668845236301422, 0.4975266456604004, -0.13566090166568756, -0.744301438331604, 0.16010616719722748, -0.08464553952217102, 0.207132488489151, 0.38611575961112976, -0.3299778401851654, -0.2694251239299774, 0.17806410789489746, 0.715499997138977, -0.22082678973674774, 0.2866186499595642, -0.27468016743659973, -0.22440920770168304, 1.0170217752456665, 0.4703543484210968, -0.1365676373243332, 0.4358813762664795, -0.8029795289039612, -0.13130587339401245, -1.1556241512298584, -0.0726168230175972, 0.6372585892677307, -0.14179345965385437, -0.20371085405349731, 0.43454402685165405, -0.3916422426700592, 0.2084135115146637, -0.10974466800689697, -0.06426665931940079, 0.12969131767749786, -0.2891201674938202, -0.35580572485923767, -0.027724729850888252, 0.7672700881958008, 0.6717580556869507, 0.15742406249046326, -0.500240683555603, -0.3765530586242676, 0.34387272596359253, 0.15436625480651855, -0.8281376957893372, -0.1757873296737671, 0.3004899024963379, -0.6065165400505066, -0.6761361360549927, -0.008362418971955776, -0.8134118914604187, -0.7576717138290405, -0.32056915760040283, 0.6370608806610107, 0.10849808156490326, -0.10049872100353241, 0.104840949177742, -0.18778717517852783, -0.249895378947258, 0.2983987033367157, -0.4313899278640747, 0.9578405618667603, 1.1141153573989868, 0.7436162233352661, -0.3581693470478058, -0.10718582570552826, -0.7691056132316589, 0.40402334928512573, -0.322436660528183, 0.5283122062683105, -0.31747695803642273, -0.793074369430542, -0.20491936802864075, -0.02243475429713726, 0.5028454065322876, -0.9517385959625244, 0.42354243993759155, -0.37522658705711365, 0.13010026514530182, -0.3470204472541809, -0.8456108570098877, 0.2312564104795456, 0.03857268765568733, -0.5511766672134399, 0.8477036952972412, -0.3466792106628418, -0.8912073969841003, 0.1233893483877182, -0.42275431752204895, 0.05272122472524643, 0.16665787994861603, -0.6150099635124207, -0.6952703595161438, 0.32639941573143005, 0.05474339425563812, 0.17360597848892212, -0.40662622451782227, 0.22207115590572357, -0.7252101302146912, -0.6030410528182983, 0.2826472818851471, -0.3694246709346771, 0.6151638031005859, 0.38783395290374756, -0.5369371175765991, 0.12178271263837814, -0.5830892324447632, 0.3701373338699341, 0.12798380851745605, 0.05106997862458229, -0.22711887955665588, 0.01064127404242754, -0.44935768842697144, -0.1493120938539505, 0.6531786918640137, -0.5008779168128967, -0.30957141518592834, -0.11631527543067932, 0.1408909410238266, 1.2159829139709473, 0.056636933237314224, 0.29679155349731445, -0.9562302827835083, 0.4009816348552704, 0.14680513739585876, 0.5891907215118408, 0.2180233746767044, -0.5433294773101807, -0.47564706206321716, -0.3470211625099182, 0.6309477090835571, 0.321444034576416, 0.15000298619270325, 0.23353607952594757, 0.02879195287823677, -0.6959471702575684, -0.6511178612709045, 0.16140298545360565, 0.8200546503067017, 0.2523321807384491, 0.3133004307746887, -0.6981137990951538, -0.251018226146698, -1.1210254430770874, -0.6653690934181213, 0.08604028075933456, -0.15535689890384674, 0.3821733295917511, 0.28742459416389465, 0.21586652100086212, 0.5787402987480164, -0.39666280150413513, -0.3084981441497803, 0.4541665017604828, 0.12737171351909637, -0.03482631593942642, 0.7420570254325867, 0.06972859054803848, -0.6277221441268921, -0.21715053915977478, -0.07289549708366394, -1.0208148956298828, -0.1686835139989853, 0.5083181262016296, -0.2515109181404114, -0.286793053150177, 0.6201444268226624, -0.07614169269800186, 0.3918120265007019, 0.655910313129425, 0.006115338299423456, 0.638185441493988, -0.3695073127746582, 0.0863608568906784, -0.5971880555152893, 0.14590595662593842, -0.24140429496765137, -0.5295411944389343, -0.07740314304828644, 0.5138809084892273, 0.08452210575342178, -0.41920116543769836, -0.5057985186576843, 0.7188894748687744, -0.4246736168861389, -0.44393229484558105, -0.18349745869636536, 0.22434495389461517, 0.18602916598320007, 0.02423270232975483, -0.17901384830474854, 0.879425048828125, 0.5037346482276917, -0.3169161379337311, 0.03000897355377674, 0.2883675992488861, -0.4116121530532837, 0.47253918647766113, -0.7285167574882507, 0.3348492980003357, 0.3915053606033325, -0.12451069056987762, -0.39842283725738525, 0.15259824693202972, 0.2341671735048294, -0.1372867226600647, 0.24728424847126007, -0.2095358520746231, -0.5738345980644226, 0.27548664808273315, -0.7002682685852051, 0.29926592111587524, 0.6731313467025757, -0.703713595867157, -0.01567976176738739, 0.5538350343704224, 0.07675278186798096, -0.6681001782417297, -0.5293695330619812, -0.13261198997497559, -0.3714327812194824, -0.5075979232788086, 0.6583827137947083, -0.4966426491737366, -0.5569717884063721, 0.21498575806617737, -0.7589662671089172, -0.23407314717769623, 0.4429888427257538, 0.6587466597557068, 0.09357321262359619, -0.13999713957309723, -0.19700118899345398, 0.022796092554926872, -0.5842934846878052, 0.24976052343845367, -0.01603308878839016, 0.0532102957367897, -0.2830377221107483, -0.558156430721283, -0.6590135097503662, 0.3253968358039856, 0.3335969150066376, -0.4385305941104889, 0.4744471609592438, 0.18571120500564575, -0.497554212808609, -0.02776123397052288, -0.6216779947280884, -0.041653092950582504, -0.5622870326042175, -0.24737633764743805, -0.2943176031112671, -0.6290258169174194, 0.4917907118797302, -0.635633647441864, -0.08386612683534622, 0.0020198056008666754, 0.5353639721870422, -0.03992696851491928, 0.8162602782249451, 0.7337232232093811, -0.37665465474128723, 0.31629666686058044, 0.00703803263604641, -0.03578822687268257, -0.6670337319374084, -0.15945321321487427, -0.6421376466751099, -0.5534802079200745, -0.7473065853118896, -0.19160565733909607, 0.44990015029907227, 0.45627105236053467, -0.4898706376552582, 0.04465698078274727, -0.4958132207393646, 0.8659766912460327, 0.5427969098091125, 0.3607175648212433, 0.6826834678649902, -0.25341731309890747, -0.2573803961277008, -0.26509103178977966, -0.28518953919410706, -0.45269861817359924, 1.1593189239501953, 0.2553498148918152, 0.7924482226371765, -0.07518088817596436, 1.5137706995010376, 0.050027258694171906, 0.39060258865356445, -0.07473072409629822, 0.5709800720214844, -0.1054592877626419, -0.6243172287940979, -0.033296965062618256, -0.7006847262382507, -0.8746677041053772, 0.19999925792217255, 0.006291959900408983, -0.9913690090179443, 0.5413912534713745, -0.2376893013715744, -0.09336696565151215, 0.34365567564964294, -0.38109317421913147, 0.8821579217910767, -0.13306818902492523, -0.819399356842041, -0.13272929191589355, -0.49646878242492676, 0.45023149251937866, -0.2140202820301056, 0.24585893750190735, -0.4970944821834564, -0.3557112514972687, 0.8482422828674316, -0.7248746752738953, 0.5708777904510498, -0.10999457538127899, 0.0022397972643375397, -0.16790930926799774, 0.3647364675998688, 0.6583146452903748, 0.27802687883377075, -0.23084022104740143, 0.42733263969421387, 0.2731032371520996, -0.3370474874973297, -0.36347347497940063, 1.005875825881958, -0.9195970296859741, -0.6771669387817383, -0.5555898547172546, -0.35700246691703796, -0.34098729491233826, 0.1764659285545349, 0.3928285539150238, 0.10365708917379379, -0.06225055456161499, 0.29043421149253845, 0.7710428237915039, 0.18246884644031525, 0.22626852989196777, 0.8150723576545715, -0.14841648936271667, -0.3309271037578583, 0.7964452505111694, 0.10014748573303223, 0.18715547025203705, 0.02354532480239868, 0.38592711091041565, -0.26391398906707764, -0.9641685485839844, 0.03904034197330475, 0.10480347275733948, -0.5709633231163025, -0.7960366606712341, -0.11168114840984344, -0.24514269828796387, -0.023793146014213562, -0.06785353273153305, -0.8047335743904114, -0.26968395709991455, 0.09938657283782959, -0.027804594486951828, 0.4499780237674713, 0.6591997742652893, -0.6455796360969543, 0.10804523527622223, -0.7443196177482605, 0.4590885639190674, -0.005262524820864201, 0.8612530827522278, -0.35819774866104126, -0.28070342540740967, -0.06576546281576157, -0.17286145687103271, -0.3995555639266968, -0.5715203285217285, 0.1270878165960312, -0.17540611326694489, 0.6440544128417969, 0.4497694969177246, 0.5138201117515564, 0.594563364982605, -0.4845696985721588, 0.4393400251865387, 0.1293375939130783, -1.360795021057129, 0.26498058438301086, -0.23000328242778778, -0.04696072265505791, 0.8860948085784912, 0.5347963571548462, -0.29238349199295044, -0.8613092303276062, -0.7987234592437744, -0.7888939380645752, 0.36424046754837036, 0.431934118270874, -0.32343554496765137, 0.5258077383041382, 0.1733408123254776, 0.23611979186534882, 0.42005273699760437, -0.5569153428077698, -0.3112359941005707, 0.12650945782661438, 0.04133263975381851, 0.03532441705465317, -0.044428788125514984, -0.8868497610092163, 0.009205020032823086, 0.5882475972175598, 0.3574409484863281, 0.009611773304641247, -0.0646684467792511, 0.24229992926120758, -0.31805503368377686, 0.09167704731225967, -0.01502515934407711, 0.7473726272583008, -0.30473166704177856, 0.031851328909397125, 0.21755321323871613, -0.14884164929389954, 0.3677971065044403, 0.2602744698524475, -0.026162629947066307, -0.15018920600414276, -0.003891913453117013, -0.023656100034713745, 0.4928804934024811, -0.44287341833114624, 0.7867913246154785, -0.2943403422832489, -0.14614562690258026, -0.18651536107063293, 0.237487331032753, 0.2568988800048828, 0.5419641733169556, -0.23949241638183594, 0.16070656478405, 0.1845257729291916, -0.22695036232471466, 0.3727145493030548, 0.24856160581111908, -0.13982796669006348, 0.08041083067655563, 1.0473806858062744, 0.0015885975444689393, -0.2717856168746948, 0.23727940022945404, -0.12727393209934235, -0.05914256349205971, 0.48409682512283325, 0.21774019300937653, 0.7501784563064575, -0.3883904218673706, -0.1398259997367859, -0.19779936969280243, 0.2712325155735016, -0.24316900968551636, 0.348004013299942, -0.23781457543373108, -0.3298083245754242, -0.019352354109287262, -0.4362560510635376, -0.9962168335914612, 0.29397058486938477, -1.0729012489318848, 0.19100145995616913, -0.9487224221229553, 0.06619252264499664, -0.0964302122592926, 0.3081013858318329, -0.6204161047935486, 0.1917189508676529, 0.20799976587295532, 1.0732150077819824, -0.46030300855636597, 0.6587215662002563, -0.07208777219057083, -0.10507114976644516, -0.3780820965766907, -0.32110950350761414, 0.07763440161943436, -0.8391101956367493, 0.2874545454978943, 0.0716688260436058, -0.19735562801361084, -0.45760226249694824, -0.5702901482582092, -0.7245591878890991, 1.123396635055542, 0.783568263053894, -0.8432559967041016, 0.4229651689529419, 0.09689569473266602, 0.44608795642852783, 0.06898088753223419, -0.1875242292881012, 0.35945355892181396, 0.7040461897850037, -0.6007503271102905, -0.7926775813102722, 0.30039724707603455, -0.3059731423854828, -0.23910218477249146, 0.31685250997543335, -0.7866842150688171, 0.7133150100708008, 0.19103649258613586, -0.34237223863601685, 0.5272206664085388, 0.33703720569610596, 0.3210861086845398, 0.8286323547363281, 0.13677847385406494, 0.7237119078636169, 0.9147543907165527, -0.1380246877670288, 1.0328645706176758, -0.6337257623672485, 0.35024139285087585, 1.647610068321228, -0.8819701671600342, 0.9823722839355469, 0.1365349292755127, -0.28294873237609863, 0.013818785548210144, 0.5329119563102722, -0.31219589710235596, 0.6729309558868408, 0.6204559206962585, -0.7222644686698914, -0.13509619235992432, -0.12592485547065735, -0.9809063076972961, 0.2544552683830261, -0.2048507183790207, -0.2649085819721222, -0.457882285118103, -0.5923631191253662, 0.07985752075910568, 0.30265799164772034, -0.1993321180343628, 0.818030595779419, 0.27701258659362793, -0.08840751647949219, 0.2774465084075928, 0.10196419805288315, 0.3417721688747406, -0.8308845162391663, 0.41563358902931213, -0.43897372484207153, 0.5122462511062622, -0.38298267126083374, -0.39841485023498535, 0.3269416093826294, 0.01735401526093483, 0.16411073505878448, -0.4052026569843292, 0.630171000957489, -0.15822112560272217, -0.13412639498710632, 0.7484212517738342, 0.7643356323242188, 0.4080014228820801, -0.14829230308532715, -0.7860102653503418, 0.36749067902565, -0.5396081805229187, 0.0010354359401389956, 0.9599901437759399, 0.3411618769168854, 0.1060812696814537, 0.6189972162246704, 0.5819075107574463, 0.20162010192871094, -0.06946469098329544, -0.07062599807977676, 1.071001648902893, -0.5170130133628845, -0.5530632734298706, -0.7614311575889587, 0.0944669172167778, -0.13136804103851318, -0.19391585886478424, 0.8615037202835083, 0.8777000904083252, 0.94173264503479, 0.27815255522727966, 0.5457602143287659, 0.7754665017127991, 0.35473400354385376, -0.34451037645339966, 1.0826407670974731, -0.5308027267456055, 0.20332255959510803, -0.15091313421726227, -0.6396471261978149, -0.10205948352813721, 0.07283814996480942, -0.34999531507492065, -0.16898803412914276, 0.6841630935668945, 0.7198824882507324, -0.13795475661754608, 0.25979962944984436, 0.5520359873771667, 0.0754646435379982, 0.24647168815135956, 0.46131351590156555, 0.8856253623962402, -0.44594311714172363, 0.39921462535858154, -0.6682040095329285, -0.28866299986839294, 0.1473231464624405, -1.1721515655517578, -0.44023218750953674, -0.1853753626346588, -0.5306804180145264, -0.2822539210319519, 0.5496285557746887, 0.29191914200782776, 0.7344721555709839, -0.7121554613113403, -0.46527326107025146, -0.06203221157193184, 0.21080976724624634, -0.39791569113731384, -0.08859766274690628, 0.18409760296344757, -0.32379573583602905, -0.4971112310886383, 0.8621639609336853, 0.25415101647377014, 0.11706490069627762, -0.22903501987457275, 0.012738010846078396, 0.424398809671402, 0.002553424332290888, -0.033086489886045456, 0.20399922132492065, -0.19249850511550903, -0.18240304291248322, -0.48528486490249634, 0.06510353088378906, 0.25921574234962463, 0.8317227959632874, -0.607276976108551, 0.376722127199173, 0.19792668521404266, 0.8015092015266418, 0.7672039270401001, -0.18186715245246887, 0.6923070549964905, -0.6591272354125977, 0.18178512156009674, 0.2793269157409668, 0.5657814741134644, 0.08740485459566116, -0.48790615797042847, 0.6901556253433228, 0.12222757935523987, -0.7541211843490601, -1.2026913166046143, 0.1301812380552292, -0.7507153749465942, -0.16931402683258057, 0.4519064128398895, -0.7339355945587158, -0.368287593126297, 0.0035143992863595486, 0.40731409192085266, 0.18805751204490662, -0.2410253882408142, 0.9081827998161316, 0.5434753894805908, -0.031977687031030655, 0.4011155068874359, -0.39932096004486084, 0.5016161203384399, 0.4683322012424469, -1.0893325805664062, 0.26263052225112915, 0.04500608891248703, 0.4383571147918701, -0.05878019332885742, 0.4965376853942871, -0.7461106777191162, 0.23938104510307312, 0.18426166474819183, -0.36308959126472473, -0.383744478225708, -0.30323752760887146, -0.6736570000648499, 0.1862219274044037, -0.03188904747366905, -0.58236163854599 ]
http://arxiv.org/abs/2403.00370v1
http://arxiv.org/pdf/2403.00370v1
Post-decoder Biasing for End-to-End Speech Recognition of Multi-turn Medical Interview
2024-03-01T08:53:52
2024-03-01T08:53:52
Heyang Liu, Yu Wang, Yanfeng Wang
cs.CL
cs.CL, cs.SD, eess.AS
End-to-end (E2E) approach is gradually replacing hybrid models for automatic speech recognition (ASR) tasks. However, the optimization of E2E models lacks an intuitive method for handling decoding shifts, especially in scenarios with a large number of domain-specific rare words that hold specific important meanings. Furthermore, the absence of knowledge-intensive speech datasets in academia has been a significant limiting factor, and the commonly used speech corpora exhibit significant disparities with realistic conversation. To address these challenges, we present Medical Interview (MED-IT), a multi-turn consultation speech dataset that contains a substantial number of knowledge-intensive named entities. We also explore methods to enhance the recognition performance of rare words for E2E models. We propose a novel approach, post-decoder biasing, which constructs a transform probability matrix based on the distribution of training transcriptions. This guides the model to prioritize recognizing words in the biasing list. In our experiments, for subsets of rare words appearing in the training speech between 10 and 20 times, and between 1 and 5 times, the proposed method achieves a relative improvement of 9.3% and 5.1%, respectively.
[ -0.4257029592990875, -0.14514322578907013, 0.49427464604377747, -0.13200059533119202, -0.5496962070465088, 0.09340709447860718, -0.11379383504390717, -0.3075319826602936, 0.47881218791007996, 0.42672157287597656, -0.6712486147880554, -0.3838358521461487, -0.9110438227653503, 0.05293022841215134, -0.27863800525665283, 1.184179425239563, 0.0027479236014187336, 0.7540662884712219, -0.11636931449174881, -0.3758729100227356, -0.21511948108673096, -0.6950727105140686, -0.607641875743866, -0.17250816524028778, 0.07126438617706299, 0.15105170011520386, 0.3496696650981903, 0.4766031503677368, 0.23435619473457336, 0.16080772876739502, -0.2767287492752075, 0.2486867904663086, -0.46231865882873535, -0.06370279937982559, -0.19582360982894897, -0.505908191204071, -0.3166634440422058, -0.02347404882311821, 0.4496401846408844, 0.9063301682472229, -0.3053736388683319, 0.10985399782657623, -0.04820381850004196, 0.3984111547470093, -0.5888975858688354, -0.061279550194740295, -0.8076932430267334, 0.1480465978384018, -0.3031848073005676, -0.4184545576572418, -0.3768434226512909, -0.17835858464241028, 0.30359673500061035, -0.5026957988739014, 0.3617095351219177, -0.2100374698638916, 0.7165154814720154, 0.405718594789505, -0.14836904406547546, -0.0738959014415741, -0.83818119764328, 0.6565481424331665, -0.4807300567626953, 0.6778324842453003, 0.5464627146720886, 0.31628286838531494, 0.04409538954496384, -0.43242722749710083, -0.5198535323143005, 0.2829590141773224, 0.1872873455286026, 0.21281839907169342, -0.16363444924354553, 0.15798090398311615, 0.19902671873569489, 0.22989895939826965, -0.4001109004020691, 0.17155417799949646, -0.29421746730804443, -0.4199526607990265, 0.2549876272678375, -0.02407016232609749, 0.11624108999967575, 0.34080275893211365, 0.005014019086956978, -0.24222834408283234, -0.6724231839179993, -0.05539293214678764, 0.25425320863723755, -0.1660909801721573, 0.08754871040582657, 0.5560146570205688, -0.0823565274477005, 0.5846455693244934, 0.31046533584594727, -0.0418064221739769, 0.6801976561546326, -0.30493393540382385, -0.04647824913263321, 0.13315366208553314, 0.5353863835334778, 0.5619117617607117, 0.20316897332668304, -0.19634336233139038, 0.006191664841026068, 0.37059783935546875, 0.32554855942726135, -0.5940845012664795, -0.020472005009651184, 0.2786124050617218, -0.5467125177383423, -0.05401991680264473, -0.19317053258419037, -0.8416334986686707, -0.3792881369590759, -0.3557165563106537, 0.1942572444677353, -0.3652448058128357, -0.23505902290344238, 0.39432576298713684, -0.15355370938777924, 0.33121898770332336, 0.17238138616085052, -0.600707471370697, 0.2552263140678406, 0.293694406747818, 0.6726416349411011, -0.1485646814107895, 0.2024606466293335, -0.8219335079193115, 0.11555203050374985, -0.18413716554641724, 0.928005039691925, -0.6476695537567139, -0.5942239761352539, -0.013124293647706509, 0.11820290982723236, -0.08994650095701218, -0.7314324975013733, 0.7515197992324829, -0.36033210158348083, 0.3431316912174225, -0.08305606245994568, -0.43824395537376404, 0.1277514547109604, 0.10970053821802139, -0.38969942927360535, 0.4817698001861572, -0.15287645161151886, -0.8095042109489441, 0.6884869933128357, -0.6013534069061279, -0.5726472735404968, -0.1682233363389969, -0.7333562970161438, -0.7081722021102905, 0.14644311368465424, 0.6149830222129822, 0.18760237097740173, -0.2755684554576874, 0.09085365384817123, -0.02950170822441578, -0.18479196727275848, 0.39195170998573303, -0.5158631205558777, 0.5623682737350464, 0.1029374897480011, -0.3590475618839264, -0.006416631862521172, -0.944810152053833, 0.08125845342874527, -0.036892447620630264, -0.304806649684906, -0.41996532678604126, 0.13992932438850403, 0.17455917596817017, 0.35617804527282715, -0.12760981917381287, -0.6864293217658997, -0.024359967559576035, -0.7896319627761841, 0.360461562871933, 0.4268491566181183, -0.11335299909114838, 0.5158290266990662, -0.27795878052711487, 0.43848681449890137, 0.4528343081474304, 0.17376215755939484, 0.016299791634082794, -0.5486819744110107, -0.6478872299194336, -0.3011923134326935, 0.19115090370178223, 0.7408152222633362, -0.845364511013031, 0.34444424510002136, -0.4133327305316925, -0.09295975416898727, -1.2470370531082153, -0.27197328209877014, 0.5601032376289368, 0.39921796321868896, 0.7062291502952576, -0.368635892868042, -0.9177987575531006, -1.0682933330535889, -0.4037001430988312, 0.21961617469787598, -0.5097028017044067, 0.5764219760894775, -0.09871288388967514, -0.6204714179039001, 0.7998468279838562, -0.4366866946220398, -0.5027921795845032, -0.16009874641895294, -0.0013402352342382073, 0.39937683939933777, 0.30642566084861755, 0.17573529481887817, -0.7403531074523926, -0.2865760028362274, -0.09093914180994034, -0.42255762219429016, -0.07332793623209, -0.1940617859363556, -0.22252564132213593, 0.18185579776763916, 0.4530985653400421, -0.45227453112602234, 0.22440139949321747, 0.4054127037525177, -0.21000614762306213, 0.2155432254076004, -0.07641863822937012, 0.12099382281303406, -1.1820024251937866, -0.12657347321510315, -0.012604499235749245, -0.0853019654750824, -0.8660199046134949, -0.538352370262146, -0.17854435741901398, 0.17051422595977783, -0.18957765400409698, 0.20713140070438385, -0.8780472278594971, -0.13276782631874084, -0.29898008704185486, -0.14334945380687714, -0.1070595309138298, 0.2812606692314148, 0.5143166780471802, 0.6583278179168701, 0.6244003176689148, -0.5680941939353943, -0.2338414192199707, 0.4329734742641449, -0.22636447846889496, 0.5792219638824463, -0.409551739692688, 0.5759756565093994, -0.32141757011413574, 0.3354174792766571, -0.6796496510505676, 0.16477978229522705, -0.09342993050813675, -0.6464207768440247, 0.625949501991272, -0.2854873538017273, -0.1576172113418579, -0.3917878568172455, -0.23365537822246552, 0.7428587675094604, 0.6727312803268433, -0.39456531405448914, 0.5504862666130066, 0.8544652462005615, -0.22031469643115997, -0.6084081530570984, -0.6218027472496033, 0.16417670249938965, -0.018713975325226784, -0.38492563366889954, 0.634128212928772, -0.07586663216352463, 0.03950348496437073, -0.45634761452674866, -0.27883070707321167, -0.17241273820400238, -0.5735922455787659, 0.11202947795391083, 0.32102489471435547, 0.022718191146850586, -0.3075043857097626, 0.3643994629383087, -0.3522162139415741, 0.06496348232030869, -0.6085395812988281, 0.6651930809020996, 0.36863914132118225, -0.2457732856273651, -0.2096855193376541, 0.570443332195282, 0.7187594771385193, -0.19387030601501465, 0.5678392052650452, 0.8277963399887085, -0.6033581495285034, 0.13359412550926208, -0.8077076077461243, -0.35294780135154724, -0.38842809200286865, 0.6754829287528992, -0.3610818386077881, -0.7386119961738586, 0.34503301978111267, -0.06904502213001251, 0.04612576216459274, 0.20017626881599426, 0.7558742761611938, -0.06126956269145012, 1.1314315795898438, 0.3786196708679199, -0.2308516651391983, 0.3534996807575226, -0.0893663614988327, 0.2677566409111023, -1.044162631034851, -0.4214734435081482, -0.2721823453903198, -0.04888954758644104, -0.4473603367805481, -0.6458534002304077, 0.8497284054756165, -0.24620191752910614, 0.3456451892852783, 0.08072721213102341, -0.8213170170783997, 0.32736414670944214, 0.5387855172157288, 0.37016561627388, 0.07021763175725937, 0.3791482448577881, -0.04793088510632515, -0.34026309847831726, -0.541816234588623, -0.062462154775857925, 1.3093888759613037, 0.3148214817047119, 0.603042721748352, -0.0953507348895073, 0.5692465901374817, -0.1589421182870865, 0.05395619198679924, -0.6291911005973816, 0.286138653755188, -0.3865815997123718, -0.3197425901889801, -0.25703588128089905, -0.3304108679294586, -0.7570798993110657, 0.25209149718284607, -0.27074891328811646, -0.42733636498451233, 0.33549579977989197, 0.23523057997226715, -0.49611401557922363, 0.16115503013134003, -0.39066416025161743, 0.4026663899421692, 0.046831853687763214, -0.1473255753517151, -0.21623243391513824, -0.8930695056915283, 0.034381549805402756, 0.01701986789703369, 0.3707256317138672, 0.44072943925857544, 0.13199877738952637, 1.0634158849716187, -0.40262964367866516, 0.5662664771080017, -0.36188289523124695, 0.18063154816627502, -0.024600299075245857, -0.2958621680736542, 0.6322576999664307, -0.09890974313020706, 0.09826592355966568, 0.44181692600250244, 0.196344256401062, -0.15128086507320404, -0.29078882932662964, 0.1516394168138504, -0.8999283909797668, -0.2766163945198059, -0.3444426953792572, -0.41028159856796265, -0.6928427219390869, 0.0323631651699543, 0.9390428066253662, 0.4125140905380249, -0.23690229654312134, -0.07875270396471024, 1.0179688930511475, -0.5882366895675659, -0.09285816550254822, 0.6242882013320923, 0.2731695771217346, -0.558074414730072, 0.7663781046867371, 0.2824523150920868, 0.2042059302330017, 0.4062708914279938, 0.11502551287412643, -0.5076807737350464, -0.8224382996559143, -0.6360070705413818, 0.22936224937438965, -0.46208667755126953, -0.10167749226093292, -1.2394459247589111, -0.4269411861896515, -0.538028359413147, -0.096555694937706, -0.40777868032455444, -0.18683864176273346, -0.320768266916275, -0.2678855359554291, 0.3733937740325928, 0.2707486152648926, -0.02541092224419117, 0.22266098856925964, -0.6710913181304932, 0.5013478398323059, -0.043906815350055695, 0.3637336492538452, -0.4772369861602783, -0.9008132219314575, -0.2487114518880844, 0.04317954555153847, 0.12053338438272476, -0.9247394800186157, 0.4191427230834961, 0.25828951597213745, 0.6573283672332764, 0.6382459402084351, -0.07880209386348724, 0.45455604791641235, -0.8238560557365417, 0.45268112421035767, 0.448776513338089, -0.6541232466697693, 0.4592832922935486, -0.2146398425102234, 0.2520468831062317, 0.7149619460105896, 0.3349633514881134, -0.5166507959365845, -0.31093552708625793, -0.5173840522766113, -1.146483063697815, 0.63737952709198, 0.12057395279407501, -0.024020906537771225, -0.10486429929733276, 0.11414637416601181, 0.2620207965373993, 0.40521496534347534, -0.5228554010391235, -0.37258362770080566, -0.23722444474697113, -0.3117921054363251, 0.05969841405749321, -0.6304794549942017, -0.3464352786540985, -0.28593844175338745, 0.44635701179504395, 0.057806819677352905, 0.5859851837158203, 0.10284915566444397, -0.18347486853599548, 0.100521519780159, 0.6059775948524475, 0.6704396605491638, 0.11975322663784027, -0.13368572294712067, 0.16465705633163452, 0.3078162670135498, -0.8450782895088196, 0.04363192245364189, 0.32759401202201843, -0.008574111387133598, 0.36406856775283813, -0.04765959084033966, 0.8841841220855713, -0.08279292285442352, -0.6284621357917786, 0.7132737040519714, 0.08466169983148575, -0.10564600676298141, -0.360350102186203, -0.3800927996635437, -0.1822834461927414, -0.0203294325619936, 0.3121391534805298, 0.2568720877170563, 0.6448352336883545, -0.2985397279262543, 0.40010330080986023, 0.4360356032848358, -0.22725944221019745, -0.18934231996536255, 0.6685471534729004, 0.034404683858156204, -0.12195967137813568, 0.543041467666626, -0.2530592381954193, -0.637984037399292, 0.29600435495376587, 0.6177815198898315, 0.8681142330169678, -0.6758123636245728, -0.05188439413905144, 0.3201694190502167, 0.1462498903274536, -0.2658827006816864, 0.48649439215660095, 0.06260859966278076, -0.8441303968429565, -0.3460458517074585, -0.5951253175735474, -0.2407485842704773, 0.19757525622844696, -0.8675259947776794, 0.41996029019355774, -0.32655858993530273, -0.31630972027778625, -0.12235337495803833, -0.7178027629852295, -0.7774478793144226, 0.2896934151649475, 0.20278336107730865, 0.39556390047073364, -0.7992180585861206, 0.7179994583129883, 0.681060254573822, -0.17714065313339233, -0.5140496492385864, -0.1078309491276741, 0.1684277057647705, -0.9301965832710266, 0.21334442496299744, 0.14415988326072693, -0.21557024121284485, -0.07943087071180344, -0.08790750056505203, -0.8364934325218201, 0.8183242082595825, 0.23927487432956696, -1.0267292261123657, -0.2854515016078949, 0.35235142707824707, 0.5418477654457092, -0.34226417541503906, 0.6138602495193481, 0.6061137914657593, -0.009511836804449558, 0.11911781877279282, -1.270735502243042, -0.16881486773490906, -0.43229925632476807, -0.04556165263056755, 0.17321719229221344, -0.09759103506803513, 0.584473192691803, -0.23078282177448273, -0.24752019345760345, -0.5293350219726562, 0.26016220450401306, 0.3021479547023773, 0.532016396522522, 0.6722570657730103, 0.367709755897522, 0.631851077079773, 0.13775242865085602, 0.773804783821106, -0.31517794728279114, -0.02564799040555954, 1.1688004732131958, -0.24791476130485535, 0.734192967414856, 0.5370193123817444, -0.32561540603637695, 0.05136436969041824, 0.5450443625450134, 0.17385849356651306, 0.8451562523841858, 0.23071451485157013, -0.39910560846328735, -0.19152583181858063, -0.22816385328769684, -0.5535193681716919, 0.30061638355255127, 0.6281623840332031, -0.611606776714325, 0.0023912370670586824, 0.43970903754234314, -0.02142765372991562, -0.04760337993502617, -0.2979423999786377, 1.091385841369629, 0.3517279624938965, -0.4247240722179413, 0.48262354731559753, -0.17400066554546356, 0.9444178342819214, -0.415444016456604, -0.012054679915308952, -0.013211855664849281, 0.235066756606102, -0.3437180519104004, -0.46841761469841003, 0.4222574234008789, -0.0207715705037117, -0.5932142734527588, -0.11554352939128876, 0.39380159974098206, -0.6719595789909363, -0.5994393229484558, 0.4034954309463501, 0.5018528699874878, 0.4170973300933838, -0.2089611291885376, -0.4774401783943176, 0.024941110983490944, 0.08269135653972626, 0.01201673410832882, 0.4880290627479553, 0.1635352224111557, -0.009400992654263973, 0.3325425088405609, 0.6147814989089966, 0.36639904975891113, 0.16340091824531555, 0.6361474394798279, 0.8538896441459656, -0.2861151099205017, -0.9798619747161865, -0.696957528591156, 0.41163375973701477, -0.06120176240801811, -0.06100284308195114, 0.22579464316368103, 0.6506618857383728, 0.7861221432685852, -0.06443953514099121, 0.9573904871940613, 0.35480737686157227, 0.9399076104164124, -0.6322285532951355, 0.6133404970169067, -0.2850508689880371, 0.28541696071624756, -0.40320277214050293, -0.5787109136581421, -0.1637340635061264, 0.8230612874031067, -0.36721351742744446, 0.05388987809419632, 0.5402219891548157, 0.8518866896629333, -0.07339083403348923, -0.11951325833797455, 0.480987548828125, 0.22004570066928864, 0.20642797648906708, 0.7725784778594971, 0.43132394552230835, -0.30617862939834595, 0.5199389457702637, 0.3531389534473419, -0.5144583582878113, -0.10971827805042267, -0.2634677588939667, -0.7483652830123901, -0.6204369068145752, -0.318203330039978, -0.6858550310134888, 0.20918934047222137, 1.1454846858978271, 0.739823043346405, -0.8977500796318054, 0.16642682254314423, 0.061997123062610626, -0.5164871215820312, -0.2651710510253906, -0.1259680986404419, 0.3625433146953583, 0.10703107714653015, -0.6266980767250061, 0.48881271481513977, 0.35895538330078125, -0.08940218389034271, 0.1368577480316162, 0.012353787198662758, 0.06623108685016632, -0.05820858106017113, 0.6101429462432861, 0.21130076050758362, -0.5118849873542786, 0.023547004908323288, 0.12379441410303116, 0.20510084927082062, 0.2617672383785248, 1.010210633277893, -0.7279247045516968, 0.5811415314674377, 0.0666816383600235, 0.9642003774642944, 0.6454076170921326, -0.13520477712154388, 0.7485005855560303, -0.4508833885192871, 0.1085922122001648, 0.4070872962474823, 0.43898850679397583, 0.34664079546928406, -0.5219963192939758, 0.2763451337814331, 0.3381021320819855, -0.40539151430130005, -0.813641369342804, 0.2746031880378723, -0.9121525883674622, 0.014611010439693928, 1.2506580352783203, 0.11844298243522644, 0.23817452788352966, -0.4909272789955139, -0.26482510566711426, 0.5236794948577881, -0.3660230040550232, 0.7683672904968262, 0.475722998380661, -0.3334728479385376, -0.3286541998386383, -0.41206425428390503, 0.6097036004066467, 0.7193737030029297, -0.7089700698852539, -0.16921661794185638, 0.5700910687446594, 0.5780812501907349, 0.00754369655624032, 1.1104313135147095, -0.40125739574432373, 0.1826888769865036, -0.1464294195175171, 0.14929330348968506, 0.057828497141599655, -0.2877410650253296, -0.5915954113006592, -0.13445012271404266, -0.00039559448487125337, -0.604663610458374 ]
http://arxiv.org/abs/2403.00354v2
http://arxiv.org/pdf/2403.00354v2
Self-Consistent Reasoning-based Aspect-Sentiment Quad Prediction with Extract-Then-Assign Strategy
2024-03-01T08:34:02
2024-06-08T08:41:53
Jieyong Kim, Ryang Heo, Yongsik Seo, SeongKu Kang, Jinyoung Yeo, Dongha Lee
cs.CL
cs.CL
In the task of aspect sentiment quad prediction (ASQP), generative methods for predicting sentiment quads have shown promising results. However, they still suffer from imprecise predictions and limited interpretability, caused by data scarcity and inadequate modeling of the quadruplet composition process. In this paper, we propose Self-Consistent Reasoning-based Aspect-sentiment quadruple Prediction (SCRAP), optimizing its model to generate reasonings and the corresponding sentiment quadruplets in sequence. SCRAP adopts the Extract-Then-Assign reasoning strategy, which closely mimics human cognition. In the end, SCRAP significantly improves the model's ability to handle complex reasoning tasks and correctly predict quadruplets through consistency voting, resulting in enhanced interpretability and accuracy in ASQP.
[ -0.47044917941093445, -0.18017680943012238, 0.7100324034690857, 0.5397758483886719, -0.13604888319969177, 0.41981974244117737, 0.0798499584197998, -0.31994834542274475, 0.34247466921806335, 0.6890270113945007, -0.7349219918251038, -0.21024465560913086, -0.24896472692489624, 0.1894731968641281, -0.10970015823841095, 0.9828569889068604, -0.05898120999336243, -0.03235480561852455, -0.5215602517127991, -0.08838759362697601, -0.48852381110191345, -0.839718759059906, -0.4092588722705841, -0.26416346430778503, 0.31640443205833435, 0.7348557114601135, 0.49120229482650757, 0.7733982801437378, 0.32891497015953064, 0.2973526120185852, 0.015812033787369728, 0.23182062804698944, 0.0656164288520813, 0.28187355399131775, -0.7728433609008789, -0.2760477662086487, -0.4110914170742035, -0.09986381232738495, 0.3532286584377289, 0.40620648860931396, -0.12276753783226013, 0.06829220056533813, 0.39376452565193176, 0.5742243528366089, -0.7165107727050781, 0.08741962164640427, -0.5406415462493896, -0.30264273285865784, -0.036437027156353, -0.06720271706581116, -0.32603809237480164, -0.31412652134895325, -0.3237253427505493, -0.4629378020763397, 0.1165834441781044, 0.30198928713798523, 0.9096224308013916, 0.09383926540613174, -0.1141798123717308, -0.008630252443253994, -0.5350408554077148, 0.8768556714057922, -0.7418549656867981, 0.06879439204931259, 0.5288069248199463, 0.08060070872306824, -0.10323665291070938, -0.7278123497962952, -0.7071873545646667, 0.2152947336435318, 0.09565985202789307, 0.25807249546051025, 0.28128930926322937, 0.03345564752817154, -0.004947640933096409, 0.40845537185668945, -0.20254047214984894, -0.11892452836036682, -0.11988966166973114, -0.3801572024822235, 0.8268113136291504, 0.38937830924987793, 0.2045486718416214, -0.8606036901473999, -0.7489049434661865, 0.24593091011047363, -0.44375383853912354, 0.17467395961284637, 0.2984711229801178, 0.2351294755935669, 0.20532011985778809, 0.5735743641853333, -0.7359781861305237, 0.29062214493751526, 0.6014338731765747, 0.16465695202350616, 0.4263862371444702, -0.5518012642860413, -0.0961494967341423, -0.309407502412796, 0.9626142382621765, 0.5021435618400574, -0.2139972448348999, -0.007318293675780296, -0.17703941464424133, -0.03057507611811161, 0.6756830811500549, -0.38241806626319885, -0.711602509021759, 0.6072165966033936, -0.3466232419013977, -0.6095651984214783, -0.3049699068069458, -0.9721056818962097, -0.2629086971282959, -0.2784954011440277, 0.5026552677154541, -0.866661012172699, -0.22685973346233368, -0.15602070093154907, -0.07104279845952988, 0.08567601442337036, 0.5638825297355652, -1.0093178749084473, 0.13697591423988342, 0.8673182725906372, 0.7008340358734131, -0.44200730323791504, -0.49523675441741943, -0.49975448846817017, 0.09131596982479095, -0.21274839341640472, 1.3138105869293213, -0.4993772804737091, -0.12246792763471603, -0.20249536633491516, -0.053793735802173615, 0.22253087162971497, -0.4574146270751953, 0.9255351424217224, -0.23233696818351746, 0.11121351271867752, -0.6718490123748779, -0.44533392786979675, -0.42715466022491455, 0.6794853806495667, -0.6943135857582092, 1.151767373085022, 0.3051183819770813, -0.938834011554718, 0.40269556641578674, -0.3270581364631653, -0.18002092838287354, 0.21231278777122498, -0.0675477683544159, -0.7015182375907898, -0.031325072050094604, 0.3920864760875702, 0.3019670844078064, -0.06760423630475998, -0.08470338582992554, -0.8182713389396667, 0.13504628837108612, 0.2170943170785904, -0.185182586312294, 0.6296911835670471, 0.2235136777162552, -0.3780732750892639, 0.23697958886623383, -0.6015236973762512, 0.710807204246521, -0.10883710533380508, -0.16839845478534698, -0.15790624916553497, 0.09252436459064484, -0.1525028944015503, 0.425382524728775, 0.44510748982429504, -0.7260578274726868, 0.44388294219970703, -0.45839694142341614, 0.2337997704744339, 0.9373961091041565, 0.16651798784732819, 0.6039627194404602, -0.46005386114120483, 0.542991042137146, 0.24192194640636444, 0.22020591795444489, -0.014655315317213535, -0.042289793491363525, -0.7790970802307129, -0.32358890771865845, 0.6569440364837646, 0.3255499005317688, -0.8849168419837952, 0.4402807950973511, -0.24887681007385254, -0.4352058470249176, -0.4816012978553772, -0.12662331759929657, 0.39269188046455383, 0.2668801248073578, 0.4802797734737396, -0.36489421129226685, -0.646878182888031, -0.7384260892868042, -0.47173526883125305, -0.13917462527751923, 0.277516633272171, -0.03312040492892265, 0.33331385254859924, 0.12199713289737701, 0.957826554775238, -0.3944140374660492, -0.190857395529747, -0.48230746388435364, 0.4158203601837158, -0.2011125683784485, 0.4895205497741699, 0.1784474402666092, -0.6425356268882751, -0.5620549321174622, -0.2896486222743988, -0.5865646600723267, -0.1626824140548706, -0.11226242035627365, -0.38282039761543274, 0.4851424992084503, 0.18219272792339325, -0.4944617748260498, 0.38745421171188354, 0.27870693802833557, -0.4041687846183777, 0.9351209998130798, -0.014181435108184814, 0.13965551555156708, -0.9761788845062256, -0.23376765847206116, -0.11760783940553665, -0.5405518412590027, -0.15297822654247284, -0.015160083770751953, 0.20459359884262085, 0.2707737386226654, -0.20177201926708221, 0.4243199825286865, -0.525844156742096, -0.16919881105422974, -0.4791012108325958, -0.3652424216270447, 0.6076827049255371, 0.5909271240234375, 0.17388533055782318, 0.6197470426559448, 0.28716760873794556, -0.2874492108821869, 0.12608124315738678, 0.3919457495212555, -0.05074409395456314, 0.6060932278633118, -0.32496991753578186, 0.17668135464191437, 0.1703135371208191, 0.15187492966651917, -0.9137994647026062, -0.060120999813079834, 0.2797124981880188, -0.5339677929878235, 0.2687799632549286, -0.1362156718969345, -0.4364434778690338, -0.43494853377342224, -0.45835986733436584, 0.4137011766433716, 0.2773715853691101, -0.6480052471160889, 1.03888738155365, 0.2918776869773865, -0.5446133613586426, -0.7016271352767944, 0.027718879282474518, -0.19465935230255127, -0.21329937875270844, -0.27851545810699463, 0.31003865599632263, -0.08552045375108719, 0.10574798285961151, -0.0014765342930331826, -0.19862718880176544, 0.027652479708194733, 0.05779261514544487, 0.3959704041481018, 0.2354084849357605, 0.09746401011943817, -0.00819798931479454, 0.055245544761419296, -0.155888631939888, 0.28379392623901367, -0.14301367104053497, 0.6124962568283081, -0.32280078530311584, -0.30546844005584717, -0.22636070847511292, 0.5550746917724609, 0.5063757300376892, -0.2728255093097687, 0.20828716456890106, 0.2930741012096405, -0.021792538464069366, -0.4271310865879059, -0.6758202314376831, -0.055051904171705246, -0.4427924156188965, 0.19207510352134705, -0.6718382835388184, -0.32649388909339905, 0.476926326751709, -0.4487819969654083, -0.04894556477665901, 0.6471430659294128, 0.5223115682601929, -0.6684966087341309, 1.0764254331588745, 0.4595670998096466, -0.21041929721832275, 0.19069868326187134, -0.3708440661430359, -0.01458085048943758, -1.209732174873352, -0.3519980013370514, -0.329683393239975, -0.08867193758487701, -0.3773476481437683, -0.30005359649658203, 0.18435753881931305, 0.3192366063594818, -0.5139161944389343, -0.04008805379271507, -0.7527856826782227, 0.24518707394599915, 0.8040847182273865, 0.004200339782983065, 0.2787698805332184, 0.006869702134281397, -0.07108739018440247, -0.07676336169242859, -0.42509856820106506, -0.3741413652896881, 0.9606509208679199, 0.1415848284959793, 0.4817511737346649, -0.21204064786434174, 1.0308281183242798, 0.5473271608352661, 0.07345000654459, -0.5673553943634033, 0.32121849060058594, 0.07445257157087326, -0.3666101396083832, -0.23959973454475403, -0.24129803478717804, -0.6577845215797424, 0.30110588669776917, -0.2995241582393646, -0.6512048840522766, 0.03217950090765953, 0.10293329507112503, -0.44032764434814453, 0.19042859971523285, -0.22029827535152435, 0.7781429290771484, -0.2862926423549652, -0.4174381494522095, -0.24928724765777588, -0.657229483127594, 0.018234414979815483, 0.02754494920372963, 0.3703216016292572, -0.3997587561607361, 0.27404123544692993, 0.5221742987632751, -0.7243778705596924, 0.8105807304382324, -0.1517896205186844, 0.4322933852672577, 0.6496371626853943, 0.4117501974105835, 0.4893074333667755, -0.10710005462169647, -0.07500141113996506, 0.3838026523590088, 0.29705721139907837, -0.45750415325164795, -0.7844204306602478, 0.47622647881507874, -0.9502270221710205, -0.6267334222793579, -0.6877703070640564, -0.44121024012565613, -0.1571822613477707, 0.2767646610736847, 0.5612926483154297, 0.40247273445129395, 0.10517117381095886, -0.2901316285133362, 0.22261027991771698, 0.3325289785861969, 0.5940130949020386, 0.32526057958602905, -0.2827591001987457, -0.7881479263305664, 1.084304690361023, -0.05323975160717964, 0.21557199954986572, 0.06656840443611145, 0.4221624433994293, -0.4164866805076599, -0.5101401209831238, -0.7125265598297119, 0.08846044540405273, -0.6469380259513855, -0.7975093126296997, -0.77944016456604, -0.39133551716804504, -0.3219741880893707, -0.294149249792099, -0.7870628237724304, -0.5583739280700684, -0.12566295266151428, -0.011767538264393806, 0.23318347334861755, 0.566119909286499, -0.424971342086792, 0.01722579263150692, -0.8236932158470154, 0.3206276595592499, 0.19043929874897003, 0.31088486313819885, -0.13078519701957703, -0.5661149621009827, -0.17528623342514038, 0.18617306649684906, -0.764793872833252, -0.7817636132240295, 0.5833560228347778, -0.05109987407922745, 0.308104008436203, 0.05069099739193916, 0.2585076689720154, 0.5157971978187561, -0.28330856561660767, 0.8824863433837891, 0.29013529419898987, -1.2086820602416992, 0.4721546769142151, -0.34513166546821594, 0.09489301592111588, 0.6312859654426575, 0.41165924072265625, -0.07647831737995148, -0.5285438299179077, -1.057991623878479, -0.9476760625839233, 0.7578679323196411, 0.0403466559946537, -0.24255578219890594, 0.08956019580364227, 0.2996441423892975, 0.37741386890411377, 0.15016379952430725, -0.6830547451972961, -0.007405078038573265, -0.6740655899047852, -0.46880224347114563, 0.42708784341812134, -0.5025113224983215, 0.16379563510417938, -0.30025580525398254, 0.8636143207550049, -0.3774585425853729, 0.2117544263601303, 0.06512200832366943, 0.4516894519329071, -0.15166886150836945, 0.2749459445476532, -0.03080139122903347, 0.42102816700935364, -0.0039298152551054955, 0.11707702279090881, 0.0882963091135025, -0.2600402534008026, 0.2999305725097656, -0.11174583435058594, -0.20675347745418549, -0.2919708490371704, 0.1471562385559082, 0.26818597316741943, 0.03084523230791092, -0.3658526837825775, 0.7087032794952393, 0.23030847311019897, -0.17580439150333405, -0.854987621307373, 0.027971316128969193, 0.037429921329021454, 0.5356326103210449, 0.07592327147722244, 0.2763460874557495, 0.37122416496276855, -0.5540117621421814, 0.2788994610309601, 0.3233940601348877, -0.3265123963356018, -0.40888944268226624, 0.5781487822532654, 0.10422501713037491, -0.12147931009531021, 0.8070600032806396, -0.5817914605140686, -1.0342729091644287, 0.4438038468360901, 0.45021700859069824, 0.8718060255050659, -0.31881728768348694, 0.4120040237903595, 0.4323831796646118, -0.23341670632362366, -0.2607842683792114, 0.8414716720581055, 0.009398755617439747, -1.0485281944274902, -0.6477234959602356, -0.8040032982826233, -0.47208431363105774, -0.11493296176195145, -0.918836772441864, 0.3109923005104065, -0.5395309329032898, 0.052392181009054184, 0.06187266483902931, 0.2486390471458435, -0.3665159046649933, 0.5478481650352478, 0.25301802158355713, 0.3746849298477173, -0.9415651559829712, 0.8014419674873352, 0.7207929491996765, -0.7911303639411926, -1.2642970085144043, 0.09162025898694992, -0.23869310319423676, -0.6189478039741516, 0.5673537850379944, 0.1015382930636406, -0.0688374936580658, -0.12480850517749786, -0.69074547290802, -1.306203007698059, 0.6979901790618896, -0.03390956670045853, -0.19576257467269897, 0.04495292156934738, -0.18662108480930328, 0.2842195928096771, -0.28578099608421326, 0.2804836630821228, 0.5284119248390198, 0.383747935295105, 0.52522873878479, -0.875336229801178, 0.22226257622241974, -0.11294002830982208, -0.20481492578983307, 0.36135539412498474, -0.7984880805015564, 0.9424132704734802, -0.24280418455600739, -0.13500241935253143, -0.01812913827598095, 1.3464491367340088, 0.36935457587242126, 0.30420219898223877, 0.5581556558609009, 0.735637366771698, 0.5882298350334167, 0.11292504519224167, 0.913144052028656, -0.14346614480018616, 0.45950374007225037, 1.437971591949463, -0.27023518085479736, 1.1728607416152954, 0.08735036849975586, -0.1334991604089737, 1.1800397634506226, 0.5869666337966919, 0.004683033563196659, 0.8203276991844177, -0.275803804397583, -0.2445724457502365, -0.7103622555732727, 0.11125005036592484, 0.06223411113023758, 0.8866921663284302, 0.32667937874794006, -0.14716894924640656, -0.01937944069504738, -0.1678778976202011, 0.1724798083305359, 0.05239415168762207, -0.56647127866745, 1.016801118850708, -0.07418227940797806, -1.0394649505615234, 0.5229272246360779, -0.06468590348958969, 0.30591651797294617, 0.10509897768497467, -0.2123986929655075, 0.026097705587744713, 0.19050925970077515, -0.40068432688713074, -1.1223334074020386, 0.5818367004394531, -0.5358324646949768, -0.5669523477554321, -0.18354976177215576, 0.845820426940918, -0.40077537298202515, -0.5504716634750366, -0.10285540670156479, 0.42355671525001526, -0.008259055204689503, -0.5011953115463257, -0.7080951929092407, -0.10956230014562607, 0.41516566276550293, -0.14918431639671326, 0.5532729029655457, 0.7351666688919067, -0.17659778892993927, 0.6744313836097717, 0.3719428777694702, 0.176461860537529, -0.2554302513599396, -0.439323753118515, 1.1343636512756348, -0.937492847442627, -0.7035478353500366, -0.8245319128036499, 0.6813738346099854, -0.22342880070209503, 0.055471163243055344, 0.6468113660812378, 0.6231331825256348, 0.3550645709037781, 0.2434028536081314, 1.2768816947937012, -0.06897285580635071, 1.046725869178772, -0.3618305027484894, 0.26865726709365845, -0.37558531761169434, -0.11900602281093597, -0.095543771982193, -0.5496487021446228, 0.37292101979255676, 0.5431060791015625, -0.2813616991043091, 0.0011105707380920649, 0.975972592830658, 0.2172187715768814, 0.0010855520376935601, 0.36707770824432373, -0.0009146329248324037, 0.17835472524166107, 0.09827941656112671, 0.30253028869628906, 0.8283947110176086, -0.04447526857256889, 0.35822808742523193, -0.6569180488586426, -0.13401158154010773, -0.3475341200828552, -1.00645112991333, -0.5927011966705322, -0.7230096459388733, -0.48232513666152954, -0.7125230431556702, -0.3788439929485321, 0.7519822716712952, 0.3785717487335205, -0.5588780641555786, 0.37075677514076233, -0.11961902678012848, 0.22715270519256592, -0.48274797201156616, -0.29922112822532654, 0.5426446199417114, -0.662204384803772, -0.39348840713500977, 0.032893482595682144, 0.33862781524658203, -0.37593987584114075, -0.2933041751384735, 0.4583706557750702, 0.0509604774415493, 0.05972135066986084, 0.503965437412262, 0.39914625883102417, -0.7812114953994751, -0.8090257048606873, -0.24188533425331116, -0.00023411829897668213, 0.4216119647026062, 0.5240569114685059, -0.8962398767471313, 0.5076723694801331, 0.531493604183197, 0.26357588171958923, 0.4916423559188843, 0.7684004902839661, 0.7262488603591919, -0.4856748878955841, -0.34452375769615173, 0.5962585210800171, 0.3476008474826813, 0.45284244418144226, -0.6340308785438538, 0.2928510010242462, 0.1700749546289444, -0.9405151605606079, -0.39182519912719727, 0.3236458897590637, -1.0691194534301758, -0.3860221803188324, 1.3983417749404907, -0.41971954703330994, -0.58277827501297, -0.398857980966568, -0.2015361487865448, 0.10971136391162872, -0.32337790727615356, 0.9568042159080505, 0.3711443543434143, -0.4864967465400696, -0.10582856833934784, -0.023930033668875694, 0.6275312304496765, 0.6762288212776184, -0.7856265306472778, 0.2660609483718872, 0.6242313981056213, 0.6475644707679749, 0.23005814850330353, 0.9009395837783813, 0.03403428941965103, 0.05851740762591362, 0.12953375279903412, 0.6346747279167175, -0.04643657058477402, -0.4750957787036896, 0.04702746123075485, 0.4161373972892761, 0.2521798610687256, -0.3686509430408478 ]
http://arxiv.org/abs/2403.00876v1
http://arxiv.org/pdf/2403.00876v1
Word Order and World Knowledge
2024-03-01T08:13:48
2024-03-01T08:13:48
Qinghua Zhao, Vinit Ravishankar, Nicolas Garneau, Anders Søgaard
cs.CL
cs.CL, cs.AI
Word order is an important concept in natural language, and in this work, we study how word order affects the induction of world knowledge from raw text using language models. We use word analogies to probe for such knowledge. Specifically, in addition to the natural word order, we first respectively extract texts of six fixed word orders from five languages and then pretrain the language models on these texts. Finally, we analyze the experimental results of the fixed word orders on word analogies and show that i) certain fixed word orders consistently outperform or underperform others, though the specifics vary across languages, and ii) the Wov2Lex hypothesis is not hold in pre-trained language models, and the natural word order typically yields mediocre results. The source code will be made publicly available at https://github.com/lshowway/probing_by_analogy.
[ -0.10897298157215118, -0.7166840434074402, 0.48819857835769653, -0.04354846850037575, -0.2142123430967331, -0.24039340019226074, 0.125285804271698, -0.9438915848731995, -0.11464100331068039, 0.3915505111217499, -0.1807984709739685, -0.2478284388780594, -0.8465464115142822, 0.14181622862815857, -0.31066274642944336, 0.7581983804702759, 0.05086522176861763, 0.05053495615720749, -0.2406989485025406, -0.6164764761924744, -0.1425771862268448, -0.420198529958725, -0.1646246314048767, -0.8194472193717957, 0.5753467082977295, 0.09241452813148499, 1.1860458850860596, 0.8504091501235962, 0.39331257343292236, 0.46340280771255493, -0.1413823962211609, 0.13619835674762726, -0.4659319221973419, 0.02028549090027809, -0.37740641832351685, -0.5744016766548157, -0.2650313973426819, 0.47839751839637756, 0.2645386755466461, 0.8351671099662781, -0.14720509946346283, 0.16689342260360718, -0.10944818705320358, 0.5321692228317261, -0.7359130382537842, 0.2560086250305176, -0.8154038786888123, -0.07691377401351929, 0.09331051260232925, -0.14738892018795013, -0.24243363738059998, -0.4741950035095215, 0.7358916401863098, -0.8224002122879028, 0.1665172427892685, 0.4410853683948517, 1.032710313796997, -0.15308044850826263, -0.21529674530029297, -0.4455907642841339, -0.6502212882041931, 0.7140640616416931, -0.5538872480392456, 0.5681852698326111, 0.22759678959846497, -0.0014713178388774395, -0.4436284303665161, -1.0647903680801392, -1.063818097114563, -0.0207629706710577, -0.10250496119260788, 0.5283885598182678, -0.06214338168501854, 0.26767832040786743, 0.28789955377578735, 0.4856148660182953, -0.6294751167297363, 0.25663134455680847, -0.1978921741247177, -0.09042772650718689, 0.5568343997001648, 0.006593005266040564, 0.6877052187919617, -0.10955676436424255, -0.39637166261672974, -0.35197609663009644, -0.7540068030357361, 0.16416984796524048, 0.2975725829601288, 0.0668821707367897, 0.09176046401262283, 0.7951385974884033, -0.25099071860313416, 0.915937066078186, -0.3440050780773163, -0.3828614056110382, 0.3018595576286316, -0.22662688791751862, -0.24477891623973846, 0.14612208306789398, 0.7847407460212708, 0.6251020431518555, 0.3104831874370575, -0.3478846251964569, -0.24411797523498535, 0.32455119490623474, 0.02974986471235752, -0.6989821195602417, 0.08649113029241562, -0.02562892436981201, -0.2683204710483551, -0.2523044943809509, 0.4816320240497589, -0.40685224533081055, -0.3916434943675995, -0.38723868131637573, 0.9018319249153137, -0.40572041273117065, -0.24749228358268738, 0.13650093972682953, -0.6826719045639038, 0.38872748613357544, 0.10935474932193756, -0.9622907638549805, 0.3792995810508728, 0.8421906232833862, 0.4708947241306305, -0.15639623999595642, -0.7765584588050842, -0.24021276831626892, 0.02540588565170765, -0.6408224701881409, 0.8549600839614868, -0.5643835663795471, -0.44624918699264526, 0.24423757195472717, 0.03652447834610939, 0.10459454357624054, -0.6686243414878845, 0.5353558659553528, -0.6609700918197632, 0.5823166370391846, -0.18190082907676697, -0.9111170172691345, -0.19764041900634766, 0.07978959381580353, -0.29316967725753784, 1.1478550434112549, -0.09484422206878662, -1.0438932180404663, 0.4819329082965851, -0.4676128923892975, -0.4789568781852722, 0.006236986257135868, 0.007604388054460287, 0.30491235852241516, 0.3615364730358124, -0.048105448484420776, 0.458484947681427, -0.25140371918678284, -0.1408851146697998, -0.23499983549118042, -0.6077445149421692, 0.2962976396083832, -0.004183056298643351, 0.5753270387649536, 0.11003340780735016, -0.21564747393131256, -0.15413080155849457, -0.7449422478675842, 0.2997390329837799, 0.3662404417991638, -0.19832034409046173, -1.0730512142181396, 0.1498059183359146, -0.2978041172027588, 0.22094468772411346, -0.019465668126940727, -0.7902982234954834, 0.31246235966682434, -1.0566761493682861, 0.33012643456459045, 0.4847438335418701, 0.12329866737127304, 0.7330510020256042, -0.13366295397281647, 0.18085084855556488, -0.09678825736045837, 0.14691554009914398, 0.33282896876335144, -0.7853993773460388, -0.65620356798172, 0.29785898327827454, 0.46150079369544983, 0.7201448082923889, -0.8959724307060242, 0.12168526649475098, -0.532788097858429, -0.5484920144081116, -0.4327389895915985, -0.2543536424636841, 0.5343326330184937, 0.2707040309906006, 0.19286905229091644, -0.18552574515342712, -0.2745230197906494, -0.8371152877807617, -0.676998496055603, -0.29435524344444275, -0.21814480423927307, -0.09248407185077667, 0.3122311234474182, -0.2845965027809143, 0.7008582353591919, -0.8223972916603088, 0.23256927728652954, -0.2030649185180664, 0.5533257126808167, 0.21026651561260223, -0.10879562795162201, 0.33222323656082153, -0.8716485500335693, -0.1977297067642212, 0.07892860472202301, -0.6049497723579407, -0.06609545648097992, 0.3365095853805542, -0.486206978559494, 0.008165564388036728, 0.6657660007476807, -0.3609010875225067, 0.48232707381248474, 0.6303426027297974, -0.19568362832069397, 0.3669862449169159, -0.5538504719734192, -0.1813042163848877, -1.4233072996139526, -0.29430335760116577, -0.19555087387561798, 0.0932564064860344, -0.8223710060119629, 0.26693195104599, 0.09219588339328766, 0.13434797525405884, -0.49834710359573364, 0.6978905200958252, -0.6498866081237793, -0.11074309796094894, -0.5294564366340637, 0.451577365398407, 0.17069917917251587, 0.1635947823524475, 0.18865008652210236, 0.6717358231544495, 0.08521702140569687, -0.9305995106697083, 0.22228752076625824, 0.3594759404659271, -0.7995700240135193, 0.12995867431163788, -0.49487268924713135, -0.008101698942482471, -0.07757095992565155, -0.21187768876552582, -0.850489616394043, 0.12420470267534256, -0.24006372690200806, -0.49028295278549194, 0.20992650091648102, 0.02386556938290596, -0.6231912970542908, -0.45333850383758545, -0.11469656229019165, 0.028966646641492844, 0.7337908744812012, -0.5853008031845093, 0.13637813925743103, 0.534913182258606, 0.0704532042145729, -0.5382862687110901, -0.5284853577613831, -0.35226964950561523, 0.043247416615486145, -0.14910157024860382, 0.6407514810562134, -0.18950369954109192, -0.8530085682868958, -0.17754970490932465, -0.22193877398967743, -0.17780251801013947, 0.01709272526204586, 0.25473812222480774, 0.17798098921775818, -0.127311110496521, 0.16908708214759827, -0.12026499956846237, 0.035206519067287445, 0.22439852356910706, -0.5076572299003601, 0.21469244360923767, 0.16545870900154114, -0.048336926847696304, 0.1637309342622757, 0.14344492554664612, 0.7668978571891785, -0.06790876388549805, 0.8814124464988708, 0.2808758616447449, -0.5235424637794495, -0.16685238480567932, -0.4467058777809143, 0.06869123131036758, -0.5500279664993286, 0.27992257475852966, -0.42420193552970886, -0.3344074785709381, 0.2644036114215851, 0.009584329091012478, 0.42320653796195984, 0.46172282099723816, 0.4490099251270294, -0.17126020789146423, 0.9969987273216248, 0.7855484485626221, -0.005064242985099554, 0.47912898659706116, -0.13244250416755676, 0.34378406405448914, -0.5631718635559082, 0.024163292720913887, -0.37247130274772644, -0.0017516049556434155, -0.9047388434410095, -0.25749093294143677, 0.14050282537937164, 0.2283901423215866, 0.08252686262130737, 0.3826877176761627, -0.22278183698654175, 0.7209867835044861, 0.43194812536239624, -0.07533260434865952, 0.38563424348831177, 0.058692481368780136, -0.5473716855049133, -0.04979587346315384, -0.7254282236099243, -0.3968687355518341, 0.8192979693412781, -0.14723414182662964, 0.5325692892074585, 0.06047419086098671, 0.656310498714447, -0.016335047781467438, 0.32994040846824646, -1.0856668949127197, 0.46181073784828186, -0.12611167132854462, -0.47582733631134033, -0.32322564721107483, 0.006312007084488869, -1.2735328674316406, 0.6307224035263062, -0.30556461215019226, -0.5929020643234253, -0.05982131510972977, -0.14673618972301483, -0.10484208166599274, 0.01802693121135235, -0.8825284838676453, 0.511233925819397, -0.07832668721675873, -0.24562019109725952, -0.0595138855278492, -0.6543329954147339, 0.21634069085121155, 0.26489588618278503, 0.44100290536880493, -0.15402695536613464, 0.16262920200824738, 0.9743380546569824, -0.6853123903274536, 0.43021029233932495, 0.07037964463233948, -0.35634517669677734, 0.5201887488365173, 0.1441296637058258, 0.48111268877983093, -0.31164032220840454, -0.2072564959526062, 0.005976132582873106, 0.28401196002960205, -0.45685720443725586, -0.672939658164978, 0.5860186219215393, -0.8282459378242493, -0.6019981503486633, -0.6105904579162598, -0.7030534744262695, -0.39037901163101196, 0.35486751794815063, 0.8123452663421631, 0.7661599516868591, -0.2744288742542267, -0.3064446449279785, 0.5366792678833008, -0.04570909962058067, 0.6403039693832397, 0.5868039131164551, -0.3310399353504181, -0.10525186359882355, 0.9628538489341736, 0.5654054284095764, 0.5582913160324097, 0.8023931980133057, 0.6222397089004517, -0.43129968643188477, -0.5073397755622864, -0.29159119725227356, 0.0755777582526207, -0.7936373353004456, 0.15066426992416382, -0.5740622282028198, -0.22704996168613434, -0.4491073787212372, -0.022521838545799255, -0.24868999421596527, -0.4383641481399536, 0.1438388079404831, -0.2228853702545166, 0.4412022531032562, 1.1643598079681396, 0.25218310952186584, 0.1012868657708168, -0.8205547332763672, 0.6068013906478882, 0.6204913854598999, 0.24041658639907837, -0.12160208076238632, -0.6451566815376282, 0.0337410494685173, 0.17549532651901245, -0.16230899095535278, -0.9304929971694946, 0.3377113938331604, 0.2075507938861847, 0.7934361100196838, 0.6838787198066711, 0.1994543969631195, 0.864227294921875, -0.8864330649375916, 0.7280281186103821, 0.24071896076202393, -0.8498361110687256, 0.30486324429512024, -0.4015819728374481, 0.4840693473815918, 0.3853405714035034, 0.41124585270881653, -0.8379800915718079, -0.5112274885177612, -0.7883706092834473, -0.8068888187408447, 0.45643770694732666, 0.15870438516139984, 0.1899665892124176, -0.10063665360212326, 0.4231817424297333, 0.36818844079971313, 0.023177849128842354, -0.7392397522926331, -0.3601164221763611, -0.18085725605487823, -0.10623113065958023, -0.07424265891313553, -0.23285062611103058, 0.10258770734071732, -0.4063597321510315, 0.5916517376899719, -0.08362171798944473, 0.3832404613494873, 0.14711353182792664, -0.46858710050582886, 0.10114218294620514, 0.3396192193031311, 0.5625526905059814, 1.1239045858383179, 0.06797824054956436, 0.38983458280563354, 0.33023303747177124, -0.7601592540740967, 0.1084931343793869, -0.11163634806871414, -0.11419577151536942, 0.058828264474868774, 0.6123592257499695, 0.5301384329795837, 0.36477261781692505, -0.5131739974021912, 0.46250829100608826, -0.22287432849407196, -0.2756301760673523, -0.014452914707362652, 0.1556229293346405, 0.23525775969028473, 0.032118819653987885, 0.09925483912229538, -0.4089808762073517, 0.08658783882856369, -0.8521009683609009, 0.010512311942875385, 0.32215937972068787, -0.26300475001335144, -0.562253475189209, 0.24431779980659485, -0.13953065872192383, -0.4512738585472107, 0.5336017608642578, -0.31454434990882874, -0.813035249710083, 0.46859562397003174, 0.8137983679771423, 0.3932785093784332, -0.23175376653671265, 0.017588211223483086, 0.260310560464859, 0.2981169819831848, -0.20361384749412537, 0.6218871474266052, 0.26692384481430054, -1.0614243745803833, -0.16136901080608368, -0.8594037890434265, -0.4245333969593048, 0.20140916109085083, -0.7950173616409302, 0.17228691279888153, -0.33615684509277344, 0.11264084279537201, 0.05779494717717171, -0.1150306910276413, -0.6961061954498291, 0.2251807600259781, 0.14701953530311584, 0.8532207608222961, -0.9664826989173889, 1.0222660303115845, 0.9031646847724915, -0.1600986123085022, -0.8938038349151611, 0.40856343507766724, -0.14911264181137085, -1.0935883522033691, 0.5675698518753052, 0.37550339102745056, -0.13735446333885193, 0.1976071149110794, -0.4241606891155243, -1.0107446908950806, 0.9311244487762451, -0.18913806974887848, -0.18327896296977997, 0.21367602050304413, 0.08257735520601273, 0.7698084115982056, -0.07516893744468689, 0.18814057111740112, 0.41142916679382324, 0.3128945529460907, -0.05477491766214371, -0.6810195446014404, -0.16102786362171173, -0.25745898485183716, 0.17866151034832, 0.46946683526039124, -0.25917673110961914, 0.37881118059158325, -0.31896981596946716, -0.3687874674797058, 0.08730251342058182, 0.8333330154418945, -0.06579730659723282, 0.11337573826313019, 0.5984794497489929, 0.6597405672073364, 0.5905938744544983, -0.10482051968574524, 1.1046897172927856, -0.14875496923923492, 0.128793403506279, 0.9667614102363586, -0.4175167381763458, 0.967449963092804, 0.6284054517745972, -0.4539790153503418, 0.543854832649231, 0.8988717198371887, 0.331402063369751, 0.742296576499939, 0.34463632106781006, 0.03914747014641762, 0.05664212629199028, -0.07624704390764236, -0.421206533908844, 0.523633599281311, 0.39747536182403564, -0.05340281128883362, -0.055523913353681564, -0.08208025991916656, 0.07220671325922012, 0.07012635469436646, -0.21833190321922302, 1.0680456161499023, 0.1393103152513504, -1.061000943183899, 0.7799607515335083, 0.04589694365859032, 0.524968147277832, -0.6418082118034363, -0.10277600586414337, -0.2874155044555664, 0.24329739809036255, 0.1793936938047409, -0.5240113139152527, 0.09365224838256836, -0.2499350756406784, -0.21089749038219452, -0.07683710008859634, 0.5185475945472717, -0.32270097732543945, -0.5083814859390259, 0.5422889590263367, 0.6660721302032471, 0.14598481357097626, 0.20532254874706268, -0.5142480731010437, -0.5005361437797546, -0.45033568143844604, -0.5275932550430298, 0.38552209734916687, 0.5348032116889954, -0.18470583856105804, 0.2025749832391739, 0.683724045753479, 0.04314757511019707, 0.308704674243927, -0.00597181124612689, 0.3754155933856964, -0.4712710976600647, -0.5620783567428589, -0.8513332009315491, 0.07714708894491196, -0.04780539125204086, -0.33813750743865967, 0.7648090124130249, 0.3330414891242981, 0.9141907095909119, -0.030439205467700958, 0.6208087205886841, -0.15233244001865387, 0.3201774060726166, -0.5815780162811279, 0.6796299815177917, -0.5964158177375793, -0.2540166676044464, -0.3819282352924347, -1.0511418581008911, -0.15126103162765503, 0.3486505150794983, -0.31083962321281433, -0.48857229948043823, 1.1396468877792358, 0.6569329500198364, -0.1617743968963623, 0.3242112100124359, 0.5481768250465393, 0.4293614327907562, -0.04851025715470314, -0.02683344855904579, 0.8746681213378906, -0.634319543838501, 0.3324578106403351, -0.4773172438144684, -0.17692266404628754, 0.2055063545703888, -0.8805360794067383, -0.8177997469902039, -0.5815380811691284, -0.030529843643307686, -0.4794876277446747, 0.07657230645418167, 0.9738949537277222, 0.3785495162010193, -0.6343067288398743, -0.17986220121383667, -0.3365464508533478, 0.22039934992790222, -0.41015225648880005, -0.14219921827316284, 0.3743317425251007, -0.08709690719842911, -0.8155789971351624, 0.4534466862678528, -0.04790736362338066, 0.26257017254829407, 0.19855423271656036, 0.053774360567331314, -0.41932186484336853, 0.32703784108161926, 0.9846982955932617, 0.1083013117313385, -0.9507128596305847, -0.48439329862594604, 0.03387889638543129, -0.2611229717731476, 0.02574518881738186, 0.6652860641479492, -0.5930353999137878, 0.47756627202033997, 0.9161125421524048, 0.28659024834632874, 0.07784091681241989, -0.1123168095946312, 0.6941467523574829, -0.6482082009315491, 0.4984873831272125, -0.2850560247898102, 0.5045443773269653, 0.025125935673713684, -0.2754753828048706, 0.4390404224395752, 0.5259697437286377, -0.27973493933677673, -0.5508317947387695, 0.443692684173584, -0.5463933944702148, -0.5685992240905762, 1.365487813949585, -0.08104175329208374, -0.3676967918872833, -0.137112095952034, -0.062246281653642654, 0.4963582158088684, 0.16051951050758362, 0.6997798085212708, 0.8966607451438904, -0.07007300108671188, 0.36606577038764954, -0.7127540111541748, 0.4733506739139557, 0.4037182927131653, -0.6453496217727661, -0.00634363666176796, 0.1741645336151123, 0.37034910917282104, 0.20128048956394196, 0.2988460659980774, -0.05267411470413208, -0.06015530973672867, -0.08562099933624268, 0.21564939618110657, 0.30791622400283813, -0.09351994842290878, -0.06058230623602867, 0.029681235551834106, 0.21813037991523743, -0.24757620692253113 ]
http://arxiv.org/abs/2403.00338v1
http://arxiv.org/pdf/2403.00338v1
Semi-Instruct: Bridging Natural-Instruct and Self-Instruct for Code Large Language Models
2024-03-01T08:05:44
2024-03-01T08:05:44
Xianzhen Luo, Qingfu Zhu, Zhiming Zhang, Xu Wang, Qing Yang, Dongliang Xu, Wanxiang Che
cs.CL
cs.CL
Instruction tuning plays a pivotal role in Code Large Language Models (Code LLMs) for the task of program synthesis. Presently, two dominant paradigms for collecting tuning data are natural-instruct (human-written) and self-instruct (automatically generated). Natural-instruct includes diverse and correct codes but lacks instruction-code pairs, and exists improper code formats like nested single-line codes. In contrast, self-instruct automatically generates proper paired data. However, it suffers from low diversity due to generating duplicates and cannot ensure the correctness of codes. To bridge the both paradigms, we propose \textbf{Semi-Instruct}. It first converts diverse but improper codes from natural-instruct into proper instruction-code pairs through a method similar to self-instruct. To verify the correctness of generated codes, we design a novel way to construct test cases by generating cases' inputs and executing correct codes from natural-instruct to get outputs. Finally, diverse and correct instruction-code pairs are retained for instruction tuning. Experiments show that semi-instruct is significantly better than natural-instruct and self-instruct. Furthermore, the performance steadily improves as data scale increases.
[ -0.34297388792037964, -0.9453607201576233, 0.20901954174041748, 0.16150076687335968, -0.11195926368236542, 0.3384549915790558, -0.44738683104515076, -0.4172458350658417, -0.07306970655918121, 0.5366367697715759, -0.5348233580589294, -0.5086237788200378, 0.12363816797733307, 0.1917782872915268, -0.4474140703678131, 1.061358094215393, 0.09585323929786682, 0.11775626987218857, -0.35280776023864746, 0.15920819342136383, -0.554819643497467, -0.3991391956806183, -0.39695510268211365, -0.07651853561401367, -0.18994882702827454, 0.6355374455451965, 0.49531763792037964, 0.8355484008789062, 0.05615038052201271, 0.3867114186286926, 0.3416164517402649, 0.3980986773967743, -0.5036575198173523, 0.050021231174468994, 0.01294388435781002, -0.6241269111633301, -0.2696089446544647, 0.11546950042247772, 0.7643922567367554, 0.4267616868019104, -0.3271271884441376, 0.37157145142555237, 0.11827981472015381, 0.6846248507499695, -0.41003382205963135, -0.06129802018404007, -0.5392063856124878, 0.0500151626765728, -0.21387827396392822, -0.5856735110282898, -0.6050618290901184, -0.5940485596656799, -0.23724877834320068, -0.29326456785202026, 0.5580771565437317, 0.32539162039756775, 0.6308783888816833, 0.3972245454788208, -0.4970700442790985, -0.18337160348892212, -0.957943856716156, 0.6265664100646973, -0.9672061204910278, 0.2441299557685852, 0.179000586271286, 0.25099316239356995, -0.4267278015613556, -0.5833816528320312, -0.37507250905036926, -0.2794407308101654, 0.03138319402933121, 0.07236569374799728, 0.14885999262332916, 0.18688641488552094, 0.2826724946498871, 0.8992180228233337, -0.5550106167793274, 0.3926120400428772, -0.44404658675193787, -0.5398162603378296, 0.9281426072120667, 0.2152605950832367, 0.5994106531143188, -0.013754493556916714, -0.24702444672584534, 0.1422259360551834, -1.1727138757705688, -0.06606495380401611, 0.6763694882392883, 0.3807966411113739, -0.3135935962200165, 0.5388311147689819, -0.058720897883176804, 1.084722876548767, 0.39100080728530884, -0.12206144630908966, 0.1369553953409195, -0.615990400314331, -0.29783985018730164, 0.4161607027053833, 0.7026727795600891, 0.30456316471099854, 0.3121420741081238, -0.2504813075065613, -0.24792736768722534, 0.17113995552062988, 0.26605021953582764, -0.7091427445411682, -0.35635408759117126, -0.09653341770172119, -0.36639830470085144, -0.3397967517375946, 0.02997458167374134, -0.8922098875045776, -0.05565711110830307, -0.662413477897644, 0.49488553404808044, -0.1255750209093094, -0.04139265418052673, 0.27628278732299805, 0.14090164005756378, 0.4283504784107208, -0.11619319766759872, -1.0552136898040771, 0.27201133966445923, 0.3713371157646179, 0.5827194452285767, -0.01333653461188078, -0.21746057271957397, -0.7335731387138367, 0.19371621310710907, -0.49819478392601013, 0.6599831581115723, -0.607124924659729, -0.5100440382957458, 0.03894834965467453, -0.019733579829335213, 0.010638970881700516, -0.8021584749221802, 0.37302011251449585, -0.44103315472602844, 0.38518741726875305, 0.10386614501476288, -0.9189322590827942, 0.30654796957969666, -0.037364766001701355, -0.31868669390678406, 1.3362057209014893, 0.2624431252479553, -0.488536536693573, 0.2239750772714615, -0.5764039158821106, -1.0582013130187988, 0.10443376004695892, -0.2190113663673401, -0.5875385999679565, 0.1691635400056839, 0.23718629777431488, 0.41683530807495117, -0.20228229463100433, 0.014612684026360512, -0.32207855582237244, -0.4775872528553009, -0.05485476925969124, -0.27667251229286194, 0.7145693302154541, 0.005685117561370134, -0.5577041506767273, -0.05839853733778, -0.8508698344230652, 0.19728870689868927, 0.08105462044477463, -0.5636749863624573, -0.35476675629615784, 0.01703941822052002, -0.3514241576194763, -0.006946458946913481, 0.22517983615398407, -0.5417335629463196, 0.45983052253723145, -0.7569913864135742, 0.6215600967407227, 0.7679072618484497, 0.19867441058158875, 0.8508148789405823, -0.10637465119361877, 0.5472540855407715, -0.280157208442688, 0.3077712953090668, -0.054776959121227264, -0.2091161459684372, -0.8365758061408997, -0.11900164932012558, 0.42863959074020386, 0.4929952621459961, -0.8266748785972595, 0.4272269010543823, 0.21305719017982483, -0.3383534550666809, -0.6031016707420349, 0.4346863627433777, 0.5506551861763, 0.47574320435523987, 0.29451799392700195, -0.06436546891927719, -0.7027238011360168, -0.9152235984802246, -0.07151979207992554, 0.06992010027170181, 0.12935273349285126, 0.0395825020968914, 0.3186931014060974, -0.1454434096813202, 0.640623152256012, -0.444149374961853, 0.014108551666140556, -0.14031565189361572, 0.22386080026626587, 0.09127314388751984, 0.6479998230934143, 0.4106792211532593, -0.41854628920555115, -0.5736004710197449, -0.048526398837566376, -0.5538217425346375, -0.0834372416138649, -0.2860216796398163, -0.43671295046806335, 0.49114280939102173, 0.67054682970047, 0.0362599715590477, 0.36314284801483154, 0.597054123878479, -0.11520235985517502, 0.6013101935386658, -0.5780450701713562, 0.15049117803573608, -0.9689568877220154, -0.3750697076320648, -0.10909532010555267, -0.249203622341156, -0.5223627090454102, 0.010862533003091812, 0.30939561128616333, 0.08828182518482208, -0.08755428344011307, 0.08043290674686432, -0.9046685695648193, -0.19761602580547333, -0.09040068089962006, -0.3904150128364563, -0.21385733783245087, 0.41921958327293396, -0.2380090355873108, 1.273607611656189, 0.7111945152282715, -0.9692510962486267, 0.30317607522010803, 0.012526901438832283, -0.5568446516990662, 0.3751140534877777, -0.6969447135925293, 0.39963313937187195, 0.13282226026058197, -0.048344213515520096, -0.721977949142456, -0.19840562343597412, -0.011677342467010021, -0.16669557988643646, 0.7051172852516174, -0.5063042640686035, -0.7794731855392456, -0.3810749351978302, -0.0976790264248848, 0.40722665190696716, 0.6868842840194702, -0.7276214957237244, 0.28310737013816833, 0.44553881883621216, 0.13956540822982788, -0.1323949247598648, -0.5886024832725525, -0.014520173892378807, -0.1511491984128952, -0.46913594007492065, 0.372996985912323, -0.33145105838775635, 0.2194031924009323, -0.1036437600851059, -0.2502821385860443, -0.027582233771681786, 0.004903668537735939, 0.18772311508655548, 0.5735816955566406, -0.36264199018478394, 0.20229193568229675, 0.4387592673301697, -0.10904834419488907, 0.16500301659107208, -0.4988625645637512, 0.4734712243080139, -0.18155860900878906, -0.5331767201423645, -0.19453996419906616, 0.2856086194515228, 0.44787776470184326, -0.7121301889419556, 0.39702075719833374, 0.28301405906677246, -0.10766709595918655, -0.9963966608047485, -0.4960820972919464, -0.32018589973449707, -0.5552473664283752, 0.03424372151494026, -0.15005989372730255, -1.0272319316864014, 0.17587170004844666, -0.2617260813713074, 0.31544652581214905, 0.15604017674922943, 0.7557718753814697, -0.31932079792022705, 1.041756510734558, 0.6318393349647522, -0.021999316290020943, 0.47957703471183777, -0.31588199734687805, 0.46091988682746887, -0.5787144899368286, -0.10335391759872437, -0.4504856467247009, -0.17065691947937012, -0.6944518685340881, -0.3212658166885376, 0.6338766813278198, -0.32865384221076965, -0.15379036962985992, 0.2069532573223114, -0.7797038555145264, 0.7391776442527771, 0.7671836018562317, 0.16481445729732513, 0.15698207914829254, 0.04329751059412956, -0.08041662722826004, 0.03252900764346123, -0.8685756325721741, -0.42453140020370483, 1.117957592010498, -0.033486396074295044, 1.0513365268707275, -0.08949790149927139, 1.1585114002227783, 0.3705705404281616, -0.09098974615335464, -0.5935394763946533, 0.4458794593811035, -0.14865443110466003, -0.7594294548034668, -0.15283699333667755, -0.5468740463256836, -0.8423910737037659, -0.2898854613304138, -0.16679950058460236, -0.34858888387680054, -0.07416951656341553, 0.6446730494499207, -0.5345494747161865, 0.19754061102867126, -1.0304155349731445, 1.0431376695632935, -0.5045222043991089, -0.5397005081176758, -0.2677728235721588, -0.68324875831604, 0.4995855987071991, 0.18660765886306763, 0.06556610018014908, 0.2759791612625122, 0.3240759074687958, 0.6483288407325745, -0.1890418529510498, 1.1327310800552368, 0.03165009245276451, -0.20763805508613586, 0.5096662640571594, 0.4675356149673462, 0.4645857512950897, 0.26242682337760925, 0.043811388313770294, -0.33621159195899963, 0.23406122624874115, -0.3456859588623047, -0.6992042660713196, 0.6817042231559753, -0.7793263792991638, -0.5416662096977234, -0.16805694997310638, -0.44446152448654175, -0.2924697995185852, 0.21591481566429138, 0.30549609661102295, 0.9837994575500488, -0.07787586003541946, -0.04841112717986107, 1.0460872650146484, -0.22516386210918427, 0.3419989347457886, 0.531805694103241, -0.015301255509257317, -0.17891938984394073, 1.134333848953247, -0.024882497265934944, 0.5932585597038269, 0.4408073425292969, 0.22079360485076904, -0.16940854489803314, -0.5951336026191711, -0.6468793749809265, 0.15728002786636353, -0.4435727596282959, -0.34704914689064026, 0.03823568671941757, -0.42763659358024597, -0.17758242785930634, -0.1166827455163002, -0.6390609741210938, -0.07720678299665451, -0.1151353269815445, -0.051053475588560104, 0.1663118451833725, 0.7405442595481873, -0.12752975523471832, -0.08852125704288483, -0.9240567684173584, 0.40608179569244385, 0.4520503878593445, 0.4422604441642761, -0.23923400044441223, -0.5036147832870483, -0.508674144744873, 0.2052365392446518, -0.09170158952474594, -0.8983179330825806, 0.15558843314647675, 0.26020151376724243, 0.5891340970993042, 0.3596609830856323, 0.4379841685295105, 0.6083939671516418, -0.6748403906822205, 0.5161958336830139, -0.07278219610452652, -1.0002660751342773, 0.7884414792060852, -0.07903507351875305, 0.350021630525589, 0.6656824350357056, -0.0015833195066079497, -0.3268992006778717, -0.5888252854347229, -0.5221512317657471, -0.6037294268608093, 0.6816340088844299, 0.10446548461914062, 0.183897465467453, 0.0682867094874382, 0.26675429940223694, 0.36544397473335266, 0.05127715319395065, -0.40679389238357544, -0.3144001066684723, -0.09692610055208206, -0.2674751877784729, -0.014126955531537533, -0.2225860208272934, -0.19210727512836456, -0.523659348487854, 0.626986563205719, -0.16356904804706573, 0.41119876503944397, 0.05107194557785988, -0.12693803012371063, -0.22156964242458344, 0.165498748421669, 0.5050040483474731, 0.4994012415409088, -0.12425979226827621, 0.2884865403175354, 0.11192654073238373, -0.13392886519432068, 0.12020359933376312, -0.26623308658599854, -0.42090904712677, -0.25553077459335327, 0.39128828048706055, 0.706928014755249, 0.5417546033859253, -0.42592647671699524, 0.16902926564216614, 0.019266434013843536, -0.09457089006900787, -0.26212960481643677, 0.48798954486846924, 0.08481816202402115, 0.03838631883263588, -0.12742415070533752, 0.040707625448703766, 0.2133447527885437, -0.6419625282287598, 0.19490313529968262, 0.4303396940231323, 0.05211197957396507, -0.3883999288082123, 0.35268503427505493, 0.5948185324668884, -0.361764520406723, 0.9857490658760071, -0.5286323428153992, -0.5136879086494446, 0.7163599729537964, 0.8490921258926392, 0.7079078555107117, -0.11854349076747894, 0.32101869583129883, 0.6104157567024231, 0.43154892325401306, 0.011740043759346008, 0.3612791895866394, -0.3331005275249481, -0.633506178855896, -0.5653614401817322, -0.5714945197105408, -0.21787309646606445, -0.07840191572904587, -0.7597036361694336, 0.15962499380111694, -0.5433390140533447, 0.2745540142059326, -0.16469812393188477, -0.03654933348298073, -0.4805207848548889, 0.06064445897936821, 0.21573984622955322, 0.7953216433525085, -0.9499367475509644, 0.9311721920967102, 0.8555985689163208, -0.19232724606990814, -1.0602285861968994, 0.0015288341091945767, -0.02657587081193924, -0.696474015712738, 0.10025317221879959, 0.04419434443116188, -0.1627110242843628, 0.26244014501571655, -0.7741723656654358, -0.5644188523292542, 0.8094940781593323, 0.4380073547363281, -0.6870478391647339, 0.17229537665843964, 0.033202607184648514, 0.5066315531730652, -0.24623294174671173, -0.01651296392083168, 0.6071303486824036, 0.364132821559906, 0.09737180918455124, -0.8637651205062866, -0.030223941430449486, -0.21438810229301453, -0.09047218412160873, 0.616527795791626, -0.634541928768158, 0.41241955757141113, -0.35837340354919434, -0.5474264025688171, -0.03702438995242119, 0.6939990520477295, -0.008652770891785622, 0.30664342641830444, 0.47810274362564087, 0.37547504901885986, 0.6995105743408203, 0.04807310178875923, 0.9540984034538269, -0.5281199216842651, 0.3260705769062042, 1.2109884023666382, -0.10866641998291016, 0.533955454826355, 0.4019618034362793, -0.4127066731452942, 0.4026339054107666, 0.7790107131004333, -0.2410990595817566, 0.45335355401039124, 0.1937737911939621, -0.08630900830030441, -0.5921412110328674, 0.31374865770339966, -0.4123387634754181, 0.5134231448173523, 0.05801524221897125, -0.08089473843574524, -0.1993330866098404, -0.29442527890205383, -0.12284759432077408, 0.3483821451663971, -0.16639935970306396, 0.783917248249054, -0.059557925909757614, -0.9093790054321289, 0.7252103686332703, 0.026562968268990517, 0.5335359573364258, -0.6886241436004639, -0.20909151434898376, -0.369044691324234, 0.11241544038057327, -0.337373286485672, -0.6713215112686157, 0.30642327666282654, -0.12802237272262573, -0.22857455909252167, -0.21188586950302124, 0.5439940690994263, -0.6194642782211304, -0.6696535348892212, -0.04732907563447952, 0.2623659670352936, -0.053442105650901794, 0.4108474552631378, -0.5563814640045166, -0.17895743250846863, 0.2370501607656479, 0.08024080842733383, 0.3389086127281189, 0.4140574336051941, -0.045034170150756836, 0.5496407747268677, 0.6376198530197144, 0.047753654420375824, 0.4737361967563629, 0.18037964403629303, 0.7382603883743286, -0.5015972852706909, -0.47237709164619446, -0.8436504006385803, 0.4142017960548401, -0.13143646717071533, -0.34664419293403625, 0.7653339505195618, 0.8358539938926697, 0.9809162616729736, -0.35332706570625305, 0.6395116448402405, -0.2784459590911865, 0.13874128460884094, -0.8803271651268005, 0.3927949368953705, -0.45843908190727234, 0.24400228261947632, 0.007639170624315739, -0.7260745763778687, -0.08209773153066635, 0.43855106830596924, -0.23964333534240723, 0.06578806042671204, 0.5994399785995483, 1.31715989112854, -0.3493324816226959, 0.02290371246635914, 0.11926521360874176, 0.17977459728717804, 0.13668550550937653, 0.6977288722991943, 0.9276828169822693, -0.17236292362213135, 0.3588331937789917, -0.5495244860649109, -0.38155826926231384, -0.05043848976492882, -0.8027786016464233, -1.1756268739700317, -0.524878740310669, -0.5955151319503784, -0.14398691058158875, -0.10203813016414642, 1.0412665605545044, 0.8691630959510803, -0.8765369057655334, -0.4024066925048828, -0.29209014773368835, 0.2504962980747223, -0.34458646178245544, -0.19614781439304352, 0.18630659580230713, -0.5954931378364563, -0.7592038512229919, 0.6205112338066101, 0.5535420775413513, 0.06600549817085266, -0.416847825050354, -0.24862006306648254, -0.10673952102661133, 0.04832569137215614, 0.3938545286655426, 0.47900763154029846, -0.3665158748626709, -0.07024609297513962, -0.025310562923550606, -0.14002792537212372, 0.06143911927938461, 0.9441846013069153, -0.666391909122467, 0.6712283492088318, 0.2988051176071167, 0.8134990930557251, 0.451202929019928, -0.17478488385677338, 0.8782139420509338, -0.7970075011253357, -0.13450025022029877, 0.16864189505577087, 0.1845700889825821, 0.23729351162910461, -0.5516526103019714, 0.43970173597335815, 0.04599922522902489, -0.6348706483840942, -0.9804307818412781, 0.4846281409263611, -0.805728018283844, -0.018233569338917732, 1.0130290985107422, 0.17343538999557495, -0.34635016322135925, 0.14939457178115845, -0.3124730587005615, 0.45302921533584595, -0.17191006243228912, 0.9544138312339783, 0.28063255548477173, -0.1320543885231018, -0.027012422680854797, -0.5679247975349426, 0.4301021695137024, 0.3743877708911896, -0.8873997926712036, -0.013660015538334846, 0.5068790316581726, 0.36315518617630005, -0.3152347505092621, 0.10158887505531311, 0.048453811556100845, 0.40983906388282776, -0.028856953606009483, 0.20952969789505005, -0.3524783253669739, -0.31093302369117737, -0.07367584854364395, -0.06860999017953873, 0.1777508705854416, -0.41418272256851196 ]
http://arxiv.org/abs/2403.00871v1
http://arxiv.org/pdf/2403.00871v1
Teach LLMs to Phish: Stealing Private Information from Language Models
2024-03-01T06:15:07
2024-03-01T06:15:07
Ashwinee Panda, Christopher A. Choquette-Choo, Zhengming Zhang, Yaoqing Yang, Prateek Mittal
cs.CR
cs.CR, cs.AI, cs.CL, cs.LG
When large language models are trained on private data, it can be a significant privacy risk for them to memorize and regurgitate sensitive information. In this work, we propose a new practical data extraction attack that we call "neural phishing". This attack enables an adversary to target and extract sensitive or personally identifiable information (PII), e.g., credit card numbers, from a model trained on user data with upwards of 10% attack success rates, at times, as high as 50%. Our attack assumes only that an adversary can insert as few as 10s of benign-appearing sentences into the training dataset using only vague priors on the structure of the user data.
[ 0.07353228330612183, -0.8445745706558228, 0.3057805895805359, -0.18774332106113434, -0.0008566107135266066, -0.0831340029835701, 0.0819927304983139, -0.4126429557800293, 0.041270092129707336, 0.7259606719017029, -0.4336633086204529, -0.35587388277053833, -0.5232895016670227, -0.30100399255752563, -0.7596216797828674, 1.1326993703842163, 0.7639304399490356, 0.2768374979496002, 0.24490754306316376, 0.5316057205200195, 0.08704816550016403, -0.8175417184829712, -0.6571858525276184, -0.0473250187933445, 0.867253839969635, 0.5530647039413452, 0.5966622829437256, 0.6793185472488403, 0.7390733361244202, 0.2674972712993622, 0.15401695668697357, -0.6533055305480957, -0.5701829195022583, 0.16170254349708557, -0.3185812532901764, -0.8449017405509949, -0.4111432731151581, 0.08974617719650269, 0.35201725363731384, 0.5245963335037231, -0.06447392702102661, 0.1498332917690277, -0.3266957700252533, 0.7788098454475403, -0.7012009024620056, -0.007374809123575687, -0.9550325274467468, 0.15065224468708038, -0.528901219367981, -0.3304216265678406, -0.6095584630966187, -0.31661921739578247, 0.38269171118736267, -0.2598227858543396, 0.18505971133708954, 0.04300496354699135, 0.5880013704299927, -0.23833496868610382, -0.20798549056053162, -0.2248157113790512, -0.5689460635185242, 0.5182305574417114, -0.7588557004928589, -0.014225461520254612, 0.8131510615348816, 0.3994676470756531, -0.007157177664339542, -0.7107462882995605, -0.5147843360900879, -0.19341805577278137, 0.05045362189412117, -0.09411237388849258, -0.3885331153869629, 0.050045523792505264, 0.5486587882041931, 0.6864516735076904, -0.4446345567703247, 0.2727448642253876, -0.815731406211853, 0.07218463718891144, 0.9294337630271912, 0.07602052390575409, 0.6834012269973755, -0.27571994066238403, -0.3986245393753052, 0.04847615584731102, -0.8469399809837341, 0.1102742999792099, 0.8719790577888489, 0.3985520005226135, -0.17844483256340027, 0.6968191862106323, 0.12072677165269852, 0.5191425681114197, 0.08414400368928909, -0.19426394999027252, -0.031463414430618286, 0.13272307813167572, -0.520991861820221, 0.13639603555202484, 0.7037990689277649, 0.06337977945804596, 0.6817082166671753, -0.4528961777687073, -0.27712324261665344, 0.06649691611528397, 0.5524376630783081, -0.6292491555213928, -0.5823062062263489, 0.13591374456882477, -0.43249213695526123, -0.8347926139831543, 0.008423099294304848, -1.3849217891693115, -0.8370444178581238, 0.1770922988653183, 0.010376711376011372, -0.4662702977657318, -0.2762231230735779, 0.11035825312137604, -0.17097152769565582, 0.4746621549129486, -0.07747635990381241, -1.323769450187683, 0.625482439994812, 0.854371190071106, 0.5850925445556641, -0.2666415274143219, -0.19595448672771454, -0.6526216268539429, 0.17554302513599396, -0.17012235522270203, 0.41355010867118835, -0.5213634967803955, -0.5090311765670776, 0.09872547537088394, -0.07888022810220718, -0.0835639238357544, -0.4571613371372223, 0.1564473658800125, -0.8135213851928711, 0.2869417369365692, -0.05387289822101593, -0.5544533133506775, -0.05142923444509506, 0.17119278013706207, -0.6424731016159058, 0.5054992437362671, 0.02025359682738781, -0.9382358193397522, -0.28258633613586426, -0.37391623854637146, -0.5558322072029114, 0.04083459824323654, -0.2178497016429901, -0.32333725690841675, 0.30038225650787354, -0.15458300709724426, 0.6524600386619568, -0.2054339200258255, 0.1651870608329773, -0.5910214185714722, -0.1899646371603012, 0.6873238682746887, -0.599868893623352, 1.129010558128357, 0.22732453048229218, -0.5864327549934387, -0.10849446803331375, -1.0724154710769653, -0.28659355640411377, 0.46551385521888733, -0.3091195523738861, -0.5003840923309326, -0.2973528206348419, -0.17104487121105194, 0.08527950942516327, -0.00728364335373044, -0.4638718366622925, 0.15669342875480652, -0.822192370891571, 0.39695581793785095, 1.080700397491455, 0.23685157299041748, 0.8377218246459961, -0.5211228728294373, 0.5694295763969421, -0.12666766345500946, 0.10684049129486084, -0.31653204560279846, -0.5519195199012756, -0.541969358921051, -0.22677607834339142, 0.14436759054660797, 0.769987940788269, -0.29404038190841675, 0.22763650119304657, -0.25802651047706604, -0.5737107396125793, -0.30741754174232483, 0.20088742673397064, 0.28674033284187317, 0.6336629390716553, -0.019074879586696625, -0.17946365475654602, -0.10566848516464233, -1.0106301307678223, -0.5278558135032654, 0.03294924646615982, -0.14659804105758667, 0.2151329517364502, 0.30012601613998413, 0.18543685972690582, 0.5607113242149353, -0.40721315145492554, -0.15307876467704773, -0.07458840310573578, -0.14824724197387695, -0.0576891228556633, 0.7833563089370728, 0.3150410056114197, -0.7292730808258057, -0.3748827576637268, -0.14129631221294403, -0.7627837657928467, 0.3433743715286255, -0.37437209486961365, -0.025587409734725952, -0.2748490571975708, 0.24586369097232819, -0.7449942827224731, 0.830713152885437, 0.1748453676700592, -0.3682911694049835, 0.33540377020835876, -0.10981537401676178, -0.18086354434490204, -1.095671534538269, -0.07315699756145477, 0.048845212906599045, 0.17410336434841156, -1.002178430557251, 0.07557924836874008, 0.14195775985717773, -0.521734356880188, -0.6953918933868408, 0.42728689312934875, -0.5714234113693237, -0.13293179869651794, -0.14571373164653778, -0.03229600191116333, -0.3263982832431793, 0.6481122970581055, -0.31974709033966064, 0.6593054533004761, 0.8259222507476807, -0.592900812625885, 0.4691408574581146, 0.01915964111685753, -0.43341711163520813, 0.49808600544929504, -0.39222750067710876, 0.7028031945228577, 0.08395189791917801, -0.2989364266395569, -0.9123844504356384, -0.5267153382301331, 0.565824568271637, -0.7540572285652161, 0.5566514134407043, -0.06479661166667938, -0.4695596992969513, 0.08169897645711899, -0.3842124342918396, 0.14871332049369812, 0.5061337947845459, -0.5480783581733704, 0.7189077138900757, 0.672408401966095, -0.32912248373031616, -0.6823018193244934, -1.0824183225631714, 0.08407409489154816, -0.4499882459640503, -0.539147675037384, 0.3563717305660248, 0.18893787264823914, -0.49965226650238037, -0.1566341668367386, -0.013098633848130703, -0.32169756293296814, 0.46596014499664307, 0.37455978989601135, 0.19722579419612885, -0.1697738766670227, -0.0023320454638451338, -0.18178337812423706, -0.1751306802034378, 0.4663650393486023, -0.23615460097789764, 0.674127459526062, 0.1410069614648819, -0.526311457157135, -1.072758436203003, 0.5648096203804016, 0.48240000009536743, -0.15591229498386383, 0.7160038948059082, 0.05577053129673004, -0.7161078453063965, -0.05264579504728317, -0.5271981358528137, -0.6008560657501221, -0.4893631041049957, 0.3701919615268707, -0.14099015295505524, -0.45692312717437744, 0.38136306405067444, 0.07049661129713058, 0.25940412282943726, 0.04782808944582939, 0.22651447355747223, -0.11032184958457947, 0.9394922256469727, 0.8914570212364197, -0.46425947546958923, 0.6015496850013733, -0.1954583376646042, 0.21688072383403778, -0.28545212745666504, -0.5723055601119995, -0.4842265248298645, -0.282432496547699, -0.5517725348472595, 0.0137315159663558, -0.42108964920043945, -0.03527012839913368, -0.16422627866268158, 0.10869885981082916, -0.1579047292470932, 0.4711449444293976, 0.7148911356925964, 0.236108660697937, 0.09778327494859695, 0.6325023174285889, 0.18049657344818115, -0.317557692527771, -0.26465144753456116, -0.4483483135700226, 1.5293619632720947, 0.4419563114643097, 0.789768397808075, 0.23067565262317657, 0.6656479239463806, 0.3410693407058716, 0.32183709740638733, -0.6704026460647583, 0.5129866003990173, -0.04808320477604866, -0.7279699444770813, -0.21928779780864716, -0.3283138871192932, -0.9709341526031494, -0.02159636840224266, -0.24225342273712158, -1.1973204612731934, 0.21566897630691528, -0.17616692185401917, -0.6442133784294128, 0.6758941411972046, -0.7005669474601746, 0.5304283499717712, -0.49355271458625793, -0.4512293338775635, -0.22764819860458374, -0.665065348148346, 0.5676378011703491, -0.30327966809272766, 0.3824932277202606, -0.14721514284610748, -0.048976048827171326, 0.8358832001686096, -0.2078961282968521, 1.132442831993103, -0.19987578690052032, 0.05726001039147377, -0.05972063168883324, 0.17901895940303802, 0.5811407566070557, 0.17916424572467804, -0.1794314980506897, 0.0414373017847538, -0.401711642742157, -0.601200520992279, -0.99847012758255, 0.6216315627098083, -0.6806783080101013, -0.7774738669395447, -0.5036616921424866, -0.2492007166147232, -0.2045006901025772, 0.06290493160486221, 0.2668535113334656, 0.102068692445755, 0.10225141048431396, 0.08600117266178131, 0.7258604764938354, -0.22830483317375183, 0.41703858971595764, 0.34099844098091125, -0.045972444117069244, -0.6758157014846802, 1.097989559173584, -0.04406660795211792, 0.28628894686698914, 0.19267705082893372, 0.2501518428325653, 0.05059945210814476, -0.6083357930183411, -0.008987554349005222, 0.5049552917480469, -0.6811589002609253, -0.12153377383947372, -0.6624419093132019, -0.42859190702438354, -0.5743058323860168, -0.16603419184684753, -0.1521560251712799, -0.447771817445755, -0.48869192600250244, -0.4163462817668915, 0.2429291158914566, 0.8790202736854553, 0.05410533770918846, 0.9307414293289185, -0.746566891670227, 0.09474650770425797, 0.4314943850040436, 0.10408042371273041, 0.0467374324798584, -0.6492394208908081, 0.1105392649769783, -0.23540636897087097, -0.22202861309051514, -1.4789388179779053, 0.576072633266449, -0.04271151125431061, 0.6946478486061096, 0.6885234117507935, -0.10287892818450928, 0.4942053258419037, -0.2436673641204834, 0.7316184043884277, 0.42762449383735657, -0.7294345498085022, 0.6867493391036987, -0.24614502489566803, -0.06800761818885803, 0.669144868850708, 0.6226415634155273, -0.4698142111301422, -0.18770895898342133, -1.098174810409546, -0.664382815361023, 0.7748995423316956, 0.05441891774535179, 0.5027176737785339, 0.17642436921596527, 0.7271652221679688, 0.06567615270614624, 0.18719378113746643, -1.0324914455413818, -0.4795997738838196, 0.37767493724823, -0.3259628713130951, 0.08928722888231277, -0.683879017829895, 0.012650416232645512, -0.17923392355442047, 0.4011009931564331, 0.37876102328300476, 0.2469460368156433, -0.23616822063922882, -0.080543652176857, 0.14341884851455688, -0.029756421223282814, 0.30586397647857666, 0.4254726469516754, 0.24843600392341614, 0.1620701253414154, 0.0038216374814510345, -0.722422182559967, 0.026672717183828354, 0.06297557055950165, -0.3942483961582184, -0.3035260736942291, 0.37044477462768555, 0.299156129360199, 0.5165786147117615, -0.5534480214118958, 0.82484370470047, -0.2063256949186325, -0.2262694090604782, -0.5716314911842346, 0.17191892862319946, 0.06342364102602005, 0.2839837968349457, 0.29467085003852844, 0.15159328281879425, 0.10226225107908249, -0.31615111231803894, 0.6335505843162537, 0.3413362205028534, -0.39141130447387695, -0.6505103707313538, 0.37117570638656616, 0.03064059652388096, -0.8896263241767883, 1.0840059518814087, 0.32280978560447693, -0.3575427234172821, 0.43974289298057556, 0.5499263405799866, 0.7963099479675293, -0.7423664927482605, -0.005372251383960247, 0.16102531552314758, 0.3800835609436035, 0.07025771588087082, 0.22518107295036316, -0.17908379435539246, -0.3485226631164551, 0.12754656374454498, -0.14177154004573822, -0.1402866393327713, 0.6561347842216492, -0.8638970851898193, 0.3497501313686371, -1.1304868459701538, -0.09349851310253143, 0.18225623667240143, -0.18134482204914093, -0.5217545032501221, 0.047591861337423325, 0.35022956132888794, 0.7372609376907349, -0.4957539439201355, 1.0741841793060303, 0.013591310940682888, -0.35011932253837585, -0.6001501083374023, -0.009053845889866352, 0.3206515908241272, -0.8475877642631531, 0.7264264822006226, 0.2501131296157837, 0.2745839059352875, -0.05850527063012123, -0.6907426118850708, -0.7890949845314026, 0.7526441216468811, 0.7515220046043396, -0.6777342557907104, -0.38923758268356323, 0.37653520703315735, 0.14818188548088074, -0.3989059627056122, -0.16861054301261902, 0.5832640528678894, 0.0747532770037651, -0.21936829388141632, -0.21197377145290375, -0.2024434506893158, -0.42457038164138794, -0.40409180521965027, -0.33710235357284546, -0.18085484206676483, 1.138001561164856, -0.21380996704101562, -0.47066912055015564, -0.22970524430274963, 0.7420824766159058, 0.02276003360748291, 0.28226330876350403, 0.319440633058548, 0.2921900749206543, 1.2215431928634644, 0.2653105854988098, 1.06864333152771, -0.380535751581192, -0.02972777746617794, 1.1835496425628662, -0.09827110171318054, 1.0254769325256348, 0.473745197057724, 0.06493978202342987, 0.21324783563613892, 0.7663680911064148, -0.17710646986961365, 0.7348004579544067, 0.639013409614563, -0.3108826279640198, 0.130702942609787, 0.5281537175178528, -0.3065568506717682, 0.539379894733429, 0.5494102835655212, -0.7721502184867859, -0.0880686566233635, 0.17564526200294495, 0.39497873187065125, 0.1521729677915573, -0.09404607117176056, 0.8384513854980469, 0.3368450701236725, -0.23356063663959503, 0.23426978290081024, 0.09443677961826324, 0.6654925346374512, -0.651645302772522, 0.13739296793937683, -0.30598580837249756, 0.24434131383895874, -0.26545822620391846, -0.08761774003505707, 0.23872463405132294, 0.313062459230423, -0.10402368754148483, -0.12440483272075653, 0.7728056311607361, -0.11866874247789383, -0.4681525230407715, 0.2951453626155853, 0.355334609746933, 0.22574855387210846, -0.22073589265346527, -0.9900912642478943, -0.2768051326274872, 0.1152467206120491, -0.4764612019062042, 0.7910894751548767, 0.16858160495758057, 0.5133129358291626, 0.829344630241394, 0.9414581060409546, 0.4657038152217865, 0.38531115651130676, -0.10412507504224777, 0.7265524864196777, -0.9586941599845886, -0.6319760084152222, -1.5119788646697998, 0.3167608976364136, -0.6014195680618286, -0.23886588215827942, 1.0427196025848389, 0.6885589361190796, 0.9468407034873962, 0.035821545869112015, 0.8296849131584167, 0.5383169054985046, 0.3783082365989685, -0.3933309018611908, 0.9962600469589233, -0.21526192128658295, 0.6637822985649109, -0.03475584462285042, -0.5586628913879395, -0.28722724318504333, 0.5322798490524292, -0.6342276334762573, -0.14236654341220856, 0.6823382377624512, 0.8523402214050293, 0.08310007303953171, 0.4503710865974426, 0.42975303530693054, -0.01633867435157299, 0.4759352207183838, 0.48465171456336975, 0.9869099855422974, -0.2804213762283325, 0.4144935607910156, -0.7254613041877747, -0.22443291544914246, 0.028699761256575584, -0.4394208490848541, -1.099976897239685, -0.33092939853668213, -0.30150067806243896, -0.464347243309021, 0.028267908841371536, 0.5190367698669434, 0.7230586409568787, -0.7836176753044128, -0.408647358417511, -0.03677213564515114, 0.05148836225271225, 0.15509331226348877, -0.22529108822345734, 0.34915027022361755, -0.2569098472595215, -0.5962448716163635, 0.44806885719299316, 0.3300219774246216, 0.37707942724227905, -0.5851356983184814, 0.4035051167011261, -0.23176144063472748, 0.12353647500276566, 0.009549682959914207, 0.3322787284851074, -0.6134262084960938, 0.12832282483577728, 0.1842963546514511, -0.39399003982543945, 0.07486086338758469, 1.1695778369903564, -0.3231762647628784, 0.21166947484016418, 0.15340591967105865, 1.2233829498291016, 0.30715295672416687, -0.1643996387720108, 0.5819738507270813, -0.45983046293258667, 0.14520137012004852, 0.37604808807373047, 0.11844155937433243, 0.325735479593277, -0.833128035068512, 0.12650719285011292, 0.5559726357460022, -0.1295802742242813, -1.0187592506408691, 0.1174122616648674, -0.7644833326339722, -0.4030403792858124, 1.117061734199524, -0.4748525023460388, -0.8891633152961731, -0.2575017809867859, 0.08602588623762131, -0.07633192837238312, -0.32288679480552673, 0.9637380838394165, 0.5294179916381836, 0.3057107627391815, -0.023321548476815224, -0.7524576187133789, 0.7167472839355469, 0.17187121510505676, -0.8686330914497375, 0.1741221696138382, 0.13253681361675262, 0.47275009751319885, -0.011101529002189636, 0.7991600632667542, -0.37414202094078064, 0.22041413187980652, 0.33739086985588074, -0.34675684571266174, -0.06403379142284393, -0.323239266872406, -0.7860392332077026, 0.7406671047210693, -0.2746713161468506, -0.2549755275249481 ]
http://arxiv.org/abs/2403.00292v1
http://arxiv.org/pdf/2403.00292v1
DPP-Based Adversarial Prompt Searching for Lanugage Models
2024-03-01T05:28:06
2024-03-01T05:28:06
Xu Zhang, Xiaojun Wan
cs.CL
cs.CL
Language models risk generating mindless and offensive content, which hinders their safe deployment. Therefore, it is crucial to discover and modify potential toxic outputs of pre-trained language models before deployment. In this work, we elicit toxic content by automatically searching for a prompt that directs pre-trained language models towards the generation of a specific target output. The problem is challenging due to the discrete nature of textual data and the considerable computational resources required for a single forward pass of the language model. To combat these challenges, we introduce Auto-regressive Selective Replacement Ascent (ASRA), a discrete optimization algorithm that selects prompts based on both quality and similarity with determinantal point process (DPP). Experimental results on six different pre-trained language models demonstrate the efficacy of ASRA for eliciting toxic content. Furthermore, our analysis reveals a strong correlation between the success rate of ASRA attacks and the perplexity of target outputs, while indicating limited association with the quantity of model parameters.
[ -0.2787856161594391, -0.7569367289543152, 0.5476634502410889, 0.2653583586215973, -0.09863831847906113, 0.11910223960876465, 0.08573488891124725, -0.11339178681373596, -0.1825437694787979, 0.35341116786003113, -0.8834543228149414, -0.38447603583335876, -0.6623679399490356, 0.1981794387102127, -0.42673346400260925, 0.7620345950126648, 0.14207805693149567, -0.3218643367290497, 0.38704028725624084, 0.24612195789813995, -0.5931529402732849, -0.5235817432403564, -1.1334846019744873, -0.2802353799343109, 0.8391198515892029, 0.23739293217658997, 0.7543748617172241, 0.5963878631591797, 0.16027319431304932, 0.33827897906303406, -0.26359787583351135, 0.13431169092655182, -0.4418514370918274, 0.3059317171573639, -0.2668251395225525, -0.37544500827789307, -0.17146193981170654, 0.16870491206645966, 0.5699583888053894, 0.36370712518692017, -0.4175277054309845, -0.05570109561085701, 0.25066280364990234, 0.5725193619728088, -0.6583771109580994, -0.14279018342494965, -0.9671921133995056, 0.039850588887929916, -0.22398518025875092, -0.2521574795246124, -0.6407499313354492, -0.4400267004966736, 0.016660936176776886, -0.6517252326011658, -0.027428703382611275, -0.1892727017402649, 0.8411855697631836, 0.358967125415802, -0.253872811794281, -0.5277239084243774, -0.4822898805141449, 0.802612841129303, -0.7126570343971252, 0.024932699277997017, 0.3697538375854492, 0.29926303029060364, -0.4515308439731598, -0.4605620503425598, -0.4666159749031067, -0.40076446533203125, 0.04485974833369255, 0.023008067160844803, -0.5852758884429932, 0.05480826273560524, 0.06789863109588623, 0.03454790636897087, -0.7399346232414246, 0.505189061164856, -0.026454618200659752, -0.14103637635707855, 0.805249035358429, 0.31408631801605225, 0.5225719809532166, -0.2972122132778168, -0.29567721486091614, -0.32110917568206787, -0.764847457408905, -0.059804342687129974, 0.7899825572967529, 0.6312836408615112, 0.2340322732925415, 0.1495000571012497, -0.16495513916015625, 0.8056155443191528, 0.24866147339344025, 0.35773831605911255, 0.06307369470596313, -0.06688625365495682, -0.07276149839162827, -0.049681276082992554, 1.1666319370269775, -0.011645234189927578, 0.024913808330893517, 0.27943989634513855, -0.2969095706939697, 0.14406469464302063, 0.5350425243377686, -0.5757701992988586, -0.4286021292209625, 0.13953790068626404, -0.20517677068710327, -0.7545450925827026, -0.4342585504055023, -0.8351696729660034, -0.5467970371246338, 0.08775714039802551, 0.3730235993862152, -0.5706201791763306, -0.16656583547592163, 0.14039625227451324, -0.03168174996972084, -0.31922274827957153, 0.5030858516693115, -0.7060303688049316, -0.03231063112616539, 0.29096922278404236, 0.5632134079933167, -0.14938269555568695, -0.4428916871547699, -0.7196900248527527, -0.1705981343984604, -0.4633970856666565, 0.8967608213424683, -0.6577666401863098, -0.5296670794487, 0.06597980856895447, -0.24771645665168762, -0.13741035759449005, -0.5544431209564209, 0.72186279296875, -0.8731316924095154, 0.43216121196746826, -0.4516298174858093, -0.01708064414560795, -0.285854697227478, 0.326534628868103, -0.5417200326919556, 1.0906563997268677, -0.17913870513439178, -0.7172632813453674, 0.11654338240623474, -0.7368252277374268, -0.32332324981689453, -0.049807108938694, -0.11309172213077545, -0.38999101519584656, -0.09101404994726181, 0.31147781014442444, 0.2922288179397583, -0.3762136697769165, 0.2554761469364166, -0.15289151668548584, -0.245113343000412, 0.32266005873680115, -0.6363620758056641, 0.9508218765258789, 0.5383386015892029, -0.45409318804740906, 0.2705995440483093, -0.6966995000839233, -0.2145511656999588, 0.5161020755767822, -0.307576447725296, -0.4624241888523102, 0.18812930583953857, -0.2293350249528885, 0.267959862947464, 0.2873697578907013, -0.41206982731819153, 0.07872536778450012, -0.3154853582382202, 0.04426418989896774, 1.049207329750061, 0.131827712059021, 0.24723634123802185, -0.4330117106437683, 0.7077346444129944, 0.007439554203301668, 0.42838555574417114, -0.05772632360458374, -0.5231663584709167, -0.3653081953525543, -0.12409338355064392, -0.14115487039089203, 0.6010177135467529, -0.8800522685050964, 0.4054766297340393, 0.1711910516023636, -0.737050473690033, -0.4722259044647217, -0.11506239324808121, 0.45653966069221497, 0.7205745577812195, 0.3691413700580597, 0.019898373633623123, -0.5060969591140747, -0.6090410947799683, -0.2863801121711731, -0.4675408899784088, -0.09211890399456024, 0.34161612391471863, 0.055677615106105804, -0.382229208946228, 0.6465925574302673, -0.6829997897148132, -0.32383063435554504, -0.11220137774944305, 0.2866571247577667, 0.3822827637195587, 0.14773282408714294, 0.6429550647735596, -0.5858355164527893, -0.8441033959388733, -0.28188762068748474, -0.6024578809738159, -0.6840959787368774, -0.20556586980819702, 0.1048852875828743, -0.03140880540013313, 0.46471431851387024, -0.307736337184906, 0.0884632095694542, 0.5640977621078491, -0.142168328166008, 0.6540457010269165, -0.28813794255256653, 0.3148164451122284, -0.6516748070716858, 0.3677842319011688, -0.0577695369720459, 0.1101381927728653, -0.7613969445228577, 0.29226744174957275, -0.12275596708059311, -0.3964519202709198, -0.5171597003936768, 0.5565264225006104, -0.29136598110198975, 0.3714878559112549, -0.29196828603744507, 0.23479679226875305, 0.14814290404319763, 0.29819267988204956, -0.11535732448101044, 0.9272536635398865, 0.44912809133529663, -0.7343187928199768, 0.3307783901691437, 0.3840829133987427, 0.09598655998706818, 0.4431353807449341, -0.5521814227104187, 0.13648483157157898, -0.30453190207481384, 0.21149060130119324, -0.9837107062339783, 0.20083624124526978, 0.40351107716560364, -0.533599317073822, 0.18753014504909515, -0.10086841136217117, -0.4617874324321747, -0.40348997712135315, -0.2817980647087097, 0.2028721123933792, 0.5071195363998413, -0.5624706149101257, 0.4247184097766876, 0.39354804158210754, -0.4349503517150879, -0.7759268283843994, -0.3912303149700165, 0.1177324429154396, -0.4503490924835205, -0.2612992525100708, 0.3120526075363159, -0.19860510528087616, 0.010136457160115242, -0.2946966290473938, 0.298088401556015, 0.13801701366901398, 0.3813949525356293, 0.012908149510622025, 0.1871916502714157, 0.0632171556353569, -0.14230570197105408, -0.06702053546905518, -0.19909115135669708, 0.2562800645828247, 0.09010377526283264, 0.7750764489173889, 0.15114127099514008, -0.3083703815937042, -0.4472515285015106, 0.496198832988739, 0.36455073952674866, -0.24534308910369873, 0.4031691253185272, 0.42324647307395935, -0.18468619883060455, -0.49082884192466736, -0.40165168046951294, -0.02936108410358429, -0.6368365287780762, 0.40036532282829285, -0.31377848982810974, -0.2897856831550598, 0.8142322301864624, 0.09420447051525116, 0.09403850883245468, 0.6590976715087891, 0.44767165184020996, 0.001299282186664641, 1.2642791271209717, 0.319338858127594, -0.14589333534240723, 0.6812154650688171, -0.14676225185394287, -0.13301871716976166, -0.4576469659805298, -0.166728213429451, -0.5523869395256042, -0.02889001928269863, -0.23341090977191925, -0.24685324728488922, 0.5184585452079773, -0.21964384615421295, -0.4841032326221466, 0.33572155237197876, -0.7747616171836853, 0.270082026720047, 0.6134423613548279, 0.10614058375358582, 0.24796772003173828, -0.014800461009144783, -0.3899391293525696, -0.0941726490855217, -0.8642852902412415, -0.22507035732269287, 0.7770230174064636, 0.48780468106269836, 0.9254724383354187, 0.1747436225414276, 0.6787909865379333, 0.4031031131744385, 0.38512685894966125, -0.4411490559577942, 0.7190560698509216, -0.5594275593757629, -0.40152913331985474, -0.3017594814300537, -0.5079120993614197, -1.186537504196167, 0.03380860388278961, 0.09304589778184891, -0.5121852159500122, 0.18049663305282593, 0.08007857203483582, -0.7648233771324158, 0.29055801033973694, -0.3606656789779663, 0.7267728447914124, -0.24428774416446686, 0.022484859451651573, -0.3561096787452698, -0.40678510069847107, 0.1904934197664261, -0.3878144919872284, 0.16903388500213623, -0.16735923290252686, 0.05008789896965027, 0.5118264555931091, -0.23366935551166534, 0.9160353541374207, -0.4245409071445465, -0.40778404474258423, 0.3021426200866699, 0.40212738513946533, 0.7303301095962524, -0.15787091851234436, -0.41418272256851196, 0.025455264374613762, -0.4839726984500885, -0.07550419867038727, -0.4861738681793213, 0.7448440790176392, -0.8915498852729797, -0.740969717502594, -0.5897405743598938, -0.44466665387153625, -0.002049686387181282, 0.20027655363082886, 0.44754505157470703, 0.19097469747066498, -0.21220296621322632, -0.42774835228919983, 0.7010440826416016, -0.8287941813468933, 0.5194317102432251, 0.8821720480918884, -0.1371268481016159, -0.23630255460739136, 1.0506281852722168, -0.0302882082760334, 0.31393229961395264, 0.22340062260627747, 0.23951947689056396, -0.42774611711502075, -0.7572315335273743, -0.41939833760261536, 0.1264725923538208, -0.694236695766449, -0.4434734582901001, -0.7179469466209412, -0.40489086508750916, -0.03323652595281601, -0.17337949573993683, -0.5779958963394165, 0.22608733177185059, -0.7816492915153503, 0.17345471680164337, 0.3913893401622772, 0.8102582097053528, -0.2665833532810211, 0.4606356918811798, -0.8161500692367554, 0.13594092428684235, 0.3987608850002289, 0.30118152499198914, 0.028385022655129433, -0.7930896282196045, 0.20738321542739868, 0.32575908303260803, -0.4277828335762024, -1.1996009349822998, 0.8051405549049377, 0.15585462749004364, 0.7088977694511414, 0.3104206919670105, 0.3829805552959442, 0.5573310256004333, -0.5607846975326538, 0.6558882594108582, 0.041952647268772125, -0.6768235564231873, 0.9597269892692566, -0.7927267551422119, 0.23208965361118317, 0.49965667724609375, 0.7219057083129883, -0.404541015625, -0.44805386662483215, -0.6148050427436829, -0.6884427666664124, 0.6116025447845459, -0.039304688572883606, 0.10586167871952057, -0.2527256906032562, 0.19390961527824402, -0.07743915915489197, -0.018978752195835114, -0.470213383436203, -0.3798949420452118, -0.06651922315359116, -0.16847774386405945, 0.05259115248918533, -0.28402137756347656, -0.0920979380607605, 0.3073461651802063, 0.7774542570114136, 0.017941007390618324, 0.050106678158044815, 0.12623710930347443, 0.09379252046346664, -0.3390630781650543, 0.14319372177124023, 0.14357353746891022, 0.008858778513967991, -0.17695507407188416, -0.054213594645261765, 0.10951907187700272, -0.36115890741348267, 0.48896050453186035, 0.5076924562454224, -0.35165897011756897, 0.017198555171489716, -0.181709885597229, 0.4971272051334381, 0.01771659590303898, -0.776328444480896, 0.49456411600112915, -0.24494317173957825, 0.13290032744407654, -0.49036291241645813, 0.08610082417726517, -0.46340009570121765, 0.11911486834287643, 0.7455736994743347, 0.02184901386499405, 0.36673879623413086, -0.49883410334587097, 0.481863409280777, 0.4657609164714813, -0.3356684744358063, -0.24245668947696686, 0.8478513360023499, 0.14781847596168518, -0.23564064502716064, 0.6921043992042542, -0.5234901905059814, -0.6267386674880981, 0.408304363489151, 0.40779367089271545, 0.7489177584648132, -0.929590106010437, 0.6199208498001099, 0.2714349329471588, 0.17902898788452148, 0.00007072540029184893, 0.2975436747074127, 0.5938348770141602, -0.7770519256591797, -0.4534062147140503, -0.48867371678352356, -0.22718070447444916, 0.33615434169769287, -0.5111392736434937, 0.32663536071777344, -0.5095290541648865, -0.1868707835674286, 0.0026139297988265753, 0.008767673745751381, -0.3644336760044098, 0.2833150327205658, 0.1644764393568039, 0.5998859405517578, -1.1792536973953247, 0.5988795757293701, 0.49117511510849, -0.48831644654273987, -0.7208389043807983, -0.08806966990232468, 0.1828484833240509, -0.8683314323425293, 0.7979472875595093, -0.14967241883277893, 0.12193912267684937, 0.17344219982624054, -0.05905139446258545, -0.9256211519241333, 0.6355947852134705, 0.4862240254878998, -0.28359609842300415, -0.3573249280452728, 0.014394530095160007, 0.450203537940979, -0.12399745732545853, 0.24656738340854645, 0.3727722465991974, 0.1896418333053589, 0.23131000995635986, -0.8575356602668762, 0.36905160546302795, -0.3458116352558136, -0.06220647320151329, 0.017382819205522537, -0.500505268573761, 0.9764427542686462, -0.14320515096187592, -0.4605025053024292, -0.11331567168235779, 0.39808785915374756, 0.6150788068771362, -0.0861625149846077, 0.7331473231315613, 0.4368535578250885, 0.6686187982559204, 0.2817721664905548, 0.8961414098739624, -0.11099380999803543, 0.11355476081371307, 1.0406360626220703, -0.2461957186460495, 0.8766655921936035, 0.08712444454431534, -0.21540866792201996, 0.7123059630393982, 0.8204920291900635, -0.09248274564743042, 0.6735489964485168, 0.26070308685302734, -0.32927751541137695, 0.06725405156612396, -0.2889738976955414, -0.30598658323287964, 0.340595006942749, 0.5779991745948792, -0.3875379264354706, -0.4856758713722229, 0.04407871514558792, 0.10348579287528992, 0.3949718773365021, -0.20969462394714355, 0.7366859912872314, -0.08342023193836212, -0.8003556132316589, 0.9361248016357422, 0.03624998405575752, 0.7304309606552124, -0.7705458998680115, 0.06490650773048401, -0.2183123677968979, 0.09308753162622452, 0.0660773292183876, -0.6358519792556763, 0.5833384394645691, 0.025878772139549255, 0.10247942060232162, -0.5114476680755615, 0.6600990295410156, -0.31876522302627563, -0.19063732028007507, 0.4402874708175659, 0.3756132125854492, -0.11481399834156036, -0.5740851163864136, -1.0685112476348877, 0.07008790224790573, 0.18182390928268433, -0.3299017548561096, 0.45427393913269043, 0.3275722563266754, 0.19288590550422668, 0.957808256149292, 0.8004781007766724, 0.2857431471347809, -0.10050620883703232, 0.09564719349145889, 1.136669397354126, -0.24988840520381927, -0.8340542316436768, -0.8477546572685242, 0.5080420970916748, 0.02944607473909855, 0.034752100706100464, 0.708254873752594, 0.26640069484710693, 0.34193459153175354, 0.06906043738126755, 0.8139921426773071, 0.1213996559381485, 0.6758509278297424, -0.26789528131484985, 0.9783453345298767, -0.46730470657348633, 0.5719370245933533, -0.3807159960269928, -0.5656879544258118, -0.14495836198329926, 0.578204333782196, -0.30345582962036133, -0.14134655892848969, 0.48388153314590454, 0.9192294478416443, 0.14105099439620972, -0.3100607991218567, 0.22653932869434357, 0.3383338153362274, 0.5023171901702881, 0.6787481307983398, 0.9963318109512329, -0.45304644107818604, 0.7343860268592834, 0.017019011080265045, -0.3972809612751007, -0.1624516248703003, -0.997283399105072, -0.7130424380302429, -0.7145534157752991, -0.3576463460922241, -0.3597886264324188, 0.28453725576400757, 0.6359784603118896, 0.3326869606971741, -0.6434022188186646, -0.05043575540184975, -0.29108911752700806, -0.05684707313776016, -0.18984906375408173, -0.2411201447248459, 0.26321348547935486, -0.4968748092651367, -0.6045902967453003, 0.7805636525154114, -0.022703371942043304, 0.238175168633461, -0.46375417709350586, 0.13001692295074463, -0.383038729429245, 0.22394582629203796, 0.18736553192138672, 0.3769456744194031, -0.5555262565612793, -0.28850528597831726, 0.14350929856300354, -0.19877099990844727, -0.17910952866077423, 0.3673408329486847, -0.6813945174217224, 0.40843629837036133, 0.5146884322166443, 0.5104315280914307, 0.07997065037488937, -0.05359071493148804, 1.1072869300842285, -1.0596522092819214, 0.12295442819595337, 0.4310331642627716, 0.1899271011352539, 0.3175913989543915, -0.6258901953697205, 0.2865709066390991, -0.0029857459012418985, -0.4822688698768616, -0.8761405348777771, 0.36855176091194153, -0.49566787481307983, -0.43923044204711914, 1.2323986291885376, -0.3804483413696289, 0.05394909903407097, -0.10639972984790802, -0.3216026723384857, 0.19333654642105103, -0.4954703450202942, 1.116949439048767, 0.2065580040216446, 0.08099019527435303, -0.1832159161567688, -0.36200881004333496, 0.8590006828308105, 0.35761430859565735, -0.6273450255393982, 0.1894357055425644, 0.3840695321559906, 0.18060512840747833, 0.20603230595588684, 0.6517865657806396, -0.047905512154102325, 0.17845484614372253, 0.041672155261039734, -0.20149444043636322, -0.03771369904279709, -0.29074203968048096, -0.5186358094215393, 0.23557473719120026, 0.13637663424015045, -0.12555623054504395 ]
http://arxiv.org/abs/2403.00277v1
http://arxiv.org/pdf/2403.00277v1
Gender Bias in Large Language Models across Multiple Languages
2024-03-01T04:47:16
2024-03-01T04:47:16
Jinman Zhao, Yitian Ding, Chen Jia, Yining Wang, Zifan Qian
cs.CL
cs.CL
With the growing deployment of large language models (LLMs) across various applications, assessing the influence of gender biases embedded in LLMs becomes crucial. The topic of gender bias within the realm of natural language processing (NLP) has gained considerable focus, particularly in the context of English. Nonetheless, the investigation of gender bias in languages other than English is still relatively under-explored and insufficiently analyzed. In this work, We examine gender bias in LLMs-generated outputs for different languages. We use three measurements: 1) gender bias in selecting descriptive words given the gender-related context. 2) gender bias in selecting gender-related pronouns (she/he) given the descriptive words. 3) gender bias in the topics of LLM-generated dialogues. We investigate the outputs of the GPT series of LLMs in various languages using our three measurement methods. Our findings revealed significant gender biases across all the languages we examined.
[ -0.2563384175300598, -0.6758348941802979, 0.5463507175445557, 0.3063618242740631, 0.08423236757516861, 0.02699200063943863, -0.310970664024353, -0.5012043118476868, -0.026293272152543068, 0.44148504734039307, -0.8225841522216797, -0.38242244720458984, -0.6396138668060303, 0.35351598262786865, -0.30744487047195435, 0.8586380481719971, -0.037208251655101776, 0.6213076710700989, -0.33177703619003296, -0.09051517397165298, -0.6928332448005676, -0.7145116925239563, -0.4932616949081421, -0.6027872562408447, 0.3355909287929535, -0.01167389191687107, 0.4226437509059906, 0.03971608728170395, 0.3630867004394531, 0.267183393239975, -0.36486366391181946, 0.11987311393022537, -0.3689400553703308, 0.3357284665107727, -0.3168441653251648, -0.5080482959747314, -0.4107050597667694, 0.12452834844589233, 0.844829797744751, 0.6891583800315857, 0.10454785078763962, 0.34206849336624146, 0.25207066535949707, 0.7739739418029785, -0.7064078450202942, 0.26619574427604675, -0.5255734324455261, 0.09199530631303787, -0.20539690554141998, -0.004372811410576105, -0.24922186136245728, -0.06839975714683533, 0.33421456813812256, 0.04663711413741112, 0.3343679904937744, -0.04613417759537697, 0.5306974053382874, -0.14691729843616486, -0.6308611035346985, -0.4326346218585968, -0.8111755847930908, 1.0450383424758911, -0.8113563060760498, 0.5820179581642151, 0.39029303193092346, 0.12874816358089447, -0.11099638044834137, -0.20088356733322144, -0.3221077620983124, -0.40607723593711853, -0.10590096563100815, -0.09920628368854523, -0.24835550785064697, -0.10640811175107956, 0.31706365942955017, 0.22715382277965546, -0.15802650153636932, 0.24809952080249786, -0.14194132387638092, -0.08929930627346039, 0.6356396675109863, 0.07779146730899811, 0.3111458122730255, -0.3547668755054474, -0.07450799643993378, 0.08095284551382065, -1.0139566659927368, -0.1908583641052246, 0.9203987121582031, 0.41883358359336853, -0.11309715360403061, 0.7469640970230103, 0.04521122947335243, 0.44837769865989685, -0.05759512260556221, -0.1968105286359787, 0.13494573533535004, -0.4866677224636078, -0.04036763310432434, -0.010585205629467964, 0.942353367805481, 0.247492715716362, 0.3791562616825104, 0.10513997077941895, -0.12732724845409393, -0.17133399844169617, 0.13812999427318573, -0.5950011014938354, 0.2743093967437744, 0.022186703979969025, -0.3768126666545868, -0.034910649061203, -0.12814714014530182, -0.6905041337013245, -0.587928831577301, -0.0003941029426641762, 0.017216678708791733, 0.09788735210895538, -0.5340182185173035, -0.08659608662128448, -0.07925369590520859, 0.20486629009246826, 0.2397475391626358, -1.221708059310913, 0.20816469192504883, 0.6745973229408264, 0.4731428921222687, -0.1955171823501587, -0.29995667934417725, -0.29782935976982117, 0.0976482555270195, -0.3663952648639679, 0.5658862590789795, -0.592257559299469, -0.4840937554836273, 0.2403143048286438, -0.07438195496797562, -0.1486094444990158, -0.46978959441185, 0.3792477548122406, -0.1035882756114006, 0.5389899611473083, -0.4966065287590027, -0.47449082136154175, -0.09659534692764282, 0.3594788610935211, -0.5145109295845032, 1.0148025751113892, -0.1974872350692749, -1.1374139785766602, 0.5094802379608154, -0.5889765620231628, -0.3467504382133484, -0.35993075370788574, -0.6732118725776672, -0.48919904232025146, 0.1547476351261139, 0.3681926727294922, 0.5971390008926392, -0.6857315301895142, 0.6404874920845032, -0.0997931957244873, -0.15666070580482483, 0.3849920332431793, -0.6330804228782654, 0.6641559600830078, -0.2559669315814972, -0.320217490196228, 0.23383669555187225, -0.4545913636684418, -0.4025800824165344, 0.15952980518341064, -0.0682334303855896, -0.41040652990341187, 0.19973912835121155, -0.03919447585940361, 0.14873643219470978, 0.06840109825134277, -0.5668597221374512, -0.010495806112885475, -0.2956806421279907, 0.5971484184265137, 0.6184523701667786, -0.17297016084194183, 0.6002504229545593, -0.025694506242871284, 0.6614883542060852, -0.10828015953302383, -0.09637867659330368, -0.007888076826930046, -0.6630285382270813, -0.5496221780776978, -0.19152523577213287, 0.29078173637390137, 0.3949560821056366, -0.3469681143760681, 0.06809551268815994, -0.14592482149600983, -0.21605470776557922, -0.4537402093410492, 0.14376866817474365, 0.4786842465400696, 0.15769965946674347, -0.008888568729162216, -0.02337077632546425, -0.4765006899833679, -1.3462847471237183, -0.5690947771072388, -0.41479256749153137, -0.1394515335559845, 0.3630545437335968, 0.6974002718925476, -0.37037357687950134, 0.8986720442771912, -0.4330070912837982, -0.3964248597621918, -0.5521243810653687, 0.13668495416641235, 0.13459111750125885, 0.24899543821811676, 0.7101551294326782, -0.45677199959754944, -0.19140297174453735, -0.17548248171806335, -0.5001956820487976, -0.41286128759384155, 0.009083595126867294, -0.16014952957630157, 0.3393663465976715, 0.4091356694698334, -0.6344008445739746, 0.21636267006397247, 0.8228936791419983, -0.29827967286109924, 0.6050286293029785, 0.12976232171058655, 0.10513711720705032, -1.0535786151885986, -0.05172865465283394, 0.24368761479854584, -0.264575719833374, -0.5085569620132446, 0.037645529955625534, -0.1101522371172905, 0.3585495352745056, -0.5299598574638367, 0.7785387635231018, -0.7732856273651123, -0.504636824131012, -0.02362198196351528, 0.0014055222272872925, -0.07703473418951035, 0.19743755459785461, 0.22730092704296112, 0.8226625323295593, 0.3882582187652588, -0.3560923635959625, 0.12010475993156433, 0.259827196598053, -0.1511884182691574, 0.39157840609550476, -0.45548588037490845, 0.19638362526893616, -0.12394871562719345, 0.28617167472839355, -1.091946005821228, 0.06927354633808136, 0.24831923842430115, -0.30619820952415466, 0.35350608825683594, -0.4048902988433838, -0.5792678594589233, -0.3031260371208191, -0.41539570689201355, 0.18630236387252808, 0.15968485176563263, -0.23127548396587372, 0.5858116745948792, 0.4228988289833069, -0.16479752957820892, -0.730509340763092, -0.7211102843284607, -0.0966932401061058, -0.22439594566822052, -0.48687630891799927, -0.17979280650615692, 0.002001926302909851, -0.6022905111312866, -0.41584137082099915, -0.07146503776311874, -0.06572811305522919, 0.08249343186616898, 0.25541502237319946, 0.20195911824703217, -0.19784104824066162, 0.0042074574157595634, 0.13248564302921295, 0.2735711932182312, 0.2346356213092804, -0.046737756580114365, 0.8358221650123596, -0.05735771730542183, -0.5573713779449463, -0.14431506395339966, 0.5276048183441162, 0.45683959126472473, -0.036601901054382324, 0.8527896404266357, 0.64873206615448, -0.28432393074035645, -0.10542642325162888, -0.6959479451179504, -0.2675751745700836, -0.39195752143859863, 0.5341391563415527, -0.3089830279350281, -1.166978359222412, 0.7490683794021606, 0.2578543424606323, 0.19985845685005188, 0.5289351940155029, 0.7631580233573914, 0.0451246052980423, 1.228763222694397, 0.6303775906562805, -0.24454867839813232, 0.3954824209213257, -0.030087227001786232, 0.2475435435771942, -1.0887458324432373, 0.019116895273327827, -0.7260597348213196, -0.07680550217628479, -1.186012625694275, -0.2485453486442566, 0.16503414511680603, -0.21319347620010376, -0.26810362935066223, -0.08519284427165985, -0.0733814612030983, 0.30446359515190125, 0.5390461087226868, -0.24149471521377563, 0.3066163957118988, 0.033276401460170746, -0.009778895415365696, -0.3800641894340515, -0.6552908420562744, -0.7199975848197937, 1.1532719135284424, 0.532595157623291, 0.5056815147399902, 0.20580486953258514, 0.4078713655471802, 0.19458796083927155, 0.27881136536598206, -0.5466959476470947, 0.5613143444061279, -0.33363837003707886, -0.9797484874725342, -0.2019919604063034, -0.4290348291397095, -0.911858320236206, 0.46766960620880127, -0.15632174909114838, -0.8102149963378906, -0.05917136371135712, -0.06601802259683609, 0.10790154337882996, 0.2834010422229767, -0.4533753991127014, 0.5520693063735962, -0.041453417390584946, -0.4553927183151245, -0.06361300498247147, -0.34964367747306824, 0.7131776213645935, -0.07391797751188278, 0.2235279530286789, -0.3847372531890869, 0.1562003642320633, 0.6490562558174133, -0.11282409727573395, 1.0280990600585938, 0.004399409517645836, -0.7046579122543335, -0.031534865498542786, 0.1107143983244896, 0.23128223419189453, 0.3538038730621338, -0.04445676505565643, 0.6373410820960999, -0.21400214731693268, -0.16286495327949524, -0.008831647224724293, 0.6902433633804321, -0.7778019905090332, -0.8514127135276794, -0.6217070817947388, -0.5581667423248291, -0.35088059306144714, 0.08262398093938828, 0.2600533962249756, 0.25563231110572815, -0.43697983026504517, -0.17572754621505737, 0.4709795415401459, -0.7381287217140198, 0.35747867822647095, 0.6024038791656494, -0.517643392086029, 0.05260230973362923, 0.32518112659454346, 0.13406439125537872, 0.48411694169044495, 0.4121914207935333, 0.3427276611328125, -0.35516560077667236, -0.3533620536327362, -0.6174623966217041, 0.44379177689552307, -0.5298712253570557, 0.0584094412624836, -0.6019278764724731, -0.28916415572166443, -0.5452617406845093, 0.20338734984397888, -0.45578673481941223, -0.2125381976366043, -0.13892874121665955, -0.09978532046079636, 0.24471227824687958, 0.8056153059005737, 0.3296745717525482, 0.2463805377483368, -0.6301991939544678, 0.5267332196235657, 0.4349721670150757, 0.11747080832719803, -0.057714901864528656, -0.4654524624347687, 0.12581919133663177, 0.1631331443786621, -0.12317293882369995, -1.024560809135437, 0.5320116877555847, 0.18523891270160675, 0.5557174682617188, 0.10361376404762268, -0.4228324890136719, 0.19810724258422852, -0.6433374881744385, 1.232405662536621, 0.08231598883867264, -0.9081016778945923, 0.45848405361175537, -0.7204976081848145, 0.4138680696487427, 0.1906929463148117, 0.17286711931228638, -0.6836602091789246, -0.7361131906509399, -0.40090516209602356, -0.9339392185211182, 0.7570796012878418, 0.36754387617111206, 0.4991055727005005, -0.25506603717803955, 0.21609526872634888, 0.3649545907974243, 0.6755002737045288, -0.8540565371513367, -0.5037074685096741, 0.42219340801239014, 0.2570003569126129, -0.10394566506147385, -0.5508490204811096, -0.00719476118683815, -0.08259449154138565, 0.6557996869087219, -0.13271164894104004, 0.5398344993591309, -0.024314608424901962, -0.2691478729248047, -0.08391222357749939, 0.5744221210479736, 0.7003769874572754, 0.7246178388595581, -0.19523464143276215, -0.0027932070661336184, 0.18170513212680817, -0.5950250029563904, 0.07505858689546585, -0.09133291244506836, -0.44489914178848267, 0.2668137848377228, 0.5952280163764954, 0.9462226629257202, -0.03152965381741524, -0.5511844754219055, 0.4135168790817261, -0.21497772634029388, -0.057888370007276535, -0.3291628360748291, -0.14115117490291595, 0.3329586088657379, 0.25691211223602295, 0.30929863452911377, -0.13496482372283936, 0.16720540821552277, -0.7520092129707336, -0.2772623896598816, 0.7695231437683105, -0.15040786564350128, -0.29597482085227966, 0.6894842386245728, 0.13521437346935272, 0.0003879469586536288, 0.4856157600879669, -0.12696805596351624, -0.6878710389137268, 0.559825599193573, 0.5042349100112915, 1.2162672281265259, -0.26220208406448364, 0.29351186752319336, 0.43012118339538574, 0.5331920385360718, -0.19094198942184448, 0.463530570268631, 0.2346002161502838, -0.973002552986145, -0.6245008111000061, -0.5677286386489868, -0.3573950231075287, 0.2110622525215149, -0.5702714920043945, 0.24860502779483795, -0.18630926311016083, -0.3215223252773285, -0.088840052485466, 0.006214303895831108, -0.7268997430801392, -0.17294420301914215, 0.6205766797065735, 0.44626110792160034, -1.1429333686828613, 0.4682551920413971, 0.7805481553077698, -0.1593257188796997, -0.5207846164703369, 0.05969114601612091, 0.1965644210577011, -0.8103550672531128, 0.8596127033233643, 0.1452336460351944, -0.21261118352413177, -0.3122928738594055, -0.30644142627716064, -0.7131193280220032, 0.7573734521865845, 0.507416307926178, -0.7228935360908508, 0.1354067474603653, 0.6839156150817871, 0.5722858905792236, -0.3943813741207123, 0.5988286137580872, 0.7084859609603882, 0.5138257741928101, -0.3631172478199005, -1.2911791801452637, -0.2348708212375641, -0.025327876210212708, 0.14564713835716248, 0.2632432281970978, -0.539065957069397, 0.8991464376449585, 0.085051991045475, 0.0861763283610344, -0.19640402495861053, 0.516132652759552, 0.4386323094367981, 0.13706164062023163, 0.32652905583381653, 0.06669263541698456, 0.5687761902809143, -0.12495927512645721, 1.0411872863769531, 0.001272439956665039, 0.0912785530090332, 1.2039347887039185, -0.5672063231468201, 0.6209660172462463, 0.4931105077266693, -0.4331655502319336, 0.20428800582885742, 0.385680228471756, 0.15435415506362915, -0.017981160432100296, 0.4349486231803894, -0.1524198204278946, -0.0331357941031456, -0.3211962580680847, -0.2899654507637024, 0.5752624273300171, 0.3624342978000641, -0.5565929412841797, -0.01762021705508232, -0.028574202209711075, 0.39717110991477966, 0.015267266891896725, -0.34074318408966064, 0.702029824256897, 0.27866998314857483, -0.621757447719574, 0.259280800819397, 0.1565839797258377, 0.9596551656723022, -0.7443389296531677, 0.0017299902392551303, -0.3401029706001282, -0.02105104923248291, -0.15175987780094147, -0.8394142389297485, 0.04589518904685974, 0.3184588551521301, -0.36127230525016785, -0.3375006914138794, 0.7714443206787109, -0.6850802898406982, -0.658454418182373, 0.4160153269767761, 1.059489369392395, 0.09210023283958435, -0.19824321568012238, -0.5184417963027954, 0.01685390993952751, 0.21306991577148438, -0.35390767455101013, 0.5462566018104553, 0.1829482614994049, -0.4277994930744171, 0.725175142288208, 0.40787947177886963, 0.3090760111808777, 0.3310691714286804, 0.516356348991394, 0.418282151222229, -0.5106810331344604, -0.22630366683006287, -1.049787998199463, 0.20325294137001038, 0.12753069400787354, -0.30403855443000793, 1.081125020980835, 0.45630791783332825, 0.6714513301849365, -0.07515569031238556, 0.8481958508491516, 0.18689580261707306, 0.5400765538215637, -0.5406832695007324, 0.5608395934104919, -0.251975417137146, 0.5160117149353027, -0.6105032563209534, -1.3441214561462402, -0.11363890767097473, 0.5793349742889404, -0.41228607296943665, 0.19290414452552795, 0.5712877511978149, 0.4443439841270447, 0.17592041194438934, 0.1333489716053009, 0.13346421718597412, 0.3049764633178711, 0.26480281352996826, 0.1421656310558319, 1.069696307182312, -0.3546135723590851, -0.044506482779979706, -0.092613585293293, 0.25873297452926636, 0.048259228467941284, -1.1182644367218018, -1.1212135553359985, -0.3442615568637848, -0.4165400564670563, 0.0024331456515938044, 0.010687445290386677, 0.8856198787689209, 0.47437363862991333, -0.6957076787948608, -0.5341620445251465, 0.18066991865634918, 0.28916579484939575, -0.10411467403173447, -0.16651959717273712, 0.3511511981487274, -0.00557413324713707, -0.971699595451355, 0.2303350865840912, 0.04328693449497223, -0.2481977641582489, -0.6710543632507324, 0.05764232203364372, -0.3667340576648712, 0.04870188236236572, 0.6710964441299438, -0.1964719593524933, -0.773728609085083, -0.2946946620941162, 0.010368998162448406, -0.0693994015455246, 0.01463412493467331, 0.7653834819793701, -0.48072901368141174, 0.21940134465694427, 0.6989290714263916, 0.19432345032691956, 0.25855979323387146, -0.3690420091152191, 1.0709228515625, -1.138765811920166, 0.11117929220199585, 0.07709357887506485, 0.48536521196365356, 0.6691011786460876, -0.2612587809562683, 0.510198175907135, 0.07521083205938339, -0.44859275221824646, -0.8657943606376648, 0.35081738233566284, -0.5892698764801025, -0.3503296673297882, 1.6815377473831177, 0.12815827131271362, 0.0983026996254921, 0.07479364424943924, -0.3069629371166229, 0.17100790143013, -0.4079005718231201, 0.378160297870636, 1.0027426481246948, 0.09376741200685501, -0.1092507392168045, -1.23841392993927, 0.36792126297950745, 0.38973671197891235, -0.5566810369491577, 0.17481476068496704, 0.6143819689750671, 0.3251881003379822, 0.00797274336218834, 0.5944229364395142, -0.09844920784235, -0.12955597043037415, -0.3717423379421234, 0.19674132764339447, 0.414831280708313, -0.05499844253063202, -0.39809441566467285, -0.19832271337509155, 0.17740768194198608, 0.1109180897474289 ]
http://arxiv.org/abs/2403.00868v2
http://arxiv.org/pdf/2403.00868v2
SoftTiger: A Clinical Foundation Model for Healthcare Workflows
2024-03-01T04:39:16
2024-03-27T03:03:00
Ye Chen, Igor Couto, Wei Cai, Cong Fu, Bruno Dorneles
cs.CL
cs.CL, cs.AI
We introduce SoftTiger, a clinical large language model (CLaM) designed as a foundation model for healthcare workflows. The narrative and unstructured nature of clinical notes is a major obstacle for healthcare intelligentization. We address a critical problem of structuring clinical notes into clinical data, according to international interoperability standards. We collect and annotate data for three subtasks, namely, international patient summary, clinical impression and medical encounter. We then supervised fine-tuned a state-of-the-art LLM using public and credentialed clinical data. The training is orchestrated in a way that the target model can first support basic clinical tasks such as abbreviation expansion and temporal information extraction, and then learn to perform more complex downstream clinical tasks. Moreover, we address several modeling challenges in the healthcare context, e.g., extra long context window. Our blind pairwise evaluation shows that SoftTiger outperforms other popular open-source models and GPT-3.5, comparable to Gemini-pro, with a mild gap from GPT-4. We believe that LLMs may become a step-stone towards healthcare digitalization and democratization. Therefore, we publicly release SoftTiger models at scales of 13 billion and 70 billion parameters, as well as datasets and code for our innovative scalable evaluation, hopefully, making a significant contribution to the healthcare industry.
[ 0.17265170812606812, -0.6126852035522461, 0.725101113319397, -0.20806923508644104, -0.37496939301490784, -0.2208273708820343, -0.24329398572444916, -0.4166189134120941, 0.0926414430141449, 0.9533191323280334, -0.42046621441841125, -0.9062576293945312, -0.7057013511657715, -0.03297539800405502, -0.3330721855163574, 1.6603038311004639, -0.0803452879190445, 0.1907796710729599, -0.14754930138587952, -0.33774587512016296, -0.12977325916290283, -0.4660656750202179, -0.27570876479148865, -0.5575546026229858, 0.6245828866958618, 0.5053598880767822, 0.7934087514877319, 0.7378650307655334, 0.879134476184845, 0.354328989982605, -0.14223513007164001, -0.27799278497695923, -0.39956599473953247, 0.22435078024864197, -0.0359782837331295, -0.4373894929885864, -0.9507310390472412, -0.18468281626701355, 0.3263787031173706, 0.9222428202629089, -0.4029955565929413, 0.3558407723903656, -0.2271692305803299, 0.7418138384819031, -0.30496945977211, 0.24802860617637634, -0.22430767118930817, 0.14420610666275024, -0.3464847803115845, 0.15459223091602325, -0.036744676530361176, -0.2879108786582947, 0.45251357555389404, -0.3703121244907379, 0.5621519088745117, -0.3185069262981415, 0.2236889749765396, 0.18132935464382172, -0.4952701926231384, -0.4077937602996826, -0.7540620565414429, 0.36070194840431213, -0.7982626557350159, 0.1833280771970749, -0.08714303374290466, 0.437126487493515, -0.13277986645698547, -1.343630313873291, -0.1530289351940155, -0.37487149238586426, -0.17361712455749512, 0.06612519174814224, 0.1473844349384308, 0.4908730685710907, 0.21458333730697632, 0.5203326940536499, -0.7356443405151367, 0.05507124960422516, -0.7106463313102722, -0.12221626192331314, 0.8246375322341919, 0.4645240902900696, 0.04749103635549545, -0.008147940039634705, -0.2958088219165802, 0.17880845069885254, -0.4813533127307892, -0.1454426795244217, -0.20669519901275635, 0.2202553153038025, -0.4294133484363556, 0.4249957501888275, -0.194240003824234, 0.406925767660141, -0.3010571002960205, -0.5740854740142822, 0.294076532125473, -0.008725308813154697, -0.3619403839111328, 0.3686995804309845, 0.7110394835472107, 0.13640283048152924, 0.08704470843076706, -0.2966160178184509, -0.31798627972602844, 0.2003035992383957, 0.3871356248855591, -0.9610344171524048, -0.2826651930809021, 0.5483382940292358, -0.5496025085449219, -0.34470316767692566, 0.02263026311993599, -0.6683056950569153, -0.6705920696258545, -0.3724791705608368, 0.08671343326568604, -0.18537196516990662, -0.31122055649757385, 0.29396599531173706, 0.25199422240257263, -0.17621980607509613, 0.4132038950920105, -0.6569836735725403, 0.49476730823516846, 1.1688041687011719, 0.9058655500411987, -0.302070289850235, -0.023777315393090248, -0.4971393644809723, 0.35023194551467896, -0.08074170351028442, 0.6392188668251038, -0.21237996220588684, -0.4628942608833313, 0.280964732170105, 0.2691492736339569, 0.05057317763566971, -0.6615753769874573, 0.4853765070438385, -0.17876780033111572, -0.039876170456409454, 0.21809810400009155, -0.4896049201488495, -0.10894256830215454, 0.2918659746646881, -0.7551953792572021, 0.28785428404808044, 0.38983437418937683, -0.5821580290794373, 0.35314813256263733, -0.8551985621452332, -0.6218979954719543, 0.5692986249923706, -0.16414852440357208, -0.6768641471862793, 0.30954593420028687, -0.28329411149024963, 0.6887363195419312, -0.591373860836029, 0.7568713426589966, -0.620640218257904, -0.4774642884731293, 0.2415183186531067, -0.025564147159457207, 0.72291499376297, 0.12175291031599045, -0.32661792635917664, 0.3337520658969879, -0.7623284459114075, -0.20361939072608948, 0.09782736748456955, -0.2025647908449173, -0.07963545620441437, -0.3947312831878662, 0.3592686057090759, 0.02615797147154808, 0.10254189372062683, -0.41132307052612305, 0.30529123544692993, -0.429991751909256, 0.8672921061515808, 0.516089677810669, 0.057622455060482025, 0.313912034034729, -0.6695263981819153, 0.6063504815101624, 0.0694754347205162, 0.575989842414856, -0.21443045139312744, -0.3407380282878876, -0.47573569416999817, -0.5243423581123352, 0.36839523911476135, 0.5801595449447632, -0.034435536712408066, 0.07951133698225021, -0.37233859300613403, -0.5722634792327881, -0.557350218296051, 0.38478827476501465, 0.34958791732788086, 0.7557079792022705, 0.09410859644412994, -0.4201546013355255, -0.25420454144477844, -0.9592193961143494, 0.058843132108449936, -0.123199462890625, 0.01405908539891243, 0.055663954466581345, 0.6813914179801941, -0.7171656489372253, 0.47292792797088623, -0.43049174547195435, -0.6831247806549072, -0.5793845653533936, 0.17345036566257477, 0.5334348678588867, 0.5846084356307983, 0.08856137841939926, -0.906075119972229, -0.19519378244876862, -0.14428460597991943, -0.7563749551773071, -0.052875619381666183, 0.10465080291032791, 0.06920874118804932, 0.07217387109994888, 0.3387438952922821, -0.71285080909729, 0.4900733232498169, 0.4534965753555298, -0.04913316294550896, 0.31692057847976685, -0.23252235352993011, -0.07265542447566986, -1.0640755891799927, 0.32908979058265686, 0.047893453389406204, -0.24119998514652252, -0.82094806432724, -0.04300414398312569, 0.00039745407411828637, -0.30994999408721924, -0.6345663070678711, 0.5858913660049438, -0.1780700385570526, 0.13798730075359344, -0.010725224390625954, -0.06162118911743164, 0.07607678323984146, 0.40651386976242065, 0.18267129361629486, 0.3294278681278229, 0.4763891398906708, -0.44923654198646545, 0.4786861538887024, 0.24222412705421448, -0.21187953650951385, 0.7727233171463013, -0.9340220093727112, 0.14712026715278625, -0.17841309309005737, 0.31077662110328674, -0.8034713268280029, -0.4613267779350281, 0.09547380357980728, -0.1471012681722641, 0.40127354860305786, -0.5110132694244385, -0.6216657161712646, -0.31703221797943115, -0.11498750001192093, 0.31638163328170776, 0.5386433005332947, -0.00783555954694748, 0.6451032161712646, 0.5932507514953613, -0.3166778087615967, -0.11123443394899368, -0.7377963066101074, 0.01922890916466713, -0.20701752603054047, -0.7144045233726501, 0.3496285378932953, -0.04370684176683426, -0.40084776282310486, -0.06186215952038765, -0.16039685904979706, -0.27399998903274536, -0.0017595639219507575, 0.664097785949707, 0.40764084458351135, -0.382475882768631, 0.056446488946676254, -0.1713031828403473, -0.4777655601501465, 0.0925801694393158, -0.40681254863739014, -0.03960512951016426, -0.4221031665802002, -0.4726543128490448, -0.461635947227478, 0.3139617145061493, 0.9183806777000427, 0.062235359102487564, 0.6056477427482605, 0.6566543579101562, -0.6893232464790344, -0.0422394834458828, -0.5471234321594238, -0.20280084013938904, -0.46259570121765137, 0.24694162607192993, 0.11099684238433838, -0.9824520945549011, 0.5288112163543701, -0.17132918536663055, 0.44235917925834656, 0.15575821697711945, 0.7282693982124329, -0.11353546380996704, 1.063675880432129, 0.6714328527450562, 0.1962711662054062, -0.06477557867765427, -0.35068950057029724, 0.102340467274189, -0.5692562460899353, -0.4916030168533325, -0.2104290872812271, -0.23926503956317902, -0.6285891532897949, -0.15824344754219055, 0.9738338589668274, -0.17365911602973938, -0.24630317091941833, 0.010279788635671139, -0.5958980321884155, -0.14643622934818268, 0.27818864583969116, 0.2237975150346756, 0.3983868956565857, -0.4101995825767517, 0.051547273993492126, -0.002094774041324854, -0.6702461838722229, -0.6242293119430542, 1.0872637033462524, 0.49975067377090454, 0.8658220171928406, 0.037590134888887405, 0.5961765050888062, 0.4878327548503876, 1.0394383668899536, -0.6702033877372742, 0.4564904570579529, -0.349666029214859, -0.7050455808639526, -0.005876997485756874, -0.24599730968475342, -0.8510435223579407, 0.024038465693593025, -0.08623708039522171, -0.5009962916374207, -0.3415721356868744, 0.470429927110672, -0.552983283996582, 0.13735456764698029, -0.6507288813591003, 1.2088301181793213, -0.3919510841369629, -0.5017082691192627, 0.014977985993027687, -0.7784361839294434, 0.6015137434005737, 0.055175065994262695, 0.23418918251991272, -0.25976788997650146, -0.1876012086868286, 0.7291139364242554, -0.8083105683326721, 0.9718838930130005, -0.06206522136926651, 0.028612777590751648, 0.315034419298172, 0.19850461184978485, 0.35377296805381775, 0.4713997542858124, 0.19647341966629028, 0.30386316776275635, 0.29397252202033997, -0.3459020256996155, -0.5637404322624207, 0.5419555902481079, -0.40246063470840454, -0.5552108287811279, -0.5992331504821777, -0.41656652092933655, -0.36890169978141785, 0.2027314305305481, -0.005823862738907337, 0.8308588266372681, -0.20806755125522614, 0.19741423428058624, 0.7107851505279541, 0.05076169595122337, 0.046764906495809555, 0.8557115793228149, 0.24877440929412842, -0.5712913870811462, 0.4656360447406769, -0.056184496730566025, 0.013547049835324287, 0.2835642993450165, 0.3694581985473633, -0.3062203824520111, -0.7811623811721802, -0.35945969820022583, 0.5995637774467468, -0.6368308067321777, -0.22523176670074463, -0.787051260471344, -0.26175355911254883, -0.6399683356285095, -0.44141310453414917, -0.3442312777042389, -0.09015432745218277, -0.2959991693496704, -0.060633573681116104, 0.5266445279121399, 0.914318323135376, 0.1281060129404068, 0.5601261854171753, -1.0971126556396484, 0.21701309084892273, 0.08781971782445908, 0.6327634453773499, -0.3750770688056946, -0.427493691444397, -0.20107072591781616, -0.35811978578567505, -0.09461236745119095, -0.8013142943382263, 0.16356946527957916, -0.15820935368537903, 0.44641873240470886, 0.5880280137062073, -0.10975034534931183, 0.5129997730255127, -0.5210490226745605, 0.47955605387687683, 0.31098294258117676, -0.711663007736206, 0.4716958701610565, -0.40754345059394836, 0.336577445268631, 0.9178785085678101, 0.2082175612449646, -0.7431250214576721, -0.23090732097625732, -0.8086837530136108, -0.8345329761505127, 0.5750590562820435, -0.22935853898525238, -0.09956641495227814, 0.29751330614089966, 0.5074454545974731, 0.28743842244148254, 0.5057555437088013, -0.4779328405857086, 0.09457547217607498, 0.016234196722507477, -0.6718627214431763, -0.11669734120368958, -0.25179997086524963, -0.4067758321762085, 0.05121810734272003, 0.40049976110458374, -0.2173423320055008, -0.06761688739061356, 0.24599717557430267, -0.3387509286403656, -0.09559743851423264, 0.2785234749317169, 0.5478324294090271, 0.7765003442764282, -0.16221198439598083, 0.13808980584144592, 0.07448303699493408, -0.7018170356750488, -0.05966420844197273, 0.29104623198509216, -0.08290986716747284, 0.018063658848404884, 0.6704812049865723, 0.6018249988555908, 0.5377618670463562, -1.0749434232711792, 0.7625434994697571, 0.013409551233053207, -0.3162323832511902, -0.6545320153236389, 0.3083494305610657, 0.0054892669431865215, 0.348326176404953, -0.10946474969387054, -0.273714154958725, 0.322091281414032, -0.4285673201084137, 0.4072037637233734, 0.15689781308174133, -0.6775103807449341, -0.44529181718826294, 0.8405899405479431, 0.18376977741718292, -0.34591981768608093, 0.48220449686050415, 0.1956477016210556, -0.3472743630409241, 0.6711949706077576, 0.378795325756073, 0.822803258895874, -0.027872206643223763, 0.22484035789966583, 0.07255537807941437, 0.2501990497112274, -0.31554192304611206, 0.18615421652793884, -0.029733721166849136, 0.015476600266993046, -0.29864734411239624, -0.5052077770233154, -0.6517159342765808, 0.4704238474369049, -0.5558672547340393, 0.490535706281662, -0.7472596168518066, -0.23183506727218628, -0.027165526524186134, 0.13991528749465942, -0.8003907799720764, 0.158480703830719, 0.2206297218799591, 1.0768791437149048, -0.7564522624015808, 0.5690886974334717, 0.7765829563140869, -0.2503829598426819, -0.45769357681274414, -0.41295158863067627, 0.4258059859275818, -0.7488391399383545, 0.24966874718666077, 0.3244061768054962, 0.2547816038131714, -0.32330870628356934, -0.3085978925228119, -0.4401993453502655, 1.223012924194336, 0.13808904588222504, -0.684272289276123, -0.026529435068368912, 0.35194993019104004, 0.7823169231414795, -0.441607803106308, 0.24152252078056335, 0.6366599202156067, 0.35572350025177, 0.08820736408233643, -0.8095912933349609, 0.16788841784000397, -0.19545410573482513, -0.13981188833713531, 0.18455950915813446, -0.6944795250892639, 0.6910222768783569, -0.5775758624076843, -0.013153714127838612, 0.15648408234119415, 0.41897445917129517, 0.31193822622299194, 0.7627338767051697, 0.5017322301864624, 0.4525595009326935, 0.6257680058479309, 0.014894596301019192, 0.7978993058204651, -0.34413662552833557, -0.0002260651672258973, 0.9859445691108704, -0.8024321794509888, 0.23333750665187836, 0.18209242820739746, 0.04509057104587555, 0.4900577664375305, 0.43668508529663086, 0.03439812362194061, 0.24836021661758423, 0.24573877453804016, -0.42843446135520935, -0.016351383179426193, -0.13530734181404114, -0.26280227303504944, 0.2323225885629654, 0.5914864540100098, -0.49413055181503296, -0.15069934725761414, 0.10698574781417847, 0.3372611105442047, -0.10637161880731583, -0.353119820356369, 0.9466572999954224, 0.30071109533309937, -0.7649195194244385, 0.20939108729362488, 0.027804940938949585, 0.25290435552597046, -0.884746253490448, -0.05344042927026749, -0.17312388122081757, 0.4632173478603363, -0.28116676211357117, -0.5925233364105225, 0.23631206154823303, 0.07352019846439362, -0.013180868700146675, -0.40443435311317444, 0.7656496167182922, -0.3590746521949768, -0.4625983238220215, 0.016600295901298523, 0.32245030999183655, 0.19383278489112854, 0.21229799091815948, -1.0175284147262573, 0.1221240758895874, -0.4374966025352478, -0.27930566668510437, 0.24621011316776276, 0.5455861687660217, -0.2271958887577057, 0.5397164225578308, 0.6596762537956238, 0.32133617997169495, -0.3699546158313751, 0.2931624948978424, 0.6760205030441284, -0.6540619134902954, -0.6815465092658997, -0.7441818118095398, 0.6261366605758667, 0.04088080674409866, -0.49348464608192444, 0.08604960888624191, 0.5528474450111389, 0.40354451537132263, 0.11699718236923218, 0.854271650314331, 0.09339270740747452, 0.6659752726554871, -0.2730586528778076, 0.6211957931518555, -0.5053495764732361, 0.008580358698964119, -0.04423295333981514, -0.48120826482772827, -0.42521125078201294, 0.13795216381549835, -0.24237266182899475, -0.02811918593943119, 0.5324423909187317, 0.7537286877632141, -0.1581151783466339, 0.20805174112319946, 0.13880616426467896, 0.24345412850379944, 0.38402506709098816, 0.8127114772796631, 0.42124396562576294, -0.02708711288869381, 0.601717472076416, -0.4301166236400604, -0.46142497658729553, -0.49279820919036865, -0.9003614187240601, -1.0960099697113037, -0.49503642320632935, -0.49810105562210083, -0.678009033203125, 0.1149691715836525, 0.9482187628746033, 0.9112557768821716, -0.8153595924377441, -0.08250695466995239, -0.037805601954460144, 0.06371966004371643, -0.14621123671531677, -0.14918674528598785, 0.2253478765487671, 0.03968586400151253, -0.2792244851589203, -0.036230091005563736, 0.5817261934280396, 0.19383785128593445, -0.5797243714332581, 0.04356881231069565, 0.5133464932441711, -0.3168703615665436, 0.28473222255706787, 0.37981054186820984, -0.3926360607147217, 0.28204572200775146, -0.02711641974747181, -0.3913947641849518, 0.06469924747943878, 1.3972291946411133, -0.4734390079975128, 0.250152051448822, 0.29778367280960083, 0.5187765955924988, 0.5486040711402893, -0.1819809377193451, 0.34776467084884644, -0.13290749490261078, 0.2998333275318146, 0.7296175956726074, 0.45042499899864197, 0.44165676832199097, -0.4822554886341095, 0.5830979347229004, 0.43496543169021606, -0.47135454416275024, -1.1104570627212524, 0.05852994695305824, -0.9462940096855164, -0.06380052864551544, 1.0435022115707397, -0.062182631343603134, -0.531644344329834, -0.27654382586479187, 0.14504024386405945, 0.2158198058605194, -0.1128990426659584, 0.8507021069526672, 0.19927960634231567, -0.15254512429237366, 0.04989894479513168, -0.9484500288963318, 0.5024904608726501, 0.19785074889659882, -0.9666097164154053, 0.03798244148492813, 0.4944460690021515, 0.5807393789291382, -0.0029613536316901445, 1.0878499746322632, -0.43056759238243103, 0.4986344277858734, -0.3354024589061737, -0.07589150965213776, -0.28083324432373047, -0.4819996953010559, -0.37555813789367676, 0.3213193714618683, -0.25872382521629333, 0.19748203456401825 ]
http://arxiv.org/abs/2403.00260v1
http://arxiv.org/pdf/2403.00260v1
Extracting Polymer Nanocomposite Samples from Full-Length Documents
2024-03-01T03:51:56
2024-03-01T03:51:56
Ghazal Khalighinejad, Defne Circi, L. C. Brinson, Bhuwan Dhingra
cs.CL
cs.CL
This paper investigates the use of large language models (LLMs) for extracting sample lists of polymer nanocomposites (PNCs) from full-length materials science research papers. The challenge lies in the complex nature of PNC samples, which have numerous attributes scattered throughout the text. The complexity of annotating detailed information on PNCs limits the availability of data, making conventional document-level relation extraction techniques impractical due to the challenge in creating comprehensive named entity span annotations. To address this, we introduce a new benchmark and an evaluation technique for this task and explore different prompting strategies in a zero-shot manner. We also incorporate self-consistency to improve the performance. Our findings show that even advanced LLMs struggle to extract all of the samples from an article. Finally, we analyze the errors encountered in this process, categorizing them into three main challenges, and discuss potential strategies for future research to overcome them.
[ -0.33404114842414856, -0.9423305988311768, 0.7029849290847778, 0.16575689613819122, -0.20681408047676086, 0.1302674263715744, -0.38991618156433105, -0.46893203258514404, 0.07504657655954361, 0.44458773732185364, -0.30887627601623535, -0.11953846365213394, -0.6510037183761597, 0.6997705698013306, -0.49223533272743225, 0.9407432079315186, -0.12817926704883575, -0.42298445105552673, -0.2565576136112213, 0.36685875058174133, 0.09717664867639542, -0.004403864499181509, -0.465366929769516, -0.16208995878696442, 0.6659802794456482, 0.4646541476249695, 0.05041762813925743, 0.6521266102790833, 0.3183095455169678, 0.28615981340408325, -0.46327000856399536, 0.5445865392684937, -0.1948772519826889, 0.039486415684223175, -0.49789246916770935, 0.011350354179739952, -0.24771645665168762, 0.3245576024055481, 0.6000414490699768, 0.6280394196510315, 0.19859637320041656, 0.39566582441329956, 0.37962955236434937, 0.20153959095478058, -0.7745084166526794, -0.09535522013902664, -0.5641376972198486, -0.03900441899895668, -0.18117740750312805, -0.2826343774795532, -0.5119529962539673, 0.03852034732699394, 0.3995720148086548, -0.5453301668167114, 0.44846871495246887, -0.020318858325481415, 1.044076681137085, -0.48651084303855896, -0.32919108867645264, -0.34141433238983154, -0.8568024039268494, 0.8933706879615784, -0.6255667209625244, 0.18977372348308563, 0.18384332954883575, -0.01845892146229744, -0.3921109139919281, -0.8367521166801453, -0.857280433177948, -0.3897306025028229, 0.08290412276983261, -0.00590342516079545, -0.04279955476522446, 0.054709818214178085, 0.34219786524772644, 0.6630866527557373, -0.2036794126033783, 0.2480548620223999, -0.4462107717990875, 0.07513394206762314, 0.5821153521537781, -0.05668335407972336, 0.144511878490448, -0.6470522880554199, -0.33214884996414185, -0.26596614718437195, -0.4588265120983124, -0.21313577890396118, 0.38829225301742554, 0.47097674012184143, 0.013491081073880196, 0.9849140048027039, -0.26349830627441406, 0.5456534028053284, -0.06662193685770035, -0.4120461642742157, 0.04901815578341484, -0.39173588156700134, -0.22797119617462158, -0.3163772225379944, 1.0797691345214844, -0.07313879579305649, 0.37481218576431274, -0.20812995731830597, -0.024554749950766563, -0.876947283744812, 0.07696563750505447, -0.7343228459358215, -0.20007668435573578, 0.25206461548805237, -0.6159065365791321, -0.21522855758666992, 0.4655369818210602, -1.176954984664917, -0.4855286180973053, -0.42800992727279663, 0.3460070788860321, -0.02863050438463688, -0.3793565332889557, -0.056976620107889175, -0.34282392263412476, -0.06820540130138397, 0.4285920262336731, -0.7606780529022217, 0.4264243245124817, 0.7182814478874207, 1.0265154838562012, -0.5658547878265381, -0.21073225140571594, -0.22869035601615906, 0.14128471910953522, -0.06914912164211273, 0.9964880347251892, -0.34748777747154236, -0.4277329742908478, -0.3320368826389313, 0.25356176495552063, -0.01772363670170307, -0.6746307015419006, 0.3742888271808624, 0.10462197661399841, 0.15624754130840302, -0.07126177102327347, -0.574374794960022, 0.2660028040409088, 0.15467992424964905, -0.8877149820327759, 0.9422788023948669, 0.2296239286661148, -0.9290221333503723, -0.08020951598882675, -0.17631061375141144, -0.21561133861541748, -0.1986628919839859, -0.12810173630714417, -0.46845924854278564, 0.3352905809879303, 0.2904492914676666, 0.624993085861206, -0.6455562114715576, -0.048001471906900406, -0.36297130584716797, -0.20880882441997528, 0.2991768419742584, -0.3947691321372986, 0.5228301882743835, 0.03493601456284523, -0.2791348099708557, -0.1258595883846283, -0.8956761360168457, -0.48047974705696106, 0.21654435992240906, -0.5082539319992065, -0.19867315888404846, -0.11717730015516281, 0.1777932345867157, 0.30316558480262756, 0.40322253108024597, -1.0426868200302124, 0.30093809962272644, -0.1368730217218399, 0.13569071888923645, 1.0355769395828247, 0.24587520956993103, 0.3009032905101776, -0.2486698478460312, 0.7215794324874878, -0.1751835197210312, -0.1475648432970047, -0.15836045145988464, -0.16149331629276276, -0.7252628803253174, -0.4047234058380127, 0.6023590564727783, 0.4327564835548401, -0.8090875744819641, 0.38495925068855286, -0.20956087112426758, -0.70048987865448, -0.21133722364902496, 0.328136682510376, 0.15990552306175232, 0.5890941619873047, 0.3351540267467499, -0.07592731714248657, -0.6258659362792969, -0.7572512626647949, -0.018998561426997185, 0.10307321697473526, -0.09930399060249329, 0.30519193410873413, 0.7439972162246704, 0.2434367835521698, 1.0160034894943237, -0.6313485503196716, -0.08711203932762146, -0.4619251489639282, 0.4826214015483856, 0.29497385025024414, 0.40458130836486816, -0.04154575616121292, -0.6287858486175537, -0.34029239416122437, 0.11823093146085739, -0.5151132941246033, -0.17801621556282043, -0.3985850512981415, 0.20880697667598724, 0.033029962331056595, 0.7081084847450256, -0.8326688408851624, 0.39710381627082825, 0.25826749205589294, -0.01722501777112484, 1.0562206506729126, -0.16774560511112213, -0.2520245611667633, -1.0481222867965698, 0.5116551518440247, 0.6346001625061035, 0.008762857876718044, -0.28496086597442627, -0.1225997656583786, -0.1999874860048294, -0.0508100651204586, -0.4331459701061249, 0.7894793152809143, -0.8072571754455566, -0.102445587515831, -0.5094515681266785, 0.16540071368217468, 0.2025536149740219, 0.10965660959482193, 0.34044912457466125, 0.5997323393821716, -0.036831099539995193, -0.48585233092308044, 0.4125158190727234, 0.16411320865154266, -0.3089514970779419, 0.35492730140686035, -0.6322863101959229, -0.16046200692653656, -0.19849734008312225, 0.4017132520675659, -0.7986799478530884, 0.15978080034255981, 0.10737218707799911, -0.2253313660621643, 0.5130252838134766, -0.05633199214935303, -0.8702081441879272, -0.5122398734092712, -0.37848708033561707, -0.09935831278562546, -0.03168375417590141, -0.25063183903694153, 0.6789168119430542, 0.20225533843040466, -0.5542617440223694, -0.5566942691802979, -0.11045672744512558, 0.1816554069519043, -0.10915209352970123, 0.06945587694644928, 0.24129128456115723, -0.15681014955043793, -0.0002524697338230908, -0.22015763819217682, -0.48191291093826294, -0.028776276856660843, 0.22161740064620972, 0.08152797818183899, 0.12297739088535309, 0.005018981173634529, -0.04366256296634674, -0.25378721952438354, -0.1006275936961174, -0.14937251806259155, -0.025999058037996292, 0.4863874614238739, 0.4250107407569885, 0.11985328048467636, -0.4661121964454651, 0.49889716506004333, 0.414227157831192, -0.07203306257724762, 0.5175638198852539, 0.3719085156917572, -0.24307017028331757, -0.48281794786453247, -0.7335038781166077, -0.15048494935035706, -0.4566888213157654, 0.2747020423412323, -0.4544018507003784, -0.8411884903907776, 0.28090742230415344, -0.32518988847732544, -0.008910533972084522, 0.5248116254806519, 0.2059449851512909, -0.2564677298069, 0.5399113893508911, 0.9086318612098694, 0.05059661716222763, 0.3983808755874634, -0.23551934957504272, 0.12880820035934448, -0.9850844144821167, -0.40263980627059937, -0.8878262639045715, -0.08849181979894638, -0.5175023078918457, -0.3841891586780548, 0.1817808449268341, 0.18775106966495514, -0.012755499221384525, 0.5245767831802368, -0.6417141556739807, 0.5504694581031799, 0.4325278103351593, 0.1466786414384842, 0.4251459836959839, 0.320130854845047, 0.03322764113545418, 0.026444362476468086, -0.32998907566070557, -0.3348483145236969, 0.8917317390441895, 0.38971033692359924, 0.5984450578689575, -0.2955959141254425, 0.6420572996139526, -0.09512261301279068, 0.04572325944900513, -0.6755210757255554, 0.6769054532051086, -0.31726008653640747, -0.4907684028148651, -0.20203055441379547, -0.729638397693634, -1.112852931022644, 0.18755927681922913, -0.2653231620788574, -1.078799843788147, 0.44821253418922424, -0.4098498821258545, -0.3266911208629608, 0.4634518623352051, -0.13862696290016174, 0.7589849233627319, -0.12016774713993073, -0.2406783103942871, 0.16828827559947968, -0.3576546013355255, 0.07738260179758072, -0.30093786120414734, 0.21502000093460083, -0.2751414477825165, -0.10328010469675064, 0.7406497001647949, -0.1967720240354538, 0.7283654808998108, 0.22954048216342926, -0.2920442819595337, 0.363365113735199, 0.27310711145401, 0.364023357629776, -0.3036825656890869, -0.08416299521923065, -0.08230667561292648, -0.024783087894320488, -0.1834913194179535, -0.29936254024505615, 0.46675774455070496, -0.5596149563789368, -0.5600060224533081, -0.630275547504425, -0.5638401508331299, -0.12215898931026459, 0.37810343503952026, 0.11647176742553711, 0.09652484953403473, 0.06665868312120438, 0.5270880460739136, 0.7561914324760437, -0.47623971104621887, 0.7175817489624023, 0.4746569097042084, 0.12136544287204742, -0.3644392788410187, 1.020576000213623, 0.4099871516227722, 0.09570856392383575, 0.597510576248169, 0.37164968252182007, -0.1498112827539444, -0.7822966575622559, 0.01093829981982708, 0.563977837562561, -0.41759055852890015, -0.23428863286972046, -0.9109624624252319, -0.33704087138175964, -0.5686426758766174, 0.003891020081937313, -0.20560763776302338, -0.6587480902671814, -0.6754274964332581, -0.3160443902015686, 0.14031991362571716, 0.8372480869293213, -0.21381708979606628, 0.21232421696186066, -0.8436396718025208, 0.5623636841773987, 0.19080191850662231, 0.13512609899044037, 0.3300018012523651, -0.28864815831184387, -0.22361239790916443, -0.40854939818382263, -0.38873186707496643, -0.9655904769897461, 0.2999238967895508, 0.10383147746324539, 0.6852226853370667, 0.04842182248830795, -0.0021814117208123207, 0.6460117697715759, -0.3067418932914734, 0.832114040851593, 0.0005015525966882706, -0.7942339777946472, 0.672077476978302, -0.5327653884887695, 0.17180250585079193, 0.5861033797264099, 0.8080013990402222, -0.3624531924724579, -0.1868339627981186, -0.7635250091552734, -1.255955696105957, 0.6145286560058594, 0.08604642748832703, -0.18267644941806793, -0.3860800564289093, 0.43864014744758606, -0.020790383219718933, 0.15598925948143005, -0.9264640808105469, 0.14676626026630402, 0.3314187526702881, -0.26982581615448, 0.12788787484169006, -0.5605181455612183, 0.03554029017686844, -0.05377373471856117, 0.5768388509750366, -0.2766752243041992, -0.04311256483197212, 0.44157347083091736, -0.11736869812011719, -0.0693451538681984, 0.16161946952342987, 0.37533536553382874, 0.8323346972465515, -0.30505844950675964, 0.2290191352367401, 0.037238746881484985, -0.3616437613964081, 0.08482737839221954, 0.2891468107700348, -0.039756543934345245, 0.10638875514268875, 0.40412768721580505, 0.05236101523041725, -0.04086939990520477, -0.8922616243362427, 0.6365014314651489, 0.08559056371450424, 0.07322726398706436, -0.22095316648483276, -0.5149009823799133, -0.0856122225522995, 0.017521876841783524, 0.6008337140083313, -0.6255740523338318, 0.2057713270187378, -0.5186383128166199, 0.4904928207397461, 0.29154834151268005, -0.051617544144392014, -0.11508224904537201, 0.2010008692741394, 0.04318821430206299, 0.18784867227077484, 0.43940144777297974, -0.012274923734366894, -0.05257251113653183, 0.7266777753829956, 0.6413913369178772, 0.6984137296676636, 0.042933858931064606, 0.38659191131591797, 0.45859912037849426, 0.22295984625816345, -0.38363274931907654, 0.016434352844953537, -0.18759965896606445, -0.37686464190483093, -0.7282652854919434, -0.9437246322631836, -0.4181355834007263, 0.2453051060438156, -0.5326825976371765, 0.19616875052452087, -0.7423052787780762, 0.14943435788154602, 0.1763359159231186, 0.36271703243255615, -0.21076330542564392, 0.18174776434898376, 0.33237573504447937, 1.1740719079971313, -0.8398732542991638, 0.619504451751709, 0.32434919476509094, -0.5494804978370667, -0.7138605117797852, -0.3286512792110443, 0.1325826644897461, -0.18973378837108612, 0.6895575523376465, 0.13878194987773895, 0.16443662345409393, -0.34919607639312744, -0.5410081148147583, -0.8094608187675476, 0.975644588470459, 0.018949739634990692, -0.5518364310264587, -0.37354934215545654, 0.2926388680934906, 0.2627975046634674, -0.23556195199489594, 0.427486389875412, 0.613620936870575, 0.425954669713974, -0.015068955719470978, -1.1526157855987549, 0.23400837182998657, -0.32796868681907654, 0.0943741723895073, 0.06656963378190994, -0.5470889210700989, 0.9331638813018799, 0.3875502049922943, -0.13929951190948486, 0.5233206152915955, 0.7587118744850159, 0.5152350664138794, 0.044131115078926086, 0.4152106046676636, 0.6399211287498474, 0.4485875964164734, -0.026971565559506416, 0.9331504702568054, 0.1946234554052353, 0.39160043001174927, 1.3505547046661377, -0.21809464693069458, 0.861757755279541, 0.5889964699745178, 0.007792808581143618, 0.45125678181648254, 0.5473769307136536, -0.4999534785747528, 0.1110144630074501, 0.31991249322891235, -0.23961196839809418, -0.0712570995092392, -0.46205776929855347, 0.035446587949991226, 0.3816192150115967, 0.46889176964759827, -0.3341251015663147, -0.44903361797332764, -0.21408525109291077, 0.27189356088638306, -0.0009504698100499809, -0.21049493551254272, 0.9266330599784851, 0.43029865622520447, -0.47540876269340515, -0.010016434825956821, 0.02082069218158722, 0.8024665117263794, -0.46826818585395813, -0.19695205986499786, -0.09714291989803314, 0.05860048159956932, -0.1669255495071411, -0.7787414789199829, 0.12844066321849823, 0.06608723104000092, -0.27221596240997314, -0.2921428084373474, 0.6744743585586548, -0.29227185249328613, -0.484135240316391, 0.2659367322921753, 0.511822521686554, -0.06124844774603844, 0.0011539245024323463, -0.6340305209159851, -0.019874772056937218, -0.04307476058602333, -0.5402523875236511, 0.40551120042800903, 0.5399965643882751, 0.05339404568076134, 0.3678945004940033, 0.8745059370994568, 0.5838635563850403, -0.23601758480072021, -0.3806241750717163, 0.6287839412689209, -0.6825960278511047, 0.0037969572003930807, -0.8576979637145996, 0.6580086946487427, -0.5066578984260559, -0.4262082874774933, 0.8999291062355042, 0.5304364562034607, 0.6552572846412659, 0.1277332603931427, 0.6359677910804749, -0.09892163425683975, 0.7452623248100281, -0.3124554455280304, 0.3611348867416382, -0.4037036597728729, 0.1536281406879425, -0.528083860874176, -1.167578935623169, -0.2657925486564636, 0.46731793880462646, -0.01985948160290718, -0.0833563357591629, 0.7087504863739014, 0.4870333969593048, -0.17643027007579803, -0.1914627104997635, -0.18267859518527985, 0.27403923869132996, 0.580696165561676, 0.2058231085538864, 0.6344990134239197, -0.1156509518623352, 0.6239711046218872, -0.5230929255485535, 0.004629139788448811, -0.10638712346553802, -1.2753024101257324, -0.8029076457023621, -0.33741867542266846, -0.4589419662952423, -0.5404348373413086, -0.14800365269184113, 0.9592474699020386, 0.5721566677093506, -0.7113944888114929, -0.44586747884750366, -0.015926044434309006, 0.08424963057041168, -0.040947504341602325, -0.26906338334083557, 0.6195732951164246, -0.00810763705521822, -0.8395139575004578, 0.557330846786499, 0.24781696498394012, 0.3443886339664459, -0.13645143806934357, 0.6050119400024414, -0.4761512577533722, 0.030298201367259026, 0.49348184466362, 0.6982387900352478, -0.3988496661186218, -0.2780623435974121, -0.2086714506149292, 0.0806909054517746, -0.09360212087631226, 0.8610643148422241, -0.5221155285835266, 0.4405539333820343, 0.88078373670578, 0.6065108180046082, 0.6769613027572632, -0.019683053717017174, 0.6382215619087219, -0.992681086063385, 0.11390668898820877, 0.1599055975675583, 0.455363005399704, 0.416635662317276, -0.1429874151945114, 0.5663025975227356, 0.3608444631099701, -0.50059574842453, -0.9138041138648987, -0.05231102183461189, -1.3017653226852417, -0.8934844732284546, 1.2692445516586304, -0.27841660380363464, -0.4944611191749573, -0.03183845430612564, -0.09192972630262375, 0.2193721979856491, -0.06947015970945358, 0.61632239818573, 0.6908560395240784, 0.054406169801950455, -0.7086710333824158, -0.5416821837425232, 0.24143405258655548, 0.04201735183596611, -0.6852670907974243, 0.18352153897285461, 0.3426796793937683, 0.4149499237537384, 0.35608842968940735, 0.4579736292362213, -0.22734659910202026, 0.1910587102174759, -0.24077868461608887, 0.09232320636510849, -0.16799816489219666, -0.5809903144836426, -0.3340148329734802, 0.5289450287818909, -0.07583104074001312, 0.41956570744514465 ]
http://arxiv.org/abs/2403.00252v2
http://arxiv.org/pdf/2403.00252v2
EUROPA: A Legal Multilingual Keyphrase Generation Dataset
2024-03-01T03:30:38
2024-06-14T13:51:01
Olivier Salaün, Frédéric Piedboeuf, Guillaume Le Berre, David Alfonso Hermelo, Philippe Langlais
cs.CL
cs.CL, cs.AI, cs.LG
Keyphrase generation has primarily been explored within the context of academic research articles, with a particular focus on scientific domains and the English language. In this work, we present EUROPA, a dataset for multilingual keyphrase generation in the legal domain. It is derived from legal judgments from the Court of Justice of the European Union (EU), and contains instances in all 24 EU official languages. We run multilingual models on our corpus and analyze the results, showing room for improvement on a domain-specific multilingual corpus such as the one we present.
[ -0.07431580126285553, -0.2779379189014435, 0.7508075833320618, -0.11947179585695267, -0.5950220227241516, 0.13092868030071259, -0.20383970439434052, -0.16743049025535583, 0.3925643861293793, 0.7381517887115479, -0.5234032273292542, -0.9642711877822876, -0.6816429495811462, 0.497490793466568, -0.32185378670692444, 0.9676153063774109, 0.17145361006259918, 0.6348395943641663, 0.25112268328666687, -0.5046201348304749, -0.24713250994682312, -0.6952532529830933, -0.06229927018284798, 0.4268113374710083, 0.6693195104598999, 0.7489656209945679, 0.41402459144592285, 0.4376475214958191, 0.9579185247421265, 0.24742743372917175, -0.03693947568535805, 0.0864429622888565, -0.303475022315979, 0.44727757573127747, -0.41805586218833923, -0.6045523881912231, -0.35814017057418823, -0.3873049020767212, 0.5121561288833618, 0.24680502712726593, -0.2278522402048111, 0.21539944410324097, -0.3548664450645447, 0.6011878252029419, -0.5605224967002869, 0.017998525872826576, -0.9972292184829712, 0.31613996624946594, -0.6141485571861267, -0.28238052129745483, -0.1912241280078888, -0.3732547163963318, -0.07157360762357712, -0.6147505640983582, 0.4043199419975281, 0.1586313247680664, 0.5818722248077393, 0.02829219587147236, -0.6744614243507385, -0.7697198987007141, -0.3008955717086792, 0.46170732378959656, -0.5443621873855591, 0.6927701234817505, 0.05982077866792679, 0.4096299707889557, -0.0997558981180191, -1.0329011678695679, -0.49770909547805786, -0.2071252465248108, 0.35337457060813904, 0.34968242049217224, 0.03914392739534378, -0.19955524802207947, -0.24661575257778168, -0.08615119010210037, -0.8299914002418518, -0.02908811718225479, -0.9064806699752808, 0.029189206659793854, 0.33180487155914307, -0.0749891921877861, 0.40762871503829956, -0.37698057293891907, 0.33955010771751404, -0.38097989559173584, -1.2355868816375732, -0.2593768239021301, 0.8239180445671082, 0.7634900808334351, 0.19016394019126892, 0.656551718711853, 0.024561524391174316, 0.2806828022003174, -0.1277860552072525, -0.1601586490869522, 0.3830665647983551, -0.4464419186115265, 0.3251447379589081, 0.3587680757045746, 0.6192470192909241, 0.6053963899612427, 0.050689008086919785, -0.47751128673553467, 0.15701279044151306, 0.1634710282087326, 0.36272719502449036, -0.8273319005966187, -0.1451822966337204, 0.5375180244445801, -0.35337626934051514, -0.43900182843208313, 0.38770735263824463, -1.0002802610397339, -0.013448427431285381, -0.08674776554107666, -0.014759000390768051, -0.31064867973327637, -0.09084796160459518, 0.352696031332016, -0.4770117998123169, -0.21904446184635162, -0.2050594985485077, -0.3943423926830292, -0.046008236706256866, 0.5730553269386292, 0.49480706453323364, 0.02442655712366104, -0.2896958887577057, -0.5731323957443237, 0.22869350016117096, -0.4025472402572632, 0.6666079163551331, -0.8595947027206421, -0.5370321869850159, 0.555106520652771, 0.25207966566085815, 0.0916745513677597, -0.4575851559638977, 1.1616344451904297, -0.7858973741531372, 0.250736266374588, -0.27984243631362915, -0.5023511052131653, -0.12324430793523788, -0.04605545476078987, -0.749396800994873, 0.6829819083213806, -0.42898839712142944, -0.7558467984199524, 1.0570077896118164, -1.0490542650222778, -0.5651792287826538, 0.3436233401298523, -0.45480507612228394, -0.4934854805469513, 0.1396234780550003, -0.11038567125797272, 0.3596777617931366, -0.03384998440742493, 0.4823305606842041, -0.27890416979789734, 0.3983350098133087, 0.22598020732402802, 0.0009091230458579957, 0.5237182974815369, 0.6252861022949219, -0.5212612152099609, -0.13477011024951935, -0.8340765833854675, 0.013112368062138557, 0.011270972900092602, -0.372626394033432, -0.3751995861530304, 0.2579934298992157, 0.45524725317955017, 0.49074816703796387, 0.3597226142883301, -1.1017487049102783, 0.030782409012317657, -0.016500646248459816, 0.6829634308815002, 0.3877016305923462, 0.23016025125980377, 0.05473396182060242, 0.003115288680419326, 0.7956021428108215, 0.12694880366325378, -0.26129353046417236, 0.1407259851694107, -0.5599672198295593, -0.18416929244995117, -0.24415811896324158, 0.8370012640953064, 0.6367033123970032, -0.5033362507820129, 0.4394841194152832, -0.5834309458732605, -0.40389543771743774, -0.8547558784484863, 0.1328076720237732, 0.4339037239551544, -0.04910719022154808, 0.14834117889404297, 0.10575675219297409, -0.5872554779052734, -0.9013328552246094, -0.3175777196884155, 0.021964674815535545, 0.18073368072509766, 0.458584189414978, 0.9794500470161438, -0.061654288321733475, 0.7082936763763428, -0.19464077055454254, -0.4212000072002411, -0.33271220326423645, 0.11871451884508133, 0.34544575214385986, 0.3310118317604065, 0.6366512775421143, -1.2718154191970825, -0.8117889761924744, 0.15307551622390747, -0.7575830221176147, 0.01972927525639534, 0.0896473154425621, -0.2761097848415375, -0.20932480692863464, 0.548474907875061, -0.5174087882041931, -0.03711140528321266, 0.49751991033554077, -0.833605945110321, 0.26473742723464966, -0.47151750326156616, 0.5139808654785156, -1.5997192859649658, 0.4016600251197815, -0.25287461280822754, -0.2617882788181305, -0.5338452458381653, 0.5990422964096069, 0.2943337559700012, -0.2662225663661957, -0.7915850281715393, 0.3534829616546631, -0.2997538149356842, 0.16180481016635895, 0.019560877233743668, 0.2753409445285797, -0.04372624680399895, -0.009935482405126095, 0.06180993467569351, 0.9733101725578308, 0.6143441200256348, -0.5888015627861023, 0.15504932403564453, 0.6426753997802734, -0.35858193039894104, 0.7044560313224792, -0.4980883300304413, -0.18495668470859528, -0.18794949352741241, 0.02478797547519207, -0.5929247736930847, -0.463238924741745, -0.15195970237255096, -0.31509071588516235, -0.0395813062787056, -0.1901915818452835, -0.8157936334609985, -0.5566304922103882, -0.07976817339658737, 0.16596701741218567, 0.30027055740356445, -0.4687473177909851, 0.17497001588344574, 0.6483173370361328, -0.6557331085205078, -0.44620150327682495, -0.5065680742263794, 0.4964858889579773, -0.7821342945098877, -0.6598795056343079, 0.38043877482414246, -0.02247767709195614, -0.2309858202934265, 0.08786150813102722, 0.402543306350708, -0.16576190292835236, 0.058846186846494675, 0.13792218267917633, -0.20757713913917542, -0.04141435772180557, 0.10146017372608185, 0.30566421151161194, 0.2729201912879944, 0.10220478475093842, -0.22907692193984985, 0.47456619143486023, 0.293515682220459, -0.3866751790046692, -0.37014827132225037, 0.794201672077179, 0.9106003046035767, -0.33684220910072327, 0.22084060311317444, -0.08112549781799316, -0.047589149326086044, -0.010593992657959461, -0.038821741938591, -0.3500485122203827, -0.40374699234962463, 0.4514603912830353, -0.8513052463531494, -0.6446956992149353, 0.5966651439666748, 0.052847567945718765, 0.6353775858879089, 0.7218595743179321, 0.8282862305641174, 0.12322232127189636, 0.9978196024894714, 0.5723569393157959, -0.22915039956569672, 0.16708683967590332, -0.047967586666345596, 0.3445136845111847, -0.42730581760406494, 0.10170648247003555, -0.9715343713760376, -0.1391947716474533, -1.0074018239974976, -0.15464287996292114, 0.6628955006599426, -0.23090584576129913, 0.2037925124168396, 0.5804948210716248, -0.2682325541973114, 0.3884747624397278, 0.9480561017990112, 0.1601557582616806, 0.18161281943321228, 0.1253589242696762, -0.8099458813667297, -0.2302970439195633, -0.7664307951927185, -0.7744904160499573, 1.7571717500686646, 0.019505102187395096, 0.26486217975616455, 0.5095975399017334, 0.9630144238471985, 0.5385218858718872, -0.26234710216522217, -0.21675357222557068, 0.19878673553466797, -0.5448811650276184, -1.1981700658798218, -0.22223526239395142, -0.40878403186798096, -1.407799243927002, 0.4603192210197449, -0.06519650667905807, -0.40136075019836426, 0.08133140206336975, -0.17780698835849762, -0.5519353747367859, 0.08974707871675491, -0.07818866521120071, 0.9716472625732422, -0.2328166514635086, -0.2203764170408249, -0.5219368934631348, -0.7030932307243347, 0.04780178889632225, -0.31082648038864136, 0.4621600806713104, -0.04306642338633537, 0.3748512268066406, 1.0204054117202759, -0.3520108163356781, 0.39376014471054077, -0.315540075302124, -0.14941304922103882, 0.24148117005825043, 0.013380322605371475, 0.44688981771469116, 0.16137728095054626, -0.02064693346619606, -0.210520401597023, 0.14817287027835846, -0.08643200993537903, 0.10639410465955734, 0.3986615538597107, -0.5084556937217712, -0.07181286811828613, -0.21736067533493042, -0.4203881025314331, -0.02251788042485714, 0.3611634075641632, 0.5549507141113281, 0.335408478975296, -0.36476707458496094, 0.5097514986991882, 0.5299106240272522, -0.22043085098266602, 0.19591741263866425, 0.8496096134185791, -0.13438796997070312, -0.520267903804779, 0.9663776755332947, 0.21489998698234558, -0.25677335262298584, 0.28229978680610657, -0.1466989368200302, -0.6891182065010071, -0.33001551032066345, -0.5344619750976562, 0.18186330795288086, -0.7054448127746582, -0.0739268958568573, -0.656446099281311, 0.23876911401748657, -0.7886757850646973, -0.07852907478809357, -0.1374519318342209, -0.7613151669502258, 0.128149151802063, -0.4201638996601105, 0.4603245258331299, 0.6158917546272278, -0.33922621607780457, 0.36169886589050293, -0.9777970910072327, 0.6757348775863647, 0.011661789380013943, -0.11045557260513306, -0.8187143802642822, -0.5657487511634827, -0.10664808005094528, -0.028797976672649384, -0.5125489830970764, -0.9090760350227356, 0.5065606832504272, 0.5078678727149963, 0.5499982833862305, 0.42021018266677856, -0.01917121559381485, 0.4115254580974579, -1.349851131439209, 0.874226987361908, 0.05469641834497452, -0.4183271527290344, 0.6250307559967041, -0.42812514305114746, 0.03598186746239662, 0.822031557559967, 0.4199255406856537, -0.6715835928916931, -1.1606465578079224, -1.071272611618042, -1.0527602434158325, 0.23169279098510742, 0.3378262221813202, 0.34029677510261536, 0.07753664255142212, 0.10848399251699448, 0.39777320623397827, 0.4813603162765503, -0.5715593695640564, -0.03586699068546295, 0.18692928552627563, -0.4977010488510132, -0.02811664342880249, -0.03137196600437164, -0.5303760170936584, 0.15439236164093018, 0.7716830372810364, -0.050873611122369766, 0.2769443392753601, 0.018263457342982292, -0.35827919840812683, -0.08351673930883408, 0.48489707708358765, 0.764371395111084, 0.787588357925415, -0.08233902603387833, -0.11123869568109512, -0.2748236060142517, -0.45148009061813354, 0.05562837794423103, 0.18289005756378174, -0.271628201007843, 0.7088306546211243, 0.10994534194469452, 0.44140028953552246, 0.1419418901205063, -0.9338061213493347, 0.484423965215683, -0.2100655734539032, -0.8146460652351379, -0.2355048805475235, -0.31330105662345886, -0.029559532180428505, 0.26206326484680176, 0.4975323975086212, -0.40919700264930725, 0.47848841547966003, -0.44669660925865173, 0.8096450567245483, 0.34449830651283264, 0.2880735695362091, -0.3981795608997345, 1.0479414463043213, 0.2622091770172119, -0.026033278554677963, 0.3216061592102051, -0.08593308925628662, -0.7652028203010559, 0.5354122519493103, 0.1342482566833496, 0.8267408609390259, 0.06894438713788986, 0.3804522454738617, 0.37447473406791687, 0.11614116281270981, 0.17462757229804993, 1.0761427879333496, 0.024360138922929764, -0.5885586738586426, -0.00017078619566746056, -0.6197644472122192, -0.5225552916526794, 0.04753047972917557, -0.5696077942848206, -0.05892195925116539, 0.01592971570789814, -0.5560114979743958, 0.11929868906736374, -0.21485553681850433, -0.8099467158317566, 0.18262314796447754, 0.032693639397621155, 0.8332221508026123, -0.9569925665855408, 0.6307632327079773, 0.6762317419052124, -0.23277094960212708, -0.19731761515140533, -0.4101257622241974, -0.21756267547607422, -0.6364257335662842, 1.09596848487854, 0.049851179122924805, 0.1950945407152176, -0.2513810098171234, -0.41733109951019287, -0.7003561854362488, 0.796345591545105, 0.1774892807006836, -0.7441880106925964, -0.053965989500284195, 0.6504986882209778, 0.5081884264945984, -0.35682064294815063, -0.4775524139404297, 0.4050174355506897, 0.6017591953277588, -0.3389076888561249, -0.8217169642448425, -0.3485007882118225, -0.4826253056526184, -0.37876757979393005, 0.12436416745185852, -0.37525635957717896, 0.7446640729904175, 0.29452893137931824, -0.03273428604006767, 0.07253348082304001, 0.5658119916915894, 0.4991157352924347, -0.2247631698846817, 0.2455965280532837, 0.8089790940284729, 0.9595557451248169, -0.08998306095600128, 0.7895711064338684, -1.4551239013671875, 0.14772869646549225, 1.0304754972457886, -0.4781779646873474, 1.0082370042800903, 0.7086988687515259, 0.09488130360841751, 0.29807451367378235, 0.6215180158615112, -0.13285699486732483, 0.9547030925750732, 0.04612429812550545, -0.16703175008296967, -0.006033825688064098, -0.009953277185559273, -0.3614880442619324, 0.4254240095615387, 0.31259143352508545, -0.658717691898346, -0.5019719004631042, 0.13739922642707825, 0.12459506094455719, -0.03845282644033432, -0.010641560889780521, 0.8852006793022156, -0.11456342786550522, -0.6715832352638245, -0.008077959530055523, 0.30874013900756836, 0.24831052124500275, -0.3350008726119995, 0.019764848053455353, -0.08539384603500366, 0.25130075216293335, 0.17719605565071106, -0.7881267666816711, -0.12167535722255707, 0.6451436281204224, -0.004936503246426582, -0.4317716062068939, 0.05884433910250664, -0.4659369885921478, -0.8700434565544128, 0.10178688913583755, 0.5773434042930603, 0.6397185921669006, 0.09573380649089813, -0.8172402381896973, -0.42361781001091003, -0.163127139210701, -0.19777275621891022, 0.020758086815476418, 0.9993956089019775, 0.20016194880008698, 0.36370816826820374, 0.6193375587463379, 0.44786569476127625, 0.8172778487205505, 0.1601322740316391, 0.5852019190788269, -0.5625410676002502, -0.8069456219673157, -0.5033649206161499, 0.7140326499938965, -0.11473236232995987, -0.751912534236908, 0.8064053654670715, 0.884253203868866, 0.6132146120071411, -0.36482420563697815, 1.2522517442703247, -0.3786303699016571, 0.7517093420028687, -0.7426452040672302, 0.6892932653427124, -0.6219848990440369, -0.48876044154167175, -0.13546288013458252, -0.8349922895431519, -0.3325343728065491, 0.482352614402771, 0.15091140568256378, -0.40211009979248047, 0.7281556725502014, 0.6782777309417725, -0.1373845487833023, -0.3637439012527466, 0.43607404828071594, -0.13179729878902435, 0.38744789361953735, 0.13955539464950562, 0.4285171926021576, -0.48560672998428345, 0.4346776306629181, -0.15311963856220245, 0.2377350777387619, -0.3303053379058838, -0.48199546337127686, -0.5846896767616272, -0.6312897205352783, 0.025731688365340233, -0.32269224524497986, 0.21100790798664093, 0.7608799338340759, 0.40939977765083313, -1.1531453132629395, -0.4390844702720642, -0.38759946823120117, -0.3415967524051666, 0.30601996183395386, -0.16001535952091217, 0.3668305575847626, -0.7371952533721924, -0.826240599155426, 0.5811597108840942, -0.07554572075605392, -0.14848800003528595, -0.11628895998001099, -0.17395463585853577, -0.2051030695438385, 0.10613977164030075, 0.34115204215049744, 0.11001555621623993, -0.5526316165924072, -0.12916943430900574, 0.036759208887815475, -0.22864611446857452, 0.2565499544143677, 1.0096251964569092, 0.07820980995893478, 0.32638344168663025, 0.3042735457420349, 0.4808799922466278, 0.09415168315172195, -0.2090141773223877, 0.7396116852760315, -0.5646732449531555, 0.17728421092033386, 0.22071149945259094, 0.8336313366889954, 0.08454539626836777, -0.18943993747234344, 0.5435814261436462, 0.09717727452516556, -0.7209614515304565, -0.7680578231811523, 0.16575530171394348, -0.5063938498497009, -0.3934365510940552, 1.1358994245529175, -0.2923468351364136, -0.3360392451286316, 0.040168456733226776, -0.13343220949172974, 0.07758036255836487, -0.6147875785827637, 1.0288758277893066, 0.8231863975524902, 0.5158403515815735, 0.3366001844406128, -0.7204342484474182, 0.5358085632324219, 0.4517955780029297, -0.7820262312889099, 0.08340944349765778, 0.6423120498657227, 0.29788362979888916, 0.5368765592575073, 0.13363657891750336, -0.3263658881187439, 0.5116012692451477, -0.015836497768759727, 0.26832759380340576, 0.6474794745445251, -0.841288149356842, -0.13287630677223206, 0.48848801851272583, -0.005800308659672737, -0.18523947894573212 ]
http://arxiv.org/abs/2403.00867v2
http://arxiv.org/pdf/2403.00867v2
Gradient Cuff: Detecting Jailbreak Attacks on Large Language Models by Exploring Refusal Loss Landscapes
2024-03-01T03:29:54
2024-03-05T13:46:50
Xiaomeng Hu, Pin-Yu Chen, Tsung-Yi Ho
cs.CR
cs.CR, cs.AI, cs.CL, cs.LG
Large Language Models (LLMs) are becoming a prominent generative AI tool, where the user enters a query and the LLM generates an answer. To reduce harm and misuse, efforts have been made to align these LLMs to human values using advanced training techniques such as Reinforcement Learning from Human Feedback (RLHF). However, recent studies have highlighted the vulnerability of LLMs to adversarial jailbreak attempts aiming at subverting the embedded safety guardrails. To address this challenge, this paper defines and investigates the Refusal Loss of LLMs and then proposes a method called Gradient Cuff to detect jailbreak attempts. Gradient Cuff exploits the unique properties observed in the refusal loss landscape, including functional values and its smoothness, to design an effective two-step detection strategy. Experimental results on two aligned LLMs (LLaMA-2-7B-Chat and Vicuna-7B-V1.5) and six types of jailbreak attacks (GCG, AutoDAN, PAIR, TAP, Base64, and LRL) show that Gradient Cuff can significantly improve the LLM's rejection capability for malicious jailbreak queries, while maintaining the model's performance for benign user queries by adjusting the detection threshold.
[ -0.4215802550315857, -1.0183027982711792, 0.3608110547065735, 0.13605353236198425, -0.21364645659923553, 0.36553841829299927, -0.1194448471069336, -0.15861545503139496, 0.17541849613189697, 0.7680790424346924, -0.6334459781646729, -0.5456365942955017, -0.6886819005012512, -0.299548476934433, -0.7405463457107544, 1.219982385635376, -0.10704988241195679, -0.013219336979091167, 0.27806276082992554, -0.21746787428855896, -0.54945969581604, -0.41427943110466003, -0.7466509342193604, -0.24389687180519104, 0.47223299741744995, 0.09686139971017838, 0.5870799422264099, 0.43537813425064087, 0.40342551469802856, 0.2292836308479309, -0.21869264543056488, -0.05448228865861893, -0.4219634234905243, 0.18953390419483185, 0.15308932960033417, -0.6439308524131775, -0.2751428484916687, -0.0008260984905064106, 0.3654889762401581, 0.28058546781539917, -0.23227743804454803, 0.015501393936574459, 0.0017379075288772583, 0.896631121635437, -0.6751521825790405, -0.43651333451271057, -0.7404025197029114, 0.06831768900156021, -0.4967264235019684, -0.00382071640342474, -0.4037701189517975, -0.0923948884010315, -0.19476433098316193, 0.022373365238308907, 0.26879048347473145, 0.1376618593931198, 0.5259019732475281, 0.21844428777694702, -0.16611789166927338, -0.18333542346954346, -0.476855993270874, 0.371245801448822, -0.5296537280082703, 0.31023210287094116, 0.4629659652709961, 0.21936437487602234, -0.6579630970954895, -0.3001822829246521, -0.620908796787262, -0.6605515480041504, 0.1538347601890564, -0.2071455866098404, -0.09718238562345505, 0.0342845693230629, 0.05226685106754303, 0.054378360509872437, -0.7523704171180725, 0.48480090498924255, -0.35256630182266235, -0.31005537509918213, 0.4230780601501465, 0.22054652869701385, 0.3773305118083954, -0.13268409669399261, -0.5733861327171326, -0.1552402824163437, -0.9078781008720398, 0.24848492443561554, 0.7459896206855774, 0.1366564780473709, -0.2760484218597412, 0.3500756025314331, 0.10627298802137375, 0.78969407081604, -0.09325115382671356, 0.034066446125507355, 0.13104452192783356, 0.14895954728126526, -0.1056283488869667, -0.14034365117549896, 0.8738524913787842, 0.37881651520729065, 0.21297527849674225, -0.1819281131029129, -0.4362463355064392, -0.18640467524528503, 0.22973421216011047, -0.5863457918167114, -0.14483463764190674, 0.5113580822944641, -0.5335994958877563, -0.5660789012908936, -0.07542218267917633, -0.7278920412063599, -1.2009974718093872, 0.21788690984249115, 0.12112390249967575, -0.600139856338501, -0.26920631527900696, 0.02713569812476635, -0.3426688611507416, 0.44815754890441895, 0.23993289470672607, -0.8933733105659485, 0.38415905833244324, 0.7747021317481995, 1.1353120803833008, -0.05444779247045517, -0.3022032380104065, -0.9038511514663696, -0.16637766361236572, -0.15200892090797424, 0.47787362337112427, -0.1179196834564209, -0.584059476852417, 0.041084177792072296, -0.3421221673488617, -0.1156778559088707, -0.7322354912757874, 0.7122136950492859, -0.7516261339187622, -0.4228014349937439, 0.27186909317970276, -0.25663378834724426, -0.02216780185699463, 0.611752450466156, -0.6985460519790649, 0.728111743927002, -0.014099852181971073, -0.8422415852546692, 0.07519221305847168, -0.43219345808029175, -0.5577842593193054, -0.21468953788280487, -0.02220151573419571, -0.5890087485313416, 0.08824097365140915, 0.2164967954158783, 0.3810129761695862, -0.27179157733917236, 0.0839158222079277, -0.5471768379211426, -0.24547189474105835, 0.5368533730506897, -0.40578675270080566, 0.8560628294944763, 0.2345902919769287, -0.3792729377746582, 0.1456919014453888, -0.6567555665969849, -0.23521557450294495, 0.21639645099639893, -0.46530506014823914, -0.4220597743988037, 0.34065890312194824, 0.32017725706100464, 0.0658392533659935, -0.10704058408737183, -0.6606184840202332, 0.12076466530561447, -0.4021100401878357, 0.6374411582946777, 1.005794644355774, -0.3692517578601837, 0.27896934747695923, -0.17455008625984192, 0.6233344674110413, -0.05868338793516159, 0.2271949052810669, 0.3038623631000519, -0.19130346179008484, -0.6310542821884155, -0.34935662150382996, 0.32388341426849365, 0.8029537200927734, -0.4069897532463074, 0.4208946228027344, 0.09999515116214752, -0.47482141852378845, -0.584895133972168, 0.3164415657520294, 0.3699352741241455, 0.6364945769309998, 0.23794829845428467, -0.4968183636665344, -0.3760659098625183, -0.7513384819030762, -0.5164949297904968, -0.4079778492450714, -0.1822938472032547, 0.17261849343776703, 0.5011383891105652, -0.2982710003852844, 0.5699599981307983, -0.23965346813201904, -0.47318390011787415, -0.4085157513618469, 0.05461074411869049, 0.22221580147743225, 0.4984240233898163, 0.6813340783119202, -0.5960326790809631, -0.0865074023604393, -0.32303810119628906, -0.399151086807251, -0.0024297544732689857, -0.1825154572725296, 0.042994424700737, 0.17012491822242737, 0.6369131803512573, -0.4467634856700897, 0.616401195526123, 0.5488300323486328, -0.2032046616077423, 0.5898578763008118, -0.011041395366191864, -0.12495795637369156, -0.6809632182121277, -0.09431755542755127, 0.16018451750278473, -0.2112397998571396, -0.7015707492828369, 0.10217422246932983, 0.17163583636283875, -0.007867760956287384, -0.46773961186408997, 0.5792174339294434, -0.06446277350187302, 0.12028191983699799, -0.2589704990386963, 0.13972516357898712, -0.34863582253456116, 0.30708494782447815, -0.1797335296869278, 0.5677472949028015, 0.47213345766067505, -0.4645044803619385, 0.3837467432022095, 0.1429070681333542, -0.3483318090438843, 0.36182770133018494, -0.6668010354042053, 0.26037833094596863, -0.3501991629600525, 0.650700569152832, -1.2216026782989502, -0.13944119215011597, 0.4817720949649811, -0.5697854161262512, 0.20950859785079956, -0.49145424365997314, -0.17081314325332642, -0.42136266827583313, -0.882699728012085, 0.14554913341999054, 0.48417383432388306, -0.6424074769020081, 0.3801236152648926, 0.38574767112731934, -0.004202680662274361, -0.8138432502746582, -0.7924747467041016, 0.14780838787555695, -0.4169115722179413, -0.6010491847991943, 0.27410009503364563, -0.008988586254417896, -0.21424564719200134, -0.34178081154823303, -0.03865319490432739, 0.02770620957016945, 0.6547126770019531, 0.3583087623119354, 0.4150022864341736, 0.2130471169948578, -0.15464332699775696, -0.2488366812467575, 0.030520064756274223, 0.3237437605857849, -0.23378972709178925, 0.8781841397285461, -0.12134803086519241, -0.3451710343360901, -0.5077146887779236, 0.13938790559768677, 0.6119117140769958, -0.2960595190525055, 0.8966521620750427, 0.6496959328651428, -0.11464761942625046, -0.3945167660713196, -0.36871060729026794, -0.2306828647851944, -0.4782278537750244, 0.37040141224861145, -0.3052029609680176, -1.0159556865692139, 0.7402140498161316, -0.03346060961484909, -0.029730789363384247, 0.1412472277879715, 0.6072080731391907, -0.19359561800956726, 0.7837631106376648, 0.34702539443969727, -0.76902836561203, 0.6353268623352051, -0.23373854160308838, 0.3501133620738983, -1.1120165586471558, -0.17895391583442688, -0.7027279138565063, -0.4818187654018402, -0.7140487432479858, -0.06583225727081299, 0.5396742820739746, 0.21763156354427338, -0.4098374545574188, 0.17179006338119507, -0.28929403424263, 0.32827651500701904, 0.5017342567443848, 0.45422279834747314, 0.022444188594818115, -0.006394263356924057, -0.19242066144943237, 0.28051191568374634, -0.26980987191200256, -0.26858919858932495, 1.2511159181594849, 0.5603067874908447, 1.1601868867874146, 0.49363741278648376, 0.7424805164337158, 0.5680930614471436, 0.46883928775787354, -0.8763322234153748, 0.5826770663261414, 0.06929248571395874, -0.5647779703140259, -0.16892676055431366, -0.3183865547180176, -0.9266114830970764, 0.2834322452545166, -0.20357029139995575, -0.9523757696151733, -0.3512659966945648, 0.39698755741119385, -0.3462124764919281, 0.46430760622024536, -0.3994184732437134, 0.6652031540870667, -0.4887565076351166, -0.265275239944458, -0.30510467290878296, -0.8412185907363892, 0.5885239243507385, 0.11966908723115921, 0.37766337394714355, -0.13610531389713287, 0.1948760747909546, 0.7462922930717468, -0.705361545085907, 0.9081535935401917, -0.3694561719894409, 0.08217379450798035, 0.22436638176441193, 0.5053719878196716, 0.7322061061859131, 0.21338681876659393, -0.05772370472550392, -0.0510793961584568, -0.5131530165672302, -0.2737739384174347, -0.5158169269561768, 0.6584641337394714, -0.7410163283348083, -0.9052157402038574, -0.31323227286338806, -0.343628853559494, -0.14961053431034088, 0.11633430421352386, 0.13397695124149323, 0.24364839494228363, -0.16078606247901917, -0.27377578616142273, 0.589533269405365, -0.3381211757659912, 0.3527320325374603, 0.34210237860679626, -0.2607163190841675, -0.2657870054244995, 0.6296190619468689, -0.22180084884166718, 0.11847738921642303, 0.046784672886133194, 0.192358136177063, -0.2934888005256653, -1.1417088508605957, -0.7985565066337585, 0.16089673340320587, -0.5043464303016663, -0.19113005697727203, -0.21148185431957245, -0.3351423442363739, -0.2937418222427368, -0.009850412607192993, -0.07720340043306351, -0.25575655698776245, -0.03354200720787048, -0.1990838646888733, 0.5591966509819031, 0.34247469902038574, -0.04807940497994423, 0.26969194412231445, -0.8137157559394836, 0.19441616535186768, 0.06360108405351639, 0.4147481322288513, 0.07695671916007996, -0.8572444319725037, 0.1367819607257843, -0.3128102421760559, -0.3090576231479645, -0.9576788544654846, 0.41310927271842957, -0.08077163249254227, 0.28868740797042847, 0.26037779450416565, 0.18572871387004852, 0.29898321628570557, -0.6411604881286621, 0.4909624755382538, 0.20822183787822723, -0.8484869003295898, 0.6812751293182373, -0.47259020805358887, -0.32491329312324524, 0.5378086566925049, 0.21211306750774384, -0.7315338253974915, -0.3050055503845215, -0.4170804023742676, -0.8916276693344116, 0.5701719522476196, -0.08821123838424683, 0.3510776460170746, 0.17309585213661194, 0.45701083540916443, -0.13125503063201904, 0.09610575437545776, -0.7523267269134521, -0.28620147705078125, 0.04425961896777153, -0.13759556412696838, 0.2593497037887573, -0.012586246244609356, -0.3200068175792694, 0.03709830343723297, 0.47452685236930847, 0.09450934082269669, 0.09374098479747772, 0.037789229303598404, -0.18802499771118164, 0.1420453041791916, 0.4522600769996643, 0.5443299412727356, 0.13951240479946136, -0.3009791076183319, 0.16541141271591187, 0.0818302184343338, -0.5249009728431702, 0.34285005927085876, 0.14063742756843567, -0.26921260356903076, -0.38102638721466064, 0.3817291855812073, 0.7141545414924622, -0.4946976900100708, -0.966158926486969, 0.6206132173538208, -0.1268538236618042, 0.0388253852725029, -0.4230386018753052, 0.348978728055954, -0.20215311646461487, 0.17129959166049957, 0.06041574478149414, 0.1726839691400528, 0.12131957709789276, -0.47113552689552307, 0.1431388556957245, 0.7184765338897705, -0.48991858959198, -0.09201188385486603, 0.7096220850944519, 0.25578179955482483, -0.5716986656188965, 0.9058205485343933, -0.08077945560216904, -0.759075403213501, 0.5951148867607117, 0.48994383215904236, 0.8821957111358643, -0.16373391449451447, 0.2255481630563736, 0.00671995896846056, 0.4989376664161682, 0.13417279720306396, -0.05808170139789581, 0.0436781570315361, -0.9617812037467957, -0.09951680898666382, -0.44475623965263367, -0.42760011553764343, 0.40233397483825684, -0.5431569814682007, 0.1449521780014038, -0.9951815009117126, -0.1590423285961151, -0.08561357110738754, -0.4573327302932739, -0.4079449772834778, -0.17684225738048553, 0.3059924840927124, 0.9574580192565918, -0.7767390608787537, 0.7325740456581116, 0.4688391089439392, -0.19077466428279877, -0.6101491451263428, 0.23895610868930817, 0.4942804276943207, -1.0380464792251587, 0.6454501152038574, 0.22255729138851166, -0.25310227274894714, -0.30555465817451477, -0.5770710110664368, -0.34197062253952026, 0.6653744578361511, 0.2947162091732025, -0.5208924412727356, 0.3739994764328003, -0.007131605874747038, 0.3300810158252716, 0.06262332201004028, 0.11569739878177643, 1.006892204284668, 0.26527953147888184, -0.17591124773025513, -0.7741613984107971, 0.1481476128101349, -0.04268921911716461, -0.06639754772186279, 0.5444111824035645, -0.8920044302940369, 0.8338233828544617, -0.3546995222568512, 0.1774752140045166, 0.2901533246040344, 0.4239826202392578, 0.5372863411903381, 0.2182140201330185, 0.6642916202545166, 0.6639792919158936, 0.704738199710846, -0.027874883264303207, 1.2718827724456787, -0.014844350516796112, 0.30955684185028076, 0.723552405834198, -0.3299429416656494, 0.9668213129043579, 0.5143395662307739, -0.18576422333717346, 0.5792354941368103, 0.7188544869422913, 0.17631463706493378, 0.650666356086731, 0.8504661321640015, -0.4238571226596832, 0.018564295023679733, 0.13892781734466553, -0.08693559467792511, 0.38811755180358887, 0.7024602890014648, -0.2249945104122162, -0.12261432409286499, 0.13238118588924408, 0.5631832480430603, 0.03276918828487396, -0.49707821011543274, 0.3266814053058624, -0.06018287315964699, -0.5748505592346191, 0.8955477476119995, 0.5221514701843262, 0.7342219352722168, -0.4513082206249237, 0.270127534866333, -0.35493049025535583, 0.3003121018409729, -0.21090473234653473, -0.7024973034858704, 0.03100869618356228, 0.2131114900112152, 0.0958077535033226, 0.10801761597394943, 0.7169232964515686, 0.006235077977180481, -0.15456852316856384, 0.5198827981948853, 0.22591054439544678, -0.10072128474712372, 0.0336812287569046, -0.8832249641418457, 0.30321189761161804, -0.05411464348435402, -0.4704248905181885, 0.5679801106452942, -0.1872648298740387, -0.1704663187265396, 0.9111424684524536, 0.5071504712104797, 0.06696303188800812, 0.018473446369171143, 0.10389789193868637, 0.9833115935325623, -0.6195685863494873, -0.33248603343963623, -1.13755202293396, 0.3147626221179962, -0.01898900605738163, -0.23075130581855774, 0.5143716931343079, 0.19443373382091522, 0.7888016700744629, 0.09429553896188736, 1.09049654006958, -0.15055468678474426, 0.41614168882369995, -0.8529888987541199, 0.7084649205207825, -0.22553758323192596, 0.7537600994110107, -0.13264194130897522, -0.3699316084384918, -0.5209577083587646, 0.6565706729888916, -0.36266711354255676, 0.016405729576945305, 0.47056835889816284, 0.970818042755127, 0.20652303099632263, -0.23480384051799774, -0.1309298574924469, 0.20282649993896484, 0.5782933235168457, 0.6462971568107605, 1.000501275062561, -0.2603856921195984, 0.46031537652015686, 0.2551528513431549, -0.36286547780036926, -0.3538757264614105, -0.5759854316711426, -1.2520679235458374, -0.1530531793832779, 0.05047142133116722, -0.8919122219085693, 0.24886739253997803, 0.8867618441581726, 0.4633070230484009, -0.7187319397926331, -0.24544598162174225, -0.14246207475662231, 0.29938438534736633, 0.09118148684501648, -0.17279081046581268, 0.46868836879730225, -0.16831591725349426, -0.3934341073036194, 0.6044262647628784, 0.22182761132717133, -0.01959739439189434, -0.40354904532432556, -0.1305791437625885, -0.060000188648700714, -0.08359566330909729, 0.224888876080513, 0.5570043325424194, -0.726141631603241, -0.4310873746871948, -0.2787174880504608, -0.050283096730709076, -0.03373688831925392, 0.9496877193450928, -0.9392507672309875, 0.12358075380325317, 0.3471178114414215, 1.0194371938705444, 0.4472667872905731, -0.1609746515750885, 0.2764990031719208, -0.8390899896621704, 0.4149427115917206, 0.12340418249368668, 0.41529330611228943, 0.22855637967586517, -0.2430998533964157, 0.33216920495033264, 0.2491450309753418, -0.4313139021396637, -0.7081886529922485, 0.5263155102729797, -0.6647272706031799, -0.31608450412750244, 0.8918512463569641, -0.0629468634724617, -0.35210856795310974, -0.17183034121990204, -0.25837644934654236, -0.23405250906944275, -0.42957720160484314, 0.9844442009925842, 0.5221500396728516, -0.25861865282058716, -0.089472196996212, -0.603834867477417, 0.5420013666152954, 0.5041416883468628, -0.49598273634910583, 0.19989147782325745, 0.39677003026008606, 0.4783472716808319, -0.13557656109333038, 0.6865179538726807, -0.07078903168439865, 0.3736017346382141, -0.42883989214897156, -0.1564083695411682, 0.025874106213450432, -0.16955432295799255, -0.6065130829811096, 0.280021607875824, 0.49009475111961365, -0.27054306864738464 ]
http://arxiv.org/abs/2403.00241v2
http://arxiv.org/pdf/2403.00241v2
CASIMIR: A Corpus of Scientific Articles enhanced with Multiple Author-Integrated Revisions
2024-03-01T03:07:32
2024-03-19T08:34:05
Leane Jourdan, Florian Boudin, Nicolas Hernandez, Richard Dufour
cs.CL
cs.CL
Writing a scientific article is a challenging task as it is a highly codified and specific genre, consequently proficiency in written communication is essential for effectively conveying research findings and ideas. In this article, we propose an original textual resource on the revision step of the writing process of scientific articles. This new dataset, called CASIMIR, contains the multiple revised versions of 15,646 scientific articles from OpenReview, along with their peer reviews. Pairs of consecutive versions of an article are aligned at sentence-level while keeping paragraph location information as metadata for supporting future revision studies at the discourse level. Each pair of revised sentences is enriched with automatically extracted edits and associated revision intention. To assess the initial quality on the dataset, we conducted a qualitative study of several state-of-the-art text revision approaches and compared various evaluation metrics. Our experiments led us to question the relevance of the current evaluation methods for the text revision task.
[ -0.2821348011493683, -0.5476725697517395, 0.6690389513969421, 0.6724575161933899, -0.22923162579536438, 0.08446243405342102, -0.32968372106552124, -0.6257765889167786, 0.4573374092578888, 0.5716840028762817, -0.3124255836009979, -0.27221664786338806, -0.4523606300354004, 0.8069226741790771, -0.32345110177993774, 0.9951030611991882, -0.5390520095825195, 0.34603455662727356, -0.3513215184211731, 0.06609006971120834, -0.08466655761003494, 0.06194642186164856, -0.0422983393073082, -0.15419761836528778, 0.8336377143859863, 0.1770942062139511, 0.4663844406604767, 0.6069616675376892, 0.6834486722946167, 0.25869110226631165, -0.16736182570457458, 0.28682729601860046, -0.6233108639717102, 0.3233787715435028, -0.4214702248573303, -0.02244793437421322, -0.4903043210506439, -0.033447977155447006, 0.8886432647705078, 0.8561685681343079, 0.42243313789367676, 0.18686777353286743, 0.24268023669719696, 0.6872792840003967, -0.6581449508666992, -0.04335016757249832, -0.34719422459602356, -0.10470160841941833, -0.3967670798301697, -0.4594714641571045, -0.7182959318161011, -0.5023670792579651, -0.022608190774917603, -1.0907115936279297, 0.3118933439254761, -0.30368366837501526, 0.5084755420684814, 0.17435741424560547, -0.3575352430343628, -0.34208694100379944, -0.6042208671569824, 0.7168363928794861, -0.41139304637908936, 0.36309659481048584, 0.03994342312216759, -0.21890482306480408, -0.2679496705532074, -0.9398090243339539, -0.5154322981834412, -0.037751100957393646, 0.08426382392644882, 0.3983127772808075, 0.10416572540998459, -0.23565858602523804, -0.03589288145303726, 0.21724601089954376, -0.4700395166873932, -0.23499472439289093, -0.9384868741035461, 0.036883994936943054, 0.68677818775177, 0.05818193778395653, -0.05187330022454262, -0.22885359823703766, -0.32014015316963196, -0.4685088098049164, -0.6371798515319824, -0.1807423233985901, 0.5794609785079956, 0.18069125711917877, 0.5155625939369202, 0.6711235046386719, -0.13618984818458557, 0.697168231010437, 0.20941728353500366, -0.13230225443840027, 0.4676892161369324, -0.8519567251205444, 0.1557900756597519, 0.193024143576622, 0.863461434841156, 0.5015498995780945, -0.3917510211467743, -0.06592439860105515, 0.16686329245567322, -0.3436095714569092, 0.8935772180557251, -0.6299899816513062, -0.30864280462265015, 0.2450689673423767, -0.35755857825279236, -0.2629145681858063, 0.46053147315979004, -0.6452572345733643, -0.5025643110275269, -0.3930891752243042, 0.08689285069704056, -0.5462592840194702, -0.011417754925787449, 0.25350433588027954, -0.21090637147426605, -0.6287400722503662, 0.9195519685745239, -0.7244174480438232, 0.14797735214233398, 0.7256945967674255, 0.6584818363189697, -0.053560808300971985, -0.6120256185531616, -0.008762151934206486, 0.270076185464859, -0.5053583979606628, 0.8878312706947327, -0.3846588730812073, -0.4627103805541992, -0.3965991139411926, -0.08184784650802612, 0.05882607400417328, -0.10680148750543594, 0.7592822313308716, -0.6088433861732483, 0.212042436003685, -0.3671965003013611, -0.4288540184497833, -0.2408786118030548, -0.13660958409309387, -0.7519591450691223, 0.9941701292991638, 0.21352440118789673, -1.030383825302124, 0.6666399240493774, -0.4432576596736908, -0.20539607107639313, 0.01514153741300106, 0.3480651080608368, -0.26117515563964844, 0.2081558257341385, 0.4840482175350189, 0.12397660315036774, -0.012735258787870407, 0.14173021912574768, -0.48691585659980774, 0.05900110304355621, 0.1867581456899643, 0.08736314624547958, 0.8189800381660461, 0.19335904717445374, 0.37988874316215515, 0.3470245599746704, -0.8243945837020874, 0.011759405955672264, -0.5180897116661072, -0.19351059198379517, -0.7224240303039551, -0.02681540511548519, 0.17896665632724762, -0.016667276620864868, 0.48038139939308167, -1.0856153964996338, 0.5937619209289551, -0.18838143348693848, 0.14185771346092224, 0.5046336054801941, 0.5018817186355591, 0.3907352387905121, -0.39649730920791626, 0.22036953270435333, -0.15687011182308197, 0.5965675115585327, -0.24241451919078827, -0.7323595881462097, -0.364101767539978, -0.27677592635154724, 0.5940162539482117, 0.18348002433776855, -0.6322169899940491, 0.3207816481590271, -0.1287832111120224, -0.9492924809455872, -1.1231942176818848, 0.2773756980895996, 0.3490968346595764, 0.4603799283504486, 0.6834133267402649, -0.3741800785064697, -0.6824492812156677, -0.7506937384605408, -0.35528314113616943, -0.34545308351516724, 0.06153782829642296, -0.043742019683122635, 0.6280723810195923, -0.12162957340478897, 1.0338236093521118, -0.4594173729419708, -0.15394258499145508, 0.2999478876590729, 0.6005796194076538, 0.08080613613128662, 0.3989385962486267, 0.3831891715526581, -0.7350447773933411, -0.40909311175346375, -0.0024676541797816753, -0.9922828674316406, -0.4490237832069397, -0.3861936032772064, -0.11861562728881836, -0.10186784714460373, 0.5756440758705139, -0.1287013292312622, 0.037278786301612854, 0.3255811035633087, -0.21349841356277466, 0.7034405469894409, -0.2692841589450836, 0.6050646305084229, -0.9400379657745361, 0.1739819496870041, 0.05002392828464508, 0.20725902915000916, -0.39188218116760254, 0.24742771685123444, 0.45000654458999634, 0.3224828243255615, -0.48451346158981323, 0.4230141043663025, -0.6233065724372864, 0.299147367477417, 0.018990730866789818, 0.12563739717006683, 0.19099688529968262, -0.22150717675685883, -0.06988078355789185, 0.623237133026123, 0.17513883113861084, -0.2897639274597168, 0.21268485486507416, 0.6219077110290527, -0.43883341550827026, 0.6082537174224854, -0.561072826385498, 0.06994197517633438, -0.4391803443431854, 0.38735827803611755, -0.607698917388916, -0.1579468995332718, -0.006158170290291309, -0.33452484011650085, 0.08683636784553528, 0.26488372683525085, -0.6611987948417664, -0.34563949704170227, -0.7886542677879333, 0.26678135991096497, -0.2178068310022354, -0.2932983934879303, -0.013638162054121494, 0.14539869129657745, -0.606924831867218, -0.565281331539154, -0.28047409653663635, 0.5409467220306396, 0.23684833943843842, -0.7867989540100098, 0.6801196336746216, -0.32087522745132446, -0.37594670057296753, 0.2159421741962433, 0.23011477291584015, 0.014311454258859158, -0.21563468873500824, 0.11040819436311722, 0.14144368469715118, 0.15614186227321625, 0.014247057028114796, 0.42726290225982666, 0.16686184704303741, -0.14453013241291046, 0.06568290293216705, 0.04229574277997017, 0.2745012640953064, -0.10433096438646317, -0.2081732302904129, 0.42117127776145935, 0.40183818340301514, 0.06322953850030899, 0.3949625790119171, 0.3924499750137329, -0.13318473100662231, 0.11212211847305298, -0.3826359510421753, -0.24302971363067627, -0.3668232560157776, 0.03885509818792343, -0.3382691740989685, -0.6334314942359924, 0.3696165978908539, 0.14489345252513885, 0.28058144450187683, 0.6964902281761169, 0.5127939581871033, -0.06569395214319229, 0.6216887831687927, 0.4996826946735382, 0.5925136804580688, 0.27891990542411804, 0.15758554637432098, 0.15587513148784637, -1.2329504489898682, -0.4074312746524811, -0.7311121225357056, -0.13061964511871338, -0.10379008203744888, -0.40478432178497314, 0.596785306930542, 0.49892663955688477, 0.03231287747621536, 0.605624794960022, -0.8186358213424683, 0.13285978138446808, 0.5717742443084717, 0.3024349808692932, 0.6886957883834839, -0.08797220140695572, 0.018973970785737038, -0.515738844871521, -0.44959068298339844, -0.8483263254165649, 1.2038910388946533, 0.19760309159755707, 0.8917472958564758, -0.0690208300948143, 0.9582582116127014, 0.15111540257930756, 0.6358543038368225, -0.2820272445678711, 0.3118301331996918, 0.17348447442054749, -0.45860934257507324, -0.21758493781089783, -0.30847373604774475, -1.0089685916900635, 0.32337766885757446, -0.27217864990234375, -0.6081300973892212, 0.4818674325942993, -0.14815621078014374, -0.2415793240070343, -0.0069055743515491486, -0.577345073223114, 0.6230770349502563, 0.09696921706199646, -0.5740665793418884, -0.0807759165763855, -0.6796336770057678, 0.5229312181472778, -0.6635271906852722, 0.026294194161891937, 0.2723545730113983, -0.0449875108897686, 0.9604872465133667, -0.45176932215690613, 0.6305473446846008, 0.19106271862983704, -0.22430451214313507, 0.27709105610847473, 0.07619510591030121, 0.046831950545310974, 0.5569161176681519, -0.2961621582508087, -0.053917307406663895, 0.3227909803390503, -0.14690664410591125, -0.39316606521606445, 0.9209949970245361, -0.5996685028076172, -0.2817940413951874, -0.6163697242736816, -0.5238223075866699, -0.0954912081360817, 0.32675305008888245, 0.2954409718513489, 0.21633280813694, -0.44769909977912903, 0.1503032147884369, 0.2982307970523834, -0.09531660377979279, 0.05089122802019119, 0.42014649510383606, -0.35658517479896545, -0.8360059261322021, 0.4512631297111511, 0.301693856716156, -0.05603696405887604, 0.21501076221466064, -0.06472685933113098, -0.075409434735775, -0.6223433613777161, -0.5847104787826538, 0.3736896514892578, -0.4285658299922943, -0.26378652453422546, -0.897674560546875, 0.17549926042556763, -0.6927440762519836, -0.5812749862670898, -0.29762503504753113, -0.7453392148017883, -0.659619927406311, 0.10792628675699234, 0.37163257598876953, 1.0959417819976807, -0.33476391434669495, -0.011695589870214462, -0.8357535600662231, 0.3731144070625305, -0.07855401188135147, 0.18247918784618378, -0.03907328099012375, -0.06417138129472733, -0.2568734288215637, 0.07913440465927124, -0.7022755742073059, -1.01436185836792, 0.305635005235672, 0.03905597701668739, 0.2798596918582916, 0.08685346692800522, 0.19640246033668518, 0.6151782870292664, -0.6105215549468994, 1.0175024271011353, 0.38649988174438477, -0.7123709917068481, 0.610538125038147, -0.4135398268699646, 0.41005346179008484, 0.9493948817253113, 0.43124356865882874, -0.38047313690185547, -0.6258893609046936, -0.599651575088501, -0.9547640085220337, 0.2437015175819397, -0.025153042748570442, -0.23039846122264862, -0.14850196242332458, 0.23909328877925873, 0.5853633284568787, 0.2688005566596985, -0.35106655955314636, 0.27365657687187195, -0.34120580554008484, -0.11662670224905014, -0.009332769550383091, -0.21729488670825958, -0.4881213903427124, -0.3799622654914856, 0.8831210732460022, 0.00957582052797079, 0.07924110442399979, 0.6156048774719238, -0.28487923741340637, -0.1962747871875763, 0.32430359721183777, 0.7759267687797546, 1.0923328399658203, -0.408058762550354, -0.026670904830098152, -0.271902471780777, -0.7459274530410767, -0.06526588648557663, 0.13680920004844666, -0.408243864774704, 0.23458655178546906, 0.6171532273292542, 0.33090510964393616, 0.26520028710365295, -0.2214740663766861, 0.2843371331691742, 0.11201804876327515, -0.3713217079639435, -0.07301770895719528, -0.23479223251342773, -0.23210102319717407, 0.1346658319234848, 0.558810293674469, 0.22977383434772491, 0.427508145570755, -0.2326829582452774, 0.16280962526798248, -0.006872974336147308, -0.5908541679382324, -0.5602888464927673, 0.6506285071372986, 0.0393933430314064, 0.09761106222867966, 0.3141903579235077, -0.20081447064876556, -0.13402119278907776, 0.03750574216246605, 0.4298425316810608, 0.6363465189933777, -0.23118194937705994, 0.4011920094490051, 0.48525524139404297, 0.4850548505783081, -0.2403966188430786, 0.65119469165802, 0.23978884518146515, -0.21083873510360718, -0.7151564955711365, -0.7451419830322266, -0.5129880309104919, -0.3790748715400696, -0.5802857279777527, 0.2726641893386841, -0.2230978161096573, -0.44965842366218567, 0.45540857315063477, -0.18617616593837738, -0.14660795032978058, -0.32734042406082153, -0.5136362314224243, 1.1218820810317993, -0.6870537400245667, 0.4656643569469452, 0.8800714612007141, -0.48279616236686707, -0.09049014002084732, -0.3916516900062561, -0.034639205783605576, -0.01945529319345951, 0.7013315558433533, -0.37727558612823486, -0.004210314713418484, -0.18799979984760284, -0.5992477536201477, -0.6936700940132141, 0.693028450012207, 0.28345954418182373, -0.12847638130187988, 0.1701069325208664, -0.27341607213020325, 0.8733755946159363, 0.03556666523218155, 0.11993923038244247, -0.06044939160346985, 0.9906310439109802, -0.33341625332832336, -1.1554157733917236, -0.1437889188528061, -0.6215195059776306, -0.05378945171833038, 0.36612531542778015, -0.49809741973876953, 1.0484322309494019, -0.14590366184711456, 0.07221172004938126, 0.2703011929988861, 0.8689836263656616, 0.14555376768112183, 0.20882782340049744, 0.04203573986887932, 0.6611305475234985, 0.6376690864562988, -0.0736757144331932, 0.8858608603477478, -0.22189636528491974, 0.3026159107685089, 0.930371880531311, -0.5554054975509644, 0.8371619582176208, 0.9602090120315552, -0.011044608429074287, 0.48172903060913086, 0.4284702241420746, -0.16152504086494446, 0.596592903137207, 0.26485487818717957, -0.3712005913257599, 0.21179768443107605, -0.3044060170650482, -0.4812162518501282, -0.010304669849574566, 0.17080146074295044, -0.37974095344543457, -0.21264159679412842, 0.4060860276222229, 0.2846065163612366, 0.3699917197227478, -0.20993167161941528, 0.7840856909751892, -0.12054843455553055, -0.7990785837173462, 0.29213523864746094, 0.057808928191661835, 0.32762622833251953, -0.3261417746543884, -0.11699122935533524, 0.20911861956119537, 0.1308968961238861, -0.5398526787757874, -1.124099850654602, 0.3769243061542511, 0.05861099809408188, -0.3513377010822296, -0.7056894898414612, 0.3426639437675476, -0.26359274983406067, -0.6090394258499146, -0.07341568917036057, 0.23702484369277954, 0.0893731415271759, 0.21030956506729126, -0.26664116978645325, 0.35303717851638794, -0.23892533779144287, -0.45123234391212463, 0.11328122019767761, 0.4076129198074341, -0.02427956648170948, 0.21349039673805237, 0.6881425380706787, 0.37915894389152527, 0.08688332140445709, 0.000015177012755884789, 0.8175792694091797, -0.4124685823917389, -0.3765377104282379, -0.23831342160701752, 0.41276976466178894, -0.44437938928604126, -0.8505324721336365, 1.0863699913024902, 0.824026882648468, 0.8431025147438049, -0.29059645533561707, 0.7763314843177795, 0.026360023766756058, 0.5685620307922363, -0.441401869058609, 0.5745624899864197, -0.28699809312820435, -0.15333348512649536, -0.7182815670967102, -0.881900429725647, -0.6836971640586853, 0.6090433597564697, -0.07889007031917572, -0.2536482810974121, 1.044783115386963, 0.4823133647441864, -0.07596251368522644, 0.28396186232566833, -0.36212557554244995, 0.23772172629833221, 0.3149636685848236, 0.08670315146446228, 0.6087839007377625, -0.6040189862251282, -0.1254098117351532, -0.47792327404022217, -0.2769733667373657, -0.2860800623893738, -0.9972137808799744, -0.4043124318122864, -1.0198447704315186, -0.5241461396217346, -0.4792085289955139, 0.26659661531448364, 0.759505569934845, 0.21499422192573547, -0.5726965069770813, -0.050008371472358704, 0.20478564500808716, -0.2935034930706024, -0.5988882780075073, -0.18005938827991486, 0.5156470537185669, -0.3045920133590698, -0.6253383755683899, 0.7061994671821594, 0.47809043526649475, -0.3645097613334656, -0.2830771207809448, 0.14778520166873932, -0.3866782784461975, 0.044316213577985764, 0.575127899646759, 0.20662088692188263, -0.34469398856163025, -0.2642485201358795, 0.07373329997062683, -0.20032989978790283, -0.12352310121059418, 1.0004761219024658, -0.6071636080741882, 0.963076651096344, 0.8431373834609985, 0.3449702560901642, 0.6247047781944275, 0.024059420451521873, 0.47573694586753845, -0.5252580642700195, -0.13299836218357086, 0.4542679488658905, 0.31643757224082947, 0.416121244430542, -0.06713708490133286, 0.525833010673523, 0.10666680335998535, -0.6651636362075806, -1.0380500555038452, -0.1968826949596405, -1.4194117784500122, -0.4422130882740021, 0.9696841835975647, 0.06425932049751282, -0.26254355907440186, -0.3060489892959595, -0.5234615802764893, 0.25368407368659973, -0.4120492935180664, 0.9074806571006775, 0.9427384734153748, -0.16119548678398132, 0.08573231846094131, -0.45255017280578613, 0.250684529542923, 0.05147620290517807, -0.7289262413978577, 0.11162548512220383, 0.5748118162155151, -0.3208819627761841, 0.5485512018203735, 0.5318002104759216, -0.5162482261657715, 0.3254729211330414, -0.015886064618825912, 0.3595743477344513, -0.2842484712600708, -0.5172799825668335, -0.21195082366466522, 0.2886369824409485, 0.08295188099145889, 0.5764986276626587 ]
http://arxiv.org/abs/2403.00236v1
http://arxiv.org/pdf/2403.00236v1
Benchmarking zero-shot stance detection with FlanT5-XXL: Insights from training data, prompting, and decoding strategies into its near-SoTA performance
2024-03-01T02:33:26
2024-03-01T02:33:26
Rachith Aiyappa, Shruthi Senthilmani, Jisun An, Haewoon Kwak, Yong-Yeol Ahn
cs.CL
cs.CL, cs.AI, cs.LG
We investigate the performance of LLM-based zero-shot stance detection on tweets. Using FlanT5-XXL, an instruction-tuned open-source LLM, with the SemEval 2016 Tasks 6A, 6B, and P-Stance datasets, we study the performance and its variations under different prompts and decoding strategies, as well as the potential biases of the model. We show that the zero-shot approach can match or outperform state-of-the-art benchmarks, including fine-tuned models. We provide various insights into its performance including the sensitivity to instructions and prompts, the decoding strategies, the perplexity of the prompts, and to negations and oppositions present in prompts. Finally, we ensure that the LLM has not been trained on test datasets, and identify a positivity bias which may partially explain the performance differences across decoding strategie
[ -0.13863638043403625, -0.803158164024353, 0.46384409070014954, 0.1747935712337494, -0.4616859257221222, -0.002029256196692586, -0.041646361351013184, -0.3828728497028351, 0.41043224930763245, 0.17364501953125, -0.8515005707740784, -0.9002736806869507, -0.7762980461120605, 0.17363804578781128, -0.3265689015388489, 0.8572573065757751, -0.09622128307819366, 0.15766310691833496, 0.4020247459411621, -0.635179877281189, -0.38252004981040955, -0.08594867587089539, -0.5819069147109985, 0.030724283307790756, 0.44428253173828125, 0.7345959544181824, 0.29951727390289307, 0.4505253732204437, 0.2917742133140564, 0.05278124660253525, 0.1219322606921196, -0.3029813766479492, -0.863604724407196, 0.20557592809200287, -0.08217952400445938, -0.43260112404823303, -0.5049256086349487, -0.0275274608284235, 0.7126695513725281, 0.05589393898844719, 0.2858961522579193, 0.2308095544576645, -0.3485427796840668, 0.2642742395401001, -0.7919025421142578, -0.06272812932729721, -0.5379737615585327, 0.21757468581199646, -0.3868952989578247, -0.3471302390098572, -0.2077023684978485, -0.19702111184597015, -0.18749050796031952, -0.21095827221870422, 0.3294624090194702, -0.16516390442848206, 0.892295777797699, 0.12913878262043, -0.18840038776397705, -0.07907579094171524, -0.4538629949092865, 0.8062080144882202, -0.7598053216934204, 0.24523787200450897, 0.07428387552499771, 0.40179380774497986, 0.10506606101989746, -0.09848444908857346, -0.5536606907844543, 0.07369975745677948, 0.466505765914917, 0.30030515789985657, -0.2927778959274292, 0.018383918330073357, 0.3447662889957428, 0.08347472548484802, -0.5057033896446228, 0.1253640502691269, 0.13113418221473694, -0.1554913967847824, 0.6480398178100586, -0.011030473746359348, 0.1958511471748352, -0.0010496781906113029, -0.5565954446792603, -0.12865504622459412, -0.6635767817497253, 0.2758040428161621, 0.26131752133369446, 0.28667590022087097, -0.12097681313753128, 0.6652035117149353, -0.4216490685939789, 0.31974026560783386, 0.18870909512043, 0.023373788222670555, 0.22850315272808075, -0.06070426478981972, -0.24731452763080597, 0.2080068439245224, 1.010001540184021, 0.587489664554596, 0.11235778033733368, -0.07078568637371063, -0.3891758918762207, -0.005509336479008198, 0.04616894572973251, -0.9693821668624878, 0.013578318990767002, 0.3781767785549164, -0.3008708953857422, -0.464356929063797, 0.04707431048154831, -0.643330991268158, -0.6993460655212402, -0.04575720429420471, 0.6465184092521667, -0.7788408994674683, -0.4263373911380768, 0.27709871530532837, -0.20576249063014984, 0.9374100565910339, 0.46853065490722656, -0.7344587445259094, -0.10806235671043396, 0.9001578688621521, 0.9584512710571289, -0.15867799520492554, -0.24852149188518524, -0.8186616897583008, -0.33228468894958496, -0.5138970613479614, 0.9690719842910767, -0.5249475240707397, -0.24762874841690063, 0.2027072310447693, -0.14305591583251953, -0.06293557584285736, -0.2955397069454193, 0.7340205907821655, -0.3147980868816376, -0.2711396813392639, -0.6533734202384949, -0.795361340045929, 0.1479007452726364, 0.5162070989608765, -0.6184362769126892, 0.8020444512367249, -0.03007873147726059, -0.8211258053779602, 0.7658382058143616, -0.7761178016662598, -0.3801392614841461, -0.04036742448806763, -0.5388210415840149, -0.4230403006076813, 0.2586513161659241, 0.16701027750968933, 0.7568583488464355, 0.08056103438138962, -0.2785186171531677, -0.5130546689033508, -0.6130728125572205, 0.11742152273654938, -0.2102382928133011, 0.9695814847946167, 0.02670411765575409, -0.7297323942184448, 0.39197057485580444, -0.6557806730270386, -0.21878138184547424, 0.30979615449905396, -0.0045972238294780254, 0.10161284357309341, -0.08021292090415955, -0.24248972535133362, 0.01045868918299675, 0.03355487436056137, -0.8865874409675598, 0.19418497383594513, -0.33059027791023254, 0.24269647896289825, 0.4533247947692871, 0.11327508836984634, 0.3693282902240753, -0.011795219033956528, 0.6920874714851379, 0.15177230536937714, 0.06522458046674728, -0.37322360277175903, -0.2819788455963135, -0.587336003780365, -0.15951956808567047, 0.015727132558822632, 0.4827229678630829, -0.675635039806366, 0.12474841624498367, -0.2202170044183731, -0.2268306165933609, -0.5897554159164429, 0.009425186552107334, 0.33680853247642517, 0.4728800356388092, 0.3131190836429596, -0.10999403893947601, -0.4677976369857788, -0.4883996844291687, -0.5664393901824951, 0.052086472511291504, 0.29061034321784973, -0.003245704108849168, 0.5482903122901917, 0.33620724081993103, 0.8196989893913269, -0.12709330022335052, -0.1829133927822113, -0.4196667969226837, 0.2957676351070404, 0.0736226812005043, -0.008952868171036243, 1.0325089693069458, -0.4419562816619873, -0.627518892288208, -0.3455387353897095, -0.825499951839447, -0.29266566038131714, -0.05337245389819145, -0.12862226366996765, 0.6655778288841248, 0.557604193687439, -0.5914322137832642, 0.6193838715553284, 0.3306131362915039, -0.5329588651657104, 0.6912739872932434, 0.47451144456863403, 0.2787690758705139, -1.0271774530410767, 0.0434558279812336, 0.3236285448074341, -0.49509286880493164, -0.8227508664131165, 0.047859422862529755, 0.13577169179916382, 0.08179862052202225, -0.8300396800041199, 0.3682466745376587, -0.34453389048576355, -0.13313265144824982, -0.33993029594421387, 0.0014638033462688327, -0.200932115316391, 0.21013441681861877, 0.391361266374588, 0.6758421063423157, 0.6793496012687683, -0.11496598273515701, 0.02459060400724411, -0.08693311363458633, -0.08462852984666824, 0.9784969687461853, -0.546593427658081, 0.15371744334697723, -0.010328621603548527, 0.247939333319664, -1.250052809715271, -0.1540783792734146, 0.47707027196884155, -0.7380306124687195, 0.4707840085029602, -0.40968629717826843, -0.43698984384536743, -0.05893019586801529, -0.97511225938797, 0.20387443900108337, 0.30819517374038696, -0.390887051820755, 0.15608209371566772, 0.033491890877485275, 0.3417399525642395, -0.8865994811058044, -0.47949519753456116, 0.11789112538099289, -0.32685476541519165, -0.4369475841522217, 0.15609148144721985, 0.15079879760742188, -0.09952188283205032, -0.39775243401527405, -0.41954708099365234, 0.2628515064716339, -0.08633353561162949, 0.14824393391609192, -0.018552979454398155, -0.4424559772014618, -0.2863144874572754, -0.23429690301418304, -0.06863999366760254, 0.06886116415262222, -0.4321180284023285, 0.5254186987876892, -0.17358876764774323, -0.40017586946487427, -0.7933897972106934, 0.12891066074371338, 0.49158844351768494, 0.08955075591802597, 0.8442493081092834, 1.0501867532730103, -0.20750021934509277, -0.26857513189315796, -0.30731746554374695, -0.23896852135658264, -0.4056571424007416, -0.1573435366153717, -0.2934023439884186, -0.9085608124732971, 0.40549296140670776, 0.07924550026655197, 0.2112545669078827, 0.1981283724308014, 0.5982002019882202, -0.3894554674625397, 0.8072731494903564, 0.39578917622566223, -0.3219272792339325, 0.6027829051017761, -0.5388716459274292, 0.13544781506061554, -0.15909306704998016, 0.018333889544010162, -0.2896260917186737, -0.5833525061607361, -0.44972100853919983, -0.41168251633644104, 0.12003622949123383, 0.08662890642881393, -0.23476363718509674, 0.45621204376220703, -0.2202479988336563, 0.6064175963401794, 0.34255844354629517, 0.013698135502636433, 0.03200714662671089, -0.004606600850820541, -0.05197297781705856, -0.17307795584201813, -0.47220340371131897, -0.426037073135376, 1.055381417274475, 0.41147786378860474, 0.6657319664955139, 0.24787159264087677, 0.9948179721832275, 0.3572578728199005, -0.0876869261264801, -1.1650416851043701, 0.7798590064048767, -0.002869060728698969, -0.1800188571214676, -0.11189678311347961, -0.20632003247737885, -0.8792908191680908, -0.02816048637032509, -0.2294190376996994, -0.7314245104789734, 0.06952697783708572, 0.2114911824464798, -0.4158460795879364, 0.3838600218296051, -0.5377015471458435, 0.9659407734870911, -0.22873932123184204, -0.628027081489563, 0.03993159532546997, -0.657288134098053, 0.24463629722595215, 0.4096355140209198, -0.3030385673046112, -0.4771174490451813, -0.24511678516864777, 0.5280232429504395, -0.3760857880115509, 1.1434130668640137, -0.7729021310806274, -0.303343266248703, 0.15984557569026947, 0.19235418736934662, 0.12676742672920227, 0.04057806730270386, -0.08462216705083847, 0.38932669162750244, 0.15732091665267944, -0.585810661315918, -0.2835675776004791, 0.7257895469665527, -0.8200555443763733, -0.40198883414268494, -0.46637678146362305, -0.25960230827331543, -0.3230282962322235, 0.37352368235588074, 0.5465254187583923, 0.41592085361480713, -0.518730878829956, 0.26051202416419983, 0.7958192229270935, 0.03190210461616516, 0.744676411151886, 0.6494753956794739, 0.036543890833854675, -0.17016717791557312, 0.7136627435684204, 0.22218234837055206, -0.10763704031705856, 0.7132159471511841, 0.2406432181596756, -0.6243060827255249, -0.8272756934165955, -0.4766908884048462, 0.00949584599584341, -0.5141781568527222, -0.3394886255264282, -0.36515265703201294, -0.022553352639079094, -0.5648435950279236, -0.10415317118167877, -0.34357112646102905, -0.4477173089981079, -0.358599990606308, -0.17802314460277557, 0.4011892080307007, 0.676049530506134, 0.05767976865172386, 0.23333856463432312, -0.3977016806602478, 0.39562681317329407, -0.20840182900428772, 0.34771573543548584, -0.37761780619621277, -0.6235767602920532, 0.02160835638642311, -0.02280341647565365, -0.32903915643692017, -1.2028002738952637, 0.08072436600923538, 0.13121317327022552, 0.4785195291042328, 0.8073908090591431, 0.40438735485076904, 0.45925483107566833, -0.3134714663028717, 0.7791377902030945, 0.11140432953834534, -0.8621326088905334, 0.7768430709838867, -0.8542315363883972, 0.4162265360355377, 0.6545621156692505, 0.5014256238937378, -0.08505448698997498, -0.16559241712093353, -0.5090882182121277, -0.5671889185905457, 1.1138335466384888, 0.2889648973941803, 0.16491934657096863, 0.006822710856795311, 0.3627978265285492, 0.08617372810840607, 0.2140166014432907, -0.4857564866542816, -0.045591555535793304, -0.6244969367980957, -0.16090449690818787, 0.10966892540454865, -0.2566210925579071, -0.10196848213672638, -0.219317227602005, 0.35638517141342163, -0.26081612706184387, 0.43710318207740784, 0.05176490172743797, -0.4059199392795563, -0.13435375690460205, 0.29380741715431213, 0.9522022008895874, 0.4045494496822357, -0.3509296178817749, -0.07802709192037582, 0.20326535403728485, -0.3680129051208496, 0.08382642269134521, -0.2002726048231125, -0.28581342101097107, 0.12148746103048325, 0.43123406171798706, 0.973145067691803, 0.17156274616718292, -0.4542057514190674, 0.8053596615791321, -0.03158479183912277, -0.6148256659507751, -0.22406698763370514, 0.18225274980068207, -0.08864668011665344, 0.3810086250305176, 0.2790936231613159, -0.04967585951089859, -0.06011965870857239, -0.6107436418533325, 0.13729050755500793, 0.4573555290699005, -0.4967760741710663, -0.7947520017623901, 0.5717499256134033, 0.04670891910791397, -0.4660589098930359, -0.10303731262683868, -0.29198285937309265, -0.3730258643627167, 0.4263004958629608, 0.2645788788795471, 1.0046875476837158, -0.13356053829193115, 0.45837998390197754, 0.25998178124427795, 0.05666736140847206, 0.0778263509273529, 0.746231734752655, -0.3267814815044403, -0.8307323455810547, -0.1448989361524582, -0.29774343967437744, -0.5292573571205139, 0.4214816391468048, -0.7368062734603882, 0.6287057399749756, -0.8780269622802734, -0.1592698097229004, 0.09452485293149948, 0.23069457709789276, -0.5878332853317261, -0.04429593309760094, 0.1736731082201004, 1.2754384279251099, -0.831153154373169, 0.7400487661361694, 0.93353271484375, -0.46889427304267883, -0.7453944683074951, 0.6454376578330994, 0.5702112317085266, -1.018661618232727, 0.1741301268339157, 0.5195062160491943, -0.6187596321105957, 0.08797431737184525, -0.6837842464447021, -0.11377567052841187, 1.2996066808700562, 0.7743867635726929, -0.409053236246109, 0.4159182012081146, 0.4177117943763733, 0.6323709487915039, -0.3152696192264557, 0.3842792510986328, 0.7246810793876648, 0.12363284081220627, 0.39488616585731506, -0.592750608921051, -0.018220091238617897, -0.07017219066619873, -0.28810757398605347, 0.07750386744737625, -0.9107912182807922, 0.4821837246417999, -0.012235576286911964, -0.3345324993133545, -0.12680447101593018, 0.4612721800804138, 0.31256774067878723, 0.6593557596206665, 0.3106110095977783, 0.5629759430885315, 0.3225710988044739, 0.005011304747313261, 0.8100672960281372, -0.4505687654018402, 0.3462415933609009, 0.9219180345535278, -0.6467788219451904, 1.3366035223007202, 0.49790674448013306, 0.06848035007715225, 0.3434706926345825, 0.5651232004165649, 0.2164030820131302, 0.4104716181755066, -0.2642727792263031, -0.441022664308548, -0.22512367367744446, -0.12930798530578613, -0.00496391486376524, 0.5903763771057129, 0.3603780269622803, -0.23483510315418243, -0.5599942803382874, -0.1453508734703064, 0.3274345099925995, -0.036814454942941666, -0.3350951671600342, 0.8707841634750366, -0.00627156300470233, -0.5742852091789246, 0.7148622870445251, -0.0214450191706419, 0.8681051731109619, -0.4320007264614105, 0.11102497577667236, -0.37802788615226746, 0.21908414363861084, -0.36388614773750305, -1.0515973567962646, 0.2792719602584839, 0.24591758847236633, 0.1719452142715454, -0.4601025879383087, 1.1099213361740112, -0.07056021690368652, -0.21016301214694977, 0.365527868270874, 0.4207902252674103, 0.18831680715084076, -0.14842088520526886, -0.91583651304245, 0.24551063776016235, -0.09033159166574478, -0.20164303481578827, 0.3226104974746704, 0.5455330014228821, -0.08788258582353592, 0.27338123321533203, 0.30196914076805115, -0.053465381264686584, 0.0735456719994545, 0.44841498136520386, 0.6710230112075806, -0.6722181439399719, -0.1917470544576645, -1.166677713394165, 0.3079765737056732, -0.19951394200325012, -0.14715316891670227, 0.8814737796783447, 0.4395577013492584, 0.8127036690711975, 0.008403091691434383, 0.7585304975509644, -0.10998570173978806, 0.5405092835426331, -0.512367308139801, 0.7477741837501526, -0.5210322141647339, 0.34312814474105835, -0.08201946318149567, -0.5182644128799438, -0.35190439224243164, 0.6521521210670471, -0.3865683376789093, -0.07643652707338333, 0.4269801676273346, 1.0189565420150757, -0.3042074739933014, 0.12359701097011566, 0.5400696992874146, 0.10771667212247849, 0.20912210643291473, 0.38652706146240234, 0.749741792678833, -0.35398662090301514, 0.6407994031906128, -0.05121241882443428, -0.06581509113311768, -0.6409681439399719, -1.0914946794509888, -1.3034275770187378, -0.35897964239120483, -0.42007043957710266, -0.37539538741111755, 0.13630570471286774, 0.8989666700363159, 0.7049781680107117, -1.0900241136550903, -0.05299443006515503, -0.3841152787208557, -0.17143549025058746, -0.11619848757982254, -0.23438739776611328, 0.18286335468292236, -0.3648642897605896, -0.489604115486145, 0.5127821564674377, 0.3391311764717102, -0.18744081258773804, -0.21471630036830902, -0.18176433444023132, -0.3050820231437683, 0.2270289957523346, 0.634645938873291, 0.5976329445838928, -0.667796790599823, -0.3528555929660797, 0.4125257134437561, 0.07780645042657852, 0.3390941023826599, 0.8904106616973877, -0.4784241020679474, 0.4042655825614929, 0.7629760503768921, 0.45631158351898193, 0.463460773229599, 0.2692870497703552, 0.5104843974113464, -1.257576823234558, -0.01578863337635994, 0.25238674879074097, 0.3220413625240326, 0.3145480453968048, -0.02822069637477398, 0.3921565115451813, 0.3764583468437195, -0.3064707815647125, -0.7611715793609619, 0.033181484788656235, -1.01082181930542, -0.030778013169765472, 1.2968512773513794, -0.34330686926841736, -0.24190838634967804, -0.06936536729335785, -0.22809164226055145, 0.20517686009407043, -0.8266615271568298, 0.4880368411540985, 0.571757972240448, -0.4516020715236664, -0.7608342170715332, -0.6615591645240784, 0.4959942102432251, 0.5666230320930481, -0.4544857144355774, -0.16448649764060974, 0.46991705894470215, 0.5688557028770447, -0.25433653593063354, 0.9762957096099854, 0.07414351403713226, 0.5317556858062744, -0.07006701827049255, -0.2629348635673523, 0.0027229017578065395, -0.15505647659301758, -0.7570263743400574, 0.08575505018234253, 0.102859728038311, -0.6297029256820679 ]
http://arxiv.org/abs/2403.00231v3
http://arxiv.org/pdf/2403.00231v3
Multimodal ArXiv: A Dataset for Improving Scientific Comprehension of Large Vision-Language Models
2024-03-01T02:21:30
2024-06-02T15:47:16
Lei Li, Yuqi Wang, Runxin Xu, Peiyi Wang, Xiachong Feng, Lingpeng Kong, Qi Liu
cs.CV
cs.CV, cs.CL
Large vision-language models (LVLMs) excel across diverse tasks involving concrete images from natural scenes. However, their ability to interpret abstract figures, such as geometry shapes and scientific plots, remains limited due to a scarcity of training datasets in scientific domains. To fill this gap, we introduce Multimodal ArXiv, consisting of ArXivCap and ArXivQA, for enhancing LVLMs scientific comprehension. ArXivCap is a figure-caption dataset comprising 6.4M images and 3.9M captions, sourced from 572K ArXiv papers spanning various scientific domains. Drawing from ArXivCap, we introduce ArXivQA, a question-answering dataset generated by prompting GPT-4V based on scientific figures. ArXivQA greatly enhances open-sourced LVLMs' mathematical reasoning capabilities, achieving a 10.4\% absolute accuracy gain on a multimodal mathematical reasoning benchmark. Furthermore, employing ArXivCap, we devise four vision-to-text tasks for benchmarking LVLMs. Evaluation results with state-of-the-art LVLMs underscore their struggle with the nuanced semantics of academic figures, while domain-specific training yields substantial performance gains. Our error analysis uncovers misinterpretations of visual context, recognition errors, and the production of overly simplified captions by current LVLMs, shedding light on future improvements.
[ -0.365293025970459, -0.46852776408195496, 0.7147441506385803, 0.21036967635154724, -0.3506670296192169, 0.16845357418060303, 0.09103158116340637, -0.42671632766723633, -0.2886076271533966, 0.4407847821712494, -0.36626145243644714, -0.322910338640213, -0.4108130633831024, 0.22361119091510773, -0.15029044449329376, 0.7276955246925354, -0.18021787703037262, 0.32388952374458313, -1.0152474641799927, -0.5534038543701172, -0.10446152091026306, -0.27730321884155273, -0.5385037660598755, -0.13065026700496674, 0.8124799132347107, 0.020977871492505074, 0.5566350221633911, 0.5461908578872681, 0.6647965908050537, 0.29093465209007263, 0.2330092489719391, 0.6258413791656494, -0.019497772678732872, 0.09129494428634644, -0.2924502193927765, -0.4699021875858307, -0.2548366189002991, -0.14663463830947876, 0.8351109623908997, 0.44260942935943604, 0.05480626970529556, -0.011274063028395176, -0.35584986209869385, 0.7706839442253113, -0.637965202331543, 0.5249277949333191, -0.3908696472644806, 0.049082305282354355, 0.13067927956581116, -0.42709946632385254, -0.5476683378219604, -0.021110082045197487, 0.23607449233531952, -1.0302776098251343, 0.15178266167640686, 0.4190950095653534, 0.6391363143920898, 0.45709362626075745, -0.5605201721191406, -0.050459425896406174, -0.1972959190607071, 0.9343881011009216, -0.4758569896221161, 0.7116353511810303, 0.1704212874174118, 0.30427828431129456, 0.1218339130282402, -0.7045062184333801, -0.8749423623085022, -0.2290506213903427, -0.11097542196512222, 0.25761884450912476, -0.3684462308883667, -0.06536532193422318, 0.4260692894458771, -0.09541968256235123, -0.7896937131881714, -0.4017123878002167, -0.5651786923408508, -0.17799578607082367, 0.3405347168445587, -0.12122780829668045, 0.33355215191841125, -0.15721780061721802, -0.33106938004493713, -0.5186403393745422, -0.46884769201278687, 0.0846281498670578, 0.05840742215514183, -0.04384571686387062, 0.06048712879419327, 0.7227871417999268, -0.03772049397230148, 0.8865794539451599, -0.40261703729629517, -0.30423596501350403, 0.3825943171977997, -0.5306076407432556, -0.3396104574203491, -0.32558855414390564, 0.587965190410614, 0.4804029166698456, 0.32404249906539917, -0.11920304596424103, 0.008275585249066353, 0.016475440934300423, 0.1476217359304428, -0.7541800737380981, -0.3570882976055145, 0.21803684532642365, -0.2883646488189697, -0.07022833824157715, -0.1502586007118225, -0.863304853439331, -0.47624585032463074, -0.5380039811134338, 0.3936731517314911, -0.5361913442611694, -0.0805184543132782, -0.04978783801198006, -0.20866255462169647, 0.05108697712421417, 0.6935047507286072, -0.47525903582572937, -0.027702799066901207, 0.3173981308937073, 1.0551786422729492, -0.2536012828350067, -0.38871142268180847, -0.7692437171936035, 0.14626488089561462, -0.20909321308135986, 1.0457521677017212, -0.7426235675811768, -0.06235310062766075, -0.11822857707738876, 0.11411213874816895, -0.3309400975704193, -0.2814781367778778, 0.4583286941051483, -0.6524747610092163, 0.26039084792137146, -0.1274534910917282, -0.07730979472398758, -0.5583909749984741, 0.4889313280582428, -0.7765278816223145, 0.6765789985656738, -0.11602812260389328, -0.6269023418426514, 0.25080379843711853, -0.9387298226356506, -0.2581574618816376, 0.0342300683259964, -0.2455841302871704, -0.4006524682044983, -0.23063300549983978, 0.6579741835594177, 0.5271897912025452, -0.11895608901977539, -0.05002434924244881, -0.2723604738712311, 0.06856265664100647, 0.40976426005363464, -0.5860732793807983, 0.37408915162086487, 0.3026704788208008, 0.04446420446038246, 0.24805770814418793, -0.7800782322883606, 0.23444682359695435, 0.10716508328914642, -0.10335922241210938, -0.478463351726532, 0.04274130240082741, 0.13479050993919373, 0.12384798377752304, 0.04456382989883423, -0.4624515175819397, 0.22801190614700317, -0.1330547332763672, 0.8560196161270142, 0.5297480821609497, -0.09062951803207397, 0.556128978729248, -0.21794022619724274, 0.5272858738899231, 0.12437201291322708, 0.13621246814727783, -0.4682613015174866, -0.5658581256866455, -0.48479533195495605, -0.40382158756256104, 0.0886349305510521, 0.49255773425102234, -1.5086655616760254, -0.431663453578949, -0.3499491810798645, -0.44879430532455444, -0.46681153774261475, 0.13344691693782806, 0.40244531631469727, 0.628286600112915, 0.5851089954376221, -0.1262897402048111, -0.15200640261173248, -0.8701839447021484, -0.030126554891467094, -0.08334819972515106, 0.14925885200500488, 0.5300814509391785, 0.84794020652771, -0.2125866711139679, 0.6393846869468689, -0.25256550312042236, -0.08116389811038971, 0.28730830550193787, 0.2294481098651886, -0.11211930215358734, 0.2629678547382355, 0.6259763836860657, -1.1846131086349487, -0.30126121640205383, 0.1966143548488617, -0.7503972053527832, 0.2880544066429138, -0.23533140122890472, -0.08901114016771317, 0.3901223838329315, 0.29831162095069885, -0.6385700702667236, 0.22663326561450958, 0.6292043924331665, -0.41055864095687866, 0.6698449850082397, -0.2981334626674652, 0.6131428480148315, -0.7761943340301514, 0.1468292474746704, 0.27480605244636536, -0.21938833594322205, -0.37054815888404846, 0.12372471392154694, 0.3154585361480713, -0.06192581355571747, -0.7788466811180115, 0.6319745779037476, -0.3999723196029663, -0.030181284993886948, -0.008305256254971027, 0.2246534526348114, 0.4232611060142517, 0.48856475949287415, 0.2624240815639496, 1.1472824811935425, 0.7052814960479736, -0.3003462255001068, 0.6266617178916931, 0.4575085937976837, -0.49616381525993347, 0.7080665230751038, -0.8594980835914612, 0.052184637635946274, -0.43742093443870544, 0.3701700270175934, -0.9904778003692627, -0.4453336000442505, 0.34564849734306335, -0.44746339321136475, -0.04112088680267334, -0.10911385715007782, -0.4338286817073822, -0.1940978765487671, -0.11812464892864227, 0.6090603470802307, 0.10607676208019257, -0.6400591135025024, 0.7937232255935669, -0.10825036466121674, -0.21243096888065338, -0.9840591549873352, -0.5730159878730774, 0.10642014443874359, -0.0704934149980545, -0.7607799768447876, 0.051554203033447266, -0.24429923295974731, -0.41476282477378845, 0.11975443363189697, 0.004314339254051447, -0.15065798163414001, -0.41894102096557617, 0.16677549481391907, 0.44005563855171204, -0.12006017565727234, 0.39091986417770386, -0.010239332914352417, 0.174814373254776, 0.13288946449756622, -0.22118403017520905, 0.2570207715034485, -0.5387994647026062, -0.4482482671737671, -0.33655795454978943, 0.389754056930542, 1.0325173139572144, -0.5931267142295837, 0.4817216694355011, 0.6742087602615356, -0.1686280369758606, 0.013116519898176193, -0.3245179355144501, -0.04539575055241585, -0.40575674176216125, 0.4598378539085388, -0.45778417587280273, -0.5948271155357361, 0.23263199627399445, 0.12777209281921387, 0.19020502269268036, 0.40529173612594604, 0.3766734004020691, -0.2420857846736908, 1.116637945175171, 0.2902362644672394, 0.5006643533706665, 0.2542615532875061, -0.24002693593502045, -0.010528321377933025, -0.7746967673301697, -0.5713752508163452, -0.29273518919944763, 0.0002636952558532357, -0.0403410829603672, -0.808752715587616, 0.46537572145462036, -0.3456535339355469, -0.07808317244052887, -0.015801016241312027, -0.7850785255432129, 0.5878415703773499, 0.6492090225219727, 0.12613998353481293, 0.3972315490245819, 0.3827720582485199, 0.07887257635593414, -0.06846150755882263, -0.6967974305152893, -0.5263180732727051, 0.9432932734489441, 0.24789032340049744, 0.7164325714111328, 0.04745405167341232, -0.0241953507065773, 0.3372421860694885, 0.03671811521053314, -0.7258836030960083, 0.3816853165626526, 0.057337354868650436, -0.42926183342933655, -0.17925214767456055, -0.4161764681339264, -0.731188178062439, 0.541745126247406, -0.4812239408493042, -0.26463809609413147, 0.29899486899375916, 0.23626863956451416, -0.3878251314163208, 0.2766662836074829, -0.9411041140556335, 1.004601001739502, -0.4688333570957184, -0.535476565361023, -0.13645601272583008, -0.6691973209381104, 0.35114699602127075, -0.10634124279022217, 0.4012974500656128, 0.08231338858604431, -0.11565553396940231, 0.6843775510787964, 0.07716742157936096, 0.6371635794639587, -0.08972656726837158, 0.027387799695134163, 0.23998913168907166, -0.06370489299297333, 0.37356919050216675, 0.2503218948841095, 0.20951013267040253, 0.1653399020433426, 0.7299991846084595, -0.5273637175559998, -0.8866599202156067, 0.6460531949996948, -0.9068998098373413, -0.3566471338272095, -0.7534115314483643, -0.9769125580787659, -0.19785122573375702, 0.15440407395362854, -0.17687572538852692, 0.6560489535331726, 0.35473182797431946, 0.5554759502410889, 0.9270160794258118, -0.30477625131607056, 0.32726389169692993, 0.28272178769111633, -0.018122471868991852, -0.5974198579788208, 0.8994084596633911, -0.19818702340126038, 0.3989820182323456, 0.47580984234809875, -0.04542119801044464, -0.665129542350769, -0.5648656487464905, -0.6028949618339539, 0.273080050945282, -0.9955422878265381, -0.18255341053009033, -0.7527531385421753, 0.022841647267341614, -0.4824811518192291, -0.05814302712678909, 0.005821084138005972, -0.4958432614803314, -0.2173686921596527, 0.34876182675361633, 0.5334576964378357, 0.49849164485931396, 0.0057336860336363316, 0.055400360375642776, -0.69969642162323, 0.36363887786865234, 0.5068910121917725, 0.025544866919517517, -0.12773427367210388, -0.531679630279541, -0.031542569398880005, 0.22381803393363953, -0.13091236352920532, -0.45752009749412537, 0.4769437313079834, 0.3557044565677643, 0.5182883739471436, 0.33833035826683044, -0.18367144465446472, 0.7557145357131958, -0.7203419208526611, 0.718787431716919, 0.43962937593460083, -0.6884903907775879, 0.4623664915561676, -0.2389615774154663, 0.2486797273159027, 0.21763481199741364, 0.4186055660247803, -0.43731409311294556, 0.04019807279109955, -0.33648228645324707, -0.5058168768882751, 0.35458752512931824, 0.16970640420913696, 0.036411967128515244, 0.32610753178596497, 0.29036423563957214, 0.11963756382465363, 0.33139896392822266, -0.9340833425521851, -0.00862949900329113, -0.7287275791168213, -0.3111295998096466, -0.2243187427520752, 0.06447753310203552, -0.46346262097358704, -0.4806424379348755, 0.5897949934005737, -0.41708624362945557, 0.3469708561897278, 0.397589772939682, -0.11731498688459396, 0.04540900141000748, 0.26825302839279175, 1.0667436122894287, 1.0839786529541016, -0.013104128651320934, 0.5738328099250793, -0.03576106205582619, -0.5631966590881348, -0.11645574867725372, 0.18566077947616577, 0.15159110724925995, -0.04836618900299072, 0.5517643690109253, 0.8672767281532288, -0.24186035990715027, -1.1835426092147827, 0.35166263580322266, -0.025115931406617165, -0.5479022264480591, -0.2994186282157898, 0.007887774147093296, -0.05929262191057205, 0.5836632251739502, 0.4659977853298187, 0.49696409702301025, 0.020468275994062424, -0.5476020574569702, 0.15952278673648834, 0.41761156916618347, -0.1883542388677597, -0.12120692431926727, 0.8798369765281677, 0.06215974688529968, 0.02354585751891136, 0.4026903808116913, -0.03913005068898201, -0.3825926184654236, 0.6135640740394592, 0.2870657444000244, 0.1676236093044281, 0.24276608228683472, 0.4265039563179016, 0.2542681396007538, 0.35977891087532043, -0.009777165949344635, 0.12082602828741074, -0.09626682847738266, -0.6254039406776428, -0.7729493975639343, -0.5181498527526855, -0.6374630928039551, 0.03512211889028549, -0.34553879499435425, -0.09141020476818085, -0.3141633868217468, 0.2329854816198349, 0.3765433430671692, -0.17785203456878662, -0.5843256115913391, 0.3292711079120636, 0.08300182223320007, 0.7320762276649475, -0.7097187638282776, 0.8004263639450073, 1.131137490272522, -0.5480332374572754, -0.32413291931152344, -0.5947209596633911, -0.28694942593574524, -1.0103480815887451, 0.8160151243209839, 0.019784120842814445, -0.12593510746955872, 0.011780074797570705, -0.9111714363098145, -0.6926618218421936, 1.1107970476150513, 0.21451902389526367, -0.6274195313453674, 0.03597511351108551, 0.0934760570526123, 0.5006847381591797, -0.3575136661529541, 0.19938570261001587, 0.13951322436332703, 0.6825380921363831, 0.5167365670204163, -0.5716512799263, -0.15369530022144318, -0.5012643337249756, -0.2575031518936157, -0.017628679051995277, -0.5425562262535095, 0.730011522769928, -0.36974257230758667, 0.07192689180374146, 0.04470478743314743, 0.592731237411499, 0.4975709915161133, 0.6861052513122559, 0.6203562617301941, 0.4619588255882263, 0.6915900111198425, -0.2967751920223236, 0.9329082369804382, 0.023967109620571136, 0.09683522582054138, 0.7827568650245667, -0.0006020385771989822, 0.8911414742469788, 0.8668014407157898, -0.0740140900015831, 0.495320588350296, 0.648306131362915, -0.3722889721393585, 0.6406040191650391, -0.20136046409606934, -0.45695066452026367, -0.49934861063957214, -0.09938865154981613, -0.3492259085178375, 0.16206593811511993, 0.4128582179546356, -0.23417474329471588, -0.08535744249820709, 0.5960938334465027, -0.28570568561553955, 0.14781878888607025, -0.3722319006919861, 0.25295504927635193, 0.03467260301113129, -0.6445404887199402, 0.4218593239784241, -0.31772172451019287, 0.3577742874622345, -0.43129438161849976, -0.4030996263027191, 0.13585011661052704, 0.1947137415409088, -0.23311994969844818, -1.0516387224197388, 0.016954928636550903, -0.16538608074188232, -0.37960970401763916, -0.3022414743900299, 0.5165349841117859, -0.564521074295044, -0.5633173584938049, -0.2480204850435257, 0.39687463641166687, 0.2939099669456482, -0.3002912998199463, -0.9027804732322693, 0.11401134729385376, -0.008476531133055687, -0.08271604031324387, 0.08713260293006897, 0.3558436632156372, -0.19531507790088654, 0.972015917301178, 0.8597266674041748, -0.17339764535427094, 0.10186547785997391, -0.04246058687567711, 0.7830257415771484, -0.28341954946517944, -0.03379553183913231, -0.5444033741950989, 0.5697805881500244, -0.18236258625984192, -0.17052628099918365, 0.6815691590309143, 0.4276912212371826, 0.690441370010376, -0.32643643021583557, 0.903706431388855, -0.04172441363334656, 0.3062281906604767, -0.5891854763031006, 0.6662936806678772, -0.9761241674423218, -0.1906999945640564, -0.023038620129227638, -0.856952965259552, -0.6164635419845581, 0.7860920429229736, -0.31488990783691406, -0.19601407647132874, 0.8408868908882141, 0.665043830871582, -0.14618070423603058, -0.1651962399482727, 0.4158315062522888, 0.08704423159360886, 0.3652837574481964, 0.43721842765808105, 0.9511917233467102, -0.4845365881919861, 0.8647995591163635, -0.14675377309322357, -0.1876157522201538, 0.04762204736471176, -0.8881477117538452, -1.1627706289291382, -0.7544217109680176, -0.4805469810962677, -0.1634570211172104, 0.11017253994941711, 0.5923028588294983, 0.5844964385032654, -0.6851196885108948, 0.40233728289604187, 0.05918686464428902, -0.0043451073579490185, -0.19814659655094147, -0.20774933695793152, 0.5434568524360657, -0.27200424671173096, -0.9633632302284241, 0.36434799432754517, 0.40321069955825806, 0.1624642312526703, -0.36413928866386414, -0.13423103094100952, -0.24423690140247345, 0.12161683291196823, 1.0593442916870117, 0.42024365067481995, -0.8468073010444641, -0.3462783396244049, 0.2960295081138611, 0.09674464166164398, 0.06155078485608101, 0.4482952058315277, -0.6295345425605774, 0.8300474286079407, 0.4359322488307953, 0.5598068237304688, 0.4181576073169708, 0.07283031195402145, 0.13614051043987274, -0.5143550634384155, 0.21420714259147644, 0.32926133275032043, 0.45074039697647095, 0.42116308212280273, -0.020202748477458954, 0.451553612947464, 0.44309768080711365, -0.6432912945747375, -0.9490589499473572, 0.019930429756641388, -1.4074513912200928, -0.39509886503219604, 1.223793625831604, -0.052895572036504745, -0.5234401822090149, -0.0844554603099823, -0.4603322148323059, -0.17658810317516327, -0.33969852328300476, 0.5442265868186951, 0.8119385242462158, -0.10361095517873764, -0.7520681023597717, -0.8500934839248657, 0.3142516613006592, 0.34237581491470337, -0.9597082138061523, -0.12560167908668518, 0.6980949640274048, 0.13983654975891113, 0.4516114890575409, 0.0630044937133789, -0.05089585855603218, 0.5925928354263306, -0.06786194443702698, 0.1885875016450882, -0.4634712040424347, -0.5186145901679993, 0.08997971564531326, 0.19659191370010376, -0.3036912977695465, -0.1935470849275589 ]
http://arxiv.org/abs/2403.00226v3
http://arxiv.org/pdf/2403.00226v3
A Semantic Distance Metric Learning approach for Lexical Semantic Change Detection
2024-03-01T02:09:25
2024-06-01T09:23:22
Taichi Aida, Danushka Bollegala
cs.CL
cs.CL
Detecting temporal semantic changes of words is an important task for various NLP applications that must make time-sensitive predictions. Lexical Semantic Change Detection (SCD) task involves predicting whether a given target word, $w$, changes its meaning between two different text corpora, $C_1$ and $C_2$. For this purpose, we propose a supervised two-staged SCD method that uses existing Word-in-Context (WiC) datasets. In the first stage, for a target word $w$, we learn two sense-aware encoders that represent the meaning of $w$ in a given sentence selected from a corpus. Next, in the second stage, we learn a sense-aware distance metric that compares the semantic representations of a target word across all of its occurrences in $C_1$ and $C_2$. Experimental results on multiple benchmark datasets for SCD show that our proposed method achieves strong performance in multiple languages. Additionally, our method achieves significant improvements on WiC benchmarks compared to a sense-aware encoder with conventional distance functions. Source code is available at https://github.com/LivNLP/svp-sdml .
[ -0.045156970620155334, -0.4509572684764862, 0.49162501096725464, 0.15455181896686554, -0.34092989563941956, -0.217971071600914, -0.333454430103302, -0.679614782333374, 0.19748952984809875, 0.15943633019924164, -0.7442533373832703, -0.8612074255943298, -0.773335874080658, 0.026348475366830826, -0.2713145315647125, 0.48946404457092285, -0.30785396695137024, 0.39741382002830505, -0.10725782066583633, -0.41935810446739197, -0.5162689089775085, -0.1117754802107811, -0.47076135873794556, -0.1439109593629837, 0.5828729867935181, 0.2789272665977478, 0.3677627146244049, 0.5851774215698242, 0.44505906105041504, 0.16670261323451996, -0.24559688568115234, 0.48363974690437317, 0.1286805272102356, 0.3085132837295532, -0.4663549065589905, -0.38620761036872864, 0.06562630087137222, -0.2314462512731552, 0.6904258131980896, 0.6863797903060913, -0.10032571852207184, 0.11458343267440796, 0.05880473926663399, 0.7185697555541992, -0.9107214212417603, 0.41338133811950684, -1.074325680732727, 0.36697155237197876, -0.48539331555366516, -0.13688510656356812, -0.16763845086097717, 0.03695144131779671, -0.10893971472978592, -0.7041290402412415, 0.21148307621479034, -0.1490345001220703, 0.9838568568229675, 0.5057345628738403, -0.2891598641872406, -0.32579517364501953, -0.5238540768623352, 0.6739126443862915, -0.6823272705078125, 0.9171016216278076, 0.3079410195350647, 0.23762042820453644, -0.22680158913135529, -0.5649270415306091, -0.7990889549255371, -0.13999991118907928, 0.18872404098510742, 0.2975377142429352, -0.08115051686763763, -0.23493464291095734, 0.3297911286354065, -0.09282677620649338, -0.4754326641559601, 0.33117133378982544, -0.3216441571712494, -0.27099916338920593, 0.22500082850456238, 0.215302973985672, -0.017524369060993195, -0.03416149690747261, -0.5164020657539368, -0.21528363227844238, -0.5081080794334412, -0.1871057152748108, 0.10757128149271011, 0.413004070520401, -0.22448471188545227, 0.5137497782707214, -0.41860824823379517, 0.5313383340835571, -0.0840655192732811, -0.11398934572935104, 0.351540744304657, -0.36000508069992065, 0.12032584846019745, 0.2680753171443939, 0.18321610987186432, 0.5394291877746582, 0.10205914825201035, -0.13649523258209229, -0.16729570925235748, 0.7874699234962463, -0.11771110445261002, -0.5328429937362671, -0.027248412370681763, -0.15463683009147644, -0.452555775642395, -0.16233310103416443, -0.045226600021123886, -0.46732282638549805, -0.317806214094162, -0.6195741891860962, 0.2981349527835846, -0.6271934509277344, -0.3398487865924835, 0.3287399411201477, -0.2554287612438202, 0.30728062987327576, 0.11134719103574753, -0.7265506386756897, 0.2985168993473053, 0.7080375552177429, 1.0824522972106934, -0.5999550819396973, -0.39456573128700256, -0.6001285910606384, 0.19161444902420044, -0.7266123294830322, 0.8333047032356262, -0.4324313700199127, -0.346419095993042, 0.02558722533285618, 0.007489343173801899, -0.09694412350654602, -0.49527740478515625, 0.15432170033454895, -0.5159858465194702, -0.007821977138519287, -0.3567144572734833, -0.678068220615387, 0.2764597237110138, 0.4465715289115906, -0.4404228925704956, 1.5415980815887451, 0.5052337050437927, -1.3241310119628906, 0.8789975047111511, -0.5408709049224854, -0.24647663533687592, 0.10370439291000366, 0.08319909870624542, -0.2032778412103653, 0.10256365686655045, 0.07866058498620987, 0.2996060252189636, 0.3820776343345642, -0.1307123601436615, -0.338363379240036, -0.2682029604911804, 0.049805060029029846, -0.10465399920940399, 0.29355472326278687, 0.31643146276474, -0.15028175711631775, -0.007047674153000116, -0.8622088432312012, 0.0752083957195282, -0.08337578922510147, -0.27247700095176697, -0.6591289639472961, 0.3930152654647827, 0.22030164301395416, 0.5649327039718628, 0.3249482810497284, -0.991416871547699, -0.1218380406498909, -0.525608479976654, 0.017857417464256287, 0.7180121541023254, 0.024599505588412285, 0.22081220149993896, -0.005016663111746311, 0.22996629774570465, 0.6185813546180725, 0.08949001133441925, 0.17903077602386475, -0.18659032881259918, -0.6913841962814331, -0.031015856191515923, 0.17717859148979187, 0.5037007927894592, -0.9842173457145691, 0.48533472418785095, -0.21249181032180786, -0.4160093665122986, -0.3348391354084015, -0.06003915145993233, 0.24854089319705963, 0.5444714426994324, 0.7157964706420898, -0.2643307149410248, -0.33550214767456055, -0.5700214505195618, -0.6268883347511292, -0.3398895561695099, -0.2948329746723175, -0.04670478031039238, 0.5501381158828735, -0.3741888999938965, 1.2429617643356323, -0.8047956228256226, -0.5894181728363037, 0.07541771978139877, -0.13508263230323792, -0.424434632062912, 0.2789708971977234, 0.29272890090942383, -0.7185273766517639, -0.14724791049957275, 0.01745384931564331, -0.32140591740608215, -0.3851800858974457, 0.009818656370043755, 0.0350930355489254, 0.42858538031578064, 1.0607441663742065, -0.2976144850254059, 0.7841075658798218, 0.5839406847953796, -0.6490620374679565, 0.8980413675308228, -0.2958379089832306, 0.05713332071900368, -1.2820367813110352, -0.38249263167381287, -0.07039234787225723, -0.12295574694871902, -0.3190423548221588, -0.24714134633541107, 0.15344136953353882, 0.22005532681941986, -0.7892501950263977, 0.7449295520782471, -0.10701604932546616, -0.37734106183052063, -0.1395639032125473, 0.4176810383796692, -0.258164644241333, 0.2889927625656128, 0.39478328824043274, 0.2537611126899719, 0.3467811048030853, -0.870046854019165, 0.2104649841785431, 0.07084987312555313, -0.49640989303588867, 0.7702481150627136, -0.2543591558933258, -0.1910853236913681, -0.11640743166208267, 0.30934077501296997, -0.7117179036140442, 0.12292688339948654, 0.21640627086162567, -0.7885504961013794, -0.11480548977851868, 0.04737591743469238, -0.7596984505653381, -0.24851863086223602, 0.005459529347717762, 0.22855447232723236, -0.12342759221792221, -0.8279199004173279, 0.3319726884365082, 0.1135639175772667, 0.1821293830871582, -0.1609923541545868, -0.8770566582679749, -0.03197184577584267, -0.17854394018650055, -0.5342840552330017, 0.5608418583869934, 0.055293649435043335, -0.31913867592811584, 0.18950094282627106, -0.391964316368103, -0.08595968037843704, 0.10912727564573288, 0.16197499632835388, 0.17289923131465912, 0.09940706938505173, 0.651197075843811, 0.2719363570213318, -0.3137015700340271, 0.028271052986383438, -0.6236326098442078, 0.4668404459953308, -0.018803080543875694, -0.49246612191200256, -0.5400515198707581, 0.3327993154525757, 0.15336798131465912, -0.3393773138523102, 0.7694714665412903, 1.3405858278274536, -0.830558717250824, -0.26299288868904114, -0.3133900463581085, -0.1454675942659378, -0.40495073795318604, 0.6243093609809875, -0.44587722420692444, -0.9738803505897522, 0.36711350083351135, -0.31243380904197693, 0.030071979388594627, 0.5413565635681152, 0.4817529618740082, -0.023111442103981972, 0.8592414259910583, 0.6302229166030884, 0.12065282464027405, 0.7534772753715515, -0.03553668037056923, 0.11720094084739685, -0.8768030405044556, -0.3977220952510834, -0.7066492438316345, -0.2224917709827423, -0.76908940076828, -0.7842450141906738, 0.38948196172714233, 0.10478436946868896, -0.20794230699539185, 0.4595281481742859, -0.4219261109828949, 0.32342591881752014, 0.04015691578388214, 0.13196589052677155, 0.18294170498847961, 0.0582154281437397, -0.5185214281082153, -0.5024266839027405, -0.4191363751888275, -0.1036769449710846, 0.5885329246520996, 0.0848596915602684, 0.4765004515647888, 0.060836564749479294, 0.5289895534515381, 0.4011518359184265, -0.1319790929555893, -0.7550881505012512, 0.5590206980705261, -0.26067039370536804, 0.18935994803905487, -0.2231602817773819, -0.29544177651405334, -0.6867217421531677, 0.5234598517417908, -0.3182402551174164, -0.8212279677391052, -0.007803095504641533, -0.14277179539203644, 0.3662894368171692, 0.6140539050102234, -0.3554155230522156, 0.6449828743934631, 0.1050778478384018, -0.06858647614717484, -0.7013769149780273, -0.6772150993347168, -0.1858728975057602, 0.07661621272563934, 0.13820689916610718, -0.3838290274143219, -0.35354992747306824, 0.7514768838882446, -0.5355467796325684, 0.40476423501968384, -0.4278593957424164, -0.011204679496586323, 0.07432685792446136, 0.4618988335132599, 0.5007696747779846, 0.03879133611917496, -0.054618772119283676, 0.3006402850151062, 0.3337033689022064, -0.4380112290382385, -0.3418491780757904, 0.8067032098770142, -0.2590012848377228, 0.08376548439264297, -0.5412444472312927, -0.49764755368232727, -0.37727659940719604, 0.03796694055199623, 0.23810037970542908, 0.4182751178741455, -0.2709142863750458, -0.24491249024868011, 0.49817386269569397, -0.1429673135280609, 0.618183970451355, 0.7665887475013733, 0.14546087384223938, -0.02126648649573326, 0.574809193611145, -0.15033508837223053, 0.46734818816185, 0.5266863107681274, 0.400688111782074, -0.4510315954685211, -0.27003392577171326, -0.3293026387691498, 0.17136134207248688, -0.6257144808769226, -0.05512858182191849, -0.4828254282474518, 0.15572410821914673, -0.41749539971351624, -0.4323336184024811, -0.5414957404136658, -0.2503480017185211, -0.3311063051223755, 0.014806743711233139, 0.5400825142860413, 0.4722343385219574, -0.29100826382637024, -0.03746270760893822, -0.5822903513908386, 0.07032324373722076, -0.14502549171447754, 0.227974534034729, -0.27666541934013367, -0.44357815384864807, -0.2770169973373413, 0.026689933612942696, -0.023410674184560776, -0.6479381918907166, 0.4051215350627899, 0.25896263122558594, -0.02152404561638832, 0.5030046701431274, 0.15479356050491333, 0.6886386871337891, -0.5042593479156494, 1.0078567266464233, 0.48364824056625366, -0.9366944432258606, 0.7236449122428894, -0.010679084807634354, 0.8422703742980957, 0.3935067355632782, 0.14890433847904205, -1.2797490358352661, -0.47010764479637146, -0.38272225856781006, -0.5034090876579285, 0.5507261157035828, -0.14524953067302704, -0.08819886296987534, -0.32114794850349426, 0.25481951236724854, -0.018500521779060364, -0.17052312195301056, -0.2315017133951187, -0.04360928758978844, 0.15568996965885162, -0.18196216225624084, 0.3096911311149597, 0.06026393920183182, 0.3577600121498108, -0.18431739509105682, 0.4943590462207794, -0.39268675446510315, 0.15095970034599304, 0.41729313135147095, -0.26993101835250854, 0.1864279806613922, 0.2729363739490509, 0.39872053265571594, 0.7686843872070312, 0.11098722368478775, 0.05399356782436371, 0.8603716492652893, -0.6306123733520508, -0.3279890716075897, -0.14748609066009521, 0.030515829101204872, 0.47703564167022705, 0.4985528886318207, 0.553358793258667, 0.46171560883522034, -0.516092836856842, 0.7174096703529358, 0.060195859521627426, -0.2619352340698242, -0.44550949335098267, -0.24759487807750702, 0.09190208464860916, 0.16218562424182892, 0.011293848976492882, 0.18274334073066711, -0.06160636618733406, -0.10369294881820679, 0.4538097679615021, 0.09582481533288956, -1.0298552513122559, -0.29120123386383057, 0.6431753039360046, -0.19817650318145752, -0.1303664892911911, 0.6301820278167725, -0.43917733430862427, -0.761203944683075, 0.5560847520828247, 0.6202016472816467, 0.7023190855979919, -0.3049415647983551, 0.21807552874088287, 0.5158609747886658, -0.10533428192138672, 0.040275782346725464, 0.04451905936002731, -0.4088023006916046, -0.9741436839103699, -0.1250983327627182, -0.7982427477836609, -0.03174824267625809, -0.18307174742221832, -0.8310251832008362, 0.6180456876754761, -0.3710683286190033, -0.02095342054963112, 0.003412451595067978, 0.16905252635478973, -0.6695300936698914, 0.1843111217021942, 0.22030580043792725, 1.026320219039917, -0.8953104615211487, 0.9079594016075134, 0.43195605278015137, 0.23808443546295166, -0.5135032534599304, 0.1397583782672882, 0.35006195306777954, -0.4266156256198883, 0.7496293187141418, 0.13425269722938538, -0.5620482563972473, -0.3944019377231598, -0.1796288639307022, -0.5571528673171997, 1.2254621982574463, -0.0256208386272192, -0.6495806574821472, 0.2228277623653412, -0.032626595348119736, 0.6960562467575073, -0.31546080112457275, -0.09964453428983688, 0.7004054188728333, 0.2620730698108673, 0.05011313036084175, -0.785789966583252, -0.2970331609249115, 0.29339203238487244, 0.5082561373710632, 0.5852248668670654, -0.38011419773101807, 0.45516878366470337, -0.4171253740787506, -0.4771050810813904, 0.031994178891181946, 0.929970920085907, 0.2307569980621338, 0.5215741991996765, 0.9029988050460815, 0.7355818748474121, 0.7355197668075562, -0.21468447148799896, 0.6035844683647156, -0.3018682897090912, 0.47378143668174744, 1.2724087238311768, -0.39951589703559875, 1.080682396888733, 0.4843001663684845, -0.25777605175971985, 0.48201221227645874, 0.8320637941360474, 0.12894827127456665, 0.6216551661491394, 0.4980103671550751, -0.5999956727027893, -0.3003329634666443, -0.3246649205684662, -0.33714592456817627, 0.6036610007286072, 0.6987621784210205, 0.03136804327368736, -0.527614951133728, 0.15932992100715637, 0.3847481608390808, 0.4126581847667694, -0.37206315994262695, 0.6826152801513672, -0.0018281049560755491, -0.1890551745891571, 0.04251604899764061, 0.3823195993900299, 0.8479099869728088, -0.8134542107582092, -0.04769468680024147, 0.02210119552910328, 0.6314374208450317, -0.17992864549160004, -0.4813378155231476, 0.5785255432128906, -0.1461445540189743, -0.21927663683891296, 0.08300965279340744, 0.7340825200080872, -0.8067852854728699, -0.5108095407485962, 0.7789192199707031, 0.09444880485534668, 0.1636040061712265, 0.06507391482591629, -0.8628572821617126, 0.15815648436546326, -0.34820353984832764, 0.30515462160110474, 0.35573914647102356, 0.3644268214702606, -0.537530779838562, 0.5131297707557678, 0.5842521786689758, 0.4475748538970947, 0.04909277334809303, 0.32158777117729187, 0.6977164149284363, -0.43119189143180847, -0.8730435967445374, -0.4894721806049347, -0.14037036895751953, -0.025738989934325218, -0.5876885652542114, 0.49210017919540405, 0.6600543856620789, 1.3223507404327393, 0.0018588061211630702, 0.33031100034713745, -0.23021766543388367, 0.7282242774963379, -0.7962548732757568, 0.4203401505947113, -0.5610944628715515, 0.14251957833766937, -0.1909356266260147, -0.8350644111633301, -0.49411627650260925, 0.38991519808769226, -0.09538178145885468, -0.37254568934440613, 1.1648977994918823, 1.2305407524108887, 0.1347707062959671, 0.008062131702899933, 0.19315283000469208, 0.015362733975052834, 0.2254415601491928, 0.5932382941246033, 0.5657609701156616, -0.3684069812297821, 0.3095150589942932, -0.16967400908470154, -0.07386606931686401, 0.1390083134174347, -0.8104785084724426, -0.5050879120826721, -1.2361400127410889, -0.5915098190307617, -0.6264852285385132, 0.24196334183216095, 1.0067230463027954, 0.49910396337509155, -0.7571880221366882, 0.2715872824192047, 0.013273117132484913, -0.020476996898651123, -0.6226397752761841, -0.27359145879745483, 0.7391216158866882, -0.49914121627807617, -0.5402858257293701, 0.38637182116508484, 0.28529787063598633, -0.3392520546913147, -0.05767587572336197, -0.18264593183994293, -0.33643585443496704, -0.0666968896985054, 0.7910652756690979, -0.05038714408874512, -0.7513971328735352, -0.7214859127998352, -0.3462994694709778, -0.10554442554712296, -0.2657865285873413, 0.9044705033302307, -0.8332608938217163, 0.5671741962432861, 0.4894926846027374, 0.44737735390663147, 0.7064194083213806, -0.25502967834472656, -0.09972106665372849, -0.9677990674972534, 0.3473804295063019, 0.04418113827705383, 0.1549525260925293, 0.41202545166015625, -0.1600790172815323, 0.5765960216522217, 0.6625063419342041, -0.20993736386299133, -0.4830567538738251, 0.33695393800735474, -0.9484081268310547, -0.360563188791275, 1.3097174167633057, -0.1378137320280075, -0.21110646426677704, -0.15611015260219574, 0.08059336990118027, 0.2989620268344879, -0.10464630275964737, 0.44884660840034485, 0.6567350029945374, 0.07103458046913147, 0.43438708782196045, -0.3516417145729065, 0.5576726794242859, 0.0539829321205616, -0.7152143716812134, -0.026188479736447334, 0.4665476977825165, 0.6625910401344299, -0.18342174589633942, 0.33052298426628113, -0.6139929890632629, 0.21875198185443878, 0.23552864789962769, 0.0706210732460022, 0.09964808076620102, -0.26804280281066895, -0.3545565903186798, -0.5258764624595642, -0.39277327060699463, -0.5537093281745911 ]
http://arxiv.org/abs/2403.00212v1
http://arxiv.org/pdf/2403.00212v1
Transcription and translation of videos using fine-tuned XLSR Wav2Vec2 on custom dataset and mBART
2024-03-01T01:15:45
2024-03-01T01:15:45
Aniket Tathe, Anand Kamble, Suyash Kumbharkar, Atharva Bhandare, Anirban C. Mitra
cs.CL
cs.CL, cs.CV, cs.LG, cs.SD, eess.AS
This research addresses the challenge of training an ASR model for personalized voices with minimal data. Utilizing just 14 minutes of custom audio from a YouTube video, we employ Retrieval-Based Voice Conversion (RVC) to create a custom Common Voice 16.0 corpus. Subsequently, a Cross-lingual Self-supervised Representations (XLSR) Wav2Vec2 model is fine-tuned on this dataset. The developed web-based GUI efficiently transcribes and translates input Hindi videos. By integrating XLSR Wav2Vec2 and mBART, the system aligns the translated text with the video timeline, delivering an accessible solution for multilingual video content transcription and translation for personalized voice.
[ -0.3506620526313782, -0.49103593826293945, 0.10150427371263504, 0.21035243570804596, -0.21677471697330475, 0.26869577169418335, -0.2647997736930847, -0.11978819221258163, 0.07964403927326202, 0.41527777910232544, -0.7624812722206116, -0.4206882417201996, -0.6038429737091064, 0.06788066774606705, -0.6339890956878662, 1.0696747303009033, 0.1374131292104721, 0.4184899926185608, 0.1715216487646103, -0.1992439180612564, -0.429410845041275, -0.22881962358951569, -0.6128487586975098, -0.028854958713054657, 0.07929304987192154, 0.6505911350250244, 0.530388593673706, 0.48749297857284546, 0.39771950244903564, 0.25442638993263245, 0.03671922907233238, 0.18622498214244843, -0.43106988072395325, -0.11258222907781601, -0.14650116860866547, -0.19128435850143433, -0.21291452646255493, -0.2782350480556488, 0.5748056769371033, 0.24759146571159363, -0.33397871255874634, 0.6279769539833069, 0.032274503260850906, 0.33652612566947937, -0.38022902607917786, 0.029973335564136505, -0.5722774863243103, 0.15841534733772278, -0.18840037286281586, -0.3321990966796875, -0.2622711956501007, -0.5141002535820007, -0.07830269634723663, -0.48504310846328735, 0.35876867175102234, -0.20957496762275696, 0.5152902007102966, 0.4917774498462677, -0.540152907371521, -0.17058013379573822, -1.2756774425506592, 0.9344179630279541, -0.5539230108261108, 0.7243781089782715, 0.39323705434799194, 0.8801071047782898, 0.38438671827316284, -0.723797082901001, -0.6942357420921326, 0.3105916976928711, 0.34462541341781616, 0.25204023718833923, -0.20369718968868256, -0.1582939177751541, 0.05323851481080055, 0.29845574498176575, -0.6127312779426575, 0.015854187309741974, -0.7325832843780518, -0.17354156076908112, 0.5752847194671631, 0.2652118504047394, 0.5539915561676025, -0.3733437955379486, -0.0883350521326065, -0.26748645305633545, -0.3856900632381439, 0.33274024724960327, 0.40711620450019836, 0.3679264187812805, -0.2763237953186035, 0.8256276845932007, -0.050748441368341446, 0.5053316354751587, 0.1863405555486679, -0.3190793991088867, 0.33939751982688904, -0.3873218297958374, -0.3616187572479248, 0.6626332402229309, 0.7495147585868835, 0.32696011662483215, 0.2835961580276489, 0.15920494496822357, -0.04768984764814377, -0.05390539765357971, 0.35277777910232544, -0.6234368085861206, 0.009178354404866695, 0.004176042042672634, -0.32117795944213867, 0.03620241582393646, 0.08628105372190475, -0.43676891922950745, 0.16602879762649536, -0.5501455068588257, 0.43817976117134094, -0.35599789023399353, -0.07095742970705032, -0.08677893131971359, -0.06689288467168808, 0.4218762516975403, 0.48680931329727173, -1.0565731525421143, 0.694981038570404, 0.375247985124588, 0.7703896164894104, -0.29887184500694275, 0.11245511472225189, -0.6860870718955994, 0.6211512684822083, -0.32387349009513855, 0.6268448829650879, -0.3735744059085846, -0.526578426361084, 0.15125320851802826, -0.0393923781812191, 0.17584747076034546, -0.5986886024475098, 0.5335977077484131, -0.47066840529441833, -0.0007057092734612525, -0.09242226183414459, -0.39602673053741455, -0.028255509212613106, -0.0859169065952301, -0.4414672553539276, 0.9341483116149902, 0.20681893825531006, -0.3758911192417145, 0.13671188056468964, -0.5539066195487976, -0.634040355682373, -0.1026151105761528, -0.3059671223163605, -0.2107129693031311, -0.2175370156764984, 0.3151819407939911, 0.3437904417514801, -0.19706903398036957, -0.07684212177991867, 0.09505877643823624, -0.10297977179288864, 0.3564946949481964, -0.18677374720573425, 0.46759942173957825, 0.548514187335968, -0.20566144585609436, 0.02222340553998947, -0.9305650591850281, 0.43560537695884705, -0.3305768370628357, -0.314667671918869, 0.10761138796806335, -0.18892434239387512, 0.5928077101707458, 0.3210083842277527, 0.09764637798070908, -0.6262658834457397, -0.03388267755508423, -0.3474642038345337, 0.5544555187225342, 0.48124387860298157, -0.12331943958997726, 0.47905412316322327, 0.24006766080856323, 0.5330231189727783, -0.1297885626554489, 0.16494843363761902, 0.2921830415725708, -0.4071098566055298, -0.39305776357650757, 0.043642621487379074, 0.104278564453125, 0.75716233253479, -0.3042563199996948, 0.18527163565158844, -0.44470393657684326, -0.26488196849823, -0.8531933426856995, 0.6630025506019592, 0.5288216471672058, 0.5368363261222839, 0.8738383054733276, -0.4028759002685547, -0.7888681292533875, -1.0254343748092651, 0.1372179538011551, 0.15108788013458252, -0.3775809109210968, 0.44904643297195435, 0.022476207464933395, -0.48049962520599365, 0.9235714077949524, -0.49774470925331116, -0.8936631083488464, -0.6615281105041504, 0.09709090739488602, -0.05207526311278343, 0.49089720845222473, 0.37698128819465637, -1.0970724821090698, -1.0312896966934204, 0.312703013420105, -0.3976629972457886, -0.17562779784202576, -0.08710014820098877, 0.11230486631393433, -0.033416617661714554, 0.5835378766059875, -0.3101547360420227, 0.5231443047523499, 0.6399393081665039, 0.13522404432296753, 0.2473304718732834, -0.28579193353652954, 0.53153395652771, -1.2470937967300415, -0.08960746973752975, -0.039059240370988846, -0.48840710520744324, -0.5556277632713318, -0.39963477849960327, -0.08487927168607712, -0.15498457849025726, -0.6340863704681396, 0.29656580090522766, -0.14168329536914825, -0.432145893573761, -0.2299722135066986, 0.1972484588623047, -0.2950543165206909, 0.2626208961009979, 0.148368239402771, 0.957057535648346, 0.24694734811782837, -0.6423200964927673, 0.34135937690734863, 1.0604428052902222, -0.3673674464225769, 0.5789455771446228, -0.6739072799682617, 0.17016053199768066, 0.2498375028371811, 0.03756158798933029, -0.8473303318023682, -0.3246273100376129, 0.16741789877414703, -0.9998053908348083, 0.4308665990829468, -0.28128358721733093, -0.3644365668296814, -0.13583804666996002, 0.03405015543103218, 0.23111657798290253, 0.9034823775291443, -0.3989010751247406, 0.41730597615242004, 0.3975568413734436, -0.40886691212654114, -0.08501478284597397, -1.079248070716858, 0.14523975551128387, 0.0685521811246872, -0.5439615249633789, 0.6628901362419128, -0.253814697265625, 0.1311117708683014, -0.02835104614496231, -0.23098105192184448, -0.4458322823047638, -0.7180067300796509, 0.3067925274372101, -0.10396759957075119, -0.34067705273628235, -0.4873741865158081, 0.48556455969810486, 0.04855455830693245, -0.16298307478427887, -0.1309477984905243, 0.2819356322288513, 0.2838573753833771, -0.1534562110900879, -0.7972858548164368, 0.6906293630599976, 0.31269413232803345, -0.23492060601711273, 0.3102583885192871, 1.011810064315796, -0.23882003128528595, 0.05359523743391037, -0.7737422585487366, 0.14373892545700073, -0.4997004270553589, 0.46674907207489014, -0.4284588694572449, -0.7629649043083191, 0.3621920943260193, 0.16916656494140625, -0.43518903851509094, 0.30977314710617065, 0.7017509937286377, -0.10794485360383987, 1.3402796983718872, 0.37602272629737854, -0.02550007589161396, 0.5368421077728271, -0.4342525005340576, -0.07185014337301254, -1.054742455482483, -0.5657457709312439, -0.3920471668243408, -0.09080066531896591, -0.4785550534725189, -0.3624321222305298, 0.3431941270828247, -0.353461891412735, -0.3865223228931427, 0.5946635603904724, -0.552460789680481, 0.26552507281303406, 0.5652598142623901, 0.08770085126161575, 0.13368874788284302, 0.2914220690727234, 0.05936695635318756, -0.5933210849761963, -0.3550957143306732, -0.34315797686576843, 0.7028840780258179, 0.09991462528705597, 0.8446155786514282, 0.6805574893951416, 0.3945927321910858, 0.48262113332748413, -0.37952861189842224, -0.5429884791374207, 0.4467758238315582, -0.5440349578857422, -0.6177536249160767, -0.450344055891037, -0.27962973713874817, -0.6631048917770386, -0.33903512358665466, -0.07274975627660751, -0.8477736115455627, -0.0033756911288946867, 0.21503961086273193, -0.48185259103775024, 0.22363166511058807, -0.5883021950721741, 0.636893630027771, -0.3969970643520355, -0.49822598695755005, -0.4704486131668091, -0.9741376638412476, 0.0754481852054596, 0.10627507418394089, 0.1776379942893982, 0.27569350600242615, 0.05347440391778946, 0.6605631113052368, -0.44896799325942993, 0.48689714074134827, -0.07303759455680847, 0.23776875436306, 0.5346198678016663, 0.11673423647880554, 0.12122372537851334, 0.19928722083568573, 0.31809335947036743, -0.019028102979063988, 0.06121775880455971, -0.09900283813476562, -0.693714439868927, 0.7266170382499695, -1.1666080951690674, -0.3577188551425934, -0.09276744723320007, -0.03813998028635979, -0.24320879578590393, 0.15877188742160797, 0.32137587666511536, 0.28552547097206116, -0.31550776958465576, 0.3961479663848877, 0.8510774970054626, -0.32936856150627136, 0.1352546215057373, 0.5043357610702515, -0.05295832082629204, -0.8499207496643066, 0.8619150519371033, 0.0457419715821743, 0.2845715284347534, 0.7107961177825928, 0.037303343415260315, -0.5570700168609619, -0.40055954456329346, -0.8142889142036438, -0.050362393260002136, -0.8072595000267029, -0.2356688231229782, -0.7686828970909119, -0.5085030794143677, -1.0677275657653809, -0.16324225068092346, -0.8055826425552368, -0.26697567105293274, -0.6117849946022034, -0.14420954883098602, 0.36171597242355347, 0.8554543852806091, -0.25411999225616455, 0.4567883610725403, -1.0532917976379395, 0.7081767916679382, 0.5430557131767273, 0.19118861854076385, -0.3419815003871918, -1.1938000917434692, -0.4720277190208435, 0.029429595917463303, -0.2783619165420532, -0.8149799704551697, 0.804679811000824, 0.4964665174484253, 0.4233075976371765, 0.43852341175079346, -0.464904248714447, 1.1736186742782593, -0.9170199632644653, 0.8474399447441101, 0.432797908782959, -1.0087543725967407, 0.7745595574378967, -0.26154810190200806, 0.28727394342422485, 0.5487037301063538, 0.41860637068748474, -0.571790874004364, 0.12130585312843323, -0.18391233682632446, -0.6986026167869568, 0.6977484226226807, 0.4282737076282501, 0.28515204787254333, 0.39739617705345154, 0.27911508083343506, 0.19375118613243103, 0.0028200787492096424, -0.35904133319854736, -0.18450216948986053, -0.7347279191017151, -0.2955780625343323, -0.36788687109947205, -0.2210405021905899, 0.24040327966213226, -0.6465969085693359, 0.644632875919342, -0.00932447798550129, 0.23767560720443726, 0.3084762990474701, -0.2815498411655426, -0.12556016445159912, 0.3526500463485718, 0.6555854678153992, -0.03384530916810036, -0.36566513776779175, -0.15643902122974396, 0.2506915032863617, -0.5846753120422363, 0.36770060658454895, -0.03312985226511955, -0.1051877811551094, 0.13875235617160797, -0.11297920346260071, 0.707204282283783, 0.5652875900268555, -0.5585715770721436, 0.3570913076400757, -0.12360361218452454, -0.0537324994802475, -0.955014705657959, 0.15780450403690338, -0.00019494946172926575, 0.1530952751636505, 0.4437633454799652, 0.15899109840393066, 0.5049026608467102, -0.30664533376693726, 0.22975648939609528, 0.13957594335079193, -0.6682270765304565, -0.4773404002189636, 1.174201488494873, 0.0064318254590034485, -0.5148422122001648, 0.46665266156196594, 0.0033941047731786966, -0.27453240752220154, 0.23970180749893188, 0.6021318435668945, 0.9133213758468628, -0.6786674857139587, 0.20648489892482758, 0.6093894243240356, 0.003592252731323242, -0.32063809037208557, 0.0665411502122879, -0.21631045639514923, -0.34650763869285583, -0.43386006355285645, -0.592843770980835, -0.47811445593833923, 0.11193970590829849, -1.1101714372634888, 0.694607675075531, -0.16416794061660767, -0.07912483811378479, -0.037621501833200455, -0.26637378334999084, -0.6839980483055115, 0.6114904880523682, 0.27623599767684937, 0.7081237435340881, -0.828522264957428, 1.064124584197998, 0.5614832043647766, -0.6481794714927673, -1.033453345298767, -0.5518648624420166, 0.01738811656832695, -0.4235770106315613, 1.1145009994506836, -0.25220757722854614, -0.40684592723846436, 0.16344930231571198, -0.42242851853370667, -1.0489420890808105, 1.0445845127105713, 0.23728907108306885, -0.6074598431587219, -0.05471908301115036, 0.5196436047554016, 0.6395779848098755, -0.38181185722351074, 0.05910087004303932, 0.38637906312942505, 0.18568076193332672, 0.33674854040145874, -1.1013851165771484, -0.49556276202201843, -0.3633120656013489, 0.09756451100111008, -0.22831235826015472, -0.629800021648407, 0.612492024898529, -0.1885719895362854, -0.006549243349581957, 0.060721468180418015, 0.7708456516265869, -0.22993414103984833, 0.2429398000240326, 0.15323592722415924, 0.37138140201568604, 0.1928725391626358, 0.4353480637073517, 0.894988477230072, 0.05398888885974884, 0.04258091375231743, 1.4498553276062012, -0.24428114295005798, 1.0209392309188843, 0.47173982858657837, -0.29875871539115906, 0.5117175579071045, 0.4972060024738312, -0.1549452245235443, 0.7915142178535461, -0.0055314768105745316, -0.19145610928535461, -0.3533611297607422, 0.04809526354074478, -0.3045247197151184, 0.7275441288948059, 0.42780178785324097, -0.28351932764053345, 0.14547474682331085, 0.2635488212108612, -0.4684140086174011, 0.36580610275268555, -0.3543573319911957, 1.0321990251541138, 0.09407143294811249, -0.3861368000507355, 0.20376397669315338, 0.08263453841209412, 0.5011219382286072, -0.8558156490325928, -0.06588110327720642, -0.023707184940576553, 0.33979833126068115, -0.37924885749816895, -0.588965654373169, 0.4389595091342926, 0.45947930216789246, -0.17629210650920868, -0.3825589418411255, 0.41682231426239014, -0.5732848644256592, -0.6610718369483948, 0.21978133916854858, 0.2852349281311035, 0.2424851506948471, 0.11488456279039383, -0.5194738507270813, 0.07260148227214813, 0.2677568197250366, -0.09766186028718948, 0.4201241731643677, 0.2822436988353729, 0.04243768751621246, 0.7130911946296692, 0.5438133478164673, 0.21911275386810303, 0.12547360360622406, 0.24643860757350922, 0.5741583108901978, -0.7348650693893433, -0.4767534136772156, -0.6399135589599609, 0.2193383276462555, 0.036567315459251404, -0.08945059031248093, 0.9291658401489258, 1.011857509613037, 1.1134475469589233, -0.4796379506587982, 1.1133089065551758, -0.034813255071640015, 0.7659328579902649, -0.47282710671424866, 0.6974593997001648, -0.610103189945221, -0.024905456230044365, -0.5188333988189697, -0.5133899450302124, -0.27260705828666687, 0.7366586923599243, 0.034223396331071854, -0.1730041354894638, 0.3557182252407074, 0.7630822062492371, -0.3354884386062622, -0.29331785440444946, 0.4968191087245941, 0.007083007134497166, 0.36577004194259644, 0.31340354681015015, 0.42293214797973633, -0.6822463870048523, 1.1258230209350586, -0.16203899681568146, 0.1808621734380722, -0.42151689529418945, -0.479537695646286, -0.8632290959358215, -0.7623420357704163, -0.5614973306655884, -0.3382319509983063, -0.06452324241399765, 1.0808994770050049, 0.8108612895011902, -1.0209709405899048, -0.46031060814857483, 0.2927277684211731, -0.39061009883880615, -0.07500706613063812, -0.19789205491542816, 0.3049453794956207, 0.1721111685037613, -0.8995551466941833, 0.40867260098457336, 0.33442267775535583, 0.3430640697479248, -0.31232941150665283, -0.464923232793808, -0.0704466700553894, 0.1701326221227646, 0.5932349562644958, 0.521416187286377, -0.7097587585449219, -0.3315190374851227, 0.2659127414226532, -0.11302777379751205, 0.4709261655807495, 0.8935679197311401, -0.4548366963863373, 0.49560368061065674, 0.30783337354660034, 0.4722607731819153, 0.9394660592079163, 0.18705439567565918, 0.48023486137390137, -0.8767586350440979, 0.1095552146434784, 0.05808253213763237, 0.035809338092803955, 0.6810759902000427, -0.379119336605072, 0.3102582097053528, -0.09927002340555191, -0.41534116864204407, -0.8301504254341125, 0.14202140271663666, -1.4724105596542358, 0.15300314128398895, 1.291529893875122, 0.13164985179901123, -0.15072494745254517, -0.08521271497011185, -0.5313257575035095, 0.7273125052452087, -0.5730220675468445, 0.5571945309638977, 0.20254388451576233, -0.3125995695590973, -0.2950963079929352, -0.8660067915916443, 0.49184760451316833, 0.11299355328083038, -0.38363412022590637, -0.27460160851478577, 0.2290499061346054, 0.5390748381614685, -0.004911961033940315, 0.6395412087440491, -0.18987509608268738, 0.5073489546775818, -0.09613998234272003, 0.20701725780963898, -0.10398852825164795, -0.011908329091966152, -0.3231509327888489, -0.011740743182599545, -0.06820999085903168, -0.24057556688785553 ]
http://arxiv.org/abs/2403.00199v3
http://arxiv.org/pdf/2403.00199v3
Improving Socratic Question Generation using Data Augmentation and Preference Optimization
2024-03-01T00:08:20
2024-04-19T02:36:26
Nischal Ashok Kumar, Andrew Lan
cs.CL
cs.CL, cs.CY, cs.LG
The Socratic method is a way of guiding students toward solving a problem independently without directly revealing the solution to the problem. Although this method has been shown to significantly improve student learning outcomes, it remains a complex labor-intensive task for instructors. Large language models (LLMs) can be used to augment human effort by automatically generating Socratic questions for students. However, existing methods that involve prompting these LLMs sometimes produce invalid outputs, e.g., those that directly reveal the solution to the problem or provide irrelevant or premature questions. To alleviate this problem, inspired by reinforcement learning with AI feedback (RLAIF), we first propose a data augmentation method to enrich existing Socratic questioning datasets with questions that are invalid in specific ways. Next, we propose a method to optimize open-source LLMs such as LLama 2 to prefer ground-truth questions over generated invalid ones, using direct preference optimization (DPO). Our experiments on a Socratic questions dataset for student code debugging show that a DPO-optimized 7B LLama 2 model can effectively avoid generating invalid questions, and as a result, outperforms existing state-of-the-art prompting methods.
[ -0.31716153025627136, -0.8819130659103394, 0.6933633685112, 0.1606808453798294, -0.41119667887687683, 0.28061848878860474, -0.21832813322544098, -0.2042335867881775, 0.015103843994438648, 0.5904139280319214, -0.5212547779083252, -0.3934202790260315, -0.13505904376506805, 0.11813543736934662, -0.035663899034261703, 0.9522431492805481, -0.06683244556188583, 0.21482521295547485, -0.659899890422821, 0.11056742817163467, -0.3874841630458832, -0.38764381408691406, -0.8140127658843994, -0.4585561454296112, 0.24262656271457672, 0.9863773584365845, 0.6369487047195435, 0.21910332143306732, 0.1498761922121048, 0.2009422779083252, 0.0631164088845253, 0.555648922920227, -0.5965510606765747, 0.4024246037006378, 0.11952288448810577, -0.7240850925445557, -0.09032392501831055, -0.10429638624191284, 0.49963322281837463, 0.6665861010551453, -0.06911645829677582, 0.29197952151298523, -0.09737568348646164, 0.7896270155906677, -0.41378921270370483, 0.12986157834529877, -0.5896562337875366, 0.06240895763039589, 0.196005180478096, -0.3237289488315582, -0.39355945587158203, -0.965165913105011, -0.15679295361042023, -0.3582541048526764, 0.17368409037590027, -0.12764529883861542, 0.37237003445625305, 0.4513690173625946, -0.28766509890556335, -0.11142311990261078, -0.699735701084137, 0.5906025171279907, -0.6358609795570374, 0.14382454752922058, 0.46541905403137207, 0.0906703844666481, -0.5450292229652405, -0.20852459967136383, -0.6485369205474854, -0.4510711133480072, 0.11807601898908615, 0.2382775992155075, 0.12838692963123322, 0.050521042197942734, 0.2744883894920349, 0.18983210623264313, -0.55927973985672, -0.007196994964033365, -0.6938884854316711, -0.07557594776153564, 0.8339362740516663, 0.27288618683815, 0.00458904542028904, -0.3244685232639313, -0.16394822299480438, -0.12653090059757233, -0.9221141338348389, 0.4436998963356018, 0.6874114274978638, -0.019528381526470184, 0.24281838536262512, 0.4846423864364624, -0.19739742577075958, 0.8182623982429504, 0.36089807748794556, -0.14797575771808624, 0.15853053331375122, -0.03802795708179474, 0.299043208360672, 0.16620559990406036, 0.477351576089859, 0.4395332932472229, 0.2386186271905899, -0.15576308965682983, -0.10026343911886215, 0.21409057080745697, 0.14766272902488708, -0.7506428956985474, -0.2352541834115982, 0.6572133898735046, 0.07349473237991333, -0.637753427028656, -0.11761483550071716, -0.751883864402771, -0.3589721918106079, -0.5355378985404968, 0.2624172866344452, -0.25509142875671387, -0.19702784717082977, 0.2313390076160431, 0.1504155844449997, 0.23206186294555664, 0.5846643447875977, -0.6699232459068298, 0.06426587700843811, 0.5916513204574585, 0.5405328869819641, -0.1325007677078247, -0.029850950464606285, -0.7393959164619446, -0.010563069023191929, -0.515669584274292, 0.7998842597007751, -0.7123714685440063, -0.6064334511756897, -0.2132231891155243, -0.11582604050636292, 0.2672307789325714, -0.6682548522949219, 0.25290465354919434, -0.46080341935157776, 0.28691408038139343, -0.3814835548400879, -0.37170785665512085, -0.031158899888396263, 0.2591499090194702, -0.2720457911491394, 1.3320578336715698, 0.010135095566511154, -0.4593268930912018, 0.046629905700683594, -0.3568665385246277, -0.23849700391292572, 0.14919179677963257, -0.6140380501747131, -0.43909087777137756, 0.013726525940001011, 0.37007901072502136, 0.17856121063232422, -0.3734759986400604, 0.6514596343040466, -0.045704685151576996, -0.5218517184257507, 0.2845858037471771, -0.08129158616065979, 0.8068794012069702, 0.03259122744202614, -0.4939609467983246, 0.09119399636983871, -0.6240249276161194, 0.133407324552536, 0.34268611669540405, -0.3668695092201233, -0.2497997134923935, -0.015215342864394188, -0.4909190237522125, 0.034359488636255264, 0.23165133595466614, -0.6184316277503967, 0.18968842923641205, -0.3371172249317169, 0.17907901108264923, 1.1380311250686646, 0.19866660237312317, 0.14898724853992462, -0.44900768995285034, 0.9271875023841858, 0.036541350185871124, 0.18866461515426636, 0.19999639689922333, -0.5131610035896301, -0.8157206177711487, 0.23693275451660156, -0.03394799306988716, 0.4543048143386841, -0.9454381465911865, 0.11465539783239365, 0.13989996910095215, -0.7273083925247192, -0.6660153269767761, 0.30470651388168335, 0.1822260469198227, 0.7555673122406006, 0.25295984745025635, -0.13666081428527832, -0.4272383153438568, -0.6325432062149048, 0.2295127809047699, -0.6461700797080994, 0.3698582351207733, 0.7010952830314636, 0.2748657166957855, 0.12060675770044327, 1.0757155418395996, -0.8136995434761047, 0.43498584628105164, -0.3263660669326782, 0.0662306547164917, 0.11840204149484634, 0.4765627384185791, 0.4418124258518219, -0.6728605628013611, -0.32613497972488403, -0.46814194321632385, -0.47064241766929626, -0.3859637975692749, -0.13937169313430786, -0.1905338317155838, -0.014412125572562218, 0.2728520631790161, -0.37309297919273376, 0.1983296126127243, 0.34599414467811584, 0.003967777360230684, 0.8867508769035339, -0.09606920927762985, 0.16615132987499237, -0.967544674873352, -0.10310537368059158, -0.19932177662849426, -0.11294176429510117, -0.3679932653903961, -0.04661133140325546, 0.0719735324382782, -0.47506752610206604, -0.44239750504493713, 0.5326546430587769, -0.21494312584400177, -0.07304880023002625, -0.3089101314544678, 0.2914358973503113, 0.20435047149658203, 0.4550798535346985, 0.021084580570459366, 1.1473455429077148, 0.459735244512558, -0.7004905939102173, 0.7618111371994019, 0.3619861602783203, -0.2007603645324707, 0.26834312081336975, -0.9881547093391418, 0.6117403507232666, -0.6694294214248657, 0.4186815917491913, -1.2308741807937622, -0.09478549659252167, 0.40636804699897766, -0.5549112558364868, -0.020434794947504997, -0.15175886452198029, -0.2714729905128479, -0.3690631687641144, -0.6285691857337952, 0.4866877496242523, 0.41823557019233704, -0.8211629390716553, 0.0893256664276123, 0.1385485827922821, -0.3489235043525696, -0.7698764801025391, -0.14992503821849823, -0.14781005680561066, -0.10380394011735916, -0.6164332628250122, 0.18215204775333405, -0.37217414379119873, -0.34968313574790955, -0.1552821844816208, -0.13260427117347717, 0.23504804074764252, 0.2071847915649414, 0.23704907298088074, 0.5472046732902527, -0.03698127716779709, 0.5414066910743713, 0.3115535378456116, -0.035437535494565964, 0.274869829416275, 0.016776323318481445, 0.6492151618003845, -0.06408395618200302, -0.24095439910888672, -0.08823785185813904, 0.33694738149642944, 0.3191785514354706, -0.4633674621582031, 0.38398048281669617, 0.33068427443504333, 0.03803250938653946, -0.3472535014152527, -0.5738698244094849, -0.5351659059524536, -0.48149916529655457, 0.19599400460720062, -0.22475118935108185, -0.9395431876182556, 0.3529116213321686, -0.15420790016651154, 0.1294662356376648, -0.08220574259757996, 0.45433610677719116, 0.22832205891609192, 1.2056246995925903, 0.30712389945983887, -0.10864408314228058, 0.3928089141845703, -0.2599659562110901, 0.17325010895729065, -0.7482555508613586, -0.39080891013145447, -0.6702786684036255, -0.1185137927532196, -0.2965822219848633, -0.42991745471954346, 0.4780576527118683, 0.05811937525868416, -0.14892277121543884, 0.015617316588759422, -0.5787739157676697, 0.6171201467514038, 0.6087135076522827, 0.40103864669799805, 0.30914998054504395, 0.08449020981788635, -0.09328969568014145, 0.05158505588769913, -0.6432720422744751, -0.5325024724006653, 1.266137719154358, 0.08536065369844437, 0.9780778288841248, 0.2099829614162445, 0.9771687388420105, 0.13898710906505585, 0.1665254384279251, -0.8475886583328247, 0.7337851524353027, 0.3160758912563324, -0.5539155006408691, -0.23762750625610352, -0.5874924063682556, -0.8794530630111694, 0.19412106275558472, -0.21281607449054718, -0.5174681544303894, 0.29253241419792175, 0.2670971155166626, -0.6287317276000977, -0.04286636784672737, -0.5116360783576965, 0.4575444161891937, -0.5114707946777344, -0.7648937106132507, -0.10597199201583862, -0.4929808974266052, 0.33601298928260803, -0.016511788591742516, -0.059458017349243164, -0.1644812971353531, 0.04830078035593033, 0.68216872215271, -0.37516653537750244, 0.8311452269554138, -0.26365184783935547, -0.2626053988933563, 0.6016462445259094, 0.024145174771547318, 0.6147222518920898, 0.5655584931373596, -0.2567519247531891, -0.4515407383441925, -0.17135342955589294, -0.49799099564552307, -0.7558713555335999, 0.6672645211219788, -1.0582927465438843, -0.9642254710197449, -0.335688978433609, -0.4807043671607971, -0.37540942430496216, -0.2814885973930359, 0.07098037004470825, 0.5219761729240417, 0.15129487216472626, -0.02623979188501835, 0.7295893430709839, -0.3481772840023041, 0.019038917496800423, 0.7303386926651001, -0.37091270089149475, -0.3959721326828003, 0.77472323179245, -0.17748291790485382, 0.34081515669822693, -0.17691166698932648, 0.29446083307266235, -0.35286927223205566, -0.5585684776306152, -0.6758270859718323, 0.4004397392272949, -0.7087748050689697, -0.3231028914451599, -0.47270920872688293, 0.029199903830885887, -0.7390525937080383, -0.022068407386541367, -0.1470588892698288, -0.5779118537902832, -0.37081465125083923, -0.3279082477092743, 0.421231746673584, 0.46967893838882446, -0.05854864418506622, 0.09115013480186462, -0.6138596534729004, 0.23073384165763855, 0.6634767651557922, -0.02745084837079048, -0.029921477660536766, -0.4623219668865204, 0.05372750759124756, 0.1472194343805313, -0.521979808807373, -1.0650917291641235, 0.09790877997875214, -0.003350215731188655, 0.4706082046031952, 0.27003923058509827, 0.5110220313072205, 0.514438271522522, -0.12833449244499207, 0.8191919326782227, -0.010739986784756184, -0.6584324836730957, 0.9231192469596863, -0.1040533110499382, 0.10243599116802216, 0.6545483469963074, 0.40997982025146484, -0.3622213900089264, -0.3911459743976593, -0.5335419178009033, -0.8135119676589966, 0.679018497467041, -0.028287937864661217, 0.31058385968208313, -0.232660174369812, 0.7986918091773987, 0.3006366193294525, 0.3377644717693329, -0.6566136479377747, -0.31021490693092346, -0.13765019178390503, -0.13887090981006622, -0.06145564839243889, -0.17852775752544403, -0.10155440121889114, -0.3706974387168884, 0.9384182691574097, -0.35759350657463074, 0.04618172347545624, 0.3678477108478546, 0.0937037318944931, -0.4830501675605774, 0.4281693696975708, 0.6283965110778809, 0.7436012029647827, -0.3298701345920563, 0.058377448469400406, 0.01948510855436325, -0.46725788712501526, 0.444141685962677, 0.03754835203289986, -0.5776928067207336, -0.13138779997825623, -0.2521822154521942, 0.7547795176506042, -0.44643643498420715, -0.9283875226974487, 0.3120631277561188, -0.09881889820098877, -0.240138441324234, -0.3866106867790222, 0.44721755385398865, -0.21816574037075043, 0.2896305322647095, 0.4235561788082123, -0.2660444974899292, 0.06752068549394608, -0.5550973415374756, -0.035364579409360886, 0.4977850019931793, -0.27113765478134155, -0.13227634131908417, 0.45653364062309265, 0.2994604706764221, -0.2345615029335022, 0.47508126497268677, -0.09633474051952362, -0.7477110624313354, 0.7516494989395142, 0.7871929407119751, 0.44715800881385803, -0.28030532598495483, 0.8662066459655762, 0.5627561807632446, 0.26092103123664856, -0.011605499312281609, 0.6264205574989319, -0.2982305586338043, -0.7559971213340759, -0.3556537926197052, -0.23231106996536255, -0.8955255746841431, 0.3358672559261322, -0.603144645690918, 0.2141091674566269, -0.6018244624137878, -0.13489389419555664, -0.2888792157173157, 0.265368789434433, -0.24064192175865173, 0.27453282475471497, -0.13408227264881134, 0.34794968366622925, -0.8357810974121094, 0.48299017548561096, 1.1129064559936523, -0.42440086603164673, -0.894069254398346, -0.06904136389493942, -0.2714836299419403, -0.8577098846435547, 0.5755242109298706, 0.011524626053869724, -0.17855845391750336, 0.12324795126914978, -0.9542137384414673, -0.6553765535354614, 0.967742919921875, 0.5231274962425232, -0.30714908242225647, 0.1597250998020172, 0.3356996178627014, 0.34150415658950806, -0.2780204117298126, 0.281762957572937, 0.30791759490966797, 0.3245455324649811, 0.24683256447315216, -0.3393675982952118, 0.15915483236312866, -0.27080902457237244, -0.13825100660324097, 0.22576317191123962, -0.8322265148162842, 0.6738839149475098, -0.5733473300933838, 0.15910452604293823, -0.11304124444723129, 0.576987087726593, 0.5102241635322571, 0.4775340259075165, 0.6063373684883118, 0.3790035843849182, 0.8843587040901184, 0.07557079195976257, 0.6415224671363831, -0.2906937003135681, 0.2347179502248764, 1.1007282733917236, -0.33764034509658813, 0.5376218557357788, 0.6602368950843811, -0.18555596470832825, 0.48061561584472656, 0.8267804980278015, 0.06031511723995209, 0.34752342104911804, 0.4729144275188446, -0.4296778440475464, -0.5815641283988953, -0.32941392064094543, -0.6419010162353516, 0.45725539326667786, 0.19131246209144592, -0.07685619592666626, -0.0718817412853241, -0.1343165785074234, 0.018296552821993828, 0.17667733132839203, -0.16344165802001953, 0.6761224269866943, -0.13642558455467224, -0.992434024810791, 0.7026546001434326, -0.17883053421974182, 0.21544018387794495, -0.24265068769454956, -0.1877027302980423, -0.7052985429763794, -0.06512446701526642, -0.24422764778137207, -0.5453188419342041, -0.14963383972644806, 0.07175027579069138, 0.02678048610687256, 0.22913898527622223, 0.7747999429702759, -0.5555281639099121, -0.5010208487510681, -0.08307822793722153, 0.5890936851501465, 0.22846627235412598, 0.21464024484157562, -0.7051448822021484, -0.11107832193374634, 0.24781933426856995, -0.020242776721715927, 0.07101109623908997, 0.17375974357128143, 0.14554156363010406, 0.6746768951416016, 0.7108767032623291, 0.11782129108905792, -0.1008961871266365, -0.0033467202447354794, 1.0719695091247559, -0.41519638895988464, -0.36173778772354126, -0.4811707139015198, 0.45031407475471497, -0.11610912531614304, -0.1594311147928238, 0.7110556364059448, 0.5404614806175232, 0.6563764214515686, 0.031340859830379486, 0.9250689744949341, 0.26146048307418823, 0.49339404702186584, -0.4713078439235687, 0.08900512009859085, -0.5599601864814758, 0.559300422668457, -0.35660320520401, -1.116407871246338, 0.1210305467247963, 0.7190055847167969, -0.5874068140983582, -0.02005188539624214, 0.415066123008728, 0.9819632172584534, 0.3042941987514496, 0.2254284769296646, 0.08696136623620987, -0.1302167922258377, 0.33192873001098633, 0.6213293671607971, 1.1386154890060425, -0.3068769574165344, 0.5447518825531006, -0.469033807516098, -0.31230801343917847, -0.25030890107154846, -0.4956582486629486, -1.0015954971313477, -0.32134637236595154, -0.5049030780792236, -0.5401610732078552, 0.23472030460834503, 1.218190312385559, 0.281575471162796, -0.5638145208358765, -0.21486829221248627, -0.12082772701978683, 0.2990148067474365, 0.16363246738910675, -0.24381932616233826, 0.2447541058063507, -0.42231738567352295, -0.6022042036056519, 0.44881755113601685, -0.023574911057949066, 0.19944186508655548, -0.4294452667236328, -0.21975240111351013, 0.0972243919968605, 0.20583197474479675, 0.3634149432182312, 0.13857097923755646, -0.4495464265346527, -0.4247535467147827, 0.28648751974105835, 0.1324048936367035, 0.08040106296539307, 0.8132346272468567, -0.867093563079834, 0.4207931160926819, 0.5212732553482056, 0.6560173034667969, 0.43865692615509033, 0.4257204234600067, 0.514209508895874, -0.6247127056121826, 0.057245127856731415, 0.5062249898910522, -0.0050957961939275265, 0.39898011088371277, -0.61658775806427, 0.5129362940788269, 0.10798250138759613, -0.6537858247756958, -0.7812855839729309, 0.3422975242137909, -0.748658299446106, -0.27417904138565063, 1.2324035167694092, -0.08371332287788391, -0.12769059836864471, -0.15182693302631378, -0.6346784234046936, 0.06309787929058075, -0.6372777223587036, 1.1210919618606567, 0.5155856609344482, -0.31127244234085083, -0.28065603971481323, -0.34259146451950073, 0.457840234041214, 0.8285536766052246, -0.8994842171669006, 0.05398973822593689, 0.8157473206520081, 0.15509556233882904, -0.032692309468984604, 0.6905046105384827, 0.0003301824035588652, 0.5265030264854431, -0.28290367126464844, -0.14454485476016998, -0.2755099833011627, -0.3180793523788452, -0.07204730063676834, 0.07912444323301315, 0.3359343707561493, -0.12049522995948792 ]
http://arxiv.org/abs/2403.00198v1
http://arxiv.org/pdf/2403.00198v1
AXOLOTL: Fairness through Assisted Self-Debiasing of Large Language Model Outputs
2024-03-01T00:02:37
2024-03-01T00:02:37
Sana Ebrahimi, Kaiwen Chen, Abolfazl Asudeh, Gautam Das, Nick Koudas
cs.CL
cs.CL, cs.AI, cs.CY, cs.LG
Pre-trained Large Language Models (LLMs) have significantly advanced natural language processing capabilities but are susceptible to biases present in their training data, leading to unfair outcomes in various applications. While numerous strategies have been proposed to mitigate bias, they often require extensive computational resources and may compromise model performance. In this work, we introduce AXOLOTL, a novel post-processing framework, which operates agnostically across tasks and models, leveraging public APIs to interact with LLMs without direct access to internal parameters. Through a three-step process resembling zero-shot learning, AXOLOTL identifies biases, proposes resolutions, and guides the model to self-debias its outputs. This approach minimizes computational costs and preserves model performance, making AXOLOTL a promising tool for debiasing LLM outputs with broad applicability and ease of use.
[ -0.25354182720184326, -0.5798176527023315, 0.8344839215278625, 0.20209816098213196, -0.264585942029953, -0.003711300203576684, -0.06547816842794418, -0.404361754655838, 0.01264933217316866, 0.6553582549095154, -0.5025956034660339, -0.6241554021835327, -0.7468828558921814, -0.004543886985629797, -0.27333152294158936, 1.0856348276138306, 0.12022467702627182, 0.21600951254367828, -0.33690980076789856, -0.3320472538471222, -0.14235448837280273, -0.7011342644691467, -0.6876159906387329, -0.4684393107891083, 0.5531179308891296, 0.17575523257255554, 0.776073157787323, 0.6821675300598145, 0.21502123773097992, 0.22012758255004883, 0.16871275007724762, -0.2267710119485855, -0.39764612913131714, 0.29161280393600464, -0.41190746426582336, -0.38400912284851074, -0.7097293138504028, 0.1780678629875183, 0.5077934861183167, 0.5222841501235962, -0.11971171945333481, 0.37293529510498047, 0.18057872354984283, 0.3217791020870209, -0.8002617955207825, 0.25988855957984924, -0.7552862167358398, 0.11925546824932098, -0.31883057951927185, -0.0447477251291275, -0.37180304527282715, -0.6530714631080627, -0.18770764768123627, -0.45856571197509766, 0.09178753197193146, -0.11265713721513748, 0.3587987422943115, 0.4048723578453064, -0.36499735713005066, -0.18482369184494019, -0.555682897567749, 1.0441592931747437, -1.1047805547714233, 0.16236081719398499, 0.6241441965103149, 0.35799843072891235, 0.1303219348192215, -0.636141836643219, -0.6867963671684265, 0.1734103113412857, -0.08805912733078003, -0.3654552400112152, -0.4160831868648529, 0.3342649042606354, 0.19327479600906372, 0.21184439957141876, -0.5757744908332825, 0.2135968953371048, -0.002897163387387991, -0.3850412964820862, 0.45055946707725525, 0.02520301751792431, 0.15934008359909058, -0.0034525070805102587, 0.04660840705037117, 0.12026675790548325, -0.7631955742835999, -0.17741748690605164, 0.6878352761268616, 0.38719215989112854, 0.1692175567150116, 0.40667885541915894, -0.48854124546051025, 0.6117330193519592, -0.08160960674285889, 0.07012967765331268, 0.44828730821609497, 0.17100438475608826, -0.4253712594509125, 0.09491591900587082, 0.9373666644096375, 0.18940530717372894, 0.12654642760753632, -0.3227529525756836, -0.4277893602848053, 0.3216648995876312, 0.06035895645618439, -0.9561115503311157, 0.0014955061487853527, 0.39359763264656067, -0.3148829936981201, -0.3900938034057617, -0.7536723613739014, -0.7511208057403564, -0.5831379294395447, -0.30753085017204285, 0.5321856141090393, -0.09197703748941422, -0.22765867412090302, -0.08258407562971115, 0.297943651676178, -0.03307308629155159, 0.3967333137989044, -0.910885751247406, 0.4589497745037079, 0.5432893633842468, 0.8221578001976013, 0.2360452264547348, -0.2722827196121216, -0.9061611890792847, 0.08740470558404922, -0.21068288385868073, 0.7374038696289062, -0.6810687184333801, -0.16336220502853394, -0.10536623746156693, -0.3399572968482971, 0.26039981842041016, -0.4636165201663971, 0.6242353320121765, -0.6490983963012695, -0.02928825467824936, -0.20885081589221954, -0.29443028569221497, -0.06212259456515312, 0.2912948727607727, -0.5391924381256104, 0.7384033203125, -0.0809762179851532, -0.9348755478858948, 0.3660944402217865, -0.4706180691719055, -0.46263211965560913, -0.16565944254398346, -0.44149962067604065, -0.3776916563510895, 0.067571721971035, 0.5097798109054565, 0.1985834836959839, -0.37177637219429016, 0.36310574412345886, -0.7580564618110657, -0.24840576946735382, -0.10172581672668457, -0.5155119895935059, 0.8454408049583435, 0.41258156299591064, -0.6588096022605896, 0.2829533517360687, -0.681134045124054, 0.16091929376125336, -0.03432554379105568, -0.06584692746400833, -0.4701385796070099, -0.06163380667567253, -0.18857704102993011, 0.4415842890739441, 0.15224243700504303, -0.6785224676132202, 0.1592523455619812, -0.4206315577030182, 0.40991222858428955, 1.1454089879989624, -0.5778640508651733, 0.6651939153671265, -0.07992934435606003, 0.5224171876907349, -0.16685035824775696, 0.3621867597103119, -0.07272838056087494, -0.3016171455383301, -0.7235724925994873, -0.39733341336250305, 0.372561514377594, 0.11682119220495224, -0.5445688962936401, -0.018850058317184448, -0.03981264680624008, -0.3760438561439514, -0.9332770705223083, 0.33879372477531433, 0.45915958285331726, 0.47227662801742554, 0.12686653435230255, -0.26890406012535095, -0.5298620462417603, -0.9422547817230225, -0.25183624029159546, -0.014988800510764122, -0.05371304228901863, 0.3212275803089142, 0.12343765795230865, -0.2230449914932251, 1.1176633834838867, -0.39510488510131836, -0.4587027430534363, -0.13324448466300964, 0.3965541124343872, 0.41791412234306335, 0.3187163770198822, 0.704449474811554, -0.3331124484539032, -0.24307501316070557, -0.08069709688425064, -0.8839124441146851, -0.5805347561836243, 0.2817130386829376, -0.23923425376415253, 0.3460520803928375, 0.30927157402038574, -0.6609015464782715, 0.5135217905044556, 0.7429273128509521, -0.33720263838768005, 0.4433498978614807, -0.23990827798843384, 0.07151561230421066, -0.5035997629165649, 0.13548047840595245, -0.3791548013687134, -0.45802974700927734, -0.3445191979408264, -0.07237043976783752, -0.010578089393675327, -0.08493281155824661, -0.3687743842601776, 0.8988346457481384, -0.43904951214790344, -0.42944565415382385, -0.5032476186752319, 0.08290275186300278, 0.164714515209198, 0.42720094323158264, 0.06438851356506348, 0.6299499869346619, 0.7444766163825989, -0.45071619749069214, 0.23094627261161804, -0.03137296810746193, 0.03686525300145149, 0.40126538276672363, -0.6708646416664124, 0.4050643742084503, -0.2880091965198517, 0.14233139157295227, -0.8290407061576843, 0.1295737773180008, 0.38857677578926086, -0.449584424495697, -0.18752068281173706, -0.4517923593521118, -0.4752298593521118, -0.2373449206352234, -0.3111326992511749, 0.833283007144928, 0.46084290742874146, -0.47923704981803894, 0.6627403497695923, 0.496488481760025, -0.3587598502635956, -0.9625274538993835, -0.6637673377990723, 0.0002626607601996511, 0.00922254379838705, -0.3299080431461334, 0.11267648637294769, -0.19471105933189392, -0.39945438504219055, 0.02746756747364998, -0.06547185033559799, -0.26539066433906555, -0.03240412101149559, 0.3079086244106293, -0.03287043794989586, 0.07809586077928543, 0.016456952318549156, 0.26678723096847534, 0.023835252970457077, 0.0352729856967926, -0.5835008025169373, 0.7215971946716309, 0.09268375486135483, -0.6465941071510315, -0.23638896644115448, 0.19273091852664948, 0.6636906266212463, -0.41048985719680786, 0.5087841749191284, 0.38252073526382446, -0.3644907474517822, -0.4111275374889374, -0.5356056690216064, -0.17546440660953522, -0.4346057176589966, 0.07218046486377716, 0.02314060926437378, -0.697239100933075, 0.5877965092658997, 0.40626785159111023, 0.22200244665145874, 0.03517061844468117, 0.57234787940979, 0.4134461283683777, 1.2018595933914185, 0.5092236399650574, -0.22210648655891418, 0.24030733108520508, 0.014869382604956627, 0.4082476496696472, -0.5692518353462219, -0.04137144237756729, -0.47611263394355774, -0.2636200189590454, -0.12292034924030304, -0.594161331653595, -0.009118198417127132, -0.06571755558252335, -0.2774204909801483, -0.046199556440114975, -0.3207087218761444, 0.532072901725769, 0.9812737703323364, -0.1398782581090927, 0.5291664004325867, -0.09852051734924316, -0.2660602927207947, -0.011542877182364464, -0.3905397653579712, -0.5176486968994141, 1.4123258590698242, 0.3244926929473877, 1.0951712131500244, 0.13558976352214813, 0.6809492111206055, 0.5387952923774719, 0.43490809202194214, -0.6372936964035034, 0.5098035335540771, 0.09163717180490494, -0.7423219084739685, -0.313853919506073, -0.5741690993309021, -0.715701699256897, 0.40245068073272705, -0.13394536077976227, -0.5996949672698975, 0.1584436297416687, 0.40854573249816895, -0.5214049816131592, 0.34690582752227783, -0.46758753061294556, 0.8699283599853516, -0.3830964267253876, -0.8287750482559204, -0.2982213497161865, -0.2546962797641754, 0.1993044763803482, -0.103989377617836, 0.5464445352554321, -0.4620721936225891, 0.26392126083374023, 0.4658763110637665, -0.39854758977890015, 1.0021730661392212, -0.4169338345527649, -0.1576937437057495, 0.21221548318862915, 0.5663996934890747, 0.4350917339324951, 0.43136143684387207, -0.3992401957511902, 0.5209893584251404, -0.2605331540107727, -0.39720484614372253, -0.5220668315887451, 0.890783965587616, -0.724005401134491, -0.7005155086517334, -0.7427533864974976, -0.7051711082458496, -0.1297159194946289, 0.6509847640991211, -0.1278294324874878, 0.5264480710029602, -0.029124151915311813, -0.20349673926830292, 0.3625945746898651, -0.36486586928367615, 0.5549649596214294, 0.7269302010536194, -0.6216081976890564, -0.35077428817749023, 0.5250998139381409, 0.02036624774336815, 0.06503959000110626, 0.07456034421920776, 0.026618175208568573, -0.6661093235015869, -0.9633687734603882, -0.427817165851593, 0.06582289189100266, -0.7005482912063599, -0.446761816740036, -0.7754444479942322, -0.1258373111486435, -0.8564805388450623, 0.09248031675815582, -0.4532701075077057, -0.35966557264328003, -0.07425892353057861, -0.2125301957130432, 0.13958273828029633, 0.6369506120681763, -0.28241434693336487, 0.3526645600795746, -0.5386964678764343, 0.18512874841690063, 0.6591437458992004, 0.6639564037322998, -0.006988967768847942, -0.45855551958084106, -0.010192482732236385, 0.16180048882961273, -0.32986220717430115, -0.39306703209877014, 0.623263418674469, 0.14321981370449066, 0.641452968120575, 0.4415947496891022, 0.35264018177986145, 0.40965890884399414, -0.6094732880592346, 0.4012896716594696, 0.08381634205579758, -1.2154059410095215, 0.51763516664505, -0.5056014060974121, 0.23525011539459229, 0.3763316571712494, 0.06563648581504822, -0.32741400599479675, -0.6176814436912537, -0.32444754242897034, -0.8957352042198181, 1.0772254467010498, 0.3185786008834839, 0.2841428518295288, -0.11186376214027405, 0.1976132094860077, 0.16020290553569794, 0.6104544997215271, -1.156590223312378, -0.06980453431606293, -0.38344380259513855, -0.18846148252487183, -0.048004209995269775, -0.24591544270515442, -0.20256160199642181, -0.10277768969535828, 0.48268020153045654, -0.23026855289936066, -0.13217154145240784, 0.18350140750408173, -0.5251709222793579, -0.02720755897462368, 0.3613120913505554, 0.15913952887058258, 0.8466516137123108, -0.3269372880458832, 0.4943227767944336, 0.023859098553657532, -0.17488664388656616, 0.17413651943206787, 0.26535025238990784, -0.36652326583862305, -0.09111032634973526, 0.2620600461959839, 0.7375300526618958, 0.1051650196313858, -0.8461561799049377, 0.6914891600608826, -0.30275046825408936, 0.0003495790879242122, -0.10271167755126953, -0.15708598494529724, -0.18455085158348083, 0.4087199866771698, 0.3107757866382599, 0.11999169737100601, 0.4267517626285553, -0.44031718373298645, 0.3379025161266327, 0.5812139511108398, -0.39207422733306885, -0.41212475299835205, 1.0088672637939453, 0.33275851607322693, 0.013466453179717064, 0.40094488859176636, -0.3856809437274933, -0.20858703553676605, 0.3024146258831024, 0.5410120487213135, 0.8883081078529358, -0.4373166561126709, 0.4168814420700073, 0.16721859574317932, 0.15488611161708832, 0.005152587313205004, -0.1283939778804779, -0.08998576551675797, -0.7288712859153748, -0.5499793291091919, -1.019598364830017, -0.19457387924194336, 0.07746002078056335, -0.4351629316806793, 0.1899081915616989, -0.8452311754226685, -0.3440624475479126, -0.14960531890392303, -0.35809561610221863, -0.5835724472999573, 0.15446342527866364, 0.4266456067562103, 0.6412731409072876, -0.7317601442337036, 1.034175992012024, 0.5162742733955383, -0.39583441615104675, -0.4950101673603058, -0.15811556577682495, 0.1573653221130371, -0.8741689324378967, 0.8130355477333069, 0.18232716619968414, -0.41615384817123413, 0.032062072306871414, -0.05685846135020256, -0.6894752979278564, 0.7991160154342651, 1.1411656141281128, -0.531458854675293, -0.16043677926063538, 0.3027171492576599, 0.4763249158859253, -0.24410197138786316, 0.7830420136451721, 0.4580613374710083, 0.17747458815574646, 0.04855763912200928, -0.9212226271629333, 0.07208806276321411, -0.14049430191516876, -0.14089718461036682, -0.05668652430176735, -0.44408974051475525, 1.1315209865570068, -0.09613021463155746, -0.09809955954551697, -0.3293640911579132, 0.3064188063144684, 0.09701581299304962, 0.3331734538078308, 0.47073104977607727, 0.7315959930419922, 0.7744930386543274, 0.16150063276290894, 0.8967500925064087, -0.23652859032154083, 0.46370378136634827, 1.3048537969589233, -0.6769997477531433, 0.5820283889770508, 0.3237144649028778, -0.08728653937578201, 0.25773122906684875, 0.4600110352039337, 0.48536190390586853, 0.7148154377937317, 0.20092348754405975, -0.5003121495246887, -0.2974693179130554, -0.21851301193237305, -0.31354930996894836, 0.3970223665237427, -0.09863349795341492, -0.42273974418640137, -0.5492309331893921, -0.05581565573811531, 0.21568180620670319, 0.25667235255241394, -0.5471562147140503, 0.6656277179718018, 0.06606757640838623, -0.5406126976013184, 0.5297624468803406, -0.23558227717876434, 0.8062469363212585, -0.5707716941833496, -0.09349731355905533, -0.48544350266456604, 0.40219274163246155, -0.17166022956371307, -0.6751837730407715, 0.5018137097358704, 0.1295563280582428, -0.24472111463546753, -0.35738325119018555, 0.5615015029907227, -0.30441927909851074, -0.5349156260490417, 0.8484461903572083, 0.43620604276657104, -0.18912510573863983, -0.3829478919506073, -0.6637487411499023, 0.24044103920459747, -0.05574849247932434, -0.1015813872218132, 0.34740278124809265, 0.34748780727386475, 0.08583953976631165, 0.7874637842178345, 0.48270758986473083, 0.2954291105270386, 0.008619776926934719, 0.30342450737953186, 0.959178626537323, -0.4453374445438385, -0.4409942328929901, -1.138663411140442, 0.08270964026451111, -0.13832618296146393, 0.028684085234999657, 0.890421986579895, 0.5151950120925903, 0.8969377875328064, 0.1269885152578354, 1.1510446071624756, -0.00031594777829013765, 0.5811837315559387, -0.4001932144165039, 0.9514467716217041, -0.38110336661338806, 0.5627979040145874, -0.4945976436138153, -0.9746207594871521, -0.49659863114356995, 0.6135548949241638, -0.7821953296661377, -0.08752783387899399, 0.2757791578769684, 0.8007696866989136, -0.22948765754699707, -0.30980348587036133, 0.43759796023368835, 0.29582592844963074, 0.45683756470680237, 0.41837751865386963, 0.6581341624259949, -0.08932845294475555, 0.7947695255279541, -0.10358425229787827, -0.3577297627925873, -0.09689534455537796, -0.9132047891616821, -0.9972296357154846, -0.0781109631061554, 0.0714229866862297, -0.1995958536863327, 0.39525139331817627, 0.870800793170929, 0.9779807925224304, -0.8326649069786072, -0.22521179914474487, -0.09498676657676697, 0.3463292419910431, 0.10726922005414963, -0.1446841061115265, 0.1800280660390854, -0.5296112895011902, -0.9946375489234924, 0.02496805600821972, 0.34377291798591614, -0.2704460322856903, -0.1759931594133377, -0.19089125096797943, 0.11567384004592896, 0.11723757535219193, 0.5304475426673889, 0.2579570710659027, -0.4830460250377655, -0.24702680110931396, -0.35389772057533264, -0.03456456959247589, 0.16502271592617035, 0.7955324053764343, -1.0309901237487793, 0.6436547636985779, 0.2858855724334717, 0.5613505840301514, 0.354554682970047, -0.15957660973072052, 0.8461141586303711, -0.6780630946159363, 0.6306583285331726, 0.4851647615432739, 0.3977244198322296, 0.42182254791259766, -0.2983974516391754, 0.26148712635040283, 0.07433514297008514, -0.6542598605155945, -0.9652146100997925, 0.3489985466003418, -0.4469045400619507, -0.3326590359210968, 1.0390452146530151, -0.2555222511291504, -0.21453918516635895, -0.17374305427074432, -0.3518768846988678, 0.2528235912322998, -0.5753585696220398, 0.8924561142921448, 0.428456574678421, -0.03384486958384514, -0.2250928431749344, -0.5488553643226624, 0.561190128326416, 0.3918064534664154, -0.7533861398696899, 0.4177057445049286, 0.7367333769798279, 0.4846514165401459, -0.2438473254442215, 1.1724369525909424, -0.28650349378585815, -0.024808524176478386, -0.15030378103256226, 0.42397353053092957, -0.07312066107988358, -0.17514868080615997, -0.4352411925792694, 0.006948158144950867, 0.5867501497268677, -0.005390658974647522 ]
http://arxiv.org/abs/2403.00180v2
http://arxiv.org/pdf/2403.00180v2
"Flex Tape Can't Fix That": Bias and Misinformation in Edited Language Models
2024-02-29T23:11:55
2024-06-16T18:08:11
Karina Halevy, Anna Sotnikova, Badr AlKhamissi, Syrielle Montariol, Antoine Bosselut
cs.CL
cs.CL
Model editing has emerged as a cost-effective strategy to update knowledge stored in language models. However, model editing can have unintended consequences after edits are applied: information unrelated to the edits can also be changed, and other general behaviors of the model can be wrongly altered. In this work, we investigate how model editing methods unexpectedly amplify model biases post-edit. We introduce a novel benchmark dataset, Seesaw-CF, for measuring bias-related harms of model editing and conduct the first in-depth investigation of how different weight-editing methods impact model bias. Specifically, we focus on biases with respect to demographic attributes such as race, geographic origin, and gender, as well as qualitative flaws in long-form texts generated by edited language models. We find that edited models exhibit, to various degrees, more biased behavior as they become less confident in attributes for Asian, African, and South American subjects. Furthermore, edited models amplify sexism and xenophobia in text generations while remaining seemingly coherent and logical. Finally, editing facts about place of birth, country of citizenship, or gender have particularly negative effects on the model's knowledge about unrelated features like field of work.
[ -0.24747584760189056, -0.7137861251831055, 0.4558996856212616, -0.03761335089802742, 0.12516632676124573, 0.2623295187950134, -0.22437645494937897, -0.6020246148109436, 0.0498613566160202, 0.49696165323257446, -0.7368305325508118, -0.13783514499664307, -0.6392588019371033, -0.0932014212012291, -0.4060785174369812, 1.0410161018371582, 0.02883736416697502, 0.1937146782875061, -0.05865335837006569, -0.4340529441833496, -0.5174891352653503, -0.538894534111023, -0.016007419675588608, -0.11013200879096985, 0.36353230476379395, 0.47670912742614746, 1.332209825515747, 0.8400564193725586, 0.265125036239624, 0.23296497762203217, -0.6411716341972351, 0.08653642982244492, -0.6225555539131165, -0.2854602336883545, -0.4282838702201843, -0.6895080804824829, -0.7172713279724121, 0.38009366393089294, 0.4633793532848358, 0.7927094101905823, 0.13754895329475403, 0.31697073578834534, -0.020652128383517265, 0.5510326623916626, -0.625270426273346, -0.30683234333992004, -0.8209680318832397, -0.24532684683799744, -0.5069515109062195, 0.1987791657447815, -0.21322964131832123, -0.26813533902168274, 0.053905583918094635, -0.3272659182548523, 0.49271783232688904, -0.02564394660294056, 0.9155176281929016, 0.3083595037460327, -0.45865413546562195, -0.12162508815526962, -0.7427444458007812, 0.516811728477478, -0.9594772458076477, 0.46586811542510986, 0.43410107493400574, 0.04144375026226044, -0.2185753732919693, -0.37272462248802185, -0.5627216696739197, 0.2596164643764496, -0.049443233758211136, -0.3096766471862793, -0.0068190149031579494, 0.1166413277387619, 0.7470903992652893, 0.17449085414409637, -0.29483845829963684, 0.19188706576824188, -0.632001519203186, 0.07150629162788391, 0.8319286704063416, 0.12019335478544235, 0.5352789163589478, -0.2247202843427658, 0.006678395438939333, -0.3004792332649231, -0.9153871536254883, 0.06020263582468033, 0.8425660133361816, 0.24303540587425232, 0.11989200860261917, 0.8604167699813843, -0.04977554827928543, 0.5847264528274536, 0.17723798751831055, -0.048182934522628784, 0.10746811330318451, 0.06499773263931274, -0.341199666261673, 0.04061416536569595, 0.4294915795326233, 0.5808612704277039, 0.05591318756341934, 0.0802052766084671, -0.10153591632843018, 0.009260662831366062, 0.08729785680770874, -0.39872583746910095, -0.008338087238371372, 0.16373798251152039, -0.42952650785446167, -0.4528706967830658, -0.03586791455745697, -0.6412700414657593, -0.6830898523330688, -0.21875420212745667, 0.2009858787059784, -0.27306848764419556, -0.2600824534893036, 0.3388349413871765, -0.3088705241680145, -0.059506434947252274, 0.25375476479530334, -0.6518847346305847, 0.08862060308456421, 0.6565581560134888, 0.45241081714630127, 0.23585839569568634, -0.3175303041934967, -0.07347419857978821, -0.10803357511758804, -0.3061523735523224, 0.727419912815094, -0.7063685059547424, -0.4341420531272888, -0.2019018828868866, 0.011512319557368755, -0.01809697598218918, -0.5117024183273315, 0.5400844812393188, -0.2753644585609436, 0.4704344570636749, -0.5106157064437866, -0.38453271985054016, 0.07159305363893509, -0.14786139130592346, -0.5717167258262634, 1.038417935371399, 0.1260090172290802, -0.9872885942459106, 0.4313833713531494, -0.2429790496826172, -0.26286399364471436, -0.49779412150382996, 0.15397168695926666, -0.5953779816627502, 0.3203173279762268, 0.19292621314525604, 0.011780809611082077, -0.14890339970588684, 0.6953842639923096, -0.6159698963165283, -0.18769721686840057, 0.6979407668113708, -0.435696005821228, 1.056814432144165, -0.16484291851520538, -0.2616298794746399, 0.14158540964126587, -0.9947189092636108, -0.31486180424690247, -0.0109183918684721, -0.32500889897346497, -0.5886693596839905, -0.06339660286903381, 0.10708833485841751, 0.4651666581630707, -0.1693723350763321, -0.7435959577560425, 0.2589818835258484, -0.06902829557657242, 0.2830687463283539, 0.8045215606689453, -0.18845950067043304, 0.4000586271286011, -0.4749363958835602, 0.4459756314754486, -0.16914254426956177, 0.12209524214267731, -0.03967908024787903, -0.3972192704677582, -0.7340470552444458, 0.24281981587409973, 0.521353006362915, 0.41154003143310547, -0.5787948369979858, -0.18388500809669495, -0.18862447142601013, -0.7981259226799011, -0.7834407091140747, 0.10883446782827377, 0.4678012430667877, 0.6641939878463745, 0.19232389330863953, -0.09654776006937027, -0.5874452590942383, -0.8658550977706909, -1.1237692832946777, -0.3240894675254822, -0.07688792794942856, 0.12769514322280884, 0.44440382719039917, -0.21941561996936798, 0.8654650449752808, -0.7285218238830566, -0.11153609305620193, 0.04224593564867973, 0.26957377791404724, -0.11589731276035309, 0.5884490609169006, 0.6359548568725586, -0.25553563237190247, -0.07330289483070374, -0.2878384292125702, -0.2612561583518982, -0.5101161003112793, -0.2751040756702423, -0.04976111650466919, 0.17295368015766144, 0.4660271406173706, -0.6314582824707031, 0.6629214882850647, 0.4402790069580078, -0.6493721008300781, 0.8806726336479187, -0.25883689522743225, 0.13137808442115784, -0.4698643982410431, -0.13985015451908112, 0.04237930849194527, -0.08390229195356369, -0.5947255492210388, -0.06253348290920258, 0.34608519077301025, -0.10923327505588531, -0.4613589644432068, 0.3153327703475952, -0.3097049295902252, 0.03590381145477295, -0.19952118396759033, -0.07274365425109863, 0.18179140985012054, 0.40991446375846863, -0.02416793629527092, 0.520159900188446, 0.04312514886260033, -0.1724095642566681, -0.19578056037425995, 0.3106309771537781, -0.44505712389945984, 0.503670334815979, -0.4414307177066803, 0.34280306100845337, -0.5219715237617493, 0.12028966844081879, -0.9379908442497253, -0.23640106618404388, 0.0006929429364390671, -0.32588866353034973, 0.19409030675888062, -0.009385927580296993, -0.28623104095458984, -0.22294345498085022, -0.3888240158557892, 0.25471726059913635, 0.11168307811021805, -0.5660242438316345, 0.3959490656852722, 0.5613678693771362, -0.20899124443531036, -0.6806528568267822, -0.9266357421875, 0.12707999348640442, -0.2461041361093521, -0.6745994091033936, 0.26727691292762756, -0.14761021733283997, -0.5931241512298584, 0.0670168548822403, -0.30446434020996094, -0.189214289188385, 0.2127864509820938, 0.04083573445677757, 0.25574055314064026, -0.11541995406150818, 0.19365255534648895, 0.5020279884338379, 0.15416617691516876, 0.099250927567482, 0.3296003043651581, 0.044829245656728745, 0.1744794249534607, -0.2311372011899948, -0.0879770889878273, 0.12823182344436646, 0.546462893486023, -0.2675519585609436, 0.6838775873184204, 0.08234598487615585, -0.3525719940662384, -0.1859920769929886, -0.6527196168899536, -0.16395919024944305, -0.44127899408340454, 0.5962117910385132, -0.10104406625032425, -0.7892895340919495, 0.4439486265182495, 0.10180561244487762, 0.14368188381195068, 0.37222665548324585, 0.18993712961673737, -0.21798112988471985, 1.129641056060791, 0.5928130149841309, 0.24844780564308167, 0.4858591556549072, 0.032298874109983444, 0.05954194813966751, -0.7671186923980713, -0.03288176283240318, -0.7319502234458923, -0.4830611050128937, -0.6451680660247803, -0.4536493718624115, -0.01719033159315586, -0.05575352534651756, -0.21616050601005554, 0.39521902799606323, -0.08947215229272842, 0.6673515439033508, 0.2769937515258789, 0.15117235481739044, 0.2781035006046295, -0.5014124512672424, 0.24904142320156097, -0.35948610305786133, -0.9227115511894226, -0.48883721232414246, 1.1624743938446045, 0.530095100402832, 0.7070019245147705, 0.148208349943161, 0.05740805342793465, 0.3867394030094147, 0.47427546977996826, -0.36527493596076965, 0.30539077520370483, -0.08586467057466507, -0.8147580027580261, -0.22487320005893707, -0.11392752826213837, -0.41760867834091187, 0.3709210753440857, -0.45664623379707336, -0.7222423553466797, 0.7932959794998169, 0.46204644441604614, -0.07199500501155853, 0.6303414106369019, -0.6498066186904907, 0.8827293515205383, -0.46269670128822327, -0.47161850333213806, -0.1304798722267151, -0.4244285821914673, 0.7853079438209534, -0.19503088295459747, 0.6956194639205933, -0.32143762707710266, 0.20031453669071198, 0.6240657567977905, -0.8400445580482483, 0.8043548464775085, -0.08875203877687454, -0.11153583228588104, -0.15068723261356354, 0.4191936254501343, 0.4846617579460144, -0.01645272597670555, -0.2651814818382263, 0.191952183842659, 0.05553773045539856, -0.26183605194091797, -0.6076398491859436, 0.3119645416736603, -0.788360595703125, -0.8994693160057068, -0.35531240701675415, -0.7494232058525085, -0.3345060348510742, 0.08589055389165878, 0.12035555392503738, 0.4184817969799042, -0.24532726407051086, -0.15886735916137695, 0.427362322807312, -0.48163899779319763, 0.17558279633522034, 0.4221574068069458, -0.4777621030807495, -0.09366153925657272, 0.690674901008606, 0.4613938629627228, 0.5570906400680542, -0.291971355676651, 0.2234024703502655, 0.1985408067703247, -0.22119630873203278, -0.34988313913345337, 0.42119544744491577, -0.6760228276252747, -0.039747267961502075, -0.5429469347000122, 0.012625227682292461, -0.3854951858520508, -0.25982666015625, -0.5903945565223694, -0.7461981773376465, -0.2200397551059723, -0.26346322894096375, 0.19742369651794434, 0.7545549273490906, -0.05064794048666954, 0.6595356464385986, -0.5324342250823975, 0.2117433398962021, 0.23230373859405518, 0.45615118741989136, -0.07177475094795227, -0.6640291810035706, -0.37923821806907654, 0.23006388545036316, -0.23134702444076538, -1.0499039888381958, 0.30444127321243286, -0.04085031896829605, 0.19363276660442352, 0.2925785779953003, 0.07441507279872894, 0.8248814940452576, -0.2626614272594452, 0.6293274164199829, -0.27941879630088806, -1.3058528900146484, 0.31719839572906494, -0.3911072313785553, 0.6147100925445557, 0.3859303891658783, -0.07673308253288269, -0.8543596267700195, -0.759192943572998, -0.7630309462547302, -0.5626276731491089, 1.030745267868042, -0.11150766909122467, 0.07070919871330261, 0.10176955908536911, 0.30118268728256226, 0.18640980124473572, 0.19466590881347656, -0.6065765023231506, -0.40956911444664, -0.25809481739997864, 0.231454536318779, 0.26935476064682007, -0.7010736465454102, 0.01982644945383072, -0.3965257704257965, 0.9665541052818298, 0.08023525774478912, -0.2835861146450043, 0.07904542237520218, -0.44435203075408936, -0.5550858974456787, 0.4510304033756256, 0.8528690338134766, 0.9212781190872192, -0.4056420624256134, -0.002713229041546583, 0.3823505640029907, -0.2357589453458786, 0.03920797258615494, -0.013814332894980907, -0.37289369106292725, 0.187507763504982, 0.4402942657470703, 1.1080992221832275, 0.44033098220825195, -0.7094569206237793, 0.31465834379196167, -0.11795329302549362, -0.17582017183303833, 0.056181468069553375, 0.071729876101017, 0.11943369358778, 0.06453913450241089, 0.045180246233940125, 0.5918492078781128, -0.06706855446100235, -0.5570160746574402, -0.14609448611736298, 0.34116441011428833, -0.4205882251262665, -0.41837331652641296, 1.0321441888809204, 0.08127973228693008, -0.47026780247688293, 0.4682859480381012, 0.28621095418930054, -0.49156758189201355, 0.45277467370033264, 0.34244540333747864, 0.5556725859642029, -0.5227954983711243, 0.2916562855243683, 0.2538662254810333, 0.6574673652648926, -0.0376620776951313, 0.00280218617990613, 0.40632474422454834, -0.9153469204902649, -0.3115297555923462, -0.005076475441455841, -0.31923016905784607, 0.22938556969165802, -0.6100109219551086, 0.47788968682289124, -0.45788106322288513, -0.3518049418926239, -0.017320821061730385, -0.5170179605484009, -0.6979002952575684, 0.2569167912006378, 0.08099956065416336, 1.005517601966858, -1.1666717529296875, 0.7183026075363159, 0.5550810694694519, -0.06129246577620506, -0.6084485054016113, -0.12289305031299591, 0.5235689282417297, -0.4088464081287384, 0.30651023983955383, -0.017262903973460197, 0.1491893231868744, -0.4429152309894562, -0.44832783937454224, -1.037441611289978, 0.6211914420127869, 0.6836301684379578, -0.6697151064872742, -0.07892447710037231, 0.48630791902542114, 0.5397282242774963, -0.04965139552950859, 0.26677122712135315, 1.0822899341583252, 0.48346182703971863, -0.2948409914970398, -1.0574970245361328, -0.10287748277187347, -0.004803344141691923, 0.037462279200553894, 0.021702006459236145, -0.6247044801712036, 1.0208226442337036, -0.2713082730770111, -0.1399080902338028, -0.28277868032455444, 0.4618854224681854, -0.004562025424093008, 0.03970295563340187, 0.4433393180370331, 0.492402583360672, 0.9878156185150146, 0.0037863748148083687, 0.9945149421691895, -0.043343160301446915, 0.1565674990415573, 1.4593474864959717, -0.2854677736759186, 0.42121678590774536, 0.3800753653049469, -0.11392096430063248, 0.41947922110557556, 0.3319738209247589, 0.1333916038274765, 0.16346858441829681, 0.009832696989178658, -0.06523341685533524, 0.07973233610391617, -0.05188342556357384, -0.15635955333709717, 0.5846816897392273, 0.43811655044555664, -0.42480960488319397, -0.04462137073278427, 0.242188960313797, 0.7110924124717712, 0.20734593272209167, -0.2760010361671448, 0.5166988372802734, -0.10536554455757141, -0.5007397532463074, 0.28906580805778503, 0.2636778652667999, 0.5449299812316895, -0.29400303959846497, 0.12955057621002197, -0.21217943727970123, 0.2310655415058136, -0.39761805534362793, -0.8312211632728577, 0.5785632133483887, 0.15360499918460846, -0.2727120518684387, -0.2410132735967636, 0.7679895758628845, -0.5930033326148987, -0.6389052271842957, 0.14854739606380463, 0.5899105072021484, -0.2319774627685547, -0.0600256472826004, -0.7241837978363037, 0.3888727128505707, 0.14615720510482788, -0.37697169184684753, 0.313839316368103, 0.18618036806583405, -0.28600895404815674, 0.5975179672241211, 0.5413591861724854, 0.3582715690135956, 0.010197218507528305, -0.1815100908279419, 0.6991119384765625, -0.5444485545158386, -0.24187010526657104, -0.7674780488014221, 0.7921602725982666, -0.12128972262144089, -0.47977375984191895, 0.6751284599304199, 0.48172295093536377, 1.114473581314087, -0.033790700137615204, 0.8764138221740723, 0.060710154473781586, 0.5280523896217346, -0.31769198179244995, 1.0001376867294312, -0.33483952283859253, 0.46298912167549133, -0.5937715768814087, -0.8153690695762634, -0.40517759323120117, 0.17221809923648834, -0.5792966485023499, -0.087799072265625, 0.6487492918968201, 0.9478228092193604, -0.03512623533606529, 0.1356533020734787, 0.25470173358917236, 0.6287983655929565, 0.21513690054416656, -0.10497880727052689, 0.557158350944519, -0.5152532458305359, 0.250681072473526, -0.6431064605712891, 0.02061024121940136, -0.018532780930399895, -0.7794786095619202, -0.820536196231842, -0.4798640310764313, -0.5423471927642822, -0.530669629573822, 0.11901165544986725, 0.7794256210327148, 0.34027668833732605, -0.6114160418510437, -0.3200436234474182, 0.48074719309806824, 0.5990180373191833, -0.1520172506570816, -0.2512584328651428, 0.5174164175987244, 0.1822211593389511, -0.6469050049781799, 0.17968228459358215, -0.0037591210566461086, -0.08390868455171585, -0.08492418378591537, 0.11820516735315323, -0.2205270528793335, 0.3035898506641388, 0.310385137796402, 0.41492295265197754, -0.6323486566543579, -0.5229573845863342, -0.3136676251888275, 0.048872724175453186, 0.12261184304952621, 0.8954387903213501, -0.683788537979126, 0.641410231590271, 0.40983325242996216, 0.338327556848526, 0.2214483618736267, -0.039120014756917953, 0.9620087742805481, -0.6569810509681702, 0.2659207582473755, -0.2014492005109787, 0.5508050918579102, 0.5602394938468933, -0.49181193113327026, 0.33373984694480896, 0.3317839205265045, -0.47339051961898804, -1.1889922618865967, -0.04122608155012131, -0.4803371727466583, -0.5316330194473267, 0.8152644038200378, 0.05485488101840019, -0.3443157970905304, -0.0817008912563324, -0.6145277619361877, 0.36040839552879333, 0.04282674938440323, 0.9355965256690979, 0.8924363255500793, 0.03351396694779396, -0.41305437684059143, -0.5170710682868958, 0.753106415271759, 0.4401746988296509, -0.6462580561637878, 0.5172517895698547, 0.705730676651001, 0.41582801938056946, -0.33890455961227417, 0.2608306407928467, -0.03720628470182419, 0.5136072039604187, -0.05292314663529396, 0.23625448346138, -0.21481598913669586, 0.029490860179066658, -0.4891413748264313, -0.1432347148656845, 0.23112177848815918, 0.424984335899353 ]
http://arxiv.org/abs/2403.00863v2
http://arxiv.org/pdf/2403.00863v2
LLM-Ensemble: Optimal Large Language Model Ensemble Method for E-commerce Product Attribute Value Extraction
2024-02-29T23:03:19
2024-06-20T07:10:28
Chenhao Fang, Xiaohan Li, Zezhong Fan, Jianpeng Xu, Kaushiki Nag, Evren Korpeoglu, Sushant Kumar, Kannan Achan
cs.IR
cs.IR, cs.AI, cs.CL
Product attribute value extraction is a pivotal component in Natural Language Processing (NLP) and the contemporary e-commerce industry. The provision of precise product attribute values is fundamental in ensuring high-quality recommendations and enhancing customer satisfaction. The recently emerging Large Language Models (LLMs) have demonstrated state-of-the-art performance in numerous attribute extraction tasks, without the need for domain-specific training data. Nevertheless, varying strengths and weaknesses are exhibited by different LLMs due to the diversity in data, architectures, and hyperparameters. This variation makes them complementary to each other, with no single LLM dominating all others. Considering the diverse strengths and weaknesses of LLMs, it becomes necessary to develop an ensemble method that leverages their complementary potentials. In this paper, we propose a novel algorithm called LLM-ensemble to ensemble different LLMs' outputs for attribute value extraction. We iteratively learn the weights for different LLMs to aggregate the labels with weights to predict the final attribute value. Not only can our proposed method be proven theoretically optimal, but it also ensures efficient computation, fast convergence, and safe deployment. We have also conducted extensive experiments with various state-of-the-art LLMs, including Llama2-13B, Llama2-70B, PaLM-2, GPT-3.5, and GPT-4, on Walmart's internal data. Our offline metrics demonstrate that the LLM-ensemble method outperforms all the state-of-the-art single LLMs on Walmart's internal dataset. This method has been launched in several production models, leading to improved Gross Merchandise Volume (GMV), Click-Through Rate (CTR), Conversion Rate (CVR), and Add-to-Cart Rate (ATC).
[ -0.4537349343299866, -0.5463084578514099, 0.41542848944664, 0.12839071452617645, -0.26594221591949463, 0.508995532989502, -0.4033213257789612, -0.8915805816650391, 0.24500660598278046, 0.24947185814380646, -0.7274497747421265, -0.6128091812133789, -0.43251708149909973, 0.12525822222232819, -0.1778932362794876, 0.9134811758995056, 0.18046818673610687, -0.06088678538799286, -0.3316287696361542, -0.008563699200749397, -0.028719615191221237, -0.3966328501701355, -0.39799797534942627, -0.12774163484573364, 0.36983025074005127, 0.3582564890384674, 0.18020400404930115, 0.5059157609939575, 0.5450209379196167, 0.3618110418319702, 0.01959574595093727, 0.33935290575027466, -0.4535718858242035, 0.19387318193912506, -0.046818025410175323, -0.25600841641426086, -0.6849296689033508, -0.04926431179046631, 0.4129691421985626, 0.28168773651123047, -0.18727687001228333, 0.5134454369544983, 0.09064812958240509, 0.44241786003112793, -0.7931602597236633, 0.05577494576573372, -0.8418004512786865, 0.05068697780370712, -0.04233107343316078, -0.14409953355789185, -0.3489539325237274, -0.35786163806915283, -0.0015379830729216337, -0.4700034260749817, 0.03860839456319809, 0.30053308606147766, 0.958527147769928, -0.04140833392739296, -0.07020942866802216, -0.10544025152921677, -0.7087526321411133, 1.390122413635254, -0.7109866738319397, 0.29600268602371216, 0.2606789767742157, 0.0695687085390091, -0.03874079883098602, -0.552105724811554, -0.5870245695114136, -0.09200667589902878, 0.20255067944526672, 0.3021344542503357, -0.3412649631500244, -0.16220930218696594, -0.20176568627357483, 0.5792995691299438, -0.3258667290210724, 0.733637273311615, -0.1852009892463684, 0.13656124472618103, 0.9422074556350708, 0.11757579445838928, 0.00831033755093813, 0.11814890056848526, -0.6821929216384888, -0.2032768428325653, -0.6516761183738708, 0.11355212330818176, 0.33693262934684753, 0.16913555562496185, 0.20284521579742432, 0.32060444355010986, -0.31643062829971313, 0.42902857065200806, 0.10767285525798798, -0.7644761800765991, 0.40465307235717773, -0.071256622672081, -0.278873473405838, 0.2373858541250229, 0.9021807312965393, 0.25540879368782043, -0.168033167719841, -0.22975695133209229, -0.4927925765514374, -0.32173097133636475, -0.038540106266736984, -0.5115446448326111, 0.09304560720920563, 0.3842160999774933, -0.5126805305480957, -0.6364367008209229, 0.024478906765580177, -1.0847609043121338, -0.14815054833889008, -0.23032400012016296, 0.5283973217010498, -0.03645935654640198, -0.15401749312877655, -0.321807861328125, 0.11011841148138046, 0.4038320481777191, 0.2315734177827835, -0.8949597477912903, 0.47923678159713745, 0.7731592059135437, 0.7544043660163879, -0.829359233379364, -0.10216547548770905, -0.41748034954071045, 0.24768991768360138, 0.00828972551971674, 1.056628704071045, -0.47547823190689087, -0.2553463578224182, -0.11684475094079971, -0.04773051664233208, 0.27461549639701843, -0.7577950358390808, 0.6904599666595459, -0.7683371305465698, -0.1464126855134964, 0.06983977556228638, -0.7544345855712891, -0.25418195128440857, 0.44332799315452576, -0.8178502917289734, 0.9183865189552307, -0.028815973550081253, -0.19764049351215363, 0.3425261378288269, -0.3814535439014435, -0.38977524638175964, 0.32982131838798523, -0.06959917396306992, -0.8413690328598022, 0.2342987060546875, 0.422244131565094, 0.6103858351707458, -0.7869410514831543, -0.1338738054037094, -0.5587068200111389, -0.12763692438602448, 0.4288597106933594, -0.5080826878547668, 0.6123971939086914, 0.3193570077419281, -0.17854489386081696, -0.13024179637432098, -0.8283427357673645, 0.33218419551849365, 0.36242005228996277, -0.25786876678466797, -0.1315048485994339, 0.006665955297648907, 0.12583647668361664, 0.06823556870222092, 0.44320857524871826, -0.46693098545074463, 0.2558327317237854, -0.13650642335414886, 0.10040318220853806, 1.0857068300247192, -0.04811902716755867, 0.41734427213668823, -0.3385619819164276, 0.5298327803611755, -0.28957220911979675, 0.06673411279916763, 0.03312964737415314, -0.4517420530319214, -0.3704199492931366, -0.6977083086967468, 0.2614894509315491, 0.6945584416389465, -0.28368690609931946, 0.7992938756942749, -0.28462716937065125, -0.4665645360946655, -0.2711530029773712, 0.4021860659122467, 0.030331801623106003, 0.3352281153202057, 0.2535986602306366, -0.26483845710754395, -0.35505661368370056, -0.8618808388710022, -0.020534448325634003, -0.17926743626594543, -0.29429659247398376, 0.2626035809516907, 0.1338772028684616, -0.12652398645877838, 0.9301041960716248, -0.7996087074279785, -0.3707083463668823, -0.3552965223789215, 0.1992574781179428, 0.5482290983200073, 0.23296569287776947, 0.14989754557609558, -0.5747855305671692, -0.3234904706478119, 0.18816229701042175, -0.38892728090286255, -0.4281778037548065, -0.009540537372231483, -0.09563827514648438, 0.2933999300003052, -0.15228527784347534, -0.46855589747428894, 0.14964120090007782, 0.6813910007476807, 0.2852078080177307, 0.6556876301765442, -0.14627555012702942, 0.13869833946228027, -1.1171208620071411, -0.2583453953266144, 0.2850436866283417, -0.08449407666921616, -0.4989631772041321, -0.062468357384204865, -0.037497978657484055, 0.18085677921772003, -0.5283679366111755, 0.28016144037246704, -0.4518077075481415, -0.3337305188179016, -0.1647568792104721, -0.03560659661889076, 0.029901929199695587, 0.6165755391120911, 0.10740389674901962, 0.5576736927032471, 0.376125305891037, -0.7824302315711975, 0.7021912932395935, 0.012801898643374443, -0.556225597858429, 0.9125430583953857, -0.333135187625885, 0.16790060698986053, 0.008373376913368702, -0.006460660602897406, -0.9014267325401306, -0.048796337097883224, -0.0013834587298333645, -0.10449162125587463, 0.4410459101200104, 0.02822071872651577, -0.4778532385826111, -0.30933964252471924, -0.4359400272369385, 0.41160476207733154, 0.6747540831565857, -0.7741968035697937, 0.786020040512085, 0.5958887934684753, -0.4064575731754303, -0.3903721868991852, -0.5955677628517151, 0.03325548768043518, -0.6000283360481262, -0.679878830909729, 0.634077787399292, -0.12238196283578873, -0.19265645742416382, -0.22313185036182404, -0.08474714308977127, -0.08116460591554642, 0.15225711464881897, -0.20459821820259094, 0.5648158192634583, -0.05735137313604355, 0.3426789343357086, -0.08301091939210892, -0.20640423893928528, -0.09969577193260193, -0.45771557092666626, 0.49026554822921753, -0.22751900553703308, -0.41454631090164185, -0.35148996114730835, 0.19388926029205322, 0.1818884164094925, -0.2249760776758194, 0.592809796333313, 0.633591890335083, -0.27601730823516846, -0.4020542502403259, -0.7531268000602722, -0.10355114936828613, -0.4974680542945862, 0.5093405246734619, 0.0011277865851297975, -0.5885570049285889, 0.4509849548339844, -0.3746813237667084, 0.0916612520813942, 0.43809640407562256, 0.6675403118133545, -0.23093591630458832, 1.0445239543914795, 0.32727861404418945, -0.30728256702423096, 0.33862313628196716, -0.2765425145626068, 0.3764464855194092, -0.7161476016044617, -0.3650994598865509, -0.4674389958381653, -0.576205849647522, -0.7394117116928101, -0.23553253710269928, 0.5736159682273865, 0.007958264090120792, -0.12150391936302185, 0.10872623324394226, -0.41229552030563354, 0.47632357478141785, 0.5650323629379272, 0.2723654508590698, 0.46767058968544006, 0.5055919885635376, 0.29422494769096375, 0.13549505174160004, -0.34602561593055725, -0.3713170289993286, 1.1213568449020386, 0.2989051342010498, 0.9667466878890991, 0.3758108615875244, 0.7120741605758667, 0.24074847996234894, 0.2697505056858063, -1.029901385307312, 0.47905150055885315, -0.16646599769592285, -0.17414702475070953, -0.21255435049533844, -0.40051060914993286, -0.7577640414237976, 0.2523922622203827, -0.352363258600235, -1.2245469093322754, 0.2503418028354645, 0.08008866757154465, -0.36344754695892334, 0.4703432023525238, -0.48251011967658997, 0.4009315073490143, -0.8882312774658203, -0.6945960521697998, -0.010041921399533749, -0.3695714771747589, 0.3951970338821411, -0.41744697093963623, 0.25498872995376587, -0.19195394217967987, -0.3535597324371338, 0.6696184873580933, -0.29788506031036377, 0.42552849650382996, 0.29832974076271057, -0.34993380308151245, 0.2760345935821533, -0.057521454989910126, 0.916601836681366, -0.18678435683250427, -0.044491980224847794, 0.366599440574646, -0.25072962045669556, -0.21623815596103668, -0.520326554775238, 0.6881331205368042, -0.7089410424232483, -0.47094276547431946, -0.2771530747413635, -0.32498180866241455, -0.39795079827308655, 0.0026095733046531677, 0.21665546298027039, 0.04797927290201187, -0.17569436132907867, 0.2902243435382843, 0.6890023350715637, -0.30514419078826904, 0.7626011967658997, 0.267539381980896, -0.1271338164806366, -0.6008300185203552, 1.169179081916809, 0.02431097999215126, 0.449101060628891, 0.60660719871521, 0.401022344827652, -0.3706378638744354, -0.4243149161338806, -0.20943757891654968, -0.1358405351638794, -0.6278573870658875, -0.5862821936607361, -0.528523862361908, -0.0853792056441307, -0.2475603222846985, -0.06736086308956146, -0.22219985723495483, -0.45565155148506165, -0.28125983476638794, -0.1955375373363495, 0.42993664741516113, 0.5204365849494934, -0.11801236867904663, 0.3377218544483185, -0.9527553915977478, 0.023875199258327484, 0.6592952609062195, 0.12076765298843384, 0.12088043987751007, -0.2002229243516922, -0.1700253039598465, -0.09293544292449951, -0.5416791439056396, -0.8787807822227478, 0.7036881446838379, 0.28867581486701965, 0.7277032136917114, 0.7122682332992554, -0.007022078614681959, 0.5405925512313843, -0.14354053139686584, 0.7440448999404907, 0.26478907465934753, -0.7490757703781128, 0.08511003106832504, -0.04351010546088219, 0.024731801822781563, 0.3877074122428894, 0.3263581693172455, -0.24006283283233643, 0.03221461921930313, -0.5347232222557068, -1.1897146701812744, 0.6885285973548889, 0.23254740238189697, -0.1794625073671341, 0.21573664247989655, -0.20345447957515717, 0.11730232834815979, 0.4103504717350006, -0.8021196126937866, -0.17842411994934082, 0.2432113140821457, -0.45510876178741455, -0.05984446778893471, -0.12190471589565277, 0.08054458349943161, -0.3108924627304077, 0.8413285613059998, -0.1227104663848877, 0.43579816818237305, -0.14395900070667267, -0.23092646896839142, -0.11156655102968216, 0.3080579340457916, 0.3487718403339386, 0.4480029344558716, -0.255087286233902, 0.08719976991415024, 0.6002427339553833, -0.355374276638031, 0.23879127204418182, 0.02972971647977829, 0.02542831376194954, -0.4348808526992798, 0.2237846553325653, 0.617552638053894, -0.03577978163957596, -0.7619417905807495, 0.4882696866989136, 0.2462809830904007, -0.016828183084726334, -0.4193580448627472, -0.23489713668823242, -0.07211782038211823, 0.3242814242839813, 0.6979308128356934, -0.22715598344802856, 0.24980925023555756, -0.42104512453079224, 0.21467919647693634, 0.599663496017456, 0.04418545216321945, -0.10818997025489807, 0.17221961915493011, -0.1117926836013794, -0.21193715929985046, 0.5414183139801025, -0.19427630305290222, -0.6015833616256714, 0.8055815696716309, 0.7830507159233093, 1.2499229907989502, -0.31091323494911194, 0.13487598299980164, 0.17013409733772278, 0.2928733825683594, -0.044717613607645035, -0.10166572034358978, -0.16269591450691223, -0.8618844151496887, -0.3057198226451874, -0.8962456583976746, -0.2882929742336273, 0.1858544945716858, -0.46106281876564026, 0.29346761107444763, -0.23726283013820648, -0.04488730803132057, -0.26958489418029785, 0.12280991673469543, -0.7453767657279968, 0.16365982592105865, 0.328315794467926, 0.3716418147087097, -0.6826741695404053, 0.5183299779891968, 0.30369865894317627, -0.21537429094314575, -0.6964373588562012, -0.1341436356306076, 0.16755633056163788, -0.9797650575637817, 0.6606913805007935, 0.0954294502735138, -0.10714460909366608, -0.05144735798239708, -0.6506335139274597, -1.021782636642456, 1.323793649673462, 0.04542466253042221, -0.7507548928260803, 0.2427680790424347, 0.2509848177433014, 0.2615356147289276, -0.6663420796394348, 0.4619021713733673, 0.6097579598426819, 0.47628429532051086, 0.4650067389011383, -0.4922848343849182, -0.08108358085155487, -0.02349487505853176, 0.045394763350486755, 0.13281488418579102, -0.5404219031333923, 0.7050688862800598, 0.039562076330184937, -0.05289500951766968, 0.13889533281326294, 0.5749481320381165, 0.5056108832359314, 0.22453589737415314, 0.6128321886062622, 0.7931110262870789, 0.9623029232025146, 0.054924093186855316, 0.8854982256889343, -0.17228084802627563, 0.5369358062744141, 0.9289368987083435, -0.4757700562477112, 1.0289926528930664, 0.4005434811115265, -0.4475710391998291, 0.39417538046836853, 0.598943829536438, -0.2941359579563141, 0.6411350965499878, 0.1710771769285202, -0.586452841758728, -0.34368810057640076, -0.007326965685933828, -0.09283271431922913, 0.4435041546821594, 0.3764585554599762, -0.42963412404060364, -0.0272526778280735, -0.1856519728899002, -0.1913827359676361, -0.4968332350254059, -0.5099020600318909, 1.051265835762024, 0.020729871466755867, -0.30906274914741516, 0.5153411030769348, -0.05064646527171135, 0.693764865398407, -0.513454794883728, 0.03943257033824921, -0.011132126674056053, 0.2086973488330841, -0.352304071187973, -0.576238751411438, -0.29355931282043457, -0.002649773145094514, 0.050016164779663086, -0.16208516061306, 0.7785952091217041, -0.3640286922454834, -0.942446231842041, 0.053861409425735474, 0.34046533703804016, -0.0031089140102267265, 0.09181910008192062, -0.5394313335418701, 0.018147282302379608, -0.2062913179397583, -0.3312219977378845, 0.467497855424881, 0.07504580914974213, 0.05666050314903259, 0.5476011037826538, 0.7192153930664062, 0.10564842075109482, -0.07561013847589493, -0.2824822664260864, 0.6452398896217346, -0.4760945737361908, -0.48404374718666077, -0.9406771063804626, 0.4870777130126953, -0.4627440273761749, 0.04790504649281502, 0.6323702931404114, 0.5078873634338379, 0.7438551783561707, 0.14637230336666107, 0.6925472617149353, 0.18562942743301392, 0.1999194175004959, -0.6442142128944397, 0.45851027965545654, -0.6524748206138611, 0.524713397026062, -0.5304812788963318, -1.321068525314331, -0.17891021072864532, 0.551592230796814, -0.113568976521492, 0.17601531744003296, 0.5594516396522522, 0.7717170715332031, -0.004459143150597811, 0.1298515498638153, 0.31847071647644043, 0.10730947554111481, 0.22959491610527039, 0.6880806088447571, 0.7536277174949646, -0.2523259222507477, 0.49648815393447876, -0.3635044991970062, -0.4384964406490326, -0.18024174869060516, -1.2578595876693726, -0.34442710876464844, -0.307770699262619, -0.24698695540428162, -0.15340854227542877, -0.22673526406288147, 1.4529423713684082, 0.6206446886062622, -0.8404499888420105, -0.4885329306125641, 0.1270291805267334, 0.12726417183876038, -0.589887261390686, -0.20830433070659637, 0.4010835886001587, -0.1977984756231308, -0.7391005158424377, 0.338797003030777, 0.3535929322242737, 0.05277091637253761, -0.2520044147968292, -0.13560988008975983, -0.16968651115894318, 0.051415205001831055, 0.7587911486625671, 0.1284204125404358, -0.5658801794052124, -0.06469728797674179, -0.0510316900908947, 0.29592880606651306, 0.23897422850131989, 0.3836805820465088, -0.5746047496795654, 0.19955366849899292, 0.5204219222068787, 0.8323513865470886, 0.5276925563812256, 0.06396596133708954, 0.507506251335144, -0.638175368309021, -0.0715220719575882, 0.2325073480606079, 0.3528088331222534, 0.17319057881832123, -0.39818164706230164, 0.2487758845090866, 0.30493953824043274, -0.6600828766822815, -0.7000793814659119, 0.2964603006839752, -1.0108590126037598, -0.2682614028453827, 1.1570146083831787, 0.014216702431440353, -0.5421838164329529, 0.30577552318573, -0.0028324564918875694, 0.010282402858138084, -0.507268488407135, 0.8658744692802429, 0.3960743546485901, -0.05760171636939049, -0.3693375587463379, -0.11347080767154694, 0.10565080493688583, 0.123491071164608, -1.0653603076934814, -0.308914452791214, 0.3667728304862976, 0.04066028073430061, 0.10090000182390213, 0.09099120646715164, 0.12468526512384415, -0.05890486016869545, -0.4787715673446655, 0.19201157987117767, 0.07616808265447617, -0.04976503551006317, -0.39138758182525635, 0.31427767872810364, 0.044465795159339905, -0.15709765255451202 ]
http://arxiv.org/abs/2403.00165v2
http://arxiv.org/pdf/2403.00165v2
TELEClass: Taxonomy Enrichment and LLM-Enhanced Hierarchical Text Classification with Minimal Supervision
2024-02-29T22:26:07
2024-06-16T19:10:39
Yunyi Zhang, Ruozhen Yang, Xueqiang Xu, Rui Li, Jinfeng Xiao, Jiaming Shen, Jiawei Han
cs.CL
cs.CL, cs.LG
Hierarchical text classification aims to categorize each document into a set of classes in a label taxonomy. Most earlier works focus on fully or semi-supervised methods that require a large amount of human annotated data which is costly and time-consuming to acquire. To alleviate human efforts, in this paper, we work on hierarchical text classification with the minimal amount of supervision: using the sole class name of each node as the only supervision. Recently, large language models (LLM) show competitive performance on various tasks through zero-shot prompting, but this method performs poorly in the hierarchical setting, because it is ineffective to include the large and structured label space in a prompt. On the other hand, previous weakly-supervised hierarchical text classification methods only utilize the raw taxonomy skeleton and ignore the rich information hidden in the text corpus that can serve as additional class-indicative features. To tackle the above challenges, we propose TELEClass, Taxonomy Enrichment and LLM-Enhanced weakly-supervised hierarchical text Classification, which (1) automatically enriches the label taxonomy with class-indicative terms to facilitate classifier training and (2) utilizes LLMs for both data annotation and creation tailored for the hierarchical label space. Experiments show that TELEClass can outperform previous weakly-supervised methods and LLM-based zero-shot prompting methods on two public datasets.
[ -0.1576118916273117, -0.8423470258712769, 0.30296072363853455, -0.3465746343135834, -0.11941199004650116, 0.4099838137626648, -0.25467413663864136, -0.8625347018241882, 0.11843789368867874, 0.35500437021255493, -0.5615740418434143, -0.8702470660209656, -0.5628156661987305, 0.38876208662986755, -0.2763986587524414, 1.2105507850646973, 0.15888643264770508, -0.3845583200454712, -0.28586769104003906, 0.21315328776836395, 0.08242975175380707, -0.6179940104484558, -0.3676067590713501, -0.3920459747314453, 0.5962312817573547, 0.7974488139152527, 0.789137065410614, 0.9283260703086853, 0.4575866460800171, 0.29523155093193054, -0.3667824864387512, 0.3931131660938263, -0.1754464954137802, -0.0390462763607502, 0.13452023267745972, -0.574543297290802, -0.7041451930999756, -0.15483218431472778, 0.643226683139801, 0.815208375453949, 0.16180209815502167, 0.42230138182640076, 0.2529875636100769, 0.11244449764490128, -0.7443568706512451, 0.3854061961174011, -0.6683452725410461, 0.2673180401325226, -0.5695878267288208, -0.5050222873687744, -0.3516189157962799, -0.24508309364318848, 0.11578121036291122, -0.6303563714027405, 0.3775809109210968, 0.19526700675487518, 0.9708663821220398, 0.32526639103889465, -0.5591175556182861, 0.20946632325649261, -0.6623722314834595, 0.7909952402114868, -0.5356312394142151, 0.14638996124267578, 0.8747109174728394, 0.046850014477968216, 0.29641780257225037, -0.6766647696495056, -0.2859492003917694, -0.015949571505188942, -0.11112894117832184, 0.21307069063186646, -0.19954097270965576, 0.5517193078994751, 0.2818027436733246, 0.46626344323158264, -0.2747437357902527, 0.7966759204864502, -0.433647483587265, -0.30298537015914917, 0.23337817192077637, 0.3628726899623871, 0.12802278995513916, -0.46580952405929565, -0.3741980195045471, 0.17408809065818787, -0.6173280477523804, -0.01049361564218998, 0.16514359414577484, 0.6376911401748657, -0.030930863693356514, 0.643459677696228, -0.4046943485736847, 0.5836233496665955, -0.05957351624965668, -0.30875229835510254, 0.2741066813468933, -0.36210858821868896, -0.3630014657974243, 0.3193494975566864, 0.9300061464309692, 0.23619674146175385, 0.005441560409963131, -0.2087453454732895, -0.12870796024799347, 0.1841559261083603, 0.027606360614299774, -0.7010014653205872, 0.14271992444992065, 0.28459474444389343, -0.3517027497291565, -0.8319851756095886, -0.2828488349914551, -0.9666165709495544, -0.3294176757335663, -0.39809301495552063, 0.3253728151321411, -0.007983321323990822, 0.06564696878194809, 0.05302286520600319, -0.04639790952205658, 0.08901111781597137, 0.43176257610321045, -1.1189302206039429, 0.5909255743026733, 0.7515973448753357, 1.0041595697402954, -0.22067919373512268, -0.3233208656311035, -0.6413138508796692, 0.2918091118335724, -0.024516550824046135, 0.8471477627754211, -0.7498953938484192, -0.17974646389484406, 0.48301172256469727, -0.09017408639192581, 0.18841715157032013, -0.4925532937049866, 0.6673256158828735, -0.3975459039211273, 0.5741803646087646, 0.36880946159362793, -0.59444659948349, 0.024735890328884125, 0.33292368054389954, -0.2426905483007431, 1.4128406047821045, 0.1098145842552185, -0.9492114782333374, 0.45528656244277954, -0.42900413274765015, -0.25754907727241516, 0.5409526824951172, -0.10189112275838852, -0.534990668296814, -0.2856767475605011, 0.3112640380859375, 0.6132453680038452, -0.3286573588848114, 0.3648044168949127, -0.21765540540218353, -0.45629987120628357, -0.22178915143013, -0.1653251349925995, 0.5725706219673157, -0.11777228116989136, -0.41899633407592773, 0.11262800544500351, -0.682959258556366, 0.06258201599121094, -0.28271210193634033, -0.34891313314437866, -0.3887290954589844, -0.0810699462890625, 0.2852504849433899, -0.08556321263313293, 0.29960891604423523, -0.48250889778137207, 0.3753869831562042, -0.42442622780799866, 0.08250876516103745, 0.650099515914917, 0.038269732147455215, 0.7274127006530762, -0.509588360786438, 0.574713408946991, -0.08389448374509811, 0.19787226617336273, 0.01776769571006298, -0.4561258852481842, -0.8099440932273865, -0.4310038685798645, 0.5289019346237183, 0.8049971461296082, -0.6892393231391907, 0.767661452293396, -0.46932169795036316, -0.5158264636993408, -0.39141035079956055, 0.3651216924190521, 0.2560662627220154, 0.43016067147254944, 0.45268234610557556, -0.18910610675811768, -0.5546635389328003, -0.7961078882217407, 0.16925856471061707, -0.24796819686889648, -0.10692466050386429, 0.21789810061454773, 0.3263043165206909, -0.5032563805580139, 0.86838299036026, -0.451078861951828, -0.7528253793716431, -0.3356834948062897, 0.20760540664196014, 0.10203669965267181, 0.08014632016420364, 0.26568976044654846, -0.3527402877807617, -0.27215856313705444, 0.03686688840389252, -0.7552734017372131, -0.5709682703018188, -0.15931618213653564, 0.05391230434179306, -0.009867110289633274, 0.5129753947257996, -0.42001470923423767, 0.3840588331222534, 0.18327143788337708, 0.09039802849292755, 0.544623613357544, 0.07860226184129715, -0.25331586599349976, -0.9128355979919434, -0.2312975972890854, 0.12257686257362366, -0.3271692991256714, -0.7302168011665344, -0.2051490992307663, -0.05669279769062996, -0.11674650013446808, -0.21573491394519806, 0.45150601863861084, -0.4049626886844635, 0.061566002666950226, -0.3044874370098114, 0.33140793442726135, -0.17273537814617157, 0.5220168232917786, 0.5141961574554443, 0.4032629728317261, 1.002877116203308, -0.6555429100990295, 0.2794981300830841, 0.28390786051750183, -0.11823059618473053, 0.22280800342559814, -0.3745856285095215, -0.04545752331614494, -0.053967710584402084, 0.22447852790355682, -0.6781212687492371, -0.3450603187084198, 0.2841278910636902, -0.22238659858703613, 0.3573927879333496, -0.21511173248291016, -0.8580968379974365, -0.16160154342651367, -0.6349106431007385, 0.24179837107658386, 0.5024319291114807, -0.6546518206596375, 0.4076506197452545, 0.19130055606365204, -0.1311836689710617, -0.5506987571716309, -0.6919211149215698, 0.22765804827213287, -0.32342249155044556, -0.24862037599086761, 0.537120521068573, 0.4269987642765045, -0.1020163893699646, -0.010687609203159809, -0.17260044813156128, -0.2870698869228363, 0.006294586230069399, 0.46760791540145874, 0.6067874431610107, -0.28868797421455383, 0.3524235785007477, 0.2688324749469757, -0.09254632890224457, -0.21588240563869476, -0.21195074915885925, 0.10827186703681946, -0.019242897629737854, -0.08478598296642303, -1.0080899000167847, 0.20032215118408203, 0.3830496668815613, 0.003997213207185268, 0.49773141741752625, 0.4114179313182831, -0.37645912170410156, -0.3901890218257904, -0.43459129333496094, -0.23668929934501648, -0.5157445669174194, 0.17366264760494232, -0.0016886198427528143, -1.085341453552246, 0.10276450216770172, -0.24267354607582092, 0.09842567890882492, 0.2378004640340805, 0.3942257761955261, 0.001627290272153914, 0.5026528239250183, 0.6593583822250366, -0.3600112199783325, 0.7087230086326599, -0.13186323642730713, -0.25430208444595337, -0.6253219246864319, -0.2728942930698395, -0.658118724822998, -0.17448565363883972, -0.7757445573806763, -0.29855504631996155, 0.30444014072418213, -0.16771720349788666, -0.27864041924476624, 0.382956326007843, -0.6641124486923218, 0.5190308094024658, 0.5610212087631226, 0.20323772728443146, 0.6015684008598328, 0.26443883776664734, 0.2004273384809494, -0.01708458736538887, -0.8187057375907898, -0.677157998085022, 0.8567997217178345, 0.530712366104126, 0.6163283586502075, -0.10299999266862869, 1.0946834087371826, 0.3235895335674286, 0.2024298757314682, -1.2855297327041626, 0.7060487270355225, -0.07476142048835754, -0.5028574466705322, -0.12015519291162491, -0.5821272134780884, -1.0276225805282593, 0.14183147251605988, -0.38862505555152893, -0.9473996162414551, 0.19516992568969727, -0.05431019142270088, -0.35742852091789246, 0.34757000207901, -0.6492013931274414, 0.52000892162323, -0.106684111058712, -0.32372814416885376, 0.09716881066560745, -0.6728698015213013, 0.2743828594684601, -0.31226637959480286, 0.38913068175315857, 0.11955627053976059, -0.5552922487258911, 0.7600984573364258, -0.522128701210022, 1.4421333074569702, 0.06296458840370178, -0.02906794473528862, 0.30582937598228455, 0.07599551975727081, 0.3794551491737366, -0.16104097664356232, 0.16779962182044983, 0.06316017359495163, -0.1095535159111023, -0.2750251889228821, -0.3656313121318817, 0.21405087411403656, -0.7630725502967834, -0.43622106313705444, -0.5856689214706421, -0.17695939540863037, -0.5299841165542603, 0.24933354556560516, 0.3163837492465973, 0.6291298866271973, 0.2584080100059509, 0.14613020420074463, 0.5503413677215576, -0.10855929553508759, 0.4266532361507416, 0.2560482323169708, -0.2363518625497818, -0.34852463006973267, 0.6787850260734558, 0.01847025752067566, 0.38491806387901306, 0.6974385380744934, 0.3228110074996948, -0.23928293585777283, -0.6418557167053223, -0.09127114713191986, 0.07466690242290497, -0.4889536201953888, -0.6558531522750854, -0.6407691240310669, -0.25290340185165405, -0.28504833579063416, -0.17378279566764832, 0.02735922299325466, -0.6383520364761353, -0.5573683977127075, -0.25399670004844666, 0.4820995330810547, 0.717791736125946, -0.020171020179986954, 0.7192279696464539, -0.9604273438453674, 0.333825021982193, 0.2307438999414444, 0.16044174134731293, 0.02388472482562065, -0.6952741146087646, -0.07385488599538803, -0.2574111819267273, -0.35477063059806824, -0.6857919692993164, 0.07706885784864426, 0.5758078098297119, 0.2195964753627777, 0.49719104170799255, 0.2415211945772171, 0.5409038066864014, -0.48061230778694153, 0.7809970378875732, 0.21178682148456573, -0.9730446934700012, 0.675574779510498, -0.5310589075088501, 0.28593909740448, 0.5382777452468872, 0.48088401556015015, -0.47651174664497375, -0.7438277006149292, -0.6711828112602234, -0.9418399333953857, 0.9815959334373474, 0.16087260842323303, 0.1488915979862213, 0.08568191528320312, 0.07894928008317947, 0.11693630367517471, -0.03881623223423958, -0.7672641277313232, -0.2830270230770111, 0.0028981384821236134, -0.21877361834049225, 0.21696075797080994, -0.2993530333042145, 0.0893513411283493, -0.2678593099117279, 0.5257670879364014, -0.07209528237581253, 0.10376196354627609, 0.05075094476342201, 0.08914464712142944, -0.0654933825135231, 0.5422249436378479, 0.06151456758379936, 0.06787827610969543, -0.33583730459213257, 0.40008869767189026, 0.35638847947120667, -0.4805000424385071, 0.06355348974466324, -0.008684594184160233, -0.2875268757343292, 0.1252741664648056, 0.7865590453147888, 0.4725366234779358, 0.36758172512054443, -0.3356344699859619, 0.4736379086971283, 0.2096855789422989, -0.3574332296848297, 0.016125066205859184, 0.11656638234853745, -0.23493731021881104, 0.12962190806865692, 0.5049207806587219, -0.2149408608675003, 0.13493603467941284, -0.5271698832511902, 0.21624192595481873, 0.021070243790745735, -0.20287516713142395, -0.10193774104118347, 0.43029719591140747, 0.15080814063549042, -0.2095121592283249, 0.31259986758232117, -0.22808218002319336, -0.6667295694351196, 0.44507870078086853, 0.5028823614120483, 0.7112865447998047, 0.098056361079216, 0.49424827098846436, 0.284077525138855, 0.23888926208019257, -0.07245870679616928, -0.1202482357621193, -0.4877561330795288, -0.5710556507110596, -0.4849094748497009, -0.6434271931648254, -0.765977680683136, -0.0023621637374162674, -0.5867003202438354, 0.4338422417640686, -0.5475915670394897, -0.3319500684738159, 0.29413723945617676, 0.1023508608341217, -0.19378811120986938, 0.127041757106781, 0.3976868689060211, 0.8271852731704712, -0.789857029914856, 0.7599151730537415, 0.6411640048027039, -0.16146725416183472, -0.601738452911377, 0.07098692655563354, 0.32982754707336426, -0.4744625985622406, 0.8733639121055603, 0.22069689631462097, -0.2729419469833374, 0.009548746980726719, -0.6035923361778259, -0.4557948708534241, 0.9437867999076843, -0.057377640157938004, -0.36577796936035156, -0.16198541224002838, 0.43548548221588135, 0.7399529218673706, -0.07675573229789734, 0.27489158511161804, 0.1227244958281517, 0.34655267000198364, 0.2837107181549072, -1.1347805261611938, -0.08358582109212875, -0.09706253558397293, -0.1880614161491394, 0.18997251987457275, -0.5267283916473389, 0.13977691531181335, -0.06665287166833878, -0.37290820479393005, 0.0877968892455101, 0.6410422325134277, -0.13620784878730774, 0.525275468826294, 0.3402261435985565, 0.36576464772224426, 0.9841331243515015, -0.09033159166574478, 0.8379222750663757, 0.08395931124687195, 0.4410574734210968, 1.1864441633224487, -0.23541301488876343, 0.8541814088821411, 0.027605652809143066, -0.1987917423248291, 0.3890628516674042, 1.013851284980774, -0.19983340799808502, 0.3279751241207123, 0.06560347974300385, -0.5499750375747681, -0.44430452585220337, -0.6881611347198486, -0.3718229830265045, 0.5933390259742737, 0.30494606494903564, -0.05697530135512352, -0.5510473251342773, -0.11774710565805435, 0.17300944030284882, -0.09594286978244781, -0.5887802243232727, 0.9269008636474609, 0.10098664462566376, -0.17571428418159485, 0.6331228613853455, -0.006777922157198191, 1.082417607307434, -0.46195656061172485, 0.3073037564754486, -0.05089637637138367, 0.06018870323896408, -0.7346863150596619, -0.7291767597198486, 0.20462806522846222, 0.24122707545757294, 0.05644281208515167, -0.38734471797943115, 0.8096441030502319, -0.39586812257766724, -0.35352274775505066, 0.26494908332824707, 0.5769408345222473, 0.08461305499076843, 0.1977556049823761, -0.3801071345806122, -0.2926107943058014, -0.29577746987342834, -0.0166191216558218, 0.3829503059387207, 0.7055404186248779, 0.07579512894153595, 0.5675001740455627, 0.5310980081558228, 0.19392971694469452, -0.005048317834734917, 0.08896542340517044, 0.7898513078689575, -0.6261537671089172, -0.1694979965686798, -0.9161847233772278, 0.07405681163072586, -0.07802870124578476, -0.34394747018814087, 0.6709417104721069, 0.7319283485412598, 0.6711015701293945, 0.045134786516427994, 0.636509358882904, 0.016220223158597946, 0.2665097415447235, -0.38419580459594727, 0.2547118663787842, -0.6125497817993164, 0.192741259932518, -0.34475716948509216, -0.9102829098701477, -0.71073979139328, 0.13605156540870667, -0.32977697253227234, -0.15687651932239532, 0.8049209713935852, 0.7389290928840637, -0.11457618325948715, 0.07550173997879028, 0.2225508689880371, -0.09268976002931595, -0.08201535791158676, 0.5385271906852722, 1.058377742767334, -0.17149093747138977, 0.6255925893783569, -0.4067871570587158, -0.39282509684562683, -0.0899885818362236, -0.8015891313552856, -1.2073169946670532, -0.30551543831825256, -0.655523419380188, -0.10067214071750641, -0.1262599378824234, 1.0899440050125122, 0.6901955604553223, -0.5986711978912354, -0.18249955773353577, 0.09798654913902283, 0.23010078072547913, 0.008958152495324612, -0.27183428406715393, 0.41141602396965027, -0.6212344765663147, -0.8156512975692749, 0.18490765988826752, 0.16408686339855194, 0.2065267562866211, 0.18912717700004578, 0.45839375257492065, -0.0256970152258873, -0.3499883711338043, 0.508564829826355, 0.2125902771949768, -0.3447718322277069, -0.08184612542390823, -0.054954852908849716, -0.22300094366073608, 0.2623460590839386, 0.5591372847557068, -0.7533288598060608, 0.056565672159194946, 0.37308621406555176, 0.7660488486289978, 0.4356590807437897, 0.1710273027420044, -0.02262464538216591, -1.1407455205917358, 0.0889735221862793, 0.43906646966934204, 0.15886272490024567, 0.10946787893772125, -0.592395007610321, 0.5093526244163513, 0.4025585651397705, -0.5132287740707397, -0.8127270340919495, 0.09255141019821167, -1.2949471473693848, -0.11068878322839737, 1.4413491487503052, 0.2315485179424286, -0.2077479511499405, -0.2951386868953705, -0.2481633871793747, 0.10096212476491928, -0.46779969334602356, 0.7379376888275146, 0.4868605136871338, -0.07748425751924515, -0.26496171951293945, -0.621278703212738, 0.4749915599822998, 0.2825051248073578, -1.195754051208496, 0.24196095764636993, 0.5565186738967896, -0.14356833696365356, 0.2766346335411072, 0.4305274784564972, -0.04849743843078613, 0.13819332420825958, -0.07122217863798141, -0.16233107447624207, -0.13901808857917786, -0.3072715401649475, -0.24534288048744202, 0.3076000511646271, 0.06762759387493134, -0.21623221039772034 ]
http://arxiv.org/abs/2403.00143v1
http://arxiv.org/pdf/2403.00143v1
Ensemble-Based Unsupervised Discontinuous Constituency Parsing by Tree Averaging
2024-02-29T21:49:31
2024-02-29T21:49:31
Behzad Shayegh, Yuqiao Wen, Lili Mou
cs.CL
cs.CL, cs.AI, cs.LG
We address unsupervised discontinuous constituency parsing, where we observe a high variance in the performance of the only previous model. We propose to build an ensemble of different runs of the existing discontinuous parser by averaging the predicted trees, to stabilize and boost performance. To begin with, we provide comprehensive computational complexity analysis (in terms of P and NP-complete) for tree averaging under different setups of binarity and continuity. We then develop an efficient exact algorithm to tackle the task, which runs in a reasonable time for all samples in our experiments. Results on three datasets show our method outperforms all baselines in all metrics; we also provide in-depth analyses of our approach.
[ -0.40330299735069275, -0.5192536115646362, 0.507062554359436, 0.34270721673965454, -0.5164827704429626, 0.5758927464485168, -0.10444306582212448, -0.3929612934589386, 0.25793159008026123, 0.45458102226257324, -0.39185988903045654, -0.4656158685684204, -0.5732492208480835, 0.043910056352615356, -0.44952574372291565, 0.33126166462898254, 0.6870534420013428, 0.26973506808280945, -0.2629440128803253, -0.3958568871021271, -0.36946526169776917, -0.20792052149772644, -0.5981535315513611, -0.2808014452457428, 0.10724605619907379, 0.5065015554428101, 0.37987884879112244, 0.6427339911460876, 0.26304754614830017, 0.44635844230651855, -0.48969072103500366, 0.09115472435951233, -0.23898915946483612, 0.18277214467525482, -0.06440722197294235, -0.36376744508743286, -0.07200176268815994, -0.09681352227926254, 0.9745912551879883, 1.3472108840942383, -0.4506196677684784, -0.24584682285785675, 0.18836188316345215, 0.7837693095207214, -0.6071814298629761, -0.052520137280225754, -0.9410425424575806, 0.020536502823233604, -0.21299241483211517, -0.3885752260684967, -0.46202003955841064, -0.4905698001384735, 0.030130822211503983, -0.36537614464759827, 0.19970861077308655, -0.05635783076286316, 0.10293392837047577, 0.19624672830104828, -0.24421006441116333, 0.12696440517902374, -0.5082806348800659, 0.7962490320205688, -0.807976245880127, 0.32431647181510925, 0.04182947799563408, 0.11797785758972168, -0.33754491806030273, -0.6673084497451782, -0.008564761839807034, 0.11915263533592224, 0.08157478272914886, 0.30819377303123474, -0.506342887878418, 0.3458199203014374, 0.007749853190034628, 0.3236251175403595, -0.3549274504184723, 0.42868033051490784, -0.03903486952185631, 0.3124769628047943, 0.4339359998703003, -0.14655162394046783, -0.12249898910522461, -0.2799009680747986, -0.18230977654457092, 0.015255442820489407, -0.2655542492866516, 0.210411936044693, 0.3479132652282715, 0.1705697774887085, -0.00045461926492862403, 0.37798741459846497, -0.4387289881706238, 0.6657905578613281, -0.029208339750766754, 0.48329252004623413, -0.06387125700712204, -0.08347611129283905, -0.5770647525787354, 0.34622257947921753, 0.729911208152771, 0.39082029461860657, 0.14058905839920044, -0.23469533026218414, -0.11651835590600967, 0.2086031287908554, -0.09445781260728836, -0.472095787525177, -0.7156692147254944, 0.537063717842102, -0.5678211450576782, -0.48108765482902527, -0.18728883564472198, -1.3618959188461304, -0.48611918091773987, -0.531191885471344, -0.07878126204013824, -0.5542778968811035, -0.46892720460891724, -0.10762212425470352, -0.18850231170654297, -0.3904755711555481, 0.38429564237594604, -0.6776115298271179, 0.7220659255981445, 0.703706681728363, 0.9820064306259155, 0.08624057471752167, -0.34575173258781433, -0.7567502856254578, -0.36281201243400574, -0.4947341978549957, 1.003824234008789, -0.8152928948402405, -0.38465872406959534, -0.16071929037570953, -0.20319832861423492, -0.28689101338386536, -0.5454105138778687, 0.37597164511680603, -0.20912957191467285, 0.20909909904003143, -0.1836341768503189, -0.6846172213554382, -0.30467522144317627, -0.03297726437449455, -0.5763257741928101, 0.9342703819274902, 0.19611094892024994, -0.7862192988395691, 0.46267828345298767, -0.6340703368186951, 0.18594127893447876, 0.0875236988067627, -0.15393537282943726, -0.2948412001132965, 0.4471479654312134, 0.507956862449646, 0.3972405791282654, -0.0507986843585968, 0.3449782133102417, -0.5681982636451721, -0.19394944608211517, 0.1614949256181717, -0.5762837529182434, 1.187490463256836, -0.08195466548204422, -0.22183357179164886, 0.18063092231750488, -1.0456920862197876, 0.4046193063259125, -0.312227338552475, -0.047897931188344955, -0.380275696516037, 0.5563789010047913, 0.052249178290367126, -0.2161245346069336, -0.022374937310814857, -0.6316837668418884, 0.21915777027606964, -0.669999361038208, 0.4188123643398285, 0.801118791103363, 0.15901623666286469, 0.24867036938667297, -0.24506598711013794, 0.09122870862483978, 0.255186527967453, -0.11707417666912079, -0.22523611783981323, -0.40911513566970825, -0.5650712847709656, -0.3720643222332001, 0.8795756697654724, 0.4674227833747864, -0.18080578744411469, 0.7784967422485352, -0.16794508695602417, -0.4201839566230774, -0.24350446462631226, 0.027076978236436844, 0.2568710148334503, 0.20736749470233917, 0.24826611578464508, -0.7145165205001831, -0.8998829126358032, -0.6838918924331665, 0.1477556675672531, -0.45042598247528076, -0.1003502607345581, -0.1762302815914154, 0.1671563684940338, 0.02332606166601181, 1.0590052604675293, -0.19557981193065643, 0.25267308950424194, 0.05384187400341034, 0.5565224885940552, 0.34662607312202454, 0.47219714522361755, 0.33826392889022827, -0.36072245240211487, -0.07967445999383926, 0.32688820362091064, -0.573927640914917, -0.39676323533058167, -0.09482837468385696, 0.10757360607385635, 0.23611141741275787, 0.3322974741458893, -0.6305088400840759, 0.21900391578674316, 0.5808004140853882, -0.29500001668930054, 0.46366262435913086, -0.13992983102798462, 0.19255304336547852, -1.1078449487686157, 0.0224558524787426, 0.05032815411686897, -0.49667903780937195, -0.3514213562011719, -0.3157241642475128, -0.18132522702217102, -0.007433322258293629, -0.293785035610199, -0.2071256786584854, -0.5867338180541992, -0.5174792408943176, -0.1371227204799652, -0.19531194865703583, -0.2670244574546814, 0.4918442666530609, 0.16716153919696808, 0.2606087028980255, 0.7425645589828491, -0.26704445481300354, 0.24817505478858948, -0.2162644863128662, -0.2898324131965637, 0.6969336271286011, -0.5412325263023376, -0.22842374444007874, -0.2432655692100525, 0.18323670327663422, -1.2651276588439941, -0.2731596529483795, -0.04375994950532913, -0.42615562677383423, 0.31947728991508484, -0.5469658970832825, -0.23560605943202972, 0.004111289046704769, -0.4218844473361969, 0.4146222472190857, 0.3128247559070587, -0.692506730556488, 0.4078136384487152, 0.2618403732776642, -0.2036348581314087, -0.2848612666130066, -0.22874665260314941, 0.1697123497724533, -0.3828914761543274, -0.6187459230422974, 0.26461467146873474, 0.322397381067276, -0.42698022723197937, 0.1496933549642563, 0.06517180055379868, -0.10964629054069519, 0.15098212659358978, 0.28476807475090027, -0.16998735070228577, -0.45618608593940735, -0.061941470950841904, 0.097492516040802, -0.06425916403532028, 0.0762738436460495, -0.3033343553543091, 0.5995160937309265, -0.1874740719795227, -0.5090358257293701, -0.4732467532157898, 0.738966703414917, 1.0000320672988892, -0.17583420872688293, 0.03920686990022659, -0.16966493427753448, -0.5283389687538147, -0.05445926636457443, -0.45026013255119324, 0.2744320333003998, -0.41212230920791626, 0.21347655355930328, 0.13143502175807953, -0.6885415315628052, 0.6980923414230347, -0.566805362701416, 0.313141405582428, 0.42030516266822815, 0.4446956217288971, -0.23032993078231812, 0.9057340621948242, 0.3328060805797577, -0.2755360007286072, 0.29112985730171204, -0.06771855056285858, -0.16480527818202972, -0.609926700592041, -0.10927076637744904, -0.7095717191696167, -0.3728378713130951, -0.8918291926383972, -0.3159557282924652, 0.1308472454547882, 0.5286007523536682, -0.25127875804901123, -0.02381453663110733, -0.8444319367408752, 0.6617125868797302, 0.6833568811416626, -0.11863890290260315, 0.26908400654792786, 0.08486299216747284, 0.029525374993681908, 0.2950786352157593, -0.7631891369819641, -0.1907956302165985, 0.8639793992042542, 0.39403146505355835, 0.46022677421569824, 0.09748987853527069, 0.7740798592567444, 0.257484495639801, -0.12547022104263306, -0.7136809825897217, 0.38387444615364075, -0.13335679471492767, 0.07196423411369324, -0.526343584060669, -0.49551311135292053, -1.225929617881775, 0.5874881148338318, 0.07832979410886765, -1.3314595222473145, 0.7066203951835632, 0.031396638602018356, -0.35922232270240784, 0.4469974935054779, -0.6864644289016724, 0.6720245480537415, -0.05964702367782593, -0.0645064264535904, 0.20316395163536072, -0.8486095070838928, 0.5993966460227966, 0.019750826060771942, 0.04633728787302971, 0.038008831441402435, 0.06021447107195854, 0.9755797982215881, -0.3460976183414459, 0.936225950717926, -0.31203943490982056, 0.5828462839126587, 0.34802502393722534, 0.06772034615278244, 0.4039860665798187, 0.20865829288959503, -0.0017478218069300056, 0.3763977885246277, 0.23849919438362122, -0.4075128734111786, -0.5822870135307312, 0.6402599215507507, -0.6664685010910034, -0.22966735064983368, -0.6794939041137695, -0.24751973152160645, -0.3570525050163269, 0.13874852657318115, 0.07429839670658112, 0.4470100700855255, -0.3943081796169281, 0.6004318594932556, 0.563363254070282, 0.5618597269058228, 1.1455304622650146, 0.1570928692817688, -0.019480442628264427, -0.7630909085273743, 0.48379451036453247, 0.18814055621623993, -0.1196858361363411, 0.3931964635848999, 0.39101967215538025, -0.6613077521324158, -0.7448787093162537, -0.5969875454902649, -0.26670175790786743, -0.3733932673931122, -0.4274826943874359, -0.8215048313140869, -0.16023294627666473, -0.14402805268764496, -0.06512273102998734, -0.45856502652168274, -0.6502971053123474, -0.25182268023490906, 0.2035342901945114, 0.36352187395095825, 0.42756086587905884, -0.24629318714141846, 0.6637334823608398, -0.7834212183952332, -0.22291886806488037, 0.2748979330062866, 0.3891806900501251, -0.2720341682434082, -0.019694792106747627, 0.23800376057624817, 0.12054263800382614, -0.4532430171966553, -1.166495442390442, 0.19566848874092102, 0.29138249158859253, 0.5405938029289246, 0.5134127140045166, -0.1402789205312729, 0.8363156914710999, -0.29489293694496155, 0.757499098777771, 0.4153610169887543, -0.9863435626029968, 0.4492014944553375, -0.4613316059112549, 0.27442625164985657, 0.8708696961402893, -0.0933706983923912, -0.37311092019081116, -0.29669904708862305, -0.9064264297485352, -0.7639784812927246, 0.6580040454864502, 0.5378541350364685, -0.3696517050266266, 0.19865432381629944, -0.05014726147055626, -0.2465386837720871, 0.014804345555603504, -0.5072503089904785, 0.05088016018271446, -0.21337810158729553, -0.11486656963825226, -0.019916221499443054, -0.16404065489768982, -0.23168233036994934, -0.33967825770378113, 0.5226876735687256, -0.1270221769809723, 0.061720624566078186, 0.019100386649370193, 0.39655473828315735, -0.5006120800971985, 0.44702085852622986, 0.3730658292770386, 0.9399552345275879, -0.5043942928314209, 0.3564310371875763, 0.21869400143623352, -0.158682182431221, 0.30524688959121704, 0.37166211009025574, 0.2976755201816559, 0.21744850277900696, 0.6055248975753784, 0.507622480392456, 0.38806843757629395, -0.5683884620666504, 0.28675007820129395, -0.1325145959854126, -0.29726311564445496, -0.23405064642429352, -0.1284869760274887, 0.2974410653114319, 0.28067636489868164, 0.30264589190483093, 0.31093087792396545, 0.1313331425189972, -0.3548080623149872, 0.5325151681900024, 0.4911937713623047, -0.2147306501865387, -0.00042326198308728635, 0.19271954894065857, 0.07953321188688278, -0.3268234431743622, 0.5034849047660828, -0.014484904706478119, -0.4240931570529938, 0.7776774764060974, 0.4048340916633606, 0.8483242392539978, -0.6646772027015686, 0.18272936344146729, 0.09117906540632248, 0.37533435225486755, -0.13387596607208252, 0.13012248277664185, -0.2642936706542969, -0.29284220933914185, -0.4382462203502655, -0.8656954169273376, -0.5010833740234375, 0.1843569576740265, -0.5936137437820435, 0.1302584558725357, -0.4430859088897705, 0.3669050633907318, 0.32968902587890625, 0.1208772361278534, -0.014743917621672153, 0.49127042293548584, -0.5062595009803772, 0.6741172075271606, -0.985161304473877, 0.423054039478302, 0.5606194734573364, 0.27019059658050537, -0.5650272369384766, -0.054211750626564026, 0.00031929684337228537, -0.42898064851760864, -0.16946616768836975, 0.08853823691606522, 0.13892300426959991, -0.02670242264866829, -0.17303381860256195, -0.8108960390090942, 0.8711994886398315, 0.2978545129299164, -1.0617611408233643, 0.23939451575279236, 0.02431446500122547, 0.46157434582710266, -0.3592718541622162, 0.4956805109977722, 0.8311874866485596, 0.13019990921020508, 0.5398159623146057, -0.5719031095504761, -0.2955555021762848, -0.2203277051448822, 0.08513718843460083, 0.6692468523979187, -0.3161439299583435, 0.8312494158744812, 0.466791033744812, -0.18751072883605957, -0.03331529721617699, 0.6208198666572571, 0.25448471307754517, 0.7133257985115051, 0.8004341125488281, 0.9805355072021484, 1.004287600517273, 0.09260173887014389, 0.6102542877197266, -0.3439220190048218, 0.5251350998878479, 1.316779375076294, -0.09653908759355545, 0.8423426151275635, 0.4613238275051117, -0.46778473258018494, 0.22606107592582703, 1.1118875741958618, 0.22254343330860138, 0.4515363872051239, 0.17485199868679047, -0.6020188927650452, -0.4752098619937897, 0.0767965242266655, -0.46570301055908203, 0.8241273760795593, 0.2664213478565216, -0.4735512137413025, -0.8278616070747375, -0.5410653948783875, -0.32059112191200256, 0.038010258227586746, -0.32167237997055054, 0.7346413135528564, -0.059986013919115067, -0.7906885147094727, 0.6302779316902161, -0.01899607479572296, 0.183799147605896, -0.35029101371765137, -0.3398404121398926, -0.06359922140836716, -0.1909300982952118, -0.38432395458221436, -0.734102189540863, 0.3500572443008423, -0.16902586817741394, -0.057027943432331085, 0.07806761562824249, 0.5172804594039917, -0.17702071368694305, -0.9950236678123474, -0.028944533318281174, 0.6020233631134033, 0.22845101356506348, -0.09935466200113297, -0.5107151865959167, -0.062424398958683014, 0.008777356706559658, -0.13297607004642487, 0.2118537425994873, 0.7453051805496216, -0.13560941815376282, 0.2655560374259949, 0.6689121723175049, 0.09964123368263245, 0.07225264608860016, -0.14432600140571594, 1.1414040327072144, -0.3708549439907074, -0.46131572127342224, -1.037237286567688, 0.6730153560638428, -0.39515936374664307, -0.3739747703075409, 0.4865662455558777, 0.9695262312889099, 0.564307689666748, 0.3577096164226532, 0.6294165253639221, -0.05269971489906311, 0.3516806960105896, -0.6238288283348083, 0.5174362659454346, -0.4474361836910248, 0.4085348844528198, -0.30643174052238464, -1.0718939304351807, -0.3761485517024994, 0.37556377053260803, 0.11264554411172867, -0.014909093268215656, 0.645591139793396, 0.8219351768493652, -0.5658117532730103, 0.5060575604438782, 0.5295026302337646, 0.017134999856352806, 0.1708049774169922, 0.6145733594894409, 0.8359532952308655, 0.08558563143014908, 0.008686638437211514, -0.48195314407348633, -0.7176564931869507, 0.011988053098320961, -0.9818269610404968, -0.6949911117553711, -0.41811856627464294, -0.3204841911792755, -0.2175479680299759, 0.13445177674293518, 0.9117816090583801, 0.6915692687034607, -0.7549018263816833, -0.3172445595264435, -0.889782726764679, 0.18874609470367432, -0.2228098213672638, -0.17383933067321777, 0.5997722148895264, -0.39270251989364624, -0.5578263401985168, 0.47089484333992004, 0.4198402762413025, -0.30875182151794434, -0.3233327865600586, 0.3367089033126831, -0.36563989520072937, 0.022645721212029457, 0.5357779860496521, 0.27068954706192017, -0.5590754151344299, -0.4102206826210022, -0.5461156368255615, 0.5278801321983337, 0.49403515458106995, 0.7791765928268433, -0.6806411743164062, 0.6330344080924988, 0.5306054949760437, 0.5848450064659119, 0.3421610891819, 0.5500524044036865, 0.11517930775880814, -0.9811599254608154, -0.04458227381110191, 0.6385456323623657, 0.42874664068222046, 0.21435703337192535, -0.33709073066711426, 0.40127071738243103, 0.631575882434845, -0.612602174282074, -0.8924323916435242, 0.02462908625602722, -1.3703469038009644, -0.3692464530467987, 0.8301476240158081, -0.07252304255962372, -0.41514480113983154, -0.2156413346529007, -0.20194010436534882, 0.18745462596416473, -0.41207942366600037, 0.7124327421188354, 0.6138089895248413, -0.4814385175704956, -0.5646183490753174, 0.025444529950618744, 0.12267287820577621, 0.4127245843410492, -0.9849898219108582, 0.4593791365623474, 0.7207019329071045, 0.3346695899963379, 0.18209360539913177, 0.8051872849464417, -0.0571158342063427, 0.46921423077583313, 0.2781108319759369, -0.35840746760368347, 0.2837052643299103, -0.42714065313339233, -0.5946587324142456, 0.6847391128540039, -0.06490577757358551, -0.6013683080673218 ]
http://arxiv.org/abs/2403.00144v1
http://arxiv.org/pdf/2403.00144v1
EBBS: An Ensemble with Bi-Level Beam Search for Zero-Shot Machine Translation
2024-02-29T21:49:31
2024-02-29T21:49:31
Yuqiao Wen, Behzad Shayegh, Chenyang Huang, Yanshuai Cao, Lili Mou
cs.CL
cs.CL, cs.AI, cs.LG, I.2.7; I.2.6; I.2.m; I.5.1; I.7.m
The ability of zero-shot translation emerges when we train a multilingual model with certain translation directions; the model can then directly translate in unseen directions. Alternatively, zero-shot translation can be accomplished by pivoting through a third language (e.g., English). In our work, we observe that both direct and pivot translations are noisy and achieve less satisfactory performance. We propose EBBS, an ensemble method with a novel bi-level beam search algorithm, where each ensemble component explores its own prediction step by step at the lower level but they are synchronized by a "soft voting" mechanism at the upper level. Results on two popular multilingual translation datasets show that EBBS consistently outperforms direct and pivot translations as well as existing ensemble techniques. Further, we can distill the ensemble's knowledge back to the multilingual model to improve inference efficiency; profoundly, our EBBS-based distillation does not sacrifice, or even improves, the translation quality.
[ -0.14976167678833008, -0.7282053232192993, 0.6397039294242859, 0.03407058119773865, -0.4659053385257721, 0.47497865557670593, 0.0020378592889755964, -0.5756033658981323, 0.3712860643863678, 0.06491915881633759, -0.5931790471076965, -0.5802861452102661, -0.778612494468689, 0.22883360087871552, -0.6491535902023315, 1.1514755487442017, -0.15908513963222504, 0.2875802516937256, 0.5244112610816956, 0.19194938242435455, -0.2123168259859085, 0.05337769538164139, -0.3746533691883087, -0.24163173139095306, 0.6625714302062988, 0.2920249402523041, 0.5579054951667786, 0.416677325963974, 0.4203933775424957, 0.3411630094051361, -0.16273748874664307, 0.16319359838962555, -0.5723769068717957, 0.6664716601371765, -0.14290829002857208, -0.6752158403396606, -0.37073588371276855, -0.20494748651981354, 0.7255414128303528, 0.8321925401687622, -0.23651115596294403, 0.058720409870147705, -0.0947687178850174, 0.6962732076644897, -0.6644337773323059, 0.18042805790901184, -0.689145028591156, 0.4296857714653015, -0.508119523525238, -0.2907249331474304, -0.6391641497612, -0.021120021119713783, -0.20810472965240479, -0.3677651882171631, 0.46252503991127014, 0.5323725342750549, 0.6185272932052612, 0.030845453962683678, -0.4849626421928406, 0.03491456061601639, -0.7710747122764587, 0.8783268928527832, -0.564626157283783, 0.46913787722587585, 0.010357355698943138, 0.305459201335907, -0.2770169675350189, -0.4327859580516815, -0.5202203392982483, 0.08951400965452194, 0.014816530980169773, 0.39829951524734497, -0.1840629279613495, 0.27394986152648926, -0.1766190379858017, 0.2997014820575714, -0.9003075361251831, 0.029667330905795097, -0.5938909649848938, -0.11594321578741074, 0.5585242509841919, 0.15457512438297272, 0.31925860047340393, 0.21757949888706207, -0.22802314162254333, -0.23570945858955383, -0.4560622274875641, -0.07123187929391861, 0.15798543393611908, 0.6353035569190979, 0.07458408176898956, 0.447965532541275, -0.5040434002876282, 0.9355311989784241, 0.42751067876815796, 0.20358344912528992, 0.495104044675827, -0.24747082591056824, -0.18295787274837494, 0.43686529994010925, 0.640595018863678, 0.024975115433335304, -0.2084551900625229, -0.4017777144908905, -0.470130980014801, -0.23968136310577393, 0.002000667154788971, -0.7951990365982056, -0.011102557182312012, 0.3966476023197174, -0.3189755976200104, -0.18880626559257507, 0.10821105539798737, -0.7976415753364563, -0.05515217036008835, -0.08459416776895523, 0.5440031290054321, -0.2359534502029419, -0.26056793332099915, 0.07884801179170609, -0.30994585156440735, 0.2085074633359909, 0.23882882297039032, -0.9425579905509949, -0.06094178929924965, 0.5370506048202515, 1.0735704898834229, 0.14871586859226227, -0.7802609801292419, -0.8519344329833984, 0.3415963649749756, -0.8513091206550598, 0.8967768549919128, -0.4815860688686371, -0.19519124925136566, 0.051434244960546494, 0.0575343556702137, 0.002515062689781189, -0.1601417064666748, 0.08744240552186966, -0.5489104390144348, 0.19308140873908997, 0.1147148460149765, -0.36319106817245483, -0.219078928232193, 0.057216085493564606, -0.41744348406791687, 0.7709662318229675, -0.16785869002342224, -0.09469368308782578, 0.501513659954071, -0.39040330052375793, -0.7020324468612671, 0.18124648928642273, -0.12344256788492203, -0.30217474699020386, 0.6130571365356445, 0.18280045688152313, 0.6188921928405762, -0.20701882243156433, 0.20985722541809082, -0.4894729256629944, -0.5494208335876465, -0.1356680989265442, -0.3337317407131195, 0.7801145911216736, 0.3581153452396393, -0.3702148497104645, -0.09419244527816772, -0.26691189408302307, -0.020732790231704712, 0.057477373629808426, -0.04726340249180794, -0.19313810765743256, 0.004511469043791294, -0.1506955921649933, 0.030489038676023483, 0.16045479476451874, -0.7370038628578186, 0.1294214427471161, -0.5758575201034546, 0.26481956243515015, 0.6383962631225586, -0.2638818919658661, 0.864272952079773, -0.19927187263965607, 0.3408346176147461, 0.2696308493614197, 0.11115437746047974, -0.3197186589241028, -0.7723594903945923, -0.3751450479030609, -0.254893958568573, 0.20553697645664215, 0.4518628716468811, -0.8843051791191101, 0.2405233532190323, -0.3202228844165802, -0.6214781403541565, -0.8160989880561829, 0.2801534831523895, 0.5047609210014343, 0.249842569231987, 0.6155886054039001, -0.25434380769729614, -0.08745615184307098, -0.8014635443687439, -0.2838536202907562, -0.3052527606487274, 0.05466390773653984, -0.47874465584754944, 0.2724689841270447, 0.11219783127307892, 0.3700401484966278, -0.313189297914505, -0.2862805426120758, -0.3984021842479706, 0.5649358034133911, 0.5972782969474792, 0.4074919521808624, 0.5482742190361023, -0.7441962957382202, -0.8517648577690125, 0.39789795875549316, -0.624954342842102, -0.169411763548851, -0.13674865663051605, -0.490212619304657, 0.2538526654243469, 0.2417031079530716, -0.5603242516517639, 0.31958505511283875, 0.6068207025527954, -0.1482456475496292, 0.03564908355474472, -0.2687057852745056, 0.39071911573410034, -1.0291990041732788, -0.11808674037456512, -0.17931023240089417, -0.20416854321956635, -0.8485581278800964, 0.4033780097961426, 0.3434896469116211, -0.2026601880788803, -0.5333465337753296, 0.3820838928222656, -0.916916012763977, -0.2143300324678421, -0.03434254601597786, 0.37320035696029663, 0.17717896401882172, 0.5633788108825684, -0.03067800961434841, 0.3277912735939026, 0.6323140263557434, -0.412254273891449, 0.5249266028404236, 0.31418031454086304, -0.40891656279563904, 0.6710371375083923, -0.22583413124084473, 0.19419646263122559, -0.34674516320228577, 0.3102002739906311, -1.1366016864776611, -0.2134639471769333, 0.10412406921386719, -0.6413004994392395, 1.1095679998397827, -0.17183180153369904, -0.32963523268699646, -0.28586432337760925, -0.33847576379776, 0.2484281361103058, 0.3517720103263855, -0.3283790647983551, 0.41576579213142395, 0.32450053095817566, -0.33103233575820923, -0.733793318271637, -1.143811821937561, 0.19828997552394867, 0.2694817781448364, -0.6253734827041626, 0.5983821153640747, 0.11205586045980453, 0.013409951701760292, 0.029141152277588844, -0.1688382923603058, -0.27607497572898865, 0.004148443695157766, -0.43128082156181335, 0.40598347783088684, -0.14471983909606934, 0.060952939093112946, 0.5303312540054321, -0.13548217713832855, -0.6658579707145691, -0.4297797381877899, 0.5065674185752869, -0.24901829659938812, -0.5815763473510742, -0.16123440861701965, 0.6365117430686951, 0.6861165165901184, -0.21188296377658844, 0.8260459303855896, 0.7388829588890076, -0.2336108684539795, -0.35849693417549133, -0.5256050229072571, -0.15477825701236725, -0.4122547507286072, 0.7115610241889954, -0.4063931107521057, -0.4827088713645935, 0.3584737181663513, 0.19032855331897736, 0.44134122133255005, 0.2856438457965851, 0.6998387575149536, -0.39386942982673645, 1.3676077127456665, 0.24115097522735596, -0.04438678175210953, 0.38254112005233765, -0.13966473937034607, 0.637926459312439, -0.5432094931602478, -0.32050633430480957, -0.6479688882827759, -0.9990526437759399, -0.5967816114425659, -0.3024806082248688, 0.7072454690933228, 0.24914239346981049, -0.2235405147075653, 0.6494616866111755, -0.588076651096344, 0.418340265750885, 0.5963389277458191, 0.12000586092472076, 0.24270984530448914, 0.17611733078956604, -0.08769486844539642, 0.23734767735004425, -0.7509903311729431, -0.085244320333004, 0.8528032898902893, -0.08761398494243622, 0.5794682502746582, 0.5247176885604858, 1.1924537420272827, 0.05193231254816055, 0.08975774049758911, -0.8511313796043396, 0.41720137000083923, -0.1624811738729477, -1.0978376865386963, -0.6309433579444885, -0.5964466333389282, -1.0550086498260498, 0.54587322473526, -0.1997711956501007, -0.42068806290626526, 0.2680444121360779, -0.03782748803496361, -0.4416528642177582, 0.5110885500907898, -0.7014948129653931, 0.6856701970100403, -0.5240350365638733, -0.5981569290161133, -0.3427896201610565, -0.8079895973205566, 0.01832420937716961, -0.20583222806453705, 0.5036502480506897, -0.1276901662349701, 0.01758440025150776, 0.21119944751262665, -0.14104412496089935, 0.5129784941673279, -0.3666912019252777, 0.12339036911725998, 0.11968954652547836, 0.6386606097221375, 0.5261508226394653, -0.48380592465400696, -0.27451378107070923, 0.48138242959976196, 0.23033510148525238, -0.7914320826530457, -0.5535687804222107, 0.46600207686424255, -0.5724548101425171, -0.6613191366195679, -0.3070715367794037, -0.4191068112850189, -0.13452664017677307, 0.25615233182907104, 0.2963927090167999, 0.3262077867984772, 0.014102078042924404, 0.44318056106567383, 0.20875631272792816, -0.043682537972927094, 0.6549393534660339, 0.8167677521705627, -0.4652450382709503, -0.17593006789684296, 0.9574770331382751, 0.3710551857948303, 0.21619680523872375, 0.8012039065361023, 0.08655375987291336, -0.3237917721271515, -0.7343562841415405, -1.2431237697601318, -0.06056968495249748, -0.33927080035209656, -0.4916245937347412, -0.263500452041626, 0.12523525953292847, -0.5938636064529419, -0.4254983067512512, -0.3036850392818451, -0.3791048526763916, 0.15656521916389465, -0.22650720179080963, -0.0551065094769001, 0.7785892486572266, -0.3257957398891449, -0.039313044399023056, -1.255537748336792, 0.0883200615644455, 0.014027555473148823, 0.25108733773231506, -0.3285341262817383, -0.8111931681632996, -0.53474360704422, 0.14695940911769867, -0.5322846174240112, -1.3825922012329102, 0.6928257346153259, 0.43067121505737305, 0.8672550320625305, 0.2800697386264801, 0.07780966907739639, 0.806330680847168, -0.6543564200401306, 0.7644316554069519, 0.61235111951828, -1.050087571144104, 0.37274476885795593, -0.23211845755577087, 0.10506762564182281, 0.5953029990196228, 0.26991361379623413, -0.4704906642436981, -0.4775596261024475, -0.15704192221164703, -0.842321515083313, 0.9051980972290039, 0.07651383429765701, 0.14862075448036194, -0.10343074053525925, -0.033938921988010406, 0.027760321274399757, 0.4453567564487457, -0.5778260827064514, -0.013182951137423515, -0.04192695394158363, -0.3202578127384186, -0.22758400440216064, 0.19030936062335968, 0.16320936381816864, -0.07347407191991806, 0.8322381973266602, 0.021196825429797173, 0.23278316855430603, 0.16651926934719086, -0.3398248255252838, -0.652824878692627, 0.23750774562358856, 0.2825694680213928, 0.048374611884355545, -0.13319315016269684, 0.16150589287281036, 0.2882096767425537, -0.06855592876672745, 0.3759550154209137, -0.08466490358114243, -0.40372347831726074, 0.2572457194328308, 0.36511585116386414, 0.7859770059585571, 0.4959442615509033, -0.34932759404182434, 0.5408567190170288, 0.5880265831947327, -0.2707532048225403, 0.12333295494318008, -0.3621765673160553, -0.1135675311088562, 0.3727447986602783, 0.4437892735004425, 0.17572322487831116, 0.39186757802963257, -0.8954712748527527, 0.06371281296014786, 0.3131101131439209, -0.38174352049827576, -0.47730356454849243, 0.4925670623779297, 0.4068523049354553, -0.4001935124397278, 0.42969396710395813, -0.5129426717758179, -0.44035959243774414, 0.34734073281288147, 0.35542231798171997, 1.0189985036849976, -0.6854705214500427, 0.38502082228660583, 0.3999774158000946, 0.4830962121486664, -0.30511465668678284, 0.054322272539138794, -0.1529792696237564, -0.765771210193634, -0.5697758197784424, -0.7163721919059753, -0.4548521339893341, -0.48713114857673645, -0.6945464015007019, 0.4813764691352844, 0.028031399473547935, 0.042614199221134186, -0.23007714748382568, -0.11923597007989883, -0.5792113542556763, -0.3166472613811493, 0.5898705124855042, 0.5817368626594543, -0.7171006798744202, 0.7544106245040894, 0.6937797665596008, -0.5079219937324524, -0.4945628345012665, -0.08525400608778, 0.21216540038585663, -0.805594265460968, 0.5977585911750793, 0.09430985152721405, -0.31790176033973694, 0.08818904310464859, -0.43545860052108765, -0.7574265599250793, 1.1259911060333252, 0.4594544470310211, -0.9717999696731567, -0.2029077559709549, -0.004569338168948889, 0.4915652275085449, 0.08608297258615494, 0.410459041595459, 0.23183901607990265, 0.6169289350509644, 0.2582997977733612, -1.1333180665969849, -0.39167165756225586, -0.31042951345443726, -0.1777796447277069, 0.4848359525203705, -0.7753877639770508, 1.029494047164917, -0.07799974828958511, -0.40822768211364746, -0.16092531383037567, 0.49374479055404663, -0.029662223532795906, 0.5673601627349854, 0.2343970388174057, 0.37018364667892456, 0.7570174932479858, -0.006228042300790548, 0.8844205737113953, -0.695393979549408, 0.49089759588241577, 0.9201584458351135, -0.7764223217964172, 1.0097157955169678, 0.6175360083580017, -0.19915364682674408, 0.5023488402366638, 0.49634361267089844, 0.11479419469833374, 0.7710758447647095, 0.012734636664390564, -0.3168725371360779, -0.48132064938545227, 0.3130881190299988, -0.21667563915252686, 0.4414999186992645, 0.2299310714006424, -0.20226922631263733, -0.43682295083999634, -0.20943482220172882, -0.16831687092781067, 0.029960837215185165, -0.3450499475002289, 0.6529245376586914, 0.12156917154788971, -0.7246127128601074, 0.4356496334075928, 0.15341567993164062, 0.5156911611557007, -0.5338841676712036, -0.05698496103286743, -0.25705549120903015, 0.12421279400587082, -0.11178798228502274, -0.8578459620475769, 0.49623769521713257, -0.04907860606908798, 0.07545492798089981, -0.5218068361282349, 0.397705614566803, -0.6472516655921936, -0.7044440507888794, 0.6748847961425781, 1.0436699390411377, 0.44324854016304016, 0.029644344002008438, -0.6526250243186951, -0.2735740840435028, 0.07473436743021011, -0.45000067353248596, 0.461335152387619, 0.7278534173965454, 0.34540456533432007, 0.2634905278682709, 0.5439860224723816, 0.3468055725097656, 0.3157665729522705, -0.18420195579528809, 0.391163170337677, -0.39393725991249084, -0.2697151303291321, -0.8336982727050781, 0.44294029474258423, -0.035055436193943024, -0.011152477003633976, 0.430656760931015, 0.4615193009376526, 1.1830300092697144, -0.06829437613487244, 0.7618817090988159, -0.09122336655855179, 0.5150357484817505, -0.44751185178756714, 0.7046201825141907, -0.7348763346672058, -0.14928030967712402, -0.15620262920856476, -1.0622941255569458, -0.4992651343345642, 0.8583537936210632, -0.322797954082489, -0.12073830515146255, 0.7073420882225037, 0.9986559152603149, -0.033184923231601715, 0.09931167215108871, 1.0485042333602905, 0.4530009329319, 0.13456538319587708, 0.6847370862960815, 0.6160656213760376, -0.550003707408905, 0.8210700154304504, -0.1770181655883789, -0.37711888551712036, -0.2675491273403168, -0.6987777352333069, -0.5955838561058044, -0.5264338850975037, 0.04960789158940315, 0.07031034678220749, 0.0336519218981266, 1.1252343654632568, 0.6571382284164429, -0.9908298254013062, -0.36664867401123047, -0.05933525785803795, -0.1385338306427002, -0.28750357031822205, -0.08007023483514786, -0.13121524453163147, -0.775583803653717, -1.2272266149520874, 0.842350423336029, 0.5174731612205505, -0.2630639672279358, -0.2594744563102722, -0.14155437052249908, -0.27871695160865784, 0.02884450927376747, 0.5467444062232971, -0.004116234835237265, -0.5923123955726624, -0.1473502814769745, 0.26652947068214417, -0.037348221987485886, -0.16807042062282562, 0.534212589263916, -0.2428785264492035, 0.8705695867538452, 0.8259596824645996, 0.4692537486553192, 0.7707958817481995, -0.4766709506511688, 0.5915482640266418, -0.5564906001091003, 0.191136434674263, 0.16706563532352448, 0.6591156721115112, 0.0942334309220314, -0.1528780162334442, 0.47571679949760437, 0.35976964235305786, -0.3896804451942444, -0.7994900941848755, 0.13612598180770874, -0.6737011075019836, -0.4467093348503113, 0.8906329274177551, -0.2932141125202179, -0.22375094890594482, -0.27798837423324585, -0.09407876431941986, 0.5839976072311401, -0.48863765597343445, 0.9064069986343384, 0.6334841847419739, 0.0649867057800293, 0.03137216717004776, -0.5828836560249329, -0.2058759182691574, 0.6513660550117493, -0.08785749971866608, -0.20123131573200226, 0.44775888323783875, -0.2487175166606903, 0.41249990463256836, 0.37709060311317444, -0.22520236670970917, 0.11519887298345566, 0.08992387354373932, 0.33080315589904785, -0.09980619698762894, -0.5677394270896912, -0.3007435202598572, 0.254055917263031, -0.15650537610054016, -0.17472243309020996 ]
http://arxiv.org/abs/2403.00141v1
http://arxiv.org/pdf/2403.00141v1
EROS: Entity-Driven Controlled Policy Document Summarization
2024-02-29T21:44:50
2024-02-29T21:44:50
Joykirat Singh, Sehban Fazili, Rohan Jain, Md Shad Akhtar
cs.CL
cs.CL, cs.AI
Privacy policy documents have a crucial role in educating individuals about the collection, usage, and protection of users' personal data by organizations. However, they are notorious for their lengthy, complex, and convoluted language especially involving privacy-related entities. Hence, they pose a significant challenge to users who attempt to comprehend organization's data usage policy. In this paper, we propose to enhance the interpretability and readability of policy documents by using controlled abstractive summarization -- we enforce the generated summaries to include critical privacy-related entities (e.g., data and medium) and organization's rationale (e.g.,target and reason) in collecting those entities. To achieve this, we develop PD-Sum, a policy-document summarization dataset with marked privacy-related entity labels. Our proposed model, EROS, identifies critical entities through a span-based entity extraction model and employs them to control the information content of the summaries using proximal policy optimization (PPO). Comparison shows encouraging improvement over various baselines. Furthermore, we furnish qualitative and human evaluations to establish the efficacy of EROS.
[ -0.48206669092178345, -0.5368337631225586, 0.2835347652435303, 0.16728349030017853, -0.27566638588905334, 0.0491657517850399, -0.11227288097143173, -0.48795169591903687, 0.5564776062965393, 0.8145173192024231, -0.4058208465576172, -0.6771535873413086, -0.2285478264093399, 0.22756849229335785, -0.30353111028671265, 1.637306571006775, -0.22388453781604767, -0.5014665126800537, 0.24440260231494904, 0.22232824563980103, 0.17330710589885712, 0.011575008742511272, -0.45356500148773193, -0.12076166272163391, 0.20112957060337067, 0.4313788115978241, 0.8364461660385132, 0.794957160949707, 0.47932788729667664, 0.25246962904930115, -0.3953905403614044, 0.29010194540023804, -0.48804521560668945, 0.1095251515507698, -0.2589159607887268, -0.3465083837509155, -0.9983707070350647, -0.28503984212875366, 0.8234943747520447, 0.5067324638366699, -0.5192216038703918, -0.05907948687672615, 0.27510425448417664, 0.5130935311317444, -0.6299773454666138, 0.06266187876462936, -0.3704194724559784, 0.17171593010425568, 0.06475034356117249, -0.19869931042194366, -0.3290861248970032, -0.36044222116470337, 0.36929890513420105, -1.0217468738555908, 0.035341694951057434, 0.2477637529373169, 0.977081298828125, -0.04168180376291275, -0.22417418658733368, -0.32085269689559937, -0.6775349378585815, 0.6843323707580566, -0.46232911944389343, 0.3126778304576874, 0.4875357151031494, -0.14651571214199066, -0.12013387680053711, -0.6869269013404846, -0.5328158736228943, 0.07557639479637146, -0.17765845358371735, 0.20388981699943542, -0.19295848906040192, 0.39715826511383057, 0.044086284935474396, 0.2865856885910034, -0.4440407454967499, 0.21630993485450745, -0.3521597683429718, -0.26187267899513245, 0.60667884349823, 0.2608288824558258, 0.22468353807926178, -0.047579411417245865, -0.185151144862175, 0.23391787707805634, -0.5805590748786926, -0.16031071543693542, 0.6516249179840088, -0.07635612785816193, -0.18415379524230957, 0.7121140956878662, -0.3897346556186676, 0.48558059334754944, -0.11814238131046295, -0.32082363963127136, 0.18175165355205536, -0.09532386809587479, -0.45064640045166016, -0.006652155891060829, 0.486707866191864, 0.6420619487762451, 0.36683163046836853, -0.41325643658638, -0.24973711371421814, -0.5274094343185425, 0.22736263275146484, -0.7794209122657776, -0.14169400930404663, 0.4109402000904083, -0.46812906861305237, -0.5527355670928955, 0.14289894700050354, -1.110403299331665, -0.16350550949573517, -0.38953131437301636, -0.2404106855392456, -0.2661542296409607, -0.19115066528320312, -0.11099322140216827, -0.19580981135368347, -0.14048351347446442, 0.5675807595252991, -1.0275707244873047, 0.6753216981887817, 0.7414291501045227, 0.8866720795631409, -0.22532698512077332, -0.2836053967475891, 0.019910497590899467, 0.7432040572166443, -0.24173066020011902, 0.3560488522052765, -0.6827678084373474, -0.7035713195800781, 0.07745330035686493, -0.109970323741436, 0.008907701820135117, -0.33691662549972534, 0.36432477831840515, -0.618320107460022, 0.26814571022987366, -0.12048783153295517, -0.3797997832298279, -0.1699308305978775, 0.3046582043170929, -0.5740359425544739, 0.4651196300983429, 0.13107016682624817, -0.6270043253898621, 0.5761898159980774, -0.9108353853225708, -0.5030258297920227, 0.04044192656874657, -0.3195982873439789, -0.5744762420654297, 0.08538622409105301, 0.1469113677740097, 0.40344342589378357, -0.1633266657590866, 0.31472745537757874, -0.17676608264446259, -0.00545845041051507, 0.25206607580184937, 0.08273176103830338, 0.631935715675354, 0.5018420219421387, -0.19087207317352295, 0.1951514333486557, -0.8840630650520325, -0.0667966827750206, -0.0008388313581235707, -0.45896151661872864, -0.46086499094963074, 0.05895209312438965, -0.1584070473909378, -0.3068484663963318, 0.35869890451431274, -0.13645507395267487, -0.2883108854293823, -0.22471702098846436, 0.3277808725833893, 0.9063597917556763, 0.30514630675315857, 0.9141516089439392, -0.18905070424079895, 0.5698361992835999, -0.09729306399822235, 0.31026601791381836, -0.40185436606407166, -0.23817139863967896, -0.1864822655916214, -0.6128320097923279, 0.07847080379724503, 0.6388645172119141, -0.3805989623069763, 0.6529565453529358, -0.3743162453174591, -0.16027235984802246, 0.03279688581824303, 0.039353255182504654, 0.3488183617591858, 0.8413530588150024, 0.11282028257846832, -0.29715409874916077, -0.1503056287765503, -0.883021354675293, -0.2583561837673187, -0.22666232287883759, -0.28427278995513916, 0.47539547085762024, 0.6820029020309448, 0.01149018295109272, 0.8362793922424316, -0.7171512842178345, -0.32784876227378845, -0.24858611822128296, 0.05196944251656532, -0.10178611427545547, 0.38996946811676025, 0.1438877433538437, -1.0619568824768066, -0.14542602002620697, -0.03447413817048073, -0.8293072581291199, -0.06730842590332031, -0.21249061822891235, -0.09621383249759674, -0.002583664609119296, 0.05124412477016449, -0.365910142660141, 0.2482394576072693, -0.06545968353748322, -0.40497684478759766, 0.447184294462204, -0.5436137914657593, 0.09462133795022964, -0.8114244937896729, 0.07661981135606766, 0.045502930879592896, -0.36058494448661804, -0.6101164817810059, 0.1845841407775879, 0.04936440289020538, -0.4954870939254761, -0.3427903354167938, -0.054918818175792694, -0.4872446358203888, -0.10153283178806305, -0.04469508305191994, 0.26288750767707825, 0.04979431629180908, 0.4599010646343231, 0.2113334834575653, 0.6778798699378967, 0.4135030210018158, -0.9426652193069458, -0.04130368307232857, 0.32873281836509705, 0.03594352677464485, 0.8148221969604492, -0.7771235704421997, 0.05248453840613365, -0.3466385304927826, 0.2880714535713196, -0.306039959192276, -0.5941046476364136, 0.3475261628627777, -0.011356680653989315, 0.5430458188056946, 0.18576441705226898, -0.4138573706150055, 0.07036656141281128, -0.6589679718017578, -0.30481746792793274, 0.1036444827914238, -0.24888640642166138, 0.8667421340942383, 1.1129083633422852, -0.3390878736972809, -0.7000331282615662, -0.686011552810669, 0.11227831244468689, -0.5271627306938171, -0.4407966434955597, 0.534125566482544, 0.5034696459770203, -0.41468822956085205, 0.30777907371520996, -0.20529510080814362, -0.05716684088110924, 0.2096443474292755, 0.2516228258609772, 0.2730099558830261, 0.29216283559799194, 0.0561378076672554, 0.5064781904220581, -0.12375364452600479, 0.11241503804922104, -0.17713981866836548, 0.2411738485097885, -0.3343730866909027, 0.1610872894525528, -0.43190696835517883, 0.6001379489898682, 0.5111149549484253, -0.25282788276672363, 0.7584035992622375, -0.06870173662900925, -0.6430107355117798, -0.12846918404102325, -0.0909983292222023, -0.11152750998735428, -0.3995993733406067, 0.32516393065452576, -0.49269577860832214, -0.6533435583114624, 0.8340798020362854, -0.3274501860141754, 0.46350571513175964, 0.1971883475780487, 0.2813061773777008, -0.14009413123130798, 0.7176206111907959, 0.7028098106384277, -0.13688482344150543, 0.567375659942627, -0.3085384666919708, 0.04452739655971527, -0.8922800421714783, -0.5265750288963318, -0.3876585364341736, -0.08581554889678955, -0.7413133978843689, 0.28046345710754395, 0.3690330386161804, 0.12150271981954575, -0.13288229703903198, 0.5352053046226501, -0.5662141442298889, 0.5992458462715149, 0.01650412753224373, 0.39237216114997864, 0.3986898362636566, 0.06567880511283875, 0.2938576936721802, 0.09021525830030441, -0.21367256343364716, -0.9582267999649048, 1.2155684232711792, 0.7401350140571594, 1.0060673952102661, 0.38003385066986084, 1.061758279800415, 0.4525373578071594, 0.1782330572605133, -0.2658037543296814, 0.7248706221580505, 0.03868979588150978, -0.6139177083969116, -0.5958253741264343, -0.5275031328201294, -0.7280300259590149, 0.44289833307266235, -0.12985196709632874, -1.1998116970062256, 0.6063756942749023, 0.3541712462902069, -0.36398932337760925, -0.029494306072592735, -0.7183699607849121, 0.5466068983078003, -0.07539427280426025, -0.41319701075553894, -0.31728172302246094, -0.6421266794204712, 0.23067869246006012, -0.1015707328915596, 0.17784501612186432, 0.08350332081317902, -0.6436052918434143, 0.9843623042106628, -0.6294114589691162, 0.5978400707244873, -0.05941900983452797, -0.001855942071415484, 0.35146716237068176, -0.08893556892871857, 0.8501771092414856, 0.24396111071109772, 0.23546580970287323, 0.025303322821855545, -0.2575373351573944, -0.2033219337463379, -0.30741798877716064, 0.7372344136238098, -0.4165268838405609, -0.27431976795196533, -0.2687176465988159, -0.4743807315826416, -0.056976567953825, 0.55644291639328, 0.233115091919899, 0.1391517072916031, -0.33382508158683777, -0.03912106156349182, 1.101887822151184, -0.0954953134059906, 0.19825522601604462, 0.6753682494163513, -0.26912564039230347, -0.3758811056613922, 0.8887161016464233, 0.45639052987098694, 0.07114476710557938, 0.48705920577049255, 0.06653404980897903, -0.3939061164855957, -0.6052539944648743, -0.23209290206432343, 0.17714723944664001, -0.6530252695083618, 0.05814921110868454, -0.8297911882400513, 0.4693179428577423, -0.5591598153114319, -0.2453749179840088, 0.015964969992637634, -0.5234552025794983, -0.5452685356140137, -0.37693244218826294, -0.000240060398937203, 0.3998839259147644, -0.1368032544851303, 0.43539664149284363, -0.26863813400268555, 0.6320210695266724, 0.0853092223405838, 0.3026207685470581, -0.3843477666378021, -0.2512862980365753, 0.10043219476938248, -0.3282197415828705, -0.1416255086660385, -1.3789088726043701, 0.31607216596603394, 0.17945821583271027, 0.3701382875442505, 0.6939405798912048, 0.03721208497881889, 0.3705849051475525, -0.34674420952796936, 0.35609009861946106, 0.1993466168642044, -0.840756356716156, 0.6735540628433228, -0.24063004553318024, -0.3347349166870117, 0.7116233110427856, 0.38193845748901367, -0.0667419582605362, -0.4114735722541809, -0.7112162113189697, -1.2060989141464233, 0.7139006853103638, 0.2978905141353607, 0.12989124655723572, 0.07322054356336594, 0.25262826681137085, -0.1701015830039978, 0.4622909128665924, -0.3787827789783478, -0.21002531051635742, 0.06530271470546722, -0.11450597643852234, 0.4692077934741974, -0.34846463799476624, -0.4243031442165375, 0.49234122037887573, 0.8667580485343933, 0.20776396989822388, 0.04113795608282089, 0.29202550649642944, -0.12288564443588257, -0.08175303041934967, 0.6196079254150391, 0.5469564199447632, 0.9383970499038696, -0.3878794312477112, 0.022557521238923073, 0.062097638845443726, -0.7543330192565918, -0.26157456636428833, 0.36345118284225464, -0.9048037528991699, 0.09191212058067322, -0.18245595693588257, 0.5506327152252197, 0.03355882316827774, -0.6144838929176331, 0.241136372089386, 0.010035068728029728, 0.05475040525197983, -0.5550693869590759, 0.05401802062988281, -0.31776270270347595, 0.05155517905950546, 0.2013133466243744, -0.3621804118156433, 0.5972414016723633, -0.4701392948627472, 0.08047321438789368, 0.06581206619739532, -0.13314414024353027, -0.06278260797262192, 0.8264766335487366, 0.37030038237571716, -0.21152691543102264, 0.3454582393169403, -0.11174654960632324, -0.27976900339126587, 0.5444715023040771, 0.5083619356155396, 0.7113009691238403, -0.15346936881542206, 0.3622652292251587, -0.029938403517007828, 0.5865236520767212, -0.00683238822966814, 0.4878624379634857, -0.42812076210975647, -0.5164670348167419, -0.1216128021478653, -0.147385373711586, -0.5874561667442322, 0.13633818924427032, -0.9105737209320068, 0.1375473141670227, -0.7200368642807007, -0.1334955394268036, 0.16796253621578217, -0.1978575438261032, -0.3939453661441803, 0.2596544921398163, -0.2590717673301697, 0.8396334648132324, -0.8567836880683899, 0.21120961010456085, 0.5209124088287354, -0.5344861149787903, -0.6029871106147766, -0.15411025285720825, 0.1157744899392128, -0.5864956974983215, 0.09667830914258957, -0.11300134658813477, 0.10092385113239288, -0.14236576855182648, -0.27392712235450745, -0.255090594291687, 1.1096203327178955, 0.3159836232662201, -0.8616970181465149, -0.2727121412754059, -0.0595548041164875, 0.48834094405174255, -0.2956966459751129, -0.0005553039954975247, 0.7835312485694885, 0.3734506070613861, -0.4022153913974762, -0.7562494277954102, 0.11233175545930862, -0.010160653851926327, -0.12717582285404205, 0.4650096595287323, -0.28232428431510925, 0.46361613273620605, -0.46090370416641235, -0.25848591327667236, -0.4456785321235657, 1.0078445672988892, 0.05899694189429283, 0.748171329498291, 0.37324607372283936, 0.6422573924064636, 1.041558027267456, 0.012669648975133896, 1.3134702444076538, -0.12437450140714645, 0.29004526138305664, 1.3705651760101318, -0.3023327887058258, 0.4159437119960785, 0.4599684178829193, -0.2360268235206604, 0.14834745228290558, 0.46203041076660156, 0.24104730784893036, 0.6303759813308716, 0.12220562994480133, -0.6351467370986938, 0.31688791513442993, -0.37547433376312256, -0.19037120044231415, 0.039375968277454376, 0.4917598068714142, -0.9763918519020081, -0.2012196183204651, -0.10796824097633362, 0.3789282739162445, 0.22094056010246277, -0.44219228625297546, 1.0327064990997314, 0.05790148302912712, -0.5771397948265076, -0.22136835753917694, 0.23190201818943024, 0.19020085036754608, -0.5457518696784973, 0.04403822124004364, 0.13360749185085297, -0.011418613605201244, -0.524974524974823, -1.0268487930297852, 0.49879229068756104, 0.4638730585575104, -0.15326309204101562, -0.30529505014419556, 0.803514838218689, -0.2515822649002075, 0.09415880590677261, -0.14922581613063812, 0.09679974615573883, 0.5623688697814941, 0.11140475422143936, -0.7154767513275146, -0.3195274770259857, 0.023182542994618416, -0.5529631972312927, 0.15151222050189972, 0.28664398193359375, -0.2556957006454468, 0.4511811137199402, 0.5176416635513306, 0.5278134346008301, -0.2431720793247223, 0.11344095319509506, 0.93119877576828, -0.09710199385881424, -1.1287996768951416, -0.8119635581970215, 0.33740565180778503, -0.5324477553367615, -0.46073591709136963, 0.33167389035224915, 0.7463936805725098, 0.8108289837837219, 0.1479749083518982, 0.8005224466323853, -0.2849411070346832, 0.6788205504417419, -0.5008655190467834, 0.6377074122428894, -0.0038675074465572834, 0.3873527944087982, -0.08954541385173798, -0.8985113501548767, -0.21570318937301636, 0.6107320189476013, -0.476222425699234, -0.18785296380519867, 0.23551933467388153, 0.8182306885719299, 0.20168602466583252, 0.0672178789973259, 0.028928251937031746, -0.12221688777208328, 0.4695182740688324, 0.17656953632831573, 0.2186446636915207, -0.10675794631242752, 0.5697809457778931, -0.4616684317588806, -0.5030850768089294, 0.011193718761205673, -0.8324946761131287, -0.6473610997200012, -0.35540249943733215, -0.46535781025886536, -0.35446998476982117, 0.1984417885541916, 0.5407636165618896, 0.48416125774383545, -0.7238219976425171, 0.1365991085767746, -0.5110716819763184, 0.45913854241371155, -0.054429974406957626, -0.28618231415748596, 0.385860800743103, 0.049896277487277985, -0.7056407928466797, -0.08898404985666275, 0.6398888230323792, 0.24478453397750854, -0.05386793613433838, -0.23294122517108917, 0.30827486515045166, -0.07722217589616776, 0.20908278226852417, 0.7348775863647461, -0.43818092346191406, 0.14071474969387054, -0.13474725186824799, 0.023809555917978287, -0.3958044946193695, 0.9412283301353455, -0.17425543069839478, 0.6093975901603699, 0.6196280717849731, 0.42857903242111206, 0.4544372856616974, 0.22329416871070862, 0.43676015734672546, -0.4152536988258362, -0.19592252373695374, 0.34108513593673706, 0.49532681703567505, 0.05018819868564606, -0.806814432144165, 0.578729510307312, -0.2164422571659088, -0.4379870295524597, -0.9261322617530823, 0.23081684112548828, -0.9082174301147461, -0.12394919991493225, 0.9012821912765503, -0.6156275868415833, -0.3794713020324707, -0.26880714297294617, -0.10865385085344315, 0.2761012613773346, -0.8766798377037048, 0.8436567187309265, 0.2541566491127014, -0.16126687824726105, -0.1920616775751114, -0.1935444176197052, 0.2710933983325958, 0.07371982932090759, -1.1275913715362549, 0.11676908284425735, 0.6480152606964111, 0.179058238863945, 0.3949848711490631, 0.8510408997535706, -0.5426728129386902, 0.1722833514213562, -0.22799250483512878, -0.20105168223381042, -0.343505859375, -0.7193735241889954, -0.3532184362411499, 0.2554566264152527, -0.3653102219104767, -0.4504074156284332 ]
http://arxiv.org/abs/2403.00127v2
http://arxiv.org/pdf/2403.00127v2
Prompting ChatGPT for Translation: A Comparative Analysis of Translation Brief and Persona Prompts
2024-02-29T21:05:38
2024-04-28T09:45:58
Sui He
cs.CL
cs.CL, cs.CY, cs.HC
Prompt engineering has shown potential for improving translation quality in LLMs. However, the possibility of using translation concepts in prompt design remains largely underexplored. Against this backdrop, the current paper discusses the effectiveness of incorporating the conceptual tool of translation brief and the personas of translator and author into prompt design for translation tasks in ChatGPT. Findings suggest that, although certain elements are constructive in facilitating human-to-human communication for translation tasks, their effectiveness is limited for improving translation quality in ChatGPT. This accentuates the need for explorative research on how translation theorists and practitioners can develop the current set of conceptual tools rooted in the human-to-human communication paradigm for translation purposes in this emerging workflow involving human-machine interaction, and how translation concepts developed in translation studies can inform the training of GPT models for translation tasks.
[ -0.3516367971897125, -0.611314594745636, 0.9002028107643127, 0.501639187335968, -0.4149545729160309, 0.3487897217273712, 0.007883868180215359, -0.2910734713077545, 0.11104848235845566, 0.023467063903808594, -0.764268159866333, -0.1857766956090927, -0.5092243552207947, 0.4983251988887787, -0.33415094017982483, 0.7769762873649597, -0.25791433453559875, 0.24501095712184906, -0.1315956562757492, 0.1098916307091713, -1.087698221206665, -0.3928140699863434, -0.9794180989265442, -0.2841275632381439, 0.7387054562568665, 0.3359367549419403, 0.6478801369667053, -0.013182966969907284, 0.5728484392166138, 0.21071146428585052, -0.2594689130783081, 0.02119888924062252, -0.18172980844974518, 0.4438192546367645, -0.11563243716955185, -0.5539388656616211, -0.23819537460803986, 0.23072266578674316, 0.5939532518386841, 0.7086963653564453, 0.13413038849830627, -0.03681137040257454, 0.4815755784511566, 0.5245184302330017, -0.0022361651062965393, 0.2062854766845703, -0.08412057161331177, 0.1293952316045761, -0.1789560765028, -0.4968372583389282, -0.4797384738922119, -0.4468976557254791, 0.15121042728424072, -0.5973411202430725, 0.18731927871704102, 0.5833966135978699, 0.7500876784324646, 0.3447520434856415, -0.5312334299087524, -0.48496484756469727, -0.4237050712108612, 0.4519611895084381, -0.5614360570907593, 0.2907995283603668, 0.11847669631242752, 0.34584566950798035, -0.3924190104007721, -0.4555031359195709, -0.4737727642059326, -0.3303663432598114, -0.3897075355052948, 0.31376031041145325, -0.014014825224876404, 0.15311625599861145, 0.341249942779541, 0.34649357199668884, -0.8534162044525146, 0.16458137333393097, -0.22250314056873322, -0.26132699847221375, 0.2652911841869354, 0.30437353253364563, 0.7522897124290466, -0.39011916518211365, -0.40046051144599915, 0.09526491910219193, -0.9272926449775696, 0.25018349289894104, 0.15760032832622528, 0.3028143644332886, -0.2177547961473465, 0.5180874466896057, -0.08956637978553772, 0.4930708110332489, 0.12733596563339233, -0.08077970892190933, 0.017693515866994858, -0.5582991242408752, 0.11695712059736252, -0.18856006860733032, 0.8542025089263916, 0.5164264440536499, 0.07468274980783463, -0.33566346764564514, -0.2825591266155243, -0.09144333750009537, 0.20306867361068726, -0.7237255573272705, -0.16342858970165253, 0.1355827897787094, -0.4154954254627228, -0.2244265079498291, -0.13401629030704498, -0.5720082521438599, -0.42582499980926514, -0.5931035280227661, 0.1523093730211258, -0.2537864148616791, -0.06489893049001694, -0.09150040149688721, -0.30340227484703064, 0.6179758906364441, 0.5460997223854065, -0.8539209365844727, -0.16787035763263702, 0.596034824848175, 1.0529574155807495, -0.5309217572212219, -0.2624386250972748, -0.476009339094162, -0.19366507232189178, -0.40583038330078125, 1.090025782585144, -0.41223838925361633, -1.1256388425827026, 0.039807628840208054, -0.023255787789821625, -0.23048537969589233, -0.2693706452846527, 0.6395075917243958, -0.37301456928253174, 0.47487950325012207, -0.7706229090690613, -0.317788302898407, 0.12200388312339783, 0.06709256768226624, -0.3606133759021759, 0.8451314568519592, 0.2711639106273651, -0.5820791125297546, 0.2614424228668213, -0.7857632040977478, -0.4013298749923706, 0.41970300674438477, -0.41939809918403625, 0.1211063489317894, 0.2808884084224701, 0.44935548305511475, 0.32350587844848633, -0.5849862694740295, 0.2738369405269623, 0.2787357568740845, -0.35166120529174805, 0.6368082165718079, -0.15917713940143585, 0.8174625039100647, 0.49758288264274597, 0.08200038224458694, 0.15150880813598633, -0.0025889966636896133, -0.29712721705436707, 0.08021374046802521, -0.3414938449859619, 0.13745349645614624, -0.2107831835746765, -0.1861690878868103, 0.3032287657260895, 0.08824377506971359, -0.2586264908313751, 0.3923153579235077, -0.2867531478404999, 0.5508542656898499, 0.5415923595428467, 0.25877806544303894, 0.7738521695137024, -0.382222443819046, 0.969504177570343, -0.17816592752933502, 0.0597330667078495, -0.5194867849349976, -0.9214322566986084, -0.577377200126648, -0.06633683294057846, 0.2708932161331177, 0.7884004712104797, -1.1862393617630005, 0.10668620467185974, -0.2980377674102783, -0.25666525959968567, -0.658442497253418, -0.04358850419521332, 0.378002405166626, 0.6889562606811523, 0.2457389086484909, -0.44876375794410706, -0.19996905326843262, -0.6690607070922852, -0.33759090304374695, -0.3509927988052368, -0.36701539158821106, 0.007768705487251282, 0.3095523416996002, 0.044717252254486084, 0.9741887450218201, -0.28830763697624207, -0.09790855646133423, -0.3794917166233063, 0.28283730149269104, 0.3304504454135895, 0.48066475987434387, 0.7492955327033997, -0.5338268876075745, -0.8162783980369568, -0.14488279819488525, -0.6984050869941711, -0.4836874008178711, -0.29626592993736267, -0.22998486459255219, -0.45580199360847473, 0.5281186699867249, -1.005457878112793, 0.2589418292045593, 0.09874844551086426, -0.41800427436828613, 0.6946781277656555, 0.028762059286236763, 0.6478255391120911, -1.1960915327072144, 0.07352760434150696, -0.12368419021368027, -0.23748521506786346, -0.8356248736381531, 0.24229054152965546, 0.14222384989261627, -0.427482932806015, -0.6658892035484314, 0.7552277445793152, -0.49128055572509766, 0.19561630487442017, -0.329529345035553, 0.4503580629825592, 0.18265078961849213, 0.33474770188331604, -0.15720294415950775, 1.500132441520691, 0.35017094016075134, -0.7217932343482971, 0.4264257848262787, 0.7732071876525879, -0.25182849168777466, 1.2613334655761719, -0.8849768042564392, 0.2537190318107605, -0.21428947150707245, 0.25138822197914124, -1.2529792785644531, -0.16988272964954376, 0.9488244652748108, -0.7015007138252258, 0.38185563683509827, -0.1738296002149582, -0.5421693325042725, -0.32170382142066956, -0.08458906412124634, 0.22774863243103027, 0.9151101112365723, -0.26163533329963684, 0.2527351677417755, -0.05495919659733772, -0.7786283493041992, -0.03563937172293663, -0.7010510563850403, 0.4221382141113281, -0.35733017325401306, -0.7667962908744812, 0.5697687268257141, -0.3249678611755371, -0.18858839571475983, -0.39197883009910583, -0.031221680343151093, 0.012804844416677952, 0.22807736694812775, -0.11858230084180832, 0.23927749693393707, -0.1558535248041153, 0.11448978632688522, 0.15696226060390472, -0.4233987629413605, 0.24800153076648712, -0.20178310573101044, 0.28695788979530334, 0.20009280741214752, -0.32200416922569275, -0.7162265777587891, 0.590304970741272, 0.22937895357608795, -0.07536590844392776, 0.48977863788604736, 0.4622857868671417, 0.2486943155527115, 0.2888358533382416, -0.5457897782325745, -0.31594809889793396, -0.48564156889915466, -0.00760129326954484, -0.5221230387687683, -0.7402127385139465, 0.610630214214325, -0.35593941807746887, 0.06339520961046219, 0.1830683797597885, 0.37914809584617615, -0.39922747015953064, 0.8413950800895691, 0.47844061255455017, -0.06588251143693924, 0.6703376770019531, 0.17032940685749054, 0.4157229959964752, -1.144292950630188, -0.1251962035894394, -0.7195239663124084, -0.391217976808548, -0.18641836941242218, -0.4815899133682251, 0.388470321893692, -0.004483524244278669, 0.22999262809753418, 0.44760939478874207, -0.39070555567741394, 0.30211350321769714, 0.46270909905433655, -0.015586373396217823, 0.2623535692691803, -0.14138862490653992, -0.28854110836982727, -0.2496315836906433, -0.491923451423645, -0.6898847222328186, 0.39870384335517883, 0.22497887909412384, 0.4925362765789032, 0.1069871187210083, 0.47117623686790466, 0.34459444880485535, 0.2617843747138977, -0.8687117695808411, 0.6034074425697327, 0.5358858108520508, -0.30287715792655945, -0.05475381389260292, -0.22360394895076752, -1.046791434288025, 0.33930107951164246, 0.28245148062705994, -0.7276772856712341, 0.22017072141170502, 0.11880200356245041, -0.5148366093635559, -0.2807145416736603, -0.7549712061882019, 0.9247328639030457, -0.21278047561645508, -0.025003626942634583, 0.10552439093589783, -0.7798700928688049, -0.03187286853790283, 0.023923911154270172, 0.1131008192896843, -0.12977959215641022, -0.2571221590042114, 0.5310265421867371, -0.14186345040798187, 0.8266856074333191, -0.02656666748225689, -0.5485204458236694, 0.322106271982193, 0.23381036520004272, 0.7113475799560547, 0.13587893545627594, 0.09087418764829636, -0.3314986526966095, -0.13532112538814545, -0.4529099762439728, -0.854053258895874, 0.2749165892601013, -0.4244030714035034, -0.9626464247703552, -0.19731062650680542, -0.5450173020362854, -0.32834988832473755, -0.03072783164680004, 0.5570665001869202, 0.1255529671907425, -0.15882444381713867, -0.14257891476154327, 0.7799546718597412, -0.24968020617961884, 0.38514891266822815, 0.4836520850658417, -0.1078961119055748, -0.08632852882146835, 0.8025692105293274, -0.305362343788147, 0.3484690189361572, 0.46248969435691833, 0.049147140234708786, -0.3429780900478363, -0.46660199761390686, -0.6190185546875, 0.2733924984931946, -0.8442986011505127, -0.04115484282374382, -0.35223472118377686, -0.03526182100176811, -0.4913826286792755, -0.3438739478588104, 0.05236061289906502, -0.34256887435913086, -0.37548044323921204, 0.019468480721116066, 0.19524991512298584, 0.4274542033672333, 0.43209609389305115, 0.7421536445617676, -0.797100841999054, 0.14138826727867126, 0.1827019602060318, -0.28677013516426086, -0.28368836641311646, -0.8852539658546448, 0.050039131194353104, 0.056573331356048584, -0.48106396198272705, -1.1702011823654175, 0.24383163452148438, -0.27137067914009094, 0.66126948595047, 0.14591892063617706, -0.059351127594709396, 0.47550299763679504, -0.5987124443054199, 1.229490041732788, 0.1990501880645752, -0.8271045088768005, 0.6929888725280762, -0.4106437861919403, 0.5068951845169067, 0.32839637994766235, 0.5051068067550659, -1.181971788406372, -0.3516212999820709, -0.31955307722091675, -0.5387089252471924, 0.4921877384185791, 0.44680455327033997, 0.27131569385528564, 0.10158383101224899, 0.45027613639831543, 0.13504114747047424, 0.431796669960022, -0.4155103862285614, -0.0733501985669136, 0.03412018343806267, -0.09251022338867188, -0.0004972433671355247, -0.2636708617210388, 0.08879954367876053, -0.028291387483477592, 0.5513538718223572, -0.045331474393606186, 0.6383755207061768, 0.17426617443561554, -0.16370810568332672, 0.3258220851421356, 0.5227115154266357, 0.6293087601661682, 0.5845393538475037, 0.3653229773044586, -0.1633060723543167, 0.18052391707897186, -0.26238173246383667, 0.4134052097797394, -0.17929749190807343, -0.5104174017906189, 0.20540077984333038, 0.034223586320877075, 0.7531426548957825, 0.3292662799358368, -0.13550637662410736, 0.5185925960540771, -0.1119789108633995, -0.048025649040937424, 0.035247400403022766, 0.055438775569200516, 0.13620106875896454, 0.18986238539218903, 0.0874718502163887, -0.0029683029279112816, 0.17088495194911957, -0.2616371810436249, -0.26863256096839905, 0.3255123794078827, -0.36118531227111816, -0.5974467396736145, 0.7732095718383789, 0.7581964135169983, -0.6388956904411316, 0.6594920754432678, -0.3264342248439789, -0.3755631446838379, 0.18050868809223175, 0.27986758947372437, 0.9930296540260315, -0.4292282164096832, 0.42368683218955994, 0.16754049062728882, 0.2503284513950348, -0.14947205781936646, 0.16451017558574677, -0.2690333425998688, -0.27125564217567444, -0.561340868473053, -0.11628439277410507, -0.5576645731925964, -0.35165873169898987, -0.2601982355117798, 0.3442162275314331, 0.22421503067016602, -0.21414397656917572, -0.3538794219493866, -0.37262311577796936, -0.7931084036827087, -0.4144268333911896, -0.20557712018489838, 0.7938148379325867, -0.587087094783783, 0.5655813813209534, 0.7426336407661438, -0.6879574656486511, -0.647497832775116, 0.01821151003241539, 0.19577805697917938, -0.652057945728302, 0.5784037113189697, -0.0858626440167427, 0.17153584957122803, 0.31056085228919983, -0.366485595703125, -0.5620220899581909, 0.9259395599365234, 0.41162624955177307, -0.2618975341320038, -0.5630791783332825, 0.3963806629180908, 0.23489798605442047, -0.024011677131056786, 0.2048535943031311, 0.44856521487236023, 0.5733388066291809, 0.16234035789966583, -1.11054265499115, 0.15966783463954926, -0.2916467487812042, 0.1911085695028305, 0.09205374866724014, -0.5272876620292664, 0.5441385507583618, -0.00179981195833534, -0.5405113697052002, 0.4541224539279938, 0.6794387698173523, -0.016598736867308617, 0.060407042503356934, -0.04750518500804901, -0.08351772278547287, 0.7083789706230164, -0.30371183156967163, 1.2056297063827515, -0.2720630466938019, -0.0077726393938064575, 0.7657115459442139, -0.15046773850917816, 0.285444051027298, 0.7941792011260986, -0.3623836934566498, 0.1677486151456833, 0.859055757522583, 0.17121602594852448, 0.5142784714698792, -0.029044784605503082, -0.4357464611530304, -0.1397005170583725, -0.37177419662475586, -0.546024739742279, -0.20016463100910187, 0.4116847515106201, -0.282223105430603, -0.19733840227127075, 0.30350106954574585, -0.025046108290553093, -0.06335915625095367, 0.017714733257889748, 0.6939878463745117, 0.6176789402961731, -1.0816402435302734, 0.3127586543560028, -0.03054220974445343, 0.5103393197059631, -0.42922043800354004, 0.11351671069860458, -0.565671980381012, -0.4940342903137207, 0.11502119153738022, -0.8608520030975342, 0.12312296777963638, -0.17588411271572113, 0.08745955675840378, -0.8628142476081848, 0.6193495392799377, -0.13954032957553864, 0.010283122770488262, -0.38141074776649475, 0.9779300093650818, 0.35341453552246094, -0.2589651644229889, -0.7101520895957947, -0.08174862712621689, -0.16281290352344513, -0.13896413147449493, 0.22807340323925018, 0.7497690320014954, 0.13885778188705444, 0.7701125144958496, 0.44382885098457336, -0.053034473210573196, -0.05710645020008087, 0.13990211486816406, 0.8545608520507812, -0.6517861485481262, -0.6148217916488647, -0.8956136107444763, 0.7761375308036804, -0.0019392756512388587, -0.39428675174713135, 0.8763098120689392, 0.12965427339076996, 0.5433096289634705, -0.39219310879707336, 0.741733968257904, -0.08112163096666336, 0.3618311882019043, -0.6801738739013672, 0.4216183125972748, -0.11750930547714233, 0.28450649976730347, -0.3084043562412262, -0.8748185634613037, -0.06884176284074783, 0.4728715121746063, -0.2250164896249771, -0.0013107582926750183, 1.0734715461730957, 0.7499699592590332, 0.15819969773292542, 0.10687721520662308, 0.3078906834125519, -0.3485599458217621, 0.718137800693512, 0.4975797235965729, 1.2228580713272095, -0.2551431357860565, 0.49036499857902527, 0.14150144159793854, -0.02988501638174057, -0.24310819804668427, -0.8713467121124268, -1.1531468629837036, -0.6816134452819824, -0.3833881616592407, -0.06029415503144264, 0.07522902637720108, 0.9508795738220215, 0.37395480275154114, -0.4668978154659271, -0.05036791041493416, -0.1293264627456665, 0.08084765076637268, -0.2289549559354782, -0.1494063138961792, 0.020361866801977158, -0.8140449523925781, -0.7571902275085449, 0.5765827298164368, 0.18996869027614594, 0.5548509359359741, -0.3015391528606415, -0.17488163709640503, 0.31061848998069763, -0.11227447539567947, 0.6165243983268738, 0.24027703702449799, -0.8716726899147034, -0.23136800527572632, 0.24807025492191315, -0.22569040954113007, 0.18809331953525543, 1.2982866764068604, -0.6141192317008972, 0.1452903002500534, 0.7507016658782959, 0.685218334197998, -0.04762016609311104, 0.14521221816539764, 0.957248866558075, -0.8893056511878967, 0.2636352479457855, 0.1402597427368164, 0.34576475620269775, 0.4704969823360443, -0.37723755836486816, 0.5602664947509766, 0.3675070106983185, -0.6667799353599548, -0.5307958126068115, 0.4771133363246918, -0.8258591294288635, 0.03106309473514557, 1.1596887111663818, -0.17505858838558197, 0.01837129145860672, -0.3188439607620239, -0.9580683708190918, 0.11784853786230087, -0.7083424925804138, 0.6725029945373535, 1.000157117843628, -0.14120246469974518, -0.41256043314933777, -0.9738613963127136, 0.6169341206550598, 0.5384191870689392, -0.880274772644043, -0.22422929108142853, 0.25155743956565857, -0.0644431784749031, -0.03996710479259491, 0.7992725968360901, 0.07288410514593124, 0.4025998115539551, -0.1936873197555542, -0.35302671790122986, 0.1813896894454956, 0.024197913706302643, 0.014725244604051113, -0.26928654313087463, 0.4652152955532074, -0.022602876648306847 ]
http://arxiv.org/abs/2403.00126v1
http://arxiv.org/pdf/2403.00126v1
FAC$^2$E: Better Understanding Large Language Model Capabilities by Dissociating Language and Cognition
2024-02-29T21:05:37
2024-02-29T21:05:37
Xiaoqiang Wang, Bang Liu, Lingfei Wu
cs.CL
cs.CL
Large language models (LLMs) are primarily evaluated by overall performance on various text understanding and generation tasks. However, such a paradigm fails to comprehensively differentiate the fine-grained language and cognitive skills, rendering the lack of sufficient interpretation to LLMs' capabilities. In this paper, we present FAC$^2$E, a framework for Fine-grAined and Cognition-grounded LLMs' Capability Evaluation. Specifically, we formulate LLMs' evaluation in a multi-dimensional and explainable manner by dissociating the language-related capabilities and the cognition-related ones. Besides, through extracting the intermediate reasoning from LLMs, we further break down the process of applying a specific capability into three sub-steps: recalling relevant knowledge, utilizing knowledge, and solving problems. Finally, FAC$^2$E evaluates each sub-step of each fine-grained capability, providing a two-faceted diagnosis for LLMs. Utilizing FAC$^2$E, we identify a common shortfall in knowledge utilization among models and propose a straightforward, knowledge-enhanced method to mitigate this issue. Our results not only showcase promising performance enhancements but also highlight a direction for future LLM advancements.
[ -0.5200072526931763, -1.1067588329315186, 0.9350641369819641, 0.004859980661422014, -0.07749000936746597, 0.1337311565876007, -0.48781725764274597, -0.29145681858062744, -0.25980618596076965, 0.46179038286209106, -0.3983936905860901, -0.330348938703537, -0.9393743872642517, -0.14150375127792358, -0.20450584590435028, 0.755609929561615, -0.04057804122567177, 0.03825895115733147, -0.6257780194282532, -0.0184592567384243, -0.40420836210250854, -0.2872903347015381, -0.9095904231071472, -0.633895218372345, 0.21284791827201843, 0.5196426510810852, 0.712363600730896, 0.40012863278388977, 0.3544957935810089, 0.2507702708244324, -0.254393607378006, 0.40446150302886963, -0.6114372611045837, -0.2671723961830139, -0.2160426825284958, -0.4266156554222107, -0.7074989676475525, 0.05065986141562462, 0.5902066826820374, 0.8123449087142944, -0.04152664542198181, -0.09269551187753677, 0.29807937145233154, 0.7951634526252747, -0.49664539098739624, 0.42593592405319214, -0.6392121315002441, -0.1770358681678772, -0.09341641515493393, 0.027829982340335846, -0.4972888231277466, 0.12991192936897278, 0.1299467384815216, -0.665641188621521, -0.02053135819733143, -0.08663729578256607, 0.49993306398391724, 0.25245028734207153, -0.5024515390396118, -0.40605297684669495, -0.6765600442886353, 0.8053174614906311, -0.4571418762207031, 0.5145229697227478, 0.5717566013336182, 0.27731776237487793, -0.15943755209445953, -0.3485344648361206, -0.6256460547447205, -0.26270824670791626, -0.025026077404618263, -0.1371726095676422, -0.23927989602088928, -0.0030867147725075483, 0.21700875461101532, 0.4975910186767578, -0.4100038707256317, 0.3439723551273346, -0.1540953665971756, -0.38509637117385864, 0.4547809064388275, 0.28140318393707275, 0.25440722703933716, 0.07683010399341583, -0.30692118406295776, 0.06829921156167984, -0.5944474339485168, -0.0710684210062027, 0.043685510754585266, -0.0416109636425972, -0.16006144881248474, 0.4971039593219757, 0.0036358938086777925, 0.31810495257377625, 0.09421254694461823, -0.355143666267395, 0.09474416822195053, -0.07440012693405151, -0.2936260402202606, -0.4697076380252838, 0.5968706607818604, 0.1895967721939087, 0.29452595114707947, -0.1746998280286789, -0.2824556231498718, -0.12702712416648865, 0.052870381623506546, -0.6406487226486206, -0.020015647634863853, 0.1477518528699875, -0.6008508205413818, -0.09219589829444885, -0.2604856491088867, -0.7545441389083862, -0.4583549201488495, -0.32211029529571533, 0.38637682795524597, -0.6574406623840332, -0.36513879895210266, 0.06853421032428741, 0.01255915965884924, 0.12420303374528885, 0.42676058411598206, -1.0116593837738037, 0.4539046883583069, 0.9005953669548035, 0.8159025311470032, -0.12951217591762543, -0.14692020416259766, -0.44588688015937805, 0.03902149200439453, -0.16253136098384857, 0.6264660954475403, -0.5237431526184082, -0.3950766921043396, -0.1655380129814148, -0.2184009850025177, 0.06969161331653595, -0.5758797526359558, 0.32402217388153076, -0.5402764678001404, -0.09591644257307053, -0.23135536909103394, -0.6320301294326782, -0.2476680725812912, 0.14818362891674042, -0.8228681087493896, 0.8605866432189941, 0.2400614619255066, -0.5714413523674011, 0.13282950222492218, -0.5924374461174011, -0.3659646213054657, -0.011674870736896992, -0.3003122806549072, -0.080299973487854, 0.3169146776199341, 0.12680736184120178, 0.6774086952209473, -0.7031540870666504, 0.35289713740348816, -0.4193531572818756, -0.06781072914600372, 0.14262720942497253, -0.4967762231826782, 0.6238132119178772, 0.29952964186668396, -0.31526443362236023, -0.19706733524799347, -0.7121822237968445, -0.007700605317950249, 0.18827269971370697, -0.2808507978916168, -0.4263802468776703, 0.15864506363868713, -0.12608441710472107, 0.2912507951259613, 0.5440324544906616, -0.1194632351398468, -0.047515761107206345, -0.5886868238449097, 0.4809574782848358, 0.5464637875556946, -0.17655685544013977, 0.6797718405723572, -0.1868721842765808, 0.18152707815170288, 0.014168862253427505, 0.10849671810865402, 0.03997981175780296, -0.33509594202041626, -0.9126453399658203, -0.30814340710639954, -0.11847914010286331, 0.48089873790740967, -0.7642139196395874, 0.45857447385787964, -0.09770727157592773, -0.42740973830223083, -0.12603281438350677, 0.38011834025382996, 0.5428855419158936, 0.282259076833725, 0.5310860872268677, -0.20555324852466583, -0.19478072226047516, -1.0767360925674438, -0.21712066233158112, -0.1594715565443039, -0.16795147955417633, 0.27294856309890747, 0.4883027970790863, -0.3010425567626953, 0.634301483631134, -0.4007270336151123, -0.24287854135036469, -0.32732805609703064, 0.22163036465644836, -0.11129181832075119, 0.3950762152671814, 0.3208494782447815, -0.5297053456306458, -0.09335903078317642, 0.10213492810726166, -0.6430332660675049, -0.1103750616312027, -0.16666311025619507, -0.013546421192586422, 0.3547399938106537, 0.6334183812141418, -0.4974399209022522, 0.302475243806839, 0.516106903553009, -0.3996681869029999, 0.5420354604721069, -0.24133601784706116, 0.07270222157239914, -0.6953117251396179, -0.009334753267467022, 0.06499489396810532, -0.08640293031930923, -0.5560614466667175, 0.12366107106208801, -0.022436147555708885, 0.17943589389324188, -0.12629424035549164, 0.6371724605560303, -0.5567246675491333, -0.17261230945587158, -0.38795971870422363, 0.5378451943397522, 0.14774373173713684, 0.2769886553287506, -0.05531831085681915, 0.5524459481239319, 0.35608622431755066, -0.5838053226470947, 0.03130369633436203, -0.008908778429031372, -0.4187183082103729, 0.3800273537635803, -0.4164750874042511, 0.21102431416511536, 0.03580952063202858, 0.026909392327070236, -1.0501588582992554, -0.11901471018791199, -0.10082469135522842, -0.24392633140087128, 0.5044906139373779, 0.16757594048976898, -0.5825929045677185, -0.21809348464012146, -0.05216900631785393, 0.5044510960578918, 0.33076903223991394, -0.34426674246788025, 0.7755962014198303, 0.5186291337013245, -0.10958017408847809, -0.3070407509803772, -0.7247363924980164, -0.16054727137088776, 0.003131122561171651, -0.8549392819404602, 0.2953353226184845, -0.0701746717095375, -0.5449132323265076, -0.21306714415550232, -0.1751052737236023, -0.17471392452716827, 0.5573047399520874, 0.19498324394226074, 0.18364980816841125, -0.21408623456954956, 0.2135133296251297, 0.29838788509368896, -0.2039254754781723, 0.26007702946662903, -0.12744832038879395, 0.6246963739395142, -0.36060741543769836, -0.28743186593055725, -0.3150789737701416, 0.32742375135421753, 0.8456069827079773, -0.2261958122253418, 0.802005410194397, 0.42034539580345154, -0.5938138961791992, -0.2141653448343277, -0.6540009379386902, -0.19518530368804932, -0.40050208568573, 0.5192577242851257, -0.4712534546852112, -1.154663324356079, 0.5173794031143188, -0.42102155089378357, -0.05234646052122116, 0.6016027331352234, 0.7995094656944275, 0.15744414925575256, 0.9036665558815002, 0.7125346660614014, 0.1478748917579651, 0.24518322944641113, -0.23865628242492676, 0.343555748462677, -0.8963651061058044, -0.5858148336410522, -0.3886381685733795, 0.03498922288417816, -0.21111838519573212, -0.8558133244514465, 0.23042157292366028, 0.4979080855846405, -0.25255417823791504, -0.043196965008974075, -0.006873265840113163, 0.45259368419647217, -0.13955549895763397, 0.059272509068250656, 0.438394695520401, -0.0059503549709916115, -0.4206356108188629, 0.01591373048722744, -0.5563361048698425, -0.9285289645195007, 0.9628499746322632, 0.8110266923904419, 0.36341673135757446, 0.09626881033182144, 0.4369063675403595, 0.22478698194026947, 0.31225693225860596, -1.0716581344604492, 0.5976138114929199, -0.5615595579147339, -0.5638449192047119, -0.31190618872642517, -0.4564211666584015, -0.44946590065956116, 0.2175925374031067, -0.27317407727241516, -0.9309609532356262, -0.11172319203615189, 0.03218876197934151, -0.35007157921791077, 0.28164103627204895, -0.6896873116493225, 0.7175602316856384, -0.336106538772583, -0.3856189250946045, -0.6712888479232788, -0.2649613320827484, 0.5754034519195557, -0.33484867215156555, 0.6102497577667236, -0.21419085562229156, -0.14262893795967102, 0.8036371469497681, -0.3079230785369873, 0.6801455616950989, -0.10416354238986969, -0.3793860375881195, 0.3067578077316284, 0.40507635474205017, 0.39974701404571533, 0.13292934000492096, -0.16223664581775665, 0.38215842843055725, -0.09719660133123398, -0.2253599464893341, -0.6607852578163147, 0.8573237061500549, -0.7135705351829529, -0.6658177971839905, 0.14764036238193512, -0.5604738593101501, -0.5129861831665039, 0.09012221544981003, 0.018717410042881966, 0.27235981822013855, -0.5667580962181091, 0.13134828209877014, 0.6932015419006348, -0.20727719366550446, 0.3733712136745453, 0.49481508135795593, -0.3088485598564148, -0.3300582468509674, 0.6579493284225464, 0.15324963629245758, 0.3264508545398712, 0.29150548577308655, 0.19664235413074493, -0.31539538502693176, -0.5983564257621765, -0.14688609540462494, 0.21204227209091187, -0.7603698968887329, 0.0024851500056684017, -0.6371586918830872, 0.04377860575914383, -0.19820362329483032, -0.17774522304534912, -0.4673585593700409, -0.35576069355010986, -0.5021799206733704, -0.032142847776412964, 0.13490520417690277, 0.7892459034919739, -0.06265042722225189, 0.3518155515193939, -0.7146825194358826, 0.31974369287490845, 0.1681259125471115, 0.29377028346061707, 0.4210423529148102, -0.6503399610519409, -0.43732649087905884, 0.14672796428203583, -0.35051771998405457, -0.7016346454620361, 0.08398705720901489, 0.11726979166269302, 0.6436922550201416, 0.534684419631958, -0.2730906009674072, 0.5771316289901733, -0.4318122863769531, 0.7672438621520996, 0.35600408911705017, -1.453035593032837, 0.3840935230255127, -0.09925112873315811, 0.05057607591152191, 0.42180970311164856, 0.4093869626522064, -0.28507521748542786, -0.3488287329673767, -0.5418285727500916, -0.9198994636535645, 0.6545475721359253, 0.11916942894458771, -0.11321273446083069, -0.24893662333488464, 0.5806993842124939, 0.16257672011852264, -0.11841809004545212, -0.49138885736465454, -0.289315789937973, 0.11046279966831207, -0.08686784654855728, -0.1953967958688736, -0.5512682199478149, -0.1152564212679863, -0.2578544616699219, 0.6573232412338257, -0.1761506348848343, 0.23391732573509216, 0.03147321194410324, -0.22423426806926727, -0.023200584575533867, 0.3295982778072357, 0.4498143792152405, 0.6187835335731506, 0.15797238051891327, 0.39670801162719727, 0.3750544786453247, -0.36395764350891113, -0.04381868615746498, -0.21300260722637177, 0.31648799777030945, -0.5547243356704712, 0.5715237259864807, 0.5521268844604492, 0.3206174671649933, -0.5609870553016663, 0.4364718794822693, 0.1344059705734253, -0.28192320466041565, -0.13173674046993256, 0.17339907586574554, 0.31037789583206177, 0.5289760828018188, 0.40227022767066956, -0.019030367955565453, 0.045765724033117294, -0.6027275919914246, 0.4043670892715454, 0.4482227563858032, -0.11573843657970428, -0.17704659700393677, 0.3655532896518707, 0.34381869435310364, -0.06058168038725853, 0.5007302761077881, -0.25528547167778015, -0.4623435437679291, 0.6725010275840759, 0.5315699577331543, 0.7739357948303223, -0.09929904341697693, 0.08727585524320602, 0.23689702153205872, 0.504452645778656, -0.18894155323505402, 0.035148631781339645, 0.1508035659790039, -0.8965117335319519, -0.5883301496505737, -0.5330544710159302, 0.030345436185598373, 0.6116218566894531, -0.7036951184272766, 0.12832650542259216, -0.760304868221283, -0.16600140929222107, 0.22165508568286896, 0.2639012038707733, -0.7311353087425232, 0.08036766946315765, 0.30927368998527527, 0.9596216678619385, -0.8299674391746521, 0.9269595146179199, 0.5348184704780579, -0.24780014157295227, -0.8611285090446472, 0.18534328043460846, 0.2286929041147232, -0.7844136953353882, 0.7966400980949402, 0.2065224051475525, -0.42104488611221313, -0.004068444017320871, -0.3944317698478699, -0.6304097771644592, 1.1827880144119263, 0.4352496862411499, -0.7834119200706482, 0.27238038182258606, 0.026402834802865982, 0.5313334465026855, -0.700852632522583, 0.4146708548069, 1.052358865737915, 0.7067431211471558, -0.11353994905948639, -0.9917110204696655, 0.2139323502779007, 0.05483424663543701, -0.051890842616558075, 0.16603721678256989, -0.7092908024787903, 0.8414860367774963, -0.35464563965797424, -0.35595110058784485, 0.08096710592508316, 0.5215489268302917, 0.09502200782299042, 0.5675846934318542, 0.4898904263973236, 0.5677235126495361, 0.9957342147827148, -0.0918506309390068, 0.7991644740104675, -0.16046184301376343, 0.6067573428153992, 1.016224980354309, -0.29488226771354675, 0.9018809795379639, 0.4690147340297699, -0.06421227008104324, 0.3689936399459839, 0.2443035989999771, 0.20144611597061157, 0.3175940215587616, 0.13065116107463837, -0.27547845244407654, -0.7156832218170166, 0.04767729714512825, -0.031172258779406548, 0.7012119889259338, 0.7939120531082153, -0.485185444355011, -0.32526135444641113, -0.03354503586888313, 0.3311997950077057, 0.24906274676322937, -0.32567086815834045, 0.7095087766647339, 0.22570791840553284, -0.47722047567367554, 0.6829822063446045, 0.2947190999984741, 0.4469761252403259, -0.2913111746311188, -0.13681183755397797, -0.16982145607471466, 0.1519598364830017, -0.283753901720047, -0.9348112344741821, 0.508360743522644, 0.1805592030286789, -0.5092098712921143, 0.0008185954065993428, 0.7276161313056946, -0.3038094639778137, -0.23255062103271484, 0.6718587279319763, 0.7483550310134888, 0.253954142332077, -0.07315854728221893, -0.7456015348434448, 0.2871720790863037, 0.09535454958677292, -0.17317862808704376, 0.34553104639053345, 0.6668856739997864, -0.11269459128379822, 0.6553221344947815, 0.45102712512016296, -0.20964761078357697, -0.4264087677001953, 0.010940417647361755, 0.8748193979263306, -0.44048789143562317, -0.007191623095422983, -1.0088564157485962, 0.39319369196891785, 0.07763244211673737, -0.12057886272668839, 0.42352595925331116, 0.4832962453365326, 0.6487047076225281, 0.07261037826538086, 0.7869051098823547, -0.13922840356826782, 0.029917271807789803, -0.7646695375442505, 0.8549169898033142, -0.6981024742126465, 0.7235902547836304, -0.042865119874477386, -0.7126666307449341, -0.1356734186410904, 0.7519230842590332, -0.572608470916748, 0.12602093815803528, 0.9394581317901611, 0.6992927193641663, 0.038423918187618256, 0.018326779827475548, 0.6559931039810181, 0.5048612356185913, 0.326436311006546, 0.8034300208091736, 0.7131403088569641, -0.2557578682899475, 0.3380674719810486, -0.10467181354761124, -0.5854522585868835, -0.28992143273353577, -0.9287393093109131, -1.0376017093658447, -0.6965245604515076, -0.20728625357151031, -0.18717578053474426, -0.20682069659233093, 0.7983638048171997, 0.5529516339302063, -0.5164385437965393, -0.006468840874731541, -0.2088596075773239, 0.34865108132362366, -0.03865355625748634, -0.25018152594566345, 0.1899578869342804, -0.31223180890083313, -0.5954381823539734, 0.5553586483001709, 0.42215919494628906, -0.07199113816022873, -0.4801027476787567, -0.2189626544713974, -0.07135818153619766, 0.2627457082271576, 0.9750654697418213, -0.09988100081682205, -0.8901910185813904, -0.427133709192276, -0.12693513929843903, -0.06482889503240585, -0.27304548025131226, 0.9743622541427612, -0.5839439034461975, 0.2823692560195923, 0.3361365497112274, 0.5070849657058716, 0.18991245329380035, -0.3686904311180115, 0.4199047088623047, -0.46544158458709717, 0.036751314997673035, 0.09422902017831802, 0.4379914700984955, 0.16177387535572052, -0.5174202919006348, 0.3184647858142853, 0.1830357313156128, -0.48628291487693787, -0.43169453740119934, 0.3158019483089447, -1.1108145713806152, -0.5845624208450317, 1.407076358795166, -0.3556893765926361, -0.14129342138767242, -0.3314008414745331, -0.05149420350790024, 0.3593120574951172, -0.3586597144603729, 0.6272588968276978, 1.019317388534546, -0.11331808567047119, 0.05724261328577995, -0.689751923084259, 0.2677627205848694, 0.44414016604423523, -0.8510595560073853, 0.4364399313926697, 0.7044693827629089, 0.45736008882522583, 0.25545188784599304, 0.5055750608444214, -0.45873749256134033, 0.062283702194690704, -0.009583824314177036, 0.015353411436080933, -0.185574010014534, -0.5095379948616028, -0.3724137246608734, 0.16656151413917542, 0.3252483010292053, 0.3340910077095032 ]
http://arxiv.org/abs/2403.00862v4
http://arxiv.org/pdf/2403.00862v4
NewsBench: A Systematic Evaluation Framework for Assessing Editorial Capabilities of Large Language Models in Chinese Journalism
2024-02-29T21:05:14
2024-06-04T14:50:58
Miao Li, Ming-Bin Chen, Bo Tang, Shengbin Hou, Pengyu Wang, Haiying Deng, Zhiyu Li, Feiyu Xiong, Keming Mao, Peng Cheng, Yi Luo
cs.CL
cs.CL, cs.AI
We present NewsBench, a novel evaluation framework to systematically assess the capabilities of Large Language Models (LLMs) for editorial capabilities in Chinese journalism. Our constructed benchmark dataset is focused on four facets of writing proficiency and six facets of safety adherence, and it comprises manually and carefully designed 1,267 test samples in the types of multiple choice questions and short answer questions for five editorial tasks in 24 news domains. To measure performances, we propose different GPT-4 based automatic evaluation protocols to assess LLM generations for short answer questions in terms of writing proficiency and safety adherence, and both are validated by the high correlations with human evaluations. Based on the systematic evaluation framework, we conduct a comprehensive analysis of ten popular LLMs which can handle Chinese. The experimental results highlight GPT-4 and ERNIE Bot as top performers, yet reveal a relative deficiency in journalistic safety adherence in creative writing tasks. Our findings also underscore the need for enhanced ethical guidance in machine-generated journalistic content, marking a step forward in aligning LLMs with journalistic standards and safety considerations.
[ -0.031007708981633186, -0.6850466132164001, 0.5805517435073853, 0.47907304763793945, -0.20056885480880737, 0.19993452727794647, -0.5153583884239197, -0.33695968985557556, -0.10899937897920609, 0.31873130798339844, -0.4337367117404938, -0.8713151216506958, -0.3368591070175171, 0.17564137279987335, -0.46562981605529785, 1.202462911605835, -0.2942054271697998, 0.12892937660217285, -0.11895811557769775, -0.16730961203575134, -0.2555016577243805, -0.3873226046562195, -0.6576712727546692, 0.1833188235759735, 0.6959966421127319, 0.06769037246704102, 0.649049699306488, 0.6337306499481201, 0.7875614762306213, 0.28366008400917053, -0.06659013032913208, -0.18077416718006134, -0.4487047493457794, -0.43438684940338135, -0.3713768720626831, -0.33803504705429077, -0.5696259140968323, 0.21375246345996857, 0.7148929238319397, 0.5868004560470581, -0.15721410512924194, 0.3607913851737976, 0.09422483295202255, 0.6387598514556885, -0.4121406078338623, -0.14962273836135864, -0.45988765358924866, 0.07631317526102066, -0.24372468888759613, -0.08777046203613281, -0.34456244111061096, -0.698307991027832, -0.16310298442840576, -0.6370427012443542, 0.14618104696273804, 0.026928456500172615, 0.8694239258766174, -0.01713479682803154, -0.5510226488113403, -0.34932079911231995, -0.40762555599212646, 0.5848272442817688, -0.7800195813179016, 0.23581278324127197, 0.15367843210697174, 0.34038883447647095, -0.05045279115438461, -0.7472113370895386, -0.5294608473777771, -0.38451284170150757, 0.21949712932109833, 0.49361562728881836, 0.2701844573020935, 0.09956171363592148, 0.10309379547834396, 0.4099026918411255, -0.8066621422767639, 0.1764264851808548, -0.3665629029273987, -0.3639504909515381, 0.828263521194458, 0.18183283507823944, 0.38313809037208557, -0.24638251960277557, -0.3976823389530182, 0.10960102081298828, -0.4687330722808838, 0.15250614285469055, 0.731212854385376, -0.07632838189601898, -0.10631579160690308, 0.39056533575057983, -0.350667268037796, 0.5190611481666565, -0.1656525582075119, -0.19768746197223663, 0.3001214861869812, -0.5847622752189636, 0.1661144345998764, 0.09099113196134567, 0.9067842960357666, 0.7133080363273621, -0.008336282335221767, -0.08722217381000519, -0.20977652072906494, -0.16187050938606262, 0.4122389853000641, -0.5460177659988403, 0.0013393154367804527, 0.14230413734912872, -0.5782116055488586, -0.6255754232406616, 0.21976180374622345, -0.6761611104011536, -0.6144216656684875, -0.08140179514884949, 0.4388960599899292, -0.09147538244724274, -0.3009606897830963, 0.17472964525222778, -0.21119579672813416, 0.44868725538253784, 0.20076406002044678, -0.7232472896575928, 0.0372343547642231, 0.8113402724266052, 0.8381842970848083, -0.4668525457382202, -0.48794442415237427, -0.3588872253894806, 0.2117459625005722, -0.610725998878479, 0.586982011795044, -0.12910500168800354, 0.05241912603378296, 0.11570252478122711, 0.08347838371992111, -0.008860817179083824, -0.21188627183437347, 1.0412986278533936, -0.5159223675727844, 0.18182754516601562, -0.4343663156032562, -0.41982007026672363, -0.3055868446826935, 0.474385142326355, -0.7736909985542297, 0.7626417875289917, 0.37469902634620667, -0.8220013380050659, 0.40665873885154724, -0.32075411081314087, -0.5971416234970093, -0.30244308710098267, 0.08213585615158081, -0.3887557089328766, 0.0427960529923439, 0.2842087745666504, 0.17919346690177917, -0.12322178483009338, 0.5151751041412354, -0.3704354166984558, -0.48187071084976196, 0.1268683820962906, -0.6568973660469055, 0.9509479403495789, 0.03393932804465294, -0.1859675794839859, 0.4348722994327545, -0.8215408325195312, 0.0743350088596344, -0.15141667425632477, -0.729526162147522, -0.032621338963508606, -0.18102622032165527, 0.2182312309741974, 0.4744790196418762, 0.22757183015346527, -0.571282148361206, 0.19632193446159363, -0.1836034059524536, 0.5029937028884888, 0.7311368584632874, 0.10909532755613327, 0.13652901351451874, -0.40576171875, 0.5963835120201111, -0.2742445468902588, 0.2543371021747589, -0.17043393850326538, -0.038429196923971176, -0.6887975931167603, 0.085281603038311, 0.48100343346595764, 0.6897307634353638, -0.6762832999229431, 0.581105649471283, -0.29070717096328735, -0.724534273147583, -0.38058406114578247, 0.39931386709213257, 0.2947663366794586, 0.5516666769981384, -0.027602797374129295, -0.4898817837238312, -0.35427841544151306, -0.8809877038002014, -0.544095516204834, -0.12286140769720078, -0.025058869272470474, -0.2410285323858261, 0.3150152862071991, 0.2165311872959137, 0.6381986141204834, 0.10565857589244843, -0.22183789312839508, -0.6691863536834717, 0.17421378195285797, 0.3644201159477234, 0.25379258394241333, 0.5453740954399109, -0.6510943174362183, -0.38508132100105286, -0.09535248577594757, -0.9347167611122131, -0.28123000264167786, -0.4963326156139374, -0.21153458952903748, 0.37350401282310486, 0.5349722504615784, -0.6214044690132141, 0.2899795174598694, 0.7104038596153259, -0.06759572774171829, 0.819936215877533, 0.14225272834300995, 0.24045491218566895, -0.7157284617424011, 0.2466384321451187, -0.03791480511426926, -0.09824386984109879, -0.4850762188434601, -0.05173708498477936, 0.3055402338504791, -0.08496078103780746, -0.79583340883255, 0.4249264895915985, -0.3721471428871155, -0.16843390464782715, -0.19694797694683075, 0.47692641615867615, 0.19027957320213318, 0.4341682493686676, 0.06892145425081253, 0.5740223526954651, 0.2727490961551666, -0.3425174355506897, 0.621985673904419, 0.06589171290397644, -0.5512689352035522, 0.47769299149513245, -0.6308502554893494, 0.03681601956486702, -0.01373964548110962, 0.4554203748703003, -0.9737264513969421, -0.24388442933559418, 0.02460186555981636, -0.2027330845594406, -0.031169649213552475, 0.1966702789068222, -0.7099382281303406, -0.5853331685066223, -0.5833331346511841, 0.0016648051096126437, 0.25758716464042664, -0.05516763776540756, 0.3437249958515167, 0.11447055637836456, -0.5127773284912109, -0.47242632508277893, -0.6799061894416809, 0.2817399203777313, -0.21485202014446259, -0.8549174666404724, 0.09372164309024811, -0.051899202167987823, 0.07723911106586456, 0.09046605974435806, -0.22606399655342102, -0.1580582857131958, 0.1750485599040985, -0.28875046968460083, 0.2539595067501068, -0.4057011902332306, -0.05665116012096405, -0.02173754945397377, 0.025015149265527725, 0.11234527081251144, 0.14419607818126678, 0.2574549615383148, -0.2657932937145233, -0.5423694849014282, -0.5370572209358215, 0.10313698649406433, 0.3029640316963196, -0.3759881854057312, 0.4482652544975281, 0.7815788984298706, -0.10015428066253662, -0.038277335464954376, -0.4893937408924103, -0.0004405180225148797, -0.46229231357574463, 0.6660733819007874, 0.08644793182611465, -0.643370509147644, 0.4841161370277405, 0.1421755701303482, 0.3213881552219391, 0.5089707374572754, 0.6795588731765747, 0.08545523881912231, 0.9232879877090454, 0.6861250996589661, -0.48235031962394714, 0.2547608017921448, 0.15793576836585999, 0.16925622522830963, -0.41565003991127014, 0.2680870294570923, -0.14129117131233215, -0.4572877585887909, -0.31847867369651794, -0.09423918277025223, 0.5234829187393188, 0.07475518435239792, -0.14115411043167114, 0.09962392598390579, -0.2650943994522095, 0.5690627098083496, 0.3855944871902466, -0.30999481678009033, 0.6784455180168152, -0.4752556085586548, 0.06346356123685837, 0.11619669944047928, -0.6158062815666199, -0.6424307823181152, 0.9580421447753906, 0.49634507298469543, 0.8060048222541809, -0.03092186525464058, 0.4212625324726105, 0.10661423951387405, 0.5493566393852234, -0.6405264139175415, 0.5594805479049683, -0.05470768362283707, -0.8481859564781189, -0.30889222025871277, -0.18727464973926544, -0.4839593470096588, 0.30121076107025146, 0.07286173850297928, -0.5355449318885803, -0.2591651678085327, -0.13971897959709167, -0.5640648603439331, 0.1806863397359848, -0.5502502918243408, 0.8951787352561951, -0.8015167117118835, -0.40613558888435364, -0.07125087827444077, -0.7475588917732239, 0.7057837247848511, -0.1618734896183014, 0.3090468645095825, -0.26430803537368774, -0.16317489743232727, 0.7451246976852417, 0.1615990847349167, 0.9331651926040649, 0.031388115137815475, -0.25676289200782776, 0.37656834721565247, -0.092435821890831, 0.278007447719574, 0.14775194227695465, -0.43102404475212097, 0.3671634793281555, 0.13918094336986542, -0.0032589451875537634, -0.4521104097366333, 0.44045668840408325, -0.5240496397018433, -0.7848755121231079, -0.5343598127365112, -0.6799389719963074, -0.30221158266067505, 0.7263819575309753, 0.3191109001636505, 0.15490859746932983, -0.4917339086532593, 0.3539544343948364, 0.10937964171171188, -0.33154842257499695, 0.5036147832870483, 0.6332792639732361, -0.32370617985725403, -0.3948005437850952, 0.7771159410476685, 0.16020750999450684, 0.19081000983715057, 0.18004955351352692, 0.06800880283117294, -0.18432393670082092, -0.8287143111228943, -0.7362061738967896, 0.10460485517978668, -0.703299343585968, 0.023065542802214622, -0.33551445603370667, -0.5962817668914795, -0.2711757719516754, -0.33492523431777954, -0.45992934703826904, -0.30180981755256653, 0.09257519245147705, -0.23815126717090607, -0.13770456612110138, 0.5451378226280212, 0.0023022708483040333, 0.18077236413955688, -0.9331179261207581, 0.3528139293193817, -0.16707192361354828, 0.5140050053596497, -0.26088443398475647, -0.2863002121448517, -0.4642777740955353, -0.19452671706676483, -0.8785181045532227, -0.760006844997406, 0.051560334861278534, 0.006736373994499445, 0.7774476408958435, 0.4685903489589691, 0.2084292769432068, 0.31593409180641174, -0.49804258346557617, 0.9899506568908691, -0.1059333011507988, -1.0503517389297485, 0.38472139835357666, -0.9290072321891785, 0.07376045733690262, 0.795266330242157, 0.24048036336898804, -0.9280977249145508, -0.6831799745559692, -0.381152480840683, -0.8153401017189026, 0.5300047397613525, 0.05493204668164253, 0.2276744842529297, 0.2073255032300949, 0.16038289666175842, 0.09128783643245697, 0.5218690633773804, -0.8407642245292664, 0.2416357845067978, -0.1668877750635147, -0.35483479499816895, 0.06963342428207397, -0.18903113901615143, -0.31949159502983093, -0.17742523550987244, 0.6340864896774292, -0.0633988007903099, -0.0037958987522870302, 0.16457054018974304, -0.10993154346942902, -0.17128023505210876, 0.3232898712158203, 0.5518790483474731, 1.1139801740646362, 0.07329276204109192, -0.14569485187530518, 0.25026118755340576, -0.3630499541759491, 0.0971810519695282, 0.19863981008529663, -0.14601682126522064, 0.024982627481222153, 0.6535942554473877, 0.367156982421875, 0.20325148105621338, -0.6551356315612793, 0.7632390856742859, 0.014656972140073776, -0.45921966433525085, -0.489117294549942, 0.17810112237930298, 0.25882968306541443, -0.0337107852101326, 0.1825522631406784, -0.3521670699119568, 0.23443372547626495, -0.5214788317680359, 0.29274988174438477, 0.22802016139030457, -0.3622110188007355, -0.3218255639076233, 0.7022964358329773, 0.40147992968559265, 0.171099454164505, 0.446600079536438, -0.1603146493434906, -0.5605548620223999, 0.7662945985794067, 0.2674010992050171, 0.6724734306335449, -0.15076501667499542, 0.25686874985694885, 0.24501310288906097, 0.6536827683448792, -0.3395867347717285, 0.25057920813560486, 0.48242321610450745, -0.5188868045806885, -0.4328327775001526, -0.34352564811706543, -0.43652886152267456, 0.24054016172885895, -0.5751901268959045, 0.5042777061462402, -0.6914623975753784, 0.0507962629199028, -0.12913823127746582, 0.18007174134254456, -0.3155783712863922, -0.08088670670986176, 0.23006173968315125, 1.2437211275100708, -0.7678003311157227, 0.5837708115577698, 0.5723482966423035, -0.4281015992164612, -0.7709692716598511, 0.24301232397556305, 0.4817618429660797, -0.4877726435661316, 0.08025806397199631, 0.5536249876022339, 0.22181326150894165, -0.0442667156457901, -0.41339245438575745, -0.7406193614006042, 1.1168559789657593, 0.3486902713775635, -0.6559447646141052, -0.0018777616787701845, 0.15500293672084808, 0.6842730641365051, -0.11572542041540146, 0.04378713667392731, 0.6576780676841736, 0.7566903829574585, -0.2885628640651703, -1.1142679452896118, -0.0690281018614769, -0.3065001368522644, -0.13149915635585785, -0.1738380789756775, -1.2576426267623901, 0.6362650394439697, -0.17974363267421722, -0.2344180941581726, 0.2876802980899811, 0.6556265354156494, 0.17374305427074432, 0.606833815574646, 0.3654845356941223, 0.35542842745780945, 0.7143782377243042, -0.01772357150912285, 1.133717656135559, -0.3579899072647095, 0.17763271927833557, 0.8417977690696716, -0.4264335334300995, 0.6414018869400024, 0.12521600723266602, 0.026882924139499664, 0.5889338850975037, 0.6660885214805603, -0.36703169345855713, 0.4527329206466675, 0.25908219814300537, -0.09416638314723969, -0.052288126200437546, -0.1289147585630417, -0.36243781447410583, 0.4815289378166199, 0.06760167330503464, -0.3010551333427429, -0.3085075616836548, -0.07452414929866791, 0.23873713612556458, 0.1641937494277954, -0.21682463586330414, 0.7194021940231323, 0.08803743869066238, -0.7841953635215759, 0.3296484351158142, 0.25881078839302063, 0.4399992525577545, -0.6938736438751221, 0.179948627948761, -0.04497181996703148, 0.1713704615831375, -0.16982686519622803, -1.1150814294815063, 0.27796831727027893, 0.04535529389977455, 0.018891537562012672, 0.041007790714502335, 0.6711068153381348, -0.42024949193000793, -0.7764171361923218, -0.02346113696694374, 0.47835347056388855, 0.010603764094412327, 0.11174424737691879, -0.7112913727760315, 0.2850271463394165, -0.24093766510486603, -0.7044545412063599, 0.16389545798301697, 0.5135396718978882, -0.2912984788417816, 0.4912623465061188, 0.7027124166488647, 0.2514926791191101, -0.06427470594644547, 0.1710909754037857, 0.7821032404899597, -0.7705850005149841, -0.668217122554779, -0.7477161884307861, 0.4295702278614044, -0.09023838490247726, -0.42385342717170715, 0.9837775230407715, 0.6133638620376587, 0.7662844657897949, -0.05041661486029625, 1.2880263328552246, -0.1813923716545105, 0.48285263776779175, -0.6493684649467468, 1.0451536178588867, -0.28884994983673096, 0.09473829716444016, -0.22813986241817474, -0.9666236639022827, -0.2887357175350189, 0.3692508637905121, -0.4927787184715271, 0.21221871674060822, 0.8284770846366882, 0.7026873826980591, 0.20814238488674164, 0.18067386746406555, 0.13511969149112701, 0.06053372845053673, 0.4164929986000061, 0.7478765249252319, 0.9662039875984192, -0.13506139814853668, 0.7016898393630981, -0.34384170174598694, -0.17981214821338654, -0.003223598236218095, -1.264844536781311, -1.0623630285263062, -0.230134516954422, 0.04177580401301384, 0.0370124988257885, 0.2666929066181183, 0.5590232610702515, 0.4150068461894989, -0.5803865790367126, -0.0078777140006423, 0.17654463648796082, 0.1835489422082901, -0.4874189496040344, -0.23061953485012054, 0.5071209073066711, -0.3965570032596588, -0.6594581604003906, 0.05654653534293175, 0.1633438915014267, -0.41289547085762024, -0.43614813685417175, 0.18102815747261047, 0.039694592356681824, -0.14773423969745636, 0.37493613362312317, 0.08564631640911102, -0.5720665454864502, -0.3286391794681549, -0.03939194604754448, -0.35198652744293213, -0.01826927252113819, 0.8989598155021667, -0.23034845292568207, 0.23326970636844635, 0.5161260962486267, 0.7704838514328003, -0.12514162063598633, 0.26629748940467834, 0.46928736567497253, -0.6202065944671631, 0.16644130647182465, 0.2257051169872284, 0.10420544445514679, 0.41771677136421204, -0.5606836676597595, 0.5600734353065491, 0.14432966709136963, -0.7166443467140198, -0.5794028639793396, -0.1066654846072197, -0.9016414284706116, -0.05449846759438515, 1.350569248199463, -0.14490751922130585, -0.13919991254806519, -0.22109220921993256, -0.32239630818367004, 0.2304385006427765, -0.22007504105567932, 0.8128383755683899, 1.1359518766403198, -0.01909838616847992, -0.2586684226989746, -1.170035719871521, 0.3780292868614197, 0.2237376719713211, -0.8258832693099976, 0.212388277053833, 0.5225305557250977, 0.4618960916996002, -0.13036470115184784, 0.8045300245285034, -0.2758389115333557, 0.5997776985168457, -0.22142517566680908, 0.05165934935212135, -0.18402841687202454, -0.3340074121952057, -0.17754098773002625, 0.04118094593286514, -0.007332933600991964, 0.24021752178668976 ]
http://arxiv.org/abs/2403.00108v1
http://arxiv.org/pdf/2403.00108v1
LoRA-as-an-Attack! Piercing LLM Safety Under The Share-and-Play Scenario
2024-02-29T20:25:16
2024-02-29T20:25:16
Hongyi Liu, Zirui Liu, Ruixiang Tang, Jiayi Yuan, Shaochen Zhong, Yu-Neng Chuang, Li Li, Rui Chen, Xia Hu
cs.CR
cs.CR, cs.AI, cs.CL
Fine-tuning LLMs is crucial to enhancing their task-specific performance and ensuring model behaviors are aligned with human preferences. Among various fine-tuning methods, LoRA is popular for its efficiency and ease to use, allowing end-users to easily post and adopt lightweight LoRA modules on open-source platforms to tailor their model for different customization. However, such a handy share-and-play setting opens up new attack surfaces, that the attacker can render LoRA as an attacker, such as backdoor injection, and widely distribute the adversarial LoRA to the community easily. This can result in detrimental outcomes. Despite the huge potential risks of sharing LoRA modules, this aspect however has not been fully explored. To fill the gap, in this study we thoroughly investigate the attack opportunities enabled in the growing share-and-play scenario. Specifically, we study how to inject backdoor into the LoRA module and dive deeper into LoRA's infection mechanisms. We found that training-free mechanism is possible in LoRA backdoor injection. We also discover the impact of backdoor attacks with the presence of multiple LoRA adaptions concurrently as well as LoRA based backdoor transferability. Our aim is to raise awareness of the potential risks under the emerging share-and-play scenario, so as to proactively prevent potential consequences caused by LoRA-as-an-Attack. Warning: the paper contains potential offensive content generated by models.
[ -0.16588108241558075, -0.9569113850593567, 0.22108282148838043, 0.026145247742533684, -0.11908285319805145, 0.06757041811943054, 0.4182586073875427, -0.9531200528144836, 0.2980329394340515, 0.722619891166687, -0.6527013778686523, -0.5155318975448608, -0.5461240410804749, -0.29857584834098816, -0.544887900352478, 0.8533796072006226, 0.09731008112430573, -0.276908814907074, 0.29092487692832947, -0.2334618717432022, -0.7215968370437622, -0.5159903764724731, -0.6208221912384033, -0.08011389523744583, 1.1024786233901978, 0.1532139778137207, 0.47536003589630127, 0.6114628911018372, 0.6123926639556885, 0.2676636576652527, -0.1622745543718338, -0.16852553188800812, -0.5774322152137756, 0.08516139537096024, -0.3467924892902374, -0.5820085406303406, -0.7233428359031677, 0.1316133290529251, 0.19739368557929993, 0.2520389258861542, -0.2783268094062805, 0.20735250413417816, 0.01386537216603756, 0.6187971830368042, -0.8131775856018066, -0.6274783611297607, -1.030014991760254, 0.06261880695819855, -0.48294752836227417, -0.12669634819030762, -0.3509061932563782, -0.16426312923431396, 0.03227776661515236, -0.5972697138786316, -0.4479386806488037, 0.048860102891922, 0.6194719672203064, 0.19100232422351837, -0.35398268699645996, -0.1700739711523056, -0.2504104673862457, 0.3449033796787262, -0.4719412922859192, -0.15239626169204712, 0.03470635041594505, 0.40036460757255554, -0.3978613018989563, -0.3564959466457367, -0.05447329580783844, 0.21750110387802124, 0.02547505870461464, 0.11878625303506851, -0.6030721068382263, -0.036634329706430435, 0.25096485018730164, 0.3639568090438843, -0.3386000990867615, 0.45344969630241394, -0.48588475584983826, -0.09011752158403397, 0.6323572993278503, 0.2697736322879791, 0.5460975766181946, 0.07222969084978104, -0.8350734114646912, 0.14668792486190796, -1.0785794258117676, 0.12670980393886566, 0.736091673374176, 0.39751100540161133, -0.4035729765892029, 0.6572356224060059, -0.01557209063321352, 0.4118804931640625, 0.17162519693374634, 0.36342838406562805, 0.02430722676217556, -0.09330443292856216, -0.3125248849391937, 0.08919710665941238, 0.735261857509613, 0.35327601432800293, -0.13028484582901, -0.061478182673454285, -0.19401641190052032, 0.11605557799339294, 0.5409035086631775, -0.6673294305801392, 0.26367297768592834, 0.3113876283168793, -0.22433282434940338, -0.9344316720962524, 0.14213362336158752, -0.6741341948509216, -0.6479737758636475, 0.4793044328689575, 1.0717071294784546, -0.38164815306663513, -0.28332948684692383, 0.3858650326728821, -0.08127135038375854, 0.28496870398521423, 0.4193520247936249, -0.6554556488990784, 0.32056906819343567, 1.0283604860305786, 0.8186283111572266, -0.3338621258735657, -0.39494389295578003, -0.7603070735931396, 0.6442222595214844, -0.17186637222766876, 0.6567988395690918, 0.08576235920190811, -0.515404462814331, 0.12853403389453888, -0.28197625279426575, 0.004299037624150515, -0.6203700304031372, 0.030403247103095055, -0.7948379516601562, 0.0018070065416395664, -0.12650048732757568, -0.2738421559333801, -0.206925630569458, 0.5877672433853149, -0.860889196395874, 0.3783687651157379, -0.14316326379776, -1.0914764404296875, 0.16613468527793884, -1.0871355533599854, -0.541652500629425, -0.13768965005874634, 0.053974252194166183, -0.29563888907432556, 0.32948005199432373, -0.05873558670282364, 0.2839542031288147, 0.12645040452480316, -0.3871074616909027, -0.5432085990905762, -0.5468586087226868, 0.7081941366195679, -0.20508219301700592, 0.6527565121650696, 0.17133280634880066, -0.1503829061985016, 0.20258097350597382, -0.3603062629699707, -0.1689140349626541, -0.05150606483221054, -0.27535516023635864, -0.36809012293815613, -0.3004401922225952, -0.31532517075538635, -0.06146979704499245, 0.4378165006637573, -0.5726903080940247, 0.18558956682682037, -0.809424877166748, 0.29255619645118713, 0.7397662997245789, 0.41213271021842957, 0.3252403140068054, -0.46341559290885925, 0.30864638090133667, 0.12352944165468216, 0.7845616936683655, 0.03634500503540039, -0.4682869613170624, -0.36588841676712036, -0.5152832269668579, 0.1717132031917572, 0.5222219824790955, -0.469698429107666, 0.04479203000664711, 0.4379678964614868, -0.4730603098869324, -0.5714371800422668, -0.013977907598018646, 0.6028813123703003, 0.0831974595785141, 0.024460524320602417, -0.3218599855899811, -0.4082470238208771, -0.549811840057373, -0.42978227138519287, -0.028950460255146027, 0.30535775423049927, 0.2809774577617645, 0.35145559906959534, -0.45738813281059265, 0.7818711400032043, -0.38901323080062866, -0.4714801609516144, 0.043911177664995193, -0.12425410002470016, 0.5174748301506042, 0.6250781416893005, 0.47139474749565125, -0.4702654480934143, -0.4350457191467285, 0.2250305414199829, -0.8727946877479553, 0.06523250788450241, 0.3146710693836212, -0.295443594455719, 0.1680169701576233, 0.3740042448043823, -0.6339336037635803, 0.8985819816589355, 0.7003162503242493, -0.27906423807144165, 0.4005671739578247, -0.18150776624679565, 0.051058366894721985, -1.2878073453903198, 0.1571439802646637, -0.46493980288505554, 0.0011878443183377385, -0.7402274012565613, 0.7885026335716248, -0.19743743538856506, -0.2339732050895691, -0.8714356422424316, 0.5311477184295654, 0.029443340376019478, -0.33237016201019287, -0.3386791944503784, -0.06528670340776443, 0.05119432136416435, 0.12986643612384796, -0.3873347043991089, 0.7594040036201477, 0.6685993075370789, -0.4578564763069153, 0.25492605566978455, -0.08579318970441818, -0.2021176517009735, 0.5023017525672913, -0.7340894341468811, 0.20782975852489471, 0.7114589214324951, -0.012049932032823563, -0.5687070488929749, -0.34955519437789917, 0.6577666401863098, -0.41509494185447693, 0.2784607410430908, -0.5179035067558289, -0.3559515178203583, 0.11808902770280838, -0.6073959469795227, 0.3385109007358551, 0.3758925795555115, -0.8262216448783875, 0.7998417019844055, 0.29357200860977173, 0.3480389714241028, -1.084944248199463, -0.6655896902084351, 0.062093980610370636, -0.9350749254226685, -1.0239461660385132, 0.2064048796892166, -0.26157572865486145, -0.43495121598243713, -0.16554462909698486, -0.0650668740272522, -0.02540936879813671, 0.8455440998077393, 0.6980063915252686, 0.2846081852912903, -0.13081562519073486, -0.3097357153892517, -0.06300808489322662, -0.26879799365997314, 0.08444540202617645, -0.06543127447366714, 0.5444141030311584, -0.1666973978281021, -0.8451207280158997, -0.6728971600532532, 0.6125347018241882, 0.4001691937446594, -0.10391943156719208, 0.6257423162460327, 0.43030330538749695, -0.21790772676467896, -0.08347022533416748, -0.5154269933700562, -0.16663454473018646, -0.5998464226722717, 0.17599175870418549, -0.3381580710411072, -0.8135148286819458, 0.7245578765869141, 0.1074921190738678, 0.2816995084285736, 0.23017868399620056, 0.3072347044944763, -0.6164840459823608, 0.5081537961959839, 0.6471856832504272, -0.02178703434765339, 0.3982868194580078, -0.18819785118103027, -0.02205289900302887, -0.819878339767456, -0.19317291676998138, -0.05126159265637398, -0.5312390923500061, -0.48325756192207336, -0.08885478973388672, 0.33141422271728516, 0.0977458655834198, -0.17427878081798553, 0.3978225588798523, -0.06166230887174606, 0.5109162330627441, 0.42706727981567383, 0.4126903712749481, 0.5047562718391418, 0.0002877211372833699, 0.0001456909376429394, 0.22042550146579742, -0.33814820647239685, -0.055853791534900665, 0.9945764541625977, 0.6324011087417603, 1.1187677383422852, 0.5715047121047974, 1.2264643907546997, 0.42021021246910095, 0.10657995939254761, -0.7777531147003174, 0.5557950139045715, -0.1600494682788849, -0.6311294436454773, -0.16028186678886414, -0.2735130786895752, -1.1663846969604492, 0.0032130021136254072, -0.2008904665708542, -0.9282204508781433, 0.033587440848350525, 0.269056499004364, -0.7833800315856934, 0.46887484192848206, -0.7835801243782043, 0.6832504272460938, -0.1879766285419464, -0.48265913128852844, -0.3717345595359802, -0.39837735891342163, 0.42458608746528625, -0.3307194709777832, 0.27821996808052063, 0.08541593700647354, -0.07101867347955704, 0.4942648112773895, -0.32678458094596863, 1.1090433597564697, -0.11156003177165985, -0.4592868685722351, 0.05992284417152405, 0.38985109329223633, 0.39667755365371704, 0.39733436703681946, 0.18439576029777527, 0.22223129868507385, -0.08568811416625977, -0.2340492308139801, -0.5016013383865356, 0.6113505959510803, -0.8951932787895203, -1.0216144323349, -0.6225892305374146, -0.5292467474937439, -0.009188353084027767, -0.031564392149448395, 0.3140096068382263, 0.284820556640625, -0.3022308945655823, -0.11440660059452057, 0.9093050956726074, -0.342265784740448, 0.4689123034477234, 0.47496530413627625, -0.4770812392234802, -0.36845970153808594, 0.8238563537597656, -0.07442615181207657, 0.5814582705497742, 0.11920709162950516, 0.2716381549835205, 0.201130211353302, -0.8443505764007568, -0.2681067883968353, 0.27777910232543945, -0.34587034583091736, -0.3166104555130005, -0.31395167112350464, -0.40918901562690735, -0.07165010273456573, -0.23124541342258453, -0.41138961911201477, -0.06529267877340317, -0.22253860533237457, -0.037784237414598465, 0.7349587082862854, 0.9834912419319153, -0.34983140230178833, 0.696108341217041, -0.537761390209198, -0.006642748136073351, 0.5835651755332947, 0.4009557366371155, -0.1917995810508728, -0.526181697845459, -0.316497802734375, -0.06457450240850449, -0.006588136311620474, -0.7511821985244751, 0.17488421499729156, -0.3719950020313263, 0.19469009339809418, 0.513992428779602, -0.10222455859184265, 0.5016241073608398, -0.3944093585014343, 0.36675962805747986, 0.34054768085479736, -0.6028140187263489, 0.46288222074508667, -0.6059569120407104, -0.010224868543446064, 0.46011587977409363, -0.03328965976834297, -0.3558711111545563, 0.0667283684015274, -0.5428555607795715, -0.7161540985107422, 0.6183979511260986, -0.020453987643122673, 0.10274849086999893, 0.35730797052383423, 0.18214952945709229, 0.17946277558803558, 0.13241691887378693, -0.7892154455184937, -0.0733601450920105, 0.030409006401896477, 0.28717219829559326, 0.4834200441837311, -0.2793659567832947, -0.6430062055587769, 0.5478668212890625, 0.604926347732544, 0.24086910486221313, 0.08583086729049683, -0.32029709219932556, -0.07681497931480408, -0.10030996054410934, 0.3711102604866028, 0.35865840315818787, 0.0983627587556839, -0.4486711621284485, 0.03228548541665077, 0.3412063419818878, -0.46424272656440735, -0.10143473744392395, -0.12193004041910172, -0.07626429945230484, -0.5620676875114441, 0.18140020966529846, 0.35684362053871155, 0.28783249855041504, -0.5355659127235413, 0.6468505263328552, -0.11261128634214401, -0.159364253282547, -0.2967194616794586, 0.3434871435165405, 0.14969182014465332, 0.7186862826347351, 0.07170751690864563, 0.24133078753948212, 0.06984958052635193, -0.8319070935249329, 0.053406935185194016, 0.6594306230545044, -0.47577062249183655, -0.43086859583854675, -0.003643695032224059, 0.09662369638681412, -0.4320734143257141, -0.023358099162578583, 0.13149364292621613, -0.4497925639152527, 0.3671048879623413, 0.4302216172218323, 0.7310339212417603, -0.304815411567688, -0.18251876533031464, -0.255261093378067, 0.3459904193878174, 0.3050554096698761, 0.3593093156814575, 0.3496943414211273, -0.7145039439201355, -0.06583932787179947, -0.16500189900398254, -0.3684568703174591, 0.15048666298389435, -0.8612387776374817, 0.13233938813209534, -0.7516797780990601, -0.1574302315711975, -0.4183861017227173, -0.06052923575043678, -0.19122715294361115, -0.15120773017406464, 0.1049741804599762, 1.0191234350204468, -0.6997258067131042, 0.7199458479881287, 0.3462115526199341, -0.23077166080474854, -0.5576295852661133, 0.13412953913211823, 0.11202828586101532, -1.0501649379730225, 0.5622302889823914, 0.2020118683576584, -0.442602276802063, -0.4029523432254791, -0.3575005531311035, -0.8180482387542725, 1.1334885358810425, 0.24860118329524994, -0.3440565764904022, -0.2623341381549835, 0.07991991937160492, 0.1530686318874359, -0.236373633146286, -0.3278202414512634, 0.4755585193634033, 0.22495803236961365, 0.18941588699817657, -0.5806421041488647, 0.03939220681786537, -0.031532950699329376, -0.37954607605934143, 0.09519408643245697, -0.5271691083908081, 0.8200584053993225, -0.12828201055526733, -0.20898421108722687, 0.3585703372955322, 0.4130925238132477, 0.5726970434188843, 0.5377053022384644, 0.5786116123199463, 0.7335717678070068, 0.34391504526138306, 0.16609561443328857, 0.7828307747840881, -0.04157281294465065, -0.2971586585044861, 1.2095834016799927, -0.5034306645393372, 1.107795000076294, 0.7504559755325317, 0.13497239351272583, 0.21724630892276764, 0.43797776103019714, 0.1026177629828453, 0.5804746747016907, 0.2817160487174988, -0.3594426214694977, 0.07733716815710068, -0.16915467381477356, -0.8559935092926025, 0.542026937007904, 0.5278186798095703, 0.06384534388780594, 0.01926412247121334, -0.06038079038262367, 0.1642051488161087, 0.05781004950404167, -0.5566203594207764, 0.8889416456222534, 0.2048569619655609, -0.03777886554598808, -0.07385408878326416, -0.15302212536334991, 1.0668128728866577, -0.8590992093086243, 0.27616429328918457, -0.33023127913475037, 0.1872168928384781, -0.5026577115058899, -0.658955454826355, 0.215689554810524, 0.17169803380966187, 0.027667999267578125, 0.2371058464050293, 0.7802465558052063, 0.05741843953728676, 0.014573524706065655, 0.8247439861297607, 0.5873610973358154, -0.05695408955216408, -0.13193368911743164, -0.5700290203094482, 0.35046127438545227, -0.13176409900188446, -0.1311459243297577, 0.8897418975830078, 0.45615068078041077, 0.22499464452266693, 0.617545485496521, 0.6103784441947937, 0.2304680347442627, 0.1774366796016693, -0.025606021285057068, 1.078906536102295, -0.48601654171943665, -0.4592423737049103, -0.9713211059570312, 0.4917307496070862, -0.12518717348575592, 0.00008615206752438098, 0.8804024457931519, 0.4659295678138733, 0.5875846147537231, 0.19493572413921356, 0.6095229983329773, 0.20682983100414276, 0.5255236029624939, -0.6659666299819946, 1.129483699798584, -0.6974001526832581, 0.5439109802246094, -0.43638738989830017, -0.23781989514827728, -0.1137368381023407, 0.21066977083683014, -0.07345453649759293, -0.3411118686199188, 0.48357728123664856, 0.8764612078666687, -0.154747873544693, -0.09614858031272888, 0.5183573961257935, 0.2656235098838806, 0.2057214081287384, 0.5287105441093445, 1.3737585544586182, -0.4643594026565552, 0.6990808248519897, -0.04136183112859726, -0.14861789345741272, -0.3715773820877075, -1.0484510660171509, -1.1734800338745117, 0.08037517964839935, -0.2302013635635376, -0.6408595442771912, 0.38059157133102417, 0.6342392563819885, 0.5810846090316772, -0.5612128376960754, -0.44942304491996765, 0.3816930055618286, 0.045783620327711105, -0.060360874980688095, -0.06092187017202377, 0.039856359362602234, 0.010328495875000954, -0.07047247141599655, 0.7055676579475403, 0.3159908950328827, 0.13654324412345886, -0.19780489802360535, 0.0002897271479014307, -0.35498008131980896, 0.14426952600479126, 0.19664475321769714, 0.42911139130592346, -0.6626665592193604, -0.3717883825302124, -0.05014561116695404, -0.1274794340133667, 0.01757890172302723, 0.5453362464904785, -0.4510912299156189, 0.09064333885908127, 0.09815477579832077, 0.7837864756584167, 0.3148050010204315, -0.28095588088035583, 0.6756259799003601, -0.8328782916069031, 0.05575374886393547, -0.15130944550037384, 0.4444381594657898, -0.014172934927046299, -0.5280226469039917, 0.573611855506897, 0.1080181673169136, -0.15541045367717743, -0.9339035153388977, 0.6156752109527588, -1.1768728494644165, -0.28399601578712463, 0.8906373381614685, -0.38832104206085205, -0.44965681433677673, -0.030381444841623306, -0.17749838531017303, 0.16607627272605896, -0.4767996668815613, 0.8261663317680359, 0.09550055116415024, 0.2845747768878937, 0.31722548604011536, -0.33935999870300293, 0.3094140589237213, 0.04429688677191734, -0.8637047410011292, 0.029914850369095802, -0.03918800503015518, 0.3326982259750366, 0.19779707491397858, 0.07696610689163208, -0.1465085744857788, 0.5463036298751831, -0.19599460065364838, -0.2660351097583771, -0.3616009056568146, -0.3089444935321808, -0.5236348509788513, 0.38260579109191895, 0.19293731451034546, -0.30013716220855713 ]
http://arxiv.org/abs/2403.00858v4
http://arxiv.org/pdf/2403.00858v4
Direct Alignment of Draft Model for Speculative Decoding with Chat-Fine-Tuned LLMs
2024-02-29T19:55:06
2024-05-13T18:34:30
Raghavv Goel, Mukul Gagrani, Wonseok Jeon, Junyoung Park, Mingu Lee, Christopher Lott
cs.LG
cs.LG, cs.AI, cs.CL
Text generation with Large Language Models (LLMs) is known to be memory bound due to the combination of their auto-regressive nature, huge parameter counts, and limited memory bandwidths, often resulting in low token rates. Speculative decoding has been proposed as a solution for LLM inference acceleration. However, since draft models are often unavailable in the modern open-source LLM families, e.g., for Llama 2 7B, training a high-quality draft model is required to enable inference acceleration via speculative decoding. In this paper, we propose a simple draft model training framework for direct alignment to chat-capable target models. With the proposed framework, we train Llama 2 Chat Drafter 115M, a draft model for Llama 2 Chat 7B or larger, with only 1.64\% of the original size. Our training framework only consists of pretraining, distillation dataset generation, and finetuning with knowledge distillation, with no additional alignment procedure. For the finetuning step, we use instruction-response pairs generated by target model for distillation in plausible data distribution, and propose a new Total Variation Distance++ (TVD++) loss that incorporates variance reduction techniques inspired from the policy gradient method in reinforcement learning. Our empirical results show that Llama 2 Chat Drafter 115M with speculative decoding achieves up to 2.3 block efficiency and 2.4$\times$ speed-up relative to autoregressive decoding on various tasks with no further task-specific fine-tuning.
[ -0.04258161038160324, -0.6900372505187988, 0.4373002350330353, 0.27839216589927673, -0.544926106929779, 0.3025906980037689, -0.18041853606700897, -0.45460039377212524, 0.22348731756210327, 0.640393078327179, -0.8147373795509338, -0.366416335105896, -0.6691433191299438, -0.11802767217159271, -0.3937961757183075, 0.7866665720939636, -0.3098732829093933, -0.04120054095983505, 0.01898873597383499, 0.34325817227363586, -0.5185601115226746, -0.39550548791885376, -0.5287129282951355, -0.18890009820461273, 0.3437115252017975, 0.4911497235298157, 0.40617823600769043, 0.9915960431098938, 0.5936545133590698, 0.2823260426521301, -0.1760096549987793, 0.4320731461048126, -1.0061492919921875, 0.16815029084682465, 0.13454946875572205, -0.6696900129318237, -0.5483759045600891, -0.07704757899045944, 0.5670862197875977, 0.29110291600227356, -0.24626587331295013, 0.09400346130132675, 0.04598322510719299, 0.5638147592544556, -0.6110937595367432, 0.036997027695178986, -1.0242584943771362, -0.03556109964847565, -0.35172510147094727, -0.4407280683517456, -0.5580397844314575, -0.2337377518415451, 0.02552116848528385, -0.7596818804740906, 0.34320157766342163, 0.3122580349445343, 0.9059451818466187, 0.521763026714325, -0.44221004843711853, -0.1767805814743042, -0.9121677875518799, 0.6377318501472473, -0.7806496620178223, 0.20408183336257935, 0.34823471307754517, 0.31530579924583435, -0.4955025017261505, -0.5024079084396362, -0.7160986065864563, 0.024654800072312355, 0.19844144582748413, 0.07598639279603958, -0.11717456579208374, 0.2656533718109131, 0.16230417788028717, 0.37913355231285095, -0.52010178565979, 0.4934524595737457, -0.32567861676216125, -0.41003668308258057, 0.683872640132904, 0.41226258873939514, -0.3469873368740082, 0.19169701635837555, -0.5555680990219116, -0.1999857872724533, -0.6709979176521301, -0.06739343702793121, 0.6549835801124573, 0.1888384073972702, -0.23051440715789795, 0.5338646769523621, -0.3467283248901367, 0.662651777267456, 0.5346242189407349, -0.15516163408756256, 0.1375592052936554, -0.23169760406017303, -0.14257760345935822, 0.19713890552520752, 0.8012163639068604, 0.35746145248413086, -0.02858605422079563, -0.06872344017028809, -0.11830110102891922, 0.20521245896816254, 0.2524814307689667, -0.803449273109436, -0.16446898877620697, 0.12849651277065277, -0.29579493403434753, -0.6225610375404358, -0.1989092081785202, -0.46917715668678284, -0.45436346530914307, -0.2407415807247162, 0.08117234706878662, -0.34625041484832764, -0.2966012954711914, 0.49624714255332947, -0.01590980403125286, 0.4529525935649872, 0.4450693428516388, -1.1291494369506836, 0.23822468519210815, 0.6468837261199951, 0.5645765662193298, -0.2888581454753876, -0.21749497950077057, -0.4657147228717804, 0.3006224036216736, -0.481533944606781, 0.9977536201477051, -0.4380679428577423, -0.3239764869213104, -0.04877401515841484, -0.27802103757858276, 0.028845947235822678, -0.25234466791152954, 0.7923159599304199, -0.6765334606170654, -0.012145226821303368, -0.08875858038663864, -0.8620576858520508, 0.01752137392759323, 0.322934091091156, -0.4853263199329376, 0.8580987453460693, -0.18676809966564178, -0.8462574481964111, 0.3559691905975342, -0.16614727675914764, -0.233793705701828, -0.190140962600708, -0.06484350562095642, -0.2844946086406708, 0.10852586477994919, 0.2878449857234955, 0.4173201024532318, -0.43604862689971924, 0.3690965175628662, -0.4856264889240265, -0.652062714099884, 0.2462390661239624, -0.8397748470306396, 0.19172601401805878, 0.2879791259765625, -0.09715864062309265, 0.06217191740870476, -0.6616505980491638, -0.07005762308835983, 0.1393510103225708, -0.49325087666511536, -0.04728313162922859, 0.14948983490467072, -0.07305378466844559, -0.006239134352654219, 0.32312968373298645, -0.4396746754646301, 0.4393165707588196, -0.4543205201625824, 0.20695869624614716, 0.7691848874092102, -0.0502287782728672, 0.5044612288475037, -0.4322369694709778, 0.3968270421028137, 0.2470894157886505, -0.007946588099002838, -0.020832553505897522, -0.01497641857713461, -0.839920163154602, -0.3296217918395996, 0.3823668658733368, 0.46297702193260193, -0.7085901498794556, 0.5049261450767517, -0.3738137483596802, -0.5022701621055603, -0.5756210088729858, 0.205910786986351, 0.3520508110523224, 0.6091386675834656, 0.1536969095468521, -0.011355453170835972, -0.735289990901947, -0.7889900207519531, -0.045454781502485275, -0.21124547719955444, 0.11584243178367615, 0.07579941302537918, -0.03443904221057892, -0.21707595884799957, 0.6332338452339172, -0.565697431564331, -0.21623145043849945, -0.3791424632072449, -0.009130389429628849, 0.12318053841590881, 0.5718414783477783, 0.2499002069234848, -0.469922810792923, -0.292334645986557, -0.1072588637471199, -0.5235424041748047, -0.17214885354042053, -0.13098350167274475, -0.6067693829536438, 0.0729944258928299, 0.5765204429626465, -0.7007836103439331, 0.2143591344356537, 0.6351940035820007, -0.2255013883113861, 0.3481805622577667, -0.11885473877191544, -0.10499121993780136, -1.401457667350769, -0.18154162168502808, -0.02061927504837513, -0.1824212223291397, -0.7170490622520447, -0.1749008148908615, 0.049849025905132294, 0.1435161530971527, -0.39199480414390564, 0.5039591193199158, -0.5429948568344116, 0.2513657808303833, -0.5574899315834045, 0.0721641406416893, 0.1424885243177414, 0.45490750670433044, 0.3157244026660919, 0.59055095911026, 0.38832107186317444, -0.45278242230415344, 0.18323566019535065, 0.31850743293762207, -0.23935867846012115, 0.11491188406944275, -0.47728392481803894, 0.2944440543651581, -0.13449867069721222, 0.5948911309242249, -0.9726576209068298, -0.2703627049922943, 0.4040682315826416, -0.19669120013713837, 0.5800194144248962, -0.0419352762401104, -0.19158318638801575, -0.35824307799339294, -0.3094957172870636, 0.43332016468048096, 0.5815726518630981, -0.46721750497817993, 0.38102149963378906, 0.234441876411438, 0.20720253884792328, -0.9646169543266296, -0.6065981388092041, -0.14200685918331146, -0.2748827338218689, -0.5480853319168091, 0.47876566648483276, 0.032624900341033936, 0.04131545498967171, -0.1537596583366394, -0.3233463168144226, -0.09455284476280212, -0.03286976367235184, 0.22433529794216156, 0.41199809312820435, -0.2997778356075287, -0.08246079832315445, 0.32991114258766174, -0.10046636313199997, -0.14557398855686188, -0.2854275405406952, 0.6780145168304443, 0.14202037453651428, -0.3149639070034027, -0.5073887705802917, 0.19914518296718597, 0.3019406497478485, 0.00807711761444807, 0.5777496695518494, 0.5174278616905212, -0.13086757063865662, -0.19629976153373718, -0.9351494908332825, -0.0991540178656578, -0.5109479427337646, 0.4293960630893707, -0.358475923538208, -0.9630123376846313, 0.5569769740104675, -0.20043744146823883, 0.07556229829788208, 0.4171374440193176, 0.495193213224411, -0.16520586609840393, 0.72505122423172, 0.6890205144882202, -0.19197113811969757, 0.5248615145683289, -0.2446841299533844, -0.16269266605377197, -0.7678354978561401, -0.1824525147676468, -0.31803151965141296, -0.612879753112793, -0.28594595193862915, -0.6413640975952148, -0.27951323986053467, 0.40249142050743103, -0.20103897154331207, 0.225343719124794, -0.3431081771850586, 0.6367282271385193, 0.3062075078487396, 0.2388305962085724, 0.3535881042480469, 0.041809000074863434, 0.05254322662949562, 0.04347682371735573, -0.742182731628418, -0.5139237642288208, 1.1931211948394775, 0.49302440881729126, 1.1195182800292969, -0.11707303673028946, 0.8156224489212036, 0.0815371572971344, 0.12701962888240814, -0.7232447862625122, 0.4231979548931122, -0.06688948720693588, -0.40368983149528503, -0.16785922646522522, -0.47113895416259766, -0.7228572368621826, 0.056800477206707, -0.3593527674674988, -0.5131561756134033, 0.23022443056106567, 0.4300040900707245, -0.3037608861923218, 0.29412841796875, -0.6290388107299805, 0.5672949552536011, -0.12789735198020935, -0.13726061582565308, -0.2852078378200531, -0.4847046434879303, 0.7907411456108093, -0.09211137890815735, -0.32434919476509094, -0.3462600111961365, -0.033972177654504776, 0.6053929328918457, -0.4006383419036865, 0.89046311378479, -0.18487685918807983, -0.31941187381744385, 0.31992459297180176, 0.1804060935974121, 0.8454431295394897, -0.005305455066263676, -0.05663685128092766, 0.1560932695865631, -0.0825464278459549, -0.34062647819519043, -0.4801104962825775, 0.5323021411895752, -0.9843360781669617, -0.6871852874755859, -0.2726482152938843, -0.6601221561431885, -0.38344496488571167, -0.0029974179342389107, 0.4887371361255646, 0.20794977247714996, -0.3017236590385437, -0.06235858052968979, 0.7668817043304443, 0.07834476232528687, 0.20559661090373993, 0.6869842410087585, 0.01040458120405674, -0.16862185299396515, 0.7931568026542664, -0.34116271138191223, 0.3199232518672943, 0.6598576307296753, -0.1119597777724266, -0.4363132119178772, -0.9611570239067078, -0.44636455178260803, 0.13814601302146912, -0.40734434127807617, -0.532124400138855, -0.4502279460430145, -0.3901880085468292, -0.15973570942878723, -0.09456387162208557, -0.5275745391845703, -0.2859806418418884, -0.5626809597015381, -0.10710567235946655, 0.48684176802635193, 0.4732561409473419, 0.1284344345331192, 0.6686179041862488, -0.7569195032119751, 0.2649538815021515, -0.07449910789728165, 0.25699055194854736, -0.016799647361040115, -0.895088255405426, -0.11286409199237823, 0.33068034052848816, -0.43419402837753296, -0.5656083822250366, 0.3041161298751831, 0.17675599455833435, 0.38887378573417664, 0.5779705047607422, 0.2744396924972534, 0.9854124188423157, -0.5647251009941101, 0.43970978260040283, 0.19654175639152527, -0.7066826820373535, 0.351335734128952, -0.4681069850921631, 0.19538258016109467, 0.6818305253982544, 0.23520249128341675, -0.32930445671081543, -0.4140125513076782, -0.3075174391269684, -0.44439172744750977, 0.847396731376648, 0.09024930745363235, 0.26318374276161194, 0.010042061097919941, 0.5374774932861328, 0.2508860230445862, 0.03309674933552742, -0.25708672404289246, 0.030011476948857307, -0.009059618227183819, -0.39033257961273193, -0.035355206578969955, -0.5094324946403503, -0.035482700914144516, -0.025423530489206314, 0.6353446245193481, -0.22212187945842743, 0.3729109466075897, 0.02357017621397972, 0.011705591343343258, -0.26633742451667786, 0.03821944445371628, 0.5992415547370911, 0.12518087029457092, -0.263939768075943, -0.06323931366205215, 0.15822334587574005, -0.6748510599136353, 0.4605254530906677, 0.2233334481716156, 0.06929198652505875, -0.27591779828071594, 0.2655492126941681, 1.1355277299880981, 0.2388709932565689, -0.5352936387062073, 0.4100980758666992, -0.4287246763706207, -0.464874804019928, -0.027770021930336952, 0.23069892823696136, 0.16878753900527954, 0.5444595217704773, 0.37324774265289307, 0.20526418089866638, -0.061261504888534546, -0.07607155293226242, -0.03848309814929962, 0.47791028022766113, -0.1291002333164215, -0.2641405165195465, 0.7421516180038452, 0.3829273581504822, 0.01719496212899685, 0.6751461625099182, -0.19137068092823029, -0.17842857539653778, 0.44132623076438904, 0.7211517691612244, 0.850237250328064, 0.06135119870305061, 0.07545982301235199, 0.15365663170814514, 0.020708909258246422, -0.4229426681995392, 0.2998335361480713, -0.005882973317056894, -0.9480885863304138, -0.6892996430397034, -0.7895252108573914, -0.42954912781715393, 0.2022896558046341, -0.6240707635879517, 0.3673804700374603, -0.34858232736587524, -0.08430750668048859, -0.34061557054519653, 0.09488695859909058, -0.6938260793685913, -0.14760391414165497, 0.36255067586898804, 0.995072066783905, -0.5096678733825684, 1.0910762548446655, 0.2744956910610199, 0.0912843719124794, -1.074942946434021, 0.20383703708648682, -0.03248688578605652, -0.8964613080024719, 0.468196302652359, 0.06727611273527145, -0.025754883885383606, 0.12838415801525116, -0.4362858235836029, -1.1207964420318604, 1.2388391494750977, 0.801336944103241, -1.0797444581985474, -0.31916260719299316, 0.059102870523929596, 0.3898940980434418, -0.38917896151542664, 0.16821883618831635, 0.4075865149497986, -0.02586854249238968, 0.5446058511734009, -0.8461978435516357, 0.04983455687761307, -0.27781981229782104, 0.1333945095539093, 0.15716984868049622, -0.8076093196868896, 0.5089698433876038, -0.06349638104438782, -0.2305358499288559, 0.2732216417789459, 0.9312303066253662, 0.35993924736976624, -0.014046710915863514, 0.2688431739807129, 0.5268620252609253, 0.7902962565422058, -0.02443377673625946, 0.7856300473213196, -0.4314664602279663, 0.0826692134141922, 1.1229299306869507, -0.4386521577835083, 0.9603938460350037, 0.4321315884590149, 0.032806072384119034, 0.31765222549438477, 0.8143932819366455, 0.31329861283302307, 0.6351724863052368, 0.15965773165225983, -0.19931218028068542, -0.2872646152973175, 0.038418009877204895, -0.3772364556789398, 0.5659859776496887, 0.41385430097579956, -0.22522859275341034, -0.10019983351230621, -0.20852942764759064, -0.18129536509513855, -0.06537722796201706, -0.19378787279129028, 0.8699175119400024, 0.05283576622605324, -0.5905671715736389, 0.9540790915489197, -0.016434824094176292, 0.9523334503173828, -0.7528659701347351, 0.18579696118831635, -0.3941097855567932, 0.3961883783340454, 0.02585332840681076, -0.53519207239151, 0.2574717104434967, 0.055663950741291046, -0.26350677013397217, -0.06888994574546814, 0.6940780878067017, -0.5221977233886719, -0.5200618505477905, 0.08765579015016556, 0.36973926424980164, 0.03532644733786583, 0.08651891350746155, -0.5088609457015991, 0.4458863437175751, 0.09820496290922165, -0.36064431071281433, 0.4780898690223694, 0.6044062972068787, 0.02704618126153946, 0.5279402136802673, 0.7256944179534912, 0.15758377313613892, 0.1686185598373413, -0.10479126870632172, 1.0673264265060425, -0.4423880875110626, -0.4280364513397217, -0.8926733732223511, 0.2726963460445404, 0.051000408828258514, -0.34715554118156433, 0.4976203441619873, 0.3387763500213623, 0.7323704361915588, 0.0007535145850852132, 0.5603851079940796, 0.23607373237609863, 0.2656994163990021, -0.6805334687232971, 0.45256128907203674, -0.14240331947803497, 0.370510071516037, -0.13447514176368713, -0.9985643029212952, 0.09738948941230774, 0.3991042673587799, -0.24750202894210815, -0.372234970331192, 0.3035600185394287, 0.900985062122345, -0.08737605810165405, -0.008805741555988789, 0.16775619983673096, 0.08335449546575546, 0.26314297318458557, 0.7429013252258301, 0.967315673828125, -0.46255165338516235, 0.7070255875587463, -0.1992834359407425, -0.07025577127933502, -0.2277260571718216, -0.8936598300933838, -0.979089617729187, -0.3485391139984131, -0.16774970293045044, -0.21157324314117432, 0.14786513149738312, 0.9290992617607117, 0.6177409887313843, -0.4517350494861603, -0.24036531150341034, -0.2597912549972534, -0.21122945845127106, -0.08075490593910217, -0.17785707116127014, 0.20108798146247864, -0.2944355309009552, -0.5940343141555786, 0.4884912073612213, -0.026085590943694115, 0.41805577278137207, -0.0921521931886673, -0.3392477035522461, -0.1323515623807907, 0.14566482603549957, 0.29441583156585693, 0.2687629163265228, -0.7657034993171692, -0.07828134298324585, 0.08026348054409027, -0.22876495122909546, -0.00789936725050211, 0.6323927640914917, -0.7423295378684998, 0.19052410125732422, 0.3885668218135834, 0.7982827425003052, 0.7571996450424194, 0.26108378171920776, 0.7772488594055176, -0.8052627444267273, 0.6055873036384583, 0.2614079713821411, 0.1689886450767517, 0.05728405714035034, -0.5608646869659424, 0.13582083582878113, 0.008276429958641529, -0.4640631675720215, -0.8842583894729614, 0.05045167729258537, -1.0551377534866333, 0.016107412055134773, 1.2470241785049438, 0.06852428615093231, -0.24384045600891113, 0.29128703474998474, -0.575587809085846, 0.396857351064682, -0.579711377620697, 0.7218553423881531, 0.533890962600708, -0.012445516884326935, -0.10421052575111389, -0.1494370400905609, 0.6309576630592346, 0.29120248556137085, -0.6281887888908386, 0.32815542817115784, 0.5289903283119202, 0.05418061465024948, -0.19156989455223083, 0.7727489471435547, 0.19833293557167053, 0.08316401392221451, 0.309008926153183, -0.011081424541771412, -0.21944013237953186, -0.1453910619020462, -0.2055439054965973, -0.2094424068927765, 0.21909920871257782, -0.18680340051651 ]
http://arxiv.org/abs/2403.00092v2
http://arxiv.org/pdf/2403.00092v2
PROC2PDDL: Open-Domain Planning Representations from Texts
2024-02-29T19:40:25
2024-07-02T04:50:36
Tianyi Zhang, Li Zhang, Zhaoyi Hou, Ziyu Wang, Yuling Gu, Peter Clark, Chris Callison-Burch, Niket Tandon
cs.CL
cs.CL
Planning in a text-based environment continues to be a major challenge for AI systems. Recent approaches have used language models to predict a planning domain definition (e.g., PDDL) but have only been evaluated in closed-domain simulated environments. To address this, we present Proc2PDDL , the first dataset containing open-domain procedural texts paired with expert-annotated PDDL representations. Using this dataset, we evaluate state-of-the-art models on defining the preconditions and effects of actions. We show that Proc2PDDL is highly challenging, with GPT-3.5's success rate close to 0% and GPT-4's around 35%. Our analysis shows both syntactic and semantic errors, indicating LMs' deficiency in both generating domain-specific prgorams and reasoning about events. We hope this analysis and dataset helps future progress towards integrating the best of LMs and formal planning.
[ -0.22826407849788666, -0.7569804787635803, 0.7443925738334656, 0.2660783529281616, 0.06691142171621323, -0.13606923818588257, -0.28740614652633667, -0.08283897489309311, -0.18720580637454987, 0.5928083658218384, -0.7696018218994141, -0.5500162243843079, -0.38254010677337646, -0.021357540041208267, 0.01917584426701069, 1.0191535949707031, -0.7370192408561707, 0.1586296558380127, -0.41113707423210144, 0.14211405813694, -0.4140660762786865, -0.7213979363441467, -0.43724560737609863, -0.4123881757259369, 0.10173958539962769, 0.3056785464286804, 0.8082149624824524, 0.028396906331181526, 0.4483833611011505, 0.040093835443258286, 0.1797131448984146, 0.5295987725257874, -0.41333287954330444, -0.04757742956280708, -0.30113330483436584, 0.008414927870035172, -0.48520413041114807, 0.08494196087121964, 0.3859879970550537, 0.5600194931030273, -0.25466305017471313, -0.3214515447616577, -0.018013939261436462, 0.4424130916595459, -0.5328907370567322, 0.8397009372711182, -0.25476327538490295, 0.1521397829055786, -0.11501923203468323, -0.13390934467315674, -0.44336235523223877, -0.23810279369354248, 0.34002628922462463, -0.8821000456809998, 0.12677668035030365, -0.1300647109746933, 0.38581860065460205, 0.3034299612045288, -0.13084836304187775, -0.61240154504776, -1.1648098230361938, 0.41571497917175293, -0.40782612562179565, 0.08629146963357925, 0.7370206117630005, 0.2631155252456665, -0.5494371652603149, -0.8598418235778809, -0.8553537130355835, 0.06576436758041382, -0.18415091931819916, 0.1834222376346588, 0.10663080215454102, 0.25589340925216675, 0.20893271267414093, -0.23226548731327057, -0.6965218186378479, 0.1874476820230484, -0.3964843153953552, -0.131539449095726, 0.6718159317970276, 0.23359018564224243, -0.05428691953420639, 0.34023329615592957, -0.36823880672454834, -0.008534505032002926, -0.9612785577774048, -0.12032344192266464, 0.29152926802635193, 0.1965090036392212, -0.10846477001905441, 0.8447372317314148, 0.07250512391328812, 0.4813258647918701, -0.3175339698791504, 0.061273250728845596, -0.08855683356523514, -0.5307225584983826, -0.33878132700920105, -0.16312693059444427, 0.621057391166687, 0.48650577664375305, 0.8229936957359314, -0.08265715092420578, -0.3426581025123596, -0.17631413042545319, 0.24594146013259888, -0.6697328686714172, -0.603064239025116, 0.48226800560951233, -0.19028739631175995, -0.021214602515101433, -0.038754697889089584, -0.6190212368965149, -0.5833373069763184, -0.3250023424625397, 0.26610830426216125, -0.42164281010627747, -0.4103422164916992, 0.21789512038230896, 0.1542268991470337, 0.08628497272729874, 0.4905562698841095, -0.7506815791130066, 0.5519891381263733, 0.6389190554618835, 0.5860670804977417, -0.12661653757095337, -0.31053054332733154, -0.20602373778820038, 0.23820970952510834, -0.6300608515739441, 1.0713144540786743, -0.45035260915756226, -0.7019098997116089, 0.34396615624427795, -0.24923112988471985, -0.07620719820261002, -0.7065228819847107, 0.6884843707084656, -0.3790530860424042, 0.23910056054592133, -0.24894581735134125, -0.5170485377311707, -0.03006347455084324, 0.1310870200395584, -0.7015511393547058, 1.0283170938491821, 0.2505967319011688, -0.5565558671951294, 0.36101603507995605, -0.8026506304740906, -0.4036335349082947, 0.07820861041545868, -0.5468815565109253, -0.2127254605293274, -0.24406123161315918, -0.0044867717660963535, 0.3696692883968353, -0.42515477538108826, 0.4257533550262451, 0.12505406141281128, -0.042900849133729935, 0.03969999775290489, -0.04583681374788284, 0.5077683925628662, -0.07708540558815002, -0.26597046852111816, 0.3520633578300476, -0.47202223539352417, 0.07982994616031647, 0.17971386015415192, -0.1703939437866211, -0.1375860571861267, 0.5884326100349426, -0.013126976788043976, 0.24476397037506104, 0.09751562029123306, -0.21258188784122467, 0.49271124601364136, -0.3373911380767822, 0.19492536783218384, 0.8866886496543884, 0.01566186361014843, 0.635364830493927, -0.17042744159698486, 0.5201990008354187, 0.07622043043375015, -0.07699001580476761, -0.109369657933712, -0.8110017776489258, -0.27809324860572815, 0.09682063013315201, 0.2263096421957016, 0.5768105983734131, -1.009833574295044, 0.30183693766593933, 0.01961534656584263, -0.36960285902023315, -0.14693354070186615, -0.3940546214580536, 0.47773224115371704, 0.3122234642505646, 0.46587711572647095, -0.25423741340637207, -0.3576284348964691, -0.6202106475830078, 0.09420282393693924, -0.3634805977344513, 0.0231793075799942, 0.2603744864463806, 0.60526442527771, -0.03979445621371269, 1.1732773780822754, -0.5133809447288513, -0.6356751918792725, -0.3695549964904785, 0.232610285282135, -0.05027821287512779, 0.4663056433200836, 0.4545900523662567, -0.8695147633552551, -0.2673064172267914, -0.2303258627653122, -0.6807635426521301, -0.018838226795196533, -0.45466798543930054, -0.12367244064807892, 0.24545922875404358, 0.1615515649318695, -0.8640787601470947, 0.7174426317214966, 0.2518047094345093, -0.6277472972869873, 1.0761560201644897, -0.5294727683067322, -0.3110959529876709, -0.6144706606864929, -0.08973752707242966, 0.10449136793613434, 0.1198887899518013, -0.8420986533164978, 0.0706750825047493, 0.04090317711234093, -0.1153627410531044, -0.44151443243026733, 0.8064945936203003, -0.3454684913158417, -0.3106107711791992, 0.012945306487381458, 0.12913841009140015, -0.27758926153182983, 0.6082355380058289, 0.632785439491272, 0.913591742515564, 0.447869211435318, -0.67110276222229, 0.25709399580955505, 0.4899589419364929, -0.4122403860092163, 0.1837875247001648, -0.4966752231121063, 0.15493786334991455, -0.1503496766090393, 0.5284121036529541, -0.438882440328598, -0.42861419916152954, 0.48566722869873047, -0.23237238824367523, 0.1073806956410408, 0.08389407396316528, -0.7704751491546631, -0.230706125497818, -0.12452592700719833, 0.3607863783836365, 0.4424160122871399, -0.24284334480762482, 0.5315772294998169, 0.32634031772613525, -0.24308240413665771, -0.31828758120536804, -0.4882583022117615, -0.061933863908052444, 0.3560529053211212, -0.34055179357528687, 0.5555723905563354, -0.12679795920848846, -0.49028781056404114, 0.17001117765903473, -0.03124077245593071, -0.20296870172023773, -0.08441358804702759, 0.28335055708885193, 0.04251052439212799, -0.007754263002425432, -0.1288243532180786, -0.07915499806404114, -0.17615269124507904, 0.21431304514408112, -0.4968940317630768, 0.671668529510498, 0.44425660371780396, -0.37397751212120056, -0.5088554620742798, 0.34658634662628174, 0.29311859607696533, -0.34602826833724976, 0.8454879522323608, 0.12284265458583832, -0.8202601075172424, -0.43553081154823303, 0.1375432014465332, 0.09619385749101639, -0.36876076459884644, 0.357471764087677, -0.46690985560417175, -0.2578943073749542, 0.2591291069984436, -0.22496959567070007, 0.1831987053155899, 0.4088517427444458, 0.7435188293457031, -0.13900843262672424, 0.8039539456367493, 0.5348234176635742, 0.6349111795425415, -0.07889809459447861, -0.4731077253818512, 0.26766273379325867, -0.6386334896087646, -0.8472045660018921, -0.3367865979671478, -0.14146438241004944, -0.27690890431404114, -0.9709324240684509, 0.1661120057106018, 0.2661120295524597, -0.30336615443229675, 0.23401294648647308, -0.10042152553796768, 0.4096762239933014, 0.5052213668823242, -0.19360589981079102, -0.01575261540710926, -0.06929805874824524, -0.31447842717170715, -0.14299270510673523, -0.4689734876155853, -0.8737974166870117, 0.9895917773246765, 0.26086845993995667, 0.6273496150970459, 0.1893015056848526, 0.38019660115242004, 0.4047858715057373, 0.08169234544038773, -0.669949471950531, 0.7596501111984253, -0.08098351210355759, -0.401824414730072, -0.2593303322792053, -0.1065807044506073, -0.6559337973594666, -0.18173164129257202, -0.11134762316942215, -0.5384025573730469, 0.4243531823158264, -0.08093874901533127, -0.461178719997406, 0.1933639943599701, -0.6466234922409058, 0.8736934661865234, -0.26509231328964233, -0.24210980534553528, -0.1800740510225296, -0.3488587439060211, 0.08519814908504486, -0.3325623869895935, 0.18371105194091797, -0.10888522118330002, -0.15179738402366638, 0.710170328617096, -0.523840606212616, 0.708296000957489, -0.501327395439148, -0.24288693070411682, 0.5604950189590454, 0.2782265543937683, 0.8064799308776855, -0.030294032767415047, -0.32201918959617615, -0.11691749840974808, -0.149963840842247, -0.35894161462783813, -0.5245802998542786, 0.4500071704387665, -0.8292258977890015, -0.2302725464105606, -0.5461413860321045, -0.3152470886707306, -0.2865019142627716, 0.08785188943147659, -0.009182006120681763, 0.7134474515914917, -0.5400819778442383, -0.42086678743362427, 0.5407730340957642, -0.3620723783969879, 0.3866077959537506, 0.4433023929595947, -0.33704355359077454, 0.013931545428931713, 0.7482650876045227, 0.2889735996723175, 0.12202650308609009, 0.0742330476641655, -0.21629677712917328, -0.4456671178340912, -0.9100797176361084, -0.4161708354949951, -0.007805114611983299, -0.6921684145927429, -0.03995034843683243, -0.447969913482666, -0.30384179949760437, -0.3881068527698517, -0.1947731226682663, -0.12243760377168655, -0.5394291877746582, -0.4932721257209778, -0.19954557716846466, -0.10388030856847763, 1.0972065925598145, 0.01939341612160206, 0.2223351001739502, -0.29225221276283264, 0.4100475311279297, -0.22009585797786713, 0.43732208013534546, -0.3963544964790344, 0.1391049474477768, -0.10396474599838257, 0.06786195188760757, -0.3243260085582733, -0.9076030850410461, 0.47679340839385986, 0.2865852415561676, 0.6891124844551086, 0.17977601289749146, 0.4211350679397583, 0.3696679472923279, -0.6785159111022949, 1.0480382442474365, -0.1251724362373352, -0.2871277630329132, 0.7019838690757751, -0.22545795142650604, 0.043859247118234634, 0.2965233623981476, 0.8016437888145447, -0.14659054577350616, 0.04317793995141983, -0.6435036063194275, -0.7135135531425476, 0.9672155976295471, 0.5145921111106873, -0.3335025906562805, -0.19041208922863007, 0.5508648157119751, 0.164779394865036, 0.04574035480618477, -0.39951902627944946, -0.10521950572729111, 0.012426205910742283, -0.20521998405456543, -0.1034211739897728, -0.4334743320941925, -0.14770148694515228, 0.050633545964956284, 0.5237587690353394, -0.12244637310504913, 0.6916372179985046, 0.29642194509506226, -0.14052040874958038, -0.013734135776758194, -0.15861891210079193, 0.8597026467323303, 0.8488975763320923, -0.18353745341300964, 0.09416548907756805, -0.07365153729915619, -0.4988887906074524, -0.058546025305986404, 0.28458109498023987, -0.13669182360172272, -0.10878686606884003, 0.6021968126296997, 0.6410586833953857, -0.04780543968081474, -0.9698367118835449, 0.41217753291130066, -0.0795559361577034, -0.32709816098213196, -0.6363756656646729, -0.10330154746770859, -0.2280614972114563, 0.21064552664756775, 0.2736048698425293, 0.23552414774894714, -0.21801601350307465, -0.6673216223716736, 0.19297678768634796, -0.008612697944045067, -0.39618268609046936, -0.5807072520256042, 0.6638857126235962, 0.396859735250473, -0.4582166075706482, 0.6094761490821838, -0.6535505652427673, -0.5850417017936707, 0.7341791987419128, 0.5090014934539795, 0.7235759496688843, -0.03497280925512314, 0.38332459330558777, 0.3409891426563263, 0.2695959508419037, -0.2119363695383072, 0.7263410687446594, 0.09729590266942978, -0.710689127445221, -0.39000433683395386, -0.6048391461372375, -0.5814232230186462, -0.13364683091640472, -0.15279795229434967, 0.4074602723121643, -0.6911717057228088, 0.011539905332028866, -0.33533740043640137, 0.11495914310216904, -0.6879599690437317, 0.1587829887866974, -0.08318514376878738, 1.221939206123352, -0.5097326040267944, 1.0528080463409424, 0.9448958039283752, -0.43238717317581177, -0.5611051321029663, 0.3111499845981598, 0.12552079558372498, -0.6352065801620483, 0.724463939666748, -0.052765700966119766, 0.04244472086429596, 0.013936602510511875, -0.1483304351568222, -0.31388866901397705, 1.1263158321380615, 0.0020818798802793026, -0.5484841465950012, -0.3928000032901764, 0.41729268431663513, 0.5380791425704956, -0.5444768667221069, 0.27701449394226074, 0.7824565768241882, 0.5307732224464417, -0.044980160892009735, -1.037270188331604, -0.0887097716331482, 0.008377754129469395, -0.37847331166267395, 0.10289347171783447, -0.2883513271808624, 0.822798490524292, -0.5060345530509949, -0.3441036343574524, 0.13740122318267822, 0.5828437209129333, 0.08832791447639465, 0.47218361496925354, 0.11723936349153519, 0.37004169821739197, 0.7601205706596375, -0.3323521018028259, 1.1061571836471558, -0.10651730746030807, 0.2520870268344879, 1.2095487117767334, -0.7254496216773987, 1.0105677843093872, -0.06197236850857735, -0.29986998438835144, 0.4066435694694519, 0.7623557448387146, 0.3320521116256714, 0.9853377342224121, 0.26823729276657104, -0.397589772939682, 0.043042950332164764, -0.09849532693624496, -0.2341679483652115, 0.19172853231430054, 0.590419352054596, -0.015651721507310867, -0.25705835223197937, -0.02332969568669796, -0.04704141244292259, 0.3189436197280884, -0.21657367050647736, 0.8091483116149902, -0.16656559705734253, -0.747499406337738, 0.1851741373538971, 0.26385733485221863, 0.26272574067115784, -0.4149898886680603, -0.1249794289469719, -0.24625833332538605, 0.3054324984550476, -0.03412661328911781, -1.3848518133163452, 0.5410701036453247, 0.07210257649421692, -0.05270325019955635, -0.5795190930366516, 0.7247123122215271, -0.3676055073738098, -0.18814760446548462, 0.243875652551651, 0.4699314832687378, 0.24623176455497742, -0.17193935811519623, -0.4976169764995575, -0.09452974796295166, -0.11812106519937515, -0.18764908611774445, 0.2614458203315735, 0.5894091129302979, -0.3829105496406555, 0.4060527980327606, 0.32323604822158813, 0.11695721745491028, -0.17714805901050568, -0.07817347347736359, 0.9566306471824646, -0.5055771470069885, -0.29760682582855225, -0.5523191690444946, 0.4960513412952423, 0.06646716594696045, -0.2998298704624176, 0.05184523016214371, 0.565353274345398, 0.9586813449859619, 0.016593366861343384, 0.8548961281776428, -0.20372343063354492, 0.21177931129932404, -0.7228921055793762, 0.4830431342124939, 0.009435078129172325, 0.27248916029930115, 0.2272241860628128, -0.9121826887130737, -0.25125738978385925, 0.6423032283782959, -0.4833407402038574, -0.14732575416564941, 0.7808539271354675, 0.7034217119216919, 0.17360331118106842, 0.003928004298359156, 0.12137060612440109, 0.2027163803577423, 0.6302446126937866, 0.6596099734306335, 0.7303585410118103, -0.06801152229309082, 0.38714084029197693, -0.10849663615226746, -0.44494614005088806, -0.1056506335735321, -0.7902452945709229, -0.9795053601264954, -0.8906667828559875, -0.24874581396579742, -0.3042355477809906, 0.40583711862564087, 1.045814037322998, 0.47669893503189087, -0.634387195110321, -0.07181074470281601, -0.3055074214935303, -0.09149045497179031, -0.10770504921674728, -0.13764634728431702, 0.5246999263763428, -0.1315326988697052, -0.5086344480514526, 0.5055607557296753, 0.13444747030735016, 0.1740848571062088, -0.5185834765434265, -0.5855094790458679, -0.2055206447839737, 0.1462680548429489, 0.6434639692306519, 0.29868292808532715, -0.6346890330314636, -0.1592431366443634, -0.1864665001630783, -0.0276643019169569, -0.2370944321155548, 1.1145211458206177, -1.0132980346679688, 0.40973109006881714, 0.3011751174926758, 0.34597522020339966, 0.33339181542396545, -0.048101913183927536, 0.8781185150146484, -0.8912864327430725, 0.16898193955421448, 0.5525854825973511, 0.15337857604026794, 0.0026434941682964563, -0.10059874504804611, 0.8028635382652283, 0.25392594933509827, -0.4804564118385315, -0.6839784383773804, 0.2902183532714844, -0.7790825963020325, -0.3812291920185089, 1.3192880153656006, -0.2959423065185547, 0.15206778049468994, -0.3128168284893036, -0.5612767338752747, 0.0690767765045166, -0.16187843680381775, 0.38216790556907654, 0.7889109253883362, -0.4223617911338806, 0.023587817326188087, -0.8407714366912842, 0.9159281253814697, -0.0057986644096672535, -0.88642817735672, 0.45322832465171814, 0.6887110471725464, -0.32159802317619324, 0.04372898489236832, 1.1440626382827759, 0.017252469435334206, 0.23357385396957397, 0.005534767173230648, 0.02066126838326454, -0.23072771728038788, -0.7578061819076538, 0.11177561432123184, 0.2059418112039566, 0.16952800750732422, 0.2599087953567505 ]
http://arxiv.org/abs/2403.00071v2
http://arxiv.org/pdf/2403.00071v2
Resonance RoPE: Improving Context Length Generalization of Large Language Models
2024-02-29T19:02:03
2024-06-10T13:30:34
Suyuchen Wang, Ivan Kobyzev, Peng Lu, Mehdi Rezagholizadeh, Bang Liu
cs.CL
cs.CL, cs.AI
This paper addresses the challenge of train-short-test-long (TSTL) scenarios in Large Language Models (LLMs) equipped with Rotary Position Embedding (RoPE), where models pre-trained on shorter sequences face difficulty with out-of-distribution (OOD) token positions in longer sequences. We introduce Resonance RoPE, a novel approach designed to narrow the generalization gap in TSTL scenarios by refining the interpolation of RoPE features for OOD positions, significantly improving the model performance without additional online computational costs. Furthermore, we present PosGen, a new synthetic benchmark specifically designed for fine-grained behavior analysis in TSTL scenarios, aiming to isolate the constantly increasing difficulty of token generation on long contexts from the challenges of recognizing new token positions. Our experiments on synthetic tasks show that after applying Resonance RoPE, Transformers recognize OOD position better and more robustly. Our extensive LLM experiments also show superior performance after applying Resonance RoPE to the current state-of-the-art RoPE scaling method, YaRN, on both upstream language modeling tasks and a variety of downstream long-text applications.
[ -0.5893679261207581, -0.8404045701026917, 0.18496066331863403, 0.0396156869828701, -0.4701469838619232, -0.09782855212688446, -0.5807569622993469, -0.5569903254508972, 0.01649435982108116, 0.27586087584495544, -0.17820917069911957, -0.5516104102134705, -0.511375367641449, -0.023042913526296616, -0.5307464003562927, 0.9799667596817017, -0.04761170968413353, -0.20852228999137878, 0.19375404715538025, -0.4799184501171112, -0.12374312430620193, -0.5181007981300354, -0.44843581318855286, -0.2815391421318054, 0.6019852757453918, 0.155115008354187, 0.5294339656829834, 0.45448023080825806, 0.3642809987068176, 0.27371785044670105, -0.35203638672828674, 0.052207157015800476, -0.4515618085861206, 0.1647329479455948, -0.1875690221786499, -0.15404824912548065, -0.46300023794174194, -0.13110487163066864, 0.866439700126648, 0.5389700531959534, -0.25583285093307495, 0.18023556470870972, 0.0008565267198719084, 0.4821118712425232, -0.503967821598053, 0.03811851516366005, -0.5977799892425537, -0.013573646545410156, -0.4727992117404938, -0.12209272384643555, -0.31582316756248474, -0.10595071315765381, 0.33176010847091675, -0.29901206493377686, 0.36119288206100464, 0.33174362778663635, 0.7493546009063721, -0.03538293391466141, -0.5084009170532227, -0.24698251485824585, -0.7797890305519104, 1.0147370100021362, -0.8764973878860474, 0.4509720504283905, 0.2780037820339203, 0.541450560092926, -0.3566195070743561, -0.7454946637153625, -0.5986865162849426, -0.26967909932136536, -0.016939502209424973, -0.32969415187835693, 0.34026944637298584, 0.19636240601539612, 0.3405322730541229, 0.3832770884037018, -0.43241965770721436, 0.008026923052966595, -0.2615785300731659, 0.18762549757957458, 0.6797376275062561, 0.06393097341060638, 0.2220727801322937, 0.17387397587299347, -0.17005012929439545, -0.3687542676925659, -0.5899912714958191, 0.24039018154144287, 0.3641825318336487, 0.5376326441764832, -0.20972226560115814, 0.5656906962394714, 0.12269311398267746, 0.8370119333267212, 0.07563897222280502, -0.016246473416686058, 0.22964006662368774, -0.175213024020195, -0.014581006020307541, 0.16613568365573883, 0.6114336252212524, 0.18073280155658722, 0.14145605266094208, -0.025284478440880775, -0.3711283504962921, -0.3128865957260132, 0.14004173874855042, -0.7032505869865417, 0.06241970881819725, 0.1328396201133728, -0.3671940863132477, -0.023061493411660194, 0.2576111853122711, -0.9335592985153198, -0.5129489898681641, -0.24490350484848022, 0.1529054194688797, -0.3001115322113037, -0.3585464060306549, 0.43528154492378235, -0.17251740396022797, 0.6917705535888672, -0.021567588672041893, -0.9820061326026917, 0.401198148727417, 0.9456722140312195, 0.9608786702156067, -0.21968279778957367, -0.2699601650238037, -0.888187050819397, 0.26341497898101807, -0.2297496646642685, 0.37868669629096985, -0.7236164808273315, -0.352282851934433, 0.22732411324977875, -0.048991478979587555, -0.07924159616231918, -0.588129997253418, 0.5410656929016113, -0.5731086134910583, 0.07585591822862625, 0.19335883855819702, -0.5067402720451355, 0.14929743111133575, 0.11339190602302551, -0.5764738321304321, 1.0918420553207397, 0.38737550377845764, -0.7340593338012695, 0.0305264163762331, -0.6507476568222046, -0.6554406881332397, -0.3886377513408661, -0.1962711066007614, -0.4633396863937378, 0.4538842737674713, 0.02431563474237919, 0.06507261842489243, -0.4878632724285126, 0.15671642124652863, -0.31491994857788086, -0.5809550285339355, 0.33167633414268494, -0.16610117256641388, 0.28404584527015686, 0.1576376110315323, -0.303266316652298, 0.17735783755779266, -0.4589139223098755, 0.04093538597226143, -0.12370873987674713, -0.3239578902721405, -0.5115566253662109, 0.14616751670837402, 0.20870445668697357, 0.09935931116342545, -0.06562140583992004, -0.47823864221572876, 0.4045323133468628, -0.7697122693061829, 0.8086719512939453, 0.5935853719711304, -0.21554161608219147, 0.6351860165596008, -0.3188875913619995, 0.585235595703125, -0.12365960329771042, -0.009086824022233486, -0.18095292150974274, -0.3784754276275635, -0.5282256603240967, -0.14473678171634674, 0.5130125284194946, 0.04868081212043762, -0.5291124582290649, 0.42128875851631165, -0.4925967752933502, -0.23443099856376648, -0.3531961739063263, -0.1896561235189438, 0.36415061354637146, 0.25601381063461304, 0.48743969202041626, -0.3547220528125763, -0.5213794708251953, -0.5827215909957886, -0.6213765740394592, -0.022801527753472328, -0.36984699964523315, 0.05045437440276146, 0.3975238502025604, -0.2213636040687561, 1.1189278364181519, -0.3601810038089752, -0.4140024781227112, -0.35765987634658813, 0.25753283500671387, 0.5177783966064453, 0.5685844421386719, 0.37967202067375183, -0.7767642736434937, -0.5499409437179565, 0.226313516497612, -0.2839418053627014, 0.12516623735427856, 0.09006324410438538, 0.14484873414039612, 0.3609541058540344, 0.4675463140010834, -0.6704363226890564, 0.3898240327835083, 0.7047184109687805, -0.10970920324325562, 0.42491617798805237, -0.23915305733680725, -0.06356893479824066, -0.8733336925506592, 0.14260908961296082, 0.03255404531955719, -0.05323624610900879, -0.5874242782592773, 0.14905235171318054, 0.12182772159576416, -0.24437549710273743, -0.3925614058971405, 0.8000291585922241, -0.4325788617134094, -0.2319362461566925, -0.029755735769867897, 0.42598336935043335, -0.20719586312770844, 0.4889817535877228, -0.10671748220920563, 0.7594879865646362, 0.31130340695381165, -0.722287118434906, 0.11955218017101288, 0.21338611841201782, -0.6331281661987305, 0.282335489988327, -0.702521800994873, 0.1669607162475586, -0.14196322858333588, 0.4323924779891968, -1.1108349561691284, -0.4070766270160675, 0.031696394085884094, -0.41813352704048157, 0.5990926623344421, -0.26150617003440857, -0.21061529219150543, -0.41849207878112793, -0.5202826857566833, 0.92878258228302, 0.7008046507835388, -0.49164286255836487, 0.5777350664138794, 0.46434739232063293, 0.024707164615392685, -0.4357466399669647, -0.7840642333030701, -0.07108195126056671, -0.592472493648529, -0.5264579653739929, 0.7134632468223572, 0.24290131032466888, -0.18333452939987183, -0.38350313901901245, -0.42212945222854614, -0.2100396454334259, -0.09463907778263092, -0.12117238342761993, -0.3571418225765228, -0.34375664591789246, 0.46336767077445984, -0.07358039915561676, -0.11112489551305771, -0.23520682752132416, -0.4756335914134979, 0.8108989596366882, -0.23614399135112762, -0.34359461069107056, -0.2949873208999634, 0.22918501496315002, 0.6268963813781738, -0.383933424949646, 0.6647592186927795, 0.46426185965538025, -0.18806980550289154, -0.46571484208106995, -0.3233877718448639, -0.19260622560977936, -0.5537513494491577, 0.40444040298461914, -0.24237175285816193, -1.0621390342712402, 0.4056960642337799, -0.16108611226081848, 0.018066653981804848, 0.12575089931488037, 0.0003560297773219645, -0.17482592165470123, 1.0131831169128418, 0.5483825206756592, -0.281697154045105, 0.7061200737953186, -0.22457586228847504, 0.6061094999313354, -1.0980544090270996, 0.21743030846118927, -0.6760754585266113, -0.5459134578704834, -0.6927317380905151, -0.7012972235679626, 0.5517189502716064, 0.44645601511001587, -0.4314926564693451, 0.44453391432762146, -0.268126517534256, 0.5322042107582092, 0.2443893998861313, -0.25675275921821594, 0.13810479640960693, 0.1349995881319046, -0.3509947657585144, 0.05384862795472145, -0.609043538570404, -0.30767548084259033, 0.773125171661377, 0.26720908284187317, 0.7574002742767334, 0.12030202150344849, 0.49989232420921326, 0.16708646714687347, 0.3246577978134155, -0.9110608100891113, 0.4386759400367737, -0.21711085736751556, -0.4680265486240387, -0.6849848031997681, -0.2272268384695053, -1.070711612701416, 0.18474289774894714, 0.2538074254989624, -0.8007299304008484, -0.3363601267337799, 0.2153296172618866, -0.14922629296779633, 0.4388369619846344, -0.21987952291965485, 0.7177780866622925, -0.06614885479211807, -0.2787521779537201, -0.14822910726070404, -0.5577202439308167, 0.23750658333301544, 0.0161411352455616, 0.38618379831314087, -0.024744369089603424, -0.11616437137126923, 0.3374866545200348, -0.5868223905563354, 0.6397318243980408, -0.16399826109409332, -0.4418554902076721, 0.5425493121147156, -0.029534459114074707, 0.9316109418869019, -0.17226071655750275, -0.3299024999141693, 0.04966162145137787, -0.19658468663692474, -0.20603090524673462, -0.6664287447929382, 0.7950900793075562, -0.4080950915813446, -0.5777860879898071, -0.2835189998149872, -0.32001280784606934, -0.394440233707428, -0.06197648495435715, 0.20785778760910034, 0.6950244307518005, 0.072959303855896, 0.5573111176490784, 0.4400080740451813, -0.4832528233528137, 0.6546826362609863, 0.3018963038921356, -0.3245750963687897, -0.5570586323738098, 0.7870920896530151, 0.062339358031749725, 0.05515359714627266, 0.3902852535247803, 0.34151726961135864, -0.6905467510223389, -0.5993250608444214, -0.3354935944080353, 0.3019835650920868, -0.363904744386673, 0.0167485810816288, -0.2954331636428833, -0.04790712147951126, -0.2935637831687927, -0.12231779098510742, -0.4108392596244812, -0.4175916612148285, 0.16265201568603516, 0.038870878517627716, 0.3851575553417206, 0.5877740383148193, 0.3403433561325073, 0.46957075595855713, -0.9332759380340576, 0.267039030790329, 0.09302090853452682, 0.7484135031700134, 0.2243863195180893, -0.7191466689109802, -0.3766384720802307, 0.07074569910764694, -0.29231080412864685, -0.4034337103366852, 0.2817685008049011, 0.42675238847732544, 0.5290817022323608, 0.17919227480888367, 0.4153200387954712, 0.8661169409751892, -0.6425689458847046, 0.8499508500099182, 0.31453341245651245, -1.0089939832687378, 0.3157631754875183, -0.752501368522644, 0.3599802255630493, 0.1875971108675003, 0.2496347278356552, -0.8761698007583618, -0.3030083179473877, -0.3213370740413666, -1.0557688474655151, 0.6101903915405273, 0.2402736395597458, 0.24992331862449646, -0.359977126121521, 0.3843398690223694, -0.09344714134931564, 0.15386459231376648, -0.5072664022445679, 0.05274898558855057, 0.09047878533601761, -0.39768633246421814, -0.23510794341564178, -0.13146495819091797, 0.0002102572616422549, -0.2549619674682617, 0.4266589283943176, -0.343291699886322, 0.2825257182121277, 0.16641300916671753, -0.20535053312778473, -0.2197420448064804, 0.20004519820213318, 0.7871561646461487, 0.6476636528968811, 0.08151334524154663, 0.08889738470315933, 0.4920409917831421, -0.132816344499588, 0.27494099736213684, -0.22259511053562164, 0.061988573521375656, 0.12266293913125992, 0.4637986421585083, 0.491764634847641, 0.43520814180374146, -0.7334732413291931, 0.5233500599861145, 0.10823247581720352, 0.07722654938697815, -0.306648313999176, 0.1455802470445633, 0.08816838264465332, 0.2250712513923645, 0.32710617780685425, -0.31714823842048645, -0.0650811418890953, -0.4038183391094208, 0.3027990758419037, 0.3763522207736969, -0.6109873652458191, -0.5659127235412598, 0.48928701877593994, 0.2729296386241913, -0.6796969771385193, 0.4586021900177002, 0.04820867255330086, -0.250196248292923, 0.6239086985588074, 0.5473341941833496, 0.881805956363678, -0.3848814070224762, -0.08179571479558945, 0.6251100897789001, -0.20133721828460693, -0.40585070848464966, 0.0019074383890256286, -0.10680420696735382, -0.4107389450073242, -0.4502439498901367, -0.8642235994338989, -0.0496036671102047, 0.2074212282896042, -0.6956116557121277, 0.5241133570671082, -0.4032902121543884, -0.30980852246284485, -0.4535846412181854, -0.27142441272735596, -0.16966231167316437, -0.13457798957824707, -0.15172502398490906, 0.8584874272346497, -0.21896083652973175, 1.225657343864441, 0.502662181854248, -0.032605886459350586, -0.49129897356033325, 0.280619353055954, -0.22402489185333252, -0.153804749250412, 0.5889267921447754, 0.5168964266777039, -0.3985896408557892, 0.007604088168591261, -0.32441046833992004, -0.7948232889175415, 1.0052919387817383, 0.16238722205162048, -0.7576144337654114, -0.05971183255314827, 0.4418359100818634, 0.7206305861473083, -0.2667650282382965, 0.08086502552032471, 0.6109090447425842, 0.3377794921398163, -0.03428424894809723, -1.0514612197875977, -0.2726365029811859, 0.04075704514980316, 0.5297253131866455, 0.6556605696678162, -0.639250636100769, 0.8575254082679749, 0.12207696586847305, -0.3521140515804291, 0.5930856466293335, 0.5853357315063477, 0.2547456622123718, 0.22698579728603363, 0.48478075861930847, 0.35209155082702637, 0.6512784361839294, 0.06920260190963745, 1.0867995023727417, -0.4096490740776062, 0.6749863624572754, 1.3798327445983887, -0.4645649492740631, 0.992289662361145, 0.5797294974327087, -0.1937951147556305, 0.4509286880493164, 0.36905309557914734, 0.40155982971191406, 0.4987362325191498, 0.8344584703445435, -0.4209049642086029, -0.13345570862293243, -0.08475133776664734, -0.6126516461372375, 0.2515697777271271, 0.39704492688179016, -0.2828828692436218, -0.2799895107746124, 0.11059296131134033, -0.3714625835418701, 0.24368004500865936, -0.17146584391593933, 0.4734453558921814, 0.23138748109340668, -0.6992607116699219, 0.962513267993927, 0.2023475617170334, 0.7244945168495178, -0.6937052607536316, 0.020334679633378983, -0.33739739656448364, 0.44266581535339355, 0.2276831865310669, -0.4792048931121826, 0.4351949691772461, 0.004003596492111683, 0.13849668204784393, -0.25315457582473755, 0.45923471450805664, -0.5768594145774841, 0.025636427104473114, 0.466129869222641, -0.10114165395498276, -0.07606101781129837, -0.012863176874816418, -0.3074115812778473, 0.25756600499153137, -0.41744059324264526, -0.4418260157108307, 0.47778981924057007, 0.614612340927124, -0.2975226640701294, 0.7140191793441772, 0.4001050889492035, -0.3399502635002136, 0.03817060962319374, 0.021906254813075066, 0.8032766580581665, -0.9933366775512695, -0.368920236825943, -0.7912145853042603, 0.42635613679885864, -0.02711048536002636, -0.36084991693496704, 0.5958059430122375, 0.4833882749080658, 1.0735112428665161, -0.4012407958507538, 0.5181600451469421, -0.03472865745425224, 0.46916496753692627, -0.5574849843978882, 0.5799238085746765, -0.49023985862731934, 0.2608938217163086, -0.21920274198055267, -1.012405276298523, -0.43491798639297485, 0.7765039205551147, -0.3815450370311737, 0.08774757385253906, 0.7566966414451599, 0.8750104904174805, -0.2969023287296295, -0.14255113899707794, 0.33215585350990295, 0.1859872043132782, 0.4673614203929901, 0.5815542340278625, 1.1196262836456299, -0.5899410247802734, 0.4964178204536438, 0.1209777370095253, 0.25448861718177795, -0.4054848253726959, -0.9887748956680298, -0.8964400291442871, -0.590599000453949, -0.1507047414779663, -0.17745812237262726, -0.039921391755342484, 1.055777668952942, 0.7552475333213806, -0.9455979466438293, -0.6806777119636536, -0.40060773491859436, 0.03797520697116852, -0.19183845818042755, -0.23323893547058105, 0.14063486456871033, -0.6083480715751648, -0.8332063555717468, 0.45934659242630005, 0.2887602746486664, 0.03947988525032997, -0.04249178618192673, -0.36770519614219666, -0.14708955585956573, -0.03008594922721386, 0.6568294167518616, 0.3315635025501251, -0.8384491801261902, -0.6903054118156433, -0.25976189970970154, -0.09847266972064972, 0.1393093317747116, 1.0639163255691528, -0.5702183842658997, 0.24306659400463104, 0.6511068344116211, 0.5952080488204956, 0.7234963178634644, 0.08510155230760574, 0.8023110032081604, -1.0425323247909546, 0.2925662696361542, 0.310842365026474, 0.13422316312789917, 0.05380377918481827, 0.22072210907936096, 0.6558176279067993, -0.04896017163991928, -0.25907018780708313, -0.8696910738945007, 0.5068451762199402, -0.7775311470031738, -0.26515093445777893, 1.2305516004562378, -0.2842235267162323, -0.3506656885147095, -0.15011096000671387, -0.31009408831596375, 0.3394733965396881, -0.15721704065799713, 0.8478725552558899, 0.6533504724502563, 0.2245585024356842, -0.009974797256290913, -0.42136701941490173, 0.7848226428031921, 0.3867160677909851, -0.40766164660453796, 0.2300412952899933, 0.19384628534317017, 0.18281172215938568, -0.01017814315855503, 0.1747823804616928, -0.1804451197385788, -0.014802712947130203, -0.43067625164985657, -0.2596118152141571, -0.018259216099977493, -0.4366559386253357, -0.5249990224838257, 0.2662709653377533, 0.2311243712902069, -0.002705517690628767 ]
http://arxiv.org/abs/2403.00067v1
http://arxiv.org/pdf/2403.00067v1
Query-OPT: Optimizing Inference of Large Language Models via Multi-Query Instructions in Meeting Summarization
2024-02-29T19:00:47
2024-02-29T19:00:47
Md Tahmid Rahman Laskar, Elena Khasanova, Xue-Yong Fu, Cheng Chen, Shashi Bhushan TN
cs.CL
cs.CL
This work focuses on the task of query-based meeting summarization in which the summary of a context (meeting transcript) is generated in response to a specific query. When using Large Language Models (LLMs) for this task, a new call to the LLM inference endpoint/API is required for each new query even if the context stays the same. However, repeated calls to the LLM inference endpoints would significantly increase the costs of using them in production, making LLMs impractical for many real-world use cases. To address this problem, in this paper, we investigate whether combining the queries for the same input context in a single prompt to minimize repeated calls can be successfully used in meeting summarization. In this regard, we conduct extensive experiments by comparing the performance of various popular LLMs: GPT-4, PaLM-2, LLaMA-2, Mistral, and FLAN-T5 in single-query and multi-query settings. We observe that while most LLMs tend to respond to the multi-query instructions, almost all of them (except GPT-4), even after fine-tuning, could not properly generate the response in the required output format. We conclude that while multi-query prompting could be useful to optimize the inference costs by reducing calls to the inference endpoints/APIs for the task of meeting summarization, this capability to reliably generate the response in the expected format is only limited to certain LLMs.
[ -0.5363186001777649, -0.8656004071235657, 0.7091376185417175, 0.30662110447883606, -0.4095090925693512, -0.14860296249389648, -0.3739297688007355, -0.40351584553718567, 0.2780840992927551, 0.5178767442703247, -0.9162473082542419, -0.5400647521018982, -0.2573449909687042, 0.2984846234321594, -0.3116602897644043, 0.7495540380477905, 0.06808619946241379, 0.17439015209674835, -0.40633946657180786, -0.25956329703330994, -0.3057788610458374, -0.7706049680709839, -0.8192332983016968, -0.127676859498024, 0.4710373282432556, 0.4228469729423523, 0.2739815413951874, 0.21619708836078644, 0.2518836259841919, 0.23047830164432526, -0.19369164109230042, 0.705722987651825, -0.6080156564712524, 0.39498698711395264, 0.19018247723579407, -0.5234710574150085, -0.3990093767642975, -0.0721767395734787, 0.6274334788322449, 0.9334660172462463, -0.09689109772443771, 0.15219314396381378, 0.2768546938896179, 0.5827454328536987, -0.5918222069740295, 0.12987643480300903, -0.5979394316673279, -0.031398966908454895, 0.06767792999744415, -0.3229428827762604, -0.3656366169452667, -0.2980385422706604, 0.11483317613601685, -0.5013583302497864, 0.21954484283924103, 0.2899930775165558, 0.6190088391304016, 0.27882564067840576, -0.37464165687561035, -0.226490780711174, -0.37981849908828735, 0.8103423118591309, -0.8210768103599548, 0.21479466557502747, 0.24676522612571716, 0.3442745506763458, -0.27438294887542725, -0.6233929991722107, -0.39329615235328674, -0.16368544101715088, -0.0924743115901947, 0.3631494641304016, 0.02867322973906994, 0.241963192820549, 0.28232651948928833, 0.13378897309303284, -0.5653364062309265, 0.16417597234249115, -0.18513406813144684, -0.0473514162003994, 0.4327951669692993, 0.40010347962379456, -0.03853466734290123, 0.041533760726451874, -0.26278042793273926, 0.24441368877887726, -0.8833951354026794, -0.1821862757205963, 0.01899035833775997, 0.49165889620780945, 0.01798516884446144, 0.5530918836593628, -0.43936702609062195, 0.8180999755859375, -0.10029352456331253, -0.07481937110424042, -0.1762278825044632, -0.8964089155197144, -0.10339286178350449, -0.1378525048494339, 0.9281366467475891, 0.8607510924339294, 0.14707526564598083, -0.10147614777088165, -0.12859754264354706, -0.2356964647769928, -0.1375100165605545, -0.9714517593383789, 0.031882207840681076, 0.40300455689430237, -0.3012259304523468, -0.03202987462282181, -0.23942230641841888, -0.8278235197067261, -0.064222052693367, -0.3223147392272949, 0.2655542492866516, -0.13790759444236755, 0.060614846646785736, -0.06914724409580231, -0.1260204017162323, 0.22449176013469696, 0.6575816869735718, -0.8172303438186646, 0.3508833348751068, 0.399681031703949, 1.0601978302001953, -0.2566602826118469, -0.45542263984680176, -0.805460512638092, 0.19517210125923157, -0.2921563386917114, 0.8287502527236938, -0.2581964135169983, -0.7868585586547852, -0.1017218604683876, -0.18925489485263824, -0.24321629106998444, -0.5366450548171997, 0.3331153690814972, -0.37601369619369507, 0.5179675221443176, -0.5959215760231018, -0.6003190279006958, 0.04991127923130989, 0.3152463138103485, -0.5583271980285645, 0.8461994528770447, -0.10269473493099213, -0.4844880998134613, 0.49406519532203674, -0.7601958513259888, -0.5004458427429199, 0.02755696512758732, -0.35827988386154175, -0.15333136916160583, 0.09951882809400558, 0.6447018980979919, 0.25462010502815247, -0.41171374917030334, -0.07816558331251144, -0.2275451123714447, -0.32023558020591736, 0.08511491119861603, -0.28475555777549744, 0.43759089708328247, 0.16936828196048737, -0.11954590678215027, 0.4454820454120636, -0.464458167552948, 0.08711621910333633, 0.18047429621219635, -0.6195942163467407, -0.06866276264190674, 0.18767720460891724, -0.19025057554244995, -0.023456642404198647, 0.27157509326934814, -0.20190535485744476, 0.281203955411911, -0.3925797939300537, 0.30895617604255676, 0.4751967787742615, 0.3051435351371765, 0.2654680907726288, -0.38355323672294617, 0.5962263345718384, -0.2308846265077591, 0.05229445546865463, -0.45708903670310974, -0.40150099992752075, -0.46301355957984924, -0.40078651905059814, -0.017138442024588585, 0.5093135237693787, -0.5692628622055054, -0.06668335199356079, -0.17380495369434357, -0.2174111157655716, -0.19943735003471375, -0.031223615631461143, 0.390729695558548, 0.5062849521636963, 0.2052212357521057, 0.2178054302930832, -0.4811241030693054, -0.726041853427887, -0.6368207335472107, 0.0026300083845853806, -0.08080132305622101, 0.6457559466362, 0.28044524788856506, 0.3861161172389984, 0.747138261795044, -0.6783959865570068, -0.013177644461393356, -0.3985149562358856, -0.04156411066651344, 0.4668560028076172, 0.12651383876800537, 0.8057289719581604, -0.6617518663406372, -0.5082259774208069, -0.24039028584957123, -0.5586580038070679, -0.28650325536727905, -0.24018000066280365, -0.15191225707530975, 0.3356388807296753, 0.44899851083755493, -0.7157070636749268, 0.27593886852264404, 0.3503221571445465, 0.0249487217515707, 0.8484730124473572, -0.20734615623950958, 0.4786418080329895, -1.090761423110962, -0.11761371791362762, -0.2170771211385727, -0.3125354051589966, -0.46246784925460815, 0.14019007980823517, 0.01986442692577839, -0.21281324326992035, -0.31422901153564453, 0.5960803627967834, -0.7161818742752075, -0.1513979136943817, -0.3387443721294403, 0.3871801197528839, 0.2023279368877411, 0.7456800937652588, -0.0989246517419815, 1.2326397895812988, 0.5764799118041992, -0.8897519111633301, 0.21569815278053284, 0.48242899775505066, -0.2035653293132782, 0.3831275999546051, -0.8181940317153931, 0.19896598160266876, -0.04584355652332306, 0.2844650149345398, -1.1995967626571655, -0.4691796600818634, 0.09468960762023926, -0.43649643659591675, 0.2052455097436905, -0.2097303718328476, -0.5153453350067139, -0.28908464312553406, -0.6582016944885254, 0.264174222946167, 0.17771770060062408, -0.7520585656166077, 0.6065740585327148, 0.247144415974617, -0.3383907079696655, -0.4685186743736267, -0.7196730971336365, 0.1941155642271042, -0.3981325626373291, -0.5690993666648865, 0.22861246764659882, -0.1043517142534256, -0.08931387960910797, -0.3188764750957489, -0.3579101860523224, 0.09610423445701599, -0.06575999408960342, 0.19377541542053223, 0.25342652201652527, -0.18857550621032715, -0.07123401761054993, 0.253741979598999, 0.15488019585609436, 0.04735931009054184, -0.3340979814529419, 0.687979519367218, -0.11013651639223099, -0.6253854632377625, -0.536555290222168, 0.8602110147476196, 0.7763994336128235, -0.3112925589084625, 0.9311392307281494, 0.1169714629650116, -0.2989899218082428, 0.005011505912989378, -0.6235023140907288, -0.27235159277915955, -0.43169018626213074, 0.3924451470375061, -0.5858092308044434, -0.8294476270675659, 0.7900932431221008, -0.3245752453804016, 0.4153442978858948, 0.2361660599708557, 0.6515246033668518, -0.043095339089632034, 1.1002227067947388, 0.037173379212617874, -0.004044165834784508, 0.5723413228988647, -0.09416195005178452, -0.018424903973937035, -0.8991333842277527, -0.10551425069570541, -0.7744554281234741, -0.024902667850255966, -0.34540683031082153, -0.20132263004779816, 0.7363470196723938, 0.09209778904914856, -0.09479246288537979, 0.1062278300523758, -0.19533325731754303, 0.6045171022415161, 0.7825180292129517, 0.06207023561000824, 0.3496531546115875, 0.10534850507974625, -0.11438605934381485, 0.11988973617553711, -0.867142915725708, -0.44939547777175903, 0.9646961688995361, -0.3135164976119995, 0.6605581641197205, 0.35900139808654785, 0.8458360433578491, -0.240143284201622, 0.16672934591770172, -0.7685280442237854, 0.6854422688484192, 0.10721896588802338, -0.4047105312347412, -0.3144228458404541, -0.7205044627189636, -0.9894118905067444, 0.8778678178787231, -0.011850145645439625, -0.9988396167755127, -0.06400179117918015, 0.2663474678993225, -0.36797255277633667, 0.11307866871356964, -0.9485749006271362, 0.8741480708122253, -0.18910863995552063, -0.3369681239128113, -0.1943904012441635, -0.5325376987457275, 0.35865601897239685, -0.14453443884849548, 0.33038294315338135, -0.13826654851436615, -0.15265658497810364, 0.5176554322242737, -0.551979660987854, 0.6312245726585388, -0.11769285798072815, 0.1001502051949501, 0.203450009226799, -0.05884827673435211, 0.6140653491020203, 0.17123281955718994, -0.23774929344654083, -0.19652874767780304, 0.24658803641796112, -0.18901799619197845, -0.6294639706611633, 0.7079668641090393, -0.42706483602523804, -0.8403030633926392, -0.05347469076514244, -0.4872582256793976, -0.4089008569717407, 0.2771800756454468, 0.5175923705101013, 0.8484463095664978, -0.1057695597410202, -0.009936987422406673, 0.20900435745716095, -0.27403688430786133, 0.5387818217277527, 0.41932982206344604, -0.37494656443595886, -0.5203835964202881, 0.5468955636024475, -0.018218951299786568, 0.555708110332489, 0.2816615700721741, 0.21850909292697906, -0.5046785473823547, -0.9151829481124878, -0.41030633449554443, 0.3062390089035034, -0.7429671883583069, -0.22378697991371155, -0.6333940625190735, 0.33532705903053284, -0.4862181544303894, 0.06793376803398132, -0.16665974259376526, -0.5696189403533936, -0.28221943974494934, -0.0283657256513834, 0.16130830347537994, 0.1706809252500534, 0.12744927406311035, 0.4697082042694092, -0.9750154614448547, 0.33286094665527344, -0.019425993785262108, 0.10333333164453506, -0.08488014340400696, -0.36375921964645386, -0.05707741901278496, 0.011187328025698662, -0.20297975838184357, -1.1585732698440552, 0.3638533055782318, 0.5570780634880066, 0.7143537402153015, 0.350082129240036, 0.24799636006355286, 0.7697926163673401, -0.48293566703796387, 0.8102083802223206, 0.20699235796928406, -0.664944589138031, 0.8029065728187561, -0.49541881680488586, 0.692592442035675, 0.6564653515815735, 0.2044452726840973, -0.49889397621154785, -0.5425136089324951, -0.1915949434041977, -1.2217987775802612, 0.9436256885528564, 0.16167059540748596, 0.16567197442054749, -0.24165143072605133, 0.42834001779556274, 0.02394665591418743, 0.37738773226737976, -0.37650173902511597, -0.3841545283794403, 0.13789258897304535, 0.12093900889158249, 0.31825128197669983, -0.3863304853439331, -0.37082555890083313, -0.028800450265407562, 0.5367475152015686, -0.27737289667129517, 0.1435401737689972, 0.17231567203998566, -0.004060820210725069, 0.09428513050079346, 0.20288550853729248, 0.7008058428764343, 0.9961950778961182, -0.18272185325622559, -0.17973537743091583, 0.5414394736289978, -0.10049717128276825, -0.4135974645614624, 0.08750889450311661, 0.10154428333044052, 0.14767058193683624, 0.4310077130794525, 0.7372070550918579, 0.26796624064445496, -0.7073700428009033, 0.3292791545391083, -0.3251883089542389, -0.3832414150238037, -0.05292760208249092, 0.09543132036924362, 0.19534938037395477, 0.21690456569194794, 0.42974358797073364, -0.26139935851097107, 0.30289125442504883, -0.42963528633117676, -0.01348177995532751, 0.5868763327598572, 0.19821171462535858, 0.14435754716396332, 0.8600410223007202, 0.2650119364261627, -0.2762911021709442, 0.5758437514305115, -0.15497130155563354, -0.5647823214530945, 0.3405514359474182, 0.4295421242713928, 0.5982388854026794, -0.12116289883852005, -0.2511034607887268, 0.506019651889801, 0.04232709854841232, 0.043481115251779556, 0.4388997256755829, -0.28759947419166565, -0.4548502564430237, -0.7789194583892822, -0.505526065826416, -0.6855767369270325, -0.07513253390789032, -0.7484575510025024, 0.045246440917253494, -0.13412140309810638, -0.24731658399105072, 0.03772323206067085, -0.10782504081726074, -0.345709890127182, -0.23172986507415771, -0.14513014256954193, 0.8393237590789795, -0.2522059679031372, 0.3228400945663452, 0.6422311067581177, -0.3912763297557831, -0.8218531608581543, -0.1969291716814041, 0.2637995183467865, -0.6215773820877075, 0.1555127501487732, 0.22999431192874908, -0.29121220111846924, -0.06143919751048088, -0.4886923134326935, -0.6001437306404114, 0.9497910141944885, 0.44135236740112305, -0.5755268931388855, -0.06619910895824432, -0.09901592135429382, 0.1213981956243515, -0.26673218607902527, 0.18632428348064423, 0.616662859916687, 0.346513956785202, 0.4061300456523895, -1.1997793912887573, 0.14603739976882935, 0.08108960092067719, -0.2390459030866623, 0.40969276428222656, -0.5387578010559082, 0.6014783382415771, -0.38642266392707825, -0.41097286343574524, 0.1664157658815384, 0.5383250117301941, 0.5300644636154175, 0.3130822777748108, 0.3318074643611908, 0.16941116750240326, 0.8851577043533325, -0.18761631846427917, 1.2791248559951782, -0.35514509677886963, 0.3270682990550995, 1.3979085683822632, -0.25686609745025635, 0.6092351078987122, 0.47591283917427063, -0.36193057894706726, -0.2530263364315033, 0.7628215551376343, 0.18265794217586517, 0.5134105682373047, 0.1169237568974495, -0.4605914056301117, -0.152889683842659, -0.017525559291243553, -0.4097103178501129, 0.3355790674686432, 0.41372087597846985, -0.03670410066843033, -0.495539128780365, -0.12775711715221405, 0.10730578005313873, -0.17835642397403717, -0.14794984459877014, 1.010787844657898, 0.14281673729419708, -0.8600956797599792, 0.5557740330696106, -0.15586236119270325, 0.43777790665626526, -0.6382748484611511, 0.15088686347007751, -0.6416272521018982, -0.07167099416255951, -0.08496969193220139, -0.3483585715293884, 0.22510671615600586, -0.095280721783638, -0.040222179144620895, -0.09238599240779877, 0.34349992871284485, -0.5482814908027649, -0.18178312480449677, 0.028937356546521187, 0.7255358099937439, 0.4786999225616455, -0.5642136931419373, -0.44396746158599854, 0.06205035001039505, 0.019677774980664253, -0.5502431392669678, 0.34422510862350464, 0.3931230902671814, 0.008528848178684711, 0.7309422492980957, 0.7178570628166199, 0.11294569820165634, 0.06297844648361206, 0.6317988038063049, 0.9453136324882507, -0.5178446173667908, -0.6044402122497559, -0.9935827255249023, 0.13552585244178772, -0.2422913759946823, -0.1890324503183365, 0.6581019759178162, 0.7400192022323608, 0.31222859025001526, 0.05621526762843132, 0.6788724064826965, 0.3138301372528076, 0.4512452483177185, -0.780038058757782, 0.47671929001808167, -0.6977136135101318, 0.46313410997390747, -0.14352060854434967, -0.963608980178833, -0.22922520339488983, 0.26422756910324097, -0.1588965654373169, 0.24896249175071716, 0.7981644868850708, 0.8237962126731873, 0.23724637925624847, 0.1638278216123581, 0.2146271914243698, -0.21957138180732727, 0.5336323380470276, 0.4995042383670807, 0.809508740901947, 0.024072008207440376, 0.7161118984222412, 0.17459455132484436, -0.2684101462364197, -0.39155954122543335, -0.7433907985687256, -0.8130585551261902, -0.4750159978866577, -0.26511523127555847, -0.13676892220973969, -0.022018706426024437, 0.9852518439292908, 0.614489734172821, -0.5595252513885498, -0.23237600922584534, 0.14042676985263824, 0.07420758903026581, -0.18286657333374023, -0.20629841089248657, 0.5107113122940063, -0.6223836541175842, -0.9685405492782593, 0.6297821402549744, 0.3303796350955963, 0.05473534017801285, 0.2318985015153885, 0.12690186500549316, -0.12528663873672485, 0.04602671414613724, 0.6974366903305054, 0.15648093819618225, -0.7916001081466675, -0.055157534778118134, 0.027408527210354805, 0.04707169532775879, -0.03848304599523544, 0.7492780089378357, -0.4788855016231537, 0.34948015213012695, 0.36620020866394043, 0.5993518233299255, 0.8476325869560242, 0.21321304142475128, 0.7627657651901245, -0.9835715293884277, -0.08197080343961716, 0.11340070515871048, 0.5504114627838135, 0.11007164418697357, -0.3215940296649933, 0.5933197140693665, -0.07048489898443222, -0.5560402870178223, -0.72730952501297, 0.3486254811286926, -1.115921974182129, -0.40040892362594604, 1.129374623298645, 0.02325545810163021, -0.057770632207393646, 0.04223237186670303, -0.43479493260383606, 0.18988502025604248, -0.4382808208465576, 0.32127252221107483, 0.7516849040985107, -0.7503792643547058, -0.2960028052330017, -0.7011626362800598, 0.4182840585708618, 0.44361358880996704, -0.8574246764183044, 0.3244156241416931, 0.9081150889396667, 0.11415856331586838, -0.04715270176529884, 0.7792348265647888, 0.03454757481813431, 0.24462245404720306, -0.029369380325078964, -0.40983909368515015, -0.3280884623527527, -0.01788320392370224, -0.03083028458058834, 0.2870401442050934, 0.08415622264146805, -0.5341076850891113 ]
http://arxiv.org/abs/2402.19471v2
http://arxiv.org/pdf/2402.19471v2
Loose LIPS Sink Ships: Asking Questions in Battleship with Language-Informed Program Sampling
2024-02-29T18:58:15
2024-05-01T19:00:06
Gabriel Grand, Valerio Pepe, Jacob Andreas, Joshua B. Tenenbaum
cs.CL
cs.CL, cs.AI
Questions combine our mastery of language with our remarkable facility for reasoning about uncertainty. How do people navigate vast hypothesis spaces to pose informative questions given limited cognitive resources? We study these tradeoffs in a classic grounded question-asking task based on the board game Battleship. Our language-informed program sampling (LIPS) model uses large language models (LLMs) to generate natural language questions, translate them into symbolic programs, and evaluate their expected information gain. We find that with a surprisingly modest resource budget, this simple Monte Carlo optimization strategy yields informative questions that mirror human performance across varied Battleship board scenarios. In contrast, LLM-only baselines struggle to ground questions in the board state; notably, GPT-4V provides no improvement over non-visual baselines. Our results illustrate how Bayesian models of question-asking can leverage the statistics of language to capture human priors, while highlighting some shortcomings of pure LLMs as grounded reasoners.
[ -0.7602372765541077, -1.0216726064682007, 1.2488040924072266, -0.29389867186546326, -0.2529245913028717, -0.1836153119802475, -0.16326208412647247, -0.09720706194639206, -0.034470487385988235, 1.1860625743865967, -0.7751218676567078, -0.3458315432071686, -0.35354700684547424, -0.5054054260253906, -0.08772315084934235, 0.8979902863502502, 0.08179771900177002, -0.08366671949625015, -0.1577041745185852, 0.06683678179979324, -0.7123047113418579, -0.2839335501194, -0.7240763902664185, -0.2592412531375885, 0.20936138927936554, 0.7473884224891663, 0.7915238738059998, 0.4291117787361145, 0.43018078804016113, 0.16245435178279877, 0.025659874081611633, -0.20679250359535217, -0.6823645234107971, 0.11491113156080246, -0.4466669261455536, -0.9227069616317749, 0.30893659591674805, 0.10493995249271393, 0.38290470838546753, 0.9792025089263916, -0.2730785012245178, 0.2547420561313629, -0.2679064869880676, 0.6192173361778259, -0.6299518346786499, 0.10326246172189713, -0.8420798182487488, -0.07956153154373169, -0.29207560420036316, -0.09987947344779968, -0.35744911432266235, -0.20970146358013153, 0.4234119951725006, -0.5917150974273682, 0.15170162916183472, 0.11748103052377701, 0.9412686228752136, 0.4127623438835144, -0.49114057421684265, -0.24049772322177887, -0.646818995475769, 0.7872390747070312, -0.490325391292572, 0.38272395730018616, 0.5956875085830688, 0.2191605269908905, -0.5255684852600098, -0.4921831786632538, -0.3546110987663269, -0.40457072854042053, 0.23506911098957062, 0.4365907609462738, -0.34337207674980164, 0.1709626466035843, 0.23888613283634186, 0.03569686412811279, -0.7382748126983643, -0.0444994792342186, -0.35560014843940735, -0.17200039327144623, 0.4244930148124695, -0.021679405122995377, 0.4294494390487671, -0.15765947103500366, -0.2445289045572281, -0.5325052738189697, -0.689362108707428, 0.29346349835395813, 0.4425276219844818, 0.11860926449298859, -0.13762550055980682, 0.6691357493400574, -0.04141535982489586, 0.8533113598823547, 0.03285151720046997, 0.3367455303668976, -0.7740678787231445, 0.3671082854270935, 0.0704057514667511, -0.1899661272764206, 0.43002697825431824, 0.6933417320251465, 0.44048547744750977, 0.07592473924160004, -0.044163864105939865, 0.1086341068148613, 0.4604823589324951, -0.3919748067855835, -0.3960029184818268, 0.34992918372154236, -0.3185916841030121, -0.14466561377048492, 0.0009082462056539953, -0.8438319563865662, -0.37103867530822754, -0.12445838749408722, 0.3405121862888336, -0.29291513562202454, -0.04765702784061432, 0.08495625853538513, -0.772739589214325, 0.2789885699748993, 0.2946443557739258, -0.756364643573761, 0.4355775713920593, 0.5321207046508789, 0.30922555923461914, -0.0028086502570658922, 0.32142794132232666, -0.5504871010780334, 0.26872700452804565, -0.556653618812561, 0.8510234951972961, -0.2746867537498474, -0.5704701542854309, -0.14411288499832153, -0.35360538959503174, 0.40671706199645996, -0.30225634574890137, 0.5474706888198853, -0.6054542660713196, 0.27601274847984314, -0.7869035005569458, -0.5284588932991028, -0.13043345510959625, 0.38482141494750977, -0.5219051837921143, 0.6363014578819275, -0.18029965460300446, -0.7049810290336609, 0.6707653999328613, -0.0668330118060112, -0.10930804908275604, 0.2383396178483963, -0.43219679594039917, -0.11796918511390686, 0.22324247658252716, 0.5048218965530396, 0.3516930043697357, -0.6110583543777466, 0.5020813941955566, -0.4030105173587799, -0.34593266248703003, 0.4835381507873535, -0.40975284576416016, 0.5419706106185913, 0.34835514426231384, -0.36589285731315613, -0.2647564709186554, -0.4558814764022827, 0.24184928834438324, 0.02912597358226776, -0.21939511597156525, -0.4379124641418457, 0.5263336300849915, -0.31540894508361816, -0.1708732396364212, 0.10944366455078125, -0.2534830570220947, 0.08104552328586578, -0.35069456696510315, 0.2701806426048279, 0.6537277698516846, 0.4559187889099121, 0.6565708518028259, -0.5233445763587952, 0.4728013873100281, -0.32302457094192505, -0.04382923245429993, 0.26692259311676025, -0.8136931657791138, -0.697352409362793, -0.06944222748279572, -0.16566428542137146, 0.5987961292266846, -0.811200737953186, -0.008129981346428394, -0.13661547005176544, -0.6488915085792542, -0.21085454523563385, -0.41515231132507324, 0.005356955341994762, 0.5365958213806152, 0.39546337723731995, 0.08734437823295593, -0.4276321530342102, -0.9254999160766602, -0.44400885701179504, -0.5867149233818054, -0.12635332345962524, 0.5572524070739746, 0.4290145933628082, 0.32669708132743835, 0.9890033602714539, -0.8291028141975403, 0.18780183792114258, -0.505219578742981, 0.37616613507270813, 0.4580651819705963, 0.4322821795940399, 0.22350051999092102, -0.8542765974998474, -0.058979906141757965, -0.3576262295246124, -0.44767630100250244, -0.09827135503292084, -0.5333783626556396, -0.287830114364624, -0.23544292151927948, 0.5835118889808655, -0.9923668503761292, 0.30226966738700867, 0.26993998885154724, -0.12561796605587006, 0.27648645639419556, -0.3095504641532898, 0.050182148814201355, -0.7109822630882263, 0.19245107471942902, -0.3217415511608124, 0.13558505475521088, -0.421794593334198, 0.27741166949272156, -0.05856325477361679, -0.5003241896629333, 0.07729944586753845, 0.6110418438911438, -0.651782214641571, -0.09649626165628433, -0.15989965200424194, 0.36828088760375977, -0.06729066371917725, 0.16661959886550903, 0.31996652483940125, 0.46745678782463074, 0.339548259973526, -0.927091121673584, -0.012972574681043625, 0.04147743433713913, -0.2968125641345978, 0.5658293962478638, -0.6334879994392395, 0.0846233069896698, -0.7752550840377808, 0.27925610542297363, -1.5161564350128174, -0.3548053205013275, -0.06567560136318207, -0.30954626202583313, 0.17980153858661652, -0.45041409134864807, 0.1699589639902115, -0.5120806694030762, -0.19299155473709106, 0.026331081986427307, 0.8882890343666077, -0.22792404890060425, 0.28247910737991333, 0.778841495513916, -0.17914807796478271, -0.6672303676605225, -0.954190194606781, -0.11080850660800934, -0.22559970617294312, -0.5719850063323975, 0.23225420713424683, -0.05363105610013008, -0.5581563115119934, -0.06862952560186386, -0.5215125679969788, -0.1774802803993225, 0.3187812864780426, 0.273921936750412, 0.3028040826320648, -0.31520116329193115, 0.0847235918045044, 0.16416345536708832, 0.1317310482263565, 0.2800145745277405, -0.567078173160553, 0.45472452044487, -0.014292966574430466, -0.46971189975738525, 0.013063319958746433, 0.19813452661037445, 0.2999669313430786, -0.07852144539356232, 0.3939111530780792, 0.046188876032829285, -0.10626209527254105, -0.343544602394104, -0.9964671730995178, -0.4019041657447815, -0.3897128999233246, 0.14978045225143433, -0.49305710196495056, -0.9805842041969299, 0.6014313697814941, 0.060718417167663574, -0.01589503325521946, 0.27820059657096863, 0.23354636132717133, -0.4195365607738495, 0.6891612410545349, 0.44803398847579956, -0.0010700238635763526, -0.001148263574577868, -0.04755057394504547, -0.05604584887623787, -0.17828750610351562, 0.14315512776374817, -0.551916778087616, -0.26757267117500305, -0.35387706756591797, -0.7023651599884033, 0.2896605134010315, 0.21722917258739471, -0.21079587936401367, 0.15736156702041626, -0.2742195725440979, 0.4751356542110443, 0.6448442935943604, 0.017661595717072487, 0.007724551949650049, -0.24836087226867676, -0.338567316532135, -0.3846155107021332, -0.7802483439445496, -0.6039479374885559, 0.9876539707183838, 0.23528355360031128, 0.9021177291870117, -0.0008122827275656164, 0.6999852657318115, -0.07447275519371033, 0.25754228234291077, -0.5081869959831238, 0.6627333760261536, 0.2617458403110504, -1.102808952331543, -0.533666729927063, -0.6899693608283997, -0.9397019147872925, 0.17241306602954865, -0.12687306106090546, -0.7607846856117249, 0.09046099334955215, 0.09762866050004959, -0.3820312023162842, 0.3004361391067505, -0.5348560810089111, 0.9362272620201111, -0.18889130651950836, -0.1862887442111969, -0.13930396735668182, -0.931771993637085, 0.43109357357025146, 0.1469523161649704, 0.3970720171928406, -0.2322712540626526, -0.1735631674528122, 0.4243111312389374, -0.2865684926509857, 0.5615265369415283, -0.22282466292381287, -0.06256359815597534, 0.7200967073440552, 0.48940980434417725, 0.3132646083831787, 0.3927552402019501, 0.1693767011165619, -0.17288699746131897, -0.18370138108730316, -0.2338694930076599, -0.5442371368408203, 0.5108391046524048, -0.6499133706092834, -0.6882565021514893, -0.3291449546813965, -0.5058249831199646, -0.3058128356933594, 0.20729835331439972, 0.6037691831588745, 0.16888786852359772, -0.40288034081459045, 0.0008667297079227865, 0.8435081839561462, -0.4060545563697815, 0.19407054781913757, 0.6397678256034851, -0.1290227770805359, -0.21152372658252716, 0.4907797574996948, 0.22371648252010345, 0.33307185769081116, 0.8584965467453003, 0.26755642890930176, -0.4366796314716339, -0.41129639744758606, -0.41624587774276733, 0.32972997426986694, -0.5505620241165161, 0.01017233170568943, -0.3091611862182617, 0.3356701135635376, -0.06670248508453369, -0.29946184158325195, -0.350739985704422, -0.29617613554000854, -0.06012527644634247, -0.266557902097702, 0.1296849250793457, 0.5039891600608826, -0.06691521406173706, 0.37554267048835754, -0.6765574812889099, 0.38203760981559753, 0.4139235019683838, 0.20288698375225067, -0.3050876557826996, -0.5012516975402832, 0.39159244298934937, 0.22616522014141083, -0.1232881098985672, -1.3021267652511597, 0.08454139530658722, -0.237075537443161, 0.7970206141471863, 0.20932801067829132, 0.14397262036800385, 0.7817041277885437, -0.39191222190856934, 0.8136818408966064, -0.14649218320846558, -0.8263988494873047, 0.6958983540534973, -0.6508821249008179, 0.4505259692668915, 0.5948273539543152, 0.6899930834770203, -0.48492351174354553, -0.6070212721824646, -0.8246075510978699, -0.5781922936439514, 0.6270496249198914, 0.12731541693210602, 0.04777425900101662, -0.2848548889160156, 0.3916967511177063, -0.2718520760536194, 0.2178422063589096, -0.578315019607544, -0.053596172481775284, 0.029073143377900124, 0.03167431056499481, -0.10346278548240662, -0.16899637877941132, -0.014409222640097141, 0.16094648838043213, 0.5506960153579712, -0.043854258954524994, 0.022026434540748596, 0.27789637446403503, -0.17491920292377472, -0.09293821454048157, 0.34690624475479126, 0.4557710886001587, 0.3826788067817688, -0.33316242694854736, 0.3477812707424164, 0.3176354169845581, -0.3157082200050354, 0.1723507046699524, -0.12480214983224869, -0.37271180748939514, -0.09720473736524582, 0.1599947214126587, 0.6309462189674377, 0.41103094816207886, -1.0445313453674316, 0.4080736041069031, -0.18132248520851135, -0.245955228805542, -0.28024300932884216, -0.04457138106226921, 0.3305821418762207, 0.05776199698448181, 0.24765363335609436, -0.015223179943859577, 0.07744951546192169, -0.7093363404273987, 0.30986106395721436, 0.5674121379852295, -0.4125612676143646, 0.183498352766037, 0.874650239944458, -0.21228531002998352, 0.2211640179157257, 0.8291218876838684, -0.07296105474233627, -0.1307486742734909, 0.4105173349380493, 0.2369883805513382, 0.2971576750278473, -0.1085713803768158, 0.4209357500076294, 0.33632344007492065, 0.6707308888435364, -0.3098280727863312, 0.6181814074516296, -0.14846274256706238, -0.9073854684829712, -0.6179912090301514, -0.15868569910526276, -0.5662632584571838, 0.34499189257621765, -0.6218618750572205, 0.29370859265327454, -0.8343916535377502, -0.4699743986129761, -0.3877628743648529, -0.23954108357429504, -0.37284785509109497, 0.21056543290615082, 0.4289878010749817, 0.6943753957748413, -0.6577497720718384, 0.11129932105541229, 0.7582970261573792, -0.7810256481170654, -0.9681472182273865, 0.05257127061486244, -0.144424170255661, -0.5166983008384705, 0.6231713891029358, 0.008578717708587646, 0.18765588104724884, 0.0860769972205162, -0.7832411527633667, -1.2181302309036255, 0.5961304306983948, 0.4515090584754944, -0.21736747026443481, -0.05901597812771797, 0.1821250170469284, 0.2678009271621704, 0.26236072182655334, 0.4125402867794037, 0.7306362986564636, 0.6030829548835754, -0.050703175365924835, -0.45681634545326233, 0.12228327989578247, -0.005653334315866232, 0.008947501890361309, 0.3697015047073364, -0.43240949511528015, 0.8579595685005188, -0.37717169523239136, -0.17126038670539856, 0.0332786962389946, 0.8810139894485474, 0.6243568658828735, -0.04775466397404671, 0.49013862013816833, 0.5907065868377686, 0.9043224453926086, -0.31497055292129517, 1.164457082748413, 0.02684229239821434, 0.0671706348657608, 0.8148854374885559, -0.20561324059963226, 0.8372102975845337, 0.693096935749054, -0.08016154915094376, 0.4117521345615387, 0.3210286498069763, 0.05322546884417534, 0.5362809896469116, 0.7622767686843872, 0.15529489517211914, -0.36196669936180115, 0.21488721668720245, -0.06079717352986336, 0.533710777759552, 0.5715631246566772, 0.30751848220825195, -0.4969216585159302, -0.0629427582025528, 0.1828807294368744, 0.2405351847410202, -0.055372484028339386, 0.6857210397720337, 0.19838164746761322, -1.1802281141281128, 0.2850033938884735, 0.11484022438526154, 0.2726128399372101, -0.6946457028388977, -0.06924881786108017, -0.30244383215904236, 0.07192142307758331, 0.3120347261428833, -0.9401915669441223, -0.04663920775055885, -0.09293986856937408, 0.05092039704322815, -0.30731281638145447, 0.7282224893569946, -0.4212287664413452, -0.025225285440683365, -0.22094452381134033, 0.6596925854682922, 0.5293087363243103, -0.4065445363521576, -0.6324774026870728, 0.024786517024040222, 0.012223295867443085, -0.263680636882782, 0.03712202608585358, 0.5688529014587402, -0.057356879115104675, 0.9022424817085266, 0.767521321773529, 0.16113117337226868, 0.028753601014614105, -0.0472407303750515, 0.40790584683418274, -0.5561180710792542, -0.765640377998352, -0.6478126049041748, 0.7973790764808655, -0.1635131537914276, -0.3917228579521179, 0.6536713242530823, 0.38021141290664673, 0.5553826689720154, -0.41931140422821045, 0.7657034993171692, 0.04400739073753357, 0.5002825856208801, -0.8223549127578735, 0.7082615494728088, -0.38779205083847046, 0.16883404552936554, -0.47350630164146423, -0.9848139882087708, 0.0405799001455307, 0.8351811170578003, -0.5304074883460999, -0.04857218265533447, 0.5925275087356567, 0.6077648997306824, 0.01586182415485382, 0.2527782618999481, 0.26635491847991943, 0.04043347015976906, 0.506417453289032, 0.6232979893684387, 1.1811476945877075, -0.2771179676055908, 0.4968634247779846, -0.12309471517801285, -0.1829623281955719, -0.17659491300582886, -0.8533703684806824, -0.9065114259719849, -0.4698103666305542, -0.07529720664024353, -0.014115069061517715, -0.0979708805680275, 0.6013063192367554, 0.5033448934555054, -0.4129585325717926, -0.6084596514701843, -0.5557669997215271, 0.08238434791564941, 0.11061760783195496, -0.22836565971374512, 0.11845483630895615, -0.42910036444664, -0.31301942467689514, 0.6159764528274536, 0.0541326105594635, 0.24751508235931396, 0.004704286810010672, 0.3124769926071167, -0.27995479106903076, 0.08233626186847687, 0.02279515005648136, 0.2719360589981079, -0.6380348801612854, -0.40406396985054016, 0.17203281819820404, -0.06345263123512268, -0.48881614208221436, 0.7945818901062012, -0.6941739320755005, 0.32216915488243103, 0.5448970794677734, 0.7932945489883423, 0.8147408366203308, 0.16872023046016693, 0.955702006816864, -0.7866144180297852, 0.29282498359680176, 0.5201413631439209, 0.3315610885620117, 0.10429459810256958, -0.24609969556331635, 0.3018784821033478, 0.13494227826595306, -0.5453659892082214, -0.506547212600708, 0.21969501674175262, -0.9365442395210266, -0.5727629661560059, 0.8168846368789673, 0.2520606219768524, -0.02483147382736206, -0.13591068983078003, -0.4393836259841919, -0.08452394604682922, -0.35131558775901794, 0.3524988889694214, 1.2455480098724365, 0.11277268826961517, -0.14805006980895996, -0.9804710745811462, 0.643301248550415, 0.730993926525116, -0.6407083868980408, -0.06523876637220383, 0.7605085968971252, 0.24790474772453308, 0.028834491968154907, 0.9284961223602295, 0.12488844990730286, 0.19443152844905853, 0.23877467215061188, 0.0914565771818161, 0.487701952457428, -0.2033633142709732, 0.15020038187503815, 0.2419598549604416, 0.09458694607019424, 0.2262183278799057 ]
http://arxiv.org/abs/2402.19467v3
http://arxiv.org/pdf/2402.19467v3
TV-TREES: Multimodal Entailment Trees for Neuro-Symbolic Video Reasoning
2024-02-29T18:57:01
2024-03-11T01:31:58
Kate Sanders, Nathaniel Weir, Benjamin Van Durme
cs.CL
cs.CL, cs.AI, cs.CV, I.2.7; I.2.10
It is challenging to perform question-answering over complex, multimodal content such as television clips. This is in part because current video-language models rely on single-modality reasoning, have lowered performance on long inputs, and lack interpetability. We propose TV-TREES, the first multimodal entailment tree generator. TV-TREES serves as an approach to video understanding that promotes interpretable joint-modality reasoning by producing trees of entailment relationships between simple premises directly entailed by the videos and higher-level conclusions. We then introduce the task of multimodal entailment tree generation to evaluate the reasoning quality of such methods. Our method's experimental results on the challenging TVQA dataset demonstrate intepretable, state-of-the-art zero-shot performance on full video clips, illustrating a best-of-both-worlds contrast to black-box methods.
[ -0.5051949620246887, -1.177095890045166, 0.42250674962997437, 0.008275304920971394, -0.45231491327285767, 0.13083790242671967, -0.06780721992254257, -0.01792723312973976, 0.1438063234090805, 0.15245814621448517, -0.8377197980880737, -0.14068716764450073, -0.6537910103797913, 0.14896127581596375, -0.44708436727523804, 0.684593141078949, -0.043546173721551895, -0.1019241064786911, -0.2527017295360565, -0.2517372965812683, -0.4106639325618744, -0.19373300671577454, -0.29396453499794006, 0.02316362038254738, 0.31676632165908813, 0.38000476360321045, 0.8790395259857178, 0.5375563502311707, 0.38300126791000366, 0.29938140511512756, 0.25707587599754333, 0.41352376341819763, -0.14697979390621185, 0.38130152225494385, 0.12166310846805573, -0.2821740508079529, -0.15659065544605255, -0.24754013121128082, 0.4348641037940979, 0.3055025041103363, 0.13518285751342773, 0.41232210397720337, -0.08735289424657822, 0.3068411648273468, -0.7466601133346558, -0.07648307085037231, -0.6453490853309631, 0.17985789477825165, 0.012528005056083202, -0.8957290649414062, -0.4924596846103668, -0.27723169326782227, 0.08152861148118973, -0.8255335688591003, 0.32031071186065674, -0.26928073167800903, 1.0401839017868042, 0.6588149070739746, -0.8133257627487183, -0.009396231733262539, -0.5981125831604004, 0.4095233082771301, -0.46197524666786194, 0.49134448170661926, 0.5788663625717163, 0.7723634839057922, 0.06003694608807564, -0.49398574233055115, -0.5198470950126648, -0.2945733368396759, 0.20930372178554535, 0.16475847363471985, -0.18842115998268127, 0.3243793845176697, 0.416774719953537, 0.17134003341197968, -0.6771209239959717, -0.42851704359054565, -0.08524473756551743, -0.049852292984724045, 0.47832271456718445, 0.143611878156662, 0.35052454471588135, -0.5454367995262146, 0.15108397603034973, -0.04132808744907379, -0.5409195423126221, 0.11862246692180634, 0.34978076815605164, -0.18383438885211945, 0.1845622956752777, 0.955977201461792, -0.26429978013038635, 0.5685544013977051, 0.028902770951390266, -0.3432871699333191, -0.12727804481983185, -0.6277514696121216, -0.6285108327865601, 0.06271754950284958, 0.4279894530773163, 0.4301973879337311, 0.44245776534080505, 0.09146212041378021, 0.15872327983379364, 0.5536941289901733, 0.009817336685955524, -0.948577344417572, -0.36192187666893005, 0.1736110895872116, -0.6178596019744873, -0.032988134771585464, -0.20776915550231934, -0.6767753958702087, -0.14317165315151215, -0.399442583322525, 0.8747375011444092, -0.7478823065757751, -0.5997519493103027, 0.11457391083240509, -0.4127708971500397, 0.09353470802307129, 0.6167519092559814, -0.5645076632499695, 0.26562801003456116, 0.41071414947509766, 0.46013203263282776, 0.455026239156723, -0.24493972957134247, -0.687699556350708, 0.45319610834121704, -0.2541026473045349, 0.603786826133728, -0.7430958151817322, 0.17132353782653809, -0.04326093569397926, -0.008951147086918354, 0.11107806861400604, -0.18377920985221863, 0.23265311121940613, -0.2727814018726349, 0.32711267471313477, -0.07172302901744843, -0.2580052316188812, -0.5831433534622192, 0.6499869227409363, -0.4120965301990509, 0.7102872133255005, -0.10886649042367935, -0.5808842778205872, 0.7245618104934692, -0.6005152463912964, -0.5133659839630127, -0.1320887953042984, -0.38689759373664856, -0.13846875727176666, -0.04555334523320198, 0.43050363659858704, 0.24789011478424072, -0.30278661847114563, 0.5459417104721069, -0.225007101893425, 0.06943292915821075, 0.16768091917037964, -1.1530985832214355, 0.5607279539108276, 0.258659303188324, -0.2943786084651947, 0.2194952666759491, -0.5005197525024414, 0.10995715111494064, -0.0522298589348793, 0.10313180088996887, -0.13769885897636414, 0.2885212302207947, -0.16453400254249573, 0.3895038068294525, -0.20407633483409882, -0.7422571778297424, -0.19847898185253143, -0.04933867231011391, 0.6456026434898376, 0.578249990940094, -0.049302902072668076, 0.05254590883851051, -0.26391857862472534, 0.6754456162452698, 0.17788423597812653, 0.29003214836120605, -0.6534026861190796, -0.40956664085388184, -0.568631649017334, -0.24744096398353577, 0.045025698840618134, 0.2542155385017395, -1.0597894191741943, -0.1691027283668518, -0.19593432545661926, -0.18498283624649048, -0.3289586901664734, -0.11745193600654602, 0.3784998953342438, 0.03404202312231064, 0.26260265707969666, -0.3098401129245758, -0.524580717086792, -0.9557466506958008, 0.05678891763091087, 0.02641928754746914, 0.18415120244026184, 0.28434908390045166, 0.5665625929832458, 0.37114396691322327, 0.8377172350883484, -0.4969848096370697, -0.0115879587829113, 0.04683423414826393, 0.26294201612472534, 0.030870676040649414, 0.31202319264411926, 0.4007139503955841, -0.8652592897415161, -0.5195937752723694, 0.14262789487838745, -0.9684704542160034, 0.4059268534183502, -0.3145442008972168, 0.02023773267865181, 0.07728539407253265, 0.39002910256385803, -0.9821040034294128, 0.5712841153144836, 0.38705843687057495, -0.6826854944229126, 0.5418589115142822, -0.10378768295049667, 0.5600728988647461, -0.8400226831436157, -0.15978555381298065, 0.06179265305399895, -0.36518236994743347, -0.2777825891971588, -0.12759940326213837, -0.44890961050987244, -0.26074573397636414, -0.44786524772644043, 0.07147032022476196, -0.3225402235984802, -0.26441308856010437, 0.1038610190153122, 0.005943982861936092, 0.24568107724189758, 0.7007541656494141, -0.14998053014278412, 0.532741904258728, 0.7902318239212036, -0.43274733424186707, 0.43943649530410767, 0.17708098888397217, -0.2469007670879364, 0.7511892914772034, -0.40621721744537354, -0.2627769410610199, -0.6523059010505676, 0.14686058461666107, -1.0946712493896484, -0.538629412651062, 0.11826545745134354, -0.6854839324951172, 0.10293066501617432, -0.29017171263694763, -0.37648922204971313, -0.0690867155790329, -0.12851084768772125, 0.6680383086204529, 0.1619689166545868, -0.4345465302467346, 0.6378057599067688, 0.2625313997268677, 0.11398005485534668, -0.5929404497146606, -0.403276264667511, 0.20139364898204803, -0.2879604697227478, -0.9143370985984802, 0.2263011783361435, 0.011684971861541271, -0.11788306385278702, 0.49657514691352844, -0.4795002341270447, -0.4655582904815674, -0.12063737213611603, 0.22429879009723663, -0.08694931864738464, -0.49952372908592224, 0.3031662404537201, 0.2016368806362152, 0.20668601989746094, 0.084834523499012, 0.24659276008605957, 0.14418424665927887, -0.1041351929306984, -0.6185467839241028, -0.39845943450927734, 0.6843218207359314, 0.67437344789505, -0.4134795665740967, -0.0415705107152462, 0.4594764709472656, -0.6195706725120544, -0.15132200717926025, -0.35310155153274536, -0.36707279086112976, -0.44261202216148376, 0.5755400657653809, -0.6134220361709595, -0.7911995649337769, -0.17277580499649048, 0.012162074446678162, 0.05347323790192604, 0.016404539346694946, 0.3448752760887146, -0.24980956315994263, 1.4772404432296753, 0.1953127384185791, 0.780965268611908, 0.4309401214122772, -0.4070880711078644, 0.08223742246627808, -0.292934775352478, -0.336997926235199, -0.10773726552724838, -0.4127284288406372, -0.3309163451194763, -0.4771093428134918, 0.5216549038887024, 0.06391887366771698, -0.6569042801856995, 0.4141930639743805, -0.6255460381507874, 0.6241072416305542, 0.3592897355556488, 0.20586004853248596, 0.5809658765792847, 0.028905505314469337, 0.3139118552207947, -0.08410454541444778, -0.8363562226295471, -0.3795730173587799, 0.7825836539268494, 0.3866117298603058, 0.7046290040016174, 0.46873417496681213, 0.17388120293617249, 0.15238437056541443, 0.18392342329025269, -0.9168506264686584, 0.6753200888633728, -0.32458680868148804, -0.6610317230224609, -0.3856303095817566, -0.1562490314245224, -0.9776961207389832, 0.4344238340854645, -0.2283206284046173, -0.5855059027671814, -0.053065910935401917, 0.19543486833572388, -0.3242785930633545, 0.20689821243286133, -0.7513149976730347, 1.1432734727859497, -0.44946619868278503, -0.3982558250427246, -0.5740472078323364, -0.6008359789848328, 0.7311203479766846, 0.46236035227775574, 0.05100357159972191, -0.22700463235378265, 0.22551172971725464, 0.5206555128097534, -0.30762431025505066, 0.5690277814865112, -0.21756337583065033, 0.3421976864337921, 0.7306393384933472, 0.6928502917289734, -0.07894507795572281, 0.25696423649787903, 0.5447555184364319, -0.3249235153198242, 0.5603548884391785, 0.004839262925088406, -0.8412129878997803, 0.43966567516326904, -0.6658040881156921, -0.6308959126472473, -0.43449702858924866, -0.767600953578949, -0.17166148126125336, 0.09948191791772842, -0.07046493887901306, 0.9260424375534058, 0.13342897593975067, 0.6064407825469971, 0.5490192174911499, -0.08765724301338196, 0.6733012795448303, -0.03202333673834801, -0.2742365002632141, -0.589779794216156, 1.0555280447006226, 0.16648681461811066, 0.3537442088127136, 0.35525891184806824, 0.026945408433675766, -0.21459686756134033, -0.29872986674308777, -0.633010983467102, -0.12159980088472366, -0.7765143513679504, -0.3634556829929352, -0.4933636486530304, -0.31519633531570435, 0.04009952396154404, 0.015726817771792412, -0.23265570402145386, -0.5919690728187561, 0.18888626992702484, -0.15734633803367615, 0.3505685329437256, 0.4337795674800873, 0.012692896649241447, 0.15744994580745697, -0.7424628138542175, 0.771246612071991, 0.7802941203117371, 0.35238009691238403, -0.1856057494878769, -0.15689904987812042, 0.05318833142518997, 0.12185010313987732, -0.8127988576889038, -1.1395487785339355, 0.27684035897254944, 0.399845689535141, 0.5212793350219727, 0.3096538186073303, -0.252682089805603, 0.9394072890281677, -0.2355147749185562, 0.7101953625679016, 0.4557303190231323, -0.800381064414978, 0.5484491586685181, -0.3979783058166504, 0.255254864692688, 0.30758747458457947, 0.3742254674434662, -0.33165034651756287, 0.01773972064256668, -0.5839825868606567, -0.34967392683029175, 0.6688026785850525, 0.38325363397598267, -0.06877205520868301, -0.05949008837342262, -0.34234797954559326, 0.23987440764904022, 0.3399527966976166, -0.5747151970863342, 0.04256923496723175, -0.8838739991188049, -0.11478683352470398, 0.1434827446937561, 0.17516052722930908, -0.3123636841773987, -0.5955776572227478, 0.3032729923725128, -0.4869750738143921, 0.2793391942977905, 0.4003875255584717, -0.16018758714199066, -0.4178915023803711, 0.3816053569316864, 0.4227459728717804, 0.8049684762954712, -0.43334391713142395, 0.4988928735256195, -0.08402926474809647, -0.1212068423628807, 0.2971322238445282, -0.22780947387218475, -0.12506268918514252, 0.31623899936676025, 0.14916066825389862, 0.9018737077713013, 0.02391304261982441, -0.8058727383613586, 0.6500876545906067, 0.12310848385095596, -0.5615954995155334, -0.2845172584056854, -0.2622058689594269, -0.09349837154150009, 0.08664654940366745, 0.12250446528196335, 0.26002880930900574, 0.2229892611503601, -0.8542476296424866, 0.42625874280929565, 0.7303977012634277, -0.22988395392894745, -0.30262264609336853, 0.6604480743408203, 0.15448613464832306, -0.394420325756073, 0.5542105436325073, -0.07423770427703857, -0.19069668650627136, 0.8954015374183655, 0.44734814763069153, 0.9921462535858154, 0.1852034628391266, 0.8378545641899109, 0.5411165952682495, 0.3863201439380646, 0.20203529298305511, 0.506249725818634, -0.3858797252178192, -0.5526468753814697, -1.0591371059417725, -0.1729019284248352, -0.39054062962532043, 0.07456930726766586, -0.4354235827922821, 0.2823377847671509, -0.3013152778148651, -0.1692405790090561, 0.13833914697170258, -0.6168050169944763, -0.6668002605438232, 0.30619096755981445, 0.21280047297477722, 0.8666285276412964, -0.7273621559143066, 0.7778201699256897, 0.5683576464653015, -0.5775772929191589, -0.6847619414329529, -0.09026079624891281, -0.255979984998703, -0.37574994564056396, 0.7230166792869568, 0.23499387502670288, -0.1615631878376007, 0.0034889960661530495, -0.6058523058891296, -0.8192052245140076, 1.005286455154419, 0.6132933497428894, -0.011621976271271706, -0.12742285430431366, 0.22282180190086365, 0.24973848462104797, -0.11823821067810059, 0.7424139976501465, 0.3933093547821045, 0.5300033092498779, 0.4285328984260559, -0.8951761722564697, -0.04493376240134239, -0.3068176507949829, -0.4177601635456085, 0.466072142124176, -0.3158508241176605, 0.8456711769104004, -0.11600761115550995, -0.44245800375938416, -0.36666521430015564, 0.4312868118286133, 0.24149474501609802, 0.5405358076095581, 0.5473909378051758, 0.6965234279632568, 0.06464283168315887, -0.021125275641679764, 0.7203841209411621, -0.03121669963002205, 0.12645792961120605, 1.1282458305358887, 0.13308745622634888, 0.6084940433502197, 0.8349063396453857, -0.2451748549938202, 0.46961721777915955, 0.4619074761867523, 0.2262682467699051, 0.5139676332473755, 0.06018776446580887, -0.18371984362602234, -0.9885720014572144, -0.3950597941875458, -0.23919422924518585, 0.675929844379425, 0.4109540283679962, 0.047650180757045746, -0.7393621206283569, 0.026938794180750847, -0.26783740520477295, 0.20756588876247406, -0.2846347689628601, 0.5021859407424927, -0.02402709238231182, -1.0573323965072632, 0.5468882322311401, -0.28301775455474854, 0.4299558699131012, -0.7740857005119324, -0.5498642921447754, 0.174460768699646, -0.10445427149534225, -0.38297590613365173, -1.1772639751434326, 0.48001542687416077, -0.06170467659831047, 0.16890975832939148, -0.35082271695137024, 0.39231568574905396, -0.5522683262825012, -0.2160644829273224, -0.10293243080377579, 0.6036269068717957, 0.04514092206954956, -0.12552054226398468, -0.4429408311843872, -0.20734229683876038, -0.25998562574386597, -0.1000235304236412, 0.24609878659248352, 0.6882430911064148, -0.13315752148628235, 0.6624921560287476, 0.4968140125274658, -0.4957362413406372, 0.309990257024765, -0.1928769052028656, 0.7578908801078796, -0.4239717125892639, -0.23682653903961182, -0.8800747394561768, 0.6834868788719177, -0.009181790985167027, -0.3901076912879944, 0.8192237019538879, 0.5739760398864746, 0.8825748562812805, -0.17106202244758606, 0.6816580295562744, -0.5711118578910828, -0.22037360072135925, -0.46365252137184143, 0.10981272906064987, -0.7603559494018555, -0.40030673146247864, -0.17745688557624817, -0.7031688690185547, -0.24407874047756195, 0.536790132522583, 0.07307779788970947, -0.29475244879722595, 1.11699640750885, 0.9341459274291992, -0.2368856519460678, 0.30828797817230225, 0.41373249888420105, -0.04238414019346237, 0.3149552643299103, 0.927405059337616, 1.126502275466919, -0.4369477331638336, 1.0044792890548706, -0.4770507216453552, 0.048248592764139175, 0.2377120852470398, -0.834928572177887, -0.8110573887825012, -0.6974796652793884, -0.416853129863739, -0.35364657640457153, 0.10726256668567657, 0.9470833539962769, 0.8352005481719971, -0.5972098112106323, -0.29633238911628723, -0.254825234413147, 0.23771172761917114, -0.5399851202964783, -0.22559911012649536, 0.3191007077693939, 0.06604404002428055, -0.5881971120834351, 0.4449455440044403, 0.4077717065811157, -0.34946757555007935, -0.5027248859405518, -0.24920441210269928, -0.5524576306343079, 0.07474158704280853, 0.8292422890663147, 0.1990581601858139, -0.8653402328491211, -0.5568605661392212, 0.11272880434989929, 0.24698027968406677, 0.22782674431800842, 1.0535252094268799, -0.8414743542671204, 0.7578890919685364, 0.892471432685852, 0.5228834748268127, 0.6867265701293945, 0.050855718553066254, 0.28516191244125366, -0.6504061222076416, -0.0067476243712008, 0.39092403650283813, 0.35573965311050415, 0.10280025005340576, 0.0077603720128536224, 0.4190961718559265, 0.3097151517868042, -0.40432149171829224, -0.895929753780365, 0.5269666910171509, -1.3090540170669556, -0.3992891311645508, 1.1153043508529663, 0.17509125173091888, -0.15012682974338531, -0.21879133582115173, -0.6339471936225891, 0.42753154039382935, -0.22131653130054474, 0.367954820394516, 0.5195885896682739, -0.20004931092262268, -0.6847824454307556, -0.7382622361183167, 0.48811325430870056, 0.5479859709739685, -0.8673909306526184, -0.07003187388181686, 0.6683670282363892, 0.13964994251728058, -0.0019904160872101784, 0.5134691596031189, 0.03277583420276642, 0.712333619594574, 0.3567492663860321, -0.22362732887268066, -0.5580596327781677, -0.733524739742279, 0.11467921733856201, 0.6378652453422546, -0.12966227531433105, -0.5405022501945496 ]
http://arxiv.org/abs/2402.19465v1
http://arxiv.org/pdf/2402.19465v1
Towards Tracing Trustworthiness Dynamics: Revisiting Pre-training Period of Large Language Models
2024-02-29T18:55:06
2024-02-29T18:55:06
Chen Qian, Jie Zhang, Wei Yao, Dongrui Liu, Zhenfei Yin, Yu Qiao, Yong Liu, Jing Shao
cs.CL
cs.CL, cs.AI
Ensuring the trustworthiness of large language models (LLMs) is crucial. Most studies concentrate on fully pre-trained LLMs to better understand and improve LLMs' trustworthiness. In this paper, to reveal the untapped potential of pre-training, we pioneer the exploration of LLMs' trustworthiness during this period, focusing on five key dimensions: reliability, privacy, toxicity, fairness, and robustness. To begin with, we apply linear probing to LLMs. The high probing accuracy suggests that \textit{LLMs in early pre-training can already distinguish concepts in each trustworthiness dimension}. Therefore, to further uncover the hidden possibilities of pre-training, we extract steering vectors from a LLM's pre-training checkpoints to enhance the LLM's trustworthiness. Finally, inspired by~\citet{choi2023understanding} that mutual information estimation is bounded by linear probing accuracy, we also probe LLMs with mutual information to investigate the dynamics of trustworthiness during pre-training. We are the first to observe a similar two-phase phenomenon: fitting and compression~\citep{shwartz2017opening}. This research provides an initial exploration of trustworthiness modeling during LLM pre-training, seeking to unveil new insights and spur further developments in the field. We will make our code publicly accessible at \url{https://github.com/ChnQ/TracingLLM}.
[ -0.4345409870147705, -0.58199542760849, 0.8458258509635925, -0.1133095845580101, -0.22738206386566162, 0.1645798683166504, -0.03467896208167076, -0.5227217674255371, 0.019283683970570564, 0.23935791850090027, -0.8514184355735779, -0.2894952595233917, -0.8814494013786316, -0.2732895612716675, -0.6186160445213318, 0.9035316109657288, -0.01734626293182373, 0.11447487771511078, -0.3220385015010834, -0.10432341694831848, -0.10800337046384811, -0.7905842065811157, -0.5630099177360535, -0.6192852258682251, 0.5555902123451233, 0.08509726822376251, 0.5299245715141296, 0.5079946517944336, 0.2343963086605072, 0.33296793699264526, -0.14094555377960205, -0.15426993370056152, -0.9067862629890442, 0.32201558351516724, -0.09034772217273712, -0.6288811564445496, -0.6939390897750854, 0.5152727365493774, 0.7030872702598572, 0.3681361973285675, 0.028393186628818512, 0.25613757967948914, 0.5470641255378723, 0.5287444591522217, -0.4831610321998596, 0.23406106233596802, -0.597896158695221, -0.11382865160703659, -0.39019492268562317, -0.4858795404434204, -0.33643877506256104, -0.4138168692588806, 0.4236062467098236, -0.7022616267204285, 0.06068544462323189, 0.1341705024242401, 1.267231822013855, 0.12048149853944778, -0.3637904226779938, -0.1755327433347702, -0.6180295348167419, 0.7945821285247803, -0.4270825982093811, 0.5675142407417297, 0.4086604118347168, 0.12681016325950623, -0.24760757386684418, -0.9615442156791687, -0.514936625957489, -0.42418593168258667, -0.02858811244368553, -0.20065702497959137, -0.08045322448015213, -0.09867747873067856, 0.15196482837200165, 0.23971131443977356, -0.1791892945766449, 0.18591898679733276, 0.028802070766687393, -0.7218883037567139, 0.3798462152481079, 0.018774982541799545, 0.1305847465991974, 0.32979950308799744, -0.39467984437942505, -0.3251020610332489, -0.7714092135429382, 0.11933240294456482, 0.488129585981369, -0.14704929292201996, -0.33230942487716675, 0.26526305079460144, 0.13668569922447205, 0.21027617156505585, 0.1783147007226944, -0.24743209779262543, 0.22095417976379395, -0.6750797033309937, 0.0056986939162015915, -0.21678811311721802, 0.8559691905975342, -0.010267066769301891, 0.555998682975769, -0.03288790583610535, -0.14410410821437836, -0.16335101425647736, 0.2541429102420807, -0.735838770866394, -0.23323312401771545, 0.09112700074911118, -0.5177310109138489, -0.6777182221412659, 0.040316417813301086, -0.6508083343505859, -0.4094061553478241, -0.2864437401294708, 0.6280157566070557, -0.4451901614665985, -0.5337424278259277, -0.0874181017279625, 0.3305622637271881, 0.4153698980808258, 0.2610418498516083, -0.430166631937027, -0.02555629424750805, 0.8428722023963928, 0.808017909526825, -0.06645914167165756, -0.6376542448997498, -0.6081956624984741, 0.013402855023741722, -0.21739795804023743, 0.3049575090408325, -0.4415581524372101, -0.21331648528575897, 0.13152800500392914, -0.022563718259334564, 0.14627644419670105, -0.1817745417356491, 0.4144861400127411, -0.7279785871505737, -0.01008773222565651, -0.3806135058403015, -0.5627395510673523, -0.06999421119689941, 0.5762028694152832, -0.5626192092895508, 0.9777988791465759, -0.12282981723546982, -0.9382747411727905, 0.4483904242515564, -0.3305510878562927, -0.059717241674661636, -0.22824862599372864, -0.284988135099411, -0.46670031547546387, 0.042882297188043594, -0.1805277019739151, 0.6702952980995178, -0.15416336059570312, 0.1894136220216751, -0.664250910282135, -0.3071901798248291, 0.4834236800670624, -0.3694052994251251, 0.7147762179374695, 0.01930268481373787, -0.2555120289325714, 0.11354890465736389, -0.8181390762329102, 0.08378161489963531, 0.0020206605549901724, -0.11204700171947479, -0.23932336270809174, -0.09904447197914124, -0.46914416551589966, 0.22973424196243286, 0.5387402772903442, -0.37102675437927246, -0.3271125555038452, -0.2396204024553299, 0.28494128584861755, 0.9302234649658203, -0.18171513080596924, 0.47999095916748047, -0.31935301423072815, 0.6755067706108093, 0.1958145797252655, 0.31479039788246155, -0.10016936808824539, -0.16386468708515167, -0.7699394822120667, -0.003976938780397177, 0.19214682281017303, 0.2651427984237671, -0.48851796984672546, 0.2645796239376068, -0.3366340100765228, -0.3872523903846741, -0.31277403235435486, 0.11306627839803696, 0.5524889826774597, 0.32151681184768677, 0.09194977581501007, -0.4233514070510864, -0.39466241002082825, -0.6647195816040039, -0.18486616015434265, -0.37860432267189026, 0.0690600648522377, 0.1378578543663025, 0.5237551331520081, -0.23841971158981323, 0.7285773754119873, -0.1430513858795166, -0.1199532002210617, -0.08613979071378708, 0.24606172740459442, -0.14529085159301758, 0.5347071886062622, 0.532346785068512, -0.355784147977829, -0.24417494237422943, -0.1916331797838211, -0.4322066009044647, -0.10093893110752106, 0.1955115646123886, -0.2547309994697571, 0.04795535281300545, 0.8115659356117249, -0.4020141661167145, 0.2565505802631378, 0.9668624401092529, -0.35360610485076904, 0.6879551410675049, -0.28505176305770874, -0.05152720957994461, -1.057138204574585, 0.09048395603895187, -0.17477670311927795, -0.4055843651294708, -0.4965105652809143, 0.055565472692251205, -0.00908154807984829, 0.1813732385635376, -0.2961731553077698, 0.2961272597312927, -0.7364702820777893, -0.2101021409034729, -0.20985980331897736, 0.2391841560602188, -0.17311720550060272, 0.19542576372623444, -0.4448772668838501, 0.6642510890960693, 0.8282420635223389, -0.601274311542511, 0.04727071523666382, -0.14380182325839996, -0.28768038749694824, 0.6131383776664734, -0.517211377620697, 0.43429237604141235, -0.16474665701389313, 0.189208984375, -0.7962409853935242, 0.08462793380022049, 0.16714274883270264, -0.6248056292533875, 0.5649441480636597, -0.2398689091205597, -0.43191421031951904, 0.11606362462043762, -0.34034600853919983, 0.28745052218437195, 0.49447065591812134, -0.35642918944358826, 0.8371198177337646, 0.42861661314964294, 0.0073456610552966595, -0.660053551197052, -0.3443109095096588, -0.2803702652454376, -0.19467228651046753, -0.6920012831687927, -0.09037408232688904, -0.1486673355102539, -0.22256749868392944, -0.16614773869514465, -0.3366797864437103, -0.3340452015399933, 0.3644218146800995, 0.5733272433280945, 0.2991231381893158, -0.16824284195899963, -0.19642750918865204, -0.20872363448143005, -0.36478713154792786, 0.5744253396987915, -0.33387333154678345, 0.8678617477416992, -0.38195109367370605, -0.22096915543079376, -0.6262084245681763, -0.1725974977016449, 0.5797558426856995, -0.246578186750412, 0.9510824680328369, 0.8536655902862549, -0.09471887350082397, -0.21420817077159882, -0.6286889314651489, -0.48837095499038696, -0.5699087977409363, 0.27218857407569885, -0.3391200602054596, -1.2638890743255615, 0.6058369278907776, -0.19642746448516846, -0.21879856288433075, 0.2999497652053833, 0.3725108802318573, -0.17550981044769287, 0.5578575134277344, 0.8992425799369812, -0.28189244866371155, 0.35220497846603394, 0.08302139490842819, 0.14085954427719116, -0.3756188154220581, -0.5475791096687317, -0.677927553653717, -0.13457360863685608, -0.6936748623847961, -0.5095459818840027, 0.3813360035419464, 0.2135889083147049, -0.1647876352071762, -0.09823693335056305, 0.21783985197544098, 0.5070655345916748, 0.3737705647945404, 0.047525737434625626, 0.327377051115036, -0.281020849943161, -0.29672905802726746, -0.08414098620414734, -0.4081595242023468, -0.41600072383880615, 1.0613669157028198, 0.8822261095046997, 0.7975465655326843, -0.17175482213497162, 0.7122727036476135, -0.2722640931606293, 0.19982722401618958, -0.4732356667518616, 0.7083473205566406, 0.17967423796653748, -0.5855830907821655, -0.4651663303375244, -0.46332862973213196, -0.7379375696182251, -0.10094723105430603, -0.4667756259441376, -0.624517023563385, -0.0986638143658638, 0.5735846757888794, -0.24420508742332458, 0.16688013076782227, -0.2955071032047272, 0.5546591281890869, -0.24743089079856873, -0.4807874262332916, -0.4208192825317383, -0.8709348440170288, 0.4854162037372589, -0.3147595524787903, 0.11702075600624084, -0.18369963765144348, 0.1752210557460785, 0.6711515188217163, -0.30822402238845825, 0.8699126839637756, -0.1705925464630127, -0.2986646890640259, -0.008109304122626781, 0.3975166976451874, 0.6892490386962891, 0.07289562374353409, 0.33692434430122375, 0.36594271659851074, 0.3670022487640381, -0.32297155261039734, -0.5158728361129761, 0.7655854225158691, -0.6988778114318848, -0.36960962414741516, -0.633396327495575, -0.44161278009414673, -0.444680780172348, 0.3878743350505829, 0.22417865693569183, 0.2602575123310089, -0.27737733721733093, 0.33757638931274414, 1.1232699155807495, -0.18052473664283752, 0.4287818372249603, 0.670164167881012, -0.2839532792568207, 0.18917809426784515, 0.6600940227508545, -0.1227237731218338, 0.3556610941886902, 0.35350722074508667, 0.18457812070846558, -0.32766732573509216, -0.9381346702575684, 0.20235097408294678, 0.42919114232063293, -0.29242250323295593, 0.012416480109095573, -0.2842337191104889, -0.39120393991470337, -0.2544141113758087, 0.1644202619791031, -0.8111083507537842, -0.09801958501338959, -0.34319832921028137, -0.22253547608852386, 0.1620442122220993, 0.7782387137413025, -0.21622534096240997, 0.27763745188713074, -0.8087109923362732, -0.1800099015235901, 0.27167677879333496, 0.5899212956428528, 0.055010613054037094, -0.5472835302352905, -0.33936935663223267, 0.0006578732863999903, -0.1510181427001953, -0.6724995970726013, 0.20549802482128143, -0.0006287699216045439, 0.6295799612998962, 0.6781759858131409, -0.13680726289749146, 0.5525426864624023, -0.4070914685726166, 0.7618751525878906, 0.09854511171579361, -1.1454486846923828, 0.3188793957233429, -0.3193204700946808, -0.08884285390377045, 0.7029802203178406, 0.6736659407615662, -0.01797908917069435, -0.44798094034194946, -0.5176041722297668, -0.5866038799285889, 0.4620225429534912, 0.1890278309583664, -0.015760572627186775, 0.5401644110679626, 0.6823589205741882, 0.007525179535150528, 0.1838439702987671, -0.7300925850868225, -0.417217880487442, -0.29812246561050415, 0.05694681033492088, -0.4207707941532135, -0.7547979950904846, -0.2846596837043762, -0.0970466136932373, 0.5517208576202393, 0.04753545671701431, 0.1839904487133026, 0.05747101828455925, -0.19638311862945557, 0.11195756494998932, 0.24018289148807526, 0.565197765827179, 0.8556421995162964, -0.23562468588352203, 0.40870141983032227, 0.03672848641872406, -0.7957680225372314, 0.23974134027957916, 0.06658410280942917, 0.06520937383174896, -0.2592504918575287, 0.5485544800758362, 0.6316640973091125, 0.24814525246620178, -0.31421807408332825, 0.7899125218391418, -0.048472125083208084, -0.2843623459339142, -0.521572470664978, 0.023090915754437447, 0.0822036862373352, 0.4776228368282318, 0.027720555663108826, -0.27563801407814026, -0.31947535276412964, -0.533924400806427, 0.3643732964992523, 0.5803407430648804, -0.5979322791099548, -0.7379180192947388, 0.650829553604126, 0.19301064312458038, 0.011533060111105442, 0.411109060049057, -0.08997910469770432, -0.5525383353233337, -0.02021852694451809, 0.10013893246650696, 0.7371772527694702, -0.42104893922805786, 0.22540283203125, 0.10178491473197937, 0.4905228614807129, -0.14589561522006989, 0.15647979080677032, 0.02297014743089676, -1.0136868953704834, -0.4550665616989136, -0.590878427028656, -0.23795609176158905, 0.366359680891037, -0.9840314984321594, 0.011468350887298584, -0.47984737157821655, -0.1650254875421524, -0.4864698052406311, 0.23343399167060852, -0.7195521593093872, 0.10110773146152496, 0.05081918090581894, 0.8398060202598572, -0.7500836253166199, 1.2204145193099976, 0.2671818137168884, -0.08763014525175095, -1.0751750469207764, 0.22764898836612701, 0.2518232762813568, -1.182543396949768, 0.6368701457977295, -0.05454869940876961, -0.5491287708282471, -0.03588232770562172, -0.7476659417152405, -0.8357273936271667, 1.456572413444519, 0.46077314019203186, -0.8162633180618286, -0.18157757818698883, 0.1866236925125122, 0.4969623386859894, -0.2084464281797409, 0.1531337946653366, 0.7015312314033508, 0.3569025993347168, -0.07306144386529922, -1.0766197443008423, 0.2413766086101532, -0.019002031534910202, -0.20495310425758362, 0.07673732191324234, -0.6156015396118164, 0.9164412021636963, -0.06409487873315811, -0.15505628287792206, 0.013308431953191757, 0.7787939310073853, 0.33067452907562256, 0.40319138765335083, 0.7388821244239807, 0.4886165261268616, 0.8214004635810852, -0.03235917165875435, 0.9414974451065063, -0.5971145629882812, 0.280941903591156, 1.1505317687988281, -0.020595017820596695, 0.7389093637466431, 0.6126947999000549, 0.08106085658073425, 0.4096646308898926, 0.23918956518173218, 0.36602431535720825, 0.3704082667827606, 0.179664745926857, -0.07921335846185684, -0.2622074782848358, 0.056657031178474426, -0.4741424322128296, 0.37439948320388794, 0.04906467720866203, -0.427884042263031, 0.033059678971767426, -0.31942781805992126, 0.4810742437839508, -0.2215176671743393, -0.1715741902589798, 0.37522903084754944, 0.27042561769485474, -0.20181167125701904, 0.2703476548194885, -0.3392782509326935, 0.6854373812675476, -0.9343999028205872, 0.21996286511421204, -0.28571027517318726, 0.05261662229895592, 0.08831488341093063, -0.7260894179344177, -0.03763635456562042, -0.2538735270500183, 0.06847233325242996, -0.5727934241294861, 0.6791335344314575, -0.3541371822357178, 0.04455435276031494, 0.6106172800064087, 0.6531771421432495, 0.10431907325983047, -0.062070876359939575, -0.3416312634944916, 0.47864872217178345, 0.009377763606607914, -0.3559633493423462, 0.7690266966819763, 0.6667987704277039, 0.4677262306213379, 0.7833937406539917, 0.5216734409332275, 0.2445494532585144, 0.2944423258304596, -0.09633741527795792, 0.8928932547569275, -0.44377318024635315, -0.42038506269454956, -0.8234686851501465, 0.4262242615222931, 0.049720898270606995, -0.3017343580722809, 1.0577645301818848, 0.2968844473361969, 0.9903903007507324, 0.3133445084095001, 0.5331670641899109, 0.43749991059303284, 0.5754445791244507, -0.8005245923995972, 1.0638259649276733, -0.37635594606399536, 0.40112170577049255, -0.24996918439865112, -0.751956582069397, 0.20694619417190552, 0.5587928295135498, 0.11630161106586456, 0.018234513700008392, 0.9327265620231628, 0.917978048324585, 0.008687092922627926, 0.010522324591875076, 0.2846226990222931, 0.7917379140853882, 0.39835792779922485, 0.3946705758571625, 1.0703177452087402, -0.09213142842054367, 0.7155133485794067, -0.32710373401641846, -0.3000771105289459, 0.06201443076133728, -1.14385986328125, -0.9939948320388794, -0.6256464719772339, -0.14093631505966187, -0.8183115124702454, -0.061659712344408035, 0.47898516058921814, 0.874397337436676, -0.569266676902771, -0.1680617332458496, -0.05845055356621742, -0.19326581060886383, 0.18946295976638794, -0.16169589757919312, 0.032212622463703156, -0.15013526380062103, -0.44019705057144165, 0.4946359097957611, -0.04376940429210663, 0.41895806789398193, -0.6426783800125122, -0.3425968289375305, 0.19132256507873535, 0.08060283958911896, 0.4143938422203064, 0.2515687942504883, -0.3427312672138214, -0.5853520035743713, -0.10193224996328354, 0.06159842014312744, -0.23756487667560577, 1.0766161680221558, -0.44000953435897827, 0.1959078311920166, 0.2779146730899811, 0.5028990507125854, 0.6683326363563538, -0.14656740427017212, 0.8451426029205322, -0.5970674753189087, 0.2062147706747055, 0.13393273949623108, 0.24824799597263336, -0.02927696891129017, -0.11963644623756409, 0.16649547219276428, 0.2044484168291092, -0.7234005331993103, -0.9512290358543396, 0.3666325807571411, -1.0129413604736328, 0.05919170752167702, 1.0738087892532349, -0.5006563067436218, -0.007731858175247908, -0.11112932860851288, 0.24587345123291016, 0.19972555339336395, -0.16177329421043396, 0.6539987325668335, 1.094574213027954, -0.02185880020260811, -0.29078951478004456, -0.5130033493041992, 0.7953855991363525, 0.38931530714035034, -0.7488845586776733, -0.2763427495956421, 0.486393004655838, 0.6515387892723083, 0.1467260867357254, 0.7242845892906189, -0.2164425551891327, -0.1573653221130371, 0.03733443468809128, -0.49010440707206726, -0.25771382451057434, -0.6371089816093445, -0.333784282207489, 0.3382112383842468, 0.3589588701725006, -0.2549612522125244 ]
http://arxiv.org/abs/2402.19464v1
http://arxiv.org/pdf/2402.19464v1
Curiosity-driven Red-teaming for Large Language Models
2024-02-29T18:55:03
2024-02-29T18:55:03
Zhang-Wei Hong, Idan Shenfeld, Tsun-Hsuan Wang, Yung-Sung Chuang, Aldo Pareja, James Glass, Akash Srivastava, Pulkit Agrawal
cs.LG
cs.LG, cs.AI, cs.CL
Large language models (LLMs) hold great potential for many natural language applications but risk generating incorrect or toxic content. To probe when an LLM generates unwanted content, the current paradigm is to recruit a \textit{red team} of human testers to design input prompts (i.e., test cases) that elicit undesirable responses from LLMs. However, relying solely on human testers is expensive and time-consuming. Recent works automate red teaming by training a separate red team LLM with reinforcement learning (RL) to generate test cases that maximize the chance of eliciting undesirable responses from the target LLM. However, current RL methods are only able to generate a small number of effective test cases resulting in a low coverage of the span of prompts that elicit undesirable responses from the target LLM. To overcome this limitation, we draw a connection between the problem of increasing the coverage of generated test cases and the well-studied approach of curiosity-driven exploration that optimizes for novelty. Our method of curiosity-driven red teaming (CRT) achieves greater coverage of test cases while mantaining or increasing their effectiveness compared to existing methods. Our method, CRT successfully provokes toxic responses from LLaMA2 model that has been heavily fine-tuned using human preferences to avoid toxic outputs. Code is available at \url{https://github.com/Improbable-AI/curiosity_redteam}
[ -0.253654807806015, -0.9138733744621277, 0.6040850877761841, 0.39993804693222046, -0.07637836784124374, 0.46324247121810913, -0.308941513299942, -0.527792751789093, 0.29879072308540344, 0.387174516916275, -0.8158094882965088, -0.4175472557544708, -0.3699815273284912, 0.028288109228014946, -0.42537790536880493, 1.17336106300354, -0.016031809151172638, -0.3734806478023529, -0.07839429378509521, -0.11655252426862717, -0.3628544211387634, -0.42058438062667847, -0.7462300062179565, -0.3510151505470276, 0.8364884257316589, 0.6833986639976501, 0.42395004630088806, 0.1788693219423294, 0.3913118243217468, 0.2315649688243866, -0.2101571261882782, 0.29261863231658936, -0.8559663891792297, 0.5200982093811035, -0.03105539083480835, -0.654191792011261, -0.09555186331272125, -0.06940758973360062, 0.26430007815361023, 0.1870933324098587, -0.30434995889663696, 0.10135913640260696, -0.21800099313259125, 0.4582309424877167, -0.5652701258659363, 0.06625816226005554, -0.8851302266120911, 0.14886248111724854, -0.029845932498574257, -0.49258655309677124, -0.5232916474342346, -0.2485363781452179, 0.12251059710979462, -0.5811135768890381, 0.22719810903072357, 0.14951768517494202, 0.5853158831596375, 0.4353600740432739, -0.2583587169647217, -0.16108106076717377, -0.8866814970970154, 0.8242019414901733, -0.5012091994285583, -0.055838778614997864, 0.21929343044757843, 0.361211359500885, -0.29348886013031006, -0.30148378014564514, -0.5812199115753174, -0.4180002212524414, -0.07576371729373932, 0.20452824234962463, -0.15715163946151733, -0.06807291507720947, 0.11749275028705597, 0.0835149809718132, -0.7992962002754211, 0.36548638343811035, -0.24499867856502533, -0.2183549702167511, 0.9309552311897278, 0.39051195979118347, 0.42926326394081116, 0.28559738397598267, -0.5061419606208801, -0.16993989050388336, -0.7304991483688354, -0.09396551549434662, 0.30410999059677124, 0.2765547037124634, -0.052054762840270996, 0.7668079137802124, -0.3627642095088959, 0.23820167779922485, -0.003804275766015053, 0.28357741236686707, 0.21174299716949463, -0.3659327030181885, -0.021803203970193863, 0.026901952922344208, 0.7962729334831238, 0.1770695298910141, 0.3198556900024414, -0.15437251329421997, -0.5071668028831482, 0.23088400065898895, 0.37078794836997986, -0.6298885345458984, -0.4549126923084259, 0.5004599094390869, 0.14133372902870178, -0.6216177344322205, -0.2791045904159546, -0.8846928477287292, -0.5411612391471863, 0.15184436738491058, 0.350439190864563, -0.39491593837738037, -0.4183236360549927, 0.06859233230352402, -0.10067761689424515, 0.09599103778600693, 0.26491910219192505, -0.8579182624816895, 0.12132806330919266, 0.3571920394897461, 0.5280758142471313, -0.6644923090934753, -0.35976409912109375, -0.8940852880477905, 0.10498321056365967, -0.2364969700574875, 0.7325584292411804, -0.3613082766532898, -0.41565993428230286, 0.0656886026263237, -0.33536845445632935, 0.20771671831607819, -0.6334543228149414, 0.22481881082057953, -0.7929157614707947, 0.27138710021972656, -0.0719655454158783, -0.184372216463089, -0.057736027985811234, 0.6552723050117493, -0.409153550863266, 1.0886884927749634, 0.10843266546726227, -0.6763384938240051, 0.37608763575553894, -0.9645054340362549, -0.5372400283813477, 0.3785648047924042, -0.11407230794429779, -0.5914261937141418, -0.11204393208026886, 0.0768313780426979, 0.3802424371242523, -0.13852454721927643, 0.1419842541217804, -0.20717176795005798, -0.4017990529537201, 0.36829450726509094, -0.19533535838127136, 0.6064325571060181, 0.04635099321603775, -0.5922176837921143, 0.746218740940094, -0.42053109407424927, 0.1499350517988205, 0.5557141900062561, -0.5251159071922302, -0.4477040767669678, -0.06361857801675797, 0.12869445979595184, 0.15664885938167572, 0.08577939122915268, -0.40169280767440796, -0.0829777643084526, -0.3278895318508148, 0.2606094479560852, 0.8689773678779602, 0.20810037851333618, 0.40227052569389343, -0.5671519041061401, 0.8500121235847473, 0.02230905182659626, 0.201254740357399, 0.0319368839263916, -0.3102430999279022, -0.9673064351081848, -0.18454788625240326, -0.023024551570415497, 0.5426480770111084, -0.925288736820221, 0.1288043111562729, 0.0389074832201004, -0.6302844285964966, -0.2548224627971649, 0.1057242602109909, 0.41682758927345276, 0.1845039576292038, 0.47707194089889526, -0.11507619917392731, -0.494187593460083, -0.9271408319473267, -0.10868922621011734, -0.351256787776947, 0.03463375195860863, 0.6426664590835571, 0.5902882814407349, -0.6076049208641052, 0.8870946168899536, -0.5210726261138916, -0.1858842968940735, -0.5796698927879333, 0.23440317809581757, 0.07931750267744064, 0.2772798240184784, 0.48939037322998047, -1.0166040658950806, -0.7827866673469543, 0.07416552305221558, -0.4783379137516022, -0.16002923250198364, -0.1995493620634079, -0.07960285246372223, 0.5033714175224304, 0.31721827387809753, -0.6653526425361633, 0.12037941813468933, 0.6688864231109619, -0.20253010094165802, 0.7675796151161194, -0.0019894118886440992, -0.00663219066336751, -0.7592838406562805, 0.03716351091861725, 0.13387253880500793, -0.2828058898448944, -0.611179530620575, 0.3265351951122284, 0.015815574675798416, 0.060843903571367264, -0.724611759185791, 0.6526232957839966, -0.35594743490219116, 0.23793788254261017, -0.2006908655166626, 0.12755878269672394, -0.2453271448612213, 0.5871101021766663, -0.06012578681111336, 1.1750059127807617, 0.280101478099823, -0.8211377263069153, 0.43312814831733704, 0.14487086236476898, -0.06915343552827835, 0.08120211213827133, -0.5804986357688904, 0.09354615211486816, 0.03327403962612152, 0.19719332456588745, -0.784412145614624, -0.4069691002368927, 0.3643200099468231, -0.3458782434463501, 0.1959257274866104, 0.2292143702507019, -0.6321452856063843, -0.546303927898407, -0.2733754515647888, 0.5083792805671692, 0.6453683376312256, -0.5620275735855103, 0.47576022148132324, 0.5257975459098816, -0.375393271446228, -0.4356824457645416, -0.7234721183776855, 0.01856018416583538, -0.5150855779647827, -0.33901411294937134, 0.2691947817802429, -0.3171045780181885, -0.35654276609420776, -0.056225940585136414, -0.032166216522455215, -0.3390865921974182, 0.41995131969451904, 0.28420785069465637, 0.3448488414287567, -0.07087811082601547, 0.15747739374637604, -0.17971502244472504, -0.00037312728818506, 0.2866213619709015, -0.05779363960027695, 0.8375211954116821, -0.1295730024576187, -0.3507923185825348, -0.2710883617401123, 0.4086454510688782, 0.6035780906677246, -0.2898634672164917, 0.4911566972732544, 0.4703333377838135, -0.06888291984796524, -0.706098735332489, -0.5042483806610107, -0.5429807305335999, -0.5042105317115784, 0.6182798147201538, -0.028231292963027954, -1.2460200786590576, 0.453858882188797, 0.1369880586862564, 0.06195341795682907, 0.2729758322238922, 0.8024923801422119, -0.19013334810733795, 0.8476784825325012, 0.7874655723571777, -0.198776975274086, 0.3574416935443878, 0.013690647669136524, 0.07393015921115875, -0.5163511037826538, -0.2188798189163208, -0.21310864388942719, -0.19982106983661652, -0.44389045238494873, -0.4049067497253418, 0.5516439080238342, -0.6089327335357666, -0.20618075132369995, 0.15688763558864594, -0.5076211094856262, 0.7155072689056396, 0.6623608469963074, 0.1464414894580841, 0.28868281841278076, -0.18982306122779846, -0.14760033786296844, 0.013166197575628757, -0.9277226328849792, -0.11942640691995621, 0.9675253033638, 0.3811970353126526, 0.7890129685401917, 0.3333372175693512, 0.8487274646759033, 0.3010036051273346, 0.5891554355621338, -0.8659577369689941, 0.6312282085418701, 0.4392496943473816, -0.7938513159751892, -0.5089648962020874, -0.6125585436820984, -0.8822140693664551, -0.010007073171436787, -0.2272166907787323, -0.3986225426197052, -0.3617967665195465, 0.17348803579807281, -0.6304333806037903, 0.22479300200939178, -0.7810803651809692, 0.41735026240348816, -0.40812602639198303, -0.5413630604743958, -0.336757630109787, -0.5048336982727051, 0.7418503761291504, -0.3458494544029236, -0.14538618922233582, 0.2683776617050171, 0.144139364361763, 0.4918205440044403, 0.173615962266922, 1.1038202047348022, 0.07565710693597794, -0.2498999983072281, 0.2927212119102478, 0.4952971339225769, 0.7879564762115479, 0.32945600152015686, 0.1244099885225296, -0.29652687907218933, -0.4713485836982727, -0.33201509714126587, -0.3639693856239319, 0.5130670070648193, -0.5766708254814148, -0.9097651839256287, -0.6243024468421936, -1.0055570602416992, -0.3057658076286316, 0.25488442182540894, 0.013716399669647217, -0.2721770405769348, -0.1685977280139923, -0.014519593678414822, 1.0719503164291382, -0.696293830871582, 0.3774459958076477, 0.7446808815002441, -0.20074869692325592, 0.10013563930988312, 0.9560450315475464, -0.5248459577560425, 0.5269957780838013, 0.38187175989151, 0.1277054101228714, -0.25081703066825867, -0.8204780220985413, -0.02268156036734581, 0.24064593017101288, -0.2694946229457855, -0.19595731794834137, -0.7235969305038452, -0.3077905476093292, -0.12119898200035095, 0.06250132620334625, -0.4393303096294403, -0.004711883142590523, -0.3688141107559204, -0.053197186440229416, 0.48158565163612366, 0.7336569428443909, 0.08508267998695374, 0.08633814007043839, -0.6969488263130188, 0.09145153313875198, 0.6824547052383423, 0.16738128662109375, -0.18073450028896332, -0.3813926875591278, 0.023773500695824623, 0.036924734711647034, -0.3354833126068115, -0.5633689165115356, 0.6129830479621887, -0.3375159204006195, 0.5994441509246826, 0.03991341218352318, 0.36518192291259766, 0.17407943308353424, -0.3074950575828552, 0.5542697310447693, 0.1073860228061676, -0.49620556831359863, 0.6091929078102112, -0.8066656589508057, 0.04797033220529556, 0.6457294821739197, 0.3622055649757385, -0.5086026787757874, -0.6257065534591675, -0.6221089363098145, -0.8988502025604248, 0.5848626494407654, 0.18373209238052368, 0.11655797809362411, -0.008799870498478413, 0.1704159677028656, 0.019344668835401535, 0.1567181497812271, -0.958268404006958, -0.20443680882453918, 0.27361589670181274, -0.017427626997232437, -0.08151419460773468, -0.4489816427230835, -0.44413653016090393, 0.17596939206123352, 0.7589181065559387, -0.13941644132137299, 0.14761444926261902, 0.15066953003406525, -0.07375199347734451, -0.1718728095293045, 0.3323196768760681, 0.878974199295044, 0.24768666923046112, -0.3301069438457489, 0.10633616149425507, 0.3280135989189148, -0.27216002345085144, 0.20042745769023895, -0.12182051688432693, -0.1724172979593277, -0.3571816086769104, 0.08089832216501236, 0.5090347528457642, 0.02601482905447483, -1.135262370109558, 0.5082029700279236, -0.20700053870677948, -0.3171234726905823, -0.3946143388748169, 0.5430650115013123, 0.04048304259777069, 0.4320957362651825, 0.3280388414859772, 0.01642143912613392, -0.14630624651908875, -0.5052428245544434, 0.39877310395240784, 0.5485630035400391, -0.5085698366165161, -0.1254451870918274, 0.5555523633956909, 0.42558637261390686, -0.43465128540992737, 0.4848056435585022, -0.6039227843284607, -0.9981124401092529, 0.8103547096252441, 0.5300476551055908, 0.6823778748512268, -0.03746617212891579, 0.5055784583091736, 0.16640497744083405, 0.4096401035785675, -0.018600089475512505, 0.11174727231264114, 0.2659204304218292, -0.7239694595336914, -0.5541582107543945, -0.1875763237476349, -0.7734020948410034, 0.3645220398902893, -0.35282811522483826, 0.15449506044387817, -0.3677194118499756, 0.2838127315044403, -0.5804471969604492, 0.023701688274741173, -0.4142628014087677, -0.05658924952149391, -0.014213275164365768, 0.8010663986206055, -0.7947816848754883, 0.7362993359565735, 0.6007809638977051, -0.36476919054985046, -0.7043277621269226, 0.2748670279979706, 0.04610440880060196, -0.8754826188087463, 0.8787870407104492, 0.04396674036979675, 0.06407987326383591, 0.12639980018138885, -0.4893893301486969, -0.5875374674797058, 1.0708611011505127, 0.07329939305782318, -0.6457105875015259, 0.19320973753929138, 0.019119875505566597, 0.5319961905479431, -0.18274840712547302, 0.10735636204481125, 0.3972621560096741, 0.5260249972343445, 0.013494294136762619, -0.6476803421974182, 0.22811266779899597, -0.21649949252605438, -0.3524894714355469, 0.12082768976688385, -0.7993345260620117, 0.7744873762130737, -0.7218210697174072, -0.3894025385379791, 0.05512222647666931, 0.48654454946517944, 0.8077781796455383, 0.21242757141590118, 0.691323459148407, 0.34275874495506287, 0.7831471562385559, 0.16982728242874146, 1.2182252407073975, 0.1445797234773636, 0.21951331198215485, 1.2412339448928833, -0.5183350443840027, 0.5951822400093079, 0.6224363446235657, -0.051574114710092545, 0.11084745824337006, 0.5387289524078369, -0.14817865192890167, 0.5131160616874695, 0.5279043316841125, -0.42220360040664673, -0.363319456577301, -0.32206204533576965, -0.15278653800487518, 0.254315584897995, 0.20599031448364258, -0.073100745677948, -0.10259754955768585, -0.34694135189056396, -0.17112119495868683, 0.2718685269355774, 0.14970935881137848, 0.6207228899002075, -0.18711766600608826, -0.688788115978241, 0.40497568249702454, -0.2930459976196289, 1.0068511962890625, -0.509421169757843, 0.07313930988311768, -0.4342903196811676, 0.015180020593106747, 0.08508729934692383, -0.8585757613182068, 0.19083920121192932, -0.0408761166036129, -0.18430054187774658, -0.23894190788269043, 0.4958808720111847, -0.45528456568717957, -0.13296197354793549, 0.4867636263370514, 0.6553651094436646, -0.22028769552707672, -0.14216746389865875, -0.5343501567840576, -0.0806845873594284, 0.19941945374011993, -0.3663792312145233, 0.5154345035552979, 0.47880297899246216, 0.022180184721946716, 1.0743348598480225, 0.7902631163597107, 0.2897581160068512, -0.004559532273560762, -0.010485697537660599, 1.1413484811782837, -0.5799652934074402, -0.3912643492221832, -0.8344094753265381, 0.45959341526031494, -0.04364112392067909, -0.27514275908470154, 0.5899181365966797, 0.5202393531799316, 0.6010110974311829, -0.04352225735783577, 0.8920376896858215, 0.19160224497318268, 0.4949533939361572, -0.39849892258644104, 0.9574941396713257, -0.5134379267692566, 0.3851839303970337, -0.05336460843682289, -0.724729061126709, -0.5272181034088135, 0.38295814394950867, -0.12692385911941528, -0.1058654636144638, 0.7987878918647766, 0.9615218639373779, 0.02476172335445881, -0.08286512643098831, 0.2143951803445816, 0.4235413372516632, 0.6384758949279785, 0.9663761258125305, 1.1789402961730957, 0.04828992486000061, 0.7376596331596375, -0.14447185397148132, -0.2878783345222473, -0.37334170937538147, -0.8203862905502319, -1.1130595207214355, -0.33689597249031067, -0.26562169194221497, -0.2941781282424927, 0.1046767309308052, 0.89226895570755, 0.503322422504425, -0.6982636451721191, 0.0724995955824852, -0.41421377658843994, 0.2165898233652115, 0.006034802179783583, -0.2865171730518341, -0.09745629131793976, -0.46888136863708496, -0.6672956347465515, 0.5129360556602478, 0.15668949484825134, 0.3032066524028778, -0.394962877035141, -0.20688234269618988, -0.21132712066173553, -0.17090870440006256, 0.5337215662002563, 0.4856387972831726, -0.5025629997253418, -0.28914445638656616, 0.23328863084316254, -0.31090283393859863, -0.19041019678115845, 0.49731138348579407, -0.8399683833122253, 0.05407192185521126, 0.28665801882743835, 1.0914306640625, 0.44721734523773193, -0.20169079303741455, 0.6645349264144897, -0.7358381152153015, 0.08716051280498505, 0.7745816707611084, -0.039911601692438126, 0.1035107970237732, -0.5606108903884888, 0.7118538022041321, 0.11129187047481537, -0.5636281371116638, -1.1747775077819824, 0.34611889719963074, -0.996932864189148, -0.2870657742023468, 1.6878665685653687, 0.13225923478603363, -0.14069035649299622, -0.13848574459552765, -0.20996840298175812, 0.11990727484226227, -0.651454746723175, 1.2688345909118652, 0.4333530068397522, -0.2022739052772522, -0.08861519396305084, -0.6125365495681763, 0.3717435300350189, 0.8289945125579834, -1.008795976638794, 0.25196573138237, 0.2183637171983719, 0.24027155339717865, 0.19327495992183685, 0.46816179156303406, 0.17005951702594757, 0.34066808223724365, -0.3480437397956848, 0.1855098456144333, -0.08653521537780762, -0.4525657296180725, -0.0772053673863411, 0.13511472940444946, 0.06004021689295769, -0.03753449395298958 ]
http://arxiv.org/abs/2402.19462v2
http://arxiv.org/pdf/2402.19462v2
Accelerating materials discovery for polymer solar cells: Data-driven insights enabled by natural language processing
2024-02-29T18:54:46
2024-06-22T03:56:31
Pranav Shetty, Aishat Adeboye, Sonakshi Gupta, Chao Zhang, Rampi Ramprasad
cond-mat.mtrl-sci
cond-mat.mtrl-sci, cs.CL, physics.app-ph
We present a simulation of various active learning strategies for the discovery of polymer solar cell donor/acceptor pairs using data extracted from the literature spanning $\sim$20 years by a natural language processing pipeline. While data-driven methods have been well established to discover novel materials faster than Edisonian trial-and-error approaches, their benefits have not been quantified for material discovery problems that can take decades. Our approach demonstrates a potential reduction in discovery time by approximately 75 %, equivalent to a 15 year acceleration in material innovation. Our pipeline enables us to extract data from greater than 3300 papers which is $\sim$5 times larger and therefore more diverse than similar data sets reported by others. We also trained machine learning models to predict the power conversion efficiency and used our model to identify promising donor-acceptor combinations that are as yet unreported. We thus demonstrate a pipeline that goes from published literature to extracted material property data which in turn is used to obtain data-driven insights. Our insights include active learning strategies that can be used to train strong predictive models of material properties or be robust to the initial material system used. This work provides a valuable framework for data-driven research in materials science.
[ -0.03675249218940735, -0.9471679329872131, 0.620722770690918, -0.217288538813591, -0.027605028823018074, 0.3336491584777832, -0.16772203147411346, -0.24011072516441345, -0.365255743265152, 0.33495503664016724, -0.36733224987983704, -0.2125806212425232, -0.27094316482543945, 0.12303615361452103, -0.06969623267650604, 0.5486158132553101, -0.5034691095352173, 0.1907121241092682, -0.3188261091709137, 0.3594990074634552, 0.23092998564243317, 0.19939599931240082, -0.4484335482120514, -0.3935374915599823, 0.274983286857605, 0.5119279026985168, 0.23480628430843353, 0.7360997200012207, 0.5387522578239441, 0.2868301570415497, -0.44282084703445435, 0.48573899269104004, 0.006802711635828018, -0.08640138804912567, -0.3300507068634033, -0.24371199309825897, -0.4359987676143646, 0.3956044614315033, 0.6507232189178467, 0.8637677431106567, -0.20957063138484955, 0.2524760067462921, 0.04720436409115791, 0.7744187116622925, -0.5949693918228149, 0.29608532786369324, -0.7535350322723389, 0.2901804447174072, -0.2841832637786865, -0.4158147871494293, -0.5561685562133789, -0.44573184847831726, 0.2876489460468292, -0.5368415713310242, 0.9704787731170654, 0.06877613812685013, 0.7967556715011597, -0.42456313967704773, -0.4139988422393799, -0.31074216961860657, -0.9336214661598206, 0.8195756077766418, -0.34352707862854004, 0.051777780055999756, 0.1807105541229248, 0.4909362196922302, -0.3391246199607849, -0.6334698796272278, -0.6785987615585327, -0.02045186422765255, 0.025371110066771507, 0.1637936234474182, 0.3612256348133087, 0.3794236183166504, -0.08098568022251129, 0.6168373227119446, -0.566425621509552, -0.23081530630588531, -0.6360511779785156, -0.32579734921455383, 0.7168487310409546, -0.03983425721526146, -0.022554896771907806, -0.4587870240211487, -0.360623836517334, -0.11362183094024658, -0.3055401146411896, 0.013168971054255962, 0.5940084457397461, 0.7247881293296814, -0.09690546244382858, 0.937026858329773, 0.006458922754973173, 0.758461594581604, -0.21516405045986176, 0.2562834322452545, 0.173452690243721, -0.9427476525306702, -0.10467454046010971, 0.15956445038318634, 0.6401911377906799, -0.08120066672563553, 0.05034848302602768, -0.03207915648818016, -0.11833452433347702, -0.32194408774375916, 0.17665891349315643, -0.8633086085319519, -0.49816033244132996, 0.1573188304901123, -0.8179746866226196, -0.3992139995098114, 0.29560229182243347, -0.5763152241706848, -0.7689288854598999, -0.4462085962295532, 0.5246176719665527, -0.20487836003303528, -0.4965283274650574, 0.40639787912368774, -0.4976268410682678, 0.12512724101543427, 0.5627622008323669, -0.8039209246635437, 0.5125715136528015, 0.5021393299102783, 0.9596738219261169, -0.23646633327007294, 0.12184590846300125, -0.5777965188026428, -0.0293726846575737, -0.18027810752391815, 0.8761905431747437, -0.516542375087738, -0.1505459100008011, -0.3489852845668793, 0.11419007182121277, -0.08255946636199951, -0.5593262910842896, 0.5767602920532227, -0.184244766831398, 0.4336493909358978, 0.0047081769444048405, -0.35211122035980225, -0.18784503638744354, -0.24777686595916748, -0.6852996349334717, 0.7200812697410583, 0.3875806927680969, -0.6639624834060669, 0.48075565695762634, -0.7304635643959045, -0.28285646438598633, -0.2523868680000305, 0.30191925168037415, -0.925821840763092, 0.25435927510261536, -0.11929382383823395, 0.5412155389785767, -0.5373499393463135, 0.23511332273483276, -0.14956483244895935, -0.03179577365517616, 0.23121587932109833, -0.35983744263648987, 0.4808025062084198, 0.3036789000034332, -0.1684843748807907, -0.00733663747087121, -1.090166687965393, -0.41894665360450745, 0.021184775978326797, -0.2870527505874634, -0.006098093464970589, 0.18574181199073792, 0.38859322667121887, 0.024386733770370483, 0.15305376052856445, -1.2345330715179443, 0.12257584929466248, -0.37085363268852234, 0.18443387746810913, 1.0698809623718262, -0.06801028549671173, 0.6132300496101379, -0.05089560151100159, 0.47738397121429443, 0.06297235935926437, 0.21109530329704285, -0.28634563088417053, -0.36437758803367615, -0.5880945324897766, 0.32570526003837585, 0.29339101910591125, 0.24341949820518494, -0.6931079626083374, 0.11861374229192734, 0.3722638189792633, -0.7123469114303589, -0.17030023038387299, 0.2632642090320587, 0.09819725900888443, 0.7960816025733948, 0.26494738459587097, -0.4734206795692444, -0.444314181804657, -0.906254768371582, -0.22773617506027222, -0.21141444146633148, 0.16667912900447845, 0.6607881188392639, 0.2341553270816803, 0.07015518844127655, 1.066878080368042, -0.8069518804550171, -0.3067489564418793, -0.3815171420574188, 0.37876319885253906, 0.6492338180541992, 0.4888112545013428, 0.1527733951807022, -1.120408296585083, -0.5357014536857605, 0.7105996012687683, -0.5761141180992126, 0.28725889325141907, -0.27041658759117126, 0.1247924342751503, 0.2078971415758133, 0.2620496153831482, -0.33910977840423584, 0.15647771954536438, 0.36881116032600403, -0.5169345140457153, 0.4650717079639435, -0.5592373013496399, 0.00606024032458663, -1.0930070877075195, 0.48790353536605835, 0.2680048942565918, 0.10736067593097687, -0.7538517713546753, -0.7296806573867798, 0.22641314566135406, -0.40498122572898865, -0.5208051800727844, 0.3008320927619934, -0.6412169337272644, -0.1268385946750641, -0.43757522106170654, -0.2451593279838562, 0.09326519072055817, 0.12744082510471344, 0.11538910120725632, 0.7972310185432434, 0.6845763921737671, -0.8346905708312988, 0.4733823537826538, 0.05288968235254288, -0.29803621768951416, 0.0804593488574028, -0.3616529703140259, 0.030916903167963028, -0.3711007237434387, -0.005289370194077492, -0.9936747550964355, 0.007957454770803452, 0.17745596170425415, -0.47891730070114136, 0.36562442779541016, -0.21499322354793549, -0.5784921646118164, -0.4436788558959961, -0.10444612801074982, 0.29633834958076477, -0.02784413844347, -0.4755348563194275, 1.0296202898025513, 0.2654927968978882, -0.34000498056411743, -0.17478306591510773, -0.025668811053037643, -0.07309664040803909, -0.07163278758525848, -0.6279667019844055, 0.7639882564544678, -0.3448791205883026, 0.028539512306451797, -0.18370550870895386, -0.3136458098888397, -0.13848547637462616, 0.46365293860435486, -0.007697108201682568, 0.3673592507839203, 0.032296545803546906, 0.2801661193370819, -0.03399716317653656, -0.39106500148773193, 0.06629391014575958, -0.4739322066307068, 0.48482948541641235, 0.18512362241744995, 0.07284221053123474, -0.6108858585357666, -0.1412835717201233, 0.3678450286388397, -0.1324670910835266, 0.6375436186790466, 0.4999467134475708, -0.4753124415874481, -0.3137933015823364, -0.1782550811767578, -0.23924054205417633, -0.559762179851532, 0.03556090220808983, -0.2559574544429779, -0.24727416038513184, 0.4800741970539093, -0.12196099758148193, 0.3306562900543213, 0.26876768469810486, 0.10126753151416779, 0.15665750205516815, 1.039062261581421, 0.7217517495155334, 0.465369313955307, 0.7930659651756287, -0.38654765486717224, 0.26631927490234375, -0.3653159439563751, -0.7316600680351257, -0.5411489009857178, -0.2624029219150543, -0.6335190534591675, -0.638325572013855, 0.26559311151504517, -0.4643743634223938, 0.20401795208454132, 0.5002642273902893, -0.6949649453163147, 0.409746378660202, -0.03304998576641083, 0.08184031397104263, 0.2755795121192932, 0.08606743067502975, 0.018190456554293633, 0.15277226269245148, -0.7264928221702576, -0.24258115887641907, 1.2091845273971558, 0.12230074405670166, 0.8026827573776245, -0.21032917499542236, 0.3460012972354889, 0.2883983850479126, -0.1313951313495636, -0.7107168436050415, 0.4991699457168579, 0.0500061959028244, -0.5611213445663452, 0.13441777229309082, -0.7855203151702881, -1.1674046516418457, -0.14252792298793793, -0.17570137977600098, -0.059582654386758804, 0.46273279190063477, 0.10793111473321915, -0.15459375083446503, 0.6445731520652771, -0.7968435287475586, 0.6834781169891357, -0.26006340980529785, -0.7898280024528503, -0.4624689817428589, -0.43836453557014465, -0.04039692133665085, -0.07229816168546677, 0.14305679500102997, -0.06473347544670105, 0.06972205638885498, 0.7272613048553467, -0.21191716194152832, 0.29937517642974854, -0.3825363516807556, -0.400347501039505, 0.4203754961490631, -0.06853632628917694, 0.4355924129486084, 0.04199377819895744, -0.6499269008636475, -0.6258661150932312, -0.6399143934249878, -0.5709104537963867, -0.3182198703289032, 0.5020013451576233, -0.3803280293941498, -0.28635790944099426, -0.5312452912330627, -0.43896281719207764, 0.13089676201343536, 0.09849771112203598, -0.09570533037185669, 0.44237491488456726, -0.244937464594841, 0.08045259118080139, 0.7973127961158752, -0.28551575541496277, 0.7402209639549255, 0.6458149552345276, 0.2797802686691284, -0.17038626968860626, 1.3639013767242432, 0.20230679214000702, 0.3306749165058136, 0.40781259536743164, 0.3902013599872589, -0.24203945696353912, -1.0014984607696533, -0.36768120527267456, 0.2588767111301422, -0.06490827351808548, -0.18577437102794647, -0.6692827939987183, -0.23083050549030304, -0.28310346603393555, -0.13324964046478271, -0.7810773253440857, -0.5563094615936279, -0.4502655863761902, -0.47841984033584595, 0.5093564391136169, 0.7957640290260315, -0.1970546692609787, -0.13471750915050507, -0.6344837546348572, 0.5690274238586426, 0.25474444031715393, 0.8195521831512451, -0.017859678715467453, -0.15104825794696808, -0.5953342318534851, -0.048649825155735016, -0.46284955739974976, -0.6301782131195068, 0.39007365703582764, 0.2039634883403778, 0.5893588662147522, 0.40406155586242676, 0.034733809530735016, 0.21070784330368042, -0.0840313509106636, 0.37418150901794434, 0.10993558168411255, -0.7032483220100403, 1.196278691291809, -0.6007662415504456, 0.052661195397377014, 0.3547896444797516, 0.22510796785354614, -0.033865656703710556, 0.12770992517471313, -0.9995009899139404, -1.007705807685852, 1.1535738706588745, 0.43026936054229736, -0.2526572346687317, 0.33547914028167725, 0.34540003538131714, 0.5972474813461304, 0.1475188136100769, -0.5300896167755127, -0.36094337701797485, -0.02866920828819275, 0.14492642879486084, -0.07701122015714645, 0.21605895459651947, 0.12669368088245392, -0.22171753644943237, 0.7164742946624756, -0.4302452504634857, 0.15197905898094177, 0.2539849877357483, -0.010623646900057793, -0.2933662533760071, 0.0375252291560173, 0.1980690360069275, 0.7097153067588806, -0.7947584986686707, -0.10297515243291855, -0.12170460820198059, -0.5137963891029358, 0.02880803868174553, 0.5840501189231873, 0.022956565022468567, 0.23490406572818756, -0.47848376631736755, 0.6802652478218079, -0.42151713371276855, -0.6885671615600586, 0.22903698682785034, -0.3934478759765625, -0.18990373611450195, -0.4113871455192566, 0.08000309765338898, -0.3141539692878723, -0.06091677024960518, 0.7575663924217224, 0.5406672358512878, 0.40264901518821716, -0.9258089065551758, 0.37728050351142883, 0.39881032705307007, -0.6026599407196045, -0.4299391210079193, 0.5411058664321899, 0.48417291045188904, -0.06032203510403633, 0.21346424520015717, -0.13303127884864807, -0.12067393958568573, 0.9903314709663391, 0.4335176348686218, 0.7048192620277405, -0.07716439664363861, 0.5912833213806152, 0.5692394971847534, -0.1894761323928833, -0.09211563318967819, 0.23333720862865448, -0.5934804677963257, -0.5798068046569824, -0.13433204591274261, -0.5250980854034424, -0.6766549348831177, -0.24208009243011475, -0.5802768468856812, 0.4313586354255676, -0.5722203254699707, 0.18005625903606415, 0.22358667850494385, 0.688184916973114, -0.4075700044631958, 0.11936703324317932, 0.23432080447673798, 0.829609751701355, -0.9871966242790222, 0.5625801682472229, 0.5747187733650208, 0.09237431734800339, -0.3996235132217407, -0.4137054681777954, 0.04265299439430237, -0.2699180245399475, 0.4838227927684784, 0.4523749053478241, -0.030360843986272812, 0.03130873292684555, -0.43216168880462646, -0.7233880758285522, 1.339559555053711, 0.0774785652756691, -0.027526527643203735, 0.30660825967788696, 0.0016490279231220484, 0.21933190524578094, -0.4417731761932373, 0.39629387855529785, 0.5954819321632385, 0.5840167999267578, 0.048891399055719376, -0.6350553035736084, -0.14092397689819336, -0.6183505654335022, -0.3695221543312073, 0.5770998597145081, -0.6215336322784424, 0.5986747741699219, -0.34183192253112793, -0.40071040391921997, 0.20540602505207062, 0.767556369304657, 0.35155266523361206, 0.7690770030021667, 0.3401009440422058, 0.17395834624767303, 0.8422693014144897, -0.009859729558229446, 0.9175196886062622, 0.24646343290805817, 0.2555711567401886, 0.16815683245658875, -0.3768291473388672, 0.3958621025085449, 0.6086093783378601, -0.19078953564167023, 0.6588019728660583, 0.5676190257072449, -0.30605727434158325, 0.3944990038871765, 0.3248976171016693, -0.5668860673904419, -0.2660188376903534, -0.7156967520713806, -0.15566514432430267, 0.3005746006965637, 0.41303908824920654, -0.6301088333129883, -0.12609902024269104, 0.11168352514505386, -0.23177672922611237, 0.31046536564826965, -0.35217782855033875, 0.6426163911819458, -0.0989040657877922, -0.5671929121017456, 0.18340203166007996, 0.03635243698954582, 0.7044804096221924, -0.5952129364013672, -0.12509262561798096, 0.01039397157728672, 0.32709893584251404, -0.31382542848587036, -0.9357776641845703, -0.02672027423977852, 0.004758605733513832, -0.4916464388370514, -0.9716991186141968, 0.8157930374145508, -0.07090289145708084, -0.60880047082901, 0.2222287803888321, 0.45214563608169556, -0.24082690477371216, 0.24779276549816132, -0.4843468964099884, -0.5252056121826172, 0.3216816186904907, -0.24257084727287292, 0.35528650879859924, 0.42670711874961853, 0.2858620584011078, 0.750948965549469, 0.9770411849021912, 0.23366796970367432, -0.3359620273113251, -0.2090781033039093, 1.0280447006225586, -0.8392818570137024, -0.06857164949178696, -0.5309925675392151, 0.602023184299469, -0.40384000539779663, -0.24344412982463837, 0.5957310199737549, 1.1431611776351929, 0.5741934776306152, 0.024796606972813606, 0.7627229690551758, -0.04926231876015663, 0.5750748515129089, -0.5704103112220764, 0.6964737772941589, -0.3937108516693115, 0.43188753724098206, -0.18014605343341827, -0.8687627911567688, -0.1379903256893158, 0.6146450042724609, -0.022468851879239082, -0.26537778973579407, 0.5739827156066895, 0.7274684309959412, -0.23397625982761383, 0.26048335433006287, -0.46098265051841736, 0.19768688082695007, 0.6731954216957092, 0.11419431865215302, 0.45714354515075684, -0.6433089375495911, 0.8698514103889465, -0.4595392644405365, -0.07834747433662415, 0.07175791263580322, -0.7408261895179749, -0.6161222457885742, -0.6393970847129822, -0.4493614137172699, -0.26515859365463257, 0.018589448183774948, 0.6502484679222107, 0.49476680159568787, -0.6979680061340332, -0.524936318397522, -0.9621718525886536, 0.5066521763801575, -0.11139953136444092, -0.2969246506690979, 0.48146501183509827, -0.2080383002758026, -0.8434982299804688, 0.660304069519043, 0.26237747073173523, 0.35803452134132385, -0.04226691648364067, 0.024207862094044685, -0.2535770535469055, 0.049381889402866364, 0.34801924228668213, 0.25455018877983093, 0.03499558940529823, 0.18847233057022095, 0.38315290212631226, 0.1966240406036377, 0.23010294139385223, 0.8469637036323547, -1.2803869247436523, 0.770586371421814, 1.1411960124969482, 0.3350566625595093, 0.6730045080184937, 0.011957135982811451, 1.160083293914795, -0.45188266038894653, -0.05035141110420227, 0.43597114086151123, 0.3377258777618408, 0.45733776688575745, -0.23567530512809753, 0.5256291627883911, 0.401998907327652, -0.5801562666893005, -0.8435595631599426, 0.23745620250701904, -1.3779360055923462, -0.4108995199203491, 0.8563186526298523, 0.25796863436698914, -0.4128898084163666, -0.2586868107318878, -0.4543018043041229, 0.40286722779273987, -0.5764302611351013, 0.903652012348175, 0.1634611189365387, -0.3212718367576599, -0.19163647294044495, -0.30593985319137573, 0.5601739883422852, 0.6733118295669556, -0.7933627963066101, 0.4926351010799408, 0.32559096813201904, -0.19316428899765015, 0.15250061452388763, 0.05290370061993599, -0.25871530175209045, 0.6059298515319824, -0.16326099634170532, -0.17807765305042267, -0.2026963084936142, -0.32895711064338684, -0.1527349352836609, 0.3024342656135559, -0.13495558500289917, 0.07953555136919022 ]
http://arxiv.org/abs/2402.19457v2
http://arxiv.org/pdf/2402.19457v2
$\texttt{COSMIC}$: Mutual Information for Task-Agnostic Summarization Evaluation
2024-02-29T18:51:23
2024-03-01T15:29:52
Maxime Darrin, Philippe Formont, Jackie Chi Kit Cheung, Pablo Piantanida
cs.CL
cs.CL, cs.AI
Assessing the quality of summarizers poses significant challenges. In response, we propose a novel task-oriented evaluation approach that assesses summarizers based on their capacity to produce summaries that are useful for downstream tasks, while preserving task outcomes. We theoretically establish a direct relationship between the resulting error probability of these tasks and the mutual information between source texts and generated summaries. We introduce $\texttt{COSMIC}$ as a practical implementation of this metric, demonstrating its strong correlation with human judgment-based metrics and its effectiveness in predicting downstream task performance. Comparative analyses against established metrics like $\texttt{BERTScore}$ and $\texttt{ROUGE}$ highlight the competitive performance of $\texttt{COSMIC}$.
[ -0.1896965056657791, -0.45519062876701355, 0.5194292068481445, 0.20091550052165985, -0.4056377410888672, 0.24357058107852936, -0.3287016451358795, -0.3950417935848236, 0.6525858640670776, 0.12058810144662857, -0.48491236567497253, -0.10901579260826111, -0.9767305254936218, 0.10239455103874207, -0.21124248206615448, 1.219566822052002, 0.13248467445373535, -0.1419648677110672, -0.5390527248382568, -0.1488572359085083, -0.7958089113235474, -0.34553399682044983, -0.5724005103111267, -0.12525226175785065, 0.9440046548843384, 0.020264655351638794, 0.6870395541191101, 0.3706248104572296, 0.9485584497451782, 0.34937214851379395, 0.04003056511282921, 0.3787843585014343, -0.6107031106948853, 0.1488441526889801, -0.535576581954956, -0.2682916224002838, -0.5444842576980591, 0.09721656143665314, 0.6506021022796631, 0.9473283290863037, 0.062217406928539276, 0.5387662053108215, 0.2785068154335022, 0.934297502040863, -1.0053160190582275, 0.2839229702949524, -0.21995535492897034, 0.1881142258644104, -0.2910310626029968, -0.6659079790115356, -0.07792352885007858, -0.5029576420783997, -0.011010689660906792, -0.7551310062408447, 0.03635243698954582, 0.0760200098156929, 0.8156284093856812, 0.5439264178276062, -0.40117236971855164, -0.40184274315834045, -0.7511370182037354, 0.6552636623382568, -0.37915608286857605, 0.32291650772094727, 0.41647249460220337, 0.6391188502311707, 0.10418005287647247, -0.6350734829902649, -0.34846240282058716, -0.11137805879116058, -0.27196189761161804, 0.912979781627655, -0.28019067645072937, -0.23555834591388702, -0.3761079013347626, 0.4689374566078186, -0.23885710537433624, -0.35292530059814453, -0.4393003582954407, -0.13530340790748596, 0.6171371936798096, 0.5887988805770874, 0.1733980029821396, -0.33150821924209595, 0.05881491303443909, 0.06634274870157242, -0.33714139461517334, -0.0804641917347908, 0.4452521502971649, 0.09756115078926086, -0.03774411231279373, 0.6813703179359436, -0.19799745082855225, 0.4776109457015991, 0.39837968349456787, 0.13828961551189423, -0.049989234656095505, -0.8974536657333374, -0.15876896679401398, -0.515356719493866, 0.8445883989334106, 0.6840060353279114, -0.22701290249824524, -0.5238986611366272, 0.020701460540294647, 0.058798763900995255, 0.7399934530258179, -0.7740416526794434, -0.07414750754833221, -0.01525967102497816, -0.5644054412841797, -0.11759699881076813, 0.3741725981235504, -0.46587130427360535, -0.2206488698720932, -0.41350895166397095, 0.626180112361908, -0.39541444182395935, -0.2228080928325653, -0.2990948259830475, -0.7234414219856262, -0.39024195075035095, 0.4480569064617157, -0.8222419619560242, 0.35600167512893677, 0.8903411030769348, 0.9393581748008728, -0.044710587710142136, -0.3286425769329071, -0.5661885142326355, 0.15532882511615753, -0.2405889332294464, 0.864129364490509, -0.22400400042533875, -0.7240865230560303, -0.5710187554359436, -0.3129376471042633, -0.21061958372592926, -0.3238752782344818, 0.6962629556655884, -0.4611609876155853, 0.2550586462020874, -0.71979820728302, -0.7562718987464905, -0.23457401990890503, 0.10692443698644638, -0.561308741569519, 0.5069586038589478, 0.19398283958435059, -1.1202218532562256, 0.7762439250946045, -0.5958133935928345, -0.31005725264549255, 0.23035269975662231, -0.002970925299450755, -0.11919569224119186, 0.43149545788764954, -0.18383562564849854, 0.5580555200576782, -0.20677532255649567, 0.30122244358062744, -0.24734623730182648, -0.6134673357009888, 0.06970103830099106, -0.39285069704055786, 0.49953439831733704, 0.29901641607284546, 0.0070568351075053215, 0.10083379596471786, -0.2888126075267792, -0.2860223650932312, -0.08622784167528152, -0.23203758895397186, -0.7216678857803345, 0.31851059198379517, -0.12046248465776443, -0.25918135046958923, 0.53203946352005, -0.413843035697937, -0.11760881543159485, -0.1541478931903839, -0.04944990947842598, 0.6321511268615723, 0.1231173649430275, 0.38061174750328064, -0.5462819337844849, 0.3486412763595581, -0.277214378118515, 0.21262948215007782, -0.05564965680241585, -0.34156495332717896, -0.47062408924102783, -0.20124821364879608, 0.18492397665977478, 0.5484211444854736, -0.39078086614608765, 1.0410146713256836, -0.5502505898475647, -1.098002552986145, 0.032295823097229004, -0.06143641471862793, 0.7219292521476746, 0.48118820786476135, 0.18106356263160706, -0.762579619884491, -0.31664222478866577, -0.6680301427841187, -0.6264210939407349, -0.2422172576189041, -0.08912491053342819, 0.31062251329421997, 0.36986181139945984, -0.16657783091068268, 0.8920683264732361, -0.5983251333236694, -0.17583486437797546, -0.21715614199638367, 0.3299838900566101, 0.39071518182754517, 0.37088456749916077, 0.5512060523033142, -0.4981728494167328, -0.2967737913131714, 0.05890737473964691, -0.9832347631454468, -0.17985689640045166, -0.04802648350596428, -0.30455687642097473, -0.23841427266597748, 0.060800518840551376, -0.3723783791065216, 0.23953066766262054, 0.5657005906105042, -0.9407550096511841, 0.9242726564407349, -0.35831892490386963, 0.7986342310905457, -1.1180821657180786, 0.4363136291503906, -0.0070394244976341724, -0.2772653102874756, -0.23178568482398987, 0.2968732714653015, 0.03173612058162689, 0.28957244753837585, -0.0716559886932373, 0.6089087724685669, -0.378709077835083, -0.26383647322654724, -0.3787337839603424, 0.18205131590366364, 0.04954352229833603, 0.2919858992099762, -0.2608790397644043, 0.5427189469337463, 0.17968282103538513, -0.6065597534179688, 0.24210429191589355, 0.3127078711986542, -0.22408682107925415, 1.2100906372070312, -0.6403036117553711, -0.1628180742263794, -0.19094440340995789, 0.464525043964386, -0.8344846367835999, -0.2898528277873993, -0.0011245050700381398, -0.8504795432090759, 0.1840774118900299, 0.1269555687904358, -0.5614713430404663, -0.2679561674594879, -0.21818864345550537, 0.5021932125091553, 0.4378536343574524, -0.23885127902030945, 0.4379419982433319, 0.4726443290710449, -0.35213878750801086, -0.8943713903427124, -0.5057170391082764, 0.21132132411003113, -0.20072565972805023, -0.5145257115364075, 0.16440895199775696, -0.1440938115119934, -0.2526143193244934, 0.27939122915267944, -0.516320526599884, -0.06689346581697464, 0.25986212491989136, 0.6947000026702881, 0.3613792061805725, 0.24327977001667023, -0.24462415277957916, 0.44424450397491455, -0.29502010345458984, 0.2781096398830414, -0.2718054950237274, -0.11669851094484329, 0.03725910559296608, -0.4639136493206024, -0.36586764454841614, 0.15646196901798248, 0.20218251645565033, 0.049153752624988556, 0.3843274414539337, 0.5939954519271851, -0.23421145975589752, 0.21587075293064117, -0.5698018670082092, 0.007464471273124218, -0.4042332172393799, 0.4010448753833771, -0.16326142847537994, -0.8595408797264099, 0.641913890838623, 0.1756971776485443, 0.13166166841983795, 0.8608462810516357, 0.5406473278999329, -0.15210340917110443, 0.4633192718029022, 0.44036585092544556, -0.03543717414140701, 0.27264121174812317, -0.16851308941841125, -0.04437540844082832, -0.8459565043449402, -0.1458490788936615, -0.5793786644935608, -0.1972481906414032, -0.07179027050733566, -0.44121482968330383, 0.6471408009529114, 0.2915063500404358, -0.007442118600010872, 0.6754958033561707, -0.35473304986953735, 0.6443891525268555, 0.6155418157577515, -0.05162648484110832, 0.36939382553100586, -0.4974256753921509, 0.19164100289344788, -0.15041489899158478, -0.3875219225883484, -0.3032301664352417, 1.0817945003509521, -0.02699495479464531, 0.3288619816303253, 0.24401865899562836, 0.7266197800636292, 0.5427648425102234, 0.5626596808433533, -0.5067971348762512, 0.4474675953388214, -0.38229650259017944, -0.5275393724441528, -0.11165132373571396, -0.8510422706604004, -0.8497788310050964, 0.2726944088935852, -0.2515801787376404, -0.6499486565589905, -0.12196693569421768, 0.059117820113897324, -0.3591402769088745, 0.06439168006181717, -0.734407365322113, 0.738603949546814, 0.18676334619522095, -0.32190054655075073, -0.8105547428131104, -0.5342409610748291, 0.39107590913772583, -0.29323601722717285, 0.20835287868976593, -0.16664578020572662, -0.1831163763999939, 0.949764609336853, -0.4633764922618866, 0.7341874837875366, -0.35962218046188354, 0.20848456025123596, 0.33346986770629883, 0.20863479375839233, 0.058235906064510345, 0.35925400257110596, 0.025756962597370148, 0.535649299621582, 0.02936791628599167, -0.30471593141555786, -0.8341706991195679, 0.6464588642120361, -0.6599562168121338, -0.420697957277298, -0.21975430846214294, -0.5509039759635925, -0.12118006497621536, 0.3080803453922272, 0.39264148473739624, 0.521844208240509, -0.49737685918807983, -0.04237556830048561, -0.14992737770080566, -0.18126080930233002, 0.47600066661834717, 0.39426130056381226, 0.11653759330511093, -0.7664459943771362, 0.8007053136825562, 0.10995407402515411, 0.1501457244157791, 0.8519365787506104, 0.21330511569976807, -0.3606569170951843, -0.5081268548965454, -0.4577901065349579, 0.04678158089518547, -0.6072810888290405, -0.3634548485279083, -0.7645846605300903, -0.07969189435243607, 0.15501028299331665, -0.5131155848503113, -0.4236399829387665, -0.7230204939842224, 0.09386936575174332, -0.042562682181596756, -0.1424180567264557, 0.7061390280723572, -0.2704821527004242, 0.07246419787406921, -1.0745493173599243, 0.13890986144542694, 0.301102876663208, 0.32849639654159546, -0.06924133002758026, -0.36601024866104126, -0.8791497945785522, -0.13094361126422882, -0.40096285939216614, -0.7182944416999817, 0.24457357823848724, -0.05013783648610115, 0.43275880813598633, 0.23148807883262634, -0.15259025990962982, 0.7402651309967041, -0.4552975594997406, 1.0341073274612427, 0.5642955303192139, -1.2682535648345947, 0.4461250305175781, -0.638873815536499, 0.4707944989204407, 0.8937361836433411, 0.0420646034181118, -0.37111082673072815, -1.0619031190872192, -0.7398802042007446, -0.6862629652023315, 0.4478816092014313, 0.6655018925666809, 0.05606549233198166, -0.09022632986307144, 0.28775498270988464, 0.3556749224662781, 0.4228056073188782, -0.21427461504936218, -0.2939111292362213, -0.349416583776474, -0.00627003563567996, -0.35938432812690735, 0.14638015627861023, -0.07333338260650635, -0.04251205548644066, 0.28249403834342957, -0.008852438069880009, 0.4668292999267578, 0.30502647161483765, -0.001700547174550593, -0.11553235352039337, 0.1716502159833908, 0.40446871519088745, 0.8798065781593323, -0.5126811861991882, 0.09038513898849487, 0.0837249904870987, -0.6531113386154175, 0.035936515778303146, 0.12553556263446808, 0.12299463152885437, 0.10895458608865738, 0.6473097205162048, 0.3032444715499878, 0.21245232224464417, -0.444191575050354, 0.7689378261566162, -0.23837171494960785, 0.02690289355814457, -0.23017115890979767, 0.23612412810325623, -0.1396999955177307, 0.24162934720516205, 0.5263556838035583, 0.768047571182251, 0.6652474999427795, -0.3064030408859253, 0.2713770270347595, 0.48200133442878723, -0.45980483293533325, -0.8477672934532166, 1.0268539190292358, 0.3922572135925293, 0.11529447883367538, -0.04715194180607796, -0.5852484107017517, -0.1567905843257904, 0.6766482591629028, 0.025932900607585907, 1.1728911399841309, -0.08236701786518097, -0.07597891241312027, 0.6762204766273499, 0.07767878472805023, 0.1485775262117386, 0.00894651934504509, -0.45411598682403564, -0.5276868343353271, -0.8738456964492798, -0.5667082071304321, -0.6206325888633728, -0.7486801743507385, -0.6361465454101562, 0.046131525188684464, -0.3262473940849304, -0.37721380591392517, 0.2261609584093094, -0.014818327501416206, -0.6843071579933167, 0.2407795786857605, -0.2609747648239136, 0.6893927454948425, -0.45732367038726807, 0.24532058835029602, 0.6827113032341003, -0.4237430989742279, -0.5773104429244995, -0.004808059893548489, 0.21204935014247894, -0.5058779120445251, 0.8299863934516907, 0.07560468465089798, -0.1475134938955307, -0.44366517663002014, 0.2536177635192871, -0.7925848960876465, 1.3316631317138672, 0.2288767546415329, -0.43639862537384033, 0.015139698050916195, -0.35942479968070984, 0.5956500172615051, -0.07914310693740845, 0.9004765748977661, 0.23869122564792633, 0.5950444340705872, -0.1355588734149933, -1.177212119102478, 0.20069299638271332, -0.5566821098327637, -0.22286048531532288, 0.48190397024154663, -0.7986990809440613, 0.24431395530700684, -0.3141692578792572, -0.43524277210235596, -0.08020045608282089, 0.7954049110412598, 0.1924862265586853, 0.68632572889328, 0.6262650489807129, 0.5125802755355835, 0.5771821737289429, -0.19670070707798004, 1.14359712600708, -0.3038753271102905, 0.43862903118133545, 1.0734426975250244, 0.17311479151248932, 0.6087243556976318, 0.22593674063682556, -0.38803213834762573, 0.2757013738155365, 0.300013929605484, -0.0036422729026526213, 0.6390555500984192, 0.05811301991343498, 0.0533331036567688, 0.25712692737579346, -0.11695779114961624, -0.09826195985078812, 0.3407074213027954, 0.2576373815536499, -0.17518964409828186, -0.20049144327640533, -0.5939207673072815, 0.07899657636880875, 0.14931175112724304, -0.21751226484775543, 0.8423019647598267, 0.06281840801239014, -1.0078788995742798, 0.1664593368768692, -0.1435207724571228, 0.8231439590454102, -0.4765906035900116, 0.30388638377189636, -0.23261667788028717, -0.09077562391757965, -0.38682809472084045, -0.6587846279144287, 1.1468199491500854, 0.00918576493859291, -0.21789158880710602, -0.05563316494226456, 0.5563657283782959, 0.05252533033490181, -0.3013903796672821, 0.2824260890483856, 0.6944090723991394, -0.03914180397987366, -0.026624415069818497, -0.30475643277168274, -0.35636401176452637, -0.2967413663864136, -0.11687437444925308, 0.19939382374286652, 0.2666096091270447, 0.45415106415748596, 0.34102240204811096, 0.511358380317688, 0.1729341745376587, -0.3742210268974304, 0.04945115000009537, 0.5430690050125122, -0.828124463558197, -0.8731083273887634, -0.8470715284347534, 0.7515115737915039, -0.17406077682971954, -0.505215585231781, 1.0441335439682007, 0.6530953645706177, 0.3971869647502899, -0.13246309757232666, 0.7844473123550415, -0.33360573649406433, 0.45963677763938904, -0.155150905251503, 0.8169997930526733, -0.5810306668281555, 0.10916631668806076, -0.6747308373451233, -1.3028167486190796, -0.118365079164505, -0.07223373651504517, -0.06724285334348679, -0.04086010903120041, 0.9400811791419983, 0.14273950457572937, -0.27640122175216675, 0.20410330593585968, 0.2771994173526764, -0.18158994615077972, 0.08670367300510406, 0.6934499740600586, 0.8970903754234314, -0.3018617630004883, 0.30302736163139343, -0.11995955556631088, -0.6510854363441467, -0.09336703270673752, -0.8121741414070129, -0.9139457941055298, -0.779569685459137, -0.2882212698459625, -0.1509798914194107, 0.18783622980117798, 0.4195910096168518, 0.8765787482261658, -0.16143719851970673, -0.1553923785686493, -0.2354738712310791, -0.17940978705883026, -0.6245542764663696, -0.24008814990520477, 0.4086655080318451, -0.2793812155723572, -0.7442300319671631, 0.2704933285713196, 0.5958448648452759, -0.39093056321144104, -0.1729818433523178, -0.14565014839172363, 0.6523953676223755, 0.38316285610198975, 0.5696229934692383, -0.07199561595916748, -0.39934730529785156, -0.21101175248622894, -0.22017884254455566, 0.07159551233053207, -0.4597368836402893, 0.7922449111938477, -0.4332672655582428, 0.4390900135040283, 0.5801173448562622, 0.865186333656311, 0.3004068434238434, 0.1288275271654129, 0.7694485187530518, -0.800081729888916, -0.13564303517341614, 0.08669442683458328, 0.5282770991325378, 0.15221357345581055, -0.5611530542373657, 0.8695092797279358, 0.37294888496398926, -0.9667922854423523, -0.3762947618961334, 0.05258899927139282, -1.375867486000061, -0.0008571114740334451, 0.8348750472068787, -0.3829859495162964, 0.08872772008180618, 0.16019730269908905, 0.09069457650184631, 0.381522536277771, -0.5668954849243164, 0.8601120114326477, 0.565984845161438, -0.11055898666381836, 0.3930359184741974, -0.3238065838813782, 0.23610562086105347, 0.4960680603981018, -1.0742478370666504, 0.008833142928779125, 0.7661110758781433, 0.1346709430217743, 0.7052700519561768, 0.7869961261749268, -0.16459427773952484, 0.3983463644981384, 0.16014456748962402, -0.13721230626106262, -0.1821790486574173, 0.06400824338197708, 0.04368022456765175, 0.15137754380702972, -0.23279692232608795, -0.07533812522888184 ]
http://arxiv.org/abs/2402.19450v1
http://arxiv.org/pdf/2402.19450v1
Functional Benchmarks for Robust Evaluation of Reasoning Performance, and the Reasoning Gap
2024-02-29T18:48:18
2024-02-29T18:48:18
Saurabh Srivastava, Annarose M B, Anto P V, Shashank Menon, Ajay Sukumar, Adwaith Samod T, Alan Philipose, Stevin Prince, Sooraj Thomas
cs.AI
cs.AI, cs.CL
We propose a framework for robust evaluation of reasoning capabilities of language models, using functional variants of benchmarks. Models that solve a reasoning test should exhibit no difference in performance over the static version of a problem compared to a snapshot of the functional variant. We have rewritten the relevant fragment of the MATH benchmark into its functional variant MATH(), with functionalization of other benchmarks to follow. When evaluating current state-of-the-art models over snapshots of MATH(), we find a reasoning gap -- the percentage difference between the static and functional accuracies. We find reasoning gaps from 58.35% to 80.31% among the state-of-the-art closed and open weights models that perform well on static benchmarks, with the caveat that the gaps are likely to be smaller with more sophisticated prompting strategies. Here we show that models which anecdotally have good reasoning performance over real-world tasks, have quantifiable lower gaps, motivating the open problem of building "gap 0" models. Code for evaluation and new evaluation datasets, three MATH() snapshots, are publicly available at https://github.com/consequentai/fneval/.
[ -0.3583172857761383, -0.7605252265930176, 0.5777844786643982, 0.08788908272981644, 0.05723064765334129, -0.15001200139522552, -0.20632773637771606, -0.4838413894176483, -0.22297318279743195, 0.20284411311149597, -0.5643680691719055, -0.20750068128108978, -0.3536733090877533, -0.14794015884399414, -0.24471697211265564, 0.42858874797821045, -0.10242712497711182, 0.11141260713338852, -0.7639609575271606, -0.5115516185760498, -0.5413883328437805, -0.439439982175827, 0.06124462932348251, -0.3958386778831482, 0.2077133059501648, 0.42895272374153137, 0.9555524587631226, 0.4293912351131439, 0.6487411260604858, 0.2448762208223343, -0.14276482164859772, -0.1103641614317894, -0.32403120398521423, 0.2718808650970459, -0.210414320230484, -0.41048258543014526, -0.3939976394176483, -0.12292568385601044, 0.5355556607246399, 1.0554003715515137, -0.21011418104171753, 0.3368656635284424, -0.39080795645713806, 0.4578855335712433, -0.9777042269706726, 0.1391797959804535, -0.6553515791893005, -0.10507455468177795, -0.20811861753463745, 0.36369845271110535, -0.29989492893218994, -0.6472399830818176, 0.1195090189576149, -0.5065575242042542, 0.09428400546312332, -0.2596479058265686, 0.9079412817955017, 0.40080374479293823, -0.10700199007987976, 0.04353460296988487, -0.43711766600608826, 0.8544201850891113, -0.8811595439910889, 0.6344693899154663, 0.32485559582710266, 0.605678379535675, -0.013169615529477596, -0.6630235910415649, -0.21513201296329498, -0.45445358753204346, 0.08855798840522766, -0.20315086841583252, -0.2837453782558441, -0.3469780385494232, 0.7516289949417114, 0.7949785590171814, -0.35453394055366516, -0.13206619024276733, -0.23874421417713165, -0.1282707005739212, 0.5986034274101257, 0.2238161563873291, 0.2571980357170105, 0.1846107393503189, -0.1879686862230301, -0.107744500041008, -0.7482905983924866, 0.21160785853862762, 0.24536161124706268, 0.192390576004982, 0.01010674424469471, 0.6264593005180359, -0.45107921957969666, 0.982609212398529, -0.47215673327445984, 0.054728880524635315, 0.34752801060676575, -0.47846874594688416, -0.29088887572288513, -0.5298792123794556, 0.30969932675361633, 0.25424137711524963, 0.5088667273521423, -0.05144165828824043, -0.42161449790000916, 0.4046023190021515, 0.2668851912021637, -0.8519339561462402, -0.2519148290157318, 0.012216453440487385, -0.33465978503227234, -0.06012338772416115, 0.08916300535202026, -0.67206209897995, -0.20329786837100983, -0.3779049813747406, 0.3790647089481354, -0.5775246620178223, -0.32719579339027405, 0.438331663608551, -0.010645791888237, -0.06738676875829697, 0.3996054530143738, -0.8036463260650635, 0.6380355358123779, 0.8043215274810791, 0.6982301473617554, -0.009913153946399689, -0.0616801455616951, -0.6442906856536865, -0.505365788936615, -0.2405817061662674, 0.830938458442688, -0.6624768376350403, -0.36453020572662354, 0.10636946558952332, -0.3020952641963959, -0.24065575003623962, -0.7317866086959839, 0.8089904189109802, -0.2631944715976715, 0.047701504081487656, -0.3398362100124359, -0.6225384473800659, -0.1930023431777954, 0.2766904830932617, -0.8214725255966187, 1.2341800928115845, 0.4281652271747589, -0.5590856671333313, 0.43192601203918457, -0.7058741450309753, -0.34692150354385376, 0.054185960441827774, -0.1844034492969513, -0.3781909942626953, 0.3524986207485199, 0.22388434410095215, -0.06173449754714966, -0.5372300744056702, 0.12759500741958618, -0.7489950060844421, -0.6052513122558594, 0.7347722053527832, -0.3356006443500519, 0.8168850541114807, 0.3399634063243866, -0.33937960863113403, 0.06563104689121246, -0.772748589515686, 0.29349732398986816, 0.025047171860933304, 0.12105106562376022, -0.4154207110404968, 0.17726722359657288, -0.3299270272254944, 0.17344175279140472, 0.10687518119812012, -0.34530267119407654, 0.08614937216043472, -0.507841944694519, 0.38952866196632385, 0.5911092758178711, -0.13375811278820038, 0.14425857365131378, -0.6765143871307373, 0.5758076906204224, -0.16312751173973083, 0.3018759489059448, -0.289371520280838, -0.5411533117294312, -0.6623185276985168, -0.5031391978263855, 0.68768709897995, 0.47377917170524597, -0.476879358291626, 0.2076553851366043, -0.11387112736701965, -0.5131228566169739, -0.28530290722846985, -0.14669707417488098, 0.39553600549697876, 0.7082036733627319, 0.2595510184764862, -0.3264796733856201, -0.10603579133749008, -0.6907550096511841, -0.648493230342865, -0.07791853696107864, -0.1920749843120575, 0.33530300855636597, 0.6530260443687439, 0.06501957029104233, 0.8207990527153015, -0.5459430813789368, 0.3327193260192871, 0.12319166958332062, 0.14649462699890137, 0.3564198315143585, 0.4842965304851532, 0.6840416193008423, -0.6825091242790222, -0.12880735099315643, -0.23797982931137085, -0.544915497303009, -0.34398895502090454, 0.20538072288036346, -0.14536692202091217, -0.03233562409877777, 0.2892490029335022, -0.5266501903533936, 0.49962854385375977, 0.1535058468580246, -0.5087920427322388, 0.6917901635169983, 0.2868252992630005, 0.07861878722906113, -0.5590934753417969, 0.23219004273414612, 0.010763349011540413, -0.208139568567276, -0.5171819925308228, 0.2535839378833771, -0.07918920367956161, -0.2796511650085449, -0.3469502925872803, 0.7453460097312927, -0.3521280884742737, -0.09961893409490585, 0.28541576862335205, 0.13266555964946747, -0.025757381692528725, 0.1652064025402069, -0.20074087381362915, 0.6715229153633118, 0.6751105189323425, -0.4466368854045868, -0.1501212865114212, 0.15758787095546722, -0.6123404502868652, 0.5117266774177551, -0.8026748299598694, -0.11513224989175797, 0.4640176296234131, -0.10389602184295654, -0.7833361029624939, -0.28969496488571167, 0.027693184092640877, -0.45796963572502136, -0.009945116005837917, -0.020278971642255783, -0.49720776081085205, -0.3694721460342407, -0.3257661461830139, 0.6750242710113525, 0.49769482016563416, -0.40357330441474915, 0.3796054422855377, 0.23178620636463165, -0.11867272853851318, -0.535586416721344, -0.7970659732818604, -0.5177072882652283, -0.03932780772447586, -0.9330783486366272, 0.17196235060691833, -0.11253810673952103, -0.3995577394962311, 0.1914067417383194, -0.5827731490135193, -0.37431544065475464, 0.4422908425331116, 0.0717497393488884, 0.3234313428401947, -0.42989176511764526, 0.019429873675107956, -0.26381006836891174, -0.24001239240169525, 0.14425355195999146, -0.2638542056083679, 0.12091394513845444, -0.46697932481765747, -0.7646922469139099, -0.12029912322759628, 0.22880300879478455, 0.7462921738624573, -0.44002386927604675, 0.37801045179367065, 0.2515164911746979, -0.8644781708717346, -0.26609912514686584, -0.5467575788497925, -0.28173568844795227, -0.4022254943847656, -0.16434086859226227, -0.5682304501533508, -1.1636996269226074, 0.5935845971107483, -0.10047439485788345, 0.009484506212174892, 0.3307918608188629, 0.5316447019577026, 0.35517075657844543, 1.023569107055664, 0.28048190474510193, 0.43520981073379517, 0.4836353361606598, -0.17211824655532837, 0.39079195261001587, -0.3987610936164856, -0.07835365831851959, -0.719817578792572, 0.02390475943684578, -0.3417704701423645, -0.7046436667442322, 0.1301078200340271, 0.45580440759658813, -0.300685852766037, 0.15011313557624817, -0.4221596419811249, 0.46813124418258667, 0.47820839285850525, -0.2083768993616104, 0.15318141877651215, -0.05804675817489624, -0.5641806125640869, -0.27537769079208374, -0.7032000422477722, -0.4270486831665039, 0.8874977827072144, 0.2929839491844177, 0.6967524290084839, 0.1871587038040161, 0.4000924229621887, 0.1970226913690567, 0.4338270425796509, -0.6280292272567749, 0.4522600769996643, -0.03716997802257538, -0.6306061148643494, -0.07839827239513397, -0.6810262799263, -0.6373897790908813, 0.3219640851020813, -0.09674882888793945, -1.2005993127822876, 0.2985818386077881, 0.133714497089386, -0.34287959337234497, 0.11355011910200119, -0.7687658667564392, 1.2897274494171143, -0.17930831015110016, -0.553039014339447, -0.08172158896923065, -0.30309316515922546, 0.6642849445343018, 0.19188107550144196, 0.09332859516143799, -0.3942599892616272, 0.19230598211288452, 0.22738318145275116, -0.9164649248123169, 0.4792117476463318, -0.21366575360298157, 0.20209652185440063, 0.4105866849422455, 0.3128792941570282, 0.1350816786289215, 0.2605447769165039, -0.38858258724212646, 0.23573963344097137, 0.21381941437721252, -0.49814555048942566, -0.8477191925048828, 0.4472056031227112, -0.21579985320568085, -0.3902810215950012, -0.5789899230003357, -0.4465334713459015, -0.5643507838249207, 0.29102954268455505, -0.0681927353143692, 0.765956699848175, -0.28914177417755127, 0.3451627194881439, 0.6551774740219116, 0.03130350261926651, 0.2335187792778015, 0.39395514130592346, -0.11510591953992844, -0.4971320629119873, 0.7385995984077454, -0.0029481900855898857, 0.3142204284667969, 0.2279641032218933, 0.1863473355770111, -0.6584116220474243, -0.3096681833267212, -0.39392295479774475, 0.1219363659620285, -0.8237758874893188, -0.4028502404689789, -0.18419897556304932, -0.12504388391971588, -0.18507197499275208, -0.33375096321105957, -0.42321914434432983, -0.8362874984741211, 0.09575490653514862, 0.16076523065567017, 0.1263437718153, 0.37807175517082214, -0.06500428169965744, -0.21553468704223633, -0.5495920181274414, 0.1706768274307251, 0.1294056475162506, 0.7659944295883179, 0.02074914239346981, -0.13300122320652008, -0.15603673458099365, 0.0005221627652645111, -0.3548159599304199, -0.6857061386108398, -0.1843770444393158, -0.12508894503116608, 0.8950881958007812, 0.2772713601589203, 0.0764499306678772, 0.4973590672016144, -0.10694567859172821, 0.8780224323272705, 0.31942957639694214, -1.2771323919296265, 0.3927111327648163, -0.3680330812931061, 0.47541263699531555, 0.7606484889984131, 0.04871918261051178, -0.06861942261457443, -0.2929536700248718, -0.7568920254707336, -0.4733719527721405, 0.5508081316947937, 0.49380725622177124, -0.3189128041267395, 0.004374208394438028, 0.0836915448307991, 0.01303044706583023, 0.2561400234699249, -0.5726889371871948, 0.05655816197395325, -0.3314346373081207, -0.09249278157949448, 0.25884801149368286, -0.03321420028805733, -0.2814634144306183, -0.4250923991203308, 0.32673388719558716, -0.24364885687828064, 0.28825271129608154, 0.10323642939329147, -0.138406440615654, 0.0841541662812233, 0.37388551235198975, 0.8477645516395569, 1.097597599029541, -0.2250385880470276, 0.0029806550592184067, 0.2382757067680359, -0.1694498360157013, 0.09269759804010391, 0.5483164191246033, -0.266552209854126, 0.022133927792310715, 0.3446316123008728, 0.7710515856742859, 0.6615016460418701, -0.8524653911590576, 0.5996026396751404, -0.24551530182361603, -0.3302670121192932, -0.0031775315292179585, 0.2706229090690613, 0.003974705934524536, 0.1509038656949997, -0.0268133245408535, 0.2752450108528137, 0.13680499792099, -0.41321417689323425, 0.41622257232666016, 0.2755190134048462, -0.3202034533023834, -0.28502511978149414, 0.7489444613456726, 0.010659252293407917, -0.339207261800766, 0.5268512964248657, -0.21059179306030273, -0.41022512316703796, 0.6096752285957336, 0.4787762463092804, 0.8452866077423096, -0.12826743721961975, 0.26068562269210815, 0.4777907133102417, 0.22729605436325073, -0.1761111170053482, 0.7130491137504578, -0.34462970495224, -0.46711117029190063, -0.37783676385879517, -0.6151122450828552, -0.6767858862876892, -0.023501457646489143, -0.7269185781478882, 0.2995574176311493, -0.3342345356941223, -0.1471269726753235, 0.08321438729763031, -0.03629964590072632, -0.51375412940979, 0.37881332635879517, -0.04668344929814339, 1.3585981130599976, -0.5651867985725403, 0.5446009039878845, 0.7722181677818298, -0.5184050798416138, -0.7657021880149841, -0.030780576169490814, -0.03232439607381821, -0.311872661113739, 0.03095880150794983, 0.33533260226249695, -0.1373811513185501, -0.48694494366645813, -0.28375035524368286, -0.8239039778709412, 0.7898851633071899, 0.739387035369873, -0.3393038511276245, 0.40714600682258606, 0.16017334163188934, 0.6409352421760559, -0.584180474281311, 0.38703206181526184, 0.46981081366539, 0.551363468170166, 0.2210148125886917, -0.7014731764793396, 0.22953863441944122, -0.5239533185958862, 0.1207454726099968, 0.3540566861629486, -0.5153511762619019, 1.030779480934143, -0.13693051040172577, -0.22333401441574097, 0.2721532881259918, 0.37613925337791443, 0.525200366973877, 0.6217019557952881, 0.6261323690414429, 0.818413257598877, 0.9126412868499756, -0.5717732310295105, 1.0744661092758179, -0.29795223474502563, 0.3662593364715576, 1.0032650232315063, -0.403899610042572, 0.7681783437728882, 0.07205675542354584, -0.06750103831291199, 0.6566238403320312, 0.5163228511810303, -0.12582866847515106, 0.29880091547966003, 0.5294853448867798, -0.22963516414165497, -0.45300841331481934, 0.036069244146347046, -0.5292111039161682, 0.3290829360485077, 0.38554704189300537, -0.0029823658987879753, -0.42027902603149414, -0.5289686918258667, 0.04358847811818123, 0.33990222215652466, -0.0657784640789032, 0.16193188726902008, 0.10708314925432205, -1.0922352075576782, 0.8885626196861267, -0.08552655577659607, 0.03212760388851166, -0.5699033737182617, -0.11197996139526367, -0.16164612770080566, 0.36441275477409363, -0.16599084436893463, -0.554587185382843, 0.5496731996536255, 0.009241176769137383, -0.05878753215074539, -0.15169650316238403, 0.9169713258743286, -0.04344598203897476, -0.5175538659095764, 0.15843650698661804, 0.5889638662338257, -0.07016254961490631, 0.1600504070520401, -0.8560064435005188, 0.24514798820018768, -0.22372832894325256, 0.043695103377103806, 0.086125448346138, 0.35571447014808655, -0.3567561209201813, 0.5778732299804688, 0.6604288816452026, -0.3001597821712494, 0.06232178956270218, 0.43212929368019104, 0.9498981833457947, -0.6153895854949951, -0.5113133788108826, -0.6336236596107483, 0.7802876830101013, -0.3269897997379303, -0.5831400752067566, 0.6083849668502808, 0.5567240118980408, 0.7961600422859192, -0.04782300069928169, 0.4973506033420563, -0.09090032428503036, 0.4853818118572235, -0.5178143978118896, 0.42448288202285767, -0.7789316773414612, 0.13222278654575348, -0.4042937755584717, -0.7480384111404419, -0.4800877273082733, 0.7365618348121643, -0.3264462947845459, 0.16126275062561035, 0.8261588215827942, 0.7479170560836792, -0.42142653465270996, 0.39937540888786316, 0.348176509141922, -0.06454648077487946, 0.164421945810318, 0.5572686195373535, 1.0462141036987305, -0.3604387938976288, 0.22309476137161255, -0.17112943530082703, -0.4435828924179077, -0.25348201394081116, -1.0856294631958008, -0.8548851609230042, -0.39233943819999695, -0.4996877610683441, -0.4247703552246094, 0.0408661887049675, 0.30189183354377747, 0.8450329899787903, -0.8536365032196045, -0.17880350351333618, -0.4051121175289154, 0.46050190925598145, -0.5940026640892029, -0.25759100914001465, -0.11957024037837982, -0.47695392370224, -0.38795238733291626, 0.4097377061843872, 0.33992740511894226, -0.18724553287029266, -0.29652971029281616, -0.035742294043302536, -0.17208988964557648, 0.5075913667678833, 0.28746792674064636, 0.558700680732727, -0.7378991842269897, -0.33584117889404297, 0.2612696886062622, 0.15610632300376892, 0.03304661065340042, 1.0897802114486694, -0.547855019569397, 0.5250731706619263, 0.7402779459953308, 0.8053074479103088, 0.6495979428291321, 0.14970862865447998, 0.6048291325569153, -0.5537088513374329, 0.15737637877464294, 0.45288753509521484, 0.49133238196372986, 0.40227025747299194, 0.09684816747903824, 0.8838214874267578, 0.3782130181789398, -0.5577490925788879, -1.3173216581344604, 0.3979913294315338, -0.9502336382865906, -0.11201063543558121, 0.8100167512893677, -0.4020158648490906, -0.17838869988918304, 0.16180793941020966, 0.3826947808265686, -0.16593515872955322, -0.166017085313797, 0.6518838405609131, 1.0393978357315063, -0.24944937229156494, 0.08113411068916321, -0.565929651260376, 0.35427236557006836, 0.7403663396835327, -0.8329175114631653, 0.025689072906970978, 0.7778642773628235, 0.2855314016342163, 0.21820136904716492, 0.6653735041618347, -0.35179245471954346, 0.7267137765884399, 0.4518267512321472, -0.3246474266052246, -0.007092507090419531, -0.3458702266216278, -0.2460092455148697, 0.27402856945991516, 0.050024792551994324, -0.12115826457738876 ]
http://arxiv.org/abs/2402.19449v1
http://arxiv.org/pdf/2402.19449v1
Heavy-Tailed Class Imbalance and Why Adam Outperforms Gradient Descent on Language Models
2024-02-29T18:47:52
2024-02-29T18:47:52
Frederik Kunstner, Robin Yadav, Alan Milligan, Mark Schmidt, Alberto Bietti
cs.LG
cs.LG, cs.CL, math.OC, stat.ML
Adam has been shown to outperform gradient descent in optimizing large language transformers empirically, and by a larger margin than on other tasks, but it is unclear why this happens. We show that the heavy-tailed class imbalance found in language modeling tasks leads to difficulties in the optimization dynamics. When training with gradient descent, the loss associated with infrequent words decreases slower than the loss associated with frequent ones. As most samples come from relatively infrequent words, the average loss decreases slowly with gradient descent. On the other hand, Adam and sign-based methods do not suffer from this problem and improve predictions on all classes. To establish that this behavior is indeed caused by class imbalance, we show empirically that it persist through different architectures and data types, on language transformers, vision CNNs, and linear models. We further study this phenomenon on a linear classification with cross-entropy loss, showing that heavy-tailed class imbalance leads to ill-conditioning, and that the normalization used by Adam can counteract it.
[ -0.28248846530914307, -0.695930004119873, 0.38213515281677246, 0.041611749678850174, -0.09542346745729446, 0.4706278145313263, -0.4319950044155121, -0.5615307688713074, 0.19291800260543823, 0.14895857870578766, -0.28848955035209656, -0.17906764149665833, -0.8105196952819824, -0.0705910250544548, -0.7203735113143921, 1.1421908140182495, 0.10318206995725632, 0.4684835374355316, -0.40080520510673523, -0.46912848949432373, -0.21660447120666504, -0.6037124395370483, -0.9622812271118164, -0.8096871376037598, 0.4658588767051697, 0.19736327230930328, 1.0751979351043701, 0.6403814554214478, 0.423168808221817, 0.2666643559932709, -0.12898507714271545, -0.3304981291294098, -0.40651366114616394, 0.04875347390770912, 0.03406323865056038, -0.9258856177330017, 0.06180419772863388, -0.1540025770664215, 0.8661259412765503, 1.0803875923156738, -0.3282290995121002, 0.17248402535915375, 0.33406683802604675, 0.9875355958938599, -0.8231943845748901, -0.1338554471731186, -0.6528379917144775, 0.12512826919555664, -0.5793448090553284, -0.1973901242017746, -0.2530246376991272, 0.19851896166801453, 0.12687119841575623, -0.4646014869213104, 0.2522311210632324, 0.38785865902900696, 0.8112877607345581, 0.31542539596557617, -0.21556180715560913, -0.07556011527776718, -1.0252487659454346, 1.2956161499023438, -0.7309449911117554, 0.5239806175231934, 0.11569623649120331, -0.053432367742061615, -0.03499256819486618, -0.19942882657051086, -0.6348127722740173, -0.31406715512275696, 0.28147587180137634, 0.003572512185201049, -0.49385127425193787, 0.1440356969833374, 0.36473143100738525, 0.42364174127578735, -0.5122257471084595, 0.5184075832366943, -0.32819026708602905, -0.1165895089507103, 0.4941912889480591, 0.30884483456611633, 0.4418798089027405, 0.3173448145389557, -0.36437711119651794, -0.4401729106903076, -0.7838472127914429, 0.35007208585739136, 0.9386621117591858, 0.268062949180603, 0.13575658202171326, 0.6718757152557373, 0.12703736126422882, 0.7797581553459167, -0.04309451952576637, 0.04916505888104439, 0.27199938893318176, 0.0031765939202159643, -0.08229294419288635, 0.34805336594581604, 0.4989526867866516, 0.5772066712379456, 0.4847758412361145, -0.1755782514810562, -0.12704843282699585, 0.07543225586414337, -0.010619055479764938, -0.8369277119636536, -0.16518661379814148, 0.07752835005521774, -0.7193378806114197, -0.046492625027894974, -0.23077555000782013, -0.529971718788147, -0.4767407178878784, -0.4138217866420746, 0.4225129783153534, -0.2684347331523895, -0.35089966654777527, 0.16499269008636475, -0.3826948404312134, 0.24170911312103271, 0.24472080171108246, -0.9329783916473389, 0.47814249992370605, 0.63205885887146, 0.74895840883255, -0.47388455271720886, -0.4040982723236084, -0.467154860496521, -0.3128518760204315, -0.5553739666938782, 0.5539101362228394, -0.6727534532546997, 0.20750370621681213, 0.05029691755771637, -0.23086118698120117, -0.18736949563026428, -0.6996979713439941, 0.19388268887996674, -0.2781842052936554, 0.11058306694030762, -0.10219720751047134, -0.5047469735145569, -0.31874921917915344, 0.014217399060726166, -0.2724231481552124, 0.9832817912101746, 0.11060652136802673, -0.8781731724739075, 0.7253466844558716, -0.2633172273635864, -0.6160685420036316, 0.04114483296871185, -0.12162996828556061, -0.655967652797699, 0.2846282124519348, -0.22076253592967987, 0.6185358762741089, -0.5840571522712708, -0.19603610038757324, -0.4229850471019745, -0.7328550219535828, 0.11002523452043533, -0.1449391096830368, 0.9366713166236877, 0.14423774182796478, -0.4765794575214386, 0.07639327645301819, -0.8498578667640686, -0.11066486686468124, 0.4556807279586792, -0.33746761083602905, -1.0787854194641113, 0.5928710103034973, -0.05837514251470566, 0.031850844621658325, -0.22400960326194763, -0.6923483610153198, 0.11848212778568268, -0.606330156326294, 0.33043769001960754, 0.495168000459671, -0.19354651868343353, 0.6214141249656677, -0.35281503200531006, 0.5266144871711731, 0.21265628933906555, -0.005375334993004799, 0.26112470030784607, -0.6735349297523499, -0.9275003671646118, 0.045650433748960495, 0.2859079837799072, 0.8457234501838684, -0.4831528663635254, 0.1734001785516739, -0.045350417494773865, -0.4757751226425171, -0.6058031916618347, 0.42042621970176697, 0.31702524423599243, 0.5259975790977478, 0.4672830402851105, -0.4210232198238373, -0.24718110263347626, -0.9623706340789795, -0.4639298617839813, -0.13347654044628143, 0.15521405637264252, 0.02096881903707981, 0.31562870740890503, -0.24173499643802643, 0.3738841414451599, -0.061624787747859955, -0.08866145461797714, -0.5646939873695374, 0.17957060039043427, 0.15337254106998444, 0.692278265953064, 0.7965041399002075, -0.36670345067977905, -0.13281884789466858, -0.13531391322612762, -0.43924304842948914, 0.11951937526464462, -0.42627787590026855, 0.0820070132613182, 0.49184471368789673, 0.5141831040382385, -0.2642536759376526, 0.5466874241828918, 0.5462541580200195, -0.22086837887763977, 0.23132368922233582, 0.15275505185127258, -0.25548070669174194, -0.8492808938026428, -0.3295685946941376, 0.24918417632579803, 0.02358579821884632, -0.3951837718486786, -0.07578600943088531, -0.22998709976673126, 0.06368175894021988, -0.426302433013916, 0.27044159173965454, -0.20690636336803436, -0.19650493562221527, -0.16756628453731537, -0.1949266642332077, -0.22394806146621704, 0.5549477338790894, -0.1605789065361023, 0.6154788136482239, 0.9610946774482727, -0.7688590884208679, 0.2193177342414856, 0.05240369215607643, -0.36401310563087463, 0.6671907901763916, -0.6799653172492981, -0.19684317708015442, -0.48737311363220215, 0.016630269587039948, -0.8874306082725525, 0.353851854801178, 0.1397353708744049, -0.20783989131450653, 0.6087166666984558, -0.2350539118051529, -0.5082190632820129, -0.32239270210266113, -0.5147895216941833, 0.3862130343914032, 0.6040589809417725, -0.5744538307189941, 0.5815038084983826, 0.04993583261966705, 0.07750751823186874, -0.9947755932807922, -0.9615294933319092, 0.14637547731399536, -0.2674999237060547, -0.43938711285591125, 0.16108901798725128, -0.08639264106750488, -0.5272447466850281, 0.18225140869617462, -0.1426907479763031, 0.17973846197128296, 0.39051011204719543, 0.08339916169643402, -0.08901180326938629, -0.23514041304588318, 0.24460697174072266, 0.11817620694637299, 0.035788167268037796, 0.3805941045284271, -0.342792272567749, 0.9036659598350525, -0.2237679809331894, -0.4337025582790375, -0.509614884853363, 0.4435596168041229, 0.5431857109069824, -0.10310176014900208, 1.0074011087417603, 0.6822904944419861, -0.18504497408866882, -0.4214429259300232, -0.2629430592060089, -0.2310747504234314, -0.40540361404418945, 0.6114101409912109, 0.007158464752137661, -0.5372976064682007, 0.8106932044029236, 0.19937682151794434, 0.2112453430891037, 0.8481305837631226, 0.5671510100364685, -0.18797141313552856, 1.474438190460205, 0.5374583005905151, -0.009853806346654892, 0.7333401441574097, -0.5830755829811096, 0.11518674343824387, -0.8071590065956116, -0.13871915638446808, -0.5671265125274658, -0.6727819442749023, -0.7572534680366516, 0.38762375712394714, 0.03215859457850456, 0.02225852943956852, -0.43375256657600403, 0.2941019833087921, -0.5932302474975586, 0.41071540117263794, 1.036311149597168, -0.0689990371465683, 0.11073857545852661, 0.04802952706813812, 0.10223972052335739, -0.09107338637113571, -0.9560944437980652, -0.20703516900539398, 1.2254438400268555, 0.4021724760532379, 1.192336916923523, -0.09946568310260773, 0.7711930871009827, 0.08828838169574738, 0.2605727016925812, -0.9626579880714417, 0.4313485324382782, -0.20670941472053528, -0.6490024924278259, -0.22355997562408447, -0.4485524594783783, -0.9710618257522583, -0.011583134531974792, -0.49967485666275024, -0.4509016275405884, 0.4410548210144043, 0.38418930768966675, -0.18952810764312744, 0.5936105847358704, -0.6638935208320618, 0.7473766803741455, -0.39654675126075745, -0.4176805019378662, -0.40702101588249207, -0.8368907570838928, 0.29987001419067383, -0.08351388573646545, 0.04353157430887222, -0.18331941962242126, 0.17337219417095184, 1.1165046691894531, -0.5958952307701111, 0.580887496471405, -0.37790316343307495, -0.1288643330335617, 0.19975997507572174, 0.09488796442747116, 0.3706595003604889, -0.12177179008722305, 0.06266237795352936, 0.25825732946395874, 0.015791846439242363, -0.4926169216632843, -0.6541656851768494, 0.5392055511474609, -0.8127397894859314, -0.203670471906662, -0.6548145413398743, -0.3752651512622833, -0.2564535140991211, 0.054782770574092865, 0.47010737657546997, 0.5029047131538391, 0.29088059067726135, 0.4615092873573303, 0.5915409326553345, -0.2958725690841675, 0.8460162878036499, 0.15093369781970978, -0.053433045744895935, -0.08067687600851059, 0.9737614393234253, 0.35894373059272766, 0.5831848382949829, 0.1093011349439621, 0.379352331161499, -0.029418662190437317, -0.8708815574645996, -0.6115615963935852, -0.1773681491613388, -0.6545723080635071, -0.2808934152126312, -0.4697626233100891, -0.011854814365506172, 0.06699614971876144, -0.26144781708717346, -0.4363637864589691, -0.5657440423965454, -0.07929559051990509, 0.21085774898529053, 0.22819267213344574, 0.5289078950881958, 0.06966574490070343, 0.5920213460922241, -0.3522801995277405, -0.08548083901405334, 0.31184765696525574, 0.34119853377342224, 0.3728408217430115, -0.38784059882164, -0.39136800169944763, -0.008445369079709053, -0.23389865458011627, -0.38093647360801697, 0.04894912987947464, 0.5196362733840942, 0.5223828554153442, 0.5257249474525452, -0.06624878197908401, 0.4932101368904114, -0.3853325843811035, 0.6833380460739136, 0.38358214497566223, -0.7423442006111145, 0.08720836043357849, -0.151640847325325, 0.0960046723484993, 0.6507559418678284, 0.17526699602603912, -0.2736246883869171, -0.7538716197013855, -0.6170402765274048, -1.1598682403564453, 0.6412366032600403, 0.10347606241703033, 0.5055429339408875, 0.14443250000476837, 0.27810370922088623, 0.0921802669763565, 0.28076526522636414, -0.838487446308136, -0.6596567034721375, -0.3601630926132202, -0.22150787711143494, -0.07573404908180237, -0.08669759333133698, -0.086018405854702, -0.5191465616226196, 0.7996461987495422, 0.03835611045360565, 0.32589900493621826, -0.030380504205822945, -0.2530440092086792, -0.48891618847846985, 0.19388413429260254, 0.6438171863555908, 0.5431792140007019, -0.22609500586986542, 0.1277138739824295, 0.2470412254333496, -0.5487744212150574, 0.03478800132870674, 0.20113369822502136, -0.29940274357795715, -0.11519114673137665, 0.5792088508605957, 0.9344910979270935, 0.02079714462161064, -0.5119901299476624, 0.734137237071991, -0.02895265258848667, -0.15373264253139496, -0.2798089385032654, 0.2776595652103424, -0.27839139103889465, 0.18718232214450836, 0.7507933378219604, 0.5426289439201355, 0.15729843080043793, -0.6454834342002869, -0.06381090730428696, 0.7518410086631775, -0.10877594351768494, -0.11768777668476105, 0.8492105007171631, -0.08469868451356888, -0.10760872811079025, 0.6739316582679749, -0.19160407781600952, -0.47373974323272705, 0.5034394264221191, 0.814297616481781, 0.9064439535140991, -0.043738409876823425, -0.20087295770645142, 0.12952053546905518, 0.5134272575378418, -0.1868664175271988, 0.4394257962703705, -0.16457994282245636, -0.7445975542068481, -0.7532575726509094, -0.6959222555160522, -0.5708469748497009, 0.026948055252432823, -0.6722400784492493, 0.0235445536673069, -0.7985124588012695, -0.10113547742366791, 0.1623038649559021, -0.05393371358513832, -0.6960670351982117, 0.2193160355091095, 0.18702557682991028, 0.486522912979126, -0.9471756219863892, 0.3836807906627655, 0.7620577812194824, -0.38672420382499695, -0.7361919283866882, 0.1058264747262001, -0.23477382957935333, -1.0508880615234375, 0.8100318312644958, 0.24232217669487, -0.29647862911224365, 0.166598379611969, -0.6828813552856445, -0.8050781488418579, 0.5000432729721069, 0.5306715369224548, -0.6963917016983032, 0.06639504432678223, 0.06758402287960052, 0.5137239098548889, -0.1564909815788269, -0.03753547742962837, 0.13557493686676025, 0.3651406168937683, -0.011019134894013405, -0.6456875205039978, -0.20466342568397522, -0.06921196728944778, -0.07472061365842819, 0.49083784222602844, -0.5082936882972717, 0.9133334159851074, -0.1532411277294159, -0.03040928952395916, -0.2563127279281616, 0.5854736566543579, -0.20012998580932617, 0.42329537868499756, 0.7094581723213196, 0.9779232144355774, 0.3546193838119507, -0.15745870769023895, 1.0722713470458984, -0.4929942190647125, 0.21989235281944275, 0.529752790927887, -0.09287384152412415, 0.7455853223800659, 0.4051172137260437, -0.2561246156692505, 0.7876117825508118, 0.4968471825122833, -0.10660048574209213, 0.37835589051246643, 0.49290168285369873, -0.09879942983388901, -0.4159756302833557, -0.04701727628707886, -0.3650330603122711, 0.6650291085243225, 0.17728838324546814, -0.23941637575626373, -0.16407828032970428, 0.25400683283805847, 0.13544031977653503, -0.03686656057834625, -0.7267706394195557, 0.6496303677558899, -0.026236865669488907, -0.44306889176368713, 0.7051528692245483, -0.1605561375617981, 0.8819626569747925, -0.37285172939300537, 0.09152237325906754, -0.08495081961154938, 0.42846500873565674, -0.2866591513156891, -0.6767185926437378, 0.4668048322200775, -0.5664121508598328, -0.08678395301103592, -0.22048647701740265, 0.6010131239891052, -0.4055543839931488, -0.5450970530509949, 0.3141847848892212, 0.41143155097961426, 0.022123856469988823, -0.06097372993826866, -0.7574449777603149, -0.0317852646112442, -0.48689520359039307, -0.2504246234893799, 0.28522101044654846, 0.13500428199768066, -0.1843044012784958, 0.6937353610992432, 0.6384285688400269, 0.25164052844047546, 0.12404646724462509, 0.05877523869276047, 0.5848950743675232, -0.4148797392845154, -0.2471488118171692, -1.0727057456970215, 0.2772972285747528, 0.03690962865948677, -0.4125874638557434, 0.7303361296653748, 0.8049870729446411, 1.0770004987716675, 0.11877622455358505, 0.5249907374382019, 0.013331227004528046, 0.5402354001998901, -0.5666077136993408, 0.774413526058197, -0.9445735812187195, -0.047434236854314804, -0.4086650013923645, -1.3120886087417603, -0.5771281719207764, 0.5229602456092834, -0.03862215578556061, 0.1133025735616684, 0.6809273958206177, 0.37963083386421204, 0.033402301371097565, -0.5139201283454895, -0.0135604627430439, -0.06970969587564468, 0.12459840625524521, 0.3559592366218567, 0.9253332614898682, -0.36884796619415283, 0.41408053040504456, -0.2861497104167938, -0.03519682586193085, -0.1927899867296219, -0.7312122583389282, -1.148764729499817, -0.6475194096565247, -0.41660216450691223, -0.5952579975128174, 0.06021498143672943, 1.0979511737823486, 0.7308470010757446, -0.9887328743934631, -0.13894610106945038, -0.270135760307312, 0.22579675912857056, -0.5124912261962891, -0.21794448792934418, 0.2886667847633362, -0.41373610496520996, -0.7854855060577393, 0.21309693157672882, 0.19759318232536316, 0.32403475046157837, -0.357258141040802, -0.0002656560973264277, -0.04300340265035629, -0.021121351048350334, 0.3603041172027588, 0.5168605446815491, -0.5266975164413452, -0.07079792767763138, -0.11774440854787827, 0.03265119716525078, 0.19177018105983734, 0.7093100547790527, -0.6992909908294678, 0.1402769684791565, 0.4374343752861023, 0.9595099091529846, 0.2745000422000885, -0.1419176310300827, 0.4575112760066986, -0.7702047228813171, 0.28999271988868713, 0.3819541335105896, 0.45902901887893677, 0.40227383375167847, -0.23747289180755615, 0.19740232825279236, 0.4483932554721832, -0.5047669410705566, -0.959399938583374, 0.09120996296405792, -0.9459235668182373, -0.13584955036640167, 1.0576248168945312, 0.4989052712917328, -0.21531075239181519, -0.0630277469754219, -0.022337427362799644, 0.11294258385896683, -0.3835676908493042, 0.6728596687316895, 0.6186703443527222, -0.3379672169685364, -0.1288415789604187, -0.594382643699646, 0.7076414823532104, 0.8575441837310791, -0.39322441816329956, 0.11159930378198624, 0.1752370297908783, 0.23357152938842773, 0.2718590199947357, -0.032872673124074936, 0.315712571144104, 0.14671315252780914, -0.41041144728660583, 0.14038914442062378, -0.05359154939651489, -0.23958125710487366, -0.39857906103134155, -0.10182017832994461, 0.25207459926605225, -0.30377283692359924 ]
http://arxiv.org/abs/2402.19446v1
http://arxiv.org/pdf/2402.19446v1
ArCHer: Training Language Model Agents via Hierarchical Multi-Turn RL
2024-02-29T18:45:56
2024-02-29T18:45:56
Yifei Zhou, Andrea Zanette, Jiayi Pan, Sergey Levine, Aviral Kumar
cs.LG
cs.LG, cs.AI, cs.CL
A broad use case of large language models (LLMs) is in goal-directed decision-making tasks (or "agent" tasks), where an LLM needs to not just generate completions for a given prompt, but rather make intelligent decisions over a multi-turn interaction to accomplish a task (e.g., when interacting with the web, using tools, or providing customer support). Reinforcement learning (RL) provides a general paradigm to address such agent tasks, but current RL methods for LLMs largely focus on optimizing single-turn rewards. By construction, most single-turn RL methods cannot endow LLMs with the ability to intelligently seek information over multiple turns, perform credit assignment, or reason about their past actions -- all of which are critical in agent tasks. This raises the question: how can we design effective and efficient multi-turn RL algorithms for LLMs? In this paper, we develop a framework for building multi-turn RL algorithms for fine-tuning LLMs, that preserves the flexibility of existing single-turn RL methods for LLMs (e.g., proximal policy optimization), while accommodating multiple turns, long horizons, and delayed rewards effectively. To do this, our framework adopts a hierarchical RL approach and runs two RL algorithms in parallel: a high-level off-policy value-based RL algorithm to aggregate reward over utterances, and a low-level RL algorithm that utilizes this high-level value function to train a token policy within each utterance or turn. Our hierarchical framework, Actor-Critic Framework with a Hierarchical Structure (ArCHer), can also give rise to other RL methods. Empirically, we find that ArCHer significantly improves efficiency and performance on agent tasks, attaining a sample efficiency of about 100x over existing methods, while also improving with larger model capacity (upto the 7 billion scale that we tested on).
[ -0.28494325280189514, -0.6911016702651978, 0.4103509187698364, 0.20762601494789124, 0.08851537853479385, 0.5314794182777405, -0.12072233110666275, -0.2852414548397064, 0.07581673562526703, 0.3672967255115509, -0.8283098936080933, -0.384111225605011, -0.4374442994594574, -0.10766405612230301, 0.10379861295223236, 1.215285301208496, 0.11513915657997131, 0.10995780676603317, 0.06679172068834305, -0.27584308385849, -0.3358933925628662, -0.2717758119106293, -1.1871542930603027, -0.728670597076416, 0.8937744498252869, 0.6292358636856079, 0.7550641894340515, 0.6038578152656555, 0.3635621964931488, 0.36502504348754883, -0.02819008193910122, 0.5717806220054626, -0.5157707929611206, 0.2526822090148926, -0.30983760952949524, -0.3252342641353607, -0.5923542380332947, -0.034450795501470566, 0.5730578899383545, 0.3157728910446167, -0.39136001467704773, 0.17284731566905975, -0.1285255402326584, 0.8025420308113098, -0.5680640339851379, 0.5426705479621887, -0.5440337061882019, 0.2750280797481537, 0.04595205560326576, -0.5980658531188965, -0.7985255122184753, -0.29276323318481445, -0.06610191613435745, -0.5650346875190735, -0.14527514576911926, 0.5426676273345947, 0.6705061197280884, 0.1677922010421753, -0.32469090819358826, -0.24542775750160217, -0.773807942867279, 1.0618292093276978, -0.593021810054779, 0.3003079295158386, 0.2319333553314209, 0.3989063799381256, -0.22458426654338837, -0.55942702293396, -0.3407936096191406, -0.45855167508125305, -0.1513984203338623, -0.052038103342056274, -0.04273419827222824, 0.33294329047203064, 0.17481887340545654, 0.009532337076961994, -0.4349232316017151, 0.26859062910079956, 0.023252543061971664, 0.0934818908572197, 0.6553995013237, 0.33503076434135437, -0.050836723297834396, 0.25162461400032043, -0.17234687507152557, -0.341802716255188, -0.7741973996162415, 0.38885989785194397, 0.36968135833740234, 0.675180971622467, 0.13211962580680847, 0.34197553992271423, -0.1537570059299469, 0.48963668942451477, 0.2559249997138977, -0.5815912485122681, 0.08230697363615036, -0.0486675389111042, -0.017612585797905922, -0.15054510533809662, 0.5541110038757324, 0.005189327523112297, 0.40623119473457336, -0.18694628775119781, -0.42964279651641846, -0.1494879126548767, 0.4409359097480774, -0.7308191657066345, 0.1207108274102211, 0.37456241250038147, -0.445746511220932, -0.4387333393096924, -0.2793676257133484, -0.6678725481033325, -0.38434088230133057, -0.4784533977508545, 0.3650575876235962, -0.26463502645492554, -0.2933855354785919, -0.073137566447258, 0.21242569386959076, 0.5120537877082825, 0.13903699815273285, -0.9926199913024902, 0.4947579503059387, 0.8460760712623596, 0.6356445550918579, -0.18314923346042633, -0.7853614687919617, -1.1241635084152222, 0.006661318242549896, -0.5521199107170105, 0.8122878074645996, -0.6142283082008362, -0.05635826289653778, 0.2795020043849945, -0.22437624633312225, -0.20942942798137665, -0.5833688974380493, 0.12362785637378693, -0.6613757610321045, -0.23400169610977173, 0.20670640468597412, -0.19332903623580933, -0.11454309523105621, 0.47081461548805237, -0.4424838721752167, 0.7390092611312866, -0.2066226452589035, -0.46598803997039795, 0.3070988357067108, -0.5992456078529358, -0.7515403628349304, -0.13707754015922546, -0.2875872254371643, -0.9064894914627075, -0.024263864383101463, 0.39303964376449585, 0.469858318567276, -0.32691237330436707, 0.23107470571994781, -0.13513796031475067, -0.3018482029438019, 0.1675119251012802, -0.245464488863945, 0.38946273922920227, 0.1530468612909317, -0.30098721385002136, 0.7232034802436829, -0.4003790318965912, 0.18328967690467834, 0.12334516644477844, -0.5357798337936401, 0.12405417859554291, 0.3110058605670929, -0.010220721364021301, 0.07317493855953217, -0.027772273868322372, -0.22664378583431244, 0.4334275722503662, -0.23310138285160065, 0.19616203010082245, 0.7650175094604492, -0.04698881879448891, 0.2274959832429886, -0.7442382574081421, 0.7061964273452759, -0.0538337379693985, 0.2787747383117676, -0.16020862758159637, -0.13558068871498108, -0.8918964862823486, -0.3326205313205719, -0.038235120475292206, 0.49493515491485596, -0.8652489185333252, 0.17653939127922058, 0.048338375985622406, -0.44266989827156067, -0.6573372483253479, -0.16394606232643127, 0.6335362195968628, 0.06116316467523575, 0.39468351006507874, 0.03270387649536133, -0.293599396944046, -0.661731481552124, -0.4858122169971466, -0.19498798251152039, 0.4683300256729126, 0.36927682161331177, 0.4675997793674469, -0.1833048313856125, 0.8004803657531738, -0.39800286293029785, -0.41830602288246155, -0.6178264021873474, 0.48265373706817627, 0.09050464630126953, 0.37045562267303467, 0.13658744096755981, -0.7115586400032043, -0.5099502801895142, 0.24164137244224548, -0.5413870811462402, 0.21621178090572357, -0.35997506976127625, 0.1675979346036911, 0.44026800990104675, 0.47651275992393494, -0.6342779397964478, 0.28858715295791626, 0.32801124453544617, -0.2928890287876129, 0.6837981343269348, -0.39705049991607666, 0.11213076114654541, -0.6619688272476196, -0.17438089847564697, -0.12068828195333481, -0.44727030396461487, -0.7455683946609497, 0.24858726561069489, -0.10881521552801132, -0.06668078899383545, -0.5034128427505493, 0.4603194296360016, -0.5395503640174866, -0.32366153597831726, -0.3456539809703827, 0.003034162102267146, -0.31043192744255066, 1.1924479007720947, 0.16014575958251953, 0.7365803718566895, 0.6763219833374023, -0.6136654615402222, 0.363491952419281, -0.05136795714497566, -0.0934549868106842, 0.693985104560852, -0.49356722831726074, 0.2456202656030655, -0.45299193263053894, 0.10110412538051605, -0.6907486915588379, 0.07709475606679916, 0.15012173354625702, -0.3763818144798279, 0.45238932967185974, -0.10066325962543488, -0.2276380956172943, -0.03126915544271469, -0.3312770426273346, 0.41433173418045044, 0.3730774223804474, -0.5855386257171631, 1.0291889905929565, 0.37375783920288086, -0.1449403315782547, -0.7639097571372986, -0.4483916759490967, -0.11896779388189316, -0.22642916440963745, -0.253440260887146, 0.2568904757499695, 0.1698177307844162, -0.12976595759391785, 0.054552361369132996, 0.0014813055749982595, 0.0715387836098671, -0.07232079654932022, 0.07741238921880722, -0.004210110753774643, -0.01761109009385109, 0.18047700822353363, -0.07319816946983337, -0.34801167249679565, -0.16987961530685425, -0.5009176135063171, 0.6058747172355652, -0.5125793218612671, -0.5581183433532715, -0.43092113733291626, 0.3760084807872772, 0.7660849094390869, -0.49886423349380493, 0.7571642994880676, 0.36604276299476624, -0.040450919419527054, -0.5601390600204468, -0.409349650144577, -0.21313592791557312, -0.4007699489593506, 0.6744027137756348, -0.5674163699150085, -0.8170844316482544, 0.3423313498497009, -0.2414475530385971, 0.5238425135612488, 0.13842949271202087, 0.6289559006690979, 0.2180904895067215, 1.3062782287597656, 0.5704910755157471, -0.29872366786003113, 0.5585780143737793, -0.45453569293022156, 0.32874631881713867, -0.6379073858261108, -0.351906955242157, -0.6015899777412415, -0.21049770712852478, -0.5595095157623291, -0.3556734621524811, 0.33911412954330444, -0.22880470752716064, -0.49089744687080383, 0.05602036416530609, -0.16644231975078583, 0.48203712701797485, 0.5081924796104431, -0.0884493738412857, 0.42338886857032776, -0.0749315470457077, -0.05964275076985359, 0.2696201503276825, -0.9077107310295105, -0.3052855134010315, 0.743895947933197, 0.6268276572227478, 1.0866730213165283, 0.1518385112285614, 0.7749357223510742, 0.2950233817100525, 0.24114340543746948, -1.0894489288330078, 0.4686395227909088, 0.05858200415968895, -0.23200690746307373, -0.7795443534851074, -0.3602418005466461, -0.9993454813957214, 0.601425290107727, -0.19241440296173096, -0.3739589750766754, -0.030562574043869972, 0.33171069622039795, -0.2549450993537903, 0.3038308620452881, -0.37623628973960876, 0.8342490792274475, -0.43821749091148376, -0.4144914448261261, -0.5992842316627502, -0.4415483772754669, 0.012945863418281078, 0.23065587878227234, 0.34699925780296326, -0.004790979437530041, 0.16977529227733612, 0.5388421416282654, -0.3157857358455658, 0.7473872303962708, -0.31606850028038025, 0.23636282980442047, 0.21808601915836334, 0.07759194076061249, 1.0210353136062622, -0.03363412246108055, 0.1092723086476326, -0.34741106629371643, -0.08657806366682053, -0.3711051642894745, -0.6529580950737, 0.34299105405807495, -0.9270673990249634, -0.41432005167007446, -0.6680417060852051, -0.6656816601753235, -0.4090302884578705, 0.13346348702907562, -0.23920217156410217, 0.5841814279556274, -0.0068517872132360935, 0.12632110714912415, 0.6118046045303345, -0.07232054322957993, 0.2951745390892029, 0.6206554770469666, -0.5318570137023926, -0.2467980533838272, 1.0009052753448486, -0.17235274612903595, 0.319208025932312, 0.5300225615501404, 0.28147420287132263, -0.2884768545627594, -0.6957035660743713, -0.3005146384239197, 0.23392924666404724, -0.542844831943512, -0.26078468561172485, -0.2754209339618683, -0.3415197730064392, -0.33313655853271484, -0.045085277408361435, -0.5486820936203003, -0.040940698236227036, -0.027045879513025284, -0.0056847077794373035, 0.2699395418167114, 0.8020395636558533, 0.061136238276958466, 0.32289063930511475, -0.3278631865978241, 0.35386714339256287, 0.37822282314300537, 0.3001667559146881, 0.37568214535713196, -0.3672564923763275, -0.39289793372154236, -0.17003293335437775, -0.3270687460899353, -0.4384396970272064, 0.39514636993408203, 0.2757053077220917, 0.6528880596160889, 0.30862224102020264, -0.04645621404051781, 0.6355915665626526, -0.7189640402793884, 0.26589420437812805, 0.0013411755207926035, -0.6559340953826904, 0.23695571720600128, -0.19675374031066895, 0.33636710047721863, 0.4110569357872009, 0.30743494629859924, -0.6801468133926392, -0.5279227495193481, -0.28426051139831543, -0.7698236703872681, 0.959197998046875, -0.12961512804031372, -0.2115693986415863, 0.15143738687038422, 0.1686558574438095, -0.12488124519586563, 0.32090696692466736, -0.8650542497634888, -0.350149929523468, 0.008743676356971264, -0.1442439705133438, -0.1433447152376175, -0.1555316299200058, 0.01687401346862316, -0.08645596355199814, 0.9460112452507019, -0.4402112662792206, 0.13169342279434204, -0.04027754068374634, -0.03982429578900337, -0.0739646926522255, 0.393295556306839, 0.5689238905906677, 0.6099675297737122, -0.055618010461330414, 0.19254620373249054, 0.11496087163686752, -0.07167903333902359, 0.2902679443359375, -0.09324946999549866, -0.07627372443675995, -0.5152819752693176, 0.5952951908111572, 1.14448881149292, 0.1682918667793274, -0.7034550309181213, 0.22283297777175903, -0.024862142279744148, -0.21017946302890778, -0.3216632902622223, -0.031165342777967453, 0.03865128010511398, 0.6236125826835632, 0.3084280490875244, -0.05803503096103668, -0.08265821635723114, -0.8381862044334412, 0.2255871742963791, 0.6171830892562866, -0.38742974400520325, 0.06088784337043762, 0.09372946619987488, 0.0932854562997818, -0.7767431735992432, 0.5912150740623474, -0.41785943508148193, -0.5912104845046997, 0.43915194272994995, 0.5695584416389465, 1.1670141220092773, -0.1342172771692276, 0.48469769954681396, 0.03445896506309509, 0.18809524178504944, -0.11016077548265457, 0.15273040533065796, 0.0039642141200602055, -0.7049171924591064, -0.596774697303772, -0.6246716380119324, -0.6206539869308472, -0.035643234848976135, -0.45059046149253845, -0.005786951165646315, -0.5383375287055969, 0.0296288151293993, -0.1976185292005539, 0.09688328206539154, -0.4834580719470978, -0.1018950343132019, -0.19037564098834991, 0.6795740723609924, -0.6792848706245422, 0.7594225406646729, 0.6512886881828308, -0.29699626564979553, -1.0058420896530151, 0.009515062905848026, 0.003554117865860462, -0.8320642709732056, 0.6225045323371887, 0.006221238058060408, -0.7122371196746826, 0.07741017639636993, -0.2662511169910431, -0.7312951683998108, 1.0226985216140747, -0.03822305053472519, -0.5414043068885803, -0.14156267046928406, 0.15958960354328156, 0.6256396174430847, -0.7583463788032532, 0.28432145714759827, 0.7275220155715942, 0.3869416117668152, 0.41823774576187134, -0.8468825817108154, -0.18497441709041595, 0.050537437200546265, 0.08133255690336227, 0.28226083517074585, -0.7887158989906311, 0.9361178278923035, -0.3955748975276947, 0.0642482340335846, -0.04089656472206116, 0.6531002521514893, 0.5885664224624634, 0.24647532403469086, 0.5623566508293152, 0.3562028110027313, 0.7768881320953369, 0.145417720079422, 0.9304152131080627, -0.17481453716754913, 0.5491642355918884, 0.9818158149719238, -0.38094738125801086, 0.825649082660675, 0.5253601670265198, -0.07529100030660629, 0.442222535610199, 0.49002304673194885, 0.25342726707458496, 0.7255973219871521, 0.4500994384288788, -0.16109028458595276, -0.3047175705432892, -0.1537589430809021, 0.17906874418258667, 0.30944061279296875, 0.19311703741550446, 0.16251173615455627, -0.21074211597442627, 0.14148259162902832, 0.12100810557603836, 0.14924131333827972, -0.5512540936470032, 0.9560540914535522, 0.052836257964372635, -1.0411869287490845, 0.44752106070518494, 0.2643751800060272, 0.5269371271133423, -0.6239628195762634, -0.14370806515216827, -0.3071597218513489, 0.6305657029151917, -0.10537049174308777, -0.4981584846973419, 0.27972304821014404, -0.10335922986268997, -0.05856795608997345, -0.33216428756713867, 0.5349818468093872, -0.5600417256355286, -0.37709537148475647, 0.3451656401157379, 0.35550206899642944, 0.06549733877182007, 0.13644438982009888, -0.7768427729606628, 0.07253127545118332, -0.1370408684015274, -0.40112414956092834, 0.3394060730934143, 0.2671070098876953, -0.15466222167015076, 1.0440785884857178, 0.3441547453403473, 0.40660977363586426, -0.07243404537439346, 0.14184270799160004, 0.6291549801826477, -0.6586753129959106, -0.6097765564918518, -0.7379894256591797, 0.4455685019493103, 0.10941316187381744, -0.15042467415332794, 0.3568620979785919, 0.38234636187553406, 0.7863717079162598, -0.0024292925372719765, 0.6523572206497192, 0.1287306845188141, 0.5573240518569946, -0.7678947448730469, 0.4587690532207489, -0.633689820766449, 0.1869811713695526, -0.04027406498789787, -0.7608340978622437, -0.2405858039855957, 0.7494180202484131, -0.19097857177257538, 0.34259530901908875, 0.8379712700843811, 0.8799824118614197, 0.14114682376384735, -0.19946499168872833, 0.301813006401062, 0.028017282485961914, 0.6896417737007141, 0.6055854558944702, 0.8057509064674377, -0.03241138905286789, 0.4949030876159668, 0.012717599980533123, -0.25854477286338806, -0.3055184483528137, -0.7763671875, -1.11042058467865, -0.4402626156806946, -0.3009611666202545, -0.11167094111442566, 0.36023762822151184, 1.2504791021347046, 0.9318761825561523, -0.8284369707107544, -0.7561602592468262, -0.12988042831420898, 0.48589375615119934, -0.681978702545166, -0.16072137653827667, 0.3469754159450531, -0.8848663568496704, -0.6247791647911072, 0.43245455622673035, 0.3809795677661896, -0.2859327495098114, -0.5124263167381287, -0.5844004154205322, -0.3556167185306549, 0.1390601396560669, 0.7201828956604004, 0.47267594933509827, -0.7864564657211304, -0.46480289101600647, -0.202210932970047, -0.017948145046830177, 0.059320975095033646, 0.9633171558380127, -0.6397455334663391, 0.10719291865825653, 0.2543693780899048, 0.8230865597724915, 0.7543782591819763, 0.0391036756336689, 0.35376858711242676, -0.6663411855697632, 0.18410615622997284, 0.3887939751148224, -0.005149263888597488, 0.0646757110953331, -0.04423093795776367, 0.22318561375141144, -0.10436957329511642, -0.8314676880836487, -0.6487497687339783, 0.5236559510231018, -0.6740347146987915, -0.3664625287055969, 1.0481338500976562, -0.09732268005609512, -0.1506464183330536, -0.1521214097738266, -0.4123256504535675, 0.06491155177354813, -0.5302518010139465, 0.5919610857963562, 0.4584105312824249, -0.5627862811088562, -0.5059258937835693, -0.22636328637599945, 0.8373880982398987, 0.44378337264060974, -0.8840732574462891, 0.24298711121082306, 0.3632994592189789, -0.08995869755744934, 0.11259903758764267, 0.7524118423461914, 0.15179391205310822, 0.2266576737165451, -0.07100827246904373, 0.05246320366859436, -0.3033347427845001, -1.0637214183807373, -0.43632835149765015, 0.220313161611557, 0.7082131505012512, -0.1535167247056961 ]
http://arxiv.org/abs/2403.00854v1
http://arxiv.org/pdf/2403.00854v1
Speaker-Independent Dysarthria Severity Classification using Self-Supervised Transformers and Multi-Task Learning
2024-02-29T18:30:52
2024-02-29T18:30:52
Lauren Stumpf, Balasundaram Kadirvelu, Sigourney Waibel, A. Aldo Faisal
q-bio.NC
q-bio.NC, cs.AI, cs.CL, cs.LG, cs.SD, eess.AS, I.2.7; I.2.1; J.3
Dysarthria, a condition resulting from impaired control of the speech muscles due to neurological disorders, significantly impacts the communication and quality of life of patients. The condition's complexity, human scoring and varied presentations make its assessment and management challenging. This study presents a transformer-based framework for automatically assessing dysarthria severity from raw speech data. It can offer an objective, repeatable, accessible, standardised and cost-effective and compared to traditional methods requiring human expert assessors. We develop a transformer framework, called Speaker-Agnostic Latent Regularisation (SALR), incorporating a multi-task learning objective and contrastive learning for speaker-independent multi-class dysarthria severity classification. The multi-task framework is designed to reduce reliance on speaker-specific characteristics and address the intrinsic intra-class variability of dysarthric speech. We evaluated on the Universal Access Speech dataset using leave-one-speaker-out cross-validation, our model demonstrated superior performance over traditional machine learning approaches, with an accuracy of $70.48\%$ and an F1 score of $59.23\%$. Our SALR model also exceeded the previous benchmark for AI-based classification, which used support vector machines, by $16.58\%$. We open the black box of our model by visualising the latent space where we can observe how the model substantially reduces speaker-specific cues and amplifies task-specific ones, thereby showing its robustness. In conclusion, SALR establishes a new benchmark in speaker-independent multi-class dysarthria severity classification using generative AI. The potential implications of our findings for broader clinical applications in automated dysarthria severity assessments.
[ -0.2966420352458954, -0.537616491317749, 0.07621422410011292, 0.2834867537021637, 0.08053487539291382, 0.11249703168869019, -0.11607686430215836, -0.32461312413215637, 0.3505568206310272, 0.13711751997470856, -0.38085728883743286, -0.19686739146709442, -0.9091378450393677, 0.22482143342494965, -0.2524805963039398, 0.7106029391288757, 0.21430276334285736, 0.1422790139913559, -0.040380626916885376, -0.31662774085998535, -0.5738247632980347, -0.3764425814151764, -0.2967993915081024, -0.36644014716148376, 0.35383591055870056, 0.43869253993034363, 0.655957818031311, 0.46035832166671753, 0.5966582298278809, 0.39158400893211365, -0.12836118042469025, -0.2964017391204834, -0.16403473913669586, 0.3275829553604126, -0.04934246838092804, -0.023626940324902534, -0.6733483076095581, 0.16382764279842377, 0.5116461515426636, 0.9489354491233826, -0.36179471015930176, 0.06167587265372276, 0.13312004506587982, 0.39474308490753174, -0.2810046374797821, 0.32703396677970886, -0.3390659987926483, 0.3197456896305084, -0.24933640658855438, -0.19507139921188354, -0.3581995368003845, 0.12234247475862503, 0.013216993771493435, -0.3696679472923279, 0.4066113233566284, -0.025634346529841423, 0.4443923234939575, 0.7158991098403931, -0.21256092190742493, -0.07197593152523041, -0.6637156009674072, 0.5503315329551697, -0.3663112223148346, 0.6739586591720581, 0.4564562737941742, 0.6205624938011169, -0.07076726108789444, -0.6243390440940857, -0.5568394660949707, -0.4254003167152405, -0.27604225277900696, 0.1685170829296112, -0.6219577789306641, 0.22056181728839874, 0.18548738956451416, 0.7725304365158081, -0.7708275318145752, 0.3535221517086029, -0.5827602744102478, -0.4017964005470276, 0.5573828220367432, 0.0883011668920517, 0.36182379722595215, -0.5319528579711914, -0.11474565416574478, -0.029748521745204926, -0.20803046226501465, 0.13417524099349976, 0.31921979784965515, 0.5590393543243408, -0.30980992317199707, 0.39877238869667053, -0.32590293884277344, 0.5644131898880005, 0.5569136738777161, -0.5068618655204773, 0.4854130148887634, 0.18251556158065796, 0.03853677958250046, 0.3192436695098877, 0.6929644346237183, 0.1022898256778717, -0.2851244807243347, -0.5773373246192932, 0.11081709712743759, 0.29763537645339966, 0.276707261800766, -0.7207499742507935, -0.5798459053039551, 0.28581660985946655, -0.34885480999946594, -0.1971532106399536, -0.1850622445344925, -0.7858946919441223, -0.5101178288459778, -0.4426017701625824, 0.19462503492832184, -0.2646860182285309, -0.507357120513916, -0.041545115411281586, 0.0794774666428566, -0.14813315868377686, 0.129006490111351, -0.8945776224136353, 0.5302072763442993, 0.04155939444899559, 0.6252802610397339, -0.6334565877914429, -0.4224029779434204, -0.8396447896957397, 0.0018006933387368917, -0.12194059044122696, 0.7715831995010376, -0.41802528500556946, -0.35323435068130493, -0.702781617641449, 0.01434546709060669, -0.2817068099975586, -0.5022120475769043, 0.6090987920761108, -0.14101512730121613, 0.28200486302375793, 0.32021042704582214, -0.302713006734848, -0.19140151143074036, -0.08496012538671494, -0.8515943884849548, 0.8053081035614014, 0.37320733070373535, -0.9228084683418274, 0.40126723051071167, -0.5679925680160522, -0.40035510063171387, 0.4720599353313446, -0.3921951353549957, -0.27881577610969543, 0.1580112725496292, 0.22552800178527832, 0.4155932068824768, -0.3301897644996643, 0.699806272983551, -0.0690305307507515, -0.284292608499527, -0.07469876855611801, -0.6893447637557983, 0.2865084409713745, 0.06209861487150192, -0.607471227645874, 0.3350478708744049, -0.9443559050559998, -0.118580661714077, -0.14828434586524963, -0.12297525256872177, -0.08598847687244415, -0.03491118922829628, 0.048572439700365067, 0.42643991112709045, -0.12278426438570023, -0.5739632248878479, -0.003456625621765852, -0.518490731716156, 0.19356803596019745, 0.5900403261184692, -0.09938672184944153, 0.1455070674419403, -0.44285252690315247, 0.5499978065490723, 0.18627113103866577, 0.1825246959924698, 0.08098245412111282, -0.6000360250473022, -0.3829004168510437, -0.6052689552307129, 0.36325162649154663, 0.5345285534858704, -0.36656805872917175, 0.9693040251731873, -0.5941113829612732, -0.5658833980560303, -0.8417697548866272, -0.19134782254695892, 0.15978944301605225, 0.7589252591133118, 0.700527012348175, -0.20252884924411774, -0.19068674743175507, -0.6931911110877991, 0.16056233644485474, -0.1353135108947754, 0.10446189343929291, 0.2805078327655792, 0.17671382427215576, -0.5210462212562561, 0.9574755430221558, -0.10646350681781769, -0.6648898720741272, -0.2659023106098175, 0.27143266797065735, 0.13874341547489166, 0.4440803825855255, 0.1693008989095688, -0.8087927103042603, -0.4725673794746399, 0.16153885424137115, -0.671084463596344, -0.138040691614151, 0.015175930224359035, 0.7196341156959534, 0.09877517819404602, 0.30886873602867126, -0.4419543445110321, 0.758892834186554, 0.7205974459648132, -0.17313502728939056, 0.3639064431190491, -0.31194064021110535, 0.29571908712387085, -0.7924076914787292, 0.24514901638031006, -0.18805478513240814, 0.0039757066406309605, -0.5941099524497986, -0.23059546947479248, -0.18280857801437378, -0.2771642804145813, -0.11439616233110428, 0.39907440543174744, -0.036992352455854416, -0.09073387831449509, -0.2670043706893921, 0.09133919328451157, 0.05753283202648163, 0.5337011814117432, -0.2326008528470993, 0.8108541965484619, 0.9028119444847107, -0.3588898479938507, 0.5778273940086365, 0.29379913210868835, -0.23493121564388275, 0.4106329083442688, -0.7479295134544373, 0.0011293390998616815, -0.08086386322975159, 0.19137464463710785, -1.1114252805709839, -0.22996366024017334, 0.3402450382709503, -0.35690560936927795, 0.7424643039703369, -0.07622803747653961, -0.1462809145450592, -0.5275800228118896, -0.015082568861544132, 0.24389530718326569, 0.11495816707611084, -0.5528090596199036, 0.8212454319000244, 0.48001018166542053, -0.7021945118904114, -0.5326130390167236, -0.5812410712242126, 0.17444957792758942, -0.228817418217659, -0.5798662900924683, 0.8809146881103516, -0.35731199383735657, -0.2659755349159241, -0.07324273139238358, -0.4370284378528595, -0.022245682775974274, -0.008012368343770504, 0.5743346810340881, -0.07958374172449112, 0.08491974323987961, 0.44119226932525635, 0.2777584195137024, -0.4239298105239868, -0.3824312388896942, 0.21501845121383667, 0.42475616931915283, -0.17351968586444855, -0.8232879638671875, -1.007595419883728, 0.5615043044090271, 0.8344486951828003, -0.15753601491451263, -0.07585886865854263, 0.527127206325531, -0.1835116446018219, 0.10907988250255585, -0.7110182642936707, -0.25563931465148926, -0.4495595693588257, 0.4636450409889221, -0.7398614883422852, -0.7053170204162598, 0.5049924254417419, -0.10286010801792145, -0.45942410826683044, 0.6979432106018066, 0.4923701584339142, 0.19388963282108307, 0.9800248742103577, 0.5706087946891785, -0.44744211435317993, 0.02711704559624195, 0.07483281195163727, 0.24008366465568542, -0.5780360698699951, -0.18744945526123047, -0.5644045472145081, -0.16143545508384705, -0.5761354565620422, -0.14793182909488678, 0.3367132842540741, 0.037629906088113785, 0.028774207457900047, -0.0636192262172699, -0.7864279747009277, 0.20031684637069702, 0.08756045997142792, 0.262937068939209, 0.2443452775478363, -0.03325225040316582, -0.035748232156038284, -0.11206656694412231, -0.7459654808044434, -0.2950684726238251, 0.7832632064819336, 0.46742498874664307, 0.8620241284370422, 0.04769247770309448, 0.6125596761703491, 0.8834289908409119, 0.32867565751075745, -0.901874303817749, 0.08817778527736664, -0.2923039197921753, -0.03953845053911209, -0.5478635430335999, -0.5966823697090149, -0.9597319960594177, 0.2208753377199173, 0.17813993990421295, -0.5984990000724792, 0.38810643553733826, -0.14166904985904694, -0.482730895280838, 0.28050559759140015, -0.5302898287773132, 0.9226363301277161, -0.36463674902915955, -0.15809424221515656, -0.28199294209480286, -0.8005281090736389, -0.041816018521785736, -0.14198127388954163, 0.29554060101509094, -0.3858904242515564, 0.3721461594104767, 0.8415269255638123, 0.0023866132833063602, 0.971705973148346, -0.3291456699371338, -0.02678043767809868, -0.06269966065883636, 0.03621084988117218, 0.12351129204034805, 0.008565252646803856, -0.23586465418338776, 0.3270120918750763, -0.00965168233960867, -0.11524201184511185, -0.45161116123199463, 0.7627243399620056, -0.9669323563575745, -0.6186934113502502, -0.5916773080825806, -0.724227249622345, -0.4500512182712555, -0.03872234746813774, 0.07717560231685638, 0.6296687126159668, -0.2536545693874359, 0.06831160187721252, 0.4588756859302521, 0.017584621906280518, 0.43184250593185425, 0.569355309009552, 0.163499653339386, -0.46072137355804443, 0.9773311614990234, 0.12156473100185394, -0.10668475180864334, 0.25154441595077515, 0.46397408843040466, -0.463947057723999, -0.6444617509841919, -0.568873405456543, -0.04977021738886833, -0.7755246162414551, -0.2683400809764862, -0.5154352784156799, -0.19993425905704498, -0.6956661343574524, 0.4074801206588745, -0.0964232087135315, -0.3698500394821167, -0.3244030177593231, -0.187972754240036, 0.2563702464103699, 0.739555835723877, -0.20665858685970306, 0.26491445302963257, -0.544999897480011, 0.6495062112808228, 0.6554543375968933, 0.6093911528587341, -0.17958202958106995, -0.8741552829742432, 0.12045706063508987, -0.019506843760609627, -0.40055546164512634, -0.7862957715988159, 0.39262521266937256, 0.507142186164856, 1.000509262084961, 0.2082514613866806, 0.26796963810920715, 0.6809372305870056, -0.4166431128978729, 0.6455785036087036, 0.3455926477909088, -0.9349932074546814, 0.48107099533081055, 0.06572802364826202, 0.16437850892543793, 0.561434268951416, 0.5499255061149597, -0.44602957367897034, -0.2101963460445404, -0.6147001385688782, -0.6313706636428833, 0.9357975721359253, -0.09919854998588562, -0.13250860571861267, -0.0007049948326312006, 0.1553446650505066, 0.3827560245990753, -0.18529893457889557, -0.5665873885154724, -0.3451397716999054, -0.5293192267417908, -0.22991949319839478, -0.3166084885597229, -0.08610640466213226, -0.26388442516326904, -0.5828643441200256, 0.45677369832992554, -0.35769379138946533, 0.04494654759764671, 0.2568281292915344, -0.33221742510795593, -0.29795315861701965, 0.4234764873981476, 0.3601292371749878, 0.647312581539154, -0.15306687355041504, 0.007749851327389479, 0.2997187077999115, -0.5253579616546631, 0.20121429860591888, 0.637927234172821, 0.3328567445278168, 0.15720678865909576, 0.1061365082859993, 0.8349462747573853, 0.13175296783447266, -0.46110934019088745, 0.9092698693275452, -0.18571676313877106, -0.15775375068187714, -0.012900562025606632, -0.3238781988620758, -0.2769269347190857, 0.23543184995651245, 0.4723253846168518, 0.36532747745513916, 0.19129826128482819, 0.0046708364970982075, 0.5933325290679932, -0.057966746389865875, -0.6536551117897034, -0.4239497184753418, 0.45747971534729004, 0.11125291883945465, -0.18277974426746368, 0.44269153475761414, -0.28536441922187805, -0.1645253300666809, 0.13514961302280426, 0.42751067876815796, 0.8393215537071228, -0.9381455779075623, 0.05115903913974762, -0.13199765980243683, 0.1299632340669632, 0.2383527159690857, 0.1734994500875473, -0.2860657870769501, -0.36147964000701904, -0.45723211765289307, -0.7790535688400269, -0.47020071744918823, -0.004336581565439701, -0.8467176556587219, 0.13762818276882172, -0.08620815724134445, -0.26725831627845764, 0.34708285331726074, -0.1525925099849701, -0.33210498094558716, 0.2427166998386383, 0.13516198098659515, 0.5696521997451782, -0.8530983328819275, 0.8932448029518127, 0.41073209047317505, -0.5513087511062622, -0.4790728688240051, 0.2747735381126404, -0.1743771731853485, -0.4973997175693512, 0.8592844009399414, 0.2703508138656616, -0.28534430265426636, -0.047147974371910095, 0.12641797959804535, -0.7252097725868225, 0.9521605968475342, 0.3845973014831543, -0.48379266262054443, 0.05315161496400833, 0.22123464941978455, 0.41127732396125793, -0.06410210579633713, 0.2305978387594223, 0.4587233364582062, 0.336185097694397, 0.12018472701311111, -1.4165937900543213, -0.014545807614922523, -0.3405905067920685, -0.31728625297546387, 0.01752161793410778, -0.32811713218688965, 0.6925384998321533, -0.11854783445596695, -0.16377362608909607, -0.12344368547201157, 0.5364088416099548, -0.04322760924696922, 0.2629450261592865, 0.4993342459201813, 0.589394748210907, 1.0305200815200806, -0.047488000243902206, 0.6953091025352478, -0.6647170186042786, 0.20364679396152496, 0.8970000147819519, -0.37237611413002014, 0.5874638557434082, 0.3362696170806885, -0.2960212528705597, 0.4270905554294586, 0.16949836909770966, 0.018291272222995758, 0.4089805483818054, 0.5281274318695068, -0.2808194160461426, -0.10705743730068207, -0.11697108298540115, -0.6255161762237549, 0.8380911350250244, 0.3748767375946045, 0.0882420688867569, -0.3077467381954193, 0.3971730172634125, -0.2951977849006653, 0.033649809658527374, -0.17126764357089996, 0.898144543170929, -0.27885809540748596, -0.33657076954841614, 0.7136486768722534, -0.05381610617041588, 0.8083363771438599, -0.751457154750824, 0.11003049463033676, -0.035962533205747604, 0.2973693907260895, -0.32863685488700867, -0.41085824370384216, 0.6220098733901978, -0.14501777291297913, -0.5677993297576904, -0.2883667051792145, 0.5532885193824768, -0.15121108293533325, -0.5009392499923706, 0.3997299373149872, 0.5465227365493774, 0.22927457094192505, -0.20777268707752228, -0.559894323348999, 0.1449417918920517, -0.3014954626560211, 0.04722782224416733, 0.42806991934776306, 0.2812868356704712, -0.03427426517009735, 0.5952891111373901, 0.3065890371799469, 0.057651013135910034, -0.08546293526887894, 0.34502607583999634, 1.0049545764923096, -0.34885916113853455, -0.43910959362983704, -0.4323519170284271, 0.23741422593593597, -0.004225027281790972, -0.28178420662879944, 0.5786707401275635, 0.3796406388282776, 0.41052260994911194, 0.22768059372901917, 0.6829619407653809, -0.17025671899318695, 0.8306919932365417, 0.07213667780160904, 0.9585059881210327, -0.42429453134536743, 0.1065736636519432, -0.24024710059165955, -0.0579695999622345, -0.49591362476348877, 0.5488279461860657, -0.4381207227706909, 0.0721900686621666, 0.48440316319465637, 0.7173711061477661, -0.08893109112977982, 0.17527063190937042, 0.5527698993682861, 0.1476248949766159, 0.26844078302383423, 0.13807722926139832, 0.6956746578216553, -0.27461498975753784, 0.6112160682678223, -0.4904272258281708, -0.5707962512969971, 0.03209302946925163, -0.604438841342926, -0.5748549103736877, -0.5990995168685913, -0.5662493109703064, -0.0510268397629261, 0.11862361431121826, 0.8570985198020935, 0.8755909204483032, -0.9192315340042114, -0.20979315042495728, 0.05717368423938751, -0.0964631587266922, -0.5039510726928711, -0.1924510896205902, 0.7893924713134766, -0.4629542827606201, -0.33080512285232544, 0.9418020844459534, 0.3463156819343567, 0.08031806349754333, -0.24663516879081726, -0.14469310641288757, 0.1487589329481125, -0.6312355995178223, 0.44554734230041504, 0.15146571397781372, -0.9997490644454956, -0.15602028369903564, -0.058937571942806244, -0.030711296945810318, 0.1870572715997696, 0.564581036567688, -0.9351954460144043, 0.5531681776046753, 0.13524538278579712, 0.5594366192817688, 0.2968410849571228, -0.07944232225418091, 0.07214914262294769, -0.7516384720802307, 0.223848357796669, 0.5546528100967407, 0.37575218081474304, 0.47816288471221924, -0.31046685576438904, -0.017867716029286385, 0.5509809851646423, -0.44140660762786865, -0.6793361902236938, -0.059735007584095, -1.1654328107833862, -0.2923140823841095, 0.7625157237052917, -0.16305944323539734, 0.20416496694087982, -0.4819743037223816, -0.2676570415496826, 0.1713152825832367, -0.2558615505695343, 1.0511081218719482, 0.13448524475097656, -0.44742220640182495, -0.020194819197058678, -0.2757759988307953, 0.4280625581741333, 0.1745179146528244, -0.6171552538871765, 0.26366034150123596, 0.4019007682800293, 0.17099647223949432, 0.38533875346183777, 0.49584487080574036, -0.16989782452583313, 0.2804614007472992, 0.07577628642320633, 0.2461882382631302, -0.20833732187747955, -0.5300040245056152, -0.5606468319892883, 0.4539729654788971, -0.11116264760494232, -0.15650655329227448 ]
http://arxiv.org/abs/2402.19431v1
http://arxiv.org/pdf/2402.19431v1
Compositional API Recommendation for Library-Oriented Code Generation
2024-02-29T18:27:27
2024-02-29T18:27:27
Zexiong Ma, Shengnan An, Bing Xie, Zeqi Lin
cs.SE
cs.SE, cs.AI, cs.CL
Large language models (LLMs) have achieved exceptional performance in code generation. However, the performance remains unsatisfactory in generating library-oriented code, especially for the libraries not present in the training data of LLMs. Previous work utilizes API recommendation technology to help LLMs use libraries: it retrieves APIs related to the user requirements, then leverages them as context to prompt LLMs. However, developmental requirements can be coarse-grained, requiring a combination of multiple fine-grained APIs. This granularity inconsistency makes API recommendation a challenging task. To address this, we propose CAPIR (Compositional API Recommendation), which adopts a "divide-and-conquer" strategy to recommend APIs for coarse-grained requirements. Specifically, CAPIR employs an LLM-based Decomposer to break down a coarse-grained task description into several detailed subtasks. Then, CAPIR applies an embedding-based Retriever to identify relevant APIs corresponding to each subtask. Moreover, CAPIR leverages an LLM-based Reranker to filter out redundant APIs and provides the final recommendation. To facilitate the evaluation of API recommendation methods on coarse-grained requirements, we present two challenging benchmarks, RAPID (Recommend APIs based on Documentation) and LOCG (Library-Oriented Code Generation). Experimental results on these benchmarks, demonstrate the effectiveness of CAPIR in comparison to existing baselines. Specifically, on RAPID's Torchdata-AR dataset, compared to the state-of-the-art API recommendation approach, CAPIR improves recall@5 from 18.7% to 43.2% and precision@5 from 15.5% to 37.1%. On LOCG's Torchdata-Code dataset, compared to code generation without API recommendation, CAPIR improves pass@100 from 16.0% to 28.0%.
[ -0.5499197840690613, -0.35235658288002014, 0.39510953426361084, 0.3136160671710968, -0.1357559859752655, 0.253981351852417, -0.36896055936813354, -0.35801777243614197, 0.08245760947465897, 0.5788908004760742, -0.4850521683692932, -0.8794767260551453, -0.2745536267757416, -0.11924148350954056, -0.12212531268596649, 0.9988367557525635, -0.10670739412307739, -0.14224649965763092, -0.3451046943664551, -0.005627412348985672, -0.9778768420219421, -0.19843070209026337, -0.4111231863498688, -0.6318240761756897, 0.7218080759048462, 0.432041734457016, 0.3251306712627411, 0.846688449382782, 0.47938162088394165, 0.1953873485326767, -0.05157865211367607, 0.3929901719093323, -0.30133312940597534, 0.1605496108531952, 0.03630409017205238, -0.4636313319206238, -0.42256733775138855, -0.3618004024028778, -0.010501565411686897, 0.6465163230895996, -0.04060548171401024, 0.30625787377357483, 0.12628114223480225, 0.9188791513442993, -0.5963186025619507, 0.3437856137752533, -0.5870770812034607, 0.2690543532371521, -0.07121845334768295, -0.44041019678115845, -0.293712317943573, -0.3758467137813568, 0.33638155460357666, -0.538676381111145, 0.062449611723423004, 0.5122517943382263, 0.2605057656764984, 0.22674430906772614, -0.04319044575095177, -0.684998095035553, -0.6789374947547913, 1.0428016185760498, -0.5295414328575134, 0.23011164367198944, 0.5418301820755005, -0.05459901690483093, -0.16939987242221832, -0.6473531126976013, -0.026718728244304657, -0.2624663710594177, 0.03564462810754776, -0.19332368671894073, -0.036759935319423676, -0.030016057193279266, 0.14512288570404053, 0.6322100162506104, -0.6651135683059692, -0.04157984256744385, -0.4887084364891052, -0.3353305160999298, 0.21932190656661987, 0.195626363158226, 0.2106243073940277, 0.005638534668833017, -0.34777429699897766, 0.224397674202919, -0.7622318267822266, 0.12054800987243652, 0.5104907751083374, 0.6062908172607422, 0.032558418810367584, 0.4751952886581421, -0.18656817078590393, 0.5412353873252869, 0.26369091868400574, -0.23841184377670288, 0.4567948877811432, -0.1647419035434723, 0.030341459438204765, -0.07659614086151123, 0.6555895209312439, 0.49891284108161926, 0.1906745284795761, -0.47674450278282166, -0.4085933268070221, -0.059385817497968674, 0.35522937774658203, -0.725021481513977, -0.13300146162509918, 0.3601338267326355, -0.4983935058116913, -0.04613342881202698, -0.1615297645330429, -0.40408390760421753, -0.3122290372848511, -0.5830797553062439, 0.07949265837669373, -0.5083625912666321, 0.1324397474527359, -0.1367509514093399, -0.07511577010154724, 0.3210110664367676, -0.06961585581302643, -0.8725429773330688, 0.20870645344257355, 0.8916024565696716, 0.9253541231155396, -0.3034433424472809, -0.4057577848434448, -0.5048224329948425, 0.039069484919309616, -0.14877454936504364, 1.1531517505645752, -0.5121618509292603, -0.38752105832099915, 0.30011430382728577, -0.14468920230865479, 0.4385421872138977, -0.9440701007843018, 0.6738017797470093, -0.42091554403305054, -0.3998467028141022, -0.5331976413726807, -0.5721584558486938, 0.25040438771247864, 0.3121168911457062, -0.621523380279541, 1.0359458923339844, 0.24834124743938446, -0.6668375134468079, 0.681359589099884, -0.5426486134529114, -0.6141895651817322, 0.25975608825683594, -0.274799644947052, -0.24950750172138214, -0.04680484160780907, 0.2830688953399658, 0.18631981313228607, -0.43707919120788574, 0.31472131609916687, -0.30097663402557373, -0.5609331130981445, 0.05851879343390465, 0.1195434108376503, 0.08978462219238281, 0.5189673900604248, -0.2182023823261261, 0.14549414813518524, -0.6935046315193176, 0.1607665717601776, -0.36682191491127014, -0.6418221592903137, -0.2822366952896118, 0.1286105066537857, 0.09236495196819305, -0.15867449343204498, 0.3143742084503174, -0.3515456020832062, 0.13806700706481934, -0.4974499046802521, 0.5011370778083801, 0.7676738500595093, -0.05237094685435295, 0.7013115882873535, -0.8098064661026001, 0.3603964149951935, -0.36070963740348816, 0.17082715034484863, -0.2922530174255371, -0.17450392246246338, -0.7438961863517761, -0.34173792600631714, 0.003630464430898428, 0.4842144250869751, -0.5942454934120178, 0.6665146350860596, 0.03968073055148125, -0.3775547444820404, -0.1902713179588318, 0.626224160194397, 0.650287389755249, 0.2908109128475189, 0.3188895881175995, -0.28908559679985046, -0.8705469965934753, -0.6301348805427551, -0.14423567056655884, -0.20837798714637756, -0.07545074820518494, 0.6369665861129761, 0.08007414638996124, -0.43680936098098755, 1.010022759437561, -0.5693926811218262, -0.34952130913734436, -0.15059790015220642, 0.10012439638376236, 0.3926539719104767, 0.3946478068828583, 0.3558236360549927, -0.3540298640727997, -0.3180692493915558, -0.13498306274414062, -0.5498828291893005, -0.3656269311904907, 0.27148717641830444, -0.2942463159561157, 0.00039345084223896265, 0.4689381420612335, -0.23363687098026276, -0.002490052953362465, 0.3307783603668213, -0.07318141311407089, 0.4751553535461426, -0.30100300908088684, -0.0694413036108017, -1.0085340738296509, 0.14204715192317963, -0.1523880660533905, -0.14043334126472473, -0.3415084481239319, 0.23413915932178497, -0.15121199190616608, -0.04286148399114609, -0.4308628737926483, 0.6536392569541931, -0.2310795783996582, 0.029469147324562073, -0.488480806350708, -0.17861387133598328, -0.04611004516482353, 0.5252701044082642, -0.21219998598098755, 0.7389611005783081, 0.5675340890884399, -0.6473281383514404, 0.39579832553863525, 0.21060995757579803, -0.34531405568122864, 0.4795410633087158, -0.7459269165992737, 0.1948024183511734, 0.24697087705135345, 0.25873973965644836, -0.8855818510055542, 0.0819779559969902, -0.0388907790184021, -0.02779361978173256, -0.014592732302844524, -0.3525775074958801, -0.6091435551643372, -0.33302220702171326, -0.5914615392684937, 0.6239573359489441, 0.4819931387901306, -0.5823444128036499, 0.6789031028747559, 0.2117345631122589, -0.10358364135026932, -0.7849774360656738, -0.9109364748001099, -0.09961921721696854, -0.11218515783548355, -0.4445066750049591, 0.39802348613739014, -0.5363978147506714, -0.09985115379095078, -0.05479181185364723, -0.3222014307975769, 0.09499199688434601, -0.29473641514778137, 0.7849476933479309, 0.3104211986064911, -0.15131333470344543, 0.13351304829120636, -0.13179729878902435, -0.0846957266330719, 0.07902779430150986, -0.463897705078125, 0.8059408068656921, -0.31670406460762024, -0.37189334630966187, 0.04436443746089935, 0.2057565599679947, 0.5687418580055237, -0.14279799163341522, 0.17775015532970428, 0.7285925149917603, 0.040610168129205704, -0.4761561453342438, -0.8517088890075684, 0.11614911258220673, -0.44997456669807434, -0.08353114128112793, -0.34608232975006104, -1.0032378435134888, 0.8110440969467163, -0.21325401961803436, 0.15496264398097992, 0.05339248478412628, 0.7797689437866211, 0.11719631403684616, 0.29884374141693115, 0.43099597096443176, -0.3730107247829437, 0.6920984983444214, -0.5393506288528442, 0.15851958096027374, -0.9233103394508362, -0.24553079903125763, -0.2590946853160858, -0.36259275674819946, -0.5567768812179565, -0.2666635513305664, 0.07460427284240723, -0.11477179825305939, -0.24100786447525024, 0.30933526158332825, -0.6343469619750977, 0.7775198817253113, 0.8170105218887329, 0.25438547134399414, 0.25050660967826843, 0.18889088928699493, -0.1529334932565689, 0.4162681996822357, -0.45042166113853455, -0.27920034527778625, 1.397252082824707, 0.11769477277994156, 1.0363410711288452, -0.05187813192605972, 0.9257754683494568, 0.7290711402893066, 0.08611687272787094, -0.9123407006263733, 0.4096836447715759, -0.3547382056713104, -0.3983190357685089, 0.058342210948467255, -0.27352818846702576, -1.0181328058242798, -0.23380246758460999, -0.08946650475263596, -0.36145055294036865, 0.22945381700992584, 0.020955592393875122, -0.5183913111686707, 0.02339037135243416, -0.6924588680267334, 0.5447507500648499, -0.07336249202489853, -0.2740025520324707, 0.07346650213003159, -0.34240296483039856, 0.23915335536003113, -0.17731893062591553, 0.2682775855064392, -0.18853148818016052, -0.0955871120095253, 0.4672095775604248, -0.6022495627403259, 0.7650811672210693, -0.18354929983615875, -0.07869789004325867, 0.6785680055618286, 0.12130104750394821, 0.35407745838165283, 0.12539972364902496, -0.12727780640125275, 0.06300104409456253, -0.017125915735960007, -0.25716808438301086, -0.33754974603652954, 1.1003865003585815, -0.9000276923179626, -0.29021817445755005, -0.10764308273792267, -0.8332726359367371, -0.11831851303577423, 0.2211589217185974, 0.2588163912296295, 0.6203559637069702, 0.07298613339662552, 0.12612533569335938, 0.7282123565673828, -0.2349502593278885, 0.4913696050643921, 0.35826075077056885, -0.3116697371006012, -0.7534326314926147, 1.0028103590011597, -0.13069771230220795, -0.08855830878019333, 0.23784881830215454, 0.26433882117271423, -0.21900244057178497, -0.6430985331535339, -0.178953155875206, 0.114833764731884, -0.6587597727775574, -0.5569049119949341, -0.41071179509162903, -0.08642985671758652, -0.200614333152771, -0.4271327555179596, -0.3134920001029968, 0.06427933275699615, -0.27525681257247925, 0.24159471690654755, 0.37679821252822876, 0.4641048014163971, 0.12233834713697433, 0.15792584419250488, -0.49851441383361816, 0.38637498021125793, 0.23604117333889008, 0.6744260787963867, -0.028906673192977905, -0.4244450032711029, -0.3082349896430969, -0.5126553177833557, -0.21858413517475128, -0.10706263035535812, 0.12841370701789856, 0.043292753398418427, 0.5733550786972046, 0.2680603265762329, 0.2792012393474579, 0.6464143991470337, -0.568400502204895, 0.607815682888031, 0.02409157156944275, -0.730675995349884, 0.4790160655975342, -0.3157048523426056, 0.4727466106414795, 0.7326365113258362, -0.012655862607061863, -0.01568670943379402, -0.5619244575500488, -0.06588196754455566, -1.2217681407928467, 0.5912058353424072, -0.01085425354540348, 0.23850293457508087, -0.04829452186822891, 0.6019384860992432, 0.29683592915534973, 0.20425452291965485, -0.608061671257019, -0.2704453468322754, 0.12507377564907074, -0.12176147103309631, 0.3056928515434265, -0.25568997859954834, -0.16828826069831848, 0.14632411301136017, 0.31574949622154236, -0.11642364412546158, 0.17921055853366852, 0.09353004395961761, 0.036013856530189514, -0.200557678937912, 0.3899151682853699, 0.3794993460178375, 0.8925540447235107, -0.4714357554912567, 0.16090551018714905, -0.014657215215265751, -0.3660550117492676, 0.043144095689058304, 0.02839026413857937, -0.06961088627576828, -0.2416904717683792, 0.4112268090248108, 0.4951939582824707, 0.1564367711544037, -1.1013118028640747, 0.46954914927482605, -0.02787492796778679, -0.16464224457740784, -0.3543408215045929, 0.0755651518702507, -0.052631109952926636, 0.5292466282844543, 0.4865167438983917, 0.14136599004268646, 0.1590835601091385, -0.5868484973907471, 0.14313238859176636, 0.3310701549053192, -0.12031753361225128, 0.002446468686684966, 0.20058020949363708, 0.3064626455307007, -0.26587313413619995, 0.18985772132873535, -0.3323676884174347, -0.10225993394851685, 0.2882746458053589, 0.4903479218482971, 0.9350215792655945, 0.152457594871521, -0.05221998319029808, 0.14276036620140076, 0.12778498232364655, -0.23298907279968262, 0.27632126212120056, -0.37602511048316956, -0.4186619222164154, -0.5371779799461365, -0.8555384278297424, -0.3941744565963745, 0.12030279636383057, -0.49659621715545654, 0.29605740308761597, -0.7687304019927979, -0.21406440436840057, -0.21755163371562958, 0.05081913247704506, -0.6376743316650391, -0.11458175629377365, 0.11813866347074509, 0.6681752800941467, -0.5833648443222046, 0.4524949789047241, 0.6143276691436768, -0.6091111302375793, -0.7623808979988098, 0.046674784272909164, -0.1392936110496521, -0.6904833316802979, 0.7108193039894104, -0.05318630114197731, -0.1866254210472107, -0.47150471806526184, -0.2095460295677185, -0.6829352378845215, 1.1532353162765503, 0.38344940543174744, -0.4421769976615906, -0.07680366933345795, 0.15102238953113556, 0.5499892830848694, -0.6299716830253601, 0.3626178503036499, 0.4267205595970154, 0.24386008083820343, 0.4268488585948944, -0.8264554142951965, 0.10064814984798431, -0.120934396982193, 0.31047287583351135, 0.10858485847711563, -0.6616918444633484, 0.9336112141609192, -0.018129421398043633, 0.12232013791799545, 0.3698523938655853, 0.29905256628990173, 0.558286726474762, 0.6452777981758118, 0.38750752806663513, 0.4803953766822815, 0.4567064940929413, 0.15744371712207794, 0.8637598752975464, -0.6946173906326294, 0.0917375236749649, 1.2008280754089355, -0.3608529567718506, 0.8840565085411072, 0.4769594371318817, -0.19386813044548035, 0.6100612282752991, 0.6046826839447021, -0.3127564489841461, 0.5626765489578247, 0.3617686331272125, -0.07808884233236313, 0.11736708879470825, -0.29286861419677734, -0.3660719096660614, 0.23899026215076447, -0.13555017113685608, -0.438037246465683, -0.15500524640083313, 0.0635419711470604, -0.09053108841180801, 0.001906661200337112, -0.3780437111854553, 0.8894507884979248, -0.15762311220169067, -0.6954529285430908, 0.7137722373008728, -0.15175214409828186, 0.7861664295196533, -0.42818862199783325, 0.0039054397493600845, -0.5507788062095642, 0.3464793264865875, -0.46525388956069946, -0.5815573334693909, 0.11986424773931503, 0.1695098578929901, -0.6161900758743286, -0.15453870594501495, 0.6918463110923767, -0.23561300337314606, -0.38838839530944824, 0.30101343989372253, 0.6161801815032959, 0.014298253692686558, -0.10385418683290482, -0.4382636845111847, 0.3780607283115387, -0.03647416830062866, 0.0982075110077858, 0.36506015062332153, 0.5057955980300903, 0.29592713713645935, 0.6905419230461121, 0.704042375087738, 0.16927218437194824, -0.01711033470928669, 0.20419630408287048, 1.2189445495605469, -0.5147114992141724, -0.3053773045539856, -0.7132796049118042, 0.17297455668449402, 0.42104417085647583, -0.1296454519033432, 0.573875367641449, 0.9903813600540161, 0.8171137571334839, -0.1842038482427597, 0.7702551484107971, -0.15012647211551666, 0.339310884475708, -0.41880306601524353, 0.26805293560028076, -0.2333812415599823, 0.8563724160194397, -0.2681715190410614, -1.4377819299697876, -0.45253369212150574, 0.09561328589916229, -0.34632375836372375, 0.11060073226690292, 0.6020034551620483, 0.9068685173988342, -0.011326702311635017, -0.3456905782222748, 0.09470944106578827, -0.25013697147369385, 0.35510164499282837, 0.729344367980957, 0.8750341534614563, -0.1863774061203003, 1.0251330137252808, -0.0049085733480751514, -0.2173912227153778, -0.31369665265083313, -0.7061285376548767, -1.0513101816177368, -0.3493511974811554, -0.25313860177993774, -0.3288676142692566, 0.013921316713094711, 1.1722307205200195, 0.8494781255722046, -0.7452822327613831, -0.4504241943359375, -0.3932187259197235, -0.03454101085662842, -0.12889741361141205, -0.21167942881584167, 0.24511633813381195, -0.8401039838790894, -0.6048803925514221, 0.4054091274738312, 0.3178170323371887, -0.3615679442882538, -0.3856259286403656, -0.27089357376098633, 0.09350921213626862, 0.086951345205307, 0.6509102582931519, 0.3499945402145386, -1.0382413864135742, -0.04495542123913765, -0.04953011870384216, -0.004189607221633196, 0.029572945088148117, 1.1789731979370117, -0.7619937062263489, 0.41086533665657043, 0.3738400638103485, 0.7232000231742859, 0.36277952790260315, -0.08849366009235382, 0.1063029021024704, -0.8773788213729858, 0.023076316341757774, 0.07176590710878372, 0.286788672208786, 0.11488725244998932, -0.19008880853652954, 0.4927558898925781, 0.06945034861564636, -0.9073961973190308, -0.6936843395233154, 0.1156943142414093, -1.2025599479675293, -0.15898774564266205, 1.3151133060455322, -0.30820924043655396, -0.2969166040420532, -0.07144862413406372, -0.5126749277114868, -0.062486253678798676, -0.855999231338501, 0.7645047307014465, 0.6034036874771118, -0.323195219039917, -0.014163403771817684, -0.23354242742061615, 0.1210973709821701, 0.03627561032772064, -0.5621029734611511, 0.2583276629447937, 0.5758418440818787, 0.36086055636405945, 0.2771705389022827, 0.3728262782096863, -0.007153660524636507, -0.02778463065624237, 0.002779476810246706, 0.16589140892028809, -0.34703394770622253, -0.09345142543315887, 0.11147116124629974, 0.23476174473762512, 0.5013351440429688, -0.000983239384368062 ]
http://arxiv.org/abs/2402.19427v1
http://arxiv.org/pdf/2402.19427v1
Griffin: Mixing Gated Linear Recurrences with Local Attention for Efficient Language Models
2024-02-29T18:24:46
2024-02-29T18:24:46
Soham De, Samuel L. Smith, Anushan Fernando, Aleksandar Botev, George Cristian-Muraru, Albert Gu, Ruba Haroun, Leonard Berrada, Yutian Chen, Srivatsan Srinivasan, Guillaume Desjardins, Arnaud Doucet, David Budden, Yee Whye Teh, Razvan Pascanu, Nando De Freitas, Caglar Gulcehre
cs.LG
cs.LG, cs.CL
Recurrent neural networks (RNNs) have fast inference and scale efficiently on long sequences, but they are difficult to train and hard to scale. We propose Hawk, an RNN with gated linear recurrences, and Griffin, a hybrid model that mixes gated linear recurrences with local attention. Hawk exceeds the reported performance of Mamba on downstream tasks, while Griffin matches the performance of Llama-2 despite being trained on over 6 times fewer tokens. We also show that Griffin can extrapolate on sequences significantly longer than those seen during training. Our models match the hardware efficiency of Transformers during training, and during inference they have lower latency and significantly higher throughput. We scale Griffin up to 14B parameters, and explain how to shard our models for efficient distributed training.
[ -0.35846567153930664, -0.6161988973617554, 0.22706009447574615, 0.4769148826599121, -0.04640805348753929, 0.2891922891139984, -0.010619412176311016, -0.4994017779827118, 0.2565264105796814, 0.41114386916160583, -0.44754382967948914, 0.09297057241201401, -0.7831130623817444, 0.061411622911691666, -0.4143112599849701, 0.9991262555122375, 0.08170332759618759, 0.0026932447217404842, 0.22089819610118866, -0.4411793649196625, -0.1569606214761734, -0.6418805122375488, -0.991460919380188, -0.6772655844688416, 0.9558039307594299, -0.007897766306996346, 0.7978050112724304, 0.9261549711227417, 0.588401734828949, 0.3250199258327484, -0.39268773794174194, 0.2525143623352051, -0.693428099155426, 0.2502959966659546, -0.08154170215129852, -0.2897157073020935, -0.28778064250946045, -0.13946162164211273, 0.6321010589599609, 0.89946448802948, -0.17730681598186493, 0.12409204244613647, -0.031075360253453255, 0.5958408117294312, -0.4536283612251282, 0.06057268753647804, -0.6731498837471008, 0.5314667224884033, -0.11788331717252731, 0.030193820595741272, -0.15166252851486206, -0.3704593777656555, 0.1503492146730423, -0.5918242931365967, 0.29631057381629944, 0.024304363876581192, 0.6077976822853088, 0.1983427256345749, -0.19285808503627777, 0.2333422154188156, -0.8291252255439758, 1.2523552179336548, -0.7771944403648376, 0.3477088510990143, -0.037183381617069244, 0.11945194751024246, -0.527420163154602, -1.2576404809951782, -0.6078794598579407, -0.09467407315969467, 0.12736867368221283, 0.0374913215637207, -0.41151437163352966, 0.1552092283964157, 0.537006676197052, 0.6528187990188599, -0.2899104952812195, -0.05569474771618843, -0.3410489559173584, -0.09889301657676697, 0.5409901738166809, 0.2933281660079956, 0.02426193654537201, 0.07881371676921844, -0.3485550284385681, -0.0008684989297762513, -0.3606342673301697, 0.4708058536052704, 0.12980563938617706, 0.4711947441101074, 0.055246494710445404, 0.5408373475074768, -0.13585032522678375, 0.9416155219078064, 0.5046800971031189, -0.3378821909427643, 0.16055350005626678, -0.23024706542491913, -0.15680432319641113, -0.1992223560810089, 0.892684280872345, -0.013408634811639786, 0.12921154499053955, -0.41941532492637634, -0.24976111948490143, -0.016852160915732384, 0.37205934524536133, -0.5050758719444275, -0.13219375908374786, 0.18400277197360992, -0.5865905284881592, -0.2701399326324463, -0.13935256004333496, -0.7479134798049927, -0.41763758659362793, -0.46139413118362427, 0.3488655686378479, 0.028371457010507584, -0.2458205670118332, 0.31777477264404297, -0.176137775182724, 0.2699528932571411, 0.08516530692577362, -0.9998369812965393, 0.38510996103286743, 0.9674201607704163, 1.1111708879470825, -0.05746091529726982, -0.36603251099586487, -1.0532939434051514, -0.1798122525215149, -0.18066677451133728, 0.5057258605957031, -0.8061490654945374, -0.29070645570755005, -0.23011335730552673, -0.12600722908973694, -0.21308930218219757, -0.49003785848617554, 0.29853489995002747, -0.36966535449028015, -0.19238433241844177, -0.11408593505620956, -0.2754928469657898, -0.3945598006248474, -0.21472148597240448, -0.6534889340400696, 1.3066871166229248, 0.36460381746292114, -0.8741326928138733, 0.08442956209182739, -0.3434491753578186, -0.8030366897583008, -0.06466857343912125, -0.08215220272541046, -0.31198862195014954, 0.09249123185873032, 0.30018341541290283, 0.5481275320053101, -0.17205195128917694, 0.2149457037448883, -0.5797463655471802, -0.4374779164791107, 0.08236974477767944, -0.17773830890655518, 0.5065062642097473, 0.5619333982467651, -0.5489324331283569, 0.20582176744937897, -0.7574111819267273, 0.029511667788028717, -0.035167671740055084, -0.36883416771888733, 0.007659477181732655, -0.08020006120204926, -0.21867045760154724, 0.029379907995462418, 0.02322561666369438, -0.5333606004714966, 0.34488916397094727, -0.42530789971351624, 0.8394196033477783, 0.4991401433944702, -0.2089352160692215, 0.5587080121040344, -0.5301341414451599, 0.8285037875175476, 0.008478053845465183, 0.19198118150234222, -0.15542499721050262, -0.7442848086357117, -0.9175963401794434, -0.36107948422431946, 0.17214897274971008, 0.4836551547050476, -0.5412626266479492, 0.22426098585128784, -0.15676698088645935, -0.46882903575897217, -0.6946218609809875, 0.26179251074790955, 0.3090243637561798, 0.3320581614971161, 0.11172357946634293, -0.5546196103096008, -0.5811250805854797, -0.8253958225250244, -0.41826504468917847, 0.14431960880756378, -0.034559350460767746, 0.5850164890289307, 0.1440156251192093, -0.36176663637161255, 0.9001337885856628, -0.0229605995118618, -0.028119536116719246, -0.7326655387878418, 0.47946232557296753, 0.42025622725486755, 0.19381187856197357, 0.18135316669940948, -0.41649606823921204, -0.16769343614578247, 0.4101291000843048, -0.5696136355400085, -0.009019127115607262, -0.43651267886161804, 0.1118667796254158, -0.2264833152294159, 0.3323262929916382, -0.46942654252052307, 0.23661929368972778, 0.6475932002067566, 0.1601952165365219, 0.021199772134423256, -0.055745501071214676, -0.10628527402877808, -0.8498731851577759, -0.10530396550893784, 0.19618675112724304, -0.49119454622268677, -0.7345482707023621, 0.20365415513515472, -0.19542363286018372, -0.34804803133010864, -0.33010566234588623, 0.28286319971084595, -0.4043201804161072, -0.5695704221725464, -0.33158236742019653, 0.24968954920768738, 0.026574064046144485, 0.7557709813117981, 0.10353929549455643, 0.8316321969032288, 0.4775526225566864, -0.6880496740341187, 0.6167510747909546, 0.007476813159883022, -0.27323979139328003, -0.2327543944120407, -0.8806899189949036, 0.33110731840133667, -0.12329299747943878, 0.4295685589313507, -0.6257996559143066, 0.0196301881223917, 0.16477686166763306, -0.30142343044281006, 0.26238787174224854, -0.20168611407279968, -0.14884573221206665, -0.5415575504302979, -0.22956445813179016, 0.7668783664703369, 0.46842148900032043, -0.7508659958839417, 0.8181660771369934, 0.4024268388748169, -0.18279050290584564, -0.6933737993240356, -0.6615293025970459, 0.10816505551338196, -0.12957154214382172, -0.6674584746360779, 0.16857856512069702, 0.5250799655914307, -0.24403157830238342, -0.14243517816066742, 0.0596010759472847, -0.015590391121804714, -0.032163284718990326, 0.23474115133285522, -0.29384303092956543, -0.49005699157714844, -0.15998174250125885, -0.2903274893760681, -0.18095462024211884, -0.26867225766181946, -0.47444647550582886, 0.5213754773139954, -0.38426268100738525, -0.2559811472892761, -0.6340996026992798, 0.6120410561561584, 0.755204975605011, -0.5277425050735474, 0.659749448299408, 0.4690207839012146, -0.24773922562599182, -0.359989196062088, -0.3948562741279602, -0.2501618564128876, -0.4377673268318176, 0.24294143915176392, -0.2988685369491577, -1.001143217086792, 0.7108793258666992, -0.1593993604183197, 0.24911515414714813, 0.15892843902111053, 0.24992115795612335, 0.10424375534057617, 1.001922607421875, 0.4474446475505829, -0.4240086078643799, 0.6063149571418762, -0.3465997576713562, 0.5875699520111084, -1.0324153900146484, -0.15133507549762726, -0.3673990070819855, -0.6087379455566406, -0.532899022102356, -0.5815862417221069, -0.018778594210743904, 0.19060547649860382, -0.4777900278568268, 0.28169772028923035, -0.5490124225616455, 0.39903292059898376, 0.8145257234573364, 0.009978332556784153, 0.12687049806118011, 0.10058220475912094, -0.1438465565443039, -0.01643414795398712, -1.1187249422073364, -0.09887232631444931, 0.955374538898468, 0.6865954995155334, 1.1039870977401733, -0.11153767257928848, 0.4658835530281067, 0.2739581763744354, 0.09738200902938843, -0.8912560939788818, 0.3495023548603058, -0.22229066491127014, -0.19270038604736328, -0.2583281695842743, -0.4911976456642151, -1.0257951021194458, 0.3611365556716919, -0.06972407549619675, -0.559848427772522, 0.09672943502664566, -0.020648762583732605, -0.6817807555198669, 0.6417821049690247, -0.36581212282180786, 0.44005468487739563, -0.026586592197418213, -0.4264870285987854, -0.2153892070055008, -0.41270434856414795, 0.5294930338859558, 0.007561374921351671, -0.09878943115472794, 0.260477215051651, 0.24842040240764618, 0.5692318677902222, -0.5621654987335205, 0.828022301197052, 0.10082774609327316, 0.20254839956760406, 0.48597007989883423, -0.0396721176803112, 0.9233464598655701, -0.0399172306060791, 0.10890059918165207, 0.30618906021118164, -0.3685588240623474, -0.48245304822921753, -0.7906504273414612, 0.7757112383842468, -0.8759817481040955, -0.6855679154396057, -0.6721570491790771, -0.666199266910553, -0.03938402980566025, -0.23724551498889923, 0.05706081911921501, 0.8126736879348755, 0.5605757832527161, 0.3840237259864807, 0.6293115019798279, -0.1275710016489029, 0.4186491370201111, 0.0418245829641819, -0.2983461618423462, -0.5273749232292175, 0.6148531436920166, 0.09259608387947083, 0.3087030351161957, 0.15623901784420013, 0.13910773396492004, -0.3240930438041687, -0.5680338740348816, -0.37592723965644836, 0.3480824828147888, -0.4920644164085388, 0.0486893467605114, -0.8902063965797424, -0.5940921902656555, -0.18663865327835083, -0.1175604984164238, -0.5304631590843201, -0.5209188461303711, -0.22946512699127197, -0.06482988595962524, 0.6365433931350708, 1.1018692255020142, -0.12740695476531982, 0.3102094233036041, -0.7732971906661987, 0.4674229025840759, 0.3712199330329895, 0.3622213900089264, 0.5535216331481934, -0.9329181909561157, -0.1126173585653305, 0.02780107408761978, -0.31073102355003357, -0.44346773624420166, 0.27463817596435547, 0.22567404806613922, 0.7112062573432922, 0.4915441572666168, 0.05725497379899025, 0.9406121373176575, -0.5499468445777893, 0.7440881729125977, 0.3124872148036957, -0.7538454532623291, 0.2115476429462433, -0.528575599193573, 0.32391563057899475, 0.1742067188024521, 0.1803933084011078, -0.6936197876930237, -0.6983597278594971, -0.32130131125450134, -0.7163806557655334, 0.6472564339637756, 0.1192733645439148, 0.2710812985897064, -0.20415127277374268, 0.685255765914917, 0.15687444806098938, -0.1781366467475891, -0.7892163395881653, -0.2828366756439209, -0.2931463420391083, -0.18876667320728302, 0.007331819273531437, -0.17569968104362488, -0.004360464867204428, -0.4741744101047516, 0.6233884692192078, 0.0809185728430748, 0.3300793468952179, 0.35557565093040466, 0.12508265674114227, -0.002120734192430973, -0.041244588792324066, 0.7796723246574402, 0.5348984599113464, 0.0927545428276062, -0.100809745490551, 0.13686777651309967, -0.5922220945358276, 0.23399028182029724, -0.12681250274181366, -0.1291762739419937, 0.05962810665369034, 0.29415377974510193, 0.9950960874557495, 0.6189138889312744, -0.244098961353302, 0.2522249221801758, -0.10282610356807709, -0.16742673516273499, -0.2096448838710785, 0.17803917825222015, 0.17233781516551971, 0.6341773271560669, 0.26734861731529236, 0.2770005762577057, -0.09182041883468628, -0.30627238750457764, 0.36799412965774536, 0.3564819097518921, -0.4705806076526642, -0.03398492559790611, 0.7620550394058228, 0.562974750995636, -0.6417000889778137, 0.6520796418190002, -0.05314706638455391, -0.5817230939865112, 0.6467140316963196, 0.5704994797706604, 0.8975263833999634, 0.14297416806221008, 0.14680957794189453, 0.5445350408554077, 0.02922617271542549, -0.3391534090042114, 0.1462516039609909, -0.24221214652061462, -0.6129176020622253, -0.775230348110199, -0.6698030829429626, -0.30551594495773315, 0.5504759550094604, -0.9147508144378662, -0.09981861710548401, -0.9320682883262634, -0.5220119953155518, -0.03510009124875069, -0.06041620671749115, -0.3631787598133087, -0.14037896692752838, -0.07420258969068527, 0.9114556908607483, -0.4795788526535034, 0.7948805093765259, 0.3342265188694, -0.001674541039392352, -0.9351474642753601, -0.24473609030246735, -0.23824253678321838, -0.656090259552002, 0.9235959649085999, 0.3020709156990051, -0.5119050741195679, 0.12661203742027283, -0.1243942528963089, -0.9633241295814514, 0.8534964323043823, 0.009039515629410744, -1.063607931137085, 0.3897874057292938, -0.047415632754564285, 0.4288806617259979, -0.4564870595932007, 0.03782281652092934, 0.5550706386566162, 0.07631353288888931, 0.12167883664369583, -0.8083698749542236, -0.4292137324810028, -0.17929218709468842, 0.12785735726356506, 0.44248437881469727, -0.8102388381958008, 1.0517911911010742, -0.6077592968940735, -0.2758125960826874, 0.24873168766498566, 0.986702561378479, 0.31164711713790894, 0.3751193881034851, 0.3767116069793701, 0.7405298948287964, 0.9245656132698059, -0.14638659358024597, 1.3119676113128662, -0.20621250569820404, 0.2642883360385895, 1.1276999711990356, -0.3337406814098358, 0.8810490965843201, 0.4534316062927246, -0.41765156388282776, 0.4889836609363556, 0.7171379327774048, 0.05152418464422226, 0.5280986428260803, 0.4164884686470032, -0.6340734362602234, -0.37873727083206177, 0.022524619475007057, -0.447726845741272, 0.19697003066539764, -0.1030270904302597, -0.33764806389808655, -0.056170813739299774, 0.12689445912837982, -0.23160141706466675, 0.24369864165782928, -0.5410886406898499, 0.7080312967300415, 0.3325636386871338, -0.687250554561615, 0.6038469672203064, -0.06935517489910126, 0.7648900747299194, -0.5732463002204895, 0.06135556101799011, -0.7172243595123291, 0.4134455621242523, -0.1693178415298462, -0.5097261071205139, 0.0014562724390998483, 0.13069696724414825, -0.43833956122398376, -0.001338647329248488, 0.381801038980484, -0.43353450298309326, -0.7094061970710754, 0.38287848234176636, -0.09290055185556412, 0.23141098022460938, 0.19093269109725952, -0.583121657371521, -0.051634542644023895, 0.007538084872066975, -0.30393821001052856, 0.3311053216457367, 0.3176162838935852, -0.10599107295274734, 1.2493325471878052, 0.7769543528556824, 0.282693088054657, 0.5999278426170349, 0.44162219762802124, 0.6392882466316223, -0.7850644588470459, -0.40252023935317993, -0.6328752636909485, 0.16629116237163544, 0.018343793228268623, -0.21471288800239563, 0.6423090100288391, 0.3297816514968872, 0.6649259328842163, 0.052059005945920944, 0.7552223205566406, 0.38579896092414856, 0.5471171736717224, -0.3087044358253479, 0.5016362071037292, -0.42843174934387207, 0.11627350747585297, 0.25901785492897034, -0.8514657020568848, -0.18459497392177582, 0.8561661243438721, -0.0508398674428463, 0.17890317738056183, 0.40514448285102844, 0.7045646905899048, -0.08037085831165314, 0.2239290475845337, 0.22264830768108368, 0.07926712185144424, 0.24787703156471252, 0.835488498210907, 0.9600034356117249, -0.49581262469291687, 0.536885142326355, -0.2225099503993988, -0.06563412398099899, -0.14140890538692474, -0.7946678996086121, -0.8931944966316223, -0.30127033591270447, -0.19313491880893707, -0.25148072838783264, 0.004503475967794657, 0.7966787815093994, 0.6831715703010559, -0.9457815289497375, 0.00915928091853857, -0.2866584360599518, 0.08006991446018219, -0.37731075286865234, -0.20417198538780212, 0.03134552389383316, -0.5845234990119934, -0.6854829788208008, 0.4354522228240967, 0.42170947790145874, 0.026004817336797714, -0.3936375379562378, -0.2724930942058563, 0.08113592863082886, 0.0822451040148735, 0.6170045733451843, 0.6017816662788391, -1.1910301446914673, -0.40897199511528015, 0.05168470740318298, -0.20447275042533875, 0.03379916772246361, 1.1400508880615234, -0.9535395503044128, 0.5104212760925293, 0.4708811342716217, 1.0925588607788086, 0.621680736541748, 0.22018805146217346, 1.0193020105361938, -0.4667997658252716, 0.4149346351623535, 0.25244712829589844, 0.3742488920688629, 0.36602771282196045, -0.2151963710784912, 0.3313951790332794, 0.2014022320508957, -0.7172759175300598, -0.750190794467926, 0.2771625518798828, -0.9828697443008423, -0.007038183975964785, 1.2761563062667847, -0.3211529552936554, -0.1063946932554245, -0.3436494767665863, -0.1047641783952713, 0.07468952983617783, -0.2504274845123291, 0.770166277885437, 0.652411937713623, -0.16677148640155792, -0.3831882178783417, -0.6119608879089355, 0.5138870477676392, 0.4630748927593231, -0.21353788673877716, 0.14113840460777283, 0.00825791247189045, 0.16835421323776245, -0.027370451018214226, 0.3540305495262146, 0.09257734566926956, 0.39464640617370605, 0.17780444025993347, -0.2788102924823761, -0.26501888036727905, -0.3612084686756134, -0.5882643461227417, -0.01727597415447235, -0.016854489222168922, -0.3235922157764435 ]
http://arxiv.org/abs/2402.19411v1
http://arxiv.org/pdf/2402.19411v1
PaECTER: Patent-level Representation Learning using Citation-informed Transformers
2024-02-29T18:09:03
2024-02-29T18:09:03
Mainak Ghosh, Sebastian Erhardt, Michael E. Rose, Erik Buunk, Dietmar Harhoff
cs.IR
cs.IR, cs.CL, cs.LG
PaECTER is a publicly available, open-source document-level encoder specific for patents. We fine-tune BERT for Patents with examiner-added citation information to generate numerical representations for patent documents. PaECTER performs better in similarity tasks than current state-of-the-art models used in the patent domain. More specifically, our model outperforms the next-best patent specific pre-trained language model (BERT for Patents) on our patent citation prediction test dataset on two different rank evaluation metrics. PaECTER predicts at least one most similar patent at a rank of 1.32 on average when compared against 25 irrelevant patents. Numerical representations generated by PaECTER from patent text can be used for downstream tasks such as classification, tracing knowledge flows, or semantic similarity search. Semantic similarity search is especially relevant in the context of prior art search for both inventors and patent examiners. PaECTER is available on Hugging Face.
[ -0.3867082893848419, -0.06973638385534286, 0.5237089395523071, 0.485056072473526, -0.21949993073940277, 0.09307513386011124, 0.2994465231895447, -0.42429155111312866, 0.2711420953273773, 0.40409305691719055, -0.08916701376438141, -0.26895901560783386, -0.7077390551567078, -0.01764627732336521, -0.3914356529712677, 0.7136431932449341, 0.06474043428897858, 0.25013405084609985, -0.34781840443611145, 0.2946479916572571, -0.10460896044969559, -0.5972596406936646, -0.36739951372146606, -0.4894481599330902, 0.7627415060997009, 0.07506760954856873, 0.1920160949230194, 0.15446892380714417, 0.7088381052017212, 0.3177829682826996, -0.16156044602394104, -0.23683607578277588, -0.44666576385498047, 0.18820960819721222, -0.4667741656303406, -0.43134328722953796, -0.03460194915533066, 0.1274043619632721, 0.36967381834983826, 0.6997465491294861, 0.2811744213104248, 0.05739356577396393, 0.10354883223772049, 0.571323573589325, -0.6800076365470886, 0.3802196979522705, -0.904377818107605, 0.237855464220047, -0.14442986249923706, -0.28430646657943726, -0.7122121453285217, -0.8170569539070129, 0.5814326405525208, -0.7333705425262451, 0.3702082931995392, 0.21627458930015564, 1.1006033420562744, 0.1376437544822693, -0.3581503629684448, -0.15092730522155762, -0.4548880457878113, 0.6092954874038696, -0.17308089137077332, 0.17541053891181946, -0.03864312916994095, 0.5158137083053589, -0.13045215606689453, -1.4155198335647583, -0.6468491554260254, -0.057189200073480606, -0.020512567833065987, 0.018706440925598145, -0.26762259006500244, 0.13852526247501373, 0.18000535666942596, 0.37953123450279236, -0.48958465456962585, -0.003494223579764366, -0.7309619188308716, -0.36959129571914673, 0.2171304076910019, -0.5130348205566406, 0.18623390793800354, -0.24741485714912415, -0.6107455492019653, -0.5263713002204895, -0.6994771957397461, -0.1670437753200531, 0.24257907271385193, 0.20886023342609406, 0.5212209224700928, 0.35021743178367615, 0.12732887268066406, 0.47297558188438416, 0.5444109439849854, 0.16645264625549316, 0.6288237571716309, 0.29535529017448425, -0.27214351296424866, 0.37920665740966797, 0.5969985127449036, 0.013380910269916058, 0.18984809517860413, -0.24982815980911255, -0.17108312249183655, -0.503048837184906, 0.41147685050964355, -1.04256272315979, -0.6265016198158264, -0.06798351556062698, -0.8469645977020264, -0.19062629342079163, 0.6177663207054138, -0.5997337698936462, -0.7921035885810852, -0.32792046666145325, 0.6393622159957886, -0.5267578959465027, -0.17417407035827637, -0.10880424827337265, -0.6117625832557678, 0.5016701221466064, 0.2983275353908539, -0.7645519971847534, 0.11956389248371124, 0.8013066649436951, 0.7977904677391052, -0.079474538564682, -0.3653774559497833, -0.5732598304748535, 0.014155155047774315, -0.3870006799697876, 0.9992321133613586, -0.7184355854988098, -0.6003273129463196, -0.04196757450699806, 0.16161507368087769, -0.3914925456047058, -0.9125118255615234, 0.6760625243186951, -0.8156147599220276, 0.31099680066108704, -0.3998412489891052, -0.6273718476295471, -0.1376151442527771, 0.03753094747662544, -0.8009205460548401, 0.769547164440155, 0.08152613043785095, -0.8152909874916077, 0.917560338973999, -0.8692818880081177, -0.2909209728240967, 0.20852063596248627, -0.17140579223632812, -0.5526478290557861, 0.27081814408302307, 0.32946157455444336, 0.32872915267944336, -0.08708584308624268, 0.16949380934238434, -0.17625391483306885, -0.30829405784606934, 0.08724118024110794, -0.07564996182918549, 0.8968785405158997, 0.44021669030189514, -0.07099313288927078, 0.38658493757247925, -0.858849823474884, -0.29875296354293823, 0.11991849541664124, -0.16836902499198914, -0.4126821756362915, -0.2070169597864151, 0.04887920990586281, 0.29859718680381775, 0.5288673639297485, -1.074869155883789, -0.04979661852121353, -0.535122275352478, 0.29761236906051636, 0.7312034964561462, 0.3239128887653351, 0.5621417164802551, -0.3624142110347748, 0.4912823736667633, 0.03377842530608177, 0.14400698244571686, -0.22951987385749817, -0.649685800075531, -0.8041806817054749, -0.2002275437116623, 0.6667091846466064, 0.3638186454772949, -0.5389364361763, 0.49452105164527893, -0.43763598799705505, -0.630782425403595, -0.6337738633155823, -0.2744355797767639, 0.21110229194164276, 0.639969527721405, 0.314442902803421, -0.509535551071167, -0.5348609685897827, -1.000725507736206, -0.21897955238819122, -0.2716236114501953, -0.2896827757358551, 0.23799113929271698, 0.46151047945022583, 0.13782981038093567, 0.8773981928825378, -0.24979524314403534, -0.42063555121421814, 0.037421777844429016, 0.7596296668052673, 0.507984459400177, 0.5328330397605896, 0.7617297172546387, -0.9793727993965149, -0.7243800759315491, 0.1374269425868988, -0.47473615407943726, -0.03552364557981491, -0.1487572193145752, -0.014902404509484768, 0.06831972301006317, 0.6131935715675354, -0.40658852458000183, 0.3963155150413513, 0.18087655305862427, -0.12999773025512695, 0.3062228560447693, -0.3482036292552948, 0.2048526257276535, -0.9737131595611572, 0.5151194334030151, -0.1657969206571579, 0.13022619485855103, -0.29662665724754333, 0.011055980809032917, 0.3063664138317108, -0.5356303453445435, -0.7173861265182495, 0.33291327953338623, -0.4998316168785095, -0.1322362869977951, -0.03505776822566986, -0.2068837434053421, 0.17334464192390442, 0.17261187732219696, 0.012655469588935375, 1.1083961725234985, 0.6537095308303833, -0.268598347902298, 0.10495515912771225, 0.23548220098018646, -0.6521767973899841, 0.5735489726066589, -0.908679187297821, 0.28859004378318787, -0.1417207270860672, 0.23005151748657227, -0.8672599196434021, -0.10607730597257614, -0.048103898763656616, -0.3793907165527344, 0.37923020124435425, -0.37151119112968445, -0.741473376750946, -0.6880568265914917, -0.33284637331962585, 0.07370799034833908, 0.4271673262119293, -1.076689600944519, 0.8731245398521423, 0.3038581311702728, -0.45841851830482483, -0.6421157121658325, -0.7461881637573242, -0.044470854103565216, -0.14642876386642456, -0.5399429798126221, 0.8331669569015503, 0.24239780008792877, 0.1415528953075409, 0.013871408998966217, -0.12136762589216232, -0.3101500868797302, -0.3259977698326111, 0.4195232689380646, 0.11041504144668579, -0.17874571681022644, 0.19927383959293365, 0.19379767775535583, -0.22573767602443695, 0.26303768157958984, -0.5608704090118408, 0.6371350288391113, 0.11481450498104095, -0.5736464262008667, -0.25604546070098877, 0.10588295012712479, 0.6430275440216064, -0.24680055677890778, 0.5930215716362, 0.39885854721069336, -0.28084471821784973, -0.08686082065105438, -0.5690358877182007, 0.07995621860027313, -0.563813328742981, 0.11321598291397095, -0.6977097988128662, -0.7787812948226929, 0.5750732421875, -0.24232730269432068, -0.14549872279167175, 0.6545127034187317, 0.3104711174964905, 0.12200843542814255, 0.6897705793380737, 0.6872740983963013, -0.1991928666830063, 0.6401254534721375, -0.2587023973464966, 0.5675100684165955, -0.5510427355766296, -0.693874180316925, -0.6380090713500977, -0.42658117413520813, -0.32868680357933044, -0.4322299361228943, 0.2862628400325775, -0.09293617308139801, -0.5204299092292786, 0.48110079765319824, -1.0641733407974243, 0.6874076724052429, 1.1061992645263672, -0.04518771544098854, 0.0010326907504349947, 0.32204753160476685, -0.3605130910873413, -0.21507272124290466, -0.37239333987236023, -0.3152754008769989, 1.1398528814315796, 0.39969801902770996, 0.7508158087730408, -0.28841397166252136, 1.0401344299316406, 0.21839962899684906, -0.029595034196972847, -0.7075821161270142, 0.3722582161426544, -0.21198615431785583, -0.6272275447845459, 0.041408225893974304, 0.0367574617266655, -0.9893122315406799, 0.16161991655826569, -0.01881241425871849, -0.810257077217102, 1.0519520044326782, -0.017890125513076782, -0.18720334768295288, 0.3135322332382202, -0.8281819224357605, 0.8504774570465088, -0.21845583617687225, -0.12745976448059082, -0.2842811644077301, -0.645447313785553, -0.12250588089227676, -0.20317797362804413, -0.4991271495819092, 0.28767022490501404, 0.15637877583503723, 0.9192373156547546, -0.559942364692688, 0.7355440855026245, -0.6295987963676453, 0.040833260864019394, 0.294435977935791, 0.00036441031261347234, 0.39529919624328613, -0.31296584010124207, -0.3995009958744049, -0.09995463490486145, -0.036777570843696594, -0.3283239006996155, -0.5320194959640503, 0.899181604385376, -0.6631209850311279, -0.5760415196418762, -0.7432944774627686, -0.2575121223926544, 0.06505487114191055, 0.5566527843475342, 0.36012235283851624, 0.004822049755603075, -0.20875605940818787, 0.27326369285583496, 0.7192766666412354, -0.49968641996383667, 0.2900981307029724, 0.2982732355594635, -0.0526239387691021, -0.4067355692386627, 1.2376638650894165, 0.03776276484131813, -0.34467068314552307, 0.8390280604362488, -0.07392468303442001, -0.39744582772254944, -0.6387890577316284, 0.05743023008108139, 0.18835203349590302, -0.9200806617736816, -0.20313148200511932, -0.74808669090271, -0.5574634075164795, -0.3234884440898895, -0.21193993091583252, -0.15758030116558075, -0.6640229821205139, -0.2889115810394287, -0.2593868374824524, 0.24361741542816162, 0.8136284351348877, -0.09187358617782593, 0.12797364592552185, -0.35506340861320496, 0.0891580656170845, 0.6783325672149658, 0.4980129897594452, -0.009066492319107056, -0.413498193025589, 0.11453098058700562, -0.4449029862880707, -0.5334228277206421, -0.4243699312210083, 0.3697679042816162, 0.30006420612335205, 0.7268593311309814, 0.503494381904602, 0.012123611755669117, 0.5363430380821228, -0.5058764219284058, 0.9399517178535461, 0.2836371958255768, -0.8466277122497559, 0.8150591850280762, -0.06399679183959961, 0.09109426289796829, 0.6014546155929565, 0.5348904132843018, 0.14108872413635254, -0.07584274560213089, -0.471064031124115, -0.9977970123291016, 0.5486071705818176, -0.031420815736055374, 0.1340406984090805, -0.07813743501901627, 0.013127458281815052, 0.3295273780822754, -0.07677451521158218, -0.6247707605361938, 0.04249686375260353, -0.5262976884841919, 0.005972384475171566, 0.4631047546863556, -0.2708956003189087, 0.10855840891599655, -0.3608943819999695, 0.48708978295326233, 0.20823542773723602, 0.7047541737556458, 0.38453933596611023, -0.18513920903205872, 0.04962867125868797, 0.12361952662467957, 0.19667989015579224, 0.7972607016563416, -0.5506603717803955, 0.14359577000141144, -0.1987060308456421, -0.49868959188461304, -0.25754597783088684, 0.8095216155052185, 0.06020144373178482, 0.31302711367607117, 0.1012040451169014, 0.5467395186424255, 0.06027565523982048, -0.6308218240737915, 0.743261992931366, -0.07301771640777588, -0.5617015957832336, -0.3559839427471161, -0.1797069013118744, -0.021828506141901016, 0.24017773568630219, 0.865447461605072, 0.3394891023635864, 0.4721696376800537, -0.24470509588718414, 0.4377579092979431, 0.0729345977306366, -0.6141394376754761, -0.1301090121269226, 0.8671349883079529, 0.40577709674835205, -0.04044073820114136, 0.3934096097946167, -0.10980221629142761, -0.4822981059551239, 0.6713744401931763, 0.5300598740577698, 0.9168655276298523, -0.027559546753764153, 0.16943036019802094, 0.3646028935909271, 0.021942701190710068, 0.09139947593212128, 0.1208495944738388, -0.2996222674846649, -0.37480559945106506, -0.2959953546524048, -0.5088807940483093, -0.5543060898780823, 0.08146997541189194, -0.5362554788589478, 0.26543277502059937, -0.6116823554039001, -0.1427619457244873, 0.3109988570213318, -0.11702808737754822, -0.7539317011833191, -0.07589951902627945, 0.12029264867305756, 1.27324378490448, -0.5131399631500244, 0.966948926448822, 0.7200496196746826, -0.8493223190307617, -0.5537428259849548, 0.1616462767124176, -0.19212472438812256, -0.7242016792297363, 1.2417150735855103, 0.14612217247486115, -0.09485381841659546, -0.17194850742816925, -0.42914634943008423, -0.84452223777771, 1.140449047088623, 0.5282770991325378, -0.46211642026901245, -0.10675392299890518, 0.018057888373732567, 0.5271335244178772, -0.48920953273773193, 0.14167006313800812, 0.28610795736312866, 0.3329959809780121, 0.2428661584854126, -0.9963738322257996, -0.10916627943515778, -0.6743817925453186, 0.2019745111465454, 0.015403011813759804, -0.15604601800441742, 0.78520268201828, 0.0487961620092392, -0.15157094597816467, 0.2998349368572235, 0.5737135410308838, 0.3321823477745056, 0.3386380076408386, 0.3289407193660736, 0.4519732892513275, 0.856339693069458, -0.18912528455257416, 1.088256597518921, -0.5246525406837463, 0.09401316195726395, 1.1022709608078003, -0.2795135974884033, 0.9084833264350891, 0.5748857855796814, -0.13176611065864563, 0.8020032048225403, 0.4624675214290619, -0.4088125228881836, 0.8484144806861877, 0.24251240491867065, -0.20418593287467957, 0.18898485600948334, -0.20437653362751007, -0.5931469202041626, 0.02941814996302128, 0.21743276715278625, -1.1096727848052979, -0.017660165205597878, 0.009914943017065525, -0.2995763123035431, 0.225297212600708, -0.01535902451723814, 0.8183020949363708, -0.02686762623488903, -0.509718120098114, 0.5049482583999634, -0.3530425429344177, 0.6743316650390625, -0.3885139524936676, -0.1284550577402115, 0.07023098319768906, 0.3508899211883545, 0.00614523608237505, -0.8283721208572388, 0.0949954017996788, -0.1730256825685501, -0.19994477927684784, -0.39454370737075806, 1.0303094387054443, -0.07681472599506378, -0.4380456805229187, 0.42785176634788513, 0.22125299274921417, 0.21914057433605194, -0.19391568005084991, -0.5404495000839233, -0.11827336251735687, -0.15738452970981598, -0.030255258083343506, 0.2392711043357849, 0.689752459526062, 0.18843711912631989, 0.6765250563621521, 0.37143856287002563, 0.08828780055046082, 0.2510733902454376, 0.5395753979682922, 1.1223866939544678, -0.4467380940914154, -0.43217962980270386, -0.04581638053059578, 0.3444914221763611, -0.684406578540802, -0.3559759855270386, 0.4297850728034973, 0.9179661870002747, 0.9046036005020142, -0.5493656992912292, 0.9516924023628235, -0.2083248496055603, 0.7390787601470947, -0.016530433669686317, 0.8329750895500183, -0.0832824632525444, 0.15208888053894043, -0.35108837485313416, -1.082200288772583, -0.6738554239273071, 0.8493204712867737, -0.655323326587677, -0.11153606325387955, 0.5951763987541199, 0.806867778301239, -0.4649769961833954, -0.10223716497421265, 0.04761888086795807, -0.0026167312171310186, 0.4825349748134613, 0.3674538731575012, 0.7606948018074036, -0.5186459422111511, 0.7667917013168335, -0.3266013264656067, -0.08350217342376709, -0.1494019776582718, -0.6823501586914062, -0.9875882267951965, -0.745449960231781, -0.15833841264247894, -0.02903178334236145, 0.15101827681064606, 0.7965691089630127, 0.9745490550994873, -1.1334154605865479, 0.0481458343565464, -0.36243852972984314, -0.07799765467643738, -0.009725742042064667, -0.3110094964504242, 0.617519199848175, -0.5340126156806946, -0.7144414782524109, 0.20801866054534912, 0.30758604407310486, -0.18405643105506897, -0.06417008489370346, -0.06823325902223587, -0.07145926356315613, -0.07965464144945145, 0.6591114401817322, 0.4358519911766052, -0.7394741177558899, -0.2906440496444702, -0.07314309477806091, 0.09317857027053833, 0.1547965407371521, 0.9569920301437378, -1.0764141082763672, 0.9174275994300842, 0.9107088446617126, 0.7022575736045837, 0.741516649723053, 0.015664152801036835, 0.7678327560424805, -0.6166515350341797, 0.3112693130970001, 0.4323504865169525, 0.6143746376037598, 0.32632923126220703, -0.11258721351623535, 0.36557820439338684, -0.05044151842594147, -0.6841562390327454, -0.485296368598938, -0.031908564269542694, -1.1346749067306519, -0.32211756706237793, 0.4934629201889038, -0.3591640293598175, -0.2476395219564438, -0.07256245613098145, -0.3713408410549164, 0.026904772967100143, -0.8196761608123779, 0.8719590902328491, 0.25422579050064087, -0.11886351555585861, -0.358974426984787, 0.1941944807767868, 0.16852879524230957, 0.0788436308503151, -0.3014225661754608, -0.3791942000389099, 0.10712254792451859, 0.10666237026453018, 0.7328367829322815, 0.31271377205848694, -0.6817575097084045, 0.27401477098464966, 0.18815720081329346, 0.22378483414649963, -0.13283774256706238, -0.31176331639289856, -0.06923910230398178, 0.581779420375824, 0.4230425953865051, -0.45491233468055725 ]
http://arxiv.org/abs/2402.19406v2
http://arxiv.org/pdf/2402.19406v2
On the Scaling Laws of Geographical Representation in Language Models
2024-02-29T18:04:11
2024-03-04T11:35:02
Nathan Godey, Éric de la Clergerie, Benoît Sagot
cs.CL
cs.CL, cs.AI
Language models have long been shown to embed geographical information in their hidden representations. This line of work has recently been revisited by extending this result to Large Language Models (LLMs). In this paper, we propose to fill the gap between well-established and recent literature by observing how geographical knowledge evolves when scaling language models. We show that geographical knowledge is observable even for tiny models, and that it scales consistently as we increase the model size. Notably, we observe that larger language models cannot mitigate the geographical bias that is inherent to the training data.
[ -0.40432146191596985, -0.3142324388027191, 1.0849981307983398, 0.0945359319448471, -0.028783243149518967, -0.44072702527046204, -0.8420765399932861, -0.6572091579437256, 0.25169801712036133, 0.8887587189674377, -0.25685450434684753, -0.3365550637245178, -0.8761311769485474, -0.26414209604263306, -0.13248290121555328, 0.7028124332427979, -0.03962279111146927, 0.14968685805797577, -0.139694944024086, -0.6675159335136414, 0.032233063131570816, -0.8151434063911438, -0.23668773472309113, -0.6768103241920471, 0.3213299810886383, 0.4052950441837311, 0.9948710203170776, 1.05903160572052, 0.35880982875823975, 0.1912207305431366, -0.4726260006427765, -0.021711690351366997, -0.4594084620475769, 0.2734779417514801, -0.09392419457435608, -0.9159025549888611, -0.08588366210460663, -0.06995834410190582, 1.1279970407485962, 0.9961957931518555, -0.3105058968067169, 0.03363196924328804, -0.06752454489469528, 0.4906517565250397, -0.3272338807582855, 0.4325973093509674, -0.6749534010887146, -0.05731484293937683, -0.16498754918575287, 0.1895081251859665, -0.4452420473098755, -0.2944335341453552, 0.28554338216781616, -0.3658556044101715, 0.2132825255393982, 0.21788717806339264, 0.6739016771316528, 0.14978303015232086, -0.8037773966789246, -0.30619269609451294, -0.8625445365905762, 0.7776662111282349, -0.6146636605262756, 0.36620762944221497, 0.5352611541748047, 0.5464944839477539, 0.026399852707982063, -0.3264034688472748, -0.2301449030637741, -0.50548255443573, -0.186593160033226, -0.48403269052505493, -0.2489718794822693, -0.27583661675453186, 0.43004024028778076, 0.34941864013671875, -0.16661375761032104, 0.5542764663696289, -0.21499726176261902, 0.1212872862815857, 0.5569772720336914, 0.02907400019466877, 0.5543782711029053, 0.030913719907402992, 0.021530764177441597, 0.07136887311935425, -1.3079370260238647, -0.06787022203207016, 0.16971498727798462, 0.5687212944030762, -0.3701310455799103, 0.6698769330978394, 0.07382939010858536, 0.5733466148376465, -0.029311442747712135, 0.08434827625751495, 0.026892200112342834, 0.2782651484012604, -0.08860927075147629, -0.026314683258533478, 0.6877213716506958, 0.2147108018398285, 0.5791264176368713, -0.028582697734236717, 0.010237010195851326, -0.5918524861335754, 0.00990153755992651, -0.7315313816070557, -0.2935875356197357, -0.41927140951156616, -0.18212369084358215, 0.05097799003124237, 0.06972631812095642, -0.4649249017238617, -0.7164560556411743, -0.0002955968084279448, -0.09719981998205185, -0.017427196726202965, -0.6117700338363647, -0.04742369055747986, 0.07015181332826614, 0.3386295437812805, 0.11162028461694717, -1.3614901304244995, 0.20136658847332, 0.8729346394538879, 0.6553279161453247, 0.5644243955612183, -0.21633097529411316, -0.06483463197946548, 0.08663532882928848, -0.6524790525436401, 0.49745529890060425, -0.5349776148796082, -0.16075466573238373, 0.27770721912384033, 0.2488223910331726, 0.22494305670261383, -0.7322242259979248, 0.12340644747018814, -0.9603196382522583, -0.16362743079662323, -0.4830343723297119, -0.29863160848617554, -0.1827094405889511, 0.2071053385734558, -0.8155213594436646, 1.0170135498046875, 0.043570972979068756, -0.5511174201965332, 0.5537712574005127, -0.4121624529361725, -0.11484082788228989, -0.03585391491651535, -0.14388006925582886, -0.41864463686943054, 0.5917446613311768, 0.5076389908790588, 0.29490891098976135, -0.28488636016845703, 0.16959401965141296, -0.6277379989624023, 0.02505880407989025, 0.14683382213115692, -0.2739802598953247, 0.8550401329994202, 0.04388220235705376, -0.2674778997898102, -0.27560955286026, -0.4799215495586395, -0.16535627841949463, 0.27398839592933655, -0.49536779522895813, -0.6352711915969849, 0.1445724368095398, -0.4167112112045288, -0.12124621123075485, 0.29450392723083496, -0.5003281235694885, 0.46518027782440186, -0.4695359766483307, 0.4562901258468628, 0.4489966630935669, -0.07482567429542542, 1.124570369720459, 0.07305984199047089, 0.5584430694580078, -0.08325284719467163, -0.22089532017707825, -0.0011387885315343738, -0.5390985608100891, -0.6822000741958618, -0.055086005479097366, 0.26742005348205566, 0.09647305309772491, -0.3680599629878998, 0.1137683093547821, -0.8549683690071106, -0.5867971181869507, -0.2280855029821396, 0.172398179769516, -0.24115264415740967, -0.12584589421749115, 0.0005809284630231559, 0.08345040678977966, -0.5474796295166016, -0.6279804110527039, -0.46468281745910645, -0.19911491870880127, -0.3519614040851593, 0.6220290660858154, 0.35265496373176575, -0.24982047080993652, 0.9188084602355957, -0.43680551648139954, 0.02352006547152996, -0.3673843443393707, -0.0024825981818139553, 0.13464757800102234, 0.29312023520469666, 1.0514752864837646, -0.6379406452178955, -0.525820255279541, 0.3098856806755066, -0.7442994713783264, -0.3320201635360718, 0.3260573744773865, 0.13444799184799194, -0.058331504464149475, 0.5219421982765198, -0.5400916934013367, 0.21430836617946625, 0.7989377975463867, -0.4655040502548218, 0.20982182025909424, -0.7058623433113098, -0.15819670259952545, -0.7988375425338745, -0.5570690035820007, 0.1603524535894394, -0.5613187551498413, -0.5277106761932373, 0.43793684244155884, 0.38747939467430115, -0.10185037553310394, -0.08879227936267853, 0.6743646860122681, -0.7041623592376709, -0.29878535866737366, -0.3250212073326111, 0.22768959403038025, -0.17095501720905304, -0.019968781620264053, 0.24574534595012665, 0.45015254616737366, 0.796249270439148, -0.462711900472641, 0.13765017688274384, -0.17137107253074646, -0.5860347151756287, 0.3545083999633789, -0.3860313296318054, -0.23162277042865753, -0.2770589292049408, 0.2168889045715332, -0.7706835269927979, -0.3516188859939575, -0.2956525981426239, -0.09388145804405212, 0.33968302607536316, -0.7072417140007019, -0.6971278786659241, -0.40135517716407776, -0.047739531844854355, 0.42993873357772827, 0.7440539002418518, -0.888414204120636, 0.5358698964118958, 0.694582998752594, -0.09988423436880112, -0.12219914048910141, -0.9421992897987366, -0.00589798204600811, -0.5667667984962463, -0.439223974943161, -0.28450697660446167, 0.2578895390033722, -0.6205649375915527, -0.02979743853211403, 0.08578761667013168, -0.22253312170505524, -0.07049939036369324, 0.3285837173461914, -0.2413940578699112, -0.5318126678466797, 0.28805872797966003, -0.21437278389930725, 0.38918212056159973, 0.5229665637016296, -0.7393649816513062, 0.43417081236839294, 0.01359065156430006, -0.23255346715450287, 0.03547534719109535, -0.06850935518741608, 0.844554603099823, -0.07694223523139954, 0.9914122223854065, 0.1408047080039978, -0.41404345631599426, -0.2279558777809143, -0.4148690700531006, 0.12233757972717285, -0.4734293520450592, 0.40173736214637756, -0.3749411702156067, -1.0226376056671143, 0.8970796465873718, -0.3739601671695709, -0.12767437100410461, 0.7780088782310486, 0.6363529562950134, -0.14496006071567535, 0.8711874485015869, 1.142527461051941, -0.35208413004875183, 0.5734800100326538, -0.20501945912837982, 0.1708284616470337, -0.8725124001502991, -0.04571235552430153, -0.6412661075592041, -0.243277445435524, -1.140980839729309, -0.797870934009552, 0.38999125361442566, 0.26491913199424744, -0.8392043709754944, 0.15247328579425812, 0.059122536331415176, 0.8004348278045654, 0.42209985852241516, 0.07681389153003693, 0.021463101729750633, 0.29332825541496277, -0.19139724969863892, -0.35015103220939636, -0.9660797715187073, -0.3102988600730896, 1.3253127336502075, 0.6125679612159729, 0.9021910429000854, 0.44591617584228516, 0.5769839882850647, 0.14508004486560822, 0.6421385407447815, -0.6365249156951904, 0.3452168405056, -0.17757420241832733, -0.5081070065498352, -0.46554431319236755, -0.6032868027687073, -0.9700158834457397, 0.27424976229667664, 0.1180325448513031, -0.7652298212051392, 0.23246820271015167, -0.10438457131385803, -0.1388086974620819, 0.8247511386871338, -0.40373560786247253, 0.32845938205718994, -0.1397278606891632, -0.010024558752775192, -0.16042466461658478, -0.3519558310508728, 0.12617704272270203, -0.07684202492237091, 0.5535088777542114, -0.08144199103116989, -0.03269771486520767, 0.8035848140716553, -0.7382848262786865, 0.9537122249603271, -0.32381460070610046, -0.3943701982498169, 0.45877909660339355, 0.3166787922382355, 0.5215093493461609, 0.014344057999551296, 0.012059052474796772, 0.21826252341270447, -0.3374023139476776, -0.6229385733604431, -0.7138679623603821, 0.9516175389289856, -0.9861228466033936, -0.6911677718162537, -0.12911434471607208, -0.6617171168327332, 0.005373361520469189, 0.18768492341041565, 0.09551577270030975, 0.10136907547712326, 0.023100147023797035, 0.1530802696943283, 0.857435941696167, -0.07067716866731644, 0.2432832419872284, 0.5788319110870361, -0.6579380035400391, -0.16535645723342896, 0.4068320095539093, 0.5293034315109253, 0.4077129065990448, 0.231807678937912, 0.5159831047058105, -0.24594323337078094, -0.43640464544296265, -0.28931155800819397, 0.6674996614456177, -0.9126796722412109, 0.06056438758969307, -0.2516879737377167, -0.21700450778007507, -0.22175051271915436, -0.20549553632736206, -0.3114086389541626, -0.5526663661003113, -0.03775322437286377, -0.29791030287742615, 0.6310566663742065, 1.420093297958374, -0.3976127505302429, 0.6498091816902161, -0.3583205044269562, -0.1601221114397049, 0.24269087612628937, 0.3510156273841858, 0.03931472823023796, -0.8838487863540649, -0.5389694571495056, 0.19986997544765472, 0.11174753308296204, -0.6870326995849609, 0.5000033378601074, -0.06849879026412964, 0.43994441628456116, 0.5913952589035034, -0.2087990641593933, 0.57079017162323, -0.827415943145752, 0.9048030376434326, -0.06948759406805038, -0.5753117799758911, 0.39343056082725525, -0.3738342821598053, 0.6251969337463379, -0.1422077864408493, 0.5784205198287964, -0.32656940817832947, -0.710983395576477, -0.5524807572364807, -0.6607705950737, 0.3143244981765747, -0.48546329140663147, 0.6213489770889282, 0.1695692539215088, 0.6633872389793396, -0.05409493297338486, -0.08714735507965088, -1.0917521715164185, 0.005192913115024567, 0.19895489513874054, -0.07458831369876862, -0.4293534457683563, -0.7144617438316345, -0.168643519282341, -0.28782185912132263, 0.25832828879356384, 0.05951601266860962, 0.18948134779930115, -0.17855608463287354, -0.2548516094684601, -0.12984934449195862, 0.1853276640176773, 0.5410094857215881, 0.7672877907752991, 0.06060267612338066, 0.5344639420509338, 0.20833007991313934, -0.5801841616630554, 0.1230773776769638, -0.1872899979352951, -0.1570388376712799, -0.016825005412101746, 0.6172551512718201, 0.628702700138092, 0.33861008286476135, -0.42586758732795715, 0.2629026770591736, 0.21295033395290375, -0.1459423005580902, -0.3447551131248474, -0.07732367515563965, 0.31486278772354126, 0.565039873123169, 0.3796965479850769, -0.13550132513046265, -0.5026307702064514, -0.6431182622909546, -0.10972974449396133, 0.3062073886394501, -0.4400627017021179, -0.44651705026626587, 0.7860036492347717, -0.19845375418663025, -0.1560773402452469, 0.7331961393356323, -0.18447935581207275, -0.8059336543083191, 0.6229366660118103, 0.5114745497703552, 0.3126599192619324, -0.23147520422935486, -0.004731548950076103, 0.43918347358703613, 0.7527263760566711, -0.32146188616752625, 0.059917666018009186, -0.09560229629278183, -0.7487579584121704, -0.16880863904953003, -0.4536741375923157, -0.15603815019130707, -0.09407086670398712, -0.5504589080810547, 0.04778197035193443, -0.4985893964767456, -0.16995207965373993, -0.24076591432094574, 0.02987404353916645, -0.7692866325378418, 0.010878590866923332, 0.3820749819278717, 0.9440083503723145, -1.0948750972747803, 0.9860091209411621, 0.5190091729164124, -0.05114402249455452, -0.7168950438499451, 0.10830239206552505, -0.05615818127989769, -1.1379636526107788, 0.9779609441757202, -0.00460582971572876, 0.09558147192001343, -0.2632272243499756, -0.6913251280784607, -1.0703033208847046, 0.9800792336463928, 0.45767056941986084, -0.5508888959884644, 0.048613905906677246, 0.4211355447769165, 0.8158568143844604, -0.6985952854156494, 0.020840398967266083, 0.3786941170692444, 0.2101898044347763, 0.006166201084852219, -0.9923336505889893, -0.01889912039041519, 0.41309118270874023, 0.27135545015335083, 0.149261012673378, -0.4793355166912079, 1.0106385946273804, -0.5418175458908081, -0.07389945536851883, -0.1250503659248352, 0.5746461153030396, -0.01713285595178604, -0.15095853805541992, 0.2640441954135895, 0.8312738537788391, 1.0108848810195923, -0.2693576216697693, 1.161254644393921, -0.31670069694519043, 0.6771488785743713, 1.202152967453003, -0.3063334822654724, 0.9863426685333252, 0.262597918510437, -0.27114588022232056, 0.7852551341056824, 0.721712589263916, 0.009544317610561848, 0.6329744458198547, 0.40359318256378174, -0.30744749307632446, -0.2542738914489746, 0.10666593164205551, -0.19494761526584625, 0.4860054552555084, 0.33247971534729004, -0.7471463680267334, -0.5270597338676453, 0.13238117098808289, 0.40041571855545044, 0.12125333398580551, -0.8689361214637756, 0.6782155632972717, 0.00977934431284666, -0.2771075963973999, 0.5739739537239075, -0.012487206608057022, 0.25265899300575256, -0.5108081102371216, 0.25208255648612976, -0.29987668991088867, 0.00745359668508172, 0.06336374580860138, -1.014534592628479, 0.29854264855384827, 0.08387909829616547, -0.29637181758880615, -0.26493969559669495, 0.5157889723777771, -0.5037585496902466, -0.5856166481971741, 0.34585195779800415, 0.3768160939216614, 0.3058728277683258, -0.1191611960530281, -0.062296658754348755, 0.11494634300470352, -0.08436176925897598, -0.3916991353034973, 0.4008207619190216, 1.0315121412277222, -0.29153525829315186, 0.8862130045890808, 0.12481795251369476, 0.574908435344696, 0.5426795482635498, -0.045200444757938385, 0.622179388999939, -0.5563323497772217, -0.5257512331008911, -1.0628236532211304, 0.0121315224096179, -0.1634003221988678, 0.40317919850349426, 0.9481054544448853, 0.4660135805606842, 0.6876106858253479, 0.08455254882574081, 0.6252389550209045, 0.12128757685422897, 0.15150414407253265, -0.2783133089542389, 0.9572811722755432, -0.29247844219207764, 0.3971931040287018, 0.5232890844345093, -0.8652486205101013, -0.4542994499206543, 0.5396711826324463, -0.9373290538787842, 0.11869856715202332, 0.4383888244628906, 0.5260249376296997, -0.12652067840099335, -0.24928539991378784, 0.368577778339386, 0.527065634727478, 0.23868365585803986, 0.37656906247138977, 0.6785269379615784, -0.045266542583703995, 0.09778504073619843, 0.06451740115880966, -0.29178497195243835, -0.14895448088645935, -0.814540684223175, -0.8254602551460266, -0.5138388276100159, -0.2042331099510193, -0.303814172744751, -0.35813653469085693, 0.4045089781284332, 0.8835857510566711, -0.5059904456138611, -0.43998751044273376, 0.08017818629741669, 0.35915136337280273, -0.034999363124370575, -0.1898747831583023, 0.20575633645057678, -0.08017009496688843, -0.5894041657447815, 0.10359995812177658, 0.2125520408153534, 0.381145179271698, -0.7112048268318176, 0.013627994805574417, 0.11640505492687225, 0.24907122552394867, 0.5942409634590149, 0.3969220817089081, -0.6468295454978943, -0.5565516352653503, -0.42468446493148804, -0.19357845187187195, 0.18388596177101135, 0.9586813449859619, -0.5941283106803894, 0.5285705924034119, 0.23047517240047455, 0.4488242566585541, 0.75841224193573, -0.5157865285873413, 0.5942708253860474, -0.8951708674430847, 0.3270167112350464, -0.12826727330684662, 0.617918074131012, 0.425081342458725, -0.27599000930786133, 0.3230750560760498, -0.050072282552719116, -0.7139192223548889, -0.7075001001358032, 0.32590779662132263, -0.4320513904094696, -0.08461447060108185, 1.2856292724609375, -0.4418526589870453, -0.3084954619407654, 0.326212614774704, 0.24926607310771942, -0.20578080415725708, 0.1656663864850998, 0.6616170406341553, 1.0635212659835815, -0.04636351764202118, -0.37304216623306274, -0.8160765171051025, 0.3073241412639618, 0.020112132653594017, -0.36148354411125183, 0.5134413242340088, 0.3887229263782501, 0.7060881853103638, 0.1932096928358078, 0.5154873132705688, -0.04556868225336075, -0.3389747738838196, 0.07204291969537735, -0.3424992561340332, 0.38586848974227905, -0.2597867548465729, -0.6634333729743958, 0.2943840026855469, 0.6152088046073914, 0.3624873161315918 ]
http://arxiv.org/abs/2402.19404v4
http://arxiv.org/pdf/2402.19404v4
EAMA : Entity-Aware Multimodal Alignment Based Approach for News Image Captioning
2024-02-29T18:03:00
2024-05-06T14:41:56
Junzhe Zhang, Huixuan Zhang, Xunjian Yin, Xiaojun Wan
cs.CV
cs.CV, cs.CL
News image captioning requires model to generate an informative caption rich in entities, with the news image and the associated news article. Though Multimodal Large Language Models (MLLMs) have demonstrated remarkable capabilities in addressing various vision-language tasks, our research finds that current MLLMs still bear limitations in handling entity information on news image captioning task. Besides, while MLLMs have the ability to process long inputs, generating high-quality news image captions still requires a trade-off between sufficiency and conciseness of textual input information. To explore the potential of MLLMs and address problems we discovered, we propose : an Entity-Aware Multimodal Alignment based approach for news image captioning. Our approach first aligns the MLLM through Balance Training Strategy with two extra alignment tasks: Entity-Aware Sentence Selection task and Entity Selection task, together with News Image Captioning task, to enhance its capability in handling multimodal entity information. The aligned MLLM will utilizes the additional entity-related information it explicitly extracts to supplement its textual input while generating news image captions. Our approach achieves better results than all previous models in CIDEr score on GoodNews dataset (72.33 -> 88.39) and NYTimes800k dataset (70.83 -> 85.61).
[ -0.49268975853919983, -0.5689403414726257, 0.5075268745422363, 0.1744319498538971, -0.44128623604774475, 0.024378124624490738, -0.04747619852423668, -0.672183632850647, 0.392437219619751, 0.33677205443382263, -0.4602791666984558, -0.2528337836265564, -0.624457836151123, 0.08920777589082718, -0.4222813546657562, 0.9669625759124756, -0.3367154002189636, 0.3934328854084015, -0.49291014671325684, -0.568652331829071, -0.5135956406593323, 0.008516690693795681, -0.5317769646644592, 0.28251421451568604, 0.5806396007537842, 0.2897421419620514, 0.7257619500160217, 0.7949340343475342, 0.834328830242157, 0.24113096296787262, 0.4256136119365692, 0.5475128293037415, 0.028018563985824585, 0.007460544351488352, -0.10754555463790894, -0.2508157193660736, -0.45411327481269836, -0.04575362056493759, 0.6109582185745239, 0.36629441380500793, -0.1478198915719986, 0.2069692611694336, -0.20498116314411163, 0.6657602190971375, -0.583716094493866, 0.11113537847995758, -0.6798404455184937, -0.06108248233795166, -0.09819097816944122, -0.2917015850543976, -0.4157535433769226, 0.2605837285518646, -0.18263652920722961, -0.8349698185920715, -0.08616460859775543, 0.5910297632217407, 1.1681386232376099, 0.3830527365207672, -0.8260176777839661, -0.18579412996768951, -0.4076290726661682, 0.7380825877189636, -0.5673299431800842, 0.6266635656356812, -0.08572621643543243, 0.24194838106632233, 0.23942643404006958, -0.3560958504676819, -0.9011613726615906, -0.05727216973900795, -0.11968687176704407, 0.12894093990325928, 0.0026028971187770367, -0.05913309380412102, 0.11186932772397995, 0.16267743706703186, -0.5408643484115601, 0.10822506248950958, -0.2549930810928345, -0.15938226878643036, 0.5821037292480469, 0.0737379789352417, 0.5238431096076965, -0.12216006964445114, -0.8848983645439148, 0.15283851325511932, -0.5983158946037292, 0.02292237989604473, 0.20146161317825317, 0.050761375576257706, -0.07525314390659332, 0.9231851100921631, -0.08796506375074387, 0.737267017364502, 0.06012711673974991, -0.3289739787578583, 0.3948564827442169, -0.3484559655189514, -0.2256174236536026, 0.05435756593942642, 0.6898858547210693, 1.0036534070968628, -0.062120065093040466, -0.11084455251693726, -0.36746132373809814, 0.02706536278128624, 0.2957303524017334, -0.6422844529151917, 0.12269850820302963, 0.19561336934566498, -0.5142994523048401, -0.1557486355304718, 0.29429149627685547, -0.9750753045082092, -0.33719170093536377, -0.6063533425331116, 0.5761624574661255, -0.15931423008441925, -0.04565824195742607, -0.17973142862319946, 0.024509241804480553, 0.21417714655399323, 0.4748668372631073, -0.7224518060684204, -0.012561597861349583, 0.27636998891830444, 0.7379225492477417, -0.38024038076400757, -0.3369702100753784, -0.692846417427063, 0.6317421197891235, -0.05364782363176346, 0.6337020397186279, -0.4676755964756012, 0.38409557938575745, -0.14815153181552887, 0.05352284386754036, -0.029074976220726967, -0.09969455748796463, 0.505615234375, -0.7227827906608582, 0.1765877604484558, -0.06918054074048996, -0.5900257229804993, -0.1609383523464203, 0.3435029983520508, -1.1022013425827026, 0.4448384940624237, -0.19836923480033875, -0.9046962857246399, 0.5442918539047241, -0.6263279318809509, -0.5815433859825134, -0.2985802888870239, -0.15990352630615234, -0.6449386477470398, -0.008631587959825993, 0.7997302412986755, 0.43882906436920166, -0.04618123546242714, 0.40103229880332947, -0.34019193053245544, -0.0531088188290596, 0.2145562469959259, -0.545883297920227, 0.582783043384552, 0.32990762591362, -0.3570210635662079, 0.11100716888904572, -0.5707904100418091, -0.12138493359088898, 0.15075580775737762, -0.23863942921161652, -0.3377765715122223, -0.03541058674454689, 0.2913588583469391, 0.3909590542316437, 0.23977793753147125, -0.5079275369644165, 0.2234416902065277, 0.0754215270280838, 0.2666880786418915, 0.5592876672744751, -0.13321435451507568, 0.7240864634513855, -0.31947484612464905, 0.2869652807712555, 0.31966471672058105, 0.15627634525299072, -0.645928680896759, -0.2757551074028015, -0.7843308448791504, -0.41390544176101685, 0.39068153500556946, 0.5723963379859924, -1.073195457458496, 0.23295091092586517, -0.3578195571899414, -0.25925201177597046, -0.7548476457595825, 0.31351354718208313, 0.2897109091281891, 0.46992138028144836, 0.43379703164100647, -0.43730077147483826, -0.5523520112037659, -1.154340386390686, -0.09166841208934784, 0.1382676661014557, 0.40724748373031616, 0.22091370820999146, 0.19107341766357422, -0.005442459136247635, 0.6454675793647766, -0.1702195405960083, -0.5910840630531311, 0.08615434914827347, 0.1083931103348732, -0.2146589308977127, 0.5439667105674744, 0.5802221894264221, -1.2738659381866455, -0.1551961898803711, -0.061346106231212616, -0.7330945730209351, 0.036291323602199554, -0.39064234495162964, -0.11461922526359558, 0.4885586202144623, 0.5287348031997681, -1.0985634326934814, -0.007373339496552944, 0.7714887857437134, -0.15224958956241608, 0.27895328402519226, 0.032294485718011856, 0.40632086992263794, -1.225213885307312, -0.030403098091483116, 0.27673569321632385, -0.4509764313697815, -0.2612899839878082, 0.2596932351589203, 0.28002411127090454, -0.184933140873909, -0.3913364112377167, 0.46033215522766113, -0.9965198636054993, -0.1880350112915039, -0.08789139240980148, 0.18933053314685822, 0.2782149910926819, 0.38041695952415466, 0.05764388293027878, 0.4469272196292877, 0.6684566736221313, -0.16577017307281494, 0.5139927864074707, 0.09638045728206635, -0.43498915433883667, 0.6827964186668396, -0.18416264653205872, -0.15774257481098175, -0.507686197757721, 0.3095259666442871, -0.9586077332496643, -0.1902741640806198, 0.19548466801643372, -0.28108635544776917, 0.6927973628044128, 0.21280983090400696, -0.4269886016845703, -0.13867832720279694, -0.28040629625320435, 0.43182373046875, -0.11381635814905167, -0.33038556575775146, 0.8655290007591248, 0.47619855403900146, -0.3070284426212311, -0.9078570008277893, -0.5507954955101013, 0.363116979598999, -0.23153384029865265, -0.6469797492027283, 0.4558195173740387, -0.027577796950936317, -0.0403708890080452, 0.35133033990859985, -0.17443954944610596, 0.007059914991259575, -0.13528478145599365, 0.09817779809236526, 0.6180042028427124, -0.33567026257514954, 0.34429076313972473, 0.1808425784111023, 0.08227481693029404, -0.13336580991744995, -0.1514064222574234, 0.2796674370765686, -0.11148278415203094, -0.5326613783836365, -0.5916563272476196, 0.5868713855743408, 0.9368788003921509, -0.9145324230194092, 0.8233096599578857, 0.8967708945274353, -0.5994663238525391, 0.322313517332077, -0.7874292731285095, -0.002667689695954323, -0.29359230399131775, 0.5871849060058594, -0.1073581650853157, -0.6709708571434021, 0.14399701356887817, 0.20033587515354156, 0.3145972788333893, 0.4156751036643982, 0.4832128882408142, -0.4036486744880676, 1.2824325561523438, 0.4213026762008667, -0.18731838464736938, 0.6007874011993408, 0.11746816337108612, 0.26177310943603516, -0.5733731985092163, -0.1971343606710434, -0.024680495262145996, -0.6554628610610962, -0.23594588041305542, -0.3208348751068115, 0.10448181629180908, 0.012952563352882862, 0.11976085603237152, 0.17243753373622894, -0.20111314952373505, 0.3508681356906891, 0.31998780369758606, 0.12364136427640915, 0.43092432618141174, 0.14681099355220795, 0.33537057042121887, -0.09634226560592651, -0.5030437707901001, -0.41632983088493347, 0.9802572727203369, 0.3513529598712921, 0.9615341424942017, 0.11021970212459564, 0.4248046278953552, 0.14727962017059326, 0.45616355538368225, -0.5333889126777649, 0.3277466893196106, -0.02021588571369648, -0.6349993944168091, -0.29761940240859985, -0.36222314834594727, -0.669715940952301, 0.20870913565158844, -0.5441246032714844, -0.3283034861087799, 0.004149526357650757, 0.12200318276882172, -0.2612914443016052, 0.30787965655326843, -0.823976993560791, 0.896913468837738, -0.5620295405387878, -0.21859651803970337, 0.01697024330496788, -0.8963945508003235, 0.39070338010787964, 0.012909436598420143, 0.5000054836273193, -0.10416106134653091, -0.44943758845329285, 0.4275788962841034, 0.03175373375415802, 0.557360827922821, -0.2786911427974701, -0.13171552121639252, 0.21652746200561523, -0.1734917312860489, 0.5354263186454773, 0.1250387579202652, 0.4259521961212158, -0.033177223056554794, -0.1706247329711914, -0.3641749322414398, -0.5713404417037964, 0.7652251720428467, -0.45716777443885803, -0.7018070220947266, -0.31438004970550537, -0.9416797757148743, -0.23264837265014648, 0.23350556194782257, 0.19244293868541718, 0.458819180727005, 0.16416609287261963, 0.37860825657844543, 0.5251302719116211, 0.1241898387670517, 0.7107610106468201, 0.46240678429603577, -0.279376745223999, -0.49120545387268066, 0.8645555377006531, 0.04967420920729637, 0.10847175866365433, 0.7203922271728516, -0.45221173763275146, -0.3473217487335205, -0.485090434551239, -1.02329683303833, 0.07878869026899338, -0.5572019815444946, -0.6611175537109375, -0.8228365778923035, 0.036878105252981186, -0.358834445476532, -0.11872710287570953, -0.2711252272129059, -0.4478638470172882, -0.15974251925945282, -0.05722322314977646, -0.09899258613586426, 0.23637479543685913, 0.4893520772457123, -0.025944631546735764, -1.0000065565109253, 0.4464156925678253, 0.3176428973674774, 0.29354315996170044, -0.13741207122802734, -0.15467901527881622, -0.22048376500606537, 0.11972671747207642, -0.5312981605529785, -1.0222240686416626, 0.20596784353256226, 0.207139253616333, 0.6852272748947144, 0.5526224374771118, -0.12144272774457932, 0.6203179955482483, -0.5954778790473938, 0.7060841917991638, 0.519822895526886, -0.8799296021461487, 0.30667176842689514, -0.13911612331867218, 0.051394496113061905, 0.32406190037727356, 0.22073495388031006, -0.17468060553073883, -0.6209060549736023, -0.2923775911331177, -0.7952989935874939, 0.28417348861694336, 0.1440499722957611, 0.3309178948402405, 0.016647938638925552, -0.005471822340041399, 0.06398791074752808, 0.4256085753440857, -1.1666898727416992, -0.08940868824720383, -0.23418454825878143, -0.6308785080909729, -0.01319293212145567, -0.09101854264736176, -0.17249681055545807, -0.17192843556404114, 0.6825199127197266, -0.27426284551620483, 0.16525979340076447, 0.2569538950920105, -0.6283372044563293, -0.42721402645111084, 0.3749546706676483, 0.8883503079414368, 0.7808231115341187, 0.14373524487018585, 0.2263099104166031, -0.022026319056749344, -0.05089934542775154, 0.21116158366203308, 0.47861921787261963, -0.06981851160526276, 0.1139029935002327, 0.31894612312316895, 0.8766529560089111, 0.1798693835735321, -0.8732627630233765, 0.8679514527320862, 0.1554068624973297, -0.03704454377293587, -0.02757430262863636, -0.3124645948410034, 0.2638247609138489, 0.46498480439186096, 0.5273485779762268, 0.5075317025184631, 0.2002871185541153, -0.4685925543308258, 0.2718791961669922, 0.670748233795166, -0.3642812967300415, -0.007400959264487028, 0.9171523451805115, 0.3306480646133423, 0.1784096211194992, 0.34483903646469116, -0.14806188642978668, -0.3313385546207428, 0.6391719579696655, 0.6970351934432983, 0.36320140957832336, -0.18727052211761475, 0.06525293737649918, 0.07263103872537613, 0.6047106385231018, -0.01265513151884079, 0.20122623443603516, 0.3391737937927246, -0.7851731777191162, -0.5665819048881531, -0.411242812871933, 0.0402410514652729, -0.04616917297244072, -0.5231770873069763, 0.3862912058830261, -0.0929713249206543, -0.02169857732951641, 0.19142329692840576, -0.38590461015701294, -0.6014124751091003, 0.3984026610851288, 0.44623810052871704, 0.8812317252159119, -0.8803213238716125, 0.6231934428215027, 1.1329501867294312, -0.5232747793197632, -0.7208142280578613, -0.13638505339622498, 0.028783271089196205, -0.7159776091575623, 0.34263601899147034, 0.5411993265151978, 0.25938934087753296, -0.006487049628049135, -0.4956720769405365, -0.72752445936203, 1.465453863143921, 0.5690186023712158, -0.8028573393821716, -0.21375171840190887, -0.20755764842033386, 0.15528742969036102, -0.8536952137947083, -0.2422483265399933, -0.10892051458358765, 0.5623120069503784, -0.0977216586470604, -0.8282166719436646, 0.0346943698823452, -0.3912460505962372, 0.007102299947291613, 0.5236448049545288, -0.7168802618980408, 0.7499724626541138, -0.5385428071022034, -0.2276235967874527, 0.08361881971359253, 0.9246418476104736, -0.05473700165748596, 0.6490433216094971, 0.7990121245384216, 0.9078847169876099, 0.5450078845024109, 0.01210795808583498, 1.0693318843841553, -0.26691222190856934, 0.32048818469047546, 1.0189677476882935, -0.3997134268283844, 0.791135311126709, 0.9443343877792358, 0.2227490097284317, 0.27913063764572144, 0.45226168632507324, -0.30774059891700745, 0.5785408020019531, -0.2771894335746765, -0.1399814337491989, -0.21129339933395386, -0.2663426101207733, -0.12998896837234497, 0.5386646389961243, -0.034857288002967834, -0.7122577428817749, -0.06424306333065033, 0.4102409780025482, -0.14019818603992462, -0.027987172827124596, -0.5356097221374512, 0.6642889976501465, -0.07778144627809525, -0.6867728233337402, -0.09140942990779877, 0.06979099661111832, 0.5107337236404419, -0.300431489944458, -0.12857985496520996, 0.11899237334728241, -0.16591569781303406, -0.2072937786579132, -0.8583617806434631, 0.16190677881240845, -0.13481570780277252, -0.37146317958831787, -0.1351483315229416, 0.7372515797615051, -1.0100666284561157, -0.5727598667144775, -0.12145654112100601, 0.5595195889472961, -0.28250259160995483, -0.09646662324666977, -0.5362465977668762, -0.09062524139881134, -0.030479498207569122, -0.20703352987766266, 0.22665907442569733, 0.39116883277893066, -0.27239471673965454, 0.4811181128025055, 0.5734931826591492, -0.1456107646226883, 0.05968070030212402, 0.063443124294281, 0.7435129880905151, -0.2078048437833786, -0.4541575312614441, -0.8476897478103638, 0.6033279299736023, -0.21643561124801636, -0.1121402308344841, 0.4354235827922821, 0.7289261817932129, 0.7524588108062744, -0.24293233454227448, 0.4427368938922882, -0.18097873032093048, -0.023917783051729202, -0.9450169801712036, 0.5824103355407715, -0.8677797317504883, 0.013774177059531212, -0.2390282154083252, -1.2754135131835938, -0.4141020178794861, 0.12638069689273834, 0.1398165076971054, -0.02715115249156952, 0.6783371567726135, 0.7477434277534485, -0.13452476263046265, -0.033614903688430786, 0.2429157793521881, -0.18516048789024353, 0.015374903567135334, 0.47854435443878174, 0.7454005479812622, -0.37656062841415405, 0.7750467658042908, -0.20343832671642303, -0.021774908527731895, -0.19089442491531372, -1.0846270322799683, -0.6001864075660706, -0.7071723341941833, -0.31468600034713745, 0.04792638123035431, -0.10978789627552032, 0.9703678488731384, 0.6141607165336609, -0.6885975003242493, 0.3815321922302246, 0.2898719310760498, 0.024504417553544044, -0.36267274618148804, -0.24817045032978058, 0.2555135488510132, -0.22842957079410553, -0.8289693593978882, -0.16492648422718048, 0.4805873930454254, 0.2333904504776001, -0.17363829910755157, -0.1594732403755188, -0.37475213408470154, -0.0752648413181305, 0.5684835314750671, -0.14776089787483215, -0.8961771726608276, -0.40177518129348755, 0.040928591042757034, -0.4584580957889557, 0.1791275292634964, 0.8072453737258911, -0.13405616581439972, 0.6053794026374817, 0.17238818109035492, 1.021139144897461, 0.08448704332113266, 0.15055151283740997, 0.39726316928863525, -0.9056649208068848, 0.09968926012516022, -0.0008098006946966052, 0.8239420652389526, 0.5343270897865295, -0.39286795258522034, 0.1288384646177292, 0.11144791543483734, -0.3222159147262573, -0.5654689073562622, 0.005678804125636816, -1.4378503561019897, -0.03531529754400253, 0.9064409136772156, -0.11328057199716568, -0.13912971317768097, 0.32526156306266785, -0.6054518818855286, 0.2844136357307434, -0.42559999227523804, 0.6091713905334473, 0.8784948587417603, 0.22024664282798767, -0.9097716808319092, -0.5724861025810242, 0.0944773256778717, 0.40062540769577026, -1.0149132013320923, -0.27949076890945435, 0.6546898484230042, 0.09202354401350021, 0.4356922507286072, 0.23785540461540222, -0.211153045296669, 0.5574691295623779, -0.28170379996299744, 0.28110751509666443, -0.5204887390136719, -0.4518035650253296, -0.1333199292421341, 0.16804426908493042, -0.16845925152301788, -0.4278262257575989 ]
http://arxiv.org/abs/2402.19379v5
http://arxiv.org/pdf/2402.19379v5
Wisdom of the Silicon Crowd: LLM Ensemble Prediction Capabilities Rival Human Crowd Accuracy
2024-02-29T17:27:59
2024-06-17T11:38:00
Philipp Schoenegger, Indre Tuminauskaite, Peter S. Park, Rafael Valdece Sousa Bastos, Philip E. Tetlock
cs.CY
cs.CY, cs.AI, cs.CL, cs.LG
Human forecasting accuracy in practice relies on the 'wisdom of the crowd' effect, in which predictions about future events are significantly improved by aggregating across a crowd of individual forecasters. Past work on the forecasting ability of large language models (LLMs) suggests that frontier LLMs, as individual forecasters, underperform compared to the gold standard of a human-crowd forecasting-tournament aggregate. In Study 1, we expand this research by using an LLM ensemble approach consisting of a crowd of 12 LLMs. We compare the aggregated LLM predictions on 31 binary questions to those of a crowd of 925 human forecasters from a three-month forecasting tournament. Our preregistered main analysis shows that the LLM crowd outperforms a simple no-information benchmark, and is not statistically different from the human crowd. We also observe a set of human-like biases in machine responses, such as an acquiescence effect and a tendency to favour round numbers. In Study 2, we test whether LLM predictions (of GPT-4 and Claude 2) can be improved by drawing on human cognitive output. We find that both models' forecasting accuracy benefits from exposure to the median human prediction as information, improving accuracy by between 17% and 28%, though this leads to less accurate predictions than simply averaging human and machine forecasts. Our results suggest that LLMs can achieve forecasting accuracy rivaling that of the human crowd: via the simple, practically applicable method of forecast aggregation.
[ -0.48885196447372437, -0.22810599207878113, 0.7240691781044006, -0.0033298367634415627, -0.12947386503219604, 0.32488003373146057, -0.20027393102645874, -0.8338792324066162, 0.3444787263870239, 0.43913042545318604, -0.5709530115127563, -0.1833641231060028, -0.5467047095298767, -0.07783234864473343, -0.4823507070541382, 0.5384225845336914, 0.5497814416885376, 0.3488234579563141, -0.4892979562282562, 0.17888198792934418, -0.2545304596424103, -0.466522216796875, -0.5916852951049805, -0.6246757507324219, 0.4025282859802246, 0.3631117641925812, 0.7676233053207397, 0.5382121205329895, 0.4055151641368866, 0.35599762201309204, 0.1402064859867096, 0.3063427209854126, -0.5401774048805237, -0.3436417877674103, 0.004034257493913174, -0.5697521567344666, -0.35530200600624084, 0.2628823220729828, 0.7758023738861084, 0.7633048295974731, -0.24248106777668, 0.0922292172908783, 0.3024466335773468, 0.7982695698738098, -0.38395801186561584, -0.004627672489732504, -1.1187033653259277, -0.018485484644770622, -0.3990073800086975, -0.19483822584152222, -0.34318268299102783, -0.2038910835981369, 0.17205217480659485, -0.619456946849823, 0.23025758564472198, 0.3221881091594696, 0.4954715967178345, 0.5228825807571411, -0.10939919203519821, 0.1285586804151535, -0.8084811568260193, 0.918457567691803, -0.4915525019168854, 0.23553769290447235, 0.3676552474498749, 0.32927942276000977, -0.3815471827983856, -0.40629786252975464, -0.515361487865448, 0.1423582285642624, 0.47895193099975586, 0.5021805167198181, -0.3859454393386841, -0.08966144919395447, 0.017181208357214928, 0.00018256466137245297, -0.49057164788246155, 0.4037904441356659, -0.7458192706108093, -0.2524228096008301, 0.8742443919181824, 0.2059638798236847, -0.19938518106937408, -0.04030146077275276, -0.732467532157898, 0.0006367753376252949, -0.714252769947052, -0.026590965688228607, 0.1972181797027588, -0.014176853932440281, 0.14087854325771332, 0.25612103939056396, -0.31558942794799805, 0.6292513012886047, 0.11564844101667404, -0.3334648907184601, -0.012688686139881611, 0.026725230738520622, -0.13657042384147644, 0.18684665858745575, 0.8878230452537537, 0.6704936623573303, 0.5076968669891357, -0.48799189925193787, -0.0012343140551820397, 0.09715544432401657, -0.01088206097483635, -0.6257082223892212, -0.447794646024704, -0.045569878071546555, -0.2894286811351776, -0.1570100486278534, 0.3764379024505615, -0.8716860413551331, -0.6857136487960815, -0.26848000288009644, 0.36071568727493286, -0.29735684394836426, 0.010210763663053513, 0.010616718791425228, -0.3692225217819214, 0.19087082147598267, 0.6311527490615845, -0.6196573972702026, 0.5914514660835266, 0.7930813431739807, 0.7737533450126648, -0.40029847621917725, -0.46751493215560913, -0.536981463432312, -0.05481266230344772, -0.296478807926178, 1.3088386058807373, -0.43291565775871277, -0.5693180561065674, -0.47241508960723877, -0.48067447543144226, -0.014572716318070889, -0.6557790040969849, 0.3253522217273712, -0.5944810509681702, 0.15983974933624268, -0.3643132746219635, -0.7477625608444214, -0.131134495139122, -0.10331792384386063, -0.4338853061199188, 0.6545562744140625, -0.24756157398223877, -0.4248082637786865, 0.5016455054283142, -0.41883111000061035, -0.03726169094443321, 0.30684539675712585, -0.4057779610157013, 0.10861369222402573, 0.05652732402086258, 0.30475959181785583, 0.5118383169174194, -0.2913750112056732, 0.020214613527059555, -0.6991276144981384, -0.6150170564651489, 0.6438894271850586, -0.8609615564346313, 0.3083063066005707, 0.19236992299556732, -0.14884698390960693, -0.13663829863071442, -0.3806093633174896, 0.005315460730344057, -0.04673765227198601, -0.22565287351608276, -0.23028604686260223, 0.47435909509658813, -0.41758760809898376, 0.040457583963871, -0.000854470010381192, -0.45867910981178284, -0.021945256739854813, -0.44836705923080444, 0.43747678399086, 1.2585607767105103, -0.2353878915309906, 0.7077147364616394, -0.6660415530204773, 0.3792266845703125, -0.047697603702545166, -0.02205168642103672, -0.10711425542831421, -0.915614128112793, -0.16816407442092896, -0.08343014866113663, 0.22903528809547424, 0.6606974005699158, -0.694157600402832, 0.12555699050426483, -0.5761073231697083, -0.7539601922035217, -0.3358360528945923, 0.30540862679481506, 0.014097671955823898, 0.668822705745697, -0.04042014107108116, -0.309359073638916, -0.43241724371910095, -0.563210666179657, -0.3380849063396454, -0.5891906023025513, -0.11671973764896393, 0.5019060969352722, 0.05291931703686714, -0.10107436776161194, 0.9406200647354126, -0.5058364868164062, 0.12386966496706009, -0.005597197450697422, 0.027112871408462524, 0.17885960638523102, 0.1289260983467102, 0.2047347128391266, -0.6863288283348083, -0.02471497841179371, -0.2268543243408203, -0.6075453758239746, 0.016753777861595154, 0.25887516140937805, -0.08603300899267197, 0.3747332692146301, 0.04157696291804314, -0.3679392337799072, 0.25203970074653625, 0.6514288783073425, -0.33094921708106995, 0.6390958428382874, 0.05931231379508972, 0.1650189608335495, -0.9507330656051636, -0.5729292631149292, 0.34807315468788147, -0.17106205224990845, -0.42249158024787903, -0.4599667489528656, -0.08149722963571548, 0.15783900022506714, -0.4255484640598297, 0.7504245042800903, -0.16392752528190613, -0.4947175681591034, -0.45146387815475464, 0.4562591314315796, -0.13876882195472717, 0.1185106411576271, 0.020027507096529007, 1.0282466411590576, 0.2785722017288208, -0.8814367055892944, 0.47629043459892273, -0.05241038277745247, -0.7080744504928589, 0.3807566463947296, -0.5163753032684326, 0.18612775206565857, -0.09751544147729874, 0.34047916531562805, -1.0116711854934692, -0.4861987829208374, -0.056753240525722504, -0.7548555135726929, 0.002728282241150737, 0.19910919666290283, -0.2893061637878418, -0.7070246338844299, -0.32020318508148193, 0.3313726484775543, 1.0171213150024414, -0.516319990158081, 0.3759302496910095, 0.53440922498703, -0.27498364448547363, -0.4975525438785553, -0.8303626179695129, 0.2063799649477005, -0.37777408957481384, -1.0602338314056396, 0.3687434792518616, -0.07677304744720459, -0.7161107659339905, -0.2512376308441162, -0.04597079008817673, 0.008189688436686993, 0.224041149020195, 0.22174392640590668, 0.6175887584686279, -0.23364759981632233, 0.4706760048866272, -0.4641353189945221, -0.13291716575622559, 0.10149425268173218, -0.6245219707489014, 0.5787646174430847, -0.2704443037509918, -0.6933246850967407, -0.2626854181289673, -0.22019071877002716, 0.261443167924881, 0.21519479155540466, 0.36102500557899475, 0.49347007274627686, -0.3531785011291504, 0.23231518268585205, -1.0778950452804565, -0.4429466426372528, -0.5073792934417725, 0.41580837965011597, -0.04706958308815956, -0.7767826914787292, 0.5638428330421448, -0.08498093485832214, -0.1245240718126297, 0.768983006477356, 0.31915998458862305, -0.4655984938144684, 1.0753990411758423, 0.39246442914009094, -0.5605481863021851, 0.4023282527923584, -0.020740380510687828, -0.4046876132488251, -0.6708587408065796, -0.17485053837299347, -0.4258708953857422, -0.5419585108757019, -0.6611422896385193, -0.5412612557411194, 0.5115675926208496, 0.020457401871681213, -0.1980387568473816, 0.0585169792175293, -0.40003153681755066, 0.6810458898544312, 0.7087422609329224, 0.2100798487663269, 0.38000378012657166, 0.2759571075439453, 0.460692435503006, -0.1684083193540573, -1.0349458456039429, -0.755721926689148, 1.0978912115097046, 0.3304571509361267, 0.8182218670845032, -0.14873243868350983, 0.700556218624115, 0.38074377179145813, 0.40606218576431274, -0.5712556838989258, 0.6000412106513977, -0.29783275723457336, -0.39550191164016724, -0.5661351680755615, -0.6358715891838074, -0.7878538966178894, 0.14794540405273438, -0.16096176207065582, -1.0668116807937622, 0.1855747103691101, 0.047754917293787, -0.6231322884559631, 0.6701312065124512, -0.6538152694702148, 0.3676987588405609, -0.3113117218017578, -0.29178011417388916, -0.3605254888534546, -0.41453683376312256, 0.4829198718070984, -0.28488194942474365, 0.5275716781616211, -0.4781467616558075, -0.3675541281700134, 1.0694960355758667, -0.17147262394428253, 0.9389621615409851, -0.020088672637939453, 0.19072730839252472, 0.5437818169593811, -0.20997865498065948, 0.5327171087265015, -0.08664077520370483, -0.5620958209037781, 0.24285118281841278, -0.24136577546596527, -0.5902219414710999, -0.408232718706131, 0.7112305760383606, -1.1884310245513916, -0.8188562989234924, -0.1711285561323166, -0.3978281319141388, -0.17560893297195435, -0.2515658736228943, 0.4513588845729828, 0.5296299457550049, -0.3048078417778015, -0.04124406725168228, 0.6025934219360352, -0.03731028735637665, 0.5634005069732666, 0.3633195459842682, -0.20709888637065887, -0.6668899059295654, 0.8913730382919312, 0.3253342807292938, 0.37756025791168213, 0.2016773223876953, 0.35860881209373474, -0.2849738895893097, -0.40257999300956726, -0.7584326267242432, 0.038029927760362625, -0.561394453048706, -0.167029470205307, -0.4873499572277069, -0.015844086185097694, -0.48372501134872437, -0.04051893576979637, -0.14224115014076233, -0.4693959057331085, -0.3037761449813843, 0.07430806010961533, 0.3709050416946411, 0.9887949228286743, 0.011110587976872921, 0.42707154154777527, -0.9292685985565186, -0.27658405900001526, 0.48597997426986694, 0.1820479929447174, 0.00576908141374588, -0.665191113948822, -0.09927245229482651, 0.2781478464603424, -0.5337920784950256, -0.8610936403274536, 0.274269700050354, 0.10353192687034607, 0.6474056839942932, 0.7317371964454651, 0.07524241507053375, 0.932152509689331, -0.24240094423294067, 0.8916800022125244, 0.4199463129043579, -0.6030611395835876, 0.33301103115081787, -0.3528285026550293, 0.28690803050994873, 0.4927845895290375, 0.032852429896593094, -0.4169924557209015, -0.29166194796562195, -0.8543707728385925, -0.47129446268081665, 0.8207036256790161, -0.09539082646369934, 0.0553751103579998, -0.02240694686770439, 0.263028085231781, 0.23708932101726532, 0.27824991941452026, -0.47479623556137085, 0.09813797473907471, 0.010301792062819004, 0.14510412514209747, -0.5517565011978149, -0.0719878301024437, 0.3008142113685608, -0.14425571262836456, 0.6222246885299683, -0.037275757640600204, 0.3843229115009308, 0.19293707609176636, 0.4294856786727905, -0.4223250448703766, 0.03067738562822342, 0.5355197787284851, 0.7255606055259705, -0.05440324544906616, 0.1386563777923584, 0.8867414593696594, -0.27226701378822327, -0.07158737629652023, 0.05844424292445183, -0.10329080373048782, -0.18270935118198395, 0.4323643445968628, 0.6405797600746155, 0.245317742228508, -0.704349160194397, 0.2199554145336151, 0.06253144890069962, -0.34954166412353516, -0.6159926652908325, 0.2516775131225586, 0.21629706025123596, 0.3829840123653412, 0.8101754784584045, 0.49727126955986023, 0.13209868967533112, -0.5858384966850281, 0.052544694393873215, 0.5080575942993164, -0.5202544927597046, -0.2944914996623993, 0.8129479289054871, 0.33695629239082336, -0.45681264996528625, 0.5857882499694824, -0.26619523763656616, -0.5861338376998901, 0.8481405973434448, 0.2926346957683563, 0.7610384225845337, -0.14175252616405487, -0.03594236075878143, 0.05506788194179535, 0.264034241437912, -0.4058362543582916, -0.09718764573335648, 0.13399691879749298, -0.9294763803482056, -0.7343674898147583, -0.4409721791744232, -0.5939510464668274, -0.21283182501792908, -0.34869584441185, 0.1777438521385193, -0.26109984517097473, -0.27775144577026367, -0.03804263100028038, 0.2631431221961975, -0.675197422504425, -0.0782453790307045, 0.4277053475379944, 1.0478501319885254, -0.5517376065254211, 0.6278277635574341, 0.8457923531532288, 0.08782167732715607, -0.8343482613563538, 0.2280290722846985, 0.14643900096416473, -1.0255672931671143, 0.33370694518089294, 0.3294820785522461, -0.09234156459569931, -0.020637350156903267, -0.6702555418014526, -1.0336140394210815, 1.517494797706604, 0.3139185905456543, -0.8520557284355164, 0.21529555320739746, -0.09578084200620651, 0.15410113334655762, -0.42369815707206726, 0.34694427251815796, 0.3933176100254059, 0.48049163818359375, 0.585921585559845, -0.950234591960907, -0.3639949560165405, 0.023876385763287544, -0.18554864823818207, 0.19199138879776, -0.9899818897247314, 0.6471731662750244, -0.43275731801986694, -0.15878929197788239, 0.17473135888576508, 1.0832144021987915, 0.4282020926475525, 0.9578978419303894, 0.682862401008606, 0.2702232003211975, 1.3065866231918335, -0.24780626595020294, 1.1717737913131714, -0.4088967442512512, -0.28357720375061035, 0.7968630790710449, -0.47867515683174133, 0.9292743802070618, 0.2109534591436386, -0.6692788004875183, 0.4226658046245575, 0.8666728734970093, 0.12369324266910553, 0.33754029870033264, 0.059579260647296906, -0.4107193946838379, -0.6825043559074402, 0.16078411042690277, -0.3372708857059479, 0.5406932234764099, 0.23114420473575592, -0.008752112276852131, 0.04416460543870926, -0.15982727706432343, -0.1197536513209343, 0.22554618120193481, -0.7748563885688782, 0.9463716745376587, 0.1930408775806427, -0.9521368145942688, 0.10854217410087585, -0.11789955943822861, 0.9191980361938477, -0.07973627001047134, 0.37213075160980225, 0.09864210337400436, 0.38242653012275696, -0.09186612814664841, -0.7177611589431763, 0.20315967500209808, -0.09972914308309555, -0.22351288795471191, 0.09794999659061432, 1.1459568738937378, -0.01251139771193266, -0.7703250050544739, 0.22820058465003967, 0.8407250642776489, 0.6296114325523376, -0.26935023069381714, -0.37958285212516785, -0.26140472292900085, 0.003674137871712446, -0.06637535244226456, 0.5564586520195007, 0.36100831627845764, -0.056755974888801575, 0.9502367973327637, 0.5266556739807129, 0.06890995055437088, 0.0779062807559967, -0.15390139818191528, 0.8035144209861755, -0.7438147068023682, -0.19979821145534515, -1.285949945449829, 0.05227086693048477, -0.17843253910541534, -0.04159729555249214, 0.5816053748130798, 0.5171905159950256, 0.5843637585639954, 0.17252425849437714, 0.9913854598999023, 0.5708972215652466, 0.46725064516067505, -0.31621840596199036, 0.38319385051727295, -0.2286265790462494, 0.4813440442085266, -0.168110191822052, -0.8697100281715393, 0.2335868924856186, 0.20527751743793488, -0.7009314298629761, 0.2685782313346863, 0.17163878679275513, 0.6713961362838745, 0.21066296100616455, 0.5503019690513611, 0.5028181076049805, 0.1090647280216217, -0.10697837918996811, 0.5308656692504883, 1.1143856048583984, 0.03727345168590546, 0.7802306413650513, -0.1815497875213623, -0.4928590655326843, -0.22924688458442688, -0.7896540760993958, -0.8105090260505676, -0.24129779636859894, -0.12813226878643036, -0.22347964346408844, 0.17145061492919922, 1.1567944288253784, 0.7228739857673645, -0.5546547770500183, -0.38687872886657715, 0.07282105088233948, 0.22021351754665375, -0.172223299741745, -0.19758982956409454, -0.06467436999082565, -0.17066030204296112, -0.6421130299568176, 0.400448203086853, 0.26296088099479675, 0.11913412064313889, -0.4227551221847534, -0.42386725544929504, 0.3499147891998291, 0.2710036635398865, 0.54024738073349, 0.035811349749565125, -0.843826413154602, -0.2284766435623169, 0.3172697126865387, 0.02219037525355816, -0.1634119600057602, 0.14522510766983032, -1.2837268114089966, 0.009093080647289753, 0.2928340435028076, 0.38995683193206787, 0.4113074839115143, 0.35243669152259827, 0.6585475206375122, -0.2790991961956024, -0.20552755892276764, 0.12000879645347595, 0.34092167019844055, 0.24284827709197998, -0.250533789396286, 0.5835663676261902, 0.5167635679244995, -0.8925167322158813, -0.4134715795516968, -0.012857124209403992, -0.7949804067611694, -0.2155844271183014, 1.2357834577560425, 0.20761646330356598, -0.46438783407211304, -0.03929419070482254, -0.08379807323217392, -0.039432723075151443, -0.7986263036727905, 1.011549949645996, 0.7548288702964783, -0.2800354063510895, 0.0836867019534111, -0.6601786017417908, 0.07676796615123749, 0.20246924459934235, -0.4349513053894043, -0.1336703598499298, 0.36329755187034607, 0.0976385846734047, 0.22947198152542114, 0.779611349105835, 0.10956119745969772, 0.39398351311683655, -0.014418796636164188, -0.027845045551657677, 0.013346744701266289, -0.014858728274703026, -0.12718228995800018, 0.13063590228557587, 0.16375915706157684, -0.02664804831147194 ]
http://arxiv.org/abs/2402.19371v1
http://arxiv.org/pdf/2402.19371v1
OpenMedLM: Prompt engineering can out-perform fine-tuning in medical question-answering with open-source large language models
2024-02-29T17:19:39
2024-02-29T17:19:39
Jenish Maharjan, Anurag Garikipati, Navan Preet Singh, Leo Cyrus, Mayank Sharma, Madalina Ciobanu, Gina Barnes, Rahul Thapa, Qingqing Mao, Ritankar Das
cs.CL
cs.CL, cs.AI, cs.IR
LLMs have become increasingly capable at accomplishing a range of specialized-tasks and can be utilized to expand equitable access to medical knowledge. Most medical LLMs have involved extensive fine-tuning, leveraging specialized medical data and significant, thus costly, amounts of computational power. Many of the top performing LLMs are proprietary and their access is limited to very few research groups. However, open-source (OS) models represent a key area of growth for medical LLMs due to significant improvements in performance and an inherent ability to provide the transparency and compliance required in healthcare. We present OpenMedLM, a prompting platform which delivers state-of-the-art (SOTA) performance for OS LLMs on medical benchmarks. We evaluated a range of OS foundation LLMs (7B-70B) on four medical benchmarks (MedQA, MedMCQA, PubMedQA, MMLU medical-subset). We employed a series of prompting strategies, including zero-shot, few-shot, chain-of-thought (random selection and kNN selection), and ensemble/self-consistency voting. We found that OpenMedLM delivers OS SOTA results on three common medical LLM benchmarks, surpassing the previous best performing OS models that leveraged computationally costly extensive fine-tuning. The model delivers a 72.6% accuracy on the MedQA benchmark, outperforming the previous SOTA by 2.4%, and achieves 81.7% accuracy on the MMLU medical-subset, establishing itself as the first OS LLM to surpass 80% accuracy on this benchmark. Our results highlight medical-specific emergent properties in OS LLMs which have not yet been documented to date elsewhere, and showcase the benefits of further leveraging prompt engineering to improve the performance of accessible LLMs for medical applications.
[ -0.2068038135766983, -0.8542751669883728, 1.0605390071868896, 0.1790112406015396, -0.18146182596683502, -0.09519529342651367, -0.271160364151001, -0.5194498300552368, -0.17107681930065155, 0.4516584873199463, -0.8216066956520081, -0.6224063634872437, -0.3880363702774048, 0.3093882203102112, 0.19848541915416718, 0.898385226726532, -0.26313483715057373, 0.5760183930397034, -0.3382999897003174, -0.37822648882865906, -0.43989044427871704, -0.2699422538280487, -0.5284229516983032, -0.12077129632234573, 0.6061899662017822, 0.31899720430374146, 0.6496154069900513, 0.5326870083808899, 0.5387763381004333, 0.15429623425006866, -0.272519588470459, 0.2796876132488251, -0.43083423376083374, 0.5413827300071716, -0.15795455873012543, -0.4454479515552521, -0.4601767659187317, -0.07625221461057663, 0.4059279263019562, 0.5748060345649719, -0.018195567652583122, 0.3523739278316498, 0.07379654794931412, 0.7412830591201782, -0.41423436999320984, -0.12043754756450653, -0.49388614296913147, -0.06878458708524704, -0.18312060832977295, -0.3907521665096283, -0.42749640345573425, -0.825762152671814, -0.059375178068876266, -0.6054855585098267, -0.016314895823597908, 0.3767782747745514, 0.630945086479187, 0.5962212681770325, 0.19698581099510193, -0.4378789961338043, -0.45821142196655273, 0.5454491972923279, -0.7561371326446533, 0.4428209364414215, 0.11409815400838852, 0.5009257793426514, -0.19782619178295135, -0.799439549446106, -0.05201519653201103, -0.38726234436035156, 0.25351545214653015, 0.15696197748184204, -0.18171806633472443, 0.2613932490348816, 0.31763553619384766, 0.4502602219581604, -0.6513657569885254, 0.4381467401981354, -0.42857715487480164, -0.04527062550187111, 0.23169218003749847, 0.398644357919693, 0.37765777111053467, 0.2159581184387207, -0.46221017837524414, 0.4499224126338959, -1.2252079248428345, 0.21956373751163483, -0.2574799358844757, 0.3695532977581024, 0.049684539437294006, 0.8061416745185852, -0.4708316922187805, 0.6811326146125793, -0.16828033328056335, 0.038163915276527405, 0.23551657795906067, -0.3251030445098877, -0.32895559072494507, -0.012120161205530167, 0.7305426001548767, 0.4193578064441681, 0.06503253430128098, 0.031302325427532196, -0.21360482275485992, -0.1976419985294342, -0.014135591685771942, -0.8281838893890381, -0.1029723584651947, 0.6463298201560974, -0.7408725619316101, -0.07693225890398026, -0.20418459177017212, -0.4541587829589844, -0.750135600566864, -0.27114540338516235, 0.507845938205719, -0.3785305917263031, -0.007576757110655308, 0.28557083010673523, 0.0999424010515213, -0.06290260702371597, 0.5453581213951111, -0.30786699056625366, -0.05556492134928703, 0.5856146216392517, 1.0334949493408203, -0.0514594204723835, 0.016259485855698586, -0.7818495631217957, -0.431855708360672, -0.40969201922416687, 0.6849358677864075, -0.41831669211387634, -0.2936212122440338, -0.07187297940254211, -0.04791828617453575, 0.08982989937067032, -0.8505054116249084, 0.4793698787689209, -0.5559879541397095, 0.19859643280506134, -0.43667468428611755, -0.5593818426132202, 0.202919602394104, 0.20021627843379974, -0.39429235458374023, 0.8155179619789124, 0.06438741087913513, -0.5448144674301147, 0.20772333443164825, -1.0467145442962646, 0.010168490931391716, 0.29598021507263184, -0.2759431004524231, -0.17737078666687012, 0.36427679657936096, 0.4359029233455658, 0.29730522632598877, -0.6994439959526062, 0.22856532037258148, -0.29059141874313354, -0.1658424437046051, 0.34598270058631897, -0.20260894298553467, 0.8840903639793396, 0.4752418100833893, 0.10444757342338562, 0.5637080669403076, -0.5935396552085876, 0.10555122792720795, 0.1598690003156662, -0.2515380084514618, -0.32249894738197327, -0.23996052145957947, -0.3573504388332367, 0.36216047406196594, 0.31197237968444824, -0.8470242619514465, 0.2482500970363617, -0.6605016589164734, 0.4304044246673584, 0.6665321588516235, 0.27439913153648376, 0.11098884791135788, -0.5883523225784302, 0.7551942467689514, -0.2020946890115738, 0.5070988535881042, -0.3776840567588806, -0.9004900455474854, -0.1049383282661438, -0.5728908777236938, 0.20397557318210602, 0.5402498841285706, -0.7336400747299194, 0.010365583933889866, 0.14886777102947235, -0.38705676794052124, -1.2625473737716675, -0.05734715238213539, 0.24222970008850098, 1.0358093976974487, 0.47646617889404297, 0.15194422006607056, -0.41933318972587585, -0.5934690833091736, -0.3448423147201538, -0.1257125288248062, -0.46799376606941223, 0.5958930253982544, -0.017379026859998703, -0.0272042378783226, 0.9907028079032898, -0.6082869172096252, -0.15304186940193176, 0.04908374324440956, -0.0169661995023489, 0.549074113368988, 0.2813486158847809, 0.29979923367500305, -0.45874032378196716, -0.3768704831600189, -0.013291088864207268, -0.8858529925346375, -0.5804167985916138, 0.2360568344593048, -0.025430506095290184, 0.08578818291425705, 0.5098788142204285, -0.48877525329589844, 0.27716323733329773, 0.3880060017108917, -0.3296321928501129, 0.5952343344688416, -0.49760180711746216, 0.23156705498695374, -0.9100337028503418, 0.28283214569091797, -0.3798863887786865, -0.0952228233218193, -0.5710026621818542, 0.39824068546295166, 0.2741679847240448, -0.2905324101448059, -0.8039872646331787, 0.8097308874130249, -0.4403781592845917, 0.17627254128456116, -0.22991682589054108, -0.06101338937878609, -0.13711155951023102, -0.05671408027410507, -0.2508297562599182, 0.9339776039123535, 0.6436069011688232, -0.632196843624115, 0.22100438177585602, 0.3551383316516876, -0.3654896914958954, 0.5898684859275818, -0.9194297790527344, 0.02864859066903591, -0.11175470799207687, -0.11609575152397156, -0.8942795991897583, -0.29733291268348694, 0.21992941200733185, -0.4989985227584839, 0.020170459523797035, 0.09967827796936035, -0.42687493562698364, -0.4840555489063263, -0.2773677706718445, 0.2081385850906372, 0.896734893321991, -0.4992568790912628, 0.2841898202896118, 0.036061327904462814, -0.6868937611579895, -0.2672964930534363, -0.391311377286911, -0.11228447407484055, 0.20481032133102417, -0.6313284039497375, -0.028359686955809593, -0.4010457396507263, -0.16091684997081757, -0.03386033698916435, -0.15089647471904755, 0.10274199396371841, 0.10284588485956192, 0.3263610601425171, 0.601517915725708, -0.5726330280303955, 0.404753714799881, 0.2735738158226013, -0.04108324274420738, 0.1076013594865799, -0.3218185305595398, 0.3752581477165222, 0.03891937807202339, -0.7113246321678162, -0.21714822947978973, 0.3056677281856537, 0.7632049918174744, -0.3468035161495209, 0.5747809410095215, 0.17028701305389404, -0.4611905515193939, 0.09254806488752365, -0.4774208068847656, -0.3642132878303528, -0.451918363571167, 0.14149649441242218, -0.2266978919506073, -1.1337617635726929, 0.5322238206863403, -0.3162558972835541, 0.5496975183486938, 0.33289170265197754, 0.8237116932868958, -0.1906631737947464, 1.2371456623077393, 0.21147985756397247, 0.368937224149704, 0.1568010151386261, 0.3595650792121887, -0.17171809077262878, -0.7623081803321838, -0.38992080092430115, -0.7490524053573608, -0.33999553322792053, -0.2306031435728073, -0.5413891673088074, 0.954703688621521, 0.10305333137512207, -0.2315998673439026, -0.3474500775337219, -0.6224250197410583, 0.31485286355018616, 0.6323291659355164, 0.4803675711154938, 0.41804423928260803, -0.21114301681518555, -0.5437330007553101, 0.07756958901882172, -0.6853280663490295, -0.37676092982292175, 1.1343194246292114, 0.5904421806335449, 1.0941208600997925, -0.15793326497077942, 0.6036363840103149, -0.015733081847429276, 0.4702090322971344, -0.6100271940231323, 0.4380314350128174, -0.01665598526597023, -0.6329489350318909, -0.3375036120414734, -0.3610522449016571, -1.0486539602279663, -0.1106305792927742, -0.19584594666957855, -0.46433040499687195, 0.05933677777647972, 0.3110395669937134, -0.795141339302063, 0.22563205659389496, -0.36260202527046204, 0.5540222525596619, -0.13974156975746155, -0.24223442375659943, 0.1730131357908249, -0.8610095381736755, 0.21803420782089233, -0.1144196093082428, 0.14660106599330902, -0.29041218757629395, -0.4915981590747833, 0.24907223880290985, -0.5500635504722595, 0.562055230140686, -0.3901727497577667, -0.1015276238322258, 0.10203494131565094, -0.03542039543390274, 0.4730527102947235, 0.03755706921219826, -0.27178826928138733, 0.17379756271839142, -0.13643158972263336, -0.3068591356277466, -0.5701994299888611, 0.6910446286201477, -0.48070260882377625, -0.6188288927078247, -0.036874689161777496, -0.5975779294967651, -0.46467986702919006, 0.2742854058742523, 0.48282551765441895, 0.4762278199195862, -0.03773405775427818, 0.1914842575788498, 1.0383074283599854, -0.5741202235221863, 0.11949831247329712, 0.834868848323822, -0.4863392412662506, -0.4066299796104431, 0.6187299489974976, 0.1610250473022461, 0.3549407422542572, 0.20068645477294922, 0.5480654239654541, -0.5682321190834045, -0.776063084602356, -0.9167959094047546, 0.2376147210597992, -0.5562354922294617, -0.3274158537387848, -0.71875, -0.39571595191955566, -0.3544937074184418, -0.1667848378419876, -0.06745924800634384, -0.16108763217926025, -0.43828752636909485, 0.06741531938314438, 0.499899685382843, 0.8136911988258362, 0.1820129007101059, -0.14587312936782837, -1.0488650798797607, 0.39805731177330017, 0.043419912457466125, 0.6875587701797485, -0.30296605825424194, -0.4667488634586334, 0.058849580585956573, -0.07004600763320923, -0.07078967988491058, -1.063759446144104, -0.04346950352191925, -0.025456659495830536, 0.7230303883552551, 0.3647734224796295, 0.4655555486679077, 0.340188205242157, -0.612938642501831, 0.9036734104156494, 0.26339882612228394, -0.4963470995426178, 0.794144868850708, -0.28787922859191895, 0.6017992496490479, 0.5985859036445618, 0.5549638271331787, -0.3038269579410553, -0.6744024157524109, -0.3100059926509857, -0.5517047643661499, 0.6210271120071411, -0.01942351832985878, -0.20463505387306213, -0.017550401389598846, 0.3559507131576538, 0.3755131661891937, 0.39054667949676514, -0.18018917739391327, -0.1264578402042389, 0.2108430564403534, -0.436805784702301, 0.21242301166057587, -0.1529306024312973, -0.18648789823055267, -0.007516966201364994, 0.5353238582611084, -0.21232345700263977, 0.16228821873664856, 0.5684812068939209, 0.03508911654353142, -0.264178067445755, 0.4219534397125244, 0.855122983455658, 0.6853604912757874, -0.11429117619991302, -0.11606168001890182, 0.20861268043518066, -0.49024587869644165, 0.1295129507780075, 0.15850073099136353, -0.39710238575935364, 0.14423711597919464, -0.010445421561598778, 0.7493732571601868, 0.0442468598484993, -0.958702802658081, 0.3206060826778412, 0.13565756380558014, -0.17786791920661926, 0.47336336970329285, 0.019619427621364594, 0.08396371454000473, 0.31611981987953186, 0.3205742835998535, 0.14528888463974, 0.20675240457057953, -0.27852901816368103, 0.056250084191560745, 0.3781920075416565, -0.6582043170928955, -0.1510910838842392, 0.981942892074585, 0.18827468156814575, -0.3176821768283844, 0.3449201285839081, 0.193537175655365, 0.002428140491247177, 0.4159907400608063, 0.4726582169532776, 0.7947055697441101, -0.47976893186569214, -0.1579921543598175, 0.3128489851951599, 0.35619068145751953, -0.11810769885778427, 0.9075062274932861, 0.19075137376785278, -0.08211064338684082, -0.5382153987884521, -0.5392772555351257, -0.703118085861206, 0.09104614704847336, -0.5996283292770386, 0.31457942724227905, -0.533554196357727, -0.19860978424549103, -0.19978941977024078, -0.4022305905818939, -0.5221211910247803, 0.14740322530269623, -0.06573076546192169, 1.5627782344818115, -0.489246666431427, 0.4669214189052582, 1.0289701223373413, -0.24318048357963562, -0.7217448353767395, -0.22255252301692963, 0.050654955208301544, -1.0981111526489258, 0.2898048162460327, 0.15033668279647827, 0.15184643864631653, 0.06834601610898972, -0.673200249671936, -0.5720930695533752, 1.0317487716674805, 0.57620769739151, -0.790492057800293, -0.22120602428913116, -0.12707626819610596, 0.4131850600242615, -0.2940223813056946, 0.3265507221221924, 0.12279567867517471, 0.33436283469200134, 0.13310277462005615, -1.0734769105911255, 0.39888614416122437, -0.05179072916507721, -0.21943582594394684, 0.22668211162090302, -0.3381897211074829, 0.8793254494667053, -0.6288999915122986, -0.16894172132015228, 0.49322646856307983, 0.2056511491537094, 0.7029281854629517, 0.7875415086746216, 0.292511522769928, 0.1756075620651245, 1.0513992309570312, -0.1310235559940338, 0.9322080612182617, -0.47920337319374084, 0.02597232349216938, 0.9192168712615967, -0.5066508650779724, 0.8299477696418762, 0.3683283030986786, -0.150504931807518, 0.15525786578655243, 0.6651299595832825, 0.37448766827583313, 0.32332897186279297, 0.13871082663536072, -0.41405096650123596, -0.13108308613300323, -0.29387491941452026, -0.7756099700927734, -0.23345457017421722, 0.33756768703460693, -0.6476619243621826, -0.3023720979690552, 0.5510549545288086, -0.16453202068805695, -0.02856002002954483, -0.6355351805686951, 0.9474727511405945, 0.17438383400440216, -0.7113780379295349, 0.499187707901001, -0.34784650802612305, 0.39478254318237305, -0.836923360824585, 0.00937766581773758, -0.10317830741405487, -0.16148069500923157, -0.20576651394367218, -0.8388280868530273, 0.05778905749320984, 0.10655517876148224, -0.27782174944877625, -0.25109219551086426, 0.9069364666938782, -0.24010047316551208, -0.13322077691555023, -0.011055444367229939, 0.7003397345542908, 0.22415344417095184, -0.2245282679796219, -0.5881111025810242, 0.1458795964717865, -0.14483214914798737, -0.1622713953256607, 0.2933349311351776, 0.47078752517700195, -0.135320782661438, 0.7669447660446167, 0.9420893788337708, 0.44680550694465637, 0.10832926630973816, 0.05417667329311371, 1.036535382270813, -0.5402310490608215, -0.491731196641922, -0.9341864585876465, 0.4990260899066925, 0.04325120523571968, -0.38929057121276855, 0.5450169444084167, 0.49809810519218445, 0.30891138315200806, -0.2126467078924179, 0.6789649128913879, 0.2451958954334259, 1.0049182176589966, -0.7448498606681824, 0.858190655708313, -0.608085572719574, 0.14459159970283508, 0.11816171556711197, -0.5296033620834351, -0.35049009323120117, 0.030186744406819344, -0.19848453998565674, -0.18882355093955994, 0.5167392492294312, 0.7907488346099854, 0.26648667454719543, 0.22444476187229156, 0.6031718850135803, 0.47930023074150085, 0.12017818540334702, 0.4646250903606415, 1.038418173789978, 0.11513675004243851, 0.3563401699066162, 0.32447871565818787, -0.653936505317688, -0.4653443694114685, -0.7449212670326233, -0.6984178423881531, -0.1343342363834381, -0.14292097091674805, -0.4886954724788666, 0.1598169356584549, 1.2623900175094604, 0.5834037661552429, -0.8533006906509399, 0.32794561982154846, -0.006832081358879805, -0.01026223972439766, -0.24203798174858093, -0.12560221552848816, 0.06321744620800018, -0.503993034362793, -0.45502769947052, 0.7243677973747253, 0.596442699432373, 0.051110703498125076, -0.32789671421051025, -0.22120438516139984, 0.20314307510852814, 0.26112300157546997, 0.36248329281806946, 0.47412535548210144, -0.9521263837814331, 0.1357211023569107, 0.6558409929275513, -0.33634668588638306, 0.20827314257621765, 0.8561787009239197, -0.835326075553894, 0.6984347105026245, 0.6486415863037109, 0.9420644044876099, -0.1613793671131134, 0.11456580460071564, 0.4330082833766937, -0.4898639917373657, -0.3453518748283386, 0.5142173767089844, 0.30653300881385803, 0.050441473722457886, -0.44027939438819885, 0.29824984073638916, -0.04972551017999649, -0.7824190258979797, -0.9619330763816833, 0.17951615154743195, -0.6826561689376831, -0.397468239068985, 0.9804931282997131, -0.202785462141037, -0.1304446905851364, -0.39306366443634033, -0.7331677675247192, 0.07009194791316986, -0.3761560022830963, 0.36430248618125916, 0.41741567850112915, -0.3597055971622467, -0.08830193430185318, -0.8044460415840149, 0.44744640588760376, 0.43428918719291687, -0.8685199022293091, -0.08501076698303223, 0.43940430879592896, 0.3919575810432434, -0.07339829951524734, 0.9428771734237671, -0.4172450006008148, 0.5931230783462524, -0.4919548034667969, 0.02197931706905365, -0.5229230523109436, -0.29627540707588196, -0.6421173810958862, 0.49906978011131287, 0.3668188154697418, -0.4433193504810333 ]
http://arxiv.org/abs/2402.19350v5
http://arxiv.org/pdf/2402.19350v5
Prompting Explicit and Implicit Knowledge for Multi-hop Question Answering Based on Human Reading Process
2024-02-29T16:56:36
2024-06-28T00:26:41
Guangming Huang, Yunfei Long, Cunjin Luo, Jiaxing Shen, Xia Sun
cs.CL
cs.CL
Pre-trained language models (PLMs) leverage chains-of-thought (CoT) to simulate human reasoning and inference processes, achieving proficient performance in multi-hop QA. However, a gap persists between PLMs' reasoning abilities and those of humans when tackling complex problems. Psychological studies suggest a vital connection between explicit information in passages and human prior knowledge during reading. Nevertheless, current research has given insufficient attention to linking input passages and PLMs' pre-training-based knowledge from the perspective of human cognition studies. In this study, we introduce a Prompting Explicit and Implicit knowledge (PEI) framework, which uses prompts to connect explicit and implicit knowledge, aligning with human reading process for multi-hop QA. We consider the input passages as explicit knowledge, employing them to elicit implicit knowledge through unified prompt reasoning. Furthermore, our model incorporates type-specific reasoning via prompts, a form of implicit knowledge. Experimental results show that PEI performs comparably to the state-of-the-art on HotpotQA. Ablation studies confirm the efficacy of our model in bridging and integrating explicit and implicit knowledge.
[ -0.4124581813812256, -0.9548844695091248, 1.105888843536377, 0.10624969750642776, -0.23596741259098053, 0.11696748435497284, 0.06728648394346237, -0.4525807201862335, -0.4009269177913666, 0.45738425850868225, -0.6867175698280334, -0.34574946761131287, -0.19704265892505646, 0.2858577370643616, -0.032332874834537506, 0.404835969209671, -0.07923013716936111, -0.11586136370897293, -0.2568419575691223, 0.15681126713752747, -0.7306161522865295, -0.5685243606567383, -0.7337772846221924, -0.24790151417255402, 0.8003284335136414, 0.29098400473594666, 0.37466877698898315, 0.3401798903942108, 0.14136409759521484, 0.2339339256286621, -0.1356639713048935, 0.37170347571372986, 0.06970112770795822, 0.25936681032180786, -0.13419471681118011, -0.6439305543899536, -0.17557397484779358, 0.13058894872665405, 0.7130003571510315, 0.7308309674263, 0.20942728221416473, -0.08485788851976395, 0.14311251044273376, 0.5275707840919495, -0.6330075263977051, -0.06649777293205261, -0.39375045895576477, -0.05475080385804176, 0.011343196034431458, -0.40942543745040894, -0.6354579329490662, -0.4991486966609955, 0.5092271566390991, -0.739446222782135, 0.11701666563749313, 0.20065759122371674, 0.532906174659729, 0.3294391334056854, -0.7568880319595337, -0.4095718562602997, -0.5550031661987305, 0.3800908923149109, -0.31185808777809143, 0.5593273043632507, 0.4885571599006653, -0.04052765667438507, 0.10008557140827179, -0.553175151348114, -0.7667129039764404, -0.0832388773560524, -0.2594487965106964, 0.11403433978557587, 0.022208765149116516, 0.21563781797885895, 0.28914040327072144, -0.14716081321239471, -0.5597414970397949, -0.3136221766471863, -0.5008925199508667, 0.02498585544526577, 0.3111017048358917, -0.11814621090888977, 0.39856767654418945, -0.004058752208948135, -0.8403924107551575, -0.08842775970697403, -0.6121204495429993, 0.62321537733078, 0.11459735780954361, 0.2014320343732834, 0.18340079486370087, 0.3259086012840271, -0.14240649342536926, 0.8054969310760498, 0.1603805422782898, 0.24643699824810028, 0.2930384576320648, -0.24406784772872925, -0.012313160113990307, -0.04908638447523117, 0.6221858859062195, 0.014831333421170712, 0.5476585030555725, -0.22295400500297546, 0.2836073935031891, -0.16775524616241455, 0.2413041889667511, -0.32723718881607056, 0.04346736893057823, 0.43299493193626404, -0.03641544282436371, 0.24035032093524933, 0.15014532208442688, -0.7049371600151062, -0.42352184653282166, -0.39885327219963074, 0.5754434466362, -0.6280342936515808, -0.3315961956977844, 0.31663966178894043, -0.22984300553798676, 0.514308512210846, 0.4188985228538513, -0.5989172458648682, 0.05898743495345116, 0.40950602293014526, 0.6213683485984802, 0.17623697221279144, -0.6126713752746582, -0.5493441820144653, 0.4564778208732605, -0.08246365934610367, 1.1413403749465942, -0.4986917972564697, -0.25393423438072205, -0.08820790797472, -0.25538524985313416, -0.6088743805885315, 0.0442352332174778, 0.4709111154079437, -0.8486478328704834, 0.2947238087654114, -0.5235183835029602, -0.4654165506362915, -0.36155399680137634, 0.4795570969581604, -0.44397348165512085, 0.908841609954834, -0.21732482314109802, -0.9229240417480469, 0.1963665783405304, -0.8762115836143494, -0.3932589292526245, -0.016187265515327454, -0.018142281100153923, 0.12217159569263458, -0.19511957466602325, 0.6890530586242676, 0.3162592351436615, -0.06043986603617668, 0.31373196840286255, -0.14709025621414185, -0.4695795178413391, 0.4020841717720032, -0.4075756072998047, 0.8089907169342041, 0.12154457718133926, -0.26218634843826294, 0.22470667958259583, -0.23602195084095, 0.1262003630399704, -0.17072448134422302, -0.2732718586921692, -0.43476852774620056, -0.1235729455947876, -0.6776121258735657, 0.45440202951431274, 0.009846172295510769, -0.5005390048027039, 0.36022019386291504, -0.2895336449146271, 0.3715868592262268, 0.7660099864006042, 0.29536956548690796, 0.5108868479728699, -0.23500747978687286, 0.507379949092865, 0.20041340589523315, 0.3509621322154999, -0.5076937079429626, -0.7501576542854309, -0.49787554144859314, -0.08981878310441971, 0.2427850067615509, 0.8022720813751221, -0.8187915682792664, 0.17845085263252258, 0.2229090929031372, -0.11371761560440063, -0.599938690662384, -0.010508745908737183, 0.3943215012550354, 0.7768619060516357, 0.5500063896179199, 0.14390309154987335, -0.17061080038547516, -0.3296807110309601, -0.36458685994148254, -0.45767584443092346, -0.09232565760612488, 0.23064658045768738, 0.212899312376976, -0.0137150464579463, 1.0429853200912476, -0.5891352295875549, -0.06592421978712082, -0.15143872797489166, 0.45553669333457947, -0.04329043626785278, 0.47247371077537537, 0.17450767755508423, -0.763017475605011, -0.23435507714748383, -0.46157994866371155, -0.7517976760864258, -0.10067790746688843, -0.1084800735116005, -0.6175508499145508, -0.2191447615623474, 0.7042374610900879, -0.5170098543167114, 0.23090751469135284, 0.219682976603508, -0.6702794432640076, 0.6984805464744568, -0.19155403971672058, 0.3709394335746765, -0.841399610042572, 0.21284985542297363, -0.08249898999929428, 0.014998198486864567, -0.5610811114311218, 0.044236909598112106, 0.09920889884233475, -0.019698763266205788, -0.5618652701377869, 0.8503655195236206, -0.5853807330131531, 0.1562066376209259, 0.11667938530445099, 0.16695451736450195, 0.38626828789711, 0.7451477646827698, 0.5286340117454529, 0.7394606471061707, 0.4712259769439697, -0.7883384227752686, 0.08234637975692749, 0.4687190055847168, 0.11015037447214127, 0.4584745764732361, -0.7454468607902527, 0.4386575222015381, -0.2701590657234192, 0.2646470069885254, -1.0858945846557617, 0.2352546751499176, 0.31418168544769287, -0.4787845313549042, -0.043691929429769516, -0.2889483869075775, -0.42349445819854736, -0.49182355403900146, -0.10402655601501465, 0.5129157304763794, 0.4465453326702118, -0.42787471413612366, 0.7684957981109619, -0.12121158093214035, -0.4004119336605072, -0.6778039336204529, -0.3476157486438751, -0.40238678455352783, -0.04698542505502701, -0.708768367767334, -0.0782032161951065, -0.3160577416419983, 0.07386528700590134, -0.1002378985285759, 0.04639887809753418, -0.3479662537574768, -0.05521783605217934, 0.11550342291593552, 0.39618170261383057, -0.2525178790092468, 0.3326212167739868, 0.22799460589885712, -0.14072559773921967, 0.3103705942630768, -0.5008455514907837, 0.3463810682296753, -0.3612388074398041, -0.44988182187080383, -0.5447018146514893, 0.45657113194465637, 0.4108976721763611, -0.5257169008255005, 0.6202041506767273, 0.6075565814971924, -0.0603836327791214, 0.15747655928134918, -0.6426758170127869, -0.3765479326248169, -0.42802414298057556, -0.23506216704845428, -0.5464298725128174, -0.8658391833305359, 0.2996487319469452, -0.31236761808395386, 0.05513709783554077, 0.1251658946275711, 0.22528813779354095, -0.6619786024093628, 1.1586217880249023, 0.4823901653289795, 0.3621165156364441, 0.4469924867153168, -0.07992876321077347, -0.037590693682432175, -1.0795025825500488, -0.4314546287059784, -0.5965597033500671, -0.10612963885068893, 0.2429821491241455, -0.44841185212135315, 0.497518926858902, 0.4433480203151703, -0.4203842580318451, -0.30364665389060974, -0.2997265160083771, 0.5381700396537781, 0.9834612607955933, 0.2858981490135193, 0.5901501774787903, -0.2191184163093567, -0.7487087845802307, 0.31263095140457153, -0.7627128958702087, -0.3743134140968323, 0.9937831163406372, 0.10582534968852997, 0.42213883996009827, -0.14043065905570984, 0.37579792737960815, 0.22440503537654877, 0.056147251278162, -0.38787806034088135, 0.2947145402431488, 0.489851176738739, -0.7999069094657898, -0.44769516587257385, -0.3302946090698242, -1.0555713176727295, 0.27801087498664856, -0.20723956823349, -0.5699209570884705, 0.37844449281692505, 0.34622862935066223, -0.8145650029182434, 0.37671276926994324, -0.8613240718841553, 0.6838995814323425, -0.32507094740867615, -0.3853236734867096, 0.14243091642856598, -1.0187039375305176, 0.39045462012290955, 0.34635868668556213, 0.21710939705371857, 0.024968117475509644, 0.07132015377283096, 0.6358714699745178, -0.10371643304824829, 0.8626851439476013, -0.30106815695762634, -0.08134573698043823, 0.5900295376777649, 0.005916541907936335, 0.24517518281936646, 0.17127159237861633, -0.019567565992474556, -0.23031993210315704, 0.04478198289871216, -0.5455378293991089, -0.571395754814148, 0.033010758459568024, -0.8402560353279114, -0.520704984664917, -0.6725969314575195, -0.6478966474533081, -0.7496131658554077, 0.26035022735595703, 0.2671191692352295, 0.3657081127166748, 0.05139712616801262, -0.3487332761287689, 1.2052257061004639, -0.0861923098564148, 0.12734296917915344, 0.7031981945037842, -0.04968960955739021, -0.09047339856624603, 0.4347454309463501, -0.2839266061782837, 0.16111356019973755, 0.527268648147583, 0.20276804268360138, -0.9550451636314392, -0.4220612645149231, -0.590141773223877, 0.4480205774307251, -0.5646700859069824, -0.04500211775302887, -0.8318187594413757, -0.1480150818824768, -0.4094579815864563, -0.3200789988040924, 0.06190958246588707, 0.08598901331424713, -0.08963354676961899, -0.06688418984413147, 0.32332751154899597, 0.6747899651527405, 0.053886909037828445, 0.3500683903694153, -1.0297425985336304, 0.550125777721405, 0.8285472393035889, 0.3750934898853302, 0.08450990915298462, -0.24826481938362122, 0.06263067573308945, 0.1158604547381401, -0.1475963443517685, -1.1631124019622803, -0.020729832351207733, -0.17718079686164856, 0.553267240524292, 0.5029445290565491, 0.31539642810821533, 0.4529047906398773, -0.37883925437927246, 0.5460976362228394, 0.09460820257663727, -0.9614800810813904, 0.7013692259788513, -0.3812839984893799, 0.5141794085502625, 0.7318342328071594, 0.6103813648223877, -0.704415500164032, -0.29168012738227844, -0.5163186192512512, -0.6571487784385681, 0.7295342087745667, 0.02831847593188286, -0.25171560049057007, 0.09054405242204666, 0.3633913993835449, 0.11467341333627701, 0.2742699682712555, -0.5262230038642883, 0.03067420795559883, -0.009958022274076939, -0.11760406941175461, 0.1373019814491272, -0.11367223411798477, 0.06430183351039886, -0.2548069357872009, 0.5480942130088806, -0.22284677624702454, 0.28063368797302246, 0.4979570508003235, -0.5080462098121643, 0.03257482498884201, 0.48522669076919556, 0.345478892326355, 0.7118021845817566, -0.31377077102661133, 0.3231205940246582, -0.08403744548559189, -0.45211631059646606, 0.34087443351745605, -0.036475829780101776, -0.36596301198005676, -0.41703200340270996, 0.22833481431007385, 0.5203530192375183, 0.0782349556684494, -0.6509584188461304, 0.36040735244750977, -0.32708317041397095, -0.2047538161277771, -0.020661622285842896, 0.04723316803574562, 0.29504746198654175, 0.3112882971763611, 0.4200534522533417, 0.17980284988880157, 0.011193003505468369, -0.36158087849617004, 0.05858458951115608, 0.029336806386709213, -0.3747198283672333, -0.3251226842403412, 0.6182544827461243, 0.6255927681922913, 0.11516804248094559, 1.0866330862045288, -0.1982550472021103, -0.5680139064788818, 0.2927543520927429, 0.3321802318096161, 0.49409928917884827, -0.3187390863895416, 0.382191002368927, 0.28732866048812866, 0.43115463852882385, 0.05178084224462509, 0.607571005821228, -0.2924284338951111, -0.7551184296607971, -0.6444714069366455, -0.3666040599346161, -0.4729121923446655, -0.05493520200252533, -0.629976749420166, 0.017581405118107796, -0.36205172538757324, 0.03943514823913574, -0.2832949757575989, -0.02644241414964199, -0.820681631565094, 0.1349601000547409, 0.4131673574447632, 1.0112930536270142, -1.0547621250152588, 0.6800337433815002, 0.7476450800895691, -0.7489847540855408, -1.024294137954712, 0.1543872356414795, -0.16393987834453583, -0.6452659964561462, 0.3466515839099884, 0.041603632271289825, -0.2240348905324936, 0.395082026720047, -0.36892205476760864, -0.6893244385719299, 1.0190449953079224, 0.360027551651001, -0.204265296459198, -0.5473591089248657, -0.010613912716507912, 0.23018349707126617, -0.08306510746479034, 0.556640625, 0.5325255393981934, 0.6512545347213745, 0.3338114321231842, -0.5470460653305054, 0.021400900557637215, -0.3659610152244568, -0.32182106375694275, 0.03109223209321499, -0.37685129046440125, 0.8122097253799438, -0.42516806721687317, -0.05855582281947136, -0.15263330936431885, 0.6884954571723938, 0.7403550148010254, 0.44146981835365295, 0.6305516958236694, 0.2848639190196991, 1.0668079853057861, 0.023161254823207855, 0.9371601939201355, -0.047914426773786545, -0.18597084283828735, 0.9850832223892212, -0.2805800139904022, 0.8345543146133423, 0.3954225182533264, -0.188433438539505, 0.8995772004127502, 0.757307231426239, 0.54512619972229, 0.22272051870822906, -0.20732097327709198, -0.2364598512649536, -0.5034696459770203, 0.03767915442585945, -0.5134937763214111, 0.10687528550624847, 0.35675182938575745, 0.03869585320353508, -0.03806576877832413, 0.007128444500267506, -0.09927219152450562, -0.10873568058013916, -0.4547770619392395, 0.8650854825973511, -0.05582220479846001, -0.978532612323761, 0.41727229952812195, -0.18697726726531982, 0.553170919418335, -0.7934586405754089, -0.024087155237793922, -0.13532674312591553, -0.2981410622596741, 0.0899031013250351, -1.020099401473999, -0.01305771991610527, 0.06378257274627686, -0.41012683510780334, -0.2975504994392395, 0.6502663493156433, -0.5172011256217957, -0.2877008020877838, 0.1457674205303192, 1.0278037786483765, 0.2519210875034332, -0.5689507126808167, -0.7689465880393982, -0.4233410358428955, -0.1909675896167755, -0.19555987417697906, -0.000796761829406023, 0.5809159874916077, -0.13557878136634827, 0.5718296766281128, 0.910475492477417, -0.026102924719452858, 0.3681511878967285, 0.24263949692249298, 0.5963736176490784, -0.7125235795974731, -0.958555281162262, -0.4975767731666565, 0.671389102935791, 0.1311858743429184, -0.3034569323062897, 0.45997995138168335, 0.12510183453559875, 0.4829913079738617, -0.02693810500204563, 0.9236311912536621, 0.24774955213069916, 0.5045421123504639, -0.655505895614624, 0.49444010853767395, -0.23940697312355042, 0.06727416813373566, -0.31011128425598145, -0.668092668056488, -0.06925685703754425, 0.36405646800994873, -0.494417667388916, 0.13550959527492523, 0.9783614873886108, 0.3063119053840637, -0.02252608723938465, 0.22335852682590485, 0.15141335129737854, 0.05063260719180107, -0.08888386934995651, 0.7833991050720215, 1.2276049852371216, -0.04986565187573433, 0.7058618068695068, 0.0440903939306736, -0.20902366936206818, -0.07406176626682281, -0.7324170470237732, -0.9198660850524902, -0.753677248954773, -0.0981525257229805, -0.07527166604995728, 0.2263164222240448, 0.7427897453308105, 0.696722686290741, -0.4800652861595154, 0.0464920736849308, -0.1261005997657776, 0.4827490448951721, -0.5338983535766602, -0.19517038762569427, 0.4886847138404846, -0.5148676633834839, -0.5707327127456665, 0.31287652254104614, 0.07525547593832016, 0.051246799528598785, -0.1664636731147766, -0.10837294161319733, -0.6799769401550293, 0.24852842092514038, 0.5637819170951843, 0.4690530002117157, -0.5397844910621643, -0.03263940289616585, 0.3774460554122925, 0.07725045830011368, 0.0772601068019867, 1.1288666725158691, -1.221463680267334, 0.367156982421875, 0.6028232574462891, 0.5818161964416504, 0.21042725443840027, 0.4009236693382263, 0.6884570717811584, -0.9289461970329285, 0.013434324413537979, 0.3369360566139221, 0.22455789148807526, 0.06574124842882156, -0.5386586785316467, 0.2901282012462616, 0.18093164265155792, -0.45339855551719666, -0.47376957535743713, 0.311251699924469, -0.8535704612731934, -0.4713594615459442, 0.986455500125885, -0.23328813910484314, -0.3415524959564209, -0.6800718307495117, -0.41497305035591125, 0.354907751083374, -0.5055954456329346, 0.5174788236618042, 0.6129007935523987, -0.45428356528282166, -0.3820764124393463, -0.1961231380701065, 0.47526147961616516, 0.3712558150291443, -0.9988234043121338, 0.03641023114323616, 0.3715122640132904, 0.2115125060081482, -0.02062557265162468, 0.9955247044563293, 0.05015047639608383, 0.571186363697052, -0.11238674819469452, 0.1577111929655075, -0.4206809401512146, -0.6565883159637451, -0.2767280340194702, 0.3102784752845764, 0.10654682666063309, 0.00025503270444460213 ]
http://arxiv.org/abs/2402.19334v2
http://arxiv.org/pdf/2402.19334v2
Here's a Free Lunch: Sanitizing Backdoored Models with Model Merge
2024-02-29T16:37:08
2024-06-03T16:19:03
Ansh Arora, Xuanli He, Maximilian Mozes, Srinibas Swain, Mark Dras, Qiongkai Xu
cs.CL
cs.CL
The democratization of pre-trained language models through open-source initiatives has rapidly advanced innovation and expanded access to cutting-edge technologies. However, this openness also brings significant security risks, including backdoor attacks, where hidden malicious behaviors are triggered by specific inputs, compromising natural language processing (NLP) system integrity and reliability. This paper suggests that merging a backdoored model with other homogeneous models can significantly remediate backdoor vulnerabilities even if such models are not entirely secure. In our experiments, we verify our hypothesis on various models (BERT-Base, RoBERTa-Large, Llama2-7B, and Mistral-7B) and datasets (SST-2, OLID, AG News, and QNLI). Compared to multiple advanced defensive approaches, our method offers an effective and efficient inference-stage defense against backdoor attacks on classification and instruction-tuned tasks without additional resources or specific knowledge. Our approach consistently outperforms recent advanced baselines, leading to an average of about 75% reduction in the attack success rate. Since model merging has been an established approach for improving model performance, the extra advantage it provides regarding defense can be seen as a cost-free bonus.
[ -0.06754600256681442, -0.6805678606033325, 0.35764944553375244, -0.24053263664245605, 0.005371458362787962, -0.08250611275434494, -0.08838322758674622, -0.5151633620262146, -0.339193195104599, 0.819184422492981, -0.2647359073162079, -0.538155198097229, -0.527586042881012, -0.43829068541526794, -0.833482027053833, 1.1585094928741455, 0.28990429639816284, -0.011247273534536362, -0.15135306119918823, 0.17244376242160797, -0.3501037061214447, -0.658050000667572, -0.2963865399360657, -0.21543756127357483, 0.44860705733299255, 0.04001796990633011, 0.9370265603065491, 0.3999920189380646, 0.5484538078308105, 0.22682267427444458, 0.055330973118543625, -0.27442610263824463, -0.44404008984565735, 0.4570196866989136, -0.5542094707489014, -0.3897355794906616, -0.6545655727386475, 0.3036952018737793, 0.3465796411037445, 0.5505563616752625, -0.3274649381637573, 0.09036997705698013, 0.042115211486816406, 0.5157132744789124, -0.9492122530937195, -0.3754085302352905, -0.8002529144287109, 0.1414232850074768, 0.015453510917723179, 0.0915992483496666, -0.8025118112564087, -0.561322808265686, -0.1269170045852661, -0.26168614625930786, 0.1503138393163681, -0.14771191775798798, 0.8302278518676758, 0.25945815443992615, -0.11298061907291412, 0.40668919682502747, -0.6976118683815002, 0.6692183613777161, -1.032821536064148, 0.8495643734931946, 0.2771872580051422, 0.3524935841560364, -0.39607951045036316, -0.4636865258216858, -0.4585016965866089, -0.2053317129611969, 0.12475574761629105, -0.05071321129798889, -0.7923874855041504, 0.05540665239095688, 0.12809251248836517, 0.3383403718471527, -0.6361355781555176, 0.4814058244228363, -0.538832426071167, -0.1563170999288559, 0.744152307510376, -0.05406918749213219, 0.5151203870773315, 0.1420777440071106, -0.4830542802810669, -0.4690462350845337, -0.8284662365913391, 0.09733360260725021, 0.6434179544448853, 0.5716474652290344, -0.20005786418914795, 0.5290855765342712, 0.06363993883132935, 0.46796557307243347, -0.21254897117614746, 0.19900299608707428, -0.0043676309287548065, -0.4348396360874176, -0.5497292876243591, -0.2012965828180313, 0.5685865879058838, 0.40120115876197815, 0.13935458660125732, -0.620633065700531, -0.38678064942359924, 0.03278028964996338, 0.6820672750473022, -0.7746725678443909, -0.25419431924819946, 0.5188252329826355, -0.5643448829650879, -0.6001522541046143, 0.12239611893892288, -0.8018065094947815, -0.2881680428981781, 0.22103145718574524, 0.467405766248703, -0.3642600476741791, -0.39493313431739807, -0.059148259460926056, -0.49421805143356323, 0.44068288803100586, 0.41121914982795715, -0.694943368434906, 0.2908499836921692, 1.1380796432495117, 0.728435218334198, 0.0612516850233078, -0.10639198124408722, -0.5506578087806702, 0.2809147536754608, -0.5483466386795044, 0.3182564675807953, -0.45566457509994507, -0.5838527083396912, -0.19224417209625244, -0.15751685202121735, -0.03631230816245079, -0.3872934877872467, -0.020100072026252747, -0.7980180382728577, 0.4043814539909363, 0.10291309654712677, -0.2193891704082489, -0.342026948928833, 0.5434895157814026, -0.8163820505142212, 0.781912624835968, -0.025545261800289154, -0.8439449071884155, -0.057147376239299774, -0.2983720898628235, -0.284885048866272, -0.03569720685482025, 0.011481287889182568, -0.3794504404067993, 0.18121138215065002, 0.1073036715388298, 0.2640669345855713, -0.2066989243030548, 0.2723950743675232, -0.6997328996658325, -0.07296983897686005, 0.1421172320842743, -0.3589794337749481, 1.1448373794555664, 0.21257168054580688, -0.1762869656085968, 0.37141549587249756, -0.5290631651878357, 0.13798615336418152, 0.00235424074344337, -0.09418191015720367, -0.615531325340271, -0.37876489758491516, -0.3911602795124054, 0.21451258659362793, 0.04621826857328415, -0.5833397507667542, 0.17710015177726746, -0.8284616470336914, -0.03352155163884163, 0.8838376402854919, -0.042445000261068344, 0.7319782972335815, -0.36282092332839966, 0.5589986443519592, 0.010635708458721638, 0.47693347930908203, -0.2107035517692566, -0.8298256993293762, -0.44069066643714905, -0.4128122925758362, 0.3724958598613739, 0.9149441123008728, -0.5092677474021912, 0.47788962721824646, 0.04859362170100212, -0.8851186037063599, -0.5562597513198853, -0.07325655221939087, 0.6789032816886902, 0.49137917160987854, 0.4687754511833191, -0.38888970017433167, -0.28927505016326904, -0.8855039477348328, -0.489259272813797, -0.10782762616872787, -0.2266080230474472, -0.006469534710049629, 0.6494858264923096, -0.38395991921424866, 0.8132324814796448, -0.27057427167892456, 0.055933985859155655, 0.18717341125011444, -0.1606680452823639, 0.07743874192237854, 0.8958152532577515, 0.5569934844970703, -0.5383063554763794, 0.02649320289492607, 0.032311368733644485, -0.7723957300186157, 0.21504279971122742, 0.4691287577152252, -0.050640273839235306, 0.0896873027086258, 0.5269021391868591, -0.5775648951530457, 0.6862571239471436, 0.7949120402336121, -0.07785781472921371, 0.38394835591316223, -0.0706472396850586, 0.09007907658815384, -1.189109206199646, -0.02267554961144924, -0.21548476815223694, 0.08327419310808182, -0.9534872174263, 0.8044845461845398, 0.13591304421424866, -0.7638509273529053, -0.4833039343357086, 0.7840942740440369, -0.27095916867256165, -0.09050635993480682, 0.02403716742992401, -0.01916421577334404, -0.20295469462871552, 0.31470543146133423, -0.5525206923484802, 0.5143262147903442, 0.48954275250434875, -0.3755686283111572, 0.36284568905830383, -0.05205518752336502, -0.0027158281300216913, 0.06635857373476028, -0.701616644859314, 0.4083077013492584, 0.13691085577011108, 0.5241349935531616, -1.0128220319747925, -0.15159618854522705, 0.7025203704833984, -0.5098018646240234, 0.3280712962150574, -0.2654881775379181, -0.2940939962863922, -0.10791283845901489, -0.648513674736023, 0.3838382661342621, 0.5834309458732605, -0.6697999835014343, 0.9098629355430603, 0.07483870536088943, -0.11850743740797043, -0.8830761909484863, -0.7715369462966919, -0.05661381408572197, 0.09436824172735214, -1.0573841333389282, 0.25773391127586365, 0.06244286522269249, -0.3567001521587372, 0.2195443958044052, -0.15279044210910797, -0.2735564708709717, 0.5691959261894226, 0.5167000889778137, 0.46497535705566406, -0.37747475504875183, -0.13660387694835663, 0.16534988582134247, -0.04207479953765869, -0.15994611382484436, -0.33075809478759766, 0.3803936839103699, -0.009735957719385624, -0.5592231750488281, -0.6166204810142517, 0.692739725112915, 0.6657009720802307, -0.5760865211486816, 1.0005849599838257, 0.31272652745246887, -0.5767346024513245, -0.13542944192886353, -0.4623906910419464, -0.6511879563331604, -0.42415282130241394, 0.11188150942325592, -0.09631900489330292, -0.856011688709259, 0.4391193389892578, 0.4398805499076843, 0.6729772686958313, 0.10972616821527481, 0.30983009934425354, 0.266571581363678, 0.7919713854789734, 0.7399826049804688, -0.0025741159915924072, 0.3288739025592804, 0.027330758050084114, 0.6741411089897156, -0.49448448419570923, -0.42208656668663025, -0.6276246905326843, -0.023188700899481773, -0.6227343082427979, -0.3337293267250061, -0.14573855698108673, -0.11190661042928696, -0.07281412929296494, 0.2905397415161133, -0.38603121042251587, 0.3198286294937134, 0.6305983066558838, 0.29756632447242737, 0.267701655626297, -0.26990240812301636, -0.02378331869840622, 0.2980748116970062, -0.592914879322052, -0.4935134947299957, 1.2231507301330566, 0.631112277507782, 1.0669186115264893, 0.35623136162757874, 1.228637933731079, 0.11415532976388931, 0.4360558092594147, -0.5032970309257507, 0.6173979640007019, -0.26659759879112244, -0.6791867613792419, -0.24038027226924896, -0.3316553831100464, -0.9004248380661011, 0.46322721242904663, -0.33893147110939026, -0.8579061627388, 0.23012353479862213, 0.45851394534111023, -0.7097214460372925, 0.508211076259613, -0.9969440698623657, 0.8430236577987671, -0.14251373708248138, -0.29784318804740906, -0.2782963216304779, -0.6122332811355591, 0.9989886283874512, -0.13326187431812286, 0.3304985761642456, 0.027585074305534363, 0.16918180882930756, 0.6655027866363525, -0.3762018084526062, 0.9445052146911621, -0.09183666855096817, -0.4287281036376953, -0.42199042439460754, 0.2867387533187866, 0.3481672406196594, -0.12618234753608704, 0.23272521793842316, 0.47536253929138184, -0.0787162035703659, -0.32433581352233887, -0.7394862771034241, 0.6324365139007568, -0.5500703454017639, -1.2039438486099243, -0.40574315190315247, -0.42596542835235596, -0.021533068269491196, 0.250895231962204, 0.14189332723617554, 0.18623487651348114, -0.0630917176604271, 0.39168301224708557, 0.7857954502105713, -0.3353422284126282, 0.4321359694004059, 0.5565209984779358, -0.2542593479156494, -0.3954351246356964, 0.3994462490081787, -0.1258905827999115, 0.45018163323402405, 0.32352593541145325, 0.25539880990982056, 0.10451309382915497, -0.46617570519447327, -0.0046136025339365005, 0.13978871703147888, -0.4708365201950073, -0.5576571226119995, -0.8638983964920044, -0.5081542730331421, -1.0359960794448853, -0.11404874175786972, -0.5548661947250366, -0.3954800069332123, -0.04701998084783554, -0.09425874054431915, 0.15481457114219666, 0.4562593400478363, -0.16461189091205597, 0.2979351580142975, -1.0757745504379272, 0.18943239748477936, 0.38419920206069946, 0.19565866887569427, 0.3941139876842499, -0.4125099778175354, -0.08377578854560852, 0.16284693777561188, -0.24342626333236694, -1.1917446851730347, 0.4162597358226776, -0.15964552760124207, 0.7309296131134033, 0.24325533211231232, 0.11437872052192688, 0.2115916758775711, -0.44342994689941406, 0.8217002153396606, 0.23766325414180756, -0.7888585329055786, 0.5364020466804504, -0.19461406767368317, -0.13906124234199524, 0.2271253764629364, 0.27295443415641785, -0.3264697194099426, -0.7317022085189819, -0.7512326240539551, -0.9969914555549622, 0.45836013555526733, 0.12577931582927704, 0.035834379494190216, 0.3550683856010437, -0.09140776842832565, -0.00791154894977808, 0.3061823844909668, -0.6024622917175293, 0.15660160779953003, -0.43208229541778564, 0.02415040135383606, 0.2663614749908447, -0.09438717365264893, -0.6289172172546387, -0.04421873018145561, 0.8470884561538696, 0.4779040217399597, -0.031725846230983734, -0.3038037121295929, -0.1442294418811798, 0.17571531236171722, 0.5039787292480469, 0.46776360273361206, 0.11176067590713501, -0.2670097351074219, 0.1876867115497589, -0.08325065672397614, -0.26389920711517334, 0.1333215981721878, 0.24230407178401947, -0.15575744211673737, -0.31694141030311584, 0.41389158368110657, 0.3049298822879791, 0.37153899669647217, -0.440256804227829, 0.6976102590560913, -0.2298426330089569, 0.014987513422966003, 0.07490576058626175, 0.38455891609191895, -0.18869182467460632, 0.5146877765655518, 0.2116101086139679, 0.17753802239894867, -0.08701324462890625, -0.6956605315208435, 0.47052469849586487, 0.6955254673957825, -0.14814521372318268, -0.3074086606502533, 0.4690597951412201, 0.45066311955451965, -0.5303918719291687, 0.888080358505249, 0.153498575091362, -0.6503060460090637, 0.2840600311756134, 0.6356186270713806, 1.1347315311431885, -0.7599122524261475, -0.20012041926383972, 0.10468123853206635, 0.7792048454284668, -0.09156660735607147, -0.15445426106452942, -0.10796203464269638, -0.9722620248794556, 0.03297273814678192, -0.35109344124794006, -0.4456820785999298, 0.1027144119143486, -0.672968327999115, 0.029553614556789398, -0.6926526427268982, -0.07769883424043655, -0.1730404794216156, -0.37120330333709717, -0.29864171147346497, 0.10319096595048904, 0.032699983566999435, 1.1421266794204712, -1.256298542022705, 0.7257535457611084, 0.30771154165267944, -0.494063138961792, -0.7900928258895874, 0.11211239546537399, 0.11029085516929626, -0.5824823379516602, 0.5722617506980896, 0.12183224409818649, -0.1911410093307495, -0.29323866963386536, -0.5942287445068359, -0.7029951214790344, 0.7061015963554382, 0.4648352265357971, -0.5315935611724854, -0.5575345158576965, -0.5911924839019775, 0.19399532675743103, -0.07840178161859512, -0.25640013813972473, 0.41805824637413025, 0.44139328598976135, -0.2422848343849182, -0.7751504182815552, 0.20385101437568665, -0.4681417644023895, -0.06662754714488983, 0.2530972361564636, -0.12886887788772583, 1.0988349914550781, -0.29079458117485046, -0.3526269495487213, 0.13585181534290314, 0.688352108001709, 0.44943928718566895, 0.4257839322090149, 0.3282928168773651, 0.9087411165237427, 0.6934835314750671, -0.10052508115768433, 0.9726362824440002, -0.21903157234191895, 0.025219829753041267, 1.2271504402160645, -0.3624584674835205, 0.933052659034729, 0.38779544830322266, 0.31485307216644287, 0.4603978991508484, 0.273062527179718, -0.2811732590198517, 0.5305764675140381, -0.12564630806446075, -0.005033592227846384, -0.07714812457561493, 0.22398394346237183, -0.826869785785675, 0.48532694578170776, -0.003093306440860033, -0.4075348973274231, -0.562822699546814, 0.02840961329638958, 0.29749739170074463, 0.09389223158359528, -0.04158121347427368, 0.6166162490844727, 0.018495310097932816, -0.5949777364730835, 0.2574820816516876, 0.09231811761856079, 0.6795722246170044, -0.6936792135238647, -0.040809158235788345, -0.2203812450170517, 0.25521376729011536, -0.3743019104003906, -0.6751591563224792, 0.36688947677612305, 0.053650159388780594, -0.19708314538002014, -0.2291194051504135, 0.6858237385749817, -0.5116303563117981, 0.0009617867763154209, 0.465787798166275, 0.33708593249320984, -0.06912033259868622, -0.14793601632118225, -0.46098655462265015, -0.04204302653670311, -0.09411781281232834, 0.06285012513399124, 0.3676707148551941, -0.0637703463435173, -0.11784424632787704, 0.513028085231781, 0.9730520844459534, 0.012126022018492222, 0.19778868556022644, -0.014914989471435547, 1.0693007707595825, -0.610946774482727, -0.7572805285453796, -0.9323002696037292, 0.4466911256313324, -0.17261695861816406, 0.17032907903194427, 1.0542984008789062, 0.5969676375389099, 1.02446448802948, -0.01663512922823429, 0.6659126281738281, 0.5208002328872681, 0.3073559105396271, -0.5260080099105835, 1.1519672870635986, -0.43816402554512024, 0.2740357518196106, -0.2844594717025757, -0.5958312153816223, -0.2797091603279114, 0.1748741716146469, -0.179936483502388, -0.004218462388962507, 0.37179774045944214, 1.11017644405365, -0.0925164669752121, 0.00272789946757257, 0.4330722391605377, 0.08832710236310959, 0.7246453166007996, 0.3824547529220581, 0.8352410793304443, -0.3828299045562744, 0.43521207571029663, -0.2583164572715759, -0.481954425573349, -0.31804803013801575, -0.8264874815940857, -0.9272529482841492, -0.2606610655784607, -0.09664785861968994, -0.7544753551483154, 0.5187008380889893, 0.5734552145004272, 0.671485185623169, -0.7263482809066772, 0.014740831218659878, 0.4072396159172058, 0.3835243880748749, -0.20732292532920837, -0.18247178196907043, -0.13579390943050385, -0.16792282462120056, -0.25808587670326233, 0.5407364964485168, 0.34551802277565, 0.2175377458333969, -0.15755638480186462, 0.2653592526912689, -0.16773062944412231, 0.43732950091362, 0.31947287917137146, 0.5103262066841125, -0.8683441877365112, -0.3402460217475891, -0.11231786012649536, -0.20803718268871307, -0.3610384166240692, 0.7592421770095825, -0.6117594838142395, 0.4008829593658447, 0.5706697702407837, 0.9598346948623657, -0.0569840669631958, 0.08192585408687592, 0.9047957062721252, -0.8461447954177856, 0.37651583552360535, 0.3456823527812958, 0.23850117623806, 0.3508981764316559, -0.4219084680080414, 0.32705122232437134, 0.18152135610580444, -0.15731693804264069, -1.3768116235733032, 0.6067310571670532, -0.6920074224472046, -0.519256055355072, 0.8766229748725891, -0.2166423797607422, -0.5207697749137878, 0.19011332094669342, 0.4441213309764862, 0.48503220081329346, -0.44495683908462524, 0.7218700647354126, 0.381483793258667, 0.30626025795936584, -0.008681953884661198, -0.06641468405723572, 0.3531402349472046, 0.02744803950190544, -0.9072358012199402, 0.22521689534187317, 0.2893451750278473, 0.34011155366897583, 0.27161774039268494, 0.21164122223854065, -0.38745638728141785, 0.5475156903266907, 0.15005365014076233, 0.10340341180562973, -0.28853970766067505, -0.6046342849731445, -0.5553411841392517, 0.2751425504684448, -0.2932642996311188, -0.4877924621105194 ]
http://arxiv.org/abs/2402.19333v2
http://arxiv.org/pdf/2402.19333v2
Compact Speech Translation Models via Discrete Speech Units Pretraining
2024-02-29T16:36:51
2024-06-26T09:50:28
Tsz Kin Lam, Alexandra Birch, Barry Haddow
cs.CL
cs.CL, cs.SD, eess.AS
We propose a pretraining method to use Self-Supervised Speech (SSS) model to creating more compact Speech-to-text Translation. In contrast to using the SSS model for initialization, our method is more suitable to memory constrained scenario such as on-device deployment. Our method is based on Discrete Speech Units (DSU) extracted from the SSS model. In the first step, our method pretrains two smaller encoder-decoder models on 1) Filterbank-to-DSU (Fbk-to-DSU) and 2) DSU-to-Translation (DSU-to-Trl) data respectively. The DSU thus become the distillation inputs of the smaller models. Subsequently, the encoder from the Fbk-to-DSU model and the decoder from the DSU-to-Trl model are taken to initialise the compact model. Finally, the compact model is finetuned on the paired Fbk-Trl data. In addition to being compact, our method requires no transcripts, making it applicable to low-resource settings. It also avoids speech discretization in inference and is more robust to the DSU tokenization. Evaluation on CoVoST-2 (X-En) shows that our method has consistent improvement over the baseline in three metrics while being compact i.e., only half the SSS model size.
[ -0.24699729681015015, -0.4740584194660187, 0.5453271865844727, 0.057585157454013824, -0.8500264286994934, 0.04955824092030525, -0.3649308681488037, -0.004599608480930328, 0.21875864267349243, 0.33653008937835693, -0.7756487131118774, -0.3630664348602295, -0.5367662310600281, 0.12493575364351273, -0.5250982642173767, 0.940974235534668, 0.12732329964637756, 0.24465806782245636, -0.12372885644435883, 0.19995230436325073, -0.35736963152885437, -0.4930513799190521, -0.4495251178741455, -0.14030377566814423, 0.22461245954036713, 0.3060336112976074, 0.4721156358718872, 0.6861381530761719, 0.36825335025787354, 0.349371075630188, -0.20593085885047913, -0.1062965914607048, -0.48386093974113464, -0.08948308974504471, -0.12283241003751755, -0.3732583522796631, -0.44846710562705994, 0.03660443052649498, 0.8051964044570923, 0.6470409035682678, -0.588784396648407, 0.28235748410224915, -0.016981229186058044, 0.3329907953739166, -0.5104256272315979, -0.03458733111619949, -0.5541914701461792, -0.04910577833652496, -0.43967360258102417, 0.10617948323488235, -0.5872769951820374, -0.3146144151687622, 0.19162055850028992, -0.6357009410858154, 0.31721416115760803, -0.028336627408862114, 0.3476257920265198, 0.6383895874023438, -0.4360411763191223, -0.19967536628246307, -1.1157785654067993, 0.878307580947876, -0.9185580611228943, 0.6352657079696655, 0.3066592514514923, 0.4219050705432892, 0.012359419837594032, -1.1069203615188599, -0.73163241147995, -0.13506312668323517, -0.15873509645462036, 0.14774292707443237, -0.09043724089860916, 0.24983493983745575, 0.09892846643924713, 0.3263998329639435, -0.5756060481071472, 0.08910813182592392, -0.4856331944465637, -0.05274611711502075, 0.8250566124916077, 0.0124821150675416, -0.0009295458439737558, -0.13022881746292114, -0.28807851672172546, -0.07516638934612274, -0.47844579815864563, -0.17510481178760529, 0.11625601351261139, 0.42384976148605347, -0.4530741274356842, 0.3581070005893707, -0.23400762677192688, 0.6216676235198975, 0.4535486400127411, -0.435779869556427, 0.2615928649902344, -0.6226143836975098, -0.29405057430267334, 0.49868521094322205, 0.8556970953941345, -0.17332066595554352, 0.020343217998743057, -0.23992465436458588, -0.3596511781215668, 0.17560943961143494, 0.39796584844589233, -0.8701252937316895, -0.17405542731285095, 0.0005119178676977754, -0.4360772669315338, -0.17380058765411377, -0.22247453033924103, -0.433576762676239, 0.14843346178531647, -0.4934096932411194, 0.4774938225746155, -0.2940152585506439, -0.18378520011901855, 0.11224938184022903, 0.23237493634223938, 0.18612386286258698, 0.07586625218391418, -1.1978727579116821, 0.7495802640914917, 0.26656708121299744, 0.7296161651611328, -0.27011412382125854, -0.03378652036190033, -0.42962509393692017, 0.19139546155929565, -0.44223058223724365, 0.48823556303977966, -0.08260241895914078, -0.6755359172821045, -0.33246269822120667, -0.2304675430059433, -0.24488124251365662, -0.3543557822704315, 0.715293288230896, -0.15105938911437988, -0.0004696552932728082, -0.045065201818943024, -0.5900363326072693, 0.15822575986385345, -0.2616860270500183, -0.37202486395835876, 0.9279671311378479, 0.06688487529754639, -0.4511082172393799, -0.02437407523393631, -0.5411837697029114, -0.49713531136512756, 0.15948642790317535, -0.5050061345100403, -0.44957369565963745, 0.3719033896923065, 0.20020045340061188, 0.5563188195228577, -0.2567783296108246, 0.4781307578086853, -0.024580787867307663, -0.3275260925292969, 0.18481726944446564, -0.2867189049720764, 0.5758731365203857, 0.5692163109779358, -0.2544606029987335, 0.295764297246933, -0.6527006030082703, 0.03635665401816368, 0.17923596501350403, -0.08720193803310394, -0.23540888726711273, 0.10035713016986847, -0.07179605960845947, 0.23475751280784607, 0.18574294447898865, -0.7519837617874146, -0.13512705266475677, -0.3084804117679596, 0.6872230172157288, 0.5442641377449036, -0.19327165186405182, 0.6928401589393616, 0.004458248615264893, 0.4111867845058441, 0.08149018883705139, 0.31531473994255066, 0.033488620072603226, -0.19993683695793152, -0.6042128801345825, -0.32714948058128357, 0.5661797523498535, 0.4340085983276367, -0.736875057220459, 0.5771241188049316, -0.5694141983985901, -0.6355684399604797, -0.697623610496521, -0.23780135810375214, 0.4794712960720062, 0.5356345176696777, 0.5042062997817993, -0.38328543305397034, -0.4478941559791565, -0.6352784037590027, 0.22605964541435242, 0.001392401522025466, -0.049961503595113754, 0.09522929787635803, 0.42336857318878174, -0.2649209201335907, 0.8672019243240356, -0.39890220761299133, -0.3282347321510315, -0.259125679731369, 0.0036752019077539444, -0.06795433908700943, 0.7384682297706604, 0.571178674697876, -0.8056627511978149, -0.5278803110122681, -0.09603092819452286, -0.48595795035362244, 0.010551904328167439, -0.06184034049510956, 0.2686271071434021, -0.046860385686159134, 0.7625054121017456, -0.5476598739624023, 0.5345233082771301, 0.8554573655128479, -0.2095351666212082, 0.47077882289886475, -0.34290811419487, -0.054779164493083954, -1.2831979990005493, -0.0837862491607666, -0.2949782907962799, -0.5028083920478821, -0.862159013748169, -0.2829269468784332, 0.09410180151462555, -0.37216153740882874, -0.7495660185813904, 0.33943501114845276, -0.2715268135070801, -0.2873876988887787, -0.05776425078511238, 0.4974120855331421, -0.009474359452724457, 0.2949342727661133, 0.1892714947462082, 0.9732863306999207, 0.3330253064632416, -0.5957459807395935, 0.3549887537956238, 0.6883602738380432, -0.27478811144828796, 0.48073023557662964, -0.82405686378479, 0.3955594301223755, 0.08307919651269913, 0.5189718008041382, -0.8884278535842896, 0.0717475563287735, 0.09345728158950806, -0.3459474444389343, 0.40194809436798096, -0.0058115278370678425, -0.32534199953079224, -0.31823351979255676, 0.1993219256401062, 0.6917829513549805, 0.6055388450622559, -0.4851495325565338, 0.418273389339447, 0.399274080991745, -0.4973837733268738, -0.17910899221897125, -0.8423963785171509, -0.15337149798870087, -0.18049879372119904, -0.5469702482223511, 0.8864848613739014, -0.2092159241437912, 0.1685612052679062, 0.04239535704255104, -0.2633049786090851, -0.20893524587154388, -0.08659686148166656, 0.033933594822883606, 0.07865385711193085, -0.30598515272140503, 0.05423365533351898, 0.3359568119049072, -0.20253309607505798, -0.17686478793621063, -0.45553091168403625, 0.4446919858455658, -0.21479184925556183, -0.15489208698272705, -0.8677686452865601, 0.5304462909698486, 0.28821486234664917, -0.49501585960388184, 0.6871902346611023, 0.6801026463508606, -0.3554352819919586, 0.03310473635792732, -0.3195113241672516, -0.2776166796684265, -0.4943661391735077, 0.37076136469841003, -0.7042494416236877, -0.7977299094200134, 0.25256747007369995, -0.34177514910697937, -0.2516596019268036, 0.37983691692352295, 0.4148993492126465, -0.1399257928133011, 1.0088735818862915, 0.6322335004806519, 0.15552666783332825, 0.5675047636032104, -0.37388965487480164, 0.2714921832084656, -1.0582313537597656, -0.20132873952388763, -0.6069411039352417, -0.20383791625499725, -0.41018930077552795, -0.357094407081604, 0.05992111563682556, 0.27488234639167786, -0.05950584635138512, 0.4777815341949463, -0.5260170698165894, 0.362507164478302, 0.5400663018226624, -0.025242485105991364, -0.017408745363354683, -0.17224672436714172, -0.24033689498901367, -0.2045430690050125, -0.9589037895202637, -0.3518854081630707, 0.9896175265312195, 0.19841906428337097, 0.8665663003921509, 0.1822051703929901, 1.1134414672851562, 0.1390867531299591, -0.02593737095594406, -0.6674265265464783, 0.46649762988090515, -0.6876437664031982, -0.3681259751319885, -0.5800124406814575, -0.565828800201416, -0.9289490580558777, 0.1375301331281662, -0.1607000082731247, -0.6549601554870605, 0.26268553733825684, 0.14218030869960785, -0.8784388303756714, 0.01973085291683674, -0.8155796527862549, 0.8464651703834534, -0.41580817103385925, 0.10257749259471893, -0.3733106553554535, -0.7995386123657227, 0.14617961645126343, -0.3328242003917694, 0.19535738229751587, -0.00724048214033246, 0.2813469469547272, 0.9905616641044617, -0.34854549169540405, 0.8311878442764282, -0.1859586536884308, 0.05466421693563461, 0.3634781837463379, -0.2281397581100464, 0.45045262575149536, -0.27958351373672485, 0.02377081662416458, 0.25618064403533936, 0.3672390580177307, -0.36633384227752686, -0.5424078106880188, 0.40362799167633057, -0.9617018103599548, -0.3728543221950531, -0.3461698293685913, -0.40116775035858154, 0.03029198944568634, 0.3635770082473755, 0.4655073881149292, 0.6102292537689209, -0.3629246652126312, 0.34459030628204346, 0.7752404808998108, -0.05053454637527466, 0.32390135526657104, 0.49575746059417725, -0.116913802921772, -0.38103029131889343, 0.7492362260818481, 0.3674280643463135, 0.5155167579650879, 0.184636652469635, 0.408448725938797, -0.7326831221580505, -0.967867374420166, -0.507311999797821, 0.3812783360481262, -0.40295594930648804, -0.23997993767261505, -0.34360137581825256, -0.41807886958122253, -0.9754562377929688, -0.009844599291682243, -0.9184826016426086, -0.4739171862602234, -0.3915156424045563, 0.01756419986486435, -0.0725543349981308, 0.8147786259651184, -0.2134137898683548, 1.0963553190231323, -0.7557706832885742, 0.7073405981063843, 0.3144633173942566, 0.12028750032186508, -0.6396187543869019, -1.0128711462020874, -0.5768789649009705, 0.13794979453086853, -0.18499641120433807, -0.861982524394989, 0.5587376356124878, 0.422457754611969, 0.6608588695526123, 0.41601359844207764, 0.37307387590408325, 0.9068322777748108, -0.7900987863540649, 0.7267768383026123, 0.3363235890865326, -1.2300019264221191, 0.8128930330276489, -0.25363993644714355, 0.3150557279586792, 0.5503878593444824, 0.15538141131401062, -0.4616526961326599, 0.009047071449458599, -0.7018675804138184, -0.5025665760040283, 0.8788203001022339, 0.289299875497818, 0.06738865375518799, -0.05019452050328255, 0.647194504737854, -0.18960624933242798, 0.2606147527694702, -0.3678211271762848, -0.4120257794857025, -0.34270787239074707, -0.4506888687610626, -0.5098519325256348, -0.42508190870285034, -0.09153211116790771, -0.3475310802459717, 0.814992368221283, -0.044547222554683685, 0.3669164478778839, 0.27728527784347534, -0.12399953603744507, -0.017918827012181282, 0.26075848937034607, 0.8506280183792114, 0.24334050714969635, -0.13244222104549408, 0.05669602006673813, 0.2710813283920288, -0.6292847394943237, 0.37149858474731445, 0.3169533312320709, -0.3272594213485718, 0.1193380355834961, -0.07967385649681091, 1.1672977209091187, 0.4368233382701874, -0.1517394781112671, 0.6107455492019653, -0.462951123714447, -0.15049149096012115, -0.44641968607902527, -0.19525057077407837, 0.12957170605659485, 0.2232295721769333, -0.0660160556435585, 0.12665070593357086, 0.06160584092140198, -0.2411409616470337, 0.24836207926273346, 0.13281404972076416, -0.3503175377845764, -0.44934678077697754, 0.8114319443702698, 0.4921649396419525, -0.4601961374282837, 0.6747815012931824, -0.32942822575569153, -0.18420082330703735, 0.18273819983005524, 0.9617001414299011, 0.9786876440048218, -0.9923100471496582, 0.29195764660835266, 0.29162418842315674, 0.283265084028244, -0.3379247486591339, 0.06828482449054718, -0.26242801547050476, -0.6305493116378784, -0.6046987771987915, -0.7351214289665222, -0.3138197958469391, 0.15494920313358307, -0.9783517718315125, 0.1321863979101181, -0.16496288776397705, -0.3554370701313019, -0.1827087104320526, 0.06410209834575653, -0.6002939343452454, 0.5711933374404907, 0.42882904410362244, 0.6787369847297668, -0.8642551302909851, 1.5447996854782104, 0.3955947458744049, -0.037701770663261414, -0.9349671602249146, -0.19838383793830872, -0.08647762984037399, -0.36675798892974854, 0.3585154414176941, -0.020467789843678474, -0.26802557706832886, 0.5838921070098877, -0.29059410095214844, -1.1696557998657227, 1.4028483629226685, 0.6681475043296814, -1.0219719409942627, -0.0916222482919693, 0.2593699097633362, 0.32618415355682373, -0.4580255448818207, -0.279346227645874, 0.735022783279419, 0.03567476570606232, 0.11537259072065353, -1.1570662260055542, -0.13792084157466888, 0.07561800628900528, 0.21070459485054016, 0.005935530178248882, -0.5360460877418518, 0.9321697950363159, -0.22041964530944824, -0.4245280921459198, 0.26537394523620605, 0.8022945523262024, 0.051406871527433395, 0.13303525745868683, 0.494922935962677, 0.5642314553260803, 0.9622562527656555, -0.08228662610054016, 0.8708398342132568, -0.19660115242004395, 0.41538679599761963, 1.6180222034454346, -0.21434803307056427, 0.9903187155723572, 0.5965521335601807, -0.20096977055072784, 0.3749885857105255, 0.4992457628250122, 0.3690354824066162, 0.9210928082466125, 0.19044548273086548, -0.46270278096199036, -0.20339983701705933, -0.09013469517230988, -0.45762568712234497, 0.6503202319145203, 0.5317519307136536, -0.1422504186630249, -0.02871822565793991, 0.12680920958518982, -0.3640397787094116, 0.16633717715740204, -0.28867900371551514, 0.8054378628730774, 0.43557965755462646, -0.395670622587204, 0.5726690292358398, 0.1457275003194809, 0.3979076147079468, -0.9550641179084778, 0.44320717453956604, -0.10029888153076172, 0.1926584094762802, 0.011926956474781036, -0.2410770207643509, 0.606662929058075, 0.024622296914458275, 0.03405800461769104, -0.4317374527454376, 0.5807023644447327, -0.525847852230072, -0.44364726543426514, 0.1937543749809265, 0.39857620000839233, 0.36138153076171875, -0.0863732099533081, -0.6080905199050903, 0.11151427030563354, 0.020839426666498184, -0.06287410110235214, 0.2147788107395172, 0.427407830953598, 0.07399164885282516, 0.4237862527370453, 0.5912978053092957, 0.12641499936580658, 0.4741035997867584, 0.10936165601015091, 0.6257469058036804, -0.5067844986915588, -0.8083270192146301, -0.6431955099105835, 0.3267645537853241, 0.1454218178987503, 0.032386839389801025, 0.6607006192207336, 0.42796874046325684, 0.9259235858917236, -0.11694054305553436, 0.7305648326873779, -0.04943016916513443, 0.40997883677482605, -0.5513445138931274, 0.7361930012702942, -0.17485079169273376, -0.0017323181964457035, -0.10843716561794281, -0.7498565912246704, -0.03021249733865261, 0.89924556016922, -0.43843087553977966, -0.21017812192440033, 0.7301427125930786, 0.5214177370071411, -0.025360727682709694, 0.01197647862136364, 0.7029019594192505, 0.19759343564510345, 0.13627545535564423, 0.24109642207622528, 0.5522322058677673, -0.652309238910675, 0.5771651864051819, -0.4706527590751648, -0.22428642213344574, -0.02263573370873928, -0.625604510307312, -0.6827633380889893, -0.7037754058837891, -0.5589549541473389, -0.1262897551059723, -0.0034726739395409822, 0.749570906162262, 1.1335843801498413, -0.7776120901107788, -0.2651617228984833, -0.1608627736568451, -0.25901833176612854, -0.2675594091415405, -0.013921098783612251, 0.27400335669517517, -0.3312224745750427, -0.6734437346458435, 0.8029468655586243, -0.070859394967556, 0.5945353507995605, -0.22850875556468964, -0.486240416765213, -0.1676337569952011, 0.29658326506614685, 0.5686213970184326, 0.06215893104672432, -0.650236189365387, -0.213485449552536, -0.21542835235595703, -0.037146683782339096, 0.11796769499778748, 0.7298726439476013, -0.867431640625, 0.4797675311565399, 0.20001213252544403, 0.5608336329460144, 0.9883355498313904, 0.009069211781024933, 0.4112508296966553, -1.3261456489562988, 0.479145348072052, 0.17404614388942719, 0.2087285816669464, 0.4188805818557739, -0.16997602581977844, 0.28634804487228394, 0.1777985394001007, -0.5793933272361755, -0.7009039521217346, 0.44556063413619995, -1.1431100368499756, 0.042422059923410416, 0.9454255104064941, -0.371045857667923, -0.16762787103652954, 0.08023939281702042, -0.0946737602353096, 0.7207202911376953, -0.26580455899238586, 0.5607437491416931, 0.17095708847045898, -0.04362551495432854, -0.06646399199962616, -0.28043094277381897, 0.5209370255470276, 0.30692586302757263, -0.733322262763977, -0.08964536339044571, 0.16018575429916382, 0.2487213909626007, 0.2548603415489197, 1.0089735984802246, -0.17560794949531555, -0.03912447392940521, 0.3456476628780365, -0.011716142296791077, 0.13659952580928802, -0.35401618480682373, -0.5064790844917297, -0.3432086706161499, -0.12335282564163208, -0.6125345826148987 ]
http://arxiv.org/abs/2403.00046v2
http://arxiv.org/pdf/2403.00046v2
SEED: Customize Large Language Models with Sample-Efficient Adaptation for Code Generation
2024-02-29T16:09:02
2024-03-23T16:51:11
Xue Jiang, Yihong Dong, Zhi Jin, Ge Li
cs.SE
cs.SE, cs.AI, cs.CL
Although Large Language Models (LLMs) have made significant progress in code generation, they still struggle with code generation tasks in specific scenarios. These scenarios usually necessitate the adaptation of LLMs to fulfill specific needs, but the limited training samples available in practice lead to poor code generation performance. Therefore, how to effectively adapt LLMs to new scenarios with few training samples is a major challenge for current code generation. In this paper, we propose a novel adaptation approach named SEED, which stands for Sample-Efficient adaptation with Error-Driven learning for code generation. SEED leverages the errors made by LLMs as learning opportunities, using error revision to overcome its own shortcomings, thus achieving efficient learning. Specifically, SEED involves identifying error code generated by LLMs, employing Self-revise for code revision, optimizing the model with revised code, and iteratively adapting the process for continuous improvement. Experimental results show that, compared to other mainstream fine-tuning approaches, SEED achieves superior performance with few training samples, showing an average relative improvement of 54.7% in Pass@1 on multiple code generation benchmarks. We also validate the effectiveness of Self-revise, which generates revised code that optimizes the model more efficiently compared to the code samples from datasets. Moreover, SEED consistently demonstrates strong performance across various LLMs, underscoring its generalizability.
[ 0.06102314963936806, -0.2573321759700775, 0.25982409715652466, 0.6267077326774597, -0.1303633451461792, 0.2562296688556671, -0.3849765658378601, -0.033343542367219925, -0.012886129319667816, 0.4600098431110382, -0.5838527679443359, -0.5143489241600037, -0.4006045162677765, 0.1927686631679535, -0.29973655939102173, 0.7618944644927979, -0.028114711865782738, 0.029781024903059006, -0.09509998559951782, -0.03797982260584831, -0.7130539417266846, -0.4249262511730194, -0.6129661202430725, -0.034328047186136246, 0.1593119353055954, 0.7296882271766663, 0.09369231760501862, 0.8301002979278564, 0.3045586049556732, 0.28168854117393494, 0.2543250620365143, 0.2629237473011017, -0.8614919781684875, 0.1322525590658188, -0.19539499282836914, -0.303842693567276, -0.37969473004341125, -0.351056843996048, 0.594235897064209, 0.5506525039672852, -0.15146072208881378, 0.2614559829235077, 0.1864631474018097, 0.7577865123748779, -0.7122480273246765, 0.0496838204562664, -1.0520695447921753, 0.00573133397847414, 0.05543773993849754, -0.6010071635246277, -0.5989567637443542, -0.5484340190887451, -0.5752003788948059, -0.6724994778633118, 0.4371163845062256, 0.031241390854120255, 0.25785356760025024, 0.29994598031044006, 0.07360486686229706, -0.3469785153865814, -0.8982040286064148, 0.8814648389816284, -1.028756856918335, 0.06022706627845764, -0.08537808805704117, 0.3423684239387512, -0.6162527203559875, -0.671913206577301, -0.5520254969596863, 0.012653393670916557, 0.31083017587661743, -0.0007241172133944929, -0.043924570083618164, -0.26077044010162354, 0.20456524193286896, 0.3205944299697876, -0.46275144815444946, 0.19055062532424927, -0.3482731282711029, -0.17084653675556183, 0.5810309052467346, -0.035191480070352554, 0.21325793862342834, -0.022587165236473083, -0.13245049118995667, -0.4301833212375641, -0.9513162970542908, -0.11349685490131378, 0.3141321837902069, 0.5053627490997314, 0.011404890567064285, 0.0930926576256752, -0.20678874850273132, 0.7823680639266968, 0.22050291299819946, -0.1461491882801056, 0.33251625299453735, -0.23689191043376923, -0.1967812180519104, 0.030968207865953445, 0.5656804442405701, 0.32424941658973694, 0.2650047242641449, 0.08443211019039154, -0.34090253710746765, -0.18014122545719147, 0.2526227533817291, -1.0248613357543945, -0.41821953654289246, 0.2504662275314331, -0.38500481843948364, -0.5940649509429932, -0.1275087147951126, -0.7085020542144775, -0.5531328916549683, 0.21625825762748718, 0.21507534384727478, -0.48644086718559265, -0.11988963931798935, 0.1916685253381729, 0.018278388306498528, 0.19428125023841858, 0.4708419442176819, -0.9337322115898132, 0.02628904953598976, 0.6403694748878479, 0.8324019312858582, -0.08341921865940094, -0.35490915179252625, -0.7811758518218994, 0.06232839077711105, -0.7361950874328613, 0.7181028723716736, -0.34977206587791443, -0.5246638059616089, -0.10078705102205276, -0.11319691687822342, -0.06472588330507278, -0.6375612020492554, 0.3138333261013031, -0.6022939682006836, -0.1836167275905609, -0.004011719021946192, -0.5570117235183716, 0.02683757245540619, 0.16950339078903198, -0.34308555722236633, 0.711738646030426, 0.28664857149124146, -0.5319772362709045, 0.4763769507408142, -0.5274108648300171, -0.44210609793663025, 0.013925382867455482, -0.24678827822208405, -0.46126171946525574, 0.40123310685157776, 0.27333149313926697, 0.5096902251243591, -0.16626769304275513, 0.01709882915019989, -0.3621525168418884, -0.2913588583469391, 0.07854051142930984, -0.20302344858646393, 0.5311821103096008, 0.36992010474205017, -0.19650419056415558, 0.20633141696453094, -1.2934930324554443, 0.36567750573158264, 0.32671400904655457, -0.4260351061820984, -0.2947245240211487, 0.2535076141357422, -0.04127517342567444, 0.13212281465530396, 0.015993261709809303, -0.3346235156059265, 0.6617806553840637, -0.351477712392807, 0.28695356845855713, 0.9478853940963745, 0.22540636360645294, 0.4461054503917694, -0.23164966702461243, 0.589219331741333, 0.135848730802536, 0.06312215328216553, -0.6518508791923523, -0.03725940361618996, -0.915494441986084, 0.05528102442622185, 0.5586504340171814, 0.3293497562408447, -0.7924410104751587, 0.4865744113922119, -0.2661382555961609, -0.4425610601902008, -0.5283195376396179, 0.7357362508773804, 0.30289047956466675, 0.28541770577430725, 0.17222478985786438, -0.5111583471298218, -0.9042516350746155, -0.5351729393005371, -0.18699684739112854, -0.07440223544836044, 0.012494062073528767, 0.17780518531799316, 0.4582028388977051, -0.18978801369667053, 0.9723914265632629, -0.5645841956138611, -0.14173312485218048, -0.3554355502128601, -0.015859637409448624, 0.4193178117275238, 0.8837421536445618, 0.5604247450828552, -0.5600852370262146, -0.479788601398468, -0.024220142513513565, -0.37705758213996887, -0.3686591386795044, -0.45521846413612366, 0.004161635413765907, -0.0032618860714137554, 0.6475613117218018, 0.27482783794403076, -0.0890296921133995, 1.0567545890808105, -0.28095734119415283, 0.5447302460670471, -0.6333960294723511, -0.06517993658781052, -1.394422173500061, -0.07584238052368164, -0.19591273367404938, -0.3092031478881836, -0.5091902613639832, 0.18162676692008972, 0.3256562054157257, 0.050739388912916183, -0.38813960552215576, 0.30136844515800476, -0.6343713402748108, -0.1004791110754013, -0.6437134742736816, -0.3879115581512451, -0.07431474328041077, 0.2819405496120453, -0.23817838728427887, 1.1292685270309448, 0.5563768148422241, -0.6554241180419922, 0.17842543125152588, -0.059025488793849945, -0.3867221772670746, 0.09528711438179016, -0.46379709243774414, 0.5368124842643738, -0.04806128144264221, 0.3636021018028259, -0.619658887386322, -0.3474496304988861, 0.17277583479881287, -0.3374805450439453, 0.3355460464954376, -0.3485327661037445, -0.45287659764289856, -0.2770117223262787, -0.13204661011695862, 0.20005512237548828, 0.7330940365791321, -0.7895839214324951, 0.36149299144744873, -0.09772483259439468, -0.08456262201070786, -0.3006238043308258, -0.3651440739631653, 0.016312001273036003, 0.09500188380479813, -0.35219210386276245, 0.09737080335617065, -0.2846321165561676, 0.00889291986823082, -0.23493033647537231, -0.04838436469435692, 0.10253434628248215, 0.22078876197338104, 0.1687787026166916, -0.08817530423402786, -0.3962244987487793, 0.25379759073257446, 0.05561389401555061, -0.14129559695720673, -0.26751500368118286, -0.7592580914497375, 0.6104379892349243, 0.12097882479429245, -0.41858628392219543, 0.07666388154029846, 0.09666121006011963, 0.47746413946151733, -0.18705764412879944, 0.663330078125, 0.09880615770816803, -0.1848846971988678, -0.929179847240448, -0.46775391697883606, -0.06040644645690918, -0.49340999126434326, 0.6218723654747009, -0.5312855243682861, -0.5552305579185486, 0.2808328866958618, -0.47952133417129517, 0.24132025241851807, 0.3343234062194824, 0.5931465029716492, -0.1035107895731926, 0.7317336201667786, 1.0218453407287598, -0.24438536167144775, 0.43140190839767456, -0.21619635820388794, -0.07363083958625793, -0.7378196716308594, 0.16519629955291748, -0.5654783844947815, -0.1840958148241043, -0.5379545092582703, -0.9639303684234619, 0.04567493125796318, 0.31836140155792236, -0.0870978981256485, 0.40276938676834106, -0.4619753062725067, 0.6185492277145386, 0.5978175401687622, -0.10157092660665512, 0.3250345289707184, -0.07126829028129578, 0.05356211215257645, 0.15034188330173492, -0.9720126986503601, -0.4000847339630127, 1.1698392629623413, 0.2543036937713623, 0.880781352519989, 0.053631436079740524, 0.8789867162704468, 0.2783900499343872, 0.5072266459465027, -0.3178199529647827, 0.28593504428863525, -0.1814115196466446, -0.2886171340942383, -0.033735908567905426, -0.6754040718078613, -0.6145949363708496, 0.15410389006137848, -0.21955649554729462, -0.3916345238685608, 0.2840193808078766, 0.5844113826751709, -0.43107903003692627, 0.388782262802124, -0.8318040370941162, 0.8545334339141846, -0.3247101902961731, -0.22030583024024963, -0.16008873283863068, -0.0912238284945488, 0.31749647855758667, -0.6881545186042786, 0.3519078493118286, 0.06117825210094452, 0.18267741799354553, 0.6083862781524658, -0.4362691044807434, 0.9679454565048218, -0.27924543619155884, -0.15165410935878754, 0.22496360540390015, 0.20995165407657623, 0.828213095664978, -0.14652378857135773, -0.19722117483615875, -0.1267067790031433, -0.23700004816055298, -0.49448686838150024, -0.7237033843994141, 0.8138054609298706, -0.7561916708946228, -0.5549976229667664, -0.21860118210315704, -0.6759967803955078, -0.31300926208496094, 0.3178713917732239, 0.24183258414268494, 0.19691140949726105, -0.10749004036188126, 0.2527800500392914, 0.5305960178375244, -0.7234864830970764, 0.4290347397327423, 0.574188768863678, -0.40766528248786926, -0.39350172877311707, 1.044600486755371, -0.2078285962343216, 0.4434870779514313, 0.13398468494415283, 0.356852650642395, 0.1257265955209732, -1.036103367805481, -0.6580309867858887, -0.03166276216506958, -0.6004828810691833, -0.3653201460838318, -0.5048454403877258, -0.08624449372291565, -0.7007302045822144, -0.23711399734020233, -0.5131296515464783, -0.17363643646240234, -0.19652479887008667, 0.1381896287202835, 0.3249339163303375, 0.668624997138977, -0.013361386023461819, 0.5287449359893799, -0.8210563063621521, 0.14564670622348785, 0.11960692703723907, 0.5145567059516907, -0.011098802089691162, -0.7551500201225281, -0.3055228292942047, -0.19492213428020477, -0.3297730088233948, -0.7954115867614746, 0.40932101011276245, 0.43475568294525146, 0.13906148076057434, 0.2020362913608551, 0.05526353791356087, 0.7862005233764648, -0.8320492506027222, 0.43554502725601196, 0.2811335325241089, -0.8338156938552856, 0.6962847113609314, -0.1630104035139084, 0.5139972567558289, 0.6152694225311279, -0.09462405741214752, -0.5837956666946411, -0.24003836512565613, -0.5291526317596436, -0.8025174736976624, 0.4604060649871826, 0.08318927139043808, 0.1955299824476242, 0.27111294865608215, 0.5677375197410583, 0.23386436700820923, 0.12992434203624725, -0.686856746673584, -0.07082602381706238, -0.1807841658592224, -0.32146167755126953, -0.32949668169021606, -0.28461846709251404, 0.1236390620470047, 0.04595346748828888, 0.8494035601615906, -0.5913087725639343, -0.08394777029752731, -0.0674227774143219, -0.26272714138031006, -0.3775671124458313, 0.34266558289527893, 0.5416867733001709, 0.6185953617095947, -0.16055482625961304, 0.037851642817258835, 0.33631041646003723, -0.329177588224411, 0.3772326409816742, -0.15460722148418427, -0.4236236810684204, -0.16797584295272827, 0.40137845277786255, 0.6965247988700867, 0.27543047070503235, -0.6029501557350159, 0.49711403250694275, 0.10553578287363052, -0.011254778131842613, -0.3161484897136688, 0.5203647613525391, 0.09403402358293533, 0.3119421899318695, 0.521733283996582, 0.17522113025188446, -0.09952423721551895, -0.5421409010887146, 0.3630315959453583, 0.13871243596076965, -0.09628469496965408, -0.24654537439346313, 0.5480682849884033, 0.2873714864253998, -0.2718104422092438, 0.37745314836502075, -0.33960744738578796, -0.4303237199783325, 0.6648783683776855, 0.9503202438354492, 1.0459620952606201, -0.19871652126312256, -0.03259816765785217, 0.48719125986099243, 0.21195174753665924, -0.05725279450416565, 0.1095694974064827, 0.1693316400051117, -0.856473982334137, -0.767025351524353, -0.8401696681976318, -0.3586556911468506, 0.1143331304192543, -0.22505684196949005, 0.18867582082748413, -0.772493839263916, 0.3008340299129486, -0.4058058559894562, -0.17408597469329834, -0.5333159565925598, 0.29812857508659363, 0.03029671683907509, 1.3105509281158447, -0.8067018389701843, 1.1523092985153198, 0.6780246496200562, -0.1397249549627304, -0.9017080068588257, 0.15825629234313965, -0.1611134260892868, -0.7798514366149902, 0.6246292591094971, -0.07286194711923599, 0.17939217388629913, 0.203340545296669, -0.5634236931800842, -0.911088764667511, 0.939285397529602, 0.2981913387775421, -0.9714740514755249, 0.057959191501140594, -0.1075197234749794, 0.4095781147480011, -0.4852057993412018, 0.06047067046165466, 0.4170280992984772, 0.15791282057762146, 0.28335145115852356, -0.46170714497566223, 0.027944911271333694, -0.16907931864261627, 0.42843493819236755, 0.058682024478912354, -0.652245819568634, 0.5476054549217224, -0.4350806772708893, -0.116788350045681, 0.08447980880737305, 1.0474348068237305, 0.5051928758621216, 0.004830917343497276, 0.718682587146759, 0.19856449961662292, 0.6323535442352295, 0.0011234943522140384, 0.9692519307136536, -0.6479049324989319, 0.401637464761734, 1.5034645795822144, -0.24425339698791504, 0.819115936756134, 0.535636842250824, -0.08424936980009079, 0.364852637052536, 0.4454226791858673, -0.17567436397075653, 0.4743267297744751, 0.6322182416915894, -0.015582172200083733, -0.14951756596565247, 0.4438464343547821, -0.4193839430809021, 0.34279245138168335, 0.0631893128156662, -0.4769144356250763, -0.22685088217258453, -0.07852146774530411, -0.17727597057819366, 0.08279206603765488, -0.2878195345401764, 0.6835804581642151, 0.023906145244836807, -0.6125301718711853, 0.46930253505706787, 0.17354626953601837, 0.6550465822219849, -0.6648837327957153, -0.297649621963501, -0.40826737880706787, 0.574768602848053, -0.19825749099254608, -0.1705942302942276, 0.12683790922164917, 0.27243340015411377, -0.33684369921684265, -0.34774449467658997, 0.7773151397705078, -0.1846911907196045, -0.7936259508132935, 0.12004821747541428, 0.19930368661880493, -0.03343857452273369, 0.010009159334003925, -0.608806312084198, 0.4161318242549896, 0.22715185582637787, -0.14550071954727173, 0.30860456824302673, 0.376437783241272, 0.14177604019641876, 0.6619972586631775, 0.8762346506118774, 0.6933348178863525, 0.3359423875808716, 0.04623299464583397, 0.7544024586677551, -0.7542309761047363, -0.5118480920791626, -0.6251916289329529, 0.2737085521221161, -0.08853544294834137, -0.3175675868988037, 0.7682598829269409, 0.5768241286277771, 1.121472716331482, -0.38536205887794495, 1.1775355339050293, -0.12438587099313736, 0.5059813261032104, -0.6870600581169128, 0.6247905492782593, -0.37434136867523193, 0.5375085473060608, -0.37142863869667053, -0.9671271443367004, -0.24495865404605865, 0.6054389476776123, -0.2316853106021881, 0.17879648506641388, 0.3969178795814514, 0.8710911870002747, -0.030559249222278595, -0.33004435896873474, 0.5316562056541443, 0.5588420629501343, 0.6015559434890747, 0.7604818344116211, 0.6156443953514099, -0.5055249929428101, 0.4360404312610626, -0.38268816471099854, -0.4587256908416748, -0.3332144021987915, -1.1904218196868896, -0.49153122305870056, -0.36249130964279175, -0.383282333612442, -0.4815313220024109, 0.2482209950685501, 1.3475077152252197, 0.7348803877830505, -1.192626714706421, -0.25601333379745483, -0.3750302195549011, -0.231623575091362, -0.35432153940200806, -0.10886527597904205, 0.30093416571617126, -0.7451658248901367, -0.8073354363441467, 0.6212605834007263, 0.20765641331672668, 0.033400069922208786, -0.364865779876709, -0.27708932757377625, 0.3144669234752655, 0.0333828367292881, 0.34863337874412537, 0.48041462898254395, -0.24017159640789032, -0.3410036265850067, -0.12102562189102173, -0.06204197555780411, 0.14350198209285736, 1.0925947427749634, -0.7500669956207275, 0.6959612965583801, 0.276780366897583, 0.9368571043014526, 0.2326584905385971, -0.011750400066375732, 0.7669434547424316, -0.7921963334083557, 0.15404516458511353, 0.12887266278266907, 0.3299730122089386, 0.42877548933029175, -0.2417210340499878, 0.32185354828834534, 0.2628266215324402, -0.3002745509147644, -0.7925927042961121, 0.2821745276451111, -0.6679856181144714, -0.3739476501941681, 1.3240514993667603, -0.14188407361507416, -0.47244468331336975, 0.24583204090595245, -0.13436920940876007, 0.19540518522262573, -0.2007640302181244, 0.9218617081642151, 0.36818721890449524, 0.3597624599933624, -0.09859517216682434, -0.49596861004829407, 0.4515823721885681, 0.3153788149356842, -0.8013845086097717, 0.17154806852340698, 0.4263440668582916, 0.5641971826553345, -0.03575313091278076, 0.7337952256202698, 0.04282698780298233, 0.2650252878665924, 0.0502629317343235, 0.5269675254821777, -0.0761275365948677, -0.29507774114608765, -0.5553873181343079, 0.2448088675737381, 0.6153883934020996, -0.37234601378440857 ]
http://arxiv.org/abs/2402.19282v6
http://arxiv.org/pdf/2402.19282v6
WanJuan-CC: A Safe and High-Quality Open-sourced English Webtext Dataset
2024-02-29T15:49:15
2024-03-18T03:18:58
Jiantao Qiu, Haijun Lv, Zhenjiang Jin, Rui Wang, Wenchang Ning, Jia Yu, ChaoBin Zhang, Zhenxiang Li, Pei Chu, Yuan Qu, Jin Shi, Lindong Lu, Runyu Peng, Zhiyuan Zeng, Huanze Tang, Zhikai Lei, Jiawei Hong, Keyu Chen, Zhaoye Fei, Ruiliang Xu, Wei Li, Zhongying Tu, Lin Dahua, Yu Qiao, Hang Yan, Conghui He
cs.CL
cs.CL
This paper presents WanJuan-CC, a safe and high-quality open-sourced English webtext dataset derived from Common Crawl data. The study addresses the challenges of constructing large-scale pre-training datasets for language models, which require vast amounts of high-quality data. A comprehensive process was designed to handle Common Crawl data, including extraction, heuristic rule filtering, fuzzy deduplication, content safety filtering, and data quality filtering. From approximately 68 billion original English documents, we obtained 2.22T Tokens of safe data and selected 1.0T Tokens of high-quality data as part of WanJuan-CC. We have open-sourced 100B Tokens from this dataset. The paper also provides statistical information related to data quality, enabling users to select appropriate data according to their needs. To evaluate the quality and utility of the dataset, we trained 1B-parameter and 3B-parameter models using WanJuan-CC and another dataset, RefinedWeb. Results show that WanJuan-CC performs better on validation datasets and downstream tasks.
[ -0.21141868829727173, -0.4516456425189972, 0.08957317471504211, 0.1442577987909317, -0.26500388979911804, -0.3538089990615845, -0.31011638045310974, -0.23629550635814667, -0.036559056490659714, 0.7674632668495178, -0.3285793662071228, -0.8741781115531921, -0.48131033778190613, 0.028174929320812225, -0.7715160250663757, 0.8660662770271301, 0.12519092857837677, -0.030219119042158127, -0.03989926353096962, -0.1483539640903473, -0.26372000575065613, -0.36855247616767883, -0.9020302295684814, 0.4492393732070923, 0.4739132821559906, 0.567045271396637, 0.9819011688232422, 0.6993685960769653, 0.7757419943809509, 0.11662458628416061, 0.048416849225759506, 0.35200101137161255, -0.6902182698249817, 0.2145812213420868, -0.5272034406661987, -0.2298526018857956, -0.5437244772911072, 0.19780106842517853, 0.19661180675029755, 0.5934283137321472, -0.48721712827682495, 0.0669960156083107, 0.0003301700053270906, 0.851710855960846, -0.7542589902877808, 0.051475051790475845, -0.814429521560669, -0.30273109674453735, -0.6280525922775269, 0.37707340717315674, -0.36207035183906555, -0.6612702012062073, -0.19879473745822906, -0.9282707571983337, 0.2768579423427582, 0.31603747606277466, 1.2303240299224854, 0.022525493055582047, -0.5420175790786743, -0.4751178026199341, -0.2833893895149231, 0.7622151374816895, -0.6798433065414429, 0.49646297097206116, 0.9231154322624207, 0.5329944491386414, -0.023328624665737152, -0.7817748188972473, -0.692803680896759, 0.14483781158924103, -0.04630780220031738, 0.24324724078178406, 0.022429604083299637, -0.12906578183174133, -0.14628306031227112, 0.36076587438583374, -0.882478654384613, 0.08661861717700958, -0.4477667808532715, -0.19874627888202667, 0.7059137225151062, 0.13575251400470734, 0.3133890628814697, -0.28208693861961365, -0.24839486181735992, -0.37894660234451294, -0.8839597702026367, -0.18133972585201263, 0.7013195753097534, 0.5709847807884216, 0.08486466854810715, 0.6011723279953003, -0.5299785733222961, 0.6215896010398865, -0.2915126383304596, -0.3006272614002228, 0.16580595076084137, -0.4995146691799164, 0.08540794998407364, -0.23736511170864105, 0.932066023349762, 0.518704891204834, 0.6494125723838806, -0.15550920367240906, -0.3048225939273834, -0.0976896733045578, 0.48681482672691345, -0.7268256545066833, -0.17539536952972412, 0.2468162477016449, -0.6491279602050781, -0.39977961778640747, 0.6254047155380249, -0.8673869967460632, -0.07726779580116272, -0.3272116482257843, 0.2746143341064453, -0.45222434401512146, -0.3689611554145813, 0.2748475670814514, -0.03908925503492355, 0.06949261575937271, 0.2425660341978073, -0.48158374428749084, 0.41869786381721497, 0.6860819458961487, 0.8034309148788452, -0.6221904754638672, -0.24197468161582947, -0.3387787342071533, 0.2693435251712799, -0.35991254448890686, 0.6239537596702576, -0.32347536087036133, -0.30033984780311584, 0.3238719701766968, 0.43101951479911804, 0.050014887005090714, -0.7162136435508728, 0.9287517666816711, -0.6598846316337585, 0.18574124574661255, -0.08566560596227646, -0.43577051162719727, -0.22681079804897308, 0.2082933932542801, -1.1589308977127075, 0.8178530335426331, -0.01685337722301483, -0.9711406826972961, 0.2223496288061142, -0.4172620177268982, -0.7276995778083801, 0.05405594781041145, 0.22815105319023132, -0.2547290623188019, -0.051773689687252045, 0.5158572196960449, 0.5817297101020813, -0.48949411511421204, 0.4202258288860321, -0.039851654320955276, -0.2222871631383896, 0.10601142048835754, -0.5139706134796143, 1.0267400741577148, 0.6612849235534668, 0.07441467046737671, -0.30416038632392883, -1.2122597694396973, -0.04494013264775276, 0.22772513329982758, -0.08658303320407867, -0.6009276509284973, 0.11329320818185806, 0.14423608779907227, 0.12343687564134598, 0.18355686962604523, -0.6227498054504395, -0.13033169507980347, -0.2142093926668167, 0.1377670019865036, 0.6167598366737366, 0.011558135971426964, -0.05117326229810715, -0.48764967918395996, 0.33821290731430054, 0.22363954782485962, 0.40049219131469727, -0.23087041079998016, -0.5991857647895813, -0.5479413270950317, -0.10135821253061295, 0.44517838954925537, 0.4891117215156555, -0.5207073092460632, 0.3279346525669098, -0.4733583927154541, -0.666946530342102, -0.46895793080329895, -0.10490710288286209, 0.17581547796726227, 0.21109239757061005, 0.40570732951164246, -0.2166098654270172, -0.4343251585960388, -0.6667531728744507, -0.13965493440628052, -0.03729593753814697, -0.1202966719865799, 0.2304210364818573, 0.33368006348609924, -0.3707124590873718, 1.0472272634506226, -0.7355145812034607, -0.44553491473197937, -0.09951166063547134, 0.008587074466049671, 0.4606660008430481, 0.5974398255348206, 0.2520918548107147, -0.8902625441551208, -0.5803393125534058, -0.024072162806987762, -0.4802563786506653, -0.11623845249414444, -0.08127047121524811, -0.420615553855896, 0.024263102561235428, 0.4018844962120056, -0.5237879753112793, 0.3174753189086914, 0.8616459369659424, -0.11542412638664246, 0.6014894247055054, 0.19473902881145477, 0.3797040581703186, -1.414115309715271, 0.3797215521335602, -0.14825233817100525, -0.3809391260147095, -0.4657723903656006, 0.36063843965530396, 0.15523776412010193, -0.1401432454586029, -0.6849478483200073, 0.6124178171157837, -0.03220300376415253, 0.3646245002746582, -0.028897786512970924, 0.3814751207828522, 0.12563058733940125, 0.25810202956199646, -0.17140842974185944, 1.1110390424728394, 0.4688097834587097, -0.7284875512123108, 0.43666961789131165, 0.6569933295249939, -0.316266268491745, 0.6275665163993835, -0.6138173937797546, 0.16157443821430206, -0.027767904102802277, -0.20163892209529877, -0.817525327205658, -0.35835978388786316, -0.09709647297859192, -0.6446857452392578, 0.10922995954751968, -0.15151329338550568, -0.5240340232849121, -0.1805591881275177, -0.2498965561389923, 0.11675529181957245, 0.3568536937236786, -0.7207277417182922, 0.1124749481678009, 0.652874767780304, -0.14785781502723694, -0.6054191589355469, -0.5495606660842896, 0.054457131773233414, 0.112831711769104, -0.6102900505065918, 0.23665699362754822, -0.00644909031689167, -0.25435030460357666, 0.13641658425331116, -0.09453010559082031, -0.6362026929855347, 0.13410373032093048, 0.5712954998016357, 0.1056305468082428, 0.08359913527965546, -0.1998938024044037, 0.13482815027236938, -0.15341328084468842, -0.00789265614002943, -0.4006737172603607, 0.4557569622993469, 0.39190423488616943, -0.3192140758037567, -0.22835512459278107, 0.30031681060791016, 0.2911767363548279, -0.09148965030908585, 0.9701637625694275, 0.4072662591934204, -0.5826180577278137, -0.14308133721351624, -0.2716352641582489, 0.2943847179412842, -0.4971189796924591, 0.07028880715370178, -0.17217229306697845, -0.730090856552124, 0.22437183558940887, -0.02475542202591896, 0.1839619278907776, 0.7724632620811462, 0.2794322073459625, -0.2992745041847229, 0.9014360904693604, 0.27760300040245056, -0.11777641624212265, 0.0539824403822422, -0.1783922016620636, -0.062312327325344086, -0.3193572461605072, -0.19761468470096588, -0.9145528674125671, 0.12948402762413025, -0.6487573385238647, -0.23377366364002228, 0.09094586968421936, 0.07904371619224548, -0.2960622012615204, 0.5592033267021179, -0.12475050985813141, 0.6332693696022034, 0.6162705421447754, 0.09513703733682632, 0.3754676282405853, -0.041763078421354294, -0.3094615638256073, 0.0625213086605072, -0.04130404815077782, -0.45809727907180786, 1.2830939292907715, -0.04535726457834244, 1.174364447593689, 0.3498993217945099, 0.41436484456062317, 0.3899502158164978, -0.2024049609899521, -0.4243873655796051, 0.5394375324249268, -0.59465092420578, -1.015807867050171, -0.2940148413181305, -0.5680035948753357, -1.3193248510360718, -0.17077530920505524, 0.0014807278057560325, -0.3329818546772003, -0.22833289206027985, -0.16112320125102997, 0.04082498699426651, 0.22279797494411469, -0.39717936515808105, 0.5726273655891418, -0.016900502145290375, -0.2404041737318039, -0.29197031259536743, -0.5629978179931641, 0.32380473613739014, -0.2336694598197937, 0.36163753271102905, -0.16903828084468842, 0.08697469532489777, 0.8177575469017029, -0.5723528265953064, 0.513125479221344, -0.2176312804222107, -0.020671531558036804, 0.5778771042823792, 0.2381725162267685, 0.6894417405128479, 0.21243222057819366, -0.11704269796609879, 0.5983891487121582, 0.03170663118362427, -0.48918524384498596, -0.2577293813228607, 0.6536252498626709, -0.8379848599433899, -0.4300059974193573, -0.301752507686615, -0.03054194338619709, -0.40362823009490967, 0.45451751351356506, 0.24901120364665985, 0.5738295316696167, -0.22532685101032257, 0.5372527241706848, 0.5859229564666748, -0.31000086665153503, 0.430484801530838, 0.3208071291446686, -0.261082261800766, -0.8359978199005127, 0.9890329241752625, 0.007125630974769592, 0.17984332144260406, 0.3809579610824585, 0.12286848574876785, -0.1272665560245514, -0.7833485007286072, -0.3386204242706299, 0.18394377827644348, -0.7219284772872925, -0.6151040196418762, -0.6405071020126343, -0.5467150807380676, -0.4433196187019348, -0.02760954573750496, -0.5727642178535461, -0.6476973295211792, -0.2250272035598755, -0.16567860543727875, 0.332782119512558, 0.7688304781913757, -0.11169326305389404, 0.48781082034111023, -1.2321308851242065, 0.4993573725223541, 0.2648506462574005, 0.6143296360969543, -0.13725046813488007, -0.30781689286231995, -0.6616489291191101, 0.2040131539106369, 0.0012502119643613696, -0.7910645604133606, 0.4959616959095001, 0.32729974389076233, 0.5860669016838074, 0.4577633738517761, 0.1170729324221611, 0.47477030754089355, -0.393608033657074, 1.2127989530563354, -0.08839257806539536, -0.828985333442688, 0.703835666179657, -0.7173832058906555, 0.11430847644805908, 1.044614315032959, 0.9189227819442749, -0.611318051815033, -0.2464604526758194, -0.3035924434661865, -0.8827276229858398, 0.48994967341423035, 0.30905914306640625, 0.13728846609592438, -0.15194560587406158, 0.5359109044075012, 0.6315135955810547, 0.17444859445095062, -0.44112861156463623, -0.16399557888507843, -0.4275665879249573, -0.6485987305641174, 0.24246208369731903, -0.0996815413236618, 0.1397504210472107, -0.03332749754190445, 0.8529700636863708, -0.21405118703842163, -0.025767017155885696, -0.08636049926280975, -0.5692867636680603, 0.1558624505996704, -0.10136035829782486, 0.13183560967445374, 0.5959820747375488, -0.18696855008602142, 0.06416396051645279, -0.06678006798028946, -1.264527440071106, 0.2318768948316574, -0.24138741195201874, -0.18341030180454254, -0.032079800963401794, 0.2618758976459503, 0.3790661692619324, -0.24034903943538666, -0.9411808848381042, 0.9472792744636536, -0.5207530856132507, -0.04171102121472359, -0.2879355251789093, 0.2591599225997925, -0.08654674887657166, -0.3676842451095581, 0.36893507838249207, -0.034876540303230286, 0.16738615930080414, -0.03793475031852722, 0.5428842902183533, 0.05957874655723572, -0.28866609930992126, -0.42430806159973145, 0.6596697568893433, 0.2684588134288788, -0.013184763491153717, 0.9300448298454285, -0.28511106967926025, -0.13071776926517487, 0.2177160382270813, 0.4548805058002472, 0.7345024347305298, -0.15797358751296997, 0.24265606701374054, 0.8691099882125854, 0.2878800630569458, -0.2595730423927307, 0.4125273823738098, 0.369832843542099, -0.7163639664649963, -0.32556456327438354, -0.8223539590835571, -0.6665430068969727, 0.13074219226837158, -0.7143271565437317, 0.4704277515411377, -0.37826937437057495, -0.007191586308181286, -0.6148542165756226, 0.057067837566137314, -0.7781399488449097, 0.5739098787307739, -0.1704557240009308, 1.057999849319458, -0.5663142800331116, 0.9722129702568054, 0.3993016183376312, -0.36864539980888367, -0.7389126420021057, 0.28192025423049927, 0.07906366884708405, -0.6839218735694885, 0.4824126660823822, 0.3194092810153961, 0.11963082104921341, 0.028645580634474754, -0.5834306478500366, -1.156731367111206, 0.9707807898521423, 0.05081615597009659, -0.8002137541770935, -0.10779710114002228, 0.35670480132102966, 0.19700290262699127, 0.12936419248580933, 0.12535475194454193, 0.27226075530052185, 0.49775430560112, -0.05046062916517258, -0.6930537819862366, -0.007813414558768272, -0.2331826090812683, -0.17609770596027374, 0.0345846451818943, -0.7245628833770752, 0.8848787546157837, 0.19624032080173492, -0.46099841594696045, 0.027866488322615623, 0.5969361662864685, -0.054395172744989395, -0.051842592656612396, 0.5717290639877319, 0.6906211972236633, 0.6932907700538635, -0.11205901205539703, 0.6932770609855652, -0.3186403810977936, 0.3298541009426117, 0.8715800046920776, -0.3161657452583313, 0.9839639067649841, -0.03699903562664986, -0.3302789330482483, 0.45688632130622864, 0.451270192861557, 0.21520212292671204, 0.8170737028121948, 0.004868457093834877, 0.20412558317184448, 0.01658003032207489, -0.0053458018228411674, 0.010651770979166031, 0.6747058629989624, 0.2261778861284256, 0.0647650957107544, -0.04698866605758667, -0.005520963575690985, 0.2542549669742584, 0.09740390628576279, -0.17869216203689575, 0.8285440802574158, -0.2087753564119339, -0.5815533995628357, 0.33840614557266235, -0.0998038649559021, 0.8257099986076355, -0.5442737936973572, 0.17255564033985138, -0.5232329964637756, -0.03756461292505264, -0.18527837097644806, -0.7635701298713684, 0.6239801049232483, 0.11998772621154785, 0.017025385051965714, 0.039507847279310226, 0.7473835349082947, -0.29299092292785645, -0.4055347740650177, 0.08900187909603119, 0.45089542865753174, 0.12143445014953613, -0.32458779215812683, -0.39623787999153137, 0.01813945546746254, -0.17382459342479706, -0.3861664831638336, 0.2328629046678543, 0.46486005187034607, -0.033806174993515015, 0.3960057497024536, 0.8985201120376587, 0.23495909571647644, -0.00992757547646761, 0.0900372862815857, 0.6460245847702026, -1.0199987888336182, -0.38201600313186646, -0.39072003960609436, 0.48443734645843506, -0.3181275725364685, -0.3458276689052582, 0.6322880387306213, 0.680277943611145, 1.0537757873535156, 0.18741628527641296, 0.7133854031562805, 0.05340007320046425, 0.8764565587043762, -0.7202041745185852, 1.1596870422363281, -0.5119269490242004, -0.17690575122833252, -0.09691011905670166, -0.8543018698692322, -0.4278349280357361, 0.45269575715065, 0.5913821458816528, -0.18411682546138763, 0.8446634411811829, 0.9661714434623718, -0.06758780777454376, 0.24279092252254486, 0.36765432357788086, 0.114881232380867, 0.6270251870155334, 0.17472143471240997, 0.6538321375846863, -0.6556081771850586, 0.6456140279769897, -0.15656287968158722, 0.05538839474320412, -0.09053225070238113, -0.8760097622871399, -0.817725419998169, -0.9666120409965515, -0.11830507963895798, -0.3467487692832947, 0.2592361271381378, 0.8986285924911499, 0.7595275640487671, -1.2491705417633057, -0.03242428973317146, -0.16221760213375092, -0.06305484473705292, -0.24445632100105286, -0.22237776219844818, 0.33086735010147095, -0.43342283368110657, -0.7244420051574707, 0.41334936022758484, -0.03902396932244301, -0.07350562512874603, -0.09320153295993805, -0.027588972821831703, -0.232408806681633, 0.2772376537322998, 0.32471710443496704, -0.22009898722171783, -0.25551286339759827, -0.3624138832092285, 0.10911936312913895, -0.5115233659744263, 0.007840272970497608, 0.6569535136222839, -0.5961207747459412, 0.14698629081249237, 0.48458757996559143, 0.7811024188995361, 0.30792325735092163, -0.026208005845546722, 0.3981999158859253, -0.8988522887229919, 0.07216743379831314, 0.05813130736351013, 0.37593740224838257, 0.36801213026046753, -0.2901557981967926, 0.8293455243110657, 0.19809962809085846, -0.5262665152549744, -0.7062896490097046, -0.12160607427358627, -0.9572486877441406, -0.3646511435508728, 1.4658379554748535, -0.34964126348495483, -0.296368271112442, -0.1880217045545578, -0.3184797167778015, 0.2412627786397934, -0.21472573280334473, 0.5188256502151489, 0.7177242040634155, 0.6071305871009827, 0.13353700935840607, -0.5186648368835449, 0.44740718603134155, -0.08901501446962357, -1.0573548078536987, 0.15686430037021637, 0.4637550115585327, 0.22775577008724213, -0.10515207052230835, 0.21085669100284576, -0.32882609963417053, 0.10175767540931702, 0.1212606281042099, 0.028215473517775536, -0.24868705868721008, -0.5661137700080872, 0.00003231912342016585, 0.3826209008693695, -0.0570131279528141, -0.12739501893520355 ]
http://arxiv.org/abs/2402.19273v1
http://arxiv.org/pdf/2402.19273v1
PlanGPT: Enhancing Urban Planning with Tailored Language Model and Efficient Retrieval
2024-02-29T15:41:20
2024-02-29T15:41:20
He Zhu, Wenjia Zhang, Nuoxian Huang, Boyang Li, Luyao Niu, Zipei Fan, Tianle Lun, Yicheng Tao, Junyou Su, Zhaoya Gong, Chenyu Fang, Xing Liu
cs.CL
cs.CL
In the field of urban planning, general-purpose large language models often struggle to meet the specific needs of planners. Tasks like generating urban planning texts, retrieving related information, and evaluating planning documents pose unique challenges. To enhance the efficiency of urban professionals and overcome these obstacles, we introduce PlanGPT, the first specialized Large Language Model tailored for urban and spatial planning. Developed through collaborative efforts with institutions like the Chinese Academy of Urban Planning, PlanGPT leverages a customized local database retrieval framework, domain-specific fine-tuning of base models, and advanced tooling capabilities. Empirical tests demonstrate that PlanGPT has achieved advanced performance, delivering responses of superior quality precisely tailored to the intricacies of urban planning.
[ -0.3262596130371094, -0.9126909971237183, 0.7091553807258606, 0.36205610632896423, -0.055846597999334335, -0.0056320540606975555, -0.30967602133750916, -0.3207351863384247, 0.2556709349155426, 0.5146632790565491, -0.17636992037296295, -0.3687687814235687, -0.18226481974124908, -0.3828427493572235, -0.3867054283618927, 0.5785539150238037, -0.2192583978176117, 0.16201846301555634, 0.45046380162239075, 0.11799362301826477, -0.5344560146331787, -0.44305679202079773, -1.0279426574707031, -0.4834783971309662, 0.20034538209438324, 0.37078389525413513, 1.0495187044143677, 0.6710574626922607, 0.7792032361030579, 0.102122001349926, 0.18301062285900116, -0.02622280828654766, -0.42628103494644165, -0.48984503746032715, -0.09044644981622696, 0.11587731540203094, -0.9104089736938477, -0.3308490812778473, 0.5635735988616943, 0.8937952518463135, -0.5010939240455627, -0.03514803573489189, -0.18361268937587738, 0.7195649147033691, -0.47883620858192444, 0.19064480066299438, -0.5822373628616333, -0.014103366993367672, -0.3185465633869171, -0.32665616273880005, -0.11230289936065674, -0.4729006290435791, 0.25916609168052673, -0.5335240364074707, 0.20639030635356903, -0.0535510778427124, 0.3594839870929718, 0.1343972235918045, -0.35436901450157166, -0.15354321897029877, -0.9488602876663208, 0.275835782289505, -0.5736702680587769, 0.4844472408294678, 0.31069493293762207, 0.6530013084411621, -0.2358001470565796, -1.0771783590316772, -0.45620134472846985, -0.3583938777446747, -0.1705210953950882, 0.11321311444044113, 0.14391618967056274, 0.2601388096809387, 0.18089482188224792, 0.2537780702114105, -1.0251131057739258, -0.2540055513381958, -0.47334933280944824, 0.08055558800697327, 0.6691985130310059, 0.23395700752735138, 0.3744610548019409, -0.224659726023674, -0.40133243799209595, 0.13247209787368774, -0.9980326294898987, 0.0024158568121492863, 0.17486724257469177, 0.4018118679523468, 0.44647467136383057, 0.5666976571083069, -0.6118015646934509, 0.43517398834228516, -0.5290541648864746, 0.3494243025779724, -0.33047911524772644, -0.544771671295166, -0.483128160238266, -0.11185350269079208, 0.5152627229690552, 0.15070965886116028, 0.3602325916290283, -0.35522395372390747, -0.48967474699020386, -0.23954495787620544, 0.29396095871925354, -0.7633675932884216, -0.9429453015327454, 0.031801436096429825, -0.25142574310302734, 0.03413445129990578, 0.008577818050980568, -0.5967978239059448, -0.09712496399879456, -0.3208121657371521, 0.1964500993490219, -0.2584197521209717, -0.4251175820827484, 0.4953952431678772, 0.10720041394233704, 0.3604844808578491, 0.4534757733345032, -1.0478192567825317, 0.2629949152469635, 0.6451258063316345, 0.6546428799629211, -0.3121029734611511, -0.309893935918808, -0.03396248444914818, 0.4314206838607788, -0.5383470058441162, 1.120714545249939, -0.6723474264144897, -0.4019862413406372, 0.023202763870358467, -0.34739404916763306, 0.15279531478881836, -0.4830534756183624, 0.8628377318382263, -0.3585234582424164, -0.1660396158695221, -0.40404370427131653, -0.2246285229921341, -0.2055252641439438, 0.3044915199279785, -0.515851616859436, 1.1837563514709473, 0.30859628319740295, -0.38597777485847473, 0.6990683078765869, -0.9772894382476807, -0.4022831916809082, 0.6517242193222046, -0.17643308639526367, 0.04979473724961281, -0.013196653686463833, 0.35681796073913574, 0.2937653660774231, -0.1806584596633911, 0.6049466729164124, -0.04344428703188896, -0.366367369890213, -0.5833314061164856, -0.16944529116153717, 0.5770947337150574, 0.29873090982437134, -0.06885795295238495, 0.49881717562675476, -0.6811506748199463, 0.2736327350139618, 0.32779839634895325, -0.8622447848320007, -0.25771746039390564, 0.27319881319999695, 0.43747320771217346, 0.036925505846738815, 0.494913786649704, -0.4015250504016876, 0.7449337840080261, -0.11620055139064789, 0.37603676319122314, 0.4714680016040802, -0.348380982875824, 0.6477493047714233, -0.4636649191379547, 0.4528850018978119, -0.7207662463188171, 0.008095337077975273, -0.09320632368326187, -0.37916436791419983, -0.5145628452301025, 0.017396900802850723, -0.005764771718531847, 0.5430722832679749, -0.544299840927124, 0.03993189334869385, -0.5867322683334351, -0.8977984189987183, -0.12230546772480011, -0.28192898631095886, -0.15287038683891296, 0.2355131208896637, 0.25940799713134766, -0.0499182865023613, -0.4901394248008728, -0.696821928024292, -0.2675510048866272, 0.126564159989357, -0.1340833306312561, 0.4336603283882141, 0.3281087279319763, -0.0721774473786354, 0.8814641833305359, -0.7408153414726257, -0.16263829171657562, -0.4678419232368469, -0.09547428786754608, 0.23777511715888977, 0.2650141417980194, 0.7647960782051086, -0.9111917614936829, -0.7349958419799805, 0.19129440188407898, -0.2236846387386322, -0.28861871361732483, -0.016867097467184067, -0.4383792281150818, -0.5056923627853394, 0.21710892021656036, -0.8248564004898071, 0.28276190161705017, 0.10563746839761734, -0.5197345018386841, 0.8262285590171814, -0.4462169110774994, 0.09930740296840668, -0.8841098546981812, 0.27513250708580017, -0.2999243140220642, -0.3843892216682434, -0.7418497204780579, 0.5081232190132141, 0.21919570863246918, -0.38749104738235474, -0.18631771206855774, 0.763207733631134, -0.26205968856811523, -0.1808462142944336, -0.1731829047203064, 0.373144268989563, -0.21536953747272491, 0.42964106798171997, 0.40152958035469055, 1.091257929801941, 0.27338382601737976, -0.6643586158752441, 0.3226149082183838, 0.43651556968688965, -0.4747440814971924, 0.36715519428253174, -0.712273359298706, 0.39096421003341675, -0.12568072974681854, 0.13292664289474487, -0.6084739565849304, -0.6028125882148743, -0.1007673367857933, 0.02886849269270897, 0.015195554122328758, -0.1288900077342987, -0.6174308061599731, -0.4472300708293915, -0.05917513370513916, 0.1638956367969513, 0.27923449873924255, -0.6126337647438049, 0.4692409634590149, 0.5534818768501282, -0.3779132664203644, -0.26910293102264404, -0.4115957021713257, 0.13780272006988525, -0.04872845858335495, -0.681155800819397, 0.19138891994953156, -0.24635200202465057, -0.1801001876592636, -0.20338769257068634, -0.050969719886779785, -0.5325660705566406, -0.004556709434837103, -0.42153242230415344, -0.10529719293117523, -0.1490192413330078, 0.1725997030735016, -0.16362904012203217, 0.06649922579526901, 0.004772005137056112, -0.36234715580940247, 0.78693026304245, 0.2573690712451935, -0.23514707386493683, 0.2138986885547638, 0.6808017492294312, 0.5211959481239319, -0.7243900895118713, 0.23703928291797638, 0.4781811237335205, -0.5375409126281738, -0.26561564207077026, -0.35756778717041016, 0.10932406783103943, -0.4791010022163391, 0.7503944635391235, -0.7375969290733337, -0.5842840671539307, 0.3906219005584717, -0.25437131524086, 0.28260475397109985, 0.12259071320295334, 0.4403684735298157, 0.3374937176704407, 0.9831690788269043, 0.7888612151145935, 0.14423327147960663, 0.6227348446846008, 0.05570153892040253, 0.4273296892642975, -0.6357080340385437, -0.25145894289016724, -0.5894766449928284, -0.15201494097709656, -0.25340577960014343, -0.3829965591430664, 0.19878338277339935, 0.22576002776622772, -0.4770163893699646, 0.6356521844863892, -0.7829314470291138, 0.5524734854698181, 0.49185091257095337, 0.06524290889501572, 0.4616578221321106, -0.19813181459903717, 0.03751175105571747, 0.06613486260175705, -0.6748191714286804, -0.7758718132972717, 0.9256539940834045, 0.03168948367238045, 0.8539445400238037, 0.4196271598339081, 0.4956749379634857, -0.022017180919647217, 0.15747855603694916, -0.5867395997047424, 0.6806377172470093, -0.40066081285476685, -0.6607442498207092, -0.33780956268310547, -0.3225477337837219, -0.8904980421066284, 0.19555778801441193, -0.08662073314189911, -0.9592194557189941, 0.07787634432315826, 0.019579723477363586, -0.40891072154045105, 0.4629104435443878, -0.6950004696846008, 0.9151237607002258, -0.2817244231700897, 0.049588363617658615, -0.36425864696502686, 0.0420951321721077, 0.16003921627998352, -0.3967481553554535, -0.11232873797416687, -0.2949846088886261, 0.22024771571159363, 0.3886624872684479, -0.053697556257247925, 0.05910802632570267, -0.22124949097633362, 0.15717999637126923, -0.005323832388967276, 0.3263516128063202, 0.8198158144950867, 0.014083786867558956, -0.42535024881362915, -0.17975209653377533, 0.10044775903224945, -0.4924335181713104, -0.46015337109565735, 0.7683760523796082, -0.4784247875213623, -0.4010050296783447, 0.25249961018562317, -0.8165791034698486, 0.0572274774312973, 0.5787372589111328, 0.18947739899158478, 0.3619349002838135, -0.6028730273246765, 0.04214033484458923, 0.4006216824054718, -0.17993341386318207, 0.45171698927879333, 0.5220622420310974, -0.5270847678184509, -0.04168447479605675, 0.6591722369194031, 0.18370388448238373, 0.03150170296430588, 0.646194338798523, 0.27050289511680603, -0.36214619874954224, -0.8531571626663208, -0.278639554977417, -0.2804587185382843, -0.656257688999176, -0.09921897947788239, -0.6516849994659424, -0.20139668881893158, -0.5302701592445374, -0.5057623386383057, -0.5574194192886353, -0.5300096273422241, 0.3907456696033478, -0.14986826479434967, -0.17545028030872345, 1.1568758487701416, 0.12738056480884552, 0.217850461602211, -0.5768333673477173, 0.24257563054561615, 0.23751141130924225, 0.47797638177871704, -0.19318386912345886, 0.1436755210161209, -0.17084361612796783, -0.0373564288020134, -0.16538923978805542, -0.8064659833908081, 0.5398291945457458, 0.061818964779376984, 0.5422752499580383, 0.2533358335494995, 0.235321044921875, 0.61820387840271, -0.5180500745773315, 0.7124684453010559, -0.44113802909851074, -0.5390989780426025, 0.9211102724075317, -0.879235565662384, 0.5415529608726501, 0.49188628792762756, 0.1027941182255745, -0.43272385001182556, 0.05029549449682236, -0.1927553415298462, -1.1939467191696167, 0.5222669243812561, 0.11302018165588379, 0.10864381492137909, 0.007490328047424555, 0.6744009852409363, -0.013846146874129772, 0.14713694155216217, -1.0487605333328247, 0.03761531785130501, -0.10589586943387985, 0.05135830491781235, 0.01487395167350769, -0.420078843832016, -0.05735243111848831, -0.3670863211154938, 0.5342198610305786, -0.0823012962937355, 0.37093234062194824, 0.3585176467895508, 0.031460147351026535, -0.14234322309494019, 0.38968348503112793, 0.7089037299156189, 1.1090022325515747, -0.2738816440105438, -0.03580423444509506, 0.3023488521575928, -0.5324606895446777, -0.15448583662509918, 0.30815473198890686, -0.5015069246292114, -0.156177818775177, 0.24427303671836853, 0.5553238391876221, 0.1928510218858719, -0.44133415818214417, 0.3041888177394867, -0.133578822016716, 0.013082168996334076, -0.550784170627594, 0.008344631642103195, -0.17998869717121124, 0.31166383624076843, 0.6507522463798523, -0.15925553441047668, 0.35627931356430054, -0.37710651755332947, 0.30679982900619507, 0.3933028280735016, -0.4219932556152344, -0.12637539207935333, 0.9812623262405396, 0.18826431035995483, -0.5162749886512756, 0.5914413928985596, -0.2328001856803894, -0.5041651129722595, 0.3453638553619385, 0.5560480356216431, 0.9739376902580261, -0.25309616327285767, 0.039160508662462234, 0.6254440546035767, 0.5569878220558167, -0.16363131999969482, 0.5709245204925537, -0.020781219005584717, -0.6080836057662964, -0.49276435375213623, -0.707030713558197, -0.21418584883213043, 0.04225467890501022, -0.3392808139324188, 0.3415364921092987, -0.46064773201942444, -0.007837919518351555, -0.5308011174201965, 0.40803372859954834, -0.5958293676376343, -0.06279326230287552, -0.14550304412841797, 1.5383626222610474, -0.36880820989608765, 1.0332350730895996, 1.2789424657821655, -0.1480492353439331, -1.291895866394043, 0.23358027637004852, -0.510047972202301, -0.6871273517608643, 0.462539941072464, -0.016616595908999443, -0.11550154536962509, 0.18049713969230652, -0.19929301738739014, -0.8269715309143066, 1.294429063796997, 0.35875236988067627, -0.6207265257835388, -0.2893468737602234, 0.34381961822509766, 0.4888072609901428, -0.25954556465148926, 0.31087836623191833, 0.7351163029670715, 0.7819367051124573, -0.06425900757312775, -1.2612056732177734, 0.07726118713617325, 0.06544515490531921, 0.006731294561177492, 0.5337816476821899, -0.4719247817993164, 0.7841323018074036, -0.29099559783935547, -0.26761311292648315, 0.14667728543281555, 0.3092412054538727, -0.06024433672428131, 0.12890498340129852, 0.15346519649028778, 0.4840458631515503, 0.9028975963592529, -0.5150037407875061, 1.1192426681518555, -0.48285242915153503, 0.3094821572303772, 1.1709282398223877, -0.07403673231601715, 0.940923810005188, -0.19164997339248657, -0.2293560802936554, -0.07306620478630066, 0.6592628359794617, 0.2036067098379135, 0.8089443445205688, -0.0853867307305336, -0.39354267716407776, -0.21079358458518982, 0.004272394347935915, -0.17087678611278534, 0.7326673269271851, 0.22312679886817932, 0.21148677170276642, -0.39158037304878235, -0.3043697774410248, -0.04060423746705055, 0.1193886250257492, -0.4176595211029053, 0.5743529796600342, -0.16365347802639008, -0.6324312686920166, -0.1405903548002243, -0.01565113477408886, 0.3445552885532379, -0.8167531490325928, -0.0549619235098362, -0.4399637281894684, 0.21319150924682617, -0.15174159407615662, -1.0306034088134766, 0.6483802795410156, -0.5173572897911072, -0.046367097645998, -0.20029643177986145, 0.7865104675292969, -0.6129689812660217, -0.22452688217163086, 0.4525367021560669, 0.3416499197483063, 0.021734928712248802, -0.5135531425476074, -0.52337646484375, -0.27235302329063416, -0.07759418338537216, -0.2858138978481293, 0.05183553695678711, 0.6336458921432495, -0.14322522282600403, 0.8466416597366333, 0.7945353984832764, 0.3233560025691986, 0.022258462384343147, 0.04792118817567825, 0.7551984786987305, -0.739561915397644, -0.505505383014679, -0.6088486909866333, 0.2442442774772644, -0.1381281614303589, -0.23686592280864716, 0.31746265292167664, 0.7418708801269531, 0.8625653386116028, -0.006217630580067635, 0.6273528337478638, -0.20144949853420258, 0.31545016169548035, -0.3684322237968445, 0.8604639172554016, -0.3479102849960327, 0.4010072350502014, -0.09265672415494919, -1.2890225648880005, -0.49994921684265137, 0.8651439547538757, -0.41787344217300415, 0.09292658418416977, 0.35941341519355774, 0.6103087067604065, -0.1726977676153183, -0.3134438395500183, 0.5969896912574768, -0.11567844450473785, 0.7601680159568787, 0.7482272386550903, 0.5630935430526733, -0.15529976785182953, 0.731110692024231, -0.2208719104528427, -0.3289909362792969, -0.026063842698931694, -0.6214120984077454, -0.7943205833435059, -0.4189937710762024, 0.12037940323352814, 0.3751797080039978, 0.22037172317504883, 0.9069125056266785, 1.1132863759994507, -0.6760891675949097, -0.10404539853334427, -0.23976008594036102, -0.09407581388950348, 0.04260324314236641, -0.33064597845077515, 0.5534837245941162, -0.026803048327565193, -0.7514606714248657, 0.6187629699707031, 0.5402919054031372, 0.039733074605464935, -0.23375612497329712, -0.09269880503416061, 0.031232330948114395, 0.03525121882557869, 0.5826111435890198, 0.250137597322464, -0.3243776559829712, -0.22158826887607574, -0.021338418126106262, -0.2871294319629669, 0.11779872328042984, 1.173589825630188, -0.5399865508079529, 0.4272083342075348, 0.5268613696098328, 0.47784462571144104, 0.44620540738105774, -0.11513237655162811, 0.9456084370613098, -0.7437782287597656, 0.18104152381420135, 0.14793594181537628, 0.5395739078521729, 0.35048922896385193, -0.6359943151473999, 0.9613038897514343, -0.3324224352836609, -1.014324426651001, -0.31479325890541077, 0.4638001620769501, -0.8665677309036255, -0.1016589030623436, 0.9291347861289978, 0.004850239958614111, 0.38070279359817505, -0.2878378629684448, -0.5738579034805298, 0.08382142335176468, -0.4685908257961273, 0.908873975276947, 0.48263150453567505, -0.29646727442741394, -0.3589840531349182, -1.0184465646743774, 0.6126881837844849, -0.014135482721030712, -0.9087389707565308, 0.38797396421432495, 0.33097726106643677, 0.07348074018955231, 0.054272815585136414, 1.3161985874176025, 0.07266473025083542, 0.28216826915740967, 0.009920555166900158, 0.07745081931352615, -0.023766539990901947, -0.29865550994873047, 0.18417736887931824, 0.2269573211669922, 0.39227136969566345, 0.33192455768585205 ]
http://arxiv.org/abs/2402.19267v2
http://arxiv.org/pdf/2402.19267v2
Robust Guidance for Unsupervised Data Selection: Capturing Perplexing Named Entities for Domain-Specific Machine Translation
2024-02-29T15:38:28
2024-05-21T17:19:37
Seunghyun Ji, Hagai Raja Sinulingga, Darongsae Kwon
cs.CL
cs.CL, cs.AI
Low-resourced data presents a significant challenge for neural machine translation. In most cases, the low-resourced environment is caused by high costs due to the need for domain experts or the lack of language experts. Therefore, identifying the most training-efficient data within an unsupervised setting emerges as a practical strategy. Recent research suggests that such effective data can be identified by selecting 'appropriately complex data' based on its volume, providing strong intuition for unsupervised data selection. However, we have discovered that establishing criteria for unsupervised data selection remains a challenge, as the 'appropriate level of difficulty' may vary depending on the data domain. We introduce a novel unsupervised data selection method named 'Capturing Perplexing Named Entities,' which leverages the maximum inference entropy in translated named entities as a metric for selection. When tested with the 'Korean-English Parallel Corpus of Specialized Domains,' our method served as robust guidance for identifying training-efficient data across different domains, in contrast to existing methods.
[ -0.4228155314922333, -0.3259343206882477, 0.5866459608078003, 0.2249748557806015, -0.5667111873626709, 0.2169463038444519, -0.46826890110969543, -0.04911847040057182, 0.054099515080451965, 0.5668179988861084, -0.6029289960861206, -0.7293155789375305, -0.7530393004417419, 0.3075725734233856, -0.3866378962993622, 0.9671602249145508, -0.2081102579832077, 0.08441042900085449, -0.44385990500450134, -0.17111985385417938, -0.22904156148433685, -0.6539632081985474, -0.5066202282905579, -0.4749055802822113, 0.4838492274284363, 0.470839262008667, 0.5849095582962036, 0.7701178193092346, 0.5850667357444763, 0.22462709248065948, -0.20135299861431122, 0.582454264163971, -0.36648061871528625, 0.35300374031066895, -0.13664036989212036, -0.5210422873497009, -0.254160076379776, -0.14824119210243225, 0.3683128356933594, 1.0898194313049316, 0.05631987005472183, 0.17482908070087433, 0.0829366147518158, 0.5857062339782715, -0.6152750253677368, 0.13728190958499908, -0.8855584859848022, 0.45040732622146606, -0.511518120765686, -0.336686372756958, -0.3535817861557007, 0.24210608005523682, 0.13278985023498535, -0.8080733418464661, 0.23837919533252716, 0.15101754665374756, 0.6744919419288635, 0.7024012804031372, -0.41526633501052856, 0.03560703992843628, -0.6357711553573608, 0.8817339539527893, -0.2869669497013092, 0.41793933510780334, 0.4814704358577728, 0.2493007332086563, -0.24385033547878265, -0.5955842733383179, -0.2577774226665497, 0.21122623980045319, 0.15171034634113312, 0.08179263770580292, -0.35809454321861267, -0.1985940784215927, 0.32378169894218445, 0.06808318942785263, -0.4360654056072235, 0.250433087348938, -0.13534776866436005, -0.3817896842956543, 0.5952807664871216, 0.09469529986381531, 0.2307068258523941, -0.08204840123653412, -0.3772009313106537, -0.09094054996967316, -0.5630872845649719, -0.2283058613538742, 0.42249900102615356, 0.4488341510295868, 0.21187196671962738, 0.6774910688400269, -0.43314430117607117, 0.3898455798625946, 0.10312558710575104, -0.05499536171555519, 0.4078115224838257, 0.009140080772340298, -0.2381838858127594, 0.20645223557949066, 0.7229203581809998, 0.2143140584230423, 0.2562560439109802, -0.7131761908531189, -0.4869624078273773, -0.16275888681411743, 0.32358455657958984, -0.7278932332992554, -0.5352169275283813, 0.16874538362026215, -0.33647391200065613, -0.2555237412452698, -0.12160704284906387, -0.9031268358230591, -0.34794187545776367, -0.1915723979473114, -0.11596254259347916, -0.18090015649795532, -0.22900088131427765, -0.10222404450178146, -0.16698041558265686, -0.2694515287876129, 0.30109715461730957, -0.7610411047935486, 0.0312986858189106, 0.31935760378837585, 0.6965486407279968, -0.6723285913467407, -0.2581542432308197, -0.4242599308490753, 0.1488463431596756, -0.4655463695526123, 0.829351007938385, -0.7554311156272888, -0.16345186531543732, -0.23036369681358337, -0.08612427115440369, -0.09010728448629379, -0.7301144599914551, 0.5960793495178223, -0.6290672421455383, -0.1552584022283554, -0.1653408706188202, -0.5275301933288574, -0.20161794126033783, 0.024560315534472466, -0.6118746399879456, 0.7546443343162537, 0.2860562801361084, -0.9564439654350281, 0.6472560167312622, -0.3780759274959564, -0.334339439868927, 0.18928076326847076, -0.21125276386737823, -0.5630148649215698, 0.1617153435945511, 0.48182496428489685, 0.6889262199401855, -0.43864259123802185, 0.2539094388484955, -0.28770262002944946, 0.14690572023391724, 0.2695114314556122, -0.5608218312263489, 0.7023066878318787, 0.5667539834976196, -0.1693883240222931, -0.09074835479259491, -0.7920566201210022, 0.19277071952819824, 0.34943056106567383, -0.37037041783332825, -0.6668362021446228, -0.16223371028900146, -0.040870435535907745, -0.1954585164785385, 0.12550514936447144, -0.24686169624328613, 0.19826626777648926, 0.11818113923072815, 0.3585548400878906, 0.4137941002845764, 0.019855454564094543, 0.6627324819564819, 0.17748916149139404, 0.7287049293518066, 0.29518523812294006, -0.19747640192508698, 0.17115017771720886, -0.44249647855758667, -0.4763302505016327, -0.38963451981544495, 0.7600837349891663, 0.7436818480491638, -1.0161166191101074, 0.38113144040107727, -0.18343570828437805, -0.38823142647743225, -0.7429794669151306, 0.383487343788147, 0.4528801441192627, 0.5394721031188965, 0.6028717160224915, -0.21572762727737427, -0.5321514010429382, -0.8558338284492493, -0.19279636442661285, 0.2920711934566498, -0.17971333861351013, 0.42597833275794983, 0.336317241191864, -0.41121241450309753, 0.40272441506385803, -0.6331045031547546, -0.07520847767591476, -0.21651369333267212, 0.1855054348707199, 0.12321469932794571, 0.5299825072288513, 0.33323654532432556, -1.0526211261749268, -0.48707717657089233, 0.13314411044120789, -0.8138164281845093, -0.23431238532066345, -0.39328062534332275, -0.5162531137466431, -0.16618694365024567, 0.5163810849189758, -0.862060010433197, 0.3028496503829956, 0.2360062450170517, -0.06876370310783386, 0.23628684878349304, -0.1882224977016449, -0.059984125196933746, -0.9766053557395935, 0.14408650994300842, 0.02590981498360634, -0.3534510135650635, -0.4899842441082001, -0.052037499845027924, 0.27240538597106934, 0.12464604526758194, -0.29491546750068665, 0.19441033899784088, -0.7780737280845642, 0.12103008478879929, 0.08615800738334656, 0.03788040205836296, -0.3093341886997223, 0.4766593873500824, 0.1473499834537506, 0.5973045229911804, 0.7792356014251709, -0.6632271409034729, 0.570405900478363, 0.4485376179218292, -0.4583643078804016, 0.5799571871757507, -0.18265984952449799, 0.25836116075515747, -0.07484667748212814, -0.1573289930820465, -0.5141725540161133, -0.4280347228050232, 0.0776473805308342, -0.48566702008247375, 0.5586510896682739, -0.4513791501522064, -0.4360060393810272, -0.1510811448097229, 0.20917287468910217, 0.6430372595787048, 0.3103991150856018, -0.5516233444213867, 0.20640714466571808, 0.7202490568161011, -0.04891585186123848, -0.6304090619087219, -0.9463589191436768, 0.22974735498428345, -0.5867179036140442, -0.15303905308246613, 0.46194663643836975, 0.05055812746286392, 0.007943945936858654, -0.018678002059459686, -0.5143473744392395, -0.32899925112724304, 0.2896643579006195, 0.02978322096168995, 0.20183289051055908, -0.25202110409736633, -0.1618906706571579, 0.37373363971710205, -0.31113937497138977, 0.1594357043504715, -0.3704189360141754, 0.2519167363643646, 0.2081521600484848, -0.17576879262924194, -0.3699329197406769, 0.3839009404182434, 0.5881880521774292, -0.2864547073841095, 0.4580719769001007, 0.5725274682044983, -0.5496225357055664, -0.5471700429916382, -0.17114783823490143, -0.021028032526373863, -0.37710627913475037, 0.4845398962497711, -0.5127727389335632, -0.43406224250793457, 0.5669035911560059, -0.46505776047706604, -0.40602990984916687, 0.32210513949394226, 0.36503535509109497, 0.09095021337270737, 1.295856237411499, 0.576895534992218, -0.15975870192050934, 0.12771126627922058, -0.29135769605636597, 0.337654173374176, -0.9246105551719666, -0.5397554636001587, -0.5270195007324219, -0.3316183090209961, -0.4538929760456085, -0.3108021318912506, 0.2476477324962616, 0.22714734077453613, -0.010951744392514229, 0.4476521611213684, -0.6791602373123169, 0.5584874153137207, 0.5752778649330139, -0.1074889525771141, 0.2529206871986389, 0.25182658433914185, -0.32595789432525635, -0.13900741934776306, -0.744288444519043, -0.4381290376186371, 1.141251802444458, 0.0972067266702652, 0.6618901491165161, -0.03621593117713928, 0.565628170967102, 0.0914284810423851, -0.1292942762374878, -0.7920281291007996, 0.4579627811908722, -0.2816406786441803, -0.3154197037220001, -0.31597596406936646, -0.7349017262458801, -1.3008449077606201, 0.21920855343341827, -0.3181726038455963, -0.6690219044685364, 0.18308722972869873, -0.012779389508068562, -0.39646098017692566, 0.4207848608493805, -0.526820182800293, 0.9026424884796143, -0.2628090977668762, 0.25406619906425476, 0.12440691143274307, -0.6115654706954956, 0.05799095705151558, -0.4642788767814636, -0.26319265365600586, -0.06861893832683563, -0.24786406755447388, 0.6698974370956421, -0.19882303476333618, 0.5229290723800659, -0.20406046509742737, 0.1519450843334198, 0.12314945459365845, 0.21487969160079956, 0.423278272151947, 0.14420846104621887, 0.01335197128355503, 0.3323758542537689, -0.2101553976535797, -0.4042167067527771, -0.6149882078170776, 0.703145444393158, -0.6502726078033447, -0.31893908977508545, -0.14816419780254364, -0.7128981947898865, -0.44713398814201355, 0.41372615098953247, 0.6368723511695862, -0.026875799521803856, 0.11916786432266235, 0.538607656955719, 0.9877513647079468, -0.0448739118874073, 0.15182022750377655, 0.38534480333328247, 0.17863813042640686, -0.3692582845687866, 1.0343828201293945, 0.22920900583267212, -0.18197713792324066, 0.6271822452545166, -0.07307172566652298, -0.2637030780315399, -1.001421332359314, -0.7857356071472168, -0.08473058044910431, -0.5462765693664551, -0.6320013999938965, -0.7470397353172302, -0.12304937839508057, -0.16796809434890747, 0.04525381326675415, -0.5900548696517944, -0.4625250995159149, -0.500156581401825, -0.22603701055049896, 0.055266108363866806, 0.2837682068347931, 0.23255716264247894, 0.03923141956329346, -0.6726706624031067, 0.27915361523628235, 0.12198010832071304, 0.070462666451931, -0.2709869146347046, -0.47761258482933044, -0.13706792891025543, -0.008658291772007942, -0.05140037462115288, -0.9132431149482727, 0.5592398643493652, 0.07892173528671265, 0.9114751815795898, 0.39169323444366455, 0.3985912501811981, 0.6885573863983154, -0.4082362949848175, 0.51786208152771, 0.11622032523155212, -0.652205765247345, 0.6375012397766113, -0.09698540717363358, 0.18614055216312408, 0.5126383900642395, 0.7072153091430664, -0.3060850203037262, -0.45241430401802063, -0.6099632382392883, -1.2234901189804077, 0.6088054776191711, 0.3349247872829437, 0.1285562813282013, 0.12219306081533432, 0.41799306869506836, 0.3093208372592926, 0.4629547894001007, -0.29035791754722595, -0.39496126770973206, -0.2069849967956543, -0.19020304083824158, 0.08140184730291367, 0.15830174088478088, -0.08445937186479568, -0.21601344645023346, 0.5418340563774109, -0.11142606288194656, 0.22768811881542206, 0.2728259861469269, -0.27792614698410034, -0.15233443677425385, -0.0005594354006461799, 0.24525916576385498, 0.29550957679748535, 0.0808992013335228, 0.24162372946739197, 0.20235946774482727, -0.5211728811264038, -0.18886162340641022, 0.1405877023935318, -0.424802303314209, 0.12607578933238983, 0.28586986660957336, 0.9700341820716858, -0.0023289071395993233, -0.6333619952201843, 0.47096937894821167, 0.08117210865020752, -0.13733012974262238, -0.16082856059074402, 0.06845614314079285, -0.15084794163703918, 0.4542575180530548, 0.308959424495697, 0.42259639501571655, 0.16235937178134918, -0.14204443991184235, 0.1758250594139099, 0.42596933245658875, -0.266850084066391, -0.29538482427597046, 0.7899375557899475, 0.023137293756008148, -0.1538897603750229, 0.9935159087181091, -0.5124343037605286, -0.45878151059150696, 0.5192670226097107, 0.486379474401474, 0.9594058990478516, -0.18327875435352325, 0.1588517725467682, 0.11663826555013657, 0.21636727452278137, -0.3618510067462921, 0.12481047958135605, -0.19652554392814636, -0.7629378437995911, -0.16779565811157227, -0.42661765217781067, -0.24970930814743042, 0.38755303621292114, -0.9748877882957458, 0.03860948979854584, -0.19231514632701874, -0.2967495024204254, 0.24202923476696014, -0.049646392464637756, -0.9045938849449158, 0.21615153551101685, 0.3655836582183838, 0.9116522073745728, -0.7242820858955383, 0.9519457817077637, 0.9394863843917847, -0.3600926101207733, -0.7298018932342529, 0.1245390996336937, 0.1365591287612915, -0.7578720450401306, 0.48343896865844727, -0.21379384398460388, -0.017860041931271553, -0.029715778306126595, -0.6656893491744995, -0.8457370400428772, 1.0676754713058472, 0.7154173851013184, -0.3148474097251892, -0.015876561403274536, 0.04702834039926529, 0.5434190630912781, -0.5899572968482971, -0.1572033315896988, 0.61307293176651, 0.43469059467315674, 0.10346230864524841, -0.7876413464546204, 0.11603482812643051, -0.47903183102607727, 0.02064460888504982, 0.20968188345432281, -0.48346805572509766, 0.4973912239074707, -0.36291253566741943, -0.27568402886390686, -0.030276117846369743, 0.7187199592590332, -0.10619737207889557, 0.47219550609588623, 0.597301185131073, 0.4885067343711853, 1.3004629611968994, 0.02157154493033886, 0.8037576079368591, -0.23778700828552246, 0.2487446665763855, 0.9470562934875488, 0.005976541433483362, 0.8085428476333618, 0.602618932723999, -0.04852988198399544, 0.044679906219244, 0.8570176959037781, -0.27756965160369873, 0.9990456104278564, 0.22733670473098755, -0.10767129063606262, -0.5980828404426575, -0.2599118947982788, -0.10009977221488953, 0.6439142227172852, 0.4457966685295105, -0.28219738602638245, -0.1125769093632698, 0.02111007645726204, 0.12904945015907288, -0.08458294719457626, -0.25056958198547363, 0.6581411957740784, 0.18109937012195587, -0.7668938636779785, 0.8183481693267822, -0.06283053755760193, 0.41723671555519104, -0.3245701789855957, 0.10793381929397583, -0.3229537010192871, -0.015528630465269089, -0.3818618059158325, -0.762546956539154, 0.24917294085025787, 0.3762246072292328, -0.17993175983428955, -0.39290812611579895, 0.5036638975143433, -0.6646589040756226, -0.21755503118038177, 0.3077097237110138, 0.6191834807395935, 0.5920513868331909, -0.5016168355941772, -0.6859806776046753, -0.24033349752426147, 0.35366660356521606, -0.46004509925842285, 0.4182591140270233, 1.052563190460205, -0.16488195955753326, 0.723900318145752, 0.5011400580406189, 0.23835784196853638, -0.10042417049407959, 0.008868522942066193, 0.8695290684700012, -0.6371975541114807, -0.28246966004371643, -0.5157115459442139, 0.4253920614719391, -0.1937739998102188, -0.4572398066520691, 0.6108518242835999, 0.6376335024833679, 1.2332336902618408, -0.09060267359018326, 0.8213261961936951, 0.2733461260795593, 0.3156461715698242, -0.5912349224090576, 0.7248112559318542, -0.6407755017280579, 0.5006645321846008, -0.05084039270877838, -1.0647661685943604, -0.4867238998413086, 0.5970680713653564, -0.11147011816501617, -0.22015395760536194, 0.8617265224456787, 0.7708463668823242, -0.453678160905838, -0.16587303578853607, 0.39471814036369324, 0.18294209241867065, -0.12177971750497818, 0.5993527770042419, 0.531700074672699, -0.1624039113521576, 0.8282158970832825, -0.41392967104911804, -0.13980528712272644, -0.11738978326320648, -0.8157087564468384, -1.041911005973816, -0.6669070720672607, -0.5820413827896118, -0.10694419592618942, -0.19418634474277496, 0.99127596616745, 0.7937085628509521, -1.0241985321044922, 0.2687602937221527, 0.0236377976834774, 0.18559439480304718, -0.3851429224014282, -0.10684403032064438, 0.39222148060798645, -0.4405564069747925, -0.9145192503929138, 0.7168776988983154, 0.17872832715511322, 0.1255827695131302, 0.007167200557887554, -0.01430340576916933, 0.3479319214820862, -0.04590190574526787, 0.3474701941013336, 0.23383569717407227, -0.5467702150344849, 0.17150789499282837, -0.058450810611248016, -0.2455338090658188, -0.009562492370605469, 0.8225674033164978, -0.43263670802116394, 0.4257920980453491, 0.3961477279663086, 1.1590900421142578, 0.47850745916366577, -0.1355813592672348, 0.43051838874816895, -0.845075786113739, 0.08161941170692444, 0.38458794355392456, 0.3458353877067566, 0.49391427636146545, -0.6895884275436401, 0.5615350008010864, 0.3775333762168884, -0.4920955300331116, -1.0759751796722412, 0.007675871253013611, -0.9540182948112488, -0.3066049814224243, 1.2140476703643799, -0.4165571630001068, -0.24692006409168243, -0.32629749178886414, -0.027244988828897476, 0.3617384433746338, -0.451154500246048, 0.8436922430992126, 0.5735388994216919, -0.11050624400377274, 0.05994722247123718, -0.8315885663032532, 0.7130210399627686, 0.6155295372009277, -0.5965530276298523, 0.05360065773129463, 0.1908443123102188, 0.10898305475711823, 0.13727588951587677, 0.1466929167509079, 0.035407133400440216, -0.09416519105434418, 0.0917256698012352, -0.244005024433136, -0.01417478360235691, -0.6193609833717346, -0.10720301419496536, 0.06929588317871094, -0.12722797691822052, -0.33079633116722107 ]
http://arxiv.org/abs/2402.19255v2
http://arxiv.org/pdf/2402.19255v2
GSM-Plus: A Comprehensive Benchmark for Evaluating the Robustness of LLMs as Mathematical Problem Solvers
2024-02-29T15:26:14
2024-07-02T03:46:03
Qintong Li, Leyang Cui, Xueliang Zhao, Lingpeng Kong, Wei Bi
cs.CL
cs.CL
Large language models (LLMs) have achieved impressive performance across various mathematical reasoning benchmarks. However, there are increasing debates regarding whether these models truly understand and apply mathematical knowledge or merely rely on shortcuts for mathematical reasoning. One essential and frequently occurring evidence is that when the math questions are slightly changed, LLMs can behave incorrectly. This motivates us to evaluate the robustness of LLMs' math reasoning capability by testing a wide range of question variations. We introduce the adversarial grade school math (GSM-Plus) dataset, an extension of GSM8K augmented with various mathematical perturbations. Our experiments on 25 LLMs and 4 prompting techniques show that while LLMs exhibit different levels of math reasoning abilities, their performances are far from robust. In particular, even for problems that have been solved in GSM8K, LLMs can make mistakes when new statements are added or the question targets are altered. We also explore whether more robust performance can be achieved by composing existing prompting methods, in which we try an iterative method that generates and verifies each intermediate thought based on its reasoning goal and calculation result.
[ -0.49427130818367004, -0.9565897583961487, 0.6864532232284546, 0.25562986731529236, 0.00891659315675497, 0.14195874333381653, -0.202154278755188, -0.05591735243797302, -0.4127488136291504, 0.21040117740631104, -0.6336033344268799, -0.48430246114730835, -0.7996364831924438, 0.20940139889717102, -0.1615930199623108, 0.7381482720375061, -0.15754161775112152, 0.34891343116760254, -0.45192861557006836, -0.10095035284757614, -0.4301329553127289, -0.7469050884246826, -0.7464327216148376, -0.5145789980888367, 0.41750749945640564, 0.1755836009979248, 0.8758253455162048, 0.4274923503398895, 0.5806501507759094, 0.26964235305786133, -0.3636782765388489, 0.3160489499568939, -0.26301804184913635, 0.3149954676628113, -0.03299851343035698, -0.8933995962142944, -0.5219902396202087, -0.034499552100896835, 0.48407596349716187, 0.6977620124816895, -0.23135808110237122, 0.2574363648891449, 0.0467524416744709, 0.5201839208602905, -0.6017448902130127, 0.07082467526197433, -1.0390945672988892, -0.14056779444217682, -0.2193942666053772, -0.09060579538345337, -0.348441481590271, -0.6393328905105591, -0.18663978576660156, -0.49034327268600464, 0.03953337296843529, -0.3778710663318634, 0.6672936081886292, 0.39558354020118713, -0.26720738410949707, -0.6556513905525208, -0.46063557267189026, 0.8642557859420776, -0.5504728555679321, 0.22140491008758545, 0.5300246477127075, 0.5140622854232788, -0.3221542537212372, -0.30398881435394287, -0.24312804639339447, -0.31773021817207336, 0.30991441011428833, 0.15346209704875946, -0.07303661108016968, -0.3056778609752655, 0.789496123790741, 0.18018776178359985, -0.5819568037986755, -0.2554050385951996, -0.15262971818447113, -0.23594781756401062, 0.4147127568721771, 0.5239548683166504, 0.28480398654937744, 0.06346213072538376, -0.16228316724300385, -0.19727753102779388, -1.1167843341827393, 0.430045485496521, 0.5627850294113159, 0.13674131035804749, 0.19485852122306824, 0.5165311694145203, 0.10639156401157379, 0.695741593837738, -0.28010305762290955, -0.24161124229431152, -0.08781696110963821, -0.21648745238780975, -0.03638768568634987, -0.23987019062042236, 0.4581730365753174, 0.12500186264514923, 0.4807952642440796, 0.14788125455379486, -0.29855746030807495, 0.5333864092826843, 0.10392394661903381, -0.7009034156799316, -0.23414652049541473, 0.03691030293703079, -0.0316564217209816, -0.16564086079597473, -0.16098421812057495, -0.5671656727790833, -0.35709571838378906, -0.304837703704834, 0.43836626410484314, -0.4272618293762207, 0.06856098026037216, 0.4353804290294647, 0.12026241421699524, 0.02850520797073841, 0.468903511762619, -0.686826765537262, 0.29312822222709656, 0.879921019077301, 0.568953275680542, -0.03263005614280701, -0.3647596836090088, -0.6233457922935486, -0.18316107988357544, -0.5165995955467224, 0.8415353298187256, -0.589223325252533, -0.5610568523406982, -0.07215524464845657, -0.2355503886938095, -0.2756052017211914, -0.8064817190170288, 0.9766932129859924, -0.6143836975097656, 0.126429945230484, -0.5513296127319336, -0.4624936282634735, -0.06670064479112625, 0.7863627076148987, -0.3012069761753082, 1.0017317533493042, -0.035328175872564316, -0.4524219334125519, 0.13947804272174835, -0.42084044218063354, -0.3349209427833557, -0.18065330386161804, -0.22585347294807434, -0.6569492816925049, 0.03778683394193649, 0.5327377319335938, 0.17185978591442108, -0.42841848731040955, 0.3429279029369354, -0.6286159753799438, -0.38871002197265625, 0.7045974731445312, -0.7626417875289917, 1.0165088176727295, 0.18126195669174194, 0.01017707958817482, -0.037833813577890396, -0.8265911936759949, 0.2668783664703369, 0.3196866810321808, -0.28264060616493225, -0.16850636899471283, -0.06602529436349869, -0.6599646806716919, 0.1376662701368332, 0.2483036071062088, -0.15170301496982574, 0.2773451507091522, -0.06801412254571915, 0.4217655658721924, 0.7980829477310181, -0.18297187983989716, 0.11850393563508987, -0.7165822386741638, 0.6681247353553772, -0.21188126504421234, 0.17499859631061554, -0.4901562035083771, -0.6652357578277588, -0.5617790222167969, -0.1570308804512024, 0.15083199739456177, 0.7157615423202515, -0.6569478511810303, 0.04506579041481018, -0.04348718747496605, -0.35932692885398865, -0.16566433012485504, 0.2632445693016052, 0.3735567033290863, 0.5257728099822998, 0.2523583471775055, 0.21091127395629883, -0.41407573223114014, -0.4594305753707886, -0.5538173317909241, 0.006121817044913769, -0.1504436582326889, 0.38005703687667847, 0.3701001703739166, 0.01229875348508358, 0.39696845412254333, -0.5004600882530212, 0.19544976949691772, -0.04205629974603653, -0.013750649988651276, 0.2827429175376892, 0.07874861359596252, 0.29154181480407715, -0.47280701994895935, -0.3307613730430603, -0.42931488156318665, -0.8611564636230469, -0.34201884269714355, -0.006199374329298735, 0.030423371121287346, -0.26559704542160034, 0.2909335196018219, -0.6923438310623169, 0.2053949385881424, 0.4910065233707428, -0.24978084862232208, 0.7677968144416809, -0.1125999465584755, 0.03190752863883972, -0.8685402870178223, -0.30832600593566895, 0.06493458896875381, 0.06630195677280426, -0.4507981836795807, 0.09699700772762299, 0.2562737464904785, -0.3229258954524994, -0.14273780584335327, 0.28131163120269775, -0.40627387166023254, -0.07587961852550507, -0.2253182977437973, 0.0418546199798584, 0.1034717932343483, 0.2030264288187027, -0.40423861145973206, 1.0790314674377441, 0.7631896734237671, -0.6839425563812256, 0.5241917371749878, 0.049159303307533264, -0.4043799042701721, 0.5474310517311096, -0.7272564768791199, 0.2213159054517746, -0.016025027260184288, 0.12171801924705505, -1.0596423149108887, -0.23124779760837555, 0.03648800402879715, -0.5461074113845825, 0.10128028690814972, -0.22920231521129608, -0.5047801733016968, -0.3776550889015198, -0.45726191997528076, 0.34771689772605896, 0.44290798902511597, -0.5984740853309631, 0.5076103210449219, 0.0619773231446743, -0.29972442984580994, -0.45645344257354736, -0.3554680347442627, 0.24361050128936768, -0.4289845824241638, -0.9048019647598267, -0.06221235916018486, -0.2823130488395691, -0.4837137758731842, -0.1544199287891388, -0.12496108561754227, 0.01588696427643299, 0.46861112117767334, 0.1345241367816925, 0.6191801428794861, -0.3134804964065552, -0.14620882272720337, -0.04351990297436714, -0.37731364369392395, 0.46459004282951355, -0.05892972648143768, 0.45580124855041504, -0.2775409519672394, -0.7827582955360413, -0.05184309184551239, 0.19762973487377167, 0.5991414785385132, -0.22293907403945923, 0.3356858491897583, 0.2414269894361496, -0.44049015641212463, -0.21477100253105164, -0.3779342472553253, -0.15734004974365234, -0.4901525676250458, 0.034104831516742706, -0.7793252468109131, -0.8403431177139282, 0.8525753021240234, -0.2958255410194397, -0.007639326620846987, 0.14317676424980164, 0.6166572570800781, 0.1824888288974762, 1.4481922388076782, -0.01427095104008913, 0.11649877578020096, 0.21022310853004456, -0.024413879960775375, -0.07792877405881882, -0.7103481888771057, -0.16651806235313416, -0.6186531782150269, -0.002498013200238347, -0.3057183623313904, -0.26952946186065674, 0.48422661423683167, 0.3155006468296051, -0.31571003794670105, 0.2446061670780182, -0.37971940636634827, 0.6433057188987732, 0.284393846988678, -0.1276264488697052, 0.2694789171218872, 0.020714374259114265, -0.28211233019828796, -0.261544406414032, -0.601651668548584, -0.6804304122924805, 1.219166874885559, 0.17284557223320007, 1.0652202367782593, 0.3678165674209595, 0.31901004910469055, -0.24842819571495056, 0.6212356090545654, -0.7229927778244019, 0.5546756386756897, 0.034630533307790756, -0.6277679800987244, -0.03284021466970444, -0.6630939245223999, -0.8547400832176208, 0.3129085600376129, -0.04724712669849396, -0.7365766167640686, -0.14647670090198517, 0.04417485371232033, -0.4725634455680847, 0.18426093459129333, -0.6634371876716614, 0.5275894403457642, -0.3701123297214508, -0.33166784048080444, 0.25545069575309753, -0.18724225461483002, 0.45208531618118286, -0.018244929611682892, 0.30714151263237, -0.2868792712688446, -0.12302824854850769, 0.23420700430870056, -0.242543563246727, 0.598962128162384, 0.045589350163936615, -0.44674205780029297, 0.4419555962085724, 0.39711520075798035, 0.7548708915710449, 0.3894208073616028, -0.2626441717147827, -0.0159350223839283, -0.19525335729122162, -0.4118240773677826, -0.9211933612823486, 0.8375884294509888, -0.6958691477775574, -0.8770177960395813, -0.331091046333313, -0.6517620086669922, -0.5995976328849792, -0.019101014360785484, 0.2831920385360718, 0.7134695053100586, 0.2948305606842041, 0.19750474393367767, 0.8484255075454712, -0.030767953023314476, 0.2646070122718811, 0.38785138726234436, -0.2561383843421936, -0.6896494030952454, 0.8933612108230591, 0.3186464011669159, 0.25162020325660706, 0.028853364288806915, 0.4487810730934143, -0.5583914518356323, -0.6896705627441406, -0.7206864953041077, -0.09914161264896393, -0.8497158885002136, -0.27712297439575195, -0.27642112970352173, -0.25325265526771545, -0.10631758719682693, -0.16768424212932587, -0.3074166178703308, -0.30077746510505676, -0.1773419976234436, 0.08760996162891388, 0.056260183453559875, 0.5158160924911499, 0.21228311955928802, -0.11188843101263046, -0.8108406066894531, 0.1339423954486847, 0.49135059118270874, 0.25632020831108093, -0.12497220188379288, -0.6744955778121948, 0.15199019014835358, -0.017093205824494362, -0.47339361906051636, -0.7503486275672913, -0.026022203266620636, -0.07914932817220688, 0.5869748592376709, 0.43607479333877563, -0.0429389551281929, 0.6841681599617004, -0.39254438877105713, 0.7983496189117432, 0.06143391877412796, -0.8838427662849426, 0.38633209466934204, -0.5420570373535156, 0.4171060621738434, 0.21455566585063934, 0.27384841442108154, -0.055239398032426834, -0.28623566031455994, -0.562963604927063, -0.36307471990585327, 0.3047625422477722, 0.36440715193748474, 0.20477397739887238, 0.10231255739927292, 0.5201595425605774, 0.024833451956510544, -0.016114098951220512, -0.44422635436058044, -0.34828895330429077, -0.2285897433757782, -0.19203433394432068, -0.007176741026341915, -0.31823819875717163, -0.42525359988212585, -0.15868620574474335, 0.42594030499458313, -0.09673498570919037, -0.014661280438303947, -0.0398971252143383, 0.06831083446741104, -0.06516684591770172, 0.4789067208766937, 1.0887489318847656, 1.0636569261550903, 0.031276389956474304, 0.5223767161369324, 0.5445126295089722, -0.4330843389034271, 0.41784238815307617, 0.30493637919425964, -0.2663273215293884, -0.09405079483985901, 0.3103598356246948, 0.5171177983283997, -0.044838711619377136, -0.6091783046722412, 0.30147385597229004, -0.3165419101715088, -0.48330363631248474, -0.07105900347232819, 0.2694808840751648, 0.21708019077777863, 0.08284394443035126, 0.44001173973083496, 0.28326156735420227, -0.07795943319797516, -0.41792935132980347, 0.09497692435979843, 0.6287040114402771, -0.1054314449429512, -0.41270092129707336, 0.6165879964828491, -0.17309965193271637, -0.5043574571609497, 0.03577771037817001, -0.3972204029560089, -0.8394636511802673, 0.8046693205833435, 0.7860326170921326, 0.4864741265773773, -0.2494109719991684, -0.04292811453342438, 0.30329272150993347, 0.40424954891204834, -0.28939640522003174, 0.5366183519363403, 0.005437177140265703, -0.8275746703147888, -0.581025242805481, 0.0174789447337389, -0.6375612020492554, 0.43764567375183105, -0.6761970520019531, 0.14732931554317474, -0.6928955316543579, -0.38022205233573914, 0.013940560631453991, 0.10196349024772644, -0.3595123291015625, 0.21282213926315308, 0.050691697746515274, 0.7769961953163147, -0.4623721241950989, 0.5141748785972595, 1.064298152923584, 0.1923081874847412, -0.8985947966575623, -0.05416573956608772, 0.2175222486257553, -1.0263453722000122, 0.34082409739494324, 0.0767734944820404, -0.37437671422958374, -0.29301103949546814, -0.6202431321144104, -0.741677463054657, 0.8136408925056458, 0.6673622727394104, -0.4863097667694092, 0.39440450072288513, 0.159117192029953, 0.43960145115852356, -0.03306898474693298, 0.344842791557312, 0.2639654874801636, 0.2875840961933136, 0.4156571328639984, -0.6266351938247681, 0.08433657884597778, -0.29433852434158325, -0.12049349397420883, 0.4099048972129822, -0.5875856280326843, 1.1768832206726074, -0.3889082968235016, -0.08244971930980682, 0.09133464097976685, 0.2697068452835083, 0.6571372151374817, 0.682628870010376, 0.3732422888278961, 0.6422926187515259, 0.9431071877479553, -0.3585869371891022, 0.9306212067604065, -0.3435690104961395, 0.43474456667900085, 1.037512183189392, -0.3787755072116852, 0.5335968136787415, 0.1487848311662674, -0.4405384957790375, 0.04552450403571129, 0.6203432679176331, -0.009156223386526108, 0.20299053192138672, 0.47907358407974243, -0.5053413510322571, -0.6429883241653442, 0.17027531564235687, -0.6700281500816345, 0.11585013568401337, 0.6157235503196716, 0.04061617702245712, -0.439430296421051, -0.16601184010505676, 0.16475147008895874, 0.24225784838199615, -0.3423369228839874, 0.4769354462623596, 0.3260047733783722, -0.7684146165847778, 0.7890560030937195, -0.028591454029083252, 0.4354211688041687, -0.542111337184906, 0.12409702688455582, -0.31290286779403687, 0.3941349387168884, -0.09343242645263672, -0.9263529777526855, 0.35345369577407837, 0.18486598134040833, -0.023737024515867233, -0.04973520338535309, 0.8829047679901123, -0.21390458941459656, -0.6081461906433105, -0.06519176065921783, 0.6331700086593628, -0.020301321521401405, -0.13108733296394348, -0.9544521570205688, 0.26172152161598206, -0.11071478575468063, -0.11322025209665298, 0.4473813772201538, 0.6883382797241211, -0.06623650342226028, 1.0593438148498535, 0.908683180809021, 0.11731306463479996, 0.15788061916828156, 0.29273509979248047, 1.028541088104248, -0.5037441849708557, -0.17926433682441711, -1.2249784469604492, 0.149200901389122, 0.038118328899145126, -0.45131707191467285, 1.203850269317627, 0.44948136806488037, 0.7771188616752625, 0.22514961659908295, 0.7639558911323547, 0.6438474059104919, 0.4073314964771271, -0.6397892832756042, 0.3123900592327118, -0.3662905693054199, 0.6189138889312744, -0.04773415997624397, -0.8083773255348206, -0.5031172633171082, 0.6174654960632324, -0.6087563037872314, -0.00332463625818491, 0.515130877494812, 0.8013641834259033, 0.03811421990394592, 0.31254085898399353, 0.5246853232383728, -0.2713506817817688, 0.3889321982860565, 0.7180824279785156, 1.4350554943084717, -0.3502824306488037, 0.9720842242240906, 0.01749282516539097, -0.05446775257587433, -0.0052933646366000175, -0.8346042633056641, -1.137520432472229, 0.049760252237319946, -0.22323249280452728, -0.6577693223953247, 0.0502445213496685, 0.7511000037193298, 0.29862889647483826, -0.7578673958778381, -0.07967071980237961, -0.2035338431596756, 0.48895835876464844, -0.07381879538297653, -0.16681963205337524, 0.20446529984474182, -0.3955586552619934, -0.5207775831222534, 0.44956424832344055, 0.24096831679344177, 0.19628183543682098, -0.28355860710144043, 0.007922198623418808, 0.47105416655540466, 0.3542031943798065, 0.4994649291038513, 0.09036513417959213, -0.5211697220802307, -0.044203199446201324, 0.36519113183021545, -0.17760324478149414, 0.12351558357477188, 1.0812301635742188, -0.30149364471435547, 0.36227908730506897, 0.3433879017829895, 0.8312280774116516, 0.1417822241783142, 0.09883949905633926, 0.3501937687397003, -0.27516090869903564, -0.11754106730222702, 0.17301660776138306, 0.4240576922893524, 0.3878108859062195, -0.16448256373405457, 0.1676153689622879, 0.3462986946105957, -0.6071142554283142, -0.8939111828804016, 0.38344770669937134, -0.4700259268283844, -0.18737728893756866, 1.1687322854995728, -0.3903665542602539, -0.08951212465763092, -0.13007821142673492, -0.2405700534582138, -0.25892195105552673, -0.43144354224205017, 0.9095990061759949, 1.1255168914794922, -0.13883459568023682, -0.2175808697938919, -0.5550311207771301, 0.4072553813457489, 0.6001721024513245, -0.8415374755859375, -0.09971211105585098, 0.2431824803352356, 0.37875550985336304, 0.14941653609275818, 0.3360934257507324, -0.204621821641922, 0.29411089420318604, 0.21943388879299164, -0.6668854355812073, -0.3151056170463562, -0.2736431360244751, -0.3820841312408447, 0.46383485198020935, 0.13101322948932648, -0.009707613848149776 ]
http://arxiv.org/abs/2402.19248v2
http://arxiv.org/pdf/2402.19248v2
Let LLMs Take on the Latest Challenges! A Chinese Dynamic Question Answering Benchmark
2024-02-29T15:22:13
2024-03-02T04:37:37
Zhikun Xu, Yinghui Li, Ruixue Ding, Xinyu Wang, Boli Chen, Yong Jiang, Hai-Tao Zheng, Wenlian Lu, Pengjun Xie, Fei Huang
cs.CL
cs.CL
How to better evaluate the capabilities of Large Language Models (LLMs) is the focal point and hot topic in current LLMs research. Previous work has noted that due to the extremely high cost of iterative updates of LLMs, they are often unable to answer the latest dynamic questions well. To promote the improvement of Chinese LLMs' ability to answer dynamic questions, in this paper, we introduce CDQA, a Chinese Dynamic QA benchmark containing question-answer pairs related to the latest news on the Chinese Internet. We obtain high-quality data through a pipeline that combines humans and models, and carefully classify the samples according to the frequency of answer changes to facilitate a more fine-grained observation of LLMs' capabilities. We have also evaluated and analyzed mainstream and advanced Chinese LLMs on CDQA. Extensive experiments and valuable insights suggest that our proposed CDQA is challenging and worthy of more further study. We believe that the benchmark we provide will become one of the key data resources for improving LLMs' Chinese question-answering ability in the future.
[ -0.3413223624229431, -0.976830244064331, 0.5837312936782837, 0.08279572427272797, -0.2541528642177582, 0.6066796779632568, -0.24374938011169434, -0.49085482954978943, -0.216636523604393, 0.2915915548801422, -0.664108157157898, -0.34217461943626404, -0.38100555539131165, 0.17746464908123016, -0.5367746353149414, 0.4354868233203888, -0.26227620244026184, 0.04489870369434357, -0.2749214768409729, -0.25423160195350647, -0.3288135826587677, -0.39033305644989014, -0.7718787789344788, -0.007542530540376902, 0.7216888666152954, 0.30035272240638733, 0.8591026663780212, 0.5004936456680298, 0.6163820028305054, 0.3817913234233856, -0.428055077791214, 0.40288689732551575, -0.2826213240623474, 0.18952058255672455, 0.298649400472641, -0.5726914405822754, -0.5447170734405518, 0.02925203926861286, 0.8208589553833008, 0.6791408658027649, -0.3068847060203552, 0.2812441289424896, -0.053894974291324615, 0.5625982284545898, -0.3001290559768677, -0.19578179717063904, -0.8765037655830383, 0.056204959750175476, -0.2712087035179138, -0.17167875170707703, 0.04909157007932663, -0.7007396817207336, 0.16382379829883575, -0.602494478225708, 0.04811384901404381, -0.31957438588142395, 1.0198863744735718, 0.3198075592517853, -0.7356996536254883, -0.13505546748638153, -0.3590991795063019, 0.5551241040229797, -0.6477308869361877, 0.26607581973075867, -0.15738005936145782, 0.6671991348266602, -0.28345489501953125, -0.7673784494400024, -0.6054227948188782, -0.26827293634414673, 0.3404565751552582, -0.023859398439526558, 0.11212778836488724, -0.34446877241134644, 0.07845782488584518, 0.5803496241569519, -0.643487274646759, 0.19124256074428558, 0.03369054198265076, -0.04730956256389618, 0.7897856831550598, 0.5327476263046265, 0.38816267251968384, 0.13968832790851593, -0.4651482403278351, -0.12773920595645905, -0.6847410798072815, 0.33466246724128723, 0.09201809763908386, 0.01727643609046936, -0.18064028024673462, 0.13987676799297333, -0.47683337330818176, 0.4216533899307251, 0.07355803996324539, 0.03007691539824009, 0.30410346388816833, -0.3564436733722687, -0.12441843003034592, -0.20579271018505096, 0.4768226444721222, 0.23158174753189087, 0.0436771996319294, -0.05323020741343498, -0.30537712574005127, -0.35551658272743225, -0.11569055914878845, -0.7243925929069519, -0.23616011440753937, 0.6171214580535889, -0.39573606848716736, -0.2289699763059616, -0.04582836478948593, -0.5914891958236694, -0.7281610369682312, -0.10811507701873779, 0.3090830147266388, 0.034731507301330566, -0.4665759801864624, 0.1092531830072403, -0.06078101694583893, 0.5494691133499146, 0.8043104410171509, -0.34278008341789246, 0.17693987488746643, 0.6463875770568848, 0.56405109167099, -0.4615655541419983, -0.053208380937576294, -0.7615461349487305, -0.07688185572624207, -0.40943673253059387, 0.9434651136398315, -0.28837740421295166, -0.06435776501893997, 0.21842382848262787, 0.12400868535041809, 0.23630110919475555, -0.9459460973739624, 0.6112062335014343, -0.9175810813903809, -0.05045893043279648, -0.8730241656303406, -0.2983417809009552, 0.029975125566124916, 0.6061918139457703, -0.6815948486328125, 1.1478080749511719, -0.000489951460622251, -0.691390872001648, 0.09456346929073334, -0.4229268729686737, -0.08776422590017319, 0.34959930181503296, -0.11686645448207855, -0.21745483577251434, -0.13474474847316742, 0.23566408455371857, 0.1686314344406128, -0.6922788619995117, 0.3683115839958191, -0.2515242099761963, -0.48410844802856445, 0.7554807662963867, -0.6217572093009949, 0.8968778848648071, 0.27650728821754456, -0.13912062346935272, 0.02241123840212822, -0.8827452063560486, 0.23022721707820892, 0.3802974820137024, -0.6222980618476868, 0.03572334349155426, 0.1784602850675583, -0.2003578245639801, 0.3922490179538727, 0.5419753789901733, -0.449965238571167, 0.12418989092111588, -0.06742841750383377, 0.34333789348602295, 0.9001220464706421, -0.08696893602609634, 0.025604939088225365, -0.611785888671875, 0.6265547275543213, 0.01508679986000061, 0.18569599092006683, -0.11686450242996216, -0.36889734864234924, -0.758858859539032, 0.06941547989845276, 0.5123173594474792, 0.6684056520462036, -0.9122816324234009, 0.04040687531232834, -0.24163924157619476, -0.7827203273773193, -0.5949425101280212, 0.3645326495170593, 0.14665688574314117, 0.12726420164108276, 0.2945367097854614, -0.44897595047950745, -0.16253742575645447, -0.46929454803466797, -0.3672102093696594, -0.3424239754676819, -0.2271619290113449, 0.29706871509552, 0.12733489274978638, 0.14085595309734344, 0.331159383058548, -0.3978731632232666, 0.11653338372707367, -0.12994900345802307, 0.14454275369644165, 0.2474786788225174, 0.10756600648164749, 0.3511294722557068, -1.0756791830062866, -0.570344865322113, -0.1965719610452652, -0.670867919921875, -0.373002290725708, -0.12976834177970886, -0.1314368098974228, 0.0003270893939770758, 0.41287359595298767, -0.486075222492218, -0.1523977369070053, 0.6759703159332275, -0.1704142540693283, 0.5704994201660156, -0.07551991194486618, 0.15670093894004822, -0.6527769565582275, -0.18728524446487427, -0.21128490567207336, 0.056710075587034225, -0.5169951319694519, 0.3424137532711029, 0.20614461600780487, 0.07284317165613174, -0.6765816807746887, 0.6293613314628601, -0.5493126511573792, -0.1705239862203598, -0.2884328067302704, 0.6394501328468323, -0.23765303194522858, 0.31553950905799866, -0.21955154836177826, 0.7542579770088196, 0.46439579129219055, -0.6450002193450928, 0.9673686027526855, 0.197430819272995, -0.5650525689125061, 0.24803541600704193, -0.7516348958015442, 0.28149503469467163, 0.06524308025836945, 0.2976093292236328, -1.2078841924667358, 0.06113132834434509, -0.10520047694444656, -0.4561837315559387, 0.0011373815359547734, 0.3494777977466583, -0.7582710385322571, -0.45575782656669617, -0.45765241980552673, 0.4480460286140442, 0.5237270593643188, -0.6486091017723083, 0.3990042209625244, 0.34455785155296326, -0.12127092480659485, -0.5161744356155396, -0.5562533140182495, 0.29428791999816895, -0.1333821713924408, -0.7372834086418152, 0.43632209300994873, -0.5168374180793762, -0.22836080193519592, -0.076531782746315, -0.16968214511871338, -0.3089632987976074, 0.49828070402145386, -0.45879215002059937, 0.09210439771413803, -0.44150370359420776, 0.07701045274734497, -0.16129794716835022, 0.06976742297410965, 0.29650723934173584, 0.052942290902137756, 0.47694161534309387, 0.13804227113723755, -0.16901731491088867, -0.5671723484992981, -0.01596860960125923, 0.41892310976982117, -0.48860064148902893, 0.4072320759296417, 0.547783374786377, -0.26835930347442627, -0.24211156368255615, -0.6258909106254578, 0.01469445414841175, -0.636367678642273, 0.5394431352615356, -0.4232184588909149, -0.8019582033157349, 0.5932733416557312, -0.22245419025421143, 0.3131994903087616, 0.12027531117200851, 0.7919774055480957, -0.08267562091350555, 0.973745584487915, 0.2958969175815582, -0.03739636763930321, 0.23397953808307648, 0.15868552029132843, -0.1322871595621109, -0.6455431580543518, -0.25081995129585266, -0.5281358361244202, -0.34170275926589966, -0.777341902256012, -0.7138822078704834, 0.4637201428413391, -0.11936216056346893, -0.3434400260448456, 0.09270619601011276, -0.37568947672843933, 0.09176933020353317, 0.47121861577033997, 0.06113312765955925, 0.4285999536514282, -0.5022281408309937, -0.19185826182365417, 0.19820913672447205, -0.5102493166923523, -0.4270007014274597, 0.8803123235702515, 0.37695732712745667, 0.6495200991630554, 0.33922678232192993, 0.12288503348827362, 0.21525877714157104, 0.08406361937522888, -0.3195907473564148, 0.9568890929222107, -0.16953647136688232, -0.4479614198207855, -0.27398237586021423, -0.4017004072666168, -0.8145649433135986, 0.3527126610279083, -0.22869597375392914, -0.3690067529678345, -0.11556071788072586, -0.0007836880395188928, -0.2754553258419037, 0.436431884765625, -0.07156781852245331, 0.6684843897819519, -0.6512706875801086, -0.3929944634437561, -0.04221617802977562, -0.4509621262550354, 0.4091583490371704, -0.2333642989397049, 0.057151805609464645, -0.44424232840538025, -0.431621789932251, 0.5208143591880798, -0.2091309130191803, 0.4868878126144409, -0.16658708453178406, -0.6338900327682495, 0.33762916922569275, -0.08347992599010468, 0.516342282295227, 0.19195370376110077, -0.2718347907066345, -0.09121780097484589, 0.20910480618476868, -0.6783122420310974, -0.5856723785400391, 0.7312953472137451, -0.7424802184104919, -1.0754626989364624, -0.5348473787307739, -0.5977863669395447, -0.43629422783851624, -0.04286143556237221, -0.2823520302772522, 0.20284178853034973, -0.1608915776014328, 0.19360683858394623, 0.7128551006317139, -0.7036482691764832, 0.41218289732933044, 0.7761147618293762, -0.01363710593432188, -0.18245723843574524, 0.45560646057128906, 0.20321807265281677, 0.383061945438385, 0.6058828234672546, -0.03713662549853325, -0.21111010015010834, -0.8740401864051819, -0.523814857006073, 0.13745689392089844, -0.7022449970245361, -0.06872515380382538, -0.5940064787864685, -0.4467891454696655, -0.2150275856256485, 0.17710773646831512, -0.30230507254600525, -0.26353833079338074, 0.0972549095749855, 0.13764844834804535, 0.13667605817317963, 0.3127145767211914, 0.1960580050945282, -0.11692141741514206, -0.9710882306098938, 0.5086721181869507, 0.6221595406532288, 0.15372240543365479, 0.06657494604587555, -0.6181764602661133, -0.24943825602531433, 0.059056516736745834, -0.6215507984161377, -0.711763858795166, 0.12787780165672302, -0.10105002671480179, 0.7688446044921875, 0.20759320259094238, 0.5455790162086487, 0.6352359652519226, -0.3646394610404968, 1.1475151777267456, -0.35544353723526, -0.8168689608573914, 0.3423050343990326, -0.23790858685970306, 0.637222409248352, 0.31321340799331665, 0.23450398445129395, -0.8029441833496094, -0.6034210920333862, -0.20829768478870392, -0.6004548072814941, 0.4325476884841919, 0.12718136608600616, 0.46060168743133545, 0.22252659499645233, 0.5203502774238586, -0.09187749773263931, 0.28564563393592834, -0.6012297868728638, -0.39204204082489014, 0.28819894790649414, -0.0007675240049138665, 0.23846468329429626, -0.29739275574684143, 0.13861775398254395, -0.2791846990585327, 0.5100547075271606, -0.15797537565231323, 0.2737523913383484, -0.004101488273590803, 0.1766686588525772, -0.37525373697280884, 0.17053882777690887, 0.22293545305728912, 0.6524133086204529, -0.22372882068157196, 0.02951621636748314, 0.8319969177246094, -0.2575918436050415, 0.16811248660087585, 0.21330034732818604, -0.16416703164577484, -0.05089913308620453, 0.2865912914276123, 0.4598342180252075, -0.06272599846124649, -1.241985559463501, 0.5188313722610474, -0.3395928740501404, -0.2823755443096161, -0.5877735018730164, 0.21943315863609314, 0.25247469544410706, 0.38626405596733093, 0.6857550740242004, -0.44587787985801697, -0.10462259501218796, -0.766762912273407, 0.13167715072631836, 0.4985051155090332, -0.23995235562324524, -0.3319651484489441, 0.9470201730728149, 0.3766006529331207, -0.10559319704771042, 0.4636969566345215, -0.11712537705898285, -0.7668911218643188, 0.9377496242523193, 0.1576644629240036, 0.6797341108322144, -0.347416490316391, 0.22329223155975342, 0.31526464223861694, 0.15473587810993195, 0.14991654455661774, 0.5809266567230225, -0.0017546722665429115, -0.7925743460655212, -0.25989091396331787, -0.2297462671995163, -0.7909271717071533, 0.15471142530441284, -0.42900538444519043, 0.5898650884628296, -0.341734915971756, 0.16086320579051971, -0.1945503205060959, 0.6697841882705688, -0.45782598853111267, 0.4622877836227417, 0.37839677929878235, 1.1418513059616089, -0.261608749628067, 1.1708108186721802, 0.8254969120025635, -0.10972990840673447, -0.4941897690296173, 0.3038906753063202, 0.15167668461799622, -0.7207775115966797, 0.6614044904708862, 0.07072889804840088, 0.11983338743448257, -0.2817046344280243, -0.6258779168128967, -0.9806464314460754, 1.549816370010376, 0.3168199956417084, -0.3511274456977844, -0.15502500534057617, 0.3462556004524231, 0.5330379605293274, -0.10706821829080582, 0.3061373829841614, 0.39442911744117737, 0.6020253896713257, 0.12596215307712555, -0.855158269405365, 0.24903401732444763, -0.39615926146507263, -0.1610826700925827, -0.00842258706688881, -1.264237880706787, 1.18206787109375, -0.13170769810676575, -0.3843531012535095, 0.49810463190078735, 0.8318979740142822, 0.26729318499565125, 0.4521789848804474, 0.7313362956047058, 0.1416385918855667, 0.9199115633964539, -0.1954844743013382, 0.7688431739807129, -0.3593108654022217, 0.08149159699678421, 0.9214052557945251, -0.5149311423301697, 0.9218151569366455, 0.0010796556016430259, -0.33340543508529663, 0.5077513456344604, 0.8537836670875549, -0.1840135157108307, 0.382733553647995, 0.6163280606269836, -0.4137095808982849, -0.5348834991455078, -0.17186594009399414, -0.3301446735858917, 0.3634891211986542, 0.03665537387132645, 0.16786132752895355, -0.07720490545034409, -0.17897142469882965, 0.021178223192691803, 0.3833365738391876, -0.14182156324386597, 0.5806385278701782, -0.034569140523672104, -0.6581494808197021, 0.9334924817085266, 0.17511306703090668, 0.7204205393791199, -0.5031260251998901, 0.08317462354898453, -0.5304275155067444, 0.10910604894161224, 0.1236671581864357, -0.7211243510246277, -0.10676819086074829, 0.16140179336071014, 0.2572418451309204, 0.08092169463634491, 0.38945287466049194, -0.4999471604824066, -0.2227487862110138, 0.45438072085380554, 0.6109338402748108, -0.08839459717273712, 0.037838224321603775, -1.0625392198562622, 0.22189749777317047, -0.15747255086898804, -0.20749126374721527, 0.3927583694458008, 0.859288215637207, 0.05893653631210327, 1.0293136835098267, 0.43260708451271057, 0.16471420228481293, 0.22661924362182617, -0.22714288532733917, 1.1023997068405151, -0.799523651599884, -0.22864438593387604, -0.4284762144088745, 0.34193849563598633, -0.14687299728393555, -0.3505201041698456, 0.6342951655387878, 0.28983113169670105, 0.8416392207145691, 0.4224475622177124, 0.7287223935127258, 0.15759490430355072, 0.7070727348327637, -0.498979777097702, 0.6523224711418152, -1.034715175628662, 0.7010229229927063, -0.10938529670238495, -0.7491301894187927, -0.18898159265518188, -0.12631988525390625, 0.052481167018413544, 0.012754851020872593, 0.7083961963653564, 0.783894419670105, 0.3281395137310028, -0.021164601668715477, 0.3749324679374695, 0.3777637481689453, 0.5292635560035706, 1.107245683670044, 1.1398484706878662, -0.6588085293769836, 0.8974732756614685, -0.3704981505870819, -0.07637003064155579, 0.04245211184024811, -0.8516474962234497, -0.8118086457252502, -0.5176227688789368, -0.5883133411407471, -0.18320435285568237, 0.24512822926044464, 0.9403635859489441, 0.26293694972991943, -0.8378556966781616, -0.26169735193252563, 0.28348782658576965, 0.13421373069286346, -0.4437039792537689, -0.13851448893547058, 0.6076667308807373, -0.37995511293411255, -1.1364893913269043, 0.2028285264968872, -0.10075768083333969, -0.0863734632730484, -0.288634330034256, 0.020310919731855392, -0.3380926847457886, 0.3582521677017212, 0.3880557417869568, 0.10416460782289505, -0.709771990776062, -0.32395070791244507, 0.3652026951313019, -0.33734840154647827, 0.11703097820281982, 0.6376222372055054, -0.6807316541671753, 0.1529960334300995, 0.4786880314350128, 1.1681956052780151, 0.09245970100164413, 0.1198352798819542, 0.558475136756897, -0.31294336915016174, -0.16576801240444183, 0.07064925134181976, 0.10823795944452286, 0.41839778423309326, -0.15495005249977112, 0.40092870593070984, 0.15885907411575317, -0.6039639711380005, -0.8969159126281738, -0.03196908161044121, -1.0284446477890015, -0.45028024911880493, 1.21065092086792, -0.3215973973274231, 0.00034608173882588744, -0.2545420825481415, -0.15472500026226044, 0.3086092472076416, -0.12382109463214874, 0.8934382200241089, 0.7734123468399048, 0.1976703256368637, -0.5257471203804016, -0.6332369446754456, 0.4368281066417694, 0.6203259229660034, -0.9546329975128174, 0.24312572181224823, 0.20429296791553497, 0.08331070840358734, -0.3154963254928589, 0.5992652773857117, -0.21807287633419037, 0.5735817551612854, -0.192702054977417, -0.3342183530330658, 0.20048141479492188, 0.015276765450835228, -0.09693409502506256, 0.33196505904197693, 0.3716486394405365, -0.19926367700099945 ]
http://arxiv.org/abs/2402.19218v1
http://arxiv.org/pdf/2402.19218v1
Memory-Augmented Generative Adversarial Transformers
2024-02-29T14:47:24
2024-02-29T14:47:24
Stephan Raaijmakers, Roos Bakker, Anita Cremers, Roy de Kleijn, Tom Kouwenhoven, Tessa Verhoef
cs.CL
cs.CL
Conversational AI systems that rely on Large Language Models, like Transformers, have difficulty interweaving external data (like facts) with the language they generate. Vanilla Transformer architectures are not designed for answering factual questions with high accuracy. This paper investigates a possible route for addressing this problem. We propose to extend the standard Transformer architecture with an additional memory bank holding extra information (such as facts drawn from a knowledge base), and an extra attention layer for addressing this memory. We add this augmented memory to a Generative Adversarial Network-inspired Transformer architecture. This setup allows for implementing arbitrary felicity conditions on the generated language of the Transformer. We first demonstrate how this machinery can be deployed for handling factual questions in goal-oriented dialogues. Secondly, we demonstrate that our approach can be useful for applications like {\it style adaptation} as well: the adaptation of utterances according to certain stylistic (external) constraints, like social properties of human interlocutors in dialogues.
[ -0.470861554145813, -0.9325783848762512, 0.43620893359184265, 0.008415462449193, 0.1641252487897873, 0.20210792124271393, -0.3668275773525238, -0.25853386521339417, 0.3085712194442749, 0.38997799158096313, -0.35236355662345886, -0.06522314250469208, -0.5835476517677307, -0.2020144760608673, -0.47066912055015564, 1.1515183448791504, 0.12821926176548004, -0.07286065816879272, -0.26899996399879456, -0.3743336498737335, -0.5380591750144958, -0.6153997182846069, -0.8560398817062378, -0.14046849310398102, 0.2988995313644409, 0.25981405377388, 1.0617365837097168, 0.42523980140686035, 0.36511945724487305, 0.4502030611038208, 0.12044958025217056, 0.5077113509178162, -0.4313846230506897, 0.07522464543581009, -0.198289692401886, -0.6404136419296265, -0.30731549859046936, -0.1484990119934082, 0.40730199217796326, 0.4759824275970459, 0.09312427043914795, 0.09535542875528336, -0.09071847796440125, 0.5069164037704468, -0.5235388875007629, 0.5058827996253967, -0.6701860427856445, 0.17856308817863464, 0.30719754099845886, -0.38920915126800537, -0.4596216678619385, -0.2859172821044922, 0.2924460768699646, -0.674762487411499, 0.5113575458526611, 0.09217189252376556, 0.9702362418174744, 0.4695102870464325, -0.10149130970239639, -0.4588984251022339, -1.076736330986023, 0.40637505054473877, -0.13922537863254547, 0.23179006576538086, 0.1547779142856598, 0.4029281437397003, 0.1270657330751419, -0.6690579652786255, -0.7649736404418945, -0.22393962740898132, -0.4467056393623352, 0.319651335477829, -0.3564814329147339, -0.0006515511777251959, 0.24584951996803284, 0.37887078523635864, -0.34283241629600525, -0.4885716438293457, -0.4912051558494568, -0.03904034197330475, 0.4248028099536896, 0.12696009874343872, 0.32758828997612, 0.11277075856924057, -0.2717326879501343, -0.12213785946369171, -0.509882926940918, -0.17914418876171112, 0.4827670753002167, 0.17193110287189484, 0.05200585722923279, 0.5191063284873962, -0.06900279968976974, 0.5550022721290588, 0.5190786123275757, 0.3711697459220886, -0.028851652517914772, -0.20320174098014832, 0.06130295619368553, 0.16924534738063812, 0.5749358534812927, 0.24437277019023895, 0.26149025559425354, -0.4152499735355377, 0.05063096061348915, 0.06607190519571304, 0.8618454337120056, -0.7328433394432068, -0.6382274627685547, 0.07764111459255219, -0.003265336388722062, -0.1315457969903946, -0.07705865055322647, -0.6340707540512085, -0.34227514266967773, -0.34097397327423096, 0.7515620589256287, -0.6457508206367493, 0.026315491646528244, -0.17609356343746185, -0.2496436983346939, 0.3073732554912567, 0.2272343635559082, -0.9463524222373962, 0.35209932923316956, 0.5584424734115601, 0.5888303518295288, 0.026882385835051537, 0.002570114331319928, -0.4925568699836731, 0.15628370642662048, -0.3830416202545166, 0.6730576157569885, -0.48507159948349, -0.20417703688144684, -0.014272434636950493, -0.04789001867175102, -0.1952575296163559, -0.41967856884002686, 0.4985540211200714, -0.9023924469947815, 0.46336326003074646, -0.2943226099014282, -0.28088435530662537, -0.3700953722000122, 0.5111474990844727, -0.5850191712379456, 0.592625617980957, 0.12956778705120087, -0.5483371615409851, 0.028086649253964424, -0.7554934620857239, -0.6506179571151733, 0.12315114587545395, -0.30809107422828674, -0.41231685876846313, -0.0258370041847229, 0.264803022146225, 0.23974739015102386, -0.43008893728256226, 0.5758285522460938, 0.022980663925409317, -0.394932359457016, 0.5498352646827698, -0.854231595993042, 0.5015941858291626, 0.18398328125476837, -0.21117030084133148, 0.09998299926519394, -0.85782790184021, -0.20209652185440063, 0.11089425534009933, -0.4207351803779602, -0.030039936304092407, -0.020463867112994194, -0.208774596452713, -0.15759877860546112, 0.2700790464878082, -0.4864906370639801, 0.05982274189591408, -0.25644153356552124, 0.26348021626472473, 0.7557384371757507, -0.17253732681274414, 0.49226483702659607, -0.505936861038208, 0.30463212728500366, 0.08164505660533905, 0.10596015304327011, -0.05211253464221954, -0.36917343735694885, -1.5035465955734253, -0.08461301028728485, -0.043154872953891754, 0.6637445688247681, -1.0829010009765625, 0.45150259137153625, -0.4848332405090332, -0.17301450669765472, -0.7002832889556885, -0.029117552563548088, 0.4400627017021179, 0.7826583981513977, 0.5036158561706543, 0.09527209401130676, -0.6460644602775574, -0.9003374576568604, -0.006764295510947704, -0.37661033868789673, -0.04200339689850807, 0.6513745188713074, 0.15565353631973267, 0.04558352008461952, 0.8304422497749329, -0.673419177532196, 0.03438083454966545, -0.11784731596708298, 0.16911739110946655, 0.07745929807424545, 0.2834055721759796, 0.4430830478668213, -1.1075431108474731, -0.4238932132720947, -0.011419771239161491, -0.782605767250061, 0.3859056234359741, -0.3597120940685272, -0.08085191994905472, 0.003877402516081929, 0.3047609031200409, -1.0034246444702148, 0.20672765374183655, 0.4229017496109009, -0.08851712942123413, 0.34276115894317627, -0.26033908128738403, 0.3286867141723633, -1.1207325458526611, -0.02743690460920334, -0.13357089459896088, -0.008694196119904518, -0.8998166918754578, 0.008319766260683537, -0.2023405283689499, -0.3332902789115906, -0.24896103143692017, 0.3925521671772003, -0.19605708122253418, 0.03763673081994057, -0.3082835376262665, 0.007675168104469776, 0.27834922075271606, 0.8460242748260498, 0.20425266027450562, 1.0569661855697632, 0.5674023628234863, -0.8364625573158264, 0.8544384837150574, 0.6085498332977295, -0.2255154401063919, 0.8666283488273621, -0.6304082870483398, 0.37421831488609314, -0.3736593425273895, 0.11242251843214035, -0.9802306890487671, -0.12606632709503174, 0.3185482323169708, -0.5949933528900146, 0.48907309770584106, -0.3059000074863434, -0.13937702775001526, -0.15822665393352509, 0.009892592206597328, 0.2876471281051636, 0.5824519395828247, -0.8879480361938477, 0.9927238821983337, 0.1434854120016098, -0.1713505983352661, -0.4841729998588562, -0.612235963344574, 0.45227938890457153, -0.23768478631973267, -0.7521457076072693, 0.3475005328655243, -0.10978495329618454, -0.3374570906162262, 0.3179611265659332, 0.3018673360347748, -0.048777878284454346, -0.022388000041246414, 0.030640898272395134, 0.5022625923156738, -0.6130486130714417, 0.17180004715919495, -0.26838770508766174, -0.0025930304545909166, 0.07163973897695541, -0.4196905195713043, 0.49318987131118774, -0.31171920895576477, -0.3898507356643677, -0.23613649606704712, 0.3461008071899414, 0.5864187479019165, -0.03136514127254486, 0.9329009652137756, 0.6752200722694397, -0.10784199088811874, -0.04130566492676735, -0.5402694344520569, -0.06034183129668236, -0.5226219892501831, 0.39704224467277527, -0.6152294278144836, -0.69118332862854, 0.4681183695793152, 0.19264456629753113, -0.10217434167861938, 0.41047945618629456, 0.5972714424133301, -0.1946481615304947, 0.8473173379898071, 0.18258091807365417, 0.007283766288310289, 0.43859994411468506, -0.2961199879646301, 0.41634601354599, -0.9883605241775513, -0.05745553970336914, -0.1185402050614357, -0.41742122173309326, -0.4503622353076935, -0.5323588848114014, 0.4934680163860321, -0.3581670820713043, -0.169974222779274, 0.6512395739555359, -0.2647411525249481, 0.11854640394449234, 0.5222131013870239, 0.19203300774097443, 0.06856679171323776, -0.3019287884235382, 0.4075549840927124, 0.3465484082698822, -0.9125340580940247, -0.1801590919494629, 0.925155520439148, 0.10771546512842178, 0.7645044922828674, 0.11783281713724136, -0.037152841687202454, 0.18315352499485016, 0.40964755415916443, -0.8182820677757263, 0.4737371504306793, -0.2197256237268448, -0.6314704418182373, -0.1529093235731125, -0.37142491340637207, -0.5843973755836487, 0.07365395873785019, -0.09549477696418762, -0.5521087646484375, 0.24415922164916992, 0.32818660140037537, -0.6190293431282043, 0.28206977248191833, -0.9136762022972107, 0.5686032772064209, -0.20701654255390167, -0.25907522439956665, -0.08976694196462631, -0.627456784248352, 0.3077391982078552, 0.27463656663894653, -0.1620355099439621, 0.2942570447921753, 0.41849640011787415, 0.4606279134750366, -0.2875022888183594, 0.7855834364891052, -0.0846843346953392, -0.007367262151092291, 0.6136191487312317, -0.12465667724609375, 0.8050435781478882, 0.08555539697408676, 0.057172972708940506, -0.1641208827495575, -0.3599453866481781, -0.20729954540729523, -1.1235326528549194, 0.6381554007530212, -0.8688461184501648, -1.0761171579360962, -0.17507606744766235, -0.9802065491676331, -0.5509833693504333, -0.30249521136283875, 0.04230337217450142, 0.6701949834823608, -0.42896828055381775, 0.3757157325744629, 0.9316521286964417, -0.23795828223228455, 0.22808456420898438, 0.4946215748786926, 0.3674619197845459, -0.3327758014202118, 1.226554036140442, -0.1193288043141365, 0.49320563673973083, 0.7356488704681396, 0.20930778980255127, -0.3424212634563446, -0.35633614659309387, -0.8435531854629517, -0.12629035115242004, -0.81287682056427, -0.1032193973660469, -0.9255088567733765, -0.5869886875152588, -0.500334620475769, -0.05246492102742195, -0.42640310525894165, -0.5437113046646118, -0.5476353168487549, -0.1736719310283661, 0.7434578537940979, 0.3264312744140625, 0.20876263082027435, 0.302114874124527, -0.7638230323791504, 0.6480284929275513, 0.656672477722168, 0.14210644364356995, -0.2377156913280487, -0.8068089485168457, -0.22822360694408417, 0.11765940487384796, -0.13940711319446564, -0.41485634446144104, 0.14287309348583221, 0.2942636013031006, 0.28188544511795044, 0.4565189480781555, 0.05528716370463371, 0.7689745426177979, -0.7414451837539673, 0.5162612795829773, -0.09421263635158539, -0.5378826260566711, 0.24902625381946564, -0.1914253532886505, 0.0786648541688919, 0.42387717962265015, 0.2693517208099365, -0.504548966884613, -0.2417677789926529, -0.5925021767616272, -0.3357541859149933, 0.6422479748725891, 0.2534499764442444, 0.6460083723068237, -0.16157740354537964, 0.3613424003124237, -0.2389301359653473, 0.16716429591178894, -0.26186156272888184, -0.42362770438194275, -0.4919199049472809, -0.3398773670196533, -0.09945634752511978, -0.12544852495193481, -0.5225535035133362, -0.0647909939289093, 0.6547004580497742, -0.3913646340370178, 0.526787281036377, 0.006605532020330429, -0.16436630487442017, 0.13806067407131195, 0.3410814106464386, 0.4453775882720947, 0.3074413537979126, 0.09349140524864197, 0.30251437425613403, 0.29792481660842896, -0.31240952014923096, 0.14679379761219025, 0.2915302515029907, -0.4192112684249878, -0.18091025948524475, 0.01815466769039631, 1.149306058883667, -0.04982593655586243, -0.43021026253700256, 0.39524000883102417, -0.19431443512439728, 0.0634477362036705, -0.46036478877067566, 0.3206619620323181, 0.12596388161182404, 0.393728643655777, 0.2109837532043457, 0.5456334948539734, 0.14125408232212067, -0.885509729385376, 0.36736756563186646, 0.7165119647979736, -0.7615323662757874, -0.4391341209411621, 0.4948752522468567, 0.2824113368988037, -0.48472726345062256, 0.43047598004341125, -0.20883134007453918, -0.7530927658081055, 0.47603076696395874, 0.7094272375106812, 0.855189323425293, -0.06736931949853897, 0.22112229466438293, 0.1026502326130867, 0.24810940027236938, 0.31293126940727234, 0.0733942836523056, -0.18162061274051666, -1.0869258642196655, -0.3573308289051056, -0.4363998770713806, -0.39086058735847473, 0.029671326279640198, -0.5581813454627991, 0.19246049225330353, -0.5510712265968323, 0.15821245312690735, -0.16192680597305298, -0.36315247416496277, -0.7063461542129517, 0.5151248574256897, 0.09002777934074402, 0.48500531911849976, -0.5590649247169495, 0.6918176412582397, 0.44248437881469727, -0.318980872631073, -0.3720732033252716, -0.05071474611759186, -0.34685301780700684, -1.1288670301437378, 0.5883480906486511, -0.17478808760643005, -0.3406357169151306, -0.09856626391410828, -0.22737711668014526, -0.90141361951828, 0.8359586000442505, 0.3955276608467102, -0.16640721261501312, -0.0333591066300869, 0.10814666002988815, 0.5803773999214172, -0.18249768018722534, 0.2642359435558319, 0.5848801732063293, 0.3938275873661041, 0.5630610585212708, -0.3508242964744568, 0.045871470123529434, -0.5323402285575867, -0.11713799089193344, 0.08406100422143936, -0.942571222782135, 0.6964895725250244, -0.24403756856918335, -0.28394433856010437, 0.10112899541854858, 1.089465618133545, -0.18469436466693878, -0.046390388160943985, 0.5069315433502197, 0.5522770881652832, 0.5863245725631714, -0.12318161129951477, 1.1197543144226074, -0.4301857650279999, -0.004152074921876192, 1.2532377243041992, -0.2297569215297699, 0.25965774059295654, 0.19562159478664398, -0.13300693035125732, 0.43598660826683044, -0.03999759256839752, -0.03454716503620148, 0.3287065327167511, 0.01170495804399252, -0.5378465056419373, -0.022346144542098045, -0.3446595370769501, -0.13561569154262543, 0.5839021801948547, 0.5161346197128296, -0.29342126846313477, 0.17316065728664398, -0.0354367159307003, 0.0041852230206131935, 0.0324728898704052, 0.04317202791571617, 1.0008045434951782, -0.2868170738220215, -0.9460542798042297, 0.32028505206108093, -0.15794435143470764, 0.3781648576259613, -0.45383378863334656, -0.2961234152317047, -0.03616136685013771, 0.33072778582572937, 0.08708751201629639, -0.7086127996444702, 0.533350944519043, 0.011234012432396412, -0.18384940922260284, -0.22439658641815186, 0.6980270147323608, -0.6332095265388489, -0.6195393204689026, -0.14320051670074463, 0.14211414754390717, -0.10110754519701004, 0.05979663506150246, -0.3889853358268738, -0.14963126182556152, -0.24235433340072632, -0.19393563270568848, 0.17214486002922058, 0.4136919677257538, 0.2976253032684326, 0.6953960061073303, 0.5113245248794556, -0.17134104669094086, 0.06912782043218613, 0.11715740710496902, 1.0376906394958496, -0.32820194959640503, -0.3798058032989502, -0.6872800588607788, 0.3665403425693512, -0.10155826061964035, -0.16233915090560913, 0.8331003785133362, 0.5639156699180603, 0.5259515047073364, -0.03193499147891998, 0.9966029524803162, -0.21255560219287872, 0.1644783318042755, -0.5801536440849304, 0.5516694784164429, -0.14593900740146637, 0.05142752081155777, 0.11141973733901978, -0.6366565823554993, 0.10927577316761017, 0.4685874879360199, -0.26324403285980225, -0.04230504110455513, 0.509343683719635, 0.815362811088562, -0.1340634822845459, 0.3358328938484192, 0.3737090528011322, 0.2392028272151947, 0.45605942606925964, 0.6575729250907898, 1.0524511337280273, -0.5703249573707581, 0.8211996555328369, -0.15649640560150146, 0.010318269021809101, -0.04625597223639488, -0.425301730632782, -0.9116083979606628, -0.594093918800354, -0.44029510021209717, -0.41131994128227234, 0.2030232548713684, 0.663847029209137, 0.6200946569442749, -0.8949175477027893, 0.12159044295549393, -0.16955474019050598, 0.014513623900711536, -0.07725445926189423, -0.2656116783618927, 0.4300755262374878, -0.42895278334617615, -0.8603839874267578, 0.6059191823005676, 0.3570646345615387, 0.015675535425543785, -0.4957396984100342, 0.030124975368380547, -0.1310674250125885, 0.31782984733581543, 0.5713552236557007, 0.3375404477119446, -0.3790487051010132, -0.7884687781333923, 0.07500632107257843, 0.16264361143112183, 0.34793394804000854, 0.909924328327179, -0.6661312580108643, 0.61762535572052, 0.32480910420417786, 1.1253246068954468, 0.5691014528274536, 0.2340065985918045, 0.7626407742500305, -0.8472477793693542, 0.09969504177570343, 0.28865835070610046, 0.3169897794723511, 0.5176806449890137, -0.7163465023040771, -0.046608008444309235, 0.19592228531837463, -0.20002038776874542, -0.2023562490940094, 0.39671918749809265, -0.650947093963623, -0.02266795188188553, 1.036926031112671, -0.3091402053833008, -0.22306615114212036, -0.25933390855789185, -0.2979390025138855, 0.3344779312610626, -0.10424955934286118, 0.8604256510734558, 0.640052318572998, -0.20181965827941895, -0.22664327919483185, -0.23422913253307343, 0.4799913763999939, 0.3119906485080719, -0.8248104453086853, 0.09476888179779053, 0.4207582473754883, -0.03145619109272957, 0.6080906987190247, 0.45331689715385437, 0.09398020803928375, 0.2795175313949585, 0.15990497171878815, -0.2952447831630707, -0.06121407449245453, -0.7083262801170349, 0.00537493359297514, 0.25630295276641846, -0.2565802037715912, -0.43654701113700867 ]
http://arxiv.org/abs/2402.19204v1
http://arxiv.org/pdf/2402.19204v1
PeLLE: Encoder-based language models for Brazilian Portuguese based on open data
2024-02-29T14:34:03
2024-02-29T14:34:03
Guilherme Lamartine de Mello, Marcelo Finger, and Felipe Serras, Miguel de Mello Carpi, Marcos Menon Jose, Pedro Henrique Domingues, Paulo Cavalim
cs.CL
cs.CL, I.2.7
In this paper we present PeLLE, a family of large language models based on the RoBERTa architecture, for Brazilian Portuguese, trained on curated, open data from the Carolina corpus. Aiming at reproducible results, we describe details of the pretraining of the models. We also evaluate PeLLE models against a set of existing multilingual and PT-BR refined pretrained Transformer-based LLM encoders, contrasting performance of large versus smaller-but-curated pretrained models in several downstream tasks. We conclude that several tasks perform better with larger models, but some tasks benefit from smaller-but-curated data in its pretraining.
[ -0.04611343890428543, -0.6347147822380066, 0.4033873379230499, 0.19242127239704132, 0.005827735643833876, -0.1073589101433754, -0.6318327784538269, -0.1425885260105133, -0.022518930956721306, 0.8901740312576294, -0.1104583740234375, -0.5142561197280884, -0.765460193157196, 0.21935875713825226, -0.5530273914337158, 0.9723355174064636, -0.2171325981616974, 0.3455030024051666, -0.03614185005426407, 0.015164420939981937, 0.03699630871415138, -0.9006776213645935, -0.5803366303443909, 0.0016288453480228782, 0.4635566771030426, 0.1562279611825943, 0.46337246894836426, 0.48276934027671814, 0.15615488588809967, 0.27576112747192383, -0.21432183682918549, 0.1805119663476944, -0.8876055479049683, -0.012906312942504883, -0.22618451714515686, -0.45348411798477173, -0.6837630271911621, -0.08157593011856079, 0.7802109718322754, 0.766471803188324, -0.2117290049791336, 0.021096136420965195, 0.5855472683906555, 0.4625212848186493, -0.6118372678756714, 0.34524184465408325, -0.42421817779541016, -0.11767745018005371, -0.45879510045051575, 0.0995572879910469, -0.6619865894317627, -0.4565579295158386, 0.27313652634620667, -0.4891470670700073, 0.18514004349708557, -0.0628989189863205, 0.7558295726776123, 0.2114112228155136, -0.4731951951980591, -0.24319881200790405, -0.8545200824737549, 0.9629762172698975, -0.2983958125114441, 0.7683059573173523, 0.5279091596603394, 0.27891382575035095, 0.18866607546806335, -0.5882382392883301, -0.24672462046146393, -0.30269521474838257, -0.09603571146726608, 0.05722363293170929, -0.21931028366088867, -0.16870452463626862, 0.03602047264575958, 0.5157904028892517, -0.8018835783004761, 0.10919976234436035, -0.4689059257507324, -0.07158609479665756, 0.5075098276138306, -0.1421862691640854, -0.20026464760303497, 0.4622836112976074, -0.0375625342130661, -0.01619703695178032, -1.101790428161621, -0.20151954889297485, 0.6203470230102539, 0.45884770154953003, -0.40081390738487244, 0.576416015625, -0.05472936853766441, 1.1593577861785889, -0.1532040387392044, 0.004167851526290178, 0.39629992842674255, -0.15261760354042053, -0.3177160918712616, -0.06379243731498718, 0.8186087012290955, -0.4028441607952118, 0.7347310781478882, -0.37008872628211975, -0.35409677028656006, -0.060985688120126724, 0.1869346648454666, -0.6443468928337097, -0.4864831566810608, 0.055862557142972946, -0.5286943912506104, -0.17792180180549622, 0.1455257385969162, -0.6989986300468445, -0.10072345286607742, -0.32483774423599243, 0.08955194056034088, -0.3875716030597687, -0.17566893994808197, 0.29094651341438293, 0.3383587896823883, 0.11959897726774216, 0.327920138835907, -0.6379213333129883, 0.5417947173118591, 0.525532066822052, 0.6115022301673889, -0.27405500411987305, -0.2863190770149231, -0.7046563625335693, 0.1531582623720169, -0.14883115887641907, 0.709697961807251, -0.6532441973686218, -0.6421165466308594, 0.19241811335086823, 0.3996127247810364, -0.1315966695547104, -0.4936402142047882, 0.9106268882751465, -0.45470330119132996, 0.2980649471282959, -0.0733511820435524, -0.47214847803115845, -0.06917046755552292, 0.36026787757873535, -0.719482421875, 0.910647451877594, 0.4147271513938904, -0.518982470035553, 0.19873294234275818, -0.6221410632133484, -0.3421877324581146, 0.058047860860824585, -0.1257496178150177, -0.42349404096603394, 0.059266477823257446, 0.29548704624176025, 0.4144149124622345, -0.6310652494430542, 0.343720942735672, -0.14233386516571045, -0.233993262052536, 0.2620975971221924, -0.47599533200263977, 0.8484474420547485, 0.31006166338920593, 0.11730914562940598, 0.1756909340620041, -0.7249110341072083, -0.21662554144859314, 0.20281516015529633, -0.7210929989814758, -0.2160436362028122, 0.039660271257162094, 0.2899274528026581, -0.1337537169456482, 0.36316168308258057, -0.8992469310760498, 0.30378836393356323, -0.38954055309295654, 0.6470018029212952, 0.5134754180908203, -0.44126883149147034, 0.737856388092041, -0.3165540397167206, 0.7212525010108948, 0.2043411135673523, 0.2402549684047699, -0.33198082447052, -0.41086718440055847, -0.8092901706695557, -0.2699165642261505, 0.6482279896736145, 0.5050023794174194, -0.6644991040229797, 0.4644230008125305, -0.4401955306529999, -0.4908783733844757, -0.5040993690490723, -0.0409870445728302, 0.5718161463737488, 0.2945197522640228, 0.5255172848701477, -0.2997745871543884, -0.28882238268852234, -1.032029151916504, -0.0965675339102745, 0.275305837392807, -0.04195334389805794, 0.44551151990890503, 0.3360276222229004, -0.22884294390678406, 0.7621687054634094, -0.40042147040367126, -0.20029152929782867, -0.2572592794895172, -0.13143271207809448, 0.32982102036476135, 0.562278151512146, 0.8808402419090271, -0.6787633895874023, -0.4329783618450165, 0.058983273804187775, -0.3769722878932953, -0.22261010110378265, 0.400058388710022, 0.05691520869731903, 0.28702282905578613, 0.2532215118408203, -0.15455348789691925, 0.23250797390937805, 0.9846788048744202, 0.041377197951078415, 0.3397209942340851, -0.31301265954971313, 0.008968532085418701, -0.9772906303405762, -0.19383609294891357, 0.06888424605131149, -0.28137627243995667, -0.5011406540870667, -0.27422139048576355, 0.22604472935199738, -0.39102667570114136, -0.6410781145095825, 0.40048256516456604, -0.7624821066856384, -0.24340695142745972, 0.007779897656291723, -0.07166804373264313, 0.11604268848896027, 0.30947574973106384, 0.5488539338111877, 0.7484858632087708, 0.8175292611122131, -0.5528059601783752, 0.25734826922416687, 0.40792521834373474, -0.4696086347103119, 0.4251489043235779, -0.9573525786399841, 0.4491448998451233, -0.2345648854970932, 0.23099955916404724, -0.5615757703781128, -0.021362964063882828, 0.083114854991436, -0.11555402725934982, 0.42768394947052, -0.8403447866439819, -0.2658570408821106, -0.5705748200416565, 0.29569876194000244, 0.4783259332180023, 0.49605870246887207, -0.5758000612258911, 0.5625495910644531, 0.5461733341217041, -0.2399846315383911, -0.2548615336418152, -0.8776782751083374, -0.22676213085651398, -0.21864300966262817, -0.5157542824745178, 0.4629720151424408, -0.0006508009391836822, -0.103858083486557, -0.02207483910024166, 0.45548802614212036, -0.5262393355369568, -0.22833748161792755, 0.28322210907936096, 0.03655001148581505, -0.38018959760665894, 0.26075583696365356, -0.04768659919500351, -0.042830947786569595, -0.35636281967163086, -0.6260798573493958, 0.8741804361343384, -0.32520201802253723, -0.38352450728416443, 0.0037122396752238274, 0.2411952018737793, 0.2836674153804779, -0.8599031567573547, 0.9545994400978088, 0.18721498548984528, -0.20521654188632965, -0.348479688167572, -0.383927583694458, 0.11988820880651474, -0.4385051429271698, 0.08664345741271973, -0.56639164686203, -1.1169604063034058, 0.310234934091568, -0.12275777012109756, -0.26771026849746704, 0.12179989367723465, 0.7499478459358215, 0.07153439521789551, 0.5331110954284668, 0.5921666026115417, 0.0449160598218441, 0.4690868854522705, -0.4948959946632385, 0.05644167587161064, -0.6163552403450012, -0.2070707529783249, -0.8686372637748718, -0.03152192011475563, -0.5096266269683838, -0.5716317892074585, 0.34019455313682556, -0.017414230853319168, -0.4835874140262604, 0.6638033986091614, -0.6746819615364075, 0.4196929335594177, 0.6302683353424072, 0.01671227067708969, 0.27321189641952515, -0.10835673660039902, 0.1263173520565033, 0.14825938642024994, -0.8762987852096558, -0.806767463684082, 1.4843544960021973, -0.02690216153860092, 1.1045172214508057, 0.011752059683203697, 0.6851882934570312, -0.02898135781288147, 0.2288108468055725, -0.5184296369552612, 0.2706698179244995, -0.40482982993125916, -0.2623199224472046, -0.08221437782049179, -0.3866160213947296, -1.2574917078018188, -0.06876785308122635, -0.4435137212276459, -0.39136213064193726, 0.30048444867134094, 0.2684662640094757, -0.24223360419273376, 0.1274598240852356, -0.5852421522140503, 1.004223108291626, -0.6643196940422058, -0.380644291639328, -0.03312506526708603, -0.25372248888015747, 0.05577225610613823, -0.44809967279434204, 0.15152643620967865, 0.185827374458313, 0.04534846171736717, 0.6751681566238403, -0.45797738432884216, 0.5778233408927917, -0.10615619271993637, -0.15734386444091797, 0.38193535804748535, 0.21541328728199005, 0.5998222231864929, -0.14915704727172852, -0.3431931138038635, 0.5934293866157532, -0.0071876756846904755, -0.4099501073360443, -0.30556175112724304, 0.7291286587715149, -1.0017648935317993, -0.2579202353954315, -0.2814299166202545, -0.3476683795452118, -0.23178112506866455, 0.0971326231956482, 0.4371970593929291, 0.6245692372322083, -0.548380434513092, 0.48820656538009644, 0.4549475312232971, -0.4749241769313812, 0.23831042647361755, 0.7937051653862, -0.12026993930339813, -0.17895877361297607, 0.5269501209259033, 0.27904707193374634, -0.08923929184675217, 0.7145705223083496, 0.01261077355593443, -0.18079924583435059, -0.8579495549201965, -0.4913722574710846, 0.21384210884571075, -0.044637445360422134, 0.012566782534122467, -0.6409977078437805, 0.02030746452510357, -0.5392160415649414, -0.1304132044315338, -0.7199409604072571, -0.33266353607177734, -0.3079296946525574, -0.003475150326266885, 0.3058726489543915, 0.9580430388450623, 0.2908467948436737, 0.5643229484558105, -1.0971016883850098, -0.2432849407196045, 0.052265141159296036, 0.31481266021728516, -0.3682694435119629, -0.39403024315834045, -0.43829140067100525, 0.3457190990447998, -0.19529575109481812, -0.8608129024505615, 0.65982985496521, 0.1600954234600067, 0.7398500442504883, 0.23963893949985504, -0.09152375161647797, 0.26547467708587646, -0.5849511623382568, 0.7484697699546814, -0.11535198241472244, -0.9259356260299683, 0.72657310962677, -0.6170763373374939, -0.04317015781998634, 0.27717405557632446, 0.6057782769203186, -0.01330769807100296, 0.20365320146083832, -0.4605937898159027, -0.4650046229362488, 0.5884740352630615, 0.20211181044578552, -0.06580080091953278, -0.14210101962089539, 0.20814372599124908, 0.19873471558094025, 0.2899247109889984, -0.6240452527999878, 0.28674301505088806, -0.3263695538043976, -0.2680175006389618, -0.39490291476249695, -0.2743624150753021, -0.019879136234521866, -0.045130543410778046, 0.552172064781189, -0.08563199639320374, 0.27540096640586853, 0.009445511735975742, -0.44886860251426697, 0.14738231897354126, 0.2796574532985687, 0.30092257261276245, 0.5851097702980042, 0.14425688982009888, -0.2666953504085541, 0.09126268327236176, -0.17650829255580902, 0.006474353838711977, 0.10882848501205444, -0.12952746450901031, -0.2879432141780853, 0.34310826659202576, 0.898808479309082, 0.3326491415500641, -0.8076582551002502, 0.6141716241836548, 0.03791733831167221, 0.06869786232709885, -0.5684651732444763, -0.03266049921512604, -0.020808741450309753, 0.17011621594429016, -0.1112765297293663, -0.2262858897447586, -0.12216716259717941, -0.4969184696674347, 0.015351640991866589, 0.17582671344280243, -0.41673216223716736, -0.4622887969017029, 0.7158553600311279, 0.3779919743537903, -0.494800329208374, 0.7939610481262207, 0.1400349885225296, -0.4119792580604553, 0.3913175165653229, 0.5157959461212158, 0.771865963935852, -0.44445061683654785, 0.050676509737968445, 0.27538809180259705, 0.2811964154243469, -0.18811948597431183, 0.41926902532577515, -0.11996036022901535, -1.1076759099960327, -0.49466225504875183, -0.9955058097839355, -0.31668171286582947, -0.10002121329307556, -0.8233984708786011, 0.3320975601673126, 0.0613238587975502, -0.10167644917964935, -0.4396853446960449, -0.4665842056274414, -0.9549705982208252, 0.10127302259206772, -0.04917529225349426, 0.9854000210762024, -0.7900381684303284, 1.4341044425964355, 0.716909646987915, -0.3231509029865265, -0.6972724795341492, -0.3121243715286255, -0.22246317565441132, -0.7501550316810608, 0.8238276243209839, -0.32552826404571533, 0.03749065846204758, 0.0979948565363884, -0.29024335741996765, -0.8612086772918701, 0.848031222820282, 0.6685898900032043, -0.9874009490013123, -0.05414704605937004, 0.23484697937965393, 0.5706430673599243, -0.5818827748298645, 0.14747723937034607, 0.5812236070632935, 0.4433624744415283, -0.24981734156608582, -1.2653772830963135, -0.6684406399726868, -0.28712746500968933, -0.07457670569419861, 0.36673805117607117, -0.6084542870521545, 1.240530252456665, 0.23547236621379852, 0.139304980635643, 0.17787986993789673, 0.4027402400970459, 0.03598389774560928, -0.2921576201915741, 0.34535953402519226, 0.7691305875778198, 0.7485207915306091, -0.5005983114242554, 1.4152467250823975, -0.6105847954750061, 0.3848955035209656, 1.2845962047576904, -0.51192307472229, 0.740109384059906, -0.02265878953039646, -0.3679564595222473, 0.5313836932182312, 0.5426762104034424, 0.04271165281534195, 0.4246750473976135, 0.09341440349817276, -0.12219130992889404, -0.20860345661640167, 0.020610107108950615, -0.358018159866333, 0.8403851985931396, 0.41867196559906006, -0.6383259892463684, -0.06724484264850616, 0.2688997685909271, 0.0047863544896245, 0.3180301785469055, -0.5020764470100403, 0.5926522016525269, 0.006882894318550825, -0.5528469085693359, 0.44167113304138184, -0.08972478657960892, 0.5900930166244507, -0.5312503576278687, 0.1365717202425003, 0.01668480969965458, 0.3721809387207031, 0.060079049319028854, -0.8513045907020569, 0.40052902698516846, 0.1969923973083496, -0.01415832806378603, -0.7554146647453308, 0.7857657670974731, -0.7561360597610474, -0.4277161657810211, 0.44628456234931946, 0.7679266333580017, 0.30313363671302795, -0.21379296481609344, -0.5959102511405945, 0.36073267459869385, -0.2721695005893707, -0.42509016394615173, 0.18806958198547363, 0.3735411763191223, -0.13864070177078247, 0.4282744526863098, 0.6395590901374817, 0.30403175950050354, 0.10458401590585709, 0.23882879316806793, 0.7757695913314819, -0.3787616789340973, -0.6950554847717285, -0.6264379024505615, 0.18925537168979645, 0.011027735657989979, -0.2661854028701782, 0.8837063908576965, 0.9747804403305054, 1.0793232917785645, -0.35444098711013794, 0.8437193632125854, 0.30211102962493896, 0.816998302936554, -0.48573029041290283, 0.6777898073196411, -0.21772152185440063, -0.020224478095769882, 0.04786882549524307, -1.2169328927993774, -0.07045385241508484, 0.7761998772621155, -0.7492824196815491, 0.12634190917015076, 0.4275585412979126, 0.8584504723548889, -0.20050844550132751, 0.22376881539821625, 0.298896849155426, 0.6023710370063782, 0.13437023758888245, 0.8858953714370728, 0.7686978578567505, -0.07330923527479172, 0.41312649846076965, -0.09496137499809265, -0.2742484211921692, -0.02087293192744255, -0.7914614081382751, -0.8531154990196228, -0.6927840709686279, -0.19053472578525543, -0.26747962832450867, 0.31150874495506287, 0.680949330329895, 0.9309841990470886, -0.9307664632797241, -0.3358946740627289, -0.1760621964931488, -0.2587693929672241, 0.1340009868144989, -0.12315048277378082, 0.22926115989685059, 0.1941504180431366, -1.1267690658569336, 0.777951717376709, 0.31348559260368347, 0.20865434408187866, -0.3175802528858185, -0.2941652834415436, 0.15089592337608337, -0.003174557350575924, 0.6582903265953064, 0.2375551164150238, -0.32883700728416443, -0.2690984904766083, -0.15509739518165588, 0.07475268840789795, 0.04154295101761818, 0.9259689450263977, -1.1657297611236572, 0.2502560615539551, 0.5472230911254883, 0.4213542938232422, 1.0870238542556763, -0.0975794568657875, 0.8362658619880676, -0.5270714163780212, 0.5848777890205383, 0.48874354362487793, 0.9095746278762817, 0.42952319979667664, 0.05611332878470421, 0.741631031036377, 0.050041913986206055, -0.6003044247627258, -0.6554716229438782, 0.33336299657821655, -1.0661547183990479, -0.16475190222263336, 1.1700701713562012, -0.4219915270805359, -0.3409729301929474, -0.2110019028186798, -0.2564118802547455, 0.14778728783130646, -0.19572925567626953, 0.08603956550359726, 0.4324170649051666, 0.15385234355926514, -0.22754432260990143, -0.28332018852233887, 0.16125459969043732, -0.12102406471967697, -0.671466588973999, -0.10624426603317261, 0.5700720548629761, 0.21181491017341614, -0.11233879625797272, 0.6443339586257935, -0.3741263449192047, -0.07369892299175262, -0.07597512006759644, 0.048299286514520645, -0.3352760970592499, -0.5871790647506714, -0.30588048696517944, 0.3845895230770111, -0.19794729351997375, 0.057610560208559036 ]
http://arxiv.org/abs/2402.19200v2
http://arxiv.org/pdf/2402.19200v2
PRSA: PRompt Stealing Attacks against Large Language Models
2024-02-29T14:30:28
2024-06-08T03:43:12
Yong Yang, Changjiang Li, Yi Jiang, Xi Chen, Haoyu Wang, Xuhong Zhang, Zonghui Wang, Shouling Ji
cs.CR
cs.CR, cs.CL
In recent years, "prompt as a service" has greatly enhanced the utility of large language models (LLMs) by enabling them to perform various downstream tasks efficiently without fine-tuning. This has also increased the commercial value of prompts. However, the potential risk of leakage in these commercialized prompts remains largely underexplored. In this paper, we introduce a novel attack framework, PRSA, designed for prompt stealing attacks against LLMs. The main idea of PRSA is to infer the intent behind a prompt by analyzing its input-output content, enabling the generation of a surrogate prompt that replicates the original's functionality. Specifically, PRSA mainly consists of two key phases: prompt mutation and prompt pruning. In the mutation phase, we propose a prompt attention algorithm based on output difference. The algorithm facilitates the generation of effective surrogate prompts by learning key factors that influence the accurate inference of prompt intent. During the pruning phase, we employ a two-step related word identification strategy to detect and mask words that are highly related to the input, thus improving the generalizability of the surrogate prompts. We verify the actual threat of PRSA through evaluation in both real-world settings, non-interactive and interactive prompt services. The results strongly confirm the PRSA's effectiveness and generalizability. We have reported these findings to prompt service providers and actively collaborate with them to implement defensive measures.
[ -0.2795507311820984, -1.0308588743209839, 0.5614546537399292, 0.36636191606521606, -0.3454540967941284, -0.020739005878567696, 0.12222281098365784, -0.3180510699748993, 0.3138165771961212, 0.8048346042633057, -0.8789006471633911, 0.011595046147704124, -0.5614473819732666, 0.41019588708877563, -0.25631630420684814, 0.577447235584259, 0.1733754277229309, -0.06333417445421219, 0.014090521261096, 0.10468503832817078, -0.8510875105857849, -0.5347793698310852, -0.9681237936019897, 0.4042288362979889, 0.653342604637146, 0.29277563095092773, 0.4743058979511261, 0.26362448930740356, 0.39838942885398865, 0.3197389543056488, -0.29063332080841064, 0.13814851641654968, -0.24157214164733887, 0.477700412273407, -0.2561449408531189, -0.42664068937301636, -0.15656918287277222, -0.30743151903152466, 0.6411454677581787, 0.2150886207818985, 0.023915842175483704, 0.12276887893676758, 0.01981036737561226, 0.5562753677368164, -0.7620431184768677, -0.03637987747788429, -0.6307362914085388, -0.23358558118343353, -0.5128604769706726, -0.13653479516506195, -0.7578107118606567, -0.43699318170547485, -0.17385250329971313, -0.47669729590415955, 0.236515074968338, 0.07619661092758179, 0.7490940690040588, 0.15307770669460297, -0.05194908380508423, -0.2752056121826172, -0.3622969686985016, 0.637769877910614, -0.4998287558555603, -0.00839894451200962, 0.3901415467262268, 0.5258190631866455, -0.459847629070282, -0.7088711857795715, -0.7031255960464478, -0.3903992474079132, 0.031552013009786606, -0.17092201113700867, -0.3803403675556183, 0.07456149905920029, 0.44674259424209595, 0.11243527382612228, -0.4974231719970703, 0.10859089344739914, -0.22088341414928436, -0.27430495619773865, 0.5015696287155151, 0.04826640710234642, 0.6842957735061646, -0.07184293866157532, -0.6128647923469543, -0.03341081365942955, -1.098639965057373, 0.18473394215106964, 0.3515852391719818, 0.3450634777545929, -0.05164719745516777, 0.40878409147262573, -0.059752751141786575, 0.774431586265564, -0.021829679608345032, -0.04227412864565849, 0.006381014361977577, -0.3301660418510437, -0.1639934629201889, -0.027247382327914238, 0.8012308478355408, 0.0004785761993844062, 0.4052983820438385, -0.10437452048063278, -0.250399112701416, 0.00588139658793807, 0.21443316340446472, -0.5952248573303223, 0.031207995489239693, 0.07427315413951874, -0.1537330150604248, -0.3460133671760559, 0.15865367650985718, -1.0857828855514526, -0.8009438514709473, 0.08294469863176346, 0.25970548391342163, -0.24574650824069977, -0.186726376414299, -0.046409402042627335, 0.0051232390105724335, 0.1331816017627716, 0.09495646506547928, -0.6959599256515503, 0.08155989646911621, 0.8090944886207581, 0.8660476803779602, -0.2097262740135193, -0.25084173679351807, -1.0840065479278564, 0.16694790124893188, -0.20270571112632751, 0.8514405488967896, -0.6153579354286194, -0.6480969786643982, 0.004979909863322973, 0.1991702765226364, -0.08322438597679138, -0.5708494186401367, 0.5371164679527283, -0.9013007879257202, -0.02307739481329918, -0.49911078810691833, -0.3371928632259369, 0.16930778324604034, 0.11532662808895111, -0.9584432244300842, 0.6133437752723694, -0.08313935250043869, -0.7967613339424133, 0.09358026087284088, -0.5097128748893738, -0.4995523989200592, 0.26779258251190186, -0.06261655688285828, -0.30468469858169556, 0.1464509516954422, 0.3676234781742096, 0.23751163482666016, -0.32002443075180054, 0.249221533536911, -0.3669174313545227, -0.24601420760154724, 0.6680410504341125, -0.5421622395515442, 0.9029991626739502, 0.23557455837726593, -0.040632735937833786, 0.41161224246025085, -0.5193275809288025, -0.45326897501945496, 0.44070175290107727, 0.14271049201488495, -0.3904062509536743, -0.3011130392551422, -0.42675521969795227, 0.08005735278129578, 0.29173049330711365, -0.6601791977882385, 0.15913601219654083, -0.4357808530330658, 0.39752814173698425, 0.8262138366699219, 0.6638897061347961, 0.3541758060455322, -0.2862541079521179, 0.9650093913078308, -0.06568603217601776, 0.48621851205825806, -0.6148977279663086, -0.5686704516410828, -0.13603438436985016, -0.8404761552810669, 0.22760097682476044, 0.5514276027679443, -0.8992695808410645, 0.21489658951759338, 0.0922439694404602, -0.4406868517398834, -0.5348190665245056, -0.029880717396736145, 0.38859474658966064, 0.6696211099624634, 0.2716769576072693, -0.02882363460958004, -0.30561333894729614, -0.816330075263977, -0.6242049932479858, -0.024557359516620636, -0.0448845773935318, 0.009594544768333435, -0.03517751023173332, -0.12750835716724396, 1.1028342247009277, -0.5861024260520935, -0.4080662429332733, -0.4621945023536682, -0.11743834614753723, 0.16877487301826477, 0.41956818103790283, 0.5905952453613281, -0.699994683265686, -0.35463547706604004, -0.5955977439880371, -0.3986670672893524, -0.5448458194732666, -0.5333117246627808, 0.10302332043647766, -0.006413204129785299, 0.5401750206947327, -0.8513201475143433, 0.3957749307155609, 0.28690892457962036, -0.6524754166603088, 0.9186244606971741, 0.0045276484452188015, -0.23011714220046997, -0.9354317784309387, 0.13970811665058136, 0.05506834015250206, -0.1454613357782364, -0.6748063564300537, 0.2889304459095001, 0.03502902388572693, -0.4171573519706726, -0.6816726922988892, 0.716729462146759, -0.45749136805534363, -0.008688071742653847, -0.23111094534397125, -0.1351926028728485, 0.06632645428180695, 0.28798532485961914, -0.2271237075328827, 1.1209580898284912, 0.5219270586967468, -0.6885582804679871, 0.3603052794933319, 0.32470420002937317, -0.30008381605148315, 0.4041721522808075, -0.7734947204589844, 0.25779488682746887, -0.05526510253548622, 0.3864310383796692, -1.0365225076675415, -0.00016272302309516817, 0.5245510935783386, -0.5025993585586548, 0.3445630371570587, -0.11141321808099747, -0.43934571743011475, -0.023031795397400856, -0.30274298787117004, 0.07566044479608536, 0.38733214139938354, -0.5822905898094177, 0.5303736329078674, 0.3669579327106476, -0.6571995615959167, -0.6049453020095825, -0.510159432888031, 0.33377671241760254, -0.2944285571575165, -0.4622960388660431, 0.12411147356033325, 0.009012419730424881, -0.3175601363182068, -0.205745130777359, -0.055680498480796814, -0.018494494259357452, 0.495307981967926, 0.19806011021137238, 0.3953246772289276, 0.15729165077209473, -0.19976963102817535, 0.0797598659992218, -0.32566988468170166, 0.27727243304252625, 0.08294462412595749, 0.6558796167373657, 0.4795025587081909, -0.47179391980171204, -0.879582941532135, 0.5752004981040955, 0.8631916642189026, -0.44342610239982605, 0.7797239422798157, 0.13075755536556244, -0.1891520917415619, -0.38036274909973145, -0.4422362148761749, -0.41766273975372314, -0.572049081325531, 0.3185558617115021, -0.4905717670917511, -0.5687611699104309, 0.3928244113922119, -0.08715107291936874, 0.2865179181098938, 0.03184640780091286, 0.23359239101409912, 0.14714232087135315, 0.9441392421722412, 0.45039182901382446, -0.04038644954562187, 0.6489914059638977, 0.20014815032482147, 0.14932917058467865, -0.6690811514854431, -0.3058090806007385, -0.6891651153564453, -0.007848710753023624, 0.013665888458490372, -0.3124682903289795, 0.06692580878734589, 0.09967239201068878, -0.21551166474819183, 0.25683078169822693, -0.23612965643405914, 0.5711752772331238, 0.43710577487945557, -0.18090833723545074, 0.1374388039112091, 0.14579719305038452, -0.13776111602783203, -0.16387324035167694, -0.28039130568504333, -0.5592092871665955, 0.6355867981910706, 0.5284435749053955, 0.6520420908927917, 0.14906959235668182, 0.5295085906982422, 0.581200122833252, 0.11362676322460175, -0.5656277537345886, 0.8470543622970581, 0.09670945256948471, -0.2216513603925705, -0.22148922085762024, -0.5302253365516663, -0.8857567310333252, 0.2802673876285553, 0.1863093376159668, -0.6915388703346252, 0.3442330062389374, 0.06267056614160538, -0.4732261002063751, 0.20952220261096954, -0.8897996544837952, 0.6810735464096069, -0.0650256797671318, -0.2577272951602936, -0.1761053204536438, -0.5074292421340942, 0.3387751877307892, -0.21655425429344177, 0.2649610638618469, 0.08021282404661179, -0.025274790823459625, 0.7102717757225037, -0.3431527018547058, 1.1524478197097778, -0.5294687151908875, -0.18533284962177277, 0.35324257612228394, 0.535198450088501, 0.952842652797699, 0.38309818506240845, 0.051443617790937424, -0.05642686411738396, -0.0625203475356102, -0.3725883960723877, -0.5539765954017639, 0.5521312355995178, -0.4423365294933319, -0.7678427696228027, -0.3860945999622345, -0.14773491024971008, -0.3421141803264618, 0.2019496113061905, 0.2723909020423889, 0.41729652881622314, -0.1286393404006958, -0.16724301874637604, 0.7299891114234924, -0.37369856238365173, 0.5237791538238525, 0.7105489373207092, -0.08148553222417831, -0.40122926235198975, 0.9622424840927124, -0.15289898216724396, 0.3757314383983612, 0.36012598872184753, 0.2022857517004013, -0.38628914952278137, -0.4252386689186096, -0.34637442231178284, 0.39522722363471985, -0.4689106047153473, -0.36019080877304077, -0.585970938205719, 0.013617584481835365, -0.45887118577957153, -0.13017654418945312, -0.055259425193071365, -0.25860777497291565, -0.42824530601501465, -0.10322625935077667, 0.16798503696918488, 0.4550592303276062, 0.2381897270679474, 0.42189478874206543, -0.9557618498802185, 0.4059305489063263, 0.44952502846717834, -0.125947505235672, 0.04182073101401329, -0.5127332210540771, 0.4083777666091919, -0.12344330549240112, -0.06666222214698792, -1.4306832551956177, 0.5267388820648193, -0.09527334570884705, 0.5670527219772339, 0.5437713265419006, 0.4605412781238556, 0.27059710025787354, -0.43460991978645325, 0.8668721318244934, 0.379922479391098, -0.9568051695823669, 0.3469536006450653, 0.00293954205699265, 0.3647037148475647, 0.5389131903648376, 0.0022772543597966433, -0.6032880544662476, -0.3905656337738037, -0.6876404881477356, -0.8368464708328247, 0.7560900449752808, -0.132762148976326, 0.1472032368183136, -0.12000672519207001, 0.1400776505470276, 0.04078514501452446, 0.1610613614320755, -0.3883751928806305, -0.11224810034036636, 0.09846296161413193, -0.19279934465885162, 0.22485829889774323, -0.6675493717193604, -0.1884911209344864, 0.3010542690753937, 0.6045481562614441, 0.03164824843406677, 0.11529044806957245, 0.2206142395734787, -0.2372645139694214, 0.16009250283241272, 0.34950196743011475, 0.5231715440750122, 0.4622305929660797, 0.40918290615081787, 0.21006371080875397, 0.2586340308189392, -0.8021111488342285, 0.12498141080141068, -0.09949517250061035, -0.4203545153141022, 0.05513406917452812, 0.4770958721637726, 0.837033748626709, 0.06409859657287598, -0.939882755279541, 0.6313018202781677, -0.22479656338691711, 0.34466421604156494, -0.22052401304244995, -0.029059085994958878, -0.107016421854496, 0.024350637570023537, 0.4677879512310028, 0.002059933030977845, -0.13279113173484802, -0.262984037399292, 0.28615790605545044, 0.4127669632434845, -0.5105741620063782, -0.5639448761940002, 0.19855986535549164, 0.26772987842559814, -0.5093719959259033, 0.3101302981376648, -0.31600937247276306, -0.5625635981559753, 0.7789230942726135, 0.8980205059051514, 0.9909080266952515, -0.6696094870567322, 0.3505549430847168, 0.041194118559360504, 0.4695366322994232, 0.053478676825761795, 0.34530916810035706, -0.0848478376865387, -0.3961125910282135, -0.3612055480480194, -0.5406670570373535, -0.3421849310398102, 0.30275920033454895, -0.5078850388526917, 0.3121736943721771, -0.7933186888694763, -0.02693122625350952, -0.20556433498859406, -0.31159737706184387, -0.15693116188049316, -0.1032884269952774, 0.09570285677909851, 1.0216656923294067, -0.7256247401237488, 0.6477672457695007, 0.6883277893066406, -0.2658965587615967, -0.6736055612564087, 0.16040465235710144, -0.027999451383948326, -0.703595757484436, 0.612092137336731, 0.2599201202392578, -0.03129133582115173, -0.07065309584140778, -0.44756487011909485, -0.7677165269851685, 0.6625973582267761, 0.539277970790863, -0.829761803150177, -0.15281949937343597, -0.06555969268083572, -0.02936513163149357, -0.12317823618650436, -0.13273204863071442, 0.6167589426040649, 0.4451082646846771, 0.18103018403053284, -0.44843053817749023, 0.417019784450531, 0.09896037727594376, -0.16948387026786804, 0.22097256779670715, -0.46506285667419434, 0.7689201235771179, -0.23229525983333588, -0.6869685649871826, 0.05388982221484184, 0.6147605776786804, 0.6742151379585266, 0.21253418922424316, 0.6333569288253784, 0.40493953227996826, 0.7221351861953735, 0.1388821005821228, 0.8231383562088013, -0.0011793741723522544, -0.01363260019570589, 1.0279415845870972, -0.683534562587738, 0.6048020124435425, 0.5403743982315063, -0.06483816355466843, 0.2480858415365219, 0.2921423017978668, 0.026808656752109528, 0.7151849865913391, 0.19994381070137024, -0.3712993860244751, -0.012517009861767292, -0.22454115748405457, -0.3985610008239746, -0.03687864542007446, 0.5893315076828003, -0.2546926438808441, -0.2670263648033142, 0.2573392987251282, 0.4058673083782196, 0.06102808192372322, -0.2257024049758911, 0.973717212677002, 0.2325415462255478, -0.7671684622764587, 0.3487490117549896, 0.06579676270484924, 0.44487592577934265, -0.8970102667808533, 0.10494185984134674, -0.21028870344161987, 0.214688241481781, 0.043486762791872025, -0.41149967908859253, 0.3230312764644623, 0.2850719690322876, -0.04361908510327339, -0.1339789181947708, 0.8390367031097412, -0.013939118944108486, -0.17531737685203552, 0.22827918827533722, 0.11865290254354477, -0.2824575901031494, -0.35565853118896484, -0.7034332752227783, 0.29718366265296936, 0.09017988294363022, -0.405668169260025, 0.4822761118412018, 0.144733265042305, -0.21292328834533691, 0.675857663154602, 0.8187463283538818, 0.4448168873786926, 0.0975632518529892, 0.035718053579330444, 0.7511591911315918, -0.49707311391830444, -1.1059499979019165, -1.0868029594421387, 0.05646997317671776, -0.30387723445892334, -0.25366291403770447, 0.7992703318595886, 0.12237528711557388, 0.25661784410476685, -0.06965883821249008, 0.7774410843849182, 0.2281384915113449, 0.5797310471534729, -0.5281198620796204, 0.6753901243209839, 0.12936130166053772, 0.5337510704994202, -0.17649005353450775, -0.786670982837677, -0.15962761640548706, 0.10093555599451065, -0.44266045093536377, -0.3110809922218323, 0.7184582352638245, 0.8750013113021851, 0.256744384765625, 0.22052530944347382, 0.06975612044334412, 0.14459827542304993, 0.6883174777030945, 0.358247309923172, 1.047263264656067, 0.1485784947872162, 0.5190309286117554, 0.07546211034059525, -0.5635356903076172, -0.1432296484708786, -0.6077609062194824, -0.8166636824607849, -0.38788706064224243, -0.30877116322517395, -0.32076793909072876, 0.1242445558309555, 0.6614497303962708, 0.33938658237457275, -0.8111801147460938, 0.1764603704214096, -0.2761577069759369, 0.12187254428863525, -0.3858376443386078, -0.25766628980636597, 0.37934085726737976, -0.473622590303421, -0.41255128383636475, 0.7751017808914185, 0.1813635230064392, 0.013510308228433132, -0.427990585565567, 0.3160063624382019, -0.12966765463352203, 0.4233112335205078, 0.14841865003108978, 0.6549383401870728, -0.5805709958076477, 0.009816677309572697, 0.011448743753135204, -0.040267154574394226, -0.49271073937416077, 0.9993210434913635, -0.8777242302894592, 0.250486820936203, 0.6571135520935059, 0.9678836464881897, -0.09539388865232468, 0.12595175206661224, 0.48154959082603455, -1.0113906860351562, 0.2826632559299469, 0.3742451071739197, 0.42537105083465576, 0.48299726843833923, -0.6247856616973877, 0.017690949141979218, 0.41957980394363403, -0.2121185064315796, -1.2232388257980347, 0.749693751335144, -0.7242076992988586, -0.6097880601882935, 1.2983577251434326, -0.365908145904541, -0.512432336807251, -0.28427788615226746, -0.5280104875564575, 0.10596727579832077, -0.6119700074195862, 0.6647607088088989, 0.40313011407852173, 0.531324565410614, -0.07280949503183365, -0.38225698471069336, 0.5747712850570679, 0.4241775870323181, -0.728585422039032, 0.4867546260356903, 0.4056238532066345, 0.2859332859516144, 0.2556038498878479, 0.36002957820892334, -0.3999193608760834, 0.33622801303863525, -0.2870939075946808, -0.293759286403656, -0.5177523493766785, -0.5183317065238953, -0.7250508069992065, 0.7043483853340149, -0.013161659240722656, -0.4745562672615051 ]
http://arxiv.org/abs/2403.14661v1
http://arxiv.org/pdf/2403.14661v1
Towards Modeling Learner Performance with Large Language Models
2024-02-29T14:06:34
2024-02-29T14:06:34
Seyed Parsa Neshaei, Richard Lee Davis, Adam Hazimeh, Bojan Lazarevski, Pierre Dillenbourg, Tanja Käser
cs.CY
cs.CY, cs.CL, cs.LG
Recent work exploring the capabilities of pre-trained large language models (LLMs) has demonstrated their ability to act as general pattern machines by completing complex token sequences representing a wide array of tasks, including time-series prediction and robot control. This paper investigates whether the pattern recognition and sequence modeling capabilities of LLMs can be extended to the domain of knowledge tracing, a critical component in the development of intelligent tutoring systems (ITSs) that tailor educational experiences by predicting learner performance over time. In an empirical evaluation across multiple real-world datasets, we compare two approaches to using LLMs for this task, zero-shot prompting and model fine-tuning, with existing, non-LLM approaches to knowledge tracing. While LLM-based approaches do not achieve state-of-the-art performance, fine-tuned LLMs surpass the performance of naive baseline models and perform on par with standard Bayesian Knowledge Tracing approaches across multiple metrics. These findings suggest that the pattern recognition capabilities of LLMs can be used to model complex learning trajectories, opening a novel avenue for applying LLMs to educational contexts. The paper concludes with a discussion of the implications of these findings for future research, suggesting that further refinements and a deeper understanding of LLMs' predictive mechanisms could lead to enhanced performance in knowledge tracing tasks.
[ -0.010867715813219547, -0.7959206700325012, 0.6877245306968689, -0.45721733570098877, -0.09612926840782166, 0.3458581864833832, -0.23112626373767853, -0.43751415610313416, -0.19506318867206573, 0.568411648273468, -0.5177443027496338, -0.56251060962677, -0.49227187037467957, -0.22174367308616638, -0.5472528338432312, 0.7357193231582642, 0.10426458716392517, 0.12730003893375397, -0.1989576518535614, 0.3043312430381775, -0.6541581749916077, -0.5185966491699219, -0.5970453023910522, -0.4434816837310791, 0.7448043823242188, 0.4928860366344452, 0.13579285144805908, 0.9000973701477051, 0.11886336654424667, 0.20936907827854156, 0.08866637945175171, 0.13819777965545654, -0.40915924310684204, 0.24935366213321686, -0.19108034670352936, -0.8512508273124695, -0.3327990472316742, -0.09610055387020111, 0.7555856704711914, 0.7766628265380859, 0.06947183609008789, 0.23351125419139862, 0.32552677392959595, 0.5817631483078003, -0.5430192351341248, 0.32030659914016724, -0.3732094168663025, 0.03194684535264969, -0.15766027569770813, -0.2721134424209595, -0.5281582474708557, -0.3274022340774536, 0.36391907930374146, -0.5026963949203491, 0.39812061190605164, 0.13692836463451385, 0.4077061712741852, 0.06033105403184891, -0.24259749054908752, -0.3322247862815857, -1.040830135345459, 0.8153346180915833, -0.9318665862083435, 0.22199177742004395, 0.12273864448070526, 0.6478806138038635, -0.112083300948143, -0.5503629446029663, -0.30844396352767944, -0.2293664962053299, -0.006243362557142973, 0.00710394699126482, 0.16776743531227112, -0.1452644169330597, 0.5455040335655212, 0.14171577990055084, -0.35741522908210754, 0.5839715003967285, -0.4167088568210602, -0.12723186612129211, 0.4804452657699585, 0.5225621461868286, -0.005561886355280876, 0.1808115541934967, -0.32076114416122437, -0.0017692568944767118, -0.8783518075942993, 0.4611431062221527, 0.24613696336746216, 0.7653828859329224, -0.08854750543832779, 0.6328540444374084, -0.24849000573158264, 1.0708727836608887, -0.20373541116714478, -0.4469098448753357, -0.3463471531867981, 0.07988027483224869, 0.0911969542503357, -0.06529773026704788, 0.5075136423110962, 0.2870815694332123, 0.7145826816558838, -0.27439919114112854, -0.213023841381073, 0.0701170563697815, 0.10095750540494919, -0.883228063583374, -0.4490266442298889, -0.20984138548374176, -0.12780025601387024, -0.01914164051413536, -0.11767412722110748, -0.8477384448051453, -0.552142322063446, -0.6322970390319824, 0.5158911347389221, -0.57736736536026, -0.08875451236963272, 0.3524274230003357, 0.07600861042737961, 0.4706971049308777, 0.49725914001464844, -0.7260492444038391, 0.1423860341310501, 0.760068953037262, 0.874070942401886, -0.2368202805519104, -0.16643302142620087, -0.4332510828971863, 0.45564767718315125, -0.3199438154697418, 0.6057233810424805, -0.8777152895927429, -0.3595713675022125, 0.24617478251457214, -0.1002524197101593, -0.35731565952301025, -0.3951609134674072, 0.021493451669812202, -0.6109977960586548, 0.1622212827205658, -0.17173929512500763, -1.1774653196334839, -0.48054975271224976, 0.16099603474140167, -0.5159565806388855, 0.6337413191795349, -0.019850648939609528, -0.3627886474132538, 0.23493801057338715, -0.5652332305908203, -0.5024304389953613, 0.13507719337940216, -0.044226620346307755, -0.22198668122291565, -0.044844452291727066, -0.09960009902715683, 0.9133822321891785, -0.22940441966056824, 0.2773759365081787, -0.242752805352211, -0.6707332730293274, 0.009557344950735569, -0.43527525663375854, 0.46646279096603394, -0.08045852929353714, -0.3992663025856018, 0.026296619325876236, -1.0660954713821411, -0.08895847201347351, 0.025782378390431404, -0.33482080698013306, -0.3068431615829468, 0.3213083744049072, -0.5130066275596619, 0.24164670705795288, 0.17779041826725006, -0.4283747673034668, 0.40145546197891235, -0.2285822331905365, 0.3042617738246918, 0.8379784822463989, -0.23957429826259613, 0.3606497645378113, -0.42329856753349304, 0.7661773562431335, -0.04903363808989525, -0.201430544257164, -0.7211273908615112, -0.37655889987945557, -0.9039976596832275, -0.30346301198005676, 0.25485992431640625, 0.6100571751594543, -0.4321015775203705, 0.15516714751720428, -0.198313370347023, -0.47758591175079346, -0.36867383122444153, 0.12528160214424133, 0.35002824664115906, 0.6729099750518799, 0.29657667875289917, -0.23594114184379578, -0.39622682332992554, -0.2419152557849884, -0.3384190499782562, -0.21222297847270966, -0.1896129697561264, 0.4921296536922455, 0.2141401171684265, 0.1103740930557251, 0.7318062782287598, -0.37580424547195435, -0.3111259937286377, -0.3031153976917267, 0.004694477654993534, 0.049862489104270935, 0.42553985118865967, 0.43105247616767883, -0.22885380685329437, -0.28335055708885193, -0.089798703789711, -0.6546052694320679, 0.09458053857088089, -0.042199574410915375, 0.007805496454238892, 0.2637075185775757, 0.7434055805206299, -0.23399634659290314, 0.4019629657268524, 0.2623324692249298, -0.478996604681015, 0.576448380947113, -0.028163500130176544, -0.01759699359536171, -0.8744274973869324, 0.11130087077617645, -0.03483520820736885, -0.025604119524359703, -0.6560031175613403, -0.165694460272789, 0.04857489839196205, 0.13271573185920715, -0.3968343734741211, 0.703519344329834, -0.3304358422756195, -0.23979634046554565, -0.26103225350379944, 0.1145772710442543, -0.08930584788322449, 0.4798191785812378, 0.018784109503030777, 0.6539504528045654, 0.7599126100540161, -0.8094270825386047, 0.24368909001350403, -0.2326626032590866, -0.5991948246955872, 0.45844724774360657, -0.539074182510376, -0.05537211894989014, -0.013732951134443283, -0.06567184627056122, -1.1295992136001587, -0.11083321273326874, 0.005835541523993015, -0.2746483087539673, 0.5350759029388428, -0.2938893139362335, -0.43503278493881226, -0.38392654061317444, -0.021600404754281044, 0.15255524218082428, 0.6543066501617432, -0.41870996356010437, 0.6947900056838989, -0.16235163807868958, -0.15814600884914398, -0.5197880864143372, -0.04072268679738045, -0.08783607929944992, -0.3929140865802765, -0.27292728424072266, 0.023020585998892784, -0.10158023983240128, 0.08088614046573639, -0.360711008310318, -0.040481071919202805, 0.09096940606832504, 0.45559561252593994, 0.4408453404903412, 0.605451762676239, -0.47094693779945374, 0.10026422888040543, -0.35227346420288086, -0.027663899585604668, 0.16825664043426514, -0.43971624970436096, 0.5771156549453735, 0.15649725496768951, -0.544265866279602, -0.3273727595806122, -0.17047198116779327, 0.612137496471405, -0.2617017328739166, 0.6147351861000061, 0.45970842242240906, -0.18256884813308716, -0.4156171381473541, -0.6029267311096191, -0.3990466594696045, -0.4594346582889557, 0.28143617510795593, -0.11046672612428665, -1.156326174736023, 0.6220822334289551, -0.3964446187019348, 0.11601580679416656, 0.168196901679039, 0.2380896508693695, -0.35497915744781494, 1.0393424034118652, 1.0011025667190552, -0.26538124680519104, 0.6319566965103149, -0.3782843053340912, 0.2093038111925125, -0.7030634880065918, -0.5393233895301819, -0.41616809368133545, -0.38915765285491943, -0.4428161680698395, -0.25909295678138733, 0.11218111217021942, 0.2559615969657898, -0.3522886335849762, 0.042349282652139664, 0.016207579523324966, 0.5827391743659973, 0.6506518721580505, -0.06282678991556168, 0.36819538474082947, 0.017688045278191566, -0.29908907413482666, 0.15300993621349335, -0.8361073732376099, -0.7620124816894531, 1.1958259344100952, 0.09911686182022095, 0.8441416621208191, -0.25638389587402344, 0.36588138341903687, -0.027195341885089874, 0.1809128224849701, -0.8358978033065796, 0.7274998426437378, -0.29171133041381836, -0.46933653950691223, -0.41731587052345276, -0.1571141481399536, -0.9039319753646851, -0.1160895824432373, -0.04811781272292137, -0.6756092309951782, -0.33237433433532715, 0.2974887192249298, -0.5759487152099609, 0.7089931964874268, -0.46387290954589844, 0.6868168711662292, -0.18658877909183502, -0.443582147359848, -0.010711711831390858, -0.590876042842865, 0.2927907109260559, -0.11669463664293289, 0.03601262718439102, -0.21594907343387604, 0.08073797076940536, 0.801514208316803, -0.003167348448187113, 1.2738991975784302, -0.3745906949043274, -0.248330220580101, 0.30500367283821106, 0.24691209197044373, 0.4495018720626831, -0.45667386054992676, -0.11087726801633835, -0.0968439057469368, 0.020652182400226593, -0.3941756784915924, -0.5305609107017517, 0.7072306275367737, -0.6332528591156006, -0.7216915488243103, -0.05100756511092186, -0.6132382154464722, -0.37626487016677856, 0.27409815788269043, -0.08043854683637619, 0.48712608218193054, 0.06611911952495575, -0.021607860922813416, 0.7829251885414124, -0.1139708012342453, 0.6960827112197876, 1.1806004047393799, -0.11459675431251526, 0.2821792960166931, 1.1030397415161133, 0.48238974809646606, 0.21931399405002594, 0.40564435720443726, 0.17779985070228577, -0.21972711384296417, -0.8285093307495117, -0.39392194151878357, 0.2105463296175003, -0.5079214572906494, -0.3045896291732788, -0.44345423579216003, -0.26100581884384155, -0.23438531160354614, -0.28760284185409546, -0.15622498095035553, -0.4359571635723114, -0.5484659671783447, -0.21314087510108948, 0.44405215978622437, 1.029576063156128, 0.13449682295322418, 0.5107266306877136, -0.6259666085243225, 0.08647529780864716, 0.508894681930542, 0.6045750975608826, 0.3836246728897095, -0.8390389084815979, -0.40841853618621826, -0.023114468902349472, -0.30011382699012756, -0.38186269998550415, 0.39361250400543213, 0.34365808963775635, 0.4544099271297455, 0.47512006759643555, -0.009993704035878181, 0.8731687664985657, -0.6933442950248718, 0.8703243732452393, -0.18740251660346985, -0.6742604970932007, 0.6824538111686707, -0.44384896755218506, 0.1570759266614914, 0.02505839802324772, 0.5118651986122131, -0.33260130882263184, -0.46171849966049194, -0.299349844455719, -0.7885972261428833, 0.7155327796936035, -0.6269685626029968, 0.07468333840370178, 0.22647373378276825, 0.6376825571060181, 0.2668386399745941, 0.09558552503585815, -0.23879504203796387, -0.17475526034832, -0.005003550089895725, -0.14421704411506653, -0.48757219314575195, -0.2228219360113144, 0.1696959137916565, -0.06373558938503265, 0.5145800709724426, -0.2702988088130951, 0.04342046007514, -0.3076540529727936, -0.17703282833099365, -0.19955509901046753, 0.10064354538917542, 0.5022751688957214, 0.8066354393959045, -0.08259564638137817, 0.015953954309225082, -0.022248512133955956, -0.19989323616027832, 0.0822015106678009, 0.09212414920330048, -0.23924967646598816, -0.17630402743816376, 0.6379908919334412, 0.7112599611282349, 0.3319058120250702, -0.7325160503387451, 0.3862258195877075, 0.2712576687335968, -0.009923605248332024, -0.33350616693496704, 0.6867458820343018, 0.11228165030479431, 0.622807502746582, 0.26790159940719604, -0.17824819684028625, -0.02634807489812374, -0.3723333179950714, 0.12310346215963364, 0.4247617721557617, -0.48381009697914124, -0.6036117672920227, 0.628655731678009, -0.03232664242386818, -0.370633602142334, 0.5656362771987915, 0.3817216753959656, -0.28765755891799927, 0.8196465373039246, 0.6461202502250671, 0.5593072175979614, -0.503362238407135, 0.1493145078420639, 0.44388651847839355, -0.0714886412024498, -0.2666286826133728, 0.23198537528514862, -0.15192796289920807, -0.5048434138298035, -0.6823901534080505, -0.5945174098014832, -0.38313162326812744, 0.09305661916732788, -0.8416610360145569, 0.27066436409950256, -0.5869085788726807, 0.1338249146938324, 0.006854305975139141, -0.024154003709554672, -0.8064979314804077, 0.24217256903648376, 0.46186816692352295, 0.8749895691871643, -0.830083429813385, 0.9207472801208496, 0.6389720439910889, -0.0015596983721479774, -0.7960687875747681, -0.2601882517337799, -0.015893826261162758, -1.0033191442489624, 0.6267157196998596, 0.3457525074481964, -0.33568647503852844, 0.1760193407535553, -0.4646105468273163, -0.7625970244407654, 1.3879618644714355, 0.38412225246429443, -0.8690295815467834, -0.3682115077972412, 0.26272276043891907, 0.5285855531692505, -0.49427464604377747, 0.18410728871822357, 0.6130695343017578, 0.036559365689754486, 0.21819670498371124, -0.6518533229827881, -0.08709485828876495, 0.16377222537994385, -0.00679774908348918, -0.01676810532808304, -0.5462943315505981, 0.7004557251930237, -0.5318512320518494, -0.234800785779953, 0.22695697844028473, 0.4270138144493103, 0.18658146262168884, 0.43972107768058777, 0.03245506435632706, 0.3562977612018585, 0.6860391497612, -0.015732131898403168, 0.8757537007331848, -0.48775768280029297, -0.013580619357526302, 1.1918447017669678, -0.3137437403202057, 1.0183619260787964, 0.15282632410526276, -0.3035939335823059, 0.7427723407745361, 0.40280789136886597, -0.02302742935717106, 0.4855978190898895, 0.38485684990882874, -0.15946365892887115, -0.3364463448524475, -0.07987383753061295, -0.11990421265363693, 0.34227198362350464, 0.5002474188804626, -0.37515756487846375, -0.057672061026096344, 0.04426418989896774, -0.11735259741544724, 0.028032807633280754, -0.657966136932373, 0.8264585733413696, -0.04995220527052879, -0.6051817536354065, 0.5274420380592346, -0.274580717086792, 0.7815321087837219, -0.6176149845123291, -0.2147516906261444, -0.23803727328777313, 0.17165201902389526, 0.045619744807481766, -0.6725115776062012, -0.12832419574260712, -0.019518911838531494, -0.2033967673778534, -0.23860234022140503, 0.6718183755874634, -0.4972628355026245, -0.48192813992500305, 0.4722197949886322, 0.7300863862037659, -0.02170587331056595, 0.29869791865348816, -0.2439582198858261, -0.23804128170013428, -0.08813615888357162, -0.19389434158802032, 0.4486786723136902, 0.5117617249488831, -0.002735678106546402, 1.0819265842437744, 0.565649151802063, 0.0784352570772171, 0.4431381821632385, 0.17252299189567566, 0.583511471748352, -0.8426956534385681, -0.18117663264274597, -1.0691723823547363, 0.39923056960105896, 0.3655990958213806, -0.07492095232009888, 0.8542672991752625, 0.38313689827919006, 1.1751182079315186, -0.18100662529468536, 0.8302560448646545, 0.4066333770751953, 0.9199867248535156, -0.576566755771637, 0.427924245595932, -0.2735186219215393, 0.4410090744495392, -0.1363198608160019, -0.5999671220779419, -0.3099362552165985, 0.41577810049057007, -0.3812803328037262, 0.1696731150150299, 0.06220617517828941, 0.7195937633514404, 0.07300137728452682, 0.09843047708272934, 0.5476531982421875, 0.23222370445728302, 0.34093692898750305, 0.6002722382545471, 1.1003875732421875, -0.11821962147951126, 0.28238964080810547, -0.215400829911232, 0.015655266121029854, -0.37105610966682434, -0.7462767362594604, -1.1418392658233643, -0.4232138693332672, -0.211247518658638, 0.06362952291965485, 0.19830216467380524, 0.5260559320449829, 0.5941988229751587, -0.8363249897956848, -0.5115386843681335, 0.0033852546475827694, 0.04983138293027878, -0.11049006134271622, -0.2117922306060791, 0.20009693503379822, -0.426167368888855, -0.5969715714454651, 0.3465888798236847, 0.11229617893695831, 0.40232956409454346, -0.35373204946517944, -0.035819459706544876, 0.13155753910541534, 0.05573442578315735, 0.7981851100921631, 0.44865158200263977, -0.7792801260948181, -0.3372449576854706, 0.30176782608032227, 0.23825328052043915, -0.15880638360977173, 0.8803794980049133, -1.1506378650665283, 0.4710468351840973, 0.1545592099428177, 0.5512126088142395, 0.41649365425109863, -0.21186161041259766, 0.5712682008743286, -0.48507896065711975, -0.3096209168434143, 0.25929495692253113, 0.1973799616098404, 0.30328723788261414, -0.10342594236135483, 0.3575681447982788, 0.03409915044903755, -0.4343041181564331, -0.7326768636703491, 0.14103804528713226, -0.5052685737609863, -0.25412046909332275, 0.990632176399231, -0.5165631175041199, -0.0555434487760067, -0.13096903264522552, -0.04585062712430954, 0.31571295857429504, -0.12579528987407684, 0.847057580947876, 0.6393704414367676, -0.22985777258872986, -0.16584660112857819, -0.8681225776672363, 0.3445136845111847, 0.36028334498405457, -0.41592684388160706, 0.17834274470806122, 0.536105215549469, 0.5908213257789612, -0.03946644812822342, 0.21946416795253754, 0.07633279263973236, 0.06985565274953842, -0.42882040143013, -0.24718451499938965, -0.29278135299682617, -0.6959360241889954, -0.41490721702575684, 0.16901566088199615, 0.17572464048862457, -0.09308589994907379 ]
http://arxiv.org/abs/2402.19170v2
http://arxiv.org/pdf/2402.19170v2
Improving Legal Judgement Prediction in Romanian with Long Text Encoders
2024-02-29T13:52:33
2024-03-04T20:54:34
Mihai Masala, Traian Rebedea, Horia Velicu
cs.CL
cs.CL, cs.AI
In recent years,the entire field of Natural Language Processing (NLP) has enjoyed amazing novel results achieving almost human-like performance on a variety of tasks. Legal NLP domain has also been part of this process, as it has seen an impressive growth. However, general-purpose models are not readily applicable for legal domain. Due to the nature of the domain (e.g. specialized vocabulary, long documents) specific models and methods are often needed for Legal NLP. In this work we investigate both specialized and general models for predicting the final ruling of a legal case, task known as Legal Judgment Prediction (LJP). We particularly focus on methods to extend to sequence length of Transformer-based models to better understand the long documents present in legal corpora. Extensive experiments on 4 LJP datasets in Romanian, originating from 2 sources with significantly different sizes and document lengths, show that specialized models and handling long texts are critical for a good performance.
[ -0.18221484124660492, -0.6190759539604187, 0.7274711728096008, 0.1444607377052307, -0.5976694226264954, -0.07451033592224121, -0.3934613764286041, -0.9034721851348877, 0.28232571482658386, 0.9468971490859985, -0.0377570204436779, -0.6617041230201721, -0.9029443860054016, 0.08037983626127243, -0.4762738347053528, 1.2130441665649414, 0.13958154618740082, 0.46749570965766907, -0.2826397716999054, -0.3351423442363739, -0.6337725520133972, -0.761864960193634, -0.42131707072257996, -0.4583107531070709, 0.31131917238235474, 0.007847671397030354, 0.6392934322357178, 0.29853975772857666, 0.7293857336044312, 0.2730701267719269, -0.22978734970092773, -0.20028847455978394, -0.05100993439555168, 0.24661050736904144, -0.36350300908088684, -0.7750133275985718, -0.4289679527282715, -0.3994620144367218, 0.4886643588542938, 0.367587149143219, -0.317037433385849, -0.02892734482884407, -0.11603488028049469, 0.8387841582298279, -0.46578577160835266, 0.17508265376091003, -0.42777976393699646, 0.5227828621864319, -0.14272259175777435, -0.4012887477874756, -0.7090616822242737, -0.30035242438316345, 0.2640741169452667, -0.29948344826698303, 0.46305418014526367, 0.21323172748088837, 0.8231499791145325, 0.3919171392917633, -0.6210706830024719, -0.36997368931770325, -0.9954769015312195, 0.5021249055862427, -0.756871223449707, 0.5294564962387085, 0.3367438018321991, 0.5272713899612427, -0.38950708508491516, -0.9593765735626221, -0.2769530415534973, -0.5126057863235474, -0.19316387176513672, 0.33260154724121094, -0.4871855080127716, 0.3536011278629303, 0.4205709397792816, 0.008370651863515377, -0.5247585773468018, 0.40858346223831177, -0.5755671262741089, 0.02608289010822773, 0.5870545506477356, 0.012024838477373123, -0.17040576040744781, -0.273087739944458, -0.05256368964910507, 0.29747962951660156, -0.5529457926750183, 0.2202540934085846, 0.580581784248352, 0.08953806012868881, 0.210306316614151, 0.7616187930107117, -0.11148767173290253, 0.8189297914505005, 0.3553827404975891, 0.0013777825515717268, 0.2937154471874237, 0.14268147945404053, -0.4954484701156616, 0.19053968787193298, 0.7689652442932129, 0.49269339442253113, 0.34893283247947693, -0.13920503854751587, -0.3470347225666046, 0.02833016775548458, 0.4874613285064697, -0.8516192436218262, 0.20248369872570038, 0.39443475008010864, -0.5804567337036133, -0.07988306134939194, 0.11312579363584518, -0.9705155491828918, -0.5970040559768677, -0.5769233703613281, -0.07013269513845444, -0.476138174533844, 0.18512675166130066, 0.6715595126152039, -0.08592025935649872, 0.3628809452056885, 0.39866337180137634, -0.6924988627433777, 0.5020696520805359, 0.7816368341445923, 0.5252891778945923, -0.11673600226640701, 0.2772546112537384, -0.8143224716186523, -0.07621948421001434, -0.1503411829471588, 0.6712356209754944, -0.7586708068847656, -0.42665988206863403, 0.2694915235042572, 0.08422990888357162, 0.15904554724693298, -0.5621529817581177, 1.4127205610275269, -0.779126763343811, 0.3776250183582306, 0.26260215044021606, -0.860571026802063, -0.21313700079917908, 0.23594850301742554, -0.8888427019119263, 0.5476166009902954, -0.09029220044612885, -1.0351306200027466, 0.7400407195091248, -0.7640781402587891, -0.7080820202827454, 0.3505780100822449, -0.37489789724349976, -0.670881450176239, 0.28805333375930786, 0.08861828595399857, 0.6501193642616272, -0.31004220247268677, 0.7079258561134338, -0.08177188038825989, -0.2556556463241577, -0.05297867953777313, -0.26890602707862854, 0.6847695708274841, 0.18784382939338684, -0.29910966753959656, 0.39937150478363037, -0.7561339139938354, -0.23987030982971191, -0.06236478313803673, -0.5951239466667175, -0.35079583525657654, 0.2766527831554413, 0.12223178893327713, 0.20268873870372772, 0.09515752643346786, -0.6442321538925171, 0.11198853701353073, -0.394447386264801, 0.2015545815229416, 0.45882049202919006, -0.10873039811849594, 0.5235994458198547, -0.06145944818854332, 0.9620009064674377, 0.009856455959379673, 0.02882121317088604, 0.08690838515758514, -0.7812695503234863, -0.8732831478118896, 0.08403000980615616, 0.807071328163147, 0.7617278099060059, -0.444151371717453, 0.7882964015007019, -0.734339714050293, -0.3921950161457062, -0.5185225605964661, -0.2601209282875061, 0.05754473805427551, 0.21090833842754364, 0.44397178292274475, -0.4244723916053772, -0.8435660004615784, -1.0252381563186646, -0.5244003534317017, -0.057772886008024216, -0.24727530777454376, 0.1731719970703125, 0.8315857648849487, -0.26792722940444946, 1.146282434463501, -0.25427350401878357, -0.5056551098823547, -0.45055800676345825, 0.028937634080648422, 0.7273260354995728, 0.25710734724998474, 0.6067145466804504, -1.04316246509552, -0.35731998085975647, 0.18159715831279755, -0.5878346562385559, 0.30179160833358765, -0.38042977452278137, 0.1017545834183693, 0.3812115490436554, 0.45512819290161133, -0.6270189881324768, 0.5405278205871582, 0.2865866720676422, -0.7916439175605774, 0.6617255806922913, -0.5233088135719299, 0.0595930740237236, -0.8986613750457764, -0.1571090966463089, 0.4058939814567566, -0.8168774843215942, -0.7221633195877075, 0.2799168527126312, 0.2614271938800812, 0.24972820281982422, -0.45035648345947266, 0.1531439870595932, -0.29149386286735535, -0.2145206332206726, -0.16350272297859192, -0.21300667524337769, -0.034301310777664185, 0.36651355028152466, 0.411557674407959, 0.36940890550613403, 0.2973247766494751, -0.37781739234924316, 0.5024104118347168, 0.07644981145858765, -0.7244821190834045, 0.6283114552497864, -0.7285662293434143, -0.06345714628696442, -0.4432242810726166, 0.5062787532806396, -0.11244666576385498, -0.010311185382306576, 0.22349482774734497, -0.22748371958732605, 0.6359392404556274, -0.6939565539360046, -0.5393377542495728, -0.6223915219306946, 0.11296433210372925, 0.1130828857421875, 0.48543059825897217, -0.3040716052055359, 1.1255593299865723, 0.23777620494365692, -0.018126817420125008, -0.7947750091552734, -0.6944872736930847, 0.3506065607070923, -0.5700708031654358, -0.5624369978904724, 0.596103847026825, 0.05737289413809776, -0.2261994481086731, -0.1110323965549469, 0.3621334433555603, -0.018416324630379677, -0.21062886714935303, 0.5494600534439087, 0.0876656025648117, -0.2243286818265915, 0.20330896973609924, 0.08032523095607758, -0.026280833408236504, 0.45915544033050537, -0.30409660935401917, 0.5198476314544678, -0.3275497257709503, -0.2869463562965393, -0.2267724722623825, 0.3964148461818695, 0.5361005067825317, -0.46124809980392456, 0.5253263115882874, 0.28063294291496277, -0.4187792241573334, -0.0334031917154789, -0.6461101174354553, 0.35717344284057617, -0.3825790286064148, 0.4875126779079437, -0.46771812438964844, -0.840576171875, 0.5339611768722534, 0.03206895291805267, -0.0027875215746462345, 0.6669749617576599, 0.7465204000473022, 0.2142687290906906, 0.7017594575881958, 0.894826352596283, -0.274851530790329, 0.548933207988739, -0.2213555872440338, 0.3247595727443695, -0.3729776442050934, -0.31297385692596436, -0.5982427597045898, -0.1093125268816948, -0.8349798917770386, -0.5632925629615784, 0.15364868938922882, -0.15683774650096893, 0.024916693568229675, 0.4874233305454254, -0.23907476663589478, 0.6705990433692932, 0.6584886908531189, 0.16004115343093872, 0.4449155926704407, 0.05223848298192024, -0.18028898537158966, -0.010717438533902168, -0.457133024930954, -0.47340086102485657, 1.183677315711975, 0.5144874453544617, 0.3766190707683563, -0.04837116226553917, 0.9357622861862183, 0.4219284653663635, -0.06768248230218887, -1.0535175800323486, 0.38045549392700195, -0.3149261772632599, -0.425471693277359, -0.20648778975009918, -0.3285094201564789, -1.1418670415878296, 0.18659743666648865, -0.3335878252983093, -0.3131170868873596, 0.33790966868400574, -0.3306812345981598, -0.6002297401428223, 0.1961609423160553, -0.12116851657629013, 0.5762299299240112, -0.12415585666894913, -0.2884751260280609, -0.5368465781211853, -0.7342637777328491, 0.16590064764022827, -0.24700693786144257, 0.17811240255832672, 0.017403731122612953, 0.26535189151763916, 0.9481139183044434, -0.34357398748397827, 0.4790725111961365, -0.18957892060279846, -0.06595000624656677, 0.3164144456386566, -0.05009447783231735, 0.6431831121444702, -0.027165252715349197, -0.3131464719772339, -0.020595313981175423, 0.01696966029703617, -0.15579360723495483, -0.5942267775535583, 0.3729061186313629, -0.45336300134658813, -0.6229161024093628, -0.5931560397148132, -0.17068074643611908, 0.05384116619825363, 0.11135916411876678, 0.4124399721622467, 0.11144262552261353, -0.32975834608078003, 0.26030266284942627, 0.4295768141746521, -0.10945352911949158, 0.3221164047718048, 0.6888995170593262, -0.10713732987642288, -0.20565733313560486, 0.33154621720314026, 0.10766537487506866, -0.3564779758453369, 0.33442452549934387, 0.10636956989765167, -0.3744044005870819, -0.8321011662483215, -0.3820266127586365, 0.02216876484453678, -0.9456992745399475, -0.3838903307914734, -0.6265376210212708, -0.22467313706874847, -0.2263747900724411, -0.031744033098220825, -0.23383353650569916, -0.5112504363059998, -0.28354597091674805, -0.4082496464252472, 0.3145844042301178, 0.666504979133606, 0.2329818606376648, 0.0033652184065431356, -0.7284902334213257, 0.3889363408088684, -0.057886119931936264, 0.5542363524436951, -0.5044819712638855, -0.984158992767334, -0.3609359860420227, -0.13541805744171143, -0.14368347823619843, -0.6243954300880432, 0.7022426724433899, 0.045745737850666046, 0.48356327414512634, 0.4364829361438751, 0.04925595596432686, 0.4852537512779236, -0.9327940940856934, 0.5205810070037842, 0.3037619888782501, -0.6104304790496826, 0.6547313332557678, -0.26477813720703125, -0.08427412062883377, 0.43192151188850403, 0.34714579582214355, -0.528352677822113, -0.40622636675834656, -0.6167846322059631, -0.8461126089096069, 0.2623322010040283, 0.19200119376182556, 0.3242504894733429, 0.13019317388534546, 0.4643952548503876, 0.23782320320606232, -0.0335177406668663, -0.72878497838974, 0.16454511880874634, -0.04044276475906372, -0.10135866701602936, 0.0003648033016361296, -0.30348101258277893, 0.01279799547046423, -0.41101959347724915, 0.551807701587677, -0.06437591463327408, 0.18024815618991852, 0.15184922516345978, -0.25899264216423035, -0.0363411046564579, 0.5959985256195068, 0.7063358426094055, 0.8043084740638733, -0.3512676954269409, -0.30810871720314026, 0.25230321288108826, -0.458498477935791, 0.10141441226005554, 0.08409998565912247, -0.08541826903820038, 0.3910301625728607, 0.3688221871852875, 0.9482031464576721, -0.06851758807897568, -0.6051357984542847, 0.6455457210540771, -0.339659184217453, -0.30391940474510193, -0.9814746975898743, -0.15959489345550537, -0.08505608141422272, 0.4786420464515686, 0.25203362107276917, 0.20677118003368378, 0.49355417490005493, -0.3782872259616852, 0.26954153180122375, 0.06158018857240677, -0.2836697995662689, -0.051302872598171234, 0.6634535789489746, 0.2804071605205536, -0.3671090006828308, 0.6260561347007751, -0.011794201098382473, -0.4855908155441284, 0.7711232900619507, 0.3621510863304138, 0.9344001412391663, 0.03910049423575401, -0.050084423273801804, 0.32601165771484375, -0.018053296953439713, -0.5080693364143372, -0.029556527733802795, 0.11347881704568863, -0.6324878931045532, -0.62800532579422, -0.8001779913902283, -0.25748908519744873, 0.043783023953437805, -0.9295653700828552, 0.569310188293457, -0.45849841833114624, -0.5595666766166687, -0.12406110763549805, 0.13020282983779907, -0.9637216329574585, 0.31993040442466736, 0.25851428508758545, 1.0411070585250854, -0.5645877122879028, 0.9984094500541687, 0.1700713187456131, -0.16754481196403503, -0.021313883364200592, -0.22185327112674713, -0.47959235310554504, -0.3242915868759155, 0.8589534163475037, 0.40798419713974, -0.043599482625722885, -0.4672890305519104, -0.2950722575187683, -0.4092244505882263, 0.840976357460022, 0.35767024755477905, -1.3346314430236816, -0.404857873916626, 0.39876118302345276, 0.9745317101478577, -0.3971361517906189, 0.12268815189599991, 0.916664183139801, 0.5035120844841003, -0.07147830724716187, -0.7685995697975159, -0.12461934983730316, -0.25964710116386414, -0.10790989547967911, 0.29211926460266113, -0.06657012552022934, 0.24594786763191223, -0.152119979262352, 0.06417147070169449, -0.03325009346008301, 1.0551996231079102, 0.04929424077272415, 0.21506528556346893, 0.5057734847068787, 0.6737619042396545, 0.9347338676452637, -0.03203589841723442, 1.2391844987869263, -0.5152241587638855, 0.24636393785476685, 1.375184416770935, -0.23361428081989288, 1.0721794366836548, 0.46669667959213257, -0.09691737592220306, 0.7331697940826416, 0.5528436303138733, -0.6043891906738281, 0.2749921381473541, 0.4066343605518341, -0.12478990107774734, -0.4049132168292999, 0.09822352230548859, -0.17301924526691437, 0.6225073933601379, 0.335565984249115, -0.9150242805480957, 0.21322230994701385, -0.04277878627181053, -0.062170542776584625, 0.14439715445041656, -0.3606552183628082, 0.7224435210227966, -0.007173503749072552, -0.7803657054901123, 0.18707095086574554, 0.5096986889839172, 0.960926353931427, -0.3193179666996002, 0.021447043865919113, -0.05129565671086311, 0.2729836404323578, -0.24082887172698975, -1.0159026384353638, 0.36406540870666504, 0.11901512742042542, -0.36391353607177734, -0.26465678215026855, 0.731991171836853, -0.22119759023189545, -0.8199073672294617, 0.7636165022850037, 0.1694970726966858, 0.1977986842393875, -0.22876174747943878, -0.6337123513221741, -0.5326098203659058, -0.2127179354429245, -0.44773510098457336, 0.34021082520484924, 0.4600406587123871, -0.25263479351997375, 0.6177160739898682, 0.3855321705341339, 0.1549503654241562, 0.13989859819412231, 0.44493579864501953, 0.7907183170318604, -0.7633007168769836, -0.6275277733802795, -0.9219542741775513, 0.5119795799255371, -0.07111043483018875, -0.1718727946281433, 0.26394253969192505, 0.7825425267219543, 0.7643271088600159, -0.18804669380187988, 0.7055718898773193, 0.08851969987154007, 0.3080716133117676, -0.7597655653953552, 0.6562304496765137, -0.14096352458000183, 0.08124056458473206, 0.11845343559980392, -0.8879289031028748, -0.5495182275772095, 0.42712533473968506, -0.3645358085632324, -0.13398155570030212, 0.4846562445163727, 0.3730680048465729, -0.14010567963123322, -0.06326071918010712, 0.561860203742981, 0.0453428253531456, 0.4541586637496948, 0.5149227976799011, 0.4635111689567566, -0.3206481337547302, 0.5061872005462646, -0.11747842282056808, 0.19558507204055786, -0.38768118619918823, -0.8631328344345093, -0.8792579174041748, -0.4232271611690521, -0.04358602315187454, -0.43170127272605896, 0.12301097065210342, 0.8904707431793213, 0.428811639547348, -0.9202905297279358, -0.23546625673770905, -0.21916693449020386, -0.147875115275383, 0.15685468912124634, -0.1676952838897705, 0.3432181775569916, -0.23595567047595978, -0.7118990421295166, 0.29546838998794556, -0.010203712619841099, 0.025122782215476036, 0.045529577881097794, -0.3331749439239502, 0.0051204729825258255, 0.01897243969142437, 0.750481903553009, 0.0463828444480896, -0.8460489511489868, -0.27308720350265503, -0.42580848932266235, 0.09522352367639542, 0.4564818739891052, 1.0872801542282104, -0.961544394493103, 0.34305229783058167, 0.6029201745986938, 0.31370219588279724, 0.7346981167793274, -0.017877105623483658, 0.972542941570282, -0.5410287976264954, 0.19616229832172394, 0.6582512855529785, 1.0786006450653076, 0.23155193030834198, -0.3908163607120514, 0.7458159327507019, -0.07692817598581314, -0.6081496477127075, -0.43481332063674927, 0.17647476494312286, -0.8600917458534241, -0.35732656717300415, 1.0968821048736572, -0.41269704699516296, -0.20837435126304626, -0.10579074919223785, -0.15152429044246674, 0.3247523009777069, -0.5014963150024414, 0.7294818758964539, 0.5807861685752869, 0.1727510243654251, -0.03390428423881531, -0.7982441782951355, 0.43573445081710815, 0.30531972646713257, -0.656289279460907, 0.027337007224559784, 0.5780024528503418, 0.3263702690601349, 0.3552456796169281, 0.2925466001033783, -0.08790244162082672, 0.3095003366470337, -0.3498665988445282, 0.08494914323091507, 0.04428575932979584, -0.5108367204666138, -0.7795722484588623, 0.26047247648239136, -0.13647033274173737, 0.17125385999679565 ]
http://arxiv.org/abs/2402.19167v2
http://arxiv.org/pdf/2402.19167v2
Teaching Large Language Models an Unseen Language on the Fly
2024-02-29T13:50:47
2024-06-13T04:58:21
Chen Zhang, Xiao Liu, Jiuheng Lin, Yansong Feng
cs.CL
cs.CL
Existing large language models struggle to support numerous low-resource languages, particularly the extremely low-resource ones, for which there is minimal training data available for effective parameter updating. We thus investigate whether LLMs can learn a new language on the fly solely through prompting. To study this question, we collect a research suite for Zhuang, a language supported by no LLMs currently. We introduce DiPMT++, a framework for adapting LLMs to unseen languages by in-context learning. Using a dictionary and 5K parallel sentences only, DiPMT++ significantly enhances the performance of GPT-4 from 0 to 16 BLEU for Chinese-to-Zhuang translation and achieves 32 BLEU for Zhuang-to-Chinese translation. We also validate the effectiveness of our framework on Kalamang, another unseen language. Furthermore, we demonstrate the practical utility of DiPMT++ in aiding humans in translating completely unseen languages, which could contribute to the preservation of linguistic diversity.
[ -0.0608363002538681, -0.66094571352005, 0.45687368512153625, 0.3546799421310425, -0.3301956057548523, 0.4544442594051361, -0.6090539693832397, -0.43594324588775635, -0.12164624780416489, 0.2964654266834259, -0.56491619348526, -0.22167633473873138, -0.43270981311798096, 0.23400257527828217, -0.24209003150463104, 0.7649316191673279, 0.08973459899425507, 0.16226698458194733, 0.21428827941417694, 0.0765252411365509, -0.3132767379283905, -0.3015730082988739, -0.42972224950790405, -0.2918626666069031, 0.6155489683151245, 0.7647961974143982, 0.6297500133514404, 0.600963830947876, 0.15152037143707275, 0.21469569206237793, -0.13832731544971466, 0.429866760969162, -0.5614199042320251, -0.34111320972442627, -0.017580686137080193, -0.6780226826667786, -0.32506388425827026, -0.06526347249746323, 0.9389052391052246, 1.0153777599334717, 0.03930916637182236, -0.21690921485424042, 0.22901888191699982, 0.6921408176422119, -0.43590056896209717, -0.06803306192159653, -0.7873479723930359, 0.14691820740699768, -0.1482839733362198, -0.349829763174057, -0.4354000985622406, -0.36568257212638855, 0.1960056871175766, -0.6153658628463745, -0.15078087151050568, -0.2998870015144348, 0.7726051211357117, 0.01497083529829979, -0.7148258090019226, -0.1439885050058365, -0.6068486571311951, 0.714156985282898, -0.5292428135871887, 0.3328649401664734, 0.20210030674934387, 0.1524999588727951, -0.3775881826877594, -0.4408092796802521, -0.432738333940506, -0.7758364677429199, 0.011741788126528263, 0.2178945541381836, 0.15558132529258728, 0.1342260092496872, 0.13275137543678284, 0.3271847367286682, -0.3079223930835724, 0.25609928369522095, -0.1847037374973297, 0.15412059426307678, 0.28075096011161804, -0.06315281987190247, 0.345862478017807, -0.11449312418699265, -0.5861120820045471, -0.07985758781433105, -0.9149062633514404, 0.014967179857194424, 0.08565539866685867, 0.5828654170036316, -0.4404065012931824, 0.36644113063812256, -0.03996973857283592, 0.829799234867096, 0.07450339943170547, 0.07140737026929855, 0.2221234291791916, -0.02156628482043743, -0.32651665806770325, -0.23666037619113922, 0.5230517387390137, -0.14072293043136597, 0.20434440672397614, -0.2599608600139618, -0.18612366914749146, -0.4956658184528351, -0.1277892142534256, -0.7380619645118713, -0.11265110969543457, -0.049518607556819916, -0.07287966459989548, -0.2464776188135147, -0.07726414501667023, -0.2716251313686371, -0.6406262516975403, -0.08313669264316559, 0.5091738700866699, -0.6468828916549683, -0.5001509785652161, 0.1146184504032135, 0.03136684000492096, 0.5982275605201721, 0.6020002961158752, -0.8075572848320007, 0.014438917860388756, 0.5446330308914185, 1.0246132612228394, -0.17207658290863037, -0.8670502305030823, -0.7793645858764648, 0.31384971737861633, -0.778042197227478, 0.6809872388839722, -0.5451831817626953, -0.6117103099822998, 0.0036004758439958096, -0.030497392639517784, -0.1286161243915558, -0.6095533967018127, 0.3813159763813019, -0.29858049750328064, 0.10213220864534378, -0.4733492136001587, -0.5434145331382751, -0.2786867618560791, 0.277349591255188, -0.32764559984207153, 0.6773635745048523, 0.40630045533180237, -0.6108036041259766, 0.3038899004459381, -0.8532276749610901, -0.48950061202049255, 0.4853840172290802, -0.321550577878952, -0.09542736411094666, 0.3797141909599304, 0.08325670659542084, 0.4208514988422394, -0.06476138532161713, 0.25532087683677673, -0.13578222692012787, -0.5128765106201172, 0.35625872015953064, -0.7733603119850159, 0.9871410727500916, -0.017349369823932648, -0.2821218967437744, 0.028978556394577026, -0.6304274201393127, -0.002573576522991061, 0.0980401262640953, -0.9602435231208801, -0.05126069486141205, -0.18435661494731903, 0.052524831146001816, 0.09848663210868835, 0.26637208461761475, -0.3974476754665375, 0.594219982624054, -0.5435189008712769, 0.24712148308753967, 0.8370879888534546, -0.33232149481773376, 0.46752142906188965, -0.2617619037628174, 0.6144617199897766, 0.18286846578121185, -0.21587002277374268, -0.26607847213745117, -0.36152487993240356, -0.9614517688751221, -0.30595216155052185, 0.1599808633327484, 0.40841037034988403, -0.8941236734390259, -0.002395860617980361, -0.30765390396118164, -0.2316369116306305, -0.4498218595981598, 0.3006645739078522, 0.23630391061306, 0.3965451717376709, 0.14493930339813232, 0.061427246779203415, -0.435690313577652, -0.5600705742835999, -0.2718631625175476, -0.15709714591503143, -0.2640272378921509, 0.3050914406776428, -0.009726111777126789, -0.3929961025714874, 0.588096559047699, -0.10523451119661331, 0.07727021723985672, -0.5371615886688232, -0.02188877947628498, 0.3120874762535095, 0.3517935574054718, 0.43886563181877136, -0.6007951498031616, -0.6012086868286133, 0.594237208366394, -0.6334102749824524, -0.042185455560684204, -0.22870667278766632, -0.07491280138492584, 0.2577819526195526, 0.5057029724121094, -0.6255040168762207, -0.165461465716362, 0.7571030855178833, -0.27451062202453613, 0.45628201961517334, -0.5526824593544006, -0.18635670840740204, -1.1139755249023438, 0.008786953054368496, -0.3707635998725891, -0.37099263072013855, -0.735244870185852, 0.18327948451042175, 0.3765428066253662, -0.1376151740550995, -0.7658349275588989, 0.7942203283309937, -0.7706307172775269, 0.10400582104921341, -0.6622583866119385, 0.17197073996067047, -0.24439166486263275, 0.47480785846710205, 0.261866956949234, 0.7971545457839966, 0.8887635469436646, -0.7952539324760437, 0.14621587097644806, 0.1361970603466034, -0.30559229850769043, 0.2647901475429535, -0.19446076452732086, 0.05657077580690384, -0.04855402186512947, 0.10105529427528381, -0.5351412296295166, -0.5376040935516357, 0.3068317174911499, -0.47948649525642395, 0.5282769203186035, -0.2696273624897003, -0.22944414615631104, -0.0934797152876854, -0.26582634449005127, 0.12873290479183197, 0.45957309007644653, -0.7621989846229553, 0.3816696107387543, 0.10645953565835953, 0.2243628352880478, -0.5548617839813232, -0.7207058072090149, 0.2756073474884033, -0.17133228480815887, -0.05867438390851021, -0.16800400614738464, -0.24370726943016052, -0.024039417505264282, -0.27694764733314514, -0.05332639813423157, -0.17703795433044434, 0.42440640926361084, 0.1303284913301468, 0.10685505717992783, -0.2325722873210907, 0.20285506546497345, -0.029637396335601807, -0.08489084988832474, -0.13021793961524963, -0.5040832161903381, 0.4777684509754181, -0.4214574098587036, -0.2992989420890808, -0.1917673647403717, 0.03313204646110535, 0.5531358122825623, -0.04505699500441551, 0.5441983342170715, 0.6793730854988098, -0.2620825171470642, -0.45710283517837524, -0.008913591504096985, 0.04514184221625328, -0.6202092170715332, 0.5088992714881897, -0.4052795171737671, -1.0476477146148682, 0.2841710150241852, -0.38291671872138977, 0.06336213648319244, 0.01322861947119236, 0.7613672018051147, 0.06683526188135147, 0.551815927028656, 1.0065096616744995, -0.24122627079486847, 0.6535220742225647, -0.12228080630302429, -0.10632142424583435, -0.631544828414917, -0.08973950892686844, -0.0857345312833786, -0.10376553237438202, -0.8123593926429749, -0.6066781878471375, 0.4507339596748352, 0.36666977405548096, -0.0699564591050148, 0.40199825167655945, -0.2449391633272171, 0.7525702714920044, 0.567308783531189, 0.14190654456615448, 0.3615072965621948, -0.028806816786527634, -0.22750791907310486, 0.4038083851337433, -0.858674168586731, -0.2502000629901886, 0.9774798154830933, 0.13381901383399963, 0.6039499044418335, 0.029688723385334015, 0.6967145800590515, 0.002758881077170372, 0.43416330218315125, -0.9258357286453247, 0.6709244847297668, -0.02003897726535797, -0.5269408226013184, -0.461357057094574, -0.5070431232452393, -1.0246661901474, 0.5032987594604492, 0.10018523782491684, -0.5364798903465271, -0.01831469126045704, 0.054914433509111404, -0.24641045928001404, 0.4433816373348236, -0.8317455649375916, 0.5528383255004883, -0.6692093014717102, -0.2874738574028015, -0.06441144645214081, -0.5019960999488831, 0.442900687456131, -0.3900870978832245, 0.15288248658180237, -0.2499460130929947, -0.4672570824623108, 0.31458601355552673, -0.070425845682621, 0.884856104850769, -0.15725195407867432, -0.5134146213531494, 0.13419021666049957, 0.40652593970298767, 0.5060401558876038, 0.18740767240524292, -0.062001604586839676, 0.11789041012525558, -0.259103000164032, -0.6251229047775269, -0.38673537969589233, 0.8002296090126038, -0.8161211609840393, -0.8075188994407654, -0.3249236047267914, -0.843237042427063, -0.3220365643501282, 0.4894189238548279, 0.08257561922073364, -0.03572537750005722, -0.01128689106553793, 0.14311759173870087, 0.47691866755485535, -0.5269064903259277, 0.6401873826980591, 0.9591735601425171, -0.36375662684440613, -0.20539630949497223, 0.937836766242981, 0.04454153776168823, 0.3493022620677948, 0.7755830883979797, 0.6413506865501404, -0.023928308859467506, -0.4924141466617584, -0.6895954012870789, 0.271507203578949, -0.610909104347229, -0.060694970190525055, -0.5009149312973022, -0.13730427622795105, 0.16143369674682617, -0.3101360499858856, -0.3940551280975342, -0.29399311542510986, -0.3177277743816376, -0.15198315680027008, 0.44347190856933594, 0.5611233711242676, -0.4110558032989502, 0.3362809419631958, -0.8580775260925293, 0.18946483731269836, 0.33534377813339233, 0.33842405676841736, 0.007739195600152016, -0.7130223512649536, -0.4634634554386139, 0.28527241945266724, -0.18008765578269958, -0.5284278988838196, 0.24691058695316315, 0.4090597927570343, 0.4094558656215668, 0.6024225354194641, 0.07635608315467834, 0.743554413318634, -0.6035537123680115, 0.7241899967193604, -0.0042282347567379475, -1.0395615100860596, 0.3865963816642761, -0.8867365717887878, 0.5892652869224548, 0.27385756373405457, 0.40765270590782166, -0.7778070569038391, -0.44248485565185547, -0.25562331080436707, -0.41407597064971924, 0.9057543873786926, -0.09929275512695312, 0.610460638999939, -0.052918463945388794, 0.21891768276691437, 0.20952045917510986, 0.2479202151298523, -1.1082134246826172, 0.0011539880651980639, -0.04536280408501625, 0.32419684529304504, -0.1366003304719925, -0.0534123033285141, 0.049710895866155624, -0.3412184715270996, 0.3093564808368683, -0.29066431522369385, 0.2592102587223053, -0.11515660583972931, -0.13255970180034637, -0.3905581533908844, 0.19603107869625092, 0.5181676149368286, 0.7619217038154602, -0.18753667175769806, 0.22679798305034637, 0.4214271306991577, -0.37467160820961, 0.20482952892780304, -0.17579147219657898, -0.18556451797485352, 0.06708753108978271, 0.46939507126808167, 0.6191189885139465, 0.32713639736175537, -0.8368393778800964, 0.5659106373786926, 0.26429566740989685, -0.14685003459453583, -0.06833408772945404, 0.19622808694839478, 0.38030973076820374, 0.22503197193145752, 0.3989172577857971, -0.21012145280838013, -0.21952106058597565, -0.48083382844924927, 0.10454145818948746, 0.5449345707893372, -0.27254748344421387, -0.45256489515304565, 0.6356223821640015, 0.18716850876808167, -0.23539568483829498, 0.3881862163543701, -0.15927442908287048, -0.4016473591327667, 0.2639453411102295, 0.6398921608924866, 0.8920331597328186, -0.3390063941478729, 0.4698357880115509, 0.01928616687655449, 0.38751041889190674, -0.03379445895552635, 0.1644873321056366, -0.33951982855796814, -0.7077844738960266, -0.4327770471572876, -0.5039659142494202, -0.8166808485984802, 0.4972262382507324, -0.18949970602989197, 0.4648832082748413, -0.37854573130607605, 0.4099971055984497, -0.3237224519252777, 0.017656873911619186, -0.38618752360343933, -0.0897301584482193, 0.32905951142311096, 0.8577589392662048, -0.6147733330726624, 1.211874008178711, 0.7569847702980042, -0.26588594913482666, -0.8437265753746033, 0.28011149168014526, -0.24597302079200745, -0.9737762212753296, 0.4386257827281952, 0.16716468334197998, -0.3076271712779999, 0.23759356141090393, -0.7061589360237122, -0.8033071160316467, 0.7633534073829651, 0.8699004650115967, -0.359996497631073, 0.015674997121095657, 0.2754404842853546, 0.5073436498641968, 0.14328116178512573, 0.17263075709342957, 0.23914243280887604, 0.3329063951969147, 0.1692507416009903, -0.9992488622665405, -0.08370191603899002, 0.01077563501894474, -0.10648062080144882, 0.03664558008313179, -0.9063060879707336, 0.986977219581604, -0.3681809604167938, -0.45050325989723206, 0.016820132732391357, 0.45855826139450073, 0.17817746102809906, -0.05743464082479477, 0.08560191094875336, 0.007272727321833372, 0.792299747467041, 0.23265381157398224, 0.8976655602455139, -0.17815347015857697, 0.2660827934741974, 1.019794225692749, -0.3071873188018799, 0.8716333508491516, 0.486724853515625, -0.17533262073993683, 0.25319594144821167, 0.6014033555984497, 0.17084099352359772, 0.40242135524749756, 0.18590611219406128, -0.5282882452011108, -0.3479752242565155, -0.04154409468173981, -0.37630948424339294, 0.44571051001548767, 0.2721913754940033, 0.07876288145780563, -0.6224961876869202, 0.309237539768219, 0.13912101089954376, -0.05112864449620247, -0.410268634557724, 0.5326600670814514, 0.29729536175727844, -0.36620938777923584, 1.2337703704833984, 0.06290382891893387, 0.799508810043335, -0.6559447050094604, 0.07091411203145981, -0.6530303955078125, 0.30206745862960815, -0.09981738775968552, -0.5305567979812622, -0.03458911553025246, 0.05429382249712944, 0.22983963787555695, -0.22165484726428986, 0.5238198637962341, -0.5389693379402161, -0.6232978701591492, 0.36291244626045227, 0.9350517392158508, 0.17535491287708282, 0.09781096130609512, -0.4159393012523651, -0.2753661274909973, 0.0190615002065897, -0.31144624948501587, 0.5488993525505066, 0.8630918264389038, 0.10515673458576202, 1.1529791355133057, 0.5303781628608704, 0.2341184765100479, 0.1924804151058197, -0.15184348821640015, 1.0844284296035767, -0.6941156387329102, -0.5125094652175903, -0.8954848051071167, 0.18209998309612274, 0.4336475133895874, 0.05973554775118828, 1.1188069581985474, 0.49474409222602844, 1.230096697807312, -0.4261227548122406, 0.9851263165473938, 0.10648681223392487, 0.4499152898788452, -0.4612904489040375, 0.8418141007423401, -0.6945475935935974, 0.2427382916212082, -0.18218457698822021, -0.7165676951408386, -0.3661888539791107, 0.4360330402851105, -0.1630217581987381, -0.07762788236141205, 0.5447700023651123, 0.6667785048484802, -0.16272825002670288, -0.37878283858299255, 0.7805007696151733, 0.2448878288269043, 0.2930935025215149, 0.8209021091461182, 1.1530972719192505, -0.06975232809782028, 0.5494681000709534, 0.19131450355052948, -0.1714346706867218, -0.2742098867893219, -0.901281476020813, -1.042380690574646, -0.3520718812942505, -0.11287888139486313, -0.11995229870080948, -0.04535258188843727, 1.1035329103469849, 0.5111857056617737, -0.619352400302887, -0.6964777708053589, -0.48709940910339355, 0.27060288190841675, -0.2384488731622696, -0.12249084562063217, 0.30855593085289, -0.4927714467048645, -0.868821382522583, 0.859090268611908, 0.35125187039375305, 0.292033851146698, -0.20659004151821136, -0.367899626493454, -0.12517742812633514, 0.031475797295570374, 0.6184486150741577, 0.5153079628944397, -0.6163039207458496, -0.2162812352180481, -0.005799575243145227, -0.047413330525159836, 0.2951861321926117, 0.7760271430015564, -0.7618919610977173, 0.40082889795303345, 0.1860312521457672, 0.909654974937439, 0.24671855568885803, -0.1871330589056015, 0.5881274342536926, -0.8727246522903442, 0.4540735185146332, 0.06888139992952347, 0.046351511031389236, 0.32919514179229736, -0.23922401666641235, 0.2686527967453003, 0.23196949064731598, -0.22637365758419037, -0.8963455557823181, 0.2882872521877289, -0.8105345368385315, -0.38197943568229675, 1.4869585037231445, -0.08476104587316513, -0.2024569809436798, 0.12886294722557068, -0.3453400135040283, 0.28310585021972656, -0.15555988252162933, 0.7369471788406372, 0.4956277906894684, 0.0007950172876007855, -0.4193325340747833, -0.4844001829624176, 0.6168712973594666, 0.22673125565052032, -0.7833609580993652, 0.39549019932746887, 0.310113787651062, 0.36252060532569885, -0.3732025921344757, 0.6760909557342529, 0.14441530406475067, 0.3146299719810486, -0.06554792076349258, -0.2228129357099533, -0.26943808794021606, -0.18333657085895538, -0.6204357743263245, -0.1928955316543579, 0.5053284168243408, -0.39067503809928894 ]
http://arxiv.org/abs/2403.00843v2
http://arxiv.org/pdf/2403.00843v2
Large Language Models are Learnable Planners for Long-Term Recommendation
2024-02-29T13:49:56
2024-04-26T07:41:07
Wentao Shi, Xiangnan He, Yang Zhang, Chongming Gao, Xinyue Li, Jizhi Zhang, Qifan Wang, Fuli Feng
cs.IR
cs.IR, cs.AI, cs.CL, cs.LG
Planning for both immediate and long-term benefits becomes increasingly important in recommendation. Existing methods apply Reinforcement Learning (RL) to learn planning capacity by maximizing cumulative reward for long-term recommendation. However, the scarcity of recommendation data presents challenges such as instability and susceptibility to overfitting when training RL models from scratch, resulting in sub-optimal performance. In this light, we propose to leverage the remarkable planning capabilities over sparse data of Large Language Models (LLMs) for long-term recommendation. The key to achieving the target lies in formulating a guidance plan following principles of enhancing long-term engagement and grounding the plan to effective and executable actions in a personalized manner. To this end, we propose a Bi-level Learnable LLM Planner framework, which consists of a set of LLM instances and breaks down the learning process into macro-learning and micro-learning to learn macro-level guidance and micro-level personalized recommendation policies, respectively. Extensive experiments validate that the framework facilitates the planning ability of LLMs for long-term recommendation. Our code and data can be found at https://github.com/jizhi-zhang/BiLLP.
[ -0.2288912683725357, -0.738859236240387, 0.5683725476264954, 0.4933704137802124, 0.036729224026203156, -0.1234024316072464, -0.46613451838493347, -0.18800343573093414, 0.37547534704208374, 0.6477042436599731, -0.9946243762969971, -0.5054683685302734, -0.07085482776165009, -0.26061493158340454, 0.0871119499206543, 1.1159048080444336, 0.09756676107645035, -0.07224485278129578, 0.13752837479114532, 0.0598037987947464, -0.9228339791297913, -0.24430325627326965, -1.145843267440796, -0.4937640428543091, 1.1435658931732178, 0.6774286031723022, 0.48631808161735535, 0.5073122382164001, -0.11665257811546326, 0.22749385237693787, -0.24451102316379547, 0.41587725281715393, -0.7189185619354248, 0.19756031036376953, -0.5344313383102417, -0.05430776998400688, -0.6779749393463135, -0.4657541513442993, 0.562501072883606, 0.7811561822891235, -0.5110352635383606, -0.05198235809803009, 0.1359427273273468, 0.8457884192466736, -0.324571818113327, 0.6493963599205017, -0.6305729746818542, 0.0410677045583725, 0.22360654175281525, -0.12526743113994598, -0.5350878238677979, -0.16494347155094147, 0.30053791403770447, -0.5006877779960632, -0.2659924030303955, 0.2156648337841034, 0.2233421802520752, 0.01186333131045103, -0.2620028257369995, -0.47471389174461365, -1.1653878688812256, 0.7195254564285278, -0.46453455090522766, 0.28870412707328796, 0.6278783679008484, 0.5933212041854858, -0.4336183965206146, -0.2961581349372864, 0.07674232870340347, -0.4075036346912384, 0.1945577710866928, -0.19926835596561432, 0.06958429515361786, 0.1289650946855545, 0.34763795137405396, 0.0690811276435852, -0.5359307527542114, 0.3669712543487549, -0.19184786081314087, 0.020580926910042763, 0.4907437860965729, 0.2206704467535019, -0.06823822110891342, 0.1598106026649475, -0.3349629044532776, 0.12695766985416412, -0.7658310532569885, 0.12960579991340637, 0.2620753049850464, 0.5635388493537903, -0.12887732684612274, 0.5354437232017517, -0.3272547721862793, 0.36215949058532715, 0.053720273077487946, -0.22864945232868195, -0.14208126068115234, -0.20757919549942017, -0.13652156293392181, -0.05685313791036606, 0.5190684199333191, 0.09344778954982758, 0.6459563970565796, -0.3542424440383911, -0.3103736340999603, -0.5647100806236267, 0.14133064448833466, -0.8067063689231873, -0.17396800220012665, 0.04496557265520096, -0.1521330624818802, 0.02885211445391178, -0.3538638651371002, -0.8231484293937683, -0.506815493106842, -0.32027700543403625, 0.2986776530742645, -0.6201295852661133, -0.08788203448057175, 0.4601094424724579, 0.3270449638366699, -0.1503860354423523, 0.2708437740802765, -1.187865138053894, 0.07431500405073166, 0.5285022854804993, 0.5833598971366882, 0.20639708638191223, -0.48122814297676086, -0.6909980773925781, 0.5684986114501953, -0.27524253726005554, 0.7102770209312439, -0.5095705986022949, -0.7465879917144775, 0.4708264172077179, -0.01527052279561758, 0.16584797203540802, -0.5113191604614258, 0.5424123406410217, -0.3574196398258209, -0.03507294878363609, -0.21900703012943268, -0.28110504150390625, -0.15204448997974396, 0.3407641053199768, -0.5094518065452576, 0.7239396572113037, 0.23644627630710602, -0.12706106901168823, 0.7181795835494995, -0.6533738970756531, -0.5199107527732849, 0.14322103559970856, -0.07680574804544449, -0.44718968868255615, -0.3913547992706299, 0.4233659505844116, 0.8098673820495605, -0.17197199165821075, 0.7173720598220825, -0.5477941036224365, -0.158560648560524, -0.13745112717151642, -0.2609204053878784, 0.10712986439466476, -0.07936856895685196, -0.1821547895669937, 0.5960000157356262, -0.9353511333465576, -0.15874598920345306, 0.0485137440264225, -0.7643870711326599, -0.25950145721435547, 0.39486730098724365, -0.044503334909677505, 0.15714234113693237, 0.2808220684528351, -0.1766832172870636, 0.6408433318138123, -0.6824052929878235, 0.547888457775116, 0.8976095914840698, 0.0183670986443758, 0.6481027007102966, -0.3034432828426361, 0.4362638592720032, -0.2418433427810669, -0.0033604453783482313, -0.17278613150119781, -0.09229404479265213, -0.7402682304382324, -0.11131588369607925, -0.0644136294722557, 0.2913134694099426, -0.8307933211326599, 0.7348026633262634, -0.2765483260154724, -0.2818952202796936, 0.10476727038621902, 0.3899473249912262, 0.36980167031288147, 0.02126331441104412, 0.532198965549469, 0.3005877137184143, -0.5961152911186218, -0.7066084742546082, -0.12890630960464478, -0.04556776583194733, 0.19415470957756042, 0.43469616770744324, 0.43363499641418457, -0.5757400393486023, 0.729025661945343, -0.548798143863678, -0.5157754421234131, -0.7634174227714539, -0.0034666103310883045, 0.34044161438941956, 0.16696222126483917, 0.35549280047416687, -0.32515597343444824, -0.4258130192756653, -0.04102921485900879, -0.3047158122062683, 0.1591712087392807, -0.3380226492881775, -0.24377793073654175, -0.05892040953040123, 0.43886598944664, -0.4083278477191925, 0.11620289087295532, 0.2944639325141907, -0.6117774844169617, 0.4194837510585785, -0.5922719240188599, -0.5469724535942078, -1.059675693511963, -0.2617323398590088, 0.3311939239501953, -0.4416678845882416, -0.25487086176872253, -0.2485179752111435, 0.04705696925520897, -0.19341924786567688, 0.026496712118387222, 0.7154881954193115, -0.19058449566364288, -0.016721734777092934, -0.32937437295913696, -0.2264566719532013, -0.4122677743434906, 0.9860621094703674, 0.08110728114843369, 0.5966558456420898, 0.24280071258544922, -0.6053816080093384, 0.28132501244544983, 0.2035568356513977, -0.4966318905353546, 0.4185962677001953, -0.6046121120452881, -0.16030754148960114, 0.04940708354115486, 0.5108690857887268, -0.6161985397338867, -0.09970293939113617, 0.16405582427978516, 0.14985297620296478, 0.3657665252685547, -0.3777080476284027, -0.2758809030056, -0.1621917188167572, -0.1645296961069107, 0.127666637301445, 0.1577768623828888, -0.7695916295051575, 0.7180078029632568, 0.3593693971633911, -0.46696481108665466, -0.5177879333496094, -0.13031987845897675, -0.04648689180612564, -0.06957750767469406, -0.2567654550075531, 0.17049017548561096, -0.24859420955181122, 0.14184258878231049, -0.12503400444984436, 0.21658410131931305, 0.30381542444229126, -0.30722808837890625, 0.811354398727417, 0.2714417576789856, 0.12749548256397247, 0.14659015834331512, -0.1350405514240265, -0.44108715653419495, 0.16131694614887238, -0.4154197573661804, 0.8814951777458191, -0.03429868817329407, -0.12143774330615997, -0.09152905642986298, 0.15409408509731293, 0.452880859375, -0.17581364512443542, 0.6354913711547852, 0.7370901703834534, -0.10400281846523285, -0.6965644359588623, -0.5046539306640625, 0.14140723645687103, -0.47360673546791077, 0.6541988253593445, -0.35295483469963074, -0.9966475963592529, 0.09676864743232727, -0.24315974116325378, 0.3699977993965149, 0.14096513390541077, 0.6156054735183716, 0.1639571487903595, 1.057856798171997, 0.9275217056274414, -0.48359763622283936, 0.6120539903640747, -0.5809658765792847, 0.047454558312892914, -0.712206244468689, -0.48844024538993835, -0.2339543104171753, -0.25590962171554565, -0.20467984676361084, -0.44743263721466064, 0.2590787410736084, -0.02616824395954609, -0.5091155171394348, 0.145483136177063, -0.17531757056713104, 0.39061471819877625, 0.42773672938346863, 0.021703090518712997, -0.08838973939418793, -0.006745248567312956, -0.19541002810001373, 0.133241206407547, -0.6346157789230347, -0.16422933340072632, 0.8020212054252625, 0.5883647799491882, 0.9597353935241699, -0.046172477304935455, 0.5236789584159851, 0.21953263878822327, -0.12893551588058472, -0.9161451458930969, 0.6601529717445374, -0.10156850516796112, -0.14188432693481445, -0.6178173422813416, -0.4757000803947449, -0.97183758020401, -0.15038268268108368, -0.5991954207420349, -0.6703945398330688, 0.24677948653697968, 0.1313508301973343, -0.36620357632637024, 0.35076868534088135, -0.3907468914985657, 0.6119682192802429, -0.4174000918865204, -0.6180815696716309, -0.6298015117645264, -0.20230525732040405, 0.047704290598630905, -0.21044224500656128, 0.28444159030914307, -0.16572734713554382, -0.008650355972349644, 0.7248210310935974, -0.07859283685684204, 0.8338369727134705, -0.20430950820446014, -0.11794793605804443, -0.13261140882968903, 0.329652339220047, 1.0143961906433105, 0.2700372040271759, -0.21649761497974396, -0.23319357633590698, -0.11967956274747849, -0.3503910005092621, -0.40928781032562256, 0.8660395741462708, -0.6089663505554199, -0.40213191509246826, -0.13056202232837677, -0.7490071058273315, -0.5444437861442566, 0.2540617287158966, -0.29418817162513733, 0.4693405032157898, -0.416077584028244, 0.2991315424442291, 0.4662739336490631, -0.6245608925819397, 0.40121641755104065, 0.6686392426490784, -0.8111218810081482, -0.650043785572052, 1.0308629274368286, 0.0964386835694313, -0.03321535885334015, 0.4254336655139923, 0.39940428733825684, -0.21801874041557312, -0.6332708597183228, -0.3015328347682953, 0.29829534888267517, -0.3975282311439514, 0.08394209295511246, -0.3871708810329437, -0.15861308574676514, -0.3307962119579315, -0.4006344676017761, -0.12457618862390518, -0.004210006445646286, 0.05059671774506569, -0.22940438985824585, 0.15094342827796936, 0.8474202156066895, -0.054338693618774414, 0.08208458870649338, -0.4353533983230591, 0.23421362042427063, 0.3082497715950012, 0.4136323928833008, -0.01195361278951168, -0.17070084810256958, -0.6678777933120728, 0.019606592133641243, 0.02036917395889759, -0.22228798270225525, 0.6980149745941162, 0.09745580703020096, 0.4999498426914215, 0.6958881616592407, -0.07370849698781967, 0.7563329935073853, -0.6111758351325989, 0.36807772517204285, 0.16706855595111847, -0.23700293898582458, 0.4964272379875183, -0.6714335083961487, 0.4756953716278076, 0.5113959312438965, 0.5364267230033875, -0.3332231342792511, -0.0067239063791930676, -0.2379341870546341, -0.9664682149887085, 0.6240448355674744, -0.43611031770706177, 0.13285186886787415, 0.20826798677444458, 0.5065485835075378, 0.19198869168758392, 0.13199816644191742, -0.8213356137275696, 0.12583434581756592, 0.35445213317871094, 0.154701367020607, -0.5388530492782593, -0.8873507976531982, -0.02939084731042385, -0.25744640827178955, 0.7447073459625244, -0.1445913314819336, -0.13076840341091156, -0.25498950481414795, 0.2525346279144287, -0.3362594544887543, 0.3969883918762207, 0.3942978084087372, 0.8115555047988892, -0.5665757060050964, -0.21136556565761566, 0.3657993674278259, -0.15354444086551666, -0.14239710569381714, -0.05036827176809311, -0.030263707041740417, -0.5072753429412842, 0.3742021322250366, 0.7963090538978577, 0.7493561506271362, -0.7334089875221252, 0.27850666642189026, 0.04349937289953232, -0.34301885962486267, -0.7454055547714233, 0.12770330905914307, 0.2740611732006073, 0.4514438211917877, -0.019174160435795784, -0.2687491774559021, -0.2337821125984192, -0.8619151711463928, -0.07275716960430145, 0.44187429547309875, -0.6548470258712769, 0.004102606792002916, 0.271679550409317, 0.4215606153011322, -0.3271854817867279, 0.42441684007644653, -0.10179726034402847, -0.2786622643470764, 0.06147514283657074, 0.6583501696586609, 0.5893420577049255, -0.01556292176246643, 0.3672232925891876, 0.33860862255096436, 0.05611681938171387, -0.17273472249507904, 0.09375816583633423, -0.20243041217327118, -0.36709532141685486, -0.3966347575187683, -0.8314688205718994, -0.15010617673397064, 0.23039866983890533, -0.3988865315914154, 0.5110580325126648, -0.8355204463005066, 0.04344742372632027, -0.15665678679943085, 0.25231805443763733, -0.4352826476097107, 0.0006996975862421095, 0.015406999737024307, 0.8656671643257141, -0.3691059947013855, 0.9430335164070129, 0.5039152503013611, -0.41487574577331543, -0.9665703773498535, -0.23273636400699615, -0.13322322070598602, -0.9132362008094788, 0.7496910691261292, -0.06574109196662903, -0.28422805666923523, -0.21807537972927094, -0.23629285395145416, -0.5729912519454956, 1.1422401666641235, 0.2022302895784378, -0.9028569459915161, -0.6866110563278198, 0.056257110089063644, 0.4600270986557007, -0.46072918176651, 0.07381930202245712, 0.23986689746379852, 0.4052775800228119, 0.3930377960205078, -0.7704196572303772, -0.15378864109516144, 0.1913645714521408, -0.09281758219003677, 0.5599673986434937, -0.5672934055328369, 0.5246124267578125, -0.410324364900589, 0.026598360389471054, 0.12380139529705048, 0.6176959872245789, 0.14141996204853058, 0.4234583079814911, 0.6346736550331116, 0.4686020016670227, 0.3479592502117157, 0.31048113107681274, 0.7087509632110596, -0.3213638663291931, 0.020190274342894554, 1.2757776975631714, -0.317594438791275, 1.0962395668029785, 0.09173323214054108, -0.016146892681717873, 0.7297660112380981, 0.5168397426605225, -0.15845157206058502, 0.5765303373336792, 0.07490053027868271, -0.018305178731679916, -0.46717971563339233, -0.028488414362072945, -0.10215160250663757, 0.06054231524467468, 0.5874109864234924, -0.3109378218650818, -0.38967132568359375, 0.0917571559548378, 0.06436286121606827, 0.08464302867650986, -0.6048181653022766, 0.8415787816047668, 0.1455991417169571, -0.6285930871963501, 0.3255716562271118, 0.05809906870126724, 0.7438940405845642, -0.9498002529144287, -0.15609462559223175, 0.05992887541651726, 0.3433922529220581, -0.24412521719932556, -0.795220673084259, -0.12626869976520538, -0.15487369894981384, -0.23983053863048553, -0.4157654047012329, 0.7872796654701233, -0.5293241739273071, -0.383637934923172, 0.6692203879356384, 0.3732542097568512, -0.17540544271469116, 0.089973583817482, -0.6130754947662354, -0.48821747303009033, 0.04424112290143967, -0.15673387050628662, 0.6306430101394653, 0.3469257056713104, 0.05478089302778244, 1.2266515493392944, 0.7342196702957153, 0.5672866702079773, -0.25447627902030945, 0.021307455375790596, 0.8431365489959717, -0.7694208025932312, -0.6423144936561584, -0.6513129472732544, 0.22786849737167358, 0.10557065904140472, -0.2504631578922272, 0.5154369473457336, 0.587081253528595, 0.8439597487449646, 0.09272821992635727, 0.4629376530647278, 0.3767930269241333, 0.557678759098053, -0.704521656036377, 0.3228035569190979, -0.41283711791038513, 0.8204798102378845, 0.13380199670791626, -1.1751229763031006, -0.04129929840564728, 0.34577327966690063, -0.8195313811302185, 0.22548049688339233, 0.26832693815231323, 0.8389275670051575, -0.059342797845602036, -0.3365817964076996, 0.6648544669151306, 0.07219109684228897, 0.4956282377243042, 1.0237767696380615, 0.7166290283203125, 0.563572883605957, 0.6166752576828003, -0.23056234419345856, -0.05196196213364601, -0.42819178104400635, -0.6126059293746948, -1.1657692193984985, -0.715054988861084, 0.08221403509378433, -0.3206501007080078, 0.5030866265296936, 1.4975016117095947, 0.7701635956764221, -0.3430223762989044, -0.49116072058677673, -0.06636141985654831, 0.1153096929192543, 0.030036594718694687, -0.14796362817287445, 0.46434539556503296, -0.2806321680545807, -0.5195850133895874, 0.7052207589149475, 0.5728482007980347, -0.15923985838890076, -0.5915974378585815, -0.42613866925239563, -0.28493621945381165, -0.03591660410165787, 0.8153838515281677, 0.5711409449577332, -0.46197429299354553, -0.12000024318695068, -0.45175614953041077, -0.08365475386381149, -0.36564555764198303, 1.002357006072998, -0.7280591726303101, 0.3473415672779083, 0.2263234555721283, 0.5121594071388245, 0.5759401321411133, -0.28412002325057983, 0.8002774119377136, -0.5542406439781189, 0.13941390812397003, 0.18036794662475586, 0.47790491580963135, -0.10367734730243683, -0.25750821828842163, 0.5681672692298889, -0.42722874879837036, -0.9226283431053162, -0.5941014885902405, 0.4045829772949219, -1.1076545715332031, -0.3670342266559601, 1.681858777999878, -0.12139824032783508, -0.02019129879772663, -0.11014676839113235, -0.6242859959602356, 0.0734124556183815, -0.6666709780693054, 0.7466890811920166, 0.4597172439098358, -0.06680963188409805, 0.002618839032948017, -0.5581254363059998, 0.6064783930778503, 0.12741923332214355, -0.5252805948257446, 0.35238248109817505, 0.6679831743240356, 0.17273010313510895, -0.1508733034133911, 0.5298988223075867, 0.2764233946800232, -0.08327864110469818, -0.3837495744228363, -0.1197538897395134, -0.3890864849090576, -0.7716357111930847, -0.2155272215604782, 0.13700059056282043, 0.5824792385101318, 0.3237162232398987 ]
http://arxiv.org/abs/2402.19133v1
http://arxiv.org/pdf/2402.19133v1
Evaluating Webcam-based Gaze Data as an Alternative for Human Rationale Annotations
2024-02-29T13:09:26
2024-02-29T13:09:26
Stephanie Brandl, Oliver Eberle, Tiago Ribeiro, Anders Søgaard, Nora Hollenstein
cs.CL
cs.CL
Rationales in the form of manually annotated input spans usually serve as ground truth when evaluating explainability methods in NLP. They are, however, time-consuming and often biased by the annotation process. In this paper, we debate whether human gaze, in the form of webcam-based eye-tracking recordings, poses a valid alternative when evaluating importance scores. We evaluate the additional information provided by gaze data, such as total reading times, gaze entropy, and decoding accuracy with respect to human rationale annotations. We compare WebQAmGaze, a multilingual dataset for information-seeking QA, with attention and explainability-based importance scores for 4 different multilingual Transformer-based language models (mBERT, distil-mBERT, XLMR, and XLMR-L) and 3 languages (English, Spanish, and German). Our pipeline can easily be applied to other tasks and languages. Our findings suggest that gaze data offers valuable linguistic insights that could be leveraged to infer task difficulty and further show a comparable ranking of explainability methods to that of human rationales.
[ -0.5263200402259827, -0.3190769851207733, 0.6566358208656311, 0.33898866176605225, -0.3332458734512329, -0.4577232301235199, -0.16122575104236603, -0.5777597427368164, 0.16125714778900146, 0.050974734127521515, -0.6399362087249756, -0.4919813275337219, -0.4126853048801422, 0.03895527496933937, -0.13525988161563873, 0.5257424116134644, -0.03144271299242973, 0.400741308927536, -0.3729802668094635, -0.12239636480808258, -0.1750071495771408, -0.5109235644340515, -0.4744488596916199, -0.06483009457588196, 0.6925250291824341, 0.12737806141376495, 0.6501166820526123, 0.40646472573280334, 0.7253862619400024, 0.25471702218055725, 0.2336026281118393, -0.08099943399429321, -0.20722903311252594, -0.3066744804382324, -0.12824445962905884, -0.6721788644790649, -0.3682682514190674, 0.48754608631134033, 0.17669729888439178, 0.9405787587165833, 0.02608313038945198, 0.714097797870636, 0.087534099817276, 0.8218827247619629, -0.7512175440788269, 0.3820095658302307, -0.24944336712360382, 0.12053240090608597, -0.165337473154068, -0.35438668727874756, -0.4122585654258728, -0.3186147212982178, 0.5527398586273193, -0.7316807508468628, 0.40390539169311523, 0.03862721100449562, 1.0123718976974487, 0.4710928797721863, -0.09707994759082794, -0.06449083983898163, -0.4820162057876587, 0.7824875116348267, -0.6267477869987488, 0.4708775579929352, 0.6625815629959106, 0.3727470338344574, 0.12204975634813309, -0.10935509949922562, -0.43222498893737793, -0.14032138884067535, -0.028348486870527267, 0.127137690782547, -0.10783308744430542, 0.15508787333965302, 0.6251400113105774, 0.1507362276315689, -0.5850317478179932, -0.18835729360580444, -0.19731013476848602, -0.24460025131702423, 0.35135313868522644, -0.2000489979982376, 0.574783980846405, -0.28208667039871216, -0.3324398696422577, -0.10426774621009827, -0.27167680859565735, 0.6019749641418457, 0.35312631726264954, 0.0018214198062196374, 0.18000027537345886, 0.6387561559677124, -0.5737963914871216, 0.6466455459594727, 0.1288212537765503, -0.1965125948190689, 0.2538588047027588, -0.033253904432058334, 0.03627119958400726, -0.2171286791563034, 0.48452603816986084, 0.7983068227767944, 0.21865631639957428, -0.5460033416748047, 0.31931695342063904, 0.36171597242355347, 0.5160361528396606, -0.42756325006484985, -0.18342682719230652, 0.4551860988140106, -0.4599453806877136, 0.06708747148513794, 0.07708100229501724, -0.818616509437561, -0.18263953924179077, -0.467963844537735, 0.4705994725227356, -0.3679002821445465, -0.11006109416484833, 0.0841495469212532, -0.3540187478065491, 0.6282384991645813, 0.6350456476211548, -0.729305624961853, -0.09190439432859421, 0.35995206236839294, 0.8529977798461914, -0.49808430671691895, -0.37228983640670776, -0.2037452757358551, -0.20251497626304626, -0.2843741178512573, 0.886695921421051, -0.3382771611213684, 0.26332545280456543, -0.1002875491976738, 0.005276476498693228, -0.3132060766220093, -0.4031566083431244, 0.6158427000045776, -0.5920793414115906, 0.2163798063993454, -0.44145098328590393, -0.32042285799980164, -0.7105540633201599, 0.2760857939720154, -0.7849798798561096, 0.8305112719535828, 0.1264384388923645, -0.7480484247207642, 0.6593909859657288, -0.7863208651542664, -0.19271832704544067, 0.2050953358411789, 0.12842482328414917, -0.18490813672542572, 0.02456812933087349, 0.2705523371696472, 0.5091995596885681, -0.3686957061290741, 0.26386669278144836, -0.29264411330223083, -0.23554350435733795, 0.5377177000045776, -0.5113782286643982, 0.9525192975997925, -0.11324475705623627, -0.8635299801826477, -0.29270464181900024, -0.805916965007782, 0.3743305802345276, -0.12052344530820847, -0.33781763911247253, -0.35570400953292847, 0.16719907522201538, 0.008943007327616215, 0.3276556730270386, -0.03614713251590729, -0.552394449710846, -0.3425350487232208, -0.1092575192451477, 0.17233906686306, 0.2776445150375366, -0.22109392285346985, 0.16262935101985931, -0.044723283499479294, 0.787276029586792, -0.10178171098232269, 0.3711981475353241, -0.015394654124975204, -0.5124260187149048, -0.8191220760345459, -0.09451772272586823, 0.261457622051239, 0.7387521266937256, -0.6152498126029968, -0.012647248804569244, -0.21518902480602264, -0.2944348156452179, -0.6568836569786072, 0.1124536320567131, 0.6155133247375488, 0.5281397104263306, 0.3958888053894043, -0.5339477062225342, -0.3550027310848236, -1.2229032516479492, -0.4158272445201874, -0.2738991379737854, -0.3363112509250641, 0.42707815766334534, 0.03048982098698616, -0.10247697681188583, 0.9489618539810181, -0.29413023591041565, -0.2038024514913559, -0.27374836802482605, 0.10644534230232239, -0.22773365676403046, 0.18729494512081146, 0.6602172255516052, -1.0903254747390747, -0.33543288707733154, -0.31768861413002014, -0.9610694050788879, -0.3559916019439697, -0.3027464747428894, -0.27644461393356323, 0.01708078756928444, 0.142098531126976, -0.8523966670036316, 0.586510419845581, 0.38777610659599304, -0.1916903704404831, 0.5661566257476807, 0.3527524471282959, 0.7407447099685669, -0.4566609263420105, 0.20215792953968048, 0.5662108659744263, -0.13788911700248718, -0.7101574540138245, 0.0552922748029232, 0.10450071096420288, 0.005501149222254753, -0.5862688422203064, 0.1605791300535202, -0.6126740574836731, -0.12789484858512878, -0.14035649597644806, 0.6455296874046326, 0.10744661837816238, 0.7862443923950195, 0.021452922374010086, 0.6006993651390076, 0.4581761956214905, -0.6775485277175903, 0.3551686406135559, 0.10673316568136215, -0.5133461356163025, 0.4739575684070587, -0.4582946002483368, -0.07388047128915787, -0.19922034442424774, -0.153294175863266, -0.9241669178009033, -0.4369646906852722, 0.1734822541475296, -0.708734393119812, 0.09846705198287964, -0.12808506190776825, 0.14314180612564087, -0.3804948329925537, -0.5575900673866272, 0.2858738899230957, 0.2546253800392151, -0.5897032618522644, 0.42795616388320923, 0.7488908767700195, -0.21632207930088043, -0.5979257225990295, -0.6348488330841064, 0.3746102452278137, -0.48936477303504944, -0.5629522204399109, 0.12829069793224335, 0.13014519214630127, -0.5509524941444397, -0.10561645776033401, -0.012937823310494423, -0.47907087206840515, 0.17254547774791718, 0.2521706819534302, 0.4366055727005005, -0.31554538011550903, 0.030547460541129112, -0.4731433093547821, -0.1754053384065628, 0.3694096803665161, -0.04996093362569809, 0.08813592046499252, -0.07539688795804977, -0.3201694190502167, -0.766167938709259, 0.34736430644989014, 0.5013642311096191, 0.11738943308591843, 0.46807506680488586, 0.6168062090873718, -0.3965412676334381, 0.05664835870265961, -0.8199363946914673, -0.041190411895513535, -0.33096998929977417, 0.22679336369037628, -0.13947699964046478, -0.6482090353965759, 0.3629782497882843, -0.025701336562633514, 0.10225170105695724, 0.5639386177062988, 0.36045417189598083, -0.34864339232444763, 1.0274688005447388, 0.6090049147605896, 0.15585707128047943, 0.4738684594631195, -0.10911601036787033, 0.16763949394226074, -0.9457070827484131, -0.1679520308971405, -0.2620372474193573, -0.23863853514194489, -0.22589057683944702, -0.4302220046520233, 0.2683832347393036, 0.13223405182361603, 0.5940443277359009, 0.3469204902648926, -0.3629121780395508, 0.5225653648376465, 0.4612426459789276, 0.1945788413286209, 0.12516608834266663, -0.12671741843223572, 0.2264193296432495, -0.32172948122024536, -0.7538588047027588, -0.7135329246520996, 0.9712626934051514, 0.1340305060148239, 0.5174410939216614, 0.14388595521450043, 0.0160023495554924, 0.31178227066993713, 0.2225903570652008, -0.8783178329467773, 0.47680896520614624, 0.24004340171813965, -0.6519479155540466, -0.7100157737731934, -0.22021602094173431, -0.8922803997993469, 0.7065167427062988, -0.12761859595775604, -1.0300909280776978, 0.2636803090572357, 0.5686097741127014, -0.4934788644313812, 0.004840329755097628, -1.2446023225784302, 1.1128404140472412, -0.30494779348373413, -0.5787135362625122, -0.2588728666305542, -0.7457184195518494, 0.4084959626197815, 0.08624857664108276, 0.30015942454338074, -0.3400194048881531, 0.05041253939270973, 0.7931657433509827, -0.25564977526664734, 1.003040075302124, -0.2175733596086502, 0.3135915696620941, 0.436376690864563, -0.26273441314697266, 0.042193759232759476, 0.08746879547834396, 0.2049875557422638, 0.40493065118789673, -0.128401517868042, -0.43436887860298157, -0.5941367745399475, 0.4648860991001129, -0.41731730103492737, -0.984488308429718, -0.4026281535625458, -0.40011128783226013, -0.5628790855407715, -0.06711970269680023, 0.18382704257965088, 0.4808636009693146, 0.02372898906469345, 0.24755410850048065, 0.4450722634792328, -0.042932022362947464, 0.45517146587371826, 0.3788321018218994, 0.19725625216960907, -0.0001778275182005018, 0.8182029128074646, 0.20764890313148499, 0.27556848526000977, 0.3448319435119629, 0.08536987006664276, -0.28424596786499023, -0.3728635609149933, -0.7783299088478088, 0.08037374168634415, -0.7139862775802612, 0.07962705194950104, -0.7447287440299988, 0.15520447492599487, -0.24168306589126587, -0.14807747304439545, -0.10774493962526321, -0.592747151851654, -0.23946736752986908, -0.058253657072782516, 0.27760443091392517, 0.19598160684108734, 0.13802480697631836, -0.03832061216235161, -0.7171685099601746, 0.5597739219665527, 0.43116435408592224, 0.3434514105319977, 0.038118474185466766, -0.19436413049697876, -0.4227343201637268, 0.17749567329883575, -0.23164263367652893, -1.1047852039337158, 0.28189367055892944, 0.24044407904148102, 0.8499581813812256, 0.2561253607273102, 0.11397199332714081, 0.773329496383667, -0.31989410519599915, 0.910717248916626, 0.19405364990234375, -0.908168375492096, 0.49489620327949524, -0.2257184237241745, 0.4289906620979309, 0.6673174500465393, 0.8013938665390015, -0.3207535147666931, -0.3210911452770233, -0.3183589577674866, -0.9299458861351013, 0.8780064582824707, 0.2157880663871765, -0.3481023609638214, 0.17310063540935516, 0.575951099395752, 0.09929046034812927, 0.1324082911014557, -0.9414001107215881, -0.030456464737653732, -0.20398272573947906, -0.00826524943113327, -0.0724630057811737, -0.2959035336971283, 0.19316142797470093, -0.12603214383125305, 0.5898059010505676, -0.24561087787151337, 0.018428051844239235, 0.5429304242134094, -0.5340564846992493, -0.19650587439537048, 0.37715551257133484, 0.21653588116168976, 0.87331223487854, -0.14349906146526337, 0.0845707431435585, 0.301405668258667, -0.7197270393371582, -0.05711164325475693, -0.1655455082654953, -0.40212035179138184, 0.16021780669689178, 0.2485537827014923, 0.8476667404174805, 0.2981492578983307, -0.9103529453277588, 0.6080915331840515, 0.0839974656701088, -0.05081111937761307, -0.24473541975021362, -0.04599933698773384, 0.017782049253582954, 0.2987962067127228, 0.3876556158065796, 0.06461764872074127, 0.7400986552238464, -0.49549567699432373, -0.049252044409513474, 0.5116981267929077, -0.6296257972717285, -0.4736749529838562, 0.66426020860672, 0.1951930969953537, -0.1593511998653412, 0.09126915782690048, -0.14266622066497803, -0.5208640694618225, 0.572029709815979, 0.1143033355474472, 1.000611662864685, -0.2624956965446472, 0.45372235774993896, 0.5206901431083679, 0.5363824367523193, -0.2349046915769577, 0.13587605953216553, -0.24909372627735138, -0.39761772751808167, -0.6470940113067627, -0.6079421043395996, -0.7091403603553772, -0.051070231944322586, -0.8195013999938965, 0.17366793751716614, 0.055446963757276535, -0.5405544638633728, 0.3904024064540863, -0.5610215663909912, -0.49400854110717773, 0.31929174065589905, 0.07397284358739853, 0.4076296091079712, -0.6429793238639832, 0.45217227935791016, 0.6207988262176514, -0.40297505259513855, -0.5499784350395203, 0.17279422283172607, 0.1563645899295807, -0.4698401689529419, 0.5498926639556885, 0.3881306052207947, -0.40622881054878235, -0.3903177082538605, -0.31949904561042786, -1.058138132095337, 0.9284626841545105, 0.5105862617492676, -0.28780239820480347, -0.06471545994281769, 0.010332096368074417, 0.6936442852020264, -0.1533300280570984, 0.1810055822134018, 0.3884177505970001, 0.4444217383861542, -0.13255825638771057, -0.835103452205658, -0.2179996222257614, -0.3483874499797821, -0.0739399865269661, 0.046936579048633575, -0.6136264801025391, 0.45480939745903015, -0.5190750360488892, -0.5652316212654114, -0.548449695110321, 0.1463506519794464, -0.37139245867729187, 0.3967936635017395, 0.6629124283790588, 0.3131521940231323, 0.3194611966609955, -0.03732231631875038, 0.9954999685287476, -0.04210459440946579, 0.24771907925605774, 0.8294945955276489, -0.047910142689943314, 0.9327109456062317, 0.5735877752304077, -0.48427051305770874, 0.2641978859901428, 0.52813720703125, 0.015028866939246655, 0.1603279709815979, -0.13030005991458893, 0.21692343056201935, -0.616265594959259, -0.004880065098404884, 0.09950374066829681, 0.4317745566368103, 0.23695814609527588, -0.1027313694357872, -0.15144295990467072, 0.14568571746349335, -0.21892598271369934, -0.07880799472332001, -0.23933318257331848, 0.6726378798484802, 0.02800793945789337, -0.8341981768608093, 0.576477587223053, -0.2821926176548004, 0.39475390315055847, -0.4434300661087036, 0.0014129250776022673, 0.35997459292411804, 0.08028895407915115, -0.33875879645347595, -0.6020227670669556, 0.18742254376411438, 0.31900492310523987, -0.40219494700431824, -0.015918266028165817, 0.43517011404037476, -0.3154776692390442, -0.32451263070106506, 0.22285765409469604, 0.3068641722202301, 0.4176417589187622, -0.2747330069541931, -0.5918189883232117, -0.3889312446117401, 0.17081525921821594, -0.6484497785568237, 0.4160093069076538, 0.3109002709388733, -0.222050741314888, 0.9420377016067505, 0.707689642906189, -0.06817677617073059, 0.3467037081718445, 0.1371684968471527, 0.5738651752471924, -0.728516161441803, -0.23856613039970398, -0.7224926948547363, 0.4008031487464905, -0.16504444181919098, -0.4320662021636963, 1.114037275314331, 0.5615107417106628, 0.5640660524368286, -0.2107381522655487, 0.7641709446907043, 0.04283997789025307, 0.7078607678413391, -0.6711497902870178, 0.4391838014125824, -0.5393021106719971, 0.06226262450218201, -0.39319926500320435, -0.9210197925567627, -0.48556652665138245, 0.7531803846359253, -0.2372485250234604, -0.16635677218437195, 0.9095737934112549, 0.4087807238101959, 0.13544577360153198, 0.08134094625711441, 0.43704715371131897, -0.023488853126764297, -0.127189502120018, 0.5813309550285339, 0.6698771119117737, -0.30923736095428467, 0.6562547087669373, -0.2923697829246521, -0.6485784649848938, -0.4619905352592468, -0.6241095662117004, -1.016315221786499, -0.6137837171554565, -0.5740957260131836, 0.048683371394872665, -0.2219073474407196, 0.898382306098938, 0.528025209903717, -0.7644028663635254, -0.023165762424468994, 0.31905397772789, -0.08229425549507141, -0.4156983494758606, -0.19842451810836792, 0.25881242752075195, -0.5729607343673706, -0.6799678802490234, 0.016656313091516495, 0.5460426807403564, -0.020638344809412956, -0.4245041310787201, 0.23919925093650818, -0.21998284757137299, 0.16105057299137115, 0.78298020362854, 0.423895925283432, -1.1127089262008667, -0.38947272300720215, 0.27555742859840393, -0.08235931396484375, 0.1751253604888916, 0.7985917925834656, -0.5009776949882507, 0.5928061008453369, 0.34593117237091064, 0.48716339468955994, 0.35580548644065857, 0.22428588569164276, 0.3958829641342163, -0.1624930500984192, 0.17845770716667175, 0.16157306730747223, 0.5760627388954163, 0.5305653214454651, -0.3684294819831848, 0.5588657855987549, 0.23881857097148895, -0.392791211605072, -0.5301679968833923, -0.030364936217665672, -1.3638463020324707, -0.043871741741895676, 1.2386549711227417, -0.5661382675170898, -0.5106292366981506, -0.6112593412399292, -0.47483891248703003, -0.11536112427711487, -0.18773694336414337, 1.2859500646591187, 1.0133774280548096, -0.32504940032958984, -0.2183379828929901, -0.7840104103088379, 0.611023485660553, 0.3090203106403351, -0.9245200753211975, 0.2891435921192169, 0.7757980227470398, 0.009546649642288685, 0.5112643241882324, 0.3892357349395752, -0.24009652435779572, 0.6325758099555969, 0.053428757935762405, 0.34083592891693115, 0.4042032063007355, -0.16440892219543457, -0.05211174115538597, 0.3432876169681549, 0.04896041005849838, -0.1830751597881317 ]
http://arxiv.org/abs/2402.19119v2
http://arxiv.org/pdf/2402.19119v2
VIXEN: Visual Text Comparison Network for Image Difference Captioning
2024-02-29T12:56:18
2024-03-14T19:18:43
Alexander Black, Jing Shi, Yifei Fan, Tu Bui, John Collomosse
cs.CV
cs.CV, cs.CL
We present VIXEN - a technique that succinctly summarizes in text the visual differences between a pair of images in order to highlight any content manipulation present. Our proposed network linearly maps image features in a pairwise manner, constructing a soft prompt for a pretrained large language model. We address the challenge of low volume of training data and lack of manipulation variety in existing image difference captioning (IDC) datasets by training on synthetically manipulated images from the recent InstructPix2Pix dataset generated via prompt-to-prompt editing framework. We augment this dataset with change summaries produced via GPT-3. We show that VIXEN produces state-of-the-art, comprehensible difference captions for diverse image contents and edit types, offering a potential mitigation against misinformation disseminated via manipulated image content. Code and data are available at http://github.com/alexblck/vixen
[ -0.36755138635635376, -0.31320297718048096, 0.41887566447257996, 0.39567428827285767, -0.5112693309783936, -0.043714381754398346, -0.22621233761310577, -0.3631002604961395, 0.3204648494720459, 0.41540688276290894, -0.44095849990844727, -0.6530933380126953, -0.6354987621307373, 0.3508647382259369, -0.5902073383331299, 0.7167476415634155, -0.21851006150245667, 0.12691539525985718, -0.2571909427642822, -0.4926135838031769, -0.6679252982139587, -0.05874790996313095, -0.6994367241859436, -0.09206116944551468, 0.8293223977088928, 0.4066968858242035, 0.8771457672119141, 0.6389398574829102, 0.7777990698814392, 0.45863625407218933, -0.21938477456569672, 0.3002443015575409, -0.3178705871105194, 0.1810867190361023, -0.19047677516937256, -0.45113804936408997, -0.1350875198841095, -0.14994195103645325, 0.6051895618438721, 0.30749353766441345, 0.42564857006073, -0.23963433504104614, 0.06568752229213715, 0.7710336446762085, -0.42825016379356384, 0.29213646054267883, -0.7259598970413208, 0.10229560732841492, -0.11619545519351959, -0.10078956931829453, -0.01395495980978012, -0.2436949610710144, 0.021092507988214493, -0.7014325261116028, 0.4155209958553314, 0.14496318995952606, 0.8927832841873169, 0.23125059902668, -0.25902625918388367, 0.010789379477500916, -0.3515704870223999, 0.3708309233188629, -0.5454616546630859, -0.03412915766239166, -0.03687470778822899, 0.38302168250083923, 0.3667115271091461, -1.0274471044540405, -0.9537509083747864, 0.018697142601013184, -0.20867642760276794, 0.30692824721336365, -0.12718136608600616, -0.018558163195848465, 0.3202170729637146, 0.589483916759491, -0.6836822628974915, 0.22301021218299866, -0.39376550912857056, -0.04354871064424515, 0.5469821095466614, 0.20117534697055817, 0.6388391256332397, -0.1355305165052414, -0.44403553009033203, -0.6470282673835754, -0.6954354047775269, -0.13705813884735107, 0.18165326118469238, 0.10782897472381592, -0.22353686392307281, 0.5824163556098938, -0.05700790137052536, 0.373637855052948, -0.2494492530822754, 0.2752082049846649, 0.3838992416858673, -0.19432023167610168, -0.38093090057373047, 0.02665511704981327, 1.008896827697754, 1.0913314819335938, 0.3457173705101013, 0.02716268226504326, -0.5021141767501831, 0.09957610070705414, -0.12812760472297668, -0.8691249489784241, -0.5015119910240173, -0.05770917609333992, -0.6540193557739258, -0.39886248111724854, 0.2658950090408325, -0.7592596411705017, -0.8127235770225525, -0.5977713465690613, 0.5104133486747742, -0.14164578914642334, -0.31118929386138916, -0.05796322971582413, -0.44865116477012634, 0.22534868121147156, 0.49213069677352905, -0.4736022353172302, 0.28945374488830566, 0.5055932402610779, 1.280792474746704, -0.4452417194843292, -0.31087377667427063, -0.5499978065490723, -0.3156221807003021, -0.33713796734809875, 0.8396731615066528, -0.33014634251594543, -0.5583842992782593, 0.12321359664201736, 0.14574673771858215, 0.07923264056444168, -0.7204063534736633, 0.07085496932268143, -0.45932209491729736, 0.17573964595794678, -0.3487103581428528, -0.3798750042915344, -0.16879892349243164, 0.29169151186943054, -0.9355193972587585, 0.7860433459281921, 0.1059357151389122, -0.9252609610557556, 0.18840038776397705, -0.7663098573684692, -0.5423016548156738, 0.05023308843374252, -0.26000112295150757, -0.7228637337684631, -0.2061840146780014, 0.5086809992790222, 0.37271055579185486, 0.007433289662003517, -0.1319962739944458, -0.14943835139274597, -0.5412715077400208, 0.48261237144470215, -0.3887946903705597, 0.46495309472084045, 0.0369473472237587, -0.5145366191864014, 0.6004360318183899, -0.6244717836380005, -0.248321533203125, 0.31130462884902954, 0.155496284365654, -0.5285918712615967, -0.2671430706977844, 0.3293027877807617, 0.22146190702915192, 0.022059939801692963, -0.12831728160381317, 0.39820951223373413, -0.2594752907752991, 0.37399736046791077, 0.7657124400138855, 0.07727798819541931, 0.4197259545326233, -0.21756958961486816, 0.3873656988143921, 0.17091509699821472, 0.4780970513820648, -0.7186270356178284, -0.4411350190639496, -0.7305936813354492, 0.004987680818885565, 0.27502477169036865, 0.829364538192749, -1.439389944076538, -0.2608449459075928, -0.3870299160480499, -0.07553999125957489, -0.3231772184371948, 0.2891283631324768, 0.6421398520469666, 0.5342147350311279, 0.4577053189277649, -0.21884329617023468, -0.2858424484729767, -1.052857756614685, -0.14679847657680511, -0.01931941881775856, 0.10134915262460709, 0.1536727249622345, 0.4965597689151764, -0.15815791487693787, 0.4178113639354706, -0.42704373598098755, -0.26108264923095703, -0.2698667049407959, 0.3362264335155487, 0.10450972616672516, 0.41312333941459656, 0.708815336227417, -1.2277252674102783, -0.7809002995491028, 0.022991390898823738, -0.7310335040092468, -0.06055007502436638, -0.3771078288555145, -0.24955737590789795, -0.19132572412490845, 0.8859111070632935, -0.2887386679649353, 0.5631654858589172, 0.3986828625202179, -0.16327078640460968, 0.6127077341079712, -0.1668345183134079, 0.6819239258766174, -1.2284374237060547, -0.07488325983285904, 0.15425311028957367, -0.4349578022956848, -0.2211756557226181, -0.0710311233997345, 0.21322131156921387, -0.06173089146614075, -0.5956655740737915, 0.602056086063385, -0.5904953479766846, -0.05249244347214699, -0.2693566083908081, 0.24980428814888, 0.11669240146875381, 0.48757779598236084, -0.014187331311404705, 1.0533969402313232, 0.7733157277107239, -0.3139630854129791, 0.5789629817008972, 0.6574787497520447, -0.31217727065086365, 0.6759480834007263, -0.8285866379737854, 0.20798863470554352, -0.2957300841808319, -0.20539972186088562, -1.1371502876281738, -0.22499418258666992, 0.5595484972000122, -0.3390130400657654, 0.21704913675785065, -0.30184322595596313, -0.6043013334274292, -0.2522519826889038, -0.453352153301239, 0.4372744858264923, 0.4547130763530731, -0.8374754786491394, 0.09308141469955444, -0.22188885509967804, -0.5367426872253418, -0.4634956121444702, -0.9053783416748047, 0.6539806723594666, -0.17623655498027802, -0.6181221008300781, 0.3457275927066803, -0.1918913722038269, -0.6089004278182983, 0.025282571092247963, 0.16237911581993103, -0.14564307034015656, -0.20222844183444977, 0.48434892296791077, 0.3171943724155426, -0.2716792821884155, 0.3990243971347809, 0.23401881754398346, -0.09533736854791641, -0.09926196187734604, -0.27131345868110657, -0.06976747512817383, -0.2209324836730957, -0.20965760946273804, -0.45291903614997864, 0.5852205157279968, 0.3478606939315796, -0.34888356924057007, 0.42412906885147095, 0.48672106862068176, -0.1791234016418457, 0.0676165521144867, -0.1477729082107544, -0.14402282238006592, -0.4471723139286041, 0.21108323335647583, -0.08786957710981369, -0.703406810760498, 0.3302220404148102, 0.015895068645477295, 0.1117861345410347, 0.20594117045402527, 0.1147325411438942, -0.2464437633752823, 0.8840817213058472, 0.43383902311325073, 0.2636093497276306, 0.7419393062591553, -0.2983626425266266, -0.3218834698200226, -0.24602338671684265, 0.1447414606809616, -0.16885273158550262, -0.5307835936546326, -0.38233575224876404, -0.4788781702518463, 0.4995076060295105, -0.15449555218219757, 0.05566476285457611, 0.13807666301727295, -0.4286069869995117, 0.9942048192024231, 0.5991913676261902, 0.1936461478471756, 0.28747743368148804, 0.2216183841228485, 0.04610179737210274, -0.29055988788604736, -0.3983958661556244, -0.18217779695987701, 0.8052504062652588, -0.13737598061561584, 0.5063081383705139, 0.09595341980457306, 0.37185534834861755, 0.8103486895561218, 0.42967626452445984, -0.4478895962238312, 0.6274975538253784, -0.3074682056903839, 0.03479452431201935, -0.17977367341518402, -0.46592703461647034, -0.948341965675354, 0.2470974624156952, -0.4096599817276001, -0.28872019052505493, 0.12125253677368164, 0.28793004155158997, -0.15297795832157135, 0.5269829630851746, -0.7728492617607117, 0.7675421237945557, -0.20933179557323456, -0.3879268765449524, -0.05846279859542847, -0.9286065697669983, 0.13135461509227753, 0.5202910304069519, -0.2155200093984604, 0.28241345286369324, 0.07033484429121017, 0.2980658710002899, -0.7173874378204346, 0.7746956944465637, -0.10708721727132797, 0.04158678278326988, 0.2423604428768158, 0.29567357897758484, 0.5162441730499268, 0.22440063953399658, 0.2635033428668976, 0.11817628890275955, -0.3483222723007202, -0.38887304067611694, -0.9171391725540161, 0.6610554456710815, -0.5525268912315369, -0.29019394516944885, -0.25200730562210083, -0.27156615257263184, 0.07282725721597672, 0.19175425171852112, 0.5639941096305847, 1.0545860528945923, 0.026838280260562897, 0.020258190110325813, 0.8344857692718506, -0.3128141760826111, 0.7451599836349487, 0.13922475278377533, -0.4412265121936798, -0.7579712867736816, 0.9470027089118958, -0.23024015128612518, 0.18135549128055573, 0.8498947620391846, -0.06065603345632553, -0.4640793204307556, -0.5485802888870239, -0.4965980052947998, 0.10047391802072525, -1.0178102254867554, -0.21447984874248505, -0.40813568234443665, 0.0057084821164608, -0.2852756083011627, -0.3479653298854828, -0.1819409728050232, -0.30965477228164673, -0.20120464265346527, -0.02202446013689041, 0.42651283740997314, 0.8876395225524902, -0.09530181437730789, 0.6890944838523865, -0.6779823303222656, 0.43928062915802, 0.6246231198310852, 0.3585020899772644, -0.4763076603412628, -0.1929994821548462, -0.17047685384750366, -0.1159791573882103, -0.02648775465786457, -0.9630891680717468, 0.3845355212688446, 0.17626337707042694, 0.14298920333385468, 0.4062884449958801, -0.17867520451545715, 0.3567931652069092, -0.10500630736351013, 0.8725256323814392, 0.6196087598800659, -0.89982670545578, 0.599941611289978, -0.340288907289505, 0.4669990837574005, 0.36004796624183655, 0.02966609038412571, -0.7150061130523682, -0.11801007390022278, -0.3542991578578949, -0.828142523765564, 0.21616654098033905, 0.46565794944763184, -0.0012789079919457436, 0.15565742552280426, 0.41586780548095703, 0.3445698618888855, 0.24561893939971924, -0.747357189655304, -0.4324226677417755, -0.45939508080482483, -0.21396823227405548, -0.02780713513493538, -0.10987658053636551, -0.06448012590408325, -0.16817505657672882, 0.44008851051330566, -0.42001795768737793, 0.21000812947750092, 0.5525100231170654, -0.5584428906440735, 0.3727816939353943, 0.17308580875396729, 0.564865231513977, 0.6248216032981873, 0.3157874345779419, 0.29236340522766113, 0.026191409677267075, -0.4196054935455322, -0.09607964754104614, 0.23353992402553558, -0.17577557265758514, 0.3345286548137665, 0.49956637620925903, 1.2228564023971558, 0.08722952753305435, -0.4798264503479004, 0.8547524809837341, -0.5640802979469299, -0.4584046006202698, -0.027465060353279114, -0.02465842291712761, -0.3149434030056, 0.44439491629600525, -0.0008961697458289564, 0.48511219024658203, 0.32399874925613403, 0.1100974753499031, 0.07639818638563156, -0.1611245572566986, -0.7539142370223999, -0.17208749055862427, 0.7260740399360657, 0.42107734084129333, -0.19959788024425507, 0.7214819192886353, -0.3906792998313904, -0.22539834678173065, 0.6742111444473267, 0.049523722380399704, 0.899201512336731, 0.07234486937522888, 0.5668233633041382, 0.29868432879447937, 0.3251247704029083, 0.034322455525398254, 0.28167206048965454, -0.2479294389486313, -0.5130466222763062, -0.39343246817588806, 0.23321859538555145, -0.298611581325531, 0.1408529132604599, -0.518103301525116, 0.3841184079647064, -0.4311995506286621, 0.02168680541217327, -0.15571537613868713, -0.5394178628921509, -0.6643474698066711, 0.186872199177742, 0.2761571705341339, 0.8338250517845154, -0.7567564845085144, 0.3329399824142456, 0.9129116535186768, -0.6999727487564087, -0.40444672107696533, -0.04738524183630943, 0.024914242327213287, -0.476955384016037, 0.35808923840522766, 0.44424745440483093, 0.058944523334503174, -0.20143675804138184, -1.089311122894287, 0.022220715880393982, 0.991525411605835, 0.3265639543533325, -0.8315488696098328, 0.28723615407943726, 0.1386006474494934, 0.3145945966243744, -0.08540014177560806, 0.3556748330593109, 0.08844379335641861, 0.5264289379119873, -0.05066453292965889, -0.5039699673652649, -0.11217234283685684, -0.7255823612213135, 0.35391953587532043, -0.05159085616469383, -0.4717558026313782, 0.8819805979728699, -0.3457087576389313, -0.3161798119544983, 0.2346147894859314, 0.7299827933311462, -0.2948729693889618, 0.49742788076400757, 0.8287827372550964, 0.17632189393043518, 0.4849777817726135, -0.2373919039964676, 0.9214581847190857, 0.05881766229867935, 0.0625709816813469, 1.3279941082000732, -0.08173903822898865, 0.39006343483924866, 0.4838271737098694, 0.06647680699825287, 0.4641342759132385, 0.6648317575454712, -0.02073066495358944, 0.30334097146987915, 0.061207011342048645, -0.37571221590042114, -0.3599088191986084, 0.18225547671318054, -0.4605364501476288, -0.04176534339785576, 0.1924620419740677, -0.5660563111305237, -0.1530379205942154, 0.2177278995513916, 0.0043597533367574215, 0.5347484946250916, -0.39757534861564636, 0.8593246936798096, 0.14137311279773712, -0.5097374320030212, 0.4032689034938812, -0.2545488476753235, 0.5197939872741699, -0.416278600692749, -0.4034513533115387, -0.3980153501033783, 0.04783517122268677, -0.01469101570546627, -1.399803638458252, -0.0737614557147026, -0.13710381090641022, -0.285112202167511, -0.3594489097595215, 0.8545872569084167, -0.5659331679344177, -0.2565879821777344, 0.1684480607509613, 0.3838781714439392, 0.06649298220872879, -0.4345686733722687, -0.9139779806137085, 0.05150001868605614, 0.04109695926308632, 0.11119520664215088, -0.1641116887331009, 0.3789535164833069, -0.22566524147987366, 0.449413001537323, 0.49826955795288086, -0.022332677617669106, -0.05639105662703514, 0.7308877110481262, 0.7587859034538269, -0.6306787729263306, -0.8242495656013489, -0.7118249535560608, 0.6856345534324646, -0.6477226614952087, -0.4658728837966919, 0.4787715971469879, 0.42470136284828186, 0.5487024188041687, -0.3388875126838684, 1.1119410991668701, 0.20119649171829224, 0.07506180554628372, -0.7273612022399902, 0.5672319531440735, -0.6884743571281433, 0.10091222077608109, -0.29897943139076233, -0.9447668790817261, -0.49877482652664185, 0.16880105435848236, -0.15020693838596344, -0.22948351502418518, 0.615336000919342, 1.2248753309249878, -0.18358927965164185, 0.06556335091590881, 0.2136664092540741, 0.27732640504837036, 0.33079153299331665, 0.17772257328033447, 0.9261183142662048, -0.4758892059326172, 0.6973315477371216, -0.22966419160366058, -0.12469352781772614, -0.20210129022598267, -0.8310918211936951, -1.0515681505203247, -0.9197497963905334, -0.7519727349281311, -0.41909900307655334, 0.4297362267971039, 0.7701367139816284, 0.5644261837005615, -0.7112066745758057, 0.1975463479757309, -0.31078335642814636, 0.29793545603752136, -0.5345181822776794, -0.1961565762758255, 0.2363283783197403, -0.11042217910289764, -0.6585323810577393, 0.10638659447431564, 0.5838133096694946, 0.4309433698654175, -0.20472177863121033, -0.07050824165344238, 0.2458917796611786, -0.21764706075191498, 0.5067370533943176, 0.3253086805343628, -0.2517131567001343, 0.0006843894370831549, -0.09047944098711014, -0.16667482256889343, 0.4569152593612671, 1.0150288343429565, -0.5017457008361816, 0.7610240578651428, 0.7098393440246582, 0.47001513838768005, 0.3830138146877289, -0.16166310012340546, 0.35027074813842773, -0.97724848985672, 0.14183299243450165, -0.258731484413147, 0.46541857719421387, 0.8812230825424194, -0.23079334199428558, 0.29062825441360474, 0.48573511838912964, -0.29211366176605225, -0.32745739817619324, 0.09263775497674942, -1.0411789417266846, -0.2860369384288788, 1.2934635877609253, -0.045403510332107544, -0.25593137741088867, 0.16879941523075104, -0.869839072227478, 0.024454107508063316, -0.3412659764289856, 0.638177216053009, 0.2006158083677292, 0.4272485375404358, -0.44485151767730713, -0.10489300638437271, 0.22353486716747284, 0.19633087515830994, -0.9206220507621765, -0.3871925473213196, 0.5356959700584412, 0.24135418236255646, -0.16038252413272858, 0.30687281489372253, -0.16306836903095245, 0.44426998496055603, 0.09964349120855331, 0.3784032166004181, -0.2967663109302521, -0.3145514130592346, -0.33866798877716064, -0.14530721306800842, -0.356111615896225, -0.48601293563842773 ]
http://arxiv.org/abs/2402.19116v2
http://arxiv.org/pdf/2402.19116v2
How to Understand "Support"? An Implicit-enhanced Causal Inference Approach for Weakly-supervised Phrase Grounding
2024-02-29T12:49:48
2024-03-04T08:42:56
Jiamin Luo, Jianing Zhao, Jingjing Wang, Guodong Zhou
cs.CL
cs.CL, cs.AI
Weakly-supervised Phrase Grounding (WPG) is an emerging task of inferring the fine-grained phrase-region matching, while merely leveraging the coarse-grained sentence-image pairs for training. However, existing studies on WPG largely ignore the implicit phrase-region matching relations, which are crucial for evaluating the capability of models in understanding the deep multimodal semantics. To this end, this paper proposes an Implicit-Enhanced Causal Inference (IECI) approach to address the challenges of modeling the implicit relations and highlighting them beyond the explicit. Specifically, this approach leverages both the intervention and counterfactual techniques to tackle the above two challenges respectively. Furthermore, a high-quality implicit-enhanced dataset is annotated to evaluate IECI and detailed evaluations show the great advantages of IECI over the state-of-the-art baselines. Particularly, we observe an interesting finding that IECI outperforms the advanced multimodal LLMs by a large margin on this implicit-enhanced dataset, which may facilitate more research to evaluate the multimodal LLMs in this direction.
[ -0.5374904274940491, -0.7066548466682434, 0.9325961470603943, 0.4677751660346985, -0.18343263864517212, -0.5159348845481873, -0.052420422434806824, -0.33378836512565613, -0.24911750853061676, 0.2449849545955658, -0.884955883026123, -0.6337521076202393, -0.6502351760864258, 0.11149826645851135, -0.07423866540193558, 0.8773967027664185, 0.018047910183668137, 0.31669843196868896, -0.5604750514030457, -0.24441193044185638, -0.5941524505615234, -0.16409221291542053, -0.541305422782898, -0.5127266049385071, 0.4993140399456024, 0.3943417966365814, 0.47442615032196045, 0.09737449139356613, 0.1872657686471939, 0.24780577421188354, -0.09098019450902939, 0.2874818444252014, -0.38720592856407166, 0.08647512644529343, -0.005543916020542383, -0.35182812809944153, -0.45424526929855347, 0.13193801045417786, 0.20725896954536438, 0.7891846299171448, 0.3787384331226349, -0.15695255994796753, 0.180061936378479, 0.43799328804016113, -0.954328179359436, 0.17786885797977448, -0.5863075852394104, 0.16214707493782043, 0.2897547483444214, 0.01541981752961874, -0.5536561608314514, -0.05440501123666763, 0.11585493385791779, -0.7140616774559021, 0.16118337213993073, -0.07073099911212921, 0.8559696674346924, 0.5194091796875, -0.8933520317077637, 0.07294264435768127, -0.5017911791801453, 0.6875283718109131, -0.5077036619186401, 0.22419697046279907, 0.36315804719924927, -0.027413155883550644, -0.2764875590801239, -0.5820318460464478, -0.56820148229599, -0.2548188865184784, -0.49838337302207947, 0.6210483908653259, -0.2742190957069397, 0.4270607531070709, 0.5088250041007996, -0.0524267815053463, -0.3223974108695984, 0.13212189078330994, -0.08510398864746094, -0.05663425102829933, 0.3683660626411438, -0.19296403229236603, 0.2788117229938507, -0.35255810618400574, -0.6712831258773804, 0.22459813952445984, -0.8369527459144592, -0.026783909648656845, 0.05489202216267586, 0.20037929713726044, -0.19978229701519012, 0.7029956579208374, -0.3328665792942047, 0.30331405997276306, 0.25840049982070923, 0.125824436545372, 0.15889272093772888, -0.2697621285915375, -0.4063538610935211, 0.3755130171775818, 0.44690263271331787, 0.5296990871429443, 0.294260710477829, -0.392617404460907, 0.14852125942707062, 0.42941421270370483, 0.05556236207485199, -0.7463743686676025, 0.09071282297372818, 0.31847164034843445, -0.5306568741798401, -0.11491518467664719, 0.06827088445425034, -0.6750019192695618, -0.6414795517921448, -0.6006197333335876, 0.47720998525619507, -0.1947871744632721, -0.21162940561771393, -0.11551376432180405, -0.4418941140174866, 0.35821500420570374, 0.32724934816360474, -0.5330234169960022, 0.15982957184314728, 0.6999598741531372, 0.8885841369628906, 0.24984411895275116, -0.17236711084842682, -0.6780771017074585, 0.4635448753833771, -0.30522069334983826, 0.9785392880439758, -0.631491482257843, -0.3811672031879425, 0.08375287055969238, 0.27083736658096313, -0.09688957780599594, -0.08469881117343903, 0.9232955574989319, -0.2542479932308197, 0.17416499555110931, -0.547356903553009, -0.3845915198326111, -0.08541369438171387, 0.18237891793251038, -0.5305507183074951, 0.9723584651947021, -0.36834824085235596, -0.9374775886535645, 0.7117733359336853, -0.18140706419944763, -0.29643678665161133, -0.3445829153060913, -0.30210936069488525, -0.40408551692962646, 0.46477264165878296, 0.6000226140022278, 0.4947957694530487, -0.26153564453125, 0.6469571590423584, -0.9249742031097412, -0.5053238272666931, -0.21998177468776703, -0.5773597359657288, 0.36212313175201416, -0.10882134735584259, -0.687632143497467, 0.2511915862560272, -0.9767706990242004, -0.18216513097286224, -0.31654441356658936, 0.3332008719444275, -0.7134286761283875, 0.324695885181427, 0.08510202169418335, 0.5627865791320801, -0.04817259684205055, -0.5380852222442627, 0.06913630664348602, -0.1755819022655487, -0.009076932445168495, 0.9811317324638367, -0.06627796590328217, 0.5273169875144958, 0.15333588421344757, 0.19161725044250488, 0.01838192157447338, 0.10499325394630432, -0.1640097051858902, -0.5170944929122925, -0.6812628507614136, -0.4212588369846344, -0.03435419499874115, 0.5347188711166382, -0.7522556781768799, 0.10058122128248215, -0.24939048290252686, -0.20763501524925232, -0.4045529365539551, 0.10500969737768173, 0.5116541981697083, 0.7508871555328369, 0.6229109764099121, 0.3307613134384155, -0.622409999370575, -1.2169370651245117, -0.039277780801057816, -0.1441970020532608, -0.06325079500675201, 0.6042280793190002, 0.4001680612564087, -0.39153438806533813, 1.0185908079147339, -0.5368825197219849, -0.4635404944419861, -0.15471164882183075, 0.5948755145072937, 0.04010314494371414, 0.5776671171188354, 0.546957790851593, -1.046505093574524, -0.11824002116918564, -0.204535573720932, -1.0777970552444458, -0.6560366749763489, -0.1888149082660675, -0.34561532735824585, -0.12080569565296173, 0.8370304107666016, -0.5925198793411255, 0.39872318506240845, 0.6127030849456787, -0.6297469735145569, 0.20831958949565887, -0.2178381085395813, 0.3835580050945282, -0.8499998450279236, -0.03523262217640877, 0.4161415696144104, -0.022476978600025177, -0.45834964513778687, -0.18363118171691895, 0.11243081092834473, -0.08253739029169083, -0.4190114736557007, 0.35810887813568115, -0.5017419457435608, 0.007051865104585886, -0.41361305117607117, 0.2969231903553009, 0.05751350522041321, 0.3758985996246338, 0.31234705448150635, 0.7554991841316223, 0.7839789390563965, -0.4983327388763428, 0.052940573543310165, 0.13470862805843353, 0.24104592204093933, 0.8372834324836731, -1.0540356636047363, -0.20965678989887238, -0.5635368824005127, 0.347367525100708, -1.2940071821212769, -0.056624636054039, -0.026276661083102226, -0.08981586992740631, 0.28657659888267517, -0.7437781691551208, -0.36870303750038147, 0.12352325767278671, -0.46315962076187134, 0.39192116260528564, 0.31549179553985596, -0.7376226186752319, 0.8294862508773804, 0.21976076066493988, 0.04740714281797409, -0.6774874925613403, -0.4217372536659241, 0.24548538029193878, -0.4751465320587158, -0.6705183982849121, 0.6755132079124451, 0.2702179253101349, -0.4268462359905243, 0.13447073101997375, -0.11339866369962692, 0.11001627147197723, 0.25863954424858093, 0.6431226134300232, 0.17908348143100739, -0.39131924510002136, 0.22998733818531036, 0.3072667419910431, -0.5335219502449036, 0.20322808623313904, -0.2560780644416809, 0.005671951454132795, -0.07841333001852036, -0.4199473261833191, -0.2408449947834015, 0.5483948588371277, 0.3535591959953308, 0.07654129713773727, 0.8232776522636414, 0.7886585593223572, -0.4848739206790924, 0.0323617085814476, -0.5753836631774902, -0.05772954598069191, -0.4578627645969391, 0.24285677075386047, -0.38552531599998474, -0.540637731552124, 0.21901769936084747, -0.4171091914176941, -0.3094477951526642, 0.33385366201400757, -0.027309827506542206, -0.01472788117825985, 1.5046017169952393, 0.7134882211685181, -0.1642381250858307, 0.17250193655490875, 0.039881810545921326, -0.09186770766973495, -0.946229100227356, -0.3549499213695526, -0.5200374722480774, -0.19513750076293945, -0.8226639628410339, -0.12571312487125397, 0.43602514266967773, 0.2908727824687958, -0.21843257546424866, 0.0004521138034760952, 0.011799601837992668, 0.12493886798620224, 0.3629544973373413, 0.319537878036499, 0.12363243103027344, -0.09128296375274658, -0.15071368217468262, -0.21516822278499603, -0.41442057490348816, -0.5083650946617126, 0.6280439496040344, 0.22938013076782227, 1.0112273693084717, 0.2202555388212204, 0.1998242288827896, 0.36480265855789185, 0.29856666922569275, -0.477573424577713, 0.48877862095832825, -0.22428853809833527, -0.21022042632102966, 0.13130125403404236, -0.16180124878883362, -0.6371352672576904, 0.6255345344543457, -0.5568082332611084, -0.6942709684371948, 0.5305896401405334, 0.23012056946754456, 0.05796833336353302, -0.1610785722732544, -1.0297884941101074, 0.9243029952049255, -0.11272244900465012, -0.9813605546951294, -0.11333095282316208, -0.3717823624610901, 0.38250604271888733, 0.5103808045387268, 0.22037112712860107, -0.04219745099544525, -0.0925891175866127, 0.41345569491386414, -0.1605633944272995, 1.0160990953445435, -0.557782769203186, -0.21773962676525116, -0.06499974429607391, -0.44403114914894104, 0.532234787940979, 0.49232417345046997, 0.09473234415054321, 0.008592715486884117, -0.6200365424156189, -0.538589358329773, -0.6891661882400513, 1.164819598197937, -0.5613554120063782, -0.7596076726913452, -0.3827410638332367, -0.14044322073459625, -0.49898597598075867, 0.08182056248188019, 0.03999446704983711, 0.5723828673362732, -0.15075084567070007, 0.14908838272094727, 0.9689136147499084, -0.23127084970474243, 0.42312678694725037, 0.2633190155029297, 0.2621743381023407, -0.2790554165840149, 0.45938050746917725, -0.2398139089345932, 0.03177565708756447, 0.36596038937568665, 0.13805754482746124, -0.4562400281429291, -0.40672609210014343, -0.43627792596817017, 0.22458799183368683, -0.8453279137611389, -0.06819115579128265, -1.0644652843475342, 0.38610681891441345, -0.4914444386959076, -0.21073924005031586, -0.023506758734583855, -0.1381845921278, -0.203078955411911, -0.5557076334953308, 0.3722900450229645, 0.5644575357437134, 0.010786192491650581, 0.24394755065441132, -0.4806455671787262, 0.6006871461868286, 0.3373973071575165, 0.15595600008964539, -0.2893921434879303, -0.16966503858566284, 0.07127098739147186, -0.19597236812114716, 0.016078229993581772, -1.0685396194458008, -0.004956535995006561, 0.3119180500507355, 0.6620174050331116, 0.4062935411930084, 0.06497447192668915, 1.232311487197876, -0.6884254217147827, 0.765110194683075, -0.06314121186733246, -0.9198267459869385, 0.8340160846710205, -0.16101785004138947, 0.10789388418197632, 0.5985020399093628, 0.41977375745773315, -0.14902988076210022, -0.47293946146965027, -0.49907317757606506, -1.358648657798767, 0.5064916610717773, 0.16737070679664612, 0.13762110471725464, -0.13202905654907227, 0.34128785133361816, -0.211015984416008, 0.11682554334402084, -1.0329411029815674, -0.4531162977218628, -0.21738846600055695, -0.4041955769062042, -0.061503563076257706, -0.4466155767440796, -0.07515599578619003, 0.13381366431713104, 0.8027470707893372, -0.5196897983551025, 0.25883498787879944, 0.4557276666164398, -0.42979422211647034, 0.1261092573404312, 0.4046385586261749, 0.4944727122783661, 0.3765639364719391, -0.22534975409507751, 0.45612695813179016, 0.2947995662689209, -0.16035206615924835, 0.1033141240477562, 0.48859113454818726, -0.23603549599647522, -0.010770275257527828, 0.6482672691345215, 0.8560718297958374, 0.5225511193275452, -0.5723477005958557, 0.6779552698135376, -0.21932344138622284, 0.14957323670387268, -0.2882300615310669, -0.020060217007994652, -0.17072173953056335, 0.3645959496498108, 0.5053793787956238, -0.036736659705638885, 0.4234621524810791, -0.3315199911594391, 0.4045014977455139, 0.6585526466369629, -0.9245268702507019, -0.21653634309768677, 0.7823557257652283, 0.19808329641819, 0.6538681983947754, 0.26176053285598755, -0.035425689071416855, -0.4250572621822357, 0.6827710270881653, 0.6480446457862854, 0.8572797179222107, 0.48699629306793213, 0.1874866932630539, 0.4150446057319641, 0.3679421842098236, -0.13061116635799408, 0.14524014294147491, -0.045556630939245224, -0.44398364424705505, -0.5952427983283997, -0.15676453709602356, 0.07302650064229965, 0.2195039540529251, -0.7276950478553772, 0.36074885725975037, -0.15495629608631134, -0.021014049649238586, -0.24779658019542694, -0.27988988161087036, -0.5463695526123047, 0.5367358326911926, 0.41063550114631653, 0.7856734395027161, -1.3417335748672485, 0.4204200208187103, 0.7845003008842468, -0.4472546875476837, -0.4077272415161133, 0.26544901728630066, 0.07383210957050323, -0.5206597447395325, 0.9583028554916382, 0.42746400833129883, -0.4717264175415039, -0.19915392994880676, -0.5259491205215454, -0.6452358961105347, 1.1219532489776611, 0.38836470246315, -0.3288671374320984, 0.18439990282058716, -0.2060299962759018, 0.5188313126564026, -0.36517801880836487, 0.742050290107727, 0.23498670756816864, 0.5022197961807251, -0.15838615596294403, -0.3098872900009155, 0.3739032447338104, -0.3570999205112457, 0.024884574115276337, -0.12190358340740204, -0.4519985020160675, 0.4403746426105499, -0.13339288532733917, -0.11756676435470581, -0.12660536170005798, 0.9793130159378052, 0.28355374932289124, 0.6427736282348633, 0.6122962832450867, 0.5190393328666687, 0.4372979402542114, -0.29344573616981506, 1.1351408958435059, -0.06265579164028168, 0.2665507197380066, 1.0599039793014526, -0.3422536551952362, 0.4434525966644287, 0.603872537612915, 0.29198911786079407, 0.5126398801803589, 0.4939659535884857, 0.11963662505149841, 0.7737867832183838, -0.19215285778045654, -0.3731480538845062, -0.4908257722854614, -0.5671161413192749, -0.32974687218666077, 0.2268349677324295, 0.29537463188171387, -0.27453747391700745, -0.3841162323951721, 0.11570288985967636, 0.05901872366666794, 0.14809538424015045, -0.4704917073249817, 0.890123188495636, 0.06229279935359955, -0.6122792959213257, 0.10180171579122543, -0.02101544477045536, 0.6876945495605469, -0.5078007578849792, -0.35523921251296997, -0.2864600718021393, 0.03690725192427635, -0.3764517903327942, -0.3883781135082245, 0.04560729116201401, 0.2092221975326538, -0.3296316862106323, -0.2207452952861786, 0.9317781329154968, -0.3967611491680145, -0.533260703086853, 0.7075197100639343, 0.469454824924469, -0.5732520818710327, 0.01808427833020687, -0.5667039752006531, -0.21567314863204956, -0.4376075565814972, -0.15585967898368835, 0.29865211248397827, 0.7478540539741516, -0.18425960838794708, 0.3552629053592682, 0.422998309135437, -0.06485269218683243, -0.23376917839050293, 0.5919073820114136, 0.8125628232955933, -0.5542760491371155, -0.3525201678276062, -0.990117073059082, 0.7117231488227844, -0.34209105372428894, -0.2811071574687958, 0.864493727684021, 0.24747134745121002, 0.5177505016326904, 0.04071616381406784, 0.8394135236740112, 0.014498391188681126, -0.23217220604419708, -1.0481561422348022, 0.23158065974712372, -0.670532763004303, 0.27706488966941833, -0.6788631677627563, -0.5754038095474243, -0.18734727799892426, 0.519141435623169, -0.31374719738960266, 0.006013860926032066, 0.6540380716323853, 0.7392963767051697, -0.3153870105743408, -0.14371919631958008, 0.21105869114398956, 0.3270331621170044, 0.4053322672843933, 0.3612711727619171, 0.9996919631958008, -0.4506680369377136, 0.43265146017074585, -0.09349726885557175, -0.3489651381969452, 0.17757952213287354, -1.2414371967315674, -0.9566372632980347, -0.22299717366695404, -0.4515937566757202, -0.3808787167072296, 0.1951722800731659, 0.9441965222358704, 0.7360283732414246, -0.8032486438751221, 0.41093242168426514, -0.36397916078567505, 0.24974887073040009, -0.35863015055656433, -0.2202823907136917, 0.46244359016418457, -0.45488545298576355, -0.8541290163993835, 0.5618553161621094, 0.20148345828056335, -0.0643041655421257, 0.08981852233409882, 0.1760890781879425, -0.16437505185604095, 0.001582713914103806, 0.6895663738250732, -0.1857203245162964, -0.5222208499908447, -0.3829624652862549, -0.08483804762363434, -0.012009690515697002, -0.2528935372829437, 0.9817548394203186, -0.9576820731163025, 0.16345961391925812, 0.2659171223640442, 0.6793032288551331, 0.32913997769355774, 0.227569580078125, 0.6973183155059814, -1.0883275270462036, 0.5284020900726318, -0.27442747354507446, 0.7354766130447388, 0.31280311942100525, -0.546488344669342, 0.46681615710258484, 0.4175620675086975, -0.06622851639986038, -0.6068648099899292, 0.2126186043024063, -0.8545413613319397, -0.41610634326934814, 1.397733211517334, -0.3016487658023834, -0.10582996904850006, -0.3131931722164154, -0.34904566407203674, 0.19118566811084747, -0.33160150051116943, 0.6749132871627808, 0.5134069919586182, -0.07390103489160538, -0.28453490138053894, -0.47046959400177, 0.5221718549728394, 0.5080238580703735, -0.8359271883964539, -0.18878063559532166, 0.8746667504310608, -0.08759429305791855, 0.06251499801874161, 0.3737529218196869, 0.12477050721645355, 0.22174811363220215, -0.042821064591407776, -0.32512667775154114, -0.07801518589258194, -0.3816385567188263, -0.44819971919059753, 0.3433992266654968, -0.08550942689180374, -0.07742565870285034 ]
http://arxiv.org/abs/2402.19103v1
http://arxiv.org/pdf/2402.19103v1
Whispers that Shake Foundations: Analyzing and Mitigating False Premise Hallucinations in Large Language Models
2024-02-29T12:35:45
2024-02-29T12:35:45
Hongbang Yuan, Pengfei Cao, Zhuoran Jin, Yubo Chen, Daojian Zeng, Kang Liu, Jun Zhao
cs.CL
cs.CL, cs.AI
Large Language Models (LLMs) have shown impressive capabilities but still suffer from the issue of hallucinations. A significant type of this issue is the false premise hallucination, which we define as the phenomenon when LLMs generate hallucinated text when confronted with false premise questions. In this paper, we perform a comprehensive analysis of the false premise hallucination and elucidate its internal working mechanism: a small subset of attention heads (which we designate as false premise heads) disturb the knowledge extraction process, leading to the occurrence of false premise hallucination. Based on our analysis, we propose \textbf{FAITH} (\textbf{F}alse premise \textbf{A}ttention head constra\textbf{I}ining for mi\textbf{T}igating \textbf{H}allucinations), a novel and effective method to mitigate false premise hallucinations. It constrains the false premise attention heads during the model inference process. Impressively, extensive experiments demonstrate that constraining only approximately $1\%$ of the attention heads in the model yields a notable increase of nearly $20\%$ of model performance.
[ -0.2825392782688141, -0.9292520880699158, 0.6857908368110657, 0.3400841951370239, -0.1429009586572647, -0.002280622720718384, 0.01878652349114418, -0.6358294486999512, 0.5276007652282715, 0.9070366024971008, -0.582461416721344, -0.25947365164756775, -0.8390252590179443, -0.013256684876978397, -0.7048283815383911, 0.7829670906066895, 0.10237493366003036, 0.020786285400390625, 0.0014857262140139937, 0.09451624006032944, -0.15776941180229187, -0.15180400013923645, -0.377562552690506, -0.42416033148765564, -0.013571619987487793, 0.08757779002189636, 0.9345345497131348, 0.5147849321365356, 0.4026205837726593, 0.20803363621234894, -0.2870093882083893, 0.02593045122921467, -0.875653862953186, 0.19310182332992554, 0.0391375832259655, -0.7254559397697449, -0.18158577382564545, -0.0691477358341217, 0.63277667760849, 0.7901103496551514, -0.22699446976184845, 0.035109635442495346, 0.042497579008340836, 0.5320764183998108, -0.5946316719055176, 0.04983597621321678, -1.1238645315170288, 0.19416971504688263, -0.028230607509613037, -0.45243239402770996, -0.49486005306243896, -0.3753082752227783, 0.5347247123718262, -0.37413060665130615, 0.38144242763519287, 0.3333074152469635, 1.0741621255874634, 0.43247079849243164, -0.22845107316970825, -0.5217869877815247, -0.5142889022827148, 0.7832699418067932, -0.7243820428848267, 0.4288286566734314, 0.6219237446784973, 0.1348426789045334, -0.48101234436035156, -0.7255106568336487, -0.5841490626335144, -0.26105332374572754, 0.05953346937894821, -0.2279432713985443, 0.08791196346282959, 0.26068323850631714, 0.5147479772567749, 0.6175630688667297, -0.17411936819553375, -0.3864383101463318, -0.2683785557746887, -0.347666472196579, 0.10759826749563217, -0.17404206097126007, 0.2213708907365799, -0.003292194101959467, -0.30088773369789124, -0.0549183264374733, -0.946578860282898, -0.01323613990098238, 0.07745193690061569, 0.32066887617111206, 0.021665308624505997, 0.6987032294273376, -0.24493807554244995, 0.47724178433418274, 0.43780356645584106, -0.651679515838623, 0.020686974748969078, 0.09702735394239426, -0.5969387888908386, 0.34751570224761963, 0.5690745711326599, 0.20982421934604645, 0.16708621382713318, -0.5538763403892517, -0.3288046717643738, 0.31408604979515076, 0.3166010081768036, -0.9759005308151245, -0.10566868633031845, 0.2641356587409973, -0.5876965522766113, -0.6306049227714539, -0.10056023299694061, -0.6426960825920105, -0.7473659515380859, -0.12907131016254425, 0.8595293760299683, -0.34278225898742676, -0.5384132266044617, 0.4154723584651947, -0.19989532232284546, 0.2370961308479309, -0.17295309901237488, -0.8168615698814392, 0.5679010152816772, 0.5228726863861084, 0.9362128973007202, -0.05556201562285423, -0.03415076062083244, -0.5378912091255188, 0.17150655388832092, -0.3783314824104309, 0.49887794256210327, -0.4375940263271332, -0.6209021210670471, 0.06741780787706375, 0.005317989271134138, -0.09195263683795929, -0.46938905119895935, 0.547472357749939, -0.3551267087459564, 0.034226566553115845, -0.8021134734153748, -0.6014856696128845, -0.3124362528324127, 0.11818502098321915, -0.5415297150611877, 0.7795913815498352, -0.31023380160331726, -0.7991586923599243, 0.2725069522857666, -0.1839393526315689, -0.5574992299079895, -0.3175722360610962, -0.438451886177063, -0.44789403676986694, 0.5247055888175964, 0.004209929145872593, 0.19664084911346436, -0.3043936789035797, 0.3652838170528412, -0.34450671076774597, -0.4236830770969391, 0.362225741147995, -0.3082893192768097, 0.8920806050300598, -0.10430827736854553, -0.980644941329956, 0.0063705830834805965, -0.7544278502464294, 0.06329312175512314, 0.047169581055641174, 0.3626255393028259, -0.17687273025512695, 0.1708822101354599, -0.2706602215766907, 0.17979565262794495, -0.08907648175954819, -0.25173333287239075, 0.06996877491474152, -0.813999593257904, 0.11618684232234955, 0.5271347761154175, 0.3974716067314148, 0.282643586397171, -0.4405410587787628, 0.2779260277748108, -0.07460557669401169, -0.09237027913331985, -0.02760268934071064, -0.5064181685447693, -0.994257390499115, -0.14117830991744995, -0.1399463266134262, 0.11927126348018646, -0.4599667489528656, 0.36961495876312256, -0.05522425100207329, -0.15805664658546448, -0.6201221942901611, -0.23073476552963257, 0.47922971844673157, 0.7448480725288391, 0.4100612699985504, 0.03417796641588211, -0.5581079721450806, -1.0564789772033691, -0.28970587253570557, -0.22325551509857178, 0.2548504173755646, -0.2990097105503082, 0.5925140380859375, -0.10344938188791275, 1.140880823135376, -0.4338117837905884, -0.516122043132782, 0.050355155020952225, 0.4367773234844208, 0.08134916424751282, 0.19809943437576294, 0.5247373580932617, -0.9040002226829529, -0.2180626392364502, -0.19893884658813477, -0.7315574884414673, -0.21440489590168, -0.24942240118980408, 0.0717553049325943, 0.3204203248023987, 0.3138415515422821, -1.005124568939209, 0.6368447542190552, 0.41339126229286194, -0.3459591567516327, 0.9778612852096558, 0.4371708631515503, 0.14030621945858002, -0.8314265608787537, -0.005798387806862593, -0.3795083463191986, -0.0948973298072815, -0.41221097111701965, 0.19703350961208344, -0.10375256836414337, 0.06252139061689377, 0.02626163884997368, 0.21773603558540344, -0.6561543941497803, -0.09698405861854553, -0.6352874636650085, 0.26822444796562195, 0.07854566723108292, 0.2447274923324585, 0.33091434836387634, 0.592803418636322, 0.9027528166770935, -0.7297022938728333, 0.019377144053578377, 0.6052865982055664, -0.36585959792137146, 0.31083646416664124, -0.5360432863235474, 0.14818061888217926, -0.04836778715252876, 0.14908654987812042, -0.9505347609519958, -0.1694415807723999, 0.34289979934692383, -0.5318085551261902, 0.19456550478935242, -0.08680121600627899, -0.2761896848678589, -0.18371690809726715, -0.2563304901123047, -0.2837027907371521, 0.45289918780326843, -0.46456781029701233, 0.7965362071990967, 0.40690290927886963, 0.23400776088237762, -0.8609828948974609, -0.8353651165962219, 0.3871121108531952, -0.21330609917640686, -0.6654914617538452, 0.3633209466934204, -0.06933111697435379, -0.7675864100456238, 0.21164874732494354, -0.7184489369392395, 0.14996293187141418, 0.12387164682149887, 0.4678625166416168, -0.16446657478809357, -0.47225621342658997, 0.029638344421982765, 0.30992379784584045, 0.01705627329647541, 0.5064399242401123, -0.4959404766559601, 0.3929235339164734, -0.08692669868469238, -0.3219189941883087, -0.4360779821872711, 0.041325632482767105, 0.8967196941375732, 0.0024453778751194477, 1.0840198993682861, 0.29161664843559265, -0.6886076927185059, -0.5081793069839478, -0.925071656703949, -0.5661185383796692, -0.48655661940574646, 0.3167187571525574, -0.7115355134010315, -0.6049226522445679, 0.6811269521713257, 0.05171170458197594, -0.004208228085190058, 0.23259322345256805, 0.6351709961891174, 0.18882395327091217, 0.7236835360527039, 0.6227105259895325, -0.08284278213977814, -0.1439606249332428, -0.19417883455753326, 0.5257388353347778, -0.47411224246025085, -0.17875179648399353, -0.5034160017967224, -0.12463339418172836, -0.17898990213871002, -0.47512245178222656, 0.2929825484752655, 0.22572851181030273, 0.38051673769950867, 0.1649978756904602, -0.3080121576786041, 0.525715708732605, 0.10684634000062943, -0.062427859753370285, 0.416945219039917, 0.07817747443914413, -0.32761162519454956, -0.2623675465583801, -0.2767687141895294, -0.47396203875541687, 0.8985670804977417, 0.5373675227165222, 0.6060241460800171, 0.057914528995752335, 0.6402257084846497, 0.15974630415439606, 0.1001901775598526, -0.9093617796897888, 0.49915072321891785, 0.4965499937534332, -0.791972815990448, -0.35336288809776306, -0.33664941787719727, -0.2568662464618683, 0.6091316342353821, -0.5207713842391968, -0.8602016568183899, 0.35498252511024475, 0.0926022157073021, -0.39815208315849304, 0.4689417779445648, -0.3539486825466156, 0.5704811215400696, -0.1431206464767456, -0.3810794949531555, -0.4615825116634369, -0.5857752561569214, 0.5812395215034485, -0.08831754326820374, 0.1363275796175003, 0.057924218475818634, 0.30758902430534363, 0.6648383140563965, -0.17451560497283936, 1.0744808912277222, -0.20085778832435608, -0.579289436340332, 0.4605485200881958, 0.44995132088661194, 0.9507671594619751, -0.022322099655866623, -0.02218153141438961, -0.05641661956906319, -0.05711504444479942, -0.08897809684276581, -0.461849182844162, 0.5749997496604919, -0.5211905241012573, -0.7739942073822021, -0.4507274031639099, -0.5295618176460266, -0.6331906914710999, 0.33038613200187683, 0.5215626955032349, 0.40663614869117737, -0.28167954087257385, 0.4304046332836151, 1.180854320526123, 0.08456037938594818, 0.23401720821857452, 0.4427906572818756, -0.462959349155426, -0.28670161962509155, 0.6663601398468018, 0.09026669710874557, 0.5531885027885437, 0.26416516304016113, 0.29459309577941895, -0.42662012577056885, -0.7871565818786621, 0.09736110270023346, 0.34963592886924744, -0.8322248458862305, -0.08617319911718369, -0.9781988859176636, -0.1699291318655014, -0.6719924807548523, 0.060048799961805344, -0.4151136875152588, -0.4255072772502899, -0.0752805545926094, -0.36380913853645325, 0.08719930052757263, 0.5694858431816101, 0.21128018200397491, 0.5405186414718628, -0.5370243191719055, 0.8414000868797302, 0.08192861825227737, 0.19072113931179047, 0.17122244834899902, -0.5903164148330688, -0.2075115293264389, 0.22296011447906494, -0.32180920243263245, -0.986289918422699, 0.30460602045059204, 0.0007197848171927035, 0.4582434296607971, 0.9765331149101257, 0.3389245271682739, 0.9970238208770752, -0.3878779709339142, 0.4694490432739258, 0.2117580771446228, -1.2081588506698608, 0.08022571355104446, -0.22543705999851227, -0.15977536141872406, 0.5233120918273926, 0.2914292514324188, -0.4966326355934143, -0.831621527671814, -0.5494247674942017, -0.5388776659965515, 0.36144718527793884, 0.4386921525001526, -0.17638054490089417, -0.02018599770963192, 0.3252348303794861, 0.1765575408935547, 0.5528770089149475, -0.9470784068107605, -0.19214101135730743, -0.05533648654818535, -0.08881707489490509, 0.5689194798469543, -0.7273055911064148, -0.45990005135536194, 0.04098673164844513, 0.8474267721176147, -0.232736274600029, 0.0887375921010971, 0.4352615475654602, -0.3702152967453003, -0.7006243467330933, -0.17192566394805908, 0.6142756342887878, 0.9957419633865356, -0.21852600574493408, 0.23425604403018951, -0.03721126541495323, -0.49755945801734924, -0.15552997589111328, -0.2897021472454071, -0.5017880201339722, 0.05041342228651047, 0.5550270080566406, 1.0251094102859497, 0.37270599603652954, -0.4596271216869354, 0.31735751032829285, 0.18341021239757538, -0.2887404263019562, -0.5142713785171509, -0.012476848438382149, 0.1317017823457718, 0.23627300560474396, 0.6698116660118103, 0.18337829411029816, 0.30336299538612366, -0.6241961717605591, 0.39199772477149963, 0.6559716463088989, -0.3909023106098175, -0.4383598864078522, 0.6838080286979675, 0.004744954407215118, 0.007863537408411503, 0.3094368875026703, -0.028009045869112015, -0.7835000157356262, 0.36776313185691833, 0.9449155926704407, 1.1903674602508545, -0.12622492015361786, 0.2729327082633972, 0.2234242558479309, 0.6463481783866882, -0.6101497411727905, 0.0853571742773056, 0.052029311656951904, -0.8933073878288269, -0.5035934448242188, -0.8559948801994324, -0.35462015867233276, 0.3405289649963379, -0.6104787588119507, 0.3399335443973541, -0.416748583316803, -0.1829681247472763, -0.4213155508041382, -0.03621813282370567, 0.10558554530143738, 0.3268436789512634, 0.34111902117729187, 0.7940215468406677, -0.8820799589157104, 0.6691260933876038, 0.0964997187256813, -0.23891820013523102, -0.4046798050403595, 0.6658253073692322, 0.25031164288520813, -0.7672044634819031, 0.43666893243789673, 0.2920851409435272, -0.8140893578529358, -0.0019845280330628157, -0.6313507556915283, -0.9627351760864258, 0.5967070460319519, 0.2816956341266632, -0.6001566648483276, -0.2834509611129761, 0.23772750794887543, 0.3170667886734009, -0.35671162605285645, -0.23716603219509125, 0.6637362241744995, 0.6529049873352051, 0.28120115399360657, -0.9326056241989136, 0.357908695936203, 0.15810412168502808, -0.5368945002555847, 0.037047553807497025, -0.4295433759689331, 0.49434927105903625, -0.4894827902317047, -0.40598633885383606, 0.2503504157066345, 0.7951568961143494, 0.28973284363746643, 0.24122656881809235, 0.5676312446594238, 0.6157883405685425, 0.988959789276123, -0.029540199786424637, 0.829430103302002, -0.35535240173339844, 0.3564606010913849, 0.9477789402008057, -0.5085245370864868, 0.5362436771392822, 0.7178170084953308, 0.02185269445180893, 0.211832195520401, 0.21937569975852966, 0.16816012561321259, 0.6020824909210205, 0.18317373096942902, 0.010146178305149078, -0.3016420304775238, -0.025519294664263725, -0.4436774253845215, 0.29436177015304565, 0.5910825133323669, -0.10878186672925949, 0.13425971567630768, -0.0785256028175354, 0.19206860661506653, 0.10203485935926437, -0.0525951161980629, 0.44264912605285645, 0.4592617154121399, -0.5035386681556702, 0.8154839873313904, -0.19863347709178925, 0.3832593560218811, -0.7658396363258362, -0.030055329203605652, 0.11460299789905548, 0.21230070292949677, -0.23968729376792908, -0.20043285191059113, 0.5032517910003662, -0.45128104090690613, -0.22672049701213837, -0.1382654458284378, 0.6407908797264099, -0.5314846634864807, -0.3509623408317566, 0.4730408787727356, 0.10864156484603882, -0.1273329257965088, -0.5151433944702148, -0.4649659991264343, 0.3886314928531647, 0.09813099354505539, -0.39617177844047546, 0.10885162651538849, 0.6925172209739685, 0.004510477185249329, 0.8166767358779907, 0.5278575420379639, 0.3950308859348297, 0.032438043504953384, -0.009001068770885468, 0.6388875246047974, -0.6378926634788513, -0.7414180636405945, -0.7968395352363586, 0.23624403774738312, -0.09730163961648941, -0.1311945617198944, 0.8524172902107239, 0.43681424856185913, 0.27870795130729675, -0.10119442641735077, 0.7008792757987976, -0.06733217090368271, 0.48032212257385254, -0.7073837518692017, 1.1423965692520142, -0.5201133489608765, 0.14786601066589355, -0.31378501653671265, -1.0541722774505615, -0.1815183311700821, 0.932121992111206, -0.18798524141311646, -0.30797386169433594, 1.2060198783874512, 0.7003389596939087, 0.1624508947134018, 0.3982493281364441, 0.40763235092163086, 0.99649578332901, 0.17855536937713623, 0.08783745020627975, 0.6633081436157227, -0.4171239733695984, 0.4766930937767029, -0.18883179128170013, -0.08807789534330368, -0.22451594471931458, -0.8027870059013367, -1.238467812538147, -0.6098843812942505, -0.43726828694343567, -0.7552539706230164, 0.05059906095266342, 0.9240948557853699, 0.5336766242980957, -1.1421197652816772, -0.3932616710662842, -0.11007198691368103, 0.1120610162615776, -0.28518354892730713, -0.23977912962436676, 0.41739127039909363, -0.4000200033187866, -0.48945939540863037, 0.6318262219429016, 0.18342402577400208, 0.14577430486679077, -0.388082355260849, -0.09265695512294769, -0.02150605246424675, 0.1471281200647354, 0.42384177446365356, 0.09389422833919525, -1.059484601020813, -0.290113627910614, 0.15693122148513794, 0.03227710351347923, -0.18306687474250793, 0.9237214922904968, -0.7186473608016968, 0.21625341475009918, 0.17176614701747894, 0.6884357333183289, 0.46456265449523926, -0.07504022866487503, 0.6227719783782959, -0.5684203505516052, 0.39716121554374695, 0.271634578704834, 0.37110695242881775, 0.143024742603302, -0.497662752866745, 0.28960278630256653, 0.5199833512306213, -0.07628130167722702, -1.3064106702804565, 0.2877713441848755, -0.8091636896133423, -0.2900516092777252, 1.0312665700912476, 0.2872426509857178, -0.2892117500305176, -0.17134784162044525, -0.1944846510887146, 0.12137118726968765, -0.11577288061380386, 1.3276242017745972, 0.9604418277740479, 0.2509241998195648, 0.018877938389778137, -0.4842545688152313, 0.8877403736114502, 0.44561767578125, -0.2226809859275818, 0.34974154829978943, 0.4161355197429657, 0.17799729108810425, 0.4973101317882538, 0.5721253156661987, -0.20166799426078796, -0.028608419001102448, 0.20170049369335175, 0.042491614818573, 0.10194503515958786, -0.5770474672317505, -0.02690858207643032, 0.5114316940307617, -0.05950509384274483, 0.031330738216638565 ]
http://arxiv.org/abs/2402.19097v1
http://arxiv.org/pdf/2402.19097v1
TEncDM: Understanding the Properties of Diffusion Model in the Space of Language Model Encodings
2024-02-29T12:25:45
2024-02-29T12:25:45
Alexander Shabalin, Viacheslav Meshchaninov, Tingir Badmaev, Dmitry Molchanov, Grigory Bartosh, Sergey Markov, Dmitry Vetrov
cs.CL
cs.CL, I.2; I.7
Drawing inspiration from the success of diffusion models in various domains, numerous research papers proposed methods for adapting them to text data. Despite these efforts, none of them has managed to achieve the quality of the large language models. In this paper, we conduct a comprehensive analysis of key components of the text diffusion models and introduce a novel approach named Text Encoding Diffusion Model (TEncDM). Instead of the commonly used token embedding space, we train our model in the space of the language model encodings. Additionally, we propose to use a Transformer-based decoder that utilizes contextual information for text reconstruction. We also analyse self-conditioning and find that it increases the magnitude of the model outputs, allowing the reduction of the number of denoising steps at the inference stage. Evaluation of TEncDM on two downstream text generation tasks, QQP and XSum, demonstrates its superiority over existing non-autoregressive models.
[ -0.28001371026039124, -0.8771520853042603, 0.6094282865524292, 0.29523855447769165, -0.12195837497711182, -0.08643108606338501, -0.11822041124105453, 0.22306935489177704, -0.025190528482198715, 0.6892558336257935, -0.2787894010543823, -0.5070885419845581, -0.9044502377510071, -0.013291354291141033, -0.8212825655937195, 0.7287878394126892, -0.06399326771497726, 0.1060580462217331, -0.3516412675380707, -0.06575576961040497, -0.3246147930622101, -0.8114919662475586, -0.6950039863586426, -0.2744947373867035, -0.12336201220750809, -0.13949382305145264, 0.5055518746376038, 0.502288818359375, 0.27530989050865173, 0.2392493188381195, -0.47123152017593384, -0.20022094249725342, -0.573203980922699, 0.15784624218940735, -0.09130429476499557, -0.14577125012874603, -0.22833579778671265, 0.07174516469240189, 0.9338132739067078, 0.9162288308143616, -0.2616877853870392, -0.28312593698501587, 0.08919022977352142, 0.6872663497924805, -0.4894798994064331, -0.22784408926963806, -0.1797468364238739, -0.03377941995859146, 0.09810727834701538, 0.06321097165346146, -0.7417563796043396, -0.1673021912574768, -0.17165331542491913, -0.32097575068473816, 0.40334081649780273, -0.10183451324701309, 0.368383526802063, 0.18786124885082245, -0.9343342781066895, -0.44452527165412903, -0.9579300284385681, 0.7485656142234802, -0.7609026432037354, 0.3874064087867737, 0.577592134475708, 0.0897931158542633, 0.032796405255794525, -0.8258771300315857, -0.7178986072540283, 0.21002034842967987, -0.11580546945333481, 0.07274454832077026, -0.22034725546836853, -0.17635509371757507, -0.25967082381248474, 0.5320560932159424, -0.47136086225509644, -0.11843042820692062, -0.08665350824594498, 0.084809310734272, 0.45702043175697327, 0.2400810867547989, 0.5074188113212585, -0.13212552666664124, -0.4195437431335449, -0.22594888508319855, -0.33811673521995544, -0.43135371804237366, 0.22730040550231934, 0.06233219802379608, -0.4244562089443207, 0.09038782864809036, -0.04321680963039398, 0.5192062258720398, 0.2146175652742386, -0.016643090173602104, 0.11418624967336655, -0.538090169429779, -0.3515050411224365, -0.11523106694221497, 0.6748799681663513, 0.017047889530658722, 0.019321072846651077, -0.21547579765319824, -0.18100981414318085, -0.0684501975774765, 0.5270854234695435, -0.9335642457008362, -0.41655656695365906, 0.1484069675207138, -0.741582989692688, -0.3791133165359497, -0.3450690507888794, -0.44242072105407715, -0.2945815324783325, 0.06690508127212524, 0.36119362711906433, -0.4804222881793976, -0.5193634033203125, 0.37381210923194885, -0.22877785563468933, 0.13427188992500305, 0.299755334854126, -1.0341970920562744, 0.6184361577033997, 0.31683510541915894, 0.8769732117652893, -0.7175496220588684, -0.0893096998333931, -0.08831745386123657, 0.23153528571128845, -0.4684497117996216, 0.9733671545982361, -0.6001508235931396, -0.4790612757205963, -0.051584597676992416, 0.030600104480981827, -0.32025113701820374, -0.44724953174591064, 0.45881691575050354, -0.809249758720398, 0.4617723524570465, -0.003559047356247902, -0.9563785791397095, -0.39789703488349915, 0.265449196100235, -0.7864830493927002, 0.8928757905960083, 0.3239233195781708, -0.6405264139175415, 0.11301789432764053, -0.5035117268562317, -0.307140052318573, -0.08153186738491058, 0.2907159626483917, -0.464672327041626, 0.35590964555740356, 0.10214526951313019, 0.513043999671936, -0.18102994561195374, 0.44501596689224243, -0.3162815570831299, 0.044189564883708954, 0.15119804441928864, -0.7029094099998474, 0.7507839798927307, 0.39182910323143005, 0.12248082458972931, -0.02089686132967472, -0.5684989094734192, -0.33764421939849854, 0.07796262949705124, -0.3362463116645813, -0.6750632524490356, -0.1388237178325653, 0.23401357233524323, 0.25246548652648926, -0.11736410111188889, -0.3596094846725464, 0.21272440254688263, -0.14309823513031006, 0.4847131669521332, 0.44215670228004456, 0.4769943952560425, 1.1511282920837402, 0.09677018225193024, 0.603480875492096, 0.37394243478775024, -0.10607265681028366, -0.4724246561527252, -0.31737279891967773, -0.5018952488899231, 0.030968407168984413, 0.44328874349594116, 0.08276280760765076, -0.6515992283821106, 0.14874234795570374, -0.18376246094703674, -0.24776753783226013, -0.05953289940953255, 0.036110322922468185, 0.06550364941358566, 0.2614441514015198, 0.25651586055755615, -0.28864943981170654, -0.033106788992881775, -0.29363781213760376, 0.0032235714606940746, 0.04937877878546715, 0.16708649694919586, 0.17636853456497192, 0.4343907833099365, -0.34323883056640625, 0.8139384388923645, -0.5252375602722168, -0.28366154432296753, -0.5640708208084106, 0.14287054538726807, 0.031480103731155396, 0.6335164308547974, 0.6537672281265259, -0.7683675289154053, -0.5091859102249146, -0.257193922996521, -0.741666316986084, -0.1889568418264389, -0.3391733765602112, -0.06796076893806458, 0.1277056336402893, 0.723963737487793, -0.29710817337036133, 0.4745657444000244, 0.9018635153770447, -0.8214651346206665, 0.4113602638244629, -0.6750648021697998, 0.07409463077783585, -1.1110421419143677, -0.027091342955827713, -0.05983763933181763, -0.35636064410209656, -1.1195251941680908, 0.14071649312973022, 0.32749414443969727, -0.22831110656261444, -0.4568156599998474, 1.0679868459701538, -0.6814488768577576, 0.1497795283794403, -0.5832353830337524, 0.23723098635673523, 0.23220428824424744, 0.3550529479980469, 0.25438982248306274, 0.7186287045478821, 0.3163308799266815, -1.0022696256637573, -0.09110012650489807, 0.33818209171295166, -0.2050650417804718, 0.45857807993888855, -0.4906138777732849, -0.014934441074728966, -0.19940871000289917, 0.21955983340740204, -1.3050470352172852, 0.18912312388420105, 0.09332288056612015, -0.29917365312576294, 0.4419807493686676, -0.004357771947979927, -0.35117214918136597, -0.14981697499752045, 0.02638208121061325, 0.7527028322219849, 0.5629013180732727, -0.4558667838573456, 0.7155015468597412, 0.47015151381492615, 0.06584528088569641, -0.028871044516563416, -0.45963576436042786, 0.21711529791355133, -0.4471742510795593, -0.5046011209487915, 0.46533435583114624, -0.26168563961982727, -0.06946174055337906, -0.011655409820377827, 0.014576558023691177, -0.3110406994819641, 0.5118483304977417, 0.007309670560061932, -0.3454364240169525, 0.025397395715117455, 0.13903005421161652, 0.3896261751651764, -0.23026321828365326, 0.2109520137310028, -0.547480583190918, 0.6523429751396179, 0.6352531313896179, -0.2033972591161728, -0.42641711235046387, 0.20615030825138092, 0.25303950905799866, 0.07720905542373657, 1.0105361938476562, 0.6406379342079163, -0.2661152482032776, -0.4430460035800934, -0.2169043868780136, -0.08395636826753616, -0.4423028826713562, 0.16339805722236633, -0.40194663405418396, -0.711381733417511, 0.5797153115272522, -0.4533030688762665, -0.461584210395813, 0.5454959273338318, 0.7461187839508057, -0.013373492285609245, 0.888545036315918, 0.9908627271652222, 0.028613531962037086, 0.5202679634094238, -0.5809782147407532, 0.1358100324869156, -0.8605532646179199, -0.1428135186433792, -0.5459673404693604, -0.026225045323371887, -0.18569444119930267, -0.6340075731277466, -0.005980462301522493, 0.19808995723724365, -0.09723830968141556, 0.25447943806648254, -0.2602591812610626, 0.22290273010730743, 0.3945007622241974, -0.10769001394510269, 0.29862073063850403, 0.09960594028234482, -0.2882346510887146, 0.030314579606056213, -0.8517364859580994, -0.5391298532485962, 0.7877650856971741, 0.34980690479278564, 0.9306515455245972, 0.17974451184272766, 0.6040593981742859, 0.7803686857223511, 0.03943366929888725, -0.3483734130859375, 0.24460439383983612, -0.4219896197319031, -0.4627940058708191, -0.343561053276062, -0.31578654050827026, -0.9735845327377319, 0.17314200103282928, 0.018679294735193253, -0.34353572130203247, 0.5130168199539185, -0.17193597555160522, -0.08558060228824615, 0.31505972146987915, -0.6051367521286011, 0.87900310754776, 0.3025001585483551, -0.09412427246570587, -0.36923152208328247, -0.1982453316450119, 0.41403132677078247, -0.2934982478618622, 0.3296636641025543, -0.056687239557504654, -0.02265962027013302, 0.8052038550376892, -0.3015572726726532, 0.9518882632255554, -0.2035733163356781, -0.4503690004348755, 0.2517188787460327, 0.4703288674354553, 0.25202232599258423, -0.09078291803598404, -0.15150359272956848, 0.24308502674102783, 0.08406385034322739, -0.4838464856147766, -0.6108768582344055, 0.6069072484970093, -0.7925654053688049, -0.49007123708724976, -0.22544845938682556, -0.43057799339294434, 0.1814345419406891, 0.28016677498817444, 0.217271625995636, 0.5662611126899719, -0.5060319304466248, 0.13011524081230164, 0.710898756980896, -0.48062434792518616, 0.8039250373840332, 0.4139329791069031, -0.2658436596393585, -0.3836406171321869, 0.629589319229126, -0.10876118391752243, 0.5531256794929504, 0.47094959020614624, 0.26424700021743774, -0.36271220445632935, -0.7247694730758667, -0.44556328654289246, 0.3384458124637604, -0.7784421443939209, -0.13940370082855225, -1.0674866437911987, -0.2670528292655945, -0.5162190794944763, -0.037443857640028, -0.23457078635692596, -0.62147057056427, -0.6158278584480286, 0.07017375528812408, 0.04269472882151604, 0.9820868968963623, 0.05867631360888481, 0.8165551424026489, -0.7482151985168457, 0.3877812623977661, 0.0780249536037445, 0.23403632640838623, 0.3152330219745636, -1.0421276092529297, -0.556216299533844, -0.11599068343639374, -0.3093198239803314, -0.8506801724433899, 0.8563922047615051, 0.20150192081928253, 0.555204451084137, 0.5043572187423706, 0.20902054011821747, 0.29832741618156433, -0.3889421820640564, 1.0554683208465576, -0.0996832475066185, -1.18672776222229, 0.38259032368659973, 0.07642722874879837, 0.4626242220401764, 0.012036644853651524, 0.35757675766944885, -0.7975561022758484, -0.4398135542869568, -0.6302983164787292, -0.49274682998657227, 0.6943992972373962, 0.41775450110435486, 0.6512277722358704, -0.41268226504325867, 0.4651137590408325, 0.10574761033058167, -0.09285523742437363, -0.6003398299217224, -0.34402695298194885, -0.27490755915641785, -0.21115374565124512, -0.156931072473526, -0.7560073137283325, 0.25248801708221436, 0.21808236837387085, 0.6141685843467712, -0.008925226517021656, 0.42996856570243835, 0.055018264800310135, -0.5286107063293457, 0.3413366973400116, -0.05470369756221771, 0.6291545033454895, 0.19317349791526794, 0.1483924388885498, 0.322339802980423, 0.031917672604322433, -0.639457643032074, 0.5631074905395508, -0.4335297644138336, -0.3338419795036316, 0.18449603021144867, 0.463422954082489, 0.7417721748352051, 0.032705776393413544, -0.07252611964941025, 0.6170289516448975, -0.4035302698612213, -0.1640905886888504, -0.028551870957016945, 0.10930515825748444, 0.23896382749080658, -0.023716211318969727, 0.46061450242996216, -0.2522726356983185, 0.265065997838974, -0.16801045835018158, 0.17204399406909943, 0.37766149640083313, -0.44185498356819153, -0.5975899696350098, 1.0073347091674805, 0.2682921290397644, -0.29464516043663025, 0.5754860043525696, -0.3365311920642853, -0.334760457277298, 0.6649423837661743, 0.8975529074668884, 0.9854029417037964, -0.3347760736942291, 0.3932279646396637, 0.4149670898914337, 0.08856938034296036, -0.23111820220947266, -0.06920775026082993, -0.3056970536708832, -1.0846376419067383, -0.46843594312667847, -0.6302538514137268, -0.14143602550029755, -0.1946132630109787, -0.5470165610313416, 0.015032447874546051, -0.25321677327156067, -0.21532824635505676, -0.2465217411518097, -0.16498354077339172, -0.40269240736961365, 0.3297555446624756, 0.06786071509122849, 1.0089504718780518, -1.1074998378753662, 1.1922483444213867, 0.33893492817878723, -0.04585905000567436, -0.3680912256240845, 0.0240172166377306, -0.40766334533691406, -0.8216040730476379, 0.6860427856445312, -0.21795663237571716, 0.14881376922130585, 0.3094724714756012, -0.29849639534950256, -0.9254005551338196, 0.9241847395896912, 0.07468119263648987, -0.003040618496015668, -0.008900701999664307, 0.013618554919958115, 0.5735043287277222, -0.5548346042633057, 0.31430116295814514, 0.5406532883644104, 0.2884603440761566, -0.08529555052518845, -0.2178165316581726, 0.11797834187746048, -0.1316850632429123, 0.491258829832077, 0.1799335777759552, -0.4853151738643646, 0.5976807475090027, -0.20049741864204407, -0.5994006395339966, 0.116562619805336, 0.7015969753265381, -0.19981054961681366, 0.07935597002506256, 0.14185677468776703, 0.5233070254325867, 0.5245246291160583, 0.09905420243740082, 1.190285325050354, -0.5579898953437805, 0.6529402136802673, 0.9491976499557495, -0.14774133265018463, 0.5298993587493896, 0.33195340633392334, -0.14520739018917084, 0.7280672788619995, 0.36583399772644043, 0.2169683426618576, 0.7182027697563171, -0.07241062074899673, -0.15260308980941772, -0.12201898545026779, 0.11746679991483688, -0.17541354894638062, 0.24765156209468842, 0.2856486141681671, -0.5813227891921997, -0.24843640625476837, 0.3590812683105469, -0.06081072613596916, 0.3667030930519104, -0.01823815330862999, 1.1392977237701416, 0.09804114699363708, -0.10363677889108658, 0.6034812331199646, 0.2878642976284027, 0.43651390075683594, -0.2714588940143585, 0.2640376091003418, -0.872795045375824, 0.09312686324119568, 0.13130493462085724, -0.6737548112869263, 0.5483191013336182, -0.39911752939224243, -0.40222877264022827, -0.6781609058380127, 0.6349748373031616, -0.4586102068424225, -0.4965534806251526, 0.35476070642471313, 0.6452178955078125, 0.1970735639333725, -0.16651207208633423, -0.44187161326408386, 0.12966059148311615, -0.008456708863377571, -0.3107750713825226, 0.3283943235874176, 0.8928770422935486, 0.0017919440288096666, 0.8738645315170288, 0.39421510696411133, 0.15819598734378815, -0.05845845490694046, 0.27796751260757446, 0.5356490015983582, -0.9772039651870728, -0.6992633938789368, -0.9891287088394165, 0.18976429104804993, 0.11271467059850693, -0.04319203644990921, 0.9083329439163208, 0.3647826313972473, 0.49646618962287903, -0.1639813631772995, 0.4968877136707306, 0.2713868021965027, 0.2802141010761261, -0.5340914130210876, 0.9021023511886597, -0.22276394069194794, 0.3664468824863434, -0.2358918935060501, -0.8704987168312073, -0.3366810083389282, 0.3981671631336212, -0.10767746716737747, 0.15621481835842133, 0.8306471109390259, 0.4715571999549866, -0.09322234243154526, -0.24161770939826965, 0.6622573137283325, 0.22849111258983612, 0.42191505432128906, 0.22723759710788727, 0.7010955810546875, -0.6693866848945618, 0.3474103510379791, -0.19536113739013672, 0.11924757808446884, -0.01244424283504486, -0.9411269426345825, -0.8700829744338989, -0.7423077821731567, -0.4925197660923004, -0.33085551857948303, -0.23121432960033417, 0.1480545550584793, 0.8004850149154663, -0.7295538187026978, -0.2660628855228424, -0.22690917551517487, 0.31350478529930115, -0.302707314491272, -0.21450649201869965, 0.5145546793937683, -0.5172519683837891, -0.8319388628005981, 0.07208981364965439, 0.3753345310688019, 0.38908836245536804, -0.43999555706977844, -0.23303906619548798, -0.0668262243270874, 0.2094830572605133, 0.7254753112792969, -0.3838924467563629, -0.3931508958339691, 0.09854564815759659, -0.01024022325873375, -0.21778550744056702, 0.07992754876613617, 0.9082366228103638, -1.0444564819335938, 0.4136534035205841, 0.5218693017959595, 0.6911965608596802, 0.7377694845199585, 0.12598669528961182, 0.7724862694740295, -0.4720742106437683, -0.049965985119342804, -0.16611769795417786, 0.24212870001792908, 0.40117231011390686, -0.29937446117401123, 0.39256858825683594, 0.3591221570968628, -0.4986780285835266, -0.7174044847488403, -0.07251548767089844, -0.6182173490524292, -0.68422931432724, 1.304911732673645, -0.09313134104013443, -0.33548885583877563, -0.18116754293441772, -0.05115238577127457, 0.1433529555797577, -0.27553078532218933, 0.811329185962677, 0.6863662004470825, 0.20935611426830292, -0.33491945266723633, -0.07572539150714874, 0.35983115434646606, 0.1502072662115097, -0.7166751623153687, 0.29516446590423584, 0.16947413980960846, 0.3656769394874573, -0.10342159867286682, 0.7973476648330688, -0.07823530584573746, -0.007775834761559963, 0.1604985147714615, 0.14097000658512115, 0.2516930103302002, -0.16775044798851013, -0.9778313040733337, 0.3045614957809448, -0.09540977329015732, 0.048305243253707886 ]
http://arxiv.org/abs/2402.19088v2
http://arxiv.org/pdf/2402.19088v2
Survey in Characterization of Semantic Change
2024-02-29T12:13:50
2024-03-11T15:21:57
Jader Martins Camboim de Sá, Marcos Da Silveira, Cédric Pruski
cs.CL
cs.CL, cs.AI
Live languages continuously evolve to integrate the cultural change of human societies. This evolution manifests through neologisms (new words) or \textbf{semantic changes} of words (new meaning to existing words). Understanding the meaning of words is vital for interpreting texts coming from different cultures (regionalism or slang), domains (e.g., technical terms), or periods. In computer science, these words are relevant to computational linguistics algorithms such as translation, information retrieval, question answering, etc. Semantic changes can potentially impact the quality of the outcomes of these algorithms. Therefore, it is important to understand and characterize these changes formally. The study of this impact is a recent problem that has attracted the attention of the computational linguistics community. Several approaches propose methods to detect semantic changes with good precision, but more effort is needed to characterize how the meaning of words changes and to reason about how to reduce the impact of semantic change. This survey provides an understandable overview of existing approaches to the \textit{characterization of semantic changes} and also formally defines three classes of characterizations: if the meaning of a word becomes more general or narrow (change in dimension) if the word is used in a more pejorative or positive/ameliorated sense (change in orientation), and if there is a trend to use the word in a, for instance, metaphoric or metonymic context (change in relation). We summarized the main aspects of the selected publications in a table and discussed the needs and trends in the research activities on semantic change characterization.
[ -0.6721459031105042, -1.0379514694213867, 0.22772802412509918, 0.054003406316041946, -0.2569030225276947, -0.10526132583618164, -0.3788571357727051, -0.946308434009552, 0.6106024384498596, 0.4605436623096466, -0.5427838563919067, -0.29650643467903137, -0.6162167191505432, 0.4846494793891907, -0.5005590319633484, 0.8787877559661865, -0.24414844810962677, 0.057462919503450394, -0.04374263435602188, -0.26102975010871887, -0.4765779376029968, -0.30809128284454346, -0.30245131254196167, -0.1678219884634018, 0.5868428945541382, -0.12153653800487518, 0.8204677104949951, 0.6384558081626892, 0.6356815099716187, 0.325186163187027, -0.5893688201904297, -0.2558290362358093, -0.11899279057979584, 0.3546655476093292, -0.12069392949342728, -0.5117700695991516, -0.17810072004795074, 0.28203046321868896, 0.8683133721351624, 1.0339105129241943, 0.17040292918682098, 0.2721991539001465, -0.1969531774520874, 0.5732396841049194, -0.7793449759483337, 0.32073384523391724, -0.8865129947662354, 0.12566529214382172, -0.5693013668060303, -0.2654111087322235, 0.03822735697031021, -0.11728928238153458, 0.16811759769916534, -0.6517195701599121, 0.4955933392047882, -0.3278546929359436, 1.0109163522720337, 0.14017026126384735, -0.319977730512619, -0.37118130922317505, -0.7944993376731873, 0.8090153932571411, -0.5832975506782532, 0.7020816802978516, 0.27330493927001953, 0.42273053526878357, -0.2618972361087799, -0.7713742852210999, -0.5966765284538269, -0.3910594582557678, 0.06535596400499344, -0.028469014912843704, -0.09482160210609436, -0.13732972741127014, 0.08458594977855682, 0.41999563574790955, -0.1009342223405838, 0.008874011225998402, -0.2860970199108124, -0.5082234740257263, 0.6338298916816711, 0.2753317356109619, 0.4643508791923523, -0.22920279204845428, -0.1624145209789276, -0.35632792115211487, -0.6986994743347168, -0.006504280958324671, 0.34326717257499695, 0.17221365869045258, 0.2156974971294403, 0.23633098602294922, -0.5346454977989197, 0.792931318283081, -0.2956460118293762, -0.1595308780670166, 0.27862676978111267, -0.9146015048027039, -0.025243554264307022, -0.1550547033548355, 0.32898253202438354, 0.2960880398750305, 0.060492999851703644, -0.16683092713356018, -0.0008368258131667972, 0.31795379519462585, 0.040394414216279984, -0.4814930558204651, -0.027788443490862846, -0.18573841452598572, -0.6574908494949341, -0.3770252466201782, -0.03914286196231842, -0.6717308759689331, -0.44914567470550537, -0.5638782978057861, -0.04317841678857803, -0.3621087968349457, -0.4830695688724518, 0.3408287465572357, -0.25515544414520264, 0.6263974905014038, 0.6710457801818848, -0.7362125515937805, 0.3078962564468384, 0.7359910011291504, 0.6592395305633545, -0.3297553062438965, -0.23412568867206573, 0.10861745476722717, -0.16914652287960052, -0.4625909626483917, 0.9098376631736755, -0.582015872001648, -0.4041832685470581, 0.03737221285700798, 0.018321789801120758, -0.083769291639328, -0.4830588102340698, 0.34023916721343994, -0.6488904356956482, 0.276720255613327, -0.1406140774488449, -0.41350284218788147, -0.23487350344657898, 0.6428453326225281, -0.5364354848861694, 0.9339149594306946, 0.1273939162492752, -0.9725778102874756, 0.590867280960083, -0.5593878626823425, -0.23822320997714996, 0.32483935356140137, 0.007594063878059387, -0.17346298694610596, 0.16123764216899872, -0.4279272258281708, 0.15105491876602173, -0.24084779620170593, 0.07824264466762543, -0.2694048583507538, -0.13143624365329742, 0.7275515198707581, -0.0760335773229599, 0.8196972608566284, 0.3372057378292084, -0.19216066598892212, 0.06379792094230652, -0.8619555830955505, 0.19310681521892548, -0.1736958622932434, -0.2530440390110016, -0.49417251348495483, 0.4784541130065918, 0.08848495781421661, 0.04852360486984253, 0.34210047125816345, -0.7664568424224854, 0.10945212841033936, -0.4917266368865967, 0.46722790598869324, 0.4344368278980255, 0.11394533514976501, 0.28859105706214905, 0.012159142643213272, 0.4465239346027374, -0.09619469940662384, 0.5144996643066406, 0.21621358394622803, -0.6651963591575623, -0.6306454539299011, 0.0015760118840262294, 0.5770652890205383, 0.3380894660949707, -0.4977061152458191, 0.20897355675697327, -0.2775592803955078, -0.4507099390029907, -0.2825982868671417, -0.12838108837604523, -0.08305580168962479, 0.2343880534172058, 0.47792086005210876, -0.36013081669807434, -0.5521663427352905, -0.7967228889465332, -0.4964268207550049, -0.4149864912033081, 0.10980037599802017, 0.12130874395370483, 0.5763648152351379, -0.5328359007835388, 1.0272009372711182, -0.5699803829193115, 0.002661181380972266, -0.06766343861818314, 0.21114908158779144, -0.10438212007284164, 0.08543630689382553, 0.3643418252468109, -1.0145784616470337, -0.13983222842216492, 0.1335015892982483, -0.24654114246368408, -0.22889575362205505, 0.05668316036462784, 0.009278841316699982, 0.0454883873462677, 0.8016995787620544, -0.3244921863079071, 0.5166671872138977, 0.2994813024997711, -0.5670246481895447, 0.7224847674369812, 0.11569361388683319, 0.0018259799107909203, -0.8082189559936523, -0.13611209392547607, -0.2459583878517151, 0.22946326434612274, -0.624641478061676, 0.33543989062309265, -0.16374212503433228, 0.28306087851524353, -0.5901933908462524, 0.6230001449584961, -0.4638809859752655, -0.04413772001862526, -0.22195205092430115, 0.32700809836387634, -0.23618878424167633, -0.21388639509677887, 0.03233283758163452, 0.13054707646369934, 0.4737137258052826, -0.8933077454566956, 0.6029106974601746, 0.27174893021583557, -0.27692046761512756, 0.38172972202301025, -0.3448048532009125, -0.09619063138961792, -0.23203417658805847, 0.26654788851737976, -0.8191460967063904, 0.03925106301903725, 0.3647196888923645, -0.7391082048416138, 0.03423945978283882, 0.024798834696412086, -0.6436989307403564, -0.0026485114358365536, -0.3740692138671875, 0.3718336522579193, 0.10174259543418884, 0.10925000160932541, 0.2929300367832184, 0.3607006072998047, 0.12285884469747543, -0.3105452060699463, -0.7233105301856995, 0.3747347891330719, -0.30605706572532654, -0.7967609763145447, 0.4855171740055084, -0.038929957896471024, -0.7950342893600464, 0.131259948015213, -0.031358662992715836, -0.2387680858373642, 0.49052494764328003, -0.2520813047885895, 0.18565665185451508, -0.16272489726543427, 0.37936460971832275, 0.014278988353908062, -0.23395074903964996, 0.2093704789876938, -0.1395205408334732, 0.3796083927154541, -0.1782471388578415, 0.30918988585472107, -0.15451885759830475, 0.25396037101745605, 0.2611612379550934, -0.3764116168022156, 0.8378830552101135, 0.8391234278678894, -0.17723169922828674, 0.20538339018821716, -0.4672200381755829, -0.18631628155708313, -0.342619925737381, 0.29042449593544006, -0.2827347218990326, -1.0640000104904175, 0.7075756788253784, -0.1756017804145813, -0.13484232127666473, 0.8406798243522644, 0.6598362326622009, 0.1675437092781067, 0.7551868557929993, 0.5639053583145142, 0.4362998306751251, 0.6763182282447815, -0.015541641041636467, 0.21464988589286804, -0.9030932784080505, -0.19063128530979156, -1.0212018489837646, -0.2221100628376007, -1.3601505756378174, -0.43447303771972656, 0.3162815272808075, -0.07055040448904037, 0.2007657140493393, 0.36655616760253906, -0.39652442932128906, 0.11189208924770355, -0.028614137321710587, -0.39830195903778076, 0.26784172654151917, -0.2300780564546585, 0.14667817950248718, -0.12179567664861679, -0.10929547995328903, -0.4189274311065674, 0.7512145042419434, 0.27886587381362915, 0.7050229907035828, 0.32652872800827026, 0.5579341053962708, 0.39814645051956177, 0.20259246230125427, -0.8801388144493103, 0.8261275291442871, 0.12569141387939453, -0.5738730430603027, -0.3339689373970032, -0.47288069128990173, -1.2510755062103271, 0.4121701717376709, -0.32999831438064575, -0.8688047528266907, 0.2840481698513031, 0.013562122359871864, 0.4984530210494995, 0.1511065661907196, -0.21900561451911926, 0.8640676736831665, -0.03740619495511055, -0.02421504259109497, -0.42102405428886414, -0.7351172566413879, 0.039179764688014984, 0.053247157484292984, 0.19611965119838715, -0.4157017469406128, -0.3988528251647949, 0.7743490934371948, -0.24859221279621124, 0.7525410652160645, -0.15396349132061005, -0.20535945892333984, 0.3771277666091919, 0.2902098000049591, 0.20115846395492554, -0.19380693137645721, -0.056720517575740814, 0.27128151059150696, 0.8108513951301575, -0.38918668031692505, -0.6095964908599854, 0.373185932636261, -0.6432005763053894, -0.21955925226211548, -0.48218461871147156, -0.4588748514652252, -0.3139828145503998, 0.1819363385438919, 0.32392627000808716, 0.2404945194721222, -0.5279504656791687, 0.024357233196496964, 0.5020943880081177, -0.2814160883426666, 0.20635583996772766, 0.5665103197097778, -0.36787939071655273, -0.0468437634408474, 0.7575281262397766, 0.18756842613220215, 0.35168588161468506, 0.412553608417511, 0.5627350807189941, -0.26284658908843994, -0.6410838961601257, -0.19257685542106628, 0.2819269299507141, -0.5925756096839905, 0.12877853214740753, -0.4690692722797394, 0.12233541160821915, -0.5884274840354919, 0.0712641254067421, -0.02285405993461609, -0.6411184072494507, -0.21526788175106049, 0.2172253578901291, 0.4353845417499542, 0.6567219495773315, 0.05563197284936905, 0.027244752272963524, -0.5236819982528687, 0.05499408021569252, 0.08334281295537949, 0.1834278404712677, -0.3733004033565521, -0.47693100571632385, -0.204881489276886, -0.03286515548825264, -0.15786467492580414, -1.0951097011566162, 0.22529014945030212, 0.2661151885986328, 0.5615417957305908, 0.3151969611644745, -0.06708770990371704, 0.4061034917831421, -0.13068096339702606, 0.9627745747566223, -0.07101255655288696, -0.9203667044639587, 0.5234518647193909, -0.3432559072971344, 0.2986975908279419, 0.50489741563797, 0.0957510843873024, -1.1906945705413818, -0.2593705952167511, -0.6592110395431519, -0.6382485032081604, 0.286016047000885, 0.0433754064142704, 0.40369343757629395, -0.1342058777809143, 0.5157661437988281, 0.020685991272330284, 0.22813259065151215, -0.33634480834007263, -0.1754738837480545, -0.07198835909366608, 0.15847447514533997, 0.05631234869360924, -0.14907103776931763, 0.09393095225095749, -0.39126190543174744, 0.448128342628479, -0.11558376997709274, 0.36139655113220215, 0.005529625806957483, -0.18263225257396698, 0.3096283972263336, 0.6373348832130432, 0.6589717864990234, 0.7786089181900024, -0.042570896446704865, 0.4085140526294708, 0.17441916465759277, -0.690933346748352, -0.10074801743030548, 0.04033495485782623, -0.5152654051780701, 0.20835039019584656, 0.4475712776184082, 0.6081976890563965, 0.13833561539649963, -0.4325248897075653, 0.27484649419784546, 0.04567953199148178, -0.07581716030836105, -0.34969857335090637, -0.04010424017906189, -0.3000338077545166, -0.3758555054664612, -0.12540672719478607, 0.014255287125706673, 0.4939033091068268, -0.844750702381134, -0.08796261250972748, 0.3450480103492737, -0.704451322555542, -0.6113137006759644, 0.03602433577179909, -0.004651566967368126, -0.07610070705413818, 0.45107507705688477, -0.41967180371284485, -0.47790032625198364, 0.4867567718029022, 0.42342066764831543, 0.9279955625534058, -0.2375011295080185, 0.42577287554740906, 0.12574978172779083, 0.20969842374324799, 0.2252042591571808, 0.08359513431787491, -0.31236645579338074, -1.2171896696090698, -0.3460821211338043, -0.7095182538032532, -0.41275063157081604, -0.1092802882194519, -0.7295947074890137, 0.23058494925498962, -0.24767404794692993, -0.21389985084533691, 0.26973482966423035, 0.00105845567304641, -0.3714723587036133, 0.1380605697631836, 0.13185584545135498, 0.8601659536361694, -0.7984044551849365, 0.5896403193473816, 1.1546062231063843, -0.21836817264556885, -0.24110649526119232, 0.013754662126302719, 0.3115714490413666, -0.34807494282722473, 0.739000678062439, -0.0507429875433445, -0.35902681946754456, -0.3054431080818176, -0.6038177013397217, -0.8946903944015503, 0.6709909439086914, -0.01200603973120451, 0.14024315774440765, 0.1081826463341713, 0.2617063820362091, 1.0868605375289917, -0.09928707033395767, 0.146267369389534, 0.7120751738548279, 0.6766524314880371, -0.0782509297132492, -0.8188679814338684, -0.24683204293251038, -0.303768128156662, 0.3729507029056549, 0.7841393351554871, -0.267588347196579, 0.9676725268363953, 0.2427154779434204, -0.5212951302528381, 0.023591112345457077, 0.599299967288971, -0.2977796196937561, 0.2751615047454834, 0.5555882453918457, 0.34240520000457764, 0.5157879590988159, -0.2125273197889328, 0.9703728556632996, -0.2961272597312927, 0.5110498666763306, 0.6898837089538574, -0.054725050926208496, 0.7322574257850647, 0.4177323877811432, -0.3834601938724518, 0.67345130443573, 0.7067776322364807, 0.0933542475104332, 0.13002321124076843, 0.6142082214355469, -0.38858136534690857, -0.17106600105762482, -0.31729304790496826, -0.4315306842327118, 0.8491517305374146, 0.6899670362472534, -0.22424161434173584, -0.4747912287712097, 0.09923303127288818, 0.41664761304855347, -0.012790941633284092, -0.2681862413883209, 0.8155507445335388, -0.33226826786994934, -0.5013302564620972, 0.4688482880592346, 0.3592289984226227, 0.5438153147697449, -0.6844468116760254, -0.07192683964967728, 0.010791189968585968, 0.08863359689712524, -0.25861895084381104, -0.6761934757232666, 0.6203265190124512, -0.2611321210861206, -0.11522482335567474, -0.2735038101673126, 0.7045365571975708, -0.13473711907863617, -0.4271807074546814, 0.4386001229286194, 0.5270103216171265, 0.42015188932418823, 0.1220058873295784, -0.7885308861732483, 0.3881841003894806, -0.21554163098335266, 0.12159468978643417, 0.2503338158130646, 0.31203484535217285, -0.41990339756011963, 0.34642571210861206, 0.3495922088623047, 0.42658403515815735, 0.42434996366500854, -0.0385570153594017, 0.6362312436103821, -0.6767011880874634, -0.4420490264892578, -0.3812941312789917, -0.044513244181871414, 0.006107930094003677, -0.6318992376327515, 0.7087001800537109, 0.19996629655361176, 1.0563956499099731, 0.17398597300052643, 0.5234029293060303, -0.4479387104511261, 0.46916574239730835, -0.5518133044242859, 0.23674795031547546, -0.4314216673374176, 0.11540134251117706, -0.3429766595363617, -0.9999023675918579, -0.4741230607032776, 0.4885897636413574, -0.40131285786628723, -0.12208825349807739, 0.7831720113754272, 0.6757778525352478, 0.23537428677082062, 0.1269836127758026, 0.12198080867528915, 0.3369806706905365, 0.245485320687294, -0.20893462002277374, 0.9843441247940063, -0.2620440423488617, 0.17384472489356995, -0.08138233423233032, -0.3321356773376465, -0.15391100943088531, -0.7644190192222595, -0.10870101302862167, -0.9354175925254822, -0.7546614408493042, -0.5022422671318054, -0.06941796839237213, 0.5147978067398071, 0.287168949842453, -0.7217055559158325, -0.2761712670326233, -0.11905306577682495, 0.04973744601011276, -0.5418557524681091, -0.28970614075660706, 0.30916857719421387, -0.418632835149765, -0.39178645610809326, 0.22119230031967163, 0.2738768458366394, -0.18240925669670105, -0.5186500549316406, 0.2432054877281189, -0.2700672745704651, 0.22154109179973602, 0.8500666618347168, 0.483368843793869, -0.9100981950759888, -0.6069984436035156, -0.0069086067378520966, 0.10717266798019409, -0.005562441423535347, 1.089261531829834, -0.661311149597168, 0.6808748841285706, 0.9391443133354187, 0.4635108411312103, 0.42280158400535583, -0.3514035642147064, 0.13592009246349335, -0.2766371965408325, 0.01068512536585331, 0.12884289026260376, 0.18661774694919586, 0.38191279768943787, -0.03978365659713745, 0.6170666813850403, 0.6731762290000916, -0.324896901845932, -0.6398894786834717, 0.7884774208068848, -0.9605805277824402, -0.2903469502925873, 1.0701006650924683, 0.21404774487018585, -0.2654449939727783, -0.43481919169425964, -0.004574059508740902, 0.16122695803642273, 0.09977740049362183, 0.7633431553840637, 0.8123536109924316, -0.5408297181129456, -0.0855853483080864, -0.4672737419605255, 0.5671014785766602, 0.15747901797294617, -0.9279924631118774, -0.09341456741094589, 0.6218178272247314, 0.327591210603714, 0.5935571789741516, 0.3567142188549042, -0.5595760345458984, 0.1437111347913742, -0.20014818012714386, 0.10730093717575073, 0.3195304572582245, -0.012785876169800758, -0.26333707571029663, -0.13407780230045319, 0.06256860494613647, -0.14405959844589233 ]
http://arxiv.org/abs/2402.19085v1
http://arxiv.org/pdf/2402.19085v1
Controllable Preference Optimization: Toward Controllable Multi-Objective Alignment
2024-02-29T12:12:30
2024-02-29T12:12:30
Yiju Guo, Ganqu Cui, Lifan Yuan, Ning Ding, Jiexin Wang, Huimin Chen, Bowen Sun, Ruobing Xie, Jie Zhou, Yankai Lin, Zhiyuan Liu, Maosong Sun
cs.CL
cs.CL, cs.AI, cs.SY, eess.SY
Alignment in artificial intelligence pursues the consistency between model responses and human preferences as well as values. In practice, the multifaceted nature of human preferences inadvertently introduces what is known as the "alignment tax" -a compromise where enhancements in alignment within one objective (e.g.,harmlessness) can diminish performance in others (e.g.,helpfulness). However, existing alignment techniques are mostly unidirectional, leading to suboptimal trade-offs and poor flexibility over various objectives. To navigate this challenge, we argue the prominence of grounding LLMs with evident preferences. We introduce controllable preference optimization (CPO), which explicitly specifies preference scores for different objectives, thereby guiding the model to generate responses that meet the requirements. Our experimental analysis reveals that the aligned models can provide responses that match various preferences among the "3H" (helpfulness, honesty, harmlessness) desiderata. Furthermore, by introducing diverse data and alignment goals, we surpass baseline methods in aligning with single objectives, hence mitigating the impact of the alignment tax and achieving Pareto improvements in multi-objective alignment.
[ -0.42035844922065735, -0.34811338782310486, 0.47228923439979553, 0.09242533147335052, -0.09838178008794785, 0.1928451657295227, -0.3449099659919739, -0.3105868995189667, 0.2956780195236206, 0.6455381512641907, -0.6099020838737488, -0.23154230415821075, -0.4985988736152649, -0.21689368784427643, 0.21890641748905182, 1.0084086656570435, -0.07916099578142166, 0.0013501147041097283, -0.34213051199913025, -0.45049402117729187, -0.6253852248191833, -0.5982301235198975, -0.35407304763793945, -0.4785902798175812, 0.46776142716407776, 0.5905970335006714, 1.0643341541290283, 1.1073237657546997, 0.6996815204620361, 0.15717969834804535, 0.20920170843601227, 0.2830042243003845, -0.41476067900657654, -0.05710897967219353, -0.080723337829113, -0.3207469582557678, -0.45348483324050903, 0.17732621729373932, 0.2927837073802948, 0.5588438510894775, -0.29560837149620056, -0.08677112311124802, 0.330323725938797, 0.8138585090637207, -1.0598387718200684, -0.3086296617984772, -0.7523982524871826, -0.0029557975940406322, -0.04262927547097206, -0.08552487939596176, -0.2396826148033142, -0.6134920120239258, -0.019931819289922714, -0.6397733092308044, -0.5160540342330933, 0.1158561035990715, 0.9529270529747009, 1.0284191370010376, -0.29288268089294434, -0.29895466566085815, -0.4740656614303589, 1.2082043886184692, -0.5140124559402466, 0.282754123210907, 0.1742333024740219, 0.0929897353053093, -0.046893030405044556, 0.06494197249412537, -0.2830600142478943, -0.24852128326892853, -0.09345865249633789, 0.2865417003631592, -0.10223454982042313, 0.15750230848789215, -0.028351163491606712, -0.08423300832509995, -0.14368072152137756, 0.23340094089508057, 0.14177900552749634, -0.20677293837070465, 0.5785956978797913, 0.03321242332458496, 0.17904354631900787, 0.00043519705650396645, -0.6838499307632446, 0.07010266184806824, -0.5214211344718933, 0.5296002626419067, 0.6142221689224243, 0.4626041650772095, 0.037612706422805786, 0.8275313973426819, -0.016146106645464897, 0.8067445755004883, 0.41679927706718445, -0.307259738445282, -0.029477067291736603, -0.32013940811157227, 0.0064569199457764626, 0.22939686477184296, 0.5602664351463318, 0.7407271265983582, 0.2878066897392273, -0.17589066922664642, -0.17312349379062653, 0.34603676199913025, 0.5385600924491882, -0.3897245228290558, -0.034806057810783386, 0.3770488202571869, -0.400989830493927, -0.32752305269241333, -0.008287866599857807, -0.529020369052887, -0.24266529083251953, -1.0721226930618286, 0.2468825876712799, -0.20431986451148987, 0.0860978215932846, 0.10615451633930206, -0.07489863783121109, 0.3375857472419739, 0.36643239855766296, -1.024641513824463, 0.32380759716033936, 0.7612281441688538, 0.42874738574028015, -0.5276951193809509, -0.21863363683223724, -0.42151644825935364, 0.49075210094451904, -0.3400265574455261, 0.6368816494941711, -0.7188702821731567, -0.2709451913833618, -0.5129727125167847, -0.46244314312934875, 0.010361957363784313, -0.4598449468612671, 0.5249010920524597, -0.28458070755004883, 0.08829689025878906, -0.4364337623119354, -0.5142263174057007, -0.004580996930599213, 0.5655491948127747, -0.34672480821609497, 0.6900438070297241, -0.028446590527892113, -0.5684013366699219, 0.5067191123962402, -0.7059924602508545, -0.1877482831478119, -0.3069536089897156, -0.32324206829071045, -0.4518592357635498, 0.022767378017306328, 0.06795624643564224, 0.26542574167251587, -0.1314357966184616, 0.5919433236122131, -0.4836135506629944, -0.04963758960366249, 0.020509520545601845, -0.13978715240955353, 0.7859072685241699, 0.17309610545635223, -0.4316757917404175, 0.4331802427768707, -0.6124463081359863, 0.14131492376327515, -0.28764650225639343, -0.44634830951690674, -0.4711325764656067, 0.2755996882915497, -0.27325376868247986, 0.05275699123740196, 0.756324052810669, -0.27465441823005676, 0.49733874201774597, -0.09979034215211868, 0.21877028048038483, 1.254176139831543, -0.3520582616329193, 0.8119024634361267, -0.661155641078949, 0.3530274033546448, -0.10830915719270706, 0.6302078366279602, 0.6265704035758972, -0.30332496762275696, -0.5216721296310425, -0.4023735225200653, 0.04007530212402344, 0.6647093892097473, -0.038762323558330536, 0.7901144623756409, -0.11521176993846893, -0.44911834597587585, -0.5099567770957947, 0.24533966183662415, 0.34166690707206726, 0.899999737739563, 0.33958637714385986, -0.02442818321287632, -0.2255731076002121, -1.462761402130127, -0.39413461089134216, 0.017365556210279465, 0.13883529603481293, 0.6252488493919373, 0.16002890467643738, -0.12529738247394562, 1.1259633302688599, -0.5866153836250305, -0.1337263584136963, 0.1846865564584732, -0.06608337163925171, 0.2715533971786499, 0.9159745573997498, 0.5539912581443787, -1.0824882984161377, -0.36501237750053406, 0.1684894859790802, -0.36940503120422363, -0.27294257283210754, -0.04457247629761696, -0.5598376393318176, -0.07020901888608932, -0.06364946067333221, -0.3322066366672516, 0.1475355625152588, 0.3869583308696747, 0.04884801432490349, 0.30626457929611206, -0.06397773325443268, 0.28923627734184265, -1.016963005065918, 0.14742907881736755, -0.2212008684873581, -0.07264005392789841, -0.40013179183006287, 0.0012474684044718742, 0.2990114688873291, 0.15426790714263916, -0.4887266755104065, 0.5104830265045166, -0.24452286958694458, -0.061532411724328995, -0.1830066442489624, -0.19184088706970215, 0.02060132659971714, 0.6379015445709229, 0.02035396359860897, 0.8578461408615112, 0.4725649058818817, -0.8099800944328308, 0.07667141407728195, 0.36671072244644165, 0.3841729760169983, 0.9935353398323059, -0.4707787036895752, 0.21890482306480408, -0.23875337839126587, -0.21387359499931335, -0.7275930643081665, -0.3353281617164612, 0.4186961054801941, -0.3328658938407898, 0.34680160880088806, -0.16246168315410614, 0.03395590931177139, 0.15003377199172974, -0.689067006111145, 0.5306230783462524, 0.32768508791923523, -0.506584882736206, 0.7275744080543518, 0.5116734504699707, 0.2923162281513214, -1.0847821235656738, -0.2795005142688751, -0.1775842159986496, -0.6933900713920593, -0.49658650159835815, 0.6084498763084412, -0.4795016944408417, -0.41191285848617554, -0.050854720175266266, -0.2162209153175354, 0.3518989086151123, 0.39515721797943115, 0.09271282702684402, 0.5762856006622314, 0.18129806220531464, -0.2381870299577713, 0.1402648538351059, -0.24060314893722534, -0.2654262185096741, -0.44714590907096863, 0.43984314799308777, 0.006881071254611015, -0.41062799096107483, -0.367240846157074, 0.44927477836608887, 0.5312860608100891, -0.3510955274105072, 0.30074137449264526, 0.037822723388671875, -0.49842846393585205, 0.2571572959423065, -0.5375613570213318, 0.007576050702482462, -0.43928349018096924, -0.23103787004947662, -0.40533289313316345, -0.8140228986740112, 0.4045582711696625, 0.04542848467826843, 0.35643115639686584, 0.1793842315673828, 0.4196351170539856, -0.0005667994846589863, 1.4652131795883179, 0.5178741216659546, -0.35405242443084717, 0.3972829282283783, 0.18618665635585785, 0.17650426924228668, -1.0454530715942383, -0.23946575820446014, -0.7583421468734741, -0.6077582836151123, -0.6973272562026978, 0.10599725693464279, 0.42234882712364197, 0.455386757850647, -0.6593304872512817, 0.34605109691619873, -1.055330514907837, 0.5414605140686035, 0.8042687177658081, 0.16419978439807892, 0.02679768204689026, -0.2596431076526642, 0.12881773710250854, -0.20744377374649048, -0.39896130561828613, -0.6563809514045715, 1.1365383863449097, 0.03659813106060028, 0.9412540793418884, 0.19572314620018005, 0.9474574327468872, 0.18458732962608337, 0.38155174255371094, -0.990301251411438, 0.17923709750175476, -0.27499306201934814, -0.3966979384422302, -0.1629054695367813, -0.3187383711338043, -0.6788141131401062, 0.0587986521422863, -0.055975284427404404, -0.9556211233139038, 0.3274397552013397, 0.544039785861969, -0.46449705958366394, 0.09449616074562073, -0.5751146078109741, 0.7785778641700745, -0.7901550531387329, -0.6270604133605957, 0.0406491681933403, -0.8990547060966492, 0.28239938616752625, -0.09969142079353333, 0.17038829624652863, -0.4719918370246887, -0.36466628313064575, 0.6362506151199341, -0.09725134819746017, 0.489596426486969, -0.16605663299560547, 0.055268894881010056, -0.2347586452960968, 0.0329253189265728, 0.48245230317115784, -0.017366813495755196, -0.03804507851600647, 0.026650626212358475, -0.17005480825901031, -0.505812406539917, -0.5195149183273315, 0.7572189569473267, -0.9639524817466736, -0.805364191532135, -0.20258960127830505, -0.7085932493209839, -0.3112849295139313, 0.43439629673957825, 0.08096355944871902, -0.006864279042929411, 0.0011317611206322908, -0.17849569022655487, 0.5042866468429565, 0.2048312872648239, 0.24019436538219452, 0.12012743204832077, 0.17530448734760284, -0.6636162400245667, 0.748894989490509, -0.18926924467086792, 0.4569816589355469, 0.5817298293113708, 0.5341688394546509, -0.5208539366722107, -0.5351294279098511, -0.20900921523571014, 0.03379632905125618, -0.5091966986656189, -0.41914084553718567, -0.41246989369392395, 0.2948169708251953, -0.5386015772819519, -0.8011994957923889, -0.5789425373077393, -0.32661688327789307, -0.5322272777557373, 0.11102256923913956, -0.10043159127235413, 0.465587317943573, -0.2861834168434143, 0.32675570249557495, -0.5640115737915039, 0.4439294636249542, 0.2173023521900177, 0.18928484618663788, -0.4071362018585205, -0.09396637976169586, 0.20962628722190857, 0.2894706428050995, -0.566523015499115, -0.5785195827484131, 0.12691976130008698, -0.1430325210094452, 0.7259370684623718, 0.8460615277290344, 0.28546449542045593, 0.9312462210655212, -0.32927876710891724, 0.46920403838157654, 0.3201506435871124, -1.0480960607528687, 0.6986996531486511, -0.23221416771411896, -0.11057648807764053, 0.8628782629966736, 0.4291667938232422, -0.016866620630025864, -0.22911201417446136, -0.4219028353691101, -0.7378741502761841, 0.6603297591209412, 0.17314258217811584, 0.009184440597891808, 0.25199076533317566, 0.5141787528991699, 0.20548847317695618, 0.5969412326812744, -0.7400586009025574, -0.19415394961833954, -0.23963166773319244, -0.37769997119903564, 0.06940938532352448, 0.05340119078755379, -0.833946704864502, 0.0411432646214962, 0.6037009358406067, -0.35893452167510986, 0.03691581264138222, 0.006752409972250462, 0.16355222463607788, -0.08700938522815704, 0.294901043176651, 0.8972828984260559, 0.7232063412666321, -0.46141430735588074, 0.08773446828126907, -0.3895034193992615, -0.011506197974085808, 0.3401249349117279, 0.07997188717126846, -0.30876338481903076, -0.7828152775764465, -0.07001999020576477, 0.4671511948108673, 0.06894668936729431, -0.3575439453125, 0.26861369609832764, 0.19082124531269073, -0.0460217110812664, -0.0720347985625267, 0.2846640944480896, -0.10938216000795364, 0.17757566273212433, 0.0743238776922226, 0.519160270690918, 0.14788074791431427, -0.2803308963775635, 0.07672525197267532, 1.1397812366485596, -0.3534037172794342, 0.1345718652009964, 0.9854066967964172, -0.02811267413198948, -0.31856825947761536, 0.4176841676235199, 0.21230794489383698, -0.6460854411125183, 0.6386281847953796, 0.3600803315639496, 0.6160489320755005, -0.16806909441947937, -0.12646515667438507, 0.20571370422840118, 0.3767094910144806, -0.16729436814785004, 0.25338438153266907, -0.17457972466945648, -1.2225288152694702, 0.07846512645483017, -0.5017715096473694, -0.678225576877594, -0.34943437576293945, -0.9557941555976868, 0.32600870728492737, -0.5999505519866943, -0.13482016324996948, 0.0825149416923523, -0.0542663112282753, -0.38460779190063477, 0.12839631736278534, -0.007622030097991228, 0.5089905858039856, -0.5611233115196228, 0.42240840196609497, 0.6122966408729553, -0.2489982545375824, -0.9559705257415771, -0.0844867005944252, 0.18924488127231598, -1.2763856649398804, 0.2462186962366104, 0.20931145548820496, -0.2923942804336548, 0.1320277899503708, -0.7676025629043579, -0.9753740429878235, 0.9689064025878906, 0.5359020829200745, -0.39545756578445435, 0.04048164188861847, 0.02323771081864834, -0.02004082500934601, -0.5832521915435791, -0.039115164428949356, 0.610414445400238, 1.017758846282959, -0.06691079586744308, -0.8108367323875427, -0.0867670550942421, 0.12846212089061737, -0.13981042802333832, 0.6446230411529541, -0.8952284455299377, 0.6271271109580994, -0.09556511044502258, 0.12974372506141663, -0.0014779377961531281, 0.1493896245956421, 0.5105524063110352, 0.2315075695514679, 0.6252492070198059, 0.8540706038475037, 0.8200967311859131, -0.11981938034296036, 0.8320717811584473, -0.5894490480422974, 0.19633318483829498, 0.9892232418060303, -0.558073103427887, 0.4408450722694397, 0.9315589666366577, -0.07702308148145676, -0.12732075154781342, 0.7885098457336426, 0.043273650109767914, 0.7564128041267395, 0.1358238309621811, 0.008317920379340649, -0.4367244839668274, -0.5340824723243713, -0.07200151681900024, 0.52667635679245, 0.07558334618806839, 0.13818995654582977, -0.07145845144987106, -0.16903898119926453, -0.02340092696249485, 0.2010391801595688, -0.27957749366760254, 0.7764543890953064, -0.35573944449424744, -1.0938448905944824, 0.510039210319519, -0.24867211282253265, 0.838327169418335, -0.7299476861953735, 0.049930140376091, -0.20516502857208252, 0.16506405174732208, -0.37354016304016113, -0.6256685853004456, 0.21388322114944458, -0.3524843156337738, -0.35565388202667236, -0.35273873805999756, 0.3997701406478882, -0.2997988760471344, -0.2487712800502777, 0.32357388734817505, 0.27795174717903137, -0.14897467195987701, 0.1624402105808258, -0.8936586380004883, 0.05951094999909401, 0.24631153047084808, -0.01041889563202858, 0.3023940622806549, -0.09871406853199005, -0.1316288709640503, 0.5602890849113464, 0.7586585283279419, 0.08526702225208282, -0.17997951805591583, -0.23909012973308563, 0.842642605304718, -0.4637393057346344, -0.5281415581703186, -0.9815064668655396, 0.6323853135108948, -0.02663389779627323, -0.3241420388221741, 0.527369499206543, 0.6894078254699707, 0.7637110948562622, 0.21416983008384705, 0.6893414855003357, 0.014974357560276985, 0.2512236535549164, -0.6993005275726318, 0.40587130188941956, -0.8132418990135193, 0.20664319396018982, -0.2611464560031891, -1.0673832893371582, -0.4483855068683624, 0.5934584736824036, -0.04778851568698883, -0.0736689418554306, 0.3550892174243927, 0.8244688510894775, -0.18755275011062622, -0.33342626690864563, 0.1914491504430771, -0.3607397973537445, 0.40315160155296326, 0.6435251235961914, 0.871635913848877, 0.18442825973033905, 0.19187723100185394, -0.5352579951286316, -0.5153682231903076, 0.01769406348466873, -1.0775655508041382, -0.47662603855133057, -0.19045980274677277, -0.3055483400821686, -0.21717090904712677, -0.10216496884822845, 1.0927720069885254, 0.8028871417045593, -0.8405262231826782, -0.37669092416763306, -0.18368135392665863, 0.4341788589954376, -0.20019951462745667, -0.218866229057312, 0.4293942153453827, -0.2945096492767334, -0.8858604431152344, 0.18057772517204285, 0.45735785365104675, 0.244398295879364, 0.05072147399187088, -0.3202623128890991, -0.0781140923500061, 0.07711023092269897, 0.049877867102622986, 0.2718774676322937, -0.8996366262435913, -0.5329302549362183, 0.23590977489948273, -0.02339467592537403, 0.4952915906906128, 0.929334282875061, -0.27416592836380005, 0.291226327419281, 0.1307285726070404, 0.864833414554596, -0.19913934171199799, 0.5500743389129639, 0.5832454562187195, -0.4847172796726227, 0.03359396010637283, 0.5088480710983276, 0.3411453664302826, 0.24179808795452118, -0.8600004315376282, 0.40950047969818115, -0.13146166503429413, -0.8418243527412415, -0.5747092962265015, 0.4850179851055145, -1.346022605895996, -0.2090151160955429, 0.8182339072227478, -0.019984176382422447, -0.024379361420869827, 0.16050837934017181, -0.32414335012435913, 0.07223625481128693, -0.6758081912994385, 0.7877472639083862, 0.7049046754837036, -0.9569169878959656, 0.09706305712461472, 0.04514805227518082, 0.5465400815010071, 0.730964720249176, -0.8565359115600586, -0.07390759140253067, 0.8022252917289734, 0.11208772659301758, 0.408668577671051, 0.5368720889091492, 0.045334432274103165, 0.05595371127128601, -0.6091683506965637, 0.05634674057364464, 0.0862569585442543, -0.4171368479728699, -0.28803199529647827, 0.16090185940265656, 0.2316731959581375, -0.4782032072544098 ]
http://arxiv.org/abs/2402.19076v1
http://arxiv.org/pdf/2402.19076v1
Pointing out the Shortcomings of Relation Extraction Models with Semantically Motivated Adversarials
2024-02-29T12:01:46
2024-02-29T12:01:46
Gennaro Nolano, Moritz Blum, Basil Ell, Philipp Cimiano
cs.CL
cs.CL
In recent years, large language models have achieved state-of-the-art performance across various NLP tasks. However, investigations have shown that these models tend to rely on shortcut features, leading to inaccurate predictions and causing the models to be unreliable at generalization to out-of-distribution (OOD) samples. For instance, in the context of relation extraction (RE), we would expect a model to identify the same relation independently of the entities involved in it. For example, consider the sentence "Leonardo da Vinci painted the Mona Lisa" expressing the created(Leonardo_da_Vinci, Mona_Lisa) relation. If we substiute "Leonardo da Vinci" with "Barack Obama", then the sentence still expresses the created relation. A robust model is supposed to detect the same relation in both cases. In this work, we describe several semantically-motivated strategies to generate adversarial examples by replacing entity mentions and investigate how state-of-the-art RE models perform under pressure. Our analyses show that the performance of these models significantly deteriorates on the modified datasets (avg. of -48.5% in F1), which indicates that these models rely to a great extent on shortcuts, such as surface forms (or patterns therein) of entities, without making full use of the information present in the sentences.
[ -0.3843340277671814, -0.8017760515213013, 0.6663199663162231, -0.09423624724149704, -0.3701508045196533, -0.30750203132629395, -0.07807283848524094, -0.6264753341674805, 0.09099830687046051, 0.6239871978759766, -0.6378582119941711, -0.3253488838672638, -0.8398812413215637, 0.1481262594461441, -0.42809242010116577, 1.0646065473556519, -0.11250894516706467, -0.35999995470046997, -0.1717972308397293, -0.23689983785152435, -0.11535032093524933, -0.6417005062103271, -0.31603139638900757, -0.06638094037771225, 0.6165481209754944, -0.18428562581539154, 1.2329938411712646, 0.8625163435935974, 0.604796826839447, 0.25517895817756653, -0.4886913597583771, 0.20093142986297607, -0.42949679493904114, 0.40207380056381226, -0.27061429619789124, -0.2641552686691284, -0.05080696567893028, 0.3189919888973236, 0.39126187562942505, 0.7087507247924805, 0.024703137576580048, -0.1187874898314476, 0.10342591255903244, 0.39304593205451965, -0.8748719096183777, 0.30587038397789, -1.041803240776062, -0.27429601550102234, -0.27710506319999695, -0.04314722493290901, -0.3761778175830841, -0.16342797875404358, 0.3370838463306427, -0.7191738486289978, 0.259245365858078, -0.03293628245592117, 1.3573857545852661, 0.33077868819236755, -0.2537938356399536, -0.66531902551651, -0.8328490853309631, 0.7508867383003235, -0.43892142176628113, 0.08395364880561829, 0.24391072988510132, 0.34445449709892273, -0.40621304512023926, -0.6343273520469666, -0.14337654411792755, -0.39043107628822327, -0.163513645529747, -0.12866289913654327, -0.30711275339126587, -0.06536107510328293, 0.4349590837955475, 0.25690513849258423, -0.09557310491800308, 0.12276720255613327, -0.17460410296916962, 0.11838601529598236, 0.499758780002594, 0.040626686066389084, 0.27817437052726746, -0.25228744745254517, -0.5801798701286316, -0.18851105868816376, -1.0987417697906494, 0.002132760128006339, 0.298237681388855, 0.4215693771839142, 0.39665788412094116, 0.5627521276473999, -0.004810328595340252, 0.7115044593811035, -0.12834765017032623, 0.04848436638712883, -0.06718190014362335, -0.16030389070510864, -0.2370564341545105, -0.3221880793571472, 1.075506329536438, -0.12524497509002686, 0.3637066185474396, -0.4486314058303833, -0.23815996944904327, 0.26663410663604736, 0.22869105637073517, -0.9361155033111572, -0.4087904095649719, -0.10772975534200668, -0.3192038834095001, -0.632655680179596, 0.13282807171344757, -0.7833813428878784, -0.2886561453342438, 0.20784541964530945, 0.33741214871406555, -0.4270961582660675, -0.1858123391866684, -0.024231111630797386, -0.36148712038993835, -0.32787641882896423, 0.2725958824157715, -0.6772728562355042, 0.16264382004737854, 0.6257807016372681, 0.6220868229866028, -0.0995967835187912, -0.14438341557979584, -0.5375363230705261, 0.05959164351224899, -0.251264750957489, 0.5139557719230652, -0.5549986362457275, -0.38587895035743713, -0.03508349508047104, -0.0023249953519552946, -0.15886400640010834, -0.8421471118927002, 0.6359307169914246, -0.7549516558647156, 0.2372117042541504, -0.25734424591064453, -0.47063469886779785, -0.11523187160491943, 0.14605243504047394, -0.9271241426467896, 0.5510228276252747, 0.06560955196619034, -0.7108220458030701, 0.19048580527305603, -0.2777744233608246, -0.2973475456237793, -0.2434392124414444, -0.2210625261068344, -0.6777457594871521, 0.10622205585241318, 0.40706560015678406, 0.44029700756073, -0.5984082818031311, 0.20157642662525177, -0.8536169528961182, -0.12268843501806259, 0.3373388648033142, -0.34250786900520325, 1.0230625867843628, 0.16640636324882507, -0.315965473651886, -0.2274758368730545, -0.7935892343521118, -0.2457258105278015, 0.4408898949623108, -0.14163705706596375, -0.8114222288131714, 0.09435105323791504, -0.15553498268127441, 0.5954824686050415, -0.09769603610038757, -0.48614874482154846, 0.3137717843055725, -0.6364576816558838, 0.37890759110450745, 0.6312475204467773, 0.48122188448905945, 0.35151371359825134, -0.1935756802558899, 0.7203817367553711, 0.2181406468153, -0.0837772861123085, 0.00915634073317051, -0.4364108741283417, -0.3931210935115814, -0.3151925504207611, 0.2883993685245514, 0.41822391748428345, -1.0607973337173462, 0.3651254177093506, -0.4715019464492798, -0.5822558403015137, -0.3483950197696686, 0.5168362259864807, 0.48425301909446716, 0.5435693860054016, 0.36327430605888367, 0.01909445784986019, -0.1868700236082077, -0.8429633975028992, -0.5071130990982056, -0.29417911171913147, 0.055299822241067886, 0.2331155687570572, 0.4681471884250641, 0.02203911356627941, 0.9403354525566101, -0.6555084586143494, -0.3781071603298187, -0.20565108954906464, 0.16823653876781464, -0.0203940961509943, 0.2905420660972595, 0.7892822623252869, -1.1554526090621948, -0.1785050481557846, -0.40611380338668823, -0.7314630150794983, 0.22115744650363922, -0.05159790813922882, -0.09115014970302582, -0.10687988996505737, 0.298307329416275, -1.0684800148010254, 0.5931646823883057, 0.20674794912338257, -0.09849804639816284, 0.36312079429626465, 0.13315947353839874, -0.2783687114715576, -0.9213266968727112, -0.1375061720609665, 0.09638439863920212, 0.01828906126320362, -0.4749537408351898, 0.3351796269416809, -0.05179707705974579, -0.2950156629085541, -0.7115289568901062, 0.30497056245803833, -0.5776024460792542, 0.21162299811840057, -0.17142464220523834, 0.19821886718273163, 0.2456667572259903, 0.4707815647125244, 0.18203404545783997, 0.4169020652770996, 0.49958357214927673, -0.7286261320114136, 0.5203749537467957, 0.3081364631652832, -0.2637806236743927, 0.01685336045920849, -0.729803204536438, 0.010541175492107868, -0.08921266347169876, 0.08916377276182175, -0.6378633379936218, -0.05354386195540428, 0.387561172246933, -0.2173704355955124, 0.4184699058532715, -0.19078831374645233, -0.5894048810005188, -0.09270505607128143, -0.2745487689971924, 0.23369194567203522, 0.5058053135871887, -0.6713361144065857, 0.48880183696746826, 0.2660149037837982, 0.05963503569364548, -0.5651014447212219, -0.6700558066368103, -0.04978230223059654, -0.6657792925834656, -0.6505910754203796, 0.3712664842605591, 0.4794188439846039, -0.340898722410202, 0.5496835112571716, 0.028699055314064026, -0.06478817760944366, 0.4186772406101227, 0.30777448415756226, 0.427536278963089, -0.11219905316829681, 0.2899804413318634, -0.33916014432907104, 0.10091943293809891, 0.3494362533092499, 0.2668982446193695, 0.12757252156734467, 0.09372473508119583, -0.20799584686756134, -0.33291149139404297, 0.4543490707874298, 0.6806483864784241, -0.21081127226352692, 0.9915990829467773, 0.32892876863479614, -0.47701045870780945, -0.12631015479564667, -0.09018086642026901, -0.19578225910663605, -0.40643903613090515, 0.47960400581359863, -0.5594584345817566, -0.4426689147949219, 0.5190095901489258, -0.13686291873455048, -0.027687570080161095, 0.6643717885017395, 0.044773168861866, 0.06140182539820671, 1.0336109399795532, 0.4914689064025879, -0.18281099200248718, 0.5148654580116272, -0.3864370584487915, 0.14095893502235413, -0.8004019260406494, 0.0025504855439066887, -0.5238076448440552, 0.02637569047510624, -0.7418965101242065, 0.01462610624730587, 0.20296846330165863, 0.3575766682624817, 0.2688179016113281, 0.6515709161758423, -0.27770209312438965, 0.014807101339101791, 0.4338904023170471, 0.12970010936260223, -0.06419923901557922, -0.07951737940311432, 0.22214819490909576, -0.13622251152992249, -0.6436293721199036, -0.37678655982017517, 1.0151830911636353, 0.1608494222164154, 0.9192381501197815, 0.2695196866989136, 0.8667148351669312, -0.039570897817611694, 0.41094842553138733, -0.8183858394622803, 0.42862871289253235, -0.15693138539791107, -0.6473926305770874, -0.24310971796512604, -0.7343697547912598, -1.1804224252700806, 0.3042246997356415, -0.20725388824939728, -0.7079499363899231, 0.543047308921814, 0.11323271691799164, -0.4334524869918823, 0.3054826557636261, -0.6071462035179138, 1.0342835187911987, 0.01573457568883896, -0.35300448536872864, 0.10105175524950027, -0.486383855342865, 0.5304049849510193, -0.07552923262119293, 0.12260166555643082, -0.12777070701122284, 0.06897401064634323, 0.6948228478431702, -0.6728115677833557, 0.46662014722824097, -0.2970883250236511, 0.08308393508195877, 0.45786696672439575, 0.18457700312137604, 0.9016916751861572, -0.16989140212535858, -0.09885965287685394, -0.2342904955148697, -0.20511826872825623, -0.16677981615066528, -1.0921118259429932, 0.642943799495697, -0.6200680136680603, -0.8333789110183716, -0.24149157106876373, -0.41175761818885803, -0.27318260073661804, -0.012647767551243305, 0.4808456301689148, 0.538750410079956, -0.3118976056575775, 0.30104997754096985, 0.29803183674812317, -0.0427260547876358, 0.36687731742858887, -0.14374954998493195, -0.1069115698337555, -0.2826748490333557, 0.9161299467086792, 0.22077110409736633, 0.6392275094985962, 0.18675224483013153, -0.00023702315229456872, -0.41623857617378235, -0.3011942207813263, -0.4024982750415802, 0.24921955168247223, -0.7464587092399597, -0.1673250049352646, -0.5812947154045105, -0.07619571685791016, -0.49906691908836365, 0.25223231315612793, -0.5126634836196899, -0.536382794380188, -0.6422792673110962, 0.1338093876838684, 0.10458795726299286, 0.6387730836868286, 0.2337789386510849, -0.055981408804655075, -0.759780764579773, 0.5283706784248352, 0.27885299921035767, -0.4384683072566986, -0.1380707323551178, -0.4863334894180298, -0.04566670209169388, 0.012237081304192543, -0.5063701868057251, -1.2076292037963867, 0.45193567872047424, 0.306759774684906, 0.28587278723716736, 0.5620531439781189, 0.36585891246795654, 0.662163257598877, -0.3413228690624237, 0.5336037874221802, 0.03892165422439575, -0.5917851328849792, 0.7546715140342712, -0.048896994441747665, -0.056821681559085846, 0.3815607726573944, 0.5892574787139893, -0.00037951135891489685, -0.6030215620994568, -1.078851580619812, -0.88295578956604, 0.5574812293052673, 0.26968899369239807, -0.08942031860351562, -0.10609859228134155, 0.4422816038131714, -0.20111609995365143, 0.21935711801052094, -0.6975376009941101, -0.2623439133167267, -0.05887727439403534, -0.13331645727157593, -0.08551240712404251, -0.4330443739891052, -0.05869575962424278, 0.2637938857078552, 0.8110007047653198, 0.25294649600982666, -0.057067953050136566, 0.1494242250919342, -0.08664536476135254, -0.003277443815022707, 0.3263772428035736, 0.26111721992492676, 0.534267783164978, -0.38633105158805847, 0.1092514619231224, -0.5032162070274353, -0.09215554594993591, 0.22601109743118286, 0.640984058380127, -0.4904548227787018, 0.2873857319355011, 0.3975830078125, 0.6695351600646973, 0.11720406264066696, -0.4792761206626892, 0.6218512058258057, 0.08788105845451355, 0.12426862120628357, -0.15772221982479095, 0.004455528222024441, 0.04219619929790497, -0.015201873145997524, 0.18959787487983704, 0.37754037976264954, 0.21206867694854736, -0.8167678713798523, 0.15516088902950287, 0.6956106424331665, -0.48761260509490967, -0.28806185722351074, 0.7403621673583984, -0.06272011250257492, -0.0886080339550972, 0.6128371357917786, -0.33062639832496643, -0.6473851203918457, 0.5115837454795837, 0.29015907645225525, 0.8283503651618958, 0.02380179986357689, 0.0537579320371151, 0.09239639341831207, 0.34219804406166077, -0.045254673808813095, -0.42719483375549316, 0.025832204148173332, -0.7966277003288269, -0.17951488494873047, -0.33035269379615784, -0.20118194818496704, 0.40141382813453674, -1.0133088827133179, 0.31230616569519043, -0.3762618899345398, -0.2538801431655884, 0.2932898700237274, -0.11839878559112549, -0.6547045111656189, 0.2893844544887543, -0.18354105949401855, 0.6071100831031799, -0.9303289651870728, 0.9778250455856323, 0.616936445236206, -0.6002019047737122, -0.9039402604103088, 0.052896466106176376, -0.054688308387994766, -0.4341829717159271, 0.9897257685661316, 0.1139906793832779, -0.05458411946892738, -0.31929701566696167, -0.19088687002658844, -0.8625504374504089, 0.715043306350708, 0.6209596991539001, -0.21762937307357788, -0.46190935373306274, -0.018065663054585457, 0.3985825479030609, -0.3986864984035492, -0.16283221542835236, 0.256743460893631, -0.012622763402760029, 0.23473100364208221, -0.4898127317428589, 0.37101998925209045, -0.172737717628479, 0.06886378675699234, 0.30663982033729553, -0.35312771797180176, 0.9288660883903503, -0.19573049247264862, -0.6135745644569397, 0.26021745800971985, 0.7050825357437134, 0.18533535301685333, -0.02271563559770584, 0.7793974280357361, 0.6044889092445374, 0.35120531916618347, -0.1315077841281891, 1.2136749029159546, -0.03605515509843826, 0.37527045607566833, 1.2209721803665161, -0.17434360086917877, 0.8584817051887512, 0.5761361122131348, 0.10619448870420456, 0.38993948698043823, 0.5146723985671997, -0.05724555253982544, 0.8422809839248657, -0.028678223490715027, -0.037046726793050766, -0.2608974277973175, -0.09162143617868423, -0.3513934016227722, 0.44158950448036194, 0.43590089678764343, -0.7965534329414368, -0.3864802122116089, -0.11820922791957855, 0.06436583399772644, 0.20335198938846588, 0.020707037299871445, 0.6139166355133057, 0.22137318551540375, -0.8311774134635925, 0.6527606844902039, -0.08227963745594025, 0.3395867943763733, -0.49807173013687134, -0.01185180526226759, 0.2291630208492279, 0.27633196115493774, 0.14220209419727325, -0.3959410786628723, 0.5366950631141663, -0.0565204955637455, -0.14762091636657715, -0.2073124647140503, 0.7518871426582336, -0.4251527488231659, -0.38163477182388306, 0.43686506152153015, 0.43573901057243347, 0.046935342252254486, -0.408826619386673, -0.782846212387085, -0.017865952104330063, 0.052798300981521606, -0.5593084692955017, 0.33580756187438965, 0.687698483467102, 0.1195860356092453, 0.636883020401001, 0.5595702528953552, 0.43982571363449097, -0.08849195390939713, -0.24330489337444305, 1.0420613288879395, -0.4162960350513458, -0.26941996812820435, -1.0278064012527466, 0.18250104784965515, -0.18748173117637634, -0.37717577815055847, 0.7459794878959656, 0.23895736038684845, 0.5751726627349854, -0.058145370334386826, 0.5306469202041626, 0.1430724859237671, 0.5757327675819397, -0.5685080885887146, 0.41951078176498413, -0.640882670879364, 0.354425847530365, -0.3649911880493164, -0.897057294845581, -0.19625769555568695, 0.21025405824184418, -0.43694594502449036, -0.03966255486011505, 0.670563817024231, 0.7175709009170532, -0.05262864753603935, -0.18215787410736084, 0.3468123972415924, 0.1254405975341797, 0.6138811707496643, 0.7667259573936462, 1.0364432334899902, -0.606042742729187, 1.0490168333053589, -0.6158011555671692, 0.018067898228764534, -0.09464765340089798, -0.6436583995819092, -0.8661825656890869, -0.49884870648384094, -0.521765947341919, -0.3941097557544708, 0.03884977847337723, 0.5963929295539856, 0.5517855882644653, -0.5194492340087891, 0.3702484965324402, -0.17248521745204926, 0.2651078701019287, -0.18124720454216003, -0.26878365874290466, 0.6130446195602417, -0.2768416106700897, -0.7423747181892395, 0.40144455432891846, 0.20611828565597534, 0.2507530450820923, -0.2333529144525528, 0.21721777319908142, -0.20081032812595367, -0.20813417434692383, 0.10675201565027237, 0.38414648175239563, -0.9677553772926331, -0.2877327799797058, -0.3199852406978607, -0.2501934766769409, -0.19457611441612244, 0.6383545398712158, -0.6842463612556458, 0.1704331934452057, 0.2831946909427643, 0.7282626032829285, 0.17623968422412872, 0.3100253641605377, 0.5418339967727661, -0.5991859436035156, 0.31243863701820374, 0.32907119393348694, 0.5167834758758545, 0.4413793087005615, -0.5478289127349854, 0.4173349440097809, 0.5670804977416992, -0.33212828636169434, -0.8227767944335938, 0.5153756141662598, -0.6730795502662659, -0.3802781105041504, 1.0878782272338867, -0.7765588760375977, -0.4127672016620636, 0.0438569076359272, 0.2152382880449295, 0.13867099583148956, -0.19797036051750183, 0.7515801787376404, 0.7366811633110046, -0.17043769359588623, 0.13088668882846832, -0.21906541287899017, 0.7744678258895874, 0.49828648567199707, -0.5713931918144226, 0.16282498836517334, 0.40124571323394775, 0.08290474861860275, 0.5535731315612793, 0.2330222725868225, -0.1549328863620758, 0.21096020936965942, 0.0790145993232727, -0.324590265750885, -0.2006845921278, -0.3147346079349518, -0.13675570487976074, 0.6066573262214661, 0.14870288968086243, -0.5323082208633423 ]
http://arxiv.org/abs/2402.19052v1
http://arxiv.org/pdf/2402.19052v1
Exploring the Efficacy of Large Language Models in Summarizing Mental Health Counseling Sessions: A Benchmark Study
2024-02-29T11:29:47
2024-02-29T11:29:47
Prottay Kumar Adhikary, Aseem Srivastava, Shivani Kumar, Salam Michael Singh, Puneet Manuja, Jini K Gopinath, Vijay Krishnan, Swati Kedia, Koushik Sinha Deb, Tanmoy Chakraborty
cs.CL
cs.CL, cs.HC
Comprehensive summaries of sessions enable an effective continuity in mental health counseling, facilitating informed therapy planning. Yet, manual summarization presents a significant challenge, diverting experts' attention from the core counseling process. This study evaluates the effectiveness of state-of-the-art Large Language Models (LLMs) in selectively summarizing various components of therapy sessions through aspect-based summarization, aiming to benchmark their performance. We introduce MentalCLOUDS, a counseling-component guided summarization dataset consisting of 191 counseling sessions with summaries focused on three distinct counseling components (aka counseling aspects). Additionally, we assess the capabilities of 11 state-of-the-art LLMs in addressing the task of component-guided summarization in counseling. The generated summaries are evaluated quantitatively using standard summarization metrics and verified qualitatively by mental health professionals. Our findings demonstrate the superior performance of task-specific LLMs such as MentalLlama, Mistral, and MentalBART in terms of standard quantitative metrics such as Rouge-1, Rouge-2, Rouge-L, and BERTScore across all aspects of counseling components. Further, expert evaluation reveals that Mistral supersedes both MentalLlama and MentalBART based on six parameters -- affective attitude, burden, ethicality, coherence, opportunity costs, and perceived effectiveness. However, these models share the same weakness by demonstrating a potential for improvement in the opportunity costs and perceived effectiveness metrics.
[ -0.4100419580936432, -0.7169408202171326, 0.8378632068634033, 0.3329324722290039, -0.38474327325820923, -0.08697449415922165, -0.5399589538574219, -0.26528581976890564, 0.17642788589000702, 0.44082099199295044, -0.37920501828193665, -0.7526269555091858, -0.6548117399215698, 0.27036210894584656, -0.5274444222450256, 1.0230681896209717, -0.10579545795917511, 0.2804395854473114, -0.13226886093616486, -0.05830089747905731, -0.8303967118263245, -0.47323906421661377, -0.5363216996192932, -0.6573098301887512, 0.393494188785553, 0.10824813693761826, 0.7020769715309143, 0.31416288018226624, 0.6739508509635925, 0.26340731978416443, -0.3955615758895874, 0.03526884317398071, -0.6105688214302063, 0.17953698337078094, -0.20245343446731567, -0.4917528033256531, -0.9946991801261902, -0.1530744731426239, 0.5110412240028381, 0.8650725483894348, -0.5859534740447998, 0.327178031206131, 0.2228294461965561, 0.572992742061615, -0.6514842510223389, 0.17937567830085754, -0.6387327313423157, 0.05874136835336685, 0.021462364122271538, 0.009068652056157589, -0.2644079625606537, -0.1646643877029419, 0.15504969656467438, -0.40680816769599915, 0.2665127217769623, -0.07390453666448593, 0.32652631402015686, 0.1420108824968338, -0.574669599533081, -0.07723632454872131, -0.8097190856933594, 0.675845742225647, -0.9650747179985046, 0.38545456528663635, 0.5982569456100464, 0.36995577812194824, -0.31011930108070374, -0.6148731708526611, -0.03245202451944351, -0.018002811819314957, -0.09807400405406952, 0.3481208086013794, -0.5268087983131409, 0.28007352352142334, 0.36346933245658875, 0.6579037308692932, -0.45266517996788025, 0.16095948219299316, -0.3202163279056549, -0.13968080282211304, 0.6991809010505676, 0.599804162979126, 0.06629879027605057, 0.07551536709070206, 0.10364136099815369, 0.13562247157096863, -0.4747818410396576, 0.12537333369255066, -0.3603154420852661, 0.29029402136802673, -0.23359911143779755, 0.6713888645172119, -0.20775704085826874, 0.38089504837989807, 0.2159729301929474, -0.9013403058052063, -0.39127686619758606, -0.1009172648191452, -0.33496931195259094, 0.10008123517036438, 0.697793185710907, 0.903039813041687, -0.08537767827510834, -0.4048152267932892, -0.14608518779277802, -0.28735658526420593, 0.44128385186195374, -0.7553723454475403, -0.10377052426338196, 0.5157446265220642, -0.6313164830207825, 0.14246247708797455, -0.35776564478874207, -0.5676414966583252, -0.4973316192626953, -0.5993093252182007, 0.04838972166180611, -0.5680480599403381, -0.3950592875480652, 0.13599799573421478, -0.03993251547217369, -0.04254884272813797, 0.42818158864974976, -0.5184661746025085, 0.5230864882469177, 0.963342010974884, 1.1123268604278564, -0.2529911398887634, -0.2523115575313568, -0.1956714242696762, 0.16000311076641083, -0.4429459273815155, 0.775361180305481, -0.34818723797798157, -0.7860684990882874, 0.17309652268886566, -0.039852261543273926, -0.006148090120404959, -0.5637161135673523, 0.3150472342967987, -0.14556588232517242, -0.002480271039530635, -0.7229710817337036, -0.7152865529060364, -0.11835409700870514, 0.31021666526794434, -0.39632898569107056, 0.6996846199035645, 0.29285669326782227, -0.8286506533622742, 0.3453623056411743, -0.2805330157279968, -0.3054921627044678, -0.0015478647546842694, -0.1517285853624344, -0.11277826130390167, 0.4758666157722473, 0.13753290474414825, 0.6046086549758911, -0.4413919150829315, 0.5227599143981934, -0.3070871829986572, -0.37775444984436035, 0.4792279601097107, -0.2645338773727417, 0.36224234104156494, -0.14851592481136322, -0.19462937116622925, 0.26174482703208923, -0.43008485436439514, -0.1757282167673111, -0.0012001562863588333, -0.08747057616710663, -0.47241562604904175, -0.15850766003131866, 0.0868012011051178, 0.24718335270881653, 0.0804046094417572, -0.23354944586753845, 0.010149578563869, -0.16226227581501007, 0.25443077087402344, 0.4067498445510864, 0.20206722617149353, -0.03069462440907955, -0.41884949803352356, 0.838107168674469, -0.2644807696342468, 0.03613181784749031, -0.356241911649704, -0.2316698133945465, -0.2754862904548645, -0.7567213773727417, -0.10381010919809341, 0.24304020404815674, -0.6728881597518921, 0.5347212553024292, -0.3147040009498596, -0.824062705039978, -0.22324740886688232, -0.033420380204916, 0.6345651745796204, 0.5246864557266235, 0.35140854120254517, -0.4828000068664551, 0.018632203340530396, -1.0476906299591064, -0.45962560176849365, 0.0487954244017601, 0.03689923137426376, 0.02012547478079796, 0.5690286159515381, 0.20505888760089874, 0.8951753973960876, -0.5561618804931641, -0.17539618909358978, -0.48753124475479126, 0.23654645681381226, 0.07106558978557587, -0.010115163400769234, 0.7082045078277588, -0.19482722878456116, -0.44071438908576965, -0.13910672068595886, -0.7201921939849854, -0.16802696883678436, 0.09709223359823227, -0.12933452427387238, -0.1940740942955017, 0.15968891978263855, -0.5326163172721863, 0.44694650173187256, 0.34684351086616516, -0.41553401947021484, 0.7930256724357605, -0.48548248410224915, 0.18557904660701752, -0.8676788806915283, 0.22694195806980133, 0.1166909709572792, -0.45939457416534424, -0.5328425765037537, -0.0530998557806015, -0.0425739586353302, -0.14666791260242462, -0.25786224007606506, 0.2244073748588562, -0.3892615735530853, -0.09761760383844376, -0.5524102449417114, 0.07514020800590515, -0.327406644821167, 0.5998210906982422, -0.1521366387605667, 0.7397423982620239, 0.4043755531311035, -0.3768411874771118, 0.30270782113075256, 0.1082061231136322, -0.17416036128997803, 0.9486185312271118, -0.8000851273536682, -0.08506087213754654, -0.18809553980827332, 0.68216872215271, -0.6812277436256409, -0.3134368062019348, -0.1350378394126892, 0.3388420045375824, 0.2197549045085907, 0.07942131906747818, -0.35729682445526123, -0.15304739773273468, -0.3638094365596771, 0.46935874223709106, 0.3226633667945862, 0.03209277242422104, 0.29627537727355957, 0.329435259103775, -0.598965048789978, -0.321626216173172, -0.39318761229515076, 0.32567375898361206, -0.45889052748680115, -0.05841356888413429, 0.6122055053710938, 0.20516465604305267, -0.420840322971344, -0.01727261207997799, -0.18924939632415771, 0.18540601432323456, 0.008493817411363125, 0.38679376244544983, 0.10309092700481415, -0.0036951382644474506, 0.09020436555147171, 0.2656269073486328, -0.27329427003860474, 0.3376849591732025, 0.02210298739373684, 0.5427088737487793, -0.289120614528656, -0.65572190284729, -0.4527204632759094, 0.656095564365387, 0.7011578679084778, -0.38906198740005493, 0.7347077131271362, 0.37491872906684875, -0.47996366024017334, 0.006877546664327383, -0.641097903251648, -0.11549893766641617, -0.3025456964969635, 0.5873435735702515, -0.05761472508311272, -0.9328796863555908, 0.538186252117157, -0.005463845562189817, 0.4043486416339874, 0.2636863589286804, 0.5476025938987732, 0.09240454435348511, 1.0133510828018188, 0.4349139630794525, -0.15614718198776245, 0.38737356662750244, -0.38762739300727844, 0.27184683084487915, -0.870838463306427, 0.07721813768148422, -0.18743135035037994, -0.2827339470386505, -0.3755878806114197, -0.35457155108451843, 0.7400813102722168, 0.35298052430152893, -0.1875915229320526, 0.07981086522340775, -0.5277836322784424, 0.0534309446811676, 0.10851214826107025, 0.19741104543209076, 0.6220831274986267, -0.1628689169883728, 0.09112442284822464, -0.42727231979370117, -0.42285481095314026, -0.6713243126869202, 1.149717926979065, 0.44278809428215027, 0.3795171082019806, 0.19237643480300903, 0.46207720041275024, 0.1346634328365326, 0.7624186873435974, -0.7948856949806213, 0.5693215727806091, 0.016060898080468178, -0.41783028841018677, -0.3008187711238861, -0.15245193243026733, -0.7941169142723083, 0.7468382120132446, -0.22043778002262115, -1.0172135829925537, -0.01989155076444149, 0.11897623538970947, -0.2955605089664459, 0.1880604326725006, -0.180934876203537, 0.5155578255653381, -0.2746664583683014, -0.07129835337400436, -0.730958878993988, -0.3236508369445801, 0.6495710015296936, -0.30447059869766235, 0.27370384335517883, -0.38283464312553406, -0.029934557154774666, 0.7516594529151917, -0.4377230405807495, 0.5845767855644226, -0.07161892205476761, -0.2591208219528198, -0.06300325691699982, 0.08171473443508148, 0.17083974182605743, 0.05609363690018654, 0.09692515432834625, -0.016412796452641487, 0.4816107451915741, -0.3301108479499817, -0.89190673828125, 0.4135194420814514, -0.44719773530960083, -0.6773004531860352, -0.16651791334152222, -0.6881536245346069, -0.5391719341278076, 0.3111056387424469, 0.22207482159137726, 0.795780599117279, -0.38032469153404236, 0.11513141542673111, 0.3686467111110687, -0.26674574613571167, 0.2813480794429779, 0.790560245513916, -0.6598308086395264, -0.6675539016723633, 0.6721325516700745, 0.36853134632110596, 0.1299663931131363, -0.1275661736726761, 0.17749211192131042, -0.022677233442664146, -0.6617526412010193, 0.14224380254745483, 0.5373712182044983, -0.6704038381576538, -0.1276347041130066, -0.5971688628196716, -0.030519170686602592, -0.2893999218940735, -0.27117919921875, -0.4489430785179138, -0.21163597702980042, 0.33582693338394165, -0.1730968952178955, 0.322454571723938, 0.6239915490150452, 0.34237608313560486, 0.45028823614120483, -0.7426187992095947, 0.1839687079191208, 0.11069338768720627, 0.25206419825553894, 0.5340136289596558, -0.31143853068351746, -0.31477388739585876, -0.031292952597141266, -0.5476887226104736, -1.0403777360916138, 0.379375696182251, -0.19468359649181366, 0.4848475158214569, 0.6503856182098389, 0.07064502686262131, 1.015411138534546, -0.3439316749572754, 0.8171142935752869, 0.3989485204219818, -0.8378604650497437, 0.536505401134491, -0.6825039386749268, 0.5468984246253967, 0.7026573419570923, 0.20126333832740784, -0.6744241714477539, -0.8698680400848389, -0.5687643885612488, -0.8858584761619568, 0.628529965877533, 0.34962978959083557, -0.11452724784612656, 0.20831680297851562, 0.5078179240226746, 0.11319050937891006, 0.4070700407028198, -0.2810812294483185, -0.38929447531700134, 0.12901340425014496, -0.1657513529062271, -0.12717226147651672, -0.27840712666511536, -0.5814863443374634, -0.2940433621406555, 0.6575766801834106, 0.08776749670505524, 0.30270257592201233, 0.2764832675457001, 0.07776127755641937, -0.03477342799305916, 0.5854571461677551, 0.7152323722839355, 1.1114927530288696, -0.15006214380264282, 0.18135719001293182, 0.3717272877693176, -0.5601635575294495, 0.08107482641935349, 0.15099093317985535, 0.14794625341892242, 0.21428091824054718, 0.9532743692398071, 0.5923777222633362, 0.5096713900566101, -0.6113408207893372, 0.5332123041152954, -0.23678867518901825, -0.11075256019830704, -0.20416228473186493, 0.10159679502248764, 0.10971064865589142, 0.3876917362213135, 0.1422809213399887, -0.492477685213089, 0.31108322739601135, -0.4108886122703552, -0.32043296098709106, 0.37403640151023865, -0.5667707324028015, -0.4522577226161957, 0.37140288949012756, -0.11685549467802048, -0.2967493534088135, 0.28729164600372314, 0.1438358575105667, -0.08630833774805069, 0.4523146450519562, 0.6653026342391968, 0.8265770077705383, -0.06126276031136513, 0.15278342366218567, 0.09847855567932129, 0.09830527752637863, -0.3397994041442871, 0.15741001069545746, -0.17689569294452667, -0.22098970413208008, -0.35385724902153015, -0.31114986538887024, -0.528846263885498, 0.2660100758075714, -1.3354871273040771, -0.0885506272315979, -0.26317131519317627, -0.7372382283210754, -0.16652721166610718, -0.11485160142183304, -0.7757522463798523, -0.0264878049492836, -0.11847243458032608, 0.909009575843811, -0.7137228846549988, 0.360532283782959, 1.114160180091858, -0.20435598492622375, -0.7494635581970215, -0.009013388305902481, 0.32844820618629456, -0.3457885682582855, -0.20235411822795868, 0.04356325417757034, -0.07323149591684341, -0.3896089792251587, -0.2369268536567688, -0.8377119302749634, 1.585796594619751, 0.5751875042915344, -0.4749702513217926, -0.12124133855104446, 0.07327714562416077, 0.8635028004646301, -0.29288721084594727, 0.5203752517700195, 0.8696057796478271, 0.3813524842262268, -0.19634251296520233, -1.231902837753296, 0.201734259724617, -0.10786090791225433, 0.2837103605270386, 0.033097222447395325, -0.6947574019432068, 0.4723794758319855, 0.27533286809921265, -0.1702597439289093, -0.1313210129737854, 0.6327326893806458, 0.5050721764564514, 0.33904770016670227, 0.4536226987838745, 0.2417639046907425, 0.7420201301574707, 0.08405466377735138, 0.9754636883735657, -0.6624345183372498, 0.37273091077804565, 1.3149577379226685, -0.32180872559547424, 0.7585114240646362, 0.299037903547287, -0.5488315224647522, 0.14747633039951324, 0.41750368475914, 0.19724011421203613, 0.34445565938949585, -0.0413854755461216, -0.1781628131866455, -0.21701595187187195, -0.5242517590522766, -0.4231119751930237, 0.30160942673683167, 0.3867954611778259, -0.43006226420402527, -0.4448269009590149, 0.15142101049423218, 0.3587946593761444, 0.03165441006422043, -0.2590503692626953, 0.7619217038154602, 0.5267027616500854, -0.7977787256240845, 0.30063483119010925, 0.24844282865524292, 0.2212052047252655, -0.576969563961029, 0.12538723647594452, -0.31560763716697693, 0.09173286706209183, -0.2928231954574585, -0.5580865740776062, 0.2559320628643036, 0.2925967276096344, -0.10032426565885544, -0.335833877325058, 0.6051947474479675, -0.4018472135066986, -0.5328726172447205, 0.1304740458726883, 0.5298904776573181, 0.06932639330625534, -0.20571255683898926, -0.3914836347103119, -0.17281736433506012, -0.4366534650325775, -0.2747161388397217, 0.5563026070594788, 0.42666634917259216, -0.17440034449100494, 0.6326925158500671, 0.20781922340393066, 0.43407875299453735, -0.5236719250679016, 0.15922802686691284, 0.7760226130485535, -0.7306111454963684, -0.617169976234436, -0.8048767447471619, 0.5193606019020081, -0.15935280919075012, -0.5154329538345337, 0.8628283143043518, 0.4330402910709381, 0.340728223323822, 0.2992093563079834, 0.6307558417320251, 0.32519179582595825, 0.37867483496665955, -0.39786505699157715, 0.4997848570346832, -0.41754502058029175, 0.19137977063655853, -0.39107146859169006, -0.9727694392204285, 0.03935058414936066, 0.258540540933609, -0.6438173055648804, 0.02382054552435875, 0.8291841745376587, 0.48831212520599365, 0.05718535557389259, 0.28598612546920776, 0.27805930376052856, 0.19034817814826965, 0.6431625485420227, 0.3423359990119934, 0.7211865782737732, 0.09028179198503494, -0.12382657080888748, -0.4059346914291382, -0.38554924726486206, -0.03845828399062157, -0.5979002714157104, -1.0391725301742554, -0.421665221452713, -0.2724454402923584, -0.012143840081989765, -0.029034020379185677, 1.1327416896820068, 0.5266653895378113, -0.5463847517967224, -0.32908913493156433, 0.23848222196102142, -0.20141544938087463, -0.5506559014320374, -0.19441089034080505, 0.41463950276374817, -0.011056143790483475, -0.17915137112140656, 0.13774605095386505, 0.5805076360702515, -0.11578081548213959, -0.6098873019218445, 0.28155946731567383, 0.4252750277519226, -0.07410246133804321, 0.7614535689353943, -0.15060803294181824, -1.1786506175994873, 0.14428287744522095, -0.32202407717704773, -0.2984512150287628, -0.15622147917747498, 1.141101598739624, -0.25147494673728943, 0.314241498708725, 0.1165439784526825, 0.280030757188797, 0.4275228977203369, 0.23371440172195435, 0.852803647518158, -0.2815965712070465, -0.09534185379743576, 0.1142144575715065, 0.5164823532104492, 0.14234906435012817, -0.3497299253940582, 0.3046717941761017, -0.25423693656921387, -0.41356712579727173, -0.8176254630088806, -0.15114092826843262, -0.7710269093513489, -0.35839876532554626, 1.0253504514694214, -0.4706408977508545, 0.04603784158825874, -0.2638200521469116, -0.39565542340278625, 0.2970280051231384, -0.314768522977829, 0.9826977252960205, 0.947902262210846, -0.4886121153831482, -0.025658901780843735, -0.6903089880943298, 0.3562946021556854, 0.46800583600997925, -0.8276253938674927, 0.333395391702652, 0.6027125120162964, 0.23949791491031647, -0.09286278486251831, 0.9197749495506287, -0.13259002566337585, 0.11536882817745209, -0.30792665481567383, -0.15372391045093536, -0.13939444720745087, 0.028934353962540627, -0.5468689799308777, 0.1756693422794342, 0.04374687373638153, 0.5182104706764221 ]
http://arxiv.org/abs/2403.00840v1
http://arxiv.org/pdf/2403.00840v1
EyeGPT: Ophthalmic Assistant with Large Language Models
2024-02-29T09:35:41
2024-02-29T09:35:41
Xiaolan Chen, Ziwei Zhao, Weiyi Zhang, Pusheng Xu, Le Gao, Mingpu Xu, Yue Wu, Yinwen Li, Danli Shi, Mingguang He
cs.CL
cs.CL, cs.AI
Artificial intelligence (AI) has gained significant attention in healthcare consultation due to its potential to improve clinical workflow and enhance medical communication. However, owing to the complex nature of medical information, large language models (LLM) trained with general world knowledge might not possess the capability to tackle medical-related tasks at an expert level. Here, we introduce EyeGPT, a specialized LLM designed specifically for ophthalmology, using three optimization strategies including role-playing, finetuning, and retrieval-augmented generation. In particular, we proposed a comprehensive evaluation framework that encompasses a diverse dataset, covering various subspecialties of ophthalmology, different users, and diverse inquiry intents. Moreover, we considered multiple evaluation metrics, including accuracy, understandability, trustworthiness, empathy, and the proportion of hallucinations. By assessing the performance of different EyeGPT variants, we identify the most effective one, which exhibits comparable levels of understandability, trustworthiness, and empathy to human ophthalmologists (all Ps>0.05). Overall, ur study provides valuable insights for future research, facilitating comprehensive comparisons and evaluations of different strategies for developing specialized LLMs in ophthalmology. The potential benefits include enhancing the patient experience in eye care and optimizing ophthalmologists' services.
[ -0.40582096576690674, -1.066408634185791, 0.8085903525352478, 0.031780946999788284, -0.34096914529800415, -0.07334711402654648, -0.4815397262573242, -0.6402687430381775, 0.2797950804233551, 0.31725430488586426, -0.25176769495010376, -0.33202826976776123, -0.39774638414382935, 0.1544729769229889, -0.0854497179389, 0.6518685221672058, -0.23112423717975616, 0.5309399366378784, 0.050301264971494675, -0.027022697031497955, -0.29272621870040894, -0.2149684727191925, -0.9433035254478455, -0.26814067363739014, 0.5627720952033997, 0.3053254187107086, 0.6978957653045654, 0.48443228006362915, 0.9796189069747925, 0.32036328315734863, 0.15089908242225647, 0.2474806308746338, -0.26988425850868225, -0.22015245258808136, -0.1459071934223175, -0.13015247881412506, -0.7304070591926575, -0.16568098962306976, 0.14834126830101013, 0.7626175284385681, -0.46823495626449585, 0.05037254840135574, -0.13756373524665833, 0.47966378927230835, -0.41696423292160034, 0.23531049489974976, -0.3094542622566223, 0.44416630268096924, 0.17237477004528046, -0.2342812716960907, -0.16920121014118195, -0.0999121367931366, 0.6494088768959045, -0.6939836144447327, -0.2152060717344284, 0.3035518527030945, 0.4287971258163452, 0.4009312391281128, -0.04637332260608673, -0.00726972334086895, -0.4506498873233795, 0.3991627097129822, -0.7178748250007629, 0.1819782555103302, 0.14592236280441284, 0.4725240170955658, 0.3286747336387634, -0.5580346584320068, -0.5103158354759216, -0.6589953303337097, 0.028300561010837555, 0.3851573169231415, -0.027876220643520355, 0.18920989334583282, 0.114417165517807, 0.251817524433136, -0.931888997554779, 0.3246099054813385, -0.21809646487236023, 0.2049740105867386, 0.682555615901947, 0.2558678388595581, 0.4532891511917114, 0.11549828946590424, -0.23569434881210327, -0.13921567797660828, -0.2698928713798523, -0.26826563477516174, 0.19671161472797394, -0.20063132047653198, 0.020406903699040413, 0.6658647656440735, -0.382942795753479, 0.7667748928070068, 0.2539006769657135, -0.1579127311706543, 0.2107318490743637, -0.030386457219719887, -0.2409772276878357, -0.05099146068096161, 0.8748929500579834, 0.392840176820755, 0.6101551055908203, -0.3730408847332001, -0.1967538744211197, 0.08088144659996033, 0.583753228187561, -0.5511073470115662, -0.2772068977355957, 0.10476576536893845, -0.5013598203659058, -0.5059968829154968, -0.03514482080936432, -0.864630937576294, -0.2856971025466919, -0.4237768352031708, 0.5789198279380798, -0.4997006058692932, -0.257622629404068, 0.62992262840271, 0.3094087541103363, 0.1263430267572403, 0.4544641673564911, -0.8767471313476562, 0.14589843153953552, 0.5342725515365601, 0.5984130501747131, -0.5389924645423889, -0.5835258960723877, -0.4586157202720642, -0.05388005077838898, -0.4600292444229126, 0.5259739756584167, -0.7422546744346619, -0.11904630064964294, -0.08776790648698807, -0.2716122269630432, -0.1464652717113495, -0.5050250887870789, 0.17141582071781158, -0.38482901453971863, -0.08690124750137329, 0.3087468147277832, -0.20257353782653809, -0.1694020926952362, 0.27748045325279236, -0.40502870082855225, 0.43338295817375183, 0.29578059911727905, -0.34265363216400146, 0.3736635446548462, -0.9730953574180603, -0.4118095636367798, 0.6104093194007874, -0.25309351086616516, -0.34487593173980713, 0.15860766172409058, 0.5893475413322449, 0.5104875564575195, -0.2616943120956421, 0.30710506439208984, -0.15108926594257355, -0.24397879838943481, 0.18871420621871948, -0.18193916976451874, 0.3280166983604431, -0.23467431962490082, -0.6358331441879272, 0.3755623996257782, -0.5819613933563232, 0.14743368327617645, 0.14700275659561157, -0.2971304953098297, -0.023042308166623116, -0.0007953047752380371, 0.3540670573711395, -0.2757650315761566, 0.31252747774124146, -0.4806004762649536, 0.43548890948295593, -0.531975507736206, 0.6684269309043884, 0.6822493076324463, 0.10088112950325012, 0.20257920026779175, 0.029112156480550766, 0.600114107131958, -0.14818525314331055, 0.7632713913917542, 0.044762060046195984, -0.42024314403533936, -0.8430047035217285, -0.055642444640398026, 0.005507737398147583, 0.9129688739776611, -1.0557339191436768, 0.28850358724594116, -0.19965142011642456, -0.4941813051700592, -0.5573351383209229, -0.01569119095802307, 0.52884441614151, 0.5381008982658386, 0.33946582674980164, -0.44329965114593506, -0.080341637134552, -1.1585880517959595, -0.20452886819839478, -0.10664354264736176, 0.1745891273021698, 0.5442944169044495, 0.3527250587940216, -0.6495669484138489, 0.6403868794441223, -0.711515486240387, -0.5278984308242798, -0.39054539799690247, 0.02542095072567463, 0.1443270891904831, 0.27021175622940063, 0.47298792004585266, -0.9713265895843506, -0.5963101983070374, 0.48826858401298523, -0.9654667973518372, -0.18104733526706696, 0.006695291958749294, 0.060468629002571106, 0.27280616760253906, 0.43785038590431213, -0.6080683469772339, 0.57242751121521, 0.45916876196861267, -0.1505749225616455, 0.46561214327812195, -0.29922807216644287, 0.3003019094467163, -0.7395694851875305, 0.2984717786312103, 0.004902973771095276, -0.2673356831073761, -0.4291064739227295, 0.3340494632720947, -0.17330385744571686, -0.2652710974216461, -0.19483397901058197, 0.5011513233184814, -0.2992169260978699, -0.034017547965049744, 0.08249214291572571, 0.15546968579292297, -0.5090696215629578, 0.5923383235931396, 0.20737360417842865, 0.838686466217041, 0.7491071224212646, -0.15248849987983704, 0.808793306350708, 0.29321789741516113, -0.4006847143173218, 0.605973482131958, -0.8347659111022949, 0.21793994307518005, 0.24463973939418793, -0.2520172595977783, -0.4035404622554779, -0.5174685120582581, 0.40390530228614807, -0.32078805565834045, 0.32140037417411804, 0.21948125958442688, -0.46546342968940735, -0.4273792803287506, 0.05043487623333931, 0.5509494543075562, 0.6335201859474182, -0.3530351221561432, 0.6632773280143738, 0.3584689199924469, -0.5586382746696472, -0.3658355474472046, -0.4483689069747925, 0.3606914281845093, -0.1445440798997879, -0.6054021120071411, -0.06458523124456406, -0.18963903188705444, -0.3211382031440735, -0.02556123398244381, 0.1930139660835266, -0.1221371740102768, -0.32224270701408386, -0.061996832489967346, 0.16855503618717194, -0.436170756816864, 0.06790140271186829, -0.47933605313301086, -0.25533878803253174, -0.11828573793172836, -0.16391107439994812, 0.45077309012413025, -0.4432356655597687, -0.7669601440429688, -0.3907408118247986, 0.4827939569950104, 0.47116681933403015, -0.46726739406585693, 0.13488031923770905, 0.8800297975540161, -0.006573623511940241, -0.21628576517105103, -0.7469265460968018, -0.41274940967559814, -0.4732295274734497, 0.8033514022827148, -0.10162655264139175, -0.7886924743652344, 0.1813027262687683, 0.18079903721809387, -0.07448044419288635, -0.015066881664097309, 0.5472071766853333, 0.3798614740371704, 0.988703191280365, 0.49897581338882446, 0.03525935485959053, 0.34156858921051025, 0.022760681807994843, 0.6102030277252197, -0.8478845357894897, -0.2899322211742401, 0.29938486218452454, -0.09849642962217331, -0.19920888543128967, -0.36737826466560364, 0.9059877395629883, -0.22208434343338013, -0.038621366024017334, 0.11851043254137039, -0.6885953545570374, 0.24623054265975952, 0.5499022603034973, 0.5385575890541077, 0.22428186237812042, 0.010429952293634415, 0.20612722635269165, 0.1985667645931244, -0.8116326928138733, -0.26869165897369385, 1.143180012702942, 0.2186630517244339, 0.8903403878211975, -0.03984389081597328, 0.45267024636268616, 0.04203545302152634, 0.21926599740982056, -0.9947993159294128, 0.726131021976471, -0.24079754948616028, 0.05665115639567375, -0.5784369111061096, -0.32912084460258484, -0.6415069103240967, 0.0836849957704544, -0.19961708784103394, -0.7804229855537415, -0.12116429209709167, 0.3159797191619873, -0.431618332862854, 0.11043509095907211, -0.8803192973136902, 0.9683918356895447, -0.4545978903770447, -0.507299542427063, -0.2371242344379425, -0.5811071991920471, -0.030287226662039757, -0.3197632431983948, -0.15185633301734924, 0.4857316017150879, -0.3012743592262268, 0.3658040463924408, 0.01626029796898365, 0.751878023147583, 0.18513895571231842, 0.13212817907333374, -0.10734600573778152, -0.03798791766166687, 0.27812060713768005, 0.16276106238365173, 0.258503794670105, 0.20540408790111542, -0.27757927775382996, -0.12035992741584778, -0.44386613368988037, 0.4934913218021393, -0.5053431391716003, -0.8363092541694641, -0.2645511031150818, -0.5686816573143005, -0.509479284286499, 0.29966530203819275, 0.06342457979917526, 0.4300282895565033, -0.2522957921028137, 0.22037577629089355, 0.6241437792778015, -0.40063750743865967, 0.22356265783309937, 0.6689406633377075, -0.26205477118492126, -0.33153340220451355, 0.8065826892852783, -0.1295512467622757, 0.1141432523727417, 0.39870399236679077, 0.2962142825126648, 0.1924344152212143, -0.8234111666679382, -0.7894933223724365, 0.1182572990655899, -0.6962080597877502, -0.029159311205148697, -0.6287475228309631, -0.1960541307926178, -0.40883880853652954, -0.2576668858528137, -0.10313448309898376, 0.2870420217514038, -0.14187659323215485, 0.012236388400197029, 0.41179096698760986, 0.6858184933662415, 0.08476481586694717, 0.2327808290719986, -0.6365198493003845, 0.4768062233924866, 0.5713438391685486, 0.5236272811889648, -0.08868569880723953, 0.12199337035417557, -0.1706174612045288, -0.306394100189209, -0.023619338870048523, -0.7765558958053589, 0.46466535329818726, 0.24234384298324585, 0.6803891658782959, 0.5947673320770264, -0.253597229719162, 0.5849602818489075, -0.8977752327919006, 0.782999575138092, 0.3511147201061249, -0.9050869345664978, 0.3632357716560364, -0.39382174611091614, 0.1614752858877182, 0.418239951133728, -0.015484594739973545, -0.22849106788635254, -0.19228416681289673, -0.35474658012390137, -1.0312132835388184, 0.595156192779541, -0.0685729905962944, -0.072842538356781, 0.12091848254203796, 0.2838088572025299, -0.026265205815434456, 0.3028324544429779, -0.6362613439559937, 0.13988743722438812, -0.054437655955553055, -0.32742658257484436, -0.3229929804801941, -0.08122685551643372, -0.22140958905220032, -0.007113694213330746, 0.28747475147247314, -0.4601040482521057, 0.09359143674373627, 0.5527167320251465, 0.04499001428484917, -0.08636920899152756, 0.09978687018156052, 0.5946531891822815, 0.9357407689094543, 0.028328077867627144, -0.22788739204406738, 0.2678755521774292, -0.8244081735610962, -0.46488386392593384, 0.06799963116645813, 0.10275779664516449, -0.18791517615318298, 0.5773957967758179, 0.7907432913780212, 0.17810800671577454, -1.0562301874160767, 0.6064532995223999, 0.2160148024559021, -0.09580208361148834, -0.4372340440750122, 0.3013592064380646, -0.16509999334812164, 0.4111914038658142, 0.36909711360931396, 0.13656610250473022, 0.520570695400238, -0.41137415170669556, 0.18117259442806244, 0.32562968134880066, -0.41836923360824585, 0.007323185447603464, 0.4726228713989258, 0.23636086285114288, -0.42003333568573, 0.2715965211391449, 0.24326521158218384, -0.646321713924408, 0.6442807912826538, 0.09265843033790588, 0.8312053680419922, -0.43968796730041504, 0.2221609503030777, 0.03895902633666992, 0.41137129068374634, -0.14621029794216156, 0.16557517647743225, 0.24791200459003448, -0.39201289415359497, -0.3144558370113373, -0.5587913990020752, -0.5326657891273499, 0.1789812445640564, -0.6663010120391846, 0.07466507703065872, -0.2839604616165161, -0.0633888766169548, 0.11520327627658844, -0.2550794780254364, -0.6438971757888794, 0.29748886823654175, -0.27551186084747314, 0.920238733291626, -0.32642385363578796, 0.4796583950519562, 0.9058184027671814, -0.48886817693710327, -0.7292967438697815, 0.08890555799007416, -0.2508257031440735, -1.3893768787384033, 0.6863588690757751, -0.0011539128609001637, -0.1781819462776184, -0.019461702555418015, -0.3717629611492157, -0.27359288930892944, 0.9297001957893372, 0.20631301403045654, -0.8015895485877991, -0.1510516256093979, 0.13163217902183533, 0.8025246262550354, -0.5644565224647522, 0.2155299037694931, 0.38143888115882874, 0.5553405284881592, -0.2540498971939087, -1.3744184970855713, 0.0040976968593895435, -0.29211318492889404, 0.022249922156333923, 0.03302455693483353, -0.5617998838424683, 0.8791880011558533, -0.2408042550086975, 0.16159924864768982, 0.22961746156215668, -0.18503360450267792, -0.24995310604572296, 0.25572672486305237, 0.49868011474609375, 0.5353161692619324, 0.035262346267700195, 0.13291221857070923, 1.1538933515548706, -0.3583749234676361, 0.16827598214149475, 0.5919118523597717, -0.3599955141544342, 0.8637274503707886, 0.6760879755020142, 0.07929614186286926, -0.10086027532815933, 0.5037345290184021, -0.1892319917678833, 0.365997314453125, 0.11691566556692123, -0.20088018476963043, -0.4137910306453705, 0.19761613011360168, -0.46830829977989197, 0.5261796712875366, 0.05417736619710922, -0.403462678194046, 0.1636037975549698, 0.19197794795036316, -0.36375653743743896, -0.023025931790471077, -0.5212059020996094, 1.2273733615875244, 0.15934598445892334, -0.8918726444244385, 0.38947534561157227, -0.33222028613090515, 0.41782405972480774, -0.7137301564216614, -0.1712159365415573, -0.047769442200660706, 0.4575031101703644, -0.18226593732833862, -0.755720853805542, -0.019522812217473984, -0.19678384065628052, 0.010057872161269188, 0.009461089968681335, 0.3021901845932007, -0.40213891863822937, -0.5301814079284668, 0.36279839277267456, 0.424618661403656, 0.20897063612937927, -0.12137472629547119, -0.5661805272102356, 0.013457145541906357, -0.05986011028289795, -0.4314972162246704, 0.15370915830135345, 0.40893232822418213, 0.04600665345788002, 0.8626185059547424, 0.6925522089004517, 0.5283935070037842, -0.3067288100719452, 0.11328516900539398, 0.8475931882858276, -0.2657722234725952, -0.4560006558895111, -0.7954146862030029, 0.24061955511569977, -0.23079252243041992, -0.4168156385421753, 0.4496832489967346, 0.3109781742095947, 0.5968421101570129, -0.4719506502151489, 0.7540096044540405, 0.2825925350189209, 0.41174042224884033, -0.7527573108673096, 0.6883836388587952, -0.7802625298500061, 0.02493203990161419, -0.4768645465373993, -0.9100670218467712, -0.48819923400878906, 1.17854642868042, -0.4426818788051605, 0.24653032422065735, 0.6345831155776978, 0.5205466151237488, -0.212734192609787, -0.17554427683353424, 0.7675936222076416, 0.2699657082557678, 0.07429799437522888, 0.893640398979187, 0.655327558517456, 0.0162248183041811, 0.3480064868927002, 0.027054378762841225, -0.5639016628265381, -0.7099148631095886, -0.5339877009391785, -1.0134246349334717, -0.3260015845298767, -0.21809951961040497, 0.24300724267959595, 0.22354963421821594, 0.7754395604133606, 1.0472848415374756, -0.32721078395843506, 0.04430276155471802, -0.08173975348472595, -0.6013856530189514, -0.10888823866844177, -0.16680701076984406, 0.4977613687515259, -0.2122538685798645, -0.7352824211120605, 0.19623315334320068, 0.6985775828361511, -0.0919504165649414, -0.6849195957183838, 0.003973578568547964, 0.3721189498901367, -0.07197695225477219, 0.7119266986846924, 0.043698716908693314, -0.9799458980560303, -0.3469376266002655, 0.3650742769241333, 0.028110338374972343, 0.03595958650112152, 0.5685200095176697, -0.569725513458252, 0.6264006495475769, 0.10468852519989014, 0.7069709300994873, 0.11809936910867691, -0.05668972432613373, 0.6784763336181641, 0.021266775205731392, 0.21407513320446014, 0.5605148077011108, 0.4083572328090668, 0.3044675588607788, -0.6755693554878235, 0.7610634565353394, -0.056256003677845, -0.6389092206954956, -0.6525697708129883, 0.4156619906425476, -1.2757039070129395, -0.21614469587802887, 1.2660937309265137, -0.3650170564651489, -0.1179300844669342, -0.02217046730220318, -0.7173716425895691, -0.12608762085437775, -0.39247703552246094, 0.9698832631111145, 0.41918227076530457, -0.4118669629096985, -0.49346256256103516, -0.8139219284057617, 0.4092855453491211, 0.507968544960022, -1.0433717966079712, -0.2954655885696411, 0.4155661463737488, 0.20966380834579468, 0.26385247707366943, 0.4444487392902374, -0.11297968029975891, 0.4310778081417084, -0.1393168866634369, -0.040778689086437225, -0.37458255887031555, -0.2121829390525818, -0.02359194867312908, 0.1503157615661621, -0.094482421875, -0.02763880416750908 ]
http://arxiv.org/abs/2402.18950v1
http://arxiv.org/pdf/2402.18950v1
PopALM: Popularity-Aligned Language Models for Social Media Trendy Response Prediction
2024-02-29T08:28:04
2024-02-29T08:28:04
Erxin Yu, Jing Li, Chunpu Xu
cs.CL
cs.CL
Social media platforms are daily exhibiting millions of events. To preliminarily predict the mainstream public reaction to these events, we study trendy response prediction to automatically generate top-liked user replies to social media events. While previous works focus on generating responses without factoring in popularity, we propose Popularity-Aligned Language Models (PopALM) to distinguish responses liked by a larger audience through reinforcement learning. Recognizing the noisy labels from user "likes", we tailor-make curriculum learning in proximal policy optimization (PPO) to help models capture the essential samples for easy-to-hard training. In experiments, we build a large-scale Weibo dataset for trendy response prediction, and its results show that PopALM can help boost the performance of advanced language models.
[ -0.41969916224479675, -0.7992478013038635, 0.2611156702041626, 0.562251627445221, -0.11802265048027039, 0.07483762502670288, -0.4109882712364197, -0.15911909937858582, 0.5797988176345825, 0.5564389824867249, -0.6266684532165527, -0.3251167833805084, -0.5612490177154541, -0.3552752137184143, -0.45426544547080994, 1.0923691987991333, 0.289040207862854, 0.008777113631367683, 0.0017998919356614351, 0.3106159269809723, -0.2505943179130554, -0.5090557932853699, -0.7482870221138, -0.14234019815921783, 0.5799102783203125, 0.5333123803138733, 0.763533353805542, 0.36011603474617004, 0.412555456161499, 0.23055465519428253, 0.1511690765619278, 0.19557185471057892, -0.765279233455658, 0.14260093867778778, 0.08623103052377701, -0.18266421556472778, -0.4785284996032715, 0.0965077355504036, 0.6041646599769592, 0.24485044181346893, -0.11972217261791229, -0.04921894147992134, 0.07457482069730759, 0.4687665104866028, -0.3539661765098572, 0.14246560633182526, -0.8301457762718201, -0.1873779147863388, 0.22343648970127106, -0.1381596326828003, -0.3052281439304352, -0.9048000574111938, 0.13309939205646515, -0.577549397945404, -0.06192640960216522, 0.16558942198753357, 0.6928596496582031, -0.1186799481511116, -0.24093097448349, -0.3955340087413788, -0.8076499700546265, 1.0315780639648438, -0.3835391104221344, 0.20017197728157043, 0.3496072292327881, 0.32729947566986084, -0.5086169242858887, -0.2734973132610321, -0.5492884516716003, -0.22799788415431976, 0.2080262154340744, 0.26364079117774963, 0.0645134225487709, -0.19752159714698792, -0.15090426802635193, 0.11060895025730133, -0.7373249530792236, -0.04059886559844017, -0.0979907438158989, 0.15511004626750946, 0.8968409299850464, 0.014661317691206932, 0.2589583396911621, -0.161624014377594, -0.4733732044696808, 0.05693887546658516, -0.49831458926200867, 0.0008104438311420381, 0.5103749632835388, 0.32139527797698975, 0.2299383580684662, 0.18912872672080994, -0.016658281907439232, 0.3776679039001465, 0.2860705852508545, 0.013641269877552986, 0.29778364300727844, -0.07427018135786057, 0.08851657062768936, 0.03467494994401932, 0.8022433519363403, 0.4219546914100647, 0.6465964317321777, -0.11782342195510864, -0.14878083765506744, -0.19687499105930328, 0.1346600353717804, -0.8444138765335083, -0.17338937520980835, 0.37960466742515564, -0.2927386164665222, -0.5718318819999695, 0.2407463788986206, -0.5525393486022949, -0.4191584587097168, -0.1735682338476181, 0.24884048104286194, -0.27584800124168396, -0.628754198551178, 0.06286309659481049, 0.00870297010987997, -0.01148178894072771, 0.37796422839164734, -0.7967372536659241, 0.14055870473384857, 0.7188220620155334, 0.8321102261543274, -0.31983691453933716, -0.16738715767860413, -0.7294706106185913, 0.06071079894900322, -0.636853814125061, 0.7524028420448303, -0.6331112384796143, -0.33656564354896545, 0.22567994892597198, 0.05799916759133339, -0.16357117891311646, -0.5094089508056641, 0.044021088629961014, -0.9275130033493042, 0.05175596475601196, -0.17908678948879242, -0.41214272379875183, 0.16211505234241486, 0.30602291226387024, -0.5500434637069702, 0.765801191329956, 0.10046299546957016, -0.5614321827888489, 0.3465592861175537, -0.6655675768852234, -0.3263680934906006, 0.18512007594108582, 0.22779802978038788, -0.4537639617919922, -0.18438662588596344, 0.11055594682693481, 0.5434417128562927, -0.04038206860423088, 0.6167142391204834, -0.6862793564796448, -0.24488134682178497, 0.6503539681434631, 0.023686867207288742, 0.5004076361656189, 0.5440396070480347, -0.008611622266471386, 0.6278330087661743, -0.63043212890625, -0.23155860602855682, 0.37700554728507996, -0.4679443836212158, -0.3621085286140442, 0.24498966336250305, 0.4466618299484253, 0.3567226529121399, 0.27551788091659546, -0.5541616678237915, 0.33735162019729614, -0.465890496969223, 0.42093947529792786, 0.9345361590385437, 0.16549336910247803, 0.3050847053527832, -0.3836560547351837, 0.3359711468219757, 0.14525462687015533, 0.028320802375674248, 0.08335849642753601, -0.4035279154777527, -0.13639084994792938, 0.04328301548957825, 0.04554282873868942, 0.35358887910842896, -0.503808856010437, 0.22555509209632874, -0.062310535460710526, -0.5579180717468262, -0.2618114948272705, 0.43438827991485596, 0.08893957734107971, 0.24380573630332947, 0.1546190083026886, -0.18101269006729126, -0.8360636234283447, -0.5139018893241882, -0.48651888966560364, -0.47380396723747253, 0.004221237264573574, 0.5033954977989197, 0.012557201087474823, -0.23827984929084778, 0.811176598072052, -0.6042687892913818, -0.09377209842205048, -0.5655605792999268, 0.3284682333469391, 0.10197987407445908, 0.10971219837665558, 0.45290836691856384, -1.0879443883895874, -0.6802598237991333, -0.1834915578365326, -0.21378366649150848, -0.2637827694416046, 0.06941257417201996, 0.004671974573284388, 0.19067662954330444, 0.3986322581768036, -0.14197997748851776, -0.06315457075834274, 0.5251215100288391, 0.01779034174978733, 0.4226817190647125, 0.3406431972980499, 0.200010746717453, -1.4645185470581055, -0.32018157839775085, 0.3753194510936737, -0.2547839879989624, -0.5692673325538635, -0.3751808702945709, -0.21914787590503693, -0.250184565782547, -0.56912761926651, 0.8008852005004883, -0.05343122035264969, -0.004126001615077257, -0.5617429614067078, 0.08302508294582367, -0.5599325299263, 0.20295603573322296, 0.48546138405799866, 0.6367030143737793, 0.547321617603302, -0.7264776825904846, 0.3004278838634491, 0.06932100653648376, -0.12952199578285217, 0.1411573588848114, -0.6550263166427612, 0.0382072739303112, -0.1441025584936142, 0.327858567237854, -1.5268299579620361, -0.7013810873031616, 0.024756943807005882, -0.5032735466957092, -0.04657956212759018, -0.1754736453294754, -0.33567944169044495, -0.5899569988250732, -0.4322769343852997, 0.09474088251590729, 0.6215310096740723, -0.5942701101303101, 0.414237380027771, 0.5908628702163696, -0.0783442035317421, -0.4819795489311218, -0.10666405409574509, -0.2827894687652588, -0.39513254165649414, -0.2868770956993103, -0.059709642082452774, -0.30376148223876953, -0.21020641922950745, -0.26157113909721375, 0.24904568493366241, 0.06316591054201126, 0.22613726556301117, 0.4802165627479553, 0.1850333958864212, -0.10125458985567093, 0.20053482055664062, -0.4168400764465332, -0.10865699499845505, -0.03624018654227257, -0.3740217685699463, 0.9641969203948975, -0.4045149087905884, -0.04059644788503647, -0.3222842514514923, -0.049652207642793655, 0.3585696816444397, 0.10488633066415787, 0.48858991265296936, 0.792365312576294, -0.1889893114566803, -0.07974658906459808, -0.3532769978046417, -0.3777218759059906, -0.4695156514644623, 0.42704668641090393, -0.03863275796175003, -0.8531809449195862, 0.24300190806388855, -0.10958794504404068, 0.16156256198883057, 0.16097265481948853, 0.6878366470336914, -0.16383521258831024, 1.5605071783065796, 0.3565978705883026, -0.14342208206653595, 0.9728520512580872, 0.0826902762055397, 0.2420092076063156, -0.0662134513258934, 0.12065495550632477, -0.22262704372406006, -0.43881505727767944, -0.7711660265922546, -0.011478123255074024, 0.08740387111902237, -0.09214425086975098, -0.20487691462039948, 0.5573455691337585, -0.17594961822032928, 0.26854443550109863, 0.6215617656707764, -0.28784438967704773, 0.008200354874134064, 0.1541379690170288, 0.4213840365409851, -0.08121711760759354, -0.6286371350288391, -0.40453457832336426, 1.0321097373962402, 0.30687662959098816, 1.0521503686904907, -0.004189435858279467, 0.9340460896492004, 0.23548081517219543, 0.8139492273330688, -0.8975426554679871, 0.6583654284477234, -0.18240487575531006, -0.3985711336135864, -0.0928950309753418, -0.38898059725761414, -0.9813835620880127, -0.2549484670162201, -0.22453998029232025, -0.7516937851905823, -0.16555680334568024, 0.35950151085853577, -0.2740711271762848, 0.13284821808338165, -0.5360446572303772, 0.47556641697883606, -0.1883593052625656, -0.20249822735786438, -0.09998040646314621, -0.42142224311828613, 0.33094844222068787, -0.000981164281256497, 0.25040796399116516, -0.2868611216545105, 0.13339102268218994, 0.950958251953125, -0.13163992762565613, 0.8501811027526855, 0.011277454905211926, 0.23776908218860626, 0.5125567317008972, 0.060519423335790634, 0.1256132870912552, 0.1336406022310257, 0.08546015620231628, 0.0032646360341459513, 0.010074370540678501, -0.42499735951423645, -0.2929975092411041, 1.1195802688598633, -1.0465444326400757, -0.5207265615463257, -0.20047447085380554, -0.803991436958313, -0.3071112632751465, 0.01539356168359518, 0.0727008730173111, 0.022725341841578484, -0.49375471472740173, 0.31558820605278015, 0.674758791923523, 0.11305669695138931, 0.578719973564148, 0.6412137746810913, -0.7691192030906677, -0.4249045252799988, 1.1635310649871826, 0.31557464599609375, -0.01821085438132286, 0.2593512535095215, 0.4882064163684845, -0.3050699532032013, -0.34439900517463684, -0.34853288531303406, 0.031205477192997932, -0.18062402307987213, 0.056191638112068176, -0.6951948404312134, -0.2643013000488281, -0.6494811177253723, -0.2869685888290405, -0.3499281406402588, -0.18068228662014008, -0.15145692229270935, -0.003180619329214096, 0.2009681910276413, 0.838681697845459, -0.13244137167930603, 0.5408018827438354, -0.5926005244255066, 0.14395010471343994, 0.3010142147541046, 0.2054848074913025, -0.013889973983168602, -0.5034317374229431, -0.17070668935775757, -0.13800767064094543, -0.5716487765312195, -0.926166832447052, 0.5007981657981873, 0.20984774827957153, 0.28609246015548706, 0.8998168110847473, 0.09599113464355469, 0.34951043128967285, -0.3537791073322296, 0.6052811741828918, 0.3779793381690979, -0.4475492537021637, 0.9941663146018982, -0.46930328011512756, -0.03205627575516701, 0.18428125977516174, 0.9859970211982727, -0.662153959274292, -0.43786460161209106, -0.7943490147590637, -0.9400204420089722, 0.5111400485038757, -0.2092846781015396, 0.6266008615493774, -0.6310217380523682, 0.06057141348719597, 0.15658967196941376, 0.40040165185928345, -0.7022559642791748, 0.004086187109351158, -0.15230616927146912, -0.23527149856090546, -0.07501601427793503, -0.22061693668365479, -0.04159175232052803, 0.11844219267368317, 0.9638586640357971, -0.2057042270898819, -0.08068247139453888, -0.4360269606113434, 0.15673264861106873, -0.5303063988685608, 0.2646530866622925, 0.20942740142345428, 0.682260274887085, -0.6298839449882507, -0.040739767253398895, -0.37637418508529663, -0.4628392457962036, 0.12585331499576569, 0.12246919423341751, -0.25604066252708435, -0.1312253475189209, -0.21655558049678802, 0.46935245394706726, 0.24613630771636963, -0.7663004994392395, 0.5734103918075562, -0.08166849613189697, -0.16852574050426483, -0.4034692049026489, 0.4128626585006714, 0.3235273063182831, 0.062470510601997375, 0.7116473913192749, -0.2079508751630783, -0.1488112062215805, -0.7055875658988953, 0.5014116168022156, 0.5975581407546997, -0.7242180109024048, -0.49831151962280273, 0.7418571710586548, 0.0933779627084732, -0.565920352935791, 0.0342089906334877, -0.08444280922412872, -0.4072490334510803, 0.5681168437004089, 0.8641070127487183, 0.6486895084381104, -0.540000855922699, 0.5475435256958008, 0.567340075969696, -0.15122507512569427, -0.24256008863449097, 0.41567665338516235, 0.30749017000198364, -0.9562016129493713, -0.08414818346500397, -0.6981550455093384, -0.33130884170532227, 0.6771753430366516, -0.5645420551300049, 0.3718916177749634, -0.7965151071548462, -0.3387758433818817, 0.12801741063594818, 0.10336454212665558, -0.4128101170063019, 0.24533362686634064, 0.10815449804067612, 0.5079846382141113, -1.192221999168396, 0.6438016295433044, 1.0009548664093018, -0.5834291577339172, -0.7693470120429993, 0.37860772013664246, 0.14983591437339783, -0.9134794473648071, 0.6505374908447266, 0.22376328706741333, 0.05038517341017723, 0.1960793435573578, -1.0586817264556885, -0.7829903364181519, 0.533841609954834, 0.10366029292345047, -0.5065879821777344, 0.3410448133945465, -0.19445253908634186, 0.4133169651031494, -0.7236304879188538, 0.25626564025878906, 0.2766213119029999, 0.13460767269134521, 0.38172629475593567, -0.4831138551235199, -0.22004225850105286, -0.0542835034430027, 0.1917063593864441, 0.12710808217525482, -0.7132809162139893, 0.5084250569343567, -0.25609898567199707, -0.005203604232519865, -0.1369318813085556, 0.9522040486335754, 0.5579738616943359, 0.7349253296852112, 0.5323851704597473, 0.13465020060539246, 0.41716641187667847, -0.1413581371307373, 0.8369374871253967, -0.49125468730926514, 0.19806087017059326, 0.9105949401855469, -0.23283255100250244, 1.0538901090621948, 0.4250692129135132, -0.05955678969621658, 0.5436410307884216, 0.9372514486312866, 0.24109332263469696, 0.5266175270080566, 0.17127716541290283, -0.034173887223005295, -0.47183603048324585, -0.30382660031318665, -0.3701331317424774, 0.17782041430473328, 0.3275913596153259, -0.31971973180770874, -0.14081592857837677, 0.028733396902680397, 0.14855797588825226, 0.2472938746213913, -0.6043661236763, 0.8655862808227539, 0.036618996411561966, -0.8142610788345337, 0.4125998020172119, -0.03605278953909874, 0.6674107313156128, -0.5709444284439087, 0.13530607521533966, -0.2440304011106491, 0.1282750815153122, -0.18316569924354553, -0.8902056217193604, 0.1535661518573761, -0.2680951654911041, -0.3221298158168793, -0.031245049089193344, 0.9374498128890991, -0.6491383910179138, -0.30938583612442017, 0.3361985683441162, 0.3751985728740692, 0.21158677339553833, -0.021363914012908936, -0.9327906370162964, -0.2649025321006775, -0.0043755583465099335, -0.5784787535667419, 0.6778780817985535, -0.048096608370542526, -0.37376657128334045, 0.7469439506530762, 0.7196105122566223, 0.11942286044359207, -0.14618661999702454, 0.15681646764278412, 0.7199622392654419, -0.07670924812555313, -0.6826866865158081, -0.5368273258209229, 0.03948577120900154, -0.18363060057163239, -0.12501002848148346, 0.6484746336936951, 0.41924238204956055, 0.7657879590988159, -0.21604695916175842, 0.9895898699760437, 0.011013024486601353, 0.5344512462615967, -0.06266681849956512, 0.48342740535736084, -0.552385687828064, 0.18260669708251953, -0.21885095536708832, -1.0386297702789307, -0.008737265132367611, 0.3555203974246979, -1.0838487148284912, 0.18348228931427002, 0.10212693363428116, 0.8852007389068604, -0.1786750704050064, -0.0278262197971344, 0.2488744556903839, 0.14371336996555328, 0.18143583834171295, 0.5441523790359497, 0.8730489611625671, 0.00934452936053276, 0.7995584607124329, 0.08921703696250916, -0.23760825395584106, -0.7708641886711121, -0.8396823406219482, -0.8524665832519531, -0.7403562068939209, -0.4035303294658661, -0.7837713360786438, 0.16609853506088257, 1.3028045892715454, 0.7736799120903015, -1.201115369796753, -0.3323378562927246, -0.0739910826086998, 0.2587794065475464, -0.34220123291015625, -0.36406826972961426, 0.27844321727752686, -0.3788444399833679, -0.780951976776123, 0.16911837458610535, 0.0766817033290863, 0.001707427203655243, -0.15664052963256836, -0.36361271142959595, -0.2339814454317093, 0.5413744449615479, 0.3117239475250244, 0.4376259446144104, -0.5861662030220032, -0.1444907933473587, 0.19188444316387177, -0.2534971237182617, 0.10357194393873215, 0.805010974407196, -0.31505152583122253, 0.26788368821144104, 0.6122539043426514, 0.5631606578826904, 0.30653685331344604, 0.5516148209571838, 0.4210382103919983, -0.7495278120040894, -0.14139889180660248, 0.22882795333862305, 0.08108788728713989, 0.3800375461578369, -0.3181564509868622, 0.190439835190773, 0.3828490078449249, -0.5463036298751831, -0.6536585688591003, 0.39812302589416504, -0.7585812211036682, -0.34112000465393066, 1.497310996055603, 0.0071946666575968266, -0.3394418954849243, -0.15225514769554138, -0.16102968156337738, 0.03804389387369156, -0.6891660690307617, 0.9448338747024536, 0.7127661108970642, -0.09421846270561218, -0.19999171793460846, -0.5463722944259644, 0.6535158157348633, 0.1595097929239273, -0.43973857164382935, -0.005595492664724588, 0.3275471329689026, 0.6376767158508301, 0.22881366312503815, 0.9009301066398621, 0.19299474358558655, 0.3982684016227722, -0.44817349314689636, 0.04688842594623566, -0.01193668507039547, -0.443164587020874, 0.14720894396305084, 0.41173169016838074, 0.18637214601039886, -0.08466749638319016 ]
http://arxiv.org/abs/2402.18945v2
http://arxiv.org/pdf/2402.18945v2
SynGhost: Imperceptible and Universal Task-agnostic Backdoor Attack in Pre-trained Language Models
2024-02-29T08:20:49
2024-05-24T15:21:55
Pengzhou Cheng, Wei Du, Zongru Wu, Fengwei Zhang, Libo Chen, Gongshen Liu
cs.CR
cs.CR, cs.AI, cs.CL
Pre-training has been a necessary phase for deploying pre-trained language models (PLMs) to achieve remarkable performance in downstream tasks. However, we empirically show that backdoor attacks exploit such a phase as a vulnerable entry point for task-agnostic. In this paper, we first propose $\mathtt{maxEntropy}$, an entropy-based poisoning filtering defense, to prove that existing task-agnostic backdoors are easily exposed, due to explicit triggers used. Then, we present $\mathtt{SynGhost}$, an imperceptible and universal task-agnostic backdoor attack in PLMs. Specifically, $\mathtt{SynGhost}$ hostilely manipulates clean samples through different syntactic and then maps the backdoor to representation space without disturbing the primitive representation. $\mathtt{SynGhost}$ further leverages contrastive learning to achieve universal, which performs a uniform distribution of backdoors in the representation space. In light of the syntactic properties, we also introduce an awareness module to alleviate the interference between different syntactic. Experiments show that $\mathtt{SynGhost}$ holds more serious threats. Not only do severe harmfulness to various downstream tasks on two tuning paradigms but also to any PLMs. Meanwhile, $\mathtt{SynGhost}$ is imperceptible against three countermeasures based on perplexity, fine-pruning, and the proposed $\mathtt{maxEntropy}$.
[ 0.052879758179187775, -0.6933338046073914, 0.5179181694984436, 0.052711449563503265, -0.0582919679582119, -0.09193448722362518, -0.12798725068569183, -0.5070174932479858, 0.04296611621975899, 0.6657795310020447, -0.6161394715309143, -0.5263826251029968, -0.5346675515174866, -0.05071535333991051, -0.5093685388565063, 1.011197566986084, 0.08955366909503937, -0.26067042350769043, 0.030639449134469032, -0.09206730127334595, -0.5756137371063232, -0.8967136740684509, -0.2572551965713501, -0.19272038340568542, 0.41478562355041504, 0.14690014719963074, 0.6786146759986877, 0.34153881669044495, 0.40561696887016296, 0.37238386273384094, 0.3788423240184784, -0.46241918206214905, -0.3218419849872589, 0.6407461166381836, -0.3102060854434967, -0.7033658623695374, -0.24985149502754211, 0.09662564843893051, 0.5183199048042297, 0.21277880668640137, -0.36579006910324097, 0.33170080184936523, 0.06430572271347046, 0.26363155245780945, -0.7629740834236145, -0.12023668736219406, -1.3303855657577515, 0.1724848598241806, -0.5032352805137634, -0.2237568199634552, -0.3737028241157532, 0.08221963047981262, -0.17967870831489563, -0.5756105780601501, -0.014642754569649696, 0.07037689536809921, 0.6673071384429932, 0.41370731592178345, 0.07998792082071304, -0.08016431331634521, -0.44990453124046326, 0.5944008231163025, -0.6085200905799866, 0.39752963185310364, 0.10133107751607895, 0.3705090284347534, -0.2755657434463501, -0.675431489944458, -0.8386728167533875, -0.37319326400756836, -0.02181342989206314, 0.15579737722873688, -0.42545148730278015, 0.30115875601768494, 0.29480820894241333, 0.4652561843395233, -0.861774206161499, 0.19294606149196625, 0.10495664179325104, -0.5270845890045166, 0.17385448515415192, 0.15356619656085968, 0.6341409683227539, 0.09994479268789291, -0.6639577746391296, -0.2591191232204437, -0.7182371020317078, -0.09653785824775696, 0.6033661961555481, 0.2380773276090622, 0.033434536308050156, 0.1784926950931549, -0.017304101958870888, 0.7464603185653687, -0.02528638206422329, 0.2016391009092331, 0.04051421955227852, -0.30981123447418213, -0.3932509422302246, -0.17090965807437897, 0.5377637147903442, -0.02996065467596054, 0.21577349305152893, -0.2981070280075073, -0.25297054648399353, 0.4006015956401825, 0.4576658010482788, -0.6152327656745911, -0.20094731450080872, 0.13181445002555847, -0.16442283987998962, -0.46524056792259216, -0.03033255971968174, -0.6005603671073914, -0.3206841051578522, 0.28252026438713074, 0.7294371724128723, -0.2599255442619324, -0.29626893997192383, 0.005654648877680302, 0.04794377088546753, 0.33711615204811096, 0.1811438947916031, -0.6425392627716064, 0.537861704826355, 0.7874128222465515, 0.7214676737785339, -0.06796307116746902, -0.765519380569458, -0.6424845457077026, 0.20695990324020386, -0.03566544130444527, 0.5761739611625671, -0.5762621164321899, -0.13493874669075012, -0.16104166209697723, -0.042158517986536026, -0.2635546326637268, -0.6552562713623047, 0.24404454231262207, -0.7129971981048584, 0.37282195687294006, 0.099472276866436, -0.21806077659130096, -0.2176934778690338, 0.3621324896812439, -0.4669909179210663, 0.6360662579536438, 0.07439663261175156, -0.6568686962127686, 0.2046893686056137, -0.43388745188713074, -0.5913060903549194, 0.11869478225708008, -0.02459157630801201, -0.1675020307302475, 0.14809435606002808, -0.2210477739572525, 0.2188292145729065, 0.018351735547184944, 0.16377176344394684, -0.33276811242103577, -0.2547152638435364, 0.03618447482585907, -0.4306645393371582, 0.9925983548164368, 0.22199758887290955, -0.47347021102905273, 0.36404576897621155, -0.5766430497169495, 0.12048923224210739, 0.2079927772283554, 0.08888976275920868, -0.5903488397598267, -0.32397136092185974, -0.3330436050891876, 0.6227543354034424, 0.2876392602920532, -0.6729232668876648, -0.1899636834859848, -0.5262982845306396, 0.35631418228149414, 0.9373364448547363, -0.066595159471035, 0.24742348492145538, -0.2740875780582428, 0.6736921072006226, 0.030514582991600037, 0.2595353126525879, -0.3670644164085388, -0.4000738561153412, -0.26062506437301636, -0.13250599801540375, 0.014702938497066498, 0.9316012859344482, -0.6675482392311096, 0.4606373906135559, 0.14215277135372162, -0.39463186264038086, -0.37356555461883545, 0.18441267311573029, 0.7269012928009033, 0.6204293966293335, 0.3183691203594208, -0.42912358045578003, -0.5124915242195129, -0.6394386291503906, -0.8311104774475098, -0.28690916299819946, 0.06833962351083755, -0.06939605623483658, 0.506600022315979, -0.09633945673704147, 0.28105270862579346, -0.37310725450515747, -0.30362895131111145, -0.022183900699019432, -0.15433672070503235, 0.2525472939014435, 0.6678125858306885, 0.4254775047302246, -0.5571511387825012, -0.37300243973731995, -0.2767922878265381, -0.6482530236244202, -0.30748701095581055, -0.21014970541000366, -0.17587138712406158, 0.11955263465642929, 0.4473351538181305, -0.9732851982116699, 0.41086217761039734, 0.8212372660636902, -0.32873252034187317, 0.9324900507926941, -0.041233908385038376, -0.3127793073654175, -1.0637469291687012, 0.14116951823234558, -0.39324283599853516, -0.17614629864692688, -0.8148372173309326, 0.7050867080688477, -0.10961594432592392, -0.3892688453197479, -0.3118739128112793, 0.7203992605209351, -0.38579443097114563, 0.021960675716400146, -0.1317068636417389, -0.22461190819740295, -0.15428800880908966, 0.6207384467124939, -0.21276788413524628, 0.6645609736442566, 0.7869899868965149, -0.260070264339447, 0.4395175576210022, 0.16285814344882965, -0.05149519816040993, 0.5033113360404968, -0.5412279367446899, 0.19157415628433228, 0.26529139280319214, 0.3787792921066284, -0.9818024635314941, -0.1145482063293457, 0.6128903031349182, -0.6315317153930664, 0.431730180978775, 0.019408803433179855, -0.6519373655319214, -0.2938077747821808, -0.37474992871284485, 0.34467726945877075, 0.4470381438732147, -0.4895177483558655, 0.18652787804603577, 0.2489393800497055, -0.22262956202030182, -0.7544628977775574, -0.6360969543457031, 0.18210892379283905, -0.1308857798576355, -0.45844918489456177, 0.10425568372011185, -0.15083955228328705, -0.20786413550376892, -0.22625035047531128, -0.5406259894371033, 0.017913881689310074, 0.2829829752445221, 0.34321027994155884, 0.238160640001297, -0.08530180901288986, -0.13210517168045044, -0.2561783790588379, -0.12236973643302917, 0.3314506709575653, -0.7692627906799316, 0.6035981178283691, -0.07277439534664154, -0.5641996264457703, -0.3810940980911255, 0.43216073513031006, 0.6804873943328857, -0.1224803701043129, 0.5209251046180725, 0.4255531430244446, -0.38438424468040466, -0.277344673871994, -0.6140832304954529, -0.3777792751789093, -0.5375604629516602, 0.4311162829399109, -0.4569259285926819, -0.720594584941864, 0.7254059910774231, 0.2583714425563812, -0.0036185523495078087, 0.27170196175575256, 0.3206801116466522, 0.006686312612146139, 0.8030531406402588, 0.6165347099304199, -0.07152722030878067, 0.4868534207344055, 0.09947068244218826, -0.04464263468980789, -0.5224049091339111, -0.016881950199604034, -0.4615602195262909, -0.1009211391210556, -0.5235215425491333, -0.08157721906900406, 0.3387462794780731, -0.07341959327459335, -0.24500420689582825, 0.46288612484931946, -0.3602774143218994, 0.4063996374607086, 0.573725700378418, 0.09405995160341263, 0.24096553027629852, 0.1278526782989502, -0.29424849152565, 0.03656638041138649, -0.7518439888954163, -0.17248480021953583, 0.9079756140708923, 0.21404442191123962, 0.8524883389472961, -0.09952743351459503, 0.8406302332878113, 0.0999782457947731, 0.25503697991371155, -0.38647642731666565, 0.7515882849693298, -0.1814550757408142, -0.8138146996498108, -0.272973895072937, -0.4087635278701782, -0.7552552223205566, 0.4293472170829773, 0.008490036241710186, -0.7422205209732056, 0.033706266433000565, 0.44314196705818176, -0.290347695350647, 0.6801565289497375, -0.8488054275512695, 1.1147397756576538, -0.2347918301820755, -0.26702171564102173, -0.2821272909641266, -1.0902612209320068, 0.4322737753391266, -0.21979758143424988, 0.07412867993116379, 0.056344326585531235, 0.17664839327335358, 0.5195404887199402, -0.48802298307418823, 0.8679089546203613, -0.3998727798461914, -0.2458919882774353, 0.03613318130373955, 0.501062273979187, 0.6983484029769897, -0.1569143384695053, 0.16051973402500153, 0.3796411156654358, -0.13018827140331268, -0.44758927822113037, -0.5380439758300781, 0.6251721978187561, -0.44592538475990295, -1.2041449546813965, -0.5918222665786743, -0.6885229349136353, -0.2089087963104248, 0.4211593270301819, 0.40208858251571655, 0.2905208170413971, 0.12912020087242126, -0.21482835710048676, 0.5166200399398804, -0.25922876596450806, 0.34153667092323303, 0.44199419021606445, 0.15251338481903076, -0.12655256688594818, 1.0731616020202637, -0.1766648143529892, 0.5759924054145813, 0.5044088363647461, 0.23515036702156067, -0.16511812806129456, -0.7262907028198242, -0.10247956216335297, 0.061886247247457504, -0.41465088725090027, -0.3380851447582245, -0.5604816675186157, -0.31837841868400574, -0.43184566497802734, 0.01594243198633194, -0.04541881009936333, -0.33136966824531555, 0.03315106779336929, 0.14504706859588623, -0.0475713275372982, 0.28336694836616516, -0.33516669273376465, 0.28822600841522217, -0.7658898234367371, 0.37522730231285095, 0.6248394846916199, 0.3598977327346802, 0.08056797832250595, -0.5817557573318481, -0.06589677929878235, -0.143692284822464, -0.27715393900871277, -0.968646228313446, 0.2513195872306824, 0.14255759119987488, 0.7615412473678589, 0.3590923547744751, 0.05561386048793793, 0.48915335536003113, -0.6532291173934937, 0.5319422483444214, 0.3600625991821289, -0.9700121879577637, 0.4560061991214752, -0.3165673017501831, 0.4195164740085602, 0.5241290330886841, 0.14198273420333862, -0.49675223231315613, -0.8416186571121216, -0.874925434589386, -0.8193076848983765, 0.5153914093971252, 0.12896056473255157, 0.3060576617717743, 0.31621769070625305, -0.0014485577121376991, 0.5205230712890625, 0.5942897200584412, -0.8123506307601929, -0.0571693517267704, -0.4682876467704773, -0.002948229666799307, 0.04057302325963974, -0.07264891266822815, -0.16794344782829285, -0.145482137799263, 0.402648389339447, 0.19951581954956055, 0.20400185883045197, 0.035743843764066696, -0.516739547252655, -0.10857369750738144, 0.5292519927024841, 0.5249031186103821, 0.4393566846847534, -0.08267746865749359, 0.4699588418006897, 0.1479966938495636, -0.7710232138633728, 0.21291851997375488, 0.24000945687294006, -0.12877823412418365, -0.09371145814657211, 0.5928515791893005, 0.5765529274940491, 0.15031959116458893, -0.5413161516189575, 0.5421091914176941, 0.3132905662059784, 0.08106984943151474, -0.14440451562404633, 0.1927034705877304, -0.48474636673927307, 0.20874203741550446, 0.3950249254703522, 0.35308021306991577, -0.05978323146700859, -0.9242668747901917, 0.4077424705028534, 0.6908973455429077, -0.11732376366853714, -0.7821206450462341, 0.7154850959777832, 0.0815838873386383, -0.29832276701927185, 0.07130172103643417, -0.12741221487522125, -1.0072107315063477, 0.34791600704193115, 0.824570894241333, 1.021445870399475, -0.7068174481391907, 0.04806690663099289, -0.07795216888189316, 0.5706284046173096, 0.15013930201530457, 0.3314312994480133, -0.4152263402938843, -0.8275022506713867, -0.22517023980617523, -0.6554275751113892, -0.35374534130096436, 0.2269892692565918, -0.44025203585624695, -0.28383907675743103, -0.5915495157241821, 0.11413154751062393, -0.20571433007717133, -0.2475651353597641, -0.3792913258075714, 0.1159491315484047, 0.17734591662883759, 0.8818186521530151, -0.7595958709716797, 0.739256739616394, 0.7527266144752502, -0.05034239590167999, -0.5249254703521729, 0.542358934879303, -0.03913618624210358, -1.2383593320846558, 0.6771287322044373, 0.11913289874792099, -0.29036372900009155, 0.128483846783638, -0.6031284928321838, -0.5654221177101135, 0.6144207715988159, 0.5365124344825745, -0.35490965843200684, -0.29892510175704956, -0.11716707795858383, 0.44550618529319763, -0.15209297835826874, -0.2189769148826599, 0.2735603451728821, 0.5310993194580078, -0.18275396525859833, -0.8627985715866089, 0.5282794833183289, -0.24020560085773468, -0.31071051955223083, 0.16639277338981628, -0.5353644490242004, 0.8836920261383057, -0.24798139929771423, -0.44570642709732056, 0.04268587753176689, 0.2365671843290329, 0.42386510968208313, 0.251535564661026, 0.7994716763496399, 0.7655665874481201, 0.4780265986919403, 0.024370312690734863, 0.8900266885757446, -0.3862043619155884, -0.092605359852314, 1.2746869325637817, -0.5549361705780029, 0.6527525782585144, 0.5122817754745483, -0.10883133113384247, 0.5543109178543091, 0.18812698125839233, -0.018769579008221626, 0.6800631880760193, 0.34919360280036926, -0.15459869801998138, -0.22839972376823425, 0.08739661425352097, -0.489557147026062, 0.39571359753608704, 0.39079293608665466, 0.07713460922241211, -0.43761828541755676, 0.12242879718542099, 0.21954768896102905, 0.13260197639465332, -0.38196951150894165, 0.6208444833755493, 0.24011890590190887, -0.4862806797027588, 0.7095692157745361, -0.34835055470466614, 0.8125187754631042, -0.9164020419120789, 0.05941496789455414, 0.023100024089217186, 0.04025604575872421, -0.2056044638156891, -0.7292258739471436, 0.335076242685318, -0.1427309662103653, 0.04513917118310928, -0.38163700699806213, 1.1975469589233398, -0.4388059377670288, 0.08821660280227661, 0.5343467593193054, 0.3518804609775543, -0.058344099670648575, -0.46836352348327637, -0.6312638521194458, -0.12990613281726837, -0.3290235102176666, -0.15640124678611755, 0.3843208849430084, 0.22500388324260712, -0.03732062876224518, 0.5697104930877686, 0.7749334573745728, 0.5141419172286987, 0.23455873131752014, -0.22261042892932892, 0.872711718082428, -0.6896676421165466, -0.9126611351966858, -0.9588364958763123, 0.05987364798784256, 0.050149813294410706, -0.08783237636089325, 1.0000982284545898, 0.20385095477104187, 1.0393552780151367, -0.020547447726130486, 0.7641576528549194, 0.1356915980577469, 0.2730211913585663, -0.47474971413612366, 0.8374497890472412, -0.4765014946460724, 0.11477230489253998, -0.48139622807502747, -0.7096261382102966, -0.2886545658111572, 0.08438239991664886, -0.2789454460144043, -0.06509970873594284, 0.8299691081047058, 0.7707259654998779, -0.014999439008533955, 0.00008093289216049016, 0.5498636960983276, 0.6719682216644287, -0.12063301354646683, 0.8081020712852478, 0.9013199210166931, -0.11886893957853317, 0.7190092206001282, -0.030556313693523407, -0.2964320182800293, -0.10067645460367203, -0.596070408821106, -0.8511152267456055, -0.5239123702049255, 0.08685573935508728, -0.45942556858062744, 0.42788252234458923, 0.44404396414756775, 0.665080726146698, -0.9189552664756775, -0.1166125237941742, -0.23080439865589142, 0.30608808994293213, -0.3465511202812195, -0.20381630957126617, 0.03322363644838333, -0.39215943217277527, -0.11479180306196213, 0.4114181399345398, 0.3110232353210449, 0.06791466474533081, -0.2697812616825104, 0.2802496552467346, -0.13481813669204712, -0.10153647512197495, 0.3562820851802826, 0.6562578678131104, -0.6215355396270752, -0.3829474449157715, -0.15420715510845184, -0.07970016449689865, -0.11233769357204437, 0.9166831970214844, -0.699510395526886, 0.24530133605003357, 0.5541366934776306, 0.6315305233001709, 0.05099887400865555, -0.2676272988319397, 0.6972747445106506, -1.040737271308899, 0.47271132469177246, 0.25823459029197693, 0.13679838180541992, 0.08648461103439331, -0.5739107728004456, 0.11851270496845245, 0.6096142530441284, -0.25963807106018066, -1.1286766529083252, 0.6604979634284973, -0.7405869960784912, -0.39624467492103577, 0.7979583740234375, -0.32311031222343445, -0.19776751101016998, -0.1392127126455307, 0.3234512507915497, 0.2905674874782562, -0.28704577684402466, 0.8142715692520142, 0.6616898775100708, 0.2104949951171875, 0.06907283514738083, -0.6595815420150757, 0.5221104025840759, 0.6682667136192322, -0.8405528664588928, 0.23659151792526245, 0.12864865362644196, 0.41203969717025757, 0.2397548407316208, 0.4224711060523987, -0.18651923537254333, 0.43775683641433716, 0.14686118066310883, -0.0081696892157197, -0.3551919460296631, -0.3905462324619293, -0.6000946164131165, 0.321598082780838, -0.2910808026790619, -0.42991384863853455 ]
http://arxiv.org/abs/2402.18944v1
http://arxiv.org/pdf/2402.18944v1
SemEval 2024 -- Task 10: Emotion Discovery and Reasoning its Flip in Conversation (EDiReF)
2024-02-29T08:20:06
2024-02-29T08:20:06
Shivani Kumar, Md Shad Akhtar, Erik Cambria, Tanmoy Chakraborty
cs.CL
cs.CL, cs.AI
We present SemEval-2024 Task 10, a shared task centred on identifying emotions and finding the rationale behind their flips within monolingual English and Hindi-English code-mixed dialogues. This task comprises three distinct subtasks - emotion recognition in conversation for code-mixed dialogues, emotion flip reasoning for code-mixed dialogues, and emotion flip reasoning for English dialogues. Participating systems were tasked to automatically execute one or more of these subtasks. The datasets for these tasks comprise manually annotated conversations focusing on emotions and triggers for emotion shifts (The task data is available at https://github.com/LCS2-IIITD/EDiReF-SemEval2024.git). A total of 84 participants engaged in this task, with the most adept systems attaining F1-scores of 0.70, 0.79, and 0.76 for the respective subtasks. This paper summarises the results and findings from 24 teams alongside their system descriptions.
[ -0.6276534199714661, -0.4250374138355255, 0.48239943385124207, 0.5389624238014221, -0.20543745160102844, 0.09398014843463898, 0.0019264154834672809, -0.4388951361179352, 0.48839274048805237, 0.42647334933280945, -0.9641950130462646, -0.5671701431274414, -0.34203359484672546, 0.4126613438129425, -0.31745490431785583, 0.9214385151863098, -0.2726427912712097, -0.05166405066847801, -0.24536848068237305, -0.49589723348617554, -0.21521857380867004, -0.5462487936019897, -0.5012564063072205, -0.45912253856658936, 0.42259642481803894, 0.8380413055419922, 0.13852815330028534, -0.09664185345172882, 0.39779776334762573, 0.21702739596366882, 0.07660041004419327, 0.08478043228387833, -0.5465312004089355, 0.41502049565315247, -0.246886745095253, -0.1702151745557785, -0.5853370428085327, -0.02086622826755047, -0.020171720534563065, 0.3029048442840576, -0.04323727637529373, 0.14272348582744598, -0.004472473636269569, 0.7683132290840149, -0.5655618906021118, 0.21184460818767548, -0.12530824542045593, 0.12412599474191666, -0.06198262795805931, -0.3561996519565582, -0.2519991397857666, -0.12161098420619965, 0.12994202971458435, -0.18715205788612366, -0.21445360779762268, -0.054040681570768356, 0.7434477210044861, 0.3264520466327667, -0.7877366542816162, -0.5429907441139221, -0.4969761073589325, 0.6076356768608093, -0.5214054584503174, 0.384956032037735, 0.10719815641641617, -0.019936148077249527, 0.2534559965133667, -0.4641757905483246, -0.5067600011825562, 0.43205925822257996, 0.09029092639684677, 0.5308124423027039, -0.07377690076828003, 0.1292797178030014, 0.32609614729881287, 0.33653080463409424, -0.3470385670661926, -0.15517207980155945, -0.1516115367412567, -0.16490861773490906, 0.9108404517173767, 0.3686199188232422, 0.383625864982605, 0.018397359177470207, -0.31937023997306824, 0.005666638724505901, -0.7076334357261658, 0.2553842067718506, 0.6117867827415466, -0.047254178673028946, -0.18599948287010193, 0.41735151410102844, -0.4296380877494812, 0.007000652141869068, 0.15509626269340515, 0.20800097286701202, 0.5973866581916809, -0.6320917010307312, -0.20869939029216766, 0.25086668133735657, 0.6953062415122986, 0.4833231270313263, 0.15470652282238007, 0.4108334481716156, -0.29232797026634216, 0.026413600891828537, 0.06784708052873611, -0.7199775576591492, -0.12533918023109436, 0.3905066251754761, -0.29673540592193604, -0.46550437808036804, -0.2437431663274765, -1.079551100730896, -0.4949316382408142, -0.22544823586940765, 0.505415678024292, -0.34363290667533875, -0.5183520317077637, -0.0038474388420581818, -0.016743984073400497, 0.4906966984272003, 0.6288727521896362, -0.6073687672615051, 0.1766195297241211, 0.5104348063468933, 0.2722591459751129, -0.30523183941841125, -0.28193119168281555, -0.3978963792324066, -0.43853867053985596, -0.12153183668851852, 0.8011953234672546, -0.805005669593811, -0.34377992153167725, 0.03990056365728378, 0.3373871445655823, -0.24136969447135925, -0.2866290807723999, 0.9727370738983154, -0.1914450079202652, 0.31762775778770447, -0.49599313735961914, -0.2559420168399811, -0.3718048632144928, 0.37838128209114075, -0.5625109672546387, 1.1844552755355835, -0.19012735784053802, -0.8458781838417053, -0.0032228215131908655, -0.6447818875312805, -0.6019192337989807, 0.00602660421282053, -0.14435285329818726, -0.20847328007221222, 0.034525930881500244, 0.1591077744960785, 0.3157877027988434, -0.23790906369686127, 0.050936780869960785, -0.10076168179512024, -0.48159730434417725, -0.14418156445026398, -0.17125241458415985, 0.5907168388366699, 0.3761385977268219, -0.8961467742919922, 0.167324960231781, -0.6539980173110962, 0.008121702820062637, 0.03439467027783394, -0.10870862752199173, -0.25462037324905396, -0.12202432751655579, -0.1592189371585846, 0.3140723407268524, 0.2009381204843521, -0.676510751247406, 0.044710248708724976, -0.11653737723827362, 0.21162554621696472, 0.545428454875946, 0.19337230920791626, 0.4644549489021301, 0.2060452401638031, 0.787626326084137, 0.420177161693573, 0.15986433625221252, -0.549978494644165, -0.4901514947414398, -1.0590397119522095, 0.12165307998657227, -0.04142473265528679, 0.6696018576622009, -0.7896074056625366, -0.13095390796661377, -0.06423468142747879, -0.4001178741455078, -0.5774493217468262, -0.24160432815551758, 0.2608318328857422, 0.31889569759368896, 0.18235811591148376, 0.07721645385026932, -0.5408831238746643, -1.0545852184295654, -0.27812013030052185, -0.08985194563865662, 0.48104456067085266, 0.5844297409057617, 0.5913553237915039, -0.5011923313140869, 0.31391674280166626, -0.1016763374209404, 0.1999487727880478, -0.33778685331344604, 0.6218419075012207, -0.047687631100416183, 0.3316695988178253, 0.2978329062461853, -0.8806988000869751, -0.4976007640361786, -0.0027400620747357607, -0.6367084383964539, -0.614849328994751, -0.15289434790611267, -0.23585334420204163, 0.595304012298584, 0.5829259157180786, 0.05223492905497551, 0.7089276313781738, 0.6422773003578186, -0.45808184146881104, 0.44186460971832275, 0.23035193979740143, 0.8712742328643799, -0.8755108118057251, -0.10474229604005814, -0.20603841543197632, -0.25486117601394653, -0.6721875667572021, -0.197872593998909, 0.14298798143863678, -0.10444774478673935, -0.4397115111351013, 0.31868717074394226, -0.45904111862182617, -0.0659535676240921, -0.10262119770050049, -0.04043897986412048, -0.08487194776535034, 0.7148298621177673, 0.17341139912605286, 0.6938384175300598, 0.3851509392261505, -0.4048871397972107, 0.4943441152572632, 0.14801886677742004, -0.11406572163105011, 0.8419197797775269, -0.607905387878418, 0.408663272857666, 0.12588128447532654, -0.0785500556230545, -0.8657698631286621, -0.17013296484947205, 0.14541733264923096, -0.45402416586875916, 0.08887157589197159, 0.03878667578101158, -0.08708418160676956, -0.2708997428417206, -0.21211859583854675, 0.4193824231624603, 0.4007077217102051, -0.4274839460849762, 0.8348413705825806, 0.6254492998123169, -0.4298368990421295, -0.45550110936164856, -0.5218790769577026, 0.14090369641780853, -0.17118124663829803, -0.7876357436180115, -0.008045019581913948, 0.020680759102106094, -0.2228020876646042, -0.17721959948539734, -0.18221791088581085, 0.18143506348133087, -0.03560848906636238, 0.7226591110229492, -0.11878911405801773, 0.0905211865901947, 0.059572722762823105, 0.20617137849330902, -0.1357554793357849, 0.18521730601787567, 0.14028100669384003, 0.4584675133228302, -0.680314838886261, -0.5499323010444641, 0.012736646458506584, 0.6650015115737915, 0.7301969528198242, -0.2990213632583618, 0.45402878522872925, 0.6631292700767517, -0.40235474705696106, -0.24868209660053253, -0.4496050179004669, -0.019367465749382973, -0.3910839855670929, 0.3605334758758545, -0.6036304831504822, -0.9851123690605164, 0.8494274020195007, -0.3448527157306671, -0.128887340426445, 0.49196818470954895, 0.8260605931282043, -0.23169414699077606, 1.3499112129211426, 0.5731289386749268, 0.19615225493907928, 0.2520698308944702, -0.01270027831196785, 0.558971107006073, -0.6754375100135803, -0.5642581582069397, -0.4500400424003601, -0.6261807680130005, -0.6234950423240662, -0.3734889030456543, 0.5712044835090637, -0.21213310956954956, -0.1549719274044037, 0.3705359995365143, -0.3291301429271698, 0.34298384189605713, 0.4889416992664337, -0.14131520688533783, 0.039205729961395264, -0.3760128319263458, -0.32824432849884033, -0.07912304997444153, -0.5037260055541992, -0.3786783814430237, 0.47850099205970764, 0.33074039220809937, 0.8090202212333679, -0.04824642837047577, 1.1851149797439575, 0.20707115530967712, -0.005040944088250399, -0.7454255223274231, 0.8824333548545837, 0.2644626498222351, -0.4736296832561493, -0.30618107318878174, -0.2065696120262146, -0.6518722772598267, -0.1802891492843628, 0.16572663187980652, -0.5969364643096924, 0.43947893381118774, -0.17224709689617157, -0.12643228471279144, -0.12545661628246307, -0.6900002360343933, 1.0306662321090698, -0.3210459053516388, -0.42807167768478394, -0.49848672747612, -0.6932861804962158, 0.2744332551956177, 0.051606010645627975, 0.3614218831062317, -0.18485590815544128, 0.28026747703552246, 0.8744803667068481, -0.31673502922058105, 0.6164564490318298, -0.2118462473154068, -0.1398847997188568, 0.4547998011112213, 0.2477625608444214, 0.6506926417350769, 0.02420334331691265, -0.12393978238105774, -0.14658822119235992, 0.3813422918319702, -0.238472580909729, -0.46586501598358154, 0.7642521262168884, -0.3888634443283081, -0.5637685656547546, -0.6786679625511169, -0.25116121768951416, -0.21235643327236176, -0.004264445975422859, 0.12190976738929749, 0.29521071910858154, -0.21954414248466492, 0.23387710750102997, 0.6974631547927856, -0.5222175717353821, 0.4019552767276764, 0.544193685054779, -0.13010674715042114, -0.31405866146087646, 0.7870649695396423, -0.12594683468341827, 0.12090632319450378, 0.13223159313201904, 0.02778155542910099, -0.14360159635543823, -0.07606056332588196, -0.40209394693374634, -0.05689384043216705, -0.8442373275756836, -0.210203617811203, -0.7593353986740112, -0.07236093282699585, -0.48335447907447815, -0.014713400043547153, -0.5973182320594788, -0.4914874732494354, -0.06539947539567947, -0.32787588238716125, 0.2236427515745163, 0.83940190076828, -0.14930808544158936, -0.4415031671524048, -0.9069042801856995, -0.22128507494926453, 0.3429253101348877, 0.17378392815589905, -0.3959457278251648, -0.6471723318099976, -0.2906740605831146, 0.2339024692773819, -0.14972785115242004, -1.1822530031204224, 0.6176191568374634, 0.17775316536426544, 0.4324183464050293, 0.27026331424713135, 0.32507389783859253, 0.5496132969856262, -0.19846968352794647, 0.863947331905365, -0.05482364445924759, -1.1642059087753296, 0.8728049397468567, -0.34652891755104065, 0.32167375087738037, 0.7142840623855591, 0.53041011095047, -0.8075125813484192, -0.1245993971824646, -0.6853407621383667, -0.8255324959754944, 0.768329381942749, 0.311198890209198, 0.08928012102842331, 0.05074629932641983, 0.00500778341665864, 0.09243424236774445, 0.21176500618457794, -0.33648502826690674, -0.2338719666004181, -0.10816367715597153, -0.5709445476531982, 0.2026732861995697, -0.41273900866508484, -0.22899486124515533, -0.23318049311637878, 0.6146189570426941, -0.2334190309047699, 0.5492527484893799, 0.3467174768447876, -0.16114865243434906, -0.20606696605682373, 0.44213634729385376, 0.7423609495162964, -0.032451506704092026, -0.04758106917142868, 0.3663909137248993, 0.3109840154647827, -0.39082321524620056, 0.09486988931894302, -0.04478425532579422, 0.07909510284662247, -0.14192377030849457, 0.2679206430912018, 1.0901821851730347, 0.3680223226547241, -0.8039929270744324, 0.5733569860458374, -0.08928752690553665, -0.2707335352897644, -0.24032482504844666, -0.1902189552783966, 0.2414928674697876, 0.5517345070838928, 0.09690043330192566, 0.03552083298563957, 0.39682307839393616, -0.8490118384361267, 0.2866824269294739, 0.06720238924026489, -0.5428613424301147, -0.7706729769706726, 0.29986584186553955, 0.8414083123207092, -0.2547050416469574, 0.37935319542884827, -0.5949700474739075, -1.310936450958252, 0.6879671216011047, 0.09566070884466171, 1.1188386678695679, -0.3061193525791168, 0.399201899766922, 0.4895677864551544, 0.10378454625606537, 0.11516912281513214, 0.8364546298980713, -0.11778586357831955, -0.8328745365142822, -0.20518499612808228, -0.368124783039093, -0.6756970286369324, -0.2721550464630127, -0.6977552175521851, 0.5005662441253662, 0.13967175781726837, 0.12128018587827682, -0.2508618235588074, -0.03673170134425163, -0.88603675365448, 0.17702031135559082, 0.4667782783508301, 0.7196491360664368, -0.9847053289413452, 0.47628647089004517, 1.063211441040039, -0.3033168613910675, -0.889604926109314, -0.32733649015426636, 0.3568938672542572, -0.8127833604812622, 0.806931734085083, 0.05997217819094658, -0.18730191886425018, 0.03992448002099991, -0.627795934677124, -0.5850327014923096, 1.0741283893585205, -0.027419734746217728, -0.397304505109787, 0.4007168114185333, 0.14661313593387604, 0.6595258712768555, -0.5902888774871826, 0.7586998343467712, 0.6921482682228088, 0.4404873847961426, 0.3485633134841919, -1.0838637351989746, -0.16453300416469574, -0.7157692909240723, -0.792119026184082, 0.339695006608963, -0.8470367789268494, 0.4408041834831238, -0.33117398619651794, -0.32380029559135437, -0.5141209959983826, 0.36083999276161194, 0.1081729531288147, 0.7846784591674805, 0.5312527418136597, 0.7679248452186584, 0.5019851922988892, -0.33967792987823486, 0.7922605276107788, -0.36362341046333313, 0.24408438801765442, 0.8936380743980408, -0.664962112903595, 0.7941083312034607, 0.5378125309944153, -0.20751003921031952, 0.5370920896530151, 0.7785512804985046, 0.5320022702217102, 0.3988890051841736, -0.08142632246017456, -0.19805431365966797, -0.5026232004165649, -0.2273152619600296, -0.09172140806913376, 0.47438302636146545, 0.45486557483673096, -0.11353965103626251, -0.03818375617265701, 0.3484973907470703, 0.009187949821352959, -0.35090622305870056, -0.15800036489963531, 0.8464345335960388, 0.08534170687198639, -0.8932314515113831, 0.24894528090953827, -0.3018305003643036, 0.5499263405799866, -0.15668821334838867, -0.14749504625797272, -0.5769637823104858, 0.08089003711938858, -0.3725471794605255, -0.9934952855110168, 0.255717933177948, 0.20159094035625458, 0.1572975218296051, -0.6814302206039429, 0.9030525088310242, -0.6837975978851318, -0.2435016930103302, 0.3247832655906677, 0.467430979013443, 0.3379731774330139, -0.2369532287120819, -0.5113822817802429, 0.33662402629852295, 0.48987606167793274, -0.5608216524124146, 0.20591437816619873, 0.8209074139595032, -0.12220100313425064, 0.5891357660293579, -0.04231306537985802, -0.33762043714523315, -0.01582363247871399, 0.39098700881004333, 0.7463130950927734, -0.733814001083374, -0.3350256681442261, -0.482521653175354, 0.6100418567657471, -0.10139589011669159, -0.34649258852005005, 0.7602189779281616, 0.39473408460617065, 0.5960685014724731, -0.06640945374965668, 0.7305641770362854, -0.12051983922719955, 0.5596780180931091, -0.21967396140098572, 0.18823744356632233, -0.6607476472854614, 0.23547986149787903, -0.45423033833503723, -0.6452401876449585, 0.34548166394233704, 0.5370352268218994, -0.3962859809398651, -0.16426344215869904, 0.9712721705436707, 0.6952735185623169, 0.37047693133354187, 0.6363371014595032, 0.30197733640670776, 0.06515634804964066, 0.29074952006340027, 0.906491219997406, 0.971859872341156, -0.5479556322097778, 0.45642393827438354, -0.4074980318546295, -0.10061943531036377, -0.3257567584514618, -0.9348433613777161, -0.6140044927597046, -0.8336001038551331, -0.7789924144744873, -0.16333769261837006, -0.0691731721162796, 1.0783665180206299, 0.2598491609096527, -1.1210870742797852, -0.020537087693810463, -0.07275283336639404, 0.04272736236453056, -0.04220390319824219, -0.23916642367839813, -0.16552352905273438, -0.12598241865634918, -0.990541934967041, 0.2873859107494354, 0.7996682524681091, -0.12655235826969147, 0.08172950893640518, -0.34692612290382385, -0.32066524028778076, 0.24845969676971436, 0.44455522298812866, 0.26406270265579224, -0.35952088236808777, -0.46161946654319763, 0.36070430278778076, -0.1500874161720276, -0.30028051137924194, 0.997774600982666, -0.5889246463775635, 0.50543612241745, 1.0033013820648193, 0.6562022566795349, 0.6261253952980042, 0.041752368211746216, 0.7364057898521423, -0.37125375866889954, -0.07918142527341843, 0.5415470004081726, 0.42582497000694275, 0.21840974688529968, -0.23868504166603088, 0.9967539310455322, 0.46087703108787537, -0.8856425285339355, -0.9796746373176575, 0.13090673089027405, -0.9026620984077454, 0.2443830966949463, 1.2872689962387085, -0.22077523171901703, -0.1084790825843811, -0.016211675480008125, -0.31990182399749756, 0.11210861057043076, -0.4324326515197754, 0.31550347805023193, 1.0775563716888428, -0.6667741537094116, -0.592065691947937, -0.36308029294013977, 0.6113747954368591, 0.8676721453666687, -1.007912039756775, -0.1639597862958908, 0.40438112616539, -0.1537695825099945, 0.147665873169899, 0.5484926700592041, -0.06702478229999542, 0.23220963776111603, -0.08946691453456879, 0.2882641851902008, 0.15156258642673492, -0.2940692603588104, -0.4151705205440521, -0.20828206837177277, -0.5278257131576538, -0.027299853041768074 ]
http://arxiv.org/abs/2402.18923v1
http://arxiv.org/pdf/2402.18923v1
Inappropriate Pause Detection In Dysarthric Speech Using Large-Scale Speech Recognition
2024-02-29T07:29:42
2024-02-29T07:29:42
Jeehyun Lee, Yerin Choi, Tae-Jin Song, Myoung-Wan Koo
cs.CL
cs.CL, cs.SD, eess.AS
Dysarthria, a common issue among stroke patients, severely impacts speech intelligibility. Inappropriate pauses are crucial indicators in severity assessment and speech-language therapy. We propose to extend a large-scale speech recognition model for inappropriate pause detection in dysarthric speech. To this end, we propose task design, labeling strategy, and a speech recognition model with an inappropriate pause prediction layer. First, we treat pause detection as speech recognition, using an automatic speech recognition (ASR) model to convert speech into text with pause tags. According to the newly designed task, we label pause locations at the text level and their appropriateness. We collaborate with speech-language pathologists to establish labeling criteria, ensuring high-quality annotated data. Finally, we extend the ASR model with an inappropriate pause prediction layer for end-to-end inappropriate pause detection. Moreover, we propose a task-tailored metric for evaluating inappropriate pause detection independent of ASR performance. Our experiments show that the proposed method better detects inappropriate pauses in dysarthric speech than baselines. (Inappropriate Pause Error Rate: 14.47%)
[ -0.5174948573112488, -0.9182922840118408, 0.41967707872390747, 0.06938916444778442, -0.1771048903465271, 0.2344643771648407, -0.19464439153671265, -0.6976770758628845, 0.36311545968055725, 0.23979899287223816, -0.3633367717266083, -0.03750288113951683, -0.9035419225692749, -0.06770189851522446, -0.27658286690711975, 0.4997750222682953, -0.2633344531059265, 0.16431283950805664, 0.19004777073860168, -0.15802548825740814, -1.0398969650268555, -0.049438755959272385, -0.7689175009727478, -0.4738318622112274, 0.33855801820755005, 0.48940885066986084, 0.6346498131752014, 0.8085318207740784, 0.09706500917673111, 0.3040834963321686, -0.7340669631958008, -0.007490579970180988, -0.04872085899114609, 0.5733364820480347, 0.3672058880329132, 0.40490055084228516, -0.7949708700180054, 0.013943926431238651, 0.8991178274154663, 0.7202803492546082, -0.14262419939041138, 0.05164823308587074, 0.08421670645475388, 0.41086485981941223, -0.23745426535606384, 0.10381416976451874, -0.10871485620737076, 0.22615599632263184, -0.4858545660972595, -0.3624269664287567, -0.30433058738708496, -0.12812571227550507, 0.12526628375053406, -0.35421839356422424, -0.19163009524345398, 0.08181773126125336, 0.35529565811157227, 0.503925085067749, 0.1692313253879547, -0.3220972716808319, -0.7184070348739624, 0.2378879338502884, -0.5671164393424988, 0.587675154209137, 0.9358458518981934, 0.48514223098754883, -0.14722098410129547, -0.4585590660572052, -0.6379594802856445, -0.5127619504928589, 0.34225785732269287, -0.0872613936662674, -0.4063093364238739, 0.13950926065444946, 0.4208328425884247, 0.1278851330280304, -0.5986555814743042, 0.8768174052238464, -0.5738770365715027, -0.3544105589389801, 0.6579278707504272, 0.3042412996292114, 0.5624557733535767, 0.02488395944237709, 0.027613122016191483, 0.42441534996032715, -0.3644351065158844, 0.25062230229377747, 0.31246116757392883, 0.6240595579147339, 0.22088514268398285, 0.5840913653373718, -0.2411162257194519, 0.8204206824302673, 0.3276841640472412, -0.41190105676651, 0.26635637879371643, 0.517389178276062, 0.12487614154815674, 0.6760086417198181, 0.270381897687912, 0.22395166754722595, 0.1990763396024704, -0.33470433950424194, 0.07023375481367111, -0.013495054095983505, 0.18621915578842163, -0.5110059380531311, -0.42096859216690063, 0.701346218585968, -0.322435200214386, -0.04164597764611244, -0.5443693399429321, -0.4761808216571808, -0.4413842260837555, -0.6233373284339905, 0.31398236751556396, -0.4856095016002655, -0.39385220408439636, 0.11965440958738327, -0.17297151684761047, -0.2839943468570709, 0.0624268464744091, -0.7183291912078857, 0.4593321681022644, 0.21930544078350067, 0.9116982817649841, -0.41504594683647156, -0.6308020949363708, -1.0428346395492554, 0.1974555402994156, -0.11815019696950912, 0.5825237035751343, -0.5861660242080688, -0.6665006279945374, -0.1886158585548401, 0.10571594536304474, 0.014186911284923553, -0.2868104577064514, 0.5405008792877197, -0.35395288467407227, -0.26665276288986206, -0.14569814503192902, -0.6489869952201843, -0.09500999748706818, 0.05467744544148445, -0.8814146518707275, 0.6641210913658142, -0.2151869386434555, -1.045886754989624, 0.5980178713798523, -0.6969983577728271, -0.615665853023529, 0.4231118857860565, 0.06850673258304596, -0.5322276949882507, -0.22770105302333832, 0.19879315793514252, 0.2498844563961029, 0.05405113101005554, 0.32469964027404785, -0.13704301416873932, -0.7107502222061157, 0.41032490134239197, -0.5498815178871155, 0.6089106202125549, 0.16777460277080536, -0.33529961109161377, 0.10681894421577454, -0.7256426811218262, 0.18439309298992157, -0.29773208498954773, -0.4152291417121887, -0.35155490040779114, 0.10826172679662704, 0.3609848916530609, 0.2660349905490875, -0.1867104023694992, -0.8253884315490723, -0.09169889986515045, -0.11108428239822388, 0.5441017746925354, 0.6100966930389404, -0.15562111139297485, -0.012412788346409798, -0.5269344449043274, 0.5789198875427246, -0.17353151738643646, 0.0061867316253483295, 0.15192782878875732, -0.40647387504577637, -0.15677271783351898, -0.7099800705909729, 0.2854568660259247, 0.4878869652748108, -0.4491818845272064, 0.7774209976196289, -0.2677805721759796, -0.2621285915374756, -0.3187318742275238, -0.5751953721046448, 0.2389824390411377, 0.9719036221504211, 0.709902286529541, 0.013043180108070374, -0.42330291867256165, -0.26799097657203674, -0.22124752402305603, 0.017398657277226448, 0.2671235501766205, 0.1987869143486023, 0.323926717042923, -0.20518885552883148, 0.9695572853088379, -0.2584702670574188, -0.6230986714363098, -0.22751350700855255, 0.21863214671611786, -0.006447791587561369, 0.5534150004386902, -0.09939957410097122, -0.639371931552887, -0.35680967569351196, 0.059868667274713516, -0.4001370072364807, -0.15330255031585693, 0.2133718580007553, 0.5752051472663879, 0.22202563285827637, 0.6624400615692139, -0.2806617319583893, 0.5956941843032837, 0.19995084404945374, -0.3227004408836365, 0.6197046041488647, -0.3329688608646393, 0.20551736652851105, -0.6549537181854248, 0.3120608329772949, -0.3824533224105835, -0.07122568041086197, -0.6777891516685486, -0.6065734624862671, -0.1686469465494156, -0.3352990448474884, -0.264286607503891, 0.46771320700645447, -0.41600874066352844, 0.12376352399587631, -0.4853111207485199, 0.2420847862958908, -0.03414822369813919, -0.14197002351284027, 0.26131367683410645, 0.4696495532989502, 0.6846669912338257, -0.424562007188797, 0.1866251528263092, 0.5968438386917114, -0.18219932913780212, 0.6988498568534851, -0.7237843871116638, 0.012908424250781536, -0.16803131997585297, 0.41997188329696655, -1.1880054473876953, -0.49664756655693054, 0.07092217355966568, -0.6057690978050232, 0.9009369611740112, -0.2191258668899536, -0.07288680225610733, -0.9446942210197449, -0.25243231654167175, 0.5156508684158325, 0.24531523883342743, -0.5118575692176819, 0.10907313227653503, 0.9114375710487366, -0.44591429829597473, -0.5608212351799011, -1.0789775848388672, 0.14058806002140045, -0.4745294749736786, -0.6223924160003662, 0.5539336204528809, -0.0790034607052803, 0.23583467304706573, -0.04951769486069679, -0.25895705819129944, -0.3741263151168823, -0.2140352874994278, 0.41162750124931335, 0.03673817962408066, 0.12154076993465424, 0.25339818000793457, 0.3252905607223511, -0.23701263964176178, -0.17189782857894897, 0.07912923395633698, 0.5241537690162659, 0.27343684434890747, -0.35310429334640503, -1.1048816442489624, 0.3506285548210144, 0.7864589691162109, -0.16511861979961395, -0.026975927874445915, 0.6324847936630249, -0.8149769902229309, 0.144524484872818, -0.492051362991333, -0.25325465202331543, -0.3781646192073822, 0.3132196366786957, -0.24359630048274994, -0.8922318816184998, 0.7643495202064514, 0.09396050870418549, -0.4517838954925537, -0.010134889744222164, 0.42694559693336487, -0.0025358491111546755, 1.0396441221237183, 0.22652499377727509, -0.29513347148895264, 0.18222635984420776, 0.02477050945162773, 0.22541958093643188, -1.2079004049301147, -0.04396558925509453, -0.49778321385383606, -0.28859856724739075, -0.4474281966686249, -0.24863484501838684, 0.3665512204170227, 0.03092869557440281, -0.3005615472793579, 0.04112473502755165, -0.8615459203720093, 0.45222556591033936, -0.18909646570682526, 0.30163291096687317, 0.16950277984142303, -0.032207392156124115, 0.11208640784025192, -0.39607083797454834, -0.5423836708068848, -0.10501638054847717, 0.4721137285232544, 0.6009888648986816, 0.8707658648490906, -0.11535178124904633, 0.5618345141410828, 0.5914188027381897, -0.1274024397134781, -1.0158131122589111, -0.05413007363677025, -0.16314736008644104, -0.32003095746040344, -0.9116629958152771, -0.1313801258802414, -1.0995200872421265, -0.18555186688899994, 0.43980586528778076, -1.2319766283035278, 0.37180906534194946, 0.11206132918596268, -0.7034471035003662, 0.15574663877487183, -0.19539080560207367, 0.667884886264801, -0.26195964217185974, -0.160172238945961, 0.16471247375011444, -0.689520001411438, 0.317996084690094, 0.1785746067762375, 0.33517178893089294, -0.3497125804424286, 0.03690255433320999, 0.8901543617248535, -0.37524184584617615, 0.727284848690033, -0.46719008684158325, 0.1492188572883606, 0.21874822676181793, 0.21103928983211517, 0.40598657727241516, -0.1458759307861328, -0.1009589359164238, 0.037215713411569595, -0.10443806648254395, 0.03288676217198372, 0.20153534412384033, 0.8074930310249329, -0.28085625171661377, -0.09656915068626404, -0.7477307319641113, -0.8554250001907349, -0.48822611570358276, -0.030050303786993027, 0.292770653963089, 0.6763665080070496, -0.2107359617948532, -0.14846253395080566, 0.5986028909683228, -0.07996298372745514, 0.5657248497009277, 0.5995339751243591, 0.09303182363510132, -0.27129238843917847, 1.0378540754318237, 0.8099245429039001, -0.11728312820196152, -0.211069256067276, 0.5564030408859253, -0.6518938541412354, -0.8209074139595032, -0.4918839931488037, -0.02982647716999054, -0.5445910692214966, -0.20533759891986847, -0.6628254055976868, -0.38882771134376526, -0.39166414737701416, -0.11580398678779602, -0.0253671295940876, -0.2886704206466675, -0.366355836391449, -0.1147928237915039, 0.7586919665336609, 0.5530194044113159, -0.39431148767471313, 0.1347973495721817, -0.7387868165969849, 0.2834087610244751, 0.17460019886493683, 0.5063539147377014, 0.19240570068359375, -1.036208987236023, 0.20487827062606812, -0.15037252008914948, -0.09930220246315002, -0.8141947984695435, 0.4378601908683777, 0.24778787791728973, 0.6746346354484558, 0.1488751322031021, 0.3473793566226959, 0.8635657429695129, -0.7814921736717224, 0.5515892505645752, 0.33211344480514526, -1.0983580350875854, 0.5936451554298401, -0.4766788184642792, 0.397296279668808, 0.43031713366508484, 0.46990668773651123, -0.6822954416275024, -0.3591783940792084, -0.47539210319519043, -1.1481224298477173, 0.8899999856948853, -0.1307768076658249, -0.332527756690979, -0.19689078629016876, 0.03442268818616867, 0.10620814561843872, -0.21067175269126892, -0.2905299961566925, 0.15331149101257324, 0.09619862586259842, 0.16175134479999542, 0.30188795924186707, -0.27246901392936707, -0.25282517075538635, -0.3650631308555603, 0.19182465970516205, -0.09122724086046219, 0.0868540108203888, 0.2557474970817566, -0.07055261731147766, -0.38426724076271057, 0.0683356374502182, 0.5607677698135376, 0.9699399471282959, -0.08128253370523453, -0.09772231429815292, 0.37626776099205017, -0.6549555659294128, 0.28389883041381836, 0.6881211996078491, 0.1541760265827179, 0.14968407154083252, 0.16451981663703918, 0.6433084607124329, -0.053273674100637436, -0.6930201649665833, 0.5154467821121216, 0.12542182207107544, 0.03572152927517891, -0.44096168875694275, -0.43971556425094604, 0.268353670835495, 0.2809445858001709, 0.042571377009153366, -0.2556302547454834, 0.5204278230667114, 0.03411685302853584, 0.7043675184249878, 0.13351783156394958, -0.6473817825317383, -0.053855665028095245, 0.8644723296165466, 0.052872464060783386, -0.3547825217247009, 0.29476502537727356, -0.08187859505414963, -0.5557539463043213, 0.490473210811615, 0.5633322596549988, 0.758292019367218, -0.7328537106513977, 0.180026575922966, 0.09370552003383636, 0.03208288922905922, -0.09108740836381912, 0.6382021903991699, -0.1527019888162613, -0.15015056729316711, -0.523330569267273, -0.3247373104095459, -0.369180291891098, 0.09993623942136765, -0.8883233070373535, 0.33082062005996704, -0.34498918056488037, -0.33180177211761475, 0.3671417832374573, -0.24378806352615356, -0.11983776092529297, 0.26835185289382935, 0.16853471100330353, 0.7169073820114136, -0.6110089421272278, 0.9424335360527039, 0.22784508764743805, -0.34364593029022217, -0.5573869347572327, 0.26813364028930664, 0.09254616498947144, -0.7215350270271301, 0.5887619853019714, 0.5264613032341003, -0.3554646670818329, -0.3243683874607086, -0.03141647204756737, -0.7723401784896851, 0.9837777018547058, 0.047263968735933304, -0.6789959669113159, 0.35189294815063477, -0.04038555547595024, 0.37855440378189087, 0.07385405153036118, -0.22387707233428955, 0.8499687910079956, 0.5467193126678467, 0.3157224655151367, -1.251909852027893, 0.15389324724674225, 0.16346777975559235, -0.05568651854991913, 0.15406161546707153, -0.3508521318435669, 0.6645026803016663, -0.1565890908241272, -0.06189124286174774, 0.2191591113805771, 0.03443382307887077, 0.4285088777542114, 0.5971531271934509, 0.5416305065155029, 0.38314178586006165, 1.0757074356079102, -0.03389276936650276, 0.7820315957069397, -0.099851094186306, 0.07703148573637009, 1.0495827198028564, -0.4373936355113983, 0.9478882551193237, 0.2514042854309082, 0.0289811659604311, -0.2898961305618286, 0.7951173782348633, 0.43624308705329895, 0.21472959220409393, 0.5673768520355225, -0.2699258029460907, -0.04535829648375511, -0.31605443358421326, -0.6824337244033813, 0.7491438388824463, 0.6258703470230103, -0.1577167958021164, -0.008429265581071377, 0.32321491837501526, 0.42439261078834534, 0.008853224106132984, -0.2434503734111786, 0.4185655415058136, -0.30395179986953735, -0.49634063243865967, 0.9247890114784241, -0.40719202160835266, 0.45910540223121643, -0.30140256881713867, 0.056569118052721024, 0.2468685358762741, 0.0586058646440506, -0.2504952549934387, -0.8859124779701233, 0.558134913444519, 0.026700973510742188, -0.20049625635147095, -0.09819404035806656, 0.6277304291725159, -0.5627794861793518, -0.30526673793792725, 0.3890686333179474, 0.1741032749414444, 0.32884687185287476, -0.012832819484174252, -0.36464929580688477, 0.4222772419452667, -0.35530945658683777, -0.029995404183864594, 0.4041594862937927, 0.27762237191200256, -0.09064541757106781, 0.4188658893108368, 0.5046658515930176, 0.1545887589454651, -0.13470908999443054, 0.060797978192567825, 1.0116474628448486, -0.38637736439704895, -0.7630721926689148, -0.6137246489524841, 0.5350595116615295, -0.33426302671432495, -0.6122666001319885, 0.32179516553878784, 0.10147693008184433, 0.0869714692234993, 0.3506612777709961, 0.4796193838119507, -0.19879379868507385, 0.8391024470329285, -0.38423335552215576, 0.9878877401351929, -0.47669583559036255, -0.06745632737874985, -0.2678191363811493, -0.441679984331131, -0.5546237230300903, 0.6744388937950134, -0.28963157534599304, 0.09648668766021729, 0.5388138890266418, 0.44391167163848877, -0.008974271826446056, 0.11136143654584885, 0.45848339796066284, 0.3933950364589691, 0.2650546133518219, 0.20001168549060822, 0.7825565934181213, 0.040561825037002563, 0.3720413148403168, -0.042296890169382095, -0.5831767320632935, -0.28700947761535645, -0.8928502202033997, -0.5641278624534607, -0.44180846214294434, -0.5035516619682312, -0.43494340777397156, 0.22091172635555267, 0.6584992408752441, 0.8632363080978394, -0.6652577519416809, -0.13488447666168213, 0.03834858909249306, -0.009915309958159924, -0.4234057366847992, -0.15948143601417542, 0.6556558012962341, -0.3127225339412689, -0.4895833730697632, 0.7885763645172119, 0.40133804082870483, 0.10346683859825134, -0.10949448496103287, -0.1867479532957077, -0.2209460437297821, -0.3917534649372101, 0.5471042990684509, 0.6757819652557373, -0.7851759791374207, -0.4219500720500946, -0.16323360800743103, 0.2848399579524994, -0.11149526387453079, 0.8423539996147156, -0.49611416459083557, 0.7894873023033142, 0.4232619106769562, 0.7370837330818176, 0.46654170751571655, -0.17045600712299347, 0.0945800319314003, -0.46641236543655396, 0.25104403495788574, 0.8037680387496948, 0.3034047484397888, 0.42002102732658386, -0.3641969859600067, 0.008467316627502441, 0.017206933349370956, -0.8393547534942627, -1.05955970287323, 0.08534161001443863, -0.9962849020957947, -0.11778996139764786, 0.9136340022087097, -0.25550320744514465, 0.12811194360256195, -0.7200664281845093, -0.5483918190002441, 0.04072928801178932, -0.4373199939727783, 0.9221961498260498, 0.6501901149749756, -0.7545203566551208, 0.12245585769414902, -0.6400813460350037, 0.6307570934295654, 0.020496102049946785, -0.36529314517974854, 0.4422144591808319, 0.5022767782211304, 0.270449697971344, 0.19354844093322754, 0.6473564505577087, -0.11754544079303741, 0.5983617305755615, 0.14015547931194305, -0.36978811025619507, -0.32772544026374817, -0.4073587954044342, -0.6088116765022278, -0.0363318957388401, 0.31723374128341675, -0.7476194500923157 ]
http://arxiv.org/abs/2402.18913v1
http://arxiv.org/pdf/2402.18913v1
AdaMergeX: Cross-Lingual Transfer with Large Language Models via Adaptive Adapter Merging
2024-02-29T07:11:24
2024-02-29T07:11:24
Yiran Zhao, Wenxuan Zhang, Huiming Wang, Kenji Kawaguchi, Lidong Bing
cs.CL
cs.CL, cs.AI
As an effective alternative to the direct fine-tuning on target tasks in specific languages, cross-lingual transfer addresses the challenges of limited training data by decoupling ''task ability'' and ''language ability'' by fine-tuning on the target task in the source language and another selected task in the target language, respectively. However, they fail to fully separate the task ability from the source language or the language ability from the chosen task. In this paper, we acknowledge the mutual reliance between task ability and language ability and direct our attention toward the gap between the target language and the source language on tasks. As the gap removes the impact of tasks, we assume that it remains consistent across tasks. Based on this assumption, we propose a new cross-lingual transfer method called $\texttt{AdaMergeX}$ that utilizes adaptive adapter merging. By introducing a reference task, we can determine that the divergence of adapters fine-tuned on the reference task in both languages follows the same distribution as the divergence of adapters fine-tuned on the target task in both languages. Hence, we can obtain target adapters by combining the other three adapters. Furthermore, we propose a structure-adaptive adapter merging method. Our empirical results demonstrate that our approach yields new and effective cross-lingual transfer, outperforming existing methods across all settings.
[ -0.38552770018577576, -0.5113458037376404, 0.3598513603210449, 0.16761787235736847, -0.036709170788526535, 0.14670448005199432, -0.48849058151245117, -0.7915832996368408, 0.1694297343492508, 0.17929810285568237, -0.37091004848480225, -0.03919050469994545, -0.7955910563468933, 0.18115617334842682, -0.26610279083251953, 0.6598788499832153, -0.4858657717704773, -0.20053699612617493, -0.06377441436052322, -0.25159311294555664, -0.707527220249176, 0.15736092627048492, -0.8787862062454224, -0.3066997826099396, 0.4405219554901123, 0.5146260261535645, 0.4871530532836914, 0.5184051394462585, 0.38887521624565125, 0.3215896487236023, -0.10931454598903656, 0.0723365917801857, -0.33582010865211487, -0.19284994900226593, -0.8927203416824341, -0.5552348494529724, -0.37418586015701294, -0.33690711855888367, 0.8906028270721436, 0.9226649403572083, 0.02372349239885807, 0.1816883087158203, 0.3617252707481384, 0.6402589678764343, -0.7400112748146057, 0.1386093944311142, -0.5578400492668152, 0.2858349680900574, -0.08118981122970581, -0.022199230268597603, -0.24506652355194092, -0.015313333831727505, 0.08251029998064041, -0.6968219876289368, -0.08124072104692459, 0.16800695657730103, 0.6044290065765381, 0.14571401476860046, -0.30154016613960266, 0.14777354896068573, -0.9636998772621155, 0.7585024833679199, -0.6558837294578552, 0.6730237603187561, 0.09517824649810791, 0.2987314462661743, 0.3084777295589447, -0.4312828779220581, -0.5520777702331543, -0.020944710820913315, 0.07559780776500702, -0.016374461352825165, -0.620093822479248, -0.2912222445011139, -0.030329832807183266, 0.20146533846855164, -0.4958651661872864, -0.0044213514775037766, -0.5833415389060974, -0.05958274379372597, 0.5674670934677124, -0.2558740973472595, 0.717367947101593, 0.4008632302284241, -0.47180038690567017, -0.27419334650039673, -0.49016398191452026, 0.09263304620981216, 0.13399013876914978, 0.4368947446346283, -0.0972345843911171, 0.30908337235450745, -0.2097722440958023, 0.7501873970031738, 0.41311895847320557, -0.06843457370996475, 0.2195480912923813, -0.5495259761810303, -0.033075202256441116, 0.4085414409637451, 0.6274698376655579, 0.35512301325798035, 0.39323607087135315, -0.6159577369689941, 0.06932050734758377, -0.1942177265882492, 0.22835072875022888, -0.5148469805717468, -0.09467338770627975, -0.34795472025871277, -0.3947713077068329, 0.12008928507566452, -0.2605774998664856, -0.5753275156021118, 0.19904844462871552, -0.3252910077571869, 0.5337058305740356, -0.32656869292259216, -0.5538172721862793, 0.0979214683175087, 0.03624144196510315, 0.09636000543832779, 0.2759505808353424, -0.9860209226608276, 0.42403554916381836, 0.39319920539855957, 0.6776496767997742, -0.6099066138267517, -0.6522147059440613, -0.6800496578216553, 0.32596561312675476, -0.4888269901275635, 0.8779311180114746, -0.5380948781967163, 0.008270631544291973, 0.12544360756874084, 0.3707071542739868, -0.5789422988891602, -0.5445407629013062, 0.3292316496372223, -0.42065665125846863, 0.1952306479215622, -0.24993227422237396, -0.35522449016571045, -0.575028121471405, 0.3543376922607422, -0.5214964151382446, 0.77885901927948, 0.465779572725296, -0.5094138383865356, 0.30426740646362305, -0.5456797480583191, -0.7344088554382324, 0.175024151802063, 0.2063218653202057, 0.040516447275877, 0.035282719880342484, 0.23905159533023834, 0.34192341566085815, -0.2600295841693878, -0.07813383638858795, -0.21096067130565643, -0.31304770708084106, -0.13936077058315277, -0.05555260553956032, 0.6603839993476868, 0.12320578098297119, -0.43344876170158386, 0.0856337621808052, -0.6118618249893188, -0.03292001411318779, 0.05522114038467407, -0.48069027066230774, -0.7191413640975952, -0.09913589060306549, 0.2737713158130646, 0.3856443464756012, 0.3668462336063385, -0.5118464231491089, 0.13268616795539856, -0.4591432511806488, 0.2341986894607544, 0.4708828032016754, -0.47376424074172974, 0.960956335067749, -0.3718242943286896, 0.6341073513031006, -0.006932033691555262, -0.1319112777709961, 0.14851927757263184, -0.18916349112987518, -0.7386821508407593, 0.2752975523471832, 0.5715470910072327, 0.8162432312965393, -1.072421908378601, 0.3875504434108734, -0.5801023840904236, -0.3765231966972351, -0.4958723187446594, 0.4769695997238159, 0.48865434527397156, 0.4142417907714844, 0.4040742516517639, -0.6443957090377808, -0.31193098425865173, -0.8043513894081116, -0.4491972327232361, -0.09703394770622253, 0.14131785929203033, 0.2519437074661255, -0.06852541863918304, -0.05155492201447487, 0.5486981272697449, -0.22235648334026337, -0.367449551820755, -0.4971153438091278, -0.048088036477565765, -0.042224589735269547, 0.7529488205909729, 0.8093379139900208, -0.48308756947517395, -0.8217995166778564, 0.7533038258552551, -0.4839426279067993, -0.14156869053840637, -0.1401330679655075, -0.299268513917923, 0.2927186191082001, 0.7924319505691528, -0.13259460031986237, -0.131658136844635, 0.8977680206298828, -0.5894545912742615, 0.12646256387233734, -0.16330288350582123, 0.3393084704875946, -1.403161883354187, 0.19834311306476593, -0.04288067668676376, -0.4345152676105499, -0.6349245309829712, 0.06416942179203033, 0.07734505087137222, 0.1682755947113037, -0.7949426770210266, 0.8956590890884399, -0.4763042628765106, 0.052847910672426224, -0.45699891448020935, 0.06586511433124542, -0.2736378610134125, 0.50847989320755, -0.15010379254817963, 0.6573526859283447, 0.7208757400512695, -0.3675083816051483, 0.2839541733264923, 0.47502386569976807, -0.16028818488121033, 0.9237350821495056, -0.34983474016189575, 0.09561138600111008, 0.08579594641923904, -0.07674255967140198, -0.945290744304657, 0.23155577480793, 0.48634836077690125, -0.15142464637756348, 0.510012686252594, -0.43337640166282654, 0.04893959313631058, -0.09367897361516953, 0.12105713784694672, 0.722698450088501, 0.39993423223495483, -0.455623060464859, 0.94926518201828, 0.0613500215113163, -0.6999073624610901, -0.44701746106147766, -0.8487200140953064, 0.23303429782390594, -0.2016095370054245, -0.7618405222892761, 0.5315501093864441, -0.14792977273464203, -0.00820603035390377, 0.3833249509334564, -0.2753290832042694, -0.021687353029847145, -0.2724866271018982, -0.13797831535339355, 0.3150600492954254, -0.40562519431114197, -0.33925026655197144, 0.4603131115436554, -0.11127287894487381, -0.029131099581718445, -0.4318564236164093, 0.25449061393737793, 0.25602132081985474, -0.283403217792511, -0.1200357973575592, 0.5227659344673157, 0.6512991786003113, -0.19136942923069, 0.6568787097930908, 0.8307103514671326, -0.28598371148109436, -0.15756076574325562, -0.6194406747817993, 0.07054445892572403, -0.3910830020904541, 0.4966963529586792, -0.5666956901550293, -1.0528451204299927, 0.6049620509147644, -0.22521144151687622, 0.2658381462097168, 0.5191939473152161, 0.26219111680984497, 0.47171932458877563, 1.0574015378952026, 0.987755298614502, -0.18533937633037567, 0.8341786861419678, 0.1152472048997879, 0.2763076722621918, -1.0220364332199097, 0.059629183262586594, -0.41180410981178284, -0.5522005558013916, -0.36671677231788635, -0.39772653579711914, 0.028928395360708237, -0.007245661225169897, 0.016954325139522552, 0.6642324328422546, -0.33365511894226074, 0.4737623929977417, 0.5352799892425537, -0.15456776320934296, 0.2955021560192108, 0.1901862472295761, -0.1669427752494812, 0.0646999403834343, -0.9606425166130066, 0.1745186299085617, 0.8458799719810486, 0.11466656625270844, 0.730606734752655, 0.15495063364505768, 0.4088861644268036, 0.08118147403001785, 0.023961113765835762, -0.6215391159057617, 0.5109137892723083, -0.511322021484375, -0.2939290702342987, -0.20362108945846558, -0.48372042179107666, -1.0485589504241943, 0.3018189072608948, -0.35028430819511414, -0.8396506905555725, 0.5524629354476929, 0.05649878829717636, -0.19696664810180664, 0.5014953017234802, -0.667796790599823, 0.9501986503601074, -0.03838523477315903, -0.5794715285301208, -0.30673947930336, -0.6416075825691223, 0.16606053709983826, -0.17072159051895142, 0.2601017653942108, -0.1855211853981018, 0.15345196425914764, 0.8575284481048584, 0.2109253704547882, 0.5898051857948303, 0.003316409420222044, -0.33420222997665405, -0.1264074593782425, 0.45708146691322327, 0.6360278129577637, -0.3218182921409607, 0.26621368527412415, 0.2391546070575714, 0.12542898952960968, -0.33900347352027893, -0.45952507853507996, 0.7771348357200623, -0.7045031189918518, -0.45213040709495544, -0.14552666246891022, -0.9377539157867432, -0.28441837430000305, 0.5286263823509216, -0.11569522321224213, 0.12739834189414978, -0.17773209512233734, -0.07060183584690094, 0.2756788432598114, 0.08524026721715927, 0.508377730846405, 0.785383403301239, -0.14499416947364807, -0.371905654668808, 1.0300837755203247, 0.04753781110048294, 0.44149789214134216, 0.4812469482421875, 0.0818653553724289, -0.21448001265525818, -0.7072010636329651, -0.6848524212837219, 0.27703845500946045, -0.6478523015975952, -0.03533264994621277, -0.4250379502773285, -0.18573245406150818, -0.4076123535633087, -0.4972849488258362, -0.45353901386260986, -0.3047068417072296, -0.021141165867447853, 0.37680816650390625, 0.11402243375778198, 0.4628947675228119, -0.19694742560386658, 0.09608674794435501, -1.1447619199752808, 0.17710579931735992, 0.5347963571548462, 0.386352002620697, -0.07057173550128937, -0.7224275469779968, -0.3767712414264679, -0.05080653727054596, -0.0261271633207798, -0.5496357679367065, 0.3171319365501404, 0.24105195701122284, 0.6322391033172607, 0.23772288858890533, -0.08641660958528519, 0.611297070980072, -0.7619350552558899, 0.47142910957336426, 0.3504874110221863, -0.9643917083740234, 0.330072283744812, -0.14947587251663208, 0.4897279739379883, 0.6274864077568054, 0.1458507627248764, -0.6989867687225342, -0.3183296322822571, -0.4728664457798004, -1.0307673215866089, 1.0717840194702148, 0.06968146562576294, 0.08470018953084946, 0.29805275797843933, 0.10800479352474213, 0.004778100177645683, -0.1657167375087738, -0.5917788743972778, 0.027873927727341652, 0.163935124874115, -0.28509286046028137, -0.2546876072883606, 0.16341759264469147, -0.3115439713001251, -0.3933945894241333, 0.7119278311729431, -0.41405433416366577, -0.05898159742355347, 0.11934664100408554, -0.30538052320480347, -0.6606278419494629, 0.42594772577285767, 0.38100242614746094, 0.7744579315185547, 0.06827546656131744, 0.26856473088264465, 0.6823431849479675, -0.47307100892066956, 0.20489968359470367, 0.6395547389984131, -0.031119192019104958, -0.15291497111320496, 0.4031432867050171, 0.8943514823913574, 0.3982563018798828, -0.6776977777481079, 0.3571547269821167, -0.07135772705078125, -0.5262802243232727, 0.057476893067359924, 0.23192282021045685, 0.2010226845741272, 0.6611484885215759, 0.13565486669540405, 0.49138009548187256, 0.1377796083688736, -0.4490724503993988, 0.06849916279315948, 0.3749263882637024, -0.5650048851966858, -0.3678898513317108, 0.7485772967338562, 0.23935900628566742, -0.20112919807434082, 0.2703434228897095, -0.05195214971899986, -0.3739495277404785, 0.32644644379615784, 0.9525713324546814, 0.9851700663566589, -0.6597504615783691, -0.17189225554466248, 0.3422184884548187, 0.3488142490386963, -0.2457270324230194, 0.07301197201013565, -0.15786349773406982, -0.8311842083930969, -0.9976765513420105, -0.585366427898407, -0.2500961422920227, -0.2636027932167053, -0.6101077198982239, 0.03571190685033798, 0.09002747386693954, 0.3132295310497284, -0.051975224167108536, -0.33491814136505127, -0.5578914880752563, -0.056817952543497086, 0.3107355535030365, 0.9477418065071106, -1.1275690793991089, 0.6285166144371033, 1.1175469160079956, 0.06440944224596024, -0.9077975153923035, 0.03894620016217232, -0.38687044382095337, -0.7934588193893433, 0.3926634192466736, -0.25810733437538147, -0.09964588284492493, 0.17785410583019257, 0.1542765498161316, -1.1541088819503784, 0.9363807439804077, 0.5679416060447693, -0.8792836666107178, -0.07432694733142853, 0.06538759917020798, 0.1940745860338211, -0.3259953558444977, -0.15372923016548157, 0.7161654829978943, 0.6765128374099731, 0.37700125575065613, -1.3157718181610107, 0.45906564593315125, -0.5136827230453491, 0.2132531851530075, 0.44797036051750183, -0.3644130229949951, 0.5392032861709595, 0.030071960762143135, -0.11507381498813629, -0.25327521562576294, 0.5628633499145508, -0.2107982039451599, -0.03836914896965027, 0.9481605887413025, 0.6107143759727478, 0.1362033635377884, 0.06502501666545868, 0.7747551202774048, -0.5702545642852783, 0.2466762810945511, 0.8333311676979065, -0.3075506091117859, 0.9070111513137817, 0.49136725068092346, -0.22791075706481934, 0.35333603620529175, 0.14596927165985107, 0.12830576300621033, 0.47821366786956787, -0.23144195973873138, -0.20793205499649048, -0.36570706963539124, -0.03123277798295021, -0.24812079966068268, 0.47580641508102417, -0.020615948364138603, -0.2731684148311615, -0.42217567563056946, 0.356381356716156, 0.0331258587539196, -0.052727170288562775, -0.3989686965942383, 0.9170339703559875, -0.11538062989711761, -1.0474218130111694, 0.7646544575691223, -0.08575958013534546, 0.7352913022041321, -0.6509982347488403, -0.05554956942796707, -0.010038742795586586, 0.4054188132286072, -0.09581068158149719, -0.8041568994522095, 0.6371524930000305, -0.33292415738105774, -0.03544262796640396, -0.2566455006599426, 0.952591598033905, -1.0143048763275146, -0.6725307703018188, 0.5536566376686096, 0.7161847352981567, -0.13342198729515076, -0.018296340480446815, -0.6289328336715698, 0.032368164509534836, 0.18366505205631256, 0.04618818312883377, 0.46241533756256104, 0.2855977714061737, -0.060103677213191986, 0.2385328710079193, 0.6479343771934509, 0.2862448990345001, 0.009832441806793213, -0.05120396241545677, 0.7306838631629944, -0.39644595980644226, -0.5897722244262695, -0.5447797179222107, 0.3606817126274109, 0.1741759181022644, -0.19592426717281342, 0.6090835332870483, 0.4366171658039093, 1.1423630714416504, -0.054292548447847366, 0.9038639068603516, -0.33269211649894714, 0.4098382890224457, -0.4726131558418274, 0.6400753855705261, -0.9408150315284729, -0.11879982054233551, -0.22160473465919495, -1.1982921361923218, -0.27075865864753723, 0.5500842928886414, -0.20812343060970306, 0.03033914975821972, 0.7522964477539062, 0.46945708990097046, -0.6585201621055603, -0.4324570894241333, 0.3562237620353699, 0.16646696627140045, 0.05195401608943939, 0.9562548995018005, 0.45734357833862305, -0.3993224501609802, 0.7830607295036316, -0.2641527056694031, -0.3284667730331421, -0.21994905173778534, -0.6979238390922546, -0.8855254650115967, -0.539146900177002, -0.5296437740325928, -0.2980116307735443, 0.27990350127220154, 0.7862309217453003, 0.7249144315719604, -0.9030708074569702, -0.22843945026397705, -0.2030217945575714, -0.038990121334791183, -0.8388037085533142, -0.19845739006996155, 0.3987126052379608, -0.38974571228027344, -1.1866092681884766, 0.5301182866096497, 0.3331667482852936, 0.0493256077170372, -0.0451345331966877, 0.015155657194554806, -0.28843703866004944, 0.05210474506020546, 0.5385250449180603, 0.5174313187599182, -0.5556793808937073, -0.41004976630210876, -0.016066690906882286, 0.2485770583152771, 0.10101689398288727, 0.6819676756858826, -0.6000152230262756, 0.5435140132904053, 0.6545571088790894, 0.9378212094306946, 0.43033063411712646, -0.32626399397850037, 0.6902097463607788, -0.629392683506012, 0.11488855630159378, -0.1174352765083313, 0.536637008190155, 0.3342723846435547, -0.162648007273674, 0.41741815209388733, 0.11461183428764343, -0.3316790759563446, -0.4658266007900238, -0.00005586784754996188, -1.2917609214782715, -0.43326398730278015, 1.2462221384048462, -0.10633192956447601, -0.28529706597328186, -0.17888829112052917, -0.36992645263671875, 0.49407121539115906, -0.0672401413321495, 0.7058220505714417, 0.651253342628479, 0.08190380036830902, -0.44967278838157654, -0.42016470432281494, 0.15835456550121307, 0.5807907581329346, -0.8311580419540405, 0.024817440658807755, 0.043835680931806564, 0.6233685612678528, 0.45596808195114136, 0.2874552309513092, 0.08972229808568954, 0.5350713133811951, -0.051447998732328415, 0.26463788747787476, -0.029240349307656288, -0.2474195957183838, -0.30169612169265747, 0.06160479411482811, 0.08299156278371811, -0.29512298107147217 ]
http://arxiv.org/abs/2402.18909v1
http://arxiv.org/pdf/2402.18909v1
Updating Language Models with Unstructured Facts: Towards Practical Knowledge Editing
2024-02-29T07:08:34
2024-02-29T07:08:34
Xiaobao Wu, Liangming Pan, William Yang Wang, Anh Tuan Luu
cs.CL
cs.CL, cs.AI
Knowledge editing aims to inject knowledge updates into language models to keep them correct and up-to-date. However, its current evaluation strategies are notably impractical: they solely update with well-curated structured facts (triplets with subjects, relations, and objects), whereas real-world knowledge updates commonly emerge in unstructured texts like news articles. In this paper, we propose a new benchmark, Unstructured Knowledge Editing (UKE). It evaluates editing performance directly using unstructured texts as knowledge updates, termed unstructured facts. Hence UKE avoids the laborious construction of structured facts and enables efficient and responsive knowledge editing, becoming a more practical benchmark. We conduct extensive experiments on newly built datasets and demonstrate that UKE poses a significant challenge to state-of-the-art knowledge editing methods, resulting in their critical performance declines. We further show that this challenge persists even if we extract triplets as structured facts. Our analysis discloses key insights to motivate future research in UKE for more practical knowledge editing.
[ 0.2156154215335846, -0.6527620553970337, 0.7016602754592896, -0.14331555366516113, -0.26506635546684265, 0.3426327705383301, -0.5636274814605713, -0.33573850989341736, -0.35235098004341125, 0.46806520223617554, -0.24161840975284576, -0.6683851480484009, -0.3070675730705261, 0.049899376928806305, -0.3086020052433014, 0.6899265646934509, -0.18472667038440704, -0.33230820298194885, -0.48991209268569946, -0.3473663330078125, -0.5630707740783691, -0.5321840047836304, -0.21065647900104523, -0.1350921392440796, 0.1363113969564438, 0.5353063344955444, 0.7474155426025391, 0.6802186965942383, 0.28367993235588074, 0.406021386384964, -0.513102650642395, 0.4589376747608185, -0.4264369606971741, 0.04919926077127457, -0.20963582396507263, -0.2398727983236313, -0.3362468183040619, 0.1276903748512268, 0.6184256076812744, 1.1498560905456543, -0.22755800187587738, 0.09702727943658829, 0.1871037483215332, 0.849334716796875, -0.601716160774231, 0.2846694588661194, -0.5633628964424133, -0.10233514755964279, -0.28075072169303894, 0.06426379829645157, -0.37231147289276123, -0.36383527517318726, 0.04949174448847771, -0.6890090107917786, -0.05871756002306938, -0.13227373361587524, 0.4656268358230591, 0.236934632062912, -0.3039981722831726, -0.09154729545116425, -0.6461118459701538, 0.4375632703304291, -0.6545546054840088, 0.6821832656860352, -0.16608840227127075, 0.10482992976903915, -0.497994601726532, -0.8685128092765808, -0.520586371421814, -0.1638115793466568, -0.06264089047908783, -0.055497024208307266, -0.2749462425708771, -0.06733989715576172, 0.2634405195713043, 0.20274288952350616, 0.00890504289418459, 0.0054337866604328156, -0.4827839136123657, -0.054161716252565384, 0.5692917108535767, -0.17490211129188538, 0.2007945328950882, -0.3006258010864258, -0.13025712966918945, -0.04193931818008423, -0.6096081733703613, 0.28250861167907715, 0.27737942337989807, 0.06867604702711105, 0.23621869087219238, 0.6700202822685242, -0.4589981436729431, 0.5861558318138123, -0.16090306639671326, -0.3072454333305359, 0.28915753960609436, -0.19531556963920593, -0.24911558628082275, -0.12376019358634949, 0.7878603339195251, 0.6193402409553528, 0.3588448762893677, -0.5659105181694031, -0.12207023054361343, -0.07126997411251068, 0.19196078181266785, -0.5119218230247498, -0.22406478226184845, 0.022858913987874985, -0.13983581960201263, -0.46858352422714233, 0.03836003690958023, -0.691620945930481, -0.4582732617855072, 0.0018640728667378426, 0.24715718626976013, -0.47346290946006775, 0.15411251783370972, 0.4292850196361542, -0.20074722170829773, -0.4479336440563202, 0.60579514503479, -0.5064209699630737, 0.12512806057929993, 0.48098739981651306, 0.6060853600502014, 0.0634770616889, -0.31031328439712524, -0.04363439604640007, 0.1602817177772522, -0.36102211475372314, 1.2227647304534912, -0.5396915078163147, -0.3768466114997864, -0.23059487342834473, -0.2000986933708191, 0.04912145435810089, -0.36660799384117126, 0.7641213536262512, -0.5338461995124817, 0.3011111915111542, -0.33649030327796936, -0.7948371767997742, -0.3077520728111267, 0.06608845293521881, -0.54554283618927, 1.3381975889205933, 0.24440205097198486, -0.7013967633247375, 0.5976735949516296, -1.0113775730133057, -0.28631269931793213, -0.045945893973112106, 0.08647019416093826, -0.16241449117660522, 0.18457280099391937, 0.16927476227283478, 0.2764907479286194, -0.2394130975008011, 0.5395523905754089, -0.2990545928478241, -0.2719089090824127, 0.38813138008117676, -0.4339509606361389, 0.5012035369873047, -0.0498608835041523, -0.023512404412031174, 0.1344469040632248, -1.0188320875167847, -0.10371722280979156, -0.16492320597171783, -0.5991344451904297, -0.3798771798610687, 0.3109667897224426, -0.24551089107990265, 0.14860564470291138, 0.0340144969522953, -0.975272536277771, 0.5794911980628967, -0.13304351270198822, 0.4252403974533081, 0.781424880027771, 0.07922395318746567, 0.2861536145210266, -0.3910082280635834, 0.08229205012321472, -0.06782881915569305, 0.1999371498823166, 0.23467062413692474, -0.5437635183334351, -0.37317004799842834, -0.2667543888092041, 0.8307286500930786, 0.4898325800895691, -0.6574313044548035, 0.15327797830104828, -0.5213043093681335, -0.49413710832595825, -0.6954255700111389, 0.3444039225578308, 0.19202035665512085, 0.8345420360565186, 0.42501556873321533, -0.13146336376667023, -0.6086456179618835, -0.7349720001220703, -0.8079423904418945, -0.10509466379880905, -0.20264555513858795, 0.08477818965911865, 0.2811400592327118, -0.07850611209869385, 1.0693440437316895, -0.5057541728019714, 0.028458911925554276, -0.08054459095001221, 0.3913179337978363, 0.11121934652328491, 0.29910972714424133, 0.14951790869235992, -0.5067640542984009, -0.32561972737312317, 0.09970510751008987, -0.849776566028595, -0.3196270167827606, 0.01927967183291912, 0.2817562520503998, 0.2795827388763428, 0.621909499168396, -0.5720614194869995, 0.42248183488845825, 0.2287396639585495, -0.3678137958049774, 0.42021822929382324, -0.2836754620075226, 0.501214325428009, -0.7387661933898926, 0.13503752648830414, -0.24830199778079987, -0.27999186515808105, -0.5781977772712708, 0.01014733500778675, 0.2789057493209839, 0.028037486597895622, -0.6782010793685913, 0.4754999577999115, -0.4678175747394562, 0.1421619951725006, 0.1663096696138382, 0.22719767689704895, 0.01989162154495716, 0.5200273394584656, -0.07765807956457138, 0.76227867603302, 0.22767415642738342, -0.3815448582172394, 0.31273216009140015, 0.23347774147987366, -0.8375238180160522, 0.2467011660337448, -0.43151265382766724, 0.31615352630615234, -0.12699218094348907, 0.035004276782274246, -0.5069546699523926, -0.025605935603380203, -0.19178064167499542, -0.10624008625745773, 0.23337218165397644, -0.21787221729755402, -0.6601701378822327, -0.2111908346414566, -0.7166669964790344, 0.13439911603927612, 0.4536742866039276, -0.4358128607273102, 0.34515148401260376, 0.55900639295578, -0.07619764655828476, -0.5372351408004761, -0.4142434000968933, 0.22360800206661224, 0.018437638878822327, -0.791655957698822, 0.366106778383255, -0.1124386414885521, -0.5616967082023621, 0.35715624690055847, -0.41433459520339966, -0.05450858920812607, 0.25694209337234497, -0.17915627360343933, 0.04105338454246521, -0.09929051995277405, -0.05277582257986069, -0.001032232423312962, -0.03799563646316528, -0.18026654422283173, -0.18592749536037445, -0.15597309172153473, -0.002752777887508273, -0.1003253161907196, -0.3246414363384247, 0.05532911792397499, 0.6924968361854553, -0.005937650799751282, 0.5630385279655457, 0.150448739528656, -0.38220885396003723, -0.1116054430603981, -0.6838716268539429, 0.18061544001102448, -0.4778105914592743, 0.3387798070907593, -0.4561340808868408, -0.9022523164749146, 0.2792561948299408, -0.5491053462028503, 0.2611216902732849, 0.46238774061203003, 0.06999717652797699, -0.3786959648132324, 0.739066481590271, 0.5836084485054016, 0.37958040833473206, 0.07802349328994751, 0.005356177221983671, 0.24748729169368744, -0.9664245843887329, -0.37876853346824646, -0.5355374813079834, -0.12932923436164856, -0.7436415553092957, -0.6109266877174377, 0.6080589890480042, 0.4216817617416382, 0.21600352227687836, 0.26521387696266174, -0.31096670031547546, 0.6887415647506714, 0.28552189469337463, 0.0050648716278374195, 0.6604212522506714, -0.36248987913131714, -0.23560059070587158, -0.058575134724378586, -0.7693329453468323, -0.6528539657592773, 1.2812048196792603, 0.023759251460433006, 0.47407054901123047, 0.24965623021125793, 0.1978129893541336, 0.5450816750526428, 0.3926663398742676, -0.5337488055229187, 0.4881221055984497, -0.31926944851875305, -0.2753428816795349, -0.4238545298576355, -0.47369587421417236, -0.6000275015830994, 0.2595902383327484, -0.3343632221221924, -0.7521084547042847, 0.1898012012243271, 0.09395506232976913, -0.27299439907073975, 0.6718244552612305, -0.7719283103942871, 0.9417908787727356, 0.13712938129901886, -0.31191280484199524, -0.02653774619102478, -0.29404690861701965, 0.228631392121315, -0.20651838183403015, 0.61932772397995, -0.04864615201950073, 0.05646052211523056, 0.849673330783844, -0.5766482949256897, 0.5770093202590942, -0.19588056206703186, 0.08178097754716873, 0.21997511386871338, 0.08291955292224884, 0.5239347219467163, 0.24922597408294678, -0.2638125419616699, 0.23529046773910522, 0.1728353351354599, -0.3407290577888489, -0.9642907977104187, 0.4849048852920532, -0.5238763689994812, -0.5421625375747681, -0.44452691078186035, -0.7232643365859985, -0.6632429957389832, 0.2236936241388321, -0.1217695027589798, 0.6345095634460449, -0.4015895128250122, 0.4272279143333435, 0.5091391205787659, -0.04639063775539398, 0.4327964186668396, 0.6924329996109009, 0.016849439591169357, -0.18606655299663544, 0.4583470821380615, 0.40468519926071167, 0.07328048348426819, 0.48233136534690857, 0.3969585597515106, -0.4677159786224365, -0.8822896480560303, -0.6700177192687988, -0.05456218123435974, -0.5914004445075989, -0.17848671972751617, -0.7260216474533081, 0.11042730510234833, -0.3940257430076599, -0.25205567479133606, -0.490947961807251, -0.9256536364555359, 0.151783749461174, -0.07608125358819962, 0.5364755988121033, 1.0862771272659302, -0.3491474986076355, 0.0003350453625898808, -0.7195830345153809, 0.3486696183681488, 0.40907007455825806, 0.7102317214012146, -0.4513259530067444, -0.47601109743118286, -0.123481385409832, 0.16016307473182678, -0.14225903153419495, -0.8567201495170593, -0.22132869064807892, 0.0604059062898159, 0.38494715094566345, -0.1369987279176712, 0.08371127396821976, 0.8142303228378296, -0.5763562321662903, 0.5730190277099609, -0.3149257004261017, -1.0118623971939087, 0.2751372754573822, -0.3667225241661072, 0.19301210343837738, 0.8260198831558228, -0.03060942143201828, -0.8096487522125244, -0.22221282124519348, -0.665325403213501, -0.5821504592895508, 0.6989501118659973, 0.14652734994888306, -0.13388559222221375, 0.2961723804473877, 0.5517477989196777, 0.05100454017519951, 0.48911774158477783, -0.5238757133483887, -0.08353958278894424, -0.17527037858963013, -0.051367681473493576, 0.1889650672674179, -0.5070855021476746, 0.17495422065258026, -0.5119991302490234, 0.9056063294410706, -0.018092170357704163, -0.16987594962120056, 0.24687767028808594, -0.45922550559043884, -0.07531185448169708, 0.6145384907722473, 0.39995893836021423, 0.6512103080749512, -0.6361887454986572, -0.04560847580432892, 0.36535847187042236, -0.30894923210144043, -0.0889173299074173, 0.061817485839128494, -0.5237380266189575, -0.1779835969209671, 0.5114218592643738, 0.6394187211990356, 0.9261380434036255, -0.6841861009597778, 0.4081750214099884, -0.1572992503643036, -0.2299790382385254, 0.23575769364833832, 0.025536902248859406, 0.03330292925238609, -0.15514859557151794, 0.00029079525847919285, 0.43968862295150757, 0.10836201906204224, -0.7504131197929382, 0.23779655992984772, 0.11194470524787903, -0.2375265657901764, -0.3268080949783325, 0.405292809009552, 0.20635882019996643, -0.13194477558135986, 0.4235566556453705, -0.3595254123210907, -0.36976903676986694, 0.01204285491257906, 0.2495115101337433, 0.6004139184951782, -0.10604257881641388, 0.2929745018482208, 0.1151113286614418, 0.4590793251991272, -0.11307653784751892, 0.2323962301015854, 0.030418159440159798, -0.7419875264167786, -0.5503800511360168, -0.6050437688827515, -0.5408863425254822, 0.3135888874530792, -0.36922308802604675, 0.16828429698944092, -0.2579871714115143, 0.3728829324245453, 0.11242808401584625, 0.1532672643661499, -0.4861210882663727, 0.10119908303022385, -0.3379465639591217, 1.1078177690505981, -0.670170247554779, 0.859470009803772, 0.8414720892906189, -0.034085698425769806, -0.7085126042366028, -0.2934902310371399, 0.22676172852516174, -0.3175837993621826, -0.07985280454158783, -0.14594824612140656, -0.08189837634563446, -0.06686607003211975, -0.2681742012500763, -0.7917309403419495, 0.8874139189720154, 0.503386914730072, -0.3247801661491394, 0.05919314920902252, 0.21087737381458282, 0.5661813020706177, -0.01388353668153286, 0.23080068826675415, 0.7838364839553833, 0.8334558010101318, 0.01644647680222988, -0.7723845839500427, -0.07810144126415253, -0.4578346610069275, -0.08132923394441605, 0.2537759840488434, -0.49914711713790894, 0.7459443211555481, -0.1691516637802124, -0.3660915493965149, -0.21860577166080475, 0.5650174617767334, -0.33045849204063416, -0.09164096415042877, 0.5238244533538818, 0.7898330688476562, 0.9127508997917175, 0.0021977038122713566, 0.9196100234985352, -0.17301784455776215, 0.2538531422615051, 1.1543982028961182, -0.43667206168174744, 0.6881279945373535, 0.21415820717811584, -0.15220820903778076, 0.7678816318511963, 0.2913532555103302, -0.008029279299080372, 0.3983903229236603, -0.12393136322498322, -0.2324133813381195, -0.03352450951933861, -0.13328781723976135, -0.030144644901156425, 0.8550676107406616, 0.024802273139357567, 0.37029552459716797, -0.4088255763053894, -0.2726651728153229, 0.5857915878295898, 0.5614526867866516, -0.05190743878483772, 0.8424022197723389, -0.376154363155365, -0.7050566077232361, 0.41939398646354675, 0.42992088198661804, 0.38020119071006775, -0.4797140657901764, -0.09870433062314987, -0.15724827349185944, -0.009368253871798515, -0.15333545207977295, -0.8836343288421631, 0.44187623262405396, 0.5486359596252441, -0.22595807909965515, -0.3064563572406769, 0.6370168924331665, -0.344083696603775, -0.6385493278503418, 0.23735648393630981, 0.549912691116333, -0.19919545948505402, -0.15129868686199188, -0.5846566557884216, -0.021132074296474457, 0.03916805610060692, -0.38888052105903625, 0.2814502418041229, 0.7670302391052246, -0.2439415603876114, 0.4891979694366455, 1.0535818338394165, 0.1022786870598793, -0.21784937381744385, 0.0641208067536354, 0.8904611468315125, -0.7569683194160461, -0.3933444619178772, -0.7425273656845093, 0.7421050071716309, -0.32681238651275635, -0.32067689299583435, 0.6790145039558411, 0.641498327255249, 0.8450944423675537, 0.11248467117547989, 0.8271291851997375, -0.1509527862071991, 0.6030612587928772, -0.7108954191207886, 0.8062459230422974, -0.3891962170600891, 0.34723201394081116, -0.31448736786842346, -0.6248296499252319, -0.4068661332130432, 0.08111505955457687, -0.09599708765745163, -0.1673043668270111, 1.0299193859100342, 0.6913639903068542, -0.09492194652557373, 0.34971898794174194, 0.3732806444168091, 0.7495359778404236, 0.1153009682893753, 0.21243418753147125, 0.6410887837409973, -0.42735543847084045, 0.19567517936229706, -0.7960308194160461, -0.3728793263435364, 0.23478193581104279, -1.2038558721542358, -0.8986992239952087, -0.522466242313385, -0.33180180191993713, 0.057886041700839996, 0.3415619432926178, 0.8383485078811646, 0.4585951864719391, -0.665854275226593, -0.12156070023775101, 0.1263367235660553, 0.33692044019699097, -0.39419978857040405, -0.1373981088399887, 0.660553514957428, -0.11743873357772827, -0.3737541735172272, 0.9469032883644104, 0.4416016936302185, -0.2835794687271118, 0.3007573187351227, 0.39058414101600647, -0.5298860669136047, 0.21840564906597137, 0.6716098785400391, 0.2498554289340973, -0.34459632635116577, -0.56391841173172, -0.22909152507781982, 0.24354210495948792, 0.20265567302703857, 0.8945589065551758, -0.9644982814788818, 0.4500526487827301, 0.35644298791885376, 0.5066453218460083, 0.18302187323570251, 0.1412176638841629, 0.4088013768196106, -0.8748933672904968, 0.045240066945552826, -0.11472035199403763, 0.47584304213523865, 0.6679115891456604, -0.23314087092876434, 0.5482448935508728, 0.5970968008041382, -0.4259989261627197, -0.9983753561973572, -0.18154267966747284, -0.8215129971504211, -0.40098774433135986, 1.0256550312042236, -0.18323977291584015, -0.5236107110977173, -0.4349553883075714, -0.027593648061156273, 0.3087824881076813, -0.3143850862979889, 0.8872367143630981, 0.6911221146583557, -0.014951975084841251, 0.19162945449352264, -0.5312840342521667, 0.7611804604530334, 0.1999923437833786, -0.888608992099762, 0.4208865165710449, 0.5671693086624146, 0.4061054587364197, -0.10882151126861572, 0.5185829401016235, -0.2480400651693344, 0.4055797755718231, -0.14956167340278625, 0.27688175439834595, -0.4871883690357208, -0.39891403913497925, -0.1583530455827713, 0.2826246917247772, 0.09307008981704712, 0.23768894374370575 ]
http://arxiv.org/abs/2403.00037v1
http://arxiv.org/pdf/2403.00037v1
Evolving to the Future: Unseen Event Adaptive Fake News Detection on Social Media
2024-02-29T06:40:53
2024-02-29T06:40:53
Jiajun Zhang, Zhixun Li, Qiang Liu, Shu Wu, Liang Wang
cs.SI
cs.SI, cs.AI, cs.CL
With the rapid development of social media, the wide dissemination of fake news on social media is increasingly threatening both individuals and society. In the dynamic landscape of social media, fake news detection aims to develop a model trained on news reporting past events. The objective is to predict and identify fake news about future events, which often relate to subjects entirely different from those in the past. However, existing fake detection methods exhibit a lack of robustness and cannot generalize to unseen events. To address this, we introduce Future ADaptive Event-based Fake news Detection (FADE) framework. Specifically, we train a target predictor through an adaptive augmentation strategy and graph contrastive learning to make more robust overall predictions. Simultaneously, we independently train an event-only predictor to obtain biased predictions. Then we further mitigate event bias by obtaining the final prediction by subtracting the output of the event-only predictor from the output of the target predictor. Encouraging results from experiments designed to emulate real-world social media conditions validate the effectiveness of our method in comparison to existing state-of-the-art approaches.
[ -0.2879970967769623, -1.1141995191574097, 0.6236148476600647, 0.15251481533050537, -0.3518439531326294, 0.5980936288833618, 0.42769041657447815, -0.7607883214950562, 0.7699841260910034, 0.23084083199501038, -0.9189471006393433, -0.2875601351261139, -0.5464814901351929, -0.43938225507736206, -0.763870120048523, 0.6667308807373047, 0.05327240005135536, -0.09183767437934875, -0.08873195201158524, -0.22256077826023102, -0.3502981662750244, -0.20038393139839172, -0.9034534692764282, -0.0474105067551136, 0.29879891872406006, 0.3738856017589569, 0.7055104374885559, 0.40521863102912903, -0.013616552576422691, 0.2728090286254883, -0.06606343388557434, 0.23674003779888153, -0.6433695554733276, -0.034987445920705795, -0.21349753439426422, -0.08383416384458542, -0.41410064697265625, 0.18209390342235565, 0.5298396944999695, 0.3163634240627289, 0.32431355118751526, 0.012988348491489887, -0.17204394936561584, 0.585164487361908, -0.8075910806655884, -0.38011831045150757, -0.7536665201187134, 0.1052069291472435, -0.04307383671402931, -0.2953287959098816, -0.26185524463653564, -0.47125282883644104, -0.30398038029670715, -0.7903745174407959, 0.3846033811569214, -0.0998704805970192, 0.8538103103637695, -0.1264762282371521, -0.298610657453537, -0.04834561049938202, -0.8422238826751709, 0.5571463704109192, -0.492155522108078, 0.5448195934295654, 0.20186752080917358, 0.49429094791412354, -0.08300771564245224, -1.0034786462783813, -0.7407934069633484, -0.016803154721856117, 0.2751011848449707, 0.4786927402019501, -0.3722406029701233, -0.4239618480205536, -0.11580895632505417, 0.2462819665670395, -0.5402482151985168, 0.1205517128109932, -0.4042437970638275, -0.34679585695266724, 0.5292810797691345, -0.20520277321338654, 0.22429165244102478, 0.0308733768761158, -0.36973774433135986, 0.18759872019290924, -0.2757522761821747, -0.3194248080253601, 0.6123498678207397, 0.0674426332116127, -0.32574161887168884, 0.16539831459522247, -0.45359697937965393, 0.329912006855011, 0.38947758078575134, 0.026206964626908302, 0.34000033140182495, 0.04613163694739342, -0.10522644221782684, -0.059550873935222626, 0.43813154101371765, 0.5974332690238953, 0.054661642760038376, 0.025992311537265778, -0.14434020221233368, 0.19196340441703796, 0.28087615966796875, -0.5240490436553955, -0.3801248371601105, 0.09697042405605316, -0.5904144048690796, -0.7725738286972046, -0.08242694288492203, -1.0154500007629395, -0.7452459931373596, -0.08289402723312378, 0.7251023054122925, -0.4417873024940491, -0.3739627003669739, -0.2961544692516327, -0.4156891107559204, 0.1785067915916443, 0.6126477122306824, -0.23923259973526, 0.033700477331876755, 0.4819355607032776, 0.9129412770271301, -0.11301572620868683, -0.1839299499988556, -0.8249288201332092, -0.0031732292845845222, -0.6619120836257935, 0.9011573195457458, -0.5276778936386108, -0.1524917036294937, 0.1115151196718216, 0.03952743113040924, 0.2388894259929657, -0.2910795211791992, 0.6458478569984436, -0.9520078897476196, 0.1588854193687439, -0.08147095888853073, -0.4465647041797638, -0.32232773303985596, 0.17733129858970642, -0.6725708246231079, 0.748943030834198, 0.24305514991283417, -0.655759871006012, 0.6837224960327148, -0.65602046251297, -0.57253497838974, 0.20628748834133148, 0.3662106990814209, -0.771551787853241, 0.37347733974456787, 0.5506911873817444, 0.2656952142715454, 0.7620871663093567, -0.1161942407488823, -1.0234490633010864, -0.5153797268867493, 0.25521308183670044, -0.7897114753723145, 0.5209535360336304, -0.011657103896141052, -0.35630425810813904, 0.267527312040329, -0.8964943289756775, -0.27776628732681274, 0.2295064926147461, -0.029042638838291168, -0.1833028793334961, 0.12342090159654617, 0.09259770065546036, 0.22641697525978088, -0.018617000430822372, -0.44742539525032043, -0.25981423258781433, -0.16990594565868378, 0.2210639864206314, 1.2433629035949707, 0.3626791536808014, 0.6574657559394836, -0.4348907172679901, 0.47397300601005554, 0.07208407670259476, 0.5666013956069946, -0.3972107172012329, -0.3335847854614258, -0.9854021668434143, -0.11404435336589813, 0.22980137169361115, 0.39147740602493286, -1.0553313493728638, 0.13471859693527222, -0.16793054342269897, -0.2454298734664917, -0.20818884670734406, -0.15306295454502106, -0.05895300209522247, 0.3783797323703766, 0.47685515880584717, -0.09839990735054016, -0.6932991147041321, -0.4876282811164856, -0.7372457981109619, -0.06255237758159637, 0.2086251825094223, -0.047665275633335114, 0.425743967294693, -0.2628100514411926, 0.8140450716018677, -0.1315469741821289, -0.1598552167415619, -0.06093189865350723, -0.025186529383063316, -0.13505405187606812, 0.4367305338382721, 0.48376238346099854, -1.3525985479354858, -0.5537203550338745, 0.007939866743981838, -0.6162568926811218, 0.02788051776587963, -0.33439934253692627, 0.009951277635991573, 0.36397063732147217, 0.8531583547592163, -0.21970348060131073, 0.7558625936508179, 0.7714526057243347, -0.3360157310962677, 0.43232178688049316, 0.21061600744724274, 0.2891347408294678, -1.0085995197296143, -0.32729482650756836, -0.028551479801535606, -0.7858441472053528, -0.7873982191085815, -0.20060549676418304, 0.12491396814584732, -0.29103171825408936, -0.5871701240539551, 0.9220626354217529, -0.3783062696456909, -0.13606685400009155, -0.542294442653656, 0.07202599197626114, 0.01789228245615959, 0.07457542419433594, -0.19348594546318054, 0.27436354756355286, 0.5984718799591064, -0.6373472809791565, 0.36381080746650696, -0.2829427123069763, -0.24512216448783875, 0.6206647157669067, -0.2807408273220062, 0.20127476751804352, -0.26383471488952637, 0.42651358246803284, -0.8978205919265747, -0.4059445261955261, 0.613418459892273, -1.1033847332000732, 0.3608644902706146, -0.279277503490448, -0.3890090584754944, -0.6244124174118042, -0.43539080023765564, 0.12018808722496033, 0.5693111419677734, -0.6432293057441711, 0.9912552833557129, 0.18123342096805573, -0.007882995530962944, -0.5143656730651855, -0.6120302081108093, 0.17229880392551422, -0.13009563088417053, -0.47203513979911804, 0.41535651683807373, -0.12848684191703796, -0.24267250299453735, 0.3372162878513336, -0.5635676980018616, -0.05794354900717735, 0.05543904006481171, 0.26081758737564087, 0.20866659283638, -0.18895132839679718, 0.05146542936563492, 0.3451007306575775, 0.053670644760131836, -0.335078626871109, -0.4337439239025116, 0.39093640446662903, 0.17273104190826416, -0.5806892514228821, -0.7255411744117737, 0.4320705831050873, 0.7221086621284485, -0.0011418148642405868, 0.8920254707336426, 0.8530546426773071, -0.8453251719474792, -0.32114192843437195, -0.8194929361343384, -0.26253604888916016, -0.5788936614990234, 0.4524647295475006, 0.11568624526262283, -0.6328433752059937, 0.7380265593528748, -0.16746288537979126, -0.04459794983267784, 0.379465788602829, 0.143708735704422, -0.2158849984407425, 0.901713490486145, 0.9467442035675049, -0.07025637477636337, 0.8813062310218811, 0.023300841450691223, -0.06731488555669785, -0.35212939977645874, -0.17940497398376465, 0.17235876619815826, -0.37267476320266724, -0.5110452771186829, -0.5040051341056824, 0.06472407281398773, 0.3031143248081207, 0.004021254368126392, 0.10082072764635086, -0.14300814270973206, 0.6948084831237793, 0.4288133382797241, 0.5053493976593018, 0.21506308019161224, 0.10544820129871368, 0.4397551119327545, 0.06922800838947296, -0.6110215187072754, 0.0405542366206646, 0.8940041065216064, 0.2679746150970459, 0.48996439576148987, -0.20851095020771027, 0.46769800782203674, 0.9287413954734802, 0.7708046436309814, -0.5467379093170166, 0.3804907500743866, -0.05365843325853348, -0.6027066111564636, -0.14411848783493042, -0.3352988064289093, -0.585706889629364, 0.14173153042793274, -0.29244086146354675, -0.3776431381702423, 0.42043742537498474, 0.325296014547348, -0.10080187767744064, 0.5677703022956848, -0.5076575875282288, 0.5337725877761841, -0.19145075976848602, -0.30093055963516235, -0.35444286465644836, -0.5370700359344482, 0.33341240882873535, -0.5222055315971375, 0.6421856880187988, -0.1443115472793579, -0.07110464572906494, 0.5385061502456665, -0.03814079612493515, 1.1565719842910767, -0.3146009147167206, 0.4351467490196228, 0.23267485201358795, 0.17355303466320038, 0.6736317276954651, 0.13831013441085815, 0.09724095463752747, -0.03271894156932831, -0.5694762468338013, -0.7300436496734619, -0.28093138337135315, 0.7832486629486084, -0.3945296108722687, -0.2647457420825958, -0.4000036418437958, -0.25887995958328247, -0.28442028164863586, 0.4676564633846283, 0.458992063999176, 0.3493317663669586, -0.5072727799415588, -0.07603566348552704, 0.5649268627166748, -0.37663698196411133, 0.6231005787849426, 0.6480690836906433, -0.3115541338920593, -0.6294400095939636, 0.9967589974403381, 0.16252821683883667, 0.27475643157958984, 0.21617209911346436, 0.11989051848649979, -0.158013716340065, -0.756477952003479, -0.12444841861724854, 0.039255741983652115, -0.9281873106956482, -0.30034464597702026, -0.5741441249847412, -0.23189842700958252, -0.7286611795425415, -0.6932038068771362, -0.36017757654190063, -0.15936416387557983, -0.6588703393936157, -0.27913525700569153, 0.3269452750682831, 0.5134003758430481, -0.43608036637306213, 0.4341381788253784, -0.5874969959259033, 0.6480135321617126, 0.3776034414768219, 0.2733670771121979, -0.25876274704933167, -0.910311758518219, -0.04841256141662598, 0.20124980807304382, -0.5559764504432678, -0.9610746502876282, 0.5334875583648682, 0.2623017430305481, 0.5937933921813965, 0.5544920563697815, 0.3226225972175598, 0.6448944211006165, -0.28288525342941284, 0.5611094236373901, 0.25893455743789673, -0.996458113193512, 0.7446355819702148, -0.5311083197593689, 0.042312681674957275, 0.33344998955726624, 0.4921117126941681, -0.475884348154068, -0.5054820775985718, -0.9009878039360046, -0.7119308114051819, 0.5414593815803528, 0.08700219541788101, 0.630698561668396, 0.21957193315029144, 0.3874821364879608, 0.10536155849695206, 0.16686950623989105, -1.2148176431655884, -0.17726469039916992, -0.41799259185791016, 0.07878363132476807, -0.06879758834838867, -0.16723249852657318, 0.18621239066123962, -0.06275539100170135, 0.7763679623603821, -0.2194768786430359, 0.2557498812675476, -0.03373807668685913, -0.13534781336784363, -0.33709824085235596, -0.1975080817937851, 0.6754453182220459, 0.8431669473648071, -0.13620050251483917, -0.21303461492061615, 0.3132208287715912, -0.38786792755126953, -0.24214962124824524, 0.2179703265428543, -0.28860342502593994, 0.21173366904258728, 0.49450138211250305, 0.8367225527763367, 0.017939331009984016, -0.3896990120410919, 0.7600527405738831, 0.25441786646842957, -0.2329527735710144, -0.6432022452354431, -0.13741840422153473, -0.019787093624472618, 0.5728425979614258, 0.972472071647644, 0.5729913711547852, 0.13500218093395233, -0.8912830948829651, 0.47369590401649475, 0.19315588474273682, -0.9887403845787048, -0.4284496307373047, 0.878599226474762, 0.08667473495006561, -0.3754390776157379, 0.21307165920734406, -0.31239035725593567, -0.7575980424880981, 0.6021401286125183, 0.511929452419281, 0.8340538740158081, -0.4178408086299896, 0.40897512435913086, -0.07787777483463287, 0.40700554847717285, 0.09086966514587402, 0.19021889567375183, 0.36493155360221863, -0.7620418667793274, -0.37685781717300415, -0.7091788053512573, -0.2512010335922241, 0.6363872289657593, -0.30572912096977234, 0.46850261092185974, -0.42659491300582886, -0.12633973360061646, 0.023660821840167046, -0.17066068947315216, -0.1397974193096161, 0.45125725865364075, 0.2486562728881836, 0.7902782559394836, -1.0957825183868408, 0.5505801439285278, 0.37370389699935913, -0.011347051709890366, -0.14436320960521698, 0.6037497520446777, 0.33842745423316956, -0.7155128717422485, 0.14840850234031677, 0.22545906901359558, 0.1467989981174469, 0.035582296550273895, -0.6956037282943726, -0.6573830246925354, 0.9023817777633667, 0.5562427639961243, -0.3192765712738037, 0.05443672090768814, -0.36962997913360596, 0.41789141297340393, -0.11875452101230621, -0.19782190024852753, -0.02240787260234356, 0.4044972062110901, 0.4294951558113098, -0.28971925377845764, -0.16511699557304382, -0.05950532481074333, -0.13867135345935822, 0.06639569997787476, -0.7015151381492615, 0.7899507880210876, -0.1888442039489746, -0.5200897455215454, 0.05307464301586151, 1.1214613914489746, 0.04131557419896126, 0.9869875907897949, 0.3068307936191559, 0.2566147744655609, 0.6490125060081482, -0.07726798206567764, 0.915989875793457, 0.12870298326015472, 0.10045573860406876, 1.0780227184295654, -0.039731137454509735, 0.5490646958351135, 0.026275373995304108, 0.10093206912279129, 0.6507301330566406, 0.9183158278465271, -0.17670650780200958, 0.6626416444778442, -0.16282953321933746, -0.35415396094322205, -0.32727497816085815, 0.20347906649112701, -0.4189436733722687, 0.16922599077224731, 0.4448834955692291, -0.4429772198200226, 0.04221328720450401, 0.41619303822517395, 0.021242961287498474, 0.1412656456232071, -0.8208341598510742, 0.3621217906475067, -0.09565049409866333, -0.10980682075023651, 0.2936457395553589, 0.013622986152768135, 0.7840279340744019, -0.4418538212776184, 0.0021342658437788486, -0.4893813729286194, 0.3117559552192688, -0.19580848515033722, -0.5111298561096191, 0.3832739293575287, -0.4188338816165924, -0.06707117706537247, -0.038831133395433426, 1.309151530265808, -0.09401808679103851, -0.6490159034729004, 0.4053170084953308, 0.49364420771598816, -0.18689914047718048, -0.43626081943511963, -0.7955753803253174, 0.10766100883483887, -0.17723268270492554, -0.17082098126411438, 0.34430912137031555, 0.36566707491874695, -0.17818938195705414, 0.7834525108337402, 0.9239793419837952, -0.042442239820957184, 0.2999904155731201, -0.058805543929338455, 0.9863786101341248, -0.3371504545211792, -0.7289411425590515, -0.7329835295677185, 0.30736419558525085, -0.42879655957221985, -0.03956110030412674, 0.7729197144508362, 0.6094253063201904, 0.7499325275421143, -0.06501537561416626, 0.7132303714752197, 0.2074572890996933, 0.6437562704086304, -0.33995506167411804, 0.775164008140564, -0.8089220523834229, -0.06172956898808479, -0.3823598325252533, -0.7385149598121643, -0.22054177522659302, 0.1554093211889267, 0.06996317952871323, 0.36938437819480896, 0.38804376125335693, 0.504459023475647, -0.21653863787651062, -0.16424934566020966, 0.507108211517334, 0.1208638995885849, 0.1289130598306656, 0.04245365411043167, 1.0490751266479492, -0.5309152603149414, 0.5914759635925293, -0.13108757138252258, -0.2588712275028229, -0.6282235980033875, -0.8403817415237427, -0.7554105520248413, -0.4010962247848511, -0.5633165836334229, -0.6014256477355957, 0.539131760597229, 0.22955875098705292, 0.9393755793571472, -0.8620461821556091, 0.5392671227455139, -0.28078269958496094, 0.2433432638645172, -0.4772050082683563, -0.3222472071647644, 0.34969598054885864, 0.09372469782829285, -0.6744977831840515, 0.6611462831497192, 0.36627572774887085, 0.465199738740921, 0.037313077598810196, 0.11829571425914764, -0.21161457896232605, 0.5287082195281982, 0.6879845261573792, 0.5047035217285156, -0.3190888464450836, -0.576677143573761, -0.08558636158704758, 0.2776970863342285, -0.05024770647287369, 0.5226417779922485, -1.052364468574524, 0.3441779613494873, 0.336338609457016, 0.38995349407196045, 0.745820939540863, 0.13912729918956757, 0.433454692363739, -0.7069398760795593, 0.09251409769058228, 0.26200374960899353, -0.02416582591831684, 0.47887173295021057, -0.43598711490631104, 0.13601718842983246, 0.8539186120033264, -0.22192168235778809, -1.0453212261199951, 0.3320183753967285, -0.7985866069793701, -0.6676621437072754, 1.0976303815841675, 0.22777092456817627, -0.10638667643070221, -0.5000475645065308, 0.2681868076324463, 0.38174521923065186, -0.43561750650405884, 0.6928341388702393, 0.2696648836135864, -0.01156049408018589, -0.48233842849731445, -0.6160037517547607, 0.47535377740859985, -0.09232089668512344, -0.8108646869659424, -0.14289480447769165, 0.5245179533958435, 0.46336689591407776, 0.1270456463098526, 0.708669900894165, 0.003849081927910447, 0.6203107833862305, 0.3231546878814697, -0.32968080043792725, -0.11601133644580841, -0.4893224835395813, -0.29179418087005615, 0.18173743784427643, -0.6161948442459106, -0.2887841463088989 ]
http://arxiv.org/abs/2402.18877v1
http://arxiv.org/pdf/2402.18877v1
Principal Component Analysis as a Sanity Check for Bayesian Phylolinguistic Reconstruction
2024-02-29T05:47:34
2024-02-29T05:47:34
Yugo Murawaki
cs.CL
cs.CL
Bayesian approaches to reconstructing the evolutionary history of languages rely on the tree model, which assumes that these languages descended from a common ancestor and underwent modifications over time. However, this assumption can be violated to different extents due to contact and other factors. Understanding the degree to which this assumption is violated is crucial for validating the accuracy of phylolinguistic inference. In this paper, we propose a simple sanity check: projecting a reconstructed tree onto a space generated by principal component analysis. By using both synthetic and real data, we demonstrate that our method effectively visualizes anomalies, particularly in the form of jogging.
[ -0.07875168323516846, -0.8656830191612244, 0.7842763662338257, -0.03537781536579132, -0.31677982211112976, 0.16741782426834106, 0.018218662589788437, 0.030525142326951027, 0.244819775223732, 0.5316123962402344, -0.6767847537994385, -0.6227579116821289, -0.10905665159225464, -0.2331426441669464, -0.2282126247882843, 0.7360011339187622, 0.19946782290935516, -0.22243784368038177, 0.21722543239593506, 0.07153411209583282, -0.3290580213069916, -0.6040399074554443, -0.2842452824115753, -0.1545855551958084, 0.14872518181800842, 0.22951743006706238, 0.7956503033638, 0.8639492392539978, 0.34135088324546814, 0.3026440441608429, -0.20450276136398315, 0.30254071950912476, -0.4243294298648834, -0.0018267174018546939, -0.10421645641326904, -0.554574728012085, -0.6488123536109924, 0.04474000260233879, 0.771079421043396, 1.0339301824569702, -0.04684865474700928, -0.22537089884281158, -0.03527653217315674, 0.6149816513061523, -0.5506372451782227, 0.24952736496925354, -0.45308205485343933, 0.17707660794258118, -0.1782604157924652, -0.5785914659500122, -0.42193931341171265, -0.7061600089073181, 0.21873925626277924, -0.6861194372177124, 0.35244953632354736, -0.08243454247713089, 0.9849664568901062, 0.21317103505134583, -0.7428936958312988, 0.11225670576095581, -1.1283795833587646, 0.6172970533370972, -0.7165417671203613, 0.42832598090171814, 0.43128570914268494, 0.48874878883361816, -0.7324445247650146, -0.7051609754562378, -0.72142094373703, -0.32755759358406067, -0.037700362503528595, 0.1305810511112213, -0.09009719640016556, 0.3247525990009308, 0.3464193046092987, 0.5044509768486023, -0.7502794861793518, -0.11708880215883255, -0.44204115867614746, -0.13750775158405304, 0.5904346108436584, -0.11070707440376282, 0.8255522847175598, -0.43085822463035583, -0.24332250654697418, -0.4804956614971161, -0.7351083755493164, 0.13648240268230438, 0.6124415397644043, 0.30738839507102966, 0.0012754074996337295, 0.3911657929420471, 0.029195794835686684, 0.8270706534385681, 0.11552935838699341, -0.4307137727737427, -0.005730143282562494, -0.3154623508453369, -0.27142032980918884, 0.09726973623037338, 0.21656297147274017, 0.43739867210388184, 0.5745602250099182, -0.15288130939006805, 0.19662320613861084, 0.27558571100234985, 0.3565923571586609, -0.42386722564697266, -1.0887337923049927, 0.18700037896633148, -0.5278452634811401, 0.05467495322227478, 0.1017146110534668, -0.9305238127708435, -0.3646581470966339, -0.3829512894153595, 0.009187702089548111, -0.6767218708992004, -0.4683232307434082, 0.18154017627239227, -0.05323229730129242, 0.16376423835754395, 0.4423103928565979, -0.6602792739868164, 0.3353736400604248, 1.0671958923339844, 0.5340067744255066, 0.10178108513355255, -0.35035350918769836, -0.21955560147762299, 0.11063382029533386, -0.6615999937057495, 1.1152904033660889, -0.49738505482673645, -0.617761492729187, -0.0835176333785057, 0.20098814368247986, -0.28985944390296936, -0.5010684728622437, 0.4702456295490265, -0.19161412119865417, 0.1625348925590515, -0.3948093354701996, -0.7570616006851196, -0.8011322021484375, -0.03827475756406784, -0.3617144227027893, 0.7538913488388062, 0.26409095525741577, -0.84180748462677, 0.6550908088684082, 0.11588194966316223, -0.22194404900074005, 0.07643792033195496, -0.3771822154521942, -0.5924796462059021, 0.3335147202014923, 0.0981530025601387, 0.1070738136768341, 0.11565694212913513, 0.44845831394195557, -0.7487335801124573, -0.24424375593662262, 0.1070607453584671, -0.3064756691455841, 1.3900548219680786, 0.08600644767284393, -0.46980613470077515, -0.027801088988780975, -1.1656408309936523, -0.019227731972932816, -0.19242970645427704, -0.23937465250492096, -0.5890383720397949, 0.41183674335479736, -0.3463912606239319, -0.041225235909223557, -0.1684814691543579, -0.6624681949615479, 0.7253657579421997, -0.4689745008945465, 0.013638687320053577, 0.6175842881202698, 0.54323410987854, 0.2646327316761017, -0.292113721370697, 0.5522709488868713, 0.05107429251074791, -0.13170823454856873, -0.24071988463401794, -0.639111340045929, -0.5842013359069824, -0.4286305010318756, 0.0027088518254458904, 0.5737687945365906, -0.5300693511962891, 0.590653121471405, -0.37565454840660095, -0.4180663526058197, -0.11209413409233093, -0.07589562237262726, 0.14852462708950043, 0.4714127779006958, 0.016001945361495018, -0.5197760462760925, -0.6414288282394409, -0.915756344795227, -0.060343727469444275, -0.8291283249855042, -0.0982905775308609, 0.3236521780490875, 0.23239658772945404, -0.06427481025457382, 1.056017518043518, -0.491180419921875, 0.13659101724624634, 0.09270697087049484, 0.2541936933994293, 0.12784257531166077, 0.99056077003479, 0.9439006447792053, -0.4222957491874695, -0.20904694497585297, 0.19070816040039062, -0.5515363216400146, -0.3798093795776367, -0.40618783235549927, -0.17362035810947418, 0.007118759211152792, 0.38174667954444885, -0.6588361263275146, 0.7767239212989807, 0.48841628432273865, -0.5431743860244751, 0.5098029971122742, -0.46311312913894653, 0.35290849208831787, -0.8425312042236328, 0.42988383769989014, -0.10229383409023285, -0.07122769951820374, -0.8161466121673584, -0.08233820647001266, 0.06402327865362167, -0.11345703899860382, -0.005416973028331995, 0.041865136474370956, -0.3701658844947815, -0.2805955708026886, -0.1536192148923874, 0.04048658907413483, -0.3613797724246979, 0.6563718318939209, -0.16489125788211823, 0.3791412115097046, 0.5101945400238037, -0.26083260774612427, 0.23730243742465973, -0.16305232048034668, -0.17618247866630554, 0.6216655373573303, -0.3115547001361847, 0.14073218405246735, -0.5408985614776611, 0.4746522903442383, -1.609967827796936, -0.2683335542678833, 0.38025087118148804, -0.3457674980163574, 0.4179648756980896, -0.3428526520729065, -0.3796711266040802, -0.16844582557678223, -0.2860528826713562, 0.4480818510055542, 0.44077613949775696, -0.7277927398681641, 0.5246076583862305, 0.4345441460609436, -0.028454294428229332, -0.018796319141983986, -0.39273908734321594, -0.08264243602752686, -0.4357258677482605, -0.574547529220581, 0.17305749654769897, 0.039615221321582794, -0.43873006105422974, 0.0026537899393588305, -0.35256460309028625, -0.369520366191864, 0.40336015820503235, 0.3625774383544922, 0.33162978291511536, -0.4235962927341461, -0.25292637944221497, 0.025267774239182472, 0.005323362071067095, 0.07454457879066467, -0.43172571063041687, 0.22797885537147522, 0.12968549132347107, -0.5681091547012329, -0.707012414932251, -0.07663053274154663, 0.6399591565132141, -0.09897737205028534, 0.12035312503576279, -0.0814795196056366, -0.6110509634017944, -0.2977703809738159, -0.33511918783187866, -0.22061003744602203, -0.4063648283481598, 0.1338464468717575, -0.15593522787094116, -0.4667595624923706, 0.43248939514160156, -0.3351415693759918, -0.11033977568149567, 0.15746773779392242, 0.18400424718856812, 0.008665393106639385, 1.1128315925598145, 0.7580822706222534, -0.06370683759450912, 0.2617330253124237, -0.1343136578798294, 0.5331177115440369, -0.58844393491745, -0.27977854013442993, -0.6805967092514038, -0.208780437707901, -0.9686552286148071, -0.39321357011795044, 0.2278248518705368, 0.24480971693992615, -0.16447021067142487, 0.2827399671077728, -0.2532232701778412, 0.2947818338871002, 0.3667919635772705, 0.009076819755136967, 0.2109551578760147, 0.08913952112197876, -0.22952929139137268, -0.29326313734054565, -0.6247676014900208, -0.5787606239318848, 0.8056200742721558, 0.2990916669368744, 0.4645339846611023, 0.13025599718093872, 0.5941230654716492, -0.09755110740661621, 0.36126258969306946, -0.7004491090774536, 0.5678813457489014, -0.17908355593681335, -0.5500634908676147, 0.07081091403961182, -0.2723865807056427, -0.903569757938385, 0.4394426643848419, 0.15835309028625488, -1.594810962677002, 0.9640042185783386, 0.5810477137565613, -0.49835148453712463, 0.39036044478416443, -0.6192407608032227, 0.8403655290603638, -0.09695368260145187, -0.09947273880243301, -0.12042421847581863, -0.495572954416275, 0.8824865221977234, -0.12316204607486725, 0.007658762391656637, 0.027449270710349083, 0.4127207100391388, 0.3804822266101837, -0.5728884339332581, 1.0805788040161133, -0.2595040500164032, -0.11875887960195541, 0.40162310004234314, 0.6648615598678589, 0.29590463638305664, -0.20171594619750977, 0.328273206949234, -0.32130423188209534, 0.2441912144422531, -0.4421854317188263, -0.8370642066001892, 0.6112635135650635, -0.4921207129955292, -0.7332578897476196, -0.4896407425403595, -0.529043436050415, -0.36192819476127625, -0.14310407638549805, -0.16535788774490356, 0.23939798772335052, -0.0902075543999672, 0.27916857600212097, 0.31421929597854614, -0.3517686128616333, 0.26603686809539795, 0.36930349469184875, -0.5124531388282776, -0.03021729737520218, 0.8769579529762268, 0.2656000256538391, -0.11292541027069092, -0.007304000668227673, 0.17155469954013824, 0.22480201721191406, -0.6353970170021057, -0.08816839754581451, 0.31345799565315247, -0.37133052945137024, 0.26913735270500183, -0.35945263504981995, 0.11438560485839844, -0.28349316120147705, -0.08253635466098785, -0.32962068915367126, -0.7353602647781372, 0.05933118239045143, -0.17568571865558624, -0.007435258012264967, 0.6249147057533264, -0.3832084834575653, 0.3911834955215454, -0.6582146286964417, -0.031656406819820404, 0.3973754048347473, 0.01586252637207508, 0.04987381398677826, -0.1936168074607849, 0.15519565343856812, 0.08624260127544403, -0.4054449796676636, -1.2348357439041138, 0.5140380263328552, 0.2798793613910675, 0.6797343492507935, 0.5589509010314941, -0.2407451719045639, 0.794887900352478, -0.5101385116577148, 0.9071716070175171, -0.327462762594223, -0.7250267267227173, 0.6992936134338379, -0.5168103575706482, 0.22598852217197418, 0.2351282238960266, 0.3956749141216278, -0.32965901494026184, -0.39780330657958984, -0.8829733729362488, -0.6211656928062439, 0.4080052375793457, 0.07317492365837097, -0.45914599299430847, 0.14421384036540985, 0.5624807476997375, -0.16096392273902893, -0.10206712782382965, -0.24517954885959625, -0.043093543499708176, -0.2417014092206955, -0.038801129907369614, -0.2528490722179413, -0.016963977366685867, 0.07066319137811661, -0.2543831467628479, 0.47786471247673035, -0.1179637610912323, -0.07899925112724304, 0.18099577724933624, 0.0008294945582747459, -0.3349485397338867, -0.07388581335544586, 0.5112740397453308, 0.9871156215667725, -0.4647141993045807, 0.4999708831310272, -0.13370247185230255, -0.375794917345047, 0.08396940678358078, 0.10322567820549011, -0.23093396425247192, 0.08584201335906982, 0.606576681137085, 0.5735270380973816, 0.3699795603752136, -0.4875856637954712, 0.19297587871551514, 0.21305009722709656, 0.199996218085289, 0.16479253768920898, -0.002063281601294875, -0.1332075595855713, 0.2759018838405609, 0.23366498947143555, 0.12907272577285767, 0.13405835628509521, -0.8691742420196533, 0.5119013786315918, 0.21201327443122864, -0.014119117520749569, -0.9663421511650085, 0.45650607347488403, -0.3712455928325653, -0.2752141058444977, 0.5385389924049377, 0.03244956582784653, -0.9211168885231018, 0.6717056035995483, 0.4978969097137451, 0.9287912249565125, -0.7465692162513733, 0.44996774196624756, 0.4274865388870239, 0.46869853138923645, 0.1458991914987564, 0.4453639090061188, -0.22571948170661926, -0.4962778389453888, -0.3590371906757355, -0.4137478172779083, -0.2135879397392273, 0.05694819241762161, -0.4522424042224884, -0.10549557954072952, -0.6624948978424072, -0.026752792298793793, 0.2150593101978302, 0.007531120441854, -0.2958369255065918, 0.2934206426143646, 0.07182370871305466, 0.8269182443618774, -1.2037314176559448, 1.1831872463226318, 0.6389879584312439, -0.22766488790512085, -0.7757943272590637, 0.48473358154296875, 0.517716109752655, -0.6107528209686279, 0.9835906624794006, -0.3449561297893524, -0.1016569510102272, -0.18339285254478455, -0.46237605810165405, -0.8193328976631165, 0.7631231546401978, 0.46772629022598267, -0.24964019656181335, 0.022229187190532684, -0.08423680812120438, 0.8793514966964722, -0.12022460252046585, -0.46125730872154236, 0.7743527889251709, 0.3229559659957886, -0.11570209264755249, -0.7397849559783936, 0.0070871831849217415, -0.19995583593845367, 0.3693200945854187, 0.11818893998861313, -0.226382315158844, 1.103857159614563, -0.05069650337100029, -0.6497686505317688, 0.1284140795469284, 0.4769690930843353, 0.4851676821708679, 0.029690932482481003, 0.4777040481567383, 0.4688867926597595, 0.9811722040176392, 0.014565784484148026, 1.2148990631103516, -0.6935603618621826, 0.5386227369308472, 0.9895639419555664, -0.19558195769786835, 0.6736289858818054, 0.5153085589408875, -0.25283896923065186, 0.4305645525455475, 0.7701406478881836, 0.016126958653330803, 0.5765126943588257, 0.3571081757545471, -0.1657828986644745, -0.22779852151870728, 0.084934301674366, -0.2517511546611786, 0.5312380194664001, 0.47371146082878113, -0.028133120387792587, -0.3846091628074646, -0.34415531158447266, 0.28279563784599304, 0.18398967385292053, 0.03112155757844448, 0.5185954570770264, -0.10533963143825531, -0.9734315276145935, 0.5200212597846985, -0.21707655489444733, -0.09972421079874039, -0.3082120418548584, -0.28783711791038513, -0.46082431077957153, 0.37821635603904724, -0.16395235061645508, -0.44600072503089905, 0.31070253252983093, -0.2212003916501999, 0.3069247901439667, -0.0837007686495781, 0.7920111417770386, -0.4835752248764038, -0.3843398094177246, 0.09630860388278961, 0.4947959780693054, 0.19482611119747162, 0.38442134857177734, -0.22387750446796417, 0.01582552306354046, 0.1261540800333023, -0.13131724298000336, -0.0501570962369442, 0.5664784908294678, -0.07381448149681091, 0.5070407390594482, 0.5492738485336304, 0.3960670232772827, 0.24451106786727905, -0.45395544171333313, 0.7090536952018738, -0.4037124812602997, -0.6569362878799438, -0.7451198697090149, 0.5971285700798035, 0.03332461789250374, -0.2724015712738037, 1.0598375797271729, 0.5767080187797546, 0.9020252823829651, 0.01920686848461628, 0.5021079778671265, 0.29714512825012207, 0.43120718002319336, -0.5247145295143127, 0.5506845116615295, -0.33136916160583496, 0.3286619484424591, -0.49471941590309143, -0.9830504059791565, -0.5782368183135986, 1.0408384799957275, -0.32827556133270264, -0.02851313352584839, 0.9003530144691467, 0.8253949284553528, -0.34956663846969604, 0.20706892013549805, 0.13649335503578186, 0.5766816139221191, 0.344066321849823, 0.41398265957832336, 0.7725269794464111, -0.015159920789301395, -0.025753261521458626, -0.5360385179519653, -0.5868317484855652, -0.17449289560317993, -0.962750256061554, -0.6013548374176025, -0.743545651435852, -0.5728697776794434, -0.5726804137229919, 0.30514559149742126, 0.9103472232818604, 0.656888484954834, -1.0880329608917236, -0.6158375144004822, -0.14798687398433685, 0.04610629379749298, -0.2657647728919983, -0.1660124510526657, 0.7157203555107117, -0.0638461783528328, -0.6415197849273682, 0.6582485437393188, 0.5380584597587585, 0.28607437014579773, -0.39662274718284607, 0.2579011023044586, -0.29699328541755676, 0.061998654156923294, 0.3350403606891632, 0.6803458333015442, -0.7157973051071167, -0.7886887788772583, -0.4819439947605133, -0.015917085111141205, 0.21593579649925232, 1.2965742349624634, -0.80459064245224, 0.7992759943008423, 0.8399816155433655, 0.6860924363136292, 0.3995097577571869, 0.05599376559257507, 0.8802662491798401, -0.6159160137176514, 0.2506680488586426, -0.07964394986629486, 0.6142849922180176, 0.3062669634819031, -0.11893939971923828, 0.35727018117904663, 0.6981092691421509, -0.5187901258468628, -1.0643678903579712, 0.27296116948127747, -1.1059712171554565, -0.5046706795692444, 0.8667408227920532, -0.5762878656387329, -0.56241375207901, -0.11190260201692581, -0.46187645196914673, 0.32968205213546753, 0.17887753248214722, 1.1768895387649536, 0.6204455494880676, -0.1762499064207077, -0.1346205174922943, -0.410125195980072, 0.6990850567817688, 0.25455570220947266, -0.8037968873977661, 0.06089439615607262, 0.7805033922195435, 0.18333272635936737, 0.1654878854751587, 0.42476555705070496, 0.20070919394493103, 0.42016738653182983, 0.19812895357608795, -0.4605678915977478, 0.44633588194847107, -0.3755229413509369, -0.522132158279419, 0.2852439880371094, -0.1364203691482544, -0.19857485592365265 ]
http://arxiv.org/abs/2402.18873v1
http://arxiv.org/pdf/2402.18873v1
Reducing Hallucinations in Entity Abstract Summarization with Facts-Template Decomposition
2024-02-29T05:43:43
2024-02-29T05:43:43
Fangwei Zhu, Peiyi Wang, Zhifang Sui
cs.CL
cs.CL
Entity abstract summarization aims to generate a coherent description of a given entity based on a set of relevant Internet documents. Pretrained language models (PLMs) have achieved significant success in this task, but they may suffer from hallucinations, i.e. generating non-factual information about the entity. To address this issue, we decompose the summary into two components: Facts that represent the factual information about the given entity, which PLMs are prone to fabricate; and Template that comprises generic content with designated slots for facts, which PLMs can generate competently. Based on the facts-template decomposition, we propose SlotSum, an explainable framework for entity abstract summarization. SlotSum first creates the template and then predicts the fact for each template slot based on the input documents. Benefiting from our facts-template decomposition, SlotSum can easily locate errors and further rectify hallucinated predictions with external knowledge. We construct a new dataset WikiFactSum to evaluate the performance of SlotSum. Experimental results demonstrate that SlotSum could generate summaries that are significantly more factual with credible external knowledge.
[ -0.8100758194923401, -0.70086270570755, 0.8333837985992432, 0.08044002950191498, -0.6291431188583374, -0.21032491326332092, -0.1966046690940857, -0.334185928106308, 0.7405715584754944, 0.7195877432823181, -0.4349752366542816, -0.6623335480690002, -0.4899062216281891, 0.12552477419376373, -0.773970901966095, 1.224077820777893, 0.02890215441584587, -0.12909309566020966, -0.49177536368370056, -0.10723935067653656, -0.22790788114070892, -0.49410223960876465, -0.5137048363685608, -0.09718770533800125, 0.3744461238384247, 0.3271940052509308, 0.48620912432670593, 0.5816685557365417, 0.23459844291210175, 0.33453676104545593, 0.1031523048877716, 0.5093163251876831, -0.5626349449157715, 0.056710612028837204, -0.173129603266716, -0.3051573932170868, -0.5900456309318542, -0.2918488085269928, 0.4983811676502228, 0.8234887719154358, -0.47435447573661804, 0.058439500629901886, -0.06858204305171967, 0.48377081751823425, -0.4081804156303406, 0.370425283908844, -0.6907183527946472, 0.12817378342151642, -0.05612390115857124, -0.5719676613807678, -0.37311893701553345, -0.5401877164840698, 0.25321435928344727, -0.9380013346672058, 0.5202550292015076, 0.12870407104492188, 0.9610273838043213, 0.14849808812141418, -0.23451760411262512, -0.5192448496818542, -0.7417528629302979, 0.4182661771774292, -0.4072886109352112, 0.2997298836708069, 0.26398003101348877, 0.07763717323541641, -0.11402052640914917, -0.758847713470459, -0.7563146948814392, -0.01779230311512947, -0.28390488028526306, 0.16815362870693207, 0.027704333886504173, -0.024998212233185768, 0.29522472620010376, 0.3882855772972107, -0.7789859771728516, -0.17428316175937653, -0.664238452911377, -0.2524690628051758, 0.5550166964530945, 0.18826623260974884, 0.39541393518447876, -0.2406575232744217, -0.38531631231307983, 0.1043977439403534, -0.7279818654060364, -0.4522803723812103, 0.2801779508590698, 0.11341368407011032, -0.06974637508392334, 0.7154009342193604, 0.1570250689983368, 0.3277852237224579, 0.22822627425193787, -0.5298740267753601, 0.19131237268447876, -0.05282655358314514, -0.10307583212852478, 0.621972382068634, 0.2868281304836273, 0.6175288558006287, -0.1089140772819519, -0.6202351450920105, -0.27447929978370667, 0.3340100049972534, 0.5865751504898071, -1.0135056972503662, -0.25175222754478455, 0.36023131012916565, -0.66617751121521, -0.07595477998256683, 0.14425481855869293, -0.8216150999069214, -0.3864102065563202, -0.5015068054199219, 0.4642823040485382, -0.6853205561637878, -0.37555167078971863, 0.024136561900377274, -0.46760430932044983, 0.08589256554841995, 0.5617730617523193, -0.6911321878433228, 0.4761243462562561, 0.7748549580574036, 1.0702871084213257, -0.4248439371585846, -0.05860939994454384, -0.33575549721717834, 0.34067150950431824, -0.29289892315864563, 1.1140415668487549, -0.06109020859003067, -0.44002074003219604, -0.230107843875885, -0.1582050770521164, 0.004509099293500185, -0.5681555271148682, 0.33855289220809937, -0.41587185859680176, 0.3114871680736542, -0.43975481390953064, -0.905947744846344, -0.37255242466926575, 0.11981175094842911, -0.7811518311500549, 0.5037335753440857, -0.06891803443431854, -0.9382708072662354, 0.4647873044013977, -0.5558324456214905, -0.5617198944091797, -0.0355980210006237, -0.44526052474975586, -0.47637346386909485, 0.43931248784065247, 0.055947836488485336, 0.3052310645580292, 0.0009824460139498115, 0.43857261538505554, -0.22836825251579285, -0.3796871304512024, 0.2564849853515625, 0.14622078835964203, 0.48656994104385376, 0.1989022046327591, -0.3205230236053467, 0.08181247860193253, -0.8944980502128601, -0.4939327836036682, 0.05054678022861481, -0.021496156230568886, -0.3854508399963379, 0.21826677024364471, -0.19851185381412506, 0.11566809564828873, -0.14836515486240387, -0.11002250015735626, -0.12544764578342438, -0.5889111757278442, -0.12306851148605347, 0.7560481429100037, 0.3356601893901825, 0.47836875915527344, -0.5627415180206299, 0.34721994400024414, 0.3863148093223572, -0.30305802822113037, -0.19202129542827606, -0.3470255732536316, -0.9489549994468689, -0.24192751944065094, 0.12438097596168518, 0.28635695576667786, -0.8616142868995667, 0.7454094290733337, -0.2910078763961792, -0.33175966143608093, -0.21787405014038086, -0.20357106626033783, 0.012254142202436924, 0.8841515779495239, 0.35882338881492615, -0.5506105422973633, -0.7890733480453491, -0.8892022967338562, -0.15547749400138855, -0.12560775876045227, -0.06376323103904724, -0.12332422286272049, 0.6404110193252563, -0.09415305405855179, 0.666290819644928, -0.5619911551475525, -0.35069194436073303, -0.30861160159111023, 0.33204683661460876, -0.05803271383047104, 0.306965172290802, 0.610480546951294, -0.6478657126426697, 0.003964233677834272, -0.37634962797164917, -0.9351513981819153, 0.2704795300960541, -0.2788633704185486, 0.06721213459968567, 0.29041892290115356, 0.3341003656387329, -1.0827903747558594, 0.4885922968387604, 0.013187269680202007, -0.18501608073711395, 0.7041110396385193, -0.11036209017038345, 0.011374893598258495, -1.0465474128723145, 0.18983681499958038, -0.09347184747457504, -0.1871235966682434, -0.323320597410202, -0.17143963277339935, -0.3417281210422516, -0.23890917003154755, -0.041945748031139374, 0.30676934123039246, -0.37665656208992004, -0.4148063361644745, -0.33509281277656555, 0.4366290867328644, 0.0036043785512447357, 0.47991836071014404, 0.44348639249801636, 0.6216751337051392, 0.541264533996582, -0.9533491730690002, 0.09125565737485886, 0.32505351305007935, -0.5492914915084839, 0.3861654996871948, -0.4583419859409332, -0.19975760579109192, -0.6549464464187622, 0.2889609932899475, -0.6617873311042786, -0.33093810081481934, 0.2384520173072815, -0.34389957785606384, 0.20188000798225403, 0.07370017468929291, -0.2587226927280426, 0.14450234174728394, -0.4904756546020508, -0.12222307175397873, 0.27998292446136475, -0.5024822354316711, 0.745370090007782, 0.8572767972946167, -0.2876269817352295, -0.4514607787132263, -0.4262527525424957, 0.11895973980426788, -0.34258490800857544, -0.44191715121269226, 0.684395968914032, -0.1269119381904602, -0.5276919603347778, 0.36757892370224, -0.3380606770515442, 0.03264831751585007, 0.024636611342430115, 0.3577941954135895, 0.2692173719406128, -0.36158278584480286, 0.22709695994853973, 0.2358909398317337, -0.3645651340484619, 0.43812108039855957, -0.3935376703739166, 0.4091758131980896, -0.02418140321969986, 0.01889406144618988, -0.2852557599544525, 0.5085022449493408, 0.4661145806312561, 0.013917312026023865, 1.044669508934021, 0.49775582551956177, -0.6502887010574341, -0.45686063170433044, -0.4156947433948517, -0.35875198245048523, -0.34840402007102966, 0.25591498613357544, -0.3451736569404602, -0.6103711128234863, 0.613002359867096, -0.007254625670611858, 0.2395051270723343, 0.6550999283790588, 0.6603442430496216, 0.04006064310669899, 0.8467363715171814, 0.5501303672790527, 0.21784304082393646, 0.07613330334424973, -0.2561243176460266, 0.3556972146034241, -0.37506839632987976, -0.41924214363098145, -0.29301413893699646, 0.13040108978748322, -0.4200226068496704, -0.30153417587280273, 0.5511424541473389, -0.09725628793239594, 0.33972278237342834, 0.10881268978118896, -0.4202064275741577, 0.3664453625679016, 0.3212496340274811, 0.019310778006911278, 0.28901880979537964, 0.27972593903541565, -0.10715357214212418, 0.01391015574336052, -0.7379220128059387, -0.7052021622657776, 0.978138267993927, 0.14688652753829956, 0.4956033527851105, 0.18533959984779358, 0.7330672144889832, 0.3782943785190582, 0.30970099568367004, -0.6501225829124451, 0.6229168176651001, 0.09052813053131104, -0.5541584491729736, -0.16223588585853577, -0.6168257594108582, -0.6847408413887024, 0.43369174003601074, -0.4151802659034729, -0.6084944605827332, 0.09124989062547684, 0.19525547325611115, -0.5048035979270935, 0.2892749309539795, -0.6481695771217346, 0.49080613255500793, -0.1097622811794281, 0.0214037224650383, -0.5044630169868469, -0.3686218857765198, 0.7543727159500122, 0.06669280678033829, 0.28396883606910706, 0.03541780635714531, 0.09000877290964127, 0.8918410539627075, -0.6237873435020447, 0.6110914349555969, -0.16236115992069244, -0.10023035109043121, 0.32418808341026306, 0.05582674220204353, 0.4063052833080292, 0.49763432145118713, 0.11897297948598862, -0.006606033071875572, -0.17957071959972382, -0.1862344592809677, -0.6702296733856201, 0.8141134977340698, -0.6592533588409424, -0.505045473575592, -0.5955948829650879, -0.3133394718170166, -0.03168684244155884, 0.0613180473446846, 0.5688890814781189, 0.6883233189582825, -0.36726582050323486, -0.17002706229686737, 1.1161704063415527, -0.23140379786491394, 0.21927818655967712, 0.3236254155635834, -0.3024648129940033, -0.40207213163375854, 0.9956766963005066, 0.4771677851676941, -0.4049261808395386, 0.29626280069351196, -0.2685836851596832, -0.4287010431289673, -0.718876302242279, -0.2815726399421692, 0.3525150716304779, -0.7482645511627197, -0.12126406282186508, -0.9551359415054321, -0.22703836858272552, -0.46452054381370544, -0.12020468711853027, -0.3318789303302765, -0.8958147764205933, -0.3460034728050232, -0.5243269801139832, 0.152176633477211, 0.6693745851516724, -0.08751384168863297, 0.01072848029434681, -0.548128604888916, 0.813367486000061, 0.22953729331493378, 0.4023291766643524, -0.04404361918568611, -0.29577845335006714, -0.26146915555000305, -0.39630749821662903, -0.12182006239891052, -1.1177036762237549, 0.3778662383556366, 0.11562610417604446, 0.5036687254905701, 0.6819321513175964, 0.22081933915615082, 0.7873745560646057, -0.37106576561927795, 0.6564468145370483, 0.23545557260513306, -0.8677987456321716, 0.40818163752555847, -0.07957891374826431, -0.1909244954586029, 0.3280608355998993, 0.4415798485279083, -0.2813497483730316, -0.5334115028381348, -0.8853867650032043, -0.9924170970916748, 0.6358752846717834, 0.3282512128353119, -0.22438855469226837, -0.13664785027503967, 0.4570637345314026, 0.6003751754760742, 0.3857574164867401, -0.6267988085746765, -0.49500876665115356, -0.49032309651374817, -0.12207068502902985, -0.0410393588244915, -0.48066502809524536, -0.27287617325782776, -0.16441725194454193, 0.9968878030776978, 0.09217487275600433, 0.4842384457588196, 0.2622358202934265, -0.5053677558898926, -0.1332794725894928, 0.09619313478469849, 1.0054264068603516, 1.2182281017303467, -0.3370618522167206, 0.6367506384849548, 0.24551719427108765, -0.29287973046302795, -0.1051798090338707, 0.14712689816951752, -0.4568609297275543, 0.586654543876648, 0.42862486839294434, 0.9022637009620667, 0.24689950048923492, -0.6023362278938293, 0.3693649172782898, -0.3492812216281891, -0.154380664229393, -0.7986942529678345, 0.16411206126213074, 0.11762993037700653, -0.07086597383022308, 0.2980509102344513, 0.21052023768424988, 0.36081406474113464, -0.47536328434944153, 0.4238293170928955, 0.005934820510447025, -0.060473937541246414, -0.6213827729225159, 0.5354517698287964, 0.2248709499835968, 0.11519192904233932, 0.4545876979827881, -0.492883563041687, -0.3192596733570099, 0.32597970962524414, 0.6344651579856873, 0.7539981603622437, 0.051570530980825424, 0.40175068378448486, 0.4898942708969116, 0.3833635151386261, -0.042332958430051804, 0.13779886066913605, 0.0023644992616027594, -0.6256377100944519, -0.34185531735420227, -0.502892255783081, -0.21488237380981445, 0.5027197003364563, -0.7210318446159363, 0.10289786756038666, -0.5643893480300903, -0.14455251395702362, 0.23584288358688354, -0.1301136463880539, -0.3929269015789032, 0.1412140280008316, 0.1201600655913353, 0.7464255094528198, -0.7717931866645813, 0.4886961579322815, 0.5913324356079102, -0.5362581014633179, -0.377015620470047, -0.09100500494241714, 0.09491659700870514, -0.3148448169231415, 0.15453018248081207, 0.25888487696647644, -0.08781388401985168, -0.2022230178117752, -0.2414541244506836, -0.6060206890106201, 0.8697070479393005, 0.5870633125305176, -0.3360360264778137, -0.23019938170909882, -0.11496948450803757, 0.2547016441822052, -0.431673139333725, -0.0037230588495731354, 0.4181157648563385, 0.482555091381073, -0.28207358717918396, -0.42029044032096863, 0.19657468795776367, -0.24830129742622375, -0.15124806761741638, 0.13355469703674316, -0.34212926030158997, 0.7687844038009644, -0.18306876718997955, -0.4828753173351288, -0.24104434251785278, 1.0382848978042603, 0.34580186009407043, 0.46386513113975525, 0.5656740665435791, 0.6566060781478882, 1.0904016494750977, 0.02374478615820408, 0.8349594473838806, -0.4282933473587036, 0.17123933136463165, 1.1561628580093384, -0.2527846097946167, 0.3874461054801941, 0.5416499376296997, 0.21246615052223206, 0.7473007440567017, 0.4359065890312195, 0.04871948063373566, 0.4982280433177948, 0.02086256816983223, -0.18059028685092926, -0.2168269008398056, 0.015540624037384987, -0.5735675692558289, 0.41298726201057434, 0.6358206868171692, -0.22909443080425262, -0.48326757550239563, -0.025399530306458473, 0.1936642974615097, 0.01098624523729086, -0.26510629057884216, 0.8844699263572693, 0.1781020313501358, -0.9271025657653809, 0.19887924194335938, 0.3088891804218292, 0.17198218405246735, -0.5931099653244019, -0.18389223515987396, -0.20408980548381805, 0.0566568449139595, -0.2747490406036377, -0.35144320130348206, 0.700992226600647, 0.07683663815259933, -0.3542609214782715, -0.10209668427705765, 0.9467569589614868, -0.4759140610694885, -0.32932981848716736, -0.045552823692560196, 0.3853827118873596, 0.2967448830604553, -0.20830006897449493, -0.45015624165534973, -0.07895995676517487, -0.2852093279361725, 0.0007102480158209801, 0.2983759045600891, 0.5603078603744507, 0.031156955286860466, 0.5083158016204834, 0.4742894470691681, 0.14843158423900604, -0.1497243493795395, -0.19676892459392548, 0.9169869422912598, -0.6535559892654419, -0.9484847187995911, -0.6377436518669128, 0.4448654055595398, -0.37555959820747375, -0.24610836803913116, 0.9005623459815979, 0.9429786205291748, 0.6218867897987366, -0.29603445529937744, 0.8524810671806335, 0.0016788850771263242, 0.5157432556152344, -0.7654372453689575, 0.9846195578575134, -0.2592598795890808, 0.4253280758857727, -0.02205570973455906, -0.8913134336471558, -0.09976337105035782, 0.724014937877655, 0.030927153304219246, -0.15276287496089935, 0.8052222728729248, 0.7655825614929199, -0.10799161344766617, 0.06838924437761307, 0.11068834364414215, 0.376099556684494, -0.02562122792005539, 0.054462235420942307, 0.8485456109046936, -0.2202681303024292, 0.40311431884765625, -0.31139490008354187, -0.03658130019903183, -0.3700243830680847, -0.698901355266571, -1.0624622106552124, -0.7797410488128662, -0.6465775370597839, -0.5832299590110779, 0.05632477626204491, 0.8830199241638184, 0.7007646560668945, -0.9727665185928345, -0.14962835609912872, -0.03831903636455536, 0.5721675753593445, -0.12198955565690994, -0.2766612768173218, 0.6341652870178223, -0.31027185916900635, -0.1951533704996109, 0.39800122380256653, 0.545185923576355, 0.021746080368757248, -0.21246857941150665, -0.21199393272399902, 0.11345195025205612, 0.34317055344581604, 0.653633177280426, 0.11111632734537125, -0.6221900582313538, -0.1996050924062729, -0.2835732400417328, 0.044808369129896164, 0.06096658855676651, 1.1162526607513428, -0.7335472106933594, 0.4165332317352295, 0.3537469804286957, 0.3294694423675537, 0.7103239893913269, 0.00020353765285108238, 0.6039409041404724, -0.8034114837646484, 0.14029687643051147, 0.12455065548419952, 0.4720775783061981, 0.21340084075927734, -0.37807697057724, 0.3042261600494385, 0.4539676606655121, 0.009232338517904282, -0.953035295009613, 0.08810657262802124, -1.007162094116211, -0.5468321442604065, 0.5576517581939697, -0.057502381503582, -0.37884241342544556, -0.3366239070892334, 0.08659866452217102, 0.3705909252166748, -0.3212733566761017, 1.4025862216949463, 0.48182711005210876, -0.14725817739963531, -0.07014722377061844, -0.12323720753192902, 0.895866334438324, 0.1441141813993454, -1.0774599313735962, -0.11910894513130188, 0.7113300561904907, 0.27535438537597656, 0.32439371943473816, 0.7286432385444641, -0.18695515394210815, 0.4195167124271393, 0.2802807688713074, 0.1550290584564209, -0.15930087864398956, -0.565121591091156, -0.08969950675964355, 0.6101654171943665, -0.08098883181810379, 0.17851915955543518 ]
http://arxiv.org/abs/2402.18865v1
http://arxiv.org/pdf/2402.18865v1
Analyzing and Reducing Catastrophic Forgetting in Parameter Efficient Tuning
2024-02-29T05:27:45
2024-02-29T05:27:45
Weijieying Ren, Xinlong Li, Lei Wang, Tianxiang Zhao, Wei Qin
cs.LG
cs.LG, cs.AI, cs.CL
Existing research has shown that large language models (LLMs) exhibit remarkable performance in language understanding and generation. However, when LLMs are continuously fine-tuned on complex and diverse domain-specific downstream tasks, the inference performance on historical tasks decreases dramatically, which is known as a catastrophic forgetting problem. A trade-off needs to be kept between learning plasticity and memory stability. Plenty of existing works have explored strategies like memory replay, regularization and parameter isolation, but little is known about the geometric connection of various adjacent minima in the continual LLMs fine-tuning scenarios. In this work, we investigate the geometric connections of different minima through the lens of mode connectivity, which means different minima can be connected by a low-loss valley. Through extensive experiments, we uncover the mode connectivity phenomenon in the LLMs continual learning scenario and find that it can strike a balance between plasticity and stability. Building upon these findings, we propose a simple yet effective method called Interpolation-based LoRA (I-LoRA), which constructs a dual-memory experience replay framework based on LoRA parameter interpolations. Extensive experiments and analysis on eight domain-specific CL benchmarks demonstrate that I-LoRA consistently show significant improvement over the previous state-of-the-art approaches with up to $11\%$ performance gains, providing a strong baseline and insights for future research on the large language model continual learning problem. Our code is available at \url{https://github.com/which47/LLMCL}.
[ -0.6164865493774414, -1.2459189891815186, 0.5657708048820496, 0.038549717515707016, -0.1872643679380417, 0.058510757982730865, -0.3673549294471741, -0.17273271083831787, 0.06848388910293579, 0.5273628234863281, -0.7910276055335999, -0.51649010181427, -0.3250584900379181, -0.16918328404426575, -0.06832574307918549, 0.8220067620277405, -0.06094152852892876, -0.14846071600914001, -0.1611013263463974, -0.45512670278549194, -0.5715648531913757, -0.3959360718727112, -1.2036714553833008, -0.4218004643917084, 0.6972671151161194, 0.28757429122924805, 0.2963477075099945, 0.7232213020324707, 0.2618834674358368, 0.33420562744140625, -0.2044256329536438, 0.4905420243740082, -0.970886766910553, 0.047987598925828934, -0.051382459700107574, -0.6243596076965332, -0.42753127217292786, -0.16671358048915863, 1.0539807081222534, 0.7928491830825806, -0.28875643014907837, 0.11951158195734024, 0.5037311315536499, 1.0140440464019775, -0.29614296555519104, 0.20589487254619598, -1.084788203239441, -0.11975888162851334, -0.25451916456222534, -0.573059618473053, -0.37704193592071533, -0.32847464084625244, -0.08761287480592728, -0.48805832862854004, 0.1848536729812622, 0.14069050550460815, 0.9522727131843567, 0.5924158692359924, -0.12190573662519455, -0.15914414823055267, -0.8447698354721069, 0.7240955829620361, -0.7646756768226624, 0.2326204776763916, 0.4885860085487366, 0.34978151321411133, -0.38985496759414673, -0.2012108564376831, -0.3177843689918518, -0.30765777826309204, 0.23454059660434723, 0.032043274492025375, 0.010887977667152882, 0.06087789312005043, 0.2817029356956482, 0.1291927546262741, -0.26736533641815186, 0.3962687849998474, -0.4034215807914734, -0.08526207506656647, 0.35904666781425476, 0.38010746240615845, 0.14240601658821106, 0.25604569911956787, -0.10850448161363602, 0.14391374588012695, -1.2224997282028198, 0.12811081111431122, 0.4850403964519501, 0.4301993250846863, -0.3000197410583496, 0.34812411665916443, -0.012996486388146877, 0.6354076266288757, 0.03398172929883003, -0.45021432638168335, -0.2059178501367569, -0.0626971572637558, 0.07607635855674744, -0.27262431383132935, 0.4826382100582123, 0.12399828433990479, 0.3107713758945465, -0.17288337647914886, -0.07490885257720947, 0.16882802546024323, 0.17221273481845856, -0.3739132285118103, -0.32771047949790955, -0.09992925077676773, -0.3936394453048706, 0.2823183238506317, -0.23062480986118317, -0.7432361245155334, -0.040633197873830795, -0.5889614224433899, 0.4485093951225281, -0.7126099467277527, -0.016786513850092888, 0.06923035532236099, 0.5144252181053162, -0.10853973031044006, 0.30536162853240967, -0.9227173328399658, 0.29846131801605225, 0.6158249378204346, 1.0101934671401978, -0.22835591435432434, -0.47837895154953003, -0.6568596959114075, 0.29288700222969055, -0.14033474028110504, 0.7513835430145264, -0.23918035626411438, -0.16131019592285156, -0.0411062017083168, -0.026306452229619026, -0.2943398654460907, -0.8575748205184937, 0.272086501121521, -0.5222194790840149, -0.13935592770576477, -0.44810810685157776, -0.4298662841320038, -0.34166643023490906, 0.2770748734474182, -0.7078256011009216, 1.0206327438354492, -0.08593383431434631, -0.46523168683052063, 0.2310277223587036, -0.28364264965057373, -0.10429873317480087, -0.1875631958246231, -0.29017317295074463, -0.6848194003105164, 0.26670241355895996, -0.07034380733966827, 0.08602960407733917, -0.34360671043395996, 0.11366333812475204, -0.5773322582244873, -0.48532965779304504, 0.08773408830165863, -0.49310800433158875, 0.29579833149909973, -0.0544336773455143, -0.23056477308273315, 0.12828892469406128, -0.720634937286377, -0.17090635001659393, 0.05168565362691879, -0.6636158227920532, -0.3333459198474884, 0.3159874379634857, -0.26277658343315125, 0.2751220464706421, 0.08274774998426437, -0.1501038372516632, 0.19158440828323364, -0.25491929054260254, 0.5015318989753723, 0.9510113596916199, 0.08609017729759216, 0.09152282029390335, -0.5855976939201355, 0.44939738512039185, 0.22778671979904175, -0.011695672757923603, -0.09496329724788666, -0.31485259532928467, -1.2311885356903076, -0.1388999968767166, 0.09195201843976974, 0.42511647939682007, -0.705484926700592, 0.30410686135292053, -0.21828266978263855, -0.2419964224100113, -0.21904224157333374, 0.4171554744243622, 0.4610137939453125, 0.6241360902786255, 0.37477031350135803, -0.15801793336868286, -0.33517810702323914, -0.7777367830276489, -0.15513217449188232, -0.19274874031543732, 0.20425593852996826, 0.39119386672973633, 0.25096237659454346, -0.08505064994096756, 0.8661037683486938, -0.3161424696445465, -0.49580326676368713, -0.13581664860248566, -0.077915720641613, 0.25835907459259033, 0.4919408857822418, 0.7256173491477966, -0.25518375635147095, -0.45131179690361023, -0.04052214324474335, -0.6737820506095886, -0.045140352100133896, -0.2718890905380249, -0.27350419759750366, 0.5128809213638306, 0.6972382068634033, -0.35627445578575134, 0.27652597427368164, 0.7042398452758789, -0.23092563450336456, 0.4094008505344391, -0.4032759368419647, -0.10874570161104202, -0.7006962299346924, 0.13768212497234344, 0.08980853110551834, -0.10027613490819931, -0.27859121561050415, -0.10557496547698975, -0.060454025864601135, 0.09223011136054993, -0.18117520213127136, 0.3992789685726166, -0.4320615828037262, 0.07250124216079712, -0.21787427365779877, 0.2813190817832947, -0.33193814754486084, 0.8197255730628967, -0.39688509702682495, 0.7836061716079712, 0.46025002002716064, -0.8009980320930481, -0.05583525821566582, -0.08167432248592377, -0.14505915343761444, 0.414662629365921, -0.43660131096839905, 0.10282287001609802, -0.2623676359653473, 0.07307877391576767, -1.0363835096359253, 0.11622748523950577, 0.07926089316606522, -0.00436725839972496, 0.3684457242488861, -0.446731299161911, -0.5146285891532898, -0.03961425647139549, -0.0870901420712471, 0.3717959523200989, 0.5438346862792969, -0.5546191334724426, 0.6557410359382629, 0.4349631667137146, -0.26303645968437195, -0.14468900859355927, -0.23238223791122437, -0.08476543426513672, -0.6402153968811035, -0.5095092058181763, 0.040396202355623245, -0.33578211069107056, -0.13230063021183014, -0.1265852451324463, -0.14912289381027222, -0.018952228128910065, 0.08628623932600021, 0.27545827627182007, 0.2958652377128601, -0.45767873525619507, 0.012438061647117138, 0.47836223244667053, -0.387683242559433, -0.008403828367590904, -0.1803215593099594, 0.8730752468109131, -0.3950703740119934, -0.47056785225868225, -0.3964482247829437, 0.4783403277397156, 0.5617325901985168, 0.12992341816425323, 0.8567022681236267, 0.2975543141365051, -0.34736356139183044, -0.36369574069976807, -0.8429732918739319, -0.184373140335083, -0.5560452342033386, 0.4077465236186981, -0.4988877773284912, -1.0164357423782349, 0.7422547936439514, -0.4043540358543396, 0.09098515659570694, 0.3373206853866577, 0.5005121231079102, -0.30801650881767273, 0.6797832250595093, 0.8740426301956177, -0.1605222523212433, 0.3195968568325043, -0.3336038291454315, 0.17033208906650543, -0.7770445942878723, -0.23906368017196655, -0.24928249418735504, -0.43416786193847656, -0.36691275238990784, -0.23312333226203918, 0.7827680706977844, 0.5728601217269897, -0.2421608418226242, 0.06524690985679626, 0.012615553103387356, 0.47058671712875366, 0.3763611614704132, 0.23035144805908203, 0.5147873759269714, 0.30421918630599976, -0.2537840008735657, -0.3820876181125641, -0.7989505529403687, -0.419247031211853, 0.5637989044189453, 0.2688920497894287, 0.8342286944389343, 0.2729901075363159, 0.4148615896701813, -0.02607719413936138, 0.029652351513504982, -0.7099871039390564, 0.763314962387085, -0.2948025166988373, 0.00363479508087039, -0.23190058767795563, -0.6081638932228088, -0.9126504063606262, 0.12107009440660477, -0.2049054205417633, -0.8872691988945007, -0.2055174857378006, 0.6143047213554382, -0.4050810635089874, 0.4845408797264099, -0.32005059719085693, 0.44893911480903625, -0.08359038829803467, -0.5164524912834167, -0.6321221590042114, -0.29273760318756104, 0.3399202525615692, -0.28680551052093506, -0.058157362043857574, -0.3285435736179352, -0.023863088339567184, 0.46155017614364624, -0.27278876304626465, 0.9355742931365967, 0.05315948650240898, -0.16596826910972595, 0.26331469416618347, 0.2856597304344177, 0.40390634536743164, 0.2603802978992462, -0.046170398592948914, 0.31736889481544495, -0.014733213931322098, -0.4025324285030365, -0.49155035614967346, 1.0486407279968262, -0.6946676969528198, -0.48171907663345337, -0.0210524033755064, -0.584729015827179, -0.5575717091560364, 0.13414180278778076, 0.2657207250595093, 0.5503745079040527, 0.02230745740234852, 0.005827666725963354, 0.9844179153442383, -0.20870590209960938, 0.654938280582428, 0.482032835483551, -0.198635071516037, -0.21139563620090485, 1.021899700164795, 0.41325104236602783, 0.47226306796073914, 0.06689846515655518, 0.15777447819709778, -0.00794157013297081, -0.6829314827919006, -0.44336625933647156, 0.7971563339233398, -0.6178545951843262, -0.16448372602462769, -0.44428011775016785, -0.40146148204803467, 0.20207670331001282, -0.24030548334121704, -0.5510808229446411, -0.17434406280517578, -0.25031694769859314, 0.24346381425857544, 0.431670218706131, 0.6151056289672852, -0.0284414179623127, 0.3946097195148468, -0.685052752494812, 0.19719737768173218, 0.1300661563873291, 0.5573641061782837, 0.2501809597015381, -0.5212816596031189, -0.3544316291809082, -0.10590525716543198, -0.24759550392627716, -0.2654865086078644, 0.2555912435054779, 0.48100653290748596, 0.5431490540504456, 0.5159385204315186, -0.23806220293045044, 0.9928970336914062, -0.6742057800292969, 0.4939058721065521, 0.1181560605764389, -0.7352344989776611, 0.40273749828338623, -0.6262585520744324, 0.384763240814209, 0.6780615448951721, 0.271310955286026, -0.42155081033706665, -0.21092909574508667, -0.2509579658508301, -0.8502315282821655, 0.47081997990608215, -0.1854960322380066, -0.059436406940221786, 0.15850147604942322, 0.7085720300674438, 0.2044583112001419, -0.1287696212530136, -0.4352226257324219, -0.3838694989681244, 0.3816126883029938, -0.01700173318386078, 0.0046922024339437485, -0.4347047209739685, -0.25558075308799744, -0.31355640292167664, 0.6519367694854736, -0.47672364115715027, 0.1831262707710266, -0.3161714971065521, 0.002027590060606599, -0.14661557972431183, -0.2345498502254486, 0.7154948711395264, 0.858454167842865, -0.02853519655764103, -0.01625559851527214, 0.4108567237854004, -0.46118220686912537, -0.04201442003250122, -0.2858089804649353, -0.28426578640937805, -0.2104225903749466, 0.1639847755432129, 0.6651512980461121, 0.3448657989501953, -0.6404131650924683, -0.09768971800804138, -0.06581762433052063, -0.0034192416351288557, -0.5004083514213562, 0.24603894352912903, 0.18148218095302582, 0.2397490292787552, 0.16447976231575012, 0.1933576911687851, -0.3478442430496216, -0.4910072088241577, 0.2260393500328064, 0.5613230466842651, -0.42451709508895874, -0.4983012080192566, 0.6170268058776855, 0.036986880004405975, -0.22121071815490723, 0.6983768939971924, 0.13043063879013062, -0.2527182996273041, 0.38767290115356445, 0.8117727637290955, 0.5916925072669983, 0.031055942177772522, -0.1386336386203766, 0.5721356272697449, 0.2860914468765259, -0.10651890933513641, 0.2994336783885956, 0.06759382039308548, -0.4214724004268646, -0.4775206744670868, -0.6035299897193909, -0.1283303052186966, 0.21189145743846893, -0.670013427734375, 0.2520315647125244, -0.8510037660598755, -0.17195512354373932, -0.5732853412628174, -0.06049763411283493, -0.4333209991455078, -0.11155833303928375, -0.01704275608062744, 0.7846426367759705, -0.7490406036376953, 1.0930752754211426, 0.233455628156662, -0.28216758370399475, -0.6517733931541443, 0.08475781977176666, 0.30312472581863403, -0.7496835589408875, 0.30741021037101746, -0.04156995937228203, -0.6472403407096863, 0.011191866360604763, -0.278672456741333, -1.1336392164230347, 1.0127408504486084, 0.5745493769645691, -0.6994059681892395, -0.060077447444200516, 0.07504408806562424, 0.40072599053382874, -0.1781163066625595, -0.23820114135742188, 0.8152633309364319, 0.10699135065078735, 0.15635937452316284, -0.8396884799003601, -0.03369097411632538, -0.1257181018590927, 0.09188488125801086, 0.5280446410179138, -1.033789038658142, 0.7678345441818237, -0.11009471863508224, -0.2785651385784149, 0.46023568511009216, 0.6111015677452087, 0.5618810653686523, 0.12925902009010315, 0.5268945693969727, 0.7138941884040833, 0.6451685428619385, -0.22733451426029205, 0.5995510220527649, -0.35904595255851746, 0.5063760876655579, 1.155271053314209, 0.15474840998649597, 0.9508678317070007, 0.5407534241676331, -0.19397681951522827, 0.31546542048454285, 0.5128757953643799, 0.3530288338661194, 0.5278412103652954, 0.19170387089252472, -0.35749340057373047, -0.3864639699459076, 0.10736243426799774, -0.43842649459838867, 0.23223665356636047, 0.7187432050704956, -0.024404125288128853, -0.2781192362308502, -0.16098742187023163, 0.3189840614795685, 0.1406838297843933, -0.296355664730072, 0.5970767736434937, 0.32742276787757874, -0.5904167294502258, 0.8747536540031433, -0.2157401591539383, 0.6778395771980286, -0.8863970041275024, -0.09959651529788971, -0.5093695521354675, 0.40161970257759094, 0.008183201774954796, -0.268067866563797, 0.3995930850505829, -0.36650457978248596, -0.27675044536590576, 0.11727868020534515, 0.21863369643688202, -0.6117493510246277, -0.3872092366218567, 0.4699576199054718, 0.3185352087020874, -0.08225920796394348, 0.3106972575187683, -0.6310678124427795, 0.4561120867729187, -0.03858913853764534, -0.05522879585623741, 0.669955849647522, 0.39130038022994995, -0.06900579482316971, 0.9843285083770752, 0.584596574306488, 0.28712260723114014, 0.3465428650379181, -0.03731410577893257, 0.9040365219116211, -0.5799248218536377, -0.4014231860637665, -0.9248282313346863, 0.270481675863266, 0.17164774239063263, -0.5862794518470764, 0.7834913730621338, 0.4611266553401947, 0.6142873764038086, -0.007789268624037504, 0.45049574971199036, 0.32390260696411133, 0.35255274176597595, -1.0605275630950928, 0.8127711415290833, -0.5475640892982483, 0.5734272599220276, -0.20796792209148407, -1.107022762298584, -0.35179591178894043, 0.5155823826789856, -0.142854243516922, -0.05854695662856102, 0.7279375791549683, 0.8855639100074768, -0.3318355977535248, -0.34965869784355164, 0.4547445774078369, 0.4102194607257843, 0.33636748790740967, 0.7174107432365417, 0.7649310231208801, -0.23610185086727142, 0.32510602474212646, -0.15686821937561035, -0.2711658775806427, -0.17465908825397491, -0.831643283367157, -0.9676271677017212, -0.7221086621284485, -0.3105143904685974, -0.5214334726333618, 0.10051001608371735, 0.6585880517959595, 0.6409360766410828, -0.588351845741272, -0.37527742981910706, -0.0010339850559830666, -0.08977865427732468, -0.1719071865081787, -0.14875394105911255, 0.4468056857585907, -0.4920312762260437, -0.5618327260017395, 0.5350763201713562, 0.7251203656196594, -0.09668304771184921, -0.4822174608707428, -0.10381151735782623, -0.04396877810359001, 0.24975895881652832, 0.6380978226661682, 0.6128799915313721, -0.8882423043251038, -0.43099144101142883, -0.3734400272369385, 0.15792404115200043, 0.17850199341773987, 0.8337752223014832, -0.8385905027389526, 0.2652386426925659, 0.07057967782020569, 0.7274816632270813, 0.5507156848907471, -0.11778723448514938, 0.3995758295059204, -0.37036511301994324, 0.30092957615852356, -0.05122781917452812, 0.5468695759773254, 0.16410940885543823, -0.15685611963272095, 0.4230709671974182, 0.1885800063610077, -0.6559231281280518, -0.5654719471931458, 0.4428909122943878, -1.1106609106063843, -0.03515002131462097, 0.9860188364982605, -0.11337301135063171, -0.1891593337059021, -0.25699523091316223, -0.22418245673179626, -0.09443117678165436, -0.13119949400424957, 1.111319899559021, 0.3773830235004425, -0.283748984336853, -0.1736166924238205, -0.6536662578582764, 0.442055344581604, 0.5602497458457947, -0.7164463400840759, -0.09843676537275314, 0.5720999836921692, 0.527845561504364, -0.12063882499933243, 0.5742063522338867, 0.007509388495236635, -0.019211964681744576, -0.13083602488040924, -0.6379067301750183, 0.12127581238746643, -0.6172897815704346, -0.3599170446395874, 0.143682599067688, 0.2956045866012573, 0.08961755037307739 ]
http://arxiv.org/abs/2403.15407v1
http://arxiv.org/pdf/2403.15407v1
X-AMR Annotation Tool
2024-02-29T05:16:19
2024-02-29T05:16:19
Shafiuddin Rehan Ahmed, Jon Z. Cai, Martha Palmer, James H. Martin
cs.CL
cs.CL, cs.AI
This paper presents a novel Cross-document Abstract Meaning Representation (X-AMR) annotation tool designed for annotating key corpus-level event semantics. Leveraging machine assistance through the Prodigy Annotation Tool, we enhance the user experience, ensuring ease and efficiency in the annotation process. Through empirical analyses, we demonstrate the effectiveness of our tool in augmenting an existing event corpus, highlighting its advantages when integrated with GPT-4. Code and annotations: https://github.com/ahmeshaf/gpt_coref
[ -0.4427410364151001, -0.2369384467601776, 0.502591609954834, -0.18164144456386566, -0.5656650066375732, 0.43507707118988037, -0.10421029478311539, -0.8469252586364746, 0.48378124833106995, 0.058631688356399536, -0.6300960183143616, -0.6990207433700562, -0.7093634009361267, 0.11075396090745926, -0.4674328565597534, 1.157080054283142, -0.3364788889884949, -0.4387640357017517, 0.09851080924272537, -0.10118703544139862, -0.07648652046918869, -0.9853938221931458, -0.9614096879959106, -0.40192434191703796, 0.4535875916481018, -0.03891339525580406, 0.8212237358093262, 0.6013787984848022, 0.49490490555763245, 0.16274456679821014, 0.2564290761947632, -0.2880971431732178, -0.10072112083435059, 0.014120034873485565, -0.11041676998138428, -0.23658429086208344, -0.8162891864776611, 0.2105490267276764, 0.6889374852180481, 0.4316557049751282, 0.40428945422172546, -0.012868351303040981, -0.24155564606189728, 0.1619051694869995, -0.6488170027732849, 0.6938397288322449, -0.5078803300857544, 0.4057704508304596, -0.7144508957862854, -0.4224183261394501, -0.014710635878145695, -0.024048035964369774, 0.057030532509088516, -0.984484851360321, 0.140546053647995, 0.07550695538520813, 0.9764288067817688, 0.05844832956790924, -0.23676268756389618, -0.15943250060081482, -0.48315706849098206, 0.7205889821052551, -0.28769680857658386, 0.4285517632961273, 0.23924104869365692, 0.46338406205177307, 0.34618160128593445, -1.0186026096343994, -0.947319507598877, 0.0889800563454628, -0.41779935359954834, -0.005541672930121422, -0.2837916910648346, 0.2136741280555725, 0.15067407488822937, 0.5375123620033264, -0.37869250774383545, -0.20784235000610352, -0.3325361907482147, -0.3556181490421295, 0.7233313918113708, 0.42583730816841125, 0.39344969391822815, -0.28462037444114685, -0.06801656633615494, -0.1000482439994812, -0.6706424951553345, -0.1595923900604248, 0.5406975150108337, 0.16469259560108185, -0.3103543221950531, 0.4954783022403717, -0.04941113665699959, 0.43482786417007446, -0.1029011532664299, 0.14454124867916107, 0.7703447341918945, -0.5996956825256348, 0.057926442474126816, 0.2478349804878235, 0.6711454391479492, 0.4274115264415741, 0.24017319083213806, -0.43562307953834534, -0.12059660255908966, 0.05547045171260834, 0.02041073516011238, -0.6327913403511047, -0.3902256190776825, 0.03557799756526947, -0.4131143093109131, -0.3168654441833496, 0.19295427203178406, -0.8394294381141663, -0.23969407379627228, -0.34384799003601074, 0.5563969612121582, -0.27618131041526794, -0.18221953511238098, -0.010826981626451015, -0.6441652178764343, 0.46032989025115967, 0.43080106377601624, -0.789167582988739, 0.41501519083976746, 0.8376607298851013, 0.8329647779464722, -0.25706616044044495, -0.11183619499206543, -0.5086986422538757, 0.524778425693512, 0.04969573765993118, 0.694589376449585, -0.836983323097229, -0.7121639251708984, -0.11152057349681854, 0.09569409489631653, 0.05013635382056236, 0.08280157297849655, 1.2012574672698975, -0.4988915026187897, 0.07012511044740677, -0.1246243417263031, -0.514071524143219, -0.42791271209716797, 0.2813504934310913, -0.7595244646072388, 0.9020296931266785, 0.19232752919197083, -0.9493561387062073, 0.5021539330482483, -1.073488712310791, -0.5509639382362366, 0.24970723688602448, -0.8597128391265869, -0.3615487217903137, -0.2060256004333496, 0.32782211899757385, 0.38388121128082275, 0.08303000777959824, -0.4253636598587036, -0.17435429990291595, -0.13578733801841736, 0.34880292415618896, -0.11657072603702545, 0.44168296456336975, -0.13590624928474426, -0.5516401529312134, 0.2755047082901001, -1.0499719381332397, -0.05046121031045914, -0.041577283293008804, -0.15162286162376404, -0.3918302655220032, -0.0035862589720636606, 0.5551726222038269, 0.40857696533203125, 0.3918553590774536, -0.8072521686553955, 0.22433911263942719, -0.35803085565567017, 0.3147296905517578, 0.47837260365486145, 0.20118167996406555, 0.2780050039291382, -0.17152057588100433, 0.7316933274269104, -0.06652771681547165, -0.06697362661361694, -0.6684972643852234, -0.7716152667999268, -0.44679224491119385, -0.2934513986110687, 0.3001985549926758, 0.6636778116226196, -0.310854971408844, 0.5191501379013062, -0.23734813928604126, -0.19258730113506317, -0.7311450839042664, -0.24264848232269287, 0.39590808749198914, 0.43496382236480713, 0.45893287658691406, -0.235173299908638, -1.164281964302063, -0.8688247799873352, 0.08976548910140991, -0.3363321125507355, 0.04103939235210419, 0.050786733627319336, 0.6164141893386841, -0.08985927700996399, 1.0263917446136475, -0.43410226702690125, -0.6038538813591003, -0.059054382145404816, 0.6143877506256104, -0.04062626138329506, 0.43428221344947815, 0.5527569651603699, -0.8844518661499023, -0.3921494781970978, 0.567362368106842, -0.6401638984680176, -0.36049285531044006, -0.025148840621113777, 0.028455447405576706, 0.4581470787525177, 0.39904502034187317, -0.409772664308548, 0.901485025882721, 0.4225202798843384, -0.5594440698623657, 0.6745944023132324, 0.008214018307626247, 0.7488375306129456, -0.6680086255073547, 0.24386164546012878, -0.35088297724723816, -0.2732425034046173, -0.323527991771698, 0.06849022954702377, 0.24463577568531036, 0.008555589243769646, -0.27924349904060364, 0.7979868650436401, -0.5163325667381287, -0.06935786455869675, -0.6084772944450378, 0.29836514592170715, 0.12251176685094833, 0.18612051010131836, 0.4262542128562927, 0.7567392587661743, 0.3854520320892334, -0.03423174098134041, 0.296569287776947, 0.4780596196651459, 0.07064242660999298, 0.45083603262901306, -0.5289539098739624, 0.014695719815790653, 0.13135604560375214, 0.15256303548812866, -0.8671194911003113, -0.20331059396266937, 0.6611230373382568, -0.6807575225830078, 0.40439486503601074, -0.5180320739746094, -0.7328133583068848, -0.18830150365829468, -0.48277831077575684, 0.3394995331764221, 0.5937883853912354, -0.3315541744232178, 0.8913310170173645, 0.5269775986671448, -0.30589956045150757, -0.47589388489723206, -0.6747896075248718, 0.48723849654197693, -0.21506668627262115, -0.8960184454917908, 0.5948204398155212, 0.23652462661266327, -0.26665371656417847, 0.2587747573852539, 0.1455317884683609, 0.003309611463919282, -0.36229825019836426, 0.47613272070884705, 0.19208134710788727, -0.18686434626579285, -0.21016672253608704, 0.40025758743286133, -0.7753388285636902, 0.1593012809753418, -0.40372586250305176, 0.04812994971871376, -0.07929928600788116, -0.6463337540626526, -0.23021362721920013, 0.685221254825592, 0.2672313451766968, -0.3853012025356293, 0.30143269896507263, 0.6415914297103882, -0.5558328032493591, 0.29774796962738037, -0.36896979808807373, -0.043854545801877975, -0.3578636646270752, 0.13440380990505219, -0.7699184417724609, -1.0303646326065063, 0.7925484776496887, 0.4275458753108978, 0.03236420825123787, 0.4396626055240631, 0.6704131364822388, 0.3105217218399048, 1.0843473672866821, 0.42288801074028015, 0.07398716360330582, 0.17077262699604034, 0.004572054836899042, -0.011333242058753967, -0.9138612151145935, -0.19868925213813782, -0.5874425768852234, -0.3856465816497803, -0.24699659645557404, -0.6605111360549927, 0.322703093290329, -0.413695752620697, 0.15116716921329498, 0.14136174321174622, -0.3150741755962372, 0.3887149393558502, 0.4870249629020691, -0.47111421823501587, 0.6736732125282288, -0.4005023241043091, -0.028864122927188873, -0.3798025846481323, -0.14601503312587738, -0.7341700792312622, 1.0077470541000366, 0.30861562490463257, 0.7146517634391785, -0.03321370109915733, 0.8017337918281555, 0.149139404296875, 0.28880754113197327, -0.4575944244861603, 0.36907482147216797, 0.18274807929992676, -0.9605646729469299, -0.19320639967918396, 0.06978058069944382, -0.8421866297721863, 0.393949419260025, -0.2068643867969513, -1.0916107892990112, 0.26752081513404846, 0.023193836212158203, -0.35592857003211975, 0.44824886322021484, -0.4590837359428406, 1.0797878503799438, 0.14115752279758453, -0.04791492223739624, -0.10447937250137329, -0.7347557544708252, 0.28876954317092896, -0.5350631475448608, 0.2223121076822281, -0.23223967850208282, -0.6730898022651672, 0.9325651526451111, -0.3741188645362854, 0.9486600756645203, -0.07108207792043686, 0.1334834098815918, 0.25315383076667786, -0.20668475329875946, 0.655236005783081, 0.16028761863708496, -0.14859196543693542, 0.12291882932186127, 0.06919646263122559, -0.1688591092824936, -0.5677664875984192, 0.5444298386573792, -0.7161946296691895, -0.38751405477523804, -0.4696584939956665, -0.43084651231765747, 0.12130284309387207, 0.027614902704954147, 0.22862353920936584, 0.4811292886734009, -0.22925633192062378, -0.18657591938972473, 0.29137375950813293, 0.14704453945159912, 0.4160916805267334, 0.5181079506874084, -0.4462456703186035, -0.5782515406608582, 0.44133391976356506, 0.24803155660629272, -0.2568966746330261, 0.7285760045051575, -0.16721634566783905, -0.4529321491718292, -0.8424452543258667, -0.6824235916137695, -0.06914722919464111, -1.0333349704742432, -0.14997370541095734, -1.1902436017990112, 0.028900135308504105, -0.29656097292900085, -0.5820697546005249, 0.10931601375341415, -1.0973492860794067, -0.1894121915102005, -0.5233890414237976, 0.6662279963493347, 0.27846282720565796, -0.3680688440799713, 0.4982508718967438, -1.0560340881347656, 0.1222667247056961, -0.15854787826538086, 0.12185577303171158, -0.2609768509864807, -0.35484579205513, -0.3799787759780884, -0.6528418660163879, -0.3225960433483124, -1.0525707006454468, 0.17334778606891632, 0.3582397401332855, 0.9045281410217285, 0.42449983954429626, 0.10416100919246674, 0.385393887758255, -0.5643061399459839, 0.872297465801239, 0.13968709111213684, -1.1751344203948975, 0.7122830152511597, -0.5587371587753296, 0.10811831802129745, 0.568855881690979, 0.45556655526161194, -0.6662158966064453, -0.6972816586494446, -0.920464277267456, -1.050318956375122, 0.5148981213569641, 0.421142041683197, 0.06361743062734604, -0.23193244636058807, 0.42766621708869934, 0.5199978351593018, 0.1715366244316101, -0.7042369246482849, -0.6023740768432617, -0.22653158009052277, -0.2045179158449173, 0.06475427746772766, -0.07070162147283554, 0.0007479566847905517, -0.07479226589202881, 0.8623173236846924, -0.08318252861499786, 0.10202194005250931, 0.16094380617141724, -0.07883337140083313, -0.3076708912849426, 0.31104400753974915, 0.2440354973077774, 0.7493812441825867, -0.29379042983055115, 0.2928413450717926, 0.08026222139596939, -0.607650876045227, 0.1971711963415146, 0.8591954708099365, -0.14155961573123932, 0.20956024527549744, 0.6163798570632935, 0.6299291849136353, 0.4574468731880188, -0.49618658423423767, 0.7318090796470642, -0.07728581875562668, -0.17224502563476562, -0.5128042697906494, -0.024553529918193817, -0.013452568091452122, 0.08041665703058243, 0.7261908054351807, -0.33929455280303955, 0.566729724407196, -0.20279404520988464, 0.6946484446525574, 0.26404422521591187, -0.6885871887207031, -0.7050734758377075, 1.041518211364746, 0.401911199092865, 0.15166181325912476, 0.10256312787532806, -0.696066677570343, -0.5255495309829712, 0.1389954388141632, 0.3065601587295532, 1.0710633993148804, 0.11397149413824081, -0.2036733329296112, 0.20790180563926697, 0.4969823360443115, 0.6790101528167725, 0.4386421740055084, -0.0031165964901447296, -0.42322856187820435, -1.081445574760437, -0.5747964382171631, -0.5276873707771301, -0.08230533450841904, -0.36652639508247375, 0.5174208283424377, -0.21328997611999512, 0.015173807740211487, 0.3445959687232971, 0.24742361903190613, -0.4559769928455353, 0.13784755766391754, 0.41627880930900574, 1.0949193239212036, -0.8521921038627625, 1.008901834487915, 1.1343121528625488, -0.9591296911239624, -0.43312186002731323, -0.22937701642513275, 0.3892606794834137, -0.7492060661315918, 0.8090522289276123, -0.06688385456800461, 0.20209556818008423, 0.08243551850318909, 0.20422245562076569, -0.6875966191291809, 1.0314909219741821, -0.1431213915348053, -0.5032188296318054, 0.06261224299669266, 0.19443748891353607, 0.28846049308776855, -0.5173940658569336, 0.241450235247612, 0.5956053137779236, 0.9246946573257446, 0.1633996218442917, -0.9923545122146606, 0.37762925028800964, -0.3807089030742645, -0.3232470452785492, 0.797408401966095, 0.06534897536039352, 0.44839993119239807, -0.1172814592719078, -0.27059322595596313, 0.17518271505832672, 1.0211156606674194, 0.0777822732925415, 0.6569277048110962, 0.2968192398548126, 0.6822458505630493, 0.6098006367683411, -0.22199127078056335, 1.0582808256149292, -0.3591145873069763, 0.12624859809875488, 1.054579496383667, -0.1550210565328598, 0.5506740212440491, 0.4788348078727722, -0.2634636163711548, 0.5107400417327881, 0.43035662174224854, 0.20816540718078613, 0.4013419449329376, 0.22594891488552094, -0.7838894128799438, -0.07879900187253952, 0.4810781478881836, -0.4823472499847412, 0.06365229189395905, 0.5886139869689941, -0.3609005808830261, -0.6256352066993713, 0.30659329891204834, 0.37168580293655396, -0.18083733320236206, -0.3268142640590668, 0.5523493885993958, 0.07233958691358566, -0.12332259118556976, 0.018404781818389893, 0.12595774233341217, 0.566375195980072, -0.7629581689834595, -0.15184760093688965, 0.25842708349227905, 0.2080947756767273, -0.32078036665916443, -1.1906516551971436, 0.735174834728241, -0.19593439996242523, -0.3306703567504883, 0.22010299563407898, 1.0599520206451416, -0.19928748905658722, -0.40871748328208923, 0.41158515214920044, 0.6447680592536926, 0.31776896119117737, -0.22987745702266693, -0.8395755887031555, 0.616145133972168, -0.2532261908054352, -0.19508765637874603, 0.32598569989204407, 0.8455303311347961, -0.46274423599243164, 0.25381723046302795, 0.3766711354255676, -0.004409899935126305, 0.29919126629829407, 0.149843230843544, 0.7190116047859192, -0.8487484455108643, -0.6793646216392517, -0.8497216105461121, 0.7065014839172363, -0.13885577023029327, -0.3148954212665558, 0.6593329906463623, 0.7643531560897827, 0.8531116843223572, 0.0007551178568974137, 1.5503839254379272, -0.41323626041412354, 0.5982725024223328, -0.20598402619361877, 0.5187318325042725, -0.031502123922109604, -0.05363933742046356, -0.3578701913356781, -0.7077377438545227, -0.7388358116149902, 0.48582935333251953, -0.6041101217269897, -0.02857075445353985, 0.6827948093414307, 0.6167560815811157, -0.20544371008872986, 0.33946213126182556, 0.4618484377861023, -0.1536361128091812, 0.4254562258720398, 0.36483851075172424, 1.0416244268417358, -0.41913309693336487, 0.678062915802002, -0.06337009370326996, -0.6136617064476013, -0.27574750781059265, -1.3019479513168335, -0.824079692363739, -0.7692381739616394, -0.8245700597763062, -0.06111780181527138, 0.37146297097206116, 1.0478241443634033, 0.6832042932510376, -0.7714534997940063, 0.08438551425933838, 0.3396257162094116, -0.17442239820957184, -0.21161654591560364, -0.19881601631641388, 0.6116073131561279, -0.7027303576469421, -0.7980754375457764, 0.1682598888874054, 0.3960336148738861, 0.24659405648708344, -0.14288365840911865, -0.14084139466285706, 0.08624342828989029, -0.14353500306606293, 0.6155077815055847, 0.38117316365242004, -0.42364221811294556, -0.7003743052482605, -0.5201311707496643, 0.3083198666572571, 0.12061489373445511, 0.9353704452514648, -0.9222577214241028, 0.06199256330728531, 0.4846365451812744, 0.6846972107887268, 0.7154117226600647, -0.3148100972175598, 0.652779221534729, -1.0357002019882202, -0.12589511275291443, 0.01638008840382099, 0.5969789624214172, 0.30211636424064636, -0.3122630715370178, 0.7789138555526733, 0.3760796785354614, -0.4132192134857178, -0.4845596253871918, 0.01054855715483427, -1.306504249572754, 0.06890568882226944, 0.9726741909980774, -0.2917047142982483, -0.1557561457157135, -0.7450072765350342, -0.5381661653518677, 0.047454845160245895, -0.4868173897266388, 0.4260326027870178, 0.7652544379234314, -0.5398715138435364, -0.3229005038738251, -0.6413162350654602, 0.6509703397750854, -0.41243019700050354, -0.8310668468475342, 0.055069249123334885, 0.49035948514938354, -0.0019755454268306494, 0.45366403460502625, 1.0180535316467285, -0.7335816621780396, 0.5136790871620178, 0.06338589638471603, 0.44807517528533936, -0.2772766053676605, 0.1516823172569275, -0.2461795210838318, 0.31616508960723877, 0.15305857360363007, -0.24596808850765228 ]
http://arxiv.org/abs/2402.18849v1
http://arxiv.org/pdf/2402.18849v1
Enhancing Steganographic Text Extraction: Evaluating the Impact of NLP Models on Accuracy and Semantic Coherence
2024-02-29T04:53:06
2024-02-29T04:53:06
Mingyang Li, Maoqin Yuan, Luyao Li, Han Pengsihua
cs.CV
cs.CV, cs.AI, cs.CL
This study discusses a new method combining image steganography technology with Natural Language Processing (NLP) large models, aimed at improving the accuracy and robustness of extracting steganographic text. Traditional Least Significant Bit (LSB) steganography techniques face challenges in accuracy and robustness of information extraction when dealing with complex character encoding, such as Chinese characters. To address this issue, this study proposes an innovative LSB-NLP hybrid framework. This framework integrates the advanced capabilities of NLP large models, such as error detection, correction, and semantic consistency analysis, as well as information reconstruction techniques, thereby significantly enhancing the robustness of steganographic text extraction. Experimental results show that the LSB-NLP hybrid framework excels in improving the extraction accuracy of steganographic text, especially in handling Chinese characters. The findings of this study not only confirm the effectiveness of combining image steganography technology and NLP large models but also propose new ideas for research and application in the field of information hiding. The successful implementation of this interdisciplinary approach demonstrates the great potential of integrating image steganography technology with natural language processing technology in solving complex information processing problems.
[ -0.1985107958316803, -1.1611789464950562, 0.10096991062164307, 0.27395614981651306, -0.660720705986023, 0.4026302993297577, -0.285761296749115, -1.1848329305648804, 0.47095590829849243, 0.5936758518218994, -0.010235168039798737, -0.7111587524414062, -0.7727590203285217, 0.19145391881465912, -0.5133909583091736, 0.550100564956665, -0.025614485144615173, 0.3731446862220764, 0.3451140820980072, 0.07000679522752762, -0.533915638923645, -0.5211397409439087, -0.6023759841918945, 0.08723761141300201, -0.025843163952231407, -0.23983938992023468, 1.0227915048599243, 0.6720184087753296, 0.860393226146698, 0.28346380591392517, -0.3012717366218567, 0.3522651791572571, -0.17695000767707825, 0.20282061398029327, -0.33670803904533386, -0.09241785109043121, -0.43101149797439575, -0.445290744304657, 0.8882092237472534, 0.3672868609428406, 0.07424245774745941, -0.2614922821521759, -0.024430369958281517, 0.3885236978530884, -0.5024639368057251, 0.19900885224342346, -0.5450643301010132, 0.04735790565609932, -0.27886712551116943, -0.359739750623703, -0.4895506799221039, -0.26629889011383057, 0.10198678076267242, -0.4546440839767456, 0.24238498508930206, 0.3202359080314636, 1.146277904510498, -0.04349159821867943, -0.16602185368537903, -0.3813534080982208, -0.8925167322158813, 0.7979401350021362, -0.9636295437812805, 0.44858822226524353, 0.18664641678333282, 0.19379496574401855, -0.1658305674791336, -0.7213423252105713, -0.5461338758468628, -0.008986817672848701, 0.06686251610517502, 0.08295172452926636, -0.12794345617294312, 0.10189888626337051, 0.16417966783046722, 0.5657526850700378, -0.3616352677345276, 0.24590115249156952, -0.2820204794406891, -0.572445273399353, 0.7358747124671936, -0.16822966933250427, 0.7218735218048096, -0.3559236526489258, -0.5770937204360962, -0.20869088172912598, -0.45956355333328247, -0.06038382276892662, 0.15247200429439545, 0.16790008544921875, 0.1253729909658432, 0.6106345057487488, -0.008939160965383053, 0.5371915102005005, -0.11770541965961456, -0.3200887143611908, -0.02662506327033043, -0.5401140451431274, -0.3424440026283264, 0.11608847230672836, 0.9199841022491455, 0.2024543583393097, -0.33758553862571716, -0.41567593812942505, -0.32757359743118286, 0.02384478971362114, -0.132036492228508, -0.8078495860099792, -0.09328342974185944, 0.04186522588133812, -0.7024291753768921, -0.32339900732040405, 0.3454599380493164, -0.9804220795631409, -0.49008819460868835, -0.09720232337713242, 0.4330914616584778, -0.6465898752212524, -0.45197048783302307, 0.39800921082496643, -0.3576726019382477, 0.3095732033252716, 0.4112095832824707, -0.8943778872489929, 0.43497294187545776, 0.896026611328125, 0.9768222570419312, -0.6169952750205994, 0.3254244923591614, -0.3957907557487488, 0.45434337854385376, -0.21573583781719208, 0.37054872512817383, -0.36988645792007446, -0.09614919871091843, -0.1430806815624237, 0.14047305285930634, 0.2299509197473526, -0.5820218324661255, 0.8204711079597473, -0.8152746558189392, 0.08939998596906662, -0.12103277444839478, -0.6532015204429626, -0.36476150155067444, 0.07684651762247086, -1.3368446826934814, 0.8907354474067688, -0.32934242486953735, -0.7943804264068604, 0.16825444996356964, -0.5379711985588074, -0.5020065307617188, 0.3763338327407837, -0.1499267965555191, -0.611578643321991, -0.11811099946498871, 0.1712622195482254, 0.44486311078071594, -0.2996431589126587, 0.5899933576583862, -0.31696608662605286, -0.5198313593864441, 0.017257681116461754, -0.6798909902572632, 1.078261375427246, -0.06041369214653969, -0.462832510471344, -0.010136308148503304, -0.8648907542228699, -0.11154056340456009, 0.2678382396697998, -0.38877415657043457, -0.7647784352302551, -0.3637809157371521, 0.19891393184661865, 0.07101455330848694, 0.5935888886451721, -0.7219893932342529, -0.082632876932621, -0.491695374250412, 0.17268416285514832, 0.7037275433540344, 0.06056293100118637, 0.5987486243247986, 0.01167245116084814, 0.2450668066740036, -0.12326347827911377, -0.025902703404426575, 0.04271225258708, -0.661953866481781, -0.31966468691825867, -0.5124852061271667, 0.6342330574989319, 0.47437870502471924, -1.1623276472091675, 0.6204018592834473, -0.12774160504341125, -0.23702704906463623, -0.4001002907752991, 0.2668044865131378, 0.3703423738479614, 0.5011141300201416, 0.3223550617694855, -0.7062046527862549, -0.6228967308998108, -0.8262197375297546, -0.4167446792125702, 0.1122952476143837, 0.2916859984397888, -0.26946115493774414, 0.5076067447662354, 0.014724694192409515, 0.6498023867607117, -0.12874315679073334, -0.16856342554092407, -0.2869127094745636, 0.31526222825050354, 0.12125264108181, 0.7276224493980408, 0.3051915466785431, -1.2781668901443481, -0.5095648765563965, 0.16896824538707733, -0.860068678855896, 0.26023897528648376, -0.04375259578227997, -0.3589940667152405, 0.30678853392601013, 0.37374991178512573, -0.49457848072052, 0.6232887506484985, 0.48976457118988037, -0.2345057725906372, 0.7393667697906494, -0.2592892348766327, 0.21417279541492462, -0.9864471554756165, 0.0036096489056944847, 0.13724395632743835, -0.3788367211818695, -0.6126172542572021, 0.2938898205757141, 0.23300763964653015, -0.05899941548705101, -0.11352039873600006, 0.3092819154262543, -0.7137898206710815, -0.1262112557888031, -0.18969300389289856, 0.01677936315536499, 0.3059561252593994, 0.2387034296989441, 0.37355688214302063, 0.5864499807357788, 0.2946584224700928, -0.1845364272594452, 0.525441586971283, -0.02311420999467373, -0.42854082584381104, 0.19560353457927704, -0.526496171951294, 0.09507261216640472, -0.07572463154792786, 0.1709592044353485, -0.9204750657081604, -0.35729333758354187, 0.4374193847179413, -0.06022937223315239, 0.589759349822998, 0.1547957956790924, -0.9209527969360352, -0.08265123516321182, -0.5034744143486023, -0.006038386840373278, 0.3897070586681366, -0.44882932305336, 0.47871923446655273, 0.40569067001342773, -0.21803487837314606, -0.6443838477134705, -0.6291490197181702, 0.48834356665611267, -0.00630301283672452, -0.9469519853591919, 0.7272184491157532, 0.02634161338210106, -0.042970359325408936, 0.05892464518547058, -0.15087231993675232, -0.4621317982673645, 0.20951113104820251, 0.0025314241647720337, 0.760195255279541, -0.35638004541397095, 0.01046125777065754, 0.34563007950782776, -0.018291184678673744, -0.12996579706668854, -0.07765918225049973, 0.5768854022026062, -0.296127587556839, -0.23566199839115143, -0.8779892921447754, 0.5355510115623474, 0.037337664514780045, -0.24152100086212158, 1.0574244260787964, 0.9465446472167969, -0.7156053781509399, -0.0505007803440094, -0.37372642755508423, -0.17612428963184357, -0.43028536438941956, 0.5052968263626099, -0.10021468251943588, -0.7116391062736511, 0.32193875312805176, -0.051059797406196594, 0.3152351975440979, 0.3798018991947174, 0.19650228321552277, -0.1185871884226799, 0.9100180268287659, 0.81032395362854, 0.05748623609542847, 0.7809221148490906, -0.11278878152370453, 0.19784760475158691, -0.5126994252204895, -0.2615510821342468, -0.27319109439849854, -0.15142516791820526, -0.17328251898288727, -0.32649922370910645, 0.05873052030801773, 0.3064213991165161, 0.3024546802043915, 0.3743305206298828, -0.508350670337677, 0.35557055473327637, 0.4984831213951111, 0.4996686577796936, 0.775259256362915, 0.4147563874721527, 0.08452542871236801, -0.4070708751678467, -0.4524974822998047, -0.5887985229492188, 0.7977986931800842, 0.2906041741371155, 0.6604782342910767, 0.2035347819328308, 0.7202426195144653, 0.34374767541885376, 0.046167563647031784, -0.49236568808555603, 0.5469727516174316, -0.4052673280239105, -0.7475553750991821, -0.4241166412830353, -0.40316256880760193, -0.707253098487854, 0.45344650745391846, -0.7087863683700562, -0.6849619150161743, 0.06031499430537224, 0.03135019540786743, -0.15809692442417145, 0.6264327764511108, -0.7040135860443115, 0.6033413410186768, -0.2763073146343231, -0.6515015363693237, 0.06262191385030746, -0.6595969796180725, 0.4795741140842438, -0.16870778799057007, 0.3025607168674469, 0.2485421597957611, -0.18805158138275146, 0.9319416284561157, -0.18077509105205536, 0.8539049029350281, 0.04200899228453636, -0.42473018169403076, 0.04874749854207039, 0.20903261005878448, 0.9066851139068604, -0.1488625407218933, -0.28051573038101196, 0.29195794463157654, 0.060652244836091995, -0.2890115976333618, -0.6056721806526184, 0.42277348041534424, -0.4009421467781067, -0.5171012878417969, -0.1429474800825119, -0.5613470673561096, 0.19936653971672058, 0.7240580320358276, 0.12389423698186874, 0.4554276466369629, -0.095395527780056, 0.46264567971229553, 0.8433014750480652, -0.35282278060913086, 0.5207915306091309, -0.08401502668857574, -0.17707625031471252, -0.611551821231842, 0.935522735118866, 0.12077349424362183, 0.47920432686805725, 0.5195274353027344, 0.19347909092903137, -0.2612534165382385, -0.7671061754226685, -0.45405635237693787, 0.33407506346702576, -0.9297369718551636, -0.037949271500110626, -0.502072274684906, -0.35910096764564514, -0.5890119075775146, -0.07641998678445816, -0.30130159854888916, -0.4590330421924591, -0.41865915060043335, 0.17329315841197968, 0.02940458245575428, 0.5019404292106628, 0.146997332572937, 0.22002723813056946, -0.7764672636985779, 0.5834241509437561, -0.1408180147409439, 0.12717077136039734, -0.03985368460416794, -0.35184434056282043, -0.21536068618297577, 0.06428992003202438, -0.13811230659484863, -0.8924216628074646, 0.6409642696380615, -0.058497149497270584, 0.44580787420272827, 0.22261694073677063, 0.09104730188846588, 0.7449834942817688, -0.02721952646970749, 0.696194052696228, 0.46345552802085876, -1.0165200233459473, 0.2558596432209015, -0.1631215363740921, -0.09149438887834549, 0.27197083830833435, 0.09500331431627274, -0.12177588045597076, -0.4335172474384308, -0.5606891512870789, -0.8545405268669128, 0.5161014795303345, 0.34195467829704285, -0.1868034303188324, 0.5360682606697083, 0.2929236888885498, 0.3374025523662567, 0.15000994503498077, -1.1419507265090942, -0.06185454875230789, 0.002177719958126545, -0.4405968189239502, 0.3348364233970642, -0.32571929693222046, -0.15186245739459991, -0.04576152190566063, 0.6742530465126038, 0.15455539524555206, 0.11486740410327911, 0.31870460510253906, -0.2502341866493225, 0.011868719011545181, 0.1649281084537506, 0.3660854995250702, 0.3241366744041443, -0.22619551420211792, 0.41452035307884216, -0.07611139118671417, -0.7725982666015625, -0.14841103553771973, -0.020183924585580826, -0.4912630617618561, 0.31620466709136963, 0.6338056325912476, 0.4432778060436249, 0.17795705795288086, -0.5297457575798035, 0.6219395399093628, -0.11174488067626953, -0.029730793088674545, -0.10628160089254379, -0.06844397634267807, -0.021875526756048203, 0.259585976600647, 0.40782099962234497, 0.4101487994194031, 0.2834910750389099, -0.41469284892082214, 0.2492195963859558, 0.6707628965377808, -0.22331106662750244, -0.285543292760849, 0.5262340903282166, 0.041741374880075455, -0.2907826006412506, -0.053794097155332565, -0.06297947466373444, -0.4036010503768921, 0.6893138289451599, 0.930244505405426, 0.6549342274665833, 0.026296330615878105, 0.2861200273036957, 0.16163451969623566, 0.6107339262962341, -0.40985384583473206, 0.10184577852487564, -0.08175981044769287, -0.5430973172187805, -0.38456282019615173, -0.42921149730682373, -0.23608459532260895, -0.02924349159002304, -0.6152833104133606, 0.43289902806282043, -0.7890482544898987, -0.04391571506857872, 0.038795046508312225, 0.10486806929111481, -0.10937751084566116, 0.11524565517902374, 0.17619535326957703, 0.7037612199783325, -0.5648400187492371, 0.851595401763916, 0.31284040212631226, -0.12566329538822174, -0.7555379271507263, -0.13798555731773376, -0.2646218538284302, -0.645723819732666, 0.5808951258659363, 0.11720192432403564, -0.23495447635650635, -0.1360616385936737, -0.8226130604743958, -0.7459949851036072, 1.2012165784835815, 0.4430462419986725, -0.5369476079940796, -0.18474933505058289, -0.09773113578557968, 0.5912798643112183, -0.2331160455942154, -0.28578659892082214, 0.1757037341594696, 0.35689035058021545, 0.20871128141880035, -0.7027348279953003, 0.4419519305229187, -0.18792781233787537, -0.0037781617138534784, 0.014289158396422863, -0.38279029726982117, 0.7271775603294373, 0.22016987204551697, -0.7621569037437439, 0.2975504994392395, 0.7705963253974915, 0.26008808612823486, 0.2737146317958832, 0.3145545423030853, 0.041500918567180634, 0.8539722561836243, 0.10503661632537842, 0.831966757774353, 0.08026491105556488, 0.38082295656204224, 0.9626689553260803, -0.03574977070093155, 0.9181025624275208, 0.622363805770874, 0.19806064665317535, 0.5899233818054199, 0.3442796468734741, -0.1366305649280548, 0.4405238628387451, -0.3055203855037689, -0.24170935153961182, -0.20618607103824615, -0.0869789868593216, -0.3905794620513916, 0.06709811091423035, 0.33574000000953674, -0.6613019704818726, -0.11267097294330597, -0.09258810430765152, 0.06453285366296768, 0.041669197380542755, -0.15913933515548706, 0.5471776127815247, 0.08561872690916061, -0.3194120228290558, 0.5608168840408325, 0.3181757628917694, 1.0348049402236938, -0.4785726070404053, -0.17078888416290283, 0.440841943025589, 0.09633442759513855, -0.34325945377349854, -0.6870548725128174, 0.2697114050388336, -0.18655149638652802, 0.06311378628015518, -0.22481584548950195, 1.2620599269866943, -0.5404644012451172, -0.39871007204055786, 0.4391282796859741, 0.04386372119188309, 0.04396643489599228, 0.19291701912879944, -0.827071487903595, 0.3016391098499298, 0.15671657025814056, 0.10847055166959763, 0.052892886102199554, 0.3010097146034241, -0.11533662676811218, 0.29477912187576294, 1.003440499305725, 0.4848784804344177, 0.3650696575641632, -0.07111052423715591, 0.5309053063392639, -0.7713918685913086, -0.4838138520717621, -1.018200159072876, 0.24796342849731445, -0.7436397075653076, 0.1856786012649536, 0.9031373858451843, 0.33185818791389465, 0.4520687758922577, -0.05664283037185669, 0.7907984256744385, -0.09451305866241455, 0.16653212904930115, -0.7115013003349304, 0.6064515113830566, -0.4350181221961975, 0.4486531615257263, -0.802078902721405, -0.7622082233428955, -0.6287639737129211, 0.3293960988521576, -0.16158385574817657, -0.3746802806854248, 0.5226806998252869, 0.7382018566131592, -0.05681825429201126, 0.42100125551223755, 0.416316956281662, 0.05745096132159233, 0.4894612431526184, 0.31552231311798096, 0.6119717955589294, -0.748160719871521, 0.46915265917778015, -0.4831876754760742, -0.34650471806526184, -0.29055216908454895, -0.7556461095809937, -0.8639662265777588, -0.4658580422401428, -0.10344331711530685, -0.5734701156616211, 0.012994245626032352, 0.5694158673286438, 0.3998749256134033, -0.7096391916275024, -0.008408217690885067, -0.1915619671344757, 0.3193577527999878, -0.1599126011133194, -0.27246612310409546, 0.671623706817627, 0.21863028407096863, -0.7311078906059265, 0.10463293641805649, 0.692895770072937, 0.525039553642273, -0.3360723555088043, -0.007273657713085413, -0.4169261157512665, -0.10193087160587311, 0.5571596622467041, 0.2031223177909851, -0.7132807374000549, -0.21151964366436005, 0.1199231669306755, -0.35553136467933655, 0.05900665745139122, 0.4437142610549927, -0.08930948376655579, 0.7218469977378845, 0.73111891746521, 0.8185849189758301, 0.46378886699676514, 0.1400982141494751, 0.5779109001159668, -0.4588300287723541, 0.3496153652667999, 0.08477400243282318, 0.3358372151851654, 0.3945198655128479, -0.6144466996192932, 0.27171042561531067, 0.5070330500602722, -0.05138157680630684, -0.996782124042511, 0.09210516512393951, -1.1956617832183838, -0.3806869685649872, 0.9924659132957458, -0.30005255341529846, -0.546245276927948, -0.35256749391555786, -0.4782904088497162, 0.4584770202636719, -0.41963133215904236, 0.6846452355384827, 0.793208122253418, 0.19049911201000214, -0.13611234724521637, -0.41730454564094543, 0.3120165169239044, 0.426993727684021, -0.8040378093719482, -0.25230592489242554, 0.20988978445529938, 0.12592408061027527, 0.5318635106086731, 0.35064753890037537, -0.47424185276031494, 0.2775224447250366, 0.06461404263973236, -0.011206253431737423, 0.003404023824259639, -0.08077128231525421, -0.3144114017486572, 0.4285818040370941, -0.40442389249801636, -0.0641118735074997 ]
http://arxiv.org/abs/2402.18838v2
http://arxiv.org/pdf/2402.18838v2
When does word order matter and when doesn't it?
2024-02-29T04:11:10
2024-03-01T17:40:04
Xuanda Chen, Timothy O'Donnell, Siva Reddy
cs.CL
cs.CL
Language models (LMs) may appear insensitive to word order changes in natural language understanding (NLU) tasks. In this paper, we propose that linguistic redundancy can explain this phenomenon, whereby word order and other linguistic cues such as case markers provide overlapping and thus redundant information. Our hypothesis is that models exhibit insensitivity to word order when the order provides redundant information, and the degree of insensitivity varies across tasks. We quantify how informative word order is using mutual information (MI) between unscrambled and scrambled sentences. Our results show the effect that the less informative word order is, the more consistent the model's predictions are between unscrambled and scrambled sentences. We also find that the effect varies across tasks: for some tasks, like SST-2, LMs' prediction is almost always consistent with the original one even if the Pointwise-MI (PMI) changes, while for others, like RTE, the consistency is near random when the PMI gets lower, i.e., word order is really important.
[ -0.13289204239845276, -0.7230337858200073, 0.5283807516098022, 0.31694266200065613, -0.2801850438117981, -0.28223204612731934, 0.001637316425330937, -0.8057520389556885, 0.12388157099485397, 0.2658989727497101, -0.3049142360687256, 0.02294248342514038, -1.0896592140197754, 0.1123192235827446, -0.5760392546653748, 0.9902670383453369, 0.020677058026194572, -0.028366414830088615, -0.3908672332763672, -0.5967554450035095, -0.6734700202941895, -0.6922594308853149, -0.33738309144973755, -0.6242347359657288, 0.40951523184776306, 0.1751919984817505, 1.2771155834197998, 0.7821269631385803, 0.6279914379119873, 0.41571977734565735, -0.1569719910621643, -0.12755154073238373, -0.39624717831611633, 0.13277047872543335, -0.29661130905151367, -0.7921587824821472, -0.14491240680217743, 0.04308020696043968, 0.14820946753025055, 1.019026756286621, -0.16487300395965576, 0.00910960789769888, 0.09395832568407059, 0.8544980883598328, -0.7025129199028015, 0.4353027045726776, -0.9782671928405762, -0.11873780936002731, 0.008837061002850533, -0.2083113193511963, -0.2619573473930359, -0.10959536582231522, 0.4387548565864563, -0.4855080842971802, 0.2779955267906189, 0.08618936687707901, 0.9233667850494385, 0.24122844636440277, -0.18570145964622498, -0.343656986951828, -0.6595162749290466, 0.6263450384140015, -0.5405296087265015, 0.42816033959388733, 0.7692230343818665, -0.21866565942764282, -0.45732566714286804, -0.38174405694007874, -0.7345446944236755, 0.07618249207735062, -0.2954710125923157, 0.31221675872802734, -0.4180363118648529, 0.2518549859523773, 0.12467131018638611, 0.08765498548746109, -0.47028785943984985, 0.17231130599975586, -0.5175575017929077, 0.09519875049591064, 0.4167472720146179, 0.1559961438179016, 0.544789731502533, -0.11376992613077164, -0.3557402789592743, 0.10871976613998413, -0.5907779932022095, -0.009500526823103428, 0.3070041835308075, 0.2778506278991699, -0.0673045814037323, 0.893618106842041, -0.1540248841047287, 0.9849669933319092, 0.18073780834674835, 0.15456433594226837, 0.2554234564304352, -0.3960376977920532, -0.4732888638973236, 0.39701905846595764, 0.625711977481842, 0.4608481824398041, 0.2850494980812073, -0.16278114914894104, -0.14040513336658478, 0.41484951972961426, 0.4840987026691437, -0.28823238611221313, -0.2291722148656845, 0.2485545426607132, -0.18253982067108154, 0.06411619484424591, 0.21561041474342346, -0.07368537038564682, -0.27940985560417175, -0.37532681226730347, 0.6586982011795044, -0.5124274492263794, -0.13058224320411682, 0.3577854335308075, -0.07962305098772049, -0.10343066602945328, 0.23205097019672394, -1.03720223903656, 0.1342833787202835, 0.8574710488319397, 0.5459507703781128, -0.24085302650928497, -0.692560076713562, -0.34792110323905945, 0.09219473600387573, -0.4324191212654114, 0.6406121253967285, -0.616959273815155, -0.054952964186668396, -0.01861140877008438, 0.17866237461566925, -0.38742494583129883, -0.5513899922370911, 0.46799755096435547, -0.6292529106140137, 0.5537813901901245, -0.36074498295783997, -0.7109425663948059, -0.3435854911804199, -0.2255527824163437, -0.39904049038887024, 0.8971337080001831, -0.09326587617397308, -1.0622466802597046, 0.526245653629303, -0.3759854733943939, -0.5533338189125061, 0.04107149690389633, -0.07958542555570602, -0.10182986408472061, 0.5254298448562622, -0.37552207708358765, 0.5133375525474548, 0.3556053340435028, 0.1878560185432434, -0.17262907326221466, -0.6363813877105713, 0.5025291442871094, -0.24626733362674713, 0.5151857137680054, -0.02690128982067108, -0.1702238917350769, -0.07155611366033554, -0.6035611033439636, -0.06170545890927315, 0.16560769081115723, -0.6085145473480225, -0.8945746421813965, 0.4281754195690155, -0.2835499048233032, 0.18136201798915863, 0.13771431148052216, -0.5151525139808655, -0.17795448005199432, -0.5492300391197205, 0.6212480068206787, 0.6265104413032532, -0.17530997097492218, 0.6283007860183716, -0.4992251992225647, 0.17513948678970337, 0.30169591307640076, 0.029772190377116203, 0.3378859758377075, -0.7724109292030334, -0.8500745892524719, 0.3062347173690796, 0.04702169448137283, 0.7574771642684937, -0.4038393795490265, 0.18878795206546783, -0.4068411588668823, -0.1583808958530426, -0.5724111199378967, -0.19187940657138824, 0.5660747289657593, 0.2439073771238327, 0.4093996584415436, -0.17218196392059326, -0.49896425008773804, -1.012335181236267, -0.5627409815788269, -0.41985055804252625, 0.11863291263580322, -0.06239888817071915, 0.3020302951335907, -0.26647132635116577, 0.7001051902770996, -0.3394017815589905, 0.1437290459871292, -0.41209977865219116, 0.3827185034751892, 0.18657797574996948, 0.11059526354074478, 0.2638988196849823, -0.8190814852714539, -0.05578707531094551, -0.07305143028497696, -0.40650996565818787, -0.16537058353424072, -0.13820472359657288, -0.23285964131355286, 0.5851799249649048, 0.5764672756195068, -0.7461550235748291, 0.503783643245697, 0.5789414048194885, -0.3309285044670105, 0.12204849720001221, -0.6381739377975464, -0.015437745489180088, -1.0883171558380127, -0.49048981070518494, -0.21605762839317322, 0.12091884016990662, -0.9661504626274109, -0.15762101113796234, 0.015664279460906982, 0.4868122339248657, -0.15983472764492035, 0.3022580146789551, -0.5591879487037659, -0.15157370269298553, -0.4456431269645691, 0.37370729446411133, 0.02568703703582287, 0.39521142840385437, -0.2162916511297226, 0.5211870074272156, -0.04274235665798187, -0.7766919732093811, -0.4086165428161621, 0.06963877379894257, -0.6762282252311707, 0.259046345949173, -0.46310076117515564, -0.179082989692688, -0.5591364502906799, -0.4237287640571594, -1.0768290758132935, -0.0803215280175209, 0.06718287616968155, -0.34692490100860596, 0.3933522701263428, 0.0875580832362175, -0.4831281900405884, -0.2358197271823883, 0.20662063360214233, 0.32787588238716125, 0.16127745807170868, -0.2985782325267792, 0.14484252035617828, 0.5070278644561768, -0.0697852075099945, -0.6071706414222717, -1.0427206754684448, -0.332883358001709, -0.04727892577648163, -0.18201735615730286, 0.37844929099082947, -0.271261990070343, -0.6347929239273071, -0.026315266266465187, -0.3580196499824524, -0.43383073806762695, 0.2399655133485794, 0.7082792520523071, 0.20578627288341522, -0.047609612345695496, 0.5566069483757019, 0.05599919334053993, 0.21999545395374298, 0.17242392897605896, -0.03381539136171341, 0.37157952785491943, 0.08228091150522232, -0.28956907987594604, -0.15394695103168488, 0.3773409128189087, 0.7266213893890381, 0.11652030050754547, 0.8472052812576294, 0.12669961154460907, -0.3819833993911743, 0.1742469072341919, -0.5617514848709106, 0.14454422891139984, -0.4402734041213989, 0.5720514059066772, -0.30798786878585815, -0.8028334379196167, 0.37780502438545227, 0.8211766481399536, 0.2459842562675476, 0.41657620668411255, 0.3238818049430847, -0.40940213203430176, 0.8832967281341553, 0.7029464840888977, -0.17466571927070618, 0.6919965147972107, 0.2865807116031647, 0.23515497148036957, -0.5561622381210327, -0.05626900866627693, -0.37544867396354675, -0.27148565649986267, -0.6746350526809692, -0.15988391637802124, -0.1524856984615326, 0.47709569334983826, -0.20678925514221191, 0.42914628982543945, -0.4088326692581177, 0.7574421763420105, 0.3527798056602478, 0.10921018570661545, 0.36026960611343384, 0.15522171556949615, -0.00109718122985214, -0.10795970261096954, -0.9629995226860046, -0.15679500997066498, 0.7229611873626709, -0.04967745766043663, 0.37709492444992065, 0.30840185284614563, 0.38451817631721497, 0.2054441124200821, 0.1215425357222557, -0.6950135231018066, 0.4849526584148407, -0.2854714095592499, -0.41882452368736267, -0.2724255919456482, -0.11108662188053131, -1.5085444450378418, 0.48305466771125793, -0.2965216040611267, -0.7220475673675537, 0.20269358158111572, -0.09258634597063065, -0.26691487431526184, 0.031415797770023346, -1.0794332027435303, 0.3814123868942261, 0.032889045774936676, -0.06913754343986511, -0.24794147908687592, -0.5861355066299438, 0.16481471061706543, 0.017025664448738098, 0.26830121874809265, -0.2917560935020447, 0.0300586000084877, 0.799096405506134, -0.71627277135849, 0.7448331713676453, 0.30121490359306335, 0.13400542736053467, 0.10766587406396866, 0.25027722120285034, 0.48811548948287964, -0.43058207631111145, -0.10636676847934723, 0.2466641515493393, -0.07834714651107788, -0.43086710572242737, -0.5428591966629028, 0.5918682813644409, -0.7130807638168335, -0.8720887303352356, -0.4872443377971649, -0.7496399283409119, -0.0020708709489554167, 0.1368597149848938, 0.720887303352356, 0.4798983037471771, 0.17635273933410645, -0.28079575300216675, 0.4774227440357208, 0.04571610316634178, 0.6970521211624146, 0.5455582737922668, 0.19125929474830627, 0.0726814940571785, 0.6527251601219177, 0.5663667917251587, 0.6692278385162354, 0.5564553737640381, 0.08369047939777374, -0.043667636811733246, -0.7305644750595093, -0.006549906451255083, 0.42687276005744934, -0.7635172009468079, 0.02181784249842167, -0.7462223768234253, -0.16565760970115662, -0.1202656477689743, -0.3503337800502777, -0.16392287611961365, -0.4919510781764984, -0.4422161877155304, -0.2625933587551117, 0.5901542901992798, 1.2047080993652344, 0.2297363132238388, 0.13250328600406647, -0.6569698452949524, 0.12605540454387665, 0.1113496944308281, 0.27258339524269104, -0.14355677366256714, -0.8446125388145447, -0.10683492571115494, 0.0005872722249478102, 0.18832485377788544, -0.845862627029419, 0.3267253637313843, 0.07703191041946411, 0.6297234892845154, 0.40440303087234497, -0.03553364798426628, 0.8672735691070557, -0.4898975193500519, 0.4838313162326813, 0.2404649555683136, -0.7660123705863953, 0.2375914752483368, -0.3233213722705841, 0.9346001744270325, 0.574245035648346, 0.35531288385391235, -0.6492977738380432, -0.8776088953018188, -0.5702488422393799, -0.9090975522994995, 0.8617827892303467, 0.17320552468299866, 0.13068583607673645, -0.45746415853500366, 0.4199754595756531, 0.2130199670791626, 0.12003176659345627, -0.892008364200592, -0.24812881648540497, -0.023691361770033836, 0.007075258530676365, -0.03469572961330414, -0.6749053001403809, -0.02727261558175087, -0.054066002368927, 0.3873705267906189, 0.259734183549881, 0.4493841230869293, 0.16938160359859467, -0.341874897480011, -0.0499633327126503, 0.43711087107658386, 0.9517213106155396, 0.8137137293815613, -0.1423710435628891, 0.17768411338329315, 0.14680354297161102, -0.6193467378616333, -0.17076699435710907, -0.1541239470243454, -0.10593331605195999, 0.13598071038722992, 0.7225408554077148, 0.9533817172050476, 0.6024160981178284, -0.3588496744632721, 0.48398441076278687, -0.02379927597939968, -0.18975648283958435, -0.10723457485437393, 0.09719031304121017, 0.15741877257823944, 0.3108876645565033, 0.011350431479513645, 0.20013102889060974, -0.023659054189920425, -0.7538445591926575, -0.18013602495193481, 0.4979473650455475, -0.2901701033115387, -0.298647403717041, 0.46735304594039917, -0.30091243982315063, -0.4304236173629761, 0.6212685108184814, -0.19694699347019196, -0.4933604896068573, 0.5810943841934204, 0.5270981788635254, 0.6295356750488281, -0.3121021091938019, -0.04315852001309395, 0.18306367099285126, 0.5263137817382812, -0.3447186052799225, 0.5317776799201965, 0.10914362221956253, -0.9032288193702698, -0.15281490981578827, -0.46269258856773376, -0.12493042647838593, 0.07566700130701065, -0.7438711524009705, -0.14728419482707977, -0.3747340738773346, -0.2201697826385498, -0.07267216593027115, -0.45742493867874146, -0.46378472447395325, 0.10965359956026077, -0.167374849319458, 0.49910569190979004, -0.7527630925178528, 0.7715505361557007, 0.48774242401123047, -0.17501837015151978, -0.6254229545593262, 0.1809139996767044, -0.07018521428108215, -0.8450865745544434, 0.669954240322113, 0.22970379889011383, -0.07558087259531021, -0.3814714848995209, -0.07944643497467041, -1.192199945449829, 0.8323709964752197, 0.16681182384490967, -0.4435577094554901, 0.04853044077754021, 0.3079987168312073, 0.703083872795105, -0.2712666988372803, 0.21669885516166687, 0.39692679047584534, 0.2592671811580658, -0.08328987658023834, -0.8929064869880676, -0.11013557016849518, -0.07648556679487228, 0.14608825743198395, 0.6383785009384155, -0.432839572429657, 0.9075313806533813, -0.5806096792221069, -0.7845227718353271, -0.11469412595033646, 0.5037241578102112, -0.19317562878131866, 0.0614481158554554, 0.4806731939315796, 0.4618631899356842, 0.7890505790710449, -0.21517035365104675, 1.0849310159683228, -0.09671751409769058, -0.058908648788928986, 1.4905309677124023, -0.027447383850812912, 1.1229870319366455, 0.5318300724029541, -0.25618675351142883, 0.43651050329208374, 0.5637310147285461, 0.30908721685409546, 0.5215728282928467, 0.1604117900133133, 0.05403244122862816, -0.02677704207599163, 0.05147181451320648, -0.38033202290534973, 0.4376846253871918, 0.3939155340194702, -0.4660610556602478, -0.05680323392152786, -0.11469811946153641, 0.1636660248041153, -0.039232414215803146, -0.29724496603012085, 0.782903254032135, -0.054781224578619, -0.7489385604858398, 0.7506610751152039, -0.0558929517865181, 0.5082818865776062, -0.5180784463882446, 0.29450860619544983, -0.4406922459602356, 0.12491346895694733, -0.22370508313179016, -0.9768214225769043, 0.49769386649131775, -0.5116071701049805, -0.7707037925720215, -0.1529274731874466, 0.4162999093532562, -0.6452522873878479, -0.36948204040527344, 0.6295767426490784, 0.3934195935726166, 0.12518268823623657, 0.07737095654010773, -0.7156553268432617, 0.013797094114124775, -0.16458429396152496, -0.28552696108818054, 0.5956588983535767, 0.4455599784851074, -0.1895071417093277, 0.6293150782585144, 0.36642783880233765, 0.036906056106090546, 0.3987116813659668, -0.007527461741119623, 0.303602933883667, -0.44566071033477783, -0.3713093101978302, -0.8660964369773865, 0.15911376476287842, 0.1051582545042038, -0.3221237361431122, 0.7370243072509766, 0.1997031569480896, 1.0610922574996948, 0.010368157178163528, 0.5060133934020996, 0.31597551703453064, 0.29000580310821533, -0.5780723094940186, 0.6767504811286926, -0.5497575998306274, 0.29178401827812195, -0.2516385316848755, -0.8386526107788086, -0.3629548251628876, 0.3569733500480652, -0.41307005286216736, -0.11771698296070099, 0.961074709892273, 0.7894504070281982, 0.0412098728120327, 0.21427416801452637, 0.44422465562820435, 0.47215431928634644, -0.4555962085723877, 0.5819284319877625, 0.5221468210220337, -0.4126429855823517, 0.39480674266815186, -0.192795529961586, 0.14219734072685242, -0.2028437703847885, -0.5915244221687317, -0.7049684524536133, -0.8682085871696472, -0.39628076553344727, -0.5075130462646484, 0.31624317169189453, 0.8096868991851807, 0.29644688963890076, -0.6545348167419434, -0.2575680613517761, -0.41747286915779114, 0.37693747878074646, -0.20564040541648865, -0.25733327865600586, 0.257441908121109, -0.2042650729417801, -0.6874582767486572, 0.2877228558063507, 0.5853718519210815, 0.362612247467041, 0.3572131097316742, 0.22044439613819122, -0.5181851387023926, 0.42550748586654663, 0.740260899066925, 0.3470953404903412, -1.0582616329193115, -0.38741275668144226, -0.2663787305355072, -0.3970288336277008, 0.2625584900379181, 0.5046504735946655, -0.49308985471725464, 0.5596162676811218, 0.7997896075248718, 0.2777242660522461, -0.2068082094192505, -0.0790337324142456, 0.5238195061683655, -0.3078449070453644, 0.19187641143798828, -0.3725256323814392, 0.6999009251594543, 0.1948850452899933, -0.5052596926689148, 0.3533439338207245, 0.25417378544807434, -0.454806923866272, -0.6364728808403015, 0.4777759313583374, -0.9294237494468689, -0.6474263072013855, 1.2490019798278809, 0.04314512386918068, -0.07147008925676346, -0.3681508004665375, 0.19966378808021545, 0.15566377341747284, -0.13922356069087982, 0.9505584836006165, 1.1201446056365967, -0.27225881814956665, 0.062314242124557495, -0.47780153155326843, 0.45955872535705566, 0.8434292078018188, -0.49837881326675415, 0.3026520609855652, 0.4223893880844116, 0.190362349152565, 0.22761496901512146, 0.5916089415550232, 0.08954984694719315, 0.053728144615888596, -0.20374886691570282, -0.334964781999588, 0.14386320114135742, -0.18808285892009735, -0.4258149266242981, 0.08597026020288467, 0.033576469868421555, -0.22807498276233673 ]
http://arxiv.org/abs/2402.18825v2
http://arxiv.org/pdf/2402.18825v2
Utilizing Local Hierarchy with Adversarial Training for Hierarchical Text Classification
2024-02-29T03:20:45
2024-03-29T08:08:41
Zihan Wang, Peiyi Wang, Houfeng Wang
cs.CL
cs.CL
Hierarchical text classification (HTC) is a challenging subtask of multi-label classification due to its complex taxonomic structure. Nearly all recent HTC works focus on how the labels are structured but ignore the sub-structure of ground-truth labels according to each input text which contains fruitful label co-occurrence information. In this work, we introduce this local hierarchy with an adversarial framework. We propose a HiAdv framework that can fit in nearly all HTC models and optimize them with the local hierarchy as auxiliary information. We test on two typical HTC models and find that HiAdv is effective in all scenarios and is adept at dealing with complex taxonomic hierarchies. Further experiments demonstrate that the promotion of our framework indeed comes from the local hierarchy and the local hierarchy is beneficial for rare classes which have insufficient training data.
[ -0.37066763639450073, -1.0306044816970825, -0.1271873116493225, -0.32122552394866943, 0.17687341570854187, 0.37231290340423584, 0.2013954222202301, -0.45242488384246826, 0.011782540008425713, 0.308478444814682, -0.27444249391555786, -0.6824848055839539, -0.6176416277885437, -0.06479394435882568, 0.04108022525906563, 1.362056016921997, -0.12918779253959656, -0.4326022267341614, -0.16412204504013062, -0.25373315811157227, -0.047369204461574554, -1.2204797267913818, -0.5049087405204773, -0.48364222049713135, 0.7886489033699036, 0.2987402379512787, 1.2000433206558228, 1.1189782619476318, 0.6985704898834229, 0.22089868783950806, -0.5169470310211182, 0.16302725672721863, -0.5267068147659302, 0.16812945902347565, 0.04686233401298523, -0.32645392417907715, -0.676718533039093, -0.005428279750049114, 0.3854776620864868, 0.6051917672157288, -0.2557482123374939, -0.11044692248106003, -0.08244477957487106, 0.3755088448524475, -1.1053588390350342, 0.0021809530444443226, -0.4799685776233673, 0.4215388298034668, -0.3145569860935211, -0.49118027091026306, -0.3489566147327423, -0.2653456926345825, 0.3791148364543915, -0.8466895818710327, 0.2873624563217163, 0.12341821193695068, 0.9631588459014893, 0.4146862328052521, -0.7820425629615784, -0.3371967673301697, -0.7599837183952332, 0.5534417629241943, -0.20436018705368042, 0.0023514507338404655, 0.5852720141410828, 0.30484944581985474, -0.19587448239326477, -0.4909321069717407, -0.13553380966186523, -0.07392603904008865, -0.14383196830749512, 0.4071055054664612, -0.22559994459152222, 0.15042558312416077, -0.10103452205657959, 0.8117350339889526, -0.6815176606178284, 0.30279308557510376, 0.01093378197401762, -0.2682855427265167, -0.11424261331558228, 0.17458008229732513, 0.24064230918884277, -0.375154584646225, -0.8455399870872498, -0.04258031025528908, -0.7879948616027832, 0.10359799861907959, 0.4357084035873413, 0.21093760430812836, -0.050248000770807266, 0.17980776727199554, -0.017059845849871635, 0.5815601944923401, 0.15739130973815918, -0.28427115082740784, 0.32481542229652405, -0.21630482375621796, -0.3425664007663727, 0.30402371287345886, 0.562767744064331, -0.34565600752830505, -0.2705976366996765, -0.18139614164829254, -0.1298273801803589, 0.15188854932785034, 0.45150646567344666, -0.8829043507575989, -0.4223933517932892, -0.03884496912360191, -0.4089965522289276, -0.9415760636329651, -0.1672651171684265, -0.5492054224014282, -0.6340627074241638, -0.0055313087068498135, 0.6217917799949646, -0.05553459748625755, -0.0756877139210701, -0.1403326541185379, -0.00027957369456999004, -0.25005942583084106, 0.3004094660282135, -0.9293347001075745, 0.13583999872207642, 0.3608646094799042, 0.8081384897232056, -0.2601201832294464, -0.5057939291000366, -0.7781396508216858, 0.3237844705581665, -0.17379005253314972, 0.5381583571434021, -0.4614730477333069, -0.2936088442802429, 0.02759678289294243, -0.19850394129753113, -0.1682882308959961, -0.6169878244400024, 0.6227129697799683, -0.7258700132369995, 0.07513099163770676, 0.16334420442581177, -0.18113988637924194, 0.060996998101472855, 0.6193692684173584, -0.5705598592758179, 1.0890135765075684, 0.14005190134048462, -1.5544567108154297, 0.14054648578166962, -0.3160047233104706, -0.8156821727752686, 0.11365009844303131, -0.018810106441378593, -0.7465312480926514, -0.4650723934173584, 0.4052574038505554, 0.5206796526908875, -0.10777997970581055, 0.19724616408348083, -0.32224172353744507, -0.4866686165332794, -0.3851276934146881, -0.5026043057441711, 0.9012590050697327, 0.36835232377052307, -0.4370768964290619, 0.11217007040977478, -0.8144319653511047, -0.4202963709831238, -0.03761071711778641, -0.7654517292976379, -0.8621588349342346, -0.2451384961605072, -0.20067961513996124, 0.1843671202659607, 0.11699395626783371, -0.3436523973941803, 0.4715110957622528, -0.5438492298126221, 0.1437300145626068, 0.6732193827629089, 0.2897229790687561, 0.7751343846321106, -0.42376863956451416, 0.5827370285987854, 0.27676141262054443, 0.14858689904212952, -0.07488100975751877, -0.4308840036392212, -0.4690033793449402, -0.5762779712677002, 0.3414449095726013, 0.5599753856658936, -1.2729624509811401, 0.4625495672225952, -0.10698284953832626, -0.651554524898529, -0.400602787733078, -0.19462934136390686, 0.33719223737716675, 0.6555802226066589, 0.3639358878135681, 0.04584338888525963, -0.5323472023010254, -0.8646217584609985, 0.10992322862148285, -0.22279061377048492, 0.2056385576725006, 0.21013613045215607, 0.8466706871986389, -0.6522212028503418, 0.6275287866592407, -0.45525896549224854, -0.49323564767837524, 0.06505577266216278, 0.881083071231842, -0.15227434039115906, 0.33787840604782104, 0.46351388096809387, -0.9843103885650635, -0.18697568774223328, 0.4006049335002899, -0.9278609156608582, 0.34142404794692993, -0.12987971305847168, -0.23610439896583557, 0.09826669096946716, 0.1819785237312317, -0.3296579122543335, 0.6856046915054321, 0.4345855414867401, -0.006491163745522499, 0.39091482758522034, -0.5092030167579651, 0.3221294581890106, -1.2028464078903198, -0.33382514119148254, 0.03174940496683121, -0.10105763375759125, -0.7042750120162964, 0.4452384114265442, 0.03209047019481659, 0.0071196467615664005, -0.40802472829818726, 0.2676651179790497, -0.16151508688926697, 0.1206645667552948, -0.3262050151824951, -0.20728690922260284, -0.1344241350889206, 0.6830465197563171, 0.16475892066955566, 0.6160421371459961, 0.6477823853492737, -0.747678816318512, 0.5499904751777649, 0.2948117256164551, -0.3020183742046356, 0.5153653621673584, -0.25769487023353577, -0.1476723849773407, -0.16282470524311066, 0.49252185225486755, -0.5444111824035645, -0.2614394724369049, 0.11690984666347504, -0.5229824781417847, 0.19060976803302765, -0.1553356647491455, -0.6629560589790344, -0.3619886338710785, -0.24078892171382904, 0.6509358286857605, 0.37960824370384216, -1.1179181337356567, 0.36784347891807556, 0.6771484017372131, 0.10271812975406647, -0.6136904954910278, -0.4977377653121948, 0.06388689577579498, -0.31526219844818115, -0.45541468262672424, 0.5933356881141663, 0.059112124145030975, 0.1315610110759735, -0.15323373675346375, -0.184738889336586, -0.3830162584781647, 0.3536519408226013, 0.3545093238353729, 0.08331339061260223, -0.4516153931617737, 0.008708413690328598, -0.2579845190048218, 0.09705810993909836, -0.1874639093875885, -0.28834837675094604, 0.06538556516170502, -0.35292577743530273, 0.09305474162101746, -0.6415101885795593, 0.08754829317331314, 0.8014160990715027, -0.18229208886623383, 0.6972552537918091, 0.650795578956604, -0.6780917048454285, -0.11535219103097916, 0.20927812159061432, 0.25868722796440125, -0.43099358677864075, 0.46180588006973267, -0.4664135277271271, -0.7427718639373779, 0.22883480787277222, 0.05321710184216499, -0.24649640917778015, 0.3061555027961731, 0.7664973735809326, -0.0486169159412384, 1.2840429544448853, 0.5445128083229065, -0.3341830372810364, 0.25530996918678284, -0.3084624409675598, -0.004114795010536909, -0.5561442375183105, -0.17023485898971558, -0.7088140845298767, -0.03768115118145943, -0.7379186749458313, -0.05554800480604172, 0.5028689503669739, -0.037241607904434204, -0.633421003818512, 0.6090701818466187, -0.4874323308467865, 0.309914767742157, 0.7128481864929199, 0.13878057897090912, 0.28799599409103394, 0.3545832633972168, -0.11397731304168701, -0.14444448053836823, -0.9536217451095581, -0.17519989609718323, 0.45488908886909485, 0.7691911458969116, 1.0491080284118652, 0.12729741632938385, 0.8533331751823425, 0.33269527554512024, 0.4813578128814697, -0.8731868863105774, -0.012150206603109837, -0.2575121223926544, -0.649032473564148, -0.05815082788467407, -0.8460196852684021, -0.959014892578125, 0.558559238910675, -0.15469062328338623, -0.46835169196128845, 0.4994177222251892, 0.015646126121282578, -0.3251253068447113, 0.6556295156478882, -0.5267223715782166, 0.9129894971847534, -0.021142683923244476, -0.10214482992887497, 0.3420342803001404, -0.6853821873664856, 0.2498122900724411, -0.10189589858055115, 0.4884151220321655, 0.5111848711967468, 0.17400898039340973, 0.8262634873390198, -0.3964823782444, 0.9022037982940674, -0.015647035092115402, -0.3643481433391571, 0.20931969583034515, 0.16147974133491516, 0.5897663831710815, -0.23169229924678802, -0.09023651480674744, -0.12012290954589844, -0.16217385232448578, -0.45876848697662354, -0.40194565057754517, 0.6166343092918396, -1.066709041595459, -0.2740820348262787, -0.8857114911079407, -0.4533587098121643, -0.3066251575946808, 0.1840435415506363, 0.7726438641548157, 0.5915424823760986, -0.06901232153177261, 0.5723478198051453, 0.6670891046524048, 0.01817946694791317, 0.017230365425348282, -0.0028752756770700216, 0.368655800819397, -0.6144196391105652, 1.0849114656448364, 0.00972314178943634, 0.27558356523513794, 0.741466224193573, 0.40008705854415894, -0.03273916617035866, -0.49737921357154846, -0.5205207467079163, -0.4795896112918854, -0.9391890168190002, -0.4814407229423523, -0.4911693036556244, -0.4922637641429901, -0.29659077525138855, -0.33892449736595154, -0.19960281252861023, -0.24862517416477203, -0.2790209949016571, -0.05648716539144516, -0.2205825001001358, 1.0101622343063354, 0.32641908526420593, 0.6066842675209045, -0.6075018644332886, 0.7200605273246765, 0.2879766523838043, -0.08495457470417023, 0.11923511326313019, -0.7352280020713806, -0.37756994366645813, 0.15938861668109894, -0.5460290312767029, -0.7153474688529968, 0.29659974575042725, 0.05163232237100601, 0.40238064527511597, 0.24750135838985443, 0.4731857180595398, 0.6973203420639038, -0.31747663021087646, 0.380260705947876, 0.17217698693275452, -0.5066362619400024, 0.5285988450050354, -0.6708658933639526, 0.5047711730003357, 0.3838197886943817, 0.7684298753738403, -0.15432560443878174, -0.710392415523529, -0.5424841046333313, -0.8767006397247314, 0.8144914507865906, 0.7320136427879333, -0.3132103979587555, 0.15453550219535828, 0.2847755253314972, -0.001156949670985341, 0.1195300966501236, -0.9570226669311523, -0.47803857922554016, -0.23401904106140137, -0.23186330497264862, 0.3484990894794464, 0.10419417172670364, -0.08855432271957397, -0.3536466956138611, 0.6954777240753174, 0.09932195395231247, -0.2228216975927353, 0.24290831387043, -0.07248135656118393, -0.1053052470088005, 0.3178221881389618, 0.04784347116947174, 0.19972023367881775, -0.3466314673423767, 0.6376656293869019, -0.07029872387647629, -0.5969444513320923, 0.2838191092014313, -0.0237067099660635, -0.4432954490184784, -0.33892732858657837, 0.526305079460144, 0.5709350109100342, 0.2921540141105652, 0.09641055017709732, 0.5052425861358643, -0.11278746277093887, -0.41352578997612, 0.43495675921440125, -0.12523187696933746, -0.30331486463546753, -0.14459013938903809, 0.27689117193222046, 0.738469123840332, 0.37488603591918945, -0.7860929369926453, 0.2552563548088074, 0.021588513627648354, -0.4383634626865387, -0.027695706114172935, 0.5069321393966675, 0.2748086750507355, -0.0512375645339489, 0.22577738761901855, -0.4208841621875763, -0.9905388355255127, 0.8583433032035828, 0.7367116808891296, 0.6089401841163635, -0.3477996587753296, 0.4757702946662903, 0.29449179768562317, 0.24898679554462433, 0.04933777078986168, -0.47432973980903625, -0.2663831114768982, -0.4350624978542328, 0.09102245420217514, -0.6095023155212402, -0.5611819624900818, 0.19101423025131226, -0.7149302959442139, 0.027626890689134598, -0.42263558506965637, 0.09735402464866638, 0.29190319776535034, -0.07076789438724518, -0.20247864723205566, 0.42584651708602905, 0.02723425254225731, 0.5317783355712891, -0.4991399049758911, 0.9678816199302673, 1.0107146501541138, -0.22636620700359344, -0.27849695086479187, 0.45761486887931824, 0.08231987059116364, -0.5224488377571106, 0.9261988401412964, 0.21964338421821594, -0.6288408041000366, -0.07098568230867386, -0.18680167198181152, -0.5619765520095825, 0.7133328914642334, -0.09606179594993591, -0.005008595995604992, -0.20506122708320618, -0.1981736272573471, 0.8207442760467529, -0.40225687623023987, -0.24958471953868866, 0.28148943185806274, 0.1811242401599884, 0.5693894624710083, -0.645496666431427, -0.1415255069732666, -0.27219337224960327, -0.060492098331451416, 0.19240862131118774, -0.21678504347801208, 0.8138041496276855, -0.2451453059911728, -0.23517070710659027, 0.20208555459976196, 0.5195044279098511, 0.020379571244120598, 0.276315838098526, 0.39790603518486023, 0.4731486439704895, 0.8538961410522461, -0.026016732677817345, 0.9450783133506775, 0.25826430320739746, 0.6302807331085205, 1.1002590656280518, -0.22681333124637604, 0.7932105660438538, -0.12007898092269897, 0.1506340652704239, 0.3048817217350006, 1.0192854404449463, 0.04257631674408913, 0.7086031436920166, 0.1937837153673172, -0.2953835427761078, -0.3215126693248749, -0.2849244773387909, -0.5412817001342773, 0.33759990334510803, 0.09635572135448456, 0.290004163980484, -0.3334880769252777, 0.25337034463882446, -0.0734965056180954, 0.13714072108268738, -0.42723456025123596, 0.6729034185409546, -0.24625620245933533, -0.43779802322387695, 1.0730384588241577, 0.28720083832740784, 0.826106071472168, -0.21692802011966705, 0.1510850489139557, -0.11378347873687744, 0.6563587784767151, -0.20180730521678925, -0.3887844979763031, 0.1890949308872223, -0.14878924190998077, -0.26899489760398865, -0.26134955883026123, 0.6202077865600586, -0.4108549952507019, -0.1387346386909485, 0.22480502724647522, 0.1029728427529335, -0.2775576114654541, -0.09698746353387833, -0.5639945268630981, -0.5011336803436279, -0.35458236932754517, -0.22561168670654297, 0.3514358699321747, 0.565076470375061, -0.053610607981681824, 0.5794981122016907, 0.37531378865242004, 0.0870504379272461, -0.23837777972221375, 0.00016954858438111842, 0.6356761455535889, -0.5785761475563049, -0.9364573955535889, -0.6897261738777161, -0.18807466328144073, 0.11780214309692383, -0.40333154797554016, 0.8312814831733704, 0.6862572431564331, 0.90857994556427, 0.048017192631959915, 0.7612924575805664, 0.292074054479599, 0.13056400418281555, -0.3301134407520294, 0.7904925346374512, -0.7965726852416992, 0.18601685762405396, -0.13053110241889954, -0.3814246952533722, -0.5500848889350891, 0.5026428699493408, -0.17678187787532806, 0.024856222793459892, 0.934734046459198, 0.4298105537891388, -0.1515558660030365, 0.21643251180648804, 0.3078811764717102, 0.2729593515396118, 0.1187383159995079, 0.8004809617996216, 1.1995495557785034, -0.5936496257781982, 0.9041426777839661, -0.37523865699768066, -0.4826231300830841, -0.21163611114025116, -0.4715801775455475, -1.37057363986969, -0.4090408682823181, -0.3608037233352661, -0.470363587141037, 0.40058833360671997, 0.6304200887680054, 1.0161398649215698, -0.7895106077194214, 0.03301764652132988, -0.03836524114012718, 0.35011547803878784, 0.09716638922691345, -0.21461090445518494, 0.5839980840682983, -0.15860126912593842, -0.4361991882324219, 0.20736777782440186, 0.31666359305381775, 0.47582390904426575, -0.017435044050216675, -0.16860301792621613, -0.30767908692359924, -0.3566139042377472, 0.6503784656524658, 0.1389833241701126, -0.35668787360191345, -0.09773144870996475, -0.03447344899177551, -0.6912630200386047, 0.3498813807964325, 0.8692585825920105, -0.7546179890632629, 0.2811812162399292, 0.5799463987350464, 0.9399375915527344, 0.23446549475193024, 0.20039770007133484, 0.3023136556148529, -1.0674036741256714, 0.07073452323675156, 0.27301257848739624, 0.24005772173404694, 0.19569818675518036, -0.586797833442688, 0.24809260666370392, 0.4432549476623535, -0.4743679165840149, -0.7033947706222534, 0.33263617753982544, -0.42695605754852295, -0.5787597894668579, 1.0828627347946167, -0.1463783085346222, -0.3242645263671875, -0.3420374393463135, -0.34471452236175537, 0.11842834204435349, -0.12656861543655396, 0.678249180316925, 0.8020851612091064, 0.1065814420580864, 0.35377398133277893, -0.4663611054420471, 0.5723788738250732, 0.13276788592338562, -1.1094406843185425, 0.08258320391178131, 0.21150505542755127, -0.24296320974826813, 0.4267573952674866, 0.539871871471405, -0.07141141593456268, 0.36752378940582275, 0.11605169624090195, -0.2461816668510437, 0.02581261657178402, -0.9098809957504272, -0.3725980818271637, 0.5522017478942871, -0.17669732868671417, -0.2003549188375473 ]
http://arxiv.org/abs/2402.18815v2
http://arxiv.org/pdf/2402.18815v2
How do Large Language Models Handle Multilingualism?
2024-02-29T02:55:26
2024-05-24T07:59:10
Yiran Zhao, Wenxuan Zhang, Guizhen Chen, Kenji Kawaguchi, Lidong Bing
cs.CL
cs.CL, cs.AI
Large language models (LLMs) have demonstrated impressive capabilities across diverse languages. This study explores how LLMs handle multilingualism. Based on observed language ratio shifts among layers and the relationships between network structures and certain capabilities, we hypothesize the LLM's multilingual workflow ($\texttt{MWork}$): LLMs initially understand the query, converting multilingual inputs into English for task-solving. In the intermediate layers, they employ English for thinking and incorporate multilingual knowledge with self-attention and feed-forward structures, respectively. In the final layers, LLMs generate responses aligned with the original language of the query. To verify $\texttt{MWork}$, we introduce Parallel Language-specific Neuron Detection ($\texttt{PLND}$) to identify activated neurons for inputs in different languages without any labeled data. Using $\texttt{PLND}$, we validate $\texttt{MWork}$ through extensive experiments involving the deactivation of language-specific neurons across various layers and structures. Moreover, $\texttt{MWork}$ allows fine-tuning of language-specific neurons with a small dataset, enhancing multilingual abilities in a specific language without compromising others. This approach results in an average improvement of $3.6\%$ for high-resource languages and $2.3\%$ for low-resource languages across all tasks with just $400$ documents.
[ -0.43612217903137207, -0.7357887029647827, 0.4281477630138397, 0.5517538785934448, -0.01170122530311346, 0.12489259243011475, -0.8304532766342163, -0.4402405023574829, 0.2597690224647522, 0.36101701855659485, -0.46641820669174194, -0.3661317527294159, -0.5276626348495483, 0.4242513179779053, -0.015813542529940605, 0.8072351813316345, -0.17081040143966675, 0.26033157110214233, 0.028281087055802345, -0.3788079619407654, -0.28021007776260376, -0.6516935229301453, -0.7641395330429077, -0.7036643624305725, 1.0108026266098022, 0.21895863115787506, 0.5275894999504089, 0.5657681226730347, 0.33581677079200745, 0.41783323884010315, -0.3759279251098633, 0.23221828043460846, -0.33649754524230957, 0.07607187330722809, -0.25547730922698975, -0.6103736758232117, -0.6310375928878784, -0.2890429198741913, 0.7797631025314331, 0.7082741856575012, -0.2894321084022522, 0.20872633159160614, 0.19312968850135803, 0.5021823644638062, -0.5053227543830872, 0.21699687838554382, -0.7188330292701721, 0.16667231917381287, -0.5409348607063293, 0.026137923821806908, -0.5839052200317383, 0.3833625018596649, -0.3627728819847107, -0.35362568497657776, -0.04937174916267395, -0.11435713618993759, 0.4488978385925293, -0.10305940359830856, -0.5416419506072998, -0.10828378796577454, -0.48361024260520935, 0.6611871719360352, -0.5710228681564331, 0.5612632632255554, 0.6364191770553589, 0.12122701108455658, -0.0724283903837204, -0.29071009159088135, -0.5524858832359314, -0.25957751274108887, -0.07780370116233826, -0.015837952494621277, 0.05114879831671715, 0.07651866227388382, 0.4369843304157257, 0.2312304973602295, -0.7249583005905151, 0.6116121411323547, -0.24730007350444794, -0.32177838683128357, 0.3764432370662689, 0.02906402014195919, 0.4900486469268799, -0.09422611445188522, -0.10676079988479614, 0.06414863467216492, -0.6128032207489014, 0.015094156377017498, 0.5635863542556763, 0.41564488410949707, -0.18529553711414337, 0.5641250014305115, -0.05482446774840355, 0.7181470990180969, -0.2917529344558716, -0.27785083651542664, 0.37110424041748047, -0.3847390413284302, -0.2651338577270508, -0.0035464507527649403, 0.8537029027938843, -0.0035132516641169786, 0.5647783279418945, -0.17711074650287628, -0.4758027195930481, -0.2173483818769455, 0.02932511270046234, -0.588469922542572, -0.0035682818852365017, 0.019413921982049942, -0.3677756190299988, 0.10894882678985596, -0.6387495994567871, -0.36683711409568787, -0.29164576530456543, -0.23222273588180542, 0.2234368920326233, -0.1889093667268753, -0.6504478454589844, 0.1433352530002594, 0.3070862591266632, -0.05116840824484825, 0.03871313855051994, -1.0348035097122192, 0.1500965803861618, 0.5312172174453735, 0.8061460852622986, -0.303680956363678, -0.896809995174408, -0.43132635951042175, 0.2890506386756897, -0.40906819701194763, 0.6591188311576843, -0.3751790225505829, 0.08330865204334259, 0.13126936554908752, 0.3678983151912689, -0.2656719386577606, -0.6207616925239563, 0.19724948704242706, -0.785183846950531, -0.06787149608135223, -0.45565110445022583, -0.09260837733745575, -0.11391789466142654, 0.6662129163742065, -0.7802088856697083, 0.6801596283912659, -0.4566516876220703, -0.8511137962341309, 0.057980719953775406, -0.5492419600486755, -0.601658284664154, -0.024183528497815132, 0.031087040901184082, 0.04772821068763733, 0.1499100625514984, 0.2523704171180725, 0.454247385263443, -0.3266618251800537, 0.26914769411087036, -0.2963973879814148, -0.10183848440647125, 0.1358025074005127, -0.5453028082847595, 0.7830155491828918, 0.06387180089950562, -0.22448590397834778, 0.07347708195447922, -0.527728796005249, 0.0556829534471035, 0.20883239805698395, -0.6322996020317078, -0.24286924302577972, -0.02981531247496605, 0.0683526024222374, 0.47877153754234314, 0.1707604080438614, -0.5853311419487, 0.10857987403869629, -0.3787260949611664, 0.5386982560157776, 0.651672899723053, -0.4020695686340332, 0.3741629719734192, -0.10770117491483688, 0.5374823808670044, 0.14945414662361145, -0.15714962780475616, -0.20486995577812195, -0.43286094069480896, -0.6353660225868225, -0.1509135365486145, 0.156270831823349, 0.6301816701889038, -0.8807296752929688, -0.13038715720176697, -0.21508045494556427, -0.1388307362794876, -0.3355264961719513, 0.4584720730781555, 0.43158388137817383, 0.2380802482366562, 0.40391433238983154, -0.049550142139196396, -0.2107645869255066, -1.2449777126312256, -0.18955126404762268, -0.07264378666877747, 0.18052254617214203, 0.1328321248292923, 0.33186861872673035, -0.12591926753520966, 0.08711354434490204, -0.08533090353012085, -0.1761181354522705, -0.4239051043987274, 0.08514837175607681, 0.31903746724128723, 0.3335789144039154, 0.46649986505508423, -0.6508641839027405, -0.6593111157417297, 0.6503296494483948, -0.8399351835250854, -0.1323636770248413, -0.07771673053503036, -0.031308744102716446, 0.38747796416282654, 0.5377636551856995, -0.7668313384056091, 0.07978320121765137, 0.7057765126228333, 0.034237612038850784, 0.5836668610572815, -0.4245601296424866, 0.15498137474060059, -1.1225613355636597, -0.07890233397483826, 0.033629897981882095, -0.09857270866632462, -0.6658267378807068, 0.2057599574327469, 0.2784678041934967, 0.049870993942022324, -0.363337904214859, 0.5307005047798157, -0.7507973909378052, -0.1951647698879242, -0.37983226776123047, 0.10297294706106186, -0.08606045693159103, 0.571820855140686, 0.05718725919723511, 0.5933895111083984, 0.6343735456466675, -0.37809720635414124, 0.34881356358528137, -0.06644005328416824, -0.4214443862438202, 0.4297523498535156, -0.528153121471405, 0.14706046879291534, -0.31969141960144043, -0.030811166390776634, -0.91038978099823, -0.11776356399059296, -0.07545222342014313, -0.21581685543060303, 0.3629200756549835, -0.3543543517589569, -0.9820106029510498, -0.31823498010635376, 0.15412861108779907, 0.5958364605903625, -0.03558224067091942, -0.5258282423019409, 0.735465943813324, 0.33176326751708984, -0.35329270362854004, -0.8047110438346863, -1.0144479274749756, 0.4037744700908661, 0.04490404203534126, -0.7344852685928345, 0.12176401913166046, -0.1684439331293106, -0.309928834438324, -0.2606557011604309, 0.1565040647983551, -0.20752912759780884, 0.10808596760034561, -0.14684522151947021, -0.04309086129069328, -0.4178107976913452, 0.3194679021835327, 0.12338912487030029, 0.13704662024974823, 0.20989912748336792, -0.35005033016204834, 0.8987006545066833, -0.07798631489276886, -0.5178404450416565, -0.26298782229423523, 0.44082343578338623, 0.7942988276481628, -0.6824557185173035, 0.8804855346679688, 0.819855272769928, -0.410293847322464, -0.3248954713344574, -0.6746248602867126, -0.10647149384021759, -0.46891289949417114, 0.7728620767593384, -0.7539297938346863, -0.8221938610076904, 1.0102806091308594, 0.23284317553043365, -0.019257761538028717, 0.3212329149246216, 1.036422848701477, 0.061247024685144424, 0.9769344329833984, 0.3802715241909027, -0.11177805066108704, 0.3177005350589752, -0.05166804417967796, 0.24325911700725555, -0.7940807938575745, -0.2654653489589691, -0.3367907404899597, -0.4521371126174927, -0.6431077718734741, -0.380994975566864, 0.20404799282550812, 0.043996550142765045, -0.036432746797800064, 0.30722376704216003, -0.12552441656589508, 0.6226235628128052, 0.23375043272972107, -0.10033447295427322, 0.2225079983472824, 0.27712899446487427, -0.5522091388702393, 0.012542211450636387, -0.6699230074882507, -0.24293266236782074, 0.8365452289581299, 0.3009827733039856, 0.6569111943244934, 0.27620142698287964, 0.49974390864372253, -0.0490715466439724, 0.38301655650138855, -0.6673882007598877, 0.6183313727378845, -0.2552023231983185, -0.5739490985870361, -0.18395498394966125, -0.48386213183403015, -0.9014468789100647, 0.7641656398773193, -0.06273005902767181, -0.6666765809059143, 0.008092151023447514, 0.0287786852568388, 0.017165817320346832, 0.7313696146011353, -0.8136557340621948, 0.8903059959411621, -0.5020925998687744, -0.49476301670074463, -0.39873838424682617, -0.2190537005662918, 0.24060875177383423, -0.31386345624923706, 0.46295619010925293, -0.14814943075180054, 0.030834490433335304, 0.5029656887054443, 0.20074430108070374, 0.8766502141952515, 0.004050695337355137, -0.5530734062194824, 0.02621564455330372, 0.36893773078918457, 0.4483375549316406, 0.15928132832050323, -0.28321564197540283, 0.3472895622253418, -0.21350856125354767, -0.4083697497844696, -0.2776758372783661, 1.0629205703735352, -0.6502805948257446, -0.72164386510849, -0.179142564535141, -0.9609872698783875, -0.2412395477294922, 0.4724786579608917, 0.011363317258656025, 0.2832884192466736, 0.06271630525588989, 0.032855771481990814, 0.48636192083358765, -0.3884405195713043, 0.6691443920135498, 0.8421681523323059, -0.3937235176563263, -0.25642675161361694, 0.7758938670158386, 0.29423415660858154, 0.3487281799316406, 0.42287367582321167, 0.19013065099716187, -0.17157818377017975, -0.697100043296814, -0.5888127088546753, 0.4495929777622223, -0.7632567882537842, 0.10648659616708755, -0.8505600690841675, -0.027057085186243057, -0.40550506114959717, 0.18740928173065186, -0.3795033097267151, -0.058532655239105225, -0.01933453232049942, -0.1379549503326416, -0.12003088742494583, 0.7037505507469177, 0.017412416636943817, 0.18724492192268372, -0.7276855111122131, 0.25095134973526, 0.28153273463249207, 0.39242246747016907, 0.21131207048892975, -0.48124703764915466, -0.508033812046051, 0.1636921912431717, 0.04704173281788826, -0.7463455200195312, 0.37500423192977905, 0.2083934098482132, 0.6904826760292053, 0.08810430020093918, -0.4720367193222046, 0.45318058133125305, -0.8021610975265503, 0.6007101535797119, 0.08880042284727097, -0.7470024824142456, 0.11344243586063385, -0.4142766296863556, 0.631229817867279, 0.18246133625507355, 0.40235990285873413, -0.7547795176506042, -0.35778719186782837, -0.015479566529393196, -0.6887418031692505, 0.7865805625915527, -0.0430031344294548, 0.35430923104286194, -0.17580413818359375, 0.26600706577301025, -0.1505657285451889, 0.2415456473827362, -1.0729844570159912, -0.15114618837833405, 0.06397746503353119, 0.010342629626393318, -0.30591338872909546, -0.28947487473487854, -0.31271204352378845, -0.17225348949432373, 0.2882829010486603, -0.36847490072250366, 0.09031440317630768, -0.1974773406982422, -0.44839122891426086, -0.027391944080591202, 0.38585174083709717, 0.7374312281608582, 0.857674241065979, 0.21140314638614655, 0.45922404527664185, 0.19767950475215912, -0.2925712466239929, 0.17566227912902832, 0.0022406417410820723, 0.15917439758777618, -0.13985536992549896, 0.5181553363800049, 0.7773805856704712, -0.06948709487915039, -0.4619958996772766, 0.3328203856945038, -0.08774235844612122, -0.16449138522148132, -0.0033971599768847227, -0.37695953249931335, 0.5868576765060425, 0.31925174593925476, 0.23387697339057922, 0.05722499266266823, -0.14132928848266602, -0.38113105297088623, -0.10034812241792679, 0.4322863817214966, 0.0023620715364813805, -0.6135157942771912, 0.4110012352466583, -0.11393038928508759, -0.4095952808856964, 0.5613221526145935, -0.22323976457118988, -0.5882264971733093, 0.702394425868988, 0.8260722160339355, 0.7767540216445923, -0.369925320148468, 0.13530556857585907, 0.3295612037181854, 0.7368427515029907, -0.16649141907691956, 0.22378264367580414, 0.04079683870077133, -1.007374882698059, -0.9341351985931396, -0.6515731811523438, 0.0714874416589737, 0.18476645648479462, -0.5479544997215271, -0.11561644077301025, -0.31521332263946533, -0.14213328063488007, 0.2990747392177582, -0.3995974063873291, -0.6186953186988831, -0.0420941524207592, 0.4581820070743561, 0.8783886432647705, -0.8832255601882935, 1.1497048139572144, 0.96439129114151, -0.13321535289287567, -0.638777494430542, -0.013430940918624401, 0.015010449104011059, -0.9955018758773804, 1.0188941955566406, 0.18528389930725098, -0.21876035630702972, -0.09855151176452637, -0.12520606815814972, -0.7377455830574036, 0.46897774934768677, 0.7267257571220398, -0.5751368999481201, 0.16370998322963715, 0.2694333791732788, 0.6665461659431458, -0.19562841951847076, 0.1915207803249359, 0.23325851559638977, 0.5464863777160645, -0.24625028669834137, -1.2816102504730225, -0.13168364763259888, -0.3747888505458832, -0.013686888851225376, 0.2993618845939636, -0.582058846950531, 1.0485974550247192, -0.18247966468334198, -0.019792979583144188, -0.3528669774532318, 0.3791639804840088, 0.01518205925822258, -0.0831136554479599, 0.4578039050102234, 0.5661288499832153, 0.7333621978759766, 0.004108157940208912, 1.0907946825027466, -0.5015842914581299, 0.2517227530479431, 1.0498727560043335, -0.5023238658905029, 0.9113267660140991, 0.5707144141197205, 0.014025633223354816, 0.3888912498950958, 0.4302710294723511, 0.16598495841026306, 0.20500066876411438, 0.21805816888809204, -0.28948143124580383, -0.4932267367839813, -0.2536289691925049, -0.08439401537179947, 0.5782338380813599, 0.2848374545574188, -0.20871098339557648, -0.2683781087398529, 0.40647879242897034, 0.11900962144136429, 0.057189323008060455, -0.38450026512145996, 0.7147142887115479, 0.12519040703773499, -0.8211915493011475, 0.7818604707717896, 0.2954886555671692, 0.740868866443634, -0.7317414879798889, 0.26119399070739746, -0.3350478708744049, 0.2551313042640686, -0.23085685074329376, -0.9035197496414185, 0.1662404090166092, -0.06904355436563492, -0.4229842722415924, -0.4471319913864136, 0.4823229908943176, -0.8317831754684448, -0.5371842384338379, 0.796747624874115, 0.6137080192565918, -0.0035293386317789555, -0.12357237190008163, -0.7322542667388916, 0.19857706129550934, -0.08457615226507187, -0.3105262815952301, 0.6041232943534851, 0.5001260042190552, -0.1811583936214447, 0.72278892993927, 0.5825926661491394, 0.4147147536277771, 0.10240089148283005, 0.36885184049606323, 0.6741374731063843, -0.3865571618080139, -0.37690219283103943, -0.9421093463897705, 0.127627432346344, 0.05576641857624054, -0.16567781567573547, 0.8279796838760376, 0.4711484909057617, 1.0874372720718384, -0.07983890175819397, 0.36064615845680237, 0.04966232553124428, 0.009766153059899807, -0.508892834186554, 0.7911536693572998, -0.8615326881408691, 0.21688450872898102, 0.1111154556274414, -0.8185810446739197, -0.3120005130767822, 0.4355705678462982, -0.36006560921669006, 0.11568094044923782, 0.9198737144470215, 0.9548285007476807, -0.13709816336631775, -0.22909677028656006, 0.4279719889163971, 0.3401387631893158, 0.2805318236351013, 0.5778011679649353, 0.7266870141029358, 0.059839777648448944, 0.47798487544059753, -0.2481415569782257, -0.04928244277834892, 0.3484373390674591, -0.703262209892273, -1.0105171203613281, -0.2669050693511963, -0.16484308242797852, -0.24418310821056366, -0.07110603898763657, 0.7852942943572998, 0.6569738388061523, -0.8438326716423035, -0.6447017192840576, 0.263999342918396, 0.24992874264717102, -0.274833083152771, -0.09852973371744156, 0.2458043247461319, -0.5605913996696472, -0.760813295841217, 0.58189457654953, 0.409159392118454, -0.21261531114578247, -0.42998969554901123, 0.07323057949542999, -0.54295814037323, -0.27123990654945374, 0.7813929915428162, 0.11986222118139267, -0.7873936295509338, 0.07295837253332138, 0.22987666726112366, -0.28793007135391235, 0.07685548812150955, 0.8688156604766846, -0.13175462186336517, 0.4803428649902344, 0.48626306653022766, 0.7616133093833923, 0.3467386066913605, -0.5656296610832214, 0.5468632578849792, -0.7770472764968872, 0.37703004479408264, 0.13227297365665436, 0.5825309157371521, 0.4715351164340973, -0.220517098903656, 0.024609118700027466, 0.15378037095069885, -0.510041356086731, -0.747381329536438, 0.23405906558036804, -0.6647878289222717, -0.21050477027893066, 1.2222797870635986, -0.22175614535808563, -0.3836727440357208, 0.030121946707367897, -0.01325604971498251, -0.10056789964437485, 0.010840279050171375, 0.5278140306472778, 0.9950193762779236, 0.14457948505878448, -0.4160860776901245, -0.7447906136512756, 0.1924770176410675, 0.6250566244125366, -0.5943993926048279, 0.1850314438343048, 0.22385859489440918, 0.3460514545440674, 0.29155561327934265, 0.6220743060112, -0.023560285568237305, 0.04180430248379707, -0.3760942816734314, 0.2272053360939026, -0.09189791977405548, -0.4295707941055298, -0.3463442921638489, 0.3190510869026184, 0.0981767401099205, 0.005287882871925831 ]
http://arxiv.org/abs/2402.18807v1
http://arxiv.org/pdf/2402.18807v1
On the Decision-Making Abilities in Role-Playing using Large Language Models
2024-02-29T02:22:23
2024-02-29T02:22:23
Chenglei Shen, Guofu Xie, Xiao Zhang, Jun Xu
cs.CL
cs.CL, cs.AI
Large language models (LLMs) are now increasingly utilized for role-playing tasks, especially in impersonating domain-specific experts, primarily through role-playing prompts. When interacting in real-world scenarios, the decision-making abilities of a role significantly shape its behavioral patterns. In this paper, we concentrate on evaluating the decision-making abilities of LLMs post role-playing thereby validating the efficacy of role-playing. Our goal is to provide metrics and guidance for enhancing the decision-making abilities of LLMs in role-playing tasks. Specifically, we first use LLMs to generate virtual role descriptions corresponding to the 16 personality types of Myers-Briggs Type Indicator (abbreviated as MBTI) representing a segmentation of the population. Then we design specific quantitative operations to evaluate the decision-making abilities of LLMs post role-playing from four aspects: adaptability, exploration$\&$exploitation trade-off ability, reasoning ability, and safety. Finally, we analyze the association between the performance of decision-making and the corresponding MBTI types through GPT-4. Extensive experiments demonstrate stable differences in the four aspects of decision-making abilities across distinct roles, signifying a robust correlation between decision-making abilities and the roles emulated by LLMs. These results underscore that LLMs can effectively impersonate varied roles while embodying their genuine sociological characteristics.
[ -0.4574733376502991, -0.7668554782867432, 0.9195711612701416, 0.3908802568912506, 0.08246180415153503, 0.25440794229507446, -0.327334463596344, -0.3466600477695465, 0.1451386660337448, 0.4159155488014221, -0.27752137184143066, -0.27270758152008057, -0.5602467060089111, 0.10468398034572601, 0.18053129315376282, 0.8330000042915344, 0.1453426480293274, 0.3514937460422516, -0.44878411293029785, 0.24326427280902863, -0.831963300704956, -0.7617278695106506, -1.0030276775360107, -0.23495601117610931, 0.4997667074203491, 0.27500855922698975, 0.7283255457878113, 0.16641546785831451, 0.5567827820777893, 0.3582017719745636, -0.13628391921520233, 0.1380523294210434, -0.5415799021720886, 0.12041017413139343, -0.5909358263015747, -0.6708201766014099, -0.6937573552131653, 0.18618136644363403, 0.7172148823738098, 0.13856141269207, -0.061942558735609055, 0.21749995648860931, 0.0013163178227841854, 0.23859266936779022, -0.3794732391834259, 0.34889206290245056, -0.6694006323814392, 0.0676243007183075, 0.01021407637745142, -0.29452216625213623, -0.48261773586273193, -0.20768842101097107, 0.23317299783229828, -0.21714867651462555, -0.21137037873268127, 0.10809887200593948, 0.42597195506095886, 0.05834217369556427, -0.168683722615242, -0.32246923446655273, -0.8262626528739929, 0.5375403761863708, -0.7969055771827698, 0.21803507208824158, 0.685093104839325, 0.4432927966117859, -0.2232041209936142, -0.10760267823934555, -0.29085856676101685, -0.40251946449279785, -0.23328396677970886, 0.11967805027961731, 0.2840176522731781, 0.21278570592403412, 0.6441420316696167, 0.08434993028640747, -0.017865465953946114, 0.3848254382610321, -0.40893101692199707, -0.06560587137937546, 0.7524498105049133, 0.13644841313362122, 0.25447016954421997, -0.04461462423205376, -0.0836821049451828, 0.03260493278503418, -0.6360686421394348, 0.3230709433555603, 0.4516979157924652, 0.08517372608184814, 0.06294026970863342, 0.6009783148765564, 0.17688992619514465, 0.47278571128845215, 0.22505517303943634, -0.40113234519958496, -0.02818579226732254, -0.007446844596415758, -0.3711034655570984, -0.081632100045681, 0.4060356914997101, 0.48705339431762695, 0.43706345558166504, 0.001417575404047966, -0.29972928762435913, -0.2769435942173004, 0.36030125617980957, -0.5386056900024414, 0.008224972523748875, -0.02350725792348385, -0.6918120980262756, -0.30838489532470703, -0.08034651726484299, -0.7352124452590942, -0.5511908531188965, -0.32287994027137756, 0.853348970413208, -0.40531405806541443, -0.40752941370010376, -0.01045224443078041, -0.20873260498046875, 0.2886227071285248, 0.342909574508667, -0.81092369556427, 0.3694157004356384, 0.513935923576355, 0.8037543892860413, -0.20603594183921814, -0.35140883922576904, -0.6106351017951965, 0.2263094186782837, -0.48454731702804565, 0.4673987925052643, -0.7167348861694336, -0.5837001204490662, -0.06811995059251785, -0.2629672586917877, -0.2644357681274414, -0.6840230226516724, 0.6145533323287964, -0.571494460105896, -0.25021371245384216, -0.45581620931625366, -0.48631948232650757, -0.1895826756954193, 0.46511515974998474, -0.6803475022315979, 0.7116636633872986, 0.05972808226943016, -0.3601744771003723, 0.7808879017829895, -0.7601272463798523, -0.3872365355491638, 0.09306156635284424, -0.3308276832103729, -0.3706972897052765, 0.2617711126804352, -0.011936667375266552, 0.7767269611358643, -0.1688094437122345, 0.19890272617340088, -0.49551865458488464, -0.2913837432861328, 0.6959631443023682, -0.15420378744602203, 0.5048534274101257, -0.30703282356262207, -0.16135935485363007, 0.17754293978214264, -0.250839501619339, -0.006714913062751293, -0.12175103276968002, -0.366542786359787, -0.339960515499115, 0.4080978035926819, -0.450336754322052, 0.5488264560699463, -0.01607266440987587, -0.2088843435049057, 0.10725461691617966, -0.038649242371320724, 0.19977369904518127, 0.8228607773780823, 0.15427380800247192, 0.29552018642425537, -0.44539985060691833, 0.6387581825256348, -0.25577548146247864, 0.3529449999332428, 0.20347295701503754, -0.4067363739013672, -0.5602867007255554, -0.5046717524528503, 0.21941401064395905, 0.6952235102653503, -0.8406867980957031, 0.4872819185256958, -0.04399322718381882, -0.49502629041671753, -0.2306259423494339, -0.12395381182432175, 0.42177683115005493, 0.04573950543999672, 0.2737291753292084, -0.11327677965164185, -0.5928789377212524, -0.8949443101882935, -0.33157914876937866, -0.3873293101787567, 0.11217277497053146, 0.5281665921211243, 0.6161948442459106, -0.09972025454044342, 0.7629539370536804, -0.2577025890350342, -0.15424923598766327, -0.49373897910118103, -0.267201691865921, 0.16364961862564087, 0.4050278961658478, 0.5385389924049377, -0.6497384309768677, -0.45841583609580994, 0.10181975364685059, -0.6204519867897034, -0.150494784116745, -0.35316672921180725, -0.28314635157585144, 0.2044903039932251, 0.39247384667396545, -0.8124873042106628, 0.4237057864665985, 0.30343157052993774, -0.540881335735321, 0.9607474207878113, -0.29612332582473755, 0.4849378168582916, -0.3982393443584442, -0.05377570539712906, -0.01185753382742405, -0.03285490348935127, -0.6058328151702881, 0.160452201962471, -0.11403758823871613, 0.33468717336654663, -0.13413605093955994, 0.32920560240745544, -0.5268508195877075, -0.50982666015625, 0.0720268040895462, 0.015013229101896286, -0.3796599209308624, 0.26944661140441895, -0.04691055789589882, 0.7729505300521851, 0.8063133955001831, -0.850028395652771, 0.10214812308549881, 0.06609102338552475, -0.5903950929641724, 0.49365800619125366, -0.40674567222595215, -0.11061745882034302, -0.18599924445152283, 0.10000265389680862, -0.8835541605949402, -0.09214023500680923, -0.022880617529153824, -0.18521572649478912, 0.4254859685897827, -0.32646307349205017, -0.6163634061813354, -0.2742063105106354, -0.17268644273281097, 0.06536445766687393, 0.4701579213142395, -0.06694109737873077, 0.91673743724823, 0.48019465804100037, -0.4010309875011444, -0.35646530985832214, -0.5084922313690186, 0.13289602100849152, -0.4770948588848114, -0.3437974452972412, 0.4914278984069824, -0.44558829069137573, -0.5685763955116272, -0.3500571846961975, -0.08440984040498734, 0.0444071926176548, 0.16093625128269196, 0.0717226043343544, 0.46637600660324097, 0.09012576937675476, -0.15118001401424408, 0.08887647837400436, 0.05116482079029083, 0.16311822831630707, 0.31913095712661743, 0.3595576584339142, 0.024091703817248344, -0.32325223088264465, 0.02931373380124569, 0.12738125026226044, 0.767710268497467, -0.3639456331729889, 0.7358610033988953, 0.31649085879325867, -0.11520086228847504, -0.08501448482275009, -0.7499497532844543, -0.123931385576725, -0.4041914939880371, 0.4295271039009094, -0.42945146560668945, -0.9215490818023682, 0.666241466999054, -0.032186370342969894, 0.18431486189365387, 0.13860972225666046, 0.5290068984031677, -0.09272494912147522, 1.1803349256515503, 0.26478055119514465, 0.2130132019519806, 0.30115872621536255, -0.04185065999627113, 0.2749614119529724, -0.9452084302902222, -0.3360935151576996, -0.042707886546850204, -0.4805759787559509, -0.6446989178657532, -0.702002763748169, 0.5701251029968262, 0.0766427144408226, -0.36223167181015015, 0.08087221533060074, -0.0875321626663208, 0.4028893709182739, 0.14006726443767548, 0.19717861711978912, 0.031831588596105576, -0.29229381680488586, 0.052205514162778854, -0.15980879962444305, -0.5326657891273499, -0.5373969674110413, 0.7444329857826233, 0.5241025686264038, 0.415091335773468, 0.4883977174758911, 0.528333842754364, 0.3836532235145569, 0.552524745464325, -0.8253741264343262, 0.9121136665344238, 0.0733766108751297, -0.6363482475280762, -0.32577505707740784, -0.37738654017448425, -0.37240108847618103, 0.5788147449493408, -0.7578404545783997, -0.737700879573822, -0.0010403655469417572, 0.09607893973588943, -0.5540465116500854, 0.36188068985939026, -0.8466106057167053, 0.6127774715423584, -0.4926412105560303, -0.4471493661403656, -0.49426743388175964, -0.27625492215156555, 0.368117094039917, -0.16246168315410614, 0.31369808316230774, 0.00703428266569972, -0.42048656940460205, 0.4178791046142578, 0.39585378766059875, 0.7777549624443054, -0.4611954689025879, -0.009092889726161957, 0.13326765596866608, 0.36931079626083374, 0.38524729013442993, 0.10064470767974854, -0.5515289902687073, 0.15892396867275238, 0.16863100230693817, 0.12116454541683197, -0.6862304210662842, 0.58542799949646, -0.5218538045883179, -0.96600741147995, -0.33905306458473206, -0.1694711446762085, -0.4820724129676819, 0.12136808782815933, -0.04353930056095123, 0.19740226864814758, -0.7910798788070679, 0.2479751855134964, 0.6299511194229126, -0.4386756420135498, 0.40256714820861816, 0.52535480260849, -0.4980410039424896, -0.33750638365745544, 0.6577399373054504, 0.49501797556877136, 0.2835588753223419, 0.3984174430370331, 0.2572711110115051, -0.1902603954076767, -0.7166436910629272, -0.2868889570236206, 0.2427835911512375, -0.3938279449939728, -0.1803281307220459, -0.5026107430458069, -0.108982153236866, -0.13645361363887787, -0.19313518702983856, 0.21601292490959167, 0.008620222099125385, 0.04758932441473007, -0.4528592824935913, 0.007706507109105587, 0.7764859199523926, -0.06724093109369278, 0.2703169882297516, -0.5729019641876221, -0.07826221734285355, 0.28875336050987244, 0.4442206919193268, 0.2098240852355957, -0.28002285957336426, -0.2836655080318451, -0.22530010342597961, 0.06522248685359955, -0.9478758573532104, 0.14762751758098602, -0.04306834936141968, 0.9414862990379333, 0.2652001976966858, -0.36318454146385193, 0.5061296224594116, -0.48926761746406555, 0.68257737159729, -0.08888237923383713, -0.8641034960746765, 0.17154616117477417, -0.5058800578117371, -0.10651085525751114, 0.3732503354549408, 0.22356170415878296, -0.2083899825811386, -0.15557095408439636, -0.5073087215423584, -0.48550471663475037, 0.8954638242721558, 0.3848775625228882, -0.02208123728632927, -0.07628588378429413, 0.3037089407444, 0.10569299757480621, 0.27976030111312866, -0.7427587509155273, -0.027597002685070038, 0.1471901834011078, 0.37709861993789673, -0.16531522572040558, -0.4779008626937866, -0.0028769720811396837, -0.4767409861087799, 0.6045817732810974, 0.13471421599388123, 0.20883437991142273, 0.04645388200879097, 0.006165128666907549, 0.15656311810016632, 0.3297322988510132, 0.5208613276481628, 0.7847563028335571, -0.16006551682949066, 0.05382097512483597, 0.605340301990509, -0.15063698589801788, -0.05720873922109604, -0.10073254257440567, 0.17305561900138855, -0.3760216534137726, 0.41616788506507874, 0.6264034509658813, 0.3877623975276947, -0.8379596471786499, 0.3449484705924988, 0.1795056164264679, -0.10646767169237137, -0.38433048129081726, 0.4106651246547699, 0.12836062908172607, 0.36069455742836, 0.10279759019613266, 0.005409481469541788, 0.19461259245872498, -0.9085118770599365, 0.05636143311858177, 0.4619904160499573, 0.0761507973074913, -0.17109684646129608, 0.046215858310461044, 0.21991778910160065, -0.48386350274086, 0.16095973551273346, -0.3310031294822693, -0.4494238495826721, 0.7141662240028381, 0.5526525974273682, 0.7881454825401306, -0.5359018445014954, 0.31934359669685364, 0.3371848464012146, 0.45715269446372986, -0.1511882245540619, 0.14566156268119812, 0.09128052741289139, -0.8008244633674622, -0.6718457937240601, -0.3360138535499573, -0.22880443930625916, 0.16527444124221802, -0.5139983296394348, 0.25164926052093506, -0.7530962228775024, -0.5276516675949097, -0.08525550365447998, -0.04405637085437775, -0.8593437075614929, 0.2142762690782547, -0.06737276911735535, 0.7809333205223083, -0.5205426216125488, 0.37162095308303833, 0.7469415664672852, -0.31129780411720276, -0.477375328540802, 0.025928089395165443, -0.09589709341526031, -0.6404291391372681, 0.6352807283401489, 0.06942527741193771, -0.07711923122406006, -0.13263723254203796, -0.3799033761024475, -0.8390474915504456, 1.1655654907226562, 0.11408025771379471, -0.45926618576049805, -0.1838136911392212, -0.1738017499446869, 0.651821494102478, -0.6277095675468445, 0.630864679813385, 0.7982698678970337, 0.7294594049453735, -0.07732849568128586, -1.0270806550979614, 0.01639096438884735, 0.025093965232372284, 0.008799402043223381, 0.18601670861244202, -0.5585211515426636, 0.6340698599815369, -0.3100370764732361, -0.07231072336435318, -0.022586077451705933, 0.31152552366256714, 0.42634889483451843, 0.07265605032444, 0.8870493173599243, 0.2024572789669037, 0.5930862426757812, 0.2021767646074295, 0.7969574332237244, -0.10601966828107834, -0.08453626185655594, 0.7927381992340088, -0.4849857687950134, 0.8015373945236206, 0.07589141279459, -0.04667221009731293, 0.6774137616157532, 0.3676218092441559, -0.08579277992248535, 0.2910611927509308, 0.194159597158432, -0.12418100982904434, -0.5340401530265808, 0.23244695365428925, 0.10073164105415344, 0.7662407755851746, 0.7781463265419006, -0.6127678751945496, 0.18492290377616882, -0.22309908270835876, 0.24701236188411713, -0.030307486653327942, -0.5621323585510254, 0.7791296243667603, -0.09826802462339401, -0.8534175753593445, -0.026515262201428413, -0.012830223888158798, 0.668539822101593, -0.6891671419143677, -0.3478930592536926, 0.2901078164577484, -0.0027053782250732183, -0.28789836168289185, -1.2275985479354858, 0.18317145109176636, 0.07663079351186752, -0.3708743155002594, -0.2968760132789612, 0.748217761516571, -0.21736837923526764, -0.2394781857728958, 0.5025057792663574, 0.7243242263793945, 0.182648703455925, 0.06200319156050682, -0.6297017335891724, 0.14860157668590546, 0.0102083133533597, -0.044515762478113174, 0.49406126141548157, 0.379337877035141, -0.16032476723194122, 0.5764606595039368, 0.5899157524108887, 0.30038681626319885, -0.46219122409820557, 0.12580211460590363, 0.5068016052246094, -0.6674194931983948, -0.5704469084739685, -1.0342745780944824, 0.5021541118621826, -0.5311338901519775, -0.19996319711208344, 0.7244572043418884, 0.5669935941696167, 0.6904208660125732, -0.1698780059814453, 0.9827172756195068, -0.3262055516242981, 0.28791433572769165, -0.591132402420044, 0.5883839726448059, -0.08425654470920563, 0.2731534242630005, -0.3653961718082428, -0.8325201272964478, 0.044542718678712845, 0.721228837966919, -0.681252658367157, 0.43983444571495056, 0.4450531005859375, 0.7867745757102966, 0.048889514058828354, -0.2439788430929184, 0.5994805693626404, 0.35356366634368896, 0.4252011775970459, 0.30339646339416504, 0.8338302373886108, 0.3275218904018402, 0.22110027074813843, 0.21603542566299438, -0.6514682769775391, -0.27355632185935974, -0.9018830060958862, -1.2516363859176636, -0.4423488974571228, 0.008836998604238033, -0.13464775681495667, -0.15840381383895874, 0.9777348041534424, 0.6607226133346558, -0.22033026814460754, -0.4331963062286377, 0.39814338088035583, 0.1358805000782013, -0.5816106200218201, -0.2862006425857544, 0.06978219002485275, -0.1704387068748474, -0.406330943107605, 0.40914440155029297, 0.39227527379989624, -0.1223175972700119, -0.3964260518550873, -0.06062270700931549, -0.2232378125190735, 0.5302547216415405, 1.2062404155731201, -0.01793840527534485, -0.5765849947929382, -0.3093685507774353, -0.05234510451555252, 0.1513855755329132, -0.2813509702682495, 0.9704412817955017, -0.43678048253059387, 0.3472024202346802, 0.4628845751285553, 0.33818551898002625, 0.20035743713378906, -0.12819552421569824, 0.6934327483177185, -0.24082571268081665, -0.3277682960033417, 0.27491286396980286, 0.4005182385444641, 0.32369598746299744, -0.4860704243183136, 0.4693376421928406, -0.09381566941738129, -0.7707872986793518, -0.4934079349040985, 0.28453147411346436, -0.6632692217826843, -0.2361854761838913, 1.4488298892974854, -0.09246813505887985, 0.15997445583343506, -0.11567148566246033, -0.5877535343170166, -0.053722623735666275, -0.40687525272369385, 0.7829121351242065, 1.0137007236480713, -0.36905521154403687, -0.2719738781452179, -0.7312701940536499, 0.8167738914489746, 0.16482284665107727, -0.716948926448822, 0.13153387606143951, 0.669922411441803, 0.17140109837055206, 0.068492092192173, 0.6223807334899902, -0.1069742813706398, 0.04609903320670128, -0.37719711661338806, -0.2646715044975281, 0.03693171590566635, -0.3595712184906006, -0.021270643919706345, -0.12412142753601074, 0.26177626848220825, 0.23453305661678314 ]
http://arxiv.org/abs/2403.00839v1
http://arxiv.org/pdf/2403.00839v1
ToolNet: Connecting Large Language Models with Massive Tools via Tool Graph
2024-02-29T02:04:00
2024-02-29T02:04:00
Xukun Liu, Zhiyuan Peng, Xiaoyuan Yi, Xing Xie, Lirong Xiang, Yuchen Liu, Dongkuan Xu
cs.AI
cs.AI, cs.CL
While achieving remarkable progress in a broad range of tasks, large language models (LLMs) remain significantly limited in properly using massive external tools. Existing in-context learning approaches simply format tools into a list of plain text descriptions and input them to LLMs, from which, LLMs generate a sequence of tool calls to solve problems step by step. Such a paradigm ignores the intrinsic dependency between tools and offloads all reasoning loads to LLMs, making them restricted to a limited number of specifically designed tools. It thus remains challenging for LLMs to operate on a library of massive tools, casting a great limitation when confronted with real-world scenarios. This paper proposes ToolNet, a plug-and-play framework that scales up the number of tools to thousands with a moderate increase in token consumption. ToolNet organizes tools into a directed graph. Each node represents a tool, and weighted edges denote tool transition. Starting from an initial tool node, an LLM navigates in the graph by iteratively choosing the next one from its successors until the task is resolved. Extensive experiments show that ToolNet can achieve impressive results in challenging multi-hop tool learning datasets and is resilient to tool failures.
[ -0.2986156642436981, -0.4924601912498474, 0.5848727226257324, 0.2994648218154907, -0.005040768068283796, 0.37732431292533875, -0.21609501540660858, -0.23794110119342804, 0.021066339686512947, 0.5646923184394836, -0.46084439754486084, -0.4377630650997162, -0.46211254596710205, 0.07795867323875427, -0.5471590161323547, 0.6236395835876465, 0.07164066284894943, -0.09235620498657227, -0.2803810238838196, -0.07493411749601364, -0.6425454020500183, -0.2684650421142578, -1.0388100147247314, -0.4918688237667084, 0.7186225056648254, 0.43652909994125366, 0.667823851108551, 0.6493699550628662, 0.39860010147094727, 0.3892814517021179, -0.04814132675528526, 0.12528270483016968, -0.5569098591804504, 0.19627955555915833, -0.1779266893863678, -0.534511923789978, -0.3979117274284363, -0.2502281665802002, 0.6106758117675781, 1.0544217824935913, 0.10816480964422226, 0.2867104411125183, -0.01397339254617691, 0.25420230627059937, -0.23118245601654053, 0.09688398241996765, -0.6946295499801636, 0.0054258545860648155, -0.25390350818634033, 0.034666210412979126, -0.5309320092201233, 0.17640157043933868, 0.09713080525398254, -0.5549529790878296, -0.08714153617620468, 0.11253621429204941, 0.37898874282836914, 0.14374563097953796, -0.5719243288040161, -0.1150856614112854, -0.7151615619659424, 0.5217541456222534, -0.6285006403923035, 0.34712764620780945, 0.32246553897857666, 0.4032374918460846, -0.4480738639831543, -0.963970422744751, -0.36299553513526917, -0.2096042037010193, 0.10454889386892319, -0.26522549986839294, 0.13779579102993011, -0.2617744505405426, 0.456685870885849, 0.042563408613204956, -0.586603581905365, 0.48587849736213684, -0.349993497133255, -0.07737128436565399, 0.4539124071598053, 0.3110285997390747, 0.21796321868896484, 0.05263020470738411, -0.19474071264266968, -0.11969433724880219, -0.9000776410102844, -0.15772391855716705, 0.3208603262901306, 0.7042607069015503, -0.12538301944732666, 0.3524211645126343, 0.1743425875902176, 0.9235001802444458, -0.18729807436466217, -0.3011401295661926, 0.18168017268180847, -0.12755636870861053, -0.2621171474456787, 0.031139925122261047, 0.7281947135925293, -0.025369122624397278, 0.01900056004524231, -0.26544222235679626, -0.21267658472061157, -0.40522557497024536, 0.31180500984191895, -0.8868042230606079, -0.12480252236127853, 0.3132821321487427, -0.08867703378200531, -0.3293288052082062, -0.20056995749473572, -0.3139931261539459, -0.7623662948608398, -0.29448401927948, 0.48680320382118225, -0.061210811138153076, -0.5015785098075867, 0.0338609404861927, -0.026453400030732155, 0.09938272088766098, 0.3903881311416626, -0.3868088126182556, 0.2974455952644348, 0.7806310057640076, 1.4730339050292969, -0.10998056828975677, -0.23286427557468414, -0.7942385077476501, 0.1127796471118927, -0.42214542627334595, 0.3167576789855957, -0.4632529616355896, -0.5062348246574402, 0.005689640995115042, 0.43882113695144653, 0.09571382403373718, -0.49265676736831665, -0.051849279552698135, -0.5793105959892273, -0.06823151558637619, -0.0535571426153183, -0.496590793132782, -0.22110971808433533, 0.3636908531188965, -0.8700003027915955, 1.0538229942321777, 0.15626348555088043, -0.7939050793647766, 0.0856032595038414, -0.5557417273521423, -0.6510071754455566, 0.19320306181907654, -0.10997986793518066, -0.2470277100801468, 0.03229536488652229, -0.1956905722618103, 0.6998350620269775, -0.5054430961608887, 0.5020006895065308, -0.6617575883865356, -0.45900759100914, 0.002070832531899214, -0.13907980918884277, 1.0319271087646484, 0.0486508347094059, -0.23225070536136627, 0.3962172865867615, -0.664395272731781, -0.4011420011520386, 0.266235888004303, -0.38990968465805054, -0.30594292283058167, -0.03101213276386261, 0.21102309226989746, 0.57883620262146, -0.03130988031625748, -0.6075855493545532, 0.4429249167442322, -0.48595067858695984, 0.8003350496292114, 0.8417696356773376, -0.44400277733802795, 0.3400062024593353, -0.01345895417034626, 0.4963304400444031, 0.07636738568544388, -0.08017229288816452, -0.2319466918706894, -0.1925116330385208, -0.6829093098640442, 0.06213338300585747, 0.40630438923835754, 0.5294480919837952, -0.8693594932556152, 0.43499934673309326, -0.4628657400608063, -0.6278868317604065, -0.1256522238254547, 0.24248963594436646, -0.04886438697576523, 0.4592728614807129, 0.07985605299472809, -0.5456687808036804, -0.3121485114097595, -0.6048463582992554, 0.18056878447532654, -0.09376921504735947, -0.30642619729042053, 0.42925581336021423, 0.4985591173171997, -0.1162099689245224, 0.9341625571250916, -0.27437737584114075, -0.3501730263233185, -0.5065425634384155, -0.14886265993118286, 0.429154634475708, 0.3861956298351288, 0.23136933147907257, -0.6549243330955505, -0.47199365496635437, 0.2669826149940491, -0.4314214587211609, -0.05319471284747124, -0.4199475944042206, -0.10819835215806961, -0.1839352250099182, 0.9528645873069763, -0.22840942442417145, 0.11307654529809952, 0.736412525177002, -0.24683667719364166, 0.6493383646011353, -0.10820747911930084, -0.5253579020500183, -1.3673642873764038, 0.36223098635673523, -0.022249974310398102, -0.635573148727417, -0.5395593643188477, -0.058697715401649475, -0.017844557762145996, -0.3906218409538269, -0.5371097922325134, 0.8515226244926453, -0.23179763555526733, -0.2785112261772156, -0.1785217821598053, 0.28649693727493286, -0.022905932739377022, 0.3243725597858429, -0.13116960227489471, 0.8253265023231506, 0.8912423253059387, -0.3993989825248718, 0.6659389138221741, 0.18567217886447906, -0.14818644523620605, 0.35730594396591187, -0.7886845469474792, 0.11822285503149033, 0.2291015237569809, 0.5714885592460632, -0.7845235466957092, -0.22972828149795532, -0.013837259262800217, -0.015093372203409672, 0.3097130358219147, -0.4053787887096405, -0.7907496690750122, -0.3000997006893158, -0.12484864145517349, 0.3344098627567291, 0.08981896191835403, -0.643336296081543, 0.8965423107147217, 0.2650890052318573, -0.18162506818771362, -0.48424214124679565, -0.4938203692436218, 0.5601214170455933, -0.24721622467041016, -0.5604760050773621, -0.0053883944638073444, -0.01179128885269165, -0.13720129430294037, -0.16763362288475037, -0.10919249057769775, 0.1259477436542511, 0.2262498289346695, 0.3878049850463867, 0.17502550780773163, -0.06042446941137314, 0.5270717144012451, -0.22173239290714264, 0.0030654266010969877, 0.2352764755487442, -0.6505146026611328, 0.6675124764442444, 0.062063734978437424, -0.5109632611274719, 0.17425954341888428, 0.26288819313049316, 0.8427769541740417, -0.11504171043634415, 0.7297431826591492, 0.8481043577194214, -0.18498441576957703, -0.46951398253440857, -0.4047287106513977, -0.1612502783536911, -0.5420200228691101, 0.6045172810554504, -0.47731950879096985, -1.06427001953125, 0.5068933963775635, -0.8006470799446106, 0.41419801115989685, 0.03815364092588425, 0.5636462569236755, 0.1622033268213272, 1.0049861669540405, 0.645772397518158, -0.1914471834897995, 0.5439666509628296, -0.32766857743263245, 0.24798598885536194, -0.9095743894577026, 0.10692915320396423, -0.27487677335739136, -0.46393463015556335, -0.3857782483100891, -0.5232058167457581, 0.4144919514656067, -0.06522073596715927, -0.4298535883426666, 0.46831631660461426, -0.20517221093177795, 0.49076491594314575, 0.5983489155769348, -0.0009409136255271733, 0.19825422763824463, -0.19154274463653564, -0.4094724655151367, 0.5219910740852356, -0.9813578724861145, -0.21325384080410004, 1.1077042818069458, 0.3837989866733551, 0.5539573431015015, 0.17512977123260498, 0.5121762752532959, 0.13173465430736542, 0.22075776755809784, -0.9700518846511841, 0.7390515208244324, -0.06386345624923706, -0.5147569179534912, -0.40471193194389343, -0.5680989623069763, -0.9544185996055603, 0.2460850179195404, -0.06285472959280014, -0.6754403710365295, -0.11736618727445602, -0.03740067780017853, -0.1103500947356224, 0.5201997756958008, -0.5418081283569336, 0.9076361060142517, -0.25393158197402954, -0.5819870829582214, -0.06893724948167801, -0.8093934655189514, 0.21406571567058563, -0.2966098487377167, 0.4212031662464142, -0.008355257101356983, 0.09821105003356934, 0.5962410569190979, -0.48093661665916443, 1.1711888313293457, 0.02457059733569622, -0.25600871443748474, 0.0028842645697295666, 0.4895068407058716, 0.796823263168335, 0.042412396520376205, 0.08885694295167923, 0.010055223479866982, -0.14124031364917755, -0.33307209610939026, -0.5050340890884399, 0.7848328948020935, -0.5924015045166016, -0.46925848722457886, -0.14820200204849243, -0.7426788806915283, -0.4270111322402954, 0.43236595392227173, -0.24557451903820038, 0.9864388704299927, -0.02084529399871826, 0.22141869366168976, 0.4293572008609772, -0.3454095423221588, 0.4887908399105072, 0.08871382474899292, -0.523954451084137, 0.00013871757255401462, 0.9786710143089294, 0.14821040630340576, 0.48557695746421814, 0.10891443490982056, 0.20158632099628448, -0.14485183358192444, -0.377469003200531, -0.53501296043396, 0.2843312621116638, -0.8047195672988892, -0.2159387618303299, -0.4610339403152466, -0.02304871939122677, -0.12995953857898712, -0.2750087380409241, -0.3308737874031067, -0.366550087928772, -0.18386921286582947, -0.04825829342007637, 0.4522544741630554, 0.8873203992843628, 0.06948524713516235, 0.32551538944244385, -0.5153310298919678, -0.1753225326538086, 0.4634121060371399, 0.6419708728790283, 0.352632075548172, -0.3285681903362274, -0.4801803529262543, -0.4024883806705475, -0.1002642959356308, -0.5408350229263306, 0.22566303610801697, 0.14366188645362854, 0.06319240480661392, 0.44197434186935425, 0.07353298366069794, 0.529803991317749, -0.6899018883705139, 0.576574981212616, 0.3140307664871216, -0.8020756840705872, 0.18389900028705597, -0.45160701870918274, 0.5751407742500305, 0.1837429404258728, 0.3466554284095764, -0.883270800113678, -0.5115941762924194, -0.5172722339630127, -1.1705039739608765, 0.6422251462936401, -0.24460330605506897, 0.13871660828590393, 0.1294105350971222, 0.13203337788581848, 0.12127596884965897, 0.09555128961801529, -0.5964404344558716, -0.03637655824422836, -0.08173713088035583, -0.11279948800802231, -0.18277624249458313, 0.2632480263710022, -0.2862298786640167, -0.17923608422279358, 0.5974319577217102, -0.5376488566398621, -0.12137917429208755, -0.3112018406391144, -0.297866553068161, 0.2130371630191803, 0.05744433030486107, 0.25253036618232727, 0.8979246616363525, 0.10849880427122116, 0.5065126419067383, 0.33915677666664124, -0.35330629348754883, 0.08531167358160019, -0.06070505455136299, 0.05920349061489105, -0.13170599937438965, 0.4637732207775116, 0.8328067660331726, 0.29382529854774475, -0.8081793189048767, 0.5008420348167419, 0.029273957014083862, -0.07472562789916992, -0.3176272213459015, 0.035537220537662506, 0.6971361637115479, 0.3991847038269043, 0.159631609916687, -0.10476333647966385, -0.01871984824538231, -0.40285706520080566, 0.1659931093454361, 0.4698812961578369, -0.6825322508811951, -0.21010588109493256, 0.4287372827529907, 0.4528399109840393, -0.48475080728530884, 0.5775412321090698, -0.17116716504096985, -0.39775389432907104, 0.5278065800666809, 0.5562739968299866, 0.7947190403938293, 0.26031655073165894, 0.21404731273651123, 0.3085920810699463, 0.30789709091186523, -0.11750490218400955, -0.13987630605697632, -0.013687671162188053, -0.548481822013855, -0.8152748346328735, -0.5238518714904785, -0.3773059844970703, 0.18096338212490082, -0.23693837225437164, 0.2528301775455475, -0.5567458868026733, -0.2187855839729309, -0.24000629782676697, -0.13810153305530548, -0.7859535217285156, -0.15286490321159363, -0.04894942045211792, 1.1066865921020508, -0.9310907125473022, 0.8709968328475952, 0.6864725947380066, -0.1386251449584961, -1.0432865619659424, -0.2858707904815674, 0.3089350163936615, -0.6816743612289429, 0.6208541393280029, 0.3397464156150818, -0.15566621720790863, 0.3135855197906494, -0.4791332483291626, -0.6824655532836914, 1.1066508293151855, 0.36681947112083435, -0.6249673366546631, -0.04053299501538277, -0.015168838202953339, 0.20452356338500977, -0.3463303744792938, 0.1487359255552292, 0.3795267641544342, 0.39610615372657776, 0.3052893280982971, -1.1131147146224976, 0.28998035192489624, -0.05242336541414261, 0.0795244574546814, 0.26837602257728577, -0.42022448778152466, 0.7359841465950012, -0.021086422726511955, -0.06959082186222076, -0.4586924910545349, 0.23042109608650208, 0.012439055368304253, -0.14700068533420563, 0.8291360139846802, 0.43043211102485657, 0.4369269907474518, 0.07896366715431213, 0.75007164478302, -0.09796037524938583, 0.2363279163837433, 1.0670816898345947, -0.35927844047546387, 0.6960676312446594, 0.37312889099121094, -0.22465698421001434, 0.3120708763599396, 0.6276747584342957, 0.08823228627443314, -0.06022767722606659, 0.551711916923523, -0.333369642496109, -0.5592772364616394, -0.3410249352455139, -0.04800545796751976, 0.44061478972435, 0.3178790807723999, -0.1523430496454239, -0.30587247014045715, 0.17382556200027466, 0.11089217662811279, -0.3690944015979767, -0.3010236322879791, 0.8452513813972473, 0.14277209341526031, -0.12424396723508835, 0.2821865975856781, -0.22293861210346222, 0.536196768283844, -0.7017869353294373, -0.16701161861419678, 0.022761525586247444, 0.016089795157313347, -0.12921981513500214, -0.5874279141426086, 0.12755684554576874, -0.2820061445236206, 0.10608942806720734, -0.2011871039867401, 0.6959161162376404, -0.38070914149284363, -0.6962059140205383, 0.5175495147705078, 0.6843066215515137, 0.07435131818056107, 0.14425309002399445, -0.6239000558853149, 0.1780470460653305, -0.35907405614852905, -0.3596594035625458, 0.6895908117294312, 0.5966724157333374, -0.16998286545276642, 0.9646602869033813, 0.6376489400863647, 0.30088019371032715, -0.12382753193378448, 0.30811166763305664, 1.006576418876648, -0.2865159809589386, -0.5743669867515564, -0.6787219047546387, 0.489003449678421, -0.2757684588432312, -0.08684182167053223, 0.6178297400474548, 0.32799404859542847, 0.9568516612052917, 0.2222943902015686, 0.798954963684082, -0.1859588474035263, 0.3179579973220825, -0.14588305354118347, 0.6176929473876953, -0.701143741607666, 0.23516251146793365, -0.14566776156425476, -0.7989264726638794, -0.4313758909702301, 0.4026780128479004, -0.16191041469573975, -0.08908672630786896, 0.5601436495780945, 0.7271689176559448, -0.4702460765838623, -0.40367391705513, 0.3383617699146271, 0.2930488884449005, 0.5210292339324951, 0.2955658435821533, 0.3242279887199402, 0.09864077717065811, 0.6741704940795898, -0.007525722961872816, -0.2093396633863449, -0.20649626851081848, -1.0208306312561035, -1.041007399559021, -0.6187808513641357, -0.19554652273654938, -0.3226834237575531, -0.25820186734199524, 1.1134730577468872, 0.8947811722755432, -0.5677077174186707, -0.6660194396972656, -0.12158738821744919, 0.2979445159435272, -0.26222503185272217, -0.20230995118618011, 0.31466808915138245, -0.34581229090690613, -0.5432844758033752, 0.49296942353248596, 0.4387802183628082, -0.32063019275665283, -0.754101574420929, 0.13089284300804138, -0.24559077620506287, -0.07482890039682388, 0.6898170709609985, 0.27138668298721313, -0.5027830004692078, -0.41446009278297424, -0.15988481044769287, 0.1667829006910324, -0.2005406618118286, 1.01662015914917, -0.8917371034622192, 0.6172856092453003, 0.3539583384990692, 1.051267385482788, 0.4798893928527832, -0.5022591352462769, 0.7056726813316345, -1.1216808557510376, 0.18808209896087646, 0.058144960552453995, 0.3572451174259186, 0.43534034490585327, 0.03734244033694267, 0.5810050964355469, 0.10135216265916824, -0.47641029953956604, -1.006472110748291, 0.6003443598747253, -0.7782150506973267, -0.46909838914871216, 1.0480070114135742, -0.19107678532600403, -0.06745372712612152, -0.5191961526870728, -0.20753686130046844, 0.12907572090625763, -0.1766110360622406, 0.49894431233406067, 0.6178799867630005, 0.012377847917377949, -0.09675765782594681, -0.8620438575744629, 0.18539880216121674, -0.012850113213062286, -0.4749130606651306, 0.33746910095214844, 0.32326647639274597, 0.24846385419368744, 0.21151743829250336, 0.32808637619018555, 0.3646616041660309, -0.12765707075595856, -0.028657663613557816, -0.09931065887212753, -0.5520685315132141, -0.4388158917427063, -0.16893541812896729, 0.20562511682510376, 0.2167525738477707, 0.1793213039636612 ]
http://arxiv.org/abs/2402.18797v1
http://arxiv.org/pdf/2402.18797v1
ARTiST: Automated Text Simplification for Task Guidance in Augmented Reality
2024-02-29T01:58:49
2024-02-29T01:58:49
Guande Wu, Jing Qian, Sonia Castelo, Shaoyu Chen, Joao Rulff, Claudio Silva
cs.HC
cs.HC, cs.CL, H.1.2; I.2.7
Text presented in augmented reality provides in-situ, real-time information for users. However, this content can be challenging to apprehend quickly when engaging in cognitively demanding AR tasks, especially when it is presented on a head-mounted display. We propose ARTiST, an automatic text simplification system that uses a few-shot prompt and GPT-3 models to specifically optimize the text length and semantic content for augmented reality. Developed out of a formative study that included seven users and three experts, our system combines a customized error calibration model with a few-shot prompt to integrate the syntactic, lexical, elaborative, and content simplification techniques, and generate simplified AR text for head-worn displays. Results from a 16-user empirical study showed that ARTiST lightens the cognitive load and improves performance significantly over both unmodified text and text modified via traditional methods. Our work constitutes a step towards automating the optimization of batch text data for readability and performance in augmented reality.
[ -0.2694968283176422, -0.7464332580566406, 0.7441737055778503, 0.2326188087463379, -0.6785135269165039, -0.07068333774805069, -0.05811981111764908, -0.6832767724990845, 0.31574180722236633, 0.5745817422866821, -0.5827665328979492, -0.4286895990371704, -0.745019793510437, 0.5323508977890015, -0.16544672846794128, 0.9474784135818481, -0.47934985160827637, -0.5962762832641602, 0.022243982180953026, -0.0696740448474884, -0.7959238886833191, 0.21678732335567474, -0.45278656482696533, -0.0726405680179596, 0.7058168053627014, 0.6312494277954102, 0.8793097734451294, 1.002647042274475, 0.814949631690979, 0.24680790305137634, 0.056594133377075195, 0.6180645823478699, -0.29376721382141113, 0.20216064155101776, 0.004999309312552214, 0.09725195169448853, -0.42731359601020813, -0.13849827647209167, 0.19024141132831573, 0.5155242085456848, 0.22604462504386902, 0.46275588870048523, 0.03859622776508331, 0.7598609328269958, -0.8591120839118958, -0.03634461760520935, -0.00421370891854167, 0.06453432887792587, -0.047322630882263184, -0.3663989305496216, -0.029466964304447174, -0.18202443420886993, 0.3201240301132202, -1.2261714935302734, -0.03584587946534157, 0.6105644702911377, 0.5292416214942932, 0.7502697110176086, -0.2813522219657898, -0.13304869830608368, -0.8104498386383057, 0.7572449445724487, -0.289437860250473, 0.2995828092098236, 0.15934564173221588, 0.1911289095878601, 0.1943085640668869, -0.6751951575279236, -0.8579759001731873, 0.05487876757979393, -0.165333554148674, -0.10456060618162155, -0.09809315204620361, 0.1911676526069641, 0.44246262311935425, 0.21305008232593536, -0.5498546361923218, -0.6520254015922546, -0.31131839752197266, -0.07352899014949799, 0.39245492219924927, 0.05406973510980606, 0.7576332092285156, -0.159059077501297, -0.4199274480342865, -0.14854876697063446, -0.6359893679618835, -0.24642065167427063, 0.2724071741104126, 0.11314046382904053, 0.008372141979634762, 0.9272575378417969, -0.10565216839313507, 0.9422834515571594, -0.12283498048782349, -0.18596966564655304, 0.010213060304522514, -0.21139925718307495, -0.2305217683315277, 0.017097236588597298, 0.6904774904251099, 0.7102261185646057, 0.009450075216591358, -0.20606498420238495, -0.3479609489440918, -0.04511237144470215, 0.28924545645713806, -0.7203370332717896, -0.38749703764915466, 0.012043429538607597, -0.23150292038917542, 0.048899706453084946, -0.2723475694656372, -0.3821827471256256, -0.698868453502655, -0.6188971400260925, 0.7452765703201294, -0.3132213056087494, -0.014489812776446342, 0.1644846647977829, -0.1978699415922165, -0.5671283006668091, 0.7171374559402466, -0.6657841801643372, 0.02426716312766075, 0.28135043382644653, 0.9830917119979858, -0.4082812964916229, -0.275748610496521, -0.5421358942985535, 0.46481776237487793, -0.5603207349777222, 1.013109564781189, -0.4213092625141144, -0.4792725741863251, -0.41116318106651306, -0.39970850944519043, 0.1493377685546875, -0.42468753457069397, 0.6667578220367432, -0.5008930563926697, 0.005383291747421026, -0.39005979895591736, -0.3349796235561371, -0.1488066017627716, 0.2517620623111725, -0.9946759343147278, 0.7737711071968079, 0.04619221389293671, -0.7866231203079224, 0.5623974800109863, -0.8008854985237122, -0.1803130954504013, 0.42736345529556274, -0.38095977902412415, -0.30529382824897766, -0.06722189486026764, 0.46447986364364624, 0.28444838523864746, 0.08371423929929733, -0.4966981112957001, 0.26858747005462646, -0.8891224265098572, -0.34710824489593506, -0.05979565158486366, 0.19118985533714294, 0.385040819644928, -0.4556417167186737, -0.116123728454113, -0.8265926837921143, -0.1824730932712555, -0.23167216777801514, -0.22521205246448517, -0.44317132234573364, -0.11396574229001999, 0.3857065737247467, -0.05666954442858696, 0.4014001786708832, -0.47053658962249756, 0.2758258581161499, -0.41693875193595886, -0.3245787024497986, 0.4211789667606354, 0.1352221667766571, 0.6476207971572876, -0.31556642055511475, 0.6673219203948975, -0.0465715229511261, -0.13182519376277924, -0.35278555750846863, -0.5502944588661194, -0.5712413191795349, -0.46742740273475647, 0.13933078944683075, 0.8630983233451843, -1.1952065229415894, -0.0637945830821991, -0.1539868861436844, -0.0333162285387516, -0.32420969009399414, 0.7885880470275879, 0.4370664954185486, 0.6794463992118835, 0.28254958987236023, -0.3055095374584198, -0.43006715178489685, -0.7179140448570251, -0.7896481156349182, -0.09980273991823196, -0.15464343130588531, 0.19016966223716736, 0.29674673080444336, -0.3293478488922119, 1.0018810033798218, -0.3939358592033386, -0.7054013013839722, -0.03570037707686424, 0.5461601614952087, 0.1298239827156067, 0.5898343324661255, 0.43256476521492004, -0.8500324487686157, -0.5305783152580261, -0.03645117208361626, -0.7475746870040894, -0.20776717364788055, -0.2841418385505676, -0.1940802037715912, 0.061286699026823044, 0.41251620650291443, -0.5926429033279419, 0.7843369245529175, 0.3578614294528961, -0.4766005873680115, 0.2396371215581894, -0.3191797733306885, 0.3975135385990143, -0.5726439356803894, -0.011183186434209347, 0.21395625174045563, -0.2996768355369568, -0.4782414734363556, -0.06849083304405212, -0.15973901748657227, -0.11030206084251404, -0.43399953842163086, 0.7310789227485657, -0.5882619023323059, 0.320033997297287, -0.5960326194763184, 0.21902255713939667, 0.29930293560028076, 0.487648069858551, 0.13709570467472076, 1.048867106437683, 0.30727148056030273, -0.5882304310798645, 0.4733729660511017, 0.26890355348587036, -0.5835819244384766, 0.7719742655754089, -0.7603490948677063, 0.3093462288379669, -0.1900666058063507, -0.05821453034877777, -0.9874296188354492, -0.38936927914619446, 0.6186597347259521, -0.07471299916505814, 0.006137227173894644, -0.08273782581090927, -0.9381606578826904, -0.0009461912559345365, 0.015600095503032207, 0.9394657611846924, 0.227559432387352, -0.4285217523574829, 1.081358790397644, -0.0275783222168684, -0.17287592589855194, -0.31983625888824463, -0.7263576984405518, 0.2560361921787262, -0.032166313380002975, -0.614213228225708, 0.37694481015205383, -0.2765456438064575, -0.34495222568511963, -0.1263578236103058, -0.06904568523168564, 0.226394921541214, -0.41073787212371826, 0.3118573725223541, 0.3345229923725128, 0.12098948657512665, 0.1248706579208374, 0.09238994866609573, -0.1527944654226303, -0.2796008884906769, 0.1112385168671608, -0.049763187766075134, -0.06814876198768616, -0.37925493717193604, -0.8647449612617493, 0.6484010219573975, 0.2021513283252716, 0.2046109288930893, 0.38889774680137634, 0.6317626237869263, -0.30802249908447266, 0.07127980142831802, -0.49458977580070496, 0.08259938657283783, -0.5002604126930237, -0.09712635725736618, -0.44013723731040955, -0.5874529480934143, 0.38848361372947693, -0.23622174561023712, 0.22040008008480072, 0.5665650963783264, 0.29018038511276245, -0.2917969822883606, 1.3303003311157227, 0.8975541591644287, 0.5762003660202026, 0.6205803751945496, -0.3202984631061554, 0.3109901547431946, -0.7238373160362244, -0.15100769698619843, 0.05270828679203987, -0.520734965801239, -0.09197554737329483, -0.1996317356824875, 0.782333254814148, 0.046628642827272415, -0.3152844309806824, 0.30666330456733704, -0.9357202053070068, 0.8147963285446167, 0.5285152196884155, 0.47469085454940796, 0.5714177489280701, -0.011754103004932404, 0.1175592839717865, -0.20195308327674866, -0.24538414180278778, -0.8419661521911621, 0.8895007371902466, 0.10346795618534088, 0.8651018738746643, 0.20450320839881897, 0.640377402305603, 0.4408247768878937, 0.0775381326675415, -0.7403302192687988, 0.28159862756729126, 0.01663803867995739, -0.475178062915802, -0.1203383058309555, -0.14618133008480072, -0.21533389389514923, -0.1327264904975891, -0.34664031863212585, -0.5218115448951721, 0.41053736209869385, 0.6082696318626404, -0.782737672328949, 0.21730633080005646, -1.190456748008728, 0.8043384552001953, 0.14841561019420624, -0.2997010052204132, 0.27457261085510254, -0.5580464005470276, 0.16090402007102966, -0.12681370973587036, 0.2416120022535324, -0.19626976549625397, -0.43606022000312805, 0.8485676646232605, -0.5813137292861938, 0.6953362822532654, -0.08358693867921829, -0.15396302938461304, 0.3681991994380951, 0.38108861446380615, 0.7981615662574768, -0.023537732660770416, 0.1305130273103714, -0.23474346101284027, 0.09149770438671112, -0.34751322865486145, -0.7098053097724915, 0.6122474670410156, -0.6603134274482727, -0.2735142111778259, -0.2660975158214569, -0.6887772083282471, 0.020178398117423058, 0.3272966146469116, 0.4417040944099426, 0.5116848945617676, 0.11138242483139038, -0.27898815274238586, 0.783801257610321, 0.06297692656517029, 0.5160868167877197, -0.11672176420688629, -0.1536099761724472, -0.3999890685081482, 0.8965558409690857, -0.19639907777309418, -0.15420502424240112, 0.21313752233982086, -0.0935303345322609, -0.25303706526756287, -0.37857213616371155, -0.9741277694702148, 0.026119275018572807, -0.905718982219696, -0.13298186659812927, -0.6097571849822998, 0.5270718336105347, -0.12498726695775986, -0.45139190554618835, -0.1052405908703804, -0.5849722027778625, -0.8418611884117126, 0.23795248568058014, 0.688332736492157, 0.813853919506073, 0.009390815161168575, 0.828926146030426, -0.5855380296707153, 0.9451471567153931, 0.7272831201553345, 0.5340136885643005, -0.44049403071403503, -0.3757266104221344, -0.2748667001724243, -0.03485698997974396, -0.3224410116672516, -0.5593119263648987, 0.405409038066864, 0.5063776969909668, 0.10136525332927704, 0.3134307563304901, 0.0036045738961547613, 0.8079256415367126, -0.7687361240386963, 0.933331310749054, 0.4327273368835449, -0.8797243237495422, 0.6850932836532593, -0.3397727906703949, 0.4579457640647888, 0.7857639193534851, 0.024877702817320824, -0.4211772680282593, -0.18111789226531982, -0.389193594455719, -0.8526326417922974, 0.6711331009864807, 0.38053208589553833, 0.19950193166732788, 0.14633411169052124, 0.5450139045715332, 0.10499422997236252, 0.2522222101688385, -0.5142232179641724, -0.49635595083236694, -0.24182146787643433, -0.4712052345275879, -0.01766723208129406, -0.25301501154899597, -0.49889078736305237, -0.3139651119709015, 0.47257786989212036, -0.14825057983398438, 0.4038352072238922, 0.42554083466529846, -0.32778018712997437, -0.44646647572517395, -0.04062306508421898, 0.8510535359382629, 0.9620423316955566, -0.17681513726711273, 0.12455067783594131, 0.04361608996987343, -0.8533465266227722, 0.040745802223682404, 0.07089102268218994, -0.21566852927207947, 0.27673375606536865, 0.3298497498035431, 0.972611665725708, -0.17110902070999146, -0.7884451746940613, 0.7115328907966614, -0.00044395061559043825, -0.055673275142908096, -0.30211666226387024, -0.0043329461477696896, -0.6451753973960876, 0.36589911580085754, 0.805202066898346, 0.5601464509963989, 0.5720645785331726, -0.15053455531597137, 0.10674494504928589, -0.027022620663046837, -0.269756555557251, -0.029166996479034424, 1.0168616771697998, 0.180385023355484, -0.45878925919532776, 0.031287096440792084, -0.21669498085975647, -0.30239972472190857, 0.27634134888648987, 0.16134771704673767, 0.9659635424613953, 0.37242093682289124, 0.10806011408567429, -0.032011013478040695, 0.2339489459991455, -0.3293548822402954, 0.6046759486198425, -0.17977958917617798, -0.30226558446884155, -0.8535683155059814, -0.34543970227241516, -0.7309921979904175, -0.49343839287757874, -0.15045197308063507, 0.3709225356578827, -0.4396754205226898, -0.15500077605247498, -0.04968947172164917, 0.08721337467432022, -0.7514722347259521, 0.45433974266052246, 0.27752137184143066, 0.747346043586731, -0.7600335478782654, 0.09330520033836365, 0.8906444907188416, -0.47766581177711487, -0.7617760896682739, -0.23111028969287872, 0.08501237630844116, -0.556667685508728, 0.9382264018058777, -0.09694521129131317, -0.5715053677558899, 0.2556127905845642, -0.8395861387252808, -0.44348663091659546, 0.8092061877250671, 0.3546448349952698, -0.41331011056900024, -0.1669909954071045, 0.06791936606168747, 0.5518609285354614, -0.5045665502548218, 0.2961326241493225, 0.32992905378341675, 0.479929655790329, 0.35795357823371887, -0.7575960159301758, -0.1371372789144516, -0.42958348989486694, 0.2222534567117691, 0.15447819232940674, -0.10751688480377197, 0.5403319001197815, -0.2618667781352997, -0.17812201380729675, 0.09105122089385986, 0.8480545878410339, 0.42359381914138794, 0.4968836307525635, 0.6049664616584778, 0.6516165137290955, 0.21583068370819092, -0.05624759942293167, 1.0760257244110107, -0.27225854992866516, 0.11251350492238998, 0.7622405886650085, 0.27334484457969666, 0.5925436615943909, 0.6847925186157227, 0.3807569444179535, 0.7067650556564331, 0.7189485430717468, 0.2720387578010559, 0.816842794418335, -0.25370875000953674, -0.5755369067192078, -0.32710403203964233, -0.0025670831091701984, -0.05690613016486168, 0.02875044010579586, 0.1494756042957306, -0.34350210428237915, -0.09734494984149933, 0.44460779428482056, -0.23633942008018494, 0.1242116242647171, -0.3998936414718628, 0.7450798153877258, -0.052157703787088394, -0.36691027879714966, 0.4854508936405182, -0.20855818688869476, 0.7197886109352112, 0.04068990424275398, -0.42770275473594666, -0.009113851934671402, -0.04524989798665047, -0.29092299938201904, -0.7578051686286926, 0.2892650067806244, 0.03627874702215195, -0.21657952666282654, -0.6704510450363159, 0.44777822494506836, -0.4491015076637268, -0.73161381483078, -0.48099443316459656, 0.27227866649627686, 0.21002303063869476, -0.45224207639694214, -0.6246297955513, 0.3236819803714752, -0.3143814504146576, -0.23528118431568146, -0.33732175827026367, 0.6913794875144958, 0.04789408668875694, 0.6351487040519714, 0.3393176794052124, 0.21183575689792633, 0.01352828647941351, 0.015396825037896633, 0.7640404105186462, -0.5229382514953613, -0.508490800857544, -0.5573897361755371, 0.5795263648033142, 0.1545904278755188, -0.4600971043109894, 0.5754083395004272, 0.7158689498901367, 0.600789487361908, -0.17246031761169434, 0.5871283411979675, -0.043964311480522156, 0.9025469422340393, -0.34766337275505066, 0.7524740099906921, -0.917499303817749, 0.5260448455810547, -0.7155368328094482, -0.951227605342865, -0.7531077265739441, 0.5517431497573853, -0.17485716938972473, 0.026776308193802834, 0.5838179588317871, 0.4821458160877228, -0.18059025704860687, -0.23403704166412354, 0.1844681352376938, -0.5362253785133362, -0.03542555496096611, 0.25946488976478577, 0.4821467399597168, -0.8445874452590942, 0.7988659739494324, -0.6319741606712341, -0.06762707233428955, -0.20799659192562103, -1.0465848445892334, -0.9303459525108337, -0.6409553289413452, -0.8266832232475281, -0.0219983272254467, -0.13680149614810944, 0.9929197430610657, 0.4702674448490143, -0.5341130495071411, 0.1470215618610382, -0.007457426283508539, -0.00595702463760972, -0.269413024187088, -0.161751851439476, 0.6163226962089539, 0.006466597784310579, -0.8384672999382019, 0.1740490198135376, 0.3627806007862091, 0.41068094968795776, -0.07522962987422943, -0.041251808404922485, 0.15491102635860443, -0.05286373198032379, 0.6843583583831787, 0.3617976903915405, -0.7611388564109802, -0.30944281816482544, 0.015759719535708427, -0.17585426568984985, 0.01779777742922306, 0.6571409702301025, -0.9188267588615417, 0.9378962516784668, 0.5438748598098755, 0.3690946102142334, 0.16170479357242584, 0.2604849338531494, 0.4403993785381317, -1.0455405712127686, 0.17994174361228943, 0.24977774918079376, -0.02298709563910961, 0.3170047104358673, -0.6817160248756409, 0.36901071667671204, 0.23895971477031708, -0.5188753008842468, -0.6827675104141235, -0.04641267657279968, -1.2798070907592773, 0.06351915746927261, 1.0563682317733765, 0.2751455008983612, -0.31632891297340393, -0.23810938000679016, -0.7752402424812317, 0.23714551329612732, -0.3406827449798584, 0.6936478614807129, 0.5122328996658325, -0.32429930567741394, -0.8695883750915527, -0.6946642994880676, 0.8753256797790527, 0.09107786417007446, -0.4229709506034851, -0.33379754424095154, 0.6955969929695129, -0.042359352111816406, 0.34386733174324036, 0.5206061601638794, 0.2967761158943176, 0.6161073446273804, -0.17767977714538574, 0.32382646203041077, -0.2187858670949936, -0.36541512608528137, -0.08331125229597092, -0.13422317802906036, -0.12472578883171082, -0.3136599361896515 ]
http://arxiv.org/abs/2402.18792v1
http://arxiv.org/pdf/2402.18792v1
MPAT: Building Robust Deep Neural Networks against Textual Adversarial Attacks
2024-02-29T01:49:18
2024-02-29T01:49:18
Fangyuan Zhang, Huichi Zhou, Shuangjiao Li, Hongtao Wang
cs.LG
cs.LG, cs.CL, cs.CR
Deep neural networks have been proven to be vulnerable to adversarial examples and various methods have been proposed to defend against adversarial attacks for natural language processing tasks. However, previous defense methods have limitations in maintaining effective defense while ensuring the performance of the original task. In this paper, we propose a malicious perturbation based adversarial training method (MPAT) for building robust deep neural networks against textual adversarial attacks. Specifically, we construct a multi-level malicious example generation strategy to generate adversarial examples with malicious perturbations, which are used instead of original inputs for model training. Additionally, we employ a novel training objective function to ensure achieving the defense goal without compromising the performance on the original task. We conduct comprehensive experiments to evaluate our defense method by attacking five victim models on three benchmark datasets. The result demonstrates that our method is more effective against malicious adversarial attacks compared with previous defense methods while maintaining or further improving the performance on the original task.
[ -0.17981579899787903, -1.17330002784729, 0.2828989624977112, -0.048490289598703384, -0.3446148633956909, -0.04537666216492653, -0.059389397501945496, 0.1454831063747406, -0.24795183539390564, 0.8486263155937195, -0.49462205171585083, -0.41132649779319763, -0.8641926050186157, -0.2556878626346588, -0.3875953257083893, 1.1266249418258667, 0.40172937512397766, 0.1351405382156372, -0.059081390500068665, -0.012636978179216385, -0.5879188179969788, -0.7523894309997559, -0.9056100845336914, -0.04117196798324585, 0.5323852300643921, 0.10669132322072983, 0.5197456479072571, 0.512920081615448, 0.825349748134613, 0.38712045550346375, 0.17011895775794983, 0.24452976882457733, -0.5046754479408264, 0.5354731678962708, 0.11731957644224167, -0.4776400625705719, -0.24402987957000732, 0.1342717409133911, 0.4321998357772827, 0.01179279014468193, -0.023907175287604332, 0.04340565204620361, 0.017113253474235535, 0.38812097907066345, -0.7965483665466309, -0.3504713475704193, -0.9560425877571106, 0.10926138609647751, -0.32927966117858887, -0.2826382517814636, -0.6977062821388245, -0.05357471480965614, -0.15286774933338165, -0.24407346546649933, -0.023410717025399208, -0.46048736572265625, 0.8787384629249573, 0.5505707263946533, -0.48225656151771545, 0.031347669661045074, -0.4317896068096161, 0.7456343173980713, -1.0166079998016357, -0.140333354473114, 0.36838576197624207, 0.3298782408237457, -0.5012577176094055, -0.7860968708992004, -0.3425794541835785, -0.5881305932998657, -0.08834747225046158, 0.05171820521354675, -0.4056404232978821, 0.07300049066543579, 0.31599321961402893, 0.07921034097671509, -0.6035098433494568, -0.09118319302797318, 0.2327994555234909, -0.24913720786571503, 0.4775923192501068, 0.010796872898936272, 0.5207476615905762, -0.19116449356079102, -0.7045425772666931, -0.5358635187149048, -0.568668782711029, 0.030604708939790726, 0.8890832662582397, 0.4118680953979492, 0.2488521933555603, 0.5158635377883911, 0.10442589968442917, 0.4171801507472992, -0.20076628029346466, -0.1527736783027649, -0.1346348226070404, -0.07268386334180832, -0.2287512719631195, 0.02373480796813965, 0.9789302349090576, -0.14142940938472748, 0.22647568583488464, -0.1274385005235672, -0.3920462727546692, 0.3045799136161804, 0.7056779265403748, -0.9147796034812927, -0.5492941737174988, -0.022161327302455902, -0.37120163440704346, -0.9034210443496704, -0.03565472736954689, -0.979375422000885, -0.7896389365196228, 0.0084481630474329, 0.5773361921310425, -0.7612518072128296, -0.062096793204545975, -0.07825074344873428, -0.008554902859032154, -0.04800485074520111, -0.07684768736362457, -0.5506742596626282, 0.4883615970611572, 0.543618381023407, 0.32987385988235474, 0.21743136644363403, -0.516352117061615, -1.0174251794815063, -0.08145194500684738, 0.038781825453042984, 0.6407233476638794, -0.47411584854125977, -0.18222343921661377, -0.2000378668308258, -0.4425079822540283, -0.11407585442066193, -0.24939318001270294, 0.8129149079322815, -0.4688337445259094, 0.22139449417591095, -0.013859737664461136, 0.01988815888762474, -0.3270942270755768, 0.5417977571487427, -0.5328975319862366, 0.86036616563797, -0.36809486150741577, -0.8716384768486023, 0.10391729325056076, -0.6266857385635376, -0.8666722178459167, -0.15987098217010498, 0.024370279163122177, -0.8812186121940613, 0.08216305077075958, 0.7445176243782043, 0.6235318183898926, -0.019796710461378098, 0.038077425211668015, -0.27630963921546936, -0.16364634037017822, 0.23855562508106232, -1.0085010528564453, 0.9594921469688416, 0.17518694698810577, -0.5773513317108154, 0.22968581318855286, -0.8081793785095215, -0.05223455652594566, 0.5163227915763855, -0.2788392901420593, -0.4973733425140381, 0.18234339356422424, -0.23482762277126312, -0.11468879878520966, 0.14827726781368256, -0.535641074180603, 0.2532213628292084, -0.5492555499076843, 0.41059356927871704, 0.7311379313468933, 0.3816611170768738, -0.017327990382909775, -0.21549275517463684, 0.5561877489089966, -0.27471038699150085, 0.19422240555286407, -0.3289335370063782, -0.21617962419986725, -0.5872372388839722, -0.41454774141311646, 0.34699130058288574, 0.5726797580718994, -0.8905183672904968, 0.20736414194107056, 0.032469213008880615, -0.4859760105609894, -0.36877650022506714, 0.15488289296627045, 0.5851067304611206, 0.4344947636127472, 0.5438628792762756, 0.1902168244123459, -0.631070077419281, -0.6925261616706848, -0.49380210041999817, -0.1174633577466011, 0.014162232168018818, 0.07281725108623505, 0.5357465744018555, -0.012127844616770744, 0.2550695240497589, -0.28987663984298706, -0.3648608922958374, -0.053165264427661896, 0.2936537265777588, -0.1118793711066246, 0.46684399247169495, 0.7099162340164185, -0.878005862236023, -0.3252921402454376, -0.16173039376735687, -0.5565052032470703, 0.014381171204149723, -0.39801299571990967, -0.12963134050369263, -0.35234227776527405, 0.37062376737594604, -0.4414903521537781, 0.2916318476200104, 0.408064603805542, -0.40424931049346924, 0.40666458010673523, 0.08011758327484131, 0.21582254767417908, -1.2315857410430908, -0.04946799576282501, 0.006051143165677786, -0.39914947748184204, -0.6568750739097595, 0.6331110000610352, -0.19361348450183868, -0.4113892614841461, -0.5695334076881409, 0.026727931573987007, 0.017875688150525093, 0.5266966223716736, -0.26022785902023315, -0.1766481101512909, 0.09766725450754166, 0.5112527012825012, -0.5503487586975098, 0.5665170550346375, 0.5777571201324463, -0.4127497375011444, 0.5991578698158264, 0.14156584441661835, 0.26381170749664307, 0.5392075181007385, -0.6280781030654907, 0.27086272835731506, -0.04861898347735405, 0.03879368677735329, -1.1561673879623413, 0.0804542750120163, 0.49083852767944336, -0.8754439949989319, 0.6193561553955078, -0.2273511439561844, -0.46040430665016174, -0.21985815465450287, -0.37912553548812866, 0.2448139190673828, 0.29106244444847107, -0.5909422636032104, 0.7975375652313232, 0.05285162478685379, 0.10353925824165344, -0.8425368070602417, -0.9632081389427185, 0.5563457012176514, -0.5045700073242188, -0.5224030613899231, 0.14730635285377502, 0.2258637547492981, -0.05335598066449165, -0.09807416051626205, -0.02362486533820629, 0.09863992035388947, 0.4816930890083313, 0.0875818133354187, -0.04636988043785095, -0.5101853609085083, -0.23327723145484924, -0.3287164270877838, -0.10269824415445328, 0.32959142327308655, -0.3368935286998749, 0.75384920835495, 0.004771293140947819, -0.5226233005523682, -0.7375044822692871, 0.3313363194465637, 0.7418385744094849, -0.6892824172973633, 0.5767963528633118, 0.7199544310569763, -0.49504873156547546, -0.4143969416618347, -0.553267240524292, -0.2937173843383789, -0.5153061747550964, 0.5963038206100464, -0.4206785261631012, -0.3284846246242523, 0.17367734014987946, 0.11293336749076843, -0.04673070088028908, 0.45404621958732605, 0.23736806213855743, 0.07725340873003006, 1.0898618698120117, 0.18331164121627808, -0.1112968921661377, 0.3034370243549347, -0.2804414927959442, -0.0337696447968483, -0.6354257464408875, -0.12389451265335083, -0.4823356866836548, -0.4801166355609894, -0.20825296640396118, -0.021764589473605156, -0.022257991135120392, -0.07595306634902954, -0.47215375304222107, 0.6357885599136353, -0.708222508430481, 0.39949876070022583, 0.5927199125289917, 0.39869821071624756, -0.1613396406173706, 0.17655685544013977, -0.31394731998443604, -0.21108561754226685, -0.4523439109325409, -0.42397451400756836, 1.1217809915542603, 0.4281730055809021, 0.7227639555931091, 0.34146684408187866, 0.5973715782165527, 0.5356405377388, 0.2068292498588562, -0.5446946620941162, 0.7128250002861023, -0.7134693264961243, -0.11001010239124298, -0.0831756591796875, -0.6500912308692932, -0.7714585065841675, 0.2974476218223572, -0.217719167470932, -0.7228115797042847, -0.13303323090076447, -0.013431580737233162, -0.22694332897663116, 0.8018331527709961, -0.6036767363548279, 0.8837620615959167, -0.6069580912590027, -0.293998122215271, 0.053419504314661026, -0.3848433494567871, 0.3329242467880249, 0.10055181384086609, -0.39248716831207275, 0.2309647500514984, 0.07593243569135666, 0.5536574721336365, -0.34981197118759155, 0.8501031994819641, -0.5291151404380798, 0.20235565304756165, 0.2515248954296112, 0.3072752058506012, 0.7777191400527954, 0.2334812581539154, -0.16512514650821686, -0.2660548985004425, -0.42314791679382324, -0.6066761612892151, -0.6554588675498962, 0.7235681414604187, -0.6685765981674194, -0.8605389595031738, -0.5180180668830872, -0.4253943860530853, -0.25603732466697693, 0.29004156589508057, 0.27596163749694824, 0.5480487942695618, -0.17553390562534332, 0.5049760937690735, 0.7115100622177124, -0.2234731912612915, 0.6113284826278687, 0.1245943158864975, 0.44812098145484924, -0.7463386058807373, 1.0429478883743286, -0.27846580743789673, 0.07963977009057999, 0.6370512843132019, 0.4294934570789337, -0.1466367542743683, -0.9367913603782654, -0.3049616515636444, -0.25739920139312744, -0.47862008213996887, -0.5162760019302368, -0.6221953630447388, -0.2100543975830078, -0.47137391567230225, 0.10278720408678055, -0.412823885679245, 0.0353756807744503, -0.12827695906162262, 0.23244264721870422, 0.10377347469329834, 0.5889079570770264, 0.5401504635810852, 0.5319210886955261, -0.5422581434249878, 0.1800771951675415, 0.4218426048755646, -0.009979083202779293, 0.11716490238904953, -0.49674564599990845, 0.133274108171463, 0.35098594427108765, -0.7098677754402161, -0.8638935089111328, 0.33782902359962463, -0.07262113690376282, 0.7118471264839172, 0.3898221552371979, 0.27589091658592224, 0.47815313935279846, -0.3554811179637909, 0.8493469953536987, 0.0950850322842598, -0.7521567344665527, 0.6483068466186523, -0.5333314538002014, 0.3977360427379608, 0.6767590045928955, 0.21904653310775757, 0.032102715224027634, -0.3180732727050781, -0.5587614178657532, -0.638198971748352, 0.47117048501968384, 0.5132216215133667, 0.34048572182655334, 0.33904072642326355, 0.34546026587486267, -0.23048578202724457, 0.176733136177063, -0.9147775173187256, -0.260926753282547, -0.4907202124595642, -0.12542624771595, 0.11369577050209045, -0.18694576621055603, -0.22698575258255005, -0.046405188739299774, 0.8368088006973267, 0.07400862127542496, 0.012658877298235893, 0.2734929621219635, -0.10698894411325455, 0.24044840037822723, 0.16770730912685394, 0.6899225115776062, 0.02047831192612648, 0.007686758413910866, 0.35702744126319885, 0.23915214836597443, -0.6881464719772339, 0.3836480677127838, 0.506768524646759, -0.049753349274396896, -0.46322572231292725, 0.45662403106689453, 0.7201440930366516, -0.21019993722438812, -0.36698079109191895, 0.7036546468734741, -0.40774351358413696, -0.2105780839920044, -0.0794672816991806, -0.014848272316157818, -0.20792365074157715, 0.1475747525691986, 0.3047500252723694, 0.6445590257644653, 0.03308871388435364, -0.19041480123996735, 0.42683687806129456, 0.5410560965538025, -0.6605495810508728, -0.012588275596499443, 0.8272331953048706, -0.07401006668806076, -0.5049985647201538, 0.38307687640190125, -0.056441530585289, -0.947871744632721, 0.7009111642837524, 0.5956798791885376, 0.9151831865310669, -0.43660634756088257, 0.08948331326246262, -0.06503269821405411, 0.7541800737380981, 0.292597234249115, -0.015451090410351753, 0.06314323097467422, -0.3220066726207733, -0.3544667661190033, -0.5847723484039307, 0.04265611618757248, 0.7872940897941589, -0.2643137276172638, 0.1804451197385788, -0.726190984249115, -0.17206166684627533, -0.0314880907535553, 0.04401247203350067, -0.1866568624973297, 0.5286046862602234, 0.2197485864162445, 0.48546120524406433, -0.45686182379722595, 0.618983268737793, 0.9169754385948181, -0.4761990010738373, -0.5399603843688965, 0.4282897710800171, 0.2683461308479309, -0.4107205867767334, 0.2635796070098877, 0.032653674483299255, -0.13533881306648254, -0.311740905046463, -0.3092781603336334, -0.526010274887085, 0.6030991077423096, 0.6531961560249329, -0.03233909606933594, 0.11332830786705017, 0.2897534966468811, 0.5944756269454956, -0.13343192636966705, -0.013512248173356056, 0.1282389760017395, 0.37850165367126465, -0.07286123931407928, -0.04504283890128136, 0.3790473937988281, -0.566224992275238, -0.14936693012714386, 0.3496682941913605, -0.7389535307884216, 0.8688516020774841, 0.17063207924365997, 0.05058029294013977, 0.3646601438522339, 0.5528477430343628, -0.033876173198223114, 0.035547979176044464, 0.6247817873954773, 0.856315016746521, 0.4559337794780731, -0.2250615507364273, 1.2629733085632324, 0.0633300244808197, -0.06200069561600685, 1.1542948484420776, 0.09769555181264877, 0.6635969281196594, 0.3087524473667145, -0.0018939117435365915, 0.1531752645969391, 0.44458600878715515, -0.5746867060661316, 0.4871015250682831, 0.46310222148895264, -0.26468247175216675, -0.18527396023273468, 0.08116143196821213, -0.3904935419559479, 0.6900794506072998, 0.16625458002090454, -0.40812256932258606, -0.18415634334087372, 0.3169706165790558, 0.35321372747421265, 0.6181502938270569, -0.15312427282333374, 0.588519811630249, -0.18178892135620117, -0.5801218152046204, 0.5291760563850403, 0.1411292552947998, 0.6034120321273804, -0.9184299111366272, 0.018882164731621742, 0.09316478669643402, 0.5704997777938843, -0.1148444265127182, -0.2723575830459595, 0.10144264250993729, -0.13836710155010223, -0.014725953340530396, -0.015674211084842682, 0.956131637096405, -0.06761667132377625, -0.4005274176597595, 0.20019188523292542, -0.03918196260929108, -0.4344555139541626, -0.3684568405151367, -0.7566496729850769, -0.3430310785770416, 0.1404765099287033, -0.40631526708602905, 0.3972456157207489, 0.22022497653961182, 0.3187689781188965, 0.5064228177070618, 0.879231870174408, 0.25066685676574707, -0.013008936308324337, 0.07174010574817657, 0.8116013407707214, -0.12883581221103668, -0.3204776346683502, -1.2828383445739746, 0.5912563800811768, -0.32860809564590454, -0.44698283076286316, 0.8937570452690125, 0.42236363887786865, 0.5271815657615662, 0.17588244378566742, 0.7548036575317383, 0.2696569859981537, -0.015001529827713966, -0.42395907640457153, 1.105440378189087, -0.5932656526565552, 0.5501596331596375, -0.24054458737373352, -0.8443482518196106, -0.5892639756202698, 0.28167301416397095, -0.28227803111076355, 0.15359875559806824, 0.7048856616020203, 0.6853787302970886, -0.19194410741329193, 0.04172063618898392, 0.40896546840667725, 0.3691839575767517, 0.6690656542778015, 0.44638535380363464, 0.8315677642822266, -0.8553996682167053, 1.0409982204437256, -0.4885200560092926, -0.06923466175794601, 0.2640111744403839, -0.926609218120575, -1.2153288125991821, -0.1900067925453186, -0.23400260508060455, -0.6092483997344971, 0.5508151054382324, 0.5427477359771729, 0.7690680027008057, -1.0140659809112549, 0.18715766072273254, -0.1302197277545929, -0.23330536484718323, -0.2270725965499878, -0.28819936513900757, 0.5196520090103149, -0.3373298943042755, -0.5353507399559021, 0.768799364566803, 0.0018963452894240618, -0.003694508457556367, -0.3307414650917053, 0.3570310175418854, -0.698622465133667, 0.16404470801353455, 0.20633630454540253, 0.05618803948163986, -0.519862174987793, -0.2067948281764984, -0.1637270301580429, -0.2863645851612091, -0.06210765242576599, 0.7596314549446106, -0.7363821268081665, 0.40643760561943054, 0.3804478645324707, 1.3440492153167725, 0.12584471702575684, 0.058614734560251236, 0.5566598176956177, -1.1153513193130493, 0.21018573641777039, 0.5455308556556702, 0.42925330996513367, 0.42899277806282043, -0.7296174168586731, 0.16327032446861267, 0.28200018405914307, -0.43362176418304443, -0.9945166707038879, 0.21801762282848358, -0.6247462034225464, -0.44190704822540283, 0.9800280928611755, -0.3210452198982239, -0.12521283328533173, 0.21859177947044373, -0.42188310623168945, 0.25571316480636597, -0.4721233546733856, 0.644993245601654, 0.4635930061340332, 0.41548556089401245, -0.0007118151406757534, -0.3389977514743805, 0.44381216168403625, 0.6849590539932251, -0.7334399819374084, -0.07975216954946518, -0.09676042944192886, -0.05004561319947243, 0.13085144758224487, -0.21833449602127075, -0.1229872852563858, 0.3165989816188812, 0.39843088388442993, -0.26326847076416016, -0.5588892102241516, -0.33701419830322266, -0.2937101125717163, 0.6673994064331055, -0.19373266398906708, -0.45715537667274475 ]
http://arxiv.org/abs/2402.18789v1
http://arxiv.org/pdf/2402.18789v1
FlexLLM: A System for Co-Serving Large Language Model Inference and Parameter-Efficient Finetuning
2024-02-29T01:33:08
2024-02-29T01:33:08
Xupeng Miao, Gabriele Oliaro, Xinhao Cheng, Mengdi Wu, Colin Unger, Zhihao Jia
cs.DC
cs.DC, cs.CL, cs.LG
Parameter-efficient finetuning (PEFT) is a widely used technique to adapt large language models for different tasks. Service providers typically create separate systems for users to perform PEFT model finetuning and inference tasks. This is because existing systems cannot handle workloads that include a mix of inference and PEFT finetuning requests. As a result, shared GPU resources are underutilized, leading to inefficiencies. To address this problem, we present FlexLLM, the first system that can serve inference and parameter-efficient finetuning requests in the same iteration. Our system leverages the complementary nature of these two tasks and utilizes shared GPU resources to run them jointly, using a method called co-serving. To achieve this, FlexLLM introduces a novel token-level finetuning mechanism, which breaks down the finetuning computation of a sequence into smaller token-level computations and uses dependent parallelization and graph pruning, two static compilation optimizations, to minimize the memory overhead and latency for co-serving. Compared to existing systems, FlexLLM's co-serving approach reduces the activation GPU memory overhead by up to 8x, and the end-to-end GPU memory requirement of finetuning by up to 36% while maintaining a low inference latency and improving finetuning throughput. For example, under a heavy inference workload, FlexLLM can still preserve more than 80% of the peak finetuning throughput, whereas existing systems cannot make any progress with finetuning. The source code of FlexLLM is publicly available at https://github.com/flexflow/FlexFlow.
[ -0.7120301127433777, -1.223270058631897, 0.5251760482788086, 0.18462421000003815, -0.24190063774585724, 0.015228421427309513, -0.3851839303970337, -0.25881263613700867, -0.1639086902141571, 0.5631601214408875, -0.6887469291687012, -0.11267551779747009, -0.04239446297287941, -0.12915313243865967, -0.3083769381046295, 0.8274899125099182, 0.22318072617053986, 0.020587705075740814, -0.22663675248622894, -0.23394577205181122, -0.3004063069820404, -0.2157408893108368, -0.9781481027603149, -0.5462779998779297, 0.5099015235900879, 0.6687307953834534, 1.1546434164047241, 0.54489666223526, 0.23688969016075134, 0.31821301579475403, 0.09175730496644974, 0.2919699251651764, -0.8496869206428528, 0.04237303137779236, -0.2888799011707306, -0.35920509696006775, -0.3398405611515045, -0.05349680781364441, 0.6487749814987183, 0.9065352082252502, -0.24437907338142395, 0.18921440839767456, 0.2964271306991577, 0.43377578258514404, -0.6289661526679993, -0.022717619314789772, -0.41259145736694336, -0.06545645743608475, -0.10044801235198975, -0.033746156841516495, -0.5892344117164612, -0.4211060106754303, 0.10474181175231934, -0.6903316974639893, 0.3812929391860962, 0.30853021144866943, 0.854059636592865, 0.37870949506759644, 0.059042904525995255, 0.41702714562416077, -0.7332054972648621, 0.8540273904800415, -0.5574330687522888, 0.5213621854782104, 0.07462146133184433, 0.5219694375991821, -0.18268486857414246, -0.9641413688659668, -0.5094310641288757, 0.03185472637414932, -0.16561871767044067, -0.19142460823059082, 0.026022426784038544, 0.32366618514060974, 0.10019312798976898, 0.6460485458374023, -0.5514447093009949, 0.21505506336688995, 0.07619588822126389, -0.07139085978269577, 0.4396956264972687, 0.07521893084049225, 0.3435003459453583, 0.2639516592025757, -0.7286912798881531, -0.14171025156974792, -0.81231689453125, -0.10862264782190323, 0.10064785927534103, 0.41892996430397034, -0.13912184536457062, 0.44786781072616577, 0.02186654508113861, 0.6051919460296631, 0.23464590311050415, 0.27150583267211914, -0.10557142645120621, -0.05473828688263893, -0.898909866809845, 0.023939670994877815, 0.8828902244567871, 0.10997240245342255, -0.16493216156959534, -0.3222212791442871, -0.1711176633834839, -0.15206339955329895, -0.07808861136436462, -0.8003411293029785, -0.17546963691711426, 0.24155226349830627, -0.2632087767124176, 0.3065638840198517, 0.13692706823349, -0.7167432904243469, -0.42227861285209656, -0.33403635025024414, 0.4398753345012665, -0.5108723044395447, -0.34095993638038635, 0.09284360706806183, -0.15095068514347076, 0.46373042464256287, 0.40675997734069824, -1.0330334901809692, 0.9381441473960876, 1.2688401937484741, 0.8940140008926392, -0.445207804441452, -0.36481398344039917, -1.1977680921554565, 0.16534073650836945, 0.13313594460487366, 0.5659521818161011, -0.4444443881511688, -0.09319362789392471, -0.4330736994743347, 0.14179083704948425, -0.18476293981075287, -0.6714106798171997, 0.44722455739974976, -0.39406833052635193, -0.03936318680644035, 0.068128801882267, -0.8826335072517395, -0.16212324798107147, -0.09540267288684845, -0.8716611266136169, 1.0256539583206177, 0.023731498047709465, -0.31717851758003235, 0.1645868420600891, -0.4636448323726654, -0.39476925134658813, 0.484697163105011, -0.30323609709739685, -0.49530065059661865, 0.26975226402282715, 0.0862351581454277, 0.5835388898849487, -0.7140610814094543, 0.4433860182762146, -0.5382256507873535, -0.6975114941596985, -0.06176900118589401, -0.6634699106216431, 0.5424870848655701, 0.387207567691803, -0.44124144315719604, 0.267658531665802, -0.43771761655807495, 0.1821250319480896, 0.086830735206604, -0.3808269500732422, -0.20267407596111298, -0.09739870578050613, 0.41097283363342285, -0.4016530513763428, 0.11307009309530258, -0.45689287781715393, 0.08711648732423782, -0.5369485020637512, 0.5153789520263672, 0.6432452201843262, -0.4958551824092865, 0.6407673954963684, -0.3180581033229828, 0.31036609411239624, -0.567406952381134, 0.29518088698387146, -0.027705291286110878, -0.31849220395088196, -0.6698037981987, -0.46829232573509216, 0.06379344314336777, 0.3070068061351776, -0.4911569058895111, 0.010111149400472641, 0.02847527153789997, -0.3531329929828644, -0.5070977807044983, 0.03034939616918564, 0.4357905983924866, 0.340347558259964, 0.5293393731117249, 0.08002222329378128, -0.27031126618385315, -0.7199798822402954, -0.3524315357208252, 0.17450261116027832, 0.17975610494613647, 0.46134939789772034, -0.09500060230493546, -0.013448408804833889, 0.6608966588973999, -0.5843164324760437, 0.07209078967571259, -0.2637302279472351, 0.13395759463310242, 0.37378790974617004, 0.7135859131813049, 0.500933825969696, -0.7659090757369995, -0.6873375177383423, 0.1571122109889984, -0.20154303312301636, -0.13515843451023102, -0.10420463979244232, -0.06500415503978729, 0.1635880321264267, 0.38872143626213074, -0.42689424753189087, -0.14047974348068237, 0.8286781907081604, -0.6240758895874023, 0.5197386741638184, -0.45017027854919434, -0.13740409910678864, -0.6147856116294861, -0.06897711008787155, -0.20106956362724304, -0.7088764905929565, -0.39965152740478516, 0.42168018221855164, -0.26317739486694336, -0.18034915626049042, -0.395243376493454, 0.7050424814224243, -0.5063678026199341, -0.02400258369743824, -0.20156832039356232, -0.3805851340293884, 0.27386581897735596, 0.47497808933258057, -0.11950324475765228, 0.822211742401123, 0.6189183592796326, -0.37953415513038635, 0.3822065591812134, -0.2969202995300293, -0.08228561282157898, 0.3932804465293884, -0.6351099610328674, 0.23209215700626373, 0.1891978681087494, -0.14845027029514313, -1.1230883598327637, -0.18620771169662476, 0.24205759167671204, 0.15516087412834167, 0.29036855697631836, -0.27241405844688416, -0.43189024925231934, -0.20169931650161743, -0.10016632825136185, 0.3091650605201721, 0.5126750469207764, -0.978245198726654, 0.7678080201148987, 0.406025230884552, -0.106793612241745, -0.4651296138763428, -0.7874407768249512, -0.119822196662426, -0.19794917106628418, -0.6573713421821594, 0.3692339062690735, -0.05154627561569214, 0.03321129456162453, -0.005355039611458778, -0.23444399237632751, -0.2884071171283722, 0.2220286875963211, 0.37904855608940125, 0.2935720980167389, -0.4536387324333191, -0.0973009467124939, 0.2929728627204895, -0.060891516506671906, -0.20382966101169586, -0.42389360070228577, 0.9895842671394348, -0.5610283017158508, -0.4370627701282501, -0.691521406173706, 0.36626484990119934, 0.6019776463508606, -0.09934671968221664, 0.7008004784584045, 1.0183485746383667, -0.26334381103515625, -0.3402400612831116, -0.8024610280990601, -0.18278315663337708, -0.5287730693817139, -0.05049613118171692, -0.4785078167915344, -1.1502048969268799, 0.42317959666252136, -0.34537914395332336, 0.018700631335377693, 0.4541069269180298, 0.5572156310081482, -0.04559039697051048, 0.8411399126052856, 0.4391711950302124, 0.22964772582054138, 0.5971396565437317, -0.46374213695526123, -0.25213250517845154, -0.41299083828926086, -0.034366052597761154, -0.27492907643318176, -0.3499179184436798, -0.3693791627883911, -0.693000853061676, -0.03802235424518585, 0.192522332072258, -0.5307562351226807, 0.08255904167890549, -0.5089308619499207, 0.6640881299972534, 0.6115230917930603, 0.27844035625457764, 0.37892991304397583, 0.149262934923172, -0.5161888599395752, 0.29197272658348083, -0.8437132835388184, -0.3561500608921051, 0.63010573387146, 0.3222622871398926, 1.0904386043548584, 0.02661903202533722, 0.5870324969291687, 0.2124163657426834, 0.28565654158592224, -0.6959185600280762, 0.6126934289932251, -0.45757821202278137, -0.28709208965301514, -0.5524311661720276, -0.4765298664569855, -0.6855842471122742, 0.2816515862941742, -0.1834241896867752, -0.5627757906913757, 0.19352035224437714, 0.3497794568538666, -0.6895809769630432, 0.43434059619903564, -1.2402149438858032, 1.0031214952468872, -0.12572020292282104, -1.046545386314392, -0.40452444553375244, -0.4094265103340149, 0.06011800840497017, 0.23774343729019165, -0.10397365689277649, -0.4066440761089325, 0.037635836750268936, 0.4242212176322937, -0.9604172110557556, 0.7585306763648987, -0.577536404132843, 0.0737079605460167, 0.36086970567703247, -0.011210300028324127, 0.5193552374839783, 0.40847548842430115, -0.2801271080970764, -0.19189172983169556, 0.23409095406532288, -0.3491973578929901, -0.4422871768474579, 1.030831217765808, -0.7743709087371826, -0.6633223295211792, -0.26713743805885315, -0.701438844203949, -0.06138686463236809, 0.5009980797767639, -0.2198074907064438, 0.21309161186218262, -0.4560379981994629, 0.2557929456233978, 0.5102148652076721, -0.26304370164871216, 0.5563376545906067, 0.2779523730278015, -0.2504662871360779, -0.28258323669433594, 0.8401486873626709, -0.11729554086923599, 0.3272224962711334, 0.39313966035842896, 0.4873538017272949, -0.3799520432949066, -0.6305151581764221, -0.47719141840934753, 0.23120610415935516, -0.19422121345996857, -0.1956273913383484, -0.28078290820121765, -0.090804323554039, -0.03815671429038048, -0.2310427725315094, -0.6774135828018188, -0.2928657829761505, -0.2514115571975708, 0.25042083859443665, 0.5232647657394409, 0.25812840461730957, 0.019285885617136955, 0.6166537404060364, -0.547110915184021, 0.4758012592792511, 0.46924686431884766, 0.7970808744430542, -0.0059746685437858105, -0.0556132048368454, -0.11388875544071198, -0.07751145213842392, -0.10449670255184174, -0.31673747301101685, 0.25305208563804626, 0.5433509349822998, 0.5445700287818909, 0.5033907294273376, 0.0902208462357521, 0.9819286465644836, -0.5838494300842285, 0.4890687167644501, 0.4006669223308563, -0.9320392608642578, -0.013596766628324986, -0.10909544676542282, 0.3497261106967926, 0.7266261577606201, 0.18152694404125214, -0.43248450756073, -0.32801908254623413, -0.2641361653804779, -0.6350997686386108, 0.896581768989563, -0.19413447380065918, 0.05680849403142929, 0.07411044090986252, 0.5280078649520874, 0.5777977108955383, -0.2704823613166809, -0.3104349970817566, -0.2796808183193207, -0.053555190563201904, -0.19455744326114655, -0.03449445217847824, -0.07077696174383163, -0.2132793366909027, -0.5281498432159424, 0.45549723505973816, -0.5019018054008484, 0.22191055119037628, 0.0565398670732975, -0.09833207726478577, -0.17276296019554138, 0.28810009360313416, 0.08984442800283432, 0.5763614773750305, -0.2176411747932434, 0.47171613574028015, 0.22410273551940918, -0.5443282127380371, 0.037647537887096405, 0.6991075873374939, -0.10642322897911072, -0.2103436291217804, -0.3155658543109894, 1.0450119972229004, 0.31822943687438965, -0.8154278993606567, 0.2567782998085022, -0.36089929938316345, 0.0400223508477211, 0.055989883840084076, 0.48406752943992615, 0.38543400168418884, 0.6535094380378723, 0.4441607594490051, 0.014760904014110565, 0.09384327381849289, -0.36301666498184204, 0.23018909990787506, 0.5162594318389893, -0.2645307183265686, -0.19905713200569153, 0.9676269292831421, -0.019552549347281456, -0.1182195320725441, 0.40268611907958984, -0.08429019898176193, 0.10943783074617386, 0.44178086519241333, 0.7583586573600769, 0.7244464159011841, -0.17646323144435883, 0.22528178989887238, -0.041506871581077576, -0.27097997069358826, -0.4160321354866028, 0.5348352789878845, -0.048396576195955276, -0.5022163391113281, -0.7205535173416138, -0.8419467210769653, -0.570563793182373, 0.06675438582897186, -0.4923604130744934, 0.4172590970993042, -0.7166703343391418, -0.14757661521434784, 0.10974329710006714, 0.06501524895429611, -0.7547216415405273, 0.050409384071826935, 0.42314374446868896, 0.8746181726455688, -0.5424402356147766, 0.9230780601501465, 0.7028172016143799, -0.06629420816898346, -0.8721905946731567, -0.4134451746940613, -0.19410981237888336, -0.7789204120635986, 0.1312442421913147, 0.07277043163776398, -0.28363755345344543, 0.23965932428836823, -0.3540576100349426, -0.6302341222763062, 1.167482852935791, 1.0287233591079712, -0.7486735582351685, -0.10384315252304077, 0.44122326374053955, 0.2344609797000885, -0.27233853936195374, 0.11253660172224045, 0.5597536563873291, 0.49522262811660767, 0.30843496322631836, -0.953482449054718, 0.4701179563999176, 0.18224424123764038, -0.16930551826953888, 0.17656999826431274, -0.8861027956008911, 0.967200517654419, -0.21549567580223083, -0.34958013892173767, 0.20615026354789734, 0.6300057768821716, 0.23254704475402832, 0.35107511281967163, 0.6099227666854858, 0.6894088387489319, 1.0275849103927612, -0.33552175760269165, 0.952195942401886, -0.18343563377857208, 0.7825103998184204, 1.5020091533660889, -0.07766592502593994, 0.7816129326820374, 0.7665917277336121, -0.07448426634073257, 0.16385860741138458, 0.517193078994751, -0.07352860271930695, 0.4397509694099426, 0.10182925313711166, -0.3015665113925934, -0.3097921907901764, -0.12522058188915253, -0.1415008306503296, 0.15508589148521423, 0.4004085958003998, -0.36074838042259216, -0.3741828203201294, 0.07179544121026993, 0.03431640937924385, -0.16399085521697998, -0.644156813621521, 0.6408395171165466, 0.23572321236133575, -0.7845939993858337, 0.9963683485984802, -0.031418394297361374, 0.5740468502044678, -0.30539941787719727, -0.007666018791496754, -0.21580758690834045, 0.4800068736076355, -0.3101978302001953, -0.6990593075752258, 0.5013520121574402, -0.13940119743347168, 0.02636200189590454, -0.48493292927742004, 0.7263860702514648, -0.5096681118011475, -0.2168715000152588, 0.3063898980617523, 0.6038552522659302, 0.0044864024966955185, -0.1594591587781906, -0.7667381763458252, 0.2634270191192627, -0.37762245535850525, -0.21092021465301514, 0.21121101081371307, 0.26825565099716187, 0.16039392352104187, 0.49502983689308167, 0.5179494619369507, -0.09629642218351364, 0.30828338861465454, 0.3903505802154541, 0.9373746514320374, -0.3875769078731537, -0.3758084774017334, -1.1607484817504883, 0.0860135480761528, 0.1240895539522171, 0.16221442818641663, 0.5373134613037109, 0.9305682182312012, 0.6722119450569153, 0.025405943393707275, 0.4671887457370758, -0.014511500485241413, 0.06021590530872345, -0.3518061935901642, 0.8526044487953186, -0.5892407298088074, 0.13435713946819305, -0.024666599929332733, -0.862585723400116, -0.4085555672645569, 0.29422086477279663, -0.46576058864593506, -0.316599577665329, 0.4687943756580353, 0.6666524410247803, -0.6191773414611816, 0.21668313443660736, 0.28816351294517517, 0.17684298753738403, 0.18019095063209534, 0.6443238258361816, 0.46425390243530273, -0.1796797513961792, 0.5456451177597046, -0.19526676833629608, -0.10510297119617462, -0.4057298004627228, -0.6336805820465088, -0.7263572216033936, -0.2601073980331421, -0.21841628849506378, -0.22759951651096344, 0.09498010575771332, 0.9595560431480408, 0.8680800795555115, -0.8491614460945129, -0.35542240738868713, -0.44954925775527954, 0.2853185832500458, -0.599905788898468, -0.28615355491638184, 0.5270160436630249, -0.4223255515098572, -1.0087088346481323, 0.27982065081596375, 0.3868345618247986, -0.15818265080451965, -0.300740510225296, -0.31693458557128906, -0.2949512004852295, -0.006428014952689409, 0.537059485912323, 0.5230910181999207, -0.6018781661987305, -0.39784544706344604, -0.05522993952035904, -0.03240272402763367, 0.29183658957481384, 0.7545998096466064, -0.71067214012146, 0.34789803624153137, 0.5804353952407837, 1.1328396797180176, 0.9267878532409668, -0.17955882847309113, 0.60956871509552, -0.5163437724113464, 0.1557183563709259, 0.15320418775081635, 0.44413790106773376, 0.18488062918186188, -0.317643940448761, 0.32337212562561035, 0.27434033155441284, -0.415598601102829, -0.7378329038619995, 0.08442898839712143, -1.187868356704712, -0.2945491671562195, 0.8685621023178101, -0.21462595462799072, -0.43941521644592285, -0.05870968475937843, -0.2904220521450043, 0.5313209295272827, -0.48143553733825684, 0.29965293407440186, 0.30424147844314575, -0.449362188577652, -0.5264013409614563, -0.28886017203330994, 0.40497371554374695, 0.5968459844589233, -0.7109073400497437, 0.27446556091308594, 0.31802818179130554, 0.4304981827735901, -0.2536384165287018, 0.39768344163894653, 0.16076034307479858, 0.22362291812896729, -0.2394936978816986, -0.2523154616355896, -0.1928817331790924, -0.17429396510124207, -0.13390766084194183, 0.605624258518219, 0.10783512890338898, -0.019460508599877357 ]
http://arxiv.org/abs/2402.18766v2
http://arxiv.org/pdf/2402.18766v2
Advancing Generative AI for Portuguese with Open Decoder Gervásio PT*
2024-02-29T00:19:13
2024-03-05T10:44:03
Rodrigo Santos, João Silva, Luís Gomes, João Rodrigues, António Branco
cs.CL
cs.CL
To advance the neural decoding of Portuguese, in this paper we present a fully open Transformer-based, instruction-tuned decoder model that sets a new state of the art in this respect. To develop this decoder, which we named Gerv\'asio PT*, a strong LLaMA~2 7B model was used as a starting point, and its further improvement through additional training was done over language resources that include new instruction data sets of Portuguese prepared for this purpose, which are also contributed in this paper. All versions of Gerv\'asio are open source and distributed for free under an open license, including for either research or commercial usage, and can be run on consumer-grade hardware, thus seeking to contribute to the advancement of research and innovation in language technology for Portuguese.
[ 0.02887282520532608, -0.5713411569595337, 0.055683109909296036, 0.3580940067768097, -0.3866294026374817, -0.19242221117019653, -0.4457913041114807, -0.3429034352302551, 0.1190851554274559, 0.40631556510925293, -0.19819656014442444, -0.625490128993988, -0.8543068170547485, 0.24461983144283295, -0.3795226812362671, 0.8217129707336426, -0.02309074066579342, 0.291734904050827, -0.11878654360771179, 0.015492047183215618, -0.3678770661354065, -0.2780798077583313, -0.9314241409301758, -0.24924235045909882, 0.22150801122188568, 0.32441216707229614, 0.37009984254837036, 0.8209835290908813, 0.2833390235900879, 0.38698720932006836, -0.19661444425582886, 0.1178373396396637, -0.5074504017829895, 0.029227236285805702, -0.1220657080411911, -0.5882869958877563, -0.5185465216636658, -0.4411648213863373, 0.5806733965873718, 0.19396467506885529, -0.2145538181066513, -0.12990573048591614, 0.10582078248262405, 0.3769063949584961, -0.5794499516487122, 0.5498023629188538, -0.3969443440437317, -0.051419079303741455, -0.05033714696764946, -0.22289589047431946, -0.5983884930610657, -0.5440157055854797, -0.23648618161678314, -0.8006725311279297, 0.29681622982025146, -0.5470461845397949, 0.6896684765815735, 0.43818724155426025, -0.19120903313159943, -0.4758298397064209, -0.7061903476715088, 0.48957905173301697, -0.1530839502811432, 0.3285318911075592, -0.0006237668567337096, 0.4618580639362335, 0.024288665503263474, -0.5834142565727234, -0.3314182162284851, -0.32183024287223816, 0.38835781812667847, 0.36239176988601685, -0.819019615650177, 0.13483926653862, 0.1642889678478241, 0.47110599279403687, -0.29070451855659485, 0.2999647259712219, -0.6459833979606628, -0.12871859967708588, 0.3267395496368408, -0.15861263871192932, 0.2154855579137802, 0.24039755761623383, -0.2446257770061493, -0.30521902441978455, -0.9814150333404541, -0.08572402596473694, 0.6488550305366516, -0.031231939792633057, -0.18416181206703186, 0.556879997253418, -0.13955892622470856, 0.6988149881362915, -0.19154655933380127, 0.22932639718055725, 0.28980952501296997, 0.00502184359356761, -0.24144579470157623, 0.16518643498420715, 0.7643863558769226, 0.05390853062272072, 0.4655497074127197, -0.1673864722251892, -0.2825410068035126, 0.6139116287231445, 0.3482459485530853, -0.60821932554245, -0.3577754497528076, 0.006615029647946358, -0.461467981338501, -0.3296939432621002, 0.31729021668434143, -0.6645216941833496, -0.11748547106981277, -0.011036052368581295, 0.2190741002559662, -0.7122295498847961, -0.25724926590919495, 0.30699092149734497, -0.12147743254899979, 0.4877825081348419, 0.4342516362667084, -0.9312214851379395, 0.152418315410614, 0.8163686394691467, 0.6052336692810059, 0.1564340889453888, -0.22439709305763245, -0.4808741509914398, 0.14923502504825592, -0.34082159399986267, 0.8833131194114685, -0.6754679679870605, -0.9024678468704224, 0.2057659775018692, 0.1888306438922882, 0.16680791974067688, -0.5193478465080261, 0.9156441688537598, -0.4264294505119324, 0.41735419631004333, 0.01526484452188015, -0.19533012807369232, -0.291801780462265, 0.05299656093120575, -0.5494385361671448, 0.8594103455543518, 0.09300599992275238, -0.5205874443054199, 0.010451620444655418, -1.062536358833313, -0.5337240695953369, 0.15141350030899048, -0.0887179896235466, -0.2826097905635834, 0.37030571699142456, 0.42832687497138977, 0.07859768718481064, -0.40011146664619446, 0.2929705083370209, 0.1711573749780655, -0.48212599754333496, 0.1464836448431015, -0.7080080509185791, 0.997578501701355, 0.2192373275756836, -0.11945309489965439, 0.3946865200996399, -0.8167436122894287, -0.2009076327085495, 0.11777429282665253, -0.49237605929374695, -0.11132374405860901, 0.13496951758861542, -0.2390087991952896, -0.2969032824039459, 0.3168064057826996, -0.7357710599899292, 0.3814740478992462, -0.6033024787902832, 0.520151674747467, 0.7888281941413879, -0.3122178912162781, 0.41884341835975647, 0.040709804743528366, 0.7117412686347961, 0.04877151921391487, 0.27734676003456116, -0.42490699887275696, -0.836011528968811, -1.01042640209198, -0.27012142539024353, 0.49814853072166443, 0.6572689414024353, -1.091199517250061, 0.49972161650657654, -0.43377694487571716, -0.2996022701263428, -1.1282888650894165, -0.2966654896736145, 0.7221792340278625, 0.5214130282402039, 0.4950999617576599, -0.2512151598930359, -0.5611690878868103, -0.7594735622406006, 0.20346428453922272, 0.06518638879060745, -0.559485912322998, 0.1405881941318512, 0.4409916400909424, -0.3392674922943115, 0.3671130836009979, -0.48002249002456665, -0.2318193018436432, -0.14280952513217926, -0.04455156251788139, 0.3317812979221344, 0.5984721779823303, 0.5794355273246765, -0.40389689803123474, -0.33907127380371094, 0.2930639386177063, -0.8332724571228027, -0.23814202845096588, 0.5723112225532532, 0.007721953094005585, 0.2954585552215576, 0.3427247703075409, -0.3275250196456909, 0.2615331709384918, 0.5985180139541626, -0.2173650562763214, 0.030432261526584625, -0.7489450573921204, 0.09802094101905823, -1.2848410606384277, 0.20214353501796722, -0.08958166092634201, 0.1748284250497818, -0.7334070205688477, 0.17727121710777283, 0.004356541205197573, -0.21466635167598724, -0.5162367224693298, 0.12323356419801712, -0.5699031949043274, -0.013699647970497608, -0.39855676889419556, -0.2801917791366577, -0.27873867750167847, 0.2620120346546173, 0.21472543478012085, 0.6991953253746033, 1.0150598287582397, -0.4519491195678711, 0.3690623641014099, 0.3799718916416168, -0.0763702318072319, 0.32122892141342163, -0.99504554271698, 0.4119851291179657, -0.44915592670440674, 0.027404863387346268, -0.5457886457443237, -0.09879930317401886, 0.6450269818305969, -0.7701199054718018, 0.4345998167991638, -0.4643685519695282, -0.16026780009269714, -0.5125959515571594, -0.06183211877942085, 0.18973270058631897, 0.6617947816848755, -0.5949422121047974, 0.5770227909088135, 0.34968796372413635, 0.18662229180335999, -0.7412719130516052, -0.5769859552383423, 0.06149544194340706, 0.010234038345515728, -0.5715720653533936, 0.30017969012260437, 0.11306660622358322, -0.10473130643367767, 0.10957727581262589, 0.12243612855672836, -0.17185574769973755, -0.04122927039861679, 0.3299727439880371, 0.3381258547306061, -0.5941483378410339, -0.11180227994918823, 0.2621908485889435, -0.5445781946182251, 0.04678484424948692, -0.5511792302131653, 0.5558379888534546, -0.16328921914100647, -0.11905920505523682, -0.5588796734809875, 0.31417351961135864, 0.252071350812912, -0.43290042877197266, 0.37067103385925293, 0.4684463143348694, -0.2701546847820282, -0.17031265795230865, -0.02890889346599579, 0.21684207022190094, -0.5310270190238953, 0.13192525506019592, -0.5099934339523315, -1.0887974500656128, 0.41735994815826416, 0.22867974638938904, -0.28604617714881897, 0.5336534380912781, 0.6674211621284485, 0.08452487736940384, 0.7895079255104065, 0.9401470422744751, -0.23104022443294525, 0.5685504078865051, -0.5134363174438477, -0.15935559570789337, -0.5607312917709351, -0.4080207347869873, -0.7651047110557556, -0.24280866980552673, -0.6322079300880432, -0.614422082901001, 0.4994485080242157, -0.14019878208637238, -0.07389877736568451, 0.27749499678611755, -0.8902176022529602, 0.6824968457221985, 0.899949312210083, 0.12247498333454132, 0.26418769359588623, 0.006586884614080191, 0.2225196659564972, 0.4017801880836487, -0.6749683618545532, -0.3149096667766571, 1.1167387962341309, 0.28183451294898987, 0.739968478679657, 0.03275512531399727, 0.5325320959091187, 0.3012233078479767, 0.23526398837566376, -0.6481544971466064, 0.40896400809288025, -0.41012701392173767, -0.10363246500492096, -0.23891089856624603, -0.2289627194404602, -1.2940022945404053, 0.1737784445285797, -0.004663100466132164, -0.43655988574028015, 0.12355710566043854, 0.3929148316383362, -0.1441953182220459, 0.09113100171089172, -0.7791169285774231, 0.9261783957481384, -0.14116829633712769, 0.1358775943517685, -0.2435457408428192, -0.666806161403656, 0.14838740229606628, 0.5397700667381287, -0.4321518838405609, 0.117556132376194, -0.1450527012348175, 0.45434054732322693, -0.40991464257240295, 0.6547170877456665, -0.5840877890586853, -0.1650054007768631, 0.5623490810394287, -0.1208825632929802, 0.28064221143722534, -0.10903586447238922, 0.0747682973742485, 0.5379632115364075, -0.29795607924461365, -0.39320626854896545, -0.3945636749267578, 0.43221837282180786, -1.1643457412719727, -0.36633434891700745, -0.2985876500606537, -0.3093690276145935, 0.1663191169500351, 0.11665093898773193, 0.4846314787864685, 0.30393168330192566, -0.4278580844402313, 0.299000084400177, 0.9225244522094727, -0.3152228891849518, 0.42474043369293213, 0.5382835268974304, 0.31728631258010864, -0.6544505953788757, 0.9474397897720337, -0.328233540058136, -0.24232038855552673, 0.7860673666000366, 0.15183188021183014, -0.24194219708442688, -0.74957674741745, -0.6398724317550659, 0.10336710512638092, -0.45852944254875183, -0.4634424149990082, -0.47936370968818665, -0.0816643238067627, -0.4775603711605072, -0.10509141534566879, -0.2407606989145279, -0.16855016350746155, -0.6021767854690552, -0.056556858122348785, 0.41482555866241455, 0.8168781995773315, -0.023504892364144325, 0.6685396432876587, -0.7449699640274048, 0.23062419891357422, 0.15007391571998596, 0.3053140640258789, -0.24276089668273926, -0.36624038219451904, -0.06334428489208221, 0.2157168835401535, -0.24977214634418488, -0.893166184425354, 0.5935126543045044, 0.1358417123556137, 0.6308093070983887, 0.6307911276817322, -0.288266122341156, 0.29173925518989563, -0.4791469871997833, 0.46628832817077637, 0.12762807309627533, -0.9729511141777039, 0.9083595275878906, -0.5698245763778687, 0.3139860928058624, 0.2069365233182907, 0.3906172513961792, -0.17078091204166412, 0.0298753809183836, -0.5863966941833496, -0.5417810082435608, 0.7870926856994629, 0.07361993938684464, 0.1569422036409378, -0.008831530809402466, 0.1495652049779892, 0.2130466103553772, 0.19665966928005219, -0.5628565549850464, 0.23597027361392975, -0.7370554804801941, -0.29702886939048767, -0.058615636080503464, -0.2545405626296997, -0.11069595068693161, -0.3201962113380432, 0.49949294328689575, -0.36258435249328613, 0.8825147747993469, -0.19303879141807556, -0.1474558264017105, -0.06580830365419388, 0.2086283564567566, 0.6989618539810181, 0.22504131495952606, 0.08626456558704376, -0.11731884628534317, 0.053629618138074875, -0.5157006978988647, -0.013504590839147568, 0.2990415096282959, -0.29092729091644287, -0.10543927550315857, 0.038561489433050156, 1.0387308597564697, 0.09703798592090607, -0.604561448097229, 0.5891488790512085, -0.015116558410227299, -0.027796732261776924, -0.3705841600894928, 0.4245028495788574, -0.1188693568110466, 0.3963553309440613, 0.02128542773425579, 0.03872666135430336, 0.1498498171567917, -0.32429495453834534, -0.11364356428384781, 0.2161816507577896, -0.5216119289398193, -0.526689350605011, 0.960057258605957, 0.4714512228965759, -0.5032282471656799, 0.9267958402633667, -0.15885882079601288, -0.3440110385417938, 0.6691040992736816, 0.859149694442749, 1.0518521070480347, -0.529535710811615, 0.20722365379333496, 0.06949466466903687, 0.33506619930267334, 0.011934289708733559, 0.7480072975158691, -0.2722901403903961, -0.890544056892395, -0.5116923451423645, -0.6296694278717041, -0.43510910868644714, -0.09678078442811966, -0.7184682488441467, 0.3432672321796417, -0.14687973260879517, 0.2637439966201782, -0.3794155418872833, -0.49148038029670715, -0.37836527824401855, 0.08397484570741653, 0.24476097524166107, 1.0844051837921143, -0.6421706676483154, 1.4711806774139404, 0.7838886976242065, -0.3990045487880707, -0.2135637402534485, -0.2399328202009201, -0.3773147165775299, -1.1671228408813477, 0.2698497772216797, 0.14349216222763062, -0.10703269392251968, 0.23549023270606995, -0.6515422463417053, -0.5538544654846191, 0.9993167519569397, 0.6423123478889465, -0.23447000980377197, -0.19091171026229858, 0.11218314617872238, 0.8647040724754333, -0.32294198870658875, 0.2741406559944153, 0.5312463045120239, 0.4044695198535919, 0.14382952451705933, -0.6633080840110779, -0.3816424012184143, -0.6721101403236389, 0.16094915568828583, 0.3365158438682556, -0.585159182548523, 0.725324809551239, -0.10316302627325058, -0.09415704011917114, 0.3176229000091553, 0.9929384589195251, -0.17421890795230865, 0.023566959425807, 0.13528302311897278, 0.771859347820282, 0.4705740511417389, -0.5219525694847107, 1.123102068901062, -0.4035097062587738, 0.029990607872605324, 0.8092657327651978, 0.23825573921203613, 0.774345338344574, -0.04129091277718544, -0.03054032288491726, 0.43285390734672546, 0.21964578330516815, -0.4467921853065491, 0.5252681970596313, 0.07680535316467285, -0.3662056028842926, 0.18461763858795166, -0.08114618062973022, -0.4026000499725342, 0.8322532773017883, 0.5027945041656494, -0.5616127252578735, -0.1976253092288971, 0.05502527952194214, 0.0863317921757698, 0.06424985080957413, -0.520523726940155, 0.7072575688362122, -0.2679373025894165, -0.5953181385993958, 0.6458810567855835, 0.23647737503051758, 0.7488704323768616, -0.730875551700592, -0.15952858328819275, -0.09893427044153214, 0.2441076636314392, 0.08431608974933624, -0.8092350959777832, 0.4306056499481201, 0.31097888946533203, -0.057605259120464325, -0.5031447410583496, 0.7131675481796265, -0.2660200893878937, -0.28023761510849, 0.1831531673669815, 0.4382319152355194, 0.2797856032848358, -0.08541031926870346, -0.47337526082992554, 0.31601303815841675, 0.0840325579047203, 0.14283281564712524, -0.008849228732287884, 0.5109103918075562, 0.0677282065153122, 0.44459742307662964, 0.5361935496330261, 0.02086000144481659, 0.13155721127986908, 0.08402344584465027, 1.040759801864624, -0.5402247309684753, -0.5343488454818726, -0.6629306077957153, 0.6006478667259216, 0.02353532798588276, -0.6186695694923401, 0.5260509848594666, 0.5903281569480896, 1.1081821918487549, -0.36057722568511963, 0.7098962068557739, -0.19430583715438843, 0.13111166656017303, -0.402463436126709, 0.6817348003387451, -0.03735059127211571, -0.08731576055288315, 0.14812014997005463, -0.8247334361076355, -0.33043810725212097, 0.5811123251914978, -0.19373294711112976, -0.2660287022590637, 0.28956592082977295, 0.8614349961280823, -0.02084120735526085, 0.08238474279642105, 0.3433695137500763, 0.4154227375984192, 0.17628540098667145, 0.8399633765220642, 0.9059834480285645, -0.3529299199581146, 0.6448397040367126, -0.03226422145962715, -0.3446742296218872, -0.13139386475086212, -0.5474072098731995, -0.6266490817070007, -0.3997909128665924, -0.09290920197963715, -0.3854718506336212, 0.52794349193573, 0.6517396569252014, 0.16869211196899414, -0.9856755137443542, -0.374395489692688, -0.2895174026489258, 0.05120042711496353, -0.23999296128749847, -0.13728715479373932, 0.21593888103961945, -0.08447930961847305, -1.2049633264541626, 0.7138514518737793, 0.3168661892414093, 0.016175929456949234, -0.28316497802734375, -0.15361323952674866, 0.2379269003868103, -0.17918990552425385, 0.5980076789855957, 0.6101943254470825, -0.4979381561279297, -0.2296868860721588, 0.01969950646162033, 0.22795246541500092, 0.5303000807762146, 0.699077308177948, -0.915187418460846, 0.6501884460449219, 0.6477035284042358, 0.5712370872497559, 0.3840618133544922, -0.08140549063682556, 0.7488691806793213, -0.5463302135467529, 0.43136513233184814, 0.48409101366996765, 0.406974196434021, 0.2790263593196869, -0.22178378701210022, 0.6335755586624146, 0.32976341247558594, -0.38353773951530457, -0.46974077820777893, 0.06378864496946335, -1.1426399946212769, -0.036323100328445435, 1.0796535015106201, -0.17648546397686005, -0.5531277060508728, 0.3580065071582794, -0.30808910727500916, 0.6384626030921936, -0.5180075168609619, 0.7369353771209717, 0.029302846640348434, -0.13466201722621918, -0.08860959112644196, -0.11840598285198212, 0.13516101241111755, -0.19054573774337769, -0.8156225681304932, -0.40977445244789124, 0.7438703179359436, -0.07526177912950516, 0.0575534962117672, 0.4852495789527893, -0.24476951360702515, 0.4253084063529968, 0.2985064685344696, 0.3584027588367462, -0.3456229865550995, -0.7387310862541199, -0.6985408067703247, 0.35772305727005005, -0.1028110533952713, -0.679306149482727 ]