id
stringlengths
33
33
doc_url
stringlengths
33
33
title
stringlengths
13
211
publication_date
timestamp[s]
update_date
timestamp[s]
authors
stringlengths
6
16.6k
category_primary
stringclasses
60 values
category_all
stringlengths
5
132
abstract
stringlengths
123
1.99k
embeddings
sequencelengths
768
768
http://arxiv.org/abs/2406.11354v2
http://arxiv.org/pdf/2406.11354v2
Preserving Knowledge in Large Language Model with Model-Agnostic Self-Decompression
2024-06-17T09:17:40
2024-06-19T11:36:30
Zilun Zhang, Yutao Sun, Tiancheng Zhao, Leigang Sha, Ruochen Xu, Kyusong Lee, Jianwei Yin
cs.CL
cs.CL, cs.AI, cs.CV
Humans can retain old knowledge while learning new information, but Large Language Models (LLMs) often suffer from catastrophic forgetting when post-pretrained or supervised fine-tuned (SFT) on domain-specific data. Moreover, for Multimodal Large Language Models (MLLMs) which are composed of the LLM base and visual projector (e.g. LLaVA), a significant decline in performance on language benchmarks was observed compared to their single-modality counterparts. To address these challenges, we introduce a novel model-agnostic self-decompression method, Tree Generation (TG), that decompresses knowledge within LLMs into the training corpus. This paper focuses on TG-SFT, which can synthetically generate SFT data for the instruction tuning steps. By incorporating the dumped corpus during SFT for MLLMs, we significantly reduce the forgetting problem.
[ -0.18461863696575165, -0.770228385925293, 0.3645900785923004, -0.1153067946434021, -0.21649743616580963, 0.28022903203964233, -0.3093540072441101, -0.11585375666618347, -0.20829500257968903, 0.5012719035148621, -0.5831431746482849, -0.5810503363609314, -0.2941254675388336, -0.09724577516317368, -0.3493288457393646, 0.9399264454841614, 0.008810165338218212, -0.30355796217918396, -0.24542300403118134, -0.054042499512434006, -0.3816726505756378, -0.6476573348045349, -0.6179234385490417, -0.09885293245315552, 0.12157518416643143, 0.1773892045021057, 0.3236641585826874, 0.8838224411010742, -0.01587819494307041, 0.2761498987674713, 0.033193014562129974, 0.42827531695365906, -0.6979038119316101, 0.28051233291625977, -0.22066520154476166, -0.3727594017982483, -0.37150838971138, -0.34057822823524475, 0.9739112257957458, 0.4894237220287323, -0.31145304441452026, 0.2557178735733032, 0.1605355143547058, 0.5479387640953064, -0.7299089431762695, 0.4487122595310211, -0.9505759477615356, -0.006209792103618383, -0.006897423882037401, -0.47569602727890015, -0.5372737050056458, -0.14652548730373383, -0.10508713126182556, -0.4670960605144501, 0.6541462540626526, -0.1259947270154953, 0.7555360794067383, 0.6482895612716675, -0.28073740005493164, 0.06710285693407059, -0.7456285357475281, 0.7221295237541199, -0.7228540778160095, 0.46199721097946167, 0.47977501153945923, 0.1962507665157318, -0.15167231857776642, -0.3454906642436981, -0.32089880108833313, -0.19821399450302124, 0.06537846475839615, -0.015804314985871315, -0.09387027472257614, 0.12183091789484024, 0.29201453924179077, 0.2177152782678604, -0.4271238446235657, 0.03493292257189751, -0.2975342869758606, -0.27179381251335144, 0.5534447431564331, -0.004569457843899727, 0.15292291343212128, -0.27510613203048706, -0.2048092782497406, -0.14084956049919128, -1.1348339319229126, -0.2973235547542572, 0.08835344016551971, 0.2389834225177765, 0.3044985830783844, 0.28700530529022217, -0.012793444097042084, 0.6170845627784729, 0.09128700196743011, -0.26583874225616455, 0.28655752539634705, -0.21740911900997162, -0.26407590508461, -0.03692105412483215, 0.728753924369812, 0.16755075752735138, 0.41327977180480957, -0.23515480756759644, -0.24249647557735443, 0.16635221242904663, 0.09876945614814758, -0.834292471408844, -0.5215573310852051, -0.0494595468044281, -0.3489547073841095, -0.10224565118551254, -0.3392922580242157, -0.3755536675453186, -0.038842976093292236, -0.17911861836910248, 0.28175556659698486, -0.562122642993927, -0.559004008769989, -0.08021105825901031, 0.14800576865673065, -0.010677013546228409, 0.1991836279630661, -1.1102243661880493, 0.030111048370599747, 0.43363237380981445, 0.5578151941299438, 0.040991853922605515, -0.3657568693161011, -0.5567850470542908, 0.4991269111633301, -0.3836885690689087, 0.571287214756012, -0.3127591609954834, -0.4033415913581848, -0.09263475984334946, 0.0203071478754282, -0.26549312472343445, -0.6599913835525513, 0.2762288451194763, -0.31477487087249756, 0.18631334602832794, -0.03573795408010483, -0.6785308122634888, -0.14145109057426453, 0.4461178779602051, -0.42521217465400696, 0.9289947748184204, 0.1472073793411255, -0.6349483728408813, 0.19226358830928802, -0.4519568383693695, -0.37998732924461365, 0.018812531605362892, -0.2984216511249542, -0.6303067803382874, 0.35169553756713867, 0.36075150966644287, 0.5710809230804443, -0.1437428593635559, 0.6347661018371582, -0.43995940685272217, -0.05652990937232971, -0.26256850361824036, -0.4875883162021637, 0.5530177354812622, 0.24611796438694, -0.03445623442530632, 0.05693861097097397, -0.7907972931861877, 0.18043100833892822, 0.215399369597435, -0.45145949721336365, -0.37420743703842163, 0.3577176332473755, -0.30895569920539856, 0.33546575903892517, 0.17232738435268402, -0.551346480846405, 0.49292778968811035, -0.1842428594827652, 0.8490739464759827, 0.7007886171340942, 0.08191826939582825, 0.09992332011461258, -0.15889336168766022, 0.5499075651168823, 0.10829812288284302, -0.11470383405685425, -0.6063604354858398, 0.06191674992442131, -0.8630154132843018, 0.007890620268881321, 0.2253333032131195, 0.3621518611907959, -0.6284944415092468, 0.3626256585121155, -0.4364217519760132, -0.2595294415950775, -0.45518991351127625, 0.2273266762495041, 0.42863714694976807, 0.5246128439903259, 0.43695855140686035, 0.03133174404501915, -0.5236433744430542, -0.9365530610084534, 0.05048482492566109, -0.25918295979499817, -0.0714530348777771, 0.23603497445583344, 0.23787635564804077, -0.3645709455013275, 0.783183217048645, -0.48896324634552, -0.3612654507160187, -0.09189599007368088, 0.24275581538677216, -0.2783028185367584, 0.6083613634109497, 0.5047241449356079, -0.3752376437187195, -0.17791299521923065, -0.004653898999094963, -0.5799017548561096, -0.12098619341850281, -0.1260671466588974, 0.047728024423122406, 0.6250104904174805, 0.7495474815368652, -0.7257179021835327, 0.21376536786556244, 0.7228303551673889, -0.22001834213733673, 0.6263904571533203, -0.40768393874168396, -0.05490627512335777, -1.2194627523422241, 0.1605498194694519, -0.36987364292144775, -0.33266401290893555, -0.28588375449180603, -0.11380504816770554, 0.37286651134490967, -0.05659257248044014, -0.1274397373199463, 0.3854195475578308, -0.7175419330596924, 0.08611379563808441, -0.2885102331638336, -0.1265115588903427, -0.02139635942876339, 0.5930709838867188, 0.20713753998279572, 0.6212055087089539, 0.6484139561653137, -0.6358728408813477, -0.13193899393081665, 0.24563194811344147, -0.1610848307609558, 0.02846861444413662, -0.46210944652557373, 0.20610347390174866, -0.3303877115249634, 0.2165590226650238, -0.787009060382843, -0.10139691829681396, -0.13594768941402435, -0.3080854117870331, 0.6516388058662415, -0.3155894875526428, -0.47877180576324463, -0.292383074760437, -0.08359473198652267, 0.48057320713996887, 0.5057653784751892, -0.521702766418457, 0.5815889835357666, 0.315248042345047, -0.1906004399061203, -0.5516293048858643, -0.5638401508331299, 0.12189483642578125, -0.2752473056316376, -0.5424850583076477, 0.3413216769695282, -0.23196373879909515, 0.1454966515302658, 0.10727694630622864, -0.25278642773628235, 0.1192360371351242, 0.09833182394504547, 0.14686669409275055, 0.06875919550657272, -0.28943392634391785, 0.5519431829452515, 0.16231344640254974, 0.02472146600484848, 0.16546498239040375, -0.4434657692909241, 0.5778777003288269, -0.21370162069797516, -0.2637721002101898, 0.029107065871357918, 0.32745298743247986, 0.6045114994049072, -0.47862181067466736, 0.5270952582359314, 0.5464838147163391, -0.32864099740982056, -0.5947638750076294, -0.6581565141677856, -0.18707191944122314, -0.4259609580039978, 0.5706538558006287, -0.41102516651153564, -1.1994041204452515, 0.449474573135376, -0.37004512548446655, 0.037443533539772034, 0.5124027132987976, 0.5087990760803223, 0.007865466177463531, 1.059752345085144, 0.7621638774871826, -0.15666557848453522, 0.48390838503837585, -0.40968966484069824, 0.01160239614546299, -0.7476511001586914, 0.015875959768891335, -0.35573384165763855, -0.05501692369580269, -0.4258872866630554, -0.2954404950141907, 0.2516172528266907, 0.31738004088401794, -0.4028295874595642, 0.1419244259595871, -0.4876324534416199, 0.5545034408569336, 0.6042906045913696, -0.08754771947860718, 0.35190922021865845, -0.021725568920373917, -0.07991202920675278, 0.247334823012352, -0.9914859533309937, -0.25775641202926636, 0.991294264793396, 0.2308373749256134, 0.7530456781387329, -0.12873783707618713, 0.940920889377594, -0.055279217660427094, 0.2577725648880005, -0.6260496973991394, 0.4607268273830414, -0.18656130135059357, -0.5186165571212769, -0.3503408133983612, -0.6208205223083496, -0.9992638230323792, 0.159246027469635, -0.04870207980275154, -0.7283926606178284, -0.0578116811811924, 0.6016968488693237, -0.38822686672210693, 0.36201804876327515, -0.7705988883972168, 0.9782442450523376, -0.27626651525497437, -0.30316492915153503, -0.32355427742004395, -0.5153898596763611, 0.5351344347000122, -0.237248495221138, 0.09805260598659515, -0.18110893666744232, 0.21091483533382416, 0.6448785662651062, -0.3815404772758484, 0.8617897033691406, -0.33309105038642883, -0.2300194501876831, 0.31369367241859436, 0.3903111517429352, 0.5686495304107666, -0.18514801561832428, 0.14957895874977112, 0.011356260627508163, 0.04066814109683037, -0.2594465911388397, -0.6470327377319336, 0.7676870226860046, -0.8182797431945801, -0.8566340208053589, -0.036606207489967346, -0.6065914034843445, -0.3548640310764313, 0.27643513679504395, 0.2067345231771469, 0.2845756709575653, -0.140403151512146, 0.3340460956096649, 0.6998431086540222, -0.16907067596912384, 0.6027248501777649, 0.34899890422821045, -0.33656883239746094, -0.4382396638393402, 0.922066867351532, 0.30262577533721924, 0.48778069019317627, 0.30926159024238586, 0.330398827791214, -0.3042370080947876, -0.7415248155593872, -0.40828222036361694, 0.2656768262386322, -0.5177543759346008, -0.5465438961982727, -0.5326056480407715, -0.37431600689888, -0.34132498502731323, 0.07147239148616791, -0.5508084297180176, -0.451498419046402, -0.2788361608982086, -0.2227739691734314, 0.2884328365325928, 0.70792555809021, -0.09670636802911758, 0.09321747720241547, -1.0307365655899048, 0.27590763568878174, 0.2396666258573532, 0.4646623134613037, 0.04061554744839668, -0.3949111998081207, -0.2734542489051819, 0.12267663329839706, -0.3327779173851013, -0.5308864712715149, 0.5945594310760498, 0.5505501627922058, 0.5714659690856934, 0.37298786640167236, 0.09440820664167404, 0.7542992234230042, -0.5195608139038086, 0.4667735695838928, 0.08002964407205582, -0.9532166123390198, 0.6913707256317139, -0.6091145277023315, 0.7289445400238037, 0.34002232551574707, 0.05417296290397644, -0.44585978984832764, -0.2898436486721039, -0.645864725112915, -0.927393913269043, 0.680043637752533, -0.12485335767269135, 0.03328139707446098, -0.1897905319929123, 0.19933238625526428, 0.11293325573205948, 0.22677944600582123, -0.8253546357154846, 0.1040852963924408, -0.4178514778614044, -0.14334508776664734, -0.22553901374340057, -0.36856359243392944, -0.042459096759557724, -0.3005139231681824, 0.6431248784065247, -0.3596113622188568, 0.047756802290678024, 0.05377398431301117, -0.2079034149646759, -0.3940231502056122, 0.29056695103645325, 0.5579473376274109, 0.6097691059112549, -0.16810166835784912, 0.31822922825813293, 0.1221182569861412, -0.21526947617530823, 0.19379667937755585, 0.0025807595811784267, -0.30931320786476135, -0.311511367559433, 0.3493855893611908, 0.7742456793785095, 0.2407863289117813, -0.5590919852256775, 0.16038894653320312, 0.15244923532009125, -0.342795729637146, -0.2806848883628845, 0.12506726384162903, 0.2426624298095703, 0.051715221256017685, 0.36992278695106506, 0.18484912812709808, -0.23138059675693512, -0.4279455542564392, 0.2519487738609314, 0.5265808701515198, 0.051851045340299606, -0.31705859303474426, 0.6955460906028748, 0.141643226146698, -0.08585085719823837, 0.745140016078949, -0.030292367562651634, -0.5950916409492493, 0.26094046235084534, 0.7947479486465454, 1.04874849319458, -0.5876659154891968, 0.08415311574935913, 0.572944164276123, 0.2640087306499481, -0.2485227733850479, 0.03332139179110527, -0.320934921503067, -0.6450416445732117, -0.6332804560661316, -0.7855414748191833, 0.12747664749622345, 0.31029635667800903, -0.3771314024925232, 0.10394704341888428, -0.5328424572944641, -0.010765292681753635, -0.35932913422584534, -0.2383863776922226, -0.5669593214988708, 0.09891870617866516, 0.27574294805526733, 0.612377941608429, -0.6859651207923889, 1.2542047500610352, 0.38013431429862976, -0.17552220821380615, -1.02528715133667, 0.08871672302484512, -0.29148536920547485, -0.7584794759750366, 0.6016302704811096, 0.15468914806842804, -0.28964748978614807, 0.26630258560180664, -0.5191094875335693, -1.1360267400741577, 1.1105363368988037, 0.7532857060432434, -0.7125999331474304, -0.2684832513332367, 0.08866802603006363, 0.5844249725341797, -0.3134253919124603, -0.12656454741954803, 0.49203458428382874, 0.26046761870384216, 0.2187049686908722, -0.9718204736709595, -0.006527378689497709, -0.33445852994918823, 0.02312658354640007, 0.43862128257751465, -0.7295000553131104, 0.8473515510559082, -0.26852837204933167, -0.5179893970489502, -0.23041965067386627, 0.4445987045764923, 0.25383323431015015, -0.16606241464614868, 0.509090781211853, 0.7159349918365479, 0.6858910918235779, 0.09341592341661453, 0.7894601225852966, -0.44142648577690125, 0.4448559582233429, 1.1907461881637573, 0.149098202586174, 0.9148764610290527, 0.3313951790332794, 0.11775714159011841, 0.2654590904712677, 0.5266118049621582, 0.08406348526477814, 0.4816052317619324, 0.30993759632110596, -0.07296112924814224, -0.5871222019195557, 0.0449051558971405, -0.44496551156044006, 0.5818020701408386, 0.45082446932792664, -0.4616551101207733, -0.4338415265083313, -0.047553904354572296, 0.12131809443235397, -0.012028126046061516, -0.4614521563053131, 0.8173688054084778, -0.01669221743941307, -0.9449253678321838, 1.2721500396728516, -0.21085421741008759, 0.300557941198349, -0.6241939663887024, -0.08196592330932617, -0.14129310846328735, 0.4038640558719635, -0.11049281060695648, -0.46828559041023254, 0.4096870720386505, -0.24581262469291687, -0.1674078404903412, -0.45377597212791443, 0.6483606696128845, -0.9325109720230103, -0.5442902445793152, 0.26834243535995483, 0.5604310631752014, -0.1340107023715973, -0.06853822618722916, -0.4425685405731201, 0.18919029831886292, 0.21554844081401825, -0.3956097662448883, 0.23328658938407898, 0.537743866443634, -0.17308162152767181, 0.910656213760376, 0.37841805815696716, -0.08162054419517517, 0.12782010436058044, 0.007363434880971909, 0.9144316911697388, -0.746234655380249, -0.2949736714363098, -0.8937084674835205, 0.3719404935836792, 0.22170835733413696, -0.19546078145503998, 0.7498350143432617, 0.4907926023006439, 0.8086193203926086, -0.20016513764858246, 0.9786073565483093, 0.12655535340309143, 0.5295289754867554, -0.6117144823074341, 0.7953482866287231, -0.5011982917785645, 0.15290330350399017, -0.27848201990127563, -0.8870891332626343, -0.41880184412002563, 0.4865916073322296, -0.13320785760879517, 0.09041313827037811, 0.648686408996582, 0.655047595500946, -0.1352536380290985, -0.22862711548805237, 0.42451921105384827, 0.503206193447113, 0.3834846615791321, 0.8154740333557129, 0.7783689498901367, -0.08243551105260849, 0.6744242906570435, -0.0824706107378006, -0.0206682737916708, -0.11804170906543732, -0.9317277669906616, -0.9593812823295593, -0.7514550685882568, -0.40823492407798767, -0.12246868759393692, 0.04955630376935005, 0.8448638319969177, 0.8595019578933716, -0.6977037191390991, -0.09686155617237091, -0.300784707069397, -0.16153334081172943, 0.01761695183813572, -0.15877027809619904, 0.6495695114135742, -0.3546816110610962, -0.4305172860622406, 0.5339717268943787, 0.22490639984607697, 0.21405361592769623, -0.5516899228096008, -0.10414750874042511, -0.07050812244415283, -0.22608721256256104, 0.6647863984107971, 0.4120650589466095, -0.7717042565345764, -0.48185813426971436, -0.08840347081422806, 0.2381112277507782, 0.124996617436409, 0.660815417766571, -1.1308817863464355, 0.46628960967063904, 0.31007519364356995, 0.6970202326774597, 0.7444131374359131, 0.1587745100259781, 0.7589234709739685, -0.8832398056983948, -0.12921471893787384, 0.30725717544555664, 0.4517446458339691, 0.42989158630371094, -0.22372891008853912, 0.38201814889907837, 0.15158317983150482, -0.6357507705688477, -0.6914819478988647, 0.40869200229644775, -0.7374182343482971, -0.3762045204639435, 1.0530387163162231, -0.09061771631240845, -0.29395592212677, 0.16580486297607422, -0.19359377026557922, 0.26954033970832825, -0.20319411158561707, 1.1369342803955078, 0.6505634784698486, -0.05714915320277214, -0.5721507668495178, -0.13194188475608826, 0.692861020565033, 0.38127097487449646, -0.6730294227600098, 0.7138371467590332, 0.8180961012840271, 0.4099135994911194, 0.05963883548974991, 0.480158269405365, 0.06612798571586609, 0.06516816467046738, -0.007003611885011196, 0.22966837882995605, -0.5174108147621155, -0.4639512598514557, -0.1692478507757187, 0.41684234142303467, 0.13703830540180206, -0.06402212381362915 ]
http://arxiv.org/abs/2406.11353v1
http://arxiv.org/pdf/2406.11353v1
$\texttt{MoE-RBench}$: Towards Building Reliable Language Models with Sparse Mixture-of-Experts
2024-06-17T09:17:05
2024-06-17T09:17:05
Guanjie Chen, Xinyu Zhao, Tianlong Chen, Yu Cheng
cs.LG
cs.LG, cs.CL
Mixture-of-Experts (MoE) has gained increasing popularity as a promising framework for scaling up large language models (LLMs). However, the reliability assessment of MoE lags behind its surging applications. Moreover, when transferred to new domains such as in fine-tuning MoE models sometimes underperform their dense counterparts. Motivated by the research gap and counter-intuitive phenomenon, we propose $\texttt{MoE-RBench}$, the first comprehensive assessment of SMoE reliability from three aspects: $\textit{(i)}$ safety and hallucination, $\textit{(ii)}$ resilience to adversarial attacks, and $\textit{(iii)}$ out-of-distribution robustness. Extensive models and datasets are tested to compare the MoE to dense networks from these reliability dimensions. Our empirical observations suggest that with appropriate hyperparameters, training recipes, and inference techniques, we can build the MoE model more reliably than the dense LLM. In particular, we find that the robustness of SMoE is sensitive to the basic training settings. We hope that this study can provide deeper insights into how to adapt the pre-trained MoE model to other tasks with higher-generation security, quality, and stability. Codes are available at https://github.com/UNITES-Lab/MoE-RBench
[ -0.6176921725273132, -0.8514074087142944, 0.3047846853733063, 0.2501883804798126, -0.09285759180784225, -0.21100568771362305, -0.3954579532146454, -0.36279886960983276, 0.24483761191368103, 0.30478882789611816, -0.3168923258781433, -0.09063217043876648, -0.8971933126449585, 0.13145151734352112, -0.3735280930995941, 0.8971802592277527, 0.3032343089580536, -0.07910653203725815, -0.2751866281032562, -0.24259111285209656, -0.5342479944229126, -0.16918927431106567, -0.31218454241752625, -0.15475361049175262, 0.39956235885620117, 0.47745364904403687, 0.8143135905265808, 0.3720692992210388, 0.62668377161026, 0.30945003032684326, 0.11487651616334915, 0.004262129310518503, -0.6638721227645874, 0.3118129372596741, -0.11830451339483261, -0.2677932381629944, -0.7553844451904297, -0.2017415314912796, 0.6505107879638672, 0.6346192955970764, -0.5531609058380127, -0.18865761160850525, 0.27635642886161804, 0.602871298789978, -0.6250798106193542, -0.19796311855316162, -1.2113651037216187, -0.373781681060791, -0.26542651653289795, -0.08174800872802734, -0.6137112975120544, 0.24981185793876648, 0.14033572375774384, -0.26759353280067444, 0.05984525755047798, 0.1625373810529709, 0.8036391735076904, 0.26395803689956665, -0.3726680874824524, -0.00470627099275589, -0.47369906306266785, 1.1949923038482666, -0.7261064052581787, 0.529136598110199, 0.6693885922431946, 0.3430052101612091, -0.20999689400196075, -0.5131781101226807, -0.21513450145721436, -0.6502329707145691, 0.2143658846616745, 0.14966920018196106, 0.054973240941762924, 0.004475058056414127, -0.13901406526565552, 0.22703470289707184, -0.5151025056838989, 0.08355430513620377, -0.32385024428367615, -0.18926574289798737, 0.5990301370620728, -0.027105282992124557, 0.3398648202419281, -0.05239264667034149, -0.5790451765060425, 0.09125852584838867, -0.5487108826637268, -0.4595637321472168, 0.3055180013179779, 0.08286619186401367, 0.018473271280527115, 0.3988494277000427, -0.0783192366361618, 0.5358831286430359, -0.0219462551176548, -0.16405485570430756, 0.10267166793346405, -0.1330409198999405, -0.09307479858398438, -0.2605860233306885, 0.9458006024360657, 0.28986722230911255, 0.2865014374256134, -0.4101364314556122, -0.25161823630332947, -0.2237875908613205, 0.5201104879379272, -0.8657780289649963, -0.4508413076400757, 0.35054272413253784, -0.25552883744239807, -0.3488115966320038, 0.18358789384365082, -0.5694026350975037, -0.08959925174713135, -0.0873899981379509, 0.46695268154144287, -0.5825560688972473, -0.4906432032585144, -0.15171314775943756, 0.1132175549864769, -0.32765504717826843, 0.15507788956165314, -0.8707771301269531, 0.16587188839912415, 0.5949383974075317, 0.7772501111030579, -0.11763037741184235, -0.7314531207084656, -0.3860953450202942, 0.19004778563976288, -0.15608488023281097, 0.6916143298149109, -0.29644256830215454, -0.34237655997276306, -0.42074182629585266, -0.15989379584789276, -0.028581097722053528, -0.5878297686576843, 0.3952835500240326, -0.35698360204696655, -0.0029745432548224926, -0.1966799795627594, -0.48763060569763184, -0.06946255266666412, 0.5010769963264465, -0.4000895917415619, 1.0648354291915894, 0.23572708666324615, -0.900160014629364, 0.3935333490371704, -0.3104342222213745, -0.39820826053619385, 0.06277162581682205, -0.18312744796276093, -0.42701950669288635, 0.04612014442682266, 0.18289218842983246, 0.8437655568122864, -0.3323152959346771, 0.4989275634288788, -0.937538743019104, -0.20929646492004395, 0.4075061082839966, -0.759884238243103, 0.9786105155944824, -0.036825355142354965, -0.2814745008945465, -0.17131361365318298, -0.9487911462783813, 0.15632236003875732, -0.06702924519777298, -0.06734936684370041, -0.2897542119026184, 0.03748052567243576, -0.13248009979724884, 0.02437238022685051, 0.2599243223667145, -0.43107786774635315, -0.16217273473739624, -0.15448467433452606, 0.49662867188453674, 1.0130641460418701, -0.055937498807907104, 0.49978089332580566, -0.18163873255252838, 0.33051908016204834, -0.015000994317233562, 0.27154308557510376, -0.05057215690612793, -0.5908961296081543, -0.4535572826862335, -0.6226407289505005, 0.5100725293159485, 0.6117764115333557, -0.7541280388832092, 0.7925296425819397, -0.4824312925338745, -0.5588977932929993, -0.2702583074569702, 0.3866393268108368, 0.2971007525920868, 0.4389127194881439, 0.22854012250900269, -0.47964802384376526, -0.2809329628944397, -0.8295304179191589, 0.10452041029930115, -0.2434927225112915, 0.11040931195020676, 0.22975216805934906, 0.5578016042709351, -0.8717465400695801, 0.8254384994506836, -0.04363848268985748, 0.1055002361536026, -0.17049840092658997, 0.12735523283481598, -0.17855362594127655, 0.5027958750724792, 0.7572627067565918, -0.4470711946487427, -0.5813300013542175, 0.37583523988723755, -0.7745108604431152, 0.029363926500082016, 0.34947943687438965, -0.38153401017189026, -0.02611733041703701, 0.07217463850975037, -0.4425312280654907, 0.06369234621524811, 0.8573322296142578, 0.041023507714271545, 0.607070803642273, -0.16163980960845947, 0.1621851772069931, -1.0133532285690308, 0.03343160077929497, -0.13795262575149536, -0.17747406661510468, -0.47503551840782166, 0.28931018710136414, -0.04934663698077202, -0.06912030279636383, -0.1354549080133438, 0.5970996618270874, -0.36307913064956665, -0.03746291249990463, -0.2689055800437927, 0.07590111345052719, -0.24557164311408997, 0.4426168203353882, -0.33539295196533203, 0.7565469145774841, 0.7397282719612122, -0.6084691882133484, 0.4033433496952057, -0.17773084342479706, -0.3860776722431183, 0.8030288219451904, -0.8380287289619446, 0.21201583743095398, 0.23767660558223724, -0.2024131864309311, -0.7111567854881287, -0.5039876103401184, 0.09902288019657135, -0.6192214488983154, 0.5509548783302307, -0.028628109022974968, -0.4459635317325592, -0.1534336805343628, -0.15356358885765076, 0.3531762361526489, 0.5663049221038818, -0.24286092817783356, 0.7229908108711243, 0.5224512815475464, -0.4152148365974426, -0.7908016443252563, -0.8025003671646118, -0.07170653343200684, 0.04511445388197899, -1.1624119281768799, -0.23247000575065613, -0.2295980453491211, -0.33941537141799927, 0.03553301468491554, -0.13828802108764648, -0.5547277331352234, 0.4642537832260132, 0.21272321045398712, 0.07542750984430313, -0.344856321811676, -0.2789604663848877, 0.1653251200914383, -0.3023720383644104, -0.096922367811203, 0.09827268123626709, 0.2718646228313446, -0.32086992263793945, -0.4090055525302887, -0.21870268881320953, 0.23515667021274567, 0.6719100475311279, 0.07193806767463684, 0.9947006702423096, 0.4580588638782501, -0.1510321944952011, -0.3893103301525116, -0.6089746356010437, -0.3918139338493347, -0.47920072078704834, 0.5978604555130005, -0.2154363989830017, -0.7462599873542786, 0.5624431371688843, 0.1998595893383026, 0.19305600225925446, 0.4541180729866028, 0.6082276701927185, -0.3257286846637726, 0.7466297149658203, 0.6085211038589478, -0.10659782588481903, 0.34890079498291016, 0.08711829036474228, 0.13020282983779907, -0.48755112290382385, 0.15562599897384644, -0.3132813274860382, -0.11523337662220001, -0.2614192068576813, -0.21063260734081268, 0.48448479175567627, 0.19278153777122498, -0.023246046155691147, 0.43576499819755554, -0.19276928901672363, 0.4029301702976227, 0.31679627299308777, 0.12233532965183258, -0.07842515408992767, 0.21912021934986115, -0.11038538813591003, 0.04462753236293793, -0.8935877084732056, -0.5285069942474365, 1.1580581665039062, 0.5314480066299438, 0.6934036612510681, 0.004743575118482113, 0.6786710023880005, 0.09966301918029785, 0.678848147392273, -0.489246666431427, 0.6516605615615845, -0.13936500251293182, -0.9285349249839783, -0.5012000203132629, -0.8098040819168091, -0.8034334778785706, 0.430308073759079, -0.06713200360536575, -0.5640801191329956, 0.11541716754436493, 0.41870298981666565, -0.23680560290813446, 0.17057214677333832, -0.7644999027252197, 0.68185955286026, -0.39520207047462463, -0.4118339419364929, -0.17152978479862213, -0.7093420028686523, 0.6582834124565125, -0.12583212554454803, 0.27134963870048523, -0.2538565397262573, 0.2586778998374939, 0.4795290529727936, -0.5179028511047363, 0.6427431702613831, 0.14530102908611298, -0.13091839849948883, 0.4226430654525757, 0.2171822488307953, 0.47048094868659973, 0.12430769205093384, -0.3245435059070587, 0.40695834159851074, -0.25772878527641296, -0.6667476296424866, -0.744732141494751, 0.7806404829025269, -0.7077603936195374, -0.0902152881026268, -0.14432115852832794, -0.5208404064178467, -0.44859573245048523, 0.2722890079021454, 0.40989378094673157, 0.5278051495552063, -0.11696233600378036, 0.6964971423149109, 0.7499083876609802, 0.15638099610805511, -0.029581915587186813, 0.2620178759098053, -0.037824977189302444, -0.8071573376655579, 1.1622123718261719, 0.3526940941810608, 0.4427177906036377, 0.17712591588497162, 0.06880893558263779, 0.16118957102298737, -0.4428013265132904, -0.5349940061569214, 0.00044683541636914015, -0.5078868269920349, -0.1815754622220993, -0.4802204966545105, -0.26485133171081543, -0.1953762173652649, -0.3091268539428711, -0.7183886170387268, -0.17856211960315704, -0.12864382565021515, -0.16124965250492096, 0.08818603307008743, 0.554076611995697, -0.0791100487112999, 0.5256808996200562, -1.000980019569397, 0.28891438245773315, 0.606555163860321, 0.35918670892715454, 0.16151659190654755, -0.5444032549858093, -0.4342188835144043, 0.18274028599262238, -0.28387874364852905, -0.684972882270813, 0.019652100279927254, 0.11433695256710052, 0.7353977560997009, 0.6491649150848389, -0.09795524924993515, 0.47816571593284607, -0.47247186303138733, 0.6716453433036804, 0.30313432216644287, -0.6666259765625, 0.24172738194465637, -0.5649382472038269, -0.3071524500846863, 0.725567102432251, 0.1497078239917755, 0.17354336380958557, -0.48341214656829834, -0.9185287952423096, -0.9113473892211914, 0.3789982795715332, 0.480024129152298, 0.027775868773460388, -0.10668513178825378, 0.16182895004749298, 0.35559579730033875, 0.3680090010166168, -0.7618860006332397, -0.23326139152050018, -0.10380290448665619, -0.2473273128271103, -0.07906851172447205, -0.7074902057647705, -0.08035250753164291, -0.0007091093575581908, 0.9990866780281067, 0.18215765058994293, 0.20868438482284546, -0.23353329300880432, -0.2868213653564453, -0.12515538930892944, 0.3239603340625763, 0.6667490005493164, 0.8796160221099854, -0.4404562711715698, 0.18076850473880768, 0.23890705406665802, -0.6140262484550476, 0.1315539926290512, -0.09133875370025635, -0.2798038125038147, -0.04939095303416252, 0.5869613885879517, 0.8118122816085815, 0.4354875683784485, -0.5724362730979919, 0.5300601720809937, 0.24960607290267944, -0.16779425740242004, 0.07554864883422852, 0.1882247030735016, -0.23509420454502106, -0.16559678316116333, 0.16079100966453552, 0.3731015622615814, -0.04046258330345154, -0.5612201690673828, 0.46046990156173706, 0.4242345094680786, -0.3077014982700348, -0.4241827726364136, 0.2775196433067322, 0.5528118014335632, 0.0947219505906105, 0.5202935934066772, -0.31252753734588623, -0.4605514705181122, 0.4657900333404541, 0.2028965801000595, 0.8178043961524963, -0.3468741774559021, -0.0028168067801743746, 0.06994163244962692, 0.8229908347129822, -0.40168479084968567, 0.06502703577280045, 0.022293448448181152, -0.6862501502037048, -0.39069467782974243, -0.3403063118457794, -0.3902001678943634, -0.2428532987833023, -0.7258045077323914, 0.025294888764619827, -0.4540211856365204, -0.37499648332595825, -0.7186949849128723, -0.2352042943239212, -0.34311264753341675, 0.26495450735092163, -0.2612304091453552, 0.6518031358718872, -0.8327633738517761, 0.6123616099357605, 0.5839608907699585, 0.06063568592071533, -0.5380638837814331, 0.11148568987846375, -0.30563047528266907, -0.9287920594215393, 0.4035845994949341, 0.041100550442934036, -0.22279146313667297, -0.18308696150779724, -0.6688582897186279, -0.682930588722229, 1.0543824434280396, 0.6084312200546265, -0.8478633761405945, 0.29793351888656616, -0.3207811415195465, 0.2241867184638977, 0.07693055272102356, 0.3975219130516052, 0.32212576270103455, 0.32017573714256287, -0.025042884051799774, -0.9819655418395996, -0.3649492859840393, -0.12878355383872986, -0.09454166144132614, 0.3040524423122406, -0.7310428023338318, 0.787725031375885, -0.19831040501594543, -0.014391113072633743, 0.1930667757987976, 1.0684797763824463, 0.5422627925872803, 0.37821677327156067, 0.44315141439437866, 0.9134020805358887, 0.7894462943077087, -0.02054644748568535, 1.1267858743667603, -0.4192948639392853, 0.544211208820343, 1.1133568286895752, -0.2125653475522995, 1.056675910949707, 0.30461758375167847, -0.33095815777778625, 0.4682753086090088, 0.12468388676643372, 0.24524715542793274, 0.552987813949585, -0.2219211608171463, -0.006198836024850607, -0.3764549493789673, 0.505411684513092, -0.4849384129047394, -0.12338657677173615, 0.3061535954475403, -0.15697453916072845, -0.009409974329173565, 0.029242848977446556, -0.24450525641441345, -0.3046964108943939, -0.23415225744247437, 0.3844190537929535, 0.4072246849536896, -0.2830169200897217, 0.34463146328926086, -0.06531019508838654, 0.6988216638565063, -0.7480942010879517, 0.38398823142051697, -0.1805904358625412, 0.08403604477643967, -0.04544878005981445, -0.7328774333000183, -0.0012405507732182741, -0.20972010493278503, -0.4546460807323456, 0.15235231816768646, 0.8284066915512085, -0.3541123867034912, -0.5670807361602783, 0.3320891559123993, 0.333373486995697, 0.21946531534194946, 0.0479847751557827, -0.7795701622962952, 0.20203351974487305, -0.14659595489501953, -0.32164108753204346, 0.4949527382850647, 0.8076443672180176, 0.299115389585495, 0.9394380450248718, 0.3493640720844269, 0.08058766275644302, 0.5646688342094421, -0.15547844767570496, 0.4011702835559845, -0.26090750098228455, -0.34163665771484375, -0.8077272772789001, 0.8608381152153015, 0.02937592752277851, -0.32342439889907837, 0.9167959094047546, 0.03965826332569122, 0.7321040034294128, -0.058597467839717865, 0.8317126631736755, -0.031125057488679886, 0.3476760685443878, -0.48745328187942505, 0.7453289031982422, -0.6386054158210754, 0.1215883269906044, -0.30512991547584534, -0.9851377606391907, -0.02270468696951866, 0.7192237973213196, -0.029651444405317307, 0.4291757643222809, 0.616132915019989, 0.740854024887085, -0.45704445242881775, -0.20706263184547424, 0.6151053309440613, 0.4805891811847687, -0.040865473449230194, 0.2170214205980301, 0.7677960395812988, -0.5043767690658569, 0.4480426609516144, -0.5960193872451782, -0.250407338142395, -0.5357877016067505, -0.9001111388206482, -0.956885576248169, -0.33878985047340393, -0.502600908279419, -0.3470730483531952, -0.03140958398580551, 0.6758899688720703, 0.9008708596229553, -0.8598658442497253, -0.03551800921559334, -0.14066289365291595, 0.07946686446666718, -0.24078242480754852, -0.22254781424999237, -0.003755671437829733, -0.32532361149787903, -0.39305269718170166, 0.3252606689929962, 0.5279965996742249, 0.0305255725979805, -0.3503898084163666, -0.3149875998497009, 0.3128565549850464, 0.0434134304523468, 0.5784909129142761, 0.16016067564487457, -0.7390972375869751, -0.03917868435382843, -0.13233797252178192, -0.16915829479694366, -0.22892123460769653, 0.4710005223751068, -0.0053487918339669704, 0.43870294094085693, 0.48666977882385254, 0.9658030271530151, -0.34130385518074036, 0.005458362400531769, 0.660196840763092, -0.6718055009841919, 0.05471087247133255, 0.1953718215227127, 0.7212213277816772, 0.20544162392616272, -0.17579862475395203, 0.3513924181461334, 0.35488343238830566, -0.9451717138290405, -1.134077787399292, 0.14503227174282074, -1.1209605932235718, -0.07449996471405029, 1.2238662242889404, -0.2508425712585449, -0.17236042022705078, 0.017959030345082283, -0.17405448853969574, -0.23077845573425293, -0.4141005575656891, 0.6866616606712341, 1.0522862672805786, 0.18330270051956177, -0.17995814979076385, -0.5804728865623474, -0.17908400297164917, 0.7282580733299255, -0.5742455124855042, -0.09666986018419266, 0.20545388758182526, 0.5125421285629272, 0.23904716968536377, 0.6034994125366211, 0.10681527853012085, 0.3039996922016144, 0.16644656658172607, 0.07168818265199661, -0.10958435386419296, -0.8355162739753723, -0.03261575475335121, 0.2726748585700989, 0.29694435000419617, 0.08754555881023407 ]
http://arxiv.org/abs/2406.15484v1
http://arxiv.org/pdf/2406.15484v1
JobFair: A Framework for Benchmarking Gender Hiring Bias in Large Language Models
2024-06-17T09:15:57
2024-06-17T09:15:57
Ze Wang, Zekun Wu, Xin Guan, Michael Thaler, Adriano Koshiyama, Skylar Lu, Sachin Beepath, Ediz Ertekin Jr., Maria Perez-Ortiz
cs.CL
cs.CL, cs.AI, cs.CY
This paper presents a novel framework for benchmarking hierarchical gender hiring bias in Large Language Models (LLMs) for resume scoring, revealing significant issues of reverse bias and overdebiasing. Our contributions are fourfold: First, we introduce a framework using a real, anonymized resume dataset from the Healthcare, Finance, and Construction industries, meticulously used to avoid confounding factors. It evaluates gender hiring biases across hierarchical levels, including Level bias, Spread bias, Taste-based bias, and Statistical bias. This framework can be generalized to other social traits and tasks easily. Second, we propose novel statistical and computational hiring bias metrics based on a counterfactual approach, including Rank After Scoring (RAS), Rank-based Impact Ratio, Permutation Test-Based Metrics, and Fixed Effects Model-based Metrics. These metrics, rooted in labor economics, NLP, and law, enable holistic evaluation of hiring biases. Third, we analyze hiring biases in ten state-of-the-art LLMs. Six out of ten LLMs show significant biases against males in healthcare and finance. An industry-effect regression reveals that the healthcare industry is the most biased against males. GPT-4o and GPT-3.5 are the most biased models, showing significant bias in all three industries. Conversely, Gemini-1.5-Pro, Llama3-8b-Instruct, and Llama3-70b-Instruct are the least biased. The hiring bias of all LLMs, except for Llama3-8b-Instruct and Claude-3-Sonnet, remains consistent regardless of random expansion or reduction of resume content. Finally, we offer a user-friendly demo to facilitate adoption and practical application of the framework.
[ 0.032567862421274185, -0.48136305809020996, 0.5208907723426819, 0.2748692035675049, 0.4979779124259949, 0.11480831354856491, 0.2744685113430023, -0.28203266859054565, 0.06614384055137634, 0.45774102210998535, -0.7438774704933167, -0.49800360202789307, -0.5526090860366821, -0.06720571219921112, -0.5402636528015137, 0.8554878830909729, 0.23659513890743256, 0.3391888737678528, -0.5415900349617004, 0.025122342631220818, -0.60356605052948, -0.47122734785079956, -0.6194127798080444, -0.3427845239639282, 0.48527345061302185, 0.38612568378448486, 0.6834970712661743, 0.5288857221603394, 0.3598203957080841, 0.19161155819892883, -0.09666083753108978, -0.13347360491752625, -0.6364794969558716, 0.2909434735774994, -0.3895301818847656, -0.32747945189476013, -0.5601691007614136, 0.3136153519153595, 0.6737756729125977, 0.896470308303833, -0.3576136529445648, 0.5752446055412292, -0.2643144130706787, 0.7812941670417786, -0.8520973324775696, 0.11273440718650818, -0.5621418356895447, -0.07877884805202484, -0.24500815570354462, -0.06366755813360214, -0.1036444902420044, -0.4597243368625641, -0.006743713282048702, -0.07014439254999161, 0.4167240560054779, 0.34044507145881653, 0.7220122814178467, -0.1273852437734604, -0.7344483137130737, -0.0436241589486599, -0.5440993905067444, 0.9435834884643555, -0.5564436912536621, 0.7914702892303467, 0.4790292978286743, 0.438918799161911, -0.3404473662376404, -0.32923397421836853, -0.3130238652229309, -0.12595176696777344, 0.03880517929792404, 0.010249147191643715, -0.07342217117547989, -0.015760518610477448, 0.2029937505722046, 0.44966521859169006, -0.5465692281723022, 0.27542251348495483, -0.3074542284011841, -0.03077980875968933, 0.5676043629646301, 0.164546400308609, 0.1271996945142746, 0.2586486041545868, -0.18861941993236542, -0.26853254437446594, -0.7459363341331482, 0.046455271542072296, 0.9101474285125732, 0.12422169744968414, -0.013781953603029251, 0.47729742527008057, -0.26973164081573486, 0.5433361530303955, 0.30727308988571167, -0.3054853081703186, 0.4137546718120575, -0.029166871681809425, -0.02151305601000786, 0.10752604156732559, 0.6489508748054504, 0.45721420645713806, -0.012692025862634182, -0.03540055453777313, -0.31616342067718506, -0.1456931084394455, 0.6608843207359314, -0.7164518237113953, 0.4064176380634308, 0.15566249191761017, -0.6211739778518677, -0.30527082085609436, 0.08762911707162857, -1.0455501079559326, -0.6793447136878967, 0.10981292277574539, 0.1405780017375946, 0.20951294898986816, -0.03339460492134094, -0.1262623518705368, -0.22901006042957306, 0.38548824191093445, -0.02178916148841381, -0.8822837471961975, 0.42622843384742737, 0.9509231448173523, 0.640950083732605, -0.3271115720272064, -0.32772505283355713, -0.8280418515205383, 0.024329233914613724, -0.6299226880073547, 0.5280956625938416, -0.7110234498977661, -0.2370252013206482, 0.27166634798049927, 0.023586304858326912, -0.2049391269683838, -0.8604540228843689, 0.6033174395561218, -0.3392670154571533, 0.18495504558086395, -0.3942401707172394, -0.24557700753211975, -0.13809609413146973, 0.36461448669433594, -0.7513312697410583, 1.1913145780563354, 0.46310073137283325, -0.7058196067810059, 0.7485690712928772, -0.5729494690895081, -0.3312954902648926, -0.40428251028060913, -0.7689311504364014, -0.4793701171875, -0.11714457720518112, -0.08797500282526016, 0.3519679009914398, -0.7652952075004578, 0.5255738496780396, -0.27246251702308655, -0.5254452228546143, 0.043137550354003906, -0.2274937480688095, 0.7546963691711426, -0.114824078977108, -0.3005456030368805, 0.12363643944263458, -0.49549272656440735, -0.5036588907241821, -0.13365554809570312, -0.20358732342720032, -0.10998300462961197, -0.12753401696681976, -0.0243512075394392, 0.5249456167221069, 0.09187515079975128, -0.7314925789833069, -0.2148807942867279, -0.26219335198402405, -0.03109710104763508, 0.7093299627304077, -0.1537335216999054, 0.38775938749313354, -0.5831908583641052, 0.8861046433448792, 0.028891438618302345, 0.10207203775644302, 0.23669752478599548, -0.3148016929626465, -0.1787092685699463, -0.6506171226501465, 0.08884527534246445, 0.6286889910697937, -0.2728164494037628, 0.46173200011253357, -0.054045673459768295, -0.5900706648826599, -0.5928769111633301, 0.17388993501663208, 0.46487537026405334, 0.7416169047355652, 0.23828661441802979, -0.35304194688796997, -0.5920933485031128, -1.3544479608535767, -0.8171740174293518, -0.3471219539642334, 0.03176908195018768, 0.1649314910173416, 0.6808626055717468, -0.49552497267723083, 0.9774928092956543, -0.35313379764556885, -0.630916953086853, -0.0871395543217659, 0.1480993777513504, 0.7365517616271973, 0.7063215374946594, 0.5248509645462036, -0.6708162426948547, 0.1641654372215271, -0.32145562767982483, -0.5130472779273987, -0.23780032992362976, -0.07126646488904953, -0.4138248562812805, 0.06807687133550644, 0.33073052763938904, -0.5256595015525818, 0.4243127107620239, 0.7026746273040771, -0.6786346435546875, 0.6729431748390198, 0.04621405526995659, 0.38055506348609924, -0.7679669260978699, 0.4377032220363617, 0.4476962685585022, -0.26177191734313965, -0.4652980864048004, 0.12198393791913986, -0.3345101773738861, 0.12913785874843597, -0.2049717754125595, 0.7908816337585449, -0.21283170580863953, -0.46191203594207764, -0.10003780573606491, -0.3249623775482178, 0.11478531360626221, 0.2977755665779114, -0.22717852890491486, 0.5846381187438965, 0.17752140760421753, -0.1857624053955078, 0.17671656608581543, 0.37810376286506653, -0.38171014189720154, 0.9651473760604858, -0.5292391777038574, 0.09146793186664581, -0.31292757391929626, 0.8139379024505615, -1.1267826557159424, 0.03983084484934807, -0.09029578417539597, -0.1520724594593048, 0.029360223561525345, -0.2659268379211426, -0.4269253611564636, -0.4106576144695282, -0.49149566888809204, 0.5696669220924377, 0.43871641159057617, -0.325582891702652, 0.7365685105323792, 0.5291964411735535, -0.24719028174877167, -1.0182918310165405, -0.8274235725402832, 0.03176606819033623, -0.06988595426082611, -0.15757641196250916, 0.603351354598999, 0.09286728501319885, -0.42788389325141907, -0.4691610038280487, -0.4234375059604645, -0.48568305373191833, 0.04835643246769905, 0.5183273553848267, 0.4859672784805298, 0.13110600411891937, -0.22797277569770813, 0.11368843913078308, -0.09166651219129562, 0.3070133328437805, -0.07526333630084991, 0.4027996361255646, -0.06760266423225403, -0.5376067161560059, -0.11550349742174149, 0.29672959446907043, 0.6684628129005432, 0.2807387113571167, 0.7013214826583862, 0.9675796031951904, -0.5255224108695984, 0.2299010455608368, -1.0939033031463623, -0.20074450969696045, -0.40974321961402893, 0.44465863704681396, 0.009567752480506897, -0.9744930863380432, 0.5715758800506592, -0.007598599418997765, 0.33535444736480713, 0.5581362247467041, 0.7182667255401611, 0.10723190009593964, 0.9881766438484192, 0.7268160581588745, -0.33883461356163025, 0.16643017530441284, -0.1842460185289383, 0.08983584493398666, -0.45981428027153015, -0.349824994802475, -0.7541660666465759, -0.32711663842201233, -0.7836475968360901, -0.3774569034576416, 0.12155041098594666, -0.21460673213005066, -0.4027896821498871, -0.07530529797077179, -0.0794069692492485, 0.20666320621967316, 0.6394432187080383, -0.09232810884714127, 0.11374002695083618, -0.27263811230659485, -0.36896035075187683, -0.01593426801264286, -0.5597761273384094, -0.433458536863327, 0.8224540948867798, 0.6043298840522766, 0.554294228553772, -0.013258947059512138, 0.49641066789627075, 0.6328084468841553, 0.3393610715866089, -0.3639943301677704, 0.38019126653671265, -0.4294862151145935, -1.0488437414169312, -0.24250006675720215, -0.4627216160297394, -0.5821918249130249, 0.304769366979599, -0.4543484151363373, -0.6600558757781982, 0.6878647208213806, 0.20062096416950226, -0.04361758381128311, 0.22918814420700073, -0.22081254422664642, 0.9732712507247925, -0.001583111472427845, -0.6297724843025208, -0.17878125607967377, -0.3591356873512268, 0.22060911357402802, -0.343060702085495, 0.6114192008972168, -0.3802087604999542, -0.0657765120267868, 0.9321337342262268, -0.468232125043869, 0.8967603445053101, -0.40582898259162903, -0.22003290057182312, -0.31229519844055176, 0.26948750019073486, 0.25109395384788513, -0.04228077083826065, -0.7366828322410583, 0.6726516485214233, 0.27979573607444763, -0.4129774272441864, -0.25806161761283875, 0.6718187928199768, -0.6198855638504028, -0.4436758756637573, -0.5401966571807861, -0.5731543302536011, -0.43416938185691833, 0.3558558225631714, -0.04737698286771774, 0.3781719505786896, -0.40873679518699646, 0.19626466929912567, 0.21440525352954865, -0.45968955755233765, -0.22353526949882507, 0.44457921385765076, -0.34523558616638184, -0.19527384638786316, 0.5429377555847168, 0.120214082300663, -0.20981819927692413, 0.3308795094490051, 0.12143488228321075, -0.2888988256454468, -0.022936660796403885, -0.3289964497089386, 0.2545729875564575, -0.4877726435661316, -0.006174643523991108, -0.5854886174201965, -0.07801886647939682, -0.582179069519043, -0.21316824853420258, -0.5028181076049805, 0.004320039879530668, 0.18473531305789948, -0.11609643697738647, 0.07271517813205719, 0.5837689638137817, 0.17063650488853455, 0.20133960247039795, -0.08544623106718063, 0.5627240538597107, 0.39830389618873596, 0.7166279554367065, 0.058258458971977234, -0.618824303150177, -0.24551735818386078, -0.014836919493973255, -0.09010719507932663, -0.5191929340362549, 0.307316392660141, 0.11458291113376617, 0.9097130298614502, 0.35989370942115784, -0.1187753900885582, 0.4959804117679596, -0.4262247681617737, 0.6950556635856628, 0.17020994424819946, -0.8270655870437622, 0.16950039565563202, -0.5662776231765747, 0.18454532325267792, 1.0965893268585205, 0.5729576945304871, -0.6500101685523987, -0.3561503291130066, -0.4183880686759949, -0.9575594663619995, 0.7694830894470215, 0.1638253927230835, -0.006831203121691942, -0.2931743562221527, 0.30657079815864563, 0.35595017671585083, 0.6317920088768005, -0.35406991839408875, -0.32362863421440125, 0.009742220863699913, -0.3868681490421295, 0.0514303520321846, -0.5291987061500549, -0.1712656021118164, -0.2737426459789276, 0.7063452005386353, 0.021457403898239136, 0.31699585914611816, 0.039609190076589584, -0.06169836223125458, -0.13244466483592987, 0.25663137435913086, 0.5256836414337158, 0.922814130783081, -0.6371049284934998, 0.017483176663517952, 0.2875795066356659, -0.611412525177002, 0.16529224812984467, 0.10772276669740677, 0.1343473196029663, 0.14445436000823975, 0.30980199575424194, 0.4060666561126709, 0.17610369622707367, -0.9026324152946472, 0.9419870376586914, -0.001965050818398595, -0.46058589220046997, -0.5183559656143188, -0.06242528557777405, -0.036270879209041595, 0.4406157433986664, 0.7492576837539673, -0.22842533886432648, 0.37066400051116943, -0.6388872861862183, 0.01654375158250332, 0.5671453475952148, -0.8456783890724182, 0.05688057094812393, 0.7464970350265503, 0.04886579141020775, -0.1663852483034134, 0.3862038552761078, 0.1696358472108841, -0.18523317575454712, 0.7117841243743896, 0.5950660705566406, 0.9816223978996277, -0.20128989219665527, 0.0456109493970871, 0.36237025260925293, 0.16722138226032257, -0.5433232188224792, 0.2750781178474426, 0.2958976626396179, -0.7006270885467529, -0.26730504631996155, -0.499826043844223, -0.6568050980567932, 0.029701314866542816, -0.7363885641098022, 0.07349015027284622, -0.6577431559562683, -0.3566487431526184, -0.1265142261981964, -0.23628732562065125, -0.9913904666900635, 0.39999884366989136, 0.03650752454996109, 0.8731646537780762, -1.0071338415145874, 0.3489612638950348, 0.9071568250656128, -0.08662790805101395, -0.21233433485031128, 0.07635097205638885, 0.3671725392341614, -0.7971334457397461, 0.945527970790863, 0.36098769307136536, -0.40082430839538574, -0.314914345741272, -0.15256689488887787, -0.5926173329353333, 1.1297855377197266, 0.6055757999420166, -0.5794298052787781, -0.22022804617881775, 0.12440424412488937, 0.3563482463359833, -0.6639643311500549, 0.8443812131881714, 0.7342047691345215, 0.35790517926216125, -0.21614785492420197, -1.1116725206375122, 0.11275052279233932, -0.2432636320590973, 0.14571772515773773, -0.30809256434440613, -0.5172420144081116, 0.7175533771514893, 0.10335977375507355, 0.19205981492996216, -0.16953012347221375, 0.2646450996398926, 0.5949887633323669, 0.36738458275794983, 0.9596286416053772, 0.16989552974700928, 0.682709813117981, 0.09325537085533142, 0.8084210753440857, -0.3567560017108917, 0.1532638967037201, 0.8713109493255615, -0.6704260110855103, 0.641105592250824, 0.5365438461303711, -0.20289097726345062, 0.9793456196784973, 0.29434219002723694, -0.0638444796204567, 0.13127341866493225, 0.3289414644241333, 0.13808414340019226, -0.25319787859916687, -0.5205323100090027, -0.40656420588493347, 0.6006110906600952, 0.052414875477552414, -0.6145766377449036, -0.15981122851371765, -0.21456138789653778, 0.10504699498414993, 0.028273489326238632, -0.15490004420280457, 0.4553495943546295, 0.15100929141044617, -0.49329251050949097, 0.2900815010070801, 0.19814562797546387, 0.8164963722229004, -0.5254729390144348, -0.3105522394180298, -0.3420822024345398, 0.026371382176876068, -0.44279909133911133, -0.4756644070148468, -0.011422831565141678, -0.056900784373283386, -0.5535770654678345, -0.3244583308696747, 0.7206234335899353, -0.36472535133361816, -0.582324206829071, 0.441811740398407, 0.64732426404953, -0.0340537428855896, 0.08658068627119064, -0.7399332523345947, 0.05703001469373703, -0.3402940332889557, -0.1735270619392395, 0.5141936540603638, -0.045701801776885986, -0.19850705564022064, 0.7269500494003296, 0.6254072189331055, 0.22371186316013336, -0.39619341492652893, 0.42301467061042786, 0.41780737042427063, -0.7763830423355103, -0.9507628679275513, -0.8658245801925659, 0.14885421097278595, -0.08587947487831116, -0.29600268602371216, 0.5215065479278564, 0.7271013855934143, 0.6185123920440674, 0.03620561212301254, 0.464071661233902, 0.25390201807022095, 0.8159604072570801, -0.1570199877023697, 0.6817178726196289, -0.5293980240821838, 0.285395085811615, -0.858527660369873, -0.9696184992790222, -0.03932729735970497, 0.5994763970375061, -0.5308620929718018, 0.6375355124473572, 0.34119898080825806, 1.0040024518966675, 0.04877087473869324, -0.27258428931236267, 0.23234155774116516, 0.08618304878473282, 0.13177183270454407, 0.1528225988149643, 0.5368431806564331, -0.41737112402915955, 0.28776293992996216, 0.03523123264312744, -0.15282298624515533, -0.6389461159706116, -1.0117664337158203, -0.6816601157188416, -0.3733501434326172, -0.5601038932800293, -0.3927273154258728, 0.4985642433166504, 1.0004256963729858, 0.925175130367279, -0.6671476364135742, -0.7267448306083679, 0.32026204466819763, 0.22393302619457245, -0.5805202126502991, -0.281812459230423, 0.01567010022699833, 0.07166948169469833, -0.28006941080093384, 0.3581528067588806, 0.28795674443244934, -0.6087526679039001, -0.424823135137558, -0.015866683796048164, -0.6105353236198425, 0.026996193453669548, 0.42127764225006104, 0.17176564037799835, -0.5366714000701904, -0.0512753427028656, -0.39795657992362976, -0.3397046625614166, -0.06671850383281708, 0.8235198855400085, -0.7282655835151672, 0.07909487932920456, 0.36690381169319153, 0.6709531545639038, 0.24446596205234528, 0.1720716506242752, 0.8417629599571228, -0.8117260932922363, -0.07835635542869568, -0.03820372000336647, 0.34704503417015076, 0.2799237370491028, -0.43438059091567993, 0.5143884420394897, 0.20909857749938965, -0.4117603600025177, -0.9227701425552368, -0.003743614535778761, -0.768779456615448, -0.2082892805337906, 1.2172383069992065, 0.2240666300058365, -0.03078549914062023, -0.26540079712867737, 0.0841471329331398, 0.24329543113708496, -0.5677276253700256, 0.8133321404457092, 0.3909590244293213, 0.15740908682346344, 0.08086925745010376, -1.0052998065948486, 0.3126409947872162, 0.536334753036499, -0.4360235929489136, 0.07471422106027603, 0.6002719402313232, 0.37223419547080994, -0.18012453615665436, 0.9101406931877136, -0.23784886300563812, 0.6056747436523438, -0.15750151872634888, 0.3349061608314514, -0.03190844878554344, -0.13548928499221802, -0.35732409358024597, 0.108001708984375, 0.22417384386062622, 0.03981569781899452 ]
http://arxiv.org/abs/2406.11345v1
http://arxiv.org/pdf/2406.11345v1
Full-ECE: A Metric For Token-level Calibration on Large Language Models
2024-06-17T09:07:58
2024-06-17T09:07:58
Han Liu, Yupeng Zhang, Bingning Wang, Weipeng Chen, Xiaolin Hu
cs.CL
cs.CL, cs.AI
Deep Neural Networks (DNNs) excel in various domains but face challenges in providing accurate uncertainty estimates, which are crucial for high-stakes applications. Large Language Models (LLMs) have recently emerged as powerful tools, demonstrating exceptional performance in language tasks. However, traditional calibration metrics such as Expected Calibration Error (ECE) and classwise-ECE (cw-ECE) are inadequate for LLMs due to their vast vocabularies, data complexity, and distributional focus. To address this, we propose a novel calibration concept called full calibration and introduce its corresponding metric, Full-ECE. Full-ECE evaluates the entire predicted probability distribution, offering a more accurate and robust measure of calibration for LLMs.
[ -0.3196443021297455, -0.43787437677383423, 0.6189892888069153, 0.02377385087311268, -0.1770220398902893, 0.1953767091035843, -0.7569634318351746, -0.00756057957187295, 0.21023911237716675, 0.31280413269996643, -0.33988678455352783, -0.8098569512367249, -0.7452123165130615, -0.10000690072774887, -0.3952416181564331, 0.6971085667610168, -0.017609838396310806, 0.11106704920530319, -0.031123043969273567, -0.030823029577732086, -0.26984265446662903, -0.20115165412425995, -0.7438661456108093, -0.19292481243610382, 0.9453829526901245, 0.23399363458156586, 0.5348765254020691, 0.5729826092720032, 0.3286817669868469, 0.2266920655965805, 0.057037100195884705, 0.10352302342653275, -0.3260844051837921, -0.16274870932102203, -0.18051418662071228, -0.6467038989067078, -0.553131103515625, -0.10048401355743408, 0.6584869623184204, 1.0350210666656494, -0.2758309841156006, 0.21319745481014252, 0.037043336778879166, 0.9522672295570374, -1.038418173789978, 0.09412796050310135, -0.5323838591575623, 0.10860786586999893, 0.09613870829343796, 0.0426950603723526, -0.4294648766517639, -0.08111919462680817, 0.3538229167461395, -0.7157511115074158, -0.07965110242366791, -0.11743097007274628, 0.5026730895042419, 0.41888290643692017, -0.5865128636360168, -0.03922272473573685, -0.7827626466751099, 0.8321440815925598, -0.7724836468696594, 0.4315629303455353, 0.3389550447463989, 0.33452317118644714, -0.031506091356277466, -0.601341187953949, -0.6124613285064697, -0.12968945503234863, 0.41339540481567383, 0.16546905040740967, 0.025970090180635452, 0.4495048522949219, 0.019964788109064102, 0.5196775794029236, -0.29403775930404663, 0.4804486930370331, 0.029786795377731323, -0.2216576188802719, 0.5760459303855896, -0.05610397085547447, 0.034646619111299515, 0.3138055205345154, -0.20072750747203827, -0.3368425667285919, -0.7343776226043701, -0.15984097123146057, 0.6044683456420898, 0.29389986395835876, -0.15691611170768738, 0.372194766998291, 0.056314706802368164, 0.6713377833366394, -0.22618171572685242, 0.16635002195835114, 0.052960291504859924, -0.11262723058462143, -0.4953760802745819, 0.09364770352840424, 0.8370860815048218, 0.2379370778799057, 0.4766573905944824, -0.1355871558189392, -0.12938234210014343, -0.14059653878211975, -0.025634760037064552, -0.8684771060943604, -0.23337064683437347, 0.25792232155799866, 0.17054496705532074, -0.49997130036354065, 0.2618889808654785, -0.742123007774353, -0.511070191860199, -0.5835434198379517, 0.3190024197101593, -0.12595513463020325, -0.35088086128234863, 0.3517411947250366, 0.2539999485015869, 0.2395644336938858, 0.40710076689720154, -0.5780812501907349, 0.23026670515537262, 0.8495482802391052, 0.6464007496833801, -0.039650823920965195, -0.25475966930389404, -0.48485231399536133, -0.05814109742641449, -0.7320783138275146, 0.3967505991458893, -0.35313981771469116, -0.185913547873497, 0.1106746643781662, -0.044558364897966385, 0.009360362775623798, -0.11388223618268967, 0.7371678948402405, -0.57989102602005, -0.06417389214038849, 0.016386032104492188, -0.9610421657562256, -0.37933090329170227, 0.4037614166736603, -0.7292289733886719, 0.898691713809967, -0.1706886887550354, -0.5923712253570557, 0.5246551632881165, -0.20150591433048248, -0.06426617503166199, 0.21923084557056427, -0.2608385682106018, -0.20933860540390015, 0.19698379933834076, 0.20935501158237457, 0.3960483968257904, -0.4595985412597656, 0.48550111055374146, -0.5313355326652527, -0.5115564465522766, 0.2340085357427597, -1.0944187641143799, 0.6814770102500916, -0.020302673801779747, -0.4146774411201477, 0.06604276597499847, -0.8338350653648376, 0.18975745141506195, -0.3919408619403839, -0.0669829398393631, -0.3321347236633301, 0.11168597638607025, -0.0640481561422348, -0.11853013932704926, 0.3122957944869995, -0.8698238730430603, 0.06698688864707947, -0.6413154006004333, 0.4224707782268524, 0.8809057474136353, -0.34430167078971863, 0.5517123937606812, -0.04510243609547615, 0.3862159252166748, 0.1698039323091507, -0.025826888158917427, -0.08522145450115204, -0.2239745855331421, -0.8037591576576233, -0.5354207754135132, 0.8951349258422852, 0.7246583700180054, -0.22539596259593964, 1.221131682395935, -0.6439318060874939, -0.6282670497894287, -0.45308345556259155, 0.16174258291721344, 0.03539387881755829, 0.13071535527706146, -0.08613352477550507, -0.053262822329998016, -0.5020224452018738, -0.8450223207473755, 0.024770190939307213, -0.1408659964799881, -0.3124794363975525, 0.3361104130744934, 0.5447729229927063, -0.08347592502832413, 0.6530597805976868, -0.16412310302257538, -0.3253728151321411, 0.08984309434890747, -0.07810298353433609, 0.40180179476737976, 0.2015083283185959, 0.17389971017837524, -0.4842449128627777, -0.49566587805747986, 0.0753059908747673, -0.38420185446739197, 0.06957390904426575, -0.05279497429728508, -0.19230510294437408, -0.03874383866786957, 0.1914418339729309, -0.3666684925556183, 0.6255390048027039, 0.8000850081443787, -0.20306508243083954, 0.4581616222858429, -0.35917043685913086, 0.1915513426065445, -1.0384708642959595, 0.07250407338142395, 0.28377869725227356, -0.37074971199035645, -0.3584604561328888, 0.17338992655277252, 0.3151807487010956, 0.16376574337482452, -0.49212905764579773, 0.6800922155380249, -0.34916770458221436, -0.05117297172546387, -0.06969678401947021, 0.49664419889450073, 0.33756300806999207, 0.141665980219841, -0.11327937245368958, 0.8003948926925659, 0.788740873336792, -0.5858576893806458, 0.7402506470680237, -0.06449475139379501, -0.6158248782157898, 0.5109429955482483, -0.5280323624610901, 0.004396469797939062, 0.01680067926645279, 0.48689302802085876, -1.0221120119094849, 0.014578191563487053, -0.5434035658836365, -0.27822044491767883, 0.5785754323005676, 0.009806888177990913, -0.5522522330284119, -0.45515963435173035, -0.4375227987766266, 0.8108302354812622, 0.2660905122756958, -0.5290849208831787, 0.43110617995262146, 0.15344974398612976, 0.2185664027929306, -0.9883506894111633, -0.8308828473091125, 0.4592221677303314, 0.11625179648399353, -0.6464546918869019, 0.3446692228317261, -0.07715185731649399, -0.10539168119430542, -0.22465220093727112, 0.05165776610374451, 0.01078276988118887, 0.11996500939130783, 0.05894187465310097, 0.36543071269989014, -0.4932267367839813, 0.06068155914545059, -0.17404749989509583, 0.06381171196699142, -0.07059837132692337, -0.4104669392108917, 0.6158825755119324, -0.027699409052729607, -0.6722339987754822, -0.6137518286705017, 0.09084977209568024, 0.6466783881187439, -0.10234636813402176, 0.6843950748443604, 0.3033163249492645, -0.5767733454704285, -0.36620819568634033, -0.799106776714325, -0.21966910362243652, -0.45138150453567505, 0.7863118648529053, -0.23960992693901062, -0.5469000339508057, 0.7061708569526672, 0.17726147174835205, 0.10776391625404358, 0.44656193256378174, 0.4491861164569855, 0.060187965631484985, 1.088174819946289, 0.5219845175743103, -0.17786653339862823, 0.2788679301738739, -0.3088456094264984, 0.4603222608566284, -1.149706482887268, 0.06396691501140594, -0.410248339176178, -0.619439423084259, -0.5201032161712646, -0.5639047622680664, -0.05350609868764877, 0.17751547694206238, -0.847949743270874, 0.1926930993795395, -0.4252772331237793, 0.667698860168457, 0.5389741659164429, 0.11777704209089279, 0.2014501839876175, -0.022791676223278046, -0.14235208928585052, -0.12624335289001465, -0.15299545228481293, -0.6859626173973083, 1.401606559753418, 0.3440621793270111, 0.6542761325836182, -0.14562897384166718, 0.6020799279212952, 0.06605478376150131, 0.3022603392601013, -1.0928380489349365, 0.2965187728404999, -0.48835957050323486, -0.6565272808074951, -0.4453737139701843, -0.568124532699585, -0.6525281071662903, 0.07788505405187607, 0.13480551540851593, -1.001230239868164, 0.177056223154068, -0.1288699358701706, -0.5429275035858154, 0.9047654271125793, -0.3477579951286316, 0.8163505792617798, -0.3569348156452179, -0.18521209061145782, -0.13611236214637756, -0.26712170243263245, 0.1799682229757309, -0.13009978830814362, 0.28011953830718994, -0.36088091135025024, -0.47794675827026367, 0.5494054555892944, -0.17165561020374298, 0.8978935480117798, -0.18673481047153473, -0.2647448480129242, 0.3052317798137665, 0.34570130705833435, 0.5985885858535767, 0.019869567826390266, -0.39049893617630005, 0.20891687273979187, 0.11200982332229614, -0.43886324763298035, -0.523909866809845, 0.8316314816474915, -0.9865947365760803, -0.4082321226596832, -0.3688727617263794, -0.4517422914505005, -0.3957321047782898, -0.010586312040686607, 0.20788778364658356, 0.35077354311943054, -0.44332313537597656, 0.46403053402900696, 0.6421858668327332, -0.5232653021812439, 0.44064605236053467, 0.308542400598526, -0.10865435004234314, -0.6596699953079224, 0.8026314377784729, 0.043592315167188644, 0.418866902589798, 0.6641499996185303, 0.15628254413604736, -0.45557093620300293, -0.3900884985923767, -0.7194300293922424, 0.16286107897758484, -0.6922034025192261, -0.2981683611869812, -0.24329175055027008, -0.47112393379211426, -0.07621917128562927, -0.2612767815589905, -0.584556519985199, -0.42406409978866577, -0.4657494127750397, -0.5270819067955017, 0.24796311557292938, 0.4362216889858246, 0.02420930564403534, 0.2655210494995117, -0.6365567445755005, -0.40315747261047363, 0.21292002499103546, 0.5478410720825195, 0.1346275806427002, -0.7543261051177979, 0.018620457500219345, 0.5658544301986694, -0.23432514071464539, -0.6451507806777954, 0.11553417146205902, 0.5847920775413513, 0.3987168073654175, 0.2572549283504486, -0.038010068237781525, 0.5169408321380615, -0.5463680028915405, 0.9644602537155151, 0.5321432948112488, -0.894698441028595, 0.18868324160575867, -0.24683526158332825, 0.10551530122756958, 0.8173558712005615, -0.16723157465457916, -0.8084939122200012, -0.23356622457504272, -0.3269509971141815, -1.0792505741119385, 0.22208549082279205, -0.12909194827079773, 0.7314043045043945, -0.06446104496717453, 0.4581478238105774, 0.047042835503816605, 0.3217899203300476, -0.630391001701355, -0.38052448630332947, 0.05307498574256897, -0.7619563341140747, -0.1628192812204361, -0.12154180556535721, -0.10164395719766617, -0.3084539771080017, 0.8211656212806702, -0.2267887145280838, 0.0896570086479187, 0.035129137337207794, -0.05447093024849892, -0.2753719389438629, 0.32612717151641846, 0.4453573524951935, 0.6865828037261963, -0.10336847603321075, 0.13368907570838928, 0.21863748133182526, -0.5611591339111328, 0.34308895468711853, -0.1083008423447609, -0.04195906221866608, -0.26426610350608826, 0.22788268327713013, 0.9291175603866577, 0.3769839107990265, -0.6989884972572327, 1.2216349840164185, -0.11128528416156769, -0.40190398693084717, -0.7187062501907349, -0.2124379724264145, 0.08325739204883575, -0.17781704664230347, 0.5339212417602539, -0.14088164269924164, -0.015683265402913094, -0.23784621059894562, 0.47413498163223267, 0.3482058048248291, -0.9004095196723938, -0.40598538517951965, 0.6240986585617065, 0.3177665174007416, -0.09028763324022293, 0.6839612126350403, -0.03282764554023743, -0.4350104331970215, 1.0233418941497803, 0.3464692234992981, 1.268708348274231, 0.030939141288399696, 0.28460797667503357, 0.5378738641738892, 0.36991211771965027, -0.04655347764492035, 0.1608041524887085, 0.21639442443847656, -0.8721319437026978, -1.05185866355896, -1.0777453184127808, -0.33594369888305664, 0.18769660592079163, -0.6745508313179016, 0.48523953557014465, -0.49684104323387146, -0.11923752725124359, -0.1794222891330719, 0.09811712801456451, -1.103175401687622, 0.28433942794799805, 0.550418496131897, 1.2393392324447632, -0.5444463491439819, 0.7123952507972717, 0.5625960230827332, 0.008548663929104805, -1.0239744186401367, -0.3298913538455963, -0.10337671637535095, -0.8587288856506348, 0.5782479643821716, 0.32906901836395264, 0.033484142273664474, 0.028619952499866486, -0.1571994423866272, -0.89974045753479, 1.2074387073516846, 0.5114133954048157, -1.1997171640396118, -0.16378723084926605, 0.2991747260093689, 0.542772650718689, -0.4322758615016937, 0.5115166306495667, 0.6086450219154358, 0.6209139823913574, 0.10156548768281937, -1.0306364297866821, -0.15455177426338196, 0.07796530425548553, 0.08260496705770493, 0.4267708361148834, -0.4322252869606018, 0.5302509665489197, -0.045472096651792526, -0.06004111096262932, 0.12626290321350098, 0.5101398229598999, 0.01700623147189617, -0.052317891269922256, 0.7302069067955017, 0.8945264220237732, 0.7678409814834595, -0.30019694566726685, 0.9476969242095947, -0.5151610970497131, 0.4941309988498688, 1.0167429447174072, -0.362032949924469, 1.03298819065094, 0.3313616216182709, -0.44698816537857056, 0.2049354612827301, 0.7185988426208496, 0.10511737316846848, 0.3180379569530487, 0.523983359336853, -0.5200846195220947, -0.4363757371902466, 0.18451820313930511, 0.013696843758225441, 0.25958946347236633, 0.527970016002655, -0.274649441242218, -0.07355447858572006, -0.00884969625622034, -0.11058885604143143, -0.024185236543416977, -0.5172290802001953, 0.7265627384185791, 0.3474010229110718, -0.44694867730140686, 0.3014857769012451, -0.26985183358192444, 0.8357784748077393, -0.3459007143974304, 0.3346816599369049, 0.031600434333086014, 0.5032071471214294, -0.1406843066215515, -0.9431548118591309, 0.01967421919107437, -0.06159443408250809, 0.1288939118385315, 0.3461167514324188, -0.05406207591295242, -0.5101538896560669, -0.9381939172744751, 0.5576398968696594, 0.42799264192581177, -0.038220204412937164, -0.2567744553089142, -0.6291918158531189, -0.24520759284496307, 0.04271920770406723, -0.6234024167060852, 0.27864518761634827, 0.7114742994308472, 0.44317427277565, 0.441998153924942, 0.43348532915115356, 0.4636169373989105, 0.284553200006485, 0.382827490568161, 0.38074806332588196, -0.3876885771751404, -0.29533299803733826, -0.9712632298469543, 0.6092643737792969, -0.151916965842247, -0.4854528307914734, 0.23559781908988953, 0.6258202195167542, 0.804200291633606, 0.4074496924877167, 0.7125521302223206, 0.15040963888168335, 0.27330344915390015, -0.047908395528793335, 0.6116597652435303, -0.7762495279312134, 0.35352396965026855, -0.13397644460201263, -1.301289677619934, -0.6360543966293335, 0.7153894305229187, -0.21062640845775604, -0.09977086633443832, 0.6321882009506226, 0.723887026309967, -0.13716834783554077, 0.08165954798460007, 0.8094738721847534, 0.10721641033887863, 0.4188448488712311, 0.5919603705406189, 0.4889889657497406, -0.6415700912475586, 0.5392839312553406, -0.5229713320732117, -0.4025201201438904, 0.0631614476442337, -1.1369774341583252, -0.671209990978241, -0.4538429379463196, -0.43738794326782227, -0.11649711430072784, -0.20837514102458954, 1.035231590270996, 0.8047233819961548, -1.0534281730651855, -0.20808932185173035, -0.23968423902988434, -0.3170745074748993, -0.04354904592037201, -0.2142462432384491, 0.49924978613853455, -0.21037302911281586, -0.9422487616539001, 0.11388935148715973, 0.3215964734554291, -0.057400040328502655, -0.5839333534240723, 0.01728000119328499, -0.0019736234098672867, 0.4009748697280884, 0.3523825407028198, -0.05539213865995407, -0.7526293992996216, -0.5687903761863708, -0.0057189492508769035, -0.40311139822006226, 0.04821307957172394, 0.6144258975982666, -0.28903868794441223, 0.4420674741268158, 0.2882232666015625, 0.9807018041610718, 0.5177335739135742, -0.5306187272071838, 0.8332021832466125, -0.987760603427887, 0.2702334225177765, 0.5302243232727051, 0.7678826451301575, 0.46207496523857117, -0.2313505858182907, 0.44122517108917236, -0.15342611074447632, -0.8352779746055603, -1.0728529691696167, 0.35812920331954956, -0.8405115008354187, 0.013287637382745743, 1.1165351867675781, -0.3006323277950287, -0.4615831673145294, 0.37782198190689087, -0.07172568142414093, 0.2884063124656677, -0.3523332476615906, 0.44435110688209534, 1.0058854818344116, 0.6849382519721985, -0.07046926021575928, -0.8611749410629272, 0.014400193467736244, 0.3532244563102722, -0.49131160974502563, 0.3632488250732422, 0.36511996388435364, 0.3379581570625305, 0.06065107509493828, 0.11785509437322617, 0.01218933891505003, 0.08701593428850174, -0.15037664771080017, 0.29062971472740173, 0.15229949355125427, -0.2083663046360016, -0.09311822056770325, -0.12682928144931793, 0.20551609992980957, -0.0005442010005936027 ]
http://arxiv.org/abs/2406.11341v1
http://arxiv.org/pdf/2406.11341v1
A Systematic Analysis of Large Language Models as Soft Reasoners: The Case of Syllogistic Inferences
2024-06-17T08:59:04
2024-06-17T08:59:04
Leonardo Bertolazzi, Albert Gatt, Raffaella Bernardi
cs.CL
cs.CL
The reasoning abilities of Large Language Models (LLMs) are becoming a central focus of study in NLP. In this paper, we consider the case of syllogistic reasoning, an area of deductive reasoning studied extensively in logic and cognitive psychology. Previous research has shown that pre-trained LLMs exhibit reasoning biases, such as $\textit{content effects}$, avoid answering that $\textit{no conclusion follows}$, display human-like difficulties, and struggle with multi-step reasoning. We contribute to this research line by systematically investigating the effects of chain-of-thought reasoning, in-context learning (ICL), and supervised fine-tuning (SFT) on syllogistic reasoning, considering syllogisms with conclusions that support or violate world knowledge, as well as ones with multiple premises. Crucially, we go beyond the standard focus on accuracy, with an in-depth analysis of the conclusions generated by the models. Our results suggest that the behavior of pre-trained LLMs can be explained by heuristics studied in cognitive science and that both ICL and SFT improve model performance on valid inferences, although only the latter mitigates most reasoning biases without harming model consistency.
[ -0.21844254434108734, -0.9098822474479675, 0.8410255312919617, -0.19053052365779877, -0.2584426701068878, -0.2992890775203705, -0.44343140721321106, -0.29291388392448425, -0.18693222105503082, 0.6134648323059082, -0.42121466994285583, -0.38547763228416443, -0.7192647457122803, 0.22393624484539032, -0.33055517077445984, 1.00295889377594, 0.16097620129585266, 0.13200919330120087, -0.15403001010417938, -0.09168863296508789, -0.5229395031929016, -0.6820027828216553, -0.491571843624115, -0.5394987463951111, 0.3742605149745941, -0.048375170677900314, 0.6482086181640625, 0.4178093373775482, 0.32983535528182983, 0.3052181601524353, -0.443514883518219, 0.28619319200515747, -0.4766065776348114, 0.5415878891944885, -0.5637059211730957, -0.6742927432060242, -0.3466417193412781, -0.03217479586601257, 0.577806293964386, 0.7189034223556519, -0.30834347009658813, 0.038139261305332184, 0.28472277522087097, 0.42052793502807617, -0.8358945250511169, 0.23005709052085876, -0.8367880582809448, -0.1871626228094101, -0.1688198447227478, -0.0716828778386116, -0.8947638869285583, -0.23007962107658386, 0.22204524278640747, -0.49701404571533203, -0.07625564932823181, -0.2883237898349762, 0.5925596952438354, 0.7198388576507568, -0.6027876138687134, -0.15529760718345642, -0.7496373057365417, 1.0439119338989258, -0.9441638588905334, 0.36688336730003357, 0.26132503151893616, 0.16865003108978271, -0.4259796738624573, -0.6776872873306274, -0.33497995138168335, -0.09155053645372391, -0.2420196831226349, 0.008396991528570652, -0.38348668813705444, 0.42965927720069885, 0.7870725393295288, -0.0752972960472107, -0.4363020956516266, 0.055374015122652054, -0.20365074276924133, 0.06547340750694275, 0.6925649046897888, 0.10974100977182388, 0.0765192061662674, -0.15179653465747833, -0.0724138617515564, 0.14962315559387207, -0.7307078242301941, 0.08909042179584503, -0.11248432844877243, 0.19727201759815216, 0.04150880500674248, 0.3371901214122772, -0.34339791536331177, 1.2202237844467163, -0.19436921179294586, -0.39181143045425415, -0.23256470263004303, 0.05452946200966835, -0.4234914481639862, 0.17600944638252258, 0.5736374855041504, 0.10770052671432495, 0.7277079224586487, 0.055440180003643036, -0.21204756200313568, 0.3625373840332031, 0.11103790253400803, -0.6440972685813904, -0.1945187896490097, 0.10968703776597977, -0.5248957872390747, 0.020225316286087036, -0.13099342584609985, -0.14004558324813843, -0.29671281576156616, -0.6823827028274536, 0.4541420638561249, -0.3879731297492981, -0.1837257742881775, 0.3979305922985077, -0.24148818850517273, -0.051781654357910156, 0.5535402894020081, -0.574429988861084, 0.28128349781036377, 0.9727052450180054, 0.6053443551063538, 0.1585271954536438, -0.10888943821191788, -0.44563013315200806, 0.3225886821746826, -0.26764002442359924, 0.9386681914329529, -0.4572077989578247, -0.08953409641981125, -0.1993238627910614, -0.15546908974647522, -0.15275081992149353, -0.469537615776062, 0.1953778713941574, -0.12917117774486542, 0.0866452008485794, -0.1411520540714264, -0.5007194876670837, -0.34876713156700134, 0.36888691782951355, -0.5020796656608582, 0.5086033940315247, -0.2780212461948395, -0.6827146410942078, 0.5606061220169067, -0.13064366579055786, -0.45778849720954895, -0.011221859604120255, -0.40047702193260193, 0.03421533480286598, 0.4022996425628662, 0.1076854020357132, 0.47788286209106445, -0.46656420826911926, 0.6622225046157837, -0.5673531889915466, -0.3283097445964813, 0.484019935131073, -0.47830381989479065, 0.9925075769424438, 0.11413346976041794, -0.5223549008369446, 0.17200496792793274, -0.3878830075263977, 0.185808464884758, -0.26736873388290405, -0.08984137326478958, -0.7004470825195312, 0.3912453353404999, -0.49366405606269836, 0.46369174122810364, -0.1264471560716629, -0.24191716313362122, 0.23052284121513367, -0.5517624616622925, 0.6841784119606018, 0.9661655426025391, -0.3088759481906891, 0.23613713681697845, -0.07232960313558578, 0.27195268869400024, -0.19700734317302704, 0.35545793175697327, -0.2538914978504181, -0.5140962600708008, -0.652160108089447, -0.2654685080051422, 0.08468888700008392, 0.28689491748809814, -0.4918766915798187, -0.06305836886167526, 0.014358315616846085, -0.325765460729599, -0.30964791774749756, 0.20360560715198517, 0.5359925031661987, 0.4369097352027893, 0.31717783212661743, -0.11286552250385284, -0.3341839611530304, -0.8903892040252686, -0.6419921517372131, -0.19534067809581757, 0.23608313500881195, 0.18448463082313538, 0.44472628831863403, -0.03736089542508125, 0.8544779419898987, -0.4136750400066376, -0.047956064343452454, -0.36965125799179077, -0.1074250265955925, 0.449078768491745, 0.23565684258937836, 0.282725065946579, -0.5783604979515076, -0.1027998998761177, -0.16989703476428986, -0.8624758124351501, -0.21077154576778412, 0.06575106829404831, 0.008363460190594196, 0.39376169443130493, 0.6117468476295471, -0.9940371513366699, 0.6702113151550293, 0.3028937578201294, -0.4626702070236206, 0.5293170809745789, -0.09653019160032272, -0.21368037164211273, -0.6898081302642822, -0.06340062618255615, 0.2629963755607605, -0.0546642430126667, -0.43401244282722473, 0.313637912273407, -0.2568846046924591, 0.2247937172651291, -0.2647102177143097, 0.6877183318138123, -0.32464003562927246, 0.1530638188123703, -0.20679257810115814, 0.0885586366057396, -0.04322216287255287, 0.07082240283489227, 0.21036750078201294, 0.3316488564014435, 0.2753608524799347, -0.5695785284042358, 0.2429409772157669, -0.11861658841371536, -0.2107180505990982, 0.5191882252693176, -0.6928247809410095, -0.07621864974498749, -0.1560194194316864, 0.6864793300628662, -0.9209524989128113, -0.07309398800134659, -0.07421360164880753, -0.1238592267036438, 0.10525291413068771, -0.27335304021835327, -0.5018981099128723, -0.3395819365978241, 0.13133755326271057, 0.3638060986995697, 0.4533011317253113, -0.3493266701698303, 0.6131427884101868, 0.38292524218559265, 0.05344817414879799, -0.5402722358703613, -0.43778055906295776, -0.11287911981344223, -0.3560599386692047, -0.5360376834869385, 0.0291903093457222, 0.07729267328977585, -1.0994107723236084, -0.3141600489616394, -0.3854140341281891, -0.20604528486728668, 0.2446926236152649, 0.37160488963127136, 0.16074267029762268, -0.29310768842697144, 0.4471842348575592, 0.10523253679275513, -0.26952293515205383, 0.3006889224052429, -0.45253607630729675, 0.48502597212791443, -0.20264293253421783, -0.33443304896354675, -0.4053484797477722, 0.00020231568487361073, 0.3340966999530792, -0.24607113003730774, 0.5903164744377136, 0.12820903956890106, -0.3204441964626312, -0.5966436266899109, -0.7484394311904907, -0.6502161622047424, -0.393198162317276, 0.038611143827438354, -0.413727730512619, -1.0235415697097778, 0.1279028356075287, -0.11214625090360641, -0.029842372983694077, 0.4471377432346344, 0.6378269791603088, -0.16612447798252106, 1.3846065998077393, 0.2733714282512665, 0.11702793836593628, 0.1270262897014618, -0.29003164172172546, 0.2755744457244873, -0.3781835436820984, -0.29994943737983704, -0.5314018130302429, -0.35639679431915283, -0.7369974851608276, -0.3208482265472412, 0.36132949590682983, 0.09711854159832001, -0.33809933066368103, 0.07314403355121613, -0.5104011297225952, 0.5828210115432739, 0.3379736840724945, 0.3607449531555176, 0.3625362813472748, -0.28348565101623535, -0.0121754826977849, 0.1323469877243042, -0.8606603145599365, -0.5340064167976379, 0.8895441293716431, 0.19875361025333405, 1.115077018737793, 0.09420882910490036, 0.5326772928237915, -0.16628137230873108, 0.23857107758522034, -0.7890492081642151, 0.64851313829422, -0.45182234048843384, -0.7292928695678711, -0.26100069284439087, -0.35763153433799744, -0.7551647424697876, 0.41664424538612366, -0.1269330382347107, -0.8364349603652954, 0.0905778780579567, 0.41524580121040344, -0.37640371918678284, 0.250013530254364, -0.5495022535324097, 0.8192346096038818, -0.25787678360939026, -0.4799509346485138, -0.7427908778190613, -0.7396211624145508, 0.5952240824699402, 0.16037988662719727, 0.270060271024704, -0.21828895807266235, 0.3197622001171112, 0.6021768450737, -0.4664784073829651, 0.9438463449478149, -0.13497933745384216, -0.29131418466567993, 0.30538883805274963, 0.29166412353515625, 0.19114845991134644, 0.1682756245136261, -0.18078111112117767, 0.24133437871932983, 0.21247436106204987, -0.27089136838912964, -0.6879640817642212, 0.5900729894638062, -0.4104110300540924, -1.1396631002426147, -0.39382749795913696, -0.808398962020874, -0.11773163080215454, 0.16214647889137268, 0.11091407388448715, 0.42113029956817627, 0.12933798134326935, 0.28897011280059814, 1.0624948740005493, -0.09229879826307297, 0.18759042024612427, 0.4202129542827606, -0.14257659018039703, 0.07196156680583954, 0.4428662955760956, 0.24500064551830292, 0.4419670104980469, 0.28290337324142456, 0.4202480614185333, -0.13756932318210602, -0.4270683526992798, -0.18669916689395905, 0.3858442008495331, -0.7440120577812195, -0.15215392410755157, -0.419798344373703, -0.23368734121322632, -0.3431534767150879, 0.010157175362110138, -0.0646921768784523, -0.44419437646865845, -0.1554078608751297, 0.08207543939352036, 0.2835519313812256, 0.7811362147331238, 0.18416595458984375, 0.34415435791015625, -0.5249560475349426, 0.13356761634349823, 0.45486125349998474, -0.01541326753795147, -0.044236697256565094, -0.513666033744812, 0.014421757310628891, 0.037774235010147095, -0.2064429223537445, -0.736996054649353, 0.12854939699172974, 0.10202798247337341, 0.5964950323104858, 0.6223997473716736, -0.1633480042219162, 0.8645060658454895, -0.2765597403049469, 0.5004605054855347, 0.0125917699187994, -0.9390489459037781, 0.9346877932548523, -0.46566522121429443, 0.5057104825973511, 0.2719389796257019, 0.2822253406047821, -0.30217766761779785, -0.5600212216377258, -0.5924178957939148, -0.5815564393997192, 0.5248345732688904, -0.14533326029777527, -0.03504359722137451, -0.1466682404279709, 0.4933759272098541, 0.1008417159318924, 0.03519190102815628, -0.6255735158920288, 0.3056487441062927, 0.13721290230751038, -0.04675063118338585, -0.2451588362455368, -0.29928088188171387, -0.20499780774116516, -0.4607422649860382, 0.5558260083198547, -0.25788959860801697, -0.4001580476760864, 0.010029357858002186, -0.4602086842060089, 0.09176375716924667, 0.3789375424385071, 0.4154665470123291, 0.9614552855491638, -0.049541670829057693, 0.3936273753643036, 0.24973160028457642, -0.04826607182621956, 0.15350182354450226, 0.04300472512841225, -0.10794077813625336, -0.10774807631969452, 0.8075007200241089, 0.5763049125671387, 0.21316954493522644, -0.867388129234314, 0.47543007135391235, 0.13925287127494812, -0.0201779343187809, -0.12046486884355545, 0.4513740539550781, -0.0745050385594368, 0.4730719029903412, 0.14199580252170563, -0.07694807648658752, 0.19342941045761108, -0.5338560342788696, 0.08810579776763916, 0.7481966614723206, -0.528278648853302, -0.3394150137901306, 0.41768431663513184, -0.025785567238926888, -0.1453235149383545, 0.7400499582290649, 0.25098511576652527, -0.5006640553474426, 0.6369884014129639, 0.7165237069129944, 0.5091180801391602, -0.5108788013458252, 0.01104898750782013, 0.19051721692085266, 0.49137845635414124, -0.3601562976837158, 0.25268757343292236, -0.21106119453907013, -0.6601532101631165, -0.8677522540092468, -0.6282431483268738, -0.1143203154206276, 0.07007083296775818, -0.5905812382698059, 0.3048235774040222, -0.6420835256576538, -0.40134966373443604, 0.09615006297826767, -0.43534448742866516, -0.530931830406189, 0.3986256718635559, 0.25102218985557556, 1.0561918020248413, -0.8377143740653992, 0.8479466438293457, 0.6032738089561462, -0.15167878568172455, -0.9654040932655334, -0.07954087853431702, 0.23630134761333466, -0.7997358441352844, 1.0541361570358276, 0.3030407428741455, -0.3424692749977112, -0.014416860416531563, -0.5387718677520752, -0.7313969135284424, 0.8242090344429016, 0.7070447206497192, -0.7811119556427002, -0.1529107540845871, -0.2216646671295166, 0.4891476631164551, -0.043372999876737595, 0.48390263319015503, 0.8524929285049438, 0.38828662037849426, -0.23374280333518982, -1.109810709953308, 0.16259072721004486, -0.04614400863647461, -0.044645894318819046, 0.4141956865787506, -0.4696304202079773, 0.9470034241676331, -0.36092957854270935, 0.06538344919681549, -0.06892786175012589, 0.27720126509666443, 0.6351968050003052, 0.3421081304550171, 0.5727106332778931, 0.8418929576873779, 0.5126790404319763, -0.2201501727104187, 0.9544050097465515, -0.1231761947274208, 0.21341991424560547, 1.1544537544250488, -0.3660163879394531, 0.678489089012146, 0.6718699932098389, -0.09187617152929306, 0.8510907888412476, 0.5165120363235474, 0.32568275928497314, 0.2466689944267273, 0.41585054993629456, -0.2916792333126068, -0.7957000136375427, -0.3215889632701874, -0.1852877140045166, 0.7500882744789124, 0.615020215511322, -0.44173118472099304, -0.23712502419948578, -0.13321411609649658, 0.08449384570121765, 0.13597451150417328, -0.40056902170181274, 0.8566098809242249, 0.5043492317199707, -0.7230904698371887, 0.5219716429710388, -0.24694542586803436, 0.40368419885635376, -0.49830183386802673, -0.17402179539203644, 0.04873954504728317, 0.4306355118751526, -0.3706234097480774, -0.8675376772880554, 0.25038963556289673, -0.17196914553642273, -0.09053806960582733, -0.27315181493759155, 1.0318917036056519, 0.004735505674034357, -0.18047332763671875, 0.39890769124031067, 0.5422224402427673, 0.10951299965381622, -0.12275967746973038, -0.5986806154251099, -0.020907051861286163, -0.1937071681022644, -0.341770738363266, 0.10226429998874664, 0.517562210559845, -0.45934435725212097, 0.7980466485023499, 0.5983284115791321, 0.2511299252510071, -0.33209851384162903, 0.31326642632484436, 0.7036639451980591, -0.6228507161140442, -0.43823158740997314, -1.4565800428390503, 0.5191490054130554, 0.04948241263628006, -0.22316351532936096, 0.8238574862480164, 0.4155079424381256, 0.7903348803520203, 0.15217901766300201, 0.6398869156837463, 0.2392416000366211, 0.20139794051647186, -0.7513706684112549, 0.5827316045761108, -0.4720497727394104, 0.18098945915699005, -0.38335052132606506, -0.7545123100280762, -0.44218209385871887, 0.845818281173706, -0.7062857151031494, 0.019642435014247894, 0.6617333889007568, 0.5892030596733093, -0.09982362389564514, 0.1233643963932991, 0.2202647179365158, 0.6395420432090759, 0.18121126294136047, 0.6568821668624878, 1.1191186904907227, 0.12377478182315826, 0.22239187359809875, -0.055653445422649384, -0.2664470374584198, -0.10026815533638, -0.766851544380188, -1.0381739139556885, -0.37318480014801025, -0.05939065292477608, -0.465927392244339, 0.33536413311958313, 0.7749049663543701, 0.6466387510299683, -0.492534339427948, -0.5133278369903564, -0.1446613371372223, 0.4159156084060669, -0.16238096356391907, -0.17664910852909088, 0.12255323678255081, -0.35307639837265015, -0.26139605045318604, 0.2387077808380127, 0.48326194286346436, -0.3658212721347809, -0.2324364185333252, -0.03397731855511665, -0.10422544926404953, 0.04357686638832092, 0.9610754251480103, -0.08713402599096298, -1.2140130996704102, -0.13895069062709808, -0.2078215628862381, 0.08567579090595245, -0.27872413396835327, 0.9989513754844666, -1.1439939737319946, 0.38027656078338623, 0.45914244651794434, 0.09268748015165329, 0.4079725444316864, -0.2750963866710663, 0.6096484661102295, -0.2348782867193222, 0.35429611802101135, 0.2518097460269928, 0.4732212722301483, -0.02985469624400139, -0.12286877632141113, 0.45640048384666443, 0.24499908089637756, -0.5161067247390747, -1.0363457202911377, 0.3989393711090088, -0.6337800621986389, -0.7653683423995972, 1.1612335443496704, -0.06279023736715317, -0.17867495119571686, -0.017158783972263336, -0.11161673069000244, 0.27045148611068726, -0.09399570524692535, 0.8188684582710266, 0.6980026364326477, -0.27627360820770264, -0.10172901302576065, -0.6142760515213013, 0.5267191529273987, 0.5669447779655457, -0.8714731931686401, 0.10133245587348938, 0.6025183200836182, 0.3151627779006958, 0.009011810645461082, 0.5269606113433838, 0.16076187789440155, 0.40740081667900085, -0.37834715843200684, -0.2124156355857849, 0.3314983546733856, -0.49336883425712585, -0.4849175214767456, -0.10909181088209152, 0.16476449370384216, 0.6155492663383484 ]
http://arxiv.org/abs/2406.11338v1
http://arxiv.org/pdf/2406.11338v1
Fine-grained Controllable Text Generation through In-context Learning with Feedback
2024-06-17T08:55:48
2024-06-17T08:55:48
Sarubi Thillainathan, Alexander Koller
cs.CL
cs.CL
We present a method for rewriting an input sentence to match specific values of nontrivial linguistic features, such as dependency depth. In contrast to earlier work, our method uses in-context learning rather than finetuning, making it applicable in use cases where data is sparse. We show that our model performs accurate rewrites and matches the state of the art on rewriting sentences to a specified school grade level.
[ -0.21749672293663025, -1.2700178623199463, 0.5558527708053589, 0.052829012274742126, -0.0060942391864955425, -0.24608011543750763, -0.25925084948539734, -0.3194385766983032, 0.2129453867673874, 0.737876832485199, -0.7022184133529663, -0.45841336250305176, -0.22473792731761932, -0.016773074865341187, -0.4631779193878174, 1.2819806337356567, -0.3840819001197815, -0.2653156816959381, -0.36045747995376587, 0.03727322444319725, -0.6690860390663147, -0.46690231561660767, -0.587114155292511, -0.418565034866333, 0.6467840671539307, 1.1107323169708252, 0.5711986422538757, 0.6138028502464294, 0.2866644263267517, 0.28378137946128845, -0.16184668242931366, 0.13248015940189362, -0.6328557133674622, 0.2980981767177582, -0.4532003700733185, -0.2302025556564331, -0.21806631982326508, -0.060226425528526306, 0.6859056949615479, 1.1165010929107666, -0.05821157619357109, 0.04127063974738121, 0.4711414575576782, 0.5332832932472229, -0.579233705997467, 0.006311994045972824, -0.7462067604064941, 0.1334407925605774, -0.05225159227848053, -0.42809557914733887, -0.5942708849906921, -0.26737138628959656, 0.43165433406829834, -0.5634157657623291, 0.6836246252059937, -0.16238725185394287, 0.9871093034744263, 0.4771839678287506, -0.32043522596359253, -0.4168902039527893, -0.6391994953155518, 0.9186578989028931, -0.6238644123077393, 0.1875012367963791, 0.5751957893371582, 0.23654381930828094, -0.4420817792415619, -0.7804047465324402, -0.32228970527648926, -0.32635143399238586, -0.3325819969177246, 0.011883612722158432, 0.5075237154960632, 0.10349518805742264, 0.05392521247267723, 0.5867881774902344, 0.02329486981034279, -0.16742895543575287, -0.45134642720222473, -0.077023945748806, 0.5957634449005127, 0.3099885582923889, 0.029993752017617226, -0.35478389263153076, -0.1680615097284317, 0.08588550984859467, -0.5018287897109985, 0.41465356945991516, 0.09847614169120789, 0.7225948572158813, -0.01558621320873499, 0.8181539177894592, -0.5307844877243042, 0.7435528635978699, 0.4379192590713501, -0.4561395049095154, 0.20484265685081482, -0.4392465054988861, -0.47478634119033813, 0.093174509704113, 0.52420973777771, 0.4781840443611145, 0.34827595949172974, -0.1899571418762207, -0.43087321519851685, -0.08252854645252228, 0.33051958680152893, -0.8473413586616516, -0.08348046243190765, 0.07171031832695007, -0.4163483679294586, -0.5711525678634644, -0.017175516113638878, -0.6658843755722046, 0.02715303562581539, -0.5495476722717285, 0.45901432633399963, -0.5209368467330933, 0.3283955454826355, -0.049143236130476, 0.006365869659930468, 0.14819176495075226, 0.4070286154747009, -1.0742273330688477, 0.27247154712677, 0.26598411798477173, 0.9051904082298279, 0.05124301835894585, -0.4269731640815735, -0.8057474493980408, 0.26889941096305847, -0.33911699056625366, 0.7652876973152161, -0.6767578125, -0.3992094397544861, 0.08119626343250275, 0.10362335294485092, 0.33228808641433716, -0.5245499610900879, 0.3136231601238251, -0.13993465900421143, 0.34048569202423096, 0.03526226058602333, -0.7767804265022278, -0.1379479169845581, 0.17337556183338165, -0.41359201073646545, 0.8425607085227966, 0.6830084323883057, -0.630733072757721, 0.7908040881156921, -0.23664245009422302, -0.8222872018814087, -0.056774985045194626, -0.07160712778568268, -0.6103295087814331, 0.26904383301734924, -0.022860661149024963, 0.5044568777084351, 0.2577573359012604, 0.7197139859199524, -0.20538891851902008, -0.27310559153556824, 0.11527451872825623, -0.4052569568157196, 0.2824547588825226, 0.05708392709493637, -0.4882405400276184, 0.39228641986846924, -1.1651859283447266, 0.2289828658103943, -0.19260446727275848, -0.7973244786262512, -0.200395867228508, 0.12050735205411911, 0.29578715562820435, 0.03760060667991638, 0.2954946458339691, -0.5276231169700623, 0.1881943792104721, -0.596874475479126, 0.7821394801139832, 0.43673035502433777, 0.26974207162857056, 0.8065037131309509, -0.3113582134246826, 0.24368588626384735, -0.1344623863697052, -0.04751136526465416, -0.2931339740753174, -0.10578294098377228, -0.7286344170570374, 0.01182530727237463, 0.26477527618408203, 0.4910429120063782, -0.8250381946563721, 0.23952992260456085, 0.20718401670455933, -0.29613232612609863, -0.3197808563709259, 0.2567603886127472, 0.7711980938911438, 0.866172730922699, 0.45616450905799866, -0.28373685479164124, -0.38411012291908264, -0.9544519186019897, -0.1956777125597, 0.2713983952999115, -0.10550820827484131, 0.5393409132957458, 0.20647840201854706, -0.39120715856552124, 1.1049302816390991, -0.6275637149810791, -0.5146492719650269, -0.41163837909698486, 0.166453018784523, -0.2811914384365082, 0.8253628015518188, 0.3007432818412781, -0.4909557104110718, -0.4573867917060852, 0.09545348584651947, -0.46982601284980774, -0.4679366946220398, -0.2453269362449646, -0.07576929777860641, 0.24260209500789642, 0.8687668442726135, -0.10448633879423141, 0.6052564382553101, 0.3086357116699219, -0.5732608437538147, 0.08764724433422089, -0.4536638855934143, -0.03264959156513214, -1.23444664478302, -0.12910866737365723, 0.06928550451993942, -0.3689953088760376, -0.6400357484817505, 0.1538640707731247, 0.010376647114753723, 0.06783591955900192, -0.6402813792228699, 0.3886829912662506, -0.1715475171804428, 0.0789281353354454, -0.4514616131782532, 0.34901416301727295, 0.24108944833278656, 0.526725172996521, -0.008491233922541142, 0.5813732147216797, 0.2195110023021698, -0.6496161818504333, 0.09961628913879395, 0.30186641216278076, -0.3299945294857025, 0.5672088861465454, -0.6848899126052856, -0.26348966360092163, -0.18469347059726715, 0.23803521692752838, -0.8134865164756775, -0.7823896408081055, -0.025508806109428406, -0.2686699330806732, 0.20513272285461426, 0.03842170536518097, -0.2987150549888611, 0.1582331359386444, -0.1287393718957901, 0.38449719548225403, 0.06602559983730316, -0.4603375792503357, 0.32190799713134766, 0.22806154191493988, -0.0577019527554512, -0.1726931929588318, -0.8837347626686096, -0.10451462119817734, -0.3119439482688904, -0.36340847611427307, 0.476687490940094, 0.11520328372716904, -0.2256918102502823, -0.18804292380809784, 0.24563413858413696, -0.44363880157470703, 0.15041638910770416, 0.19169703125953674, -0.14291901886463165, -0.10808860510587692, 0.1447223573923111, 0.4652329981327057, 0.028109952807426453, -0.1389114409685135, 0.06498617678880692, 0.3400796055793762, 0.048742860555648804, 0.21593999862670898, -0.4475049376487732, 0.7766439318656921, 0.44198429584503174, -0.09101005643606186, 0.34564921259880066, 0.08762770146131516, -0.41544729471206665, -0.648557722568512, 0.10206376016139984, -0.2485823631286621, -0.47675812244415283, 0.3131829500198364, -0.6119565963745117, -1.2256522178649902, 0.39491337537765503, 0.09299933165311813, 0.09917927533388138, 0.3084583580493927, 0.5625321269035339, 0.01092451624572277, 0.7607259750366211, 1.1188395023345947, 0.3341663181781769, 0.7139061689376831, -0.09008391201496124, 0.10922214388847351, -0.5889167785644531, -0.18588456511497498, -0.3450894355773926, -0.5253081917762756, -0.8414011001586914, -0.0014230638043954968, -0.16704992949962616, 0.3978448510169983, -0.29913920164108276, 0.26970428228378296, -0.6152214407920837, 0.6568422913551331, 0.8991745114326477, 0.3089770972728729, 0.046684250235557556, -0.23490114510059357, -0.10484461486339569, -0.02421015128493309, -0.6830112338066101, -0.5163924098014832, 0.8565050363540649, 0.208177849650383, 0.9269195199012756, -0.07201888412237167, 0.7489514350891113, -0.0882381871342659, 0.3656916916370392, -0.9834839105606079, 0.21518707275390625, -0.41584619879722595, -0.4093795716762543, -0.61003577709198, -0.3380420506000519, -0.8996999859809875, -0.14538195729255676, -0.20112386345863342, -0.5587981939315796, 0.14551492035388947, 0.24007047712802887, -0.5461199879646301, 0.0513974204659462, -1.108059287071228, 0.8547317981719971, 0.1824726015329361, -0.5700262784957886, 0.1965247094631195, -0.7278238534927368, 0.25563502311706543, -0.19995900988578796, -0.01119700726121664, 0.09653263539075851, 0.08079978823661804, 0.47465869784355164, -0.8142537474632263, 1.1726799011230469, -0.1467171311378479, -0.37852540612220764, 0.5303794145584106, 0.31815898418426514, 0.13941916823387146, 0.3196968138217926, 0.2687305808067322, -0.4144114553928375, -0.03677917271852493, -0.33923858404159546, -0.4964599907398224, 0.9683569669723511, -0.5949799418449402, -0.40396106243133545, 0.006023275200277567, -0.911111056804657, -0.24141456186771393, 0.4559706151485443, 0.3883419334888458, 0.6424346566200256, -0.13665007054805756, 0.21777558326721191, 0.5671512484550476, -0.2972187399864197, 0.4740760326385498, 0.32598403096199036, -0.21066270768642426, -0.47059696912765503, 0.8509069681167603, 0.33071792125701904, 0.4456692337989807, 0.5179842114448547, 0.2463374137878418, -0.03131965175271034, -0.2558306157588959, -0.5827483534812927, -0.14975954592227936, -0.7096855640411377, -0.32259103655815125, -0.5203017592430115, -0.3771786391735077, -0.24607892334461212, -0.9354237914085388, -0.28229770064353943, -0.32986387610435486, -0.4219660758972168, -0.07306772470474243, 0.34306272864341736, 1.046329140663147, 0.11783682554960251, 0.6616224050521851, -0.5738019943237305, 0.311652809381485, 0.32745561003685, 0.7980103492736816, -0.1398816853761673, -0.5163586735725403, -0.3384316563606262, -0.10349606722593307, -0.5552331805229187, -0.6387026309967041, 0.40515321493148804, 0.4588525593280792, 0.09866835176944733, 0.27156999707221985, -0.0785878524184227, 0.7598565220832825, -0.9525127410888672, 0.9628308415412903, -0.19371221959590912, -1.2130005359649658, 0.9662121534347534, -0.29621732234954834, 0.6279405951499939, 0.8658568859100342, -0.08258981257677078, -0.23477046191692352, -0.7505282759666443, -0.7867081165313721, -1.061794638633728, 0.496769517660141, -0.06289014220237732, 0.2696616053581238, -0.1768084466457367, 0.8170959949493408, 0.34028780460357666, 0.1423153132200241, -0.46797260642051697, 0.11387813091278076, -0.3495544493198395, -0.344828337430954, -0.3027494251728058, -0.47012874484062195, 0.22188568115234375, -0.19795240461826324, 0.3719536364078522, -0.13837549090385437, -0.15074923634529114, 0.45009905099868774, -0.008084243163466454, -0.2498226910829544, 0.3166297376155853, 0.9571294188499451, 0.4437159597873688, -0.23248866200447083, 0.31325650215148926, 0.21908842027187347, -0.4529758095741272, 0.21580271422863007, -0.3812599778175354, -0.5466814041137695, 0.1431819647550583, 0.3913475573062897, 0.5268574357032776, 0.5982375144958496, -0.5744525194168091, 0.40892598032951355, 0.06029850244522095, -0.6654372215270996, -0.048807404935359955, 0.2527431845664978, -0.19403551518917084, 0.1432332843542099, -0.2947623133659363, -0.007801537401974201, 0.25931456685066223, -0.5370602011680603, 0.7481109499931335, 0.05650480091571808, -0.6760122776031494, -0.0985402762889862, 0.8166388869285583, 0.17419850826263428, -0.29481419920921326, 0.37618377804756165, -0.10762932896614075, -0.08081759512424469, 0.41707277297973633, 0.7660393118858337, 0.8616021871566772, -0.24014851450920105, 0.22392205893993378, 0.5603552460670471, 0.0700812041759491, -0.04858851060271263, 0.44890084862709045, -0.1178024411201477, -0.5396338701248169, -0.6072291135787964, -0.6231687068939209, -0.4360082745552063, 0.13446323573589325, -0.799725353717804, 0.34129419922828674, -0.8660555481910706, 0.05091215670108795, 0.1669808328151703, -0.15254849195480347, -0.21733485162258148, 0.7267459034919739, -0.3421044945716858, 0.7616863250732422, -0.81633061170578, 0.8379519581794739, 0.6141323447227478, -0.5361577868461609, -0.9936299920082092, 0.21045783162117004, -0.2732730507850647, -0.2384391725063324, 0.5589777827262878, 0.26359373331069946, -0.18956708908081055, -0.02348424308001995, -0.7485584616661072, -1.0666537284851074, 0.876460075378418, 0.20992673933506012, -0.5635455846786499, 0.18394146859645844, -0.005126611329615116, 0.6259406208992004, -0.44633036851882935, -0.158765971660614, 0.6356711387634277, 0.1871616393327713, 0.003168626921251416, -0.9249818921089172, -0.05151285603642464, -0.10659973323345184, 0.2542300224304199, 0.29394346475601196, -0.636354386806488, 0.8465365767478943, -0.06371482461690903, -0.177348330616951, 0.008858047425746918, 0.8555132746696472, -0.044783689081668854, 0.3574593663215637, 0.3147972524166107, 0.636493444442749, 0.5862019658088684, -0.0437590666115284, 0.8788998126983643, -0.180640310049057, 0.41149377822875977, 1.6183074712753296, 0.04799739643931389, 0.9328956007957458, 0.6787254810333252, 0.2978530824184418, 0.5386309623718262, 0.6914704442024231, 0.17927810549736023, 0.844344437122345, 0.6212075352668762, -0.10083546489477158, 0.0952024981379509, -0.27416476607322693, 0.10088631510734558, 0.40575024485588074, 0.19920751452445984, -0.5056682229042053, -0.31731536984443665, 0.2574656307697296, 0.11513285338878632, 0.5642218589782715, -0.5870586037635803, 0.883803129196167, -0.07946888357400894, -0.7847544550895691, 0.7632604837417603, 0.17087973654270172, 0.7601565718650818, -0.2250806987285614, -0.11221574246883392, -0.4618953466415405, 0.40463942289352417, -0.5003644824028015, -0.9962466955184937, 0.8485587239265442, 0.1830693632364273, -0.6629617214202881, -0.3601008951663971, 0.41186752915382385, -0.6884741187095642, -0.48728957772254944, 0.03485295921564102, 0.18211480975151062, 0.05741368606686592, 0.21496634185314178, -0.1890859156847, -0.24739348888397217, 0.2865321636199951, -0.21610872447490692, 0.17910653352737427, 0.9298802614212036, -0.25507664680480957, 0.5116032361984253, 0.24990983307361603, -0.20606696605682373, 0.057761404663324356, 0.2116791307926178, 0.7978690266609192, -0.7373937964439392, -0.4494302570819855, -0.6230905055999756, 0.4286784827709198, 0.1877330094575882, -0.7491908669471741, 0.573100209236145, 0.5629501938819885, 1.4123222827911377, -0.017794936895370483, 0.8461090922355652, -0.06532414257526398, 0.5157725811004639, -0.5123666524887085, 0.5478748083114624, -0.5748286843299866, -0.15002453327178955, -0.3537304997444153, -0.7801796793937683, -0.6274625062942505, 0.8070352673530579, -0.21985532343387604, -0.11545483022928238, 0.7115185260772705, 0.6790445446968079, -0.06764518469572067, -0.23222410678863525, 0.3626069128513336, 0.04996086657047272, 0.2820528447628021, 0.6427918672561646, 0.6264925003051758, -0.3020755350589752, 0.09397045522928238, -0.5009320974349976, -0.45538464188575745, -0.1651766151189804, -0.6968477368354797, -0.953360378742218, -0.5635396242141724, -0.3331652581691742, -0.4387630820274353, -0.33668166399002075, 0.5958007574081421, 0.4160606861114502, -0.8976922035217285, -0.06325661391019821, -0.5171055197715759, 0.06648322939872742, -0.02068524993956089, -0.3435570299625397, 0.24762532114982605, -0.8823122978210449, -0.7433757781982422, 0.3151884377002716, 0.16537918150424957, 0.25102049112319946, -0.2835533618927002, 0.11004044860601425, -0.00676598958671093, 0.20233245193958282, 0.7685844898223877, -0.025585690513253212, -0.7739933133125305, -0.6885436177253723, -0.2053661346435547, -0.31172746419906616, 0.029366444796323776, 0.8521685004234314, -0.6230738162994385, 0.22782495617866516, 0.5947120189666748, 0.5189131498336792, 0.14404259622097015, -0.028228886425495148, 0.600805401802063, -1.0652027130126953, 0.2479659765958786, -0.0680718645453453, 0.19898343086242676, 0.3750030994415283, -0.5526047348976135, 0.1905890554189682, 0.03715379163622856, -0.7571930289268494, -0.4845614731311798, 0.3793194890022278, -0.9006597399711609, -0.4536565840244293, 1.1782641410827637, -0.0868970975279808, -0.3462222218513489, -0.001409156247973442, -0.6330807209014893, 0.32458651065826416, -0.2635004222393036, 0.902888834476471, 0.5240358710289001, 0.012208142317831516, -0.1983230710029602, -0.3585658371448517, 0.5985787510871887, 0.20702695846557617, -0.7163172364234924, 0.21186216175556183, 0.6403366327285767, 0.26864585280418396, -0.0025196734350174665, 0.5084317922592163, 0.0857381820678711, -0.034212734550237656, 0.09105194360017776, 0.005747239105403423, 0.25937381386756897, -0.49542269110679626, -0.13369859755039215, 0.28708070516586304, 0.013286079280078411, -0.020315026864409447 ]
http://arxiv.org/abs/2406.11328v1
http://arxiv.org/pdf/2406.11328v1
Are Large Language Models True Healthcare Jacks-of-All-Trades? Benchmarking Across Health Professions Beyond Physician Exams
2024-06-17T08:40:36
2024-06-17T08:40:36
Zheheng Luo, Chenhan Yuan, Qianqian Xie, Sophia Ananiadou
cs.CL
cs.CL
Recent advancements in Large Language Models (LLMs) have demonstrated their potential in delivering accurate answers to questions about world knowledge. Despite this, existing benchmarks for evaluating LLMs in healthcare predominantly focus on medical doctors, leaving other critical healthcare professions underrepresented. To fill this research gap, we introduce the Examinations for Medical Personnel in Chinese (EMPEC), a pioneering large-scale healthcare knowledge benchmark in traditional Chinese. EMPEC consists of 157,803 exam questions across 124 subjects and 20 healthcare professions, including underrepresented occupations like Optometrists and Audiologists. Each question is tagged with its release time and source, ensuring relevance and authenticity. We conducted extensive experiments on 17 LLMs, including proprietary, open-source models, general domain models and medical specific models, evaluating their performance under various settings. Our findings reveal that while leading models like GPT-4 achieve over 75\% accuracy, they still struggle with specialized fields and alternative medicine. Surprisingly, general-purpose LLMs outperformed medical-specific models, and incorporating EMPEC's training data significantly enhanced performance. Additionally, the results on questions released after the models' training cutoff date were consistent with overall performance trends, suggesting that the models' performance on the test set can predict their effectiveness in addressing unseen healthcare-related queries. The transition from traditional to simplified Chinese characters had a negligible impact on model performance, indicating robust linguistic versatility. Our study underscores the importance of expanding benchmarks to cover a broader range of healthcare professions to better assess the applicability of LLMs in real-world healthcare scenarios.
[ 0.1221667006611824, -0.5513179302215576, 0.9422488212585449, -0.037693966180086136, -0.013796646147966385, -0.20355476438999176, -0.1793488711118698, -0.7365012764930725, -0.07853933423757553, 0.4886452555656433, -0.24077408015727997, -0.4329906404018402, -0.5851826071739197, 0.24762889742851257, -0.08373324573040009, 0.439721941947937, 0.06903684139251709, 0.4411429166793823, -0.11184737086296082, -0.3617071509361267, -0.012691684067249298, -0.8218693137168884, -0.7308295965194702, -0.6294106841087341, 0.45334964990615845, -0.188375785946846, 0.6751514673233032, 0.7237610220909119, 0.4989994764328003, 0.17840012907981873, -0.10002636909484863, 0.2756844758987427, -0.011592244729399681, 0.02025420591235161, 0.025637727230787277, -0.5103737115859985, -0.47466298937797546, 0.11252331733703613, 0.6947821974754333, 0.9266733527183533, -0.25494277477264404, 0.03163650631904602, -0.020332980901002884, 0.37518757581710815, -0.49879932403564453, 0.1079416573047638, -0.5563949942588806, 0.15380749106407166, -0.18454742431640625, -0.2579508423805237, -0.3500515818595886, -0.3616635203361511, 0.019852804020047188, -0.2990965247154236, -0.12699860334396362, -0.0016827303916215897, 0.8393564820289612, 0.20619216561317444, -0.8725218772888184, 0.028841767460107803, -0.4852619767189026, 0.5797479152679443, -0.8965210914611816, 0.7293891310691833, 0.29142680764198303, 0.4476065933704376, -0.08016334474086761, -0.8014031052589417, -0.1949949860572815, -0.502138078212738, 0.12482573091983795, 0.35565704107284546, -0.020238498225808144, 0.29393044114112854, 0.3642207384109497, 0.538195013999939, -0.42840635776519775, 0.6297423243522644, -0.3326936364173889, -0.015139959752559662, 0.608614981174469, 0.45829474925994873, 0.5814868211746216, 0.02812635898590088, -0.22071343660354614, 0.09663672745227814, -1.0173771381378174, 0.08133973181247711, -0.32676056027412415, -0.00805753841996193, -0.19245703518390656, 0.4917551279067993, 0.01720215380191803, 0.6913849115371704, -0.382240891456604, -0.3912694454193115, 0.0920172929763794, -0.22140997648239136, -0.4821073114871979, -0.1720467209815979, 0.806576669216156, 0.2128705084323883, 0.12626215815544128, -0.18704423308372498, -0.3289507329463959, -0.2043990194797516, 0.3407588601112366, -0.5288894772529602, -0.3200700283050537, 0.25447705388069153, -0.613190233707428, -0.10485514998435974, -0.02912939339876175, -0.33950719237327576, -0.5856831073760986, -0.1927911788225174, 0.18237662315368652, -0.10384686291217804, -0.23803190886974335, 0.11309763044118881, 0.22727201879024506, 0.4294375479221344, 0.37477901577949524, -0.787783145904541, 0.3067780137062073, 1.0081045627593994, 0.8655920624732971, -0.10257270932197571, -0.267115980386734, -0.3443324863910675, -0.11943623423576355, -0.7192277312278748, 0.5990492105484009, -0.42144912481307983, -0.21762336790561676, 0.20102038979530334, 0.17800095677375793, -0.294806569814682, -0.8010152578353882, 0.44621437788009644, -0.2091187834739685, -0.1731434017419815, -0.3401983380317688, -0.6221117973327637, 0.054154977202415466, 0.637582004070282, -0.5838047862052917, 0.8279880881309509, 0.21526555716991425, -0.5157396197319031, 0.3647438883781433, -0.419203519821167, -0.3032523989677429, 0.14913757145404816, -0.6460961103439331, -0.3000656068325043, -0.049318525940179825, 0.20891200006008148, 0.5685897469520569, -0.9239819645881653, 0.13974450528621674, -0.23402276635169983, -0.3982180655002594, 0.5631723403930664, -0.5295370221138, 0.9039532542228699, 0.07572077214717865, -0.1904810518026352, -0.130201518535614, -0.3844586908817291, 0.15853410959243774, 0.1201162040233612, -0.3431514799594879, -0.4486849904060364, -0.10098345577716827, 0.03444802761077881, 0.4554777443408966, -0.20484596490859985, -0.5815346837043762, 0.08845359086990356, -0.4900359809398651, 0.4671196937561035, 0.5489110946655273, 0.0178968608379364, -0.11375515908002853, -0.557682991027832, 0.6117095947265625, -0.2643601894378662, 0.4554439187049866, -0.11487292498350143, -0.7129548788070679, -0.4133981466293335, -0.34184497594833374, 0.39550432562828064, 0.29603466391563416, -0.4997848570346832, 0.39743131399154663, -0.19184261560440063, -0.9317089915275574, -0.7027296423912048, -0.08070484548807144, 0.2888262867927551, 0.5291018486022949, 0.12008944153785706, -0.18238739669322968, 0.09658229351043701, -0.878994882106781, -0.642047107219696, -0.29674383997917175, -0.42839714884757996, 0.4867739975452423, 0.35313522815704346, -0.16231407225131989, 0.1789812296628952, -0.38182327151298523, -0.2972506880760193, -0.24986077845096588, -0.3029640316963196, 0.30912768840789795, 0.29600805044174194, 0.5648213624954224, -0.6416534781455994, -0.4015539884567261, 0.2512769103050232, -0.656949520111084, -0.18544431030750275, -0.15485773980617523, -0.011899095959961414, -0.016861790791153908, 0.35005101561546326, -0.2489405870437622, 0.01930021494626999, 0.7925772070884705, -0.15869882702827454, 0.6077900528907776, -0.3374285101890564, 0.28280919790267944, -0.7480714917182922, 0.32441961765289307, 0.16906610131263733, -0.180293008685112, -0.6298601627349854, 0.21673916280269623, 0.41651463508605957, -0.015993673354387283, -0.47141599655151367, 0.7837328314781189, -0.601905345916748, 0.020390193909406662, -0.0008782568038441241, 0.1018354520201683, -0.056661032140254974, 0.10275411605834961, -0.06791935116052628, 0.3983611762523651, 0.7096519470214844, -0.6468220949172974, 0.4188300669193268, 0.1233249083161354, -0.4843789339065552, 0.4256565272808075, -0.7621144652366638, -0.0514790415763855, 0.4062081575393677, 0.14392918348312378, -0.7640477418899536, -0.17664498090744019, -0.02896786481142044, -0.14884191751480103, 0.08716964721679688, -0.01733998768031597, -0.7301021814346313, -0.45207056403160095, 0.06333956122398376, 0.3183320462703705, 0.7906274199485779, -0.5032151937484741, 0.5164393782615662, 0.4620479345321655, 0.10312927514314651, -0.43011799454689026, -0.9008927941322327, -0.17862153053283691, 0.15095506608486176, -0.5395082235336304, 0.23509016633033752, 0.30512315034866333, -0.32191577553749084, -0.43222805857658386, -0.38280221819877625, -0.42553311586380005, 0.20243975520133972, 0.018638186156749725, 0.5407847166061401, -0.2933543026447296, 0.3200643062591553, -0.22396866977214813, 0.24608100950717926, 0.30088725686073303, -0.08284030854701996, 0.27098745107650757, 0.12209652364253998, -0.8419452905654907, -0.24755367636680603, 0.009949669241905212, 0.7489712834358215, -0.3774584233760834, 0.6329413056373596, 0.22503186762332916, -0.4740805923938751, -0.01012219488620758, -0.9090940952301025, -0.3206537365913391, -0.41508761048316956, 0.6171076893806458, -0.1563275307416916, -0.7524329423904419, 0.5401018261909485, -0.20348916947841644, 0.4508911967277527, 0.45054298639297485, 0.5584940910339355, 0.20483601093292236, 0.9555010199546814, 0.36849233508110046, 0.06118154898285866, 0.05236438289284706, 0.19655592739582062, 0.20170098543167114, -0.7405819892883301, -0.3189034163951874, -0.3959263563156128, -0.009982704184949398, -0.833918035030365, -0.5301910042762756, 0.8353700041770935, -0.3802158236503601, -0.20414134860038757, -0.08552964776754379, -0.4700813591480255, 0.1971244364976883, 0.1712544560432434, 0.4246867895126343, 0.4491530656814575, -0.4202154576778412, -0.12846548855304718, -0.0415082648396492, -0.7414120435714722, -0.3553726077079773, 1.246038556098938, 0.78117436170578, 0.78529292345047, -0.07321494817733765, 0.3799123466014862, -0.07058855146169662, 0.5391433238983154, -0.8434361219406128, 0.23217624425888062, -0.5252964496612549, -0.6709263324737549, -0.2726607918739319, -0.47559061646461487, -0.8125801086425781, 0.48673221468925476, -0.13964106142520905, -0.3609020709991455, -0.022546274587512016, 0.04279191046953201, -0.4928719997406006, 0.61823570728302, -0.15545494854450226, 0.8800367712974548, -0.6004545092582703, -0.17128247022628784, 0.06815294176340103, -0.522372305393219, 0.49887195229530334, -0.3556349575519562, 0.12724962830543518, -0.32181671261787415, -0.32668378949165344, 0.653903067111969, -0.16371896862983704, 0.7008644342422485, 0.132086843252182, -0.3256612718105316, -0.22019577026367188, -0.07865022122859955, 0.27832484245300293, -0.01374285202473402, -0.35753029584884644, 0.4275040328502655, 0.3043360710144043, -0.43650877475738525, -0.5347585678100586, 0.5657538175582886, -0.6465950012207031, -0.6809743642807007, -0.548048198223114, -0.19777223467826843, -0.5432215929031372, 0.22883503139019012, 0.16933457553386688, 0.5696757435798645, -0.3838988244533539, 0.1498630940914154, 0.5023059248924255, -0.44699323177337646, -0.12567095458507538, 0.7697504162788391, 0.053231943398714066, -0.023023219779133797, 0.3176822066307068, 0.3016347289085388, 0.4384329319000244, 0.32297712564468384, 0.32989439368247986, -0.29293325543403625, -0.41682782769203186, -0.4894252419471741, 0.5995151400566101, -0.7513189911842346, 0.06929716467857361, -0.8646572828292847, -0.5915091037750244, -0.3424566984176636, -0.05188228562474251, -0.4966370165348053, 0.14346325397491455, 0.12717433273792267, 0.23448807001113892, 0.0174648929387331, 0.7462102174758911, 0.3284662365913391, -0.1741282194852829, -0.9642060995101929, 0.20570902526378632, 0.2165451943874359, 0.5152600407600403, 0.040060002356767654, -0.5636134147644043, -0.23935827612876892, -0.06882129609584808, -0.27026793360710144, -0.7993521094322205, 0.2539350688457489, -0.024450654163956642, 0.996419370174408, 0.6034111380577087, 0.1303316205739975, 0.32552558183670044, -0.6508182883262634, 1.0113837718963623, 0.3375628590583801, -0.6626459956169128, 0.09456433355808258, -0.3531838059425354, 0.33972781896591187, 0.41318878531455994, 0.44587263464927673, -0.9460403323173523, -0.40111878514289856, -0.408400297164917, -0.6310569047927856, 0.4590819478034973, -0.11856735497713089, 0.13560165464878082, 0.007273797877132893, 0.3199969530105591, 0.0713861808180809, 0.0054663424380123615, -0.7402665019035339, -0.2926191985607147, 0.2032700926065445, -0.043921925127506256, 0.14713016152381897, -0.03540034592151642, -0.31618914008140564, -0.238381028175354, 0.3335963785648346, -0.0651865154504776, 0.2537614107131958, 0.3151458501815796, 0.31734904646873474, 0.060866501182317734, 0.5179936289787292, 0.3108041286468506, 1.0224801301956177, 0.15189135074615479, 0.016449425369501114, 0.3939691185951233, -0.4501138925552368, 0.1252889186143875, 0.05386967211961746, 0.2310621440410614, 0.10692039877176285, 0.49354287981987, 0.35791513323783875, 0.27645766735076904, -0.9751102924346924, 0.7487346529960632, 0.215406134724617, -0.24763914942741394, -0.46022507548332214, 0.027218231931328773, -0.002699528355151415, 0.1199379414319992, 0.3159343898296356, -0.19330860674381256, 0.10530132800340652, -0.7009056806564331, 0.11111550033092499, 0.3832525312900543, -0.48547789454460144, -0.13219724595546722, 0.9159905910491943, 0.35406070947647095, 0.049662280827760696, 0.6197695136070251, 0.5136022567749023, -0.4207139313220978, 0.8095428347587585, 0.39116111397743225, 0.688595712184906, -0.3853578269481659, -0.09381688386201859, 0.31029948592185974, 0.5097495317459106, -0.4922862648963928, 0.14411263167858124, 0.23667195439338684, -0.4982568025588989, -0.35209351778030396, -0.18355098366737366, -0.8148907423019409, 0.20783931016921997, -0.6009302139282227, 0.28068703413009644, -0.5265089273452759, -0.15140078961849213, -0.061139266937971115, -0.12838523089885712, -0.7684665322303772, 0.45949527621269226, 0.3446499705314636, 1.0552746057510376, -0.7805888652801514, 0.9514980912208557, 0.7583317160606384, -0.23846718668937683, -1.0073617696762085, 0.29830682277679443, 0.05593792721629143, -1.0001229047775269, 0.48689910769462585, 0.19652964174747467, 0.3607819080352783, -0.435431569814682, -0.11965356022119522, -0.5199196934700012, 1.0781008005142212, 0.3542262315750122, -0.6794248819351196, -0.4182654023170471, 0.2598933279514313, 0.6813865303993225, -0.3569691479206085, 0.6409971117973328, 0.6910811066627502, 0.3827980160713196, -0.3640232980251312, -1.4858299493789673, 0.2803371250629425, -0.22141458094120026, -0.18583157658576965, -0.0377633199095726, -0.96174556016922, 1.1411367654800415, -0.04439589008688927, -0.16940635442733765, 0.05949632078409195, -0.050018060952425, 0.508306086063385, 0.3170107901096344, 0.5265750885009766, -0.07641613483428955, 0.757530689239502, -0.297978013753891, 1.3420487642288208, -0.3971792757511139, 0.05455394461750984, 0.5718203783035278, -0.5974062085151672, 0.6889032125473022, 0.23346388339996338, -0.3470444977283478, 0.14795134961605072, 0.7363699674606323, -0.32570990920066833, 0.06658532470464706, 0.2616296112537384, -0.17565381526947021, -0.5665667057037354, -0.18287917971611023, -0.6496596336364746, 0.524258553981781, 0.13598187267780304, -0.7358285784721375, 0.09356478601694107, -0.15243571996688843, -0.0656856819987297, 0.10114174336194992, -0.3879425525665283, 0.5914679765701294, 0.4430575966835022, -0.5899397134780884, 0.6663477420806885, -0.1068367138504982, 0.7191871404647827, -0.9049976468086243, -0.08045758306980133, -0.09633186459541321, 0.20175409317016602, -0.07442983984947205, -0.6711613535881042, -0.02050645463168621, -0.22746062278747559, 0.28174325823783875, -0.08696296811103821, 0.5344034433364868, -0.44043248891830444, -0.3940638601779938, 0.37973129749298096, 0.6945034265518188, 0.38673269748687744, -0.25992149114608765, -0.6900831460952759, -0.22554124891757965, -0.14330559968948364, -0.10604517161846161, 0.42105832695961, 0.37333571910858154, 0.07800226658582687, 0.6503414511680603, 0.42169350385665894, 0.599618673324585, -0.17871113121509552, 0.19463685154914856, 0.7844212651252747, -0.5991608500480652, -0.6488179564476013, -0.8960168957710266, 0.12285856157541275, -0.030863316729664803, -0.40865764021873474, 0.6931998133659363, 0.34963274002075195, 0.7007189393043518, -0.06882229447364807, 0.8448968529701233, 0.4243760406970978, 0.5589094758033752, -0.5702246427536011, 1.1793687343597412, -1.0764163732528687, 0.08710875362157822, -0.22604642808437347, -0.5726742744445801, -0.3281201422214508, 0.19075988233089447, -0.3953956365585327, 0.25149276852607727, 0.7232512831687927, 0.43028753995895386, -0.029458632692694664, -0.030316049233078957, 0.9727938175201416, 0.05282680690288544, 0.39817604422569275, 0.6584583520889282, 0.7435137629508972, -0.4413510859012604, 0.3965350091457367, -0.2481895089149475, -0.20286504924297333, -0.18317914009094238, -0.39049333333969116, -1.0449812412261963, -0.20890803635120392, -0.2545318305492401, -0.15420427918434143, 0.158874049782753, 1.10922110080719, 0.611217200756073, -0.6311203241348267, -0.1186019629240036, 0.49734804034233093, -0.2999870181083679, -0.6157312393188477, -0.11408920586109161, 0.5099960565567017, 0.01625659130513668, -0.6745684146881104, 0.34762948751449585, 0.19353801012039185, -0.04796651005744934, -0.36413922905921936, 0.12927235662937164, 0.06541544944047928, 0.1624421924352646, 0.4225241243839264, 0.2392355352640152, -1.0092004537582397, 0.10951156169176102, 0.36454978585243225, -0.5641193985939026, 0.11587006598711014, 1.0304057598114014, -0.28280961513519287, 0.4390057325363159, 0.2602461576461792, 0.8245514035224915, -0.12719455361366272, -0.14836829900741577, 0.6107016205787659, -0.32104048132896423, 0.0024511627852916718, 0.4777807593345642, 0.6217494010925293, 0.2924811840057373, -0.510928213596344, 0.6457342505455017, 0.015390823595225811, -0.7492368817329407, -0.8927770853042603, -0.15383072197437286, -0.660498857498169, -0.3399352431297302, 1.1972100734710693, -0.22116097807884216, -0.06935875862836838, -0.396668404340744, 0.05745244026184082, 0.2689020037651062, 0.027782989665865898, 0.8315066695213318, 0.44408097863197327, -0.25184857845306396, -0.21929322183132172, -1.0067805051803589, 0.4210983216762543, 0.7181856036186218, -0.9301589131355286, 0.24475660920143127, 0.25993379950523376, 0.5244454145431519, -0.2967946231365204, 0.9907872676849365, -0.4767935276031494, 0.645962655544281, 0.03644906356930733, 0.10033538192510605, -0.11436023563146591, 0.07441338151693344, -0.18053807318210602, -0.0877697691321373, 0.2049732357263565, -0.06934286653995514 ]
http://arxiv.org/abs/2406.11925v2
http://arxiv.org/pdf/2406.11925v2
DocCGen: Document-based Controlled Code Generation
2024-06-17T08:34:57
2024-07-03T09:16:27
Sameer Pimparkhede, Mehant Kammakomati, Srikanth Tamilselvam, Prince Kumar, Ashok Pon Kumar, Pushpak Bhattacharyya
cs.SE
cs.SE, cs.AI, cs.CL
Recent developments show that Large Language Models (LLMs) produce state-of-the-art performance on natural language (NL) to code generation for resource-rich general-purpose languages like C++, Java, and Python. However, their practical usage for structured domain-specific languages (DSLs) such as YAML, JSON is limited due to domain-specific schema, grammar, and customizations generally unseen by LLMs during pre-training. Efforts have been made to mitigate this challenge via in-context learning through relevant examples or by fine-tuning. However, it suffers from problems, such as limited DSL samples and prompt sensitivity but enterprises maintain good documentation of the DSLs. Therefore, we propose DocCGen, a framework that can leverage such rich knowledge by breaking the NL-to-Code generation task for structured code languages into a two-step process. First, it detects the correct libraries using the library documentation that best matches the NL query. Then, it utilizes schema rules extracted from the documentation of these libraries to constrain the decoding. We evaluate our framework for two complex structured languages, Ansible YAML and Bash command, consisting of two settings: Out-of-domain (OOD) and In-domain (ID). Our extensive experiments show that DocCGen consistently improves different-sized language models across all six evaluation metrics, reducing syntactic and semantic errors in structured code. We plan to open-source the datasets and code to motivate research in constrained code generation.
[ -0.3352305293083191, -0.6841654181480408, 0.540428102016449, 0.1628199815750122, -0.09033876657485962, 0.16502459347248077, -0.4739351272583008, -0.22757449746131897, -0.24626126885414124, 0.8357561826705933, -0.49280813336372375, -0.8909674882888794, -0.3787558972835541, 0.3026488423347473, -0.4014579653739929, 0.9003684520721436, -0.10399821400642395, 0.03849871829152107, -0.37013939023017883, 0.22891928255558014, 0.029177367687225342, -0.4271979033946991, -0.3646102845668793, 0.06016379967331886, 0.10224375128746033, 0.397932231426239, 0.37799862027168274, 0.8545882105827332, 0.38828399777412415, 0.22021739184856415, -0.010612445883452892, 0.6835218071937561, -0.4682658016681671, 0.3525305390357971, -0.11685652285814285, -0.41717714071273804, -0.40268218517303467, -0.13109295070171356, 0.42713627219200134, 0.6471136212348938, -0.25272393226623535, -0.06393551826477051, -0.1275317370891571, 0.3912619352340698, -0.4330427050590515, 0.32402172684669495, -0.6952616572380066, -0.06878276914358139, -0.010124082677066326, -0.5472093820571899, -0.5855808258056641, -0.3230995833873749, -0.3864087462425232, -0.8165510296821594, 0.4773949980735779, -0.11552752554416656, 0.7091285586357117, 0.46045929193496704, -0.36586979031562805, -0.7355884313583374, -0.7162652015686035, 0.7113193869590759, -0.9077728986740112, 0.3002905249595642, 0.29679355025291443, 0.021059738472104073, -0.507850170135498, -1.1028350591659546, -0.5932031869888306, -0.309285968542099, -0.2800746560096741, 0.0005171175580471754, 0.20017977058887482, 0.06528684496879578, 0.3916759192943573, 0.29630333185195923, -0.5684107542037964, 0.08817128837108612, -0.5192402005195618, -0.08224961161613464, 0.581103503704071, 0.1511336863040924, 0.29949894547462463, -0.045308273285627365, -0.15807166695594788, -0.2075033187866211, -0.8154895901679993, -0.22717329859733582, 0.4809277057647705, 0.41780808568000793, -0.08983561396598816, 0.46982860565185547, -0.027382221072912216, 0.8015050292015076, 0.26931437849998474, -0.13133235275745392, 0.09600517153739929, -0.37579721212387085, -0.20614302158355713, -0.04774541035294533, 0.6815895438194275, 0.18386729061603546, 0.21165011823177338, -0.3270600438117981, -0.29807958006858826, 0.36661186814308167, 0.6027287840843201, -0.7893181443214417, 0.07375775277614594, 0.42284849286079407, -0.25916922092437744, -0.5361396074295044, -0.04709488898515701, -0.6129565238952637, -0.31746166944503784, -0.3116946816444397, -0.40624159574508667, -0.3920288681983948, -0.2170601189136505, 0.09783314168453217, -0.31480672955513, 0.31354811787605286, 0.2618035674095154, -0.8174247145652771, 0.25782567262649536, 0.68369060754776, 0.5780459046363831, -0.14809271693229675, -0.12483502924442291, -0.6700827479362488, 0.3549225926399231, -0.5748576521873474, 0.5325245261192322, -0.535980224609375, -0.8360740542411804, 0.22566156089305878, -0.03667030483484268, 0.008246717043220997, -0.4635099172592163, 0.4058534502983093, -0.47533169388771057, 0.28301215171813965, 0.16610050201416016, -0.6700332760810852, 0.36997637152671814, 0.12624868750572205, -0.540338933467865, 0.940930187702179, 0.6038225889205933, -0.9187094569206238, 0.5410455465316772, -0.5682628154754639, -0.6890096664428711, 0.3785568177700043, -0.674993097782135, -0.21056196093559265, 0.067703478038311, -0.08460396528244019, 0.3365640938282013, -0.33689621090888977, 0.3893761932849884, -0.05269255116581917, -0.29441219568252563, -0.2780991196632385, 0.12705375254154205, 0.6714250445365906, 0.4883668124675751, -0.4534465968608856, 0.09812760353088379, -1.1004524230957031, 0.2859233617782593, 0.15168745815753937, -0.8094239234924316, -0.33442580699920654, 0.07255923002958298, 0.09827151894569397, 0.3481267988681793, 0.08014658093452454, -0.45325806736946106, 0.5489407181739807, -0.44860705733299255, 0.4530070126056671, 0.44330891966819763, 0.08527851104736328, 0.649975061416626, 0.02891278825700283, 0.6279215216636658, -0.1107606291770935, 0.06015864387154579, -0.253248393535614, -0.11897536367177963, -0.5275794267654419, -0.35437747836112976, 0.07533040642738342, 0.48850029706954956, -0.8863196969032288, 0.5787240266799927, -0.21358336508274078, -0.34195417165756226, -0.40581315755844116, 0.46197670698165894, 0.35656389594078064, 0.6639677882194519, 0.21154247224330902, -0.42641526460647583, -0.5202627778053284, -0.5979769825935364, 0.34953951835632324, -0.21344082057476044, -0.17801785469055176, 0.34996846318244934, 0.14722660183906555, -0.4065049886703491, 0.932115375995636, -0.44733893871307373, -0.1842382401227951, -0.4110093414783478, 0.04293323680758476, 0.020017893984913826, 0.4883332848548889, 0.46042314171791077, -0.8806405663490295, -0.35068050026893616, 0.12211040407419205, -0.6591375470161438, -0.4207298457622528, -0.2996399402618408, -0.033657122403383255, 0.5220608711242676, 0.9478021264076233, -0.517989456653595, 0.21782995760440826, 0.6123752593994141, -0.37294474244117737, 0.5174732208251953, -0.6496054530143738, -0.07916585355997086, -1.0121599435806274, 0.28195181488990784, -0.14437837898731232, -0.1279648393392563, -0.6493317484855652, 0.4085252285003662, 0.4194006323814392, -0.07694696635007858, -0.4944179356098175, 0.39758774638175964, -0.33100610971450806, 0.04617178440093994, -0.22164036333560944, -0.030193032696843147, 0.2876371741294861, 0.3902897834777832, 0.34318554401397705, 0.8874656558036804, 0.4787602424621582, -0.7572901844978333, 0.1028648316860199, 0.4414084851741791, -0.18813827633857727, 0.535257875919342, -0.5768091082572937, 0.2812315821647644, 0.01576581597328186, 0.33191433548927307, -0.38138100504875183, -0.23450103402137756, 0.10030318796634674, -0.23905886709690094, 0.7871663570404053, -0.25091850757598877, -0.7398481965065002, -0.19459380209445953, -0.006341591943055391, -0.10962584614753723, 0.4643127918243408, -0.4994949698448181, 0.4306323826313019, 0.1000693216919899, -0.06393129378557205, -0.34044694900512695, -0.600492000579834, 0.15708576142787933, -0.01323757879436016, -0.7717357277870178, 0.4579591155052185, -0.3178873360157013, -0.3061574399471283, 0.010426057502627373, -0.09477713704109192, -0.001420108019374311, 0.131508007645607, 0.19496425986289978, 0.28475049138069153, -0.054395873099565506, 0.06539271771907806, 0.1765177696943283, -0.11506292223930359, -0.10266566276550293, -0.7130560874938965, 0.625887393951416, -0.041178636252880096, -0.3074761927127838, 0.2685374915599823, 0.5436786413192749, 0.6253191828727722, -0.6616613864898682, 0.491361528635025, 0.46740981936454773, -0.013656439259648323, -0.9374081492424011, -0.0677381232380867, 0.04584723338484764, -0.5085639953613281, 0.28695395588874817, -0.23226967453956604, -0.8517439365386963, 0.1901761144399643, -0.3955318033695221, 0.26452428102493286, 0.2726840674877167, 0.7498431205749512, 0.11836520582437515, 0.8977513909339905, 0.8910943865776062, 0.2743849456310272, 0.24813887476921082, -0.40079784393310547, 0.2098231166601181, -0.4534049332141876, -0.19576099514961243, -0.7370865345001221, 0.23882536590099335, -0.7899448275566101, -0.5055968761444092, 0.11474613845348358, 0.14289063215255737, 0.12395115196704865, 0.5073830485343933, -0.5911927223205566, 0.2554023861885071, 0.6230461001396179, -0.29012414813041687, 0.17808230221271515, -0.25810107588768005, -0.4038998782634735, 0.4425507187843323, -0.7402231693267822, -0.5259112119674683, 1.008426547050476, 0.10954798012971878, 0.8510283827781677, -0.14585097134113312, 1.0108352899551392, 0.4986043870449066, -0.013636093586683273, -0.5397912263870239, 0.4083859920501709, -0.3635876178741455, -0.5332326889038086, -0.1483193039894104, -0.6970437169075012, -0.7135922312736511, -0.3539043664932251, 0.0019969316199421883, -0.29098621010780334, 0.21038247644901276, 0.005017939489334822, 0.07140453904867172, -0.012074115686118603, -0.7082028388977051, 0.5698168873786926, -0.29580676555633545, -0.44413256645202637, -0.009796695783734322, -0.6418959498405457, 0.21444860100746155, -0.37387919425964355, 0.40017226338386536, 0.364613801240921, 0.16741658747196198, 0.2130132019519806, -0.5900895595550537, 0.6676510572433472, -0.254692018032074, -0.45491552352905273, 0.3181542158126831, 0.13500720262527466, 0.7712964415550232, 0.07592771202325821, -0.07111234962940216, 0.044507842510938644, 0.09454024583101273, -0.3780164122581482, -0.3968127369880676, 0.715934157371521, -0.4532400071620941, -0.48727667331695557, 0.034383829683065414, -0.643904983997345, -0.29510241746902466, 0.3910687565803528, 0.5040693879127502, 0.4337518513202667, -0.1536821573972702, 0.07180974632501602, 0.8737779259681702, -0.607414722442627, 0.1576632410287857, 0.5525631308555603, -0.030536577105522156, -0.07233163714408875, 0.6427490711212158, -0.22429972887039185, 0.4295612573623657, 0.28494372963905334, -0.10059771686792374, -0.11445652693510056, -0.7847669124603271, -0.6002677083015442, 0.013587696477770805, -0.8576117753982544, -0.1783721148967743, -0.5314381122589111, -0.22444936633110046, -0.6708952188491821, -0.50162273645401, -0.23104044795036316, -0.42440664768218994, -0.24923886358737946, -0.2535017132759094, 0.03152335435152054, 0.71031254529953, 0.050033509731292725, 0.07873192429542542, -0.720270574092865, 0.403978168964386, -0.06517107784748077, 0.549051821231842, -0.577072024345398, -0.08178255707025528, -0.2905392050743103, -0.23366263508796692, -0.059166014194488525, -0.5287677049636841, 0.3976380527019501, 0.23957492411136627, 0.7379212975502014, 0.34422311186790466, 0.3163599669933319, 0.13798321783542633, -0.5029248595237732, 0.6962109208106995, -0.02347502112388611, -0.7686525583267212, 0.6217505931854248, -0.37580782175064087, 0.20290599763393402, 0.40470343828201294, 0.03831315040588379, -0.48902201652526855, -0.9181504845619202, -0.6103518605232239, -1.0085912942886353, 0.7323471903800964, 0.12467692047357559, 0.10437063872814178, -0.23710736632347107, 0.30417001247406006, 0.24565166234970093, 0.23110704123973846, -0.15852396190166473, -0.12660928070545197, -0.36519578099250793, -0.26089921593666077, -0.0075445957481861115, 0.03340088203549385, -0.23879066109657288, 0.30750277638435364, 0.5757749080657959, -0.3671554625034332, 0.0023152255453169346, 0.2593310475349426, -0.27924928069114685, -0.24241125583648682, 0.3126029968261719, 0.6429131031036377, 0.6828998923301697, -0.38370877504348755, 0.06633161008358002, -0.2157510221004486, -0.49584701657295227, -0.07423459738492966, 0.1671493500471115, -0.4302203953266144, 0.024271994829177856, 0.43367403745651245, 0.47957539558410645, -0.27542003989219666, -0.9183552861213684, 0.4035661816596985, -0.26253393292427063, -0.5391727089881897, -0.11155103892087936, 0.49744951725006104, 0.12274094671010971, 0.0819639042019844, 0.13053159415721893, -0.13169993460178375, -0.12566937506198883, -0.3265087604522705, 0.533889651298523, 0.25544771552085876, -0.2404821366071701, 0.022022439166903496, 0.6845957040786743, 0.3075927793979645, -0.11682066321372986, 0.6499866843223572, -0.46764788031578064, -0.3478158712387085, 0.8252611756324768, 0.6173235177993774, 0.6881658434867859, 0.16244935989379883, 0.2375962734222412, 0.2731609344482422, 0.30513519048690796, 0.14365962147712708, 0.23326551914215088, -0.24028435349464417, -0.6074553728103638, -0.2790597677230835, -0.8244482278823853, -0.2866203486919403, 0.15216830372810364, -0.5818249583244324, 0.3659599721431732, -0.7797811627388, 0.07707531750202179, -0.25053662061691284, 0.12273021042346954, -0.7969872355461121, 0.21725305914878845, 0.28910183906555176, 1.3745471239089966, -0.5946173667907715, 1.2222989797592163, 0.523118793964386, -0.47859734296798706, -0.7731485366821289, -0.10285551846027374, -0.005775085184723139, -0.535592257976532, 0.5144197940826416, -0.1390368789434433, -0.14827972650527954, 0.1283629983663559, -0.6675116419792175, -0.3236992359161377, 1.2109816074371338, 0.16787216067314148, -0.617850124835968, -0.16303491592407227, 0.08475709706544876, 0.6833745837211609, -0.6046367883682251, -0.1739448755979538, 0.6307805776596069, 0.4498746395111084, 0.10491011291742325, -0.6068835258483887, 0.06434746086597443, -0.5225776433944702, -0.08468830585479736, 0.21777690947055817, -0.3160538971424103, 0.478349506855011, -0.23570844531059265, -0.33390897512435913, 0.0018244717502966523, 0.18533645570278168, 0.2665911614894867, 0.3116367757320404, 0.3779151439666748, 0.28750619292259216, 0.8331701159477234, 0.047321200370788574, 1.2703958749771118, -0.7533780932426453, 0.14220145344734192, 1.0126482248306274, -0.4403776526451111, 0.40141746401786804, 0.5516265034675598, 0.08314146101474762, 0.3980123996734619, 0.4175485074520111, -0.2612720727920532, 0.6860060095787048, 0.41408300399780273, -0.10192567110061646, -0.03958144783973694, -0.2102397233247757, -0.4557878077030182, 0.37975218892097473, 0.6188144087791443, -0.5772159099578857, -0.17568987607955933, -0.42271432280540466, 0.1377260833978653, 0.2912414073944092, -0.01933768391609192, 0.7645969390869141, -0.039873700588941574, -0.626564085483551, 0.5999820828437805, 0.33565932512283325, 0.5316608548164368, -1.0530924797058105, -0.026878757402300835, -0.5244432687759399, 0.027400512248277664, -0.2746996283531189, -0.33735546469688416, 0.4406083822250366, 0.3188849985599518, -0.12763278186321259, -0.5653111338615417, 0.929256796836853, -0.41301247477531433, -0.3069225251674652, 0.4552920162677765, 0.5142787098884583, -0.13508838415145874, 0.2957988977432251, -0.2852321267127991, -0.11110983788967133, 0.05122176185250282, -0.2975696623325348, 0.30106207728385925, 0.6024891138076782, -0.07562883198261261, 0.35492199659347534, 0.8705105781555176, 0.3890022337436676, 0.11570506542921066, 0.18585693836212158, 1.0469274520874023, -0.4556434750556946, -0.5481700897216797, -0.2516915798187256, 0.2973514497280121, -0.006376036908477545, -0.09004590660333633, 0.4788644015789032, 0.4717935025691986, 1.0648442506790161, -0.17864418029785156, 1.2094982862472534, -0.45958781242370605, 0.22549472749233246, -0.5993300676345825, 0.766852080821991, -0.5205877423286438, 0.4517100155353546, -0.0707162469625473, -0.7942494750022888, -0.293136328458786, 0.25626295804977417, -0.05165217071771622, -0.17277397215366364, 0.6320580244064331, 1.02238130569458, 0.08294807374477386, -0.4182291626930237, 0.41414448618888855, 0.02038705162703991, 0.6223461031913757, 0.49367108941078186, 0.6972050070762634, 0.21810254454612732, 0.7770658731460571, -0.1626109629869461, -0.2209746092557907, -0.07333339005708694, -0.9242226481437683, -0.7156728506088257, -0.5099791288375854, -0.25362589955329895, -0.46568816900253296, -0.12123459577560425, 0.8258906602859497, 0.6155651211738586, -0.6313877105712891, -0.07010442763566971, -0.5320721864700317, -0.06167595461010933, -0.13488803803920746, -0.17796455323696136, 0.3290025293827057, -0.7425166368484497, -0.7599940896034241, 0.574758768081665, 0.32357731461524963, -0.060247648507356644, -0.2738266587257385, -0.5571596622467041, 0.18428656458854675, 0.24647767841815948, 0.33012235164642334, 0.2516699433326721, -0.2869427800178528, 0.052185311913490295, 0.15703566372394562, -0.6242807507514954, -0.0016381972236558795, 1.1399116516113281, -0.6338847279548645, 0.5359135270118713, 0.5132712721824646, 0.42766115069389343, 0.3698214292526245, -0.02285458706319332, 0.7646435499191284, -1.087289571762085, 0.10472697019577026, 0.18149980902671814, 0.19409584999084473, 0.36217066645622253, -0.5137532949447632, 0.6473525762557983, 0.10791399329900742, -0.3349018096923828, -0.5932366251945496, 0.445947527885437, -0.8144322633743286, -0.6284978985786438, 1.4312909841537476, -0.3074522018432617, -0.16825398802757263, -0.20069213211536407, -0.1461997777223587, 0.434235543012619, -0.20663945376873016, 0.7540613412857056, 0.40931084752082825, 0.16734746098518372, 0.13688738644123077, -0.3709046244621277, 0.6911162734031677, -0.16130930185317993, -0.9744260907173157, 0.24923810362815857, 0.6904659867286682, 0.18516193330287933, 0.2360483855009079, 0.560566246509552, -0.30215099453926086, 0.25237834453582764, 0.2792629897594452, 0.2909121811389923, -0.5573521852493286, -0.37803757190704346, -0.21453703939914703, 0.13877134025096893, 0.25506892800331116, 0.08050962537527084 ]
http://arxiv.org/abs/2406.11317v1
http://arxiv.org/pdf/2406.11317v1
GUICourse: From General Vision Language Models to Versatile GUI Agents
2024-06-17T08:30:55
2024-06-17T08:30:55
Wentong Chen, Junbo Cui, Jinyi Hu, Yujia Qin, Junjie Fang, Yue Zhao, Chongyi Wang, Jun Liu, Guirong Chen, Yupeng Huo, Yuan Yao, Yankai Lin, Zhiyuan Liu, Maosong Sun
cs.AI
cs.AI, cs.CL, cs.CV, cs.HC
Utilizing Graphic User Interface (GUI) for human-computer interaction is essential for accessing a wide range of digital tools. Recent advancements in Vision Language Models (VLMs) highlight the compelling potential to develop versatile agents to help humans finish GUI navigation tasks. However, current VLMs are challenged in terms of fundamental abilities (OCR and grounding) and GUI knowledge (the functions and control methods of GUI elements), preventing them from becoming practical GUI agents. To solve these challenges, we contribute GUICourse, a suite of datasets to train visual-based GUI agents from general VLMs. First, we introduce the GUIEnv dataset to strengthen the OCR and grounding capabilities of VLMs. Then, we introduce the GUIAct and GUIChat datasets to enrich their knowledge of GUI components and interactions. Experiments demonstrate that our GUI agents have better performance on common GUI tasks than their baseline VLMs. Even the small-size GUI agent (with 3.1B parameters) can still work well on single-step and multi-step GUI tasks. Finally, we analyze the different varieties in the training stage of this agent by ablation study. Our source codes and datasets are released at https://github.com/yiye3/GUICourse.
[ -0.5003547072410583, -0.6908405423164368, 0.3838462829589844, -0.5320085883140564, 0.06871480494737625, -0.0060828025452792645, -0.06023649126291275, -0.4765951633453369, -0.24545130133628845, 0.9937614798545837, -0.24428164958953857, -0.7322867512702942, -0.030477697029709816, -0.22227098047733307, -0.27089953422546387, 0.9934290051460266, -0.12162977457046509, -0.12853658199310303, -0.45745816826820374, -0.3567892611026764, -0.2386753261089325, -0.4124983549118042, -0.6111562848091125, -0.0635162889957428, 0.8379849791526794, 0.41706228256225586, 0.5897414684295654, 0.2322145700454712, 0.2656291723251343, 0.3558555841445923, 0.32805535197257996, 0.20336651802062988, -0.3693627417087555, 0.08424048125743866, -0.2855975925922394, -0.35920020937919617, -0.39781007170677185, -0.043725453317165375, 0.27430328726768494, 0.6189049482345581, -0.1147947907447815, -0.22728857398033142, -0.07442430406808853, 0.6352470517158508, -0.7689543962478638, 0.21164117753505707, -0.210196852684021, -0.3791043758392334, -0.1231788620352745, 0.29433977603912354, -0.4585358202457428, -0.20095676183700562, 0.24045078456401825, -0.9607251882553101, 0.33376243710517883, -0.002465911442413926, 0.8750189542770386, 0.15550246834754944, -0.42510929703712463, 0.08385272324085236, -0.49371224641799927, 0.5920947790145874, -0.34419238567352295, 0.15725113451480865, 0.2848230004310608, 0.8592823147773743, 0.0076421587727963924, -0.8639137744903564, -0.32438650727272034, -0.5455508232116699, -0.01970602758228779, 0.1056697815656662, 0.047006797045469284, 0.6406301259994507, 0.6255838871002197, 0.06874000281095505, -0.6532500982284546, 0.027782289311289787, -0.21761870384216309, -0.17593085765838623, 0.6942759156227112, 0.3335166871547699, 0.7615652680397034, 0.23755688965320587, -0.06302937120199203, -0.3972541093826294, -0.3552064597606659, 0.007217517588287592, 0.23373748362064362, 0.08253469318151474, -0.2088014781475067, 0.5523888468742371, -0.3885461091995239, 1.0343769788742065, -0.4514073431491852, -0.23810400068759918, 0.12957391142845154, -0.2152467519044876, -0.24404160678386688, -0.31520992517471313, 0.3570912778377533, 0.2062218338251114, 0.5595279335975647, -0.09382625669240952, -0.20187610387802124, 0.002529638586565852, 0.5700324773788452, -0.5352644920349121, -0.5448812246322632, 0.05113780498504639, -0.09842919558286667, -0.27709630131721497, 0.1600034385919571, -0.3593162000179291, -0.5363450646400452, -0.5178961753845215, 0.4763731360435486, -0.5139560699462891, -0.17931711673736572, -0.11260318756103516, -0.5456574559211731, 0.3133887052536011, 1.1349821090698242, -0.7189232707023621, 0.4637342095375061, 0.2855902910232544, 0.6729966402053833, -0.18196971714496613, -0.3570614457130432, -0.5910857915878296, 0.16574321687221527, -0.15862643718719482, 0.5603394508361816, -0.516354501247406, -0.37991511821746826, -0.07980407029390335, 0.029805518686771393, -0.09904886037111282, -0.2727847993373871, 0.03660161793231964, -0.29745838046073914, -0.05783917009830475, -0.23056289553642273, -0.04163992404937744, -0.5489279627799988, 0.30661338567733765, -0.7638465762138367, 0.7204041481018066, 0.6184684038162231, -0.8333553075790405, 0.3047073781490326, -0.6641611456871033, -0.43770068883895874, 0.2687273323535919, -0.2802164852619171, -0.3904632329940796, 0.07166291773319244, 0.10284831374883652, 0.27420464158058167, -0.07609974592924118, -0.2142113745212555, -0.45760664343833923, -0.37128183245658875, -0.0030597017612308264, -0.45499712228775024, 1.0513219833374023, 0.0243232361972332, -0.13809052109718323, 0.05978208780288696, -0.8742132186889648, 0.06397301703691483, -0.06917603313922882, 0.036789216101169586, -0.6524451375007629, -0.16161887347698212, 0.37245404720306396, 0.0780300572514534, 0.051453590393066406, -0.3422423303127289, 0.7190501689910889, -0.10071113705635071, 0.18833503127098083, 0.56596440076828, -0.09994968771934509, 0.4304315447807312, -0.06245888024568558, 0.362788587808609, 0.1331547498703003, 0.320645809173584, -0.1463417112827301, -0.47300779819488525, -0.9246491193771362, -0.38948526978492737, 0.08965304493904114, 0.6340226531028748, -1.482853889465332, -0.21357254683971405, -0.059963252395391464, -0.564879834651947, -0.13819441199302673, 0.02418334037065506, 0.3714200258255005, 0.4845289885997772, 0.23604527115821838, -0.5697492361068726, -0.1506301909685135, -0.5621447563171387, 0.2483985722064972, -0.26896196603775024, -0.15560097992420197, 0.5097871422767639, 0.5725501775741577, -0.495595782995224, 1.1748230457305908, -0.49227628111839294, -0.2007438987493515, -0.27007079124450684, 0.3645278811454773, -0.08233261853456497, 0.27347496151924133, 0.799467921257019, -0.8235576152801514, -0.4295575022697449, 0.5642982721328735, -0.941010594367981, -0.12827779352664948, -0.07104643434286118, -0.05688837915658951, 0.45385703444480896, 0.3016325831413269, -0.27487751841545105, 0.889354944229126, 0.1673092097043991, -0.21490606665611267, 0.7170661687850952, -0.49589142203330994, 0.21201267838478088, -0.4974227547645569, 0.18628104031085968, 0.14467042684555054, -0.3465709388256073, -0.7174861431121826, -0.051636938005685806, 0.0539005808532238, -0.1778673231601715, -0.5273383259773254, 0.7671963572502136, -0.6918675303459167, -0.3765317499637604, -0.3607015609741211, 0.013591521419584751, 0.054536204785108566, 0.6424066424369812, 0.21920959651470184, 0.8521957397460938, 0.8936672210693359, -0.8128248453140259, 0.6079267263412476, 0.20847274363040924, -0.2112458199262619, 0.766178548336029, -0.48043522238731384, 0.07666440308094025, -0.1972142457962036, -0.0968976840376854, -0.7673984169960022, -0.3651784658432007, 0.29393529891967773, -0.23321452736854553, 0.4260818362236023, -0.2718878388404846, -0.15390554070472717, -0.504007875919342, -0.04635659605264664, 0.1623692363500595, 0.5459994673728943, -0.3718986213207245, 0.7033442854881287, 0.2143644243478775, -0.004382712300866842, -0.5874046087265015, -0.39445021748542786, 0.17061351239681244, -0.020347513258457184, -0.5498619079589844, -0.0823497623205185, -0.04587486386299133, -0.38584965467453003, -0.03309069573879242, 0.23372136056423187, -0.11051688343286514, 0.3249473571777344, 0.4162602424621582, 0.3524313271045685, -0.05620591714978218, -0.10966245085000992, -0.1712871640920639, -0.2849753797054291, -0.2388041466474533, -0.45481306314468384, 0.05008034035563469, -0.19529150426387787, -0.6100061535835266, -0.15074290335178375, 0.16060929000377655, 0.5690114498138428, -0.2406073361635208, 0.26649636030197144, 0.7080841660499573, -0.1489080935716629, -0.1359339952468872, -0.4463331401348114, 0.025635020807385445, -0.46779829263687134, 0.5220628976821899, -0.5648784041404724, -0.5279075503349304, 0.3735995888710022, 0.06450307369232178, 0.2789744436740875, 0.013323549181222916, 0.31962814927101135, -0.1447947472333908, 1.1213738918304443, 0.9457384347915649, -0.11064869165420532, 0.6650943756103516, -0.47307974100112915, -0.3341583013534546, -0.6474853754043579, -0.030518682673573494, -0.35146206617355347, 0.06810081750154495, -0.466644287109375, -0.4177316427230835, 0.4122653901576996, -0.17442820966243744, -0.32989224791526794, 0.27044573426246643, -0.32985299825668335, 0.48401692509651184, 0.8315678834915161, 0.23044390976428986, 0.08122051507234573, 0.35042238235473633, -0.049123331904411316, 0.23543599247932434, -0.579484224319458, -0.39994296431541443, 1.0011742115020752, 0.07990255206823349, 1.2077951431274414, -0.1311119943857193, 0.4812154173851013, 0.4756332039833069, 0.28270721435546875, -0.6661252379417419, 0.6681501865386963, -0.21892040967941284, -0.1369287669658661, -0.5845948457717896, -0.2742033004760742, -0.7094475626945496, 0.1309356987476349, 0.12179878354072571, -0.8619637489318848, 0.19599653780460358, 0.054141752421855927, 0.07054917514324188, 0.3076331913471222, -0.6833309531211853, 1.0216529369354248, -0.5223166346549988, -0.7734054923057556, 0.1117982417345047, -0.834115207195282, 0.0760149359703064, 0.2769269347190857, -0.1411459743976593, 0.10501901805400848, -0.016017789021134377, 0.30048060417175293, -0.5161745548248291, 0.9325215816497803, -0.3412078022956848, -0.20384538173675537, 0.45778021216392517, -0.2186722755432129, 0.2747642993927002, -0.10434853285551071, 0.07901163399219513, 0.264778196811676, -0.13898545503616333, -0.44797787070274353, -0.8587716221809387, 0.2644709050655365, -1.0084648132324219, -0.5596069693565369, -0.4694642126560211, -0.276610404253006, -0.1680242270231247, 0.2931124269962311, 0.2437194585800171, 0.6443822979927063, -0.36901381611824036, -0.16898787021636963, 0.7111349701881409, -0.21850250661373138, 0.21936386823654175, 0.4540395736694336, -0.1893347054719925, -0.5362069606781006, 1.2128175497055054, 0.1420517861843109, 0.43976953625679016, 0.38211914896965027, -0.3403242826461792, -0.03413719683885574, -0.5892004370689392, -0.5916162729263306, 0.10248159617185593, -0.7522648572921753, 0.029636941850185394, -0.5187397599220276, -0.3664949834346771, -0.32833734154701233, -0.43476489186286926, 0.07658293098211288, -0.19088174402713776, -0.3902781009674072, 0.2591743469238281, 0.3932991921901703, 0.811842679977417, -0.10515553504228592, 0.19064471125602722, -0.5990357398986816, 0.4219234585762024, 0.7081655263900757, 0.20355819165706635, -0.2159574031829834, -0.15759657323360443, -0.4394732415676117, 0.284155935049057, -0.3124813139438629, -0.6536683440208435, 0.3451726734638214, 0.18919113278388977, 0.8636558651924133, 0.6166166663169861, 0.012738801538944244, 0.6606128811836243, -0.310138463973999, 0.8202230334281921, 0.3031134605407715, -0.5942074060440063, 0.7469267249107361, -0.4003194570541382, 0.1402631551027298, 0.4356291592121124, 0.13946793973445892, -0.5555905103683472, -0.41857674717903137, -0.480495423078537, -0.5799070596694946, 0.8613133430480957, 0.2997640371322632, -0.3276517391204834, 0.4229503273963928, 0.2567344009876251, 0.15089449286460876, 0.1755870282649994, -0.3826068639755249, -0.06579459458589554, -0.5888780951499939, -0.26059043407440186, -0.30676573514938354, 0.0034252300392836332, -0.153380885720253, -0.14773420989513397, 0.49172934889793396, -0.5269087553024292, 0.04202427342534065, 0.12999603152275085, -0.4373798966407776, 0.3937828838825226, -0.005385183729231358, 0.5421991348266602, 0.4259912967681885, -0.1480816900730133, -0.058522798120975494, 0.057006094604730606, -0.8889573812484741, 0.36565905809402466, -0.047127995640039444, -0.3087100386619568, -0.0658811703324318, 0.31681376695632935, 1.0306538343429565, 0.0001481616636738181, -0.7125795483589172, 0.4515365958213806, -0.18296295404434204, -0.24672254920005798, -0.18819013237953186, 0.7449159622192383, -0.5042217373847961, 0.10090962797403336, 0.10892009735107422, -0.08687131106853485, 0.32347187399864197, -0.36057594418525696, 0.1773928999900818, 0.30253028869628906, -0.52500319480896, -0.1888902336359024, 0.6412348747253418, 0.5075013041496277, 0.05524127185344696, 0.8620569705963135, -0.04137599095702171, -0.30328306555747986, 0.8922392725944519, 0.20220497250556946, 1.0128114223480225, 0.02828521654009819, 0.4919876754283905, 0.2189280390739441, 0.2004823088645935, 0.03585169464349747, 0.04471159353852272, -0.2810947299003601, -0.5272649526596069, 0.032944902777671814, -0.28816476464271545, -0.7808584570884705, -0.24854271113872528, -0.5116289854049683, 0.44559603929519653, -0.21514669060707092, -0.134100079536438, -0.355630487203598, 0.19521570205688477, -0.7132917642593384, 0.41288670897483826, 0.2970639169216156, 0.8521478772163391, -0.6408999562263489, 0.8775579333305359, 1.0091530084609985, -0.7334338426589966, -0.3342141807079315, -0.27787846326828003, -0.017690667882561684, -0.6697876453399658, 0.6214312314987183, 0.166611447930336, -0.04559113085269928, 0.056771133095026016, -0.8272349834442139, -0.3456490635871887, 1.169903039932251, 0.3067459762096405, -0.45003464818000793, -0.3453677296638489, 0.22391605377197266, 0.4301489591598511, -0.2180764079093933, 0.7451683878898621, 0.35786476731300354, 0.42800116539001465, 0.30327337980270386, -0.8166130781173706, -0.30002886056900024, -0.33585429191589355, 0.38574784994125366, -0.12474270164966583, -0.5356183648109436, 0.7665321826934814, -0.5572866201400757, -0.10915552079677582, 0.18134824931621552, 0.6121829152107239, 0.1553119421005249, 0.5261796712875366, 0.4094927906990051, 0.4567318558692932, 0.6967304348945618, -0.23743808269500732, 0.9077544808387756, 0.14145103096961975, 0.0013761186273768544, 0.8042437434196472, -0.4321214258670807, 0.3397012948989868, 0.03564760461449623, 0.003975356929004192, 0.531813383102417, 0.48833167552948, 0.035237058997154236, 0.36137256026268005, 0.13956835865974426, -0.27503204345703125, -0.4458729922771454, 0.14020124077796936, -0.3741358816623688, 0.39963269233703613, 0.5819410681724548, 0.1811501830816269, -0.3342568874359131, 0.7428292036056519, -0.34362056851387024, -0.11200310289859772, -0.487430602312088, 0.8855839967727661, -0.02867339365184307, -0.45206543803215027, 0.44507545232772827, -0.3324146866798401, 0.2350599318742752, -0.8473714590072632, -0.3670486509799957, -0.3284551203250885, -0.042574960738420486, -0.07263939082622528, -0.8617318272590637, -0.2611716687679291, -0.1601664423942566, 0.07296499609947205, -0.04119042679667473, 1.0845476388931274, -0.36255618929862976, -0.25629863142967224, -0.10842259973287582, 0.1942133903503418, 0.21066637337207794, -0.1269080638885498, -0.5402876734733582, -0.1135483980178833, -0.010401236824691296, -0.14824971556663513, 0.2910410463809967, 0.6508232355117798, -0.3439246118068695, 1.0106537342071533, 0.31421443819999695, 0.032824285328388214, -0.2568496763706207, 0.29430851340293884, 0.8612325191497803, -0.8386387228965759, -0.49970221519470215, -0.2510174512863159, 0.782310426235199, -0.42157918214797974, -0.05434264987707138, 0.7159887552261353, 0.39525458216667175, 0.7081665992736816, -0.3453389108181, 1.2830840349197388, -0.010754216462373734, 0.020457541570067406, -0.6310762166976929, 0.8549591898918152, -0.7743724584579468, -0.08140678703784943, -0.47829803824424744, -0.6359145045280457, -0.2258065789937973, 0.6219978928565979, -0.2798786461353302, 0.2245885729789734, 0.2919427454471588, 0.6799507737159729, -0.08580706268548965, -0.3263748288154602, 0.7731288075447083, -0.05399481952190399, 0.4985330104827881, 0.7882431745529175, 0.8113853335380554, -0.2803237736225128, 0.4115689694881439, -0.035809215158224106, -0.3960545063018799, -0.5912652015686035, -0.603635311126709, -1.1840237379074097, -0.5554349422454834, -0.5885281562805176, -0.278822660446167, 0.38304346799850464, 0.22333133220672607, 0.6233097314834595, -0.46473485231399536, -0.200494185090065, -0.33048051595687866, 0.28809815645217896, -0.445802241563797, -0.1703764647245407, 0.048931531608104706, -0.3087006211280823, -0.7400814294815063, -0.2070186883211136, 0.49148285388946533, 0.6647910475730896, -0.3710686266422272, -0.24074332416057587, 0.2783918082714081, -0.20895470678806305, 0.7016599774360657, 0.8485520482063293, -0.5051169991493225, -0.4144008755683899, -0.08706565201282501, -0.39331066608428955, -0.06390880793333054, 0.6744039058685303, -1.0922991037368774, 0.7676939964294434, 0.4384150505065918, 0.3302888870239258, 0.4880877435207367, -0.08899668604135513, 0.5359436869621277, -0.5207449793815613, 0.3572098910808563, 0.05414871498942375, 0.24705743789672852, 0.24823254346847534, -0.050694771111011505, 0.6877841353416443, 0.34361985325813293, -0.29970458149909973, -0.5491395592689514, 0.32112082839012146, -1.2894668579101562, -0.19098559021949768, 1.0986350774765015, -0.07089894264936447, -0.5742220282554626, -0.5070681571960449, -0.9228952527046204, 0.0578339509665966, -0.09976113587617874, 0.3429265320301056, 0.28101468086242676, 0.06897594779729843, -0.3869331479072571, -0.3306233584880829, 0.44419556856155396, -0.33201339840888977, -1.0895905494689941, 0.05923084542155266, 0.8463256359100342, 0.12824921309947968, 0.07001018524169922, 0.8191938400268555, 0.16478899121284485, 0.5705010890960693, 0.4464088976383209, 0.3659733831882477, -0.3954984247684479, -0.6347450017929077, 0.0477985180914402, -0.01496850699186325, 0.062179531902074814, -0.2742915451526642 ]
http://arxiv.org/abs/2406.11307v1
http://arxiv.org/pdf/2406.11307v1
An Empirical Investigation of Matrix Factorization Methods for Pre-trained Transformers
2024-06-17T08:14:23
2024-06-17T08:14:23
Ashim Gupta, Sina Mahdipour Saravani, P. Sadayappan, Vivek Srikumar
cs.CL
cs.CL
The increasing size of transformer-based models in NLP makes the question of compressing them important. In this work, we present a comprehensive analysis of factorization based model compression techniques. Specifically, we focus on comparing straightforward low-rank factorization against the recently introduced Monarch factorization, which exhibits impressive performance preservation on the GLUE benchmark. To mitigate stability issues associated with low-rank factorization of the matrices in pre-trained transformers, we introduce a staged factorization approach wherein layers are factorized one by one instead of being factorized simultaneously. Through this strategy we significantly enhance the stability and reliability of the compression process. Further, we introduce a simple block-wise low-rank factorization method, which has a close relationship to Monarch factorization. Our experiments lead to the surprising conclusion that straightforward low-rank factorization consistently outperforms Monarch factorization across both different compression ratios and six different text classification tasks.
[ -0.7806763648986816, -0.5453252792358398, 0.15086723864078522, 0.3955613672733307, -0.21249771118164062, 0.22635573148727417, -0.2191697508096695, -0.12425203621387482, 0.26197975873947144, 0.3327849507331848, -0.45680636167526245, -0.056438837200403214, -0.7020363211631775, 0.38407787680625916, -0.3886749744415283, 0.7081992030143738, 0.19618014991283417, 0.21293747425079346, -0.34756866097450256, 0.14980192482471466, -0.30456432700157166, -0.9845301508903503, -0.5021881461143494, -0.4612881541252136, 0.49223005771636963, 0.34025800228118896, 0.843212902545929, 0.7031078338623047, 0.8796644806861877, 0.43508481979370117, -0.18347543478012085, 0.16787227988243103, -0.671800971031189, -0.032396286725997925, 0.1711166650056839, -0.3361457884311676, -0.6133372187614441, 0.41937410831451416, 0.598068356513977, 0.7669084072113037, -0.2789674401283264, 0.4807468354701996, 0.19796395301818848, 0.6579999923706055, -0.5521855354309082, 0.15358389914035797, -0.4845695197582245, 0.21340279281139374, 0.1924680769443512, -0.745124340057373, -0.8758955001831055, -0.30649980902671814, -0.2019072026014328, -0.4069794714450836, 0.49790459871292114, 0.3217877447605133, 0.8491597175598145, 0.7085853815078735, -0.5439612865447998, 0.10351020842790604, -1.0606136322021484, 0.8348510265350342, -0.48706507682800293, 0.4107297658920288, 0.4031387269496918, 0.24890685081481934, -0.14522211253643036, -0.6968370079994202, -0.5966736674308777, -0.06943438202142715, -0.5796735882759094, 0.01726536639034748, -0.24581344425678253, 0.17674976587295532, 0.5359361171722412, 0.5361834764480591, -0.48317205905914307, 0.34215715527534485, -0.3852810263633728, -0.190489262342453, 0.3535122573375702, -0.3065840005874634, 0.2390456646680832, -0.4834713041782379, -0.2886478006839752, -0.7124875783920288, -0.8754397630691528, 0.36162567138671875, 0.519366443157196, 0.319519579410553, 0.1780465990304947, 0.7680137753486633, -0.09963756799697876, 0.4735197424888611, 0.47310417890548706, -0.16972967982292175, -0.26255980134010315, -0.24280089139938354, -0.33516454696655273, 0.04939386248588562, 0.5863244533538818, 0.178848996758461, 0.19026567041873932, -0.2917894423007965, -0.23944176733493805, 0.3633488714694977, 0.6625329256057739, -1.0864320993423462, -0.15037330985069275, 0.2128661572933197, -0.8852648735046387, -0.5616714954376221, 0.1584218442440033, -0.5611457228660583, -0.22605571150779724, -0.5689499974250793, 0.749567449092865, 0.016722800210118294, 0.14732550084590912, 0.2775348126888275, 0.1702594757080078, 0.26353490352630615, 0.2687516212463379, -0.9647262692451477, 0.31261271238327026, 1.0028680562973022, 0.5425317883491516, -0.19019418954849243, 0.06421934068202972, -0.8465736508369446, -0.4056708812713623, -0.26227807998657227, 0.8421090245246887, -0.3526456952095032, -0.2454526573419571, 0.1641179770231247, -0.020495999604463577, -0.13380815088748932, -0.5114636421203613, 0.6353282332420349, -0.44196826219558716, 0.24167202413082123, -0.17705968022346497, -0.3001556396484375, -0.14168226718902588, 0.19092710316181183, -0.7478488683700562, 0.9560987949371338, 0.04994863644242287, -0.6623280644416809, 0.39002060890197754, -0.1155688539147377, -0.2078530490398407, -0.22427652776241302, -0.05677952617406845, -0.525569498538971, 0.48042401671409607, 0.4344047009944916, 0.8047446012496948, -0.36041340231895447, 0.13478896021842957, -0.24364373087882996, -0.5721897482872009, 0.22478480637073517, -0.23594927787780762, 0.42284777760505676, -0.31272953748703003, 0.01064461749047041, 0.17107242345809937, -0.6458945870399475, -0.005626274738460779, -0.15028630197048187, -0.4814453125, 0.24676761031150818, 0.07241048663854599, -0.21715490520000458, 0.5862127542495728, 0.04315304383635521, -0.3950333595275879, 0.649910569190979, -0.24827921390533447, 0.2492828518152237, 0.647294282913208, 0.05553342029452324, 0.6219924092292786, -0.33096837997436523, 0.7288297414779663, 0.012283730320632458, 0.3431960642337799, -0.09857790172100067, -0.12551531195640564, -1.5537585020065308, -0.12035717070102692, 0.6536896824836731, 0.5200454592704773, -1.1532045602798462, 0.5970216393470764, -0.8850140571594238, -0.7222532629966736, -0.4307444989681244, -0.04000111669301987, 0.14008641242980957, 0.31657037138938904, 0.6353371739387512, -0.19663257896900177, -0.5401006937026978, -1.1773242950439453, 0.21429303288459778, -0.27440911531448364, -0.3131621778011322, -0.13096892833709717, 0.44612109661102295, -0.05798296257853508, 0.860569179058075, -0.49985018372535706, -0.3524794280529022, -0.21859952807426453, 0.6071831583976746, 0.287337064743042, 0.9337707161903381, 0.5361939072608948, -0.5194594860076904, -0.26415255665779114, -0.28874075412750244, -0.30080729722976685, 0.23939897119998932, -0.14668366312980652, -0.04476495459675789, 0.05693040043115616, 0.5621052980422974, -0.6875891089439392, 0.4534580409526825, 0.8356292247772217, -0.16062964498996735, 0.3829873204231262, -0.19218984246253967, 0.25010690093040466, -0.8365965485572815, -0.011072508990764618, 0.00971230398863554, -0.47029563784599304, -0.8075645565986633, 0.04037947207689285, -0.00007858606841182336, -0.4149792790412903, -0.32187068462371826, -0.3035038411617279, -0.29982858896255493, 0.05321554094552994, -0.25207093358039856, -0.3347608745098114, -0.21833354234695435, 0.912711501121521, 0.20186170935630798, 0.6688944697380066, 0.20446261763572693, -0.4263017773628235, -0.24519816040992737, 0.41698771715164185, -0.2337036281824112, 0.15912887454032898, -0.8371584415435791, 0.5192750692367554, -0.2685755789279938, 0.4403337240219116, -0.6204856038093567, 0.29266974329948425, -0.1623264104127884, -0.30976590514183044, 0.6987994313240051, -0.44341549277305603, -0.8144561648368835, -0.24748124182224274, -0.5729657411575317, 0.2635391354560852, 0.722759485244751, -0.6209867000579834, 0.8306325078010559, 0.19163890182971954, -0.13263891637325287, -0.6112441420555115, -0.44424766302108765, -0.08700907230377197, -0.2251414656639099, -0.6501581072807312, 0.44221606850624084, -0.37989088892936707, 0.07535414397716522, -0.37066349387168884, -0.585602879524231, 0.06725572794675827, 0.15482565760612488, 0.2938404381275177, 0.41732120513916016, -0.28975045680999756, -0.20514461398124695, -0.019256360828876495, -0.39269962906837463, -0.005078042857348919, 0.014674295671284199, 0.6785733699798584, 0.013756446540355682, -0.06241092085838318, -0.27693456411361694, 0.18823674321174622, 0.2562186121940613, -0.14584538340568542, 0.9531513452529907, 0.6283441781997681, -0.2731982469558716, -0.3873574137687683, -0.68612140417099, -0.5664114356040955, -0.5541169047355652, -0.0832398384809494, -0.021865854039788246, -1.1125850677490234, 0.20857618749141693, -0.31948116421699524, -0.11669892817735672, 0.35668009519577026, 0.28441765904426575, -0.176503986120224, 1.1883302927017212, 1.0336213111877441, 0.17197148501873016, 0.16637185215950012, -0.4279112219810486, 0.6401956677436829, -0.443163126707077, 0.1912946254014969, -0.9726930856704712, -0.5141892433166504, -0.8640522956848145, -0.7736949324607849, 0.2542458772659302, 0.43741151690483093, -0.023286696523427963, 0.6404042840003967, -0.6322134733200073, 0.3876902163028717, 0.3505181670188904, -0.13051529228687286, 0.23914244771003723, 0.0399077944457531, 0.30292704701423645, -0.04517515003681183, -0.9031166434288025, -0.5105090141296387, 0.7343108654022217, 0.36547553539276123, 0.47962212562561035, 0.3394070565700531, 0.6029182076454163, 0.2994881570339203, 0.49878692626953125, -0.9517272114753723, 0.64910888671875, -0.19368340075016022, -0.21304884552955627, -0.2007494419813156, -0.3849540948867798, -0.8728951811790466, 0.37635689973831177, -0.9252205491065979, -0.7304579019546509, 0.693856954574585, 0.119563527405262, -0.3752235174179077, -0.007307920604944229, -0.5128828287124634, 0.5822411775588989, 0.3797866404056549, 0.020273158326745033, -0.165171816945076, -0.3268578350543976, 0.2874132990837097, -0.27575165033340454, -0.13699917495250702, 0.21478107571601868, 0.0386105515062809, 0.8381859660148621, -0.6157762408256531, 0.5020803809165955, 0.17129391431808472, 0.10681255906820297, -0.11481157690286636, 0.20346300303936005, 0.5570502877235413, 0.013804974034428596, 0.11708051711320877, 0.22540727257728577, -0.07452639192342758, -0.2682029604911804, -1.006493091583252, 0.3910481929779053, -0.7043694853782654, -0.6623992323875427, -0.3771749436855316, -0.11541589349508286, -0.41972464323043823, -0.030385009944438934, 0.25392580032348633, 0.7870831489562988, 0.23698052763938904, 0.8290802836418152, 0.5839645266532898, -0.15972504019737244, 0.7711285352706909, 0.59590083360672, -0.23501813411712646, -0.4196392595767975, 0.8691151142120361, 0.32531991600990295, 0.009102817624807358, 0.7141631245613098, 0.09291631728410721, 0.07650212943553925, -0.6317013502120972, 0.03711846470832825, 0.1268235743045807, -0.6850780248641968, -0.5293243527412415, -0.4841720163822174, -0.26701343059539795, -0.389194518327713, -0.35566601157188416, -0.6358097791671753, -0.7615559697151184, 0.10488151013851166, -0.18971973657608032, -0.3159366846084595, 0.5197824835777283, 0.1681683212518692, 0.4240264594554901, -0.8431105613708496, 0.3597428798675537, 0.3909696936607361, 0.05649399384856224, 0.03480101004242897, -0.23711974918842316, -0.36757707595825195, -0.47229719161987305, -0.2326478362083435, -0.6435756683349609, 0.3088381886482239, 0.10291026532649994, 0.3491707146167755, 0.5065882802009583, 0.28089621663093567, 0.6477088332176208, -0.6607142686843872, 0.737416684627533, 0.010189905762672424, -0.87563556432724, 0.25769349932670593, -0.1362428218126297, 0.04282444342970848, 0.5590112209320068, 0.5951786041259766, -0.2416679859161377, -0.10102052241563797, -0.7655404210090637, -0.868156909942627, 0.7260375618934631, 0.6092047691345215, -0.11680883169174194, 0.21158969402313232, 0.3161983788013458, -0.013253058306872845, 0.3554971218109131, -0.7484556436538696, -0.6271054744720459, -0.15906547009944916, 0.16882409155368805, -0.500935971736908, -0.5855364799499512, 0.022050607949495316, -0.5896169543266296, 0.8115401268005371, -0.19208060204982758, 0.43851402401924133, 0.017037007957696915, -0.5323805809020996, 0.03958233818411827, 0.2952300012111664, 0.6662001609802246, 0.4173826575279236, -0.4045042395591736, 0.2388651818037033, -0.13575580716133118, -0.5436080694198608, 0.3970834016799927, 0.27023518085479736, -0.19911973178386688, -0.19535785913467407, 0.6050282716751099, 0.7448937296867371, 0.5954927206039429, -0.060930974781513214, 0.5379763841629028, -0.3053794205188751, -0.0031294450163841248, -0.07344045490026474, -0.09732228517532349, -0.1957000494003296, -0.1857195794582367, 0.4862445294857025, 0.2515067756175995, 0.018965331837534904, -0.27724918723106384, -0.05648345127701759, 0.2358548641204834, -0.302671879529953, -0.2962786853313446, 0.3108842670917511, 0.2742154598236084, -0.311428040266037, 0.6100140810012817, -0.061129599809646606, -0.4879206418991089, 0.20027725398540497, 0.23969969153404236, 0.7778844833374023, -0.1572146862745285, 0.2669323682785034, 0.5768043398857117, 0.7174369096755981, -0.30775728821754456, -0.13415886461734772, -0.26814693212509155, -0.724625289440155, -0.8745259046554565, -0.7214477062225342, -0.4305911660194397, 0.09105917811393738, -0.7438609004020691, 0.4800553023815155, -0.35683736205101013, -0.411077618598938, 0.010160683654248714, 0.23560072481632233, -0.7634256482124329, 0.042002178728580475, 0.06915296614170074, 1.0190528631210327, -0.7543790340423584, 0.7436560988426208, 0.46423831582069397, -0.3584285378456116, -1.0307360887527466, -0.09145104885101318, -0.20265454053878784, -0.21846719086170197, 0.6076430678367615, 0.3167639374732971, -0.06225370615720749, 0.16732969880104065, -0.3453947901725769, -1.025357961654663, 1.0574243068695068, 0.3798220753669739, -0.2511991858482361, -0.029398243874311447, 0.3797604441642761, 0.6165232062339783, -0.1272636502981186, 0.2896353304386139, 0.5328604578971863, 0.5378069877624512, -0.1231103241443634, -0.832653284072876, 0.04189203307032585, -0.4461126923561096, -0.012316062115132809, 0.14122433960437775, -0.31440308690071106, 0.6947218775749207, 0.6180208325386047, -0.3747730851173401, -0.1020774245262146, 0.7805026769638062, -0.06171051040291786, -0.24340584874153137, 0.7393484115600586, 0.4579339027404785, 0.4119121730327606, -0.2938407063484192, 1.0977741479873657, -0.5302527546882629, 0.5536344051361084, 0.7644376754760742, 0.10117077827453613, 1.028727412223816, 0.4681381285190582, -0.21582040190696716, 0.41229331493377686, 0.33062541484832764, -0.18315576016902924, 0.007280029822140932, 0.19451379776000977, 0.2614184319972992, -0.5165566802024841, -0.21907642483711243, -0.10575749725103378, 0.519963264465332, -0.23813271522521973, -0.010955801233649254, -0.078621506690979, -0.059442710131406784, 0.023666903376579285, -0.05181271582841873, -0.4002220332622528, 0.5983172655105591, 0.02651428058743477, -0.8186774849891663, 0.5972703695297241, 0.04291514679789543, 0.882948100566864, -0.5495214462280273, 0.04076814278960228, -0.02721731923520565, -0.05203494057059288, -0.12511882185935974, -0.04122071713209152, 0.047556910663843155, -0.2575910985469818, -0.309597909450531, -0.8800224661827087, 1.0016367435455322, -0.30930134654045105, -0.546078085899353, -0.06173121556639671, 0.5084159970283508, -0.15652044117450714, -0.1336708813905716, -0.19152052700519562, 0.12934845685958862, -0.33082133531570435, -0.5588787794113159, 0.42977675795555115, -0.2174881100654602, 0.11129513382911682, 0.6827288269996643, 0.8078793883323669, -0.0024741345550864935, -0.16210408508777618, -0.05514802411198616, 0.8517933487892151, -0.3845099210739136, -0.36672407388687134, -0.5637631416320801, 0.569133996963501, -0.1587553471326828, 0.06496395915746689, 0.9240443706512451, 0.5047091841697693, 0.44757357239723206, -0.3524075448513031, -0.1841500848531723, 0.3405954837799072, 0.10198512673377991, -0.5809705853462219, 0.8698410987854004, -0.23764708638191223, 0.03964822739362717, -0.30575820803642273, -1.3166165351867676, -0.31265971064567566, 0.4918307363986969, -0.036805130541324615, 0.03075171634554863, 0.9198254346847534, 0.8113015294075012, -0.017882034182548523, -0.03610379621386528, 0.26002559065818787, 0.10229122638702393, 0.31841832399368286, -0.021460428833961487, 0.8020276427268982, -0.440510630607605, 0.4613593816757202, -0.8092091679573059, 0.14979876577854156, -0.14851567149162292, -1.3029175996780396, -1.0323151350021362, -0.6919719576835632, -0.5661859512329102, -0.22527511417865753, -0.6392835974693298, 1.057676911354065, 1.1833873987197876, -0.5146997570991516, -0.0030189999379217625, 0.25277990102767944, -0.08603936433792114, -0.2957237660884857, -0.18924403190612793, 0.5074570775032043, -0.06685114651918411, -0.7882501482963562, 0.658255934715271, 0.2959548532962799, 0.09083390980958939, -0.49765142798423767, 0.17240794003009796, -0.028805306181311607, 0.4786857068538666, 0.6984456777572632, -0.07434879243373871, -0.21148337423801422, -0.4093492031097412, -0.029051434248685837, 0.09598584473133087, 0.08926521241664886, 1.1724234819412231, -1.040895938873291, -0.1269473433494568, 0.7470316886901855, 0.3294355869293213, 0.46494293212890625, 0.4016644358634949, 0.5702396631240845, -0.9439110159873962, 0.3065977394580841, 0.13451215624809265, 0.46331238746643066, 0.39891451597213745, -0.27994412183761597, 0.6635066866874695, -0.06575608998537064, -0.6789731979370117, -1.0700018405914307, -0.010377583093941212, -1.4708378314971924, -0.015354782342910767, 0.8806369304656982, 0.047960225492715836, -0.18996229767799377, 0.26359033584594727, -0.050758615136146545, 0.19308745861053467, -0.1064305454492569, 0.8222060799598694, 0.7835315465927124, -0.025797164067626, -0.15813052654266357, -0.4075595736503601, 0.8775114417076111, 0.2993882894515991, -0.6933333277702332, -0.35148653388023376, 0.1994563639163971, -0.2541593015193939, 0.674543023109436, 0.17402133345603943, 0.18143005669116974, 0.025169776752591133, -0.15144354104995728, 0.06906413286924362, -0.2143595814704895, -0.2552085220813751, -0.6137165427207947, 0.5458872318267822, -0.07384971529245377, 0.34255459904670715 ]
http://arxiv.org/abs/2406.11303v1
http://arxiv.org/pdf/2406.11303v1
VideoVista: A Versatile Benchmark for Video Understanding and Reasoning
2024-06-17T08:09:00
2024-06-17T08:09:00
Yunxin Li, Xinyu Chen, Baotian Hu, Longyue Wang, Haoyuan Shi, Min Zhang
cs.CV
cs.CV, cs.AI, cs.CL
Despite significant breakthroughs in video analysis driven by the rapid development of large multimodal models (LMMs), there remains a lack of a versatile evaluation benchmark to comprehensively assess these models' performance in video understanding and reasoning. To address this, we present VideoVista, a video QA benchmark that integrates challenges across diverse content categories, durations, and abilities. Specifically, VideoVista comprises 25,000 questions derived from 3,400 videos spanning 14 categories (e.g., Howto, Film, and Entertainment) with durations ranging from a few seconds to over 10 minutes. Besides, it encompasses 19 types of understanding tasks (e.g., anomaly detection, interaction understanding) and 8 reasoning tasks (e.g., logical reasoning, causal reasoning). To achieve this, we present an automatic data construction framework, leveraging powerful GPT-4o alongside advanced analysis tools (e.g., video splitting, object segmenting, and tracking). We also utilize this framework to construct training data to enhance the capabilities of video-related LMMs (Video-LMMs). Through a comprehensive and quantitative evaluation of cutting-edge models, we reveal that: 1) Video-LMMs face difficulties in fine-grained video tasks involving temporal location, object tracking, and anomaly detection; 2) Video-LMMs present inferior logical and relation reasoning abilities; 3) Open-source Video-LMMs' performance is significantly lower than GPT-4o and Gemini-1.5, lagging by 20 points. This highlights the crucial role VideoVista will play in advancing LMMs that can accurately understand videos and perform precise reasoning.
[ -0.48758435249328613, -0.8442133069038391, 0.7962428331375122, 0.13133719563484192, -0.3100165128707886, 0.12879200279712677, 0.10521124303340912, -0.08720127493143082, -0.1250322014093399, 0.31929507851600647, -0.5887498259544373, -0.2822963297367096, -0.5679149031639099, -0.01774180494248867, -0.42812293767929077, 0.7018980383872986, -0.4007054269313812, -0.00011078168608946726, -0.39188969135284424, -0.43344956636428833, -0.8439995646476746, -0.33579906821250916, -0.12740777432918549, 0.15040802955627441, 0.21055831015110016, 0.28716596961021423, 0.5513514876365662, 0.6973328590393066, 0.7716194987297058, 0.39213553071022034, 0.26236575841903687, 0.4993343949317932, -0.14769795536994934, 0.031705453991889954, -0.23031723499298096, -0.21391421556472778, -0.43994802236557007, -0.2059527486562729, 0.7574650049209595, 0.43228450417518616, 0.02486017905175686, 0.7262794971466064, -0.32089483737945557, 0.5524212718009949, -1.0604861974716187, 0.1279830038547516, -0.3947174549102783, 0.29835399985313416, -0.089768186211586, -0.20987343788146973, 0.04138398915529251, -0.43731459975242615, 0.1346525400876999, -0.6806567311286926, 0.30314117670059204, -0.3830012083053589, 0.7530372738838196, 0.6462531685829163, -0.4426453113555908, 0.23105721175670624, -0.8952458500862122, 0.32998955249786377, -0.17194393277168274, 0.7353212833404541, 0.355516254901886, 0.912837028503418, 0.35842975974082947, -0.6623699069023132, -0.5616607069969177, 0.13170020282268524, 0.5368822813034058, 0.05810163915157318, -0.1928545981645584, -0.07116882503032684, 0.4970344007015228, 0.2175261676311493, -0.8587444424629211, -0.15579009056091309, -0.2978046238422394, -0.12523135542869568, 0.4241963028907776, 0.5331931114196777, 0.13355864584445953, -0.3367440700531006, -0.23621496558189392, -0.15809160470962524, -0.1946205049753189, 0.27942633628845215, 0.28090915083885193, -0.2770562469959259, 0.030747873708605766, 0.6503083109855652, -0.4217981994152069, 0.4869331121444702, -0.2706751525402069, -0.16694331169128418, 0.34002768993377686, -0.4897174537181854, -0.6541251540184021, -0.3093298375606537, 0.5786353945732117, 0.625179648399353, 0.09815625846385956, 0.20760753750801086, -0.02799191325902939, 0.5557295083999634, 0.3657529950141907, -0.8197416663169861, -0.4067411720752716, 0.1523863673210144, -0.3217806816101074, 0.16787873208522797, 0.09908580034971237, -0.7925585508346558, -0.24396249651908875, -0.3105085790157318, 0.891633152961731, -0.4027348458766937, -0.3729344606399536, 0.17003339529037476, -0.25942814350128174, 0.26132702827453613, 0.48642435669898987, -0.5777427554130554, 0.5196225643157959, 0.5135721564292908, 0.7676101326942444, -0.22299724817276, -0.3960155248641968, -0.9194687008857727, 0.1580074280500412, -0.4054417014122009, 0.8919951319694519, -0.31479573249816895, 0.010603154078125954, 0.015243467874825, 0.08335887640714645, 0.02708161063492298, -0.5379784107208252, 0.19360962510108948, -0.5237036943435669, -0.0349949486553669, -0.45410677790641785, -0.3650525212287903, -0.46198195219039917, 0.5510729551315308, -0.8497870564460754, 0.8908607959747314, 0.014916506595909595, -0.487222284078598, 0.8260690569877625, -0.4931882321834564, 0.047705139964818954, -0.0031766421161592007, -0.39033910632133484, -0.4438554346561432, -0.1080334410071373, 0.34347137808799744, 0.32993292808532715, -0.4233098328113556, 0.5419901609420776, -0.41488397121429443, -0.3229047656059265, 0.3327791094779968, -0.673738956451416, 0.005466994363814592, 0.2532864809036255, -0.32250747084617615, 0.24410425126552582, -0.6225483417510986, -0.0011927983723580837, -0.16270111501216888, 0.12602683901786804, 0.003488639835268259, -0.028575299307703972, -0.10530166327953339, 0.2627866864204407, -0.061539426445961, -0.26644790172576904, 0.003345303935930133, 0.27177155017852783, 0.4109419286251068, 0.7325621843338013, 0.05422552302479744, -0.006574682891368866, 0.03126301243901253, 0.7056339383125305, 0.1149408221244812, 0.5975293517112732, -0.3274548053741455, -0.4428407847881317, -0.33899369835853577, -0.352566123008728, -0.034061070531606674, 0.382017582654953, -0.8418553471565247, -0.13249695301055908, -0.3900761306285858, -0.29864785075187683, -0.5139258503913879, 0.34560438990592957, 0.4506753087043762, 0.49716705083847046, 0.6072279214859009, -0.574830949306488, -0.5963493585586548, -0.823371946811676, -0.05577418580651283, -0.19785268604755402, -0.02677624672651291, 0.14893941581249237, 0.6598907709121704, -0.061595842242240906, 0.9385982155799866, -0.5493242144584656, -0.19017957150936127, 0.062052927911281586, 0.04622974246740341, 0.0549435019493103, 0.0972784087061882, 0.34354403614997864, -1.025790810585022, -0.2828422784805298, -0.000005199484803597443, -1.2402700185775757, 0.24695079028606415, -0.05775311961770058, 0.24286136031150818, -0.26527127623558044, 0.3309190273284912, -0.6057217717170715, 0.4661222994327545, 0.2362232804298401, -0.4909156262874603, 0.7219232320785522, -0.22542181611061096, 0.648504912853241, -0.4745483100414276, 0.014668838120996952, 0.03139815106987953, -0.18845044076442719, -0.35569503903388977, -0.09067198634147644, -0.03568285331130028, -0.1079060360789299, -0.6520009636878967, 0.15563374757766724, -0.1548609584569931, -0.691045880317688, 0.03713713958859444, 0.13042819499969482, 0.037750087678432465, 0.5523840188980103, 0.09163010120391846, 0.8970939517021179, 0.455938458442688, -0.5951602458953857, 0.5701389908790588, 0.19959867000579834, -0.4958949387073517, 0.709905743598938, -0.607071042060852, -0.10454772412776947, -0.08723662048578262, -0.08611473441123962, -0.825264036655426, -0.3334333300590515, -0.06826015561819077, -0.40850400924682617, -0.3443341553211212, -0.263462632894516, -0.3632681369781494, -0.19468559324741364, -0.29629942774772644, 0.8303322792053223, 0.29682111740112305, -0.43733420968055725, 0.6658426523208618, 0.35574090480804443, 0.12642954289913177, -0.658493161201477, -0.3311973810195923, 0.1911689192056656, -0.6013288497924805, -0.6500652432441711, 0.2233307659626007, -0.1204100102186203, -0.31413498520851135, 0.22650770843029022, -0.3355271816253662, -0.4965587556362152, -0.19216030836105347, 0.19179823994636536, 0.1483592838048935, -0.19960786402225494, 0.03660469874739647, -0.09952357411384583, 0.01275524403899908, 0.24651379883289337, -0.17792317271232605, 0.1845972090959549, -0.32821834087371826, -0.4475726783275604, -0.3449229598045349, 0.33817678689956665, 0.6120300889015198, -0.47492825984954834, 0.009102259762585163, 0.8829393982887268, -0.270024836063385, -0.0051789190620183945, -0.7910133004188538, 0.1679556667804718, -0.45790788531303406, 0.5257196426391602, -0.6312265396118164, -0.6114181280136108, 0.49867019057273865, 0.15026384592056274, -0.2797030210494995, 0.24871499836444855, 0.49704667925834656, -0.038154568523168564, 1.0467642545700073, 0.47759097814559937, 0.32005903124809265, 0.5333527326583862, -0.41897475719451904, -0.4393981397151947, -0.3933318555355072, -0.4307713210582733, 0.028175635263323784, 0.13922418653964996, -0.4913303256034851, -0.7571613192558289, 0.6115105152130127, -0.2123989313840866, -0.6471848487854004, 0.3378080725669861, -0.28748583793640137, 0.5498685836791992, 0.18308435380458832, 0.11707773804664612, 0.45118284225463867, -0.24401304125785828, 0.28339794278144836, -0.19902092218399048, -0.5804880857467651, -0.404969185590744, 1.077930212020874, 0.5000518560409546, 0.5470482110977173, 0.4850797951221466, 0.20315119624137878, 0.6124849319458008, -0.10625499486923218, -0.5876891016960144, 0.6355664134025574, -0.06976845860481262, -0.37375137209892273, -0.12967242300510406, -0.38368311524391174, -0.5412940382957458, 0.24996133148670197, 0.08882317692041397, -0.4701360762119293, 0.11484114080667496, 0.12461075186729431, -0.44473206996917725, 0.3346717357635498, -0.7723703980445862, 1.1898071765899658, -0.3685697019100189, -0.8336166739463806, -0.3744699954986572, -0.5548422336578369, 0.5418718457221985, 0.011269958689808846, 0.362133651971817, -0.09862284362316132, -0.021448111161589622, 0.7278376221656799, -0.4703499972820282, 0.42610031366348267, -0.3475610911846161, 0.20349234342575073, 0.5950016975402832, 0.1544741839170456, 0.04063516482710838, 0.3990301787853241, 0.5552228689193726, -0.15996938943862915, 0.3651556074619293, -0.3200209438800812, -0.9037759900093079, 0.19980080425739288, -0.6570430397987366, -0.42089200019836426, -0.3237864375114441, -0.29390931129455566, -0.29956865310668945, 0.041883595287799835, -0.14255227148532867, 0.43030282855033875, -0.15207208693027496, 0.18298450112342834, 0.9427592158317566, -0.17058712244033813, 0.3308383524417877, 0.4132708013057709, -0.21708068251609802, -0.6798189282417297, 1.0557154417037964, -0.0036390265449881554, 0.18134239315986633, 0.3027367889881134, -0.1609245240688324, -0.25179654359817505, -0.5000762939453125, -0.5918323993682861, -0.19914676249027252, -0.8510867357254028, -0.21015562117099762, -0.4801384210586548, 0.041296377778053284, -0.024876678362488747, 0.28559261560440063, -0.6936540007591248, -0.040098875761032104, 0.08378645777702332, -0.4285292625427246, 0.3617894947528839, 0.4491055905818939, -0.014556031674146652, 0.021404435858130455, -0.733879029750824, 0.7374463081359863, 0.9358240365982056, 0.6205608248710632, -0.31060513854026794, -0.45868539810180664, -0.3118366599082947, -0.44040969014167786, -0.37919411063194275, -0.8053040504455566, 0.18396863341331482, -0.08782577514648438, 0.5150448083877563, 0.4347761273384094, -0.4764097034931183, 1.0028092861175537, -0.42965030670166016, 0.8717359304428101, 0.19659921526908875, -1.0025641918182373, 0.6306959390640259, -0.4658101201057434, 0.16317206621170044, 0.6351380944252014, 0.31453967094421387, -0.19092927873134613, 0.2612169682979584, -0.5307432413101196, -0.5497141480445862, 0.21736159920692444, 0.276852548122406, -0.16465701162815094, 0.15620410442352295, -0.06300123780965805, 0.2469869703054428, 0.30738958716392517, -0.405155211687088, 0.29362237453460693, -0.7412042617797852, 0.1217644065618515, -0.025739377364516258, 0.03960835561156273, -0.10990715771913528, -0.3775855600833893, 0.1078324019908905, -0.34903547167778015, 0.20997418463230133, 0.32180941104888916, -0.3677479922771454, -0.031053323298692703, 0.08911985903978348, 0.5002694129943848, 0.7918524742126465, -0.6046011447906494, 0.06704780459403992, 0.3376663327217102, -0.548760175704956, 0.36194878816604614, 0.07795806974172592, 0.21608774363994598, -0.03808775171637535, 0.5025436878204346, 0.9301853179931641, 0.15103274583816528, -1.1185407638549805, 0.6044971346855164, -0.08927971869707108, -0.3006107211112976, -0.45385169982910156, 0.01979164406657219, -0.3800438344478607, 0.4553219676017761, 0.26767033338546753, -0.12008515745401382, 0.3912743031978607, -0.6788442730903625, 0.4026194214820862, 0.2476707100868225, -0.34753453731536865, -0.5038714408874512, 0.8081035614013672, -0.01720387116074562, -0.05550706014037132, 0.4177266061306, -0.12214604020118713, -0.2897137701511383, 0.7715325951576233, -0.24399064481258392, 0.9087256193161011, -0.11203640699386597, 0.5394258499145508, 0.30835244059562683, 0.31537121534347534, -0.23974156379699707, 0.5400182604789734, -0.39521080255508423, -0.5985270738601685, -0.6095415353775024, -0.2520550787448883, -0.6022101640701294, 0.04567662626504898, -0.8380753397941589, 0.2378040850162506, -0.44078728556632996, -0.2924310863018036, 0.14085350930690765, -0.0757472962141037, -1.0133191347122192, 0.4828583896160126, 0.07417614758014679, 0.835785984992981, -0.9783159494400024, 0.755192756652832, 0.5508455634117126, -0.8272421360015869, -0.6704061031341553, -0.4029381275177002, 0.017480093985795975, -0.42624637484550476, 0.6690417528152466, 0.20406222343444824, -0.18126210570335388, -0.46072322130203247, -0.2264765501022339, -0.724990963935852, 1.2681981325149536, 0.34492960572242737, -0.3027043044567108, -0.1297549456357956, 0.12375547736883163, 0.5863215327262878, -0.14747247099876404, 0.5585129261016846, 0.738842248916626, 0.3619866669178009, 0.09381715208292007, -0.9468990564346313, -0.18337661027908325, -0.3889332115650177, -0.15840992331504822, 0.16096049547195435, -0.5253506302833557, 0.8617028594017029, -0.11669369786977768, 0.21114012598991394, -0.1780528724193573, 0.44997933506965637, 0.19788029789924622, 0.7300562858581543, 0.5895145535469055, 0.41766107082366943, 0.4025508463382721, 0.11205227673053741, 0.6182683110237122, 0.3481142222881317, 0.06956877559423447, 1.1173229217529297, -0.18730096518993378, 0.6027757525444031, 0.5811501741409302, -0.39333346486091614, 0.4665667712688446, 0.5710362195968628, -0.3627631962299347, 0.5103333592414856, -0.1558016687631607, -0.10669656842947006, -0.6712822914123535, -0.11248263716697693, -0.46115389466285706, 0.8078895211219788, 0.3278332054615021, -0.09452809393405914, -0.04476412758231163, 0.23364871740341187, -0.4716718792915344, 0.11138737201690674, -0.3341228663921356, 0.8041839003562927, -0.20411686599254608, -0.6603389382362366, 0.34162843227386475, -0.4394475221633911, 0.2190742790699005, -0.6977232694625854, -0.2245240956544876, -0.2349906861782074, 0.14620380103588104, -0.23247502744197845, -0.8555130362510681, 0.350187212228775, 0.4006955027580261, -0.04879343882203102, 0.008001269772648811, 0.30969616770744324, -0.061834175139665604, -0.08722227066755295, 0.15756888687610626, 0.5935612916946411, 0.09977306425571442, -0.162082239985466, -0.33980780839920044, 0.32508495450019836, -0.31282681226730347, -0.1697392463684082, 0.3656765818595886, 0.49985963106155396, -0.41770419478416443, 0.8622785210609436, 0.4272250533103943, -0.3044770658016205, -0.16242863237857819, 0.0657896101474762, 0.906265377998352, -0.7800782322883606, -0.48703429102897644, -0.8042213916778564, 0.607589840888977, -0.1070709154009819, -0.41276073455810547, 0.7287123799324036, 0.6219634413719177, 0.7932832837104797, -0.12656715512275696, 0.64503014087677, 0.10518311709165573, 0.05813763290643692, -0.7017405033111572, 0.08710428327322006, -0.6363465785980225, 0.29507261514663696, -0.7197567224502563, -0.8614508509635925, -0.061313677579164505, 0.21221685409545898, -0.4393545389175415, -0.1514068841934204, 0.6141045093536377, 0.45418253540992737, -0.26092052459716797, 0.05201679840683937, 0.2248280942440033, -0.2015821635723114, 0.5024470686912537, 0.6883598566055298, 1.018188238143921, -0.47033023834228516, 0.9806890487670898, -0.18426825106143951, -0.22195620834827423, 0.06521071493625641, -0.7915958762168884, -0.6439411044120789, -0.6294496059417725, -0.4816465675830841, -0.014724023640155792, 0.2852766811847687, 0.7064056992530823, 0.7944429516792297, -0.43585413694381714, -0.3264332711696625, 0.028883209452033043, 0.06191834807395935, -0.6142522096633911, -0.19840781390666962, 0.35399553179740906, 0.20808593928813934, -0.41148221492767334, 0.4076266884803772, 0.3501099944114685, -0.27711552381515503, -0.4506947994232178, -0.038417041301727295, 0.003972846549004316, -0.09150262922048569, 0.7430729269981384, 0.47686466574668884, -0.5316802263259888, -0.30515041947364807, 0.14645916223526, 0.3175954222679138, 0.07156311720609665, 0.909162700176239, -0.9672443270683289, 0.7878173589706421, 0.5043861865997314, 0.614189624786377, 1.0363174676895142, 0.05840969458222389, 0.46446236968040466, -0.4281120300292969, 0.08508719503879547, 0.18751822412014008, 0.19792470335960388, 0.3639109134674072, -0.022997038438916206, 0.6799206137657166, 0.3653446137905121, -0.4018499553203583, -1.0445034503936768, 0.2567048668861389, -0.9849899411201477, -0.223239004611969, 0.7503774166107178, -0.08928757905960083, -0.0636293888092041, -0.08157533407211304, -0.0724623054265976, 0.1520380973815918, -0.15784403681755066, 0.7106384038925171, 0.38150784373283386, -0.2505996823310852, -0.4834720194339752, -1.0806630849838257, 0.5174641013145447, 0.5087417960166931, -1.0012530088424683, -0.0665305107831955, 0.6038626432418823, 0.42912808060646057, -0.1802142858505249, 0.6204838752746582, -0.055281076580286026, 0.8834609985351562, 0.16441558301448822, -0.2150479108095169, -0.34297218918800354, -0.6926704049110413, -0.2782956063747406, 0.44864943623542786, -0.23101413249969482, -0.49070414900779724 ]
http://arxiv.org/abs/2406.11301v1
http://arxiv.org/pdf/2406.11301v1
Optimizing and Testing Instruction-Following: Analyzing the Impact of Fine-Grained Instruction Variants on instruction-tuned LLMs
2024-06-17T08:08:11
2024-06-17T08:08:11
Jiuding Yang, Weidong Guo, Kaitong Yang, Xiangyang Li, Zhuwei Rao, Yu Xu, Di Niu
cs.AI
cs.AI, cs.CL, cs.LG
The effective alignment of Large Language Models (LLMs) with precise instructions is essential for their application in diverse real-world scenarios. Current methods focus on enhancing the diversity and complexity of training and evaluation samples, yet they fall short in accurately assessing LLMs' ability to follow similar instruction variants. We introduce an effective data augmentation technique that decomposes complex instructions into simpler sub-components, modifies these, and reconstructs them into new variants, thereby preserves the original instruction's context and complexity while introducing variability, which is critical for training and evaluating LLMs' instruction-following precision. We developed the DeMoRecon dataset using this method to both fine-tune and evaluate LLMs. Our findings show that LLMs fine-tuned with DeMoRecon will gain significant performance boost on both ours and commonly used instructions-following benchmarks.
[ -0.28350192308425903, -0.776641845703125, 0.13743694126605988, -0.08588901907205582, -0.16373251378536224, 0.08774827420711517, -0.4660557210445404, -0.35104867815971375, -0.19620084762573242, 0.5910699963569641, -0.7463873028755188, -0.6119779348373413, -0.4722059369087219, 0.09866974502801895, -0.23062945902347565, 0.7123803496360779, -0.2610374987125397, 0.17488007247447968, -0.232325479388237, -0.07311252504587173, -0.3683556616306305, -0.24758601188659668, -0.2610310912132263, -0.3378489017486572, 0.2349000871181488, 0.8153497576713562, 0.6951004862785339, 1.0194331407546997, 0.5682289600372314, 0.3103867471218109, -0.020759325474500656, 0.6373617649078369, -0.6183040142059326, -0.011881411075592041, -0.0011218638392165303, -0.5953982472419739, -0.5084314942359924, -0.10323449224233627, 0.5225205421447754, 0.8941251039505005, -0.27421680092811584, 0.17887426912784576, 0.24444128572940826, 0.6428220868110657, -0.8175038695335388, 0.0802091434597969, -0.4717109203338623, -0.2244422435760498, 0.0996808186173439, -0.376808762550354, -0.42394840717315674, -0.8444823622703552, -0.033259063959121704, -0.42067432403564453, 0.40537229180336, -0.07605687528848648, 0.5459524393081665, 0.2634076178073883, -0.2257731407880783, -0.2893069088459015, -0.7707822322845459, 0.6977778673171997, -0.786309540271759, 0.6905750036239624, 0.29099521040916443, 0.17000643908977509, -0.3656737804412842, -0.6435241103172302, -0.24600280821323395, -0.2701650857925415, 0.15254946053028107, 0.1218559741973877, -0.011740525253117085, 0.26619529724121094, 0.3348236083984375, 0.5236318111419678, -0.41743430495262146, 0.4037518799304962, -0.453133761882782, 0.02822977490723133, 0.5195586681365967, 0.39570558071136475, 0.23835742473602295, 0.327099472284317, -0.10133741050958633, -0.3254946768283844, -0.7572367787361145, 0.07423952966928482, 0.7375718355178833, 0.3937692940235138, 0.0043554482981562614, 0.6561762690544128, -0.4354062080383301, 1.1713588237762451, 0.17152327299118042, -0.14112819731235504, 0.31099504232406616, -0.41028425097465515, -0.1934315264225006, -0.03403840586543083, 0.3546508848667145, 0.5157299637794495, 0.268292635679245, -0.09538503736257553, -0.27536293864250183, -0.1959245204925537, 0.2662578523159027, -0.9982388615608215, -0.30502232909202576, -0.0017401258228346705, -0.2800428569316864, -0.16255682706832886, 0.28572607040405273, -0.650108277797699, -0.14673872292041779, -0.7715060114860535, 0.2136356681585312, -0.5891244411468506, 0.2447431981563568, 0.42515215277671814, -0.014140966348350048, 0.40161842107772827, 0.3584475815296173, -1.2932873964309692, 0.34632986783981323, 1.034281849861145, 0.4565773606300354, -0.3157197833061218, -0.2044057548046112, -0.5703163146972656, 0.07111227512359619, -0.602562665939331, 0.7000263333320618, -0.998336136341095, -0.3284808099269867, 0.14419421553611755, 0.13192589581012726, 0.044756487011909485, -0.8120204210281372, 0.4825495481491089, -0.4527730643749237, 0.06486915051937103, -0.12246786057949066, -0.9711720943450928, -0.07929976284503937, 0.24651622772216797, -0.6600930690765381, 0.993510901927948, 0.3836281895637512, -0.35377541184425354, 0.14713607728481293, -0.1929580122232437, -0.5129721164703369, -0.1983412504196167, -0.29922086000442505, -0.17260196805000305, 0.3717960715293884, 0.21284140646457672, 0.29924675822257996, -0.06771460920572281, -0.37540197372436523, -0.22854827344417572, -0.7722326517105103, 0.10661507397890091, -0.663343608379364, 0.5082941055297852, -0.1540801078081131, -0.2888941466808319, -0.05560486391186714, -0.8698616027832031, 0.3128604590892792, -0.3196871280670166, -0.5109311938285828, -0.2426268607378006, 0.1263706088066101, -0.4252818822860718, -0.31677117943763733, 0.42046216130256653, -0.3605397939682007, 0.45067790150642395, -0.49387919902801514, 0.04109323024749756, 0.8187654614448547, -0.04722293093800545, 0.5452116131782532, -0.3635687232017517, 0.6311401128768921, -0.34231626987457275, 0.39893677830696106, -0.2836860120296478, -0.06844944506883621, -0.7564644813537598, -0.11185859888792038, 0.3339727222919464, 0.6507288217544556, -0.36389288306236267, 0.47674325108528137, -0.23266252875328064, -0.5684753060340881, -0.671757161617279, 0.37677815556526184, 0.2898246645927429, 0.40598437190055847, 0.3235538601875305, -0.2338942140340805, -0.5886053442955017, -0.8698441386222839, -0.16918280720710754, 0.17010708153247833, 0.07530415803194046, 0.09457439184188843, 0.025273088365793228, -0.36793091893196106, 0.491363525390625, -0.605231761932373, 0.25000059604644775, -0.1540747880935669, -0.1233629360795021, 0.1735275834798813, 0.5110535621643066, 0.10937953740358353, -0.4848994016647339, -0.4471081495285034, 0.22217032313346863, -0.22250038385391235, -0.2517009973526001, 0.12338031828403473, 0.05535942316055298, 0.0669734999537468, 0.7191193699836731, -0.1568121612071991, 0.3452622890472412, 0.7467129230499268, 0.18916301429271698, 0.6096493005752563, -0.21441017091274261, 0.5393406748771667, -0.7868461012840271, -0.31277137994766235, -0.27474477887153625, -0.16856320202350616, -0.48210737109184265, 0.13254565000534058, 0.37811926007270813, 0.24862587451934814, -0.35209324955940247, 0.134154811501503, -0.6267099976539612, 0.024461280554533005, -0.4126112759113312, -0.04555026441812515, 0.0018221703357994556, 0.22107084095478058, -0.29991933703422546, 1.1353614330291748, 0.37343135476112366, -0.49879708886146545, 0.41394510865211487, -0.02436317875981331, -0.5779750943183899, 0.23909573256969452, -0.6125946640968323, 0.19490374624729156, -0.12717585265636444, -0.036362070590257645, -1.0254740715026855, -0.23210380971431732, 0.023646295070648193, -0.0033777845092117786, 0.5143516063690186, -0.2925584614276886, -0.5584551095962524, 0.0029757393058389425, -0.4020840525627136, 0.2681206166744232, 0.7662936449050903, -0.5192180871963501, 0.6311691999435425, -0.09412498027086258, 0.06337513774633408, -0.5674243569374084, -0.47370317578315735, -0.3536181151866913, 0.03493744134902954, -0.3286100924015045, 0.45493391156196594, -0.17338591814041138, -0.16040699183940887, -0.27946317195892334, -0.4807015061378479, 0.1400093287229538, 0.07125639915466309, 0.27941086888313293, 0.32579702138900757, -0.2181885540485382, -0.16798384487628937, 0.2056310623884201, 0.04718261957168579, -0.15282094478607178, -0.03799142315983772, 0.6805160045623779, 0.10112155228853226, -0.5860689878463745, -0.7434728145599365, 0.11793764680624008, 0.3201606571674347, -0.061575789004564285, 0.3770826458930969, 0.33388474583625793, -0.15643583238124847, -0.46189644932746887, -0.5062035918235779, -0.3187384605407715, -0.5740572214126587, 0.5699208378791809, -0.18628130853176117, -0.7179107069969177, 0.20336885750293732, -0.399244099855423, 0.31544697284698486, -0.032377924770116806, 0.3370817303657532, -0.3357597887516022, 0.9350547790527344, 0.6687309145927429, 0.021961795166134834, 0.7418764233589172, -0.267849862575531, -0.054022032767534256, -0.8281005620956421, -0.16207970678806305, -0.48739224672317505, -0.4143930673599243, -0.636030375957489, -0.5918019413948059, -0.04732728749513626, 0.2610020637512207, -0.036999501287937164, 0.470022052526474, -0.3950917720794678, 0.9338481426239014, 0.41195929050445557, 0.3188580274581909, 0.2932741940021515, 0.09911969304084778, 0.1568855494260788, -0.08784220367670059, -0.5389384031295776, -0.7136887907981873, 1.0541685819625854, 0.16630885004997253, 1.3471568822860718, -0.019381515681743622, 0.6825072169303894, 0.07703984528779984, 0.22560089826583862, -0.7097642421722412, 0.5142611861228943, -0.6871856451034546, -0.13450568914413452, 0.029068050906062126, -0.3638594150543213, -0.812745988368988, -0.10921420156955719, 0.0027232058346271515, -0.7174959182739258, -0.03361287713050842, 0.24615442752838135, -0.35901156067848206, 0.07802728563547134, -0.9424214363098145, 0.6148921251296997, -0.2592165470123291, 0.0008314820006489754, -0.1448628008365631, -0.3668842911720276, 0.20723655819892883, 0.1251474767923355, -0.17454800009727478, 0.02949836105108261, -0.33642733097076416, 0.4547663927078247, -0.2557147443294525, 0.978496789932251, 0.2923744022846222, -0.30449846386909485, 0.057461779564619064, 0.10498002916574478, 0.6345755457878113, -0.20161716639995575, -0.08751232177019119, -0.17424657940864563, -0.0854804664850235, -0.3064008951187134, -1.0567388534545898, 0.7503371834754944, -0.8286792635917664, -0.7639170289039612, 0.1541454792022705, -0.670192301273346, -0.4359358549118042, -0.03265759348869324, 0.16457462310791016, 0.693939745426178, -0.14539393782615662, 0.24901780486106873, 1.0436450242996216, 0.007101607974618673, 0.1135898306965828, 0.4848993718624115, -0.020875096321105957, -0.4705621898174286, 0.6833049654960632, 0.0629272609949112, 0.6092785000801086, 0.5863889455795288, -0.010608759708702564, -0.18321846425533295, -0.7918602228164673, -0.391139954328537, -0.05920366942882538, -0.6621259450912476, -0.16200514137744904, -0.15936672687530518, -0.1701408475637436, -0.33508267998695374, -0.15535320341587067, -0.5224841237068176, -0.3161889314651489, -0.5242426991462708, -0.1758984923362732, 0.17971989512443542, 0.5684517621994019, 0.07454022020101547, 0.5786982774734497, -0.9276527762413025, 0.17200398445129395, 0.30621039867401123, 0.41442424058914185, -0.21963940560817719, -0.718988835811615, -0.24580274522304535, 0.34704726934432983, -0.3218841254711151, -0.8477714657783508, -0.1805109828710556, 0.1944449245929718, 0.6377116441726685, 0.3405468165874481, -0.13704033195972443, 0.9699416160583496, -0.7152125239372253, 0.5236033201217651, -0.0331263430416584, -0.7478116154670715, 0.5538666844367981, 0.022361233830451965, 0.3366044759750366, 0.8212670683860779, 0.3093511760234833, -0.13648013770580292, -0.3080243468284607, -0.5250547528266907, -0.6501551866531372, 0.6151543259620667, 0.02263091504573822, 0.38042715191841125, 0.21103572845458984, 0.6609910726547241, 0.3378581702709198, -0.042714692652225494, 0.05196613445878029, -0.4411000907421112, 0.33003222942352295, -0.5834545493125916, -0.12189368158578873, -0.1814887970685959, -0.34640929102897644, -0.21855778992176056, 0.600516140460968, 0.0000032586838187853573, -0.104537732899189, -0.11138538271188736, 0.014142733998596668, -0.09644835442304611, 0.14965097606182098, 0.814643919467926, 0.8491530418395996, -0.3003127872943878, 0.08277421444654465, 0.34853458404541016, -0.5583813190460205, 0.16722573339939117, 0.2354702204465866, -0.18628118932247162, 0.038453053683042526, 0.48024114966392517, 0.8238694667816162, 0.22167426347732544, -0.8227481245994568, 0.27341651916503906, -0.04881203919649124, -0.023116188123822212, -0.07858672738075256, 0.7709688544273376, 0.055509302765131, 0.3321481943130493, 0.23315486311912537, -0.03108351305127144, 0.07196604460477829, -0.46680963039398193, 0.5197355151176453, 0.29977110028266907, -0.35117775201797485, -0.2920794188976288, 0.07919074594974518, 0.06948205083608627, -0.48632052540779114, 0.4869277775287628, 0.02353251725435257, -0.33531439304351807, 0.6737185120582581, 0.5645716786384583, 0.4701797664165497, -0.38715434074401855, 0.035853639245033264, 0.26572054624557495, 0.4454199969768524, -0.24202321469783783, 0.40010887384414673, 0.03059505857527256, -0.5871843695640564, -0.544032096862793, -0.25413262844085693, -0.5029609203338623, -0.03884615749120712, -0.9636227488517761, 0.42329978942871094, -0.46001896262168884, 0.08393732458353043, -0.08176283538341522, -0.016184816136956215, -0.5683342218399048, 0.12744693458080292, 0.025912541896104813, 1.187746286392212, -0.7235154509544373, 0.6670096516609192, 0.582735538482666, -0.06876349449157715, -0.9974662065505981, 0.11440147459506989, -0.17782148718833923, -0.9525524377822876, 0.40548470616340637, 0.2720063328742981, -0.08292721211910248, -0.049652304500341415, -0.6222924590110779, -0.7026306986808777, 1.0927311182022095, 0.6044756174087524, -1.0555498600006104, 0.20809637010097504, 0.23486961424350739, 0.4266679286956787, -0.2517502009868622, 0.33202776312828064, 0.8667001128196716, 0.1875850409269333, 0.1548910140991211, -0.6021988391876221, -0.10294096916913986, 0.15086089074611664, -0.03618919476866722, 0.49205583333969116, -0.5841564536094666, 0.532468855381012, -0.12223514169454575, -0.0656777173280716, 0.05635502561926842, 0.6357298493385315, 0.21222762763500214, -0.01551098469644785, 0.4061323404312134, 0.7092078924179077, 0.7412026524543762, 0.02129483036696911, 0.8395651578903198, -0.2595188617706299, 0.22517871856689453, 1.5984382629394531, -0.1460210531949997, 0.9219675660133362, 0.4987654387950897, -0.19073700904846191, 0.6139879822731018, 0.6541630625724792, -0.1321278065443039, 0.506605863571167, 0.3360459506511688, -0.19021788239479065, -0.2410595417022705, 0.055485278367996216, -0.30243629217147827, 0.37377652525901794, 0.254123330116272, -0.3734021782875061, -0.3254653513431549, -0.19166876375675201, -0.07145730406045914, 0.17039379477500916, -0.21044687926769257, 0.8309312462806702, -0.18613925576210022, -0.6214099526405334, 0.7246097326278687, -0.032704733312129974, 0.4303451478481293, -0.5503690838813782, -0.36072400212287903, -0.47357645630836487, 0.22159337997436523, -0.24490579962730408, -0.7963113188743591, 0.08801720291376114, 0.0015849022893235087, -0.13071957230567932, 0.02583998814225197, 0.4086940884590149, -0.5766143202781677, -0.41648396849632263, 0.07162457704544067, 0.24548694491386414, -0.02195896953344345, 0.32734376192092896, -0.6315773129463196, 0.4873661696910858, 0.3433266878128052, -0.1805843859910965, 0.2698225975036621, 0.4654979407787323, 0.14107564091682434, 0.5804195404052734, 0.4917847812175751, 0.08965437859296799, 0.2213013619184494, 0.2584685683250427, 0.9529092311859131, -0.46044936776161194, -0.0011818065540865064, -1.0257948637008667, 0.45896798372268677, -0.06936981528997421, -0.3200717270374298, 0.6829937100410461, 0.80295330286026, 1.0071139335632324, 0.04498797282576561, 0.5547201633453369, 0.1720750480890274, 0.19168910384178162, -0.7013797163963318, 0.13206368684768677, -0.34513577818870544, 0.43172845244407654, 0.07563662528991699, -0.9744535088539124, -0.04842706397175789, 0.29672229290008545, -0.10500989854335785, 0.05023123323917389, 0.45384475588798523, 1.1905755996704102, -0.33694836497306824, 0.13271208107471466, 0.22372864186763763, -0.11907748132944107, 0.04179468750953674, 0.46201181411743164, 0.9283790588378906, -0.6414521336555481, 0.5852780342102051, -0.5234862565994263, -0.4147164225578308, -0.12274675071239471, -0.6452062129974365, -0.8912118673324585, -0.28869110345840454, -0.4403601884841919, -0.19868947565555573, 0.2130187302827835, 0.9722656011581421, 0.6570692658424377, -0.8200654983520508, -0.2761964499950409, -0.20047421753406525, 0.05180589482188225, -0.3485657274723053, -0.17356398701667786, 0.3410169780254364, -0.5061070919036865, -0.9635961651802063, 0.4369550943374634, 0.11106130480766296, 0.30630719661712646, -0.09918247908353806, -0.09016204625368118, 0.04737000912427902, 0.06723388284444809, 0.3389807641506195, 0.04590190201997757, -0.5897235870361328, -0.31026193499565125, 0.30680349469184875, -0.2676362693309784, 0.0022697870153933764, 0.8078353404998779, -0.3130943775177002, 0.5130882263183594, 0.5930628180503845, 0.9823819398880005, 0.19180427491664886, 0.43284082412719727, 0.6797678470611572, -0.7494378685951233, -0.19646330177783966, 0.23632612824440002, 0.2096565067768097, 0.3122929334640503, -0.24726596474647522, 0.5180198550224304, -0.14435212314128876, -0.5072263479232788, -0.757866382598877, 0.17880520224571228, -1.013412594795227, -0.27615752816200256, 1.3207720518112183, -0.16270384192466736, -0.17205558717250824, 0.19279447197914124, -0.3092101514339447, 0.2338644415140152, -0.27927446365356445, 0.6797688603401184, 0.5865689516067505, -0.2732399106025696, -0.22638894617557526, -0.5560896396636963, 0.3859298825263977, 0.3531090319156647, -0.7989877462387085, 0.2293747067451477, 0.48716044425964355, 0.420452743768692, -0.08946483582258224, 0.08487532287836075, -0.08677129447460175, 0.3089500963687897, -0.20717760920524597, 0.015020778402686119, -0.17489337921142578, -0.15672987699508667, -0.37041547894477844, -0.08788160979747772, 0.0054670399986207485, -0.592136800289154 ]
http://arxiv.org/abs/2406.11924v1
http://arxiv.org/pdf/2406.11924v1
Explainable assessment of financial experts' credibility by classifying social media forecasts and checking the predictions with actual market data
2024-06-17T08:08:03
2024-06-17T08:08:03
Silvia García-Méndez, Francisco de Arriba-Pérez, Jaime González-Gonzáleza, Francisco J. González-Castaño
cs.SI
cs.SI, cs.AI, cs.CL, cs.LG
Social media include diverse interaction metrics related to user popularity, the most evident example being the number of user followers. The latter has raised concerns about the credibility of the posts by the most popular creators. However, most existing approaches to assess credibility in social media strictly consider this problem a binary classification, often based on a priori information, without checking if actual real-world facts back the users' comments. In addition, they do not provide automatic explanations of their predictions to foster their trustworthiness. In this work, we propose a credibility assessment solution for financial creators in social media that combines Natural Language Processing and Machine Learning. The reputation of the contributors is assessed by automatically classifying their forecasts on asset values by type and verifying these predictions with actual market data to approximate their probability of success. The outcome of this verification is a continuous credibility score instead of a binary result, an entirely novel contribution by this work. Moreover, social media metrics (i.e., user context) are exploited by calculating their correlation with the credibility rankings, providing insights on the interest of the end-users in financial posts and their forecasts (i.e., drop or rise). Finally, the system provides natural language explanations of its decisions based on a model-agnostic analysis of relevant features.
[ -0.3413769602775574, -0.9265115261077881, 0.4930122196674347, 0.5305686593055725, -0.3016548752784729, 0.5472730994224548, -0.182346373796463, -0.6617335677146912, 0.275285929441452, 0.34330442547798157, -0.3401075601577759, -0.6393293738365173, -0.8447542190551758, -0.12955555319786072, -0.6252465844154358, 0.9460727572441101, 0.10248240828514099, -0.07599405944347382, -0.2567361295223236, -0.05842914804816246, -0.2107207328081131, -0.25224438309669495, -0.9737281799316406, -0.19075055420398712, 0.3468768298625946, 0.19645093381404877, 1.0379829406738281, 0.4951850175857544, 0.6353037357330322, 0.42279723286628723, -0.11240746080875397, 0.20646034181118011, -0.3004820942878723, -0.2112768292427063, -0.34168100357055664, 0.03663574904203415, -0.4361099898815155, 0.1980195790529251, 0.36924830079078674, 0.4735565781593323, -0.0596880279481411, 0.560684084892273, 0.1961410790681839, 0.3945762813091278, -0.516486406326294, 0.4020122289657593, -0.6126983165740967, -0.2975076138973236, 0.08387086540460587, -0.42547956109046936, -0.36868518590927124, -0.7761176228523254, 0.3975568413734436, -0.47828999161720276, 0.1202659085392952, 0.12110268324613571, 1.058996319770813, 0.02967936173081398, -0.45933496952056885, -0.37498652935028076, -1.0133153200149536, 0.5508440732955933, -0.4456581771373749, 0.2625233232975006, 0.5464007258415222, 0.8090768456459045, 0.043355707079172134, -0.5126183032989502, -0.4492175877094269, -0.03675560653209686, -0.1764651983976364, 0.09261205792427063, -0.328079491853714, -0.21210050582885742, -0.01538886409252882, 0.25361961126327515, -0.328560471534729, -0.009087981656193733, -0.3482036590576172, -0.407964825630188, 0.8172946572303772, -0.3998098373413086, -0.11781413108110428, -0.17256496846675873, -0.5841373205184937, -0.11476745456457138, -0.35774996876716614, 0.26859280467033386, 0.5747042298316956, 0.17642873525619507, -0.057337045669555664, 0.3072257339954376, -0.13880431652069092, 0.44309696555137634, 0.2590855062007904, -0.41368335485458374, 0.013551049865782261, -0.171237513422966, -0.11072401702404022, 0.3265969753265381, 0.7333763241767883, 0.6319534182548523, 0.37766003608703613, -0.07926476746797562, -0.21303649246692657, 0.13175606727600098, 0.24007724225521088, -0.6065011620521545, -0.1395767629146576, 0.24360355734825134, -0.5247273445129395, -0.6203598380088806, 0.4150455892086029, -0.7280113697052002, -0.3496617376804352, -0.1915869116783142, 0.7140827178955078, -0.3079979121685028, -0.24595455825328827, -0.06441863626241684, -0.19146329164505005, -0.15988880395889282, 0.2052970677614212, -0.5677071213722229, 0.4235732853412628, 0.8089926838874817, 0.6924691796302795, 0.23327568173408508, -0.023309405893087387, -0.7974194884300232, 0.13215281069278717, -0.29995664954185486, 1.064366102218628, -0.27411431074142456, -0.014728657901287079, 0.19398003816604614, -0.17404189705848694, 0.2641336917877197, -0.0795460194349289, 0.5306869149208069, -0.9052293300628662, 0.061630453914403915, -0.23117639124393463, -0.7996855974197388, -0.2995709180831909, 0.18682169914245605, -0.5743144750595093, 0.8353549242019653, 0.13105788826942444, -0.8187801241874695, 0.8251698017120361, -0.7005270719528198, -0.35953161120414734, 0.3694727420806885, 0.20968064665794373, -0.35815584659576416, -0.21227122843265533, 0.35976606607437134, 0.7315092086791992, -0.10565688461065292, 0.5042679905891418, -0.7039839029312134, -0.1876804530620575, 0.827189564704895, -0.5691859126091003, 0.4970622956752777, 0.19469523429870605, -0.32168805599212646, -0.07853464782238007, -0.909289538860321, 0.05682402104139328, -0.05497957393527031, -0.017550049349665642, -0.5320454835891724, 0.2121681272983551, 0.16111992299556732, 0.08802495151758194, 0.3672618269920349, -0.563964307308197, -0.2593752145767212, -0.4481458365917206, 0.5032601952552795, 0.9234058856964111, 0.3370712101459503, 0.3730391263961792, -0.4076116383075714, 0.25064557790756226, -0.12280961871147156, 0.24584364891052246, 0.09516481310129166, -0.5095254182815552, -0.31657734513282776, -0.10339140892028809, 0.5587306618690491, 0.4308699369430542, -0.32761868834495544, 0.659612238407135, -0.391854465007782, -0.7832018733024597, -0.48541781306266785, 0.37793463468551636, 0.07401187717914581, 0.7532345056533813, 0.2465045154094696, -0.06735511869192123, -0.4058239161968231, -0.8480542302131653, -0.6414290070533752, -0.47502049803733826, -0.21439921855926514, 0.1855042725801468, 0.2116193026304245, -0.26842811703681946, 1.2060502767562866, -0.4559575021266937, -0.012653862126171589, 0.03991224616765976, 0.374011754989624, 0.2017955631017685, 0.24848084151744843, 0.6293526291847229, -1.0596442222595215, -0.4788185656070709, 0.18991920351982117, -0.4888695478439331, 0.0925261527299881, -0.37972646951675415, 0.029086757451295853, 0.037322599440813065, 0.19692306220531464, -0.3789026439189911, 0.5322080254554749, 0.519092857837677, -0.5541680455207825, 0.4504989981651306, -0.153768390417099, 0.30370959639549255, -0.9043430089950562, 0.027383415028452873, 0.5240552425384521, -0.5499330759048462, -0.41526490449905396, -0.3906571567058563, -0.09698943793773651, 0.28698062896728516, 0.018739154562354088, 0.8165972232818604, 0.06973835080862045, -0.3476808965206146, -0.1957368403673172, 0.25516900420188904, -0.0949278324842453, 0.11504693329334259, -0.20437602698802948, 0.11414124816656113, 0.6223666071891785, -0.5900503396987915, 0.3036854565143585, 0.07853332906961441, -0.47913357615470886, 0.5535607933998108, -0.776382327079773, -0.01456077117472887, 0.18793217837810516, 0.22255095839500427, -1.3738431930541992, -0.323382169008255, 0.31850743293762207, -0.9383048415184021, -0.15484070777893066, -0.23254577815532684, -0.6348467469215393, -0.3847111165523529, 0.015656916424632072, -0.12626342475414276, 0.4711216986179352, -0.577897846698761, 0.6871998906135559, 0.2780154049396515, -0.338741660118103, -0.5745561122894287, -0.43993425369262695, 0.15074139833450317, -0.2991102337837219, -0.8766686916351318, 0.43483689427375793, -0.12049271911382675, -0.7041285634040833, 0.2817637026309967, -0.17283795773983002, -0.24958644807338715, 0.36220934987068176, 0.3520227074623108, 0.6358307600021362, 0.01505244616419077, 0.010943264700472355, 0.20857740938663483, -0.2645523250102997, 0.28756049275398254, -0.28590303659439087, 0.09723580628633499, -0.4444955289363861, -0.13686200976371765, -0.6320088505744934, -0.13032139837741852, 0.4773881733417511, 0.019644716754555702, 0.9696125984191895, 0.8253566026687622, -0.5527157783508301, -0.03171388804912567, -0.9198954105377197, -0.14303942024707794, -0.5898035764694214, -0.21840885281562805, 0.05033393204212189, -0.8592070937156677, 0.8528336882591248, 0.14586099982261658, 0.3413752615451813, 0.8580866456031799, 0.6696673035621643, -0.1545156091451645, 1.0436357259750366, 0.5362746715545654, 0.08794445544481277, 0.1726173460483551, 0.06246453896164894, 0.44559818506240845, 0.2819044589996338, -0.13366857171058655, -0.36008238792419434, -0.34636905789375305, -0.6105949282646179, -0.11817259341478348, -0.0784347876906395, 0.08612038195133209, -0.05376468971371651, 0.6229240298271179, -0.3876732885837555, 0.4857589900493622, 0.4354259967803955, -0.0023931243922561407, 0.44146814942359924, 0.06327904760837555, 0.12477733939886093, 0.0658361092209816, -0.24736283719539642, -0.7994597554206848, 0.9129598140716553, 0.6952587962150574, 0.562434196472168, -0.04305099695920944, 0.5511047840118408, 0.8780101537704468, 0.8731541633605957, -0.7134907245635986, 0.3076869547367096, 0.013876277022063732, -0.5850299000740051, -0.34307661652565, -0.7780439853668213, -0.42489761114120483, -0.34578952193260193, -0.4324720501899719, -0.44990384578704834, 0.11012415587902069, 0.26102450489997864, -0.6671745777130127, 0.12695004045963287, -0.5781272649765015, 0.6863059997558594, -0.40448832511901855, -0.19531527161598206, -0.31250879168510437, -0.6189681887626648, 0.35311609506607056, -0.2790226936340332, 0.7105685472488403, -0.08665767312049866, -0.0060477713122963905, 0.8862651586532593, -0.4453091323375702, 0.7173671722412109, -0.25605177879333496, 0.028082486242055893, 0.4633948504924774, 0.07966708391904831, 0.383293479681015, 0.444985955953598, -0.15026620030403137, 0.2318921983242035, 0.19958852231502533, -0.4195675849914551, -0.771703839302063, 0.6918690800666809, -0.6775180697441101, 0.023237129673361778, -0.2626561224460602, -0.05111503601074219, -0.33561402559280396, 0.18148741126060486, 0.040365759283304214, 0.16074806451797485, -0.4262593388557434, 0.2039613574743271, 0.15200626850128174, 0.21342264115810394, 0.30491572618484497, 0.5961329340934753, -0.06330741196870804, -0.7324959635734558, 0.9158967733383179, 0.17633190751075745, 0.006673349533230066, 0.13778303563594818, 0.6053339242935181, -0.5860110521316528, -0.5362030267715454, -0.19782976806163788, 0.031950488686561584, -0.7049789428710938, -0.10409733653068542, -0.3699018061161041, -0.25622743368148804, -0.6327566504478455, -0.4823869466781616, -0.3631182909011841, -0.5004604458808899, -0.08025684952735901, -0.5539610385894775, 0.5228279829025269, 0.7548401951789856, -0.21059976518154144, 0.4093863070011139, -0.9277533888816833, 0.23719967901706696, 0.4296046793460846, 0.6207881569862366, 0.049951449036598206, -0.48667895793914795, -0.43358442187309265, 0.16470256447792053, -0.07578010857105255, -0.7667042016983032, 0.41797444224357605, 0.053681597113609314, 0.4457584619522095, 1.0930219888687134, 0.1299315094947815, 0.5919134020805359, 0.03643966093659401, 0.41816839575767517, 0.2694275677204132, -0.9152045249938965, 0.48457080125808716, -0.2503507733345032, -0.47443631291389465, 0.7191545367240906, 0.680422842502594, -0.4646550714969635, -0.5266616344451904, -0.9958208203315735, -0.6485493183135986, 0.16740350425243378, 0.2939383089542389, -0.06852897256612778, -0.14265736937522888, 0.5513849854469299, 0.22794966399669647, 0.244833841919899, -0.6404699683189392, -0.15226608514785767, -0.482369989156723, -0.0509803369641304, -0.10346265882253647, -0.31736674904823303, -0.04161519184708595, -0.10938456654548645, 0.6730431318283081, -0.11881006509065628, -0.14965477585792542, 0.12008585780858994, 0.08505789190530777, -0.3209908604621887, -0.007504287175834179, 0.273269921541214, 1.1118340492248535, -0.46265238523483276, 0.08556541055440903, -0.09489859640598297, -0.032721444964408875, -0.09673722833395004, 0.2742663025856018, -0.12609082460403442, 0.2484930008649826, 0.3391420841217041, 0.3434588611125946, 0.5630278587341309, -0.5526593327522278, 0.5396198034286499, -0.24637864530086517, -0.3780418038368225, -0.8530552983283997, -0.29563748836517334, 0.2541825473308563, 0.15978148579597473, 0.6903056502342224, 0.697995126247406, 0.03538517281413078, -0.4110028147697449, 0.4875774383544922, 0.1584635078907013, -0.6922150254249573, -0.49827834963798523, 0.6743829846382141, 0.2870769798755646, -0.43118301033973694, 0.4049137532711029, -0.1272725760936737, -0.47159165143966675, 0.4830069839954376, 0.0969155877828598, 1.0056143999099731, -0.22987043857574463, 0.5366718769073486, 0.49825751781463623, 0.16930542886257172, -0.36559998989105225, 0.024174749851226807, -0.0000809875491540879, -0.9335852265357971, -0.4960379898548126, -0.9253446459770203, -0.5246952772140503, -0.06915490329265594, -0.7160064578056335, 0.38809412717819214, -0.9037488102912903, -0.5330645442008972, 0.5475735068321228, 0.07423084229230881, -0.5997380614280701, 0.17478303611278534, 0.09755814075469971, 0.9128259420394897, -0.971897542476654, 0.32420313358306885, 0.45732516050338745, -0.22672943770885468, -0.6096388697624207, -0.0897030308842659, 0.10329681634902954, -0.688902735710144, 0.5283419489860535, 0.2647169232368469, -0.1759740710258484, -0.16367200016975403, -0.6294190287590027, -0.5022985935211182, 0.8445832133293152, 0.18560367822647095, -0.24044586718082428, 0.023902418091893196, -0.07756774127483368, 0.6797258853912354, -0.44304633140563965, 0.0262705497443676, 0.28203117847442627, 0.6979808211326599, 0.43005508184432983, -0.6486731171607971, -0.14799441397190094, -0.3214055895805359, -0.35981065034866333, -0.09841632097959518, -0.33730190992355347, 0.33035117387771606, -0.10404890030622482, -0.2426992505788803, -0.1549835503101349, 0.9567991495132446, 0.10289280116558075, 0.8687858581542969, 0.8244783282279968, 0.24537259340286255, 0.7991428971290588, -0.013613673858344555, 0.9809722304344177, -0.6643481254577637, 0.5739099383354187, 0.8104196190834045, 0.04791714996099472, 1.1193270683288574, 0.054441407322883606, -0.09921720623970032, 0.8219789266586304, 0.9032069444656372, -0.3717685341835022, 0.1069083884358406, -0.1716259866952896, -0.11544188112020493, -0.6103161573410034, -0.021688304841518402, -0.005279697012156248, 0.47412094473838806, 0.4342447519302368, -0.5744920372962952, 0.03809905797243118, -0.3040720820426941, 0.0643337145447731, 0.30040279030799866, -0.276090145111084, 0.569481611251831, 0.12803348898887634, -0.5678120255470276, 0.005633339285850525, 0.18961545825004578, 0.5420982837677002, -0.6445605158805847, 0.1741088479757309, 0.1566828340291977, 0.29517701268196106, -0.24745744466781616, -0.8999929428100586, 0.5212034583091736, -0.02002880908548832, -0.015626149252057076, -0.5916041731834412, 0.9543309211730957, -0.21270470321178436, -0.7931495308876038, 0.34860774874687195, 0.4962233603000641, -0.027690064162015915, -0.3717338740825653, -0.6707110404968262, -0.4703173339366913, -0.319423645734787, -0.17299658060073853, 0.13726839423179626, 0.17921528220176697, 0.15267260372638702, 0.9176851511001587, 1.080199122428894, -0.12367595732212067, -0.4120185077190399, -0.09271439909934998, 0.5403474569320679, -0.4998205602169037, -0.8266466856002808, -1.072737693786621, 0.22025597095489502, -0.40120986104011536, -0.04362732544541359, 1.095943570137024, 0.44519883394241333, 0.4331143796443939, 0.2211010605096817, 0.6806257963180542, 0.18004992604255676, 0.8118712306022644, -0.05362991616129875, 1.0621628761291504, -0.3883533775806427, 0.34705850481987, -0.5206639170646667, -0.7379179000854492, -0.18586163222789764, 0.45363709330558777, -0.5750080347061157, -0.05291595682501793, 0.22572557628154755, 0.4750986099243164, 0.030958833172917366, 0.18939515948295593, -0.006708955857902765, 0.3319060504436493, 0.13732008635997772, -0.1832398772239685, 0.5860379338264465, -0.20182465016841888, 0.8646096587181091, -0.608591616153717, -0.37507838010787964, -0.39706921577453613, -1.0098140239715576, -0.9925074577331543, -0.419289767742157, -0.5754653811454773, -0.6728405356407166, -0.24809342622756958, 0.7653067111968994, 0.523857593536377, -0.832490861415863, -0.04404456168413162, 0.2765481770038605, 0.3662026822566986, -0.5138431787490845, -0.350604385137558, 0.38715213537216187, 0.17383812367916107, -0.24727840721607208, 0.18311826884746552, 0.42057934403419495, 0.1484818309545517, -0.5181404948234558, 0.030368058010935783, 0.1938406229019165, 0.3107825219631195, 0.5947274565696716, 0.188146710395813, -0.6360922455787659, -0.4681309759616852, 0.14062026143074036, 0.05157692730426788, -0.2664010226726532, 0.4298514127731323, -0.669189453125, 0.2979292869567871, 0.5143195390701294, 0.5439258813858032, 0.2153579443693161, 0.5709835886955261, 0.552286684513092, -0.36929529905319214, -0.4836968183517456, 0.1086752787232399, 0.12341274321079254, 0.27223119139671326, -0.5905812382698059, 0.17755168676376343, 0.33196282386779785, -0.5612438917160034, -0.6492148041725159, -0.23557813465595245, -1.1140280961990356, -0.056352969259023666, 0.8347870111465454, -0.2042042464017868, -0.26464003324508667, -0.2898770570755005, 0.2087084949016571, -0.04014643654227257, -0.6663956642150879, 1.2286996841430664, 0.9052786231040955, 0.32636892795562744, 0.14566606283187866, -0.5576094388961792, 0.4986061751842499, -0.13080880045890808, -0.3835006654262543, 0.03242269530892372, 0.21486514806747437, 0.44963452219963074, 0.4409637749195099, 0.5563191175460815, 0.05093726888298988, 0.502690315246582, -0.12751972675323486, -0.3851434588432312, -0.07163746654987335, -0.11305850744247437, 0.1667356789112091, 0.3423185646533966, -0.06140858307480812, 0.23605482280254364 ]
http://arxiv.org/abs/2406.11290v1
http://arxiv.org/pdf/2406.11290v1
Iterative Utility Judgment Framework via LLMs Inspired by Relevance in Philosophy
2024-06-17T07:52:42
2024-06-17T07:52:42
Hengran Zhang, Keping Bi, Jiafeng Guo, Xueqi Cheng
cs.IR
cs.IR, cs.AI, cs.CL, cs.LG
Utility and topical relevance are critical measures in information retrieval (IR), reflecting system and user perspectives, respectively. While topical relevance has long been emphasized, utility is a higher standard of relevance and is more useful for facilitating downstream tasks, e.g., in Retrieval-Augmented Generation (RAG). When we incorporate utility judgments into RAG, we realize that the topical relevance, utility, and answering in RAG are closely related to the three types of relevance that Schutz discussed from a philosophical perspective. They are topical relevance, interpretational relevance, and motivational relevance, respectively. Inspired by the dynamic iterations of the three types of relevance, we propose an Iterative utiliTy judgmEnt fraMework (ITEM) to promote each step of the cycle of RAG. We conducted extensive experiments on multi-grade passage retrieval and factoid question-answering datasets (i.e., TREC DL, WebAP, and NQ). Experimental results demonstrate significant improvements in utility judgments, ranking of topical relevance, and answer generation upon representative baselines, including multiple single-shot utility judging approaches. Our code and benchmark can be found at https://anonymous.4open.science/r/ITEM-B486/.
[ -0.2460184097290039, -0.39606672525405884, 0.9074727892875671, -0.06549794226884842, -0.3742806613445282, 0.05007268488407135, 0.019496796652674675, -0.0858461856842041, 0.30572181940078735, 0.8049934506416321, -0.25800007581710815, -0.5059929490089417, -0.27803748846054077, -0.1508444994688034, -0.31067800521850586, 1.0548003911972046, 0.16635949909687042, -0.15143775939941406, -0.40763047337532043, -0.3145029544830322, -0.3786754310131073, -0.21523521840572357, -0.45150232315063477, -0.45728978514671326, 0.7222928404808044, 0.6583799123764038, 0.5928514003753662, 0.42696747183799744, 0.8313935399055481, 0.27579209208488464, 0.08531270176172256, 0.0385986752808094, -0.42574286460876465, 0.42372238636016846, -0.4317103922367096, -0.27944815158843994, -0.29615089297294617, 0.20007923245429993, 0.3802289366722107, 0.5861229300498962, -0.4932105243206024, 0.543931782245636, 0.18103966116905212, 0.7170742750167847, -0.8786299228668213, -0.27662256360054016, -0.8997423648834229, -0.10339231044054031, -0.27586430311203003, -0.9011588096618652, -0.4775380790233612, -0.48420336842536926, 0.31337881088256836, -0.504061758518219, 0.33311477303504944, 0.31183671951293945, 0.7605476975440979, 0.28744035959243774, -0.6486981511116028, -0.33889737725257874, -0.5206602215766907, 0.8402485847473145, -0.3997189998626709, 0.21769043803215027, 0.4389907717704773, 0.4898309111595154, 0.18762648105621338, -0.8186458349227905, -0.14593587815761566, -0.5936121344566345, 0.028438348323106766, 0.18460430204868317, 0.257045716047287, 0.019018150866031647, 0.2807477116584778, 0.7003421187400818, -0.1046806126832962, -0.31436553597450256, -0.25771564245224, 0.14361560344696045, 0.43909671902656555, 0.365161657333374, -0.17442739009857178, -0.41165146231651306, -0.5851134657859802, 0.15551474690437317, -0.8725888729095459, 0.2784852385520935, 0.28307223320007324, 0.14312104880809784, 0.3525015711784363, 0.7775248289108276, -0.03159719333052635, 0.7032977342605591, -0.1278568059206009, -0.42193421721458435, 0.2689020335674286, -0.2582438886165619, 0.07239802181720734, -0.2820700705051422, 0.2068522572517395, 0.6582145690917969, -0.14111272990703583, -0.2499244064092636, -0.03249025717377663, -0.3416052460670471, 0.9769723415374756, -0.5952756404876709, 0.27258339524269104, 0.2560311555862427, -0.5453223586082458, -0.394702285528183, 0.023698702454566956, -0.592037558555603, -0.537713885307312, -0.4553337097167969, 0.3055862784385681, -0.46815094351768494, -0.005668052472174168, 0.13234567642211914, -0.04230041056871414, 0.2378636598587036, 0.39717403054237366, -0.45377182960510254, 0.27280741930007935, 0.6979313492774963, 0.6851313710212708, -0.23073464632034302, -0.07314497232437134, -0.7224709391593933, 0.09965241700410843, -0.24580679833889008, 1.019140362739563, -0.6854792833328247, -0.40512678027153015, -0.08619162440299988, -0.3734667897224426, 0.16263353824615479, -0.4871821999549866, 0.7783526182174683, -0.9412306547164917, 0.11778141558170319, -0.48910579085350037, -0.4624181091785431, -0.25562939047813416, 0.29228436946868896, -0.6637689471244812, 1.3194310665130615, 0.20048147439956665, -0.939693808555603, 0.5344371199607849, -0.793982744216919, -0.32655584812164307, 0.12145333737134933, 0.024450626224279404, -0.2697177827358246, 0.3247189223766327, -0.5618304014205933, 0.4263664186000824, -0.8368943333625793, 0.4344259798526764, -0.6072444915771484, -0.28572878241539, 0.38538140058517456, -0.34021520614624023, 0.32394692301750183, 0.45877593755722046, -0.20402580499649048, -0.04899940267205238, -0.8728469014167786, 0.17919543385505676, -0.13760288059711456, -0.3859500288963318, -0.6468734741210938, 0.25966084003448486, -0.12886065244674683, 0.11276231706142426, 0.10820075124502182, -0.43977120518684387, 0.04298883676528931, -0.21357911825180054, -0.002243803581222892, 0.9352288842201233, 0.11772970110177994, 0.6158889532089233, -0.5354343056678772, 0.24736298620700836, -0.25211870670318604, -0.016558242961764336, -0.055163733661174774, -0.37783578038215637, -0.5956888794898987, -0.11995285004377365, 0.3066508173942566, 0.5185278058052063, -0.9415979385375977, 0.09323827177286148, -0.2757042944431305, -0.26217150688171387, -0.2349771112203598, -0.07415925711393356, 0.1906936913728714, 0.5632834434509277, 0.4128989577293396, -0.2759582996368408, -0.08127851784229279, -0.6057421565055847, -0.6224409341812134, -0.1945771723985672, -0.2615470886230469, 0.7139757871627808, 0.11226402223110199, 0.1051834225654602, 0.9204081892967224, -0.5015771985054016, -0.15137402713298798, -0.1368694305419922, 0.11214952170848846, 0.4317876696586609, 0.024930790066719055, 0.45001649856567383, -0.9739036560058594, -0.24085746705532074, -0.22396457195281982, -0.4984116852283478, -0.3211626708507538, 0.09455446898937225, -0.2824152410030365, -0.18311916291713715, 0.11809258908033371, -0.040875427424907684, 0.48912355303764343, -0.1514149010181427, -0.42890864610671997, 0.0655355155467987, -0.18478618562221527, 0.4042830467224121, -1.1887412071228027, 0.3299838602542877, 0.03469892591238022, -0.1191512867808342, -0.4443928301334381, 0.3728404641151428, 0.02145242691040039, 0.0952276811003685, -0.3388347327709198, 0.6366409659385681, -0.08817125856876373, -0.46510064601898193, -0.28142431378364563, 0.25902003049850464, 0.06841535866260529, 0.1064969152212143, -0.3289234936237335, 0.9424359202384949, 0.21737633645534515, -0.9874807000160217, 0.10062599182128906, -0.30648526549339294, -0.10900693386793137, 0.6523817777633667, -0.29814693331718445, 0.08187830448150635, -0.13422717154026031, -0.27009257674217224, -0.9654726386070251, 0.0065209222957491875, 0.18861046433448792, -0.07994109392166138, 0.276835560798645, 0.12043705582618713, -0.4901943504810333, -0.27178338170051575, -0.7115778923034668, 0.3583455979824066, 0.22936862707138062, -0.41813817620277405, 0.9954599738121033, 0.3749275505542755, -0.0029314968269318342, -0.8991578221321106, -0.1895214021205902, -0.11296673119068146, -0.4246097207069397, -0.3688785135746002, 0.4716116786003113, -0.24712295830249786, -0.5597413778305054, 0.0024739259388297796, -0.4820006191730499, 0.20513610541820526, 0.4354735016822815, 0.003014960791915655, 0.4160665273666382, 0.2253173142671585, 0.23821519315242767, -0.04254177212715149, -0.39731305837631226, -0.18084335327148438, -0.3018779754638672, 0.4066556394100189, -0.2237672209739685, -0.5516438484191895, 0.25870221853256226, 0.30876708030700684, 0.3779623508453369, 0.007803523447364569, 0.07001721113920212, 0.11606330424547195, -0.0599600151181221, 0.15057852864265442, -0.7718998789787292, -0.015574518591165543, -0.4920037090778351, -0.20060782134532928, -0.6433061361312866, -0.9478575587272644, 0.3142223060131073, -0.28848227858543396, 0.4345497786998749, 0.3797503411769867, 0.4847014546394348, -0.2860832214355469, 0.46491488814353943, 0.5130535960197449, 0.29035961627960205, 0.5320229530334473, -0.2785448729991913, 0.31009939312934875, -0.981783926486969, -0.11434245854616165, -0.6695785522460938, -0.22541390359401703, -0.838092029094696, -0.6493173837661743, 0.7566990852355957, 0.013246288523077965, -0.20486484467983246, 0.1288193315267563, -0.4444980323314667, 0.2667079567909241, 0.5514165759086609, 0.3612983524799347, 0.5053638815879822, 0.291871577501297, -0.5013314485549927, 0.009028968401253223, -0.4808419942855835, -0.7653720378875732, 1.5441726446151733, 0.24485114216804504, 0.7015318274497986, 0.21911142766475677, 0.8761386275291443, 0.5140828490257263, 0.8945358991622925, -1.0113494396209717, 0.7493852376937866, -0.3563295304775238, -0.49697932600975037, -0.14109599590301514, -0.3658280372619629, -1.0560522079467773, 0.4726308584213257, 0.12537337839603424, -0.8547872304916382, 0.16427122056484222, -0.018612831830978394, -0.3802320659160614, 0.20167936384677887, -0.198871910572052, 0.1915578991174698, -0.20726168155670166, -0.916766345500946, -0.6451713442802429, -0.5562403202056885, 0.1988411694765091, 0.1266983151435852, 0.30140772461891174, -0.3837403357028961, -0.4100479185581207, 0.44921252131462097, -0.20038028061389923, 0.25647830963134766, -0.036761317402124405, -0.2770701050758362, 0.2974128723144531, 0.08989191800355911, 0.1329232156276703, 0.31779745221138, -0.6194210648536682, -0.0709095448255539, -0.013592313975095749, -0.3150388300418854, -0.5523343682289124, 0.578583836555481, -0.25652968883514404, -0.8795980215072632, -0.7127608060836792, -0.40180978178977966, -0.31051695346832275, 0.19259406626224518, 0.16213808953762054, 0.46813473105430603, -0.03105274960398674, 0.19604812562465668, 0.823031485080719, -0.13033796846866608, 0.3519361913204193, 0.6873154640197754, -0.2518027722835541, -0.40682506561279297, 0.7127296328544617, 0.029401149600744247, 0.17834578454494476, 0.5937467813491821, 0.22526495158672333, -0.33219990134239197, -0.22956198453903198, -0.3404536545276642, 0.0650235041975975, -1.0082480907440186, -0.5451369285583496, -0.6769256591796875, 0.1147439181804657, 0.04502143710851669, -0.06397020071744919, -0.1671779602766037, -0.3602587580680847, -0.19972185790538788, -0.05556987226009369, 0.4802585244178772, 0.6357150673866272, -0.17661121487617493, -0.12725508213043213, -0.633399486541748, 0.6845031976699829, 0.40072864294052124, 0.6680657863616943, -0.26683562994003296, -0.45897376537323, -0.047054823487997055, -0.2924370765686035, -0.7169818878173828, -0.7074233293533325, 0.049616552889347076, -0.00019912008428946137, 0.6825026869773865, 0.3465445935726166, 0.27309972047805786, 0.46363547444343567, -0.5550258159637451, 0.7861685752868652, 0.1158645749092102, -0.695397138595581, 0.5347429513931274, -0.08873181790113449, -0.2118200808763504, 0.8794146180152893, 0.2879508435726166, -0.23200906813144684, -0.2797282338142395, -0.6371990442276001, -1.181207537651062, 0.5980136394500732, 0.22535009682178497, 0.23108549416065216, 0.08049874752759933, 0.6980686783790588, 0.2275020331144333, 0.549743115901947, -0.527344822883606, -0.641176164150238, -0.06462173908948898, 0.08177497982978821, 0.24455684423446655, -0.4408327639102936, -0.3508458435535431, -0.09879543632268906, 0.6537292003631592, -0.3206263780593872, 0.4774647653102875, 0.09981883317232132, 0.20538517832756042, 0.08886872977018356, 0.5983483791351318, 0.2465144395828247, 0.7292593121528625, -0.42315906286239624, 0.08782350271940231, 0.23872748017311096, -0.49681583046913147, 0.35648348927497864, 0.17075806856155396, -0.2541159689426422, 0.014698785729706287, -0.1376371532678604, 0.4957977533340454, 0.4693862497806549, -0.3274998962879181, 0.2643550932407379, -0.11283490806818008, 0.010885965079069138, -0.32236620783805847, 0.16419477760791779, -0.3574678897857666, 0.25216323137283325, 0.7568969130516052, 0.23426568508148193, 0.9078481793403625, -0.6253155469894409, 0.27851518988609314, 0.3948095142841339, 0.11490757763385773, 0.23122814297676086, 0.41016197204589844, 0.04715360328555107, -0.23926767706871033, 0.08951278030872345, -0.21875543892383575, -0.3015992045402527, 0.3551652133464813, 0.0542655847966671, 0.9950489401817322, -0.09928151965141296, 0.2091180384159088, 0.3587493896484375, 0.010501591488718987, -0.0578107088804245, 0.6869726777076721, -0.5688404440879822, -0.5647458434104919, -0.2462559938430786, -0.7426207065582275, -0.5965191721916199, -0.17148679494857788, -0.8536578416824341, 0.2796757221221924, -0.1712574064731598, -0.44969189167022705, -0.19177082180976868, 0.15246200561523438, -0.6697855591773987, 0.12216662615537643, -0.27925029397010803, 0.9174261093139648, -0.1687629669904709, 0.6919245719909668, 0.80882328748703, -0.23361699283123016, -0.7301439642906189, 0.6476696133613586, -0.21692559123039246, -0.6632725596427917, 0.7169822454452515, 0.13267993927001953, -0.597727358341217, -0.011437298730015755, -0.3817009925842285, -1.2682137489318848, 1.346008539199829, 0.2926746606826782, -0.10387491434812546, 0.15046381950378418, -0.13347399234771729, 0.4522404968738556, -0.297577828168869, 0.5553708672523499, 0.5334763526916504, 0.4160134196281433, 0.4933558702468872, -0.8147878646850586, -0.0010335041442885995, -0.4569101631641388, 0.3859078288078308, 0.1033959686756134, -0.5669310092926025, 0.576088011264801, -0.34212079644203186, -0.23532487452030182, 0.2545997202396393, 0.36271727085113525, 0.7194386720657349, 0.8135188221931458, 0.4760441482067108, 0.6127830147743225, 0.6903457641601562, -0.20905183255672455, 1.1626861095428467, -0.5948525071144104, 0.46701937913894653, 0.917237401008606, -0.493602454662323, 0.6584181785583496, 0.5961889028549194, -0.22649143636226654, 0.728035569190979, 0.6695928573608398, 0.40486961603164673, 0.9081211090087891, 0.24181821942329407, -0.4144938290119171, -0.23888245224952698, -0.1463143676519394, -0.4673844873905182, 0.3100748658180237, 0.49213725328445435, -0.3014478385448456, -0.4395403265953064, 0.11044721305370331, -0.19771775603294373, -0.052401844412088394, -0.25595784187316895, 0.9480090737342834, 0.17526566982269287, -0.9205490350723267, 0.43489763140678406, 0.09344865381717682, 0.3786964416503906, -0.45639681816101074, -0.1630392074584961, -0.12522345781326294, 0.05243409797549248, -0.026223566383123398, -1.0538884401321411, 0.17037715017795563, -0.07422520965337753, -0.08956492692232132, -0.5537980198860168, 0.9613212943077087, 0.23988500237464905, -0.25493156909942627, 0.25164857506752014, 0.3742496967315674, 0.06346139311790466, 0.24566151201725006, -0.7400296926498413, -0.31603768467903137, -0.23782843351364136, -0.5431045889854431, 0.2992945611476898, 0.5623576641082764, 0.05582544207572937, 0.9365738034248352, 0.5362520217895508, -0.12218127399682999, -0.23043105006217957, 0.17812605202198029, 1.040346384048462, -0.6887873411178589, -0.5174837708473206, -0.46617624163627625, 0.5507479310035706, -0.340613454580307, -0.13860957324504852, 0.6369764804840088, 0.49171632528305054, 0.4918389916419983, 0.2300095409154892, 0.7122461795806885, -0.2650342583656311, 0.796040952205658, -0.7119173407554626, 0.04095390811562538, -0.8861031532287598, 0.9814718961715698, -0.2952975034713745, -0.7569044232368469, -0.08319337666034698, 0.6865609288215637, -0.5642501711845398, 0.20415182411670685, 0.8601385951042175, 0.45799773931503296, -0.024225950241088867, 0.12162966281175613, 0.3015507757663727, -0.25033295154571533, 0.004834702704101801, 0.13005679845809937, 0.8552164435386658, -0.4122615158557892, 0.19870874285697937, -0.28004541993141174, -0.24995262920856476, -0.262057363986969, -1.0365605354309082, -0.4933571517467499, -0.5764845609664917, -0.01017807424068451, -0.6775072813034058, -0.0966041088104248, 1.054564118385315, 0.2680104672908783, -0.5319697856903076, -0.39817747473716736, -0.022208373993635178, 0.3533746302127838, -0.10854495316743851, -0.3268061578273773, 0.154245525598526, -0.7218864560127258, -0.3301245868206024, 0.1067676916718483, 0.7062373757362366, -0.43382561206817627, -0.1755555272102356, 0.15268389880657196, -0.0875728577375412, 0.14591549336910248, 0.7966856956481934, -0.13357733190059662, -0.7627291083335876, -0.2372797429561615, 0.27121058106422424, -0.08287852257490158, 0.1379012167453766, 1.4892514944076538, -0.8089851140975952, 0.35350555181503296, 0.3766997158527374, 0.6165041923522949, 0.5512359738349915, -0.005015203729271889, 0.30964943766593933, -0.5347824096679688, -0.30112913250923157, 0.4104096293449402, 0.41787388920783997, 0.2127213180065155, -0.6228285431861877, 0.9695678949356079, 0.21625454723834991, -0.5702664256095886, -0.733817458152771, 0.3911745548248291, -0.8778390288352966, -0.2715194821357727, 1.2964661121368408, -0.10927975177764893, 0.05047619715332985, -0.3692072629928589, -0.27250853180885315, 0.013565798290073872, -0.5541221499443054, 0.9892916679382324, 0.4112013280391693, -0.33475711941719055, -0.2390519231557846, -0.6058846712112427, 0.3948045074939728, 0.35775819420814514, -0.8107814192771912, -0.09318974614143372, 0.4235183298587799, 0.35812756419181824, 0.4383527636528015, 0.9298028349876404, -0.0743490681052208, 0.3770056664943695, -0.6050011515617371, -0.2786358594894409, 0.4917924404144287, -0.2236211746931076, -0.04796561598777771, 0.5150235295295715, 0.23210576176643372, 0.082767553627491 ]
http://arxiv.org/abs/2406.11289v1
http://arxiv.org/pdf/2406.11289v1
A Systematic Survey of Text Summarization: From Statistical Methods to Large Language Models
2024-06-17T07:52:32
2024-06-17T07:52:32
Haopeng Zhang, Philip S. Yu, Jiawei Zhang
cs.CL
cs.CL
Text summarization research has undergone several significant transformations with the advent of deep neural networks, pre-trained language models (PLMs), and recent large language models (LLMs). This survey thus provides a comprehensive review of the research progress and evolution in text summarization through the lens of these paradigm shifts. It is organized into two main parts: (1) a detailed overview of datasets, evaluation metrics, and summarization methods before the LLM era, encompassing traditional statistical methods, deep learning approaches, and PLM fine-tuning techniques, and (2) the first detailed examination of recent advancements in benchmarking, modeling, and evaluating summarization in the LLM era. By synthesizing existing literature and presenting a cohesive overview, this survey also discusses research trends, open challenges, and proposes promising research directions in summarization, aiming to guide researchers through the evolving landscape of summarization research.
[ -0.3124840557575226, -0.7008864283561707, 0.48075413703918457, 0.0730798989534378, -0.2339821755886078, 0.2580462694168091, -0.319924533367157, -0.1683635264635086, 0.4455008804798126, 0.5852800607681274, -0.39233294129371643, -0.5338868498802185, -0.6548563241958618, 0.28563645482063293, -0.614588737487793, 1.3168553113937378, 0.0006117423181422055, 0.2472907304763794, -0.1681467890739441, -0.015491992235183716, -0.2608865797519684, -0.6103204488754272, -0.35368120670318604, -0.34989288449287415, 0.5913476943969727, 0.14396728575229645, 0.25815874338150024, 0.2889767289161682, 0.82282954454422, 0.3103269338607788, -0.4337320327758789, 0.289771169424057, -0.5461183190345764, 0.2612383961677551, 0.17789475619792938, -0.5587647557258606, -0.8561913371086121, -0.10978903621435165, 0.9839321374893188, 0.9699019193649292, 0.029858188703656197, 0.19582873582839966, 0.24136608839035034, 0.908935546875, -0.5117602348327637, 0.055601052939891815, -0.3455156683921814, 0.026496876031160355, -0.2448369264602661, -0.36956721544265747, -0.31875860691070557, -0.5542150139808655, 0.2731698453426361, -0.24384815990924835, 0.2403932362794876, -0.04054205119609833, 0.25627392530441284, 0.07411936670541763, -0.6759108304977417, -0.41231656074523926, -0.8201569318771362, 0.9570238590240479, -0.8872778415679932, 0.12338238954544067, -0.18457499146461487, 0.27306056022644043, 0.02108914777636528, -0.9816202521324158, -0.013303263112902641, -0.04854509234428406, 0.05886785686016083, 0.33301404118537903, 0.06964180618524551, -0.1201404482126236, -0.1147947832942009, 0.775184690952301, -0.607577919960022, 0.10869380831718445, -0.4289515018463135, 0.028475714847445488, 0.7992305159568787, 0.4936593174934387, 0.3872406482696533, 0.17624272406101227, -0.11216825991868973, -0.06344971805810928, -0.6983941793441772, -0.21540100872516632, -0.010720820166170597, 0.09464455395936966, -0.1720547080039978, 0.7048771381378174, -0.34547850489616394, 0.5931623578071594, -0.4190777838230133, -0.3441532850265503, 0.06694699823856354, -0.948002815246582, -0.44933897256851196, 0.03869665041565895, 0.9114000797271729, 0.6953173279762268, 0.19805246591567993, -0.03482529893517494, -0.12161287665367126, -0.4119093418121338, -0.12420350313186646, -0.7065460681915283, -0.08387502282857895, 0.12320581078529358, -0.832836925983429, -0.44702690839767456, 0.11354998499155045, -0.758013904094696, -0.5302683115005493, -0.36773526668548584, -0.2966209053993225, -0.07684870064258575, -0.3286713659763336, 0.2704131007194519, -0.4413347542285919, 0.28605496883392334, 0.4475383758544922, -0.7070662379264832, 0.41934138536453247, 0.9056004285812378, 0.9918826818466187, -0.29527759552001953, -0.27066004276275635, 0.21560163795948029, 0.03361289203166962, -0.5457788109779358, 0.8703503608703613, -0.006204591132700443, -0.44221800565719604, 0.27317363023757935, -0.06847763061523438, 0.04662197455763817, -0.4140297770500183, 0.25984272360801697, -0.5337826609611511, 0.38017717003822327, -0.2654798626899719, -0.5326942801475525, -0.32556307315826416, 0.43478459119796753, -0.4499254524707794, 0.8122456669807434, -0.2726213335990906, -0.8933207392692566, 0.32352444529533386, -0.4116831123828888, -0.5488765835762024, -0.25266048312187195, 0.1331469565629959, -0.49091795086860657, 0.38561317324638367, 0.24853798747062683, 0.6203615665435791, -0.39964717626571655, 0.3322605788707733, -0.13147898018360138, -0.3211822211742401, 0.41014760732650757, -0.10006219148635864, 0.7175287008285522, 0.2188330441713333, 0.16036099195480347, 0.41145560145378113, -0.6026253700256348, -0.32356974482536316, 0.030037060379981995, -0.03698388859629631, -0.3900478184223175, 0.2159903645515442, 0.17922022938728333, -0.13014806807041168, 0.5795415043830872, -0.1310350000858307, 0.243489071726799, -0.48806557059288025, 0.5045492053031921, 0.2179833948612213, 0.3392966389656067, 0.7844194173812866, -0.4579187333583832, 0.4389423131942749, -0.36097395420074463, -0.08406355232000351, -0.7704704999923706, -0.2669810652732849, -0.4612868130207062, -0.11130893230438232, 0.3617038428783417, 0.5039583444595337, -0.29107651114463806, 0.5570542216300964, -0.520788311958313, -0.6612717509269714, -0.033901747316122055, -0.13284198939800262, 0.15453670918941498, 0.1934611052274704, 0.1561547815799713, -0.19650687277317047, -0.5239058136940002, -0.7460889220237732, -0.38974544405937195, -0.13942301273345947, -0.2041420191526413, -0.1542067974805832, 0.5132679343223572, 0.029473505914211273, 0.7509084939956665, -0.702565610408783, -0.32634079456329346, -0.831278383731842, 0.4002116024494171, 0.25954994559288025, 0.17718744277954102, 0.5159291625022888, -0.4654495418071747, -0.2841557562351227, -0.02675723098218441, -0.736474335193634, -0.05677488446235657, -0.09122580289840698, 0.27621379494667053, -0.07107061892747879, 0.7671213746070862, -0.21297666430473328, 0.13200779259204865, 0.33331185579299927, 0.026541687548160553, 0.47137606143951416, -0.13275998830795288, 0.33985647559165955, -1.0986419916152954, 0.1102694496512413, -0.05561671033501625, -0.2293350249528885, -0.5601035356521606, 0.060015805065631866, -0.01939278282225132, 0.054784875363111496, 0.039910607039928436, 0.4107561409473419, -0.7462502717971802, -0.12775269150733948, -0.5891858339309692, 0.11882386356592178, -0.24272361397743225, -0.08176469802856445, -0.0689241886138916, 0.5842557549476624, 0.3392934799194336, -0.6441905498504639, 0.21947690844535828, 0.25199487805366516, -0.38705646991729736, 0.0514117106795311, -0.6823235154151917, -0.2865076959133148, -0.49063706398010254, 0.6650350689888, -1.1266816854476929, -0.2144499272108078, 0.17086738348007202, -0.3962092101573944, 0.17283037304878235, 0.20082233846187592, -0.4626803994178772, -0.060828667134046555, -0.7447938323020935, 0.5161548256874084, 0.6409624218940735, 0.008717324584722519, 0.4196356534957886, 0.5111622214317322, -0.847903847694397, -0.42979851365089417, -0.8732017278671265, 0.4823504388332367, -0.13301584124565125, -0.35288718342781067, 0.3043118417263031, -0.09100042283535004, -0.7759487628936768, -0.36156874895095825, -0.0028842550236731768, -0.09694736450910568, -0.06603280454874039, -0.3615138828754425, 0.2524079978466034, -0.27089256048202515, -0.001368866884149611, 0.06056462600827217, 0.10833858698606491, 0.19945575296878815, 0.06232071295380592, 0.4826269745826721, 0.3142091929912567, 0.17810609936714172, -0.11224327981472015, 0.22158308327198029, 0.30195340514183044, -0.39036616683006287, 0.4380015432834625, 0.14793191850185394, -0.0905269905924797, -0.20204289257526398, -0.4108749032020569, -0.18499815464019775, -0.32115989923477173, 0.6360021829605103, 0.07161086052656174, -0.9808611273765564, 0.4554026126861572, -0.16162109375, 0.5235551595687866, 0.44202637672424316, 0.6252813339233398, -0.1179097518324852, 0.7289949655532837, 0.7750022411346436, -0.1430729478597641, 0.4363196790218353, -0.006110599264502525, 0.18599405884742737, -0.6471706628799438, -0.09575454145669937, -0.6128376722335815, -0.274299681186676, -0.43874844908714294, -0.21866554021835327, 0.430785596370697, -0.12212172150611877, 0.2128072828054428, 0.009110997430980206, -0.32462814450263977, 0.4308258593082428, 0.007892943918704987, -0.1022946834564209, 0.5275908708572388, -0.17687468230724335, 0.36614057421684265, -0.06457457691431046, -0.45723414421081543, -0.4666973650455475, 1.2486109733581543, 0.5690510272979736, 0.5257835388183594, 0.018873315304517746, 0.5884398221969604, 0.2772868871688843, 0.495344877243042, -0.6498722434043884, 0.6597258448600769, -0.29413315653800964, -0.5098099708557129, -0.4665316641330719, -0.44263413548469543, -0.7432958483695984, 0.3646441400051117, 0.03596439212560654, -0.27146685123443604, -0.025685716420412064, 0.06933584064245224, -0.15239065885543823, 0.16482028365135193, -0.30646806955337524, 0.4578070640563965, -0.10309901833534241, 0.17956732213497162, -0.2820909023284912, -0.636355996131897, 0.8278387784957886, -0.017547788098454475, 0.3872898817062378, -0.160519078373909, -0.37108397483825684, 0.8945135474205017, -0.24751339852809906, 0.6662916541099548, 0.11619149893522263, -0.4647620916366577, 0.17601409554481506, -0.20870430767536163, 0.31913214921951294, 0.09311755001544952, 0.15416163206100464, 0.054924216121435165, -0.027843361720442772, -0.31492820382118225, -0.4706673324108124, 0.4345119893550873, -0.2189670205116272, -0.15207451581954956, -0.5821457505226135, -0.5557289123535156, -0.17980337142944336, 0.29922157526016235, 0.32365500926971436, 0.49880653619766235, -0.6473284363746643, 0.21627415716648102, 0.9046145081520081, -0.3399030566215515, 0.7176985144615173, 0.3156551122665405, -0.6000092029571533, -0.6837818026542664, 0.7119733691215515, 0.2593153417110443, -0.03937769681215286, 0.7539289593696594, 0.008263387717306614, -0.22737130522727966, -1.0178906917572021, 0.029635751619935036, 0.2553924024105072, -0.48961856961250305, 0.025756336748600006, -0.5985012054443359, -0.2246084362268448, -0.7154527306556702, -0.23512406647205353, -0.33881229162216187, -0.4584886133670807, -0.17075933516025543, -0.06287827342748642, -0.0325322300195694, 1.1266027688980103, 0.45698800683021545, 0.4158829152584076, -0.7094585299491882, 0.38179418444633484, 0.17833635210990906, 0.206713005900383, 0.16713842749595642, -0.35926586389541626, -0.23256084322929382, -0.2207421213388443, 0.06527216732501984, -0.886810302734375, 0.34563004970550537, -0.04735548794269562, 0.16285917162895203, 0.32505151629447937, -0.10397180914878845, 0.23712529242038727, -0.5612053275108337, 1.0452439785003662, 0.4563554525375366, -0.5045710206031799, 0.27437934279441833, -0.7550190091133118, 0.5882384777069092, 0.5689336657524109, 0.1851142942905426, -0.6125668883323669, -0.2614597678184509, -0.14106523990631104, -0.8739447593688965, 0.32014408707618713, -0.03148401528596878, -0.1298827826976776, 0.384700208902359, 0.0956430658698082, 0.2650434970855713, 0.3362847864627838, -0.4351162612438202, -0.37930282950401306, 0.13469785451889038, -0.4151630401611328, -0.5948710441589355, -0.4180236756801605, -0.06437225639820099, -0.10368039458990097, 0.5961588025093079, 0.03315151855349541, -0.05841996520757675, 0.12675897777080536, -0.43295902013778687, 0.40957850217819214, 0.525292694568634, 0.850881040096283, 1.0993995666503906, -0.20227943360805511, 0.010381994768977165, 0.21949465572834015, -0.5280593037605286, 0.12651678919792175, 0.1983455866575241, -0.4623570740222931, 0.27540382742881775, 0.636431872844696, 0.4022235870361328, 0.4336559772491455, -0.5683808326721191, 0.6001027822494507, -0.2825527787208557, -0.4866345226764679, -0.3994614779949188, -0.23698854446411133, -0.060650672763586044, -0.06251773238182068, 0.4397762417793274, -0.13890133798122406, 0.5281388759613037, -0.3712729811668396, -0.10284673422574997, 0.2582252323627472, -0.2702138423919678, -0.4588927626609802, 0.44800469279289246, 0.205438032746315, 0.06631743907928467, 0.06761998683214188, 0.25171777606010437, 0.05409352481365204, 0.507777988910675, 0.18420398235321045, 1.183052897453308, -0.003021580632776022, 0.27449437975883484, 0.23902706801891327, 0.3281432092189789, -0.30774790048599243, -0.0003534227726049721, -0.12736870348453522, -0.3547266721725464, -0.6212205290794373, -0.4730727970600128, -0.5004675984382629, 0.11213794350624084, -0.46595871448516846, 0.23574233055114746, -0.2532981336116791, -0.08429034054279327, 0.2872871160507202, -0.11321882903575897, -0.18065525591373444, 0.08202655613422394, 0.06447113305330276, 1.0196975469589233, -0.6378273367881775, 0.3077129125595093, 0.9334425926208496, -0.26367053389549255, 0.12515480816364288, 0.07918543368577957, 0.1526351124048233, -0.2755619287490845, 0.1999044120311737, -0.16848516464233398, -0.109923355281353, 0.0024812244810163975, -0.567115306854248, -0.5680609941482544, 0.9015393257141113, -0.15519985556602478, -0.5807475447654724, -0.20488668978214264, 0.15139837563037872, 0.6189397573471069, -0.13280858099460602, 0.35363689064979553, 0.6033033132553101, 0.304875910282135, -0.2916913628578186, -0.6704158186912537, -0.290673166513443, -0.20332302153110504, 0.1525803506374359, 0.3475321829319, -0.7439491152763367, 0.7345181107521057, 0.00641334755346179, -0.15116582810878754, 0.2609228193759918, 0.811639666557312, 0.13146895170211792, 0.5842329859733582, 0.08316946029663086, 0.3016943633556366, 0.2721966803073883, -0.15089702606201172, 0.8097755908966064, -0.21060071885585785, 0.09631728380918503, 1.0340602397918701, -0.26808857917785645, 0.5639856457710266, 0.2955183684825897, -0.32029685378074646, 0.10697080940008163, 0.5115522146224976, 0.018619919195771217, 0.24674738943576813, 0.37643635272979736, -0.13689348101615906, 0.1514473706483841, 0.03642565757036209, -0.5496507287025452, 0.21737822890281677, 0.10353576391935349, -0.6078637838363647, -0.5197082161903381, -0.11290138214826584, 0.11039228737354279, 0.2393702268600464, -0.5595122575759888, 1.3049925565719604, 0.1796361356973648, -0.7129478454589844, -0.03049478307366371, 0.1947813779115677, 0.8686402440071106, -0.7450270652770996, 0.05865195393562317, -0.3626217842102051, 0.06295647472143173, -0.09417128562927246, -0.756006121635437, 0.1690668910741806, 0.054491035640239716, -0.375305712223053, -0.5931441783905029, 0.9538681507110596, -0.33091652393341064, -0.40897753834724426, 0.02198905684053898, 0.5638075470924377, 0.24080605804920197, 0.05260081589221954, -0.07039386034011841, 0.07575615495443344, -0.07668707519769669, -0.20953567326068878, 0.39069563150405884, 0.3931923806667328, 0.09188030660152435, 0.300834596157074, 0.4066793918609619, 0.2219090610742569, 0.19028359651565552, 0.292826771736145, 0.623724639415741, -1.0573772192001343, -0.6509891748428345, -0.9630625247955322, 0.5777681469917297, -0.24669528007507324, -0.5146993398666382, 0.9399638175964355, 0.8956533670425415, 0.4549615979194641, -0.16417139768600464, 1.0173195600509644, 0.1689608246088028, 0.7786380648612976, -0.4798624813556671, 0.9180223941802979, -0.36641013622283936, 0.054648954421281815, -0.43568527698516846, -1.0434352159500122, -0.42314663529396057, -0.10444146394729614, -0.2386551797389984, -0.15707305073738098, 0.6681305766105652, 0.3007569909095764, 0.2353021204471588, 0.18958701193332672, -0.006175672635436058, 0.07958225160837173, 0.14696690440177917, -0.029558056965470314, 0.881621241569519, -0.38121622800827026, 0.35736745595932007, 0.051763877272605896, -0.44341787695884705, -0.31386449933052063, -0.7361310720443726, -0.8300826549530029, -0.6397098302841187, -0.3888838589191437, 0.23733197152614594, 0.23867885768413544, 0.4156724512577057, 0.18779785931110382, -0.8476292490959167, -0.4774949550628662, -0.17345748841762543, 0.1547386795282364, -0.22320877015590668, -0.16560566425323486, 0.18431811034679413, -0.46712422370910645, -0.7148876190185547, 0.2989427149295807, 0.3219306468963623, 0.13888707756996155, -0.3162529170513153, 0.12940159440040588, 0.0584479458630085, 0.03162103891372681, 0.8475554585456848, 0.25939399003982544, -0.3621002733707428, 0.41580575704574585, 0.08013585954904556, -0.1985512673854828, -0.028315097093582153, 1.0570259094238281, -0.2468900829553604, 0.06309814006090164, 0.960826575756073, 0.6271827816963196, 0.28777167201042175, -0.13981156051158905, 0.7583423852920532, -0.5633949637413025, -0.0764438584446907, 0.22472062706947327, 0.22342315316200256, 0.16668438911437988, 0.046673525124788284, 0.4777313470840454, -0.04130488634109497, -0.6349462866783142, -1.042573094367981, -0.05880184844136238, -0.964788019657135, -0.4769535958766937, 0.9052320718765259, 0.2631319463253021, -0.10932966321706772, 0.016990065574645996, -0.09918994456529617, 0.18411985039710999, -0.11643633991479874, 0.7067643404006958, 0.7269176244735718, -0.07879561185836792, -0.2976713180541992, -0.33477482199668884, 0.5305166840553284, 0.2587416172027588, -1.1356576681137085, 0.20705564320087433, 0.6725385189056396, 0.15440121293067932, -0.0005474279751069844, 0.7535560131072998, -0.4065248966217041, 0.009758963249623775, -0.2846793830394745, 0.1173117607831955, 0.18333041667938232, -0.3340940475463867, -0.6514593362808228, 0.4124920070171356, -0.04364200681447983, 0.20462647080421448 ]
http://arxiv.org/abs/2406.11288v1
http://arxiv.org/pdf/2406.11288v1
MFC-Bench: Benchmarking Multimodal Fact-Checking with Large Vision-Language Models
2024-06-17T07:51:44
2024-06-17T07:51:44
Shengkang Wang, Hongzhan Lin, Ziyang Luo, Zhen Ye, Guang Chen, Jing Ma
cs.CL
cs.CL, cs.CV
Large vision-language models (LVLMs) have significantly improved multimodal reasoning tasks, such as visual question answering and image captioning. These models embed multimodal facts within their parameters, rather than relying on external knowledge bases to store factual information explicitly. However, the content discerned by LVLMs may deviate from actual facts due to inherent bias or incorrect inference. To address this issue, we introduce MFC-Bench, a rigorous and comprehensive benchmark designed to evaluate the factual accuracy of LVLMs across three tasks: Manipulation, Out-of-Context, and Veracity Classification. Through our evaluation on MFC-Bench, we benchmarked 12 diverse and representative LVLMs, uncovering that current models still fall short in multimodal fact-checking and demonstrate insensitivity to various forms of manipulated content. We hope that MFC-Bench could raise attention to the trustworthy artificial intelligence potentially assisted by LVLMs in the future. The MFC-Bench and accompanying resources are publicly accessible at https://github.com/wskbest/MFC-Bench, contributing to ongoing research in the multimodal fact-checking field.
[ -0.4336988627910614, -0.6778528094291687, 0.7572839856147766, 0.062120839953422546, -0.03129519149661064, 0.08807506412267685, -0.2344479262828827, -0.46403276920318604, -0.35741719603538513, 0.4009729027748108, -0.566022515296936, -0.4599488079547882, -0.42241528630256653, 0.06683500111103058, -0.5096951723098755, 0.5530931949615479, -0.23524001240730286, 0.239567831158638, -0.7788727283477783, -0.4756620526313782, -0.13695451617240906, -0.3602127730846405, -0.039264410734176636, -0.15854021906852722, 0.587246298789978, 0.2926236689090729, 0.6522212624549866, 0.5840518474578857, 0.7014279961585999, 0.3467714190483093, 0.37010079622268677, 0.5809793472290039, -0.25201216340065, 0.055644452571868896, -0.2107071727514267, -0.4410170316696167, -0.07605549693107605, 0.2264978438615799, 0.697747528553009, 0.2268798053264618, -0.09508189558982849, 0.35322830080986023, -0.25125694274902344, 0.6479595899581909, -1.1139792203903198, 0.4704907238483429, -0.4882800877094269, -0.027471249923110008, -0.10760211199522018, 0.058595921844244, -0.6149058938026428, -0.44542092084884644, -0.19697044789791107, -0.472394734621048, 0.2408083826303482, 0.2925262749195099, 0.8890181183815002, 0.5852890610694885, -0.5281335115432739, 0.0705265924334526, -0.36720484495162964, 0.826224148273468, -0.4012277126312256, 1.0038412809371948, 0.479498028755188, 0.6352927684783936, 0.08335407823324203, -0.7445842027664185, -0.8929474353790283, -0.5106630325317383, -0.25628426671028137, 0.19187839329242706, -0.09629248082637787, -0.010465944185853004, 0.59443199634552, -0.010867292992770672, -0.4756253659725189, -0.2829037010669708, -0.2134746015071869, -0.44458290934562683, 0.42792996764183044, -0.0014783466467633843, -0.06127981096506119, -0.25909197330474854, -0.6372201442718506, -0.48730018734931946, -0.6001850366592407, 0.27945733070373535, -0.062496691942214966, -0.005333980545401573, -0.059218503534793854, 0.7997887134552002, -0.5974748134613037, 0.8588520288467407, -0.3758455514907837, -0.6272128224372864, 0.43967631459236145, -0.722763180732727, -0.2391597181558609, -0.16899418830871582, 0.6243484616279602, 0.8112395405769348, 0.13193826377391815, -0.006497110705822706, -0.22296316921710968, 0.14233244955539703, 0.10475194454193115, -0.6737456321716309, -0.1044929102063179, 0.04674811288714409, -0.49251917004585266, -0.1275109052658081, 0.10025643557310104, -0.8345411419868469, -0.6221954226493835, -0.4784439504146576, 0.37342020869255066, -0.3887813687324524, -0.01825566217303276, -0.31480154395103455, -0.1990622878074646, 0.17699548602104187, 0.6160346865653992, -0.4193842113018036, -0.03558214381337166, 0.5493816137313843, 0.7323595285415649, -0.02813245914876461, -0.5160365700721741, -1.011873483657837, 0.09866821020841599, -0.19765087962150574, 0.8712666034698486, -0.5535238981246948, 0.07492788881063461, 0.1082380935549736, 0.012348054908216, -0.15919101238250732, -0.4843907654285431, 0.7442184090614319, -0.31330254673957825, -0.23531165719032288, -0.6872571706771851, -0.3686690628528595, -0.2265954315662384, 0.8045600652694702, -0.8137441277503967, 0.9487517476081848, -0.0657534971833229, -0.5463595390319824, 0.6281477808952332, -0.3828445076942444, -0.20259997248649597, -0.3337908387184143, -0.4263618588447571, -0.3315536677837372, -0.15489308536052704, 0.26728588342666626, 0.4226575791835785, -0.44207215309143066, 0.32012706995010376, -0.6358144879341125, -0.1245640218257904, 0.5736947655677795, -0.5546355247497559, 0.40532970428466797, 0.21409080922603607, -0.2936825454235077, 0.11282080411911011, -0.9077572226524353, 0.06814562529325485, -0.13708527386188507, -0.4103487730026245, -0.08226463943719864, 0.16247092187404633, 0.18858695030212402, 0.5035881996154785, -0.00850899051874876, -0.7644381523132324, -0.06807627528905869, 0.2808024287223816, 0.10246292501688004, 0.7150161266326904, -0.40661218762397766, -0.039380624890327454, -0.4349159598350525, -0.02222270704805851, 0.191401869058609, 0.49033623933792114, -0.2397516667842865, -0.2775915265083313, -0.8024094700813293, -0.4700971245765686, 0.265310138463974, 0.5383322238922119, -1.2174437046051025, 0.014086438342928886, -0.2942761480808258, -0.5213493704795837, -0.45130565762519836, 0.332293838262558, 0.5421375632286072, 0.617484450340271, 0.5816314220428467, -0.19514527916908264, -0.2459438294172287, -1.0598136186599731, -0.2888699173927307, -0.25511425733566284, 0.33294180035591125, 0.42509499192237854, 0.6210877895355225, -0.1532360166311264, 0.9441110491752625, -0.3120723366737366, -0.27671268582344055, 0.2582992911338806, 0.32577016949653625, -0.18024085462093353, 0.3357886075973511, 0.7059664726257324, -1.0241334438323975, -0.22834709286689758, -0.0594138540327549, -0.8543058037757874, -0.07130036503076553, -0.13789823651313782, 0.059071581810712814, 0.3987278640270233, 0.610602080821991, -0.917570173740387, 0.46901535987854004, 0.6870014667510986, -0.25729960203170776, 0.9022940397262573, -0.05141214653849602, 0.6316974759101868, -0.4756014049053192, 0.18818512558937073, 0.0682477205991745, -0.3860584497451782, -0.2805059552192688, 0.26474741101264954, 0.5804361701011658, 0.1906629204750061, -0.6612517833709717, 0.4354884922504425, -0.37926581501960754, -0.23001444339752197, -0.018980074673891068, 0.02870054356753826, 0.0981919914484024, 0.4204834997653961, -0.12873955070972443, 0.7400595545768738, 0.27889275550842285, -0.30687272548675537, 0.7642488479614258, 0.07766831666231155, -0.7535860538482666, 0.6446964144706726, -0.21903544664382935, -0.16990379989147186, -0.04384812340140343, 0.32601746916770935, -1.0506601333618164, -0.2090105414390564, 0.09755679219961166, -0.1808302402496338, 0.1604861319065094, -0.03978635370731354, -0.9763060808181763, -0.34065890312194824, -0.3153756260871887, 0.3323724567890167, 0.10297176241874695, -0.7837142944335938, 0.8036172986030579, 0.11052708327770233, 0.2750941514968872, -1.047760009765625, -0.5920507907867432, 0.11105139553546906, 0.35037705302238464, -0.6251556873321533, 0.16230733692646027, -0.34236273169517517, -0.49059444665908813, -0.03370650112628937, -0.17941518127918243, -0.15515758097171783, -0.1017044186592102, 0.33673736453056335, 0.1427377462387085, -0.2605459988117218, 0.2592929005622864, -0.21008606255054474, 0.07457767426967621, 0.050334490835666656, 0.2559436857700348, 0.26123031973838806, -0.46506449580192566, -0.8168359398841858, -0.12125244736671448, 0.0437929667532444, 0.9835766553878784, -0.559168815612793, 0.5707352757453918, 0.9650798439979553, -0.2039601057767868, 0.0453542061150074, -1.0991466045379639, -0.1742676943540573, -0.4181268513202667, 0.22983920574188232, -0.3506656289100647, -0.8020455837249756, 0.14770476520061493, 0.023200491443276405, 0.13772845268249512, 0.11630997061729431, 0.5481826066970825, -0.14234937727451324, 0.908118486404419, 0.29832369089126587, 0.13929755985736847, 0.341718852519989, 0.014697287231683731, -0.08221568167209625, -0.40839874744415283, -0.2517137825489044, -0.40548866987228394, -0.23788410425186157, -0.36271414160728455, -0.8236817121505737, 0.30790120363235474, -0.350970596075058, 0.026785654947161674, -0.032766155898571014, 0.09824229031801224, 0.5046849846839905, 0.6141492128372192, 0.271618127822876, 0.4329957067966461, -0.26119256019592285, -0.2938119173049927, 0.04845499247312546, -0.4459848999977112, -0.21067987382411957, 0.9738328456878662, 0.14380760490894318, 0.7718867063522339, 0.18259017169475555, 0.15160368382930756, 0.32972219586372375, 0.5927539467811584, -0.48772919178009033, 0.5796372890472412, -0.1759033203125, -0.8452948331832886, -0.105033278465271, -0.3579235076904297, -0.23894545435905457, 0.6209482550621033, -0.6579272150993347, -0.4255068302154541, 0.22829106450080872, 0.24964743852615356, -0.1788478046655655, 0.4228346645832062, -0.7795050144195557, 0.9293450117111206, -0.44887983798980713, -0.8025250434875488, -0.39765796065330505, -0.7187153697013855, 0.6765010356903076, 0.0027586552314460278, 0.4828617572784424, -0.41989344358444214, 0.0928206741809845, 0.26438426971435547, -0.1661452054977417, 0.8475765585899353, -0.2687391936779022, 0.08954373747110367, 0.09499668329954147, 0.06221664696931839, 0.42890462279319763, 0.08051366358995438, 0.08878614753484726, 0.059903331100940704, 0.23665715754032135, -0.3325682580471039, -0.6397504210472107, 0.6610040068626404, -0.6235958933830261, -0.40146952867507935, -0.4629288613796234, -0.6160533428192139, -0.4370923340320587, 0.25970354676246643, -0.21539926528930664, 0.6369622945785522, -0.28949302434921265, 0.6822140216827393, 0.5670933127403259, -0.06290039420127869, 0.5104352831840515, 0.7430368661880493, -0.24855387210845947, -0.2561722993850708, 0.7865861058235168, -0.0137088093906641, 0.18490943312644958, 0.6971117854118347, 0.07886426895856857, -0.5698201656341553, -0.3792509436607361, -0.639952540397644, 0.030418507754802704, -1.0683423280715942, -0.24542562663555145, -0.6496347784996033, 0.08703508228063583, -0.1825532764196396, 0.1750740259885788, -0.5853520631790161, -0.31922173500061035, 0.18110355734825134, 0.01464166585355997, 0.09139163792133331, 0.3695434331893921, -0.02289697900414467, -0.061187662184238434, -0.8008420467376709, 0.5335236191749573, 0.5535728931427002, 0.48115071654319763, -0.3217533826828003, -0.10571904480457306, -0.1259257197380066, 0.11214505136013031, -0.2178928703069687, -0.5308005809783936, -0.15033172070980072, 0.13044044375419617, 0.8325623273849487, 0.4455696940422058, 0.06488068401813507, 0.5705530643463135, -0.4993875324726105, 0.6265742778778076, 0.35862329602241516, -0.7948524951934814, 0.22987376153469086, -0.03967132419347763, 0.16010966897010803, 0.7249835133552551, 0.15436935424804688, -0.3399752080440521, -0.26845499873161316, -0.27335235476493835, -0.19574157893657684, 0.46285489201545715, 0.10253723710775375, -0.336223840713501, 0.22621390223503113, -0.03460251912474632, 0.08185040205717087, 0.4544949233531952, -0.8000085949897766, -0.16161808371543884, -0.5379301309585571, -0.21880827844142914, -0.40565982460975647, -0.20184312760829926, -0.42825016379356384, -0.2802976369857788, 0.37007957696914673, -0.49115797877311707, -0.01573006808757782, 0.3107345402240753, -0.5380842685699463, -0.047505054622888565, 0.2588684856891632, 0.9804638624191284, 0.9439502358436584, -0.4286937713623047, 0.5571565628051758, 0.20012608170509338, -0.3109737038612366, 0.06804110109806061, 0.2917654514312744, -0.014437506906688213, 0.022233542054891586, 0.4448436200618744, 0.5728356838226318, 0.3859601616859436, -1.0818696022033691, 0.7173945903778076, -0.21464726328849792, -0.36652642488479614, -0.026953868567943573, 0.08451619744300842, -0.03374422714114189, 0.3956649601459503, 0.16696776449680328, 0.4870830476284027, 0.08429187536239624, -0.6191688179969788, 0.40073543787002563, 0.4703434407711029, -0.47809550166130066, 0.018847107887268066, 0.4826267957687378, 0.14770850539207458, 0.39244315028190613, 0.487165629863739, 0.05898786708712578, -0.37039849162101746, 0.4447881281375885, 0.13045842945575714, 0.42492416501045227, 0.0356578566133976, 0.22827023267745972, 0.37935590744018555, 0.6943812966346741, -0.050490256398916245, 0.10512541234493256, -0.25380298495292664, -0.8762404322624207, -0.5293789505958557, -0.5043863654136658, -0.5971096158027649, -0.034392647445201874, -0.4416723847389221, 0.035298045724630356, -0.4924508035182953, -0.13455678522586823, 0.22876574099063873, -0.23210644721984863, -0.8273758292198181, 0.3878103792667389, 0.27801573276519775, 1.13398277759552, -0.6727758646011353, 0.8680329918861389, 0.6811006665229797, -0.46764835715293884, -0.27253586053848267, -0.2067386507987976, 0.32295921444892883, -0.9465156197547913, 0.7371306419372559, 0.2751312255859375, -0.44069796800613403, -0.43737587332725525, -0.815592885017395, -0.7863560914993286, 1.251487135887146, 0.4509291648864746, -0.5651280879974365, 0.437042772769928, 0.04490593820810318, 0.2597540318965912, -0.252256840467453, 0.31267493963241577, 0.5732018947601318, 0.9223432540893555, 0.07117988914251328, -0.8716104626655579, 0.08645302057266235, -0.33373233675956726, -0.4375637471675873, -0.02915194258093834, -0.916273832321167, 0.8898066282272339, -0.3081921935081482, 0.07059916108846664, 0.023371519520878792, 0.49094468355178833, 0.3797674775123596, 0.4624778628349304, 0.8276673555374146, 0.5348929762840271, 0.6568318605422974, -0.34256064891815186, 1.121964454650879, -0.27506116032600403, 0.24833662807941437, 0.932719349861145, -0.5240660905838013, 0.9640969634056091, 0.620394229888916, -0.00846716109663248, 0.5021277070045471, 0.32383811473846436, -0.2960185706615448, 0.5479245781898499, -0.150628000497818, -0.18562762439250946, -0.558411180973053, -0.34691858291625977, -0.3098430633544922, 0.6452227830886841, 0.23370280861854553, -0.19374032318592072, -0.2491161823272705, -0.057338714599609375, -0.18657617270946503, -0.02015557512640953, -0.12714318931102753, 0.46856722235679626, -0.22117817401885986, -0.8136818408966064, 0.546717643737793, -0.054505832493305206, 0.3047390580177307, -0.5850988030433655, -0.15489478409290314, 0.02208789251744747, 0.397705614566803, -0.09488878399133682, -0.9736997485160828, -0.125952810049057, -0.04999421164393425, -0.37929415702819824, -0.2048327922821045, 0.7965014576911926, -0.4632846713066101, -0.37274348735809326, 0.2869005799293518, 0.7634140253067017, -0.3268935978412628, -0.26305487751960754, -0.8280554413795471, 0.21069477498531342, -0.09642931073904037, -0.06319992244243622, 0.22113202512264252, 0.12844166159629822, -0.08056261390447617, 0.8604981899261475, 0.9214662313461304, -0.4211096167564392, 0.06095479801297188, 0.34390419721603394, 0.8412055969238281, -0.5896410346031189, -0.23622660338878632, -0.8537315726280212, 0.35791173577308655, -0.2701428532600403, -0.2496776133775711, 0.7726694941520691, 0.6820470094680786, 0.7861328125, -0.24348346889019012, 0.679702877998352, -0.09527325630187988, 0.3566424250602722, -0.8085687160491943, 0.7248620986938477, -0.8802593946456909, -0.3256693482398987, -0.25011953711509705, -0.7409123182296753, -0.29751479625701904, 0.45342719554901123, -0.08403167873620987, -0.12500755488872528, 0.9281072616577148, 0.9769768118858337, -0.21422502398490906, 0.16297146677970886, 0.5536850690841675, 0.2533968985080719, 0.23408836126327515, 0.3378927409648895, 1.2242237329483032, -0.19500596821308136, 0.7445765733718872, -0.5139975547790527, -0.23512043058872223, -0.4100121855735779, -1.061859130859375, -1.0160059928894043, -0.5372350215911865, -0.19113034009933472, -0.18339574337005615, 0.04598564654588699, 0.8757304549217224, 0.9551821351051331, -0.8819055557250977, -0.05721166729927063, 0.3864063024520874, 0.3157106041908264, -0.4471369981765747, -0.11739645898342133, 0.22272545099258423, -0.1925458014011383, -0.3337215781211853, 0.4100263714790344, 0.36803674697875977, -0.08433976024389267, -0.20627222955226898, -0.06105467677116394, -0.5176946520805359, -0.21615633368492126, 0.9342545866966248, 0.11293601989746094, -1.02696692943573, -0.4712074398994446, 0.09161067008972168, -0.25414830446243286, 0.07017657905817032, 0.8385858535766602, -0.5799016952514648, 0.7902464270591736, 0.5042544603347778, 0.6720040440559387, 0.5707216858863831, 0.10448704659938812, 0.2585163414478302, -0.8645572066307068, 0.0960921049118042, -0.09536702930927277, 0.7650778889656067, 0.46705198287963867, 0.1929786503314972, 0.5528169870376587, 0.5121079683303833, -0.2961099147796631, -0.7987041473388672, 0.06148763746023178, -1.0919615030288696, -0.3223385810852051, 0.9567190408706665, -0.022132383659482002, -0.4029083847999573, -0.09296523779630661, -0.28398123383522034, 0.04454067721962929, -0.27267134189605713, 0.6701193451881409, 0.9113219976425171, 0.055875733494758606, -0.5324501395225525, -0.8357361555099487, 0.5780966877937317, 0.3053201138973236, -0.9033246636390686, 0.28656691312789917, 0.776390790939331, 0.09177158772945404, 0.46817806363105774, 0.2896474003791809, 0.06993333995342255, 0.7295350432395935, 0.08314639329910278, 0.188326895236969, -0.2995993494987488, -0.5286626815795898, 0.25155070424079895, 0.23745585978031158, -0.17021691799163818, -0.04674018919467926 ]
http://arxiv.org/abs/2406.11285v1
http://arxiv.org/pdf/2406.11285v1
Self and Cross-Model Distillation for LLMs: Effective Methods for Refusal Pattern Alignment
2024-06-17T07:46:45
2024-06-17T07:46:45
Jie Li, Yi Liu, Chongyang Liu, Xiaoning Ren, Ling Shi, Weisong Sun, Yinxing Xue
cs.CR
cs.CR, cs.CL
Large Language Models (LLMs) like OpenAI's GPT series, Anthropic's Claude, and Meta's LLaMa have shown remarkable capabilities in text generation. However, their susceptibility to toxic prompts presents significant security challenges. This paper investigates alignment techniques, including Supervised Fine-Tuning (SFT) and Reinforcement Learning from Human Feedback (RLHF), to mitigate these risks. We conduct an empirical study on refusal patterns across nine LLMs, revealing that models with uniform refusal patterns, such as Claude3, exhibit higher security. Based on these findings, we propose self-distilling and cross-model distilling methods to enhance LLM security. Our results show that these methods significantly improve refusal rates and reduce unsafe content, with cross-model distilling achieving refusal rates close to Claude3's 94.51%. These findings underscore the potential of distillation-based alignment in securing LLMs against toxic prompts.
[ -0.03687598183751106, -0.822952151298523, 0.8399306535720825, 0.10787581652402878, -0.24685454368591309, 0.2874964773654938, 0.08730565011501312, -0.32560616731643677, -0.27389463782310486, 0.726750910282135, -0.8877512812614441, -0.5051232576370239, -0.527234673500061, 0.3881392776966095, -0.31519636511802673, 1.231049656867981, -0.18366944789886475, 0.11466287821531296, -0.01714271306991577, -0.03182782977819443, -0.702174961566925, -0.6678635478019714, -0.6824358105659485, -0.5057669878005981, 0.7805389165878296, 0.24332627654075623, 0.5501033663749695, 0.6726418733596802, 0.4390307366847992, 0.35251614451408386, -0.08454246073961258, 0.11031802743673325, -0.4089944064617157, 0.4584648311138153, -0.317310094833374, -0.4911857545375824, -0.3629191219806671, 0.23060445487499237, 0.07665524631738663, 0.14100486040115356, -0.3350703716278076, 0.0728338211774826, 0.4020942151546478, 0.8834752440452576, -0.47793176770210266, -0.26781970262527466, -0.7512258887290955, -0.03198590129613876, -0.2877811789512634, -0.1670665442943573, -0.7100316882133484, -0.26861128211021423, 0.1343616545200348, -0.5355657935142517, -0.13828562200069427, 0.19088424742221832, 0.6508838534355164, 0.41101399064064026, -0.3420012593269348, -0.5515386462211609, -0.6958706974983215, 0.8384997248649597, -0.707402229309082, 0.15104959905147552, 0.46538954973220825, 0.45491376519203186, -0.5003634095191956, -0.7022951245307922, -0.3789139688014984, -0.22847235202789307, -0.05823354050517082, -0.04604100435972214, -0.1598321944475174, 0.03708949312567711, 0.27781596779823303, 0.040385812520980835, -0.5966200828552246, 0.48318034410476685, -0.31456416845321655, -0.20060992240905762, 0.711837887763977, 0.38979843258857727, 0.3775962293148041, -0.06660965085029602, -0.6598814725875854, -0.2814387381076813, -0.9623554348945618, -0.016976937651634216, 0.7641329765319824, 0.4492028057575226, 0.10854139178991318, 0.5797790884971619, -0.2199035882949829, 0.7305773496627808, 0.30125781893730164, -0.19083932042121887, -0.0011012490140274167, -0.4374947249889374, -0.21516641974449158, 0.1889355182647705, 1.0326372385025024, 0.37068918347358704, 0.2621491253376007, 0.23901031911373138, -0.3819422721862793, -0.06868062913417816, 0.35329145193099976, -0.7198529243469238, -0.22671593725681305, 0.5269272923469543, -0.7096808552742004, -0.7545639872550964, -0.0723060816526413, -0.7892059683799744, -0.6461172699928284, -0.32407382130622864, 0.4146946370601654, -0.4368728697299957, -0.07544104009866714, -0.11237833648920059, -0.13178975880146027, 0.22607457637786865, 0.34558382630348206, -1.076137900352478, 0.2355845421552658, 0.6237325668334961, 0.9288493990898132, -0.3686063885688782, -0.3191191256046295, -0.6073111295700073, 0.2509343922138214, -0.12705214321613312, 0.4384540021419525, -0.3527826964855194, -0.42232540249824524, -0.25317052006721497, -0.1935947984457016, 0.2777857780456543, -0.6278427243232727, 0.6232739090919495, -0.6068143248558044, 0.06597824394702911, -0.35891199111938477, -0.18425174057483673, -0.029473688453435898, 0.16033302247524261, -0.5609036087989807, 0.7239786982536316, -0.2696320116519928, -0.865390419960022, 0.40131545066833496, -0.2621402144432068, -0.31985998153686523, -0.251465380191803, -0.17411644756793976, -0.7185403108596802, 0.0900857225060463, 0.44095879793167114, 0.33765411376953125, -0.11210125684738159, 0.3170972764492035, -0.6383296847343445, 0.004607635084539652, 0.4447818398475647, -0.8103124499320984, 0.8818482756614685, 0.7233568429946899, -0.23735515773296356, 0.24601531028747559, -0.8573216795921326, -0.1381525844335556, 0.19803857803344727, -0.3444439470767975, -0.5335459113121033, 0.17802809178829193, 0.011037821881473064, 0.37971872091293335, 0.08262897282838821, -0.4390287697315216, 0.16023404896259308, -0.09484684467315674, 0.7157616019248962, 1.084661841392517, -0.010064666159451008, 0.21695788204669952, -0.4752388596534729, 0.48918265104293823, 0.14883792400360107, 0.3713335394859314, 0.06810887157917023, -0.29454588890075684, -0.4070799946784973, -0.21249163150787354, 0.31510481238365173, 0.7268522381782532, -0.6636412739753723, 0.3494437634944916, 0.24613752961158752, -0.4771603047847748, -0.521702229976654, 0.2946457266807556, 0.43308499455451965, 0.5168026685714722, 0.23572015762329102, -0.17534098029136658, -0.5227541327476501, -0.7581566572189331, -0.32253843545913696, -0.38870730996131897, -0.022534141317009926, -0.13474096357822418, 0.3056577146053314, -0.15644195675849915, 0.9331778883934021, -0.30889892578125, -0.28432467579841614, 0.08080404251813889, 0.22636942565441132, 0.20531925559043884, 0.3777101933956146, 0.6547006964683533, -0.8493376970291138, -0.5875997543334961, -0.09693117439746857, -0.5890706777572632, -0.32741352915763855, -0.10530600696802139, -0.03044023923575878, 0.30542609095573425, 0.7205643057823181, -0.07146763801574707, 0.36351045966148376, 0.6069459319114685, -0.08890001475811005, 0.4077373445034027, -0.1503746211528778, 0.04465177282691002, -1.2136993408203125, -0.17338307201862335, -0.03012983314692974, -0.44454315304756165, -0.70563143491745, -0.06500153243541718, 0.018816905096173286, -0.06124352663755417, -0.669948160648346, 0.31373947858810425, -0.5870871543884277, 0.518853485584259, -0.40479177236557007, -0.14723853766918182, -0.19258300960063934, 0.17067548632621765, 0.10626839101314545, 0.6476912498474121, 0.5438690781593323, -0.7246613502502441, 0.4788268208503723, 0.20703871548175812, -0.16376207768917084, 0.7367025017738342, -0.7441256642341614, 0.10566800087690353, -0.09566888958215714, 0.2688980996608734, -1.2226552963256836, -0.06416662782430649, 0.46645858883857727, -0.15664884448051453, 0.27115774154663086, -0.290542870759964, -0.08188999444246292, -0.26534655690193176, -0.2561197280883789, 0.3655664920806885, 0.5632485151290894, -0.635556161403656, 0.5062856078147888, 0.06215246394276619, -0.33179062604904175, -0.8119285702705383, -0.7889541983604431, -0.006474328693002462, -0.6079005002975464, -0.28787586092948914, 0.018626872450113297, -0.3425978124141693, -0.29607272148132324, -0.2787784934043884, -0.11077666282653809, 0.1021423488855362, 0.3601842224597931, 0.4658472537994385, 0.3165128529071808, 0.1933232992887497, -0.3779001235961914, -0.051508646458387375, -0.2507454454898834, 0.12455541640520096, -0.3140520453453064, 0.3433963656425476, 0.23190441727638245, -0.5185194611549377, -0.5591462254524231, 0.2999497056007385, 0.5459252595901489, -0.0228660199791193, 0.4471822679042816, 0.18845751881599426, -0.12296521663665771, -0.13859334588050842, -0.40864893794059753, -0.22432316839694977, -0.5974560976028442, -0.018661025911569595, -0.426802396774292, -0.910758912563324, 0.4880056381225586, -0.07662750035524368, 0.16064873337745667, 0.1612345278263092, 0.7669888734817505, -0.2135903537273407, 0.9306320548057556, 0.34510567784309387, -0.3110124170780182, 0.5205404162406921, 0.46186327934265137, 0.15446165204048157, -0.513783872127533, -0.06680338084697723, -0.5379989743232727, -0.43318915367126465, -0.7940378785133362, -0.026006946340203285, 0.3649017810821533, 0.007728334981948137, -0.012119663879275322, 0.2284558117389679, -0.6325615644454956, 0.6038222312927246, 0.49785417318344116, 0.19882714748382568, 0.5952125191688538, 0.10305935889482498, -0.384106308221817, -0.08427399396896362, -0.4101669490337372, -0.6349387764930725, 1.0814801454544067, 0.5596507787704468, 1.2740144729614258, 0.19924211502075195, 1.0898693799972534, 0.180031418800354, 0.26021453738212585, -0.3921361267566681, 0.34929823875427246, 0.19483549892902374, -0.7418208718299866, -0.457599014043808, -0.48872190713882446, -0.9858840107917786, 0.2319473922252655, -0.17233875393867493, -0.7036844491958618, 0.12130483239889145, 0.18893639743328094, -0.6701090931892395, 0.15328063070774078, -0.5813755393028259, 0.48498743772506714, -0.4902364909648895, -0.2019265592098236, 0.034981824457645416, -0.5582672953605652, 0.5147433876991272, -0.30671820044517517, 0.29697054624557495, -0.10848818719387054, 0.023500332608819008, 0.3732614517211914, -0.8070610761642456, 1.1873306035995483, 0.06473718583583832, -0.727896511554718, 0.4679315388202667, 0.3632279932498932, 0.8673792481422424, 0.16615189611911774, -0.1806923896074295, 0.01878419704735279, 0.06185280159115791, -0.06973632425069809, -0.44967979192733765, 0.7372287511825562, -0.6712725758552551, -0.902897298336029, -0.6252521872520447, -0.3041767477989197, 0.0397115983068943, 0.35172703862190247, 0.6501486897468567, -0.1523585170507431, -0.2776501476764679, -0.23368021845817566, 0.7832497954368591, -0.2193789780139923, 0.6261739730834961, 0.5631295442581177, -0.30239996314048767, -0.5638471245765686, 0.8750401735305786, 0.17320595681667328, 0.6281359791755676, 0.13123719394207, 0.2672029435634613, -0.35339877009391785, -0.8807184100151062, -0.45405080914497375, -0.1255214363336563, -0.45347920060157776, -0.41620808839797974, -0.4951808452606201, -0.2690415680408478, -0.5186842679977417, -0.030401665717363358, -0.15292492508888245, -0.2378780096769333, -0.383619487285614, -0.21593570709228516, 0.475464791059494, 0.8546153903007507, -0.13004927337169647, 0.1743679940700531, -0.9322782158851624, 0.2681334316730499, 0.43327412009239197, 0.3523305058479309, -0.03737843036651611, -0.4358300268650055, 0.2686431407928467, 0.07239514589309692, -0.5301694869995117, -0.9798797965049744, 0.2665802240371704, -0.2853187620639801, 0.3989906907081604, 0.24982266128063202, 0.4130633771419525, 0.5173824429512024, -0.6584345102310181, 0.5681540966033936, 0.24937622249126434, -0.8912147283554077, 0.7945400476455688, -0.6597475409507751, -0.11023169010877609, 0.7391262650489807, 0.571841835975647, -0.4405052363872528, -0.5597521662712097, -0.3607375919818878, -0.8181610107421875, 0.6794544458389282, 0.28458335995674133, 0.059961508959531784, 0.19820262491703033, 0.3188328444957733, 0.29477280378341675, 0.050008375197649, -1.0569814443588257, -0.22717222571372986, -0.005304936319589615, -0.2029501348733902, 0.10443458706140518, -0.22006063163280487, -0.3707236647605896, 0.06952715665102005, 0.7304485440254211, -0.09128082543611526, -0.3950047492980957, 0.22675593197345734, 0.0077673825435340405, -0.04212326556444168, 0.4414389431476593, 0.746566116809845, 0.45330244302749634, -0.08328252285718918, 0.07480480521917343, 0.23360668122768402, -0.36275285482406616, 0.7175096869468689, -0.22531747817993164, -0.3687543272972107, -0.25670361518859863, 0.08038026839494705, 0.5677775144577026, -0.28875216841697693, -0.3059813380241394, 0.25848260521888733, -0.22026892006397247, -0.4015332758426666, -0.03028850257396698, 0.294100284576416, -0.1331155002117157, 0.2747865319252014, 0.06606420129537582, -0.3650975227355957, 0.1478160321712494, -0.5308618545532227, 0.21270905435085297, 0.43986034393310547, -0.38458970189094543, 0.02790859341621399, 0.7950428128242493, 0.28114810585975647, -0.21523581445217133, 0.5467504858970642, 0.03996103256940842, -0.1720201075077057, 0.27956312894821167, 0.6161760091781616, 0.9316293001174927, -0.43484416604042053, 0.2828347980976105, 0.2566062808036804, 0.36591586470603943, -0.28772252798080444, 0.22416140139102936, 0.029647573828697205, -0.523330807685852, -0.2570664882659912, -0.6360750198364258, -0.5065200328826904, 0.1453198939561844, -0.7147213816642761, 0.26042965054512024, -0.7093469500541687, -0.24210241436958313, -0.2500920295715332, -0.3061094284057617, -0.11298632621765137, -0.13483771681785583, 0.2021874487400055, 0.7526571154594421, -1.0954704284667969, 0.7601916193962097, 0.4024825692176819, -0.382773220539093, -0.861911416053772, -0.014153544791042805, 0.4344879984855652, -0.667640209197998, 0.5200915932655334, -0.09877310693264008, 0.08802033960819244, -0.1389700025320053, -0.5404849648475647, -0.7672248482704163, 1.0775142908096313, 0.40355581045150757, -1.0747973918914795, -0.0358898751437664, 0.3471554219722748, 0.36906808614730835, -0.002980221528559923, 0.0989532619714737, 0.7615999579429626, 0.6141384243965149, 0.14711304008960724, -0.874919056892395, 0.3983707129955292, 0.1271659880876541, 0.19597919285297394, 0.21934127807617188, -0.9258880019187927, 0.5670533180236816, -0.18622304499149323, -0.17740103602409363, 0.13646647334098816, 0.7200115919113159, 0.5762447714805603, 0.18645073473453522, 0.5269720554351807, 0.5803926587104797, 0.840725839138031, -0.0485018715262413, 0.6736422777175903, 0.2664615511894226, 0.044483479112386703, 1.2773592472076416, -0.657289981842041, 0.6492404937744141, 0.737798810005188, -0.10223456472158432, 0.5642624497413635, 0.8434198498725891, 0.07678995281457901, 0.7468172907829285, 0.46248820424079895, 0.013830478303134441, -0.24880823493003845, 0.14439749717712402, -0.3018658757209778, 0.3032550811767578, 0.26341769099235535, -0.3244529366493225, -0.3014916479587555, -0.009794234298169613, -0.0963803306221962, 0.12155088037252426, -0.1453636884689331, 1.0356736183166504, 0.4211406409740448, -0.8053093552589417, 0.5662627220153809, -0.07100019603967667, 0.7132681012153625, -0.5189722180366516, 0.09932999312877655, -0.016199123114347458, 0.009506983682513237, -0.32683250308036804, -0.7943285703659058, 0.2455727607011795, 0.032695215195417404, -0.18856792151927948, -0.5981746912002563, 0.6981242299079895, -0.30730921030044556, -0.27957189083099365, 0.3384072780609131, 0.24172498285770416, -0.1739797592163086, 0.09036297351121902, -0.8318228721618652, 0.05925360321998596, -0.00901514571160078, -0.3745601177215576, 0.5356519818305969, 0.6045315861701965, -0.26356983184814453, 0.5635926127433777, 0.751504123210907, 0.08392281085252762, 0.05376124382019043, -0.0017486403230577707, 0.7461506128311157, -0.5461682677268982, -0.5019053816795349, -1.4917211532592773, 0.4138503968715668, 0.06740830838680267, 0.004596392158418894, 0.7659140825271606, 0.13355211913585663, 0.9194146990776062, 0.0726860761642456, 1.0255661010742188, 0.1888386756181717, 0.2445654422044754, -0.8558816313743591, 0.8528981804847717, -0.2928544580936432, 0.417097270488739, -0.4242168366909027, -0.8433786034584045, -0.027153918519616127, 0.3159477114677429, -0.057049769908189774, 0.04469076171517372, 0.4937494397163391, 0.7255118489265442, 0.11125780642032623, -0.14921584725379944, 0.2501849830150604, 0.07868047803640366, 0.5706356763839722, 0.6833143830299377, 1.1190627813339233, -0.3158951699733734, 0.5702483057975769, 0.051282647997140884, -0.13123515248298645, -0.17674562335014343, -1.1900956630706787, -1.080332636833191, -0.5269594192504883, -0.24281777441501617, -0.6613619923591614, -0.007471354212611914, 0.8302549719810486, 0.5108054280281067, -0.8009787201881409, -0.15132524073123932, -0.1596229523420334, 0.20028747618198395, -0.286486953496933, -0.09311163425445557, 0.009817232377827168, -0.31595346331596375, -0.604819118976593, 0.35305318236351013, 0.3347031772136688, 0.6205382347106934, -0.20769359171390533, -0.1697675734758377, -0.10130926221609116, 0.15008361637592316, 0.23264624178409576, 0.41905659437179565, -0.7811943292617798, -0.28879404067993164, -0.16772060096263885, -0.3935726583003998, -0.009474219754338264, 0.8494354486465454, -0.5312991738319397, 0.2641241252422333, 0.6924594640731812, 0.5443983674049377, 0.01244520116597414, 0.16015203297138214, 0.8704309463500977, -0.7290717363357544, -0.020201409235596657, -0.0033996787387877703, 0.2840137779712677, 0.0005900851683691144, -0.6542757153511047, 0.37212350964546204, -0.061277974396944046, -0.6862663626670837, -0.8152219653129578, 0.561726987361908, -0.6066423058509827, -0.3289811909198761, 1.1313127279281616, -0.039564915001392365, -0.3672253489494324, -0.24565885961055756, -0.4077715277671814, 0.14429961144924164, -0.31179192662239075, 0.8525279760360718, 1.0491039752960205, -0.0991223081946373, 0.0216837078332901, -0.2950649857521057, 0.79817134141922, 0.5462242364883423, -0.6911460757255554, 0.48204848170280457, 0.3979637324810028, 0.5400505661964417, -0.01644427888095379, 0.6577361226081848, -0.27140089869499207, 0.09970076382160187, -0.4843991696834564, -0.21517343819141388, -0.1718607246875763, -0.4023967385292053, -0.5957605242729187, -0.10027977079153061, 0.3626765310764313, -0.038933273404836655 ]
http://arxiv.org/abs/2406.11278v1
http://arxiv.org/pdf/2406.11278v1
Do Not Design, Learn: A Trainable Scoring Function for Uncertainty Estimation in Generative LLMs
2024-06-17T07:30:40
2024-06-17T07:30:40
Duygu Nur Yaldiz, Yavuz Faruk Bakman, Baturalp Buyukates, Chenyang Tao, Anil Ramakrishna, Dimitrios Dimitriadis, Salman Avestimehr
cs.CL
cs.CL
In this work, we introduce the Learnable Response Scoring Function (LARS) for Uncertainty Estimation (UE) in generative Large Language Models (LLMs). Current scoring functions for probability-based UE, such as length-normalized scoring and semantic contribution-based weighting, are designed to solve specific aspects of the problem but exhibit limitations, including the inability to handle biased probabilities and under-performance in low-resource languages like Turkish. To address these issues, we propose LARS, a scoring function that leverages supervised data to capture complex dependencies between tokens and probabilities, thereby producing more reliable and calibrated response scores in computing the uncertainty of generations. Our extensive experiments across multiple datasets show that LARS substantially outperforms existing scoring functions considering various probability-based UE methods.
[ -0.41791364550590515, -0.6524320840835571, 0.6525474786758423, 0.2639380097389221, -0.33201703429222107, 0.021705346181988716, -0.281587690114975, -0.24061408638954163, 0.13563387095928192, 0.12247955054044724, -0.5755642056465149, -0.7083450555801392, -0.5774458646774292, -0.14667755365371704, -0.1332044005393982, 0.7541133761405945, -0.05023568868637085, 0.20959874987602234, -0.3245386779308319, 0.17093732953071594, -0.022888872772455215, -0.16983245313167572, -0.7602016925811768, -0.03467192128300667, 0.78726726770401, 0.46691057085990906, 0.38979578018188477, 0.33783242106437683, 0.5365613698959351, 0.20823241770267487, -0.10480084270238876, -0.03682015836238861, -0.3289147913455963, 0.5429347157478333, -0.12307315319776535, -0.7208490371704102, -0.5213454961776733, -0.2365916669368744, 0.7306978106498718, 0.797865092754364, -0.2642308473587036, 0.45807355642318726, 0.2699964940547943, 0.7430949807167053, -0.8030945658683777, 0.3720487356185913, -0.5968538522720337, 0.2721264064311981, -0.12593285739421844, -0.14503730833530426, -0.6164556741714478, -0.3493424355983734, -0.06465304642915726, -0.6346198320388794, 0.2548951208591461, -0.00015710262232460082, 0.34640684723854065, 0.3089541494846344, -0.20329581201076508, -0.20061612129211426, -0.7912048697471619, 1.187765121459961, -0.6317064166069031, 0.28784307837486267, 0.5934455394744873, 0.36865854263305664, -0.4182206690311432, -0.5214094519615173, -0.33133578300476074, -0.10158131271600723, 0.3334329426288605, 0.12554721534252167, 0.0430634468793869, 0.28311270475387573, 0.19074146449565887, 0.17181611061096191, -0.587425172328949, 0.29068291187286377, -0.35114583373069763, -0.19426776468753815, 0.9555397629737854, 0.22774146497249603, -0.15788814425468445, -0.13416734337806702, -0.5277621746063232, -0.3511202335357666, -0.701734721660614, 0.14035798609256744, 0.7895249128341675, 0.6499651670455933, -0.08635234832763672, 0.49701330065727234, -0.17174674570560455, 0.8367314338684082, -0.0024426807649433613, -0.07777760177850723, 0.16140209138393402, 0.29128357768058777, -0.36038073897361755, -0.371539831161499, 0.9414125084877014, 0.10944417119026184, 0.2652412950992584, -0.12270806729793549, -0.35284948348999023, -0.3241768181324005, 0.4394890367984772, -0.37874582409858704, -0.4415474236011505, 0.33748066425323486, -0.3345646262168884, -0.5048847198486328, 0.005696603562682867, -1.1706395149230957, -0.47603484988212585, 0.014264898374676704, 0.2962474226951599, -0.4893345236778259, -0.09270768612623215, -0.23167598247528076, -0.010966649278998375, 0.2903408706188202, 0.335781455039978, -0.8596572279930115, 0.14795753359794617, 0.22315560281276703, 0.407631516456604, -0.14586141705513, -0.05352667719125748, -0.5771923661231995, -0.08102532476186752, -0.7632047533988953, 0.633476197719574, -0.515926718711853, -0.6142358183860779, 0.02870579995214939, -0.44537588953971863, -0.21548815071582794, -0.3014330267906189, 0.9151245951652527, -0.7188767194747925, 0.3303051292896271, -0.2908245921134949, -0.6199604272842407, -0.3780319392681122, -0.017715780064463615, -0.5576431155204773, 0.9214079976081848, 0.5539900064468384, -0.7138662934303284, 0.800082266330719, -0.6291263699531555, -0.39490434527397156, 0.41803842782974243, -0.1460663229227066, -0.5204019546508789, 0.2964918911457062, 0.09420370310544968, 0.7236640453338623, -0.09275144338607788, 0.1373322755098343, -0.8850021958351135, -0.4037542939186096, 0.2558271586894989, -0.8532925248146057, 0.6025927662849426, 0.4401025176048279, 0.03068075329065323, 0.1484512835741043, -0.8373042345046997, 0.5811572670936584, -0.08341090381145477, -0.8312158584594727, -0.042471278458833694, 0.3990655839443207, 0.23952171206474304, 0.18015636503696442, 0.10964863002300262, -0.6327210068702698, -0.12212537229061127, -0.16877023875713348, -0.007180730812251568, 0.8847814798355103, -0.12642936408519745, 0.29692551493644714, -0.4088187515735626, 0.798466682434082, -0.003921680152416229, 0.12499295920133591, 0.3546334207057953, -0.3993256688117981, -0.6239486336708069, -0.6391842365264893, 0.744574785232544, 0.49111947417259216, -0.8714516162872314, 0.6627334952354431, -0.32499417662620544, -0.4228682518005371, -0.7077812552452087, 0.3728507161140442, 0.3328038156032562, 0.2557777762413025, 0.30630579590797424, -0.3833170235157013, -0.7051236033439636, -0.7382062673568726, -0.2627657353878021, -0.6089316010475159, -0.48223239183425903, 0.20221346616744995, 0.19142937660217285, 0.34088435769081116, 0.8503034710884094, -0.48507940769195557, -0.399042010307312, -0.3898126184940338, 0.22826462984085083, 0.13902118802070618, 0.3543095588684082, 0.5690752267837524, -0.796205461025238, -0.4932342767715454, -0.21993952989578247, -0.8487613201141357, 0.11956840008497238, 0.1027798056602478, 0.45555979013442993, 0.45488211512565613, 0.35865646600723267, -0.6712352633476257, 0.278963565826416, 0.5482231378555298, -0.18541280925273895, 0.4712112843990326, -0.221024751663208, 0.23827143013477325, -1.0551892518997192, 0.07188371568918228, 0.18033432960510254, -0.24883770942687988, -0.3452089726924896, 0.18353797495365143, 0.025027917698025703, 0.4266883432865143, -0.5148952603340149, 0.3084729313850403, -0.3013107180595398, 0.022990526631474495, 0.12440235912799835, -0.325240820646286, -0.3217814266681671, 0.4163800776004791, -0.06791386753320694, 0.70977783203125, 0.4457886517047882, -0.685721755027771, 0.27202069759368896, 0.06154637038707733, -0.8189793229103088, 0.841850757598877, -0.3935687243938446, 0.016582539305090904, -0.417422890663147, -0.04551471024751663, -1.016516923904419, -0.5631223320960999, 0.2722831964492798, -0.7773071527481079, 0.7990677356719971, -0.4302726089954376, -0.4502634108066559, -0.41723114252090454, -0.42369475960731506, 0.11541195213794708, 0.5680088400840759, -0.38013970851898193, 0.5511320233345032, 0.19578048586845398, -0.3493020832538605, -0.8225315809249878, -0.5760896801948547, -0.05633477866649628, -0.5581173300743103, -0.4421765208244324, 0.01857367530465126, -0.16208197176456451, -0.18938559293746948, -0.08689793199300766, -0.04833121597766876, -0.08943687379360199, 0.4871152639389038, 0.20701928436756134, 0.16617175936698914, -0.23103393614292145, 0.4003881514072418, 0.10347814112901688, 0.018533317372202873, 0.13734567165374756, -0.1500275582075119, 0.5318886041641235, 0.2806788384914398, -0.44021540880203247, -0.10000986605882645, 0.41821521520614624, 0.44166815280914307, 0.16860325634479523, 0.8267070651054382, 0.5931431651115417, -0.34209662675857544, -0.7514563202857971, -0.25198686122894287, 0.037666864693164825, -0.45927900075912476, 0.6976796984672546, -0.5671838521957397, -0.8470550179481506, 0.44577059149742126, 0.20060019195079803, 0.04922761395573616, 0.5903921127319336, 0.5823007822036743, -0.8695389628410339, 0.8812690377235413, 0.5490139126777649, 0.015521115623414516, 0.39002835750579834, 0.10541622340679169, 0.13409404456615448, -0.7685598134994507, -0.23431725800037384, -0.3874838054180145, -0.357674241065979, -0.6961827278137207, -0.397649347782135, 0.4489766061306, 0.2462112307548523, -0.26540276408195496, 0.13558346033096313, -0.07447510212659836, 0.29517585039138794, 0.5365778207778931, -0.13256150484085083, -0.07195945829153061, 0.11727217584848404, -0.15209056437015533, -0.060328409075737, -0.6961643695831299, -0.32448503375053406, 1.5540452003479004, 0.48349153995513916, 1.1012775897979736, 0.2625192403793335, 0.8890869617462158, 0.6554533243179321, 0.3912651240825653, -0.7975338697433472, 0.38461941480636597, -0.12250962108373642, -0.6511912941932678, -0.7487162351608276, -0.8678797483444214, -0.8510600328445435, 0.28427061438560486, -0.163289874792099, -0.9565735459327698, 0.08914779126644135, 0.09836266934871674, -0.44355642795562744, 0.47310271859169006, -0.7482256889343262, 0.33182013034820557, 0.10818906873464584, -0.26121118664741516, 0.15361706912517548, -0.5674570202827454, 0.2816969156265259, -0.36492806673049927, 0.36326760053634644, -0.13521358370780945, 0.18735864758491516, 0.9090632796287537, 0.049190059304237366, 1.065909504890442, -0.4094482660293579, -0.2501276433467865, 0.21381765604019165, 0.26784929633140564, 0.3658336400985718, 0.011174006387591362, -0.3187313675880432, -0.1384212076663971, 0.14019179344177246, -0.516625702381134, -0.5216177701950073, 0.7685006856918335, -0.5643143057823181, -0.6041430234909058, -0.3821124732494354, -0.5165867209434509, -0.4505552649497986, 0.06243785843253136, 0.4899151921272278, -0.18085052073001862, -0.4417465329170227, 0.06344550102949142, 0.7760847210884094, 0.032727863639593124, 0.6250837445259094, 0.37910327315330505, 0.02441919595003128, -0.6373413801193237, 0.9551023244857788, 0.3078799843788147, 0.2752102315425873, 0.33139875531196594, -0.20186226069927216, -0.47674447298049927, -0.507402777671814, -0.5911024212837219, -0.15392637252807617, -0.7519914507865906, -0.4288647472858429, -0.09587675333023071, -0.21339087188243866, -0.23079003393650055, -0.14424577355384827, -0.18122556805610657, -0.5784104466438293, -0.2865307629108429, -0.41713905334472656, 0.12223204970359802, 0.8047162890434265, -0.2261190414428711, 0.3340252935886383, -0.5412887930870056, -0.086480513215065, 0.2043270617723465, 0.7777842879295349, -0.21369501948356628, -0.6409715414047241, -0.011050584726035595, 0.06902895867824554, -0.4117946922779083, -0.6070680618286133, 0.25943541526794434, 0.3878729045391083, 0.7789778113365173, 0.42014163732528687, 0.41298630833625793, 0.1517382264137268, -0.12073009461164474, 0.6684320569038391, 0.163100004196167, -0.7863233089447021, 0.2894369959831238, -0.3846224844455719, -0.07899566739797592, 0.5292418003082275, 0.39803314208984375, -0.22430738806724548, -0.0877658799290657, -0.5103580951690674, -1.021864891052246, 0.756583034992218, 0.07354535162448883, 0.41030263900756836, 0.15921033918857574, 0.2809917628765106, 0.11881458014249802, 0.20503385365009308, -0.5945450663566589, -0.2831728756427765, 0.29345446825027466, -0.6252074837684631, -0.37485188245773315, -0.5373799800872803, -0.16769860684871674, -0.10645239055156708, 0.7823441028594971, -0.310004323720932, 0.22344721853733063, -0.11309054493904114, -0.11316104978322983, -0.5962910056114197, 0.44703009724617004, 0.49894917011260986, 0.40331342816352844, -0.4782424569129944, 0.0949430987238884, 0.3554382622241974, -0.41325026750564575, 0.17122721672058105, 0.15544532239437103, -0.18166622519493103, -0.2149910032749176, 0.7393792867660522, 0.7202945351600647, 0.04701042175292969, -0.499468058347702, 0.5406460762023926, -0.004586605820804834, -0.48192504048347473, -0.5727489590644836, 0.17855514585971832, 0.03437236696481705, 0.13405480980873108, 0.29454272985458374, 0.09002816677093506, 0.01459820568561554, -0.07787373661994934, 0.3507882356643677, 0.4264928102493286, -0.8786318898200989, -0.33656543493270874, 0.691178560256958, 0.026577457785606384, -0.16398940980434418, 0.6420254111289978, -0.2603287100791931, -0.23472264409065247, 0.44434213638305664, 0.40834861993789673, 0.8698222637176514, -0.5556192398071289, 0.7227498888969421, 0.23487038910388947, 0.25755491852760315, 0.14943136274814606, 0.7746912240982056, -0.2079022377729416, -0.7326558828353882, -0.5369364023208618, -1.107309341430664, -0.17927908897399902, 0.01889406144618988, -0.9234080910682678, 0.011610101908445358, -0.49729838967323303, -0.3599311411380768, -0.14604789018630981, -0.09186013042926788, -0.7263854146003723, 0.5907575488090515, 0.263362318277359, 0.9466795325279236, -1.0028945207595825, 0.6678299307823181, 0.7176457643508911, -0.3601479232311249, -0.5619934797286987, 0.04876996949315071, -0.11545293778181076, -0.6947726011276245, 0.6244442462921143, -0.30426082015037537, -0.01660640351474285, -0.033113133162260056, -0.6829344034194946, -0.8951352834701538, 0.8563750982284546, 0.5032870173454285, -0.28142672777175903, 0.047619227319955826, 0.28243330121040344, 0.5869359970092773, -0.07309826463460922, 0.1825495809316635, 0.4077654182910919, 0.38409414887428284, 0.1586315631866455, -0.5375918745994568, -0.19350118935108185, 0.0062471553683280945, 0.04003368318080902, 0.4020601212978363, -0.399655818939209, 0.6027705073356628, -0.4351792335510254, -0.1922844648361206, 0.21614769101142883, 0.6774999499320984, 0.06658140569925308, 0.09078040719032288, 0.4319418668746948, 0.776496946811676, 0.7853597402572632, -0.12874078750610352, 1.0598703622817993, -0.0029912255704402924, 0.6677197813987732, 0.9837706685066223, -0.14277689158916473, 1.1793198585510254, 0.7153533697128296, -0.7542051672935486, 0.36175230145454407, 0.7728821635246277, 0.06806235760450363, 0.630276620388031, 0.7055203914642334, -0.557893693447113, -0.7215993404388428, 0.2338576763868332, 0.04040632024407387, 0.543962836265564, 0.5996302366256714, -0.5387016534805298, -0.17509382963180542, -0.40998682379722595, -0.006847296841442585, -0.015626555308699608, -0.013652948662638664, 0.8001599311828613, 0.36519232392311096, -0.46626749634742737, 0.4513499140739441, 0.07160647958517075, 0.3871261179447174, -0.7586853504180908, 0.019673138856887817, -0.017514875158667564, 0.20908266305923462, -0.20795994997024536, -1.1136640310287476, 0.21707002818584442, -0.18397293984889984, -0.29962700605392456, 0.15405598282814026, 0.26404067873954773, -0.3504880666732788, -0.7211636304855347, 0.41940921545028687, 0.47429877519607544, 0.022129423916339874, 0.184859961271286, -0.3194362223148346, -0.13589653372764587, -0.06751732528209686, -0.4390568435192108, 0.5488607287406921, 0.12913201749324799, -0.054039642214775085, 1.0267183780670166, 0.5759953260421753, 0.0032996966037899256, -0.05923564359545708, -0.25505131483078003, 0.4712904691696167, -0.3642953634262085, -0.099007248878479, -0.6647810339927673, 0.5250357985496521, 0.07570435851812363, -0.5562705993652344, 0.40944617986679077, 0.3562254309654236, 0.9422681927680969, -0.4036915600299835, 1.0886585712432861, -0.2334103137254715, 0.5875224471092224, -0.5905037522315979, 0.8828003406524658, -0.47708114981651306, 0.36938318610191345, -0.20518478751182556, -1.048324704170227, -0.6810989379882812, 0.5383576154708862, -0.3273168206214905, 0.39096975326538086, 0.21057577431201935, 0.5165491104125977, 0.09428855031728745, -0.17605067789554596, 0.8733556270599365, 0.07939007133245468, 0.2144232988357544, 0.6944746375083923, 0.7859514355659485, -0.2783164978027344, 0.2329874485731125, -0.15819329023361206, -0.2755826711654663, -0.021014254540205002, -0.7754355669021606, -0.7847299575805664, -0.7330083847045898, -0.15734301507472992, -0.2627469003200531, 0.14291609823703766, 1.0476644039154053, 0.5812364816665649, -1.2316038608551025, -0.06805447489023209, 0.18194466829299927, 0.23085089027881622, -0.23770534992218018, -0.2325187474489212, 0.6281663179397583, -0.6814091205596924, -0.6793032884597778, 0.46864721179008484, -0.0035130279138684273, 0.00527025805786252, -0.17801260948181152, -0.1447770893573761, 0.14690648019313812, 0.20248806476593018, 0.35637667775154114, 0.3043476343154907, -0.5585921406745911, -0.497691810131073, -0.2675640881061554, 0.03436226025223732, -0.10245635360479355, 0.25696006417274475, -0.52818363904953, 0.5060226917266846, 0.4871096909046173, 0.394584983587265, 0.2296995371580124, -0.16222664713859558, 0.8589897751808167, -0.9197683334350586, -0.3917791545391083, 0.32285431027412415, 0.4282293915748596, 0.5142852067947388, -0.3157407343387604, 0.35859665274620056, 0.1288747489452362, -0.29825982451438904, -0.7119207382202148, 0.5063173770904541, -0.8036239147186279, -0.08970179408788681, 1.0837583541870117, -0.5955653786659241, -0.05331069231033325, -0.30516254901885986, 0.1497943103313446, 0.06048809736967087, -0.2611524760723114, 0.9726499319076538, 0.7172155380249023, 0.1400066465139389, -0.0879160463809967, -0.4164849519729614, 0.6999762654304504, 0.37742865085601807, -0.45503881573677063, -0.047246962785720825, 0.18624070286750793, 0.67977374792099, -0.11544689536094666, 0.3239876627922058, -0.08941033482551575, 0.28263384103775024, 0.11641962826251984, 0.26716744899749756, 0.12710024416446686, -0.46632012724876404, -0.44373905658721924, 0.5239666700363159, 0.5296238660812378, -0.3843703269958496 ]
http://arxiv.org/abs/2406.11277v1
http://arxiv.org/pdf/2406.11277v1
Small Agent Can Also Rock! Empowering Small Language Models as Hallucination Detector
2024-06-17T07:30:05
2024-06-17T07:30:05
Xiaoxue Cheng, Junyi Li, Wayne Xin Zhao, Hongzhi Zhang, Fuzheng Zhang, Di Zhang, Kun Gai, Ji-Rong Wen
cs.CL
cs.CL
Hallucination detection is a challenging task for large language models (LLMs), and existing studies heavily rely on powerful closed-source LLMs such as GPT-4. In this paper, we propose an autonomous LLM-based agent framework, called HaluAgent, which enables relatively smaller LLMs (e.g. Baichuan2-Chat 7B) to actively select suitable tools for detecting multiple hallucination types such as text, code, and mathematical expression. In HaluAgent, we integrate the LLM, multi-functional toolbox, and design a fine-grained three-stage detection framework along with memory mechanism. To facilitate the effectiveness of HaluAgent, we leverage existing Chinese and English datasets to synthesize detection trajectories for fine-tuning, which endows HaluAgent with the capability for bilingual hallucination detection. Extensive experiments demonstrate that only using 2K samples for tuning LLMs, HaluAgent can perform hallucination detection on various types of tasks and datasets, achieving performance comparable to or even higher than GPT-4 without tool enhancements on both in-domain and out-of-domain datasets. We release our dataset and code at https://github.com/RUCAIBox/HaluAgent.
[ -0.411411851644516, -0.8540773391723633, 0.7427719831466675, 0.22721952199935913, -0.1738254874944687, -0.22571074962615967, -0.5215839147567749, -0.5639722347259521, 0.3902721703052521, 0.5120627880096436, -0.48134854435920715, -0.5284742712974548, -0.34248894453048706, 0.28119826316833496, -0.26687201857566833, 0.7165740728378296, 0.1368623822927475, -0.03345745429396629, 0.2080075591802597, -0.26486334204673767, -0.7014361023902893, -0.25732144713401794, -0.8866140246391296, -0.705637514591217, 0.49675440788269043, 0.47156208753585815, 0.8436155319213867, 0.604458749294281, 0.019921552389860153, 0.2759418785572052, 0.3314417004585266, 0.37790003418922424, -0.3502819836139679, 0.06913746148347855, 0.09737912565469742, -0.5387341976165771, -0.6463455557823181, -0.3289460837841034, 0.32566404342651367, 0.43766510486602783, -0.15655291080474854, -0.12875132262706757, 0.19673584401607513, 0.3989274203777313, -0.33292829990386963, 0.4127748906612396, -0.7694494724273682, 0.030814414843916893, -0.3466808795928955, -0.05764629691839218, -0.4417344629764557, -0.22662559151649475, -0.4768965244293213, -0.29704922437667847, 0.3042711913585663, 0.10121648013591766, 0.4085063934326172, 0.6431868672370911, -0.2543436586856842, -0.6413374543190002, -0.5752173066139221, 0.7020173668861389, -0.7174193859100342, 0.42471879720687866, 0.6379274725914001, 0.42127200961112976, -0.22791486978530884, -0.5770094394683838, -0.6953756213188171, -0.4254276752471924, -0.3441280126571655, -0.29404008388519287, -0.11919219046831131, -0.021809112280607224, 0.012805582024157047, 0.36596399545669556, -0.8991671800613403, 0.24263536930084229, 0.07356612384319305, -0.43349432945251465, 0.3064097464084625, 0.12655018270015717, 0.2930638790130615, -0.24446134269237518, 0.20283906161785126, 0.048873528838157654, -0.6435326337814331, -0.38075682520866394, 0.13896344602108002, 0.6663874983787537, 0.02289246767759323, 0.3101044297218323, 0.031802162528038025, 0.3046101927757263, -0.08413732796907425, -0.137923002243042, 0.25232192873954773, 0.023955844342708588, -0.11388931423425674, 0.3902650475502014, 0.8629463315010071, -0.23827382922172546, 0.07232754677534103, -0.17562150955200195, -0.628890335559845, 0.0797019675374031, 0.06841107457876205, -0.8630200624465942, -0.486766517162323, 0.24202315509319305, -0.5333474278450012, -0.2092355191707611, -0.049615174531936646, -0.6010633707046509, -0.6870158910751343, -0.1560249924659729, 0.5623435974121094, -0.3295341730117798, -0.41642263531684875, 0.15659157931804657, 0.33103758096694946, 0.11278899759054184, 0.04801466315984726, -1.0187194347381592, 0.34991443157196045, 0.7391912341117859, 1.0518001317977905, -0.3346761167049408, -0.5303549766540527, -0.854218065738678, 0.04947436600923538, -0.5563286542892456, 0.8490400314331055, -0.2307329922914505, -0.39383429288864136, 0.10200876742601395, 0.3668167293071747, 0.04328126087784767, -0.8355589509010315, 0.3967769145965576, -0.15809744596481323, -0.03949632868170738, -0.11009123176336288, -0.07215340435504913, -0.2854345440864563, 0.09807469695806503, -1.0976873636245728, 1.0068095922470093, 0.0025788340717554092, -0.28009238839149475, 0.19387811422348022, -0.5317662358283997, -0.6320745944976807, 0.2385445386171341, -0.5826574563980103, -0.49179619550704956, 0.17006690800189972, 0.20624405145645142, 0.3981536626815796, -0.19513022899627686, 0.21207363903522491, -0.29212042689323425, -0.669288158416748, 0.11415120959281921, -0.4332149624824524, 0.47335758805274963, -0.0732133537530899, -0.8113964796066284, 0.32255879044532776, -0.5739454627037048, -0.35144391655921936, 0.12106641381978989, -0.13542433083057404, -0.11162921041250229, -0.014055202715098858, -0.04947289451956749, 0.11868992447853088, 0.1923595368862152, -0.17459101974964142, 0.012098248116672039, -0.3650616407394409, 0.1758003830909729, 0.7038033604621887, -0.07329517602920532, 0.39123690128326416, -0.522915244102478, 0.5586150288581848, -0.2512246370315552, 0.003611068008467555, 0.3571785092353821, -0.526388943195343, -0.97882479429245, -0.44442591071128845, -0.06756706535816193, 0.24173955619335175, -1.0465142726898193, 0.5054247379302979, -0.22988609969615936, -0.39685219526290894, -0.6218745708465576, 0.3536684513092041, 0.2805039882659912, 0.055363476276397705, 0.3522724211215973, 0.15982824563980103, -0.4118422567844391, -0.8517817258834839, -0.06488695740699768, -0.21468296647071838, -0.14209753274917603, 0.26543742418289185, 0.6697400808334351, -0.516602635383606, 0.6157143712043762, -0.26599550247192383, -1.089375615119934, -0.3230217397212982, 0.1755540370941162, 0.3370729684829712, 0.2767392694950104, 0.4134264588356018, -0.5798432230949402, -0.46722784638404846, 0.42864012718200684, -0.9362404942512512, -0.2993727922439575, -0.19426746666431427, 0.00036185033968649805, 0.5368439555168152, 0.4904819428920746, -0.635404646396637, 0.32426005601882935, 0.4100746512413025, -0.11534309387207031, 0.47189784049987793, -0.07624344527721405, 0.05359414219856262, -0.7487640380859375, -0.1785048395395279, -0.4174308180809021, -0.4610839784145355, -0.7294991612434387, -0.012291383929550648, 0.01611696183681488, 0.21168489754199982, -0.3663800060749054, 0.5851503014564514, -0.5558707118034363, -0.21996623277664185, -0.8468172550201416, 0.20173336565494537, -0.3605627715587616, 0.5178083777427673, 0.2055063396692276, 0.7017770409584045, 0.49608859419822693, -0.6070627570152283, 0.299091100692749, 0.13776172697544098, -0.15428459644317627, 0.0325048454105854, -0.4257981479167938, 0.2866528332233429, 0.24403835833072662, 0.1650945395231247, -0.47082552313804626, -0.3529787063598633, 0.632785439491272, -0.4068222939968109, 0.004503184463828802, -0.046670448035001755, -0.8932268023490906, -0.17702631652355194, -0.33691275119781494, 0.3324736952781677, 0.43815329670906067, -0.9321499466896057, 1.0481804609298706, 0.2511223554611206, 0.006919201463460922, -0.2936970591545105, -1.0261598825454712, 0.08506890386343002, -0.2789953947067261, -0.46161597967147827, 0.1211765930056572, -0.261462926864624, -0.18932975828647614, -0.04312128573656082, -0.1593770533800125, 0.1862790435552597, 0.053981006145477295, 0.4224432408809662, -0.008404419757425785, -0.3160896599292755, 0.2845061719417572, 0.24428939819335938, -0.18705295026302338, 0.007622220553457737, -0.35855451226234436, 0.990719199180603, -0.6501474380493164, -0.42913389205932617, -0.19340962171554565, 0.2427487075328827, 0.39525794982910156, 0.20013825595378876, 0.5179889798164368, 0.8208137154579163, -0.8896659016609192, -0.7073565125465393, -0.4187902510166168, -0.6327586770057678, -0.5716105699539185, 0.08605862408876419, -0.7253872752189636, -0.9325919151306152, 0.5293776392936707, 0.38819366693496704, -0.21014533936977386, 0.21432247757911682, 1.186607003211975, 0.605606198310852, 1.0126323699951172, 0.5473707914352417, -0.21516074240207672, 0.08875622600317001, 0.029242321848869324, 0.31824004650115967, -0.3299958109855652, 0.08444008231163025, -0.23446528613567352, -0.03500226140022278, -0.5313844084739685, -0.4858284890651703, 0.3716478943824768, -0.20887324213981628, 0.08397720009088516, 0.33069777488708496, -0.7032386660575867, 0.5538065433502197, 0.15579913556575775, 0.0008475599461235106, 0.5047183036804199, -0.09521553665399551, 0.10832753032445908, 0.09870892763137817, -0.46525856852531433, -0.6131640672683716, 0.6852455139160156, 0.3893209993839264, 0.7387518286705017, 0.3899153470993042, 0.9804420471191406, 0.49606865644454956, 0.3765503466129303, -1.0089075565338135, 0.7999041676521301, -0.10408655554056168, -0.5846802592277527, -0.4190795123577118, -0.34434372186660767, -1.0105847120285034, 0.529285192489624, 0.021693259477615356, -0.6669212579727173, 0.26238709688186646, -0.06804540753364563, -0.3253762423992157, 0.1712186336517334, -0.3486522436141968, 0.7307354807853699, -0.1392216980457306, -0.2631685137748718, -0.23666560649871826, -0.20612183213233948, 0.6005270481109619, -0.42659276723861694, 0.4809221923351288, -0.14816142618656158, 0.03954607993364334, 0.5883374214172363, -0.3586444556713104, 1.0094472169876099, -0.17276529967784882, -0.33527153730392456, 0.25979170203208923, 0.48944091796875, 0.48543453216552734, 0.27054381370544434, 0.12256182730197906, 0.25268426537513733, -0.08669993281364441, -0.1858726292848587, -0.5062227845191956, 1.0526297092437744, -0.5578647255897522, -0.5964739918708801, -0.48756277561187744, -0.6100802421569824, 0.1227397546172142, 0.3957734704017639, 0.18834905326366425, 0.09006013721227646, -0.012671870179474354, 0.0939716100692749, 0.46893399953842163, 0.1369020938873291, 0.5529223084449768, 0.49929752945899963, -0.6345707178115845, -0.20812784135341644, 1.3909990787506104, -0.19004885852336884, -0.10442302376031876, 0.06716570258140564, 0.35806557536125183, -0.17318181693553925, -0.5859891772270203, -0.2627282440662384, 0.5701661705970764, -0.8659602403640747, -0.17014554142951965, -0.7146376967430115, -0.2044406682252884, -0.5706055164337158, 0.003941881470382214, -0.4575003683567047, -0.016001194715499878, -0.36123690009117126, -0.0024527672212570906, 0.2860032916069031, 0.6902775168418884, -0.4703896939754486, 0.38234207034111023, -0.55058354139328, 0.6641368865966797, 0.36871564388275146, -0.0020757452584803104, -0.012574449181556702, -0.4359596073627472, -0.4196392595767975, -0.15128597617149353, -0.0012212317669764161, -0.6911128759384155, 0.6267426013946533, 0.1431160569190979, 0.5209931135177612, 0.6343234181404114, 0.053071536123752594, 0.4115757644176483, -0.32482901215553284, 0.7455913424491882, -0.2016683965921402, -1.0334081649780273, 0.3164483308792114, -0.19105133414268494, -0.06011878699064255, 0.6114742159843445, 0.19497451186180115, -0.3494274318218231, -0.5699585676193237, -0.11127158999443054, -0.4016018509864807, 0.6587169766426086, 0.36392349004745483, -0.22806061804294586, 0.001936245011165738, 0.1803601235151291, 0.5345178246498108, 0.13882455229759216, -1.2049355506896973, 0.03632780537009239, -0.1591131091117859, -0.23343448340892792, -0.11157902330160141, 0.12643831968307495, -0.18565355241298676, -0.06760651618242264, 0.8137123584747314, -0.5009400248527527, 0.261149138212204, -0.02190394513309002, -0.4977179169654846, -0.04408447816967964, 0.03244582191109657, 0.5102900266647339, 0.18122218549251556, -0.24241496622562408, 0.43759551644325256, 0.1932075470685959, -0.5014902949333191, 0.11101584881544113, 0.19203020632266998, -0.03768414631485939, 0.19705355167388916, 0.5163422226905823, 0.6109165549278259, 0.0435870997607708, -0.6956340670585632, 0.5162037014961243, -0.20449605584144592, -0.24505078792572021, -0.6916826367378235, 0.1513097584247589, -0.10150035470724106, 0.5652143955230713, 0.3115435242652893, -0.2591780424118042, 0.4143739938735962, -0.47454318404197693, 0.3298841118812561, 0.29408854246139526, -0.3846294581890106, -0.41513970494270325, 0.7320532202720642, -0.14928710460662842, -0.5289981365203857, 0.273957759141922, -0.6180452108383179, -0.5379003882408142, 0.3711710572242737, 0.5078200101852417, 1.0589566230773926, -0.2940737009048462, 0.22479048371315002, -0.09570198506116867, 0.6576549410820007, -0.2692420184612274, 0.1808207929134369, -0.029043124988675117, -0.9252250790596008, -0.03762204572558403, -0.5026183128356934, -0.20029881596565247, 0.37608805298805237, -0.43622803688049316, 0.32756662368774414, -0.3493923842906952, 0.032709475606679916, -0.1410093903541565, -0.009589486755430698, -0.5150970220565796, -0.22547383606433868, 0.3778330683708191, 0.3560311794281006, -0.886451244354248, 1.173669457435608, 0.39766833186149597, -0.46764126420021057, -0.40208131074905396, 0.29499414563179016, 0.2961292564868927, -0.9173682928085327, 0.33059343695640564, 0.6046420335769653, -0.4980771839618683, -0.023973990231752396, -0.32954052090644836, -0.33654436469078064, 1.2604823112487793, 0.057603251188993454, -0.3851742446422577, -0.05440819263458252, 0.19521629810333252, 0.5027198791503906, -0.6334416270256042, -0.015250403434038162, 1.1681900024414062, 0.6161115169525146, -0.18742163479328156, -0.6701502799987793, 0.3540574312210083, -0.11169026046991348, -0.16303566098213196, 0.08280964195728302, -0.5544813275337219, 0.8855481147766113, 0.09673794358968735, -0.327027291059494, 0.3048849403858185, 0.8033170700073242, 0.5927286148071289, 0.4910023510456085, 0.842061460018158, 0.16297294199466705, 0.776648998260498, 0.07347644865512848, 0.7294409871101379, -0.37889447808265686, 0.1136602833867073, 1.1234220266342163, -0.36392292380332947, 0.5980374813079834, 0.34502384066581726, 0.19045501947402954, 0.5290418267250061, 0.6967571973800659, -0.19818061590194702, 0.5207489728927612, -0.008176198229193687, -0.49703869223594666, -0.3163225054740906, -0.1217179149389267, -0.19703298807144165, 0.2802472710609436, 0.6116598844528198, 0.03369595855474472, -0.13245588541030884, 0.5449737906455994, 0.036874331533908844, 0.007802310399711132, -0.10596997290849686, 0.5529890656471252, 0.336879163980484, -0.46977439522743225, 0.7911010384559631, -0.044044241309165955, 0.758303701877594, -0.3716064393520355, -0.0370524637401104, -0.3990998864173889, 0.3954237699508667, -0.2860451638698578, -0.3786710798740387, 0.1834835261106491, -0.3009994626045227, 0.06264307349920273, 0.14133597910404205, 0.9064318537712097, -0.47371453046798706, -0.23020677268505096, 0.7132759094238281, 0.6596473455429077, 0.5853567123413086, -0.36034002900123596, -0.47384968400001526, 0.2672860026359558, -0.09913807362318039, -0.12041439116001129, 0.17032355070114136, 0.562566339969635, -0.14889350533485413, 0.6377760767936707, 0.5301002264022827, 0.1816502809524536, -0.015584195964038372, 0.5058614015579224, 0.7887253165245056, -0.5060570240020752, -0.3188968002796173, -0.8439141511917114, 0.015044302679598331, 0.09827126562595367, 0.1358785778284073, 0.7570250034332275, 0.5439348816871643, 0.5846844911575317, -0.1911594122648239, 0.6841603517532349, 0.04014318063855171, 0.33868953585624695, -0.5410263538360596, 0.9517084360122681, -0.7009996175765991, 0.373274028301239, 0.12384562194347382, -0.9213564991950989, -0.39322665333747864, 0.6436036229133606, -0.15121279656887054, 0.09798941761255264, 0.9650076031684875, 1.3779139518737793, 0.017314035445451736, -0.010093639604747295, 0.6573544144630432, 0.4086250066757202, 0.595496416091919, 0.6038802862167358, 0.8820266127586365, -0.20924775302410126, 0.6549823880195618, -0.23615577816963196, -0.3667764961719513, -0.339719295501709, -0.47865015268325806, -1.411758542060852, -0.639987051486969, -0.08368539810180664, -0.445709228515625, -0.1905220001935959, 0.8897998929023743, 0.6067240238189697, -0.8604699373245239, -0.4071841239929199, -0.209022656083107, 0.19812603294849396, -0.2745717167854309, -0.28449520468711853, 0.44139161705970764, -0.3906576633453369, -0.7797275185585022, 0.8055198788642883, 0.2190595418214798, 0.045593686401844025, -0.5297854542732239, -0.33368322253227234, 0.2126438468694687, 0.041892293840646744, 0.5986301898956299, 0.22187891602516174, -0.9656098484992981, -0.3511026203632355, -0.07678361982107162, -0.1880878359079361, -0.03733189404010773, 0.8724616765975952, -0.5700555443763733, 0.1491619348526001, 0.18846498429775238, 0.5061607956886292, 0.5634757280349731, -0.5087957978248596, 0.1252298355102539, -0.6340696215629578, 0.3833172917366028, 0.32860076427459717, 0.43247756361961365, 0.24938301742076874, -0.5011700987815857, 0.602806568145752, 0.22122742235660553, -0.7530071139335632, -0.9342424273490906, 0.22476553916931152, -0.9286643266677856, -0.535719633102417, 1.2338730096817017, 0.4207322895526886, -0.36852145195007324, -0.24083231389522552, -0.2592220902442932, 0.06362631916999817, -0.48664194345474243, 0.8816499710083008, 0.6549332737922668, -0.3473309278488159, -0.26533976197242737, -0.6717008948326111, 0.6766539216041565, 0.32381370663642883, -0.91576087474823, 0.15590181946754456, 0.581108033657074, -0.005713944789022207, 0.22876513004302979, 0.7988256216049194, 0.07724153250455856, 0.28963643312454224, 0.20922645926475525, 0.2790037989616394, -0.12056450545787811, -0.6055090427398682, -0.5528647303581238, -0.007233739830553532, 0.1503656655550003, -0.17811810970306396 ]
http://arxiv.org/abs/2406.11275v1
http://arxiv.org/pdf/2406.11275v1
Self-training Large Language Models through Knowledge Detection
2024-06-17T07:25:09
2024-06-17T07:25:09
Wei Jie Yeo, Teddy Ferdinan, Przemyslaw Kazienko, Ranjan Satapathy, Erik Cambria
cs.CL
cs.CL
Large language models (LLMs) often necessitate extensive labeled datasets and training compute to achieve impressive performance across downstream tasks. This paper explores a self-training paradigm, where the LLM autonomously curates its own labels and selectively trains on unknown data samples identified through a reference-free consistency method. Empirical evaluations demonstrate significant improvements in reducing hallucination in generation across multiple subjects. Furthermore, the selective training framework mitigates catastrophic forgetting in out-of-distribution benchmarks, addressing a critical limitation in training LLMs. Our findings suggest that such an approach can substantially reduce the dependency on large labeled datasets, paving the way for more scalable and cost-effective language model training.
[ -0.2877645194530487, -0.2005981057882309, 0.6842001676559448, 0.052913110703229904, 0.06297595798969269, -0.1350088119506836, -0.30661115050315857, -0.33356964588165283, 0.1339263617992401, 0.8345608115196228, -0.5194101333618164, -0.3988107442855835, -0.5992196202278137, 0.03640599176287651, -0.45880600810050964, 0.7219035029411316, -0.050709083676338196, -0.07135960459709167, -0.3011924922466278, -0.2762605845928192, -0.40305769443511963, -0.6979023814201355, -0.5587782263755798, -0.5932784080505371, 0.533748984336853, 0.23042094707489014, 0.22251716256141663, 0.9561071991920471, 0.074618861079216, 0.23785655200481415, 0.289827823638916, 0.16361624002456665, -0.6567949056625366, 0.3812086284160614, -0.2109076976776123, -0.46252691745758057, 0.05738937109708786, -0.019017426297068596, 0.8460992574691772, 0.628423273563385, -0.10946457087993622, 0.10884649306535721, 0.06603600829839706, 0.8728988766670227, -0.7773870229721069, 0.21051132678985596, -0.9838132858276367, 0.1569495052099228, -0.24309466779232025, 0.025642596185207367, -0.5894894003868103, 0.06260433048009872, -0.19298644363880157, -0.43453317880630493, 0.36414554715156555, 0.010921306908130646, 0.4708116948604584, 0.5913372039794922, -0.2807607054710388, -0.21535556018352509, -0.7591673731803894, 0.745110809803009, -0.3889257609844208, 0.9080050587654114, 0.7264629006385803, 0.29186683893203735, -0.0722559317946434, -0.39720848202705383, -0.35959184169769287, -0.160548597574234, -0.028870200738310814, 0.010756020434200764, -0.014982755295932293, -0.11727415025234222, 0.1593681126832962, 0.2960427701473236, -0.5968011021614075, 0.3233848512172699, -0.18801367282867432, -0.3273201584815979, 0.5449537634849548, -0.12972606718540192, -0.0007164382841438055, 0.08011172711849213, -0.13223612308502197, 0.047652680426836014, -0.820282518863678, -0.5373488664627075, 0.3432132303714752, 0.261614054441452, 0.1460542529821396, 0.3624178469181061, -0.4866509437561035, 0.6981157064437866, 0.03513052687048912, -0.24948546290397644, 0.3160059452056885, 0.07698333263397217, -0.21932540833950043, 0.08683895319700241, 0.8379803895950317, -0.34777987003326416, 0.40192845463752747, -0.539404571056366, -0.4673107862472534, -0.14201241731643677, 0.12495359778404236, -0.6084672808647156, -0.6499468684196472, 0.1324281096458435, -0.27615875005722046, -0.05874171480536461, -0.44508445262908936, -0.23706741631031036, -0.5345746278762817, -0.39180687069892883, 0.3827042281627655, -0.4406072199344635, -0.20079143345355988, 0.11097531765699387, -0.00017264715279452503, -0.00453301053494215, 0.17317262291908264, -1.330141544342041, 0.10448025166988373, 0.3703386187553406, 0.5822537541389465, -0.09228512644767761, -0.2703950107097626, -0.6941566467285156, 0.5493956804275513, -0.43842199444770813, 0.9016686677932739, -0.34695014357566833, -0.08554595708847046, -0.18135809898376465, -0.19550548493862152, -0.1682368367910385, -0.9850443601608276, 0.07467306405305862, -0.6104410886764526, -0.19872502982616425, -0.3412899374961853, -0.8571246266365051, 0.01908794417977333, 0.2609100937843323, -0.649846076965332, 1.0404120683670044, 0.3196067214012146, -0.6035855412483215, 0.49041426181793213, -0.04751968756318092, -0.24495190382003784, 0.2100006490945816, -0.45554617047309875, -0.4747962951660156, 0.05789972469210625, 0.23725049197673798, 0.5946630835533142, -0.12670370936393738, 0.5230323076248169, -0.46928146481513977, -0.2412995994091034, 0.1534823477268219, -0.39966127276420593, 0.5031887292861938, 0.29403939843177795, -0.30110543966293335, -0.06318004429340363, -0.9565721154212952, -0.14775694906711578, 0.2099534571170807, -0.426281213760376, -0.5048539638519287, 0.023783501237630844, -0.3941343128681183, 0.19748294353485107, 0.16886959969997406, -0.2829376459121704, 0.17767098546028137, -0.29863032698631287, 0.13371379673480988, 0.8530920743942261, -0.17726710438728333, 0.4270099699497223, -0.2425430566072464, 0.3629266917705536, 0.11567756533622742, 0.009651766158640385, -0.15464915335178375, -0.08989651501178741, -1.2300931215286255, -0.42117956280708313, 0.1307613104581833, 0.28423011302948, -0.6304917931556702, 0.7436188459396362, -0.1251271516084671, -0.3358544707298279, -0.47576332092285156, 0.7463952898979187, 0.32583051919937134, 0.3605644404888153, 0.514492392539978, -0.12978801131248474, -0.5872033834457397, -0.9973673820495605, -0.23194821178913116, -0.13047434389591217, -0.053110018372535706, 0.00995494145900011, 0.5909563302993774, -0.38164305686950684, 1.0155103206634521, -0.2646617293357849, -0.6674168109893799, -0.3605645000934601, -0.016406625509262085, -0.11300525814294815, 0.5090632438659668, 0.28662651777267456, -0.3158012926578522, -0.44267934560775757, -0.09667758643627167, -0.9370964169502258, -0.07661768049001694, -0.21654517948627472, 0.2030557245016098, 0.13942156732082367, 0.8620808720588684, -0.2619453966617584, 0.12616999447345734, 0.5641627907752991, 0.13055419921875, 0.3093728721141815, -0.3712364137172699, -0.45051848888397217, -0.723297655582428, -0.048180077224969864, -0.09711859375238419, -0.22085575759410858, -0.5854804515838623, -0.21282704174518585, 0.3074570596218109, 0.19993247091770172, -0.06472795456647873, 0.8362890481948853, -0.7530730366706848, -0.11446855217218399, -0.3483336269855499, 0.08341840654611588, -0.18632248044013977, 0.43179383873939514, 0.35761213302612305, 0.6605331897735596, 0.6292555332183838, -0.754132091999054, 0.2163710743188858, 0.1693972945213318, -0.5389212965965271, 0.4376929700374603, -0.20984840393066406, 0.36324071884155273, -0.3852035403251648, 0.07882971316576004, -0.918855607509613, -0.2355584055185318, 0.413237065076828, -0.132353276014328, 0.3598461151123047, -0.22577263414859772, -0.5507007241249084, -0.392588347196579, 0.198121577501297, 0.3226258158683777, 0.4043721556663513, -0.8637508749961853, 0.5885496735572815, 0.35887736082077026, 0.29877015948295593, -0.5782734751701355, -0.7327607870101929, -0.1093062162399292, -0.25073766708374023, -0.13692648708820343, -0.1383262425661087, -0.0720556303858757, -0.06145786494016647, -0.2581214904785156, -0.21668866276741028, -0.17811526358127594, 0.1986878663301468, 0.16517315804958344, -0.2850905954837799, 0.09274561703205109, 0.7557143568992615, -0.1493709683418274, -0.2004816234111786, 0.13562382757663727, -0.6770570278167725, 0.6327352523803711, 0.19640646874904633, -0.5521156191825867, -0.3707803189754486, 0.15631312131881714, 0.15681922435760498, -0.27699363231658936, 0.8315536379814148, 0.4961830675601959, -0.26336127519607544, -0.6392422318458557, -0.9097830653190613, -0.24998973309993744, -0.5153133869171143, 0.3837222456932068, -0.47456610202789307, -0.8587337136268616, 0.3760368525981903, 0.006889501586556435, -0.2045961320400238, 0.2723814845085144, 0.4919298589229584, 0.014711540192365646, 0.8234239220619202, 0.613846480846405, -0.4296894073486328, 0.3890307545661926, -0.0673341453075409, 0.26587820053100586, -0.6746590733528137, -0.24544696509838104, -0.44809502363204956, 0.009101919829845428, -0.2148316204547882, -0.4589096009731293, 0.16735318303108215, -0.008357556536793709, -0.3217117488384247, 0.06735752522945404, -0.5484116673469543, 0.6209889054298401, 0.6501994132995605, 0.16745595633983612, 0.421536922454834, -0.053038615733385086, -0.009497961960732937, 0.025997336953878403, -0.8648907542228699, -0.2023724615573883, 1.2903876304626465, 0.45048484206199646, 0.8809733390808105, -0.35152366757392883, 1.0119951963424683, 0.09511438012123108, 0.5705596208572388, -0.7899086475372314, 0.4651433527469635, -0.03540432080626488, -0.7274961471557617, -0.4875214397907257, -0.6053975820541382, -0.9219282865524292, 0.21633084118366241, -0.012716610915958881, -0.6385678648948669, 0.044894278049468994, 0.37781837582588196, -0.1521717607975006, 0.4103665351867676, -0.5892468690872192, 0.7574222087860107, -0.43632417917251587, -0.012504982762038708, -0.148532435297966, -0.2557636797428131, 0.47878095507621765, -0.5869817733764648, 0.2739657163619995, -0.24174995720386505, 0.24333946406841278, 0.9297733902931213, -0.11064064502716064, 1.0205981731414795, -0.125520259141922, -0.28936371207237244, 0.20733284950256348, 0.08929263055324554, 0.6886953711509705, -0.13921767473220825, 0.08228801935911179, -0.004790475592017174, -0.3907141089439392, -0.35823825001716614, -0.45818695425987244, 0.6378348469734192, -0.7533785700798035, -0.7095769047737122, -0.3630611300468445, -0.7843539118766785, -0.5061359405517578, 0.2065933644771576, 0.29390954971313477, 0.1782543957233429, -0.04979258030653, 0.17542393505573273, 1.1826969385147095, -0.17028674483299255, 0.20890766382217407, 0.4827565848827362, -0.27327728271484375, -0.38929319381713867, 0.9053462147712708, 0.38102298974990845, 0.3623976707458496, 0.3153535723686218, 0.11497921496629715, -0.43342843651771545, -0.7324557900428772, -0.13393256068229675, 0.5288675427436829, -1.0915616750717163, -0.10685144364833832, -0.9814748764038086, -0.342302531003952, -0.5986080765724182, 0.1492418497800827, -0.6792383193969727, -0.06508032232522964, -0.33100858330726624, -0.0871007964015007, 0.3032852113246918, 0.9324211478233337, -0.13715578615665436, 0.48930320143699646, -0.5159673690795898, 0.40571272373199463, 0.7155454754829407, 0.530938446521759, 0.0997229591012001, -0.6222469210624695, -0.5185204148292542, -0.1394190788269043, -0.04984015226364136, -0.5501152873039246, 0.4199415445327759, 0.17905807495117188, 0.8559649586677551, 0.5732818245887756, 0.08171501755714417, 0.4607687294483185, -0.3790205717086792, 0.24386928975582123, 0.18629539012908936, -0.8306958079338074, 0.5305758118629456, -0.34036126732826233, 0.5815439820289612, 0.5819023251533508, 0.5252783894538879, -0.5875471830368042, -0.5813823938369751, -0.45268088579177856, -0.5415849685668945, 0.63694828748703, -0.1391959935426712, 0.006330183707177639, -0.1758524775505066, 0.42823174595832825, 0.1168200820684433, 0.12025154381990433, -1.0663926601409912, -0.3326951861381531, -0.012175933457911015, -0.23879967629909515, -0.2654114067554474, -0.362506240606308, -0.18217039108276367, -0.29460787773132324, 0.7466640472412109, -0.2852236330509186, 0.1346321403980255, 0.09102271497249603, -0.3708254098892212, 0.031669218093156815, 0.09575817734003067, 0.25232431292533875, 0.48632025718688965, 0.025210503488779068, 0.3858799934387207, 0.1720709353685379, -0.21285805106163025, 0.3630070984363556, -0.21760062873363495, -0.24438567459583282, -0.148071750998497, 0.19204504787921906, 0.8618944883346558, 0.13258224725723267, -0.5965560674667358, 0.30563169717788696, 0.22645309567451477, -0.2567058503627777, -0.5328080058097839, 0.3430483341217041, 0.28306588530540466, 0.23357892036437988, 0.2869793176651001, -0.09591466933488846, 0.04420238733291626, -0.32269325852394104, 0.3423837125301361, 0.530115008354187, -0.5699085593223572, -0.049671582877635956, 0.6694278120994568, -0.10962426662445068, 0.020456058904528618, 0.7391988039016724, -0.2851293683052063, -0.43058425188064575, 0.3250402510166168, 0.6005530953407288, 0.8188711404800415, -0.441500186920166, 0.2104959785938263, 0.24307698011398315, 0.4719644784927368, -0.5203245878219604, -0.11283775418996811, -0.2159731388092041, -1.1096407175064087, -0.3245929479598999, -0.6483403444290161, -0.17489604651927948, 0.6570390462875366, -0.48872649669647217, 0.13281479477882385, -0.5167489647865295, 0.15771324932575226, -0.231711283326149, -0.38551652431488037, -0.644175112247467, 0.39274755120277405, 0.35917308926582336, 0.6596847176551819, -0.964231550693512, 1.3184609413146973, 0.18421320617198944, -0.11493785679340363, -0.7331568598747253, -0.1442219614982605, -0.11031429469585419, -0.9678181409835815, 0.9134625196456909, 0.32992860674858093, -0.10192304849624634, 0.11565712094306946, -0.4620049297809601, -1.0431621074676514, 0.6758809685707092, 0.4975833296775818, -0.6961093544960022, 0.16559356451034546, 0.22485674917697906, 0.38672858476638794, -0.33145633339881897, 0.01733282022178173, 0.8614846467971802, 0.36695727705955505, -0.011320301331579685, -0.7581611275672913, -0.09015463292598724, 0.12166775017976761, -0.12721551954746246, 0.20638605952262878, -0.7105061411857605, 0.5716389417648315, 0.011855757795274258, -0.07159608602523804, -0.19245563447475433, 0.7984188795089722, 0.37618568539619446, 0.055311497300863266, 0.5154581069946289, 0.6721190214157104, 0.9888541102409363, -0.0037936996668577194, 0.631047248840332, -0.15062043070793152, 0.28932633996009827, 1.3972928524017334, -0.3667508363723755, 0.6266127824783325, 0.4443838596343994, 0.00042725526145659387, 0.14234395325183868, 0.4912479519844055, -0.13374365866184235, 0.6080495119094849, 0.2960672080516815, -0.32051950693130493, -0.7622879147529602, 0.003965979442000389, -0.3347097933292389, 0.4706786572933197, 0.27426549792289734, -0.3974401652812958, -0.28022533655166626, 0.25361332297325134, -0.015782564878463745, 0.10935278236865997, -0.21549507975578308, 0.815015971660614, 0.0499606616795063, -0.6060152053833008, 0.8913363218307495, -0.408573716878891, 0.5602436661720276, -0.6953978538513184, 0.3008131980895996, -0.3086855113506317, 0.35538285970687866, -0.009712960571050644, -0.35291633009910583, 0.2199394255876541, -0.38004574179649353, -0.1866706758737564, -0.5291299223899841, 0.7884659171104431, -0.6551334261894226, -0.27612724900245667, 0.5615628957748413, 0.5702084302902222, 0.2406260371208191, -0.39456528425216675, -0.43476226925849915, 0.021476205438375473, -0.021065281704068184, -0.3380683660507202, 0.6143447756767273, 0.5416473746299744, -0.0064653800800442696, 1.187576174736023, 0.35475510358810425, 0.11120165139436722, 0.17800600826740265, 0.15313880145549774, 0.8104381561279297, -0.6116982698440552, -0.5072044730186462, -0.6779890656471252, -0.054366953670978546, 0.06192710995674133, -0.07001575827598572, 0.7249895930290222, 0.607629656791687, 1.0600539445877075, -0.2599934935569763, 1.0396745204925537, 0.41054773330688477, 0.5484091639518738, -0.5642251968383789, 0.8107393980026245, -0.3937230408191681, 0.4109397232532501, 0.18671393394470215, -0.7754941582679749, -0.364400714635849, 0.665606677532196, -0.5044461488723755, 0.25391995906829834, 0.6448060870170593, 0.6639794111251831, 0.05438733100891113, -0.20747528970241547, 0.6256909966468811, 0.18506720662117004, 0.14043967425823212, 0.5579941868782043, 1.0094562768936157, -0.23153887689113617, 0.48654893040657043, -0.38252440094947815, 0.021553775295615196, 0.022764593362808228, -0.6333443522453308, -1.396775722503662, -0.6323676109313965, -0.3324567377567291, -0.15118424594402313, 0.030627094209194183, 0.7483989000320435, 0.9071037173271179, -1.0044900178909302, -0.3703947961330414, -0.21460571885108948, 0.1012011393904686, -0.1074109598994255, -0.14728188514709473, 0.09442300349473953, -0.8043563961982727, -0.48081550002098083, 0.6843070387840271, 0.4087376296520233, 0.2944020628929138, -0.5301414132118225, -0.06929625570774078, -0.05141277238726616, -0.12673115730285645, 0.4498696029186249, 0.32565921545028687, -0.6029424667358398, -0.4181694984436035, -0.1656225025653839, -0.10121740400791168, 0.17909590899944305, 0.8138628005981445, -1.0284430980682373, 0.5338541865348816, 0.1861078441143036, 0.7055495381355286, 0.6605766415596008, -0.3786972463130951, 0.5047059059143066, -0.7866020202636719, 0.30030229687690735, 0.1572975069284439, 0.3105410933494568, 0.4282931387424469, -0.5121164321899414, 0.4922875761985779, 0.3203120231628418, -0.6289485692977905, -0.7123435735702515, 0.2929091453552246, -0.5433838963508606, -0.43719473481178284, 1.2038013935089111, -0.06865652650594711, -0.135793998837471, -0.5370064377784729, 0.19064666330814362, 0.18437692523002625, -0.18233485519886017, 0.9411674737930298, 0.7482574582099915, 0.0031354122329503298, -0.3072492480278015, -0.5616351366043091, 0.611355185508728, 0.5174155235290527, -0.7832585573196411, 0.39642953872680664, 0.45993414521217346, 0.5058895945549011, -0.12402631342411041, 0.9057927131652832, 0.2803467810153961, -0.14185328781604767, -0.11068836599588394, 0.35879507660865784, 0.047319114208221436, -0.6773064136505127, -0.41111016273498535, 0.16495640575885773, 0.22848084568977356, 0.090431809425354 ]
http://arxiv.org/abs/2406.11274v1
http://arxiv.org/pdf/2406.11274v1
Skip-Layer Attention: Bridging Abstract and Detailed Dependencies in Transformers
2024-06-17T07:24:38
2024-06-17T07:24:38
Qian Chen, Wen Wang, Qinglin Zhang, Siqi Zheng, Shiliang Zhang, Chong Deng, Hai Yu, Jiaqing Liu, Yukun Ma, Chong Zhang
cs.CL
cs.CL
The Transformer architecture has significantly advanced deep learning, particularly in natural language processing, by effectively managing long-range dependencies. However, as the demand for understanding complex relationships grows, refining the Transformer's architecture becomes critical. This paper introduces Skip-Layer Attention (SLA) to enhance Transformer models by enabling direct attention between non-adjacent layers. This method improves the model's ability to capture dependencies between high-level abstract features and low-level details. By facilitating direct attention between these diverse feature levels, our approach overcomes the limitations of current Transformers, which often rely on suboptimal intra-layer attention. Our implementation extends the Transformer's functionality by enabling queries in a given layer to interact with keys and values from both the current layer and one preceding layer, thus enhancing the diversity of multi-head attention without additional computational burden. Extensive experiments demonstrate that our enhanced Transformer model achieves superior performance in language modeling tasks, highlighting the effectiveness of our skip-layer attention mechanism.
[ -0.6270033717155457, -0.5902496576309204, 0.5700948238372803, 0.6724516749382019, 0.21453037858009338, 0.22386939823627472, 0.21333083510398865, -0.7898471355438232, 0.04323878884315491, 0.6812781691551208, -0.6525282859802246, -0.04517499729990959, -0.6210987567901611, -0.24455171823501587, -0.3928731381893158, 0.9113976955413818, 0.059449490159749985, -0.5597161650657654, -0.268265038728714, 0.10887668281793594, -0.4241739511489868, -0.2427956908941269, -0.9255598783493042, -0.45182615518569946, 0.711242139339447, 0.2227090299129486, 0.9812344312667847, 0.6683363318443298, 0.5413287281990051, 0.2969048023223877, -0.4797203838825226, 0.03747672960162163, -0.3769451677799225, 0.22289994359016418, -0.43314698338508606, -0.2265060991048813, -0.7170981764793396, -0.20152783393859863, 0.47022199630737305, 0.9298776984214783, 0.37241777777671814, 0.2224263995885849, 0.1767982542514801, 0.9298551678657532, -0.8454716205596924, 0.25569331645965576, -0.5404123663902283, 0.24357064068317413, 0.10080430656671524, -0.05148398503661156, -0.6020523309707642, 0.11733844876289368, 0.5834245681762695, -0.44282621145248413, 0.39966005086898804, -0.29925957322120667, 0.9115407466888428, 0.6138338446617126, -0.305730402469635, 0.2760648727416992, -1.1112830638885498, 0.5144273042678833, -0.3435644507408142, 0.6123422980308533, 0.3685162365436554, 0.0683804526925087, 0.35263821482658386, -0.8493510484695435, -0.24768148362636566, -0.22653307020664215, -0.4945593476295471, 0.2065914273262024, -0.3263266980648041, 0.17735655605793, 0.3494769036769867, 0.37733593583106995, -0.12359825521707535, -0.021683260798454285, -0.46285903453826904, -0.1792631596326828, 0.17099414765834808, 0.16924813389778137, 0.2971513569355011, 0.13235712051391602, -0.35197100043296814, 0.1294134557247162, -0.6077919602394104, 0.1748352348804474, 0.14652597904205322, 0.35943126678466797, -0.14337752759456635, 0.3157522678375244, -0.17154516279697418, 0.5673881769180298, 0.4293056130409241, 0.3715287744998932, 0.2900947332382202, -0.36579927802085876, -0.31569555401802063, 0.057134877890348434, 0.3413904905319214, -0.1106833890080452, 0.1635093241930008, -0.4594845175743103, -0.1488068699836731, -0.10121797025203705, 0.5518584251403809, -0.6927969455718994, -0.2929535210132599, 0.33202987909317017, -0.29440945386886597, -0.20053374767303467, -0.1901056468486786, -0.8235793709754944, -0.16473804414272308, -0.4699317216873169, 0.144953653216362, -0.20991559326648712, -0.08800488710403442, 0.0944000706076622, 0.1677476018667221, 0.3124251067638397, 0.13449066877365112, -0.9842551350593567, 0.46742162108421326, 0.550387442111969, 0.8198001980781555, -0.15613065659999847, -0.45509207248687744, -0.7212470173835754, 0.6512746214866638, -0.1077553778886795, 0.8478938937187195, -0.7443190813064575, 0.05519729107618332, -0.26269862055778503, -0.058261506259441376, -0.14131568372249603, -0.46794015169143677, 0.677232563495636, -0.7024560570716858, 0.1893860399723053, 0.14342716336250305, -0.09852946549654007, -0.2616160809993744, 0.10638497024774551, -0.9641692638397217, 1.0866676568984985, 0.22064898908138275, -0.8635647892951965, -0.11895821988582611, -0.8332791328430176, -0.9130228757858276, 0.057071078568696976, 0.10253579169511795, -0.40347057580947876, 0.13049307465553284, 0.6938779950141907, 0.3050806224346161, -0.1493748277425766, 0.08304865658283234, 0.01923663727939129, -0.2557694911956787, -0.12548010051250458, -0.2836476266384125, 0.41398003697395325, -0.19751515984535217, -0.5372702479362488, 0.27152785658836365, -0.9710003137588501, -0.35532963275909424, 0.07923054695129395, -0.11680106818675995, -0.28586241602897644, -0.06849449127912521, 0.18063750863075256, 0.5853862166404724, 0.2722366452217102, -0.17352864146232605, -0.14389368891716003, -0.6813765168190002, 0.3705110549926758, 0.7130638957023621, -0.021078400313854218, 0.9677255153656006, 0.04281676188111305, 0.6511570811271667, 0.4447448253631592, 0.18501435220241547, -0.5456637740135193, -0.21000513434410095, -1.162283182144165, -0.07162849605083466, 0.26867935061454773, 0.6174635291099548, -0.40649595856666565, 0.592026948928833, -0.12812009453773499, -0.26352640986442566, -0.8289434313774109, 0.0659634992480278, 0.4111674726009369, 0.6064928770065308, 0.5505818128585815, -0.17696404457092285, -0.6977196335792542, -1.1123055219650269, -0.3927970230579376, 0.1887744963169098, -0.16580833494663239, 0.33755695819854736, 0.1705828756093979, -0.365501344203949, 1.0364468097686768, -0.4524247944355011, -0.6618554592132568, -0.5579720139503479, -0.19190171360969543, 0.04685012623667717, 0.30917835235595703, 0.21448250114917755, -0.7013189792633057, -0.4863106310367584, 0.28108835220336914, -0.30667001008987427, -0.02730340138077736, -0.3054029047489166, -0.2921798527240753, -0.1006418839097023, 0.505778431892395, -0.8402299284934998, 0.2976427972316742, 0.27264541387557983, -0.2935169041156769, 0.041781309992074966, 0.16753830015659332, -0.31557247042655945, -0.6931058168411255, 0.30069488286972046, 0.03561309352517128, -0.26736852526664734, -0.9992057085037231, 0.09449271857738495, 0.03805317357182503, -0.04041529819369316, -0.4870137870311737, 0.519481897354126, -0.3871878981590271, -0.1696350872516632, -0.31520745158195496, 0.1199825331568718, 0.26173684000968933, 0.7553988695144653, 0.15632422268390656, 0.5953191518783569, 0.7702556848526001, -0.6692088842391968, -0.1327003389596939, 0.28865858912467957, 0.09671830385923386, 0.17725995182991028, -0.9316752552986145, 0.5015754103660583, -0.34142228960990906, 0.17484091222286224, -0.9435667991638184, -0.1003732904791832, 0.2637645900249481, -0.16764995455741882, 0.3010920584201813, -0.18410751223564148, -0.2277638018131256, -0.17135268449783325, -0.21043537557125092, 0.4351120889186859, 0.34489989280700684, -0.5529635548591614, 1.2590683698654175, 0.3529965877532959, -0.22438278794288635, -0.7525537014007568, -0.8029650449752808, 0.036117374897003174, 0.17657598853111267, -0.6462847590446472, 0.49784359335899353, 0.1421864628791809, -0.0658799335360527, -0.03033294528722763, -0.3908776640892029, -0.19455887377262115, -0.03711654990911484, 0.24969658255577087, 0.19844263792037964, -0.29385629296302795, -0.12067669630050659, 0.22955003380775452, -0.4857045114040375, 0.08283860236406326, -0.2699475884437561, 0.7665666937828064, 0.13261999189853668, -0.14576222002506256, -0.5725534558296204, 0.3742832541465759, 0.6589835286140442, -0.6535114645957947, 0.5106790661811829, 0.5854089856147766, -0.3179062008857727, -0.2779475748538971, -0.5805887579917908, -0.3166392147541046, -0.5771067142486572, 0.4934028089046478, -0.4134865999221802, -0.8854590654373169, 0.5624679327011108, 0.20128078758716583, 0.06875769048929214, 0.3152419924736023, 0.2728389501571655, 0.021394986659288406, 1.0111786127090454, 0.6990442872047424, -0.414021372795105, 0.5459919571876526, -0.005639661103487015, 0.38011130690574646, -0.976906955242157, -0.27926862239837646, -0.4894818663597107, -0.5265915393829346, -0.12694917619228363, -0.40293365716934204, -0.06451524794101715, -0.12081795930862427, -0.21554946899414062, 0.31435805559158325, -0.5350469946861267, 0.8470675945281982, 0.3111352026462555, 0.10219424217939377, 0.29144665598869324, -0.04855559393763542, 0.2174152284860611, -0.1645916998386383, -0.41070762276649475, -0.18962810933589935, 0.5318328738212585, 0.7706960439682007, 0.745242178440094, -0.21455425024032593, 0.2736751139163971, 0.04614373296499252, -0.03301091864705086, -0.7735007405281067, 0.4989541172981262, -0.23420007526874542, -0.2804819941520691, -0.11726263910531998, -0.2934248745441437, -0.6850103139877319, 0.4114108979701996, 0.38670840859413147, -0.5968425273895264, 0.20949143171310425, 0.2069341391324997, -0.4081425368785858, 0.14107835292816162, -0.7204406261444092, 0.7306259274482727, 0.09369806200265884, -0.2592274844646454, -0.021837005391716957, -0.8885964751243591, 0.3577879071235657, 0.19709265232086182, 0.031125014647841454, 0.15864549577236176, -0.2125556468963623, 0.293485552072525, 0.2486506551504135, 1.0390756130218506, 0.02218310534954071, -0.32177138328552246, -0.0623432919383049, 0.09278499335050583, 0.6601821184158325, -0.08742059767246246, 0.40711885690689087, -0.17758871614933014, -0.8247197866439819, -0.4067600965499878, -0.5390313863754272, 0.7737141847610474, -0.6654308438301086, -0.5842581987380981, -0.13018923997879028, -0.8676491379737854, -0.35951316356658936, 0.2890211343765259, -0.05373075604438782, 0.11320411413908005, 0.09676523506641388, -0.007621116004884243, 1.017906904220581, -0.04634559154510498, 0.6372858285903931, 0.2714042663574219, -0.1027396023273468, -0.05331183224916458, 0.7344719171524048, -0.023024048656225204, 0.3789292275905609, 0.8097720742225647, -0.02188153564929962, -0.25426870584487915, -0.46118173003196716, -0.08591806888580322, 0.12461230903863907, -0.78572678565979, -0.003634984605014324, -1.4698495864868164, -0.7309393882751465, -0.43292829394340515, 0.05250844359397888, -0.4794616103172302, -0.40035587549209595, -0.29426243901252747, -0.4153759777545929, 0.11402075737714767, 0.7130581736564636, 0.4710383117198944, 0.38766637444496155, -0.8476153612136841, 0.5402514338493347, 0.39733797311782837, 0.4865933060646057, 0.5376509428024292, -0.653372585773468, -0.23252476751804352, -0.6127038598060608, -0.3584974408149719, -0.5023064613342285, 0.23090766370296478, 0.14028190076351166, 0.614296555519104, 0.3435157239437103, -0.22349247336387634, 0.6646237969398499, -0.6619076728820801, 0.48142603039741516, -0.08905947208404541, -1.2523784637451172, 0.7008059620857239, -0.15413415431976318, 0.8255694508552551, 0.533775806427002, 0.25518062710762024, -0.30094149708747864, -0.8375450968742371, -0.5180442929267883, -1.1977570056915283, 1.0352672338485718, 0.3609980344772339, 0.26529964804649353, 0.3270561099052429, 0.22016136348247528, -0.02130145952105522, -0.1900629848241806, -1.131346344947815, -0.33325889706611633, -0.10119136422872543, -0.05005143955349922, 0.21314206719398499, -0.14661844074726105, 0.05058136582374573, -0.20576554536819458, 0.5502297878265381, 0.033232737332582474, -0.013865937478840351, 0.15420794486999512, -0.32777678966522217, -0.06465794146060944, 0.23369476199150085, 0.5945702195167542, 0.5898623466491699, -0.05515516549348831, 0.39496710896492004, 0.19166672229766846, -0.6190699338912964, -0.10310997068881989, 0.18117718398571014, -0.42586255073547363, 0.0688515231013298, 0.3336239457130432, 1.0484539270401, 0.39475420117378235, -0.40274184942245483, 0.11597232520580292, 0.029198676347732544, 0.06347665935754776, -0.07020960003137589, 0.009643636643886566, 0.47521018981933594, 0.26323622465133667, 0.4855101704597473, 0.5266755223274231, 0.2788558006286621, -0.13580437004566193, 0.428086519241333, 0.14306601881980896, -0.775617778301239, -0.36647704243659973, 0.5847693681716919, 0.2175569236278534, -0.41062238812446594, 0.25648215413093567, 0.3634963929653168, -0.4480834901332855, 0.7308012247085571, 0.5571116805076599, 1.0057510137557983, -0.4364612102508545, 0.06521425396203995, 0.22118434309959412, 0.6012322306632996, 0.11377402395009995, -0.03283708542585373, -0.12736445665359497, -0.4020598530769348, -0.6218312978744507, -0.3457195460796356, -0.26725539565086365, 0.2343289852142334, -0.6280364990234375, 0.29191744327545166, -0.6246657967567444, 0.18737401068210602, 0.10508832335472107, -0.524930477142334, -0.7733082175254822, 0.3130706548690796, 0.16118896007537842, 0.6271807551383972, -0.7156609892845154, 0.7589566111564636, 0.48893967270851135, -0.5292205214500427, -0.4648790657520294, 0.34506550431251526, -0.5923864841461182, -0.49961692094802856, 0.7222428917884827, 0.5105578899383545, -0.44902023673057556, 0.01423502154648304, -0.23867900669574738, -1.0094656944274902, 0.8432095646858215, 0.42607226967811584, -0.7047484517097473, -0.27025970816612244, 0.30683475732803345, 0.571788489818573, -0.5122097730636597, 0.5216239094734192, 0.8255821466445923, 0.4081907868385315, 0.14072872698307037, -0.5343303680419922, 0.11417306214570999, -0.14976593852043152, 0.10634859651327133, 0.3118783235549927, -0.588247537612915, 0.7198248505592346, -0.1337127983570099, -0.2890005111694336, -0.27089160680770874, 1.0018812417984009, 0.04834380000829697, 0.1698472797870636, 0.7297130823135376, 0.4559941589832306, 0.16341716051101685, 0.008452491834759712, 0.9073451161384583, -0.3134863078594208, 0.20325732231140137, 1.4711476564407349, -0.29254546761512756, 0.7762263417243958, 0.6511005759239197, -0.11761362850666046, 0.4281148910522461, 0.26375266909599304, 0.12077481299638748, 0.6592182517051697, -0.1269860416650772, -0.11575014889240265, -0.1377856731414795, -0.20725145936012268, -0.29266732931137085, 0.2638305723667145, 0.23115991055965424, -0.6542723178863525, -0.21496015787124634, -0.05484914034605026, -0.2200830727815628, -0.03322625532746315, -0.34926125407218933, 0.917768120765686, -0.011223937384784222, -0.613312304019928, 0.175809845328331, -0.2946370840072632, 0.7144185304641724, -0.5885410904884338, -0.03481787443161011, -0.4369467794895172, 0.26062044501304626, -0.38944920897483826, -0.6677998900413513, 0.5287126302719116, -0.17382094264030457, -0.6579665541648865, -0.2386574149131775, 0.9282006621360779, -0.45731183886528015, -0.5325081944465637, 0.7902921438217163, 0.3555484116077423, -0.3178674876689911, -0.18162572383880615, -0.5483584403991699, 0.017479337751865387, -0.08194305747747421, -0.4900669455528259, 0.3853870928287506, 0.19366812705993652, 0.1895342916250229, 0.6398643851280212, 0.5492669939994812, -0.22836308181285858, 0.21367698907852173, 0.6027135252952576, 1.0033966302871704, -0.7332899570465088, -0.6724011301994324, -0.8791914582252502, 0.7616325616836548, -0.164278045296669, -0.18531034886837006, 0.34641194343566895, 0.4732951819896698, 0.7177349328994751, -0.2692912220954895, 0.826009213924408, 0.2894499897956848, 0.467830091714859, -0.287235826253891, 0.649728000164032, -0.18470196425914764, 0.39000439643859863, -0.21079693734645844, -1.1970082521438599, -0.5227916240692139, 0.4438510239124298, -0.05189036577939987, 0.12574505805969238, 0.7065675854682922, 0.4759646952152252, -0.49452176690101624, 0.011401952244341373, 0.13349755108356476, 0.4042099118232727, 0.5009250640869141, 0.682749330997467, 0.9612072110176086, -0.4206196665763855, 0.6811214089393616, -0.443781316280365, -0.0007340041920542717, 0.2950664162635803, -0.6672846078872681, -1.145605206489563, -0.2085982710123062, -0.3372992277145386, -0.23098954558372498, -0.2192620486021042, 0.5814307332038879, 0.5821799635887146, -0.9060895442962646, 0.006929452996701002, -0.25585004687309265, 0.17473407089710236, -0.37448838353157043, -0.3393940329551697, 0.49412304162979126, -0.6260204911231995, -0.9166530966758728, 0.4535227119922638, 0.7817285656929016, 0.03600148856639862, -0.514149010181427, 0.2571146786212921, -0.19677135348320007, 0.08355932682752609, 0.7296767830848694, 0.07930038124322891, -0.8857860565185547, -0.1574987918138504, 0.15338656306266785, -0.16786815226078033, 0.3362196981906891, 1.0423060655593872, -0.9442450404167175, -0.03058227337896824, 0.646350622177124, 1.0727442502975464, 0.6898964643478394, -0.17542222142219543, 0.527122437953949, -1.018308401107788, 0.3895409405231476, 0.46708837151527405, 0.21314851939678192, 0.43794119358062744, -0.6036047339439392, 0.3936094045639038, -0.11985725909471512, -0.3333476781845093, -0.5874630808830261, 0.4038277864456177, -1.186678409576416, 0.03021129034459591, 0.879657506942749, -0.1642495095729828, -0.07524155080318451, -0.5285228490829468, -0.4049733877182007, -0.044855255633592606, -0.4990446865558624, 0.6764883399009705, 0.4887737035751343, 0.001074723550118506, -0.8539451956748962, -0.4825143814086914, 0.39595964550971985, 0.8157936930656433, -0.97590571641922, 0.31881558895111084, -0.02304733544588089, -0.09235571324825287, 0.4037529230117798, 0.3513667583465576, -0.01563798449933529, 0.2600443363189697, -0.2774878740310669, -0.2218800187110901, 0.00812755711376667, -0.6846257448196411, -0.4303778409957886, 0.5231410264968872, -0.32749179005622864, -0.1391163468360901 ]
http://arxiv.org/abs/2406.11267v1
http://arxiv.org/pdf/2406.11267v1
Mitigating Large Language Model Hallucination with Faithful Finetuning
2024-06-17T07:16:07
2024-06-17T07:16:07
Minda Hu, Bowei He, Yufei Wang, Liangyou Li, Chen Ma, Irwin King
cs.CL
cs.CL
Large language models (LLMs) have demonstrated remarkable performance on various natural language processing tasks. However, they are prone to generating fluent yet untruthful responses, known as "hallucinations". Hallucinations can lead to the spread of misinformation and cause harm in critical applications. Mitigating hallucinations is challenging as they arise from factors such as noisy data, model overconfidence, lack of knowledge, and the generation process itself. Recent efforts have attempted to address this issue through representation editing and decoding algorithms, reducing hallucinations without major structural changes or retraining. However, these approaches either implicitly edit LLMs' behavior in latent space or suppress the tendency to output unfaithful results during decoding instead of explicitly modeling on hallucination. In this work, we introduce Faithful Finetuning (F2), a novel method that explicitly models the process of faithful question answering through carefully designed loss functions during fine-tuning. We conduct extensive experiments on popular datasets and demonstrate that F2 achieves significant improvements over vanilla models and baselines.
[ -0.3626333177089691, -1.221577525138855, 0.5669199824333191, 0.04004122316837311, -0.28524670004844666, -0.2766803205013275, -0.3885480463504791, -0.29742106795310974, -0.03865711763501167, 0.8976832032203674, -0.6481497287750244, -0.2592417895793915, -0.3788617253303528, 0.005798151716589928, -0.3332769274711609, 0.946587085723877, -0.05622103437781334, 0.328056663274765, -0.28440061211586, 0.0024374641943722963, -0.5689323544502258, -0.40926241874694824, -0.6229121685028076, -0.43264245986938477, 0.28529900312423706, 0.39932939410209656, 0.9730017185211182, 0.42210105061531067, 0.3790310323238373, 0.2062792032957077, -0.03011428937315941, 0.5196352601051331, -1.0157445669174194, 0.3824595510959625, -0.09548807889223099, -0.6884199976921082, -0.14596234261989594, -0.1663869470357895, 0.5417981147766113, 0.9421128630638123, -0.21966026723384857, -0.047539982944726944, 0.49461495876312256, 0.6121552586555481, -0.4678577482700348, 0.13632093369960785, -1.0809191465377808, -0.013528592884540558, -0.007955051027238369, -0.4365435242652893, -0.5165531039237976, -0.38385313749313354, -0.13778215646743774, -0.6608276963233948, 0.49657300114631653, -0.1051851138472557, 0.8022114634513855, 0.6831129789352417, 0.15264324843883514, -0.2935745120048523, -0.88113933801651, 0.7438073754310608, -0.7620190978050232, 0.5105694532394409, 0.7141534686088562, 0.08519178628921509, -0.4383884072303772, -0.42846643924713135, -0.4502105116844177, -0.21153703331947327, -0.07357462495565414, -0.20077238976955414, -0.16678999364376068, 0.11412517726421356, 0.30397847294807434, 0.2512969374656677, -0.5498482584953308, 0.008437040261924267, -0.2780069410800934, -0.549079954624176, 0.47195401787757874, 0.1930394470691681, -0.02088385634124279, 0.01018291525542736, 0.0005189182702451944, -0.04089704900979996, -0.6595782041549683, -0.21395200490951538, 0.35305091738700867, 0.3158930540084839, 0.32442745566368103, 0.796366274356842, -0.13993118703365326, 0.3492893576622009, 0.1682339459657669, 0.2566041350364685, -0.038094982504844666, -0.10084640979766846, -0.38758420944213867, 0.11626118421554565, 0.4292602837085724, 0.5852274894714355, 0.5855648517608643, -0.5862590670585632, -0.25857672095298767, 0.3134322166442871, 0.33545371890068054, -0.9093107581138611, -0.33002573251724243, 0.3518563508987427, -0.41602835059165955, -0.21710672974586487, -0.015491520054638386, -0.839392364025116, -0.6495522856712341, -0.38947737216949463, 0.4481600224971771, -0.5901565551757812, -0.03990180790424347, 0.30537766218185425, 0.12491493672132492, 0.28792253136634827, 0.4887241721153259, -0.7611298561096191, 0.5823976397514343, 0.8611863851547241, 0.8247193694114685, -0.027133651077747345, -0.19014409184455872, -1.0105308294296265, 0.09529773145914078, -0.4810207486152649, 0.6097791790962219, -0.505943238735199, -0.08021955192089081, -0.013470422476530075, 0.04471534863114357, 0.23047848045825958, -0.7098414301872253, 0.4922926425933838, -0.5033425688743591, 0.05737860128283501, -0.16087377071380615, -0.53742516040802, -0.13466264307498932, 0.1898578554391861, -0.5535097718238831, 0.8167612552642822, -0.14298389852046967, -0.6123734712600708, -0.04405869543552399, -0.17834942042827606, -0.4026409089565277, -0.29456332325935364, -0.05843399092555046, -0.581770122051239, 0.5349403619766235, 0.28641146421432495, 0.5856984853744507, -0.092662513256073, 0.3399100601673126, -0.33574482798576355, -0.5169472694396973, 0.30016568303108215, -0.637872040271759, 0.3466402292251587, 0.282758504152298, -0.42503032088279724, 0.17648957669734955, -0.6220609545707703, -0.06192044913768768, 0.2215396612882614, -0.0034414157271385193, -0.5873014330863953, -0.03321017324924469, 0.09466822445392609, -0.09815208613872528, 0.0035038639325648546, -0.34084391593933105, 0.18166455626487732, -0.7594374418258667, 0.2583916485309601, 0.7183142900466919, 0.07654157280921936, 0.45339107513427734, -0.48023292422294617, 0.2355572134256363, 0.08132781088352203, 0.06541793793439865, 0.009816236793994904, -0.2988032102584839, -0.9217966794967651, 0.24075408279895782, 0.07401178777217865, 0.5194805860519409, -0.8424460291862488, 0.14610397815704346, -0.09466837346553802, -0.33945614099502563, -0.7645667195320129, 0.31754323840141296, 0.2949916124343872, 0.37676697969436646, 0.5766453742980957, -0.05630633234977722, -0.45870766043663025, -0.816709041595459, -0.30834418535232544, 0.11901288479566574, -0.17333896458148956, 0.05407056212425232, 0.22955696284770966, -0.47480154037475586, 0.5896248817443848, -0.5771730542182922, -0.6397551894187927, -0.09731171280145645, 0.26617854833602905, -0.24395596981048584, 0.6277968883514404, 0.3124368488788605, -0.6220705509185791, 0.004833790007978678, -0.2683880925178528, -0.5399600863456726, -0.12378601729869843, -0.5643611550331116, -0.16622819006443024, 0.6010074615478516, 0.7218612432479858, -0.7014081478118896, 0.36587244272232056, 0.32870426774024963, -0.3438015580177307, 0.4807948172092438, -0.17964817583560944, -0.0015732237370684743, -0.8622205853462219, -0.10302062332630157, -0.2936106324195862, -0.23752033710479736, -0.5596072673797607, 0.050952255725860596, -0.10809008777141571, 0.14405487477779388, -0.08048399537801743, 0.34666940569877625, -0.4144185483455658, 0.1973675787448883, -0.27082210779190063, 0.018880773335695267, 0.04677394777536392, 0.49342936277389526, -0.05841958895325661, 0.6541867852210999, 0.39763328433036804, -0.4329405725002289, 0.006972954608500004, 0.421301931142807, -0.10236275941133499, 0.09833386540412903, -0.5939704179763794, 0.3187633752822876, -0.44906190037727356, -0.0013279166305437684, -1.1601457595825195, -0.2962466776371002, 0.32515159249305725, -0.47523435950279236, 0.25707367062568665, -0.00012455899559427053, -0.5561567544937134, 0.04152138531208038, -0.5043478012084961, 0.13228629529476166, 0.35232388973236084, -0.35588109493255615, 0.4667787253856659, 0.07755206525325775, -0.19083093106746674, -0.2390826940536499, -1.109006404876709, 0.05793337523937225, -0.11081106215715408, -0.5156759023666382, 0.353461891412735, -0.21370364725589752, -0.24891623854637146, -0.09247517585754395, -0.3613457679748535, -0.14117692410945892, 0.13156063854694366, 0.19605843722820282, 0.0823630541563034, -0.2781596779823303, 0.1548798829317093, 0.2726285457611084, -0.13652656972408295, 0.3052034378051758, -0.09736562520265579, 0.8822548389434814, -0.10063605010509491, -0.20294427871704102, -0.6545460820198059, 0.44535961747169495, 0.6343975067138672, -0.27980273962020874, 0.8759469389915466, 0.5975287556648254, -0.7809001207351685, -0.3966854512691498, -0.8690150380134583, -0.7327350378036499, -0.4549708962440491, 0.41638344526290894, -0.3523477613925934, -0.9737354516983032, 0.7184277772903442, 0.08141256868839264, 0.05286816135048866, 0.2788689434528351, 0.44109994173049927, 0.07546393573284149, 1.0462054014205933, 0.396198570728302, 0.2054039090871811, 0.21378621459007263, -0.15946665406227112, 0.12776048481464386, -0.6158998608589172, -0.29238343238830566, -0.560286819934845, -0.08863645046949387, -0.4802546501159668, -0.5975714921951294, -0.0035942173562943935, 0.37293750047683716, -0.04648648202419281, -0.09885219484567642, -0.49233293533325195, 0.6094900369644165, 0.3396499454975128, 0.2483094185590744, 0.29371798038482666, 0.3137993812561035, -0.0008070439216680825, -0.3683403730392456, -0.5756370425224304, -0.6529484391212463, 1.0047061443328857, 0.4728989005088806, 1.1133067607879639, 0.016966750845313072, 0.6189501881599426, 0.07029478996992111, 0.09339286386966705, -0.7686368823051453, 0.4676019549369812, -0.23980633914470673, -0.2433491051197052, -0.5805942416191101, -0.5824964642524719, -0.7140190601348877, 0.08155737817287445, -0.3193177282810211, -0.6568551659584045, 0.07626567035913467, 0.28221723437309265, -0.5572071671485901, 0.30178412795066833, -0.5473592877388, 0.7094640731811523, -0.011176569387316704, -0.7061727643013, -0.3065966069698334, -0.4315248429775238, 0.3969525992870331, -0.13225999474525452, -0.005051007028669119, 0.18649926781654358, 0.26902323961257935, 0.6813280582427979, -0.33976373076438904, 0.9014990925788879, -0.2525680363178253, -0.3082672655582428, 0.1858096718788147, 0.5886365175247192, 0.8601369261741638, 0.4466550946235657, -0.11761798709630966, 0.13570216298103333, 0.023582659661769867, -0.1683061420917511, -0.7028834819793701, 0.8651671409606934, -0.6017382144927979, -0.5968957543373108, -0.14369826018810272, -0.6353866457939148, -0.48476555943489075, 0.16731351613998413, 0.4057387113571167, 0.26132869720458984, -0.214357390999794, 0.32268646359443665, 1.1230040788650513, -0.2978111207485199, 0.0815911591053009, 0.10959610342979431, -0.2676420509815216, -0.43345215916633606, 0.7252755761146545, 0.20862659811973572, 0.24212586879730225, 0.10110580176115036, 0.29797250032424927, -0.365844190120697, -0.7456966638565063, -0.11183203011751175, 0.29345616698265076, -0.6033914685249329, -0.33416181802749634, -0.6474377512931824, -0.27655309438705444, -0.6051344871520996, -0.020023401826620102, -0.5626720786094666, -0.3484288156032562, -0.5225023031234741, 0.028688931837677956, 0.2719537615776062, 0.47363927960395813, 0.0893273651599884, 0.2014947533607483, -0.6114566922187805, 0.837343156337738, 0.30088332295417786, 0.6498460173606873, 0.0722208246588707, -0.5807020664215088, 0.0887347087264061, 0.3972163200378418, -0.2351815104484558, -0.7504119277000427, 0.2486589252948761, 0.22851237654685974, 0.43226441740989685, 0.45063188672065735, 0.30763161182403564, 1.038475513458252, -0.5039541721343994, 0.580653965473175, -0.030638225376605988, -0.9815309047698975, 0.45303454995155334, -0.23492015898227692, 0.23506952822208405, 0.6744403839111328, 0.11879713833332062, -0.5511767864227295, -0.720537543296814, -0.35758310556411743, -0.7074338793754578, 0.5984750390052795, 0.4368816018104553, 0.3847194015979767, 0.13296593725681305, 0.6411551237106323, 0.4326671063899994, 0.11856659501791, -0.7463940978050232, -0.041863441467285156, -0.4106501340866089, -0.19961842894554138, -0.09098637104034424, -0.5177590250968933, -0.11079742759466171, -0.37360864877700806, 0.7782720327377319, -0.22665515542030334, 0.3295239508152008, 0.46572792530059814, -0.22574064135551453, -0.4760860204696655, 0.2138260155916214, 0.8018990159034729, 0.32259413599967957, -0.19200146198272705, 0.2682496905326843, 0.14830408990383148, -0.45514747500419617, -0.22355876863002777, 0.22779317200183868, -0.29536205530166626, -0.01995009183883667, 0.32341453433036804, 0.6466476321220398, -0.041417766362428665, -0.5607481598854065, 0.2851593494415283, -0.1352553516626358, -0.31863629817962646, -0.24514396488666534, 0.19005054235458374, 0.009312998503446579, 0.3064441978931427, 0.38753217458724976, 0.1803102195262909, 0.1434638500213623, -0.4702705144882202, 0.3671403229236603, 0.4953339099884033, -0.5253543853759766, -0.18565435707569122, 0.9748304486274719, -0.1564176380634308, -0.1814252734184265, 0.8694695830345154, -0.08286331593990326, -0.34474194049835205, 0.3664923906326294, 0.6336305737495422, 0.9676675200462341, -0.3309116065502167, 0.1231289729475975, 0.2547188699245453, 0.5624321699142456, -0.27792102098464966, 0.36922159790992737, 0.1694004237651825, -0.6772549152374268, -0.38833826780319214, -0.7254932522773743, -0.05873741954565048, 0.7014799118041992, -0.62008136510849, 0.12791576981544495, -0.48702043294906616, 0.12742258608341217, -0.07054093480110168, -0.11640001088380814, -0.46200430393218994, 0.06124667823314667, 0.27009591460227966, 0.7317574620246887, -0.6630480885505676, 0.7957414388656616, 0.4302750527858734, -0.26145458221435547, -0.633155345916748, 0.45895424485206604, -0.18829643726348877, -0.3855530917644501, 0.0866556242108345, 0.4412124454975128, -0.16750794649124146, 0.06760431826114655, -0.7833508849143982, -0.5335505604743958, 0.6456451416015625, 0.7042514681816101, -0.7639191150665283, 0.025943327695131302, 0.541631817817688, 0.5552576780319214, -0.1805499643087387, -0.32013535499572754, 0.6142750382423401, 0.4473653733730316, 0.0759793147444725, -0.5943036675453186, 0.27960434556007385, -0.05112279951572418, -0.05273611471056938, 0.05330590158700943, -0.408180296421051, 0.5620314478874207, -0.33403003215789795, -0.22498168051242828, 0.40177121758461, 0.6644846200942993, 0.1785835325717926, 0.358317494392395, 0.5414513349533081, 0.34904953837394714, 0.8921223282814026, -0.2681474983692169, 0.5553924441337585, -0.09009475260972977, 0.3211909830570221, 1.277028203010559, -0.18473941087722778, 0.8369439840316772, 0.847377359867096, 0.2708919942378998, -0.040804244577884674, 0.47937577962875366, -0.11563040316104889, 0.6612478494644165, 0.39783331751823425, 0.1758655458688736, -0.6001291275024414, -0.039400480687618256, -0.32801228761672974, 0.43347063660621643, 0.3659469485282898, -0.14595746994018555, -0.2090708464384079, 0.2576409876346588, 0.14242082834243774, 0.4354284405708313, -0.26789095997810364, 0.7673844695091248, 0.03789113089442253, -0.7577493786811829, 0.9748639464378357, 0.051419176161289215, 0.6020553708076477, -0.42124614119529724, -0.32192131876945496, -0.5689565539360046, 0.246973916888237, -0.24375973641872406, -0.6424093246459961, 0.8011494278907776, -0.07482237368822098, -0.19392533600330353, -0.1686619520187378, 0.6212742328643799, -0.6610193252563477, -0.523462176322937, 0.2554514408111572, 0.3031740188598633, 0.013038428500294685, -0.46030694246292114, -0.5315744876861572, 0.22713543474674225, 0.13456399738788605, -0.23565565049648285, -0.03276851028203964, 0.49383383989334106, -0.2304309904575348, 0.5836976766586304, 0.7255063056945801, 0.007733913138508797, 0.06414016336202621, 0.23966936767101288, 0.9544959664344788, -0.5818382501602173, -0.41762563586235046, -0.8626434803009033, 0.2945111095905304, 0.13091394305229187, -0.14385025203227997, 0.5578554272651672, 0.6519330739974976, 0.8483220934867859, -0.275396466255188, 0.512308657169342, 0.3315187990665436, 0.3007686138153076, -0.7984435558319092, 1.0491164922714233, -0.6743960380554199, 0.40273547172546387, -0.42015743255615234, -1.077418327331543, -0.6454706788063049, 0.7574542760848999, -0.14546720683574677, -0.19258828461170197, 0.5424245595932007, 1.155983328819275, -0.1249832957983017, -0.046385619789361954, 0.46120795607566833, 0.728245735168457, 0.19522039592266083, 0.49593859910964966, 0.8143948912620544, -0.5498354434967041, 0.6614200472831726, -0.43494483828544617, 0.059910133481025696, -0.2171165943145752, -0.5109171867370605, -1.1168019771575928, -0.5450583696365356, -0.3595274090766907, -0.4826764464378357, 0.22584658861160278, 0.742559552192688, 0.4567468464374542, -1.0536752939224243, 0.16473326086997986, -0.3901357352733612, -0.028979377821087837, -0.2242158204317093, -0.24938294291496277, 0.3615105450153351, -0.42879387736320496, -0.5393024682998657, 0.1795237809419632, -0.020317764952778816, 0.3084130585193634, -0.4211822748184204, -0.24039797484874725, 0.09839142858982086, 0.24615037441253662, 0.4231919050216675, -0.1805284023284912, -0.9929807186126709, -0.36590448021888733, 0.09781239181756973, -0.07312514632940292, 0.02894694358110428, 0.5135968327522278, -0.7326383590698242, 0.36312615871429443, 0.348904550075531, 0.7104392647743225, 0.2119693160057068, 0.06757428497076035, 0.4411165416240692, -0.5849270224571228, 0.17180617153644562, 0.3159410059452057, 0.05636010318994522, 0.4240819811820984, -0.6376855373382568, 0.37692221999168396, 0.03764474019408226, -0.38579684495925903, -1.094351887702942, 0.07409609109163284, -0.93462735414505, -0.5208842158317566, 1.1885207891464233, 0.27757957577705383, -0.1300496608018875, -0.10456985235214233, -0.48608121275901794, 0.45481595396995544, -0.18382784724235535, 1.2110673189163208, 0.7543840408325195, 0.11397237330675125, -0.11196376383304596, -0.6183812022209167, 0.7456045746803284, 0.7222544550895691, -0.7739287614822388, 0.6676998138427734, 0.7638092637062073, 0.21458007395267487, 0.03419912979006767, 0.13750877976417542, -0.042382899671792984, 0.22840973734855652, -0.18996860086917877, -0.09863968193531036, -0.19262225925922394, -0.560546875, -0.5677101016044617, 0.3156704604625702, 0.07102091610431671, 0.00012011641229037195 ]
http://arxiv.org/abs/2406.11263v1
http://arxiv.org/pdf/2406.11263v1
The Fall of ROME: Understanding the Collapse of LLMs in Model Editing
2024-06-17T07:08:29
2024-06-17T07:08:29
Wanli Yang, Fei Sun, Jiajun Tan, Xinyu Ma, Du Su, Dawei Yin, Huawei Shen
cs.CL
cs.CL, cs.AI
Despite significant progress in model editing methods, their application in real-world scenarios remains challenging as they often cause large language models (LLMs) to collapse. Among them, ROME is particularly concerning, as it could disrupt LLMs with only a single edit. In this paper, we study the root causes of such collapse. Through extensive analysis, we identify two primary factors that contribute to the collapse: i) inconsistent handling of prefixed and unprefixed keys in the parameter update equation may result in very small denominators, causing excessively large parameter updates; ii) the subject of collapse cases is usually the first token, whose unprefixed key distribution significantly differs from the prefixed key distribution in autoregressive transformers, causing the aforementioned issue to materialize. To validate our analysis, we propose a simple yet effective approach: uniformly using prefixed keys during editing phase and adding prefixes during the testing phase. The experimental results show that the proposed solution can prevent model collapse while maintaining the effectiveness of the edits.
[ -0.5714840292930603, -0.7695779800415039, 0.7815374732017517, -0.05522448569536209, -0.1361415833234787, 0.14909616112709045, -0.30332547426223755, -0.03891218826174736, -0.2473689764738083, 0.4254186451435089, -0.5701772570610046, -0.3764841854572296, -0.7445945143699646, 0.09298399090766907, -0.7543633580207825, 1.106846570968628, -0.3822777569293976, -0.055121924728155136, -0.04707031324505806, -0.2727806866168976, -0.3237283527851105, -0.4645201861858368, -0.9016247391700745, -0.2412302941083908, 0.3943640887737274, 0.3822026550769806, 0.8980379104614258, 0.8854050040245056, 0.6789156794548035, 0.3658641278743744, -0.5920827388763428, 0.15882378816604614, -0.481249064207077, 0.02882782183587551, 0.05974803864955902, -0.5833239555358887, -0.5389488935470581, 0.16491079330444336, 0.8754700422286987, 0.5843435525894165, -0.2100227177143097, 0.027579933404922485, 0.13218948245048523, 0.5435359477996826, -0.46007025241851807, -0.13323216140270233, -0.7107913494110107, -0.16437852382659912, -0.2897638976573944, -0.11508272588253021, -0.47051236033439636, 0.0028440114110708237, -0.34960246086120605, -0.43565648794174194, 0.3823052644729614, -0.247505784034729, 0.9883697628974915, 0.5502241253852844, -0.33381304144859314, -0.3377422094345093, -0.9907891154289246, 0.5486405491828918, -0.7327401638031006, 0.38272786140441895, -0.3973222076892853, -0.06110665947198868, -0.5597447752952576, -0.6046800017356873, -0.5734768509864807, -0.29645466804504395, 0.05833212286233902, -0.04320602864027023, -0.11822212487459183, 0.20742516219615936, 0.36454498767852783, 0.4105106294155121, -0.19955332577228546, 0.32090485095977783, -0.2939920127391815, 0.13317783176898956, 0.2660025358200073, 0.3930358588695526, 0.5112648010253906, -0.12413917481899261, -0.28604570031166077, -0.2879504859447479, -1.2755393981933594, -0.12347686290740967, 0.4917667508125305, 0.33043861389160156, 0.11769604682922363, 0.32867029309272766, 0.4219268560409546, 0.5808873176574707, 0.11080669611692429, -0.3000509738922119, -0.2633700370788574, -0.15523134171962738, -0.35819917917251587, -0.21166612207889557, 0.7123938202857971, 0.38094866275787354, 0.14546537399291992, -0.12872791290283203, -0.08340508490800858, -0.2357870191335678, 0.22153881192207336, -0.5234485864639282, 0.13785085082054138, 0.13006919622421265, -0.18548953533172607, -0.21174754202365875, 0.14283062517642975, -0.16220425069332123, -0.22297970950603485, -0.06877890974283218, 0.0760885700583458, -0.11222372949123383, -0.16196860373020172, 0.08421237021684647, -0.052951350808143616, -0.21441026031970978, 0.4690455198287964, -0.8314645886421204, 0.5038231611251831, 0.7992138266563416, 0.7985426187515259, -0.26619571447372437, -0.3357512354850769, -0.35453087091445923, 0.052370861172676086, -0.49159717559814453, 0.3560037910938263, -0.027699239552021027, -0.7979698181152344, 0.10800255835056305, 0.1684987097978592, -0.06509070843458176, -0.46886512637138367, 0.5454676747322083, -0.7232944965362549, -0.06686196476221085, -0.09406857937574387, -0.5452598929405212, 0.06455589085817337, 0.316530704498291, -0.7371712923049927, 0.9359666705131531, -0.1806761622428894, -0.8313932418823242, 0.20111116766929626, -0.7006837129592896, -0.31009989976882935, -0.12502920627593994, -0.28512170910835266, -0.48346999287605286, 0.6755107045173645, -0.15756350755691528, 0.11198123544454575, -0.3250493109226227, 0.1491938680410385, -0.2769389748573303, -0.20882467925548553, 0.4997139573097229, -0.37479668855667114, 0.7369891405105591, 0.043134886771440506, -0.21033667027950287, -0.14777709543704987, -0.42672261595726013, -0.21451108157634735, 0.20425082743167877, -0.2605953812599182, -0.38720330595970154, 0.3389260768890381, 0.13248249888420105, 0.01337773073464632, -0.1937893033027649, -0.2931459844112396, 0.6483190059661865, -0.23677457869052887, 0.6718130707740784, 0.7509948015213013, 0.3578493893146515, 0.3623926043510437, 0.007687228731811047, 0.45900675654411316, 0.07139002531766891, 0.41576087474823, 0.05141555890440941, -0.16631609201431274, -1.0708993673324585, -0.007654029410332441, 0.5858107209205627, 0.4251173436641693, -0.29546231031417847, 0.00665765255689621, -0.4382377862930298, -0.5594831109046936, -0.27715083956718445, 0.09347546845674515, 0.27690526843070984, 0.4184415638446808, 0.08725536614656448, -0.000024761358872638084, -0.173259437084198, -0.9993956089019775, -0.17271874845027924, -0.6841161251068115, 0.1181861013174057, -0.11957737058401108, 0.758404016494751, -0.46410372853279114, 1.0279366970062256, -0.6908755302429199, -0.2641739249229431, -0.20044472813606262, 0.253976434469223, 0.20841404795646667, 0.6609910726547241, 0.48972195386886597, -0.7790822982788086, -0.0075822919607162476, -0.08425281941890717, -0.31805434823036194, -0.04145267233252525, -0.4082624912261963, 0.1238129660487175, 0.2638329267501831, 0.7609577775001526, -0.6097074151039124, 0.6781773567199707, 0.39624089002609253, -0.14453986287117004, 0.6859096884727478, -0.36756041646003723, 0.2610248923301697, -1.1621359586715698, -0.26217886805534363, -0.3145308792591095, -0.16392186284065247, -0.542544424533844, 0.326045960187912, 0.1679309606552124, 0.038024965673685074, -0.6752079725265503, 0.38371071219444275, -0.5227125883102417, -0.08477980643510818, -0.2373882532119751, 0.33687707781791687, -0.04741326719522476, -0.026266295462846756, -0.15016970038414001, 0.8259046077728271, 0.19690975546836853, -0.7375524044036865, 0.22761084139347076, 0.5268141031265259, 0.028881574049592018, -0.11162573844194412, -0.7457419633865356, 0.12502256035804749, -0.08029849082231522, -0.09328047931194305, -0.955971360206604, 0.029075149446725845, -0.04683021456003189, -0.4382456839084625, 0.4761676490306854, -0.35564935207366943, -0.5973364114761353, -0.007837837561964989, -0.29154837131500244, 0.21492955088615417, 0.19080793857574463, -0.4950616657733917, 0.4599444568157196, 0.3033231198787689, -0.14450661838054657, -0.29984191060066223, -0.9330671429634094, 0.3605440557003021, -0.30817073583602905, -0.7588391304016113, 0.31645894050598145, -0.4927530288696289, -0.8130215406417847, 0.08780492842197418, -0.14935269951820374, 0.028376873582601547, 0.4746154546737671, 0.3916985094547272, 0.41581863164901733, -0.015025381930172443, 0.16664475202560425, 0.25398480892181396, -0.14168141782283783, 0.09958512336015701, 0.23531238734722137, 0.30840861797332764, -0.15303371846675873, -0.4054727256298065, -0.3644789159297943, 0.2635069191455841, 1.2175874710083008, -0.11067643016576767, 0.8761543035507202, -0.16196425259113312, -0.26226353645324707, -0.21717128157615662, -0.4804899990558624, -0.20173852145671844, -0.4626201093196869, 0.38198116421699524, -0.42256414890289307, -0.7087349891662598, 0.9012485146522522, -0.2503015398979187, 0.35520416498184204, 0.5732461810112, 0.6657833456993103, -0.06616966426372528, 0.7375597357749939, 1.0015946626663208, -0.028381194919347763, 0.36936521530151367, -0.35068854689598083, 0.24845169484615326, -0.9874448776245117, 0.0021887465845793486, -0.6431506872177124, -0.06278889626264572, -0.8000487089157104, -0.36449140310287476, 0.4629257917404175, 0.18823601305484772, 0.08681143075227737, 0.25713735818862915, -0.16516490280628204, 0.46972745656967163, 0.16632206737995148, -0.21247580647468567, 0.45958393812179565, 0.04080581292510033, -0.2262667864561081, -0.28025269508361816, -0.529772162437439, -0.6589812636375427, 0.6562826037406921, 0.4100496172904968, 0.9213513731956482, 0.20459969341754913, 0.8660608530044556, 0.34127429127693176, 0.4991151690483093, -0.6024805307388306, 0.29381173849105835, 0.015702074393630028, -0.8067859411239624, -0.3549160659313202, -0.1420256346464157, -0.3956719934940338, 0.043369028717279434, 0.08709101378917694, -0.48787352442741394, 0.40017667412757874, 0.13817967474460602, -0.5536181330680847, 0.319740355014801, -0.37134259939193726, 0.9303081035614014, -0.12150108814239502, -0.18788151443004608, -0.039170049130916595, -0.3873915672302246, 0.4706784784793854, -0.08800143748521805, 0.4504263699054718, 0.06870822608470917, -0.31589820981025696, 0.5612560510635376, -0.7430802583694458, 0.46688899397850037, 0.31797969341278076, -0.2831398844718933, -0.062463872134685516, 0.39084404706954956, 0.6358263492584229, 0.47867584228515625, 0.050666943192481995, 0.008277847431600094, -0.2395264059305191, -0.1260599046945572, -0.9834473729133606, 0.926670491695404, -0.8085668087005615, -0.6732882857322693, -0.6601307988166809, -0.3605368137359619, -0.15707656741142273, -0.18743421137332916, 0.48624205589294434, 0.6537461876869202, -0.25101637840270996, -0.06456445157527924, 0.7645485401153564, 0.13324841856956482, 0.8999282717704773, 0.7706277966499329, -0.2964843809604645, -0.615398108959198, 0.2066260576248169, 0.368416965007782, 0.6343905925750732, -0.39189913868904114, -0.26439914107322693, -0.10837318748235703, -1.0382791757583618, -0.5336868166923523, 0.40605559945106506, -0.8915401697158813, 0.03764322027564049, -0.11763371527194977, -0.25755536556243896, -0.42965954542160034, -0.25330913066864014, -0.6041727662086487, -0.30470916628837585, -0.4716828167438507, -0.3537370264530182, 0.11165831983089447, 0.9667508006095886, -0.17804090678691864, 0.5524317026138306, -0.8539853692054749, 0.12533454596996307, 0.06710932403802872, 0.0344204343855381, -0.1829667091369629, -0.9012799859046936, -0.3694576025009155, -0.21872897446155548, -0.10989676415920258, -1.247571349143982, 0.3200889825820923, 0.17460988461971283, 0.21870827674865723, 0.7209300994873047, -0.032787539064884186, 1.0813740491867065, -0.7218006253242493, 0.556185781955719, 0.111360102891922, -1.1520273685455322, 0.28126946091651917, -0.35071760416030884, 0.17455442249774933, 0.6964474320411682, 0.15205630660057068, -0.9172337055206299, -0.642187774181366, -0.7740200757980347, -0.9508217573165894, 0.636054277420044, 0.4158236086368561, 0.13718172907829285, -0.0807558223605156, 0.8796311616897583, -0.20261676609516144, -0.04720555618405342, -0.6854262948036194, -0.701801598072052, 0.5316076874732971, 0.3715614378452301, -0.006149234715849161, -0.6145924925804138, -0.2496441751718521, -0.35910165309906006, 0.9169533252716064, 0.05207233130931854, -0.20180293917655945, 0.3501121401786804, -0.41237297654151917, -0.08739282935857773, 0.4247511029243469, 1.019318699836731, 0.948521614074707, 0.06537777185440063, 0.047306932508945465, 0.28542888164520264, -0.40981578826904297, 0.355749249458313, -0.16885361075401306, -0.6642053723335266, 0.2373487949371338, 0.4505358636379242, 0.8862124085426331, 0.40138983726501465, -0.449651837348938, 0.0891498550772667, -0.3786931037902832, -0.05578627809882164, -0.5544406771659851, -0.1984252631664276, 0.065227210521698, -0.03274606913328171, 0.705900251865387, 0.09645263105630875, 0.04740569740533829, -0.6477211117744446, 0.24905836582183838, 0.3811882734298706, -0.20107123255729675, -0.17830410599708557, 0.7132411599159241, 0.08292488753795624, -0.25791215896606445, 0.7226660847663879, -0.08680737763643265, -0.848290205001831, 0.5736374258995056, 0.3281998932361603, 0.8421754240989685, -0.285770058631897, 0.16648763418197632, 0.14411744475364685, 0.9640176296234131, -0.23368579149246216, -0.10111286491155624, 0.24313946068286896, -0.5881631374359131, -0.5186290144920349, -0.4275479018688202, -0.4730013608932495, 0.11771503835916519, -0.7400841116905212, 0.2972370386123657, -0.5235707759857178, -0.33818021416664124, -0.4179109036922455, -0.14702820777893066, -0.038270846009254456, 0.30521610379219055, 0.23784376680850983, 0.9636778235435486, -1.1088082790374756, 0.49851304292678833, 0.5718628764152527, -0.49246013164520264, -0.6205634474754333, 0.1861608326435089, 0.051649268716573715, -0.3034677803516388, 0.8366368412971497, -0.2776738107204437, 0.02825041301548481, 0.024089738726615906, -0.4074994623661041, -1.0131635665893555, 0.6021276116371155, 0.7030906677246094, -0.6659169793128967, -0.2623957693576813, 0.3888860046863556, 0.4231833517551422, -0.2979154884815216, 0.15997940301895142, 0.8054476976394653, 0.6615872979164124, 0.11131977289915085, -0.9586333632469177, -0.03618176281452179, 0.09724458307027817, 0.03983381763100624, 0.6661823391914368, -0.6216981410980225, 0.8840869665145874, -0.24035508930683136, -0.41746824979782104, 0.09127216786146164, 0.6083173155784607, -0.10970333218574524, -0.15292741358280182, 0.4893638789653778, 1.0257278680801392, 0.385000616312027, -0.3800264596939087, 0.8861298561096191, -0.38406822085380554, 0.6990182399749756, 1.0191398859024048, -0.028540950268507004, 1.0224406719207764, 0.5355309844017029, -0.20767779648303986, 0.43242311477661133, 0.893722414970398, 0.09776780009269714, 0.12503942847251892, 0.2855382561683655, -0.3449077904224396, -0.459409236907959, 0.1549682319164276, -0.17788687348365784, 0.2932150661945343, 0.4011397063732147, -0.2891831696033478, -0.4968315660953522, 0.14900395274162292, 0.46995386481285095, -0.09267310798168182, -0.24574296176433563, 0.6705695390701294, 0.14589151740074158, -0.48149847984313965, 0.5760705471038818, 0.1246243491768837, -0.06000157818198204, -0.3758294880390167, 0.1246529296040535, -0.41671687364578247, 0.20286697149276733, -0.16107772290706635, -0.22650572657585144, 0.3847486078739166, 0.0979386568069458, -0.39188531041145325, -0.30325934290885925, 0.09541002660989761, -0.42385369539260864, -0.5809856057167053, 0.48252421617507935, 0.1935233771800995, 0.11628121882677078, -0.16994144022464752, -0.6176537275314331, 0.8494976758956909, -0.19386237859725952, -0.2779252827167511, 0.04665987193584442, 0.042556241154670715, -0.04455870762467384, 0.5535126328468323, 0.4131324589252472, 0.15251003205776215, 0.1951320767402649, -0.2460974007844925, 1.0860130786895752, -0.6052258014678955, -0.07188846170902252, -1.1633001565933228, 0.8396602869033813, -0.045370232313871384, -0.21684685349464417, 0.8669753074645996, 0.5777375102043152, 0.44818857312202454, 0.10434195399284363, 0.6260851621627808, -0.010450155474245548, 0.16769175231456757, -0.49568769335746765, 1.0109142065048218, -0.8244554996490479, 0.288666307926178, -0.13652217388153076, -0.9084926247596741, -0.42508837580680847, -0.003888428909704089, -0.06967610120773315, -0.40965354442596436, 1.0837100744247437, 0.5609838366508484, 0.31754255294799805, -0.6923180222511292, 0.46124976873397827, 0.4703742265701294, 0.47020232677459717, 0.2547728717327118, 0.6624515652656555, -0.5739809274673462, 0.615413248538971, 0.112505242228508, -0.02601459249854088, -0.2178550362586975, -0.7995907664299011, -0.675275444984436, -0.6509723663330078, -0.6406509876251221, -0.500694990158081, 0.29695987701416016, 0.6032856106758118, 0.42762935161590576, -0.6886811256408691, -0.2077716886997223, -0.0340891107916832, 0.35524460673332214, 0.1696529984474182, -0.11826696246862411, 0.32335755228996277, -0.530430257320404, -1.0192309617996216, 0.5045446157455444, 0.5179381370544434, 0.26602107286453247, -0.47708678245544434, -0.00948786549270153, -0.03934154659509659, 0.11404720693826675, -0.004610030446201563, 0.4657749831676483, -0.9855948090553284, -0.014625259675085545, -0.14056220650672913, -0.10771109908819199, 0.06869381666183472, 0.9250292778015137, -0.411255806684494, 0.3813778758049011, 0.4735596477985382, 0.3927061855792999, 0.16423073410987854, 0.0683017149567604, 0.7487412095069885, -0.5961326956748962, 0.10725705325603485, -0.07511839270591736, 0.5979352593421936, 0.28065598011016846, -0.09734775125980377, 0.2362307459115982, 0.3646378815174103, -0.5807520747184753, -1.3210340738296509, 0.20731037855148315, -0.6586405038833618, -0.1871996968984604, 0.8975757956504822, -0.15112166106700897, -0.5349196791648865, 0.045133594423532486, -0.052436571568250656, 0.2612869143486023, -0.1168835461139679, 0.7694197297096252, 1.150691270828247, -0.09512555599212646, -0.12527996301651, -0.4177473485469818, 0.6987062692642212, 0.2500442564487457, -0.6085516810417175, 0.337505966424942, 0.5196733474731445, 0.36095350980758667, 0.47317832708358765, 0.09589497745037079, -0.1883343905210495, 0.39064115285873413, -0.4238598942756653, 0.10566212981939316, -0.11706314980983734, -0.42396870255470276, -0.7210106253623962, 0.3870057165622711, 0.6011489629745483, -0.06536698341369629 ]
http://arxiv.org/abs/2406.11260v1
http://arxiv.org/pdf/2406.11260v1
Adversarial Style Augmentation via Large Language Model for Robust Fake News Detection
2024-06-17T07:00:41
2024-06-17T07:00:41
Sungwon Park, Sungwon Han, Meeyoung Cha
cs.CL
cs.CL, cs.AI
The spread of fake news negatively impacts individuals and is regarded as a significant social challenge that needs to be addressed. A number of algorithmic and insightful features have been identified for detecting fake news. However, with the recent LLMs and their advanced generation capabilities, many of the detectable features (e.g., style-conversion attacks) can be altered, making it more challenging to distinguish from real news. This study proposes adversarial style augmentation, AdStyle, to train a fake news detector that remains robust against various style-conversion attacks. Our model's key mechanism is the careful use of LLMs to automatically generate a diverse yet coherent range of style-conversion attack prompts. This improves the generation of prompts that are particularly difficult for the detector to handle. Experiments show that our augmentation strategy improves robustness and detection performance when tested on fake news benchmark datasets.
[ -0.4289848506450653, -1.219659447669983, 0.3726118803024292, 0.160497784614563, -0.381063312292099, 0.21963326632976532, -0.28324976563453674, -0.5046778321266174, 0.34395405650138855, 0.4170050024986267, -0.59770667552948, -0.3000282049179077, -0.7900106906890869, 0.10243262350559235, -0.6267449855804443, 0.9773223400115967, -0.06225678697228432, 0.1296055167913437, 0.1277981847524643, -0.08714430034160614, -0.2184588611125946, -0.5339925289154053, -0.7344022989273071, 0.06416942924261093, 0.28821179270744324, 0.1465899646282196, 0.7670101523399353, 0.4959789514541626, 0.20096126198768616, 0.2392289936542511, -0.01698562316596508, 0.5816214680671692, -0.44698044657707214, 0.0030258898623287678, 0.026182634755969048, -0.5622992515563965, -0.3613673448562622, 0.19689014554023743, 0.411270409822464, 0.14230524003505707, 0.17753180861473083, 0.08525791764259338, -0.16808399558067322, 0.4519349932670593, -0.4911612868309021, -0.2794348895549774, -0.8248229026794434, -0.14637182652950287, -0.2986595630645752, -0.30788442492485046, -0.467187762260437, -0.4105154275894165, -0.3877503275871277, -0.47771963477134705, 0.3251798748970032, -0.03004261665046215, 0.8091661930084229, -0.04356304556131363, -0.6162617802619934, -0.33926454186439514, -0.6898502111434937, 0.41410544514656067, -0.6961228251457214, 0.2717408835887909, -0.031421225517988205, 0.3986440598964691, -0.2987543046474457, -0.5469552278518677, -0.9408366084098816, -0.3362008333206177, 0.03308779001235962, -0.019023656845092773, -0.31844204664230347, -0.17947635054588318, 0.12354986369609833, 0.24062985181808472, -0.583838701248169, 0.08368896692991257, -0.23555214703083038, -0.4012562930583954, 0.6622523665428162, -0.1497589647769928, 0.5891622304916382, -0.11720166355371475, -0.4335705041885376, -0.2616214156150818, -0.7860495448112488, -0.19311577081680298, 0.8724856972694397, 0.31822651624679565, -0.03280319273471832, 0.2925698161125183, -0.28548815846443176, 0.5155397653579712, 0.14617906510829926, -0.27965831756591797, 0.13930368423461914, -0.277364045381546, 0.03739940747618675, 0.24382507801055908, 0.6481075286865234, 0.35592514276504517, 0.19641508162021637, 0.11042739450931549, -0.4294464886188507, 0.42554372549057007, 0.5313238501548767, -0.7434073090553284, -0.18112026154994965, -0.12308342754840851, -0.23792396485805511, -0.859788179397583, 0.11235600709915161, -0.5304404497146606, -0.6335608959197998, -0.22256867587566376, 0.5520178079605103, -0.4948233962059021, -0.14940859377384186, 0.10940959304571152, -0.15071700513362885, 0.07762135565280914, 0.6027043461799622, -0.3065520226955414, -0.05197993665933609, 0.4897460341453552, 0.7633060812950134, -0.07599455118179321, -0.0040537286549806595, -0.6908864378929138, -0.08572851121425629, -0.7222268581390381, 0.8440109491348267, -0.41851818561553955, -0.04459654539823532, 0.035587865859270096, -0.006011015735566616, 0.2808900475502014, -0.35490182042121887, 0.5763034820556641, -0.89567631483078, 0.32995498180389404, -0.12786734104156494, -0.2740778625011444, -0.14229486882686615, 0.46106067299842834, -0.697418749332428, 0.8526409864425659, 0.09489548951387405, -0.5989950299263, 0.3558993339538574, -0.5023009181022644, -0.7839335203170776, 0.027505166828632355, 0.15954674780368805, -0.661564826965332, 0.12075526267290115, 0.6199659705162048, 0.21520604193210602, 0.27435120940208435, 0.19625741243362427, -0.6254370808601379, -0.41092565655708313, 0.4608422517776489, -0.8931981325149536, 0.6123233437538147, 0.371724009513855, -0.3704680800437927, 0.14041724801063538, -0.7181570529937744, -0.3560662269592285, 0.3413122892379761, -0.3096824884414673, -0.2980448603630066, -0.3182508945465088, 0.17307288944721222, 0.13499419391155243, 0.26942741870880127, -0.4288453757762909, 0.3583790361881256, -0.34311869740486145, 0.27608901262283325, 0.8362966179847717, 0.0697893351316452, 0.4197259247303009, -0.3509303033351898, 0.383419394493103, -0.038368333131074905, 0.17162010073661804, -0.296824187040329, -0.24354681372642517, -0.704889714717865, -0.24742408096790314, 0.17440427839756012, 0.5915841460227966, -1.1352331638336182, 0.47352465987205505, -0.039760950952768326, -0.32183557748794556, -0.47505566477775574, 0.21893340349197388, 0.22708848118782043, 0.3391980528831482, 0.3844939172267914, 0.14814434945583344, -0.5826974511146545, -0.6868816614151001, -0.7951741218566895, -0.047653213143348694, -0.06413189321756363, -0.10713707655668259, 0.4358587861061096, -0.34313735365867615, 0.6307060718536377, -0.28534677624702454, -0.1150260716676712, -0.3897349238395691, 0.005243772640824318, 0.0020147247705608606, 0.2066640555858612, 0.6804805994033813, -1.0938501358032227, -0.39013931155204773, -0.2259051501750946, -0.4866538345813751, -0.28026846051216125, -0.4077780842781067, 0.010410815477371216, 0.2926390469074249, 0.6647320985794067, -0.365174800157547, 0.48649805784225464, 0.5426319241523743, -0.33698275685310364, 0.7401098608970642, 0.18012474477291107, 0.34164169430732727, -1.271896243095398, -0.2742995321750641, 0.28804993629455566, -0.6040714383125305, -0.7800655961036682, 0.14870963990688324, 0.1899280697107315, -0.2818624675273895, -0.5006211400032043, 0.7607488036155701, -0.2502211034297943, 0.09053067117929459, -0.4729054272174835, 0.0015955541748553514, 0.3456586003303528, 0.1085987538099289, -0.13678771257400513, 0.799647331237793, 0.3389667272567749, -0.465688556432724, 0.9007928371429443, -0.17124223709106445, -0.2908326983451843, 0.6407650709152222, -0.5385234355926514, 0.11028704792261124, -0.16036492586135864, 0.7459678649902344, -1.1776882410049438, -0.41878026723861694, 0.34988734126091003, -0.6602767705917358, 0.5031769871711731, -0.16472969949245453, -0.8699299693107605, -0.2838290333747864, -0.5900733470916748, 0.028844615444540977, 0.23687340319156647, -0.8441054224967957, 0.4778645634651184, 0.13694003224372864, 0.09885664284229279, -0.31711819767951965, -0.6359657049179077, 0.48453763127326965, -0.40970778465270996, -0.9342657327651978, 0.4256857931613922, -0.05555811524391174, -0.23596522212028503, -0.10289613902568817, -0.08497448265552521, 0.2537749409675598, 0.17854337394237518, -0.3395690321922302, 0.3288634121417999, -0.18029873073101044, -0.11772851645946503, 0.03870916739106178, 0.3299122452735901, -0.00020698236767202616, -0.2070879340171814, 0.5626084804534912, -0.11227120459079742, -0.400803804397583, -0.6919134855270386, 0.23582296073436737, 0.8950937390327454, -0.06242196261882782, 0.8339129686355591, 1.0002143383026123, -0.4812280535697937, -0.5675223469734192, -0.6797844767570496, -0.4620409309864044, -0.5289260149002075, 0.4422253966331482, -0.13562710583209991, -0.5811039209365845, 0.3663102984428406, -0.017933014780282974, -0.15851719677448273, 0.11209847033023834, 0.3010105490684509, 0.15957169234752655, 1.3261784315109253, 0.4343400299549103, -0.19257239997386932, 0.7079994678497314, -0.10790939629077911, 0.21015800535678864, -0.5278091430664062, 0.04973340779542923, 0.030744357034564018, -0.38278478384017944, -0.45858776569366455, -0.34301838278770447, 0.539959728717804, 0.05484500154852867, 0.048612430691719055, 0.3222810924053192, -0.36026424169540405, 0.27562153339385986, 0.49610820412635803, 0.46810653805732727, 0.25929969549179077, 0.3311840295791626, 0.4198054373264313, -0.0009170866687782109, -0.4523506760597229, -0.3901333808898926, 0.9500073194503784, 0.5353825092315674, 0.9591909050941467, 0.3189721703529358, 0.33636394143104553, 0.6536138653755188, 0.39781174063682556, -0.8723811507225037, 0.504259467124939, -0.3750864267349243, -0.3721301555633545, -0.08579704165458679, -0.3570452332496643, -0.3998590111732483, 0.2045334279537201, -0.35333386063575745, -0.2026543915271759, 0.0328967347741127, 0.3357650637626648, -0.08346845209598541, 0.5784556865692139, -0.5586344003677368, 0.39972302317619324, -0.33153438568115234, -0.08526435494422913, -0.07099537551403046, -0.23940689861774445, 0.5511888861656189, -0.2284768521785736, 0.26903295516967773, 0.2059863954782486, -0.002090418478474021, 0.4994989037513733, -0.2985305190086365, 1.0648748874664307, 0.08237502723932266, -0.12743167579174042, 0.12417048215866089, 0.24635612964630127, 1.0642991065979004, 0.12380857765674591, 0.1287163347005844, 0.02615094743669033, -0.6136837005615234, -0.36619648337364197, -0.6245904564857483, 0.7119002342224121, -0.5817518830299377, -0.8060649633407593, -0.4039295017719269, -0.6411516070365906, -0.31543853878974915, 0.055121615529060364, 0.5100840330123901, 0.5130569338798523, -0.23892267048358917, 0.17791397869586945, 0.759781002998352, -0.22032898664474487, 0.14386016130447388, 0.5104545950889587, -0.16233062744140625, -0.41148510575294495, 0.8974342942237854, 0.2017064094543457, 0.3004934787750244, -0.013677885755896568, 0.23416438698768616, -0.6001120209693909, -0.6470759510993958, -0.7789520025253296, 0.10396456718444824, -0.7260441184043884, -0.08606576919555664, -0.43628379702568054, -0.3259142339229584, -1.0618226528167725, -0.44150209426879883, -0.3027297854423523, -0.22368256747722626, -0.49020621180534363, -0.002428572392091155, 0.5518530607223511, 0.627395749092102, 0.10242959856987, 0.41314074397087097, -0.49837684631347656, 0.6401672959327698, 0.48503562808036804, -0.11671522259712219, -0.4908279478549957, -1.035788893699646, 0.059176553040742874, 0.2018440067768097, -0.32666435837745667, -1.0714690685272217, 0.6233551502227783, 0.0035327132791280746, 0.37086281180381775, 0.5872471332550049, 0.2541317939758301, 0.602108359336853, -0.2714773118495941, 0.6670445203781128, 0.051606979221105576, -0.7564628720283508, 0.6946157217025757, -0.6196454167366028, -0.0035468502901494503, 0.2582798898220062, 0.33327963948249817, -0.49991029500961304, -0.3824347257614136, -0.6766476035118103, -0.6676994562149048, 0.6038317084312439, 0.022091064602136612, 0.4140724837779999, -0.00010279155685566366, 0.2078549861907959, -0.21841567754745483, 0.32064053416252136, -0.8844946026802063, -0.25075235962867737, -0.43323400616645813, -0.06353864818811417, 0.1977682113647461, -0.15269999206066132, -0.2682555913925171, 0.02523820661008358, 0.8988720178604126, -0.23251909017562866, -0.05035155639052391, -0.027310948818922043, -0.1909511685371399, -0.021678294986486435, 0.29068663716316223, 0.8058063983917236, 0.34162867069244385, 0.11369743943214417, 0.11958279460668564, 0.1428854912519455, -0.4003380835056305, 0.003046217141672969, 0.16731621325016022, -0.39004266262054443, 0.18711808323860168, 0.37771186232566833, 0.9332759380340576, -0.2583111524581909, -0.39319923520088196, 0.7347227334976196, -0.01850275695323944, -0.1199498251080513, -0.39760470390319824, 0.1426321119070053, -0.2236565798521042, 0.15968233346939087, 0.6620522737503052, 0.40176621079444885, 0.14283940196037292, -0.9132221341133118, 0.2546880841255188, 0.7114276885986328, -0.22151251137256622, -0.27067336440086365, 0.6460099220275879, 0.22907498478889465, -0.2358911633491516, 0.01937723346054554, -0.4558214247226715, -0.943832278251648, 0.5944907665252686, 0.9544815421104431, 0.5042096972465515, -0.3961501717567444, 0.2861722409725189, 0.03742756322026253, 0.6017297506332397, -0.28462812304496765, -0.047092508524656296, 0.3590862452983856, -0.8286919593811035, -0.21455664932727814, -0.6730512380599976, -0.22787915170192719, 0.6994913816452026, -0.40138697624206543, 0.619297206401825, -0.4277123808860779, 0.11831830441951752, -0.2293664664030075, -0.11486371606588364, -0.21461749076843262, 0.3411049544811249, 0.5268839597702026, 0.7870112657546997, -1.085803747177124, 0.6259338855743408, 0.7964760661125183, 0.08947458863258362, -0.4205138385295868, 0.46221479773521423, 0.562403678894043, -0.8979046940803528, 0.4097498953342438, 0.34297114610671997, -0.10588205605745316, -0.1273188591003418, -0.6682581305503845, -0.7294192910194397, 0.6914891600608826, 0.6135408878326416, -0.45456960797309875, -0.08425488322973251, -0.033047255128622055, 0.40953052043914795, -0.5095512866973877, -0.19591133296489716, 0.2789669334888458, 0.545204222202301, 0.15630415081977844, -0.5255481004714966, 0.1801215261220932, -0.17451919615268707, 0.06526800245046616, 0.13406725227832794, -0.6494482159614563, 0.9029226899147034, 0.022049112245440483, -0.37275707721710205, -0.19152286648750305, 0.8503269553184509, 0.31877514719963074, 0.41624438762664795, 0.594243586063385, 0.5821123719215393, 0.5826496481895447, -0.026487179100513458, 1.1170824766159058, -0.2771120071411133, 0.03677445277571678, 0.7536198496818542, -0.04094616323709488, 0.4344867169857025, 0.05110366269946098, -0.029895439743995667, 0.5548881888389587, 0.5678993463516235, -0.1280118077993393, 0.2916933596134186, 0.07300145924091339, -0.5698211193084717, -0.35755905508995056, -0.15252548456192017, -0.3777289390563965, 0.4638213813304901, 0.6679660081863403, -0.4785799980163574, -0.1143023893237114, 0.3847625255584717, 0.567761242389679, 0.420683354139328, -0.5992616415023804, 0.4626365005970001, -0.13744351267814636, -0.3993106484413147, 0.5840041041374207, 0.2670571208000183, 1.1231777667999268, -0.7039886713027954, -0.015848467126488686, -0.07674022018909454, 0.14670158922672272, -0.187200129032135, -0.6550287008285522, 0.20562025904655457, -0.07349338382482529, -0.08894707262516022, -0.05549325793981552, 1.1534579992294312, -0.545341432094574, -0.6522250771522522, 0.15639494359493256, 0.19273266196250916, -0.23172719776630402, -0.3880966603755951, -0.6626494526863098, 0.18203549087047577, 0.011345375329256058, -0.41428136825561523, 0.40437260270118713, 0.2886071801185608, -0.2709788382053375, 0.5864222645759583, 1.180328607559204, 0.4315398037433624, 0.06129295378923416, 0.09208345413208008, 1.0349912643432617, -0.23797836899757385, -0.6004651188850403, -0.9062743186950684, 0.0012272654566913843, -0.3779461979866028, -0.12659583985805511, 1.0237212181091309, 0.28740644454956055, 0.8088424801826477, 0.08693814277648926, 0.9859634041786194, 0.29674068093299866, 0.4592128098011017, -0.7305301427841187, 0.8217554688453674, -0.6103633642196655, 0.4570005238056183, -0.08799327909946442, -0.6316469311714172, -0.29868337512016296, 0.3516163229942322, -0.29206955432891846, 0.08722183108329773, 0.34166592359542847, 0.9735978841781616, -0.14342810213565826, -0.2979130446910858, 0.420852929353714, 0.1797650009393692, 0.42271003127098083, 0.1035141572356224, 0.6387777328491211, -0.40181538462638855, 0.8424879312515259, -0.3256838619709015, -0.17603453993797302, -0.5509682893753052, -0.8448731303215027, -1.0471299886703491, -0.23359334468841553, -0.29479265213012695, -0.8229248523712158, 0.2759461998939514, 0.754639208316803, 0.8023010492324829, -0.7016097903251648, 0.37802854180336, 0.010801167227327824, 0.023481881245970726, -0.06698594242334366, -0.40043821930885315, 0.26026561856269836, -0.23602721095085144, -0.8804275989532471, 0.9096798896789551, 0.13524742424488068, 0.24521489441394806, -0.5479137301445007, 0.20880334079265594, 0.0025552958250045776, 0.4866253137588501, 0.6225030422210693, 0.1889202892780304, -0.7688347101211548, -0.32794633507728577, 0.07588759064674377, -0.19072598218917847, -0.1536586880683899, 0.6985925436019897, -0.7621322870254517, 0.49467024207115173, 0.5070825219154358, 0.7393311858177185, 0.11911827325820923, 0.3788721263408661, 0.4705452024936676, -1.1784013509750366, 0.22246691584587097, 0.08983372151851654, 0.3676595687866211, 0.638016402721405, -0.899648904800415, 0.07374298572540283, 0.6959377527236938, -0.2963922619819641, -1.0640443563461304, 0.52140873670578, -0.6972965598106384, -0.6442718505859375, 1.4767425060272217, 0.15847547352313995, -0.39232906699180603, -0.22797881066799164, -0.22886250913143158, 0.1962103545665741, -0.574246883392334, 0.7590392827987671, 0.4869087040424347, 0.07961960881948471, -0.08673418313264847, -0.40049314498901367, 0.6380408406257629, 0.10358058661222458, -0.6932353973388672, -0.10763867199420929, 0.5444998145103455, 0.4191252887248993, 0.2997516989707947, 0.33031392097473145, -0.050665292888879776, 0.5022007822990417, -0.14582471549510956, -0.21580086648464203, -0.41057446599006653, -0.44452473521232605, -0.38522961735725403, 0.0644192099571228, -0.30532318353652954, -0.022520339116454124 ]
http://arxiv.org/abs/2406.11258v1
http://arxiv.org/pdf/2406.11258v1
Enhancing Biomedical Knowledge Retrieval-Augmented Generation with Self-Rewarding Tree Search and Proximal Policy Optimization
2024-06-17T06:48:31
2024-06-17T06:48:31
Minda Hu, Licheng Zong, Hongru Wang, Jingyan Zhou, Jingjing Li, Yichen Gao, Kam-Fai Wong, Yu Li, Irwin King
cs.CL
cs.CL
Large Language Models (LLMs) have shown great potential in the biomedical domain with the advancement of retrieval-augmented generation (RAG). However, existing retrieval-augmented approaches face challenges in addressing diverse queries and documents, particularly for medical knowledge queries, resulting in sub-optimal performance. To address these limitations, we propose a novel plug-and-play LLM-based retrieval method called Self-Rewarding Tree Search (SeRTS) based on Monte Carlo Tree Search (MCTS) and a self-rewarding paradigm. By combining the reasoning capabilities of LLMs with the effectiveness of tree search, SeRTS boosts the zero-shot performance of retrieving high-quality and informative results for RAG. We further enhance retrieval performance by fine-tuning LLMs with Proximal Policy Optimization (PPO) objectives using the trajectories collected by SeRTS as feedback. Controlled experiments using the BioASQ-QA dataset with GPT-3.5-Turbo and LLama2-7b demonstrate that our method significantly improves the performance of the BM25 retriever and surpasses the strong baseline of self-reflection in both efficiency and scalability. Moreover, SeRTS generates higher-quality feedback for PPO training than self-reflection. Our proposed method effectively adapts LLMs to document retrieval tasks, enhancing their ability to retrieve highly relevant documents for RAG in the context of medical knowledge queries. This work presents a significant step forward in leveraging LLMs for accurate and comprehensive biomedical question answering.
[ 0.026558512821793556, -0.558724582195282, 0.931671679019928, -0.10616829991340637, -0.37665268778800964, 0.3333427608013153, 0.1539018303155899, -0.2926466763019562, 0.44072988629341125, 0.6578935384750366, -0.443196564912796, -0.3876212239265442, -0.3787326514720917, 0.20838554203510284, 0.1817735731601715, 1.0602951049804688, 0.16618473827838898, 0.03033444471657276, -0.4167575538158417, 0.065752774477005, -0.18432532250881195, -0.4349498748779297, -0.5808820128440857, -0.22983166575431824, 0.8877222537994385, 0.2677114009857178, 0.35124868154525757, 0.5977315306663513, 0.7005682587623596, 0.21529406309127808, -0.28134649991989136, 0.508120596408844, -0.49093055725097656, 0.324965238571167, -0.362025648355484, -0.3308935761451721, -0.3386574387550354, -0.3557550013065338, 0.4705314338207245, 0.15198524296283722, -0.12781646847724915, 0.028945431113243103, -0.01198504213243723, 0.6840503215789795, -0.699727475643158, 0.17744693160057068, -0.7494826316833496, -0.05479063466191292, -0.2675325274467468, -0.937313437461853, -0.19320647418498993, -0.39840081334114075, 0.051342375576496124, -0.590059220790863, 0.02536347135901451, 0.037235744297504425, 0.5879808068275452, 0.2669731080532074, -0.462323397397995, -0.27066269516944885, -0.26404350996017456, 0.5321691632270813, -0.8199454545974731, 0.2842455804347992, 0.45332783460617065, 0.2839169502258301, -0.40623947978019714, -0.6134918332099915, -0.2556646168231964, -0.28190723061561584, -0.0656309500336647, 0.3945820927619934, 0.058547258377075195, 0.28178671002388, 0.04608054831624031, 0.2501080632209778, -0.6032335758209229, -0.06840158998966217, -0.09093370288610458, -0.11143834888935089, 0.5396890044212341, 0.02903534471988678, -0.0181194469332695, -0.46406546235084534, -0.1359023153781891, -0.191910520195961, -0.9168781638145447, 0.1735815554857254, 0.005352785345166922, 0.09420893341302872, 0.5292867422103882, 0.5913339257240295, -0.1919502168893814, 0.5760601162910461, -0.1039910838007927, -0.4359550178050995, 0.20381705462932587, -0.36862826347351074, 0.03068491443991661, -0.03709925711154938, 0.7544595003128052, 0.1328883171081543, -0.264719694852829, -0.2924938499927521, -0.295981228351593, -0.48381635546684265, 0.24586044251918793, -0.9425662755966187, -0.013515735045075417, 0.09883933514356613, -0.2893981635570526, -0.5652276873588562, -0.45997267961502075, -0.6447831988334656, -0.3713020384311676, 0.06922996789216995, 0.7199493050575256, -0.5843124985694885, -0.04069211333990097, -0.0011973031796514988, 0.03253680840134621, -0.0872843861579895, 0.21135415136814117, -0.7819340229034424, 0.020403094589710236, 0.43990540504455566, 0.7383294701576233, -0.11454509943723679, 0.20008905231952667, -0.7946496605873108, 0.4991700351238251, -0.335724413394928, 0.7524036765098572, -0.5687028765678406, -0.564619779586792, -0.19873081147670746, 0.03820713236927986, 0.04705750569701195, -0.658454179763794, 0.5597261190414429, -0.7508019804954529, 0.08239961415529251, -0.3269398510456085, -0.44191211462020874, -0.03245489299297333, 0.2941364049911499, -0.1464981883764267, 0.8227530717849731, 0.16344036161899567, -0.7522425651550293, 0.218197762966156, -0.6099931001663208, -0.46831223368644714, 0.44802555441856384, -0.6017551422119141, -0.6122962832450867, 0.05339924991130829, 0.3417153060436249, 0.3949055075645447, -0.24638791382312775, 0.44792622327804565, -0.2062446027994156, -0.16402702033519745, 0.09462042152881622, -0.12843655049800873, 0.5216116309165955, 0.2807413935661316, -0.25685441493988037, 0.029286473989486694, -0.5625804662704468, 0.13865381479263306, 0.20772472023963928, -0.29027223587036133, -0.4144878387451172, 0.252702921628952, -0.6436204314231873, 0.16719789803028107, 0.383472204208374, -0.7819141745567322, 0.3936033546924591, -0.6066691875457764, 0.23050904273986816, 0.5877761244773865, 0.36070534586906433, 0.13054293394088745, -0.40620797872543335, 0.5483652353286743, 0.0668659508228302, 0.12467514723539352, -0.13990114629268646, -0.2903880476951599, -0.019029811024665833, -0.34499871730804443, 0.25306785106658936, 0.44737645983695984, -0.8735389709472656, 0.3171660006046295, -0.11201802641153336, -0.3993688225746155, -0.6762405633926392, -0.13696090877056122, 0.5697372555732727, 0.8412689566612244, 0.6418371200561523, -0.16419251263141632, -0.44070908427238464, -0.769008219242096, -0.12054900079965591, -0.17921361327171326, -0.02706758677959442, 0.8347446918487549, 0.3146519958972931, -0.23640771210193634, 0.9160212874412537, -0.5291318893432617, -0.3334701359272003, 0.06928334385156631, 0.12794075906276703, 0.3612155318260193, 0.42690566182136536, 0.34352028369903564, -0.5815960168838501, -0.20252558588981628, 0.11284911632537842, -0.5308235287666321, -0.22123558819293976, 0.05178622901439667, 0.008483926765620708, 0.16430963575839996, 0.2920210063457489, -0.2905261218547821, 0.2781960964202881, 0.3326475918292999, -0.19372738897800446, 0.6528621315956116, -0.5697651505470276, 0.328794002532959, -0.7821252346038818, 0.27993205189704895, -0.4462587237358093, -0.31957241892814636, -0.01428068708628416, -0.12683738768100739, 0.11269625276327133, 0.18222229182720184, -0.26158663630485535, 0.4609420597553253, -0.37852102518081665, -0.18562602996826172, -0.2968117892742157, -0.04429585859179497, 0.04608982801437378, 0.24702873826026917, -0.008751829154789448, 1.108608365058899, 0.31663885712623596, -0.5314329862594604, -0.0033638898748904467, 0.22241060435771942, 0.04387408867478371, 0.3017670512199402, -0.5461118817329407, -0.056010086089372635, -0.3685623109340668, 0.23063907027244568, -0.7303576469421387, 0.007683883886784315, 0.05062665045261383, -0.39940962195396423, 0.3834872543811798, -0.11552686989307404, -0.5615337491035461, -0.4529089629650116, -0.30310386419296265, 0.36043885350227356, 0.5561217069625854, -0.5372121930122375, 0.32518041133880615, 0.4407179653644562, -0.23148113489151, -0.5802863836288452, -0.18341615796089172, -0.059112560003995895, -0.11343109607696533, -0.3733927011489868, 0.5947750806808472, -0.02648526057600975, 0.3715801239013672, -0.06071576103568077, -0.4134969115257263, 0.409951776266098, 0.02186240628361702, -0.08166894316673279, 0.15295270085334778, 0.028366293758153915, 0.2781308889389038, 0.44568559527397156, -0.06873273849487305, 0.04134829342365265, -0.4487544596195221, 0.28605619072914124, -0.015955952927470207, -0.3124978840351105, -0.059262845665216446, 0.050784528255462646, 0.17166341841220856, -0.5407015681266785, 0.4237799346446991, 0.45330244302749634, 0.003110327059403062, 0.1287228763103485, -0.6345925331115723, -0.528071939945221, -0.44878360629081726, 0.4293312430381775, -0.5694822669029236, -1.2829365730285645, 0.21167366206645966, -0.37826621532440186, 0.03639354929327965, 0.4083619713783264, 0.547473132610321, -0.4351116418838501, 1.332948088645935, 0.16025984287261963, 0.2614310681819916, 0.2825479209423065, -0.24068181216716766, 0.07458315789699554, -1.0831918716430664, -0.4674825668334961, -0.4364292323589325, -0.07150972634553909, -0.7463846802711487, -0.5993152260780334, 0.9718278646469116, 0.1651843637228012, -0.13097843527793884, 0.006732358131557703, -0.7538755536079407, 0.3961509168148041, 0.6461571455001831, 0.40958303213119507, 0.4722039997577667, 0.04796213656663895, -0.6111944317817688, 0.019367801025509834, -1.06830894947052, -0.30773305892944336, 1.0916755199432373, 0.09542150795459747, 0.6038026809692383, -0.0027390625327825546, 1.1235724687576294, -0.05846981704235077, 0.2789957523345947, -0.3881702125072479, 0.493371844291687, -0.27744749188423157, -0.38145777583122253, -0.38030296564102173, -0.7737135291099548, -1.315567135810852, 0.15692894160747528, -0.12679749727249146, -0.7578052878379822, 0.17207765579223633, 0.17062795162200928, -0.47682449221611023, 0.2497587651014328, -0.2483063042163849, 0.765823483467102, -0.5395597219467163, -0.6849958896636963, -0.27229025959968567, -0.8279985189437866, 0.23382046818733215, -0.05392928421497345, 0.24540512263774872, -0.21636657416820526, -0.10815653204917908, 0.6764299869537354, -0.2961861789226532, 0.35908031463623047, -0.19959770143032074, 0.05482947826385498, 0.27697062492370605, 0.31559205055236816, 0.6223325133323669, 0.23401404917240143, -0.015065397135913372, -0.3029104769229889, 0.590114176273346, -0.3083251416683197, -0.5298159718513489, 0.638845682144165, -0.7058318853378296, -0.6857589483261108, -0.550887942314148, -0.7523383498191833, -0.511527955532074, 0.285267174243927, 0.08366690576076508, 0.2910609245300293, 0.052270516753196716, 0.34688201546669006, 0.7986508011817932, -0.4756809175014496, 0.08395064622163773, 0.788029670715332, -0.49731701612472534, -0.46920838952064514, 1.1208213567733765, 0.24123120307922363, 0.02923969365656376, 0.6537151336669922, 0.5988670587539673, -0.6193575263023376, -0.5991800427436829, -0.18180713057518005, 0.5039117336273193, -0.112545445561409, -0.7263816595077515, -0.8325548768043518, -0.3641180992126465, -0.5710667371749878, 0.14217795431613922, -0.1499994546175003, -0.36331427097320557, -0.1828678399324417, 0.10817514359951019, 0.45470762252807617, 0.4852616488933563, -0.43530410528182983, 0.3376755714416504, -0.860750138759613, 0.31713154911994934, 0.34318938851356506, 0.4721232056617737, -0.2922360599040985, -0.4823661744594574, -0.25753074884414673, 0.03234165906906128, -0.5415324568748474, -0.9978243112564087, 0.5197874903678894, -0.02545413002371788, 0.566603422164917, 0.13530606031417847, -0.04981759190559387, 0.5400669574737549, -0.405355304479599, 0.19421978294849396, 0.06474484503269196, -0.24100318551063538, 0.7392115592956543, -0.6013867855072021, 0.19894391298294067, 0.5463388562202454, 0.3009846806526184, -0.18913741409778595, -0.3680127263069153, -0.8521631956100464, -0.8651949167251587, 0.6398124694824219, 0.23147052526474, -0.3080778419971466, -0.1829712688922882, 0.514297604560852, -0.14912213385105133, 0.21570870280265808, -0.2980002164840698, 0.12495587021112442, -0.002268802607432008, -0.19932492077350616, 0.08081967383623123, -0.4556145668029785, -0.247751384973526, -0.2586643397808075, 0.9850687980651855, -0.3792152404785156, 0.1540396511554718, 0.5867338180541992, 0.2532406449317932, -0.14688585698604584, 0.30347341299057007, 0.2300744652748108, 0.3053477704524994, -0.6149470806121826, 0.14237456023693085, 0.07247798889875412, -0.2823212742805481, 0.12536506354808807, 0.24256283044815063, -0.37146255373954773, -0.08596396446228027, -0.13939258456230164, 0.4713198244571686, 0.14683113992214203, -0.8166152238845825, 0.403647780418396, 0.09739185124635696, -0.17159241437911987, 0.15004266798496246, 0.21377688646316528, 0.17396895587444305, 0.34470728039741516, 0.46669599413871765, -0.42935723066329956, 0.446210652589798, -0.2489968240261078, 0.409219890832901, 0.7859457731246948, -0.1146436482667923, 0.13316132128238678, 0.7143954634666443, -0.0275057852268219, -0.1835019290447235, 0.19218869507312775, -0.33690154552459717, -0.31449365615844727, 0.46661773324012756, 0.8019846677780151, 0.45861679315567017, -0.3565419912338257, 0.35851171612739563, 0.5334258675575256, 0.08363094180822372, 0.03607620298862457, 0.3833109140396118, -0.19414810836315155, -0.40848806500434875, -0.6342650651931763, -0.7852932810783386, -0.369651198387146, 0.03846914693713188, -0.1995922178030014, 0.04165004938840866, -0.08714465796947479, -0.2624448835849762, -0.3079642653465271, 0.3243510127067566, -0.3520336151123047, 0.23639729619026184, -0.2383047342300415, 0.7058088779449463, -0.23917482793331146, 0.8178607821464539, 0.5436615943908691, -0.45859766006469727, -0.8628689646720886, -0.27267393469810486, -0.35947656631469727, -0.9063794612884521, 0.5354366898536682, -0.21974414587020874, -0.052467573434114456, 0.40015909075737, -0.40669935941696167, -1.0605958700180054, 1.294943928718567, 0.30523690581321716, -0.8521029353141785, -0.3271869122982025, 0.10083456337451935, 0.6459570527076721, -0.2243778258562088, 0.5523003935813904, 0.5854698419570923, 0.23996606469154358, 0.4887174367904663, -0.7870204448699951, -0.03856766223907471, 0.16421769559383392, 0.07435383647680283, 0.09953244030475616, -0.5795606970787048, 0.2055288553237915, -0.23040182888507843, 0.1816207319498062, -0.08761551231145859, 0.4528592526912689, 1.0020756721496582, 0.404710054397583, 0.28637611865997314, 0.471567302942276, 0.7225049734115601, 0.20969600975513458, 1.0747628211975098, -0.5019933581352234, 0.2911405563354492, 0.9027079343795776, -0.05163184925913811, 0.5935811996459961, 0.6241084933280945, -0.27931633591651917, 0.3248896896839142, 0.5552048087120056, 0.3035666048526764, 0.5791434645652771, 0.35260722041130066, -0.312364786863327, -0.31442755460739136, -0.4232631027698517, -0.46617063879966736, 0.19167113304138184, 0.38229355216026306, -0.4088688790798187, -0.3257302939891815, -0.1104632169008255, 0.11419756710529327, -0.07060619443655014, -0.18447795510292053, 1.0192992687225342, 0.04640917107462883, -0.7506409883499146, 0.47740671038627625, -0.18975357711315155, 0.4027070701122284, -0.6971387267112732, -0.137408047914505, -0.2696188986301422, -0.09863471984863281, -0.18934202194213867, -0.8076192736625671, 0.11888101696968079, -0.17109642922878265, 0.1469881385564804, -0.18914353847503662, 0.8673717975616455, -0.45191630721092224, -0.4559301435947418, 0.20356304943561554, 0.6607304215431213, 0.24207636713981628, -0.03900781273841858, -0.7091671824455261, -0.3337952792644501, -0.039685461670160294, -0.3389851748943329, 0.533318042755127, 0.6395660042762756, -0.006976113189011812, 0.6099799871444702, 0.8389670252799988, 0.33643433451652527, -0.1804865598678589, -0.10280583798885345, 0.958551824092865, -0.4457244277000427, -0.35326799750328064, -0.5661925077438354, 0.1028061956167221, -0.006498128175735474, 0.14208175241947174, 0.40777793526649475, 0.8644071221351624, 0.4747786819934845, 0.13353535532951355, 0.6191509366035461, -0.06796804815530777, 1.0266120433807373, -0.37139755487442017, 0.6706922054290771, -0.828907310962677, 0.27304160594940186, -0.20492659509181976, -0.6011332273483276, -0.245258167386055, 0.6227191090583801, -0.5172418355941772, -0.010982349514961243, 0.5316584706306458, 0.974563479423523, 0.17496003210544586, -0.2973468601703644, 0.39342713356018066, 0.4374515414237976, 0.49074020981788635, 0.5602756142616272, 0.5120536088943481, -0.18689636886119843, 0.5687999129295349, -0.16138732433319092, -0.36032772064208984, -0.2516616880893707, -0.7420341968536377, -0.4485815763473511, -0.4593771696090698, -0.09241271764039993, -0.4168975353240967, 0.632681131362915, 0.7862675189971924, 0.6607389450073242, -0.5758760571479797, -0.18562637269496918, -0.25600314140319824, 0.16657748818397522, 0.04237600043416023, -0.19161352515220642, 0.5190434455871582, -0.8305225372314453, -0.22252458333969116, 0.5627970099449158, 0.4476815462112427, -0.05979429557919502, -0.07813204824924469, -0.1735052466392517, -0.3722682595252991, -0.013831363059580326, 0.6171825528144836, 0.3689379096031189, -0.39216649532318115, -0.10290876775979996, 0.29173848032951355, -0.21457238495349884, 0.28323861956596375, 0.7031570076942444, -1.3358291387557983, 0.47785767912864685, 0.5180689096450806, 0.8937222361564636, 0.8839483857154846, 0.09114550054073334, 0.3226844370365143, -0.5994002819061279, -0.37504902482032776, 0.7153469324111938, 0.07404480129480362, 0.06304777413606644, -0.47808364033699036, 0.7225751280784607, 0.3846922516822815, -0.9788936376571655, -0.730376124382019, 0.12137280404567719, -0.8071431517601013, -0.3046177923679352, 1.0389620065689087, 0.0881790891289711, -0.3239626884460449, 0.15243209898471832, -0.5024571418762207, 0.3931792080402374, -0.39408257603645325, 1.003896713256836, 0.09779968112707138, -0.5530645251274109, -0.22571972012519836, -0.412884920835495, 0.7866790294647217, 0.78049635887146, -0.8993929624557495, -0.2511497139930725, 0.4005841016769409, 0.17055559158325195, -0.1456618309020996, 0.958042323589325, -0.481293261051178, 0.28898555040359497, -0.5406032800674438, -0.04059239476919174, -0.10608574748039246, -0.30911123752593994, -0.00956164114177227, 0.07438507676124573, 0.13862068951129913, 0.09591194987297058 ]
http://arxiv.org/abs/2406.11256v1
http://arxiv.org/pdf/2406.11256v1
Dynamic Data Mixing Maximizes Instruction Tuning for Mixture-of-Experts
2024-06-17T06:47:03
2024-06-17T06:47:03
Tong Zhu, Daize Dong, Xiaoye Qu, Jiacheng Ruan, Wenliang Chen, Yu Cheng
cs.CL
cs.CL
Mixture-of-Experts (MoE) models have shown remarkable capability in instruction tuning, especially when the number of tasks scales. However, previous methods simply merge all training tasks (e.g. creative writing, coding, and mathematics) and apply fixed sampling weights, without considering the importance of different tasks as the model training state changes. In this way, the most helpful data cannot be effectively distinguished, leading to suboptimal model performance. To reduce the potential redundancies of datasets, we make the first attempt and propose a novel dynamic data mixture for MoE instruction tuning. Specifically, inspired by MoE's token routing preference, we build dataset-level representations and then capture the subtle differences among datasets. Finally, we propose to dynamically adjust the sampling weight of datasets by their inter-redundancies, thus maximizing global performance under a limited training budget. The experimental results on two MoE models demonstrate the effectiveness of our approach on both downstream knowledge \& reasoning tasks and open-ended queries. Code and models are available at https://github.com/Spico197/MoE-SFT .
[ -0.5047763586044312, -0.8065617084503174, 0.1313491314649582, 0.20639796555042267, -0.26644718647003174, 0.42076337337493896, -0.25291919708251953, -0.26726940274238586, 0.3114635944366455, 0.41864079236984253, -0.695121705532074, -0.2747270166873932, -0.6109483242034912, -0.20565097033977509, -0.47645440697669983, 0.7300227880477905, 0.026872573420405388, 0.10452920198440552, -0.3662165105342865, -0.07618818432092667, -0.8470359444618225, -0.06388784199953079, -0.5010778307914734, -0.22471165657043457, 0.49647390842437744, 0.6938672065734863, 0.3927435278892517, 1.089640498161316, 0.3350055515766144, 0.29598695039749146, 0.09915103018283844, 0.7157866954803467, -0.622521698474884, 0.3868512809276581, -0.19283534586429596, -0.7634175419807434, -0.4969376027584076, -0.09496369957923889, 0.6447584629058838, 0.6389054656028748, -0.4476974904537201, -0.08780443668365479, -0.003691885620355606, 0.568569540977478, -0.7640851140022278, 0.09918323904275894, -0.8539456725120544, 0.22599199414253235, -0.2404680848121643, -0.5243800282478333, -0.28323695063591003, -0.19139216840267181, 0.08283384889364243, -0.7765706777572632, 0.2928359806537628, -0.01990983821451664, 0.5147563815116882, 0.6450694799423218, -0.6187379956245422, -0.1772276610136032, -0.6772180795669556, 0.9511926174163818, -0.5022002458572388, 0.28428739309310913, 0.19775773584842682, 0.4089149236679077, -0.17552095651626587, -0.3154938519001007, -0.4361249804496765, 0.1998468041419983, 0.2905612289905548, 0.28018155694007874, 0.0943366214632988, -0.04296492412686348, -0.036526113748550415, 0.5311052203178406, -0.07687998563051224, 0.18063496053218842, -0.3285161852836609, 0.06186281144618988, 0.719020664691925, 0.31061044335365295, 0.18674828112125397, 0.3304789662361145, -0.4993022084236145, -0.1786588728427887, -0.5421066880226135, -0.06275623291730881, 0.577366828918457, 0.035925596952438354, -0.031783148646354675, 0.31047600507736206, -0.3564218282699585, 0.883953332901001, 0.4217333197593689, 0.061552759259939194, 0.09636736661195755, -0.17994160950183868, 0.011399383656680584, 0.12805995345115662, 0.35597866773605347, 0.48276814818382263, 0.1705724000930786, -0.24831035733222961, -0.3852360248565674, -0.1635267436504364, 0.4406924545764923, -0.6461008787155151, -0.7268239259719849, -0.008237519301474094, -0.016611116006970406, -0.49900391697883606, 0.19827066361904144, -0.8362720608711243, -0.3829018771648407, -0.6764512062072754, 0.4101535677909851, -0.3605515956878662, -0.44253379106521606, 0.13290376961231232, -0.13605822622776031, -0.25544217228889465, 0.3099270462989807, -1.1047481298446655, 0.19392868876457214, 0.8408887386322021, 0.49641796946525574, -0.3449036180973053, -0.12086217850446701, -0.7298519611358643, 0.15361934900283813, -0.30020177364349365, 0.6899079084396362, -0.9737020134925842, -0.47577691078186035, -0.3565029203891754, -0.49848467111587524, -0.29581260681152344, -0.8329123258590698, 0.00963252130895853, -0.611827552318573, 0.07787603884935379, -0.42170679569244385, -0.7871392965316772, -0.18626512587070465, 0.06413809955120087, -0.5115377306938171, 1.266898274421692, 0.17344948649406433, -0.5704725980758667, 0.4424488842487335, -0.5863758325576782, -0.5335355401039124, -0.10569049417972565, -0.3829343020915985, -0.18229152262210846, 0.3141143023967743, 0.3763744831085205, 0.29913681745529175, 0.03743612766265869, 0.482422411441803, -0.2106301486492157, -0.6122792363166809, 0.055441055446863174, -0.7035260796546936, 0.5511828660964966, 0.1266983300447464, -0.3841332197189331, 0.13227687776088715, -0.9312531352043152, 0.02334764413535595, -0.07754503190517426, -0.646050214767456, -0.3768029510974884, 0.29803287982940674, -0.3078474998474121, -0.14100638031959534, 0.30594202876091003, -0.2702142298221588, 0.4393618106842041, -0.06305468827486038, 0.42582595348358154, 1.1285396814346313, -0.03338802233338356, 0.5275824069976807, -0.46576282382011414, 0.5578048229217529, 0.288944810628891, 0.0747699961066246, -0.25503140687942505, -0.563023567199707, -0.9575701951980591, -0.5103788375854492, 0.5900513529777527, 0.6964911818504333, -0.8980507850646973, 0.6873971223831177, -0.33524852991104126, -0.4599992632865906, -0.642406702041626, 0.13774697482585907, 0.06833985447883606, 0.6469548940658569, 0.524899959564209, -0.20410336554050446, -0.3181650936603546, -0.6766436696052551, -0.21317462623119354, 0.18079841136932373, 0.08595357090234756, 0.38881659507751465, 0.0893397107720375, 0.06070474535226822, 1.0434231758117676, -0.6154803037643433, 0.21884380280971527, -0.004818038549274206, 0.17021958529949188, 0.0729735791683197, 0.7654516100883484, 0.520552396774292, -0.7984579205513, -0.5740889310836792, -0.059213798493146896, -0.5530802607536316, -0.27419379353523254, -0.14746136963367462, -0.6902006268501282, -0.4098700284957886, 0.21618512272834778, -0.371613085269928, 0.2141750603914261, 0.4339722990989685, 0.03232258930802345, 0.26938533782958984, -0.28323832154273987, 0.19132137298583984, -1.0243306159973145, -0.40244168043136597, -0.259724497795105, -0.17277701199054718, -0.2932485044002533, 0.21743537485599518, 0.1542653888463974, 0.022798500955104828, -0.07379086315631866, 0.49083754420280457, -0.42528584599494934, 0.23468266427516937, -0.23585975170135498, -0.21609172224998474, -0.14848679304122925, 0.5730932354927063, -0.23649542033672333, 0.859555184841156, 0.8158846497535706, -0.7187133431434631, 0.6748932003974915, 0.018186941742897034, -0.4161454737186432, 0.6709948778152466, -0.5004225969314575, 0.08041639626026154, 0.06473049521446228, 0.1711236834526062, -0.7597720623016357, -0.5086313486099243, 0.2902958393096924, -0.16958419978618622, 0.5938615798950195, -0.17466121912002563, -0.4978954493999481, -0.12243548035621643, -0.09921684116125107, 0.42116379737854004, 0.5950102210044861, -0.5113434195518494, 0.7324870824813843, 0.3028717637062073, -0.1570105105638504, -0.5628538131713867, -0.7395094037055969, -0.16961520910263062, -0.18800269067287445, -0.4936268627643585, 0.5811213850975037, -0.12245219200849533, 0.09414402395486832, 0.20799125730991364, -0.5589526891708374, -0.40140458941459656, 0.1915714144706726, -0.08916915208101273, 0.22117380797863007, -0.3273666203022003, 0.014226340688765049, 0.8386304378509521, -0.11706478148698807, -0.1412809193134308, -0.41055434942245483, 0.3839093744754791, 0.3741472065448761, -0.7370961904525757, -0.4712900221347809, 0.5016027092933655, 0.637535035610199, -0.4238079786300659, 0.835394561290741, 0.6327366232872009, -0.12905867397785187, -0.3927694261074066, -0.5482540130615234, -0.3925457298755646, -0.5218753814697266, 0.40957897901535034, -0.04702894017100334, -0.49593862891197205, 0.47319817543029785, -0.07555016130208969, 0.4335770606994629, -0.08201079070568085, 0.28886133432388306, -0.15161462128162384, 0.9592894911766052, 0.2551366090774536, -0.17400869727134705, 0.8930659890174866, -0.3208635151386261, 0.27441322803497314, -0.5018479824066162, -0.2338910549879074, -0.03122294880449772, -0.8743965029716492, -0.37249481678009033, -0.5032745599746704, 0.6559012532234192, 0.06160666048526764, -0.05041380599141121, -0.21228498220443726, -0.5375158190727234, 0.7631339430809021, 0.9142587780952454, 0.41569793224334717, 0.07207055389881134, 0.3053310215473175, -0.046354036778211594, 0.16758127510547638, -1.19607412815094, -0.12815214693546295, 1.1196293830871582, -0.026695242151618004, 0.706687331199646, -0.2275446057319641, 0.7794854044914246, 0.2595613896846771, 0.00595353776589036, -0.4938373267650604, 0.7117764353752136, -0.3063409626483917, -0.6188585758209229, -0.06681980192661285, -0.7341471910476685, -0.7136098146438599, 0.24757656455039978, -0.36568978428840637, -0.2081756442785263, 0.1361624300479889, 0.47598105669021606, -0.41132211685180664, 0.5983105897903442, -0.8431505560874939, 0.42500558495521545, -0.30328306555747986, -0.45982226729393005, -0.41797417402267456, -0.4789380431175232, 0.2655806541442871, -0.1730901300907135, -0.08973710238933563, -0.06480572372674942, -0.07583292573690414, 0.576924204826355, -0.5000021457672119, 0.7192072868347168, -0.29566827416419983, -0.04684741422533989, 0.25617724657058716, -0.05952553078532219, 0.47074151039123535, -0.054995473474264145, -0.15786214172840118, 0.11288748681545258, -0.4058404266834259, -0.7072017192840576, -0.7897221446037292, 0.8204143643379211, -0.7075022459030151, -0.536638081073761, 0.07396034151315689, -0.872782826423645, -0.3164461553096771, 0.173570916056633, 0.16544444859027863, 0.6600428223609924, 0.4985814094543457, 0.5774537920951843, 1.0033882856369019, 0.03725077211856842, 0.018134059384465218, 0.381102979183197, 0.31600433588027954, -0.3419923782348633, 1.1742193698883057, 0.3316434919834137, 0.19243009388446808, 0.6006417870521545, 0.15408851206302643, 0.04001724720001221, -0.5064531564712524, -0.5667470693588257, -0.17946521937847137, -0.4635084867477417, -0.12320511043071747, -0.41327738761901855, -0.037548892199993134, -0.019835473969578743, -0.26473721861839294, -0.5897261500358582, -0.3106116056442261, -0.5374400019645691, -0.013211510144174099, 0.4037328064441681, 0.42423921823501587, 0.05448675900697708, 0.5689117312431335, -0.887808620929718, 0.17376595735549927, 0.48706716299057007, 0.36231252551078796, 0.33663469552993774, -0.27817678451538086, -0.3635949194431305, 0.33063700795173645, -0.4855134189128876, -0.7045071721076965, -0.02103210613131523, 0.23844464123249054, 0.7702173590660095, 0.629351019859314, 0.31940335035324097, 0.9345813393592834, -0.4645002484321594, 0.5067692995071411, -0.007230434566736221, -0.6781054139137268, 0.3871276378631592, -0.5263457894325256, 0.03731726109981537, 0.5216929316520691, 0.26866692304611206, 0.005503702908754349, -0.4547542929649353, -0.41332191228866577, -1.0786949396133423, 0.8332159519195557, 0.22513598203659058, 0.258594810962677, 0.14775319397449493, 0.2615722119808197, 0.42035654187202454, 0.45936116576194763, 0.03584542125463486, -0.20685335993766785, -0.032457031309604645, -0.8467185497283936, 0.3612363338470459, 0.045795563608407974, -0.27106785774230957, -0.509130597114563, 0.5214506387710571, 0.13595183193683624, 0.3862304985523224, -0.4750973582267761, 0.08644383400678635, -0.04229796305298805, -0.22267396748065948, 0.45080476999282837, 0.7920216917991638, -0.1110081747174263, -0.040114875882864, 0.06792546063661575, -0.5810175538063049, -0.01978411339223385, 0.10305310040712357, -0.28237462043762207, -0.2143547385931015, 0.3444035053253174, 0.9978141784667969, 0.6808594465255737, -0.6272695660591125, 0.2151380330324173, 0.1691880077123642, -0.07858578860759735, 0.17549391090869904, 1.080977201461792, -0.05723477154970169, 0.3869524598121643, 0.5451468229293823, 0.5248300433158875, -0.20180650055408478, -0.134069561958313, 0.12888585031032562, 0.08779345452785492, 0.20006868243217468, -0.2123820036649704, 0.666861891746521, 0.6080725193023682, -0.2344343662261963, 0.8518208265304565, 0.009866775013506413, -0.36221644282341003, 0.7649794816970825, 0.17024575173854828, 0.5258246064186096, -0.22378773987293243, -0.028627891093492508, -0.017391834408044815, -0.000020418272470124066, -0.06038390100002289, 0.2987609803676605, -0.4707795977592468, -0.5902537107467651, -0.1520245373249054, -0.2208295613527298, -0.48556187748908997, -0.14623616635799408, -1.0004205703735352, 0.3469465374946594, -0.3710249662399292, -0.0740106925368309, -0.38977083563804626, -0.15879712998867035, -0.5600229501724243, 0.21151341497898102, -0.22219884395599365, 0.8307891488075256, -0.7160844802856445, 0.6840989589691162, 0.846074640750885, 0.030571483075618744, -0.6078352928161621, 0.07483964413404465, -0.13078495860099792, -0.8353081941604614, 0.20911739766597748, -0.01785033941268921, 0.09577237814664841, 0.189396932721138, -0.4097767174243927, -0.629271388053894, 1.0400245189666748, 0.42569413781166077, -0.7128849625587463, -0.19415628910064697, -0.1505347043275833, 0.12267083674669266, -0.31151989102363586, 0.0842328891158104, 0.3348386585712433, 0.3349006474018097, 0.17661523818969727, -0.5164667367935181, -0.47403427958488464, -0.34011781215667725, -0.315684974193573, 0.22107282280921936, -0.7366030812263489, 1.0189640522003174, 0.09956680238246918, 0.06983927637338638, -0.19972245395183563, 0.8142160177230835, 0.2802066504955292, 0.5172719359397888, 0.6750918030738831, 0.5077155232429504, 1.2179040908813477, -0.1685289740562439, 0.81800776720047, -0.5769673585891724, 0.1385752409696579, 1.1239492893218994, -0.04315713793039322, 0.6136333346366882, 0.2024541199207306, -0.12530171871185303, 0.3593151271343231, 0.7873944044113159, 0.08417027443647385, 0.7949880361557007, -0.06966093927621841, -0.36639603972435, -0.42074716091156006, 0.27151837944984436, -0.4779910743236542, 0.3584478497505188, 0.3404753506183624, -0.11664681136608124, -0.10416049510240555, -0.01576349511742592, -0.14897571504116058, -0.08267121016979218, -0.26629966497421265, 0.5016294717788696, -0.41118523478507996, -0.6710823178291321, 0.6393136382102966, -0.07399359345436096, 0.7293370366096497, -0.6482771039009094, -0.05296933650970459, -0.4439745247364044, 0.13600096106529236, -0.08708229660987854, -0.7964013814926147, 0.027019016444683075, 0.04963110014796257, -0.4049135744571686, -0.2101830244064331, 0.30998581647872925, -0.7988599538803101, -0.4626934826374054, -0.228544682264328, 0.1511683613061905, -0.03840024396777153, 0.09257864207029343, -0.6061229705810547, 0.028915217146277428, 0.16259437799453735, -0.09197306632995605, 0.4009137749671936, 0.7122690081596375, 0.12663714587688446, 0.7574434876441956, 0.552212655544281, 0.24891126155853271, 0.6395379900932312, -0.3448376953601837, 1.0874022245407104, -0.27565446496009827, -0.7796092629432678, -0.5421064496040344, 0.6546328663825989, -0.174704909324646, -0.34555232524871826, 0.4568372070789337, 0.43119192123413086, 0.9753966331481934, -0.10357062518596649, 0.6777222156524658, 0.22614149749279022, 0.3429765999317169, -0.6819921135902405, 0.5440405607223511, -0.8727242946624756, 0.3044992685317993, 0.06319856643676758, -0.867680549621582, 0.15812744200229645, 0.6722567081451416, -0.19849276542663574, 0.3203715980052948, 0.15421538054943085, 0.6933858394622803, -0.6611118912696838, 0.17486652731895447, -0.019643612205982208, -0.09625387191772461, 0.26964423060417175, 0.5298815369606018, 0.7353376150131226, -0.038375068455934525, 0.2171947956085205, -0.3428494334220886, -0.31343385577201843, -0.6987643241882324, -0.742127001285553, -0.6841139197349548, -0.22085221111774445, -0.46535032987594604, 0.2533552944660187, 0.03640729933977127, 0.9768168926239014, 1.0685158967971802, -0.6591432094573975, 0.10001233965158463, -0.12986192107200623, 0.20719695091247559, -0.4430478513240814, -0.2405228316783905, 0.07303296774625778, -0.23394785821437836, -0.9727163910865784, 0.65587317943573, 0.11915064603090286, -0.0828055888414383, -0.12770245969295502, 0.05767107382416725, 0.05733616277575493, 0.35220858454704285, 0.36060631275177, -0.10518056154251099, -0.45425257086753845, 0.09809631109237671, -0.03037399798631668, 0.1623063087463379, -0.06972561776638031, 0.8561846017837524, -0.45348843932151794, 0.8741312026977539, 0.6454383730888367, 1.0494850873947144, 0.13624949753284454, 0.20201343297958374, 0.5411526560783386, -0.8891916275024414, 0.12475304305553436, 0.164381206035614, 0.11406118422746658, 0.15545512735843658, -0.5387243032455444, 0.2624755799770355, 0.5147821307182312, -0.383783221244812, -0.9625059962272644, -0.07677174359560013, -0.8979977369308472, -0.19630448520183563, 0.7014234066009521, -0.1021939143538475, 0.09066381305456161, 0.22012382745742798, -0.1624448001384735, 0.37951529026031494, -0.5781704187393188, 0.9165396690368652, 0.8740254640579224, -0.27935791015625, 0.08749077469110489, -0.6755367517471313, -0.17763571441173553, 0.5679261088371277, -0.56266850233078, -0.20274782180786133, 0.40015414357185364, 0.3160933554172516, -0.3435686230659485, 0.21750296652317047, 0.34548819065093994, 0.16630980372428894, 0.1356639564037323, -0.37121379375457764, -0.6098834872245789, -0.6946583986282349, 0.21429343521595, 0.09054204821586609, -0.37085530161857605, -0.7211926579475403 ]
http://arxiv.org/abs/2406.15483v1
http://arxiv.org/pdf/2406.15483v1
Duplicate Detection with GenAI
2024-06-17T06:42:13
2024-06-17T06:42:13
Ian Ormesher
cs.CL
cs.CL, cs.DB, cs.LG
Customer data is often stored as records in Customer Relations Management systems (CRMs). Data which is manually entered into such systems by one of more users over time leads to data replication, partial duplication or fuzzy duplication. This in turn means that there no longer a single source of truth for customers, contacts, accounts, etc. Downstream business processes become increasing complex and contrived without a unique mapping between a record in a CRM and the target customer. Current methods to detect and de-duplicate records use traditional Natural Language Processing techniques known as Entity Matching. In this paper we show how using the latest advancements in Large Language Models and Generative AI can vastly improve the identification and repair of duplicated records. On common benchmark datasets we find an improvement in the accuracy of data de-duplication rates from 30 percent using NLP techniques to almost 60 percent using our proposed method.
[ -0.3102627098560333, -0.6432863473892212, 0.24998065829277039, 0.056688860058784485, -0.13664238154888153, 0.2608415186405182, 0.20356346666812897, -0.5722439289093018, 0.037668123841285706, 0.9118514060974121, -0.5211260318756104, -0.5682021975517273, -0.17761731147766113, 0.2569754123687744, -0.5467292070388794, 0.855614960193634, -0.042088065296411514, 0.1074957400560379, -0.4411003887653351, -0.4096243679523468, -0.6092714071273804, -0.7416053414344788, -0.9486170411109924, -0.5801839828491211, -0.018797285854816437, 0.6398647427558899, 0.6788806319236755, 0.5900243520736694, 0.5479039549827576, 0.4121626317501068, 0.07650306075811386, 0.3543686270713806, -0.25869858264923096, 0.378086119890213, -0.07158371061086655, -0.7232449054718018, -0.35293132066726685, -0.27069592475891113, 0.7720942497253418, 0.6793599724769592, -0.3359823524951935, -0.03970029205083847, 0.029306717216968536, 1.0954368114471436, -0.37724682688713074, -0.06419473886489868, -0.6443896293640137, 0.17433671653270721, -0.28623324632644653, -0.4314318895339966, -0.23750220239162445, -0.5192472338676453, 0.1056603491306305, -0.6782568693161011, 0.8186166882514954, -0.15557125210762024, 0.7329127192497253, 0.22526566684246063, -0.36985427141189575, -0.2855435013771057, -1.1375923156738281, 0.6838053464889526, -0.5255205631256104, 0.2903616726398468, 0.27025264501571655, 0.273864209651947, -0.4093460142612457, -0.531458854675293, -0.672718346118927, -0.12144863605499268, -0.25347036123275757, -0.12458284199237823, -0.21423563361167908, -0.19152279198169708, 0.6992805004119873, 0.5922718048095703, -0.7442376613616943, 0.23644784092903137, -0.0798349380493164, -0.10966230183839798, 0.6462735533714294, 0.40606755018234253, 0.719954788684845, 0.008450975641608238, -0.5587514042854309, -0.23308095335960388, -0.3331253230571747, -0.25747814774513245, 0.5149291157722473, 0.1170707568526268, 0.2716645896434784, 0.3357372283935547, -0.3940514326095581, 0.6291784048080444, 0.04376906901597977, -0.14964182674884796, 0.5983084440231323, -0.46999266743659973, -0.43303826451301575, 0.10300806164741516, 0.7051860094070435, 0.07621603459119797, 0.42712265253067017, -0.11695633828639984, -0.027129214257001877, 0.25301221013069153, -0.02767946571111679, -0.28356054425239563, -0.2472819983959198, 0.18385355174541473, -0.4621817469596863, 0.059351492673158646, 0.26804956793785095, -0.9143558144569397, -0.43143895268440247, -0.6791695356369019, -0.269870787858963, -0.6733223795890808, -0.33004000782966614, -0.026327617466449738, -0.2715718448162079, 0.39472803473472595, 0.12007825076580048, -0.7777511477470398, 0.1346002221107483, 1.090033769607544, 0.6000534892082214, -0.1535584032535553, -0.4348238706588745, -0.4538920223712921, 0.30287376046180725, -0.29616743326187134, 0.7640498876571655, -0.5534229278564453, -0.2923712730407715, -0.04849395155906677, -0.13968037068843842, 0.03944602981209755, -1.2606414556503296, 0.6733781695365906, -0.47746893763542175, 0.23180536925792694, -0.45366376638412476, -0.7542036771774292, -0.18686042726039886, 0.17532534897327423, -0.8471730351448059, 0.7512814998626709, 0.2950820028781891, -0.424033522605896, 0.6999688744544983, -0.31203243136405945, -0.5713744759559631, 0.5818984508514404, 0.06997288018465042, -0.8420910835266113, -0.02298559620976448, 0.2718745768070221, 0.13296838104724884, -0.24109520018100739, 0.26626989245414734, -0.23502103984355927, -0.15790197253227234, 0.11135993152856827, -0.4144611656665802, 0.7407804727554321, 0.43885359168052673, -0.17684459686279297, -0.22582347691059113, -0.7615800499916077, -0.08123821765184402, 0.206512451171875, -0.359730064868927, -0.611379861831665, -0.093955397605896, 0.017710402607917786, 0.07011059671640396, 0.11894595623016357, -0.3673022985458374, 0.34917089343070984, -0.14023026823997498, 0.19665443897247314, 0.22653985023498535, 0.1037522479891777, 0.43699774146080017, -0.5543808937072754, 0.691008448600769, 0.34942126274108887, 0.30891793966293335, -0.1288415938615799, -0.5959054231643677, -0.8173514604568481, -0.22383347153663635, 0.2086498737335205, 0.8709472417831421, -0.7719926834106445, 0.6346026062965393, -0.39614221453666687, -0.3492177724838257, -0.6168413758277893, 0.7291706204414368, 0.2970203757286072, 0.43727296590805054, 0.20671002566814423, -0.5048230886459351, -0.8633853793144226, -1.059504747390747, -0.35307934880256653, 0.053958527743816376, -0.18186724185943604, 0.08627640455961227, -0.016910003498196602, -0.6352044343948364, 1.0110958814620972, -0.2856895625591278, -0.8680866956710815, -0.28520312905311584, 0.2899472713470459, 0.035613059997558594, 0.6716040372848511, 0.5429130792617798, -1.2415410280227661, -0.564475417137146, -0.13489410281181335, -1.2365895509719849, -0.18214178085327148, -0.37636250257492065, -0.07886753976345062, 0.6795527338981628, 0.2554166316986084, -0.5360892415046692, 0.49186787009239197, 0.33329764008522034, -0.17026229202747345, -0.15559186041355133, -0.23511669039726257, 0.5269262790679932, -1.0880476236343384, -0.01045414712280035, 0.20362482964992523, -0.41303038597106934, -0.9033977389335632, 0.003100296715274453, -0.04875093698501587, -0.3770667314529419, 0.000445277604740113, -0.17515131831169128, -0.6229019165039062, -0.3555571138858795, -0.30281758308410645, -0.018010219559073448, -0.035599518567323685, 0.3343949317932129, -0.18095268309116364, 0.6372179388999939, 0.3149704039096832, -0.5443081259727478, 0.5863072872161865, 0.7287782430648804, -0.6145766973495483, 0.9736180901527405, -0.4698706865310669, 0.3386037051677704, -0.31238123774528503, 0.21738804876804352, -0.8895374536514282, 0.042245618999004364, 0.40397441387176514, -0.5129190683364868, 0.305820107460022, -0.265237420797348, -0.5468249320983887, -0.5431481599807739, 0.044702667742967606, 0.40788304805755615, 0.38903719186782837, -0.7798853516578674, 0.7455126047134399, 0.27498406171798706, -0.21985802054405212, -0.4202021062374115, -0.9002377390861511, 0.30962905287742615, -0.020067408680915833, -0.7820546627044678, 0.2398805320262909, 0.04707784578204155, -0.07209362834692001, 0.05517534166574478, 0.046570777893066406, -0.25197967886924744, 0.28093916177749634, 0.30105888843536377, 0.2715097665786743, -0.17514151334762573, 0.25582563877105713, -0.23506894707679749, -0.3185393214225769, -0.1965738981962204, -0.3390105664730072, 0.9124181270599365, 0.028000591322779655, -0.38525834679603577, -1.146716833114624, 0.617516815662384, 0.7576497197151184, -0.17413580417633057, 0.7598269581794739, 0.3003167510032654, -0.5878856778144836, -0.07808075845241547, -0.8010522127151489, 0.3386808931827545, -0.4870513379573822, 0.10773500055074692, -0.3731345534324646, -0.29031842947006226, 0.5688332319259644, 0.1313886046409607, -0.23470032215118408, 0.3812887668609619, 0.20838294923305511, 0.06457846611738205, 0.8845180869102478, 0.4871153235435486, -0.8284028768539429, 0.5439211130142212, -0.3390302360057831, 0.49242570996284485, -0.5651170611381531, -0.5803300142288208, -0.7918556928634644, -0.33478814363479614, -0.5541207790374756, 0.047161560505628586, 0.04926133528351784, 0.3011680543422699, 0.15391278266906738, 0.49101224541664124, -0.6099870204925537, 0.41406747698783875, 0.7747215032577515, 0.07433540374040604, 0.791121780872345, 0.05483037978410721, 0.6183935403823853, 0.06008493900299072, -0.392548531293869, -0.39012715220451355, 0.8999132513999939, 0.04298487678170204, 0.630446195602417, 0.03830799087882042, 0.7944695949554443, 0.6283948421478271, 0.4915335774421692, -0.47725144028663635, 0.5914452075958252, -0.31508564949035645, -0.30552738904953003, -0.3860381543636322, -0.8306998610496521, -1.1295396089553833, -0.1984073668718338, -0.27545779943466187, -0.24831224977970123, 0.3125733733177185, 0.3946205973625183, -0.19901518523693085, 0.512657105922699, -0.8053517937660217, 0.528754472732544, -0.18454179167747498, 0.27616116404533386, -0.12776552140712738, -0.005787981674075127, 0.334573358297348, -0.12355847656726837, -0.20565809309482574, -0.07655448466539383, 0.20711521804332733, 0.6249655485153198, -0.5847688317298889, 0.21212852001190186, -0.2005808800458908, -0.061494432389736176, 0.23547641932964325, 0.038253895938396454, 0.5614227652549744, -0.021371955052018166, 0.03381093218922615, 0.31828540563583374, -0.27378788590431213, -0.37941882014274597, -0.6866233348846436, 0.987194836139679, -0.4919423758983612, -0.4569094479084015, -0.25880640745162964, -0.47277501225471497, 0.0478300005197525, -0.05808889865875244, 0.29550570249557495, 0.08595676720142365, -0.2115132212638855, 0.0543333925306797, 0.6264458894729614, -0.28894782066345215, 0.2519548535346985, 0.6140758991241455, 0.07342255115509033, -0.374156653881073, 0.7305450439453125, -0.09611665457487106, 0.21721012890338898, 0.19480982422828674, -0.2548663914203644, -0.09085751324892044, -0.2674098014831543, -0.3453826606273651, 0.16298967599868774, -0.4295961856842041, -0.42916813492774963, -0.890709638595581, 0.05443631112575531, -0.6822136044502258, 0.17562508583068848, -0.1880040019750595, 0.05221974477171898, -0.2718835175037384, 0.20298635959625244, 0.18921227753162384, 0.6154269576072693, 0.09350685030221939, 0.10596098005771637, -0.969789445400238, 0.7976447939872742, 0.5193223357200623, 0.36617180705070496, 0.07904815673828125, -0.22874408960342407, 0.2793433368206024, 0.2355412095785141, -0.017325496301054955, -0.6830511093139648, 0.6027202010154724, 0.03270895779132843, 0.5722147822380066, 0.37771204113960266, -0.21775422990322113, 0.5633774399757385, -0.09063463658094406, 0.44609272480010986, 0.07364867627620697, -1.0284157991409302, 0.6811090111732483, -0.12179853022098541, 0.05482737720012665, 0.666619062423706, 0.45972734689712524, -0.8245805501937866, -0.07827835530042648, -0.6248161792755127, -0.5431987047195435, 0.5474028587341309, 0.01405375637114048, -0.1355496048927307, 0.07443902641534805, 0.5174985527992249, -0.03538420423865318, 0.16982527077198029, -0.02430158481001854, -0.4035930037498474, 0.19883137941360474, -0.35127148032188416, -0.2919031083583832, -0.42801839113235474, 0.2327723205089569, -0.12832699716091156, 0.6693277359008789, 0.17621952295303345, 0.18842357397079468, 0.24649827182292938, -0.14642062783241272, -0.37177538871765137, 0.28843680024147034, 0.3098084330558777, 0.7090187072753906, -0.042420998215675354, -0.6358045935630798, -0.006793052423745394, -0.34657803177833557, 0.08015277236700058, 0.2283826619386673, -0.552636444568634, 0.30896973609924316, 0.12758968770503998, 0.49960261583328247, -0.27868226170539856, -0.41178062558174133, 0.4991791248321533, -0.019638994708657265, -0.12879879772663116, -0.9235419034957886, 0.05085809901356697, -0.16542616486549377, 0.08816491067409515, 0.46715667843818665, 0.03217180818319321, 0.22404366731643677, -0.9496216177940369, 0.4134977161884308, 0.5212221741676331, -0.07790087163448334, 0.09506484866142273, 0.476481169462204, 0.22554652392864227, -0.9855616092681885, 1.3291754722595215, 0.0634320005774498, -0.6886759996414185, 0.8097830414772034, 0.375617653131485, 0.9032861590385437, -0.4525613486766815, 0.3406352996826172, 0.12089812755584717, 0.15641829371452332, -0.3793025612831116, 0.3400781750679016, 0.214318186044693, -0.9247370362281799, -0.17795555293560028, -0.210096538066864, -0.33767402172088623, 0.465821772813797, -1.019007921218872, 0.17249347269535065, -0.49496838450431824, 0.010326901450753212, 0.36550402641296387, -0.09568999707698822, -0.9961878061294556, 0.013096497394144535, 0.21880529820919037, 0.6694408059120178, -0.9950889348983765, 0.6513575911521912, 0.14835283160209656, -0.598787784576416, -0.5172619819641113, -0.16531230509281158, -0.043207552284002304, -0.5896560549736023, 0.7175338268280029, 0.11483393609523773, 0.27674493193626404, -0.19852277636528015, -0.5049177408218384, -0.5191736817359924, 0.9734405279159546, 0.17794132232666016, -0.9816188812255859, 0.15101692080497742, 0.5984117388725281, 0.7175358533859253, -0.13035155832767487, -0.21864351630210876, 1.1587738990783691, 0.380026638507843, -0.241767019033432, -0.6675565838813782, -0.1564267873764038, -0.18187068402767181, 0.15719865262508392, 0.7699896693229675, -0.3853716254234314, 0.7242344617843628, 0.011413813568651676, -0.5697668790817261, 0.41828417778015137, 0.46607762575149536, -0.01744459755718708, 0.6839612722396851, 0.6270873546600342, 1.2263774871826172, 1.0036001205444336, -0.22229714691638947, 1.2196711301803589, 0.1275712251663208, 0.22473259270191193, 1.2346062660217285, -0.7415818572044373, 0.4408152401447296, 0.09737148135900497, -0.028993181884288788, 0.7088627219200134, 0.02798035368323326, -0.5252777934074402, 0.10263901203870773, 0.14583244919776917, -0.3225058317184448, -0.424789160490036, -0.17362405359745026, -0.32208317518234253, 0.476377934217453, 0.12566731870174408, -0.5583441853523254, 0.060266848653554916, 0.2926621735095978, -0.2648293375968933, 0.3314717710018158, -0.14777100086212158, 1.1003464460372925, -0.18632398545742035, -0.7734990119934082, 0.5459466576576233, -0.3511682450771332, 0.6746367812156677, -0.4033803343772888, -0.2633593678474426, -0.6589874625205994, 0.4592512845993042, -0.2568931579589844, -0.4857913553714752, 0.18697480857372284, -0.1100163534283638, -0.5188568234443665, -0.15014895796775818, 0.782789945602417, -0.6561183333396912, -0.27019986510276794, 0.23987330496311188, 0.31058210134506226, -0.032342638820409775, -0.20406652987003326, -0.6183269619941711, -0.12793679535388947, 0.14760668575763702, 0.22455978393554688, 0.052281465381383896, 0.33679789304733276, 0.0020373750012367964, 1.099456787109375, 0.830340564250946, 0.13804471492767334, -0.13400974869728088, 0.4802965819835663, 0.5116754174232483, -0.856363832950592, -0.29865485429763794, -0.6237968802452087, -0.13681134581565857, -0.5346113443374634, -0.3011556565761566, 0.566538393497467, 0.819978654384613, 1.1919376850128174, -0.02725885808467865, 0.932162344455719, 0.37596064805984497, 0.863609254360199, -0.4464605152606964, 0.4164825975894928, -0.16727957129478455, 0.46890807151794434, -0.262662410736084, -1.0052483081817627, -0.10180521756410599, 0.06896593421697617, 0.008010209538042545, -0.13744625449180603, 0.43332669138908386, 0.8526737093925476, 0.05217369645833969, 0.17571000754833221, 0.1894039809703827, -0.130812868475914, 0.3158344626426697, 0.9267963767051697, 0.9712356328964233, -0.6763551831245422, 0.7065997123718262, -0.18706144392490387, -0.14301957190036774, -0.10543728619813919, -0.25212839245796204, -0.7322389483451843, -0.5015385746955872, -0.6117075681686401, -0.3248783349990845, -0.022979233413934708, 0.5910131335258484, 0.3866952955722809, -1.1724226474761963, 0.17666353285312653, -0.09404527395963669, 0.07292088121175766, -0.368935227394104, -0.3252754509449005, 0.034930843859910965, -0.29363611340522766, -0.8069441318511963, 0.14928165078163147, 0.23970606923103333, 0.44695234298706055, -0.06878861784934998, 0.10902377218008041, -0.10631373524665833, -0.35365453362464905, 0.1397808939218521, 0.6286169290542603, -0.43270426988601685, -0.10307995229959488, -0.32102909684181213, -0.21903061866760254, 0.18287307024002075, 1.2708148956298828, -0.8216891884803772, 0.23467572033405304, 0.7730802297592163, 0.8483436107635498, 0.2780504524707794, 0.45137539505958557, 0.6722132563591003, -0.36738574504852295, 0.025900421664118767, 0.3556021749973297, 0.5138795375823975, 0.7201964259147644, -0.6979081630706787, 0.5908862352371216, 0.44994184374809265, -0.6099269986152649, -0.5136774778366089, 0.24800390005111694, -0.9854748249053955, -0.16788159310817719, 0.9798679947853088, -0.026519037783145905, 0.24128444492816925, -0.5282002091407776, 0.03098801150918007, 0.3321967124938965, -0.25450247526168823, 0.7923167943954468, 0.35587117075920105, 0.27875545620918274, 0.07151466608047485, -0.19945809245109558, 0.5988840460777283, 0.6237663626670837, -1.0154322385787964, -0.07713977992534637, 0.498428612947464, 0.4675249457359314, 0.37885668873786926, 0.45528218150138855, -0.017558259889483452, 0.22660157084465027, -0.30626773834228516, 0.12236720323562622, -0.06236042082309723, -0.29896655678749084, -0.5982069373130798, 0.03007590025663376, -0.3293713927268982, -0.4803991913795471 ]
http://arxiv.org/abs/2406.11250v1
http://arxiv.org/pdf/2406.11250v1
Can Machines Resonate with Humans? Evaluating the Emotional and Empathic Comprehension of LMs
2024-06-17T06:22:20
2024-06-17T06:22:20
Muhammad Arslan Manzoor, Yuxia Wang, Minghan Wang, Preslav Nakov
cs.CL
cs.CL
Empathy plays a pivotal role in fostering prosocial behavior, often triggered by the sharing of personal experiences through narratives. However, modeling empathy using NLP approaches remains challenging due to its deep interconnection with human interaction dynamics. Previous approaches, which involve fine-tuning language models (LMs) on human-annotated empathic datasets, have had limited success. In our pursuit of improving empathy understanding in LMs, we propose several strategies, including contrastive learning with masked LMs and supervised fine-tuning with Large Language Models (LLMs). While these methods show improvements over previous methods, the overall results remain unsatisfactory. To better understand this trend, we performed an analysis which reveals a low agreement among annotators. This lack of consensus hinders training and highlights the subjective nature of the task. We also explore the cultural impact on annotations. To study this, we meticulously collected story pairs in Urdu language and find that subjectivity in interpreting empathy among annotators appears to be independent of cultural background. The insights from our systematic exploration of LMs' understanding of empathy suggest that there is considerable room for exploration in both task formulation and modeling.
[ -0.620794951915741, -0.661669909954071, 0.5411852598190308, 0.16319021582603455, -0.2874251902103424, 0.18185560405254364, -0.30467909574508667, -0.7405416965484619, 0.29578134417533875, 0.563824474811554, -0.5990371108055115, -0.443416029214859, -0.843891441822052, 0.5486631989479065, 0.11396051943302155, 0.6528705954551697, -0.10165379196405411, 0.031597115099430084, 0.043972909450531006, -0.5289493203163147, -0.1821606457233429, -0.7639541029930115, -0.6513293981552124, -0.4711346924304962, 0.6273510456085205, 0.5067369937896729, 0.7484209537506104, 0.3457321226596832, 0.5752674341201782, 0.34822791814804077, -0.2512744665145874, 0.6027013063430786, -0.17732539772987366, -0.008395066484808922, -0.10163836181163788, -0.2141028791666031, -0.3441828787326813, 0.19774307310581207, 0.21044310927391052, 0.7927786111831665, 0.09606841951608658, 0.22858624160289764, 0.3761599063873291, 0.6524372100830078, -0.5354500412940979, -0.04957500845193863, -0.19553698599338531, 0.3735225796699524, 0.4288358688354492, -0.21134823560714722, -0.46302279829978943, 0.034920722246170044, 0.07869463413953781, -0.2619825005531311, 0.10961562395095825, 0.1703381985425949, 0.6517053842544556, 0.44702911376953125, -0.4289763867855072, -0.30112484097480774, -0.4770265221595764, 0.9181292057037354, -0.39995893836021423, 0.2978762984275818, 0.7084022164344788, -0.19535382091999054, 0.11356989294290543, -0.44514745473861694, -0.4461708068847656, -0.3385844826698303, -0.397203654050827, -0.0562480203807354, -0.26750004291534424, -0.03844904899597168, 0.32322168350219727, 0.2262250781059265, -0.2583167254924774, 0.14099451899528503, -0.24101877212524414, -0.015864944085478783, 0.7351259589195251, 0.4510108232498169, 0.5315651297569275, -0.19869591295719147, -0.22980287671089172, 0.05277714878320694, -0.12769557535648346, 0.10377910733222961, 0.3127728998661041, 0.4158325493335724, -0.4512922763824463, 0.46886056661605835, 0.06505473703145981, 0.7152715921401978, 0.16241192817687988, 0.14028286933898926, 0.302185982465744, 0.18557389080524445, -0.21048994362354279, -0.05770736187696457, 0.7221306562423706, 0.8128962516784668, 0.6974176168441772, -0.05370423570275307, 0.15785446763038635, 0.09924737364053726, 0.5458828806877136, -0.7703709602355957, -0.04759411886334419, 0.4335479140281677, -0.7201487421989441, -0.2936720550060272, -0.09681758284568787, -0.598095178604126, -0.6558390259742737, -0.5506506562232971, 0.17560023069381714, -0.24663476645946503, -0.5503026843070984, 0.2379034459590912, -0.0249404888600111, 0.0612930990755558, 0.08660338073968887, -0.9558049440383911, 0.358009397983551, 0.800925076007843, 1.0369725227355957, 0.2965276539325714, -0.46950510144233704, -0.4146977365016937, -0.2131561040878296, -0.2115568071603775, 0.5299296975135803, -0.8577578663825989, -0.4690278172492981, -0.05836900323629379, 0.00655174907296896, 0.09005561470985413, -0.5142951011657715, 0.7105610370635986, -0.057105131447315216, 0.002962374361231923, -0.35352379083633423, -0.34474650025367737, -0.25461310148239136, 0.3357314169406891, -0.5460256934165955, 0.4493054151535034, 0.20017623901367188, -0.8765059113502502, 0.11192101240158081, -0.7480758428573608, -0.40280279517173767, -0.3439462184906006, 0.07555496692657471, -0.15965215861797333, 0.4878893494606018, 0.39733758568763733, 0.8954266905784607, -0.17519883811473846, 0.12655997276306152, -0.20912104845046997, -0.6853015422821045, 0.43058958649635315, -0.1512659788131714, 0.4920395016670227, 0.2888873517513275, -0.1258046180009842, 0.03877060487866402, -0.419965535402298, -0.2818191945552826, 0.0009461432928219438, 0.23954050242900848, -0.4109954833984375, -0.2098712921142578, 0.15242478251457214, 0.17699457705020905, -0.053677208721637726, -0.4787875711917877, -0.03627694770693779, -0.5505128502845764, 0.5660597085952759, 0.703059732913971, -0.05021080747246742, 0.5025107860565186, -0.43564510345458984, 0.5375033617019653, 0.10456887632608414, 0.21105408668518066, -0.30846962332725525, -0.2542089521884918, -0.4613872170448303, -0.4646628201007843, -0.18178583681583405, 0.3522074818611145, -0.24972426891326904, 0.3296959400177002, 0.14420384168624878, -0.6774610280990601, -1.0525994300842285, 0.15497274696826935, 0.4483834207057953, 0.4379645884037018, 0.5896693468093872, -0.5857630968093872, -0.5510959625244141, -0.9664134979248047, -0.8006927371025085, 0.05156625807285309, -0.21223130822181702, 0.6314404606819153, 0.2206241637468338, -0.41694703698158264, 0.6545088887214661, -0.1886323243379593, -0.33992698788642883, -0.3715837597846985, 0.3591751754283905, 0.2519437074661255, 0.4278915524482727, 0.2524251937866211, -0.8814175128936768, -0.6038573980331421, 0.07332813739776611, -0.7933499813079834, -0.24730058014392853, -0.08029726147651672, 0.06790791451931, 0.24154354631900787, 0.38567692041397095, -0.33310452103614807, 0.3887242376804352, 0.6381565928459167, -0.5729928612709045, 0.043992023915052414, -0.12484870105981827, 0.45272618532180786, -1.1103036403656006, 0.034560319036245346, 0.22265580296516418, 0.032901398837566376, -0.7077292203903198, -0.10211879014968872, -0.12246528267860413, 0.06103382259607315, -0.5594314932823181, 0.8858709335327148, -0.48815128207206726, 0.036229316145181656, -0.33186379075050354, 0.21550600230693817, -0.010606912896037102, 0.536716103553772, 0.3950512409210205, 0.31717392802238464, 0.37233272194862366, -0.31018394231796265, 0.27442502975463867, 0.26476573944091797, 0.029917137697339058, 0.808040201663971, -0.6547355651855469, 0.26396650075912476, -0.1010085940361023, 0.045505404472351074, -0.5139264464378357, -0.3314935266971588, 0.5117023587226868, -0.6678526401519775, 0.29715603590011597, -0.15898464620113373, -0.3243435323238373, -0.006351115647703409, -0.28005361557006836, 0.3890017569065094, 0.6662460565567017, -0.6089096665382385, 0.9264048337936401, 0.2712806463241577, -0.18680912256240845, -0.4157746434211731, -0.5832075476646423, 0.30147305130958557, -0.4637914299964905, -0.4969030022621155, -0.17606781423091888, 0.13109642267227173, -0.8280954360961914, -0.19919069111347198, 0.2027493417263031, 0.04558826610445976, 0.20501235127449036, 0.6266516447067261, -0.19101199507713318, 0.11915522068738937, 0.22638770937919617, 0.00009000233694678172, -0.5083624124526978, 0.1627987176179886, 0.35701096057891846, 0.5677753686904907, -0.3471232056617737, -0.39356210827827454, -0.8937124609947205, 0.4823634624481201, 0.4791947603225708, -0.25325503945350647, 0.9498502612113953, 0.9087857007980347, -0.2828656733036041, 0.1921611726284027, -0.5197306871414185, -0.4349670708179474, -0.41404423117637634, 0.29135745763778687, -0.5365797877311707, -1.0815690755844116, 0.41455283761024475, -0.16883938014507294, -0.19759872555732727, 0.13747496902942657, 0.5605283379554749, -0.14324922859668732, 1.1632663011550903, 0.6146361231803894, -0.2859869599342346, 0.275542289018631, -0.0036062223371118307, 0.32966357469558716, -1.1431593894958496, -0.12456206232309341, -0.36204737424850464, -0.5650809407234192, -0.8427150249481201, -0.0709841176867485, 0.17080819606781006, -0.02361481450498104, -0.5627568364143372, -0.1432170420885086, -0.6190823316574097, 0.427714467048645, 0.40412697196006775, 0.5225257277488708, 0.11808771640062332, -0.07428240031003952, 0.37290143966674805, -0.2772967517375946, -0.35155075788497925, -0.9437306523323059, 0.7823929190635681, 0.503993034362793, 0.5900583267211914, -0.04476935416460037, 0.877372682094574, 0.39707913994789124, 0.6437029838562012, -0.5628392100334167, 0.34312132000923157, -0.1478935331106186, -0.1603313833475113, -0.1636611670255661, -0.09864459186792374, -0.8886940479278564, 0.20727744698524475, -0.16130301356315613, -0.9802232384681702, 0.08000615984201431, 0.2346145659685135, -0.2360013723373413, 0.39254945516586304, -0.700151801109314, 0.8363887071609497, -0.1042177677154541, -0.5585130453109741, -0.19783824682235718, -0.8734548687934875, 0.04396449401974678, 0.09837603569030762, 0.4016109108924866, -0.16774800419807434, 0.017636291682720184, 0.36910054087638855, -0.19115887582302094, 1.2555745840072632, -0.14108802378177643, -0.03986140713095665, 0.01435456145554781, 0.4679308533668518, 0.174093097448349, -0.13457851111888885, -0.30893653631210327, 0.3752578794956207, -0.24641203880310059, -0.6376320719718933, -0.5923518538475037, 0.4665403366088867, -0.8078691959381104, -0.6507768630981445, -0.20852769911289215, -0.591397225856781, -0.12176881730556488, -0.34116819500923157, -0.09664533287286758, 0.01627017743885517, -0.08422984182834625, 0.18269690871238708, 0.19558922946453094, -0.3246518075466156, 0.06302148848772049, 0.3570481538772583, 0.06812113523483276, -0.20571695268154144, 0.66612309217453, -0.32698747515678406, 0.1418909728527069, 0.24499410390853882, 0.31963399052619934, -0.009766257368028164, 0.02449805475771427, -0.19279947876930237, 0.41997984051704407, -0.5483475923538208, 0.10092117637395859, -0.7874658703804016, 0.19990062713623047, -0.17220813035964966, -0.6519649028778076, -0.220286563038826, 0.1683242917060852, -0.4998050034046173, -0.2564617097377777, 0.6495251655578613, 0.84901362657547, -0.5251772403717041, 0.11318191140890121, -1.0709024667739868, 0.2905723750591278, -0.07015374302864075, 0.2267276793718338, 0.1296074539422989, -0.7331959009170532, -0.23034429550170898, 0.19282488524913788, -0.029856128618121147, -0.7288535237312317, 0.6439979076385498, 0.01406499557197094, -0.010323082096874714, 0.46874240040779114, 0.24778637290000916, 0.5665343403816223, -0.2806899845600128, 0.7215130925178528, -0.037380579859018326, -1.116884469985962, 0.52876877784729, -0.16162970662117004, 0.006361514329910278, 0.2921443581581116, 0.6042675375938416, -0.733670711517334, -0.48978152871131897, -0.7227740287780762, -0.7591401934623718, 0.6479429006576538, 0.0333271324634552, 0.5731879472732544, -0.10283957421779633, 0.5128812193870544, 0.1169961616396904, -0.046304136514663696, -0.4294700622558594, 0.047460608184337616, 0.006404560059309006, -0.5633478760719299, -0.5531796813011169, -0.5240821838378906, -0.1693442463874817, -0.11183398216962814, 0.04375208914279938, -0.006541516166180372, -0.0010465742088854313, 0.4293260872364044, 0.017738377675414085, -0.41115298867225647, 0.05609840527176857, 0.46248123049736023, 0.15763850510120392, -0.18658064305782318, 0.22815939784049988, 0.38758745789527893, -0.3579101264476776, 0.010935810394585133, -0.2202591449022293, 0.39115574955940247, -0.1875469982624054, 0.761085033416748, 0.7230595946311951, 0.2003025859594345, -0.8815446496009827, 0.25800105929374695, -0.058298975229263306, -0.02453874796628952, -0.12672409415245056, -0.02245231345295906, 0.22202801704406738, 0.7756359577178955, 0.07059269398450851, -0.2616831660270691, 0.1022418662905693, -0.6149792671203613, -0.04322979599237442, 0.2422286570072174, -0.5146955251693726, -0.3653924763202667, 0.3411659002304077, 0.21451935172080994, -0.9447643160820007, 0.7630943655967712, 0.18281789124011993, -0.7588383555412292, 0.5629512071609497, 0.15805192291736603, 0.9324330687522888, -0.4087078869342804, 0.05941921845078468, 0.26068946719169617, 0.4208117127418518, 0.07300222665071487, 0.3135855495929718, -0.42348578572273254, -0.9417116641998291, -0.20182834565639496, -0.5745967030525208, -0.8500635027885437, -0.3777085244655609, -1.062600016593933, 0.0013399720191955566, 0.02471097931265831, -0.03815874084830284, -0.32041674852371216, 0.060314591974020004, -0.7640146613121033, 0.3444751799106598, -0.10847785323858261, 0.5581227540969849, -1.163932204246521, 0.3509301245212555, 0.6896651387214661, -0.4345470666885376, -0.7841053605079651, 0.08250024169683456, -0.21860921382904053, -0.9031471610069275, 0.8878880143165588, 0.437895804643631, -0.1888144165277481, 0.025336073711514473, -0.44033730030059814, -0.19833242893218994, 0.8112401366233826, 0.14980022609233856, -0.4042426645755768, 0.5519276857376099, 0.20810522139072418, 0.963004469871521, -0.5803605914115906, 0.36821308732032776, 0.6064162850379944, 0.5675057768821716, -0.344653457403183, -0.9148326516151428, 0.09213479608297348, -0.34942710399627686, -0.3652493357658386, 0.10469852387905121, -0.7158076167106628, 0.654403567314148, -0.48079121112823486, 0.0812436118721962, 0.09429743140935898, 0.35897353291511536, 0.24827219545841217, 0.8588283061981201, 0.40281370282173157, 0.3799544870853424, 0.4014952778816223, 0.10536985844373703, 1.1729847192764282, -0.3939206302165985, 0.16912443935871124, 1.0297470092773438, -0.5390372276306152, 1.0962761640548706, 0.7418932318687439, -0.07588309049606323, 0.2856440842151642, 0.8944922685623169, 0.13369138538837433, 0.014344870112836361, 0.29926663637161255, -0.25994300842285156, -0.48140713572502136, -0.5981100797653198, -0.059571508318185806, 0.52677983045578, 0.24809546768665314, -0.7600352168083191, 0.3351753056049347, 0.11304678022861481, 0.020065484568476677, 0.47707846760749817, -0.4054015874862671, 0.8406925201416016, 0.35799384117126465, -0.3327876627445221, 0.27866262197494507, -0.18948249518871307, 0.48056215047836304, -0.0023234689142555, -0.2144937962293625, -0.3195921778678894, 0.05224645510315895, -0.2762465178966522, -0.7828620672225952, 0.34108540415763855, 0.2662520110607147, -0.08413063734769821, -0.3807753920555115, 0.618981659412384, -0.2598400413990021, -0.3735613226890564, 0.6205480098724365, 0.6809187531471252, 0.4887213706970215, -0.23118026554584503, -0.4287374019622803, 0.456307977437973, -0.11424019932746887, -0.5762151479721069, 0.3254377543926239, 0.5549938082695007, 0.1286182552576065, 0.7594435214996338, 0.5096416473388672, -0.045053284615278244, -0.5833222270011902, 0.2901252508163452, 0.7394284605979919, -0.822548508644104, 0.017221059650182724, -1.2604410648345947, 0.6808108687400818, 0.007304042112082243, -0.07555320858955383, 0.5457079410552979, 0.09418879449367523, 0.7594062089920044, -0.10332249104976654, 0.5029813051223755, 0.3205031454563141, 0.6883461475372314, -0.45340555906295776, 0.6013068556785583, -0.7606464624404907, 0.014142473228275776, -0.33684489130973816, -0.6931809186935425, -0.48751094937324524, 0.8338592052459717, -0.28548961877822876, 0.2054317593574524, 0.2835041582584381, 0.7765081524848938, 0.0833926722407341, 0.20309148728847504, 0.6426466107368469, 0.40593013167381287, -0.11916922777891159, 0.3869961202144623, 1.0838310718536377, -0.03208931162953377, -0.06327973306179047, -0.3354591429233551, -0.17086197435855865, -0.2632448077201843, -0.9331903457641602, -1.0133198499679565, -0.5385009050369263, -0.08520635962486267, -0.22301414608955383, 0.021917957812547684, 1.3140910863876343, 0.3935748040676117, -0.42751938104629517, -0.20459099113941193, 0.20237359404563904, 0.019888678565621376, -0.08041661977767944, -0.1756015419960022, 0.5832079648971558, -0.33178189396858215, -1.0140489339828491, -0.01509182807058096, 0.4109323024749756, -0.19852352142333984, -0.24145109951496124, -0.4388790428638458, 0.2714107930660248, 0.045797690749168396, 0.6587981581687927, 0.0960172563791275, -0.8691558837890625, -0.4390946924686432, 0.019915871322155, 0.17585493624210358, -0.12666437029838562, 0.8457990884780884, -0.5731253027915955, 0.441038578748703, -0.049719784408807755, 0.4223267138004303, -0.06763555109500885, 0.23106038570404053, 0.5107024908065796, -0.46589788794517517, 0.24152757227420807, 0.2852107286453247, 0.4304307699203491, 0.3587862253189087, -0.3921896815299988, 0.6586950421333313, -0.09310375899076462, -0.5822960734367371, -1.0808944702148438, 0.3539832830429077, -0.8309127688407898, -0.21891449391841888, 1.2344167232513428, -0.2067784070968628, -0.12911751866340637, -0.20489893853664398, -0.8062368035316467, 0.3764359652996063, -0.20101137459278107, 0.9971253275871277, 0.6622574329376221, -0.4145493507385254, -0.46915650367736816, -0.17081180214881897, 0.31036511063575745, 0.49586063623428345, -0.35672861337661743, 0.13241656124591827, 0.23726463317871094, -0.10623699426651001, 0.09904276579618454, 0.44233036041259766, 0.3270130753517151, 0.09369034320116043, -0.095850870013237, 0.3506515622138977, -0.06115163490176201, 0.011496131308376789, -0.49363431334495544, 0.1425541639328003, 0.244598388671875, 0.04030853882431984 ]
http://arxiv.org/abs/2406.11243v1
http://arxiv.org/pdf/2406.11243v1
FamiCom: Further Demystifying Prompts for Language Models with Task-Agnostic Performance Estimation
2024-06-17T06:14:55
2024-06-17T06:14:55
Bangzheng Li, Ben Zhou, Xingyu Fu, Fei Wang, Dan Roth, Muhao Chen
cs.CL
cs.CL, cs.AI
Language models have shown impressive in-context-learning capabilities, which allow them to benefit from input prompts and perform better on downstream end tasks. Existing works investigate the mechanisms behind this observation, and propose label-agnostic prompt metrics that can better estimate end-task performances. One popular approach is using perplexity as a way to measure models' familiarity with the prompt. While showing consistent improvements on in-domain tasks, we found that familiarity metrics such as perplexity cannot accurately estimate performance in complicated situations such as task or domain transferring scenarios. In this work, we propose a revised measure called FamiCom, providing a more comprehensive measure for task-agnostic performance estimation. Specifically, FamiCom combines familiarity with \textit{complexity} -- the inherent difficulty of end tasks, which is an important factor missing from current metrics. Experiments show that FamiCom strongly correlates with end-task performances, producing a 0.85 Spearman's correlation, versus 0.43 of familiarity-only ones'. We further apply FamiCom to automatic prompt and demonstration selection, and outperform existing methods and baselines by more than 7.0% in accuracy.
[ -0.575663149356842, -0.7095083594322205, 0.8399578928947449, 0.014934844337403774, -0.07934881001710892, 0.07464445382356644, -0.08269151300191879, -0.3042562007904053, -0.04391423240303993, 0.20810925960540771, -0.7351500391960144, -0.4442213475704193, -0.9194719195365906, 0.2539520263671875, -0.3650006949901581, 0.9126998782157898, -0.15253286063671112, -0.4719265103340149, -0.6930204629898071, -0.22401556372642517, -0.18946322798728943, -0.5681788921356201, -0.38267597556114197, -0.4898861050605774, 0.49984562397003174, 0.46594125032424927, 0.7580099701881409, 0.6248604655265808, 0.1424729824066162, 0.35779380798339844, -0.008853229694068432, 0.1998193860054016, -0.07517538964748383, 0.34470415115356445, -0.30748680233955383, -0.49997538328170776, -0.5478407144546509, 0.19711990654468536, 0.5355832576751709, 0.8159766793251038, 0.1745082587003708, 0.041193533688783646, 0.05985664576292038, 0.5045657753944397, -0.6270359754562378, -0.01877872832119465, -0.4131355881690979, 0.24069269001483917, 0.012451817281544209, -0.172276571393013, -0.28208282589912415, -0.22857530415058136, 0.4443883001804352, -0.8361713886260986, 0.3127965033054352, 0.2027997374534607, 0.7868080139160156, 0.40275081992149353, -0.3447345495223999, -0.5189182162284851, -0.6685551404953003, 0.8807283639907837, -0.5026933550834656, 0.273183673620224, 0.4151538908481598, 0.5797481536865234, -0.18163365125656128, -0.4558866024017334, -0.4658617675304413, -0.6486293077468872, 0.13078360259532928, 0.028609033674001694, -0.6796237826347351, 0.03082449920475483, 0.5454264283180237, 0.43904954195022583, -0.49348771572113037, 0.035343993455171585, 0.21204116940498352, -0.2783687710762024, 0.39903122186660767, 0.4309157431125641, 0.3803181052207947, 0.27853676676750183, -0.663184404373169, 0.08988600969314575, -0.542655348777771, 0.4246220588684082, 0.5047526359558105, -0.03133540228009224, -0.07438045740127563, 0.21559025347232819, -0.4833005666732788, 0.7205066680908203, 0.15682554244995117, 0.02523593232035637, 0.3063870072364807, -0.2505697011947632, -0.1929030865430832, -0.43926864862442017, 0.6271108388900757, 0.17875425517559052, 0.2809191048145294, -0.3528995215892792, -0.5743992328643799, 0.13852518796920776, 0.040633659809827805, -0.6201914548873901, -0.42971721291542053, 0.19737616181373596, -0.1477852761745453, 0.08315855264663696, -0.2309521734714508, -0.3778669238090515, -0.46414127945899963, -0.389016330242157, 0.5474609136581421, -0.5988143086433411, -0.22447451949119568, -0.08753470331430435, -0.02766011655330658, -0.160673126578331, 0.6430647373199463, -0.6159054636955261, 0.4280073344707489, 0.7126876711845398, 1.04958176612854, -0.5666469931602478, -0.5336000323295593, -0.6631811261177063, -0.15685351192951202, -0.14012610912322998, 0.9354943633079529, -0.6591413617134094, -0.4747062027454376, -0.34723150730133057, -0.18574708700180054, -0.3147004246711731, -0.7001658082008362, 0.1788226068019867, -0.3705309331417084, 0.2711476683616638, -0.22185105085372925, -0.8412507176399231, -0.26930904388427734, 0.21517689526081085, -0.5201117396354675, 0.7107239961624146, 0.1210656687617302, -0.5479198098182678, 0.49503636360168457, -0.633015513420105, -0.440774142742157, -0.15894252061843872, -0.04098278284072876, -0.0003347428282722831, 0.3826712965965271, -0.03859419375658035, 0.5126076340675354, -0.3871394991874695, 0.17129582166671753, -0.2713416516780853, -0.4979614019393921, 0.30633866786956787, -0.48831573128700256, 0.668698787689209, 0.38629448413848877, -0.29849332571029663, 0.21485546231269836, -0.5373454689979553, -0.30282720923423767, -0.2197033017873764, -0.08673655986785889, -0.41884735226631165, -0.282221257686615, -0.5767393708229065, 0.27980896830558777, 0.55955570936203, -0.37297213077545166, 0.004550520796328783, -0.4088558554649353, 0.030741702765226364, 0.717774510383606, -0.2726611793041229, 0.41709962487220764, -0.5547220706939697, 0.9223223328590393, 0.16858668625354767, 0.2523883283138275, -0.27204522490501404, -0.5653305053710938, -0.6303778886795044, -0.519637405872345, 0.01377254817634821, 0.599586009979248, -0.6153265833854675, 0.32533594965934753, -0.06999926269054413, -0.5433619618415833, -0.21510933339595795, 0.21189309656620026, 0.5748146176338196, 0.5568152666091919, 0.3908965289592743, -0.4640708565711975, -0.21116018295288086, -0.9801588654518127, -0.5630123019218445, -0.25776684284210205, -0.19220077991485596, 0.4953368902206421, 0.3105206787586212, -0.21109849214553833, 1.0021414756774902, -0.4905056357383728, -0.0908576250076294, -0.06603425741195679, 0.49002379179000854, 0.5919512510299683, 0.4259260296821594, 0.5996688604354858, -0.4547814726829529, -0.48567086458206177, -0.0935540646314621, -0.5109122395515442, -0.401610404253006, 0.0744420662522316, 0.2584460377693176, 0.42208927869796753, 0.2726561725139618, -0.3283681869506836, 0.21054893732070923, 0.5167285203933716, -0.49587658047676086, 0.9186316132545471, -0.3403833508491516, 0.3048683702945709, -0.8109771013259888, 0.259504109621048, 0.04381662234663963, -0.1848510205745697, -0.7910929322242737, -0.1622074991464615, -0.06411758810281754, 0.363260954618454, -0.18042589724063873, 0.7767248749732971, -0.5217350721359253, -0.04010806232690811, -0.46039995551109314, 0.0897541344165802, -0.11967819184064865, 0.43354684114456177, -0.0805547833442688, 1.1898711919784546, 0.7669834494590759, -0.642277717590332, 0.18465295433998108, 0.029280830174684525, -0.22319650650024414, 0.7150230407714844, -0.56623774766922, 0.11257415264844894, 0.0801178365945816, -0.056884974241256714, -1.5377863645553589, -0.1359586864709854, 0.07761219888925552, -0.8538244366645813, 0.2065305858850479, -0.05168190971016884, -0.2270994782447815, -0.038798894733190536, -0.0983971655368805, 0.45014190673828125, 0.5732401609420776, -0.28514590859413147, 0.6562160849571228, 0.2627202570438385, -0.12229374796152115, -0.6702577471733093, -0.3888759911060333, 0.06417800486087799, -0.21398800611495972, -0.379865437746048, -0.15327581763267517, -0.27203094959259033, -0.12845955789089203, -0.5005030632019043, -0.4714692533016205, -0.08795946836471558, 0.5542845129966736, 0.6420428156852722, 0.12525081634521484, -0.1456502377986908, -0.004508407320827246, 0.197323277592659, -0.28475087881088257, 0.3949657380580902, -0.01688462495803833, 0.4436919689178467, -0.13869380950927734, -0.47270387411117554, -0.3076750636100769, 0.11813121289014816, 0.584547221660614, 0.09834769368171692, 0.19383133947849274, 0.3871057331562042, -0.21377187967300415, -0.12223747372627258, -0.5636849999427795, -0.2221556305885315, -0.5074043273925781, 0.06535171717405319, -0.6765572428703308, -1.0240426063537598, 0.7420422434806824, -0.3656620383262634, 0.011519977822899818, 0.27226144075393677, 0.24383991956710815, 0.09159352630376816, 1.1393131017684937, 0.5135009288787842, -0.048368826508522034, 0.41343557834625244, 0.07384119182825089, -0.18561388552188873, -0.5458522439002991, -0.13837620615959167, -0.588768720626831, -0.11352615058422089, -0.010265904478728771, -0.3762555718421936, 0.36207789182662964, -0.014485789462924004, -0.24504972994327545, 0.32079413533210754, 0.008241374045610428, 0.1704672873020172, 0.6395814418792725, -0.12025626748800278, 0.4318773150444031, 0.18834194540977478, -0.5189318656921387, 0.010854184627532959, -0.6080561280250549, -0.5940467715263367, 0.7450589537620544, 0.27232062816619873, 0.34582939743995667, 0.10961852967739105, 0.6659127473831177, 0.43836709856987, 0.2883269190788269, -0.6529688835144043, 0.6286338567733765, -0.3042789399623871, -0.4071907699108124, -0.30628702044487, -0.38569340109825134, -0.8924445509910583, -0.0004018661566078663, -0.06425781548023224, -0.9095244407653809, 0.029543248936533928, 0.3587467074394226, -0.6257593631744385, 0.011379330419003963, -0.4678310453891754, 0.7480623126029968, 0.19197864830493927, -0.2135583758354187, -0.16701221466064453, -0.5881945490837097, 0.1413673311471939, -0.13311141729354858, 0.19609645009040833, -0.3790654242038727, -0.4630870521068573, 0.693554699420929, -0.26951026916503906, 0.7421228289604187, -0.33181360363960266, -0.29983100295066833, 0.05434493348002434, 0.4519633948802948, 0.4016205370426178, -0.27315887808799744, -0.13324299454689026, 0.24409832060337067, -0.23026643693447113, -0.2774847149848938, -0.7829053997993469, 0.895684540271759, -0.7626503109931946, -0.9568650126457214, -0.21548672020435333, -0.8923768997192383, -0.6109179258346558, 0.11205940693616867, 0.23745861649513245, 0.5101035833358765, 0.015489302575588226, -0.10542836040258408, 0.7139480710029602, -0.06695108115673065, 0.24864566326141357, 0.6227452158927917, 0.0017635948024690151, -0.4348891079425812, 0.8476302623748779, 0.0948634147644043, 0.38343268632888794, 0.4230154752731323, 0.23708191514015198, -0.551385760307312, -0.6125984787940979, -0.4548918902873993, -0.01763490028679371, -0.6514294743537903, -0.02964385785162449, -0.935846209526062, 0.23598843812942505, -0.27720513939857483, -0.3246435821056366, -0.0916949212551117, -0.6643344163894653, -0.268503338098526, 0.08576828241348267, 0.390322208404541, 0.4311648905277252, -0.10220549255609512, 0.4474956691265106, -0.5181240439414978, 0.12376425415277481, 0.20879951119422913, 0.2525193989276886, 0.12056795507669449, -0.9362810850143433, -0.17766760289669037, -0.044595614075660706, -0.10756159573793411, -0.820173442363739, 0.1310848891735077, 0.2135465294122696, 0.7822683453559875, 0.5132940411567688, 0.2928661108016968, 0.45552685856819153, -0.21044118702411652, 0.9108744263648987, 0.3693810701370239, -1.2608954906463623, 0.593062162399292, -0.350837379693985, 0.5393130779266357, 0.4775255620479584, 0.6567986011505127, -0.36021873354911804, -0.7156881093978882, -0.5077503323554993, -0.8995811343193054, 0.7026675343513489, 0.04665983468294144, -0.006351955235004425, 0.07713785022497177, 0.1632908284664154, 0.5379616022109985, 0.4370175898075104, -0.12304605543613434, -0.4620949327945709, -0.019596124067902565, -0.10972820967435837, -0.29846858978271484, -0.12161392718553543, -0.11851117014884949, -0.2613869309425354, 0.4349542260169983, -0.25323912501335144, 0.18592490255832672, 0.24427668750286102, -0.25523433089256287, -0.09422776103019714, 0.1266734004020691, 0.6136049032211304, 0.8544601798057556, -0.11760033667087555, 0.4050828516483307, 0.3861856162548065, -0.47737136483192444, 0.4395471215248108, 0.055323436856269836, 0.02538478933274746, 0.07027112692594528, 0.3792027533054352, 0.8752515912055969, 0.18059152364730835, -0.7584377527236938, 0.5235198140144348, 0.26226943731307983, -0.14239129424095154, -0.1712384819984436, 0.7091764211654663, -0.27095919847488403, 0.390971302986145, 0.5177954435348511, 0.22704920172691345, 0.6383481025695801, -0.23101724684238434, 0.5054745674133301, 0.36653071641921997, -0.5900999903678894, -0.5364132523536682, 0.7784516215324402, 0.058093905448913574, -0.24049779772758484, 0.042888641357421875, -0.057126402854919434, -0.37033677101135254, 0.7627432346343994, 0.3534820079803467, 1.1430630683898926, -0.6118282675743103, 0.19930419325828552, 0.17756718397140503, 0.11718182265758514, 0.02780313789844513, 0.23652489483356476, -0.4326332211494446, -0.6502951383590698, -0.15671610832214355, -0.29461294412612915, -0.60170978307724, -0.227868914604187, -0.611243724822998, 0.03388255834579468, -0.5606517791748047, -0.47066524624824524, -0.020781368017196655, 0.25628507137298584, -0.49187251925468445, 0.2332478016614914, 0.07984914630651474, 1.131911277770996, -0.8658628463745117, 0.6818438768386841, 1.2448559999465942, -0.16770906746387482, -0.4437373876571655, 0.01695466786623001, 0.10449551790952682, -0.6023608446121216, 0.32772502303123474, 0.22567498683929443, -0.6180351376533508, 0.03484274074435234, -0.26375290751457214, -0.5897771120071411, 1.1380077600479126, 0.484831839799881, -0.4060007929801941, 0.2079056054353714, 0.12895506620407104, 0.5370638966560364, -0.6952611804008484, 0.6233527064323425, 0.544237494468689, 0.4349726140499115, 0.18039192259311676, -0.9130197763442993, 0.3844378590583801, -0.20607395470142365, 0.01570781320333481, -0.04953484609723091, -0.4254281520843506, 0.9447619915008545, -0.39301949739456177, -0.424433171749115, 0.2870039939880371, 0.694042980670929, 0.5013228058815002, 0.8937575221061707, 0.8871774077415466, 0.07612504065036774, 0.7967983484268188, 0.013487329706549644, 0.8277037143707275, -0.5185525417327881, 0.3190208971500397, 1.0058534145355225, -0.19726724922657013, 0.5665738582611084, 0.48877623677253723, -0.24361081421375275, 0.508703887462616, 0.47891467809677124, 0.34579432010650635, 0.3275661766529083, -0.0028734744992107153, -0.2794274687767029, -0.693654477596283, -0.08775933086872101, -0.24812810122966766, 0.17848646640777588, 0.2393535077571869, -0.36053022742271423, -0.3011566698551178, -0.03385552018880844, 0.3084433078765869, 0.14662431180477142, -0.14943711459636688, 0.7356014251708984, 0.08185771852731705, -0.7864599823951721, 0.9361017942428589, -0.38380491733551025, 0.720902144908905, -0.5853603482246399, 0.149199977517128, -0.42729395627975464, 0.0700782835483551, 0.017894117161631584, -0.8609833121299744, 0.21557174623012543, -0.12190359830856323, -0.3908312916755676, 0.06038323789834976, 0.6358868479728699, -0.3916231393814087, -0.02631133235991001, 0.29622700810432434, 0.7487484812736511, 0.3423406183719635, -0.3398597836494446, -0.6279134154319763, -0.10998847335577011, -0.061639148741960526, -0.24228361248970032, 0.36706146597862244, 0.6430046558380127, 0.08350857347249985, 0.9349904656410217, 0.33741092681884766, -0.27010050415992737, -0.15654484927654266, -0.29617956280708313, 0.7408472895622253, -0.3666599988937378, -0.42170754075050354, -0.9450137615203857, 0.26987478137016296, -0.07979244738817215, -0.6690309047698975, 0.939135730266571, 0.5561586022377014, 0.612139105796814, -0.29487988352775574, 0.7731980681419373, 0.18879716098308563, 0.4519023001194, -0.1426369994878769, 0.6369264125823975, -0.8739400506019592, 0.26442021131515503, -0.46575993299484253, -0.6780266165733337, -0.14692862331867218, 0.33987218141555786, -0.43053188920021057, -0.09463401138782501, 0.3674446940422058, 0.7780753970146179, -0.24208270013332367, 0.167604461312294, 0.7391489744186401, 0.17414020001888275, 0.10903636366128922, 0.7257240414619446, 0.9340985417366028, -0.08732464164495468, 0.2689029574394226, -0.16145184636116028, -0.6972495913505554, -0.35077840089797974, -0.8604920506477356, -0.8353858590126038, -0.8534225821495056, -0.4552135467529297, -0.15792086720466614, 0.24780717492103577, 1.0324084758758545, 0.4321729838848114, -0.9719487428665161, -0.5649605989456177, 0.18899980187416077, 0.15079979598522186, -0.5858004689216614, -0.13656538724899292, 0.04656586796045303, -0.5607757568359375, -0.7616541385650635, 0.3916734457015991, 0.22473397850990295, 0.02849743701517582, -0.13294534385204315, -0.20141926407814026, 0.005499258637428284, 0.33973708748817444, 0.589777946472168, 0.2502167820930481, -0.8092552423477173, -0.31193333864212036, 0.008837200701236725, 0.05595700815320015, -0.18174432218074799, 0.7987982034683228, -0.87227863073349, 0.3628389537334442, 0.6321997046470642, 0.5328677892684937, -0.17796726524829865, 0.06135605648159981, 0.7959243059158325, -0.6515549421310425, -0.11019739508628845, 0.010851522907614708, 0.3246784210205078, 0.19597557187080383, -0.3086521625518799, 0.46750959753990173, 0.41993340849876404, -0.4323830306529999, -0.8373189568519592, 0.4477585554122925, -0.7832745313644409, -0.18713299930095673, 1.154073715209961, -0.7392791509628296, -0.18065033853054047, -0.4683294892311096, -0.06684519350528717, 0.1694919317960739, -0.6060826778411865, 0.6265748739242554, 0.7344001531600952, -0.2727217972278595, -0.0008781386422924697, -0.4011516571044922, 0.6220033764839172, 0.6320031881332397, -0.3880692720413208, 0.19542595744132996, 0.6926432847976685, 0.4613654315471649, 0.28900009393692017, 0.5364174246788025, 0.2178933322429657, 0.4305710792541504, -0.22218644618988037, -0.12986914813518524, -0.4113147556781769, -0.587293267250061, -0.46740660071372986, 0.38920506834983826, 0.24272407591342926, -0.15720342099666595 ]
http://arxiv.org/abs/2406.15481v1
http://arxiv.org/pdf/2406.15481v1
CSRT: Evaluation and Analysis of LLMs using Code-Switching Red-Teaming Dataset
2024-06-17T06:08:18
2024-06-17T06:08:18
Haneul Yoo, Yongjin Yang, Hwaran Lee
cs.AI
cs.AI, cs.CL
Recent studies in large language models (LLMs) shed light on their multilingual ability and safety, beyond conventional tasks in language modeling. Still, current benchmarks reveal their inability to comprehensively evaluate them and are excessively dependent on manual annotations. In this paper, we introduce code-switching red-teaming (CSRT), a simple yet effective red-teaming technique that simultaneously tests multilingual understanding and safety of LLMs. We release the CSRT dataset, which comprises 315 code-switching queries combining up to 10 languages and eliciting a wide range of undesirable behaviors. Through extensive experiments with ten state-of-the-art LLMs, we demonstrate that CSRT significantly outperforms existing multilingual red-teaming techniques, achieving 46.7% more attacks than existing methods in English. We analyze the harmful responses toward the CSRT dataset concerning various aspects under ablation studies with 16K samples, including but not limited to scaling laws, unsafe behavior categories, and input conditions for optimal data generation. Additionally, we validate the extensibility of CSRT, by generating code-switching attack prompts with monolingual data.
[ -0.28835058212280273, -0.9533351063728333, -0.07077160477638245, 0.43278926610946655, -0.141805037856102, 0.5910336971282959, -0.5934316515922546, -0.5864848494529724, -0.15169094502925873, 0.45491111278533936, -0.32881879806518555, -0.4364500641822815, -0.5018764734268188, 0.2808559834957123, -0.6659290790557861, 1.144989013671875, -0.15127336978912354, 0.22977270185947418, -0.01647087000310421, -0.15399734675884247, -0.5120018124580383, -0.8849958777427673, -0.6750503182411194, -0.10918506234884262, 0.5625783205032349, 0.4977060556411743, 0.5756650567054749, 0.22288459539413452, 0.9081365466117859, 0.3493058383464813, 0.06994306296110153, -0.02229083888232708, -0.6980514526367188, 0.11273100972175598, 0.09091340005397797, -0.4844946563243866, -0.2821807265281677, -0.2553674578666687, 0.5955758094787598, 0.5379617214202881, -0.011611365713179111, 0.25790560245513916, 0.21845954656600952, 0.5453912019729614, -0.6223751902580261, -0.1744525283575058, -0.8625039458274841, 0.0763520821928978, -0.34973278641700745, -0.4117835760116577, -0.9212555289268494, -0.2703430950641632, -0.04708088934421539, -0.15707100927829742, 0.0776287242770195, 0.03409432992339134, 0.5493397116661072, 0.1836124062538147, -0.49950647354125977, -0.11262302100658417, -0.6744946837425232, 0.9352288246154785, -0.16072677075862885, 0.5384870767593384, 0.27077656984329224, 0.4880896806716919, 0.22054840624332428, -0.5063691139221191, -0.27484130859375, -0.3920791745185852, -0.15504810214042664, 0.2067183256149292, -0.5633983016014099, -0.11694027483463287, 0.08771204948425293, -0.12046932429075241, -0.7984744310379028, 0.11384042352437973, -0.4389055669307709, -0.20856183767318726, 0.6214913129806519, 0.04000140354037285, 0.5891889929771423, 0.13451483845710754, -0.7849885821342468, -0.21065033972263336, -0.5386879444122314, -0.12586194276809692, 0.13902895152568817, 0.6785538196563721, -0.35030877590179443, 0.36938047409057617, -0.07357721775770187, 0.45382359623908997, -0.12565617263317108, 0.0860605463385582, 0.2485574632883072, -0.5551703572273254, -0.3400603234767914, 0.03924895450472832, 0.776590883731842, 0.4361921548843384, 0.2459811419248581, -0.40399858355522156, 0.08123989403247833, 0.43879976868629456, 0.14010104537010193, -0.5077038407325745, -0.18877041339874268, 0.36763525009155273, -0.26251083612442017, -0.485194593667984, -0.16243641078472137, -0.8848258256912231, -0.15708424150943756, 0.043687134981155396, -0.05022045969963074, -0.560026228427887, -0.534005343914032, 0.1250925064086914, 0.024324921891093254, 0.28391024470329285, 0.02443408966064453, -0.5405779480934143, 0.5343347191810608, 0.43906736373901367, 0.7474369406700134, -0.7584657073020935, -0.6880240440368652, -0.7405677437782288, -0.08043166995048523, -0.09197089076042175, 0.8316107988357544, -0.3574122190475464, -0.45843201875686646, -0.03655814751982689, -0.025606878101825714, -0.161294087767601, -0.30199092626571655, 0.18339569866657257, -0.6683861613273621, -0.17571957409381866, -0.1958872377872467, -0.052785053849220276, -0.002296874765306711, 0.6190375089645386, -0.5309872031211853, 0.9772989749908447, -0.3428407311439514, -0.8330488801002502, 0.26206257939338684, -0.6904146671295166, -0.5378665328025818, 0.12152346968650818, -0.013844764791429043, -0.40183505415916443, -0.3590813875198364, -0.08679883182048798, 0.1286589801311493, -0.11296112090349197, -0.13290198147296906, -0.21636489033699036, -0.15479309856891632, 0.6254317760467529, -0.5117698311805725, 1.0260485410690308, 0.23559647798538208, -0.29070845246315, 0.05224820226430893, -0.33893924951553345, 0.27188530564308167, 0.20144830644130707, -0.4010170102119446, -0.3932832181453705, -0.10597071051597595, 0.3201215863227844, 0.3786861300468445, 0.2458353340625763, -0.4857158958911896, -0.041306156665086746, 0.09551486372947693, 0.17596760392189026, 0.45528095960617065, 0.03654805198311806, 0.3025708496570587, -0.26674938201904297, 0.9347306489944458, -0.2239685207605362, 0.2679310441017151, 0.20035512745380402, -0.15100479125976562, -0.6582139730453491, -0.14062446355819702, 0.2329443097114563, 0.8806119561195374, -0.8850525617599487, -0.07967258244752884, -0.0546637661755085, -0.4747779965400696, -0.15671011805534363, 0.09499545395374298, 0.7489911317825317, 0.10898539423942566, 0.413198322057724, 0.04124358296394348, -0.6781782507896423, -0.7970324754714966, -0.3897705078125, -0.19982421398162842, 0.5183934569358826, -0.031179074198007584, 0.5580756664276123, -0.1717047095298767, 0.6793184280395508, -0.2341383695602417, 0.14186836779117584, -0.654504120349884, 0.06812247633934021, -0.24163691699504852, 0.41859012842178345, 0.38612300157546997, -0.8070815205574036, -0.6766005158424377, 0.32582616806030273, -0.6311285495758057, -0.12771448493003845, -0.41372373700141907, -0.1796867698431015, 0.46101266145706177, 0.7617499828338623, -0.05545825511217117, 0.23619785904884338, 0.9393137097358704, -0.3551746606826782, 0.7960655093193054, 0.0688757374882698, 0.3494375944137573, -0.5332129001617432, 0.22213244438171387, -0.04627265781164169, -0.13764230906963348, -0.8459116816520691, 0.43618205189704895, 0.37266233563423157, 0.14031094312667847, -0.9528796076774597, 0.3773573040962219, -0.5294553637504578, -0.0197516568005085, -0.08008939027786255, 0.03683698922395706, -0.29686281085014343, 0.49539777636528015, -0.02376801334321499, 0.7433267831802368, 0.1501026302576065, -0.5017494559288025, 0.17389623820781708, 0.1635034829378128, -0.13932208716869354, 0.4112560451030731, -0.4255818724632263, 0.27223411202430725, 0.14245374500751495, -0.04452003911137581, -1.0701359510421753, 0.2155439406633377, -0.018552688881754875, -0.5334786176681519, 0.26924923062324524, -0.34181466698646545, -0.6142783761024475, -0.1488567441701889, -0.2659890353679657, 0.6125785112380981, 0.23809389770030975, -0.45634666085243225, 0.2665720582008362, 0.5371751189231873, -0.208162322640419, -0.6837608814239502, -1.0986703634262085, 0.3661580979824066, -0.42405492067337036, -0.5011997818946838, -0.028027215972542763, -0.24585458636283875, -0.5778514742851257, -0.23246143758296967, 0.09280029684305191, -0.3428553640842438, 0.3103471100330353, 0.03913931921124458, 0.5257119536399841, 0.10026739537715912, -0.11192071437835693, -0.10848163068294525, -0.25975972414016724, 0.031855423003435135, 0.20529425144195557, 0.6634475588798523, -0.5343461632728577, -0.47849124670028687, -0.06207602843642235, 0.3638547360897064, 0.33179885149002075, -0.48688197135925293, 0.3179212808609009, 0.26885971426963806, -0.19921889901161194, -0.24774889647960663, -0.33235839009284973, -0.07234791666269302, -0.4694758951663971, 0.7048338651657104, -0.151502788066864, -1.0185045003890991, 0.44074809551239014, -0.027074947953224182, 0.34284335374832153, 0.03537648543715477, 0.6957123875617981, -0.00767991179600358, 0.8204879760742188, 0.5088487863540649, -0.06728371232748032, 0.39525726437568665, 0.053719185292720795, 0.023581037297844887, -0.24974001944065094, 0.002909626578912139, -0.5658815503120422, -0.08353087306022644, -0.5974724888801575, -0.5077739953994751, 0.6072779893875122, -0.12085633724927902, -0.2977083921432495, 0.5324294567108154, -0.4736723005771637, 0.7608094811439514, 0.06938199698925018, -0.011200790293514729, 0.5458412766456604, -0.054692912846803665, -0.2096461057662964, -0.10160022228956223, -0.6487122178077698, -0.308691143989563, 1.0475778579711914, 0.29426339268684387, 0.7504419684410095, 0.3468952178955078, 0.5115749835968018, 0.27001500129699707, 0.24748340249061584, -0.5830622911453247, 0.713586688041687, -0.23422780632972717, -0.6547739505767822, -0.37339723110198975, -0.4145026206970215, -0.9689348340034485, 0.4091852903366089, -0.31502866744995117, -0.39906036853790283, -0.12627747654914856, 0.16894753277301788, -0.2259049266576767, 0.2774837911128998, -0.926788330078125, 0.7111939787864685, -0.7780341506004333, -0.44401803612709045, -0.24394065141677856, -0.6531286835670471, 0.5916745662689209, -0.24293287098407745, 0.4330611824989319, 0.23501355946063995, -0.037096038460731506, 0.468380331993103, -0.14534032344818115, 1.0507090091705322, -0.0011551056522876024, 0.031906940042972565, 0.016613179817795753, 0.46433761715888977, 0.32424214482307434, -0.01661624386906624, -0.0931970551609993, 0.45255327224731445, -0.06997400522232056, -0.17295953631401062, -0.3062412738800049, 0.5463401079177856, -0.4913766384124756, -0.12511298060417175, -0.5790799260139465, -0.4474242627620697, -0.312060683965683, 0.41516128182411194, 0.12522245943546295, 0.10029446333646774, -0.4307204484939575, 0.050258491188287735, 0.5972033739089966, -0.44662395119667053, 0.43910056352615356, 0.7798320651054382, -0.3343784213066101, -0.38431310653686523, 0.9581203460693359, -0.0678255632519722, 0.6314784288406372, 0.44338852167129517, -0.020074373111128807, -0.11545218527317047, -0.7396117448806763, -0.21165694296360016, 0.10528586804866791, -0.511841893196106, -0.28832992911338806, -0.4387463629245758, -0.07546642422676086, -0.09253878146409988, -0.3531557321548462, -0.5533487200737, -0.23483675718307495, 0.3282766342163086, -0.08304186165332794, 0.34212034940719604, 0.4117168188095093, -0.05641988292336464, -0.007991069927811623, -0.7153931260108948, -0.009444160386919975, 0.2025425285100937, 0.30618932843208313, -0.22527413070201874, -0.009049306623637676, -0.34143826365470886, -0.1205272302031517, -0.20953279733657837, -0.9361816048622131, 0.25704336166381836, -0.26671844720840454, 0.4668533504009247, 0.041913505643606186, 0.24849680066108704, 0.4998820722103119, -0.404460072517395, 0.5819848775863647, 0.3484375774860382, -0.9263882637023926, 0.2834172248840332, -0.5082448124885559, 0.31295815110206604, 0.9364689588546753, 0.08839035034179688, -0.8451339602470398, -0.4963911771774292, -0.3477126657962799, -0.9557458162307739, 0.5151892900466919, 0.24059832096099854, -0.3094918429851532, -0.211639866232872, -0.23862995207309723, -0.0980483889579773, -0.0474216490983963, -0.9779630303382874, -0.4560226500034332, -0.041606489568948746, 0.17802448570728302, 0.12595173716545105, 0.06308455020189285, -0.1518663913011551, -0.03612261265516281, 0.49832606315612793, -0.12709815800189972, 0.27935510873794556, 0.03370879963040352, -0.4767271876335144, -0.049166418612003326, 0.4119473695755005, 0.7514777183532715, 0.3895895183086395, -0.00043351459316909313, 0.24656152725219727, 0.7408561706542969, -0.4394831657409668, -0.007386877201497555, -0.03274032101035118, 0.1604718267917633, -0.14636217057704926, 0.45701169967651367, 0.25042977929115295, 0.40572938323020935, -0.828194797039032, 0.5060009956359863, -0.2626684010028839, -0.32801055908203125, -0.30388519167900085, -0.15182948112487793, 0.08463483303785324, -0.03248022496700287, 0.11069997400045395, 0.0819830521941185, -0.12860845029354095, -0.17653334140777588, 0.43912187218666077, 0.6274058222770691, -0.36110568046569824, -0.11710935086011887, 0.3380562961101532, 0.43414172530174255, -0.0504026934504509, 0.3434528112411499, -0.10430894792079926, -0.6118088960647583, 0.6752764582633972, 0.5838372111320496, 0.7876978516578674, -0.3093029260635376, 0.1201760470867157, 0.3242212235927582, 0.7987572550773621, 0.11757392436265945, 0.2067437320947647, 0.07324347645044327, -0.7834568619728088, -0.4987865090370178, -0.12277133017778397, -0.7031336426734924, -0.06216169148683548, -0.856880247592926, 0.4857112169265747, -0.3105660080909729, 0.12759099900722504, -0.2323714792728424, -0.13891813158988953, -0.4910097122192383, -0.09390812367200851, 0.1201898381114006, 1.0324885845184326, -0.7814404964447021, 0.8244879245758057, 0.782264769077301, -0.2187962383031845, -0.35396572947502136, -0.13422006368637085, 0.18235613405704498, -1.0204362869262695, 0.6927503943443298, -0.24887707829475403, -0.3543652892112732, -0.25228333473205566, -0.4697282612323761, -0.6745266914367676, 0.9254637360572815, 0.41490963101387024, -0.6345012784004211, 0.24275833368301392, 0.5288745164871216, 0.39423707127571106, 0.009132929146289825, 0.2608438730239868, 0.7484052181243896, 0.4911406934261322, -0.23850016295909882, -1.0109220743179321, 0.02771792560815811, -0.3473004698753357, -0.3347114026546478, 0.3444305658340454, -0.8852759599685669, 0.6798956394195557, -0.24867315590381622, -0.33749452233314514, -0.23566581308841705, 0.23291170597076416, 0.4703114330768585, 0.1477702409029007, 0.8335035443305969, 0.12132079154253006, 0.5947456359863281, 0.11215601861476898, 0.8795309662818909, -0.43845927715301514, 0.45172756910324097, 1.171383023262024, -0.3874198794364929, 1.0190068483352661, 0.4831037223339081, -0.2034069150686264, 0.1607688069343567, 0.15088315308094025, -0.0026824777014553547, 0.39521148800849915, 0.27800479531288147, -0.24466289579868317, -0.411097913980484, 0.24570724368095398, -0.43559613823890686, 0.5598791241645813, 0.17193861305713654, -0.018139516934752464, -0.410224586725235, 0.07879766821861267, 0.5205456018447876, 0.07907304167747498, 0.0804920345544815, 0.7211551666259766, -0.12040916830301285, -0.5316658020019531, 0.7345689535140991, -0.16189874708652496, 1.0023179054260254, -0.7638855576515198, 0.009340799413621426, -0.2068711668252945, 0.08604562282562256, -0.2796948552131653, -0.6337736248970032, 0.3620261251926422, 0.38803333044052124, -0.01702909544110298, -0.5185595750808716, 0.5670501589775085, -0.4801306128501892, -0.5444526672363281, 0.5732176899909973, 0.46226295828819275, 0.06572866439819336, 0.3234182894229889, -0.8690343499183655, 0.4298219680786133, 0.21135269105434418, 0.13085466623306274, 0.6168169975280762, 0.019718773663043976, -0.10418391972780228, 0.600193440914154, 0.718045711517334, 0.14629283547401428, -0.014387168921530247, -0.08466698974370956, 0.7308571934700012, -0.6865187287330627, -0.45237866044044495, -0.9470345377922058, 0.5048971772193909, -0.014200922101736069, -0.32809969782829285, 1.0044100284576416, 0.7187128663063049, 0.8391737937927246, 0.2566187083721161, 1.2072092294692993, 0.15582074224948883, 0.4721769094467163, -0.46684926748275757, 0.9992834329605103, -0.19657817482948303, 0.3743259608745575, -0.6235591769218445, -0.30065086483955383, -0.6171448826789856, 0.36489197611808777, -0.19525286555290222, 0.0006666878471150994, 1.011642575263977, 0.6907039284706116, 0.1872253715991974, 0.1295941174030304, 0.31970110535621643, 0.37121546268463135, 0.5234386324882507, 0.6554695963859558, 0.9208430647850037, -0.2621121108531952, 1.06703782081604, -0.21174311637878418, -0.4766685366630554, -0.127084881067276, -1.0249427556991577, -0.9267463088035583, -0.2819911241531372, -0.5220602750778198, -0.42387986183166504, 0.3000946342945099, 0.7860669493675232, 0.4958237409591675, -0.6917324066162109, -0.6392604112625122, -0.026004940271377563, 0.07942348718643188, -0.43187442421913147, -0.19270001351833344, 0.09391042590141296, -0.46083885431289673, -0.544243574142456, 0.5597514510154724, 0.11409305036067963, -0.018842659890651703, -0.21498434245586395, -0.07913609594106674, -0.15071235597133636, -0.41021019220352173, 0.6973953247070312, 0.5818430185317993, -0.30363163352012634, -0.24829509854316711, 0.2277844399213791, -0.16674160957336426, -0.22653809189796448, 0.9197149276733398, -0.4427781403064728, 0.270887553691864, 0.34769406914711, 0.7633317112922668, 0.1887865513563156, -0.26497435569763184, 0.4839516282081604, -0.6843137145042419, -0.042994506657123566, 0.2136266827583313, 0.28723451495170593, 0.064537413418293, -0.19449369609355927, 0.5627961158752441, -0.022316856309771538, -0.6416893005371094, -1.1065229177474976, 0.06780349463224411, -1.1515145301818848, -0.3528599441051483, 1.5912469625473022, 0.11002948880195618, -0.012606397271156311, -0.5597960948944092, -0.1706259548664093, 0.029734093695878983, -0.3328850567340851, 0.6215261816978455, 0.5458061099052429, -0.3302951157093048, -0.03918730095028877, -0.5925789475440979, 0.4491923451423645, 0.6239044666290283, -0.9816385507583618, 0.4985595643520355, 0.23885586857795715, 0.35197409987449646, 0.12939020991325378, 0.6800903081893921, -0.187388613820076, 0.6352119445800781, -0.19385215640068054, 0.31725990772247314, -0.09420296549797058, -0.12339229136705399, -0.5141941905021667, 0.28320249915122986, 0.0301265437155962, -0.2811155319213867 ]
http://arxiv.org/abs/2406.11239v1
http://arxiv.org/pdf/2406.11239v1
Evading AI-Generated Content Detectors using Homoglyphs
2024-06-17T06:07:32
2024-06-17T06:07:32
Aldan Creo, Shushanta Pudasaini
cs.CL
cs.CL, cs.AI
The generation of text that is increasingly human-like has been enabled by the advent of large language models (LLMs). As the detection of AI-generated content holds significant importance in the fight against issues such as misinformation and academic cheating, numerous studies have been conducted to develop reliable LLM detectors. While promising results have been demonstrated by such detectors on test data, recent research has revealed that they can be circumvented by employing different techniques. In this article, homoglyph-based ($a \rightarrow {\alpha}$) attacks that can be used to circumvent existing LLM detectors are presented. The efficacy of the attacks is illustrated by analizing how homoglyphs shift the tokenization of the text, and thus its token loglikelihoods. A comprehensive evaluation is conducted to assess the effectiveness of homoglyphs on state-of-the-art LLM detectors, including Binoculars, DetectGPT, OpenAI's detector, and watermarking techniques, on five different datasets. A significant reduction in the efficiency of all the studied configurations of detectors and datasets, down to an accuracy of 0.5 (random guessing), is demonstrated by the proposed approach. The results show that homoglyph-based attacks can effectively evade existing LLM detectors, and the implications of these findings are discussed along with possible defenses against such attacks.
[ -0.40626487135887146, -1.1926571130752563, 0.413647323846817, -0.4225703775882721, -0.3829169273376465, 0.2602153420448303, -0.09479646384716034, -0.864833414554596, 0.30271244049072266, 0.28392115235328674, -0.2058129757642746, -0.43022751808166504, -0.8271021842956543, 0.34499531984329224, -0.7263267636299133, 0.721759021282196, -0.15392956137657166, -0.10350903868675232, 0.11009451001882553, 0.16297994554042816, -0.21590691804885864, -0.6593616008758545, -0.5109900832176208, -0.07133360952138901, 0.4101289212703705, 0.08751280605792999, 0.9522449374198914, 0.7922726273536682, 0.8170754909515381, 0.15449319779872894, -0.19078515470027924, 0.07820295542478561, -0.28107282519340515, 0.047248490154743195, 0.31299611926078796, -0.3658229410648346, -0.31138527393341064, -0.006144591607153416, 0.8345176577568054, 0.24989823997020721, 0.09732084721326828, 0.10328375548124313, -0.19042664766311646, 0.4502617120742798, -0.6931110620498657, -0.005602460820227861, -0.8483551144599915, 0.15049488842487335, -0.7982802987098694, -0.245858296751976, -0.6505629420280457, -0.13348348438739777, -0.2059478908777237, -0.4530552327632904, 0.020681457594037056, 0.36511462926864624, 0.8415731191635132, 0.14330549538135529, -0.01990385167300701, -0.8956233859062195, -0.7811378240585327, 0.8006139993667603, -0.8490692377090454, 0.33977964520454407, 0.700140655040741, 0.2066732943058014, -0.24846801161766052, -0.6984639763832092, -0.6630637049674988, -0.2227775901556015, 0.0012049797223880887, -0.06202351674437523, -0.4584870934486389, 0.02240194007754326, 0.3331142067909241, 0.4434688091278076, -0.5258132815361023, 0.20827993750572205, -0.11163385957479477, -0.42453789710998535, 0.6821507811546326, -0.09510324150323868, 0.7511497735977173, -0.2984497547149658, -0.3373418152332306, -0.2749001979827881, -0.9803704023361206, -0.1109161525964737, 0.6449040174484253, 0.04293619841337204, 0.225857213139534, 0.7752137780189514, 0.30780887603759766, 0.540450930595398, 0.038402754813432693, -0.27111947536468506, -0.1735885590314865, -0.23739852011203766, -0.17571453750133514, 0.2469055950641632, 0.7610943913459778, 0.13051989674568176, 0.5403241515159607, -0.28728652000427246, -0.4317919909954071, 0.34699901938438416, 0.364463746547699, -0.7558684945106506, -0.08036856353282928, 0.25360777974128723, -0.5912348031997681, -0.3665328919887543, 0.07945159077644348, -0.6698641180992126, -0.3835979104042053, 0.38344892859458923, 0.3743496537208557, -0.4815269112586975, 0.08854272961616516, 0.07059533894062042, -0.016371726989746094, 0.42875611782073975, 0.15556640923023224, -1.0722615718841553, 0.15098433196544647, 0.929233968257904, 0.8469746112823486, -0.19375616312026978, -0.11896124482154846, -0.8330251574516296, 0.2559982240200043, -0.26050907373428345, 0.7779715061187744, -0.5848380923271179, -0.6666573286056519, 0.0017841856461018324, -0.3756902515888214, 0.20974691212177277, -0.4591975510120392, 0.5233193635940552, -0.7140973210334778, 0.09876877814531326, -0.06510446220636368, -0.9288193583488464, -0.13360904157161713, 0.5304883718490601, -0.8359496593475342, 0.6308978796005249, -0.1750342696905136, -1.0992639064788818, 0.20151571929454803, -0.591627836227417, -0.6187095642089844, 0.3449009656906128, -0.39533093571662903, -0.5276752710342407, 0.1138194277882576, 0.39799022674560547, 0.17118267714977264, -0.21800054609775543, -0.08107875287532806, -0.19094739854335785, -0.74878990650177, 0.22772900760173798, -0.5466914176940918, 0.6446906328201294, 0.10418060421943665, -0.605562150478363, 0.04962930455803871, -0.3060283064842224, -0.27322444319725037, 0.3666321635246277, -0.2022518664598465, -0.5049520134925842, 0.3035597801208496, -0.011156300082802773, -0.2855106294155121, 0.2563806176185608, -0.6797624230384827, 0.19663776457309723, -0.32596439123153687, 0.1224040612578392, 0.981401264667511, -0.02201228402554989, 0.20089851319789886, -0.30948784947395325, 0.7333489060401917, -0.2724015712738037, 0.4741848111152649, -0.3193152844905853, -0.8832545876502991, -0.22999274730682373, -0.4612898528575897, 0.2988284230232239, 0.5175488591194153, -0.9619881510734558, 0.2654842734336853, -0.0725303664803505, -0.3036685585975647, -0.6620434522628784, 0.17120034992694855, 0.3000434637069702, 0.41050994396209717, 0.26410871744155884, -0.6215142011642456, -0.32946276664733887, -0.553123414516449, -0.6246283650398254, -0.6484336853027344, -0.07629323750734329, 0.23241272568702698, 0.432350754737854, -0.46714040637016296, 0.85512375831604, -0.3797035813331604, -0.04357235133647919, 0.07038111239671707, 0.050480086356401443, -0.07891246676445007, 0.38274243474006653, 0.7142960429191589, -0.9882075786590576, -0.4794924259185791, -0.1809273511171341, -0.7935314774513245, -0.02068488299846649, -0.21595636010169983, 0.22626692056655884, 0.250569611787796, 0.6601011753082275, -0.5351101756095886, 0.8781788945198059, 0.5853986740112305, -0.4841550588607788, 0.7364791631698608, 0.17343373596668243, 0.12126019597053528, -0.7524509429931641, 0.1347442865371704, 0.006592371966689825, -0.4097069799900055, -0.7561959028244019, 0.509883463382721, -0.10437537729740143, 0.21309207379817963, -0.374057799577713, 0.8175896406173706, -0.318805456161499, -0.06789054721593857, -0.5000182390213013, -0.10522288084030151, -0.19630739092826843, 0.09591592848300934, -0.2254762202501297, 0.8544953465461731, 0.5583809018135071, -0.18158914148807526, 0.4299437701702118, 0.3389066755771637, -0.3782646358013153, 0.4031933546066284, -0.6290507316589355, 0.4087679088115692, -0.23270845413208008, 0.265272319316864, -0.9775425791740417, -0.09786062687635422, 0.6620575785636902, -0.5223293900489807, 0.28138574957847595, -0.12639875710010529, -0.775219202041626, -0.14296682178974152, -0.6890101432800293, 0.36858487129211426, 0.6018286347389221, -0.8234924674034119, 0.6016110181808472, 0.38388505578041077, -0.0673147663474083, -0.5976841449737549, -0.8281518220901489, 0.5459410548210144, -0.3967457413673401, -0.5246636867523193, 0.19260741770267487, -0.42258602380752563, -0.5218589305877686, -0.13113975524902344, -0.04781561344861984, 0.16091427206993103, 0.4013024568557739, 0.19263556599617004, 0.3731003701686859, -0.027310984209179878, -0.2109164595603943, -0.2923465371131897, -0.011389311403036118, 0.1942579448223114, -0.131795272231102, 0.7939775586128235, -0.047196563333272934, -0.8467269539833069, -0.7509350180625916, 0.36454474925994873, 0.5759282112121582, -0.008059605956077576, 0.6069523096084595, 0.7975119352340698, -0.5889642834663391, 0.3595007061958313, -0.42811059951782227, -0.3965885639190674, -0.52048659324646, 0.1778021603822708, -0.06928718090057373, -0.8022937178611755, 0.4416780173778534, 0.17180687189102173, 0.3558645248413086, 0.40345075726509094, 0.5224965810775757, -0.06870344281196594, 1.0947579145431519, 0.16378657519817352, -0.3562481999397278, 0.5904589295387268, 0.0842498317360878, 0.23257815837860107, -0.8672982454299927, -0.10272668302059174, -0.4658544063568115, -0.314116507768631, -0.7824219465255737, -0.2512228488922119, 0.2339860200881958, -0.034047070890665054, 0.11935898661613464, 0.23935212194919586, -0.1387806087732315, 0.429583877325058, 0.32106220722198486, -0.024391746148467064, 0.4496533274650574, 0.2691704332828522, 0.15820084512233734, 0.19422182440757751, -0.5672906637191772, -0.5388329029083252, 1.3546751737594604, 0.5697091817855835, 0.9339602589607239, 0.11522678285837173, 0.8216899037361145, 0.8017860054969788, 0.59403395652771, -0.7377025485038757, 0.4298785924911499, -0.19647285342216492, -0.6890386939048767, -0.27883487939834595, -0.4400041699409485, -0.9249562621116638, -0.10826287418603897, -0.28607550263404846, -0.8250487446784973, -0.035440415143966675, 0.022785620763897896, 0.04069053754210472, 0.7453007102012634, -0.5465971231460571, 0.38960325717926025, -0.23431284725666046, -0.13962389528751373, -0.062463026493787766, -0.3572023808956146, 0.21923388540744781, -0.3461580276489258, 0.44219300150871277, 0.13335144519805908, 0.10777080804109573, 0.6318252682685852, -0.05048461630940437, 0.7797439098358154, -0.12284918129444122, -0.4617604613304138, 0.4427334666252136, 0.33929964900016785, 0.646543562412262, 0.13111932575702667, -0.11769448965787888, 0.43134742975234985, -0.36820754408836365, -0.6563870310783386, -0.3269268870353699, 0.4195493161678314, -0.40879741311073303, -0.714237630367279, -0.31465473771095276, -0.5298259854316711, 0.18910908699035645, 0.1408490538597107, 0.454806387424469, 0.39999938011169434, -0.4180918037891388, -0.03602350875735283, 0.39955684542655945, -0.21560345590114594, 0.5879939198493958, -0.11274933069944382, -0.4641721248626709, -0.3119873106479645, 0.8239699006080627, -0.2946193218231201, 0.32882797718048096, 0.1421024203300476, 0.23011848330497742, -0.3136861324310303, -0.7879818677902222, -0.6867066025733948, 0.058010682463645935, -0.621727466583252, -0.1690821796655655, -0.3014577031135559, -0.3219664990901947, -0.46356090903282166, -0.20148839056491852, -0.1364540010690689, -0.3140508532524109, -0.2548734247684479, 0.1795814484357834, 0.18097028136253357, 0.649288535118103, 0.12615901231765747, 0.39676398038864136, -0.7740064263343811, 0.4635239243507385, 0.44878989458084106, 0.13283059000968933, 0.1548949033021927, -0.5211051106452942, -0.14500856399536133, 0.1600738912820816, -0.04184282198548317, -0.8023906946182251, 0.2265976369380951, 0.08159199357032776, 0.3381713926792145, 0.6800421476364136, -0.16165848076343536, 0.48093318939208984, -0.4237578213214874, 0.653708279132843, 0.08375079184770584, -1.0546573400497437, 0.3625830411911011, -0.2083810716867447, 0.23317059874534607, 0.36185237765312195, 0.3501410484313965, -0.5942682027816772, -0.4991176128387451, -0.6519999504089355, -0.6651891469955444, 0.31870484352111816, 0.6097593903541565, 0.02902732603251934, -0.09428910166025162, 0.7040836811065674, 0.0795494094491005, 0.12241929769515991, -0.6530073285102844, -0.28206589818000793, -0.07419370114803314, -0.1679796576499939, 0.11536852270364761, -0.10806317627429962, -0.1357579231262207, -0.026533789932727814, 0.3964623510837555, -0.1176515519618988, 0.22504352033138275, 0.2759833037853241, -0.2608930170536041, -0.1635732203722, 0.04902052506804466, 0.4657304883003235, 0.3179300129413605, -0.20492011308670044, 0.40417230129241943, -0.11704094707965851, -0.9357083439826965, -0.0905083566904068, 0.005325367208570242, -0.5793425440788269, 0.02086315117776394, 0.7201728224754333, 0.7268846035003662, -0.3752810060977936, -0.9337012767791748, 0.4153846502304077, -0.3340499699115753, 0.2625161409378052, -0.14033429324626923, 0.11927474290132523, -0.24068959057331085, 0.030452245846390724, 0.502070963382721, -0.20071469247341156, 0.04261985793709755, -0.8023977875709534, 0.3832632005214691, 0.7715323567390442, -0.3897635340690613, -0.38643091917037964, 0.5194904804229736, 0.03842919319868088, -0.6413318514823914, 0.6214421987533569, -0.2523995339870453, -0.6222764849662781, 0.7558020353317261, 0.8161590099334717, 0.864105224609375, -0.49373263120651245, 0.07186445593833923, 0.00419281143695116, 0.6581889986991882, 0.0403127484023571, 0.030960923060774803, -0.05224907025694847, -0.8949609398841858, -0.21538281440734863, -0.5509290099143982, -0.6282117366790771, -0.03670690581202507, -0.5109390616416931, 0.056603338569402695, -0.7837114930152893, -0.11387919634580612, -0.0314050056040287, -0.1498303860425949, -0.24323752522468567, -0.009377384558320045, 0.7594478726387024, 0.8920405507087708, -0.5546485781669617, 0.6044585704803467, 0.641776442527771, 0.17346081137657166, -0.3194372355937958, 0.5145184993743896, 0.1888660341501236, -1.0171605348587036, 0.1904630810022354, 0.27732253074645996, -0.17203043401241302, -0.02857956662774086, -0.7424724698066711, -0.48671963810920715, 0.7473255395889282, 0.20037703216075897, -0.5597074627876282, -0.052135538309812546, 0.30474215745925903, 0.48234638571739197, -0.27705785632133484, 0.11455663293600082, 0.684045672416687, 0.7611132264137268, -0.06119692698121071, -0.6032306551933289, 0.11727440357208252, -0.1929212361574173, -0.30411604046821594, 0.2094494104385376, -0.4467701315879822, 0.7390139102935791, 0.021366123110055923, -0.41236141324043274, 0.08254426717758179, 0.5796117782592773, 0.5587105751037598, 0.3729568421840668, 0.7387378811836243, 0.33642148971557617, 0.7234044075012207, 0.11400914937257767, 1.2729343175888062, -0.2572627067565918, 0.28485387563705444, 0.5948105454444885, -0.2849785089492798, 0.6281126141548157, 0.7183753848075867, 0.1488254815340042, 0.4792209267616272, 0.4516274034976959, -0.34192517399787903, 0.23033131659030914, 0.29811590909957886, -0.2802159786224365, -0.14939312636852264, -0.18696656823158264, -0.2806762456893921, 0.6865140795707703, 0.46536821126937866, 0.0203727874904871, -0.12841707468032837, -0.08778272569179535, 0.2815300524234772, -0.07216903567314148, -0.28121325373649597, 0.6150442957878113, 0.01441197656095028, -0.37104639410972595, 0.5841119289398193, 0.19984115660190582, 1.0256707668304443, -0.5634436011314392, 0.1548091620206833, -0.22003352642059326, -0.10051840543746948, -0.20748266577720642, -0.7322620153427124, 0.24842660129070282, 0.4814426302909851, 0.29273149371147156, -0.19667300581932068, 0.9467951059341431, -0.06787914782762527, -0.4754367768764496, 0.29193270206451416, 0.21850138902664185, 0.09011146426200867, -0.05628276988863945, -0.5309008955955505, 0.22987623512744904, 0.05575859546661377, -0.3110010623931885, 0.2675417363643646, -0.0394316166639328, -0.01860009878873825, 0.5567627549171448, 0.8942229151725769, 0.3372087776660919, 0.028773769736289978, -0.15358173847198486, 0.7942805290222168, -0.7270838618278503, -0.48433053493499756, -1.1885160207748413, -0.18816375732421875, 0.14709170162677765, 0.12035580724477768, 0.884273886680603, 0.5075822472572327, 0.8074696063995361, 0.1820524036884308, 0.7200246453285217, 0.06937173753976822, -0.11147420853376389, -0.7133614420890808, 0.8284026980400085, -0.4592701494693756, 0.5189562439918518, -0.5497051477432251, -0.9690159559249878, -0.4432809054851532, 0.4865272045135498, 0.050646066665649414, 0.02400953322649002, 0.40019649267196655, 0.4846343398094177, -0.04034195840358734, 0.3057432174682617, 0.09068883210420609, 0.13966059684753418, 0.9214207530021667, 0.5283970832824707, 1.0773186683654785, -0.5617830157279968, 0.3896334171295166, -0.012193392030894756, -0.23822703957557678, -0.21370188891887665, -0.8546998500823975, -1.0775973796844482, -0.3357768654823303, -0.182755708694458, -0.25280624628067017, 0.1231485977768898, 0.46030178666114807, 0.4703992009162903, -0.7344323396682739, -0.11300085484981537, -0.009421913884580135, 0.14567910134792328, 0.1795203536748886, -0.14038945734500885, 0.6076235771179199, 0.11909709870815277, -0.7669582366943359, 0.451873779296875, 0.38226208090782166, 0.3317123353481293, -0.4245905578136444, -0.10010725259780884, -0.3464258313179016, 0.3459608852863312, 0.33882665634155273, 0.4508748948574066, -0.6568933129310608, -0.6914878487586975, 0.08881884068250656, -0.08443781733512878, 0.18802689015865326, 0.8431917428970337, -0.6946344375610352, 0.40065422654151917, 0.462846964597702, 0.6976360082626343, 0.3420921862125397, 0.15593551099300385, 0.1894611269235611, -0.6787275671958923, 0.34429314732551575, 0.3021913766860962, 0.26200124621391296, 0.4689532220363617, -0.6006377935409546, 0.31660041213035583, 0.3821515738964081, -0.3240590989589691, -0.9294201135635376, 0.37523993849754333, -0.6897147297859192, -0.4328872561454773, 1.1436810493469238, -0.20153136551380157, -0.4849115312099457, 0.0009598542237654328, 0.001478697289712727, 0.15094618499279022, -0.1626451313495636, 1.3844558000564575, 0.9355797171592712, -0.062303636223077774, 0.37444210052490234, -0.2435542792081833, 0.4450797736644745, 0.48751193284988403, -1.1500746011734009, 0.019081678241491318, 0.2389819622039795, 0.046183161437511444, 0.4062373638153076, 0.4296645224094391, -0.4221931993961334, 0.34215378761291504, -0.19411398470401764, 0.010324887000024319, 0.04241092503070831, -0.4581893980503082, -0.4407944977283478, 0.03150385990738869, -0.010495668277144432, -0.22081011533737183 ]
http://arxiv.org/abs/2406.11238v1
http://arxiv.org/pdf/2406.11238v1
What Kinds of Tokens Benefit from Distant Text? An Analysis on Long Context Language Modeling
2024-06-17T06:07:29
2024-06-17T06:07:29
Yutong Hu, Quzhe Huang, Kangcheng Luo, Yansong Feng
cs.CL
cs.CL
As the context length that large language models can handle continues to increase, these models demonstrate an enhanced ability to utilize distant information for tasks such as language modeling. This capability contrasts with human reading and writing habits, where it is uncommon to remember and use particularly distant information, except in cases of foreshadowing. In this paper, we aim to explore which kinds of words benefit more from long contexts in language models. By analyzing the changes in token probabilities with increasing context length, we find that content words (e.g., nouns, adjectives) and the initial tokens of words benefit the most. Frequent patterns in the context (N-grams) also significantly impact predictions. Additionally, the model's prior knowledge plays a crucial role in influencing predictions, especially for rare tokens. We also observe that language models become more confident with longer contexts, resulting in sharper probability distributions. This overconfidence may contribute to the increasing probabilities of tokens with distant contextual information. We hope that our analysis will help the community better understand long-text language modeling and contribute to the design of more reliable long-context models.
[ -0.09688300639390945, -0.8987318873405457, 0.7759697437286377, 0.21389049291610718, -0.43520939350128174, -0.4118281304836273, -0.46695759892463684, -0.9015721678733826, 0.17352503538131714, 0.4572903513908386, -0.09609609842300415, -0.3030606210231781, -0.7643963098526001, 0.08653701096773148, -0.5599779486656189, 1.2079994678497314, 0.0829203650355339, -0.19940520823001862, -0.3531113862991333, 0.029805410653352737, -0.5356943011283875, -1.0084697008132935, -0.6105901002883911, -0.0724763497710228, 0.8262416124343872, 0.13231371343135834, 0.6568073034286499, 0.5440173149108887, 0.42902806401252747, 0.2786065936088562, -0.21786591410636902, -0.228166863322258, -0.39309993386268616, 0.2533247172832489, -0.3957914412021637, -0.5812225341796875, -0.26328325271606445, -0.1922915130853653, 0.7474673390388489, 0.949690043926239, 0.2931208610534668, -0.09247945994138718, 0.20661915838718414, 0.6654765009880066, -0.5996842384338379, 0.30520254373550415, -0.4710346758365631, -0.10275459289550781, -0.5928701162338257, 0.04364772140979767, -0.25481972098350525, -0.07019399851560593, 0.4155244529247284, -0.33553236722946167, -0.13956569135189056, 0.14379677176475525, 0.596312403678894, -0.19501610100269318, -0.7551710605621338, -0.3408626914024353, -0.729622483253479, 1.0891985893249512, -0.6091041564941406, 0.47705602645874023, 0.7738343477249146, 0.14732062816619873, -0.3239210844039917, -0.9007366299629211, -0.4657520651817322, -0.4232330918312073, -0.22284866869449615, -0.056281644850969315, -0.12105366587638855, 0.18626420199871063, -0.05508454889059067, 0.3678257465362549, -0.006528638768941164, 0.2487318366765976, -0.3827277421951294, -0.1048959419131279, 0.26802295446395874, 0.07009048759937286, -0.005696780979633331, -0.47943589091300964, -0.4117562770843506, 0.10780464857816696, -0.722149670124054, 0.17100386321544647, 0.18011753261089325, 0.29816579818725586, -0.08276088535785675, 0.6107378005981445, -0.3432190418243408, 0.9366657733917236, -0.3069194257259369, -0.2064431756734848, 0.017487231642007828, -0.6391711235046387, -0.10044638812541962, -0.17168457806110382, 0.23221859335899353, 0.4170660078525543, 0.2599857747554779, -0.4318750500679016, -0.18831954896450043, -0.38749319314956665, -0.15683144330978394, -0.8514643907546997, 0.10440262407064438, 0.14986886084079742, -0.8134124279022217, -0.09153974801301956, 0.30339619517326355, -0.6738374829292297, -0.25157320499420166, -0.33835792541503906, 0.22232495248317719, -0.4697563946247101, -0.17508406937122345, 0.1437349170446396, -0.5249555110931396, -0.048196062445640564, 0.12978434562683105, -0.9915209412574768, 0.3525190055370331, 1.0209777355194092, 0.865385890007019, -0.3728739321231842, -0.30043694376945496, -0.7298892736434937, 0.04910039156675339, -0.3095533847808838, 0.6155280470848083, -0.7015261650085449, -0.5733858942985535, 0.22699421644210815, 0.12353209406137466, -0.01269096415489912, -0.21933065354824066, 0.528866171836853, -0.4491806924343109, 0.3334190845489502, -0.5496150851249695, -0.7904937863349915, -0.13923844695091248, 0.015752704814076424, -0.7145691514015198, 0.8311356902122498, 0.04212495684623718, -0.8830957412719727, 0.6922516226768494, -0.5592904686927795, -0.598442018032074, -0.0009961816249415278, -0.1395813226699829, 0.009368157014250755, 0.5305203795433044, -0.2906895875930786, 0.7277936935424805, -0.08750894665718079, 0.37333473563194275, -0.2035144567489624, -0.43182313442230225, 0.6633787751197815, -0.4696318209171295, 0.08444014936685562, 0.1261100172996521, -0.3168855309486389, 0.14061833918094635, -0.5700798034667969, -0.32029688358306885, -0.1595565229654312, -0.36260470747947693, -0.9248858690261841, 0.3064727783203125, 0.12832888960838318, 0.27753621339797974, 0.21841691434383392, -0.5407004952430725, -0.019797634333372116, -0.41096338629722595, 0.3828667402267456, 0.8318336009979248, 0.1155635267496109, 0.5716766119003296, -0.3358692526817322, 0.33877864480018616, 0.3689659535884857, -0.032338593155145645, -0.4478203058242798, -0.7834089994430542, -0.4038439095020294, -0.2985163927078247, 0.3600192666053772, 0.11870148032903671, -0.48842644691467285, 0.2861882150173187, -0.3623727858066559, -0.12118292599916458, 0.14659978449344635, -0.037247199565172195, 0.3059294819831848, 0.3429325520992279, 0.13256342709064484, -0.29078570008277893, -0.5455612540245056, -0.8161928653717041, -0.43046048283576965, -0.06580325961112976, 0.050144437700510025, 0.4155829846858978, 0.6852051019668579, -0.21028511226177216, 1.3509459495544434, -0.6782214641571045, -0.21015271544456482, -0.2155310958623886, -0.07748323678970337, 0.09307944774627686, 0.3863138258457184, 0.7646358013153076, -0.9082883596420288, -0.15828394889831543, -0.09786305576562881, -0.314255952835083, 0.19096039235591888, -0.18593227863311768, -0.11929913610219955, 0.33896100521087646, 0.7523919939994812, -0.5432466268539429, 0.49678927659988403, 0.620628833770752, -0.6601353287696838, 0.6988038420677185, -0.08987735956907272, -0.07183800637722015, -1.2327769994735718, 0.21794894337654114, -0.0891907811164856, -0.20875869691371918, -0.6263931393623352, -0.12534750998020172, -0.23024050891399384, 0.29964473843574524, -0.3381543755531311, 1.0721927881240845, -0.4632616937160492, 0.001531581045128405, -0.3846457600593567, 0.22996969521045685, -0.01980258896946907, 0.06328123062849045, 0.3305343985557556, 0.705008327960968, 0.3836687505245209, -0.5602980852127075, 0.12335033714771271, -0.02898249961435795, -0.5463565587997437, 0.13176384568214417, -0.5052357316017151, -0.13240785896778107, -0.2977393865585327, 0.3531932532787323, -0.9021639823913574, -0.35720133781433105, -0.08075472712516785, -0.270020455121994, 0.21504446864128113, 0.12361111491918564, -0.5761300325393677, -0.14363993704319, -0.1784275472164154, 0.5229701399803162, 0.29270294308662415, -0.38719862699508667, 0.2561969459056854, 0.2201041728258133, -0.20850087702274323, -0.5760577917098999, -0.7223737835884094, 0.15732304751873016, -0.35918092727661133, -0.27004438638687134, 0.3969132602214813, 0.0714881643652916, -0.6272116899490356, -0.009037520736455917, 0.10702447593212128, -0.11641857028007507, 0.2761805057525635, 0.5779843330383301, 0.013575161807239056, -0.15276536345481873, 0.7406240701675415, 0.008483219891786575, 0.03186902776360512, 0.015908271074295044, -0.5590429306030273, 0.5601345896720886, -0.15902484953403473, -0.05357295647263527, 0.06528358161449432, 0.677215039730072, 0.35233479738235474, -0.05640604346990585, 1.2579420804977417, 0.33695343136787415, -0.4849070608615875, 0.12768085300922394, -0.4862789809703827, -0.2648690938949585, -0.4409545660018921, 0.7170863151550293, -0.34246715903282166, -1.120357871055603, 0.7674520015716553, 0.17029190063476562, -0.10199226438999176, 0.5084056258201599, 0.29750746488571167, 0.3126208186149597, 0.6012067198753357, 0.9045524597167969, -0.3149067163467407, 1.081926941871643, 0.24048204720020294, 0.11276127398014069, -0.6925727725028992, -0.24611788988113403, -0.4258991777896881, 0.13814616203308105, -0.5415712594985962, -0.5818114876747131, -0.05935271829366684, 0.2861577272415161, 0.03341161087155342, 0.16921328008174896, -0.010872048325836658, 0.3786894977092743, 0.662204921245575, -0.11493140459060669, 0.2498369663953781, -0.03510342165827751, -0.1531762033700943, -0.11351706087589264, -0.4588469862937927, -0.41992244124412537, 1.0240678787231445, 0.5400901436805725, 0.37663570046424866, 0.040760934352874756, 0.6820613145828247, 0.07709331810474396, 0.1813160479068756, -0.7581942677497864, 0.33995985984802246, -0.24725978076457977, -0.798496425151825, -0.22460319101810455, -0.25886213779449463, -1.1827727556228638, -0.21022666990756989, -0.22016966342926025, -0.8992416858673096, 0.18202298879623413, -0.21937882900238037, -0.31143587827682495, 0.2831791639328003, -0.39769500494003296, 0.6390558481216431, -0.05709344521164894, -0.25951382517814636, -0.12476742267608643, -0.7731742262840271, 0.11669955402612686, -0.29411548376083374, 0.21170686185359955, 0.2257036715745926, -0.17869393527507782, 0.9165400266647339, -0.16790302097797394, 0.9736754298210144, 0.1996057629585266, -0.2639513909816742, 0.36016198992729187, -0.15021538734436035, 0.5451741218566895, -0.08386188000440598, -0.3597376048564911, 0.22403782606124878, 0.02219877764582634, -0.38456425070762634, -0.3116360008716583, 0.7005149722099304, -0.4458041787147522, -0.4434538781642914, -0.2701694965362549, -0.3528677523136139, 0.008928157389163971, 0.40669533610343933, 0.47051742672920227, 0.6445708870887756, -0.3203432261943817, 0.5541709065437317, 0.17327068746089935, -0.4150017499923706, 0.6445119380950928, 0.06833267956972122, -0.38993191719055176, -0.2125135064125061, 0.49978384375572205, 0.18336233496665955, 0.5026910305023193, 0.5264592170715332, 0.2813921272754669, -0.31546249985694885, -0.33035892248153687, -0.0889706239104271, 0.1274387240409851, -0.8599531650543213, -0.05263865739107132, -0.6073618531227112, 0.027220124378800392, -0.5329900979995728, -0.18903550505638123, -0.04147015139460564, -0.5752266049385071, -0.4046885371208191, -0.3386423885822296, 0.6493484973907471, 0.856156587600708, 0.037800658494234085, 0.4221161901950836, -0.8127846717834473, -0.1299045979976654, 0.22080294787883759, 0.5826524496078491, 0.11998812854290009, -0.21042227745056152, -0.6083484888076782, -0.004702057223767042, 0.1458376944065094, -0.9525406360626221, 0.1701216995716095, 0.28142961859703064, 0.43136072158813477, 0.7566361427307129, -0.15484170615673065, 0.7490810751914978, -0.5333867073059082, 1.1128684282302856, 0.09758006781339645, -0.8713241219520569, 0.059865985065698624, -0.5241664052009583, 0.3861018121242523, 0.5901942253112793, 0.011732317507266998, -0.9372455477714539, -0.4511759281158447, -0.45503830909729004, -0.9434679746627808, 0.29987093806266785, 0.2798736095428467, 0.5016089081764221, -0.7105652689933777, 0.7227370738983154, 0.3967798352241516, 0.41768455505371094, -0.7618574500083923, -0.1083778589963913, -0.060918960720300674, 0.027398480102419853, -0.23672735691070557, -0.5260099172592163, 0.12297800928354263, -0.045036692172288895, 0.22908298671245575, -0.11576254665851593, 0.3611451983451843, 0.10648947954177856, 0.14770720899105072, 0.011186948977410793, 0.3610830008983612, 0.8283898830413818, 0.5998960733413696, -0.0713992565870285, 0.14190617203712463, 0.2967105805873871, -0.5802547931671143, -0.4467054605484009, -0.038322217762470245, 0.30511170625686646, 0.16369999945163727, 0.6142686605453491, 0.7919229865074158, 0.3699024021625519, -0.5726478099822998, 0.6627041101455688, 0.051341500133275986, 0.29267823696136475, -0.4194302260875702, -0.12082752585411072, 0.1478279083967209, 0.0516972579061985, 0.5466166734695435, -0.04743488132953644, 0.2404380738735199, -0.8794443607330322, 0.3237571716308594, 0.44151315093040466, -0.3598386347293854, -0.4078191816806793, 0.48757603764533997, 0.17122071981430054, -0.12512753903865814, 0.5326977372169495, -0.03249356523156166, -0.5643981099128723, 0.7151122093200684, 0.8433662056922913, 0.6754082441329956, 0.15157166123390198, -0.11770720779895782, 0.09865996986627579, -0.1971443146467209, -0.21519291400909424, -0.0074611506424844265, -0.22596921026706696, -0.5116541981697083, -0.5090746283531189, -0.8786202073097229, 0.009103725664317608, 0.007072298787534237, -0.5513615012168884, 0.06861307471990585, -0.21260717511177063, -0.38467326760292053, -0.2544585168361664, 0.024907441809773445, -0.5829939842224121, 0.3612104058265686, 0.2021016925573349, 0.8773525953292847, -0.7066910862922668, 0.9579209685325623, 0.4727480113506317, -0.10948672145605087, -0.6491885781288147, 0.13147133588790894, -0.3402189314365387, -0.3764682412147522, 1.153995394706726, 0.5542904138565063, -0.2267947643995285, -0.17580746114253998, -0.30356985330581665, -1.0697706937789917, 0.8891956806182861, -0.24056610465049744, -0.5737325549125671, -0.34676578640937805, 0.14175431430339813, 0.7579962611198425, -0.37810128927230835, 0.05951971188187599, 0.37240880727767944, 0.2941671311855316, -0.059709303081035614, -0.9292219281196594, 0.19982154667377472, 0.08706040680408478, 0.1308446079492569, 0.4980355501174927, -0.40288814902305603, 0.9976282119750977, -0.2465580254793167, -0.2121879905462265, 0.4885408580303192, 0.979222297668457, 0.06758131086826324, 0.30319178104400635, 0.3776816725730896, 0.04000511392951012, 0.5048172473907471, 0.1586257964372635, 1.2440248727798462, -0.5332403779029846, 0.22569365799427032, 1.1190763711929321, 0.005028421990573406, 1.0885109901428223, 0.6793438196182251, 0.16943864524364471, 0.803737998008728, 0.4790865480899811, 0.3689580261707306, 0.4800321161746979, 0.17243297398090363, -0.35038241744041443, -0.07005830854177475, -0.14462126791477203, -0.4336383640766144, 0.5389694571495056, 0.344435453414917, -0.6385797262191772, -0.013997389934957027, 0.2536638081073761, 0.28489887714385986, -0.17521017789840698, -0.1900448203086853, 0.7072824835777283, 0.456959992647171, -0.9554402232170105, -0.06343740224838257, 0.3041025996208191, 0.7345349788665771, -0.5188727378845215, 0.11007916182279587, -0.07348804175853729, 0.32486146688461304, -0.07883235067129135, -0.8563347458839417, 0.41485390067100525, -0.26593080163002014, -0.1625918596982956, -0.014584911987185478, 0.8134191632270813, -0.3532160520553589, -0.2926790714263916, 0.388016015291214, 0.46325260400772095, 0.13303586840629578, -0.2539060115814209, -0.2796325385570526, -0.30989035964012146, -0.3619059920310974, -0.38441628217697144, 0.434694766998291, 0.6265103220939636, -0.4311293959617615, 0.4240129590034485, 0.7783499956130981, 0.22733625769615173, 0.016954414546489716, -0.1521596908569336, 0.7155435085296631, -1.0022474527359009, -0.6648913025856018, -1.1515251398086548, 0.3431541919708252, -0.18715058267116547, -0.5441735982894897, 1.0658732652664185, 0.523703396320343, 0.4319175183773041, -0.01417702715843916, 0.4681761860847473, 0.00019312922086101025, 0.22864477336406708, -0.5075094103813171, 0.6042769551277161, -0.3804965317249298, 0.03293805569410324, -0.48135513067245483, -0.6543591022491455, -0.3653726875782013, 0.40771493315696716, -0.6568160057067871, 0.12358606606721878, 0.6271141767501831, 0.19280406832695007, 0.12711560726165771, -0.12322086095809937, 0.36967915296554565, 0.05371126905083656, 0.20060434937477112, 0.3161754310131073, 0.7380266189575195, -0.12393518537282944, 0.13243438303470612, 0.00860582385212183, -0.027735725045204163, -0.467751681804657, -1.0612016916275024, -1.0049409866333008, -0.9189832210540771, 0.08702865242958069, -0.27692073583602905, 0.07466273009777069, 0.7111015915870667, 0.6884324550628662, -0.542391836643219, 0.030576074495911598, -0.17041152715682983, 0.07831944525241852, -0.03178625926375389, -0.2664354741573334, 0.48249465227127075, -0.2756127715110779, -0.5883369445800781, 0.008897519670426846, 0.24321657419204712, 0.29739221930503845, 0.07659300416707993, 0.08744802325963974, 0.01100683119148016, 0.2950282096862793, 1.0140644311904907, 0.06149287521839142, -0.5529312491416931, -0.6510478854179382, 0.1707558035850525, -0.2371879518032074, -0.07835964858531952, 0.6987151503562927, -0.8532010316848755, 0.3368847966194153, 0.5294276475906372, 0.12126684933900833, 0.1471005380153656, 0.2817176282405853, 0.7864579558372498, -0.867563009262085, 0.5283723473548889, 0.11041633039712906, 0.4489707350730896, 0.2095699906349182, -0.5469512343406677, 0.0969833955168724, -0.016209330409765244, -0.5338903665542603, -0.7386446595191956, 0.47565096616744995, -0.7061457633972168, -0.7122045755386353, 1.68738853931427, -0.22167783975601196, -0.29924964904785156, -0.20454369485378265, -0.23647798597812653, 0.26844871044158936, -0.24342115223407745, 0.7044726014137268, 0.9821317195892334, 0.13001097738742828, 0.23280800879001617, -0.4260364770889282, 0.8502557873725891, 0.4666067659854889, -0.7178518176078796, 0.06585600972175598, 0.5132874250411987, 0.45105141401290894, 0.1714630424976349, 0.47340601682662964, -0.1737949401140213, -0.03179937228560448, -0.15007634460926056, -0.5177273750305176, 0.11301963776350021, -0.4094548225402832, -0.35498684644699097, 0.09086303412914276, 0.20379303395748138, -0.11620355397462845 ]
http://arxiv.org/abs/2406.11234v1
http://arxiv.org/pdf/2406.11234v1
MiniConGTS: A Near Ultimate Minimalist Contrastive Grid Tagging Scheme for Aspect Sentiment Triplet Extraction
2024-06-17T06:01:11
2024-06-17T06:01:11
Qiao Sun, Liujia Yang, Minghao Ma, Nanyang Ye, Qinying Gu
cs.CL
cs.CL, cs.AI
Aspect Sentiment Triplet Extraction (ASTE) aims to co-extract the sentiment triplets in a given corpus. Existing approaches within the pretraining-finetuning paradigm tend to either meticulously craft complex tagging schemes and classification heads, or incorporate external semantic augmentation to enhance performance. In this study, we, for the first time, re-evaluate the redundancy in tagging schemes and the internal enhancement in pretrained representations. We propose a method to improve and utilize pretrained representations by integrating a minimalist tagging scheme and a novel token-level contrastive learning strategy. The proposed approach demonstrates comparable or superior performance compared to state-of-the-art techniques while featuring a more compact design and reduced computational overhead. Additionally, we are the first to formally evaluate GPT-4's performance in few-shot learning and Chain-of-Thought scenarios for this task. The results demonstrate that the pretraining-finetuning paradigm remains highly effective even in the era of large language models.
[ -0.8249120116233826, -0.18439114093780518, 0.2761591076850891, 0.07468550652265549, -0.7168346047401428, 0.2225843220949173, -0.33213484287261963, -0.4000333547592163, 0.3109428584575653, -0.020819054916501045, -0.47646647691726685, -0.6928392648696899, -0.4647020995616913, 0.18963003158569336, 0.014840598218142986, 1.3357938528060913, -0.1509745717048645, -0.058714259415864944, 0.11731281876564026, -0.12658126652240753, -0.10804533213376999, -0.47227317094802856, -0.7711290717124939, -0.365796834230423, 0.4178975820541382, 0.4966646134853363, 0.3458993136882782, 0.4126283824443817, 0.6451812386512756, 0.21543315052986145, -0.013714463450014591, 0.07905859500169754, -0.3277187645435333, -0.29434099793434143, -0.0855269655585289, -0.307412326335907, -0.5327991843223572, 0.10011235624551773, 0.5469241142272949, 0.5126875042915344, 0.17104926705360413, 0.071451835334301, 0.5430920124053955, 0.6314959526062012, -0.6261734366416931, 0.3075088560581207, -0.6171510815620422, 0.04733920842409134, -0.22675128281116486, -0.03997636213898659, -0.051218051463365555, -0.21101628243923187, -0.029087020084261894, -0.6235601305961609, 0.45416873693466187, 0.062460366636514664, 1.0038217306137085, 0.2627490162849426, 0.002903585322201252, -0.046141367405653, -0.40329980850219727, 0.6302011013031006, -0.5293819904327393, 0.2617170214653015, 0.08960043638944626, 0.0018561403267085552, 0.31730103492736816, -0.791748583316803, -0.6095240712165833, -0.05992623046040535, -0.4096868932247162, 0.32937049865722656, -0.23180760443210602, 0.40686091780662537, 0.2445245236158371, 0.6151219010353088, -0.37472349405288696, 0.0698624923825264, -0.15211977064609528, -0.29609736800193787, 0.20442618429660797, -0.042519062757492065, -0.11376779526472092, -0.6569611430168152, -0.48383134603500366, 0.033075928688049316, -0.7797863483428955, -0.12443920969963074, 0.37884026765823364, 0.4644324779510498, -0.21675634384155273, 0.17634756863117218, -0.22205442190170288, 0.22806498408317566, 0.14989398419857025, 0.2588762938976288, 0.42995068430900574, -0.7404662370681763, -0.2421029806137085, -0.2790963351726532, 1.1132694482803345, 0.416267067193985, -0.39018476009368896, 0.12422970682382584, -0.42059770226478577, 0.24639037251472473, 0.14982634782791138, -0.6168280839920044, -0.6829617619514465, -0.08249825239181519, -0.3033575713634491, -0.21684689819812775, -0.12514051795005798, -0.8863465189933777, -0.31877994537353516, -0.3615919351577759, 0.4875143766403198, -0.6098393797874451, -0.3442302942276001, -0.0728289783000946, -0.06975490599870682, 0.3598911166191101, 0.29530012607574463, -0.8547107577323914, 0.3462182879447937, 0.9067062139511108, 1.0139886140823364, -0.23175477981567383, -0.02859315648674965, -0.21205705404281616, -0.09272940456867218, -0.14121372997760773, 0.9463011622428894, -0.627081573009491, -0.42572298645973206, -0.16273480653762817, -0.4177584648132324, 0.19027544558048248, -0.41601306200027466, 0.6498745083808899, -0.34954509139060974, 0.03665177896618843, -0.5464131236076355, -0.22298388183116913, -0.08630640059709549, 0.5576790571212769, -0.6354914307594299, 0.9781311750411987, -0.046272967010736465, -1.0264335870742798, 0.5781953930854797, -0.9586887359619141, -0.09899523109197617, 0.11196223646402359, -0.6050381064414978, -0.4356094002723694, 0.13733896613121033, 0.3220519423484802, 0.4511069357395172, -0.11447436362504959, -0.34862416982650757, -0.18531379103660583, -0.2785733938217163, -0.35797548294067383, -0.13038820028305054, 0.1523817926645279, 0.1317710131406784, -0.37392541766166687, 0.21275776624679565, -0.5944610834121704, 0.028553908690810204, -0.18613754212856293, -0.1363004595041275, -0.26048704981803894, -0.3791888654232025, -0.15609309077262878, 0.31924986839294434, 0.23024189472198486, -0.7371454834938049, 0.15016061067581177, -0.6850686073303223, 0.34155502915382385, 0.6453385353088379, -0.05624872073531151, 0.6734846234321594, -0.1727583259344101, 0.46744558215141296, 0.3637232482433319, -0.04844101145863533, 0.06506193429231644, -0.022793345153331757, -1.0214500427246094, -0.3595599830150604, 0.41028594970703125, 0.18769471347332, -1.414459228515625, 0.3082210421562195, -0.5080683827400208, -0.28182074427604675, -0.6634059548377991, 0.04464394226670265, 0.7692320942878723, 0.20632719993591309, 0.6226612329483032, -0.29641252756118774, -0.7487363815307617, -1.109370231628418, -0.30033645033836365, -0.023109350353479385, 0.10280287265777588, -0.10647966712713242, 0.542475700378418, -0.15945155918598175, 0.7848629355430603, -0.4906320869922638, -0.281202495098114, -0.4725876450538635, 0.5361456871032715, 0.11617539823055267, 0.7357305288314819, 0.39254170656204224, -0.5227705240249634, -0.6453731060028076, 0.159063920378685, -0.3604327440261841, 0.1071944311261177, 0.1578812450170517, -0.14492613077163696, 0.22016234695911407, 0.5292431712150574, -0.5201799869537354, 0.37221208214759827, 0.18242740631103516, 0.17341242730617523, 0.4236835539340973, 0.11608177423477173, -0.021158788353204727, -0.944650411605835, -0.08185975253582001, 0.16002188622951508, -0.4535997807979584, -0.4952916204929352, 0.11401450634002686, 0.11364615708589554, 0.004340897314250469, -0.34999409317970276, 0.35632646083831787, -0.5656207203865051, -0.07839203625917435, -0.3317442536354065, 0.2564631998538971, 0.053658369928598404, 0.6651344299316406, 0.021678201854228973, 0.7338495254516602, 0.34781959652900696, -0.3406536281108856, 0.14498105645179749, 0.011265616863965988, -0.044607359915971756, 0.6986286640167236, -0.2723328769207001, 0.40466490387916565, -0.2722092270851135, 0.18426495790481567, -0.8742145299911499, 0.04122128710150719, 0.45728492736816406, -0.4389186203479767, 0.5796850919723511, -0.15128368139266968, -0.46569183468818665, -0.4638991355895996, -0.9130923748016357, 0.36940377950668335, 0.4655376672744751, -0.6914296746253967, 0.5966241955757141, 0.10266069322824478, -0.16285337507724762, -0.5867317318916321, -0.4286418557167053, -0.10422395914793015, -0.40049847960472107, -0.0782347321510315, 0.33442243933677673, 0.17092913389205933, 0.12097357213497162, -0.10613856464624405, -0.5180673003196716, 0.17728100717067719, -0.07310060411691666, 0.06391192972660065, 0.12711787223815918, -0.3056751787662506, 0.14713172614574432, -0.02036956697702408, -0.4517749845981598, -0.1604594588279724, -0.3273950517177582, 0.6288597583770752, -0.7119569182395935, -0.1742870807647705, -0.4830004870891571, 0.5055334568023682, -0.23715004324913025, -0.018499739468097687, 0.27206286787986755, 0.9037439227104187, -0.3915703594684601, -0.1006961315870285, -0.5097901821136475, -0.017484087496995926, -0.49813395738601685, 0.4622378945350647, -0.7052871584892273, -1.037018060684204, 0.36371472477912903, -0.105321504175663, 0.012277971021831036, 0.6161877512931824, 0.28054726123809814, -0.37355837225914, 0.8317187428474426, 0.8942077159881592, -0.02786768600344658, 0.5814195275306702, -0.47803470492362976, 0.23833228647708893, -1.1291582584381104, -0.07195141911506653, -0.4558853209018707, -0.32847169041633606, -0.7320072650909424, -0.2930798828601837, 0.3939196467399597, 0.3659681975841522, -0.3237641453742981, 0.15281647443771362, -0.5106328129768372, 0.7645283341407776, 0.4042917490005493, 0.24360990524291992, 0.2322421818971634, 0.02877146564424038, -0.06363308429718018, -0.1525799185037613, -0.6440597176551819, -0.533310055732727, 0.9208458662033081, 0.22405530512332916, 0.6150229573249817, 0.08510962128639221, 1.1605945825576782, -0.016815699636936188, 0.580696702003479, -0.8827208280563354, 0.46316081285476685, -0.41490066051483154, -0.046734340488910675, 0.03184226155281067, -0.35429123044013977, -0.7478861212730408, 0.5380070209503174, -0.17052191495895386, -0.6609571576118469, 0.16639705002307892, 0.4233039617538452, -0.8950015306472778, 0.28397881984710693, -0.8452860116958618, 0.8164660334587097, 0.18092243373394012, -0.4564528465270996, -0.016824036836624146, -0.7570282220840454, 0.2835497558116913, -0.08100543916225433, 0.06518954783678055, 0.01634453982114792, -0.41908925771713257, 0.9350032210350037, -0.39606359601020813, 0.8355594873428345, -0.2448940873146057, 0.3160243332386017, 0.06321538239717484, -0.07624536007642746, 0.3183465600013733, 0.04098028689622879, 0.1454455405473709, 0.12983880937099457, 0.05378207936882973, -0.5097266435623169, -0.53596031665802, 0.8617522716522217, -0.9399101138114929, -0.7516682147979736, -0.4080006778240204, 0.05233771726489067, -0.5493345260620117, 0.3133090138435364, 0.5560111999511719, 0.3560430705547333, -0.21589232981204987, -0.13693100214004517, 0.3344750702381134, 0.2649475634098053, 0.7093620896339417, 0.08758468925952911, -0.09533099830150604, -0.6060475707054138, 1.0019915103912354, -0.2417415976524353, 0.15697135031223297, 0.2459266036748886, 0.16652221977710724, -0.3658240735530853, -0.7770510315895081, -0.21235856413841248, 0.46488893032073975, -0.9524146914482117, -0.6120466589927673, -0.6515659689903259, -0.0696384459733963, -0.3093075752258301, -0.2543504536151886, -0.5579091906547546, -0.11987858265638351, -0.36107248067855835, -0.19194020330905914, 0.06539490818977356, 0.9396243691444397, -0.3657703101634979, 0.7990177869796753, -0.7633863091468811, 0.285327285528183, 0.25319916009902954, 0.45645004510879517, -0.3126412630081177, -0.27854251861572266, -0.2160641998052597, -0.15321174263954163, -0.5105040669441223, -0.636371374130249, 0.1675305813550949, 0.24759429693222046, 0.27343547344207764, 0.23868289589881897, -0.1350160837173462, 0.7745549082756042, -0.3169214725494385, 0.9065847396850586, 0.6174570322036743, -1.197993278503418, 0.3570364713668823, -0.2702074646949768, 0.2774701714515686, 1.0387886762619019, 0.5917946100234985, -0.29209235310554504, -0.0029067075811326504, -0.8879237174987793, -0.8785988092422485, 0.8123778104782104, 0.22334343194961548, 0.0523395910859108, -0.050884831696748734, 0.5127949714660645, 0.311831533908844, 0.3838615119457245, -0.8134685158729553, -0.13392406702041626, -0.42505109310150146, -0.3691019117832184, -0.12188228219747543, -0.3205842971801758, -0.04033954069018364, -0.46383383870124817, 0.6386357545852661, -0.31996455788612366, 0.5048503875732422, 0.04742308333516121, -0.11432123929262161, 0.36570852994918823, 0.29526185989379883, 0.29671353101730347, 0.18920300900936127, -0.059171997010707855, 0.4620378017425537, 0.2418588548898697, -0.4183773398399353, -0.03412705659866333, 0.1441926658153534, 0.1638292372226715, -0.017428142949938774, 0.30259114503860474, 0.9816566705703735, 0.21762880682945251, 0.20095835626125336, 0.8392270803451538, -0.06066259369254112, -0.10148849338293076, -0.21872276067733765, -0.12939533591270447, -0.16225837171077728, 0.20055146515369415, -0.10666681081056595, 0.3418430984020233, 0.22357802093029022, -0.44242581725120544, 0.10064305365085602, 0.42370879650115967, -0.6122145652770996, -0.6106342077255249, 0.20299428701400757, 0.5064473748207092, 0.09614027291536331, 0.13386350870132446, -0.772778332233429, -0.7298111319541931, 0.1885751485824585, 0.23041626811027527, 0.9580314755439758, -0.04547584056854248, 0.010961446911096573, 0.40310078859329224, 0.36867257952690125, -0.11446121335029602, 0.35818907618522644, -0.3404403328895569, -0.7899298071861267, -0.37455612421035767, -0.5659783482551575, -0.2147122472524643, 0.1390714943408966, -0.6867573261260986, 0.4229852855205536, -0.6770229339599609, -0.2138211876153946, 0.02578568086028099, 0.19942258298397064, -0.9731462597846985, 0.10911714285612106, 0.38649848103523254, 0.5983570218086243, -0.8437168002128601, 0.848980188369751, 0.8998597264289856, -0.6536415815353394, -0.723711371421814, 0.2462705373764038, -0.09119947999715805, -0.6942775249481201, 0.6075811386108398, 0.40743017196655273, -0.45088842511177063, 0.22441641986370087, -0.6374408006668091, -0.6501546502113342, 0.7693663239479065, -0.04056517034769058, -0.353011816740036, -0.09315109252929688, -0.07585016638040543, 0.530549168586731, -0.3981119692325592, 0.42468512058258057, 1.090550184249878, 0.13898704946041107, 0.22084088623523712, -0.918381929397583, 0.01925712637603283, -0.3584461808204651, 0.08829331398010254, 0.3544306755065918, -0.5997127890586853, 0.8541165590286255, 0.15605638921260834, -0.5705311894416809, -0.03673331066966057, 0.9607148766517639, -0.09142117947340012, 0.01122178416699171, 0.5560914874076843, 0.6078466176986694, 0.6937102675437927, -0.3088807463645935, 0.9789049625396729, -0.060327351093292236, 0.581450879573822, 1.2477043867111206, 0.010682699270546436, 0.8785499930381775, 0.4287271499633789, -0.19155673682689667, 0.4554029107093811, 0.6217285394668579, 0.462860107421875, 0.6194552183151245, 0.19529010355472565, -0.3306964337825775, -0.3251868486404419, 0.01293625496327877, -0.3899942636489868, 0.27502214908599854, 0.5294581651687622, -0.03822135180234909, -0.4033823609352112, 0.15250417590141296, 0.28168365359306335, -0.0799977257847786, -0.6720075607299805, 1.036388874053955, 0.2662701904773712, -0.22787970304489136, 0.5639205574989319, -0.13945066928863525, 1.3240642547607422, -0.41298770904541016, 0.04340343177318573, -0.3491312861442566, 0.05213374271988869, -0.4090006351470947, -0.7243582010269165, 0.2765461504459381, 0.07230201363563538, 0.1424134075641632, -0.18692147731781006, 0.6731663346290588, -0.4184948205947876, -0.16465571522712708, 0.020819764584302902, 0.35159045457839966, 0.05865946412086487, -0.03838801383972168, -0.7695949673652649, 0.07855662703514099, 0.12417908012866974, 0.01508746575564146, 0.16933809220790863, 0.4926741123199463, 0.18977150321006775, 0.11068649590015411, 0.22965732216835022, 0.19246971607208252, -0.21247665584087372, 0.02396744303405285, 1.2811418771743774, -0.791344165802002, -0.7346970438957214, -0.9409916400909424, 0.41573143005371094, -0.40832892060279846, -0.1490023285150528, 0.6358597278594971, 0.5217235088348389, 0.9180731773376465, 0.1275656819343567, 0.9007552266120911, 0.14666828513145447, 0.5092096328735352, -0.625602126121521, 0.3473684787750244, -0.461948961019516, 0.301367849111557, -0.36795997619628906, -0.9036814570426941, -0.4681951701641083, 0.5297766327857971, -0.6525582671165466, 0.2077794075012207, 1.2423726320266724, 0.6144697666168213, -0.12182167172431946, 0.3464140295982361, 0.2465730756521225, 0.10539084672927856, 0.3857901096343994, 0.6434544324874878, 1.1235461235046387, -0.3391259014606476, 0.4637569785118103, -0.4215155839920044, -0.228158101439476, 0.01152665913105011, -0.869318962097168, -0.8196443319320679, -0.5392184257507324, -0.41896480321884155, -0.21332447230815887, -0.08006732165813446, 1.2806165218353271, 0.4685746133327484, -0.6277809739112854, 0.25539538264274597, 0.01074308529496193, -0.13787861168384552, 0.2965177595615387, -0.13347302377223969, 0.500015377998352, -0.6051954030990601, -0.5718814134597778, 0.02981599047780037, 0.27830424904823303, 0.07174107432365417, -0.037670742720365524, 0.22201605141162872, 0.07331807911396027, -0.30259665846824646, 0.6087675094604492, 0.1699639856815338, -0.4953470826148987, -0.7574644088745117, -0.6722869277000427, -0.17936314642429352, 0.4883805811405182, 0.9686447381973267, -0.6556366086006165, 0.28657978773117065, 0.45799800753593445, 0.48797932267189026, 0.5744655728340149, 0.2330923229455948, 0.09722550213336945, -1.069720983505249, 0.21307697892189026, 0.41819918155670166, 0.35113251209259033, 0.5754591822624207, -0.059268414974212646, 0.275307834148407, 0.3556760549545288, -0.15694253146648407, -0.447279155254364, 0.37197741866111755, -0.8613912463188171, 0.13802121579647064, 1.1918131113052368, -0.18110224604606628, -0.2832823693752289, -0.30323001742362976, -0.30015096068382263, 0.2135796993970871, -0.509300172328949, 0.3145744800567627, 0.526360273361206, -0.42185768485069275, -0.15129584074020386, -0.2953806221485138, 1.0285390615463257, 0.42198920249938965, -0.87291020154953, -0.12339206784963608, 0.49486610293388367, 0.1948196291923523, 0.3051856756210327, 0.8980487585067749, -0.05742720887064934, 0.01832774095237255, 0.11161115020513535, 0.406933456659317, 0.04556824266910553, -0.206488236784935, -0.6626099944114685, 0.22192451357841492, 0.29619187116622925, -0.4560996890068054 ]
http://arxiv.org/abs/2406.11233v1
http://arxiv.org/pdf/2406.11233v1
Probing the Decision Boundaries of In-context Learning in Large Language Models
2024-06-17T06:00:24
2024-06-17T06:00:24
Siyan Zhao, Tung Nguyen, Aditya Grover
cs.LG
cs.LG, cs.AI, cs.CL
In-context learning is a key paradigm in large language models (LLMs) that enables them to generalize to new tasks and domains by simply prompting these models with a few exemplars without explicit parameter updates. Many attempts have been made to understand in-context learning in LLMs as a function of model scale, pretraining data, and other factors. In this work, we propose a new mechanism to probe and understand in-context learning from the lens of decision boundaries for in-context binary classification. Decision boundaries are straightforward to visualize and provide important information about the qualitative behavior of the inductive biases of standard classifiers. To our surprise, we find that the decision boundaries learned by current LLMs in simple binary classification tasks are often irregular and non-smooth, regardless of linear separability in the underlying task. This paper investigates the factors influencing these decision boundaries and explores methods to enhance their generalizability. We assess various approaches, including training-free and fine-tuning methods for LLMs, the impact of model architecture, and the effectiveness of active prompting techniques for smoothing decision boundaries in a data-efficient manner. Our findings provide a deeper understanding of in-context learning dynamics and offer practical improvements for enhancing robustness and generalizability of in-context learning.
[ -0.634167492389679, -1.1599169969558716, 0.6386603116989136, -0.042150676250457764, -0.2317659705877304, -0.13759422302246094, -0.6512609720230103, -0.3001609742641449, -0.28304222226142883, 0.3228178322315216, -0.6205148696899414, -0.4922563433647156, -0.3863259255886078, -0.028352346271276474, -0.15243901312351227, 0.8923463225364685, -0.15108458697795868, 0.13864168524742126, -0.45425280928611755, -0.03381688520312309, -0.5754716396331787, -0.5478565692901611, -0.6061629056930542, -0.5406231880187988, 0.3185120224952698, 0.46950653195381165, 0.36709678173065186, 0.458397775888443, 0.08949875831604004, 0.21397849917411804, -0.32047486305236816, 0.2240525782108307, -0.48753872513771057, 0.31405869126319885, -0.195074662566185, -0.5995426177978516, -0.08025720715522766, -0.015907185152173042, 1.0439592599868774, 1.177270531654358, 0.15607567131519318, 0.20767545700073242, 0.540192723274231, 0.5646613836288452, -0.5458047986030579, 0.2847054600715637, -0.6735450029373169, 0.11187106370925903, -0.26002731919288635, -0.28647443652153015, -0.5532217621803284, -0.17773213982582092, 0.2578645348548889, -0.30400577187538147, 0.21930579841136932, -0.17384672164916992, 0.6115729212760925, 0.28957778215408325, -0.6098887324333191, -0.23113387823104858, -0.6870566606521606, 0.7682305574417114, -0.3468267619609833, 0.7845290899276733, 0.3473535478115082, 0.3433343470096588, -0.3951595425605774, -0.5314314961433411, -0.2154715210199356, 0.028501933440566063, 0.027640800923109055, -0.32668519020080566, 0.0032793793361634016, 0.04465403035283089, 0.3603147864341736, -0.07259680330753326, -0.1206616759300232, 0.3847619593143463, -0.15015223622322083, -0.03975224867463112, 0.38534027338027954, 0.07262590527534485, -0.0033058898989111185, 0.16922523081302643, -0.39575791358947754, -0.04451528191566467, -0.913489580154419, 0.5226791501045227, 0.18870027363300323, 0.45821672677993774, -0.2356783151626587, 0.01548696868121624, -0.17468729615211487, 1.044205904006958, 0.3106812536716461, -0.03434813395142555, 0.1623486876487732, -0.039077021181583405, -0.13845913112163544, 0.02092146687209606, 0.38811343908309937, 0.2694719433784485, 0.05614142119884491, -0.22991855442523956, -0.31752410531044006, -0.2643495202064514, 0.054355867207050323, -0.7278051972389221, 0.056759946048259735, 0.061215657740831375, -0.2415851354598999, -0.06222687289118767, -0.13432897627353668, -0.5643306374549866, -0.16972117125988007, -0.6964120268821716, 0.5412393808364868, -0.3874295651912689, -0.05343985557556152, 0.044637225568294525, 0.11429823935031891, 0.4530565142631531, 0.6064891219139099, -0.862539529800415, 0.220352441072464, 0.6215036511421204, 0.6543903946876526, -0.11161944270133972, -0.23218218982219696, -0.660346508026123, -0.04520523548126221, -0.38380715250968933, 0.6268190145492554, -0.8171359300613403, -0.24721013009548187, 0.05140962451696396, -0.041944362223148346, -0.11600833386182785, -0.6777476668357849, 0.15313434600830078, -0.5491896867752075, 0.002991586225107312, -0.3544173240661621, -0.5921027660369873, -0.5056344270706177, 0.41812846064567566, -0.3193567097187042, 0.9951965808868408, 0.1028311476111412, -0.5812564492225647, 0.7545852661132812, -0.5650271773338318, -0.2427474856376648, 0.1383216679096222, -0.4330217242240906, -0.33447781205177307, 0.07965324074029922, 0.10368853807449341, 0.754559338092804, -0.028609836474061012, 0.47565633058547974, -0.3029647469520569, -0.44637247920036316, 0.3313751816749573, -0.37983185052871704, 0.7482401728630066, -0.031019562855362892, -0.4997386336326599, 0.14968019723892212, -0.45691511034965515, -0.04529143497347832, -0.13555753231048584, -0.4505562484264374, -0.5758526921272278, 0.08359461277723312, -0.2229447364807129, 0.1832306832075119, -0.035635173320770264, -0.3514627516269684, 0.29253140091896057, -0.2578706741333008, 0.3074623942375183, 0.7621728777885437, 0.1146417036652565, 0.7504603862762451, 0.0765061154961586, 0.3427010476589203, 0.08382773399353027, 0.21489378809928894, -0.06436284631490707, -0.38516831398010254, -0.6664683222770691, -0.17121067643165588, 0.5363600254058838, 0.14843058586120605, -0.6930081844329834, 0.2792915403842926, -0.013621801510453224, -0.2102586328983307, -0.34731703996658325, 0.1999388486146927, 0.3337966799736023, 0.6562433838844299, 0.30800071358680725, -0.40577250719070435, -0.19447781145572662, -0.6626802682876587, -0.18453055620193481, 0.2511150538921356, 0.027869587764143944, 0.40988466143608093, 0.5414345860481262, -0.45160868763923645, 1.1945399045944214, -0.1528998762369156, -0.0607057586312294, -0.20520438253879547, -0.024287613108754158, -0.028887102380394936, 0.3883322775363922, 0.4340207576751709, -0.9532553553581238, -0.4013727605342865, -0.014443939551711082, -0.6647958755493164, -0.1361044943332672, -0.19053108990192413, -0.2674140930175781, 0.19003364443778992, 0.8279937505722046, -0.19957080483436584, 0.3648679852485657, 0.2599327266216278, -0.29083141684532166, 0.49117419123649597, -0.015482071787118912, -0.2871095836162567, -0.49013862013816833, -0.2551330029964447, 0.22173936665058136, -0.22165314853191376, -0.8810896873474121, 0.21979938447475433, 0.4676091969013214, 0.2514626681804657, -0.5695279240608215, 0.6435835361480713, -0.5483062863349915, -0.06009058281779289, -0.17455638945102692, 0.09826596826314926, -0.1953807771205902, 0.548122763633728, 0.13735361397266388, 0.40973198413848877, 0.8780112862586975, -0.9928552508354187, -0.12304285168647766, 0.0704338327050209, -0.2959167957305908, 0.3885418772697449, -0.17670951783657074, 0.19157616794109344, -0.4617213308811188, 0.5206127166748047, -0.9696893692016602, -0.14906631410121918, 0.14916953444480896, -0.2230978012084961, 0.5012348294258118, -0.4976331293582916, -0.34028637409210205, 0.16410064697265625, -0.21553988754749298, 0.728678822517395, 0.29102689027786255, -0.8406753540039062, 0.545024573802948, 0.3152409493923187, 0.15596237778663635, -0.4380922317504883, -0.41478073596954346, -0.2297479510307312, -0.5120965838432312, -0.35706573724746704, 0.2053454965353012, -0.09120023250579834, -0.5889714956283569, -0.37824052572250366, -0.19136744737625122, 0.021187156438827515, 0.30079418420791626, 0.29837074875831604, 0.1804562360048294, -0.01892799139022827, 0.12899109721183777, 0.3069692850112915, 0.09734035283327103, 0.26203569769859314, -0.357280433177948, 0.6091765761375427, -0.23105137050151825, -0.24777479469776154, -0.1290213167667389, 0.06004896014928818, 0.3407004773616791, -0.3214486539363861, 0.49253228306770325, 0.39339569211006165, -0.4438217580318451, -0.7055396437644958, -0.41270744800567627, -0.3907650113105774, -0.5003707408905029, 0.17475973069667816, -0.4186643064022064, -1.0764122009277344, 0.45001184940338135, -0.4121091663837433, 0.0326412133872509, 0.13251502811908722, 0.666225254535675, 0.13981452584266663, 0.8704172968864441, 0.8091139197349548, 0.2767190635204315, 0.594976007938385, -0.4084087014198303, 0.10893288254737854, -0.9838301539421082, -0.5356467366218567, -0.3132792115211487, -0.37413308024406433, -0.4515956938266754, -0.518619179725647, 0.5824866890907288, 0.2003220021724701, -0.22305084764957428, -0.16190409660339355, -0.3191918730735779, 0.6107006669044495, 0.359153151512146, 0.30043825507164, 0.04233192652463913, -0.13942784070968628, -0.34880703687667847, 0.09109852463006973, -0.5964422821998596, -0.2765715420246124, 0.8505260944366455, 0.5013515949249268, 0.7064204812049866, -0.014264454133808613, 0.5963709354400635, -0.06885751336812973, 0.1761435568332672, -0.9777870178222656, 0.473657488822937, 0.24725216627120972, -0.41966429352760315, -0.41537001729011536, -0.4209038019180298, -1.0193564891815186, 0.5753858089447021, -0.3050704300403595, -0.7532914876937866, 0.4932895302772522, -0.0224264245480299, -0.3621509373188019, 0.34186026453971863, -0.7313908338546753, 0.7636222243309021, -0.3198678195476532, -0.5208298563957214, 0.13919594883918762, -0.7559118270874023, 0.1684354692697525, -0.24528971314430237, 0.3842127025127411, 0.15621790289878845, -0.131343811750412, 0.5535165667533875, 0.059758927673101425, 1.2281241416931152, -0.39074432849884033, -0.26485300064086914, 0.13922342658042908, 0.3437191843986511, 0.3547740578651428, 0.008491027168929577, 0.15275351703166962, 0.20262573659420013, -0.36910736560821533, -0.22065256536006927, -0.5459965467453003, 0.4362545907497406, -0.5741400718688965, -0.3713476359844208, -0.14450174570083618, -0.467833548784256, -0.6066362857818604, 0.10182198137044907, 0.22571909427642822, 0.7539821267127991, -0.06546498090028763, 0.2749664783477783, 1.0454492568969727, -0.16963325440883636, 0.3944697678089142, 0.6009278893470764, -0.28719520568847656, 0.4254513382911682, 0.6854186654090881, 0.17676162719726562, 0.34001126885414124, 0.421354740858078, 0.1572534143924713, -0.3534693121910095, -0.7908920645713806, -0.35704198479652405, 0.18056751787662506, -0.7729581594467163, -0.07182707637548447, -0.422518253326416, -0.05390830338001251, -0.12271513044834137, -0.28619101643562317, 0.047305356711149216, 0.013834546320140362, -0.24902783334255219, -0.1453372985124588, 0.11310649663209915, 0.9438546299934387, 0.14195407927036285, 0.301960825920105, -0.4365652799606323, -0.24156735837459564, 0.28729549050331116, 0.4916498363018036, 0.18272657692432404, -0.6349625587463379, -0.4225994050502777, 0.024680577218532562, -0.3019044101238251, -0.6588361263275146, 0.20442090928554535, 0.26387372612953186, 0.5974447727203369, 0.572796642780304, -0.055309753865003586, 0.47226372361183167, -0.5069292187690735, 0.6206569075584412, -0.1405467838048935, -0.9208096265792847, 0.4352257251739502, -0.43040549755096436, 0.3183196485042572, 0.4005385637283325, 0.6294335722923279, -0.5256773829460144, -0.4029366970062256, -0.4917586147785187, -0.995271623134613, 0.6286823153495789, -0.2758854329586029, 0.07957907021045685, 0.1005159541964531, 0.5691571235656738, 0.44614681601524353, 0.04080845043063164, -0.518515944480896, -0.181576669216156, 0.13889965415000916, 0.1961219608783722, -0.14258940517902374, -0.09716999530792236, -0.013891637325286865, -0.43862512707710266, 0.3379684388637543, -0.387634813785553, -0.048994988203048706, 0.050261981785297394, -0.36160537600517273, 0.0340874157845974, 0.2624507248401642, 0.3938252031803131, 0.802340030670166, -0.1859998255968094, 0.19301243126392365, 0.4973617196083069, -0.21800440549850464, -0.09249810874462128, -0.12829841673374176, -0.21829989552497864, -0.1220233365893364, 0.18972164392471313, 0.9971348643302917, 0.4512762725353241, -0.6062121987342834, 0.4137800633907318, -0.16830867528915405, -0.2311551719903946, -0.19137650728225708, 0.03651529178023338, -0.28326618671417236, 0.36437249183654785, 0.42770281434059143, 0.020360734313726425, 0.24984201788902283, -0.6977512240409851, 0.29758670926094055, 0.5129696130752563, -0.5698006749153137, -0.3189050853252411, 0.3671873211860657, 0.10333164781332016, -0.10358575731515884, 0.5371392369270325, -0.2070956528186798, -0.5995847582817078, 0.34660378098487854, 0.5895668268203735, 0.6251590847969055, -0.09674141556024551, 0.10480627417564392, 0.16043215990066528, 0.10847926139831543, -0.0819036141037941, -0.11668165028095245, -0.49678853154182434, -0.8226333856582642, -0.42073512077331543, -0.5017619729042053, -0.6235533356666565, 0.05741855129599571, -0.6801276803016663, 0.24916136264801025, -0.5538367033004761, 0.00039564495091326535, -0.11571075767278671, -0.1053813174366951, -0.6891645789146423, 0.32009780406951904, 0.6035576462745667, 0.9684363007545471, -0.7681459188461304, 0.8383022546768188, 0.7559371590614319, 0.01626582257449627, -0.7943840026855469, 0.15155333280563354, 0.011104640550911427, -0.6526947617530823, 0.6679741740226746, 0.4506852924823761, -0.26982581615448, -0.14277678728103638, -0.827833890914917, -0.6973958611488342, 0.6980202794075012, 0.37680020928382874, -0.3896976709365845, -0.023307841271162033, 0.016946973279118538, 0.32643866539001465, -0.4229763150215149, 0.3202754557132721, 0.6334245800971985, 0.4100000858306885, -0.20825336873531342, -0.8100618720054626, 0.16047713160514832, -0.07194165140390396, -0.08176625519990921, 0.5483381152153015, -0.6187059879302979, 0.8401036858558655, -0.06817617267370224, -0.12710262835025787, -0.5653382539749146, 0.5094788670539856, 0.02633255161345005, 0.2815517783164978, 0.6105480790138245, 0.27865684032440186, 0.8364185690879822, -0.32391759753227234, 0.8571993112564087, 0.10309742391109467, 0.2898581027984619, 0.7819941639900208, -0.09943339228630066, 0.8170968890190125, 0.4854752719402313, 0.08531656861305237, 0.6188485622406006, 0.9975901246070862, 0.2239866405725479, 0.4492635428905487, 0.35695117712020874, -0.3323781490325928, -0.3780786395072937, -0.03430569916963577, -0.1730796992778778, 0.589323878288269, 0.8067082762718201, 0.0750291645526886, -0.40947696566581726, 0.2504633367061615, 0.04796336591243744, -0.11101623624563217, -0.6152980923652649, 0.7382612228393555, 0.018440769985318184, -0.5742743611335754, 0.7169355750083923, -0.09014493227005005, 0.9627841711044312, -0.7167757153511047, -0.16612836718559265, -0.1386379599571228, 0.1279684156179428, -0.3606874644756317, -0.8051220774650574, -0.0775052160024643, -0.17740656435489655, -0.10717736929655075, -0.30073052644729614, 0.4652061462402344, -0.6111122965812683, -0.07740935683250427, 0.5080512166023254, 0.3754355013370514, 0.2145373374223709, -0.21293118596076965, -0.45419982075691223, 0.1775997281074524, 0.07397373765707016, -0.14894041419029236, 0.7124536633491516, 0.7206634879112244, -0.39853936433792114, 0.6706466674804688, 0.41170889139175415, -0.18597343564033508, 0.16511113941669464, 0.041701383888721466, 0.7937467098236084, -0.4929344654083252, -0.4898836016654968, -0.8301387429237366, 0.36373552680015564, 0.23072035610675812, -0.25470173358917236, 0.7969717979431152, 0.44565504789352417, 1.3816176652908325, 0.21224503219127655, 0.6632472276687622, 0.10607760399580002, 0.2034631073474884, -0.7171201705932617, 0.5731571912765503, -0.6821538209915161, 0.17463693022727966, 0.06794239580631256, -0.8137174844741821, -0.3760240077972412, 0.46531927585601807, -0.612713098526001, 0.14451512694358826, 0.5266270041465759, 0.6435571312904358, -0.17642422020435333, -0.0175124853849411, 0.15138638019561768, 0.15312302112579346, 0.1311071366071701, 0.42324817180633545, 0.8790659308433533, 0.053358469158411026, 0.1177050992846489, -0.2286609709262848, -0.6259295344352722, -0.21512627601623535, -0.6626342535018921, -1.0453015565872192, -0.7741767168045044, -0.09263521432876587, -0.14389021694660187, -0.009625183418393135, 1.2213486433029175, 0.6514168381690979, -0.5196632742881775, -0.42717063426971436, 0.24221546947956085, 0.1971016675233841, -0.21315257251262665, -0.23200799524784088, 0.30269673466682434, -0.7319333553314209, -0.6884523630142212, 0.47956159710884094, 0.010313394479453564, -0.004198270849883556, -0.11356564611196518, -0.052078649401664734, 0.030738793313503265, -0.170528382062912, 0.7097441554069519, 0.22392110526561737, -0.5019420981407166, -0.17252545058727264, -0.28299403190612793, 0.23608267307281494, 0.0424974262714386, 0.8801999092102051, -0.8294974565505981, 0.5105026960372925, 0.20332452654838562, 0.7546927332878113, 0.5324946045875549, -0.07830417901277542, 0.551554262638092, -0.9336249232292175, 0.19696135818958282, 0.1639377325773239, 0.38356781005859375, 0.3802582621574402, -0.3452593684196472, 0.27741190791130066, -0.03401834890246391, -0.5712242722511292, -0.8541843891143799, 0.2789996564388275, -0.7429481744766235, -0.473611980676651, 1.312787652015686, 0.1995537430047989, -0.3107779324054718, -0.3113289177417755, -0.16436640918254852, 0.13714440166950226, -0.4276615083217621, 0.5533301830291748, 0.5220668911933899, -0.31191933155059814, 0.1224314346909523, -0.5970149636268616, 0.684681236743927, 0.26234427094459534, -0.3846569061279297, 0.13981302082538605, 0.4959285855293274, 0.36301687359809875, -0.12547709047794342, 0.26744726300239563, -0.004458227660506964, 0.16293072700500488, -0.3565175533294678, -0.08785902708768845, 0.08841019123792648, -0.6425241827964783, -0.7185201644897461, 0.029823336750268936, 0.07811850309371948, -0.05016516149044037 ]
http://arxiv.org/abs/2406.11231v1
http://arxiv.org/pdf/2406.11231v1
Enabling robots to follow abstract instructions and complete complex dynamic tasks
2024-06-17T05:55:35
2024-06-17T05:55:35
Ruaridh Mon-Williams, Gen Li, Ran Long, Wenqian Du, Chris Lucas
cs.RO
cs.RO, cs.AI, cs.CL, cs.LG
Completing complex tasks in unpredictable settings like home kitchens challenges robotic systems. These challenges include interpreting high-level human commands, such as "make me a hot beverage" and performing actions like pouring a precise amount of water into a moving mug. To address these challenges, we present a novel framework that combines Large Language Models (LLMs), a curated Knowledge Base, and Integrated Force and Visual Feedback (IFVF). Our approach interprets abstract instructions, performs long-horizon tasks, and handles various uncertainties. It utilises GPT-4 to analyse the user's query and surroundings, then generates code that accesses a curated database of functions during execution. It translates abstract instructions into actionable steps. Each step involves generating custom code by employing retrieval-augmented generalisation to pull IFVF-relevant examples from the Knowledge Base. IFVF allows the robot to respond to noise and disturbances during execution. We use coffee making and plate decoration to demonstrate our approach, including components ranging from pouring to drawer opening, each benefiting from distinct feedback types and methods. This novel advancement marks significant progress toward a scalable, efficient robotic framework for completing complex tasks in uncertain environments. Our findings are illustrated in an accompanying video and supported by an open-source GitHub repository (released upon paper acceptance).
[ -0.08935412764549255, -0.7637308239936829, 0.7835437059402466, 0.0732756182551384, 0.25333863496780396, 0.32972252368927, -0.2668716311454773, -0.29990947246551514, 0.07930748164653778, 0.5777004361152649, -0.9219802021980286, -0.5035633444786072, -0.6790097951889038, -0.006348841357976198, -0.3171805143356323, 0.7168500423431396, -0.3822457790374756, -0.05738751217722893, -0.1373971849679947, 0.092128224670887, -0.20976951718330383, -0.35060638189315796, -0.24475879967212677, -0.436451256275177, 0.36855489015579224, 0.37108397483825684, 0.8739739656448364, 0.46488264203071594, 0.6189824938774109, 0.37734660506248474, 0.2284948229789734, 0.591071605682373, -0.3372650742530823, 0.10071773082017899, -0.44750481843948364, -0.5009627342224121, -0.27713578939437866, -0.35099512338638306, 0.09988545626401901, 0.679375410079956, -0.037961121648550034, -0.03342359513044357, 0.1623973399400711, 0.7433747053146362, -0.4705047607421875, 0.7676078081130981, -0.10395649820566177, 0.23924893140792847, 0.20785850286483765, -0.2550874352455139, -0.2161945402622223, -0.21618294715881348, -0.04893316701054573, -0.6296986937522888, -0.31011253595352173, -0.09398907423019409, 0.7637879848480225, 0.6046549677848816, -0.377721905708313, -0.5328915119171143, -1.2396881580352783, 0.4566844403743744, -0.5086219906806946, 0.28212377429008484, 0.35185059905052185, 0.36493727564811707, -0.5635993480682373, -0.8161678314208984, -0.5603097081184387, -0.42681679129600525, -0.05123244225978851, 0.16408492624759674, -0.10525193065404892, 0.22137679159641266, 0.19364722073078156, 0.015558131970465183, -0.19363470375537872, -0.278184175491333, -0.16891275346279144, 0.007673243060708046, 0.3606215715408325, 0.3462740182876587, 0.29653000831604004, -0.06370210647583008, -0.5562301874160767, -0.3313523828983307, -0.3827553987503052, 0.28842100501060486, 0.3638796806335449, 0.39916959404945374, -0.22355756163597107, 0.7888880968093872, -0.7044916749000549, 0.7866532802581787, -0.05742704123258591, -0.15976963937282562, 0.12871666252613068, -0.33374741673469543, 0.11830813437700272, -0.38366344571113586, 0.6682617664337158, 0.5109103322029114, 0.17729799449443817, -0.2066131830215454, -0.5376965999603271, 0.19659112393856049, 0.26433035731315613, -0.6140078902244568, -0.5682396292686462, 0.4163665771484375, -0.14271530508995056, -0.34347042441368103, 0.28243502974510193, -0.5388674139976501, -0.4403637647628784, -0.502230167388916, 0.5645518898963928, -0.17963969707489014, -0.09126819670200348, 0.5285088419914246, -0.051917050033807755, 0.07176179438829422, 0.6920853853225708, -0.6639176607131958, 0.5263290405273438, 0.521864652633667, 0.6480656862258911, -0.017520131543278694, -0.04598703607916832, -0.657311737537384, 0.4397992789745331, -0.288959264755249, 0.48966658115386963, -0.5225120186805725, -0.0637364611029625, 0.12383871525526047, 0.020320601761341095, 0.23811794817447662, -0.49089232087135315, 0.3513542115688324, -0.46090254187583923, 0.050103623420000076, -0.1571149080991745, -0.2738446295261383, -0.4920859932899475, 0.38734298944473267, -0.6053703427314758, 0.857742190361023, 0.47274264693260193, -0.42403483390808105, 0.2027086466550827, -0.7836199998855591, -0.6241045594215393, 0.2591497004032135, -0.29791516065597534, -0.11428854614496231, -0.38150766491889954, 0.22039715945720673, 0.791951060295105, -0.1662008911371231, 0.2853417992591858, -0.471165269613266, -0.07673244178295135, -0.06327567249536514, -0.2310681939125061, 0.33276626467704773, 0.1784939467906952, -0.49576833844184875, 0.5523118376731873, -0.8121104836463928, -0.01779911294579506, 0.044498421251773834, -0.5111709833145142, 0.12287212163209915, 0.17710310220718384, -0.0295795276761055, 0.19279073178768158, 0.4770814776420593, -0.3539894223213196, 0.34090572595596313, 0.09977823495864868, 0.6642934083938599, 0.4808320701122284, -0.11119755357503891, 0.43398019671440125, -0.28397586941719055, 0.8056738972663879, -0.3133712708950043, 0.1288090944290161, -0.3406427502632141, -0.33805811405181885, -0.47682178020477295, -0.409628301858902, 0.08970704674720764, 0.8859667778015137, -1.2882155179977417, 0.5236881971359253, -0.1879393458366394, -0.20018412172794342, 0.03499607369303703, 0.2159101516008377, 0.36889171600341797, 0.5188988447189331, 0.28530263900756836, -0.16126106679439545, -0.3261274993419647, -0.5186110138893127, 0.23097704350948334, -0.04886496439576149, -0.5042581558227539, 0.2477412074804306, 0.35178321599960327, -0.4197431206703186, 0.7112584114074707, -0.36290815472602844, -0.38699862360954285, -0.06579474359750748, 0.10327567160129547, 0.2957767844200134, 0.27857255935668945, 0.3267057240009308, -0.6241793036460876, 0.08097710460424423, 0.4903685450553894, -0.9736917614936829, 0.04020256549119949, -0.17648422718048096, -0.09050729870796204, -0.2473413050174713, 0.6943668127059937, -0.924866795539856, 0.42843976616859436, 0.3868490755558014, -0.12876011431217194, 0.28599730134010315, -0.08479828387498856, 0.15293636918067932, -0.8277843594551086, -0.25368401408195496, -0.05450233817100525, -0.43346336483955383, -0.23294620215892792, 0.17429056763648987, -0.0688009187579155, -0.008401201106607914, -0.41324853897094727, 0.34450671076774597, -0.4040672183036804, 0.02913099341094494, -0.2683587372303009, -0.1703973114490509, 0.028753239661455154, 0.7834819555282593, -0.04778464883565903, 0.24362421035766602, 0.32703548669815063, -0.5098655223846436, 0.6691493391990662, -0.09124335646629333, -0.5195865035057068, 0.08686336129903793, -0.5113092064857483, -0.035295527428388596, 0.22454503178596497, 0.22223609685897827, -1.1424756050109863, -0.7914225459098816, 0.7724689841270447, -0.16746605932712555, 0.18524959683418274, -0.06941775232553482, -0.7639355659484863, -0.5131427049636841, 0.014794103801250458, -0.13833892345428467, 0.21831141412258148, -0.39107781648635864, 1.1490403413772583, 0.30883315205574036, 0.04167110100388527, -0.4865928888320923, -0.4391797184944153, -0.008542416617274284, 0.1645585000514984, -0.71745765209198, 0.11348175257444382, -0.06221192330121994, -0.34574639797210693, 0.08207409083843231, -0.2849869728088379, -0.012367602437734604, 0.05563613027334213, 0.307006299495697, 0.04168660193681717, 0.16462507843971252, -0.23949210345745087, 0.189641073346138, 0.1887274533510208, 0.3746398687362671, -0.41893070936203003, 0.4285286068916321, -0.4187808930873871, -0.48783227801322937, -0.5723583102226257, 0.12580372393131256, 0.7977285981178284, 0.0172230564057827, -0.03713984414935112, 0.7182655930519104, -0.41448870301246643, -0.4290388226509094, -0.08138326555490494, -0.48353078961372375, -0.6253858208656311, 0.46315619349479675, -0.47784850001335144, -0.8572266697883606, 0.5655792951583862, -0.37957999110221863, 0.3231212794780731, -0.10965699702501297, 0.6616107225418091, -0.3338301181793213, 0.8427459597587585, 0.43706855177879333, 0.24951142072677612, 0.3864695131778717, -0.23845167458057404, 0.24123091995716095, -0.3296157419681549, -0.3864574432373047, -0.18425951898097992, -0.5191315412521362, -0.40529361367225647, -0.7700040936470032, 0.472783625125885, -0.25702452659606934, -0.21462616324424744, 0.24132245779037476, -0.6567031741142273, 0.31130167841911316, 0.6014865636825562, 0.45122596621513367, 0.19341936707496643, -0.1549040824174881, -0.11499630659818649, 0.3080875873565674, -0.8111987113952637, -0.5149412155151367, 0.6689895391464233, 0.24257659912109375, 1.2118834257125854, 0.04879773408174515, 0.37966087460517883, 0.5800139307975769, -0.005205092485994101, -0.926542341709137, 0.6453121304512024, 0.03437873721122742, -0.2148747742176056, -0.47649237513542175, -0.22086194157600403, -0.9570769667625427, 0.07700125873088837, -0.19445614516735077, -0.3755949139595032, -0.12701711058616638, 0.12538667023181915, -0.5140561461448669, 0.3293101489543915, -0.7973225712776184, 0.44017475843429565, -0.44659218192100525, -0.5481767654418945, 0.11317472904920578, -0.9570026993751526, 0.35123133659362793, 0.35786521434783936, 0.3432534635066986, 0.012620676308870316, -0.04036276042461395, 0.138467937707901, -0.4507581889629364, 1.111892819404602, -0.16434836387634277, -0.3019082248210907, 0.3484083116054535, 0.5272009372711182, 0.637449324131012, 0.11964744329452515, 0.03650214895606041, 0.03559551015496254, -0.08875223249197006, -0.2042320966720581, -1.0173903703689575, 0.4566551744937897, -0.6818877458572388, -0.638026773929596, -0.27639254927635193, -0.9138001203536987, -0.10530689358711243, 0.26016032695770264, -0.1509869396686554, 0.13344384729862213, 0.36257022619247437, 0.1584853231906891, 0.6533471941947937, -0.05220859870314598, 0.2798652946949005, 0.3373909890651703, -0.415107786655426, -0.1756400316953659, 0.6670897006988525, 0.04525303840637207, 0.1783873289823532, 0.8807437419891357, 0.16551494598388672, 0.0025815058033913374, -0.39283713698387146, -0.8746947646141052, -0.3139802813529968, -0.6827040910720825, -0.1955336630344391, -0.5883983969688416, -0.0832059234380722, 0.0816226378083229, -0.35415664315223694, -0.4701438546180725, -0.3866592049598694, -0.26763585209846497, -0.3168718218803406, 0.5431488156318665, 1.1305893659591675, 0.04841851070523262, 0.153194397687912, -0.7262975573539734, 0.3918573558330536, 0.34740179777145386, 0.23879097402095795, -0.1235368549823761, -0.110600546002388, -0.13814951479434967, -0.014343658462166786, -0.09489627927541733, -0.5207583904266357, 0.2886340022087097, -0.241179957985878, 0.1925237625837326, 0.2389921247959137, 0.30327072739601135, 0.42605695128440857, -0.5373860001564026, 0.7282178997993469, 0.19878406822681427, -0.7538318634033203, 0.506563663482666, -0.8537749648094177, 0.4666295349597931, 0.3297916650772095, 0.3263550102710724, 0.1430860459804535, -0.3505648672580719, -0.17551343142986298, -1.148098111152649, 0.4193022847175598, 0.06331415474414825, 0.18868282437324524, 0.26040104031562805, 0.37355536222457886, 0.05696957930922508, 0.2807290554046631, -0.6153653860092163, 0.12719565629959106, 0.023568682372570038, -0.18042166531085968, 0.4747142195701599, 0.24867106974124908, -0.5610495209693909, -0.3046889305114746, 0.2596742808818817, -0.34340324997901917, 0.211925208568573, -0.02687353827059269, 0.1062534749507904, -0.3285929560661316, -0.1488586962223053, 0.7372742891311646, 0.6426172852516174, -0.20104509592056274, -0.12116561084985733, -0.14148564636707306, -0.2843646705150604, -0.05045590549707413, -0.009238894097507, -0.04181365668773651, -0.1867092251777649, 0.3171633780002594, 0.5520923733711243, 0.13887174427509308, -0.7473252415657043, 0.38076600432395935, -0.12267206609249115, -0.2883906364440918, -0.4562813639640808, 0.39031168818473816, 0.16913753747940063, 0.4413958489894867, 0.14231017231941223, 0.46156802773475647, 0.23076511919498444, -0.5446687340736389, 0.5621427893638611, 0.11890467256307602, -0.5340119004249573, -0.5007731318473816, 0.7585694193840027, 0.3436301350593567, -0.36866024136543274, 0.4777708351612091, -0.35650330781936646, -0.3862619400024414, 0.5812674164772034, 0.02759077213704586, 0.534733772277832, 0.1472761482000351, 0.21441426873207092, 0.08701599389314651, 0.36169347167015076, -0.07398540526628494, 0.7627831697463989, -0.46647918224334717, -0.7788631916046143, -0.5148990154266357, -0.5360881686210632, -0.7350172996520996, -0.15433986485004425, -0.6272721886634827, 0.22909528017044067, -0.8559726476669312, 0.04056030511856079, -0.2685545086860657, -0.47016429901123047, -0.7771216034889221, 0.20639623701572418, 0.002458633854985237, 0.3783022463321686, -0.5356568098068237, 0.7392987012863159, 0.8334770798683167, -0.22938337922096252, -1.0259087085723877, -0.03063531033694744, 0.08812147378921509, -0.8045548796653748, 0.591439425945282, -0.08270352333784103, -0.8450241088867188, -0.4885869324207306, -0.7859681844711304, -0.8277668952941895, 0.9082793593406677, 0.4017413258552551, -0.7010603547096252, 0.07561216503381729, 0.060638364404439926, 0.6115719079971313, -0.3636532425880432, 0.06917465478181839, 0.3345133662223816, 0.7028261423110962, 0.25707051157951355, -0.7215531468391418, 0.08127818256616592, -0.43503421545028687, -0.1768459677696228, 0.09338907897472382, -0.8641930818557739, 0.6191648840904236, -0.4501913785934448, 0.23540106415748596, 0.062156833708286285, 0.766674816608429, 0.20235829055309296, 0.2781849205493927, 0.47854822874069214, 0.48957359790802, 0.7367205619812012, -0.18275795876979828, 1.2353287935256958, -0.3924078643321991, -0.0516727939248085, 1.2485945224761963, -0.48139894008636475, 0.5671294331550598, 0.334750235080719, -0.2541770339012146, 0.6517376899719238, 0.5544798374176025, 0.08689006417989731, 0.7592604160308838, 0.43045949935913086, -0.15478624403476715, -0.0679064616560936, -0.02322961576282978, 0.09011554718017578, 0.5217859148979187, 0.7255681157112122, -0.16199281811714172, 0.10269469022750854, 0.1581704020500183, 0.062550388276577, 0.20249558985233307, -0.07054579257965088, 0.5695204734802246, 0.04698149487376213, -0.6909486055374146, 0.329597145318985, -0.19691964983940125, 0.5509703159332275, -0.5875896215438843, -0.4579482078552246, 0.2279493361711502, 0.33245760202407837, -0.22264596819877625, -1.1325756311416626, 0.1824834793806076, -0.42618075013160706, -0.24291369318962097, -0.4060293734073639, 0.5958563685417175, -0.281210333108902, -0.3323950171470642, 0.5302773118019104, 0.5060634016990662, -0.051262740045785904, 0.16677409410476685, -0.5085079073905945, 0.21380291879177094, 0.20193107426166534, -0.38533249497413635, 0.1434154361486435, 0.8408560752868652, -0.1066770926117897, 1.0599796772003174, 0.556742787361145, -0.18752463161945343, 0.07636085897684097, 0.16432806849479675, 0.8917890191078186, -0.31873568892478943, -0.21230950951576233, -0.4445308744907379, 0.568442702293396, 0.46022477746009827, -0.2840422987937927, 0.4290914535522461, 0.17851696908473969, 1.2538303136825562, -0.34451547265052795, 0.9276771545410156, -0.3160627484321594, 0.15848180651664734, -0.5118157863616943, 0.4209344983100891, -0.510198175907135, 0.46796080470085144, -0.19820371270179749, -0.6464730501174927, -0.4771679937839508, 0.7285374402999878, -0.05102723836898804, 0.09924864768981934, 0.30079221725463867, 0.8236233592033386, -0.01825736090540886, -0.018156349658966064, 0.36986836791038513, 0.19955046474933624, 0.45147082209587097, 0.1979566216468811, 0.9162598252296448, -0.10958819836378098, 0.6765581965446472, -0.4181744158267975, -0.19605301320552826, 0.05121111869812012, -0.7584198117256165, -0.6544260382652283, -0.4973199665546417, -0.18567398190498352, -0.41800031065940857, 0.19778256118297577, 1.1278502941131592, 0.9721095561981201, -0.7364766597747803, -0.3176475167274475, -0.11153590679168701, -0.016039058566093445, -0.5648130774497986, -0.24840274453163147, 0.16412799060344696, -0.22963076829910278, -0.8825726509094238, 0.4658834934234619, 0.635508120059967, -0.36338359117507935, -0.2604879140853882, -0.06871535629034042, -0.06396885216236115, -0.12092199176549911, 0.9350094795227051, 0.24669964611530304, -0.8241404294967651, -0.3572961390018463, 0.04303565248847008, -0.005168238189071417, 0.14072856307029724, 0.3960186541080475, -0.6814568638801575, 0.7130178809165955, 0.5132778286933899, 0.8957638144493103, 0.5116598010063171, -0.15278467535972595, 0.7734457850456238, -0.6468462944030762, -0.037248723208904266, 0.4783558249473572, 0.4858431816101074, 0.32006242871284485, -0.6338657140731812, 0.8807100653648376, 0.02095024473965168, -0.4849647879600525, -0.3939431607723236, 0.43340611457824707, -1.2882109880447388, -0.30426666140556335, 1.2260856628417969, -0.24905605614185333, -0.3555026054382324, -0.12079906463623047, -0.14829258620738983, 0.13512660562992096, -0.66721111536026, 1.0113424062728882, 0.7887611389160156, -0.5104624629020691, -0.16119331121444702, -0.7083891034126282, 0.16205768287181854, 0.2456626147031784, -0.7963203191757202, -0.12597917020320892, 0.5440058708190918, 0.24270914494991302, 0.1608477234840393, 0.19821655750274658, -0.1691948026418686, 0.29370546340942383, -0.1546102613210678, 0.3641890585422516, -0.12920552492141724, -0.6466701626777649, 0.126089945435524, 0.2720698416233063, -0.20352678000926971, -0.23896707594394684 ]
http://arxiv.org/abs/2406.11230v1
http://arxiv.org/pdf/2406.11230v1
Multimodal Needle in a Haystack: Benchmarking Long-Context Capability of Multimodal Large Language Models
2024-06-17T05:54:06
2024-06-17T05:54:06
Hengyi Wang, Haizhou Shi, Shiwei Tan, Weiyi Qin, Wenyuan Wang, Tunyu Zhang, Akshay Nambi, Tanuja Ganu, Hao Wang
cs.LG
cs.LG, cs.AI, cs.CL, cs.CV
Multimodal Large Language Models (MLLMs) have shown significant promise in various applications, leading to broad interest from researchers and practitioners alike. However, a comprehensive evaluation of their long-context capabilities remains underexplored. To address these gaps, we introduce the MultiModal Needle-in-a-haystack (MMNeedle) benchmark, specifically designed to assess the long-context capabilities of MLLMs. Besides multi-image input, we employ image stitching to further increase the input context length, and develop a protocol to automatically generate labels for sub-image level retrieval. Essentially, MMNeedle evaluates MLLMs by stress-testing their capability to locate a target sub-image (needle) within a set of images (haystack) based on textual instructions and descriptions of image contents. This setup necessitates an advanced understanding of extensive visual contexts and effective information retrieval within long-context image inputs. With this benchmark, we evaluate state-of-the-art MLLMs, encompassing both API-based and open-source models. The findings reveal that GPT-4o consistently surpasses other models in long-context scenarios, but suffers from hallucination problems in negative samples, i.e., when needles are not in the haystacks. Our comprehensive long-context evaluation of MLLMs also sheds lights on the considerable performance gap between API-based and open-source models. All the code, data, and instructions required to reproduce the main results are available at https://github.com/Wang-ML-Lab/multimodal-needle-in-a-haystack.
[ -0.4152274429798126, -0.8735308051109314, 0.7735008597373962, 0.16335274279117584, -0.30598315596580505, -0.13590362668037415, -0.3559979498386383, -0.7263293862342834, 0.03542561084032059, 0.24603085219860077, -0.4269368648529053, -0.564479410648346, -0.4927660822868347, 0.231822207570076, -0.4647601246833801, 0.6874763369560242, -0.10153166949748993, -0.08989280462265015, -0.42209333181381226, -0.36070650815963745, -0.5743805766105652, -0.5754244327545166, -0.1443222463130951, 0.03965819254517555, 0.7997771501541138, -0.010231327265501022, 0.4911564290523529, 0.30980920791625977, 0.7041221857070923, 0.35004404187202454, -0.00166166084818542, 0.15664416551589966, -0.3653300106525421, 0.20898233354091644, -0.020567601546645164, 0.07246928662061691, -0.23201991617679596, 0.038894858211278915, 0.7412081360816956, 0.3991156220436096, 0.04381873831152916, 0.2699589133262634, 0.022845618426799774, 0.48522767424583435, -0.9169166088104248, -0.01031490508466959, -0.7046089768409729, -0.10727588832378387, -0.405877947807312, -0.11771739274263382, -0.3922880291938782, -0.08150619268417358, 0.16995616257190704, -0.43925702571868896, -0.09338580816984177, -0.042306575924158096, 0.7839978933334351, 0.15731358528137207, -0.726337194442749, -0.3764041066169739, -0.34075838327407837, 0.853249192237854, -0.5512728095054626, 0.648482084274292, 0.4817954897880554, 0.5264967083930969, -0.10474754869937897, -0.8587236404418945, -0.5320946574211121, -0.5212625861167908, -0.07518476992845535, -0.001915328553877771, 0.03246626630425453, -0.2005295604467392, 0.3344392478466034, 0.16023726761341095, -0.6906543374061584, -0.039080046117305756, -0.30160799622535706, -0.2394443154335022, 0.16044238209724426, 0.09243784844875336, 0.020995013415813446, -0.27666720747947693, -0.6289249062538147, 0.06444728374481201, -0.33590570092201233, 0.11511558294296265, 0.015852270647883415, 0.18150217831134796, -0.06694178283214569, 0.7113301157951355, -0.07909505814313889, 0.7235092520713806, -0.3551744520664215, -0.19986408948898315, 0.5582881569862366, -0.5347297787666321, -0.14322274923324585, -0.3633562922477722, 0.7622438073158264, 0.6361290216445923, 0.011909563094377518, -0.0783558115363121, -0.36949074268341064, 0.009342431090772152, 0.22490844130516052, -0.8582296967506409, 0.09837357699871063, 0.28822940587997437, -0.4487982988357544, 0.025125209242105484, -0.10984117537736893, -0.727379560470581, -0.445470929145813, -0.2002202272415161, 0.6040952801704407, -0.5023480653762817, -0.20548827946186066, -0.13184289634227753, -0.3712320327758789, 0.07760073989629745, 0.24343723058700562, -0.6045547127723694, -0.11276060342788696, 0.7654237747192383, 1.2762528657913208, -0.2254762351512909, -0.7341878414154053, -0.6243170499801636, 0.195596843957901, -0.45558932423591614, 0.7769633531570435, -0.7781010866165161, -0.21499522030353546, -0.0047082542441785336, 0.1714588701725006, 0.020787976682186127, -0.5519123673439026, 0.4102713465690613, -0.22889989614486694, 0.09757911413908005, -0.14555718004703522, -0.48982369899749756, 0.018322989344596863, 0.40981635451316833, -0.7220420837402344, 0.9676378965377808, 0.25882667303085327, -0.5960900187492371, 0.49860283732414246, -0.7351895570755005, -0.2520063519477844, -0.07769069820642471, -0.25464075803756714, -0.2703361213207245, 0.034544043242931366, 0.10441023111343384, 0.5336494445800781, -0.2711409628391266, 0.24812617897987366, -0.7468889355659485, -0.6682559251785278, 0.4400269091129303, -0.41727587580680847, 0.5534005761146545, 0.050121430307626724, -0.3190876245498657, 0.43298307061195374, -0.6094241738319397, 0.009509021416306496, -0.005750947166234255, -0.23388537764549255, -0.43249616026878357, -0.19175586104393005, 0.3637670874595642, 0.4377114474773407, 0.19142940640449524, -0.535577654838562, 0.1567632406949997, 0.23138481378555298, 0.609108567237854, 0.8280039429664612, -0.45007020235061646, 0.05226045474410057, -0.054298076778650284, 0.21050843596458435, 0.10364798456430435, 0.346919447183609, -0.5999780893325806, -0.42944270372390747, -0.3926611840724945, -0.6101932525634766, 0.21517008543014526, 0.12549075484275818, -0.82421875, 0.22490215301513672, -0.14325383305549622, -0.4020899534225464, -0.5270326137542725, 0.036019716411828995, 0.3279370963573456, 0.4762251675128937, 0.5777144432067871, -0.3853335380554199, -0.37261340022087097, -1.1190919876098633, -0.034003905951976776, 0.18919438123703003, -0.2405889928340912, 0.4928775727748871, 0.6835685968399048, -0.6909728050231934, 0.6253172755241394, -0.1322709619998932, -0.427365243434906, 0.3530048727989197, 0.16389068961143494, 0.2314959168434143, 0.29717764258384705, 0.43439981341362, -0.6433358788490295, -0.29218530654907227, -0.031128179281949997, -0.8621541857719421, 0.1683439165353775, 0.035257261246442795, -0.06775001436471939, 0.49014902114868164, 0.4118702709674835, -0.8775192499160767, 0.33508437871932983, 0.8678240180015564, -0.4930306077003479, 0.8118295073509216, -0.19401921331882477, 0.43572860956192017, -0.7514054775238037, 0.4872938394546509, -0.05021839588880539, -0.2022411823272705, -0.37698888778686523, 0.18586145341396332, 0.6553183197975159, -0.07603690028190613, -0.39836418628692627, 0.5540282726287842, -0.5078387260437012, -0.25640103220939636, -0.16407938301563263, 0.024198472499847412, 0.038477543741464615, 0.42385780811309814, -0.06327075511217117, 0.9147356748580933, 0.49668434262275696, -0.2454483062028885, 0.42095768451690674, -0.19536516070365906, -0.6067637801170349, 0.6194698214530945, -0.4748181402683258, 0.20480205118656158, -0.004303178284317255, 0.4439278542995453, -0.91413813829422, -0.17565391957759857, -0.07331337034702301, -0.1499093770980835, 0.1505807787179947, -0.17634953558444977, -0.5369290113449097, -0.5169848203659058, -0.5328822135925293, 0.5093727707862854, 0.31473779678344727, -0.5372176766395569, 0.5048724412918091, 0.3332020938396454, 0.13710364699363708, -0.7263679504394531, -0.36426854133605957, 0.44643405079841614, -0.31247448921203613, -0.5065605640411377, 0.22926944494247437, -0.19090448319911957, 0.03348128870129585, -0.13080428540706635, 0.11046911776065826, -0.13818076252937317, -0.04307466000318527, 0.2679777145385742, 0.1306912899017334, -0.2321106642484665, 0.4969225823879242, -0.2617220878601074, -0.14057807624340057, -0.0437944270670414, -0.06280694156885147, 0.5760802030563354, -0.3641544282436371, -0.5387541651725769, -0.22344249486923218, 0.5519218444824219, 0.8165678381919861, -0.3031465411186218, 0.45693638920783997, 0.9196457266807556, -0.2003161609172821, 0.10259904712438583, -0.7279022932052612, -0.16375108063220978, -0.4634304642677307, 0.5914605855941772, -0.5754099488258362, -0.8372226357460022, 0.2595537006855011, 0.059603068977594376, 0.04336901381611824, 0.24795345962047577, 0.55649334192276, -0.15271882712841034, 0.8788508176803589, 0.489715576171875, 0.0404994823038578, 0.38081252574920654, -0.014656628482043743, -0.16086693108081818, -1.0236929655075073, -0.0720478743314743, -0.1365921050310135, -0.22517791390419006, -0.3961932957172394, -0.7773751020431519, 0.5350931286811829, 0.00823027640581131, -0.13685187697410583, 0.09123656153678894, -0.3143746554851532, 0.5439473986625671, 0.6602829098701477, 0.014015442691743374, 0.23605482280254364, -0.2743837535381317, -0.33149582147598267, 0.15089678764343262, -0.370626837015152, -0.4845990240573883, 1.138538122177124, 0.48801860213279724, 0.6409122347831726, 0.0726466178894043, 0.3959539830684662, -0.023010047152638435, 0.2333211898803711, -0.7320238947868347, 0.4406823217868805, -0.10791775584220886, -0.5444967746734619, -0.5064533352851868, -0.21422889828681946, -1.048642635345459, 0.5363104343414307, -0.2504544258117676, -0.6280819177627563, -0.06337133795022964, 0.052040595561265945, -0.11896807700395584, 0.2108660787343979, -0.7923687696456909, 1.074774146080017, -0.28254184126853943, -0.5591768026351929, -0.14762982726097107, -0.5665481686592102, 0.41445600986480713, -0.312161922454834, 0.24305444955825806, -0.383120059967041, -0.27241790294647217, 0.37878668308258057, -0.10299739241600037, 0.5357229113578796, -0.13215649127960205, -0.2336035668849945, 0.059357792139053345, -0.003828376065939665, 0.3211648762226105, -0.1582750827074051, 0.02704659104347229, 0.5962957143783569, 0.3663683831691742, -0.3616548180580139, -0.3313950300216675, 0.8407419323921204, -0.424022912979126, -0.2920140027999878, -0.2094973623752594, -0.5042667388916016, -0.2027006447315216, 0.30031657218933105, -0.044905886054039, 0.6861413717269897, -0.04707648977637291, 0.5743415355682373, 0.10860922187566757, -0.30071786046028137, 0.5691953897476196, 0.31666597723960876, -0.5472285747528076, -0.25395479798316956, 0.8218456506729126, 0.11646826565265656, 0.019208578392863274, 0.06873082369565964, 0.21642813086509705, -0.4824281930923462, -0.31253641843795776, -0.7004143595695496, 0.12348055094480515, -0.8019237518310547, -0.15586000680923462, -0.5580003261566162, 0.1030743345618248, -0.35061201453208923, 0.12665557861328125, -0.40006157755851746, -0.01997123658657074, 0.05389689281582832, 0.36427390575408936, 0.18441304564476013, 0.6326414942741394, 0.13478748500347137, -0.2454649806022644, -0.815895140171051, 0.29490211606025696, 0.394897997379303, 0.8262632489204407, 0.12844900786876678, -0.12827186286449432, -0.39202427864074707, -0.0420500710606575, -0.23760449886322021, -0.651264488697052, 0.0018929042853415012, 0.088337741792202, 0.39331451058387756, 0.3152691721916199, -0.28600290417671204, 1.0209025144577026, -0.827034592628479, 0.8055211305618286, 0.305269330739975, -0.8292444348335266, 0.23786576092243195, -0.3858804702758789, 0.6354119777679443, 0.2390684336423874, 0.34009110927581787, -0.7180536389350891, -0.3886990547180176, -0.09945017099380493, -0.8886922597885132, 0.2054099440574646, 0.15552696585655212, 0.057759422808885574, -0.1962231993675232, -0.16162018477916718, 0.33765265345573425, 0.17912162840366364, -0.6405671238899231, 0.23522837460041046, -0.26545029878616333, -0.03662523254752159, -0.4170210063457489, -0.28320547938346863, -0.23578117787837982, -0.17804722487926483, 0.182301864027977, -0.31623575091362, 0.2566581070423126, 0.1458340585231781, -0.3436935245990753, -0.043556954711675644, 0.23855623602867126, 0.9126788377761841, 1.0429189205169678, -0.39920487999916077, 0.3452253043651581, 0.04089091345667839, -0.34408795833587646, -0.16801679134368896, 0.05799969285726547, 0.31234484910964966, 0.22255869209766388, 0.5443776249885559, 0.6259489059448242, 0.21472081542015076, -1.0375405550003052, 0.6979302763938904, -0.18287523090839386, -0.1065068244934082, -0.250031054019928, -0.2677065432071686, 0.15552538633346558, 0.4954381287097931, 0.5271323323249817, -0.2888503968715668, 0.313708633184433, -0.6252720952033997, 0.304695725440979, 0.8256360292434692, -0.22458894550800323, -0.13748787343502045, 0.30698949098587036, 0.19184064865112305, -0.1800992786884308, 0.5251621603965759, 0.20687930285930634, -0.16816040873527527, 0.46163180470466614, 0.49361762404441833, 0.6578801870346069, 0.09105400741100311, -0.1649046689271927, 0.334547758102417, 0.23997029662132263, 0.21344736218452454, 0.008524008095264435, -0.14999814331531525, -0.25375813245773315, -0.4445328116416931, -0.5133028030395508, -0.2689570188522339, 0.30523326992988586, -0.4489263594150543, 0.24809828400611877, -0.13159389793872833, -0.4906139075756073, 0.060741085559129715, -0.3136477470397949, -0.6725902557373047, -0.1416478157043457, 0.24394828081130981, 0.7771354913711548, -0.35915815830230713, 0.9310682415962219, 0.4041263163089752, -0.04165719076991081, -0.2618825137615204, -0.12929552793502808, 0.060067079961299896, -0.7658211588859558, 0.6376867890357971, 0.7904660701751709, -0.2440764158964157, -0.33482831716537476, -0.4592365026473999, -0.9037666916847229, 1.2132277488708496, 0.06370051950216293, -0.6979668736457825, 0.1432858258485794, -0.07078817486763, 0.4538499116897583, -0.1758028119802475, 0.527641773223877, 0.3799867331981659, 0.4218224287033081, -0.01977662183344364, -1.359102487564087, 0.07324281334877014, -0.3036680519580841, 0.01685459539294243, 0.39046305418014526, -0.4442853331565857, 1.1359238624572754, -0.1824900507926941, -0.22740747034549713, 0.28729262948036194, 0.2892357110977173, 0.36049458384513855, 0.4138295650482178, 0.5602336525917053, 0.3973776698112488, 0.6176562309265137, 0.06555207818746567, 0.9615089893341064, -0.283244788646698, 0.43614113330841064, 1.052835464477539, -0.41494694352149963, 1.2134767770767212, 0.9095281362533569, -0.026671774685382843, 0.48378750681877136, 0.47932863235473633, -0.001148163340985775, 0.3887943625450134, 0.11547061800956726, -0.06780644506216049, -0.07885848730802536, -0.008836883120238781, -0.5879660844802856, 0.4686723053455353, 0.1841912418603897, -0.31130892038345337, -0.2599533498287201, 0.23068174719810486, -0.42364782094955444, -0.3379266560077667, -0.05880218371748924, 0.7645125389099121, -0.05537743493914604, -0.5635652542114258, 0.9334514141082764, -0.2505652904510498, 0.9566413760185242, -0.6803979277610779, -0.20095425844192505, -0.01644911989569664, 0.1972767561674118, 0.18343298137187958, -0.9193131923675537, 0.02824447490274906, -0.02070239745080471, 0.046304043382406235, 0.052408985793590546, 0.49848467111587524, -0.4779128134250641, -0.3991711139678955, 0.445956826210022, 0.3222721815109253, 0.20034895837306976, -0.1024603322148323, -0.7523844838142395, 0.33596792817115784, -0.532031774520874, -0.35142982006073, 0.42039841413497925, 0.4675801992416382, -0.09972582757472992, 0.698394775390625, 0.7649593949317932, -0.18034325540065765, 0.0158414114266634, 0.07936282455921173, 0.7651023268699646, -0.9362412095069885, -0.2244516760110855, -1.0265222787857056, 0.55734783411026, -0.19232818484306335, -0.4694609045982361, 0.790351152420044, 0.584906280040741, 0.8214704990386963, -0.2069324254989624, 0.4499703347682953, 0.08950909972190857, 0.43362918496131897, -0.6121549606323242, 0.7090498805046082, -0.809023380279541, -0.22350972890853882, -0.47093823552131653, -0.7696305513381958, -0.2355518639087677, 0.5747528672218323, -0.10088081657886505, 0.14236252009868622, 0.902606725692749, 0.8509148955345154, -0.1509920209646225, -0.325201153755188, 0.5755274891853333, 0.0725548043847084, 0.3393380045890808, 0.6162752509117126, 1.178145170211792, -0.1576472669839859, 0.43988683819770813, -0.33629605174064636, -0.24015486240386963, -0.2733210325241089, -1.095914602279663, -0.9635381102561951, -0.8676817417144775, 0.21669505536556244, -0.208779439330101, 0.008135775104165077, 0.8212605118751526, 0.8397808074951172, -0.43465328216552734, -0.43423089385032654, 0.52138751745224, -0.08196423202753067, -0.15022708475589752, -0.17882344126701355, 0.3688695430755615, -0.37099939584732056, -0.5738097429275513, 0.22678333520889282, 0.564113974571228, 0.039378438144922256, -0.34450262784957886, -0.039453424513339996, -0.2996678054332733, -0.21838504076004028, 1.1637680530548096, -0.13483719527721405, -1.0415631532669067, -0.38817840814590454, -0.09494838863611221, -0.25871750712394714, 0.034405313432216644, 0.8145825266838074, -0.6804837584495544, 0.6145499348640442, 0.08172319829463959, 0.4892251193523407, 0.37296760082244873, -0.1714661717414856, 0.3022654056549072, -0.47309228777885437, 0.23521645367145538, 0.22985051572322845, 0.43841809034347534, 0.2952566146850586, 0.002741385716944933, 0.46525704860687256, -0.034275688230991364, -0.5727298259735107, -1.022560477256775, 0.04943804442882538, -0.8757719397544861, -0.7493339776992798, 1.1555739641189575, -0.02492479979991913, -0.2220749706029892, -0.023644965142011642, -0.34466809034347534, -0.05496394261717796, -0.23731571435928345, 0.8775953054428101, 0.7228938937187195, 0.008633005432784557, -0.19748719036579132, -0.7582857608795166, 0.30846530199050903, 0.21973782777786255, -0.6635230183601379, 0.17291352152824402, 0.8002108335494995, 0.1670670211315155, 0.14478887617588043, 0.6291170120239258, -0.006473327521234751, 0.35928431153297424, -0.1091693565249443, -0.06965713202953339, -0.1613418161869049, -0.48024481534957886, -0.3095194697380066, 0.20888802409172058, -0.03569730371236801, -0.1236005425453186 ]
http://arxiv.org/abs/2406.11228v1
http://arxiv.org/pdf/2406.11228v1
ComperDial: Commonsense Persona-grounded Dialogue Dataset and Benchmark
2024-06-17T05:51:04
2024-06-17T05:51:04
Hiromi Wakaki, Yuki Mitsufuji, Yoshinori Maeda, Yukiko Nishimura, Silin Gao, Mengjie Zhao, Keiichi Yamada, Antoine Bosselut
cs.CL
cs.CL
We propose a new benchmark, ComperDial, which facilitates the training and evaluation of evaluation metrics for open-domain dialogue systems. ComperDial consists of human-scored responses for 10,395 dialogue turns in 1,485 conversations collected from 99 dialogue agents submitted to the Commonsense Persona-grounded Dialogue (CPD) challenge. As a result, for any dialogue, our benchmark includes multiple diverse responses with variety of characteristics to ensure more robust evaluation of learned dialogue metrics. In addition to single-turn response scores, ComperDial also contains dialogue-level human-annotated scores, enabling joint assessment of multi-turn model responses throughout a dialogue. Finally, building off ComperDial, we devise a new automatic evaluation metric to measure the general similarity of model-generated dialogues to human conversations. Our experimental results demonstrate that our novel metric, CPDScore is more correlated with human judgments than existing metrics. We release both ComperDial and CPDScore to the community to accelerate development of automatic evaluation metrics for open-domain dialogue systems.
[ -0.5230041146278381, -0.42904481291770935, 0.3475065529346466, 0.13986054062843323, -0.10479483008384705, 0.2396787703037262, -0.31260988116264343, -0.011900792829692364, -0.1199851781129837, 0.5370054244995117, -0.7922329306602478, -0.5074834227561951, -0.36423927545547485, 0.09604120254516602, -0.006023322697728872, 0.7785196304321289, 0.47127899527549744, 0.31213903427124023, -0.5516413450241089, -0.5443037748336792, -0.6226100921630859, -0.5494545102119446, -0.4354628920555115, -0.3029022812843323, 0.04354593902826309, 0.6020290851593018, 0.7096944451332092, -0.007160242646932602, 0.2861335873603821, 0.34001293778419495, 0.1917296200990677, 0.2786056697368622, -0.5849521160125732, 0.14902064204216003, -0.14979174733161926, -0.21759890019893646, -0.6360692381858826, 0.47930261492729187, 0.5148400068283081, 1.0758004188537598, -0.2200065702199936, 0.36367297172546387, 0.07416786998510361, 0.39589667320251465, -0.6194372773170471, 0.3315966725349426, -0.3616757392883301, 0.09480895102024078, 0.24677610397338867, -0.3557009696960449, -0.6121006608009338, -0.5432844161987305, 0.46206915378570557, -0.6469496488571167, 0.2327834963798523, 0.16713863611221313, 0.2715334892272949, 0.27044326066970825, -0.32089316844940186, 0.03074914589524269, -0.36090123653411865, 1.0119150876998901, -0.42302143573760986, 0.38841137290000916, 0.15669625997543335, 0.6146888136863708, -0.01844063401222229, -0.5899993777275085, -0.5226889848709106, -0.30806025862693787, -0.10049700736999512, 0.28546780347824097, -0.13398295640945435, -0.03482363000512123, 0.2550305426120758, 0.2917526066303253, -0.4741111397743225, -0.1378871500492096, 0.04507092759013176, -0.13396091759204865, 0.5717393159866333, 0.567002534866333, 0.06387735158205032, -0.21624314785003662, -0.4720214009284973, -0.33797645568847656, -0.457586407661438, 0.1127106249332428, 0.277830570936203, 0.1560223400592804, -0.365334153175354, 0.30741098523139954, -0.3778943419456482, 0.5198101997375488, 0.20992892980575562, -0.19019398093223572, 0.38274985551834106, -0.4416235685348511, -0.2825590968132019, -0.014838687144219875, 1.0236879587173462, 0.8955819606781006, 0.298758327960968, -0.11381707340478897, 0.11800989508628845, -0.00394973112270236, 0.26706212759017944, -0.6986305117607117, -0.2909500002861023, 0.09634952247142792, -0.7875684499740601, -0.3074309229850769, 0.22260749340057373, -0.9967764616012573, -0.4784150719642639, -0.6559610962867737, 0.11520124226808548, -0.23309306800365448, -0.4509281814098358, 0.11502282321453094, -0.29248398542404175, 0.32012179493904114, 0.9084429144859314, -0.5222073197364807, 0.9707427620887756, 0.9749214053153992, 0.5693894624710083, -0.47291556000709534, -0.24531014263629913, -0.9645993709564209, -0.48115792870521545, -0.1376485973596573, 0.7041096687316895, -0.8314967751502991, -0.681355357170105, -0.10076432675123215, -0.059609171003103256, -0.3385954797267914, -0.9749128818511963, 0.5768062472343445, -0.1451389342546463, 0.2984556257724762, -0.1489359736442566, -0.39534494280815125, 0.05854180455207825, 0.32694071531295776, -0.3975120782852173, 1.0309271812438965, 0.3289298117160797, -0.5558016300201416, 0.369316428899765, -0.7347632646560669, 0.05848388001322746, 0.106540247797966, -0.2788155972957611, -0.21002474427223206, 0.05830366164445877, 0.1122964471578598, 0.24584409594535828, -0.7543951869010925, 0.3504442870616913, -0.493832528591156, -0.25655537843704224, 0.7201012372970581, -0.6548824310302734, 0.9246628880500793, 0.24820491671562195, -0.14600127935409546, 0.035952579230070114, -0.8269878625869751, 0.31234443187713623, -0.28479158878326416, 0.06265746802091599, -0.05459200218319893, -0.18225835263729095, 0.1772216111421585, 0.15637503564357758, 0.013610283844172955, -0.7708171010017395, -0.13392925262451172, -0.08063795417547226, 0.17167066037654877, 0.7056162357330322, 0.29386281967163086, 0.2021595984697342, -0.48374322056770325, 0.37132710218429565, 0.07133030146360397, 0.3243451714515686, -0.2871303856372833, -0.5475342869758606, -0.6984279155731201, -0.5053137540817261, -0.06684763729572296, 0.340398907661438, -0.16593734920024872, 0.7530093193054199, -0.48075687885284424, -0.6802360415458679, -0.5184012055397034, -0.05109604075551033, 0.7811200022697449, 0.5683990120887756, 0.24511930346488953, -0.9425320625305176, -0.20605462789535522, -0.7455530762672424, -0.35410523414611816, -0.21384111046791077, -0.1338888704776764, 0.7949071526527405, 0.3068934381008148, 0.06241863593459129, 1.212785005569458, -0.712522029876709, -0.21552641689777374, -0.05657124146819115, 0.5500454902648926, 0.10888716578483582, 0.49031463265419006, 0.3735797703266144, -0.5673045516014099, -0.5964515209197998, -0.21110711991786957, -0.6355885863304138, -0.33692851662635803, -0.044287312775850296, 0.01029788888990879, -0.10644539445638657, 0.43962419033050537, -0.6131753325462341, 0.2989502251148224, 0.27694669365882874, -0.3577096164226532, 0.7813969254493713, 0.023034168407320976, 0.47013911604881287, -0.8202989101409912, 0.12102983891963959, -0.11328025162220001, -0.4489981532096863, -0.37728920578956604, -0.18871358036994934, -0.1864737719297409, -0.5359298586845398, -0.6963343024253845, 0.6206620931625366, -0.14065803587436676, -0.4849819839000702, 0.271344929933548, 0.336468368768692, 0.02444428764283657, 0.8457592129707336, 0.16889221966266632, 0.9468251466751099, 0.3363080620765686, -0.558681070804596, 0.5671109557151794, 0.8461646437644958, -0.5624820590019226, 1.2886778116226196, -0.8013689517974854, 0.4667624533176422, 0.31174713373184204, 0.524178147315979, -1.016205906867981, -0.12755154073238373, 0.1695157289505005, -0.6250343322753906, -0.2503727972507477, -0.18065808713436127, -0.49135923385620117, -0.029316548258066177, -0.23019084334373474, 0.4900854825973511, 0.43306100368499756, -0.6236249804496765, 0.36977362632751465, 0.348591148853302, -0.3545663356781006, -0.09562966227531433, -0.04110441356897354, 0.14521446824073792, -0.031530044972896576, -0.5576081871986389, 0.06899233907461166, -0.40818554162979126, -0.49094951152801514, -0.29032135009765625, -0.04877498745918274, -0.07677967101335526, 0.11671902984380722, 0.460152268409729, 0.16685308516025543, -0.058913469314575195, -0.21326254308223724, -0.24696451425552368, -0.34613463282585144, 0.37021806836128235, -0.0041773817501962185, 0.6979110240936279, -0.2488144040107727, -0.6088928580284119, -0.6209912300109863, 0.4199727773666382, 0.8561680316925049, -0.20376132428646088, 0.36471325159072876, 0.20151697099208832, -0.020750703290104866, 0.10565429925918579, -0.45186325907707214, -0.01873035915195942, -0.4370530843734741, 0.07473684847354889, -0.49191614985466003, -0.6165624856948853, 0.3302031457424164, -0.318585604429245, 0.008064249530434608, 0.18191362917423248, 0.7685503363609314, 0.14322659373283386, 0.9374732971191406, 0.07312774658203125, 0.09624119102954865, 0.0369686596095562, -0.18396735191345215, 0.16001924872398376, -1.0228285789489746, -0.37264296412467957, -0.6708550453186035, -0.06793519109487534, -0.46543219685554504, -0.5922342538833618, 0.4979233741760254, -0.34917929768562317, -0.35066795349121094, 0.46518340706825256, -0.34336549043655396, 0.2586553990840912, 0.7335914969444275, 0.04474610090255737, 0.4825064241886139, -0.42994388937950134, -0.29588598012924194, -0.26959115266799927, -0.3381674885749817, -0.6258115172386169, 1.270848035812378, 0.2820373475551605, 0.6222652196884155, 0.24349823594093323, 0.5875079035758972, 0.4819546639919281, 0.31827807426452637, -0.6849861741065979, 0.8515591025352478, 0.22735455632209778, -0.44164371490478516, -0.21755537390708923, -0.341329962015152, -0.5645629167556763, 0.2983894646167755, 0.0075957393273711205, -0.8173959255218506, 0.17986921966075897, -0.21166139841079712, -0.4835790991783142, -0.2750760316848755, -0.7682214379310608, 0.9443156123161316, -0.08481715619564056, -0.46628132462501526, -0.522781491279602, -0.6883085370063782, 0.1299968659877777, 0.05854227766394615, -0.11031732708215714, -0.22526927292346954, 0.16467830538749695, 0.6892110109329224, -0.7033108472824097, 0.9706586003303528, -0.40847262740135193, -0.0050700693391263485, 0.21065790951251984, -0.042472388595342636, 0.0291400495916605, 0.456022709608078, -0.0678086057305336, 0.14630334079265594, 0.09048881381750107, -0.18039630353450775, -0.691835880279541, 0.6957716345787048, -0.9643635153770447, -0.3584119975566864, -0.5344390273094177, -0.2249210625886917, -0.5023181438446045, 0.04615085572004318, 0.007046616170555353, 0.9268801212310791, -0.9799018502235413, 0.29949021339416504, 0.577822744846344, -0.5284231305122375, 0.23866593837738037, 0.7736172676086426, 0.14756032824516296, -0.7283514142036438, 0.4917883574962616, -0.5198306441307068, 0.5212889909744263, 0.3390544354915619, 0.00720122130587697, -0.42412179708480835, 0.026185648515820503, -0.25377997756004333, -0.11307119578123093, -0.6741095781326294, -0.26045289635658264, -0.8059313297271729, -0.03601409122347832, -0.5487093925476074, 0.029809964820742607, -0.46347686648368835, -0.46571362018585205, -0.07643795758485794, 0.1433572769165039, -0.02155996300280094, 0.33384761214256287, 0.16968931257724762, 0.24607062339782715, -0.8095842599868774, 0.5029633641242981, 0.5352097749710083, 0.45531797409057617, -0.16431522369384766, -0.38615769147872925, 0.058899201452732086, 0.09577525407075882, -0.6637946367263794, -0.4024665951728821, 0.3429569602012634, 0.33220261335372925, 0.6368064880371094, 0.5475202202796936, 0.46343550086021423, 0.5060030221939087, -0.5243422389030457, 0.9322769045829773, 0.45986437797546387, -0.9607698917388916, 0.3855607807636261, -0.5298498868942261, 0.3362884819507599, 0.9374516010284424, 0.00947571825236082, -0.5337178111076355, -0.35430067777633667, -0.8417182564735413, -0.22643138468265533, 0.8889433145523071, 0.20558226108551025, 0.215065598487854, -0.18768121302127838, -0.2472231090068817, 0.4785749614238739, 0.4646819829940796, -0.22682683169841766, -0.3305162191390991, -0.24327434599399567, -0.020262835547327995, -0.13505849242210388, -0.028881190344691277, -0.4204701781272888, -0.17778761684894562, 0.18280921876430511, -0.35892459750175476, 0.6000155210494995, 0.19619567692279816, -0.24044278264045715, -0.10739340633153915, 0.4026230275630951, 0.4836506247520447, 0.4222332835197449, -0.5816975831985474, -0.20993320643901825, -0.03062792494893074, -0.32303082942962646, 0.15818342566490173, 0.03557274118065834, 0.29942524433135986, -0.022287460044026375, 0.29470691084861755, 0.7935717105865479, 0.6708267331123352, -0.8737022876739502, 0.8197923898696899, -0.35180142521858215, -0.26570993661880493, -0.6859866976737976, 0.22197577357292175, -0.25218936800956726, -0.05108097940683365, 0.27050986886024475, 0.4821805953979492, 0.32056334614753723, -0.6935542225837708, 0.3077664077281952, 0.3324117064476013, -0.5447234511375427, -0.3553496301174164, 0.39688533544540405, 0.7723751664161682, -0.5655505657196045, 0.6581266522407532, -0.13427503407001495, -0.5000159740447998, 0.3167833387851715, 0.1836298257112503, 1.2168700695037842, 0.07634910941123962, 0.4739507734775543, 0.4268863797187805, -0.3414512276649475, 0.23643368482589722, -0.08433767408132553, -0.5275247693061829, -0.6923032999038696, -0.10789413750171661, -0.39797770977020264, -1.089166283607483, -0.014424096792936325, -1.0688282251358032, 0.3088955283164978, -0.5896883010864258, -0.0651627779006958, 0.040971025824546814, 0.27240437269210815, -0.8941324949264526, 0.2018594741821289, -0.15597200393676758, 1.0754914283752441, -0.7192375063896179, 0.483383446931839, 0.47013503313064575, -0.2454739212989807, -0.3616507053375244, 0.010633694939315319, 0.2444131225347519, -0.5823037028312683, 0.8766323924064636, 0.3613252341747284, -0.34438130259513855, -0.01673888973891735, -0.3793320059776306, -0.33838769793510437, 1.0401989221572876, 0.08442863076925278, -0.35838690400123596, 0.32576707005500793, 0.2952064573764801, 0.4989604949951172, -0.6613860726356506, 0.7389589548110962, 0.7899255752563477, 0.3842500150203705, -0.09091860055923462, -1.3076369762420654, -0.06761378794908524, -0.5227920413017273, -0.3491969108581543, -0.05432501062750816, -0.948796808719635, 0.5128529071807861, 0.045017242431640625, -0.1497744619846344, 0.5114268660545349, 0.08967411518096924, 0.26652687788009644, 0.5213164687156677, 0.6132456064224243, 0.7830719351768494, 0.502265989780426, -0.21411678194999695, 0.918674886226654, -0.21608605980873108, 0.24746866524219513, 1.4415234327316284, -0.7033529877662659, 0.6825786828994751, 0.16480930149555206, -0.17990566790103912, 0.46037715673446655, 0.22741487622261047, 0.07515423744916916, 0.6022170782089233, 0.12000051140785217, -0.46276718378067017, -0.42301830649375916, -0.2617165148258209, -0.06044990196824074, 0.7204429507255554, 0.22178800404071808, -0.07688059657812119, -0.2634783685207367, -0.07025083154439926, -0.17226335406303406, 0.40668320655822754, 0.07392968982458115, 1.0981497764587402, 0.04959547147154808, -1.1981613636016846, 0.6052114963531494, -0.20527200400829315, 0.24306561052799225, -0.2241508662700653, -0.10745903104543686, -0.27731797099113464, 0.41966456174850464, 0.09584376215934753, -0.5427130460739136, -0.022369416430592537, 0.04010521620512009, 0.16411589086055756, -0.6042494177818298, 0.38208428025245667, -0.10955622792243958, 0.024542395025491714, 0.1745280772447586, 0.6239863038063049, 0.13559120893478394, -0.06444374471902847, -0.8113524317741394, 0.06270338594913483, -0.23073123395442963, 0.0805140808224678, 0.2686000466346741, 0.5294748544692993, 0.08057858049869537, 0.8461881875991821, 0.5352984666824341, -0.234036386013031, -0.2288096696138382, 0.395762175321579, 0.9458259344100952, -0.5964771509170532, -0.4279736876487732, -0.24656562507152557, 0.4477948248386383, -0.4790460765361786, -0.6454967260360718, 0.6543040871620178, 0.8435534834861755, 0.6038421392440796, -0.19017258286476135, 0.8784159421920776, 0.02880033850669861, 1.0318875312805176, -0.30050086975097656, 0.422885924577713, -0.06478792428970337, 0.2309906929731369, -0.6156961917877197, -1.0577373504638672, 0.118696428835392, 0.5469455122947693, -0.274593323469162, -0.04211924225091934, 0.864159882068634, 0.807478666305542, -0.1286981999874115, 0.3462405204772949, 0.40301138162612915, -0.130183607339859, 0.4284749925136566, 0.46673116087913513, 1.069244623184204, -0.4443286657333374, 0.3860343396663666, 0.08823326230049133, -0.36942246556282043, -0.4196374714374542, -0.7550879120826721, -1.159799337387085, -0.5310362577438354, -0.6279982924461365, -0.14310497045516968, 0.028763120993971825, 1.2442909479141235, 0.7861120700836182, -0.7896885275840759, -0.4316158890724182, -0.15829192101955414, -0.39198458194732666, -0.3722669780254364, -0.33342239260673523, 0.0177401602268219, -0.4408174157142639, -0.9258124828338623, 0.38525739312171936, 0.47420206665992737, -0.269226610660553, -0.3103179335594177, -0.3786635398864746, 0.11759211868047714, 0.11966012418270111, 0.47809433937072754, 0.06765527278184891, -0.5321131348609924, -0.38161882758140564, 0.15673509240150452, -0.11178985983133316, 0.11879555135965347, 1.1241710186004639, -1.0602353811264038, 0.4959549605846405, 0.2453685700893402, 0.34840258955955505, 0.3158406913280487, 0.24103692173957825, 1.0848655700683594, -0.7981823682785034, 0.2551657259464264, 0.24504293501377106, 0.181070014834404, 0.4978806972503662, 0.03548043593764305, 0.5783436298370361, 0.29238805174827576, -0.4506767690181732, -0.745414674282074, 0.32077422738075256, -1.3017661571502686, 0.2559315264225006, 0.9633344411849976, -0.4423193335533142, 0.18574784696102142, -0.5107756853103638, -0.3992406129837036, -0.09628414362668991, -0.7863178849220276, 0.49353671073913574, 0.5161685347557068, -0.08731046319007874, -0.33515653014183044, -0.2822873294353485, 0.5112352967262268, 0.5258035659790039, -0.8631477952003479, 0.48193302750587463, 0.7677742838859558, 0.2051781713962555, 0.3196878135204315, 0.9468659162521362, -0.3597113788127899, 0.5273780226707458, 0.07958997040987015, -0.3455861210823059, 0.06710410118103027, -0.2509351074695587, 0.013641620054841042, 0.01671854965388775, 0.027985479682683945, -0.23122012615203857 ]
http://arxiv.org/abs/2406.11218v1
http://arxiv.org/pdf/2406.11218v1
Building another Spanish dictionary, this time with GPT-4
2024-06-17T05:25:56
2024-06-17T05:25:56
Miguel Ortega-Martín, Óscar García-Sierra, Alfonso Ardoiz, Juan Carlos Armenteros, Ignacio Garrido, Jorge Álvarez, Camilo Torrón, Iñigo Galdeano, Ignacio Arranz, Oleg Vorontsov, Adrián Alonso
cs.CL
cs.CL, cs.AI
We present the "Spanish Built Factual Freectianary 2.0" (Spanish-BFF-2) as the second iteration of an AI-generated Spanish dictionary. Previously, we developed the inaugural version of this unique free dictionary employing GPT-3. In this study, we aim to improve the dictionary by using GPT-4-turbo instead. Furthermore, we explore improvements made to the initial version and compare the performance of both models.
[ -0.38058173656463623, -0.6232157945632935, 0.4881759583950043, 0.45886218547821045, -0.3644258677959442, 0.3929310441017151, -0.021845892071723938, -0.8323909044265747, 0.4500991106033325, 0.2275986522436142, -0.6326119303703308, -0.18323639035224915, -0.6855468153953552, 0.29930442571640015, -0.2613006830215454, 1.272695779800415, -0.1015988439321518, -0.04977915436029434, 0.09988556802272797, -0.028406325727701187, -0.3920708894729614, -0.5126302242279053, -0.7906463146209717, -0.3898010849952698, 0.34969621896743774, 0.4629857540130615, 1.409161925315857, 0.7683094143867493, 0.6207378506660461, 0.3018549084663391, 0.3444439470767975, -0.24152016639709473, -0.3835258185863495, -0.16610834002494812, -0.3695757985115051, -0.18198224902153015, -0.31886765360832214, 0.10984261333942413, 0.18024642765522003, 0.0789477676153183, -0.248724564909935, -0.08662526309490204, -0.19923095405101776, 0.6858845949172974, -0.08937206119298935, 0.5437994599342346, -0.7701417207717896, -0.014519658870995045, -0.2724190056324005, -0.10346927493810654, 0.1522614061832428, -0.5650773644447327, 0.2943294048309326, -0.6286693215370178, 0.7360787987709045, -0.07920472323894501, 1.2223517894744873, 0.5427356958389282, -0.38523009419441223, -0.5205276012420654, -0.33163464069366455, 0.26408815383911133, -0.39903682470321655, 0.8602715134620667, 0.3983052670955658, 0.25902077555656433, -0.27521082758903503, -1.2050294876098633, -0.6897374987602234, -0.6244987845420837, 0.12456275522708893, 0.2583719789981842, -0.16387253999710083, 0.18198539316654205, -0.2767133116722107, 0.45379042625427246, -0.8058496117591858, 0.06390993297100067, -0.5597180724143982, -0.27455154061317444, 0.2874360680580139, -0.3194899260997772, 0.20819811522960663, -0.08003893494606018, -0.28526413440704346, 0.0033290679566562176, -0.96218341588974, -0.4109378457069397, 0.48643383383750916, 0.17411622405052185, 0.027675025165081024, 0.7389532923698425, -0.12060091644525528, 0.10665277391672134, 0.0005626356578432024, -0.29916873574256897, 0.5325314998626709, -0.42341718077659607, -0.24326463043689728, 0.035061873495578766, 0.650861918926239, 0.6380408406257629, 0.38006848096847534, -0.45231714844703674, -0.13756360113620758, 0.12512053549289703, 0.16444197297096252, -0.9916197657585144, -0.6832581162452698, 0.20669420063495636, -0.17364773154258728, -0.5033956170082092, 0.2494616061449051, -0.33701151609420776, 0.012233112938702106, 0.12128154188394547, 0.2886049449443817, -0.3734583854675293, -0.4082208275794983, 0.03365105763077736, -0.32775136828422546, -0.023679200559854507, 0.11225161701440811, -1.0368536710739136, 0.42792314291000366, 0.9085659980773926, 1.0967462062835693, 0.179172545671463, -0.22713668644428253, -0.43681687116622925, 0.07134857028722763, -0.5046293139457703, 1.0145070552825928, 0.12280477583408356, -0.7846446633338928, -0.14463500678539276, 0.28308385610580444, 0.47596725821495056, -0.4489913880825043, 0.5607166886329651, -0.48610275983810425, 0.3933449387550354, -0.7273989319801331, -0.20195360481739044, -0.3034384846687317, 0.12510700523853302, -0.8984654545783997, 1.4386111497879028, 0.5749666094779968, -0.659892737865448, 0.599384605884552, -0.598152220249176, -0.5277562141418457, 0.47570672631263733, -0.2227831482887268, 0.06771836429834366, 0.1887146532535553, -0.12389733642339706, 0.10342101007699966, -0.4229726493358612, 0.25060153007507324, -0.1456742137670517, -0.1294078826904297, -0.3857106566429138, -0.20745548605918884, 0.7206341624259949, 0.12415789067745209, -0.5694549679756165, -0.3337610363960266, -0.6239394545555115, -0.17104563117027283, -0.061968907713890076, -0.4906841218471527, -0.0949474573135376, 0.45938238501548767, -0.09877055883407593, 0.5010906457901001, 0.5265985727310181, -0.7145329117774963, 0.06233692169189453, -0.9195290207862854, 0.019710468128323555, 0.6855055689811707, -0.033253610134124756, 0.02677329257130623, -0.427406370639801, 0.5178623795509338, -0.46894779801368713, -0.14724065363407135, 0.5396436452865601, -1.1244661808013916, -0.6895660758018494, -0.33772537112236023, -0.08041597902774811, 1.0676443576812744, -0.8082529902458191, 0.00818789005279541, -0.21564824879169464, -0.5604746341705322, -0.14763523638248444, 0.37517669796943665, 0.6010376811027527, 0.6042202115058899, 0.44750142097473145, 0.05646278336644173, -0.9455825090408325, -0.953083872795105, 0.0031888585072010756, -0.6008250117301941, -0.11958970874547958, 0.09988446533679962, 0.7338680028915405, -0.19494354724884033, 0.8986241817474365, -0.32505330443382263, -0.21074755489826202, -0.13529129326343536, 0.20488029718399048, 0.1443125456571579, 0.35878869891166687, 1.0557442903518677, -0.41841939091682434, -0.7738973498344421, 0.401959627866745, -0.4452136158943176, -0.17947612702846527, 0.3472583591938019, -0.013698652386665344, 0.30806785821914673, 0.29097574949264526, -0.47131070494651794, 0.22616302967071533, 0.5845802426338196, -0.6993213891983032, 0.34571772813796997, -0.2575651705265045, 0.0021554771810770035, -1.037616491317749, -0.3856091797351837, -0.23625890910625458, -0.2246614247560501, -0.5048672556877136, 0.2301034927368164, 0.08067218959331512, 0.5699309706687927, -0.41937345266342163, 0.6390686631202698, -0.33756551146507263, 0.008280854672193527, -0.33195221424102783, -0.05284986272454262, -0.2492525726556778, 0.27875587344169617, 0.14905492961406708, 1.0731327533721924, 0.21106956899166107, -0.09764451533555984, 0.7858022451400757, 0.14024189114570618, -0.18759790062904358, 0.33083003759384155, -1.0083962678909302, 0.1420484334230423, -0.16486239433288574, 0.0206318199634552, -1.0713419914245605, -0.413119375705719, 0.1609106957912445, -0.44668108224868774, 0.10797393321990967, -0.004182842094451189, -0.6844552159309387, -0.8708664774894714, -0.4763241112232208, 0.007503879722207785, 0.5532293319702148, -0.7255454659461975, 0.01872665248811245, 0.21364782750606537, -0.3232761025428772, -0.3130962550640106, -1.0009716749191284, 0.02253446914255619, 0.18890103697776794, -0.8413102030754089, 0.5707573294639587, -0.16378626227378845, -0.44620200991630554, 0.19659903645515442, -0.13149093091487885, -0.18913275003433228, 0.027643509209156036, 0.19545713067054749, 0.20077529549598694, -0.3025653064250946, -0.031770311295986176, 0.26670581102371216, 0.1710732877254486, 0.09425463527441025, -0.18690600991249084, 0.38833701610565186, -0.5760507583618164, 0.09538885951042175, -0.18996652960777283, 0.3593659996986389, 0.3216122090816498, -0.12589161098003387, 0.5782492756843567, 0.4311893880367279, -0.3282893896102905, 0.1292710155248642, -0.6911861300468445, 0.3095586895942688, -0.5568411350250244, 0.39749303460121155, -0.7392745018005371, -1.102638840675354, 0.5815854072570801, 0.35485509037971497, 0.038930997252464294, 0.7275174856185913, 0.8678317666053772, 0.18723933398723602, 0.9832711219787598, 0.731406569480896, 0.22699972987174988, 0.17048239707946777, -0.11588671803474426, 0.00961468555033207, -0.35478782653808594, -0.594103991985321, -0.6291977763175964, 0.0369875431060791, -0.7035222053527832, -0.33764341473579407, 0.16815218329429626, 0.1175352931022644, -0.20331893861293793, 0.4367130696773529, -0.3831643760204315, 0.5736867189407349, 0.6830139756202698, 0.05041438713669777, 0.35376256704330444, -0.10729237645864487, -0.4535408020019531, 0.08145488053560257, -0.3188254237174988, -0.18205033242702484, 1.1387361288070679, 0.275663822889328, 0.07563130557537079, 0.6171638369560242, 0.6331245303153992, -0.05912242829799652, 0.6857116222381592, -0.9044057130813599, 0.21137291193008423, -0.37361207604408264, -0.9249178171157837, -0.06555261462926865, 0.053704503923654556, -0.45822659134864807, 0.17988349497318268, 0.23639139533042908, -0.6488919258117676, -0.0004426926898304373, 0.2348296344280243, -0.38102391362190247, 0.042413849383592606, -0.8196091651916504, 0.8987553715705872, -0.3657550513744354, -0.28405484557151794, -0.09908642619848251, -0.5936263203620911, 0.6113026738166809, -0.29531314969062805, 0.14954550564289093, -0.06138768419623375, -0.3314407765865326, 0.6287943720817566, -1.3030858039855957, 0.1285448968410492, -0.26749083399772644, -0.2528779208660126, 0.4715649485588074, 0.19448222219944, 0.6046056747436523, 0.5131036043167114, -0.14424283802509308, 0.03171724081039429, 0.20719559490680695, -0.23337604105472565, -0.4061727821826935, 0.7817208766937256, -0.822147011756897, -0.45653003454208374, -0.6011603474617004, -0.2157837152481079, -0.2096102386713028, 0.30394864082336426, 0.4122389256954193, 0.27789339423179626, -0.5486012697219849, 0.07153333723545074, 0.19159413874149323, 0.16301321983337402, 0.5288392901420593, 0.6090108752250671, -0.22410671412944794, -0.6272343397140503, 0.7935563325881958, 0.08969306945800781, 0.05319782346487045, 0.3792911767959595, 0.30228954553604126, -0.859691858291626, -0.4158966839313507, -0.3723274767398834, 0.40205880999565125, -0.2280462384223938, -0.16414886713027954, -0.4023624062538147, 0.03774106130003929, -0.6872434020042419, -0.39190876483917236, -0.49684467911720276, -0.6109839677810669, -0.16550444066524506, -0.5069096088409424, 0.7110422849655151, 1.017458200454712, -0.5256379246711731, 0.6268408894538879, -0.42801597714424133, 0.6729039549827576, 0.5372578501701355, 0.6141607761383057, -0.5348596572875977, -0.3206341862678528, -0.22954870760440826, 0.031341537833213806, -0.1182306557893753, -1.1366214752197266, 0.3028729259967804, 0.5856396555900574, 0.3387037217617035, 0.345702588558197, -0.5711246728897095, 0.5681119561195374, -0.6565166115760803, 0.9825209379196167, 0.08831620961427689, -0.570553719997406, 0.5674530863761902, -0.4502275288105011, 0.011458366177976131, 0.7706785202026367, 0.30811482667922974, -0.11080551147460938, -0.2910524904727936, -0.7479668855667114, -0.5346029996871948, 0.5731396675109863, 0.05342575162649155, -0.03398483246564865, -0.6684421300888062, 0.3261302411556244, 0.06452598422765732, 0.16416339576244354, -0.5453402400016785, -0.17410489916801453, -1.0976905822753906, -0.2721858322620392, 0.028630346059799194, -0.4992806911468506, 0.29986655712127686, -0.6127368211746216, 0.8984082341194153, -0.07638555765151978, 0.13447622954845428, 0.12574802339076996, -0.00484149856492877, 0.10333050787448883, -0.11179405450820923, 0.620985209941864, 0.23985934257507324, -0.5894967317581177, 0.016992036253213882, 0.020387446507811546, -1.0251673460006714, 0.1552082598209381, 0.28619399666786194, 0.026684032753109932, 0.28427985310554504, -0.0339469239115715, 0.7770900130271912, 0.1382344663143158, -0.5852932929992676, 0.6867501735687256, 0.007584040053188801, -0.7802790403366089, -0.45578327775001526, -0.11617700010538101, 0.04592204466462135, 0.2773060202598572, 0.08270122110843658, -0.14183254539966583, 0.07780473679304123, -0.6618260741233826, 0.37833818793296814, 0.5960052013397217, -0.05309775099158287, -0.4300295412540436, 0.855172872543335, 0.1426294445991516, -0.20492129027843475, 0.4727528393268585, -0.8543616533279419, -0.6585308909416199, 0.4966500699520111, 0.852526843547821, 1.0598665475845337, -0.5045415163040161, 0.4679105877876282, 0.542820394039154, 0.5177915096282959, -0.641272246837616, 0.9885948300361633, -0.03178032487630844, -0.8482756018638611, -0.3714110255241394, -0.6975607872009277, -0.29884010553359985, 0.10926897823810577, -0.1372167468070984, 0.2859863042831421, -0.7433528304100037, 0.07799051702022552, -0.5010274052619934, 0.3043912351131439, -0.6785710453987122, 0.3125428855419159, -0.41069433093070984, 0.7940728068351746, -0.4640180468559265, 1.1676571369171143, 0.6134695410728455, -0.5373588800430298, -1.0633333921432495, -0.48772501945495605, 0.3210827112197876, -0.9738671779632568, 0.5795628428459167, -0.16840282082557678, -0.41994285583496094, 0.17288684844970703, -0.3224274516105652, -1.2695176601409912, 1.1391465663909912, 0.026542559266090393, -0.2730382978916168, -0.1742970049381256, 0.0876176655292511, 0.6406583189964294, 0.059708379209041595, 0.1696438491344452, 0.8674669861793518, 0.6198002696037292, 0.23389528691768646, -1.096450686454773, -0.01680118963122368, -0.5720468759536743, 0.10726942867040634, 0.10039446502923965, -0.6404946446418762, 1.0494009256362915, -0.2870083451271057, -0.2641337811946869, 0.42206135392189026, 1.0303620100021362, 0.056266892701387405, -0.2896318733692169, 0.2001202404499054, 0.8697655200958252, 0.9029874801635742, -0.233902245759964, 0.9322106838226318, -0.569401204586029, 0.2896139323711395, 1.4307591915130615, -0.15072090923786163, 0.6236079335212708, 0.3523986339569092, -0.22846528887748718, 0.6733731031417847, 0.5754051208496094, -0.2533959150314331, 0.735683798789978, -0.03300543501973152, -0.44370171427726746, 0.42256247997283936, 0.13798482716083527, -0.6250893473625183, 0.5187373161315918, 0.42701759934425354, -0.1624927818775177, -0.4352337121963501, -0.23994986712932587, 0.5814391374588013, -0.3030893802642822, -0.06862650066614151, 0.40406090021133423, -0.35201558470726013, -0.7876624464988708, 0.6792818307876587, 0.4224550127983093, 0.7392193078994751, -0.19752563536167145, 0.20212987065315247, -0.41175249218940735, -0.06184377148747444, -0.22770154476165771, -0.7302449941635132, 0.5294684767723083, 0.3085750341415405, -0.06364639848470688, -0.0013778952416032553, 0.2765308916568756, -0.3627129793167114, -0.5277884602546692, 0.10167040675878525, 0.7616356015205383, 0.26771533489227295, -0.29351934790611267, -0.490183025598526, -0.25564950704574585, 0.04912390932440758, -0.3610292971134186, -0.23940478265285492, 0.3897836208343506, -0.13403956592082977, 0.22345256805419922, 0.6519564986228943, 0.2736160159111023, 0.36654579639434814, 0.2930549681186676, 0.47693875432014465, -0.4202538728713989, -0.553569495677948, -0.8966895341873169, 0.13863785564899445, 0.22400838136672974, -0.5470589399337769, 0.5755350589752197, 0.9563769102096558, 0.9481826424598694, -0.02205529995262623, 0.9615416526794434, -0.6401513814926147, 0.6986610889434814, -0.2537979483604431, 0.497884601354599, -0.5509063601493835, -0.006923949811607599, -0.44380486011505127, -0.7935769557952881, -0.41495710611343384, 0.7404557466506958, 0.2820316255092621, -0.029048051685094833, 1.0830409526824951, 1.1794257164001465, 0.048946429044008255, 0.17507492005825043, -0.0038061956875026226, 0.4989585280418396, 0.563681960105896, 0.5631059408187866, 0.4546094238758087, -0.45173609256744385, 0.6413825154304504, -0.7064975500106812, -0.590888500213623, 0.03801926225423813, -0.9858425259590149, -0.7705462574958801, -0.5892404913902283, 0.2084933966398239, -0.33000943064689636, 0.22075335681438446, 0.9700334668159485, 0.24002544581890106, -0.6956661343574524, -0.1431112140417099, -0.6936517357826233, 0.050974804908037186, 0.058942925184965134, -0.1513962298631668, 0.3168817460536957, -0.10385734587907791, -0.6639464497566223, 0.6969134211540222, 0.19630897045135498, 0.3973747491836548, -0.06852444261312485, -0.2741529047489166, 0.03449230268597603, -0.013640262186527252, 0.7056078910827637, 0.6016902923583984, -0.6894930005073547, -0.8441615104675293, -0.13015533983707428, 0.019359519705176353, 0.11569993942975998, 0.4706133306026459, -0.9462084770202637, 0.21441365778446198, 0.6738329529762268, 0.38137102127075195, 0.48566898703575134, 0.004151409491896629, 0.47481483221054077, -0.6088499426841736, 0.44804254174232483, -0.1173957884311676, 0.3243120312690735, 0.32246020436286926, -0.3885938823223114, 0.7772404551506042, 0.6562666893005371, -0.4740939736366272, -0.41574496030807495, 0.25496745109558105, -1.0887186527252197, -0.0787481889128685, 1.077893853187561, 0.5470326542854309, 0.0027171329129487276, -0.2905708849430084, -0.35491666197776794, 0.3452673852443695, -0.37215280532836914, 0.3909187912940979, 0.8590725064277649, -0.3972931206226349, 0.12086763978004456, -0.6965265870094299, 0.918276309967041, 0.027332331985235214, -0.599177360534668, -0.5137492418289185, 0.6299982070922852, 0.5810766816139221, -0.11958043277263641, 1.1758933067321777, -0.24521784484386444, 0.480757474899292, 0.13308918476104736, -0.1112518310546875, -0.3305293023586273, -0.648849606513977, 0.07365060597658157, 0.22381635010242462, 0.1924707293510437, 0.06949527561664581 ]
http://arxiv.org/abs/2406.11217v2
http://arxiv.org/pdf/2406.11217v2
WeatherQA: Can Multimodal Language Models Reason about Severe Weather?
2024-06-17T05:23:18
2024-06-24T03:55:30
Chengqian Ma, Zhanxiang Hua, Alexandra Anderson-Frey, Vikram Iyer, Xin Liu, Lianhui Qin
cs.AI
cs.AI, cs.CL, cs.CV, physics.ao-ph
Severe convective weather events, such as hail, tornadoes, and thunderstorms, often occur quickly yet cause significant damage, costing billions of dollars every year. This highlights the importance of forecasting severe weather threats hours in advance to better prepare meteorologists and residents in at-risk areas. Can modern large foundation models perform such forecasting? Existing weather benchmarks typically focus only on predicting time-series changes in certain weather parameters (e.g., temperature, moisture) with text-only features. In this work, we introduce WeatherQA, the first multimodal dataset designed for machines to reason about complex combinations of weather parameters (a.k.a., ingredients) and predict severe weather in real-world scenarios. The dataset includes over 8,000 (multi-images, text) pairs for diverse severe weather events. Each pair contains rich information crucial for forecasting -- the images describe the ingredients capturing environmental instability, surface observations, and radar reflectivity, and the text contains forecast analyses written by human experts. With WeatherQA, we evaluate state-of-the-art vision language models, including GPT4, Claude3.5, Gemini-1.5, and a fine-tuned Llama3-based VLM, by designing two challenging tasks: (1) multi-choice QA for predicting affected area and (2) classification of the development potential of severe convection. These tasks require deep understanding of domain knowledge (e.g., atmospheric dynamics) and complex reasoning over multimodal data (e.g., interactions between weather parameters). We show a substantial gap between the strongest VLM, GPT4o, and human reasoning. Our comprehensive case study with meteorologists further reveals the weaknesses of the models, suggesting that better training and data integration are necessary to bridge this gap. WeatherQA link: https://github.com/chengqianma/WeatherQA.
[ -0.493115097284317, -0.656715989112854, 0.69353187084198, 0.4979730248451233, -0.12712576985359192, -0.04007013142108917, -0.07855484634637833, -0.6002417802810669, -0.2317694127559662, 0.4766847491264343, -0.6973767280578613, -0.3570041060447693, -0.29670968651771545, -0.14443737268447876, -0.6131011843681335, 0.7211982011795044, -0.22537188231945038, -0.0320485383272171, -0.316861093044281, 0.08161107450723648, -0.23214025795459747, -0.7274211645126343, -0.22273346781730652, -0.3026721179485321, 0.548684298992157, 0.39806196093559265, 1.0474355220794678, 0.11234812438488007, 0.37677571177482605, 0.2934257686138153, 0.09776049107313156, 0.3430791199207306, -0.03342688828706741, 0.3549192249774933, -0.16846613585948944, -0.0806681364774704, -0.11126095801591873, -0.07440618425607681, 0.3845435678958893, 0.46335935592651367, -0.2855195999145508, 0.021466320380568504, -0.07771538197994232, 0.33879247307777405, -0.6318970322608948, 0.0036129236686974764, -0.4711317718029022, -0.08232379704713821, -0.2330877035856247, -0.0840718001127243, -0.21886761486530304, 0.1672467291355133, 0.322537899017334, -0.33594217896461487, 0.3041684925556183, 0.018289484083652496, 0.7778244614601135, 0.445289671421051, -0.8370133638381958, 0.047176118940114975, -0.8365610241889954, 0.8069791197776794, -0.6218572854995728, 0.8230940699577332, 0.24371419847011566, 0.5191351771354675, -0.41856110095977783, -0.5597136616706848, -0.7950204014778137, 0.058182474225759506, 0.3580318093299866, 0.1863834410905838, -0.13637356460094452, -0.0689457431435585, 0.05719694867730141, -0.061730802059173584, -0.67351895570755, -0.07466566562652588, -0.18648841977119446, -0.343044251203537, 0.4228801429271698, 0.4147486388683319, 0.2074723243713379, -0.349550724029541, -0.6908588409423828, -0.05226831138134003, -0.5403640270233154, 0.4431171715259552, 0.05525544658303261, 0.3111475110054016, -0.3669050931930542, 0.5046106576919556, -0.26618918776512146, 0.701239287853241, -0.5892655253410339, -0.28174036741256714, 0.093904048204422, -0.30054330825805664, -0.5269286632537842, -0.1863919198513031, 0.7359665632247925, 0.34165623784065247, 0.038797393441200256, -0.17876897752285004, -0.25062206387519836, 0.16799074411392212, 0.14660689234733582, -0.6862872838973999, -0.41849324107170105, 0.28311121463775635, -0.14515499770641327, -0.5390105843544006, -0.18897882103919983, -0.7602782249450684, -0.7355105876922607, -0.6879697442054749, 0.4469791650772095, -0.21821631491184235, -0.2754562795162201, 0.2073974609375, -0.24370545148849487, -0.1559390425682068, 0.4806591868400574, -0.3740829825401306, 0.14817631244659424, 0.29612091183662415, 0.44754788279533386, 0.21761660277843475, -0.46737268567085266, -0.33966538310050964, -0.22404953837394714, -0.16016609966754913, 1.020193099975586, -0.7403873801231384, -0.015052936971187592, -0.27745798230171204, -0.10449725389480591, -0.018235186114907265, -0.3791165351867676, 0.354358047246933, -0.529044508934021, 0.13452619314193726, 0.03857433423399925, 0.05442548543214798, -0.4573565125465393, 0.3066798150539398, -0.5597336292266846, 0.9572588205337524, 0.09999442845582962, -0.6874461770057678, 0.23298166692256927, -0.08968324214220047, -0.3541039526462555, -0.24368973076343536, -0.1282711923122406, -0.39653339982032776, -0.009716487489640713, 0.5922039747238159, 0.48467254638671875, -0.8071139454841614, 0.5889617800712585, -0.5523468852043152, 0.2004864662885666, 0.5618395209312439, -0.7113613486289978, 0.4762054681777954, 0.25605371594429016, -0.557183027267456, 0.2837734818458557, -0.8415260910987854, 0.20074014365673065, 0.08645351976156235, -0.31048092246055603, -0.15351121127605438, 0.088118776679039, 0.46170106530189514, 0.5902383327484131, 0.030891692265868187, -0.14373186230659485, -0.005865444429218769, -0.18914061784744263, 0.4986761212348938, 0.7756221890449524, -0.12359709292650223, 0.2780652344226837, -0.42794325947761536, 0.6981980204582214, 0.41646474599838257, 0.41908296942710876, -0.052129171788692474, -0.6926246285438538, -0.7157431244850159, -0.2293040007352829, 0.09404852986335754, 0.6726315021514893, -0.9078480005264282, -0.42271485924720764, 0.0008770412532612681, -0.7635840177536011, -0.20949684083461761, 0.14713315665721893, 0.3530430793762207, 0.4075181186199188, 0.5686385035514832, 0.33015698194503784, -0.9945834875106812, -0.6635295748710632, -0.0029317752923816442, 0.09344921261072159, 0.1745285987854004, 0.30947446823120117, 0.3648199439048767, -0.4211180508136749, 0.8529720902442932, -0.1878080517053604, 0.11755409091711044, -0.22418546676635742, 0.04515624791383743, 0.3013898730278015, 0.1269093155860901, 0.6844930648803711, -1.0742173194885254, 0.05839807912707329, -0.21894073486328125, -0.6633188128471375, -0.1545737236738205, -0.048760924488306046, -0.0794297531247139, 0.05416424944996834, 0.17901387810707092, -0.6580640077590942, 0.45706450939178467, 0.9473062753677368, -0.5981495976448059, 0.8091762661933899, 0.11368703097105026, 0.09678056091070175, -0.9002066254615784, -0.1789083033800125, 0.28088614344596863, -0.34841135144233704, -0.5637747049331665, 0.2703125476837158, -0.14025041460990906, -0.34417787194252014, -0.5504659414291382, 0.680171549320221, -0.12983182072639465, 0.19512297213077545, -0.10581329464912415, -0.23166581988334656, 0.2654244005680084, 0.38441187143325806, -0.04996475577354431, 0.3450111746788025, 0.7056125998497009, -0.658901035785675, 0.726706326007843, -0.010117298923432827, -0.5030628442764282, -0.014425231143832207, -0.45051610469818115, -0.07648330181837082, -0.10697832703590393, 0.30138450860977173, -0.7408508062362671, -0.37082019448280334, 0.34366288781166077, -0.2689819037914276, -0.23794184625148773, -0.014901614747941494, -0.42685064673423767, -0.27824899554252625, -0.05191652849316597, 0.4506393074989319, 0.043363310396671295, -0.5869378447532654, 0.9594274759292603, 0.28227078914642334, -0.13944366574287415, -0.5402492880821228, -0.5618909001350403, 0.21369177103042603, -0.033326562494039536, -0.6779239773750305, 0.3899642825126648, -0.2139110416173935, -0.5187662839889526, 0.03698376193642616, -0.21537718176841736, -0.2751164734363556, 0.3643210232257843, 0.6903751492500305, 0.2128923237323761, -0.2247159779071808, 0.22649282217025757, -0.14434096217155457, 0.016895078122615814, 0.09705479443073273, -0.32127779722213745, 0.5086337327957153, -0.18440847098827362, -0.01857471466064453, -0.29762211441993713, 0.45221585035324097, 0.8797497749328613, -0.29231777787208557, 0.6821027398109436, 0.46980196237564087, -0.8719460964202881, -0.22396668791770935, -0.5085177421569824, -0.03302457928657532, -0.3976547420024872, 0.06885959953069687, -0.568466067314148, -0.4921792149543762, 0.40127110481262207, 0.11754234880208969, -0.12079998105764389, 0.375660240650177, 0.46479153633117676, -0.17325788736343384, 1.3392307758331299, 0.48370450735092163, -0.05928740277886391, 0.2696031332015991, -0.09740974754095078, 0.04045283794403076, -0.36703425645828247, -0.5034437775611877, -0.405851274728775, -0.1487767994403839, -0.184303417801857, -0.562285840511322, 0.36519694328308105, 0.05103611201047897, -0.35178160667419434, -0.00342085980810225, -0.2615436613559723, 0.16933481395244598, 0.5016734004020691, 0.35486912727355957, 0.05232097581028938, -0.17189551889896393, -0.24950547516345978, 0.059876151382923126, -0.5511877536773682, -0.32017409801483154, 0.7594872713088989, 0.344462126493454, 0.8531996607780457, 0.28222987055778503, 0.2907223105430603, 0.18435442447662354, 0.18681137263774872, -0.660936176776886, 0.370411217212677, -0.011671108193695545, -0.6932165026664734, -0.19161687791347504, -0.469618558883667, -0.6190376281738281, 0.278667151927948, -0.5891177654266357, -0.25437822937965393, 0.2813282608985901, 0.11316359788179398, -0.2714866101741791, 0.08165420591831207, -0.6422610878944397, 0.9344006776809692, -0.39028942584991455, -0.046569038182497025, -0.15004141628742218, -0.4730285406112671, 0.2860477864742279, -0.03643767163157463, 0.8449833989143372, -0.23414744436740875, 0.16925682127475739, 0.503013551235199, -0.4493328630924225, 0.9444943070411682, -0.2600061595439911, -0.0942859798669815, 0.2525422275066376, 0.14304956793785095, 0.36336639523506165, 0.24559906125068665, -0.12375733256340027, -0.003770548151805997, 0.21970900893211365, -0.4956492483615875, -0.5797244906425476, 0.6969239115715027, -0.9591363668441772, -0.49231231212615967, -0.40609800815582275, -0.4027118980884552, -0.38067957758903503, 0.1714172512292862, 0.18915678560733795, 0.9039345383644104, 0.13339106738567352, 0.1370011419057846, 0.3434690833091736, 0.10337116569280624, 0.17685125768184662, 0.46333298087120056, -0.4034828543663025, -0.41940730810165405, 0.9496390223503113, 0.059769272804260254, -0.19927337765693665, 0.45664775371551514, 0.531920850276947, -0.06528754532337189, -0.67876797914505, -0.41358309984207153, -0.1742449402809143, -0.8149657249450684, -0.4901081621646881, -0.5879395604133606, -0.17376808822155, -0.3125169277191162, 0.022541599348187447, -0.10987538844347, -0.2968597710132599, -0.28039607405662537, -0.03410821408033371, 0.1093674972653389, 0.6476120352745056, 0.2650527358055115, 0.008131545968353748, -0.9347008466720581, 0.48711857199668884, 0.4440860152244568, 0.029594620689749718, -0.057269901037216187, -0.27521610260009766, -0.1437305361032486, 0.3367071747779846, -0.3345411717891693, -0.7782326936721802, 0.39539119601249695, 0.23809440433979034, 0.4602702558040619, 0.2995895743370056, 0.26398372650146484, 0.7494887113571167, -0.28021594882011414, 0.7420781850814819, 0.119154192507267, -1.0587221384048462, 0.5877471566200256, -0.2396695762872696, 0.37989702820777893, -0.02362184226512909, 0.27813008427619934, -0.4310539662837982, -0.4708499014377594, -0.4004855155944824, -0.7375500202178955, 0.49901652336120605, 0.13399015367031097, -0.11037735641002655, 0.07268483191728592, 0.04018702730536461, 0.1526724100112915, 0.03516162559390068, -0.5501662492752075, 0.07583058625459671, -0.7491180896759033, -0.23907232284545898, -0.23082511126995087, -0.2213459014892578, -0.1783580631017685, -0.15737411379814148, 0.5052151083946228, -0.2330586463212967, -0.06307382136583328, 0.24789349734783173, 0.0023799033369868994, -0.011863314546644688, 0.43305444717407227, 0.841917097568512, 0.6335558891296387, -0.054432258009910583, 0.4896092712879181, 0.24381159245967865, -0.24692343175411224, 0.06800408661365509, 0.2952720820903778, 0.12842023372650146, 0.000911712646484375, 0.534692645072937, 0.7546371817588806, 0.513649046421051, -0.9694868922233582, 0.6233002543449402, -0.2721509039402008, -0.22983136773109436, -0.3084232807159424, -0.08975909650325775, -0.07875484973192215, 0.6599494218826294, 0.46694642305374146, 0.6377566456794739, 0.28367310762405396, -0.6119275093078613, -0.09415321052074432, 0.16843850910663605, -0.3577443063259125, -0.6055945158004761, 0.7768703103065491, 0.23660477995872498, 0.25575000047683716, 0.6044983863830566, 0.1359153538942337, -0.7271898984909058, 0.8136026263237, 0.39459776878356934, 0.37802648544311523, -0.1654365360736847, 0.17156682908535004, -0.00046330285840667784, 0.40636682510375977, -0.015139702707529068, 0.6977441310882568, 0.08638028055429459, -0.9907700419425964, -0.29217419028282166, -0.7524486184120178, -0.5267677903175354, 0.20059610903263092, -0.3003981411457062, 0.3258209824562073, -0.6281341910362244, -0.3210637867450714, 0.30601149797439575, -0.4002254903316498, -1.0327231884002686, 0.6816489100456238, 0.6459743976593018, 0.9444090723991394, -0.8057525753974915, 0.5775249600410461, 0.9227764010429382, -0.15533722937107086, -0.8674976229667664, -0.19429701566696167, 0.26285818219184875, -0.5616675615310669, 0.5782033801078796, 0.2839222550392151, -0.23231424391269684, -0.2686895430088043, -0.6248803734779358, -0.7506577372550964, 0.7934073805809021, 0.4475190341472626, -0.6063779592514038, -0.3112524151802063, -0.035080790519714355, 0.26785004138946533, -0.15014223754405975, 0.06481855362653732, 0.1069081649184227, 0.6016300320625305, 0.014855774119496346, -0.9016919136047363, 0.13133938610553741, -0.35934191942214966, -0.21621735394001007, 0.3718266785144806, -0.33893999457359314, 0.8390854597091675, -0.5713810324668884, -0.22483709454536438, 0.03923904523253441, 0.40750181674957275, -0.0526268407702446, 0.7692010402679443, 0.6274020075798035, 0.667787492275238, 0.5687352418899536, -0.18137028813362122, 0.994966447353363, -0.08036722987890244, 0.14716416597366333, 0.9798580408096313, -0.1449502408504486, 0.8571422696113586, 0.3439085781574249, -0.18957115709781647, 0.686468780040741, 0.6890063285827637, 0.2816261649131775, 0.7006927728652954, -0.13858363032341003, -0.3503980040550232, -0.9490633606910706, -0.2197321355342865, -0.41684871912002563, 0.6889832019805908, 0.557121217250824, -0.047287438064813614, -0.20123200118541718, 0.4692148268222809, -0.14853137731552124, -0.13090695440769196, -0.21132422983646393, 0.5194123387336731, 0.16930466890335083, -0.46095404028892517, 0.553572952747345, 0.16882270574569702, 0.2411506175994873, -0.40223339200019836, 0.09442733228206635, 0.13996897637844086, 0.16306249797344208, -0.5018653273582458, -0.8889899253845215, 0.19073832035064697, -0.18845826387405396, -0.4160207211971283, -0.07120490074157715, 0.40959396958351135, -0.13450458645820618, -0.45267346501350403, 0.20939569175243378, 0.4644743800163269, -0.12623542547225952, -0.5355876684188843, -0.5401964783668518, 0.03150452300906181, -0.21356017887592316, -0.3479694724082947, 0.16288983821868896, 0.4976373016834259, -0.3452616333961487, 0.8506749868392944, 0.8911117911338806, -0.23747998476028442, 0.10455218702554703, 0.41905996203422546, 1.1882926225662231, -0.9037115573883057, -0.29811716079711914, -0.7048006057739258, 0.5462252497673035, 0.34580737352371216, -0.32250306010246277, 0.26424044370651245, 0.347578763961792, 0.4324757754802704, 0.0124014001339674, 0.856002688407898, 0.14399777352809906, 0.27755579352378845, -0.7172728776931763, 0.20616872608661652, -0.6679055690765381, -0.00863916426897049, -0.10541152954101562, -0.775672972202301, -0.3767531216144562, 0.049410365521907806, -0.2105088084936142, -0.30084729194641113, 0.5484493970870972, 0.5173529386520386, 0.11489371955394745, 0.14047633111476898, 0.20233500003814697, 0.25529131293296814, 0.5271223187446594, 0.6555852890014648, 1.1841249465942383, -0.3262079358100891, 0.9499530792236328, -0.40847674012184143, -0.3220186233520508, -0.22749832272529602, -0.793076753616333, -0.9043053388595581, -0.8480800986289978, -0.0987175703048706, -0.41284865140914917, -0.00016018140013329685, 1.0257258415222168, 0.6947512626647949, -0.7364575266838074, 0.31927645206451416, -0.022179599851369858, 0.20895834267139435, -0.2237359881401062, -0.23266547918319702, 0.007513449061661959, -0.12044334411621094, -0.33415043354034424, 0.6136617064476013, 0.1970200091600418, 0.2262066900730133, -0.19141584634780884, 0.045450713485479355, 0.2733525335788727, 0.16301046311855316, 0.6823491454124451, 0.027990100905299187, -0.9245170950889587, -0.24992921948432922, 0.04812852665781975, -0.31189602613449097, -0.2904830873012543, 0.6107126474380493, -1.065880298614502, 0.4874096214771271, 0.5210296511650085, 0.42749834060668945, 0.31433504819869995, -0.2761361300945282, 0.41080304980278015, -0.6277228593826294, 0.07879722118377686, 0.23722079396247864, 0.5359280705451965, 0.4271008372306824, -0.22987009584903717, 0.054427120834589005, 0.3463132679462433, -0.4448060095310211, -0.774753749370575, 0.1795647293329239, -1.010761022567749, -0.3782542049884796, 1.015271782875061, 0.13582809269428253, -0.14970697462558746, -0.27546972036361694, -0.40879717469215393, -0.09401050955057144, -0.35569366812705994, 0.8198065757751465, 0.8274993896484375, 0.07033362239599228, -0.5339184403419495, -0.4368414878845215, 0.409452348947525, 0.13198204338550568, -0.657840371131897, -0.012747039087116718, 0.40352004766464233, 0.24983830749988556, 0.12025376409292221, 0.20869268476963043, 0.29341840744018555, 0.5317063331604004, -0.11241345852613449, -0.059138644486665726, -0.1889052838087082, -0.8746062517166138, 0.1101660504937172, 0.22143714129924774, 0.04200517386198044, 0.039502713829278946 ]
http://arxiv.org/abs/2406.11214v1
http://arxiv.org/pdf/2406.11214v1
Global Data Constraints: Ethical and Effectiveness Challenges in Large Language Model
2024-06-17T05:13:25
2024-06-17T05:13:25
Jin Yang, Zhiqiang Wang, Yanbin Lin, Zunduo Zhao
cs.CL
cs.CL
The efficacy and ethical integrity of large language models (LLMs) are profoundly influenced by the diversity and quality of their training datasets. However, the global landscape of data accessibility presents significant challenges, particularly in regions with stringent data privacy laws or limited open-source information. This paper examines the multifaceted challenges associated with acquiring high-quality training data for LLMs, focusing on data scarcity, bias, and low-quality content across various linguistic contexts. We highlight the technical and ethical implications of relying on publicly available but potentially biased or irrelevant data sources, which can lead to the generation of biased or hallucinatory content by LLMs. Through a series of evaluations using GPT-4 and GPT-4o, we demonstrate how these data constraints adversely affect model performance and ethical alignment. We propose and validate several mitigation strategies designed to enhance data quality and model robustness, including advanced data filtering techniques and ethical data collection practices. Our findings underscore the need for a proactive approach in developing LLMs that considers both the effectiveness and ethical implications of data constraints, aiming to foster the creation of more reliable and universally applicable AI systems.
[ -0.08327588438987732, -0.6069163680076599, 0.5693535208702087, -0.2116205096244812, 0.006614468526095152, 0.09453652799129486, -0.33510082960128784, -0.7111032605171204, -0.5167660117149353, 0.7209990620613098, -0.4468013346195221, -0.39916592836380005, -0.735950767993927, 0.08239598572254181, -0.18174825608730316, 1.0358351469039917, -0.12028391659259796, 0.2860051989555359, -0.31878146529197693, -0.3673814535140991, -0.3820016086101532, -1.0176877975463867, -0.4429793953895569, -0.2109452337026596, 0.2792484760284424, 0.44210973381996155, 0.9679027199745178, 0.8824522495269775, 0.5687410235404968, 0.2264489084482193, -0.11580211669206619, 0.036575090140104294, -0.6760482788085938, 0.11192932724952698, -0.24185435473918915, -0.49270665645599365, -0.3716982305049896, 0.1931295394897461, 0.7190333008766174, 0.5984787940979004, -0.14584606885910034, 0.20683863759040833, 0.055628854781389236, 0.4830823540687561, -0.5754052400588989, 0.024370215833187103, -0.578791081905365, -0.01440481748431921, -0.37074142694473267, 0.067336805164814, 0.005480410531163216, -0.6041358709335327, 0.138955757021904, -0.5688101649284363, 0.09470948576927185, -0.03821651637554169, 0.8538610935211182, 0.372511088848114, -0.5328971147537231, -0.6533995866775513, -0.9024451375007629, 0.9611209630966187, -0.6667721271514893, 0.4911912679672241, 0.6868506669998169, 0.12850512564182281, -0.08413196355104446, -0.3968288004398346, -0.41527655720710754, -0.15948735177516937, 0.18389958143234253, -0.2683877646923065, 0.1567957103252411, -0.05713725462555885, 0.3458545506000519, 0.34749355912208557, -0.2537095248699188, 0.42212536931037903, -0.3392114043235779, -0.23510248959064484, 0.7086807489395142, 0.15655598044395447, 0.2597835659980774, -0.0827094092965126, 0.03289780765771866, 0.15481971204280853, -1.1097640991210938, -0.0672714039683342, 0.9424383640289307, 0.27400755882263184, -0.10921071469783783, 0.5629920959472656, 0.04731527343392372, 0.3788289427757263, -0.44964128732681274, -0.12475010752677917, 0.1698756068944931, -0.48351073265075684, 0.09516976028680801, -0.2517443299293518, 0.5208944082260132, 0.09186378866434097, 0.451616108417511, -0.09582819789648056, -0.19649295508861542, -0.2249653935432434, 0.1598149836063385, -0.5141350030899048, 0.19145964086055756, 0.3455221354961395, -0.3351593315601349, -0.1817856729030609, -0.0035105326678603888, -0.7468553185462952, -0.4680420160293579, -0.5678054094314575, 0.28242892026901245, -0.18917684257030487, -0.21371214091777802, 0.028158999979496002, 0.17613230645656586, 0.2645929157733917, 0.22314170002937317, -0.949981689453125, 0.09558327496051788, 0.7530555725097656, 0.676576554775238, 0.0701901838183403, -0.07257352769374847, -0.5507947206497192, 0.39856603741645813, -0.21125470101833344, -0.08377738296985626, -0.7317481637001038, -0.40715551376342773, -0.027866236865520477, -0.012560131028294563, 0.18946987390518188, -0.6495043635368347, 0.6728563904762268, -0.2977536916732788, 0.07024390250444412, -0.4922632873058319, -0.5222026109695435, 0.09434574097394943, 0.18134000897407532, -0.6455563306808472, 0.7360403537750244, 0.0019832877442240715, -0.7233808636665344, 0.36496883630752563, -0.5409454703330994, -0.38779568672180176, 0.07556376606225967, -0.5838969349861145, -0.4381699860095978, 0.1153661385178566, 0.3055574893951416, 0.45426711440086365, -0.4150935709476471, 0.6567612290382385, -0.28833624720573425, -0.17894808948040009, 0.2235572338104248, -0.7190973162651062, 0.976904034614563, 0.18970339000225067, -0.4268948435783386, -0.046755436807870865, -0.9204745292663574, -0.1802707314491272, 0.32928580045700073, -0.3238144516944885, -0.38483163714408875, 0.2235267460346222, -0.03769465535879135, 0.1903507262468338, 0.01436095405369997, -0.4507918655872345, 0.03596879914402962, 0.008799823932349682, 0.6948075294494629, 1.029421091079712, -0.051354970782995224, 0.19558744132518768, -0.31970420479774475, 0.5650585889816284, -0.28303244709968567, 0.540930986404419, 0.24336358904838562, -0.2841126024723053, -0.3393436074256897, -0.15938037633895874, 0.22698670625686646, 0.626698911190033, -0.5532376766204834, 0.4214886724948883, -0.3951363265514374, -0.3116050362586975, -0.7581250071525574, 0.28733694553375244, 0.24935418367385864, 0.45728468894958496, 0.08159023523330688, -0.036707501858472824, -0.21885628998279572, -1.0543986558914185, -0.13966676592826843, 0.019429776817560196, -0.0392126627266407, 0.5509794354438782, 0.7757267951965332, -0.12624502182006836, 0.809700071811676, 0.10942423343658447, -0.29342085123062134, -0.20031842589378357, -0.20787036418914795, 0.012353931553661823, 0.8134891986846924, 0.22865808010101318, -0.9074481725692749, 0.010459733195602894, -0.004124668892472982, -0.9848678708076477, 0.057027556002140045, -0.07402771711349487, -0.03630978241562843, 0.13174796104431152, 0.31279224157333374, -0.5597496628761292, 0.330700159072876, 0.6409197449684143, 0.005241356324404478, 0.41587477922439575, -0.09683670103549957, 0.12828700244426727, -0.8172910809516907, 0.20832687616348267, -0.11622308194637299, -0.049464624375104904, -0.6306837201118469, 0.19860267639160156, -0.010586395859718323, -0.12164612859487534, -0.46038058400154114, 0.44755464792251587, -0.439299613237381, -0.09937211126089096, 0.07242085784673691, -0.04149354621767998, -0.1325545758008957, 0.006324651651084423, -0.05130226910114288, 0.7855476140975952, 0.4804551601409912, -0.4832192361354828, 0.3612145185470581, 0.43044301867485046, -0.5189329385757446, 0.6965285539627075, -0.5422488451004028, 0.24836811423301697, -0.20989975333213806, 0.27148154377937317, -0.15265609323978424, -0.4858257472515106, 0.2830065190792084, -0.26057058572769165, 0.3204866945743561, -0.23319227993488312, -0.722173810005188, -0.03563394397497177, -0.217876598238945, 0.6092362999916077, 0.45582786202430725, -0.5140236616134644, 0.29713714122772217, 0.5257924199104309, -0.22519168257713318, -0.9983716607093811, -0.6961978673934937, 0.2921347916126251, -0.40405571460723877, -0.6723504066467285, 0.04905877262353897, 0.11822201311588287, -0.3912123143672943, -0.06985630840063095, -0.07822734117507935, 0.09389427304267883, 0.3935615122318268, 0.020031020045280457, 0.07825301587581635, 0.10132528841495514, -0.08594214916229248, -0.1602754294872284, 0.09739312529563904, 0.27021902799606323, -0.23991546034812927, 0.3398537039756775, 0.12187320739030838, -0.5564541220664978, -0.5374844670295715, 0.41689208149909973, 0.46396878361701965, -0.17648530006408691, 0.708548903465271, 0.3837892711162567, -0.5942402482032776, -0.16196486353874207, -0.6141617298126221, -0.15735119581222534, -0.47989988327026367, 0.4516203701496124, -0.07327782362699509, -1.0619256496429443, 0.4791531264781952, 0.1591082066297531, 0.09129776060581207, 0.10302738100290298, 0.5253735184669495, 0.09919589012861252, 0.9138127565383911, 0.5893152356147766, -0.26456332206726074, 0.3186572194099426, -0.10798931121826172, 0.2512378990650177, -0.8704970479011536, -0.4104357063770294, -0.7000564932823181, -0.07816293835639954, -0.6042794585227966, -0.30293163657188416, 0.3861875832080841, 0.014129402115941048, -0.38442835211753845, -0.3370591402053833, -0.3941934406757355, 0.6335433721542358, 0.662785530090332, 0.06755103915929794, 0.5604382753372192, 0.010984168387949467, 0.12733417749404907, -0.17131608724594116, -0.5869826674461365, -0.8220124244689941, 1.2233223915100098, 0.5799224972724915, 0.8818839192390442, 0.1548531949520111, 0.43997451663017273, 0.06270235776901245, 0.05870470777153969, -0.41120320558547974, 0.3239521086215973, -0.025829995051026344, -0.9964339137077332, -0.38226234912872314, -0.7476848363876343, -0.8744713664054871, -0.01673564873635769, -0.07377596944570541, -0.9145119190216064, 0.166188046336174, 0.03114641271531582, -0.10977572202682495, 0.41442805528640747, -0.45971694588661194, 0.6974447965621948, -0.6810987591743469, -0.6718205213546753, -0.05558303743600845, -0.9181817770004272, 0.3435301184654236, -0.29793980717658997, 0.5167577266693115, -0.3726164996623993, 0.0033860253170132637, 0.5685999393463135, -0.3492547571659088, 0.8799881339073181, -0.18620474636554718, -0.3338252305984497, 0.17708909511566162, -0.15310445427894592, 0.660308837890625, 0.2543165981769562, -0.16829651594161987, 0.5369747281074524, -0.16532458364963531, -0.4959196448326111, -0.1728878617286682, 0.6193872690200806, -0.9393584132194519, -0.7119110226631165, -0.3573962152004242, -0.6858797073364258, -0.6069780588150024, 0.158814936876297, 0.3435428738594055, 0.31395795941352844, -0.16123802959918976, 0.27499374747276306, 0.6547207832336426, -0.6293172240257263, 0.067294642329216, 0.30398860573768616, 0.19020070135593414, -0.33240386843681335, 1.0326429605484009, 0.36197829246520996, 0.5550320744514465, -0.09941163659095764, 0.11615126579999924, -0.3293226957321167, -0.9510536193847656, -0.44872918725013733, 0.254136323928833, -0.749011218547821, 0.0931706577539444, -0.3217110335826874, -0.34638136625289917, -0.4009411334991455, -0.07843808084726334, -0.34034550189971924, -0.16950960457324982, -0.3945883512496948, -0.13128326833248138, 0.30954858660697937, 0.8063228726387024, -0.15836471319198608, 0.08326645195484161, -0.6813634037971497, 0.07773829996585846, -0.10924085974693298, 0.5572961568832397, -0.17357100546360016, -0.3817885220050812, -0.18681076169013977, 0.13987599313259125, -0.12901464104652405, -0.40623220801353455, 0.1207122653722763, -0.02701096050441265, 0.693890392780304, 0.05972882732748985, -0.03916444629430771, 0.43251243233680725, -0.4203575551509857, 0.7473751902580261, -0.2135639488697052, -1.0139702558517456, 0.4938149154186249, -0.686218798160553, -0.05235325172543526, 0.5800818204879761, 0.599058210849762, -0.42767471075057983, -0.6155299544334412, -0.5094248056411743, -1.0134146213531494, 0.7217963337898254, 0.521692156791687, 0.24487490952014923, 0.38203364610671997, 0.6638501286506653, 0.3193395733833313, 0.3899252116680145, -0.7854642271995544, 0.019334955140948296, 0.0004738554998766631, -0.31547126173973083, 0.09109514206647873, 0.00016118798521347344, -0.27333739399909973, -0.16366684436798096, 0.7522684931755066, 0.057358287274837494, -0.17725160717964172, 0.009965410456061363, -0.09221763908863068, 0.04752977937459946, 0.3925645649433136, 0.46484553813934326, 0.7859453558921814, -0.04050291329622269, -0.2364695817232132, 0.0101159131154418, -0.5054423213005066, 0.3292308747768402, 0.05815733224153519, -0.4469488263130188, -0.32805100083351135, 0.3337092101573944, 0.5614513754844666, -0.1283549964427948, -0.720142126083374, 0.3750956952571869, 0.0902988463640213, -0.08124391734600067, -0.29562246799468994, 0.032816387712955475, -0.020163094624876976, 0.08371442556381226, 0.23277607560157776, -0.35481542348861694, -0.2013460248708725, -0.424461305141449, 0.028126906603574753, 0.6257458925247192, 0.07243017852306366, -0.11691329628229141, 0.8757089376449585, 0.18071109056472778, -0.04275071248412132, 0.9079405069351196, 0.203266441822052, -0.2565273642539978, 0.6891936659812927, 0.3596629500389099, 0.3426623046398163, -0.2809215486049652, 0.08059413731098175, 0.017050359398126602, 0.6692351698875427, -0.3633771240711212, 0.31924426555633545, 0.2947239875793457, -0.7398046255111694, -0.4403003752231598, -0.27513647079467773, -0.7695605754852295, 0.4498802125453949, -0.6888846755027771, 0.10379023849964142, -0.5489408373832703, -0.07528440654277802, -0.36634013056755066, -0.04384300857782364, -0.69634610414505, 0.03727191314101219, 0.12262612581253052, 0.45510825514793396, -0.5904784202575684, 0.788592517375946, 0.2217807173728943, -0.36628666520118713, -0.6082198619842529, -0.0860816091299057, 0.33667677640914917, -1.0376267433166504, 0.4422611594200134, 0.08132113516330719, 0.10585273057222366, -0.07606382668018341, -0.7498638033866882, -0.9694364666938782, 0.8388746380805969, 0.8351659774780273, -0.5280143618583679, -0.08973614871501923, 0.6063727140426636, 0.3422708809375763, -0.02689816989004612, -0.2256394326686859, 0.7371673583984375, 0.6104843020439148, -0.1538260579109192, -0.869240403175354, 0.07158652693033218, 0.037939805537462234, -0.13612738251686096, 0.14477361738681793, -0.7991122603416443, 0.676062285900116, -0.06247403100132942, -0.17094841599464417, 0.0246096383780241, 0.19616498053073883, 0.2017313539981842, 0.2165745496749878, 0.16238214075565338, 0.4015357196331024, 1.0644266605377197, -0.07984333485364914, 1.0653924942016602, -0.11425020545721054, 0.2907106876373291, 0.9311885237693787, -0.694847583770752, 0.4840410649776459, 0.363514244556427, -0.04505433142185211, -0.17334096133708954, 0.6377949714660645, -0.3026268780231476, 0.18079563975334167, 0.42071765661239624, -0.24362485110759735, 0.060708384960889816, -0.5429678559303284, -0.41580766439437866, 0.49578389525413513, 0.5932271480560303, -0.18991270661354065, 0.007637305650860071, 0.03893892839550972, 0.16098390519618988, -0.04255998507142067, -0.29581570625305176, 0.47522956132888794, -0.004088531248271465, -0.324954092502594, 0.26125937700271606, -0.05197451636195183, 0.571625292301178, -0.4535839855670929, 0.0647173523902893, -0.16683126986026764, 0.026354070752859116, -0.33997872471809387, -0.5819584131240845, 0.3563026487827301, 0.2813667356967926, 0.09913846105337143, -0.20253078639507294, 0.3992217183113098, -0.2622907757759094, -0.47342315316200256, 0.2263345867395401, 0.6975572109222412, 0.13691960275173187, 0.09536872059106827, -0.6019434332847595, 0.4848752021789551, -0.1608712375164032, -0.2690822184085846, 0.4843786358833313, 0.3889904022216797, -0.19932496547698975, 0.8296903371810913, 0.6245279312133789, 0.38666853308677673, -0.07617194950580597, 0.014739447273314, 0.5619066953659058, -0.5532102584838867, -0.20292966067790985, -0.9920620918273926, 0.20229655504226685, -0.03431275486946106, -0.3687325119972229, 0.551067590713501, 0.40914401412010193, 0.9890786409378052, 0.4553625285625458, 1.137303113937378, 0.11033540964126587, 0.34279659390449524, -0.7645838856697083, 0.8380138874053955, -0.4674951434135437, 0.5148176550865173, -0.06765788048505783, -0.7992413640022278, -0.3990563452243805, 0.5239693522453308, -0.25623804330825806, 0.3235466182231903, 0.35998594760894775, 0.6040948629379272, -0.02775142714381218, 0.10628369450569153, 0.19389012455940247, 0.20810015499591827, 0.6214494109153748, 0.5474021434783936, 0.917576253414154, -0.024325137957930565, 0.5405473709106445, -0.27034837007522583, -0.09472068399190903, 0.1611301302909851, -0.9373902678489685, -0.7106688618659973, -0.3967607319355011, -0.2123713344335556, -0.3368111550807953, 0.19505122303962708, 1.003509283065796, 0.7713232040405273, -0.73100346326828, -0.2646749019622803, -0.04513569921255112, 0.2734910249710083, 0.19133824110031128, -0.19609782099723816, 0.3691713511943817, -0.01608557254076004, -0.7396573424339294, 0.2414623349905014, 0.08272342383861542, 0.20686344802379608, -0.33749741315841675, -0.11473917216062546, 0.06595455855131149, -0.004503553733229637, 0.3116721510887146, 0.3633589744567871, -0.6735726594924927, -0.5584424734115601, -0.26117032766342163, -0.05826681852340698, 0.044723547995090485, 0.8816632628440857, -0.2153680920600891, 0.18060168623924255, -0.044865697622299194, 1.0982152223587036, 0.020320098847150803, 0.02442585490643978, 0.7980440855026245, -0.6670951247215271, 0.08875931054353714, 0.6435235738754272, 0.2843874990940094, 0.5499191284179688, -0.579115629196167, 0.6678921580314636, 0.19436950981616974, -0.8422515988349915, -1.0687628984451294, 0.32473084330558777, -0.5189027786254883, -0.19675138592720032, 1.3392572402954102, -0.0854271948337555, 0.11131241172552109, -0.4153887629508972, 0.05138511210680008, 0.16103631258010864, -0.25507697463035583, 0.7484460473060608, 0.9990543127059937, -0.14464615285396576, -0.06614440679550171, -1.2654738426208496, 0.4793168306350708, 0.33881232142448425, -1.0008906126022339, 0.43244147300720215, 0.813372015953064, 0.3639354407787323, -0.4260198771953583, 0.4337919056415558, -0.33458060026168823, -0.02529156766831875, -0.24404799938201904, -0.08899597823619843, -0.015948720276355743, -0.2529836893081665, -0.5845072865486145, 0.04353455826640129, 0.030486589297652245, 0.16587668657302856 ]
http://arxiv.org/abs/2406.11201v2
http://arxiv.org/pdf/2406.11201v2
Fine-Tuning or Fine-Failing? Debunking Performance Myths in Large Language Models
2024-06-17T04:35:17
2024-06-30T14:42:52
Scott Barnett, Zac Brannelly, Stefanus Kurniawan, Sheng Wong
cs.CL
cs.CL, cs.AI
Large Language Models (LLMs) have the unique capability to understand and generate human-like text from input queries. When fine-tuned, these models show enhanced performance on domain-specific queries. OpenAI highlights the process of fine-tuning, stating: "To fine-tune a model, you are required to provide at least 10 examples. We typically see clear improvements from fine-tuning on 50 to 100 training examples, but the right number varies greatly based on the exact use case." This study extends this concept to the integration of LLMs within Retrieval-Augmented Generation (RAG) pipelines, which aim to improve accuracy and relevance by leveraging external corpus data for information retrieval. However, RAG's promise of delivering optimal responses often falls short in complex query scenarios. This study aims to specifically examine the effects of fine-tuning LLMs on their ability to extract and integrate contextual data to enhance the performance of RAG systems across multiple domains. We evaluate the impact of fine-tuning on the LLMs' capacity for data extraction and contextual understanding by comparing the accuracy and completeness of fine-tuned models against baseline performances across datasets from multiple domains. Our findings indicate that fine-tuning resulted in a decline in performance compared to the baseline models, contrary to the improvements observed in standalone LLM applications as suggested by OpenAI. This study highlights the need for vigorous investigation and validation of fine-tuned models for domain-specific tasks.
[ -0.6966618299484253, -0.8438193202018738, 0.5010923147201538, -0.09171619266271591, -0.3247235119342804, -0.060370512306690216, -0.500912606716156, -0.6488294005393982, -0.23349271714687347, 0.6551070213317871, -0.3956487476825714, -0.399691104888916, -0.5745497345924377, 0.13629108667373657, -0.3358139097690582, 1.0555949211120605, -0.010458370670676231, -0.006678743753582239, -0.17699679732322693, -0.21091510355472565, -0.8525805473327637, -0.3526095151901245, -0.7528058886528015, -0.3981354236602783, 0.5472716093063354, 0.5322627425193787, 0.6173585057258606, 0.7270674705505371, 0.5801824331283569, 0.2160102277994156, -0.27513405680656433, 0.8513837456703186, -0.9093250036239624, 0.2192087173461914, -0.5166537761688232, -0.488561749458313, -0.48847728967666626, -0.03111286275088787, 0.6973022222518921, 0.7935764789581299, 0.05817817151546478, 0.3882485032081604, 0.4148273468017578, 0.7387075424194336, -0.8814463019371033, 0.10445120930671692, -0.9867703318595886, -0.3140721917152405, -0.31013303995132446, -0.544692873954773, -0.2819163501262665, -0.08492504060268402, -0.012635731138288975, -0.48174378275871277, 0.3495880365371704, 0.21954931318759918, 0.9643332958221436, 0.5170227885246277, -0.2716189920902252, -0.3344762623310089, -0.9008984565734863, 0.828886866569519, -0.6869600415229797, 0.2045656144618988, 0.33400312066078186, 0.28239285945892334, -0.2895655333995819, -0.4873307943344116, -0.4020583927631378, -0.02172473631799221, -0.18114081025123596, -0.1488897055387497, 0.01723402552306652, -0.008274680003523827, 0.4039536118507385, 0.4182174503803253, -0.25136080384254456, 0.5099242925643921, -0.2863463759422302, 0.160737082362175, 0.5068243145942688, 0.481876939535141, 0.0476340688765049, -0.0719994604587555, 0.022540811449289322, 0.05569753050804138, -0.875076413154602, -0.005278320051729679, 0.19420766830444336, 0.8892619013786316, 0.061078108847141266, 0.6092955470085144, -0.46360087394714355, 0.8582962155342102, 0.10652775317430496, -0.16088733077049255, -0.09397754073143005, -0.3851231336593628, -0.4171593487262726, -0.3143762946128845, 0.424227237701416, 0.4080633521080017, 0.525224506855011, -0.27236130833625793, -0.553977906703949, -0.08935734629631042, 0.2629724442958832, -0.7963011264801025, 0.0320332869887352, 0.09213492274284363, -0.3096291720867157, -0.15602798759937286, -0.09225426614284515, -0.42881959676742554, -0.39595869183540344, -0.8177579641342163, 0.46508505940437317, -0.40097448229789734, -0.0183697659522295, 0.16901659965515137, -0.04626781493425369, 0.0963161364197731, 0.42968428134918213, -0.8326752185821533, 0.3198801577091217, 1.0565472841262817, 0.7182117104530334, -0.48330026865005493, -0.27069923281669617, -0.7929871082305908, 0.12774908542633057, -0.3846158981323242, 0.7781670689582825, -0.6083155274391174, -0.2510005831718445, 0.00425290921702981, 0.0800054520368576, -0.1984308809041977, -1.0069530010223389, 0.7244510054588318, -0.7442311644554138, -0.3448290526866913, -0.30449166893959045, -0.685198187828064, 0.08022983372211456, 0.11045299470424652, -0.5318976640701294, 0.7783370018005371, -0.01646547205746174, -0.5182126760482788, 0.6211659908294678, -0.4778434634208679, -0.4837978482246399, -0.004815161693841219, -0.022151416167616844, -0.2953145503997803, 0.4087662398815155, 0.12079516798257828, 0.7281414270401001, -0.5875556468963623, 0.26386988162994385, -0.3069906532764435, -0.6033952832221985, 0.12991952896118164, -0.2450522929430008, 0.31345435976982117, 0.40887877345085144, -0.136882483959198, -0.09208596497774124, -0.751558244228363, 0.0980081856250763, -0.0989711582660675, -0.4825023114681244, -0.5442126989364624, 0.0157641489058733, 0.16624824702739716, -0.029398644343018532, 0.14199338853359222, -0.29053419828414917, 0.16502414643764496, -0.4856756031513214, 0.25954943895339966, 0.6540728807449341, -0.049296408891677856, 0.550122857093811, -0.4714840352535248, 0.35256704688072205, -0.000655485549941659, -0.16809473931789398, -0.19917914271354675, -0.16045233607292175, -0.7062386274337769, -0.1052417904138565, 0.5220114588737488, 0.31434059143066406, -0.477963924407959, 0.0637853667140007, -0.3378499150276184, -0.3840518295764923, -0.5436445474624634, 0.3583994507789612, 0.43676894903182983, 0.5310418605804443, 0.3403174579143524, -0.23285382986068726, -0.48607128858566284, -0.9150642156600952, -0.5801053643226624, 0.3623221218585968, -0.11270742118358612, 0.6709821224212646, 0.4446743428707123, -0.26858705282211304, 0.8807750344276428, -0.47243115305900574, -0.424589604139328, -0.13408467173576355, 0.025129850953817368, 0.27331095933914185, 0.47158166766166687, 0.41341471672058105, -0.8356891870498657, -0.5504799485206604, 0.31590548157691956, -0.4514296352863312, -0.13847652077674866, 0.11137900501489639, 0.000032458145142300054, 0.35580864548683167, 0.41327905654907227, -0.4146280884742737, 0.2772727906703949, 0.4575382471084595, -0.0800580158829689, 0.553270161151886, -0.2900119125843048, 0.16914798319339752, -0.8847835063934326, 0.23529410362243652, 0.00336262839846313, -0.14453689754009247, -0.5117993354797363, 0.21181286871433258, 0.15996351838111877, 0.04293838515877724, -0.2770940363407135, 0.6772218942642212, -0.43603771924972534, -0.19545651972293854, -0.42951300740242004, 0.150098979473114, -0.0038029190618544817, 0.3035431504249573, -0.3791590929031372, 1.0589780807495117, 0.35549524426460266, -1.0236546993255615, -0.14951880276203156, 0.06373902410268784, -0.49920937418937683, 0.5622852444648743, -0.6395195126533508, 0.008706818334758282, -0.12207601964473724, -0.14139457046985626, -0.7915922403335571, -0.6008986234664917, -0.21283386647701263, -0.20516107976436615, 0.5842775106430054, -0.25290119647979736, -0.5906620025634766, 0.042949359863996506, -0.05751940235495567, 0.2942805886268616, 0.31276172399520874, -0.5549977421760559, 0.35457274317741394, 0.4686101973056793, 0.05627157911658287, -0.45096251368522644, -0.5168069005012512, -0.005132581572979689, -0.35664042830467224, -0.5854138135910034, 0.4506981372833252, 0.16491879522800446, -0.2026127427816391, -0.18926051259040833, -0.2068268060684204, -0.059244051575660706, 0.3003345727920532, 0.09302903711795807, -0.0012573163257911801, -0.2946893870830536, 0.07716506719589233, 0.067662313580513, 0.0023332249838858843, -0.23942503333091736, -0.1599750816822052, 0.4821292459964752, -0.06929647922515869, -0.3321566879749298, -0.3739015758037567, 0.14400307834148407, 0.649781346321106, -0.3704293668270111, 0.8615620732307434, 0.4344441592693329, -0.3459150493144989, -0.34512102603912354, -0.6968106031417847, -0.21920514106750488, -0.46405506134033203, 0.19225959479808807, -0.6096079349517822, -1.0936261415481567, 0.6038303375244141, -0.43303442001342773, 0.02441561222076416, 0.5022427439689636, 0.4065564274787903, -0.24365676939487457, 1.1263229846954346, 0.7502882480621338, 0.05317484587430954, 0.4310019314289093, -0.23364898562431335, 0.0650561973452568, -1.1259816884994507, -0.04487823694944382, -0.7116031646728516, -0.38616836071014404, -0.8244614601135254, -0.2835642397403717, 0.36830782890319824, 0.3804086446762085, -0.3249940276145935, 0.02573431469500065, -0.3072826564311981, 0.6129627823829651, 0.3670538365840912, 0.0042442576959729195, 0.49258723855018616, 0.14824944734573364, 0.025097595527768135, 0.023524612188339233, -0.7179185152053833, -0.6958783864974976, 0.9841924905776978, 0.22668775916099548, 0.9384608864784241, 0.11254531890153885, 0.38753029704093933, -0.0031166288536041975, 0.02139751985669136, -0.7980997562408447, 0.34986451268196106, -0.663506269454956, -0.539935290813446, -0.34360644221305847, -0.41788914799690247, -1.1643627882003784, 0.202626571059227, -0.14925925433635712, -0.6898514628410339, 0.2527519166469574, 0.19802416861057281, -0.4308328330516815, 0.20045055449008942, -0.6461036205291748, 0.7417487502098083, -0.04690650478005409, -0.47492000460624695, -0.22221963107585907, -0.3251834213733673, 0.33453264832496643, -0.3791677951812744, 0.1028643324971199, -0.20857569575309753, 0.024340536445379257, 0.44825443625450134, -0.1189451739192009, 0.8315717577934265, -0.02104027196764946, -0.06950820982456207, -0.014430577866733074, 0.1362846940755844, 0.5498288869857788, 0.06772096455097198, -0.2831589877605438, 0.06742352247238159, 0.041410140693187714, -0.232757568359375, -0.4940316677093506, 0.9257279634475708, -0.6526167392730713, -0.6518509387969971, 0.08249585330486298, -0.5673340559005737, -0.425326406955719, 0.29578280448913574, 0.0841253399848938, 0.5976679921150208, -0.036043163388967514, 0.4816805124282837, 0.8550239205360413, -0.17216894030570984, 0.13305239379405975, 0.5839832425117493, -0.010792121291160583, 0.0384996272623539, 0.751092791557312, 0.3220207989215851, 0.384859174489975, 0.2392365038394928, 0.08940435945987701, -0.0180346742272377, -0.8225655555725098, -0.4392363429069519, 0.3029191195964813, -0.47849318385124207, -0.38118600845336914, -0.4828386604785919, -0.05332469940185547, -0.3535483479499817, 0.06385251879692078, -0.4588952660560608, -0.10977476835250854, -0.5695136785507202, 0.3351406455039978, 0.26874610781669617, 0.8091421127319336, 0.1319957971572876, 0.27653273940086365, -0.7898615598678589, 0.30420076847076416, -0.015986178070306778, 0.6474142074584961, 0.1155109629034996, -0.786459743976593, -0.5833857655525208, 0.09577878564596176, -0.23441772162914276, -0.3541453778743744, 0.3407982289791107, 0.38911259174346924, 0.4940946400165558, 0.11156881600618362, -0.08463926613330841, 1.0328147411346436, -0.642561674118042, 0.5505608916282654, -0.4229234755039215, -0.6234483122825623, 0.553251326084137, -0.55125892162323, 0.45803168416023254, 0.6706829071044922, 0.3013066053390503, -0.3413220942020416, -0.3233200013637543, -0.20839054882526398, -0.8677776455879211, 0.8120262622833252, -0.07851559668779373, 0.13918335735797882, 0.15361639857292175, 0.8093798756599426, 0.18182232975959778, 0.08093129098415375, -0.08910076320171356, -0.24148401618003845, 0.5689783096313477, 0.12835146486759186, -0.2526325583457947, -0.3226222097873688, -0.17511436343193054, -0.3006505072116852, 0.5425922870635986, -0.3428536653518677, -0.11545979231595993, -0.03159186244010925, -0.11977646499872208, -0.3305717706680298, 0.18606245517730713, 0.6129063963890076, 0.9379042983055115, -0.17480280995368958, -0.1503715217113495, 0.3017219603061676, -0.21810415387153625, -0.32323750853538513, -0.027803311124444008, -0.17184147238731384, -0.13985654711723328, 0.24351030588150024, 0.9292199015617371, 0.307686448097229, -0.5674883127212524, 0.06883644312620163, -0.12348198145627975, 0.10676532238721848, -0.019887398928403854, 0.36681294441223145, 0.026043269783258438, 0.27904829382896423, 0.40560734272003174, 0.21249447762966156, 0.2373347133398056, -0.5473169684410095, 0.08982629328966141, 0.7066172957420349, 0.028207411989569664, -0.06193893402814865, 0.6181501746177673, -0.05174074321985245, -0.28408128023147583, 0.34265172481536865, 0.13723444938659668, -0.1889265924692154, 0.583212673664093, 0.476447194814682, 0.6370526552200317, 0.1107235699892044, -0.3016788363456726, 0.2912362813949585, 0.1466432809829712, -0.20807069540023804, 0.04243059828877449, 0.026109790429472923, -0.6893348693847656, -0.7219610810279846, -1.0093765258789062, -0.39481624960899353, 0.29160866141319275, -0.732134222984314, 0.4159443974494934, -0.14055050909519196, -0.15151861310005188, 0.09576187282800674, 0.11490266770124435, -0.9877461194992065, 0.3034234642982483, -0.03772446885704994, 0.9891510009765625, -0.5586009621620178, 0.7773212790489197, 0.7511559724807739, -0.19011762738227844, -0.9362623691558838, 0.09056601673364639, -0.31760019063949585, -0.5885652899742126, 0.7759688496589661, -0.007699088659137487, -0.21859139204025269, -0.033681001514196396, -0.4623672068119049, -0.993016242980957, 0.9518512487411499, 0.49696481227874756, -0.6057679057121277, 0.04651188850402832, 0.2582473158836365, 0.7280569672584534, -0.5060445070266724, 0.0023164425510913134, 0.9268259406089783, 0.3177221119403839, -0.0039930082857608795, -1.363425612449646, -0.09444773942232132, 0.2132490575313568, 0.23701350390911102, 0.2649194002151489, -0.5283351540565491, 0.8945392966270447, -0.1048317477107048, -0.3577263653278351, 0.15872353315353394, 0.37879741191864014, 0.10587260127067566, 0.3961767256259918, 0.31778064370155334, 0.5209057927131653, 0.8557704091072083, -0.1037960797548294, 1.2549129724502563, -0.3959962725639343, 0.326699823141098, 1.228939414024353, -0.12184636294841766, 1.0560123920440674, 0.38066473603248596, 0.13031107187271118, 0.02598896063864231, 0.5831583142280579, 0.28706538677215576, 0.4712667167186737, 0.01245216652750969, -0.02413157746195793, -0.21540802717208862, -0.16678419709205627, -0.2453361302614212, 0.6050006151199341, 0.5273080468177795, -0.3407713770866394, -0.1933714747428894, 0.004144011996686459, -0.19313257932662964, 0.11280202120542526, -0.48660391569137573, 0.8864703178405762, 0.11313249915838242, -0.8693260550498962, 0.9724106788635254, 0.10538040101528168, 0.7880123853683472, -0.25289297103881836, 0.044812001287937164, -0.32785680890083313, 0.2943089008331299, -0.30070123076438904, -0.7331039309501648, 0.48375892639160156, 0.079193115234375, -0.32248640060424805, -0.12811554968357086, 0.8983210921287537, -0.2749965786933899, -0.06663340330123901, 0.2032758742570877, 0.6326497793197632, 0.14967794716358185, -0.09163137525320053, -0.5103408098220825, 0.3700183033943176, -0.12349744886159897, -0.18307729065418243, 0.5859222412109375, 0.6962621212005615, 0.011920016258955002, 0.53037428855896, 0.7000163793563843, 0.17287388443946838, -0.20053264498710632, 0.13073194026947021, 0.9413723349571228, -0.4361476004123688, -0.08981688320636749, -0.9402186870574951, 0.37701183557510376, -0.06915564090013504, -0.3411216735839844, 0.7357891798019409, 0.5282339453697205, 1.0713034868240356, -0.05148553475737572, 0.5250440239906311, 0.2324761003255844, 0.7662569284439087, -0.5925235152244568, 0.7485992908477783, -0.9432595372200012, 0.46193602681159973, -0.10248047113418579, -0.8829776048660278, -0.3485795557498932, 0.265188992023468, -0.3624478578567505, 0.05748160928487778, 0.3223125636577606, 0.9433494806289673, -0.29069051146507263, -0.1974201798439026, 0.48115795850753784, 0.30995985865592957, 0.23148661851882935, 0.18342998623847961, 0.564583420753479, -0.38168805837631226, 0.2587844431400299, -0.08978908509016037, -0.05304766446352005, -0.4132893979549408, -0.7452520728111267, -0.795283854007721, -0.47136494517326355, -0.0009711320162750781, -0.11697478592395782, 0.2576972246170044, 0.5840536952018738, 0.6310144066810608, -0.8675145506858826, -0.20244625210762024, 0.04278799518942833, 0.10683518648147583, 0.11861425638198853, -0.22591029107570648, 0.14488151669502258, -0.7741449475288391, -0.9658998250961304, 0.3907753527164459, 0.21467120945453644, -0.23216524720191956, -0.17441904544830322, 0.10564592480659485, -0.06019016355276108, 0.04271148145198822, 0.678788423538208, 0.210055872797966, -0.7540023922920227, -0.2908044755458832, -0.0722290650010109, -0.24622899293899536, -0.0212253388017416, 0.7319884300231934, -0.8036047220230103, 0.34391462802886963, 0.4082551598548889, 0.946485698223114, 0.5006746649742126, 0.05676963925361633, 0.6261177062988281, -0.7880625128746033, -0.14124780893325806, 0.12416648864746094, 0.20471365749835968, 0.327846884727478, -0.3849894106388092, 0.6406266093254089, -0.18930906057357788, -0.9021464586257935, -1.0783166885375977, 0.1792527288198471, -0.6844633221626282, -0.3658256530761719, 1.2588801383972168, 0.1611507087945938, -0.11060187220573425, -0.09521318227052689, -0.24632975459098816, 0.19514967501163483, -0.24386538565158844, 0.6658024191856384, 0.6209047436714172, -0.31165221333503723, 0.23627117276191711, -0.9903297424316406, 0.6930402517318726, 0.5844878554344177, -0.5387244820594788, 0.3005518913269043, 0.43615567684173584, 0.3750583827495575, 0.12249226123094559, 0.27210938930511475, 0.14526459574699402, 0.13649126887321472, -0.41958287358283997, -0.49422886967658997, 0.056702256202697754, -0.2894379198551178, -0.4498096704483032, 0.255536288022995, 0.342174232006073, 0.12063220888376236 ]
http://arxiv.org/abs/2406.11200v2
http://arxiv.org/pdf/2406.11200v2
AvaTaR: Optimizing LLM Agents for Tool-Assisted Knowledge Retrieval
2024-06-17T04:20:02
2024-06-18T01:39:57
Shirley Wu, Shiyu Zhao, Qian Huang, Kexin Huang, Michihiro Yasunaga, Kaidi Cao, Vassilis N. Ioannidis, Karthik Subbian, Jure Leskovec, James Zou
cs.LG
cs.LG, cs.CL
Large language model (LLM) agents have demonstrated impressive capability in utilizing external tools and knowledge to boost accuracy and reduce hallucinations. However, developing the prompting techniques that make LLM agents able to effectively use external tools and knowledge is a heuristic and laborious task. Here, we introduce AvaTaR, a novel and automatic framework that optimizes an LLM agent to effectively use the provided tools and improve its performance on a given task/domain. During optimization, we design a comparator module to iteratively provide insightful and holistic prompts to the LLM agent via reasoning between positive and negative examples sampled from training data. We demonstrate AvaTaR on four complex multimodal retrieval datasets featuring textual, visual, and relational information. We find AvaTaR consistently outperforms state-of-the-art approaches across all four challenging tasks and exhibits strong generalization ability when applied to novel cases, achieving an average relative improvement of 14% on the Hit@1 metric. Code and dataset are available at https://github.com/zou-group/avatar.
[ -0.3580716848373413, -0.7091437578201294, 0.6816586852073669, -0.015876682475209236, -0.25199928879737854, 0.19962060451507568, -0.12652449309825897, -0.287461519241333, 0.13358305394649506, 0.25640320777893066, -0.2879005968570709, -0.6208345293998718, -0.4914110004901886, 0.15569186210632324, -0.15850862860679626, 0.3625258803367615, 0.26563939452171326, 0.024339037016034126, -0.6125470995903015, -0.2372913956642151, -0.5975619554519653, -0.4127477705478668, -0.8145178556442261, -0.5505700707435608, 0.6586637496948242, 0.45211759209632874, 0.9389957189559937, 0.5459991097450256, 0.5781672596931458, 0.38388776779174805, 0.09990169107913971, 0.47455111145973206, -0.5317205190658569, 0.5038843154907227, -0.2701690196990967, -0.6132399439811707, -0.2166593223810196, -0.3836236894130707, 0.38433772325515747, 0.2025403380393982, -0.23763686418533325, 0.12967346608638763, -0.2232140153646469, 0.4122340977191925, -0.7277078628540039, 0.3491291403770447, -0.7299345135688782, 0.091118723154068, -0.04446529597043991, -0.4793454706668854, -0.47417059540748596, -0.21095657348632812, -0.13355033099651337, -0.8727570176124573, 0.046848542988300323, 0.3314706087112427, 0.6169546246528625, 0.563057541847229, -0.33183154463768005, -0.07214116305112839, -0.39250028133392334, 0.9112040400505066, -0.34685879945755005, 0.5121833682060242, 0.3448795676231384, 0.49640369415283203, -0.19828267395496368, -0.5638328194618225, -0.6820477247238159, -0.5031903982162476, 0.07444675266742706, -0.13981612026691437, -0.4613591134548187, 0.1688959002494812, 0.2976463735103607, 0.2839107811450958, -0.47991296648979187, 0.049078818410634995, -0.001155298319645226, -0.4740404486656189, 0.509717583656311, 0.22893126308918, 0.3494435250759125, -0.11573949456214905, -0.12526454031467438, -0.4861632287502289, -0.5765560269355774, 0.05799068138003349, 0.25013333559036255, 0.1631433665752411, 0.40050771832466125, 0.669978141784668, -0.2742084562778473, 0.68732088804245, -0.057052791118621826, -0.3325381577014923, 0.43577811121940613, -0.1178869754076004, 0.08662591129541397, -0.11127099394798279, 0.5476569533348083, 0.5045589804649353, -0.07337448745965958, -0.19151237607002258, -0.6586004495620728, 0.1833009272813797, 0.4177689552307129, -0.6252572536468506, 0.09004589915275574, 0.09697119891643524, -0.31264352798461914, -0.23258431255817413, -0.24616147577762604, -0.3840060532093048, -0.5260573029518127, -0.5138994455337524, 0.9427101612091064, -0.3681361973285675, -0.1643902063369751, 0.07522043585777283, -0.3823501765727997, 0.2859579622745514, 0.5727214813232422, -0.47870782017707825, -0.009216567501425743, 0.6857686638832092, 0.6708004474639893, -0.2957029342651367, 0.04377195984125137, -1.0377037525177002, 0.060643646866083145, -0.4328179657459259, 0.9312849640846252, -0.8085171580314636, -0.20697352290153503, -0.04272451624274254, -0.34666991233825684, 0.2058163732290268, -0.8157646059989929, 0.21111558377742767, -0.7460430860519409, -0.18032293021678925, -0.196480393409729, -0.28230634331703186, -0.2658877670764923, 0.5113015174865723, -0.6986029148101807, 1.021740436553955, 0.16941501200199127, -0.27269840240478516, 0.35813501477241516, -0.5763925909996033, -0.27220746874809265, 0.17618295550346375, -0.38465815782546997, -0.16065339744091034, 0.08859021216630936, 0.50999516248703, 0.44492238759994507, -0.4538983106613159, 0.15205755829811096, -0.11573240160942078, -0.5907713174819946, -0.2334723323583603, -0.21366076171398163, 0.39939358830451965, 0.36443892121315, -0.17362035810947418, 0.3307492136955261, -0.5004945397377014, 0.008949137292802334, 0.09004297852516174, -0.44956886768341064, -0.4329356253147125, -0.2954469323158264, -0.12957575917243958, -0.10799819231033325, 0.32631582021713257, -0.32580703496932983, 0.4373653531074524, -0.33054032921791077, 0.04143000394105911, 0.7422676086425781, -0.08074124157428741, 0.20945289731025696, -0.47602829337120056, 0.8260506391525269, 0.07457435131072998, 0.2483709752559662, -0.1460738182067871, -0.3306306302547455, -0.6176524758338928, -0.28340089321136475, -0.09256352484226227, 0.4909166693687439, -1.4455757141113281, 0.19079849123954773, -0.15476782619953156, -0.4613153636455536, -0.664712131023407, 0.3438495993614197, 0.35213610529899597, 0.36838576197624207, 0.2602498233318329, -0.4622972011566162, -0.28963521122932434, -0.8397758603096008, -0.1739174723625183, -0.3345411419868469, 0.06872351467609406, 0.5720551013946533, 0.28328949213027954, -0.40442702174186707, 0.8492036461830139, -0.4023993909358978, -0.3812960684299469, -0.3516048789024353, 0.103546142578125, 0.2898083031177521, 0.03951414301991463, 0.28879985213279724, -0.8262878656387329, -0.4052428603172302, 0.18272282183170319, -0.9682303667068481, -0.12682873010635376, -0.14717309176921844, -0.2237527072429657, 0.010854932479560375, 0.6321504712104797, -0.7197720408439636, 0.3785724639892578, -0.04548666253685951, -0.21780648827552795, 0.6358035802841187, -0.21668878197669983, 0.1139410212635994, -0.8814970850944519, 0.13511741161346436, -0.14387230575084686, -0.4678104817867279, -0.3338949978351593, 0.33052289485931396, -0.2272852659225464, 0.04784635454416275, -0.5302677154541016, 0.8831381797790527, -0.4279901385307312, -0.05179935321211815, -0.29622960090637207, 0.10622593760490417, -0.00952519103884697, 0.5754780769348145, -0.10458793491125107, 1.0594497919082642, 0.7633917927742004, -0.6132813096046448, 0.7448095083236694, 0.5348823070526123, -0.41436296701431274, 0.7896499037742615, -0.5344863533973694, 0.3911850154399872, -0.5426374077796936, -0.06588511168956757, -0.5870084762573242, -0.1717498004436493, 0.3341657817363739, -0.2482384741306305, 0.07523757219314575, 0.07771383225917816, -0.8172699809074402, -0.17857739329338074, -0.5018595457077026, 0.4681715965270996, 0.38610726594924927, -0.7487664222717285, 1.0711344480514526, 0.3711552917957306, 0.03850996866822243, -0.9958908557891846, -0.0024066739715635777, 0.3884766399860382, -0.11332869529724121, -0.4813646674156189, 0.2839668095111847, -0.15869486331939697, -0.5414366722106934, -0.1277860552072525, -0.13931599259376526, 0.20136485993862152, -0.10045015811920166, 0.09127974510192871, 0.0674317330121994, -0.1657494306564331, 0.41579338908195496, 0.0574934147298336, -0.010017248801887035, -0.0703263059258461, -0.14484034478664398, 0.5076209902763367, -0.12948420643806458, -0.4923989474773407, -0.29452696442604065, 0.11226615309715271, 0.34571415185928345, -0.04526999220252037, 0.46031296253204346, 0.6597570776939392, -0.1694040447473526, -0.16674768924713135, -0.8639863729476929, -0.3078297972679138, -0.5308247208595276, 0.5421480536460876, -0.6380791068077087, -0.5537800192832947, 0.33542752265930176, -0.11100277304649353, 0.05049987509846687, 0.056145910173654556, 0.5287017226219177, 0.4133262038230896, 1.2660378217697144, 0.6243987083435059, -0.2887323200702667, 0.6203935146331787, -0.4304448962211609, -0.07626032829284668, -0.7124388217926025, -0.29987215995788574, -0.161983460187912, -0.1311527043581009, -0.1254199743270874, -0.6051883697509766, 0.7396868467330933, -0.15177412331104279, -0.22320221364498138, 0.1477394700050354, -0.560617983341217, 0.6549147367477417, 0.7506823539733887, 0.3359890282154083, 0.5797079801559448, 0.07947053015232086, -0.35776686668395996, 0.3210870027542114, -0.7861335873603821, -0.4728628098964691, 0.9926431179046631, 0.1908978819847107, 1.077439785003662, 0.14968852698802948, 0.5109473466873169, 0.5224241018295288, 0.26878270506858826, -1.0460540056228638, 0.7781943678855896, 0.1475333869457245, -0.468178927898407, -0.34539031982421875, -0.3298395872116089, -1.0425310134887695, 0.4462880492210388, -0.09313522279262543, -0.5192289352416992, 0.24039019644260406, 0.0728481113910675, -0.3193366527557373, 0.012670869007706642, -0.44325339794158936, 0.5333529710769653, -0.24079598486423492, -0.462787926197052, -0.5571528673171997, -0.5812525749206543, -0.12342488765716553, -0.09731046110391617, -0.05843081325292587, -0.10253451019525528, -0.2398800104856491, 0.38076865673065186, -0.2703341543674469, 0.5862407088279724, -0.25293710827827454, 0.01606256701052189, 0.22635604441165924, 0.03152476251125336, 0.5325011610984802, -0.012368841096758842, -0.5159876942634583, 0.029618361964821815, -0.014348569326102734, -0.1789839118719101, -0.8412886261940002, 0.4686972498893738, -0.875127911567688, -0.9529293775558472, -0.24782556295394897, -0.668526828289032, -0.13776522874832153, 0.2672841548919678, 0.046870842576026917, 0.5193712711334229, -0.08946489542722702, 0.19285716116428375, 0.5589386820793152, -0.44633951783180237, 0.06103119999170303, 0.4396139085292816, -0.2799929976463318, -0.29160362482070923, 1.1073830127716064, -0.21331553161144257, -0.030966229736804962, 0.614467203617096, 0.06319560110569, -0.4514467120170593, -0.35859522223472595, -0.3587849736213684, 0.19791148602962494, -1.2698323726654053, -0.45714864134788513, -0.61309814453125, -0.02363169752061367, -0.3252430558204651, 0.0627269521355629, -0.053952235728502274, -0.19457830488681793, -0.36590084433555603, 0.0493483766913414, 0.31078794598579407, 0.7055836915969849, -0.10162019729614258, 0.30337926745414734, -0.4089907109737396, 0.5207560658454895, 0.41936591267585754, 0.1976938098669052, 0.14421430230140686, -0.28218892216682434, -0.27715134620666504, -0.30022132396698, -0.5212175846099854, -0.4590893089771271, 0.5084484219551086, 0.35457366704940796, 0.8036540150642395, 0.43911561369895935, 0.17991796135902405, 0.6215535998344421, -0.24744342267513275, 0.46990883350372314, -0.07330338656902313, -0.7079010605812073, 0.6085302233695984, -0.15163402259349823, 0.3843423128128052, 0.5587203502655029, 0.2729139029979706, -0.4220525622367859, -0.5435469746589661, -0.18179593980312347, -0.920444667339325, 0.671596884727478, 0.2552580237388611, 0.2193084955215454, 0.06357810646295547, 0.4941380023956299, 0.3950699269771576, 0.4644390344619751, -0.5680890083312988, -0.2535581886768341, -0.02295381762087345, -0.24280472099781036, -0.008187861181795597, -0.008624444715678692, -0.13949939608573914, -0.40397879481315613, 0.7885599136352539, -0.5342217087745667, 0.5306097269058228, 0.20441670715808868, -0.4852975904941559, -0.10709773004055023, 0.0002735034504439682, 0.16957560181617737, 0.7357176542282104, -0.020879320800304413, 0.21079279482364655, 0.15401224792003632, -0.37806737422943115, 0.23069605231285095, 0.15511097013950348, -0.0021999944001436234, -0.018207257613539696, 0.2552863657474518, 0.8245399594306946, -0.1422153264284134, -0.926550567150116, 0.48238927125930786, -0.31338825821876526, 0.07911836355924606, -0.4400462210178375, 0.5465683341026306, -0.23853284120559692, 0.6529419422149658, 0.6704078912734985, -0.11899908632040024, 0.4129447638988495, -0.41884511709213257, 0.23492339253425598, 0.7949776649475098, -0.08215582370758057, -0.06423172354698181, 0.6566610336303711, 0.06406748294830322, -0.501215398311615, 0.6241472959518433, -0.2854601740837097, -0.3387375473976135, 0.4797465205192566, 0.31779614090919495, 0.6133039593696594, 0.008435534313321114, 0.2796950340270996, 0.10758812725543976, 0.013554228469729424, -0.17615613341331482, 0.3506908416748047, -0.28916800022125244, -0.80251145362854, -0.32351478934288025, -0.501772940158844, -0.5812520384788513, 0.06607851386070251, -0.35301512479782104, 0.5162772536277771, -0.2483023703098297, -0.3478596806526184, 0.03401150926947594, 0.00884599331766367, -0.9762563109397888, -0.037451762706041336, 0.0745963454246521, 0.835862934589386, -0.29110482335090637, 0.5953300595283508, 0.8134061694145203, -0.5063929557800293, -0.6528721451759338, -0.09607211500406265, -0.005224741529673338, -1.166782021522522, 0.7356646060943604, 0.38450872898101807, -0.3324437737464905, 0.17966903746128082, -0.6811048984527588, -0.7964771389961243, 1.160086989402771, 0.8308085203170776, -0.5218595862388611, -0.1349281221628189, 0.11385805159807205, 0.5541937351226807, -0.4031451940536499, 0.632309079170227, 0.2933107316493988, 0.5716434121131897, 0.33833029866218567, -0.8582943677902222, 0.0689728632569313, -0.5052053928375244, 0.11032974720001221, -0.11034677177667618, -0.534571647644043, 0.3522605299949646, -0.2908540368080139, 0.05378260463476181, 0.08916983008384705, 0.48033416271209717, 0.25359731912612915, 0.5151394605636597, 0.7434893846511841, 0.46178552508354187, 0.827822208404541, 0.2337716817855835, 1.0518935918807983, -0.2679925858974457, -0.04760994017124176, 0.6046222448348999, -0.20934204757213593, 0.589764416217804, 0.45859861373901367, 0.17874933779239655, 0.49262097477912903, 0.56275475025177, -0.019747603684663773, 0.491943359375, 0.06622088700532913, -0.5234882831573486, -0.6482399702072144, -0.4506054222583771, -0.05561619997024536, 0.49504393339157104, 0.22750738263130188, -0.19061890244483948, -0.1324884593486786, 0.4664001166820526, -0.35191810131073, -0.13332708179950714, -0.2918699383735657, 1.0425060987472534, 0.14397430419921875, -0.8004295229911804, 0.6790384650230408, -0.2117680311203003, 0.6936240792274475, -0.32977983355522156, -0.3789101839065552, -0.25044992566108704, 0.24954046308994293, -0.012717326171696186, -0.4943392276763916, -0.026283038780093193, -0.36224451661109924, 0.055802710354328156, -0.1356658786535263, 0.8377407193183899, -0.2582952082157135, -0.343862384557724, 0.19132256507873535, 0.6699795722961426, 0.35581982135772705, -0.32908737659454346, -0.7762182354927063, 0.12956157326698303, -0.19465771317481995, -0.2666325271129608, 0.16747106611728668, 0.33804136514663696, -0.21879391372203827, 1.247750997543335, 0.5397846698760986, 0.09600406140089035, -0.4490911662578583, 0.2287997454404831, 1.037613868713379, -0.607178807258606, -0.2685548961162567, -0.7678698897361755, 0.2908916771411896, -0.04699817672371864, -0.009323913604021072, 0.5693008899688721, 0.5164441466331482, 0.6565573215484619, -0.0340096578001976, 0.6340444087982178, 0.07177567481994629, 0.2774766981601715, -0.35119861364364624, 0.5334764122962952, -0.8923847079277039, 0.5582287907600403, -0.08626440912485123, -1.075966715812683, -0.3589441776275635, 0.7961978316307068, -0.16555199027061462, 0.16456234455108643, 0.3906310200691223, 1.2289272546768188, 0.02185174822807312, -0.42105695605278015, 0.6194205284118652, 0.07395640015602112, 0.486581027507782, 0.32194897532463074, 1.0420933961868286, -0.18487577140331268, 0.6297347545623779, -0.06706036627292633, -0.11269419640302658, -0.405322402715683, -0.6670529246330261, -0.9765968918800354, -0.6688106656074524, -0.3074055016040802, -0.09938082844018936, 0.43773555755615234, 1.422171711921692, 0.7676647901535034, -0.3900424540042877, -0.22804546356201172, 0.22059126198291779, 0.42338988184928894, -0.22193831205368042, -0.22285683453083038, 0.10016756504774094, -0.5119388103485107, -0.6666963696479797, 0.5175389051437378, 0.22687500715255737, -0.25281256437301636, -0.36268144845962524, -0.21906879544258118, 0.05621045455336571, 0.0776338130235672, 0.7583606243133545, -0.00959757436066866, -0.7484023571014404, -0.3045675456523895, 0.1805938333272934, -0.019929395988583565, 0.34511902928352356, 0.5743198990821838, -1.2444632053375244, 0.7398861050605774, 0.3614058792591095, 0.5792274475097656, 0.29122889041900635, 0.06852251291275024, 0.6556676626205444, -0.8520644307136536, -0.014415946789085865, 0.40267089009284973, 0.14567987620830536, 0.46798330545425415, -0.7493062615394592, 0.5981154441833496, 0.017950832843780518, -0.5599440932273865, -0.9082944989204407, 0.0034868395887315273, -0.7520330548286438, -0.20658014714717865, 1.1974214315414429, 0.18792662024497986, -0.2925933301448822, -0.3317506015300751, -0.6034234762191772, 0.17412911355495453, -0.8906114101409912, 1.0083118677139282, 0.4192752242088318, -0.35245585441589355, -0.3201884925365448, -0.34066906571388245, 0.46851468086242676, 0.39475104212760925, -0.6959748268127441, -0.19050799310207367, 0.6212524175643921, 0.14217866957187653, 0.15494322776794434, 0.6640383005142212, 0.16752949357032776, 0.38024625182151794, -0.18198461830615997, 0.14964450895786285, -0.26672711968421936, -0.3283040523529053, -0.30095791816711426, 0.05089833214879036, 0.4304061532020569, 0.08652082085609436 ]
http://arxiv.org/abs/2406.11194v1
http://arxiv.org/pdf/2406.11194v1
In-Context Editing: Learning Knowledge from Self-Induced Distributions
2024-06-17T04:00:04
2024-06-17T04:00:04
Siyuan Qi, Bangcheng Yang, Kailin Jiang, Xiaobo Wang, Jiaqi Li, Yifan Zhong, Yaodong Yang, Zilong Zheng
cs.CL
cs.CL
The existing fine-tuning paradigm for language models is brittle in knowledge editing scenarios, where the model must incorporate new information without extensive retraining. This brittleness often results in overfitting, reduced performance, and unnatural language generation. To address this, we propose Consistent In-Context Editing (ICE), a novel approach that leverages the model's in-context learning capability to tune toward a contextual distribution rather than a one-hot target. ICE introduces a straightforward optimization framework that includes both a target and a procedure, enhancing the robustness and effectiveness of gradient-based tuning methods. We provide analytical insights into ICE across four critical aspects of knowledge editing: accuracy, locality, generalization, and linguistic quality, showing its advantages. Experimental results across four datasets confirm the effectiveness of ICE and demonstrate its potential for continual editing, ensuring that updated information is incorporated while preserving the integrity of the model.
[ -0.142765074968338, -0.8046543002128601, 0.32841092348098755, 0.1647336333990097, -0.0763474553823471, -0.053540218621492386, -0.620904266834259, -0.19383737444877625, -0.20650696754455566, 0.3668804466724396, -0.42130160331726074, -0.4644269347190857, -0.37402063608169556, 0.08955038338899612, -0.3936287760734558, 1.2182700634002686, -0.2346988320350647, -0.09657052904367447, -0.28257471323013306, -0.3286803364753723, -0.6664432287216187, -0.2870890200138092, -0.6873189806938171, -0.0938754603266716, 0.23795044422149658, 0.6338419914245605, 0.8130092620849609, 1.13539457321167, 0.25868597626686096, 0.23063193261623383, -0.1334628164768219, 0.3011103868484497, -0.6339831352233887, 0.1969381421804428, -0.5807218551635742, -0.23930884897708893, -0.36371734738349915, -0.016978153958916664, 0.9154684543609619, 0.6057958602905273, -0.1827644556760788, 0.045955974608659744, 0.42067059874534607, 0.6585311889648438, -0.8942448496818542, -0.2660514712333679, -0.9964214563369751, -0.1861667037010193, -0.3206096887588501, -0.05798853933811188, -0.34027308225631714, -0.09700628370046616, 0.06031100079417229, -0.6776701211929321, 0.1976310908794403, -0.17512157559394836, 0.6067142486572266, 0.6803454756736755, -0.20788298547267914, -0.29475462436676025, -0.5373263359069824, 0.7303394079208374, -0.6230620741844177, 0.544259250164032, 0.39320531487464905, -0.050325050950050354, -0.1973741352558136, -0.6129332184791565, -0.5032936334609985, 0.2317834347486496, 0.058925263583660126, -0.08104383945465088, -0.003946867771446705, 0.034008417278528214, -0.08842622488737106, -0.03335755690932274, -0.13369441032409668, 0.08433487266302109, 0.002193945227190852, -0.03351032733917236, 0.5716850757598877, 0.07931968569755554, 0.4159407317638397, -0.04956645146012306, -0.09773825854063034, 0.0952799916267395, -0.8641018867492676, 0.008875852450728416, 0.18519309163093567, 0.2915879189968109, -0.004575392231345177, 0.36542269587516785, -0.28614312410354614, 0.9589745998382568, 0.54471355676651, -0.295309841632843, 0.03787657991051674, -0.0789351686835289, -0.4200693666934967, 0.05181015282869339, 0.566613495349884, 0.5515554547309875, -0.07725638896226883, -0.34333235025405884, -0.3403441607952118, -0.3206517696380615, 0.10687413066625595, -0.43084123730659485, -0.2646123766899109, 0.14312919974327087, -0.20743414759635925, -0.49783948063850403, -0.2212318629026413, -0.5277664661407471, -0.1915568709373474, -0.4531400203704834, 0.36355698108673096, -0.6516613364219666, 0.0698704645037651, 0.11902651190757751, -0.2684367597103119, -0.4123457670211792, 0.21993428468704224, -1.2440308332443237, 0.1195206567645073, 0.6710785627365112, 0.7760603427886963, -0.13333436846733093, -0.6691115498542786, -0.586098313331604, 0.6095893383026123, -0.5180443525314331, 0.761253833770752, -0.8025816082954407, -0.19244156777858734, -0.039576511830091476, -0.3877981901168823, 0.011716422624886036, -0.6473686695098877, 0.31388530135154724, -0.502751886844635, -0.09684567153453827, -0.18554483354091644, -0.9575021266937256, 0.26684099435806274, 0.0621614009141922, -0.22489193081855774, 1.1908737421035767, 0.3531515598297119, -0.6374819874763489, 0.9887280464172363, -0.7174187898635864, -0.5257571935653687, -0.10260801762342453, 0.12101966887712479, -0.32860103249549866, 0.19115571677684784, 0.23922821879386902, 0.4400615096092224, 0.008202772587537766, 0.5566411018371582, -0.3122789263725281, -0.0008535826345905662, 0.13149644434452057, -0.0856747031211853, 0.4686327576637268, 0.3707963526248932, -0.29256147146224976, 0.04849958047270775, -0.7734272480010986, -0.1343984603881836, -0.36936184763908386, -0.5492578148841858, -0.5953997373580933, 0.11851616203784943, -0.02866942062973976, 0.1352510005235672, 0.17863111197948456, -0.5726680159568787, 0.49782776832580566, -0.29772764444351196, 0.5167788863182068, 0.920713484287262, 0.20017999410629272, 0.9376339912414551, -0.10596165806055069, 0.30228301882743835, 0.04122672602534294, 0.3351757526397705, -0.040588051080703735, -0.18570977449417114, -0.4721980690956116, -0.3223208785057068, 0.4570544362068176, 0.5066432356834412, -0.8000136613845825, 0.30559420585632324, -0.15685921907424927, -0.47160986065864563, -0.5310213565826416, 0.6883209943771362, 0.34509527683258057, 1.0242902040481567, 0.44507166743278503, -0.01769762858748436, -0.3409390449523926, -0.7749779224395752, -0.8036898374557495, 0.2098434567451477, 0.05525043234229088, 0.2763291299343109, 0.24793188273906708, -0.37112849950790405, 1.3910900354385376, -0.46338221430778503, -0.3181779682636261, -0.1346348226070404, 0.1712043136358261, -0.13650451600551605, 0.9010252356529236, 0.7175595760345459, -0.5958561897277832, -0.8930292725563049, 0.09705980122089386, -0.9945551753044128, -0.22643955051898956, -0.21849650144577026, -0.33463388681411743, 0.07709804177284241, 0.8066625595092773, -0.2688421905040741, 0.206901416182518, 0.4456373155117035, -0.2450898140668869, 0.2931634783744812, -0.23013491928577423, 0.011462586000561714, -1.0428646802902222, -0.13060764968395233, 0.008524972945451736, -0.13095203042030334, -0.8773433566093445, 0.1677713245153427, 0.4837978780269623, -0.018774664029479027, -0.40689197182655334, 0.8296645879745483, -0.22360150516033173, 0.5233047008514404, -0.10166696459054947, 0.028805656358599663, -0.135185107588768, 0.26497918367385864, -0.1350363940000534, 0.6934006214141846, 0.6918627619743347, -0.6367973685264587, 0.059082552790641785, 0.29277554154396057, -0.6557907462120056, 0.8105977177619934, -0.48076021671295166, 0.32170921564102173, -0.44021886587142944, 0.12986800074577332, -0.46932536363601685, -0.38509780168533325, 0.2533113360404968, -0.07379798591136932, 0.5306226015090942, -0.3646203577518463, -0.4674091041088104, 0.4257860779762268, -0.12517651915550232, 0.6129185557365417, 0.23280340433120728, -0.7576874494552612, 0.36625751852989197, 0.5285011529922485, -0.00032685743644833565, -0.7333241701126099, -0.5309655666351318, 0.12990902364253998, -0.46355369687080383, -0.7695911526679993, 0.49382227659225464, -0.34634193778038025, -0.3888809382915497, 0.08547855913639069, 0.048300597816705704, -0.17834578454494476, 0.07857593148946762, -0.25304514169692993, -0.15489308536052704, 0.08150782436132431, 0.35281816124916077, 0.6559569835662842, 0.012306668795645237, -0.35203343629837036, -0.5400993227958679, -0.05797195807099342, 0.25257888436317444, 0.0416731983423233, -0.4482537806034088, 0.30426281690597534, 0.3689185380935669, -0.16775567829608917, 0.7244787216186523, 0.2268342226743698, -0.4055907130241394, -0.3901797831058502, -0.541938304901123, -0.11684529483318329, -0.5260284543037415, 0.224977046251297, -0.6060826182365417, -0.879584789276123, 0.4438578188419342, -0.28813397884368896, 0.14825581014156342, 0.33554062247276306, 0.19314706325531006, -0.29577115178108215, 0.9845215082168579, 0.8592890501022339, -0.2393365502357483, 0.7965618968009949, -0.006399629637598991, 0.02597220055758953, -1.0966241359710693, 0.11809660494327545, -0.44750967621803284, -0.25490376353263855, -0.4065787196159363, -0.05041814595460892, 0.6447187662124634, 0.4983237683773041, -0.24451789259910583, 0.12622180581092834, -0.2848712205886841, 0.7684229016304016, 0.42593660950660706, 0.16546599566936493, 0.04386044666171074, -0.10960336774587631, -0.164186030626297, -0.18772129714488983, -1.0521737337112427, -0.276720255613327, 1.1646792888641357, 0.19667749106884003, 0.7848086953163147, 0.1484186351299286, 0.6553539037704468, 0.28603053092956543, 0.5360831618309021, -0.2473105937242508, -0.041671887040138245, -0.14420530200004578, -0.6708882451057434, -0.7598314881324768, -0.3061525821685791, -0.5717822909355164, -0.04276357963681221, -0.24150732159614563, -0.8750866055488586, 0.4140182137489319, 0.7379035353660583, -0.1401410698890686, 0.3552473187446594, -0.628645122051239, 1.141370415687561, 0.07414114475250244, -0.5644765496253967, -0.22146075963974, -0.573096752166748, 0.21854493021965027, -0.28790509700775146, 0.5752744674682617, 0.03810489922761917, 0.1421137899160385, 0.4023417830467224, -0.44524940848350525, 0.7765270471572876, -0.12055017799139023, -0.0005507366731762886, 0.21061857044696808, 0.43655720353126526, 0.747093141078949, 0.43136903643608093, -0.29746878147125244, 0.08041047304868698, -0.22323879599571228, -0.39531075954437256, -1.0537110567092896, 0.7136247158050537, -0.7316864728927612, -0.43210163712501526, 0.0422741137444973, -0.6869370937347412, -0.27922043204307556, 0.17047899961471558, 0.46715298295021057, 0.9090955853462219, -0.183958038687706, 0.1931474804878235, 0.6426145434379578, -0.07879772037267685, 0.321195125579834, 0.3099101781845093, 0.12147808820009232, -0.41039106249809265, 1.0066344738006592, 0.19608426094055176, 0.5575252771377563, 0.46106618642807007, 0.34513580799102783, 0.004963147919625044, -0.6356797814369202, -0.7517415881156921, 0.0342988595366478, -1.02298903465271, -0.2370844930410385, -0.5867295861244202, 0.11347758769989014, -0.4928635060787201, -0.7959110736846924, -0.5181039571762085, -0.1945275515317917, -0.32861635088920593, 0.0013386682840064168, 0.3018929362297058, 0.8364248275756836, -0.5565275549888611, 0.37153226137161255, -0.5746910572052002, 0.09057285636663437, 0.24444492161273956, 0.6354506015777588, -0.27260664105415344, -0.6571536064147949, -0.6752384901046753, 0.1508214920759201, -0.2153923660516739, -0.740906834602356, 0.39223864674568176, 0.7018887996673584, 0.4570355713367462, 0.42537015676498413, -0.030345801264047623, 0.9699931144714355, -0.6949950456619263, 0.7617006897926331, -0.18171922862529755, -1.4202544689178467, 0.7267792224884033, -0.4595986604690552, 0.6527777910232544, 0.809362530708313, 0.18426914513111115, -0.9087424874305725, -0.7716838717460632, -0.5435264706611633, -0.6396623253822327, 0.5577629208564758, -0.07373493909835815, 0.3519846200942993, -0.30332666635513306, 0.8459774255752563, 0.23865798115730286, 0.2639453709125519, -0.5158542394638062, -0.3032366931438446, -0.37629517912864685, -0.3144598603248596, -0.21603722870349884, -0.37399807572364807, -0.18837417662143707, -0.5703891515731812, 0.8726454973220825, -0.3750097155570984, -0.2437754124403, 0.27067801356315613, -0.42899441719055176, -0.416354238986969, 0.05907532200217247, 0.7907575964927673, 0.9708019495010376, -0.13247992098331451, 0.10080648958683014, 0.4741746485233307, -0.26468655467033386, -0.0925675481557846, -0.48610031604766846, -0.5671161413192749, -0.2077602595090866, 0.31578007340431213, 0.7151909470558167, 0.6669619083404541, -0.4009701907634735, 0.21059153974056244, -0.05433366447687149, 0.007682489231228828, 0.053935736417770386, 0.24162238836288452, -0.2690488398075104, 0.032272741198539734, 0.11355453729629517, 0.46905291080474854, 0.18750061094760895, -0.4770127534866333, 0.3238307237625122, 0.40245166420936584, -0.42825737595558167, -0.23650217056274414, 0.8309581279754639, 0.059202857315540314, -0.3096562623977661, 0.7563908696174622, -0.12753631174564362, -0.3547063171863556, 0.15260209143161774, 0.6052625775337219, 0.8134286403656006, -0.2557627558708191, 0.11410805583000183, 0.38466721773147583, 0.19325540959835052, -0.026143208146095276, -0.030307035893201828, -0.1180860847234726, -1.1089881658554077, -0.22464486956596375, -0.4475245475769043, -0.23763643205165863, -0.10602676868438721, -0.5811326503753662, 0.4027780592441559, -0.4646373391151428, 0.14235220849514008, -0.07735659182071686, -0.6424925923347473, -0.658172070980072, 0.44669613242149353, -0.4611685872077942, 0.9548658132553101, -0.7293174862861633, 1.0014514923095703, 0.6216607689857483, -0.04122008755803108, -0.6595730185508728, 0.054232239723205566, 0.13803157210350037, -0.36970600485801697, 0.39753103256225586, -0.3612920939922333, 0.054794639348983765, 0.13915924727916718, -0.9215758442878723, -1.2383419275283813, 0.858559787273407, 0.6507890224456787, -0.33668020367622375, 0.4088360071182251, -0.10723942518234253, 0.4281368851661682, -0.47769099473953247, -0.1841968595981598, 0.6753538250923157, 0.36357414722442627, -0.1766650676727295, -0.9759089946746826, -0.17254503071308136, -0.08930712193250656, -0.12068791687488556, 0.18250446021556854, -0.6911596655845642, 0.6692612767219543, 0.032802291214466095, -0.17708542943000793, -0.3082648515701294, 0.7854348421096802, -0.16706056892871857, -0.02049316093325615, 0.4016774594783783, 0.6231290698051453, 0.8162385821342468, 0.20155400037765503, 1.0703753232955933, -0.7199551463127136, 0.3533014953136444, 1.359790563583374, -0.03698398545384407, 0.6831623911857605, 0.5313521027565002, 0.4212651550769806, 0.4694949686527252, 0.6118059754371643, 0.38792330026626587, 0.9482513070106506, -0.13817602396011353, -0.4315848648548126, -0.1373049020767212, -0.08704547584056854, -0.09446858614683151, 0.45830443501472473, 0.3255222737789154, -0.14084267616271973, -0.024507854133844376, 0.03991656005382538, 0.41066110134124756, 0.2412082403898239, -0.25066426396369934, 0.8791552186012268, -0.11488990485668182, -0.8435773253440857, 0.5135076642036438, 0.24765558540821075, 0.482257604598999, -0.34606435894966125, 0.08252370357513428, -0.3156733512878418, 0.013204006478190422, -0.16025298833847046, -0.6558077931404114, 0.553009033203125, -0.004473804961889982, -0.2655782401561737, -0.5154430270195007, 0.5602059364318848, -0.5986744165420532, -0.40137991309165955, -0.06016985699534416, 0.23131752014160156, -0.10733728855848312, 0.013240110129117966, -0.5495615005493164, 0.116771399974823, -0.1469331830739975, -0.2268131524324417, 0.5282752513885498, 0.658499002456665, 0.1425119787454605, 0.7533054351806641, 0.497099906206131, 0.010379483923316002, 0.022055665031075478, -0.13322165608406067, 0.7402611970901489, -0.3873074948787689, -0.6174135208129883, -0.928354799747467, 0.7622058987617493, -0.05473491549491882, -0.8692068457603455, 0.5419551730155945, 0.4042988121509552, 1.145363211631775, -0.055227410048246384, 1.025773525238037, -0.05609271675348282, 0.22092241048812866, -0.6665920615196228, 0.7554612755775452, -0.6868401169776917, -0.0210152268409729, -0.6142370700836182, -0.7866373062133789, -0.5373229384422302, 0.5403773188591003, -0.16712871193885803, -0.32135218381881714, 0.5983177423477173, 0.7574536204338074, -0.24580591917037964, -0.2549082636833191, 0.40258851647377014, 0.26934993267059326, 0.22496579587459564, 0.06464879214763641, 0.46667689085006714, -0.33642324805259705, -0.07597685605287552, -0.5615360140800476, -0.331603080034256, 0.07987851649522781, -1.0716685056686401, -0.8352404236793518, -0.8725094199180603, -0.3332666754722595, -0.11571712791919708, 0.28232279419898987, 1.18650484085083, 0.8979584574699402, -0.6382691264152527, -0.2338298261165619, -0.014188253320753574, 0.24207746982574463, -0.42778393626213074, -0.17811737954616547, 0.3235511779785156, -0.6979511380195618, -0.7785540223121643, 0.7392610311508179, 0.4620032012462616, -0.23488737642765045, 0.07967526465654373, -0.1005588173866272, 0.0056798723526299, 0.12111278623342514, 0.5893754363059998, 0.27115297317504883, -0.476069837808609, -0.7746533751487732, -0.3056187927722931, -0.01882912963628769, 0.03254879638552666, 0.7339445352554321, -0.45142874121665955, 0.8737744688987732, 0.22123406827449799, 0.678985595703125, 0.2702327370643616, 0.04109896719455719, 0.9881070256233215, -0.9799750447273254, 0.10157249122858047, -0.06737866252660751, 0.2972496449947357, 0.347150057554245, -0.7041065692901611, 0.3096286952495575, 0.14890572428703308, -0.7798166275024414, -0.7839890122413635, 0.18219731748104095, -0.5218612551689148, -0.2813258767127991, 1.1626644134521484, -0.11916650086641312, -0.1719467043876648, -0.16795945167541504, -0.15605537593364716, 0.2555544376373291, -0.4419225752353668, 1.160225510597229, 0.759818434715271, -0.23636513948440552, -0.11241249740123749, -0.3203422725200653, 1.0750541687011719, 0.36807578802108765, -0.6251505017280579, 0.11869259178638458, 0.5219969153404236, 0.6343340873718262, -0.2665848135948181, 0.4854912757873535, 0.29957032203674316, 0.3358348608016968, -0.29113686084747314, 0.07465043663978577, 0.1966945230960846, -0.5961019992828369, -0.4953635632991791, 0.12755602598190308, 0.23455072939395905, 0.37965404987335205 ]
http://arxiv.org/abs/2406.11193v1
http://arxiv.org/pdf/2406.11193v1
MMNeuron: Discovering Neuron-Level Domain-Specific Interpretation in Multimodal Large Language Model
2024-06-17T03:59:44
2024-06-17T03:59:44
Jiahao Huo, Yibo Yan, Boren Hu, Yutao Yue, Xuming Hu
cs.CL
cs.CL
Projecting visual features into word embedding space has become a significant fusion strategy adopted by Multimodal Large Language Models (MLLMs). However, its internal mechanisms have yet to be explored. Inspired by multilingual research, we identify domain-specific neurons in multimodal large language models. Specifically, we investigate the distribution of domain-specific neurons and the mechanism of how MLLMs process features from diverse domains. Furthermore, we propose a three-stage framework for language model modules in MLLMs when handling projected image features, and verify this hypothesis using logit lens. Extensive experiments indicate that while current MLLMs exhibit Visual Question Answering (VQA) capability, they may not fully utilize domain-specific information. Manipulating domain-specific neurons properly will result in a 10\% change of accuracy at most, shedding light on the development of cross-domain, all-encompassing MLLMs in the future. Our code will be released upon paper notification.
[ -0.5539456605911255, -0.850035548210144, 0.5330054759979248, 0.15142230689525604, 0.029479214921593666, -0.23053573071956635, -0.11901780217885971, -0.39143091440200806, 0.1830599009990692, 0.3812573552131653, -0.6519564986228943, -0.4448503851890564, -0.5907245874404907, -0.20529904961585999, -0.3803517818450928, 0.5851316452026367, 0.15363703668117523, 0.13846218585968018, -0.291948527097702, -0.2667844593524933, -0.3753552734851837, -0.668189287185669, -0.37440112233161926, -0.3825484812259674, 0.9089076519012451, 0.05378233641386032, 0.44186893105506897, 0.2882063090801239, 0.3723180294036865, 0.27185946702957153, -0.13773159682750702, 0.21883033215999603, -0.1572408229112625, -0.06044764071702957, -0.15469606220722198, -0.4341779053211212, -0.4778526723384857, -0.26615259051322937, 0.6936870813369751, 0.777362585067749, -0.1885126531124115, -0.021785862743854523, 0.015370354056358337, 0.08871930092573166, -0.6022206544876099, 0.0704573541879654, -0.8045397400856018, 0.10128086060285568, 0.05073264241218567, -0.277591347694397, -0.6077147722244263, 0.20503440499305725, 0.31625866889953613, -0.41875770688056946, 0.3710266649723053, 0.026443829759955406, 0.730786144733429, -0.12451086193323135, -0.5586491823196411, 0.05547754466533661, -0.34776896238327026, 0.7914314866065979, -0.6876698136329651, 0.31742721796035767, 0.1870657503604889, 0.2532861828804016, 0.040031202137470245, -0.8015218377113342, -0.7061121463775635, -0.37339672446250916, -0.05170268192887306, -0.15404808521270752, -0.1732587218284607, 0.006407338194549084, 0.2928404211997986, 0.06999537348747253, -0.7075331211090088, 0.10833106189966202, -0.2640047073364258, -0.2928524911403656, 0.3669205904006958, 0.1288340538740158, 0.41140687465667725, -0.23623308539390564, -0.3700924813747406, 0.04814906790852547, -0.6853723526000977, -0.3478708863258362, 0.28716400265693665, 0.1381482630968094, 0.03478410467505455, 0.8068177103996277, -0.05808025225996971, 0.8552594184875488, -0.321638822555542, 0.07130994647741318, 0.4015393555164337, -0.22530847787857056, -0.2930324971675873, -0.1224801167845726, 0.6081531643867493, 0.5037496089935303, 0.4057167172431946, 0.17229780554771423, -0.3007253110408783, -0.05294385179877281, 0.3434198498725891, -0.6357932686805725, -0.1352950483560562, 0.04554085433483124, -0.5513060688972473, -0.27388519048690796, -0.35186320543289185, -0.512883722782135, -0.5244079232215881, -0.06461453437805176, 0.5533248782157898, -0.3510356545448303, -0.5829495191574097, 0.10065070539712906, -0.2990530729293823, 0.10418225824832916, 0.30167344212532043, -1.079136848449707, 0.02934909239411354, 0.45382651686668396, 0.7801839709281921, -0.2632887065410614, -0.7573124170303345, -0.25272074341773987, 0.07426635175943375, -0.33745917677879333, 0.7579716444015503, -0.6555923223495483, -0.02189960703253746, 0.42276468873023987, 0.175984188914299, -0.2759018540382385, -0.6789448857307434, 0.29208025336265564, -0.6385931968688965, -0.03095468506217003, 0.04986027628183365, -0.4439505338668823, -0.317656934261322, 0.4291159212589264, -0.6989331245422363, 0.5009592175483704, -0.06887157261371613, -0.6322259306907654, 0.3193444609642029, -0.6848720908164978, -0.22565999627113342, -0.09638271480798721, -0.2897723913192749, -0.011308427900075912, 0.3613174259662628, 0.28621381521224976, 0.7427730560302734, -0.12026210874319077, 0.21048285067081451, -0.3472111225128174, -0.06053721532225609, 0.5490182042121887, -0.5630660653114319, 0.4810512065887451, 0.014919298700988293, -0.19961349666118622, 0.29558926820755005, -0.535479724407196, 0.08583500981330872, 0.11120104044675827, -0.1403585523366928, -0.28353139758110046, -0.0016260332195088267, 0.19858130812644958, 0.4593178629875183, 0.1968187838792801, -0.45290443301200867, 0.2892468273639679, -0.07988232374191284, 0.571143627166748, 0.765537440776825, 0.04062069579958916, 0.5956614017486572, 0.11203549057245255, 0.2977493703365326, 0.395480751991272, 0.2484891563653946, -0.3077799379825592, -0.7813940644264221, -0.6281657218933105, -0.06325625628232956, 0.14462946355342865, 0.3027520477771759, -0.9066612720489502, -0.06387516111135483, -0.05656212195754051, -0.10111147165298462, -0.4133356213569641, 0.04366186261177063, 0.31506454944610596, 0.10595626384019852, 0.36812299489974976, -0.3300713896751404, -0.16338509321212769, -1.3597675561904907, 0.013786588795483112, 0.1352722942829132, 0.06401728093624115, 0.4711107015609741, 0.5659096837043762, -0.39824023842811584, 0.2959139347076416, -0.5098973512649536, -0.27062150835990906, -0.3417149484157562, 0.1691705584526062, 0.0421954020857811, 0.40899044275283813, 0.5018100142478943, -1.0888519287109375, -0.18296848237514496, 0.2276783436536789, -0.8959308862686157, 0.15425041317939758, -0.19701868295669556, -0.1034318208694458, -0.002922388957813382, 0.581052839756012, -0.8741777539253235, 0.4101595878601074, 0.7827197313308716, -0.257356196641922, 0.6028907299041748, -0.255022794008255, 0.14208978414535522, -0.8975711464881897, 0.028719497844576836, 0.061994388699531555, 0.06370868533849716, -0.7544625997543335, 0.1233883872628212, 0.14056667685508728, -0.07337161898612976, -0.46232539415359497, 0.5005394220352173, -0.5001772046089172, -0.2589823305606842, -0.3534190356731415, 0.4252883493900299, -0.05096108838915825, 0.7281873226165771, 0.09743743389844894, 0.4889170229434967, 0.7366036176681519, -0.4830832779407501, 0.24195140600204468, 0.24260486662387848, -0.6356590390205383, 0.3051320016384125, -0.4985786974430084, -0.10785605013370514, -0.06687110662460327, -0.07887707650661469, -0.9569143652915955, -0.1327558159828186, 0.03206830471754074, -0.6096726655960083, 0.43625470995903015, -0.15366767346858978, -0.3414123058319092, -0.18479092419147491, 0.1105634793639183, 0.44769078493118286, 0.25039955973625183, -0.4349479079246521, 0.6880729794502258, 0.4776410758495331, -0.08626838773488998, -0.8109390139579773, -0.7122482657432556, 0.1903989315032959, 0.1540125608444214, -0.6607797741889954, 0.34980013966560364, -0.04478086531162262, -0.10440899431705475, 0.12317756563425064, 0.0019037277670577168, -0.22825144231319427, -0.090208999812603, 0.22413817048072815, 0.03735503926873207, -0.4374573230743408, 0.25539904832839966, -0.040016382932662964, 0.0706494152545929, 0.0049011860974133015, -0.4251827299594879, 0.8167145848274231, 0.050134073942899704, -0.4750436842441559, -0.14812663197517395, 0.6085591316223145, 0.6500065326690674, -0.49708619713783264, 0.7151793241500854, 0.6926843523979187, -0.4718458354473114, -0.3944958448410034, -0.4083683490753174, -0.3177874982357025, -0.4474916458129883, 0.7341504096984863, -0.7335965037345886, -0.9455916881561279, 0.32750192284584045, -0.1326911598443985, -0.11617248505353928, 0.4827651381492615, 0.7504965662956238, -0.01244257390499115, 1.390896201133728, 0.9022321105003357, 0.20301800966262817, 0.4349415600299835, -0.35813477635383606, 0.24112927913665771, -0.9956130385398865, -0.325780987739563, -0.079122394323349, -0.3706337511539459, -0.3503592908382416, -0.5900145769119263, 0.12428062409162521, -0.0896046981215477, 0.2045293152332306, 0.18431143462657928, -0.3273996412754059, 0.40444138646125793, 0.5353138446807861, -0.043373726308345795, -0.004232346545904875, 0.15403780341148376, -0.6383607983589172, 0.007391110062599182, -0.8300386667251587, -0.23774206638336182, 0.7847387790679932, 0.20138901472091675, 0.6184227466583252, -0.052309148013591766, 0.2656041085720062, 0.24568262696266174, 0.23342908918857574, -0.7065166234970093, 0.6652499437332153, -0.19428882002830505, -0.7467842698097229, -0.10142666846513748, -0.2659337520599365, -0.7530062198638916, 0.5005461573600769, -0.2722994089126587, -0.8002262711524963, 0.3936779499053955, 0.010198318399488926, -0.03821484372019768, 0.4340490996837616, -0.7493107318878174, 1.1810671091079712, -0.13834406435489655, -0.2519281506538391, -0.5448581576347351, -0.41832152009010315, 0.3402933180332184, -0.060104046016931534, -0.08457333594560623, -0.07512589544057846, -0.05961405113339424, 0.42370331287384033, 0.05280594900250435, 0.8287893533706665, -0.295492023229599, -0.29785844683647156, 0.2900032699108124, 0.22509494423866272, 0.05939168110489845, -0.10557794570922852, 0.09795621782541275, 0.29541322588920593, -0.2602299451828003, -0.3251446485519409, -0.9098872542381287, 1.0670572519302368, -0.4785102903842926, -0.5528505444526672, -0.17891879379749298, -0.6995049715042114, -0.267110139131546, -0.038168102502822876, 0.19559532403945923, 0.5894514322280884, -0.09040225297212601, 0.11334017664194107, 0.6434174180030823, -0.38265109062194824, 0.5976889729499817, 0.1805783212184906, -0.5710000395774841, -0.32885798811912537, 1.0220762491226196, 0.01900322735309601, 0.3413386940956116, 0.4749434292316437, -0.15664967894554138, -0.12143169343471527, -0.7473306655883789, -0.5638999938964844, 0.24197039008140564, -0.9045012593269348, 0.09164083749055862, -0.7454288005828857, -0.29691019654273987, -0.11087437719106674, 0.030363330617547035, -0.15876524150371552, -0.5250843167304993, -0.02712932601571083, -0.10017798095941544, -0.051048941910266876, 0.7508742213249207, 0.05173696205019951, 0.30154895782470703, -0.7166424989700317, 0.28328463435173035, 0.3924461901187897, 0.21408891677856445, 0.22763483226299286, -0.42535528540611267, -0.4072103500366211, 0.09878890216350555, -0.04358164593577385, -0.7555356621742249, 0.5424344539642334, 0.4093104600906372, 0.6993004083633423, 0.4910699427127838, -0.7372391819953918, 0.5079413652420044, -0.8565870523452759, 0.933199942111969, 0.39135974645614624, -0.707809329032898, 0.43957823514938354, -0.10395626723766327, 0.34483686089515686, -0.18619230389595032, 0.5392058491706848, -0.602061927318573, -0.20959752798080444, -0.5362834930419922, -0.6829208135604858, 0.34314873814582825, 0.10602287203073502, 0.4334936738014221, 0.021126488223671913, 0.23495838046073914, 0.03358278423547745, 0.3731662929058075, -0.7417604923248291, -0.26459401845932007, -0.05483134463429451, -0.032590411603450775, -0.37478306889533997, -0.42247647047042847, -0.24580644071102142, -0.16147829592227936, 0.3118463158607483, -0.362460196018219, 0.662010669708252, 0.24206838011741638, -0.38074246048927307, 0.18460823595523834, 0.09869329631328583, 1.0414059162139893, 0.8252730965614319, -0.0646466389298439, 0.45273202657699585, -0.008977929130196571, -0.45232826471328735, -0.02796746976673603, -0.1335877776145935, -0.007676835637539625, 0.30912765860557556, 0.4466499984264374, 0.9062833786010742, -0.10367100685834885, -0.6005682349205017, 0.6975257396697998, -0.09246444702148438, -0.38515332341194153, -0.171657994389534, -0.07507967203855515, 0.17051228880882263, 0.47676146030426025, 0.388950914144516, 0.4237394332885742, 0.14712585508823395, -0.5643761157989502, 0.4314287304878235, 0.4451146125793457, -0.5409483313560486, -0.48702272772789, 0.5086101293563843, -0.06239816173911095, -0.16638164222240448, 0.5455312132835388, 0.02793806418776512, -0.5931383967399597, 0.5818809866905212, 0.6347389221191406, 0.871307373046875, -0.18784882128238678, 0.3281262516975403, 0.2164284586906433, 0.3471018075942993, 0.16830240190029144, 0.3144723176956177, 0.21973364055156708, -1.0385338068008423, -0.7038975358009338, -0.5636152625083923, 0.08557642996311188, 0.04173874482512474, -0.3073573708534241, -0.03549185395240784, -0.37065809965133667, -0.3786199986934662, 0.3946819603443146, -0.6502211689949036, -0.4155038893222809, 0.24835191667079926, 0.5824950337409973, 0.9472314715385437, -0.6577728390693665, 1.1081328392028809, 0.627086877822876, -0.39796382188796997, -0.40395021438598633, -0.14045554399490356, -0.08673609048128128, -0.9371684789657593, 1.099149465560913, 0.10106608271598816, -0.09172888845205307, 0.0140334228053689, -0.8534849882125854, -0.5633730888366699, 0.673077404499054, 0.20885708928108215, -0.44695356488227844, -0.04030989110469818, 0.04255951568484306, 0.3605414628982544, -0.7382678985595703, 0.19419114291667938, 0.11265780031681061, 0.2920030355453491, -0.038749124854803085, -0.7749235033988953, -0.05706777423620224, -0.43262356519699097, -0.014594304375350475, 0.22329717874526978, -0.0850406214594841, 0.9834438562393188, -0.41705089807510376, 0.04355636611580849, -0.07627600431442261, 0.5914574861526489, -0.09294484555721283, 0.10361501574516296, 0.3745405673980713, 0.5025451183319092, 0.5599150061607361, 0.006439002696424723, 1.081391453742981, -0.13078053295612335, 0.19069038331508636, 0.9193549752235413, -0.1627103090286255, 1.1542835235595703, 0.7363066673278809, 0.28924018144607544, 0.5589525103569031, 0.35871604084968567, -0.17958985269069672, 0.6651301383972168, 0.2786972224712372, -0.5114691853523254, -0.2993353605270386, -0.2578221559524536, -0.19827044010162354, 0.3083052933216095, 0.5020182728767395, -0.6066039800643921, 0.0701335072517395, 0.34985750913619995, -0.3542402684688568, -0.39680278301239014, -0.35846829414367676, 0.6243464350700378, 0.41259437799453735, -0.5302261114120483, 0.7265152335166931, -0.04629886895418167, 0.6283510327339172, -0.6518286466598511, -0.2945697605609894, -0.08352497220039368, 0.3159961700439453, -0.18675850331783295, -0.9077956676483154, 0.10126353055238724, -0.29583629965782166, -0.20139236748218536, -0.21234242618083954, 0.8278986811637878, -0.5328274965286255, -0.18790139257907867, 0.5667481422424316, 0.7565893530845642, 0.05022982880473137, -0.3601570725440979, -0.6412789821624756, -0.10963621735572815, 0.08254728466272354, -0.2021978348493576, 0.44778725504875183, 0.4718063175678253, -0.009336101822555065, 0.7589876651763916, 0.6658433079719543, 0.021762844175100327, 0.45698094367980957, 0.48933717608451843, 0.7923802733421326, -0.5956869125366211, 0.05590185895562172, -0.8579334020614624, 0.691292941570282, -0.280900239944458, -0.34153854846954346, 0.6996359825134277, 0.3815755248069763, 0.7883473634719849, -0.46963033080101013, 0.6174240708351135, -0.1450037658214569, -0.11569276452064514, -0.5138992071151733, 0.7515130639076233, -0.9196949601173401, -0.13567592203617096, -0.07649286836385727, -1.0409787893295288, -0.507236897945404, 0.5836437940597534, -0.13779914379119873, -0.182789608836174, 1.0473121404647827, 1.03739333152771, -0.2121630758047104, -0.2165694683790207, 0.8633946776390076, 0.22739212214946747, 0.12527988851070404, 0.5032351016998291, 1.1641217470169067, -0.28396013379096985, 0.5581815242767334, -0.1875268816947937, 0.04269378259778023, -0.10981949418783188, -0.6203681826591492, -0.7479346990585327, -0.8555487990379333, -0.38666388392448425, -0.18289847671985626, -0.0706275999546051, 0.41590237617492676, 0.8284755945205688, -0.6425652503967285, -0.24565312266349792, 0.12626151740550995, 0.06558885425329208, -0.2660599648952484, -0.17146709561347961, 0.23469160497188568, -0.3387082517147064, -0.5451216101646423, 0.34370359778404236, 0.47961166501045227, -0.021746788173913956, -0.32866549491882324, 0.08369500935077667, -0.5301278233528137, -0.02698167786002159, 0.9087767601013184, -0.08326929062604904, -0.7533207535743713, -0.24301308393478394, 0.2935340106487274, -0.21145477890968323, 0.15923218429088593, 0.9700590372085571, -0.34973663091659546, 0.43127021193504333, 0.4871034324169159, 0.5526382327079773, 0.5470508337020874, -0.5446938276290894, 0.7020334005355835, -0.7125446200370789, 0.15544933080673218, 0.18959639966487885, 0.6708453893661499, 0.28068432211875916, 0.06298237293958664, 0.25260087847709656, 0.23617687821388245, -0.4550255835056305, -0.6529247164726257, 0.4347743093967438, -1.0250155925750732, -0.4764215052127838, 1.1073734760284424, -0.12890565395355225, -0.49711135029792786, 0.14393281936645508, -0.42514970898628235, -0.16379058361053467, 0.05989904701709747, 0.3568018972873688, 0.7574102878570557, -0.00024007607134990394, -0.5677000284194946, -0.9357040524482727, 0.44646838307380676, 0.39236709475517273, -0.5539640188217163, -0.12365930527448654, 0.5435515642166138, -0.02082224003970623, 0.5274438261985779, 0.3468811511993408, -0.015529382042586803, 0.27631399035453796, 0.14337849617004395, 0.37995296716690063, 0.2714412212371826, -0.6214979887008667, -0.4762599766254425, 0.42403560876846313, 0.1149778813123703, -0.18850955367088318 ]
http://arxiv.org/abs/2406.11192v1
http://arxiv.org/pdf/2406.11192v1
Beyond Boundaries: Learning a Universal Entity Taxonomy across Datasets and Languages for Open Named Entity Recognition
2024-06-17T03:57:35
2024-06-17T03:57:35
Yuming Yang, Wantong Zhao, Caishuang Huang, Junjie Ye, Xiao Wang, Huiyuan Zheng, Yang Nan, Yuran Wang, Xueying Xu, Kaixin Huang, Yunke Zhang, Tao Gui, Qi Zhang, Xuanjing Huang
cs.CL
cs.CL
Open Named Entity Recognition (NER), which involves identifying arbitrary types of entities from arbitrary domains, remains challenging for Large Language Models (LLMs). Recent studies suggest that fine-tuning LLMs on extensive NER data can boost their performance. However, training directly on existing datasets faces issues due to inconsistent entity definitions and redundant data, limiting LLMs to dataset-specific learning and hindering out-of-domain generalization. To address this, we present B2NERD, a cohesive and efficient dataset for Open NER, normalized from 54 existing English or Chinese datasets using a two-step approach. First, we detect inconsistent entity definitions across datasets and clarify them by distinguishable label names to construct a universal taxonomy of 400+ entity types. Second, we address redundancy using a data pruning strategy that selects fewer samples with greater category and semantic diversity. Comprehensive evaluation shows that B2NERD significantly improves LLMs' generalization on Open NER. Our B2NER models, trained on B2NERD, outperform GPT-4 by 6.8-12.0 F1 points and surpass previous methods in 3 out-of-domain benchmarks across 15 datasets and 6 languages.
[ -0.3864246606826782, -0.36199691891670227, 0.049486178904771805, -0.07744605094194412, -0.1972244679927826, -0.041243258863687515, -0.6092330813407898, -0.5465477705001831, -0.22893062233924866, 0.48457857966423035, -0.22494767606258392, -0.5578677654266357, -0.6006577610969543, 0.05778924375772476, -0.020361129194498062, 1.030296802520752, -0.22830210626125336, 0.01218374166637659, -0.036822982132434845, -0.34115010499954224, -0.3908340334892273, -0.3262672424316406, -0.766836941242218, -0.4070265293121338, 0.4333961308002472, 0.6281340718269348, 0.4659239649772644, 0.5667964816093445, 0.5873470902442932, 0.09486829489469528, 0.02476692572236061, 0.4517597556114197, -0.6524528861045837, 0.09597054123878479, -0.5962359309196472, -0.21117697656154633, -0.057626254856586456, -0.4211253225803375, 0.6804972887039185, 0.8996824622154236, -0.19173911213874817, 0.1458434760570526, 0.041309382766485214, 0.5732613801956177, -0.6306292414665222, 0.257191002368927, -0.7691971063613892, 0.021023256704211235, -0.42880910634994507, 0.2289532721042633, -0.36084702610969543, -0.19043470919132233, 0.33633604645729065, -0.5963167548179626, 0.34052950143814087, -0.16943570971488953, 1.2325891256332397, 0.20471668243408203, -0.495503693819046, -0.19420646131038666, -0.9575588703155518, 0.5860336422920227, -0.20682035386562347, 0.997442364692688, 0.026053259149193764, 0.22205229103565216, -0.14531992375850677, -0.7960891127586365, -0.45048433542251587, 0.4137565493583679, -0.03777982294559479, -0.11211036145687103, -0.5808470845222473, -0.062555231153965, 0.3386887013912201, 0.19282959401607513, -0.7519021034240723, 0.4277794361114502, -0.40890154242515564, -0.057987749576568604, 0.5614227652549744, -0.11414829641580582, 0.287013977766037, 0.20795808732509613, -0.4208552837371826, -0.14626576006412506, -0.9758819937705994, -0.02539394609630108, 0.0921466052532196, 0.4177760183811188, 0.00945297721773386, 0.423448383808136, -0.04160643368959427, 0.5120673179626465, 0.05467487499117851, 0.16931094229221344, 0.28283920884132385, -0.03841891512274742, -0.2951701283454895, -0.11958056688308716, 0.5074257850646973, 0.41939929127693176, 0.4269174635410309, -0.6143592000007629, -0.2904367446899414, -0.04460391774773598, -0.02942655421793461, -0.9014345407485962, -0.4851841926574707, 0.07198089361190796, -0.2264646738767624, 0.3608761727809906, 0.10201103240251541, -0.7585354447364807, -0.1566234529018402, -0.5966144800186157, 0.21816924214363098, -0.3550166189670563, -0.4304488003253937, 0.04738909751176834, -0.0623730830848217, 0.1762075126171112, 0.2516944706439972, -0.7919664978981018, 0.6104736924171448, 0.7576906681060791, 0.8410205245018005, -0.149038165807724, -0.1967678815126419, -0.43538984656333923, 0.20909300446510315, -0.5291671752929688, 0.5995379686355591, -0.4793790280818939, -0.17642994225025177, -0.2939162254333496, 0.1141035258769989, -0.00839664414525032, -0.9402543902397156, 0.2145305871963501, -0.7556647658348083, -0.20078396797180176, -0.23637686669826508, -0.6453931927680969, -0.379866361618042, 0.11928118765354156, -0.670647919178009, 0.8901491165161133, 0.36030152440071106, -0.661287784576416, 0.772026538848877, -0.5064725875854492, -0.5131161212921143, 0.4938846528530121, -0.3414210081100464, -0.47531020641326904, 0.23678377270698547, 0.04723614826798439, 0.3590494394302368, -0.35868391394615173, 0.5690633654594421, -0.15464292466640472, -0.10669112205505371, -0.2541864812374115, -0.021720755845308304, 0.6923282742500305, -0.053230490535497665, -0.1469576060771942, -0.2321799397468567, -0.6941767334938049, 0.06798416376113892, 0.07713662832975388, -0.16111277043819427, -0.778426468372345, -0.11532209813594818, 0.14639395475387573, 0.18661576509475708, -0.08390644192695618, -0.717311680316925, 0.10342918336391449, -0.43490877747535706, 0.35207971930503845, 0.5850220918655396, 0.06818462908267975, 0.4694077968597412, -0.015575353056192398, 0.20028139650821686, 0.218650221824646, -0.3099665343761444, 0.1254969984292984, -0.4188868999481201, -0.6401857137680054, -0.257846862077713, 0.5915108323097229, 0.4752670228481293, -0.5590441226959229, 0.6450755000114441, -0.5550464987754822, -0.6379042267799377, -0.514072060585022, 0.20740795135498047, 0.45151960849761963, 0.6644368767738342, 0.6987395286560059, -0.4915367364883423, -0.7622819542884827, -0.7229250073432922, -0.022060487419366837, 0.09941758215427399, -0.18151132762432098, 0.4282638728618622, 0.8154574036598206, -0.5434074997901917, 1.0579280853271484, -0.4181857109069824, -0.49909940361976624, -0.09187418222427368, -0.27584436535835266, 0.047069862484931946, 0.4180048704147339, 0.03973018378019333, -0.854641854763031, -0.5505577325820923, 0.4330473840236664, -0.7757890820503235, 0.2688091993331909, 0.10136915743350983, -0.1906459778547287, 0.2540483772754669, 0.4488247334957123, -0.5711546540260315, 0.3022984266281128, 0.3167594373226166, -0.11622095853090286, 0.2335079312324524, -0.04712427034974098, -0.5241581201553345, -0.9470838308334351, 0.13016760349273682, 0.2253071516752243, 0.12036051601171494, -0.7555596232414246, 0.1676904410123825, 0.23566459119319916, -0.19270282983779907, -0.2953672707080841, 0.9358116388320923, -0.7396835088729858, -0.2002425342798233, 0.05143884941935539, 0.07270442694425583, -0.08817877620458603, 0.2730763852596283, 0.43011805415153503, 0.5970933437347412, 0.7791688442230225, -0.7778353691101074, 0.3210018575191498, 0.5069154500961304, -0.4117792248725891, 0.554282009601593, -0.5482852458953857, 0.22724825143814087, -0.3565404713153839, 0.3071082830429077, -0.609645664691925, -0.34323394298553467, 0.09138897061347961, -0.28332778811454773, 0.5615329146385193, -0.413374125957489, -0.33688756823539734, -0.28486207127571106, 0.22055776417255402, 0.38235872983932495, 0.44292643666267395, -0.9887485504150391, 0.6387763619422913, 0.4703182876110077, -0.09882353246212006, -0.48701125383377075, -0.8065869212150574, 0.08041919767856598, -0.06357645988464355, -0.628812313079834, 0.4770619571208954, 0.21029822528362274, -0.2494937926530838, 0.13073529303073883, -0.37133052945137024, -0.11534592509269714, -0.0361088365316391, 0.14728601276874542, 0.015071412548422813, -0.3519091010093689, 0.4191538691520691, 0.11900625377893448, -0.06855594366788864, -0.17630000412464142, -0.6660234332084656, 0.5127316117286682, 0.02001466602087021, -0.08810282498598099, -0.25283724069595337, 0.12888750433921814, -0.09411362558603287, -0.48392483592033386, 0.45725464820861816, 0.412648469209671, -0.8505550026893616, -0.46982306241989136, -0.19968397915363312, -0.06335403025150299, -0.403825581073761, 0.3949908912181854, -0.6652780771255493, -0.9551213383674622, 0.33031508326530457, -0.14528752863407135, 0.2164204865694046, 0.3012472689151764, 0.4805457592010498, 0.32682913541793823, 0.43398937582969666, 0.7185956835746765, 0.06425119191408157, 0.07235200703144073, -0.425495445728302, 0.3910309076309204, -0.9666541814804077, -0.5276414155960083, -0.3562330901622772, -0.2743660807609558, -0.6883677244186401, -0.47211024165153503, 0.024192670360207558, 0.2582619786262512, -0.3106094002723694, 0.41850990056991577, -0.44716066122055054, 0.7282820343971252, 0.35065674781799316, 0.09409316629171371, 0.19813284277915955, 0.313545823097229, -0.05698100104928017, -0.18238236010074615, -0.3931487798690796, -0.29876965284347534, 1.1987959146499634, 0.4054219722747803, 0.6844533681869507, 0.36469483375549316, 0.8887065052986145, -0.02565518394112587, 0.4018908441066742, -0.8114796876907349, 0.352527379989624, -0.4156211018562317, -0.5713658928871155, -0.4066752791404724, -0.5627435445785522, -1.0709608793258667, 0.30116593837738037, 0.1132267415523529, -0.8646169900894165, 0.44367867708206177, -0.11312209069728851, -0.15982083976268768, 0.5076689124107361, -0.5742828845977783, 0.747493326663971, -0.08209418505430222, -0.2620571553707123, 0.22762686014175415, -0.594429612159729, 0.32896414399147034, -0.21972113847732544, -0.03488395735621452, 0.013836933299899101, -0.21329262852668762, 0.6054539084434509, -0.13828177750110626, 0.45013734698295593, -0.2309200018644333, -0.2046036422252655, 0.22001253068447113, 0.07995423674583435, 0.4627073109149933, 0.2840895354747772, 0.030136000365018845, 0.5605906248092651, -0.5696802735328674, -0.3699391186237335, -0.48558929562568665, 0.6374569535255432, -0.735586404800415, -0.2630171775817871, -0.2719263434410095, -0.3303893506526947, -0.2581915855407715, 0.3919735550880432, 0.39744335412979126, 0.49141940474510193, -0.3579230010509491, 0.2051495462656021, 0.9479621052742004, -0.09799263626337051, 0.2262324094772339, 0.5444774627685547, 0.04643392935395241, -0.5383320450782776, 1.0263340473175049, 0.30985912680625916, 0.12026432156562805, 0.499844491481781, -0.20261476933956146, -0.5090807676315308, -0.5168646574020386, -0.622998833656311, 0.20872770249843597, -0.6011551022529602, -0.37753555178642273, -0.9048898816108704, -0.28130027651786804, -0.45350539684295654, 0.06440554559230804, -0.23631435632705688, -0.0975748673081398, -0.28175148367881775, -0.26096686720848083, 0.18231722712516785, 0.5876492261886597, -0.16620340943336487, 0.1218172237277031, -0.645043134689331, 0.3197542428970337, 0.05485435575246811, 0.6773049831390381, 0.06920482963323593, -0.49296432733535767, -0.09050032496452332, 0.08189814537763596, -0.050360891968011856, -0.5888004899024963, 0.30456113815307617, 0.5538793802261353, 0.3957851827144623, 0.5033032298088074, -0.11668941378593445, 0.5963234901428223, -0.5787031650543213, 0.35529467463493347, 0.27230146527290344, -0.6817536354064941, 0.35950881242752075, -0.12945039570331573, 0.01622960902750492, 0.4302345812320709, 0.8810840845108032, -0.7046564817428589, 0.06911273300647736, -0.6263033747673035, -0.9862870573997498, 0.6556591987609863, -0.04560204595327377, 0.050040535628795624, -0.03052571229636669, 0.39461836218833923, 0.3154069185256958, 0.023554792627692223, -0.5712289810180664, -0.1804111748933792, 0.05421864613890648, -0.2088315635919571, -0.25734636187553406, 0.0678541362285614, 0.013018574565649033, -0.18677210807800293, 0.6691554188728333, -0.09397923946380615, 0.043776582926511765, 0.1093706414103508, -0.39745378494262695, -0.14980320632457733, 0.2389882653951645, 0.13677269220352173, 0.6069177389144897, -0.02497231587767601, 0.17417225241661072, 0.1844167709350586, -0.40065768361091614, 0.21063344180583954, 0.32266080379486084, -0.49880537390708923, 0.13377556204795837, 0.08044205605983734, 0.819706380367279, -0.1498112678527832, -0.5922127366065979, 0.31704360246658325, -0.0213408675044775, -0.15354982018470764, -0.1476847231388092, 0.014306526631116867, 0.040987469255924225, 0.1836606115102768, 0.20885486900806427, 0.08808141946792603, 0.07186875492334366, -0.34488409757614136, 0.5446980595588684, 0.30926603078842163, -0.5185916423797607, -0.3451550602912903, 0.4259812533855438, 0.08621677756309509, -0.2016936093568802, 0.9725565314292908, -0.4874967932701111, -0.3276176154613495, 0.5869045853614807, 0.702923059463501, 0.7287134528160095, -0.16171367466449738, 0.057975348085165024, 0.5824909806251526, 0.3156377375125885, -0.2499931901693344, 0.3197970688343048, 0.1405831128358841, -0.9566807746887207, -0.24567614495754242, -0.5800679326057434, -0.4710569679737091, 0.4872805178165436, -0.699877917766571, 0.43528199195861816, -0.6548954844474792, -0.0024932415690273046, 0.12242025882005692, 0.034638211131095886, -0.7585433721542358, 0.366158127784729, 0.15057367086410522, 0.976226270198822, -0.7507539391517639, 0.5946908593177795, 0.9072213768959045, -0.44215214252471924, -0.8576474189758301, 0.0059346831403672695, -0.10752376914024353, -0.4371855854988098, 0.7103670239448547, 0.3440384268760681, 0.24392244219779968, 0.29093411564826965, -0.3358883857727051, -0.9452361464500427, 0.8971260190010071, 0.08968494087457657, -0.9980131983757019, -0.20663978159427643, -0.08669796586036682, 0.5372360348701477, -0.3209947347640991, 0.18119651079177856, 0.7234717011451721, 0.40452325344085693, -0.028781238943338394, -0.7873043417930603, 0.08390749990940094, -0.11539261043071747, 0.14877402782440186, 0.7209351658821106, -0.6239935755729675, 0.693778395652771, -0.5986837148666382, -0.5044113397598267, -0.1597263216972351, 0.7221656441688538, 0.13773351907730103, 0.37020260095596313, 0.18856437504291534, 0.9480859041213989, 1.1421693563461304, -0.36756348609924316, 0.4828452169895172, 0.004350560251623392, 0.4096064865589142, 1.3095660209655762, -0.7048704624176025, 0.7784639000892639, 0.10054215788841248, -0.05823737382888794, 0.44527262449264526, 0.6405879259109497, -0.6044337749481201, 0.49123457074165344, 0.38814860582351685, -0.28330671787261963, -0.11844661831855774, -0.27032148838043213, -0.3006170988082886, 0.4743954837322235, 0.5443785190582275, 0.0787193700671196, -0.6333701014518738, 0.11505629122257233, 0.001655414467677474, 0.04719248041510582, -0.3450717329978943, 0.8625490069389343, 0.08286016434431076, -0.5923294425010681, 0.5848660469055176, 0.23486298322677612, 0.6801751255989075, -0.24255992472171783, 0.008709797635674477, -0.27839145064353943, 0.4494416117668152, -0.3823106586933136, -0.7921423316001892, 0.18856437504291534, 0.04259774461388588, -0.18537220358848572, 0.028587481006979942, 0.7835373878479004, -0.7093441486358643, -0.14020086824893951, 0.5157805681228638, 0.3767208158969879, 0.17684467136859894, -0.007509997114539146, -0.42748022079467773, -0.3489350378513336, -0.06670068949460983, 0.07363766431808472, 0.32150742411613464, 0.7625344395637512, -0.45327675342559814, 0.6324287056922913, 0.7222996354103088, 0.12883245944976807, -0.052383121103048325, 0.062083106487989426, 0.812972366809845, -0.612415611743927, -0.3060593008995056, -0.6952090263366699, 0.17009159922599792, 0.02189795672893524, -0.5007615089416504, 0.5154942274093628, 1.0446960926055908, 1.5018376111984253, 0.09075609594583511, 0.8550909161567688, -0.149490624666214, 0.6476626992225647, -0.3940648138523102, 0.42448580265045166, -0.4638379216194153, -0.07298067957162857, 0.12105926871299744, -0.8665618300437927, -0.4857712686061859, 0.3604576885700226, -0.1558845192193985, 0.007711699232459068, 0.3590036928653717, 0.7680026888847351, -0.37759929895401, -0.14053352177143097, 0.13004933297634125, 0.15245619416236877, 0.30902376770973206, 0.6209900975227356, 0.5644240975379944, -0.45658206939697266, 0.4470449388027191, -0.17487117648124695, -0.06867362558841705, -0.04891252517700195, -0.5099965929985046, -0.8896484375, -0.3334912955760956, -0.323679655790329, -0.3660576343536377, 0.2465270757675171, 0.9758971929550171, 0.631308376789093, -0.9326574802398682, -0.15927748382091522, -0.3327370584011078, 0.03127691149711609, -0.03806964308023453, -0.22385954856872559, 0.28857892751693726, -0.2647869288921356, -0.5397744178771973, 0.23770149052143097, 0.25024348497390747, 0.1377045065164566, 0.12011051177978516, -0.18924938142299652, -0.060291994363069534, -0.15502174198627472, 0.4266625642776489, 0.44844850897789, -0.5811259746551514, -0.13846074044704437, -0.005541929509490728, -0.05784596875309944, 0.07709667086601257, 0.5964847803115845, -0.48744821548461914, 0.3246039152145386, 0.2578885853290558, 0.7751184105873108, 0.3613000512123108, -0.0050822230987250805, 0.42957907915115356, -0.8887359499931335, -0.039610348641872406, 0.3464209735393524, 0.15855349600315094, 0.48313552141189575, -0.17071908712387085, 0.7332984209060669, 0.2729005515575409, -0.3360729217529297, -0.8609662652015686, 0.36636602878570557, -0.6112907528877258, -0.16389179229736328, 1.2370067834854126, -0.2948914170265198, 0.02620575577020645, -0.262800395488739, 0.2191796600818634, 0.24344073235988617, -0.4211052358150482, 0.26842421293258667, 0.5154047608375549, 0.07412170618772507, -0.07022131979465485, -0.26201435923576355, 0.4856344759464264, -0.01685221865773201, -0.689850389957428, 0.2927156090736389, 0.4715755879878998, 0.6173029541969299, 0.04273276776075363, 0.5210829973220825, 0.00995655171573162, 0.2825948894023895, -0.15409408509731293, 0.27387818694114685, 0.0009647467522881925, -0.7725826501846313, -0.5452329516410828, -0.0953008309006691, -0.0962395891547203, 0.12000695616006851 ]
http://arxiv.org/abs/2406.11191v2
http://arxiv.org/pdf/2406.11191v2
A Survey on Human Preference Learning for Large Language Models
2024-06-17T03:52:51
2024-06-18T08:18:33
Ruili Jiang, Kehai Chen, Xuefeng Bai, Zhixuan He, Juntao Li, Muyun Yang, Tiejun Zhao, Liqiang Nie, Min Zhang
cs.CL
cs.CL
The recent surge of versatile large language models (LLMs) largely depends on aligning increasingly capable foundation models with human intentions by preference learning, enhancing LLMs with excellent applicability and effectiveness in a wide range of contexts. Despite the numerous related studies conducted, a perspective on how human preferences are introduced into LLMs remains limited, which may prevent a deeper comprehension of the relationships between human preferences and LLMs as well as the realization of their limitations. In this survey, we review the progress in exploring human preference learning for LLMs from a preference-centered perspective, covering the sources and formats of preference feedback, the modeling and usage of preference signals, as well as the evaluation of the aligned LLMs. We first categorize the human feedback according to data sources and formats. We then summarize techniques for human preferences modeling and compare the advantages and disadvantages of different schools of models. Moreover, we present various preference usage methods sorted by the objectives to utilize human preference signals. Finally, we summarize some prevailing approaches to evaluate LLMs in terms of alignment with human intentions and discuss our outlooks on the human intention alignment for LLMs.
[ -0.4938114285469055, -0.4109645187854767, 0.7384844422340393, -0.027784695848822594, -0.0496680773794651, -0.07768478989601135, -0.8194928765296936, -0.49748191237449646, 0.12349704653024673, 0.6275914907455444, -0.4333173632621765, -0.5178458094596863, -0.4772425591945648, -0.02220969833433628, 0.02369573898613453, 0.667741060256958, 0.0883445292711258, 0.42091643810272217, -0.14981688559055328, -0.03963299095630646, -0.33354324102401733, -0.886078953742981, -0.5301675796508789, -0.7410682439804077, 0.695495069026947, 0.6702700257301331, 0.6365827918052673, 0.39803168177604675, 0.21492184698581696, 0.2880336046218872, -0.01971568539738655, -0.011287491768598557, -0.45407170057296753, -0.0014194760005921125, -0.15455208718776703, -0.34977635741233826, -0.49996283650398254, 0.32771050930023193, 0.6190774440765381, 1.1204988956451416, -0.2234112173318863, 0.22756658494472504, 0.10983547568321228, 0.9046340584754944, -0.650260329246521, -0.10855595022439957, -0.5229185223579407, 0.05489475652575493, -0.19344474375247955, -0.10130934417247772, -0.6554573178291321, -0.3695153295993805, 0.6352037191390991, -0.033140648156404495, 0.055071864277124405, 0.17140869796276093, 0.3643049895763397, 0.008466150611639023, -0.8883006572723389, -0.21074587106704712, -0.5904039740562439, 1.3192814588546753, -0.4856750965118408, 0.689297080039978, 0.5139893889427185, 0.4078831970691681, -0.20366612076759338, -0.08804802596569061, -0.2874123454093933, -0.30553480982780457, 0.12553149461746216, -0.26472207903862, 0.2760545015335083, 0.09116210788488388, -0.15117396414279938, 0.11914987117052078, -0.48362118005752563, 0.5235409736633301, -0.04083634167909622, -0.19566860795021057, 0.8853034973144531, 0.20405204594135284, 0.03893750533461571, -0.2121741622686386, -0.34329310059547424, -0.1877022683620453, -0.8970606327056885, 0.3207717537879944, 0.42953503131866455, 0.2865495979785919, -0.02849438413977623, 0.46592897176742554, -0.28896984457969666, 1.0742814540863037, 0.09528089314699173, -0.31435534358024597, 0.2435995638370514, 0.2975761592388153, -0.10584533959627151, -0.005806546658277512, 0.6975119113922119, 0.6425107717514038, 0.3476106822490692, -0.212882861495018, -0.19696763157844543, -0.1766815483570099, 0.2381903976202011, -0.542707622051239, 0.19558201730251312, 0.02029816433787346, -0.6288096308708191, -0.24302388727664948, 0.09464750438928604, -0.5380184054374695, -0.6238862872123718, -0.7607515454292297, -0.07115441560745239, 0.0378652885556221, -0.27439600229263306, 0.41982635855674744, 0.3836485743522644, 0.4310300052165985, 0.48161780834198, -1.3880808353424072, 0.1394462138414383, 0.8167774081230164, 0.4286665916442871, -0.536995530128479, -0.20072925090789795, -0.37672922015190125, -0.07037205994129181, -0.18516585230827332, 0.678916871547699, -0.48611363768577576, -0.5740587115287781, 0.016027992591261864, -0.17690443992614746, 0.2548736035823822, -0.5161858797073364, 0.5817728042602539, -0.6596759557723999, 0.21384434401988983, -0.5199190378189087, -0.5231896638870239, -0.28108400106430054, 0.3967556953430176, -0.3740110695362091, 0.5695275664329529, 0.016516895964741707, -0.4104624092578888, 0.32178765535354614, -0.4281085133552551, -0.3310873508453369, -0.13187222182750702, -0.2624844014644623, -0.1918756365776062, 0.1313336342573166, -0.09320244193077087, 0.7732769846916199, -0.37801283597946167, 0.6230939626693726, -0.47913241386413574, -0.12090570479631424, 0.6153386235237122, -0.40793851017951965, 0.7232989072799683, 0.35685470700263977, -0.1541793942451477, 0.3655810058116913, -0.4143791198730469, -0.01227271743118763, 0.09441789239645004, -0.5796145796775818, -0.23187385499477386, 0.19729436933994293, 0.08020523190498352, 0.17187145352363586, 0.42082321643829346, -0.4052978456020355, 0.36137858033180237, -0.37474367022514343, 0.5492841005325317, 1.143206238746643, -0.3090396821498871, 0.7297524213790894, -0.1927495300769806, 0.35374894738197327, -0.3144666254520416, 0.2277871072292328, 0.3518805205821991, -0.3137193024158478, -0.6188648343086243, 0.10261362791061401, 0.23702038824558258, 0.03788271173834801, 0.12369734048843384, 0.647803544998169, -0.24477849900722504, -0.2681935131549835, -0.24813970923423767, 0.35052937269210815, 0.2700328230857849, 0.37730851769447327, 0.16418907046318054, -0.33276355266571045, -0.6939231157302856, -1.0843063592910767, -0.18208253383636475, -0.34283581376075745, 0.13395561277866364, 0.6187018752098083, 0.06759606301784515, -0.2456253618001938, 1.1948269605636597, -0.653469979763031, 0.15501435101032257, -0.4610525667667389, -0.2692160904407501, 0.12153149396181107, 0.11332166939973831, 0.5850726962089539, -0.9453882575035095, -0.6683658957481384, -0.11136314272880554, -0.2516568601131439, 0.18958652019500732, 0.617490828037262, -0.10502016544342041, 0.32954731583595276, 0.12700103223323822, -0.3497166931629181, -0.1293601244688034, 0.8675224781036377, -0.04324118793010712, 0.5643911361694336, 0.09917561709880829, -0.0010563057148829103, -1.048305869102478, 0.017642268911004066, 0.13385847210884094, -0.3121625781059265, -0.6452628970146179, -0.3453395962715149, 0.07725401967763901, 0.3883611857891083, -0.6713422536849976, 0.9386212229728699, -0.5515080690383911, -0.3127003610134125, -0.34786751866340637, 0.04547986760735512, -0.15671896934509277, 0.30318188667297363, 0.5316888093948364, 0.49912112951278687, 0.2562180757522583, -0.595338761806488, 0.4028654396533966, 0.3622901141643524, -0.3752153217792511, 0.3694641590118408, -0.31481674313545227, 0.4150347411632538, -0.18411999940872192, 0.3218119442462921, -0.9629673957824707, -0.5318665504455566, 0.20281364023685455, -0.3731856048107147, 0.3920784890651703, -0.2409495711326599, -0.08253791183233261, -0.18433670699596405, -0.3452621102333069, 0.20223677158355713, 0.5909072756767273, -0.7571261525154114, 0.3280709683895111, 0.6337043046951294, -0.024416077882051468, -0.9011591672897339, -0.4813022017478943, -0.0795089453458786, -0.37067851424217224, -0.39567437767982483, 0.07876116037368774, -0.21993198990821838, -0.469836562871933, -0.3539547622203827, 0.023744018748402596, 0.15227608382701874, 0.20482347905635834, 0.24878056347370148, 0.5062926411628723, 0.024048257619142532, 0.2009221613407135, -0.4232798218727112, -0.11917737871408463, -0.06922397762537003, -0.31002694368362427, 0.7354493141174316, -0.28766560554504395, -0.38332992792129517, -0.11444820463657379, 0.09649457782506943, 0.3921492099761963, -0.16180559992790222, 0.4989297688007355, 0.18824875354766846, -0.18962933123111725, -0.009682931005954742, -0.7486730217933655, -0.28967413306236267, -0.4078725278377533, 0.3491077125072479, -0.0740162804722786, -1.212736964225769, -0.03402579575777054, -0.04229516163468361, 0.07210397720336914, 0.254101037979126, 0.8365470767021179, -0.20684173703193665, 1.1705753803253174, 0.6740216612815857, -0.6257312893867493, 0.5529317259788513, -0.0909421369433403, 0.19669483602046967, -0.9206877946853638, -0.1990577131509781, -0.5625529885292053, -0.4563877284526825, -0.24747507274150848, -0.004683458246290684, 0.2678094208240509, 0.04036014899611473, -0.2843492329120636, -0.010252862237393856, -0.28902488946914673, 0.354148805141449, 0.07131896167993546, 0.022001435980200768, 0.33651480078697205, -0.061671093106269836, 0.09099774807691574, -0.03408638760447502, -0.4134046137332916, -0.7653045058250427, 1.2450324296951294, 0.4361066520214081, 0.8466442823410034, 0.33525922894477844, 0.6630985736846924, -0.07637626677751541, 0.5989688634872437, -1.025375247001648, 0.502616286277771, -0.17869526147842407, -0.7378023266792297, -0.5430806875228882, -0.33121559023857117, -0.9090223908424377, 0.2742365300655365, -0.2234584242105484, -0.9726577997207642, 0.02082650177180767, 0.41666144132614136, -0.26306137442588806, 0.28516095876693726, -0.8146621584892273, 0.6990163922309875, -0.717707633972168, -0.3531063497066498, -0.2181311547756195, -0.7716422080993652, 0.512177050113678, 0.14041030406951904, 0.10003536194562912, -0.23534071445465088, -0.04329551011323929, 0.6478899121284485, -0.02348426729440689, 1.1022104024887085, -0.036464761942625046, -0.3273305296897888, -0.023464657366275787, -0.3757542073726654, 0.4250609874725342, -0.07308066636323929, -0.28814831376075745, 0.02081882953643799, -0.44209107756614685, -0.14858821034431458, -0.36307665705680847, 0.833593487739563, -1.0062958002090454, -0.8190634846687317, -0.29406681656837463, -0.47354423999786377, -0.6965219974517822, 0.22954276204109192, 0.13172294199466705, 0.21933980286121368, -0.3800915479660034, 0.22981296479701996, 0.775273323059082, -0.08214785158634186, 0.2681732773780823, 0.5028616189956665, -0.5628502368927002, -0.20524530112743378, 0.818060040473938, -0.08236602693796158, 0.4573555588722229, 0.5073304176330566, 0.4965626895427704, -0.742576539516449, -0.5597788095474243, -0.32615160942077637, 0.3880254626274109, -0.6702712178230286, 0.13617731630802155, -0.5680629014968872, 0.015727927908301353, -0.4202200472354889, -0.31766805052757263, -0.40996357798576355, -0.255141943693161, -0.42245495319366455, -0.05076855048537254, 0.1310034543275833, 0.8183230757713318, 0.38184016942977905, 0.2522590458393097, -0.7063536643981934, 0.041660357266664505, 0.5734540820121765, 0.5818419456481934, 0.24215932190418243, -0.33988574147224426, -0.1098683774471283, 0.11112529039382935, -0.2550283670425415, -0.5425744652748108, 0.2633809745311737, -0.21442130208015442, 0.6691985726356506, 0.8561853170394897, 0.044899631291627884, 0.27695637941360474, -0.2302110642194748, 0.7370301485061646, 0.3358893394470215, -0.7334719896316528, 0.18979643285274506, -0.31039053201675415, -0.02120072953402996, 0.5722886919975281, 0.6978145241737366, -0.7901338934898376, 0.45339614152908325, -0.36389264464378357, -0.39251384139060974, 0.6848282217979431, -0.584618091583252, 0.13898427784442902, 0.1802157163619995, 0.49734795093536377, 0.1797393560409546, 0.31126323342323303, -0.5124133229255676, -0.3230021595954895, 0.09473114460706711, -0.10269232094287872, -0.4790184199810028, -0.4351367950439453, -0.040162377059459686, -0.193162739276886, 0.6258379220962524, -0.18158726394176483, -0.23860155045986176, -0.34164679050445557, -0.21244026720523834, -0.18879538774490356, 0.7902887463569641, 0.5005715489387512, 0.7396909594535828, -0.3491270840167999, 0.19752652943134308, 0.11219576746225357, -0.24949443340301514, 0.4002229869365692, -0.4924633502960205, -0.19123396277427673, -0.5416277647018433, -0.02713770978152752, 0.8368678092956543, 0.24201157689094543, -0.7131223082542419, 0.5401799082756042, -0.14134103059768677, -0.1807517409324646, -0.21832601726055145, 0.16929790377616882, 0.4982580840587616, -0.17144711315631866, 0.0675918310880661, -0.06966020911931992, 0.02363731898367405, -0.5809835195541382, -0.3623911738395691, 0.7883303761482239, -0.7005899548530579, -0.3874663710594177, 0.21207429468631744, 0.3257902264595032, -0.219364196062088, 0.5585570931434631, 0.10657738894224167, -0.6396059393882751, 0.10656565427780151, 0.49983739852905273, 0.8621312379837036, -0.43358510732650757, 0.02374161034822464, 0.2287645787000656, -0.08326756954193115, -0.2888393700122833, -0.024235080927610397, -0.24427667260169983, -1.0764782428741455, -0.27371668815612793, -0.7121889591217041, -0.6606749892234802, 0.20228071510791779, -0.527107834815979, 0.49137061834335327, -0.306749552488327, -0.38198724389076233, -0.0500309020280838, 0.05305952578783035, -0.47804898023605347, 0.022766921669244766, 0.22330433130264282, 0.7427870035171509, -0.6856487989425659, 0.8738152384757996, 1.086289644241333, 0.010916230268776417, -0.811360239982605, -0.13093912601470947, 0.3103675842285156, -0.6887902617454529, 0.6375430822372437, 0.10375970602035522, -0.38235706090927124, 0.027492597699165344, -0.6015805006027222, -0.6193181872367859, 0.7843927145004272, 0.4422746002674103, -0.5936542749404907, -0.057449422776699066, 0.011580748483538628, 0.35660117864608765, -0.47725433111190796, 0.13063795864582062, 0.7739247679710388, 0.5917927622795105, -0.03006686083972454, -0.6591454148292542, -0.3779757618904114, -0.009103761054575443, 0.0495123416185379, 0.3174944221973419, -1.0004358291625977, 0.4991745948791504, -0.31866785883903503, 0.019183753058314323, -0.03756941109895706, 0.47235819697380066, 0.2668049931526184, -0.07361575216054916, 0.8466562032699585, 0.26327982544898987, 0.5793667435646057, 0.13764315843582153, 0.9920773506164551, -0.020934702828526497, 0.2935599088668823, 0.9054538011550903, -0.6485138535499573, 0.882079541683197, 0.5953928828239441, -0.46587416529655457, 0.15423661470413208, 0.7761080265045166, 0.3850342631340027, 0.247935950756073, 0.2254929095506668, -0.24520546197891235, -0.6386618614196777, -0.24508041143417358, -0.2476458102464676, 0.5476346015930176, 0.25469186902046204, -0.14907675981521606, -0.031043069437146187, -0.17780525982379913, -0.1565716415643692, 0.07858201861381531, -0.15307646989822388, 0.8015568256378174, 0.17754000425338745, -0.8789207935333252, 0.3773960769176483, 0.12497756630182266, 0.8161991238594055, -0.6306247115135193, 0.198732390999794, 0.11046213656663895, 0.11721941828727722, -0.34065964818000793, -0.8209584355354309, -0.16308996081352234, -0.07797674089670181, -0.5440620183944702, -0.2664305865764618, 0.5667754411697388, -0.43141278624534607, 0.035210974514484406, 0.2357650250196457, 0.22390076518058777, 0.004477931652218103, 0.12628979980945587, -0.3663887083530426, 0.06301960349082947, 0.1338645964860916, -0.4087967574596405, 0.7069806456565857, -0.2445107400417328, -0.3428017795085907, 0.7829651236534119, 0.7106348872184753, 0.10709106177091599, -0.042846497148275375, 0.22207966446876526, 0.5823643207550049, -0.7290793657302856, -0.3927316963672638, -0.747530996799469, 0.1875012069940567, 0.18852916359901428, -0.24644459784030914, 0.7285357713699341, 0.5440361499786377, 0.8728315830230713, -0.1400069147348404, 1.054527997970581, 0.308886855840683, 0.5681619644165039, -0.521630585193634, 0.5877121090888977, -0.3965672552585602, 0.24506306648254395, -0.12636202573776245, -1.1105390787124634, -0.23876318335533142, 0.44774124026298523, -0.7154222726821899, 0.1722297966480255, 0.30192726850509644, 0.6070162057876587, -0.0874921903014183, 0.15196846425533295, 0.3519420921802521, -0.15249788761138916, 0.2626994252204895, 0.5959925651550293, 1.2229769229888916, 0.24558018147945404, 0.11334124207496643, -0.25064313411712646, -0.351105272769928, -0.6059300303459167, -0.9444704651832581, -0.779423713684082, -0.6349255442619324, 0.06750233471393585, 0.0697682574391365, -0.10278487950563431, 1.5700936317443848, 0.8937454223632812, -0.8395750522613525, -0.634363055229187, 0.26018717885017395, 0.24172833561897278, 0.20257006585597992, -0.10338833928108215, 0.3458017110824585, -0.2156144082546234, -0.8783727884292603, 0.27079322934150696, 0.2067573517560959, 0.09566013514995575, -0.55652916431427, -0.6513276696205139, -0.12351815402507782, -0.40193554759025574, 0.747842013835907, 0.5173541903495789, -0.9870644807815552, -0.5041943192481995, 0.2450549602508545, -0.281632661819458, 0.1258595883846283, 1.0135440826416016, -0.4161701798439026, 0.38186702132225037, 0.5772877931594849, 0.6618462800979614, 0.39359867572784424, -0.006082284729927778, 0.5235680341720581, -0.47567424178123474, 0.040900927037000656, 0.026402926072478294, 0.535649836063385, 0.5612999796867371, -0.26058727502822876, 0.18218833208084106, -0.16162380576133728, -0.6843634843826294, -0.5580500364303589, 0.42624256014823914, -1.0542434453964233, -0.13930943608283997, 1.2212259769439697, 0.24328739941120148, -0.12276822328567505, -0.11956325173377991, -0.3313975930213928, -0.06316514313220978, -0.4648783504962921, 0.5616099834442139, 0.7357356548309326, -0.3854438066482544, 0.00578561844304204, -0.3052826523780823, 0.34271904826164246, 0.3838832676410675, -0.5959550142288208, 0.20803913474082947, 0.71797776222229, 0.4400067925453186, -0.09743493795394897, 0.6651158928871155, -0.1196109876036644, 0.0780930444598198, -1.0099164247512817, 0.3878673315048218, 0.11498288065195084, -0.3505016565322876, -0.7587624788284302, -0.006826162803918123, 0.7976927757263184, 0.23712781071662903 ]
http://arxiv.org/abs/2406.11190v1
http://arxiv.org/pdf/2406.11190v1
Aligning Large Language Models from Self-Reference AI Feedback with one General Principle
2024-06-17T03:51:46
2024-06-17T03:51:46
Rong Bao, Rui Zheng, Shihan Dou, Xiao Wang, Enyu Zhou, Bo Wang, Qi Zhang, Liang Ding, Dacheng Tao
cs.CL
cs.CL, cs.AI
In aligning large language models (LLMs), utilizing feedback from existing advanced AI rather than humans is an important method to scale supervisory signals. However, it is highly challenging for AI to understand human intentions and societal values, and provide accurate preference feedback based on these. Current AI feedback methods rely on powerful LLMs, carefully designed specific principles to describe human intentions, and are easily influenced by position bias. To address these issues, we propose a self-reference-based AI feedback framework that enables a 13B Llama2-Chat to provide high-quality feedback under simple and general principles such as ``best for humanity``. Specifically, we allow the AI to first respond to the user's instructions, then generate criticism of other answers based on its own response as a reference, and finally determine which answer better fits human preferences according to the criticism. Additionally, we use a self-consistency method to further reduce the impact of position bias, and employ semantic perplexity to calculate the preference strength differences between different answers. Experimental results show that our method enables 13B and 70B Llama2-Chat annotators to provide high-quality preference feedback, and the policy models trained based on these preference data achieve significant advantages in benchmark datasets through reinforcement learning.
[ -0.26619887351989746, -0.4368438422679901, 0.6629233956336975, 0.5394522547721863, -0.06310096383094788, -0.24000339210033417, -0.49183389544487, -0.3948255181312561, 0.26075252890586853, 0.6366071105003357, -0.49554741382598877, -0.26406222581863403, -0.4357176423072815, 0.16985075175762177, -0.1424180418252945, 1.0969388484954834, 0.12849044799804688, 0.07603617757558823, -0.270045667886734, -0.16421280801296234, -0.476545512676239, -0.6822813749313354, -0.6003605127334595, -0.6405644416809082, 0.6533092260360718, 0.6548987627029419, 0.9311918020248413, 0.7487491965293884, 0.6041387319564819, 0.3546465039253235, 0.21105808019638062, 0.3788563013076782, -0.46736010909080505, -0.01077379658818245, -0.46291637420654297, -0.26954159140586853, -0.6636298298835754, 0.1325434446334839, 0.38430488109588623, 0.19949890673160553, -0.3271317780017853, 0.1891797035932541, 0.19020161032676697, 0.5012813806533813, -0.31921321153640747, 0.2613459527492523, -0.45690426230430603, -0.18561646342277527, 0.028306234627962112, -0.17330099642276764, -0.500572919845581, -0.2527056634426117, 0.02443217672407627, -0.5307159423828125, -0.16103842854499817, 0.05129936710000038, 0.848305881023407, 0.7320391535758972, -0.46131324768066406, -0.09870781749486923, -0.7654820084571838, 0.7666080594062805, -0.8476894497871399, -0.01982911303639412, 0.6479148268699646, 0.31801241636276245, -0.10499043762683868, -0.13971132040023804, -0.6019824147224426, -0.45148196816444397, -0.10797899216413498, 0.06878145784139633, 0.06954073905944824, -0.011850237846374512, -0.09914211928844452, -0.06000286713242531, -0.19158409535884857, 0.5575209259986877, -0.24750971794128418, -0.1726846843957901, 1.0584741830825806, 0.14220532774925232, -0.0792563334107399, -0.05300303176045418, -0.33482417464256287, -0.33222857117652893, -0.6880657076835632, -0.10069472342729568, 0.34988585114479065, 0.3013360798358917, -0.07954990863800049, 0.3865140974521637, -0.34365344047546387, 0.37102794647216797, 0.7023426294326782, -0.09011868387460709, 0.2893262803554535, -0.11981742829084396, -0.042140569537878036, 0.061444781720638275, 1.007930874824524, 0.7263824343681335, 0.2488958090543747, -0.18509088456630707, -0.13196961581707, 0.1434871405363083, 0.5660526752471924, -0.6492442488670349, 0.012291103601455688, 0.1230415552854538, -0.4680606424808502, -0.4062286913394928, -0.06727840006351471, -0.5405442714691162, -0.6186290979385376, -0.4884474277496338, 0.34805750846862793, 0.038462329655885696, -0.19832178950309753, -0.22366176545619965, 0.4011339247226715, 0.3833918571472168, 0.595544159412384, -1.2504737377166748, 0.11402831226587296, 0.5450435280799866, 0.3867951035499573, -0.3629602789878845, -0.33537018299102783, -0.3500880300998688, 0.38123950362205505, -0.39448198676109314, 0.944326639175415, -0.47679099440574646, -0.2557656466960907, -0.07089562714099884, -0.1871088743209839, 0.3726678490638733, -0.6255395412445068, 0.43157705664634705, -0.31166180968284607, 0.21107040345668793, -0.21010969579219818, -0.4822990298271179, 0.11838030815124512, 0.36319202184677124, -0.30224788188934326, 0.9536572694778442, -0.15213823318481445, -0.4553055167198181, 0.2386322021484375, -0.6472347378730774, -0.1974712461233139, -0.20009875297546387, -0.39456990361213684, -0.2961941361427307, -0.10563982278108597, 0.4369421899318695, 0.4035041034221649, -0.36610543727874756, 0.6137561798095703, -0.6017360687255859, -0.03891054168343544, 0.2877088189125061, -0.5203947424888611, 0.21928024291992188, 0.23668181896209717, -0.48594698309898376, 0.6358067989349365, -0.45474275946617126, 0.0563596710562706, 0.0042693172581493855, -0.34263670444488525, -0.0568787045776844, 0.12145600467920303, -0.15112163126468658, 0.2224242240190506, 0.5453131198883057, -0.43307989835739136, 0.3498082756996155, -0.08291435241699219, 0.42322254180908203, 1.2810935974121094, -0.23707085847854614, 0.5237863063812256, -0.3827269673347473, 0.26520198583602905, -0.06934236735105515, 0.2720082402229309, 0.02083681896328926, -0.03998357802629471, -0.7500996589660645, 0.032671086490154266, 0.03141586109995842, 0.34375011920928955, -0.18489623069763184, 0.8853903412818909, -0.35295775532722473, -0.405885249376297, -0.6360679268836975, 0.4186004400253296, 0.3065357804298401, 0.510554313659668, 0.4557132422924042, -0.4137689471244812, -0.47355443239212036, -1.0682965517044067, 0.14021919667720795, -0.7082133889198303, -0.011937485076487064, 0.38458994030952454, 0.011957535520195961, -0.4022780954837799, 1.1043727397918701, -0.16341343522071838, -0.42677736282348633, -0.10324569046497345, -0.11733617633581161, 0.12425854057073593, 0.4784241318702698, 0.40857458114624023, -0.42703279852867126, -0.31534233689308167, -0.18278509378433228, -0.8445574641227722, -0.3224451243877411, -0.1532403528690338, -0.5089101195335388, 0.1416388303041458, 0.4514126181602478, -0.35665276646614075, 0.091274693608284, 0.692609429359436, -0.2454058676958084, 0.1644839644432068, -0.27222344279289246, -0.06574138253927231, -1.1647459268569946, -0.03420892730355263, 0.014440762810409069, -0.32018017768859863, -0.30644068121910095, -0.28271976113319397, 0.0900418758392334, 0.39429962635040283, -0.12442158907651901, 0.7501773834228516, -0.05097911134362221, 0.07247565686702728, -0.48077791929244995, 0.12200084328651428, -0.16141332685947418, 0.5990657806396484, 0.05800115317106247, 0.8514167070388794, 0.1046162098646164, -0.6699886322021484, 0.5322861075401306, 0.5737948417663574, -0.01225232519209385, 0.7871926426887512, -0.6978958249092102, 0.47248056530952454, -0.020108098164200783, 0.5841398239135742, -0.8959388136863708, -0.21932350099086761, 0.12813657522201538, -0.4670496881008148, 0.12461547553539276, -0.08432801067829132, -0.23348462581634521, -0.3025924861431122, -0.224371537566185, 0.05885887145996094, 0.3433019518852234, -0.6858230233192444, 0.6074681282043457, 0.6162798404693604, -0.11812656372785568, -0.7958007454872131, -0.5348014831542969, 0.11190821975469589, -0.16414275765419006, -0.5150890946388245, 0.24118636548519135, -0.24525144696235657, -0.1746254861354828, -0.12827612459659576, -0.19712278246879578, 0.09923340380191803, 0.04840324819087982, 0.4369903802871704, 0.42444783449172974, 0.011923347599804401, 0.15021559596061707, -0.15549758076667786, -0.25804680585861206, 0.10505062341690063, -0.32259243726730347, 0.521084189414978, -0.3177851736545563, -0.43087711930274963, -0.5993841290473938, 0.10305985063314438, 0.5615912675857544, -0.17352069914340973, 0.49676790833473206, 0.32638484239578247, 0.13225899636745453, 0.07534148544073105, -0.944051206111908, -0.36625102162361145, -0.5211277008056641, 0.3052908778190613, -0.019446957856416702, -0.9490944743156433, 0.2748693525791168, 0.09171395003795624, 0.27823764085769653, 0.49215489625930786, 1.0142338275909424, -0.31675392389297485, 1.1165446043014526, 0.6229478120803833, -0.6903517246246338, 0.5122029185295105, -0.04387848824262619, 0.14529670774936676, -0.7849429249763489, -0.16990993916988373, -0.506496787071228, -0.3871510922908783, -0.3571273684501648, -0.06674337387084961, 0.16743476688861847, -0.17270424962043762, -0.6104484796524048, 0.18437710404396057, -0.39688047766685486, 0.3789995312690735, 0.8015591502189636, 0.14654874801635742, 0.10372155904769897, -0.2220091074705124, 0.0029103029519319534, 0.13254261016845703, -0.48778048157691956, -0.8902781009674072, 1.0518049001693726, 0.5195172429084778, 1.2359068393707275, 0.15651023387908936, 0.7932341694831848, 0.44824114441871643, 0.6156696677207947, -0.6406041979789734, 0.477040559053421, 0.08705120533704758, -0.5924423933029175, -0.5758349299430847, -0.4143557846546173, -0.7633095383644104, 0.18297721445560455, -0.18302327394485474, -0.6306061744689941, -0.0700078159570694, 0.49022895097732544, -0.41139695048332214, 0.029207682237029076, -0.5951141119003296, 0.7344736456871033, -0.47633716464042664, -0.42699456214904785, -0.4901342988014221, -0.6718287467956543, 0.03617160767316818, 0.19807708263397217, 0.15966449677944183, -0.5436795353889465, 0.25071507692337036, 0.5763164758682251, -0.443072110414505, 1.2249844074249268, -0.2106352150440216, -0.4186377227306366, 0.23893269896507263, -0.03423614054918289, 0.41840991377830505, 0.09857641905546188, -0.07852731645107269, 0.1694214940071106, -0.0005845107953064144, -0.2947565019130707, -0.5995101928710938, 0.700279712677002, -1.4229135513305664, -0.977695643901825, -0.2731386721134186, -0.482681006193161, -0.4037778079509735, 0.11748381704092026, -0.1379062682390213, 0.10622484236955643, -0.11629429459571838, 0.18631349503993988, 0.2643826901912689, 0.07161012291908264, 0.3165629506111145, 0.6965432167053223, -0.34697186946868896, -0.43938854336738586, 0.6337944865226746, -0.13558180630207062, 0.2151225358247757, 0.37224867939949036, 0.34576502442359924, -0.5861022472381592, -0.086520254611969, -0.7404085993766785, 0.2766387462615967, -0.6314920783042908, -0.4569827914237976, -0.2147127240896225, -0.06927192956209183, -0.5306591987609863, -0.12272629886865616, -0.4646822512149811, -0.255003958940506, -0.1905350536108017, -0.20201562345027924, 0.30862241983413696, 0.6394150257110596, -0.31130850315093994, 0.4158340096473694, -0.7312501072883606, 0.1800951510667801, 0.5022754669189453, 0.4068116843700409, 0.1210581436753273, -0.674460232257843, -0.11746969074010849, 0.16398292779922485, -0.4642968773841858, -0.5675835609436035, 0.13081467151641846, 0.02239254303276539, 0.5863316655158997, 0.6732306480407715, 0.24444955587387085, 0.6540958285331726, -0.3935020864009857, 0.6638868451118469, 0.11742756515741348, -0.8645633459091187, 0.6440151333808899, -0.20737692713737488, 0.17658963799476624, 0.7237994074821472, 0.13804170489311218, -0.7860227227210999, -0.261442095041275, -0.5207956433296204, -0.6795055270195007, 0.7104219794273376, 0.04279598221182823, 0.41869425773620605, -0.027437644079327583, 0.5241411924362183, -0.10433463752269745, 0.12452025711536407, -0.7099984884262085, -0.10977175831794739, -0.2746160924434662, -0.47966086864471436, -0.1308613270521164, -0.2341134399175644, -0.3808259963989258, 0.025312386453151703, 0.7721478939056396, -0.39802974462509155, 0.25337985157966614, 0.11913905292749405, 0.015820100903511047, -0.25690075755119324, 0.379976749420166, 0.3290391266345978, 0.674625039100647, -0.04272487759590149, 0.11967353522777557, 0.2759915590286255, -0.036015622317790985, 0.44655582308769226, -0.24735741317272186, -0.2094939947128296, -0.5258892774581909, 0.22513681650161743, 0.6538547873497009, -0.0817260891199112, -0.4929458498954773, 0.4480420649051666, -0.036334794014692307, 0.10032215714454651, -0.38992008566856384, 0.3384852409362793, -0.04782506823539734, 0.36242929100990295, 0.2288370281457901, -0.12591415643692017, -0.20882965624332428, -0.5772175192832947, 0.16063085198402405, 0.45922619104385376, -0.39963772892951965, -0.15481796860694885, 0.605039119720459, 0.5420283675193787, -0.3040905296802521, 0.7075492143630981, 0.11822084337472916, -0.40892964601516724, 0.4168538749217987, 0.6326178312301636, 0.6160025000572205, -0.4008621275424957, 0.28137072920799255, 0.20863746106624603, 0.007199868559837341, -0.20393157005310059, 0.017693020403385162, -0.18232059478759766, -1.0577658414840698, -0.5088366270065308, -0.38096368312835693, -0.7535313963890076, -0.08207262307405472, -0.7499844431877136, 0.15405243635177612, -0.7554522752761841, -0.41473689675331116, -0.16880618035793304, -0.044106848537921906, -0.49204719066619873, 0.1349344700574875, 0.24824242293834686, 0.47348642349243164, -0.6246652603149414, 0.978506326675415, 0.5673415064811707, -0.5823588967323303, -1.0937129259109497, -0.015146051533520222, 0.057619135826826096, -1.1435699462890625, 0.5306961536407471, 0.15432633459568024, -0.35518279671669006, -0.17614583671092987, -0.8535396456718445, -1.0600407123565674, 0.9165974855422974, 0.4123050272464752, -0.6404857635498047, -0.07318423688411713, -0.07006370276212692, 0.6877370476722717, -0.37437471747398376, 0.5128313302993774, 0.49678874015808105, 0.4729894995689392, 0.12046443670988083, -1.1082435846328735, -0.041411448270082474, -0.27268117666244507, 0.03502047434449196, 0.025415755808353424, -1.1832165718078613, 0.1425780951976776, -0.20568089187145233, 0.16600780189037323, 0.03506043553352356, 0.9988939762115479, 0.15560106933116913, -0.02319832518696785, 0.5552182793617249, 0.4281300902366638, 0.7083472609519958, 0.15422113239765167, 0.9780795574188232, -0.45209887623786926, 0.23485636711120605, 1.4022833108901978, -0.4716722369194031, 0.909119188785553, 0.3873560130596161, -0.1441074162721634, 0.5380954146385193, 0.5693879723548889, -0.08150344341993332, 0.459154337644577, 0.10324093699455261, 0.19388967752456665, -0.35500776767730713, -0.33939769864082336, -0.22180794179439545, 0.46822628378868103, 0.16475273668766022, -0.16424180567264557, 0.038893699645996094, -0.3928537666797638, 0.20482942461967468, 0.18632186949253082, -0.21858403086662292, 0.9809207916259766, -0.04436485841870308, -0.9819555878639221, 0.46419912576675415, 0.17159020900726318, 0.7001509666442871, -0.6502168774604797, 0.06270700693130493, -0.4014030992984772, 0.427030473947525, -0.19582732021808624, -0.7174341082572937, 0.12573686242103577, 0.13033661246299744, -0.2731417119503021, -0.25902652740478516, 0.19132354855537415, -0.3831630051136017, -0.21404992043972015, 0.3121670186519623, 0.15623196959495544, -0.06056253984570503, 0.17335310578346252, -0.4928257167339325, -0.024132102727890015, -0.02645735628902912, -0.025108931586146355, 0.3476055860519409, 0.18336711823940277, -0.22556118667125702, 0.7706329226493835, 0.6045318841934204, -0.018378330394625664, -0.21403591334819794, 0.06106790527701378, 0.6797153353691101, -0.5743694305419922, -0.5837599635124207, -0.889963686466217, 0.079380564391613, -0.13883943855762482, -0.39106136560440063, 0.6092797517776489, 0.16589456796646118, 0.8799293637275696, 0.23769330978393555, 0.8048020005226135, 0.12104061990976334, 0.5141820907592773, -0.3979899287223816, 0.4729997515678406, -0.19610929489135742, 0.249393492937088, -0.18648852407932281, -0.9861143827438354, -0.11607126146554947, 1.0875861644744873, -0.38167959451675415, 0.10624154657125473, 0.32697853446006775, 0.8365108370780945, 0.21155411005020142, -0.2428043782711029, 0.1336630880832672, 0.3503314256668091, 0.6615056991577148, 0.37303322553634644, 0.9328146576881409, 0.029460350051522255, 0.589647114276886, -0.12178763747215271, -0.13761770725250244, -0.33788520097732544, -0.8607761859893799, -0.7992435693740845, -0.343147873878479, -0.2138051837682724, -0.45012569427490234, -0.00554210040718317, 1.5546355247497559, 0.9414008259773254, -0.8816677331924438, -0.4665313959121704, 0.1944258213043213, -0.1403680145740509, -0.006265297997742891, -0.15076303482055664, 0.40668416023254395, -0.48716452717781067, -0.5357205867767334, 0.3667590618133545, 0.30606940388679504, -0.03001166135072708, -0.6003854274749756, -0.43597927689552307, 0.11413665115833282, 0.18555495142936707, 0.3282870948314667, 0.26107320189476013, -1.0223325490951538, -0.6960024237632751, -0.19085575640201569, -0.4265550673007965, 0.2882055640220642, 0.6288490891456604, -0.652804970741272, 0.1686413735151291, 0.07497570663690567, 0.920981764793396, 0.4151862859725952, 0.2857138216495514, 0.7048336863517761, -0.5067980289459229, -0.0028153364546597004, 0.16756753623485565, 0.2450166493654251, 0.4585791230201721, -0.5388872027397156, 0.5267631411552429, -0.281978577375412, -0.7918527126312256, -0.3046405613422394, 0.1951967030763626, -0.905822217464447, 0.11276819556951523, 1.2787352800369263, -0.1808808147907257, -0.1314740628004074, 0.2452360838651657, -0.5772746801376343, 0.02323268912732601, -0.8132818937301636, 1.227441668510437, 0.6804817318916321, -0.3036702275276184, -0.10069790482521057, 0.08205685019493103, 0.3302088677883148, 0.7455167770385742, -0.8930937647819519, 0.19519266486167908, 0.6787675023078918, 0.1594412922859192, 0.15320247411727905, 0.8584942817687988, 0.08410626649856567, 0.062188100069761276, -0.502071738243103, 0.16285280883312225, 0.11534380912780762, -0.47790202498435974, -0.3680391013622284, -0.08271606266498566, 0.503044068813324, 0.016885221004486084 ]
http://arxiv.org/abs/2406.11177v1
http://arxiv.org/pdf/2406.11177v1
TIFG: Text-Informed Feature Generation with Large Language Models
2024-06-17T03:29:14
2024-06-17T03:29:14
Xinhao Zhang, Jinghan Zhang, Fengran Mo, Yuzhong Chen, Kunpeng Liu
cs.CL
cs.CL
Textual information of data is of vital importance for data mining and feature engineering. However, existing methods focus on learning the data structures and overlook the textual information along with the data. Consequently, they waste this valuable resource and miss out on the deeper data relationships embedded within the texts. In this paper, we introduce Text-Informed Feature Generation (TIFG), a novel LLM-based text-informed feature generation framework. TIFG utilizes the textual information to generate features by retrieving possible relevant features within external knowledge with Retrieval Augmented Generation (RAG) technology. In this approach, the TIFG can generate new explainable features to enrich the feature space and further mine feature relationships. We design the TIFG to be an automated framework that continuously optimizes the feature generation process, adapts to new data inputs, and improves downstream task performance over iterations. A broad range of experiments in various downstream tasks showcases that our approach can generate high-quality and meaningful features, and is significantly superior to existing methods.
[ -0.5574963092803955, -0.7790254354476929, 0.6474692821502686, -0.07288052141666412, -0.22781012952327728, 0.1662348359823227, -0.32959768176078796, -0.5027078986167908, 0.1672733873128891, 0.7728455066680908, -0.6973466873168945, -0.6587972640991211, -0.4653976261615753, 0.09739094227552414, -0.5322524905204773, 1.1641911268234253, 0.07606330513954163, -0.3551256060600281, -0.1254757046699524, 0.03950667753815651, -0.3413567543029785, -0.30492693185806274, -0.5604078769683838, -0.5549421906471252, 0.6645836234092712, 0.4375518262386322, 0.6865964531898499, 1.0410491228103638, 0.32554391026496887, 0.20527760684490204, -0.03166135773062706, 0.40634140372276306, -0.6361387968063354, 0.33773258328437805, -0.12418128550052643, -0.42423176765441895, -0.3343564569950104, -0.21433785557746887, 0.4393540918827057, 0.5034044981002808, 0.30230939388275146, 0.4814465641975403, 0.1743253916501999, 0.6064763069152832, -0.39490535855293274, 0.19980482757091522, -0.8352360129356384, 0.06959698349237442, -0.3920762240886688, -0.2813127338886261, -0.300799697637558, -0.31220734119415283, -0.0019679972901940346, -0.3961572051048279, 0.6627086997032166, -0.02281798981130123, 0.8370064496994019, 0.5650964379310608, -0.3289385735988617, -0.39245522022247314, -0.6075051426887512, 0.5406061410903931, -0.4061877727508545, 0.2975943386554718, 0.45921292901039124, 0.07955841720104218, -0.28960272669792175, -0.7680665254592896, -0.48554304242134094, -0.03602272644639015, -0.18645544350147247, -0.12115564942359924, 0.41708460450172424, -0.11147284507751465, 0.23496288061141968, 0.4967929720878601, -0.5401843786239624, -0.0835823342204094, 0.13518182933330536, 0.052070435136556625, 0.8208721280097961, -0.10571940243244171, 0.18363825976848602, -0.439745157957077, -0.39739274978637695, 0.0014133121585473418, -1.0028828382492065, -0.07515327632427216, 0.3508118689060211, 0.4434434771537781, 0.009271572344005108, 0.6122279763221741, 0.0015384862199425697, 0.5758181214332581, 0.07865167409181595, -0.09966792911291122, 0.1906440109014511, -0.07565475255250931, -0.054657623171806335, 0.1262872964143753, 0.8588125705718994, -0.09531901776790619, 0.17458055913448334, -0.3618004024028778, -0.4425937235355377, -0.10264614969491959, -0.0005384734249673784, -0.7552433013916016, -0.059060897678136826, 0.18159836530685425, -0.2985486090183258, -0.71342533826828, 0.2298993617296219, -0.7745891213417053, -0.6290348172187805, -0.1406063735485077, 0.14782458543777466, -0.5165461897850037, -0.5136107802391052, -0.4120243191719055, -0.0023084324784576893, 0.08619864284992218, 0.07990969717502594, -1.016312837600708, -0.1543254554271698, 0.8020584583282471, 0.6776162981987, -0.23353885114192963, -0.15335115790367126, -0.9664190411567688, 0.47421982884407043, -0.2969202697277069, 0.9624345302581787, -0.6192920207977295, -0.5102589130401611, -0.09266113489866257, -0.31985151767730713, 0.23991602659225464, -0.5300911664962769, 0.2864292562007904, -0.3278445303440094, 0.26259350776672363, -0.10113471001386642, -0.5166680812835693, -0.3865717053413391, 0.05560971423983574, -0.7419794201850891, 1.5651507377624512, 0.23250144720077515, -0.996825098991394, 0.6644546389579773, -0.6882811188697815, -0.4921753406524658, 0.2799060046672821, -0.3643382787704468, -0.5474197864532471, 0.18525564670562744, 0.5128059983253479, 0.6739163398742676, -0.4417085647583008, 0.7310333847999573, -0.5559307932853699, -0.28850042819976807, 0.20962436497211456, -0.2845405340194702, 0.3046821653842926, 0.2841758131980896, -0.2908647358417511, 0.08877890557050705, -0.8703309893608093, 0.08954621106386185, 0.17094653844833374, -0.47268617153167725, -0.033069904893636703, -0.04329199716448784, 0.15864473581314087, 0.11797629296779633, 0.26476797461509705, -0.34851107001304626, 0.025685638189315796, -0.44488492608070374, 0.31123074889183044, 0.5603340268135071, 0.22819823026657104, 0.635188639163971, -0.46546223759651184, 0.6435016989707947, -0.3219512104988098, -0.292195588350296, -0.4664711058139801, -0.24432218074798584, -0.602273166179657, -0.31764423847198486, 0.521291196346283, 0.5666046142578125, -1.0109282732009888, 0.5871455669403076, -0.28439033031463623, -0.31463539600372314, -0.28195199370384216, 0.3308764398097992, 0.22436919808387756, 0.4757078289985657, -0.08785103261470795, 0.1943606734275818, -0.4772805869579315, -0.6362897157669067, -0.18069379031658173, -0.2192312628030777, -0.20319531857967377, 0.370852530002594, 0.1770397275686264, -0.23108913004398346, 1.212241530418396, -0.589918851852417, -0.11960611492395401, -0.4869893193244934, 0.2548946440219879, 0.08918445557355881, 0.12440089881420135, 0.5717769861221313, -0.9996300935745239, -0.22325453162193298, 0.26221123337745667, -0.7662105560302734, -0.3552408218383789, -0.20404542982578278, -0.18640804290771484, 0.4077257812023163, 0.4529014229774475, -0.4352680742740631, 0.28359127044677734, 0.5410662293434143, -0.22852452099323273, 0.1223357766866684, -0.08673910796642303, 0.05158539116382599, -1.3925575017929077, 0.2197716385126114, 0.12187176942825317, -0.4169369637966156, -0.39112406969070435, -0.15867650508880615, 0.009592032991349697, -0.33156225085258484, -0.20020250976085663, 0.890842854976654, -0.5266206860542297, -0.12724114954471588, -0.3231803774833679, 0.0905124843120575, 0.06809497624635696, 0.4516213536262512, -0.0314520001411438, 0.7168722748756409, 0.3243296444416046, -0.5370451807975769, 0.24315281212329865, 0.18830420076847076, -0.01834007166326046, 0.13651491701602936, -0.1086757704615593, 0.19197554886341095, -0.06820111721754074, -0.16379164159297943, -0.7745009064674377, -0.6064465045928955, 0.044452689588069916, -0.7725263237953186, 0.575896143913269, -0.264890193939209, -0.6991680264472961, -0.09314097464084625, -0.27329811453819275, -0.00422359025105834, 0.3719854950904846, -0.7676829099655151, 0.7524648904800415, 0.5202587842941284, -0.5186120867729187, -0.5810478329658508, -0.6768073439598083, 0.13130520284175873, -0.2931056320667267, -0.8842585682868958, 0.38490810990333557, 0.1597813367843628, -0.05037949979305267, 0.15199631452560425, -0.07815223932266235, 0.0158443171530962, 0.10468938946723938, 0.4287220239639282, 0.02569665014743805, -0.12253230065107346, 0.6217825412750244, 0.06449901312589645, -0.23861739039421082, -0.10744782537221909, -0.04645591229200363, 0.5307121276855469, 0.10799619555473328, -0.20197825133800507, 0.09317430853843689, 0.29742300510406494, 0.19562451541423798, -0.45486724376678467, 0.3049299716949463, 0.8946482539176941, -0.4275932013988495, -0.6948685646057129, -0.4548701047897339, -0.1507216840982437, -0.4786848723888397, 0.5380439758300781, -0.49745115637779236, -1.0260933637619019, 0.4523136019706726, -0.36402156949043274, 0.10200642794370651, 0.5458040833473206, 0.43873387575149536, -0.1236497089266777, 0.9655036330223083, 1.1273486614227295, 0.17736603319644928, 0.6001645922660828, -0.12738032639026642, 0.1505143791437149, -0.48934534192085266, 0.002819844987243414, -0.41020506620407104, -0.17304052412509918, -0.7847058176994324, -0.3089994490146637, 0.27938610315322876, 0.30604088306427, -0.05701194331049919, 0.032301776111125946, -0.5343689322471619, 0.32593485713005066, 0.4023584723472595, 0.2572087049484253, 0.22307784855365753, 0.11003363132476807, -0.07167817652225494, 0.13297909498214722, -0.7394326329231262, -0.585652232170105, 1.065037727355957, 0.2786285877227783, 0.6739284992218018, -0.2324984073638916, 0.9888993501663208, 0.24511714279651642, 0.4482010006904602, -0.6694861650466919, 0.5452715158462524, -0.3354761302471161, -0.1524808704853058, -0.2564045488834381, -0.49974021315574646, -0.6986908912658691, -0.1694331169128418, -0.7697662115097046, -0.4665836989879608, -0.29899173974990845, 0.14862917363643646, -0.0648561641573906, 0.2763838768005371, -0.8587868213653564, 0.5244284272193909, -0.4289892315864563, -0.40182608366012573, 0.0954488217830658, -0.1558537781238556, 0.37721654772758484, -0.4094372093677521, 0.0818333700299263, -0.057009872049093246, -0.08216065168380737, 0.3896811902523041, -0.483646959066391, 0.6412584781646729, -0.18115375936031342, -0.05099702998995781, 0.2168862670660019, 0.04426979273557663, 0.6878363490104675, 0.3150078356266022, -0.42789149284362793, 0.029278814792633057, -0.4896625876426697, 0.13072974979877472, -0.5810587406158447, 0.6770342588424683, -0.3993086516857147, -0.6742744445800781, -0.15021198987960815, -0.6724852919578552, -0.23850789666175842, 0.18176797032356262, 0.38578569889068604, 0.30417951941490173, -0.12708309292793274, 0.1730964183807373, 0.8049001693725586, -0.416559100151062, 0.604418158531189, -0.04007229581475258, -0.549368679523468, -0.5827267169952393, 0.9283006191253662, -0.015589232556521893, -0.09404270350933075, 0.6010777950286865, 0.09799160063266754, -0.3946061134338379, -0.6332906484603882, -0.658845841884613, 0.3377246558666229, -0.45373275876045227, -0.34871381521224976, -0.6765444874763489, -0.4388616681098938, -0.24243566393852234, -0.19618326425552368, -0.005845220759510994, -0.3461694121360779, -0.32009392976760864, -0.0899384394288063, 0.9270591735839844, 0.9916725754737854, 0.27732330560684204, 0.3028438985347748, -0.9342347383499146, 0.3986726701259613, 0.09877173602581024, 0.5061225295066833, -0.44605448842048645, -0.12795130908489227, -0.3340981900691986, -0.18881526589393616, -0.19652530550956726, -0.7526671290397644, 0.39426296949386597, 0.2390013188123703, 0.487251877784729, 0.18682795763015747, -0.03883945941925049, 0.28450310230255127, -0.3288489580154419, 0.5795974135398865, -0.11159799247980118, -0.8222744464874268, 0.6638160943984985, -0.6013028025627136, 0.4303610324859619, 0.06730883568525314, -0.12660184502601624, -0.3218553066253662, -0.5636785626411438, -0.635907769203186, -0.8555988073348999, 0.7458576560020447, 0.2925824820995331, -0.18067869544029236, 0.06505244970321655, 0.5949594378471375, 0.42368176579475403, 0.15768025815486908, -0.6743611097335815, -0.01229305099695921, -0.017747854813933372, -0.6383393406867981, 0.06212320178747177, -0.2496873140335083, 0.11472056061029434, 0.39746880531311035, 0.7455365061759949, -0.5059822797775269, 0.019965501502156258, 0.035420916974544525, -0.25846484303474426, -0.052175283432006836, 0.1178036779165268, 0.28429466485977173, 0.6505746841430664, 0.02192877046763897, -0.033560171723365784, 0.19689412415027618, -0.5107685923576355, -0.11057168245315552, 0.40961354970932007, -0.3882730305194855, 0.18837863206863403, 0.26046425104141235, 0.7815959453582764, -0.1538304090499878, -0.42280325293540955, 0.2584483027458191, 0.001173609052784741, -0.15061156451702118, -0.29240909218788147, 0.3868107795715332, 0.24640882015228271, 0.4284708797931671, 0.46808964014053345, 0.09143321216106415, 0.03468911722302437, 0.0035985754802823067, 0.46964994072914124, 0.4121488630771637, -0.26367294788360596, 0.04788244515657425, 0.6855210065841675, 0.2399044930934906, -0.1803271770477295, 0.13173876702785492, -0.005491243675351143, -0.2589908838272095, 0.6875814199447632, 0.1504410356283188, 1.0978156328201294, -0.008130624890327454, 0.2522294521331787, 0.3578800559043884, 0.09624077379703522, -0.005275136325508356, 0.2420199066400528, -0.15107685327529907, -0.5526300668716431, -0.6504293084144592, -0.8776240944862366, -0.3022584319114685, 0.2656387388706207, -0.20565250515937805, 0.7299182415008545, -0.4286576211452484, -0.3105280101299286, -0.051833625882864, -0.10283632576465607, -0.6380431652069092, 0.22253155708312988, 0.2520195245742798, 0.6958757638931274, -0.48336997628211975, 0.8198509216308594, 0.7828924655914307, -0.2844291925430298, -0.7524511814117432, 0.1566387265920639, -0.007008419372141361, -0.6848428249359131, 0.5648880004882812, 0.350969523191452, -0.18113647401332855, -0.0040555112063884735, -0.3236759901046753, -0.8805127143859863, 1.1498876810073853, 0.6441826820373535, -0.2953945994377136, 0.03541010245680809, 0.4222341775894165, 0.34227293729782104, -0.5972753167152405, 0.0892128199338913, 0.24690966308116913, 0.4255707263946533, 0.2917020916938782, -0.6383165717124939, 0.10497809201478958, -0.3882492780685425, 0.43311142921447754, 0.47338685393333435, -0.4112407863140106, 0.46893662214279175, -0.31324276328086853, -0.3020164966583252, -0.12927211821079254, 0.6288222074508667, 0.35704007744789124, 0.21937818825244904, 0.5545976758003235, 0.5573474764823914, 0.7561367154121399, -0.23817294836044312, 0.8003053069114685, -0.3984021842479706, 0.22748298943042755, 1.162691593170166, -0.16226737201213837, 0.7087013721466064, 0.24269966781139374, 0.28166109323501587, 0.1801493763923645, 0.782212495803833, -0.1489139050245285, 0.2866125702857971, -0.004133075941354036, -0.38256263732910156, -0.1908651441335678, -0.041820038110017776, -0.17299023270606995, 0.6113359332084656, 0.3655009865760803, -0.674389660358429, -0.35320258140563965, 0.1020052507519722, -0.03148966655135155, 0.21015200018882751, -0.27200573682785034, 0.9781529307365417, -0.13785068690776825, -0.48724669218063354, 0.45359891653060913, -0.05944078415632248, 0.7474235892295837, -0.5565048456192017, -0.30524417757987976, -0.31592312455177307, 0.13519734144210815, -0.3631671071052551, -1.0253863334655762, 0.29310861229896545, 0.3471125662326813, -0.540381908416748, -0.5159989595413208, 1.0512601137161255, -0.5702202916145325, -0.47642263770103455, 0.09863743185997009, 0.5055966377258301, -0.07390853762626648, -0.28608015179634094, -0.45481517910957336, -0.1404731273651123, 0.24645449221134186, -0.4695320427417755, 0.25318413972854614, 0.9957860708236694, -0.2410091757774353, 0.8122413754463196, 0.697484016418457, 0.19681237637996674, -0.08670005947351456, 0.07432600110769272, 0.7363796234130859, -0.901871383190155, -0.5627877116203308, -0.7279001474380493, 0.6363375782966614, -0.09447064995765686, -0.04744207113981247, 0.26517292857170105, 0.6469884514808655, 0.7375434637069702, 0.10000094771385193, 1.1948174238204956, -0.12392556667327881, 0.734941303730011, -0.7098486423492432, 1.0224783420562744, -0.4159756004810333, 0.352272629737854, -0.0016457708552479744, -1.1360044479370117, -0.23767408728599548, 0.16813431680202484, 0.0077782138250768185, 0.3106885850429535, 0.6048420667648315, 0.9003573656082153, 0.11351905763149261, 0.1759210079908371, 0.29215145111083984, 0.11413470655679703, 0.4773586690425873, 0.3355226516723633, 0.5114997625350952, -0.2709110975265503, 0.8047071099281311, -0.13324898481369019, -0.17946213483810425, -0.004263315815478563, -1.0146878957748413, -0.9863966107368469, -0.7356936931610107, -0.18051230907440186, -0.04539711773395538, -0.255147784948349, 0.8309425115585327, 0.6066193580627441, -0.5296061635017395, 0.045208241790533066, -0.21397218108177185, 0.3293236494064331, 0.2312859445810318, -0.3049018383026123, 0.38229310512542725, -0.572861909866333, -0.6730765700340271, 0.11581944674253464, 0.4805092513561249, 0.058900490403175354, -0.25983062386512756, -0.010914248414337635, -0.019242383539676666, -0.3498847186565399, 0.5032413005828857, 0.09026607871055603, -0.5229536890983582, -0.3851874768733978, -0.04678677022457123, -0.08880599588155746, 0.1551998257637024, 0.769760251045227, -0.9810374975204468, 0.3286258578300476, 0.5683553218841553, 0.8843075633049011, 0.6852148175239563, -0.1753513067960739, 0.8121962547302246, -0.9264878034591675, 0.1826893389225006, 0.12030955404043198, 0.3185717761516571, 0.630682110786438, -0.8700556755065918, 0.7031098008155823, 0.09495462477207184, -0.48128363490104675, -0.6055751442909241, 0.29044535756111145, -0.6789343357086182, -0.26940223574638367, 1.2117999792099, 0.08854595571756363, -0.3802264630794525, 0.07332933694124222, -0.23181647062301636, 0.4074563980102539, -0.3527388572692871, 0.6807120442390442, 0.591594398021698, -0.19977079331874847, -0.4919282793998718, -0.5268391370773315, 0.8532446026802063, -0.12788927555084229, -1.0275129079818726, 0.23959510028362274, 0.5096083283424377, 0.2986466586589813, -0.1486491560935974, 0.2858152985572815, -0.17925925552845, 0.11762761324644089, -0.0957193449139595, 0.44212740659713745, -0.2545253336429596, -0.15843364596366882, -0.0988999530673027, 0.30034080147743225, 0.1745861917734146, 0.08059640973806381 ]
http://arxiv.org/abs/2406.11176v1
http://arxiv.org/pdf/2406.11176v1
Watch Every Step! LLM Agent Learning via Iterative Step-Level Process Refinement
2024-06-17T03:29:13
2024-06-17T03:29:13
Weimin Xiong, Yifan Song, Xiutian Zhao, Wenhao Wu, Xun Wang, Ke Wang, Cheng Li, Wei Peng, Sujian Li
cs.CL
cs.CL, cs.AI
Large language model agents have exhibited exceptional performance across a range of complex interactive tasks. Recent approaches have utilized tuning with expert trajectories to enhance agent performance, yet they primarily concentrate on outcome rewards, which may lead to errors or suboptimal actions due to the absence of process supervision signals. In this paper, we introduce the Iterative step-level Process Refinement (IPR) framework, which provides detailed step-by-step guidance to enhance agent training. Specifically, we adopt the Monte Carlo method to estimate step-level rewards. During each iteration, the agent explores along the expert trajectory and generates new actions. These actions are then evaluated against the corresponding step of expert trajectory using step-level rewards. Such comparison helps identify discrepancies, yielding contrastive action pairs that serve as training data for the agent. Our experiments on three complex agent tasks demonstrate that our framework outperforms a variety of strong baselines. Moreover, our analytical findings highlight the effectiveness of IPR in augmenting action efficiency and its applicability to diverse models.
[ -0.1410278081893921, -0.36303046345710754, 0.40008899569511414, -0.226577490568161, 0.005557016469538212, 0.47371482849121094, 0.036614663898944855, -0.05458413437008858, -0.1501634120941162, 0.6326151490211487, -0.7248688340187073, -0.6847807765007019, -0.6364169716835022, -0.04711885005235672, -0.10407412052154541, 1.0193814039230347, -0.2985975742340088, 0.14527302980422974, -0.0401793010532856, 0.3392588794231415, -0.07634153962135315, 0.0422305092215538, -1.309432029724121, -0.791670024394989, 0.7696747779846191, 0.770984411239624, 0.29177725315093994, 0.7210070490837097, 0.525788426399231, 0.42797163128852844, 0.05707671120762825, 0.5564866065979004, -0.7318716049194336, 0.2574107050895691, -0.43074148893356323, -0.3202510476112366, -0.43591946363449097, -0.07862890511751175, 0.4363832175731659, 0.3349821865558624, -0.3443157970905304, 0.00277149211615324, 0.03983999416232109, 0.8108683824539185, -0.5795313715934753, 0.5536748170852661, -0.6051468253135681, 0.11801455914974213, 0.10371822863817215, -0.7469877600669861, -0.39011290669441223, -0.1034778356552124, -0.20013312995433807, -0.5967589616775513, 0.48263081908226013, -0.09028614312410355, 0.6399518251419067, 0.5109973549842834, -0.5288198590278625, -0.22430337965488434, -0.8272827863693237, 0.4596906900405884, -0.525506317615509, -0.005453855264931917, 0.10472345352172852, 0.4647524952888489, -0.41875341534614563, -0.6293807029724121, -0.3580356240272522, -0.6134187579154968, 0.2164415419101715, -0.005396020598709583, 0.011474011465907097, 0.4991280734539032, 0.5243163108825684, 0.15212003886699677, -0.17670655250549316, 0.12048865109682083, -0.21624642610549927, -0.03431858494877815, 0.8055834174156189, 0.39944806694984436, -0.003432587021961808, 0.6068277955055237, -0.24817390739917755, -0.6230536103248596, -0.6041946411132812, 0.503180742263794, 0.3793928623199463, 0.510292649269104, 0.2347956895828247, 0.41492149233818054, -0.4754325747489929, 0.4455086290836334, 0.36252161860466003, -0.38574153184890747, 0.1154933050274849, -0.013662219047546387, 0.1513376533985138, 0.026738811284303665, 0.5373978614807129, 0.1760154366493225, 0.3433823585510254, -0.23421400785446167, -0.5024765729904175, -0.32868045568466187, 0.6268157362937927, -0.9187400341033936, -0.28255319595336914, 0.2663392722606659, 0.24164478480815887, -0.3429764211177826, -0.06653246283531189, -0.24616731703281403, -0.6844775676727295, -0.48429563641548157, 0.6147158145904541, -0.46608617901802063, -0.16192002594470978, 0.018075060099363327, 0.02432473562657833, 0.4600207209587097, 0.7508886456489563, -0.506494402885437, 0.28548508882522583, 0.9855236411094666, 0.5025961399078369, -0.0208066888153553, -0.4960015118122101, -1.04103422164917, 0.06360232084989548, -0.6551101207733154, 0.9969924092292786, -0.7164520621299744, -0.03477230668067932, -0.003499826416373253, -0.15913090109825134, -0.20126889646053314, -0.7418963313102722, 0.3753441870212555, -0.4863857924938202, -0.3800157904624939, -0.28590500354766846, -0.44896888732910156, -0.35056254267692566, 0.3743417263031006, -0.5240263342857361, 0.8331388831138611, -0.0337851345539093, -0.40847310423851013, 0.5626457333564758, -0.8774968385696411, -0.42648884654045105, -0.08802125602960587, 0.004172520246356726, -0.45340093970298767, -0.020270345732569695, 0.19739724695682526, 0.4778893291950226, -0.13925811648368835, -0.00578520679846406, -0.09115215390920639, -0.6018586754798889, -0.01818310283124447, -0.06217117980122566, 0.16529656946659088, 0.12670111656188965, -0.48713141679763794, 0.5847574472427368, -0.9706886410713196, 0.0012994681019335985, -0.1633739173412323, -0.37139827013015747, 0.26012033224105835, 0.08860103040933609, -0.580995500087738, 0.2592158019542694, -0.041350383311510086, -0.42618048191070557, 0.2577391266822815, -0.1692836433649063, 0.08241801708936691, 0.8600748181343079, 0.2528376281261444, 0.3961068093776703, -0.4998740255832672, 0.6815761923789978, 0.30650562047958374, 0.012887236662209034, -0.4816226065158844, -0.08559288084506989, -0.8895477056503296, -0.515120267868042, 0.013568916358053684, 0.5197121500968933, -0.9039278030395508, 0.28939348459243774, -0.12828761339187622, -0.5047324895858765, -0.7358749508857727, 0.18685778975486755, 0.30849114060401917, 0.4230499863624573, 0.22567686438560486, -0.2610679268836975, -0.1062435582280159, -0.6013837456703186, -0.18233877420425415, -0.1557229906320572, -0.046354927122592926, -0.16160354018211365, 0.5034134387969971, -0.0692516565322876, 0.6762181520462036, 0.04158797860145569, -0.17187532782554626, -0.2814236283302307, 0.5900118350982666, -0.0030016014352440834, 0.5205538272857666, -0.13231387734413147, -0.41920676827430725, -0.48794516921043396, 0.1928081214427948, -0.522518515586853, -0.046310167759656906, -0.41487422585487366, -0.1499699056148529, -0.0681990310549736, 0.6333311200141907, -0.3737544119358063, 0.4728296101093292, 0.033088646829128265, -0.2420589178800583, 0.1806378960609436, -0.411233127117157, 0.30077123641967773, -0.6530491709709167, -0.07697921991348267, 0.10024860501289368, -0.4225931763648987, -0.8436193466186523, 0.31938740611076355, -0.09653333574533463, 0.06939811259508133, -0.34974703192710876, 0.5317078232765198, -0.5001447200775146, -0.19485384225845337, -0.6467991471290588, 0.020921770483255386, -0.21605466306209564, 0.6709495782852173, -0.02546234428882599, 0.6784518361091614, 0.6860103011131287, -0.7159289717674255, 0.4072493612766266, -0.1615777313709259, -0.1974228173494339, 0.5494050979614258, -0.517008364200592, 0.31840866804122925, -0.49667710065841675, 0.22981953620910645, -1.0983644723892212, 0.013037498109042645, 0.43819963932037354, -0.4405320882797241, 0.6289010047912598, -0.07508067786693573, -0.49185699224472046, -0.10134904831647873, -0.31551623344421387, -0.07335418462753296, 0.2081473022699356, -0.43062469363212585, 0.8871312737464905, -0.1484283208847046, 0.08113764226436615, -0.7718899846076965, -0.1632402390241623, 0.012461861595511436, -0.059542302042245865, -0.403917521238327, 0.04488111287355423, -0.22647112607955933, -0.30961641669273376, -0.34145575761795044, -0.3074999153614044, 0.0874055027961731, 0.21435947716236115, 0.3414609134197235, -0.35596850514411926, 0.2377656251192093, -0.08910025656223297, -0.009747722186148167, -0.28281787037849426, -0.05176857113838196, -0.10818774253129959, 0.41565021872520447, 0.014678659848868847, -0.7172700762748718, -0.5925173759460449, 0.07314170897006989, 0.400595486164093, -0.2737200856208801, 0.4525465667247772, 0.8264150619506836, -0.10536971688270569, -0.4329885244369507, -0.526703417301178, -0.3758322298526764, -0.5087786912918091, 0.3544822633266449, -0.6697108745574951, -0.7741850018501282, 0.4984695017337799, -0.2787630558013916, 0.33511149883270264, 0.06890201568603516, 0.39835599064826965, -0.12815533578395844, 1.1588252782821655, 0.7334701418876648, 0.14686934649944305, 0.5968436598777771, -0.38496214151382446, 0.23796504735946655, -0.5217921733856201, -0.4887644350528717, -0.3762839734554291, -0.3931671380996704, -0.49266883730888367, -0.7242896556854248, 0.35111042857170105, 0.18472778797149658, -0.5924311280250549, 0.028370732441544533, -0.16565118730068207, 0.6176642179489136, 0.45778587460517883, 0.2132910192012787, 0.3480466306209564, 0.2158566564321518, -0.06319911032915115, 0.20422741770744324, -0.7466273903846741, -0.5541173219680786, 0.9641581177711487, 0.41144636273384094, 0.8245508074760437, -0.27968040108680725, 0.8699620366096497, 0.4786745607852936, 0.4889311194419861, -0.7367637157440186, 0.7051109671592712, 0.28696390986442566, -0.1000269204378128, -0.42683547735214233, -0.34187012910842896, -0.8604822158813477, 0.32699114084243774, -0.025338025763630867, -0.5560389757156372, 0.0023990648332983255, 0.2872799038887024, -0.10912446677684784, 0.3251006007194519, -0.2719029486179352, 0.591923177242279, -0.05808693543076515, -0.6673281192779541, -0.5646868348121643, -0.40473267436027527, -0.06283000111579895, 0.05872311443090439, -0.011232626624405384, -0.2293681502342224, -0.22304902970790863, 0.2590571641921997, -0.6398611068725586, 0.7740419507026672, -0.3727395236492157, -0.27724313735961914, 0.17842534184455872, 0.231304332613945, 1.0390069484710693, -0.25027281045913696, -0.26896584033966064, -0.20896205306053162, -0.5585976243019104, -0.6326810121536255, -0.5860760807991028, 0.38889431953430176, -0.5338082909584045, -0.7137418389320374, -0.2777227759361267, -0.6060618758201599, -0.28064385056495667, -0.10399671643972397, -0.0319807343184948, 0.2178284227848053, 0.162638857960701, -0.15161533653736115, 0.8186037540435791, 0.07899019867181778, 0.3052188754081726, 1.0711251497268677, 0.11418383568525314, -0.24995176494121552, 0.7148772478103638, -0.19260495901107788, 0.2416890263557434, 0.748688817024231, -0.1718069463968277, -0.08138399571180344, -0.816534161567688, -0.24121731519699097, 0.14195415377616882, -0.8452903032302856, -0.08684195578098297, -0.4035797715187073, -0.11370710283517838, -0.19181586802005768, -0.2249596118927002, -0.4556533694267273, 0.04810233786702156, -0.06359900534152985, -0.40178319811820984, 0.34263330698013306, 0.7896103262901306, -0.2637781798839569, 0.5248870849609375, -0.5314793586730957, 0.052277762442827225, 0.2911272346973419, 0.1466776430606842, 0.08062732964754105, -0.6085827350616455, -0.4656932055950165, -0.044950585812330246, -0.33199620246887207, -0.36077749729156494, 0.36884042620658875, 0.24583080410957336, 0.7630912661552429, 0.5354585647583008, 0.02847367152571678, 0.7555535435676575, -0.6029109358787537, 0.49869996309280396, -0.059408027678728104, -0.708541989326477, 0.4816811680793762, -0.31664666533470154, 0.2794478237628937, 0.5887029767036438, 0.5134928822517395, -0.2013014256954193, -0.545301616191864, -0.49597397446632385, -1.0891215801239014, 0.870441198348999, 0.058294132351875305, -0.1676405519247055, 0.28976401686668396, 0.6162415742874146, 0.01917397789657116, 0.3937229812145233, -0.5310288667678833, -0.11543448269367218, 0.16897991299629211, -0.057899296283721924, -0.267473042011261, 0.13920843601226807, -0.38030150532722473, -0.1986677199602127, 0.7943258881568909, -0.2990557551383972, 0.20218977332115173, 0.08112829923629761, -0.11515013128519058, -0.5051658749580383, 0.06343810260295868, 0.48624250292778015, 0.8525263667106628, -0.1345033496618271, -0.0368896909058094, 0.10005446523427963, -0.03355766087770462, 0.3141748905181885, 0.2148873656988144, 0.15352290868759155, -0.25544121861457825, 0.5502320528030396, 1.045115351676941, 0.11622701585292816, -0.8295899033546448, 0.29412075877189636, 0.024583758786320686, -0.3018134832382202, -0.2844528555870056, 0.5059170722961426, -0.20388799905776978, 0.893310010433197, 0.4813762903213501, -0.10799885541200638, 0.22031384706497192, -0.6135100722312927, 0.3617142140865326, 0.232235848903656, -0.5379840135574341, -0.12999819219112396, 0.43947136402130127, 0.04744645953178406, -0.4423893392086029, 0.3941156566143036, -0.43501850962638855, -0.48543062806129456, 0.6248658895492554, 0.18506409227848053, 1.0292155742645264, -0.3324717879295349, 0.5169745087623596, 0.37292057275772095, 0.31825369596481323, -0.2950129508972168, 0.3168089985847473, -0.38077229261398315, -0.5834737420082092, -0.6457573771476746, -0.472492516040802, -0.7319157719612122, -0.009997055865824223, -0.40536075830459595, 0.1717270314693451, -0.4640262722969055, 0.198959618806839, -0.09935561567544937, 0.14701589941978455, -0.665984034538269, 0.3261687457561493, 0.009279349818825722, 0.8096904158592224, -0.7245290279388428, 0.8225204944610596, 0.9187011122703552, -0.46988338232040405, -0.7957155704498291, 0.1862286925315857, 0.028064316138625145, -0.9087086319923401, 0.7123216986656189, 0.08106771856546402, -0.5830979943275452, 0.17040495574474335, -0.6545737385749817, -0.7770866751670837, 1.2328497171401978, 0.20601513981819153, -0.655707597732544, -0.002505859127268195, 0.28410330414772034, 0.8274423480033875, -0.6577697992324829, 0.6070191264152527, 0.5067173838615417, 0.28890520334243774, 0.6839568614959717, -0.4694366157054901, -0.0971837043762207, -0.3178969919681549, 0.0741691067814827, -0.004647198598831892, -0.6122971773147583, 0.7510705590248108, -0.5466262102127075, 0.000928462715819478, -0.15614059567451477, 0.49589723348617554, 0.5362124443054199, 0.5899209380149841, 0.620783269405365, 0.45043325424194336, 0.7343900799751282, -0.08401753008365631, 0.8569623231887817, -0.531512439250946, 0.12410668283700943, 1.0334765911102295, -0.35905730724334717, 0.7162573337554932, 0.11604803800582886, 0.07095975428819656, 0.5672785043716431, 0.8649848699569702, 0.23230917751789093, 0.43085286021232605, 0.5219758152961731, -0.2914063632488251, -0.5202707052230835, -0.059693049639463425, 0.20609822869300842, 0.16853578388690948, 0.1871768832206726, -0.10567969083786011, -0.3625538945198059, 0.08378840982913971, 0.1694788783788681, 0.08619017153978348, -0.7523303031921387, 0.879533588886261, -0.07180186361074448, -0.6320546269416809, 0.4906790852546692, -0.20581260323524475, 0.30921441316604614, -0.7148820757865906, -0.35114771127700806, -0.3753907382488251, 0.4439062476158142, -0.1838751584291458, -0.5551168918609619, -0.23716038465499878, 0.11762034893035889, 0.15519504249095917, -0.3217112123966217, 0.5283864736557007, -0.5991215705871582, -0.09546321630477905, 0.3031103312969208, 0.1937432438135147, 0.2542044520378113, -0.3195241689682007, -0.7055802345275879, -0.21703509986400604, 0.04042435064911842, -0.39740872383117676, 0.314815491437912, 0.7192318439483643, 0.06950721889734268, 1.1564339399337769, 0.30885758996009827, 0.10218767076730728, -0.1517278403043747, 0.15021836757659912, 0.7737553119659424, -0.6499611139297485, -0.18964461982250214, -0.5757131576538086, 1.0037028789520264, -0.16309963166713715, 0.07341630011796951, 0.473257839679718, 0.3745766878128052, 1.047165036201477, 0.1604248583316803, 0.6313895583152771, 0.47255727648735046, 0.5101732015609741, -0.45327028632164, 0.16062837839126587, -0.628682017326355, 0.588956892490387, -0.0977751612663269, -0.8534459471702576, 0.08384827524423599, 0.5314470529556274, -0.22869965434074402, 0.21423687040805817, 0.5836746096611023, 1.0535999536514282, 0.19164502620697021, -0.3731071650981903, 0.37645506858825684, 0.14064070582389832, 0.5626506209373474, 0.3490767478942871, 0.8110008835792542, -0.18213576078414917, 0.4285149574279785, -0.282390296459198, -0.23487313091754913, -0.16055132448673248, -0.885524570941925, -0.7265481948852539, -0.3930187523365021, -0.671093761920929, -0.13972698152065277, 0.39025411009788513, 1.2579885721206665, 0.676437497138977, -0.8265519142150879, -0.5476772785186768, -0.15637147426605225, 0.0366668738424778, -0.5620719790458679, -0.13905562460422516, -0.10613854974508286, -0.7554143071174622, -0.9143304824829102, 0.6267030239105225, 0.2863845229148865, -0.202091783285141, -0.14643940329551697, -0.24348561465740204, 0.06246310472488403, 0.09433044493198395, 0.40070441365242004, 0.3451457917690277, -0.44834229350090027, -0.11923739314079285, -0.3458225727081299, 0.0075545418076217175, 0.21323932707309723, 0.9575865864753723, -0.5341745018959045, 0.5610125064849854, 0.42936721444129944, 0.41932135820388794, 0.8191032409667969, 0.07843372970819473, 0.6973950862884521, -0.6428487300872803, -0.09361928701400757, 0.1838838905096054, 0.05728207901120186, 0.3465504050254822, -0.22871805727481842, 0.7174037098884583, -0.13981787860393524, -0.6626699566841125, -0.6906880736351013, 0.1712729036808014, -0.8291744589805603, -0.03921039402484894, 1.097791075706482, -0.2604212462902069, -0.05290018022060394, 0.07475299388170242, -0.286522775888443, 0.4485238194465637, -0.8510949611663818, 0.9483891725540161, 0.4410287141799927, -0.5135043263435364, -0.48864805698394775, -0.44448229670524597, 0.6667808294296265, 0.04191580414772034, -0.787137508392334, 0.012826204299926758, 0.4238196611404419, 0.29380878806114197, -0.036750175058841705, 0.6738131046295166, 0.17345429956912994, 0.12973791360855103, -0.024304309859871864, 0.31028610467910767, -0.2766615152359009, -0.6702929735183716, -0.6836900115013123, 0.07867514342069626, 0.5071290135383606, -0.06527311354875565 ]
http://arxiv.org/abs/2406.11173v2
http://arxiv.org/pdf/2406.11173v2
BSRBF-KAN: A combination of B-splines and Radial Basic Functions in Kolmogorov-Arnold Networks
2024-06-17T03:26:02
2024-06-19T23:01:14
Hoang-Thang Ta
cs.CL
cs.CL
In this paper, we introduce BSRBF-KAN, a Kolmogorov Arnold Network (KAN) that combines Bsplines and radial basis functions (RBFs) to fit input vectors in data training. We perform experiments with BSRBF-KAN, MLP, and other popular KANs, including EfficientKAN, FastKAN, FasterKAN, and GottliebKAN over the MNIST and Fashion-MNIST datasets. BSRBF-KAN shows stability in 5 training sessions with a competitive average accuracy of 97.55% on MNIST and 89.33% on FashionMNIST and obtains convergence better than other networks. We expect BSRBF-KAN to open many combinations of mathematical functions to design KANs. Our repo is publicly available at: https://github.com/hoangthangta/BSRBF-KAN.
[ -0.5003301501274109, -0.643843948841095, 0.1972801238298416, 0.7147542834281921, -0.5873470306396484, 0.12199262529611588, -0.061352893710136414, -0.4184255003929138, 0.2690439820289612, 0.3532179594039917, -0.570314884185791, -0.4136727452278137, -0.36814817786216736, 0.13046181201934814, -0.3513503968715668, 0.9982302784919739, 0.03449403494596481, 0.7732937335968018, -0.09419386833906174, -0.5504408478736877, -0.3195289969444275, -0.3871713876724243, -0.40254753828048706, -0.45615071058273315, 0.9217207431793213, 0.35274505615234375, 0.5787734389305115, 0.5029858350753784, 0.5756598711013794, 0.17536894977092743, -0.001139034517109394, 0.008706548251211643, -0.5111743807792664, 0.5715160369873047, -0.15948715806007385, -0.2697370946407318, -0.007736867759376764, -1.073222041130066, 0.9121530652046204, 0.7283143401145935, -0.49914535880088806, 0.16169247031211853, -0.276773065328598, 0.9783634543418884, -0.5147560238838196, 0.005482414737343788, -0.28467100858688354, 0.0010765090119093657, 0.0123232901096344, 0.22627919912338257, -0.31647923588752747, -0.7532596588134766, 0.33653226494789124, -0.07824351638555527, -0.03262942284345627, 0.1967540681362152, 1.0895400047302246, 0.08143167197704315, -0.31501320004463196, -0.1940094381570816, -0.6070085167884827, 0.5738697052001953, -0.5185749530792236, 0.807332456111908, 0.1674647331237793, 0.8129561543464661, -0.14297793805599213, -0.7203185558319092, -0.23266549408435822, -0.12541703879833221, -0.011997544206678867, -0.03363490849733353, 0.0055577512830495834, 0.26443493366241455, 0.22879871726036072, 0.09826696664094925, -0.5986680388450623, -0.15364471077919006, -0.7866686582565308, -0.0213954858481884, 0.8098346590995789, -0.006260705646127462, -0.041759468615055084, -0.05244721844792366, -0.6792668700218201, -0.28246232867240906, -0.6110245585441589, -0.061054982244968414, 0.5726850032806396, 0.43123623728752136, 0.0694071352481842, 0.5890740752220154, -0.18349185585975647, 1.124490737915039, -0.27303940057754517, -0.013213861733675003, 0.16399303078651428, -0.010597217828035355, -0.6445110440254211, 0.354661226272583, 0.6838520765304565, 0.06734143197536469, 0.16440746188163757, -0.21730199456214905, -0.25611457228660583, -0.33688631653785706, 0.1122058853507042, -0.9625298380851746, -0.4145023822784424, -0.11989578604698181, -0.5660880208015442, -0.5900307297706604, 0.0985463485121727, -0.7792702913284302, -0.0976686030626297, -0.441184937953949, 0.842663049697876, -0.37662094831466675, -0.22243797779083252, -0.14028066396713257, -0.22071462869644165, 0.38036176562309265, 0.05274293199181557, -0.5314275622367859, 0.5141957402229309, 0.1615508794784546, 0.9353827238082886, 0.41585883498191833, -0.11894222348928452, -0.3625360429286957, -0.1868973672389984, -0.4961654543876648, 0.5803330540657043, -0.1281595379114151, -0.5679280757904053, 0.028455691412091255, -0.027472618967294693, 0.13814720511436462, -0.32908695936203003, 0.15207238495349884, -0.5511439442634583, -0.40728890895843506, -0.4861680567264557, -0.14701737463474274, -0.5805590152740479, 0.02358900010585785, -0.6799774169921875, 1.1273624897003174, 0.24192319810390472, -0.49833714962005615, 0.18339116871356964, -0.3454553782939911, -0.6896816492080688, 0.04456966370344162, -0.14047226309776306, -0.806024968624115, -0.1368342936038971, -0.15249989926815033, 0.5896720290184021, -0.14843402802944183, 0.2919676601886749, -1.0898431539535522, -0.32601889967918396, 0.3855091631412506, -0.12492880970239639, 0.8453549146652222, 0.19809725880622864, -0.10230223089456558, 0.0797307938337326, -1.1462931632995605, 0.2307692915201187, -0.019318681210279465, -0.24686382710933685, -0.049763258546590805, -0.24639518558979034, 0.49673956632614136, 0.03605161979794502, -0.07079915702342987, -0.3332659900188446, 0.08964020758867264, -0.0005120381247252226, 0.31931573152542114, 0.969547688961029, 0.11003867536783218, -0.024772951379418373, -0.6117874383926392, 0.5482101440429688, -0.4270695745944977, -0.2807559669017792, 0.19567465782165527, -0.5164982080459595, -0.34617742896080017, -0.638282060623169, 0.5960030555725098, 0.27756592631340027, -0.6704680919647217, 0.38675469160079956, 0.12398042529821396, -0.7825503349304199, 0.0811619982123375, 0.06593476235866547, 0.37704694271087646, 0.5646791458129883, 0.20141302049160004, -0.20254924893379211, -0.9557228684425354, -1.0684374570846558, 0.05900684371590614, -0.012750704772770405, 0.3757661283016205, 0.506803035736084, 0.39154213666915894, -0.3442907929420471, 0.929021954536438, -0.5182225704193115, -0.0026884169783443213, -0.26844435930252075, 0.11317526549100876, 0.2457374781370163, 0.37995046377182007, 0.8997344374656677, -0.7496730089187622, -0.87067049741745, 0.2908637225627899, -0.47891613841056824, -0.028122639283537865, 0.20394614338874817, -0.3891822397708893, 0.3430483639240265, -0.033991675823926926, -0.35516223311424255, 0.4424411952495575, 0.5914201140403748, -0.20048968493938446, 0.8811274766921997, -0.08098825812339783, -0.13718967139720917, -1.0945063829421997, 0.47844815254211426, 0.1465536504983902, -0.7022812366485596, -0.45039600133895874, -0.03212074562907219, -0.00745686748996377, -0.4577410817146301, -0.15957067906856537, 0.3483075201511383, -0.10146012902259827, -0.45866408944129944, 0.1984274685382843, -0.34784603118896484, -0.3219083249568939, 0.8479647040367126, -0.11678671091794968, 0.5095170736312866, 0.8323686718940735, -0.4970892369747162, 0.5256505012512207, 0.37832728028297424, -0.16983562707901, 0.44589677453041077, -0.8513866066932678, 0.2609758675098419, -0.33530062437057495, 0.11744790524244308, -1.23563814163208, -0.43227607011795044, 0.5282241702079773, -0.47173672914505005, 0.5628042817115784, -0.376681387424469, -0.366152822971344, -0.2899298071861267, -0.17819754779338837, 0.28027117252349854, 0.37638723850250244, -0.5670992136001587, 0.5910754799842834, 0.28488636016845703, 0.015538672916591167, -1.050586462020874, -0.636944055557251, -0.5727465152740479, 0.043718304485082626, -0.6787573099136353, -0.15995033085346222, -0.00503170071169734, 0.10531050711870193, 0.4443586468696594, -0.528363049030304, -0.4383103549480438, -0.11487255245447159, 0.23301109671592712, 0.45619866251945496, -0.5041220784187317, -0.17569932341575623, 0.060184724628925323, 0.4441158175468445, -0.22934864461421967, -0.23713164031505585, 0.6738759875297546, -0.4441632628440857, 0.11987114697694778, -0.23862797021865845, 0.1996137648820877, 0.6937365531921387, 0.1752326786518097, 0.9543271064758301, 0.5315465927124023, -0.5928404927253723, -0.39553138613700867, -0.1721089482307434, 0.05921689048409462, -0.45590314269065857, 0.5232264995574951, -0.1330345720052719, -0.6154327392578125, 0.5052508115768433, 0.26876139640808105, -0.11039836704730988, 0.056286606937646866, 0.3520267903804779, -0.2849469780921936, 0.9873148798942566, 0.467262864112854, 0.1278112232685089, 0.6013610363006592, -0.5114128589630127, 0.25399476289749146, -0.6896624565124512, -0.40242233872413635, -0.4597568213939667, -0.6921114325523376, -0.5633235573768616, -0.06188749521970749, 0.10130366683006287, 0.5672782063484192, -0.5337682962417603, 0.8544089198112488, -0.47512900829315186, 0.16113978624343872, 0.3189738094806671, 0.3346281945705414, -0.3609670400619507, 0.11171621829271317, -0.12749555706977844, 0.27499711513519287, -0.9804139137268066, 0.1288605034351349, 1.382580280303955, 0.42403581738471985, 1.0009491443634033, 0.2907143235206604, 0.657911479473114, 0.08142438530921936, 0.45737558603286743, -0.963674783706665, 0.5719532370567322, -0.049659788608551025, -0.7792010307312012, -0.44179555773735046, -0.7050080299377441, -0.5681347250938416, 0.19012509286403656, -0.4138808250427246, -0.6781841516494751, 0.5336608290672302, 0.6811728477478027, -0.2805628478527069, 0.10968288779258728, -0.8116110563278198, 0.560543954372406, -0.40186095237731934, -0.26737290620803833, -0.1164579838514328, -0.6978704333305359, 0.31026491522789, 0.166880264878273, -0.08648484200239182, 0.1378893107175827, 0.5792995095252991, 0.7845607995986938, -0.5573432445526123, 0.4821855425834656, -0.24597275257110596, 0.5596246123313904, 0.3802907168865204, -0.05585067346692085, 0.510493278503418, 0.24289238452911377, 0.20043371617794037, 0.30456477403640747, 0.2970430254936218, -0.3413201570510864, -0.6691777110099792, 0.5464681386947632, -0.7542182803153992, 0.1833067685365677, -0.5865461230278015, -0.1601831465959549, -0.22575734555721283, 0.5569825768470764, 0.17950180172920227, 0.9852443337440491, -0.0009849951602518559, 0.8607396483421326, 0.6669763922691345, 0.2950904071331024, 0.25378385186195374, -0.27470511198043823, -0.4709561765193939, -1.1389254331588745, 1.1471606492996216, 0.2515058219432831, 0.17389561235904694, 0.18641126155853271, 0.21469508111476898, -0.48002398014068604, -0.12984012067317963, -0.6613750457763672, 0.41167783737182617, -0.886851966381073, -0.5603692531585693, -0.1504700481891632, -0.5387555956840515, -0.1978704035282135, -0.212417870759964, -0.07322832942008972, -0.46882423758506775, 0.1631682813167572, 0.07706310600042343, 0.30766862630844116, 0.8930454850196838, -0.2701083719730377, 0.4114989638328552, -0.45470938086509705, -0.010551629588007927, 0.3439268171787262, 0.45807939767837524, 0.12983405590057373, 0.11348643898963928, -0.39898020029067993, 0.034645501524209976, -0.274337500333786, -1.0031993389129639, 0.2049979269504547, 0.12917138636112213, 0.5682680606842041, 0.45240485668182373, -0.37652388215065, 0.5324019193649292, -0.508249819278717, 0.07317554205656052, 0.7945016026496887, -0.6417532563209534, -0.13838498294353485, -0.49900123476982117, -0.23661457002162933, 0.3553801476955414, 0.6362882852554321, -0.4673589766025543, 0.10519276559352875, -0.5453611612319946, -0.6115769743919373, 0.7935699224472046, 0.5171212553977966, -0.5041235685348511, 0.4661839008331299, 0.13675320148468018, -0.156515970826149, 0.7624617218971252, -0.6017674207687378, -0.5546576380729675, -0.7502980828285217, -0.6587846279144287, 0.22718626260757446, -0.21507088840007782, -0.29272836446762085, -0.33964142203330994, 0.7330631613731384, 0.009426169097423553, 0.6549627184867859, 0.3712040185928345, -0.055584073066711426, -0.32659247517585754, -0.45615729689598083, 1.0403423309326172, 0.9896831512451172, -0.5946782827377319, -0.11060668528079987, 0.10182211548089981, -0.5949388742446899, 0.0616510845720768, 0.18432392179965973, -0.0196377020329237, 0.21747492253780365, 0.15663088858127594, 1.1194748878479004, 0.47506943345069885, -0.36008819937705994, 0.10087976604700089, -0.02074931189417839, -0.34679460525512695, -0.30200615525245667, 0.1667434275150299, -0.02504674158990383, 0.18474896252155304, 0.29932406544685364, 0.6733210682868958, -0.15150244534015656, -0.5537620186805725, 0.5465142130851746, 0.4383350908756256, -0.40194928646087646, -0.337179571390152, 0.30467766523361206, -0.06511461734771729, -0.7050319314002991, 0.15671293437480927, -0.06823484599590302, -0.7297439575195312, 0.7935689091682434, 0.6865146160125732, 0.6959762573242188, -0.134974867105484, 0.16011185944080353, 0.6926657557487488, 0.14340737462043762, -0.240382581949234, 0.14697368443012238, -0.37002497911453247, -0.6248610019683838, -0.23228104412555695, -0.8551934957504272, -0.3426542282104492, 0.21317324042320251, -0.8602357506752014, 0.6410906314849854, -1.033841609954834, -0.08221534639596939, -0.06006500497460365, -0.05377136543393135, -0.6151543855667114, 0.31762731075286865, -0.08012521266937256, 0.9125988483428955, -0.6314361691474915, 0.48389190435409546, 1.0124105215072632, -0.28562048077583313, -0.8792513608932495, -0.15883755683898926, -0.4315403401851654, -0.8677010536193848, 0.6757335662841797, 0.2427920252084732, -0.24916335940361023, 0.12051192671060562, -0.526007890701294, -1.0562468767166138, 1.2599501609802246, 0.28955215215682983, -0.6872271299362183, -0.08681627362966537, -0.3364468514919281, 0.23653027415275574, -0.061667587608098984, -0.16990838944911957, 0.13285566866397858, 0.2291851043701172, 0.5082288980484009, -0.3845285177230835, -0.271034836769104, 0.02315998077392578, 0.40212637186050415, 0.500146210193634, -0.7170054912567139, 0.3246816396713257, 0.145948588848114, 0.13953058421611786, 0.2879940867424011, 0.45714208483695984, 0.61875981092453, 0.26665395498275757, 0.4929625391960144, 0.813771665096283, 0.4912288188934326, -0.10856474190950394, 0.492311954498291, -0.14424379169940948, 0.9097645282745361, 0.7527667880058289, 0.07004741579294205, 0.5532696843147278, 0.220052108168602, -0.25063735246658325, 0.7672858834266663, 0.5698370933532715, -0.020792409777641296, 0.9414560198783875, 0.34864139556884766, -0.17914482951164246, -0.1739206165075302, 0.7029280066490173, -0.47364553809165955, -0.0325046144425869, 0.36055558919906616, -0.036553606390953064, -0.41081297397613525, 0.061286214739084244, -0.18507562577724457, -0.41098058223724365, -0.39354807138442993, 0.15856948494911194, 0.24407926201820374, -0.22889260947704315, 0.5592175126075745, -0.05599457025527954, 0.14903049170970917, -1.0592914819717407, -0.21962714195251465, 0.08663450926542282, 0.036791227757930756, -0.18231524527072906, -0.6915417909622192, 0.3118000626564026, -0.4139385521411896, -0.08491102606058121, 0.14615032076835632, 0.9274852275848389, -0.4215804934501648, -0.689550518989563, 0.16299965977668762, -0.5432407259941101, -0.14975222945213318, 0.6644513607025146, -0.5212823152542114, 0.26226842403411865, -0.039410483092069626, -0.04444555938243866, 0.04315320774912834, 0.2739700973033905, 0.11178621649742126, 0.7353763580322266, 0.8824998140335083, 0.306972861289978, 0.32755550742149353, -0.3977471590042114, 0.5619330406188965, -0.36287280917167664, -0.590343713760376, -0.5503597259521484, 0.615898847579956, -0.25069549679756165, -0.5506914258003235, 0.30083975195884705, 0.3720282316207886, 0.7992904782295227, -0.09800374507904053, 0.643496036529541, -0.36637482047080994, 0.2208593636751175, -0.49858012795448303, 1.0184282064437866, -0.5820576548576355, -0.3031483292579651, -0.1572740226984024, -1.0058012008666992, -0.3976972699165344, 1.2256381511688232, 0.10569457709789276, 0.16702251136302948, 0.520776629447937, 0.7190538644790649, -0.21954314410686493, -0.033061783760786057, 0.3785143792629242, 0.0661129429936409, 0.047759760171175, 0.1493382453918457, 0.4349573850631714, -0.39428427815437317, 0.4712296724319458, -0.6291431784629822, -0.08218157291412354, -0.7658511996269226, -0.7188447713851929, -1.1406234502792358, -0.8219759464263916, -0.02359871380031109, -0.6364570260047913, 0.20922371745109558, 1.1346890926361084, 1.003455400466919, -0.8295985460281372, -0.32123270630836487, -0.5959525108337402, 0.2387862652540207, -0.3400135934352875, -0.2171953171491623, 0.4046005606651306, -0.3304474651813507, -0.10709827393293381, 0.09834261983633041, 0.2590455412864685, 0.14222374558448792, -0.3227136433124542, -0.3438114821910858, -0.17055509984493256, 0.2121080607175827, 0.46814629435539246, 0.624016523361206, -0.09806090593338013, -0.29542237520217896, 0.2078833132982254, 0.15802131593227386, -0.17314346134662628, 0.6634259223937988, -0.5985922813415527, 0.5682597160339355, 0.608893871307373, 0.8976494073867798, 0.6233764886856079, -0.03153218328952789, 0.7508581876754761, -0.7886031270027161, 0.25725409388542175, 0.4007326364517212, 0.5637444257736206, 0.2589839696884155, -0.3710090219974518, 0.3437568247318268, 0.5767408609390259, -0.6762977838516235, -1.5208760499954224, 0.2926744818687439, -1.0741080045700073, 0.00187120889313519, 0.9255678653717041, 0.18323908746242523, -0.6561353206634521, 0.2565106153488159, -0.3473726511001587, 0.25173068046569824, -0.3596521317958832, 0.5099250674247742, 0.9766000509262085, -0.17131765186786652, -0.16180045902729034, -0.278672456741333, 0.6071247458457947, 0.30094394087791443, -0.13892626762390137, -0.5098627805709839, 0.13268034160137177, 0.6108816862106323, 0.026573024690151215, 0.4019765853881836, 0.24148981273174286, 0.7745185494422913, -0.23453016579151154, -0.08399055153131485, -0.3612585663795471, -0.700169563293457, -0.3829787075519562, -0.12900099158287048, 0.08018772304058075, -0.4636666476726532 ]
http://arxiv.org/abs/2406.11172v1
http://arxiv.org/pdf/2406.11172v1
Enhancing Criminal Case Matching through Diverse Legal Factors
2024-06-17T03:23:11
2024-06-17T03:23:11
Jie Zhao, Ziyu Guan, Wei Zhao, Yue Jiang
cs.CL
cs.CL
Criminal case matching endeavors to determine the relevance between different criminal cases. Conventional methods predict the relevance solely based on instance-level semantic features and neglect the diverse legal factors (LFs), which are associated with diverse court judgments. Consequently, comprehensively representing a criminal case remains a challenge for these approaches. Moreover, extracting and utilizing these LFs for criminal case matching face two challenges: (1) the manual annotations of LFs rely heavily on specialized legal knowledge; (2) overlaps among LFs may potentially harm the model's performance. In this paper, we propose a two-stage framework named Diverse Legal Factor-enhanced Criminal Case Matching (DLF-CCM). Firstly, DLF-CCM employs a multi-task learning framework to pre-train an LF extraction network on a large-scale legal judgment prediction dataset. In stage two, DLF-CCM introduces an LF de-redundancy module to learn shared LF and exclusive LFs. Moreover, an entropy-weighted fusion strategy is introduced to dynamically fuse the multiple relevance generated by all LFs. Experimental results validate the effectiveness of DLF-CCM and show its significant improvements over competitive baselines. Code: https://github.com/jiezhao6/DLF-CCM.
[ -0.378227561712265, -0.5283513069152832, 0.8228864073753357, 0.13969194889068604, -0.5719166994094849, 0.3691033124923706, -0.0658477172255516, -0.6345965266227722, -0.028753692284226418, 0.561869740486145, -0.4888627529144287, -0.43684113025665283, -0.38270998001098633, -0.03661242127418518, -0.2698136866092682, 0.9287291765213013, 0.24065428972244263, 0.2649948298931122, -0.27350330352783203, -0.4579859673976898, -0.7658808827400208, -0.5370899438858032, -0.29013121128082275, -0.3669910728931427, 0.40939435362815857, 0.2587473690509796, 0.3615914285182953, 0.5106390714645386, 0.735620379447937, 0.31009694933891296, 0.21551752090454102, 0.21829400956630707, -0.39288729429244995, 0.2614521086215973, -0.4496498107910156, -0.29237350821495056, -0.315600723028183, -0.1335761547088623, 0.097147136926651, 0.24969379603862762, -0.32350000739097595, -0.18284061551094055, -0.22923272848129272, 0.628727376461029, -0.9730956554412842, -0.05651119723916054, -0.7085662484169006, 0.18559925258159637, -0.43726199865341187, -0.3647065758705139, -0.22806735336780548, -0.1893509477376938, 0.016897620633244514, -0.7900161743164062, 0.4336041808128357, 0.002032889984548092, 0.6643465757369995, 0.27129435539245605, -0.8348323702812195, -0.08482173085212708, -0.7133844494819641, 0.19369477033615112, -0.4925838112831116, 0.017213523387908936, 0.3159986734390259, 0.41418135166168213, -0.19652718305587769, -0.371900737285614, -0.6778150200843811, -0.02250300534069538, -0.3120950758457184, 0.2983275055885315, 0.09884954988956451, 0.28581175208091736, 0.35654598474502563, 0.34793588519096375, -0.45387786626815796, 0.15725626051425934, -0.32360443472862244, -0.5160406827926636, 0.6137388944625854, 0.31607818603515625, 0.22071334719657898, 0.3235587775707245, -0.28122806549072266, -0.2644564211368561, -0.5475773811340332, 0.14247719943523407, 0.7360563278198242, 0.748327374458313, -0.1383766084909439, 0.3729637563228607, -0.30940720438957214, 0.5299769043922424, 0.38881635665893555, -0.35388579964637756, 0.7739685773849487, -0.8128158450126648, -0.16412656009197235, 0.13954704999923706, 0.7382210493087769, 0.4819648265838623, 0.05181693658232689, 0.05533107742667198, -0.14050109684467316, -0.15574294328689575, 0.19516927003860474, -0.6747198104858398, 0.09833183139562607, 0.3321927785873413, -0.31210726499557495, -0.3178867697715759, 0.5192439556121826, -0.7709140777587891, -0.9063274264335632, -0.2555960714817047, 0.3098956048488617, -0.29342204332351685, -0.3436327278614044, 0.011225245893001556, -0.2885787785053253, 0.5635563731193542, 0.45454779267311096, -0.4854743480682373, -0.08380381017923355, 0.9099237322807312, 0.48435452580451965, -0.18131624162197113, 0.24149839580059052, -0.9227938652038574, 0.13536575436592102, -0.10051508247852325, 0.41670680046081543, -0.7909853458404541, 0.025657203048467636, 0.30367618799209595, 0.05500170961022377, 0.26156461238861084, -0.6194724440574646, 0.823632538318634, -0.7105290293693542, -0.11447436362504959, -0.6257869601249695, -0.26584213972091675, -0.16901928186416626, 0.23520493507385254, -0.7627292275428772, 0.6767863631248474, 0.008804917335510254, -0.6748910546302795, 1.0184324979782104, -0.4030376672744751, -0.8531873226165771, 0.4999021887779236, -0.19724832475185394, -0.6912699341773987, 0.014624093659222126, 0.14214347302913666, 0.4884295165538788, -0.08243218064308167, 0.4558759927749634, -0.8436410427093506, -0.33615151047706604, -0.0808858647942543, 0.10578273236751556, 0.7902176976203918, 0.4093641936779022, -0.26758384704589844, 0.11809003353118896, -0.783459484577179, -0.541702389717102, -0.03104480914771557, -0.43837469816207886, -0.30139485001564026, -0.039338212460279465, 0.17904193699359894, 0.3589480221271515, 0.1253734529018402, -0.598284900188446, -0.2502623200416565, -0.08023665100336075, 0.2734282612800598, 0.5239085555076599, -0.024379121139645576, 0.4516914188861847, -0.34048333764076233, 0.5002162456512451, 0.3494091331958771, -0.2464398741722107, -0.11853660643100739, -0.12120131403207779, -0.42059198021888733, -0.43654149770736694, 0.20574571192264557, 0.982363760471344, -0.6189449429512024, 0.5401509404182434, 0.08129801601171494, -0.21907666325569153, -0.4469633102416992, 0.22844025492668152, 0.03536209091544151, 0.07459324598312378, 0.3585890233516693, -0.3949955999851227, -0.6319988369941711, -0.7937349081039429, -0.40910524129867554, -0.01721905916929245, 0.08990651369094849, 0.6052877306938171, 0.5223844647407532, -0.02114175073802471, 0.7593404054641724, -0.07485094666481018, -0.8168566823005676, -0.14126892387866974, -0.068499855697155, 0.43112367391586304, 0.4396628439426422, 0.7299598455429077, -0.9192931652069092, -0.5949264168739319, 0.2203645259141922, -0.6023977398872375, -0.04479565471410751, -0.42681825160980225, -0.17665523290634155, -0.4444640874862671, 0.5522513389587402, -0.4133574366569519, 0.2622636556625366, -0.1583363562822342, -0.6843398809432983, 0.17668472230434418, -0.1669550985097885, 0.5649943351745605, -0.8143203258514404, -0.20979468524456024, 0.23412592709064484, -0.5233942270278931, -0.7530108094215393, 0.5450570583343506, 0.09786418080329895, -0.0871506854891777, -0.6563611626625061, 0.21894292533397675, -0.40477773547172546, 0.012725099921226501, -0.1703120917081833, 0.3575499951839447, -0.17690199613571167, 0.507714569568634, -0.2854979634284973, 0.4299107789993286, 0.7232263088226318, -0.24977122247219086, 0.44327402114868164, -0.19702862203121185, -0.42685070633888245, 0.9999892115592957, -0.3490481972694397, -0.046752940863370895, -0.2965528964996338, 0.040271513164043427, -0.5941723585128784, -0.12803900241851807, 0.3318317234516144, 0.23659183084964752, 0.5364514589309692, -0.20027001202106476, -0.5087050199508667, -0.2400570660829544, -0.3304627239704132, 0.7204654812812805, 0.09587597101926804, -0.36488205194473267, 0.9977104067802429, 0.39298900961875916, 0.04965981841087341, -0.6918132901191711, -0.40096724033355713, 0.04986507073044777, -0.5532879829406738, -0.3486410081386566, 0.685468852519989, -0.02592211216688156, -0.2367253601551056, -0.08217494189739227, -0.048803266137838364, -0.17464779317378998, 0.3379877507686615, 0.43044188618659973, 0.223097562789917, 0.009736418724060059, 0.18098275363445282, 0.02572430670261383, 0.4246636629104614, -0.02422703616321087, 0.032848160713911057, 0.437039852142334, -0.12637315690517426, -0.4612821340560913, -0.08088155090808868, 0.5211023092269897, 0.5767073631286621, -0.3258495032787323, 0.48686039447784424, 0.7461367845535278, -0.3089736998081207, 0.05427929386496544, -0.8703927993774414, 0.11984249204397202, -0.4759511649608612, 0.6075923442840576, -0.43558773398399353, -1.161678671836853, 0.596544623374939, 0.07654964923858643, 0.07645239681005478, 0.37705013155937195, 0.7520260214805603, 0.1620134860277176, 0.44745999574661255, 0.6800130605697632, -0.3027307391166687, 0.7123807668685913, 0.4772447347640991, 0.3888898491859436, -0.5327265858650208, -0.5192699432373047, -0.3582087755203247, -0.2194635272026062, -0.6192687153816223, -0.3575480282306671, 0.1493220180273056, 0.1886228621006012, -0.24617554247379303, 0.37467649579048157, -0.2081286609172821, 0.6683663725852966, 0.5078607797622681, 0.5378613471984863, 0.3284233510494232, 0.03478451818227768, -0.3801003098487854, 0.4674374759197235, -0.45933258533477783, 0.1896776407957077, 1.2898255586624146, 0.11722338199615479, 0.19177719950675964, 0.5133239030838013, 0.595423698425293, 0.44646430015563965, -0.10043836385011673, -0.5761660933494568, 0.5322147607803345, -0.45472389459609985, -0.7221213579177856, -0.2600836753845215, -0.5699317455291748, -0.7261202931404114, 0.5475653409957886, -0.8865711688995361, -0.4920439124107361, 0.43615469336509705, -0.3017432689666748, -0.7196733951568604, -0.008694281801581383, -0.18419930338859558, 0.44837436079978943, -0.26749223470687866, -0.654153048992157, -0.6279214024543762, -0.43386706709861755, 0.652223527431488, -0.4568704068660736, 0.39331740140914917, -0.523516058921814, 0.30802667140960693, 0.5180917382240295, -0.46689775586128235, 0.49364539980888367, -0.19609805941581726, 0.07096324861049652, 0.255607008934021, -0.14008589088916779, 0.380825936794281, 0.3635905086994171, -0.0029602160211652517, -0.028923742473125458, 0.052542876452207565, -0.19244031608104706, -0.3574081063270569, 0.5878730416297913, -0.3823315501213074, -0.8596389889717102, -0.47500142455101013, -0.9049767851829529, -0.015999572351574898, 0.2519107460975647, -0.18618561327457428, 0.23066794872283936, -0.20281551778316498, 0.47583267092704773, 0.4215504229068756, -0.06489553302526474, 0.47704556584358215, 0.6621876358985901, 0.47173240780830383, -0.4190615713596344, 0.5701500177383423, -0.34610337018966675, -0.27652662992477417, 0.5052749514579773, 0.05147433280944824, -0.0967184528708458, -0.4539537727832794, -0.1440907120704651, 0.0446527935564518, -0.8077981472015381, -0.47365906834602356, -0.5051579475402832, 0.23415528237819672, -0.31888213753700256, 0.14944149553775787, 0.04271897301077843, 0.0010891449637711048, -0.10426118224859238, 0.041187211871147156, 0.29275304079055786, 0.19221270084381104, -0.18719081580638885, -0.021575361490249634, -0.5418143272399902, 0.4436165690422058, 0.41410186886787415, 0.45202770829200745, -0.2920352518558502, -0.4503399729728699, -0.20364943146705627, -0.06355971843004227, -0.02364395000040531, -0.6539974212646484, -0.18111073970794678, 0.38311508297920227, 0.7612112760543823, 0.43355593085289, 0.2587536573410034, 0.7635889649391174, -0.4081789553165436, 0.38021135330200195, 0.48279455304145813, -0.7176544666290283, 0.46741241216659546, -0.10915619879961014, -0.031512223184108734, 0.9356188178062439, 0.27072253823280334, 0.11415861546993256, -0.4027523398399353, -0.04346054419875145, -0.8051777482032776, 0.7617810368537903, 0.36225625872612, 0.044980548322200775, 0.298745334148407, 0.5855672359466553, -0.059379734098911285, 0.11259425431489944, -0.7475738525390625, 0.02817884460091591, -0.13717234134674072, -0.37475693225860596, 0.12759236991405487, 0.08143270760774612, -0.4008541703224182, -0.4295479357242584, 0.5614123940467834, -0.23729512095451355, -0.04955855756998062, -0.011396738700568676, -0.14029404520988464, 0.09286965429782867, 0.061044350266456604, 0.5020363926887512, 0.34080806374549866, -0.16209077835083008, -0.17815372347831726, 0.28226807713508606, -0.3925435245037079, 0.33328959345817566, 0.12355534732341766, -0.07746237516403198, -0.39082375168800354, 0.7043879628181458, 0.7037896513938904, -0.3616781532764435, -0.7562844157218933, 0.6205012202262878, -0.23721933364868164, -0.4798821806907654, -0.25651347637176514, 0.4316917359828949, -0.30938899517059326, 0.8002843856811523, 0.5500438809394836, 0.08485943078994751, 0.14625687897205353, -1.04258131980896, 0.5368112921714783, 0.7302793264389038, -0.5767715573310852, 0.30985045433044434, 0.5345650315284729, 0.3336218595504761, -0.10542140901088715, 0.412244588136673, -0.4264443814754486, -0.6938763856887817, 0.6590229868888855, 0.23158110678195953, 0.7074662446975708, 0.15686598420143127, -0.07732311636209488, 0.4014914929866791, 0.09066414833068848, -0.42717111110687256, 0.14627760648727417, -0.38730692863464355, -0.8425819277763367, -0.3185748755931854, -0.4949726462364197, 0.11425906419754028, 0.006432150956243277, -0.7927953600883484, 0.4490549862384796, -0.5104240775108337, -0.3450491428375244, -0.2602969706058502, 0.1376618891954422, -0.9614997506141663, 0.020171692594885826, 0.10895015299320221, 0.5158451795578003, -0.8981391787528992, 0.7696044445037842, 0.387100487947464, -0.3890598714351654, -0.41164422035217285, -0.07607845962047577, 0.27577686309814453, -0.5728335380554199, 0.4864084720611572, 0.15352869033813477, 0.18377655744552612, -0.4884834885597229, -0.19061578810214996, -0.610545814037323, 1.1584630012512207, 0.1777874082326889, -1.0008141994476318, 0.12548348307609558, 0.2581619322299957, 0.3729405105113983, -0.8060028553009033, 0.02760758064687252, 0.8036870956420898, 0.3361557126045227, 0.5004763603210449, -0.5533605813980103, 0.600498616695404, -0.35456550121307373, -0.32507097721099854, 0.07287021726369858, -0.3897062838077545, 0.5799652934074402, -0.3992655277252197, -0.31430578231811523, 0.03520692512392998, 0.5004700422286987, 0.3003045320510864, 0.33144620060920715, 0.7816095352172852, 0.7370590567588806, 0.7802892923355103, -0.5057259798049927, 0.5462788939476013, -0.35472187399864197, 0.36191630363464355, 1.2658061981201172, -0.6600214242935181, 0.3887922763824463, 0.3854478895664215, -0.15011321008205414, 0.4034643769264221, 0.6276664733886719, -0.7176472544670105, 0.8354768753051758, 0.3049302101135254, -0.11002213507890701, -0.8755934238433838, -0.17346453666687012, -0.1873021125793457, 0.516720712184906, 0.1280003935098648, -0.256100058555603, -0.2530757188796997, 0.035339415073394775, -0.5132196545600891, 0.02828362211585045, -0.35844993591308594, 0.9106273055076599, -0.2820364534854889, -0.2580859363079071, -0.1748226135969162, 0.08363401144742966, 0.6457526087760925, -0.24708953499794006, -0.26779767870903015, -0.24539391696453094, -0.0147214625030756, -0.35895484685897827, -0.7453163862228394, 0.162618026137352, -0.31537100672721863, -0.23002494871616364, -0.0050604455173015594, 0.7881996035575867, -0.5241443514823914, -0.4083108603954315, 0.5906804203987122, 0.18261271715164185, -0.30181917548179626, -0.1791991889476776, -0.7275474071502686, -0.16398212313652039, -0.1610557734966278, 0.2090441882610321, 0.5436972379684448, 0.46387580037117004, 0.13046960532665253, 0.36726850271224976, 0.8790631890296936, 0.0011859395308420062, -0.3695654571056366, 0.43339118361473083, 0.8206976652145386, -0.4901609420776367, -0.391724169254303, -0.8377403020858765, 0.5203320980072021, -0.2692144811153412, -0.12357357144355774, 0.2522273063659668, 0.3744466006755829, 0.7306391596794128, 0.3191818296909332, 0.5655198097229004, -0.19114018976688385, -0.015659227967262268, -0.5639197826385498, 0.41130632162094116, -0.665880024433136, 0.4336130917072296, -0.41390547156333923, -0.9300997853279114, -0.14945001900196075, 0.4041953682899475, 0.3172529935836792, 0.05476156994700432, 0.40395259857177734, 0.9460039734840393, -0.20867854356765747, -0.24755465984344482, 0.4911383092403412, -0.2571362257003784, 0.2367163896560669, 0.9439106583595276, 0.3663219213485718, -0.4519565999507904, 0.6700908541679382, -0.051632244139909744, -0.20141135156154633, -0.3747163414955139, -0.9517889022827148, -1.2410444021224976, -0.3310758173465729, -0.5444148778915405, -0.26827728748321533, -0.10501589626073837, 0.767311692237854, 0.7635564804077148, -0.9078851342201233, 0.13018037378787994, -0.12277615070343018, 0.11803404241800308, -0.29626014828681946, -0.20647691190242767, 0.0322137251496315, -0.13684988021850586, -0.32317855954170227, 0.3237029016017914, 0.2755400240421295, -0.10416668653488159, 0.12460576742887497, 0.030040154233574867, -0.2644134759902954, 0.028231287375092506, 0.6326960325241089, -0.0846688374876976, -0.5863556265830994, -0.25418588519096375, -0.33108192682266235, -0.032270338386297226, -0.0439082570374012, 1.1211625337600708, -0.5959808826446533, 0.3981197476387024, 0.5078364014625549, 0.880987823009491, 0.7557222247123718, -0.0191448163241148, 0.7481219172477722, -0.6206879615783691, 0.21865202486515045, -0.0030435959342867136, 0.7603772282600403, -0.04384960979223251, -0.6037420630455017, 0.46125659346580505, 0.4115864932537079, -0.052086178213357925, -0.6379600763320923, 0.4490297734737396, -0.964874804019928, -0.5524927973747253, 0.7606592178344727, -0.2570808529853821, 0.2930505573749542, -0.32981982827186584, 0.43970248103141785, 0.23619382083415985, -0.4562952220439911, 0.6311991214752197, 0.8185577392578125, 0.2514597773551941, -0.34430330991744995, -0.22570906579494476, 0.316563218832016, 0.31682848930358887, -0.5533969402313232, -0.13465583324432373, 0.35591456294059753, 0.33172306418418884, 0.358094722032547, 0.21798765659332275, -0.16084438562393188, 0.45015206933021545, -0.09980395436286926, -0.22123171389102936, -0.5159152150154114, -0.20939883589744568, -0.3632477819919586, 0.5273774862289429, -0.6027103662490845, 0.272830992937088 ]
http://arxiv.org/abs/2406.11171v2
http://arxiv.org/pdf/2406.11171v2
SUGARCREPE++ Dataset: Vision-Language Model Sensitivity to Semantic and Lexical Alterations
2024-06-17T03:22:20
2024-06-19T00:03:42
Sri Harsha Dumpala, Aman Jaiswal, Chandramouli Sastry, Evangelos Milios, Sageev Oore, Hassan Sajjad
cs.CV
cs.CV, cs.CL, cs.LG, 68T45, 68T50, I.2.7; I.2.10
Despite their remarkable successes, state-of-the-art large language models (LLMs), including vision-and-language models (VLMs) and unimodal language models (ULMs), fail to understand precise semantics. For example, semantically equivalent sentences expressed using different lexical compositions elicit diverging representations. The degree of this divergence and its impact on encoded semantics is not very well understood. In this paper, we introduce the SUGARCREPE++ dataset to analyze the sensitivity of VLMs and ULMs to lexical and semantic alterations. Each sample in SUGARCREPE++ dataset consists of an image and a corresponding triplet of captions: a pair of semantically equivalent but lexically different positive captions and one hard negative caption. This poses a 3-way semantic (in)equivalence problem to the language models. We comprehensively evaluate VLMs and ULMs that differ in architecture, pre-training objectives and datasets to benchmark the performance of SUGARCREPE++ dataset. Experimental results highlight the difficulties of VLMs in distinguishing between lexical and semantic variations, particularly in object attributes and spatial relations. Although VLMs with larger pre-training datasets, model sizes, and multiple pre-training objectives achieve better performance on SUGARCREPE++, there is a significant opportunity for improvement. We show that all the models which achieve better performance on compositionality datasets need not perform equally well on SUGARCREPE++, signifying that compositionality alone may not be sufficient for understanding semantic and lexical alterations. Given the importance of the property that the SUGARCREPE++ dataset targets, it serves as a new challenge to the vision-and-language community.
[ -0.2556088864803314, -0.33395877480506897, 0.46485278010368347, -0.035776905715465546, -0.2142808884382248, 0.19261540472507477, -0.4737640619277954, -0.6824113130569458, 0.06615202128887177, 0.6033177971839905, -0.3659723997116089, -0.4478357434272766, -0.7840668559074402, 0.18209241330623627, -0.5172110199928284, 0.957539439201355, -0.05424663424491882, 0.5654805898666382, -0.531758725643158, -0.04915903881192207, -0.8465688228607178, -0.6085763573646545, -0.10091494768857956, -0.026889676228165627, 0.11285728216171265, 0.29578545689582825, 0.7854856252670288, 0.5369887948036194, 0.7693197131156921, 0.2283749133348465, -0.14669111371040344, -0.12375128269195557, -0.34759992361068726, -0.04070623219013214, -0.11708259582519531, -0.8316764831542969, -0.2546146512031555, -0.14065825939178467, 0.4254612922668457, 0.8597905039787292, 0.20203430950641632, 0.130668044090271, -0.05615350604057312, 0.44801682233810425, -0.8905499577522278, 0.16955125331878662, -1.0091341733932495, -0.010779275558888912, -0.30328643321990967, 0.13997550308704376, -0.1461951732635498, 0.14064496755599976, 0.012179167941212654, -0.47212302684783936, 0.48053789138793945, -0.14517870545387268, 1.0256421566009521, 0.3411533832550049, -0.11889152973890305, -0.26157334446907043, -0.44079315662384033, 0.8000110387802124, -0.5473989248275757, 0.5112419724464417, 0.19959768652915955, 0.09876184165477753, 0.0876210629940033, -0.4949199855327606, -0.5035682320594788, -0.4996403455734253, -0.26963505148887634, 0.3981066048145294, 0.10474804043769836, -0.20662015676498413, 0.18052051961421967, 0.12273428589105606, -0.5056354403495789, 0.005889303516596556, -0.2951539158821106, -0.24566446244716644, 0.36588963866233826, 0.3947427272796631, 0.13767053186893463, -0.551923930644989, -0.559500515460968, -0.11007056385278702, -0.576941192150116, 0.024072881788015366, -0.014131213538348675, 0.4906862676143646, -0.179155632853508, 0.6138564348220825, 0.11842997372150421, 0.8044358491897583, -0.4128693640232086, 0.17476649582386017, 0.4782983362674713, -0.5391947031021118, -0.34222525358200073, 0.031596507877111435, 0.33923953771591187, 0.4469376802444458, 0.5396287441253662, -0.04272117465734482, -0.18276937305927277, 0.6954101324081421, 0.17786729335784912, -0.5758378505706787, -0.24053284525871277, 0.14441010355949402, -0.11232498288154602, -0.09945408999919891, 0.3098706603050232, -0.6404006481170654, -0.4398167133331299, -0.5474057793617249, 0.4022568166255951, -0.48494085669517517, -0.1410328596830368, 0.6554859280586243, -0.13181141018867493, 0.41658392548561096, 0.43685218691825867, -0.7574667930603027, 0.6028826236724854, 0.8905073404312134, 0.7761181592941284, -0.48283880949020386, -0.49793100357055664, -0.35215431451797485, 0.08457588404417038, -0.29028844833374023, 0.8685948252677917, -0.7731103301048279, -0.19232675433158875, -0.24088016152381897, 0.16754461824893951, -0.4075269401073456, -0.8105313777923584, 0.5425602793693542, -0.173899844288826, 0.06629239022731781, -0.1412317305803299, -0.7123222351074219, 0.11002641171216965, 0.14571069180965424, -0.5584841370582581, 0.6399348378181458, 0.3382214903831482, -0.6614476442337036, 0.7076225876808167, -0.6550211310386658, -0.2434871345758438, 0.28636884689331055, -0.20557156205177307, -0.35771122574806213, 0.4610823690891266, 0.09198611974716187, 0.4411691427230835, -0.18047203123569489, 0.17106516659259796, -0.27130112051963806, -0.2288517951965332, 0.2608408033847809, -0.21282579004764557, 0.6198105216026306, -0.16603700816631317, -0.1166849359869957, 0.08092892915010452, -0.7305638194084167, -0.1378955841064453, 0.26513734459877014, 0.08248086273670197, -0.6623691916465759, 0.052725259214639664, 0.14383216202259064, 0.11004189401865005, 0.2169407159090042, -0.5431713461875916, 0.15676966309547424, -0.3098892867565155, 0.31602227687835693, 0.6529390811920166, -0.587186336517334, 0.3587667942047119, 0.11473514884710312, 0.28165122866630554, 0.4722242057323456, 0.5144097208976746, -0.14032432436943054, -0.3794887959957123, -0.8498688340187073, -0.12832194566726685, 0.38941624760627747, 0.5117018222808838, -0.6389648914337158, 0.1587195247411728, -0.6649338603019714, -0.1838553100824356, -0.532732367515564, 0.10339749604463577, 0.3653119206428528, 0.6002151966094971, 0.362321138381958, -0.7511086463928223, -0.3494253158569336, -0.9657555818557739, -0.09206531941890717, -0.027596842497587204, -0.1283411681652069, 0.25245681405067444, 0.6882364153862, -0.07322146743535995, 0.8069555759429932, -0.5867994427680969, -0.2679581046104431, -0.12357467412948608, -0.38849779963493347, 0.11253761500120163, 0.2903057634830475, 0.8724564909934998, -1.0530450344085693, -0.34474852681159973, -0.09937146306037903, -0.3727201819419861, -0.16085773706436157, 0.06680663675069809, -0.021874120458960533, 0.1278132051229477, 0.21221470832824707, -0.5720168352127075, 0.5949527025222778, 0.6210857629776001, -0.6778210401535034, 0.7485184669494629, 0.19234566390514374, 0.11842477321624756, -0.9641835689544678, -0.014600386843085289, -0.12085167318582535, -0.32718709111213684, -0.7343786954879761, 0.1215735450387001, 0.30734914541244507, 0.04205124080181122, -0.6986664533615112, 0.42358866333961487, -0.38209930062294006, -0.33642053604125977, -0.24445295333862305, 0.2527414560317993, 0.14331267774105072, 0.35712534189224243, 0.43955957889556885, 0.6705991625785828, 0.9484041333198547, -0.5613396763801575, 0.5363823175430298, 0.5932945013046265, -0.40689966082572937, 0.7841761708259583, -0.5510897636413574, -0.3162439167499542, -0.33511748909950256, -0.08322218805551529, -0.7721302509307861, -0.3093002736568451, 0.242123544216156, -0.5069870948791504, 0.27113887667655945, -0.09302730113267899, -0.3434976637363434, -0.34246793389320374, -0.549522340297699, 0.32407668232917786, 0.10145160555839539, -0.29186010360717773, 0.4913877844810486, 0.10053616017103195, -0.007788548246026039, -0.36139342188835144, -0.8865199089050293, 0.44071486592292786, -0.09948621690273285, -0.6159085631370544, 0.302345871925354, -0.22906376421451569, -0.3155227601528168, 0.16410619020462036, -0.08963388204574585, 0.07056861370801926, 0.08197037130594254, 0.33932965993881226, 0.3869840204715729, -0.10185610502958298, 0.20272059738636017, -0.5621355175971985, -0.17376980185508728, -0.10400877147912979, -0.15067674219608307, 0.7433755993843079, -0.1963663548231125, -0.25603216886520386, -0.18235310912132263, 0.2059227079153061, 0.4001494348049164, -0.32883119583129883, 0.7262918949127197, 0.3918781280517578, -0.1995716392993927, 0.18551050126552582, -0.1619303971529007, -0.13117028772830963, -0.3393186032772064, 0.6313163638114929, -0.4812019169330597, -0.7331045269966125, 0.5761414170265198, 0.2918262481689453, -0.19538111984729767, 0.2926326096057892, 0.5531948804855347, 0.05275268107652664, 0.7212738394737244, 0.6697002053260803, -0.0681958869099617, 0.46771240234375, -0.188693106174469, -0.42856353521347046, -0.9170945882797241, -0.45021820068359375, -0.49831917881965637, -0.13156501948833466, -0.4075179100036621, -0.17145873606204987, 0.16307038068771362, -0.3057081699371338, -0.14051425457000732, 0.6643179655075073, -0.25688090920448303, 0.5587071776390076, 0.28820282220840454, 0.11294674128293991, 0.2824336588382721, -0.00850716419517994, 0.16732929646968842, -0.1151391938328743, -0.6429815888404846, -0.27306661009788513, 0.9162873029708862, 0.0033294891472905874, 0.8121994733810425, 0.061182230710983276, -0.03540414571762085, 0.2213185727596283, 0.13854503631591797, -0.8231397867202759, 0.3468254804611206, -0.6022104620933533, -0.4478074312210083, 0.1322672963142395, -0.4885348975658417, -0.9142343997955322, 0.17995598912239075, -0.284225732088089, -0.7551600933074951, 0.3170233964920044, 0.017651477828621864, -0.07991385459899902, 0.19120089709758759, -0.9863260388374329, 1.0563884973526, -0.6457515954971313, -0.3738521933555603, 0.27454784512519836, -1.0336169004440308, 0.16744588315486908, -0.25084784626960754, 0.25687533617019653, -0.15885818004608154, -0.36841055750846863, 0.282280296087265, -0.2896130681037903, 0.7200368642807007, 0.016099417582154274, -0.12768346071243286, -0.16111314296722412, 0.2917179763317108, 0.2367299199104309, -0.06787819415330887, 0.16264274716377258, 0.3628859221935272, 0.10262052714824677, -0.5608950853347778, -0.5468983054161072, 0.5744830369949341, -0.7817860841751099, -0.3690386414527893, -0.18372373282909393, -0.3744719326496124, -0.3447730541229248, -0.03423658758401871, 0.3278098404407501, 0.5151700973510742, 0.17913390696048737, 0.11747000366449356, 0.30413609743118286, -0.13493452966213226, 0.40444883704185486, 0.42223429679870605, -0.25110840797424316, -0.31479233503341675, 0.5304833650588989, -0.2316739559173584, 0.7134785056114197, 0.37775522470474243, -0.07419353723526001, -0.24288436770439148, -0.5587761402130127, -0.40979915857315063, 0.13502942025661469, -0.7102963924407959, -0.36166709661483765, -0.2831043303012848, -0.013302076607942581, -0.2756688892841339, -0.06031692400574684, -0.5175791382789612, -0.2908814549446106, -0.5158929228782654, 0.08779650926589966, 0.38079318404197693, 0.4943540394306183, 0.13987047970294952, 0.34767940640449524, -0.7279754281044006, 0.2780292332172394, -0.11974360048770905, 0.7168168425559998, -0.327712744474411, -0.7023153901100159, -0.20219939947128296, 0.07831141352653503, 0.1701798141002655, -0.7666396498680115, 0.25138577818870544, 0.46024781465530396, 0.1438417285680771, 0.07443328946828842, -0.49799853563308716, 0.8550419211387634, -0.3343237042427063, 0.8881677985191345, 0.08695217221975327, -1.143478274345398, 0.4765716791152954, 0.04713597893714905, 0.4008684456348419, 0.8010897636413574, 0.19386427104473114, -0.6081189513206482, -0.2753671109676361, -0.44610562920570374, -0.7451112866401672, 0.6051880717277527, 0.43863701820373535, 0.39696964621543884, 0.21582870185375214, 0.5084301233291626, 0.36845794320106506, 0.29303881525993347, -0.7446887493133545, -0.0797988548874855, -0.46610307693481445, -0.13779160380363464, -0.2408905029296875, -0.04510292410850525, 0.21221332252025604, -0.3850918412208557, 0.39411115646362305, -0.07207020372152328, -0.02917560562491417, 0.060296714305877686, -0.28657665848731995, 0.16727031767368317, 0.06674250960350037, 0.48949405550956726, 0.5985456705093384, -0.14697781205177307, 0.4112696349620819, 0.031196873635053635, -0.8348896503448486, -0.04421688988804817, -0.11198551952838898, -0.1608157753944397, -0.05166291445493698, 0.6309660077095032, 1.011415958404541, 0.07124317437410355, -0.9381621479988098, 0.9276134371757507, -0.33899372816085815, -0.11671583354473114, -0.25342270731925964, 0.14233332872390747, -0.19345375895500183, -0.14973148703575134, 0.09179529547691345, 0.2501867413520813, -0.008093416690826416, -0.602263867855072, 0.2782726287841797, 0.40287837386131287, -0.5132358074188232, -0.3862893581390381, 0.6033068895339966, -0.07194585353136063, 0.05961805582046509, 0.49442869424819946, 0.10802865028381348, -0.6483546495437622, 0.6700611710548401, 0.31834012269973755, 0.5351839065551758, -0.09138185530900955, 0.20707395672798157, 0.01731259375810623, 0.37010863423347473, 0.2828705608844757, 0.25619375705718994, 0.037898920476436615, -1.0040274858474731, -0.3827452063560486, -0.832413911819458, -0.057750292122364044, 0.23527199029922485, -0.5614550709724426, 0.4614751935005188, -0.1713673621416092, -0.07914812862873077, 0.07561099529266357, -0.24544459581375122, -0.6921911835670471, 0.2791946828365326, 0.1895345151424408, 0.8101832270622253, -1.104102373123169, 0.3732912540435791, 0.8979440927505493, -0.32566219568252563, -0.4964870512485504, 0.019054193049669266, -0.20816859602928162, -0.7572612762451172, 0.48866719007492065, 0.08673656731843948, 0.03836677223443985, -0.19818566739559174, -0.8247528672218323, -0.7508528828620911, 0.7522521615028381, 0.6864789128303528, -0.5612406134605408, 0.38279861211776733, 0.6879833340644836, 0.5926638841629028, -0.339701384305954, 0.1900426298379898, 0.6972951889038086, 0.4884927272796631, 0.27466514706611633, -0.9535238146781921, -0.1590522974729538, -0.14087502658367157, 0.08568065613508224, 0.3572174906730652, -0.6122411489486694, 0.8538810610771179, -0.1086382269859314, -0.38327500224113464, 0.16176988184452057, 0.23997420072555542, -0.056292008608579636, 0.00810055248439312, 0.3964864909648895, 0.5644862055778503, 0.19377271831035614, -0.2587823271751404, 1.092942476272583, -0.1533467024564743, 0.4740501642227173, 1.2132242918014526, -0.4138096868991852, 0.7227175831794739, 0.4978580176830292, -0.1613941341638565, 0.19629023969173431, 0.6274294257164001, -0.3550131320953369, 0.3979201018810272, 0.2129443734884262, -0.14930443465709686, -0.44745346903800964, -0.25163450837135315, -0.1392892301082611, 0.8407095670700073, 0.25755223631858826, -0.272414892911911, -0.350043922662735, 0.274563729763031, 0.004067050758749247, 0.19613894820213318, -0.5188809037208557, 0.7412882447242737, -0.09919698536396027, -0.20313826203346252, 0.548489511013031, -0.24620755016803741, 0.7299985289573669, -0.6288852095603943, 0.1615951955318451, -0.25686848163604736, 0.17430701851844788, -0.41487494111061096, -0.951717734336853, 0.2821030020713806, 0.11025524884462357, 0.0839611068367958, 0.2545875906944275, 0.6519957780838013, -0.34800970554351807, -0.7573808431625366, 0.37526458501815796, 0.40640637278556824, 0.13310721516609192, -0.13041089475154877, -0.724285900592804, 0.36214572191238403, -0.16215357184410095, -0.03718220815062523, 0.04782089963555336, 0.24035510420799255, -0.09033741056919098, 0.6135466694831848, 0.34486356377601624, 0.409720778465271, 0.10907894372940063, 0.36506137251853943, 0.8375483155250549, -0.5580888986587524, -0.07863472402095795, -1.0268065929412842, 0.40002238750457764, -0.005510577466338873, -0.17442525923252106, 0.59596186876297, 0.8363048434257507, 1.2453902959823608, -0.37903231382369995, 0.6350630521774292, -0.18781599402427673, 0.12144655734300613, -0.7797238230705261, 0.316175639629364, -0.8266160488128662, 0.20356063544750214, -0.3741320073604584, -0.9390161037445068, -0.7765045166015625, 0.1664050817489624, -0.18914349377155304, 0.1574002057313919, 0.6721180081367493, 0.8044922351837158, -0.24994219839572906, -0.1080407053232193, 0.5117746591567993, 0.3329048454761505, 0.1772221028804779, 0.7928037643432617, 0.8173390626907349, -0.2809918224811554, 0.3197224736213684, 0.05559771880507469, -0.1204025000333786, 0.057242538779973984, -0.8611568212509155, -0.5489887595176697, -0.8325514197349548, -0.21780934929847717, -0.01328711025416851, 0.21514979004859924, 0.690100371837616, 0.511317253112793, -0.8232191801071167, -0.09431054443120956, -0.27341708540916443, -0.27918583154678345, 0.05842461436986923, -0.20318809151649475, 0.42371031641960144, -0.0906403437256813, -0.5317411422729492, -0.14516393840312958, 0.4008702039718628, 0.3341180682182312, -0.27011632919311523, 0.13427221775054932, 0.10503330826759338, -0.09297913312911987, 0.7600893378257751, -0.1271897703409195, -0.5077754855155945, -0.4996160566806793, -0.05325865000486374, 0.08077903836965561, 0.4597051441669464, 0.7082980275154114, -0.8201276659965515, 0.38172289729118347, 0.2302369326353073, 0.3858742117881775, 0.3918459415435791, 0.04317885637283325, 0.16032707691192627, -0.7394149303436279, 0.14281636476516724, 0.25651437044143677, 0.4608708322048187, 0.6928626894950867, -0.13066358864307404, 0.5082384943962097, 0.5446087121963501, -0.10708404332399368, -0.46470946073532104, 0.5752949714660645, -1.0921229124069214, -0.5244868993759155, 1.1777173280715942, 0.25516077876091003, -0.5548518896102905, 0.022864017635583878, -0.31409451365470886, -0.1171247661113739, -0.1450570970773697, 0.7056581974029541, 0.6305187344551086, -0.09958217293024063, -0.11655579507350922, -0.5753213167190552, 0.4939020872116089, 0.3451431095600128, -0.9489028453826904, 0.47100383043289185, 0.7390466928482056, 0.4461915194988251, 0.13393403589725494, 0.12498362362384796, -0.28841540217399597, 0.12246918678283691, -0.1316821277141571, 0.07830797880887985, 0.031840674579143524, -0.5912507772445679, -0.3683989346027374, 0.03587166965007782, -0.16182954609394073, -0.07028572261333466 ]
http://arxiv.org/abs/2406.15480v1
http://arxiv.org/pdf/2406.15480v1
On Giant's Shoulders: Effortless Weak to Strong by Dynamic Logits Fusion
2024-06-17T03:07:41
2024-06-17T03:07:41
Chenghao Fan, Zhenyi Lu, Wei Wei, Jie Tian, Xiaoye Qu, Dangyang Chen, Yu Cheng
cs.CL
cs.CL, cs.AI, cs.LG
Efficient fine-tuning of large language models for task-specific applications is imperative, yet the vast number of parameters in these models makes their training increasingly challenging. Despite numerous proposals for effective methods, a substantial memory overhead remains for gradient computations during updates. \thm{Can we fine-tune a series of task-specific small models and transfer their knowledge directly to a much larger model without additional training?} In this paper, we explore weak-to-strong specialization using logit arithmetic, facilitating a direct answer to this question. Existing weak-to-strong methods often employ a static knowledge transfer ratio and a single small model for transferring complex knowledge, which leads to suboptimal performance. % To address this, To surmount these limitations, we propose a dynamic logit fusion approach that works with a series of task-specific small models, each specialized in a different task. This method adaptively allocates weights among these models at each decoding step, learning the weights through Kullback-Leibler divergence constrained optimization problems. We conduct extensive experiments across various benchmarks in both single-task and multi-task settings, achieving leading results. By transferring expertise from the 7B model to the 13B model, our method closes the performance gap by 96.4\% in single-task scenarios and by 86.3\% in multi-task scenarios compared to full fine-tuning of the 13B model. Notably, we achieve surpassing performance on unseen tasks. Moreover, we further demonstrate that our method can effortlessly integrate in-context learning for single tasks and task arithmetic for multi-task scenarios. (Our implementation is available in https://github.com/Facico/Dynamic-Logit-Fusion.)
[ -0.20356328785419464, -0.7889880537986755, 0.20841039717197418, 0.10175742954015732, -0.37001147866249084, 0.2631283700466156, -0.31931522488594055, -0.612362265586853, 0.1981617957353592, 0.25318044424057007, -0.5916019678115845, -0.2743019759654999, -0.7344316244125366, -0.06817174702882767, -0.23699752986431122, 1.0001587867736816, 0.133467435836792, -0.08152247965335846, 0.07425647974014282, -0.3986683487892151, -0.6498088240623474, -0.11524032801389694, -0.6069733500480652, -0.24679124355316162, 0.4662826657295227, 0.36219239234924316, 0.6938889026641846, 0.5749742388725281, 0.7274115085601807, 0.36131879687309265, -0.288443922996521, 0.2841489315032959, -0.8175256848335266, -0.06735288351774216, -0.3705894649028778, -0.5121604204177856, -0.6530988216400146, -0.5650122761726379, 1.0511506795883179, 0.7782145142555237, -0.03182744234800339, 0.17661678791046143, -0.04204852506518364, 0.8107741475105286, -0.6519309282302856, -0.00639986852183938, -0.9535594582557678, -0.049990925937891006, -0.1788829118013382, 0.24263839423656464, -0.2821964919567108, -0.03501863032579422, -0.08699259907007217, -0.40001311898231506, 0.35829806327819824, -0.08324546366930008, 0.7986735105514526, 0.49693581461906433, -0.7500535845756531, 0.018538672477006912, -0.7723966240882874, 0.9757565855979919, -0.5872292518615723, 0.4597584307193756, 0.10701755434274673, 0.32394784688949585, 0.018425798043608665, -0.5480947494506836, -0.41078561544418335, -0.020150436088442802, -0.17296287417411804, -0.024088412523269653, -0.3338775932788849, 0.16740131378173828, 0.26513683795928955, 0.603420615196228, -0.6051467061042786, 0.1858692318201065, -0.5166635513305664, 0.003344167023897171, 0.7813290357589722, 0.364671915769577, 0.19544193148612976, -0.14202502369880676, -0.13044457137584686, -0.35000377893447876, -0.5664617419242859, -0.1816377192735672, 0.26473623514175415, 0.3834957778453827, -0.1682375818490982, 0.4293016493320465, -0.15242421627044678, 0.8192418217658997, 0.5439255833625793, -0.2523200213909149, 0.28279802203178406, -0.5286275148391724, -0.41305023431777954, 0.0856127068400383, 0.5735949873924255, -0.14678223431110382, -0.47198599576950073, -0.29141268134117126, -0.4404870271682739, 0.20206044614315033, 0.24006906151771545, -0.7381055355072021, -0.464471697807312, 0.04883604124188423, -0.23895053565502167, -0.2793675661087036, -0.29979148507118225, -0.6510627865791321, -0.49252384901046753, -0.16672609746456146, 0.7891514897346497, -0.3452461063861847, -0.409456342458725, 0.21242429316043854, -0.012625344097614288, -0.05155639722943306, 0.18523263931274414, -1.1046788692474365, 0.41254734992980957, 0.5777632594108582, 0.6367925405502319, -0.10786799341440201, -0.15928825736045837, -0.7270277142524719, 0.17797178030014038, -0.23261508345603943, 0.43780890107154846, -0.259160578250885, -0.27874642610549927, -0.3332073986530304, -0.036228716373443604, -0.4044623076915741, -0.6735619902610779, 0.4522475302219391, -0.42759859561920166, -0.30014148354530334, -0.07868950814008713, -0.5262001752853394, -0.28817352652549744, 0.19162748754024506, -0.900921642780304, 0.7909837365150452, 0.233126699924469, -0.6034923195838928, 0.16336433589458466, -0.5410426259040833, -0.6651788949966431, 0.14863744378089905, -0.12001333385705948, -0.3253534138202667, 0.38659363985061646, 0.0018216201569885015, 0.5482327938079834, -0.4850784242153168, 0.15551383793354034, -0.2589258551597595, -0.3397182524204254, -0.17982614040374756, -0.18891742825508118, 0.8326862454414368, -0.004878527484834194, -0.6158803701400757, 0.1867801398038864, -0.7173920273780823, -0.10189253091812134, 0.0907483771443367, -0.30633166432380676, -0.21463483572006226, -0.2302209734916687, -0.313497930765152, -0.04804560914635658, 0.302716463804245, -0.26507368683815, 0.4014795124530792, -0.5551685094833374, 0.1590391844511032, 0.7535682916641235, -0.1360301673412323, 0.7204488515853882, -0.15558576583862305, 0.26557809114456177, -0.06038372218608856, -0.05978773534297943, 0.04920310527086258, -0.17134732007980347, -0.8358219861984253, -0.4804535210132599, 0.38217177987098694, 0.6019118428230286, -0.6972105503082275, 0.5383708477020264, -0.5296205878257751, -0.7909994125366211, -0.446755588054657, 0.7296364903450012, 0.42221182584762573, 0.347310334444046, 0.29705071449279785, -0.42999258637428284, -0.348378449678421, -1.100883960723877, -0.24877649545669556, -0.21757209300994873, -0.037282541394233704, 0.2514787018299103, 0.2562864124774933, -0.19469106197357178, 0.31928780674934387, -0.5524464845657349, -0.41758593916893005, -0.40766796469688416, 0.2663640081882477, 0.5383460521697998, 0.7976029515266418, 0.4546860456466675, -0.9936786890029907, -0.5769693851470947, 0.21580874919891357, -0.7784163355827332, 0.2460915744304657, -0.21546244621276855, -0.35642585158348083, 0.027246056124567986, 0.24017596244812012, -1.0956145524978638, 0.015251200646162033, 0.7521678805351257, -0.6483864188194275, 0.42834439873695374, -0.033457983285188675, 0.06486765295267105, -0.9225714206695557, 0.4316437840461731, -0.08583958446979523, -0.11193402111530304, -0.8540713787078857, 0.38882976770401, 0.18650992214679718, -0.21129029989242554, -0.3552713692188263, 0.658732533454895, -0.4591478407382965, 0.37217846512794495, -0.12447012215852737, -0.24369363486766815, -0.23621276021003723, 0.6431031227111816, -0.29808491468429565, 0.3222942054271698, 0.72126305103302, -0.6121283173561096, 0.6756429672241211, 0.13451537489891052, -0.4938453435897827, 0.45938289165496826, -0.520250678062439, 0.10767663270235062, 0.010358433239161968, 0.1917516589164734, -0.8709699511528015, -0.27105584740638733, 0.16879886388778687, -0.11302152276039124, 0.581584095954895, -0.19611386954784393, -0.6298331618309021, -0.23734113574028015, -0.11994782835245132, 0.8438672423362732, 0.8644033074378967, -0.43572890758514404, 1.0247875452041626, 0.3870210647583008, -0.07615836709737778, -0.4981575608253479, -0.5274666547775269, -0.028767062351107597, -0.2864314913749695, -0.8771884441375732, 0.5221564769744873, -0.16651873290538788, -0.3358508050441742, 0.07233531028032303, -0.3500021696090698, -0.10282406210899353, 0.04091273993253708, 0.1399199664592743, 0.29096657037734985, -0.2402350902557373, 0.15935978293418884, 0.24525055289268494, -0.013731161132454872, -0.33332300186157227, -0.26675131916999817, 0.2080860286951065, -0.29520633816719055, -0.2945787310600281, -0.22283673286437988, 0.11424058675765991, 0.742452085018158, -0.2060297280550003, 0.7216065526008606, 0.9526687264442444, -0.48715683817863464, -0.06533206254243851, -0.6768305897712708, -0.385581910610199, -0.538516104221344, 0.545612633228302, -0.4796237349510193, -0.9691881537437439, 0.41808438301086426, -0.03778301551938057, 0.29782700538635254, 0.5883244872093201, 0.6064592003822327, 0.23722338676452637, 1.221498966217041, 0.8306148648262024, -0.20634318888187408, 0.46831750869750977, -0.24719467759132385, 0.4350549876689911, -0.4619678258895874, -0.059469934552907944, -0.18724477291107178, -0.7046873569488525, -0.41511356830596924, -0.4396032989025116, 0.600849449634552, 0.16642315685749054, -0.1628725379705429, 0.4523696005344391, -0.4312394857406616, 0.5334530472755432, 0.36443454027175903, 0.3723755180835724, 0.07044419646263123, -0.0005167355411686003, 0.2094637006521225, 0.19640971720218658, -1.0362234115600586, 0.23987223207950592, 0.7944502830505371, 0.27173787355422974, 0.8634849786758423, 0.3960254192352295, 0.46776050329208374, 0.20955640077590942, -0.03366956487298012, -0.736038088798523, 0.8335152268409729, -0.5160014629364014, -0.7033515572547913, -0.5148463845252991, -0.6934502124786377, -0.8799983263015747, 0.2639389634132385, -0.494393914937973, -0.6765806674957275, 0.2459704875946045, 0.5392788052558899, -0.4024893045425415, 0.62230384349823, -0.9073907136917114, 0.9875457286834717, -0.139086052775383, -0.6815586090087891, -0.816170871257782, -0.656903862953186, 0.6382867097854614, -0.3121143579483032, -0.04023141786456108, -0.2118581384420395, 0.2049117237329483, 0.7496045231819153, -0.11839038878679276, 0.9802441000938416, -0.12526001036167145, -0.10456400364637375, 0.21145357191562653, 0.3579595685005188, 0.8250983357429504, -0.03920251131057739, -0.1219937652349472, 0.05562414973974228, -0.24754883348941803, -0.8020258545875549, -0.6998133659362793, 0.8561432361602783, -0.5842179656028748, -0.6042355895042419, -0.06972786784172058, -0.7411466240882874, -0.2875823676586151, 0.32213979959487915, -0.10253739356994629, 0.405412882566452, -0.032065249979496, 0.38382449746131897, 0.8771458864212036, 0.10545401275157928, 0.25198668241500854, 0.2191089242696762, 0.3537140190601349, -0.2902540862560272, 1.1538622379302979, -0.040253929793834686, 0.268794983625412, 0.6247295141220093, 0.20444625616073608, -0.11640293896198273, -0.37111008167266846, -0.6633387804031372, 0.46465376019477844, -0.754040539264679, -0.3992410898208618, -0.5120956301689148, 0.02193860523402691, -0.20672830939292908, -0.3152039051055908, -0.5846758484840393, -0.5003725290298462, 0.10151508450508118, 0.08226674795150757, 0.1545470952987671, 0.3722124993801117, -0.036830998957157135, 0.15764212608337402, -0.9743017554283142, 0.31693708896636963, 0.6496854424476624, 0.17629720270633698, 0.27784907817840576, -0.5049276351928711, -0.5928794145584106, -0.09483054280281067, -0.2663698196411133, -0.649091362953186, 0.13972243666648865, 0.3125343918800354, 0.4533810019493103, 0.3512541651725769, 0.09088527411222458, 0.7031382322311401, -0.27529510855674744, 0.6790755987167358, 0.5586198568344116, -0.9857650399208069, 0.2479165643453598, -0.3428408205509186, 0.7556062340736389, 0.6296249032020569, 0.32640182971954346, -0.06569439172744751, -0.3544948995113373, -0.7768850922584534, -0.9607784748077393, 0.5840023159980774, 0.16763585805892944, 0.1668117493391037, 0.4863385260105133, 0.10105671733617783, 0.09394745528697968, 0.21581591665744781, -0.4313567280769348, -0.00977993756532669, 0.11065460741519928, -0.4084738492965698, -0.22732967138290405, -0.18092599511146545, -0.37963077425956726, -0.572604238986969, 0.7795515060424805, -0.1276020109653473, 0.36972740292549133, -0.3759758174419403, -0.2800822854042053, -0.31722646951675415, -0.012241281569004059, 0.4986601173877716, 0.840377926826477, -0.18100939691066742, 0.427109956741333, 0.7551722526550293, -0.4646490216255188, 0.09092988818883896, 0.2192009687423706, 0.11818516254425049, 0.03932802379131317, 0.36206570267677307, 1.16355562210083, 0.5223655700683594, -0.7840165495872498, 0.35728761553764343, 0.1656714826822281, -0.2878120243549347, 0.07875426113605499, 0.2905372679233551, -0.007971876300871372, 0.4054009020328522, 0.4056800305843353, 0.20664729177951813, -0.1439233422279358, -0.4488688111305237, 0.03353993967175484, 0.4127863347530365, -0.21022221446037292, -0.6236838102340698, 0.4429558515548706, 0.3611666262149811, -0.09465038031339645, 0.6170070171356201, -0.15156559646129608, -0.3464333713054657, 0.48488104343414307, 0.451791912317276, 0.8108997344970703, -0.42874643206596375, -0.1271084100008011, 0.5287082195281982, 0.19934827089309692, -0.18389931321144104, -0.02132474258542061, -0.028420906513929367, -0.5675297379493713, -0.582683801651001, -0.6912772059440613, -0.13279050588607788, 0.15806731581687927, -0.3975103497505188, 0.44188693165779114, -0.47968268394470215, 0.01780896820127964, 0.164517343044281, 0.11448047310113907, -0.7617528438568115, 0.27006617188453674, -0.05585716664791107, 0.7331801652908325, -0.863339900970459, 0.7234883904457092, 0.8962602019309998, -0.10208204388618469, -0.7427465319633484, -0.21686367690563202, 0.03154606744647026, -0.6893148422241211, 0.5441743731498718, -0.11553754657506943, -0.06677306443452835, 0.18220609426498413, -0.2960861027240753, -0.7444401383399963, 1.019921898841858, 0.521392285823822, -0.6015890836715698, -0.2661520838737488, -0.27657458186149597, 0.35266005992889404, 0.015179027803242207, -0.09455136954784393, 0.4327472746372223, 0.5014052987098694, 0.04481692612171173, -1.1832661628723145, 0.3688232898712158, -0.31593814492225647, -0.3157975971698761, 0.6964256167411804, -0.9068686962127686, 0.7680301666259766, -0.0791148915886879, -0.1474682241678238, -0.12257269024848938, 0.5949800610542297, -0.022543465718626976, 0.04467475786805153, 0.8697789311408997, 0.5950978398323059, 0.7358723282814026, 0.21279045939445496, 0.7543090581893921, -0.5200359225273132, 0.2618872821331024, 0.527772843837738, 0.09504123032093048, 0.6856572031974792, 0.43107208609580994, -0.051664333790540695, 0.3914899528026581, 0.29667001962661743, -0.16172629594802856, 0.5160133242607117, -0.04604817181825638, -0.737650454044342, -0.5118371844291687, 0.05644550174474716, -0.14198808372020721, 0.3420921862125397, 0.32185348868370056, -0.07087884843349457, -0.2062959372997284, -0.05572812631726265, -0.16937291622161865, -0.22862951457500458, -0.4595232903957367, 0.7694848775863647, 0.16050535440444946, -0.6212111115455627, 1.0552886724472046, 0.12181733548641205, 0.6701036691665649, -1.0104036331176758, 0.08407271653413773, -0.07676246017217636, 0.4798983931541443, -0.25021669268608093, -0.3742470145225525, 0.3957872688770294, -0.2169879525899887, -0.2536925971508026, 0.019772514700889587, 1.1054623126983643, -0.5664584636688232, -0.6074844002723694, -0.07678823173046112, 0.49502235651016235, -0.017166631296277046, 0.0644034594297409, -0.6334990859031677, 0.3128880560398102, 0.1264415681362152, -0.0659201443195343, 0.6427476406097412, 0.2337946742773056, 0.0713556706905365, 0.5633525252342224, 0.44364476203918457, 0.0020046541467309, -0.07528606802225113, -0.38950273394584656, 0.9508901834487915, -0.5526792407035828, -0.5824769139289856, -0.8839300870895386, 0.6670867800712585, 0.10261914879083633, -0.10871116071939468, 0.5954649448394775, 0.4436897933483124, 0.7081800103187561, -0.25552257895469666, 0.6186626553535461, -0.32694345712661743, 0.1736239492893219, -0.48726561665534973, 0.6383217573165894, -0.8531452417373657, -0.01074122078716755, -0.1999058872461319, -1.0100537538528442, -0.40745675563812256, 0.40007027983665466, -0.1510583460330963, -0.18070927262306213, 0.7365382313728333, 0.7725926041603088, -0.504869818687439, -0.30247336626052856, 0.3770942986011505, 0.2885848581790924, 0.08860194683074951, 0.9173261523246765, 0.1708933711051941, -0.3657025396823883, 0.7455262541770935, -0.141339510679245, -0.39734482765197754, -0.41327419877052307, -0.7694361805915833, -0.8594911694526672, -0.49673911929130554, -0.3194981515407562, -0.3959246575832367, 0.27542608976364136, 0.8097613453865051, 0.8304234743118286, -0.5213990211486816, -0.4979417324066162, -0.03761176019906998, 0.1530156284570694, -0.6896518468856812, -0.11589890718460083, 0.531933605670929, -0.23173923790454865, -0.8202134966850281, 0.5105921626091003, 0.05636511370539665, 0.01778501830995083, -0.1579636037349701, -0.19670520722866058, -0.04836989566683769, -0.016745740547776222, 0.7375608682632446, 0.5304949283599854, -0.3331836462020874, -0.017759082838892937, -0.14205335080623627, 0.07755900174379349, -0.1989080160856247, 0.7523090839385986, -0.6845757961273193, 0.37798547744750977, 0.6711452603340149, 1.0277609825134277, 0.7219418287277222, -0.07360795140266418, 0.5369787812232971, -0.6793530583381653, 0.2876957058906555, 0.26595139503479004, 0.07120943814516068, 0.24401114881038666, -0.39730602502822876, 0.45571327209472656, 0.5028221607208252, -0.36635056138038635, -1.1498311758041382, 0.29137521982192993, -1.1277260780334473, -0.21881170570850372, 1.134412169456482, 0.09213736653327942, -0.2474094033241272, 0.21193179488182068, 0.02501913346350193, 0.055333010852336884, -0.1499447375535965, 0.8981136679649353, 0.5025004744529724, -0.1557125747203827, -0.12222336232662201, -0.20804399251937866, 0.5345309376716614, 0.9361913204193115, -0.3670366406440735, 0.09357940405607224, 0.2966999113559723, 0.060660406947135925, 0.14062939584255219, 0.48134973645210266, 0.19466744363307953, 0.34965452551841736, 0.38197433948516846, -0.08373122662305832, -0.019554419443011284, -0.3239985704421997, -0.18245673179626465, 0.270182341337204, 0.21659433841705322, 0.06096486374735832 ]
http://arxiv.org/abs/2406.11162v2
http://arxiv.org/pdf/2406.11162v2
How Good are LLMs at Relation Extraction under Low-Resource Scenario? Comprehensive Evaluation
2024-06-17T03:02:04
2024-06-26T01:43:15
Dawulie Jinensibieke, Mieradilijiang Maimaiti, Wentao Xiao, Yuanhang Zheng, Xiaobo Wang
cs.CL
cs.CL
Relation Extraction (RE) serves as a crucial technology for transforming unstructured text into structured information, especially within the framework of Knowledge Graph development. Its importance is emphasized by its essential role in various downstream tasks. Besides the conventional RE methods which are based on neural networks and pre-trained language models, large language models (LLMs) are also utilized in the research field of RE. However, on low-resource languages (LRLs), both conventional RE methods and LLM-based methods perform poorly on RE due to the data scarcity issues. To this end, this paper constructs low-resource relation extraction datasets in 10 LRLs in three regions (Central Asia, Southeast Asia and Middle East). The corpora are constructed by translating the original publicly available English RE datasets (NYT10, FewRel and CrossRE) using an effective multilingual machine translation. Then, we use the language perplexity (PPL) to filter out the low-quality data from the translated datasets. Finally, we conduct an empirical study and validate the performance of several open-source LLMs on these generated LRL RE datasets.
[ -0.4110281467437744, -0.50269615650177, 0.5453349351882935, -0.010257975198328495, -0.5316414833068848, 0.08445174992084503, -0.5250023007392883, -0.6017599701881409, -0.029043348506093025, 0.47349998354911804, -0.5801275372505188, -0.5222002863883972, -0.4822668135166168, 0.5566548109054565, -0.11737728118896484, 0.8670271039009094, -0.13436177372932434, -0.1906009167432785, -0.12046410143375397, -0.4084721803665161, -0.15210473537445068, -0.6120385527610779, -0.30035945773124695, -0.39426982402801514, 0.5252634286880493, 0.6481674313545227, 0.766927182674408, 0.6395559906959534, 0.6624479293823242, 0.2710130512714386, -0.17329451441764832, 0.4252556264400482, -0.6564711332321167, 0.21231107413768768, -0.18235743045806885, -0.36888691782951355, -0.3917028307914734, 0.05749233067035675, 0.5203395485877991, 0.7195771336555481, 0.1043587401509285, 0.47696438431739807, 0.0508744902908802, 0.6116378903388977, -0.6651943325996399, 0.17024466395378113, -0.648043692111969, 0.1624460220336914, -0.39294350147247314, 0.01959223486483097, -0.19684170186519623, -0.3037062883377075, 0.4033060371875763, -0.519189178943634, 0.06144456937909126, 0.21252188086509705, 1.1891263723373413, 0.1309492141008377, -0.23523057997226715, -0.20786258578300476, -0.8668698072433472, 1.0237687826156616, -0.7123055458068848, 0.5621485710144043, 0.46786782145500183, 0.41133445501327515, -0.23851259052753448, -0.7868111729621887, -0.35457220673561096, 0.07395309209823608, -0.42766839265823364, 0.0010934359161183238, -0.20888438820838928, -0.3792210519313812, 0.2268085479736328, 0.5806751251220703, -0.12989541888237, 0.2538806200027466, -0.20606449246406555, -0.058524735271930695, 0.35819247364997864, 0.2681131362915039, 0.095908522605896, -0.8083373308181763, -0.4257243871688843, 0.13636431097984314, -0.9947051405906677, -0.017428193241357803, 0.2662966251373291, 0.5519753098487854, -0.2393759787082672, 0.6038432717323303, -0.09426849335432053, 0.49629953503608704, -0.16939198970794678, -0.5709574222564697, 0.0908307135105133, -0.7706653475761414, -0.21754328906536102, -0.36667218804359436, 1.0746062994003296, -0.10083530098199844, 0.48115378618240356, -0.47800761461257935, -0.3142992854118347, -0.3095557987689972, -0.27909281849861145, -0.7080084085464478, -0.0763571634888649, -0.01964961178600788, -0.7973212003707886, -0.08257744461297989, -0.24592341482639313, -0.8783508539199829, -0.27367326617240906, -0.30277734994888306, -0.3262733519077301, -0.5689637064933777, -0.4985107183456421, -0.3359416127204895, 0.2894359529018402, 0.30363020300865173, 0.21890825033187866, -0.42197200655937195, 0.24865807592868805, 0.44959771633148193, 0.7421859502792358, -0.33760693669319153, 0.028929244726896286, -0.5000799298286438, 0.017735056579113007, -0.06976247578859329, 0.6996057033538818, -0.35817793011665344, -0.34501931071281433, -0.062265343964099884, 0.13444697856903076, 0.08288559317588806, -0.908536434173584, 0.6602981090545654, -0.8745812177658081, 0.10259764641523361, -0.24925756454467773, -0.23610946536064148, 0.12462635338306427, 0.26853352785110474, -0.8737086057662964, 0.6248785257339478, 0.16558325290679932, -0.798057496547699, 0.15465044975280762, -0.22374452650547028, -0.3325755000114441, 0.0384821817278862, -0.32937076687812805, -0.3128030002117157, -0.0921163558959961, 0.36782896518707275, 0.36875325441360474, -0.8978886008262634, 0.06335301697254181, -0.3730536997318268, -0.0945015698671341, 0.39404454827308655, -0.4480019509792328, 0.6972346901893616, 0.6695342659950256, 0.14442671835422516, -0.1629982888698578, -0.7160078287124634, -0.001962871989235282, 0.20885080099105835, -0.4240051209926605, -0.6232192516326904, -0.09757749736309052, -0.008914748206734657, 0.5234623551368713, 0.2691097855567932, -0.4834350645542145, -0.10398649424314499, -0.5086494088172913, 0.41246116161346436, 0.4765961766242981, 0.29593873023986816, 0.4940100908279419, -0.03685968369245529, 0.7458661794662476, 0.21346567571163177, -0.1574573963880539, 0.12073055654764175, -0.09266020357608795, -0.6147439479827881, -0.396147221326828, 0.5944268703460693, 0.5298150181770325, -1.0893858671188354, 0.19079381227493286, -0.5887234210968018, -0.36558961868286133, -0.7255150079727173, 0.5465384125709534, 0.5709721446037292, 0.5751419067382812, 0.19160950183868408, 0.06820273399353027, -0.5044182538986206, -0.9607314467430115, -0.08247794955968857, 0.06782930344343185, -0.011396930553019047, 0.4027770757675171, 0.18297183513641357, -0.09555253386497498, 1.1098254919052124, -0.4794895648956299, -0.2906501889228821, -0.45249032974243164, -0.29133495688438416, 0.49002373218536377, -0.026403989642858505, 0.38388171792030334, -0.8811768293380737, -0.38578227162361145, 0.11121166497468948, -1.0794003009796143, 0.0027141680475324392, 0.23742346465587616, -0.1740148514509201, 0.36716362833976746, 0.25628796219825745, -0.5935194492340088, 0.29593369364738464, 0.4507998526096344, 0.09372147172689438, 0.4434927701950073, 0.09739255905151367, -0.024379024282097816, -1.1339575052261353, 0.3647462725639343, 0.16801802814006805, -0.30706626176834106, -0.3293546140193939, -0.05284910276532173, -0.08283523470163345, -0.2817896008491516, -0.5854727625846863, 0.3767162263393402, -0.8440224528312683, -0.298009991645813, 0.10938076674938202, 0.6624354720115662, -0.15571273863315582, 0.3761831820011139, 0.029438666999340057, 0.717280924320221, -0.071919746696949, -0.47008997201919556, 0.37542301416397095, 0.3828451931476593, -0.47279003262519836, 0.30183979868888855, -0.346411794424057, 0.09488610178232193, 0.15238964557647705, -0.15912491083145142, -0.6089556217193604, -0.02521749958395958, 0.36392736434936523, -0.21336141228675842, 0.25937947630882263, -0.27340033650398254, -0.6914129853248596, -0.0848744809627533, -0.17849543690681458, 0.33553847670555115, 0.3809056580066681, -0.3896122872829437, 0.33916643261909485, 0.4823988974094391, -0.268857479095459, -0.773094117641449, -0.5099722743034363, 0.023387586697936058, -0.4138297736644745, -0.4615577459335327, 0.07731225341558456, 0.3574651777744293, -0.5169448852539062, 0.5058199167251587, -0.21569207310676575, -0.18845556676387787, 0.0015396494418382645, 0.1432938426733017, 0.3246647119522095, -0.2840888202190399, 0.11156162619590759, -0.4010426700115204, -0.11487118899822235, -0.026357455179095268, 0.3554712235927582, 0.4146259129047394, 0.015438544563949108, -0.10337657481431961, -0.26952287554740906, 0.09154152870178223, 0.553490936756134, -0.22220279276371002, 0.7193534970283508, 0.3367493152618408, -0.4372021555900574, 0.02523042820394039, -0.4075218737125397, -0.06457547843456268, -0.38383471965789795, 0.5520228147506714, -0.6869326233863831, -0.680814802646637, 0.6944438815116882, -0.4672276973724365, -0.1384287029504776, 0.4212287664413452, 0.19251130521297455, 0.14349660277366638, 0.18062973022460938, 0.5779587030410767, -0.5316506028175354, 0.2527647018432617, -0.33452972769737244, 0.3853873610496521, -0.9540237188339233, -0.11880621314048767, -0.563984215259552, -0.0410463847219944, -0.82672518491745, -0.09981593489646912, 0.2184729427099228, 0.37275630235671997, -0.023127056658267975, 0.4699671268463135, -0.026234233751893044, 0.23773293197155, 0.16018109023571014, 0.09019991010427475, 0.7278468608856201, 0.39769089221954346, 0.11228450387716293, -0.48499205708503723, -0.7899287939071655, -0.7429829239845276, 1.0133140087127686, 0.3881770372390747, 0.6595675349235535, 0.24960748851299286, 0.7466236352920532, 0.022186383605003357, 0.5645740032196045, -0.814981997013092, 0.49646419286727905, -0.44417551159858704, -0.2781964838504791, -0.4834286570549011, -0.7577998042106628, -1.1106034517288208, 0.22199119627475739, -0.4201480746269226, -0.4736657738685608, 0.21418604254722595, -0.24229954183101654, -0.21510635316371918, 0.40124619007110596, -0.4446665942668915, 0.5307783484458923, -0.22719459235668182, -0.5447618365287781, -0.1293216198682785, -0.5694200396537781, 0.6977296471595764, -0.24536703526973724, 0.46241968870162964, -0.13881027698516846, -0.11856874078512192, 0.6875607371330261, -0.4594883322715759, 0.4652078151702881, -0.021795742213726044, -0.12476974725723267, 0.3899473547935486, 0.096202053129673, 0.4473358392715454, 0.060417503118515015, -0.38089147210121155, 0.2993004322052002, -0.24406565725803375, -0.16342447698116302, -0.40957191586494446, 0.7879508137702942, -0.8973774909973145, -0.4788883626461029, -0.23232874274253845, -0.4410175085067749, -0.318254292011261, 0.3298490345478058, 0.28002163767814636, 0.2130298614501953, -0.1457454115152359, 0.16424119472503662, 0.2683718502521515, -0.46766963601112366, 0.4372117221355438, 0.4141172766685486, -0.15154093503952026, -0.7159007787704468, 0.8249431848526001, 0.2541923224925995, 0.25371018052101135, 0.2086932361125946, -0.08712282031774521, -0.15407703816890717, -0.2484167069196701, -0.38240858912467957, 0.5141444802284241, -0.5935530066490173, -0.5617144107818604, -0.40971407294273376, -0.39943060278892517, -0.2711604833602905, 0.3132316470146179, -0.4028858244419098, -0.19701530039310455, -0.2527632713317871, 0.14188005030155182, 0.20976439118385315, 0.5428957343101501, 0.12401359528303146, 0.04767948016524315, -1.084739327430725, 0.3798975348472595, -0.03481712192296982, -0.026044156402349472, 0.12893237173557281, -0.4756794273853302, -0.3620864152908325, -0.279838889837265, -0.20443840324878693, -0.789618968963623, 0.5623289346694946, -0.1224304735660553, 0.46327322721481323, 0.31615447998046875, 0.29997801780700684, 0.9078903198242188, -0.30787721276283264, 0.4256000518798828, 0.09058799594640732, -0.5566592216491699, 0.303872674703598, -0.17117349803447723, 0.06253917515277863, 0.5621841549873352, 0.578855574131012, -0.37874728441238403, -0.08123768866062164, -0.6164900660514832, -1.0548440217971802, 0.7938942909240723, 0.24198676645755768, -0.22608353197574615, 0.21398939192295074, 0.6298549771308899, 0.006553629878908396, 0.288793683052063, -0.5979016423225403, -0.44717690348625183, 0.3036501109600067, -0.023288661614060402, 0.04071136191487312, -0.5526688098907471, 0.10974288731813431, 0.15147939324378967, 0.4115903079509735, 0.4042763113975525, 0.053349677473306656, 0.24450942873954773, -0.15175211429595947, -0.36248645186424255, 0.45381495356559753, 0.1914825737476349, 0.7142583727836609, -0.3671504557132721, 0.1680627465248108, 0.16463090479373932, -0.23946794867515564, 0.1779240369796753, 0.2217617928981781, -0.03585783392190933, 0.002206983743235469, 0.7091051936149597, 0.28238919377326965, 0.2189374715089798, -0.440828800201416, 0.3143036365509033, -0.08192825317382812, 0.23457114398479462, -0.39139217138290405, -0.28782448172569275, 0.29267022013664246, 0.15528647601604462, 0.23602630198001862, -0.2888828217983246, -0.18411311507225037, -0.4539426267147064, 0.08160598576068878, 0.2748448848724365, -0.0034789920318871737, -0.3126716613769531, 0.23986338078975677, 0.31680867075920105, -0.210157111287117, 1.0559589862823486, -0.22130267322063446, -0.3423725366592407, 0.2785927355289459, 0.43033459782600403, 0.48703426122665405, 0.12752747535705566, -0.14015190303325653, 0.42013612389564514, 0.41078755259513855, 0.1958838552236557, -0.1279296875, -0.09435688704252243, -0.8724132776260376, -0.7530022263526917, -0.6626524329185486, -0.4777323603630066, 0.571866512298584, -0.6595425605773926, 0.2555696368217468, -0.19325196743011475, -0.2054382711648941, -0.35594505071640015, 0.4436432123184204, -0.8374688625335693, -0.1064959317445755, -0.23535855114459991, 0.735869288444519, -0.7230408787727356, 0.9220661520957947, 0.7770374417304993, -0.5367761850357056, -0.8469659686088562, 0.0292535237967968, -0.1386568546295166, -0.7122604250907898, 1.1496576070785522, -0.3238317370414734, -0.23625294864177704, -0.2398800551891327, -0.37057632207870483, -0.8197286128997803, 1.0849311351776123, 0.5521610379219055, -0.7431358695030212, 0.06926921755075455, 0.23883017897605896, 0.5079103112220764, -0.28324195742607117, -0.11136598140001297, 0.5553188920021057, 0.3872319161891937, -0.13880030810832977, -0.768294632434845, 0.317179799079895, -0.06953718513250351, -0.05671709403395653, 0.17869743704795837, -0.6046631932258606, 0.8041595816612244, -0.061258964240550995, -0.6350218057632446, 0.1430816799402237, 0.7000163197517395, 0.5222911834716797, 0.30027228593826294, 0.4850535988807678, 0.4513765573501587, 0.5929206609725952, 0.15396438539028168, 0.9199896454811096, -0.3888097107410431, 0.21397319436073303, 1.1901671886444092, -0.5483492016792297, 0.8434667587280273, 0.69794762134552, -0.38155025243759155, 0.4214463233947754, 0.6053352355957031, 0.23310700058937073, 0.5249505639076233, 0.08693324774503708, -0.060635074973106384, -0.34032973647117615, -0.27664148807525635, -0.2228778898715973, 0.37294137477874756, 0.3038996160030365, -0.36835479736328125, -0.3687630593776703, -0.3661530315876007, 0.341507226228714, 0.18915694952011108, -0.08716751635074615, 0.6098259091377258, 0.5201910734176636, -0.4597325921058655, 0.5233626961708069, -0.017081521451473236, 0.6141982674598694, -0.43730705976486206, -0.05599522590637207, -0.5392289161682129, 0.28308025002479553, -0.2990745007991791, -0.4884330630302429, 0.21387290954589844, 0.300263375043869, -0.3391365706920624, 0.21808506548404694, 0.978253185749054, -0.32648634910583496, -0.2520926296710968, 0.574786365032196, 1.1869484186172485, 0.2362833470106125, 0.2916385531425476, -0.43004968762397766, 0.019040726125240326, 0.010578340850770473, -0.36579057574272156, 0.5226648449897766, 0.9721547961235046, -0.127068892121315, 0.5394987463951111, 0.6510512232780457, 0.6706845760345459, -0.5231658816337585, -0.25602495670318604, 0.9194032549858093, -0.834177553653717, 0.07000710070133209, -0.8882320523262024, 0.07334503531455994, -0.24234303832054138, -0.18175607919692993, 1.011347770690918, 0.37150585651397705, 0.6085473895072937, 0.08479707688093185, 0.6791293621063232, 0.08077335357666016, 0.5762482285499573, -0.49178704619407654, 0.6433287858963013, -0.35772737860679626, 0.559798002243042, -0.3220023512840271, -1.037701964378357, -0.266009658575058, 0.41388756036758423, -0.5215865969657898, -0.1270747184753418, 0.761136531829834, 0.5667762160301208, -0.15656989812850952, -0.24425357580184937, 0.3469783663749695, 0.13431310653686523, 0.3426675796508789, 0.6348720192909241, 0.8334121704101562, -0.33382508158683777, 0.9335309267044067, -0.4486232399940491, 0.0071898167952895164, 0.10950682312250137, -0.8867098093032837, -0.6571160554885864, -0.23195524513721466, -0.012993295677006245, -0.3505963683128357, -0.1698131412267685, 0.9022015333175659, 0.39560040831565857, -0.5642867684364319, -0.47794032096862793, 0.29930275678634644, 0.4053347110748291, 0.24471737444400787, -0.2853548526763916, 0.7271119952201843, -0.26255330443382263, -0.5307888984680176, 0.3454420864582062, 0.12695862352848053, -0.03401139751076698, -0.27684009075164795, -0.2223585546016693, -0.2833646833896637, -0.5024281144142151, 0.6482812166213989, 0.3442723751068115, -0.4521387219429016, -0.18643133342266083, 0.005025741644203663, -0.2748964726924896, -0.04884486272931099, 0.6925517320632935, -0.7644925713539124, 0.022452659904956818, 0.3406337797641754, 0.6789426207542419, 0.300971120595932, 0.07388853281736374, 0.5186313390731812, -0.6865385174751282, 0.25025075674057007, 0.021795302629470825, 0.39260151982307434, 0.5825674533843994, -0.322781503200531, 0.9665149450302124, 0.2934723198413849, -0.5910419225692749, -0.9147384166717529, 0.21372483670711517, -0.6354461312294006, -0.14555278420448303, 1.3484439849853516, -0.49566179513931274, -0.3410838842391968, -0.3065568804740906, 0.12893012166023254, 0.43896013498306274, -0.3718084394931793, 0.617805540561676, 0.6273488402366638, -0.3593086004257202, -0.12190808355808258, -0.5382065773010254, 0.4256395697593689, 0.19196955859661102, -0.79954594373703, 0.15661218762397766, 0.44236087799072266, 0.3684329390525818, 0.3539261817932129, 0.5934106707572937, -0.3008885681629181, -0.13383956253528595, -0.3150367736816406, -0.024208644405007362, -0.05464130640029907, -0.010145539417862892, -0.21415071189403534, 0.266612708568573, 0.34329333901405334, -0.20735475420951843 ]
http://arxiv.org/abs/2406.15479v1
http://arxiv.org/pdf/2406.15479v1
Twin-Merging: Dynamic Integration of Modular Expertise in Model Merging
2024-06-17T02:31:55
2024-06-17T02:31:55
Zhenyi Lu, Chenghao Fan, Wei Wei, Xiaoye Qu, Dangyang Chen, Yu Cheng
cs.CL
cs.CL, cs.AI, cs.LG
In the era of large language models, model merging is a promising way to combine multiple task-specific models into a single multitask model without extra training. However, two challenges remain: (a) interference between different models and (b) heterogeneous data during testing. Traditional model merging methods often show significant performance gaps compared to fine-tuned models due to these issues. Additionally, a one-size-fits-all model lacks flexibility for diverse test data, leading to performance degradation. We show that both shared and exclusive task-specific knowledge are crucial for merging performance, but directly merging exclusive knowledge hinders overall performance. In view of this, we propose Twin-Merging, a method that encompasses two principal stages: (1) modularizing knowledge into shared and exclusive components, with compression to reduce redundancy and enhance efficiency; (2) dynamically merging shared and task-specific knowledge based on the input. This approach narrows the performance gap between merged and fine-tuned models and improves adaptability to heterogeneous data. Extensive experiments on $12$ datasets for both discriminative and generative tasks demonstrate the effectiveness of our method, showing an average improvement of $28.34\%$ in absolute normalized score for discriminative tasks and even surpassing the fine-tuned upper bound on the generative tasks. (Our implementation is available in https://github.com/LZY-the-boys/Twin-Mergin.)
[ -0.5238726139068604, -0.8980807662010193, 0.41420698165893555, -0.057111579924821854, -0.026733815670013428, 0.3336974084377289, -0.394814133644104, -0.608833909034729, -0.0803997740149498, 0.3498079776763916, -0.5789099335670471, -0.2573855519294739, -0.559112548828125, -0.36878111958503723, -0.5361717343330383, 0.8963501453399658, -0.15860779583454132, -0.037007614970207214, -0.5385497212409973, -0.0764574408531189, -0.5065926909446716, -0.41213688254356384, -0.33891695737838745, -0.3507317900657654, 0.6308289766311646, 0.5192638635635376, 0.5744211077690125, 0.5833202600479126, 0.5381439924240112, 0.25332146883010864, -0.11322546750307083, 0.5112559795379639, -0.3343278765678406, 0.4105377197265625, -0.13052956759929657, -0.4031534790992737, -0.7352515459060669, 0.10325172543525696, 0.7495507001876831, 0.865774393081665, -0.02227005548775196, 0.26870954036712646, 0.3055267930030823, 0.5427767038345337, -0.5785767436027527, 0.30176326632499695, -0.38796377182006836, 0.15165506303310394, -0.2048933207988739, 0.05969955772161484, -0.04212349280714989, -0.3851543366909027, 0.0779571607708931, -0.34525179862976074, 0.2479492574930191, -0.2381235957145691, 0.6004953384399414, 0.4613441228866577, -0.6676388382911682, 0.2874215543270111, -0.9763776659965515, 0.7548120617866516, -0.6019142866134644, 0.22399301826953888, 0.13342559337615967, 0.4215805232524872, 0.17951679229736328, -0.3149753212928772, -0.8154029250144958, 0.08900793641805649, -0.17832989990711212, 0.020456230267882347, -0.1517535001039505, 0.05977853760123253, 0.23236390948295593, 0.4868009090423584, -0.4977993667125702, 0.29567161202430725, -0.6771027445793152, 0.05952628329396248, 0.8941181898117065, 0.2619350552558899, 0.38802704215049744, 0.1237073466181755, -0.17066480219364166, -0.19983366131782532, -0.3158896863460541, 0.05170005187392235, 0.6387724876403809, 0.5659320950508118, -0.07842573523521423, 0.643873393535614, -0.2816622257232666, 0.6600412130355835, 0.36144745349884033, 0.05670108273625374, 0.43392348289489746, -0.7915087938308716, 0.023843739181756973, -0.27709388732910156, 0.5886338949203491, 0.20063255727291107, -0.005073211621493101, -0.30175289511680603, -0.2094186246395111, 0.14167334139347076, 0.4264448285102844, -0.3481241464614868, -0.15762554109096527, 0.3310202360153198, -0.38505789637565613, -0.40178143978118896, -0.084166020154953, -0.7650982141494751, -0.23463456332683563, -0.6545923352241516, 0.6060382127761841, -0.25764259696006775, -0.6830660700798035, 0.13978762924671173, -0.10590344667434692, 0.013843911699950695, 0.2124466747045517, -0.7048588991165161, 0.2776487469673157, 0.9891362190246582, 0.63260418176651, -0.6410741209983826, -0.6195701956748962, -0.5348708629608154, 0.03951358050107956, -0.001560382079333067, 0.6401659846305847, -0.38269466161727905, -0.17688485980033875, -0.004108462017029524, -0.180587038397789, -0.4029172360897064, -0.552980363368988, 0.1471625566482544, -0.3957073390483856, 0.39014387130737305, -0.3032829165458679, -0.47201043367385864, -0.27651098370552063, 0.2472895234823227, -0.7289001941680908, 1.114810824394226, 0.18535758554935455, -0.6016009449958801, 0.31501102447509766, -0.6955770254135132, -0.5358135104179382, 0.061550140380859375, -0.30936145782470703, -0.3773755729198456, 0.1435292512178421, -0.030599020421504974, 0.6220267415046692, -0.3860403001308441, 0.26774799823760986, -0.4353179335594177, -0.26038169860839844, -0.1503286361694336, -0.0874197781085968, 0.6256403923034668, -0.018620455637574196, -0.37772873044013977, 0.27527177333831787, -0.5480920672416687, 0.12374864518642426, -0.18521751463413239, -0.3063870668411255, -0.12297546118497849, -0.21375136077404022, 0.12004660069942474, 0.2853926122188568, 0.45474910736083984, -0.30616816878318787, 0.6005090475082397, 0.04149927943944931, 0.047915250062942505, 0.5679595470428467, -0.3269439935684204, 0.7135469317436218, -0.6713631749153137, 0.5160824656486511, 0.1413584053516388, 0.27325761318206787, 0.12090638279914856, -0.6482833027839661, -0.8393369317054749, -0.18169823288917542, 0.4128497540950775, 0.577232301235199, -0.629876971244812, 0.6761711835861206, -0.3581881821155548, -0.6767835021018982, -0.4013097882270813, 0.10857849568128586, 0.5224437713623047, 0.15637698769569397, 0.3687632977962494, -0.633983314037323, -0.42940953373908997, -1.0219956636428833, -0.25962400436401367, -0.10169609636068344, 0.16651341319084167, 0.12636199593544006, 0.3229273855686188, -0.1941627711057663, 0.7455886602401733, -0.6152921915054321, -0.2874155342578888, -0.22177797555923462, 0.4272252321243286, 0.17555229365825653, 0.9740307927131653, 0.4238974153995514, -0.9365299344062805, -0.6033642292022705, 0.29214194416999817, -0.5387021899223328, 0.08025766164064407, 0.13719885051250458, -0.030401086434721947, 0.04110380634665489, 0.32649198174476624, -0.625611424446106, 0.3456209599971771, 0.7343828678131104, -0.26278483867645264, 0.7279273271560669, -0.3179439306259155, 0.5151767134666443, -1.16799795627594, 0.01895902492105961, -0.3559570908546448, -0.1092066764831543, -0.874427080154419, 0.20490118861198425, 0.23172390460968018, -0.017020221799612045, -0.17157362401485443, 0.3338257074356079, -0.5389934778213501, 0.0781397670507431, -0.2661310136318207, -0.22723114490509033, -0.30997657775878906, 0.5191807150840759, -0.3861940801143646, 0.688976526260376, 0.6301131844520569, -0.5522119402885437, 0.5735141634941101, 0.10128190368413925, -0.24738658964633942, 0.43846026062965393, -0.18982473015785217, 0.28122082352638245, -0.0015105953207239509, 0.010820169933140278, -0.8844435811042786, -0.32574203610420227, -0.08768349140882492, -0.28039008378982544, 0.47040966153144836, -0.09638616442680359, -0.7022697329521179, -0.38702771067619324, -0.0510435588657856, 0.8033537268638611, 0.7473281025886536, -0.4612577557563782, 1.1127996444702148, 0.2902020215988159, -0.22538289427757263, -0.5446910858154297, -0.7899922132492065, -0.1699291616678238, -0.12960053980350494, -0.8923514485359192, 0.6156063675880432, -0.15190239250659943, 0.08920953422784805, 0.32979974150657654, -0.3222820460796356, -0.5144481658935547, -0.07021642476320267, 0.3715970516204834, 0.40498530864715576, -0.2700183391571045, 0.18691563606262207, 0.3935084640979767, -0.059951625764369965, -0.32700538635253906, -0.27004149556159973, 0.45389243960380554, 0.1303974688053131, -0.5958358645439148, -0.5948580503463745, 0.6461878418922424, 1.0206373929977417, -0.36313509941101074, 0.8724392056465149, 0.7240028381347656, -0.4109175503253937, -0.13826091587543488, -1.0507701635360718, -0.23603306710720062, -0.38449814915657043, 0.38280773162841797, -0.46256864070892334, -1.0352036952972412, 0.5284155607223511, -0.031671542674303055, 0.2574837803840637, 0.3082467019557953, 0.445482075214386, -0.0198993943631649, 1.0712701082229614, 0.8509027361869812, 0.04260585457086563, 0.4514293670654297, -0.22919829189777374, 0.6123741269111633, -0.5929470658302307, -0.4232743978500366, -0.351808100938797, -0.6399295926094055, -0.38951054215431213, -0.7561646699905396, 0.2911641299724579, -0.09827218949794769, 0.058682218194007874, 0.33919084072113037, -0.3735264837741852, 0.5587601661682129, 0.5300973653793335, 0.17534573376178741, 0.4897216260433197, -0.019155427813529968, 0.0009479245054535568, 0.13280336558818817, -0.8027960062026978, -0.12197566777467728, 1.2498834133148193, -0.012991368770599365, 0.3725167512893677, 0.08188112080097198, 0.5888143181800842, 0.08267316222190857, -0.23414815962314606, -0.6169947981834412, 0.5660673975944519, -0.6103636622428894, -0.5133838653564453, -0.06386364996433258, -0.5311644077301025, -0.6766459345817566, 0.2692519724369049, -0.5034159421920776, -0.5498212575912476, 0.2367456555366516, 0.3264390230178833, -0.6222562193870544, 0.5504183173179626, -0.825888991355896, 0.6421638131141663, -0.06543819606304169, -0.33697783946990967, -0.6949842572212219, -0.3636922538280487, 0.7249729633331299, -0.4975297152996063, 0.1088092252612114, -0.19928522408008575, 0.030076906085014343, 0.7239426374435425, 0.042153749614953995, 0.652816891670227, 0.0625225082039833, 0.05694024637341499, -0.29128992557525635, 0.06744880974292755, 0.30548542737960815, -0.29455792903900146, 0.13237586617469788, 0.14904022216796875, 0.14190880954265594, -0.47250548005104065, -0.8264542818069458, 0.777469277381897, -0.6845842003822327, -0.6388041377067566, -0.24576281011104584, -1.1362888813018799, -0.4391416013240814, 0.08492323756217957, -0.11569242924451828, 0.38548293709754944, 0.12151594460010529, 0.13487958908081055, 0.6438422799110413, 0.13437487185001373, 0.06505315005779266, 0.39487361907958984, -0.22408625483512878, -0.24902722239494324, 0.6514354348182678, 0.12951554358005524, 0.49790799617767334, 0.12911653518676758, 0.00409826822578907, 0.14635035395622253, -0.4562051594257355, 0.0728832334280014, 0.16642417013645172, -0.3156532943248749, -0.12270993739366531, -0.7928805351257324, -0.30209553241729736, -0.5138358473777771, -0.002445230958983302, -0.6312134265899658, -0.5987178683280945, 0.030751077458262444, 0.17899279296398163, 0.12235627323389053, 0.8909680843353271, -0.37554827332496643, 0.17157676815986633, -1.0152573585510254, 0.27027902007102966, 0.5784128308296204, 0.2239556461572647, 0.13528990745544434, -0.1930391490459442, -0.31249842047691345, -0.11027495563030243, -0.09458792954683304, -0.8190639615058899, -0.05256342887878418, -0.14457911252975464, 0.6222068667411804, 0.2321699559688568, -0.0695224329829216, 0.8424829244613647, -0.22886180877685547, 0.7137182354927063, 0.37319719791412354, -0.8778071403503418, 0.25571849942207336, -0.27352678775787354, 0.27553582191467285, 0.6333760023117065, 0.3217809498310089, -0.48352646827697754, -0.3633602559566498, -0.5523328185081482, -0.8273077607154846, 0.8832216858863831, 0.20265008509159088, -0.08615822345018387, 0.6701149344444275, 0.2594788372516632, 0.2773754596710205, 0.20083704590797424, -0.08578827232122421, -0.21281665563583374, 0.4148162603378296, -0.3006311058998108, -0.1802457869052887, -0.14749550819396973, -0.4438982307910919, -0.8530625700950623, 0.45275282859802246, 0.030748184770345688, 0.10423737019300461, -0.3819991648197174, -0.0782860592007637, 0.047553807497024536, 0.020958563312888145, 0.2627864480018616, 0.589933454990387, -0.08112358301877975, 0.16673512756824493, 0.2648696303367615, -0.37514668703079224, -0.012860777787864208, 0.24803723394870758, -0.02864227443933487, -0.167480930685997, 0.28560200333595276, 0.671561062335968, 0.2117508500814438, -0.3630864918231964, 0.47013792395591736, -0.14918315410614014, -0.3591611981391907, 0.13645051419734955, 0.31840822100639343, 0.012811336666345596, 0.6347792148590088, 0.17136035859584808, 0.48988303542137146, -0.148340106010437, -0.5680592656135559, 0.2372831255197525, 0.3302071988582611, -0.12113364785909653, -0.4469746947288513, 0.308874249458313, 0.3290017545223236, -0.0753529891371727, 0.538144588470459, -0.17152532935142517, -0.8118350505828857, 0.5642381310462952, 0.10763758420944214, 0.8746015429496765, -0.4223152995109558, -0.002723345998674631, 0.44966068863868713, 0.09104328602552414, -0.363474577665329, 0.2746584117412567, -0.4314368963241577, -0.6607966423034668, -0.5218774676322937, -0.14938031136989594, -0.23710443079471588, -0.09553239494562149, -0.857131838798523, 0.2544940412044525, -0.03895118832588196, -0.24084016680717468, -0.10804109275341034, 0.17233528196811676, -0.8284614682197571, -0.03919125720858574, 0.06826285272836685, 0.6768836379051208, -1.0198732614517212, 0.8597951531410217, 0.803299605846405, -0.36808037757873535, -0.8138860464096069, 0.13338340818881989, 0.16403312981128693, -0.5098156929016113, 0.6725319027900696, 0.07920774072408676, 0.17603352665901184, -0.16365374624729156, -0.07603383809328079, -0.8673978447914124, 1.1174012422561646, 0.31506630778312683, -0.5270811915397644, -0.5458828806877136, 0.08231004327535629, 0.19986166059970856, -0.4237304925918579, 0.08953526616096497, 0.8501262664794922, 0.576107919216156, 0.15659071505069733, -1.5379191637039185, 0.02424761839210987, -0.3322489261627197, -0.18641166388988495, 0.3815130591392517, -0.42499062418937683, 1.1042550802230835, -0.10626775026321411, -0.38424959778785706, 0.06347893178462982, 0.41770485043525696, -0.04233158007264137, 0.21350698173046112, 0.819122314453125, 0.6866552233695984, 0.9210365414619446, -0.19635024666786194, 0.6698324084281921, -0.5007869601249695, 0.634204626083374, 1.1866146326065063, -0.03730876371264458, 0.7656735777854919, 0.4318828582763672, -0.09977714717388153, 0.29864171147346497, 0.22166673839092255, 0.0034016917925328016, 0.35290834307670593, -0.16559560596942902, -0.3394710421562195, -0.6034513711929321, 0.03298535570502281, -0.5863862633705139, 0.47927021980285645, -0.1238265112042427, 0.0029592423234134912, -0.2223503291606903, 0.10021978616714478, -0.16883428394794464, 0.06536036729812622, 0.08454158902168274, 0.7226139307022095, -0.2622252106666565, -0.7861236929893494, 0.3119809627532959, -0.35830873250961304, 1.0022221803665161, -0.6134354472160339, 0.12425853312015533, -0.06568768620491028, 0.30620360374450684, -0.3720090687274933, -0.8066352605819702, 0.5978168249130249, -0.17792972922325134, -0.5024062991142273, -0.4483778476715088, 0.6016139388084412, -0.8435569405555725, -0.1765960156917572, 0.4093461036682129, 0.781316339969635, -0.11278040707111359, -0.1851409375667572, -0.5071852803230286, 0.19317704439163208, 0.00917277205735445, 0.23878860473632812, 0.33181628584861755, 0.01203164178878069, 0.31898531317710876, 0.42715147137641907, 0.6686355471611023, 0.2092277705669403, 0.17197880148887634, -0.14944417774677277, 0.956102192401886, -0.5001116394996643, -0.40537622570991516, -0.5082900524139404, 0.7116833925247192, -0.15025758743286133, -0.08870384097099304, 0.5599429607391357, 0.7052944302558899, 0.9159025549888611, 0.006587820127606392, 0.7726853489875793, -0.1926991194486618, 0.34849971532821655, -0.3653072714805603, 0.9799977540969849, -1.111406683921814, -0.0230095311999321, 0.14501933753490448, -0.885118305683136, -0.22393079102039337, 0.005690037272870541, -0.29788923263549805, 0.019544221460819244, 0.9395972490310669, 0.7899908423423767, -0.4473617374897003, -0.01523679494857788, 0.39974167943000793, 0.08872630447149277, 0.2222442626953125, 0.8383691310882568, 0.7336204648017883, -0.3410390019416809, 0.32242369651794434, -0.46078184247016907, -0.3619786202907562, -0.13310466706752777, -0.5351893305778503, -0.8490259647369385, -1.0592610836029053, -0.5585975050926208, -0.3443358242511749, 0.15953481197357178, 0.7256159782409668, 0.9629092216491699, -0.5786451101303101, -0.2674114406108856, 0.15586715936660767, 0.02727886103093624, -0.47766631841659546, -0.17680563032627106, 0.19932304322719574, -0.4420699179172516, -1.000152826309204, 0.29732972383499146, 0.23997406661510468, -0.04435485973954201, -0.3362789750099182, 0.164817214012146, -0.07830844819545746, -0.017448406666517258, 0.2984054386615753, 0.10616827756166458, -0.5981195569038391, 0.017533866688609123, -0.2114492654800415, -0.015695372596383095, -0.14867043495178223, 1.167690396308899, -0.6951724886894226, 0.605037271976471, 0.8935230374336243, 0.8364336490631104, 0.4831738770008087, -0.0350831001996994, 0.8362501859664917, -0.4598860442638397, 0.03448956087231636, 0.18720409274101257, 0.1824313998222351, 0.1309252381324768, -0.3948175311088562, 0.32630041241645813, 0.2788865268230438, -0.45127972960472107, -1.1178231239318848, 0.3172423541545868, -1.1413655281066895, -0.152201309800148, 1.1001560688018799, 0.011574629694223404, 0.03775441274046898, -0.04452619329094887, 0.16335701942443848, 0.5689604878425598, -0.13495120406150818, 0.7557334899902344, 0.6672426462173462, -0.18619628250598907, 0.08608641475439072, -0.41614672541618347, 0.32668960094451904, 0.7293226718902588, -0.9448630809783936, 0.07810141891241074, 0.20715300738811493, 0.25222086906433105, 0.278663694858551, 0.0920434221625328, 0.07760314643383026, 0.5009034872055054, -0.04475263133645058, 0.24345892667770386, -0.29378950595855713, -0.3431087136268616, -0.4717625081539154, 0.2962202727794647, -0.34289437532424927, -0.3276893198490143 ]
http://arxiv.org/abs/2406.11149v1
http://arxiv.org/pdf/2406.11149v1
GoldCoin: Grounding Large Language Models in Privacy Laws via Contextual Integrity Theory
2024-06-17T02:27:32
2024-06-17T02:27:32
Wei Fan, Haoran Li, Zheye Deng, Weiqi Wang, Yangqiu Song
cs.CL
cs.CL, cs.CR
Privacy issues arise prominently during the inappropriate transmission of information between entities. Existing research primarily studies privacy by exploring various privacy attacks, defenses, and evaluations within narrowly predefined patterns, while neglecting that privacy is not an isolated, context-free concept limited to traditionally sensitive data (e.g., social security numbers), but intertwined with intricate social contexts that complicate the identification and analysis of potential privacy violations. The advent of Large Language Models (LLMs) offers unprecedented opportunities for incorporating the nuanced scenarios outlined in privacy laws to tackle these complex privacy issues. However, the scarcity of open-source relevant case studies restricts the efficiency of LLMs in aligning with specific legal statutes. To address this challenge, we introduce a novel framework, GoldCoin, designed to efficiently ground LLMs in privacy laws for judicial assessing privacy violations. Our framework leverages the theory of contextual integrity as a bridge, creating numerous synthetic scenarios grounded in relevant privacy statutes (e.g., HIPAA), to assist LLMs in comprehending the complex contexts for identifying privacy risks in the real world. Extensive experimental results demonstrate that GoldCoin markedly enhances LLMs' capabilities in recognizing privacy risks across real court cases, surpassing the baselines on different judicial tasks.
[ 0.02561977133154869, -1.1631134748458862, 0.6313572525978088, 0.006757690105587244, -0.28340956568717957, -0.055700208991765976, -0.34436893463134766, -0.6082385778427124, 0.08960704505443573, 1.0498775243759155, -0.20207753777503967, -0.6326168179512024, -0.5278884172439575, -0.053130559623241425, -0.4878278374671936, 1.3885138034820557, 0.06371493637561798, -0.4476490616798401, -0.1617717742919922, -0.2434098869562149, -0.3223353326320648, -0.8305684328079224, -0.21782565116882324, -0.29023221135139465, 0.48559004068374634, 0.23909378051757812, 0.6689378023147583, 0.5030412673950195, 0.46084141731262207, 0.32205283641815186, -0.17008328437805176, 0.018039831891655922, -0.40326136350631714, -0.10368266701698303, -0.24542897939682007, -0.3273385167121887, -0.5714025497436523, -0.22605597972869873, 0.38129159808158875, 0.8127867579460144, -0.14800162613391876, 0.05297710373997688, 0.06666985154151917, 0.6702530980110168, -0.9987444281578064, 0.1464652717113495, -0.7163347005844116, -0.09299981594085693, -0.2100323587656021, -0.47009554505348206, -0.04872424155473709, -0.07214158028364182, 0.026264987885951996, -0.36454638838768005, 0.00903912540525198, 0.05529196560382843, 0.774641215801239, -0.12357538938522339, -0.5973262786865234, -0.250833660364151, -0.5304099917411804, 0.3868849277496338, -0.5653371810913086, 0.2354777753353119, 0.5587494969367981, 0.24628590047359467, -0.026582855731248856, -0.7385109066963196, -0.5386949181556702, -0.22580556571483612, -0.11638716608285904, -0.19549688696861267, -0.0023042848333716393, 0.11894737184047699, 0.39048880338668823, 0.6233658790588379, -0.39741042256355286, -0.2228643298149109, -0.08764804154634476, -0.09795761853456497, 0.4909549057483673, 0.054061416536569595, 0.29713574051856995, -0.2628704607486725, 0.06999918073415756, 0.05497114732861519, -0.8510700464248657, 0.12780140340328217, 0.5816134214401245, 0.6834940910339355, -0.2514777183532715, 0.534299373626709, -0.060456931591033936, 0.5936892032623291, 0.013948464766144753, -0.2845582962036133, 0.20913761854171753, -0.2035321295261383, -0.401083379983902, 0.4828591048717499, 0.5916064381599426, 0.26476070284843445, 0.20835821330547333, -0.22017845511436462, -0.10612724721431732, 0.07791715115308762, 0.20585113763809204, -0.725983202457428, -0.05570976436138153, 0.5869830250740051, -0.3667939603328705, -0.5157959461212158, 0.2872295677661896, -0.32632243633270264, -0.6658055782318115, -0.3713753819465637, 0.2614539563655853, -0.004068058915436268, -0.3089480698108673, 0.3707708418369293, 0.20624873042106628, 0.0029370554257184267, -0.03981023281812668, -1.1253113746643066, 0.6202029585838318, 1.2694694995880127, 0.8498759269714355, 0.47971904277801514, -0.15758976340293884, -0.7961062788963318, 0.519426703453064, -0.4252190887928009, 0.36087876558303833, -0.37005195021629333, -0.29162004590034485, 0.2902519404888153, 0.37002885341644287, 0.31878069043159485, -0.3194240629673004, 0.5702721476554871, -0.670881450176239, -0.479401171207428, -0.2183264195919037, -0.23587562143802643, -0.10123425722122192, 0.6480620503425598, -0.8799650073051453, 0.24936172366142273, -0.03594484180212021, -1.090293526649475, 0.3516952097415924, -0.6650015711784363, -0.7258737087249756, 0.2731420695781708, -0.21983610093593597, -0.49600082635879517, 0.005473759490996599, -0.004164708778262138, 0.3352237343788147, -0.07472144812345505, 0.45152807235717773, -0.5114001035690308, -0.5656850934028625, 0.5968199968338013, -0.32653024792671204, 1.0333845615386963, 0.09948133677244186, -0.36852264404296875, 0.12252464145421982, -0.8166019320487976, -0.25945597887039185, 0.10749390721321106, -0.04142087325453758, -0.9877592921257019, -0.11205989122390747, 0.1629188358783722, 0.0038181014824658632, 0.4331547021865845, -0.33681222796440125, -0.17373450100421906, -0.7217821478843689, 0.9390071034431458, 0.7259906530380249, 0.05309350788593292, 0.5586597919464111, -0.09147806465625763, 0.1657644510269165, -0.0861327052116394, 0.1780833750963211, -0.2458295226097107, -0.08222218602895737, -0.24799402058124542, -0.08187124133110046, 0.5274342894554138, 0.78249591588974, 0.3170810043811798, 0.6871169209480286, -0.5274816751480103, -0.005126868840306997, -0.3077600598335266, 0.3867461681365967, -0.20591314136981964, 0.26784470677375793, -0.08899951726198196, -0.29481419920921326, -0.6399490237236023, -0.8034027814865112, -0.5758363008499146, -0.17693883180618286, 0.24154511094093323, 0.5915018916130066, 0.6434828639030457, -0.5979114174842834, 0.980318546295166, 0.038775939494371414, -0.1780742108821869, 0.10288991779088974, -0.14330734312534332, 0.275607705116272, 0.690994143486023, 0.1998286247253418, -1.1688175201416016, -0.11550291627645493, 0.5904844999313354, -0.8465498685836792, 0.1734362095594406, -0.15213057398796082, -0.21437671780586243, -0.020565090700984, 0.412942498922348, -0.702677845954895, 0.5238657593727112, 0.6411117911338806, -0.4308488667011261, 0.14459002017974854, -0.3462338447570801, 0.1455054134130478, -1.0871471166610718, 0.33674174547195435, -0.16238757967948914, -0.4800019860267639, -0.4926709234714508, -0.0019679937977343798, 0.3743212819099426, -0.19895964860916138, -0.2821255028247833, 0.4627527594566345, -0.13393482565879822, -0.2859145998954773, -0.4522312581539154, 0.14611394703388214, 0.043626803904771805, -0.0670909509062767, -0.2666397988796234, 0.4568832814693451, 0.49103012681007385, -0.44608891010284424, 0.29851850867271423, 0.06601152569055557, -0.2864318788051605, 0.6492199301719666, -0.660326361656189, 0.001642787829041481, 0.08504378795623779, 0.24334710836410522, -0.5767109990119934, -0.448336124420166, 0.46081647276878357, -0.1973726898431778, 0.2082204520702362, -0.4837142527103424, -0.7277631759643555, 0.003057939698919654, -0.13291247189044952, 0.6294026970863342, 0.21730193495750427, -0.3642328679561615, 0.7826698422431946, 0.49550661444664, -0.23378871381282806, -1.0029239654541016, -0.8525757193565369, 0.684788703918457, -0.5759779214859009, -0.48423293232917786, 0.3605601191520691, -0.0028012054972350597, -0.7968000173568726, 0.09712187200784683, 0.005467125214636326, -0.004221913404762745, 0.5699403882026672, 0.5529034733772278, 0.13690021634101868, 0.32108837366104126, -0.08972322940826416, 0.04963481053709984, -0.30156540870666504, 0.2501753866672516, -0.5575590133666992, 0.3482825756072998, -0.31196480989456177, -0.27646496891975403, -0.46986404061317444, 0.4927974045276642, 0.5436615347862244, -0.27683353424072266, 0.7114521861076355, 0.050277307629585266, -0.5985320210456848, -0.03065316379070282, -0.49841558933258057, -0.12123163789510727, -0.5196548700332642, 0.1242741197347641, -0.3429523706436157, -1.206508755683899, 0.7872613072395325, -0.22553059458732605, 0.33603453636169434, 0.1056889146566391, 0.5890324115753174, 0.1913071721792221, 0.8267514109611511, 0.9241645932197571, -0.2586206793785095, 0.5151168704032898, -0.05852792039513588, 0.6977447271347046, -0.629817008972168, 0.02929173968732357, -0.34666597843170166, 0.24485759437084198, -0.9342348575592041, -0.03987475857138634, 0.1569519340991974, 0.07445980608463287, -0.3621950149536133, 0.2251376509666443, 0.04776277020573616, 0.49149394035339355, 0.06419974565505981, 0.1613520085811615, 0.46980777382850647, 0.23111304640769958, 0.20397964119911194, 0.2814411520957947, -0.3468030095100403, -0.870273232460022, 1.2570959329605103, 0.45702770352363586, 0.7635930180549622, 0.12774671614170074, 0.7446234226226807, 0.477782279253006, 0.2902314364910126, -0.6159595847129822, 0.24295109510421753, -0.047962870448827744, -0.6890537142753601, -0.13623416423797607, -0.41571661829948425, -1.082796573638916, 0.09141387790441513, -0.19515685737133026, -0.753537118434906, 0.1207406297326088, 0.20416691899299622, -0.497312992811203, 0.19016534090042114, -0.1684119552373886, 1.095736026763916, -0.22279910743236542, -1.0601089000701904, -0.025393417105078697, -0.7499797344207764, 0.5859843492507935, -0.2489907145500183, 0.7431821823120117, 0.20024943351745605, 0.0528838187456131, 0.38639387488365173, -0.6349584460258484, 0.9161356091499329, 0.2587321698665619, -0.579426109790802, 0.2861986458301544, 0.15985752642154694, 0.6749348640441895, 0.6409805417060852, 0.16975310444831848, 0.27727755904197693, 0.0012689828872680664, -0.3236929178237915, -0.49790453910827637, 1.1556695699691772, -0.5497384667396545, -0.34776991605758667, -0.41216930747032166, -0.7023890614509583, -0.08477140218019485, 0.2598710060119629, -0.16918547451496124, 0.34866586327552795, -0.134665384888649, 0.14129021763801575, 0.7822748422622681, 0.09717686474323273, 0.22429516911506653, 0.30662596225738525, 0.3087257146835327, -0.5611186623573303, 0.6615346074104309, 0.147765651345253, -0.2448914349079132, 0.20381520688533783, 0.12020658701658249, -0.27644604444503784, -0.24760930240154266, -0.10079437494277954, 0.4840715229511261, -0.9802175164222717, 0.009037293493747711, -0.7847568392753601, 0.03848692402243614, -0.6121363639831543, -0.3715018630027771, -0.3584865629673004, -0.05879518762230873, -0.02250225469470024, -0.2925518751144409, 0.34925898909568787, 0.1280784159898758, -0.2522898018360138, -0.08787021040916443, -0.7039504051208496, 0.2461906373500824, 0.5049772262573242, 0.4355602264404297, -0.33588552474975586, -0.2933950126171112, -0.1571487933397293, -0.06777545064687729, 0.201008141040802, -0.5245340466499329, 0.1141357496380806, -0.2048330307006836, 0.24765494465827942, 0.5984994173049927, 0.09409619122743607, 1.077062964439392, -0.6447422504425049, 0.6137587428092957, 0.06248067319393158, -1.1777317523956299, 0.5910639762878418, -0.20160961151123047, -0.3627685606479645, 0.7379189729690552, -0.1260630488395691, -0.6640774011611938, -0.2727552056312561, -0.9762616753578186, -1.2024974822998047, 0.16567659378051758, 0.28330501914024353, 0.5440558195114136, -0.04984898492693901, 0.8066374063491821, 0.09590017050504684, 0.5069942474365234, -1.1266911029815674, 0.03896459937095642, -0.1202293410897255, -0.21730439364910126, -0.18016089498996735, -0.3685431480407715, -0.8031156659126282, 0.029976438730955124, 0.3594215512275696, -0.1303899884223938, -0.03515820577740669, -0.006472824141383171, -0.27666333317756653, -0.1394774615764618, 0.35784462094306946, 0.6336012482643127, 0.8949843645095825, -0.21120138466358185, 0.39332908391952515, 0.009580966085195541, -0.37656375765800476, 0.0347561351954937, 0.03536070138216019, -0.31932783126831055, -0.3489123284816742, 0.41462942957878113, 0.5468894243240356, 0.27247875928878784, -0.9359871745109558, 0.6963229179382324, 0.0034275799989700317, -0.2833573520183563, -0.8702274560928345, -0.1511523723602295, -0.07956547290086746, 0.2596683204174042, 0.08921420574188232, -0.12137427926063538, 0.34369632601737976, -0.8021327257156372, 0.30046600103378296, 0.5150778889656067, -0.42107629776000977, -0.17029373347759247, 0.5574210286140442, -0.05037667229771614, -0.34798210859298706, 0.315267413854599, 0.22501708567142487, -0.2872558534145355, 0.4214385747909546, 0.5945785641670227, 0.8242457509040833, 0.15559130907058716, -0.21764616668224335, 0.1760130077600479, 0.5425706505775452, -0.3594290614128113, 0.11599576473236084, -0.3276669681072235, -0.5579705834388733, -0.3144714832305908, -0.2808980643749237, -0.2984524965286255, 0.22235363721847534, -0.587173342704773, 0.025031641125679016, -0.6374608278274536, -0.3259759247303009, -0.4405755400657654, 0.11958587169647217, -0.27675047516822815, 0.10509244352579117, 0.21385745704174042, 0.42651718854904175, -0.9931044578552246, 0.5153279900550842, 0.7088162302970886, 0.05191643908619881, -0.3230477273464203, 0.09661237895488739, -0.0328124538064003, -0.36589622497558594, 0.488709032535553, 0.3821214437484741, -0.17636464536190033, -0.33126917481422424, -0.7673839926719666, -0.39866572618484497, 1.046329140663147, 0.46749448776245117, -0.8119156956672668, 0.3116038739681244, 0.1941099464893341, 0.33669430017471313, -0.44195327162742615, -0.4036501348018646, 0.5853437781333923, 0.4919459819793701, -0.2530084550380707, -0.5744780898094177, 0.13878367841243744, -0.28456494212150574, 0.04776052013039589, 0.11017633229494095, -0.5247029662132263, 0.9470093846321106, -0.05035398527979851, 0.05249414220452309, -0.16157937049865723, 0.579712450504303, 0.4789993166923523, 0.5190738439559937, 0.5801486372947693, 0.5311642289161682, 0.9323873519897461, 0.1255791187286377, 1.0836567878723145, -0.698028564453125, 0.48713645339012146, 0.7657645344734192, -0.5474556684494019, 0.6228189468383789, 0.6775248646736145, 0.1593259572982788, 0.6735900640487671, 0.4965308606624603, 0.15766321122646332, 0.5004343390464783, 0.2835187017917633, -0.38039639592170715, -0.43249979615211487, -0.12442000210285187, -0.12141311168670654, 0.2973300814628601, 0.38505950570106506, -0.44107338786125183, 0.14147083461284637, -0.015656940639019012, 0.12441899627447128, 0.3043240010738373, -0.4312480092048645, 0.5882207751274109, 0.1374085545539856, -0.2518061697483063, 0.23894846439361572, 0.2514627277851105, 0.3577774465084076, -0.6147297620773315, -0.04353286325931549, 0.01857064478099346, 0.30304646492004395, -0.3256393373012543, -0.32413244247436523, 0.11894897371530533, 0.06075969338417053, -0.020237848162651062, 0.017516842111945152, 0.6803781986236572, -0.24913544952869415, -0.3503965735435486, 0.15821225941181183, -0.09291943162679672, 0.03812873363494873, -0.16676022112369537, -0.7519136667251587, 0.31303295493125916, -0.5968510508537292, -0.15288789570331573, 0.45311570167541504, 0.7177314758300781, -0.23760104179382324, 0.5222870111465454, 0.7889952659606934, 0.09940842539072037, -0.42597973346710205, 0.1929832547903061, 0.6978775858879089, -0.8265405893325806, -1.0627721548080444, -1.2161641120910645, 0.5416064858436584, -0.35590147972106934, 0.09032096713781357, 0.757627010345459, 0.524990975856781, 0.705761730670929, 0.4027433395385742, 0.8856298923492432, 0.08362464606761932, 0.1267118901014328, -0.5898047089576721, 0.5877541303634644, -0.49643179774284363, 0.5206996202468872, -0.4827386140823364, -0.6791198253631592, -0.6321983337402344, 1.0163521766662598, -0.2714736759662628, -0.042740289121866226, 0.4561796486377716, 0.6984673142433167, -0.11513391137123108, -0.12449387460947037, 0.21312721073627472, -0.027648217976093292, 0.420746773481369, 0.463226318359375, 0.5449422597885132, -0.7043383121490479, 0.40297049283981323, -0.30174535512924194, -0.21924768388271332, -0.46197712421417236, -1.0468260049819946, -1.056698203086853, -0.23820048570632935, -0.31216150522232056, -0.6493557691574097, -0.017823437228798866, 0.8255088925361633, 0.6425409317016602, -0.6731417775154114, -0.530336856842041, -0.2847454845905304, -0.08405697345733643, -0.38723406195640564, -0.16355252265930176, 0.45638442039489746, -0.023960519582033157, -0.4382908344268799, 0.18631711602210999, 0.5914652347564697, 0.12381797283887863, -0.21195583045482635, -0.11639732867479324, 0.06239474192261696, 0.057937998324632645, 0.6750441193580627, 0.41640037298202515, -0.7442272901535034, -0.3104902505874634, -0.40195828676223755, -0.24470773339271545, -0.04187439754605293, 1.2166337966918945, -0.40261539816856384, 0.4053102135658264, 0.14764472842216492, 0.8084505200386047, 0.2229549139738083, 0.39120814204216003, 0.2589821219444275, -0.3748873472213745, 0.4140956997871399, 0.18033279478549957, 0.4098275303840637, 0.46239709854125977, -0.6583870053291321, 0.07542375475168228, 0.24484555423259735, -0.48791128396987915, -0.9881394505500793, 0.14961901307106018, -1.1146059036254883, -0.3804844617843628, 0.8734400868415833, -0.17845191061496735, -0.7184063196182251, -0.22385193407535553, -0.003206504276022315, -0.004902737680822611, -0.1477774828672409, 1.0995545387268066, 0.7200568914413452, 0.5113121867179871, -0.13682910799980164, -0.8672375082969666, 0.3344298303127289, 0.1945776641368866, -0.6608685255050659, 0.6065364480018616, 0.40562883019447327, 0.4492427706718445, 0.16029313206672668, 0.7781074643135071, -0.4863676428794861, 0.3458032011985779, -0.14560000598430634, -0.22298169136047363, -0.17865104973316193, -0.2577996253967285, -0.5562630295753479, 0.566352367401123, -0.0438549630343914, 0.21471938490867615 ]
http://arxiv.org/abs/2406.11139v1
http://arxiv.org/pdf/2406.11139v1
Breaking Boundaries: Investigating the Effects of Model Editing on Cross-linguistic Performance
2024-06-17T01:54:27
2024-06-17T01:54:27
Somnath Banerjee, Avik Halder, Rajarshi Mandal, Sayan Layek, Ian Soboroff, Rima Hazra, Animesh Mukherjee
cs.CL
cs.CL
The integration of pretrained language models (PLMs) like BERT and GPT has revolutionized NLP, particularly for English, but it has also created linguistic imbalances. This paper strategically identifies the need for linguistic equity by examining several knowledge editing techniques in multilingual contexts. We evaluate the performance of models such as Mistral, TowerInstruct, OpenHathi, Tamil-Llama, and Kan-Llama across languages including English, German, French, Italian, Spanish, Hindi, Tamil, and Kannada. Our research identifies significant discrepancies in normal and merged models concerning cross-lingual consistency. We employ strategies like 'each language for itself' (ELFI) and 'each language for others' (ELFO) to stress-test these models. Our findings demonstrate the potential for LLMs to overcome linguistic barriers, laying the groundwork for future research in achieving linguistic inclusivity in AI technologies.
[ -0.4654182493686676, -0.6901240944862366, 0.28551265597343445, 0.30387741327285767, 0.11822158843278885, 0.37489423155784607, -0.34651896357536316, -0.7415733933448792, -0.05154616758227348, 0.47164154052734375, -0.3414512574672699, -0.34334155917167664, -0.857880175113678, 0.24094942212104797, -0.3395707905292511, 0.7849946022033691, -0.4017788767814636, 0.2474258989095688, -0.2919023334980011, -0.4123810827732086, -0.6356357932090759, -0.6227707862854004, -0.3743117153644562, -0.4606383740901947, 0.3291783332824707, 0.019046679139137268, 1.0261881351470947, 0.5137808918952942, 0.218268021941185, 0.34230589866638184, -0.3156091868877411, 0.1797397881746292, -0.2901332676410675, -0.07617275416851044, -0.43952465057373047, -0.5116917490959167, -0.45138174295425415, 0.009101624600589275, 0.9992577433586121, 0.7324239015579224, 0.10374274104833603, -0.16663968563079834, 0.3235241770744324, 0.3904680013656616, -0.44977128505706787, -0.14711374044418335, -0.669686496257782, 0.14491428434848785, -0.2861584722995758, 0.09069152921438217, -0.17335861921310425, -0.13582247495651245, 0.08233547955751419, -0.6800873875617981, -0.04371629282832146, -0.16859671473503113, 1.0712435245513916, 0.324390709400177, -0.29273638129234314, -0.18276122212409973, -0.6154953837394714, 0.8010595440864563, -0.826829195022583, 0.7599230408668518, 0.24912211298942566, -0.23344118893146515, 0.0343238040804863, -0.5415709614753723, -0.5167892575263977, 0.03864924982190132, -0.11226226389408112, -0.06048949435353279, -0.24001336097717285, 0.15700849890708923, 0.11892320215702057, 0.22524061799049377, -0.38499513268470764, 0.5806185603141785, -0.5282043814659119, -0.03538145497441292, 0.598778247833252, -0.08167295902967453, 0.8649336695671082, 0.008456772193312645, -0.0485687181353569, 0.04107346013188362, -0.8427087068557739, 0.08046920597553253, 0.6614255309104919, 0.2963746190071106, -0.005658347625285387, 0.78074711561203, 0.1752023845911026, 0.730925977230072, -0.27503564953804016, -0.09347263723611832, 0.15860344469547272, -0.3976982533931732, -0.247475728392601, -0.033073779195547104, 0.6795718669891357, 0.3450094163417816, 0.4861167371273041, -0.21120813488960266, -0.0063246432691812515, -0.17545484006404877, 0.08202843368053436, -0.16054612398147583, 0.02235576882958412, -0.014342550188302994, -0.16324785351753235, 0.08796988427639008, -0.352911114692688, -0.6265538334846497, -0.4162474274635315, -0.4596590995788574, 0.4671684503555298, -0.6305423974990845, -0.4345929026603699, 0.0692019909620285, -0.0826219990849495, 0.12026680260896683, 0.2695806920528412, -0.8973174095153809, 0.1309821903705597, 0.6833788156509399, 0.7670010328292847, -0.030862992629408836, -0.8871326446533203, 0.060109153389930725, 0.03254145011305809, -0.3748435378074646, 0.47617051005363464, -0.7050730586051941, -0.5632686614990234, 0.06931298226118088, -0.15727172791957855, -0.30817288160324097, -0.5916957259178162, 0.25700125098228455, -0.507458508014679, 0.09750336408615112, -0.31356674432754517, -0.6929641962051392, -0.0665716901421547, 0.1794384866952896, -0.7029429078102112, 1.0433626174926758, -0.12512408196926117, -0.611913800239563, 0.42586275935173035, -0.7354166507720947, -0.4950830638408661, -0.17475520074367523, -0.07867122441530228, -0.24377937614917755, 0.08562199026346207, 0.4196906089782715, 0.10936328768730164, -0.01781638152897358, 0.41385623812675476, 0.027242835611104965, -0.14170202612876892, 0.016023406758904457, -0.17503537237644196, 0.9216070771217346, 0.03557879850268364, -0.3559051752090454, 0.20394380390644073, -0.5876963138580322, 0.050315383821725845, -0.020341666415333748, -0.12469931691884995, -0.5571854114532471, -0.13482369482517242, -0.012619228102266788, 0.45784756541252136, 0.17537415027618408, -0.432055801153183, 0.07876459509134293, -0.25668245553970337, 0.359476774930954, 0.8577258586883545, -0.38733014464378357, 0.40011197328567505, -0.3284136652946472, 0.7205734848976135, -0.02623330056667328, 0.14526516199111938, 0.04855859652161598, -0.7129406929016113, -0.8512143492698669, -0.1873708963394165, 0.5841636061668396, 0.6544755101203918, -0.7726079225540161, 0.23919637501239777, -0.11087755858898163, -0.43212276697158813, -1.1497373580932617, 0.5423364639282227, 0.21405746042728424, 0.2287580668926239, 0.4175702929496765, -0.1706821471452713, -0.5311956405639648, -0.8578968048095703, -0.7951999306678772, -0.028167132288217545, 0.27955907583236694, 0.14449580013751984, 0.3482770025730133, -0.27006304264068604, 0.978287398815155, 0.1670822650194168, -0.2206277698278427, -0.32633957266807556, 0.19795829057693481, -0.1770343780517578, 0.6248357892036438, 0.4646885395050049, -0.6038311123847961, -0.6289818286895752, 0.1248643770813942, -0.7445920705795288, -0.4835740625858307, -0.13580335676670074, -0.15020836889743805, 0.31842267513275146, 0.5002923011779785, -0.5275887250900269, 0.49666330218315125, 0.9173018932342529, -0.2050672173500061, 0.37280672788619995, -0.2492041289806366, 0.382207453250885, -0.7201562523841858, -0.21994535624980927, -0.08135338872671127, 0.04961070790886879, -0.6836344003677368, 0.12624959647655487, -0.08670173585414886, -0.11768821626901627, -0.5604209303855896, 0.7887194752693176, -0.5742775797843933, -0.10401927679777145, -0.05888257548213005, 0.22904133796691895, -0.02974974922835827, 0.22266197204589844, 0.1184830442070961, 0.7363716959953308, 0.389365553855896, -0.3430609703063965, -0.11764240264892578, 0.24079596996307373, -0.4046865701675415, 0.3805468678474426, -0.6251843571662903, 0.15024204552173615, -0.1159481555223465, -0.13218443095684052, -0.8149577975273132, 0.20188942551612854, -0.12518583238124847, -0.1843426525592804, 0.32230329513549805, -0.1067838966846466, -0.5790649056434631, 0.11894871294498444, -0.17655394971370697, 0.6304364204406738, 0.2823580503463745, -0.5354011058807373, 0.7301678657531738, 0.5107356905937195, -0.43462198972702026, -0.8061909079551697, -0.8118926882743835, 0.40039578080177307, -0.020269401371479034, -0.9241564869880676, 0.22377334535121918, 0.02311653457581997, -0.6506264209747314, 0.0737929418683052, 0.27383166551589966, -0.16678880155086517, 0.1342247873544693, 0.015073856338858604, 0.15345285832881927, -0.03603602945804596, 0.014658218249678612, 0.37373751401901245, 0.3288978636264801, -0.22339555621147156, -0.12726503610610962, 0.44887498021125793, -0.0868462398648262, -0.45993572473526, -0.3294462561607361, 0.4493699073791504, 0.42589396238327026, -0.5783299803733826, 0.8379834294319153, 0.5656139850616455, -0.316488653421402, -0.2697819471359253, -0.6738388538360596, 0.24900564551353455, -0.41671809554100037, 0.3971062898635864, -0.5243166089057922, -1.3595210313796997, 0.6696472764015198, 0.008998009376227856, 0.09421098232269287, 0.4650193452835083, 0.4259740710258484, 0.09066472202539444, 0.9427367448806763, 1.0240278244018555, -0.026543065905570984, 0.4530467092990875, -0.08366167545318604, 0.37948453426361084, -0.7090749144554138, -0.09820181876420975, -0.47615522146224976, -0.2390257567167282, -0.7729257345199585, -0.5769351720809937, 0.38043466210365295, 0.31655001640319824, 0.03380357474088669, 0.16522568464279175, -0.2658265233039856, 0.5901956558227539, 0.5831655263900757, -0.18250462412834167, 0.5371336936950684, -0.12532030045986176, -0.33025074005126953, -0.5590988993644714, -1.0388667583465576, -0.4129696488380432, 1.0155210494995117, 0.44527697563171387, 0.6692153811454773, 0.042192235589027405, 0.5548737049102783, 0.2166021466255188, 0.4622444212436676, -0.31166666746139526, 0.30995044112205505, -0.3015539050102234, -0.7367210984230042, -0.42844462394714355, -0.19034309685230255, -0.744803249835968, 0.44967374205589294, -0.18195828795433044, -0.6165241003036499, 0.3775298595428467, -0.05493419989943504, -0.12416128814220428, 0.7908423542976379, -0.6881631016731262, 0.9537357687950134, -0.48747187852859497, -0.4006333649158478, -0.2300192415714264, -0.5072178244590759, 0.5549440383911133, -0.24544303119182587, 0.5309589505195618, -0.11399725824594498, -0.005200594197958708, 0.7182904481887817, -0.31859350204467773, 0.8984903693199158, -0.05796699970960617, -0.3574592173099518, 0.1529286801815033, 0.03555385023355484, 0.20673422515392303, -0.1513320803642273, -0.055412810295820236, 0.7531681060791016, -0.12153322994709015, -0.44041529297828674, -0.36066561937332153, 0.6113472580909729, -1.061729073524475, -0.5927962064743042, -0.202818363904953, -0.9151632785797119, -0.39115768671035767, 0.22528421878814697, 0.1611279845237732, -0.06002971902489662, -0.2193077951669693, -0.16568759083747864, 0.5201718211174011, -0.5892871618270874, 0.37437009811401367, 0.38557571172714233, -0.3427116572856903, -0.36268430948257446, 0.5543767213821411, 0.5036212801933289, 0.36923736333847046, 0.09486782550811768, -0.07350669056177139, -0.1643761396408081, -0.5038994550704956, -0.4019235074520111, 0.34908491373062134, -0.6926026344299316, 0.20004531741142273, -0.802643358707428, -0.31238695979118347, -0.604897141456604, -0.46439501643180847, -0.4739565849304199, -0.3010520339012146, 0.021708481013774872, -0.14188550412654877, 0.0803656354546547, 1.0239832401275635, -0.4855983257293701, 0.3215426206588745, -0.7989587783813477, 0.13352255523204803, 0.09473363310098648, 0.4052625894546509, -0.0671166405081749, -0.4852742552757263, -0.3428487181663513, 0.03651116043329239, -0.15653984248638153, -0.6906782984733582, 0.4020572304725647, 0.15535150468349457, 0.7349680662155151, -0.24904704093933105, -0.325762540102005, 0.8596566319465637, -0.617668867111206, 0.7992079854011536, 0.049323514103889465, -1.4791699647903442, 0.4092761278152466, -0.2255306988954544, 0.36611661314964294, 0.31405380368232727, 0.5131286382675171, -0.8036091923713684, -0.8274550437927246, -0.5571312308311462, -0.9689633846282959, 0.5624560117721558, 0.01945377141237259, 0.09244124591350555, 0.28776276111602783, 0.09009083360433578, 0.26513728499412537, 0.2562507092952728, -0.9018979072570801, -0.11463793367147446, -0.13815009593963623, -0.012791210785508156, -0.17416641116142273, -0.3741983473300934, -0.14682263135910034, -0.4851095676422119, 0.6743490099906921, 0.18633264303207397, -0.18810808658599854, 0.3168037533760071, -0.479969322681427, -0.08915316313505173, 0.37686482071876526, 0.6053684949874878, 1.0814436674118042, 0.08759352564811707, -0.10261816531419754, 0.2947986125946045, -0.1326959878206253, 0.1207311600446701, 0.13997426629066467, -0.19049005210399628, 0.1753811538219452, 0.6075721383094788, 0.8803312182426453, 0.08932769298553467, -0.6011462211608887, 0.06797582656145096, 0.12735171616077423, -0.17089666426181793, 0.18500328063964844, -0.13203725218772888, 0.029236622154712677, 0.22128932178020477, 0.014685176312923431, 0.06345676630735397, -0.31895604729652405, -0.5418354272842407, 0.22150740027427673, 0.32868704199790955, -0.1752869188785553, -0.17914468050003052, 0.812044620513916, 0.2189694046974182, -0.2240518033504486, 0.48907971382141113, 0.11488807946443558, -0.7020914554595947, 0.39945998787879944, 0.398223876953125, 0.7093307971954346, -0.5624322295188904, 0.1228165552020073, 0.004244110081344843, 1.0466599464416504, 0.06241285428404808, 0.12456916272640228, 0.12726758420467377, -1.1320387125015259, -0.7999498844146729, -0.39609384536743164, -0.506001353263855, 0.0765254870057106, -0.4534992575645447, 0.23607614636421204, -0.37797418236732483, -0.15165935456752777, -0.07632512599229813, -0.23412564396858215, -0.6898004412651062, 0.15178512036800385, 0.25080427527427673, 0.889883816242218, -1.0379477739334106, 0.8946216106414795, 0.7571896910667419, -0.2721526622772217, -0.6782843470573425, -0.1550918072462082, 0.011765772476792336, -0.7053613066673279, 0.6601824760437012, -0.20427080988883972, 0.04768145829439163, -0.021387092769145966, -0.3733599781990051, -0.7609969973564148, 0.7172216176986694, 0.5200341939926147, -0.4486941993236542, -0.04370066151022911, 0.5775014758110046, 0.6401491165161133, -0.23801346123218536, 0.20014691352844238, 0.781123697757721, 0.7020373940467834, -0.5271965861320496, -1.5146340131759644, -0.35770952701568604, -0.24828782677650452, 0.09584662318229675, 0.047078631818294525, -0.6361884474754333, 1.0836902856826782, 0.03854699060320854, 0.09943272173404694, -0.023809071630239487, 0.5024550557136536, 0.09213738143444061, 0.04779357835650444, 0.4044345021247864, 0.8249890804290771, 0.7163856029510498, -0.14173467457294464, 0.9048087000846863, -0.4233357310295105, 0.14242635667324066, 1.0485517978668213, -0.5055941343307495, 0.5711464285850525, 0.5192815065383911, -0.15888236463069916, 0.413433700799942, 0.42994704842567444, 0.24867068231105804, 0.2229854315519333, 0.11170286685228348, -0.10871509462594986, -0.010334392078220844, -0.40418025851249695, -0.44580554962158203, 0.49799230694770813, 0.2637671232223511, -0.1892227977514267, -0.22657793760299683, 0.24779990315437317, 0.4410310387611389, 0.3383837342262268, -0.3363727331161499, 0.4617970883846283, 0.016516046598553658, -0.6207706332206726, 0.5521442294120789, 0.20083115994930267, 0.8787099719047546, -0.6495583057403564, 0.07183192670345306, -0.28071796894073486, 0.03141098842024803, -0.22344841063022614, -0.7965884804725647, 0.4266279339790344, 0.20637299120426178, -0.009649061597883701, -0.540219783782959, 0.6853066086769104, -0.8376678824424744, -0.4924050569534302, 0.8194300532341003, 0.8371681571006775, -0.008525623008608818, 0.1346975415945053, -0.8447878956794739, 0.39766451716423035, -0.010765176266431808, 0.008711385540664196, 0.3646673858165741, 0.3758605718612671, -0.1279873549938202, 0.5169141292572021, 0.5084483623504639, 0.3186279833316803, 0.5355806946754456, 0.05074450746178627, 0.594574511051178, -0.5377375483512878, -0.39513272047042847, -0.7594248056411743, 0.7460998892784119, -0.02649669535458088, -0.5535456538200378, 0.9487921595573425, 0.4472842514514923, 1.325557827949524, 0.16169123351573944, 0.9319750666618347, 0.002099217614158988, 0.2403407096862793, -0.5914174318313599, 0.7952794432640076, -0.6918615698814392, 0.14071008563041687, -0.3962368667125702, -0.7721613645553589, -0.4085518419742584, 0.2420952469110489, -0.42194995284080505, 0.12109000235795975, 0.6323537230491638, 0.6549038290977478, 0.15984754264354706, -0.21626195311546326, 0.5420546531677246, 0.41176363825798035, 0.2918085753917694, 0.3456870913505554, 0.9984037280082703, -0.3813444972038269, 0.16701863706111908, -0.4316881000995636, -0.14767973124980927, 0.3443211317062378, -0.8435652852058411, -0.8730441331863403, -0.3729347288608551, -0.19857902824878693, -0.2274974137544632, 0.43397486209869385, 0.6158424019813538, 0.5289425253868103, -0.6302450895309448, -0.6600891947746277, 0.24122796952724457, 0.43087393045425415, -0.049926526844501495, -0.20766755938529968, 0.15656669437885284, -0.5239417552947998, -1.009789228439331, 0.5050939917564392, 0.3474891185760498, -0.04871392995119095, -0.2951982021331787, -0.07130881398916245, -0.647425651550293, 0.15576881170272827, 0.5032001733779907, 0.2783950865268707, -0.8036706447601318, -0.0496797114610672, -0.14012181758880615, 0.011156683787703514, 0.05857555568218231, 0.8350383639335632, -0.387169748544693, 0.6531676650047302, 0.4458296000957489, 0.8879556655883789, 0.11998549848794937, -0.058613475412130356, 0.9575576186180115, -0.8493267297744751, 0.3701319396495819, 0.16872060298919678, 0.4413924217224121, 0.6486287713050842, -0.1713690459728241, 0.5554717183113098, 0.3688490390777588, -0.5868211984634399, -0.9176533818244934, -0.1149609386920929, -0.32857564091682434, -0.37224453687667847, 1.0041340589523315, -0.16085389256477356, -0.08280043303966522, -0.05273886024951935, 0.03266811743378639, 0.30377545952796936, 0.14665375649929047, 0.5129022002220154, 1.1995127201080322, -0.1708277016878128, -0.17725594341754913, -0.6878687143325806, 0.5906215310096741, 0.8610904216766357, -0.6641431450843811, -0.12674252688884735, 0.35636794567108154, 0.1656290739774704, 0.10119330883026123, 0.5537931323051453, -0.2620718777179718, 0.1316949725151062, -0.07479117810726166, 0.4729486405849457, 0.06540225446224213, -0.3784753978252411, -0.6090503931045532, -0.1129099652171135, 0.1366836130619049, 0.2436663806438446 ]
http://arxiv.org/abs/2406.11132v1
http://arxiv.org/pdf/2406.11132v1
RePrompt: Planning by Automatic Prompt Engineering for Large Language Models Agents
2024-06-17T01:23:11
2024-06-17T01:23:11
Weizhe Chen, Sven Koenig, Bistra Dilkina
cs.CL
cs.CL, cs.AI, cs.LG
In this past year, large language models (LLMs) have had remarkable success in domains outside the traditional natural language processing, and people are starting to explore the usage of LLMs in more general and close to application domains like code generation, travel planning, and robot controls. Connecting these LLMs with great capacity and external tools, people are building the so-called LLM agents, which are supposed to help people do all kinds of work in everyday life. In all these domains, the prompt to the LLMs has been shown to make a big difference in what the LLM would generate and thus affect the performance of the LLM agents. Therefore, automatic prompt engineering has become an important question for many researchers and users of LLMs. In this paper, we propose a novel method, \textsc{RePrompt}, which does "gradient descent" to optimize the step-by-step instructions in the prompt of the LLM agents based on the chat history obtained from interactions with LLM agents. By optimizing the prompt, the LLM will learn how to plan in specific domains. We have used experiments in PDDL generation and travel planning to show that our method could generally improve the performance for different reasoning tasks when using the updated prompt as the initial prompt.
[ -0.6240977048873901, -0.5807255506515503, 0.6326479315757751, 0.32849302887916565, -0.08751987665891647, 0.1515529900789261, -0.3144366145133972, -0.06034290790557861, 0.1417725682258606, 0.5820301175117493, -1.1376523971557617, -0.5493443012237549, -0.09033551067113876, 0.25038155913352966, 0.10337953269481659, 0.596255362033844, -0.25130695104599, 0.16456285119056702, -0.02343877963721752, 0.02858424186706543, -0.6067704558372498, -0.4326101541519165, -0.922081470489502, -0.3697583079338074, 0.6826022863388062, 0.5169645547866821, 0.34605011343955994, 0.5001488924026489, 0.24724449217319489, 0.33307525515556335, 0.09870732575654984, 0.36372238397598267, -0.43354952335357666, 0.48666679859161377, -0.2877911925315857, -0.48678699135780334, -0.32436132431030273, -0.06719571352005005, 0.6323441863059998, 0.5152900815010071, -0.028446603566408157, 0.13156263530254364, 0.032142944633960724, 0.7469658851623535, -0.44025200605392456, 0.21699674427509308, -0.3946467638015747, 0.048177607357501984, 0.34362927079200745, -0.7646549940109253, -0.5971167087554932, -0.31633827090263367, -0.02409299463033676, -0.47349488735198975, 0.14076170325279236, 0.26678088307380676, 0.41312769055366516, 0.3018129765987396, -0.17873038351535797, -0.14481577277183533, -0.5876184105873108, 0.9273064136505127, -0.5174725651741028, 0.33448901772499084, 0.07932936400175095, 0.5460518002510071, -0.7319115400314331, -0.7100334167480469, -0.4770992696285248, -0.5153135657310486, 0.03184380382299423, -0.2258181869983673, -0.012231863103806973, 0.26577243208885193, 0.4697645306587219, -0.2581419050693512, -0.7192299365997314, 0.3661758005619049, 0.03897006809711456, -0.38507258892059326, 0.5303620100021362, 0.40533486008644104, 0.3773016631603241, 0.02278946526348591, -0.5075811743736267, -0.24400940537452698, -0.8712581992149353, 0.029743239283561707, 0.3833480477333069, 0.5845679640769958, 0.03442259132862091, 0.6770143508911133, -0.3643013834953308, 0.7801868915557861, -0.02482028678059578, -0.11877890676259995, -0.08330169320106506, -0.19658593833446503, -0.15379945933818817, -0.07577882707118988, 0.6358708739280701, 0.4442066252231598, 0.6008495092391968, 0.13359756767749786, -0.3866342604160309, -0.2562899887561798, 0.04219463840126991, -0.9349132776260376, -0.18993449211120605, 0.26604554057121277, -0.3806033432483673, -0.12360698729753494, -0.42704635858535767, -0.8797807693481445, -0.6282406449317932, -0.5365409255027771, 0.08467324078083038, -0.4590998888015747, 0.0799279659986496, -0.03392375260591507, 0.016097266227006912, 0.2508038580417633, 0.451874315738678, -0.7110592126846313, 0.09117965400218964, 0.7389923334121704, 0.7533105611801147, -0.047349393367767334, -0.4596129357814789, -0.931376039981842, -0.2133622020483017, -0.2737639248371124, 1.025882601737976, -0.5938028693199158, -0.5839739441871643, 0.2928778827190399, -0.13029345870018005, -0.02411065809428692, -0.05954673886299133, 0.4708966910839081, -0.8216061592102051, 0.36460691690444946, -0.27999788522720337, -0.44498834013938904, -0.13896167278289795, 0.4444212317466736, -0.49912095069885254, 0.4975242614746094, 0.14657559990882874, -0.6030066013336182, 0.14870591461658478, -0.6297486424446106, -0.5038309693336487, 0.022076910361647606, -0.2185782492160797, -0.07853026688098907, -0.33232855796813965, 0.4624241292476654, 0.41191500425338745, -0.3830307424068451, 0.13131770491600037, 0.11174726486206055, -0.12105634808540344, 0.29584938287734985, -0.13805532455444336, 0.9088783264160156, 0.199221670627594, -0.18471767008304596, 0.42447227239608765, -0.6374326348304749, 0.09138356149196625, -0.0742378681898117, -0.41806164383888245, -0.05788915231823921, -0.012194625101983547, -0.19392690062522888, 0.2617630958557129, 0.4351106882095337, -0.31018173694610596, 0.5623356103897095, -0.5516256093978882, 0.29118791222572327, 0.9630892276763916, 0.1233072578907013, 0.8642310500144958, -0.4835667908191681, 0.9900351166725159, -0.5059375762939453, 0.07121539860963821, -0.56415194272995, -0.42643240094184875, -0.6005892753601074, -0.28212490677833557, 0.15625114738941193, 0.6113869547843933, -1.0020393133163452, 0.4920228123664856, -0.027398157864809036, -0.3729293942451477, -0.010713358409702778, -0.16015338897705078, 0.19823111593723297, 0.6713637113571167, 0.26667076349258423, 0.06195151433348656, -0.606427788734436, -0.7407028675079346, -0.3442522883415222, -0.3092852830886841, -0.11661456525325775, 0.31803494691848755, 0.13467402756214142, -0.24623212218284607, 1.0689412355422974, -0.6508107781410217, -0.169713094830513, -0.6124318242073059, 0.265171617269516, 0.2877848446369171, 0.4254743754863739, 0.49326854944229126, -0.5237409472465515, -0.48858126997947693, -0.1880313754081726, -0.17192627489566803, -0.5528249144554138, -0.40956297516822815, -0.3667333126068115, 0.4931783378124237, 0.540139377117157, -0.8014848232269287, 0.17170283198356628, 0.44092652201652527, -0.33324718475341797, 0.8772172927856445, -0.27999362349510193, 0.1402669996023178, -0.9631272554397583, 0.06579890847206116, 0.12131009250879288, -0.2577124238014221, -0.5279197096824646, 0.085607148706913, 0.06392883509397507, -0.24307283759117126, -0.3543776869773865, 0.8867175579071045, -0.6178379058837891, -0.04483899474143982, -0.47971129417419434, 0.22005809843540192, -0.11495576053857803, 0.7629337310791016, -0.11392256617546082, 0.8941352963447571, 0.40959906578063965, -0.7507847547531128, 0.4889897406101227, 0.24376501142978668, -0.1583544760942459, 0.48731911182403564, -0.3527560532093048, 0.13075049221515656, -0.12134118378162384, 0.5370653867721558, -1.3107147216796875, -0.11882586032152176, 0.45207613706588745, -0.5362630486488342, 0.44589605927467346, -0.2709381580352783, -0.4002514183521271, -0.3853243291378021, -0.28222203254699707, 0.18593443930149078, 0.5128219723701477, -0.686819851398468, 0.9635506272315979, 0.2966752350330353, -0.43090519309043884, -0.5763043165206909, -0.4203021824359894, 0.11422999948263168, -0.17845484614372253, -0.6938334703445435, 0.23854026198387146, -0.1590328961610794, -0.2489999681711197, -0.38147059082984924, 0.13775408267974854, 0.10890287905931473, -0.078569196164608, 0.16990293562412262, 0.3160507082939148, 0.0007684092852286994, 0.1338665634393692, -0.01031455397605896, -0.44052836298942566, 0.16946867108345032, -0.37856921553611755, 1.2439333200454712, 0.2791781723499298, -0.24965260922908783, -0.7113381028175354, 0.18430496752262115, 0.4158014953136444, -0.23167377710342407, 0.5087282657623291, 0.1916033774614334, 0.020294729620218277, -0.7075821161270142, -0.4891413152217865, -0.4273996651172638, -0.5517565608024597, 0.28452277183532715, -0.32344958186149597, -0.7312179803848267, 0.6230393648147583, -0.425611287355423, 0.36507999897003174, 0.16386358439922333, 0.5173280835151672, 0.10414839535951614, 0.9818298816680908, 0.7557267546653748, -0.12521564960479736, 0.7856032848358154, -0.24120686948299408, 0.0369839072227478, -0.7571540474891663, -0.027037302032113075, -0.6895726323127747, -0.609283447265625, -0.5937517285346985, -0.6085825562477112, 0.07882574945688248, -0.3110977113246918, -0.4906170666217804, 0.48956966400146484, -0.49629831314086914, 0.39001011848449707, 0.6342669129371643, -0.23352134227752686, 0.25953391194343567, 0.1317443549633026, -0.3365973234176636, 0.019976967945694923, -0.6963739395141602, -0.5973163843154907, 0.8433942794799805, 0.2822507321834564, 0.9402472376823425, -0.41720885038375854, 0.8192048668861389, 0.15580208599567413, 0.3102547228336334, -0.7798494100570679, 1.0018324851989746, 0.3742470145225525, -0.09848112612962723, -0.5435295701026917, -0.5557262301445007, -1.1446317434310913, 0.15314804017543793, 0.10724042356014252, -0.6778620481491089, 0.38283640146255493, 0.10231221467256546, -0.26056087017059326, 0.0882977545261383, -0.567267894744873, 0.5220611095428467, -0.21634069085121155, 0.0016291270731016994, -0.28342440724372864, -0.6113952994346619, 0.11770693212747574, 0.014078006148338318, 0.09434182941913605, -0.14380790293216705, -0.2671200931072235, 0.6695044636726379, -0.35341203212738037, 0.737430214881897, -0.4235399067401886, -0.22363637387752533, 0.2807672321796417, 0.5220711827278137, 1.032760500907898, -0.07021389156579971, -0.20821185410022736, -0.09306162595748901, -0.44192269444465637, -0.03994220122694969, -0.7225300073623657, 0.8097912073135376, -0.4896754324436188, -0.6872450709342957, -0.12381786108016968, -0.6296297311782837, -0.2625266909599304, 0.29929760098457336, 0.06463974714279175, 0.511488676071167, -0.08866456896066666, -0.4929954409599304, 0.19817249476909637, -0.6671856045722961, 0.7298212647438049, 0.7751724720001221, -0.4692271649837494, -0.5267040729522705, 0.668148398399353, -0.013122845441102982, 0.194524884223938, 0.6090022921562195, 0.12409745156764984, -0.4206750988960266, -0.510444164276123, -0.26925691962242126, 0.3806462287902832, -0.8476684093475342, -0.27682799100875854, -0.5124030113220215, -0.09728821367025375, -0.368279367685318, -0.4243604242801666, -0.2543163597583771, -0.6033039093017578, -0.24920988082885742, -0.025653788819909096, 0.23170042037963867, 0.2698301076889038, -0.14985883235931396, 0.38988080620765686, -0.646696150302887, 0.2637615203857422, 0.19611267745494843, 0.06178034096956253, -0.08758556842803955, -0.4749881327152252, -0.001261914148926735, 0.10082642734050751, -0.3170176148414612, -0.5717429518699646, 0.815579891204834, -0.22199104726314545, 0.7645764946937561, 0.19704866409301758, 0.36022868752479553, 0.40029072761535645, -0.7258699536323547, 0.6437720656394958, 0.0584377758204937, -0.5452293753623962, 0.5741211175918579, -0.3607163429260254, 0.13954490423202515, 0.4355756640434265, 0.3180225193500519, -0.5806423425674438, -0.28152158856391907, -0.4506329298019409, -0.8202152252197266, 0.6312239766120911, 0.10824114829301834, 0.0072523485869169235, 0.06331820040941238, 0.37525516748428345, 0.0889681950211525, 0.2461978793144226, -0.37628307938575745, -0.24451440572738647, 0.30209076404571533, -0.08183159679174423, -0.09385740756988525, -0.2513551115989685, -0.2406141310930252, -0.02781551145017147, 0.5217986702919006, -0.24102921783924103, 0.3945956826210022, 0.2681056261062622, 0.0007383640040643513, -0.3121064603328705, 0.07770440727472305, 0.8579379916191101, 0.9198954701423645, 0.010515622794628143, 0.008643941953778267, -0.000799493514932692, -0.24183599650859833, 0.29243946075439453, 0.19529402256011963, -0.07921503484249115, -0.11419855058193207, 0.3518674671649933, 0.5017808079719543, -0.06354918330907822, -0.7895111441612244, 0.2971276044845581, -0.19486385583877563, -0.043417900800704956, -0.3310699164867401, 0.1747179925441742, -0.12957437336444855, 0.5963371396064758, 0.3683418035507202, 0.014898004941642284, -0.11583581566810608, -0.28910860419273376, 0.14510971307754517, 0.3495040535926819, -0.11060590296983719, -0.08831774443387985, 0.43626928329467773, 0.454863578081131, -0.933648943901062, 0.6611874103546143, -0.07550611346960068, -0.6568514108657837, 0.6790875196456909, 0.45844992995262146, 1.1421679258346558, -0.3422785699367523, 0.3691721558570862, 0.4262082278728485, 0.23444540798664093, -0.09664489328861237, 0.26096972823143005, -0.04247544705867767, -0.791661262512207, -0.8038479089736938, -0.45639824867248535, -0.4504186511039734, -0.21624453365802765, -0.11809935420751572, 0.3922196328639984, -0.45029711723327637, -0.14135494828224182, -0.5218760967254639, 0.13694870471954346, -0.5674030184745789, -0.07681366801261902, 0.061006586998701096, 1.1047157049179077, -0.37694382667541504, 0.5285527110099792, 0.6938887238502502, -0.14775952696800232, -0.7458881735801697, 0.17489410936832428, -0.27948805689811707, -1.1179635524749756, 0.9041534066200256, 0.2586158215999603, -0.12412853538990021, 0.3169315457344055, -0.6762070655822754, -0.7598463296890259, 1.012177586555481, 0.483268141746521, -0.9408379197120667, -0.09567893296480179, 0.07639801502227783, 0.42510369420051575, -0.5464791059494019, 0.03588800132274628, 0.4887552261352539, 0.5763832330703735, 0.28907865285873413, -0.7271173596382141, 0.33818650245666504, 0.001047248370014131, -0.008058625273406506, 0.2896080017089844, -0.5574227571487427, 0.8111065030097961, -0.4243297576904297, -0.4583926498889923, 0.28334906697273254, 0.5038071274757385, 0.7185518741607666, 0.2218133956193924, 0.5618833899497986, 0.22040414810180664, 0.8185541033744812, 0.16489316523075104, 1.2155247926712036, -0.621157705783844, 0.2435915619134903, 1.1220533847808838, -0.2843748927116394, 0.5774455070495605, 0.46699053049087524, -0.10677160322666168, 0.4129088521003723, 0.720490038394928, 0.13253521919250488, 0.6275117993354797, 0.46550342440605164, -0.20445583760738373, -0.29426315426826477, 0.0766778290271759, -0.11994382739067078, -0.06259028613567352, 0.20812039077281952, -0.32336071133613586, -0.3500062823295593, 0.19062542915344238, -0.03453081473708153, 0.03340112045407295, -0.32270097732543945, 0.5416571497917175, 0.17440932989120483, -0.8781245946884155, 0.5467836856842041, -0.01861693151295185, 0.3777090013027191, -0.38172081112861633, 0.048895906656980515, -0.40888261795043945, 0.04791557788848877, 0.10515838861465454, -0.8344048857688904, -0.17397946119308472, -0.22236496210098267, 0.15108689665794373, -0.4560239613056183, 0.7778688669204712, -0.25349387526512146, -0.206810861825943, 0.28544557094573975, 0.4553193747997284, 0.052709393203258514, -0.2566872239112854, -0.6267687082290649, -0.06249367073178291, 0.013958769850432873, -0.5354864001274109, 0.196391761302948, 0.5852271914482117, 0.11085276305675507, 1.2666468620300293, 0.7228005528450012, 0.17374083399772644, -0.09709479659795761, 0.13336895406246185, 1.155398964881897, -0.8920527100563049, -0.713136613368988, -1.0861822366714478, 0.5604832172393799, -0.0942964032292366, -0.07126691937446594, 0.6250449419021606, 0.4152999520301819, 0.42021238803863525, 0.02944176457822323, 0.7304071187973022, 0.18802860379219055, 0.5824882388114929, -0.6056811809539795, 0.4499998986721039, -0.2784489691257477, 0.5100012421607971, -0.13519057631492615, -1.148432731628418, -0.35583391785621643, 0.7051131725311279, -0.5019141435623169, 0.012876717373728752, 0.7308867573738098, 1.00184166431427, 0.4582228362560272, -0.22429268062114716, 0.17055408656597137, 0.04769906401634216, 0.7224689722061157, 0.49267643690109253, 1.1515302658081055, 0.09438037127256393, 0.5020478367805481, -0.11577510088682175, -0.24416887760162354, -0.36766523122787476, -0.831071674823761, -1.2376312017440796, -0.4836955964565277, -0.15573342144489288, -0.21250705420970917, -0.09228131175041199, 1.2058634757995605, 0.3496059477329254, -0.49304983019828796, -0.2896116375923157, -0.46553853154182434, 0.3393055498600006, 0.10836444050073624, -0.2258409559726715, 0.33995792269706726, -0.7556320428848267, -0.6738612651824951, 0.5959583520889282, 0.2802056670188904, 0.1741185486316681, -0.5392928719520569, -0.2984302043914795, -0.03505616635084152, 0.05363229289650917, 0.4575268030166626, 0.3951387107372284, -0.34367623925209045, -0.20691139996051788, -0.059632688760757446, -0.2512125074863434, 0.12308961153030396, 1.1166753768920898, -0.8797701597213745, 0.30930095911026, 0.9040866494178772, 0.43489640951156616, 0.2255505621433258, 0.2067154347896576, 1.1029493808746338, -0.6038526296615601, 0.2456936538219452, 0.4767664074897766, 0.40078961849212646, 0.1417182981967926, -0.31372684240341187, 0.4440201222896576, -0.034141905605793, -0.9582147002220154, -0.8254197239875793, 0.3135581612586975, -0.8956214785575867, -0.329215943813324, 1.4261345863342285, 0.061056315898895264, -0.3368779122829437, -0.08848830312490463, -0.8456574082374573, 0.20853282511234283, -0.6393581628799438, 0.7714038491249084, 0.3600301444530487, -0.37898388504981995, -0.3104148209095001, -0.39840489625930786, 0.5913169980049133, 0.027994707226753235, -0.6774579286575317, 0.38376790285110474, 0.5430638790130615, 0.1533392071723938, 0.15304288268089294, 0.7681729793548584, 0.29284927248954773, 0.06384734064340591, -0.2868819236755371, 0.2426299750804901, -0.19754505157470703, -0.41885432600975037, -0.1689445674419403, 0.2456021010875702, 0.07073909044265747, -0.23908938467502594 ]
http://arxiv.org/abs/2406.11131v2
http://arxiv.org/pdf/2406.11131v2
Are Large Language Models a Good Replacement of Taxonomies?
2024-06-17T01:21:50
2024-06-20T08:01:14
Yushi Sun, Hao Xin, Kai Sun, Yifan Ethan Xu, Xiao Yang, Xin Luna Dong, Nan Tang, Lei Chen
cs.CL
cs.CL, cs.AI, cs.DB
Large language models (LLMs) demonstrate an impressive ability to internalize knowledge and answer natural language questions. Although previous studies validate that LLMs perform well on general knowledge while presenting poor performance on long-tail nuanced knowledge, the community is still doubtful about whether the traditional knowledge graphs should be replaced by LLMs. In this paper, we ask if the schema of knowledge graph (i.e., taxonomy) is made obsolete by LLMs. Intuitively, LLMs should perform well on common taxonomies and at taxonomy levels that are common to people. Unfortunately, there lacks a comprehensive benchmark that evaluates the LLMs over a wide range of taxonomies from common to specialized domains and at levels from root to leaf so that we can draw a confident conclusion. To narrow the research gap, we constructed a novel taxonomy hierarchical structure discovery benchmark named TaxoGlimpse to evaluate the performance of LLMs over taxonomies. TaxoGlimpse covers ten representative taxonomies from common to specialized domains with in-depth experiments of different levels of entities in this taxonomy from root to leaf. Our comprehensive experiments of eighteen state-of-the-art LLMs under three prompting settings validate that LLMs can still not well capture the knowledge of specialized taxonomies and leaf-level entities.
[ -0.30979496240615845, -0.6377136707305908, 0.5380215644836426, -0.16648122668266296, -0.393323689699173, 0.3787720799446106, -0.3736402690410614, -0.6182376742362976, 0.2841249108314514, 0.4167537987232208, -0.10975636541843414, -0.5202377438545227, -0.6486044526100159, 0.19229327142238617, -0.423951119184494, 0.48792433738708496, -0.03789417818188667, -0.002205488970503211, -0.6159541010856628, -0.24035201966762543, -0.26241886615753174, -0.5484803318977356, -0.5783135294914246, -0.570048451423645, 0.6509415507316589, -0.0018003028817474842, 0.5735726952552795, 0.7904552221298218, 0.38419994711875916, 0.2661057114601135, -0.5648878216743469, 0.11730912327766418, -0.535119891166687, 0.047609034925699234, -0.2232612520456314, -0.2949591875076294, -0.5208700895309448, -0.23363029956817627, 0.7687799334526062, 1.1625546216964722, -0.42031538486480713, 0.10643123835325241, 0.23648589849472046, 0.4915490746498108, -0.4792569577693939, 0.48926103115081787, -0.9274914264678955, -0.3101980984210968, -0.4034823179244995, -0.27390146255493164, -0.4862339198589325, -0.40200188755989075, 0.22989551723003387, -0.6416719555854797, 0.06907804310321808, 0.1812712848186493, 0.6408822536468506, 0.2582155764102936, -0.6460090279579163, -0.38408607244491577, -0.6922476887702942, 0.6628144979476929, -0.8849663734436035, 0.4494868814945221, 0.2071664035320282, 0.23149819672107697, -0.2710834741592407, -0.6803853511810303, -0.23563240468502045, 0.01538311317563057, -0.24563509225845337, -0.12245669960975647, -0.616162121295929, 0.07308295369148254, 0.23772704601287842, 0.32452914118766785, -0.46759358048439026, 0.5315940976142883, -0.07883796840906143, -0.25384971499443054, 0.2341112345457077, 0.3115030825138092, 0.40717166662216187, -0.48088252544403076, -0.3313346803188324, 0.0985426977276802, -1.1323697566986084, -0.06341423839330673, 0.2547948956489563, 0.42076924443244934, 0.3502095937728882, 0.38955122232437134, -0.12322801351547241, 0.9136302471160889, -0.5138437747955322, -0.5223750472068787, 0.48736464977264404, -0.05309506505727768, -0.40458959341049194, -0.059563830494880676, 0.5707464218139648, 0.4208502173423767, 0.43527939915657043, -0.3379175662994385, -0.27516889572143555, 0.02070559561252594, -0.03417107090353966, -0.5877496004104614, 0.0014292600098997355, 0.07671023905277252, -0.2077694535255432, 0.10820364207029343, -0.4456622302532196, -0.6356555223464966, -0.39208200573921204, -0.28966763615608215, 0.13757744431495667, -0.43678760528564453, -0.5034696459770203, 0.2862370014190674, -0.11921067535877228, 0.12262760102748871, 0.6242521405220032, -0.7860016822814941, 0.5314987897872925, 1.04628586769104, 0.8079957962036133, -0.18592144548892975, -0.27161693572998047, -0.09638173878192902, 0.2598789930343628, -0.48731955885887146, 0.7954586148262024, -0.6724318265914917, -0.27554750442504883, 0.05317787453532219, -0.06861083954572678, -0.037877149879932404, -0.9348294138908386, 0.22050362825393677, -0.740451455116272, 0.02289016917347908, -0.3265960216522217, -0.9214012622833252, -0.20788095891475677, 0.38087326288223267, -0.6515512466430664, 0.6735586524009705, 0.24840836226940155, -0.7413861751556396, 0.5296236872673035, -0.17304043471813202, -0.30368754267692566, 0.47179996967315674, 0.038562092930078506, -0.12944862246513367, -0.1957215517759323, -0.12475886940956116, 0.40916943550109863, -0.6073214411735535, 0.7199656963348389, -0.3825428783893585, -0.4461769163608551, -0.24515560269355774, -0.05658192187547684, 0.8773120641708374, 0.06880349665880203, 0.02751409076154232, -0.2595871388912201, -0.6371929049491882, 0.06153077632188797, -0.03481096401810646, -0.2572648227214813, -0.81175696849823, 0.23982906341552734, -0.35147330164909363, -0.09561006724834442, 0.09591442346572876, -0.42722734808921814, 0.5714823603630066, -0.4733645021915436, 0.8106585144996643, 0.6942955255508423, 0.09490756690502167, 0.5432295203208923, -0.16488797962665558, 0.6030452847480774, -0.1833585649728775, -0.07868535071611404, 0.1654636710882187, -0.5622188448905945, -0.4777309000492096, -0.37594008445739746, 0.38726237416267395, 0.18613219261169434, -0.6500017046928406, 0.2752712368965149, -0.6572169065475464, -0.6068112850189209, -0.04890359938144684, 0.0691186860203743, 0.09887787699699402, 0.4343653917312622, 0.21673189103603363, -0.40321436524391174, -0.45994436740875244, -0.8768381476402283, -0.2447853535413742, -0.3577236235141754, -0.1312703639268875, 0.3722175657749176, 0.6061614751815796, -0.22439569234848022, 0.8832040429115295, -0.48800399899482727, -0.17156273126602173, -0.15172527730464935, -0.005037388298660517, 0.1743210256099701, 0.0004005211521871388, 0.5611470341682434, -0.28930410742759705, -0.18603764474391937, -0.11932853609323502, -0.4688006043434143, -0.08718511462211609, 0.2961811125278473, 0.2175600677728653, 0.13876408338546753, 0.2872934639453888, -0.8774323463439941, 0.047289036214351654, 0.44257086515426636, -0.05977629870176315, 0.4454832375049591, 0.0822308212518692, -0.2079576849937439, -0.8081973791122437, 0.1717752069234848, -0.04141134396195412, -0.1192522794008255, -0.6537370681762695, 0.23749245703220367, 0.11149287968873978, 0.11835239082574844, -0.3896000385284424, 0.8227713108062744, -0.39935845136642456, -0.43494075536727905, 0.13212738931179047, 0.19021888077259064, -0.05043283477425575, 0.2707419693470001, -0.07422178238630295, 0.7613857984542847, 0.8408681154251099, -0.7150236964225769, 0.27312201261520386, 0.22383953630924225, -0.7452274560928345, 0.38143280148506165, -0.5112767219543457, -0.11906596273183823, -0.3026945888996124, 0.5071609020233154, -0.7827571630477905, -0.3682844638824463, 0.17578406631946564, -0.18014675378799438, 0.2858399748802185, -0.2656608521938324, -0.7969082593917847, -0.4671037793159485, -0.07372141629457474, 0.249845489859581, 0.5555903315544128, -0.4540170431137085, 0.5983749628067017, 0.44680362939834595, -0.09655069559812546, -0.42957067489624023, -0.47385725378990173, 0.39798465371131897, -0.41867661476135254, -0.533871054649353, 0.07798217236995697, 0.20635922253131866, -0.4357629418373108, 0.03026494011282921, -0.19232633709907532, 0.10292072594165802, 0.3785228431224823, -0.035680871456861496, 0.1664944440126419, -0.29869571328163147, 0.7107017636299133, -0.4219716787338257, 0.12387695908546448, 0.14793573319911957, -0.18837521970272064, 0.8846714496612549, 0.06723486632108688, -0.18413236737251282, 0.026491718366742134, -0.05821961909532547, 0.6624680757522583, -0.3986371159553528, 0.567184567451477, -0.11343067139387131, -0.6308945417404175, -0.2519008219242096, -0.555722713470459, 0.10993596166372299, -0.4118751287460327, 0.298843652009964, -0.3312017619609833, -1.0402008295059204, 0.5732088088989258, -0.26262474060058594, -0.06775771826505661, 0.5549523830413818, 0.28467363119125366, 0.06792306154966354, 0.7159250378608704, 0.3295215964317322, -0.08474848419427872, 0.14824044704437256, -0.3074803650379181, 0.42461612820625305, -0.9219201803207397, -0.3247092664241791, -0.6544771790504456, 0.01949029229581356, -0.6542890667915344, -0.31546860933303833, 0.3996671140193939, 0.16327698528766632, -0.38192346692085266, 0.2986542284488678, -0.27262166142463684, 0.3221157491207123, 0.4163780212402344, -0.1278514415025711, 0.5183228254318237, -0.06905259191989899, 0.25248411297798157, 0.1559305638074875, -0.8293633460998535, -0.6552901864051819, 0.9684884548187256, 0.26553985476493835, 0.9005828499794006, 0.09062663465738297, 0.7851095795631409, 0.006063368171453476, 0.4955146908760071, -1.0132880210876465, 0.6799545288085938, -0.2790847718715668, -0.5078622102737427, -0.48647627234458923, -0.6734457612037659, -1.1157712936401367, 0.2889131009578705, 0.21865563094615936, -0.9136191010475159, 0.01392589882016182, 0.07222403585910797, -0.18737073242664337, 0.6089457869529724, -0.5382073521614075, 0.7002910375595093, -0.12932457029819489, -0.020013747736811638, -0.10933685302734375, -0.3347749710083008, 0.6194473505020142, -0.3045125901699066, 0.3855414092540741, -0.18337757885456085, -0.03783949837088585, 0.9675859808921814, -0.5216381549835205, 0.8443588614463806, -0.04821551963686943, -0.3634916841983795, 0.31267616152763367, 0.3082953095436096, 0.4255671501159668, -0.37320268154144287, -0.12140735983848572, 0.08495033532381058, 0.0012730775633826852, -0.1215071752667427, -0.7164804339408875, 0.6646707653999329, -0.6327219605445862, -0.997231125831604, -0.4634269177913666, -0.3455866873264313, -0.6103084087371826, 0.22591911256313324, -0.1864812672138214, 0.5466918349266052, -0.09726375341415405, 0.37463217973709106, 0.4503517150878906, -0.07835055887699127, 0.0667995810508728, 0.29760968685150146, -0.2612876892089844, -0.19788819551467896, 0.768524169921875, 0.27432724833488464, 0.5046846270561218, 0.2728610932826996, 0.3661097288131714, -0.3599536716938019, -0.6141750812530518, -0.29676634073257446, 0.34771648049354553, -0.8220317363739014, -0.5810315608978271, -0.8218088150024414, -0.23988230526447296, -0.34578990936279297, 0.11605960130691528, -0.029016390442848206, -0.21894781291484833, -0.2958225607872009, -0.04904501885175705, 0.38337692618370056, 0.8920367360115051, 0.2529313266277313, 0.2056066393852234, -0.6580456495285034, 0.0470024012029171, 0.4112539291381836, 0.4853755235671997, 0.44478046894073486, -0.46635839343070984, -0.030301300808787346, 0.05378812178969383, 0.09386473149061203, -0.5138015151023865, 0.19669167697429657, 0.14697213470935822, 0.7375428080558777, 0.23001565039157867, -0.1597013622522354, 0.7341635823249817, -0.561214804649353, 0.7619210481643677, 0.2892349064350128, -1.0047156810760498, 0.12241861969232559, -0.41240161657333374, 0.4486747682094574, 0.17228111624717712, 0.4653213918209076, -0.7890803217887878, -0.5935235023498535, -0.6407955288887024, -0.7818717956542969, 0.3883965015411377, -0.17214854061603546, 0.1411515772342682, 0.02020290307700634, 0.2877434492111206, 0.13996794819831848, 0.48279377818107605, -0.57645583152771, -0.1918255090713501, -0.006696109659969807, 0.15927742421627045, -0.21729256212711334, -0.3030613362789154, -0.006509517785161734, -0.2764515280723572, 0.42442458868026733, -0.05666433274745941, -0.06979596614837646, -0.2407405823469162, 0.13829579949378967, -0.3441149592399597, 0.49092888832092285, 0.10888317972421646, 1.2193701267242432, -0.2642042934894562, 0.42746737599372864, 0.07577162235975266, -0.07597128301858902, 0.10186883807182312, -0.24651455879211426, -0.3222978115081787, -0.08115863054990768, 0.7064679265022278, 0.6606316566467285, 0.4349006712436676, -0.6168822050094604, 0.33272916078567505, 0.4425755441188812, -0.28541409969329834, -0.09099064767360687, 0.14165732264518738, 0.5545199513435364, 0.08517621457576752, 0.40865951776504517, -0.0011935335351154208, -0.04172298684716225, -1.1233433485031128, 0.08723904937505722, 0.6938996315002441, 0.15039639174938202, -0.06849522143602371, 0.44226428866386414, 0.0036849924363195896, -0.3487868309020996, 0.4655681252479553, -0.15190833806991577, -0.819855272769928, 0.5188895463943481, 0.4956977367401123, 0.3983631730079651, -0.16718749701976776, 0.44254550337791443, 0.42182204127311707, 0.3917851150035858, -0.27092400193214417, -0.11970475316047668, 0.2625473737716675, -0.8185818195343018, -0.492753267288208, -0.6791011691093445, -0.41337716579437256, 0.26401302218437195, -0.4922918677330017, 0.16384488344192505, -0.3499554693698883, -0.04906533658504486, 0.021282250061631203, -0.0840916857123375, -0.6653439402580261, 0.34309694170951843, 0.12468396127223969, 1.2569530010223389, -0.6505399346351624, 0.7822215557098389, 0.39244386553764343, -0.2497461885213852, -0.9038001894950867, -0.17124222218990326, -0.052187636494636536, -0.9488241672515869, 0.6826417446136475, -0.059593986719846725, -0.20118533074855804, -0.035623978823423386, -0.6751149892807007, -1.1607047319412231, 1.2370822429656982, 0.18762220442295074, -0.7445984482765198, -0.3245353400707245, 0.22883307933807373, 0.9350134134292603, -0.34607139229774475, 0.05289827287197113, 0.4782162010669708, 0.4341927468776703, 0.43842813372612, -0.9271435737609863, 0.08935818076133728, 0.24005775153636932, 0.12245001643896103, 0.43420061469078064, -0.6248214840888977, 1.015467643737793, 0.045987568795681, -0.452300488948822, 0.14621224999427795, 0.1774548441171646, 0.10858839750289917, 0.18203923106193542, 0.6875449419021606, 0.7250241637229919, 0.9743682742118835, -0.10777492821216583, 0.7858989834785461, -0.21471597254276276, 0.5735809206962585, 1.136422872543335, -0.7115066051483154, 0.9320845007896423, 0.44030141830444336, -0.3487340211868286, 0.38889551162719727, 0.6709322333335876, -0.03275584802031517, 0.3315017521381378, 0.5954970717430115, 0.007643148303031921, -0.5862461924552917, -0.13728724420070648, -0.48492056131362915, 0.4479651153087616, 0.5010265707969666, -0.051819272339344025, -0.6022819876670837, -0.24594439566135406, 0.1631735861301422, -0.09431786090135574, -0.36148399114608765, 0.6555055975914001, 0.08954766392707825, -0.6348414421081543, 0.8996462821960449, -0.18641255795955658, 0.4237114191055298, -0.8538069128990173, 0.05546946823596954, -0.412863552570343, -0.19409134984016418, -0.14553409814834595, -0.9405941367149353, 0.06663325428962708, -0.09103696048259735, 0.3652784824371338, -0.4305087924003601, 0.7474542260169983, -0.25971391797065735, -0.31359732151031494, 0.5205828547477722, 0.8853445649147034, 0.09445595741271973, 0.033006519079208374, -0.2102021425962448, 0.044059086591005325, -0.21255673468112946, -0.21441833674907684, 0.24542807042598724, 0.5455169081687927, 0.052629049867391586, 1.052108645439148, 0.3934074640274048, 0.20485439896583557, -0.15879051387310028, 0.17880479991436005, 1.0019183158874512, -0.49133962392807007, -0.15016096830368042, -0.686549723148346, 0.0723949745297432, 0.02219461090862751, -0.18885236978530884, 0.8560585379600525, 0.7632067203521729, 0.9719246029853821, 0.13189727067947388, 0.6206119656562805, 0.0226607583463192, 0.6282400488853455, -0.629996657371521, 0.4505867660045624, -0.899749755859375, 0.42028123140335083, -0.3921187222003937, -1.1609114408493042, -0.5016909241676331, 0.11311366409063339, -0.42020127177238464, -0.02196401171386242, 0.7996708154678345, 0.6702325940132141, -0.10515674948692322, 0.021177340298891068, 0.5278355479240417, 0.4635712504386902, 0.3251107931137085, 0.45181193947792053, 0.9804040193557739, 0.08048849552869797, 0.5201008915901184, 0.1142396330833435, -0.12912620604038239, -0.10798105597496033, -0.6873236298561096, -0.6332874298095703, -0.677200198173523, -0.16099533438682556, -0.2559483051300049, 0.14343467354774475, 0.7292515635490417, 0.29998496174812317, -0.4982067346572876, -0.3566015064716339, -0.007406881079077721, 0.22502602636814117, 0.07515475898981094, -0.23336276412010193, 0.3517944812774658, -0.1497933268547058, -0.49750635027885437, 0.10351649671792984, 0.3085271418094635, 0.004020154010504484, -0.45891281962394714, 0.09903142601251602, -0.1083693578839302, -0.1352204829454422, 0.7221470475196838, 0.12790550291538239, -1.0369515419006348, -0.632773756980896, 0.024821989238262177, -0.093403160572052, 0.2346068173646927, 0.9529415965080261, -0.8124452829360962, 0.18859438598155975, 0.32582271099090576, 0.4237113893032074, 0.32243189215660095, -0.19363921880722046, 0.2610276937484741, -0.3374342620372772, -0.2511279284954071, 0.293720543384552, 0.7264885306358337, 0.4156067371368408, 0.054956041276454926, 0.5765396952629089, 0.3932932913303375, -0.3908067047595978, -0.870872974395752, 0.22943666577339172, -0.9263865947723389, -0.3699270486831665, 1.4945883750915527, -0.027447951957583427, -0.4234004616737366, -0.07623220980167389, 0.10500973463058472, -0.06424831598997116, -0.2607190012931824, 0.6706076264381409, 0.8568559288978577, 0.1359649896621704, -0.13733017444610596, -0.35364213585853577, 0.44805416464805603, 0.08430787175893784, -0.8171786665916443, 0.3670569062232971, 0.6474417448043823, 0.5614206194877625, 0.2813810408115387, 0.8139365911483765, 0.09751538932323456, -0.15777356922626495, -0.22348301112651825, -0.03523356840014458, 0.22920115292072296, -0.2515793442726135, -0.0380031019449234, 0.13051918148994446, 0.3795349597930908, 0.2850135862827301 ]
http://arxiv.org/abs/2406.11130v1
http://arxiv.org/pdf/2406.11130v1
Dynamic Order Template Prediction for Generative Aspect-Based Sentiment Analysis
2024-06-17T01:21:28
2024-06-17T01:21:28
Yonghyun Jun, Hwanhee Lee
cs.CL
cs.CL
Aspect-based sentiment analysis (ABSA) assesses sentiments towards specific aspects within texts, resulting in detailed sentiment tuples. Previous ABSA models often use static templates to predict all of the elements in the tuples, and these models often fail to accurately capture dependencies between elements. Multi-view prompting method improves the performance of ABSA by predicting tuples with various templates and then ensembling the results. However, this method suffers from inefficiencies and out-of-distribution errors. In this paper, we propose a Dynamic Order Template (DOT) method for ABSA, which dynamically generates necessary views for each instance based on instance-level entropy. Ensuring the diverse and relevant view generation, our proposed method improves F1-scores on ASQP and ACOS datasets while significantly reducing inference time.
[ -0.5499736070632935, -0.6795811653137207, 0.5886235237121582, 0.2694815695285797, -0.6415035128593445, 0.2216533124446869, 0.3557232618331909, -0.3471335470676422, 0.5630437731742859, 0.08911234140396118, -0.5044990181922913, -0.572191059589386, -0.4583452343940735, 0.09574506431818008, -0.2511918544769287, 0.5414573550224304, 0.14703425765037537, -0.02184244804084301, -0.26564234495162964, -0.1228211522102356, -0.3065349757671356, -0.5088200569152832, -0.39041203260421753, 0.04018788784742355, 0.4884980618953705, 0.47529932856559753, 0.3484190106391907, 0.5129150748252869, 0.2094413936138153, 0.38210198283195496, -0.3783426284790039, 0.2821672558784485, -0.003302879398688674, 0.6759937405586243, -0.052756715565919876, -0.47888657450675964, -0.7795916199684143, -0.02498413436114788, 0.3334730863571167, 0.43327784538269043, -0.2544172406196594, 0.026675451546907425, 0.21135757863521576, 0.7703990340232849, -0.6923646330833435, 0.36841094493865967, -0.6795921325683594, 0.14811350405216217, -0.01650851033627987, -0.058451589196920395, -0.28773343563079834, -0.40125221014022827, 0.3033549189567566, -0.4297158718109131, 0.1414642184972763, 0.1139126569032669, 0.6476883888244629, 0.0817032903432846, -0.37585896253585815, -0.10833543539047241, -0.47041088342666626, 0.7851877808570862, -0.6086398959159851, 0.2908758819103241, 0.028289183974266052, 0.09792904555797577, 0.10383524745702744, -0.5436113476753235, -0.6203033328056335, 0.2587136924266815, 0.16507908701896667, 0.5134696960449219, 0.03521948307752609, 0.01609230972826481, -0.16094502806663513, 0.7066110372543335, -0.20324194431304932, 0.07040264457464218, -0.08368698507547379, 0.3137695789337158, 0.570165753364563, 0.33143162727355957, -0.21442925930023193, -0.6882591843605042, -0.23221248388290405, -0.3366125822067261, -0.6323364973068237, 0.2191573828458786, 0.4243623912334442, 0.2578714191913605, -0.32011085748672485, 0.3247080147266388, -0.28676867485046387, 0.6027377247810364, 0.615359365940094, 0.03623577952384949, 0.5807262659072876, -0.02396104298532009, -0.40365952253341675, 0.07795877754688263, 0.8370949029922485, 0.454218327999115, -0.3568354547023773, 0.45678120851516724, -0.16008061170578003, -0.14562401175498962, 0.5426939129829407, -0.7089385986328125, -0.17747996747493744, 0.6323192715644836, -0.4926007390022278, -0.730095386505127, 0.42962202429771423, -1.3936687707901, -0.6719686388969421, -0.20998084545135498, -0.12951862812042236, -0.7144152522087097, -0.22025147080421448, -0.25137072801589966, 0.14303240180015564, -0.05238911509513855, 0.7124764919281006, -0.675577700138092, -0.3276718854904175, 0.60129314661026, 0.6640854477882385, -0.10652585327625275, -0.06852012127637863, -0.6069960594177246, 0.03308827057480812, -0.4905519485473633, 1.1927911043167114, -0.8842735290527344, -0.451689749956131, 0.21135620772838593, -0.4039405882358551, 0.07037068158388138, -0.38722047209739685, 0.2448456585407257, -0.4214397370815277, 0.45732298493385315, -0.3035726547241211, -0.4667888283729553, -0.5965580344200134, 0.4730466902256012, -0.5185322761535645, 0.9337828159332275, 0.11315584182739258, -0.8313653469085693, 0.5950719714164734, -0.4368393123149872, -0.4355921447277069, -0.15225337445735931, -0.3731285035610199, -0.656179666519165, 0.5815165638923645, 0.7008974552154541, 0.7991663217544556, -0.1847437173128128, 0.11209259182214737, -0.4635465443134308, 0.22478336095809937, 0.28930652141571045, -0.3001517951488495, 0.12426155805587769, 0.3122895359992981, -0.3118647038936615, 0.35671234130859375, -0.8503409624099731, 0.09337282180786133, -0.19025130569934845, -0.39488810300827026, -0.5318422913551331, 0.3690128028392792, -0.14718925952911377, 0.2638610899448395, -0.051707252860069275, -0.31707170605659485, 0.3057558238506317, -0.6475397944450378, 0.00956112053245306, 1.0417135953903198, 0.41315725445747375, 0.3071659207344055, 0.0884116142988205, 0.8631793260574341, 0.4454043507575989, 0.22627270221710205, -0.29232677817344666, -0.6173588633537292, -0.847617506980896, -0.27148449420928955, 0.14050011336803436, 0.5075391530990601, -0.9934535622596741, 0.7765454649925232, -0.1361272782087326, -0.6954816579818726, -0.24277396500110626, -0.02790890634059906, 0.6051793694496155, 0.17160148918628693, 0.19205878674983978, -0.7833256721496582, -0.2397903949022293, -0.5965164303779602, -0.08295455574989319, -0.44428256154060364, 0.01719556376338005, 0.16541370749473572, 0.12015847861766815, 0.30415698885917664, 0.6823318600654602, -0.7058819532394409, -0.3362622559070587, -0.5646300315856934, 0.5968158841133118, 0.26765403151512146, 0.24968180060386658, 0.8204823136329651, -0.7020134329795837, -0.6187387108802795, -0.08200394362211227, -0.7028765678405762, 0.04969107732176781, -0.1306128352880478, 0.05124952644109726, 0.19117669761180878, 0.3706713914871216, -0.22152411937713623, 0.482631653547287, 0.5952166318893433, -0.49732640385627747, 0.3463667333126068, 0.05423840135335922, 0.1604875773191452, -1.606709361076355, -0.24786880612373352, 0.24534045159816742, -0.035190608352422714, -0.42194628715515137, -0.21042193472385406, -0.08534570038318634, -0.0715813934803009, -0.4968377947807312, 0.2817527949810028, -0.5948016047477722, 0.0953042060136795, -0.09549522399902344, -0.4590478837490082, 0.14007708430290222, 0.49772557616233826, 0.09397328644990921, 0.512261688709259, 0.6488525867462158, -0.583997368812561, 0.33457833528518677, 0.16784876585006714, -0.6195428967475891, 0.9742265939712524, -0.28245577216148376, 0.1404155194759369, -0.17736391723155975, 0.08851809799671173, -0.781867504119873, -0.08357323706150055, 0.25640997290611267, -0.4112774431705475, 0.5036817193031311, -0.20134766399860382, -0.3868669867515564, -0.13789387047290802, -0.594822883605957, 0.35316264629364014, 0.07199857383966446, -0.2174362987279892, 0.9002369046211243, 0.25266334414482117, -0.33360961079597473, -0.5858899354934692, -0.03086150251328945, -0.13512645661830902, -0.2714143395423889, -0.25067535042762756, 0.19962669909000397, 0.03765256330370903, -0.41979873180389404, -0.08967987447977066, -0.04901650547981262, 0.12650592625141144, -0.10329508781433105, 0.36731091141700745, 0.05399809032678604, -0.18616729974746704, -0.13689808547496796, 0.37566566467285156, -0.03954121470451355, -0.06235125660896301, -0.05206184461712837, 0.7108688950538635, -0.30884528160095215, -0.4229341149330139, -0.6398003697395325, 0.5347053408622742, 0.8742580413818359, -0.34653496742248535, 0.724428117275238, 0.03141658380627632, -0.11777621507644653, -0.24489164352416992, -0.4873308539390564, -0.039627328515052795, -0.504172146320343, 0.3940162658691406, -0.39119377732276917, -0.08381647616624832, 0.5562771558761597, 0.20502953231334686, 0.07718978822231293, 0.3465512692928314, 0.6313969492912292, -0.1636495143175125, 0.9330736994743347, 0.6901209950447083, -0.19639164209365845, 1.032485008239746, -0.5228270888328552, 0.20275656878948212, -0.7430758476257324, -0.36730149388313293, -0.2967693507671356, -0.285864919424057, -0.31093069911003113, -0.362173467874527, 0.825517475605011, 0.009836805984377861, -0.11080355942249298, -0.19426192343235016, -0.5882233381271362, 0.1228409856557846, 0.6867003440856934, -0.10062159597873688, 0.2347918450832367, 0.37433531880378723, -0.2577113211154938, 0.07249536365270615, -0.5187063217163086, -0.22666937112808228, 0.8809826970100403, 0.18627886474132538, 0.7145498394966125, 0.10377664864063263, 0.5684553980827332, 0.23659686744213104, 0.4168505072593689, -0.9718775749206543, 0.44066229462623596, -0.2636086344718933, -0.1655677855014801, -0.053924888372421265, -0.12499547004699707, -0.7599008083343506, 0.32009005546569824, -0.37336158752441406, -0.5833281874656677, 0.7380258440971375, 0.2066124826669693, -0.5914913415908813, 0.3805820643901825, -0.4811735153198242, 0.37312328815460205, -0.12084618955850601, -0.2811506390571594, -0.28263959288597107, -0.252961665391922, 0.18989154696464539, -0.092340387403965, 0.08836813271045685, -0.12035215646028519, 0.15167377889156342, 0.6194987297058105, -0.6999356746673584, 0.9738418459892273, -0.3269781172275543, -0.07523093372583389, 0.31699156761169434, 0.19593974947929382, 0.42262497544288635, 0.33466416597366333, -0.502092719078064, 0.07009683549404144, -0.35640019178390503, -0.07315885275602341, -0.6201875805854797, 0.457975834608078, -0.6571775078773499, -0.5946534276008606, -0.9214497208595276, -0.24501922726631165, -0.4008791446685791, 0.15512016415596008, 0.5846918821334839, 0.6325786113739014, 0.06946767121553421, 0.18444009125232697, 0.46957358717918396, -0.34412550926208496, 0.502473771572113, 0.4581383764743805, 0.03069206513464451, -0.7830541729927063, 0.5831157565116882, 0.10863611847162247, -0.08690690249204636, 0.5782877206802368, 0.21134565770626068, -0.27242156863212585, -0.8261250257492065, -0.6698806881904602, -0.014358204789459705, -0.5416564345359802, -0.6914087533950806, -0.3902416229248047, 0.034935589879751205, -0.542795717716217, -0.40180039405822754, -0.6834841370582581, -0.2217179536819458, -0.3134513199329376, -0.3140760064125061, 0.5984904170036316, 0.8463352918624878, 0.06481220573186874, 0.2591923475265503, -0.8530360460281372, 0.25778722763061523, 0.2642503082752228, 0.44423699378967285, 0.202875554561615, -0.18901567161083221, -0.0012161312624812126, -0.27597206830978394, -0.7011750936508179, -1.0126793384552002, 0.7879189252853394, 0.08187995105981827, 0.36723747849464417, 0.9982368350028992, 0.36786898970603943, 0.7459918260574341, -0.36042118072509766, 0.8937569260597229, 0.5559868812561035, -0.9558408856391907, 0.8085945844650269, -0.3201688528060913, 0.06620489805936813, 0.39811867475509644, -0.07249484956264496, -0.32807451486587524, -0.7154242396354675, -0.5404786467552185, -1.2642474174499512, 0.7739925980567932, 0.17819614708423615, 0.10770057886838913, -0.01731741987168789, 0.44617927074432373, 0.35020899772644043, 0.3868636190891266, -0.2709788382053375, -0.41999551653862, -0.6318838596343994, -0.3065883219242096, 0.17051969468593597, -0.5052136778831482, 0.07343965768814087, -0.3066936135292053, 0.6539928317070007, -0.29824119806289673, 0.4459111988544464, 0.13816988468170166, 0.4394994378089905, -0.19222301244735718, 0.24381254613399506, 0.3470577299594879, 0.8134884238243103, -0.26626142859458923, -0.12696154415607452, -0.06072729453444481, -0.4820806384086609, 0.07751253992319107, 0.04691847041249275, -0.24508191645145416, 0.02175685577094555, 0.19607725739479065, 0.8155844211578369, -0.21449629962444305, -0.24500201642513275, 0.5070952773094177, -0.09361531585454941, 0.10429023951292038, -0.7099708914756775, -0.03487814590334892, -0.29400911927223206, 0.3148931860923767, 0.4529232382774353, 0.024857083335518837, -0.002159944735467434, -0.6366280317306519, 0.08612366765737534, 0.24780452251434326, -0.613619863986969, -0.527406632900238, 0.6884880661964417, 0.41392168402671814, 0.04495213180780411, 0.6513035297393799, -0.22497552633285522, -0.4696570336818695, 0.6283726692199707, -0.09174768626689911, 1.1608728170394897, -0.5696027874946594, 0.2828229069709778, 0.11386369913816452, -0.07218217104673386, 0.13131116330623627, 0.6026700139045715, 0.30286046862602234, -0.7759450674057007, -0.233728289604187, -0.818138599395752, -0.4869122803211212, 0.24944745004177094, -0.9767777919769287, 0.2590830326080322, -0.599660336971283, -0.08602375537157059, 0.05376341938972473, -0.05389556661248207, -0.4845396876335144, 0.49994608759880066, 0.10554271936416626, 0.6382249593734741, -0.7887263894081116, 0.937839925289154, 1.091496229171753, -0.56855309009552, -0.7074554562568665, 0.4177873134613037, 0.34310173988342285, -0.5822369456291199, 0.21412546932697296, 0.19791142642498016, -0.18624497950077057, -0.494810551404953, -0.2336350679397583, -0.7802766561508179, 0.874342143535614, 0.016768837347626686, -0.1296156346797943, 0.22153769433498383, -0.09808926284313202, 0.610954999923706, -0.5487975478172302, 0.034548450261354446, -0.03840921074151993, 0.2682622969150543, 0.1773604452610016, -0.5118143558502197, -0.022516924887895584, -0.5189142227172852, 0.052059661597013474, 0.018901413306593895, -0.7308589220046997, 0.8637453317642212, 0.021314427256584167, 0.1256312131881714, -0.03862535580992699, 1.2608895301818848, 0.25827720761299133, 0.396454393863678, 0.8136846423149109, 0.399279922246933, 0.5921697020530701, 0.02901809848845005, 1.0233778953552246, -0.4240354597568512, 0.23558759689331055, 0.8740876913070679, -0.2801586389541626, 0.9678574204444885, 0.40658634901046753, -0.07770755141973495, 1.0130369663238525, 0.804739236831665, 0.014713363721966743, 0.6755176186561584, -0.25437960028648376, -0.12993492186069489, -0.19358445703983307, 0.18367315828800201, -0.42274272441864014, 0.6872789263725281, 0.6724938750267029, -0.49607914686203003, 0.16805878281593323, -0.2092680037021637, 0.10248950123786926, 0.041617512702941895, -0.377549409866333, 0.8649016618728638, 0.1521563082933426, -0.743446409702301, 0.3621961772441864, 0.03303741291165352, 0.687279999256134, -0.32176637649536133, 0.1698046177625656, -0.650510847568512, 0.30124932527542114, -0.01177219208329916, -0.7621380090713501, 0.4050692319869995, -0.05223872885107994, -0.40112823247909546, -0.3852841854095459, 0.17572465538978577, -0.11511426419019699, -0.9607213735580444, 0.1438179612159729, 0.6635066866874695, -0.18739430606365204, -0.3409687280654907, -0.7593181729316711, -0.2832564115524292, -0.004092017654329538, -0.7540482878684998, 0.4124944806098938, 0.6308868527412415, -0.0859626829624176, 0.546705961227417, 0.36108702421188354, 0.034511417150497437, -0.23684807121753693, -0.13532714545726776, 0.931372344493866, -0.7050775289535522, -0.9238646030426025, -0.6111289858818054, 0.5176472067832947, -0.3296276032924652, -0.2438715398311615, 0.48733508586883545, 0.5541722774505615, 0.37321892380714417, -0.12280893325805664, 0.8865730166435242, -0.25929850339889526, 0.6861408948898315, -0.6847801208496094, 0.8052550554275513, -0.9036008715629578, 0.5066348910331726, -0.49626797437667847, -0.9072998762130737, -0.33063775300979614, 0.4900931417942047, -0.25472110509872437, -0.0997578576207161, 0.8510208129882812, 0.5310661792755127, -0.24920515716075897, -0.0036762175150215626, 0.10488178580999374, 0.32470494508743286, 0.46217823028564453, 0.18581317365169525, 0.6509040594100952, -0.05867627263069153, 0.33470654487609863, -0.5560894012451172, -0.11009637266397476, -0.22458188235759735, -1.0122220516204834, -0.6790812611579895, -0.7125968933105469, -0.47429370880126953, -0.5261939764022827, -0.21676483750343323, 0.716946005821228, 0.6164074540138245, -1.0065497159957886, -0.028467727825045586, 0.07434991002082825, 0.3577054440975189, -0.75033038854599, -0.3246690034866333, 0.7351953983306885, -0.2071872353553772, -1.1464868783950806, 0.34147074818611145, 0.33273762464523315, -0.04305664822459221, -0.17489922046661377, 0.43915241956710815, 0.1508464515209198, 0.23424874246120453, 0.8727758526802063, -0.03542722389101982, -0.69914710521698, -0.4762062430381775, -0.28881463408470154, 0.3339647352695465, 0.4025413691997528, 0.7804704904556274, -0.749946653842926, 0.4861316680908203, 0.8389232754707336, 0.08698339015245438, 0.13598908483982086, 0.29151055216789246, 1.0292859077453613, -0.967490017414093, 0.21805895864963531, 0.2059701383113861, 0.5393913984298706, 0.24340936541557312, -0.4221058189868927, 0.1635812669992447, 0.3491613268852234, 0.030161941424012184, -0.6481577157974243, 0.409646213054657, -1.1210606098175049, -0.472817987203598, 1.208203911781311, -0.3394368886947632, -0.09796614199876785, -0.33993038535118103, 0.07277273386716843, 0.040682803839445114, -0.9747231602668762, 1.2012406587600708, 0.2713187336921692, -0.46019673347473145, -0.24433693289756775, -0.0026986326556652784, 0.524828314781189, 0.35414260625839233, -0.9329884648323059, 0.023135799914598465, 0.6512159109115601, 0.2106277048587799, 0.2218191772699356, 0.48227784037590027, -0.09373803436756134, -0.08905840665102005, -0.21324406564235687, 0.05791649594902992, -0.055496569722890854, -0.40016862750053406, -0.2098628133535385, 0.7425507307052612, -0.09244860708713531, -0.4154854118824005 ]
http://arxiv.org/abs/2406.11116v1
http://arxiv.org/pdf/2406.11116v1
Grammaticality Representation in ChatGPT as Compared to Linguists and Laypeople
2024-06-17T00:23:16
2024-06-17T00:23:16
Zhuang Qiu, Xufeng Duan, Zhenguang G. Cai
cs.CL
cs.CL
Large language models (LLMs) have demonstrated exceptional performance across various linguistic tasks. However, it remains uncertain whether LLMs have developed human-like fine-grained grammatical intuition. This preregistered study (https://osf.io/t5nes) presents the first large-scale investigation of ChatGPT's grammatical intuition, building upon a previous study that collected laypeople's grammatical judgments on 148 linguistic phenomena that linguists judged to be grammatical, ungrammatical, or marginally grammatical (Sprouse, Schutze, & Almeida, 2013). Our primary focus was to compare ChatGPT with both laypeople and linguists in the judgement of these linguistic constructions. In Experiment 1, ChatGPT assigned ratings to sentences based on a given reference sentence. Experiment 2 involved rating sentences on a 7-point scale, and Experiment 3 asked ChatGPT to choose the more grammatical sentence from a pair. Overall, our findings demonstrate convergence rates ranging from 73% to 95% between ChatGPT and linguists, with an overall point-estimate of 89%. Significant correlations were also found between ChatGPT and laypeople across all tasks, though the correlation strength varied by task. We attribute these results to the psychometric nature of the judgment tasks and the differences in language processing styles between humans and LLMs.
[ -0.2648615539073944, -0.706726610660553, 0.778511106967926, 0.5225030779838562, -0.24779397249221802, -0.1477438360452652, -0.7435861229896545, -0.3475809693336487, 0.2715747356414795, 0.007874050177633762, -0.3025260269641876, -0.4745599031448364, -0.7638945579528809, 0.09102453291416168, -0.25406211614608765, 0.8860139846801758, 0.42029210925102234, 0.22930985689163208, -0.3367243707180023, 0.1952599734067917, -0.19789740443229675, -1.0357483625411987, -0.45549145340919495, -0.42694082856178284, 0.4580782949924469, 0.19521275162696838, 0.8319445252418518, 0.1729545146226883, 0.6028088331222534, 0.2842918932437897, -0.2116209715604782, -0.11738479882478714, -0.5035969614982605, -0.03260147571563721, -0.2667161226272583, -0.6434922218322754, -0.32003161311149597, 0.14366938173770905, 0.44356971979141235, 1.0217832326889038, -0.33777347207069397, 0.05233757570385933, 0.1880904883146286, 0.6709012985229492, -0.48644834756851196, 0.5095991492271423, -0.5300063490867615, 0.22150620818138123, -0.38793620467185974, -0.2107916921377182, -0.6684830784797668, -0.18344901502132416, 0.23297874629497528, -0.41272321343421936, 0.20739638805389404, 0.045218534767627716, 0.8395666480064392, -0.028292464092373848, -0.6303538084030151, -0.171282559633255, -0.5903546214103699, 0.42781513929367065, -0.6790112853050232, 0.5541172027587891, 0.38474225997924805, -0.04981086403131485, -0.3506069481372833, -0.5848245024681091, -0.5252127647399902, -0.6810162663459778, -0.15743717551231384, 0.3080272674560547, -0.17999814450740814, 0.3069300055503845, 0.3275327980518341, 0.5074663758277893, -0.7117823362350464, 0.2051640748977661, -0.23824995756149292, 0.0483994334936142, 0.5112395882606506, -0.06919608265161514, 0.06382107734680176, -0.6147341132164001, -0.3152269124984741, 0.03186491131782532, -0.5478965044021606, 0.033273350447416306, 0.31443706154823303, 0.19353125989437103, -0.05794680491089821, 0.9136317372322083, -0.28826913237571716, 0.42261403799057007, -0.035448458045721054, 0.19046957790851593, 0.15054509043693542, -0.16609659790992737, -0.2774023413658142, -0.30394288897514343, 1.2118077278137207, 0.511893630027771, 0.7943120002746582, -0.10295998305082321, -0.02150817960500717, 0.39149972796440125, 0.3099828064441681, -0.52782142162323, -0.438137412071228, -0.26688477396965027, -0.4409361183643341, -0.11265642195940018, 0.24278223514556885, -0.4864775240421295, -0.6143544316291809, -0.39797908067703247, 0.04075693339109421, -0.4626753628253937, -0.30168190598487854, 0.2678830027580261, 0.097730353474617, 0.40440917015075684, 0.338686466217041, -1.0213172435760498, 0.4064335525035858, 0.9262202382087708, 0.5616268515586853, -0.15674251317977905, -0.5274283289909363, -0.12331509590148926, -0.3798615038394928, -0.3754642903804779, 0.9828813672065735, -0.4288177490234375, -0.2980254888534546, -0.02215580828487873, -0.15314878523349762, -0.380484938621521, -0.39002496004104614, 0.6401695609092712, -0.2828499674797058, 0.3059602379798889, -0.24689963459968567, -0.673603892326355, -0.17004816234111786, 0.20223315060138702, -0.3053501844406128, 0.981054425239563, -0.06555210053920746, -0.6146146059036255, 0.666842520236969, -0.39857807755470276, -0.29036644101142883, 0.24797207117080688, -0.48960742354393005, -0.09692800790071487, 0.39929449558258057, -0.006192807573825121, 0.702482283115387, -0.28894609212875366, 0.5229862332344055, -0.20925694704055786, -0.3013736307621002, 0.5628041625022888, -0.42200925946235657, 0.5025718808174133, -0.016086561605334282, -0.23418110609054565, -0.030118072405457497, -0.5244811773300171, 0.09219110757112503, 0.035501934587955475, -0.5209082961082458, -0.10712626576423645, 0.26804351806640625, 0.17134328186511993, 0.22791768610477448, 0.06803322583436966, -0.40855005383491516, 0.26053938269615173, -0.4663999378681183, 0.5080953240394592, 0.6060158014297485, -0.21117573976516724, 0.28861114382743835, -0.2303110510110855, 0.4373742341995239, -0.27104029059410095, -0.040671613067388535, 0.06917056441307068, -0.6801081895828247, -0.8141857385635376, -0.12678495049476624, 0.0873209536075592, 0.46668702363967896, -0.04586723819375038, 0.4846382141113281, -0.5685978531837463, -0.4126562476158142, -0.10930142551660538, 0.18834008276462555, 0.5587695240974426, -0.131498783826828, 0.032442010939121246, -0.3884774148464203, -0.5133717656135559, -1.0049270391464233, -0.4830782115459442, -0.5595574975013733, -0.13810475170612335, 0.29673582315444946, 0.42828986048698425, 0.04733768105506897, 0.930743396282196, -0.36574381589889526, -0.08466722816228867, -0.41969695687294006, 0.1164168268442154, 0.331989586353302, 0.29849866032600403, 0.5276733636856079, -0.6343061327934265, -0.3865237832069397, 0.18765497207641602, -0.6328275799751282, -0.16539201140403748, 0.09155411273241043, -0.03432893380522728, 0.23232492804527283, 0.7151654362678528, -0.936188280582428, 0.4113563895225525, 0.5100886225700378, -0.8027440905570984, 0.6414082646369934, -0.1129690632224083, 0.06645181030035019, -1.0358507633209229, 0.02671065740287304, -0.0068291411735117435, -0.2518617808818817, -0.495783269405365, 0.15542028844356537, -0.15245115756988525, 0.06838171929121017, -0.17902861535549164, 0.1923847645521164, -0.36242473125457764, -0.23657546937465668, 0.22666321694850922, 0.23063282668590546, -0.27686530351638794, 0.6059492826461792, 0.06794130802154541, 0.6768612861633301, 0.2999809980392456, -0.28604182600975037, 0.2744520604610443, 0.07664873450994492, -0.3730100393295288, 0.5601108074188232, -0.7402176260948181, 0.13914166390895844, -0.2910596430301666, 0.12940077483654022, -1.2572699785232544, -0.48270121216773987, 0.13716965913772583, -0.5905990600585938, 0.009285124950110912, -0.3094951808452606, -0.6385384798049927, -0.18763257563114166, 0.04403231292963028, 0.294259250164032, 0.5952766537666321, -0.06103826314210892, 0.4815790355205536, 0.1439855396747589, -0.323775053024292, -0.1108173131942749, -0.7021119594573975, 0.2296425700187683, -0.143435537815094, -0.7173992991447449, -0.09851828217506409, 0.16707365214824677, -0.6828265190124512, -0.3658643364906311, -0.010487966239452362, 0.05536706745624542, 0.04674570634961128, 0.4165053069591522, 0.2561240792274475, -0.3765931725502014, 0.3237358033657074, -0.5514944791793823, 0.09970153123140335, 0.2830828130245209, -0.2247595489025116, 0.7889387607574463, -0.37718361616134644, -0.5653060078620911, -0.27939373254776, 0.09229756891727448, 0.5267475843429565, -0.12581266462802887, 0.670312762260437, 0.3634134531021118, -0.10988295823335648, 0.1652987003326416, -0.8386695384979248, 0.13457104563713074, -0.36164841055870056, 0.3889656364917755, -0.35408806800842285, -0.8275465369224548, 0.5092955231666565, 0.23746728897094727, -0.22321026027202606, 0.4537593424320221, 0.6180366277694702, -0.229075089097023, 0.6357147097587585, 0.3285081088542938, 0.020967140793800354, 0.58762526512146, -0.02881835773587227, 0.2053440511226654, -0.6168060898780823, -0.31765103340148926, -0.4879160225391388, -0.17504319548606873, -0.8228599429130554, -0.42628318071365356, 0.15097272396087646, 0.055164214223623276, -0.26198306679725647, 0.12078087776899338, -0.06027655676007271, 0.468296080827713, 0.47746938467025757, 0.25281983613967896, 0.3161328434944153, -0.06194586679339409, -0.2135428935289383, -0.18344296514987946, -0.5716203451156616, -0.6742896437644958, 1.0184247493743896, 0.21798793971538544, 0.6808634400367737, 0.3274993896484375, 0.5360258221626282, 0.2189158946275711, -0.08076246827840805, -1.1552708148956299, 0.7945479154586792, -0.32748380303382874, -0.26104670763015747, -0.07963543385267258, -0.3998428285121918, -1.102830171585083, 0.43844538927078247, -0.2577867805957794, -0.9930529594421387, 0.11056852340698242, -0.0404108427464962, -0.3141922354698181, -0.11843486875295639, -1.0677049160003662, 0.8512853980064392, 0.07157585769891739, -0.2537338435649872, -0.14276109635829926, -0.6031022667884827, 0.17039692401885986, 0.22169345617294312, 0.18780450522899628, -0.23235341906547546, 0.11570244282484055, 0.6722752451896667, -0.36706987023353577, 1.033906102180481, 0.07980825752019882, -0.16814638674259186, 0.08370950073003769, 0.24140599370002747, 0.31336259841918945, 0.13958227634429932, 0.05642621964216232, 0.08226413279771805, -0.10953841358423233, -0.43548384308815, -0.6273400783538818, 0.5268466472625732, -0.6447403430938721, -0.6622664928436279, -0.5737784504890442, -0.426254540681839, -0.29834291338920593, 0.1713515669107437, 0.3374481797218323, 0.45006275177001953, -0.5270512104034424, 0.17616860568523407, 0.2893927991390228, 0.02918962948024273, 0.3012103736400604, 0.4711489677429199, -0.3924677073955536, -0.09395518153905869, 0.3723589777946472, -0.08029737323522568, 0.586460530757904, 0.4047224521636963, 0.2086416631937027, -0.13937988877296448, -0.4028097689151764, -0.045298393815755844, 0.3593537211418152, -0.6997978687286377, 0.22155268490314484, -0.5022786259651184, -0.14386890828609467, -0.2398432195186615, -0.02724733017385006, -0.32620957493782043, -0.48949718475341797, -0.014782211743295193, -0.09329386055469513, 0.3152216672897339, 0.9711697101593018, 0.21210211515426636, 0.4538966119289398, -0.44737669825553894, -0.029572390019893646, 0.23642447590827942, 0.198655366897583, -0.25632235407829285, -0.535459578037262, 0.12311117351055145, 0.12805011868476868, -0.10256883502006531, -0.5327057838439941, 0.18493665754795074, 0.3298075497150421, 0.2989172637462616, 0.5141499638557434, -0.39481204748153687, 0.7281823754310608, -0.40181097388267517, 1.0487772226333618, 0.10357118397951126, -0.8798918724060059, 0.3537537455558777, -0.6406335830688477, 0.2596491277217865, 0.45007678866386414, 0.09226739406585693, -0.8796094655990601, -0.48366662859916687, -0.6246749758720398, -0.7351299524307251, 0.5492636561393738, 0.42608097195625305, 0.2217041403055191, -0.24434760212898254, 0.367496132850647, 0.001549854059703648, 0.1000332310795784, -0.8492183685302734, 0.03161958232522011, 0.049151528626680374, -0.023393267765641212, -0.48813292384147644, -0.4301762580871582, 0.08264990895986557, -0.16198065876960754, 0.08687934279441833, -0.09261982887983322, 0.5928929448127747, 0.15823544561862946, -0.14579768478870392, 0.18901275098323822, 0.6210017204284668, 0.6658554077148438, 0.8317925333976746, -0.0850781500339508, 0.3923614025115967, -0.036581188440322876, -0.5882201194763184, -0.09125672280788422, 0.12902595102787018, 0.18641676008701324, -0.059131018817424774, 0.8465418815612793, 0.863318681716919, 0.6036252379417419, -0.5230939984321594, 0.9000353217124939, -0.026435814797878265, -0.15627524256706238, -0.49181821942329407, -0.08318864554166794, 0.13918904960155487, 0.254895955324173, 0.18494772911071777, 0.3794550895690918, 0.026914404705166817, -0.7570181488990784, -0.11561769247055054, 0.4820230007171631, -0.14516788721084595, -0.5225091576576233, 0.3456498384475708, -0.014419249258935452, -0.22572799026966095, 0.6996237635612488, -0.33706849813461304, -0.6771280765533447, 0.3996278941631317, 0.36381950974464417, 0.8048447370529175, -0.08863698691129684, 0.14038272202014923, 0.2964097261428833, 0.22398915886878967, -0.3121373951435089, 0.3187265992164612, -0.0317651592195034, -0.9126960039138794, -0.5303770899772644, -0.5653282403945923, -0.17545436322689056, -0.207012340426445, -0.7187075018882751, 0.27324536442756653, -0.31399545073509216, -0.29751870036125183, -0.03512852266430855, -0.24903957545757294, -0.6442110538482666, 0.011130938306450844, 0.3150443732738495, 0.6220744848251343, -0.8365791440010071, 0.4329279065132141, 0.8898531198501587, -0.31874850392341614, -0.8492358922958374, 0.18813678622245789, -0.002116402378305793, -0.9365653395652771, 0.7884960770606995, 0.05256281793117523, -0.004431383218616247, -0.09418071061372757, -0.24390460550785065, -0.6708710789680481, 0.6797856092453003, 0.4709417223930359, -0.6431690454483032, -0.3359559178352356, 0.3993041515350342, 0.7803993225097656, 0.032502055168151855, 0.4716959297657013, 0.6146311163902283, 0.23026083409786224, 0.08764873445034027, -1.546278476715088, -0.08464320003986359, -0.36317646503448486, 0.1471625119447708, 0.3570825457572937, -0.5748713612556458, 0.9198686480522156, -0.1807963252067566, -0.2783108949661255, 0.05333350598812103, 0.35667893290519714, 0.10089704394340515, 0.003225150750949979, 0.30142003297805786, 0.4982008934020996, 0.7320801019668579, -0.2530636787414551, 1.120111107826233, -0.12313876301050186, 0.5120611190795898, 1.0754687786102295, 0.009074294939637184, 0.9781545400619507, 0.5876320004463196, -0.6550856828689575, 0.4920811057090759, 0.44456082582473755, 0.21145696938037872, 0.2180931717157364, 0.3145579695701599, -0.3326340615749359, -0.4120795726776123, -0.023104744032025337, -0.2274627983570099, 0.8342157006263733, 0.4433058500289917, -0.5427669286727905, -0.08688077330589294, -0.08788254857063293, 0.38313785195350647, 0.13960294425487518, -0.2771229147911072, 0.8510468006134033, 0.2787104547023773, -0.9055414199829102, 0.613915205001831, -0.30503904819488525, 0.6586794257164001, -0.6065937876701355, 0.13658350706100464, -0.17585058510303497, 0.23062708973884583, -0.42716068029403687, -1.0637937784194946, 0.042205579578876495, 0.017914555966854095, 0.022011324763298035, -0.18296277523040771, 0.5072336196899414, -0.22183720767498016, -0.3583794832229614, 0.17719729244709015, 0.7463914155960083, 0.38184693455696106, -0.22891579568386078, -0.13068071007728577, -0.08900491148233414, -0.08859506994485855, -0.26742228865623474, 0.17277196049690247, 0.6845253109931946, -0.16984118521213531, 0.6595363616943359, 0.5163266658782959, 0.21089133620262146, 0.32826751470565796, 0.28000810742378235, 0.7757494449615479, -0.7365990877151489, -0.43939125537872314, -1.1333978176116943, 0.2805876135826111, 0.05753633379936218, -0.5380851626396179, 0.7637869715690613, 0.5480260848999023, 0.8168755173683167, -0.16768838465213776, 0.5816203355789185, -0.3036745488643646, 0.09540382027626038, -0.7135199904441833, 0.5092296004295349, -0.07232938706874847, 0.1369292140007019, -0.4527202546596527, -0.8471606373786926, -0.3258169889450073, 0.883691668510437, -0.6411072015762329, 0.1720980405807495, 0.9862961769104004, 0.624075710773468, -0.10438859462738037, 0.14515773952007294, 0.2967774569988251, 0.3157569169998169, 0.20262715220451355, 0.5961701273918152, 1.0671513080596924, -0.12263623625040054, 0.2999502420425415, 0.009765884838998318, -0.14724376797676086, -0.1834213137626648, -0.8030426502227783, -1.0423134565353394, -0.5364536046981812, -0.007347482722252607, -0.18672344088554382, -0.06574290245771408, 1.2617727518081665, 0.6217307448387146, -0.4916525185108185, -0.43089526891708374, -0.4041326642036438, -0.4760046601295471, -0.08835618197917938, -0.27032744884490967, 0.21104435622692108, -0.4417418837547302, -0.540232241153717, 0.25799718499183655, 0.10027854144573212, -0.131977841258049, -0.16115836799144745, 0.05898227170109749, -0.16034217178821564, -0.12239633500576019, 0.8563457727432251, 0.013478709384799004, -0.936561644077301, -0.325444757938385, -0.05561685934662819, -0.21941666305065155, 0.24053063988685608, 0.8600588440895081, -0.6282838582992554, 0.23195165395736694, 0.4833156168460846, 0.25126516819000244, 0.3915390074253082, 0.11346570402383804, 0.7289445996284485, -0.6950264573097229, 0.2560822665691376, 0.10911879688501358, 0.5601598024368286, 0.27445918321609497, -0.2924726903438568, 0.5924972891807556, 0.40222305059432983, -0.7231268882751465, -0.44917041063308716, 0.22027793526649475, -1.2333641052246094, 0.2748161554336548, 1.489173173904419, -0.23680678009986877, 0.028152231127023697, 0.04673837497830391, -0.4963071644306183, -0.07888760417699814, -0.5963699221611023, 0.683870792388916, 1.0369232892990112, -0.28907510638237, -0.11462827771902084, -0.6803364753723145, 0.3246375620365143, 0.6134413480758667, -0.7349572777748108, 0.12883107364177704, 0.5543708205223083, 0.24805045127868652, 0.124562568962574, 0.7174926996231079, 0.010300434194505215, 0.1954774409532547, -0.15445983409881592, -0.013168581761419773, 0.3168018162250519, 0.16903716325759888, -0.21257777512073517, 0.015130910091102123, 0.49983394145965576, 0.04804835468530655 ]
http://arxiv.org/abs/2406.11115v1
http://arxiv.org/pdf/2406.11115v1
Text Grafting: Near-Distribution Weak Supervision for Minority Classes in Text Classification
2024-06-17T00:23:08
2024-06-17T00:23:08
Letian Peng, Yi Gu, Chengyu Dong, Zihan Wang, Jingbo Shang
cs.CL
cs.CL
For extremely weak-supervised text classification, pioneer research generates pseudo labels by mining texts similar to the class names from the raw corpus, which may end up with very limited or even no samples for the minority classes. Recent works have started to generate the relevant texts by prompting LLMs using the class names or definitions; however, there is a high risk that LLMs cannot generate in-distribution (i.e., similar to the corpus where the text classifier will be applied) data, leading to ungeneralizable classifiers. In this paper, we combine the advantages of these two approaches and propose to bridge the gap via a novel framework, \emph{text grafting}, which aims to obtain clean and near-distribution weak supervision for minority classes. Specifically, we first use LLM-based logits to mine masked templates from the raw corpus, which have a high potential for data synthesis into the target minority class. Then, the templates are filled by state-of-the-art LLMs to synthesize near-distribution texts falling into minority classes. Text grafting shows significant improvement over direct mining or synthesis on minority classes. We also use analysis and case studies to comprehend the property of text grafting.
[ -0.049086082726716995, -0.588282585144043, 0.3081726133823395, 0.12518936395645142, -0.34741032123565674, 0.37434449791908264, -0.08040142059326172, -0.6181840300559998, 0.3345661461353302, 0.5878238081932068, -0.3324766159057617, -0.5917807221412659, -0.4037584960460663, 0.1025555357336998, -0.6698817610740662, 1.403469204902649, -0.10187053680419922, -0.20722530782222748, -0.20308464765548706, 0.006581539288163185, -0.21798297762870789, -0.8305240869522095, -0.2000885307788849, -0.05244133248925209, 0.2803131639957428, 0.4944849908351898, 0.38733938336372375, 0.6300546526908875, 0.46381691098213196, 0.2645084857940674, -0.18388527631759644, -0.0963495671749115, -0.5451881289482117, -0.02959418296813965, -0.097064308822155, -0.7221733331680298, -0.5009198784828186, 0.02550749108195305, 0.7057797908782959, 0.7675270438194275, 0.21132361888885498, 0.013071306981146336, 0.2723250687122345, 0.46776270866394043, -0.7961691617965698, -0.23863911628723145, -0.8580273985862732, 0.2982133626937866, -0.7544901967048645, -0.16930969059467316, -0.4555472135543823, -0.4468837082386017, 0.014359711669385433, -0.20385490357875824, 0.6076797842979431, -0.002013510325923562, 0.6217467784881592, -0.055303916335105896, -0.509662926197052, -0.16199246048927307, -0.7138587832450867, 0.8839439153671265, -0.5733762383460999, 0.11458957195281982, 0.44533470273017883, 0.15415869653224945, 0.14585722982883453, -0.9617992639541626, -0.26693183183670044, 0.168354332447052, -0.1732959747314453, 0.19700171053409576, 0.021026672795414925, 0.051981959491968155, 0.043764300644397736, 0.7543250918388367, -0.15263840556144714, 0.2066597044467926, -0.587354838848114, -0.3445728123188019, 0.4671400487422943, 0.16985099017620087, 0.19591481983661652, -0.04891526326537132, -0.7569115161895752, -0.0673588216304779, -0.6638164520263672, -0.3309440016746521, 0.6366984248161316, 0.4308379590511322, 0.03653210774064064, 0.6741926074028015, 0.1395171731710434, 0.7392712831497192, -0.125122532248497, -0.2682730257511139, 0.404704213142395, -0.5076668858528137, -0.2810937464237213, 0.20318929851055145, 0.692468523979187, 0.3754918575286865, 0.0031765492167323828, -0.10125035792589188, -0.3656265139579773, 0.06133311241865158, 0.1864621788263321, -0.8571884632110596, -0.1976032257080078, -0.19579967856407166, -0.7223643064498901, -0.7952852845191956, 0.09312405437231064, -1.0301843881607056, -0.3460882604122162, 0.016542620956897736, 0.17798691987991333, -0.047526922076940536, -0.19308921694755554, -0.11184442043304443, -0.21477335691452026, -0.021567460149526596, 0.2007591724395752, -1.1629223823547363, 0.26072973012924194, 0.32621821761131287, 0.9995387196540833, -0.5223528742790222, 0.036946918815374374, -0.23628076910972595, 0.4991365373134613, -0.22947043180465698, 0.7863785028457642, -0.371158242225647, -0.27460789680480957, 0.21419592201709747, -0.13850826025009155, 0.06269283592700958, -0.6839491724967957, 0.7054183483123779, -0.2383769154548645, 0.21564076840877533, 0.25651833415031433, -0.6457080245018005, 0.2145366221666336, 0.1957351416349411, -0.48555782437324524, 1.13319730758667, 0.3781660199165344, -1.1124452352523804, 0.4677734971046448, -0.20653969049453735, -0.5540019869804382, 0.08410319685935974, 0.09303032606840134, -0.8275452256202698, -0.09493677318096161, -0.07617493718862534, 0.7398709654808044, 0.11103059351444244, 0.24834828078746796, -0.6562401056289673, -0.525364875793457, 0.11860723048448563, -0.408383309841156, 0.7321919798851013, 0.17559406161308289, -0.324817419052124, -0.13068139553070068, -0.519374668598175, -0.26426589488983154, -0.05954517796635628, -0.28239622712135315, -0.6445648074150085, -0.18421617150306702, 0.4896466135978699, 0.039418987929821014, 0.13713958859443665, -0.4553898870944977, 0.3588048815727234, -0.5216461420059204, 0.22127944231033325, 1.0018669366836548, -0.12461230158805847, 0.8645485639572144, -0.4046614468097687, 0.414726585149765, -0.15219666063785553, 0.09823022037744522, -0.2160223126411438, -0.4297427535057068, -0.7012572288513184, -0.4808136224746704, 0.4859105348587036, 0.7169219851493835, -0.7032297849655151, 0.47702309489250183, 0.055329740047454834, -0.510822057723999, -0.4392727017402649, 0.4764254093170166, 0.42221570014953613, 0.4305212199687958, 0.4062716066837311, -0.34249404072761536, -0.6634277105331421, -0.819808840751648, -0.3789941668510437, -0.23310580849647522, 0.030523505061864853, -0.03790202736854553, 0.3435153663158417, -0.3901936411857605, 0.8088220357894897, -0.651431143283844, -1.0497034788131714, -0.33779045939445496, -0.13126660883426666, -0.03952869400382042, 0.5052538514137268, 0.6613141298294067, -0.8945949077606201, -0.6606112122535706, -0.22152067720890045, -0.7335102558135986, -0.18406683206558228, -0.18469254672527313, -0.08415975421667099, 0.09876317530870438, 1.0834484100341797, -0.12048980593681335, 0.49036705493927, 0.3789225220680237, -0.15874002873897552, 0.43000856041908264, 0.11773177981376648, -0.18716351687908173, -1.2016700506210327, -0.09731843322515488, -0.07854434847831726, -0.340181440114975, -0.6378621459007263, -0.20513224601745605, -0.0069631170481443405, -0.06929779052734375, -0.6143061518669128, 0.6812893748283386, -0.5375173687934875, 0.20394542813301086, -0.39149564504623413, -0.0737529769539833, -0.37187808752059937, 0.3120885491371155, -0.1646634340286255, 0.3167504370212555, 0.5786924958229065, -0.4691716432571411, 0.2898287773132324, 0.21460393071174622, -0.24230772256851196, 0.6211516261100769, -0.286180704832077, -0.029796132817864418, -0.0723523274064064, 0.5305983424186707, -0.6881716847419739, -0.09290952980518341, 0.3415903151035309, -0.1743815839290619, 0.48869001865386963, -0.46775978803634644, -0.5554607510566711, -0.260416179895401, -0.5214435458183289, 0.6681929230690002, 0.6575824618339539, -0.601852297782898, 0.3696814179420471, 0.4831008017063141, -0.21061775088310242, -0.5493459105491638, -1.0253946781158447, 0.08184440433979034, -0.46291738748550415, -0.18400147557258606, 0.5722559094429016, -0.10475821793079376, -0.16167166829109192, 0.23172339797019958, -0.053479764610528946, -0.15464092791080475, 0.13150137662887573, 0.23306268453598022, 0.31170955300331116, 0.009037131443619728, 0.20265524089336395, 0.4813113212585449, -0.033867474645376205, -0.22931373119354248, -0.4113506078720093, 0.09330831468105316, 0.13420195877552032, -0.39489278197288513, -0.25404635071754456, 0.2599267065525055, 0.1172950491309166, 0.19293589890003204, 0.6625979542732239, 0.5157734751701355, -0.28691694140434265, -0.5708758234977722, -0.3270339071750641, -0.2827419638633728, -0.48616936802864075, 0.21606631577014923, -0.14902682602405548, -0.9739951491355896, 0.00968975480645895, -0.24149680137634277, 0.2850937247276306, 0.35383257269859314, 0.6817922592163086, -0.3699648976325989, 0.6546919941902161, 0.8987059593200684, -0.21309135854244232, 0.7851232290267944, -0.0912066176533699, -0.09393583238124847, -0.3502900004386902, -0.2600954473018646, -0.5163549780845642, -0.39032459259033203, -0.5514023303985596, -0.5333880186080933, 0.0923072099685669, 0.061696309596300125, 0.4426387548446655, 0.1932583749294281, -0.593447208404541, 0.5357452630996704, 0.5733357071876526, 0.08154855668544769, 0.3381476402282715, 0.37333372235298157, -0.08151553571224213, -0.12320412695407867, -0.5058773756027222, -0.6894694566726685, 1.3469868898391724, 0.18861031532287598, 0.7348748445510864, -0.07105846703052521, 1.1112420558929443, 0.5345718264579773, 0.8847485780715942, -0.6836048364639282, 0.4774142801761627, -0.39818671345710754, -0.7425394058227539, -0.013738010078668594, -0.587414026260376, -0.911037266254425, 0.35430431365966797, -0.5661861300468445, -0.5377731919288635, 0.11247504502534866, 0.4156508445739746, 0.4565232992172241, 0.8460347652435303, -0.8752703070640564, 0.6553717851638794, 0.17751529812812805, -0.19301263988018036, 0.13469447195529938, -0.6389036178588867, 0.5853515267372131, -0.4747127592563629, 0.31173673272132874, 0.10441502928733826, -0.05658707767724991, 0.8854438066482544, -0.33875077962875366, 1.2816323041915894, -0.10123448073863983, -0.16104018688201904, 0.41189253330230713, -0.0505964420735836, 0.4134315550327301, -0.15148480236530304, 0.010134279727935791, -0.05643982067704201, -0.32621267437934875, -0.6763644814491272, -0.365836501121521, 0.6438711285591125, -0.3996633291244507, -0.4035234749317169, -0.480165034532547, -0.21987897157669067, -0.1584828644990921, 0.38811641931533813, 0.45071083307266235, 0.24822445213794708, -0.41806986927986145, -0.00024880885030142963, 0.7240922451019287, 0.11186717450618744, 0.40853843092918396, 0.107626773416996, -0.05468393489718437, -0.35608550906181335, 1.2298344373703003, -0.12446542084217072, 0.2648927569389343, 0.6409895420074463, -0.013180217705667019, -0.246015265583992, -0.786022424697876, -0.3644089102745056, 0.16742771863937378, -0.7442795038223267, -0.4027402997016907, -0.6932393312454224, -0.1905837506055832, -0.23473361134529114, -0.5239771008491516, -0.20049065351486206, -0.48006004095077515, -0.6490362882614136, -0.3018267750740051, 0.042157404124736786, 0.7149916887283325, -0.04393581300973892, 0.33823972940444946, -0.8077871203422546, 0.3344345688819885, 0.32857266068458557, 0.40295153856277466, 0.005849551875144243, -0.37901005148887634, -0.24045208096504211, -0.17241989076137543, -0.4888004958629608, -1.061978816986084, 0.18611682951450348, -0.0013794713886454701, 0.4040619730949402, 0.3703804910182953, 0.3015640676021576, 0.3543148636817932, -0.4457172155380249, 0.44318991899490356, 0.49485069513320923, -0.9206274747848511, 0.4151391386985779, -0.1561627835035324, -0.15243659913539886, 0.7480409145355225, 0.21447929739952087, -0.24644294381141663, -1.1373189687728882, -0.6950101852416992, -1.029115080833435, 0.7820002436637878, 0.49469026923179626, 0.37130430340766907, 0.11601974070072174, 0.16523568332195282, 0.2073879837989807, 0.026548899710178375, -1.0344785451889038, -0.4222659170627594, -0.40317094326019287, -0.6154776811599731, -0.1608196496963501, -0.28996485471725464, -0.06810050457715988, -0.04201747104525566, 0.6606103777885437, -0.14115439355373383, 0.07402189075946808, 0.057673074305057526, -0.35602644085884094, 0.07862631231546402, 0.3014727830886841, 0.35886362195014954, 0.19637593626976013, -0.2720184028148651, 0.49748870730400085, 0.24943411350250244, -0.6254897713661194, 0.28103315830230713, 0.050340697169303894, -0.5140284299850464, 0.09520427882671356, 0.5093116760253906, 0.503591001033783, -0.02911040559411049, -0.5108477473258972, 0.7483359575271606, 0.09553685039281845, -0.3495974838733673, -0.08250265568494797, 0.028865300118923187, -0.02407979406416416, -0.010688330046832561, 0.5203087329864502, 0.3368631899356842, 0.12430596351623535, -0.5530024766921997, 0.26296019554138184, 0.3696441352367401, -0.7340908050537109, -0.39539724588394165, 0.5983144044876099, 0.37525561451911926, -0.08979415148496628, 0.38638779520988464, -0.19103661179542542, -0.4445289671421051, 0.5104199051856995, 0.6991814970970154, 0.7324246764183044, -0.034168414771556854, 0.19528445601463318, 0.1395895779132843, 0.3815169036388397, -0.16950179636478424, -0.1797475665807724, -0.14073927700519562, -0.4513600468635559, -0.3102587163448334, -0.6205248236656189, -0.3307020664215088, -0.1202884241938591, -0.4207518994808197, 0.48248082399368286, -0.4142330586910248, -0.08418256044387817, -0.23939065635204315, -0.3511837422847748, -0.2073899656534195, 0.24023641645908356, -0.014909520745277405, 0.6403778791427612, -1.1858699321746826, 0.6421734690666199, 0.9119484424591064, -0.09195318818092346, -0.30771976709365845, 0.21642525494098663, -0.06358575075864792, -0.49137255549430847, 0.36525896191596985, 0.2286481261253357, 0.21878528594970703, -0.10937947779893875, -0.5125304460525513, -0.2653111517429352, 0.8072668313980103, 0.406402051448822, -0.48781827092170715, 0.062134698033332825, 0.061535775661468506, 0.5660129189491272, 0.03227521851658821, 0.08364175260066986, 0.05043649673461914, 0.331192284822464, 0.0775381326675415, -0.624336302280426, 0.1870902180671692, -0.17263320088386536, -0.2189992517232895, 0.47497326135635376, -0.6272422075271606, 0.5238174200057983, -0.20431898534297943, -0.2737121284008026, 0.08040482550859451, 0.8167097568511963, 0.156956747174263, 0.6799163818359375, 0.5519200563430786, 0.5354596376419067, 0.746558427810669, 0.05751410499215126, 0.8253385424613953, 0.3133896291255951, 0.3289423882961273, 0.8783353567123413, 0.012046614661812782, 0.5157581567764282, 0.4408896863460541, -0.2728768289089203, 0.6141955256462097, 0.5449525117874146, -0.23593731224536896, 0.5641237497329712, 0.3276920020580292, -0.5006961226463318, -0.012913160026073456, -0.1971013993024826, -0.4857768714427948, 0.14493174850940704, 0.09221246838569641, -0.45826223492622375, -0.13902446627616882, 0.021061543375253677, 0.012175234965980053, 0.2564102113246918, -0.33680248260498047, 0.7783336043357849, 0.39051389694213867, -0.13248984515666962, 0.2956234812736511, 0.3014468252658844, 1.0956389904022217, -0.408182829618454, 0.0007753102690912783, -0.3616955578327179, 0.24822275340557098, -0.4721244275569916, -0.6620931625366211, 0.4462641179561615, 0.08775880187749863, -0.34805828332901, -0.6645048260688782, 1.0517704486846924, -0.49068304896354675, -0.545289933681488, 0.2548036575317383, 0.4687005579471588, 0.2730356454849243, 0.2555876076221466, -0.5126237869262695, -0.30837783217430115, 0.16464978456497192, 0.012724007479846478, 0.7640697956085205, 0.46055302023887634, -0.38767296075820923, 0.4675918221473694, 0.721892774105072, 0.24716120958328247, 0.1175706759095192, -0.09529726952314377, 0.9293371438980103, -0.7579795718193054, -0.4628514051437378, -1.014533281326294, 0.11875106394290924, -0.07438180595636368, -0.22177989780902863, 0.7709463834762573, 0.761435866355896, 0.8863614797592163, -0.11101191490888596, 0.8878482580184937, -0.0023211264051496983, 0.3597950339317322, -0.44377055764198303, 0.6772944927215576, -0.6403860449790955, 0.14605021476745605, -0.7662737369537354, -1.151141881942749, -0.4386717975139618, 0.28080227971076965, 0.22636081278324127, -0.11192850768566132, 0.6245683431625366, 0.5130301117897034, -0.41953402757644653, -0.2518901824951172, 0.14310476183891296, 0.021055161952972412, 0.17387495934963226, 0.5448442101478577, 0.887181282043457, -0.18174849450588226, 1.09489905834198, -0.2307228296995163, -0.264748752117157, -0.19853712618350983, -0.8226398825645447, -1.2733080387115479, -0.42933976650238037, -0.2576238214969635, -0.36306360363960266, -0.06962047517299652, 0.30903947353363037, 0.6876559853553772, -0.6505347490310669, -0.05664389207959175, -0.21165333688259125, 0.5758369565010071, -0.010469942353665829, -0.33967113494873047, 0.4826548993587494, -0.2229584902524948, -0.9392926692962646, 0.19487588107585907, 0.13217921555042267, 0.6471166610717773, -0.0756983757019043, 0.1929764449596405, 0.06988142430782318, -0.2108079195022583, 0.4153856039047241, 0.16839377582073212, -0.1170772984623909, 0.32965826988220215, -0.3959493041038513, -0.3200933039188385, -0.12532170116901398, 1.0397228002548218, -0.7296814918518066, 0.277029812335968, 0.36191606521606445, 0.6544060111045837, 0.812868595123291, -0.030315065756440163, 0.40217843651771545, -1.159277319908142, 0.39664068818092346, 0.517250657081604, 0.0577523410320282, 0.5260922312736511, -0.17412926256656647, 0.3455222249031067, 0.8179352283477783, -0.010157405398786068, -1.2799129486083984, 0.28724896907806396, -0.8616829514503479, -0.5029415488243103, 1.1070919036865234, -0.10566063225269318, -0.032671041786670685, -0.4334174692630768, -0.2630532383918762, 0.30923986434936523, -0.34364351630210876, 0.5746176242828369, 0.35642537474632263, 0.2725526690483093, 0.11593957990407944, -0.21007859706878662, 0.5694560408592224, 0.5538961887359619, -0.9470590353012085, -0.0855417549610138, 0.21300958096981049, 0.25416722893714905, -0.037384312599897385, 0.9579304456710815, -0.20274190604686737, -0.14517536759376526, -0.22744834423065186, -0.028363538905978203, 0.13166970014572144, -0.12739050388336182, 0.020266959443688393, 0.42019933462142944, -0.15996651351451874, 0.05149059370160103 ]
http://arxiv.org/abs/2406.11109v2
http://arxiv.org/pdf/2406.11109v2
Investigating Annotator Bias in Large Language Models for Hate Speech Detection
2024-06-17T00:18:31
2024-06-18T06:21:16
Amit Das, Zheng Zhang, Fatemeh Jamshidi, Vinija Jain, Aman Chadha, Nilanjana Raychawdhary, Mary Sandage, Lauramarie Pope, Gerry Dozier, Cheryl Seals
cs.CL
cs.CL, cs.AI, cs.LG
Data annotation, the practice of assigning descriptive labels to raw data, is pivotal in optimizing the performance of machine learning models. However, it is a resource-intensive process susceptible to biases introduced by annotators. The emergence of sophisticated Large Language Models (LLMs), like ChatGPT presents a unique opportunity to modernize and streamline this complex procedure. While existing research extensively evaluates the efficacy of LLMs, as annotators, this paper delves into the biases present in LLMs, specifically GPT 3.5 and GPT 4o when annotating hate speech data. Our research contributes to understanding biases in four key categories: gender, race, religion, and disability. Specifically targeting highly vulnerable groups within these categories, we analyze annotator biases. Furthermore, we conduct a comprehensive examination of potential factors contributing to these biases by scrutinizing the annotated data. We introduce our custom hate speech detection dataset, HateSpeechCorpus, to conduct this research. Additionally, we perform the same experiments on the ETHOS (Mollas et al., 2022) dataset also for comparative analysis. This paper serves as a crucial resource, guiding researchers and practitioners in harnessing the potential of LLMs for dataannotation, thereby fostering advancements in this critical field. The HateSpeechCorpus dataset is available here: https://github.com/AmitDasRup123/HateSpeechCorpus
[ -0.5684788227081299, -0.8388491272926331, 0.1359139233827591, -0.06758614629507065, -0.16343462467193604, 0.15627282857894897, -0.29257088899612427, -0.6949971914291382, 0.144029438495636, 0.5964358448982239, -0.3343837261199951, -0.3324962258338928, -0.9046737551689148, 0.003226564032956958, -0.33982518315315247, 1.541418194770813, 0.08232592046260834, 0.09134510159492493, 0.14008182287216187, -0.2893303632736206, -0.3145509958267212, -0.8934127688407898, -0.6795822978019714, -0.33462807536125183, 0.6680654287338257, -0.014819847419857979, 0.7938590049743652, 0.48476871848106384, 0.2859809696674347, 0.18731284141540527, -0.3284516930580139, -0.20029670000076294, -0.5939471125602722, 0.3271920084953308, 0.07466347515583038, -0.31882646679878235, -0.1897391378879547, 0.09571206569671631, 0.3518727421760559, 0.3696877062320709, 0.15118005871772766, 0.25648871064186096, -0.043522559106349945, 0.09669867157936096, -0.5706022381782532, 0.23581083118915558, -0.9849829077720642, 0.2201329618692398, -0.642245352268219, -0.024421142414212227, -0.25064876675605774, -0.4643109440803528, 0.1414089798927307, -0.4676377475261688, 0.4366743862628937, 0.09746986627578735, 0.47731879353523254, 0.3953301012516022, -0.26484355330467224, -0.3568572402000427, -0.6119616627693176, 0.6949661374092102, -0.5573330521583557, 0.34083420038223267, 0.4601425528526306, 0.19095809757709503, -0.0464768148958683, -0.1700577586889267, -0.7136488556861877, -0.3337087333202362, 0.10589557141065598, -0.15853214263916016, -0.31231755018234253, 0.06791635602712631, 0.6250857710838318, 0.3267931342124939, -0.3511715829372406, 0.6097807288169861, -0.43811583518981934, -0.436799019575119, 0.6063236594200134, -0.04836561158299446, 0.300583153963089, -0.2060890942811966, -0.27285036444664, 0.19914385676383972, -0.6424345374107361, -0.4234885573387146, 0.7217473983764648, 0.4427166283130646, 0.014217344112694263, 0.5669857263565063, 0.008730607107281685, 0.5031382441520691, -0.25963592529296875, 0.12598982453346252, 0.47044411301612854, 0.19318757951259613, -0.04126673564314842, 0.19754397869110107, 0.8701147437095642, 0.42850956320762634, 0.792356550693512, -0.15813048183918, -0.16010649502277374, 0.21386070549488068, 0.30041375756263733, -0.6346941590309143, -0.2724868357181549, 0.034278951585292816, -0.09955470263957977, -0.46157950162887573, -0.5992214679718018, -0.9227649569511414, -0.9742063879966736, -0.24116066098213196, 0.1874188780784607, -0.3735111355781555, -0.29368630051612854, -0.45622509717941284, -0.09187185019254684, 0.07133425027132034, 0.24356795847415924, -0.9576399326324463, 0.1835804283618927, 0.666262686252594, 0.816451370716095, -0.4009462594985962, -0.16302534937858582, -0.6421614289283752, 0.035427525639534, -0.150553360581398, 0.6792368292808533, -0.7516860961914062, -0.2611161172389984, 0.216446653008461, -0.3813815414905548, 0.12347882241010666, -0.7094680666923523, 0.7937260866165161, -0.5704395174980164, 0.018889958038926125, -0.2324565052986145, -0.5322323441505432, -0.142791748046875, 0.27614983916282654, -0.6272813081741333, 1.0179667472839355, 0.09099185466766357, -1.0312379598617554, 0.6275191903114319, -0.8208060264587402, -0.22588960826396942, 0.2524685859680176, -0.36888593435287476, -0.7111436128616333, -0.03753386065363884, 0.2264707386493683, 0.37227511405944824, -0.15268531441688538, 0.2722269594669342, -0.5776094198226929, -0.19398239254951477, 0.36524999141693115, -0.37420693039894104, 0.7195791006088257, 0.23870857059955597, -0.541227400302887, 0.24120867252349854, -0.5735065340995789, -0.5780980587005615, 0.311447411775589, -0.009040160104632378, -0.43306460976600647, -0.05103069543838501, 0.38918930292129517, 0.3054409921169281, -0.27579838037490845, -0.7910032868385315, -0.09539814293384552, -0.05182300880551338, 0.4096887409687042, 1.07562255859375, -0.21763348579406738, 0.06276720762252808, -0.10929565131664276, 0.6753525733947754, 0.026827458292245865, 0.18073873221874237, 0.0911596417427063, -0.4869518578052521, -0.49787425994873047, -0.36930471658706665, 0.13407176733016968, 0.3814222514629364, -0.45695847272872925, -0.0897052064538002, -0.05147583410143852, -0.40551993250846863, -0.5132887959480286, -0.01577574573457241, 0.21403208374977112, 0.468666136264801, 0.4192383289337158, -0.06665495038032532, -0.773949384689331, -1.1924906969070435, -0.4212345480918884, -0.11737954616546631, 0.025105716660618782, 0.27312394976615906, 0.5803154110908508, -0.07723170518875122, 0.8825051784515381, -0.2866653501987457, -0.438228577375412, -0.23550434410572052, 0.11731112748384476, -0.19070826470851898, 0.2389962077140808, 0.5326622128486633, -0.8986063003540039, -0.39013436436653137, -0.21355648338794708, -0.33018696308135986, -0.5206382870674133, 0.13516072928905487, 0.0866439938545227, 0.3372645378112793, 0.31332412362098694, -0.28130823373794556, 0.4284360110759735, 0.6314221024513245, -0.2538312077522278, 0.6709147691726685, 0.6181582808494568, 0.07266969233751297, -0.7360938191413879, -0.13415485620498657, 0.2244204729795456, -0.1260215938091278, -0.7763784527778625, -0.22561043500900269, -0.4051326811313629, 0.06057120859622955, -0.4279997646808624, 0.2694951295852661, -0.08424241095781326, -0.0071067288517951965, -0.28605929017066956, 0.233623206615448, -0.5515942573547363, 0.27601030468940735, 0.08115987479686737, 0.745190441608429, 0.2404295802116394, -0.28623566031455994, 0.229050412774086, 0.2833924889564514, -0.18268325924873352, 0.5497897267341614, -0.4463198482990265, 0.18155011534690857, -0.08672135323286057, 0.3660130202770233, -0.9635213613510132, -0.1480778455734253, 0.5813259482383728, -0.4458565413951874, 0.0040199244394898415, -0.5810784697532654, -0.6807150840759277, -0.35209357738494873, -0.2885048985481262, 0.42133575677871704, 0.2752479314804077, -0.4500272870063782, 0.35183846950531006, 0.9244557023048401, -0.1823192685842514, -0.4720389246940613, -0.8441560864448547, 0.08521753549575806, -0.6227729916572571, -0.21214492619037628, 0.005049249157309532, 0.0780750960111618, -0.42247655987739563, -0.3081373870372772, 0.08389781415462494, -0.11420534551143646, 0.04450837895274162, 0.5104190111160278, 0.24910324811935425, 0.08603569120168686, 0.11902987211942673, -0.29298171401023865, -0.038495615124702454, 0.3022972643375397, -0.024885106831789017, 0.6617297530174255, 0.17043757438659668, -0.22584128379821777, -0.04909811541438103, 0.10991537570953369, 0.4293075203895569, -0.1282115876674652, 0.6615736484527588, 0.8567146062850952, -0.3317793011665344, -0.03701815754175186, -0.8344404697418213, 0.04654451087117195, -0.3627692461013794, 0.5110130310058594, -0.1278681606054306, -1.3325445652008057, 0.6504532098770142, 0.41218072175979614, 0.15886190533638, 0.39748048782348633, 0.7756946086883545, 0.32184261083602905, 0.829193115234375, 0.2590583264827728, -0.36481326818466187, 0.5499856472015381, 0.038634467869997025, 0.2941642105579376, -0.8990022540092468, -0.11386854946613312, -0.585218071937561, -0.06420904397964478, -0.8344746232032776, -0.5099349617958069, 0.2801631987094879, -0.44980186223983765, -0.29988402128219604, -0.04359300062060356, -0.5919087529182434, 0.45725059509277344, 0.3432645797729492, -0.22833603620529175, 0.13540025055408478, 0.1453891545534134, 0.22317130863666534, -0.39822307229042053, -0.47579291462898254, -0.5551117658615112, 1.2201956510543823, 0.6472712755203247, 0.3394116759300232, 0.0013637510128319263, 0.47229117155075073, 0.38729506731033325, 0.6595168113708496, -0.7355806231498718, 0.36365336179733276, 0.03263905644416809, -0.9659632444381714, -0.12030324339866638, -0.4173141121864319, -0.6238335967063904, 0.4620794653892517, -0.10188539326190948, -1.02016019821167, 0.09927263110876083, 0.33586791157722473, -0.2331729233264923, 0.6868297457695007, -0.5927855372428894, 0.8246616125106812, 0.022644151002168655, -0.4122943878173828, 0.018112802878022194, -0.2057599425315857, 0.5398203730583191, -0.3642210364341736, 0.4058501720428467, -0.4561866819858551, 0.02131984755396843, 1.0786172151565552, -0.23695823550224304, 1.0730254650115967, -0.42912283539772034, -0.3245534300804138, 0.1837538480758667, 0.06005008518695831, 0.5338872671127319, -0.2565072476863861, -0.26917871832847595, 0.517380952835083, -0.35546547174453735, -0.2397039383649826, -0.12679049372673035, 0.624963641166687, -0.6270515322685242, -0.40369725227355957, -0.552513062953949, -0.6197251677513123, -0.29063016176223755, 0.043227411806583405, 0.15723563730716705, 0.0854765921831131, -0.1464010328054428, -0.17063719034194946, 0.5538154244422913, -0.3463509678840637, 0.18473581969738007, 0.4166451692581177, -0.351433664560318, -0.29381898045539856, 0.8625284433364868, 0.5007554292678833, 0.26357078552246094, -0.08124233782291412, 0.10609780251979828, -0.1316341757774353, -0.8096796274185181, -0.37773165106773376, 0.0776592493057251, -0.5125665664672852, -0.0852101743221283, -0.8612477779388428, -0.23420219123363495, -0.3882855474948883, 0.09812972694635391, -0.34526339173316956, -0.3051441013813019, -0.06261160224676132, -0.20738756656646729, 0.5820382237434387, 0.7571752667427063, -0.07234454900026321, 0.48194605112075806, -0.06756655126810074, 0.23924775421619415, 0.05253678187727928, 0.43866434693336487, -0.004220681730657816, -0.7257505655288696, -0.2316998839378357, -0.060292087495326996, -0.3015792965888977, -0.8033027648925781, 0.2564542293548584, -0.32542890310287476, 0.3234914243221283, 0.12027287483215332, 0.021184280514717102, 0.4717617928981781, -0.5244770646095276, 0.8408927917480469, -0.09303013980388641, -0.7637777924537659, 0.40721607208251953, -0.5900236964225769, -0.077082559466362, 0.4221403896808624, 0.5503972768783569, -0.7334563732147217, -0.6308718323707581, -0.6102977395057678, -0.929695725440979, 0.7845432758331299, 0.3942899703979492, 0.1282580941915512, -0.12220636755228043, 0.12515054643154144, 0.3035881817340851, 0.14115683734416962, -0.8961067199707031, -0.5451160073280334, -0.14766615629196167, 0.031207581982016563, 0.02009444497525692, -0.6286715865135193, -0.16423362493515015, -0.0537443682551384, 0.806343674659729, 0.030098089948296547, 0.08716752380132675, -0.12912487983703613, -0.18091915547847748, 0.038293808698654175, 0.3784608244895935, 0.5090683698654175, 0.5725469589233398, -0.09310586750507355, 0.05281241983175278, 0.38153180480003357, -0.6142885684967041, -0.06462427228689194, 0.4516142010688782, -0.33334365487098694, 0.06303215771913528, 0.3085477352142334, 0.9240310788154602, -0.07905812561511993, -0.5297117233276367, 0.5162842273712158, 0.17542442679405212, -0.08726775646209717, -0.6534756422042847, -0.02133289724588394, -0.2665368318557739, 0.20745159685611725, 0.3395195007324219, -0.19235020875930786, 0.23516899347305298, -0.05558865889906883, 0.1367262303829193, 0.43182963132858276, -0.4689040780067444, -0.3090636730194092, 0.6890981793403625, 0.1312588006258011, -0.172006756067276, 0.35929974913597107, -0.029542721807956696, -0.8252646923065186, 0.34195128083229065, 0.43917545676231384, 0.8677105903625488, -0.4546528458595276, 0.20154674351215363, 0.22718913853168488, 0.44259148836135864, 0.3862484395503998, -0.15459096431732178, -0.0894056111574173, -0.743332028388977, -0.517112672328949, -0.6807823181152344, -0.5146851539611816, 0.5422240495681763, -0.4575219750404358, 0.12983918190002441, -0.3900465667247772, -0.10317958891391754, 0.3359847068786621, -0.1476624608039856, -0.6063570976257324, 0.07797443866729736, 0.7489659786224365, 0.607327401638031, -1.045400619506836, 0.5222162008285522, 0.3785431683063507, -0.3380219042301178, -0.4883935749530792, 0.09178749471902847, 0.4571300446987152, -1.049149751663208, 0.7983739376068115, 0.18454457819461823, 0.08244871348142624, -0.25271883606910706, -0.4279235303401947, -0.5351362824440002, 0.33505308628082275, 0.3277701139450073, -0.7104637026786804, 0.3225324749946594, 0.6414425373077393, 0.6306552290916443, -0.2597455084323883, 0.44178852438926697, 0.7667340040206909, 0.41835373640060425, -0.1270834356546402, -0.9525796175003052, 0.031892385333776474, 0.02062378078699112, 0.038804277777671814, 0.27213481068611145, -0.5877480506896973, 0.5490049719810486, 0.05792924389243126, 0.19711142778396606, -0.47042393684387207, 0.33654463291168213, 0.2632664442062378, 0.2585172951221466, 0.6422091126441956, 0.5202680826187134, 0.6002349257469177, -0.07869857549667358, 0.941108763217926, 0.22395266592502594, 0.22333011031150818, 1.313339352607727, -0.24500758945941925, 0.5325654149055481, 0.4676373302936554, -0.2811255156993866, 0.1481163054704666, 0.5479416847229004, -0.1339869499206543, 0.03435477614402771, 0.7165299654006958, -0.4422558844089508, 0.009312313981354237, -0.46361106634140015, -0.21784833073616028, 0.5255714654922485, 0.3819148540496826, -0.5811191201210022, -0.16584818065166473, 0.15248167514801025, 0.47892919182777405, -0.12690582871437073, -0.22610989212989807, 0.6909360289573669, -0.1046828180551529, -0.22896723449230194, 0.43204933404922485, -0.28769028186798096, 0.8315987586975098, -0.46762996912002563, 0.14539338648319244, -0.07192139327526093, -0.03135944530367851, -0.33907952904701233, -0.8317288160324097, 0.43342047929763794, 0.4871689975261688, -0.0992777869105339, -0.027594828978180885, 0.4059636890888214, -0.3536086082458496, -0.22702091932296753, 0.3396710157394409, 0.0636233314871788, 0.28860709071159363, -0.41406068205833435, -0.7428768873214722, 0.6893858909606934, 0.23747318983078003, -0.35747194290161133, 0.3097917139530182, 0.3545854389667511, -0.21540631353855133, 0.6144486665725708, 0.5819541811943054, 0.31981512904167175, 0.23739904165267944, 0.3048858344554901, 0.9144944548606873, -0.552769124507904, -0.245231494307518, -1.1525602340698242, 0.1840936839580536, -0.1540585309267044, -0.4234902858734131, 0.8657369017601013, 0.8761847615242004, 1.0226633548736572, 0.2770703434944153, 1.1840064525604248, 0.024752750992774963, 0.8237736225128174, -0.17318305373191833, 0.6311671733856201, -0.06648877263069153, 0.2406018078327179, -0.5386218428611755, -0.8267202377319336, -0.5385681390762329, 0.4798113703727722, -0.8452131748199463, 0.11493393033742905, 0.19741719961166382, 0.8112382292747498, -0.07146686315536499, 0.3193511366844177, 0.24620945751667023, 0.5516053438186646, 0.7112339735031128, 0.1450808048248291, 0.9098379611968994, -0.251120388507843, 0.624415397644043, -0.291445255279541, -0.1270182579755783, -0.1905783861875534, -0.6696110963821411, -0.9178748726844788, -0.4437378942966461, -0.590700089931488, -0.3856760263442993, 0.1780998855829239, 0.9969897866249084, 0.5417196750640869, -0.9125864505767822, -0.06613314896821976, 0.21586866676807404, 0.03355097770690918, 0.3642885088920593, -0.2867596447467804, 0.2902732193470001, -0.19703646004199982, -0.7761402130126953, -0.12561096251010895, 0.09426116198301315, -0.08642854541540146, -0.22732457518577576, 0.06602957844734192, -0.06725655496120453, -0.1687277853488922, 0.6519209742546082, 0.2516809105873108, -0.8655098080635071, -0.42611604928970337, -0.7354568243026733, 0.1729835569858551, 0.045565277338027954, 0.8131213188171387, -0.6815229058265686, 0.33867788314819336, -0.05988309532403946, 0.7159643173217773, 0.49324673414230347, -0.2591962218284607, 0.330859899520874, -0.5160168409347534, 0.1637962907552719, 0.3875817060470581, 0.23210206627845764, 0.6070401072502136, -0.2327338308095932, 0.5682553052902222, 0.28550994396209717, -0.6646254062652588, -1.0708343982696533, 0.2171674221754074, -0.722802460193634, 0.10407952219247818, 1.3456369638442993, 0.15400874614715576, -0.10271156579256058, -0.278510719537735, -0.46327340602874756, 0.3306716978549957, -0.6394548416137695, 0.8036445379257202, 0.7558562159538269, -0.17137962579727173, -0.19700036942958832, -0.9158899188041687, 0.7500953674316406, 0.32795411348342896, -0.5392930507659912, 0.579849362373352, 0.6853824257850647, 0.38009944558143616, 0.06756848841905594, 0.5449778437614441, -0.12243381887674332, -0.026770323514938354, -0.1399565488100052, 0.27321380376815796, -0.055832937359809875, 0.23552273213863373, -0.4278012216091156, 0.11138202250003815, 0.07013218849897385, -0.13641996681690216 ]
http://arxiv.org/abs/2406.11107v1
http://arxiv.org/pdf/2406.11107v1
Exploring Safety-Utility Trade-Offs in Personalized Language Models
2024-06-17T00:17:11
2024-06-17T00:17:11
Anvesh Rao Vijjini, Somnath Basu Roy Chowdhury, Snigdha Chaturvedi
cs.CL
cs.CL
As large language models (LLMs) become increasingly integrated into daily applications, it is essential to ensure they operate fairly across diverse user demographics. In this work, we show that LLMs suffer from personalization bias, where their performance is impacted when they are personalized to a user's identity. We quantify personalization bias by evaluating the performance of LLMs along two axes - safety and utility. We measure safety by examining how benign LLM responses are to unsafe prompts with and without personalization. We measure utility by evaluating the LLM's performance on various tasks, including general knowledge, mathematical abilities, programming, and reasoning skills. We find that various LLMs, ranging from open-source models like Llama (Touvron et al., 2023) and Mistral (Jiang et al., 2023) to API-based ones like GPT-3.5 and GPT-4o (Ouyang et al., 2022), exhibit significant variance in performance in terms of safety-utility trade-offs depending on the user's identity. Finally, we discuss several strategies to mitigate personalization bias using preference tuning and prompt-based defenses.
[ -0.2061571627855301, -0.6045252084732056, 0.7141956090927124, 0.0816085934638977, 0.06289374828338623, 0.14981213212013245, -0.18850134313106537, -0.44389548897743225, -0.2125658392906189, 0.7500206232070923, -0.3118106424808502, -0.573261559009552, -0.5827793478965759, 0.0037584626115858555, -0.03591223433613777, 1.0739229917526245, 0.23872099816799164, -0.16757383942604065, -0.1893661767244339, 0.13017547130584717, -0.6492262482643127, -0.858279824256897, -0.6358006000518799, -0.2480737268924713, 0.6119163632392883, 0.2341124713420868, 0.8752426505088806, 0.637278139591217, 0.2971740663051605, 0.318804532289505, -0.245977520942688, -0.4678579270839691, -0.3757477402687073, 0.3389519155025482, -0.22973889112472534, -0.3766741156578064, -0.6009912490844727, 0.010103760287165642, 0.3965047299861908, 0.6364313364028931, 0.13354921340942383, 0.07314451783895493, 0.1263362169265747, 0.4667224586009979, -0.6585640907287598, 0.10042533278465271, -0.711273193359375, -0.1314721405506134, -0.31001585721969604, -0.18193800747394562, -0.5400223135948181, -0.701850414276123, 0.2787063717842102, -0.44415318965911865, -0.05442003160715103, 0.11668190360069275, 0.4765738546848297, 0.2591198980808258, -0.6289359331130981, -0.2255893051624298, -0.6772014498710632, 0.9732329845428467, -0.7129977941513062, 0.23770660161972046, 0.5799106359481812, 0.31216713786125183, -0.1489909589290619, -0.28806057572364807, -0.18361476063728333, -0.4936596155166626, 0.03811915963888168, -0.17013926804065704, -0.2062825858592987, 0.25562652945518494, 0.32624831795692444, 0.023744432255625725, -0.5161876082420349, 0.5209625959396362, -0.06326600909233093, -0.39492782950401306, 0.6772814989089966, 0.31567880511283875, 0.363787442445755, 0.01934342086315155, -0.29546260833740234, -0.05529206991195679, -0.8872286081314087, 0.5137932896614075, 0.8220219612121582, 0.23907603323459625, -0.2218470722436905, 0.46354228258132935, -0.213009312748909, 0.6459081768989563, -0.05658102035522461, -0.3280467689037323, 0.23875755071640015, -0.12109334021806717, -0.12393457442522049, -0.005026975646615028, 0.8205227255821228, 0.46960848569869995, 0.6242388486862183, -0.3429756462574005, -0.044539157301187515, -0.2054918259382248, 0.06079798936843872, -0.6497533321380615, -0.09959213435649872, 0.18870872259140015, -0.49486681818962097, -0.5670065879821777, -0.35118380188941956, -0.6246744990348816, -0.6669420003890991, -0.18585669994354248, 0.20124991238117218, -0.22865727543830872, -0.011463860981166363, 0.05735151469707489, 0.15148116648197174, -0.17010445892810822, 0.21317225694656372, -1.1508561372756958, 0.2753843665122986, 0.5902587175369263, 0.6393667459487915, -0.44255203008651733, -0.1347874402999878, -0.6040796041488647, 0.3269696831703186, -0.08220012485980988, 0.613828182220459, -0.6194173693656921, -0.6564116477966309, 0.19239582121372223, -0.2562730312347412, 0.0658874660730362, -0.44602999091148376, 0.6819866895675659, -0.5611554980278015, -0.0033875894732773304, -0.5888103246688843, -0.3694743812084198, 0.01787218078970909, -0.0413333922624588, -0.4752567708492279, 0.4492340087890625, -0.21226075291633606, -0.9861090183258057, 0.4254034757614136, -0.5484923720359802, -0.5220782160758972, -0.023106049746274948, -0.046248361468315125, -0.18929354846477509, 0.08579061180353165, -0.11434301733970642, 0.5316764116287231, -0.27017197012901306, 0.2343100607395172, -0.7150782942771912, -0.3556763231754303, 0.6240049004554749, -0.5373793840408325, 0.7340076565742493, 0.36657074093818665, -0.2682745158672333, 0.2701111435890198, -0.7832956314086914, -0.055127859115600586, 0.08368084579706192, -0.5669472217559814, -0.7721198201179504, 0.053766392171382904, 0.17106108367443085, 0.20727132260799408, 0.49178895354270935, -0.5298436284065247, -0.04884852468967438, -0.5012292861938477, 0.1938941478729248, 1.2387745380401611, -0.28213101625442505, 0.45576760172843933, -0.23588964343070984, 0.4796302318572998, -0.05063490569591522, 0.18951553106307983, -0.037960946559906006, -0.5690784454345703, -0.4831241965293884, -0.17095054686069489, 0.09540437906980515, 0.6930976510047913, -0.38683226704597473, 0.5175471901893616, -0.03339293226599693, -0.02674928307533264, -0.061738383024930954, 0.22306573390960693, 0.5128775835037231, 0.45441746711730957, 0.025677524507045746, -0.17567844688892365, -0.2136421650648117, -1.0978189706802368, -0.8135809898376465, -0.32220837473869324, -0.2542518675327301, 0.4544790983200073, -0.0030671926215291023, -0.3282662332057953, 1.0645780563354492, -0.6675151586532593, 0.03397606313228607, -0.2335929423570633, -0.20663700997829437, 0.07777031511068344, 0.30172857642173767, 0.692366898059845, -0.5081047415733337, -0.5289842486381531, 0.16382041573524475, -0.5216490626335144, -0.5120540261268616, -0.06937859207391739, -0.055314768105745316, 0.2433629333972931, 0.168631911277771, -0.47186577320098877, 0.1900595873594284, 0.590433657169342, -0.6324015855789185, 0.4194382131099701, -0.17029039561748505, -0.11367854475975037, -1.054547905921936, 0.11198970675468445, 0.2549864947795868, -0.18742431700229645, -0.9411982297897339, -0.05598659813404083, -0.08357971161603928, 0.2522585988044739, -0.5463975667953491, 0.7887883186340332, -0.1346185803413391, -0.0011978186666965485, -0.2827053368091583, -0.09257935732603073, -0.3386469781398773, 0.1606595814228058, -0.10539332032203674, 0.9536176323890686, 0.4630742073059082, -0.5456300377845764, -0.16562670469284058, 0.07049828767776489, -0.1568877100944519, 0.2984106242656708, -0.8183780908584595, 0.31306615471839905, 0.0653548389673233, -0.05761396884918213, -0.7424173951148987, -0.3847898542881012, 0.3525836765766144, -0.13976268470287323, 0.17762336134910583, -0.22248013317584991, -0.3435077965259552, 0.016942916437983513, -0.5589084625244141, 0.32535845041275024, 0.5808047652244568, -0.41435426473617554, 0.4138046205043793, 0.6129050254821777, -0.5846481323242188, -0.6172230839729309, -0.3791593909263611, 0.12050896137952805, -0.4960116446018219, -0.6352964639663696, 0.09835278242826462, -0.45869165658950806, -0.5683331489562988, -0.2637028694152832, 0.062367986887693405, 0.02327764593064785, 0.4942522644996643, 0.4410993754863739, 0.3131115436553955, 0.27465736865997314, -0.03073621541261673, 0.3192310929298401, -0.23938357830047607, 0.2636328935623169, 0.04914393275976181, 0.5380897521972656, -0.23316419124603271, -0.3470514714717865, -0.23361338675022125, 0.27981171011924744, 0.4776967763900757, -0.029753025621175766, 0.7623012661933899, 0.2392864227294922, -0.1657087653875351, 0.19491243362426758, -0.6949443221092224, 0.024508295580744743, -0.5871612429618835, 0.16555146872997284, -0.3020678162574768, -1.2736854553222656, 0.6184163689613342, 0.004968288354575634, 0.3194331228733063, 0.05581777170300484, 0.8764543533325195, -0.042384304106235504, 1.1490352153778076, 0.5645102262496948, -0.1918931007385254, 0.526934027671814, 0.27756792306900024, 0.2938556373119354, -0.5953442454338074, -0.21724717319011688, -0.5414797067642212, 0.026264123618602753, -0.7692798972129822, -0.0006502494215965271, 0.3902018964290619, -0.2561453878879547, -0.5090887546539307, 0.08784251660108566, -0.19764447212219238, 0.5256762504577637, 0.5553037524223328, -0.10590086877346039, 0.48901888728141785, 0.010917581617832184, -0.07088034600019455, -0.1298520863056183, -0.3634960949420929, -0.7947385311126709, 1.3571480512619019, 0.7310676574707031, 1.1529178619384766, 0.27551910281181335, 0.7287513017654419, 0.29580336809158325, 0.30819013714790344, -0.4716324806213379, 0.5224360823631287, -0.1795726716518402, -0.5443041920661926, -0.21767601370811462, -0.5782362222671509, -1.0821906328201294, 0.29743698239326477, -0.11708466708660126, -1.0438592433929443, -0.06938404589891434, 0.4666323661804199, -0.4856368899345398, 0.1461697369813919, -0.9389706254005432, 0.6179197430610657, -0.5469929575920105, -0.45161867141723633, -0.0561494417488575, -0.5750287175178528, 0.6958070993423462, -0.27992528676986694, 0.3858512341976166, -0.26835769414901733, -0.09873753786087036, 0.4798206090927124, 0.026181593537330627, 1.0767323970794678, -0.13407805562019348, -0.17445813119411469, -0.18951137363910675, 0.18857818841934204, 0.5656411051750183, 0.1499982625246048, -0.03409920260310173, 0.3590225279331207, 0.00827634334564209, -0.25404655933380127, -0.26109424233436584, 1.1860969066619873, -0.8198763132095337, -0.9292405247688293, -0.45709720253944397, -0.6387947797775269, -0.4252961277961731, 0.28767675161361694, 0.3080143332481384, -0.01516240369528532, -0.3396104574203491, 0.05669127777218819, 0.8404548764228821, -0.6676313877105713, 0.5480322241783142, 0.448648065328598, -0.10560505837202072, -0.24221104383468628, 0.7416415214538574, 0.021351687610149384, 0.37555891275405884, 0.1984926462173462, 0.5026236176490784, -0.4232001006603241, -0.6035059690475464, -0.2779614329338074, 0.07930684089660645, -0.7428398728370667, -0.011786997318267822, -0.9080340266227722, 0.04639808461070061, -0.33911818265914917, -0.18803122639656067, -0.16129696369171143, -0.27732565999031067, -0.3144354820251465, -0.1012413427233696, 0.20863372087478638, 0.6509381532669067, 0.1667693853378296, 0.1925312876701355, -0.7543622851371765, 0.04011537879705429, 0.41601818799972534, 0.5553594827651978, -0.058424826711416245, -0.3050367832183838, -0.1492457538843155, -0.27203938364982605, -0.28623273968696594, -0.7537916898727417, 0.2102266401052475, -0.2466384619474411, 0.7836658954620361, 0.4634966254234314, 0.173453226685524, -0.02943740226328373, -0.5509725213050842, 0.7206117510795593, 0.3337765038013458, -1.0163668394088745, 0.3575817346572876, -0.47474247217178345, 0.1444091945886612, 0.46852946281433105, 0.23848497867584229, -0.5134007930755615, -0.30567532777786255, -0.17902952432632446, -0.822933554649353, 0.4901609420776367, 0.27369484305381775, 0.3980380892753601, 0.06299926340579987, 0.1698300689458847, 0.36003997921943665, 0.2071579098701477, -0.9195175766944885, -0.30899763107299805, 0.04383034631609917, -0.044633835554122925, -0.03194157034158707, -0.47169560194015503, -0.2571406662464142, 0.023492980748414993, 0.3257454037666321, -0.22727695107460022, -0.050211142748594284, -0.4077915549278259, 0.006278356537222862, 0.03464744985103607, 0.7262596487998962, 0.7499427795410156, 0.42302924394607544, -0.2159297913312912, 0.18568874895572662, 0.22011344134807587, -0.40978315472602844, 0.32650890946388245, -0.015498874709010124, -0.43391117453575134, -0.2946624457836151, 0.1973009556531906, 0.7675926685333252, 0.31089767813682556, -0.7654821872711182, 0.3903287649154663, -0.20620562136173248, 0.22565044462680817, -0.1474822461605072, 0.3697375953197479, 0.09910561144351959, 0.07916553318500519, 0.07299346476793289, 0.2105090618133545, 0.3625829517841339, -0.3011467158794403, -0.1974928081035614, 0.6296773552894592, 0.02504871040582657, -0.4736056625843048, 0.796907901763916, 0.3935621678829193, -0.4408235549926758, -0.10254573822021484, 0.14488056302070618, -0.22788500785827637, 0.3936242461204529, 0.38108059763908386, 1.213645100593567, -0.33563870191574097, 0.04715561121702194, 0.018749123439192772, 0.3132669925689697, 0.1341104954481125, 0.024463357403874397, 0.1643851101398468, -0.6492298245429993, -0.21443220973014832, -0.4111311435699463, -0.44645243883132935, 0.22190219163894653, -0.42195019125938416, 0.09943592548370361, -0.7030869126319885, -0.478038489818573, -0.24929307401180267, -0.3006778657436371, -0.7445034980773926, -0.08920510113239288, 0.16593998670578003, 0.7181875705718994, -0.7228074073791504, 0.7381818890571594, 0.6736879944801331, -0.04945505037903786, -0.4101138710975647, 0.3284234404563904, 0.14992082118988037, -0.576301097869873, 0.6996307969093323, -0.012173580005764961, -0.2641277611255646, -0.39431488513946533, -0.1876971572637558, -0.8470662236213684, 0.8957775831222534, 0.6983180642127991, -0.7724040150642395, 0.017315741628408432, 0.3518332242965698, 0.5024381875991821, -0.1488468050956726, 0.1717132031917572, 0.7223121523857117, 0.3710901737213135, -0.2780032753944397, -0.9917720556259155, 0.07493547350168228, -0.02953753061592579, 0.3917669355869293, -0.16965194046497345, -0.6623387336730957, 0.737493097782135, -0.26016664505004883, -0.057416882365942, -0.04646275192499161, 0.1748284548521042, 0.4659389853477478, 0.5400148630142212, 0.5735898017883301, 0.24179525673389435, 0.6036062240600586, 0.10416528582572937, 1.3798919916152954, -0.40886634588241577, 0.14094381034374237, 0.9070292115211487, -0.5305649638175964, 0.5773785710334778, 0.4485156238079071, -0.2038796991109848, 0.16158196330070496, 0.5384641289710999, 0.5494948029518127, 0.7045848965644836, 0.11633653938770294, -0.3995192348957062, -0.37328779697418213, -0.05046181380748749, -0.4673903286457062, 0.16400781273841858, 0.020679164677858353, -0.4293532371520996, -0.02640978991985321, -0.08659955859184265, 0.3598858714103699, -0.01746371202170849, -0.0007175309583544731, 0.7650576233863831, 0.20307254791259766, -0.5237100124359131, 0.3645007610321045, 0.16854801774024963, 0.8615327477455139, -0.5660803318023682, 0.3115762174129486, -0.28312385082244873, 0.10077930986881256, -0.08332497626543045, -0.9822853803634644, 0.08871972560882568, 0.23032519221305847, -0.2492050975561142, -0.31110110878944397, 0.9122697114944458, -0.07035411894321442, -0.260076642036438, 0.41911593079566956, 0.3366592824459076, -0.11374612152576447, 0.12736088037490845, -0.493621826171875, 0.30201733112335205, -0.03007759153842926, -0.5241029262542725, 0.9249829649925232, -0.05962558835744858, -0.2076226770877838, 0.9816977977752686, 0.8929088711738586, -0.023793723434209824, 0.12858399748802185, 0.09438923001289368, 0.9379347562789917, -0.4059534966945648, -0.637597918510437, -1.0583120584487915, 0.42837581038475037, -0.05701635777950287, -0.3560604751110077, 0.8286930918693542, 0.4686669707298279, 0.7906880974769592, -0.2644940912723541, 1.1805713176727295, 0.31494197249412537, 0.49913010001182556, -0.6128773093223572, 0.9644824862480164, -0.24107086658477783, 0.6992037892341614, -0.4279155731201172, -0.7769020199775696, -0.21248014271259308, 0.3461304008960724, -0.606238603591919, 0.2464364469051361, 0.18586698174476624, 0.6288121938705444, 0.15427163243293762, -0.2326045036315918, 0.5678730010986328, 0.03736063838005066, 0.6497553586959839, 0.5559690594673157, 0.8431786894798279, 0.09892094880342484, 0.3310634195804596, -0.18240785598754883, -0.42888087034225464, -0.2677362859249115, -1.0111384391784668, -1.2513197660446167, -0.29115426540374756, -0.1131276860833168, -0.24866874516010284, 0.0796954557299614, 1.0767031908035278, 0.6488890647888184, -0.8651056289672852, -0.29740110039711, 0.21811272203922272, 0.2673792541027069, 0.2782937288284302, -0.17587976157665253, 0.026633070781826973, -0.23803748190402985, -0.6080105900764465, 0.3250887989997864, 0.3526318073272705, 0.10655532777309418, -0.22891318798065186, -0.38066598773002625, 0.3811827301979065, 0.3040362596511841, 0.749919056892395, 0.3226557672023773, -0.9789865016937256, -0.48819541931152344, 0.09778150171041489, -0.08277111500501633, -0.11982441693544388, 0.9597413539886475, -0.42751210927963257, 0.36310064792633057, 0.5236762166023254, 0.6665471792221069, -0.02528424561023712, -0.012033067643642426, 0.6693861484527588, -0.5485170483589172, 0.06934741139411926, 0.07215509563684464, 0.350065141916275, 0.31171715259552, -0.7606412768363953, 0.17517590522766113, 0.0399281308054924, -0.7263004779815674, -0.8254955410957336, 0.4461216628551483, -0.936617374420166, -0.1953737437725067, 1.336920142173767, -0.27662551403045654, 0.32459890842437744, -0.39873895049095154, -0.3183099627494812, -0.18190902471542358, -0.6907217502593994, 0.9591460227966309, 0.5803866982460022, -0.2079555094242096, -0.20066246390342712, -0.5756020545959473, 0.6907733082771301, 0.3324718177318573, -1.0097118616104126, 0.15295766294002533, 0.4653051793575287, 0.7432512044906616, -0.05805680528283119, 0.5923138856887817, 0.050440721213817596, 0.17453348636627197, -0.5473191142082214, -0.05562268942594528, -0.12017624080181122, -0.154250830411911, -0.5419299006462097, 0.1634664088487625, 0.4523695111274719, -0.002513042651116848 ]
http://arxiv.org/abs/2406.11106v1
http://arxiv.org/pdf/2406.11106v1
From Intentions to Techniques: A Comprehensive Taxonomy and Challenges in Text Watermarking for Large Language Models
2024-06-17T00:09:31
2024-06-17T00:09:31
Harsh Nishant Lalai, Aashish Anantha Ramakrishnan, Raj Sanjay Shah, Dongwon Lee
cs.CL
cs.CL, cs.AI
With the rapid growth of Large Language Models (LLMs), safeguarding textual content against unauthorized use is crucial. Text watermarking offers a vital solution, protecting both - LLM-generated and plain text sources. This paper presents a unified overview of different perspectives behind designing watermarking techniques, through a comprehensive survey of the research literature. Our work has two key advantages, (1) we analyze research based on the specific intentions behind different watermarking techniques, evaluation datasets used, watermarking addition, and removal methods to construct a cohesive taxonomy. (2) We highlight the gaps and open challenges in text watermarking to promote research in protecting text authorship. This extensive coverage and detailed analysis sets our work apart, offering valuable insights into the evolving landscape of text watermarking in language models.
[ -0.024179955944418907, -0.7426499128341675, 0.7868236899375916, 0.030229002237319946, -0.49437040090560913, 0.16226518154144287, -0.011721236631274223, -0.5226589441299438, 0.06086676940321922, 1.0943944454193115, -0.36412182450294495, -0.3844341039657593, -0.9670153260231018, 0.17720729112625122, -0.6465370655059814, 0.9696794748306274, -0.27161163091659546, -0.1812199056148529, -0.3392718732357025, -0.12320391088724136, -0.29885733127593994, -0.7560019493103027, -0.5467700362205505, -0.1521819531917572, 0.5901216864585876, 0.12691864371299744, 0.4932882487773895, 0.7110159397125244, 0.6721440553665161, 0.24804234504699707, -0.3534212112426758, 0.07538017630577087, -0.3779308795928955, 0.5312792658805847, -0.11348923295736313, -0.3267139196395874, -0.15541628003120422, 0.028078556060791016, 0.5621201395988464, 0.28272122144699097, 0.10415314882993698, 0.05881420150399208, 0.2832796275615692, 0.33826908469200134, -0.9300603866577148, -0.13027463853359222, -0.5927983522415161, -0.07414323836565018, -0.5774350762367249, -0.3081986606121063, -0.6512092351913452, -0.09532465040683746, -0.015805194154381752, -0.5203741788864136, -0.2559226453304291, 0.1281469762325287, 0.7375940084457397, 0.01456095464527607, -0.3959621489048004, -0.6928718090057373, -0.7946409583091736, 1.1253305673599243, -0.7291847467422485, 0.07871358841657639, 0.2624090015888214, -0.08039268851280212, -0.059689074754714966, -0.881624162197113, -0.2421838939189911, 0.3199142515659332, 0.017488820478320122, -0.0004966857959516346, -0.3123077154159546, -0.021187182515859604, 0.2287828028202057, 0.409771203994751, -0.29749682545661926, 0.11428277939558029, 0.11913327872753143, -0.19775764644145966, 0.9071788191795349, 0.08202768862247467, 0.6558451652526855, -0.06997742503881454, -0.5728277564048767, 0.01624447852373123, -1.0112274885177612, -0.031220676377415657, 0.5081239342689514, 0.28719428181648254, 0.10238979011774063, 0.5720968842506409, 0.11388308554887772, 0.5193037390708923, -0.5133095979690552, -0.1477358192205429, -0.3770920932292938, -0.16687758266925812, -0.13151933252811432, -0.08632204681634903, 1.0181045532226562, 0.0647253692150116, 0.45937472581863403, -0.25816625356674194, -0.3318471908569336, -0.3748376965522766, 0.32734256982803345, -0.7073975205421448, 0.095809705555439, 0.10919560492038727, -0.47856855392456055, -0.3222476840019226, 0.24296186864376068, -0.6551618576049805, -0.6326530575752258, -0.4715765416622162, 0.4858807623386383, -0.21114687621593475, -0.4520939290523529, 0.09007029980421066, -0.4489707350730896, 0.33300480246543884, 0.28047752380371094, -0.8659125566482544, 0.3407394587993622, 1.0187265872955322, 0.6610738039016724, -0.5528073906898499, -0.05939080938696861, -0.20660017430782318, 0.48325738310813904, -0.38650476932525635, 0.6247880458831787, -0.7157803177833557, -0.3370071351528168, 0.1701517254114151, -0.10506361722946167, 0.19912847876548767, -0.13780838251113892, 0.4035356044769287, -0.8215621113777161, 0.23230233788490295, -0.5051575303077698, -0.8882622718811035, -0.10817651450634003, 0.04711182788014412, -0.6161827445030212, 0.8376292586326599, -0.30172690749168396, -0.8062236309051514, 0.3229507803916931, -0.4193404018878937, -0.35726258158683777, 0.26251211762428284, -0.054662175476551056, -0.5084401965141296, 0.2507180869579315, -0.08005519956350327, 0.5410950779914856, -0.28486523032188416, 0.5221681594848633, -0.06734707951545715, 0.003435505321249366, 0.44190075993537903, -0.43540239334106445, 0.842622697353363, 0.11300761997699738, -0.3365437686443329, 0.10393070429563522, -0.5227682590484619, 0.02216392196714878, 0.24349886178970337, -0.0834863930940628, -0.904614269733429, 0.13171114027500153, 0.19992828369140625, -0.23309941589832306, 0.4879707992076874, -0.36343804001808167, -0.03041665256023407, 0.07133567333221436, 0.5038028955459595, 0.760524332523346, 0.36174461245536804, 0.4541427195072174, -0.28707650303840637, 0.6644275784492493, -0.40314239263534546, 0.3603115379810333, -0.4173854887485504, -0.7278744578361511, -0.3342188596725464, -0.4834063649177551, 0.3324071168899536, 0.17970401048660278, -0.5214968919754028, 0.3914828300476074, -0.20473435521125793, -0.47545766830444336, -0.2597651779651642, 0.4001297950744629, 0.6824240684509277, -0.0642484501004219, 0.20302577316761017, -0.3170147240161896, -0.2389024943113327, -0.9924624562263489, -0.7602412700653076, -0.09263543784618378, 0.11175728589296341, 0.27024075388908386, 0.643413782119751, 0.019851334393024445, 1.088454008102417, -0.553401529788971, -0.1787547618150711, -0.3791111409664154, 0.20987841486930847, -0.21476224064826965, 0.46896734833717346, 0.6177634000778198, -1.110203742980957, -0.6369880437850952, -0.10939574986696243, -0.7003746628761292, -0.359662264585495, 0.003049740567803383, -0.13953359425067902, 0.2651977241039276, 0.6851180195808411, -0.5220178365707397, 0.5525784492492676, 0.7115231156349182, -0.33254167437553406, 0.3955428898334503, 0.1823848932981491, 0.16287514567375183, -1.0986181497573853, 0.15031498670578003, -0.06228630989789963, 0.08214662224054337, -0.86199951171875, 0.5237926840782166, -0.02896023355424404, 0.06549078226089478, -0.3090440034866333, 0.7458929419517517, -0.6649007201194763, 0.3586450219154358, -0.4589483141899109, -0.2938951849937439, 0.27556607127189636, 0.023805735632777214, 0.20315806567668915, 0.5007638931274414, 0.44996511936187744, -0.5127730369567871, 0.07594209909439087, 0.24574381113052368, -0.31014785170555115, 0.5383372902870178, -0.7580097913742065, 0.33624956011772156, -0.15746748447418213, -0.169031023979187, -1.0633021593093872, -0.0622689351439476, 0.37522265315055847, -0.2761949300765991, 0.5477489233016968, -0.46583521366119385, -0.6505394577980042, 0.28364986181259155, -0.43304771184921265, 0.27339622378349304, 0.36458685994148254, -0.394707053899765, 0.7154821157455444, 0.5614967346191406, -0.5113958120346069, -0.5172775983810425, -0.7094611525535583, 0.6515684723854065, -0.4887847900390625, -0.36777251958847046, 0.6793840527534485, -0.01164016593247652, -0.5726506114006042, -0.030223993584513664, -0.005372494924813509, -0.44023796916007996, 0.39149025082588196, 0.1479133814573288, 0.18747778236865997, 0.21770621836185455, 0.03529428690671921, 0.06829927116632462, -0.2333664745092392, 0.09822651743888855, -0.06876108795404434, 0.28115135431289673, 0.518507182598114, -0.28207218647003174, -0.32114723324775696, 0.7051502466201782, 0.23044010996818542, -0.25215598940849304, 0.7315736413002014, 0.1957360804080963, -0.3467811942100525, -0.20321772992610931, -0.5802488327026367, -0.0912783220410347, -0.4756970703601837, 0.042328864336013794, -0.012354923412203789, -1.0266958475112915, 0.3056117594242096, 0.12273365259170532, 0.4135251045227051, 0.2671150267124176, 0.22719232738018036, -0.01004236750304699, 0.4377523362636566, 0.8730105757713318, -0.16295331716537476, 0.5862953662872314, 0.09983894228935242, 0.3070933222770691, -0.8237700462341309, -0.18820376694202423, -0.7101940512657166, 0.038160618394613266, -0.3685799241065979, -0.2640562355518341, -0.08046828955411911, 0.004082621540874243, -0.003347134217619896, 0.4550367593765259, -0.8054651021957397, 0.42793363332748413, 0.4226537346839905, -0.10685115307569504, 0.41771408915519714, 0.12547951936721802, 0.26452937722206116, -0.25109976530075073, -0.28546199202537537, -0.9624041318893433, 1.0746010541915894, 0.0688026025891304, 0.6908244490623474, 0.12762920558452606, 0.8276635408401489, 0.2810737192630768, 0.3746448755264282, -0.6520385146141052, 0.6990005373954773, 0.14695455133914948, -1.0499476194381714, -0.45705923438072205, -0.3901006877422333, -1.1403814554214478, 0.27820712327957153, -0.08329499512910843, -0.8053507208824158, -0.1256047785282135, -0.06832272559404373, 0.044622424989938736, 0.4729935824871063, -0.3715730607509613, 0.7394838929176331, -0.3126824200153351, -0.6520296931266785, -0.019271720200777054, -0.4831143021583557, 0.046517081558704376, -0.3343649208545685, 0.4747523367404938, -0.10593237727880478, -0.42929452657699585, 0.9646722078323364, -0.16370990872383118, 0.8524755835533142, -0.2227867990732193, -0.6760480999946594, 0.4289589524269104, 0.1931271106004715, 0.48699697852134705, -0.16974973678588867, -0.07067451626062393, 0.1479606330394745, 0.013267885893583298, -0.17852893471717834, -0.1792212277650833, 0.4183073043823242, -0.2234584540128708, -0.660753071308136, -0.49316394329071045, -0.25500309467315674, -0.10364340990781784, 0.5020490884780884, 0.19467106461524963, 0.4633864164352417, -0.37100639939308167, 0.41692957282066345, 0.8086977005004883, -0.3816092610359192, 0.6854957938194275, 0.2998405396938324, -0.15031103789806366, -0.42007049918174744, 0.7247360348701477, 0.018675925210118294, 0.2894558906555176, 0.6514768600463867, 0.2885655164718628, -0.19702672958374023, -0.929811418056488, 0.008705489337444305, 0.18927468359470367, -0.6999063491821289, -0.18211495876312256, -0.6488548517227173, -0.10669424384832382, -0.2716757655143738, -0.2494974136352539, -0.18577474355697632, -0.15653695166110992, -0.3565210700035095, 0.19740068912506104, 0.47426837682724, 0.8236485719680786, 0.3840571939945221, 0.41650718450546265, -0.6635205745697021, 0.34299933910369873, 0.33285829424858093, 0.25259244441986084, 0.11983844637870789, -0.3871636986732483, -0.0932428315281868, -0.042119961231946945, -0.2715970277786255, -0.6196650862693787, 0.3071715533733368, -0.016146475449204445, 0.5146746039390564, 0.3650476038455963, 0.12888719141483307, 0.26498207449913025, -0.44819799065589905, 0.9242632985115051, 0.20874996483325958, -0.9912474155426025, 0.456505686044693, -0.42086437344551086, 0.02995121292769909, 0.37887337803840637, 0.42949220538139343, -0.656782329082489, -0.41584259271621704, -0.4815889298915863, -1.0882292985916138, 0.44407010078430176, 0.4870038330554962, 0.47658771276474, 0.22436125576496124, 0.4920710623264313, 0.2899644672870636, 0.3306799829006195, -0.9299691915512085, -0.09652173519134521, 0.2590477168560028, -0.23986980319023132, -0.0798189714550972, -0.5501568913459778, -0.31499192118644714, -0.03031293861567974, 0.7627464532852173, -0.06284996122121811, 0.06105247139930725, 0.13052375614643097, -0.19285708665847778, 0.23724175989627838, 0.48739826679229736, 0.3778483271598816, 0.36056289076805115, 0.3147309124469757, 0.048323649913072586, -0.3003612160682678, -0.427956759929657, 0.26178041100502014, -0.3187655806541443, -0.46758902072906494, -0.028749944642186165, 0.8025335669517517, 0.534965455532074, 0.2946842312812805, -0.4251481294631958, 0.6367107629776001, 0.03970063105225563, -0.3327993154525757, -0.22019439935684204, 0.06439409404993057, 0.3034207820892334, -0.21406012773513794, 0.4757794439792633, -0.30807486176490784, 0.06481153517961502, -0.4112367331981659, -0.1860785186290741, 0.6929206848144531, -0.2800786793231964, -0.4989078640937805, 0.5842856764793396, 0.006970243528485298, -0.22840328514575958, 0.07240302860736847, 0.2841978371143341, -0.4679042398929596, 0.5307185053825378, 0.23890343308448792, 1.0996804237365723, -0.21579720079898834, 0.08994986116886139, -0.01299983635544777, 0.35041987895965576, -0.27116823196411133, 0.23373135924339294, -0.18812809884548187, -0.8095172047615051, -0.19495868682861328, -0.5418780446052551, -0.69770348072052, 0.06727287173271179, -0.66647869348526, 0.008355827070772648, -0.38795650005340576, -0.16298183798789978, 0.3324390649795532, -0.19497768580913544, -0.20889730751514435, -0.014583628624677658, 0.06079508364200592, 0.5576083064079285, -0.6697977185249329, 0.48904356360435486, 0.657401978969574, 0.17170096933841705, -0.4274553656578064, 0.07531968504190445, 0.3277035355567932, -0.5638971328735352, 0.24347804486751556, 0.052421651780605316, -0.16178220510482788, 0.07160509377717972, -0.9774823784828186, -0.756870687007904, 0.7233853340148926, 0.2925526201725006, -0.3363429307937622, 0.21337120234966278, 0.33505699038505554, 0.4433915913105011, -0.30631622672080994, -0.3468643128871918, 0.35283365845680237, 0.6582785844802856, -0.18958568572998047, -0.29888758063316345, 0.18610331416130066, -0.24076882004737854, 0.08675859868526459, 0.37268319725990295, -0.525300145149231, 0.5539343357086182, 0.30176475644111633, -0.32330459356307983, 0.29672566056251526, 0.06747683882713318, 0.2068893164396286, 0.29650405049324036, 0.2672502398490906, 0.3552838861942291, 0.3304429352283478, -0.2200332134962082, 1.0012134313583374, -0.15140080451965332, 0.2766065001487732, 0.6881423592567444, -0.45318716764450073, 0.5906180143356323, 0.7877102494239807, -0.13741415739059448, 0.23872797191143036, 0.24109098315238953, -0.07776863127946854, 0.5373791456222534, 0.27168741822242737, -0.39067211747169495, -0.2387208640575409, -0.30652880668640137, -0.2885001301765442, 0.29794585704803467, 0.3344522714614868, -0.4370059669017792, 0.10329554229974747, -0.12816676497459412, 0.29502201080322266, 0.2631266117095947, -0.09679195284843445, 1.0461997985839844, 0.46946439146995544, -0.5354744791984558, -0.15237228572368622, -0.06058403104543686, 0.812341034412384, -0.7347633838653564, 0.19946281611919403, 0.07067512720823288, -0.05641837790608406, -0.16327565908432007, -0.9112833738327026, 0.23152242600917816, 0.1251876950263977, -0.04806786775588989, -0.9691075086593628, 0.97285395860672, -0.23432259261608124, -0.16127073764801025, 0.48968055844306946, 0.41400977969169617, 0.07360117882490158, -0.15481817722320557, -0.36160850524902344, 0.3870202898979187, -0.1717669814825058, -0.42137929797172546, 0.28647807240486145, 0.6138910055160522, -0.002657173201441765, 0.5819538235664368, 0.5990438461303711, 0.19589371979236603, -0.2160840928554535, 0.057836588472127914, 0.4277525842189789, -0.725974977016449, -0.3257577419281006, -1.328571081161499, 0.30311185121536255, -0.236785888671875, -0.3248926103115082, 0.99948650598526, 0.5087225437164307, 0.49037832021713257, -0.031023217365145683, 0.9281390309333801, -0.059354737401008606, 0.21626237034797668, -0.5457780361175537, 1.0003385543823242, -0.604461669921875, 0.12748323380947113, -0.9089775085449219, -0.8290718793869019, -0.5367411375045776, 0.1738111525774002, -0.023462459444999695, 0.09234121441841125, 0.533786952495575, 0.5440621376037598, 0.17568963766098022, 0.14108696579933167, 0.310732364654541, -0.27311065793037415, 0.6562787294387817, 0.1239779070019722, 1.0153529644012451, -0.3723694384098053, 0.4099996089935303, -0.12345411628484726, -0.0820421651005745, -0.09198328852653503, -1.1592806577682495, -0.8368081450462341, -0.8188751339912415, -0.6583787798881531, -0.022176748141646385, -0.0284932442009449, 0.44752395153045654, 0.6207769513130188, -0.7828161120414734, -0.19816209375858307, -0.11265715211629868, 0.20425498485565186, -0.16404952108860016, -0.2045479267835617, 0.28322896361351013, -0.02447899989783764, -0.5651364326477051, -0.01678260788321495, 0.5313060879707336, 0.5015497207641602, -0.17297351360321045, -0.0006757853552699089, -0.02194189466536045, 0.39294734597206116, 0.568321168422699, 0.14277170598506927, -0.451020210981369, -0.23498699069023132, -0.13531459867954254, -0.27502602338790894, -0.17424631118774414, 1.0573846101760864, -0.06777812540531158, 0.2418982833623886, 0.4736856520175934, 0.6173375844955444, 0.2606446444988251, -0.1557854562997818, 0.5210869908332825, -0.6073620915412903, -0.056127067655324936, 0.31013724207878113, 0.3588145077228546, 0.4300081431865692, -0.3893158733844757, 0.4327946603298187, 0.1984836310148239, -0.3839004933834076, -1.046906590461731, 0.24381770193576813, -0.8918718099594116, -0.43823516368865967, 1.305240273475647, -0.27037832140922546, -0.1417170614004135, -0.38307005167007446, -0.19516803324222565, 0.009280306287109852, -0.1892675757408142, 0.6699369549751282, 1.1257212162017822, 0.43565189838409424, -0.22025127708911896, -0.48648926615715027, 0.5760999321937561, 0.18051010370254517, -0.930693507194519, 0.4542411267757416, 0.23228885233402252, 0.27936121821403503, 0.07319881021976471, 0.5809452533721924, -0.5269384980201721, -0.014757297933101654, -0.2941757142543793, 0.3664090931415558, 0.12027637660503387, -0.35139286518096924, -0.1987394243478775, 0.26908451318740845, 0.19655536115169525, 0.22568665444850922 ]
http://arxiv.org/abs/2406.11102v1
http://arxiv.org/pdf/2406.11102v1
Grading Massive Open Online Courses Using Large Language Models
2024-06-16T23:42:11
2024-06-16T23:42:11
Shahriar Golchin, Nikhil Garuda, Christopher Impey, Matthew Wenger
cs.CL
cs.CL, cs.AI
Massive open online courses (MOOCs) offer free education globally to anyone with a computer and internet access. Despite this democratization of learning, the massive enrollment in these courses makes it impractical for one instructor to assess every student's writing assignment. As a result, peer grading, often guided by a straightforward rubric, is the method of choice. While convenient, peer grading often falls short in terms of reliability and validity. In this study, we explore the feasibility of using large language models (LLMs) to replace peer grading in MOOCs. Specifically, we use two LLMs, GPT-4 and GPT-3.5, across three MOOCs: Introductory Astronomy, Astrobiology, and the History and Philosophy of Astronomy. To instruct LLMs, we use three different prompts based on the zero-shot chain-of-thought (ZCoT) prompting technique: (1) ZCoT with instructor-provided correct answers, (2) ZCoT with both instructor-provided correct answers and rubrics, and (3) ZCoT with instructor-provided correct answers and LLM-generated rubrics. Tested on 18 settings, our results show that ZCoT, when augmented with instructor-provided correct answers and rubrics, produces grades that are more aligned with those assigned by instructors compared to peer grading. Finally, our findings indicate a promising potential for automated grading systems in MOOCs, especially in subjects with well-defined rubrics, to improve the learning experience for millions of online learners worldwide.
[ -0.18649467825889587, -0.8954110145568848, 0.8903315663337708, -0.1547543853521347, -0.15555870532989502, 0.12467966228723526, -0.6258293986320496, -0.44669297337532043, 0.062429457902908325, 0.3944583535194397, -0.34528109431266785, -0.683804452419281, -0.42714792490005493, -0.02783653512597084, -0.21644370257854462, 1.5098602771759033, -0.27432578802108765, 0.351828008890152, -0.3690688908100128, 0.024798933416604996, -0.24995599687099457, -0.5437133312225342, -0.5311848521232605, -0.4168277382850647, 0.6454780101776123, 0.5336741209030151, 0.6344242095947266, 0.5643810033798218, 0.6896664500236511, 0.24464048445224762, -0.19143757224082947, 0.22196631133556366, -0.5084007382392883, -0.08406535536050797, -0.3257136046886444, -0.2887172996997833, -0.7201114296913147, 0.1912672370672226, 0.6447840332984924, 0.8265364170074463, -0.23251669108867645, 0.3955431878566742, 0.034445181488990784, 0.37200483679771423, -0.480337917804718, 0.1508098989725113, -0.5133393406867981, 0.12362172454595566, -0.0813465416431427, -0.06324981898069382, -0.6779946684837341, -0.5993812680244446, 0.11455927044153214, -0.691635012626648, 0.09774251282215118, -0.16311563551425934, 0.7813146710395813, -0.10713445395231247, -0.2698338031768799, -0.6198890805244446, -0.7139468789100647, 0.7999303936958313, -0.542863130569458, 0.07973960041999817, 0.4740545153617859, 0.37226641178131104, 0.13542313873767853, -0.5960776209831238, -0.5827932357788086, -0.4871644973754883, 0.18587331473827362, 0.252702921628952, 0.4590359032154083, 0.2543349862098694, 0.3716665208339691, 0.8609365224838257, -0.34595075249671936, 0.500797688961029, -0.3706822395324707, -0.20382843911647797, 0.2898407578468323, 0.35845696926116943, 0.10744603723287582, 0.06799373030662537, -0.351311594247818, -0.12206513434648514, -0.8821474313735962, -0.017731821164488792, 0.7151707410812378, 0.49753692746162415, 0.0625588670372963, 0.6293362975120544, -0.12372306734323502, 0.562960684299469, 0.002871215809136629, -0.27594175934791565, 0.007327910978347063, -0.2667338252067566, -0.08368844538927078, -0.21331411600112915, 0.7656334638595581, 0.5668649673461914, 0.37897494435310364, 0.11425963044166565, -0.1216510459780693, -0.006312149576842785, 0.15082517266273499, -0.7937537431716919, -0.20488843321800232, 0.20614567399024963, -0.14315594732761383, -0.3495427966117859, 0.010940317995846272, -0.776578962802887, -0.3380860388278961, -0.2546972334384918, 0.7606602311134338, -0.11738555878400803, 0.2915554344654083, 0.0057843346148729324, 0.0932079628109932, 0.06605096906423569, 0.9870541095733643, -0.6713877320289612, 0.26632389426231384, 0.6142730116844177, 1.2226749658584595, -0.016020817682147026, -0.2492232322692871, -0.6024377942085266, 0.002315102843567729, -0.29931849241256714, 0.5631764531135559, -0.5644746422767639, -0.14939439296722412, 0.2132224440574646, -0.34569641947746277, 0.2679336965084076, -0.24405056238174438, 0.4187179207801819, -0.4842819571495056, 0.7969152331352234, -0.19861723482608795, -0.8461787104606628, -0.15508733689785004, 0.5181734561920166, -0.3908258378505707, 0.8967552781105042, 0.04702405259013176, -0.31120455265045166, 0.1302526891231537, -0.730431079864502, -0.05739356204867363, 0.2743579149246216, 0.07999617606401443, -0.2328508049249649, -0.19835300743579865, 0.07351171225309372, 0.5978460907936096, -0.342427521944046, 0.29871538281440735, -0.1787152737379074, -0.4485836625099182, 0.19824260473251343, -0.14305584132671356, 0.5323004126548767, 0.12633559107780457, -0.47128114104270935, 0.1086404100060463, -0.5215975046157837, 0.25097623467445374, -0.07610465586185455, -0.43055665493011475, -0.2942306101322174, 0.024110861122608185, -0.15337702631950378, 0.251359760761261, 0.14790405333042145, -0.7406522631645203, 0.561308741569519, -0.0831834226846695, 0.3364139795303345, 1.219869613647461, -0.13855546712875366, 0.28358498215675354, -0.3632841110229492, 0.47381591796875, -0.2773411273956299, 0.19831088185310364, -0.23360858857631683, -0.7122611403465271, -0.9867395758628845, -0.23309306800365448, 0.16322177648544312, 0.28756222128868103, -0.645853579044342, 0.23296606540679932, -0.3432912230491638, -0.753990650177002, -0.2685890793800354, 0.38891875743865967, 0.6201344132423401, 0.31789126992225647, 0.4410341680049896, -0.33591753244400024, 0.04102766886353493, -0.27822357416152954, -0.10612773895263672, -0.26677945256233215, -0.2640951871871948, 0.3176155984401703, 0.5196269154548645, -0.021919775754213333, 0.5627667903900146, -0.7018418312072754, -0.4995209574699402, -0.09555305540561676, 0.128684863448143, 0.16039209067821503, 0.30877143144607544, 0.13882867991924286, -0.14514102041721344, -0.5755495429039001, 0.24123868346214294, -0.5313956141471863, -0.2930794358253479, 0.028142986819148064, -0.11775989085435867, 0.012447225861251354, 0.2678649425506592, -0.2867026925086975, 0.0801110491156578, 0.5888262987136841, -0.28343862295150757, 0.6639837026596069, -0.2086244821548462, 0.21844516694545746, -0.7557013034820557, -0.06270760297775269, 0.026035070419311523, -0.2984606623649597, -0.6184958815574646, 0.5438486933708191, 0.16206499934196472, -0.20066313445568085, -0.4756159484386444, 0.5762287378311157, -0.4054983854293823, 0.10294416546821594, -0.240062415599823, 0.36513224244117737, -0.03083190880715847, 0.5553284287452698, -0.05685540288686752, 0.60272616147995, 0.46896323561668396, -0.5483096837997437, 0.26654377579689026, 0.1263337880373001, -0.5920673608779907, 0.6264214515686035, -0.44666072726249695, 0.27876216173171997, -0.1236473023891449, 0.6108043789863586, -0.9637078046798706, -0.15368525683879852, 0.13935492932796478, -0.29545944929122925, -0.0033596400171518326, -0.20644976198673248, -0.3416309058666229, -0.2245774120092392, -0.3138652443885803, 0.33979639410972595, 0.4811297357082367, -0.6400884985923767, 0.3754430115222931, -0.1299857199192047, -0.0697498619556427, -0.40312135219573975, -0.4698304235935211, -0.08981356769800186, 0.10330410301685333, -0.31902876496315, 0.036945778876543045, -0.30801111459732056, -0.24112951755523682, -0.19805416464805603, 0.18405170738697052, -0.018282534554600716, -0.04912373051047325, 0.4325351417064667, 0.4991292357444763, -0.2400842159986496, 0.2557790279388428, -0.21569609642028809, 0.061901044100522995, -0.04288247227668762, -0.6488760709762573, 0.5595735907554626, -0.18837042152881622, -0.5246049165725708, -0.3296247124671936, 0.24185815453529358, 0.9640116691589355, -0.26411551237106323, 0.8061023950576782, 0.3726789653301239, -0.27683025598526, -0.2466069459915161, -0.7540189623832703, -0.11528462916612625, -0.47005754709243774, 0.08595395088195801, 0.11812873929738998, -1.172027349472046, 0.5491088032722473, 0.21703779697418213, 0.4380539357662201, 0.10036911815404892, 0.8091029524803162, 0.03800119087100029, 0.7192648649215698, 0.39837703108787537, 0.28647640347480774, 0.4970070421695709, -0.24991586804389954, 0.3162299692630768, -0.7986794710159302, -0.3193831145763397, -0.5998786091804504, -0.2020706981420517, -0.387523353099823, -0.7353549599647522, 0.30246639251708984, -0.15205304324626923, -0.22533388435840607, 0.12026825547218323, -0.14199593663215637, 0.8712567687034607, 0.5046243667602539, 0.2556317448616028, 0.5168119072914124, 0.20256657898426056, -0.23634395003318787, 0.10542072355747223, -0.22345714271068573, -0.702766478061676, 1.2282570600509644, 0.2618439793586731, 0.7659801840782166, 0.19697241485118866, 0.37489038705825806, 0.23059101402759552, 0.7398844361305237, -0.9495255947113037, 0.7093163132667542, -0.022949259728193283, -0.7414059638977051, -0.3592661917209625, -0.7728569507598877, -0.28791114687919617, 0.2922375798225403, -0.21537038683891296, -0.6235023736953735, -0.37042009830474854, 0.2020106464624405, -0.3368142247200012, 0.779395341873169, -0.634242057800293, 0.7323207259178162, -0.13075920939445496, -0.6166725158691406, -0.2616172730922699, -0.3336668312549591, 0.3238752782344818, -0.28802910447120667, 0.3248699903488159, -0.08647098392248154, -0.025163615122437477, 0.7215660810470581, -0.60527503490448, 0.6732150912284851, -0.02464081533253193, -0.34766703844070435, 0.492485910654068, 0.2569992244243622, 0.4306643307209015, -0.20529095828533173, -0.21325643360614777, 0.284499853849411, -0.34048327803611755, -0.40918999910354614, -0.6243469715118408, 0.9722179770469666, -0.9646777510643005, -0.5725720524787903, -0.5185519456863403, -0.42196768522262573, -0.03597209230065346, 0.07436619699001312, 0.11157577484846115, 0.5921677350997925, 0.08322370052337646, 0.04670868068933487, 0.39039167761802673, -0.33520036935806274, 0.23117569088935852, 0.7038198113441467, -0.4929673373699188, -0.5730748772621155, 0.9565026760101318, 0.2820587456226349, 0.9068722128868103, 0.40091195702552795, 0.4782768487930298, -0.16609793901443481, -0.39387115836143494, -0.5102751851081848, 0.27639102935791016, -1.0663601160049438, -0.2582917809486389, -0.638239860534668, 0.05464736372232437, -0.3096790909767151, -0.4814712703227997, -0.07251463830471039, -0.495291531085968, -0.08780550956726074, -0.29200342297554016, 0.26412421464920044, 0.9527854919433594, 0.10955919325351715, 0.49918437004089355, -0.6557357311248779, -0.1566949337720871, 0.47768011689186096, 0.6192027926445007, 0.2046683132648468, -0.8088040947914124, -0.1690220683813095, 0.06813991069793701, -0.5147334337234497, -0.4987034797668457, -0.07922393083572388, 0.3315459191799164, 0.11577558517456055, 0.5162357687950134, -0.11110777407884598, 0.7721483111381531, -0.6743345260620117, 1.0244662761688232, 0.3664575517177582, -1.1832714080810547, 0.35823675990104675, -0.5027590990066528, 0.13777945935726166, 0.42560771107673645, 0.5602266192436218, -0.7928498387336731, -0.879414975643158, -0.21272897720336914, -0.6677125692367554, 0.775204598903656, 0.0949576273560524, 0.32473525404930115, -0.08960419148206711, 0.29484477639198303, 0.3129170536994934, 0.09818527847528458, -1.1313902139663696, -0.11882691085338593, -0.07200171053409576, -0.11834263801574707, -0.3037559688091278, -0.23029141128063202, 0.06475580483675003, -0.1603766828775406, 0.7853747010231018, -0.1509917676448822, -0.07913327217102051, 0.07294490188360214, -0.028647897765040398, -0.4332585334777832, 0.5108633041381836, 0.8789882063865662, 0.8387011885643005, -0.2937808334827423, -0.0016894128639250994, 0.1711048036813736, -0.5717191100120544, 0.2948152422904968, -0.5952979326248169, -0.3278568387031555, -0.11228287220001221, 0.2924153804779053, 0.4464592933654785, -0.05005093291401863, -0.8338782787322998, 0.6394399404525757, -0.0038846114184707403, -0.24337133765220642, -0.16089510917663574, 0.013739443384110928, -0.22611863911151886, -0.09806530922651291, 0.27929922938346863, -0.17076575756072998, -0.1699138581752777, -0.6371387243270874, -0.2964305281639099, 0.2999831736087799, -0.3869139552116394, -0.14491236209869385, 0.40738987922668457, 0.5020753145217896, -0.2478729635477066, 0.6395115852355957, 0.04587046802043915, -0.6382789015769958, 0.31154003739356995, 0.47234752774238586, 0.7912158370018005, -0.16037936508655548, 0.46823790669441223, 0.5129912495613098, 0.3365303575992584, -0.3019530773162842, -0.1613810658454895, -0.17039461433887482, -0.32505229115486145, -0.69703209400177, -0.8219545483589172, -1.1024274826049805, 0.0017948092427104712, -0.5015039443969727, 0.344230055809021, -0.9705625772476196, -0.11427012830972672, -0.22268927097320557, -0.01708618924021721, -0.4394431412220001, 0.14957889914512634, 0.27640247344970703, 0.5012760162353516, -0.8998448252677917, 0.5191304683685303, 0.9380726218223572, -0.3619852364063263, -0.8409872055053711, -0.18839131295681, 0.18269452452659607, -0.5260394215583801, 0.441428005695343, 0.4167059063911438, -0.071275494992733, -0.1189950630068779, -0.46706169843673706, -0.6213482618331909, 0.9480463862419128, 0.04135436192154884, -0.5360161066055298, -0.10152128338813782, 0.06317206472158432, 0.6668410897254944, -0.020112648606300354, 0.8623937964439392, -0.19146913290023804, 0.33441635966300964, 0.04784509912133217, -1.0893728733062744, -0.14708784222602844, -0.10538174957036972, -0.22091811895370483, 0.5007933378219604, -0.6934095621109009, 1.035592794418335, -0.2693966031074524, -0.12193265557289124, 0.15853579342365265, 0.4619210660457611, -0.06009869650006294, 0.2177601456642151, 0.29261937737464905, 0.7917172312736511, 0.7897275686264038, -0.2882838249206543, 0.9067119359970093, -0.0698099285364151, 0.6876641511917114, 0.8293283581733704, -0.398404598236084, 0.8785523772239685, 0.34546026587486267, -0.2977963984012604, 0.9140231013298035, 0.2640638053417206, 0.08145634084939957, -0.0670548677444458, 0.2908059358596802, -0.2905789911746979, -0.44920456409454346, -0.22272692620754242, -0.41853201389312744, 0.3527953624725342, 0.25790077447891235, -0.21646039187908173, -0.3604635000228882, 0.2376636117696762, 0.09778334200382233, 0.27474507689476013, -0.8285280466079712, 0.5328088998794556, -0.06141824647784233, -0.8608691692352295, 0.24191053211688995, 0.16611000895500183, 0.6115991473197937, -0.7457494139671326, 0.0020360362250357866, -0.3942280411720276, 0.45570653676986694, -0.2624496817588806, -0.8899083733558655, -0.3580394983291626, 0.6146692633628845, -0.048527467995882034, -0.5875493884086609, 0.05103055760264397, -0.46168866753578186, -0.6218591928482056, 0.08669424802064896, 0.22413252294063568, 0.2342679500579834, 0.09874473512172699, -0.0740588828921318, -0.10928785800933838, -0.1587316244840622, 0.06180131062865257, 0.43421071767807007, 0.3053591549396515, 0.010746492072939873, 0.8882421851158142, 0.8567517995834351, 0.07777908444404602, 0.15057605504989624, 0.03867815434932709, 0.7201891541481018, -0.4955350160598755, -0.5746250748634338, -0.8544920086860657, 0.2766507565975189, 0.061380013823509216, -0.38170892000198364, 1.0650041103363037, 0.306500643491745, 1.2563676834106445, -0.08624956756830215, 0.43147799372673035, -0.09184931218624115, 0.42552146315574646, -0.700480043888092, 0.5077894926071167, -0.4688691794872284, 0.18280106782913208, -0.600060224533081, -1.1190139055252075, -0.37005531787872314, 0.5349998474121094, -0.5265461206436157, 0.0785774365067482, 0.9459571242332458, 0.5550026893615723, 0.2635595202445984, -0.06487865000963211, 0.3620211184024811, -0.13491396605968475, 0.5816870331764221, 0.704158365726471, 1.106143832206726, -0.25605320930480957, 0.7931716442108154, -0.3046981394290924, -0.2473531812429428, -0.2933597266674042, -0.7742088437080383, -1.1747292280197144, -0.20870542526245117, -0.5023550987243652, -0.50300532579422, 0.08742476254701614, 1.224797010421753, 0.2255481332540512, -0.7441653609275818, -0.3717358410358429, 0.19945105910301208, 0.07248830050230026, -0.06235354766249657, -0.24136632680892944, 0.12364322692155838, -0.15701520442962646, -0.7676274180412292, -0.10135937482118607, 0.3589264452457428, 0.11865972727537155, -0.3584578037261963, -0.07020720839500427, -0.051886964589357376, -0.14074812829494476, 0.6929885149002075, 0.07338127493858337, -0.9424044489860535, -0.5243902206420898, 0.0004572124744299799, -0.3426002562046051, -0.02222728356719017, 0.9491823315620422, -0.5023130774497986, 0.5071483850479126, 0.49176934361457825, 0.3955233097076416, 0.10466918349266052, 0.16072775423526764, 0.3130347430706024, -0.4668612778186798, -0.16597364842891693, 0.2618894875049591, 0.22460496425628662, 0.4321456253528595, -0.10964652895927429, 0.24487093091011047, 0.21543706953525543, -0.7880597114562988, -0.839877188205719, 0.04148830473423004, -0.9060356020927429, -0.022946106269955635, 1.2073577642440796, -0.44341787695884705, -0.025000303983688354, 0.10022582858800888, -0.19986513257026672, -0.08620904386043549, -0.1701340228319168, 0.7963919639587402, 1.1843172311782837, 0.35118621587753296, 0.1473231017589569, -0.3706301152706146, -0.062284160405397415, 0.41869819164276123, -0.8059484362602234, 0.11756554991006851, 0.7196164131164551, 0.23790188133716583, 0.32904326915740967, 0.4907808005809784, -0.017002655193209648, 0.3337833881378174, -0.35720375180244446, 0.11793281137943268, -0.2095431685447693, -0.5541970133781433, -0.32859915494918823, 0.2520160377025604, 0.12615400552749634, 0.10746600478887558 ]
http://arxiv.org/abs/2406.15477v1
http://arxiv.org/pdf/2406.15477v1
CrisisSense-LLM: Instruction Fine-Tuned Large Language Model for Multi-label Social Media Text Classification in Disaster Informatics
2024-06-16T23:01:10
2024-06-16T23:01:10
Kai Yin, Chengkai Liu, Ali Mostafavi, Xia Hu
cs.CL
cs.CL, cs.AI
In the field of crisis/disaster informatics, social media is increasingly being used for improving situational awareness to inform response and relief efforts. Efficient and accurate text classification tools have been a focal area of investigation in crisis informatics. However, current methods mostly rely on single-label text classification models, which fails to capture different insights embedded in dynamic and multifaceted disaster-related social media data. This study introduces a novel approach to disaster text classification by enhancing a pre-trained Large Language Model (LLM) through instruction fine-tuning targeted for multi-label classification of disaster-related tweets. Our methodology involves creating a comprehensive instruction dataset from disaster-related tweets, which is then used to fine-tune an open-source LLM, thereby embedding it with disaster-specific knowledge. This fine-tuned model can classify multiple aspects of disaster-related information simultaneously, such as the type of event, informativeness, and involvement of human aid, significantly improving the utility of social media data for situational awareness in disasters. The results demonstrate that this approach enhances the categorization of critical information from social media posts, thereby facilitating a more effective deployment for situational awareness during emergencies. This research paves the way for more advanced, adaptable, and robust disaster management tools, leveraging the capabilities of LLMs to improve real-time situational awareness and response strategies in disaster scenarios.
[ -0.23916929960250854, -0.7201589941978455, 0.363044410943985, 0.5491185188293457, -0.23292206227779388, 0.6581006646156311, -0.35308581590652466, -0.22764553129673004, 0.26508858799934387, 0.3307884931564331, -0.5671026706695557, -0.8747934103012085, -0.6567046642303467, 0.028012868016958237, -0.4437769651412964, 1.087443470954895, 0.005850606132298708, -0.06984326243400574, 0.35020214319229126, 0.11127499490976334, -0.19123642146587372, -0.3067513704299927, -0.7367061376571655, 0.13894540071487427, 0.6585676670074463, 0.8219152688980103, 0.36670947074890137, 0.28112101554870605, 0.7083179354667664, 0.29891958832740784, 0.06572162359952927, 0.27219444513320923, -0.8679655194282532, -0.06115207076072693, -0.17912137508392334, -0.11267214268445969, -0.25903064012527466, -0.2030937522649765, 0.4415069818496704, 0.13134582340717316, -0.38210543990135193, 0.36020544171333313, 0.3412575423717499, 0.23785322904586792, -0.8089534044265747, 0.15166862308979034, -0.5651369094848633, -0.1413029134273529, 0.060413021594285965, -0.6311686038970947, -0.3822249472141266, -0.6648876667022705, 0.1619778573513031, -0.39376023411750793, 0.4062095284461975, -0.07374707609415054, 0.4318743348121643, 0.38777822256088257, -0.4289714992046356, -0.24781058728694916, -0.9282825589179993, 0.6509056091308594, -0.35858154296875, 0.3140218257904053, 0.1324169784784317, 0.4086968004703522, 0.016973568126559258, -0.7463092803955078, -0.3362700939178467, 0.39803841710090637, 0.4693315625190735, 0.11038412153720856, 0.2258806824684143, 0.3107105493545532, -0.05055173859000206, 0.0630088746547699, -0.4147888422012329, 0.3655398488044739, -0.2899573743343353, -0.18510545790195465, 0.7338303327560425, 0.3234078586101532, 0.35138043761253357, -0.44652435183525085, -0.46608033776283264, -0.11650319397449493, -0.6124805212020874, -0.1998419165611267, -0.22870506346225739, 0.5597410798072815, -0.5080869197845459, 0.2623823881149292, -0.11479293555021286, 0.26832571625709534, -0.23703712224960327, -0.5297951102256775, 0.13851824402809143, -0.09831386059522629, -0.28386905789375305, 0.5616800785064697, 0.9128989577293396, 0.6404913663864136, 0.12989892065525055, 0.0870017409324646, -0.13902153074741364, -0.16406744718551636, 0.43578338623046875, -1.0778934955596924, -0.148933544754982, -0.06351637840270996, -0.4006675183773041, -0.582801342010498, 0.009485969319939613, -0.9129483103752136, -0.9906569719314575, -0.14826330542564392, 0.44473132491111755, -0.2940659523010254, -0.18531128764152527, 0.269901841878891, 0.2581407427787781, -0.06654467433691025, 0.6290025115013123, -0.5097560882568359, -0.16651888191699982, 0.6515177488327026, 1.041720986366272, 0.3377414643764496, -0.06525454670190811, -0.2826194167137146, 0.3205982744693756, -0.031085606664419174, 0.9287474155426025, -0.5300780534744263, -0.2671760320663452, 0.44791561365127563, 0.07708041369915009, -0.10090069472789764, -0.1420610100030899, 0.8779081702232361, -0.4951210618019104, -0.2177443653345108, -0.15083982050418854, -0.4844587445259094, -0.25647780299186707, 0.38663995265960693, -0.48767557740211487, 0.7695125937461853, -0.08190735429525375, -1.01100492477417, 0.2194526493549347, -0.4810667335987091, -0.48939672112464905, 0.06322891265153885, 0.013276333920657635, -0.553622841835022, 0.07070187479257584, 0.1686318814754486, 0.9919394850730896, -0.5513361096382141, 0.40828293561935425, -0.7401919364929199, -0.26600342988967896, 0.08361586183309555, -0.5583125948905945, 0.3749694228172302, 0.044863540679216385, -0.026899244636297226, 0.12111710757017136, -0.8274101614952087, 0.001791926915757358, 0.16720978915691376, -0.6823266744613647, -0.5122681260108948, 0.20933687686920166, 0.32312119007110596, 0.20176298916339874, 0.25643855333328247, -0.3765212297439575, 0.1818799525499344, -0.24599167704582214, 0.2164965569972992, 0.6276735663414001, 0.3492981195449829, 0.3350953459739685, -0.26719775795936584, 0.1681339144706726, -0.034526363015174866, 0.4257417917251587, -0.18597538769245148, -0.271442711353302, -0.7718129754066467, -0.10203676670789719, 0.05239606648683548, 1.0743242502212524, -0.7727962136268616, 0.3551858961582184, -0.33715662360191345, -0.5775086879730225, -0.6453700661659241, 0.09239121526479721, 0.10699284076690674, 0.5006673336029053, 0.6138927340507507, 0.4093915820121765, -0.9540984630584717, -0.6723034977912903, 0.002144553931429982, -0.019070329144597054, 0.06634083390235901, 0.18938672542572021, 0.20196259021759033, -0.42569395899772644, 0.4181547462940216, -0.6897664070129395, -0.07522112876176834, -0.5619418025016785, 0.33709001541137695, -0.005110705271363258, 0.0733853355050087, 0.34199872612953186, -0.8578051924705505, -0.4475443959236145, 0.05762774497270584, -0.7324259281158447, -0.24985231459140778, -0.21319207549095154, 0.0638459250330925, -0.07550319284200668, 0.511592447757721, -0.21266330778598785, 0.3653918504714966, 0.19200727343559265, -0.14607496559619904, 0.4011022746562958, -0.05279430001974106, 0.4466326832771301, -1.5995991230010986, -0.42024144530296326, 0.18383601307868958, 0.019579026848077774, -0.8225281238555908, -0.2315463274717331, 0.38892826437950134, -0.07855941355228424, -0.5225664973258972, 0.44372278451919556, -0.38592395186424255, 0.3566384017467499, -0.3380194902420044, 0.16536381840705872, -0.2802540361881256, -0.06506527215242386, -0.10955335944890976, 0.3760964870452881, 0.7163901925086975, -0.6447989344596863, 0.4439082145690918, 0.1584181934595108, -0.4233802556991577, 0.5340958833694458, -0.213341623544693, -0.0452747605741024, -0.3288578987121582, 0.1665789932012558, -1.0292415618896484, -0.5881321430206299, 0.23576219379901886, -0.15366999804973602, 0.5351282954216003, -0.17406868934631348, -0.6032979488372803, -0.5604444146156311, -0.36717015504837036, 0.007251872215420008, 0.17995578050613403, -0.48024260997772217, 0.5310395359992981, 0.411814421415329, -0.33106622099876404, -0.4973914325237274, -0.5293134450912476, 0.16328048706054688, -0.5951671600341797, -0.3645469546318054, 0.1477394849061966, -0.13205622136592865, 0.04354369640350342, -0.14145444333553314, -0.1716112345457077, -0.27080291509628296, 0.36646100878715515, 0.32342079281806946, 0.17543484270572662, -0.23750148713588715, 0.4698715806007385, 0.3220151960849762, 0.07353869825601578, -0.09507005661725998, 0.05390090122818947, 0.5785633325576782, -0.025397058576345444, -0.09048566967248917, -0.6720907688140869, 0.28897717595100403, 0.5631349086761475, -0.03743380308151245, 1.0839424133300781, 0.7635821104049683, -0.5493623614311218, -0.209848091006279, -0.7352377772331238, -0.19191797077655792, -0.4828575849533081, 0.4282781481742859, 0.06009828671813011, -1.096028447151184, 0.37439411878585815, -0.5683895349502563, 0.06634615361690521, 0.27130651473999023, 0.30199387669563293, -0.2658632695674896, 0.7232544422149658, 0.6900725364685059, -0.5422556400299072, 0.526952862739563, -0.3168247640132904, 0.2162177413702011, -0.40944918990135193, -0.26760777831077576, -0.5530136823654175, -0.3081054091453552, -0.3532003164291382, -0.43187400698661804, 0.4110413193702698, 0.17545194923877716, -0.4651825428009033, -0.0019142305245622993, -0.4139874577522278, 0.5651809573173523, -0.021944839507341385, 0.3881121873855591, 0.0809280201792717, 0.06388578563928604, 0.5988647937774658, 0.049613870680332184, -0.6786357164382935, -0.6503099799156189, 0.7797753214836121, 0.37606680393218994, 0.957282543182373, 0.09984967112541199, 1.1497117280960083, 0.32793790102005005, 0.7809574604034424, -0.7018263339996338, 0.4543406665325165, -0.12870001792907715, -0.38829898834228516, -0.3081028461456299, -0.4143046736717224, -0.6827502250671387, -0.09382642060518265, -0.49891072511672974, -0.6762101650238037, 0.01640179194509983, 0.07537484169006348, -0.6580880284309387, 0.23315183818340302, -0.8706237077713013, 0.7358981966972351, -0.296290785074234, 0.1909256875514984, -0.4071682393550873, -0.5389530062675476, 0.3387279808521271, -0.40178966522216797, 0.577380895614624, -0.11310695856809616, -0.32918453216552734, 0.6327943205833435, -0.06475581228733063, 1.4124119281768799, -0.034946419298648834, -0.25083574652671814, 0.47940802574157715, -0.02735801972448826, 0.5250885486602783, 0.2936408519744873, 0.1362265944480896, -0.11973293870687485, -0.34954968094825745, 0.0009476323612034321, -0.4782499074935913, 0.8255656957626343, -0.742072582244873, -0.462970495223999, 0.10282276570796967, -0.4201885163784027, -0.17516952753067017, 0.25328314304351807, 0.3166438937187195, 0.5120912194252014, -0.3451925218105316, 0.20285403728485107, 0.982956051826477, -0.4480968415737152, 0.502639889717102, 0.6578909754753113, 0.11633715033531189, -0.5318061113357544, 1.0335447788238525, 0.28912627696990967, -0.03849295526742935, 0.82933509349823, 0.2712351679801941, -0.056464437395334244, -0.4829402267932892, -0.05905403196811676, 0.222799614071846, -0.7872849702835083, -0.7943243980407715, -0.8709520697593689, -0.4612533450126648, -0.26208755373954773, -0.3772543668746948, -0.303102046251297, -0.19859722256660461, -0.6289360523223877, -0.23244608938694, 0.48793938755989075, 0.655321478843689, 0.022359950467944145, 0.5530424118041992, -1.1708546876907349, 0.31986531615257263, -0.029075223952531815, 0.4375607371330261, -0.055495668202638626, -0.5345298647880554, -0.3741881549358368, 0.06754538416862488, -0.36654311418533325, -1.2184947729110718, 0.05822738632559776, 0.5032152533531189, 0.2562277019023895, 0.7696278691291809, 0.4775814712047577, 0.6330109238624573, -0.6447393298149109, 0.325554221868515, 0.2749362289905548, -0.5700063109397888, 0.8012926578521729, -0.46676528453826904, 0.1164967268705368, 0.5624353289604187, 0.7169824838638306, -0.5340512990951538, -0.43750256299972534, -0.49453821778297424, -0.799500584602356, 0.763522207736969, -0.05147793889045715, 0.21213243901729584, -0.06806342303752899, 0.16464680433273315, -0.27417266368865967, 0.08959340304136276, -0.400663822889328, -0.20584207773208618, -0.23101919889450073, -0.4940929710865021, -0.1424451619386673, -0.705742597579956, -0.06424567848443985, -0.17864543199539185, 0.5592224597930908, 0.035132087767124176, -0.03972132131457329, -0.15935760736465454, 0.02473682351410389, 0.0842643678188324, 0.41911160945892334, 0.6673397421836853, 0.19711530208587646, -0.11462800949811935, 0.2842566668987274, 0.4851166009902954, -0.7407675385475159, 0.31307554244995117, 0.3201531171798706, 0.018715528771281242, -0.15599870681762695, 0.5643128156661987, 0.7254075407981873, 0.8161718845367432, -0.539104163646698, 0.4538087546825409, -0.19954372942447662, -0.015160530805587769, -0.15328232944011688, 0.19081845879554749, 0.3178386390209198, 0.6125331521034241, 0.4102778434753418, -0.11927488446235657, 0.39598575234413147, -0.2840532660484314, 0.07245243340730667, -0.049911607056856155, 0.007113981060683727, -0.35093954205513, 0.23043543100357056, 0.32471713423728943, -0.4812847971916199, 0.1744828075170517, -0.2195039838552475, -0.44232892990112305, 0.4610196352005005, 0.44401174783706665, 1.0388965606689453, -1.2222546339035034, 0.5151675343513489, 0.5465533137321472, 0.4983104169368744, -0.3866048753261566, 0.5957723259925842, 0.08416757732629776, -0.8184043765068054, -0.23746070265769958, -0.84127277135849, -0.02638310380280018, 0.5766792297363281, -0.45007991790771484, 0.4072739779949188, -0.7040324211120605, -0.1821790486574173, 0.0046378751285374165, -0.48189911246299744, -0.6102483868598938, 0.2891121804714203, 0.2173500806093216, 0.9284998178482056, -0.9446403384208679, 0.35924574732780457, 0.903862476348877, 0.0826025977730751, -0.8383166193962097, 0.3028673231601715, 0.0346294529736042, -0.3956637680530548, 0.30132490396499634, 0.47929084300994873, 0.12086167186498642, 0.10290270298719406, -0.7283604145050049, -1.0869511365890503, 0.7856019139289856, 0.3919590711593628, -0.7553069591522217, 0.012425296008586884, 0.29470187425613403, 0.554455578327179, -0.2767895460128784, -0.10265669971704483, 0.2987995147705078, 0.4103844165802002, 0.0865907222032547, -0.850168764591217, -0.018730809912085533, 0.06328697502613068, -0.05778292939066887, 0.4911128282546997, -0.5799189209938049, 0.034083884209394455, -0.4351509213447571, -0.4538196623325348, -0.45952802896499634, 0.7897788882255554, 0.03530195727944374, 0.6507368683815002, 0.3703286349773407, 0.4111492335796356, 0.8561502695083618, -0.07891291379928589, 0.8039798736572266, -0.2877688407897949, 0.5259131193161011, 1.1099179983139038, 0.08095861226320267, 0.8009380102157593, -0.06751125305891037, 0.08184195309877396, 0.20287209749221802, 0.8219354152679443, 0.2685295343399048, 0.6151988506317139, -0.014466983266174793, -0.5513281226158142, -0.472898930311203, -0.1790134757757187, -0.1438676416873932, 0.40912923216819763, 0.8864704370498657, -0.43471434712409973, -0.5286073088645935, 0.36083829402923584, 0.012906587682664394, -0.25690895318984985, -0.5555004477500916, 0.7743297815322876, 0.2569332718849182, 0.04945677891373634, 0.7777842879295349, 0.0036596045829355717, 0.39990514516830444, -0.19124285876750946, 0.14350758492946625, 0.06455502659082413, 0.1075127050280571, -0.36328691244125366, -0.9279499053955078, 0.45516064763069153, 0.1948857605457306, -0.29868102073669434, 0.11616764962673187, 0.7880892157554626, -0.44114693999290466, -0.6935661435127258, 0.26570457220077515, 0.19732880592346191, -0.016249287873506546, -0.10626766085624695, -0.6637149453163147, 0.2831665277481079, -0.1048891693353653, -0.3244503438472748, 0.07221750915050507, 0.8813855051994324, -0.08779928088188171, 0.9064253568649292, 0.16407474875450134, -0.1435350775718689, -0.03781672567129135, 0.46315354108810425, 0.969231128692627, -0.6472212076187134, -0.5125074982643127, -0.9802817106246948, 0.5062112212181091, -0.32726967334747314, -0.11260463297367096, 0.5453563928604126, 0.4861869215965271, 0.42459338903427124, -0.128906711935997, 0.9681509733200073, 0.004081673454493284, 0.6515968441963196, -0.34853318333625793, 0.6763800978660583, -0.558887243270874, 0.20919667184352875, -0.49355030059814453, -0.7893162965774536, -0.47672319412231445, 0.32241544127464294, -0.2953311800956726, -0.1441154032945633, 0.38218453526496887, 0.6565537452697754, -0.21594074368476868, 0.04525236040353775, 0.053847331553697586, 0.36143410205841064, 0.21083851158618927, 0.39763563871383667, 0.8939979672431946, -0.11119207739830017, 0.6489973068237305, -0.06777332723140717, -0.49782446026802063, -0.5138110518455505, -0.7478048801422119, -1.2159706354141235, -0.7395303845405579, -0.2874518036842346, -0.20868812501430511, 0.01381014846265316, 0.9329158067703247, 0.2893683612346649, -0.674179196357727, 0.18410354852676392, 0.19361981749534607, 0.20706339180469513, 0.3146325945854187, -0.2470245361328125, 0.4032055139541626, -0.24175800383090973, -0.2854762375354767, 0.4946601390838623, 0.5134316682815552, 0.2608661949634552, -0.05230347067117691, 0.12154296785593033, 0.001347921323031187, 0.12933386862277985, 0.7882733345031738, 0.050689395517110825, -0.42480048537254333, -0.31322264671325684, -0.19098711013793945, -0.18360355496406555, -0.2503768801689148, 0.634384274482727, -0.23916921019554138, 0.03830357640981674, 0.40799978375434875, 0.8983608484268188, -0.010713991709053516, 0.07711010426282883, -0.015877390280365944, -0.8689797520637512, 0.025244208052754402, 0.08720359206199646, 0.1851653754711151, 0.6407198309898376, -0.7675724625587463, 0.3005390763282776, 0.11473895609378815, -0.45440220832824707, -0.9465058445930481, 0.1772005558013916, -0.7950836420059204, -0.21716776490211487, 1.340798258781433, 0.18368807435035706, -0.03442666679620743, -0.22040395438671112, -0.3156889081001282, 0.6212946772575378, -0.5777916312217712, 1.24541437625885, 0.4566328823566437, 0.3728245198726654, -0.5183612704277039, -0.4980725646018982, 0.3841242492198944, -0.32665154337882996, -1.0035779476165771, 0.08763221651315689, 0.2717806100845337, 0.30787041783332825, 0.2564544081687927, 0.3899664878845215, 0.43214523792266846, 0.11762745678424835, -0.5920126438140869, 0.0834217295050621, 0.12352797389030457, -0.6984021067619324, -0.07779917865991592, 0.3013901114463806, -0.4222899377346039, -0.06598851084709167 ]
http://arxiv.org/abs/2406.11097v2
http://arxiv.org/pdf/2406.11097v2
InstructCMP: Length Control in Sentence Compression through Instruction-based Large Language Models
2024-06-16T23:00:47
2024-06-18T18:35:52
Juseon-Do, Jingun Kwon, Hidetaka Kamigaito, Manabu Okumura
cs.CL
cs.CL, cs.AI, I.2.7
Extractive summarization can produce faithful summaries but often requires additional constraints such as a desired summary length. Traditional sentence compression models do not typically consider the constraints because of their restricted model abilities, which require model modifications for coping with them. To bridge this gap, we propose Instruction-based Compression (InstructCMP), an approach to the sentence compression task that can consider the length constraint through instructions by leveraging the zero-shot task-solving abilities of Large Language Models (LLMs). For this purpose, we created new evaluation datasets by transforming traditional sentence compression datasets into an instruction format. By using the datasets, we first reveal that the current LLMs still face challenges in accurately controlling the length for a compressed text. To address this issue, we propose an approach named "length priming," that incorporates additional length information into the instructions without external resources. While the length priming effectively works in a zero-shot setting, a training dataset with the instructions would further improve the ability of length control. Thus, we additionally created a training dataset in an instruction format to fine-tune the model on it. Experimental results and analysis show that applying the length priming significantly improves performances of InstructCMP in both zero-shot and fine-tuning settings without the need of any model modifications.
[ -0.13609842956066132, -0.6258542537689209, 0.6078841686248779, 0.19895149767398834, -0.4630029499530792, 0.011944741010665894, -0.5567322373390198, -0.23125681281089783, 0.11752849072217941, 0.6530662178993225, -0.544940173625946, -0.431241899728775, -0.9285263419151306, 0.17172951996326447, -0.272625595331192, 0.9967312812805176, -0.10782822221517563, -0.04198092594742775, -0.4716854691505432, 0.3445090055465698, -0.8022923469543457, -0.41743871569633484, -0.05715591087937355, -0.1343444287776947, 0.08559591323137283, 1.030792474746704, 0.64467853307724, 0.9979293346405029, 0.5196508169174194, 0.18630659580230713, -0.05265652760863304, 0.36843574047088623, -0.42472368478775024, 0.13114193081855774, 0.17711567878723145, -0.5779000520706177, -0.14853988587856293, -0.06329597532749176, 0.7350051999092102, 0.7515134215354919, -0.07680419832468033, 0.26052868366241455, 0.3249202370643616, 0.7535483241081238, -1.0014888048171997, 0.3803955018520355, -0.3455715477466583, 0.15431474149227142, 0.13823874294757843, -0.7088183164596558, -0.6546609401702881, -0.13864947855472565, -0.24768328666687012, -0.10879901051521301, 0.08473265171051025, 0.10450132936239243, 0.6875205039978027, 0.2757771611213684, -0.2887093126773834, -0.2470434457063675, -0.8253580927848816, 0.7655368447303772, -1.0410739183425903, 0.022126851603388786, 0.26535555720329285, -0.0003263286780565977, -0.06262347102165222, -0.3637021481990814, -0.3408620357513428, -0.20571370422840118, -0.12273071706295013, 0.141546830534935, 0.04522588849067688, 0.3613570034503937, 0.4537416994571686, 0.46351712942123413, -0.765001118183136, 0.34286463260650635, -0.6121631860733032, 0.09838169813156128, 0.5361225605010986, 0.3716742992401123, 0.2961329221725464, -0.2621592581272125, -0.29441747069358826, -0.02448386512696743, -0.8607619404792786, 0.005058462265878916, 0.44703730940818787, 0.29477277398109436, -0.12400566041469574, 1.0195039510726929, -0.46818768978118896, 0.8806084990501404, -0.05658126622438431, -0.16655218601226807, -0.024869240820407867, 0.06073266640305519, -0.4828629195690155, 0.4424656629562378, 0.6715620756149292, 0.5756343007087708, 0.18377499282360077, -0.3158072829246521, -0.26761871576309204, -0.10886260867118835, 0.09620972722768784, -1.2637206315994263, 0.10053441673517227, 0.3070203363895416, -0.5528662800788879, -0.26688152551651, 0.2566468119621277, -0.614211916923523, 0.07850652188062668, -0.5537211894989014, 0.5187895894050598, -0.47953203320503235, 0.4161979556083679, 0.6157203912734985, -0.2093309611082077, 0.19818666577339172, -0.18501776456832886, -1.228033185005188, 0.5891262292861938, 0.798123836517334, 1.1488255262374878, -0.04353015497326851, -0.11121152341365814, -0.7288463115692139, 0.3706904947757721, -0.16099174320697784, 0.5704177618026733, -0.6860565543174744, -0.5186831951141357, -0.06141357123851776, 0.08870703727006912, -0.016926156356930733, -0.36925560235977173, 0.40374556183815, -0.17697031795978546, 0.3827700614929199, 0.23697292804718018, -1.118402361869812, 0.0043151238933205605, 0.1919136643409729, -0.3214253783226013, 0.44347894191741943, 0.05601061135530472, -0.6105420589447021, -0.08689434826374054, -0.5999068021774292, -0.6225854158401489, 0.12041181325912476, -0.04643445461988449, -0.3389841616153717, 0.32986927032470703, 0.6502297520637512, 0.784679114818573, -0.17952772974967957, 0.07301870733499527, 0.015961473807692528, -0.6603078842163086, 0.005023977719247341, -0.5560989379882812, 0.5734876990318298, -0.00021504044707398862, -0.04326992109417915, 0.19391748309135437, -0.697619616985321, 0.32567647099494934, -0.031089434400200844, -0.33343765139579773, -0.03762373700737953, -0.0857071802020073, -0.4844607412815094, 0.017829162999987602, 0.3261795938014984, -0.5963189005851746, 0.5616061687469482, -0.6748197674751282, 0.41078078746795654, 0.5691814422607422, 0.4390065371990204, 0.6060613393783569, -0.5441726446151733, 0.7755516171455383, -0.4371674656867981, 0.38705262541770935, -0.643211841583252, -0.08740130811929703, -0.7081221342086792, -0.13335561752319336, 0.418420672416687, 0.8339853286743164, -0.7949507832527161, 0.6699601411819458, -0.5986286997795105, -0.39930784702301025, -0.24140502512454987, -0.031314536929130554, 0.46509093046188354, 0.5051907896995544, 0.5951944589614868, -0.35369083285331726, -0.36181071400642395, -0.8137367367744446, 0.0068550012074410915, 0.14668917655944824, -0.46641838550567627, 0.09418323636054993, 0.3671340346336365, 0.4253584146499634, 0.7101498246192932, -0.9581069350242615, -0.24660377204418182, -0.5680510401725769, 0.3883204460144043, 0.2110256403684616, 0.6215620636940002, 0.1947842687368393, -0.43204376101493835, -0.3476871848106384, -0.5597817301750183, -0.5552445650100708, -0.29504919052124023, -0.20680129528045654, 0.24118438363075256, -0.11034902185201645, 0.42351624369621277, -0.6072872281074524, 0.5256736874580383, 0.6430144906044006, -0.09682291001081467, 0.8858613967895508, -0.5369768142700195, 0.18714118003845215, -0.9191206693649292, -0.34189024567604065, -0.2307571917772293, -0.21337944269180298, -0.26206013560295105, -0.037820007652044296, 0.21270279586315155, -0.37881070375442505, -0.5140477418899536, 0.007776146288961172, -0.7210878729820251, 0.056785374879837036, -0.6045351028442383, -0.22348898649215698, 0.18911893665790558, 0.7341626882553101, 0.09610255062580109, 0.7188006043434143, 0.30728596448898315, -0.6465854048728943, 0.31541693210601807, 0.37094685435295105, -0.5900257229804993, 0.24289920926094055, -0.7772842645645142, 0.15466944873332977, -0.25327545404434204, 0.13519319891929626, -0.44664379954338074, -0.3232868015766144, 0.2278033345937729, -0.36950281262397766, 0.6545597910881042, -0.3359060287475586, -0.735493540763855, -0.12780490517616272, -0.4006672501564026, -0.008945857174694538, 0.7176504731178284, -0.2625105679035187, 0.18596994876861572, 0.05971021205186844, -0.3965914249420166, -0.6470316052436829, -0.6896214485168457, 0.34654727578163147, -0.19181691110134125, -0.40037229657173157, 0.7488106489181519, -0.34831464290618896, 0.09951493889093399, -0.04006374627351761, -0.0976681187748909, -0.1300005316734314, -0.1224784329533577, 0.34609782695770264, 0.30744287371635437, -0.03541700541973114, 0.2517954409122467, 0.44135621190071106, -0.028893055394291878, 0.1384941041469574, -0.27759021520614624, 0.6179603934288025, 0.3153549134731293, -0.11510399729013443, -0.7147663831710815, 0.589414656162262, 0.3175405263900757, -0.35441121459007263, 0.8591639995574951, -0.02853585034608841, -0.13143189251422882, -0.4403262734413147, -0.27629342675209045, -0.4581662714481354, -0.40446189045906067, 0.2548232078552246, 0.008683481253683567, -0.9081135392189026, -0.11587437987327576, -0.19973768293857574, 0.013975328765809536, 0.04288214072585106, 0.2938840091228485, 0.06750207394361496, 0.8872746825218201, 1.0178511142730713, -0.07449366897344589, 0.5451048612594604, -0.32453835010528564, -0.011021334677934647, -0.7832329869270325, -0.13907846808433533, -0.483993262052536, -0.4109291732311249, 0.08395563066005707, -0.4000716507434845, 0.3398197591304779, 0.12250189483165741, -0.09674093872308731, 0.4639204740524292, -0.703123927116394, 0.9572322964668274, 0.369437575340271, 0.3733939826488495, 0.09090117365121841, -0.18531210720539093, 0.3674199879169464, -0.08186686038970947, -0.8423276543617249, -0.5213918685913086, 0.9721895456314087, 0.1260710507631302, 0.7406484484672546, -0.16006477177143097, 0.6263904571533203, 0.25594374537467957, -0.10570051521062851, -0.9934232831001282, 0.6208319664001465, -0.2412787675857544, 0.08713754266500473, -0.3847317397594452, -0.6182081699371338, -0.7749529480934143, -0.14026421308517456, -0.15252037346363068, -0.7051964998245239, -0.07864778488874435, 0.044117748737335205, -0.46087226271629333, 0.23474682867527008, -0.6640582084655762, 0.6634231805801392, -0.47050711512565613, -0.023478500545024872, -0.10280153900384903, -0.7645460367202759, 0.2913832664489746, 0.4357476830482483, -0.07272335886955261, -0.04598313570022583, -0.10391184687614441, 0.8047370910644531, -0.7553730010986328, 0.9478044509887695, 0.07131624221801758, 0.18464522063732147, 0.2757185399532318, 0.096106618642807, 0.521877646446228, -0.2262452393770218, 0.2567422688007355, -0.07012812048196793, 0.0345834381878376, -0.30030345916748047, -1.0002509355545044, 0.4899551570415497, -0.2671980857849121, -0.6048282980918884, -0.09238845109939575, -0.8284116387367249, -0.30472034215927124, 0.042441241443157196, 0.3887966275215149, 0.7398853898048401, -0.04379269853234291, 0.5103329420089722, 0.6832438111305237, -0.26029300689697266, 0.704685389995575, 0.5013667345046997, 0.13763175904750824, -0.35136598348617554, 0.6359314918518066, 0.2776801288127899, 0.467122346162796, 0.9087161421775818, 0.21733275055885315, -0.09970120340585709, -0.6529427170753479, -0.46423009037971497, -0.05710916966199875, -0.485821008682251, -0.5545907020568848, -0.4079821705818176, -0.33885449171066284, -0.4757869243621826, -0.26003462076187134, -0.1610981523990631, -0.6398072838783264, -0.3416152894496918, -0.22070634365081787, 0.11555404961109161, 0.48525771498680115, 0.09186570346355438, 0.5924150943756104, -1.0830979347229004, 0.18231995403766632, 0.04988399147987366, 0.22369971871376038, -0.17330101132392883, -0.8613231778144836, -0.500984787940979, -0.15686367452144623, -0.3253038227558136, -1.0626981258392334, 0.5857009291648865, 0.2824379503726959, -0.08865789324045181, 0.47632870078086853, 0.2715202569961548, 0.6493052840232849, -0.7376999855041504, 0.8046859502792358, 0.09191618859767914, -0.9946403503417969, 0.5952398180961609, 0.0880378782749176, 0.7407673001289368, 0.22610321640968323, 0.46000587940216064, -0.4402889609336853, -0.3908478915691376, -0.46273791790008545, -0.8832636475563049, 0.5321632027626038, 0.22960086166858673, 0.4083836078643799, -0.0029464447870850563, 0.4362284541130066, 0.07941514998674393, 0.2431289106607437, -0.3667658865451813, 0.030484160408377647, 0.11133803427219391, -0.3477923274040222, 0.0013544682879000902, -0.7251761555671692, -0.00007339625881286338, 0.051496922969818115, 0.7691155672073364, -0.1340855211019516, 0.0905260294675827, 0.13465836644172668, -0.21893030405044556, 0.12554201483726501, 0.7251946926116943, 0.5349392294883728, 0.6561950445175171, -0.2795701026916504, 0.09070169180631638, 0.0528116375207901, -0.3604503273963928, 0.14486831426620483, 0.153335303068161, -0.20818570256233215, -0.03494375944137573, 0.6225065588951111, 0.6598100662231445, 0.3414173722267151, -0.9466135501861572, 0.7716494202613831, 0.024890122935175896, -0.03667280822992325, -0.2545381486415863, 0.28582173585891724, -0.30762559175491333, -0.06889787316322327, -0.026562470942735672, -0.19052137434482574, 0.24398861825466156, -0.2651218771934509, 0.0848352462053299, 0.23031453788280487, -0.42314720153808594, -0.03704775869846344, 0.5221036076545715, -0.009049933403730392, -0.21268826723098755, 0.9037743806838989, -0.044933006167411804, -0.25133809447288513, 0.7299782037734985, 0.5821620225906372, 0.6619895696640015, -0.10864683985710144, 0.17427146434783936, 0.3142986297607422, 0.48757991194725037, -0.21701060235500336, 0.2010626643896103, -0.1653636395931244, -0.4376141130924225, -0.901655375957489, -0.3851734399795532, -0.41724681854248047, 0.2376980036497116, -0.8376433253288269, 0.35540473461151123, -0.5000691413879395, 0.3415479063987732, -0.24235938489437103, -0.08661019057035446, -0.25295424461364746, 0.1687796413898468, 0.12143372744321823, 1.1267794370651245, -0.700002133846283, 0.5494293570518494, -0.08913476765155792, -0.4955453872680664, -0.8114168643951416, -0.05235712602734566, -0.14155684411525726, -0.22837331891059875, 0.4035288095474243, 0.6456983089447021, 0.003151331562548876, -0.14123034477233887, -0.9766685366630554, -0.40299490094184875, 1.0499895811080933, 0.5856688618659973, -0.7189823985099792, -0.1457432508468628, 0.18794581294059753, 0.2521217167377472, -0.524324893951416, -0.1339970976114273, 0.35064148902893066, 0.1613112837076187, -0.006299630273133516, -0.748069167137146, -0.02505399100482464, 0.02371746115386486, -0.03853415697813034, 0.30545762181282043, -0.3704011142253876, 0.5301757454872131, -0.3858877718448639, -0.3104129433631897, 0.2958943545818329, 0.8967581987380981, -0.24531058967113495, -0.0224519744515419, 0.24426817893981934, 0.5734891295433044, 0.45583051443099976, 0.20233599841594696, 1.1535053253173828, -0.553364098072052, 0.16693150997161865, 1.5786534547805786, -0.1534247100353241, 0.8975604772567749, 0.29601043462753296, 0.17798902094364166, 0.4793132245540619, 0.203007310628891, -0.23745019733905792, 0.38446474075317383, 0.3074518144130707, -0.2434522807598114, -0.12237711250782013, -0.21681708097457886, -0.052784863859415054, 0.6170133948326111, 0.3094973564147949, -0.5754254460334778, 0.019956249743700027, 0.10895077884197235, 0.30819517374038696, 0.2176389992237091, -0.4851420223712921, 0.6341511011123657, -0.031938184052705765, -0.6636294722557068, 0.38085469603538513, 0.2774973213672638, 0.5513630509376526, -0.9169336557388306, -0.2168407440185547, 0.1089128851890564, -0.1110570952296257, -0.06109173595905304, -0.8284263014793396, 0.40331295132637024, 0.13299421966075897, -0.38384750485420227, -0.48665282130241394, 0.6064459681510925, -0.6073235869407654, -0.46074914932250977, -0.23531045019626617, 0.257463276386261, 0.31619247794151306, -0.25490298867225647, -0.2773972451686859, -0.1631411463022232, -0.13220584392547607, -0.1100403442978859, 0.28437843918800354, 0.22492735087871552, 0.16005375981330872, 0.6306200623512268, 0.45422935485839844, 0.3001348078250885, -0.27946335077285767, -0.12062033265829086, 0.7388693690299988, -0.5131095051765442, -0.4949969947338104, -1.0193169116973877, 0.25602036714553833, -0.18523702025413513, -0.06578201055526733, 0.538816511631012, 0.8262932896614075, 0.7272982001304626, -0.3247937560081482, 0.6485992670059204, -0.12961497902870178, 0.2849443852901459, -1.0181480646133423, 0.42891594767570496, -0.2786862552165985, 0.28441914916038513, 0.09288345277309418, -0.6606541275978088, -0.3656896948814392, 0.03352012485265732, -0.36460211873054504, -0.2296496480703354, 0.7127674221992493, 0.738878071308136, -0.0025342730805277824, -0.17762915790081024, 0.44707465171813965, 0.1439107060432434, 0.13433919847011566, 0.77252197265625, 0.53254634141922, -0.036592572927474976, 0.7994859218597412, -0.7072983384132385, -0.3480822443962097, 0.04953595623373985, -1.1001710891723633, -0.9225941896438599, -0.3508705198764801, -0.326350599527359, -0.06090385839343071, 0.0455881729722023, 0.9616138339042664, 0.7722958326339722, -0.4539618194103241, -0.1741904765367508, 0.04929310455918312, -0.14539885520935059, -0.47087740898132324, -0.27235546708106995, 0.5034967660903931, -0.4193996787071228, -0.7654535174369812, 0.665446937084198, 0.658726155757904, 0.25150585174560547, -0.1528196632862091, 0.17495089769363403, 0.09724877029657364, 0.20802289247512817, 0.585452139377594, 0.3012561798095703, -0.2507126033306122, -0.24824243783950806, -0.1772213578224182, 0.21558256447315216, 0.05217365175485611, 1.0869024991989136, -0.6782004833221436, 0.3383842408657074, 0.4796862006187439, 0.5380539894104004, 0.29182466864585876, 0.09879998117685318, 0.727214515209198, -1.1982970237731934, 0.3778015971183777, 0.3715302646160126, 0.500123143196106, 0.3638055622577667, -0.6833654642105103, 0.4566831886768341, -0.11480361223220825, -0.7279630899429321, -0.5851256847381592, 0.3392230272293091, -0.9122259020805359, -0.6149342060089111, 0.9857362508773804, -0.2735540270805359, -0.22267015278339386, 0.36040961742401123, -0.3863774836063385, 0.2778197228908539, -0.23619221150875092, 0.9642715454101562, 0.626853346824646, -0.22849082946777344, -0.44226232171058655, -0.46281012892723083, 0.28697195649147034, 0.296875536441803, -0.9701823592185974, 0.17546400427818298, 0.6159247756004333, 0.05176278203725815, -0.12536559998989105, 0.19725053012371063, -0.04590355604887009, 0.1501610428094864, -0.22725200653076172, 0.13192228972911835, -0.5898720622062683, -0.5879162549972534, -0.36807772517204285, 0.38731423020362854, -0.2797616720199585, -0.34491896629333496 ]
http://arxiv.org/abs/2406.11096v2
http://arxiv.org/pdf/2406.11096v2
The Potential and Challenges of Evaluating Attitudes, Opinions, and Values in Large Language Models
2024-06-16T22:59:18
2024-07-01T10:04:09
Bolei Ma, Xinpeng Wang, Tiancheng Hu, Anna-Carolina Haensch, Michael A. Hedderich, Barbara Plank, Frauke Kreuter
cs.CL
cs.CL
Recent advances in Large Language Models (LLMs) have sparked wide interest in validating and comprehending the human-like cognitive-behavioral traits LLMs may have. These cognitive-behavioral traits include typically Attitudes, Opinions, Values (AOV). However, measuring AOV embedded within LLMs remains opaque, and different evaluation methods may yield different results. This has led to a lack of clarity on how different studies are related to each other and how they can be interpreted. This paper aims to bridge this gap by providing an overview of recent works on the evaluation of AOV in LLMs. Moreover, we survey related approaches in different stages of the evaluation pipeline in these works. By doing so, we address the potential and challenges with respect to understanding the model, human-AI alignment, and downstream application in social sciences. Finally, we provide practical insights into evaluation methods, model enhancement, and interdisciplinary collaboration, thereby contributing to the evolving landscape of evaluating AOV in LLMs.
[ -0.3942784368991852, -0.7712156176567078, 0.86918705701828, 0.075576551258564, -0.025983864441514015, 0.23972973227500916, -0.5205268859863281, -0.42246612906455994, -0.11974775046110153, 0.3297605514526367, -0.49707284569740295, -0.37611979246139526, -0.782267153263092, -0.0879189521074295, -0.10192888230085373, 0.8568722605705261, -0.06503905355930328, 0.3083544969558716, -0.44973257184028625, -0.4461170732975006, -0.35380250215530396, -0.7124173045158386, -0.7205130457878113, -0.6190832257270813, 0.36844050884246826, 0.1519831120967865, 0.8072196245193481, 0.3131970465183258, 0.4869372248649597, 0.3175121247768402, -0.3733721673488617, -0.03603365272283554, -0.5247864127159119, 0.0827571302652359, -0.19397182762622833, -0.3595302402973175, -0.6262396574020386, 0.29939958453178406, 0.8262409567832947, 0.8819242715835571, -0.16111503541469574, 0.3260791301727295, 0.20249652862548828, 0.9631252288818359, -0.6737557053565979, 0.37691566348075867, -0.36537209153175354, -0.1524229645729065, -0.0929609164595604, 0.24695086479187012, -0.2600122094154358, -0.48777803778648376, 0.39169177412986755, -0.16421714425086975, -0.4376237094402313, 0.013218803331255913, 0.6711679697036743, -0.004838420078158379, -0.7286964654922485, -0.5612375140190125, -0.6418073773384094, 1.1431756019592285, -0.7715370059013367, 0.3492281436920166, 0.08958027511835098, 0.13037677109241486, -0.14424088597297668, -0.2393277883529663, -0.7422894835472107, -0.18235689401626587, 0.23932935297489166, 0.012956677936017513, -0.19570371508598328, 0.0297681987285614, -0.2548291087150574, 0.4967886209487915, -0.11695796251296997, 0.2663017809391022, -0.13665787875652313, 0.04805687442421913, 0.9257881045341492, 0.43478259444236755, 0.16470591723918915, -0.35753852128982544, -0.1930738240480423, -0.0830322727560997, -0.6385634541511536, 0.3704427182674408, 0.6421805620193481, -0.012483353726565838, -0.17100702226161957, 0.6229386925697327, -0.15060307085514069, 0.5668140649795532, 0.02623271942138672, 0.07598095387220383, 0.45779740810394287, -0.22291719913482666, -0.13751235604286194, -0.3269984722137451, 0.9652314782142639, 0.36414456367492676, 0.3869681656360626, 0.023591313511133194, -0.18641412258148193, 0.11535019427537918, 0.23537129163742065, -0.41532692313194275, 0.1833663433790207, 0.44053447246551514, -0.6345463395118713, -0.5556407570838928, -0.010569131001830101, -0.6598649621009827, -0.692566990852356, -0.5806582570075989, 0.30016258358955383, -0.2383822202682495, -0.4773624539375305, 0.048455044627189636, -0.011276233941316605, 0.5500221252441406, 0.6207769513130188, -0.6798031330108643, 0.2630361318588257, 1.066335916519165, 0.7193664312362671, -0.5295566916465759, -0.3089097738265991, -0.13374212384223938, -0.1856750100851059, -0.47871050238609314, 0.677016019821167, -0.8039323091506958, -0.4121456444263458, -0.0005923348944634199, -0.19209586083889008, 0.1670610010623932, -0.37793731689453125, 0.48165854811668396, -0.534753680229187, -0.02633066475391388, -0.5768922567367554, -0.5518673062324524, -0.1226642057299614, 0.5208847522735596, -0.47327685356140137, 0.984683096408844, -0.03788631781935692, -0.6202517747879028, 0.19338934123516083, -0.7529693841934204, -0.27251115441322327, -0.2201119363307953, -0.20477387309074402, -0.2171977162361145, 0.3559320569038391, -0.005007264204323292, 0.4324674606323242, -0.5801450610160828, 0.2577826976776123, -0.5192458629608154, -0.10808878391981125, 0.6392614841461182, -0.4133298993110657, 1.0149997472763062, 0.25198543071746826, -0.006820653099566698, 0.4233952462673187, -0.5191299319267273, 0.011014771647751331, 0.13174226880073547, -0.2285403460264206, -0.488637238740921, 0.2050272524356842, -0.1408282369375229, 0.17994458973407745, 0.4652402698993683, -0.569945216178894, 0.206330344080925, -0.37126433849334717, 0.74214106798172, 1.0693327188491821, 0.0691072940826416, 0.6130656599998474, -0.10480597615242004, 0.6244359016418457, -0.17981559038162231, 0.44105592370033264, 0.1553892195224762, -0.3908407390117645, -0.6802608966827393, -0.16306589543819427, 0.050860702991485596, 0.21212653815746307, -0.32907867431640625, 0.3570517599582672, -0.2859821617603302, -0.8749917149543762, -0.8683029413223267, 0.1532364934682846, 0.37441304326057434, 0.23525993525981903, 0.10448669642210007, -0.46797001361846924, -0.18348300457000732, -0.8299431204795837, -0.500684916973114, -0.583757758140564, 0.1191997230052948, 0.5257397890090942, 0.5597320795059204, -0.09655231237411499, 0.9925578832626343, -0.3718615174293518, 0.018864920362830162, -0.13690833747386932, 0.32078126072883606, 0.16713209450244904, 0.13872914016246796, 0.20231658220291138, -0.5979568958282471, -0.24073871970176697, 0.08252903819084167, -0.7239485383033752, -0.15761104226112366, 0.44326460361480713, 0.06136889010667801, 0.08761334419250488, 0.3146072328090668, -0.5518486499786377, 0.21453797817230225, 0.8798749446868896, -0.25207459926605225, 0.583306610584259, 0.1054607629776001, 0.5215965509414673, -0.6289002299308777, -0.1835969090461731, 0.23635011911392212, -0.02644878625869751, -0.5267560482025146, 0.157614067196846, -0.1882389485836029, 0.12779755890369415, -0.6127694845199585, 0.6874189972877502, -0.5615012645721436, -0.286888062953949, -0.1493101269006729, 0.2342674285173416, 0.05814989656209946, 0.19035236537456512, 0.08847443014383316, 0.46206849813461304, 0.47215917706489563, -0.4089919924736023, 0.6405125856399536, 0.11119508743286133, -0.6644435524940491, 0.7467729449272156, -0.734724760055542, 0.4165571928024292, -0.3193463385105133, 0.2641882002353668, -0.9266350269317627, 0.13661186397075653, 0.10088711977005005, -0.42508187890052795, 0.021889621391892433, -0.25849080085754395, -0.315479040145874, -0.06087568402290344, -0.5202156901359558, 0.4714687168598175, 0.4687974154949188, -0.18866059184074402, 0.6681618690490723, 0.8234587907791138, -0.38674867153167725, -0.5394147634506226, -0.2848985493183136, 0.10032538324594498, -0.3300633728504181, -0.5757714509963989, 0.04843168333172798, 0.021546801552176476, -0.9445986747741699, 0.06475108116865158, 0.028561513870954514, 0.09361926466226578, 0.0755138248205185, 0.20126429200172424, 0.37707123160362244, -0.22776667773723602, 0.08083516359329224, -0.21109993755817413, 0.12844282388687134, 0.21173296868801117, -0.11029545217752457, 0.3184514343738556, -0.7064583897590637, -0.5619325041770935, -0.021099135279655457, 0.20303267240524292, 0.7170323133468628, -0.4251703917980194, 0.6748600006103516, 0.29790884256362915, -0.2683427929878235, 0.0355282761156559, -0.6002278327941895, 0.023878274485468864, -0.37878549098968506, 0.61190265417099, -0.09910545498132706, -0.9294938445091248, 0.3375687599182129, -0.03168294578790665, 0.11494505405426025, 0.3819003999233246, 0.9356299638748169, -0.25321903824806213, 0.9066615104675293, 0.5028542280197144, -0.014563746750354767, 0.3373752534389496, 0.002022208645939827, 0.40454772114753723, -1.3881076574325562, -0.2749488353729248, -0.4864509105682373, -0.08019670099020004, -0.33510756492614746, -0.5014039278030396, 0.48596104979515076, -0.028994083404541016, -0.24857357144355774, -0.14285945892333984, -0.16372013092041016, 0.254625141620636, -0.17728854715824127, -0.01824365183711052, 0.47202759981155396, -0.4294743239879608, 0.24831724166870117, -0.13715426623821259, -0.3387167751789093, -1.012222409248352, 1.1815826892852783, 0.8037277460098267, 0.694145679473877, 0.2582482099533081, 0.19719082117080688, 0.43020644783973694, 0.749372661113739, -1.222355842590332, 0.5626435875892639, 0.05218309536576271, -0.8036637306213379, -0.7631065249443054, -0.20629103481769562, -0.8262413144111633, 0.49960625171661377, -0.38613516092300415, -1.0901905298233032, 0.1770317107439041, 0.02991511858999729, -0.10097498446702957, 0.2011364996433258, -0.67453932762146, 0.8795009851455688, -0.4283117949962616, -0.35429003834724426, -0.481301486492157, -0.37813806533813477, 0.4360768795013428, -0.11693999171257019, 0.4980475902557373, -0.3920827805995941, 0.00692960387095809, 0.7525712847709656, -0.3262659013271332, 0.7304668426513672, -0.05799144506454468, -0.4870525896549225, 0.450707346200943, -0.13271981477737427, 0.34528201818466187, -0.08926890045404434, -0.4905860126018524, 0.5423302054405212, 0.10301651060581207, -0.28942394256591797, -0.6953603625297546, 0.8191096782684326, -0.9153426289558411, -0.8187013268470764, -0.5403412580490112, -0.4864611327648163, -0.5063189268112183, -0.12241945415735245, -0.27968305349349976, 0.11905661970376968, -0.6693126559257507, 0.17389072477817535, 0.6599582433700562, -0.4393399953842163, 0.30528688430786133, 0.4652377963066101, -0.32125356793403625, -0.056927211582660675, 0.6768006682395935, -0.016596263274550438, 0.47363540530204773, 0.16951370239257812, 0.30521804094314575, -0.3093603551387787, -0.5874909162521362, -0.29875847697257996, 0.2668965458869934, -0.9541083574295044, 0.2547537386417389, -0.5136823058128357, 0.04801100865006447, -0.4290900230407715, -0.08610218018293381, -0.6956332921981812, -0.009482858702540398, -0.04679426550865173, 0.0409875325858593, 0.3672037422657013, 1.1844536066055298, 0.3176102042198181, 0.05940800905227661, -0.5850080847740173, 0.06487419456243515, 0.32396039366722107, 0.412384957075119, 0.4963189363479614, -0.41569647192955017, -0.07327616214752197, 0.15720224380493164, -0.17254120111465454, -0.931126058101654, 0.19201065599918365, -0.234366774559021, 0.4759511947631836, 0.3330939710140228, -0.032766975462436676, 0.6199955344200134, -0.4311571717262268, 0.9613575339317322, 0.06282707303762436, -1.233486294746399, 0.22400407493114471, -0.2019326090812683, 0.007566608022898436, 0.45240598917007446, 0.37728217244148254, -0.6233721375465393, -0.16170527040958405, -0.3942195773124695, -0.9380760192871094, 0.5644349455833435, 0.14299125969409943, 0.17565827071666718, 0.16364791989326477, 0.18610073626041412, 0.0373428650200367, 0.34686166048049927, -0.6377297043800354, -0.257882684469223, -0.011565896682441235, -0.2063625007867813, -0.18224625289440155, -0.14125707745552063, -0.07031290233135223, -0.21708588302135468, 0.6388624310493469, 0.049584802240133286, -0.008685063570737839, -0.04285271838307381, -0.22034816443920135, 0.01091915275901556, 0.7375909090042114, 0.14329007267951965, 0.7734352350234985, -0.16694104671478271, -0.028119364753365517, 0.32541388273239136, -0.22204025089740753, 0.279583603143692, -0.3387879729270935, 0.15559232234954834, -0.4269033968448639, 0.3357696831226349, 0.7228139638900757, 0.0594952329993248, -0.6783592104911804, 0.768713116645813, -0.003171722637489438, 0.20352190732955933, -0.46384739875793457, -0.19130373001098633, 0.2453279048204422, 0.19084547460079193, 0.20887349545955658, -0.13666322827339172, 0.0016205066349357367, -1.128440022468567, -0.40426546335220337, 0.639078676700592, -0.8332430124282837, -0.3661350607872009, 0.1689252406358719, 0.3226667046546936, -0.18088705837726593, 0.5455936789512634, 0.003947429824620485, -0.4382942318916321, 0.6404887437820435, 0.04066795855760574, 0.8288689255714417, -0.18445822596549988, 0.007562967017292976, -0.1666879802942276, 0.4269258677959442, 0.12374353408813477, 0.09462746232748032, 0.1799692064523697, -0.9930285811424255, -0.5444543361663818, -0.7268509864807129, -0.5248618721961975, 0.22316019237041473, -0.8221308588981628, 0.3427589237689972, -0.1856711059808731, -0.33765777945518494, 0.1806718111038208, -0.0793616771697998, -0.7526915669441223, 0.08940257877111435, 0.24586939811706543, 0.5393117666244507, -1.0179286003112793, 0.7966984510421753, 1.1341534852981567, -0.11247380077838898, -0.4757689833641052, 0.14378871023654938, 0.28832346200942993, -0.9398508667945862, 0.7011009454727173, -0.25443777441978455, -0.38556110858917236, -0.23653264343738556, -0.40231844782829285, -0.767310619354248, 0.8459867238998413, 0.12789057195186615, -0.38452965021133423, 0.041890546679496765, -0.07498989254236221, 0.67865389585495, -0.5066720247268677, 0.48897287249565125, 0.8154553771018982, 0.7857404351234436, -0.18787367641925812, -0.8310921788215637, -0.13132594525814056, -0.30608931183815, 0.18807655572891235, 0.06007979065179825, -0.9390108585357666, 0.7043187618255615, -0.12875992059707642, 0.027131306007504463, -0.22375313937664032, 0.8553048968315125, 0.3165477216243744, 0.1430685818195343, 0.6487358808517456, 0.2403741180896759, 0.5892823338508606, -0.030569564551115036, 1.1044602394104004, -0.034108612686395645, 0.3688432276248932, 0.7824607491493225, -0.61393803358078, 0.9150148034095764, 0.556118369102478, -0.4988979995250702, 0.45750296115875244, 0.5593906044960022, 0.15532760322093964, 0.1408742219209671, 0.436653196811676, -0.1232379749417305, -0.1906038522720337, -0.27302244305610657, -0.03709597885608673, 0.5824545621871948, 0.6318778395652771, -0.09350483864545822, 0.15694938600063324, -0.24608637392520905, 0.08507206290960312, 0.17039434611797333, -0.5593544840812683, 0.6915388107299805, 0.23421023786067963, -0.8330258131027222, 0.13882802426815033, 0.1489972174167633, 0.6653396487236023, -0.48712846636772156, -0.05526913329958916, 0.19203010201454163, -0.0582784004509449, -0.2845132648944855, -1.2576614618301392, 0.3033588230609894, 0.27995744347572327, -0.1250908076763153, -0.1790180653333664, 0.5120535492897034, -0.059626832604408264, -0.26225319504737854, 0.28359606862068176, 0.4740445017814636, 0.18501470983028412, 0.041661448776721954, -0.5839259624481201, 0.4678601920604706, -0.13358017802238464, -0.5674489736557007, 0.3089432716369629, 0.4822194576263428, -0.19153518974781036, 0.7472566962242126, 0.43496841192245483, 0.26713883876800537, -0.22836627066135406, 0.05029321834445, 0.6050002574920654, -0.6723431348800659, -0.1237359344959259, -1.0761417150497437, 0.42925095558166504, 0.11455010622739792, -0.46883952617645264, 0.7539352178573608, 0.2671573758125305, 0.6866222023963928, 0.11563132703304291, 1.0923808813095093, -0.057972878217697144, 0.1573641151189804, -0.538506805896759, 0.6222399473190308, -0.35543879866600037, 0.4682621657848358, -0.6763216257095337, -0.799470067024231, 0.196365624666214, 0.6179901957511902, -0.6478159427642822, 0.2100338488817215, 0.6187900900840759, 0.33503851294517517, 0.34248822927474976, -0.06033379212021828, 0.10371778905391693, 0.3470618426799774, 0.2834441363811493, 0.4362366199493408, 1.275443196296692, -0.24632637202739716, 0.23608404397964478, 0.0777660608291626, -0.4659155309200287, -0.12999354302883148, -1.230194091796875, -0.7953319549560547, -0.573401927947998, -0.4645327627658844, -0.39588773250579834, 0.07896598428487778, 1.081735610961914, 0.5030890703201294, -0.6534416675567627, -0.5529173612594604, 0.24615870416164398, 0.3222302794456482, -0.11129159480333328, -0.24284835159778595, 0.3343859016895294, 0.10059314966201782, -0.837804913520813, 0.09229931235313416, 0.5913811326026917, -0.16666944324970245, -0.8663795590400696, -0.2586013674736023, -0.1019812747836113, 0.4331582486629486, 0.7940061092376709, 0.20313940942287445, -0.9188380241394043, -0.3338761031627655, -0.12306181341409683, -0.07932727038860321, 0.07755567133426666, 0.7090418338775635, -0.5790194272994995, 0.387831449508667, 0.44261229038238525, 0.5350764989852905, 0.2566912770271301, -0.011191596277058125, 0.8360188603401184, -0.2890748381614685, -0.12450232356786728, 0.3809756636619568, 0.4732484221458435, 0.5315964221954346, -0.1592193841934204, 0.25561726093292236, -0.2110578566789627, -0.5718486905097961, -0.8882321119308472, 0.4595254957675934, -0.8878769874572754, -0.23390713334083557, 1.4005725383758545, -0.23815497756004333, -0.28459152579307556, -0.20104509592056274, -0.024697022512555122, 0.12773387134075165, -0.38062092661857605, 0.8037320971488953, 1.141054391860962, -0.29065003991127014, -0.0658668726682663, -0.682064950466156, 0.27300480008125305, 0.3907324969768524, -0.8636255860328674, 0.31109732389450073, 0.4245154559612274, 0.20286160707473755, 0.0410110168159008, 0.6001728177070618, -0.6159095764160156, -0.15512079000473022, -0.5004283785820007, 0.2502691447734833, 0.2936360538005829, 0.07695581018924713, -0.6546339988708496, -0.027830520644783974, 0.6040220856666565, 0.2601623237133026 ]
http://arxiv.org/abs/2406.11093v1
http://arxiv.org/pdf/2406.11093v1
RAEmoLLM: Retrieval Augmented LLMs for Cross-Domain Misinformation Detection Using In-Context Learning based on Emotional Information
2024-06-16T22:49:11
2024-06-16T22:49:11
Zhiwei Liu, Kailai Yang, Qianqian Xie, Christine de Kock, Sophia Ananiadou, Eduard Hovy
cs.CL
cs.CL
Misinformation is prevalent in various fields such as education, politics, health, etc., causing significant harm to society. However, current methods for cross-domain misinformation detection rely on time and resources consuming fine-tuning and complex model structures. With the outstanding performance of LLMs, many studies have employed them for misinformation detection. Unfortunately, they focus on in-domain tasks and do not incorporate significant sentiment and emotion features (which we jointly call affect). In this paper, we propose RAEmoLLM, the first retrieval augmented (RAG) LLMs framework to address cross-domain misinformation detection using in-context learning based on affective information. It accomplishes this by applying an emotion-aware LLM to construct a retrieval database of affective embeddings. This database is used by our retrieval module to obtain source-domain samples, which are subsequently used for the inference module's in-context few-shot learning to detect target domain misinformation. We evaluate our framework on three misinformation benchmarks. Results show that RAEmoLLM achieves significant improvements compared to the zero-shot method on three datasets, with the highest increases of 20.69%, 23.94%, and 39.11% respectively. This work will be released on https://github.com/lzw108/RAEmoLLM.
[ -0.3247257471084595, -0.8317123651504517, 0.3420357406139374, 0.32384589314460754, -0.13912560045719147, 0.18217049539089203, -0.07453293353319168, -0.690511167049408, 0.5959324836730957, 0.1690749228000641, -0.49555322527885437, -0.6642531156539917, -0.8015474081039429, 0.21134528517723083, -0.25169500708580017, 0.765219509601593, -0.14245177805423737, -0.02093752846121788, -0.42023965716362, -0.250783234834671, -0.24110020697116852, -0.3163376450538635, -0.22998055815696716, -0.4375852644443512, 0.43859782814979553, 0.7676534652709961, 0.37523382902145386, 0.050564780831336975, 0.5283645391464233, 0.08487247675657272, -0.1312149167060852, 0.4333384037017822, -0.6576352715492249, 0.46136248111724854, -0.2990325689315796, -0.5652370452880859, -0.15473809838294983, 0.07024189829826355, 0.4429738521575928, -0.05371459946036339, 0.028771188110113144, 0.03141823783516884, -0.18723297119140625, 0.8388437628746033, -0.9556387066841125, -0.11283963918685913, -0.6596164703369141, 0.24698767066001892, -0.225627601146698, -0.6216037273406982, -0.43625473976135254, -0.33845779299736023, -0.07296111434698105, -0.39163851737976074, -0.08140280097723007, 0.49972525238990784, 0.7368738651275635, 0.21233965456485748, -0.4920618534088135, -0.448722779750824, -0.12719424068927765, 1.0249199867248535, -0.6603339314460754, 0.5625292062759399, 0.46313783526420593, -0.060667604207992554, -0.016855118796229362, -0.3369116187095642, -0.5487864017486572, 0.1908629983663559, 0.028468100354075432, 0.4002106487751007, -0.5083969831466675, -0.19904650747776031, 0.09042181074619293, 0.298644095659256, -0.6603052020072937, -0.04239759221673012, 0.05467142164707184, -0.027656495571136475, 0.49958521127700806, 0.027490640059113503, 0.3699081242084503, -0.5490210652351379, -0.7277947664260864, 0.020322255790233612, -0.7864539623260498, -0.3966420590877533, 0.19615031778812408, 0.18442998826503754, -0.1756918877363205, 0.6765417456626892, -0.16004543006420135, 0.42083868384361267, 0.34780648350715637, -0.18932078778743744, 0.44731050729751587, 0.21553975343704224, -0.34765729308128357, 0.3562203645706177, 0.5271522402763367, 0.4393664002418518, -0.022262781858444214, -0.07528884708881378, -0.2669312655925751, 0.17547397315502167, 0.11023227125406265, -0.8815333843231201, 0.26745590567588806, 0.19912296533584595, -0.4903610348701477, -0.11358083039522171, -0.07844365388154984, -0.9576210975646973, -0.659911572933197, -0.2539260685443878, 0.5258840322494507, -0.7000824809074402, -0.27072498202323914, 0.16263830661773682, 0.10054538398981094, -0.002742999466136098, 0.4660260081291199, -0.4143766462802887, -0.05696408823132515, 0.6169057488441467, 0.7932115793228149, -0.5495871305465698, 0.08682230859994888, -0.5387793779373169, 0.004113950300961733, 0.0031477659940719604, 1.0285933017730713, -0.7458401322364807, -0.4470689594745636, 0.07920155674219131, -0.11633401364088058, -0.09814193099737167, -0.8567943572998047, 0.6586581468582153, -0.7456691265106201, 0.2198590487241745, -0.16390500962734222, -0.7635895609855652, -0.3393360674381256, 0.6983320116996765, -0.49222424626350403, 1.1571029424667358, 0.18417242169380188, -1.095088243484497, 0.10289731621742249, -0.44744834303855896, -0.4920697808265686, -0.09718024730682373, 0.047478582710027695, -0.5266087055206299, 0.05252863094210625, 0.11068782210350037, 0.5737167000770569, -0.41502314805984497, -0.017697617411613464, -0.30107542872428894, -0.2924748659133911, 0.32038119435310364, -0.31724727153778076, 0.3184603154659271, 0.20885583758354187, -0.3703596889972687, -0.1111336350440979, -0.3846032917499542, 0.014977649785578251, -0.2246302366256714, -0.3633722960948944, -0.6637693047523499, -0.44701242446899414, 0.06038645654916763, 0.40116915106773376, 0.008844573050737381, -0.651375949382782, -0.07794441282749176, -0.10522279143333435, -0.5218695402145386, 0.4563254714012146, 0.23746438324451447, 0.5091705322265625, -0.4603756070137024, 0.7825311422348022, 0.47944745421409607, 0.08173643797636032, -0.06571463495492935, -0.3833407461643219, -0.572684645652771, -0.22796760499477386, -0.053520623594522476, 0.7139416337013245, -0.9262330532073975, -0.0052267699502408504, 0.09523829817771912, -0.24573597311973572, -0.6008764505386353, 0.22059234976768494, 0.5698766708374023, 0.6725661158561707, 0.6409870386123657, -0.0664294958114624, -0.6463944315910339, -0.6540184617042542, -0.9097562432289124, 0.045192476361989975, 0.35979223251342773, 0.5261972546577454, 0.41476988792419434, -0.7282078266143799, 0.892428457736969, -0.2492683380842209, -0.5789008140563965, -0.186293825507164, 0.4674373269081116, 0.10740824788808823, 0.12068171799182892, 0.5000132322311401, -1.034420371055603, -0.6913689970970154, -0.028471074998378754, -0.8076145648956299, -0.3884657919406891, 0.19366790354251862, -0.20133067667484283, 0.5065862536430359, -0.04776058346033096, -0.5957245230674744, 0.5574125647544861, 0.4811765253543854, -0.2639266550540924, 0.47390076518058777, 0.3303453028202057, 0.5549465417861938, -1.217946171760559, -0.26616179943084717, 0.45787155628204346, -0.3859242796897888, -0.4337633550167084, -0.4146643877029419, 0.34271717071533203, 0.27928948402404785, -0.6913884878158569, 0.7774778008460999, -0.6127154231071472, 0.07527119666337967, -0.38528215885162354, 0.5655677318572998, 0.04888883978128433, 0.18926654756069183, -0.052043478935956955, 0.49495553970336914, 0.3145124316215515, -0.48025110363960266, 0.2837250530719757, 0.3059638440608978, -0.1251031905412674, 1.233441948890686, 0.0020925148855894804, 0.024167878553271294, -0.33524078130722046, 0.12491294741630554, -0.40535569190979004, -0.2912460267543793, 0.5350162386894226, -0.6347071528434753, 0.40286773443222046, -0.30181992053985596, -0.3815895915031433, 0.10418447107076645, -0.4260403513908386, 0.2235812246799469, 0.18341916799545288, -0.7365666627883911, 0.9088501334190369, 0.5295179486274719, 0.04835055023431778, -0.6915110945701599, -0.8471643924713135, 0.014120402745902538, -0.36312469840049744, -0.5313250422477722, 0.2431587427854538, -0.12348661571741104, -0.47476890683174133, 0.19985561072826385, -0.46738341450691223, -0.01746392995119095, -0.2600722908973694, 0.5371819734573364, 0.15344741940498352, -0.04857280105352402, 0.5213143825531006, 0.10989559441804886, -0.013546187430620193, 0.030002078041434288, -0.013190951198339462, 0.07010667771100998, -0.18567557632923126, -0.39129048585891724, -0.32241013646125793, 0.40713226795196533, 0.19182291626930237, -0.05110939219594002, 0.6927944421768188, 0.6501820683479309, -0.5882321000099182, -0.6450873017311096, -0.6473023295402527, -0.18628542125225067, -0.36957108974456787, 0.24272765219211578, -0.04395676776766777, -1.058566689491272, 0.2567131221294403, -0.5214745998382568, -0.5265148282051086, 0.4196687638759613, 0.3337990343570709, -0.1860504001379013, 0.6063178181648254, 0.4623583257198334, -0.31075331568717957, 0.5678108334541321, -0.3300110995769501, 0.12236131727695465, -0.8032370209693909, -0.47114256024360657, -0.25002336502075195, -0.4680314064025879, 0.00894138216972351, -0.7098749876022339, 0.38364866375923157, 0.12854115664958954, 0.048020172864198685, -0.19874164462089539, -0.1904485523700714, 0.49766865372657776, 0.14263223111629486, 0.29311612248420715, 0.3610706329345703, 0.17315039038658142, 0.10608021169900894, -0.25196772813796997, -0.6747663617134094, -0.18006116151809692, 0.7688601016998291, 0.14962300658226013, 1.25983726978302, 0.20859752595424652, 0.7415164113044739, 0.6511734127998352, 0.8746225237846375, -1.0003445148468018, 0.29901930689811707, 0.014602327719330788, -0.46635469794273376, 0.25085124373435974, -0.5985186100006104, -0.5427271127700806, 0.2642672657966614, -0.5267594456672668, -0.4270114004611969, 0.41503244638442993, 0.034346193075180054, 0.0726577565073967, 0.5461871027946472, -0.37245702743530273, 0.5086726546287537, -0.4446612298488617, -0.44441717863082886, -0.3939335346221924, -0.6250295639038086, 0.416221022605896, -0.19419682025909424, 0.26691898703575134, -0.29315435886383057, -0.022898409515619278, 0.6132317185401917, -0.012417306192219257, 0.8385035991668701, -0.2929079830646515, 0.06789866834878922, 0.2382567822933197, 0.2922306954860687, 0.5569995641708374, 0.2726411521434784, -0.3385944068431854, 0.024818161502480507, -0.36764490604400635, 0.05687322840094566, -0.577981173992157, 0.8709156513214111, -0.47915399074554443, -0.19708506762981415, -0.7043895125389099, -0.66608726978302, -0.37585169076919556, 0.08356086909770966, 0.16427409648895264, 0.2373592108488083, -0.17947620153427124, 0.32660043239593506, 1.1664466857910156, -0.18886660039424896, 0.1280951201915741, 0.833828866481781, -0.4033273160457611, -0.27308955788612366, 0.6923190951347351, -0.20876143872737885, 0.0943726897239685, 0.5011143088340759, -0.024454306811094284, -0.29224562644958496, -0.08511639386415482, -0.045860011130571365, 0.4556739628314972, -0.9261209964752197, -0.9141384363174438, -0.7627917528152466, -0.011195643804967403, -0.13801327347755432, 0.0046818978153169155, -0.3017197251319885, -0.094453826546669, -0.7789100408554077, -0.08809321373701096, 0.7823547720909119, 0.7747005224227905, -0.23412396013736725, 0.22773541510105133, -0.8692594766616821, 0.5991403460502625, -0.09457136690616608, 0.42966505885124207, -0.22917836904525757, -0.7586942315101624, -0.5666295289993286, 0.21630620956420898, -0.3953686058521271, -0.9778673052787781, 0.7995737791061401, 0.40916451811790466, 0.4079294204711914, 0.4334436058998108, 0.3092060983181, 0.6310734748840332, -0.002261810004711151, 0.3456253111362457, 0.12085621058940887, -0.897982656955719, 0.49251285195350647, 0.19748854637145996, 0.03287743404507637, 0.4260452389717102, 0.8971458673477173, -0.8903930187225342, -0.2088783234357834, -0.5472401976585388, -0.8021453619003296, 0.8343883752822876, -0.1606924682855606, -0.07814929634332657, -0.2497829794883728, 0.36740177869796753, 0.17148415744304657, 0.10390446335077286, -0.49384886026382446, -0.41737785935401917, 0.10569217801094055, -0.3813549876213074, 0.28535205125808716, -0.5624620914459229, -0.0268255528062582, 0.08578342944383621, 0.9896485805511475, -0.13849784433841705, 0.17794029414653778, 0.4235660433769226, -0.7187309861183167, -0.43566080927848816, 0.3153148591518402, 0.23047806322574615, 0.31504133343696594, -0.36032751202583313, 0.20304518938064575, 0.09384364634752274, -0.47234615683555603, 0.06309743970632553, 0.0582868866622448, 0.05125182867050171, 0.37498196959495544, 0.09651905298233032, 0.7861158847808838, 0.5595000386238098, -0.5820554494857788, 0.6231111884117126, -0.03368164598941803, -0.05152610316872597, -0.19272202253341675, -0.1991085410118103, -0.002566494047641754, 0.6969600915908813, 0.5617926120758057, 0.15834105014801025, 0.2040470987558365, -0.3960059583187103, 0.3409115672111511, 0.43489179015159607, -0.46538791060447693, -0.27649644017219543, 0.49974408745765686, 0.13003653287887573, -0.04842422902584076, 0.25138360261917114, -0.13570304214954376, -0.6290925145149231, 0.2797028720378876, 0.652675211429596, 0.9711291193962097, -0.4286669194698334, 0.39105644822120667, 0.07141759246587753, 0.20486538112163544, -0.1926567554473877, 0.6170973777770996, 0.004681962076574564, -0.7880578637123108, -0.023454569280147552, -0.5035558342933655, -0.6991652846336365, -0.36118513345718384, -0.5457630157470703, 0.13449089229106903, -0.1299692839384079, -0.36704087257385254, -0.5126619338989258, -0.0008667866350151598, -0.5181161165237427, 0.44970452785491943, 0.009660765528678894, 1.039294958114624, -0.741568922996521, 0.5769084692001343, 0.7273364067077637, -0.20522430539131165, -0.4411065876483917, 0.12735392153263092, 0.43734145164489746, -0.43383514881134033, 0.9503606557846069, 0.19617776572704315, -0.4739505648612976, -0.08173773437738419, -0.5550338625907898, -0.7648633122444153, 1.1857880353927612, 0.43659213185310364, -0.4842749834060669, 0.4912324845790863, 0.024193456396460533, 0.2867377698421478, -0.7132284641265869, 0.330791711807251, 0.10863690823316574, 0.4862872064113617, 0.22104232013225555, -0.348806232213974, -0.19124822318553925, -0.27022936940193176, -0.18773779273033142, 0.07123219966888428, -0.5425263047218323, 0.6436330080032349, -0.02677038498222828, -0.33393657207489014, -0.47823566198349, 0.7175963521003723, 0.26103225350379944, 0.7088460326194763, 0.37766700983047485, 0.7896795868873596, 0.8216871023178101, -0.03012729249894619, 1.0609571933746338, -0.33762404322624207, 0.5208255648612976, 1.0482394695281982, -0.399041086435318, 0.9563608169555664, 0.4822517931461334, 0.13188700377941132, 0.5192833542823792, 0.6470556855201721, 0.5111059546470642, 0.38865771889686584, 0.023446036502718925, -0.6953942775726318, -0.15019340813159943, -0.255788117647171, -0.3638526499271393, 0.03683248907327652, 0.6244463920593262, -0.3476329743862152, -0.149373397231102, 0.2793678641319275, 0.13758431375026703, -0.029237307608127594, -0.45505213737487793, 0.5378650426864624, 0.45214369893074036, -0.01337653398513794, 0.554057240486145, -0.01738893985748291, 1.1781363487243652, -0.5112510919570923, -0.033321354538202286, -0.5707663893699646, 0.1620703786611557, -0.7110351324081421, -0.784429132938385, 0.30152392387390137, 0.2048143744468689, -0.45170721411705017, -0.2913474440574646, 1.2056703567504883, -0.7955464720726013, -0.18551373481750488, 0.6692988872528076, 0.5119712948799133, 0.1249781996011734, -0.29544633626937866, -0.6808212995529175, 0.29896068572998047, -0.11668392270803452, -0.49822568893432617, 0.29889410734176636, 0.6884349584579468, 0.0075755370780825615, 0.7807859778404236, 0.32634568214416504, 0.019984155893325806, 0.12680232524871826, 0.06994738429784775, 0.9084451794624329, -0.673283040523529, -0.17357608675956726, -0.5994123816490173, 0.44502151012420654, -0.026798177510499954, -0.11600524187088013, 0.944119930267334, 0.6066062450408936, 0.6466563940048218, -0.09559163451194763, 0.8066131472587585, 0.0626470223069191, 0.8653845191001892, -0.5207859873771667, 0.7590216398239136, -0.901321530342102, 0.27408015727996826, -0.5211299061775208, -0.9360566735267639, -0.6412830352783203, 0.44979050755500793, -0.24496866762638092, 0.01662011444568634, 0.6311098337173462, 0.9462666511535645, -0.21246112883090973, 0.10457407683134079, 0.3823975622653961, 0.44043341279029846, -0.09026294201612473, 0.46020475029945374, 0.7438406348228455, -0.3999041020870209, 0.09446978569030762, -0.1263451725244522, -0.1670394092798233, -0.7222225069999695, -0.9157471060752869, -0.6284390091896057, -0.2715674936771393, -0.3177523910999298, -0.4546019434928894, 0.2240384966135025, 1.0497148036956787, 0.39125239849090576, -0.6486711502075195, 0.05820872634649277, 0.5808312296867371, 0.367314875125885, 0.2921391427516937, -0.31245121359825134, 0.19581176340579987, -0.2473967969417572, -0.4994853436946869, 0.637120246887207, 0.6296757459640503, -0.15788684785366058, 0.10235995799303055, -0.3873147666454315, -0.5955255031585693, 0.2669507563114166, 0.6690732836723328, 0.4064366817474365, -0.42060932517051697, -0.13289467990398407, -0.10754713416099548, -0.2606505751609802, 0.23814217746257782, 0.5543228983879089, -0.9215493202209473, 0.6182371377944946, 0.3079838454723358, 0.9531886577606201, 0.5420748591423035, 0.24389542639255524, 0.014977230690419674, -0.9039910435676575, 0.04954250156879425, 0.4010319709777832, 0.31642526388168335, 0.6064247488975525, -0.5896161198616028, 0.3194769620895386, 0.38246670365333557, -0.5645003914833069, -0.5471507906913757, 0.04007803648710251, -1.0053225755691528, 0.020123261958360672, 1.1870334148406982, -0.1038687527179718, -0.4139384329319, 0.11394280940294266, -0.34170499444007874, 0.25577718019485474, -0.5533758997917175, 0.8297544121742249, 0.29168692231178284, -0.24869957566261292, -0.3281591236591339, -0.29454755783081055, 0.46075740456581116, 0.4506206810474396, -1.0500221252441406, -0.23461543023586273, 0.6109545826911926, 0.3070627450942993, -0.11561199277639389, 0.3626517951488495, -0.21872477233409882, 0.24865400791168213, -0.44718408584594727, 0.3407408893108368, -0.03522821143269539, -0.25393813848495483, -0.45476987957954407, -0.10486509650945663, -0.38606634736061096, 0.11834627389907837 ]
http://arxiv.org/abs/2406.11087v2
http://arxiv.org/pdf/2406.11087v2
MemDPT: Differential Privacy for Memory Efficient Language Models
2024-06-16T22:11:41
2024-06-20T05:43:50
Yanming Liu, Xinyue Peng, Jiannan Cao, Yuwei Zhang, Chen Ma, Songhang Deng, Mengchen Fu, Xuhong Zhang, Sheng Cheng, Xun Wang, Jianwei Yin, Tianyu Du
cs.CR
cs.CR, cs.AI, cs.CL, cs.LG
Large language models have consistently demonstrated remarkable performance across a wide spectrum of applications. Nonetheless, the deployment of these models can inadvertently expose user privacy to potential risks. The substantial memory demands of these models during training represent a significant resource consumption challenge. The sheer size of these models imposes a considerable burden on memory resources, which is a matter of significant concern in practice. In this paper, we present an innovative training framework MemDPT that not only reduces the memory cost of large language models but also places a strong emphasis on safeguarding user data privacy. MemDPT provides edge network and reverse network designs to accommodate various differential privacy memory-efficient fine-tuning schemes. Our approach not only achieves $2 \sim 3 \times$ memory optimization but also provides robust privacy protection, ensuring that user data remains secure and confidential. Extensive experiments have demonstrated that MemDPT can effectively provide differential privacy efficient fine-tuning across various task scenarios.
[ -0.4388592839241028, -0.5826796293258667, 0.20350852608680725, 0.05483813211321831, -0.232498437166214, 0.06144542992115021, -0.06207837536931038, -0.19638293981552124, -0.0827161967754364, 0.5419728755950928, -0.7084448933601379, -0.42138516902923584, -0.4126569628715515, -0.18075793981552124, -0.06543423980474472, 0.524394154548645, 0.00828992947936058, 0.09317690134048462, 0.26960015296936035, -0.090018130838871, -0.14633043110370636, -0.8526575565338135, -0.7346708178520203, -0.1710527390241623, 0.3465994596481323, 0.40916866064071655, 0.6861639618873596, 0.9378888607025146, 0.15586015582084656, 0.30593106150627136, 0.12413772940635681, 0.0748826339840889, -0.6196673512458801, 0.21843929588794708, -0.4742242693901062, -0.10602787882089615, -0.5790278315544128, -0.016021544113755226, 0.5801159143447876, 0.6464762091636658, -0.1068514734506607, 0.14314833283424377, 0.03659477084875107, 0.8417530059814453, -1.0212624073028564, -0.21055257320404053, -0.6135759949684143, 0.03796432539820671, -0.2774605453014374, -0.28141316771507263, -0.2321503460407257, -0.22277934849262238, 0.14514030516147614, -0.09005937725305557, 0.03469974175095558, -0.15153923630714417, 0.43122443556785583, 0.14286360144615173, -0.3816569447517395, 0.3878939151763916, -0.6135849356651306, 0.8637738823890686, -0.5652605891227722, 0.7257623076438904, 0.5979530215263367, 0.36183276772499084, -0.04793570935726166, -0.42528924345970154, -0.48172974586486816, 0.12517790496349335, 0.432585209608078, -0.06125890091061592, -0.3268902897834778, 0.3272639214992523, 0.2323904037475586, 0.3515584468841553, -0.6706463694572449, 0.5187257528305054, -0.14577767252922058, -0.4507773220539093, 0.39222830533981323, 0.36055445671081543, 0.18572010099887848, 0.36860066652297974, -0.37590259313583374, -0.22575612366199493, -0.7673190832138062, -0.0962444394826889, 0.9083456993103027, 0.24148355424404144, -0.16862159967422485, 0.5381389856338501, -0.5691927075386047, 0.7165579199790955, -0.3329203128814697, -0.25501829385757446, 0.05644013732671738, 0.06293609738349915, -0.15774650871753693, 0.004308274015784264, 0.5584756731987, 0.5596809983253479, 0.3176442086696625, -0.2161809206008911, -0.09152166545391083, 0.08787321299314499, 0.11732877045869827, -1.173447847366333, -0.4341808259487152, 0.20282137393951416, -0.49569493532180786, -0.33105769753456116, -0.14968927204608917, -0.8336573839187622, -0.2936359643936157, -0.3372947573661804, 0.21054506301879883, -0.4871252477169037, -0.6779352426528931, 0.3121177852153778, -0.05305631086230278, -0.08998222649097443, 0.007684359326958656, -1.4557801485061646, 0.822990894317627, 0.9330368638038635, 0.7971945405006409, -0.15973567962646484, -0.3994978964328766, -0.5154335498809814, 0.4938746690750122, 0.014465587213635445, 0.26645976305007935, -0.7380937337875366, -0.31561172008514404, -0.20842503011226654, -0.19462022185325623, -0.17695222795009613, -0.3224536180496216, -0.03938622772693634, -0.4805428385734558, 0.03298380598425865, 0.01654929108917713, -0.42883992195129395, -0.2555209696292877, 0.3698354661464691, -0.46471893787384033, 0.42344868183135986, 0.24570874869823456, -0.8940225839614868, 0.05162438750267029, -0.5024830102920532, -0.35744065046310425, -0.26117485761642456, -0.24407634139060974, -0.5247170329093933, 0.17129941284656525, 0.18737532198429108, 0.7085282802581787, -0.17851239442825317, -0.02822290174663067, -0.43098917603492737, -0.3332746922969818, 0.17565646767616272, -0.5530932545661926, 0.8318271636962891, 0.41978538036346436, -0.3739352524280548, -0.1643945574760437, -0.9858987331390381, 0.015313880518078804, 0.05721089988946915, -0.35791823267936707, -0.7824193835258484, -0.4101243317127228, -0.08940846472978592, 0.07228071987628937, 0.36194705963134766, -0.7066953182220459, 0.10014080256223679, -0.4348205626010895, 0.5129055976867676, 0.9519426226615906, -0.12393402308225632, 0.6376132369041443, -0.008652332238852978, 0.5720186829566956, 0.09399117529392242, 0.41755741834640503, 0.15430547297000885, -0.39951038360595703, -0.02118355594575405, -0.4378950893878937, 0.37732619047164917, 0.4708765745162964, -0.48879632353782654, 0.331216961145401, -0.2510317265987396, -0.3096773028373718, -0.09805632382631302, 0.0036749851424247026, 0.47826796770095825, 0.6651973724365234, 0.22877579927444458, -0.28830134868621826, -0.2800491154193878, -1.1082124710083008, -0.41768527030944824, 0.024507256224751472, -0.10249212384223938, 0.6759575605392456, 0.06382283568382263, -0.4489739239215851, 0.6290876269340515, -0.560786247253418, -0.24508827924728394, -0.1826658397912979, -0.14772216975688934, -0.0018697029445320368, 0.9723992943763733, 0.49054020643234253, -0.7542206645011902, -0.25298070907592773, -0.31980839371681213, -0.1738157421350479, -0.10008174180984497, -0.03786230459809303, -0.07126595824956894, 0.34121444821357727, 0.36121392250061035, -0.3179464638233185, 0.213728129863739, 1.0566296577453613, -0.3540938198566437, 0.342819482088089, -0.5303481817245483, -0.06979028880596161, -1.173636794090271, 0.03936143219470978, -0.3601124584674835, -0.4137625992298126, -0.47887927293777466, -0.16003869473934174, 0.36608046293258667, -0.33904269337654114, -0.5809752941131592, 0.602924644947052, -0.5205074548721313, 0.13016225397586823, -0.24519777297973633, -0.37086647748947144, -0.19025906920433044, 0.4029863476753235, -0.052074313163757324, 0.763306736946106, 0.8014690279960632, -0.8623515367507935, 0.07458960264921188, -0.02252579666674137, 0.2135397344827652, 0.5795961618423462, -0.2098785936832428, 0.4286825656890869, 0.20493723452091217, -0.1776820719242096, -0.8531082272529602, -0.14904926717281342, 0.23521675169467926, -0.20866215229034424, 0.72141432762146, -0.3096502423286438, -0.6350419521331787, -0.1759350448846817, -0.6772488355636597, 0.5119030475616455, 0.47638633847236633, -0.7574203014373779, 0.557681143283844, 0.8864373564720154, 0.10086052119731903, -0.9129840135574341, -0.6828095316886902, 0.18686771392822266, -0.3758420944213867, -0.4997727572917938, 0.28594258427619934, 0.16244658827781677, -0.08880849182605743, -0.17923499643802643, -0.39788490533828735, -0.36022958159446716, 0.43359455466270447, 0.31323492527008057, -0.30057457089424133, 0.004041685257107019, -0.058460578322410583, 0.5320085883140564, -0.6335567235946655, -0.12143560498952866, -0.5380721092224121, 0.9655059576034546, 0.024239258840680122, -0.14828413724899292, -0.5446938872337341, 0.42443153262138367, 0.1348341405391693, -0.20668597519397736, 0.770738959312439, 0.3391987681388855, -0.4299979507923126, -0.3302032947540283, -0.6537821888923645, -0.4892526865005493, -0.5861206650733948, 0.46451735496520996, -0.5578305125236511, -1.0167534351348877, 0.38143035769462585, -0.5652813911437988, 0.024752993136644363, 0.002853183774277568, 0.6263431310653687, 0.26406174898147583, 1.0629706382751465, 0.8268683552742004, -0.32401221990585327, 0.6434095501899719, -0.1478874534368515, 0.08045319467782974, -0.8964077234268188, 0.1318298876285553, -0.21392613649368286, -0.539086639881134, -0.7108040452003479, -0.1394852250814438, 0.09789418429136276, -0.19325481355190277, -0.33888545632362366, 0.5335792899131775, -0.6078495979309082, 0.7149406671524048, 0.6845130920410156, 0.25966688990592957, 0.17187710106372833, 0.00726998969912529, -0.18850187957286835, -0.11824203282594681, -0.33057311177253723, -0.49609458446502686, 1.3564422130584717, 0.5497612357139587, 1.1417824029922485, 0.16365022957324982, 0.9398025274276733, -0.16456285119056702, -0.3637975752353668, -0.1993524134159088, 0.7536985278129578, -0.35039475560188293, -0.638713538646698, -0.3305918872356415, -0.7995333075523376, -0.9333393573760986, 0.04949481785297394, 0.14709624648094177, -1.1311454772949219, 0.18003349006175995, 0.2704336941242218, -0.21932798624038696, 0.5276467204093933, -0.6910708546638489, 0.8548471331596375, -0.16989801824092865, -0.6330030560493469, -0.6014275550842285, -0.8750526309013367, 0.2822891175746918, 0.04779810085892677, -0.23947592079639435, -0.33413463830947876, -0.25738656520843506, 0.729646623134613, -0.37322333455085754, 0.887885332107544, -0.6598470211029053, 0.11286582052707672, -0.24138809740543365, 0.47526538372039795, 0.38246360421180725, 0.4380866289138794, -0.08664659410715103, 0.37789326906204224, -0.026545116677880287, -0.17375457286834717, -0.20654159784317017, 0.971017599105835, -0.6767181158065796, -0.5120017528533936, -0.11608229577541351, -0.816664457321167, -0.24223171174526215, 0.47800570726394653, 0.076044961810112, 0.515393853187561, -0.15515539050102234, 0.07643284648656845, 0.7978746294975281, -0.5262816548347473, 0.3604065775871277, 0.6857207417488098, 0.09801901876926422, -0.23301446437835693, 0.9802963137626648, 0.1514667570590973, 0.2936463952064514, 0.5980751514434814, 0.4149821400642395, -0.629101037979126, -0.7058745622634888, -0.34731265902519226, 0.18609648942947388, -0.5118139982223511, -0.2144177109003067, -0.9654752612113953, -0.05867266654968262, -0.38776135444641113, 0.03507140651345253, -0.9162458181381226, -1.0858855247497559, -0.21541915833950043, -0.20838157832622528, 0.40662747621536255, 0.05132614076137543, -0.5414223074913025, 0.5635265707969666, -0.4192237854003906, 0.3691285252571106, 0.380951851606369, 0.8224307894706726, -0.24494600296020508, -0.3340896666049957, 0.09676262736320496, -0.013376260176301003, -0.4210669696331024, -0.48778149485588074, 0.3201442062854767, 0.23963820934295654, 0.4270997643470764, 0.5411075353622437, 0.21928666532039642, 0.43767982721328735, -0.6803992390632629, 0.4843555688858032, 0.11611247807741165, -0.8445905447006226, 0.31711527705192566, -0.2833396792411804, 0.011609707027673721, 0.8719743490219116, 0.26529595255851746, -0.16643334925174713, -0.377095103263855, -0.730894923210144, -0.823893666267395, 0.45102065801620483, -0.029545946046710014, 0.6368730068206787, 0.21598388254642487, 0.5579720139503479, 0.43495428562164307, 0.20679332315921783, -0.46456244587898254, -0.293916791677475, -0.1311720460653305, -0.07768453657627106, 0.09253339469432831, -0.46870672702789307, -0.1709546595811844, -0.3360614478588104, 0.47139862179756165, -0.038203734904527664, 0.11285775154829025, -0.1557048112154007, 0.06820175051689148, 0.17968159914016724, 0.15651266276836395, 0.6415096521377563, 0.7291516065597534, -0.3612724244594574, 0.6561009883880615, 0.11035147309303284, -0.7886606454849243, 0.33862796425819397, 0.1718481034040451, -0.11921916157007217, -0.21302717924118042, -0.4674716889858246, 0.28823959827423096, 0.05063856765627861, -0.40269404649734497, 0.5200740694999695, -0.3762551546096802, -0.3010150194168091, -0.12287832051515579, 0.37693968415260315, 0.19539648294448853, 0.32766106724739075, -0.16654253005981445, 0.021229276433587074, 0.37145888805389404, -0.0976782888174057, 0.46834075450897217, 0.4407031238079071, -0.341129332780838, -0.42178139090538025, 1.0152477025985718, 0.022121617570519447, -0.2138933688402176, 0.4966776371002197, -0.003738078521564603, -0.4147816002368927, 0.13730180263519287, 0.7166404724121094, 1.0082429647445679, -0.6447705626487732, -0.04616314917802811, 0.09742866456508636, 0.14234745502471924, -0.20570677518844604, 0.5265775322914124, -0.1915656328201294, -0.48271310329437256, 0.09231746941804886, -0.36428946256637573, -0.6548495292663574, 0.2947041094303131, -0.3635384440422058, 0.20926903188228607, -0.858633279800415, -0.11347653716802597, -0.3389929533004761, -0.090507872402668, -0.4057437777519226, 0.2486414760351181, 0.2642916738986969, 0.818320631980896, -0.5409142971038818, 1.2317062616348267, 0.4586404860019684, 0.1029181033372879, -0.5809382796287537, -0.16834469139575958, 0.13488319516181946, -0.9333316683769226, 0.24300836026668549, 0.5121167898178101, -0.2760985791683197, 0.24668708443641663, -0.35481926798820496, -0.5250006318092346, 0.913583517074585, 0.762001097202301, -0.6534091234207153, 0.4260256290435791, 0.36657580733299255, 0.33621731400489807, -0.12456907331943512, -0.2866259217262268, 0.4356535077095032, 0.11804047226905823, -0.18337690830230713, -0.6971659660339355, 0.35336124897003174, 0.04423264414072037, 0.03817714378237724, 0.07847984880208969, -0.6217862963676453, 1.042647361755371, -0.04987752065062523, -0.2991681396961212, -0.24289098381996155, 0.30917873978614807, 0.2441312074661255, 0.12791161239147186, 0.5697882175445557, 0.522492527961731, 0.8266320824623108, 0.2071683555841446, 0.9660089015960693, -0.49398213624954224, 0.0420004278421402, 1.027873158454895, -0.10459515452384949, 0.6254839897155762, 0.579454779624939, 0.15163011848926544, -0.12177568674087524, 0.6183808445930481, 0.22090408205986023, 1.0056371688842773, 0.5742852091789246, -0.2336038202047348, -0.0376126691699028, -0.014854800887405872, -0.5571421980857849, 0.2760484516620636, 0.08312204480171204, -0.37048763036727905, -0.3563779890537262, -0.09452429413795471, 0.29916873574256897, 0.04083876311779022, -0.2453320473432541, 0.7735872864723206, 0.31912124156951904, -0.024250607937574387, 0.5559713840484619, 0.15655487775802612, 0.6665807962417603, -0.4591846764087677, 0.2387104630470276, -0.14613275229930878, 0.8049845695495605, -0.004475073888897896, -0.5218903422355652, 0.489511102437973, -0.18626300990581512, 0.1077393889427185, -0.3181602358818054, 0.5896867513656616, -0.250777006149292, -0.05393027886748314, 0.4254216253757477, 0.38017377257347107, 0.26173996925354004, -0.4287909269332886, -0.8075240850448608, -0.10859629511833191, -0.2279513031244278, -0.4835447072982788, 0.7453750371932983, 0.4701193571090698, 0.09411412477493286, 0.6465585231781006, 0.5619106888771057, 0.23160095512866974, -0.006205318961292505, 0.35246551036834717, 1.1559467315673828, -0.5856097340583801, -0.9108496308326721, -1.475894570350647, 0.2144007533788681, -0.14646436274051666, -0.2756965160369873, 0.7477055191993713, 0.8436208963394165, 0.685312807559967, -0.03424076735973358, 0.6858764886856079, 0.29511189460754395, 0.6992678046226501, -0.5180593729019165, 0.9524367451667786, -0.36376526951789856, 0.39906424283981323, -0.28705573081970215, -0.9479423761367798, -0.5223779678344727, 0.6057929992675781, -0.2878151535987854, -0.27549993991851807, 0.23979221284389496, 0.8295657634735107, -0.5655834674835205, -0.06744284927845001, 0.3775953948497772, -0.04096748307347298, 0.5807555317878723, 0.7103769779205322, 0.8036832213401794, -0.2991986870765686, 0.21510683000087738, -0.7060990929603577, -0.5289540886878967, -0.04488416761159897, -0.960233747959137, -1.273887276649475, -0.47947990894317627, -0.27306872606277466, -0.13177043199539185, 0.03361010551452637, 0.7173144817352295, 0.8685183525085449, -0.7519018650054932, -0.21542495489120483, -0.25808411836624146, 0.013722866773605347, -0.17298874258995056, -0.09899704903364182, 0.5021503567695618, 0.03931800276041031, -0.5447418093681335, 0.3464798033237457, 0.5591170787811279, 0.38710540533065796, -0.2438964694738388, -0.012947342358529568, 0.094397634267807, -0.012117649428546429, 0.15215156972408295, 0.354765385389328, -0.1222505196928978, -0.19018308818340302, -0.19672834873199463, -0.13412782549858093, -0.02525300532579422, 0.6804705858230591, -0.4519665837287903, 0.5334979891777039, 0.4063475728034973, 0.820014476776123, 0.6224717497825623, 0.15854781866073608, 0.9269059896469116, -0.8481819033622742, 0.6811714768409729, 0.36335131525993347, 0.1554412990808487, 0.2990877628326416, -0.550855278968811, 0.5989369750022888, 0.024136822670698166, -0.47024375200271606, -1.042587161064148, 0.3237099051475525, -0.9186747670173645, -0.34702059626579285, 0.9129189252853394, -0.2090032696723938, -0.24916064739227295, -0.3864343762397766, -0.10457151383161545, 0.12124432623386383, -0.450052410364151, 0.9639476537704468, 0.1052044928073883, -0.013728304766118526, -0.19388335943222046, -0.5760210156440735, 0.6686632037162781, 0.28024277091026306, -0.39805683493614197, 0.5709133744239807, -0.006192097440361977, 0.35113319754600525, -0.1982673704624176, 0.7773830890655518, -0.2815328538417816, -0.01371059101074934, 0.015292630530893803, -0.15306635200977325, -0.5162964463233948, -0.40837228298187256, -0.3478845953941345, 0.014211178757250309, -0.1460014283657074, -0.6353865265846252 ]
http://arxiv.org/abs/2406.11085v1
http://arxiv.org/pdf/2406.11085v1
Multiple Sources are Better Than One: Incorporating External Knowledge in Low-Resource Glossing
2024-06-16T22:01:15
2024-06-16T22:01:15
Changbing Yang, Garrett Nicolai, Miikka Silfverberg
cs.CL
cs.CL
In this paper, we address the data scarcity problem in automatic data-driven glossing for low-resource languages by coordinating multiple sources of linguistic expertise. We supplement models with translations at both the token and sentence level as well as leverage the extensive linguistic capability of modern LLMs. Our enhancements lead to an average absolute improvement of 5%-points in word-level accuracy over the previous state of the art on a typologically diverse dataset spanning six low-resource languages. The improvements are particularly noticeable for the lowest-resourced language Gitksan, where we achieve a 10%-point improvement. Furthermore, in a simulated ultra-low resource setting for the same six languages, training on fewer than 100 glossed sentences, we establish an average 10%-point improvement in word-level accuracy over the previous state-of-the-art system.
[ -0.3775055706501007, -0.41703471541404724, 0.6922374367713928, 0.1854875087738037, -0.07525394856929779, 0.26208794116973877, -0.6509305834770203, -0.5729329586029053, 0.2780020236968994, 0.38535767793655396, -0.2592114210128784, -0.3936474621295929, -0.7568492889404297, 0.19587023556232452, -0.1698153167963028, 0.8078330755233765, -0.15271447598934174, 0.2208271324634552, -0.06961676478385925, -0.4459511637687683, -0.14832094311714172, -0.3836475610733032, -0.6505408883094788, -0.07445624470710754, 0.5822510123252869, 0.8454515337944031, 1.0097029209136963, 0.541760265827179, 0.6774397492408752, 0.310373455286026, -0.04189979285001755, 0.6869379281997681, -0.5252320170402527, 0.13102495670318604, -0.3388853371143341, -0.45761317014694214, -0.43452757596969604, -0.05459780618548393, 0.4632161855697632, 0.6413431763648987, -0.27142810821533203, 0.001675163279287517, 0.11142085492610931, 1.0028870105743408, -0.8292924165725708, 0.19689923524856567, -0.7779877781867981, -0.29680436849594116, -0.3072845935821533, 0.10840646177530289, -0.08886994421482086, -0.3387201130390167, 0.16119810938835144, -1.013670802116394, 0.1108902096748352, -0.11985372751951218, 0.8801870346069336, 0.5653187036514282, -0.20999126136302948, -0.5536112189292908, -0.7121176719665527, 0.7916131615638733, -0.7288618683815002, 0.34252607822418213, 0.6265935301780701, 0.2200390100479126, 0.30437788367271423, -0.4248271882534027, -0.45884737372398376, -0.18084992468357086, -0.17935682833194733, 0.12236288189888, 0.07208335399627686, 0.0967649593949318, 0.13460780680179596, 0.35426589846611023, 0.026855982840061188, 0.09877045452594757, -0.4229879379272461, -0.064918652176857, 0.6035885810852051, -0.005927523598074913, 0.050609041005373, -0.22815968096256256, -0.06140628084540367, -0.10082464665174484, -0.5549758672714233, -0.26098230481147766, 0.09757713973522186, 0.7968659996986389, -0.18027915060520172, 0.6144500970840454, -0.49720287322998047, 0.5560194849967957, -0.00008203188917832449, -0.42180630564689636, 0.3117044270038605, -0.9500065445899963, -0.14945712685585022, -0.3735533058643341, 0.7427122592926025, 0.23342709243297577, 0.2730695307254791, -0.32530662417411804, -0.19185136258602142, -0.35481324791908264, 0.08054439723491669, -0.26697617769241333, -0.2777615189552307, -0.011652453802525997, -0.06797929108142853, -0.019867196679115295, 0.0042514558881521225, -0.7030657529830933, -0.581939160823822, -0.4814576804637909, 0.09414543956518173, -0.5619805455207825, -0.028867268934845924, -0.22482450306415558, -0.0028802906163036823, -0.2029966562986374, 0.33450591564178467, -0.944850504398346, 0.2556741237640381, 0.2704308331012726, 1.2724672555923462, -0.18450185656547546, -0.22189263999462128, -0.6637201309204102, 0.4355640113353729, -0.5088903903961182, 0.8850498795509338, -0.40079399943351746, -0.22723357379436493, 0.07661423087120056, -0.2528485357761383, 0.09384721517562866, -0.8399121165275574, 0.39992210268974304, -0.4249536395072937, 0.07547501474618912, -0.47728100419044495, -0.4260997772216797, 0.009032100439071655, -0.14158563315868378, -0.7462934255599976, 1.219995379447937, 0.40020790696144104, -0.3577824831008911, 0.6877360939979553, -0.7263346314430237, -0.33418577909469604, 0.24058103561401367, -0.08745477348566055, -0.07536350935697556, 0.3748595714569092, 0.4433618485927582, 0.13083194196224213, -0.326560914516449, 0.40445467829704285, -0.23399077355861664, -0.03820252791047096, 0.13240370154380798, -0.1794768124818802, 0.45043259859085083, 0.3156113922595978, -0.045545611530542374, 0.17296364903450012, -0.8963513374328613, 0.14887548983097076, -0.15279313921928406, -0.709042489528656, -0.5252329707145691, -0.2419183999300003, 0.05870499834418297, 0.4391922652721405, 0.36161118745803833, -0.22663146257400513, 0.28146296739578247, -0.687860906124115, 0.1220473051071167, 0.7812319993972778, -0.17119383811950684, 0.870830774307251, -0.4860358238220215, 0.4362128674983978, 0.015431580133736134, 0.11693604290485382, 0.16231133043766022, -0.45344364643096924, -1.133917212486267, -0.27636221051216125, 0.21416711807250977, 0.6490368843078613, -1.3765888214111328, 0.23633721470832825, -0.4912307858467102, -0.3031856119632721, -0.8279328346252441, 0.7500668168067932, 0.3589048385620117, 0.2960972189903259, 0.6601762175559998, -0.2179574966430664, -0.3038974404335022, -1.0594935417175293, -0.06464949995279312, -0.06667390465736389, -0.0030960985459387302, 0.3365800976753235, 0.19950346648693085, 0.0019956508185714483, 0.9285737872123718, -0.385188490152359, -0.5220451354980469, -0.22459430992603302, -0.003807101398706436, 0.22975541651248932, 0.31966087222099304, 0.4228265583515167, -0.42163050174713135, -0.9845056533813477, 0.005946076940745115, -0.6485716104507446, -0.2592298686504364, 0.008799292147159576, -0.4033873975276947, 0.5707752704620361, 0.26661455631256104, -0.4048713147640228, 0.042216453701257706, 0.5493324995040894, 0.029907748103141785, 0.25840267539024353, -0.5270571708679199, -0.03986804559826851, -0.9848789572715759, 0.002395917195826769, 0.22073788940906525, 0.051412492990493774, -0.8728044033050537, 0.08064993470907211, 0.08641480654478073, 0.19107745587825775, -0.44104939699172974, 0.6270926594734192, -0.6693248748779297, 0.0003005109610967338, -0.40546563267707825, 0.46098431944847107, -0.19322502613067627, 0.46419790387153625, -0.07422863692045212, 1.0717556476593018, 0.7424245476722717, -0.6976602673530579, 0.6091466546058655, 0.3151538670063019, -0.4766201674938202, 0.6441035270690918, -0.14998401701450348, 0.08337090164422989, -0.1069720908999443, -0.22387227416038513, -0.7103023529052734, -0.46126165986061096, 0.30297157168388367, 0.013848901726305485, 0.2948639988899231, -0.2059301733970642, -0.7699649333953857, -0.19553934037685394, -0.3408769965171814, -0.018589811399579048, 0.32671815156936646, -0.6388102769851685, 0.3866014778614044, 0.5958025455474854, -0.4190647602081299, -0.554675817489624, -0.8750259876251221, 0.25938332080841064, -0.10874591767787933, -0.7391679286956787, 0.21192008256912231, -0.14086750149726868, -0.5356663465499878, -0.09994437545537949, -0.15591315925121307, -0.2511749565601349, -0.006184996571391821, -0.10694050788879395, 0.08293171226978302, -0.05987562611699104, 0.4926460087299347, -0.1996062844991684, -0.16495026648044586, -0.37848854064941406, -0.5312759280204773, 0.13657337427139282, 0.013518774881958961, -0.19828706979751587, -0.3052438497543335, 0.4461953938007355, 0.3255579173564911, 0.2205224186182022, 0.9010612368583679, 0.4335600733757019, -0.22866828739643097, -0.3179357051849365, -0.5891255736351013, 0.09819009155035019, -0.5349898338317871, 0.09821408241987228, -0.5347461700439453, -0.6030784249305725, 0.5166329741477966, 0.09979945421218872, -0.11675109714269638, 0.5356113910675049, 0.3330487012863159, -0.11183231323957443, 0.7391158938407898, 1.0538136959075928, -0.32144442200660706, 0.6053483486175537, -0.25302642583847046, -0.15391801297664642, -0.5814042091369629, -0.004773312248289585, -0.18493938446044922, -0.1006111353635788, -0.7858930826187134, -0.668998658657074, 0.44020918011665344, 0.31531068682670593, -0.08682355284690857, 0.13281294703483582, -0.43245404958724976, 0.4792982339859009, 0.9334295988082886, 0.24200981855392456, 0.6367536783218384, 0.36800143122673035, -0.03816480562090874, 0.010630473494529724, -0.9782856702804565, -0.4436335265636444, 1.1565287113189697, 0.020699840039014816, 0.9398391246795654, 0.36611753702163696, 0.537597119808197, 0.06919276714324951, 0.4980071187019348, -0.880750834941864, 0.3655570447444916, -0.5222584009170532, -0.5148377418518066, -0.5791950225830078, -0.6094234585762024, -0.48219063878059387, 0.28790172934532166, -0.24568551778793335, -0.4489506781101227, 0.23980693519115448, 0.07234074920415878, -0.42615824937820435, 0.27687501907348633, -0.8177255988121033, 0.41524747014045715, -0.3937489688396454, -0.4299261271953583, -0.21193519234657288, -0.4335428774356842, 0.2480735331773758, -0.4041000306606293, 0.5082448720932007, -0.2728607952594757, -0.5602927803993225, 0.7315376400947571, -0.6395491361618042, 0.6159138083457947, -0.1336933970451355, -0.48493173718452454, 0.23696044087409973, -0.2947988212108612, 0.6886957287788391, 0.007906682789325714, -0.2735605239868164, 0.15469717979431152, -0.44509097933769226, -0.5976549386978149, -0.5496807098388672, 0.7026695013046265, -0.7025048136711121, -0.6198737621307373, -0.36707040667533875, -0.6611420512199402, -0.554171621799469, 0.09487135708332062, 0.1714097261428833, 0.20970867574214935, 0.15747947990894318, -0.2595692574977875, 0.3242049813270569, -0.1885906159877777, 0.44941046833992004, 0.7101513743400574, 0.038057878613471985, -0.6595063805580139, 1.0389214754104614, 0.37294822931289673, 0.5979170799255371, 0.1725480556488037, 0.02195047214627266, -0.23254060745239258, -0.8306828141212463, -0.533751904964447, 0.534915566444397, -1.0611109733581543, -0.30218586325645447, -0.4253690540790558, -0.0845334380865097, -0.36892983317375183, -0.17650258541107178, -0.4218186140060425, -0.5195118188858032, -0.18764382600784302, -0.016234111040830612, 0.5191805958747864, 0.9101777672767639, -0.44377097487449646, 0.6156076788902283, -0.8242982029914856, 0.46974703669548035, 0.13924553990364075, 0.7084277272224426, -0.314303994178772, -0.5820019245147705, -0.7426312565803528, 0.06645721942186356, -0.009316572919487953, -0.691837728023529, 0.5196273922920227, 0.4890080392360687, 0.6387307047843933, 0.13060115277767181, -0.15063363313674927, 0.7788171768188477, -0.3242351710796356, 0.6186885833740234, 0.15645182132720947, -0.9048606157302856, 0.5066913962364197, -0.19716250896453857, 0.6635432839393616, 1.0225929021835327, 0.43225520849227905, -0.6091251969337463, -0.9397823810577393, -0.5372754335403442, -1.050871729850769, 1.1634495258331299, 0.1894136220216751, -0.141188845038414, 0.16195008158683777, 0.3120688498020172, 0.14208060503005981, 0.10173530876636505, -0.5854085087776184, -0.5447105765342712, 0.050484780222177505, -0.30260106921195984, -0.30694282054901123, -0.2169191986322403, -0.19106756150722504, -0.07876624912023544, 1.0735613107681274, -0.39928171038627625, -0.040228404104709625, -0.15294429659843445, -0.3462899327278137, -0.2036401629447937, 0.32545754313468933, 0.4380771815776825, 0.9117603302001953, -0.03144002705812454, 0.2806888818740845, 0.5120552182197571, -0.45637550950050354, 0.09644198417663574, 0.17146968841552734, -0.28751087188720703, 0.19621412456035614, 0.3533925712108612, 0.6788355112075806, 0.06944997608661652, -0.3712972104549408, 0.18636232614517212, 0.24866627156734467, 0.06340884417295456, -0.07135085761547089, -0.029298266395926476, 0.05129878222942352, 0.10383137315511703, 0.5925922393798828, 0.3347819447517395, -0.10017535090446472, -0.2949725091457367, 0.24050992727279663, 0.3398290276527405, -0.12496025115251541, 0.02314714714884758, 0.4032285511493683, 0.3758443593978882, 0.18350908160209656, 0.45354345440864563, -0.44612935185432434, -0.2198193520307541, 0.33918866515159607, -0.07798969000577927, 0.44241881370544434, -0.11992263793945312, 0.2475629299879074, 0.5843368768692017, 0.3560628890991211, -0.37480753660202026, 0.31072574853897095, 0.02985290437936783, -0.7275153398513794, -0.678523063659668, -0.4876266419887543, -0.5970087051391602, 0.26078638434410095, -0.3782041072845459, 0.3367108404636383, -0.27858787775039673, -0.22372528910636902, 0.07963285595178604, 0.14080968499183655, -0.6085962653160095, -0.05670640245079994, 0.247577965259552, 0.7208036780357361, -0.5653946399688721, 0.9228672981262207, 0.5726742744445801, -0.7603940367698669, -0.46389883756637573, 0.18431271612644196, 0.02963220700621605, -0.849845826625824, 0.8692543506622314, -0.22387926280498505, -0.16123414039611816, -0.08152331411838531, -0.4916287064552307, -1.614540457725525, 0.8695536255836487, 0.4415157735347748, -0.5951904654502869, -0.06876075267791748, 0.25488513708114624, 0.5828078389167786, -0.19169574975967407, 0.23000884056091309, 0.6367980241775513, 0.6520662307739258, -0.1171313151717186, -1.3593393564224243, 0.06511826813220978, -0.02476496808230877, 0.12468431144952774, 0.1788032352924347, -0.503450870513916, 0.5729591846466064, -0.2401089072227478, -0.7843052744865417, -0.02818233333528042, 0.7209472060203552, -0.04570002481341362, -0.005881564226001501, 0.4054793417453766, 0.38737910985946655, 1.0075639486312866, -0.03464415669441223, 0.9572111964225769, -0.6918964385986328, 0.17535942792892456, 1.3521703481674194, -0.029043957591056824, 0.6132117509841919, 0.48244065046310425, -0.2962273955345154, 0.3001757562160492, 0.39141541719436646, 0.09923847764730453, 0.7447117567062378, 0.12570367753505707, -0.4505935609340668, -0.14070136845111847, -0.3054318428039551, -0.15595409274101257, 0.21551725268363953, 0.47557777166366577, -0.08242896944284439, -0.30573543906211853, 0.2889164388179779, -0.15825578570365906, 0.125690758228302, -0.3382086455821991, 1.0697842836380005, 0.09806513041257858, -0.5655856728553772, 0.8302072286605835, 0.08783434331417084, 1.1486189365386963, -0.5248520970344543, 0.29193100333213806, -0.5150087475776672, 0.06001589447259903, -0.28651300072669983, -0.738842248916626, 0.3495367169380188, 0.0921868085861206, -0.18206679821014404, -0.41262927651405334, 0.5699940919876099, -0.7468366026878357, -0.4907245635986328, 0.4539456069469452, 1.0911158323287964, 0.15123461186885834, 0.010403028689324856, -0.6451021432876587, -0.24139748513698578, -0.2622714936733246, 0.04480333626270294, 0.1477494090795517, 0.5023807883262634, 0.11510929465293884, 0.8811370730400085, 0.5166400074958801, 0.5013638734817505, 0.17314781248569489, 0.43500593304634094, 0.9903504848480225, -0.6491802334785461, -0.4182761609554291, -0.5997018218040466, 0.13368858397006989, -0.32138535380363464, -0.21702945232391357, 0.8239248394966125, 0.6095730662345886, 1.0272778272628784, -0.00701462896540761, 1.1066005229949951, -0.10636604577302933, 0.49908095598220825, -0.6566237211227417, 0.4448547065258026, -0.5187380313873291, 0.43074148893356323, 0.013038047589361668, -0.8693979382514954, -0.2969684302806854, 0.40850627422332764, -0.31919318437576294, -0.058647964149713516, 0.9182369709014893, 0.7824748754501343, -0.07069467008113861, -0.4158047139644623, 0.32037004828453064, 0.11621963232755661, 0.060506291687488556, 0.6087096333503723, 0.8537106513977051, -0.191887766122818, 0.853424072265625, -0.6293164491653442, -0.17885571718215942, 0.029300620779395103, -0.5106169581413269, -0.5485469102859497, -0.6797299981117249, -0.31677743792533875, -0.16973857581615448, 0.07566072791814804, 0.925967812538147, 0.7717295289039612, -1.0413825511932373, -0.30889707803726196, -0.10379067808389664, 0.23417526483535767, -0.17878146469593048, -0.22437046468257904, 0.17969539761543274, -0.9080007672309875, -0.7301979064941406, 0.7059928178787231, 0.19918987154960632, 0.05418397858738899, -0.2942008972167969, -0.10696804523468018, -0.30514687299728394, 0.03804297745227814, 0.596731424331665, 0.05344221740961075, -0.7653473019599915, -0.3213047981262207, -0.17598247528076172, -0.5963398218154907, 0.3657433092594147, 0.7475494146347046, -0.5886736512184143, 0.3501105308532715, 0.4164195954799652, 0.3288097381591797, 0.43175220489501953, 0.08296925574541092, 0.4945595860481262, -0.993182361125946, 0.09733325242996216, -0.06598009914159775, 0.28826355934143066, 0.6658472418785095, -0.24989283084869385, 0.8795142769813538, 0.37398040294647217, -0.2549588978290558, -0.40536612272262573, 0.17426276206970215, -0.8577608466148376, -0.36588066816329956, 1.355686902999878, -0.025685716420412064, 0.04458526149392128, -0.38675886392593384, -0.06316584348678589, 0.3106083869934082, -0.7143241167068481, 0.8718817830085754, 0.9972933530807495, -0.19495578110218048, -0.0586407408118248, -0.7657331228256226, 0.9401940107345581, 0.2785530388355255, -1.1631686687469482, 0.24951870739459991, 0.7376301288604736, 0.09353956580162048, 0.47329771518707275, 0.9376893639564514, 0.31382909417152405, -0.11472553014755249, -0.10356155037879944, -0.04809553176164627, 0.05069193243980408, -0.3025030195713043, -0.485568642616272, 0.053796060383319855, 0.1931471973657608, 0.221886545419693 ]
http://arxiv.org/abs/2406.15476v1
http://arxiv.org/pdf/2406.15476v1
Self-Regulated Data-Free Knowledge Amalgamation for Text Classification
2024-06-16T21:13:30
2024-06-16T21:13:30
Prashanth Vijayaraghavan, Hongzhi Wang, Luyao Shi, Tyler Baldwin, David Beymer, Ehsan Degan
cs.CL
cs.CL
Recently, there has been a growing availability of pre-trained text models on various model repositories. These models greatly reduce the cost of training new models from scratch as they can be fine-tuned for specific tasks or trained on large datasets. However, these datasets may not be publicly accessible due to the privacy, security, or intellectual property issues. In this paper, we aim to develop a lightweight student network that can learn from multiple teacher models without accessing their original training data. Hence, we investigate Data-Free Knowledge Amalgamation (DFKA), a knowledge-transfer task that combines insights from multiple pre-trained teacher models and transfers them effectively to a compact student network. To accomplish this, we propose STRATANET, a modeling framework comprising: (a) a steerable data generator that produces text data tailored to each teacher and (b) an amalgamation module that implements a self-regulative strategy using confidence estimates from the teachers' different layers to selectively integrate their knowledge and train a versatile student. We evaluate our method on three benchmark text classification datasets with varying labels or domains. Empirically, we demonstrate that the student model learned using our STRATANET outperforms several baselines significantly under data-driven and data-free constraints.
[ 0.06450091302394867, -0.018481075763702393, 0.45121514797210693, -0.032853156328201294, -0.25686022639274597, 0.007819043472409248, 0.02873220667243004, -0.4234844446182251, 0.13205289840698242, 0.7645103335380554, -0.28447774052619934, -0.5546979904174805, -0.5983179807662964, 0.05283355712890625, -0.8638299703598022, 1.048723816871643, -0.1308726966381073, -0.24054402112960815, -0.46935561299324036, 0.005863097961992025, -0.3477429151535034, -0.5779708623886108, -0.23414525389671326, -0.31062522530555725, 0.5345100164413452, 0.56260746717453, 0.31275618076324463, 0.7387762069702148, 0.43425115942955017, 0.3663420081138611, 0.19185900688171387, 0.0979294702410698, -0.30839067697525024, -0.013041384518146515, -0.4081769287586212, -0.4753963351249695, -0.20788472890853882, 0.20670996606349945, 0.7538622617721558, 0.5225597023963928, -0.1657649427652359, 0.18841971457004547, 0.31799134612083435, 0.6379523277282715, -0.8422252535820007, 0.18966057896614075, -0.545698344707489, 0.09137971699237823, -0.19626681506633759, 0.15030896663665771, -0.4775034487247467, -0.3090069890022278, 0.16595818102359772, -0.7743401527404785, 0.24365700781345367, -0.36726027727127075, 0.554979681968689, 0.48068076372146606, -0.7591758370399475, -0.35730957984924316, -0.7597683668136597, 0.5606376528739929, -0.2894987165927887, 0.31073781847953796, 0.33043670654296875, 0.35514748096466064, 0.13586193323135376, -1.1188470125198364, -0.6562815308570862, 0.36236825585365295, -0.3608909547328949, 0.4643782377243042, -0.12528599798679352, 0.028446028009057045, -0.3208553194999695, 0.24168387055397034, -0.26542961597442627, 0.29212579131126404, -0.6100702285766602, 0.044053610414266586, 0.6504431366920471, 0.16585512459278107, 0.23928961157798767, -0.7353448867797852, -0.9166513085365295, -0.15197832882404327, -0.12280343472957611, 0.06831566989421844, 0.4359993040561676, 0.5844898223876953, -0.01760329119861126, 0.4498271942138672, -0.2404850572347641, 0.7140300869941711, -0.16046664118766785, -0.050339747220277786, 0.06652117520570755, -0.261709988117218, -0.24419550597667694, 0.29039233922958374, 1.0397632122039795, -0.04701891914010048, -0.022048411890864372, -0.3489994704723358, -0.14870350062847137, 0.04811703413724899, 0.33014822006225586, -0.8061639666557312, -0.5718896985054016, 0.21751996874809265, -0.3778235912322998, -0.5340606570243835, -0.018387306481599808, -0.5646153688430786, -0.25637245178222656, -0.3763204514980316, 0.7052056193351746, -0.3047269880771637, -0.27676719427108765, 0.2217486947774887, -0.20353852212429047, -0.48296022415161133, 0.26643672585487366, -0.8568568229675293, 0.5276150107383728, 0.6039566397666931, 0.8069925904273987, -0.21711008250713348, -0.49510473012924194, 0.10153023898601532, 0.37587231397628784, -0.185995414853096, 0.45270928740501404, -0.3287528157234192, -0.2957996129989624, -0.1583983600139618, -0.1906808465719223, -0.38868293166160583, -0.20663005113601685, 0.32775914669036865, -0.5624272227287292, 0.390438437461853, 0.09673812240362167, -0.9232667088508606, -0.3009830713272095, 0.019085314124822617, -0.8116207718849182, 1.114748239517212, 0.1949702352285385, -1.0775891542434692, 0.4436025619506836, -0.2708933353424072, -0.16678282618522644, 0.3490873873233795, -0.3172062039375305, -0.18824419379234314, -0.37742385268211365, 0.07976679503917694, 0.8270029425621033, 0.009359455667436123, 0.6219927668571472, -0.17402519285678864, -0.30198782682418823, 0.02009378746151924, -0.19634726643562317, 1.057183861732483, 0.22853583097457886, -0.2215709686279297, -0.059811148792505264, -0.9303274154663086, 0.04432440549135208, -0.19475528597831726, -0.3696131408214569, -0.9409326314926147, -0.1838541477918625, -0.11259418725967407, 0.2309872806072235, 0.18322502076625824, -0.47799649834632874, 0.467720627784729, -0.08951523900032043, 0.3855929672718048, 0.7896966934204102, 0.07774937897920609, 0.7092105746269226, -0.4148639738559723, 0.18135102093219757, 0.29944002628326416, 0.12152519077062607, 0.08819681406021118, -0.2613842189311981, -0.6245232820510864, -0.5253722071647644, 0.6132138967514038, 0.4811229109764099, -1.068755030632019, 0.372812956571579, -0.689252495765686, -0.858293890953064, -0.5071101188659668, 0.470496267080307, 0.08276934176683426, 0.6091862916946411, 0.43685147166252136, -0.24713291227817535, -0.3319547772407532, -0.604213297367096, -0.11247260868549347, -0.23919840157032013, 0.05879624933004379, 0.3284953236579895, 0.5086933970451355, -0.15528951585292816, 1.1012014150619507, -0.4514762759208679, -0.7236422896385193, -0.08272696286439896, 0.07539405673742294, -0.14290297031402588, 0.7736003994941711, 0.5115529298782349, -0.7397160530090332, -0.46041008830070496, -0.19782434403896332, -0.8108864426612854, 0.2037339061498642, -0.44204723834991455, -0.30182990431785583, -0.2952013909816742, 0.24909698963165283, -0.5395247340202332, 0.4002624452114105, 0.5782061815261841, -0.20329639315605164, 0.32391107082366943, -0.027173664420843124, -0.21018142998218536, -1.4779573678970337, -0.005803000647574663, -0.27945324778556824, -0.16333474218845367, -0.6264961361885071, -0.005012802314013243, 0.3504296839237213, -0.19948069751262665, -0.3170628547668457, 0.6854686141014099, -0.21071916818618774, 0.16619911789894104, -0.10691633075475693, 0.30820879340171814, -0.0030380552634596825, 0.337441623210907, 0.12083721160888672, 0.46472832560539246, 0.6790328025817871, -0.842121422290802, 0.24178627133369446, 0.5936319828033447, -0.42097461223602295, 0.1952214539051056, -0.24213674664497375, 0.10747960209846497, -0.1223696768283844, 0.35976797342300415, -0.9997882843017578, -0.23691944777965546, 0.347173810005188, -0.13212323188781738, 0.07625604420900345, -0.35163751244544983, -0.24640677869319916, -0.3328304588794708, 0.1359001249074936, 0.3896288275718689, 0.22155717015266418, -0.9377250671386719, 0.9613237380981445, 0.022988388314843178, 0.02597067505121231, -0.8220780491828918, -0.793286919593811, -0.09054597467184067, -0.05231745168566704, -0.3837588429450989, 0.45880424976348877, 0.08502613753080368, 0.18344059586524963, 0.49222204089164734, -0.09315375983715057, -0.5951201319694519, 0.16442857682704926, 0.4103533923625946, 0.1262046843767166, 0.09060287475585938, 0.4820186495780945, 0.3875610828399658, 0.12181352823972702, -0.1721988171339035, -0.6163792610168457, 0.06414946168661118, 0.418393075466156, -0.1767691820859909, -0.5982609391212463, 0.022428547963500023, 0.47956064343452454, -0.21465803682804108, 0.7700608968734741, 0.47444382309913635, -0.2821195721626282, -0.7676960825920105, -0.28093045949935913, -0.24989551305770874, -0.5155885815620422, -0.06313134729862213, -0.2179233431816101, -0.9386147260665894, 0.3948511779308319, -0.11701313406229019, 0.1178421601653099, 0.2993493974208832, -0.05747971311211586, 0.059063684195280075, 0.2678782641887665, 0.8092196583747864, -0.029218673706054688, 0.5422762632369995, -0.34709736704826355, -0.1861778199672699, -0.5173482298851013, -0.3967263400554657, -0.5371713638305664, -0.37091583013534546, -0.44081440567970276, -0.18661147356033325, -0.0035703331232070923, 0.02994563989341259, -0.10730437189340591, 0.3602178990840912, -0.60707688331604, 0.5145292282104492, 0.682550311088562, 0.34564289450645447, 0.39894935488700867, -0.009612291119992733, -0.10184089094400406, 0.2288641780614853, -0.9606602787971497, -0.2653062343597412, 1.221168041229248, 0.08928688615560532, 0.6777688264846802, 0.15152744948863983, 1.238889217376709, 0.24380040168762207, 0.4844214618206024, -0.7410539984703064, 0.5760313868522644, -0.6037070751190186, -0.7949567437171936, -0.3120734393596649, -1.1497173309326172, -0.8611564040184021, 0.2923741638660431, -0.35532769560813904, -0.556017279624939, 0.5011855363845825, -0.0006695284973829985, -0.38676536083221436, 0.6579078435897827, -0.7372595071792603, 0.5128543376922607, -0.22786417603492737, -0.28949862718582153, 0.1609114408493042, -0.5105778574943542, 0.5491904020309448, -0.4829771816730499, 0.17536036670207977, 0.014352427795529366, 0.0913454070687294, 1.0752623081207275, -0.38267263770103455, 1.152464509010315, -0.19528622925281525, 0.09041000157594681, 0.5793613791465759, 0.23175698518753052, 0.208152174949646, -0.13341231644153595, 0.0023525599390268326, 0.2275363653898239, 0.08985526859760284, -0.34209832549095154, -0.5602147579193115, 0.395873486995697, -1.2209012508392334, -0.32517942786216736, -0.24792145192623138, -0.4020358622074127, -0.11234340816736221, 0.6478786468505859, 0.13559532165527344, 0.44794926047325134, 0.15233281254768372, 0.38354483246803284, 0.30124926567077637, 0.27817031741142273, 0.5067852139472961, 0.5500380992889404, -0.10712658613920212, -0.40369805693626404, 0.9399309158325195, 0.5908210277557373, 0.13268297910690308, 0.4301913380622864, 0.37762898206710815, -0.37758004665374756, -0.3843066990375519, -0.381748765707016, -0.10943522304296494, -0.8516330122947693, -0.4389790892601013, -0.7607681751251221, -0.3330531716346741, -0.620367169380188, -0.0317278616130352, -0.41814538836479187, -0.7251909375190735, -0.5669835209846497, -0.35002651810646057, 0.20632076263427734, 1.0661356449127197, 0.016824163496494293, 0.8374142646789551, -0.9986389875411987, -0.043359994888305664, 0.6188703179359436, 0.630201518535614, 0.247978076338768, -0.38210901618003845, -0.14960947632789612, -0.3316916823387146, -0.0780847817659378, -0.8641746640205383, 0.22248932719230652, 0.23235052824020386, 0.425523042678833, 0.4169706106185913, 0.46196362376213074, 0.24143950641155243, -0.22432388365268707, 0.6175709366798401, 0.32005977630615234, -1.0152689218521118, 0.17374847829341888, -0.28412145376205444, -0.1069461926817894, 0.7493717670440674, 0.7993666529655457, -0.389647513628006, -0.20114867389202118, -0.663266658782959, -0.7548366189002991, 0.6778969168663025, 0.09370506554841995, 0.28854984045028687, 0.4031848907470703, 0.8265065550804138, 0.20097070932388306, 0.2806988060474396, -0.7256824970245361, -0.17606742680072784, -0.5602987408638, -0.6611358523368835, -0.10652405023574829, -0.12603667378425598, -0.22041790187358856, -0.1667185127735138, 0.5235421061515808, -0.13768307864665985, -0.19945213198661804, 0.24126875400543213, -0.04272784665226936, 0.2655143439769745, 0.15958450734615326, -0.10561929643154144, 0.39235392212867737, -0.026697957888245583, 0.43933534622192383, -0.05616084858775139, -0.8183004856109619, 0.4293963611125946, 0.1886511743068695, -0.5948047041893005, -0.11601285636425018, 0.26731547713279724, 0.49254050850868225, 0.38046354055404663, -0.03783638775348663, 0.6048099994659424, -0.2720803916454315, -0.5990047454833984, -0.004970525857061148, 0.2496308833360672, -0.08680306375026703, 0.13586865365505219, 0.3467821180820465, 0.26934686303138733, 0.16821366548538208, 0.06446512788534164, 0.5377809405326843, -0.1968381702899933, -0.43346354365348816, -0.17524439096450806, 0.5570573806762695, 0.2909812927246094, 0.26290163397789, 0.7462297081947327, 0.11023136228322983, -0.45108285546302795, 0.32490432262420654, 0.5258614420890808, 0.6847579479217529, -0.4424594044685364, 0.681568443775177, 0.27443090081214905, 0.3757026493549347, -0.20819999277591705, 0.06392060965299606, -0.12000022828578949, -0.9777873158454895, -0.18197260797023773, -0.4314459562301636, -0.39089539647102356, -0.11729844659566879, -0.7633178234100342, 0.07056781649589539, -0.7117457389831543, -0.19405773282051086, -0.06366457790136337, 0.1120423674583435, -0.6678401231765747, 0.5254300236701965, -0.14158442616462708, 0.9632797241210938, -1.1109009981155396, 0.8557692170143127, 0.6929023265838623, -0.33848369121551514, -1.2766969203948975, -0.3119908571243286, -0.2539816200733185, -0.40895920991897583, 0.6090810298919678, 0.08747463673353195, 0.04616628587245941, 0.2091698795557022, -0.5472643375396729, -0.7665216326713562, 1.2158292531967163, 0.2532956004142761, -0.391750305891037, -0.12062527239322662, 0.15507791936397552, 0.3337894380092621, -0.21343880891799927, -0.046335961669683456, -0.02146070823073387, 0.11715006083250046, 0.2043006271123886, -0.5352501273155212, 0.02622947096824646, 0.015783291310071945, -0.3281104266643524, -0.05716782063245773, -0.9998128414154053, 1.0821123123168945, 0.24151192605495453, -0.38117024302482605, -0.2985919713973999, 0.8553313612937927, -0.3723142147064209, 0.32168126106262207, 0.5675159096717834, 0.6950253844261169, 1.2461057901382446, 0.10940735042095184, 0.6913788318634033, -0.40677934885025024, 0.450820654630661, 1.3349640369415283, -0.12849028408527374, 0.8791657090187073, 0.08447928726673126, 0.0992266833782196, 0.7025375366210938, 0.5231198668479919, 0.10329518467187881, 0.5019868612289429, -0.08976440876722336, -0.34757199883461, -0.499096542596817, -0.03252030909061432, -0.21851831674575806, 0.858191728591919, 0.022460680454969406, -0.26112523674964905, -0.19443173706531525, -0.09044988453388214, -0.14116886258125305, 0.03806860372424126, -0.44549673795700073, 0.8394977450370789, 0.06587015837430954, -0.2715487778186798, 0.00539362384006381, -0.04739329218864441, 0.5294292569160461, -0.6505815982818604, 0.28077736496925354, -0.1728295534849167, 0.298420786857605, -0.4849974811077118, -0.5765082836151123, -0.031822625547647476, -0.2530941665172577, -0.1574254333972931, -0.16910883784294128, 1.0768585205078125, -0.6473820209503174, -0.5317712426185608, 0.1784990280866623, 0.6449732780456543, 0.05958838760852814, 0.1902572512626648, -0.4956069886684418, -0.40580451488494873, -0.1557139903306961, -0.033878982067108154, 0.33059218525886536, 0.5862110257148743, 0.07614479959011078, 0.7798964381217957, 0.6042278409004211, 0.05224624648690224, 0.16470371186733246, -0.19168081879615784, 1.034309983253479, -0.3469323217868805, -0.8247921466827393, -0.5340769290924072, 0.29221752285957336, 0.043770868331193924, -0.30518773198127747, 0.9013102054595947, 0.5231162309646606, 0.9877955317497253, 0.163881316781044, 0.9372966885566711, 0.20042793452739716, 0.5031947493553162, -0.3402346074581146, 1.057572364807129, -0.5795906782150269, -0.10175234824419022, -0.2605220079421997, -0.5616110563278198, -0.07360217720270157, 0.31736746430397034, -0.19252710044384003, 0.05760366469621658, 0.34892547130584717, 0.2204202264547348, -0.22088590264320374, 0.3969084322452545, 0.06141124665737152, -0.11856827884912491, 0.2278750240802765, 0.27219727635383606, 0.6591009497642517, -0.3806692957878113, 0.5959137678146362, -0.6653163433074951, -0.237227663397789, 0.08676056563854218, -0.7392111420631409, -0.9796971082687378, -0.687454879283905, -0.22092284262180328, -0.17518524825572968, -0.20983973145484924, 0.6424574851989746, 0.8805062174797058, -0.5007733702659607, -0.16522780060768127, 0.07867257297039032, 0.30886417627334595, -0.24884578585624695, -0.21016909182071686, 0.5855259895324707, -0.20443138480186462, -0.4292334020137787, 0.3164626359939575, -0.34358543157577515, 0.44346562027931213, -0.20443299412727356, 0.37742936611175537, -0.048573389649391174, 0.06230662390589714, 0.17936071753501892, -0.0290398970246315, 0.06045389547944069, -0.23733191192150116, -0.1484197974205017, -0.2452416568994522, -0.3708397150039673, 0.8404210805892944, -0.7313235402107239, 0.5994613766670227, 0.3586539924144745, 0.9528296589851379, 0.39055708050727844, 0.2578900158405304, 0.11829133331775665, -1.1651101112365723, 0.07541266828775406, 0.18471300601959229, 0.047743018716573715, 0.26580801606178284, -0.6423176527023315, 0.3759021759033203, 0.3218371272087097, -0.5211845636367798, -0.6596874594688416, 0.04305388778448105, -0.7333703637123108, -0.4827893078327179, 0.7304847240447998, -0.40372684597969055, -0.37548986077308655, -0.08717506378889084, 0.28172922134399414, 0.33356428146362305, -0.2747230529785156, 0.8758622407913208, 0.5495816469192505, 0.09821221977472305, 0.009203909896314144, -0.2869705557823181, 0.5489295721054077, 0.25613871216773987, -0.7664771676063538, 0.09936347603797913, 0.34715428948402405, 0.4208518862724304, 0.24288074672222137, 0.714494526386261, 0.1447889357805252, -0.204717218875885, 0.2445998638868332, 0.14586851000785828, -0.3769318759441376, -0.9159051775932312, -0.07436628639698029, 0.46785104274749756, -0.5216339826583862, -0.22265011072158813 ]
http://arxiv.org/abs/2406.11073v1
http://arxiv.org/pdf/2406.11073v1
Exploring the Limitations of Detecting Machine-Generated Text
2024-06-16T21:02:02
2024-06-16T21:02:02
Jad Doughman, Osama Mohammed Afzal, Hawau Olamide Toyin, Shady Shehata, Preslav Nakov, Zeerak Talat
cs.CL
cs.CL
Recent improvements in the quality of the generations by large language models have spurred research into identifying machine-generated text. Systems proposed for the task often achieve high performance. However, humans and machines can produce text in different styles and in different domains, and it remains unclear whether machine generated-text detection models favour particular styles or domains. In this paper, we critically examine the classification performance for detecting machine-generated text by evaluating on texts with varying writing styles. We find that classifiers are highly sensitive to stylistic changes and differences in text complexity, and in some cases degrade entirely to random classifiers. We further find that detection systems are particularly susceptible to misclassify easy-to-read texts while they have high performance for complex texts.
[ -0.3277280032634735, -0.7192647457122803, 0.6610376834869385, 0.10048991441726685, -0.014845617115497589, 0.17251834273338318, -0.3293476402759552, -0.9330392479896545, -0.33485910296440125, 0.6485029458999634, -0.41123858094215393, -0.39012661576271057, -0.979587197303772, 0.7104828357696533, -0.35315772891044617, 1.052701711654663, -0.26001667976379395, -0.3901311159133911, -0.2169961929321289, -0.0904243066906929, -0.44937795400619507, -0.9357327818870544, -0.36606431007385254, -0.34245043992996216, 0.35437139868736267, 0.3002432882785797, 0.5486067533493042, 0.45112916827201843, 0.6911112070083618, 0.37644878029823303, 0.04377639293670654, 0.5050094127655029, -0.4412398338317871, 0.5295352935791016, -0.03452438861131668, -0.5907713770866394, -0.04668840393424034, 0.011372106149792671, 0.6207793354988098, 0.16709372401237488, 0.5348432064056396, -0.008348019793629646, 0.18390865623950958, 0.5838618278503418, -0.851970374584198, -0.14332181215286255, -0.8029065132141113, 0.04092514142394066, -0.4946760833263397, -0.4510486423969269, -0.9829504489898682, -0.08911070227622986, 0.06293373554944992, -0.47019195556640625, 0.5256326794624329, 0.2984733283519745, 0.782319962978363, 0.11947987973690033, -0.3031446039676666, -0.8348300457000732, -1.017897367477417, 0.8962317705154419, -0.2771730422973633, 0.15341171622276306, 0.23571191728115082, 0.33753135800361633, 0.028716495260596275, -0.5734741687774658, -0.690211296081543, -0.1261962503194809, -0.13801932334899902, 0.034583818167448044, -0.3186523914337158, -0.19866284728050232, 0.4567774534225464, 0.19249476492404938, -0.70725417137146, 0.276571661233902, -0.05248824879527092, -0.4231317937374115, 0.6930521726608276, 0.3231334388256073, 0.5242430567741394, -0.42048919200897217, -0.1337910145521164, -0.1484133005142212, -0.2790066599845886, 0.07245702296495438, 0.7471933960914612, 0.330250084400177, 0.3174205422401428, 0.5887928605079651, -0.19425305724143982, 0.6341962218284607, -0.1760317087173462, -0.29506245255470276, 0.06173443794250488, -0.22226350009441376, -0.21496960520744324, -0.06468567997217178, 0.926537275314331, 0.30458617210388184, 0.3880719840526581, 0.009824185632169247, -0.6043915152549744, 0.09096100926399231, 0.39785102009773254, -0.6866518259048462, -0.2251003235578537, -0.18665125966072083, -0.5937164425849915, -0.5379683971405029, 0.09319540858268738, -0.24804545938968658, -0.5893679857254028, -0.009831302799284458, 0.5955998301506042, -0.4185977578163147, -0.020410241559147835, 0.18506093323230743, -0.6159758567810059, -0.02317594364285469, 0.43674278259277344, -0.7963297367095947, -0.06427554786205292, 0.5646950006484985, 0.5623252391815186, -0.3167571723461151, -0.3430638015270233, -0.3579161465167999, -0.15845562517642975, -0.2839992344379425, 0.9588929414749146, -0.5359001755714417, -0.3211653232574463, -0.1552269607782364, 0.06036004051566124, -0.1491556465625763, -0.7096662521362305, 0.7878459692001343, -0.4289787709712982, 0.23748145997524261, -0.050031181424856186, -0.43324893712997437, 0.11818388104438782, -0.08030124008655548, -0.6714168787002563, 0.8310545682907104, 0.2512357831001282, -1.0462383031845093, 0.8751416206359863, -0.28647470474243164, -0.7668672204017639, 0.060447290539741516, 0.13759323954582214, -0.8824418783187866, 0.11096317321062088, -0.2302180379629135, 0.7025795578956604, -0.06502686440944672, 0.18885467946529388, -0.24343526363372803, -0.5930774807929993, 0.6057302355766296, -0.6529608964920044, 0.5356168746948242, 0.5506613850593567, -0.44990232586860657, -0.02898145467042923, -1.0192041397094727, -0.08874107152223587, 0.20114341378211975, -0.6742631196975708, -0.5399742126464844, 0.11578097939491272, 0.5009697079658508, 0.032281626015901566, 0.1992141753435135, -0.38738787174224854, 0.07969024777412415, 0.15157221257686615, 0.3798450827598572, 0.7361719012260437, -0.292005330324173, 0.2366824597120285, -0.608661413192749, 0.4851365387439728, -0.04320905730128288, -0.29504990577697754, -0.22288945317268372, -0.5072268843650818, -0.7959475517272949, -0.2666589915752411, 0.31481921672821045, 0.643943190574646, -0.8292627930641174, 0.47035399079322815, 0.10145671665668488, -0.508322536945343, -0.32759249210357666, 0.05289106443524361, 0.48988649249076843, -0.08065486699342728, 0.1775292158126831, -0.2468308061361313, -0.5136738419532776, -0.78248131275177, -0.8059192299842834, -0.08227408677339554, -0.19127342104911804, 0.38603875041007996, 0.5498983860015869, -0.3945460915565491, 0.5930287837982178, -0.5045322179794312, 0.1396549642086029, -0.33123546838760376, 0.4730382561683655, -0.38208743929862976, 0.4473683536052704, 0.6960169672966003, -0.6148627996444702, -0.4707047939300537, 0.09051574766635895, -0.7657102942466736, -0.37228167057037354, -0.3717171251773834, 0.07634299248456955, 0.420732319355011, 0.4601902365684509, -0.23549558222293854, 0.4730284512042999, 0.3102049231529236, -0.3457692861557007, 0.6554493308067322, -0.13029387593269348, 0.23401924967765808, -0.6441285610198975, 0.06295424699783325, 0.2718347907066345, -0.21210314333438873, -0.7676602005958557, -0.011696655303239822, 0.17211033403873444, -0.1302030384540558, -0.17254826426506042, 0.20725344121456146, -0.2790820300579071, 0.08743125200271606, -0.3843699097633362, -0.051719628274440765, 0.2199404537677765, 0.2000129222869873, -0.03826311230659485, 0.6540343165397644, 0.049304693937301636, -0.7180269360542297, -0.0242325346916914, -0.19605912268161774, -0.5410575270652771, 0.79714035987854, -0.5170047879219055, 0.20389847457408905, -0.3268653452396393, 0.22369368374347687, -1.0661371946334839, -0.5298827886581421, 0.06256978213787079, -0.49646255373954773, 0.5449195504188538, 0.10552927851676941, -0.5798457860946655, -0.31260424852371216, -0.2583458721637726, 0.308501660823822, 0.19315558671951294, -0.4402708113193512, 0.35467132925987244, 0.039985258132219315, 0.08616672456264496, -0.48289433121681213, -0.6068200469017029, -0.015745660290122032, -0.2969304323196411, -0.6168289184570312, 0.21990393102169037, 0.053348686546087265, -0.29461297392845154, -0.14786681532859802, 0.07266217470169067, -0.11997263878583908, 0.5694460868835449, 0.2540827691555023, 0.014933276921510696, -0.27939507365226746, 0.2872771918773651, 0.2375275045633316, 0.10915227234363556, -0.08418118208646774, -0.0374358631670475, 0.5007765889167786, 0.1163867712020874, -0.2576712965965271, -0.5885263085365295, 0.37840190529823303, 0.9305874109268188, -0.13514651358127594, 0.602802038192749, 0.827338457107544, -0.3159264326095581, -0.5634260773658752, -0.3752884566783905, 0.1226753368973732, -0.4776417911052704, 0.3261352479457855, -0.6828845739364624, -1.0007274150848389, 0.23526881635189056, 0.25044646859169006, -0.25692710280418396, 0.9222432374954224, 0.3954128623008728, -0.059434518218040466, 1.1563137769699097, 0.7333908677101135, 0.17060336470603943, 0.3637221157550812, 0.2017218917608261, 0.2619364261627197, -0.5840744376182556, -0.23656204342842102, -1.1370769739151, -0.16543513536453247, -1.125927209854126, 0.04580308869481087, -0.054332222789525986, 0.013856273144483566, -0.20809626579284668, 0.4764935076236725, -1.0363330841064453, 0.5529995560646057, 0.6555486917495728, 0.12313060462474823, 0.5078163146972656, -0.1025606170296669, 0.16243121027946472, 0.018103551119565964, -0.36683279275894165, -0.9598236083984375, 1.2619929313659668, 0.3651517927646637, 0.6024868488311768, 0.013936369679868221, 0.6263527870178223, 0.6631788611412048, 0.30168429017066956, -0.6694715023040771, 0.22144468128681183, -0.5442297458648682, -0.5915944576263428, -0.1528734713792801, -0.5119785070419312, -0.9864939451217651, 0.12356056272983551, -0.4625644385814667, -0.5026329159736633, 0.07759696990251541, -0.14693231880664825, -0.01771668717265129, 0.4198038876056671, -0.9332701563835144, 0.7639198303222656, -0.04004443436861038, -0.09333627671003342, 0.16864071786403656, -0.31826096773147583, 0.27144473791122437, -0.33382272720336914, 0.014691940508782864, -0.10257790237665176, 0.27405044436454773, 0.7722954154014587, -0.12714585661888123, 0.6993308663368225, 0.10535454750061035, -0.125857412815094, 0.5892625451087952, 0.3314867317676544, 0.2623150050640106, -0.26805514097213745, -0.0919068455696106, -0.08295226842164993, -0.21216446161270142, -0.4115019142627716, -0.3223321735858917, 0.47695693373680115, -0.798558235168457, -0.4476129412651062, -0.45813891291618347, -0.38710102438926697, 0.004973075818270445, 0.3216330111026764, 0.9113824963569641, 0.3713790476322174, -0.24947421252727509, 0.09517703205347061, 0.5904254913330078, -0.4616037607192993, 0.29128509759902954, 0.14502760767936707, -0.2250511795282364, 0.034276217222213745, 1.2101719379425049, 0.2615498900413513, 0.35071897506713867, 0.32851505279541016, 0.10787391662597656, -0.07761168479919434, -0.7013910412788391, -0.765155553817749, -0.12943311035633087, -0.6424327492713928, 0.009441399946808815, -0.7741360664367676, -0.22014814615249634, -0.21436578035354614, -0.31087562441825867, 0.14042143523693085, -0.4994896352291107, -0.6566978693008423, 0.20069251954555511, 0.13255974650382996, 1.0999501943588257, 0.25265756249427795, 0.2439459264278412, -0.45539015531539917, 0.1373475342988968, 0.36938250064849854, 0.2873162627220154, -0.12269611656665802, -0.4724377691745758, 0.11346295475959778, -0.4115068316459656, -0.5717050433158875, -0.6502189040184021, 0.20582516491413116, -0.06100601330399513, 0.20847119390964508, 0.29835277795791626, 0.05547038093209267, -0.049215879291296005, -0.2681750953197479, 0.7058185338973999, 0.023203762248158455, -1.0166733264923096, 0.4928099513053894, -0.3941490948200226, 0.34704601764678955, 0.4372527003288269, 0.5090185403823853, -0.4884634017944336, -0.6948004961013794, -0.40349844098091125, -0.36319229006767273, 0.6770793795585632, 0.281031996011734, 0.17070285975933075, 0.056822799146175385, 0.33038410544395447, 0.44196781516075134, 0.130085289478302, -0.6954241394996643, -0.011907225474715233, -0.29976341128349304, -0.2226429581642151, -0.033331695944070816, -0.2177492082118988, 0.2913472056388855, 0.17780978977680206, 0.35671138763427734, 0.02290998585522175, 0.42315027117729187, 0.174886554479599, -0.20153571665287018, -0.08100944012403488, 0.4154764413833618, 0.8789042234420776, 0.2296866625547409, -0.0063255419954657555, 0.25033098459243774, -0.10316136479377747, -0.4934126138687134, 0.1617792248725891, -0.1874891072511673, -0.42207783460617065, 0.17608964443206787, 0.7833910584449768, 0.8189459443092346, -0.20617987215518951, -0.6371710300445557, 0.4244147837162018, -0.18288439512252808, -0.19832547008991241, 0.11834891885519028, 0.5434903502464294, -0.40071481466293335, -0.053973786532878876, 0.2636937201023102, 0.5724771618843079, 0.31710219383239746, -0.7934120893478394, 0.0648699477314949, 0.40293586254119873, -0.4076693654060364, -0.23107752203941345, 0.5266415476799011, 0.1709170639514923, -0.6015209555625916, 0.3329162299633026, -0.5478573441505432, -0.8757554292678833, 0.7823235988616943, 0.6980578303337097, 0.9565812349319458, -0.0004748308565467596, 0.07191324234008789, 0.14820219576358795, 0.3323017656803131, 0.03647994250059128, 0.1538756638765335, -0.10997329652309418, -0.8029119372367859, -0.19273847341537476, -0.6916537284851074, -0.4372432827949524, 0.22306104004383087, -0.36994022130966187, 0.27187153697013855, -0.5956545472145081, -0.45555317401885986, 0.4099659323692322, -0.14862807095050812, -0.6222621202468872, 0.2362866848707199, 0.00641262624412775, 0.34503984451293945, -0.8804558515548706, 0.21747593581676483, 0.635145366191864, -0.06761699169874191, -0.3507879674434662, 0.3179728090763092, 0.10351096838712692, -0.5327281355857849, 0.7120139002799988, 0.6051414012908936, -0.48409324884414673, -0.2699914574623108, -0.5971816182136536, -0.21148976683616638, 0.5779053568840027, -0.13732285797595978, -0.43279722332954407, 0.12405452877283096, 0.1284608542919159, 0.7959792613983154, -0.2001136988401413, 0.12474199384450912, 0.5464459657669067, 0.4360254108905792, -0.4625852108001709, -1.101636528968811, 0.010973908938467503, -0.15570469200611115, 0.039900485426187515, 0.29767608642578125, -0.6115139126777649, 0.9902024269104004, 0.023886261507868767, -0.5981848239898682, 0.16682901978492737, 0.3223744332790375, -0.06246370077133179, 0.9182924628257751, 0.28852054476737976, 0.4389343857765198, 0.9281597137451172, -0.3482222855091095, 1.0194158554077148, 0.10980276018381119, 0.3460181951522827, 0.5397408604621887, -0.2642650902271271, 0.6132619380950928, -0.2016020268201828, -0.16245537996292114, 0.623067319393158, 0.49184244871139526, 0.004436257295310497, 0.10719690471887589, 0.4638928174972534, -0.44756048917770386, -0.2961333096027374, -0.1453457921743393, -0.2331772744655609, 0.7522444128990173, 0.12673403322696686, -0.5637134313583374, 0.30586865544319153, 0.16616731882095337, 0.11241259425878525, 0.3993132412433624, -0.108443982899189, 0.6538819074630737, -0.20891842246055603, -0.7729271650314331, 0.5451648831367493, 0.35854506492614746, 1.0536102056503296, -0.0752146765589714, 0.2934599220752716, 0.26524618268013, 0.2077106237411499, -0.41163986921310425, -0.8542078137397766, 0.27544280886650085, 0.255715548992157, -0.4228628873825073, -0.037279363721609116, 1.2382794618606567, 0.05394987761974335, -0.3623630404472351, -0.002702258760109544, 0.44278252124786377, 0.04211612045764923, -0.06432512402534485, -0.2445092350244522, 0.3853926658630371, -0.07836724817752838, -0.2261361926794052, 0.33947426080703735, 0.9293654561042786, -0.043963655829429626, 0.6251352429389954, 0.5978603363037109, -0.4803735613822937, -0.0462799072265625, -0.08458210527896881, 0.41668757796287537, -0.5551198720932007, -0.11320999264717102, -0.9016737341880798, 0.08833981305360794, -0.04125891253352165, -0.6581942439079285, 0.6715657711029053, 0.5663672685623169, 1.0087494850158691, -0.26786330342292786, 1.0674854516983032, 0.0655127689242363, 0.40629130601882935, -0.5612149238586426, 0.891761839389801, -0.523315966129303, 0.11489462852478027, -0.5621636509895325, -0.6556753516197205, -0.37330275774002075, 0.4928646385669708, -0.11982652544975281, 0.13875052332878113, 0.7170317769050598, 0.42188388109207153, 0.14331451058387756, 0.22889608144760132, 0.38165339827537537, -0.1869155764579773, 0.28105488419532776, 0.5504541993141174, 1.1259891986846924, -0.3245719373226166, 0.5735804438591003, -0.15695030987262726, -0.12977541983127594, -0.5106484293937683, -0.6780139803886414, -1.0674057006835938, -0.7291826009750366, -0.17947660386562347, -0.5516865849494934, -0.11997052282094955, 0.3421184718608856, 0.44679781794548035, -0.6666490435600281, 0.04027716442942619, 0.00796190183609724, 0.2966412603855133, 0.023204300552606583, -0.32802486419677734, 0.09561379253864288, -0.36085203289985657, -0.8218458890914917, 0.0835832729935646, 0.35539498925209045, 0.2412947416305542, -0.21503157913684845, 0.1486475020647049, 0.43674081563949585, 0.2900739312171936, 0.8883221745491028, 0.16205090284347534, -0.4932919442653656, -0.5965963006019592, 0.1467009037733078, -0.6254191994667053, -0.015799425542354584, 1.0956950187683105, -0.42446377873420715, 0.44445154070854187, 0.7795373797416687, 0.6723054051399231, 0.37408000230789185, -0.11069247126579285, 0.14720456302165985, -0.5017235279083252, -0.33710312843322754, 0.2673009932041168, 0.15689365565776825, 0.34265217185020447, -0.5874071717262268, 0.2388363480567932, 0.551668107509613, -0.7689630389213562, -0.8356735706329346, 0.4619017243385315, -0.6837779879570007, -0.6440082788467407, 0.965249240398407, 0.03793366625905037, 0.06163402646780014, -0.36928558349609375, -0.3912729322910309, 0.2397296130657196, -0.27395689487457275, 0.6685101389884949, 0.960404098033905, -0.2347089946269989, 0.4021680951118469, -0.47022154927253723, 0.5189881920814514, 0.23124875128269196, -0.72410649061203, -0.001660080044530332, 0.518576443195343, 0.27372947335243225, 0.4166766107082367, 0.44462263584136963, 0.0652751550078392, 0.3985196650028229, 0.01311518531292677, -0.16153433918952942, 0.26461321115493774, -0.5654497742652893, -0.20830422639846802, 0.48079797625541687, 0.29209092259407043, 0.18190549314022064 ]
http://arxiv.org/abs/2406.11069v1
http://arxiv.org/pdf/2406.11069v1
WildVision: Evaluating Vision-Language Models in the Wild with Human Preferences
2024-06-16T20:53:25
2024-06-16T20:53:25
Yujie Lu, Dongfu Jiang, Wenhu Chen, William Yang Wang, Yejin Choi, Bill Yuchen Lin
cs.CV
cs.CV, cs.AI, cs.CL
Recent breakthroughs in vision-language models (VLMs) emphasize the necessity of benchmarking human preferences in real-world multimodal interactions. To address this gap, we launched WildVision-Arena (WV-Arena), an online platform that collects human preferences to evaluate VLMs. We curated WV-Bench by selecting 500 high-quality samples from 8,000 user submissions in WV-Arena. WV-Bench uses GPT-4 as the judge to compare each VLM with Claude-3-Sonnet, achieving a Spearman correlation of 0.94 with the WV-Arena Elo. This significantly outperforms other benchmarks like MMVet, MMMU, and MMStar. Our comprehensive analysis of 20K real-world interactions reveals important insights into the failure cases of top-performing VLMs. For example, we find that although GPT-4V surpasses many other models like Reka-Flash, Opus, and Yi-VL-Plus in simple visual recognition and reasoning tasks, it still faces challenges with subtle contextual cues, spatial reasoning, visual imagination, and expert domain knowledge. Additionally, current VLMs exhibit issues with hallucinations and safety when intentionally provoked. We are releasing our chat and feedback data to further advance research in the field of VLMs.
[ -0.4689779281616211, -0.455770343542099, 0.6050415635108948, 0.24485163390636444, -0.2967831790447235, -0.20121540129184723, -0.17972013354301453, -0.857414186000824, -0.044523872435092926, 0.5911562442779541, -0.39645013213157654, -0.46088916063308716, -0.3162149488925934, -0.10799416899681091, -0.32281383872032166, 0.6212417483329773, -0.002289103576913476, 0.12925246357917786, -0.227556049823761, -0.3344327211380005, -0.5170145630836487, -0.6375501155853271, -0.20613525807857513, -0.10201238095760345, 0.6218118667602539, 0.07901032269001007, 0.5925831198692322, 0.41552770137786865, 0.568595826625824, 0.3513728976249695, 0.06295284628868103, 0.19585177302360535, -0.5767440795898438, 0.11516518890857697, -0.03159506991505623, -0.24031509459018707, -0.5478994250297546, 0.23050551116466522, 0.21056927740573883, 0.583040714263916, -0.258685827255249, -0.023735780268907547, -0.07657811790704727, 0.488757461309433, -0.7045975923538208, 0.14009667932987213, -0.7173919081687927, 0.38567396998405457, -0.2856501638889313, -0.143332377076149, -0.44675973057746887, -0.11321082711219788, 0.6117594838142395, -0.6520867347717285, 0.2721885144710541, 0.268500417470932, 1.0872511863708496, 0.14465726912021637, -0.44495609402656555, 0.4203917384147644, -0.86418616771698, 0.7633267641067505, -0.3901802599430084, 0.5912272930145264, 0.2954505980014801, 0.6698082089424133, 0.04195626825094223, -0.7350382208824158, -0.727077066898346, -0.18149542808532715, 0.1891174167394638, 0.2876521944999695, -0.4800088405609131, 0.17016150057315826, 0.26683691143989563, 0.00633249431848526, -0.6955769062042236, 0.07405764609575272, -0.5802575349807739, -0.2713758051395416, 0.63345867395401, 0.3926059603691101, -0.0868343859910965, -0.026568762958049774, -0.45778584480285645, -0.3714223802089691, -0.4281218945980072, -0.07953624427318573, 0.15932396054267883, -0.034210413694381714, 0.16690003871917725, 0.5544852018356323, -0.3198850750923157, 1.0955089330673218, -0.28733229637145996, 0.12499994784593582, 0.46959546208381653, -0.26018884778022766, -0.5366761088371277, -0.5727463364601135, 0.7435799241065979, 1.0659610033035278, 0.27176645398139954, -0.19902795553207397, -0.24254663288593292, 0.33272773027420044, 0.598291277885437, -0.44454970955848694, -0.1404423862695694, -0.026794089004397392, -0.4546959102153778, -0.37167826294898987, -0.13330520689487457, -0.8451856970787048, -0.7346203923225403, -0.41057878732681274, 0.5821502804756165, -0.1494477093219757, -0.12260407954454422, 0.05672789737582207, -0.31085872650146484, 0.43649375438690186, 0.7386168837547302, -0.901197612285614, 0.25861072540283203, 0.47871825098991394, 0.6229172348976135, -0.5285170078277588, -0.6259225010871887, -0.5074410438537598, -0.19810572266578674, -0.33456751704216003, 0.9402123093605042, -0.4203391373157501, -0.28575819730758667, 0.08953826129436493, -0.17965815961360931, -0.009303738363087177, -0.7196125984191895, 0.5432471036911011, -0.35766226053237915, -0.018367011100053787, -0.3484196960926056, -0.22262293100357056, -0.08108936250209808, 0.5608605742454529, -0.6265731453895569, 0.6497560143470764, -0.26472702622413635, -0.5548281073570251, 0.9422594904899597, -0.3782161474227905, 0.016968274489045143, 0.4501045346260071, -0.3875647783279419, -0.2221173644065857, 0.2657588720321655, 0.1097460612654686, 0.4720442295074463, -0.09955011308193207, 0.23468898236751556, -0.46861040592193604, -0.33481648564338684, 0.26882362365722656, -0.588396430015564, 0.2607879638671875, 0.27680668234825134, -0.30377787351608276, 0.5107226371765137, -0.8351966142654419, 0.08461201190948486, 0.1380750685930252, -0.04201241955161095, -0.4606592655181885, 0.1909027099609375, 0.3856591582298279, 0.276123583316803, -0.0299857035279274, -0.45500776171684265, 0.12081311643123627, -0.34177568554878235, 0.295803427696228, 0.8722809553146362, -0.22813384234905243, 0.2549189329147339, -0.08451066166162491, 0.28707581758499146, 0.0958864763379097, 0.866466224193573, 0.2320915013551712, -0.7370601296424866, -0.7776610255241394, -0.09707159548997879, -0.2717236280441284, 0.34577882289886475, -0.7649516463279724, -0.07716722041368484, -0.10190016776323318, -0.4912882149219513, -0.41322773694992065, -0.051481474190950394, 0.33416882157325745, 0.35806459188461304, 0.2569007873535156, -0.49503225088119507, -0.5376209616661072, -1.1461595296859741, -0.3106805086135864, -0.21335433423519135, -0.024162041023373604, 0.815833568572998, 0.37817785143852234, -0.5143527984619141, 1.0742082595825195, -0.5264737010002136, -0.3937626779079437, -0.21098023653030396, 0.02483495883643627, 0.07532721757888794, 0.07963673025369644, 0.755350649356842, -1.27777898311615, -0.4681502878665924, -0.05042221024632454, -0.8935153484344482, 0.07465028017759323, 0.3560754954814911, -0.030894571915268898, 0.1978463977575302, -0.02048465795814991, -0.4277290999889374, 0.6453348994255066, 0.7250933647155762, -0.44469544291496277, 0.494218111038208, -0.24075976014137268, 0.2856387495994568, -0.5497691035270691, 0.07958485931158066, -0.021756669506430626, -0.015386555343866348, -0.7591096758842468, 0.07666941732168198, -0.032205600291490555, 0.08756929636001587, -0.7135653495788574, 0.4672889709472656, -0.1699143797159195, -0.277738094329834, 0.028072228655219078, 0.3506005108356476, 0.036382097750902176, 0.5388764142990112, 0.23109708726406097, 0.5336405634880066, 0.6646229028701782, -0.30438950657844543, 0.7560075521469116, 0.35581016540527344, -0.26454609632492065, 0.3651200532913208, -0.5786495208740234, 0.17128346860408783, -0.05608728900551796, 0.1327708661556244, -0.7422605752944946, -0.2773057520389557, 0.1408310979604721, -0.2650386393070221, 0.024724546819925308, -0.22637394070625305, -0.3144837021827698, -0.4852388799190521, -0.4232102632522583, 0.21940383315086365, 0.3623877763748169, -0.41981980204582214, 0.527827799320221, 0.5457102060317993, 0.3181719183921814, -0.7159553170204163, -0.6753147840499878, 0.5522974729537964, -0.1277424395084381, -0.5679270029067993, 0.044679801911115646, -0.21233467757701874, -0.5635103583335876, -0.10059010237455368, 0.02186700887978077, 0.02581941708922386, -0.004524615127593279, 0.4443327486515045, 0.5555803179740906, 0.0005347523838281631, -0.28085678815841675, -0.49354276061058044, -0.15693069994449615, -0.13760906457901, -0.5724126696586609, 0.2867262065410614, -0.5777878761291504, -0.29351818561553955, 0.05443509295582771, 0.23498083651065826, 0.6910422444343567, -0.37885206937789917, 0.58149653673172, 0.3785111904144287, -0.3582538664340973, -0.11100137233734131, -0.6638915538787842, -0.09817899763584137, -0.40979379415512085, 0.21935680508613586, -0.34719204902648926, -0.8560352921485901, 0.2656697630882263, 0.19999752938747406, 0.10844830423593521, 0.282052218914032, 0.6037012338638306, -0.05511119216680527, 1.1571890115737915, 0.7116702795028687, 0.30092763900756836, 0.42147815227508545, -0.2701062560081482, 0.06506596505641937, -0.6391382217407227, -0.470355749130249, -0.12858667969703674, -0.223457470536232, -0.4971287250518799, -0.42557576298713684, 0.506948709487915, -0.3720429241657257, 0.3009045124053955, 0.3047662377357483, -0.4701399803161621, 0.43602627515792847, 0.37659183144569397, -0.0388282835483551, 0.32527151703834534, -0.16854368150234222, -0.446287602186203, -0.439778596162796, -0.4917163550853729, -0.5310784578323364, 1.0919638872146606, 0.1561189442873001, 0.7097560167312622, 0.13660892844200134, 0.4281761050224304, 0.2723786532878876, 0.3889304995536804, -0.6878630518913269, 0.6464886665344238, -0.025728769600391388, -0.7759406566619873, -0.34593886137008667, -0.2606171667575836, -0.8647207617759705, 0.7232832312583923, -0.5324704051017761, -1.0086777210235596, 0.2779202461242676, 0.36515969038009644, -0.38901248574256897, 0.19647172093391418, -0.6602253913879395, 1.1792784929275513, -0.290195107460022, -0.7935954332351685, -0.15973272919654846, -0.7537753582000732, 0.5402384996414185, -0.0879204124212265, 0.21761512756347656, 0.02881583943963051, 0.1413293182849884, 0.6007429361343384, -0.2378191351890564, 0.7762818336486816, -0.12218046933412552, 0.06021483987569809, 0.049070220440626144, -0.07597682625055313, 0.2502014636993408, -0.07952472567558289, 0.28344693779945374, 0.27273157238960266, -0.15024468302726746, -0.12000124156475067, -0.4357217252254486, 0.7621042132377625, -0.8914968967437744, -0.4364262521266937, -0.7080042362213135, -0.2789210379123688, -0.4935731589794159, 0.18462218344211578, 0.3138100504875183, 0.6253019571304321, -0.431402325630188, 0.15036267042160034, 0.7409247756004333, -0.3271801471710205, 0.323418527841568, 0.6591138243675232, -0.5990862846374512, -0.3535190224647522, 0.7407464385032654, 0.046171434223651886, 0.2019759714603424, 0.32290783524513245, 0.15698643028736115, -0.17011934518814087, -0.7599672675132751, -0.6177316308021545, -0.07028521597385406, -0.7794291973114014, 0.07816831767559052, -0.8735280632972717, -0.016007401049137115, -0.1931598037481308, -0.05897945538163185, -0.4676671028137207, -0.06450823694467545, 0.21074159443378448, -0.12270081043243408, 0.18713711202144623, 0.8384851813316345, -0.09137260168790817, -0.17226581275463104, -0.6613882184028625, 0.3152780532836914, 0.8326482772827148, 0.49783629179000854, -0.123745396733284, -0.2515043020248413, -0.0888114646077156, -0.24181866645812988, -0.15026259422302246, -0.692350447177887, 0.6169101595878601, -0.012701863422989845, 0.5892369747161865, 0.4584697186946869, 0.0030533047392964363, 0.739837110042572, -0.707987904548645, 0.881310224533081, 0.14616908133029938, -0.6849098205566406, 0.5169605612754822, -0.2937536835670471, -0.015021455474197865, 0.5077560544013977, 0.06064562499523163, -0.5356730818748474, -0.3575250804424286, -0.511601448059082, -0.877888023853302, 0.7123233675956726, 0.29702839255332947, 0.03085019811987877, 0.25778234004974365, -0.028348444029688835, 0.11498938500881195, 0.25890496373176575, -0.5877277255058289, -0.1601220816373825, -0.47632500529289246, 0.2122606337070465, -0.1975279599428177, -0.08711284399032593, -0.24401047825813293, -0.2579696476459503, 0.09378694742918015, -0.26081374287605286, 0.17472371459007263, 0.03800187632441521, 0.028251782059669495, -0.26838991045951843, 0.20674388110637665, 0.8747153878211975, 0.8444919586181641, -0.46297022700309753, 0.33637046813964844, 0.4047677218914032, -0.7077575922012329, -0.2696314752101898, 0.07904621958732605, -0.13821902871131897, -0.1556386798620224, 0.4141545593738556, 1.0845041275024414, 0.2213163673877716, -0.9815915822982788, 0.8700821399688721, -0.666179358959198, -0.2953086197376251, -0.24664872884750366, 0.10211018472909927, -0.22514018416404724, 0.246007040143013, 0.49135902523994446, 0.605457603931427, 0.3926508128643036, -0.5926321148872375, 0.17507147789001465, 0.26045799255371094, -0.6509839296340942, -0.36395666003227234, 0.9202042818069458, 0.2915065288543701, 0.00974483136087656, 0.3921578526496887, 0.046783462166786194, -0.6582803726196289, 0.30166640877723694, 0.12662343680858612, 0.9923965334892273, 0.27228033542633057, 0.15010346472263336, 0.10700443387031555, 0.27860382199287415, -0.01432252861559391, 0.11282804608345032, -0.1417490839958191, -0.7972787618637085, -0.33434242010116577, -0.7329276204109192, -0.7221964001655579, 0.09343661367893219, -0.5966519713401794, 0.14988821744918823, -0.23372359573841095, -0.22043617069721222, 0.11510372161865234, -0.06787749379873276, -0.8872709274291992, 0.24819296598434448, 0.41261768341064453, 0.6788612008094788, -0.8401709794998169, 0.9098738431930542, 0.804190456867218, -0.2930937707424164, -0.608625590801239, -0.1419627070426941, 0.3191659450531006, -0.7555272579193115, 0.640018880367279, 0.08273874223232269, -0.15664426982402802, -0.16801775991916656, -0.8478730320930481, -0.42459967732429504, 1.0993255376815796, 0.04712215065956116, -0.7568433284759521, 0.24569988250732422, -0.20600944757461548, 0.721833348274231, -0.1539829969406128, 0.15222898125648499, 0.34876060485839844, 0.560820460319519, 0.36513420939445496, -1.1046878099441528, -0.31944939494132996, -0.340169221162796, -0.021138250827789307, 0.043980665504932404, -0.65581214427948, 0.5960596203804016, -0.30259567499160767, -0.00752252247184515, -0.19094271957874298, 0.4191056191921234, 0.3727760314941406, 0.5587141513824463, 0.6481673717498779, 0.4167898893356323, 0.4300127327442169, -0.16539974510669708, 1.08085298538208, 0.06259810924530029, 0.22686418890953064, 0.608437716960907, -0.6348065733909607, 1.0260859727859497, 0.5052381157875061, -0.12746991217136383, -0.04087228327989578, 0.3357585370540619, -0.16266480088233948, 0.7230120897293091, 0.060092173516750336, -0.06058738753199577, -0.4976768493652344, -0.0961855947971344, -0.13822713494300842, 0.5400779843330383, 0.1681046038866043, 0.14139612019062042, 0.08433831483125687, 0.32620882987976074, -0.25425368547439575, -0.05240296199917793, 0.04291895031929016, 0.7612470388412476, 0.11635905504226685, -0.8424894213676453, 0.5047223567962646, -0.1734948754310608, 0.6258745193481445, -0.6872467398643494, -0.0756436437368393, -0.3496044874191284, 0.42022690176963806, -0.08316773921251297, -0.7824209928512573, 0.11857518553733826, 0.2477162480354309, 0.02556266076862812, -0.35267528891563416, 0.6562156081199646, -0.21783365309238434, -0.0239421334117651, 0.4576641023159027, 0.44238054752349854, 0.21291764080524445, -0.05978451296687126, -0.4358054995536804, 0.5165668725967407, -0.15296657383441925, -0.3205946683883667, 0.4397263526916504, 0.3267422318458557, -0.2285194844007492, 0.7497742176055908, 0.638367772102356, 0.07468267530202866, 0.12550775706768036, 0.38490813970565796, 0.9799558520317078, -0.6549826264381409, -0.29502958059310913, -0.7913508415222168, 0.3550257384777069, -0.3240186870098114, -0.6592212915420532, 0.8008462190628052, 0.49853459000587463, 0.7252805829048157, -0.10499125719070435, 0.7932907342910767, -0.04428085684776306, 0.0269525907933712, -0.21068252623081207, 0.7826962471008301, -0.756613552570343, 0.12078037112951279, -0.5448082089424133, -0.9158379435539246, -0.5988903641700745, 0.5887770652770996, -0.21122947335243225, -0.21562981605529785, 0.49105870723724365, 0.5535062551498413, 0.025712311267852783, -0.1360025554895401, 0.9568015933036804, 0.3403335213661194, 0.38892775774002075, 0.6128339767456055, 1.084972858428955, -0.254978209733963, 0.7362790703773499, -0.04804614931344986, -0.5732713341712952, -0.49019765853881836, -0.8206905722618103, -0.9084255695343018, -0.6691593527793884, -0.0724349170923233, -0.05684687942266464, 0.1527605950832367, 0.815125584602356, 0.8459392786026001, -0.594732940196991, -0.06681317836046219, 0.05152976140379906, -0.24248266220092773, -0.27529093623161316, -0.14269794523715973, 0.04004361853003502, 0.09920766949653625, -0.5155341029167175, 0.4567984938621521, 0.6941894888877869, 0.07804926484823227, -0.57618647813797, -0.3444758951663971, 0.1408877819776535, 0.06564042717218399, 0.8181771039962769, 0.1361563801765442, -0.9961209297180176, -0.3239966928958893, 0.34792667627334595, -0.37706369161605835, -0.1799015998840332, 0.48649653792381287, -0.8569226264953613, 0.8035550713539124, 0.44704514741897583, 0.20743823051452637, 0.8675630688667297, -0.405129998922348, 0.7765697836875916, -0.38265901803970337, 0.006449452135711908, 0.27906057238578796, 0.40532729029655457, 0.3651059865951538, 0.1738051176071167, 0.5638659000396729, 0.6846135854721069, -0.4662359654903412, -0.8450419902801514, 0.12937036156654358, -1.205146074295044, 0.04145893454551697, 1.053621530532837, 0.07428448647260666, -0.24985931813716888, -0.1748236119747162, -0.4846550524234772, -0.29746013879776, -0.2179127186536789, 0.7266318202018738, 0.47472479939460754, -0.1729370355606079, -0.1787264198064804, -1.053778052330017, 0.6465452909469604, 0.07804633677005768, -0.547631025314331, 0.1017138734459877, 0.6321114301681519, -0.01567675545811653, 0.1129951998591423, 0.49540138244628906, 0.045674365013837814, 0.32580143213272095, 0.16757577657699585, 0.17314285039901733, -0.05105581507086754, -0.34886595606803894, -0.21148446202278137, 0.18378309905529022, 0.07313409447669983, -0.13893850147724152 ]
http://arxiv.org/abs/2406.11065v1
http://arxiv.org/pdf/2406.11065v1
Can LLMs Understand the Implication of Emphasized Sentences in Dialogue?
2024-06-16T20:41:44
2024-06-16T20:41:44
Guan-Ting Lin, Hung-yi Lee
cs.CL
cs.CL
Emphasis is a crucial component in human communication, which indicates the speaker's intention and implication beyond pure text in dialogue. While Large Language Models (LLMs) have revolutionized natural language processing, their ability to understand emphasis in dialogue remains unclear. This paper introduces Emphasized-Talk, a benchmark with emphasis-annotated dialogue samples capturing the implications of emphasis. We evaluate various LLMs, both open-source and commercial, to measure their performance in understanding emphasis. Additionally, we propose an automatic evaluation pipeline using GPT-4, which achieves a high correlation with human rating. Our findings reveal that although commercial LLMs generally perform better, there is still significant room for improvement in comprehending emphasized sentences.
[ -0.3796222507953644, -0.9975177645683289, 0.9999472498893738, 0.36818650364875793, -0.5086568593978882, -0.1762268990278244, -0.5543016195297241, -0.799142599105835, -0.007312582805752754, 0.42522984743118286, -0.4218038320541382, -0.4441879391670227, -0.7611021399497986, 0.3322782516479492, -0.3276629149913788, 0.7308627963066101, 0.062148209661245346, 0.006664891727268696, -0.051863040775060654, -0.06755117326974869, -0.4310685992240906, -0.3029276430606842, -0.40974074602127075, -0.5190508365631104, 0.1640668511390686, 0.26998016238212585, 0.7817689776420593, 0.5768545866012573, 0.6154772639274597, 0.33623790740966797, -0.4070700705051422, 0.099616639316082, -0.40160781145095825, 0.11610274016857147, -0.12594561278820038, -0.4718436300754547, -0.5371319055557251, 0.09502068907022476, 0.8249809145927429, 0.9150211215019226, 0.18622858822345734, -0.0679820105433464, 0.24849116802215576, 0.34627053141593933, -0.5045335292816162, 0.3238815367221832, -0.7434963583946228, -0.18196910619735718, 0.09734959155321121, -0.290798544883728, -0.4877117872238159, -0.17129993438720703, 0.48575302958488464, -0.43969935178756714, -0.19864444434642792, 0.2338991016149521, 1.0340465307235718, 0.5591824650764465, -0.48389583826065063, -0.15980352461338043, -0.6186294555664062, 0.925588846206665, -0.6636696457862854, 0.18617898225784302, 0.19658790528774261, 0.05787920206785202, -0.3592422306537628, -0.6751172542572021, -0.284514456987381, -0.2660694420337677, -0.18416011333465576, 0.10450322180986404, -0.013273263350129128, 0.6800181865692139, 0.4302770793437958, 0.784831166267395, -0.21193405985832214, 0.05448944494128227, -0.05788582190871239, 0.05790874734520912, 0.4601321220397949, 0.021405622363090515, 0.24684739112854004, -0.26776066422462463, -0.4791673719882965, 0.32460397481918335, -0.5950453877449036, -0.0031670506577938795, 0.2257714867591858, 0.08837896585464478, 0.09604514390230179, 0.35944047570228577, -0.38610872626304626, 0.5882903337478638, 0.06922498345375061, -0.04395578056573868, 0.0654320940375328, -0.29651203751564026, -0.5192951560020447, -0.013949904590845108, 0.6238481402397156, 0.6144907474517822, 0.5231838226318359, -0.0008469140739180148, 0.10233775526285172, -0.1481366902589798, 0.1336325705051422, -0.8519119024276733, 0.028457680717110634, 0.26896777749061584, -0.3501696288585663, -0.04178071767091751, -0.15216855704784393, -0.3460404574871063, -0.34977588057518005, -0.36659812927246094, 0.09978818148374557, -0.05554936081171036, -0.023595944046974182, 0.18308262526988983, -0.20794400572776794, 0.3559730350971222, 0.5066161155700684, -0.7848372459411621, 0.5611453056335449, 0.8854541778564453, 0.5992732048034668, -0.3457462787628174, 0.018739843741059303, -0.3738589286804199, -0.0005424384726211429, -0.17316584289073944, 0.8858512043952942, -0.6444770693778992, -0.4787706732749939, 0.010879991576075554, -0.05533398687839508, -0.054148100316524506, -0.5077131986618042, 1.4696441888809204, -0.1250779926776886, -0.1480991244316101, -0.05302806943655014, -0.8888676166534424, -0.2553677260875702, 0.26877257227897644, -0.34701865911483765, 0.9979788661003113, -0.03766646236181259, -0.7103537321090698, 0.3194894790649414, -0.4825960397720337, -0.36638331413269043, 0.2754296362400055, -0.30560752749443054, -0.2586895823478699, 0.31905463337898254, 0.29280874133110046, 0.31181028485298157, -0.46533724665641785, 0.4664733409881592, -0.3036721348762512, -0.6272043585777283, 0.7213945388793945, -0.4869731068611145, 0.3918484151363373, -0.15951617062091827, -0.5741062164306641, -0.04270477965474129, -0.5799131989479065, 0.23431852459907532, -0.2735937833786011, -0.20686878263950348, -0.19674211740493774, 0.18182796239852905, -0.11821824312210083, 0.019781922921538353, 0.2039661407470703, -0.36642175912857056, 0.03614043444395065, -0.4244896173477173, 0.5435599684715271, 0.660534143447876, 0.12029774487018585, 0.32061266899108887, 0.09004451334476471, 0.4388551414012909, -0.36721381545066833, 0.015167280100286007, -0.6071726679801941, -0.7044425010681152, -0.9121283888816833, -0.44541916251182556, 0.0584828145802021, 0.4027392268180847, 0.21258611977100372, 0.5241580009460449, -0.2745949625968933, -0.0960584431886673, -0.49320507049560547, 0.1113218441605568, 0.44004637002944946, 0.43861910700798035, 0.3087413012981415, -0.34997591376304626, -0.5138317346572876, -1.3058046102523804, -0.6270692348480225, -0.19423475861549377, -0.09460768103599548, 0.668351411819458, 0.18540292978286743, -0.10451624542474747, 0.9578135013580322, -0.7095363140106201, -0.0030637329909950495, -0.44219207763671875, 0.42841637134552, 0.2740531265735626, 0.1314338743686676, -0.00689147412776947, -0.8023474216461182, -0.4713985025882721, -0.1812683641910553, -0.3213947117328644, -0.5360676050186157, -0.040663622319698334, -0.1998896598815918, -0.3562779128551483, 0.5071096420288086, -0.738806426525116, 0.5061039328575134, 0.3455458879470825, -0.061298612505197525, 0.5749104619026184, -0.0326944924890995, 0.17695477604866028, -0.6152003407478333, -0.03149249404668808, 0.20016592741012573, -0.2718102037906647, -0.6673958897590637, -0.24002638459205627, 0.026694469153881073, 0.07648549228906631, -0.24823647737503052, 0.5049628019332886, -0.4178762435913086, -0.4589383602142334, -0.3419741690158844, 0.4168523848056793, 0.2206076681613922, 0.42568010091781616, 0.2674722671508789, 0.8238637447357178, 0.24611088633537292, -0.35062652826309204, -0.06621358543634415, 0.20032203197479248, -0.5400012135505676, 0.4992341697216034, -0.7963050603866577, 0.23209595680236816, 0.10517165064811707, 0.5386539697647095, -1.187739372253418, -0.3367516100406647, 0.049225375056266785, -0.22096186876296997, 0.2935267984867096, -0.5057684779167175, -0.3545268177986145, -0.33543887734413147, -0.053284574300050735, 0.08889278024435043, 0.3846747577190399, -0.1972123086452484, 0.4549561142921448, 0.32490473985671997, -0.2819782793521881, -0.6283823251724243, -0.5181534886360168, 0.1554204672574997, -0.310812383890152, -0.655250072479248, 0.28931641578674316, -0.027501286938786507, -0.5408088564872742, -0.3780045211315155, -0.033785682171583176, -0.3068159222602844, 0.43780821561813354, 0.5532658696174622, 0.14000074565410614, -0.21657142043113708, 0.20538677275180817, -0.22321373224258423, -0.09080731123685837, 0.11229143291711807, -0.3460199236869812, 0.21905896067619324, -0.3736046850681305, -0.3915514051914215, -0.5490251779556274, 0.12587864696979523, 0.5373220443725586, 0.046161457896232605, 0.3028024137020111, 0.3296279311180115, -0.07191310822963715, 0.0233615655452013, -0.6554147601127625, -0.28053969144821167, -0.48694050312042236, 0.4088887572288513, -0.22335578501224518, -0.8609099388122559, 0.11768851429224014, -0.35354235768318176, -0.003951012156903744, 0.3480868637561798, 0.47166550159454346, -0.10374598950147629, 1.1564249992370605, 0.4763944149017334, -0.07056073844432831, 0.34794434905052185, 0.1861685961484909, 0.35081321001052856, -0.9427657127380371, 0.37680554389953613, -0.3559707701206207, -0.29830214381217957, -0.5078640580177307, -0.4628489017486572, 0.26216423511505127, 0.1188112124800682, 0.1513136327266693, 0.14001047611236572, -0.4525637924671173, 0.6184679865837097, 0.17702771723270416, -0.13598063588142395, 0.5053691267967224, -0.2137938141822815, 0.0035028578713536263, -0.16468796133995056, 0.051104944199323654, -0.9366833567619324, 0.8818289637565613, 0.6906835436820984, 0.6229802370071411, -0.2863537669181824, 0.2896326184272766, 0.07419255375862122, 0.40705445408821106, -0.975521445274353, 0.6402602195739746, 0.10769201815128326, -0.8037367463111877, -0.30428844690322876, -0.05064509063959122, -0.7095849514007568, 0.5215990543365479, 0.1554345190525055, -1.1024457216262817, -0.13025596737861633, 0.2314789891242981, -0.30887371301651, -0.14625602960586548, -0.8886883854866028, 0.839028537273407, -0.2880333662033081, -0.3411378562450409, -0.3566429615020752, -0.6004114151000977, 0.4103817939758301, 0.24052979052066803, 0.20809905230998993, -0.5871163606643677, -0.06717142462730408, 0.41738465428352356, -0.0892452746629715, 0.8870103359222412, 0.0357755646109581, -0.02112291194498539, 0.3958156406879425, -0.40650978684425354, 0.5601451992988586, 0.02595716528594494, -0.14625553786754608, -0.13441206514835358, -0.6815342903137207, -0.248125359416008, -0.66959148645401, 0.4048103988170624, -0.46278154850006104, -0.8707162141799927, -0.04730607196688652, -0.6197633147239685, -0.30119356513023376, -0.0699157565832138, -0.03702639788389206, 0.45684006810188293, -0.5721924901008606, 0.1113433688879013, 0.630620539188385, 0.0041497801430523396, 0.09637878835201263, 0.5393484830856323, 0.01745498552918434, -0.08153170347213745, 0.2845725417137146, -0.10672523081302643, 0.4731927216053009, 0.41558653116226196, 0.21494150161743164, -0.32695525884628296, -0.7301919460296631, -0.3275701105594635, 0.21928487718105316, -0.92915278673172, 0.3399524986743927, -1.1032156944274902, 0.020473530516028404, -0.1579940915107727, -0.3224807381629944, -0.1116330698132515, -0.5357620716094971, -0.024009689688682556, -0.42358073592185974, 0.29824578762054443, 0.6250680088996887, 0.2735571265220642, 0.4584721326828003, -0.45243656635284424, 0.04614469036459923, 0.39455679059028625, 0.10135924816131592, -0.32043302059173584, -0.5309195518493652, -0.19845367968082428, -0.17981623113155365, -0.48212945461273193, -0.7118772268295288, 0.2022215873003006, 0.2296774685382843, 0.568095326423645, 0.8004642128944397, -0.12311756610870361, 0.5138159394264221, -0.5315836668014526, 0.8342724442481995, -0.1264609694480896, -1.0244084596633911, 0.43746280670166016, -0.36188390851020813, 0.4112674295902252, 0.7209397554397583, 0.2108738124370575, -0.5603931546211243, -0.7653183937072754, -0.7218958139419556, -0.8692465424537659, 0.5918437838554382, 0.39930567145347595, -0.004562661051750183, -0.15050922334194183, 0.11850466579198837, -0.13307315111160278, 0.3172277510166168, -0.5625996589660645, -0.16739708185195923, 0.25385960936546326, -0.15933485329151154, -0.15565693378448486, -0.5093429684638977, -0.12159750610589981, 0.007940788753330708, 0.3705933690071106, -0.1347566545009613, 0.2601202428340912, 0.23201927542686462, -0.4205678701400757, -0.11118614673614502, 0.8076087236404419, 0.5931527614593506, 0.6381779313087463, -0.4674829840660095, 0.20959267020225525, 0.4208873212337494, -0.39319437742233276, -0.03256208822131157, 0.2780899405479431, -0.054863132536411285, 0.1200142502784729, 0.3075215816497803, 0.8417428731918335, 0.8335638046264648, -0.7650933861732483, 0.6048430800437927, 0.022879505529999733, 0.04196746274828911, -0.250301331281662, -0.04615793004631996, 0.25145766139030457, 0.008335146121680737, 0.4397815763950348, -0.34718093276023865, 0.6594010591506958, -0.5900831818580627, 0.17283140122890472, 0.2880437970161438, -0.611296534538269, -0.36067017912864685, 0.37970128655433655, 0.63405442237854, -0.03588341176509857, 0.324323832988739, -0.0058675589971244335, -1.0505614280700684, 0.7678386569023132, 0.31606951355934143, 1.2267711162567139, -0.0497441366314888, -0.12985578179359436, 0.39339718222618103, 0.32331669330596924, 0.006256793159991503, 0.20191644132137299, -0.35623082518577576, -0.6058369874954224, -0.6744235157966614, -0.41609930992126465, -0.9539852738380432, -0.06076034530997276, -0.5809882283210754, 0.3212503492832184, -0.2091355323791504, -0.3663867115974426, 0.16728980839252472, 0.09855767339468002, -0.5993959903717041, 0.14917722344398499, 0.40295448899269104, 0.7218005061149597, -0.8780630826950073, 0.5519971251487732, 0.5514391660690308, -0.09108642488718033, -0.7677727937698364, 0.17398011684417725, 0.06230873242020607, -0.7381606698036194, 0.858394205570221, 0.7495203614234924, -0.29666852951049805, -0.0628381073474884, -0.526640772819519, -0.5655896067619324, 0.6756188869476318, 0.07431557774543762, -0.3495301306247711, 0.01847982034087181, 0.19461458921432495, 0.5373253226280212, -0.4457012116909027, 1.000935673713684, 0.9283874034881592, 0.7662264108657837, -0.19562628865242004, -1.0407402515411377, -0.1184135377407074, 0.019658181816339493, -0.16049602627754211, 0.2567850649356842, -0.5909788608551025, 0.710935115814209, 0.04729558899998665, -0.33023348450660706, 0.031187713146209717, 0.6147416830062866, -0.00019117996271234006, 0.20971578359603882, 0.5188044905662537, 0.4412311613559723, 0.71604984998703, -0.26059529185295105, 1.1624560356140137, -0.42893344163894653, 0.05188761651515961, 1.2416083812713623, -0.3479793667793274, 0.6993348598480225, 0.27847614884376526, -0.19924074411392212, 0.36594563722610474, 0.46495553851127625, 0.3341538608074188, 0.11156539618968964, 0.37839195132255554, -0.40477895736694336, -0.3855260908603668, -0.4426248371601105, -0.11589132249355316, 0.3526149392127991, 0.8874242305755615, -0.6405546069145203, -0.07287150621414185, -0.4390201270580292, 0.0069915661588311195, -0.026732750236988068, -0.23386810719966888, 0.768108069896698, 0.5091975927352905, -0.9813847541809082, 0.4957607686519623, -0.25107741355895996, 0.4109644889831543, -0.38653799891471863, 0.06475553661584854, 0.02608967199921608, 0.2853766083717346, -0.14836588501930237, -0.9010725617408752, -0.05925668030977249, 0.02780737541615963, -0.019119590520858765, -0.2760990560054779, 0.8503496050834656, -0.46303093433380127, 0.025090808048844337, 0.3486210107803345, 0.19362425804138184, 0.477825790643692, -0.15484873950481415, -0.5274359583854675, 0.21035102009773254, -0.08999180048704147, -0.23450356721878052, 0.07332731038331985, 0.45233526825904846, 0.02983909659087658, 0.5972588658332825, 0.2597813308238983, -0.1417868733406067, 0.015027513727545738, 0.2306879311800003, 0.6849668622016907, -0.4709782302379608, -0.34735938906669617, -0.827761709690094, 0.4201129078865051, -0.4372229278087616, -0.46553871035575867, 0.6835510730743408, 0.4315818250179291, 0.296953022480011, 0.34789371490478516, 0.8484076261520386, 0.3205527663230896, 0.6450731158256531, -0.35439231991767883, 0.10453813523054123, -0.12079285085201263, 0.059917449951171875, -0.44285640120506287, -0.9379996657371521, -0.09583952277898788, 0.5405648946762085, -0.7891321182250977, -0.24699710309505463, 0.8025032877922058, 0.5698350667953491, 0.029736975207924843, 0.3266473710536957, 0.37284934520721436, 0.2716006934642792, 0.25905752182006836, 0.3532542586326599, 1.1929517984390259, -0.07540365308523178, 0.7556042075157166, 0.03259783610701561, -0.1505611687898636, -0.6237012147903442, -0.9780681133270264, -0.9351266622543335, 0.004886248614639044, -0.3503875732421875, 0.058857422322034836, 0.1293986737728119, 0.9535274505615234, 0.6452743411064148, -0.563597559928894, -0.1965905725955963, -0.13927705585956573, 0.15104258060455322, -0.10254406929016113, -0.17843569815158844, 0.2049834281206131, -0.5943594574928284, -1.0870847702026367, 0.5502294898033142, 0.6511332988739014, 0.03170834109187126, -0.06292669475078583, 0.08613890409469604, 0.0026746776420623064, 0.26703545451164246, 0.352486252784729, 0.19620026648044586, -0.9792701601982117, -0.35300055146217346, -0.14256849884986877, -0.2724265158176422, 0.39933672547340393, 1.0134005546569824, -0.37039539217948914, 0.5467039942741394, 0.3381885588169098, 0.6223062872886658, 0.4912155866622925, 0.4141673743724823, 0.932925283908844, -0.6460384726524353, 0.29974639415740967, 0.22154438495635986, 0.541649341583252, 0.44352462887763977, -0.27365511655807495, 0.5908011198043823, -0.14557161927223206, -0.8666159510612488, -0.5851843357086182, 0.2724086046218872, -1.031611442565918, 0.0643359050154686, 1.4091532230377197, -0.41319647431373596, -0.0785999745130539, -0.4857540428638458, -0.4216298460960388, 0.08277354389429092, -0.5946420431137085, 0.411151647567749, 0.9902515411376953, 0.028888722881674767, -0.14365032315254211, -0.8470788598060608, 0.6099358797073364, 0.7876604795455933, -0.7620354890823364, 0.24414822459220886, 0.42088013887405396, -0.16628074645996094, 0.07849325239658356, 0.7176234722137451, 0.04192912206053734, 0.1717076599597931, -0.3780187666416168, -0.07190202176570892, 0.6153869032859802, 0.09418173879384995, -0.31606972217559814, -0.10107245296239853, 0.5175262689590454, -0.008129348047077656 ]
http://arxiv.org/abs/2406.11050v1
http://arxiv.org/pdf/2406.11050v1
A Peek into Token Bias: Large Language Models Are Not Yet Genuine Reasoners
2024-06-16T19:22:53
2024-06-16T19:22:53
Bowen Jiang, Yangxinyu Xie, Zhuoqun Hao, Xiaomeng Wang, Tanwi Mallick, Weijie J. Su, Camillo J. Taylor, Dan Roth
cs.CL
cs.CL, cs.AI
This study introduces a hypothesis-testing framework to assess whether large language models (LLMs) possess genuine reasoning abilities or primarily depend on token bias. We go beyond evaluating LLMs on accuracy; rather, we aim to investigate their token bias in solving logical reasoning tasks. Specifically, we develop carefully controlled synthetic datasets, featuring conjunction fallacy and syllogistic problems. Our framework outlines a list of hypotheses where token biases are readily identifiable, with all null hypotheses assuming genuine reasoning capabilities of LLMs. The findings in this study suggest, with statistical guarantee, that most LLMs still struggle with logical reasoning. While they may perform well on classic problems, their success largely depends on recognizing superficial patterns with strong token bias, thereby raising concerns about their actual reasoning and generalization abilities.
[ -0.21891139447689056, -0.8572227358818054, 1.004382610321045, 0.1830829381942749, -0.13106034696102142, 0.056087926030159, -0.13004624843597412, -0.15841491520404816, 0.19198490679264069, 0.5241864919662476, -0.58230060338974, -0.21882323920726776, -0.6717129349708557, 0.2370416224002838, -0.5674058198928833, 0.7065302133560181, 0.0794890746474266, 0.4392487406730652, -0.3736976981163025, -0.16469739377498627, -0.6713786125183105, -0.7081078886985779, -0.6760289072990417, -0.44204598665237427, 0.37551435828208923, 0.21353061497211456, 0.5680174231529236, 0.3820815682411194, 0.30638715624809265, 0.2645902931690216, -0.2747483253479004, 0.017299264669418335, -0.29549548029899597, 0.031060652807354927, -0.5479097366333008, -0.8938031196594238, -0.17348438501358032, 0.22729839384555817, 0.4397863745689392, 0.8081352114677429, 0.0984901413321495, 0.23304839432239532, -0.3332669734954834, 0.40650421380996704, -0.5025292038917542, 0.12119057029485703, -0.9615100622177124, 0.01854032278060913, -0.3135684132575989, 0.02424263209104538, -0.8117668032646179, -0.16115280985832214, 0.048535700887441635, -0.3594164252281189, 0.3151552975177765, 0.5017103552818298, 0.6287999749183655, 0.33803460001945496, -0.6407613754272461, -0.1654156744480133, -0.28996849060058594, 1.0251480340957642, -1.0426490306854248, 0.4400395452976227, 0.3741089701652527, 0.19966711103916168, -0.43038368225097656, -0.4989475607872009, -0.8793569207191467, -0.4195672869682312, -0.09248314797878265, -0.23204712569713593, -0.01111319474875927, 0.08730679005384445, 0.722670316696167, 0.27960404753685, -0.38816073536872864, 0.08534155040979385, -0.21114522218704224, -0.6013725996017456, 0.2187487781047821, 0.1363152414560318, 0.34989866614341736, -0.31247231364250183, -0.3901822566986084, 0.20772990584373474, -0.7762216925621033, -0.06436800956726074, 0.36145496368408203, 0.1696491837501526, -0.04272768273949623, 0.8811505436897278, 0.15125852823257446, 0.7883177995681763, 0.01631402224302292, -0.31408464908599854, 0.05421463027596474, -0.3692186772823334, -0.2873866558074951, 0.11552564799785614, 0.5197364091873169, 0.2569310665130615, 0.36693307757377625, -0.019922470673918724, -0.41798409819602966, 0.35071584582328796, -0.040346745401620865, -0.5368677973747253, -0.048644572496414185, 0.35202556848526, -0.5945664644241333, -0.13123869895935059, 0.12846730649471283, -0.5300185680389404, -0.488894522190094, -0.4853793680667877, 0.3227136433124542, -0.2602628171443939, -0.28236016631126404, 0.22545678913593292, -0.5952087044715881, 0.3314661979675293, 0.20541726052761078, -0.7164636850357056, 0.16958443820476532, 1.0482932329177856, 0.7817776799201965, -0.46522778272628784, -0.12415026873350143, -0.7344474196434021, -0.22997303307056427, -0.5872476696968079, 0.8088637590408325, -0.596381664276123, -0.27737724781036377, -0.01904716156423092, 0.08026266098022461, -0.2178589254617691, -0.5980277061462402, 0.8217973113059998, -0.40614941716194153, 0.2737085223197937, -0.7445570826530457, -0.6526780128479004, 0.19351929426193237, 0.45186543464660645, -0.6124757528305054, 0.7529296278953552, 0.1693042367696762, -1.1304271221160889, 0.7555914521217346, -0.4117407500743866, -0.4675762951374054, -0.2724997103214264, -0.5030384659767151, -0.07491135597229004, 0.2375517338514328, 0.10997289419174194, 0.11612332612276077, -0.5340591669082642, 0.48863857984542847, -0.5201314687728882, -0.4504987299442291, 0.6503317952156067, -0.50636887550354, 0.9608488082885742, 0.03075491078197956, -0.6381857991218567, 0.18901567161083221, -0.6397240161895752, -0.2425634264945984, 0.09207715094089508, -0.2107364982366562, -0.27215903997421265, 0.225397527217865, -0.08737444877624512, 0.38390669226646423, 0.05922422185540199, -0.6622011065483093, 0.3599780201911926, -0.42746785283088684, 0.5649883151054382, 1.1985501050949097, -0.2918927073478699, 0.2548571527004242, -0.25633808970451355, 0.5085113048553467, 0.351148396730423, 0.08509615063667297, -0.029454305768013, -0.5632066130638123, -1.1746898889541626, -0.37500298023223877, 0.41001057624816895, 0.27893707156181335, -0.7901564836502075, 0.4444568157196045, -0.12404762208461761, -0.06074925512075424, -0.25440752506256104, 0.048711977899074554, 0.4051186442375183, 0.661871075630188, 0.07004685699939728, -0.1958152949810028, -0.5063609480857849, -1.2025151252746582, -0.46296191215515137, -0.373640239238739, 0.026177043095231056, 0.17997434735298157, 0.7404492497444153, -0.2666758596897125, 1.0995066165924072, -0.20829738676548004, -0.08342291414737701, -0.38973137736320496, -0.232216477394104, 0.48160696029663086, 0.2753030061721802, 0.42075207829475403, -0.713472843170166, 0.11808103322982788, -0.2687465250492096, -0.6760045886039734, -0.19652411341667175, -0.01638992317020893, 0.01584473066031933, 0.4569164216518402, 0.5482076406478882, -1.030982255935669, 0.4298570454120636, 0.4325011074542999, -0.8549943566322327, 0.8432579040527344, 0.19829243421554565, -0.19227512180805206, -0.7675658464431763, 0.09846705198287964, 0.09614069014787674, -0.01700829714536667, -0.32124441862106323, -0.14938294887542725, -0.09505023062229156, 0.23627878725528717, -0.24485458433628082, 0.9086529016494751, -0.27232590317726135, -0.19803732633590698, -0.18368284404277802, -0.06614307314157486, 0.08547753840684891, 0.09364601224660873, -0.09930171072483063, 0.7750799655914307, 0.5382720232009888, -0.3999910354614258, 0.30517104268074036, 0.05485789105296135, -0.34646111726760864, 0.6194164752960205, -0.7155012488365173, 0.08339670300483704, -0.15109017491340637, 0.46112582087516785, -1.0253775119781494, -0.318114310503006, 0.18929600715637207, -0.3674878180027008, 0.05165587365627289, -0.19940347969532013, -0.7020479440689087, -0.5789093375205994, -0.15760362148284912, 0.32282623648643494, 0.48378482460975647, -0.6379799842834473, 0.6162654757499695, 0.2162727415561676, 0.165914848446846, -0.7806978225708008, -0.7826922535896301, -0.023827042430639267, -0.3610025942325592, -0.4940776228904724, -0.08623701333999634, 0.06961514055728912, -0.767716109752655, -0.19811077415943146, -0.4040040969848633, 0.15067297220230103, -0.04207532852888107, 0.09605562686920166, 0.4088926315307617, -0.21027719974517822, 0.20843331515789032, -0.1606995314359665, -0.18030685186386108, 0.4676333963871002, -0.6722302436828613, 0.5839825868606567, 0.1152782216668129, -0.750334620475769, -0.22334593534469604, -0.06669497489929199, 0.7735567688941956, -0.12956121563911438, 0.7008838057518005, 0.3110661208629608, -0.2642972469329834, -0.4037799835205078, -0.9929827451705933, -0.4063340127468109, -0.43604448437690735, 0.17079539597034454, -0.4659062922000885, -1.0259848833084106, 0.707958996295929, 0.18110091984272003, -0.12686768174171448, 0.42138853669166565, 0.6352283358573914, 0.3491278290748596, 1.1770931482315063, 0.2650754451751709, -0.180540531873703, 0.04866699129343033, 0.011556126177310944, 0.5100047588348389, -0.5983179211616516, -0.27504783868789673, -0.5395129919052124, -0.07422439754009247, -0.5867319703102112, -0.5807771682739258, 0.07860121876001358, -0.15849848091602325, -0.348567932844162, -0.07373209297657013, -0.23939162492752075, 0.5119361877441406, 0.5137794613838196, -0.12163811177015305, 0.22574569284915924, -0.260702520608902, -0.39723461866378784, 0.018286464735865593, -0.7326509952545166, -0.5350757241249084, 1.1219381093978882, 0.39718616008758545, 0.5805079340934753, -0.06946247816085815, 0.09649785608053207, 0.2201477438211441, 0.27505820989608765, -0.8619637489318848, 0.6068958044052124, 0.1538822054862976, -0.9881640672683716, -0.16931280493736267, -0.5638827085494995, -0.6800481677055359, 0.29708075523376465, 0.07054122537374496, -0.7351723909378052, 0.23552320897579193, 0.2708888351917267, 0.1758030354976654, 0.4346311092376709, -0.6476567983627319, 0.8563491106033325, -0.17485184967517853, -0.3195505440235138, 0.057345110923051834, -0.5881627798080444, 0.6727709174156189, -0.17958469688892365, 0.41793709993362427, -0.1991964727640152, 0.05623726174235344, 0.7946655750274658, -0.5671118497848511, 0.8231716156005859, -0.20054784417152405, -0.22684361040592194, 0.33546367287635803, 0.2594563961029053, 0.38154664635658264, 0.10831326991319656, -0.3315129280090332, 0.1085890531539917, 0.1073354110121727, -0.8424072265625, -0.6402776837348938, 0.6054246425628662, -0.5185864567756653, -0.9068886637687683, -0.580765962600708, -0.3220422565937042, -0.4408082067966461, 0.34140250086784363, 0.10866464674472809, 0.36699190735816956, -0.04262307286262512, 0.10926146805286407, 0.578257143497467, -0.06566966325044632, 0.15800140798091888, 0.2749191224575043, -0.44932281970977783, -0.1711306869983673, 0.690935492515564, 0.036992721259593964, 0.40198972821235657, 0.0396050326526165, 0.44869598746299744, -0.434513121843338, -0.6249504685401917, -0.4260367751121521, 0.2956749498844147, -0.8817276954650879, 0.023736922070384026, -0.24459588527679443, -0.04642585664987564, -0.3694227337837219, 0.08244234323501587, -0.15970373153686523, -0.34715795516967773, 0.025925008580088615, -0.2942551076412201, 0.019842084497213364, 0.6524145603179932, 0.20936934649944305, 0.017578527331352234, -0.2517985999584198, 0.210387721657753, 0.3371606469154358, 0.16304658353328705, 0.01903117075562477, -0.6457656621932983, 0.17343299090862274, -0.17534497380256653, 0.09080825001001358, -0.6707687377929688, 0.12375220656394958, -0.28386354446411133, 0.5783807635307312, 0.6757794618606567, -0.09982534497976303, 0.36206570267677307, -0.4296322762966156, 0.9245835542678833, 0.22900083661079407, -1.1166325807571411, 0.4392727315425873, -0.4835461676120758, 0.03212464973330498, 0.4320797920227051, 0.2016819715499878, -0.2548653483390808, -0.22513611614704132, -0.6311063766479492, -0.4303770065307617, 0.5038757920265198, 0.07894979417324066, 0.1771482676267624, -0.38875719904899597, 0.4564893841743469, 0.1323591023683548, 0.33048221468925476, -0.706719160079956, -0.21707449853420258, -0.09701769798994064, -0.11857052892446518, -0.08034618943929672, -0.36479124426841736, -0.21234145760536194, -0.3738766610622406, 0.35626640915870667, -0.3882856070995331, 0.025057902559638023, 0.2661280333995819, 0.07281048595905304, -0.02711944468319416, 0.2915615737438202, 0.5105351805686951, 1.107359528541565, -0.012023087590932846, 0.5176509022712708, 0.15917283296585083, -0.30670684576034546, 0.2429584115743637, -0.16260407865047455, -0.2240075320005417, 0.05221157521009445, 0.720785915851593, 0.7764589190483093, 0.023739656433463097, -1.0558675527572632, 0.8156864643096924, 0.02769971825182438, -0.26067543029785156, -0.4342704117298126, 0.012396288104355335, 0.1027102991938591, 0.005469185765832663, 0.43344825506210327, 0.06676571071147919, 0.06469079107046127, -0.8382344841957092, 0.05955604836344719, 0.7217219471931458, -0.3324642777442932, -0.38409700989723206, 0.5191279649734497, 0.04664144292473793, -0.2458503544330597, 0.7025076746940613, -0.1300271451473236, -0.7547631859779358, 0.6893566250801086, 0.7736462354660034, 0.4854598045349121, 0.17671772837638855, -0.04365667700767517, 0.03900354355573654, 0.4756680428981781, -0.22652322053909302, 0.1665986180305481, 0.25968673825263977, -0.9842840433120728, -0.6913902163505554, -0.5548004508018494, -0.38729149103164673, 0.14678381383419037, -0.37492871284484863, 0.3743683099746704, -0.5405365228652954, -0.37097686529159546, -0.08046288788318634, -0.215000718832016, -0.5584506392478943, 0.27982524037361145, -0.0012316809734329581, 1.2231389284133911, -0.879871666431427, 0.6499714255332947, 0.5558328032493591, -0.29196467995643616, -0.7466180324554443, 0.11901235580444336, 0.11084747314453125, -0.9022490978240967, 0.9562695026397705, 0.36489319801330566, 0.09952918440103531, -0.3248405456542969, -0.6770341992378235, -0.668635368347168, 0.7414919137954712, 0.6975680589675903, -0.5141128301620483, -0.23843593895435333, 0.18617528676986694, 0.331307977437973, -0.2276572734117508, 0.2898796796798706, 0.844489336013794, 0.6972358822822571, 0.2063545137643814, -1.0174247026443481, 0.11456339061260223, -0.1177426427602768, -0.21187886595726013, 0.09785054624080658, -0.7604151964187622, 0.9340304136276245, -0.15482866764068604, 0.13259084522724152, -0.2038063406944275, 0.4427517354488373, 0.6529640555381775, 0.4933817386627197, 0.7330561876296997, 0.7976679801940918, 0.7273845076560974, -0.25040388107299805, 1.0474984645843506, -0.15315799415111542, 0.13284462690353394, 0.782258152961731, -0.5772517323493958, 0.6573147177696228, 0.9302424788475037, -0.18615518510341644, 0.49952828884124756, 0.5538305640220642, 0.08045893907546997, 0.0832095667719841, 0.639326810836792, -0.12912489473819733, -0.6849260926246643, -0.20926716923713684, -0.09624502062797546, 0.5186611413955688, 0.3336560130119324, -0.3730451464653015, 0.23154836893081665, -0.09711422771215439, 0.17080676555633545, -0.06681078672409058, -0.22172202169895172, 0.3781554400920868, 0.310452938079834, -0.862556517124176, 0.21795955300331116, -0.007993083447217941, 0.7361646890640259, -0.35302942991256714, -0.008349829353392124, -0.27417683601379395, 0.1812705546617508, -0.21277835965156555, -0.47933799028396606, 0.13152045011520386, -0.10001008957624435, -0.058744024485349655, 0.15182992815971375, 0.9191888570785522, 0.17551976442337036, -0.5584179759025574, 0.1898828148841858, 0.6768462061882019, 0.016783127561211586, 0.030810309574007988, -0.5530340671539307, 0.3657379150390625, 0.037977829575538635, -0.33139705657958984, 0.278621643781662, 0.5832776427268982, -0.25905996561050415, 0.8410619497299194, 0.9127325415611267, 0.2346174269914627, 0.08554454147815704, 0.2242959439754486, 0.9024175405502319, -0.6251546740531921, -0.24921467900276184, -1.2444401979446411, 0.35183432698249817, -0.23575109243392944, -0.3150000274181366, 0.937422513961792, 0.7189018130302429, 0.6594131588935852, -0.03477667272090912, 0.770609974861145, 0.18838535249233246, 0.47058168053627014, -0.7579858899116516, 0.4744258522987366, -0.3618204891681671, 0.20963767170906067, -0.12401722371578217, -0.9041721820831299, -0.1985902339220047, 0.7113059163093567, -0.5865132212638855, 0.14362256228923798, 0.8044974207878113, 0.708311140537262, -0.1658366173505783, -0.043597158044576645, 0.2183527797460556, 0.33586493134498596, 0.3804992735385895, 0.4076913595199585, 1.178931474685669, -0.13274389505386353, 0.09824980795383453, 0.2111893892288208, -0.16615714132785797, -0.14026814699172974, -0.9582590460777283, -1.4982637166976929, -0.2695142328739166, -0.07323120534420013, -0.6236292123794556, 0.04465557262301445, 0.9640317559242249, 0.6597942113876343, -0.8861954808235168, 0.024676844477653503, -0.33520030975341797, 0.46704915165901184, 0.37761110067367554, -0.2736453413963318, 0.3436765968799591, -0.43544983863830566, -0.5761733651161194, 0.27991876006126404, 0.15897497534751892, -0.1625324934720993, -0.542210042476654, 0.09221827238798141, 0.15582770109176636, 0.43470802903175354, 0.5405576229095459, -0.050991449505090714, -1.115735650062561, -0.5205416679382324, 0.2126636803150177, 0.02414853498339653, -0.10380040854215622, 1.0862157344818115, -0.723542332649231, 0.31654730439186096, 0.4963635206222534, 0.5612710118293762, 0.13210687041282654, -0.08499240130186081, 0.5484463572502136, -0.3083975911140442, 0.4078991413116455, 0.21031107008457184, 0.6805249452590942, 0.25843390822410583, 0.03478173166513443, 0.3831476867198944, 0.6509143710136414, -0.5167936682701111, -1.138559103012085, 0.31693610548973083, -0.9555006623268127, -0.28944897651672363, 1.3598084449768066, -0.026287948712706566, -0.31692561507225037, -0.13824956119060516, -0.36207112669944763, -0.08878352493047714, -0.08419095724821091, 0.6789518594741821, 0.9311188459396362, -0.0317256934940815, 0.11207933723926544, -0.6420352458953857, 0.4656780958175659, 0.6762523055076599, -0.5498590469360352, 0.01911301724612713, 0.5935110449790955, 0.47705087065696716, 0.10255134850740433, 0.6631768345832825, -0.11268562823534012, 0.13308089971542358, 0.1287301778793335, -0.38792330026626587, 0.1971299797296524, -0.14790621399879456, -0.16263176500797272, -0.05741743743419647, 0.47771769762039185, 0.3467433750629425 ]
http://arxiv.org/abs/2406.11049v1
http://arxiv.org/pdf/2406.11049v1
Reconsidering Sentence-Level Sign Language Translation
2024-06-16T19:19:54
2024-06-16T19:19:54
Garrett Tanzer, Maximus Shengelia, Ken Harrenstien, David Uthus
cs.CL
cs.CL
Historically, sign language machine translation has been posed as a sentence-level task: datasets consisting of continuous narratives are chopped up and presented to the model as isolated clips. In this work, we explore the limitations of this task framing. First, we survey a number of linguistic phenomena in sign languages that depend on discourse-level context. Then as a case study, we perform the first human baseline for sign language translation that actually substitutes a human into the machine learning task framing, rather than provide the human with the entire document as context. This human baseline -- for ASL to English translation on the How2Sign dataset -- shows that for 33% of sentences in our sample, our fluent Deaf signer annotators were only able to understand key parts of the clip in light of additional discourse-level context. These results underscore the importance of understanding and sanity checking examples when adapting machine learning to new domains.
[ 0.12635621428489685, -0.3493473529815674, 0.40678903460502625, 0.11109180003404617, -0.3569332957267761, -0.028862928971648216, 0.08642826974391937, -0.5110617280006409, -0.27169913053512573, 0.7049849629402161, -0.5581212043762207, -0.5769226551055908, -1.0795477628707886, 0.42277467250823975, -0.4375251531600952, 1.1103477478027344, -0.3261675536632538, -0.14386630058288574, 0.016772901639342308, -0.2712310254573822, -0.6296245455741882, -0.41413626074790955, -0.7077429294586182, -0.15375065803527832, -0.22863879799842834, 0.41625601053237915, 0.7498471140861511, 0.5834575891494751, 0.3463008403778076, 0.22267629206180573, -0.015394939109683037, -0.10228433459997177, -0.26455873250961304, 0.08159304410219193, 0.15055470168590546, -0.3909847140312195, -0.44756293296813965, 0.2569829225540161, 0.7010489106178284, 1.0552325248718262, 0.4791165590286255, 0.0528658889234066, 0.06604280322790146, 0.42486992478370667, -0.366240918636322, 0.3452930450439453, -0.5110454559326172, 0.30908650159835815, -0.24590913951396942, 0.10175412893295288, -0.5988883376121521, 0.10084688663482666, 0.05877052992582321, -0.6292605400085449, 0.290747731924057, 0.228113055229187, 0.8759222626686096, 0.6407026052474976, -1.00663161277771, -0.29477864503860474, -0.5299462676048279, 0.6434165239334106, -0.8042154908180237, 0.2759152948856354, 0.4967363774776459, 0.07777400314807892, -0.052188679575920105, -0.4977114498615265, -0.32765042781829834, -0.13242918252944946, -0.33937281370162964, -0.06833112984895706, -0.3008050322532654, 0.13636061549186707, 0.5795252919197083, 0.12622083723545074, -0.480639785528183, 0.07547487318515778, -0.6466889381408691, -0.35537153482437134, 0.5308674573898315, 0.18440650403499603, 0.5205230712890625, -0.5651220679283142, -0.5793628096580505, -0.012486978434026241, -0.5378028154373169, 0.2187262922525406, -0.0789455845952034, 0.43774276971817017, -0.048746608197689056, 0.5906433463096619, -0.0188922006636858, 0.9138475060462952, 0.004437151364982128, -0.06210890784859657, 0.19790376722812653, -0.3635328412055969, -0.081688791513443, -0.06980444490909576, 0.7102823853492737, 0.3857256770133972, 0.23298892378807068, 0.11604663729667664, -0.26667946577072144, -0.09744567424058914, 0.10937836021184921, -0.5501956939697266, 0.01064133271574974, 0.09860162436962128, -0.19441568851470947, 0.24518688023090363, -0.0017962099518626928, 0.031168315559625626, -0.29912683367729187, -0.19881555438041687, 0.25290945172309875, -0.40404611825942993, -0.00448565324768424, 0.21656328439712524, -0.09544995427131653, 0.15221330523490906, 0.27319929003715515, -0.5519087910652161, 0.3792244791984558, 0.7215539216995239, 0.730981171131134, -0.2559203803539276, -0.34592241048812866, -0.649451732635498, 0.042838793247938156, -0.2676727771759033, 0.3556271493434906, -0.3278941810131073, -0.35799604654312134, -0.10719916969537735, 0.10342065244913101, -0.18020261824131012, -0.3655868470668793, 0.5424813628196716, -0.3171180188655853, 0.4644777178764343, -0.11358862370252609, -0.6270987391471863, 0.03249456733465195, -0.17163382470607758, -0.3829633891582489, 0.6626800894737244, 0.24443094432353973, -0.3488384783267975, 0.6898158192634583, -0.5034657716751099, -1.09661066532135, 0.023538071662187576, -0.0854683667421341, -0.4640202820301056, 0.09380083531141281, 0.26878148317337036, 0.490673691034317, 0.13272038102149963, 0.2033286839723587, 0.2440444976091385, -0.32565420866012573, 0.3444421589374542, -0.1002674400806427, 1.11959707736969, 0.3086414635181427, -0.5260223746299744, -0.02209356240928173, -0.5810837745666504, -0.2817825376987457, -0.226297527551651, -0.15400834381580353, -0.2576465308666229, -0.1712796837091446, 0.13698476552963257, 0.4339253306388855, -0.0534072145819664, -0.6032953858375549, -0.1567145437002182, -0.28932031989097595, 0.7173461318016052, 0.3859586715698242, 0.0872679278254509, 0.3897048830986023, 0.050693579018116, 0.6842992901802063, 0.10258841514587402, -0.04907246306538582, -0.4314166009426117, -0.6931247711181641, -0.612569272518158, -0.21929261088371277, 0.10248247534036636, 0.5215508341789246, -0.5288387537002563, 0.4086240231990814, -0.15536057949066162, 0.2805156111717224, -0.7773638963699341, 0.008942965418100357, 0.8237627148628235, 0.5877081751823425, 0.45743119716644287, -0.4475308358669281, -0.546499490737915, -0.8407998085021973, -0.43091732263565063, -0.3256976008415222, -0.24914930760860443, -0.12013353407382965, 0.5609152317047119, 0.32631227374076843, 0.8560003638267517, -0.3040045499801636, -0.6089152097702026, -0.1489114761352539, 0.15692874789237976, 0.10651474446058273, 0.6556562781333923, 0.23309123516082764, -0.8603068590164185, -0.424866646528244, -0.147671639919281, -0.7878947854042053, -0.15228135883808136, -0.6513028740882874, 0.2854153513908386, 0.1176287978887558, 0.8414206504821777, -0.584659218788147, 0.6017147898674011, 0.6284244656562805, -0.8177170157432556, 0.1951606720685959, -0.20738524198532104, 0.32831907272338867, -1.1045855283737183, 0.13188683986663818, -0.016678791493177414, -0.5997036695480347, -0.7018987536430359, 0.028255818411707878, 0.11982591450214386, -0.5465176105499268, -0.46844053268432617, 0.415973424911499, -0.7538629770278931, -0.5148879289627075, -0.4970094561576843, 0.4702550768852234, 0.10965801775455475, 0.36155205965042114, -0.11340270936489105, 0.7640962600708008, 0.3713795244693756, -0.41994693875312805, -0.14982813596725464, 0.7467407584190369, -0.282916784286499, 0.8531744480133057, -0.6345726251602173, 0.19697722792625427, -0.13459761440753937, 0.42637699842453003, -1.0073601007461548, -0.38895905017852783, 0.525215208530426, -0.5851879119873047, 0.36660319566726685, -0.09029503911733627, -0.1988402009010315, -0.31352534890174866, 0.1309603899717331, 0.4093019962310791, 0.6895781755447388, -0.08322746306657791, 0.2150977998971939, 0.5031622052192688, 0.13619199395179749, -0.26382359862327576, -0.9467043280601501, 0.6241490244865417, -0.19799615442752838, -0.5632818937301636, 0.1332063525915146, 0.29197806119918823, -0.28363266587257385, -0.09025973081588745, -0.339866042137146, -0.1113574281334877, 0.41503721475601196, 0.3656957447528839, -0.011140324175357819, -0.2921421229839325, -0.14204448461532593, 0.20925970375537872, -0.3986646831035614, 0.020324552431702614, -0.45240136981010437, -0.2171030193567276, -0.03229011222720146, -0.5925447940826416, -0.8640073537826538, 0.41963517665863037, 0.4709658920764923, 0.019882868975400925, 0.6220130920410156, 0.29202067852020264, -0.4525516629219055, 0.04961578920483589, -0.004271115642040968, 0.006735103204846382, -0.38266947865486145, 0.3816181421279907, -0.6880847811698914, -1.1953617334365845, 0.22304241359233856, 0.22086814045906067, 0.30788061022758484, 0.4752219021320343, 0.31141358613967896, -0.30252352356910706, 0.8139155507087708, 0.41640669107437134, 0.17844289541244507, 0.30907461047172546, 0.18540778756141663, 0.3483220338821411, -0.9303185939788818, 0.023092452436685562, -0.4200039505958557, -0.4478442072868347, -0.2345343381166458, -0.5005030632019043, 0.5468788146972656, 0.3412312865257263, 0.10170502215623856, 1.126149296760559, -0.3370993435382843, 0.2933819890022278, 0.12331279367208481, 0.10551736503839493, 0.6078588366508484, -0.3891627788543701, 0.32924216985702515, -0.23939161002635956, -0.5140135884284973, -0.6457560658454895, 0.8637791872024536, 0.30267852544784546, 0.12103424221277237, -0.0461953729391098, 0.49498143792152405, 0.4587463438510895, 0.23112426698207855, -0.5205937027931213, 0.6776877641677856, -0.21340714395046234, -0.7815296649932861, -0.5909491181373596, -0.296968936920166, -1.187833547592163, 0.4647596478462219, 0.04260356351733208, -0.641967236995697, -0.005627263803035021, 0.36320292949676514, -0.14226722717285156, 0.051101215183734894, -0.8445466160774231, 1.200145959854126, -0.25077420473098755, 0.16304700076580048, 0.031017154455184937, -0.9980977177619934, 0.27518412470817566, -0.04856153205037117, 0.4263799786567688, -0.3068796396255493, -0.23127032816410065, 0.574098527431488, -0.48112255334854126, 1.2731971740722656, -0.08825792372226715, -0.2185308188199997, 0.19823187589645386, 0.13426950573921204, 0.39720025658607483, -0.19488772749900818, -0.12667691707611084, -0.08133414387702942, -0.08019804954528809, -0.8648762106895447, -0.4109137952327728, 0.04268040508031845, -0.5619295239448547, -0.8751463890075684, -0.2847725749015808, -0.6369696259498596, -0.3578854203224182, 0.1472434550523758, 0.34192347526550293, 0.3255191147327423, -0.22140765190124512, -0.0122196851298213, 0.3275262117385864, 0.13032953441143036, 0.17215611040592194, 0.36966681480407715, -0.004663332365453243, -0.027653764933347702, 0.7140386700630188, -0.18613004684448242, 0.5806519389152527, 0.3618791401386261, -0.013359148986637592, -0.049292370676994324, -0.8542923331260681, -0.8079404234886169, 0.06391306966543198, -0.7730302214622498, 0.17678618431091309, -0.4733971059322357, 0.07520337402820587, -0.5349330902099609, -0.2239362597465515, -0.07856716215610504, -0.5846138596534729, -0.5166276097297668, -0.22163309156894684, 0.09522715955972672, 0.5940386056900024, 0.07709881663322449, 0.10481282323598862, -0.5928925275802612, 0.29156941175460815, -0.029932362958788872, -0.22970950603485107, -0.4138582646846771, -0.8432749509811401, -0.1605650633573532, -0.056540247052907944, 0.014620069414377213, -0.7559106945991516, -0.14119189977645874, 0.4183492660522461, 0.21323223412036896, 0.31166961789131165, 0.3400859236717224, 0.6707566380500793, -0.5842515230178833, 0.9948385953903198, 0.4649026691913605, -1.116646409034729, 0.5052671432495117, -0.3228490948677063, 0.6707203388214111, 0.4642467200756073, 0.40075382590293884, -0.9129058718681335, -0.8661746978759766, -0.3308546543121338, -0.8121172189712524, 0.7098882794380188, 0.5198419094085693, 0.30402982234954834, 0.017138496041297913, 0.35923460125923157, 0.2685055732727051, 0.1488059163093567, -0.7749245166778564, -0.11317294090986252, -0.17706771194934845, -0.21621261537075043, -0.24500375986099243, 0.0753159373998642, -0.010690897703170776, -0.17452289164066315, 0.3359188735485077, -0.23478636145591736, -0.05821163207292557, 0.04350317642092705, -0.6542729735374451, -0.07491970807313919, 0.28779640793800354, 0.6249026656150818, 0.537855863571167, 0.3260592520236969, 0.2177634984254837, 0.2966477572917938, -0.18282195925712585, 0.16948728263378143, -0.08615655452013016, -0.5916778445243835, 0.10815709829330444, 0.8696330189704895, 1.2452446222305298, 0.7107189893722534, -0.6571435332298279, 0.5272859334945679, 0.47202160954475403, -0.2991901934146881, -0.053205665200948715, -0.0641799122095108, 0.031076159328222275, 0.07132662087678909, 0.2093232423067093, 0.20834816992282867, 0.00548143032938242, -0.666344165802002, 0.47014370560646057, 0.20878295600414276, -0.7565279603004456, -0.494854599237442, 0.9139419198036194, 0.28929170966148376, -0.6788551807403564, 0.4241373538970947, -0.094492606818676, -0.7060754299163818, 0.4002946615219116, 0.5329799056053162, 0.8488039374351501, 0.018914468586444855, 0.4040314853191376, 0.2338525950908661, 0.43434321880340576, -0.023753687739372253, -0.10617362707853317, -0.2590365409851074, -0.4235931932926178, -0.5702749490737915, -0.27340489625930786, -0.4291488528251648, -0.2862418293952942, -0.6645168662071228, 0.11263812333345413, -0.1720276027917862, -0.24982082843780518, -0.10549606382846832, -0.44236189126968384, -0.46165549755096436, 0.1952592134475708, 0.2822578549385071, 0.7097336649894714, -1.086991548538208, 0.6589377522468567, 0.6279308199882507, -0.43004289269447327, -0.4123082756996155, 0.28395652770996094, 0.09027989953756332, -0.6914930939674377, 0.5917404890060425, 0.05463062971830368, -0.18412022292613983, 0.08424393832683563, -0.1976763755083084, -0.7394338846206665, 0.6849130392074585, 0.3444846272468567, -0.06913738697767258, -0.13443586230278015, 0.40839511156082153, 0.7169322371482849, -0.423617422580719, -0.39250847697257996, 0.6547194123268127, 0.40089529752731323, 0.027063747867941856, -1.0649394989013672, 0.36319512128829956, 0.03690203279256821, 0.183088481426239, 0.09980356693267822, -0.4369259774684906, 0.6395885944366455, -0.26518675684928894, -0.5728530287742615, 0.052137795835733414, 0.9554663300514221, -0.1614198237657547, 0.39257413148880005, 0.49178123474121094, 0.18826335668563843, 0.6093606352806091, 0.07591215521097183, 0.9952986240386963, -0.011155176907777786, 0.1534203737974167, 1.1164988279342651, -0.3184373676776886, 0.7694958448410034, 0.5968413352966309, -0.24595393240451813, 0.3309963345527649, 0.490581214427948, 0.11163254082202911, 0.09103135764598846, 0.1557154357433319, -0.08192874491214752, -0.3659696877002716, 0.10784149169921875, -0.015763510018587112, 0.3378048837184906, 0.09080395102500916, -0.24217069149017334, -0.20947176218032837, 0.4249385893344879, 0.22573699057102203, 0.5152233839035034, -0.0587334930896759, 0.5630703568458557, 0.46149495244026184, -0.8037932515144348, 0.6095595359802246, 0.061605054885149, 0.31212276220321655, -0.2715587913990021, 0.23593227565288544, -0.14913016557693481, 0.03380800783634186, -0.14805008471012115, -0.8635925054550171, 0.6277398467063904, 0.1788972169160843, 0.023073993623256683, -0.9179700613021851, 0.4517020881175995, -0.40962252020835876, -0.37990641593933105, -0.07398978620767593, 0.4331957995891571, 0.5387741923332214, 0.15368898212909698, -0.7509538531303406, 0.13974899053573608, 0.062186673283576965, -0.2371288686990738, 0.3418081998825073, 0.6248344779014587, -0.19075970351696014, 0.6027860045433044, 0.3171507716178894, -0.3054632544517517, 0.08076547086238861, -0.199773907661438, 0.4632844626903534, -0.6338990926742554, -0.6131496429443359, -0.544871985912323, 0.6577672362327576, -0.045672956854104996, -0.8130363821983337, 0.9267264604568481, 0.5114786624908447, 0.9497507810592651, -0.07865437120199203, 0.668415367603302, -0.1392536461353302, 0.20183789730072021, -0.6690934300422668, 0.5169184803962708, -0.5462325811386108, 0.06119534373283386, -0.26317474246025085, -0.4376964569091797, -0.5058169364929199, 0.5021843314170837, -0.3281247615814209, -0.29385873675346375, 1.0092962980270386, 0.3927270770072937, 0.07804083824157715, 0.024423817172646523, 0.5906378030776978, 0.027760246768593788, 0.08524756878614426, 0.7800518274307251, 0.4392896890640259, -0.7731487154960632, 0.7947604656219482, 0.3602694869041443, -0.14658936858177185, -0.1655733287334442, -0.7743521928787231, -0.9899875521659851, -1.0592023134231567, -0.7684289216995239, -0.4578499495983124, -0.033986132591962814, 0.6967979669570923, 0.7115218043327332, -1.1244477033615112, -0.36678218841552734, 0.060927633196115494, 0.20518290996551514, -0.3961019814014435, -0.12167816609144211, 0.28368324041366577, -0.36072877049446106, -0.6839826107025146, 0.6588027477264404, 0.26716890931129456, -0.02548440545797348, -0.11877425014972687, -0.13123708963394165, 0.01696869172155857, -0.28731581568717957, 0.5556711554527283, 0.5822353959083557, -0.8931515216827393, -0.647445023059845, -0.11174294352531433, -0.3932729661464691, 0.24247340857982635, 1.2101242542266846, -0.599463939666748, 0.22309963405132294, 0.0589604452252388, 0.6983810067176819, 0.6038329601287842, -0.06031182035803795, 0.750451922416687, -0.8802685141563416, 0.18725548684597015, 0.22363102436065674, 0.26793918013572693, 0.4824540615081787, -0.2193334549665451, 0.3333321809768677, 0.4108140170574188, -0.030535949394106865, -0.7613509297370911, 0.703044056892395, -0.9318147897720337, -0.41330206394195557, 0.9774636030197144, -0.39740604162216187, -0.31765076518058777, -0.5995878577232361, -0.16727745532989502, 0.2713346481323242, -0.13437406718730927, 0.6358095407485962, 0.6703415513038635, -0.29864630103111267, -0.2696978449821472, -0.5393353700637817, 0.5982940196990967, 0.5696602463722229, -0.5239638686180115, 0.1810218244791031, 0.6235488057136536, 0.16935992240905762, 0.03395143523812294, 0.8394286036491394, 0.1070927232503891, 0.33878612518310547, 0.050195466727018356, -0.19939693808555603, -0.23200726509094238, -0.07223508507013321, -0.30533963441848755, 0.27289578318595886, 0.08499659597873688, -0.329534113407135 ]
http://arxiv.org/abs/2406.11044v1
http://arxiv.org/pdf/2406.11044v1
Evaluating the Performance of Large Language Models via Debates
2024-06-16T19:02:31
2024-06-16T19:02:31
Behrad Moniri, Hamed Hassani, Edgar Dobriban
cs.CL
cs.CL, cs.AI, cs.LG
Large Language Models (LLMs) are rapidly evolving and impacting various fields, necessitating the development of effective methods to evaluate and compare their performance. Most current approaches for performance evaluation are either based on fixed, domain-specific questions that lack the flexibility required in many real-world applications where tasks are not always from a single domain, or rely on human input, making them unscalable. We propose an automated benchmarking framework based on debates between LLMs, judged by another LLM. This method assesses not only domain knowledge, but also skills such as problem definition and inconsistency recognition. We evaluate the performance of various state-of-the-art LLMs using the debate framework and achieve rankings that align closely with popular rankings based on human input, eliminating the need for costly human crowdsourcing.
[ -0.5943882465362549, -0.903565526008606, 0.5185980796813965, 0.1503966748714447, 0.031045500189065933, 0.2518404424190521, -0.5878496170043945, -0.47559624910354614, -0.036062728613615036, 0.614107072353363, -0.27991783618927, -0.37395524978637695, -0.7579020857810974, 0.16506224870681763, -0.3670046627521515, 0.41359269618988037, -0.0844329223036766, 0.10806211084127426, -0.539494514465332, -0.4247947335243225, -0.2499636560678482, -0.5747051239013672, -0.5850685834884644, -0.5487869381904602, 0.3936805725097656, 0.2710364758968353, 0.7256803512573242, 0.4934181272983551, 0.5818595290184021, 0.5423223972320557, -0.25311195850372314, 0.3166202902793884, -0.5071461796760559, 0.35008519887924194, -0.5838564038276672, -0.1892441362142563, -0.35230207443237305, 0.04535187780857086, 0.7992957830429077, 0.7023400664329529, -0.24492914974689484, 0.20082509517669678, 0.030152779072523117, 0.48122313618659973, -0.5186188220977783, 0.024177897721529007, -1.0423635244369507, 0.009498393163084984, -0.3582340180873871, -0.22133375704288483, -0.33705171942710876, -0.6590012907981873, 0.26354119181632996, -0.1681927740573883, -0.004730226006358862, 0.11678266525268555, 0.9054074883460999, 0.205714613199234, -0.28029865026474, -0.3593553304672241, -0.5268272161483765, 0.5626251697540283, -0.9166886806488037, 0.3963984549045563, 0.051441267132759094, 0.3877162039279938, -0.35021138191223145, -0.5774126052856445, -0.578216016292572, -0.4681372344493866, 0.12175953388214111, -0.1589532047510147, -0.28957730531692505, -0.09739574790000916, 0.2525639832019806, 0.3469611406326294, -0.5928806662559509, 0.49676594138145447, -0.017838049679994583, -0.045510344207286835, 0.8146019577980042, 0.31399253010749817, 0.0024467308539897203, 0.030092177912592888, -0.17581094801425934, -0.11775621771812439, -0.6202396750450134, -0.2463427633047104, 0.5043399930000305, 0.21166706085205078, 0.21733854711055756, 0.5472848415374756, -0.3296385109424591, 0.7091172337532043, 0.06717957556247711, -0.0362786129117012, 0.25051048398017883, 0.03621729835867882, -0.2908652126789093, -0.456644743680954, 1.03087317943573, 0.3734058737754822, 0.14685358107089996, -0.2853243052959442, -0.3563321828842163, -0.1088217943906784, 0.2591060400009155, -0.7733762264251709, -0.10444645583629608, 0.15455099940299988, -0.1827012151479721, -0.13092970848083496, -0.26066094636917114, -0.9226463437080383, -0.6838993430137634, -0.382196843624115, 0.6405284404754639, 0.14914478361606598, -0.27332717180252075, 0.04273947328329086, 0.020344030112028122, -0.07487773150205612, 0.4706488251686096, -0.7340520024299622, 0.4641982614994049, 0.9821118712425232, 0.5949805378913879, -0.5539147853851318, -0.26448357105255127, -0.4133245646953583, -0.07730325311422348, -0.3586176633834839, 1.0473508834838867, -0.6750238537788391, -0.3699522316455841, 0.16542062163352966, -0.08142389357089996, -0.23280967772006989, -1.223833441734314, 0.5517081618309021, -0.7533702254295349, 0.04587383195757866, -0.15863651037216187, -1.0255234241485596, 0.15335234999656677, 0.6000466346740723, -0.7302885055541992, 1.1542553901672363, -0.12407032400369644, -0.7176337242126465, 0.33650368452072144, -0.6117278337478638, -0.25022590160369873, 0.3864092230796814, -0.3132565915584564, -0.37743842601776123, -0.1561661809682846, 0.11904651671648026, 0.43354636430740356, -0.6809357404708862, 0.45576217770576477, -0.4078141152858734, -0.24964836239814758, 0.33334285020828247, -0.44560953974723816, 0.5029124617576599, 0.09589428454637527, -0.5211345553398132, 0.3470599353313446, -0.7348136305809021, 0.21619918942451477, 0.12569642066955566, -0.48306605219841003, -0.17362560331821442, 0.1583407074213028, -0.0893174409866333, 0.10557668656110764, 0.15243679285049438, -0.4219819903373718, 0.33092471957206726, -0.4608790874481201, 0.4700778126716614, 0.7153027653694153, -0.11041347682476044, 0.12138063460588455, -0.2898666262626648, 0.5524094700813293, -0.21190883219242096, -0.03274518623948097, 0.24639275670051575, -0.38603895902633667, -0.9313653111457825, 0.015160896815359592, 0.5190985202789307, 0.42787861824035645, -0.5608556866645813, 0.33126869797706604, -0.3988690972328186, -0.6133153438568115, -0.580912709236145, 0.37640097737312317, 0.3851557970046997, 0.28538867831230164, 0.23194384574890137, -0.40439632534980774, -0.2814936935901642, -0.968180775642395, -0.45094209909439087, -0.2934475243091583, -0.015085854567587376, 0.6475788354873657, 0.3926841616630554, -0.054693803191185, 0.8262982964515686, -0.40367910265922546, 0.09245046973228455, -0.20337265729904175, 0.5618211030960083, -0.11472061276435852, 0.2830202579498291, 0.08726820349693298, -0.4573763906955719, -0.2776987850666046, 0.15311242640018463, -0.6835794448852539, -0.356772243976593, 0.22854402661323547, -0.15921641886234283, 0.4649517834186554, 0.5192678570747375, -0.5430576205253601, 0.08589281141757965, 0.564507782459259, -0.20456162095069885, 0.5532926917076111, -0.05119405686855316, 0.4623124897480011, -0.6440824866294861, 0.1966007649898529, -0.012086021713912487, -0.2591525614261627, -0.31095704436302185, 0.27630457282066345, 0.057880062609910965, -0.033968158066272736, -0.34664657711982727, 0.9141164422035217, -0.32689717411994934, -0.23738574981689453, -0.1817077398300171, 0.48596420884132385, -0.007476092781871557, 0.28435319662094116, 0.1873343586921692, 0.8238969445228577, 0.1706744283437729, -0.3844278156757355, 0.4847422242164612, -0.03704961761832237, -0.8455452919006348, 0.6140389442443848, -0.6391732692718506, 0.3793541491031647, 0.28311780095100403, 0.15920908749103546, -1.0963380336761475, 0.0016029844991862774, -0.14246729016304016, -0.17502206563949585, 0.20567917823791504, -0.33425119519233704, -0.6416494846343994, -0.4455077648162842, -0.12378215044736862, 0.3967060446739197, 0.14779460430145264, -0.4482351839542389, 0.29686057567596436, 0.7473378777503967, -0.5142989158630371, -0.5152866244316101, -0.1244085431098938, 0.39884498715400696, -0.3185509741306305, -0.7386187314987183, 0.11149122565984726, -0.1332668513059616, -0.6400792598724365, -0.17798173427581787, 0.1635301560163498, -0.19218941032886505, 0.1588873267173767, 0.01540695782750845, 0.0860970988869667, -0.41215673089027405, 0.2528516948223114, -0.1888565868139267, 0.08584357053041458, 0.12948022782802582, -0.045323148369789124, 0.4457218647003174, -0.12740914523601532, -0.5865947008132935, -0.15081243216991425, 0.19613495469093323, 0.6284935474395752, -0.2865508496761322, 0.43805721402168274, 0.2106591910123825, -0.31369712948799133, -0.39438116550445557, -1.220663070678711, 0.02268725261092186, -0.5047906041145325, 0.49441149830818176, -0.3156511187553406, -1.2067291736602783, 0.32488298416137695, -0.5261983871459961, 0.16301289200782776, 0.44130438566207886, 0.964932918548584, 0.17051225900650024, 0.9401213526725769, 0.3773484230041504, -0.14213289320468903, 0.1386074721813202, 0.018177973106503487, 0.023938139900565147, -0.5966225862503052, -0.25558915734291077, -0.76457679271698, -0.26508185267448425, -0.29691872000694275, -0.7208935022354126, 0.23439162969589233, -0.058487217873334885, -0.3476102352142334, 0.3320057988166809, -0.3123950660228729, 0.6423280835151672, 0.10618879646062851, -0.45927610993385315, 0.5202859044075012, -0.07679831236600876, -0.43326514959335327, -0.08274964243173599, -0.5625187158584595, -0.7985298037528992, 0.9252164363861084, 0.3868919014930725, 0.6808983087539673, 0.19139012694358826, 0.3526042401790619, 0.4466812014579773, 0.696952760219574, -0.7317140102386475, 0.6798375248908997, 0.07776503264904022, -0.6379634737968445, -0.5564118027687073, -0.6597869992256165, -0.9128332138061523, 0.8261933922767639, -0.2559148669242859, -0.8508514165878296, -0.09845392405986786, -0.0361124612390995, -0.21801766753196716, 0.5431416630744934, -0.5676791667938232, 1.0616717338562012, -0.19198046624660492, -0.5328325033187866, -0.35680443048477173, -0.22733908891677856, 0.34100261330604553, -0.029379863291978836, 0.29750487208366394, -0.2829304337501526, 0.03828096017241478, 0.8622944951057434, -0.41279906034469604, 0.43186837434768677, -0.038760848343372345, -0.3790574371814728, 0.18119731545448303, 0.12809348106384277, 0.3097822964191437, 0.05606742575764656, -0.3880651295185089, 0.1721571832895279, 0.06605031341314316, -0.04468448460102081, -0.5938988327980042, 0.8882938623428345, -0.7786149978637695, -0.8580533266067505, -0.25455382466316223, -0.45721063017845154, -0.6869111061096191, 0.057945091277360916, -0.08315690606832504, 0.3205696940422058, -0.6310560703277588, 0.035490211099386215, 0.5903812646865845, -0.29626262187957764, 0.28673017024993896, 0.8135401606559753, -0.32269585132598877, -0.33138754963874817, 0.6686338782310486, 0.18256746232509613, 0.25006330013275146, 0.3513398766517639, 0.25684335827827454, -0.4966590404510498, -0.5338242650032043, -0.6716868281364441, 0.17533475160598755, -0.7273919582366943, -0.23437434434890747, -0.7043219804763794, -0.14619283378124237, -0.22323960065841675, 0.11186590045690536, -0.6199127435684204, -0.37824684381484985, 0.22739765048027039, 0.10455917567014694, 0.16343945264816284, 0.9895750284194946, 0.2549118995666504, -0.08018434047698975, -0.5559594035148621, 0.027187693864107132, 0.5363852381706238, 0.4759305715560913, 0.34451329708099365, -0.7582421898841858, -0.1310189962387085, -0.310512900352478, -0.6109564304351807, -0.3900235593318939, 0.207276850938797, -0.063910111784935, 0.686455249786377, 0.26693663001060486, -0.10134709626436234, 0.7731194496154785, -0.6508197784423828, 0.6324426531791687, -0.09379465132951736, -1.1100926399230957, 0.20349229872226715, -0.1760943979024887, 0.07712413370609283, 0.7119550108909607, 0.2720741629600525, -0.5243915319442749, -0.43088483810424805, -0.44448769092559814, -0.8132139444351196, 0.5523198843002319, 0.09012553840875626, -0.03489193692803383, -0.03474936634302139, 0.0697694793343544, -0.009560052305459976, 0.2965949475765228, -0.4284917116165161, -0.050262823700904846, 0.4140971004962921, 0.1876065731048584, 0.021200431510806084, -0.1199457049369812, -0.32092389464378357, -0.42047783732414246, 0.5793672204017639, -0.034699223935604095, -0.08818797767162323, -0.13646748661994934, -0.2129787653684616, -0.2883349657058716, 0.43483078479766846, 0.5631444454193115, 1.0805119276046753, 0.021207164973020554, 0.13580118119716644, 0.49586769938468933, 0.005897813942283392, 0.24283811450004578, 0.1237412840127945, -0.008100887760519981, 0.0026058489456772804, 0.3723609149456024, 0.6879977583885193, 0.48363956809043884, -1.0306810140609741, 0.5239970684051514, -0.10815379023551941, -0.40688061714172363, 0.0441647432744503, 0.003123361151665449, 0.5956004858016968, 0.3979586362838745, 0.1239759549498558, -0.2934790849685669, 0.041584357619285583, -0.5310012102127075, 0.2251000553369522, 0.5376256704330444, -0.1603926420211792, 0.04804764688014984, 0.45368969440460205, 0.32090431451797485, -0.48445308208465576, 0.2776978313922882, -0.09261370450258255, -0.5713863968849182, 0.724634051322937, 0.23506410419940948, 0.5949157476425171, -0.2349512130022049, 0.10705636441707611, 0.21114932000637054, 0.22739450633525848, -0.23268349468708038, 0.06311167776584625, 0.14383193850517273, -0.7086271643638611, -0.3597863018512726, -0.5014340877532959, -0.9137215614318848, 0.4629809558391571, -0.4701855480670929, 0.13713522255420685, -0.48847517371177673, -0.3147203326225281, 0.27438655495643616, 0.31973305344581604, -0.6419849991798401, 0.08328493684530258, 0.21643652021884918, 1.000590205192566, -0.6131005883216858, 0.7097676396369934, 0.7573245763778687, 0.04631469398736954, -0.5172118544578552, 0.0080454396083951, -0.004548958502709866, -0.6696273684501648, 0.6142367720603943, -0.05561380833387375, -0.36820974946022034, -0.3412388563156128, -0.410441130399704, -0.8093408346176147, 0.8083475828170776, 0.5413627624511719, -0.694561779499054, 0.45153796672821045, 0.1750860959291458, 0.7206922173500061, -0.2820868492126465, 0.6140686273574829, 0.5700061321258545, 0.5544108748435974, 0.16977731883525848, -1.2546405792236328, -0.16789844632148743, -0.4123278260231018, -0.06281300634145737, 0.11177366226911545, -0.9129540920257568, 0.7565168738365173, 0.1144191175699234, -0.20788489282131195, 0.15530474483966827, 0.5606619715690613, 0.19726933538913727, 0.2527594566345215, 0.5380306839942932, 0.5562812089920044, 0.9329888224601746, -0.06515434384346008, 0.6894181370735168, -0.33800527453422546, 0.4497360587120056, 1.1066627502441406, -0.9633682370185852, 1.2573691606521606, 0.15475139021873474, -0.530773401260376, 0.24005663394927979, 0.4690685272216797, -0.03888622298836708, 0.08128941059112549, 0.850939929485321, -0.2024201899766922, -0.48780378699302673, -0.029811430722475052, -0.2988143563270569, 0.45577573776245117, 0.29134315252304077, -0.028367944061756134, -0.3572465777397156, -0.35671502351760864, 0.08877439796924591, 0.3459901213645935, -0.059318237006664276, 0.875078558921814, -0.052126962691545486, -1.0035609006881714, 0.811982274055481, 0.4105205833911896, 0.7112380266189575, -0.46927693486213684, 0.009836776182055473, -0.25801870226860046, 0.3410991132259369, -0.0034298745449632406, -0.7945791482925415, 0.11697186529636383, 0.32037827372550964, 0.039666108787059784, 0.03247915208339691, 0.4209388196468353, -0.48066964745521545, -0.48016977310180664, 0.550846517086029, 0.5699450969696045, 0.2675819993019104, 0.12933582067489624, -0.9308740496635437, 0.5142344236373901, -0.49693000316619873, -0.30776917934417725, 0.6166947484016418, 0.4421483278274536, -0.16573597490787506, 0.8859608173370361, 0.2606920301914215, 0.007958684116601944, -0.14999771118164062, 0.35789406299591064, 1.0462621450424194, -0.374952495098114, -0.23660704493522644, -0.8988741636276245, -0.0077186403796076775, -0.28411245346069336, -0.4678487479686737, 0.6815431118011475, 0.6965576410293579, 0.8424929976463318, 0.21357451379299164, 0.698885977268219, 0.24504049122333527, 0.7303778529167175, -0.39538756012916565, 0.9582167863845825, -0.5658343434333801, 0.4522039294242859, -0.46566805243492126, -0.8083962202072144, -0.12040366977453232, 0.666862428188324, -0.4581432640552521, 0.05748043954372406, 0.5234372615814209, 0.8734496235847473, -0.01255618967115879, 0.13600821793079376, 0.38596242666244507, 0.29645416140556335, 0.3296244442462921, 0.5279653072357178, 0.9911824464797974, -0.05021326243877411, 0.27436068654060364, 0.17097468674182892, -0.22646285593509674, -0.1862800121307373, -1.0784282684326172, -1.0746409893035889, -0.3669533133506775, -0.4142177104949951, -0.13281778991222382, 0.2910197079181671, 1.130794644355774, 0.678333044052124, -0.9365414977073669, -0.7793728113174438, 0.48600324988365173, 0.34286537766456604, 0.06665754318237305, -0.1896906942129135, 0.3994312584400177, -0.11944635957479477, -0.8149323463439941, 0.5691944360733032, 0.27769848704338074, -0.46417585015296936, -0.5386579632759094, -0.009592530317604542, -0.2594904601573944, 0.4219444990158081, 0.6955985426902771, 0.3242371380329132, -0.9246860146522522, -0.167947456240654, -0.37356626987457275, -0.2192932814359665, 0.054430581629276276, 0.8517405390739441, -0.7110280990600586, 0.3516833484172821, 0.38453781604766846, 0.9807068109512329, 0.3019295036792755, 0.10513089597225189, 0.47936680912971497, -0.45075878500938416, -0.14301928877830505, 0.15857301652431488, 0.2448595017194748, 0.4964987337589264, 0.08586204051971436, 0.45618167519569397, 0.19498015940189362, -0.7806238532066345, -0.9981826543807983, -0.008020922541618347, -0.6684197783470154, -0.20530210435390472, 1.188338279724121, -0.386966735124588, 0.24778376519680023, -0.2602877616882324, -0.046815793961286545, -0.07087913900613785, -0.2463923543691635, 0.8312047123908997, 0.9639863967895508, 0.0949283167719841, 0.16564005613327026, -0.6309551000595093, 0.4154169261455536, 0.41180849075317383, -0.8584893941879272, 0.4629307687282562, 0.26452237367630005, 0.47023311257362366, -0.10083110630512238, 0.6515726447105408, -0.2162039875984192, -0.16577337682247162, -0.2707100212574005, -0.020340466871857643, 0.17310062050819397, -0.20714588463306427, -0.249470055103302, 0.44460535049438477, 0.30800145864486694, 0.4427855610847473 ]
http://arxiv.org/abs/2406.11036v1
http://arxiv.org/pdf/2406.11036v1
garak: A Framework for Security Probing Large Language Models
2024-06-16T18:18:43
2024-06-16T18:18:43
Leon Derczynski, Erick Galinkin, Jeffrey Martin, Subho Majumdar, Nanna Inie
cs.CL
cs.CL, cs.CR
As Large Language Models (LLMs) are deployed and integrated into thousands of applications, the need for scalable evaluation of how models respond to adversarial attacks grows rapidly. However, LLM security is a moving target: models produce unpredictable output, are constantly updated, and the potential adversary is highly diverse: anyone with access to the internet and a decent command of natural language. Further, what constitutes a security weak in one context may not be an issue in a different context; one-fits-all guardrails remain theoretical. In this paper, we argue that it is time to rethink what constitutes ``LLM security'', and pursue a holistic approach to LLM security evaluation, where exploration and discovery of issues are central. To this end, this paper introduces garak (Generative AI Red-teaming and Assessment Kit), a framework which can be used to discover and identify vulnerabilities in a target LLM or dialog system. garak probes an LLM in a structured fashion to discover potential vulnerabilities. The outputs of the framework describe a target model's weaknesses, contribute to an informed discussion of what composes vulnerabilities in unique contexts, and can inform alignment and policy discussions for LLM deployment.
[ -0.6145966053009033, -1.222672700881958, 0.3891802728176117, -0.06771601736545563, -0.014169171452522278, 0.4089110791683197, -0.11005059629678726, -0.44330844283103943, 0.13782742619514465, 0.7057034373283386, -0.5244704484939575, -0.5187656283378601, -0.7245426774024963, -0.23669151961803436, -0.5393669605255127, 1.284291386604309, -0.027958346530795097, -0.364041805267334, -0.022773124277591705, -0.3304057717323303, -0.748532772064209, -0.7636536359786987, -0.7599841952323914, -0.3158959448337555, 0.5319405198097229, 0.2055281400680542, 0.7741842865943909, 0.2580815553665161, 0.709790825843811, 0.3613814115524292, -0.22687658667564392, -0.011708219535648823, -0.5236328840255737, 0.48845964670181274, -0.25832071900367737, -0.6441129446029663, -0.5591562390327454, -0.13390564918518066, 0.3844372034072876, 0.29232168197631836, -0.06256137043237686, 0.417197585105896, -0.04865659028291702, 0.4877370297908783, -0.533624529838562, -0.19224601984024048, -0.6834102272987366, 0.11903847754001617, -0.40844112634658813, -0.21709372103214264, -0.3863578140735626, 0.17431403696537018, 0.1970292329788208, -0.3886120915412903, 0.17663347721099854, 0.35990193486213684, 0.7579613327980042, 0.1697016805410385, -0.5264931917190552, -0.35004574060440063, -0.7202547192573547, 0.7933797836303711, -0.501311719417572, 0.12968741357326508, 0.3127260208129883, 0.7548368573188782, -0.4406587779521942, -0.6083034873008728, -0.4153265357017517, -0.4699844419956207, 0.10630280524492264, -0.2580820918083191, -0.5369006991386414, 0.03770871087908745, -0.09968002140522003, 0.38905030488967896, -0.7837303280830383, 0.11940864473581314, -0.23387275636196136, -0.37636300921440125, 0.6821067333221436, 0.3844892084598541, 0.6891464591026306, 0.3050520718097687, -0.36105093359947205, -0.18930287659168243, -0.7963140606880188, -0.19429552555084229, 0.7137762904167175, 0.390606552362442, -0.45346799492836, 0.42159247398376465, 0.22515472769737244, 0.5704427361488342, -0.13563063740730286, 0.05860133841633797, -0.12339624762535095, -0.33719003200531006, -0.31724563241004944, -0.0532953180372715, 0.7875494956970215, 0.2196669727563858, -0.11134283244609833, -0.06363499909639359, -0.2303696572780609, 0.09710494428873062, 0.7799985408782959, -0.38584885001182556, -0.2986536920070648, 0.39318493008613586, -0.18314984440803528, -0.8284258842468262, -0.10476168245077133, -1.1798555850982666, -0.7033295631408691, 0.23495061695575714, 0.15644828975200653, 0.0013069413835182786, -0.24434949457645416, -0.03296087682247162, -0.034069452434778214, 0.24568119645118713, 0.1455494612455368, -1.0271607637405396, 0.35972481966018677, 0.9585345387458801, 0.8259533643722534, 0.09766121208667755, -0.16728368401527405, -0.6204737424850464, 0.14404769241809845, -0.4795951545238495, 0.5702141523361206, -0.5118571519851685, -0.45589572191238403, 0.05886242166161537, -0.19017887115478516, 0.20802338421344757, -0.10180528461933136, 0.4635043740272522, -0.7675943374633789, 0.05610595643520355, -0.07340972870588303, -0.20570702850818634, -0.2752038240432739, 0.8839691877365112, -0.7574616074562073, 0.8791778683662415, -0.09588868916034698, -0.8733201622962952, 0.2267116904258728, -0.8871132135391235, -0.21367812156677246, 0.31738099455833435, -0.30716198682785034, -0.5002867579460144, -0.04284444451332092, 0.3473985493183136, 0.3780956268310547, -0.4878428280353546, 0.13668319582939148, -0.4368719458580017, -0.2629360556602478, 0.25064557790756226, -0.41551801562309265, 0.5977751612663269, 0.2398211508989334, -0.4291880428791046, 0.35164207220077515, -0.21127478778362274, -0.011907479725778103, 0.27369970083236694, -0.32144564390182495, -0.34452155232429504, 0.12820403277873993, -0.17751166224479675, -0.20346860587596893, 0.2346285581588745, -0.40166914463043213, 0.18831367790699005, -0.6902815699577332, 0.6421905159950256, 0.9259758591651917, 0.18230488896369934, 0.6381759643554688, -0.2294393628835678, 0.9693443775177002, -0.2657129466533661, 0.39643874764442444, 0.039602283388376236, -0.40719956159591675, -0.6672123074531555, -0.30142921209335327, 0.043543945997953415, 0.506093442440033, -0.3790958523750305, 0.05686333030462265, -0.16839565336704254, -0.6125847697257996, -0.4335617125034332, 0.24717821180820465, 0.33030274510383606, 0.19023312628269196, 0.1440185159444809, -0.15334254503250122, -0.6419640183448792, -0.8417247533798218, -0.2734745442867279, -0.5457722544670105, 0.23640544712543488, 0.38934096693992615, 0.8036587238311768, -0.6469686031341553, 0.6866889595985413, -0.23550079762935638, -0.18204206228256226, -0.5955705642700195, 0.04841933771967888, 0.10747762024402618, 0.24221178889274597, 0.6035771369934082, -0.8574742674827576, -0.350686639547348, 0.5995592474937439, -0.8048446774482727, 0.0928352028131485, 0.061045531183481216, -0.13257727026939392, -0.05882673338055611, 0.6454358696937561, -0.44337713718414307, 0.3631437420845032, 0.795925498008728, -0.2373584359884262, 0.5762948393821716, -0.16158831119537354, -0.15575659275054932, -0.8618749976158142, 0.17356207966804504, -0.22689618170261383, -0.11849332600831985, -0.9865975379943848, 0.6795495748519897, -0.17598462104797363, -0.2845199704170227, -0.21241864562034607, 0.9997313618659973, -0.30097073316574097, -0.26305943727493286, -0.21062256395816803, -0.029354210942983627, 0.06740429252386093, 0.17871789634227753, -0.8411419987678528, 0.9372015595436096, 0.4244193434715271, -0.5396996140480042, 0.5097385048866272, 0.11250496655702591, -0.44600969552993774, 0.46673646569252014, -0.7639127969741821, 0.4515850841999054, 0.09242410957813263, 0.31360018253326416, -0.9875849485397339, -0.2816544473171234, 0.5507051348686218, -0.4439026117324829, 0.36470159888267517, -0.3542633354663849, -0.31527581810951233, -0.31576740741729736, -0.3353915810585022, 0.6274159550666809, 0.0826118066906929, -0.42179521918296814, 0.8037118911743164, 0.7276064157485962, -0.44273841381073, -0.9764679074287415, -0.48059239983558655, 0.5553564429283142, -0.5963979363441467, -0.6766253709793091, 0.017888767644762993, 0.19566401839256287, -0.6988686919212341, -0.2568889260292053, -0.0027245297096669674, -0.004928655456751585, 0.7590354681015015, 0.3619489371776581, 0.3407471477985382, -0.08557020872831345, -0.016711650416254997, -0.3701750934123993, -0.11908804625272751, 0.1855527013540268, -0.3158963918685913, 0.6948248744010925, -0.4500054121017456, -0.6207001805305481, 0.019444413483142853, 0.4867309033870697, 0.6747984886169434, -0.46047812700271606, 0.36574673652648926, 0.4945262372493744, -0.0912461057305336, -0.4391573667526245, -0.4776763319969177, 0.015156155452132225, -0.5247775316238403, 0.5650419592857361, -0.18030613660812378, -1.1700278520584106, 0.73393315076828, 0.08513157069683075, 0.2626107931137085, 0.30359333753585815, 0.8468084931373596, -0.124487966299057, 0.9023828506469727, 1.0972946882247925, -0.5625975131988525, 0.2836426794528961, -0.1355590671300888, 0.601720929145813, -0.7691673040390015, -0.1586662232875824, -0.3176479637622833, -0.36348432302474976, -0.3441706895828247, -0.24383439123630524, 0.45387083292007446, -0.21861709654331207, -0.21439796686172485, 0.16914448142051697, -0.46037352085113525, 0.4123426377773285, 0.1569921374320984, -0.3434731960296631, -0.009846467524766922, -0.1447935700416565, -0.4438689053058624, 0.4248511791229248, -0.47254031896591187, -0.7892190217971802, 1.3066529035568237, 0.7225098609924316, 0.7392618656158447, 0.36527615785598755, 0.5918962955474854, 0.665075421333313, 0.4964354932308197, -0.6097366809844971, 0.6558070182800293, 0.3422199785709381, -0.9895415306091309, -0.3828120827674866, -0.24274875223636627, -1.0244417190551758, 0.38479721546173096, 0.0430213063955307, -0.8677113652229309, -0.09323073923587799, 0.05367610231041908, -0.4077765941619873, 0.3980976343154907, -0.33281952142715454, 0.8276781439781189, -0.35305535793304443, -0.08013671636581421, -0.19923703372478485, -0.50436931848526, 0.4867323935031891, -0.10925542563199997, 0.35860538482666016, -0.10940543562173843, 0.14448866248130798, 0.6210545301437378, -0.34857481718063354, 1.0768682956695557, -0.049092646688222885, -0.3433038592338562, 0.2580935060977936, 0.24883714318275452, 0.547808051109314, 0.08458733558654785, 0.20157156884670258, 0.11670498549938202, -0.2091967910528183, -0.37289661169052124, -0.6301097273826599, 0.6403087973594666, -0.6933419704437256, -0.7564588785171509, -0.46955960988998413, -0.6208920478820801, -0.10275521129369736, -0.024685433134436607, 0.04728104919195175, 0.2814578711986542, -0.6675841212272644, -0.06939921528100967, 0.6615904569625854, -0.3286106288433075, 0.11595480889081955, 0.2866823971271515, -0.38415470719337463, -0.4631211757659912, 0.7721344828605652, -0.12336820363998413, 0.29969343543052673, 0.25418755412101746, -0.06079603359103203, -0.08947577327489853, -0.7025435566902161, -0.4733526110649109, 0.06547535955905914, -0.7946463227272034, -0.23642759025096893, -0.3151344358921051, -0.07787381857633591, -0.06913544237613678, -0.38664987683296204, -0.16937394440174103, 0.1094907745718956, 0.05874623358249664, -0.3931397795677185, 0.39834851026535034, 0.8899656534194946, 0.12978443503379822, 0.2702125906944275, -0.544597327709198, -0.024522952735424042, 0.40584585070610046, -0.13376298546791077, 0.1658356785774231, -0.48844003677368164, -0.2842477262020111, 0.064531609416008, -0.28389614820480347, -0.7364858388900757, 0.5625264644622803, 0.020226869732141495, 0.7509836554527283, 0.3725124001502991, -0.1357056051492691, 0.3324969410896301, -0.47902095317840576, 0.7886222004890442, -0.03327462449669838, -0.7237237691879272, 0.47707879543304443, -0.43204522132873535, -0.10537590831518173, 0.5129815340042114, 0.08197461813688278, -0.5988103747367859, -0.5838415026664734, -0.47113049030303955, -0.9065735340118408, 0.13417193293571472, 0.0015191752463579178, 0.409921795129776, -0.061118729412555695, 0.24037499725818634, -0.12226012349128723, 0.25294753909111023, -0.5911936163902283, -0.18188413977622986, -0.03196714073419571, 0.08814030140638351, -0.24987585842609406, -0.43485018610954285, -0.709311842918396, 0.15393617749214172, 0.3875719904899597, -0.18828456103801727, 0.4455855190753937, -0.03961944952607155, -0.13926051557064056, 0.025371506810188293, 0.5514336824417114, 0.7350370287895203, 0.2568525969982147, -0.024703439325094223, 0.3391016721725464, 0.4628289043903351, -0.4576961398124695, 0.5408208966255188, -0.24018485844135284, -0.049180593341588974, -0.1930479258298874, 0.621427059173584, 0.6896770596504211, 0.18969179689884186, -0.6189668774604797, 0.6512911915779114, 0.014813542366027832, -0.2970067262649536, -0.2981351613998413, 0.07229731976985931, -0.10109920054674149, 0.49132826924324036, 0.2843180298805237, -0.18712961673736572, -0.14169718325138092, -0.6901840567588806, 0.14851237833499908, 0.763311505317688, -0.4025125801563263, -0.4159012734889984, 0.5244287848472595, 0.08301428705453873, -0.39520397782325745, 0.4152551591396332, -0.1790113002061844, -0.9538508057594299, 0.6937173008918762, 0.3792570233345032, 1.0152734518051147, -0.1969590187072754, 0.24047940969467163, -0.19580498337745667, 0.7487565279006958, 0.11606553941965103, 0.11767179518938065, 0.026807745918631554, -0.8039258122444153, -0.39253297448158264, -0.4490411579608917, -0.6795386672019958, 0.2124885767698288, -0.6143965125083923, -0.08081084489822388, -0.8429260849952698, -0.42366623878479004, -0.2340630143880844, 0.1315697431564331, -0.5196455717086792, -0.15897142887115479, 0.2574939429759979, 0.6669275164604187, -0.8550732731819153, 0.5025444626808167, 0.6873214840888977, -0.16110876202583313, -0.5294578671455383, -0.16490277647972107, 0.30965766310691833, -0.867541491985321, 0.8649400472640991, 0.107989102602005, -0.099875807762146, -0.4430549144744873, -0.6312914490699768, -0.7021557092666626, 1.1096597909927368, 0.41530483961105347, -0.4088723361492157, -0.015838757157325745, 0.26792460680007935, 0.5368101596832275, -0.30007314682006836, 0.026931943371891975, 0.49158820509910583, 0.5724371075630188, -0.32869186997413635, -0.8247113823890686, 0.04369477555155754, -0.3871093988418579, -0.07835574448108673, 0.432437002658844, -0.5479832291603088, 0.8376410603523254, -0.11958954483270645, -0.4066544771194458, 0.005982218775898218, 0.5225344896316528, 0.15594345331192017, 0.21925054490566254, 0.34809088706970215, 0.6776925921440125, 0.9591139554977417, 0.18653139472007751, 1.2835726737976074, -0.08788763731718063, 0.19815057516098022, 0.9431161284446716, -0.44563883543014526, 0.7818479537963867, 0.47935646772384644, -0.13276885449886322, 0.4247560203075409, 0.2502172291278839, -0.20207928121089935, 0.5317270159721375, 0.44209569692611694, -0.4335915744304657, -0.014298402704298496, 0.16315321624279022, -0.18205948173999786, 0.4573046565055847, 0.5013017654418945, -0.22933992743492126, -0.4970306158065796, 0.08380450308322906, 0.1898736208677292, -0.18587419390678406, -0.27931585907936096, 0.6826921105384827, 0.21080118417739868, -0.3021124005317688, 0.4313567876815796, 0.3386058211326599, 0.4297233521938324, -0.6915755271911621, 0.14118796586990356, -0.14800700545310974, 0.10257839411497116, 0.026347216218709946, -0.5585094690322876, 0.3257859945297241, 0.1397167444229126, 0.009649123065173626, -0.0015249610878527164, 0.8214111328125, 0.0913534015417099, -0.23054851591587067, 0.4316028952598572, 0.30841901898384094, -0.0010354903060942888, 0.061091769486665726, -0.7372650504112244, 0.38950294256210327, -0.040376242250204086, -0.22298181056976318, 0.7302861213684082, 0.2756483852863312, -0.1768394112586975, 1.1345574855804443, 0.9462383985519409, 0.03791634365916252, -0.005657827015966177, -0.11611589789390564, 0.9627761840820312, -0.3047109842300415, -0.5566037893295288, -1.2752604484558105, 0.35210511088371277, -0.10430050641298294, -0.35505855083465576, 0.8977070450782776, 0.1102127656340599, 0.5315434336662292, 0.44365617632865906, 1.0026228427886963, 0.33687371015548706, 0.17418861389160156, -0.376690149307251, 0.9657818675041199, -0.203177347779274, 0.6147089004516602, -0.20580828189849854, -0.7238738536834717, -0.3237183690071106, 0.7532662153244019, -0.5903962850570679, -0.3098422884941101, 0.24223542213439941, 1.0455635786056519, 0.022812267765402794, -0.07828323543071747, 0.28258785605430603, 0.17517559230327606, 0.8512930274009705, 0.3775910437107086, 1.0699883699417114, -0.36792105436325073, 0.5140774250030518, 0.2615402340888977, 0.0425410158932209, -0.47807854413986206, -0.8470732569694519, -1.1019200086593628, -0.33306872844696045, -0.04639218747615814, -0.06328134983778, 0.36489203572273254, 0.5258569121360779, 0.4419727921485901, -0.6224782466888428, -0.2035353183746338, -0.11771096289157867, 0.08458571881055832, -0.11445299535989761, -0.1820986121892929, 0.052097368985414505, -0.26896241307258606, -0.07004238665103912, 0.8293902277946472, 0.5075165629386902, -0.020173851400613785, -0.7261432409286499, -0.14469262957572937, 0.017181003466248512, 0.24173197150230408, 0.21761827170848846, 0.5600894689559937, -0.70542311668396, -0.5913278460502625, -0.18109436333179474, -0.2218247801065445, -0.29134610295295715, 0.5441780090332031, -0.36804965138435364, 0.4387587904930115, 0.16804558038711548, 1.086168885231018, 0.17631326615810394, -0.29013592004776, 1.0107544660568237, -0.6924592852592468, 0.09296756237745285, 0.3086700439453125, 0.3527795672416687, 0.1610976755619049, -0.37390074133872986, 0.4090597331523895, -0.30522191524505615, -0.6972488164901733, -1.292950987815857, 0.42065703868865967, -0.6076095700263977, -0.07288122177124023, 0.9338831901550293, -0.23364056646823883, -0.17674702405929565, -0.4449031949043274, -0.19094769656658173, -0.2933184504508972, -0.044978395104408264, 0.6697707176208496, 0.8040774464607239, 0.5177081227302551, 0.08346130698919296, -0.9458135366439819, 0.3435773253440857, 0.48263347148895264, -0.5822955965995789, 0.1854216605424881, 0.0671161487698555, 0.20725631713867188, 0.24028244614601135, 0.5266549587249756, -0.07985242456197739, 0.19946570694446564, 0.061345070600509644, -0.11786594241857529, -0.20214806497097015, -0.45785394310951233, -0.4951896667480469, 0.35667651891708374, 0.14025071263313293, -0.020393693819642067 ]
http://arxiv.org/abs/2406.11035v1
http://arxiv.org/pdf/2406.11035v1
Scaling Synthetic Logical Reasoning Datasets with Context-Sensitive Declarative Grammars
2024-06-16T18:10:49
2024-06-16T18:10:49
Damien Sileo
cs.CL
cs.CL, I.2.7
Logical reasoning remains a challenge for natural language processing, but it can be improved by training language models to mimic theorem provers on procedurally generated problems. Previous work used domain-specific proof generation algorithms, which biases reasoning toward specific proof traces and limits auditability and extensibility. We present a simpler and more general declarative framework with flexible context-sensitive rules binding multiple languages (specifically, simplified English and the TPTP theorem-proving language). We construct first-order logic problems by selecting up to 32 premises and one hypothesis. We demonstrate that using semantic constraints during generation and careful English verbalization of predicates enhances logical reasoning without hurting natural English tasks. We use relatively small DeBERTa-v3 models to achieve state-of-the-art accuracy on the FOLIO human-authored logic dataset, surpassing GPT-4 in accuracy with or without an external solver by 12%.
[ -0.09598526358604431, -0.7009066343307495, 0.7707439064979553, 0.08836391568183899, -0.12216763943433762, -0.29835590720176697, -0.39451852440834045, -0.36108919978141785, -0.2547340989112854, 0.42698293924331665, -0.6068211197853088, -0.4518432021141052, -0.4798329770565033, 0.4294717311859131, -0.065784752368927, 0.5673807859420776, 0.02379142865538597, 0.02036086656153202, -0.2059224545955658, -0.284823477268219, -0.4793006479740143, -0.6989398002624512, -0.35494381189346313, -0.09631764888763428, -0.08341679722070694, 0.2697179913520813, 0.5565943121910095, 0.5975855588912964, 0.4439297616481781, 0.3283914029598236, 0.16380533576011658, 0.4403451979160309, -0.10603395849466324, 0.26425930857658386, -0.706188976764679, -0.4732518196105957, -0.25886303186416626, -0.2272026091814041, 0.4184694290161133, 0.7476791739463806, 0.022719934582710266, -0.040150921791791916, -0.37906521558761597, 0.47717031836509705, -0.485306054353714, 0.5846918821334839, -0.935441255569458, -0.14642810821533203, -0.035509150475263596, -0.09194249659776688, -0.6108759641647339, -0.38614925742149353, 0.14127060770988464, -0.9002674221992493, 0.18169958889484406, -0.16744858026504517, 0.7752242088317871, 0.3700654208660126, -0.5843425989151001, -0.19892631471157074, -0.6363154053688049, 0.9773551225662231, -0.5618792772293091, 0.547214925289154, 0.18765519559383392, 0.4745177924633026, -0.12583652138710022, -0.7681145668029785, -0.40778806805610657, 0.09229351580142975, -0.08698593080043793, -0.3913853168487549, -0.23549599945545197, -0.06183500960469246, 0.47513607144355774, 0.015317020937800407, -0.453070729970932, -0.25642818212509155, -0.36571621894836426, -0.28951340913772583, 0.586295485496521, -0.0130997309461236, 0.1960408091545105, 0.06108061224222183, 0.04169260337948799, -0.04865964129567146, -0.7800159454345703, -0.032690346240997314, -0.10144118964672089, 0.5580034255981445, 0.3272954821586609, 0.5260832905769348, -0.2305375188589096, 0.9820141196250916, 0.18438151478767395, -0.1405406892299652, 0.14425677061080933, -0.6625227928161621, -0.1617974042892456, -0.07118040323257446, 0.320348858833313, 0.2824089825153351, 0.5242313146591187, 0.04984091967344284, -0.10428974777460098, 0.5356438755989075, 0.1185181736946106, -1.0351881980895996, -0.1332753747701645, 0.1982279121875763, 0.030210046097636223, -0.15545018017292023, -0.030105140060186386, -0.1603677123785019, -0.18607786297798157, -0.7467032670974731, 0.3082271218299866, -0.6184681057929993, -0.10647228360176086, 0.6857993602752686, 0.00694554578512907, 0.250953733921051, 0.3782535791397095, -0.8990851640701294, 0.4815129041671753, 0.8620462417602539, 0.2757476568222046, 0.13000233471393585, -0.05791362375020981, -0.6449196934700012, 0.21697580814361572, -0.3294422924518585, 0.6383928656578064, -0.6769673824310303, 0.17029716074466705, 0.06328020989894867, -0.08023965358734131, -0.17654180526733398, -0.5966536998748779, 0.8042303323745728, -0.49026554822921753, 0.3682917654514313, -0.43438902497291565, -0.6083879470825195, -0.014115442521870136, 0.49783483147621155, -0.3061600923538208, 0.42831143736839294, 0.08001670241355896, -0.671983540058136, 0.7202157378196716, -0.40825703740119934, -0.805773913860321, 0.06362628191709518, -0.42398372292518616, -0.003668811172246933, 0.008274727500975132, 0.5042107701301575, 0.29173359274864197, -0.2670224606990814, 0.4505751430988312, 0.027203332632780075, 0.139665424823761, -0.12471692264080048, -0.13111329078674316, 0.9310479760169983, 0.04357300326228142, -0.3987458646297455, 0.10281332582235336, -1.009135365486145, 0.4552178978919983, 0.16147713363170624, -0.3043772578239441, -0.23216292262077332, 0.09522143751382828, -0.4037095606327057, 0.3594900071620941, 0.08968691527843475, -0.6451958417892456, 0.16352419555187225, -0.5018701553344727, 0.7693198323249817, 0.4292758107185364, 0.09244172275066376, 0.2839168608188629, -0.3118288815021515, 0.2940577268600464, 0.14999505877494812, -0.06975240260362625, -0.15301217138767242, -0.47428426146507263, -0.6215450167655945, -0.46733519434928894, 0.12383202463388443, 0.5554729104042053, -0.6160255074501038, 0.5567757487297058, -0.4941553771495819, -0.19751779735088348, -0.13554950058460236, 0.0746222585439682, 0.18400442600250244, 0.764500617980957, 0.5552244782447815, 0.1316971480846405, -0.5877816677093506, -0.9217889308929443, -0.32628732919692993, -0.19661223888397217, -0.4064509868621826, 0.10528899729251862, 0.32830968499183655, -0.26468831300735474, 1.218134880065918, -0.4719370901584625, -0.32904329895973206, -0.3561670184135437, -0.12034180015325546, 0.23114736378192902, 0.4041821360588074, 0.37276583909988403, -0.7452210187911987, -0.25961312651634216, -0.1187778040766716, -0.6564774513244629, -0.43488267064094543, -0.1777619868516922, -0.15102384984493256, 0.33724886178970337, 0.23794302344322205, -0.7863089442253113, 0.15596991777420044, -0.018392188474535942, -0.5866514444351196, 0.40390676259994507, -0.2217940390110016, -0.13951824605464935, -0.8583400845527649, -0.36738720536231995, -0.05354415625333786, -0.5004891157150269, -0.839128315448761, 0.11683277040719986, 0.1473151445388794, -0.05577758327126503, -0.30142369866371155, 0.3043346703052521, -0.08238787204027176, 0.45444753766059875, -0.006515829358249903, 0.17917749285697937, 0.4378501772880554, 0.25036802887916565, 0.41792577505111694, 0.2586590051651001, 0.4145536720752716, -0.5717744827270508, 0.16673949360847473, 0.3018510341644287, -0.06574734300374985, 0.7565374970436096, -0.7088897228240967, -0.06400179117918015, -0.14307023584842682, 0.3463323712348938, -0.5230839252471924, -0.2566604018211365, -0.12161127477884293, -0.10226354002952576, 0.12009692937135696, -0.08944395929574966, -0.43920618295669556, -0.0437861792743206, -0.19245201349258423, 0.5201212167739868, 0.4991031289100647, -0.7456666231155396, 0.5664323568344116, 0.13633905351161957, 0.0953328087925911, -0.153831347823143, -0.6710814237594604, -0.05940603092312813, -0.1572115421295166, -1.0981696844100952, 0.42331910133361816, 0.08665560185909271, -0.7832318544387817, -0.18409569561481476, -0.39402851462364197, -0.2512831687927246, -0.03267605975270271, -0.04903502017259598, -0.029864609241485596, -0.1454804241657257, 0.15093614161014557, 0.038275040686130524, 0.048897139728069305, 0.32790911197662354, -0.707504391670227, 0.22227396070957184, -0.577697217464447, -0.33724942803382874, -0.24062950909137726, 0.24558697640895844, 0.4936758279800415, -0.27341726422309875, 0.4738147556781769, -0.07136988639831543, -0.6384174227714539, -0.7102469205856323, -0.2575284242630005, -0.37034669518470764, -0.4635480046272278, -0.0059609562158584595, -0.7681978344917297, -0.718062162399292, 0.23019419610500336, 0.060794126242399216, 0.18177849054336548, 0.5622572898864746, 0.5856087803840637, 0.5332947969436646, 0.8846381306648254, 0.24587468802928925, 0.4218461811542511, -0.1660280078649521, 0.02760837785899639, 0.34768736362457275, -0.05891669914126396, -0.004514529835432768, -0.33006617426872253, 0.22334052622318268, -0.6799083948135376, -0.6195723414421082, 0.1567295789718628, -0.0263232309371233, -0.3886092007160187, 0.5718249678611755, -0.5286589860916138, 0.768617570400238, 0.5176708698272705, -0.016109926626086235, 0.47522661089897156, -0.07488253712654114, -0.24623312056064606, -0.1993861198425293, -0.6090089082717896, -0.5186083912849426, 0.9586056470870972, 0.12851224839687347, 0.4446859359741211, 0.3894016742706299, 0.5569342970848083, 0.07423917204141617, 0.0027036701794713736, -0.6247095465660095, 0.6262640953063965, -0.1683083474636078, -0.8137975931167603, -0.2734760046005249, -0.48787403106689453, -0.6317517757415771, 0.42110657691955566, -0.007702745497226715, -0.5630364418029785, 0.07660643011331558, 0.024998489767313004, -0.24816325306892395, 0.05659982189536095, -0.8575273752212524, 0.7910953164100647, -0.10717535763978958, -0.622772753238678, -0.04974661394953728, -0.5687960386276245, 0.3623487949371338, -0.15074686706066132, 0.24392758309841156, -0.17427365481853485, 0.18957379460334778, 0.25367864966392517, -0.9903146624565125, 0.7735401391983032, -0.30031818151474, -0.2772153615951538, 0.51316237449646, 0.423577219247818, 0.45053210854530334, 0.23419710993766785, -0.052770983427762985, -0.1926739364862442, 0.2804659903049469, -0.40714678168296814, -0.7237444519996643, 0.5095569491386414, -0.33913442492485046, -0.8803061842918396, -0.42568692564964294, -0.5925862789154053, -0.512365460395813, 0.40182968974113464, 0.0405832938849926, 0.49827834963798523, -0.09542544931173325, 0.12188751995563507, 0.5230103135108948, 0.21942558884620667, 0.05505462363362312, 0.42067766189575195, -0.006345445290207863, -0.190463125705719, 0.881518542766571, 0.07113239914178848, 0.355865478515625, 0.47550615668296814, 0.35309872031211853, -0.41648146510124207, -0.286074161529541, -0.3829185962677002, 0.16288121044635773, -0.8882705569267273, -0.12767869234085083, -0.39718082547187805, -0.005268361885100603, -0.5720038414001465, -0.4149431884288788, -0.2569183111190796, -1.1437560319900513, 0.08855076134204865, -0.25895458459854126, 0.09713539481163025, 0.39389094710350037, -0.06714881211519241, -0.3189396560192108, -0.5583982467651367, 0.47734150290489197, 0.620773196220398, 0.08811669051647186, -0.7024127840995789, -0.5457561612129211, 0.3181290924549103, -0.009515280835330486, -0.1448560208082199, -0.5356466770172119, 0.3417900502681732, 0.39855101704597473, 0.17364369332790375, 0.44533783197402954, 0.31805577874183655, 0.4319005012512207, -0.6748056411743164, 0.5591706037521362, -0.08532959967851639, -1.0263445377349854, 0.8082190752029419, -0.4886256456375122, 0.3293800950050354, 0.8187453150749207, 0.16552148759365082, -0.09587984532117844, -0.2547067701816559, -0.5713419318199158, -0.6364258527755737, 0.4460214078426361, 0.3856242299079895, -0.11015462130308151, -0.167992502450943, 0.2656819522380829, 0.08889952301979065, 0.06611388921737671, -0.6499660611152649, 0.3011508285999298, -0.36159321665763855, -0.4415978491306305, 0.3365807831287384, -0.0031610296573489904, -0.3497258424758911, -0.5159250497817993, 0.6172245740890503, -0.37964826822280884, -0.18600188195705414, 0.34288129210472107, -0.35291606187820435, 0.2514963746070862, 0.5214546918869019, 0.5638770461082458, 0.9012462496757507, -0.1914513111114502, 0.5330327153205872, 0.025936774909496307, -0.2446778267621994, 0.4081234931945801, 0.348690390586853, -0.4634602665901184, -0.15026448667049408, 0.5033081769943237, 0.3845495283603668, -0.16278977692127228, -0.939845621585846, 0.44925081729888916, -0.18712371587753296, -0.49522554874420166, -0.24047735333442688, 0.14067904651165009, 0.006478714756667614, 0.178498774766922, 0.03429356589913368, -0.058984801173210144, -0.07419958710670471, -0.29719164967536926, 0.3311227560043335, 0.29531481862068176, 0.11642269045114517, -0.4234398305416107, 0.835165798664093, 0.3010966181755066, -0.003921661991626024, 0.5127965211868286, -0.4823435842990875, -0.5661895275115967, 0.5404254198074341, 0.8393661975860596, 0.740425169467926, 0.08753296732902527, 0.08643054217100143, 0.508283793926239, 0.4326750338077545, -0.06906908750534058, 0.42630496621131897, -0.2690272033214569, -1.0580060482025146, -0.4343412518501282, -0.5028623342514038, -0.5965562462806702, -0.05551568418741226, -0.262170672416687, 0.2734363377094269, -0.8126813173294067, 0.05661396682262421, 0.16401784121990204, 0.13479533791542053, -0.5626131296157837, 0.2929352819919586, 0.006497623864561319, 0.8646464943885803, -0.7876170873641968, 0.7586163878440857, 0.6904116272926331, -0.19128158688545227, -0.6388532519340515, -0.1267206370830536, 0.061830680817365646, -0.43767037987709045, 0.6895158886909485, 0.5170682668685913, -0.21217778325080872, -0.19624100625514984, -0.27857229113578796, -0.6259201765060425, 0.8335494995117188, 0.5637766122817993, -0.46225759387016296, 0.20867283642292023, 0.5468184351921082, 0.6679034233093262, -0.5096278786659241, -0.14830756187438965, 0.9299971461296082, 0.5367907285690308, 0.1258709877729416, -0.5735515356063843, 0.41951873898506165, -0.18536195158958435, -0.20431126654148102, 0.012515489012002945, -0.3525906205177307, 0.5711629986763, -0.2988273501396179, -0.30094578862190247, -0.39262863993644714, 0.5447196364402771, 0.6243378520011902, 0.17437517642974854, 0.6283538937568665, 0.7501584887504578, 1.045363187789917, -0.2290641963481903, 0.9795295000076294, -0.295987069606781, -0.18591070175170898, 1.2354379892349243, -0.6232001781463623, 0.5299409031867981, 0.4418858587741852, -0.07511880248785019, 0.5818991661071777, 0.2647972106933594, 0.1482986956834793, 0.34403616189956665, 0.5526809692382812, -0.5094398856163025, -0.5672690868377686, -0.418287992477417, -0.06495242565870285, 0.4021807909011841, 0.36856698989868164, -0.1786498725414276, -0.20847877860069275, -0.23183569312095642, 0.14282424747943878, 0.37720125913619995, -0.053034160286188126, 0.42369136214256287, -0.07166432589292526, -0.7458346486091614, 0.8076859712600708, 0.08839520066976547, 0.27812308073043823, -0.46085047721862793, -0.002417846117168665, -0.13914762437343597, 0.48286861181259155, -0.23267762362957, -0.377718061208725, 0.426540732383728, 0.22732482850551605, -0.2899029552936554, -0.5368932485580444, 0.8410926461219788, -0.3136754333972931, -0.672464907169342, -0.03360176086425781, 0.4834049642086029, -0.25568461418151855, -0.05529281124472618, -0.12018385529518127, -0.151349276304245, 0.002895024139434099, -0.3831191062927246, 0.04615268483757973, 0.7077156901359558, -0.4360351264476776, 0.5657519102096558, 0.5138921737670898, -0.08517482131719589, 0.10957389324903488, 0.26767438650131226, 0.9154688715934753, -0.51557856798172, -0.3043232262134552, -0.6733118295669556, 0.28665846586227417, -0.1167936623096466, 0.009353642351925373, 0.6275454163551331, 0.4339017868041992, 0.882804811000824, 0.037924639880657196, 0.7592214941978455, -0.19670121371746063, 0.3699648678302765, -0.31030046939849854, 0.017363136634230614, -0.11775508522987366, 0.34195658564567566, 0.2807655334472656, -0.7061306238174438, -0.825461745262146, 0.7031834721565247, -0.3834502100944519, -0.21076110005378723, 0.7710787653923035, 0.6568642854690552, -0.14068354666233063, 0.015679193660616875, 0.17414605617523193, 0.2073708474636078, 0.6454629302024841, 0.8198410272598267, 0.49095582962036133, -0.20773634314537048, 0.42755481600761414, -0.4103848338127136, -0.14038515090942383, 0.29992684721946716, -1.0441662073135376, -0.9596365690231323, -0.30354243516921997, -0.4596518874168396, -0.3906915485858917, -0.22123487293720245, 1.0572565793991089, 0.6981220245361328, -0.9461191892623901, 0.17471598088741302, -0.6660382151603699, 0.16727080941200256, -0.19814318418502808, -0.24404150247573853, 0.3388749957084656, -0.6676706075668335, -0.6346101760864258, 0.8243975639343262, 0.07292395830154419, -0.16555315256118774, -0.023682575672864914, 0.011604474857449532, -0.05549655854701996, 0.5123648643493652, 0.8016625642776489, 0.39332064986228943, -0.47302958369255066, -0.5882174372673035, -0.07281626015901566, -0.00006018737985868938, -0.022243989631533623, 0.7005528807640076, -0.8218762278556824, 0.4160745143890381, 0.7765613794326782, 0.598835825920105, 0.29882189631462097, 0.29070204496383667, 0.6887158155441284, -0.8644654154777527, 0.2893214225769043, 0.29030412435531616, 0.4276828467845917, 0.3608594834804535, -0.12026520073413849, 0.7124862670898438, 0.44470885396003723, -0.37200504541397095, -0.724515974521637, 0.4811861217021942, -0.7957065105438232, -0.3726792633533478, 1.1484508514404297, -0.06902239471673965, -0.06525914371013641, -0.04227716103196144, -0.002650244627147913, -0.22785386443138123, -0.07845920324325562, 0.48067769408226013, 0.6439705491065979, -0.26670849323272705, 0.247440367937088, -0.28301095962524414, 0.6344392895698547, 0.5363200902938843, -0.9510229825973511, 0.24948708713054657, 0.9076945185661316, 0.3384280204772949, 0.2420107126235962, 0.5225022435188293, -0.15434935688972473, 0.08085811883211136, -0.003501875326037407, -0.3150131106376648, -0.22916771471500397, -0.47878286242485046, -0.32066670060157776, 0.39455392956733704, 0.033978160470724106, 0.02247161976993084 ]
http://arxiv.org/abs/2406.11030v1
http://arxiv.org/pdf/2406.11030v1
FoodieQA: A Multimodal Dataset for Fine-Grained Understanding of Chinese Food Culture
2024-06-16T17:59:32
2024-06-16T17:59:32
Wenyan Li, Xinyu Zhang, Jiaang Li, Qiwei Peng, Raphael Tang, Li Zhou, Weijia Zhang, Guimin Hu, Yifei Yuan, Anders Søgaard, Daniel Hershcovich, Desmond Elliott
cs.CL
cs.CL
Food is a rich and varied dimension of cultural heritage, crucial to both individuals and social groups. To bridge the gap in the literature on the often-overlooked regional diversity in this domain, we introduce FoodieQA, a manually curated, fine-grained image-text dataset capturing the intricate features of food cultures across various regions in China. We evaluate vision-language Models (VLMs) and large language models (LLMs) on newly collected, unseen food images and corresponding questions. FoodieQA comprises three multiple-choice question-answering tasks where models need to answer questions based on multiple images, a single image, and text-only descriptions, respectively. While LLMs excel at text-based question answering, surpassing human accuracy, the open-sourced VLMs still fall short by 41\% on multi-image and 21\% on single-image VQA tasks, although closed-weights models perform closer to human levels (within 10\%). Our findings highlight that understanding food and its cultural implications remains a challenging and under-explored direction.
[ -0.36323362588882446, -0.5674923062324524, 0.3247353136539459, -0.1287642866373062, 0.1304502636194229, 0.0004472927830647677, -0.21252644062042236, -0.6502765417098999, 0.08787170052528381, 0.49287593364715576, -0.6175937652587891, -0.3590790927410126, -0.49621760845184326, -0.06295467913150787, -0.21307872235774994, 0.7208913564682007, -0.15810152888298035, 0.3609744608402252, 0.024210913106799126, -0.44134315848350525, -0.32617858052253723, -0.20295648276805878, -0.3930250406265259, -0.09238243103027344, 0.5347744822502136, 0.4774097204208374, 0.7662822604179382, 0.6857839822769165, 0.439139187335968, 0.1980016827583313, -0.21922622621059418, 0.5072007179260254, -0.3047654628753662, -0.12394797056913376, -0.1646999716758728, -0.5845469832420349, -0.0870862752199173, -0.015716012567281723, 0.21099445223808289, 0.7092715501785278, 0.04503009840846062, 0.6355658769607544, 0.025857945904135704, 0.6189708113670349, -0.669349730014801, 0.08408675342798233, -0.5344169735908508, 0.2216852307319641, -0.26707977056503296, -0.04047601297497749, -0.1413925737142563, -0.24177992343902588, 0.007383726071566343, -0.7605498433113098, -0.04519445449113846, -0.0885118618607521, 1.1440831422805786, 0.3127919137477875, -0.9165178537368774, -0.23489655554294586, -0.8802101016044617, 0.790576696395874, -0.2358274757862091, 0.19549857079982758, 0.5215197205543518, 0.44846445322036743, -0.1292993724346161, -0.8071897029876709, -0.7558245658874512, 0.16752831637859344, -0.07068195194005966, 0.2938653230667114, 0.001074991305358708, -0.32888439297676086, -0.12821009755134583, 0.789903461933136, -0.7086173892021179, -0.1741655468940735, -0.2521171271800995, -0.07940749078989029, 0.5105811357498169, 0.4485916197299957, 0.8368449211120605, -0.3409274220466614, -0.66758131980896, -0.3030293583869934, -0.34431788325309753, 0.7099887728691101, -0.21676146984100342, 0.2628782093524933, 0.023590898141264915, 0.5866585373878479, -0.45668095350265503, 0.6426310539245605, -0.2749440670013428, -0.21410809457302094, 0.29255303740501404, -0.7945321202278137, -0.12168756127357483, -0.5148283243179321, 0.5086994171142578, 0.8772119283676147, 0.26658129692077637, 0.38710132241249084, -0.24369867146015167, -0.15674448013305664, -0.18021260201931, -0.5678756237030029, -0.5334829092025757, 0.33513954281806946, -0.6001622676849365, 0.2066194713115692, 0.2849465310573578, -0.456439733505249, -0.5484520196914673, 0.05812285095453262, 0.37742534279823303, -0.21676385402679443, -0.3013097643852234, 0.11977428197860718, -0.6556084156036377, 0.7015002369880676, 0.42359864711761475, -0.9227729439735413, 0.034894827753305435, 0.47216716408729553, 0.6125815510749817, 0.12250876426696777, -0.31625646352767944, -0.256658136844635, 0.29260337352752686, -0.5105762481689453, 0.7098802924156189, -0.7760338187217712, 0.01184757798910141, -0.38567590713500977, 0.5499919652938843, 0.17298133671283722, -0.7898249626159668, 0.5790315270423889, -0.3111124038696289, -0.13374502956867218, -1.053459882736206, -0.1556008756160736, -0.5017597079277039, 0.6114367246627808, -0.7325854301452637, 0.8263134956359863, 0.199477881193161, -0.570422351360321, 0.7569538950920105, -0.13570906221866608, -0.40188342332839966, 0.5508010983467102, -0.40590786933898926, 0.33683425188064575, -0.16138695180416107, 0.6241711974143982, 0.4614819884300232, -0.33162248134613037, 0.2376735657453537, -0.37965530157089233, -0.4619830250740051, 0.23786313831806183, -0.6919100284576416, 0.47693899273872375, 0.4508378505706787, -0.07476180046796799, 0.0739087387919426, -0.38701632618904114, -0.002906010951846838, 0.40533024072647095, -0.41534551978111267, -0.666109025478363, 0.13340651988983154, 0.5245133638381958, -0.027612967416644096, 0.3226853013038635, -0.34571126103401184, 0.2941651940345764, -0.1310943216085434, 0.6238914728164673, 0.5953953266143799, -0.3408792018890381, 0.40202245116233826, -0.5050613880157471, 0.16639935970306396, 0.20053426921367645, 0.5163360834121704, -0.607015073299408, -0.5256386399269104, -0.44249051809310913, -0.19488884508609772, 0.2494186908006668, 0.7213679552078247, -1.259572148323059, -0.1490224003791809, -0.1294783353805542, -0.6332108974456787, -0.5309593081474304, -0.004716301802545786, -0.051560185849666595, 0.2663719058036804, 0.3657824993133545, -0.543724000453949, 0.05316843464970589, -1.0766427516937256, -0.09812620282173157, -0.1149662658572197, -0.3647519052028656, 0.5711454749107361, 0.34930580854415894, -0.08671028167009354, 0.4915115535259247, -0.682900607585907, -0.25783953070640564, -0.4323607087135315, -0.015439522452652454, 0.1361410915851593, 0.45397576689720154, 0.7360427975654602, -1.217973232269287, -0.5016722083091736, 0.4575325548648834, -0.5892581343650818, 0.3846265375614166, -0.1347629427909851, -0.2610001862049103, -0.1241055279970169, -0.18155169486999512, -0.33029690384864807, 0.38626721501350403, 0.6062431931495667, -0.4026564061641693, 0.3275515139102936, 0.23674964904785156, 0.6296966671943665, -1.2414021492004395, -0.13555312156677246, 0.2297043353319168, 0.23340675234794617, -0.558340847492218, 0.42146530747413635, 0.2358315885066986, -0.04427172616124153, -0.5919892191886902, 0.8872048258781433, -0.2811497747898102, -0.015294776298105717, -0.11248867958784103, -0.24929454922676086, 0.3640272617340088, 0.5831344127655029, 0.3035489022731781, 0.7371418476104736, 0.500903308391571, -0.37195390462875366, 0.47420087456703186, 0.13886508345603943, -0.5556783080101013, 0.3915043771266937, -0.33596011996269226, -0.3208896517753601, -0.24670113623142242, 0.3846626579761505, -1.0902220010757446, -0.6202689409255981, 0.6027487516403198, -0.29125434160232544, -0.22035257518291473, -0.16706407070159912, -0.46448227763175964, -0.5193350911140442, -0.17172926664352417, 0.7785637974739075, 0.009622622281312943, -0.6074593663215637, 0.8963541388511658, 0.46635252237319946, 0.08499989658594131, -0.5887795686721802, -0.9950339198112488, 0.05918867513537407, -0.019596371799707413, -0.6713816523551941, -0.10067099332809448, -0.2008376568555832, -0.17326143383979797, -0.004447678569704294, -0.30658528208732605, -0.5714521408081055, 0.20148220658302307, 0.1491519957780838, 0.16907493770122528, -0.35538148880004883, 0.17447243630886078, -0.19250549376010895, 0.692415177822113, -0.1789698749780655, -0.34761548042297363, 0.5337350368499756, -0.32587918639183044, 0.0016073760343715549, -0.3989328145980835, 0.39854350686073303, 0.4630626142024994, -0.38167697191238403, 0.4009901285171509, 1.030632734298706, -0.49152475595474243, 0.03708900883793831, -0.12216683477163315, -0.06057282164692879, -0.4411492347717285, 0.35731327533721924, -0.4508039057254791, -0.6275742650032043, 0.5990433692932129, 0.217845156788826, 0.1175999790430069, 0.281520813703537, 0.2813641130924225, -0.3027378022670746, 0.5118158459663391, 0.39871451258659363, -0.03892988711595535, 0.31408390402793884, -0.09818393737077713, -0.32611578702926636, -0.32030096650123596, -0.4997822642326355, -0.3819374740123749, -0.23829346895217896, -0.6723182797431946, -0.817982017993927, 0.28704705834388733, -0.4674080014228821, -0.19298122823238373, -0.05984257161617279, -0.4568101167678833, 0.8417484760284424, 0.49537476897239685, 0.502228319644928, 0.2729322910308838, -0.23363493382930756, 0.12549136579036713, 0.16789598762989044, -0.7466659545898438, -0.4765782356262207, 0.5007262229919434, 0.35734421014785767, 1.132185935974121, 0.12572017312049866, 0.34203726053237915, 0.1280563473701477, -0.048971883952617645, -0.9486299157142639, 0.27704498171806335, -0.9044649600982666, -0.7360119223594666, -0.4232077896595001, -0.4484460949897766, -0.5235770344734192, 0.308322548866272, -0.057744234800338745, -0.47835904359817505, 0.08927938342094421, 0.29522135853767395, -0.5632601380348206, 0.5158258676528931, -1.02558171749115, 0.9718136191368103, -0.5166583061218262, -0.37140071392059326, 0.5823414325714111, -0.5784612894058228, 0.5287296175956726, 0.2701217532157898, 0.4712182283401489, -0.12451101839542389, 0.2864166498184204, 0.47570422291755676, 0.09149428457021713, 0.7919742465019226, -0.04954078048467636, -0.13193044066429138, 0.3204595446586609, 0.2564624845981598, 0.04840729385614395, 0.1509564369916916, 0.22499459981918335, 0.18045738339424133, 0.5484831929206848, -0.6077849864959717, -0.7516471147537231, 0.6073335409164429, -0.6031148433685303, -0.4565280079841614, -0.1998109221458435, -0.6672552227973938, 0.020670095458626747, 0.1994512677192688, -0.12519100308418274, 0.35623446106910706, 0.11476705968379974, 0.20312614738941193, 0.6762901544570923, -0.5703436732292175, 0.18010744452476501, 0.1190980076789856, -0.3221038281917572, -0.1949290633201599, 0.9920130968093872, 0.18142256140708923, 0.0557137094438076, 0.47993379831314087, 0.29103928804397583, -0.057385124266147614, 0.10476543754339218, -0.513264536857605, -0.1813070923089981, -0.9037871360778809, 0.09836145490407944, -0.5084789991378784, -0.25551125407218933, -0.11849581450223923, -0.01282108761370182, -0.4558655917644501, -0.1388729214668274, -0.24037794768810272, 0.08040039241313934, -0.02593282423913479, 0.80690997838974, 0.029507184401154518, -0.08954859524965286, -0.9532791376113892, 0.5261529684066772, 0.526508092880249, 0.22492098808288574, 0.28879445791244507, -0.27909907698631287, -0.20130431652069092, 0.14274896681308746, -0.11869741976261139, -0.7939854264259338, 0.366036981344223, 0.16173532605171204, 0.4670480787754059, 0.517885684967041, 0.11950913071632385, 0.7679579854011536, -0.1328480839729309, 1.2197227478027344, 0.03984018787741661, -0.7200531363487244, 0.46383538842201233, -0.20505477488040924, 0.8291066288948059, 0.4390261471271515, 0.6261940598487854, -1.0125406980514526, -0.3276183009147644, 0.20506839454174042, -1.0250967741012573, 0.3727276027202606, -0.19167235493659973, 0.2711540460586548, 0.01955442689359188, 0.07381840795278549, 0.517874538898468, 0.008806397207081318, -1.1000925302505493, -0.19387339055538177, -0.6087817549705505, -0.05194658413529396, 0.12991783022880554, -0.04073470085859299, -0.24201655387878418, -0.4779473841190338, 0.20366090536117554, -0.218256875872612, -0.2875567078590393, 0.09292685240507126, 0.18505236506462097, -0.09820039570331573, 0.48754286766052246, 0.27500292658805847, 0.5380923748016357, -0.10228367894887924, 0.2364816814661026, 0.026432514190673828, -0.5542299151420593, -0.12133270502090454, -0.3098226487636566, -0.06331482529640198, -0.3776329755783081, 0.28391093015670776, 0.6110963821411133, -0.3312961161136627, -0.7094317674636841, 0.2837989926338196, -0.586234986782074, -0.1832461953163147, -0.3356115221977234, 0.06619563698768616, 0.004509388469159603, 0.5731589794158936, 0.6955650448799133, -0.06485384702682495, 0.4246387779712677, -0.8618251085281372, 0.2585090100765228, 0.3228021264076233, -0.26834797859191895, -0.14730492234230042, 0.4448179602622986, 0.25758519768714905, 0.46736884117126465, 0.7468931078910828, -0.07672832161188126, -0.465244323015213, 0.8347830772399902, 0.13238723576068878, 0.3891386091709137, 0.1119966208934784, 0.5034565925598145, 0.36474233865737915, 0.5800006985664368, -0.00776940630748868, 0.6596908569335938, -0.13788539171218872, -0.9423126578330994, -0.20211805403232574, -0.7034374475479126, -0.278311550617218, 0.3548683822154999, -0.7061774730682373, -0.08875495940446854, -0.23985609412193298, -0.04916165769100189, 0.046111296862363815, -0.28944337368011475, -0.7630198001861572, 0.5243636965751648, 0.523500919342041, 1.0659890174865723, -1.0122004747390747, 0.6706525683403015, 0.9919846057891846, -0.2968764007091522, -1.147972583770752, 0.573365330696106, -0.030558522790670395, -0.7491238117218018, 0.7829821705818176, 0.13290336728096008, 0.056462667882442474, -0.5622134208679199, -0.953940749168396, -0.7901292443275452, 1.0136584043502808, -0.12224645912647247, -0.31606990098953247, -0.0029653897508978844, 0.060100045055150986, 0.38689684867858887, -0.07713303714990616, 0.30412253737449646, 0.3430064618587494, 0.5808578729629517, 0.35264086723327637, -0.7543023228645325, -0.18065664172172546, -0.26983094215393066, 0.04455637186765671, 0.01976606249809265, -1.0353940725326538, 1.074049472808838, -0.26433002948760986, -0.45795580744743347, 0.09028678387403488, 0.5836647748947144, 0.029975779354572296, 0.5861341953277588, 0.4173513650894165, 0.20981648564338684, 0.6811832189559937, -0.3448910415172577, 0.8749290108680725, -0.10172572731971741, 0.24990272521972656, 1.112516164779663, -0.3082270622253418, 0.6981201171875, 0.48762747645378113, 0.10473472625017166, 0.1199490875005722, 1.4174107313156128, -0.28970202803611755, 0.6079168319702148, 0.061198197305202484, -0.09962587058544159, -0.6264743208885193, -0.785261869430542, -0.2766881585121155, 0.9965092539787292, 0.13652992248535156, -0.28725090622901917, -0.21249085664749146, -0.031542252749204636, -0.34682247042655945, 0.01028489787131548, -0.4302956163883209, 0.6608004570007324, -0.036708440631628036, -0.33031657338142395, 0.3224104940891266, -0.13237375020980835, 0.5675152540206909, -0.3461027443408966, -0.4191882312297821, -0.4410870373249054, -0.3972751796245575, -0.09562940895557404, -1.2625240087509155, -0.11258358508348465, -0.3321046829223633, -0.32222244143486023, 0.13614392280578613, 0.4850693643093109, -0.39336082339286804, -0.3139908015727997, 0.1612769514322281, 0.45158469676971436, 0.002280716085806489, 0.18916785717010498, -0.5622511506080627, 0.027735799551010132, 0.05695951730012894, -0.055628206580877304, -0.0018109424272552133, 0.6906034350395203, -0.05019339174032211, 0.6575537919998169, 0.28429102897644043, -0.27609747648239136, -0.1080407127737999, -0.10892602056264877, 0.8773087859153748, -0.6527734994888306, -0.5534330606460571, -0.6990559101104736, 0.34424954652786255, 0.3737316429615021, -0.19919751584529877, 0.4657083749771118, 0.24031908810138702, 1.3769545555114746, -0.2867579758167267, 0.8707734942436218, -0.16699010133743286, -0.0823371633887291, -0.7339656949043274, 0.6922097206115723, -1.3013522624969482, -0.01353378500789404, -0.024478815495967865, -0.3404993712902069, 0.07421621680259705, 0.23452059924602509, -0.1913149654865265, -0.027685631066560745, 0.4217451214790344, 0.7082348465919495, -0.04286095127463341, 0.07741323858499527, 0.5289381742477417, 0.089935302734375, -0.10579047352075577, 0.7032114267349243, 1.3194795846939087, -0.2027173489332199, 0.4705510139465332, -0.18820202350616455, -0.3211665749549866, 0.28185874223709106, -0.3473409116268158, -0.4998023808002472, -0.915029764175415, 0.1544792801141739, 0.14563441276550293, 0.004212620668113232, 0.926943838596344, 0.7807490825653076, -0.6476545333862305, -0.24223917722702026, 0.8091639876365662, 0.092012919485569, -0.32704511284828186, -0.2041882574558258, 0.06140998750925064, 0.08235257118940353, -0.8692024946212769, 0.2114039808511734, 0.2835683524608612, 0.0680655762553215, -0.22706203162670135, 0.13085633516311646, -0.15244072675704956, 0.14214850962162018, 0.6648111939430237, 0.3303927779197693, -0.9635536074638367, -0.17489811778068542, 0.08852039277553558, -0.11543653905391693, 0.1853737086057663, 0.4459771513938904, -0.20768648386001587, 0.5293965935707092, 0.23980237543582916, 0.7904070019721985, 0.0779147520661354, 0.10600263625383377, 0.27986764907836914, -0.7287219762802124, -0.05930287018418312, -0.09666621685028076, 0.38184642791748047, 0.3831764757633209, -0.528715193271637, 0.27087992429733276, 0.10502414405345917, -0.4550168216228485, -0.3713507354259491, 0.37701675295829773, -1.0413236618041992, -0.848006010055542, 1.1732814311981201, -0.183796226978302, -0.7586312890052795, 0.11457086354494095, -0.17956487834453583, 0.22444486618041992, -0.31139838695526123, 0.7142512202262878, 0.7105187773704529, 0.21142242848873138, -0.40011945366859436, -0.651087760925293, 0.3006749153137207, 0.24385686218738556, -0.8312731981277466, 0.09105446934700012, 0.671556830406189, 0.38756063580513, 0.17839673161506653, 0.42830005288124084, 0.19708089530467987, 0.3222632110118866, -0.11402163654565811, 0.2679697871208191, 0.32341688871383667, -0.6698766350746155, 0.06198146194219589, 0.4101087749004364, 0.048291485756635666, -0.42244404554367065 ]
http://arxiv.org/abs/2406.11029v1
http://arxiv.org/pdf/2406.11029v1
Curating Stopwords in Marathi: A TF-IDF Approach for Improved Text Analysis and Information Retrieval
2024-06-16T17:59:05
2024-06-16T17:59:05
Rohan Chavan, Gaurav Patil, Vishal Madle, Raviraj Joshi
cs.CL
cs.CL, cs.LG
Stopwords are commonly used words in a language that are often considered to be of little value in determining the meaning or significance of a document. These words occur frequently in most texts and don't provide much useful information for tasks like sentiment analysis and text classification. English, which is a high-resource language, takes advantage of the availability of stopwords, whereas low-resource Indian languages like Marathi are very limited, standardized, and can be used in available packages, but the number of available words in those packages is low. Our work targets the curation of stopwords in the Marathi language using the MahaCorpus, with 24.8 million sentences. We make use of the TF-IDF approach coupled with human evaluation to curate a strong stopword list of 400 words. We apply the stop word removal to the text classification task and show its efficacy. The work also presents a simple recipe for stopword curation in a low-resource language. The stopwords are integrated into the mahaNLP library and publicly available on https://github.com/l3cube-pune/MarathiNLP .
[ -0.5963806509971619, -1.0155158042907715, 0.24688665568828583, 0.3682011365890503, -0.7325467467308044, 0.33622273802757263, -0.2950863838195801, -0.48823365569114685, 0.412975549697876, 0.7536652684211731, -0.3268665373325348, -0.495572030544281, -0.8700169324874878, 0.3857385814189911, -0.44977056980133057, 0.8982644081115723, -0.16555044054985046, -0.2493750900030136, -0.049604158848524094, -0.6098194122314453, -0.6824145913124084, -0.35644546151161194, -0.8619377613067627, -0.183547243475914, 0.25413572788238525, 0.5455655455589294, 0.592900276184082, 0.25458773970603943, 0.648480236530304, 0.2534888684749603, -0.20671533048152924, 0.34732452034950256, -0.49706029891967773, 0.4624578356742859, -0.5548560619354248, -0.25898703932762146, -0.05544023588299751, -0.05047544464468956, 0.3716556429862976, 0.5733461380004883, -0.22677931189537048, -0.005995552521198988, -0.13880933821201324, 0.8243488669395447, -1.078025460243225, 0.20628656446933746, -0.3138101398944855, 0.27705663442611694, -0.8431516885757446, -0.1578514575958252, -0.3757922053337097, -0.4794439971446991, -0.2703128755092621, -0.34328433871269226, 0.017551833763718605, 0.20053835213184357, 0.8555851578712463, 0.33530041575431824, 0.01645650528371334, -0.6091066002845764, -0.9608454704284668, 0.9725868105888367, -0.41344836354255676, 0.2518603503704071, 0.6417091488838196, 0.18508945405483246, 0.017541395500302315, -0.6189125180244446, -0.5331546664237976, -0.12575607001781464, -0.007081781513988972, 0.20916910469532013, -0.23931469023227692, 0.008559036068618298, 0.4009000360965729, 0.6087753772735596, -0.28096064925193787, -0.07019294053316116, -0.45206812024116516, -0.22714871168136597, 0.44300881028175354, 0.2628266215324402, 0.5478463172912598, -0.4477885365486145, -0.39140960574150085, 0.09196441620588303, -0.5270525217056274, -0.13257147371768951, 0.036297012120485306, -0.005283552687615156, 0.19745208323001862, 0.8629796504974365, -0.4312465786933899, 0.7347621321678162, -0.14378298819065094, -0.10965731739997864, 0.17896272242069244, -0.7969276905059814, -0.21969278156757355, 0.2135877162218094, 0.8454049229621887, 0.05131542310118675, 0.3033958375453949, -0.2445119023323059, -0.3080641031265259, 0.42503252625465393, 0.3745753765106201, -0.8912992477416992, 0.016073785722255707, 0.18106934428215027, -0.4157453179359436, -0.4994021952152252, -0.03132758289575577, -0.9777112007141113, -0.0755251944065094, 0.09582965075969696, 0.2671371400356293, -0.5667105913162231, -0.20229461789131165, 0.10267426818609238, -0.405726820230484, 0.48424604535102844, -0.18616104125976562, -0.6775633096694946, 0.40995752811431885, 0.44589853286743164, 0.9060587882995605, -0.3560850918292999, 0.08440092206001282, -0.7541099190711975, 0.09064539521932602, -0.5759767889976501, 0.750139594078064, -1.0193101167678833, -0.9504457712173462, 0.16586649417877197, -0.1564330756664276, 0.02250315435230732, -0.7499115467071533, 1.0389236211776733, -0.6905122399330139, 0.16786617040634155, -0.12134068459272385, -0.5753067135810852, -0.1727723926305771, 0.29090532660484314, -0.7634560465812683, 1.4007014036178589, 0.09295553714036942, -0.7934988737106323, 0.4027232825756073, -1.0037399530410767, -0.788701057434082, 0.5572845339775085, -0.1772998571395874, -0.2629273533821106, 0.3120381236076355, 0.24265336990356445, 0.33289554715156555, -0.1353076994419098, 0.15280704200267792, 0.10400865226984024, -0.2510075271129608, 0.26348426938056946, -0.1461111456155777, 0.8273807168006897, 0.6004302501678467, -0.29099616408348083, 0.009089717641472816, -0.5668275952339172, -0.0833747461438179, -0.004924798384308815, -0.31080636382102966, -0.7029640674591064, 0.13890491425991058, 0.4404262602329254, 0.2075304538011551, 0.1271677166223526, -0.9651268124580383, 0.07068983465433121, -0.6034216284751892, 0.49610427021980286, 0.33608245849609375, 0.3756966292858124, 0.3110111951828003, -0.3388349711894989, 0.9081856608390808, 0.11640311777591705, 0.17907586693763733, 0.06773501634597778, -0.7574635744094849, -0.6047078967094421, -0.24250498414039612, 0.2782127857208252, 0.5500002503395081, -1.1257646083831787, 0.16080786287784576, -0.18721701204776764, -0.6372902393341064, -0.5729053020477295, 0.33651790022850037, 0.4086197316646576, 0.394223690032959, 0.5165437459945679, -0.5601552128791809, -0.4869532585144043, -0.7584158182144165, -0.15535499155521393, 0.25036168098449707, 0.272895872592926, 0.07543133199214935, 0.5695327520370483, -0.2877804636955261, 1.1595901250839233, -0.8339345455169678, -0.6341283917427063, -0.305049866437912, 0.3608454465866089, -0.13312436640262604, 0.08365805447101593, 0.3765698969364166, -1.1184275150299072, -0.3405435085296631, -0.4884122312068939, -0.6104097366333008, -0.15565533936023712, 0.36928048729896545, -0.4249468445777893, 0.3835162818431854, 0.6091070175170898, -0.583244264125824, 0.45001670718193054, 0.3017948269844055, -0.26941192150115967, 0.4594095051288605, -0.041851893067359924, 0.0842176228761673, -1.363783597946167, 0.054325226694345474, -0.12830810248851776, -0.13668042421340942, -0.35120585560798645, 0.22396023571491241, -0.18739734590053558, -0.3272608816623688, -0.3885457217693329, 0.7191168069839478, -0.2520730793476105, 0.2110404223203659, -0.4596562385559082, 0.5217871069908142, 0.011883449740707874, 0.06581912189722061, 0.12040133774280548, 0.9374723434448242, 0.08907506614923477, -0.6567906737327576, 0.4634689688682556, 0.4985215961933136, -0.37341323494911194, 0.6766806244850159, -0.47041192650794983, -0.14398981630802155, -0.0006330814212560654, -0.06453435122966766, -0.8132661581039429, -0.09941335022449493, 0.4772372543811798, -0.3895810544490814, 0.28727877140045166, 0.16785061359405518, -0.6283566355705261, -0.09283317625522614, -0.4427587687969208, 0.3415290415287018, 0.4767567217350006, -0.25244656205177307, 0.3266846239566803, 0.8075649738311768, -0.17586369812488556, -0.49082621932029724, -0.8502175211906433, 0.4346168041229248, -0.06999588012695312, -0.30749252438545227, 0.47171303629875183, -0.09704675525426865, -0.49474266171455383, 0.42256635427474976, 0.08614742010831833, -0.2083282619714737, -0.021349797025322914, 0.2732778787612915, 0.15135011076927185, 0.15319187939167023, 0.4250757396221161, -0.0319838672876358, -0.25263330340385437, -0.14543987810611725, -0.270488440990448, 0.4995144009590149, 0.01539173349738121, 0.028468022122979164, 0.12229887396097183, 0.47347772121429443, 0.44722333550453186, -0.6987388730049133, 0.7627220749855042, 0.999038815498352, -0.5684672594070435, -0.23695024847984314, -0.5160280466079712, 0.15664143860340118, -0.3930111229419708, -0.0008715882431715727, -0.2461957484483719, -0.7202154397964478, 0.011415821500122547, -0.0007119987276382744, 0.0244813933968544, 0.729550302028656, 0.5905427932739258, 0.08292035758495331, 0.5742120146751404, 0.697015643119812, -0.25457999110221863, 0.42339736223220825, -0.09156426042318344, 0.5881964564323425, -0.7539102435112, -0.20345816016197205, -0.8271494507789612, 0.07572577148675919, -0.8404232859611511, -0.5154732465744019, -0.020782142877578735, -0.02183181792497635, 0.3654034733772278, 0.3976127505302429, -0.7890017628669739, 0.05247563496232033, 0.27074962854385376, -0.005025042220950127, 0.4338432848453522, 0.11492554843425751, -0.21128453314304352, -0.1985011249780655, -0.3958766758441925, -0.5589553713798523, 0.7499269247055054, -0.3438192307949066, 0.5959150791168213, 0.15560513734817505, 0.8584333062171936, 0.7315281629562378, 0.31560203433036804, -1.132371187210083, 0.74260413646698, -0.32233548164367676, -0.7486337423324585, -0.30600428581237793, -0.17962221801280975, -0.9618509411811829, -0.11772672086954117, -0.3264962136745453, -0.24852560460567474, -0.21220248937606812, -0.3686574399471283, -0.10492326319217682, 0.22536183893680573, -0.47209858894348145, 0.6607323884963989, -0.04115307703614235, -0.27950140833854675, -0.5725531578063965, -0.00518778245896101, 0.16907432675361633, -0.27231019735336304, 0.5272538065910339, -0.10506579279899597, -0.431000679731369, 1.1147516965866089, -0.7240656018257141, 0.36392366886138916, 0.05508241802453995, 0.19188319146633148, 0.5008459091186523, -0.06052601337432861, 0.17526255548000336, -0.33521193265914917, -0.18385592103004456, 0.18514640629291534, 0.0005666876095347106, -0.5871283411979675, -0.2067306786775589, 0.6100254058837891, -0.28079625964164734, -0.11557751148939133, -0.49322155117988586, -0.01809011772274971, -0.05516058951616287, 0.3539591133594513, 0.46248432993888855, 0.6332997679710388, -0.3306860327720642, 0.2747141420841217, 0.6704352498054504, -0.27998086810112, 0.6150913834571838, 0.2055891454219818, -0.25439000129699707, -0.21314939856529236, 0.9740536212921143, 0.3311731219291687, -0.20449276268482208, 0.6226465106010437, 0.15579810738563538, -0.34672054648399353, -0.4972374737262726, -0.4492608606815338, 0.14042051136493683, -0.5453836917877197, 0.02288096584379673, -0.5618084669113159, -0.2566533386707306, 0.008430303074419498, -0.25144797563552856, -0.03516685962677002, -0.34903714060783386, 0.07923538237810135, 0.021259577944874763, 0.5609943866729736, 0.7821676135063171, 0.13645553588867188, -0.01956258900463581, -1.038223385810852, 0.3955475389957428, -0.06958842277526855, 0.5454207062721252, -0.25156599283218384, -0.2999430000782013, -0.34999212622642517, -0.36093950271606445, -0.2829206883907318, -0.9175201654434204, 0.32565605640411377, 0.1443895697593689, 0.4119131863117218, 0.46652236580848694, 0.369637668132782, 0.3883760869503021, -0.24068443477153778, 0.9020113348960876, 0.06970711797475815, -0.8614323139190674, 0.8605691194534302, -0.09944329410791397, 0.433470755815506, 0.7865673899650574, 0.542773425579071, -0.5568967461585999, -0.7436767816543579, -0.6829215884208679, -0.9515194892883301, 0.3501408100128174, 0.40493032336235046, 0.26911625266075134, -0.6079339981079102, 0.20233923196792603, -0.15606608986854553, 0.3730866611003876, -0.13138489425182343, -0.0788002461194992, 0.1061558946967125, -0.4257153570652008, 0.004504882264882326, -0.6368181705474854, 0.07691142708063126, 0.12857219576835632, 0.8408669233322144, 0.3656150698661804, -0.04307040944695473, 0.06833891570568085, -0.47192975878715515, 0.03290553390979767, 0.5819908976554871, 0.44732940196990967, 0.5763581991195679, -0.16824327409267426, -0.07852215319871902, 0.1265891194343567, -1.036306619644165, 0.06759141385555267, -0.09456957876682281, -0.45407047867774963, 0.3957374393939972, 0.24682414531707764, 0.366671085357666, 0.5282963514328003, -0.7853765487670898, 0.36722803115844727, -0.11054550856351852, 0.13107159733772278, -0.6472555994987488, -0.009472823701798916, 0.08773636817932129, -0.2240629345178604, 0.17040997743606567, 0.026977455243468285, 0.10831284523010254, -0.5374299883842468, 0.22213411331176758, 0.2604564428329468, -0.6358774304389954, 0.1679985374212265, 0.5352169275283813, 0.371256023645401, -0.515800952911377, 0.872602105140686, -0.5223515033721924, -0.3786693215370178, 0.30923178791999817, 0.016561998054385185, 0.9995572566986084, -0.04183560982346535, 0.21170978248119354, 0.4454096853733063, 0.3519396483898163, -0.08410267531871796, 0.22261491417884827, -0.3381390869617462, -0.7904564738273621, -0.6381098031997681, -1.2182376384735107, -0.5624210834503174, 0.037075866013765335, -0.6687806248664856, 0.2772842049598694, -0.46848776936531067, -0.4396480917930603, 0.12117010354995728, 0.3735581636428833, -0.5387160181999207, 0.21328133344650269, 0.021087633445858955, 0.9519097208976746, -0.780869722366333, 0.7640492916107178, 0.8842208385467529, -0.9551711082458496, -0.5641303062438965, -0.07660873979330063, -0.18819895386695862, -0.29878655076026917, 0.7196189761161804, 0.2842784821987152, -0.34459418058395386, -0.03816287964582443, -0.38114893436431885, -0.38752949237823486, 0.7527887225151062, -0.5039283633232117, -0.4956784248352051, 0.14375969767570496, 0.03748885169625282, 0.5584416389465332, -0.21353989839553833, 0.08607412129640579, 0.5510355234146118, 0.5176263451576233, 0.15582996606826782, -0.48578548431396484, 0.18480761349201202, -0.24534419178962708, 0.217405766248703, 0.6296488642692566, -0.3229193687438965, 0.3032085597515106, 0.06522668153047562, -0.3030433654785156, -0.14459368586540222, 0.3125782310962677, 0.09021493792533875, 0.291288822889328, 0.4670305848121643, 0.8063018918037415, 0.5357860326766968, -0.12231366336345673, 1.0457816123962402, -0.4533844292163849, 0.37151002883911133, 0.6955239176750183, -0.10536424070596695, 1.120423436164856, 0.3651614189147949, -0.2548837661743164, 0.4940871596336365, 0.5197256207466125, -0.00980649795383215, 0.33333471417427063, 0.03387376666069031, -0.5026465654373169, -0.19542603194713593, -0.4363992512226105, 0.2530680000782013, 0.7370955944061279, 0.5889385342597961, -0.15041571855545044, -0.4471050798892975, 0.4585969150066376, 0.20831398665905, 0.21025651693344116, -0.33041200041770935, 0.6582179665565491, 0.40789586305618286, -0.8751319646835327, 0.21366555988788605, 0.2709680199623108, 0.6841626763343811, -0.5038202404975891, -0.09267476946115494, -0.2460448145866394, 0.16338784992694855, -0.29598677158355713, -0.8753358125686646, 1.0349597930908203, 0.25642725825309753, -0.2576490640640259, -0.21965520083904266, 1.0573663711547852, -0.29110997915267944, -0.42899540066719055, 0.5289134383201599, 0.4167134463787079, 0.4010455906391144, -0.11504650115966797, -0.6025936603546143, 0.09068965166807175, -0.23035985231399536, -0.16341423988342285, 0.13917146623134613, 0.15928064286708832, -0.21466359496116638, 0.4982130527496338, 0.5649164319038391, 0.35522735118865967, -0.1547635793685913, -0.03292826563119888, 0.48320019245147705, -0.8726365566253662, -0.4505797028541565, -0.8888674378395081, 0.023167073726654053, -0.2246534675359726, -0.17673899233341217, 0.6836776733398438, 0.5234617590904236, 0.9241544008255005, 0.14469166100025177, 0.857304573059082, -0.36566221714019775, 0.36016035079956055, -0.5579001307487488, 0.7463623881340027, -0.5788090825080872, 0.08670693635940552, -0.18920214474201202, -1.0225082635879517, -0.10343533754348755, 0.46875274181365967, -0.39958855509757996, -0.09212387353181839, 0.7589343786239624, 0.7399911284446716, 0.12988655269145966, 0.11562702804803848, 0.47635409235954285, 0.21053887903690338, 0.10525597631931305, 0.13915260136127472, 0.5010883212089539, -0.365165114402771, 0.9159233570098877, -0.1638966053724289, -0.24211643636226654, -0.5538524389266968, -0.6587122678756714, -0.5131406784057617, -0.6656979918479919, -0.281929612159729, -0.44647955894470215, -0.14035861194133759, 0.699009358882904, 0.36383745074272156, -0.8148627877235413, 0.0203639455139637, 0.07421489804983139, 0.24941247701644897, -0.11544851213693619, -0.299587219953537, 0.2681046724319458, -0.572726845741272, -0.6700605750083923, 0.13919757306575775, 0.6145110726356506, -0.5675338506698608, -0.26695406436920166, 0.1858372986316681, -0.39886555075645447, 0.3750467896461487, 1.0249192714691162, 0.2358095645904541, -0.29678040742874146, -0.12331979721784592, -0.16323885321617126, -0.41840264201164246, -0.001117914798669517, 0.6607034802436829, -0.7214527130126953, 0.8388212323188782, 0.6073093414306641, 0.6949131488800049, 0.6703633666038513, -0.006843160837888718, 0.14121805131435394, -0.5776183605194092, 0.17420819401741028, 0.27842894196510315, 0.23396946489810944, 0.5329222679138184, -0.13250280916690826, 0.7336544394493103, 0.4493362307548523, -0.25346311926841736, -0.36423227190971375, 0.3690436780452728, -0.9405362606048584, -0.18668758869171143, 1.0831269025802612, 0.07095295935869217, -0.32139360904693604, -0.45948633551597595, -0.2728290855884552, 0.3649877905845642, -0.3799773156642914, 0.7525247931480408, 1.1196110248565674, 0.09582015872001648, 0.04888176545500755, -0.9534816145896912, 0.5271363258361816, 0.3140930235385895, -0.6893588304519653, -0.5093833804130554, 0.3347543776035309, 0.42545023560523987, 0.4447501003742218, 1.1331549882888794, -0.41683468222618103, -0.018543310463428497, -0.045734703540802, -0.017111675813794136, -0.13380402326583862, 0.05345305800437927, -0.263019859790802, 0.3352033793926239, 0.20301078259944916, -0.4820210933685303 ]
http://arxiv.org/abs/2406.11028v1
http://arxiv.org/pdf/2406.11028v1
Universal Cross-Lingual Text Classification
2024-06-16T17:58:29
2024-06-16T17:58:29
Riya Savant, Anushka Shelke, Sakshi Todmal, Sanskruti Kanphade, Ananya Joshi, Raviraj Joshi
cs.CL
cs.CL, cs.LG
Text classification, an integral task in natural language processing, involves the automatic categorization of text into predefined classes. Creating supervised labeled datasets for low-resource languages poses a considerable challenge. Unlocking the language potential of low-resource languages requires robust datasets with supervised labels. However, such datasets are scarce, and the label space is often limited. In our pursuit to address this gap, we aim to optimize existing labels/datasets in different languages. This research proposes a novel perspective on Universal Cross-Lingual Text Classification, leveraging a unified model across languages. Our approach involves blending supervised data from different languages during training to create a universal model. The supervised data for a target classification task might come from different languages covering different labels. The primary goal is to enhance label and language coverage, aiming for a label set that represents a union of labels from various languages. We propose the usage of a strong multilingual SBERT as our base model, making our novel training strategy feasible. This strategy contributes to the adaptability and effectiveness of the model in cross-lingual language transfer scenarios, where it can categorize text in languages not encountered during training. Thus, the paper delves into the intricacies of cross-lingual text classification, with a particular focus on its application for low-resource languages, exploring methodologies and implications for the development of a robust and adaptable universal cross-lingual model.
[ -0.2671375870704651, -0.3211480975151062, 0.009981769137084484, 0.21829387545585632, -0.17866043746471405, 0.1713947206735611, -0.2700284421443939, -0.8708395957946777, -0.06636524200439453, 0.6096050143241882, -0.3039417564868927, -0.46643438935279846, -0.5027256608009338, 0.22035180032253265, -0.20633110404014587, 1.3534915447235107, -0.16678600013256073, 0.16526758670806885, 0.11307764053344727, -0.434683233499527, -0.4930575489997864, -0.7243502736091614, -0.27398741245269775, -0.6045830845832825, 0.40305548906326294, 0.4947759807109833, 0.3974340856075287, 0.24883054196834564, 0.14123453199863434, 0.2752494215965271, -0.065243199467659, 0.09181167185306549, -0.3942509591579437, -0.0322653129696846, -0.3833483159542084, -0.35813698172569275, -0.048094894737005234, -0.10010304301977158, 0.6520152688026428, 0.9316126704216003, 0.10443838685750961, -0.01815883442759514, 0.13683347404003143, 0.23520760238170624, -0.4891054332256317, -0.058784980326890945, -0.6321861147880554, 0.35723862051963806, -0.3276103436946869, 0.034632597118616104, -0.5246692895889282, 0.006483312696218491, 0.1802791953086853, -0.5764200687408447, 0.18908482789993286, 0.1625647246837616, 0.6558034420013428, -0.07583489269018173, -0.6668805480003357, -0.2529944181442261, -0.6946971416473389, 0.8457785844802856, -0.25245124101638794, 0.7985435724258423, 0.1483343094587326, 0.3450927734375, 0.3549760580062866, -0.47460290789604187, -0.28849753737449646, 0.07942327111959457, -0.08953940123319626, -0.017580939456820488, -0.10892261564731598, -0.20862874388694763, -0.22875425219535828, 0.32009437680244446, -0.7013661861419678, 0.4410828948020935, -0.2157248854637146, -0.33680328726768494, 0.5410851240158081, -0.010772288776934147, 0.7618469595909119, -0.10516110062599182, -0.7112239599227905, -0.02134302631020546, -0.5562165379524231, 0.11760944128036499, 0.12258963286876678, 0.6612532734870911, -0.07780817151069641, 0.3118972182273865, -0.094515860080719, 0.791455864906311, -0.1616266667842865, -0.16330775618553162, 0.051003895699977875, -0.5323800444602966, -0.3245256543159485, 0.36199042201042175, 0.8077657222747803, -0.029541857540607452, 0.2951847314834595, -0.4720035493373871, -0.07760793715715408, -0.08542511612176895, 0.10236258059740067, -0.7619720697402954, -0.1322321593761444, -0.3520722985267639, -0.18754731118679047, -0.28043439984321594, -0.0385744571685791, -0.6089009046554565, -0.15313652157783508, -0.23297014832496643, 0.2663005292415619, -0.19646327197551727, -0.23863112926483154, 0.10465912520885468, 0.20103880763053894, -0.09668741375207901, 0.18845954537391663, -1.139646053314209, 0.2638521194458008, 0.4189130961894989, 0.5135620832443237, -0.2681927978992462, -0.5338000059127808, -0.3994617760181427, 0.4107230007648468, -0.2989819049835205, 0.7976065278053284, -0.4953424036502838, -0.39919158816337585, 0.005993235856294632, 0.22341085970401764, -0.09728410094976425, -0.1737985610961914, 0.5208250880241394, -0.3795541524887085, 0.5455228686332703, 0.03209010139107704, -0.29691261053085327, -0.45621782541275024, 0.30243119597435, -0.6544525623321533, 1.1265130043029785, 0.12598583102226257, -0.9555420279502869, 0.4592632055282593, -0.35609620809555054, -0.7066964507102966, 0.2662743330001831, -0.038970690220594406, -0.19000869989395142, -0.11934394389390945, 0.2261078655719757, 0.6063875555992126, -0.593936562538147, 0.20033276081085205, 0.002905499190092087, -0.28446200489997864, 0.2792162001132965, -0.5114049911499023, 1.1019951105117798, 0.0418596975505352, -0.2007976770401001, -0.11841744929552078, -0.6515163779258728, 0.22300761938095093, -0.19816675782203674, -0.44165247678756714, -0.9180293679237366, -0.5840961337089539, 0.715309739112854, 0.2265741527080536, 0.1964416652917862, -0.5368267297744751, 0.13068445026874542, -0.31267714500427246, -0.011297971941530704, 0.3717404007911682, -0.25140655040740967, 0.8562381267547607, 0.0030664263758808374, 0.5866073369979858, -0.13572187721729279, -0.03830540552735329, -0.14120344817638397, -0.47042855620384216, -0.4406270682811737, -0.36846229434013367, 0.7983080148696899, 0.9617644548416138, -0.8118955492973328, 0.3796520531177521, -0.3564103841781616, -0.45226702094078064, -0.5693836808204651, 0.5013989806175232, 0.7069522738456726, 0.385696679353714, 0.3130391240119934, -0.2623981237411499, -0.45769616961479187, -0.7708966732025146, -0.1799546778202057, 0.0004863739013671875, 0.04792290925979614, 0.04160961136221886, 0.22790805995464325, -0.7167558073997498, 0.6456554532051086, -0.2497718632221222, -0.3787076473236084, -0.6573988199234009, 0.2724355459213257, -0.07321464270353317, 0.4035228192806244, 0.5714439153671265, -1.0968456268310547, -0.9386230111122131, 0.7268637418746948, -0.8141406178474426, -0.3470690846443176, -0.1688918173313141, -0.2420189380645752, 0.4672929048538208, 0.48964589834213257, -0.15705284476280212, 0.28971245884895325, 0.5906535387039185, -0.2677675485610962, 0.2969152629375458, -0.24040758609771729, 0.11223075538873672, -0.9651793241500854, -0.012128257192671299, 0.1748242974281311, -0.14490346610546112, -0.9005056619644165, 0.04763398319482803, 0.06885252147912979, -0.08705519139766693, -0.536029040813446, 1.0181282758712769, -0.4736286997795105, 0.10148098319768906, -0.24260585010051727, -0.07377583533525467, 0.031364209949970245, 0.5013247728347778, 0.24157953262329102, 0.48200610280036926, 0.6192444562911987, -0.5256462693214417, 0.25364410877227783, 0.30446359515190125, -0.16198468208312988, 0.9116429686546326, -0.2510722279548645, -0.21637971699237823, -0.07593178749084473, 0.1328696757555008, -0.9611257910728455, -0.062140099704265594, 0.3560400903224945, -0.2567943334579468, 0.5545521974563599, -0.08315539360046387, -0.36509305238723755, -0.04534508287906647, 0.06454925239086151, 0.5952594876289368, 0.19531700015068054, -0.7745298743247986, 0.5803008079528809, 0.5723893642425537, -0.27397727966308594, -0.48492804169654846, -0.9899598956108093, -0.015814512968063354, -0.17056907713413239, -0.47900331020355225, 0.3574866056442261, -0.04670187830924988, -0.028784556314349174, 0.08223258703947067, -0.16229601204395294, -0.4756840467453003, -0.12996503710746765, 0.05686480551958084, 0.2858037054538727, -0.14081774652004242, 0.24965593218803406, 0.3488183617591858, -0.18568864464759827, -0.49022671580314636, -0.425126850605011, 0.1823505312204361, -0.17787203192710876, -0.14689233899116516, -0.214217871427536, 0.6805035471916199, 0.3535834550857544, -0.15378440916538239, 0.44017738103866577, 0.8100385665893555, -0.35298654437065125, -0.45442259311676025, -0.2072838395833969, 0.38831576704978943, -0.39982283115386963, 0.3149849474430084, -0.5411320328712463, -0.935948371887207, 0.3086652457714081, 0.07678045332431793, 0.0061748879961669445, 0.2626083195209503, 0.5219193696975708, 0.10710716992616653, 0.7712128758430481, 1.150027871131897, -0.42255470156669617, 0.33592385053634644, 0.09553351998329163, 0.0717245563864708, -0.4719158709049225, -0.21007801592350006, -0.635252833366394, -0.027003632858395576, -0.6228680610656738, -0.4335346519947052, 0.0829799696803093, -0.012190969660878181, -0.07859960198402405, 0.5555444359779358, -0.6258467435836792, 0.588524341583252, 0.44637981057167053, -0.18486624956130981, 0.4103863537311554, 0.2582942247390747, -0.2882094383239746, -0.2279428243637085, -0.9520785808563232, -0.3120765686035156, 0.8347806930541992, 0.11596740782260895, 0.8091068863868713, -0.1752341389656067, 0.55768883228302, 0.29558929800987244, 0.5574525594711304, -0.5661273002624512, 0.40257859230041504, -0.5470210909843445, -0.7497071623802185, -0.40830686688423157, -0.6303248405456543, -1.0192887783050537, 0.7526170611381531, -0.15280364453792572, -0.699262261390686, 0.018479418009519577, -0.25832369923591614, 0.23300866782665253, 0.46540719270706177, -0.6656331419944763, 1.200657606124878, -0.6697801947593689, 0.02239830046892166, 0.19921894371509552, -0.7230699062347412, 0.32498031854629517, -0.4451276659965515, 0.4194318950176239, 0.06695039570331573, 0.010790538042783737, 0.6210170388221741, 0.025148870423436165, 0.9445876479148865, 0.2391054779291153, -0.3751061260700226, 0.23571272194385529, 0.016399482265114784, -0.030578281730413437, -0.10004324465990067, 0.2581246495246887, 0.4226369857788086, -0.11583562940359116, -0.3795086145401001, -0.23168815672397614, 0.5240018963813782, -0.5766639113426208, 0.04607938230037689, -0.5246105790138245, -0.6762024164199829, -0.341966837644577, 0.40736475586891174, 0.42740872502326965, 0.32640233635902405, -0.5198883414268494, -0.07053615897893906, 0.716783881187439, -0.3328944444656372, 0.2077183872461319, 0.6626530885696411, -0.32731860876083374, -0.37506401538848877, 1.1747092008590698, 0.044465914368629456, 0.16741296648979187, 0.8391366004943848, 0.13920247554779053, -0.31634581089019775, -0.16269047558307648, -0.6150965690612793, 0.16605393588542938, -0.7578554153442383, -0.2118588238954544, -0.46749937534332275, -0.1930871456861496, -0.42388448119163513, -0.39673173427581787, -0.1389700472354889, -0.3233858048915863, -0.26706188917160034, 0.055929284542798996, 0.1516750156879425, 0.614782452583313, -0.22158142924308777, 0.38214075565338135, -0.9579594731330872, 0.4282872676849365, 0.3469736874103546, 0.3796003758907318, -0.18374565243721008, -0.37325015664100647, -0.42355942726135254, 0.02627749554812908, -0.09075058251619339, -0.8535585403442383, 0.5269915461540222, 0.3259488344192505, 0.9988328814506531, 0.13108372688293457, 0.014891582541167736, 0.2427898496389389, -0.5099740624427795, 0.2778567969799042, 0.43176397681236267, -0.8816094994544983, 0.2870394289493561, -0.24371042847633362, 0.4081668555736542, 0.5327861905097961, 0.7654524445533752, -0.9929476380348206, -0.3685474991798401, -0.3886834979057312, -0.759386420249939, 0.8269355893135071, -0.04843522235751152, -0.08311755955219269, 0.42665860056877136, -0.11866994947195053, 0.4113471210002899, 0.006424122489988804, -1.084975004196167, 0.04705113172531128, -0.16726578772068024, -0.43515846133232117, -0.20646938681602478, 0.0701555609703064, 0.019022272899746895, -0.2513922154903412, 0.6111446619033813, -0.2184695303440094, -0.1363462209701538, -0.16415521502494812, -0.4994739592075348, -0.0629289373755455, 0.5121818780899048, 0.08182407915592194, 0.18850260972976685, 0.07582398504018784, 0.12780117988586426, 0.3206196129322052, -0.45108264684677124, 0.364384263753891, 0.27407529950141907, -0.44104719161987305, 0.18445555865764618, 0.21719367802143097, 0.7456396222114563, 0.5852488875389099, -0.705469012260437, 0.20933309197425842, -0.020957643166184425, -0.03759346157312393, 0.33294761180877686, -0.1973874270915985, -0.06177150458097458, 0.16291096806526184, 0.25785741209983826, -0.04883836209774017, 0.18779434263706207, -0.5996605753898621, 0.16828565299510956, 0.32374799251556396, -0.5273961424827576, -0.3366723358631134, 0.48863935470581055, 0.23652435839176178, -0.20617687702178955, 0.36673209071159363, -0.18540795147418976, -0.9071300625801086, 0.3771939277648926, 0.6870785355567932, 0.832267165184021, -0.4151204526424408, 0.5499502420425415, 0.08319533616304398, 0.39283570647239685, -0.16187384724617004, -0.22122512757778168, -0.2391083538532257, -0.7591938972473145, -0.2982015311717987, -0.7445555925369263, -0.6115809082984924, -0.20840728282928467, -0.5408120155334473, 0.08210097998380661, -0.12486687302589417, 0.19831033051013947, -0.0362430065870285, -0.028992293402552605, -0.5678679347038269, 0.4694453477859497, 0.41096439957618713, 0.715693473815918, -1.218808889389038, 0.917258620262146, 0.9764366745948792, -0.15806342661380768, -0.3848041594028473, -0.08925829082727432, -0.09494210034608841, -0.5392332077026367, 0.8563295006752014, 0.3329474925994873, -0.13505227863788605, -0.3285627067089081, -0.262867271900177, -0.6406201720237732, 0.48852598667144775, 0.12196366488933563, -0.21625056862831116, 0.01846405118703842, 0.45967474579811096, 0.8270132541656494, -0.38576391339302063, -0.25648176670074463, 0.28403013944625854, 0.48972102999687195, 0.040810726583004, -1.0472511053085327, -0.039875179529190063, -0.3725571930408478, 0.19065946340560913, 0.3491445779800415, -0.3902758061885834, 0.7326174974441528, 0.012177509255707264, -0.1549382358789444, -0.06860201060771942, 0.6104142665863037, 0.11914079636335373, 0.38336771726608276, 0.39759060740470886, 0.5216638445854187, 0.6789168119430542, -0.00837432686239481, 0.8649906516075134, 0.03196544945240021, 0.18312379717826843, 0.8237632513046265, -0.40638598799705505, 0.6038191318511963, 0.16250135004520416, -0.008638156577944756, 0.32317468523979187, 0.5907546877861023, 0.015877893194556236, 0.568036675453186, 0.026176011189818382, -0.3230065405368805, -0.30285289883613586, -0.23877552151679993, -0.30867519974708557, 0.4841367304325104, 0.24689967930316925, 0.08621900528669357, -0.43311452865600586, 0.44310349225997925, 0.0013859699247404933, 0.07806965708732605, -0.43814796209335327, 0.5352509617805481, 0.016034908592700958, -0.3870847523212433, 0.5277358293533325, 0.10185376554727554, 0.9604963660240173, -0.536143958568573, 0.2832474410533905, -0.11960728466510773, 0.3750503361225128, 0.07346721738576889, -0.7446205019950867, 0.12886568903923035, 0.11983813345432281, -0.2035321742296219, -0.5201857089996338, 0.8979462385177612, -0.8959289193153381, -0.7866894602775574, 0.5499712228775024, 0.3996540307998657, 0.09776199609041214, 0.17375575006008148, -0.6744868159294128, -0.08736389130353928, 0.13767582178115845, 0.007463863585144281, 0.6207394003868103, 0.960025429725647, -0.369670033454895, 0.5730571150779724, 0.51141756772995, 0.09387572109699249, 0.06905370950698853, -0.13280238211154938, 0.5328885316848755, -0.6574889421463013, -0.8203862905502319, -0.3710625469684601, 0.3060990273952484, 0.11594375967979431, -0.5114575028419495, 0.8419622778892517, 0.5529084801673889, 1.1786950826644897, -0.07634252309799194, 0.9917688965797424, 0.06568903475999832, 0.6159576773643494, -0.2962752878665924, 0.8148776888847351, -0.9458341002464294, -0.042633410543203354, -0.3427775800228119, -0.8177981972694397, -0.46270373463630676, 0.4562944173812866, 0.07691140472888947, -0.16436666250228882, 0.5000516772270203, 0.29859429597854614, -0.2549315094947815, 0.02014579437673092, 0.28014254570007324, -0.13430002331733704, 0.012787993997335434, 0.7136589288711548, 0.6164208650588989, -0.36798274517059326, 0.953599750995636, -0.20388992130756378, -0.14363273978233337, -0.27232858538627625, -0.7086730599403381, -1.0470824241638184, -0.6281601190567017, -0.13521350920200348, -0.03345103561878204, 0.04360898584127426, 0.5003984570503235, 0.6331436634063721, -0.9193692803382874, -0.48051750659942627, 0.1592237800359726, 0.23462724685668945, -0.13694408535957336, -0.19012969732284546, 0.1066514179110527, -0.3470747768878937, -0.8009620904922485, 0.2089565396308899, 0.19742874801158905, 0.42264145612716675, -0.16683971881866455, -0.09160798043012619, -0.317871630191803, -0.162929967045784, 0.6335597038269043, 0.684862494468689, -0.37334373593330383, 0.09704817086458206, 0.049187298864126205, -0.5211912989616394, -0.13425350189208984, 0.7054044604301453, -0.5766274333000183, 0.4018946588039398, 0.5372148156166077, 1.0435285568237305, 0.48464563488960266, -0.34465816617012024, 0.49529120326042175, -0.958906352519989, 0.3673557937145233, 0.19868630170822144, 0.24341456592082977, 0.5240835547447205, -0.29744014143943787, 0.6626133322715759, 0.18125873804092407, -0.3869289457798004, -0.9514710903167725, 0.21491216123104095, -1.0213271379470825, -0.7014081478118896, 1.0682730674743652, -0.004783020354807377, -0.09392665326595306, -0.1800442636013031, -0.35057148337364197, 0.28588247299194336, -0.0583479180932045, 0.5195478200912476, 0.6905902624130249, 0.10430346429347992, -0.0706140324473381, -0.23501721024513245, 0.18033252656459808, 0.21977174282073975, -1.0227183103561401, 0.056358207017183304, 0.37675902247428894, 0.22368326783180237, 0.3627936840057373, 0.6180577874183655, 0.12054480612277985, 0.1503305286169052, -0.05833357572555542, 0.2179950326681137, 0.2526988983154297, -0.6886283159255981, -0.26630935072898865, 0.1580667942762375, -0.5728256702423096, 0.006102732848376036 ]
http://arxiv.org/abs/2406.11025v1
http://arxiv.org/pdf/2406.11025v1
Large Language Models for Dysfluency Detection in Stuttered Speech
2024-06-16T17:51:22
2024-06-16T17:51:22
Dominik Wagner, Sebastian P. Bayerl, Ilja Baumann, Korbinian Riedhammer, Elmar Nöth, Tobias Bocklet
cs.SD
cs.SD, cs.CL, eess.AS
Accurately detecting dysfluencies in spoken language can help to improve the performance of automatic speech and language processing components and support the development of more inclusive speech and language technologies. Inspired by the recent trend towards the deployment of large language models (LLMs) as universal learners and processors of non-lexical inputs, such as audio and video, we approach the task of multi-label dysfluency detection as a language modeling problem. We present hypotheses candidates generated with an automatic speech recognition system and acoustic representations extracted from an audio encoder model to an LLM, and finetune the system to predict dysfluency labels on three datasets containing English and German stuttered speech. The experimental results show that our system effectively combines acoustic and lexical information and achieves competitive results on the multi-label stuttering detection task.
[ -0.3555166721343994, -1.0059796571731567, 0.5284239053726196, 0.2409139722585678, 0.019101060926914215, 0.23995362222194672, -0.15508152544498444, -0.6672912240028381, 0.21454107761383057, 0.5124942064285278, -0.27031925320625305, -0.10914213210344315, -0.7793136239051819, 0.27406707406044006, -0.6951096653938293, 0.7424120306968689, 0.09909394383430481, 0.21267665922641754, -0.009254650212824345, 0.07817200571298599, -0.5045099258422852, -0.6987698078155518, -0.7024884819984436, -0.5071378350257874, 0.4777827560901642, 0.38880887627601624, 0.8376321196556091, 0.3119072914123535, 0.20264595746994019, 0.4279839098453522, -0.29741546511650085, -0.016586674377322197, -0.27508535981178284, 0.5882018208503723, 0.28227531909942627, -0.15504349768161774, -0.5701634287834167, -0.3673221170902252, 1.036353588104248, 0.736976683139801, -0.10430037975311279, -0.16471339762210846, 0.14199711382389069, 0.3222062587738037, -0.2934131324291229, 0.18890447914600372, -0.47556185722351074, -0.02803342230618, -0.41871750354766846, 0.031163597479462624, -0.43333277106285095, 0.0720292404294014, -0.33579185605049133, -0.2498292177915573, 0.14194606244564056, -0.06864654272794724, 0.3971148431301117, 0.3583123981952667, -0.3703310787677765, -0.5139186978340149, -0.7721381783485413, 0.4682452380657196, -0.5792654752731323, 1.0885326862335205, 0.48912739753723145, 0.0442141629755497, -0.47963547706604004, -0.5800268054008484, -0.6934424042701721, -0.5183262228965759, 0.14790691435337067, -0.2558686435222626, -0.3270243704319, 0.1369045525789261, 0.30898386240005493, 0.2630539536476135, -0.832822322845459, 0.7679300308227539, -0.1133420467376709, -0.5366791486740112, 0.657990038394928, -0.13813801109790802, 0.29126694798469543, 0.11633022874593735, -0.06566596031188965, 0.05850643292069435, -0.16978727281093597, -0.276568740606308, 0.44616493582725525, 0.45139726996421814, -0.00666871527209878, 0.3363780081272125, -0.1921188235282898, 0.8366397023200989, -0.306941956281662, -0.546735405921936, 0.3629452884197235, 0.15366218984127045, 0.02886679209768772, 0.4433400630950928, 0.4660640060901642, -0.1977936178445816, 0.49667492508888245, -0.08104407042264938, -0.6326870322227478, 0.022179557010531425, -0.33270949125289917, -0.5667122006416321, -0.3965194523334503, 0.16214537620544434, 0.012055613100528717, -0.03152022138237953, -0.1667320877313614, -0.7493112683296204, -0.5678182244300842, -0.20064429938793182, 0.33203282952308655, -0.2816377282142639, -0.47959277033805847, 0.11376571655273438, -0.14111964404582977, -0.4220128059387207, 0.05119984224438667, -0.8778253197669983, 0.0491148941218853, 0.5630239844322205, 0.7222197651863098, 0.06605470925569534, -0.2946286201477051, -0.9577419757843018, 0.17552383244037628, -0.22285668551921844, 0.673698902130127, -0.6252856254577637, -0.1844610571861267, 0.19183796644210815, 0.07411997765302658, 0.09617307037115097, -0.4404521882534027, 0.6651327610015869, -0.49111148715019226, -0.29851165413856506, 0.16276635229587555, -0.6517983078956604, 0.04176587238907814, -0.07879176735877991, -0.9310309886932373, 0.9462056756019592, -0.06681721657514572, -0.4713771343231201, 0.5199064612388611, -0.4163069725036621, -0.4926658570766449, 0.568474292755127, 0.13282260298728943, -0.521314799785614, 0.2662563621997833, 0.2584128677845001, 0.6759936213493347, 0.058614134788513184, 0.7072277069091797, -0.4372565448284149, -0.3578323423862457, 0.6657293438911438, -0.9925753474235535, 0.5322579741477966, 0.1358538419008255, -0.04858052730560303, -0.1328304409980774, -0.8318920135498047, -0.11901617050170898, 0.12319157272577286, -0.5839596390724182, -0.4328553378582001, -0.1324835568666458, 0.3804565370082855, 0.0445953793823719, 0.05485149100422859, -0.532685399055481, 0.16135267913341522, -0.13997358083724976, 0.569657564163208, 0.3959421217441559, -0.17499573528766632, -0.09579259157180786, 0.03965374827384949, 0.36547112464904785, 0.1942686289548874, -0.19800181686878204, -0.2575583755970001, -0.5294926762580872, -0.6123363375663757, -0.5578973889350891, 0.5437716841697693, 0.36312147974967957, -0.83658367395401, 0.3749004602432251, -0.1435355544090271, -0.2112979292869568, -0.4342549741268158, 0.30837830901145935, 0.30706337094306946, 0.5243716239929199, 0.3127516806125641, 0.06283841282129288, -0.47502896189689636, -0.8992542624473572, -0.1759643703699112, -0.2114870697259903, -0.1261485517024994, -0.1256069540977478, 0.513032853603363, -0.319267600774765, 0.5313650965690613, -0.405783087015152, -0.48609599471092224, -0.21925924718379974, 0.15350711345672607, -0.19871313869953156, 0.29393109679222107, 0.4345240890979767, -0.9555070996284485, -0.3163376748561859, -0.1810772866010666, -0.35444530844688416, -0.3660968840122223, 0.20708389580249786, 0.5643537044525146, 0.5042237043380737, 0.7351207733154297, -0.07027396559715271, 0.15917588770389557, 0.8832535147666931, -0.3830837905406952, 0.4631859064102173, -0.20883353054523468, 0.16178357601165771, -0.6506500840187073, -0.2935493588447571, 0.37452569603919983, -0.41470813751220703, -0.9840836524963379, -0.33781957626342773, 0.11437162756919861, -0.16764019429683685, -0.30520758032798767, 0.4193096458911896, -0.316982239484787, -0.040485430508852005, -0.22460544109344482, 0.2640565037727356, 0.022006308659911156, 0.022376151755452156, 0.10887490957975388, 0.6234859824180603, 0.7760120034217834, -0.5071690678596497, 0.6400032043457031, -0.06996867805719376, -0.33512023091316223, 0.6332087516784668, -0.4355616569519043, -0.01548007968813181, -0.23040026426315308, 0.2535393536090851, -1.4183331727981567, -0.6749164462089539, -0.05237196385860443, -0.31221288442611694, 0.6485796570777893, -0.1078115776181221, -0.7288482785224915, -0.6932333111763, 0.39279890060424805, 0.3189829885959625, 0.2843577563762665, -0.6656278967857361, 0.17605985701084137, 0.7352330684661865, -0.3628556430339813, -0.28221070766448975, -0.8815383911132812, 0.2568036615848541, -0.19200818240642548, -0.6240887641906738, 0.18073301017284393, 0.14168545603752136, -0.133589506149292, -0.1008974015712738, 0.05603073537349701, -0.4741328954696655, 0.13226038217544556, 0.037493761628866196, 0.06481816619634628, -0.12180303782224655, 0.6838967800140381, -0.11247238516807556, 0.046729397028684616, -0.13632744550704956, -0.2019384503364563, 0.5824140906333923, -0.24185700714588165, -0.42939838767051697, -0.5322523713111877, 0.5172620415687561, 0.6077591180801392, -0.040033888071775436, 0.4647311866283417, 0.6907281279563904, -0.6649981737136841, -0.2341284602880478, -0.8745666146278381, -0.261928528547287, -0.4757898151874542, 0.7754185795783997, -0.4581475555896759, -0.9371830821037292, 0.4461701810359955, 0.10339915007352829, -0.3052613437175751, 0.11986162513494492, 0.4831210672855377, -0.021695926785469055, 1.2131320238113403, 0.710780143737793, -0.24006535112857819, 0.44795167446136475, 0.22086286544799805, 0.09002456814050674, -0.33151426911354065, -0.32826516032218933, -0.6758029460906982, -0.20633943378925323, -0.3557340204715729, -0.3157711923122406, 0.36594459414482117, 0.010162602178752422, 0.008535736240446568, 0.008608686737716198, -0.42874717712402344, 0.5049458742141724, 0.2799707353115082, -0.12626416981220245, 0.5673478245735168, 0.29948338866233826, -0.1268816888332367, -0.1751936823129654, -0.8776147961616516, -0.37653040885925293, 0.45693957805633545, 0.6816145777702332, 0.5719636082649231, 0.0316547267138958, 0.6418216228485107, 0.39986085891723633, 0.2410416454076767, -0.8915755152702332, 0.297983855009079, -0.32985150814056396, -0.6361116766929626, -0.545274019241333, -0.45748838782310486, -0.8400173187255859, 0.06647542864084244, -0.28184759616851807, -0.7260907292366028, 0.23275770246982574, 0.26470234990119934, -0.1383141726255417, 0.37692520022392273, -0.63560551404953, 0.5431253910064697, -0.38828375935554504, -0.2634143531322479, -0.009553007781505585, -0.0160268172621727, 0.4738881587982178, -0.4345322847366333, 0.6133681535720825, -0.11468666046857834, 0.11428803205490112, 0.9029197692871094, -0.06852900236845016, 0.8609010577201843, -0.2556299865245819, -0.46226298809051514, 0.2557291090488434, 0.021792149171233177, 0.23849184811115265, -0.04446934163570404, -0.28666046261787415, 0.47185182571411133, -0.10065446048974991, -0.1382468342781067, -0.29409030079841614, 0.8434684872627258, -0.3816487789154053, -0.5613517761230469, -0.4969233572483063, -0.5876771211624146, -0.3674299716949463, 0.11170364171266556, -0.00616060197353363, 0.5428597331047058, -0.30494964122772217, 0.24883747100830078, 0.5870988965034485, -0.024226287379860878, 0.6692286133766174, 0.5223894119262695, -0.23116755485534668, -0.336049348115921, 0.863000214099884, 0.4733964502811432, 0.14695240557193756, -0.04946145787835121, 0.1178654208779335, -0.5849206447601318, -0.46411728858947754, -0.4199371337890625, 0.3175278604030609, -0.7594100832939148, -0.24478183686733246, -0.5541496872901917, -0.2847338616847992, -0.6000871658325195, 0.12742893397808075, -0.34841862320899963, -0.17777526378631592, -0.35000190138816833, 0.09325561672449112, 0.5208654999732971, 0.8798861503601074, -0.23532114923000336, 0.4108189344406128, -0.8518419861793518, 0.3111160397529602, 0.3550960123538971, 0.5977430939674377, 0.02816423773765564, -0.7923187613487244, -0.28313592076301575, 0.09730445593595505, -0.27557000517845154, -1.1027523279190063, 0.6399455666542053, 0.45024099946022034, 0.6346834301948547, 0.3732586205005646, -0.11548642069101334, 0.8034215569496155, -0.32535889744758606, 0.47681376338005066, 0.3062913119792938, -0.9990021586418152, 0.38576531410217285, -0.10140789300203323, 0.15167655050754547, 0.09690311551094055, 0.6451135277748108, -0.7308652400970459, -0.43254968523979187, -0.3607847988605499, -0.7621002793312073, 0.5159023404121399, 0.04108961671590805, -0.045080121606588364, 0.009374787099659443, 0.22878871858119965, -0.07043685764074326, 0.03295443207025528, -0.7902087569236755, 0.048664674162864685, 0.006891282740980387, -0.08549988269805908, -0.3529779016971588, -0.45935431122779846, -0.10598152875900269, -0.15399520099163055, 0.6088575124740601, -0.09695416688919067, -0.13283656537532806, 0.2639916241168976, -0.18605124950408936, -0.14021514356136322, 0.4427471160888672, 0.41936469078063965, 0.18842077255249023, 0.155939981341362, 0.21775583922863007, 0.19681839644908905, -0.619137704372406, 0.4904153048992157, 0.37458112835884094, 0.09707342833280563, 0.11387845873832703, 0.5109330415725708, 0.8601735234260559, 0.3084438741207123, -0.8026981949806213, 0.27052149176597595, 0.10862202197313309, -0.3596709668636322, -0.3883053958415985, 0.003172449069097638, 0.1918814331293106, 0.3829059302806854, 0.5349643230438232, -0.3346153795719147, 0.14018778502941132, -0.5616318583488464, 0.43094125390052795, 0.47154033184051514, -0.46774575114250183, -0.07677682489156723, 0.6567226052284241, 0.20670761168003082, -0.5943530201911926, 0.6098031401634216, -0.28774306178092957, -0.5786882638931274, 0.6035434603691101, 0.7589588165283203, 0.5719541311264038, -0.6793303489685059, 0.08312755078077316, 0.01209201943129301, 0.23585809767246246, -0.3206619918346405, 0.11382308602333069, 0.271382212638855, -0.749186098575592, -0.47239136695861816, -0.7190468311309814, -0.15614835917949677, 0.49401238560676575, -0.48701491951942444, 0.4242132902145386, 0.0074384487234056, -0.3207501471042633, 0.346547394990921, -0.20761273801326752, -0.5728680491447449, 0.04218132793903351, 0.7843939661979675, 0.45635369420051575, -1.2499700784683228, 0.9968538880348206, 0.4939051568508148, -0.11698678880929947, -0.7037758827209473, 0.08617281913757324, 0.07363838702440262, -0.639474630355835, 0.8190255761146545, 0.2350708395242691, -0.02531488798558712, 0.044252652674913406, -0.17544718086719513, -0.9954255223274231, 0.6015446782112122, 0.4541027843952179, -1.1125199794769287, 0.24328821897506714, 0.22592784464359283, 0.5943670868873596, -0.2661644518375397, 0.019285017624497414, 0.8043569922447205, 0.6664968132972717, 0.22069090604782104, -1.2365738153457642, -0.22761976718902588, 0.2553924024105072, -0.25448086857795715, 0.1658628135919571, -0.4471108913421631, 0.7237891554832458, -0.07591155916452408, -0.17672540247440338, -0.26991745829582214, 0.5662344098091125, 0.4320099353790283, 0.48854076862335205, 0.7789285182952881, 0.38635358214378357, 1.0874959230422974, -0.2569446563720703, 0.5852647423744202, -0.15383704006671906, 0.0032830771524459124, 0.719205915927887, -0.30822470784187317, 0.8342161178588867, 0.3015262186527252, -0.028102606534957886, 0.1652134209871292, 0.47909092903137207, -0.11746096611022949, 0.07407117635011673, 0.2448197454214096, -0.33071503043174744, -0.4507105052471161, -0.21121501922607422, -0.3613705337047577, 0.8252784609794617, 0.773174524307251, -0.18328581750392914, -0.1250775307416916, 0.4651198387145996, -0.05213114991784096, 0.03341740369796753, -0.5233516097068787, 0.6594153046607971, 0.035603296011686325, -0.5741420984268188, 1.0107916593551636, -0.07120972126722336, 0.8157539367675781, -0.30114784836769104, 0.016466336324810982, 0.0056155347265303135, 0.22864681482315063, -0.25539401173591614, -0.6959969401359558, 0.21955353021621704, -0.025027811527252197, 0.01971443183720112, -0.23239408433437347, 0.8866400718688965, -0.8698310256004333, -0.7581567764282227, 0.4409962594509125, 0.34131407737731934, 0.4029808044433594, -0.08383112400770187, -0.5368039011955261, 0.49616801738739014, -0.09247495979070663, -0.20114372670650482, 0.31849271059036255, 0.4459109604358673, -0.11155209690332413, 0.7753434777259827, 0.41497135162353516, 0.2668188810348511, 0.02161986194550991, 0.3366994857788086, 0.8251617550849915, -0.3409505784511566, -0.5098482966423035, -0.7527840733528137, 0.31214895844459534, -0.05688384175300598, -0.006656465586274862, 0.5318592190742493, 0.34805846214294434, 0.601992666721344, 0.04427996650338173, 0.7622389197349548, 0.2226531058549881, 0.28187036514282227, -0.5197892785072327, 0.6895641684532166, -0.7228873372077942, 0.13599736988544464, -0.3914085924625397, -0.8380997776985168, -0.5270694494247437, 0.5399789214134216, -0.03045564331114292, 0.07674821466207504, 0.30135926604270935, 0.8719587922096252, 0.0013280212879180908, -0.018914945423603058, 0.7159035801887512, 0.37678542733192444, 0.3702426254749298, 0.3849482238292694, 0.7565552592277527, -0.18525679409503937, 0.6535456776618958, -0.07505462318658829, -0.4688678979873657, -0.5119919180870056, -0.9647621512413025, -0.7286556363105774, -0.8055102229118347, -0.5018178820610046, -0.31232380867004395, 0.1203097328543663, 0.6525301933288574, 0.6582451462745667, -0.6800580024719238, -0.2224423885345459, 0.22677062451839447, 0.28927668929100037, -0.1651575118303299, -0.22725695371627808, -0.05345897004008293, -0.23591561615467072, -0.9826247692108154, 0.75692218542099, 0.17992562055587769, 0.5495225787162781, -0.5591864585876465, 0.08173526078462601, -0.018772857263684273, -0.09360500425100327, 0.6028016209602356, 0.23504376411437988, -0.7083816528320312, -0.21489167213439941, -0.21158526837825775, 0.14836004376411438, -0.18805921077728271, 0.6414315104484558, -0.6499666571617126, 0.39086636900901794, 0.330007940530777, 0.31064915657043457, 0.3701074421405792, -0.29472434520721436, 0.24729563295841217, -0.9369425177574158, 0.601995587348938, 0.46209073066711426, 0.48242664337158203, 0.49014341831207275, -0.41810834407806396, -0.02045002020895481, 0.18550480902194977, -0.6821772456169128, -1.2950001955032349, 0.3292151093482971, -0.5079560875892639, -0.3792409598827362, 1.170941710472107, 0.040255188941955566, 0.06520328670740128, -0.5580945611000061, 0.0768558457493782, 0.334456205368042, -0.5763466954231262, 0.6382703185081482, 0.93719482421875, -0.1443759649991989, -0.14547045528888702, -0.7116677761077881, 0.4317445755004883, 0.26002198457717896, -0.2125626653432846, 0.3006978929042816, 0.7984598278999329, 0.3078818619251251, 0.22981847822666168, 0.37775683403015137, 0.1346462368965149, -0.041813816875219345, 0.23397772014141083, 0.014559662900865078, -0.35729801654815674, -0.5895377993583679, -0.69149249792099, 0.37684205174446106, 0.05369199439883232, 0.13895553350448608 ]
http://arxiv.org/abs/2406.11020v1
http://arxiv.org/pdf/2406.11020v1
RUPBench: Benchmarking Reasoning Under Perturbations for Robustness Evaluation in Large Language Models
2024-06-16T17:26:44
2024-06-16T17:26:44
Yuqing Wang, Yun Zhao
cs.CL
cs.CL
With the increasing use of large language models (LLMs), ensuring reliable performance in diverse, real-world environments is essential. Despite their remarkable achievements, LLMs often struggle with adversarial inputs, significantly impacting their effectiveness in practical applications. To systematically understand the robustness of LLMs, we present RUPBench, a comprehensive benchmark designed to evaluate LLM robustness across diverse reasoning tasks. Our benchmark incorporates 15 reasoning datasets, categorized into commonsense, arithmetic, logical, and knowledge-intensive reasoning, and introduces nine types of textual perturbations at lexical, syntactic, and semantic levels. By examining the performance of state-of-the-art LLMs such as GPT-4o, Llama3, Phi-3, and Gemma on both original and perturbed datasets, we provide a detailed analysis of their robustness and error patterns. Our findings highlight that larger models tend to exhibit greater robustness to perturbations. Additionally, common error types are identified through manual inspection, revealing specific challenges faced by LLMs in different reasoning contexts. This work provides insights into areas where LLMs need further improvement to handle diverse and noisy inputs effectively.
[ -0.2397344708442688, -1.0102754831314087, 0.6822835206985474, 0.2241908460855484, -0.018500827252864838, -0.06365431100130081, -0.31002748012542725, -0.2006951868534088, -0.40726861357688904, 0.44068968296051025, -0.4311668872833252, -0.6275099515914917, -0.7996466755867004, 0.1229180246591568, -0.4404577314853668, 0.6568222045898438, -0.012715577147901058, 0.2812667787075043, -0.3937661051750183, -0.2612271010875702, -0.44243910908699036, -0.5754162669181824, -0.06090984493494034, -0.5408808588981628, 0.5003277063369751, 0.35157763957977295, 0.8107815384864807, 0.5115751624107361, 0.6682672500610352, 0.34218326210975647, -0.15688380599021912, -0.014997478574514389, -0.43829345703125, 0.6642509698867798, -0.33598682284355164, -0.5360935926437378, -0.30010494589805603, -0.1720932275056839, 0.7929590344429016, 0.6934425234794617, -0.23902370035648346, 0.1468464881181717, 0.16129471361637115, 0.34873390197753906, -0.8894538879394531, 0.03613967448472977, -0.8474293351173401, -0.09384910017251968, -0.4096524119377136, 0.056199733167886734, -0.47788190841674805, -0.17209742963314056, -0.14892889559268951, -0.3443054258823395, -0.03497656062245369, -0.17579519748687744, 0.9695530533790588, 0.6528233885765076, -0.1854054182767868, 0.02166125923395157, -0.5456583499908447, 0.9588090777397156, -0.7895448803901672, 0.5448082685470581, 0.30130836367607117, 0.4083436131477356, -0.6705101132392883, -0.9086746573448181, -0.3800587058067322, -0.368948370218277, -0.04088621959090233, -0.030675601214170456, -0.34554052352905273, -0.05434393510222435, 0.5746305584907532, 0.19676263630390167, -0.6503997445106506, 0.24193483591079712, 0.3929922878742218, -0.2344851940870285, 0.2653942406177521, 0.2587282657623291, 0.22107669711112976, -0.04090683534741402, -0.20582972466945648, -0.4569934010505676, -0.6930396556854248, -0.11816030740737915, 0.5238549709320068, 0.11587876081466675, 0.03203950077295303, 0.5269730687141418, -0.24282722175121307, 0.8509490489959717, -0.26968541741371155, -0.24249793589115143, -0.012932365760207176, -0.25101467967033386, -0.21779093146324158, -0.5181075930595398, 0.7877570390701294, 0.15407702326774597, 0.2114909291267395, -0.08702243864536285, -0.29230254888534546, 0.18680612742900848, 0.03230825066566467, -0.6112266778945923, -0.30803635716438293, 0.13503439724445343, -0.18344056606292725, -0.3170658051967621, -0.07381942123174667, -1.0707893371582031, -0.6464279294013977, -0.022942349314689636, 0.16463133692741394, -0.2924945652484894, -0.031007738783955574, 0.20726709067821503, 0.0498826690018177, 0.13532672822475433, 0.3681303560733795, -0.7141648530960083, 0.3673161268234253, 0.798011302947998, 0.3507477641105652, -0.13883458077907562, -0.47254082560539246, -0.8680121898651123, -0.008579357527196407, -0.15260514616966248, 0.9814740419387817, -0.7923768162727356, -0.21045218408107758, -0.1334899514913559, -0.2784433662891388, -0.11147350072860718, -0.6027854681015015, 0.9075063467025757, -0.43779051303863525, 0.003339327871799469, -0.29939162731170654, -0.37510934472084045, 0.03432634472846985, 0.5230724811553955, -0.6627615094184875, 1.0816830396652222, 0.03144775703549385, -0.9412040114402771, 0.41247808933258057, -0.25549113750457764, -0.4642845094203949, -0.02978823333978653, -0.33645856380462646, -0.42301878333091736, 0.105901800096035, 0.3246113359928131, 0.2914452850818634, -0.6331602931022644, 0.2077682465314865, -0.77535480260849, -0.32444068789482117, 0.6752640604972839, -0.5877748727798462, 0.7860114574432373, 0.09970927238464355, -0.359370619058609, 0.36265769600868225, -0.8965421319007874, 0.18295128643512726, 0.1825224757194519, -0.3604564666748047, -0.12259401381015778, 0.23804406821727753, -0.11843249946832657, 0.08313071727752686, 0.037172164767980576, -0.20329821109771729, 0.07342900335788727, -0.13463732600212097, 0.5113970041275024, 0.7313953042030334, -0.15567918121814728, -0.0794946551322937, -0.23813503980636597, 0.6869232058525085, -0.16574226319789886, -0.06986857205629349, -0.11718665063381195, -0.24468781054019928, -0.7025023102760315, -0.3467349112033844, 0.6003831624984741, 0.718603253364563, -0.2556414306163788, 0.38963407278060913, -0.2757508456707001, -0.3968243896961212, -0.1644594520330429, 0.27843567728996277, 0.2539333999156952, 0.47966864705085754, 0.25044766068458557, -0.03679497167468071, -0.43360766768455505, -0.8696692585945129, -0.6406954526901245, -0.13967616856098175, -0.03621575981378555, 0.12889525294303894, 0.5192487239837646, -0.2582441568374634, 0.47906532883644104, -0.15994477272033691, 0.055502668023109436, -0.33025628328323364, 0.12029635161161423, 0.07058130204677582, 0.22826220095157623, 0.26763272285461426, -0.39929670095443726, -0.179192915558815, -0.08576091378927231, -0.6010406017303467, -0.4284427762031555, -0.12216781824827194, 0.016819603741168976, 0.335453063249588, 0.48433375358581543, -0.6084741950035095, 0.43024829030036926, 0.7732293605804443, -0.2954767048358917, 0.677291989326477, 0.01257463451474905, -0.016348538920283318, -0.6601351499557495, 0.16459709405899048, -0.06735483556985855, -0.26097190380096436, -0.14193306863307953, 0.3945437967777252, -0.07704627513885498, 0.04930499568581581, -0.03701816499233246, 0.25925108790397644, -0.35911571979522705, -0.1905432939529419, -0.00623534619808197, 0.29325491189956665, 0.008813214488327503, 0.05205667391419411, -0.16576260328292847, 0.6737003922462463, 0.5655853152275085, -0.2967131435871124, 0.5684282779693604, 0.014986904338002205, -0.437813937664032, 0.40413743257522583, -0.6618043184280396, 0.21832376718521118, 0.1542680710554123, 0.42975422739982605, -0.9323230981826782, -0.3965330719947815, 0.0035520142409950495, -0.4009902775287628, 0.19757921993732452, -0.28522205352783203, -0.8545899391174316, 0.031194372102618217, -0.17313992977142334, 0.2397715300321579, 0.25433051586151123, -0.5329480767250061, 0.811880886554718, 0.25683826208114624, -0.0964781865477562, -0.8376766443252563, -0.6409198641777039, 0.2016099989414215, -0.36560216546058655, -0.7989698052406311, -0.12391170859336853, 0.07041548192501068, -0.5847179293632507, -0.08896470814943314, -0.2811443507671356, 0.07764337211847305, 0.38068071007728577, 0.14637701213359833, 0.16800320148468018, -0.09748079627752304, -0.13412164151668549, -0.2623080611228943, -0.22337029874324799, 0.16348858177661896, 0.021301960572600365, 0.7044883370399475, -0.41982701420783997, -0.6264452934265137, -0.1803382933139801, 0.08666514605283737, 0.6485439538955688, -0.2809165120124817, 0.4779217541217804, 0.49806684255599976, -0.30896326899528503, -0.535193920135498, -0.6669893860816956, -0.25718167424201965, -0.4405994415283203, 0.42717888951301575, -0.5569812059402466, -0.8225950598716736, 0.707664966583252, -0.10796615481376648, -0.02234828844666481, 0.2685242295265198, 0.6381915211677551, 0.038306497037410736, 0.8908029794692993, 0.20355618000030518, -0.014232135377824306, 0.19396014511585236, 0.1538771241903305, 0.0501474067568779, -0.44085946679115295, -0.05587351322174072, -0.7872219681739807, -0.19819375872612, -0.5741909146308899, -0.5533244609832764, 0.1585615873336792, 0.11949510872364044, -0.2400592565536499, 0.20546957850456238, -0.13465267419815063, 0.527070164680481, 0.4218136966228485, -0.32737141847610474, 0.48910561203956604, 0.05362050235271454, -0.46396204829216003, -0.14963172376155853, -0.7393202185630798, -0.7100462913513184, 1.0223479270935059, 0.40137457847595215, 1.104810118675232, 0.17461173236370087, 0.37001535296440125, -0.06914043426513672, 0.2019282430410385, -0.5645513534545898, 0.6978276968002319, -0.13932277262210846, -0.5817644596099854, -0.14996396005153656, -0.639632523059845, -0.8615548014640808, 0.471986323595047, -0.39865630865097046, -0.990686297416687, 0.09394045174121857, 0.13373246788978577, -0.06097180023789406, 0.36343103647232056, -0.4623786509037018, 1.0251480340957642, -0.3619967997074127, -0.6571295857429504, -0.3275120258331299, -0.5161839723587036, 0.3710739314556122, 0.06985840946435928, 0.16108782589435577, -0.10523024946451187, -0.0702047124505043, 0.181326761841774, -0.2044134885072708, 0.6503763198852539, 0.17691640555858612, -0.15378019213676453, 0.1048727035522461, 0.4504375457763672, 0.6726722717285156, 0.17709608376026154, -0.13713721930980682, 0.28912994265556335, 0.1499469131231308, -0.37733325362205505, -0.5947638154029846, 0.8836077451705933, -0.6035667061805725, -0.617543637752533, -0.6258814334869385, -0.6883208155632019, -0.6702163219451904, 0.273061603307724, 0.327759712934494, 0.4207177460193634, -0.18099425733089447, 0.4281034469604492, 0.6921833157539368, -0.24911364912986755, 0.21415121853351593, 0.46564674377441406, -0.21733303368091583, -0.40386396646499634, 0.588940441608429, 0.014601757749915123, 0.3282215893268585, 0.34099388122558594, 0.21830891072750092, -0.23906277120113373, -0.819231390953064, -0.3653815984725952, 0.016356678679585457, -0.9630352854728699, -0.1376478523015976, -0.3726195693016052, 0.1316070556640625, -0.2918492555618286, 0.18537653982639313, -0.34130001068115234, -0.37707072496414185, 0.0019922414794564247, -0.010561131872236729, -0.05626097321510315, 0.6238084435462952, 0.05493133142590523, -0.05499015375971794, -0.628711462020874, 0.17845779657363892, 0.28604915738105774, 0.6419563889503479, -0.20052912831306458, -0.45415687561035156, 0.17236445844173431, -0.2926504909992218, -0.26544106006622314, -0.8083353638648987, -0.07013428211212158, -0.05518344044685364, 0.7695776224136353, 0.26302334666252136, 0.03450283780694008, 0.6028281450271606, -0.15045513212680817, 0.5470494031906128, -0.1418917328119278, -0.9346681237220764, 0.4230404794216156, -0.6063038110733032, 0.38603198528289795, 0.60960853099823, -0.01311931200325489, -0.26275938749313354, -0.34354516863822937, -0.5355600118637085, -0.8618891835212708, 0.4189946949481964, 0.025973454117774963, -0.19275178015232086, 0.20043465495109558, 0.16799521446228027, 0.0415344312787056, -0.09554092586040497, -0.87675940990448, 0.004556025378406048, -0.10518061369657516, -0.04603986814618111, 0.19266384840011597, -0.3102891743183136, -0.3378746807575226, -0.07776396721601486, 0.6054822206497192, -0.1208096444606781, -0.23911048471927643, -0.056406810879707336, -0.22773365676403046, -0.1724400818347931, 0.4944465756416321, 0.5273399353027344, 0.8479971885681152, 0.00721137598156929, 0.2772631049156189, 0.48517125844955444, -0.2540076673030853, -0.07523172348737717, 0.32418936491012573, -0.16011404991149902, -0.29583877325057983, 0.623149037361145, 0.573529839515686, 0.20138993859291077, -1.069819688796997, 0.3481515645980835, -0.2736571133136749, -0.044305212795734406, -0.264009028673172, 0.183041051030159, 0.13053499162197113, 0.11207691580057144, 0.0001800811296561733, 0.03310394287109375, 0.04636198654770851, -0.4340508282184601, 0.07944180071353912, 0.5552155375480652, -0.06996385008096695, -0.09854119271039963, 0.5442231297492981, -0.0175258070230484, 0.006509996019303799, 0.5921517014503479, 0.06746140867471695, -0.3935096263885498, 0.274632066488266, 0.48662787675857544, 0.7196192145347595, 0.019822049885988235, -0.24344328045845032, 0.23594515025615692, 0.5396262407302856, -0.1256519854068756, 0.15188026428222656, 0.15810438990592957, -0.7842016816139221, -0.728905439376831, -0.465246319770813, -0.6715612411499023, 0.4633239507675171, -0.6327613592147827, 0.25183841586112976, -0.752500593662262, -0.2040349692106247, -0.05911700800061226, -0.08299476653337479, -0.4244453012943268, 0.03845984488725662, 0.0903904139995575, 0.937934935092926, -0.631648063659668, 0.6833924055099487, 1.0118149518966675, -0.17442825436592102, -0.8595947623252869, 0.22411251068115234, 0.2906140983104706, -0.5695851445198059, 0.32500511407852173, -0.06984186917543411, -0.43375831842422485, -0.3927391469478607, -0.5409714579582214, -0.801871657371521, 0.7980358004570007, 0.8309780359268188, -0.715448260307312, 0.4239049255847931, 0.18782354891300201, 0.5111908316612244, -0.05263981968164444, 0.20621061325073242, 0.8826127052307129, 0.7275769114494324, 0.014677458442747593, -0.7482286691665649, 0.12872180342674255, -0.1858234405517578, -0.1568809598684311, 0.14747081696987152, -0.636682391166687, 0.5957792401313782, -0.04849296808242798, -0.18634068965911865, 0.2747347056865692, 0.4629630148410797, 0.558242917060852, -0.10339387506246567, 0.5758833289146423, 0.9792703986167908, 0.7699642181396484, -0.5011681318283081, 1.1475287675857544, -0.27055245637893677, 0.14769800007343292, 1.2706818580627441, -0.45459163188934326, 0.9184242486953735, 0.3071329593658447, -0.3277817964553833, 0.6319160461425781, 0.38658085465431213, -0.1393989473581314, -0.014573263935744762, 0.40056899189949036, -0.15338847041130066, -0.6725287437438965, 0.19297632575035095, -0.230599507689476, 0.5206597447395325, 0.3833391070365906, 0.013417874462902546, -0.34789571166038513, -0.4827116131782532, 0.0499698780477047, 0.32584694027900696, 0.15743914246559143, 0.5969775915145874, -0.016586270183324814, -0.7737625241279602, 0.59339839220047, 0.0511542484164238, 0.4233633875846863, -0.705755352973938, -0.05438172444701195, -0.20327328145503998, 0.596219003200531, -0.320056289434433, -0.7983899116516113, 0.11753297597169876, 0.07138539105653763, 0.03402365744113922, -0.07455527782440186, 0.8923873901367188, -0.061924804002046585, -0.4217263162136078, 0.4804224669933319, 0.35673972964286804, -0.005028229672461748, 0.10671817511320114, -0.7293127179145813, 0.6366742849349976, -0.10117751359939575, -0.3143911063671112, 0.5591425895690918, 0.4695233404636383, -0.06882286071777344, 0.9347877502441406, 0.5654609799385071, 0.198396697640419, -0.0031958369072526693, 0.3024575412273407, 0.8367342948913574, -0.555565357208252, -0.09630884230136871, -0.9077419638633728, 0.4291675388813019, -0.033581722527742386, -0.47844693064689636, 0.9731366038322449, 0.3396645486354828, 0.733497679233551, 0.22604401409626007, 0.7424870729446411, 0.1191459372639656, 0.495155930519104, -0.4275371730327606, 0.43196728825569153, -0.28041183948516846, 0.6674144864082336, -0.4247371256351471, -1.0058674812316895, -0.5530298352241516, 0.8422467112541199, -0.3568113446235657, 0.13677817583084106, 0.6389372944831848, 0.7951817512512207, 0.03916436433792114, 0.1011415347456932, 0.2816416323184967, 0.40980881452560425, 0.31857940554618835, 0.3219597637653351, 1.0803980827331543, -0.07875896990299225, 0.8340592980384827, -0.17514678835868835, -0.22137507796287537, -0.03175196051597595, -1.2300870418548584, -0.8464695811271667, -0.1704459935426712, -0.2811988890171051, -0.6478398442268372, 0.12351509183645248, 0.5741477608680725, 0.5552229285240173, -0.9204158782958984, -0.2894706726074219, -0.24197952449321747, 0.2886635661125183, -0.18594588339328766, -0.21060588955879211, 0.10084334760904312, -0.47414082288742065, -0.532180666923523, 0.5952996611595154, 0.17042356729507446, -0.23412151634693146, -0.43533575534820557, 0.15659599006175995, -0.01626262255012989, 0.05527060106396675, 0.29484695196151733, 0.19572409987449646, -0.7761574387550354, -0.30743107199668884, -0.1701490879058838, -0.009571085684001446, -0.05557917430996895, 0.7519105076789856, -0.6782211065292358, 0.31423622369766235, 0.7020901441574097, 0.707951009273529, 0.4070271849632263, 0.07653404772281647, 0.5744280219078064, -0.4114534854888916, 0.07724738121032715, 0.3303467631340027, 0.6337140202522278, 0.4787959158420563, 0.06096719577908516, 0.5668039321899414, 0.1615365445613861, -0.7414190173149109, -1.0843676328659058, 0.4023713171482086, -0.9163437485694885, -0.3336697816848755, 1.2626373767852783, -0.3196582496166229, 0.00013868276437278837, -0.07970011979341507, 0.05734211951494217, -0.18978941440582275, -0.21289728581905365, 0.6182669997215271, 1.1109572649002075, -0.07356119900941849, -0.28644970059394836, -0.5545439720153809, 0.19065697491168976, 0.7615998387336731, -0.7772969603538513, 0.41759854555130005, 0.8113523721694946, 0.6359314322471619, -0.030916189774870872, 0.08803888410329819, -0.4128105342388153, 0.26267075538635254, 0.2691338360309601, -0.23049364984035492, -0.01563742570579052, -0.24823951721191406, -0.4397396743297577, 0.37654900550842285, 0.4522867500782013, 0.32376736402511597 ]
http://arxiv.org/abs/2406.11016v1
http://arxiv.org/pdf/2406.11016v1
Optimized Speculative Sampling for GPU Hardware Accelerators
2024-06-16T17:19:23
2024-06-16T17:19:23
Dominik Wagner, Seanie Lee, Ilja Baumann, Philipp Seeberger, Korbinian Riedhammer, Tobias Bocklet
cs.LG
cs.LG, cs.CL
In this work, we optimize speculative sampling for parallel hardware accelerators to improve sampling speed. We notice that substantial portions of the intermediate matrices necessary for speculative sampling can be computed concurrently. This allows us to distribute the workload across multiple GPU threads, enabling simultaneous operations on matrix segments within thread blocks. Additionally, we use fast on-chip memory to store intermediate results, thereby minimizing the frequency of slow read and write operations across different types of memory. This results in profiling time improvements ranging from 6% to 13% relative to the baseline implementation, without compromising accuracy. To further accelerate speculative sampling, probability distributions parameterized by softmax are approximated by sigmoid. This approximation approach results in significantly greater relative improvements in profiling time, ranging from 37% to 94%, with a slight decline in accuracy. We conduct extensive experiments on both automatic speech recognition and summarization tasks to validate the effectiveness of our optimization methods.
[ -0.6984533667564392, -1.0324512720108032, 0.7315137386322021, 0.11983738094568253, -0.26308923959732056, 0.3857550621032715, -0.2118844985961914, -0.38595497608184814, 0.28400522470474243, -0.07190591841936111, -0.37406590580940247, -0.12798957526683807, -0.42450952529907227, -0.24808503687381744, -0.22115124762058258, 0.7299087643623352, -0.04392791539430618, -0.26699185371398926, -0.15031291544437408, -0.0022296099923551083, -0.15899258852005005, -0.2316531240940094, -0.7467434406280518, -0.05214401334524155, 0.3157086968421936, 0.3887563943862915, 0.395832896232605, 0.7703948020935059, 0.481685608625412, 0.3120719790458679, -0.11141713708639145, 0.08886967599391937, -0.5647437572479248, 0.08469315618276596, 0.3293372392654419, -0.3275206983089447, -0.5419871211051941, 0.09225166589021683, 0.9378509521484375, 0.4583636224269867, -0.45943114161491394, 0.6766465902328491, -0.04865613952279091, 0.20643675327301025, -0.9842656254768372, 0.06583151966333389, -0.348970890045166, 0.2720913290977478, -0.6954118013381958, -0.6014497876167297, -0.36829039454460144, -0.5671002268791199, -0.2755689322948456, -0.8481423258781433, 0.8277949690818787, 0.18664075434207916, 0.24076783657073975, 0.30411937832832336, 0.2919764220714569, 0.32856932282447815, -1.0411320924758911, 0.785647988319397, -0.39292457699775696, 0.02260354347527027, 0.2010311782360077, 0.4332091510295868, 0.10952594131231308, -0.8166701197624207, -0.39318445324897766, -0.0727493017911911, 0.21972382068634033, 0.11255813390016556, -0.2046327143907547, 0.2055070847272873, 0.6395121216773987, 0.35104095935821533, -0.707207202911377, 0.012802665121853352, -0.7268195152282715, -0.35592156648635864, 0.5250512361526489, 0.3353407084941864, -0.07930339127779007, 0.4353620111942291, -0.282462477684021, -0.23468057811260223, -0.6729223132133484, 0.02892359159886837, 0.6314370632171631, 0.06615250557661057, 0.01106396596878767, 0.2573045790195465, -0.10517700016498566, 0.6079838871955872, 0.1015036553144455, -0.11076314747333527, 0.32248231768608093, -0.43509647250175476, -0.21798409521579742, 0.19698870182037354, 0.6956223845481873, 0.1834312081336975, -0.21329449117183685, -0.13190336525440216, -0.12093372642993927, 0.1531044840812683, 0.41543856263160706, -1.1107027530670166, -0.10973234474658966, 0.43791842460632324, -0.36064907908439636, -0.04277976602315903, -0.1843726634979248, -1.1859004497528076, -0.0987926721572876, -0.10833040624856949, 0.025761689990758896, -0.1759488880634308, 0.00577985355630517, -0.030326278880238533, -0.5277342796325684, -0.14854393899440765, 0.09615964442491531, -1.0720596313476562, 0.7640548944473267, 0.77602618932724, 0.8148981332778931, -0.35746288299560547, -0.009872036054730415, -0.9348224401473999, 0.2444303035736084, -0.341190367937088, 0.9802641868591309, -0.774995744228363, -0.7914981842041016, -0.36866527795791626, -0.3886156976222992, -0.11297688633203506, -0.5580228567123413, 0.7466182708740234, -0.17875578999519348, -0.38199523091316223, -0.3103385865688324, -0.3625323474407196, 0.12983837723731995, -0.09613481909036636, -0.6138529181480408, 1.2597365379333496, -0.05178749933838844, -0.6963562369346619, 0.418703556060791, -0.393081396818161, -0.389212042093277, 0.2112700492143631, -0.4181106984615326, -0.3030134439468384, 0.5620343685150146, 0.36424529552459717, 0.3027591109275818, -0.25530698895454407, -0.048526450991630554, -0.4213844835758209, -1.1109997034072876, 0.04936295747756958, -0.3284907639026642, 0.2981204688549042, 0.48226892948150635, -0.3534024655818939, 0.3030071258544922, -0.3981080651283264, 0.008280321955680847, -0.16614927351474762, -0.06008411571383476, -0.035063426941633224, -0.08303564786911011, 0.10479290038347244, -0.2589660882949829, 0.08337344229221344, -0.8281739950180054, 0.14532488584518433, -0.14001674950122833, 0.28608840703964233, 1.011224627494812, -0.19958630204200745, 0.2726270854473114, -0.24736528098583221, 0.7804107069969177, -0.25260430574417114, 0.42436859011650085, 0.08434920012950897, -0.7208895683288574, -0.2720426023006439, -0.29562512040138245, 0.13233044743537903, 0.6572300791740417, -0.7648741006851196, -0.16680534183979034, 0.08023311197757721, -0.5182567834854126, -0.5482879281044006, 0.14422006905078888, 0.6315733790397644, 0.6693277359008789, 0.31915083527565, -0.4053996801376343, -0.43142446875572205, -0.9077739715576172, -0.2186514139175415, -0.19635334610939026, 0.05984595790505409, 0.5940232872962952, -0.017966024577617645, 0.11068442463874817, 0.5077003836631775, -0.870653510093689, 0.15496926009655, -0.14535988867282867, 0.38490772247314453, 0.498708039522171, 0.5730648636817932, 0.728121280670166, -0.4560937285423279, -0.303559809923172, -0.27317187190055847, -0.43357229232788086, 0.09609223157167435, 0.1564265489578247, -0.09988050162792206, -0.18608473241329193, 0.7237756252288818, -0.5731616616249084, 0.4883328080177307, 0.18317542970180511, 0.19115829467773438, 0.5892956852912903, -0.5488302707672119, 0.331205278635025, -0.7967495918273926, 0.18088124692440033, 0.16960527002811432, -0.052145786583423615, -0.5608474612236023, 0.16694918274879456, -0.0980038121342659, -0.04065828397870064, -0.4839930236339569, 0.3790781497955322, -0.28045573830604553, -0.19854487478733063, -0.4796513617038727, -0.06497159600257874, -0.3302686810493469, 0.28924205899238586, -0.19385746121406555, 1.4010584354400635, 0.6606916785240173, -0.5860796570777893, 0.2400045096874237, -0.22791914641857147, -0.1816851794719696, 0.2052033692598343, -0.789527952671051, 0.5172371864318848, -0.45516660809516907, 0.25563815236091614, -0.9271734952926636, 0.07310609519481659, 0.1570943146944046, -0.37295812368392944, 0.4832516014575958, -0.09169760346412659, -0.6039573550224304, -0.5847352147102356, -0.5304268002510071, 0.8311523795127869, 0.7460636496543884, -0.2539929449558258, 0.717181384563446, 0.8853256106376648, -0.4587666988372803, -0.8802160620689392, -0.6715486645698547, -0.3773134648799896, -0.06503374129533768, -0.2959647476673126, 0.5623828768730164, -0.21446149051189423, -0.3398003578186035, -0.13525107502937317, 0.17495088279247284, 0.06395784020423889, 0.018050184473395348, 0.27187904715538025, 0.5779728293418884, -0.34000134468078613, -0.20163828134536743, 0.26488643884658813, -0.3362645208835602, -0.1353192925453186, -0.4545789361000061, 0.7471722364425659, -0.16651688516139984, -0.011514334008097649, -0.40054821968078613, 0.3443772792816162, 0.06335867196321487, 0.22785846889019012, 0.17502695322036743, 1.2270708084106445, -0.4382919371128082, -0.009545991197228432, -0.7168614268302917, -0.38135698437690735, -0.5609554648399353, 0.2430635392665863, -0.4177212119102478, -0.7820973992347717, 0.48454174399375916, 0.2941345274448395, 0.3013503849506378, 0.4290396571159363, 0.7815839052200317, 0.03609166294336319, 1.0239176750183105, 0.5130478143692017, -0.5031656622886658, 0.2951800227165222, -0.1458553671836853, 0.036960575729608536, -0.8257442712783813, 0.010883770883083344, -0.5690175890922546, -0.6543818712234497, -0.5294074416160583, -0.8389092087745667, 0.3737994432449341, -0.41402682662010193, 0.3221243917942047, 0.056474581360816956, -0.5573834180831909, 0.5596055388450623, 0.7252458930015564, 0.07867932319641113, -0.06902949512004852, 0.29326239228248596, -0.31380870938301086, -0.06427332013845444, -0.6330689787864685, -0.05121854320168495, 1.153792381286621, -0.08892140537500381, 0.8075826168060303, -0.4541837275028229, 0.4618830978870392, 0.21303924918174744, 0.5049661993980408, -0.27467286586761475, 0.6701769232749939, -0.2457035779953003, -0.6635330319404602, 0.0036441092379391193, -0.44599276781082153, -0.5671439170837402, 0.10919605195522308, 0.1177377849817276, -0.9151423573493958, 0.30880290269851685, 0.49703845381736755, -0.9080672860145569, 0.6028245091438293, -0.6129687428474426, 0.4553413987159729, 0.31289389729499817, -0.5825691223144531, -0.591502845287323, -0.35033950209617615, 0.37425073981285095, 0.08605913817882538, -0.14905662834644318, -0.15816552937030792, 0.020038548856973648, 0.7810138463973999, -0.2406446635723114, 0.4571789801120758, -0.29390135407447815, 0.41945573687553406, 0.5031100511550903, -0.17124298214912415, 0.2725694179534912, 0.2780297100543976, -0.19597266614437103, -0.09642530232667923, -0.23304226994514465, -0.6155993938446045, -0.17423678934574127, 0.8274081349372864, -0.6259822845458984, -0.4720310866832733, -0.4688759446144104, -0.8487502932548523, -0.39487048983573914, -0.2649042308330536, 0.2887256145477295, 0.5525368452072144, -0.15403148531913757, -0.02654695138335228, 0.6167339086532593, -0.08854229003190994, 0.6910706758499146, 0.09660942852497101, 0.13010916113853455, -0.11803179979324341, 1.0363693237304688, -0.22119303047657013, 0.06156010925769806, 0.0848611444234848, -0.008824781514704227, -0.2291792333126068, -0.8077696561813354, -0.5702939033508301, 0.25696778297424316, -0.26557934284210205, 0.09622931480407715, -0.7040336728096008, 0.020053204149007797, -0.643243670463562, -0.05344223976135254, -0.44226211309432983, -0.5136980414390564, -0.29126355051994324, -0.14547207951545715, 0.2848031520843506, 0.1289515346288681, -0.24249626696109772, 0.5101045370101929, -0.60688716173172, 0.47571849822998047, 0.023502178490161896, 0.054659441113471985, -0.14339835941791534, -0.6060103178024292, 0.007761694025248289, -0.2949640452861786, -0.28239068388938904, -0.2503116726875305, 0.39697638154029846, 0.18439117074012756, 0.859752357006073, 0.5931342840194702, -0.3798917829990387, 1.1330901384353638, -0.4880109131336212, 0.4607008397579193, -0.1269187331199646, -0.5593164563179016, 0.48582297563552856, -0.08670544624328613, 0.2993045747280121, 1.0523781776428223, 0.5635085701942444, -0.1443195939064026, -0.4886491596698761, -0.6596133708953857, -0.7200972437858582, 0.7211374640464783, 0.244122713804245, 0.02436249330639839, 0.20971329510211945, 0.4927060306072235, 0.051220934838056564, 0.19134776294231415, 0.4255822002887726, -0.560762882232666, 0.2623966634273529, -0.016139153391122818, -0.4745147228240967, -0.3009423315525055, -0.4269406199455261, -0.43684151768684387, 0.6380267143249512, -0.20591114461421967, 0.6176914572715759, 0.023555397987365723, 0.12247519195079803, -0.04721851274371147, 0.030818400904536247, 0.7577003240585327, 0.8329795002937317, -0.6525015830993652, 0.09134577214717865, 0.13340018689632416, -1.2236716747283936, -0.24037568271160126, 0.7208929657936096, -0.3276440501213074, 0.07068557292222977, -0.49024927616119385, 0.882732093334198, -0.01821209117770195, -0.7544231414794922, 0.19107167422771454, -0.6644394993782043, -0.09636849164962769, -0.16654998064041138, 0.1862419992685318, -0.05212247371673584, 0.1569262146949768, 0.5081045627593994, 0.4422381818294525, 0.5993331670761108, -0.33940014243125916, 0.3332926034927368, 0.3537527322769165, -0.21732737123966217, -0.3604055643081665, 0.9481337666511536, -0.3170095980167389, 0.05310789868235588, 0.8861903548240662, -0.3048543632030487, -0.10240712016820908, 0.6988820433616638, 0.42512112855911255, 0.8611928820610046, -0.34933552145957947, -0.017508620396256447, 0.5688996911048889, 0.21501043438911438, -0.10286521166563034, 0.6227261424064636, -0.43616512417793274, -0.502997875213623, -0.5104517936706543, -0.8380395770072937, -0.7467566728591919, -0.3077366352081299, -0.7154349088668823, 0.04479150101542473, -0.7955365180969238, -0.5007821321487427, 0.11970075964927673, -0.048058588057756424, -0.5467720031738281, -0.024917839094996452, 0.33878907561302185, 0.768875241279602, -0.6767756342887878, 0.9800084829330444, 0.1970963180065155, 0.06401848047971725, -0.7726266980171204, -0.5168610215187073, 0.13152150809764862, -0.7256162166595459, 0.2844892740249634, 0.025987112894654274, -0.00844451691955328, -0.0672997534275055, -0.10499028116464615, -0.64236980676651, 1.0422776937484741, 0.39837023615837097, -0.6299756169319153, 0.21261338889598846, -0.0980261042714119, 0.235166996717453, -0.02606801874935627, 0.6985507607460022, 0.9072205424308777, 0.3357911705970764, 0.30526232719421387, -0.6865392923355103, 0.059886910021305084, -0.6825931668281555, -0.10697334259748459, 0.27886539697647095, -0.5043896436691284, 1.1064443588256836, -0.3338741064071655, -0.022478697821497917, 0.14158840477466583, 0.8614044785499573, 0.8069632649421692, 0.3578842878341675, 0.5381346344947815, 0.6243136525154114, 0.9637492299079895, -0.23709797859191895, 1.4363235235214233, -0.62436842918396, 0.06092333048582077, 0.9521757960319519, -0.23977386951446533, 0.7646961808204651, 0.505739688873291, -0.21443778276443481, -0.016075609251856804, 0.6668762564659119, -0.11037428677082062, 0.24524883925914764, 0.17511789500713348, -0.6844439506530762, 0.04201348498463631, -0.10232070088386536, -0.5129790902137756, 0.09647812694311142, 0.49960121512413025, -0.31734561920166016, -0.041220102459192276, -0.08356448262929916, 0.006660932675004005, -0.6500542759895325, -0.5435645580291748, 0.19022737443447113, -0.0312206894159317, -0.8068274259567261, 0.28376486897468567, 0.09219882637262344, 0.8298162221908569, -0.3255808353424072, 0.176752507686615, -0.1331826150417328, 0.45573365688323975, -0.013173510320484638, -0.49845725297927856, 0.26420459151268005, -0.08202255517244339, 0.08556581288576126, -0.3131997585296631, 0.9031495451927185, -0.07469314336776733, -0.8053560256958008, -0.17096573114395142, 0.20100286602973938, 0.4667738676071167, -0.15009362995624542, -0.41131392121315, 0.35599905252456665, -0.41677212715148926, -0.08605494350194931, 0.4289441704750061, -0.25892919301986694, 0.09482333064079285, 0.2916671931743622, 0.8461620807647705, 0.377789705991745, 0.5010614991188049, 0.2146281898021698, 1.0015674829483032, -0.45758238434791565, -0.5691015124320984, -0.775357186794281, -0.03823021799325943, -0.2847157418727875, -0.547399640083313, 0.7503385543823242, 1.1439859867095947, 0.5614160299301147, -0.04349946230649948, 0.5498045086860657, 0.08343455940485, 0.3197328746318817, -0.4243800938129425, 0.5019538402557373, -0.23425492644309998, 0.03043561987578869, -0.27692216634750366, -0.8390656113624573, -0.1073925793170929, 0.2656075954437256, -0.2574365735054016, 0.05857430398464203, 0.5578424334526062, 0.9684587717056274, -0.2729177474975586, 0.367958128452301, 0.05740736424922943, 0.18350769579410553, 0.28214648365974426, 0.6582202911376953, 0.45755550265312195, -0.39429157972335815, 0.3683357834815979, -0.5973735451698303, -0.3428391218185425, -0.15933872759342194, -0.543260395526886, -0.417682409286499, -0.18430155515670776, -0.3709484338760376, -0.3126576244831085, 0.2633780837059021, 0.37364324927330017, 0.9169800877571106, -0.6952658891677856, -0.4936656057834625, 0.11823954433202744, -0.3829317092895508, -0.35128575563430786, -0.17913411557674408, 0.28116264939308167, -0.3450115919113159, -0.9712747931480408, 0.6502312421798706, 0.523269534111023, -0.20385967195034027, -0.2125336080789566, 0.1499156653881073, 0.09721757471561432, 0.15384681522846222, 0.3064614236354828, 0.6608736515045166, -0.21753978729248047, 0.06094151735305786, 0.06261812150478363, 0.06427350640296936, 0.19625645875930786, 1.3288161754608154, -1.1129742860794067, 0.4244508743286133, 0.8639141321182251, 0.7491039037704468, 1.34089994430542, 0.22387583553791046, 0.44503840804100037, -0.5982756018638611, 0.6243996024131775, 0.45615094900131226, 0.42898452281951904, -0.02510695904493332, -0.35879161953926086, 0.25209540128707886, 0.4411340653896332, -0.4655371308326721, -0.8326528072357178, -0.3684749901294708, -1.3866220712661743, -0.05225431174039841, 0.8777914047241211, -0.022970089688897133, -0.6317155361175537, -0.028233453631401062, 0.036583416163921356, 0.18480217456817627, -0.5530592203140259, 0.5863142013549805, 0.1424742341041565, -0.5147335529327393, 0.026708204299211502, -0.9446386098861694, 0.5626463294029236, 0.41218164563179016, -0.8065319657325745, -0.24000826478004456, 0.33970218896865845, 0.14206109941005707, 0.13348466157913208, 1.0887579917907715, -0.21321173012256622, 0.6402704119682312, 0.2425716072320938, -0.15954457223415375, 0.06637372076511383, -0.30609801411628723, -0.016801122575998306, 0.6083108186721802, -0.41368114948272705, -0.23020769655704498 ]
http://arxiv.org/abs/2406.11012v3
http://arxiv.org/pdf/2406.11012v3
Connecting the Dots: Evaluating Abstract Reasoning Capabilities of LLMs Using the New York Times Connections Word Game
2024-06-16T17:10:32
2024-06-22T15:40:14
Prisha Samadarshi, Mariam Mustafa, Anushka Kulkarni, Raven Rothkopf, Tuhin Chakrabarty, Smaranda Muresan
cs.CL
cs.CL, cs.AI
The New York Times Connections game has emerged as a popular and challenging pursuit for word puzzle enthusiasts. We collect 200 Connections games to evaluate the performance of state-of-the-art large language models (LLMs) against expert and novice human players. Our results show that even the best-performing LLM, GPT-4o, which has otherwise shown impressive reasoning abilities on a wide variety of benchmarks, can only fully solve 8% of the games. Compared to GPT-4o, novice and expert players perform better, with expert human players significantly outperforming GPT-4o. To deepen our understanding we create a taxonomy of the knowledge types required to successfully categorize words in the Connections game, revealing that LLMs struggle with associative, encyclopedic, and linguistic knowledge. Our findings establish the New York Times Connections game as a challenging benchmark for evaluating abstract reasoning capabilities in humans and AI systems.
[ -0.3957362771034241, -0.9535320401191711, 1.0459668636322021, 0.01457483321428299, -0.21525819599628448, 0.4644645154476166, -0.03640952333807945, -0.7716234922409058, 0.04275868833065033, 0.3504735827445984, -0.43659746646881104, -0.4895688593387604, -0.6086264848709106, 0.4937179684638977, -0.33559349179267883, 0.6229935884475708, -0.053311094641685486, -0.1995045393705368, -0.7408689856529236, 0.0163633543998003, -0.5120258331298828, -0.33960074186325073, -0.9014163613319397, -0.5492671728134155, 0.5357796549797058, 0.33577850461006165, 0.6400683522224426, 0.6727735996246338, 0.6208730340003967, 0.4650014340877533, -0.3302234709262848, 0.41905176639556885, -0.5537092685699463, -0.021780600771307945, -0.3569536805152893, -0.7179893851280212, -0.3466470539569855, 0.01618182845413685, 0.2086249738931656, 0.8396490812301636, 0.1814892590045929, 0.3027893006801605, -0.27679723501205444, 0.9076476693153381, -0.2775558531284332, 0.20291930437088013, -0.8316570520401001, 0.02250727079808712, -0.23917147517204285, -0.4283139407634735, -0.3019704818725586, -0.592958390712738, 0.529075026512146, -1.0479178428649902, 0.15352962911128998, 0.2182314246892929, 0.9805853366851807, 0.18883942067623138, -0.7232592701911926, -0.45899173617362976, -0.6982787847518921, 0.26773929595947266, -0.46722909808158875, -0.07376256585121155, 0.4376330077648163, 0.5287459492683411, -0.3692938983440399, -0.5459901094436646, -0.6738237738609314, -0.3151185214519501, 0.3313753604888916, 0.002500851871445775, -0.42526423931121826, 0.111002616584301, 0.39212852716445923, 0.25502511858940125, -0.3538755774497986, -0.07090436667203903, -0.6078628897666931, -0.07340694963932037, 0.800420343875885, 0.3141676187515259, 0.17658179998397827, 0.1522189974784851, -0.3281770348548889, 0.3342280685901642, -0.7945087552070618, 0.4589300751686096, 0.43959516286849976, -0.2154383361339569, -0.06324339658021927, 0.8029788732528687, -0.15116336941719055, 0.9357354640960693, 0.23671844601631165, -0.12402401864528656, -0.02538210339844227, -0.21573865413665771, 0.2233285903930664, -0.11437536031007767, 0.5800610184669495, 0.5784478783607483, 0.5107481479644775, -0.4207923710346222, 0.01770664192736149, 0.18046079576015472, 0.07770519703626633, -0.2848612666130066, -0.43056559562683105, 0.013442229479551315, -0.3255527913570404, 0.12299990653991699, -0.3870319128036499, -0.3911249339580536, -0.6648443937301636, -0.29573163390159607, 0.740720808506012, -0.6263323426246643, -0.09034436196088791, 0.3093414902687073, -0.2632826566696167, 0.1259506642818451, 0.3615299165248871, -0.8690487742424011, 0.23787228763103485, 0.6550373435020447, 0.78266441822052, -0.22149668633937836, -0.22306987643241882, -0.16609114408493042, 0.1350071132183075, -0.4834587574005127, 1.227618932723999, -0.5068138241767883, -0.28316017985343933, -0.08820055425167084, -0.34917017817497253, 0.021588943898677826, -0.3450636565685272, 0.5080642700195312, -0.791873037815094, -0.018438929691910744, -0.5449167490005493, -1.1260243654251099, -0.15462256968021393, 0.5361884832382202, -0.5571234822273254, 0.5159249901771545, -0.15747587382793427, -0.7368211150169373, 0.16886968910694122, -0.591033399105072, -0.39287853240966797, 0.1718737632036209, -0.20751924812793732, 0.25421735644340515, 0.23270846903324127, -0.0036413418129086494, 0.14718705415725708, -0.37677064538002014, -0.14310038089752197, -0.3718677759170532, -0.562758207321167, 0.477843314409256, -0.00907323881983757, 0.6366786956787109, 0.020149173215031624, -0.04410090669989586, 0.09818864613771439, -0.5954898595809937, -0.15623131394386292, 0.09489437937736511, -0.37847763299942017, -0.42728936672210693, 0.28885725140571594, -0.811480700969696, 0.2865573465824127, 0.19683656096458435, -0.5981075763702393, 0.12557347118854523, -0.39135125279426575, 0.68505859375, 0.7787426114082336, -0.014264794066548347, 0.2402733564376831, -0.2322605699300766, 0.491996169090271, -0.002674849471077323, 0.07541364431381226, -0.2657035291194916, -0.8677520751953125, -0.807761013507843, 0.22301529347896576, 0.3110373020172119, 0.610728919506073, -1.3353453874588013, 0.5066951513290405, -0.4768984317779541, -0.6359898447990417, -0.3749401569366455, -0.24506951868534088, 0.26062825322151184, 0.713080108165741, 0.2614124119281769, -0.07067178189754486, -0.031239071860909462, -0.9014557600021362, -0.5384427309036255, -0.4017449617385864, -0.07838000357151031, 0.697778582572937, 0.5359144806861877, 0.1389341652393341, 1.09871506690979, -0.47593629360198975, -0.07178690284490585, 0.11775599420070648, 0.11003107577562332, 0.06589070707559586, 0.008848737925291061, 0.261410117149353, -0.2913079559803009, -0.3583536744117737, -0.007014330476522446, -0.9127741456031799, 0.018471291288733482, 0.19935378432273865, 0.06413614004850388, 0.0015538467559963465, 0.6822523474693298, -0.7206753492355347, 0.0906243771314621, 0.6600625514984131, -1.093027949333191, 0.665271520614624, -0.3563252091407776, 0.33187252283096313, -0.835511326789856, 0.07099605351686478, 0.12697990238666534, 0.08402221649885178, -0.4278125464916229, -0.1169520914554596, -0.2444763332605362, -0.17025215923786163, -0.20558054745197296, 0.3653002083301544, -0.7890191078186035, -0.25187212228775024, -0.020192287862300873, 0.5396441221237183, 0.08409308642148972, 0.17795497179031372, -0.23913341760635376, 0.9037253856658936, 0.6695444583892822, -0.5579816699028015, 0.6515142917633057, 0.25137075781822205, -0.745606541633606, 0.3058304190635681, -0.8259068727493286, 0.172862708568573, 0.0014383384259417653, 0.16958656907081604, -1.1810648441314697, 0.08073920756578445, -0.3227573335170746, -0.47510093450546265, -0.15778400003910065, 0.16775977611541748, -0.46191444993019104, -0.39265525341033936, 0.0324038490653038, 0.6471863389015198, 0.3055145740509033, -0.22861754894256592, 0.44538307189941406, 0.5724045634269714, -0.04129866883158684, -0.33702218532562256, -0.6142449975013733, 0.4804781675338745, -0.17663151025772095, -0.8846084475517273, 0.24774430692195892, -0.035860683768987656, -0.1998385787010193, 0.08877956122159958, -0.0419437550008297, -0.10711360722780228, 0.12845686078071594, -0.21425838768482208, 0.09199152886867523, -0.1500379890203476, 0.10852842032909393, -0.13075944781303406, -0.25280994176864624, 0.42758962512016296, 0.06894582509994507, 0.21090584993362427, -0.1047426164150238, -0.6183149814605713, -0.16926151514053345, 0.2701389193534851, 0.4705145061016083, -0.14716647565364838, 0.30948078632354736, 0.1891203671693802, -0.1364421546459198, -0.020985819399356842, -0.7962108254432678, -0.1779465526342392, -0.45686790347099304, 0.424599826335907, -0.6115631461143494, -1.4337797164916992, 0.710398256778717, -0.30180105566978455, -0.13649605214595795, 0.28429290652275085, -0.015235341154038906, 0.011670958250761032, 1.061722755432129, 0.5002108812332153, -0.044214680790901184, -0.10609234124422073, 0.15210478007793427, 0.3855861723423004, -0.542538583278656, -0.3383968472480774, -0.40403950214385986, -0.3951326608657837, -0.5081999897956848, -0.6061263084411621, 0.5164843797683716, 0.237418070435524, -0.26845699548721313, 0.25806793570518494, -0.4101029932498932, 0.8239074349403381, 0.45813697576522827, 0.1098528802394867, 0.7721458673477173, 0.000956278177909553, -0.2420867532491684, -0.10600917786359787, -0.7217904329299927, -0.41038188338279724, 1.0622776746749878, 0.36394113302230835, 0.3952336013317108, 0.324248731136322, 0.2671264410018921, 0.3449731171131134, 0.003078568261116743, -0.8095534443855286, 0.8667930960655212, 0.022747907787561417, -0.5877737402915955, -0.2529136538505554, -0.6892357468605042, -1.1013203859329224, -0.16225536167621613, -0.5418387651443481, -0.7208572030067444, 0.0030064505990594625, -0.09559028595685959, -0.4582923650741577, 0.4860856235027313, -0.7584041357040405, 0.548414945602417, 0.010346191003918648, -0.17707227170467377, -0.4238390326499939, -0.5067750215530396, 0.7903249263763428, 0.12701649963855743, 0.12967364490032196, -0.32790592312812805, -0.35348641872406006, 0.6059231758117676, -0.09893340617418289, 0.46959999203681946, 0.22387702763080597, -0.18237923085689545, 0.37909451127052307, 0.2132808119058609, 0.25660717487335205, -0.09788619726896286, 0.06443168222904205, 0.46903517842292786, -0.1367923468351364, -0.3191107511520386, -0.6085087656974792, 0.5947695970535278, -0.7493175268173218, -0.7671467065811157, -0.4711235761642456, -0.5875779390335083, -0.5056771039962769, 0.25639331340789795, 0.24033263325691223, 0.3020145297050476, -0.15440796315670013, -0.0011745755327865481, 0.6921959519386292, -0.23056533932685852, 0.4435092806816101, 0.6654805541038513, 0.021152397617697716, -0.36095696687698364, 0.8711636066436768, 0.13103951513767242, 0.17971529066562653, 0.3233712911605835, 0.047519780695438385, -0.4636065661907196, -0.8677971959114075, -0.32285553216934204, 0.27383288741111755, -0.6173940300941467, -0.15451611578464508, -0.3182743787765503, -0.17401081323623657, -0.00620236387476325, 0.1608199179172516, -0.09953264147043228, -0.3297070860862732, 0.12831537425518036, -0.04996035620570183, 0.3510456383228302, 0.9742348790168762, 0.16402310132980347, 0.04428546130657196, -0.8819940090179443, 0.08974070847034454, 0.7698789238929749, 0.6755139231681824, -0.0977470800280571, -0.24003340303897858, -0.3369996249675751, -0.27135851979255676, -0.2291668802499771, -1.0014874935150146, -0.24325072765350342, -0.03618989512324333, 0.5162217617034912, 0.6373695135116577, -0.016846463084220886, 0.7387875914573669, -0.7656050324440002, 1.0614471435546875, 0.31368955969810486, -1.0458558797836304, 0.24363578855991364, -0.6834092736244202, 0.23687130212783813, 0.4554651975631714, 0.23717886209487915, -0.38513028621673584, -0.233191579580307, -0.5966679453849792, -0.5558163523674011, 0.6323477625846863, 0.313747763633728, -0.2575204074382782, -0.3625152111053467, 0.5401282906532288, -0.19027680158615112, 0.23089498281478882, -0.5289347767829895, -0.5435581207275391, 0.35330691933631897, 0.13224580883979797, -0.12553629279136658, -0.4241299033164978, -0.14658223092556, -0.3428557813167572, 0.2811211347579956, 0.014407481998205185, 0.33757761120796204, 0.17156898975372314, 0.1725572943687439, -0.06294993311166763, -0.06498759984970093, 0.761375904083252, 1.0959255695343018, 0.1614471673965454, 0.34144824743270874, 0.149909108877182, -0.43265366554260254, 0.1816825568675995, 0.22859878838062286, -0.2249213606119156, -0.013703814707696438, 0.714450478553772, 0.6416996121406555, 0.17555059492588043, -0.7071342468261719, 0.39579060673713684, -0.20234200358390808, -0.45488229393959045, -0.11612658202648163, 0.19402147829532623, 0.5099454522132874, 0.40256160497665405, 0.5049845576286316, 0.18504701554775238, 0.12028226256370544, -0.4030728042125702, 0.05068140849471092, 0.4869306683540344, -0.21690146625041962, -0.41603273153305054, 0.49397316575050354, 0.6082106828689575, -0.5374432802200317, 0.3129481077194214, -0.40190061926841736, -0.31659311056137085, 0.5300910472869873, 0.44083431363105774, 0.5454176068305969, -0.10311289876699448, 0.08332815021276474, 0.35477468371391296, 0.4212309420108795, -0.09652162343263626, 0.0959954634308815, -0.006742311641573906, -0.9446908235549927, -0.9139728546142578, -0.08146049082279205, -0.3565233051776886, 0.14526167511940002, -0.21246682107448578, 0.030963370576500893, -0.30352282524108887, -0.3832067549228668, -0.13487450778484344, 0.3137442171573639, -0.46892333030700684, -0.30574092268943787, 0.2054823786020279, 1.2974867820739746, -0.9489981532096863, 0.44293197989463806, 0.9807100892066956, -0.34442365169525146, -0.7095986008644104, -0.15398748219013214, 0.014995338395237923, -0.6724361181259155, 0.4856669008731842, -0.010972612537443638, -0.04857485368847847, 0.20533296465873718, -0.35768142342567444, -1.057582974433899, 1.268989086151123, 0.525424063205719, -0.4169601798057556, -0.03568553552031517, 0.2620849907398224, 0.4767242968082428, -0.2959911525249481, 0.5316256284713745, 0.6638874411582947, 0.34168699383735657, 0.11842981725931168, -0.9267858862876892, -0.031553179025650024, -0.31190288066864014, -0.06856875121593475, 0.04194223880767822, -0.5163846015930176, 0.8201032280921936, -0.2133065015077591, -0.40457683801651, -0.09402108937501907, 0.8105300068855286, 0.6706696152687073, 0.34449514746665955, 0.8176066875457764, 0.763430655002594, 0.768365740776062, -0.21953171491622925, 0.6771312952041626, -0.45373228192329407, 0.018559655174613, 0.8042386174201965, -0.240960031747818, 0.6862345337867737, 0.4328186511993408, -0.4973878562450409, 0.5925745368003845, 0.7447623014450073, 0.1339045763015747, 0.27101704478263855, 0.49901214241981506, -0.39244598150253296, -0.39396339654922485, -0.06112953647971153, -0.3502718210220337, 0.4001174867153168, 0.38430264592170715, 0.20052005350589752, -0.5055583119392395, -0.4156053066253662, -0.09647847712039948, 0.410190612077713, -0.31250014901161194, 0.7923389673233032, 0.05781212076544762, -0.8592261672019958, 0.34330135583877563, -0.2130238264799118, 0.6335453391075134, -0.5291780233383179, -0.2528877556324005, -0.2753128409385681, 0.11806302517652512, -0.04056427255272865, -1.01677405834198, 0.1383800059556961, -0.004334981087595224, -0.15776163339614868, 0.358786940574646, 0.6548279523849487, -0.4347115159034729, -0.35941022634506226, 0.35171788930892944, 0.7247241139411926, 0.37024885416030884, 0.0174589604139328, -0.809973418712616, -0.0752878338098526, -0.10685831308364868, -0.14308491349220276, 0.3169669806957245, 1.091976523399353, 0.04654945433139801, 1.0320374965667725, 0.7176473140716553, 0.3656180799007416, 0.05780385062098503, -0.13555122911930084, 0.794741690158844, -0.7409863471984863, -0.5762007236480713, -0.8490946292877197, 0.4482032060623169, -0.43659210205078125, -0.6499615907669067, 1.097264289855957, 0.6116206049919128, 0.5136486291885376, 0.05877058580517769, 0.5475744605064392, 0.23139126598834991, 0.4888288974761963, -0.3435685932636261, 0.6102243065834045, -0.22857758402824402, 0.4400882422924042, -0.09964204579591751, -0.7545006275177002, -0.057027604430913925, 0.2229764759540558, -0.3184814453125, -0.14779826998710632, 0.8627509474754333, 0.5255469083786011, -0.048795606940984726, 0.07812751084566116, 0.3447229862213135, 0.23490801453590393, 0.2760116755962372, 0.8943718671798706, 1.015092372894287, -0.2713644504547119, 0.7297536134719849, 0.13917261362075806, -0.4465794265270233, 0.044963445514440536, -1.0184062719345093, -1.2817718982696533, -0.5942010283470154, -0.1833873987197876, -0.2690529525279999, 0.06301473826169968, 0.5489020347595215, 0.41651055216789246, -0.31420639157295227, -0.3307342529296875, -0.3877899944782257, 0.3007110357284546, -0.20908223092556, -0.2584514319896698, 0.4036167562007904, -0.4228362739086151, -0.43437913060188293, 0.5748129487037659, 0.10790685564279556, -0.3355576694011688, -0.40865421295166016, 0.03746204078197479, -0.3496967852115631, 0.16886132955551147, 0.9780570864677429, 0.17942802608013153, -0.742577850818634, -0.3345714509487152, 0.10148299485445023, 0.037255968898534775, -0.3350968062877655, 0.8954793214797974, -0.8811725974082947, 0.5431897044181824, 0.7319183349609375, 0.8037894368171692, 0.3550460636615753, 0.06176154688000679, 0.6831415891647339, -0.30465757846832275, -0.14763708412647247, 0.16461555659770966, 0.3250371217727661, 0.2629220485687256, -0.03605775535106659, 0.5138381123542786, 0.4122602045536041, -0.7915652394294739, -0.5468440651893616, 0.24466915428638458, -0.7564682364463806, -0.3380470871925354, 1.1264811754226685, -0.2801714241504669, -0.2393994927406311, -0.6009959578514099, 0.18717023730278015, 0.08004070073366165, -0.30244171619415283, 1.1274051666259766, 0.8254641890525818, -0.5046254396438599, -0.1385946422815323, -0.5995602607727051, 0.7897889018058777, 0.20502306520938873, -0.6758816838264465, -0.19210244715213776, 0.6535874605178833, 0.12705248594284058, 0.44606253504753113, 0.7355991005897522, 0.01822701469063759, 0.08224192261695862, -0.027535224333405495, 0.0168396458029747, -0.4428956210613251, -0.06205035746097565, -0.1418572962284088, 0.16887246072292328, 0.06368105858564377, -0.16013288497924805 ]
http://arxiv.org/abs/2406.11011v2
http://arxiv.org/pdf/2406.11011v2
Data Shapley in One Training Run
2024-06-16T17:09:24
2024-06-29T23:05:32
Jiachen T. Wang, Prateek Mittal, Dawn Song, Ruoxi Jia
cs.LG
cs.LG, cs.CL, stat.ML
Data Shapley provides a principled framework for attributing data's contribution within machine learning contexts. However, existing approaches require re-training models on different data subsets, which is computationally intensive, foreclosing their application to large-scale models. Furthermore, they produce the same attribution score for any models produced by running the learning algorithm, meaning they cannot perform targeted attribution towards a specific model obtained from a single run of the algorithm. This paper introduces In-Run Data Shapley, which addresses these limitations by offering scalable data attribution for a target model of interest. In its most efficient implementation, our technique incurs negligible additional runtime compared to standard model training. This dramatic efficiency improvement makes it possible to perform data attribution for the foundation model pretraining stage for the first time. We present several case studies that offer fresh insights into pretraining data's contribution and discuss their implications for copyright in generative AI and pretraining data curation.
[ 0.07895658910274506, -0.457411527633667, 0.3813569247722626, 0.15362510085105896, -0.20957820117473602, -0.10274220257997513, 0.13992872834205627, -0.13208524882793427, 0.14536917209625244, 0.830582857131958, -0.6032731533050537, 0.06892549991607666, -0.5019673109054565, -0.37529993057250977, -0.8100120425224304, 1.0774028301239014, -0.10248930007219315, 0.05202890560030937, -0.9481379985809326, -0.07533640414476395, -0.13169601559638977, -0.9363315105438232, -0.6113091707229614, -0.5461283326148987, 0.3592447340488434, 0.46169203519821167, 0.4953581988811493, 0.955034613609314, 0.5269373059272766, 0.258757621049881, 0.5844711065292358, -0.16264185309410095, -0.6547048687934875, 0.19081920385360718, 0.011144873686134815, -0.7236269116401672, -0.04703853651881218, 0.4108297824859619, 0.7519268989562988, 0.7646406888961792, -0.14002718031406403, 0.28269246220588684, -0.07218325883150101, 0.8016756772994995, -0.9572048783302307, -0.15066075325012207, -0.4968482553958893, 0.1155627965927124, -0.423887699842453, -0.1356980949640274, -0.23975308239459991, -0.4085419476032257, 0.04767480865120888, -0.8101022243499756, 0.44796010851860046, -0.03044774755835533, 0.8037099838256836, 0.6012665033340454, -0.1637202352285385, -0.16893543303012848, -0.5227254033088684, 1.1353110074996948, -0.332436203956604, 0.35619446635246277, 0.4538819193840027, 0.24086031317710876, 0.2194792479276657, -0.9615670442581177, -0.35317033529281616, -0.2090635448694229, 0.22154086828231812, -0.11716925352811813, -0.06763069331645966, -0.3513123393058777, 0.27092835307121277, 0.5630276203155518, -0.11528479307889938, 0.06754346936941147, -0.40252745151519775, -0.029215652495622635, 0.7371422648429871, 0.21988098323345184, -0.33704715967178345, 0.06923844665288925, -0.5220962762832642, -0.3038843274116516, -0.6462880373001099, 0.08835338056087494, 0.5211649537086487, 0.35760027170181274, -0.11906783282756805, 0.17339013516902924, -0.11922173202037811, 0.6628494262695312, 0.1598813682794571, 0.2669440805912018, 0.22786074876785278, -0.1861571967601776, -0.0827053040266037, 0.12388025969266891, 0.7172626256942749, -0.24037161469459534, 0.31361812353134155, -0.37616515159606934, -0.12739509344100952, -0.3464518189430237, 0.5867098569869995, -1.1442757844924927, -0.7651951909065247, 0.21948164701461792, -0.40514424443244934, -0.8474990129470825, 0.3500414192676544, -0.19455738365650177, -0.6325858235359192, -0.4845483899116516, 0.45728063583374023, -0.4828396439552307, -0.0650750920176506, -0.0007782637840136886, 0.09439874440431595, 0.1977187991142273, 0.050853434950113297, -0.7970098257064819, 0.22479148209095, 0.7078989148139954, 0.8268010020256042, -0.34451353549957275, -0.44837942719459534, -0.7051773071289062, 0.35951849818229675, -0.49401625990867615, 0.5461289286613464, -0.5740417838096619, -0.031943291425704956, -0.23773670196533203, -0.28872454166412354, -0.05199316516518593, -0.6177030801773071, 0.31168442964553833, -0.4335314631462097, 0.07727236300706863, -0.5000718832015991, -0.6557540893554688, -0.09105709940195084, 0.01099006924778223, -0.7654224038124084, 0.7450352907180786, 0.34291982650756836, -0.7375087141990662, 0.8534401655197144, -0.788338840007782, -0.7198030352592468, -0.0019766546320170164, -0.1181376650929451, -0.8994017839431763, 0.3349211812019348, 0.16552476584911346, 0.6777670383453369, -0.1449005901813507, 0.2108486294746399, -0.5001106858253479, -0.3191451132297516, 0.2881535589694977, -0.33652767539024353, 1.0582022666931152, 0.12443868815898895, -0.12614993751049042, 0.01915661431849003, -0.9769086241722107, 0.4125845432281494, 0.352709025144577, -0.19307075440883636, -0.2279416024684906, -0.06622137874364853, 0.2145473062992096, -0.0009578921599313617, 0.17306309938430786, -0.3831237852573395, 0.12535007297992706, 0.03551774099469185, 0.4958595633506775, 0.7902339100837708, -0.1444830596446991, 0.23172463476657867, -0.4830549657344818, 0.7070255875587463, 0.0043022045865654945, 0.1600806713104248, -0.15896448493003845, 0.0008833173778839409, -0.471591055393219, -0.44353023171424866, 0.46164390444755554, 0.3940994143486023, -0.39066997170448303, 0.09741180390119553, -0.2780613899230957, -0.5005934834480286, -0.43727341294288635, 0.20844747126102448, 0.42009976506233215, 0.3364735245704651, 0.26119598746299744, -0.44870835542678833, -0.6316477060317993, -0.8447683453559875, -0.13866721093654633, 0.032818544656038284, -0.10820288956165314, 0.5343295335769653, 0.5889742970466614, 0.14601100981235504, 1.003039002418518, -0.47313693165779114, -0.16258947551250458, -0.012473954819142818, 0.12746131420135498, -0.0487426221370697, 0.892250120639801, 0.5382072925567627, -0.8505727052688599, -0.4276665151119232, -0.2984824478626251, -0.864292323589325, -0.026419747620821, -0.1179569661617279, -0.2196999490261078, -0.4393523037433624, 0.4224894046783447, -0.08723326772451401, 0.286941260099411, 0.5263839364051819, 0.007045774254947901, 0.5601292252540588, -0.10806380957365036, 0.49833664298057556, -1.124708652496338, 0.21761587262153625, -0.5915645956993103, -0.3441426753997803, -0.46209123730659485, -0.05321523919701576, -0.1525983065366745, -0.44694098830223083, -0.45320752263069153, 0.23839335143566132, -0.03539500758051872, -0.2851789593696594, -0.13939163088798523, -0.4584076404571533, 0.07504245638847351, 0.1728801429271698, -0.07929843664169312, 0.6818873882293701, 0.7591267228126526, -0.75453782081604, 0.7558876872062683, 0.4887421429157257, -0.40328601002693176, 0.8011735677719116, -0.832370400428772, 0.4513520896434784, -0.03516304865479469, 0.2625381350517273, -0.5508250594139099, -0.4144952893257141, 0.060546282678842545, -0.3521864414215088, 0.23710858821868896, -0.31965115666389465, -0.3496418297290802, -0.0505739226937294, -0.34554219245910645, 0.8771233558654785, 0.17104403674602509, -0.7406755685806274, 0.4659680724143982, 0.2710111141204834, 0.23869284987449646, -0.4099997580051422, -0.9156840443611145, -0.1339007467031479, -0.6981855630874634, -0.6940253973007202, 0.48795318603515625, 0.28502359986305237, -0.08743550628423691, -0.1379324346780777, 0.20453904569149017, -0.4525775611400604, 0.3727894723415375, 0.4537675976753235, -0.06334513425827026, -0.047984007745981216, 0.012464714236557484, -0.36844077706336975, -0.30906394124031067, 0.281109482049942, -0.35779792070388794, 0.5106874108314514, 0.2523033618927002, -0.6405906081199646, -0.4946728050708771, 0.3576134145259857, 0.17656682431697845, -0.30872753262519836, 0.769209623336792, 0.5073691606521606, -0.4100291430950165, -0.25193682312965393, -0.31114065647125244, -0.1641945093870163, -0.4240438938140869, 0.40014463663101196, -0.26345714926719666, -0.32750195264816284, 0.4081379771232605, 0.10852719843387604, 0.21709591150283813, 0.3449939489364624, 0.292034387588501, -0.3420089781284332, 0.557896614074707, 0.7355692982673645, -0.465677410364151, 0.899738609790802, -0.5129098296165466, 0.013556660152971745, -0.49869635701179504, -0.18383494019508362, -0.5321353077888489, -0.23581640422344208, -0.029958883300423622, -0.0939234048128128, 0.222551628947258, 0.28604909777641296, -0.33332741260528564, 0.15287400782108307, -0.38999512791633606, 0.501344621181488, 0.6864809989929199, 0.4164920151233673, 0.10659132897853851, 0.2114933878183365, 0.8262964487075806, 0.10932540148496628, -0.8924713730812073, -0.22632092237472534, 1.7287187576293945, 0.062316980212926865, 0.7043572664260864, -0.15949131548404694, 1.0735992193222046, 0.5519331097602844, 0.4366076588630676, -0.44100967049598694, 0.09942969679832458, -0.39371195435523987, -0.6719874739646912, -0.3678874373435974, -0.5126439929008484, -0.8319175839424133, -0.3412790596485138, -0.19084741175174713, -0.45157772302627563, -0.1703917235136032, 0.5757738947868347, -0.43523094058036804, 0.36732059717178345, -0.642720639705658, 1.0839183330535889, -0.4350709617137909, -0.5641107559204102, -0.3626759648323059, -0.38357770442962646, 0.43039047718048096, -0.30769628286361694, -0.10457862168550491, 0.15137851238250732, 0.19038519263267517, 1.3950738906860352, -0.7294247150421143, 0.5981559753417969, -0.4995347559452057, 0.20103541016578674, 0.43596649169921875, -0.17321047186851501, 0.561081051826477, -0.16503693163394928, 0.14287787675857544, 0.11934254318475723, 0.07020040601491928, -0.8073728680610657, -0.48872777819633484, 0.49164101481437683, -0.5235349535942078, -0.0766175389289856, -0.22494567930698395, -0.5813168883323669, -0.36207616329193115, 0.05485621839761734, 0.4768354892730713, 0.5487538576126099, -0.1884537637233734, 0.5259945392608643, 0.8236924409866333, 0.19754059612751007, 0.04622379317879677, -0.0295158252120018, -0.0408640131354332, -0.22252991795539856, 1.1267658472061157, -0.2061460018157959, 0.3007534444332123, 0.08498472720384598, 0.2637220621109009, -0.18784503638744354, -0.7865592837333679, -0.44213345646858215, -0.14207297563552856, -0.5749847292900085, -0.1955956071615219, -0.3338002860546112, 0.011117343790829182, -0.22167202830314636, -0.608943521976471, -0.760511577129364, -0.24880163371562958, -0.24293959140777588, 0.22187647223472595, 0.3791626989841461, 0.5377355813980103, -0.029708966612815857, 0.5794600248336792, -0.4510122835636139, 0.13923871517181396, 0.4688754975795746, 0.34733861684799194, -0.0710325613617897, -0.675129234790802, -0.5826203227043152, 0.26030099391937256, -0.29618123173713684, -0.3749343156814575, -0.20177938044071198, 0.4523896276950836, 0.4495920240879059, 0.47804510593414307, -0.2130594551563263, 0.8013781309127808, -0.04126329347491264, 0.6984628438949585, 0.10114207863807678, -0.9375377297401428, 0.6551322937011719, -0.21236515045166016, -0.05191997066140175, 0.9602083563804626, 0.48897549510002136, 0.0482902005314827, 0.2693638503551483, -0.7556526064872742, -0.5616007447242737, 0.719417929649353, 0.009802932851016521, 0.12366066128015518, 0.5762364864349365, 0.6119953989982605, 0.22799383103847504, 0.34132975339889526, -0.4462781250476837, -0.15760180354118347, -0.4542982280254364, -0.10427745431661606, -0.20784880220890045, 0.08674347400665283, -0.16659221053123474, -0.2720310091972351, 0.9491559267044067, -0.13271166384220123, 0.02808905579149723, -0.36014771461486816, -0.39240431785583496, 0.04457523301243782, -0.26685911417007446, -0.07630710303783417, 0.772975742816925, -0.0546070821583271, -0.29289478063583374, -0.08426278829574585, -0.5531865358352661, 0.15830397605895996, 0.34197908639907837, -0.2690594494342804, -0.43183863162994385, 0.660417914390564, 0.637165367603302, 0.3358970582485199, -0.50190669298172, 0.7844177484512329, 0.4401582181453705, -0.3649221956729889, -0.2882597744464874, 0.20111709833145142, -0.24442999064922333, 0.37989524006843567, 0.2137133628129959, -0.1549081802368164, 0.0955124944448471, -0.5363024473190308, 0.6028929948806763, 0.549859881401062, -0.3702259361743927, -0.1777643859386444, 0.9287866353988647, -0.1979794204235077, 0.14596815407276154, 0.8917512893676758, 0.052393827587366104, -0.5784907341003418, 0.6326083540916443, 0.2730084955692291, 0.9085128307342529, -0.3047960698604584, 0.1968606412410736, 0.1546475738286972, -0.3587566018104553, -0.11370090395212173, 0.07646892219781876, -0.3064436912536621, -0.8530689477920532, -0.24071134626865387, -0.6458021402359009, -0.33400827646255493, 0.10140271484851837, -0.8366709351539612, 0.1303471177816391, -0.6275557279586792, 0.07999073714017868, 0.27887606620788574, 0.09946532547473907, -0.8209306001663208, 0.36245086789131165, 0.1185227558016777, 0.2424492985010147, -1.0308400392532349, 0.7372927665710449, 0.6866823434829712, -0.44623643159866333, -0.6526068449020386, -0.23196889460086823, -0.23878754675388336, -0.951496422290802, 0.3730483651161194, 0.10499989986419678, 0.10447806119918823, 0.06782390922307968, -1.018619418144226, -0.7764401435852051, 1.0724276304244995, 0.5670768618583679, -0.056331176310777664, 0.27161431312561035, 0.2499578446149826, -0.04716857895255089, -0.5128138661384583, -0.2439194768667221, 0.6428623795509338, 0.19361092150211334, 0.2195124477148056, -0.46383652091026306, -0.10716148465871811, 0.19437910616397858, -0.3602975904941559, 0.0523526631295681, -0.43398934602737427, 1.072211503982544, -0.30172690749168396, -0.008218956179916859, -0.3043787181377411, 0.6841810941696167, 0.4087764620780945, 0.282088965177536, 0.5616461038589478, 0.5503949522972107, 0.9079194664955139, -0.019349675625562668, 1.1172727346420288, -0.1917014867067337, 0.30723807215690613, 1.0322853326797485, 0.15686306357383728, 0.4247521758079529, 0.36257144808769226, -0.7770575881004333, 0.4185127913951874, 0.5481311678886414, -0.1766989827156067, 0.6632173657417297, 0.49577775597572327, -0.1864190697669983, -0.25770944356918335, -0.16912707686424255, -0.2396436333656311, 0.5027483105659485, -0.17223934829235077, -0.45281174778938293, 0.04384469985961914, 0.010631851851940155, -0.024567898362874985, -0.021481525152921677, -0.537040114402771, 0.40111497044563293, -0.09462718665599823, -0.14088982343673706, 0.4451669156551361, -0.21187640726566315, 0.5877364873886108, -0.8576583862304688, 0.013709788210690022, -0.06519602984189987, 0.2048197239637375, -0.6397892236709595, -0.2949211001396179, 0.37857529520988464, -0.10337057709693909, -0.4833492338657379, -0.3757067918777466, 0.5607692003250122, -0.21751847863197327, -0.5202671885490417, -0.5520342588424683, 0.29220280051231384, 0.48292285203933716, -0.7356681227684021, -0.687780499458313, -0.15423773229122162, 0.17068205773830414, -0.4529096782207489, 0.27433931827545166, 0.371847003698349, -0.23186136782169342, 0.8028769493103027, 0.7081318497657776, -0.09770635515451431, 0.2731214165687561, -0.11537296324968338, 0.8761062622070312, -0.5701358914375305, -0.7328416705131531, -0.5321160554885864, 0.3286033570766449, -0.03919079527258873, -0.4209121763706207, 0.545872688293457, 0.9516134262084961, 0.7571912407875061, 0.17099303007125854, 0.9802592396736145, -0.3111876845359802, 0.13924236595630646, -0.5673006176948547, 0.6216541528701782, -0.4494701623916626, -0.11416859924793243, -0.16723372042179108, -0.853110671043396, 0.1019502580165863, 0.6828968524932861, -0.2272062599658966, 0.2800872027873993, 0.43256300687789917, 0.3735302686691284, -0.3365548551082611, 0.1462678611278534, 0.011052360758185387, -0.3058066964149475, 0.4572746157646179, 0.7880085110664368, 0.5648943781852722, -0.5137671828269958, 0.17287908494472504, -0.5469847321510315, -0.3087020814418793, 0.0788707360625267, -0.9041537046432495, -0.6073435544967651, -0.7967860102653503, -0.3583754599094391, -0.25272712111473083, -0.1377735435962677, 0.5038694143295288, 1.0569508075714111, -0.954239010810852, 0.1106814369559288, -0.08976003527641296, -0.2658744752407074, -0.40324267745018005, -0.23805265128612518, 0.6196864247322083, -0.17756305634975433, -0.2971101701259613, 0.3230421841144562, -0.3525882363319397, -0.03926089033484459, -0.5055837631225586, -0.08880293369293213, 0.07504601776599884, -0.15298528969287872, 0.20760178565979004, 0.34680500626564026, 0.039919670671224594, -0.31447097659111023, -0.6936377882957458, 0.1279374361038208, 0.03462384268641472, 1.3875625133514404, -0.984486997127533, 0.14916889369487762, 0.12150789052248001, 0.988659679889679, 1.0664399862289429, 0.40378621220588684, 0.4809975326061249, -0.7748034596443176, 0.1993347704410553, 0.38607221841812134, -0.04348106309771538, 0.5582528114318848, -0.4508141577243805, 0.44891783595085144, 0.37111616134643555, -0.4051970839500427, -0.7476034164428711, 0.21973103284835815, -0.7650663256645203, 0.004253487102687359, 0.7354072332382202, -0.25912773609161377, -0.034899380058050156, -0.003092705737799406, 0.4733380079269409, 0.09044460207223892, -0.0483844019472599, 0.7192611694335938, 0.745925784111023, -0.30066996812820435, 0.17773932218551636, -0.6028832793235779, 0.655214250087738, 0.4694627821445465, -0.9350820183753967, 0.3919264078140259, 0.5632055997848511, 0.480014443397522, -0.16176316142082214, 0.697069525718689, 0.0908169373869896, 0.08344835042953491, 0.4789499342441559, -0.05730925872921944, -0.8179473876953125, -0.4079842269420624, -0.23509395122528076, 0.2368965446949005, -0.22915881872177124, -0.541512668132782 ]
http://arxiv.org/abs/2406.11911v1
http://arxiv.org/pdf/2406.11911v1
A Notion of Complexity for Theory of Mind via Discrete World Models
2024-06-16T16:46:55
2024-06-16T16:46:55
X. Angelo Huang, Emanuele La Malfa, Samuele Marro, Andrea Asperti, Anthony Cohn, Michael Wooldridge
cs.AI
cs.AI, cs.CL, cs.LG
Theory of Mind (ToM) can be used to assess the capabilities of Large Language Models (LLMs) in complex scenarios where social reasoning is required. While the research community has proposed many ToM benchmarks, their hardness varies greatly, and their complexity is not well defined. This work proposes a framework to measure the complexity of ToM tasks. We quantify a problem's complexity as the number of states necessary to solve it correctly. Our complexity measure also accounts for spurious states of a ToM problem designed to make it apparently harder. We use our method to assess the complexity of five widely adopted ToM benchmarks. On top of this framework, we design a prompting technique that augments the information available to a model with a description of how the environment changes with the agents' interactions. We name this technique Discrete World Models (DWM) and show how it elicits superior performance on ToM tasks.
[ -0.6688781380653381, -0.9313620924949646, 1.1467982530593872, 0.22714915871620178, -0.19865824282169342, 0.026220351457595825, -0.387123703956604, -0.4795283079147339, -0.1647302806377411, 0.006497299298644066, -0.7680087089538574, 0.0347476489841938, -0.6415764093399048, 0.1293286681175232, -0.09568719565868378, 0.6072154641151428, -0.07861950993537903, -0.05504691228270531, -0.3464924097061157, -0.06964048743247986, -0.2687576711177826, -0.12306708842515945, -0.7565714716911316, -0.8195998668670654, 0.6761986613273621, 0.0009234824101440609, 0.6583173871040344, 0.3966492712497711, 0.7468442916870117, 0.40323641896247864, -0.3676108419895172, 0.34234631061553955, -0.49183809757232666, 0.21594631671905518, -0.5272552967071533, -0.6898934245109558, -0.6537119746208191, 0.01672700047492981, 0.2896556556224823, 0.8963841199874878, -0.06659846007823944, 0.08417323976755142, 0.08921894431114197, 0.46223780512809753, -0.34584131836891174, 0.37899255752563477, -0.59282386302948, -0.016888711601495743, -0.040441256016492844, -0.31254005432128906, -0.2517063617706299, -0.2585769295692444, 0.5215490460395813, -0.5016718506813049, 0.06576377898454666, 0.17896994948387146, 0.3116133511066437, 0.3058392405509949, -0.5634137988090515, -0.17464154958724976, -1.1530307531356812, 0.9576542973518372, -0.3614468574523926, 0.003736436367034912, 0.3903772830963135, 0.378573477268219, -0.5405927896499634, -0.3584713935852051, -0.9593971967697144, -0.1828271746635437, 0.20943419635295868, -0.15601180493831635, -0.12952390313148499, 0.42917928099632263, 0.5927871465682983, 0.6810315847396851, -0.32642585039138794, -0.3755474388599396, 0.015427807345986366, 0.2561892569065094, 0.7596076726913452, 0.579517126083374, 0.3034627437591553, -0.07748936861753464, -0.25885626673698425, -0.2752740681171417, -0.25358638167381287, -0.10377315431833267, 0.05728325992822647, 0.06506550312042236, -0.09615573287010193, 0.12070169299840927, -0.24385035037994385, 0.7438812255859375, 0.12265970557928085, -0.4144112765789032, -0.3004864752292633, 0.16103745996952057, -0.34621521830558777, -0.5023995041847229, 0.3149149715900421, 0.19030000269412994, 0.3504994809627533, 0.032904624938964844, -0.2783195376396179, 0.07099500298500061, 0.3787009119987488, -0.4179357886314392, -0.16549116373062134, 0.5209407210350037, -0.24084776639938354, -0.03197246044874191, -0.08684290945529938, -0.42842039465904236, -0.6433987617492676, -0.16278086602687836, 0.5415101051330566, -0.6764817237854004, -0.6600894331932068, 0.288907527923584, -0.21108989417552948, 0.177188441157341, 0.4814871549606323, -0.6596990823745728, 0.5183734893798828, 0.7853906750679016, 0.7997101545333862, -0.09233205020427704, -0.36690574884414673, 0.2918761968612671, 0.26222243905067444, -0.47683680057525635, 0.7970886826515198, -0.4000944495201111, -0.46536460518836975, -0.24697159230709076, -0.3125077188014984, 0.17222587764263153, -0.22565637528896332, 0.12188108265399933, -0.4104626178741455, 0.07507598400115967, -0.7593352794647217, -0.8001025319099426, -0.5560963153839111, 0.5046626329421997, -0.554908812046051, 0.9076517224311829, 0.21436479687690735, -0.6053206324577332, 0.26153624057769775, -0.7996538281440735, -0.3810962438583374, 0.574398398399353, -0.26472336053848267, 0.13448429107666016, 0.47522225975990295, -0.12094884365797043, 0.6184560060501099, -0.7018816471099854, 0.7370635271072388, -0.5672265291213989, -0.44334426522254944, 0.4028441309928894, -0.3668467402458191, 0.7414502501487732, 0.26617732644081116, -0.40281209349632263, -0.05976879969239235, -0.8049269914627075, 0.21433500945568085, 0.4121653437614441, -0.19816766679286957, -0.6032808423042297, 0.24372538924217224, -0.2294483780860901, -0.04753052815794945, 0.20200836658477783, -0.3264847695827484, 0.2301049530506134, -0.30927661061286926, 0.5454223155975342, 0.9442128539085388, 0.09641426801681519, 0.24171803891658783, -0.9409390687942505, 0.4415702521800995, -0.28443098068237305, 0.16299064457416534, 0.07037249952554703, -0.5669335126876831, -0.8072731494903564, -0.27663305401802063, 0.019267264753580093, 0.26269105076789856, -0.7105961441993713, 0.396098792552948, -0.5247012376785278, -0.7570055723190308, -0.029541125521063805, -0.2799171209335327, 0.4967959523200989, -0.01036881934851408, 0.11884085088968277, -0.39932623505592346, -0.21120205521583557, -0.7146011590957642, -0.21100059151649475, -0.44780784845352173, -0.14615420997142792, 0.3966679573059082, 0.7092897891998291, 0.026799656450748444, 0.8148343563079834, -0.5084232687950134, 0.1876949965953827, -0.2163778841495514, 0.18850569427013397, 0.1488649547100067, 0.40901389718055725, 0.20073063671588898, -0.7811999320983887, -0.05617896839976311, -0.10841716825962067, -0.9002317190170288, 0.240334615111351, 0.06060272827744484, 0.003306585829705, -0.1704961657524109, 0.1005764976143837, -0.8701815009117126, 0.3391985595226288, 0.10142412036657333, 0.019988464191555977, 0.18503163754940033, -0.3051103949546814, 0.28988152742385864, -0.6969938278198242, 0.08053592592477798, 0.07665880769491196, -0.0054171159863471985, -0.6345440149307251, 0.4927096366882324, -0.20083172619342804, 0.04073000326752663, -0.2597934901714325, 0.5958775877952576, -0.5110316872596741, -0.0902380421757698, -0.10933617502450943, 0.015631167218089104, -0.20579278469085693, 0.889838457107544, -0.2042841762304306, 0.3948531150817871, 0.15916584432125092, -1.0849394798278809, 0.6956398487091064, -0.1047237291932106, -0.49696919322013855, 1.1423850059509277, -0.602952241897583, 0.36230847239494324, -0.1722692996263504, 0.3891737461090088, -1.3707515001296997, -0.3631708323955536, -0.05072179436683655, -0.13331638276576996, -0.07859589904546738, 0.22473861277103424, -0.4636574685573578, -0.5631637573242188, -0.09572739154100418, 0.39946451783180237, 0.39883458614349365, -0.3063333034515381, 0.7060292959213257, 0.25069496035575867, 0.07974027842283249, 0.024185702204704285, -0.6531424522399902, 0.0003357201348990202, -0.3665477931499481, -0.6834602952003479, 0.6246974468231201, -0.5327752828598022, -0.7227689623832703, -0.17683418095111847, -0.24015764892101288, -0.24644328653812408, 0.2255527377128601, 0.3705328702926636, -0.19387002289295197, 0.0997699648141861, 0.3747115135192871, -0.10244794934988022, 0.07055426388978958, 0.41024258732795715, -0.2913103401660919, 0.4942564368247986, -0.07972337305545807, -0.3742995262145996, -0.18948020040988922, 0.272519052028656, 0.7823728322982788, 0.0057890103198587894, 0.29223132133483887, -0.023005889728665352, -0.8492118716239929, -0.5993437767028809, -0.5129480957984924, -0.20530661940574646, -0.49149516224861145, 0.2193998545408249, -0.8383274674415588, -0.6408441066741943, 0.6110126376152039, -0.3033732771873474, -0.01770666614174843, 0.11930690705776215, 0.5607215762138367, 0.06449086219072342, 1.026818871498108, 0.7325681447982788, 0.10490618646144867, 0.27098405361175537, -0.2355804443359375, 0.1994466334581375, -0.5627942085266113, -0.1560627520084381, -0.13517163693904877, -0.53635174036026, -0.35131603479385376, -0.5648799538612366, 0.414431095123291, -0.11990986764431, -0.3909178078174591, 0.14420336484909058, -0.4085564613342285, 0.4637084901332855, 0.40791943669319153, 0.3800417482852936, 0.43731269240379333, -0.07888626307249069, -0.2774355411529541, 0.07714013010263443, -0.6041512489318848, -0.47392675280570984, 0.8732039928436279, 0.2641691267490387, 0.7039522528648376, 0.4485779106616974, 0.5004396438598633, 0.4242243468761444, 0.04156959801912308, -0.7546338438987732, 1.0141210556030273, 0.3315088748931885, -0.9403676986694336, -0.7024925947189331, -0.2237592488527298, -0.9129170179367065, 0.13381196558475494, -0.07536162436008453, -0.6981773376464844, 0.031196292489767075, -0.01565481536090374, -0.5622172951698303, 0.31176963448524475, -0.12362950295209885, 0.16774989664554596, 0.02171982266008854, -0.3023306727409363, -0.6625391244888306, -0.41809046268463135, 0.49388977885246277, 0.11535260081291199, 0.06193617731332779, -0.19575195014476776, 0.01841580681502819, 0.6548018455505371, -0.4142071604728699, 0.6961467266082764, -0.06608489900827408, -0.5563158392906189, 0.29916027188301086, 0.3616253137588501, 0.4918154776096344, -0.07083357870578766, -0.0017430715961381793, -0.22672392427921295, -0.027439769357442856, -0.40441858768463135, -0.9037018418312073, 0.5868566036224365, -0.4993845820426941, -0.7823600172996521, -0.5276327133178711, -0.8109163045883179, -0.46839094161987305, 0.0742340162396431, 0.19564852118492126, 0.3600107729434967, -0.2628389000892639, -0.0725003182888031, 0.9760348796844482, -0.0792645514011383, 0.3561500906944275, 0.6262692809104919, -0.09723055362701416, -0.04120102524757385, 0.7737103700637817, 0.5513398051261902, 0.17917874455451965, 0.34240737557411194, 0.19381801784038544, -0.06452800333499908, -0.4740619361400604, -0.03983359783887863, -0.06325222551822662, -0.7775678634643555, 0.027576850727200508, -0.3994220495223999, -0.09142141044139862, 0.00042898207902908325, -0.010118055157363415, -0.09424838423728943, -0.20377109944820404, 0.2543081045150757, -0.16410300135612488, 0.5877106189727783, 1.1369643211364746, -0.0019469419494271278, 0.1676771640777588, -0.16228096187114716, 0.32276028394699097, 0.8384162187576294, 0.6211444139480591, 0.476442813873291, -0.21830534934997559, -0.1460302621126175, -0.022786298766732216, -0.2283778041601181, -0.9154170155525208, -0.00531008280813694, -0.16909649968147278, 0.550474226474762, 0.3036564290523529, 0.18306110799312592, 0.8475537300109863, -0.2973252534866333, 0.5774798393249512, -0.10125046223402023, -1.1141574382781982, 0.6046748161315918, -0.7073914408683777, 0.28205448389053345, 0.12824253737926483, 0.3931652307510376, -0.32375338673591614, -0.3987736999988556, -0.8979142904281616, -0.4744527339935303, 0.3290528357028961, -0.04213492199778557, 0.0833696722984314, -0.2521013021469116, 0.597167432308197, -0.1797325611114502, 0.1484430581331253, -0.5460629463195801, -0.23167987167835236, 0.4801868200302124, -0.2421608567237854, -0.021488221362233162, -0.34196901321411133, -0.3110385835170746, -0.18138816952705383, 0.42071494460105896, -0.0705333724617958, 0.40068623423576355, 0.4716625213623047, -0.01199922151863575, -0.4340325891971588, 0.2146998643875122, 0.5232247114181519, 1.0364760160446167, -0.2482728809118271, 0.271783709526062, 0.3541085124015808, -0.15772251784801483, 0.5332522392272949, -0.2827914357185364, 0.06688589602708817, -0.4288303256034851, 0.5351769924163818, 0.4693174958229065, 0.14042535424232483, -0.5402254462242126, 0.3244970142841339, -0.050413794815540314, -0.3750474154949188, -0.32326003909111023, 0.4684698283672333, -0.07118493318557739, 0.4333557188510895, 0.5633972883224487, -0.23757049441337585, 0.24243022501468658, -0.5227892398834229, -0.03391857445240021, 0.39938947558403015, -0.45220300555229187, -0.26528382301330566, 0.4019604027271271, 0.32362696528434753, -0.5313186645507812, 0.3285771608352661, -0.47845450043678284, -0.36935678124427795, 0.8419400453567505, 0.3880366384983063, 0.7591415047645569, -0.22384107112884521, 0.0003971286350861192, 0.12780331075191498, 0.504671037197113, -0.48755350708961487, 0.6931381225585938, -0.09471524506807327, -0.7562662363052368, -0.4552597105503082, -0.2954423427581787, -0.6790738105773926, 0.5112378597259521, -0.7673612833023071, -0.05493035539984703, -0.8988156914710999, -0.4448390603065491, 0.013888117857277393, 0.37602895498275757, -0.7575160264968872, 0.5691406726837158, 0.10307520627975464, 0.6853466629981995, -0.5727902054786682, 0.6150270700454712, 0.8268883228302002, 0.007146748248487711, -0.6349560618400574, 0.02264861762523651, 0.21287117898464203, -0.6597446799278259, 0.4884283244609833, 0.05991687998175621, -0.33396127820014954, 0.0923215001821518, -0.6859387159347534, -0.737273633480072, 1.0688320398330688, 0.29111436009407043, -0.5430350303649902, 0.207894429564476, -0.2814520597457886, 0.6894183158874512, -0.31060001254081726, 0.21079322695732117, 0.5301110148429871, 0.5973327159881592, -0.29215505719184875, -0.8568850755691528, 0.4019410312175751, -0.3175070285797119, 0.460730642080307, 0.11936873197555542, -0.7665934562683105, 1.1095715761184692, -0.2753223180770874, -0.4826020896434784, 0.06511963903903961, 0.6706776022911072, 0.29503247141838074, 0.3293100893497467, 0.9050530195236206, 0.44870737195014954, 1.0465829372406006, -0.016316767781972885, 0.9609098434448242, -0.22937119007110596, 0.3938117027282715, 0.8980202078819275, -0.4309643805027008, 0.5586375594139099, 0.27316322922706604, -0.8171728253364563, 0.5236210823059082, 0.610975980758667, 0.2387980818748474, 0.21162287890911102, 0.9022687673568726, -0.27314919233322144, -0.42922380566596985, -0.04908648133277893, -0.1704426258802414, 0.43273621797561646, 0.5265318751335144, 0.13149240612983704, 0.1698550581932068, 0.07332143187522888, -0.11675668507814407, 0.3836432993412018, -0.19484740495681763, 0.6738680601119995, 0.14317819476127625, -0.8672864437103271, 0.5909001231193542, 0.01767646335065365, 0.531717836856842, -0.5024781823158264, -0.10877169668674469, -0.2827903628349304, 0.20400865375995636, 0.1657944768667221, -0.676616907119751, 0.10201864689588547, -0.3281528949737549, -0.5139843821525574, -0.006108422763645649, 0.48860234022140503, -0.23921126127243042, -0.3849432170391083, 0.5157486796379089, 0.7917152643203735, 0.23702043294906616, -0.07446259260177612, -0.5059816837310791, 0.09425871074199677, -0.23822322487831116, -0.45467835664749146, 0.20874083042144775, 0.7809832096099854, -0.20150521397590637, 1.211214542388916, 0.31697243452072144, 0.030247973278164864, -0.2575100064277649, -0.20856620371341705, 0.4625484049320221, -0.9783656001091003, -0.6132453680038452, -1.1167412996292114, 0.037066858261823654, -0.07796306163072586, -0.3201964199542999, 0.5838590860366821, -0.1599266231060028, 0.7129002809524536, 0.12579092383384705, 0.9603525996208191, -0.3100827634334564, 0.45572754740715027, -0.3022676706314087, 0.4396047294139862, -0.5922119617462158, 0.4477047026157379, -0.4892781972885132, -0.8473231196403503, -0.0689043328166008, 0.7231881022453308, -0.14392806589603424, 0.22379520535469055, 0.8428425788879395, 0.5946958065032959, 0.15336111187934875, 0.24999454617500305, 0.47466954588890076, 0.2060054987668991, 0.21902789175510406, 1.0233899354934692, 0.9558573365211487, -0.11502200365066528, 0.39626795053482056, -0.22960254549980164, -0.4529654085636139, -0.00529062282294035, -0.9191882014274597, -1.0708976984024048, -0.8735756874084473, -0.3214905560016632, -0.24108651280403137, 0.07697811722755432, 0.9228227734565735, 0.8586956858634949, -0.35721319913864136, -0.44117245078086853, -0.2030107080936432, 0.40072235465049744, -0.6716150641441345, -0.15927545726299286, -0.02839837782084942, -0.06471767276525497, -0.82773357629776, 0.27013301849365234, 0.4513102173805237, 0.269437700510025, -0.8109712600708008, 0.0996541753411293, -0.0406193844974041, 0.5508468151092529, 0.6287614107131958, -0.058813441544771194, -1.0377583503723145, -0.6741577386856079, -0.359021931886673, -0.18409590423107147, -0.3093219995498657, 0.91838538646698, -0.5041576027870178, 0.44609934091567993, 0.49356070160865784, 0.36720889806747437, 0.33062681555747986, -0.3379253149032593, 0.8573759198188782, -0.512474536895752, 0.005404599942266941, 0.04729771986603737, 0.23374763131141663, 0.27476564049720764, -0.39426571130752563, 0.741461992263794, 0.21348732709884644, -0.3921618163585663, -0.8760824203491211, 0.46401447057724, -0.7759785056114197, -0.554977297782898, 0.8209177851676941, -0.26907458901405334, -0.3547070026397705, -0.3288903534412384, -0.004721235483884811, 0.03878607600927353, -0.16370269656181335, 1.001595377922058, 1.184037685394287, -0.11897502839565277, -0.11724720150232315, -0.4116213023662567, 0.6955642104148865, 0.38539162278175354, -0.535887598991394, 0.019746238365769386, 0.19189561903476715, 0.14570391178131104, 0.423522025346756, 1.037756323814392, 0.22456219792366028, 0.02094324491918087, 0.12508247792720795, 0.033337995409965515, 0.19904017448425293, -0.3547908365726471, -0.3050340414047241, 0.21258018910884857, 0.1716589778661728, 0.3032882809638977 ]
http://arxiv.org/abs/2406.10999v1
http://arxiv.org/pdf/2406.10999v1
Not All Bias is Bad: Balancing Rational Deviations and Cognitive Biases in Large Language Model Reasoning
2024-06-16T16:25:22
2024-06-16T16:25:22
Liman Wang, Hanyang Zhong
cs.CL
cs.CL, cs.AI
This paper investigates the nuanced role of biases in the decision-making processes of large language models (LLMs). While conventional research typically aims to eliminate all biases, our study reveals that not all biases are detrimental. By examining rational deviations, involving heuristic shortcuts that enhance decision-making efficiency, we highlight their potential benefits when properly balanced. We introduce the concepts of heuristic moderation and an abstention option, allowing LLMs to abstain from answering when uncertain, thereby reducing error rates and improving decision accuracy. Using our newly developed BRD (Balance Rational Deviations) dataset, our findings demonstrate that appropriately scaled bias inspection enhances model performance and aligns LLM decision-making more closely with human reasoning. This balance improves the reliability and trustworthiness of LLMs and suggests new strategies for future enhancements. Our work offers a fresh perspective on leveraging biases constructively to enhance the practical applications of LLMs, from conversational agents to decision support systems and beyond.
[ -0.5140387415885925, -0.7370124459266663, 0.7604279518127441, 0.13711583614349365, -0.12962648272514343, -0.05836109444499016, -0.525820791721344, -0.38760286569595337, -0.0825936421751976, 0.6565510630607605, -0.43805888295173645, -0.22484391927719116, -0.5842164754867554, -0.11831589043140411, -0.03538959473371506, 0.86796635389328, -0.020858008414506912, 0.31913307309150696, -0.34633374214172363, -0.254758358001709, -0.5523573756217957, -0.34698396921157837, -0.7167550325393677, -0.8524674773216248, 0.3547288179397583, 0.29370415210723877, 1.0166552066802979, 0.640606164932251, 0.25702235102653503, 0.20187772810459137, -0.16802917420864105, 0.2954842746257782, -0.42418211698532104, 0.2741568684577942, -0.560043215751648, -0.5989391207695007, -0.2944910526275635, 0.1169697567820549, 0.5362898111343384, 0.8893263339996338, -0.14681962132453918, -0.03763190656900406, 0.06313996762037277, 0.7987977862358093, -0.7321305274963379, 0.16383355855941772, -0.5999988913536072, -0.12146218121051788, -0.29958921670913696, -0.023526109755039215, -0.5051512718200684, -0.3487204313278198, 0.32550084590911865, -0.3650110065937042, -0.16555465757846832, 0.1603943556547165, 0.7006208300590515, 0.5242326855659485, -0.4726821780204773, -0.1034855768084526, -0.7029733657836914, 1.201215386390686, -0.8234454393386841, 0.501201868057251, 0.43018487095832825, 0.2762291431427002, -0.1884324997663498, -0.015929579734802246, -0.3663857579231262, 0.06445854902267456, 0.059282802045345306, -0.209594264626503, -0.1460941880941391, 0.1908016949892044, 0.30770325660705566, 0.058822475373744965, -0.06330698728561401, 0.27547788619995117, -0.255014032125473, -0.37647104263305664, 0.6559058427810669, 0.13959838449954987, 0.1991782933473587, -0.022426877170801163, -0.1005200520157814, 0.004426711704581976, -0.7190961241722107, -0.06374409794807434, 0.2885189354419708, 0.23226989805698395, 0.01971946284174919, 0.6430230736732483, -0.22449523210525513, 0.5850610733032227, 0.0633532777428627, -0.15296724438667297, 0.023299401625990868, -0.25777584314346313, -0.3796185255050659, -0.02302633225917816, 0.6167980432510376, 0.6501209735870361, 0.7118349671363831, -0.12815876305103302, -0.3220042884349823, 0.24338550865650177, 0.22430159151554108, -0.543438196182251, -0.046278294175863266, 0.18286177515983582, -0.3594490885734558, -0.3175944685935974, -0.19262248277664185, -0.7598697543144226, -0.5435787439346313, -0.5361445546150208, 0.11484913527965546, -0.27029988169670105, -0.1985173523426056, 0.45936018228530884, -0.16406680643558502, 0.12481007725000381, 0.6140928268432617, -0.6885954737663269, 0.16994202136993408, 0.7002465128898621, 0.4088125228881836, -0.20036327838897705, -0.08891858160495758, -0.369350403547287, 0.11184819787740707, -0.5519233345985413, 0.6197122931480408, -0.43569669127464294, -0.41848689317703247, -0.06728146970272064, -0.24570132791996002, 0.17303575575351715, -0.8055704236030579, 1.0432026386260986, -0.4267701506614685, 0.14821915328502655, -0.7272160649299622, -0.5481456518173218, -0.29925382137298584, 0.27606359124183655, -0.5845487117767334, 0.6623463034629822, -0.02242349646985531, -0.6416109204292297, 0.6169659495353699, -0.33779364824295044, -0.5446471571922302, -0.18824978172779083, -0.2950621545314789, -0.460191547870636, 0.07666436582803726, 0.305006742477417, 0.11783330887556076, -0.5701289772987366, 0.3166201710700989, -0.5754639506340027, 0.017674533650279045, 0.46928322315216064, -0.6811913847923279, 0.9310594797134399, 0.3612237274646759, -0.3755585849285126, 0.3198474049568176, -0.17031294107437134, 0.25925412774086, -0.0829853042960167, -0.42149409651756287, -0.5130088925361633, 0.30013519525527954, -0.10688614100217819, 0.22130708396434784, -0.06934944540262222, -0.15921859443187714, 0.1269431859254837, -0.3333951234817505, 0.3737798035144806, 1.0190798044204712, -0.21230734884738922, 0.9079136252403259, -0.7306297421455383, 0.2549651861190796, 0.11753031611442566, 0.2677694261074066, 0.08478019386529922, -0.33422157168388367, -0.8889531493186951, -0.4433826208114624, 0.2859540283679962, 0.5762009024620056, -0.5209634900093079, 0.5338585376739502, -0.04362805187702179, -0.24295774102210999, -0.5863017439842224, 0.40082231163978577, 0.2682097256183624, 0.4273398816585541, 0.16515344381332397, -0.15787898004055023, -0.6251269578933716, -0.971733033657074, -0.49251171946525574, -0.18630161881446838, 0.07412277162075043, 0.1733749657869339, 0.22699305415153503, -0.305815726518631, 0.9356095194816589, -0.34401798248291016, -0.17013554275035858, -0.18622693419456482, -0.20218655467033386, -0.0848751962184906, 0.33885470032691956, 0.461700439453125, -0.4331705868244171, -0.24568814039230347, -0.17796045541763306, -0.6864448189735413, -0.4995509684085846, -0.21325264871120453, -0.532657265663147, 0.42650285363197327, 0.4146389365196228, -1.0120048522949219, 0.158331498503685, 0.214493066072464, -0.43026888370513916, 0.4518152177333832, 0.1496286690235138, -0.02282024174928665, -0.5933841466903687, -0.3206416666507721, 0.3798266351222992, -0.3291550874710083, -0.34273916482925415, -0.006044220644980669, 0.038765136152505875, 0.7507361173629761, -0.22976547479629517, 0.5761871933937073, -0.3843405246734619, -0.08354423195123672, -0.25714701414108276, 0.15810434520244598, 0.17145101726055145, -0.08802694082260132, -0.027685603126883507, 0.6524649858474731, 0.3324902057647705, -0.5043830275535583, 0.12848247587680817, 0.022830141708254814, -0.3914772868156433, 0.7083079814910889, -0.34177762269973755, -0.2982901632785797, -0.20919962227344513, 0.2744750678539276, -0.6452405452728271, 0.016631701961159706, 0.1081404834985733, -0.35035189986228943, 0.15038488805294037, 0.1045617088675499, -0.34585443139076233, -0.2518743872642517, -0.5217078924179077, 0.25398680567741394, 0.5311372876167297, -0.4699437618255615, 0.5440502762794495, 0.4364333748817444, -0.07711146771907806, -0.6208921670913696, -0.6426848769187927, -0.08145240694284439, -0.3544459044933319, -0.6835185885429382, 0.021971533074975014, -0.11188586801290512, -1.0477466583251953, -0.20521846413612366, -0.2918332815170288, 0.18811017274856567, 0.21117892861366272, -0.022295663133263588, 0.557288646697998, -0.11656156182289124, -0.06080574542284012, -0.026345113292336464, 0.07772832363843918, 0.22683370113372803, -0.39756399393081665, 0.5985045433044434, 0.02217002585530281, -0.4618207812309265, -0.3447728157043457, 0.07700840383768082, 0.9062241315841675, -0.1195530816912651, 0.5112369060516357, 0.18685382604599, -0.37503060698509216, -0.27236342430114746, -0.9650928974151611, -0.3466918170452118, -0.45710548758506775, 0.09011545777320862, 0.0013122919481247663, -0.8150915503501892, 0.45996907353401184, 0.06877285987138748, 0.24939484894275665, 0.20015674829483032, 0.6837910413742065, -0.10242729634046555, 1.2117609977722168, 0.3363892734050751, -0.3883320093154907, 0.4997793436050415, 0.090884268283844, 0.39789512753486633, -0.776412844657898, 0.019219130277633667, -0.5533946752548218, -0.15942400693893433, -0.5130576491355896, -0.636542022228241, 0.21324124932289124, 0.19190378487110138, -0.4397430121898651, -0.47192710638046265, -0.31055113673210144, 0.572915256023407, 0.4019708037376404, 0.05775275453925133, 0.2953945994377136, -0.15064837038516998, 0.036096978932619095, -0.24197500944137573, -0.47355642914772034, -0.7957591414451599, 0.9977644085884094, 0.4721902310848236, 1.0361809730529785, 0.0992446020245552, 0.3200397491455078, 0.2876749634742737, 0.34620511531829834, -0.834130585193634, 0.3736373782157898, 0.2483542114496231, -0.7945883870124817, -0.5051325559616089, -0.46250098943710327, -0.5267481803894043, 0.624925971031189, -0.2738945186138153, -0.5225575566291809, 0.11975979804992676, 0.10523603111505508, -0.3261682391166687, 0.4114222228527069, -0.8099989295005798, 0.49303367733955383, -0.48568660020828247, -0.7544171214103699, -0.23304595053195953, -0.3757393956184387, 0.5704030990600586, -0.03015810251235962, 0.355251669883728, -0.08167397230863571, 0.02177043817937374, 0.5621196031570435, -0.22136171162128448, 0.8462865948677063, 0.017466871067881584, -0.2678878605365753, 0.35643795132637024, 0.2838509976863861, 0.5533625483512878, 0.15600305795669556, -0.33048245310783386, 0.1777261197566986, -0.013048599474132061, -0.498565137386322, -0.3823493421077728, 0.5671349167823792, -0.7894600033760071, -0.8562840819358826, -0.3669165372848511, -0.6539255380630493, -0.33873462677001953, 0.355537474155426, 0.0011423738906159997, -0.2488529533147812, -0.1512264609336853, 0.14727845788002014, 0.9379469752311707, -0.1623830646276474, 0.3553309142589569, 0.4293304979801178, -0.29378241300582886, -0.3310195505619049, 0.38425663113594055, 0.12480279058218002, 0.6634486317634583, 0.0029833270236849785, 0.19631610810756683, -0.29571107029914856, -0.5151048898696899, -0.5023540258407593, 0.23066899180412292, -0.8163390755653381, -0.08334509283304214, -0.5127749443054199, 0.01951598934829235, -0.4445962905883789, -0.3911796808242798, -0.4898126423358917, -0.2269401252269745, -0.09920714795589447, -0.4059649407863617, 0.08086259663105011, 0.3700604736804962, -0.013772477395832539, 0.2299228012561798, -0.4277627468109131, -0.00004733744208351709, 0.2661353647708893, 0.18108953535556793, 0.10409089177846909, -0.26253363490104675, -0.029394203796982765, 0.2563880383968353, -0.5057297945022583, -0.5185834765434265, 0.36812591552734375, -0.3812403678894043, 0.8530706167221069, 0.5302155017852783, 0.15041442215442657, 0.4050111174583435, -0.259054034948349, 0.6746721267700195, 0.16490116715431213, -1.0008457899093628, 0.15485769510269165, -0.6368492245674133, 0.32220831513404846, 0.5646585822105408, 0.05840124934911728, -0.5131502151489258, -0.27433767914772034, -0.26283565163612366, -0.675888180732727, 0.6693442463874817, 0.02296815626323223, -0.0749443843960762, 0.02441572956740856, 0.21628022193908691, -0.045487284660339355, 0.2901800572872162, -0.6905054450035095, -0.05176333710551262, 0.03662383556365967, -0.18689985573291779, -0.057318948209285736, -0.3438112735748291, -0.4467203617095947, -0.3948012590408325, 0.8215412497520447, -0.191571444272995, -0.17460951209068298, -0.03957228735089302, -0.17949971556663513, -0.3900551497936249, 0.5354102253913879, 0.6204922795295715, 0.6510701179504395, 0.024461353197693825, 0.18211986124515533, 0.39881956577301025, -0.11851295828819275, -0.08938798308372498, -0.35050055384635925, -0.3596671521663666, -0.33809471130371094, 0.33435001969337463, 0.6351059675216675, -0.1002325564622879, -0.8049274682998657, 0.38041484355926514, 0.1438203603029251, -0.09904017299413681, -0.0879640281200409, 0.012346997857093811, 0.20960833132266998, 0.36421316862106323, 0.041034843772649765, 0.21488440036773682, -0.09857896715402603, -0.6095142960548401, 0.0946727767586708, 0.8090109825134277, -0.22826644778251648, -0.006341667380183935, 0.4510791301727295, 0.233189195394516, -0.12411973625421524, 0.7044402956962585, -0.018968237563967705, -0.566318929195404, 0.6078923344612122, 0.35988569259643555, 0.6526588797569275, -0.1741718202829361, 0.06406226009130478, -0.10022565722465515, 0.7863298058509827, -0.4753650724887848, 0.12287010997533798, 0.10583753138780594, -1.148950219154358, -0.4676238000392914, -0.46505048871040344, -0.43029987812042236, -0.052536360919475555, -0.5084434747695923, 0.4674564003944397, -0.6342974305152893, -0.24383489787578583, -0.019857151433825493, -0.17244525253772736, -0.465789258480072, 0.12304374575614929, 0.22429823875427246, 0.8396127820014954, -0.8249216675758362, 0.6352533102035522, 0.3307190537452698, -0.28207358717918396, -0.6372855305671692, 0.020834047347307205, 0.3587782680988312, -0.6363618969917297, 0.5437913537025452, -0.039912767708301544, -0.09706723690032959, -0.41980868577957153, -0.5458036065101624, -0.7213807702064514, 0.7321903109550476, 0.461071252822876, -0.5445271134376526, 0.02598767727613449, 0.015276138670742512, 0.4076116681098938, -0.19125455617904663, 0.3752496838569641, 0.8962748050689697, 0.7928575873374939, -0.05322084203362465, -1.0294498205184937, 0.05191738158464432, 0.24023349583148956, -0.17851470410823822, 0.3536147475242615, -0.7037649154663086, 0.9223495125770569, -0.23334503173828125, 0.07599658519029617, -0.2938126027584076, 0.26102763414382935, 0.410376638174057, 0.30792877078056335, 0.6033229231834412, 0.6784879565238953, 0.8561109900474548, -0.26573604345321655, 0.8916477560997009, -0.024874737486243248, 0.020197441801428795, 0.9442561268806458, -0.8000653386116028, 0.3772553503513336, 0.7178947925567627, -0.16172921657562256, 0.18718808889389038, 0.5506207942962646, 0.23893392086029053, 0.4447365701198578, 0.19706131517887115, -0.3946499228477478, -0.6461613774299622, -0.16520445048809052, 0.0571061447262764, 0.2972941994667053, 0.5728820562362671, -0.3035537600517273, -0.269500195980072, -0.14129647612571716, 0.3276657462120056, 0.3153036832809448, -0.16326434910297394, 0.6414151787757874, 0.18470312654972076, -0.9279235005378723, 0.38857409358024597, 0.07900523394346237, 0.9398345351219177, -0.3082595467567444, 0.182272270321846, 0.018433047458529472, 0.4017859399318695, -0.37694448232650757, -0.8488008379936218, 0.4000824987888336, -0.19685763120651245, -0.5824155807495117, -0.45616406202316284, 0.6290937066078186, -0.18049292266368866, -0.2881481647491455, 0.4201774001121521, 0.6757842302322388, -0.2892225384712219, -0.06457848846912384, -0.6294050216674805, 0.3867953419685364, 0.3329727351665497, -0.1396288424730301, 0.2529445290565491, 0.4770609140396118, -0.6528381109237671, 0.8269317746162415, 0.6311016082763672, 0.19172756373882294, -0.05059994012117386, 0.2769944369792938, 0.7108538150787354, -0.58774334192276, -0.35004496574401855, -1.1000328063964844, 0.30188751220703125, -0.2762720584869385, 0.02642039954662323, 0.7320170998573303, 0.5212094783782959, 0.9182848930358887, 0.29379063844680786, 1.225259780883789, 0.4261265993118286, 0.46942684054374695, -0.5032489895820618, 0.5391936302185059, -0.1705603450536728, 0.6667494773864746, -0.20901794731616974, -0.7574414610862732, -0.23401093482971191, 0.8434237241744995, -0.7663744688034058, 0.25778308510780334, 0.5341629385948181, 0.7847900986671448, 0.13244228065013885, 0.27538371086120605, 0.24523358047008514, 0.17756444215774536, 0.6555790901184082, 0.2629005014896393, 0.9244722723960876, -0.015236013568937778, 0.13955266773700714, -0.0904143825173378, -0.22626446187496185, -0.2650665044784546, -0.7569912075996399, -1.0176931619644165, 0.021141208708286285, -0.19572857022285461, -0.4234126806259155, 0.05129149183630943, 1.1573964357376099, 0.7121700644493103, -0.6274286508560181, -0.35020557045936584, 0.03115149401128292, 0.6736037731170654, -0.059491753578186035, -0.2550414502620697, -0.16781790554523468, -0.4653688967227936, -0.6459253430366516, 0.06942006200551987, 0.2699737250804901, 0.012597372755408287, -0.3851708769798279, -0.17422887682914734, -0.22479839622974396, 0.5683383941650391, 0.6815327405929565, 0.0275399349629879, -0.8416114449501038, -0.3461126387119293, 0.02342204377055168, -0.29956358671188354, -0.03552054986357689, 0.7580059766769409, -0.4355156719684601, 0.22091780602931976, 0.6766783595085144, 0.6312775611877441, 0.1496228277683258, -0.057569719851017, 0.8358412384986877, -0.26532086730003357, 0.1268233060836792, 0.237516388297081, 0.5612828135490417, 0.5198729634284973, -0.3095947802066803, 0.4104960262775421, 0.057820506393909454, -0.6027067303657532, -0.9005503058433533, 0.32849568128585815, -0.8803542256355286, -0.4589632749557495, 1.394626498222351, 0.39108118414878845, -0.21611197292804718, -0.20021001994609833, -0.4238213896751404, 0.15361447632312775, -0.4686439335346222, 0.7901896238327026, 1.1550986766815186, -0.15772148966789246, -0.15328195691108704, -0.7865990400314331, 0.4730806350708008, 0.833331286907196, -0.8042627573013306, 0.37421202659606934, 0.9115644097328186, 0.4657435119152069, 0.0822376236319542, 0.517870306968689, -0.23520450294017792, 0.035142380744218826, -0.35211727023124695, 0.14244595170021057, 0.3188055157661438, -0.00342865870334208, -0.30086204409599304, -0.21784621477127075, 0.43717703223228455, 0.20504647493362427 ]
http://arxiv.org/abs/2406.10996v1
http://arxiv.org/pdf/2406.10996v1
THEANINE: Revisiting Memory Management in Long-term Conversations with Timeline-augmented Response Generation
2024-06-16T16:17:46
2024-06-16T16:17:46
Seo Hyun Kim, Kai Tzu-iunn Ong, Taeyoon Kwon, Namyoung Kim, Keummin Ka, SeongHyeon Bae, Yohan Jo, Seung-won Hwang, Dongha Lee, Jinyoung Yeo
cs.CL
cs.CL
Large language models (LLMs) are capable of processing lengthy dialogue histories during prolonged interaction with users without additional memory modules; however, their responses tend to overlook or incorrectly recall information from the past. In this paper, we revisit memory-augmented response generation in the era of LLMs. While prior work focuses on getting rid of outdated memories, we argue that such memories can provide contextual cues that help dialogue systems understand the development of past events and, therefore, benefit response generation. We present Theanine, a framework that augments LLMs' response generation with memory timelines -- series of memories that demonstrate the development and causality of relevant past events. Along with Theanine, we introduce TeaFarm, a counterfactual-driven question-answering pipeline addressing the limitation of G-Eval in long-term conversations. Supplementary videos of our methods and the TeaBag dataset for TeaFarm evaluation are in https://theanine-693b0.web.app/.
[ -0.3484935462474823, -1.1728731393814087, 0.5873211622238159, -0.28388145565986633, -0.10938898473978043, 0.08343450725078583, -0.11953607946634293, -0.3436456024646759, 0.5191600918769836, 0.7483798861503601, -0.8087126612663269, 0.00901117455214262, -0.18433313071727753, -0.29850250482559204, -0.39967799186706543, 0.9334493279457092, 0.031792864203453064, -0.1300593614578247, -0.30811139941215515, -0.20234544575214386, -0.7154824137687683, -0.848179817199707, -1.108643651008606, -0.6677298545837402, 0.927400529384613, 0.34364718198776245, 0.5296177268028259, 0.4223092794418335, 0.1657869964838028, 0.3007696866989136, -0.16477558016777039, -0.045864224433898926, -0.6725632548332214, 0.42331770062446594, -0.3313199579715729, -0.4402317404747009, -0.5336751937866211, -0.42034679651260376, 0.35704267024993896, 0.7169834971427917, -0.23731496930122375, 0.12410201877355576, -0.05232289060950279, 0.5119286179542542, -0.5812988877296448, -0.03724810108542442, -0.6476171612739563, 0.1288747936487198, -0.006168579217046499, -0.4861326217651367, -0.3379769027233124, -0.05672908201813698, 0.30071067810058594, -0.31650301814079285, 0.051155976951122284, 0.03504260256886482, 0.5379422307014465, 0.125154048204422, -0.4012066125869751, -0.3408803641796112, -0.9764858484268188, 0.8746427297592163, -0.577442467212677, 0.023978840559720993, 0.42378291487693787, 0.24504892528057098, -0.3052603304386139, -0.8327400088310242, -0.5316721796989441, -0.07036586105823517, -0.05319945141673088, 0.11175613850355148, -0.19606329500675201, 0.0882987380027771, 0.2882983386516571, 0.3705771267414093, -0.6486585736274719, 0.05414359271526337, -0.3526154160499573, -0.44374939799308777, 0.17459164559841156, 0.3301873803138733, 0.2274613380432129, -0.21375888586044312, -0.5584571361541748, 0.1949046403169632, -0.7180067896842957, -0.21416865289211273, -0.025948354974389076, -0.0537174753844738, 0.25133824348449707, 0.46570321917533875, 0.04767590016126633, 0.5244825482368469, -0.09957887977361679, 0.060016367584466934, -0.30761241912841797, -0.24372053146362305, -0.43515563011169434, 0.3720334470272064, 0.53354811668396, 0.2877304255962372, 0.5902448892593384, -0.23540937900543213, 0.45387470722198486, -0.023528533056378365, 0.3448481559753418, -1.0150333642959595, -0.306543231010437, 0.4039279818534851, -0.280138224363327, 0.008867749944329262, -0.5642749667167664, -0.879658579826355, -0.31393808126449585, 0.08309171348810196, 0.2841040790081024, -0.16359244287014008, -0.4767495393753052, -0.03662796691060066, -0.17821814119815826, 0.25020745396614075, 0.21818220615386963, -0.7074361443519592, 0.3623124063014984, 0.5123624801635742, 0.5097975134849548, -0.010459460318088531, -0.0944078266620636, -0.7626587748527527, 0.5232142806053162, -0.2000342160463333, 0.813416063785553, -0.5653612613677979, -0.7443708181381226, -0.016203580424189568, -0.17961865663528442, 0.09632694721221924, -0.5833807587623596, 0.19702009856700897, -0.7151890993118286, 0.3363634943962097, -0.2597125172615051, -0.5987321138381958, -0.11786916851997375, 0.520200252532959, -0.5703953504562378, 0.7090224623680115, 0.06097119674086571, -0.40932485461235046, 0.057584747672080994, -0.4971170425415039, -0.36812785267829895, -0.14362575113773346, -0.20276518166065216, -0.4413946568965912, -0.012317737564444542, 0.08847007155418396, 0.09790994226932526, -0.490811288356781, 0.6280705332756042, -0.3979952037334442, -0.22582606971263885, 0.38711944222450256, -0.8222965002059937, 0.6166554689407349, 0.11274778842926025, -0.08123172074556351, 0.06540097296237946, -0.6675014495849609, 0.04305277392268181, 0.12649552524089813, -0.05822254717350006, -0.10505414754152298, 0.09025207161903381, -0.5298766493797302, 0.19872713088989258, -0.07288111001253128, -0.2814497947692871, -0.15297168493270874, -0.27571266889572144, 0.6585618257522583, 0.7652474045753479, 0.4086531400680542, 0.4787807762622833, -0.37294477224349976, 0.2762954831123352, 0.3051503300666809, -0.0013734643580392003, -0.9092231392860413, -0.13537907600402832, -1.1228225231170654, 0.2254023551940918, -0.08067865669727325, 0.6052536368370056, -0.7625802159309387, 0.25025638937950134, -0.29195746779441833, -0.03989990055561066, 0.12404457479715347, 0.3039500117301941, 0.1147708147764206, 0.8864762783050537, 0.5766507983207703, -0.33677390217781067, -0.7079244256019592, -0.8849840760231018, -0.24033883213996887, -0.7961233854293823, -0.07148239016532898, 0.6261065602302551, 0.21747814118862152, 0.026751309633255005, 0.9854714274406433, -0.4383247196674347, 0.11294310539960861, -0.10945253074169159, 0.23910841345787048, -0.09727215766906738, 0.45720502734184265, 0.2432657927274704, -0.650251567363739, 0.12410739064216614, -0.3380538523197174, -0.4611104130744934, -0.1278788149356842, -0.4808705747127533, -0.18181203305721283, 0.35523736476898193, 0.4963386058807373, -0.8746019005775452, 0.5068265795707703, 0.2663624882698059, -0.15245525538921356, 0.29180455207824707, 0.018485410138964653, 0.1445210725069046, -1.147207498550415, 0.14998801052570343, -0.41343384981155396, -0.2876688241958618, -0.5526690483093262, -0.6016915440559387, -0.279344379901886, -0.27973389625549316, -0.5587568283081055, 0.8221556544303894, -0.4064098298549652, 0.06719114631414413, -0.2999860942363739, 0.22035229206085205, 0.042017862200737, 0.6800488829612732, 0.23746399581432343, 0.759325385093689, 0.11319663375616074, -0.5826370716094971, 0.5925189852714539, 0.1515512615442276, -0.07017847895622253, 0.6910059452056885, -0.44407591223716736, 0.36161261796951294, -0.07462114840745926, 0.3774741590023041, -1.3411649465560913, -0.2605981230735779, 0.5283578038215637, -0.20725718140602112, 0.41378289461135864, 0.017227478325366974, -0.206248477101326, -0.6911700963973999, -0.19701366126537323, 0.4088650047779083, 0.454994797706604, -0.6105608344078064, 0.8183339238166809, 0.053246788680553436, -0.39889436960220337, -0.4022616147994995, -0.7268491387367249, 0.560259997844696, -0.5206495523452759, -0.4063529074192047, 0.006515200715512037, -0.366681307554245, -0.2591433525085449, -0.06259963661432266, -0.41264671087265015, -0.009496507234871387, 0.10114527493715286, -0.0009557437151670456, 0.16194018721580505, -0.1089009940624237, 0.4285258650779724, -0.19465649127960205, -0.06409739702939987, 0.24733325839042664, -0.16910171508789062, 0.833560585975647, 0.44125914573669434, -0.17305652797222137, -0.07966390997171402, 0.5366452932357788, 0.2634625732898712, -0.10531533509492874, 0.6865046620368958, 0.34737324714660645, -0.2543026804924011, -0.09650075435638428, -0.6740831136703491, -0.3264428675174713, -0.4683021008968353, 0.36386728286743164, -0.26647427678108215, -1.0035637617111206, 0.59487384557724, -0.3157424330711365, -0.2606526017189026, 0.2721262276172638, 0.5699959993362427, -0.2389063835144043, 0.6483247876167297, 0.15291403234004974, -0.1345815807580948, 0.7809098362922668, 0.08880395442247391, 0.28552284836769104, -0.7838605642318726, -0.12177453935146332, -0.21905362606048584, -0.3588511347770691, -0.23193766176700592, -0.2554965019226074, 0.22624993324279785, 0.15127840638160706, -0.6492500305175781, 0.007805878762155771, 0.2015986144542694, 0.470736563205719, 0.13135914504528046, 0.2465648502111435, 0.12936560809612274, -0.01300691720098257, 0.25566092133522034, 0.125734344124794, -0.7343124747276306, -0.35525521636009216, 0.7865059971809387, 0.2558004558086395, 0.689771831035614, 0.06440747529268265, 0.3152848184108734, 0.1171720027923584, 0.39622315764427185, -0.668911874294281, 0.8455524444580078, 0.21845529973506927, -0.581344723701477, 0.0126569839194417, -0.504748523235321, -0.9157190918922424, 0.0025619075167924166, -0.0200809258967638, -1.0363625288009644, -0.08307602256536484, 0.3478630483150482, -0.6556373834609985, 0.44488462805747986, -0.5978551506996155, 0.7230352163314819, -0.49895402789115906, -0.7267372608184814, -0.3021603226661682, -0.7657367587089539, 0.33055126667022705, 0.09564691036939621, -0.1791834980249405, 0.029544129967689514, 0.08846917748451233, 0.48194846510887146, -0.6352143883705139, 1.1060361862182617, 0.0743955671787262, -0.10336349159479141, 0.6523483991622925, 0.20293577015399933, 0.41899096965789795, 0.29627373814582825, 0.038354720920324326, -0.06876905262470245, -0.1842406988143921, -0.43255361914634705, -0.6207572817802429, 0.9782694578170776, -0.28403979539871216, -1.034170150756836, -0.2682381868362427, -0.6077228784561157, -0.23298980295658112, 0.11389968544244766, -0.14641234278678894, 0.6213300228118896, -0.571104109287262, 0.08275480568408966, 0.9242842793464661, -0.47856149077415466, 0.8269948959350586, 0.2852831184864044, -0.4225509464740753, -0.3732645511627197, 0.4513609707355499, 0.13364633917808533, 0.43170809745788574, 0.29281800985336304, 0.09410189092159271, -0.11143571883440018, -0.15713216364383698, -0.5883519053459167, -0.08357978612184525, -0.437503457069397, -0.37792056798934937, -0.6202042102813721, -0.21060170233249664, -0.10862791538238525, 0.13225378096103668, -0.1652347445487976, -0.5189491510391235, -0.4189698100090027, -0.14042618870735168, 0.47680148482322693, 0.22977375984191895, 0.03519846871495247, 0.5636903643608093, -0.7877171039581299, 0.3048397898674011, 0.4499332904815674, 0.3683053255081177, 0.32782474160194397, -0.1709374636411667, -0.2989555597305298, 0.27028223872184753, -0.4032168984413147, -0.9357707500457764, 0.26588037610054016, 0.09686358273029327, 0.34619009494781494, 0.26360994577407837, -0.26996853947639465, 0.8245135545730591, -0.6178296804428101, 1.2574080228805542, 0.10654738545417786, -0.6354485750198364, 0.5115308165550232, -0.4042295515537262, 0.5623934268951416, 0.104192815721035, 0.09623313695192337, -0.7052074074745178, -0.10807892680168152, -0.7091537117958069, -1.0038070678710938, 0.30865055322647095, -0.012215128168463707, 0.3209438621997833, -0.2599999010562897, 0.5549647212028503, -0.1628669798374176, 0.3847954571247101, -0.28241321444511414, -0.17310002446174622, -0.06012532487511635, 0.04509575292468071, -0.11930972337722778, -0.41168758273124695, -0.23865115642547607, 0.0303813349455595, 0.36738502979278564, 0.1131347194314003, 0.44840192794799805, 0.1878911256790161, -0.24018743634223938, -0.2101333886384964, 0.6001536250114441, 0.47310003638267517, 0.7968254685401917, -0.2625632882118225, 0.18028812110424042, 0.33940520882606506, -0.136630117893219, -0.04861800745129585, -0.13688147068023682, 0.12420433014631271, -0.18975260853767395, 0.2012089490890503, 0.7451825737953186, 0.22031475603580475, -0.6976664066314697, 0.08254935592412949, -0.1054348573088646, 0.14546506106853485, -0.705845296382904, 0.3208981454372406, 0.13239315152168274, 0.22985996305942535, 0.46146467328071594, -0.17868240177631378, 0.14759725332260132, -0.8879973292350769, 0.26532313227653503, 0.40414607524871826, -0.2139483392238617, -0.19812358915805817, 0.6484653353691101, 0.1568823903799057, -0.4778519570827484, 0.6750448942184448, 0.34738731384277344, -0.4898812770843506, 0.6189038157463074, 0.7707741260528564, 0.9595968127250671, -0.3316797614097595, 0.1508496105670929, 0.38403233885765076, -0.14888057112693787, -0.03633280098438263, 0.1366828978061676, -0.3682487905025482, -0.6365844011306763, -0.5479825139045715, -0.2379685640335083, -0.39194750785827637, 0.38252994418144226, -0.6599737405776978, -0.3018282949924469, -0.5418502688407898, -0.39520761370658875, -0.3202975392341614, -0.11655069887638092, -0.6433546543121338, 0.3200973868370056, 0.19601210951805115, 0.8864520192146301, -0.4408554136753082, 0.7237791419029236, 0.23631680011749268, -0.3006308376789093, -0.41806158423423767, -0.011034740135073662, 0.08326121419668198, -0.544940710067749, 0.365756630897522, -0.0023589739575982094, -0.18562382459640503, -0.0013066896935924888, -0.6941583752632141, -0.6312136054039001, 1.1093056201934814, 0.25426241755485535, -0.5394609570503235, 0.002005817601457238, 0.24847303330898285, 0.6498525142669678, -0.2696758508682251, 0.4864950180053711, 0.8154348134994507, 0.27706050872802734, 0.3896265923976898, -0.6933826208114624, -0.1738804131746292, -0.1677134931087494, 0.17286722362041473, 0.46648356318473816, -0.8555229902267456, 0.4656248092651367, -0.07763168960809708, -0.33816903829574585, 0.6153446435928345, 0.7102500796318054, -0.02862614393234253, 0.2299564778804779, 0.15032601356506348, 0.48872143030166626, 0.7695849537849426, -0.2070007175207138, 1.0578185319900513, 0.05752406269311905, -0.16343921422958374, 1.4261760711669922, -0.26851263642311096, 0.8954663872718811, 0.9529482126235962, 0.12908224761486053, 0.5216202139854431, 0.5018839836120605, 0.37392330169677734, 0.3019730746746063, 0.35664790868759155, -0.5300803184509277, -0.33542299270629883, -0.2955187261104584, -0.20358459651470184, 0.2452763020992279, 0.5815290808677673, -0.2833206355571747, -0.3856264352798462, -0.09031336009502411, 0.1432247906923294, -0.08361988514661789, -0.5945742130279541, 0.9426925182342529, 0.3325275480747223, -0.6253235340118408, 0.5246021747589111, -0.5017257332801819, 0.31957361102104187, -0.579034149646759, -0.05743169039487839, -0.576279878616333, 0.2332535684108734, 0.1646270900964737, -0.7658068537712097, 0.4433823525905609, -0.08573738485574722, -0.3656958043575287, -0.18162372708320618, 0.8312845230102539, -0.7727007269859314, -0.18317954242229462, 0.38238945603370667, 0.6721271872520447, -0.055820249021053314, 0.3221305310726166, -0.47168606519699097, 0.20201075077056885, -0.3047649562358856, -0.47838661074638367, 0.1644826978445053, 0.2932429015636444, -0.1872159093618393, 0.6733792424201965, 0.3147471845149994, 0.02999122254550457, -0.22144298255443573, 0.003501198487356305, 0.8506470918655396, -0.7528114914894104, -0.24570795893669128, -1.175686001777649, 0.404908150434494, -0.2410469502210617, -0.10898305475711823, 0.6351073980331421, 0.43101197481155396, 0.6763337850570679, 0.2178480476140976, 0.577037513256073, 0.2778034210205078, 0.6314148306846619, -0.5866414904594421, 0.3885084092617035, -0.3564603626728058, 0.5129278302192688, -0.07108458131551743, -0.7818669080734253, -0.2843838930130005, 0.29892393946647644, -0.41331472992897034, 0.30083614587783813, 0.4906581938266754, 0.8065239191055298, 0.062105629593133926, 0.13960735499858856, 0.17573373019695282, 0.5469651222229004, 0.5118149518966675, 1.0452919006347656, 0.9991695284843445, -0.42643028497695923, 0.7297396063804626, 0.4019804894924164, 0.20910291373729706, 0.16649200022220612, -0.9893633723258972, -0.9529464244842529, -0.14912311732769012, -0.11702486872673035, -0.4835617244243622, 0.45745018124580383, 0.8419070839881897, 0.20387142896652222, -0.8686431646347046, -0.332396000623703, 0.0695062056183815, 0.04168736934661865, 0.2123553603887558, -0.16603659093379974, 0.2561783492565155, -0.15926478803157806, -0.48674947023391724, 0.2792762219905853, 0.5874598622322083, 0.16016952693462372, -0.28258734941482544, -0.006846222095191479, -0.21556377410888672, 0.4610549211502075, 0.6185314655303955, 0.6302692294120789, -0.393082857131958, -0.5295464992523193, -0.1060931459069252, 0.10994677990674973, 0.3405126929283142, 0.9050877690315247, -1.021831750869751, 0.4997689723968506, 0.3432439863681793, 0.7172631621360779, 0.7524511814117432, -0.04459552839398384, 0.9440321326255798, -0.5375086665153503, 0.14340414106845856, -0.007725321222096682, 0.1934768110513687, 0.3785349726676941, -0.15920214354991913, 0.2750154733657837, -0.036156393587589264, -0.5639092922210693, -0.6832415461540222, 0.48108771443367004, -0.7418919801712036, -0.3016101121902466, 1.060899019241333, 0.13502536714076996, -0.40532436966896057, -0.07499285042285919, -0.3485027849674225, 0.18666262924671173, -0.24986737966537476, 0.6329103708267212, 0.8685256242752075, -0.18903902173042297, -0.5322163701057434, -0.5053743124008179, 0.5200725793838501, 0.6671324968338013, -0.8014528751373291, 0.10048078745603561, 0.8705620169639587, 0.16065242886543274, 0.14155340194702148, 0.869806170463562, -0.003983605187386274, 0.2732711136341095, -0.19899050891399384, -0.37710779905319214, 0.10465395450592041, -0.3695822060108185, -0.18651491403579712, 0.07035316526889801, -0.08692777901887894, 0.12492341548204422 ]
http://arxiv.org/abs/2406.10993v1
http://arxiv.org/pdf/2406.10993v1
CoSTA: Code-Switched Speech Translation using Aligned Speech-Text Interleaving
2024-06-16T16:10:51
2024-06-16T16:10:51
Bhavani Shankar, Preethi Jyothi, Pushpak Bhattacharyya
cs.CL
cs.CL, cs.LG, cs.SD, eess.AS
Code-switching is a widely prevalent linguistic phenomenon in multilingual societies like India. Building speech-to-text models for code-switched speech is challenging due to limited availability of datasets. In this work, we focus on the problem of spoken translation (ST) of code-switched speech in Indian languages to English text. We present a new end-to-end model architecture COSTA that scaffolds on pretrained automatic speech recognition (ASR) and machine translation (MT) modules (that are more widely available for many languages). Speech and ASR text representations are fused using an aligned interleaving scheme and are fed further as input to a pretrained MT module; the whole pipeline is then trained end-to-end for spoken translation using synthetically created ST data. We also release a new evaluation benchmark for code-switched Bengali-English, Hindi-English, Marathi-English and Telugu- English speech to English text. COSTA significantly outperforms many competitive cascaded and end-to-end multimodal baselines by up to 3.5 BLEU points.
[ -0.010645374655723572, -0.5246782898902893, 0.017745928838849068, 0.7263354063034058, -0.6042084693908691, 0.5082618594169617, -0.4544944763183594, -0.5145125389099121, -0.030099844560027122, 0.3637063503265381, -0.3402118980884552, -0.23423832654953003, -0.5898004174232483, 0.18472091853618622, -0.6641736626625061, 1.1021983623504639, -0.1799039989709854, 0.5190836191177368, -0.09841828793287277, -0.07717542350292206, -0.6578917503356934, -0.44209590554237366, -0.4699636399745941, -0.2672879695892334, 0.2739338278770447, 0.35436031222343445, 0.607943058013916, 0.4660542905330658, 0.3559338450431824, 0.2349216639995575, 0.10222325474023819, 0.18378332257270813, -0.23806194961071014, -0.14401085674762726, -0.29234904050827026, -0.48702001571655273, -0.4255019426345825, -0.2118554562330246, 0.671841561794281, 0.4184116721153259, -0.18991534411907196, 0.15447571873664856, 0.25961631536483765, 0.4662134349346161, -0.3250725567340851, 0.3863353431224823, -0.8994588851928711, -0.28369584679603577, -0.5530472993850708, -0.2906634211540222, -0.6608299612998962, -0.3509516716003418, -0.14334051311016083, -0.2998276650905609, -0.08068640530109406, -0.18981513381004333, 0.869708240032196, 0.40303218364715576, -0.350966215133667, -0.5352100133895874, -0.8386811017990112, 0.5414191484451294, -0.7062497138977051, 0.6971697807312012, 0.317556768655777, 0.43132874369621277, 0.32632166147232056, -0.6121338605880737, -0.6827990412712097, 0.007418360095471144, 0.06870239228010178, 0.3233025372028351, -0.13397635519504547, -0.0939556136727333, -0.18311408162117004, 0.1924947053194046, -0.5215422511100769, -0.012084079906344414, -0.6390479803085327, -0.017135951668024063, 0.7307506799697876, -0.13464388251304626, 0.3804710805416107, 0.023364275693893433, -0.5032668113708496, -0.12702657282352448, -0.6637598276138306, 0.0927213579416275, 0.6462438106536865, 0.554395318031311, -0.3968655467033386, 0.3162505328655243, 0.02960578165948391, 0.9395431876182556, -0.08311814069747925, -0.056489042937755585, 0.3080880045890808, -0.21638832986354828, -0.21866293251514435, 0.4113471806049347, 0.5835912227630615, 0.18870386481285095, 0.22383461892604828, -0.013293316587805748, -0.18728411197662354, 0.4542849063873291, 0.17692019045352936, -0.21553024649620056, 0.03756943717598915, -0.020646505057811737, -0.2953477203845978, -0.02887551672756672, -0.3123672604560852, -0.719555139541626, 0.19470760226249695, -0.3265729546546936, 0.3702543079853058, -0.4383963346481323, -0.3530927002429962, 0.23882734775543213, 0.32028141617774963, 0.7513384222984314, 0.21196819841861725, -0.6937688589096069, 0.3544473350048065, 0.5278935432434082, 0.8504284620285034, -0.46510666608810425, -0.275455504655838, -0.33017587661743164, 0.29193034768104553, -0.293427050113678, 0.7815113663673401, -0.7558936476707458, -0.5352838635444641, 0.3540409207344055, -0.1016680896282196, -0.2859511971473694, -0.22215218842029572, 0.7551329731941223, -0.6359912753105164, 0.17579489946365356, 0.16925309598445892, -0.17633602023124695, 0.05992771312594414, 0.041673243045806885, -0.3042975664138794, 0.8722202777862549, -0.303431898355484, -0.3604433536529541, 0.06336688995361328, -0.34748610854148865, -0.8239113092422485, 0.1535547971725464, -0.3120379149913788, -0.3807411789894104, -0.04503859579563141, 0.1753624826669693, 0.09666240215301514, -0.44136685132980347, 0.36049601435661316, 0.14222651720046997, -0.3045651912689209, 0.31705161929130554, -0.6304608583450317, 0.7110319137573242, 0.6435779333114624, -0.06182214990258217, 0.07109785079956055, -0.7013275027275085, 0.18389160931110382, -0.15134848654270172, -0.3668634593486786, -0.22973009943962097, 0.0500979907810688, 0.3635399639606476, 0.4487510621547699, 0.4175836145877838, -0.6645638346672058, 0.10414337366819382, -0.15643063187599182, 0.6028103828430176, 0.4401240050792694, -0.3609869182109833, 0.32745230197906494, -0.2580418288707733, 0.5771991014480591, 0.08249542862176895, 0.09920088201761246, -0.18422208726406097, -0.6725016236305237, -0.7060642838478088, -0.13134361803531647, 0.25591403245925903, 0.8116805553436279, -0.78587806224823, 0.09770312160253525, -0.4503878951072693, -0.3832036554813385, -1.0566767454147339, -0.24947431683540344, 0.9386726021766663, 0.37585535645484924, 0.496496319770813, -0.078153595328331, -0.40595170855522156, -0.998650848865509, -0.5094018578529358, -0.04562823474407196, 0.3084114193916321, -0.07826010882854462, 0.09727268666028976, -0.34076616168022156, 0.7418720722198486, -0.3547729551792145, -0.3566533327102661, -0.3593180477619171, -0.011379682458937168, 0.2927999198436737, 0.6755872368812561, -0.05600760132074356, -0.9278696179389954, -0.816058337688446, 0.2224254310131073, -0.07892627269029617, -0.4677722752094269, -0.33596140146255493, 0.0058869593776762486, 0.4018232822418213, 0.8481050729751587, -0.15743543207645416, 0.49297410249710083, 0.9848766922950745, 0.09555783867835999, 0.28710004687309265, -0.4020136892795563, 0.411466121673584, -1.2602980136871338, 0.15806758403778076, -0.35616570711135864, -0.2515906095504761, -0.6349464058876038, 0.012655257247388363, 0.43054211139678955, -0.3463207483291626, -0.7139892578125, 0.2284129112958908, -0.5148851871490479, -0.3170488476753235, -0.18620575964450836, 0.16480891406536102, -0.1561148315668106, 0.702698826789856, 0.11741886287927628, 1.1356074810028076, 0.23566129803657532, -0.5985094308853149, -0.09697893261909485, 0.6754757165908813, -0.2774694561958313, 0.6725776791572571, -0.5645765662193298, 0.24337267875671387, 0.03467579185962677, 0.18780162930488586, -1.3326350450515747, 0.1597028523683548, -0.054572951048612595, -0.7454806566238403, 0.41012078523635864, -0.32210633158683777, -0.24924226105213165, -0.034785714000463486, 0.2019864022731781, 0.7569536566734314, 0.39245566725730896, -0.5898906588554382, 0.09660173952579498, 0.6914952993392944, -0.3128587305545807, -0.3393007218837738, -0.9226109385490417, 0.244866281747818, 0.08990208059549332, -0.5198553800582886, 0.4974310100078583, -0.11651328206062317, 0.13967981934547424, -0.15688365697860718, -0.13656459748744965, -0.39584365487098694, -0.5440055131912231, 0.06846149265766144, 0.31976866722106934, -0.06121600791811943, -0.10550748556852341, 0.37111297249794006, -0.3683992922306061, -0.21218463778495789, -0.29506435990333557, 0.8678401708602905, -0.1259135603904724, -0.5225661396980286, -0.2418283224105835, 0.5999696850776672, 0.39653149247169495, -0.6682919859886169, 0.3148125112056732, 0.2399044930934906, -0.40801918506622314, -0.07530893385410309, -0.2601989805698395, 0.5296342372894287, -0.41845640540122986, 0.43554791808128357, -0.7009186148643494, -0.5374326109886169, 0.5642217993736267, -0.10022509843111038, 0.23466907441616058, 0.2436579167842865, 0.6457586884498596, -0.06210304796695709, 1.1090524196624756, 0.5058528780937195, 0.06513136625289917, 0.529966413974762, -0.005453616846352816, 0.5698789358139038, -0.7999812960624695, -0.2688528001308441, -0.6745975017547607, -0.14363867044448853, -0.5897420644760132, -0.7401986122131348, 0.46822816133499146, -0.07718506455421448, 0.2816038727760315, 0.7115375399589539, -0.5400769114494324, 0.43304306268692017, 0.16958986222743988, 0.04317061975598335, 0.5049523115158081, -0.1959763467311859, 0.06794429570436478, -0.1798580288887024, -0.5455591082572937, -0.343662291765213, 0.8916980624198914, 0.079038105905056, 0.8742467164993286, 0.17720633745193481, 0.3479946553707123, 0.4947037994861603, 0.09674776345491409, -0.4074127674102783, 0.5994569063186646, -0.5436483025550842, -0.4437533915042877, 0.054828327149152756, -0.10343284159898758, -0.8475708365440369, 0.2942655384540558, -0.10969046503305435, -0.2194393128156662, 0.09834080934524536, 0.13860881328582764, -0.00372000178322196, 0.1926395744085312, -0.7470115423202515, 0.5058032274246216, -0.41814759373664856, -0.2763734757900238, -0.5780335068702698, -0.8451285362243652, 0.26722028851509094, -0.06329215317964554, 0.2844507694244385, 0.08797257393598557, -0.03409447520971298, 0.5252647399902344, -0.34974780678749084, 0.5180883407592773, 0.13490615785121918, -0.2654434144496918, 0.13438285887241364, -0.13774751126766205, 0.3518506586551666, -0.08057314902544022, -0.10217598080635071, 0.5536829829216003, 0.028425974771380424, -0.38614147901535034, -0.20029838383197784, 0.6276189684867859, -0.7887239456176758, -0.29913169145584106, -0.5970543622970581, -0.6127896904945374, -0.4400995075702667, 0.1569068431854248, 0.47964465618133545, 0.6293594241142273, -0.16732844710350037, -0.07104910165071487, 0.6556259989738464, -0.38521528244018555, 0.5354061722755432, 0.6365223526954651, -0.23807939887046814, -0.660459041595459, 0.9337921738624573, 0.14700686931610107, 0.6892995834350586, 0.6669294238090515, -0.29272764921188354, -0.49852293729782104, -0.5657776594161987, -0.8394830226898193, 0.22224146127700806, -0.4163687229156494, -0.27622565627098083, -0.6125138998031616, -0.4568871259689331, -0.4905470907688141, -0.5945176482200623, -0.5298322439193726, -0.16240645945072174, 0.14508219063282013, 0.17067374289035797, 0.09001140296459198, 0.6102629899978638, 0.010941781103610992, 0.6229591965675354, -0.7239819169044495, 0.20454207062721252, 0.10182781517505646, 0.44881588220596313, -0.5222913026809692, -0.7456158399581909, -0.4581330120563507, 0.1611391305923462, 0.11928150802850723, -1.0163544416427612, 0.6317231059074402, 0.2246795892715454, 0.37357011437416077, 0.12899520993232727, -0.09175454080104828, 1.101348638534546, -0.7843136191368103, 0.3945586085319519, 0.24483157694339752, -1.1615556478500366, 0.47864940762519836, -0.5431938767433167, 0.39926955103874207, 0.7427003979682922, 0.12524452805519104, -0.7658812999725342, -0.3085157871246338, -0.2847568988800049, -0.858403742313385, 0.6469921469688416, 0.05621567368507385, -0.019454041495919228, 0.03412366658449173, -0.028640344738960266, 0.21234749257564545, 0.32991155982017517, -0.6494924426078796, 0.026164859533309937, -0.058756954967975616, -0.31067782640457153, -0.18835149705410004, 0.12623964250087738, 0.10035941749811172, -0.3489629924297333, 0.6618068814277649, 0.00014653362450189888, 0.32350167632102966, 0.22665469348430634, -0.5792983174324036, -0.06830845773220062, 0.3992197811603546, 0.6909068822860718, 0.4133974313735962, 0.005496289115399122, -0.09014298021793365, 0.2001236528158188, -0.4438479244709015, -0.05666853114962578, 0.20692749321460724, -0.1756889373064041, 0.11575552821159363, 0.13321956992149353, 0.7957432866096497, 0.585795521736145, -0.6309023499488831, 0.3985460698604584, 0.026321204379200935, 0.1882970780134201, -0.3779178559780121, -0.26338011026382446, 0.011959859170019627, -0.031206458806991577, 0.09763205796480179, 0.41199567914009094, -0.10145551711320877, -0.5618140697479248, 0.293418824672699, 0.27670812606811523, -0.5535077452659607, -0.35855481028556824, 0.9177142977714539, 0.6519465446472168, -0.7536796927452087, 0.2710227370262146, 0.0021708691492676735, -0.47549962997436523, 0.20708873867988586, 1.042375922203064, 0.9053637385368347, -0.543339729309082, 0.12410976737737656, 0.17247514426708221, 0.3860023021697998, 0.04703189805150032, 0.3674870729446411, -0.1730102002620697, -0.4375365078449249, -0.3109683692455292, -0.6007867455482483, -0.5134180188179016, -0.21663758158683777, -0.866525411605835, 0.6870200634002686, -0.16313238441944122, 0.1596207171678543, -0.5339452624320984, -0.2480391412973404, -0.46021026372909546, 0.2152133584022522, 0.12864316999912262, 0.8993288278579712, -1.042262315750122, 1.3241549730300903, 0.7218154668807983, -0.45169249176979065, -0.462039977312088, 0.0021773672197014093, -0.22787176072597504, -1.1349369287490845, 0.19650106132030487, -0.03264209255576134, -0.3497697710990906, 0.2969346046447754, -0.3558429479598999, -0.8827166557312012, 0.8462926149368286, 0.301256000995636, -0.6218534708023071, 0.1815083622932434, 0.5482326149940491, 0.5205017924308777, -0.4119560420513153, 0.19196073710918427, 0.49639758467674255, -0.028972558677196503, 0.08498935401439667, -1.1275670528411865, -0.500524640083313, -0.5463075041770935, 0.08040197193622589, 0.4316108822822571, -0.912635326385498, 0.9422838687896729, 0.08361876010894775, -0.28350043296813965, -0.1232338696718216, 0.661974310874939, 0.12837393581867218, 0.2780294120311737, 0.6030727624893188, 0.46424543857574463, 0.3142249882221222, 0.03391152247786522, 0.6173596382141113, -0.5605506300926208, -0.04259446635842323, 1.2093185186386108, -0.5107854008674622, 1.2404115200042725, 0.46758201718330383, -0.216588094830513, 0.4063500761985779, 0.4370983839035034, 0.5870099663734436, 0.7083908915519714, 0.03702007979154587, -0.30594587326049805, -0.05419960990548134, -0.018353931605815887, -0.6784720420837402, 0.6586061716079712, 0.5867916941642761, 0.02991061471402645, -0.28993716835975647, 0.0828472301363945, 0.16104069352149963, 0.4461436867713928, -0.22235722839832306, 0.6405813694000244, -0.023970454931259155, -0.8826606273651123, 0.5236456990242004, 0.019305678084492683, 0.8950712084770203, -1.0546998977661133, -0.08664373308420181, -0.18055066466331482, 0.23939573764801025, -0.11314617097377777, -0.6940690279006958, 0.5724921822547913, 0.31013375520706177, -0.012859753333032131, -0.8343698382377625, 0.5869351029396057, -0.9401166439056396, -0.31058764457702637, 0.3362860083580017, 0.18263712525367737, 0.23626083135604858, 0.30517300963401794, -0.6239129304885864, 0.36395928263664246, 0.2365376502275467, 0.4521012604236603, 0.3232881426811218, 0.04250844940543175, -0.3356996476650238, 0.46892186999320984, 0.898003101348877, 0.26673415303230286, 0.40351998805999756, 0.06777051091194153, 0.6221057772636414, -0.422364205121994, -1.0190571546554565, -0.5597599744796753, 0.6567385196685791, -0.09530619531869888, -0.699345588684082, 0.6356290578842163, 0.8228326439857483, 0.9874539971351624, -0.10983487963676453, 0.7893955707550049, -0.05266329273581505, 0.4985044598579407, -0.4487628936767578, 0.8568641543388367, -0.2749860882759094, 0.2501266896724701, -0.31335920095443726, -0.7125323414802551, -0.13195794820785522, 0.5487825870513916, -0.29042160511016846, -0.5202854871749878, 0.5444574952125549, 0.7881840467453003, -0.11627687513828278, -0.012625270523130894, 0.4036272168159485, 0.10993342846632004, 0.4457625150680542, 0.6081985235214233, 0.5372850298881531, -0.6997374296188354, 0.8001821637153625, 0.23816734552383423, -0.4528796970844269, -0.2243727445602417, -0.7076945900917053, -0.38119369745254517, -1.101306676864624, -0.21494516730308533, -0.38307300209999084, 0.24495315551757812, 0.7783762812614441, 0.47729137539863586, -0.759850025177002, -0.665676474571228, -0.024257300421595573, -0.051687899976968765, -0.17344534397125244, -0.10991223901510239, 0.06785546243190765, -0.37611323595046997, -0.9600851535797119, 0.5689318180084229, 0.541157066822052, -0.34320366382598877, -0.13714534044265747, -0.17407318949699402, -0.6206493973731995, 0.3614118993282318, 0.5613009333610535, 0.497269868850708, -0.474535197019577, -0.0823531299829483, -0.13409756124019623, -0.3246729075908661, 0.11245882511138916, 0.8966118693351746, -0.6398736834526062, 0.5476455092430115, 0.6349235773086548, 0.9557515382766724, 0.5435012578964233, -0.0984763503074646, 0.7693597078323364, -0.7067850232124329, 0.39190036058425903, 0.1268281638622284, 0.30013394355773926, 0.2904509902000427, -0.03497672453522682, 0.41454970836639404, 0.09236778318881989, -0.5915359854698181, -0.9486664533615112, 0.3562370240688324, -1.1560492515563965, 0.1494903713464737, 1.1826186180114746, 0.08123387396335602, -0.1490183174610138, -0.2593819499015808, -0.43003785610198975, 0.5457852482795715, -0.27981463074684143, 0.5664269924163818, 0.3687755763530731, -0.09449174255132675, 0.0594814196228981, -0.4192708432674408, 0.42702338099479675, 0.6591489315032959, -0.9528367519378662, -0.006432546768337488, 0.2404574453830719, 0.0744682028889656, 0.029741650447249413, 0.9480135440826416, -0.3893446922302246, 0.14402395486831665, -0.11825000494718552, 0.19875596463680267, 0.1065436527132988, -0.2950197458267212, -0.5913095474243164, -0.34367844462394714, -0.33618950843811035, -0.8257128000259399 ]
http://arxiv.org/abs/2406.10991v1
http://arxiv.org/pdf/2406.10991v1
Adaptive Query Rewriting: Aligning Rewriters through Marginal Probability of Conversational Answers
2024-06-16T16:09:05
2024-06-16T16:09:05
Tianhua Zhang, Kun Li, Hongyin Luo, Xixin Wu, James Glass, Helen Meng
cs.CL
cs.CL
Query rewriting is a crucial technique for passage retrieval in open-domain conversational question answering (CQA). It decontexualizes conversational queries into self-contained questions suitable for off-the-shelf retrievers. Existing methods attempt to incorporate retriever's preference during the training of rewriting models. However, these approaches typically rely on extensive annotations such as in-domain rewrites and/or relevant passage labels, limiting the models' generalization and adaptation capabilities. In this paper, we introduce AdaQR ($\textbf{Ada}$ptive $\textbf{Q}$uery $\textbf{R}$ewriting), a framework for training query rewriting models with limited rewrite annotations from seed datasets and completely no passage label. Our approach begins by fine-tuning compact large language models using only ~$10\%$ of rewrite annotations from the seed dataset training split. The models are then utilized to generate rewrite candidates for each query instance. A novel approach is then proposed to assess retriever's preference for these candidates by the probability of answers conditioned on the conversational query by marginalizing the Top-$K$ passages. This serves as the reward for optimizing the rewriter further using Direct Preference Optimization (DPO), a process free of rewrite and retrieval annotations. Experimental results on four open-domain CQA datasets demonstrate that AdaQR not only enhances the in-domain capabilities of the rewriter with limited annotation requirement, but also adapts effectively to out-of-domain datasets.
[ -0.04589904844760895, -0.9910897016525269, 0.4111124873161316, -0.1682383418083191, -0.23136912286281586, -0.04706062376499176, -0.016127463430166245, 0.0012025280157104135, 0.1875, 0.8518298268318176, -0.6178565621376038, -0.4077301323413849, -0.06167494133114815, 0.03806515038013458, -0.07003914564847946, 0.9399645328521729, -0.07311508804559708, -0.0432850643992424, -0.5030108690261841, -0.3048931658267975, -0.4414711594581604, -0.6801499128341675, -0.8940021395683289, 0.1003335639834404, 0.6306286454200745, 0.39215853810310364, 0.7636398673057556, 0.7767555117607117, 0.4256136417388916, 0.2216031849384308, -0.015222222544252872, 0.09677088260650635, -0.49019187688827515, 0.5346062779426575, -0.13259820640087128, -0.7621861100196838, -0.4087187647819519, -0.3280763030052185, 0.8198055028915405, 0.8483982682228088, -0.6608988046646118, 0.018893660977482796, -0.04305822774767876, 0.9228877425193787, -0.6929289102554321, -0.2521688640117645, -1.209751009941101, -0.06880006939172745, 0.11376097798347473, -0.49622592329978943, -0.5038275122642517, -0.7317082285881042, 0.19348835945129395, -0.8541519641876221, 0.6249410510063171, 0.4972243905067444, 0.5452100038528442, 0.429835706949234, -0.7106480002403259, -0.3108709454536438, -0.4970580041408539, 0.7729905247688293, -0.46199461817741394, 0.46593406796455383, 0.2579221725463867, 0.563448429107666, -0.44231852889060974, -0.6061152815818787, -0.5046895146369934, 0.019075684249401093, 0.12657597661018372, 0.08577361702919006, -0.23939818143844604, 0.07510624825954437, -0.09616455435752869, 0.48869457840919495, -0.36675670742988586, -0.10960976034402847, -0.38178324699401855, -0.2106124758720398, 0.6671843528747559, 0.3821816146373749, 0.10808080434799194, 0.1728721410036087, -0.27434539794921875, -0.1133456602692604, -0.7814306020736694, 0.1649494171142578, 0.25862959027290344, 0.2854721248149872, 0.5542486310005188, 0.4203285574913025, -0.3709897994995117, 0.7440171241760254, 0.5080509781837463, 0.14890871942043304, 0.0035211024805903435, -0.3246304392814636, -0.33699604868888855, 0.06356597691774368, 0.5395263433456421, 0.3314901292324066, 0.06975043565034866, -0.062035344541072845, -0.013170499354600906, -0.5135111808776855, 0.4198593199253082, -0.7617000341415405, -0.29547956585884094, 0.2591610848903656, -0.36214205622673035, -0.19068197906017303, -0.4766075611114502, -0.5284320712089539, -0.26410481333732605, -0.17026522755622864, 0.4086015522480011, -0.4820116460323334, -0.016980528831481934, 0.2015353888273239, -0.03310132771730423, 0.45538368821144104, 0.36036232113838196, -0.8485947847366333, 0.3813377022743225, 0.7268865704536438, 0.458359956741333, -0.11899619549512863, -0.08060382306575775, -0.6718880534172058, 0.15350256860256195, -0.31628039479255676, 0.7875627279281616, -0.7469711899757385, -0.4304145276546478, 0.16228222846984863, 0.220495343208313, -0.5485233664512634, -0.5394310355186462, 0.9207565784454346, -1.171492576599121, 0.08556073158979416, -0.21118928492069244, -0.6615588665008545, -0.1782263070344925, 0.10091768205165863, -0.6605041027069092, 0.6444061398506165, -0.14078831672668457, -0.5874508023262024, 0.4261928200721741, -0.3347397744655609, -0.3946986794471741, -0.2783229351043701, 0.046389468014240265, -0.6462401151657104, 0.27600929141044617, 0.45080649852752686, -0.19265778362751007, -0.0969376340508461, 0.19326020777225494, -0.12293662875890732, -0.2564992308616638, 0.5707903504371643, -0.48954927921295166, 0.6351674795150757, 0.10742714256048203, 0.028619812801480293, 0.23385757207870483, -0.6116713285446167, 0.22838611900806427, -0.05035687983036041, -0.5204349160194397, -0.4145927131175995, 0.18078474700450897, -0.3003169596195221, -0.11404528468847275, 0.022185426205396652, -0.6431305408477783, 0.3020651340484619, -0.6596222519874573, 0.3094926178455353, 0.7695900797843933, 0.4531373083591461, 0.6249056458473206, -0.48483672738075256, 0.7927242517471313, -0.10883636772632599, 0.12130600214004517, -0.07728826254606247, -0.31188976764678955, -1.011418342590332, -0.10490109026432037, 0.4159107208251953, 0.3997989594936371, -0.7655041217803955, -0.01853039860725403, -0.32179298996925354, -0.3409162759780884, -1.0337947607040405, 0.056469354778528214, 0.6258337497711182, 0.5690762996673584, 0.4219616651535034, -0.1645413637161255, -0.2958356440067291, -0.9699609279632568, -0.541534423828125, -0.1110224649310112, 0.14425817131996155, 0.5573417544364929, 0.10789410769939423, 0.37906304001808167, 0.733420193195343, -0.8296807408332825, -0.3227306604385376, 0.07422243058681488, -0.22779734432697296, 0.20906713604927063, 0.42649605870246887, 0.17251557111740112, -0.9762857556343079, -0.6092262268066406, -0.2410251349210739, -0.4138663411140442, -0.044607020914554596, -0.14971141517162323, -0.5665572285652161, 0.23969623446464539, 0.573323130607605, -0.30304646492004395, 0.39886465668678284, 0.021533789113163948, -0.21403326094150543, 0.3424801528453827, -0.3224610686302185, 0.24403929710388184, -0.8904587626457214, -0.15311472117900848, -0.31028205156326294, -0.029809754341840744, -0.5038831233978271, 0.1707078516483307, -0.004871173296123743, 0.0005660004098899662, -0.39822471141815186, 0.4885772466659546, -0.6573169231414795, 0.19702717661857605, -0.33879122138023376, 0.08292271941900253, 0.2060915231704712, 0.5732133388519287, 0.1405647248029709, 0.762652575969696, 0.41271480917930603, -0.7425061464309692, 0.18063805997371674, 0.7193453311920166, 0.006205290090292692, 0.6220188736915588, -0.7386705875396729, 0.5691120028495789, -0.25528907775878906, 0.42537590861320496, -1.1204243898391724, -0.09576814621686935, 0.28027915954589844, -0.5579351186752319, 0.13318327069282532, -0.6213234663009644, 0.03164055943489075, 0.036552559584379196, -0.35157161951065063, 0.5578307509422302, 0.2516748011112213, -0.45994046330451965, 0.7090016007423401, 0.1805579662322998, -0.29776355624198914, -0.6792166829109192, -0.3425115942955017, -0.06635197252035141, -0.2503527104854584, -0.5915330052375793, 0.47286632657051086, -0.08281829208135605, 0.023432008922100067, -0.1112629696726799, -0.2505415081977844, -0.16239744424819946, -0.04981552064418793, 0.1926567703485489, 0.10328435897827148, -0.4074091613292694, 0.11326627433300018, 0.442763090133667, 0.06953733414411545, 0.13464008271694183, -0.35623201727867126, 0.16636785864830017, 0.14033593237400055, -0.48946139216423035, -0.3603231608867645, 0.5360325574874878, 0.2339162677526474, -0.37880685925483704, 0.8548982739448547, 0.14265578985214233, -0.051603980362415314, -0.12844690680503845, -0.4951975643634796, -0.0792989656329155, -0.4793432354927063, 0.23641006648540497, -0.78586745262146, -0.9382145404815674, 0.36607760190963745, 0.3619532287120819, 0.25927823781967163, 0.38179340958595276, 0.5504854321479797, 0.14907489717006683, 0.9048811197280884, 0.5908330082893372, 0.20577092468738556, 0.5432157516479492, 0.11772838979959488, 0.09916602820158005, -1.0982211828231812, -0.1752108335494995, -0.49985799193382263, -0.15610329806804657, -0.7123417854309082, -0.4190787076950073, 0.37803077697753906, -0.019890552386641502, -0.2943437397480011, -0.030074475333094597, -0.5924307107925415, 0.500357449054718, 0.8329862356185913, 0.21991156041622162, 0.46022167801856995, 0.1558472067117691, -0.11923260986804962, -0.0788043886423111, -0.6314482092857361, -0.4093327522277832, 1.501408576965332, 0.012412558309733868, 0.8137778639793396, 0.41953620314598083, 0.6533234119415283, 0.19178074598312378, 0.2146356701850891, -0.7403852939605713, 0.4083883762359619, 0.06759170442819595, -0.7719861268997192, -0.5032714605331421, -0.36181363463401794, -1.1671310663223267, 0.5518490076065063, -0.10463281720876694, -0.41669198870658875, 0.5499528646469116, 0.3292253911495209, -0.5613516569137573, 0.010498704388737679, -0.6918556094169617, 0.7778100371360779, -0.09821779280900955, -0.47885242104530334, -0.10634079575538635, -0.615269124507904, 0.09604436159133911, -0.021464835852384567, -0.11712159961462021, 0.019662098959088326, -0.18255753815174103, 0.6827457547187805, -0.29078158736228943, 0.6892789006233215, -0.3986254036426544, -0.05203627049922943, 0.4915846586227417, 0.3473894000053406, 0.41337472200393677, 0.05600319057703018, -0.4679839015007019, -0.5189850330352783, 0.27907559275627136, -0.501151978969574, -0.6410638689994812, 0.5085235238075256, -0.524418294429779, -1.0732088088989258, -0.4479943811893463, -0.33536699414253235, -0.38614168763160706, 0.16184474527835846, -0.03610454872250557, 0.35219699144363403, -0.5320517420768738, 0.23712828755378723, 0.6497292518615723, -0.29964739084243774, 0.033428408205509186, 0.7630149126052856, -0.024969585239887238, -0.5098963379859924, 0.6839829087257385, -0.24144530296325684, 0.4396474361419678, 0.5988409519195557, 0.0227544866502285, -0.5715969204902649, -0.8796706199645996, -0.5805205702781677, 0.058608949184417725, -0.8155857920646667, -0.2765132188796997, -0.8580143451690674, -0.11684492230415344, -0.4840517044067383, -0.05811140313744545, 0.14918702840805054, -0.6018484830856323, -0.038985129445791245, 0.07709993422031403, 0.3973883390426636, 0.07036112248897552, 0.24633312225341797, 0.34848466515541077, -0.5181077718734741, 0.26789966225624084, 0.3791099190711975, 0.1584581732749939, 0.06109070032835007, -0.9096137881278992, -0.05722151696681976, 0.17440423369407654, -0.5512173771858215, -0.5806915163993835, 0.372592031955719, 0.7195475697517395, 0.5294951796531677, 0.018189940601587296, 0.5546940565109253, 0.6289834976196289, -0.7057884335517883, 0.4354763627052307, -0.2694037854671478, -0.48724058270454407, 0.6728696227073669, -0.339032381772995, -0.13353769481182098, 0.9519219398498535, 0.3383153975009918, -0.41935330629348755, -0.24460993707180023, -0.47214195132255554, -0.9564856290817261, 0.5691356062889099, 0.13969457149505615, 0.27708014845848083, -0.09927763044834137, 0.6304484009742737, 0.126380056142807, 0.18784956634044647, -0.2678653299808502, -0.0689108595252037, -0.14577847719192505, -0.2193937599658966, 0.0917493999004364, -0.3417893350124359, -0.1517774611711502, -0.010146601125597954, 0.7547491192817688, -0.24257594347000122, 0.1422450691461563, 0.3657357096672058, -0.13015392422676086, -0.07535870373249054, 0.5398911237716675, 0.08199138194322586, 0.4891590178012848, -0.5056447386741638, -0.16165512800216675, 0.01833813451230526, -0.4360162615776062, 0.3014833331108093, 0.1551845669746399, -0.3189941346645355, -0.24204756319522858, 0.02915511280298233, 0.5043727159500122, 0.023680487647652626, -0.4829097390174866, 0.4392423629760742, -0.3699170649051666, -0.1787116527557373, -0.2791905999183655, 0.32784655690193176, 0.04270798712968826, 0.06420771032571793, 0.3904016315937042, -0.3409614861011505, 0.3797507882118225, -0.48944002389907837, 0.27620044350624084, 0.4855274260044098, -0.5118457674980164, -0.20883327722549438, 0.9130721092224121, 0.27642911672592163, -0.27317309379577637, 0.6713677644729614, 0.04750122129917145, -0.2632060647010803, 0.32911109924316406, 0.7461997270584106, 0.8389754295349121, -0.27038145065307617, 0.004739521536976099, 0.39159637689590454, 0.03324497118592262, 0.24976879358291626, 0.1640784591436386, -0.062421057373285294, -0.7035603523254395, -0.17275768518447876, -0.8107177019119263, -0.6681008338928223, -0.2900002896785736, -0.857397198677063, -0.05849010869860649, -0.20652109384536743, 0.07021510601043701, 0.4028225839138031, 0.00539191672578454, -0.38956573605537415, 0.3059752583503723, -0.4816320836544037, 0.780890941619873, -0.5616441965103149, 0.6548413038253784, 0.8087127208709717, -0.5592975616455078, -0.5196807384490967, 0.20782232284545898, -0.052705805748701096, -0.9484679698944092, 0.3176238238811493, -0.32490167021751404, -0.15015341341495514, 0.18885537981987, -0.28779417276382446, -0.8396522402763367, 1.0080692768096924, 0.3666912019252777, -0.3551649749279022, -0.058083392679691315, 0.059323906898498535, 0.5448136925697327, -0.5279020071029663, 0.13376475870609283, 0.47847801446914673, -0.028313731774687767, 0.3395722210407257, -0.7212182879447937, 0.3320724666118622, -0.15484796464443207, -0.02765064872801304, 0.2120114266872406, -0.7148551344871521, 0.523626983165741, -0.21931487321853638, -0.20221343636512756, 0.30206066370010376, 0.6563299298286438, 0.21727588772773743, 0.37305402755737305, 0.46151936054229736, 0.26729199290275574, 0.6833146214485168, 0.06342114508152008, 0.9225931167602539, -0.04858561232686043, 0.019441338256001472, 1.3232558965682983, -0.32713228464126587, 1.0407196283340454, 0.4775979816913605, -0.2098921686410904, 0.4977450668811798, 0.5208116173744202, 0.34772616624832153, 0.6268616318702698, 0.5068277716636658, -0.36572930216789246, -0.3545694947242737, -0.17347916960716248, -0.2104438841342926, 0.45181789994239807, 0.10320381075143814, -0.3137863874435425, 0.06048398092389107, -0.2719418406486511, 0.024492153897881508, 0.31956568360328674, -0.1807921677827835, 1.0366326570510864, 0.06179884448647499, -1.0291885137557983, 0.9598753452301025, -0.059442393481731415, 0.31352823972702026, -0.16178904473781586, 0.0023973581846803427, -0.4994371831417084, 0.4347406029701233, -0.07672905176877975, -0.7019720077514648, 0.3329145014286041, -0.16907085478305817, -0.2649243474006653, 0.016529647633433342, 0.6055553555488586, -0.3943544626235962, -0.5111967325210571, -0.23262085020542145, 0.5003435611724854, 0.07618633657693863, -0.3808723986148834, -0.6469810605049133, -0.3320554196834564, 0.2929114103317261, -0.18501313030719757, 0.4660719931125641, 0.7054886221885681, -0.22773116827011108, 0.7723671197891235, 0.6913732290267944, -0.22041599452495575, 0.04161280393600464, 0.15650956332683563, 0.9986962676048279, -0.805410623550415, -0.45102232694625854, -0.5381640195846558, 0.22134645283222198, 0.029749400913715363, -0.17184853553771973, 0.8010648488998413, 0.8689658045768738, 0.5541121363639832, 0.1395263522863388, 0.6748412847518921, 0.22032378613948822, 0.7240150570869446, -0.5618469715118408, 0.4654616117477417, -0.5325211882591248, 0.24303938448429108, -0.09397898614406586, -0.8583117723464966, -0.13713638484477997, 0.25425752997398376, -0.48778918385505676, -0.13620245456695557, 0.36757567524909973, 1.0387005805969238, 0.027805734425783157, -0.0757107213139534, 0.12444185465574265, -0.07926396280527115, 0.3305763900279999, 0.893613338470459, 0.908211886882782, -0.494320273399353, 0.943467378616333, 0.1674809753894806, -0.24197377264499664, -0.33559277653694153, -0.6097187995910645, -0.7531904578208923, -0.47332528233528137, -0.46638649702072144, -0.4853493273258209, 0.3747304379940033, 0.5460215210914612, 0.2607140839099884, -0.7554392218589783, -0.0020852272864431143, 0.1369369477033615, 0.2603449821472168, -0.21866390109062195, -0.20443247258663177, 0.7216522097587585, -0.3061414659023285, -0.6062943935394287, 0.34665927290916443, -0.05314657837152481, -0.14143002033233643, 0.2606922388076782, 0.11646448075771332, -0.2509394586086273, 0.2899061143398285, 0.20753441751003265, 0.3478527069091797, -0.6046037673950195, -0.191327765583992, 0.39492830634117126, 0.18712158501148224, 0.31061816215515137, 0.7324262857437134, -0.6976690888404846, 0.5695971250534058, 0.1953454464673996, 0.7550864815711975, 0.49648186564445496, 0.4297946095466614, 0.7157301902770996, -0.703106701374054, -0.2177387923002243, 0.31287187337875366, 0.03390040993690491, 0.3846263885498047, -0.37614357471466064, 0.3554341495037079, -0.058140918612480164, -0.7652595639228821, -0.7745909094810486, 0.2677995562553406, -0.9001242518424988, -0.06165703013539314, 1.1833428144454956, -0.1577850580215454, -0.41505709290504456, -0.2452417016029358, -0.43090879917144775, 0.15620100498199463, -0.46531787514686584, 0.6704325079917908, 0.2926045358181, -0.25871720910072327, -0.03383859246969223, -0.3726660907268524, 0.5160024762153625, 0.46268606185913086, -0.37417930364608765, 0.5132873058319092, 0.651665210723877, 0.5916829109191895, -0.22835427522659302, 1.1027761697769165, -0.04484938457608223, 0.3398439288139343, 0.06942977756261826, -0.198650062084198, 0.02142811380326748, 0.1307099312543869, -0.4100038409233093, 0.10447239875793457, 0.3826461732387543, -0.5317465662956238 ]
http://arxiv.org/abs/2406.15474v1
http://arxiv.org/pdf/2406.15474v1
WundtGPT: Shaping Large Language Models To Be An Empathetic, Proactive Psychologist
2024-06-16T16:06:38
2024-06-16T16:06:38
Chenyu Ren, Yazhou Zhang, Daihai He, Jing Qin
cs.AI
cs.AI, cs.CL, cs.HC
Large language models (LLMs) are raging over the medical domain, and their momentum has carried over into the mental health domain, leading to the emergence of few mental health LLMs. Although such mental health LLMs could provide reasonable suggestions for psychological counseling, how to develop an authentic and effective doctor-patient relationship (DPR) through LLMs is still an important problem. To fill this gap, we dissect DPR into two key attributes, i.e., the psychologist's empathy and proactive guidance. We thus present WundtGPT, an empathetic and proactive mental health large language model that is acquired by fine-tuning it with instruction and real conversation between psychologists and patients. It is designed to assist psychologists in diagnosis and help patients who are reluctant to communicate face-to-face understand their psychological conditions. Its uniqueness lies in that it could not only pose purposeful questions to guide patients in detailing their symptoms but also offer warm emotional reassurance. In particular, WundtGPT incorporates Collection of Questions, Chain of Psychodiagnosis, and Empathy Constraints into a comprehensive prompt for eliciting LLMs' questions and diagnoses. Additionally, WundtGPT proposes a reward model to promote alignment with empathetic mental health professionals, which encompasses two key factors: cognitive empathy and emotional empathy. We offer a comprehensive evaluation of our proposed model. Based on these outcomes, we further conduct the manual evaluation based on proactivity, effectiveness, professionalism and coherence. We notice that WundtGPT can offer professional and effective consultation. The model is available at huggingface.
[ -0.4962884783744812, -0.7555294036865234, 1.028295636177063, 0.31041285395622253, -0.2860237956047058, -0.13516837358474731, -0.5478987097740173, -0.36292311549186707, 0.18387573957443237, 0.3229129910469055, -0.6377246975898743, -0.13868539035320282, -0.7978482842445374, -0.1546562761068344, -0.038537830114364624, 0.8402402997016907, 0.005416395142674446, 0.2790873348712921, 0.18448911607265472, 0.013393751345574856, -0.1247013509273529, -0.434187114238739, -0.9766485691070557, -0.6912885904312134, 0.7013843655586243, 0.1921844631433487, 0.929671049118042, 0.299769788980484, 0.5074371695518494, 0.21759356558322906, -0.19291114807128906, -0.11171294003725052, -0.32341745495796204, 0.11915183812379837, -0.28844138979911804, 0.08258116990327835, -0.7421547174453735, 0.08563104271888733, 0.3291507661342621, 0.8697417974472046, -0.7919082641601562, 0.02552950568497181, 0.17338183522224426, 0.4469054937362671, -0.040073223412036896, 0.142874613404274, -0.037634119391441345, 0.123575858771801, 0.04799584299325943, 0.15207529067993164, -0.24915313720703125, -0.29503026604652405, 0.03905996307730675, -0.40278759598731995, -0.1314685344696045, -0.19763346016407013, 0.5041751265525818, 0.11057785153388977, -0.6970428824424744, -0.04866141453385353, -0.6600375175476074, 0.4255939722061157, -0.6465988159179688, 0.4059632420539856, 0.4622642397880554, 0.2040511667728424, -0.3025955855846405, -0.8994355797767639, -0.5980433821678162, -0.3657536208629608, -0.021084792912006378, 0.17256975173950195, -0.44608137011528015, 0.2301620990037918, 0.2697294056415558, 0.35591480135917664, -0.3761835992336273, 0.2301570475101471, 0.047781895846128464, 0.023020988330245018, 0.5685098767280579, 0.4080740809440613, 0.18951869010925293, 0.06117653846740723, -0.08962246775627136, 0.16970296204090118, -0.4034231901168823, -0.07286012917757034, 0.0002751946449279785, 0.008666950277984142, -0.18507623672485352, 0.45998620986938477, 0.2182408720254898, 0.6004227995872498, 0.4065060615539551, -0.24913644790649414, -0.4305882751941681, 0.33035871386528015, -0.054361261427402496, 0.027093244716525078, 0.8223615288734436, 0.5562993884086609, 0.6079925894737244, -0.22091397643089294, 0.05370607227087021, 0.15056747198104858, 0.673827052116394, -1.0625178813934326, -0.5597636699676514, 0.43852779269218445, -0.6002301573753357, -0.32781732082366943, -0.17218533158302307, -0.6410443782806396, -0.6246109008789062, -0.6270187497138977, 0.1125251054763794, -0.5042845010757446, -0.831295371055603, 0.031322963535785675, 0.20931757986545563, 0.10549226403236389, 0.22391076385974884, -0.9934706091880798, 0.428856760263443, 0.6750382781028748, 0.5967873334884644, 0.2050381749868393, -0.2709626853466034, -0.5861036777496338, 0.2311089187860489, -0.3047431707382202, 0.5856006741523743, -0.7265259027481079, -0.40457677841186523, -0.0807059109210968, -0.022232241928577423, 0.2728106677532196, -0.09320047497749329, 0.4797845184803009, -0.07919742166996002, 0.21591366827487946, -0.6372458934783936, -0.6477212905883789, 0.11071603000164032, 0.5306209921836853, -0.2486189901828766, 0.6841935515403748, 0.7352253198623657, -0.7846022248268127, 0.15390118956565857, -0.8392783999443054, -0.2762485444545746, 0.32172855734825134, -0.06705177575349808, 0.09839048981666565, 0.4051916003227234, 0.0952601507306099, 0.5587322115898132, -0.4324740171432495, 0.37110137939453125, -0.3653945028781891, -0.17199644446372986, 0.19929195940494537, -0.016441889107227325, 0.6484975814819336, -0.03726550191640854, -0.12941597402095795, 0.19666963815689087, -0.5833603739738464, 0.21603165566921234, 0.25254714488983154, -0.20265120267868042, -0.31733620166778564, -0.26098668575286865, 0.45943164825439453, 0.35728415846824646, -0.11035288125276566, -0.5345903635025024, 0.2947358191013336, -0.22146645188331604, 0.46758201718330383, 0.8348886966705322, 0.17300842702388763, 0.2332625836133957, -0.16844765841960907, 0.7412819266319275, -0.17523367702960968, 0.4508989453315735, 0.14262181520462036, -0.5791404247283936, -0.12529897689819336, -0.6325643062591553, -0.004789038095623255, 0.3822246789932251, -0.24221953749656677, 0.5137487649917603, -0.007671883329749107, -0.8989580273628235, -0.5346923470497131, 0.04592921584844589, 0.2395922988653183, 0.762422502040863, 0.24571871757507324, -0.5554900765419006, -0.2611776888370514, -0.6938449740409851, -0.4050982594490051, 0.07432122528553009, 0.07064788043498993, 0.1770492047071457, 0.06956691294908524, -0.5774927735328674, 0.5430837869644165, -0.470725417137146, -0.33921316266059875, -0.42815858125686646, -0.013416591100394726, 0.15004712343215942, 0.23548294603824615, 0.31617793440818787, -0.6064147353172302, -0.8018140196800232, -0.0521942600607872, -0.7205492854118347, -0.042705241590738297, 0.21372723579406738, -0.09985291212797165, -0.31893184781074524, 0.2644256055355072, -0.8595725893974304, 0.15469945967197418, 0.6768913865089417, -0.834699809551239, 0.4975126087665558, -0.4130687713623047, 0.024954942986369133, -1.1483126878738403, 0.04163828119635582, 0.18983756005764008, -0.18848900496959686, -0.7207410931587219, 0.056642912328243256, -0.035219088196754456, -0.11984937638044357, -0.21533098816871643, 0.6204183101654053, -0.3767625689506531, 0.41392266750335693, -0.22259178757667542, 0.0984063670039177, -0.35547468066215515, 0.24932314455509186, 0.13137102127075195, 0.2829904854297638, 0.705301821231842, -0.3693305253982544, 0.71450275182724, 0.39237359166145325, -0.02534145675599575, 1.349211573600769, -0.5900140404701233, 0.25406089425086975, 0.09325828403234482, 0.259194016456604, -0.431627482175827, -0.443787544965744, 0.12344849854707718, -0.15471729636192322, 0.5286371111869812, -0.19390374422073364, -0.5955139398574829, -0.37101489305496216, 0.14571839570999146, 0.24939435720443726, 0.8445588946342468, -0.457253098487854, 0.5820971131324768, 0.2749187648296356, -0.5223119854927063, -0.11665675044059753, -0.3424256145954132, 0.4022639989852905, -0.18313202261924744, -0.5015624165534973, 0.22377370297908783, -0.043173108249902725, -0.5382667183876038, -0.01341027021408081, 0.22299489378929138, -0.09110567718744278, -0.018484976142644882, 0.22315987944602966, 0.00788671150803566, 0.03827878460288048, 0.22925478219985962, 0.06314759701490402, -0.4683435559272766, 0.2556406855583191, -0.05862300470471382, 0.7090354561805725, -0.39169740676879883, -0.4078965187072754, -0.49325820803642273, 0.5881174206733704, 0.6085431575775146, -0.24923042953014374, 0.8640455007553101, 1.0545529127120972, -0.4489203691482544, 0.08653371781110764, -0.506259024143219, -0.6919848918914795, -0.42834585905075073, 0.3892817795276642, -0.32447123527526855, -0.796291708946228, 0.26473626494407654, -0.2661058306694031, -0.26270821690559387, -0.016040612012147903, 0.8079240918159485, -0.28943049907684326, 1.2031655311584473, 0.7792494297027588, 0.08441624045372009, 0.21649378538131714, 0.0637928694486618, 0.5468828082084656, -1.0131434202194214, -0.09201624989509583, 0.15733376145362854, -0.18908478319644928, -0.6484116911888123, 0.06318985670804977, 0.4248104989528656, 0.03331782668828964, -0.6429851651191711, 0.033216286450624466, -0.7460136413574219, 0.10438849776983261, 0.32289645075798035, 0.43765366077423096, 0.052181098610162735, -0.2320404052734375, -0.09539050608873367, -0.6807050108909607, -0.377527117729187, -0.6125317215919495, 0.8431780338287354, 0.525701642036438, 0.838606595993042, 0.46030551195144653, 0.7030842304229736, 0.2638363540172577, 0.6504262685775757, -0.8812418580055237, 0.420392781496048, 0.2422177940607071, -0.2830883264541626, -0.14693033695220947, -0.31976425647735596, -0.9091672897338867, 0.16470731794834137, 0.09839803725481033, -1.0888997316360474, -0.019587993621826172, 0.3735784590244293, -0.09559888392686844, 0.31159448623657227, -0.6939059495925903, 0.9589586853981018, -0.39806386828422546, -0.4712950885295868, -0.2817293703556061, -0.6444886922836304, 0.38506290316581726, -0.16278387606143951, -0.01684250868856907, -0.09553133696317673, 0.010044548660516739, 0.5400876402854919, -0.24574559926986694, 0.8630607724189758, -0.49239206314086914, -0.349575012922287, -0.2643294930458069, 0.5479177832603455, 0.570188581943512, 0.12413472682237625, 0.006178994197398424, -0.23304429650306702, 0.30844852328300476, -0.44674670696258545, -0.651624858379364, 0.5563365817070007, -0.5253615379333496, -0.6842908263206482, -0.37087032198905945, -0.6465129256248474, -0.7644157409667969, 0.3988419771194458, 0.014345095492899418, 0.4179750680923462, -0.6269295811653137, -0.21497100591659546, 0.567949652671814, -0.08298756927251816, 0.026798980310559273, 0.7224473357200623, -0.36727026104927063, -0.05614000931382179, 0.4753488302230835, -0.25596892833709717, 0.20677031576633453, -0.09396328777074814, 0.6412649750709534, -0.3474273681640625, -0.024026870727539062, -0.047501709312200546, 0.6691256165504456, -0.6686240434646606, 0.052848611027002335, -0.5699521899223328, -0.08074426651000977, -0.40945807099342346, -0.3783155381679535, -0.40816566348075867, -0.036042626947164536, 0.009364084340631962, -0.18213233351707458, 0.7516505718231201, 0.9218469262123108, -0.3845186233520508, 0.3396945297718048, -0.8446224331855774, 0.17232385277748108, 0.30998051166534424, 0.44795024394989014, 0.2745004892349243, -0.5617676377296448, -0.11781246215105057, -0.07200393080711365, -0.4851301312446594, -1.0151535272598267, 0.5018662810325623, -0.03109857253730297, 0.3922215700149536, 0.8502991199493408, 0.06657400727272034, 0.3567318022251129, -0.5037243962287903, 0.4951338768005371, 0.5423861145973206, -0.9189196228981018, 0.44997328519821167, -0.6410899758338928, 0.0932108461856842, 0.1531698852777481, 0.45694538950920105, -0.9768868088722229, -0.2690921127796173, -0.8666010499000549, -0.4569096863269806, 0.4422154724597931, -0.1648755818605423, 0.34039780497550964, -0.07688767462968826, 0.38267195224761963, -0.16509471833705902, 0.0008094785152934492, -0.5792974233627319, 0.05289016664028168, -0.08247240632772446, -0.5430597066879272, -0.1779412031173706, -0.4603024423122406, -0.7793731689453125, -0.44756871461868286, 0.22857967019081116, -0.12685023248195648, 0.6098785400390625, 0.32442930340766907, 0.2466803938150406, -0.31999456882476807, 0.49084270000457764, 0.28458258509635925, 0.6691995859146118, -0.14681781828403473, 0.18170173466205597, -0.10584252327680588, -0.5782455801963806, 0.27218732237815857, 0.3160191476345062, 0.569342851638794, -0.3181051015853882, 0.3460805118083954, 0.38613712787628174, 0.030281443148851395, -0.5308941006660461, 0.6488962769508362, 0.011785363778471947, -0.12625345587730408, -0.18339070677757263, -0.07596534490585327, 0.565773069858551, 0.5124099254608154, -0.0029666477348655462, -0.3888634741306305, -0.1313493549823761, -0.6493024826049805, 0.1440935581922531, 0.31080836057662964, -0.6169414520263672, -0.5018754601478577, 0.5192067623138428, 0.05963418632745743, -0.7691959738731384, 0.9321983456611633, -0.25945374369621277, -0.7771255373954773, 0.233696848154068, 0.755890429019928, 0.7011101245880127, -0.4366086721420288, 0.31432515382766724, 0.044074758887290955, 0.24683313071727753, -0.2984866797924042, 0.42741870880126953, -0.058135736733675, -0.6494918465614319, -0.14572584629058838, -0.268764853477478, -0.7051234841346741, -0.06265805661678314, -1.1060364246368408, -0.14844833314418793, -0.498533695936203, -0.4551573097705841, -0.30790072679519653, 0.0566522590816021, -0.8474188446998596, 0.2397329956293106, -0.09894260764122009, 0.8925237655639648, -0.7708424925804138, 0.9661611914634705, 0.8482785820960999, -0.42708492279052734, -1.0360479354858398, 0.12336265295743942, 0.004433378577232361, -0.8971405029296875, 0.4069781005382538, -0.02134602703154087, 0.17020514607429504, 0.311632364988327, -0.24055299162864685, -0.3683789372444153, 1.003085732460022, 0.5136246681213379, -0.5698587894439697, -0.08953535556793213, -0.19061361253261566, 0.7788605093955994, -0.26414087414741516, 0.20954546332359314, 0.6839627623558044, 0.7552028894424438, -0.3975968658924103, -1.126218318939209, 0.43736761808395386, -0.1581224501132965, -0.15198475122451782, 0.2331879734992981, -0.6717889904975891, 0.5613508224487305, -0.6355600357055664, 0.2651955783367157, 0.06771361082792282, -0.025395339354872704, 0.19634371995925903, 0.0023624084424227476, 0.40747079253196716, 0.6441147327423096, 0.8949983716011047, -0.08345340937376022, 1.3086979389190674, -0.23206974565982819, 0.23016396164894104, 0.9951152205467224, -0.5565457940101624, 0.8211873769760132, 0.7688697576522827, -0.25604578852653503, 0.45046481490135193, 0.6724622249603271, -0.24406610429286957, 0.5240960717201233, 0.10155970603227615, -0.5563562512397766, -0.29438045620918274, -0.2474377304315567, -0.3942466676235199, 0.44441378116607666, 0.3878394067287445, -0.49301525950431824, -0.05071515962481499, 0.08862919360399246, 0.3260505199432373, 0.20501938462257385, -0.22816196084022522, 0.5641936659812927, 0.4906318783760071, -0.5572081208229065, 0.18429812788963318, 0.021357940509915352, 0.2157447338104248, -0.7666081786155701, 0.12023043632507324, -0.24797417223453522, 0.4764235317707062, -0.18897967040538788, -0.9596340656280518, 0.11546412110328674, 0.12359721958637238, -0.22815270721912384, -0.32649704813957214, 0.6234654784202576, -0.3577757179737091, -0.5557544827461243, 0.4594753384590149, 0.7304573059082031, 0.14795751869678497, -0.3682194948196411, -0.7407459020614624, -0.0970165804028511, -0.2917885184288025, -0.512820303440094, 0.6503039598464966, 0.5395302772521973, 0.023324904963374138, 0.7595699429512024, 0.5383633971214294, 0.41678085923194885, -0.5982859134674072, 0.3592369258403778, 0.8094230890274048, -0.7295218110084534, -0.4262489974498749, -0.7360769510269165, 0.506162703037262, -0.11775043606758118, -0.08080685883760452, 0.5898948311805725, -0.0876212865114212, 0.06210271269083023, -0.05386458709836006, 0.615658700466156, -0.11999679356813431, 0.4595806896686554, -0.14633166790008545, 0.8459321856498718, -0.47461241483688354, -0.17239242792129517, -0.33672475814819336, -0.8315441012382507, -0.18930095434188843, 0.8549250960350037, -0.21434272825717926, 0.3422519862651825, 0.682323157787323, 0.6278557181358337, -0.02568378858268261, -0.028977209702134132, 0.4337785840034485, 0.32635006308555603, 0.5758156776428223, 0.6353617310523987, 0.9377981424331665, -0.027442704886198044, 0.18844933807849884, -0.2778718173503876, -0.5169293880462646, 0.16180437803268433, -0.9991348385810852, -0.847757875919342, -0.31000348925590515, -0.27508509159088135, -0.45090028643608093, -0.2399841845035553, 1.072171926498413, 0.7683147192001343, -0.2536951005458832, 0.03630784898996353, -0.04068597033619881, -0.36864468455314636, -0.4809979498386383, -0.2383851408958435, 0.4595104157924652, 0.07644056528806686, -0.35289695858955383, 0.07128193229436874, 0.4081984758377075, 0.09177812933921814, -0.40416401624679565, -0.2711337208747864, 0.3353603482246399, 0.00032843786175362766, 0.742981493473053, 0.17457716166973114, -0.6891201138496399, -0.0621846467256546, 0.007457833271473646, -0.08070816844701767, -0.10382030159235, 0.9023120403289795, -0.3422291576862335, 0.3535139262676239, -0.44644707441329956, 0.43677443265914917, 0.37267959117889404, -0.009866085834801197, 0.8061090707778931, -0.14197926223278046, 0.2205820530653, 0.45799046754837036, 0.3680579960346222, 0.40607309341430664, -0.6488481760025024, 0.4612176716327667, 0.048065185546875, -0.681531548500061, -0.9476854205131531, 0.396506667137146, -1.0490422248840332, -0.10365505516529083, 1.2966395616531372, -0.27855202555656433, 0.252882182598114, -0.18716183304786682, -0.6243290901184082, 0.14184555411338806, -0.2802560031414032, 0.9552261829376221, 0.5836471915245056, -0.5271047949790955, -0.6689111590385437, -0.2606574296951294, 0.5420199036598206, 0.29132017493247986, -0.6421012878417969, 0.1917387992143631, 0.1758430451154709, 0.565213143825531, -0.3488922119140625, 0.8726939558982849, -0.09576864540576935, 0.32824456691741943, 0.08695002645254135, 0.26971980929374695, -0.1594935804605484, 0.2723880112171173, -0.01132475771009922, -0.07383102178573608, 0.5958801507949829, 0.29217055439949036 ]
http://arxiv.org/abs/2406.10985v1
http://arxiv.org/pdf/2406.10985v1
Taking a Deep Breath: Enhancing Language Modeling of Large Language Models with Sentinel Tokens
2024-06-16T15:50:10
2024-06-16T15:50:10
Weiyao Luo, Suncong Zheng, Heming Xia, Weikang Wang, Yan Lei, Tianyu Liu, Shuang Chen, Zhifang Sui
cs.CL
cs.CL
Large language models (LLMs) have shown promising efficacy across various tasks, becoming powerful tools in numerous aspects of human life. However, Transformer-based LLMs suffer a performance degradation when modeling long-term contexts due to they discard some information to reduce computational overhead. In this work, we propose a simple yet effective method to enable LLMs to take a deep breath, encouraging them to summarize information contained within discrete text chunks. Specifically, we segment the text into multiple chunks and insert special token <SR> at the end of each chunk. We then modify the attention mask to integrate the chunk's information into the corresponding <SR> token. This facilitates LLMs to interpret information not only from historical individual tokens but also from the <SR> token, aggregating the chunk's semantic information. Experiments on language modeling and out-of-domain downstream tasks validate the superiority of our approach.
[ -0.11140652000904083, -0.7211719751358032, 0.712308943271637, 0.05906187742948532, -0.7570327520370483, 0.43318551778793335, -0.4402519166469574, -0.2602035105228424, 0.3418979048728943, 0.6327492594718933, -0.3013274669647217, -0.507906436920166, -0.804686963558197, -0.17596504092216492, -0.6531371474266052, 0.8145049810409546, 0.1817949414253235, -0.3254668712615967, -0.026946863159537315, 0.07276681065559387, -0.4275331199169159, -0.43952494859695435, -0.7245420813560486, -0.24529774487018585, 0.5128665566444397, 0.16130207479000092, 0.6221083998680115, 0.5657739043235779, 0.5335268974304199, 0.268903523683548, -0.5663621425628662, 0.0949878990650177, -0.4720630943775177, 0.30779555439949036, -0.29780858755111694, -0.3888890743255615, -0.21263282001018524, -0.3539566099643707, 0.9470987915992737, 0.7769784927368164, 0.021439626812934875, 0.06454682350158691, 0.052522435784339905, 0.4575551748275757, -0.5343261361122131, 0.18469534814357758, -0.8073626160621643, -0.0645289421081543, -0.3426525294780731, -0.015084819868206978, -0.5441527366638184, 0.16684690117835999, 0.25335147976875305, -0.2151031494140625, 0.021408308297395706, -0.11007416993379593, 0.5536368489265442, 0.4835456609725952, -0.3845883905887604, -0.08140753209590912, -0.658096969127655, 0.7094141244888306, -0.9909502267837524, 0.33575084805488586, 0.07338481396436691, 0.11252880841493607, 0.07902763038873672, -1.024599313735962, -0.6706111431121826, 0.09267780929803848, -0.1283523440361023, 0.06547366827726364, -0.35799798369407654, 0.120585598051548, -0.16323286294937134, 0.49907854199409485, -0.3861100375652313, 0.27849897742271423, -0.3088163733482361, -0.12493745982646942, 0.37339991331100464, 0.3522631824016571, 0.20210720598697662, -0.12197998911142349, -0.4677114486694336, 0.06085589900612831, -0.5580394864082336, -0.18748676776885986, -0.26907333731651306, 0.5926918387413025, -0.19763408601284027, 0.5848133563995361, -0.12803445756435394, 0.6206013560295105, -0.29960760474205017, -0.20820489525794983, 0.1619592308998108, -0.14337942004203796, -0.6054543256759644, -0.1620544046163559, 0.6536701321601868, 0.15476767718791962, -0.015244143083691597, -0.1643144190311432, -0.1916934847831726, 0.04913308098912239, 0.3562595546245575, -1.0093719959259033, 0.1291903555393219, 0.5141798853874207, -0.5051677227020264, -0.26396849751472473, -0.2339097410440445, -0.7220039367675781, -0.5723787546157837, -0.45036381483078003, 0.24257205426692963, -0.3403536081314087, -0.2909977436065674, 0.40730926394462585, -0.24790766835212708, 0.09883434325456619, 0.2506261169910431, -0.6579551100730896, 0.4242633581161499, 1.0297553539276123, 1.0545284748077393, -0.3644947409629822, -0.18254061043262482, -0.5640466213226318, 0.13426172733306885, -0.2413330376148224, 0.7432061433792114, -0.749113142490387, -0.47308549284935, 0.14599528908729553, -0.2181004285812378, -0.2027311772108078, -0.6349169611930847, 0.41623374819755554, -0.6687151193618774, 0.09713272750377655, 0.26117751002311707, -0.8677518367767334, -0.15775947272777557, 0.20102936029434204, -0.5457547903060913, 0.9812130928039551, 0.05362796410918236, -0.6836113333702087, -0.04434224218130112, -0.6865059733390808, -0.5544238686561584, 0.2590687870979309, -0.16448715329170227, -0.2961830794811249, 0.5579409003257751, 0.2985875904560089, 0.6855091452598572, -0.24122744798660278, 0.28291937708854675, -0.05382775515317917, -0.258698970079422, 0.5004929900169373, -0.40293970704078674, 0.5375452637672424, 0.3027971684932709, -0.2680478096008301, 0.3262401819229126, -0.35474199056625366, -0.24965044856071472, -0.05497553199529648, -0.20330917835235596, -0.31124594807624817, 0.0032805942464619875, 0.07407263666391373, 0.16613605618476868, 0.013520431704819202, -0.3144005239009857, 0.21294307708740234, -0.40189656615257263, 0.6954076886177063, 0.690639317035675, 0.1630094051361084, 0.3666200637817383, -0.23376233875751495, 0.669420063495636, 0.19896234571933746, 0.12770681083202362, -0.6635071039199829, -0.3743017315864563, -0.8744621276855469, -0.8414251804351807, 0.26953840255737305, 0.14531011879444122, -0.5136272311210632, 0.5313851833343506, -0.7250145673751831, -0.5138112306594849, -0.5645878314971924, 0.007859287783503532, 0.19686181843280792, 0.4582902491092682, 0.41957396268844604, -0.3535339832305908, -0.360000878572464, -0.590156614780426, -0.3873870074748993, -0.16822820901870728, -0.09194795787334442, 0.20261968672275543, 0.4789654314517975, -0.5089040398597717, 1.0604369640350342, -0.7422390580177307, -0.4733085334300995, -0.47596073150634766, 0.12500636279582977, 0.11630943417549133, 0.250778466463089, 0.10501819103956223, -0.6503421664237976, -0.11126753687858582, -0.1554347276687622, -0.4209693372249603, 0.08374317735433578, -0.32219812273979187, -0.13927443325519562, 0.04712093994021416, 0.8222724199295044, -0.8475052118301392, 0.4322951138019562, 0.5467532873153687, -0.43311044573783875, 0.354471892118454, 0.1216660588979721, -0.40728864073753357, -1.232548475265503, 0.20035453140735626, -0.32317861914634705, -0.3225336968898773, -0.7095825672149658, 0.3696839213371277, 0.022488145157694817, -0.2506175637245178, -0.7720262408256531, 1.0890100002288818, -0.3109712302684784, -0.0074058398604393005, -0.536669135093689, 0.19356165826320648, 0.1617240309715271, 0.3299711048603058, 0.19709299504756927, 0.5275511145591736, 0.5833733677864075, -0.5279110670089722, -0.006791086867451668, 0.1606103777885437, -0.5401290655136108, 0.22728951275348663, -0.5858275890350342, 0.23933054506778717, -0.28570929169654846, 0.6271792054176331, -1.0499809980392456, -0.31548258662223816, -0.09920722246170044, -0.4466584622859955, 0.411192387342453, -0.06393076479434967, -0.5007320046424866, -0.14435231685638428, -0.22968903183937073, 0.44916442036628723, 0.5516214370727539, -0.4400485157966614, 1.045243501663208, 0.6357266902923584, -0.4224018454551697, -0.2586769461631775, -0.8739611506462097, 0.5213564038276672, -0.5112572908401489, -0.39521077275276184, 0.6128693222999573, 0.1430722177028656, -0.31655773520469666, 0.055181410163640976, -0.08611936867237091, -0.04406197369098663, 0.18046949803829193, 0.1490734964609146, 0.1060013622045517, -0.1041143462061882, 0.5740072727203369, 0.03234134241938591, -0.13424085080623627, -0.09422732889652252, -0.5985766649246216, 0.7394701242446899, -0.03977217152714729, -0.22741930186748505, -0.5392395853996277, 0.4908308684825897, 0.9038194417953491, -0.5844111442565918, 0.8708169460296631, 0.506783664226532, -0.682418704032898, -0.15345844626426697, -0.6682077646255493, -0.23984619975090027, -0.4275766611099243, 0.3095356523990631, -0.24606475234031677, -1.3018685579299927, 0.5602306127548218, -0.2753998935222626, 0.0003182783257216215, 0.3257806897163391, 0.7314751744270325, -0.04417707026004791, 0.5172653794288635, 0.7400342226028442, -0.5474468469619751, 0.6652140021324158, -0.3143591582775116, 0.3425596058368683, -1.104496717453003, -0.09127479046583176, -0.501891553401947, -0.3048103153705597, -0.08791051805019379, -0.9946149587631226, 0.32977503538131714, 0.02182598039507866, -0.13784494996070862, 0.04242189601063728, -0.27997905015945435, 0.47916004061698914, 0.23112273216247559, 0.09636591374874115, 0.24168363213539124, -0.11594720929861069, -0.18120801448822021, 0.09123139083385468, -0.4691682755947113, -0.5060180425643921, 0.738976240158081, 0.575179398059845, 0.8644787073135376, 0.05684294179081917, 0.7695911526679993, 0.014901784248650074, 0.3829670548439026, -0.9182891845703125, 0.42807629704475403, -0.23322713375091553, -0.5995988845825195, -0.4096898138523102, -0.2603634297847748, -0.9322124719619751, 0.45436742901802063, 0.3423527777194977, -0.7703777551651001, -0.0866650640964508, -0.07398353517055511, -0.556890606880188, 0.19019916653633118, -0.48927369713783264, 0.8177594542503357, -0.017283858731389046, -0.053175706416368484, -0.4494532644748688, -0.7176783084869385, 0.2735694944858551, -0.19231781363487244, 0.4612526595592499, -0.10945289582014084, -0.36512213945388794, 0.6809699535369873, -0.510503888130188, 1.2816401720046997, -0.08816572278738022, -0.11490891873836517, 0.5691028833389282, 0.0685749426484108, 0.5897835493087769, -0.09020638465881348, 0.0002911660703830421, 0.04703948274254799, -0.5569463968276978, -0.3297017812728882, -0.6474001407623291, 0.45835721492767334, -0.481757253408432, -0.2903088331222534, -0.2417389154434204, -0.406606525182724, -0.11279484629631042, 0.3065585494041443, -0.03769060596823692, 0.5351378321647644, 0.11791288107633591, 0.3848094344139099, 0.5688214302062988, -0.204553484916687, 0.6040117144584656, 0.5208063721656799, -0.32372409105300903, -0.4999079406261444, 0.6302571892738342, -0.06568284332752228, 0.27740177512168884, 0.6869995594024658, 0.4750734269618988, -0.6893883943557739, -0.5021226406097412, -0.13880960643291473, 0.37646180391311646, -0.7303165197372437, -0.3717724680900574, -0.8081799745559692, -0.20493562519550323, -0.39459240436553955, -0.10491084307432175, -0.32755768299102783, -0.3849107623100281, -0.40931811928749084, -0.31755420565605164, 0.4086953103542328, 0.4714546799659729, 0.23424433171749115, 0.5718811750411987, -0.9905412793159485, 0.23271283507347107, 0.24385222792625427, 0.2597021460533142, 0.19594834744930267, -0.8817422986030579, -0.3828979730606079, -0.22111168503761292, -0.041984573006629944, -0.5350649356842041, 0.4574698507785797, 0.21523937582969666, 0.2520688772201538, 0.30685320496559143, 0.016461409628391266, 0.9603254199028015, -0.5166223645210266, 0.997185468673706, 0.004121776670217514, -1.2969857454299927, 0.42753031849861145, -0.34600400924682617, 0.7178415656089783, 0.4420677125453949, 0.0447385236620903, -0.8587600588798523, -0.6986592411994934, -0.522148072719574, -1.1176440715789795, 0.2874174118041992, 0.20149949193000793, 0.4794647991657257, -0.20128528773784637, 0.1938716471195221, -0.06636276841163635, 0.17923077940940857, -0.4655747711658478, 0.17261464893817902, 0.1616409868001938, -0.42627012729644775, -0.12159931659698486, -0.3267529308795929, 0.06669621914625168, -0.10812161862850189, 0.4867278039455414, -0.36095860600471497, 0.2385995239019394, 0.18043044209480286, -0.2964533865451813, 0.271056592464447, 0.2149421125650406, 0.7562471628189087, 0.44412437081336975, 0.19117675721645355, 0.5922549962997437, 0.2014855146408081, -0.4162198603153229, -0.08533629775047302, -0.0676564872264862, 0.11447680741548538, 0.1013670563697815, 0.5824642777442932, 0.7500222325325012, 0.4539427161216736, -0.8681496977806091, 0.41590526700019836, -0.1496591567993164, 0.23771362006664276, -0.10239005088806152, -0.2620258033275604, 0.518706738948822, 0.2368120700120926, 0.41809484362602234, -0.24653306603431702, 0.008356096222996712, -0.4995018243789673, 0.2589508295059204, 0.3012811839580536, -0.40685486793518066, -0.13081420958042145, 0.5771844387054443, 0.31686854362487793, -0.1720864623785019, 0.6058531403541565, 0.1717265099287033, -0.674004077911377, 0.2238921970129013, 0.484621524810791, 1.1459743976593018, -0.16730819642543793, -0.08490652590990067, -0.026946039870381355, 0.16199222207069397, 0.09067357331514359, 0.034950606524944305, -0.18220160901546478, -0.5289979577064514, -0.8638091087341309, -0.7706986665725708, -0.3336295187473297, 0.3122830390930176, -0.5405339002609253, 0.019579576328396797, -0.12804104387760162, -0.25978901982307434, 0.04182557761669159, -0.2304365634918213, -0.6821340918540955, 0.41789618134498596, 0.34679368138313293, 1.1054311990737915, -0.7926043272018433, 0.8039577603340149, 0.380138635635376, -0.1649176925420761, -0.5992333889007568, 0.1883298009634018, -0.004776256624609232, -0.7813398241996765, 0.5304002165794373, 0.35484495759010315, -0.1595585197210312, -0.034405019134283066, -0.20171870291233063, -0.9323236346244812, 0.8682169914245605, 0.20255416631698608, -0.5918777585029602, 0.03617388755083084, 0.2739892601966858, 0.6762847900390625, -0.2945777475833893, 0.1824066936969757, 0.6456685662269592, 0.281864732503891, 0.1201145276427269, -0.7132534980773926, 0.06586102396249771, -0.07471582293510437, 0.16508783400058746, 0.15566569566726685, -0.8125341534614563, 0.6648990511894226, -0.0390821173787117, -0.25440770387649536, -0.037952978163957596, 0.7504875659942627, -0.016683772206306458, 0.003991979639977217, 0.4739725589752197, 0.6489191651344299, 0.9797554016113281, 0.17251929640769958, 1.1052719354629517, -0.4159838855266571, 0.2944613993167877, 1.3844873905181885, -0.45637091994285583, 1.1628373861312866, 0.5654515624046326, 0.002009007381275296, 0.385286808013916, 0.42049023509025574, 0.45907410979270935, 0.47188207507133484, 0.3403380215167999, -0.6554027795791626, -0.13687501847743988, -0.315725177526474, -0.02382948063313961, 0.6035016179084778, 0.5908289551734924, -0.46672457456588745, -0.12828367948532104, 0.09018990397453308, 0.3237289488315582, -0.1354438215494156, -0.17209619283676147, 0.9805285334587097, 0.3193776309490204, -0.7784423828125, 0.3930831551551819, 0.12730634212493896, 0.491156667470932, -0.34561586380004883, 0.32743173837661743, -0.3867124319076538, 0.3481055796146393, -0.03404434397816658, -0.6905163526535034, 0.674998939037323, 0.3334362506866455, -0.02016008272767067, -0.38757872581481934, 0.7661445140838623, -0.46485409140586853, -0.5663995742797852, 0.21577538549900055, 0.3732893466949463, 0.27494409680366516, -0.49499499797821045, -0.359177827835083, 0.6502622961997986, -0.24114087224006653, -0.2894630432128906, 0.28118664026260376, 0.46013912558555603, 0.08942727744579315, 0.7665873169898987, 0.6083057522773743, -0.06228743866086006, 0.11441776156425476, 0.25639608502388, 1.1142115592956543, -0.8338332772254944, -0.5504574775695801, -1.2295610904693604, 0.8961785435676575, -0.03188121318817139, -0.3111042380332947, 0.584316074848175, 0.7540243864059448, 0.5311993360519409, 0.00038666347973048687, 0.9011561870574951, 0.3135858178138733, 0.5664929747581482, -0.6108267903327942, 0.7542945146560669, -0.36485347151756287, 0.033812180161476135, -0.08888933062553406, -0.5680331587791443, -0.6421655416488647, 0.3973885774612427, 0.01319779921323061, -0.25881290435791016, 0.7670171856880188, 0.6495490670204163, 0.0694551020860672, -0.14824125170707703, 0.1712818741798401, 0.3085000813007355, 0.7251462340354919, 0.31597572565078735, 0.7952331304550171, -0.2123822271823883, 0.34067851305007935, -0.008766049519181252, -0.10003238171339035, -0.4687066376209259, -0.9784268736839294, -1.0109226703643799, -0.4776538610458374, -0.3775913417339325, -0.06280623376369476, -0.26881924271583557, 0.704923152923584, 0.9325181841850281, -0.5200976729393005, -0.03607204183936119, -0.1677592247724533, 0.06597717106342316, -0.08735790848731995, -0.22084465622901917, 0.48830071091651917, -0.6219490766525269, -0.6425527930259705, 0.5801557898521423, 0.4584403932094574, 0.16318726539611816, -0.35033920407295227, 0.17905446887016296, 0.2190503031015396, 0.34591206908226013, 0.8838031888008118, -0.13668839633464813, -0.9238980412483215, -0.31117865443229675, 0.01673634722828865, -0.07568138092756271, -0.12440711259841919, 0.9416954517364502, -1.0362169742584229, 0.5158081650733948, 0.410067081451416, 0.9707367420196533, 0.6808596849441528, 0.00047822462511248887, 0.3891213834285736, -0.9258226156234741, 0.1116228923201561, 0.5487261414527893, 0.37216395139694214, 0.38302257657051086, -0.08330115675926208, 0.3819129765033722, -0.06484537571668625, -0.31321412324905396, -0.9954224824905396, 0.1591685563325882, -0.9681634902954102, -0.4095756411552429, 1.213110327720642, -0.2033848613500595, -0.2755317986011505, 0.058630477637052536, -0.27570292353630066, 0.22399179637432098, -0.24082183837890625, 0.6877001523971558, 0.6246455311775208, 0.06668804585933685, -0.0005280663608573377, -0.1657910943031311, 0.21693195402622223, 0.4097171425819397, -1.0180363655090332, 0.41470322012901306, 0.17280374467372894, 0.23261551558971405, 0.12102677673101425, 0.7489141225814819, -0.2030225247144699, -0.19021062552928925, -0.07037225365638733, -0.15056683123111725, 0.1294706165790558, -0.4212944507598877, -0.7030567526817322, -0.03758201748132706, -0.01939578168094158, -0.206513449549675 ]
http://arxiv.org/abs/2406.10984v1
http://arxiv.org/pdf/2406.10984v1
Revisiting Cosine Similarity via Normalized ICA-transformed Embeddings
2024-06-16T15:44:37
2024-06-16T15:44:37
Hiroaki Yamagiwa, Momose Oyama, Hidetoshi Shimodaira
cs.CL
cs.CL
Cosine similarity is widely used to measure the similarity between two embeddings, while interpretations based on angle and correlation coefficient are common. In this study, we focus on the interpretable axes of embeddings transformed by Independent Component Analysis (ICA), and propose a novel interpretation of cosine similarity as the sum of semantic similarities over axes. To investigate this, we first show experimentally that unnormalized embeddings contain norm-derived artifacts. We then demonstrate that normalized ICA-transformed embeddings exhibit sparsity, with a few large values in each axis and across embeddings, thereby enhancing interpretability by delineating clear semantic contributions. Finally, to validate our interpretation, we perform retrieval experiments using ideal embeddings with and without specific semantic components.
[ -0.6836594939231873, -0.607610821723938, 0.47060564160346985, -0.07828308641910553, -0.5745902061462402, -0.422372967004776, 0.000128170067910105, -0.41829752922058105, 0.7759128212928772, 0.518937349319458, -0.5275753736495972, -0.7137629389762878, -0.5795174241065979, 0.1203378364443779, -0.6527693271636963, 0.7906799912452698, 0.06683040410280228, 0.20623786747455597, -0.31905806064605713, -0.591250479221344, -0.6661465167999268, -0.1215028166770935, -0.15692855417728424, -0.08357588201761246, 0.25791576504707336, 0.3903578221797943, 1.0935931205749512, 0.62242591381073, 0.704558253288269, 0.22096401453018188, 0.29128023982048035, -0.22407439351081848, -0.725619375705719, -0.22624965012073517, -0.17513178288936615, -0.48502033948898315, -0.3720499277114868, 0.11585752665996552, 0.44136568903923035, 0.9743832349777222, 0.24076992273330688, 0.17128713428974152, 0.41836631298065186, 0.6346784234046936, -0.5110796093940735, 0.38268905878067017, -0.7576730847358704, 0.0007196991355158389, 0.03588113933801651, -0.3147543966770172, -0.24531854689121246, -0.19902805984020233, 0.3828944265842438, -0.9652537107467651, 0.565858006477356, 0.14226801693439484, 1.003920555114746, 0.18365156650543213, -0.24326932430267334, -0.6451722383499146, -0.3316376805305481, 0.9594597220420837, -0.5688524842262268, 0.6327599883079529, 0.037544723600149155, 0.2800443470478058, -0.3827744722366333, -0.6599593162536621, -0.712252676486969, -0.2074267566204071, -0.29626399278640747, -0.07540400326251984, -0.49894019961357117, -0.25313135981559753, -0.26632219552993774, 0.3461986780166626, -0.3698825538158417, -0.04737398773431778, -0.2526611387729645, -0.23207704722881317, 0.695220947265625, -0.014954946003854275, 0.7267863154411316, -0.10767968744039536, -0.8700425624847412, -0.41150954365730286, -0.815254271030426, 0.22682228684425354, 0.2506480813026428, 0.246271550655365, -0.3041895627975464, 0.7645295858383179, -0.2075718194246292, 0.35743317008018494, -0.035689111799001694, 0.058541517704725266, 0.11391394585371017, -0.027374057099223137, -0.14917820692062378, 0.06404295563697815, 0.302674800157547, 0.7544032335281372, 0.24298489093780518, -0.5653639435768127, 0.14316301047801971, 0.08119536191225052, 0.2936420142650604, -0.49295738339424133, -0.16438275575637817, -0.3383362889289856, -0.7731630802154541, -0.02403501234948635, 0.4032428562641144, -0.8258052468299866, 0.08273081481456757, -0.8290134072303772, 0.4964560270309448, -0.6126411557197571, 0.09700693190097809, 0.32784661650657654, -0.2735098600387573, 0.6119475364685059, 0.26383814215660095, -0.41410911083221436, 0.6987066864967346, 1.2026537656784058, 0.704047679901123, -0.556952178478241, -0.2893882691860199, -0.2352086901664734, -0.11396150290966034, -0.48783761262893677, 0.834099531173706, -0.506951093673706, -0.16475598514080048, -0.2091667801141739, 0.19423601031303406, 0.23849008977413177, -0.5712493658065796, 0.4060629606246948, -0.8468779921531677, -0.16326023638248444, -0.2549467384815216, -0.505629301071167, -0.6751399636268616, 0.1996036171913147, -0.9066162109375, 0.7316792607307434, 0.020932931452989578, -0.6281006336212158, 0.5813354253768921, -0.21356919407844543, 0.1956104040145874, -0.08142807334661484, -0.5060573220252991, -0.556935727596283, 0.39469829201698303, 0.16190659999847412, 0.5189759135246277, -0.3399263024330139, 0.09076441824436188, -0.872074544429779, -0.3886215090751648, 0.5215281248092651, -0.43849366903305054, 0.7744285464286804, -0.05827675014734268, -0.3519591987133026, -0.2904316484928131, -0.9289864897727966, -0.048651061952114105, -0.3054831922054291, 0.3422408401966095, -1.0145364999771118, -0.2237420529127121, -0.09994173794984818, -0.05190856382250786, 0.1397121101617813, -0.6881922483444214, -0.05666380003094673, -0.28864482045173645, -0.19495970010757446, 0.6171716451644897, 0.2575626075267792, 0.6839310526847839, -0.22732232511043549, -0.027479585260152817, 0.17539918422698975, -0.2157406210899353, 0.593252420425415, -0.49103623628616333, -0.5231444835662842, -0.6439470052719116, -0.0858188346028328, 0.04517560079693794, -0.5640271902084351, 0.46587324142456055, -0.7922897934913635, -0.469608336687088, -0.6789740920066833, -0.05500571429729462, 0.16872984170913696, 0.2768736183643341, 0.7866132855415344, -0.8776857256889343, -0.3200908899307251, -1.2187856435775757, -0.4900273084640503, 0.16655783355236053, -0.2514673173427582, 0.1723664551973343, 0.35022327303886414, -0.148808553814888, 0.9645212292671204, -0.6341245770454407, -0.5469593405723572, 0.3308418393135071, 0.21041929721832275, 0.005827529821544886, 0.5593682527542114, 0.7104039192199707, -0.5274453163146973, -0.6310268044471741, 0.05819964036345482, -0.6409059762954712, 0.026813844218850136, -0.3804767429828644, -0.46540623903274536, -0.40707314014434814, 0.6131696105003357, -0.37152165174484253, 1.1077499389648438, 0.26328879594802856, -0.6533346772193909, 0.11431445926427841, -0.10258984565734863, 0.23781372606754303, -0.9987390041351318, -0.05291031301021576, -0.18356925249099731, 0.002974989591166377, -0.41377678513526917, 0.12403299659490585, -0.15438437461853027, 0.014802643097937107, -0.20558537542819977, 0.36495232582092285, -0.495199054479599, -0.5894933342933655, -0.3241325318813324, 0.48567700386047363, 0.1702372133731842, 0.4041841924190521, -0.2385052889585495, 0.6170536279678345, 0.38550692796707153, -0.6894503235816956, 0.1061442419886589, 0.2952324151992798, -0.29907768964767456, 0.9475163221359253, -0.4950742721557617, 0.10370267927646637, -0.33988094329833984, 0.10064907371997833, -0.9315149188041687, 0.2342039793729782, 0.041485220193862915, -0.5448188185691833, 0.10173574090003967, 0.07849880307912827, 0.024258064106106758, 0.5283385515213013, -0.6603710055351257, 0.5972132682800293, 0.2054298222064972, -0.6715763211250305, 0.4982852339744568, 0.21771234273910522, -0.03572867810726166, -0.5893229246139526, -0.401603102684021, 0.006314304191619158, -0.216308131814003, -0.5352662205696106, 0.6449037790298462, 0.13341288268566132, -0.6335256695747375, 0.5925130844116211, 0.07503253221511841, -0.1211676150560379, 0.11004353314638138, 0.306789368391037, 0.32248178124427795, -0.5455747842788696, 0.06647685170173645, 0.3268319070339203, -0.268790602684021, 0.06363924592733383, 0.08340910077095032, 0.46323466300964355, -0.12506097555160522, -0.5338784456253052, -0.7877805233001709, 0.4736952483654022, 0.5115994215011597, 0.0063822283409535885, 0.6403176784515381, 0.6461366415023804, -0.46640172600746155, 0.15078991651535034, -0.46735358238220215, -0.3031720519065857, -0.3162933886051178, 0.48088082671165466, -0.5852437615394592, -0.6485854983329773, 0.6028441786766052, 0.25999635457992554, -0.15178601443767548, 0.8646388053894043, 0.33157312870025635, -0.12944072484970093, 0.6195666790008545, 0.7319390773773193, -0.07968088239431381, 0.13920335471630096, -0.44242924451828003, 0.19567173719406128, -0.8521474599838257, -0.5037976503372192, -0.6810827255249023, -0.4945148229598999, -0.9312050938606262, -0.6016765236854553, 0.40336188673973083, 0.043503355234861374, -0.13381832838058472, 0.16986337304115295, -0.18502824008464813, 0.4430960714817047, 0.14681613445281982, 0.10962268710136414, 0.3616909980773926, 0.3157646059989929, 0.19754032790660858, -0.33451923727989197, -0.18314221501350403, -0.5116682648658752, 0.8565000891685486, 0.29976558685302734, 0.8652163743972778, 0.06832247227430344, 0.5799669623374939, 0.1960023194551468, 0.35705438256263733, -0.8932878375053406, 0.2901851236820221, -0.43277856707572937, -0.2613693177700043, -0.30536454916000366, -0.1191725879907608, -1.127543330192566, 0.48949891328811646, -0.280592679977417, -0.6194421052932739, 0.8671275973320007, -0.46562838554382324, 0.006518160458654165, 0.4162769019603729, -0.5195150375366211, 0.546464204788208, 0.1415574848651886, 0.14677783846855164, -0.7976866364479065, -0.31717610359191895, -0.02984820120036602, 0.3563966453075409, 0.21391452848911285, -0.30108049511909485, -0.28014931082725525, 0.7901065349578857, -0.3403347134590149, 0.9125930070877075, -0.05281911790370941, 0.23329834640026093, 0.588223934173584, 0.3893625736236572, 0.14811153709888458, 0.4139663279056549, 0.02801060490310192, 0.5449877977371216, 0.34211465716362, -0.8213463425636292, -0.9588109850883484, 1.001589298248291, -1.1691937446594238, -0.4467048943042755, -0.39327964186668396, -0.7643753290176392, 0.11282403022050858, 0.2796131670475006, -0.017081178724765778, 0.6232495903968811, -0.5356289148330688, 0.5742360949516296, 0.46075114607810974, -0.06311669945716858, 0.058246660977602005, 0.3334134817123413, 0.10705433785915375, -0.19779129326343536, 0.6975966691970825, 0.17874644696712494, 0.11988545209169388, 0.4397517442703247, 0.015902860090136528, -0.14256730675697327, -0.45646271109580994, -0.1997356414794922, 0.301445335149765, -0.7678862810134888, -0.210496723651886, -0.4023287296295166, 0.11415108293294907, -0.4508886933326721, -0.43348264694213867, -0.614970326423645, -0.5000897645950317, -0.5890108346939087, 0.006667152047157288, 0.29848599433898926, 0.9491069316864014, -0.05405479297041893, -0.11775097250938416, -0.7087572813034058, 0.16901668906211853, 0.21073447167873383, 0.32908546924591064, 0.17448002099990845, -0.5150039196014404, -0.20429466664791107, 0.16478946805000305, -0.12439638376235962, -0.7179815769195557, 0.5441570281982422, 0.25194597244262695, 0.4772785007953644, 0.27440348267555237, 0.16926932334899902, 0.9636243581771851, -0.2289140820503235, 0.5788674354553223, 0.184799924492836, -0.9196978211402893, -0.2586763799190521, 0.4137592911720276, -0.016449403017759323, 0.645315945148468, 0.636201024055481, -0.38245660066604614, -0.08359095454216003, -0.6918084621429443, -0.5927553772926331, 0.23970183730125427, 0.1140529066324234, 0.37713533639907837, 0.12399433553218842, 0.5823357105255127, 0.750024676322937, -0.4578979015350342, -0.2647240161895752, -0.17700733244419098, -0.1863904893398285, -0.43429484963417053, -0.05031759291887283, -0.28667327761650085, -0.188947394490242, 0.21459320187568665, 0.4510611593723297, -0.16878947615623474, 0.6285334229469299, 0.4380708932876587, -0.3044334352016449, 0.13488607108592987, 0.4077363610267639, 0.08774641156196594, 0.47482946515083313, -0.05525241792201996, 0.5978826284408569, 0.37702319025993347, -0.6410969495773315, -0.023817013949155807, -0.11701873689889908, -0.2007187306880951, 0.19110478460788727, 0.6394920945167542, 0.572074294090271, 0.46916186809539795, -0.17534440755844116, 0.620236337184906, -0.4411698877811432, 0.31072428822517395, -0.32143497467041016, -0.42932936549186707, -0.13279494643211365, 0.28439074754714966, 0.2897496819496155, 0.21641935408115387, 0.42994263768196106, -0.5703955888748169, 0.539732813835144, 0.5583623647689819, -0.991852343082428, -0.8488339185714722, -0.20699508488178253, -0.3056880831718445, 0.00008971565694082528, 0.5543774366378784, -0.12496934831142426, -0.1412951797246933, 0.48513999581336975, 0.4066277742385864, 0.9592271447181702, 0.22322994470596313, 0.09731348603963852, 0.2813529372215271, 0.1030905693769455, 0.39219793677330017, 0.012834993191063404, -0.03795395419001579, -0.6953677535057068, -0.16563472151756287, -0.24979326128959656, -0.09494633972644806, -0.2305407077074051, -1.3176662921905518, 0.5023752450942993, 0.027057038620114326, 0.2802762985229492, 0.0006416560499928892, -0.24589432775974274, -1.063238501548767, 0.2154332995414734, -0.2645793855190277, 0.6751573085784912, -0.9344591498374939, 0.6383285522460938, 0.6073814034461975, -0.37711113691329956, -0.9397895932197571, 0.17533552646636963, -0.195503830909729, -0.9274981617927551, 0.5096518397331238, -0.030334029346704483, -0.25528857111930847, -0.28416699171066284, -0.4721948206424713, -1.1365177631378174, 1.3858600854873657, 0.1856847107410431, -0.1391160637140274, 0.10344837605953217, 0.5129275918006897, 0.7851201891899109, -0.686633288860321, 0.10209982842206955, 0.45701494812965393, -0.2325447052717209, -0.12380856275558472, -0.7653024196624756, 0.26766732335090637, 0.17187431454658508, 0.16073673963546753, -0.15109358727931976, -0.41893747448921204, 0.8161415457725525, 0.16897721588611603, -0.46573591232299805, 0.04805359989404678, 1.0132163763046265, -0.2577146291732788, 0.6691845655441284, 0.3587503135204315, 0.6555596590042114, 0.3762342035770416, 0.24298009276390076, 0.8094787001609802, -0.2999245822429657, 0.7020249962806702, 0.8862305283546448, 0.133326455950737, 0.9766151905059814, 0.882885754108429, -0.09986219555139542, 0.6655023694038391, 0.08021734654903412, 0.4753064513206482, 0.5986910462379456, -0.10466992110013962, -0.028771717101335526, -0.0890183299779892, -0.20104609429836273, -0.34859222173690796, 0.6867315769195557, 0.3950689136981964, -0.17655932903289795, -0.6791397333145142, -0.028119273483753204, 0.07892876863479614, 0.2792961597442627, -0.3053722381591797, 0.8848196864128113, 0.45979544520378113, -0.50291907787323, 0.5441219806671143, -0.0995134562253952, 0.5190370082855225, -0.2116185575723648, -0.3752717971801758, -0.07829272747039795, 0.44882315397262573, -0.15675589442253113, -0.7962974905967712, 0.8609753847122192, -0.38700851798057556, 0.08136823028326035, 0.23751011490821838, 0.7991480231285095, -0.32967689633369446, -0.3066532611846924, 0.4895165264606476, 0.2849731147289276, 0.118039071559906, 0.16528606414794922, -0.5113081336021423, -0.08325280994176865, 0.08626911789178848, 0.010555801913142204, 0.5362086892127991, 0.8342977166175842, -0.3986957371234894, 0.41869574785232544, 0.48293110728263855, -0.18802671134471893, 0.287447988986969, -0.47124436497688293, 0.9586253762245178, -0.525264322757721, -0.47020792961120605, -0.5987941026687622, 0.20991884171962738, 0.1423734873533249, -0.30509868264198303, 0.7518269419670105, 0.6103690266609192, 1.07823646068573, -0.24252967536449432, 0.23202161490917206, 0.048441220074892044, 0.4303223192691803, -0.6223850250244141, 0.6045506000518799, -0.3773292601108551, 0.19308805465698242, -0.1209825798869133, -0.9795196652412415, -0.474044531583786, 0.6332385540008545, -0.43955013155937195, -0.5172684788703918, 0.7264145612716675, 1.0317497253417969, -0.36948439478874207, 0.17705616354942322, 0.4445702135562897, 0.14833156764507294, 0.48237645626068115, 0.10811999440193176, 0.4654180407524109, -0.6548479795455933, 0.34707674384117126, -0.368289977312088, -0.31983059644699097, -0.15406359732151031, -0.6394109129905701, -0.6135933995246887, -0.8372380137443542, -0.18059907853603363, -0.46953245997428894, -0.16976217925548553, 1.0725780725479126, 0.09372220933437347, -1.0256377458572388, -0.3169330358505249, 0.11409095674753189, 0.023455971851944923, -0.33185145258903503, -0.225374236702919, 0.9012961387634277, -0.2245396077632904, -0.6445149779319763, 0.05600203946232796, 0.33514660596847534, 0.08637496829032898, -0.4031633138656616, -0.0042368099093437195, -0.03509404882788658, 0.13979656994342804, 0.5102939605712891, 0.002766223857179284, -0.6718918085098267, -0.9163150787353516, -0.024647517129778862, -0.0772506520152092, 0.2596021890640259, 1.0379358530044556, -0.5284116864204407, 0.6255588531494141, 0.920809805393219, 0.7710955739021301, 0.44768670201301575, -0.12596923112869263, 0.4024621546268463, -0.41146478056907654, 0.3019300103187561, 0.22400175034999847, 0.22992099821567535, 0.24178510904312134, -0.30982232093811035, 0.20173366367816925, 0.22717265784740448, -0.29183632135391235, -0.535795271396637, 0.21542969346046448, -1.3312644958496094, 0.10300549119710922, 0.8652722835540771, -0.5881814360618591, -0.5137633681297302, -0.3604090213775635, -0.15375664830207825, 0.4427894651889801, -0.16530154645442963, 1.0612990856170654, 0.5398421287536621, -0.26514142751693726, 0.3194619119167328, 0.016913797706365585, 0.2548326253890991, 0.36403143405914307, -0.48403680324554443, -0.360302209854126, 0.1439296454191208, 0.5792538523674011, 0.45730939507484436, 0.16456620395183563, -0.5856651067733765, 0.31779035925865173, 0.09834548830986023, 0.12999160587787628, 0.23698414862155914, -0.05347750335931778, -0.26407590508461, 0.1046256348490715, 0.20414382219314575, -0.323014497756958 ]
http://arxiv.org/abs/2406.10977v1
http://arxiv.org/pdf/2406.10977v1
Toward Optimal LLM Alignments Using Two-Player Games
2024-06-16T15:24:50
2024-06-16T15:24:50
Rui Zheng, Hongyi Guo, Zhihan Liu, Xiaoying Zhang, Yuanshun Yao, Xiaojun Xu, Zhaoran Wang, Zhiheng Xi, Tao Gui, Qi Zhang, Xuanjing Huang, Hang Li, Yang Liu
cs.CL
cs.CL, cs.AI, 68
The standard Reinforcement Learning from Human Feedback (RLHF) framework primarily focuses on optimizing the performance of large language models using pre-collected prompts. However, collecting prompts that provide comprehensive coverage is both tedious and challenging, and often fails to include scenarios that LLMs need to improve on the most. In this paper, we investigate alignment through the lens of two-agent games, involving iterative interactions between an adversarial and a defensive agent. The adversarial agent's task at each step is to generate prompts that expose the weakness of the defensive agent. In return, the defensive agent seeks to improve its responses to these newly identified prompts it struggled with, based on feedback from the reward model. We theoretically demonstrate that this iterative reinforcement learning optimization converges to a Nash Equilibrium for the game induced by the agents. Experimental results in safety scenarios demonstrate that learning in such a competitive environment not only fully trains agents but also leads to policies with enhanced generalization capabilities for both adversarial and defensive agents.
[ -0.11346837878227234, -0.5881925821304321, 0.6380167007446289, -0.08519299328327179, 0.010635658167302608, 0.35120198130607605, -0.36790576577186584, -0.17195956408977509, -0.16641314327716827, 0.44540125131607056, -0.8587934374809265, -0.502244770526886, -0.4554438889026642, -0.14427058398723602, 0.2944785952568054, 1.237760066986084, -0.09448952227830887, 0.08316117525100708, -0.2823777198791504, -0.158418670296669, -0.4387977421283722, -0.021598713472485542, -0.8624166250228882, -0.7461473345756531, 0.6417881846427917, 0.4751223921775818, 0.8524022102355957, 0.8723258376121521, 0.46134722232818604, 0.3537732660770416, 0.1722746193408966, 0.320393443107605, -0.8057898283004761, 0.5581896901130676, -0.3636777400970459, -0.43331286311149597, 0.09436194598674774, 0.1367306411266327, 0.6572396159172058, 0.22085583209991455, -0.40815305709838867, -0.2953040599822998, 0.052244529128074646, 0.697445273399353, -0.4877931773662567, -0.03733542189002037, -0.3569091558456421, 0.2900674641132355, 0.11419239640235901, -0.4233494997024536, -0.3796112537384033, -0.2888934314250946, 0.35445308685302734, -0.939738929271698, -0.20716768503189087, -0.027484070509672165, 1.1414519548416138, 0.5953105688095093, -0.4742548167705536, -0.32642310857772827, -0.701010525226593, 0.7068790197372437, -0.2964412569999695, 0.02522001415491104, 0.07895540446043015, 0.5531840920448303, -0.535578727722168, -0.18060268461704254, -0.22884376347064972, -0.2765789330005646, 0.09075997769832611, 0.43129679560661316, -0.2777116894721985, 0.2080853432416916, 0.020883794873952866, -0.3252319097518921, -0.5853734016418457, 0.5147488117218018, -0.08430157601833344, -0.08654842525720596, 0.9118162393569946, 0.4167834520339966, 0.3228229284286499, 0.43143776059150696, -0.8603513836860657, -0.4089534878730774, -0.7295594811439514, 0.6034547090530396, 0.5782063603401184, 0.34087902307510376, -0.11118060350418091, 0.43757736682891846, 0.2830081582069397, 0.542327344417572, 0.26141273975372314, -0.42507490515708923, -0.1655547022819519, -0.21884919703006744, 0.2568543255329132, 0.07330290228128433, 0.7663604021072388, 0.5962506532669067, 0.355882853269577, -0.49786874651908875, -0.43126702308654785, 0.25250646471977234, 0.6651118397712708, -0.4001169502735138, -0.039496105164289474, 0.18278726935386658, -0.014843002893030643, -0.5088492035865784, 0.12409967929124832, -0.6498706340789795, -0.7591714262962341, -0.3567541241645813, 0.47724342346191406, -0.08146687597036362, -0.060293469578027725, -0.19448959827423096, -0.21981343626976013, 0.5065165162086487, 0.25968673825263977, -0.9500186443328857, 0.24616973102092743, 0.8748447895050049, 0.45661431550979614, -0.3325093388557434, -0.40751367807388306, -0.7568897008895874, 0.14310596883296967, -0.6613610982894897, 0.7612947821617126, -0.05556408688426018, -0.4087632894515991, 0.17720463871955872, -0.22644901275634766, -0.03605096787214279, -0.47073906660079956, 0.2710478603839874, -0.6778379678726196, 0.1956258863210678, -0.45941340923309326, -0.6212725639343262, 0.10487563908100128, 0.6340742707252502, -0.4062650799751282, 0.7624974846839905, 0.015052800066769123, -0.5316193699836731, 0.3808022439479828, -0.39181432127952576, -0.49303123354911804, -0.08649405092000961, -0.4477255642414093, -0.7053197622299194, -0.1673852801322937, 0.04976225271821022, -0.013496150262653828, -0.40425240993499756, 0.1692369431257248, -0.2750430703163147, -0.5803655982017517, 0.42264774441719055, 0.07638535648584366, 0.5350816249847412, 0.15188489854335785, -0.4738391637802124, 0.6124840378761292, -0.20652587711811066, -0.017131146043539047, 0.23756945133209229, -0.6748327016830444, 0.04824225977063179, 0.1935148686170578, -0.43125057220458984, 0.14024411141872406, 0.035796236246824265, -0.15711729228496552, 0.3078133463859558, -0.43097928166389465, 0.148428812623024, 1.1040058135986328, -0.02410442754626274, 0.8359570503234863, -0.6686563491821289, 0.8404189348220825, -0.10597576946020126, 0.09202715754508972, 0.23646879196166992, -0.0886964350938797, -0.3846297860145569, -0.2495134323835373, 0.1292760670185089, 0.6657034158706665, -0.9110416173934937, 0.3210905194282532, -0.15503060817718506, -0.034939270466566086, -0.63567054271698, 0.15692415833473206, 0.6352659463882446, 0.5958958864212036, 0.1867946982383728, -0.18130573630332947, -0.4544956684112549, -0.6799027323722839, -0.1973579376935959, -0.36206623911857605, 0.2837978005409241, 0.46641623973846436, 0.13433536887168884, -0.19124871492385864, 0.7332141399383545, -0.12527436017990112, -0.3395971953868866, -0.31602001190185547, 0.09235251694917679, -0.14086778461933136, 0.30849164724349976, 0.3769272565841675, -0.4172976613044739, -0.5209059715270996, 0.022125476971268654, -0.7530284523963928, -0.05804872140288353, -0.2747081518173218, -0.277219295501709, 0.4117271304130554, 0.30654728412628174, -0.3585982024669647, 0.20154641568660736, 0.31554171442985535, -0.364055871963501, 0.42954233288764954, -0.34004247188568115, 0.07026569545269012, -0.7772530913352966, -0.1526348739862442, -0.24782168865203857, -0.46103376150131226, -0.5915820002555847, 0.2623859941959381, -0.14014504849910736, 0.2017965167760849, -0.14930124580860138, 0.6217871904373169, -0.516060471534729, -0.427791029214859, -0.509028434753418, 0.6770849823951721, -0.1884307563304901, 0.6201989650726318, 0.1316065937280655, 0.8915637731552124, 0.4363816976547241, -0.6002891659736633, 0.4451960623264313, 0.1594066172838211, -0.03549395129084587, 0.6782938838005066, -0.475718230009079, 0.20681937038898468, -0.27376481890678406, 0.21655768156051636, -0.9864665269851685, -0.09088428318500519, 0.4902329742908478, -0.42374688386917114, 0.5148541331291199, 0.2335873246192932, 0.03765777498483658, -0.1982431560754776, -0.6161662340164185, 0.28302204608917236, 0.6604740619659424, -0.7247681021690369, 0.5105658173561096, 0.6006373167037964, 0.24759924411773682, -1.1120952367782593, -0.3479406535625458, -0.06548049300909042, -0.3370632529258728, -0.5077327489852905, 0.27754825353622437, 0.07400314509868622, -0.36321720480918884, 0.06158241257071495, -0.051705505698919296, 0.23546957969665527, 0.3760201334953308, 0.25396332144737244, 0.4521169662475586, -0.1107916384935379, 0.046464595943689346, -0.24756132066249847, -0.256193071603775, 0.062467414885759354, -0.41827908158302307, 0.33491837978363037, 0.01746124029159546, -0.20754754543304443, -0.4389619529247284, 0.27222391963005066, 0.020328115671873093, 0.10988941788673401, 0.49078452587127686, 0.4388177692890167, -0.016619309782981873, -0.2603071630001068, -0.24898819625377655, -0.2558252215385437, -0.4201391041278839, 0.4508000314235687, -0.30327340960502625, -0.9428899884223938, 0.4066629409790039, 0.042016927152872086, 0.29665303230285645, 0.26277798414230347, 0.5856379270553589, -0.3246331512928009, 1.2020576000213623, 0.47346606850624084, -0.0967310443520546, 0.2790543735027313, -0.10574795305728912, -0.20165252685546875, -0.5325506329536438, -0.44440266489982605, -0.36381715536117554, -0.5221593976020813, -0.5479220747947693, -0.23476552963256836, 0.2449682354927063, 0.05270782858133316, -0.5468184947967529, 0.2653246521949768, -0.3588836193084717, 0.7513925433158875, 0.6569778919219971, 0.4273594319820404, -0.061208948493003845, -0.027675284072756767, -0.3792813718318939, -0.12233539670705795, -0.7349050641059875, -0.2508767545223236, 0.9438202977180481, 0.5036848783493042, 0.7424665093421936, 0.5337608456611633, 1.0491052865982056, 0.19385381042957306, 0.2655971646308899, -0.8953849077224731, 0.26923665404319763, 0.18502211570739746, -0.29732125997543335, -0.4849289655685425, -0.4729011356830597, -1.163371205329895, 0.12304715067148209, -0.3878633677959442, -0.6539568305015564, -0.05617361143231392, 0.24736692011356354, -0.5805227160453796, 0.001700747525319457, -0.12313121557235718, 0.8418506979942322, -0.44009625911712646, -0.6183830499649048, -0.2599051892757416, -1.0016310214996338, 0.4421520233154297, 0.32584336400032043, 0.10261086374521255, 0.05215659365057945, -0.25789764523506165, 0.5845325589179993, -0.2891633212566376, 0.5952191352844238, -0.2921590209007263, -0.35465818643569946, 0.3337603211402893, -0.0608428530395031, 0.7535690665245056, -0.0738542377948761, 0.3334505259990692, -0.5418010950088501, -0.3025479316711426, -0.5655773282051086, -0.5814638137817383, 0.4437568783760071, -1.235107421875, -0.6997007131576538, -0.6371608376502991, -0.7621456980705261, -0.2749521732330322, -0.1277868002653122, 0.237430140376091, -0.06928770989179611, -0.44485893845558167, -0.3231525719165802, 0.8481445908546448, -0.20499315857887268, 0.3224034309387207, 0.5785422325134277, -0.05608903244137764, -0.47337186336517334, 0.845565140247345, -0.3054300844669342, 0.31406816840171814, 0.35143226385116577, 0.13449469208717346, -0.5616705417633057, -0.48701080679893494, -0.47313937544822693, 0.21311770379543304, -0.7090157270431519, -0.2833622395992279, -0.12283720821142197, -0.02707812190055847, -0.29183319211006165, -0.22966568171977997, -0.09967950731515884, -0.07914654165506363, -0.29137179255485535, -0.08598411828279495, -0.13225829601287842, 0.8729331493377686, -0.48279428482055664, 0.3771427273750305, -0.47877275943756104, 0.05587933212518692, 0.44495689868927, -0.16639424860477448, -0.1684086173772812, -0.5476483106613159, -0.07123364508152008, -0.04376091808080673, -0.436776340007782, -1.034347414970398, -0.009557305835187435, 0.02778690867125988, 0.6101568341255188, 0.5676544904708862, 0.033078279346227646, 0.5584002137184143, -0.3440852761268616, 0.4925892949104309, 0.4193410277366638, -0.5109864473342896, 0.19147980213165283, -0.33068183064460754, 0.12223432958126068, 0.6684038639068604, 0.20259344577789307, -0.5007772445678711, -0.059626687318086624, -0.3516991436481476, -0.6518998146057129, 0.9973029494285583, -0.17875413596630096, -0.24634027481079102, -0.010176850482821465, 0.3848206400871277, -0.19071748852729797, -0.05529365316033363, -0.49097785353660583, -0.15696337819099426, 0.18440119922161102, -0.3283573389053345, -0.1265103816986084, -0.17410151660442352, -0.7275226712226868, 0.22746430337429047, 0.892894983291626, -0.16718032956123352, 0.16685864329338074, -0.09659858047962189, -0.25516873598098755, -0.5494272708892822, 0.1491924375295639, 0.8889333605766296, 0.266296923160553, 0.10672954469919205, 0.24195680022239685, 0.07236875593662262, 0.06784956157207489, 0.5937284827232361, 0.14625735580921173, -0.1886826455593109, -0.56864994764328, 0.5023863911628723, 0.903540849685669, 0.25638875365257263, -0.7968343496322632, 0.7292176485061646, -0.13910940289497375, -0.3848321735858917, -0.050758086144924164, 0.24605131149291992, 0.04747084528207779, 0.8272915482521057, -0.023379702121019363, -0.17074058949947357, -0.1598205715417862, -0.6039623618125916, 0.4491577446460724, 0.8792404532432556, -0.5637774467468262, -0.09480419009923935, 0.6024268269538879, 0.050780393183231354, -0.600045382976532, 0.5320072174072266, -0.402822881937027, -0.8592044711112976, 0.6956843137741089, 0.6512786149978638, 0.6886234879493713, -0.09360365569591522, 0.46398767828941345, 0.3519207835197449, 0.08511859178543091, -0.3341628313064575, 0.1741972267627716, -0.1653454452753067, -0.8541308045387268, -0.1736425757408142, -0.22311028838157654, -0.44119659066200256, -0.39677533507347107, -0.594961941242218, 0.05064353346824646, -0.5885620713233948, -0.10817644745111465, -0.2983754277229309, 0.30633315443992615, -0.42572101950645447, -0.20163308084011078, 0.11641772836446762, 0.23127232491970062, -0.4890751540660858, 0.4718609154224396, 0.6122314929962158, -0.5305419564247131, -1.0086476802825928, -0.12476067990064621, 0.4600708782672882, -1.1929643154144287, 0.5155787467956543, 0.02312219701707363, -0.18625549972057343, -0.007652005646377802, -0.5440471768379211, -0.6044353246688843, 1.2689127922058105, 0.3828098177909851, -0.6848253607749939, -0.12282641977071762, -0.0163174569606781, 0.43577784299850464, -0.46657803654670715, 0.13515907526016235, 0.7478746771812439, 0.4657653868198395, 0.17521578073501587, -0.5031638741493225, 0.05119127780199051, 0.09221605956554413, -0.15905719995498657, 0.34698328375816345, -0.5907840132713318, 0.6001141667366028, -0.692328691482544, -0.4078890085220337, 0.23631422221660614, 0.6552144885063171, 0.5888612866401672, 0.17530880868434906, 0.6217240691184998, 0.8378445506095886, 0.767663836479187, -0.11646426469087601, 0.8738277554512024, -0.08255501836538315, 0.33515459299087524, 1.1623607873916626, -0.33282190561294556, 0.4058258533477783, 0.42241474986076355, -0.24690473079681396, 0.39529526233673096, 0.8833341598510742, 0.043247465044260025, 0.6517267823219299, 0.5718079805374146, -0.32675254344940186, -0.35084807872772217, -0.2551025152206421, -0.08840824663639069, 0.16233199834823608, -0.02357294224202633, -0.06004530191421509, -0.4477373957633972, -0.3449886441230774, 0.06888965517282486, 0.5320178866386414, -0.04990871250629425, 1.255232810974121, -0.06950662285089493, -1.1720601320266724, 0.3608570992946625, -0.12648552656173706, 0.5765265226364136, -0.49108943343162537, 0.06443003565073013, -0.22620999813079834, 0.3905383348464966, -0.011419719085097313, -0.5738199949264526, -0.09512221068143845, -0.1558438241481781, 0.05373398959636688, -0.03202807530760765, 0.4858654737472534, -0.783304750919342, 0.2270849496126175, 0.5221575498580933, 0.3349897265434265, -0.00869617611169815, 0.3762492835521698, -0.8871299028396606, -0.14333921670913696, 0.0028939431067556143, -0.12398618459701538, 0.6194527745246887, 0.10243242979049683, 0.044102903455495834, 0.5054904818534851, 0.3632137179374695, 0.12330105900764465, -0.0992431715130806, -0.03109343722462654, 0.5842660665512085, -0.49240365624427795, -0.5921752452850342, -0.9433169364929199, 0.3321273624897003, -0.05203765258193016, -0.1996924877166748, 0.32105496525764465, 0.17089037597179413, 0.5973585247993469, 0.35432830452919006, 0.6222261190414429, 0.330549418926239, 0.19197745621204376, -0.5311243534088135, 0.32268059253692627, -0.5732558369636536, 0.327798068523407, 0.14883525669574738, -0.6686481237411499, -0.1602737158536911, 0.6196734309196472, -0.032182395458221436, -0.16432493925094604, 0.4912469685077667, 0.8063161373138428, 0.41590872406959534, -0.27281105518341064, 0.24394011497497559, -0.18283820152282715, 0.3463241159915924, 1.0651556253433228, 1.0504093170166016, -0.25856396555900574, 0.6263554692268372, -0.11677874624729156, -0.3180044889450073, -0.07548432052135468, -0.7201361060142517, -1.0328162908554077, -0.27330130338668823, -0.15518973767757416, -0.7461075186729431, 0.5551243424415588, 1.392290711402893, 0.31018203496932983, -0.6707698702812195, -0.4190693795681, -0.16853836178779602, 0.4092079997062683, -0.3441310226917267, -0.20649296045303345, 0.2542846202850342, -0.7766457200050354, -0.42736631631851196, 0.5138460397720337, 0.14128899574279785, 0.16498781740665436, -0.25400495529174805, -0.8758671879768372, -0.28747960925102234, 0.12892208993434906, 0.04476301744580269, 0.6689615845680237, -0.7453269362449646, -0.2611304819583893, 0.0845063328742981, -0.4845980107784271, 0.03368845582008362, 0.7818148732185364, -0.512532651424408, 0.3965955078601837, 0.33009427785873413, 1.1481266021728516, 0.24493415653705597, 0.37210750579833984, 0.8296559453010559, -0.7643657922744751, 0.005557486787438393, 0.20325325429439545, 0.07626434415578842, 0.2485627979040146, -0.4142126441001892, 0.60075843334198, 0.11280297487974167, -0.8118402361869812, -0.8406907916069031, 0.3673704266548157, -0.6401592493057251, -0.3474678099155426, 1.1118476390838623, -0.40878424048423767, -0.16785810887813568, 0.17116136848926544, -0.12716752290725708, 0.4927537143230438, -0.49384748935699463, 0.8596833944320679, 0.598888635635376, -0.23013827204704285, -0.11742949485778809, 0.06858037412166595, 0.8648854494094849, 0.6464232206344604, -0.718546986579895, -0.08194655179977417, 0.4476392865180969, 0.053549207746982574, 0.025783084332942963, 0.7161040306091309, 0.21475224196910858, 0.5707646012306213, -0.09735191613435745, -0.19578398764133453, -0.007364238612353802, -0.6047243475914001, -0.7037575840950012, -0.0031250198371708393, 0.24367786943912506, -0.19219426810741425 ]
http://arxiv.org/abs/2406.10976v1
http://arxiv.org/pdf/2406.10976v1
Promoting Data and Model Privacy in Federated Learning through Quantized LoRA
2024-06-16T15:23:07
2024-06-16T15:23:07
JianHao Zhu, Changze Lv, Xiaohua Wang, Muling Wu, Wenhao Liu, Tianlong Li, Zixuan Ling, Cenyuan Zhang, Xiaoqing Zheng, Xuanjing Huang
cs.LG
cs.LG, cs.CL, cs.CR
Conventional federated learning primarily aims to secure the privacy of data distributed across multiple edge devices, with the global model dispatched to edge devices for parameter updates during the learning process. However, the development of large language models (LLMs) requires substantial data and computational resources, rendering them valuable intellectual properties for their developers and owners. To establish a mechanism that protects both data and model privacy in a federated learning context, we introduce a method that just needs to distribute a quantized version of the model's parameters during training. This method enables accurate gradient estimations for parameter updates while preventing clients from accessing a model whose performance is comparable to the centrally hosted one. Moreover, we combine this quantization strategy with LoRA, a popular and parameter-efficient fine-tuning method, to significantly reduce communication costs in federated learning. The proposed framework, named \textsc{FedLPP}, successfully ensures both data and model privacy in the federated learning context. Additionally, the learned central model exhibits good generalization and can be trained in a resource-efficient manner.
[ -0.31305110454559326, -0.7702237367630005, 0.1491866111755371, 0.16366693377494812, -0.1423777937889099, -0.04755617678165436, -0.09699152410030365, -0.45741406083106995, -0.03194945305585861, 0.7054264545440674, -0.5473938584327698, -0.8849936723709106, -0.13687340915203094, -0.31901562213897705, -0.44137802720069885, 1.1149520874023438, 0.18519732356071472, -0.02084043063223362, -0.36666765809059143, -0.27516308426856995, 0.303871750831604, -0.642016589641571, -0.6770911812782288, -0.4721246063709259, 0.7231488823890686, 0.15599270164966583, 0.6680969595909119, 0.7882870435714722, 0.47416332364082336, 0.25713053345680237, -0.018162602558732033, 0.07474751770496368, -0.4744105637073517, 0.18314732611179352, -0.18117116391658783, -0.8331813216209412, -0.7738797664642334, 0.03703700378537178, 0.7716278433799744, 0.7181168794631958, -0.49316272139549255, 0.24940510094165802, 0.014829810708761215, 0.9940809607505798, -1.056226372718811, 0.2749313414096832, -0.11844459176063538, 0.44048455357551575, -0.08551549911499023, -0.053796686232089996, -0.4624435603618622, -0.5681895613670349, 0.09966810792684555, -0.5347785353660583, 0.09897918254137039, -0.2640816271305084, 0.617610514163971, 0.27600327134132385, -0.2918451428413391, 0.26434436440467834, -0.7464163303375244, 0.5773284435272217, -0.39565524458885193, 0.513607919216156, 0.5918271541595459, 0.3870907723903656, 0.07830782234668732, -0.8281521201133728, -0.12455105036497116, 0.2174733579158783, 0.01512092538177967, -0.3522178828716278, -0.5334323048591614, 0.20365607738494873, 0.29909834265708923, 0.5214836597442627, -0.3410176932811737, 0.5317381620407104, -0.05766706541180611, -0.15706320106983185, 0.8003469705581665, 0.06822971999645233, -0.2480422854423523, 0.39377981424331665, -0.4943351447582245, -0.32512491941452026, -0.836367130279541, 0.13030290603637695, 0.5461540222167969, 0.5356031060218811, -0.27182674407958984, 0.30645015835762024, -0.7388126850128174, 0.6011636853218079, 0.23269663751125336, -0.22083821892738342, 0.20091675221920013, -0.0184781551361084, -0.5777865052223206, -0.2199421375989914, 0.8746361136436462, -0.03747430443763733, -0.108372263610363, -0.3553519546985626, -0.35848355293273926, -0.15138526260852814, -0.13069041073322296, -1.0564452409744263, 0.06991992145776749, 0.17613163590431213, -0.3061010539531708, -0.43456268310546875, -0.08772125095129013, -0.7130903601646423, -0.23773261904716492, -0.17237570881843567, 0.3893122971057892, -0.0348307266831398, -0.10021050274372101, 0.20092931389808655, 0.35143977403640747, 0.09729690104722977, 0.08793656527996063, -1.3687409162521362, 0.6395493745803833, 1.0556968450546265, 0.7148716449737549, 0.3019716143608093, -0.17031562328338623, -0.8615524172782898, 0.18478789925575256, 0.018295738846063614, 0.4267948269844055, -0.3287198543548584, -0.22763390839099884, 0.23842450976371765, -0.14815407991409302, 0.09030797332525253, -0.2057272046804428, 0.015394224785268307, -0.8107149004936218, 0.403516560792923, -0.1359448879957199, -0.5981549024581909, -0.11665242910385132, 0.09261298179626465, -0.678316593170166, 0.42295876145362854, 0.17066901922225952, -0.9201472997665405, 0.04824533313512802, -0.7376055717468262, -0.19133113324642181, 0.031510621309280396, -0.22208012640476227, -0.7775129079818726, -0.015363681130111217, 0.4011669456958771, 0.7213249206542969, -0.08696640282869339, 0.2600347697734833, -0.36890125274658203, -0.3453117609024048, 0.2341117411851883, -0.31645438075065613, 0.9610751867294312, 0.21525123715400696, -0.27636048197746277, 0.1396036297082901, -0.6676443815231323, 0.23014210164546967, 0.04645923897624016, -0.4793912172317505, -0.49968504905700684, -0.23303955793380737, -0.3110564053058624, -0.16477468609809875, 0.459026962518692, -0.4097647964954376, 0.2521283030509949, -0.5401282906532288, 0.4875633120536804, 0.8399118185043335, -0.13702169060707092, 0.8446362018585205, -0.30961543321609497, 0.5598840117454529, -0.08170022815465927, 0.5989207029342651, 0.016862353309988976, -0.13973809778690338, -0.519943118095398, -0.45507240295410156, 0.49393951892852783, 0.15564225614070892, -0.5085209012031555, 0.3056662678718567, -0.3078543543815613, -0.4564337432384491, -0.4374660551548004, 0.12468510866165161, 0.4668598175048828, 0.3461063504219055, -0.061251673847436905, 0.07250689715147018, -0.0980205237865448, -0.7643744945526123, 0.08268015831708908, 0.0348363034427166, -0.12956075370311737, 0.2957741916179657, 0.30252623558044434, -0.3861866295337677, 1.0974996089935303, -0.6290166974067688, -0.47327759861946106, 0.12923307716846466, -0.02684401161968708, -0.12888240814208984, 0.6653059720993042, 0.602027952671051, -0.9164758324623108, -0.36682742834091187, 0.1082666888833046, -0.7396382689476013, 0.0791793018579483, 0.38616466522216797, -0.29006487131118774, 0.3697783052921295, 0.25384387373924255, -0.41371312737464905, 0.38948506116867065, 0.9022415280342102, -0.36411410570144653, 0.11003110557794571, -0.19031894207000732, -0.3216050863265991, -1.0879006385803223, 0.08851662278175354, -0.1749524474143982, -0.5968579649925232, -0.38425368070602417, 0.666251003742218, -0.06274384260177612, -0.4418671429157257, -0.36960145831108093, 0.4764837622642517, -0.11418715119361877, -0.18289990723133087, -0.1826673150062561, 0.05898259952664375, 0.09940911084413528, 0.5621991753578186, 0.019112512469291687, 0.6656811833381653, 0.7707429528236389, -0.35610780119895935, 0.3657836318016052, 0.4060363173484802, -0.035713884979486465, 0.8245404958724976, -0.5197842717170715, 0.26095467805862427, 0.18160103261470795, 0.33410704135894775, -0.10966785997152328, -0.38191840052604675, 0.25769102573394775, -0.22853140532970428, -0.015517364256083965, -0.11818014085292816, -0.7144641876220703, 0.08963679522275925, -0.21666055917739868, 0.25827866792678833, 0.4464191198348999, -0.8443528413772583, 0.6384239792823792, 0.48204556107521057, 0.18127761781215668, -0.8028378486633301, -0.6627217531204224, -0.3980931043624878, -0.3485209047794342, -0.7170894145965576, 0.21635468304157257, -0.05158894136548042, -0.2517552673816681, -0.16927149891853333, -0.06611872464418411, -0.4488510489463806, 0.49972420930862427, 0.5158771276473999, -0.09524133056402206, -0.283009797334671, 0.18328262865543365, 0.18295727670192719, -0.24054883420467377, 0.3240712285041809, -0.5264297127723694, 0.500360906124115, -0.3544788062572479, -0.3467734158039093, -0.5591909885406494, 0.3534284830093384, 0.17994903028011322, -0.3824271559715271, 1.0688350200653076, 0.6551985144615173, -0.506269633769989, -0.6294789910316467, -0.2688232660293579, -0.4784199595451355, -0.5514744520187378, -0.11494231224060059, -0.01935700885951519, -1.2298753261566162, 0.6840277910232544, -0.03150412067770958, 0.2308170348405838, -0.0974007323384285, 0.31830233335494995, 0.011893325485289097, 0.7998968958854675, 1.3101938962936401, -0.2793176770210266, 0.7345816493034363, -0.38543498516082764, 0.07669021934270859, -0.523802638053894, -0.20936931669712067, -0.4072634279727936, -0.319083034992218, -0.7672620415687561, -0.18106555938720703, 0.32168006896972656, 0.026144031435251236, -0.4005051553249359, 0.06773573160171509, -0.3517225980758667, 0.6516960859298706, 0.9310221672058105, 0.5742775201797485, 0.5767025351524353, 0.2885836660861969, 0.12195184081792831, 0.20966432988643646, -0.6165257096290588, -0.09362024813890457, 1.2018945217132568, 0.5855289697647095, 0.9075734615325928, 0.1447295844554901, 1.097693681716919, 0.2754475474357605, 0.1172465831041336, -0.5081585049629211, 0.6811078190803528, -0.05304820463061333, -0.4218817949295044, -0.33255308866500854, -0.8270182609558105, -0.7075459957122803, 0.2840445041656494, -0.14180053770542145, -0.7536581754684448, 0.39963820576667786, 0.11862573772668839, -0.6443561315536499, 0.3493260443210602, -0.31499534845352173, 0.5479295253753662, 0.15517915785312653, -0.5813127756118774, -0.274610310792923, -0.7038058638572693, 0.3567686080932617, -0.23504813015460968, -0.0942872166633606, 0.024789772927761078, 0.03814804553985596, 0.7938355803489685, -0.7074486017227173, 1.0416381359100342, -0.3250877857208252, -0.33299458026885986, 0.04607674106955528, -0.09292170405387878, 0.5306186676025391, 0.4036460816860199, 0.07163490355014801, 0.2855817675590515, -0.29416048526763916, -0.4812227487564087, -0.48144012689590454, 0.8209894895553589, -0.7544585466384888, -0.6076735258102417, -0.24978721141815186, -0.6284772157669067, -0.24106211960315704, 0.19544248282909393, 0.058092985302209854, 0.23783668875694275, -0.027050765231251717, 0.41331061720848083, 0.9414993524551392, -0.016792332753539085, 0.47207629680633545, 0.8667787313461304, -0.29290860891342163, -0.35134729743003845, 0.7286688089370728, -0.16258087754249573, 0.5070027709007263, 0.4969165325164795, 0.3329910337924957, -0.07134483009576797, -0.359533429145813, 0.18025124073028564, 0.38791632652282715, -0.8206977844238281, -0.47532328963279724, -0.47349345684051514, -0.3916700482368469, -0.21052980422973633, -0.3108236491680145, -0.5933090448379517, -0.440234899520874, -0.5093328952789307, -0.26145288348197937, 0.5818870663642883, 0.09235461056232452, -0.584472119808197, 0.8153745532035828, -0.5226761102676392, -0.02984010800719261, 0.5122214555740356, 0.5979640483856201, -0.11323907971382141, -0.10108226537704468, -0.4509798586368561, 0.3587455153465271, -0.09210050851106644, -0.053598083555698395, 0.2605874836444855, 0.27546679973602295, 0.032375894486904144, 0.7166262269020081, 0.31230300664901733, 0.37788769602775574, -0.22562779486179352, 0.36593201756477356, -0.05013946816325188, -1.0032004117965698, 0.538613498210907, -0.42476239800453186, 0.11328937113285065, 0.4170151352882385, 0.18860067427158356, -0.21709883213043213, -0.32954683899879456, -0.7743715643882751, -0.5393664240837097, 0.6681612730026245, -0.0569821372628212, 0.3038235902786255, 0.45009443163871765, 0.2325831800699234, 0.00686310650780797, 0.3818913698196411, -0.9083071947097778, -0.24789629876613617, 0.02351977862417698, 0.0663035586476326, 0.26597556471824646, -0.0025696672964841127, -0.651078999042511, 0.0879676416516304, 0.4880676865577698, -0.3063959777355194, 0.21145087480545044, -0.27351921796798706, 0.2885873019695282, -0.2017446756362915, 0.09154631197452545, 0.37535881996154785, 0.5403192639350891, -0.1801372915506363, -0.14153717458248138, -0.3163416385650635, -0.46938541531562805, 0.0704726129770279, 0.5275818109512329, -0.4901520311832428, -0.15569661557674408, 0.13624510169029236, 0.7998613715171814, 0.29043179750442505, -0.4537964463233948, 0.6415178775787354, -0.14412705600261688, -0.30855998396873474, -0.21160383522510529, 0.3902145326137543, 0.011888335458934307, 0.6835609674453735, 0.18721596896648407, -0.09970265626907349, -0.09597493708133698, -0.1555047631263733, 0.21577028930187225, 0.5284353494644165, -0.2074708491563797, -0.44272366166114807, 0.8261471390724182, 0.34900811314582825, -0.21028508245944977, 0.6049425601959229, 0.15367867052555084, -0.11731192469596863, 0.3034800589084625, 0.34495317935943604, 0.7680948376655579, -0.4593870937824249, 0.6484790444374084, -0.05069044604897499, -0.0323018915951252, -0.2708560824394226, 0.20073682069778442, -0.4940519630908966, -0.5156578421592712, -0.06123435124754906, -0.5913272500038147, -0.5338415503501892, 0.004163621459156275, -1.0819613933563232, -0.05921374261379242, -0.8841190934181213, -0.18448969721794128, -0.17932681739330292, 0.15654073655605316, -0.48357436060905457, -0.023047031834721565, 0.30243706703186035, 0.7773171663284302, -0.8246033191680908, 1.0164587497711182, 0.10949172079563141, -0.3745183050632477, -0.6132107973098755, -0.2900550961494446, -0.2845908999443054, -0.6920278668403625, 0.6396262645721436, -0.128769651055336, 0.04849083721637726, 0.16126251220703125, -0.7642858028411865, -0.6774725317955017, 1.2625237703323364, 0.6142167448997498, -0.7844395041465759, -0.18913154304027557, 0.5040828585624695, 0.6230429410934448, -0.24615325033664703, -0.4014495015144348, 0.23669831454753876, 0.06586655974388123, -0.09901247173547745, -0.591516375541687, -0.0939728170633316, 0.3744746148586273, -0.35446348786354065, 0.2814415693283081, -0.8076049089431763, 0.984134316444397, -0.2384474128484726, -0.40413698554039, -0.13995113968849182, 0.8820542097091675, 0.1282084733247757, 0.44717493653297424, 0.23091214895248413, 0.5478555560112, 1.1113022565841675, -0.017992936074733734, 0.8528178930282593, -0.16559763252735138, 0.6801236867904663, 1.1739486455917358, -0.3039857745170593, 0.967359721660614, 0.4570370316505432, -0.04029122740030289, 0.2488444447517395, 0.4328155517578125, 0.08856304734945297, 0.8501401543617249, 0.04305462911725044, -0.6906914114952087, 0.013514909893274307, -0.20179319381713867, -0.3357914984226227, 0.4055343270301819, 0.2301987260580063, -0.6020617485046387, -0.3907896876335144, 0.30170947313308716, 0.2920006513595581, 0.13424520194530487, -0.47045546770095825, 0.7621718645095825, 0.2384253740310669, -0.001904125907458365, 0.6241503357887268, 0.046896930783987045, 0.4142725169658661, -0.6893726587295532, 0.3042336702346802, -0.5821728706359863, 0.3718070685863495, -0.27370625734329224, -0.31115588545799255, 0.2258191704750061, 0.07482678443193436, -0.20131923258304596, -0.22046223282814026, 0.13571348786354065, -0.4609473943710327, -0.3095855712890625, 0.28894591331481934, 0.42694661021232605, -0.3152945637702942, -0.1096336841583252, -0.5455840229988098, -0.004328847862780094, -0.21097517013549805, -0.26471030712127686, 0.7551262974739075, 0.3152730464935303, -0.0811108946800232, 0.9463812112808228, 0.6079033017158508, -0.12444152683019638, -0.21784661710262299, 0.02013656124472618, 1.1126298904418945, -0.15455833077430725, -0.8129133582115173, -0.8670496940612793, 0.1414465606212616, 0.07336072623729706, -0.07749271392822266, 0.7553188800811768, 0.28599491715431213, 0.99555903673172, 0.10525231063365936, 0.47685593366622925, 0.23303870856761932, 0.2072272002696991, -0.612952709197998, 1.0183957815170288, -0.28130796551704407, 0.40833890438079834, 0.05791835859417915, -0.8752729296684265, -0.35440292954444885, 0.5622139573097229, -0.22078686952590942, -0.3192193806171417, 0.4010324776172638, 0.6753589510917664, -0.17136313021183014, 0.167000874876976, 0.313996821641922, 0.07685694098472595, 0.30661705136299133, 0.6011890769004822, 0.3523954153060913, -0.5461961030960083, 0.08179578185081482, -0.7567482590675354, -0.07352828979492188, -0.13920524716377258, -0.7732459306716919, -1.094649314880371, -0.5138909220695496, -0.544479489326477, -0.11346616595983505, 0.18238382041454315, 0.7011712193489075, 0.8861401677131653, -0.5039608478546143, -0.1468372493982315, -0.1000339686870575, 0.21214744448661804, -0.2865212857723236, -0.16388723254203796, 0.44648686051368713, 0.06633199751377106, -0.6517001986503601, 0.27648016810417175, 0.0500025674700737, 0.1780567467212677, -0.734775185585022, 0.03885463997721672, 0.0781969204545021, -0.1270935982465744, 0.28583139181137085, 0.4031849801540375, -0.35997435450553894, -0.051427315920591354, -0.20044751465320587, -0.19452670216560364, 0.011521474458277225, 0.5752993226051331, -0.891508162021637, 0.15760326385498047, 0.2537913918495178, 0.7493367195129395, 0.28147947788238525, 0.2029171586036682, 0.5805111527442932, -1.0539329051971436, 0.41405442357063293, 0.2316056787967682, 0.12215772271156311, 0.3829607665538788, -0.6414786577224731, 0.649883508682251, -0.05300269275903702, -0.7322307229042053, -1.1227442026138306, 0.04233688488602638, -0.6966527104377747, 0.02095792256295681, 0.7680767178535461, -0.684201717376709, -0.4297561049461365, 0.5039069652557373, 0.3917549252510071, -0.023303277790546417, -0.4131796360015869, 0.8099365830421448, 0.19124194979667664, 0.2643115222454071, -0.06445050239562988, -0.3266620934009552, 0.6314606666564941, -0.049352556467056274, -0.9534965753555298, 0.3201977014541626, 0.4149051606655121, 0.14581061899662018, -0.07733254134654999, 0.3993678689002991, 0.15883615612983704, 0.19484256207942963, -0.1327688843011856, -0.11417707800865173, -0.2869517207145691, -0.3425319790840149, -0.7023102045059204, 0.272123783826828, -0.2915101945400238, -0.4080393612384796 ]
http://arxiv.org/abs/2406.10974v1
http://arxiv.org/pdf/2406.10974v1
Towards Supporting Legal Argumentation with NLP: Is More Data Really All You Need?
2024-06-16T15:15:44
2024-06-16T15:15:44
T. Y. S. S Santosh, Kevin D. Ashley, Katie Atkinson, Matthias Grabmair
cs.CL
cs.CL, cs.AI
Modeling legal reasoning and argumentation justifying decisions in cases has always been central to AI & Law, yet contemporary developments in legal NLP have increasingly focused on statistically classifying legal conclusions from text. While conceptually simpler, these approaches often fall short in providing usable justifications connecting to appropriate legal concepts. This paper reviews both traditional symbolic works in AI & Law and recent advances in legal NLP, and distills possibilities of integrating expert-informed knowledge to strike a balance between scalability and explanation in symbolic vs. data-driven approaches. We identify open challenges and discuss the potential of modern NLP models and methods that integrate
[ -0.20317009091377258, -0.6967304944992065, 0.789912223815918, 0.1254424750804901, -0.3067464828491211, -0.32328277826309204, -0.04342925548553467, -0.6915355920791626, 0.02806083858013153, 0.42890384793281555, -0.2245146930217743, -0.19976700842380524, -0.6186044216156006, -0.02482449635863304, -0.39086979627609253, 1.0071214437484741, 0.14506582915782928, 0.5101785659790039, -0.756895124912262, -0.6058239936828613, -0.7673169374465942, -0.9971221685409546, -0.9922569990158081, -0.2903721332550049, 0.4512137770652771, 0.13606101274490356, 0.8624520301818848, 0.825567364692688, 0.3707684576511383, 0.2701827883720398, -0.0929856151342392, -0.0885743796825409, 0.13348864018917084, 0.4121803641319275, -0.21109285950660706, -0.6262362003326416, -0.229856938123703, -0.06991808861494064, 0.3062017858028412, 0.5631427764892578, -0.2867186963558197, 0.027147658169269562, -0.6546755433082581, 0.631940484046936, -0.4798111617565155, 0.14395292103290558, -0.5441320538520813, 0.3931117653846741, -0.02924477495253086, 0.06744913756847382, -0.5224365592002869, -0.22984106838703156, 0.22954969108104706, -0.5741124749183655, -0.23678244650363922, 0.14787040650844574, 0.8331177234649658, 0.6604493856430054, -0.5557228326797485, -0.5426363945007324, -0.7063201069831848, 0.6007217168807983, -0.998227059841156, 0.38258811831474304, 0.13100174069404602, 0.5779158473014832, 0.07191344350576401, -0.9518361687660217, -0.6078944206237793, -0.5586278438568115, 0.019432255998253822, 0.17705249786376953, -0.5027949810028076, -0.007907940074801445, 0.5076345801353455, -0.24377770721912384, -0.3193626403808594, 0.34874120354652405, -0.15945811569690704, 0.02163565717637539, 0.9471436738967896, -0.044223885983228683, 0.2481943964958191, -0.12724409997463226, 0.029392177239060402, -0.06352309882640839, -0.553716242313385, -0.0655239149928093, 0.4189870357513428, 0.1087924912571907, 0.010961147956550121, 0.7579312324523926, 0.28714004158973694, 0.6228451132774353, 0.09823738038539886, 0.26149240136146545, -0.20799194276332855, -0.1623045653104782, -0.19845803081989288, 0.465821772813797, 0.9753194451332092, 0.19763244688510895, 0.4811614155769348, 0.1191776841878891, 0.034953873604536057, -0.14024297893047333, 0.5081955790519714, -0.4378822147846222, 0.046524375677108765, 0.6554401516914368, -0.6679002046585083, -0.0503254197537899, 0.08696717768907547, -0.6705211400985718, -0.8088926076889038, -0.6306442618370056, -0.1982099711894989, -0.3080636262893677, -0.23528234660625458, 0.5873385667800903, -0.5828589797019958, 0.31531772017478943, 0.5346221923828125, -0.778010904788971, 0.26527056097984314, 0.9160045385360718, 0.6647148728370667, 0.3061361610889435, 0.17888867855072021, -0.4194074869155884, 0.27483442425727844, -0.6400009393692017, 1.037545919418335, -0.5931258201599121, 0.025941679254174232, 0.08778943866491318, -0.2538452744483948, 0.08655137568712234, -0.5286970138549805, 1.0567500591278076, -0.48014047741889954, 0.09877120703458786, -0.347771018743515, -0.5815646648406982, -0.514343798160553, 0.09600400924682617, -0.8683094382286072, 0.669456422328949, -0.21971428394317627, -0.5881490111351013, 1.0411179065704346, -1.0235031843185425, -0.6876717209815979, 0.4147728383541107, -0.5943790078163147, -0.6030677556991577, 0.2913013994693756, 0.1875961571931839, 0.4919513463973999, -0.28985974192619324, 0.827915370464325, -0.5765324234962463, 0.27635496854782104, 0.009766336530447006, -0.326614111661911, 1.2770397663116455, 0.41323164105415344, -0.3486814498901367, 0.1617189347743988, -0.608012855052948, -0.17322711646556854, 0.1132594496011734, -0.10540267825126648, -0.2593025267124176, 0.703650176525116, -0.12178561091423035, 0.32821962237358093, 0.047357071191072464, -0.3301561772823334, 0.07603210210800171, -0.2938331663608551, 0.48708102107048035, 0.4866819977760315, -0.3455235958099365, 0.389495849609375, -0.2351245880126953, 0.638280987739563, -0.17506185173988342, -0.06039642170071602, 0.2777673006057739, -0.743966281414032, -0.5096897482872009, -0.024192338809370995, 0.4404372572898865, 0.5782567262649536, -0.3105361759662628, 0.44622233510017395, -0.24145923554897308, -0.21644046902656555, -0.6234756112098694, -0.18534041941165924, -0.23166990280151367, 0.25128495693206787, 0.33441847562789917, 0.19374606013298035, -0.9959772229194641, -0.860727846622467, -0.4277564287185669, -0.6131843328475952, -0.14170272648334503, 0.500900387763977, 0.5175742506980896, 0.05421047657728195, 1.2769830226898193, 0.08173204213380814, -0.08919783681631088, -0.7170249223709106, 0.07059090584516525, 0.31069257855415344, 0.3203023076057434, 0.8958666324615479, -0.8906019926071167, -0.28391262888908386, 0.48155954480171204, -1.150300145149231, -0.32207411527633667, -0.6821261644363403, -0.036054402589797974, -0.0029242602176964283, 0.5484684705734253, -1.0334675312042236, 0.30737441778182983, -0.252371609210968, -0.5254842042922974, 0.5898600816726685, -0.13769271969795227, -0.24165582656860352, -0.8562101125717163, -0.17855294048786163, 0.4740707278251648, -0.49985262751579285, -0.7068015933036804, 0.2969917953014374, -0.2579827904701233, 0.11229926347732544, -0.4119657576084137, 0.44775301218032837, -0.13934028148651123, 0.14958514273166656, -0.2831595838069916, 0.018322721123695374, -0.05706499516963959, -0.12143587321043015, 0.21173131465911865, 0.15381577610969543, 0.5323087573051453, -0.368116170167923, 0.785682201385498, 0.00905173271894455, 0.08436216413974762, 0.8941059708595276, -0.8000969290733337, -0.26596707105636597, -0.23002436757087708, 0.4694380462169647, -0.3338710069656372, -0.317531019449234, 0.3575846552848816, -0.17379051446914673, 0.16963672637939453, -0.7375501394271851, -0.5048878192901611, -0.4572811424732208, -0.129142627120018, 0.2948412299156189, 0.2557453215122223, -0.35660696029663086, 0.9289201498031616, 0.5946006178855896, -0.1478462815284729, -0.5873657464981079, -0.5931140780448914, 0.5403813123703003, -0.7106224894523621, -0.5365937352180481, 0.11994079500436783, 0.35546186566352844, -0.9718117117881775, -0.021063825115561485, 0.1176702007651329, -0.23215140402317047, 0.14322306215763092, 0.2220294326543808, -0.12164416164159775, -0.4810742437839508, 0.44054141640663147, 0.1898103803396225, -0.23509715497493744, 0.706085205078125, -0.41124704480171204, 0.19857251644134521, -0.12979231774806976, -0.614154577255249, -0.5638887882232666, 0.7504311203956604, 0.45170822739601135, 0.19200685620307922, 0.43731048703193665, 0.13100586831569672, -0.47289949655532837, -0.045185819268226624, -0.5975504517555237, 0.13708966970443726, -0.37667834758758545, 0.31381264328956604, -0.11150731146335602, -0.6350004076957703, 0.19343671202659607, -0.10101765394210815, 0.7225080132484436, 0.8286848068237305, 0.6794835329055786, -0.29746711254119873, 1.182937502861023, 0.38878071308135986, -0.0917171761393547, 0.17572981119155884, 0.13099461793899536, 0.5591451525688171, -0.12677493691444397, -0.08140221238136292, -0.8135359287261963, -0.04062788560986519, -0.4462426006793976, -0.0968744233250618, -0.1961885243654251, 0.1250615119934082, -0.27715134620666504, 0.2670471668243408, -0.4699259102344513, 0.4891366958618164, 0.39134153723716736, -0.1584651619195938, 0.22777806222438812, -0.26696115732192993, 0.176469624042511, 0.13775427639484406, -0.901787519454956, -0.7666429877281189, 0.8752583861351013, 0.610823929309845, 0.3510497212409973, 0.10747148841619492, 0.33055242896080017, 0.4342232644557953, 0.03360214829444885, -1.0208855867385864, 0.57969731092453, -0.24334625899791718, -0.7609509229660034, -0.16679778695106506, -0.26755571365356445, -0.8538627624511719, 0.2854006886482239, -0.4426227807998657, -0.5223496556282043, 0.10576731711626053, -0.024183297529816628, -0.6292974352836609, 0.21203117072582245, -0.6043069958686829, 0.7380259037017822, -0.36710453033447266, -0.11782320588827133, -0.2527184784412384, -0.5991695523262024, 0.18824957311153412, 0.05763181298971176, 0.3425624668598175, -0.18588513135910034, 0.1897086501121521, 1.1164230108261108, -0.8716557025909424, 0.6556478142738342, -0.18150779604911804, -0.12609419226646423, 0.5406051278114319, -0.4368775188922882, 0.2571031451225281, 0.25195664167404175, -0.21991591155529022, -0.04896170273423195, 0.4041140079498291, -0.2756870985031128, -0.7693690061569214, 0.29417189955711365, -0.35604628920555115, -0.856452226638794, -0.35383203625679016, -0.5654377937316895, 0.04658782482147217, 0.023770775645971298, -0.19807937741279602, -0.025006700307130814, 0.3716370463371277, 0.3212219178676605, 0.4451439082622528, 0.1354907751083374, 0.4883701503276825, 0.2082415521144867, 0.20332825183868408, -0.25510692596435547, 0.7648440599441528, 0.2051001638174057, -0.47633668780326843, -0.023324402049183846, 0.5843274593353271, -0.694786548614502, -0.6940457224845886, -0.5743117332458496, 0.24836678802967072, -1.0238924026489258, -0.029965201392769814, -0.7264757752418518, 0.03227727860212326, -0.38251441717147827, -0.3034062385559082, -0.25380992889404297, -0.7883589267730713, -0.17196394503116608, -0.3628655672073364, 0.6447115540504456, 0.8971608877182007, -0.061626747250556946, 0.035150427371263504, -0.5913974642753601, 0.16944211721420288, 0.2517894208431244, 0.1597079038619995, -0.2060495913028717, -0.3507378399372101, 0.02236921153962612, 0.007077143527567387, -0.09523957222700119, -0.9639298915863037, 0.04597723111510277, -0.02547927014529705, 0.6603655219078064, 0.5697249174118042, -0.012557893991470337, 0.8318297266960144, -0.6306267380714417, 0.9295896887779236, 0.20903673768043518, -0.701360285282135, 0.5748578906059265, -0.08363371342420578, -0.24608466029167175, 0.5563855767250061, 0.4339219033718109, -0.3811797499656677, -0.16923277080059052, -0.5531832575798035, -0.7630081176757812, 0.3720897138118744, -0.06497452408075333, 0.2792607545852661, 0.09783938527107239, 0.6833798289299011, 0.10774455219507217, -0.04761742800474167, -1.0385894775390625, 0.15714935958385468, -0.1675483137369156, -0.45762452483177185, 0.4130733907222748, 0.09168389439582825, -0.31132006645202637, -0.5772941708564758, 0.37496417760849, -0.16964465379714966, -0.014418533071875572, -0.11526384949684143, -0.03864222392439842, 0.31230682134628296, 0.12285376340150833, 0.442340224981308, 0.6504104733467102, 0.3201211094856262, -0.05331074073910713, 0.24335910379886627, -0.2269812524318695, 0.14884133636951447, 0.07817929983139038, -0.06994765996932983, 0.3780631124973297, 0.7223397493362427, 0.6986376047134399, -0.3243313133716583, -0.7392616271972656, 0.5299480557441711, -0.06970258057117462, -0.6987797617912292, -0.5055371522903442, 0.04034965857863426, 0.19794872403144836, 0.5923997759819031, 0.18493622541427612, -0.12190450727939606, 0.035895850509405136, -0.4551447629928589, 0.33771032094955444, 0.6169130206108093, -0.2835688591003418, 0.17684771120548248, 0.9130975604057312, -0.055544931441545486, -0.2263210564851761, 0.33863651752471924, 0.2609453499317169, -0.25794246792793274, 0.8703773021697998, 0.2383517622947693, 0.8458411693572998, 0.33798959851264954, 0.09951870143413544, 0.18707837164402008, 0.033876288682222366, -0.3828643262386322, 0.18558867275714874, -0.34961146116256714, -0.5067209005355835, -0.5925180912017822, -0.24482356011867523, -0.48618435859680176, -0.03144808113574982, -0.37210625410079956, 0.276899516582489, -0.5847695469856262, -0.23869191110134125, 0.1900383085012436, -0.17315784096717834, -0.31770455837249756, 0.1148877739906311, 0.01908109523355961, 0.8884873986244202, -0.8552577495574951, 0.5701941251754761, 0.7555003762245178, -0.5811967849731445, -0.48037442564964294, -0.20449614524841309, 0.03338330611586571, -0.3352884352207184, 0.5926217436790466, 0.011237617582082748, -0.026053955778479576, -0.34922632575035095, -0.8975606560707092, -0.3172442317008972, 0.6453903913497925, 0.5711225867271423, -0.27626118063926697, -0.058999910950660706, 0.33265379071235657, 0.7770564556121826, -0.4000657796859741, 0.47348085045814514, 0.591496467590332, 0.7987204194068909, 0.20747709274291992, -0.21740299463272095, 0.014933809638023376, -0.413888156414032, -0.2414456009864807, -0.17117609083652496, 0.04133071377873421, 0.42023494839668274, -0.19869375228881836, -0.32920747995376587, -0.30931970477104187, 0.751792848110199, 0.16154316067695618, 0.5106642246246338, 0.45760664343833923, 0.7298047542572021, 0.6790485382080078, -0.2227417379617691, 1.1544054746627808, -0.0344257690012455, -0.059355344623327255, 1.072019100189209, -0.38280123472213745, 0.6944183707237244, 0.5302592515945435, -0.28893259167671204, 0.4834483563899994, 0.8210553526878357, -0.34414196014404297, -0.13922137022018433, 0.3633476793766022, -0.1386764943599701, -0.5264686942100525, -0.30253124237060547, -0.06888365745544434, 0.30706751346588135, 0.37577104568481445, -0.14508067071437836, -0.22442686557769775, -0.3124906122684479, 0.16996882855892181, 0.15158022940158844, -0.05629914999008179, 1.0686776638031006, 0.08722575753927231, -0.6794003248214722, 0.1998036950826645, 0.0014328756369650364, 0.2317766398191452, -0.3331100642681122, -0.16665290296077728, 0.14132387936115265, -0.33360230922698975, -0.48383665084838867, -1.0707511901855469, 0.5916165709495544, 0.35612866282463074, -0.10496380925178528, -0.35923048853874207, 0.5093239545822144, 0.10381226986646652, -0.3720984160900116, 0.18861545622348785, 0.4049941897392273, 0.2711906135082245, 0.0302626620978117, -0.9382091164588928, -0.30112743377685547, -0.2876444458961487, -0.2366422563791275, 0.1377345472574234, 0.6499192714691162, -0.40055328607559204, 0.8068276643753052, 0.7537460327148438, 0.23307910561561584, 0.24796925485134125, 0.45643922686576843, 0.590624213218689, -0.6185583472251892, -0.3300628960132599, -1.2006090879440308, 0.5717947483062744, -0.5065418481826782, -0.09132536500692368, 0.39718201756477356, 0.29569312930107117, 0.4048481285572052, 0.19725625216960907, 0.8783168792724609, -0.24644969403743744, 0.11521577090024948, -0.6710106134414673, 0.6163150072097778, -0.4183903634548187, 0.1408853828907013, -0.031190643087029457, -0.4965573251247406, -0.6897194385528564, 0.8201679587364197, -0.20697006583213806, -0.05794886499643326, 0.4480673372745514, 0.12215342372655869, -0.04049024358391762, 0.33124107122421265, 0.18547497689723969, -0.130595400929451, 0.643004298210144, 0.4199085533618927, 0.9202155470848083, -0.18328353762626648, 0.42443251609802246, 0.11871086061000824, 0.05390167236328125, -0.15993142127990723, -1.08495032787323, -0.7176318168640137, -0.3054417669773102, -0.4451707899570465, -0.0006199536146596074, -0.20752210915088654, 0.8327198624610901, 0.8031758069992065, -0.8475627303123474, -0.30132243037223816, -0.670574963092804, 0.34487828612327576, -0.3085211217403412, -0.19868724048137665, 0.18219076097011566, -0.6507045030593872, -0.447833389043808, 0.3351902365684509, 0.23662744462490082, -0.05561262369155884, 0.03983408212661743, -0.03204786777496338, -0.3471880853176117, 0.4373181462287903, 0.7144668102264404, 0.5423198938369751, -0.8237287998199463, -0.15330971777439117, -0.717606246471405, 0.21627874672412872, 0.33164072036743164, 0.9995297193527222, -0.47552725672721863, 0.30688363313674927, 0.5854233503341675, 0.9258811473846436, 0.04254787415266037, 0.0729135125875473, 0.8963720202445984, -0.2813918888568878, 0.11152096092700958, 0.5442149043083191, 0.834886372089386, -0.17873334884643555, -0.2752888798713684, 0.5803169012069702, 0.06412513554096222, -0.31420189142227173, -0.7689501643180847, 0.30431604385375977, -0.8513255715370178, -0.5038489103317261, 0.9372662305831909, -0.2513682246208191, -0.04895582050085068, -0.5280885696411133, -0.17658036947250366, 0.07388090342283249, -0.3273369073867798, 0.7328273057937622, 1.008963704109192, -0.25247451663017273, -0.3413785994052887, -0.9680498838424683, 0.5820509791374207, 0.508213460445404, -1.2133127450942993, 0.2363705039024353, 0.6759493350982666, -0.3419439494609833, 0.3643622100353241, 0.22905994951725006, -0.13849560916423798, 0.40794721245765686, 0.11779072135686874, -0.28655654191970825, 0.18420594930648804, -0.32300636172294617, -0.46027353405952454, 0.4074263572692871, 0.02635510452091694, 0.2993885278701782 ]